mirror of
https://github.com/goreleaser/goreleaser-action
synced 2026-08-30 13:28:29 +00:00
Signed-off-by: Carlos Alexandro Becker <caarlos0@users.noreply.github.com> # Conflicts: # dist/index.js
37 lines
1.5 MiB
Plaintext
Generated
37 lines
1.5 MiB
Plaintext
Generated
import{createRequire as e}from"module";var t={9034:(e,t,r)=>{var n=r(7087);var s=r(9380);e.exports=expandTop;var i="\0SLASH"+Math.random()+"\0";var o="\0OPEN"+Math.random()+"\0";var a="\0CLOSE"+Math.random()+"\0";var c="\0COMMA"+Math.random()+"\0";var l="\0PERIOD"+Math.random()+"\0";var A=1e5;var u=4e6;function numeric(e){return parseInt(e,10)==e?parseInt(e,10):e.charCodeAt(0)}function escapeBraces(e){return e.split("\\\\").join(i).split("\\{").join(o).split("\\}").join(a).split("\\,").join(c).split("\\.").join(l)}function unescapeBraces(e){return e.split(i).join("\\").split(o).join("{").split(a).join("}").split(c).join(",").split(l).join(".")}function parseCommaParts(e){if(!e)return[""];var t=[];var r=s("{","}",e);if(!r)return e.split(",");var n=r.pre;var i=r.body;var o=r.post;var a=n.split(",");a[a.length-1]+="{"+i+"}";var c=parseCommaParts(o);if(o.length){a[a.length-1]+=c.shift();a.push.apply(a,c)}t.push.apply(t,a);return t}function expandTop(e,t){if(!e)return[];t=t||{};var r=t.max==null?A:t.max;var n=t.maxLength==null?u:t.maxLength;if(e.substr(0,2)==="{}"){e="\\{\\}"+e.substr(2)}return expand(escapeBraces(e),r,n,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 combine(e,t,r,n,s,i,o,a){var c=[];var l=0;for(var A=0;A<e.length;A++){for(var u=0;u<n.length;u++){if(c.length>=s)return c;var d=e[A]+r+n[u];if(o&&d.length===t[A])continue;if(l+d.length>i)return c;c.push(d);a.push(t[A]);l+=d.length}}return c}function expandSequence(e,t,r,n){var s=e.split(/\.\./);var i=[];if(s[0]===undefined||s[1]===undefined){return i}var o=numeric(s[0]);var a=numeric(s[1]);var c=Math.max(s[0].length,s[1].length);var l=s.length===3&&s[2]!==undefined?Math.max(Math.abs(numeric(s[2])),1):1;var A=lte;var u=a<o;if(u){l*=-1;A=gte}var d=s.some(isPadded);var g=0;for(var p=o;A(p,a)&&i.length<r;p+=l){var h;if(t){h=String.fromCharCode(p);if(h==="\\"){h=""}}else{h=String(p);if(d){var m=c-h.length;if(m>0){var f=new Array(m+1).join("0");if(p<0){h="-"+f+h.slice(1)}else{h=f+h}}}}if(g+h.length>n)break;i.push(h);g+=h.length}return i}function expand(e,t,r,n){var i=[""];var o=[0];var c=false;var l=true;var A;for(;;){var u=s("{","}",e);if(!u){return combine(i,o,e,[""],t,r,c,[])}var d=u.pre;if(/\$$/.test(d)){return combine(i,o,e,[""],t,r,c,[])}var g=/^-?\d+\.\.-?\d+(?:\.\.-?\d+)?$/.test(u.body);var p=/^[a-zA-Z]\.\.[a-zA-Z](?:\.\.-?\d+)?$/.test(u.body);var h=g||p;var m=u.body.indexOf(",")>=0;if(!h&&!m){if(u.post.match(/,(?!,).*\}/)){e=u.pre+"{"+u.body+a+u.post;n=true;l=true;c=false;o=[];for(var f=0;f<i.length;f++){o.push(i[f].length)}continue}return combine(i,o,d+"{"+u.body+"}"+u.post,[""],t,r,c,[])}if(l){c=n&&!h;l=false}var C;if(h){C=expandSequence(u.body,p,t,r)}else{var y=parseCommaParts(u.body);if(y.length===1&&y[0]!==undefined){y=expand(y[0],t,r,false).map(embrace);if(y.length===1){A=[];i=combine(i,o,d+y[0],[""],t,r,c&&!u.post.length,A);o=A;if(!u.post.length)break;e=u.post;continue}}var E=c&&!u.post.length&&!d;for(var I=0;E&&I<i.length;I++){if(i[I].length!==o[I]){E=false}}C=[];var B=0;e:for(var Q=0;Q<y.length;Q++){var b=expand(y[Q],t,r,false);for(var S=0;S<b.length;S++){var w=b[S];if(E&&!w)continue;if(C.length>=t||B+w.length>r){break e}C.push(w);B+=w.length}}}A=[];i=combine(i,o,d,C,t,r,c&&!u.post.length,A);o=A;if(!u.post.length)break;e=u.post}return i}},9526:(e,t,r)=>{e.exports=minimatch;minimatch.Minimatch=Minimatch;var n=function(){try{return r(6928)}catch(e){}}()||{sep:"/"};minimatch.sep=n.sep;var s=minimatch.GLOBSTAR=Minimatch.GLOBSTAR={};var i=r(9034);var o={"!":{open:"(?:(?!(?:",close:"))[^/]*?)"},"?":{open:"(?:",close:")?"},"+":{open:"(?:",close:")+"},"*":{open:"(?:",close:")*"},"@":{open:"(?:",close:")"}};var a="[^/]";var c=a+"*?";var l="(?:(?!(?:\\/|^)(?:\\.{1,2})($|\\/)).)*?";var A="(?:(?!(?:\\/|^)\\.).)*?";var u=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(r,n,s){return minimatch(r,e,t)}}function ext(e,t){t=t||{};var r={};Object.keys(e).forEach((function(t){r[t]=e[t]}));Object.keys(t).forEach((function(e){r[e]=t[e]}));return r}minimatch.defaults=function(e){if(!e||typeof e!=="object"||!Object.keys(e).length){return minimatch}var t=minimatch;var r=function minimatch(r,n,s){return t(r,n,ext(e,s))};r.Minimatch=function Minimatch(r,n){return new t.Minimatch(r,ext(e,n))};r.Minimatch.defaults=function defaults(r){return t.defaults(ext(e,r)).Minimatch};r.filter=function filter(r,n){return t.filter(r,ext(e,n))};r.defaults=function defaults(r){return t.defaults(ext(e,r))};r.makeRe=function makeRe(r,n){return t.makeRe(r,ext(e,n))};r.braceExpand=function braceExpand(r,n){return t.braceExpand(r,ext(e,n))};r.match=function(r,n,s){return t.match(r,n,ext(e,s))};return r};Minimatch.defaults=function(e){return minimatch.defaults(e).Minimatch};function minimatch(e,t,r){assertValidPattern(t);if(!r)r={};if(!r.nocomment&&t.charAt(0)==="#"){return false}return new Minimatch(t,r).match(e)}function Minimatch(e,t){if(!(this instanceof Minimatch)){return new Minimatch(e,t)}assertValidPattern(e);if(!t)t={};e=e.trim();if(!t.allowWindowsEscape&&n.sep!=="/"){e=e.split(n.sep).join("/")}this.options=t;this.maxGlobstarRecursion=t.maxGlobstarRecursion!==undefined?t.maxGlobstarRecursion:200;this.set=[];this.pattern=e;this.regexp=null;this.negate=false;this.comment=false;this.empty=false;this.partial=!!t.partial;this.make()}Minimatch.prototype.debug=function(){};Minimatch.prototype.make=make;function make(){var e=this.pattern;var t=this.options;if(!t.nocomment&&e.charAt(0)==="#"){this.comment=true;return}if(!e){this.empty=true;return}this.parseNegate();var r=this.globSet=this.braceExpand();if(t.debug)this.debug=function debug(){console.error.apply(console,arguments)};this.debug(this.pattern,r);r=this.globParts=r.map((function(e){return e.split(d)}));this.debug(this.pattern,r);r=r.map((function(e,t,r){return e.map(this.parse,this)}),this);this.debug(this.pattern,r);r=r.filter((function(e){return e.indexOf(false)===-1}));this.debug(this.pattern,r);this.set=r}Minimatch.prototype.parseNegate=parseNegate;function parseNegate(){var e=this.pattern;var t=false;var r=this.options;var n=0;if(r.nonegate)return;for(var s=0,i=e.length;s<i&&e.charAt(s)==="!";s++){t=!t;n++}if(n)this.pattern=e.substr(n);this.negate=t}minimatch.braceExpand=function(e,t){return braceExpand(e,t)};Minimatch.prototype.braceExpand=braceExpand;function braceExpand(e,t){if(!t){if(this instanceof Minimatch){t=this.options}else{t={}}}e=typeof e==="undefined"?this.pattern:e;assertValidPattern(e);if(t.nobrace||!/\{(?:(?!\{).)*\}/.test(e)){return[e]}return i(e)}var g=1024*64;var assertValidPattern=function(e){if(typeof e!=="string"){throw new TypeError("invalid pattern")}if(e.length>g){throw new TypeError("pattern is too long")}};Minimatch.prototype.parse=parse;var p={};function parse(e,t){assertValidPattern(e);var r=this.options;if(e==="**"){if(!r.noglobstar)return s;else e="*"}if(e==="")return"";var n="";var i=!!r.nocase;var l=false;var A=[];var d=[];var g;var h=false;var m=-1;var f=-1;var C=e.charAt(0)==="."?"":r.dot?"(?!(?:^|\\/)\\.{1,2}(?:$|\\/))":"(?!\\.)";var y=this;function clearStateChar(){if(g){switch(g){case"*":n+=c;i=true;break;case"?":n+=a;i=true;break;default:n+="\\"+g;break}y.debug("clearStateChar %j %j",g,n);g=false}}for(var E=0,I=e.length,B;E<I&&(B=e.charAt(E));E++){this.debug("%s\t%s %s %j",e,E,n,B);if(l&&u[B]){n+="\\"+B;l=false;continue}switch(B){case"/":{return false}case"\\":clearStateChar();l=true;continue;case"?":case"*":case"+":case"@":case"!":this.debug("%s\t%s %s %j <-- stateChar",e,E,n,B);if(h){this.debug(" in class");if(B==="!"&&E===f+1)B="^";n+=B;continue}if(B==="*"&&g==="*")continue;y.debug("call clearStateChar %j",g);clearStateChar();g=B;if(r.noext)clearStateChar();continue;case"(":if(h){n+="(";continue}if(!g){n+="\\(";continue}A.push({type:g,start:E-1,reStart:n.length,open:o[g].open,close:o[g].close});n+=g==="!"?"(?:(?!(?:":"(?:";this.debug("plType %j %j",g,n);g=false;continue;case")":if(h||!A.length){n+="\\)";continue}clearStateChar();i=true;var Q=A.pop();n+=Q.close;if(Q.type==="!"){d.push(Q)}Q.reEnd=n.length;continue;case"|":if(h||!A.length||l){n+="\\|";l=false;continue}clearStateChar();n+="|";continue;case"[":clearStateChar();if(h){n+="\\"+B;continue}h=true;f=E;m=n.length;n+=B;continue;case"]":if(E===f+1||!h){n+="\\"+B;l=false;continue}var b=e.substring(f+1,E);try{RegExp("["+b+"]")}catch(e){var S=this.parse(b,p);n=n.substr(0,m)+"\\["+S[0]+"\\]";i=i||S[1];h=false;continue}i=true;h=false;n+=B;continue;default:clearStateChar();if(l){l=false}else if(u[B]&&!(B==="^"&&h)){n+="\\"}n+=B}}if(h){b=e.substr(f+1);S=this.parse(b,p);n=n.substr(0,m)+"\\["+S[0];i=i||S[1]}for(Q=A.pop();Q;Q=A.pop()){var w=n.slice(Q.reStart+Q.open.length);this.debug("setting tail",n,Q);w=w.replace(/((?:\\{2}){0,64})(\\?)\|/g,(function(e,t,r){if(!r){r="\\"}return t+t+r+"|"}));this.debug("tail=%j\n %s",w,w,Q,n);var D=Q.type==="*"?c:Q.type==="?"?a:"\\"+Q.type;i=true;n=n.slice(0,Q.reStart)+D+"\\("+w}clearStateChar();if(l){n+="\\\\"}var N=false;switch(n.charAt(0)){case"[":case".":case"(":N=true}for(var x=d.length-1;x>-1;x--){var R=d[x];var v=n.slice(0,R.reStart);var k=n.slice(R.reStart,R.reEnd-8);var F=n.slice(R.reEnd-8,R.reEnd);var T=n.slice(R.reEnd);F+=T;var M=v.split("(").length-1;var P=T;for(E=0;E<M;E++){P=P.replace(/\)[+*?]?/,"")}T=P;var L="";if(T===""&&t!==p){L="$"}var U=v+k+T+L+F;n=U}if(n!==""&&i){n="(?=.)"+n}if(N){n=C+n}if(t===p){return[n,i]}if(!i){return globUnescape(e)}var O=r.nocase?"i":"";try{var H=new RegExp("^"+n+"$",O)}catch(e){return new RegExp("$.")}H._glob=e;H._src=n;return H}minimatch.makeRe=function(e,t){return new Minimatch(e,t||{}).makeRe()};Minimatch.prototype.makeRe=makeRe;function makeRe(){if(this.regexp||this.regexp===false)return this.regexp;var e=this.set;if(!e.length){this.regexp=false;return this.regexp}var t=this.options;var r=t.noglobstar?c:t.dot?l:A;var n=t.nocase?"i":"";var i=e.map((function(e){return e.map((function(e){return e===s?r:typeof e==="string"?regExpEscape(e):e._src})).join("\\/")})).join("|");i="^(?:"+i+")$";if(this.negate)i="^(?!"+i+").*$";try{this.regexp=new RegExp(i,n)}catch(e){this.regexp=false}return this.regexp}minimatch.match=function(e,t,r){r=r||{};var n=new Minimatch(t,r);e=e.filter((function(e){return n.match(e)}));if(n.options.nonull&&!e.length){e.push(t)}return e};Minimatch.prototype.match=function match(e,t){if(typeof t==="undefined")t=this.partial;this.debug("match",e,this.pattern);if(this.comment)return false;if(this.empty)return e==="";if(e==="/"&&t)return true;var r=this.options;if(n.sep!=="/"){e=e.split(n.sep).join("/")}e=e.split(d);this.debug(this.pattern,"split",e);var s=this.set;this.debug(this.pattern,"set",s);var i;var o;for(o=e.length-1;o>=0;o--){i=e[o];if(i)break}for(o=0;o<s.length;o++){var a=s[o];var c=e;if(r.matchBase&&a.length===1){c=[i]}var l=this.matchOne(c,a,t);if(l){if(r.flipNegate)return true;return!this.negate}}if(r.flipNegate)return false;return this.negate};Minimatch.prototype.matchOne=function(e,t,r){if(t.indexOf(s)!==-1){return this._matchGlobstar(e,t,r,0,0)}return this._matchOne(e,t,r,0,0)};Minimatch.prototype._matchGlobstar=function(e,t,r,n,i){var o;var a=-1;for(o=i;o<t.length;o++){if(t[o]===s){a=o;break}}var c=-1;for(o=t.length-1;o>=0;o--){if(t[o]===s){c=o;break}}var l=t.slice(i,a);var A=r?t.slice(a+1):t.slice(a+1,c);var u=r?[]:t.slice(c+1);if(l.length){var d=e.slice(n,n+l.length);if(!this._matchOne(d,l,r,0,0)){return false}n+=l.length}var g=0;if(u.length){if(u.length+n>e.length)return false;var p=e.length-u.length;if(this._matchOne(e,u,r,p,0)){g=u.length}else{if(e[e.length-1]!==""||n+u.length===e.length){return false}p--;if(!this._matchOne(e,u,r,p,0)){return false}g=u.length+1}}if(!A.length){var h=!!g;for(o=n;o<e.length-g;o++){var m=String(e[o]);h=true;if(m==="."||m===".."||!this.options.dot&&m.charAt(0)==="."){return false}}return r||h}var f=[[[],0]];var C=f[0];var y=0;var E=[0];for(var I=0;I<A.length;I++){var B=A[I];if(B===s){E.push(y);C=[[],0];f.push(C)}else{C[0].push(B);y++}}var Q=f.length-1;var b=e.length-g;for(var S=0;S<f.length;S++){f[S][1]=b-(E[Q--]+f[S][0].length)}return!!this._matchGlobStarBodySections(e,f,n,0,r,0,!!g)};Minimatch.prototype._matchGlobStarBodySections=function(e,t,r,n,s,i,o){var a=t[n];if(!a){for(var c=r;c<e.length;c++){o=true;var l=e[c];if(l==="."||l===".."||!this.options.dot&&l.charAt(0)==="."){return false}}return o}var A=a[0];var u=a[1];while(r<=u){var d=this._matchOne(e.slice(0,r+A.length),A,s,r,0);if(d&&i<this.maxGlobstarRecursion){var g=this._matchGlobStarBodySections(e,t,r+A.length,n+1,s,i+1,o);if(g!==false){return g}}var l=e[r];if(l==="."||l===".."||!this.options.dot&&l.charAt(0)==="."){return false}r++}return s||null};Minimatch.prototype._matchOne=function(e,t,r,n,i){var o,a,c,l;for(o=n,a=i,c=e.length,l=t.length;o<c&&a<l;o++,a++){this.debug("matchOne loop");var A=t[a];var u=e[o];this.debug(t,A,u);if(A===false||A===s)return false;var d;if(typeof A==="string"){d=u===A;this.debug("string match",A,u,d)}else{d=u.match(A);this.debug("pattern match",A,u,d)}if(!d)return false}if(o===c&&a===l){return true}else if(o===c){return r}else if(a===l){return o===c-1&&e[o]===""}throw new Error("wtf?")};function globUnescape(e){return e.replace(/\\(.)/g,"$1")}function regExpEscape(e){return e.replace(/[-[\]{}()*+?.,\\^$|#\s]/g,"\\$&")}},7889:function(e,t){var r=this&&this.__awaiter||function(e,t,r,n){function adopt(e){return e instanceof r?e:new r((function(t){t(e)}))}return new(r||(r=Promise))((function(r,s){function fulfilled(e){try{step(n.next(e))}catch(e){s(e)}}function rejected(e){try{step(n["throw"](e))}catch(e){s(e)}}function step(e){e.done?r(e.value):adopt(e.value).then(fulfilled,rejected)}step((n=n.apply(e,t||[])).next())}))};Object.defineProperty(t,"__esModule",{value:true});t.ClientStreamingCall=void 0;class ClientStreamingCall{constructor(e,t,r,n,s,i,o){this.method=e;this.requestHeaders=t;this.requests=r;this.headers=n;this.response=s;this.status=i;this.trailers=o}then(e,t){return this.promiseFinished().then((t=>e?Promise.resolve(e(t)):t),(e=>t?Promise.resolve(t(e)):Promise.reject(e)))}promiseFinished(){return r(this,void 0,void 0,(function*(){let[e,t,r,n]=yield Promise.all([this.headers,this.response,this.status,this.trailers]);return{method:this.method,requestHeaders:this.requestHeaders,headers:e,response:t,status:r,trailers:n}}))}}t.ClientStreamingCall=ClientStreamingCall},1409:(e,t)=>{Object.defineProperty(t,"__esModule",{value:true});t.Deferred=t.DeferredState=void 0;var r;(function(e){e[e["PENDING"]=0]="PENDING";e[e["REJECTED"]=1]="REJECTED";e[e["RESOLVED"]=2]="RESOLVED"})(r=t.DeferredState||(t.DeferredState={}));class Deferred{constructor(e=true){this._state=r.PENDING;this._promise=new Promise(((e,t)=>{this._resolve=e;this._reject=t}));if(e){this._promise.catch((e=>{}))}}get state(){return this._state}get promise(){return this._promise}resolve(e){if(this.state!==r.PENDING)throw new Error(`cannot resolve ${r[this.state].toLowerCase()}`);this._resolve(e);this._state=r.RESOLVED}reject(e){if(this.state!==r.PENDING)throw new Error(`cannot reject ${r[this.state].toLowerCase()}`);this._reject(e);this._state=r.REJECTED}resolvePending(e){if(this._state===r.PENDING)this.resolve(e)}rejectPending(e){if(this._state===r.PENDING)this.reject(e)}}t.Deferred=Deferred},6826:function(e,t){var r=this&&this.__awaiter||function(e,t,r,n){function adopt(e){return e instanceof r?e:new r((function(t){t(e)}))}return new(r||(r=Promise))((function(r,s){function fulfilled(e){try{step(n.next(e))}catch(e){s(e)}}function rejected(e){try{step(n["throw"](e))}catch(e){s(e)}}function step(e){e.done?r(e.value):adopt(e.value).then(fulfilled,rejected)}step((n=n.apply(e,t||[])).next())}))};Object.defineProperty(t,"__esModule",{value:true});t.DuplexStreamingCall=void 0;class DuplexStreamingCall{constructor(e,t,r,n,s,i,o){this.method=e;this.requestHeaders=t;this.requests=r;this.headers=n;this.responses=s;this.status=i;this.trailers=o}then(e,t){return this.promiseFinished().then((t=>e?Promise.resolve(e(t)):t),(e=>t?Promise.resolve(t(e)):Promise.reject(e)))}promiseFinished(){return r(this,void 0,void 0,(function*(){let[e,t,r]=yield Promise.all([this.headers,this.status,this.trailers]);return{method:this.method,requestHeaders:this.requestHeaders,headers:e,status:t,trailers:r}}))}}t.DuplexStreamingCall=DuplexStreamingCall},4420:(e,t,r)=>{var n;n={value:true};var s=r(6892);Object.defineProperty(t,"C0",{enumerable:true,get:function(){return s.ServiceType}});var i=r(2496);n={enumerable:true,get:function(){return i.readMethodOptions}};n={enumerable:true,get:function(){return i.readMethodOption}};n={enumerable:true,get:function(){return i.readServiceOption}};var o=r(8636);n={enumerable:true,get:function(){return o.RpcError}};var a=r(8576);n={enumerable:true,get:function(){return a.mergeRpcOptions}};var c=r(2726);n={enumerable:true,get:function(){return c.RpcOutputStreamController}};var l=r(9122);n={enumerable:true,get:function(){return l.TestTransport}};var A=r(1409);n={enumerable:true,get:function(){return A.Deferred}};n={enumerable:true,get:function(){return A.DeferredState}};var u=r(6826);n={enumerable:true,get:function(){return u.DuplexStreamingCall}};var d=r(7889);n={enumerable:true,get:function(){return d.ClientStreamingCall}};var g=r(6173);n={enumerable:true,get:function(){return g.ServerStreamingCall}};var p=r(9288);n={enumerable:true,get:function(){return p.UnaryCall}};var h=r(2849);n={enumerable:true,get:function(){return h.stackIntercept}};n={enumerable:true,get:function(){return h.stackDuplexStreamingInterceptors}};n={enumerable:true,get:function(){return h.stackClientStreamingInterceptors}};n={enumerable:true,get:function(){return h.stackServerStreamingInterceptors}};n={enumerable:true,get:function(){return h.stackUnaryInterceptors}};var m=r(3352);n={enumerable:true,get:function(){return m.ServerCallContextController}}},2496:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:true});t.readServiceOption=t.readMethodOption=t.readMethodOptions=t.normalizeMethodInfo=void 0;const n=r(8886);function normalizeMethodInfo(e,t){var r,s,i;let o=e;o.service=t;o.localName=(r=o.localName)!==null&&r!==void 0?r:n.lowerCamelCase(o.name);o.serverStreaming=!!o.serverStreaming;o.clientStreaming=!!o.clientStreaming;o.options=(s=o.options)!==null&&s!==void 0?s:{};o.idempotency=(i=o.idempotency)!==null&&i!==void 0?i:undefined;return o}t.normalizeMethodInfo=normalizeMethodInfo;function readMethodOptions(e,t,r,n){var s;const i=(s=e.methods.find(((e,r)=>e.localName===t||r===t)))===null||s===void 0?void 0:s.options;return i&&i[r]?n.fromJson(i[r]):undefined}t.readMethodOptions=readMethodOptions;function readMethodOption(e,t,r,n){var s;const i=(s=e.methods.find(((e,r)=>e.localName===t||r===t)))===null||s===void 0?void 0:s.options;if(!i){return undefined}const o=i[r];if(o===undefined){return o}return n?n.fromJson(o):o}t.readMethodOption=readMethodOption;function readServiceOption(e,t,r){const n=e.options;if(!n){return undefined}const s=n[t];if(s===undefined){return s}return r?r.fromJson(s):s}t.readServiceOption=readServiceOption},8636:(e,t)=>{Object.defineProperty(t,"__esModule",{value:true});t.RpcError=void 0;class RpcError extends Error{constructor(e,t="UNKNOWN",r){super(e);this.name="RpcError";Object.setPrototypeOf(this,new.target.prototype);this.code=t;this.meta=r!==null&&r!==void 0?r:{}}toString(){const e=[this.name+": "+this.message];if(this.code){e.push("");e.push("Code: "+this.code)}if(this.serviceName&&this.methodName){e.push("Method: "+this.serviceName+"/"+this.methodName)}let t=Object.entries(this.meta);if(t.length){e.push("");e.push("Meta:");for(let[r,n]of t){e.push(` ${r}: ${n}`)}}return e.join("\n")}}t.RpcError=RpcError},2849:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:true});t.stackDuplexStreamingInterceptors=t.stackClientStreamingInterceptors=t.stackServerStreamingInterceptors=t.stackUnaryInterceptors=t.stackIntercept=void 0;const n=r(8886);function stackIntercept(e,t,r,s,i){var o,a,c,l;if(e=="unary"){let tail=(e,r,n)=>t.unary(e,r,n);for(const e of((o=s.interceptors)!==null&&o!==void 0?o:[]).filter((e=>e.interceptUnary)).reverse()){const t=tail;tail=(r,n,s)=>e.interceptUnary(t,r,n,s)}return tail(r,i,s)}if(e=="serverStreaming"){let tail=(e,r,n)=>t.serverStreaming(e,r,n);for(const e of((a=s.interceptors)!==null&&a!==void 0?a:[]).filter((e=>e.interceptServerStreaming)).reverse()){const t=tail;tail=(r,n,s)=>e.interceptServerStreaming(t,r,n,s)}return tail(r,i,s)}if(e=="clientStreaming"){let tail=(e,r)=>t.clientStreaming(e,r);for(const e of((c=s.interceptors)!==null&&c!==void 0?c:[]).filter((e=>e.interceptClientStreaming)).reverse()){const t=tail;tail=(r,n)=>e.interceptClientStreaming(t,r,n)}return tail(r,s)}if(e=="duplex"){let tail=(e,r)=>t.duplex(e,r);for(const e of((l=s.interceptors)!==null&&l!==void 0?l:[]).filter((e=>e.interceptDuplex)).reverse()){const t=tail;tail=(r,n)=>e.interceptDuplex(t,r,n)}return tail(r,s)}n.assertNever(e)}t.stackIntercept=stackIntercept;function stackUnaryInterceptors(e,t,r,n){return stackIntercept("unary",e,t,n,r)}t.stackUnaryInterceptors=stackUnaryInterceptors;function stackServerStreamingInterceptors(e,t,r,n){return stackIntercept("serverStreaming",e,t,n,r)}t.stackServerStreamingInterceptors=stackServerStreamingInterceptors;function stackClientStreamingInterceptors(e,t,r){return stackIntercept("clientStreaming",e,t,r)}t.stackClientStreamingInterceptors=stackClientStreamingInterceptors;function stackDuplexStreamingInterceptors(e,t,r){return stackIntercept("duplex",e,t,r)}t.stackDuplexStreamingInterceptors=stackDuplexStreamingInterceptors},8576:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:true});t.mergeRpcOptions=void 0;const n=r(8886);function mergeRpcOptions(e,t){if(!t)return e;let r={};copy(e,r);copy(t,r);for(let s of Object.keys(t)){let i=t[s];switch(s){case"jsonOptions":r.jsonOptions=n.mergeJsonOptions(e.jsonOptions,r.jsonOptions);break;case"binaryOptions":r.binaryOptions=n.mergeBinaryOptions(e.binaryOptions,r.binaryOptions);break;case"meta":r.meta={};copy(e.meta,r.meta);copy(t.meta,r.meta);break;case"interceptors":r.interceptors=e.interceptors?e.interceptors.concat(i):i.concat();break}}return r}t.mergeRpcOptions=mergeRpcOptions;function copy(e,t){if(!e)return;let r=t;for(let[t,n]of Object.entries(e)){if(n instanceof Date)r[t]=new Date(n.getTime());else if(Array.isArray(n))r[t]=n.concat();else r[t]=n}}},2726:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:true});t.RpcOutputStreamController=void 0;const n=r(1409);const s=r(8886);class RpcOutputStreamController{constructor(){this._lis={nxt:[],msg:[],err:[],cmp:[]};this._closed=false;this._itState={q:[]}}onNext(e){return this.addLis(e,this._lis.nxt)}onMessage(e){return this.addLis(e,this._lis.msg)}onError(e){return this.addLis(e,this._lis.err)}onComplete(e){return this.addLis(e,this._lis.cmp)}addLis(e,t){t.push(e);return()=>{let r=t.indexOf(e);if(r>=0)t.splice(r,1)}}clearLis(){for(let e of Object.values(this._lis))e.splice(0,e.length)}get closed(){return this._closed!==false}notifyNext(e,t,r){s.assert((e?1:0)+(t?1:0)+(r?1:0)<=1,"only one emission at a time");if(e)this.notifyMessage(e);if(t)this.notifyError(t);if(r)this.notifyComplete()}notifyMessage(e){s.assert(!this.closed,"stream is closed");this.pushIt({value:e,done:false});this._lis.msg.forEach((t=>t(e)));this._lis.nxt.forEach((t=>t(e,undefined,false)))}notifyError(e){s.assert(!this.closed,"stream is closed");this._closed=e;this.pushIt(e);this._lis.err.forEach((t=>t(e)));this._lis.nxt.forEach((t=>t(undefined,e,false)));this.clearLis()}notifyComplete(){s.assert(!this.closed,"stream is closed");this._closed=true;this.pushIt({value:null,done:true});this._lis.cmp.forEach((e=>e()));this._lis.nxt.forEach((e=>e(undefined,undefined,true)));this.clearLis()}[Symbol.asyncIterator](){if(this._closed===true)this.pushIt({value:null,done:true});else if(this._closed!==false)this.pushIt(this._closed);return{next:()=>{let e=this._itState;s.assert(e,"bad state");s.assert(!e.p,"iterator contract broken");let t=e.q.shift();if(t)return"value"in t?Promise.resolve(t):Promise.reject(t);e.p=new n.Deferred;return e.p.promise}}}pushIt(e){let t=this._itState;if(t.p){const r=t.p;s.assert(r.state==n.DeferredState.PENDING,"iterator contract broken");"value"in e?r.resolve(e):r.reject(e);delete t.p}else{t.q.push(e)}}}t.RpcOutputStreamController=RpcOutputStreamController},3352:(e,t)=>{Object.defineProperty(t,"__esModule",{value:true});t.ServerCallContextController=void 0;class ServerCallContextController{constructor(e,t,r,n,s={code:"OK",detail:""}){this._cancelled=false;this._listeners=[];this.method=e;this.headers=t;this.deadline=r;this.trailers={};this._sendRH=n;this.status=s}notifyCancelled(){if(!this._cancelled){this._cancelled=true;for(let e of this._listeners){e()}}}sendResponseHeaders(e){this._sendRH(e)}get cancelled(){return this._cancelled}onCancel(e){const t=this._listeners;t.push(e);return()=>{let r=t.indexOf(e);if(r>=0)t.splice(r,1)}}}t.ServerCallContextController=ServerCallContextController},6173:function(e,t){var r=this&&this.__awaiter||function(e,t,r,n){function adopt(e){return e instanceof r?e:new r((function(t){t(e)}))}return new(r||(r=Promise))((function(r,s){function fulfilled(e){try{step(n.next(e))}catch(e){s(e)}}function rejected(e){try{step(n["throw"](e))}catch(e){s(e)}}function step(e){e.done?r(e.value):adopt(e.value).then(fulfilled,rejected)}step((n=n.apply(e,t||[])).next())}))};Object.defineProperty(t,"__esModule",{value:true});t.ServerStreamingCall=void 0;class ServerStreamingCall{constructor(e,t,r,n,s,i,o){this.method=e;this.requestHeaders=t;this.request=r;this.headers=n;this.responses=s;this.status=i;this.trailers=o}then(e,t){return this.promiseFinished().then((t=>e?Promise.resolve(e(t)):t),(e=>t?Promise.resolve(t(e)):Promise.reject(e)))}promiseFinished(){return r(this,void 0,void 0,(function*(){let[e,t,r]=yield Promise.all([this.headers,this.status,this.trailers]);return{method:this.method,requestHeaders:this.requestHeaders,request:this.request,headers:e,status:t,trailers:r}}))}}t.ServerStreamingCall=ServerStreamingCall},6892:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:true});t.ServiceType=void 0;const n=r(2496);class ServiceType{constructor(e,t,r){this.typeName=e;this.methods=t.map((e=>n.normalizeMethodInfo(e,this)));this.options=r!==null&&r!==void 0?r:{}}}t.ServiceType=ServiceType},9122:function(e,t,r){var n=this&&this.__awaiter||function(e,t,r,n){function adopt(e){return e instanceof r?e:new r((function(t){t(e)}))}return new(r||(r=Promise))((function(r,s){function fulfilled(e){try{step(n.next(e))}catch(e){s(e)}}function rejected(e){try{step(n["throw"](e))}catch(e){s(e)}}function step(e){e.done?r(e.value):adopt(e.value).then(fulfilled,rejected)}step((n=n.apply(e,t||[])).next())}))};Object.defineProperty(t,"__esModule",{value:true});t.TestTransport=void 0;const s=r(8636);const i=r(8886);const o=r(2726);const a=r(8576);const c=r(9288);const l=r(6173);const A=r(7889);const u=r(6826);class TestTransport{constructor(e){this.suppressUncaughtRejections=true;this.headerDelay=10;this.responseDelay=50;this.betweenResponseDelay=10;this.afterResponseDelay=10;this.data=e!==null&&e!==void 0?e:{}}get sentMessages(){if(this.lastInput instanceof TestInputStream){return this.lastInput.sent}else if(typeof this.lastInput=="object"){return[this.lastInput.single]}return[]}get sendComplete(){if(this.lastInput instanceof TestInputStream){return this.lastInput.completed}else if(typeof this.lastInput=="object"){return true}return false}promiseHeaders(){var e;const t=(e=this.data.headers)!==null&&e!==void 0?e:TestTransport.defaultHeaders;return t instanceof s.RpcError?Promise.reject(t):Promise.resolve(t)}promiseSingleResponse(e){if(this.data.response instanceof s.RpcError){return Promise.reject(this.data.response)}let t;if(Array.isArray(this.data.response)){i.assert(this.data.response.length>0);t=this.data.response[0]}else if(this.data.response!==undefined){t=this.data.response}else{t=e.O.create()}i.assert(e.O.is(t));return Promise.resolve(t)}streamResponses(e,t,r){return n(this,void 0,void 0,(function*(){const n=[];if(this.data.response===undefined){n.push(e.O.create())}else if(Array.isArray(this.data.response)){for(let t of this.data.response){i.assert(e.O.is(t));n.push(t)}}else if(!(this.data.response instanceof s.RpcError)){i.assert(e.O.is(this.data.response));n.push(this.data.response)}try{yield delay(this.responseDelay,r)(undefined)}catch(e){t.notifyError(e);return}if(this.data.response instanceof s.RpcError){t.notifyError(this.data.response);return}for(let e of n){t.notifyMessage(e);try{yield delay(this.betweenResponseDelay,r)(undefined)}catch(e){t.notifyError(e);return}}if(this.data.status instanceof s.RpcError){t.notifyError(this.data.status);return}if(this.data.trailers instanceof s.RpcError){t.notifyError(this.data.trailers);return}t.notifyComplete()}))}promiseStatus(){var e;const t=(e=this.data.status)!==null&&e!==void 0?e:TestTransport.defaultStatus;return t instanceof s.RpcError?Promise.reject(t):Promise.resolve(t)}promiseTrailers(){var e;const t=(e=this.data.trailers)!==null&&e!==void 0?e:TestTransport.defaultTrailers;return t instanceof s.RpcError?Promise.reject(t):Promise.resolve(t)}maybeSuppressUncaught(...e){if(this.suppressUncaughtRejections){for(let t of e){t.catch((()=>{}))}}}mergeOptions(e){return a.mergeRpcOptions({},e)}unary(e,t,r){var n;const s=(n=r.meta)!==null&&n!==void 0?n:{},i=this.promiseHeaders().then(delay(this.headerDelay,r.abort)),o=i.catch((e=>{})).then(delay(this.responseDelay,r.abort)).then((t=>this.promiseSingleResponse(e))),a=o.catch((e=>{})).then(delay(this.afterResponseDelay,r.abort)).then((e=>this.promiseStatus())),l=o.catch((e=>{})).then(delay(this.afterResponseDelay,r.abort)).then((e=>this.promiseTrailers()));this.maybeSuppressUncaught(a,l);this.lastInput={single:t};return new c.UnaryCall(e,s,t,i,o,a,l)}serverStreaming(e,t,r){var n;const s=(n=r.meta)!==null&&n!==void 0?n:{},i=this.promiseHeaders().then(delay(this.headerDelay,r.abort)),a=new o.RpcOutputStreamController,c=i.then(delay(this.responseDelay,r.abort)).catch((()=>{})).then((()=>this.streamResponses(e,a,r.abort))).then(delay(this.afterResponseDelay,r.abort)),A=c.then((()=>this.promiseStatus())),u=c.then((()=>this.promiseTrailers()));this.maybeSuppressUncaught(A,u);this.lastInput={single:t};return new l.ServerStreamingCall(e,s,t,i,a,A,u)}clientStreaming(e,t){var r;const n=(r=t.meta)!==null&&r!==void 0?r:{},s=this.promiseHeaders().then(delay(this.headerDelay,t.abort)),i=s.catch((e=>{})).then(delay(this.responseDelay,t.abort)).then((t=>this.promiseSingleResponse(e))),o=i.catch((e=>{})).then(delay(this.afterResponseDelay,t.abort)).then((e=>this.promiseStatus())),a=i.catch((e=>{})).then(delay(this.afterResponseDelay,t.abort)).then((e=>this.promiseTrailers()));this.maybeSuppressUncaught(o,a);this.lastInput=new TestInputStream(this.data,t.abort);return new A.ClientStreamingCall(e,n,this.lastInput,s,i,o,a)}duplex(e,t){var r;const n=(r=t.meta)!==null&&r!==void 0?r:{},s=this.promiseHeaders().then(delay(this.headerDelay,t.abort)),i=new o.RpcOutputStreamController,a=s.then(delay(this.responseDelay,t.abort)).catch((()=>{})).then((()=>this.streamResponses(e,i,t.abort))).then(delay(this.afterResponseDelay,t.abort)),c=a.then((()=>this.promiseStatus())),l=a.then((()=>this.promiseTrailers()));this.maybeSuppressUncaught(c,l);this.lastInput=new TestInputStream(this.data,t.abort);return new u.DuplexStreamingCall(e,n,this.lastInput,s,i,c,l)}}t.TestTransport=TestTransport;TestTransport.defaultHeaders={responseHeader:"test"};TestTransport.defaultStatus={code:"OK",detail:"all good"};TestTransport.defaultTrailers={responseTrailer:"test"};function delay(e,t){return r=>new Promise(((n,i)=>{if(t===null||t===void 0?void 0:t.aborted){i(new s.RpcError("user cancel","CANCELLED"))}else{const o=setTimeout((()=>n(r)),e);if(t){t.addEventListener("abort",(e=>{clearTimeout(o);i(new s.RpcError("user cancel","CANCELLED"))}))}}}))}class TestInputStream{constructor(e,t){this._completed=false;this._sent=[];this.data=e;this.abort=t}get sent(){return this._sent}get completed(){return this._completed}send(e){if(this.data.inputMessage instanceof s.RpcError){return Promise.reject(this.data.inputMessage)}const t=this.data.inputMessage===undefined?10:this.data.inputMessage;return Promise.resolve(undefined).then((()=>{this._sent.push(e)})).then(delay(t,this.abort))}complete(){if(this.data.inputComplete instanceof s.RpcError){return Promise.reject(this.data.inputComplete)}const e=this.data.inputComplete===undefined?10:this.data.inputComplete;return Promise.resolve(undefined).then((()=>{this._completed=true})).then(delay(e,this.abort))}}},9288:function(e,t){var r=this&&this.__awaiter||function(e,t,r,n){function adopt(e){return e instanceof r?e:new r((function(t){t(e)}))}return new(r||(r=Promise))((function(r,s){function fulfilled(e){try{step(n.next(e))}catch(e){s(e)}}function rejected(e){try{step(n["throw"](e))}catch(e){s(e)}}function step(e){e.done?r(e.value):adopt(e.value).then(fulfilled,rejected)}step((n=n.apply(e,t||[])).next())}))};Object.defineProperty(t,"__esModule",{value:true});t.UnaryCall=void 0;class UnaryCall{constructor(e,t,r,n,s,i,o){this.method=e;this.requestHeaders=t;this.request=r;this.headers=n;this.response=s;this.status=i;this.trailers=o}then(e,t){return this.promiseFinished().then((t=>e?Promise.resolve(e(t)):t),(e=>t?Promise.resolve(t(e)):Promise.reject(e)))}promiseFinished(){return r(this,void 0,void 0,(function*(){let[e,t,r,n]=yield Promise.all([this.headers,this.response,this.status,this.trailers]);return{method:this.method,requestHeaders:this.requestHeaders,request:this.request,headers:e,response:t,status:r,trailers:n}}))}}t.UnaryCall=UnaryCall},8602:(e,t)=>{Object.defineProperty(t,"__esModule",{value:true});t.assertFloat32=t.assertUInt32=t.assertInt32=t.assertNever=t.assert=void 0;function assert(e,t){if(!e){throw new Error(t)}}t.assert=assert;function assertNever(e,t){throw new Error(t!==null&&t!==void 0?t:"Unexpected object: "+e)}t.assertNever=assertNever;const r=34028234663852886e22,n=-34028234663852886e22,s=4294967295,i=2147483647,o=-2147483648;function assertInt32(e){if(typeof e!=="number")throw new Error("invalid int 32: "+typeof e);if(!Number.isInteger(e)||e>i||e<o)throw new Error("invalid int 32: "+e)}t.assertInt32=assertInt32;function assertUInt32(e){if(typeof e!=="number")throw new Error("invalid uint 32: "+typeof e);if(!Number.isInteger(e)||e>s||e<0)throw new Error("invalid uint 32: "+e)}t.assertUInt32=assertUInt32;function assertFloat32(e){if(typeof e!=="number")throw new Error("invalid float 32: "+typeof e);if(!Number.isFinite(e))return;if(e>r||e<n)throw new Error("invalid float 32: "+e)}t.assertFloat32=assertFloat32},6335:(e,t)=>{Object.defineProperty(t,"__esModule",{value:true});t.base64encode=t.base64decode=void 0;let r="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".split("");let n=[];for(let e=0;e<r.length;e++)n[r[e].charCodeAt(0)]=e;n["-".charCodeAt(0)]=r.indexOf("+");n["_".charCodeAt(0)]=r.indexOf("/");function base64decode(e){let t=e.length*3/4;if(e[e.length-2]=="=")t-=2;else if(e[e.length-1]=="=")t-=1;let r=new Uint8Array(t),s=0,i=0,o,a=0;for(let t=0;t<e.length;t++){o=n[e.charCodeAt(t)];if(o===undefined){switch(e[t]){case"=":i=0;case"\n":case"\r":case"\t":case" ":continue;default:throw Error(`invalid base64 string.`)}}switch(i){case 0:a=o;i=1;break;case 1:r[s++]=a<<2|(o&48)>>4;a=o;i=2;break;case 2:r[s++]=(a&15)<<4|(o&60)>>2;a=o;i=3;break;case 3:r[s++]=(a&3)<<6|o;i=0;break}}if(i==1)throw Error(`invalid base64 string.`);return r.subarray(0,s)}t.base64decode=base64decode;function base64encode(e){let t="",n=0,s,i=0;for(let o=0;o<e.length;o++){s=e[o];switch(n){case 0:t+=r[s>>2];i=(s&3)<<4;n=1;break;case 1:t+=r[i|s>>4];i=(s&15)<<2;n=2;break;case 2:t+=r[i|s>>6];t+=r[s&63];n=0;break}}if(n){t+=r[i];t+="=";if(n==1)t+="="}return t}t.base64encode=base64encode},4816:(e,t)=>{Object.defineProperty(t,"__esModule",{value:true});t.WireType=t.mergeBinaryOptions=t.UnknownFieldHandler=void 0;var r;(function(e){e.symbol=Symbol.for("protobuf-ts/unknown");e.onRead=(t,r,n,s,i)=>{let o=is(r)?r[e.symbol]:r[e.symbol]=[];o.push({no:n,wireType:s,data:i})};e.onWrite=(t,r,n)=>{for(let{no:t,wireType:s,data:i}of e.list(r))n.tag(t,s).raw(i)};e.list=(t,r)=>{if(is(t)){let n=t[e.symbol];return r?n.filter((e=>e.no==r)):n}return[]};e.last=(t,r)=>e.list(t,r).slice(-1)[0];const is=t=>t&&Array.isArray(t[e.symbol])})(r=t.UnknownFieldHandler||(t.UnknownFieldHandler={}));function mergeBinaryOptions(e,t){return Object.assign(Object.assign({},e),t)}t.mergeBinaryOptions=mergeBinaryOptions;var n;(function(e){e[e["Varint"]=0]="Varint";e[e["Bit64"]=1]="Bit64";e[e["LengthDelimited"]=2]="LengthDelimited";e[e["StartGroup"]=3]="StartGroup";e[e["EndGroup"]=4]="EndGroup";e[e["Bit32"]=5]="Bit32"})(n=t.WireType||(t.WireType={}))},2889:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:true});t.BinaryReader=t.binaryReadOptions=void 0;const n=r(4816);const s=r(1753);const i=r(3223);const o={readUnknownField:true,readerFactory:e=>new BinaryReader(e)};function binaryReadOptions(e){return e?Object.assign(Object.assign({},o),e):o}t.binaryReadOptions=binaryReadOptions;class BinaryReader{constructor(e,t){this.varint64=i.varint64read;this.uint32=i.varint32read;this.buf=e;this.len=e.length;this.pos=0;this.view=new DataView(e.buffer,e.byteOffset,e.byteLength);this.textDecoder=t!==null&&t!==void 0?t:new TextDecoder("utf-8",{fatal:true,ignoreBOM:true})}tag(){let e=this.uint32(),t=e>>>3,r=e&7;if(t<=0||r<0||r>5)throw new Error("illegal tag: field no "+t+" wire type "+r);return[t,r]}skip(e){let t=this.pos;switch(e){case n.WireType.Varint:while(this.buf[this.pos++]&128){}break;case n.WireType.Bit64:this.pos+=4;case n.WireType.Bit32:this.pos+=4;break;case n.WireType.LengthDelimited:let t=this.uint32();this.pos+=t;break;case n.WireType.StartGroup:let r;while((r=this.tag()[1])!==n.WireType.EndGroup){this.skip(r)}break;default:throw new Error("cant skip wire type "+e)}this.assertBounds();return this.buf.subarray(t,this.pos)}assertBounds(){if(this.pos>this.len)throw new RangeError("premature EOF")}int32(){return this.uint32()|0}sint32(){let e=this.uint32();return e>>>1^-(e&1)}int64(){return new s.PbLong(...this.varint64())}uint64(){return new s.PbULong(...this.varint64())}sint64(){let[e,t]=this.varint64();let r=-(e&1);e=(e>>>1|(t&1)<<31)^r;t=t>>>1^r;return new s.PbLong(e,t)}bool(){let[e,t]=this.varint64();return e!==0||t!==0}fixed32(){return this.view.getUint32((this.pos+=4)-4,true)}sfixed32(){return this.view.getInt32((this.pos+=4)-4,true)}fixed64(){return new s.PbULong(this.sfixed32(),this.sfixed32())}sfixed64(){return new s.PbLong(this.sfixed32(),this.sfixed32())}float(){return this.view.getFloat32((this.pos+=4)-4,true)}double(){return this.view.getFloat64((this.pos+=8)-8,true)}bytes(){let e=this.uint32();let t=this.pos;this.pos+=e;this.assertBounds();return this.buf.subarray(t,t+e)}string(){return this.textDecoder.decode(this.bytes())}}t.BinaryReader=BinaryReader},3957:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:true});t.BinaryWriter=t.binaryWriteOptions=void 0;const n=r(1753);const s=r(3223);const i=r(8602);const o={writeUnknownFields:true,writerFactory:()=>new BinaryWriter};function binaryWriteOptions(e){return e?Object.assign(Object.assign({},o),e):o}t.binaryWriteOptions=binaryWriteOptions;class BinaryWriter{constructor(e){this.stack=[];this.textEncoder=e!==null&&e!==void 0?e:new TextEncoder;this.chunks=[];this.buf=[]}finish(){this.chunks.push(new Uint8Array(this.buf));let e=0;for(let t=0;t<this.chunks.length;t++)e+=this.chunks[t].length;let t=new Uint8Array(e);let r=0;for(let e=0;e<this.chunks.length;e++){t.set(this.chunks[e],r);r+=this.chunks[e].length}this.chunks=[];return t}fork(){this.stack.push({chunks:this.chunks,buf:this.buf});this.chunks=[];this.buf=[];return this}join(){let e=this.finish();let t=this.stack.pop();if(!t)throw new Error("invalid state, fork stack empty");this.chunks=t.chunks;this.buf=t.buf;this.uint32(e.byteLength);return this.raw(e)}tag(e,t){return this.uint32((e<<3|t)>>>0)}raw(e){if(this.buf.length){this.chunks.push(new Uint8Array(this.buf));this.buf=[]}this.chunks.push(e);return this}uint32(e){i.assertUInt32(e);while(e>127){this.buf.push(e&127|128);e=e>>>7}this.buf.push(e);return this}int32(e){i.assertInt32(e);s.varint32write(e,this.buf);return this}bool(e){this.buf.push(e?1:0);return this}bytes(e){this.uint32(e.byteLength);return this.raw(e)}string(e){let t=this.textEncoder.encode(e);this.uint32(t.byteLength);return this.raw(t)}float(e){i.assertFloat32(e);let t=new Uint8Array(4);new DataView(t.buffer).setFloat32(0,e,true);return this.raw(t)}double(e){let t=new Uint8Array(8);new DataView(t.buffer).setFloat64(0,e,true);return this.raw(t)}fixed32(e){i.assertUInt32(e);let t=new Uint8Array(4);new DataView(t.buffer).setUint32(0,e,true);return this.raw(t)}sfixed32(e){i.assertInt32(e);let t=new Uint8Array(4);new DataView(t.buffer).setInt32(0,e,true);return this.raw(t)}sint32(e){i.assertInt32(e);e=(e<<1^e>>31)>>>0;s.varint32write(e,this.buf);return this}sfixed64(e){let t=new Uint8Array(8);let r=new DataView(t.buffer);let s=n.PbLong.from(e);r.setInt32(0,s.lo,true);r.setInt32(4,s.hi,true);return this.raw(t)}fixed64(e){let t=new Uint8Array(8);let r=new DataView(t.buffer);let s=n.PbULong.from(e);r.setInt32(0,s.lo,true);r.setInt32(4,s.hi,true);return this.raw(t)}int64(e){let t=n.PbLong.from(e);s.varint64write(t.lo,t.hi,this.buf);return this}sint64(e){let t=n.PbLong.from(e),r=t.hi>>31,i=t.lo<<1^r,o=(t.hi<<1|t.lo>>>31)^r;s.varint64write(i,o,this.buf);return this}uint64(e){let t=n.PbULong.from(e);s.varint64write(t.lo,t.hi,this.buf);return this}}t.BinaryWriter=BinaryWriter},257:(e,t)=>{Object.defineProperty(t,"__esModule",{value:true});t.listEnumNumbers=t.listEnumNames=t.listEnumValues=t.isEnumObject=void 0;function isEnumObject(e){if(typeof e!="object"||e===null){return false}if(!e.hasOwnProperty(0)){return false}for(let t of Object.keys(e)){let r=parseInt(t);if(!Number.isNaN(r)){let t=e[r];if(t===undefined)return false;if(e[t]!==r)return false}else{let r=e[t];if(r===undefined)return false;if(typeof r!=="number")return false;if(e[r]===undefined)return false}}return true}t.isEnumObject=isEnumObject;function listEnumValues(e){if(!isEnumObject(e))throw new Error("not a typescript enum object");let t=[];for(let[r,n]of Object.entries(e))if(typeof n=="number")t.push({name:r,number:n});return t}t.listEnumValues=listEnumValues;function listEnumNames(e){return listEnumValues(e).map((e=>e.name))}t.listEnumNames=listEnumNames;function listEnumNumbers(e){return listEnumValues(e).map((e=>e.number)).filter(((e,t,r)=>r.indexOf(e)==t))}t.listEnumNumbers=listEnumNumbers},3223:(e,t)=>{Object.defineProperty(t,"__esModule",{value:true});t.varint32read=t.varint32write=t.int64toString=t.int64fromString=t.varint64write=t.varint64read=void 0;function varint64read(){let e=0;let t=0;for(let r=0;r<28;r+=7){let n=this.buf[this.pos++];e|=(n&127)<<r;if((n&128)==0){this.assertBounds();return[e,t]}}let r=this.buf[this.pos++];e|=(r&15)<<28;t=(r&112)>>4;if((r&128)==0){this.assertBounds();return[e,t]}for(let r=3;r<=31;r+=7){let n=this.buf[this.pos++];t|=(n&127)<<r;if((n&128)==0){this.assertBounds();return[e,t]}}throw new Error("invalid varint")}t.varint64read=varint64read;function varint64write(e,t,r){for(let n=0;n<28;n=n+7){const s=e>>>n;const i=!(s>>>7==0&&t==0);const o=(i?s|128:s)&255;r.push(o);if(!i){return}}const n=e>>>28&15|(t&7)<<4;const s=!(t>>3==0);r.push((s?n|128:n)&255);if(!s){return}for(let e=3;e<31;e=e+7){const n=t>>>e;const s=!(n>>>7==0);const i=(s?n|128:n)&255;r.push(i);if(!s){return}}r.push(t>>>31&1)}t.varint64write=varint64write;const r=(1<<16)*(1<<16);function int64fromString(e){let t=e[0]=="-";if(t)e=e.slice(1);const n=1e6;let s=0;let i=0;function add1e6digit(t,o){const a=Number(e.slice(t,o));i*=n;s=s*n+a;if(s>=r){i=i+(s/r|0);s=s%r}}add1e6digit(-24,-18);add1e6digit(-18,-12);add1e6digit(-12,-6);add1e6digit(-6);return[t,s,i]}t.int64fromString=int64fromString;function int64toString(e,t){if(t>>>0<=2097151){return""+(r*t+(e>>>0))}let n=e&16777215;let s=(e>>>24|t<<8)>>>0&16777215;let i=t>>16&65535;let o=n+s*6777216+i*6710656;let a=s+i*8147497;let c=i*2;let l=1e7;if(o>=l){a+=Math.floor(o/l);o%=l}if(a>=l){c+=Math.floor(a/l);a%=l}function decimalFrom1e7(e,t){let r=e?String(e):"";if(t){return"0000000".slice(r.length)+r}return r}return decimalFrom1e7(c,0)+decimalFrom1e7(a,c)+decimalFrom1e7(o,1)}t.int64toString=int64toString;function varint32write(e,t){if(e>=0){while(e>127){t.push(e&127|128);e=e>>>7}t.push(e)}else{for(let r=0;r<9;r++){t.push(e&127|128);e=e>>7}t.push(1)}}t.varint32write=varint32write;function varint32read(){let e=this.buf[this.pos++];let t=e&127;if((e&128)==0){this.assertBounds();return t}e=this.buf[this.pos++];t|=(e&127)<<7;if((e&128)==0){this.assertBounds();return t}e=this.buf[this.pos++];t|=(e&127)<<14;if((e&128)==0){this.assertBounds();return t}e=this.buf[this.pos++];t|=(e&127)<<21;if((e&128)==0){this.assertBounds();return t}e=this.buf[this.pos++];t|=(e&15)<<28;for(let t=5;(e&128)!==0&&t<10;t++)e=this.buf[this.pos++];if((e&128)!=0)throw new Error("invalid varint");this.assertBounds();return t>>>0}t.varint32read=varint32read},8886:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:true});var n=r(9999);Object.defineProperty(t,"typeofJsonValue",{enumerable:true,get:function(){return n.typeofJsonValue}});Object.defineProperty(t,"isJsonObject",{enumerable:true,get:function(){return n.isJsonObject}});var s=r(6335);Object.defineProperty(t,"base64decode",{enumerable:true,get:function(){return s.base64decode}});Object.defineProperty(t,"base64encode",{enumerable:true,get:function(){return s.base64encode}});var i=r(8950);Object.defineProperty(t,"utf8read",{enumerable:true,get:function(){return i.utf8read}});var o=r(4816);Object.defineProperty(t,"WireType",{enumerable:true,get:function(){return o.WireType}});Object.defineProperty(t,"mergeBinaryOptions",{enumerable:true,get:function(){return o.mergeBinaryOptions}});Object.defineProperty(t,"UnknownFieldHandler",{enumerable:true,get:function(){return o.UnknownFieldHandler}});var a=r(2889);Object.defineProperty(t,"BinaryReader",{enumerable:true,get:function(){return a.BinaryReader}});Object.defineProperty(t,"binaryReadOptions",{enumerable:true,get:function(){return a.binaryReadOptions}});var c=r(3957);Object.defineProperty(t,"BinaryWriter",{enumerable:true,get:function(){return c.BinaryWriter}});Object.defineProperty(t,"binaryWriteOptions",{enumerable:true,get:function(){return c.binaryWriteOptions}});var l=r(1753);Object.defineProperty(t,"PbLong",{enumerable:true,get:function(){return l.PbLong}});Object.defineProperty(t,"PbULong",{enumerable:true,get:function(){return l.PbULong}});var A=r(9367);Object.defineProperty(t,"jsonReadOptions",{enumerable:true,get:function(){return A.jsonReadOptions}});Object.defineProperty(t,"jsonWriteOptions",{enumerable:true,get:function(){return A.jsonWriteOptions}});Object.defineProperty(t,"mergeJsonOptions",{enumerable:true,get:function(){return A.mergeJsonOptions}});var u=r(3785);Object.defineProperty(t,"MESSAGE_TYPE",{enumerable:true,get:function(){return u.MESSAGE_TYPE}});var d=r(5106);Object.defineProperty(t,"MessageType",{enumerable:true,get:function(){return d.MessageType}});var g=r(7910);Object.defineProperty(t,"ScalarType",{enumerable:true,get:function(){return g.ScalarType}});Object.defineProperty(t,"LongType",{enumerable:true,get:function(){return g.LongType}});Object.defineProperty(t,"RepeatType",{enumerable:true,get:function(){return g.RepeatType}});Object.defineProperty(t,"normalizeFieldInfo",{enumerable:true,get:function(){return g.normalizeFieldInfo}});Object.defineProperty(t,"readFieldOptions",{enumerable:true,get:function(){return g.readFieldOptions}});Object.defineProperty(t,"readFieldOption",{enumerable:true,get:function(){return g.readFieldOption}});Object.defineProperty(t,"readMessageOption",{enumerable:true,get:function(){return g.readMessageOption}});var p=r(5167);Object.defineProperty(t,"ReflectionTypeCheck",{enumerable:true,get:function(){return p.ReflectionTypeCheck}});var h=r(5726);Object.defineProperty(t,"reflectionCreate",{enumerable:true,get:function(){return h.reflectionCreate}});var m=r(7145);Object.defineProperty(t,"reflectionScalarDefault",{enumerable:true,get:function(){return m.reflectionScalarDefault}});var f=r(8044);Object.defineProperty(t,"reflectionMergePartial",{enumerable:true,get:function(){return f.reflectionMergePartial}});var C=r(4827);Object.defineProperty(t,"reflectionEquals",{enumerable:true,get:function(){return C.reflectionEquals}});var y=r(9611);Object.defineProperty(t,"ReflectionBinaryReader",{enumerable:true,get:function(){return y.ReflectionBinaryReader}});var E=r(6907);Object.defineProperty(t,"ReflectionBinaryWriter",{enumerable:true,get:function(){return E.ReflectionBinaryWriter}});var I=r(6790);Object.defineProperty(t,"ReflectionJsonReader",{enumerable:true,get:function(){return I.ReflectionJsonReader}});var B=r(1094);Object.defineProperty(t,"ReflectionJsonWriter",{enumerable:true,get:function(){return B.ReflectionJsonWriter}});var Q=r(9946);Object.defineProperty(t,"containsMessageType",{enumerable:true,get:function(){return Q.containsMessageType}});var b=r(8063);Object.defineProperty(t,"isOneofGroup",{enumerable:true,get:function(){return b.isOneofGroup}});Object.defineProperty(t,"setOneofValue",{enumerable:true,get:function(){return b.setOneofValue}});Object.defineProperty(t,"getOneofValue",{enumerable:true,get:function(){return b.getOneofValue}});Object.defineProperty(t,"clearOneofValue",{enumerable:true,get:function(){return b.clearOneofValue}});Object.defineProperty(t,"getSelectedOneofValue",{enumerable:true,get:function(){return b.getSelectedOneofValue}});var S=r(257);Object.defineProperty(t,"listEnumValues",{enumerable:true,get:function(){return S.listEnumValues}});Object.defineProperty(t,"listEnumNames",{enumerable:true,get:function(){return S.listEnumNames}});Object.defineProperty(t,"listEnumNumbers",{enumerable:true,get:function(){return S.listEnumNumbers}});Object.defineProperty(t,"isEnumObject",{enumerable:true,get:function(){return S.isEnumObject}});var w=r(4073);Object.defineProperty(t,"lowerCamelCase",{enumerable:true,get:function(){return w.lowerCamelCase}});var D=r(8602);Object.defineProperty(t,"assert",{enumerable:true,get:function(){return D.assert}});Object.defineProperty(t,"assertNever",{enumerable:true,get:function(){return D.assertNever}});Object.defineProperty(t,"assertInt32",{enumerable:true,get:function(){return D.assertInt32}});Object.defineProperty(t,"assertUInt32",{enumerable:true,get:function(){return D.assertUInt32}});Object.defineProperty(t,"assertFloat32",{enumerable:true,get:function(){return D.assertFloat32}})},9367:(e,t)=>{Object.defineProperty(t,"__esModule",{value:true});t.mergeJsonOptions=t.jsonWriteOptions=t.jsonReadOptions=void 0;const r={emitDefaultValues:false,enumAsInteger:false,useProtoFieldName:false,prettySpaces:0},n={ignoreUnknownFields:false};function jsonReadOptions(e){return e?Object.assign(Object.assign({},n),e):n}t.jsonReadOptions=jsonReadOptions;function jsonWriteOptions(e){return e?Object.assign(Object.assign({},r),e):r}t.jsonWriteOptions=jsonWriteOptions;function mergeJsonOptions(e,t){var r,n;let s=Object.assign(Object.assign({},e),t);s.typeRegistry=[...(r=e===null||e===void 0?void 0:e.typeRegistry)!==null&&r!==void 0?r:[],...(n=t===null||t===void 0?void 0:t.typeRegistry)!==null&&n!==void 0?n:[]];return s}t.mergeJsonOptions=mergeJsonOptions},9999:(e,t)=>{Object.defineProperty(t,"__esModule",{value:true});t.isJsonObject=t.typeofJsonValue=void 0;function typeofJsonValue(e){let t=typeof e;if(t=="object"){if(Array.isArray(e))return"array";if(e===null)return"null"}return t}t.typeofJsonValue=typeofJsonValue;function isJsonObject(e){return e!==null&&typeof e=="object"&&!Array.isArray(e)}t.isJsonObject=isJsonObject},4073:(e,t)=>{Object.defineProperty(t,"__esModule",{value:true});t.lowerCamelCase=void 0;function lowerCamelCase(e){let t=false;const r=[];for(let n=0;n<e.length;n++){let s=e.charAt(n);if(s=="_"){t=true}else if(/\d/.test(s)){r.push(s);t=true}else if(t){r.push(s.toUpperCase());t=false}else if(n==0){r.push(s.toLowerCase())}else{r.push(s)}}return r.join("")}t.lowerCamelCase=lowerCamelCase},3785:(e,t)=>{Object.defineProperty(t,"__esModule",{value:true});t.MESSAGE_TYPE=void 0;t.MESSAGE_TYPE=Symbol.for("protobuf-ts/message-type")},5106:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:true});t.MessageType=void 0;const n=r(3785);const s=r(7910);const i=r(5167);const o=r(6790);const a=r(1094);const c=r(9611);const l=r(6907);const A=r(5726);const u=r(8044);const d=r(9999);const g=r(9367);const p=r(4827);const h=r(3957);const m=r(2889);const f=Object.getOwnPropertyDescriptors(Object.getPrototypeOf({}));const C=f[n.MESSAGE_TYPE]={};class MessageType{constructor(e,t,r){this.defaultCheckDepth=16;this.typeName=e;this.fields=t.map(s.normalizeFieldInfo);this.options=r!==null&&r!==void 0?r:{};C.value=this;this.messagePrototype=Object.create(null,f);this.refTypeCheck=new i.ReflectionTypeCheck(this);this.refJsonReader=new o.ReflectionJsonReader(this);this.refJsonWriter=new a.ReflectionJsonWriter(this);this.refBinReader=new c.ReflectionBinaryReader(this);this.refBinWriter=new l.ReflectionBinaryWriter(this)}create(e){let t=A.reflectionCreate(this);if(e!==undefined){u.reflectionMergePartial(this,t,e)}return t}clone(e){let t=this.create();u.reflectionMergePartial(this,t,e);return t}equals(e,t){return p.reflectionEquals(this,e,t)}is(e,t=this.defaultCheckDepth){return this.refTypeCheck.is(e,t,false)}isAssignable(e,t=this.defaultCheckDepth){return this.refTypeCheck.is(e,t,true)}mergePartial(e,t){u.reflectionMergePartial(this,e,t)}fromBinary(e,t){let r=m.binaryReadOptions(t);return this.internalBinaryRead(r.readerFactory(e),e.byteLength,r)}fromJson(e,t){return this.internalJsonRead(e,g.jsonReadOptions(t))}fromJsonString(e,t){let r=JSON.parse(e);return this.fromJson(r,t)}toJson(e,t){return this.internalJsonWrite(e,g.jsonWriteOptions(t))}toJsonString(e,t){var r;let n=this.toJson(e,t);return JSON.stringify(n,null,(r=t===null||t===void 0?void 0:t.prettySpaces)!==null&&r!==void 0?r:0)}toBinary(e,t){let r=h.binaryWriteOptions(t);return this.internalBinaryWrite(e,r.writerFactory(),r).finish()}internalJsonRead(e,t,r){if(e!==null&&typeof e=="object"&&!Array.isArray(e)){let n=r!==null&&r!==void 0?r:this.create();this.refJsonReader.read(e,n,t);return n}throw new Error(`Unable to parse message ${this.typeName} from JSON ${d.typeofJsonValue(e)}.`)}internalJsonWrite(e,t){return this.refJsonWriter.write(e,t)}internalBinaryWrite(e,t,r){this.refBinWriter.write(e,t,r);return t}internalBinaryRead(e,t,r,n){let s=n!==null&&n!==void 0?n:this.create();this.refBinReader.read(e,s,r,t);return s}}t.MessageType=MessageType},8063:(e,t)=>{Object.defineProperty(t,"__esModule",{value:true});t.getSelectedOneofValue=t.clearOneofValue=t.setUnknownOneofValue=t.setOneofValue=t.getOneofValue=t.isOneofGroup=void 0;function isOneofGroup(e){if(typeof e!="object"||e===null||!e.hasOwnProperty("oneofKind")){return false}switch(typeof e.oneofKind){case"string":if(e[e.oneofKind]===undefined)return false;return Object.keys(e).length==2;case"undefined":return Object.keys(e).length==1;default:return false}}t.isOneofGroup=isOneofGroup;function getOneofValue(e,t){return e[t]}t.getOneofValue=getOneofValue;function setOneofValue(e,t,r){if(e.oneofKind!==undefined){delete e[e.oneofKind]}e.oneofKind=t;if(r!==undefined){e[t]=r}}t.setOneofValue=setOneofValue;function setUnknownOneofValue(e,t,r){if(e.oneofKind!==undefined){delete e[e.oneofKind]}e.oneofKind=t;if(r!==undefined&&t!==undefined){e[t]=r}}t.setUnknownOneofValue=setUnknownOneofValue;function clearOneofValue(e){if(e.oneofKind!==undefined){delete e[e.oneofKind]}e.oneofKind=undefined}t.clearOneofValue=clearOneofValue;function getSelectedOneofValue(e){if(e.oneofKind===undefined){return undefined}return e[e.oneofKind]}t.getSelectedOneofValue=getSelectedOneofValue},1753:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:true});t.PbLong=t.PbULong=t.detectBi=void 0;const n=r(3223);let s;function detectBi(){const e=new DataView(new ArrayBuffer(8));const t=globalThis.BigInt!==undefined&&typeof e.getBigInt64==="function"&&typeof e.getBigUint64==="function"&&typeof e.setBigInt64==="function"&&typeof e.setBigUint64==="function";s=t?{MIN:BigInt("-9223372036854775808"),MAX:BigInt("9223372036854775807"),UMIN:BigInt("0"),UMAX:BigInt("18446744073709551615"),C:BigInt,V:e}:undefined}t.detectBi=detectBi;detectBi();function assertBi(e){if(!e)throw new Error("BigInt unavailable, see https://github.com/timostamm/protobuf-ts/blob/v1.0.8/MANUAL.md#bigint-support")}const i=/^-?[0-9]+$/;const o=4294967296;const a=2147483648;class SharedPbLong{constructor(e,t){this.lo=e|0;this.hi=t|0}isZero(){return this.lo==0&&this.hi==0}toNumber(){let e=this.hi*o+(this.lo>>>0);if(!Number.isSafeInteger(e))throw new Error("cannot convert to safe number");return e}}class PbULong extends SharedPbLong{static from(e){if(s)switch(typeof e){case"string":if(e=="0")return this.ZERO;if(e=="")throw new Error("string is no integer");e=s.C(e);case"number":if(e===0)return this.ZERO;e=s.C(e);case"bigint":if(!e)return this.ZERO;if(e<s.UMIN)throw new Error("signed value for ulong");if(e>s.UMAX)throw new Error("ulong too large");s.V.setBigUint64(0,e,true);return new PbULong(s.V.getInt32(0,true),s.V.getInt32(4,true))}else switch(typeof e){case"string":if(e=="0")return this.ZERO;e=e.trim();if(!i.test(e))throw new Error("string is no integer");let[t,r,s]=n.int64fromString(e);if(t)throw new Error("signed value for ulong");return new PbULong(r,s);case"number":if(e==0)return this.ZERO;if(!Number.isSafeInteger(e))throw new Error("number is no integer");if(e<0)throw new Error("signed value for ulong");return new PbULong(e,e/o)}throw new Error("unknown value "+typeof e)}toString(){return s?this.toBigInt().toString():n.int64toString(this.lo,this.hi)}toBigInt(){assertBi(s);s.V.setInt32(0,this.lo,true);s.V.setInt32(4,this.hi,true);return s.V.getBigUint64(0,true)}}t.PbULong=PbULong;PbULong.ZERO=new PbULong(0,0);class PbLong extends SharedPbLong{static from(e){if(s)switch(typeof e){case"string":if(e=="0")return this.ZERO;if(e=="")throw new Error("string is no integer");e=s.C(e);case"number":if(e===0)return this.ZERO;e=s.C(e);case"bigint":if(!e)return this.ZERO;if(e<s.MIN)throw new Error("signed long too small");if(e>s.MAX)throw new Error("signed long too large");s.V.setBigInt64(0,e,true);return new PbLong(s.V.getInt32(0,true),s.V.getInt32(4,true))}else switch(typeof e){case"string":if(e=="0")return this.ZERO;e=e.trim();if(!i.test(e))throw new Error("string is no integer");let[t,r,s]=n.int64fromString(e);if(t){if(s>a||s==a&&r!=0)throw new Error("signed long too small")}else if(s>=a)throw new Error("signed long too large");let c=new PbLong(r,s);return t?c.negate():c;case"number":if(e==0)return this.ZERO;if(!Number.isSafeInteger(e))throw new Error("number is no integer");return e>0?new PbLong(e,e/o):new PbLong(-e,-e/o).negate()}throw new Error("unknown value "+typeof e)}isNegative(){return(this.hi&a)!==0}negate(){let e=~this.hi,t=this.lo;if(t)t=~t+1;else e+=1;return new PbLong(t,e)}toString(){if(s)return this.toBigInt().toString();if(this.isNegative()){let e=this.negate();return"-"+n.int64toString(e.lo,e.hi)}return n.int64toString(this.lo,this.hi)}toBigInt(){assertBi(s);s.V.setInt32(0,this.lo,true);s.V.setInt32(4,this.hi,true);return s.V.getBigInt64(0,true)}}t.PbLong=PbLong;PbLong.ZERO=new PbLong(0,0)},8950:(e,t)=>{Object.defineProperty(t,"__esModule",{value:true});t.utf8read=void 0;const fromCharCodes=e=>String.fromCharCode.apply(String,e);function utf8read(e){if(e.length<1)return"";let t=0,r=[],n=[],s=0,i;let o=e.length;while(t<o){i=e[t++];if(i<128)n[s++]=i;else if(i>191&&i<224)n[s++]=(i&31)<<6|e[t++]&63;else if(i>239&&i<365){i=((i&7)<<18|(e[t++]&63)<<12|(e[t++]&63)<<6|e[t++]&63)-65536;n[s++]=55296+(i>>10);n[s++]=56320+(i&1023)}else n[s++]=(i&15)<<12|(e[t++]&63)<<6|e[t++]&63;if(s>8191){r.push(fromCharCodes(n));s=0}}if(r.length){if(s)r.push(fromCharCodes(n.slice(0,s)));return r.join("")}return fromCharCodes(n.slice(0,s))}t.utf8read=utf8read},9611:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:true});t.ReflectionBinaryReader=void 0;const n=r(4816);const s=r(7910);const i=r(3402);const o=r(7145);class ReflectionBinaryReader{constructor(e){this.info=e}prepare(){var e;if(!this.fieldNoToField){const t=(e=this.info.fields)!==null&&e!==void 0?e:[];this.fieldNoToField=new Map(t.map((e=>[e.no,e])))}}read(e,t,r,i){this.prepare();const o=i===undefined?e.len:e.pos+i;while(e.pos<o){const[i,o]=e.tag(),a=this.fieldNoToField.get(i);if(!a){let s=r.readUnknownField;if(s=="throw")throw new Error(`Unknown field ${i} (wire type ${o}) for ${this.info.typeName}`);let a=e.skip(o);if(s!==false)(s===true?n.UnknownFieldHandler.onRead:s)(this.info.typeName,t,i,o,a);continue}let c=t,l=a.repeat,A=a.localName;if(a.oneof){c=c[a.oneof];if(c.oneofKind!==A)c=t[a.oneof]={oneofKind:A}}switch(a.kind){case"scalar":case"enum":let t=a.kind=="enum"?s.ScalarType.INT32:a.T;let i=a.kind=="scalar"?a.L:undefined;if(l){let r=c[A];if(o==n.WireType.LengthDelimited&&t!=s.ScalarType.STRING&&t!=s.ScalarType.BYTES){let n=e.uint32()+e.pos;while(e.pos<n)r.push(this.scalar(e,t,i))}else r.push(this.scalar(e,t,i))}else c[A]=this.scalar(e,t,i);break;case"message":if(l){let t=c[A];let n=a.T().internalBinaryRead(e,e.uint32(),r);t.push(n)}else c[A]=a.T().internalBinaryRead(e,e.uint32(),r,c[A]);break;case"map":let[u,d]=this.mapEntry(a,e,r);c[A][u]=d;break}}}mapEntry(e,t,r){let n=t.uint32();let i=t.pos+n;let a=undefined;let c=undefined;while(t.pos<i){let[n,i]=t.tag();switch(n){case 1:if(e.K==s.ScalarType.BOOL)a=t.bool().toString();else a=this.scalar(t,e.K,s.LongType.STRING);break;case 2:switch(e.V.kind){case"scalar":c=this.scalar(t,e.V.T,e.V.L);break;case"enum":c=t.int32();break;case"message":c=e.V.T().internalBinaryRead(t,t.uint32(),r);break}break;default:throw new Error(`Unknown field ${n} (wire type ${i}) in map entry for ${this.info.typeName}#${e.name}`)}}if(a===undefined){let t=o.reflectionScalarDefault(e.K);a=e.K==s.ScalarType.BOOL?t.toString():t}if(c===undefined)switch(e.V.kind){case"scalar":c=o.reflectionScalarDefault(e.V.T,e.V.L);break;case"enum":c=0;break;case"message":c=e.V.T().create();break}return[a,c]}scalar(e,t,r){switch(t){case s.ScalarType.INT32:return e.int32();case s.ScalarType.STRING:return e.string();case s.ScalarType.BOOL:return e.bool();case s.ScalarType.DOUBLE:return e.double();case s.ScalarType.FLOAT:return e.float();case s.ScalarType.INT64:return i.reflectionLongConvert(e.int64(),r);case s.ScalarType.UINT64:return i.reflectionLongConvert(e.uint64(),r);case s.ScalarType.FIXED64:return i.reflectionLongConvert(e.fixed64(),r);case s.ScalarType.FIXED32:return e.fixed32();case s.ScalarType.BYTES:return e.bytes();case s.ScalarType.UINT32:return e.uint32();case s.ScalarType.SFIXED32:return e.sfixed32();case s.ScalarType.SFIXED64:return i.reflectionLongConvert(e.sfixed64(),r);case s.ScalarType.SINT32:return e.sint32();case s.ScalarType.SINT64:return i.reflectionLongConvert(e.sint64(),r)}}}t.ReflectionBinaryReader=ReflectionBinaryReader},6907:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:true});t.ReflectionBinaryWriter=void 0;const n=r(4816);const s=r(7910);const i=r(8602);const o=r(1753);class ReflectionBinaryWriter{constructor(e){this.info=e}prepare(){if(!this.fields){const e=this.info.fields?this.info.fields.concat():[];this.fields=e.sort(((e,t)=>e.no-t.no))}}write(e,t,r){this.prepare();for(const n of this.fields){let o,a,c=n.repeat,l=n.localName;if(n.oneof){const t=e[n.oneof];if(t.oneofKind!==l)continue;o=t[l];a=true}else{o=e[l];a=false}switch(n.kind){case"scalar":case"enum":let e=n.kind=="enum"?s.ScalarType.INT32:n.T;if(c){i.assert(Array.isArray(o));if(c==s.RepeatType.PACKED)this.packed(t,e,n.no,o);else for(const r of o)this.scalar(t,e,n.no,r,true)}else if(o===undefined)i.assert(n.opt);else this.scalar(t,e,n.no,o,a||n.opt);break;case"message":if(c){i.assert(Array.isArray(o));for(const e of o)this.message(t,r,n.T(),n.no,e)}else{this.message(t,r,n.T(),n.no,o)}break;case"map":i.assert(typeof o=="object"&&o!==null);for(const[e,s]of Object.entries(o))this.mapEntry(t,r,n,e,s);break}}let o=r.writeUnknownFields;if(o!==false)(o===true?n.UnknownFieldHandler.onWrite:o)(this.info.typeName,e,t)}mapEntry(e,t,r,o,a){e.tag(r.no,n.WireType.LengthDelimited);e.fork();let c=o;switch(r.K){case s.ScalarType.INT32:case s.ScalarType.FIXED32:case s.ScalarType.UINT32:case s.ScalarType.SFIXED32:case s.ScalarType.SINT32:c=Number.parseInt(o);break;case s.ScalarType.BOOL:i.assert(o=="true"||o=="false");c=o=="true";break}this.scalar(e,r.K,1,c,true);switch(r.V.kind){case"scalar":this.scalar(e,r.V.T,2,a,true);break;case"enum":this.scalar(e,s.ScalarType.INT32,2,a,true);break;case"message":this.message(e,t,r.V.T(),2,a);break}e.join()}message(e,t,r,s,i){if(i===undefined)return;r.internalBinaryWrite(i,e.tag(s,n.WireType.LengthDelimited).fork(),t);e.join()}scalar(e,t,r,n,s){let[i,o,a]=this.scalarInfo(t,n);if(!a||s){e.tag(r,i);e[o](n)}}packed(e,t,r,o){if(!o.length)return;i.assert(t!==s.ScalarType.BYTES&&t!==s.ScalarType.STRING);e.tag(r,n.WireType.LengthDelimited);e.fork();let[,a]=this.scalarInfo(t);for(let t=0;t<o.length;t++)e[a](o[t]);e.join()}scalarInfo(e,t){let r=n.WireType.Varint;let i;let a=t===undefined;let c=t===0;switch(e){case s.ScalarType.INT32:i="int32";break;case s.ScalarType.STRING:c=a||!t.length;r=n.WireType.LengthDelimited;i="string";break;case s.ScalarType.BOOL:c=t===false;i="bool";break;case s.ScalarType.UINT32:i="uint32";break;case s.ScalarType.DOUBLE:r=n.WireType.Bit64;i="double";break;case s.ScalarType.FLOAT:r=n.WireType.Bit32;i="float";break;case s.ScalarType.INT64:c=a||o.PbLong.from(t).isZero();i="int64";break;case s.ScalarType.UINT64:c=a||o.PbULong.from(t).isZero();i="uint64";break;case s.ScalarType.FIXED64:c=a||o.PbULong.from(t).isZero();r=n.WireType.Bit64;i="fixed64";break;case s.ScalarType.BYTES:c=a||!t.byteLength;r=n.WireType.LengthDelimited;i="bytes";break;case s.ScalarType.FIXED32:r=n.WireType.Bit32;i="fixed32";break;case s.ScalarType.SFIXED32:r=n.WireType.Bit32;i="sfixed32";break;case s.ScalarType.SFIXED64:c=a||o.PbLong.from(t).isZero();r=n.WireType.Bit64;i="sfixed64";break;case s.ScalarType.SINT32:i="sint32";break;case s.ScalarType.SINT64:c=a||o.PbLong.from(t).isZero();i="sint64";break}return[r,i,a||c]}}t.ReflectionBinaryWriter=ReflectionBinaryWriter},9946:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:true});t.containsMessageType=void 0;const n=r(3785);function containsMessageType(e){return e[n.MESSAGE_TYPE]!=null}t.containsMessageType=containsMessageType},5726:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:true});t.reflectionCreate=void 0;const n=r(7145);const s=r(3785);function reflectionCreate(e){const t=e.messagePrototype?Object.create(e.messagePrototype):Object.defineProperty({},s.MESSAGE_TYPE,{value:e});for(let r of e.fields){let e=r.localName;if(r.opt)continue;if(r.oneof)t[r.oneof]={oneofKind:undefined};else if(r.repeat)t[e]=[];else switch(r.kind){case"scalar":t[e]=n.reflectionScalarDefault(r.T,r.L);break;case"enum":t[e]=0;break;case"map":t[e]={};break}}return t}t.reflectionCreate=reflectionCreate},4827:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:true});t.reflectionEquals=void 0;const n=r(7910);function reflectionEquals(e,t,r){if(t===r)return true;if(!t||!r)return false;for(let i of e.fields){let e=i.localName;let o=i.oneof?t[i.oneof][e]:t[e];let a=i.oneof?r[i.oneof][e]:r[e];switch(i.kind){case"enum":case"scalar":let e=i.kind=="enum"?n.ScalarType.INT32:i.T;if(!(i.repeat?repeatedPrimitiveEq(e,o,a):primitiveEq(e,o,a)))return false;break;case"map":if(!(i.V.kind=="message"?repeatedMsgEq(i.V.T(),s(o),s(a)):repeatedPrimitiveEq(i.V.kind=="enum"?n.ScalarType.INT32:i.V.T,s(o),s(a))))return false;break;case"message":let t=i.T();if(!(i.repeat?repeatedMsgEq(t,o,a):t.equals(o,a)))return false;break}}return true}t.reflectionEquals=reflectionEquals;const s=Object.values;function primitiveEq(e,t,r){if(t===r)return true;if(e!==n.ScalarType.BYTES)return false;let s=t;let i=r;if(s.length!==i.length)return false;for(let e=0;e<s.length;e++)if(s[e]!=i[e])return false;return true}function repeatedPrimitiveEq(e,t,r){if(t.length!==r.length)return false;for(let n=0;n<t.length;n++)if(!primitiveEq(e,t[n],r[n]))return false;return true}function repeatedMsgEq(e,t,r){if(t.length!==r.length)return false;for(let n=0;n<t.length;n++)if(!e.equals(t[n],r[n]))return false;return true}},7910:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:true});t.readMessageOption=t.readFieldOption=t.readFieldOptions=t.normalizeFieldInfo=t.RepeatType=t.LongType=t.ScalarType=void 0;const n=r(4073);var s;(function(e){e[e["DOUBLE"]=1]="DOUBLE";e[e["FLOAT"]=2]="FLOAT";e[e["INT64"]=3]="INT64";e[e["UINT64"]=4]="UINT64";e[e["INT32"]=5]="INT32";e[e["FIXED64"]=6]="FIXED64";e[e["FIXED32"]=7]="FIXED32";e[e["BOOL"]=8]="BOOL";e[e["STRING"]=9]="STRING";e[e["BYTES"]=12]="BYTES";e[e["UINT32"]=13]="UINT32";e[e["SFIXED32"]=15]="SFIXED32";e[e["SFIXED64"]=16]="SFIXED64";e[e["SINT32"]=17]="SINT32";e[e["SINT64"]=18]="SINT64"})(s=t.ScalarType||(t.ScalarType={}));var i;(function(e){e[e["BIGINT"]=0]="BIGINT";e[e["STRING"]=1]="STRING";e[e["NUMBER"]=2]="NUMBER"})(i=t.LongType||(t.LongType={}));var o;(function(e){e[e["NO"]=0]="NO";e[e["PACKED"]=1]="PACKED";e[e["UNPACKED"]=2]="UNPACKED"})(o=t.RepeatType||(t.RepeatType={}));function normalizeFieldInfo(e){var t,r,s,i;e.localName=(t=e.localName)!==null&&t!==void 0?t:n.lowerCamelCase(e.name);e.jsonName=(r=e.jsonName)!==null&&r!==void 0?r:n.lowerCamelCase(e.name);e.repeat=(s=e.repeat)!==null&&s!==void 0?s:o.NO;e.opt=(i=e.opt)!==null&&i!==void 0?i:e.repeat?false:e.oneof?false:e.kind=="message";return e}t.normalizeFieldInfo=normalizeFieldInfo;function readFieldOptions(e,t,r,n){var s;const i=(s=e.fields.find(((e,r)=>e.localName==t||r==t)))===null||s===void 0?void 0:s.options;return i&&i[r]?n.fromJson(i[r]):undefined}t.readFieldOptions=readFieldOptions;function readFieldOption(e,t,r,n){var s;const i=(s=e.fields.find(((e,r)=>e.localName==t||r==t)))===null||s===void 0?void 0:s.options;if(!i){return undefined}const o=i[r];if(o===undefined){return o}return n?n.fromJson(o):o}t.readFieldOption=readFieldOption;function readMessageOption(e,t,r){const n=e.options;const s=n[t];if(s===undefined){return s}return r?r.fromJson(s):s}t.readMessageOption=readMessageOption},6790:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:true});t.ReflectionJsonReader=void 0;const n=r(9999);const s=r(6335);const i=r(7910);const o=r(1753);const a=r(8602);const c=r(3402);class ReflectionJsonReader{constructor(e){this.info=e}prepare(){var e;if(this.fMap===undefined){this.fMap={};const t=(e=this.info.fields)!==null&&e!==void 0?e:[];for(const e of t){this.fMap[e.name]=e;this.fMap[e.jsonName]=e;this.fMap[e.localName]=e}}}assert(e,t,r){if(!e){let e=n.typeofJsonValue(r);if(e=="number"||e=="boolean")e=r.toString();throw new Error(`Cannot parse JSON ${e} for ${this.info.typeName}#${t}`)}}read(e,t,r){this.prepare();const s=[];for(const[o,a]of Object.entries(e)){const e=this.fMap[o];if(!e){if(!r.ignoreUnknownFields)throw new Error(`Found unknown field while reading ${this.info.typeName} from JSON format. JSON key: ${o}`);continue}const c=e.localName;let l;if(e.oneof){if(a===null&&(e.kind!=="enum"||e.T()[0]!=="google.protobuf.NullValue")){continue}if(s.includes(e.oneof))throw new Error(`Multiple members of the oneof group "${e.oneof}" of ${this.info.typeName} are present in JSON.`);s.push(e.oneof);l=t[e.oneof]={oneofKind:c}}else{l=t}if(e.kind=="map"){if(a===null){continue}this.assert(n.isJsonObject(a),e.name,a);const t=l[c];for(const[n,s]of Object.entries(a)){this.assert(s!==null,e.name+" map value",null);let o;switch(e.V.kind){case"message":o=e.V.T().internalJsonRead(s,r);break;case"enum":o=this.enum(e.V.T(),s,e.name,r.ignoreUnknownFields);if(o===false)continue;break;case"scalar":o=this.scalar(s,e.V.T,e.V.L,e.name);break}this.assert(o!==undefined,e.name+" map value",s);let a=n;if(e.K==i.ScalarType.BOOL)a=a=="true"?true:a=="false"?false:a;a=this.scalar(a,e.K,i.LongType.STRING,e.name).toString();t[a]=o}}else if(e.repeat){if(a===null)continue;this.assert(Array.isArray(a),e.name,a);const t=l[c];for(const n of a){this.assert(n!==null,e.name,null);let s;switch(e.kind){case"message":s=e.T().internalJsonRead(n,r);break;case"enum":s=this.enum(e.T(),n,e.name,r.ignoreUnknownFields);if(s===false)continue;break;case"scalar":s=this.scalar(n,e.T,e.L,e.name);break}this.assert(s!==undefined,e.name,a);t.push(s)}}else{switch(e.kind){case"message":if(a===null&&e.T().typeName!="google.protobuf.Value"){this.assert(e.oneof===undefined,e.name+" (oneof member)",null);continue}l[c]=e.T().internalJsonRead(a,r,l[c]);break;case"enum":if(a===null)continue;let t=this.enum(e.T(),a,e.name,r.ignoreUnknownFields);if(t===false)continue;l[c]=t;break;case"scalar":if(a===null)continue;l[c]=this.scalar(a,e.T,e.L,e.name);break}}}}enum(e,t,r,n){if(e[0]=="google.protobuf.NullValue")a.assert(t===null||t==="NULL_VALUE",`Unable to parse field ${this.info.typeName}#${r}, enum ${e[0]} only accepts null.`);if(t===null)return 0;switch(typeof t){case"number":a.assert(Number.isInteger(t),`Unable to parse field ${this.info.typeName}#${r}, enum can only be integral number, got ${t}.`);return t;case"string":let s=t;if(e[2]&&t.substring(0,e[2].length)===e[2])s=t.substring(e[2].length);let i=e[1][s];if(typeof i==="undefined"&&n){return false}a.assert(typeof i=="number",`Unable to parse field ${this.info.typeName}#${r}, enum ${e[0]} has no value for "${t}".`);return i}a.assert(false,`Unable to parse field ${this.info.typeName}#${r}, cannot parse enum value from ${typeof t}".`)}scalar(e,t,r,n){let l;try{switch(t){case i.ScalarType.DOUBLE:case i.ScalarType.FLOAT:if(e===null)return 0;if(e==="NaN")return Number.NaN;if(e==="Infinity")return Number.POSITIVE_INFINITY;if(e==="-Infinity")return Number.NEGATIVE_INFINITY;if(e===""){l="empty string";break}if(typeof e=="string"&&e.trim().length!==e.length){l="extra whitespace";break}if(typeof e!="string"&&typeof e!="number"){break}let n=Number(e);if(Number.isNaN(n)){l="not a number";break}if(!Number.isFinite(n)){l="too large or small";break}if(t==i.ScalarType.FLOAT)a.assertFloat32(n);return n;case i.ScalarType.INT32:case i.ScalarType.FIXED32:case i.ScalarType.SFIXED32:case i.ScalarType.SINT32:case i.ScalarType.UINT32:if(e===null)return 0;let A;if(typeof e=="number")A=e;else if(e==="")l="empty string";else if(typeof e=="string"){if(e.trim().length!==e.length)l="extra whitespace";else A=Number(e)}if(A===undefined)break;if(t==i.ScalarType.UINT32)a.assertUInt32(A);else a.assertInt32(A);return A;case i.ScalarType.INT64:case i.ScalarType.SFIXED64:case i.ScalarType.SINT64:if(e===null)return c.reflectionLongConvert(o.PbLong.ZERO,r);if(typeof e!="number"&&typeof e!="string")break;return c.reflectionLongConvert(o.PbLong.from(e),r);case i.ScalarType.FIXED64:case i.ScalarType.UINT64:if(e===null)return c.reflectionLongConvert(o.PbULong.ZERO,r);if(typeof e!="number"&&typeof e!="string")break;return c.reflectionLongConvert(o.PbULong.from(e),r);case i.ScalarType.BOOL:if(e===null)return false;if(typeof e!=="boolean")break;return e;case i.ScalarType.STRING:if(e===null)return"";if(typeof e!=="string"){l="extra whitespace";break}try{encodeURIComponent(e)}catch(l){l="invalid UTF8";break}return e;case i.ScalarType.BYTES:if(e===null||e==="")return new Uint8Array(0);if(typeof e!=="string")break;return s.base64decode(e)}}catch(e){l=e.message}this.assert(false,n+(l?" - "+l:""),e)}}t.ReflectionJsonReader=ReflectionJsonReader},1094:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:true});t.ReflectionJsonWriter=void 0;const n=r(6335);const s=r(1753);const i=r(7910);const o=r(8602);class ReflectionJsonWriter{constructor(e){var t;this.fields=(t=e.fields)!==null&&t!==void 0?t:[]}write(e,t){const r={},n=e;for(const e of this.fields){if(!e.oneof){let s=this.field(e,n[e.localName],t);if(s!==undefined)r[t.useProtoFieldName?e.name:e.jsonName]=s;continue}const s=n[e.oneof];if(s.oneofKind!==e.localName)continue;const i=e.kind=="scalar"||e.kind=="enum"?Object.assign(Object.assign({},t),{emitDefaultValues:true}):t;let a=this.field(e,s[e.localName],i);o.assert(a!==undefined);r[t.useProtoFieldName?e.name:e.jsonName]=a}return r}field(e,t,r){let n=undefined;if(e.kind=="map"){o.assert(typeof t=="object"&&t!==null);const s={};switch(e.V.kind){case"scalar":for(const[r,n]of Object.entries(t)){const t=this.scalar(e.V.T,n,e.name,false,true);o.assert(t!==undefined);s[r.toString()]=t}break;case"message":const n=e.V.T();for(const[i,a]of Object.entries(t)){const t=this.message(n,a,e.name,r);o.assert(t!==undefined);s[i.toString()]=t}break;case"enum":const i=e.V.T();for(const[n,a]of Object.entries(t)){o.assert(a===undefined||typeof a=="number");const t=this.enum(i,a,e.name,false,true,r.enumAsInteger);o.assert(t!==undefined);s[n.toString()]=t}break}if(r.emitDefaultValues||Object.keys(s).length>0)n=s}else if(e.repeat){o.assert(Array.isArray(t));const s=[];switch(e.kind){case"scalar":for(let r=0;r<t.length;r++){const n=this.scalar(e.T,t[r],e.name,e.opt,true);o.assert(n!==undefined);s.push(n)}break;case"enum":const n=e.T();for(let i=0;i<t.length;i++){o.assert(t[i]===undefined||typeof t[i]=="number");const a=this.enum(n,t[i],e.name,e.opt,true,r.enumAsInteger);o.assert(a!==undefined);s.push(a)}break;case"message":const i=e.T();for(let n=0;n<t.length;n++){const a=this.message(i,t[n],e.name,r);o.assert(a!==undefined);s.push(a)}break}if(r.emitDefaultValues||s.length>0||r.emitDefaultValues)n=s}else{switch(e.kind){case"scalar":n=this.scalar(e.T,t,e.name,e.opt,r.emitDefaultValues);break;case"enum":n=this.enum(e.T(),t,e.name,e.opt,r.emitDefaultValues,r.enumAsInteger);break;case"message":n=this.message(e.T(),t,e.name,r);break}}return n}enum(e,t,r,n,s,i){if(e[0]=="google.protobuf.NullValue")return!s&&!n?undefined:null;if(t===undefined){o.assert(n);return undefined}if(t===0&&!s&&!n)return undefined;o.assert(typeof t=="number");o.assert(Number.isInteger(t));if(i||!e[1].hasOwnProperty(t))return t;if(e[2])return e[2]+e[1][t];return e[1][t]}message(e,t,r,n){if(t===undefined)return n.emitDefaultValues?null:undefined;return e.internalJsonWrite(t,n)}scalar(e,t,r,a,c){if(t===undefined){o.assert(a);return undefined}const l=c||a;switch(e){case i.ScalarType.INT32:case i.ScalarType.SFIXED32:case i.ScalarType.SINT32:if(t===0)return l?0:undefined;o.assertInt32(t);return t;case i.ScalarType.FIXED32:case i.ScalarType.UINT32:if(t===0)return l?0:undefined;o.assertUInt32(t);return t;case i.ScalarType.FLOAT:o.assertFloat32(t);case i.ScalarType.DOUBLE:if(t===0)return l?0:undefined;o.assert(typeof t=="number");if(Number.isNaN(t))return"NaN";if(t===Number.POSITIVE_INFINITY)return"Infinity";if(t===Number.NEGATIVE_INFINITY)return"-Infinity";return t;case i.ScalarType.STRING:if(t==="")return l?"":undefined;o.assert(typeof t=="string");return t;case i.ScalarType.BOOL:if(t===false)return l?false:undefined;o.assert(typeof t=="boolean");return t;case i.ScalarType.UINT64:case i.ScalarType.FIXED64:o.assert(typeof t=="number"||typeof t=="string"||typeof t=="bigint");let e=s.PbULong.from(t);if(e.isZero()&&!l)return undefined;return e.toString();case i.ScalarType.INT64:case i.ScalarType.SFIXED64:case i.ScalarType.SINT64:o.assert(typeof t=="number"||typeof t=="string"||typeof t=="bigint");let r=s.PbLong.from(t);if(r.isZero()&&!l)return undefined;return r.toString();case i.ScalarType.BYTES:o.assert(t instanceof Uint8Array);if(!t.byteLength)return l?"":undefined;return n.base64encode(t)}}}t.ReflectionJsonWriter=ReflectionJsonWriter},3402:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:true});t.reflectionLongConvert=void 0;const n=r(7910);function reflectionLongConvert(e,t){switch(t){case n.LongType.BIGINT:return e.toBigInt();case n.LongType.NUMBER:return e.toNumber();default:return e.toString()}}t.reflectionLongConvert=reflectionLongConvert},8044:(e,t)=>{Object.defineProperty(t,"__esModule",{value:true});t.reflectionMergePartial=void 0;function reflectionMergePartial(e,t,r){let n,s=r,i;for(let r of e.fields){let e=r.localName;if(r.oneof){const o=s[r.oneof];if((o===null||o===void 0?void 0:o.oneofKind)==undefined){continue}n=o[e];i=t[r.oneof];i.oneofKind=o.oneofKind;if(n==undefined){delete i[e];continue}}else{n=s[e];i=t;if(n==undefined){continue}}if(r.repeat)i[e].length=n.length;switch(r.kind){case"scalar":case"enum":if(r.repeat)for(let t=0;t<n.length;t++)i[e][t]=n[t];else i[e]=n;break;case"message":let t=r.T();if(r.repeat)for(let r=0;r<n.length;r++)i[e][r]=t.create(n[r]);else if(i[e]===undefined)i[e]=t.create(n);else t.mergePartial(i[e],n);break;case"map":switch(r.V.kind){case"scalar":case"enum":Object.assign(i[e],n);break;case"message":let t=r.V.T();for(let r of Object.keys(n))i[e][r]=t.create(n[r]);break}break}}}t.reflectionMergePartial=reflectionMergePartial},7145:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:true});t.reflectionScalarDefault=void 0;const n=r(7910);const s=r(3402);const i=r(1753);function reflectionScalarDefault(e,t=n.LongType.STRING){switch(e){case n.ScalarType.BOOL:return false;case n.ScalarType.UINT64:case n.ScalarType.FIXED64:return s.reflectionLongConvert(i.PbULong.ZERO,t);case n.ScalarType.INT64:case n.ScalarType.SFIXED64:case n.ScalarType.SINT64:return s.reflectionLongConvert(i.PbLong.ZERO,t);case n.ScalarType.DOUBLE:case n.ScalarType.FLOAT:return 0;case n.ScalarType.BYTES:return new Uint8Array(0);case n.ScalarType.STRING:return"";default:return 0}}t.reflectionScalarDefault=reflectionScalarDefault},5167:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:true});t.ReflectionTypeCheck=void 0;const n=r(7910);const s=r(8063);class ReflectionTypeCheck{constructor(e){var t;this.fields=(t=e.fields)!==null&&t!==void 0?t:[]}prepare(){if(this.data)return;const e=[],t=[],r=[];for(let n of this.fields){if(n.oneof){if(!r.includes(n.oneof)){r.push(n.oneof);e.push(n.oneof);t.push(n.oneof)}}else{t.push(n.localName);switch(n.kind){case"scalar":case"enum":if(!n.opt||n.repeat)e.push(n.localName);break;case"message":if(n.repeat)e.push(n.localName);break;case"map":e.push(n.localName);break}}}this.data={req:e,known:t,oneofs:Object.values(r)}}is(e,t,r=false){if(t<0)return true;if(e===null||e===undefined||typeof e!="object")return false;this.prepare();let n=Object.keys(e),i=this.data;if(n.length<i.req.length||i.req.some((e=>!n.includes(e))))return false;if(!r){if(n.some((e=>!i.known.includes(e))))return false}if(t<1){return true}for(const n of i.oneofs){const i=e[n];if(!s.isOneofGroup(i))return false;if(i.oneofKind===undefined)continue;const o=this.fields.find((e=>e.localName===i.oneofKind));if(!o)return false;if(!this.field(i[i.oneofKind],o,r,t))return false}for(const n of this.fields){if(n.oneof!==undefined)continue;if(!this.field(e[n.localName],n,r,t))return false}return true}field(e,t,r,s){let i=t.repeat;switch(t.kind){case"scalar":if(e===undefined)return t.opt;if(i)return this.scalars(e,t.T,s,t.L);return this.scalar(e,t.T,t.L);case"enum":if(e===undefined)return t.opt;if(i)return this.scalars(e,n.ScalarType.INT32,s);return this.scalar(e,n.ScalarType.INT32);case"message":if(e===undefined)return true;if(i)return this.messages(e,t.T(),r,s);return this.message(e,t.T(),r,s);case"map":if(typeof e!="object"||e===null)return false;if(s<2)return true;if(!this.mapKeys(e,t.K,s))return false;switch(t.V.kind){case"scalar":return this.scalars(Object.values(e),t.V.T,s,t.V.L);case"enum":return this.scalars(Object.values(e),n.ScalarType.INT32,s);case"message":return this.messages(Object.values(e),t.V.T(),r,s)}break}return true}message(e,t,r,n){if(r){return t.isAssignable(e,n)}return t.is(e,n)}messages(e,t,r,n){if(!Array.isArray(e))return false;if(n<2)return true;if(r){for(let r=0;r<e.length&&r<n;r++)if(!t.isAssignable(e[r],n-1))return false}else{for(let r=0;r<e.length&&r<n;r++)if(!t.is(e[r],n-1))return false}return true}scalar(e,t,r){let s=typeof e;switch(t){case n.ScalarType.UINT64:case n.ScalarType.FIXED64:case n.ScalarType.INT64:case n.ScalarType.SFIXED64:case n.ScalarType.SINT64:switch(r){case n.LongType.BIGINT:return s=="bigint";case n.LongType.NUMBER:return s=="number"&&!isNaN(e);default:return s=="string"}case n.ScalarType.BOOL:return s=="boolean";case n.ScalarType.STRING:return s=="string";case n.ScalarType.BYTES:return e instanceof Uint8Array;case n.ScalarType.DOUBLE:case n.ScalarType.FLOAT:return s=="number"&&!isNaN(e);default:return s=="number"&&Number.isInteger(e)}}scalars(e,t,r,n){if(!Array.isArray(e))return false;if(r<2)return true;if(Array.isArray(e))for(let s=0;s<e.length&&s<r;s++)if(!this.scalar(e[s],t,n))return false;return true}mapKeys(e,t,r){let s=Object.keys(e);switch(t){case n.ScalarType.INT32:case n.ScalarType.FIXED32:case n.ScalarType.SFIXED32:case n.ScalarType.SINT32:case n.ScalarType.UINT32:return this.scalars(s.slice(0,r).map((e=>parseInt(e))),t,r);case n.ScalarType.BOOL:return this.scalars(s.slice(0,r).map((e=>e=="true"?true:e=="false"?false:e)),t,r);default:return this.scalars(s,t,r,n.LongType.STRING)}}}t.ReflectionTypeCheck=ReflectionTypeCheck},5183:function(e,t,r){var n=this&&this.__createBinding||(Object.create?function(e,t,r,n){if(n===undefined)n=r;var s=Object.getOwnPropertyDescriptor(t,r);if(!s||("get"in s?!t.__esModule:s.writable||s.configurable)){s={enumerable:true,get:function(){return t[r]}}}Object.defineProperty(e,n,s)}:function(e,t,r,n){if(n===undefined)n=r;e[n]=t[r]});var s=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:true,value:t})}:function(e,t){e["default"]=t});var i=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(e!=null)for(var r in e)if(r!=="default"&&Object.prototype.hasOwnProperty.call(e,r))n(t,e,r);s(t,e);return t};Object.defineProperty(t,"__esModule",{value:true});t.req=t.json=t.toBuffer=void 0;const o=i(r(8611));const a=i(r(5692));async function toBuffer(e){let t=0;const r=[];for await(const n of e){t+=n.length;r.push(n)}return Buffer.concat(r,t)}t.toBuffer=toBuffer;async function json(e){const t=await toBuffer(e);const r=t.toString("utf8");try{return JSON.parse(r)}catch(e){const t=e;t.message+=` (input: ${r})`;throw t}}t.json=json;function req(e,t={}){const r=typeof e==="string"?e:e.href;const n=(r.startsWith("https:")?a:o).request(e,t);const s=new Promise(((e,t)=>{n.once("response",e).once("error",t).end()}));n.then=s.then.bind(s);return n}t.req=req},8894:function(e,t,r){var n=this&&this.__createBinding||(Object.create?function(e,t,r,n){if(n===undefined)n=r;var s=Object.getOwnPropertyDescriptor(t,r);if(!s||("get"in s?!t.__esModule:s.writable||s.configurable)){s={enumerable:true,get:function(){return t[r]}}}Object.defineProperty(e,n,s)}:function(e,t,r,n){if(n===undefined)n=r;e[n]=t[r]});var s=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:true,value:t})}:function(e,t){e["default"]=t});var i=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(e!=null)for(var r in e)if(r!=="default"&&Object.prototype.hasOwnProperty.call(e,r))n(t,e,r);s(t,e);return t};var o=this&&this.__exportStar||function(e,t){for(var r in e)if(r!=="default"&&!Object.prototype.hasOwnProperty.call(t,r))n(t,e,r)};Object.defineProperty(t,"__esModule",{value:true});t.Agent=void 0;const a=i(r(9278));const c=i(r(8611));const l=r(5692);o(r(5183),t);const A=Symbol("AgentBaseInternalState");class Agent extends c.Agent{constructor(e){super(e);this[A]={}}isSecureEndpoint(e){if(e){if(typeof e.secureEndpoint==="boolean"){return e.secureEndpoint}if(typeof e.protocol==="string"){return e.protocol==="https:"}}const{stack:t}=new Error;if(typeof t!=="string")return false;return t.split("\n").some((e=>e.indexOf("(https.js:")!==-1||e.indexOf("node:https:")!==-1))}incrementSockets(e){if(this.maxSockets===Infinity&&this.maxTotalSockets===Infinity){return null}if(!this.sockets[e]){this.sockets[e]=[]}const t=new a.Socket({writable:false});this.sockets[e].push(t);this.totalSocketCount++;return t}decrementSockets(e,t){if(!this.sockets[e]||t===null){return}const r=this.sockets[e];const n=r.indexOf(t);if(n!==-1){r.splice(n,1);this.totalSocketCount--;if(r.length===0){delete this.sockets[e]}}}getName(e){const t=this.isSecureEndpoint(e);if(t){return l.Agent.prototype.getName.call(this,e)}return super.getName(e)}createSocket(e,t,r){const n={...t,secureEndpoint:this.isSecureEndpoint(t)};const s=this.getName(n);const i=this.incrementSockets(s);Promise.resolve().then((()=>this.connect(e,n))).then((o=>{this.decrementSockets(s,i);if(o instanceof c.Agent){try{return o.addRequest(e,n)}catch(e){return r(e)}}this[A].currentSocket=o;super.createSocket(e,t,r)}),(e=>{this.decrementSockets(s,i);r(e)}))}createConnection(){const e=this[A].currentSocket;this[A].currentSocket=undefined;if(!e){throw new Error("No socket was returned in the `connect()` function")}return e}get defaultPort(){return this[A].defaultPort??(this.protocol==="https:"?443:80)}set defaultPort(e){if(this[A]){this[A].defaultPort=e}}get protocol(){return this[A].protocol??(this.isSecureEndpoint()?"https:":"http:")}set protocol(e){if(this[A]){this[A].protocol=e}}}t.Agent=Agent},9380:e=>{e.exports=balanced;function balanced(e,t,r){if(e instanceof RegExp)e=maybeMatch(e,r);if(t instanceof RegExp)t=maybeMatch(t,r);var n=range(e,t,r);return n&&{start:n[0],end:n[1],pre:r.slice(0,n[0]),body:r.slice(n[0]+e.length,n[1]),post:r.slice(n[1]+t.length)}}function maybeMatch(e,t){var r=t.match(e);return r?r[0]:null}balanced.range=range;function range(e,t,r){var n,s,i,o,a;var c=r.indexOf(e);var l=r.indexOf(t,c+1);var A=c;if(c>=0&&l>0){if(e===t){return[c,l]}n=[];i=r.length;while(A>=0&&!a){if(A==c){n.push(A);c=r.indexOf(e,A+1)}else if(n.length==1){a=[n.pop(),l]}else{s=n.pop();if(s<i){i=s;o=l}l=r.indexOf(t,A+1)}A=c<l&&c>=0?c:l}if(n.length){a=[i,o]}}return a}},7087:e=>{e.exports=function(e,r){var n=[];for(var s=0;s<e.length;s++){var i=r(e[s],s);if(t(i))n.push.apply(n,i);else n.push(i)}return n};var t=Array.isArray||function(e){return Object.prototype.toString.call(e)==="[object Array]"}},6110:(e,t,r)=>{t.formatArgs=formatArgs;t.save=save;t.load=load;t.useColors=useColors;t.storage=localstorage();t.destroy=(()=>{let e=false;return()=>{if(!e){e=true;console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`.")}}})();t.colors=["#0000CC","#0000FF","#0033CC","#0033FF","#0066CC","#0066FF","#0099CC","#0099FF","#00CC00","#00CC33","#00CC66","#00CC99","#00CCCC","#00CCFF","#3300CC","#3300FF","#3333CC","#3333FF","#3366CC","#3366FF","#3399CC","#3399FF","#33CC00","#33CC33","#33CC66","#33CC99","#33CCCC","#33CCFF","#6600CC","#6600FF","#6633CC","#6633FF","#66CC00","#66CC33","#9900CC","#9900FF","#9933CC","#9933FF","#99CC00","#99CC33","#CC0000","#CC0033","#CC0066","#CC0099","#CC00CC","#CC00FF","#CC3300","#CC3333","#CC3366","#CC3399","#CC33CC","#CC33FF","#CC6600","#CC6633","#CC9900","#CC9933","#CCCC00","#CCCC33","#FF0000","#FF0033","#FF0066","#FF0099","#FF00CC","#FF00FF","#FF3300","#FF3333","#FF3366","#FF3399","#FF33CC","#FF33FF","#FF6600","#FF6633","#FF9900","#FF9933","#FFCC00","#FFCC33"];function useColors(){if(typeof window!=="undefined"&&window.process&&(window.process.type==="renderer"||window.process.__nwjs)){return true}if(typeof navigator!=="undefined"&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/(edge|trident)\/(\d+)/)){return false}let e;return typeof document!=="undefined"&&document.documentElement&&document.documentElement.style&&document.documentElement.style.WebkitAppearance||typeof window!=="undefined"&&window.console&&(window.console.firebug||window.console.exception&&window.console.table)||typeof navigator!=="undefined"&&navigator.userAgent&&(e=navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/))&&parseInt(e[1],10)>=31||typeof navigator!=="undefined"&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/)}function formatArgs(t){t[0]=(this.useColors?"%c":"")+this.namespace+(this.useColors?" %c":" ")+t[0]+(this.useColors?"%c ":" ")+"+"+e.exports.humanize(this.diff);if(!this.useColors){return}const r="color: "+this.color;t.splice(1,0,r,"color: inherit");let n=0;let s=0;t[0].replace(/%[a-zA-Z%]/g,(e=>{if(e==="%%"){return}n++;if(e==="%c"){s=n}}));t.splice(s,0,r)}t.log=console.debug||console.log||(()=>{});function save(e){try{if(e){t.storage.setItem("debug",e)}else{t.storage.removeItem("debug")}}catch(e){}}function load(){let e;try{e=t.storage.getItem("debug")||t.storage.getItem("DEBUG")}catch(e){}if(!e&&typeof process!=="undefined"&&"env"in process){e=process.env.DEBUG}return e}function localstorage(){try{return localStorage}catch(e){}}e.exports=r(897)(t);const{formatters:n}=e.exports;n.j=function(e){try{return JSON.stringify(e)}catch(e){return"[UnexpectedJSONParseError]: "+e.message}}},897:(e,t,r)=>{function setup(e){createDebug.debug=createDebug;createDebug.default=createDebug;createDebug.coerce=coerce;createDebug.disable=disable;createDebug.enable=enable;createDebug.enabled=enabled;createDebug.humanize=r(744);createDebug.destroy=destroy;Object.keys(e).forEach((t=>{createDebug[t]=e[t]}));createDebug.names=[];createDebug.skips=[];createDebug.formatters={};function selectColor(e){let t=0;for(let r=0;r<e.length;r++){t=(t<<5)-t+e.charCodeAt(r);t|=0}return createDebug.colors[Math.abs(t)%createDebug.colors.length]}createDebug.selectColor=selectColor;function createDebug(e){let t;let r=null;let n;let s;function debug(...e){if(!debug.enabled){return}const r=debug;const n=Number(new Date);const s=n-(t||n);r.diff=s;r.prev=t;r.curr=n;t=n;e[0]=createDebug.coerce(e[0]);if(typeof e[0]!=="string"){e.unshift("%O")}let i=0;e[0]=e[0].replace(/%([a-zA-Z%])/g,((t,n)=>{if(t==="%%"){return"%"}i++;const s=createDebug.formatters[n];if(typeof s==="function"){const n=e[i];t=s.call(r,n);e.splice(i,1);i--}return t}));createDebug.formatArgs.call(r,e);const o=r.log||createDebug.log;o.apply(r,e)}debug.namespace=e;debug.useColors=createDebug.useColors();debug.color=createDebug.selectColor(e);debug.extend=extend;debug.destroy=createDebug.destroy;Object.defineProperty(debug,"enabled",{enumerable:true,configurable:false,get:()=>{if(r!==null){return r}if(n!==createDebug.namespaces){n=createDebug.namespaces;s=createDebug.enabled(e)}return s},set:e=>{r=e}});if(typeof createDebug.init==="function"){createDebug.init(debug)}return debug}function extend(e,t){const r=createDebug(this.namespace+(typeof t==="undefined"?":":t)+e);r.log=this.log;return r}function enable(e){createDebug.save(e);createDebug.namespaces=e;createDebug.names=[];createDebug.skips=[];const t=(typeof e==="string"?e:"").trim().replace(/\s+/g,",").split(",").filter(Boolean);for(const e of t){if(e[0]==="-"){createDebug.skips.push(e.slice(1))}else{createDebug.names.push(e)}}}function matchesTemplate(e,t){let r=0;let n=0;let s=-1;let i=0;while(r<e.length){if(n<t.length&&(t[n]===e[r]||t[n]==="*")){if(t[n]==="*"){s=n;i=r;n++}else{r++;n++}}else if(s!==-1){n=s+1;i++;r=i}else{return false}}while(n<t.length&&t[n]==="*"){n++}return n===t.length}function disable(){const e=[...createDebug.names,...createDebug.skips.map((e=>"-"+e))].join(",");createDebug.enable("");return e}function enabled(e){for(const t of createDebug.skips){if(matchesTemplate(e,t)){return false}}for(const t of createDebug.names){if(matchesTemplate(e,t)){return true}}return false}function coerce(e){if(e instanceof Error){return e.stack||e.message}return e}function destroy(){console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`.")}createDebug.enable(createDebug.load());return createDebug}e.exports=setup},2830:(e,t,r)=>{if(typeof process==="undefined"||process.type==="renderer"||process.browser===true||process.__nwjs){e.exports=r(6110)}else{e.exports=r(5108)}},5108:(e,t,r)=>{const n=r(2018);const s=r(9023);t.init=init;t.log=log;t.formatArgs=formatArgs;t.save=save;t.load=load;t.useColors=useColors;t.destroy=s.deprecate((()=>{}),"Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`.");t.colors=[6,2,3,4,5,1];try{const e=r(1450);if(e&&(e.stderr||e).level>=2){t.colors=[20,21,26,27,32,33,38,39,40,41,42,43,44,45,56,57,62,63,68,69,74,75,76,77,78,79,80,81,92,93,98,99,112,113,128,129,134,135,148,149,160,161,162,163,164,165,166,167,168,169,170,171,172,173,178,179,184,185,196,197,198,199,200,201,202,203,204,205,206,207,208,209,214,215,220,221]}}catch(e){}t.inspectOpts=Object.keys(process.env).filter((e=>/^debug_/i.test(e))).reduce(((e,t)=>{const r=t.substring(6).toLowerCase().replace(/_([a-z])/g,((e,t)=>t.toUpperCase()));let n=process.env[t];if(/^(yes|on|true|enabled)$/i.test(n)){n=true}else if(/^(no|off|false|disabled)$/i.test(n)){n=false}else if(n==="null"){n=null}else{n=Number(n)}e[r]=n;return e}),{});function useColors(){return"colors"in t.inspectOpts?Boolean(t.inspectOpts.colors):n.isatty(process.stderr.fd)}function formatArgs(t){const{namespace:r,useColors:n}=this;if(n){const n=this.color;const s="[3"+(n<8?n:"8;5;"+n);const i=` ${s};1m${r} [0m`;t[0]=i+t[0].split("\n").join("\n"+i);t.push(s+"m+"+e.exports.humanize(this.diff)+"[0m")}else{t[0]=getDate()+r+" "+t[0]}}function getDate(){if(t.inspectOpts.hideDate){return""}return(new Date).toISOString()+" "}function log(...e){return process.stderr.write(s.formatWithOptions(t.inspectOpts,...e)+"\n")}function save(e){if(e){process.env.DEBUG=e}else{delete process.env.DEBUG}}function load(){return process.env.DEBUG}function init(e){e.inspectOpts={};const r=Object.keys(t.inspectOpts);for(let n=0;n<r.length;n++){e.inspectOpts[r[n]]=t.inspectOpts[r[n]]}}e.exports=r(897)(t);const{formatters:i}=e.exports;i.o=function(e){this.inspectOpts.colors=this.useColors;return s.inspect(e,this.inspectOpts).split("\n").map((e=>e.trim())).join(" ")};i.O=function(e){this.inspectOpts.colors=this.useColors;return s.inspect(e,this.inspectOpts)}},872:e=>{e.exports=()=>/[#*0-9]\uFE0F?\u20E3|[\xA9\xAE\u203C\u2049\u2122\u2139\u2194-\u2199\u21A9\u21AA\u231A\u231B\u2328\u23CF\u23ED-\u23EF\u23F1\u23F2\u23F8-\u23FA\u24C2\u25AA\u25AB\u25B6\u25C0\u25FB\u25FC\u25FE\u2600-\u2604\u260E\u2611\u2614\u2615\u2618\u2620\u2622\u2623\u2626\u262A\u262E\u262F\u2638-\u263A\u2640\u2642\u2648-\u2653\u265F\u2660\u2663\u2665\u2666\u2668\u267B\u267E\u267F\u2692\u2694-\u2697\u2699\u269B\u269C\u26A0\u26A7\u26AA\u26B0\u26B1\u26BD\u26BE\u26C4\u26C8\u26CF\u26D1\u26E9\u26F0-\u26F5\u26F7\u26F8\u26FA\u2702\u2708\u2709\u270F\u2712\u2714\u2716\u271D\u2721\u2733\u2734\u2744\u2747\u2757\u2763\u27A1\u2934\u2935\u2B05-\u2B07\u2B1B\u2B1C\u2B55\u3030\u303D\u3297\u3299]\uFE0F?|[\u261D\u270C\u270D](?:\uD83C[\uDFFB-\uDFFF]|\uFE0F)?|[\u270A\u270B](?:\uD83C[\uDFFB-\uDFFF])?|[\u23E9-\u23EC\u23F0\u23F3\u25FD\u2693\u26A1\u26AB\u26C5\u26CE\u26D4\u26EA\u26FD\u2705\u2728\u274C\u274E\u2753-\u2755\u2795-\u2797\u27B0\u27BF\u2B50]|\u26D3\uFE0F?(?:\u200D\uD83D\uDCA5)?|\u26F9(?:\uD83C[\uDFFB-\uDFFF]|\uFE0F)?(?:\u200D[\u2640\u2642]\uFE0F?)?|\u2764\uFE0F?(?:\u200D(?:\uD83D\uDD25|\uD83E\uDE79))?|\uD83C(?:[\uDC04\uDD70\uDD71\uDD7E\uDD7F\uDE02\uDE37\uDF21\uDF24-\uDF2C\uDF36\uDF7D\uDF96\uDF97\uDF99-\uDF9B\uDF9E\uDF9F\uDFCD\uDF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-\uDEBF\uDEC1-\uDEC5\uDED0-\uDED2\uDED5-\uDED8\uDEDC-\uDEDF\uDEEB\uDEEC\uDEF4-\uDEFC\uDFE0-\uDFEB\uDFF0]|\uDC08(?:\u200D\u2B1B)?|\uDC15(?:\u200D\uD83E\uDDBA)?|\uDC26(?:\u200D(?:\u2B1B|\uD83D\uDD25))?|\uDC3B(?:\u200D\u2744\uFE0F?)?|\uDC41\uFE0F?(?:\u200D\uD83D\uDDE8\uFE0F?)?|\uDC68(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDC68\uDC69]\u200D\uD83D(?:\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?)|[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?)|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]))|\uD83C(?:\uDFFB(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83D\uDC68\uD83C[\uDFFC-\uDFFF])|\uD83E(?:[\uDD1D\uDEEF]\u200D\uD83D\uDC68\uD83C[\uDFFC-\uDFFF]|[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3])))?|\uDFFC(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83D\uDC68\uD83C[\uDFFB\uDFFD-\uDFFF])|\uD83E(?:[\uDD1D\uDEEF]\u200D\uD83D\uDC68\uD83C[\uDFFB\uDFFD-\uDFFF]|[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3])))?|\uDFFD(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83D\uDC68\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])|\uD83E(?:[\uDD1D\uDEEF]\u200D\uD83D\uDC68\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF]|[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3])))?|\uDFFE(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83D\uDC68\uD83C[\uDFFB-\uDFFD\uDFFF])|\uD83E(?:[\uDD1D\uDEEF]\u200D\uD83D\uDC68\uD83C[\uDFFB-\uDFFD\uDFFF]|[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3])))?|\uDFFF(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83D\uDC68\uD83C[\uDFFB-\uDFFE])|\uD83E(?:[\uDD1D\uDEEF]\u200D\uD83D\uDC68\uD83C[\uDFFB-\uDFFE]|[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3])))?))?|\uDC69(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?[\uDC68\uDC69]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?|\uDC69\u200D\uD83D(?:\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?))|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]))|\uD83C(?:\uDFFB(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83D\uDC69\uD83C[\uDFFC-\uDFFF])|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFC-\uDFFF]|\uDEEF\u200D\uD83D\uDC69\uD83C[\uDFFC-\uDFFF])))?|\uDFFC(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83D\uDC69\uD83C[\uDFFB\uDFFD-\uDFFF])|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB\uDFFD-\uDFFF]|\uDEEF\u200D\uD83D\uDC69\uD83C[\uDFFB\uDFFD-\uDFFF])))?|\uDFFD(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83D\uDC69\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF]|\uDEEF\u200D\uD83D\uDC69\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])))?|\uDFFE(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83D\uDC69\uD83C[\uDFFB-\uDFFD\uDFFF])|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB-\uDFFD\uDFFF]|\uDEEF\u200D\uD83D\uDC69\uD83C[\uDFFB-\uDFFD\uDFFF])))?|\uDFFF(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83D\uDC69\uD83C[\uDFFB-\uDFFE])|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB-\uDFFE]|\uDEEF\u200D\uD83D\uDC69\uD83C[\uDFFB-\uDFFE])))?))?|\uDD75(?:\uD83C[\uDFFB-\uDFFF]|\uFE0F)?(?:\u200D[\u2640\u2642]\uFE0F?)?|\uDE2E(?:\u200D\uD83D\uDCA8)?|\uDE35(?:\u200D\uD83D\uDCAB)?|\uDE36(?:\u200D\uD83C\uDF2B\uFE0F?)?|\uDE42(?:\u200D[\u2194\u2195]\uFE0F?)?|\uDEB6(?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D(?:[\u2640\u2642]\uFE0F?(?:\u200D\u27A1\uFE0F?)?|\u27A1\uFE0F?))?)|\uD83E(?:[\uDD0C\uDD0F\uDD18-\uDD1F\uDD30-\uDD34\uDD36\uDD77\uDDB5\uDDB6\uDDBB\uDDD2\uDDD3\uDDD5\uDEC3-\uDEC5\uDEF0\uDEF2-\uDEF8](?:\uD83C[\uDFFB-\uDFFF])?|[\uDD26\uDD35\uDD37-\uDD39\uDD3C-\uDD3E\uDDB8\uDDB9\uDDCD\uDDCF\uDDD4\uDDD6-\uDDDD](?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDDDE\uDDDF](?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDD0D\uDD0E\uDD10-\uDD17\uDD20-\uDD25\uDD27-\uDD2F\uDD3A\uDD3F-\uDD45\uDD47-\uDD76\uDD78-\uDDB4\uDDB7\uDDBA\uDDBC-\uDDCC\uDDD0\uDDE0-\uDDFF\uDE70-\uDE7C\uDE80-\uDE8A\uDE8E-\uDEC2\uDEC6\uDEC8\uDECD-\uDEDC\uDEDF-\uDEEA\uDEEF]|\uDDCE(?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D(?:[\u2640\u2642]\uFE0F?(?:\u200D\u27A1\uFE0F?)?|\u27A1\uFE0F?))?|\uDDD1(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3\uDE70]|\uDD1D\u200D\uD83E\uDDD1|\uDDD1\u200D\uD83E\uDDD2(?:\u200D\uD83E\uDDD2)?|\uDDD2(?:\u200D\uD83E\uDDD2)?))|\uD83C(?:\uDFFB(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFC-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83E\uDDD1\uD83C[\uDFFC-\uDFFF])|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3\uDE70]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF]|\uDEEF\u200D\uD83E\uDDD1\uD83C[\uDFFC-\uDFFF])))?|\uDFFC(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB\uDFFD-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83E\uDDD1\uD83C[\uDFFB\uDFFD-\uDFFF])|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3\uDE70]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF]|\uDEEF\u200D\uD83E\uDDD1\uD83C[\uDFFB\uDFFD-\uDFFF])))?|\uDFFD(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83E\uDDD1\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3\uDE70]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF]|\uDEEF\u200D\uD83E\uDDD1\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])))?|\uDFFE(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB-\uDFFD\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFD\uDFFF])|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3\uDE70]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF]|\uDEEF\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFD\uDFFF])))?|\uDFFF(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB-\uDFFE]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFE])|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3\uDE70]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF]|\uDEEF\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFE])))?))?|\uDEF1(?:\uD83C(?:\uDFFB(?:\u200D\uD83E\uDEF2\uD83C[\uDFFC-\uDFFF])?|\uDFFC(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB\uDFFD-\uDFFF])?|\uDFFD(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])?|\uDFFE(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB-\uDFFD\uDFFF])?|\uDFFF(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB-\uDFFE])?))?)/g},3869:e=>{e.exports=function getCallerFile(e){if(e===void 0){e=2}if(e>=Error.stackTraceLimit){throw new TypeError("getCallerFile(position) requires position be less then Error.stackTraceLimit but position was: `"+e+"` and Error.stackTraceLimit was: `"+Error.stackTraceLimit+"`")}var t=Error.prepareStackTrace;Error.prepareStackTrace=function(e,t){return t};var r=(new Error).stack;Error.prepareStackTrace=t;if(r!==null&&typeof r==="object"){return r[e]?r[e].getFileName():undefined}}},3813:e=>{e.exports=(e,t=process.argv)=>{const r=e.startsWith("-")?"":e.length===1?"-":"--";const n=t.indexOf(r+e);const s=t.indexOf("--");return n!==-1&&(s===-1||n<s)}},1970:function(e,t,r){var n=this&&this.__createBinding||(Object.create?function(e,t,r,n){if(n===undefined)n=r;var s=Object.getOwnPropertyDescriptor(t,r);if(!s||("get"in s?!t.__esModule:s.writable||s.configurable)){s={enumerable:true,get:function(){return t[r]}}}Object.defineProperty(e,n,s)}:function(e,t,r,n){if(n===undefined)n=r;e[n]=t[r]});var s=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:true,value:t})}:function(e,t){e["default"]=t});var i=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(e!=null)for(var r in e)if(r!=="default"&&Object.prototype.hasOwnProperty.call(e,r))n(t,e,r);s(t,e);return t};var o=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:true});t.HttpProxyAgent=void 0;const a=i(r(9278));const c=i(r(4756));const l=o(r(2830));const A=r(4434);const u=r(8894);const d=r(7016);const g=(0,l.default)("http-proxy-agent");class HttpProxyAgent extends u.Agent{constructor(e,t){super(t);this.proxy=typeof e==="string"?new d.URL(e):e;this.proxyHeaders=t?.headers??{};g("Creating new HttpProxyAgent instance: %o",this.proxy.href);const r=(this.proxy.hostname||this.proxy.host).replace(/^\[|\]$/g,"");const n=this.proxy.port?parseInt(this.proxy.port,10):this.proxy.protocol==="https:"?443:80;this.connectOpts={...t?omit(t,"headers"):null,host:r,port:n}}addRequest(e,t){e._header=null;this.setRequestProps(e,t);super.addRequest(e,t)}setRequestProps(e,t){const{proxy:r}=this;const n=t.secureEndpoint?"https:":"http:";const s=e.getHeader("host")||"localhost";const i=`${n}//${s}`;const o=new d.URL(e.path,i);if(t.port!==80){o.port=String(t.port)}e.path=String(o);const a=typeof this.proxyHeaders==="function"?this.proxyHeaders():{...this.proxyHeaders};if(r.username||r.password){const e=`${decodeURIComponent(r.username)}:${decodeURIComponent(r.password)}`;a["Proxy-Authorization"]=`Basic ${Buffer.from(e).toString("base64")}`}if(!a["Proxy-Connection"]){a["Proxy-Connection"]=this.keepAlive?"Keep-Alive":"close"}for(const t of Object.keys(a)){const r=a[t];if(r){e.setHeader(t,r)}}}async connect(e,t){e._header=null;if(!e.path.includes("://")){this.setRequestProps(e,t)}let r;let n;g("Regenerating stored HTTP header string for request");e._implicitHeader();if(e.outputData&&e.outputData.length>0){g("Patching connection write() output buffer with updated header");r=e.outputData[0].data;n=r.indexOf("\r\n\r\n")+4;e.outputData[0].data=e._header+r.substring(n);g("Output buffer: %o",e.outputData[0].data)}let s;if(this.proxy.protocol==="https:"){g("Creating `tls.Socket`: %o",this.connectOpts);s=c.connect(this.connectOpts)}else{g("Creating `net.Socket`: %o",this.connectOpts);s=a.connect(this.connectOpts)}await(0,A.once)(s,"connect");return s}}HttpProxyAgent.protocols=["http","https"];t.HttpProxyAgent=HttpProxyAgent;function omit(e,...t){const r={};let n;for(n in e){if(!t.includes(n)){r[n]=e[n]}}return r}},3669:function(e,t,r){var n=this&&this.__createBinding||(Object.create?function(e,t,r,n){if(n===undefined)n=r;var s=Object.getOwnPropertyDescriptor(t,r);if(!s||("get"in s?!t.__esModule:s.writable||s.configurable)){s={enumerable:true,get:function(){return t[r]}}}Object.defineProperty(e,n,s)}:function(e,t,r,n){if(n===undefined)n=r;e[n]=t[r]});var s=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:true,value:t})}:function(e,t){e["default"]=t});var i=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(e!=null)for(var r in e)if(r!=="default"&&Object.prototype.hasOwnProperty.call(e,r))n(t,e,r);s(t,e);return t};var o=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:true});t.HttpsProxyAgent=void 0;const a=i(r(9278));const c=i(r(4756));const l=o(r(2613));const A=o(r(2830));const u=r(8894);const d=r(7016);const g=r(7943);const p=(0,A.default)("https-proxy-agent");const setServernameFromNonIpHost=e=>{if(e.servername===undefined&&e.host&&!a.isIP(e.host)){return{...e,servername:e.host}}return e};class HttpsProxyAgent extends u.Agent{constructor(e,t){super(t);this.options={path:undefined};this.proxy=typeof e==="string"?new d.URL(e):e;this.proxyHeaders=t?.headers??{};p("Creating new HttpsProxyAgent instance: %o",this.proxy.href);const r=(this.proxy.hostname||this.proxy.host).replace(/^\[|\]$/g,"");const n=this.proxy.port?parseInt(this.proxy.port,10):this.proxy.protocol==="https:"?443:80;this.connectOpts={ALPNProtocols:["http/1.1"],...t?omit(t,"headers"):null,host:r,port:n}}async connect(e,t){const{proxy:r}=this;if(!t.host){throw new TypeError('No "host" provided')}let n;if(r.protocol==="https:"){p("Creating `tls.Socket`: %o",this.connectOpts);n=c.connect(setServernameFromNonIpHost(this.connectOpts))}else{p("Creating `net.Socket`: %o",this.connectOpts);n=a.connect(this.connectOpts)}const s=typeof this.proxyHeaders==="function"?this.proxyHeaders():{...this.proxyHeaders};const i=a.isIPv6(t.host)?`[${t.host}]`:t.host;let o=`CONNECT ${i}:${t.port} HTTP/1.1\r\n`;if(r.username||r.password){const e=`${decodeURIComponent(r.username)}:${decodeURIComponent(r.password)}`;s["Proxy-Authorization"]=`Basic ${Buffer.from(e).toString("base64")}`}s.Host=`${i}:${t.port}`;if(!s["Proxy-Connection"]){s["Proxy-Connection"]=this.keepAlive?"Keep-Alive":"close"}for(const e of Object.keys(s)){o+=`${e}: ${s[e]}\r\n`}const A=(0,g.parseProxyResponse)(n);n.write(`${o}\r\n`);const{connect:u,buffered:d}=await A;e.emit("proxyConnect",u);this.emit("proxyConnect",u,e);if(u.statusCode===200){e.once("socket",resume);if(t.secureEndpoint){p("Upgrading socket connection to TLS");return c.connect({...omit(setServernameFromNonIpHost(t),"host","path","port"),socket:n})}return n}n.destroy();const h=new a.Socket({writable:false});h.readable=true;e.once("socket",(e=>{p("Replaying proxy buffer for failed request");(0,l.default)(e.listenerCount("data")>0);e.push(d);e.push(null)}));return h}}HttpsProxyAgent.protocols=["http","https"];t.HttpsProxyAgent=HttpsProxyAgent;function resume(e){e.resume()}function omit(e,...t){const r={};let n;for(n in e){if(!t.includes(n)){r[n]=e[n]}}return r}},7943:function(e,t,r){var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:true});t.parseProxyResponse=void 0;const s=n(r(2830));const i=(0,s.default)("https-proxy-agent:parse-proxy-response");function parseProxyResponse(e){return new Promise(((t,r)=>{let n=0;const s=[];function read(){const t=e.read();if(t)ondata(t);else e.once("readable",read)}function cleanup(){e.removeListener("end",onend);e.removeListener("error",onerror);e.removeListener("readable",read)}function onend(){cleanup();i("onend");r(new Error("Proxy connection ended before receiving CONNECT response"))}function onerror(e){cleanup();i("onerror %o",e);r(e)}function ondata(o){s.push(o);n+=o.length;const a=Buffer.concat(s,n);const c=a.indexOf("\r\n\r\n");if(c===-1){i("have not received end of HTTP headers yet...");read();return}const l=a.slice(0,c).toString("ascii").split("\r\n");const A=l.shift();if(!A){e.destroy();return r(new Error("No header received from proxy CONNECT response"))}const u=A.split(" ");const d=+u[1];const g=u.slice(2).join(" ");const p={};for(const t of l){if(!t)continue;const n=t.indexOf(":");if(n===-1){e.destroy();return r(new Error(`Invalid header from proxy CONNECT response: "${t}"`))}const s=t.slice(0,n).toLowerCase();const i=t.slice(n+1).trimStart();const o=p[s];if(typeof o==="string"){p[s]=[o,i]}else if(Array.isArray(o)){o.push(i)}else{p[s]=i}}i("got proxy server response: %o %o",A,p);cleanup();t({connect:{statusCode:d,statusText:g,headers:p},buffered:a})}e.on("error",onerror);e.on("end",onend);read()}))}t.parseProxyResponse=parseProxyResponse},744:e=>{var t=1e3;var r=t*60;var n=r*60;var s=n*24;var i=s*7;var o=s*365.25;e.exports=function(e,t){t=t||{};var r=typeof e;if(r==="string"&&e.length>0){return parse(e)}else if(r==="number"&&isFinite(e)){return t.long?fmtLong(e):fmtShort(e)}throw new Error("val is not a non-empty string or a valid number. val="+JSON.stringify(e))};function parse(e){e=String(e);if(e.length>100){return}var a=/^(-?(?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|weeks?|w|years?|yrs?|y)?$/i.exec(e);if(!a){return}var c=parseFloat(a[1]);var l=(a[2]||"ms").toLowerCase();switch(l){case"years":case"year":case"yrs":case"yr":case"y":return c*o;case"weeks":case"week":case"w":return c*i;case"days":case"day":case"d":return c*s;case"hours":case"hour":case"hrs":case"hr":case"h":return c*n;case"minutes":case"minute":case"mins":case"min":case"m":return c*r;case"seconds":case"second":case"secs":case"sec":case"s":return c*t;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return c;default:return undefined}}function fmtShort(e){var i=Math.abs(e);if(i>=s){return Math.round(e/s)+"d"}if(i>=n){return Math.round(e/n)+"h"}if(i>=r){return Math.round(e/r)+"m"}if(i>=t){return Math.round(e/t)+"s"}return e+"ms"}function fmtLong(e){var i=Math.abs(e);if(i>=s){return plural(e,i,s,"day")}if(i>=n){return plural(e,i,n,"hour")}if(i>=r){return plural(e,i,r,"minute")}if(i>=t){return plural(e,i,t,"second")}return e+" ms"}function plural(e,t,r,n){var s=t>=r*1.5;return Math.round(e/r)+" "+n+(s?"s":"")}},9379:(e,t,r)=>{const n=Symbol("SemVer ANY");class Comparator{static get ANY(){return n}constructor(e,t){t=s(t);if(e instanceof Comparator){if(e.loose===!!t.loose){return e}else{e=e.value}}e=e.trim().split(/\s+/).join(" ");c("comparator",e,t);this.options=t;this.loose=!!t.loose;this.parse(e);if(this.semver===n){this.value=""}else{this.value=this.operator+this.semver.version}c("comp",this)}parse(e){const t=this.options.loose?i[o.COMPARATORLOOSE]:i[o.COMPARATOR];const r=e.match(t);if(!r){throw new TypeError(`Invalid comparator: ${e}`)}this.operator=r[1]!==undefined?r[1]:"";if(this.operator==="="){this.operator=""}if(!r[2]){this.semver=n}else{this.semver=new l(r[2],this.options.loose)}}toString(){return this.value}test(e){c("Comparator.test",e,this.options.loose);if(this.semver===n||e===n){return true}if(typeof e==="string"){try{e=new l(e,this.options)}catch(e){return false}}return a(e,this.operator,this.semver,this.options)}intersects(e,t){if(!(e instanceof Comparator)){throw new TypeError("a Comparator is required")}if(this.operator===""){if(this.value===""){return true}return new A(e.value,t).test(this.value)}else if(e.operator===""){if(e.value===""){return true}return new A(this.value,t).test(e.semver)}t=s(t);if(t.includePrerelease&&(this.value==="<0.0.0-0"||e.value==="<0.0.0-0")){return false}if(!t.includePrerelease&&(this.value.startsWith("<0.0.0")||e.value.startsWith("<0.0.0"))){return false}if(this.operator.startsWith(">")&&e.operator.startsWith(">")){return true}if(this.operator.startsWith("<")&&e.operator.startsWith("<")){return true}if(this.semver.version===e.semver.version&&this.operator.includes("=")&&e.operator.includes("=")){return true}if(a(this.semver,"<",e.semver,t)&&this.operator.startsWith(">")&&e.operator.startsWith("<")){return true}if(a(this.semver,">",e.semver,t)&&this.operator.startsWith("<")&&e.operator.startsWith(">")){return true}return false}}e.exports=Comparator;const s=r(356);const{safeRe:i,t:o}=r(5471);const a=r(8646);const c=r(1159);const l=r(7163);const A=r(6782)},6782:(e,t,r)=>{const n=/\s+/g;class Range{constructor(e,t){t=o(t);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 a){this.raw=e.value;this.set=[[e]];this.formatted=undefined;return this}this.options=t;this.loose=!!t.loose;this.includePrerelease=!!t.includePrerelease;this.raw=e.trim().replace(n," ");this.set=this.raw.split("||").map((e=>this.parseRange(e.trim()))).filter((e=>e.length));if(!this.set.length){throw new TypeError(`Invalid SemVer Range: ${this.raw}`)}if(this.set.length>1){const e=this.set[0];this.set=this.set.filter((e=>!isNullSet(e[0])));if(this.set.length===0){this.set=[e]}else if(this.set.length>1){for(const e of this.set){if(e.length===1&&isAny(e[0])){this.set=[e];break}}}}this.formatted=undefined}get range(){if(this.formatted===undefined){this.formatted="";for(let e=0;e<this.set.length;e++){if(e>0){this.formatted+="||"}const t=this.set[e];for(let e=0;e<t.length;e++){if(e>0){this.formatted+=" "}this.formatted+=t[e].toString().trim()}}}return this.formatted}format(){return this.range}toString(){return this.range}parseRange(e){e=e.replace(C,"");const t=(this.options.includePrerelease&&m)|(this.options.loose&&f);const r=t+":"+e;const n=i.get(r);if(n){return n}const s=this.options.loose;const o=s?A[d.HYPHENRANGELOOSE]:A[d.HYPHENRANGE];e=e.replace(o,hyphenReplace(this.options.includePrerelease));c("hyphen replace",e);e=e.replace(A[d.COMPARATORTRIM],g);c("comparator trim",e);e=e.replace(A[d.TILDETRIM],p);c("tilde trim",e);e=e.replace(A[d.CARETTRIM],h);c("caret trim",e);let l=e.split(" ").map((e=>parseComparator(e,this.options))).join(" ").split(/\s+/).map((e=>replaceGTE0(e,this.options)));if(s){l=l.filter((e=>{c("loose invalid filter",e,this.options);return!!e.match(A[d.COMPARATORLOOSE])}))}c("range list",l);const u=new Map;const y=l.map((e=>new a(e,this.options)));for(const e of y){if(isNullSet(e)){return[e]}u.set(e.value,e)}if(u.size>1&&u.has("")){u.delete("")}const E=[...u.values()];i.set(r,E);return E}intersects(e,t){if(!(e instanceof Range)){throw new TypeError("a Range is required")}return this.set.some((r=>isSatisfiable(r,t)&&e.set.some((e=>isSatisfiable(e,t)&&r.every((r=>e.every((e=>r.intersects(e,t)))))))))}test(e){if(!e){return false}if(typeof e==="string"){try{e=new l(e,this.options)}catch(e){return false}}for(let t=0;t<this.set.length;t++){if(testSet(this.set[t],e,this.options)){return true}}return false}}e.exports=Range;const s=r(1383);const i=new s;const o=r(356);const a=r(9379);const c=r(1159);const l=r(7163);const{safeRe:A,src:u,t:d,comparatorTrimReplace:g,tildeTrimReplace:p,caretTrimReplace:h}=r(5471);const{FLAG_INCLUDE_PRERELEASE:m,FLAG_LOOSE:f}=r(5101);const C=new RegExp(u[d.BUILD],"g");const isNullSet=e=>e.value==="<0.0.0-0";const isAny=e=>e.value==="";const isSatisfiable=(e,t)=>{let r=true;const n=e.slice();let s=n.pop();while(r&&n.length){r=n.every((e=>s.intersects(e,t)));s=n.pop()}return r};const parseComparator=(e,t)=>{e=e.replace(A[d.BUILD],"");c("comp",e,t);e=replaceCarets(e,t);c("caret",e);e=replaceTildes(e,t);c("tildes",e);e=replaceXRanges(e,t);c("xrange",e);e=replaceStars(e,t);c("stars",e);return e};const isX=e=>!e||e.toLowerCase()==="x"||e==="*";const invalidXRangeOrder=(e,t,r)=>isX(e)&&!isX(t)||isX(t)&&r&&!isX(r);const replaceTildes=(e,t)=>e.trim().split(/\s+/).map((e=>replaceTilde(e,t))).join(" ");const replaceTilde=(e,t)=>{const r=t.loose?A[d.TILDELOOSE]:A[d.TILDE];const n=t.includePrerelease?"-0":"";return e.replace(r,((t,r,s,i,o)=>{c("tilde",e,t,r,s,i,o);let a;if(isX(r)){a=""}else if(isX(s)){a=`>=${r}.0.0${n} <${+r+1}.0.0-0`}else if(isX(i)){a=`>=${r}.${s}.0${n} <${r}.${+s+1}.0-0`}else if(o){c("replaceTilde pr",o);a=`>=${r}.${s}.${i}-${o} <${r}.${+s+1}.0-0`}else{a=`>=${r}.${s}.${i} <${r}.${+s+1}.0-0`}c("tilde return",a);return a}))};const replaceCarets=(e,t)=>e.trim().split(/\s+/).map((e=>replaceCaret(e,t))).join(" ");const replaceCaret=(e,t)=>{c("caret",e,t);const r=t.loose?A[d.CARETLOOSE]:A[d.CARET];const n=t.includePrerelease?"-0":"";return e.replace(r,((t,r,s,i,o)=>{c("caret",e,t,r,s,i,o);let a;if(isX(r)){a=""}else if(isX(s)){a=`>=${r}.0.0${n} <${+r+1}.0.0-0`}else if(isX(i)){if(r==="0"){a=`>=${r}.${s}.0${n} <${r}.${+s+1}.0-0`}else{a=`>=${r}.${s}.0${n} <${+r+1}.0.0-0`}}else if(o){c("replaceCaret pr",o);if(r==="0"){if(s==="0"){a=`>=${r}.${s}.${i}-${o} <${r}.${s}.${+i+1}-0`}else{a=`>=${r}.${s}.${i}-${o} <${r}.${+s+1}.0-0`}}else{a=`>=${r}.${s}.${i}-${o} <${+r+1}.0.0-0`}}else{c("no pr");if(r==="0"){if(s==="0"){a=`>=${r}.${s}.${i} <${r}.${s}.${+i+1}-0`}else{a=`>=${r}.${s}.${i} <${r}.${+s+1}.0-0`}}else{a=`>=${r}.${s}.${i} <${+r+1}.0.0-0`}}c("caret return",a);return a}))};const replaceXRanges=(e,t)=>{c("replaceXRanges",e,t);return e.split(/\s+/).map((e=>replaceXRange(e,t))).join(" ")};const replaceXRange=(e,t)=>{e=e.trim();const r=t.loose?A[d.XRANGELOOSE]:A[d.XRANGE];return e.replace(r,((r,n,s,i,o,a)=>{c("xRange",e,r,n,s,i,o,a);if(invalidXRangeOrder(s,i,o)){return e}const l=isX(s);const A=l||isX(i);const u=A||isX(o);const d=u;if(n==="="&&d){n=""}a=t.includePrerelease?"-0":"";if(l){if(n===">"||n==="<"){r="<0.0.0-0"}else{r="*"}}else if(n&&d){if(A){i=0}o=0;if(n===">"){n=">=";if(A){s=+s+1;i=0;o=0}else{i=+i+1;o=0}}else if(n==="<="){n="<";if(A){s=+s+1}else{i=+i+1}}if(n==="<"){a="-0"}r=`${n+s}.${i}.${o}${a}`}else if(A){r=`>=${s}.0.0${a} <${+s+1}.0.0-0`}else if(u){r=`>=${s}.${i}.0${a} <${s}.${+i+1}.0-0`}c("xRange return",r);return r}))};const replaceStars=(e,t)=>{c("replaceStars",e,t);return e.trim().replace(A[d.STAR],"")};const replaceGTE0=(e,t)=>{c("replaceGTE0",e,t);return e.trim().replace(A[t.includePrerelease?d.GTE0PRE:d.GTE0],"")};const hyphenReplace=e=>(t,r,n,s,i,o,a,c,l,A,u,d)=>{if(isX(n)){r=""}else if(isX(s)){r=`>=${n}.0.0${e?"-0":""}`}else if(isX(i)){r=`>=${n}.${s}.0${e?"-0":""}`}else if(o){r=`>=${r}`}else{r=`>=${r}${e?"-0":""}`}if(isX(l)){c=""}else if(isX(A)){c=`<${+l+1}.0.0-0`}else if(isX(u)){c=`<${l}.${+A+1}.0-0`}else if(d){c=`<=${l}.${A}.${u}-${d}`}else if(e){c=`<${l}.${A}.${+u+1}-0`}else{c=`<=${c}`}return`${r} ${c}`.trim()};const testSet=(e,t,r)=>{for(let r=0;r<e.length;r++){if(!e[r].test(t)){return false}}if(t.prerelease.length&&!r.includePrerelease){for(let r=0;r<e.length;r++){c(e[r].semver);if(e[r].semver===a.ANY){continue}if(e[r].semver.prerelease.length>0){const n=e[r].semver;if(n.major===t.major&&n.minor===t.minor&&n.patch===t.patch){return true}}}return false}return true}},7163:(e,t,r)=>{const n=r(1159);const{MAX_LENGTH:s,MAX_SAFE_INTEGER:i}=r(5101);const{safeRe:o,t:a}=r(5471);const c=r(356);const{compareIdentifiers:l}=r(3348);const isPrereleaseIdentifier=(e,t)=>{const r=t.split(".");if(r.length>e.length){return false}for(let t=0;t<r.length;t++){if(l(e[t],r[t])!==0){return false}}return true};class SemVer{constructor(e,t){t=c(t);if(e instanceof SemVer){if(e.loose===!!t.loose&&e.includePrerelease===!!t.includePrerelease){return e}else{e=e.version}}else if(typeof e!=="string"){throw new TypeError(`Invalid version. Must be a string. Got type "${typeof e}".`)}if(e.length>s){throw new TypeError(`version is longer than ${s} characters`)}n("SemVer",e,t);this.options=t;this.loose=!!t.loose;this.includePrerelease=!!t.includePrerelease;const r=e.trim().match(t.loose?o[a.LOOSE]:o[a.FULL]);if(!r){throw new TypeError(`Invalid Version: ${e}`)}this.raw=e;this.major=+r[1];this.minor=+r[2];this.patch=+r[3];if(this.major>i||this.major<0){throw new TypeError("Invalid major version")}if(this.minor>i||this.minor<0){throw new TypeError("Invalid minor version")}if(this.patch>i||this.patch<0){throw new TypeError("Invalid patch version")}if(!r[4]){this.prerelease=[]}else{this.prerelease=r[4].split(".").map((e=>{if(/^[0-9]+$/.test(e)){const t=+e;if(t>=0&&t<i){return t}}return e}))}this.build=r[5]?r[5].split("."):[];this.format()}format(){this.version=`${this.major}.${this.minor}.${this.patch}`;if(this.prerelease.length){this.version+=`-${this.prerelease.join(".")}`}return this.version}toString(){return this.version}compare(e){n("SemVer.compare",this.version,this.options,e);if(!(e instanceof SemVer)){if(typeof e==="string"&&e===this.version){return 0}e=new SemVer(e,this.options)}if(e.version===this.version){return 0}return this.compareMain(e)||this.comparePre(e)}compareMain(e){if(!(e instanceof SemVer)){e=new SemVer(e,this.options)}if(this.major<e.major){return-1}if(this.major>e.major){return 1}if(this.minor<e.minor){return-1}if(this.minor>e.minor){return 1}if(this.patch<e.patch){return-1}if(this.patch>e.patch){return 1}return 0}comparePre(e){if(!(e instanceof SemVer)){e=new SemVer(e,this.options)}if(this.prerelease.length&&!e.prerelease.length){return-1}else if(!this.prerelease.length&&e.prerelease.length){return 1}else if(!this.prerelease.length&&!e.prerelease.length){return 0}let t=0;do{const r=this.prerelease[t];const s=e.prerelease[t];n("prerelease compare",t,r,s);if(r===undefined&&s===undefined){return 0}else if(s===undefined){return 1}else if(r===undefined){return-1}else if(r===s){continue}else{return l(r,s)}}while(++t)}compareBuild(e){if(!(e instanceof SemVer)){e=new SemVer(e,this.options)}let t=0;do{const r=this.build[t];const s=e.build[t];n("build compare",t,r,s);if(r===undefined&&s===undefined){return 0}else if(s===undefined){return 1}else if(r===undefined){return-1}else if(r===s){continue}else{return l(r,s)}}while(++t)}inc(e,t,r){if(e.startsWith("pre")){if(!t&&r===false){throw new Error("invalid increment argument: identifier is empty")}if(t){const e=`-${t}`.match(this.options.loose?o[a.PRERELEASELOOSE]:o[a.PRERELEASE]);if(!e||e[1]!==t){throw new Error(`invalid identifier: ${t}`)}}}switch(e){case"premajor":this.prerelease.length=0;this.patch=0;this.minor=0;this.major++;this.inc("pre",t,r);break;case"preminor":this.prerelease.length=0;this.patch=0;this.minor++;this.inc("pre",t,r);break;case"prepatch":this.prerelease.length=0;this.inc("patch",t,r);this.inc("pre",t,r);break;case"prerelease":if(this.prerelease.length===0){this.inc("patch",t,r)}this.inc("pre",t,r);break;case"release":if(this.prerelease.length===0){throw new Error(`version ${this.raw} is not a prerelease`)}this.prerelease.length=0;break;case"major":if(this.minor!==0||this.patch!==0||this.prerelease.length===0){this.major++}this.minor=0;this.patch=0;this.prerelease=[];break;case"minor":if(this.patch!==0||this.prerelease.length===0){this.minor++}this.patch=0;this.prerelease=[];break;case"patch":if(this.prerelease.length===0){this.patch++}this.prerelease=[];break;case"pre":{const e=Number(r)?1:0;if(this.prerelease.length===0){this.prerelease=[e]}else{let n=this.prerelease.length;while(--n>=0){if(typeof this.prerelease[n]==="number"){this.prerelease[n]++;n=-2}}if(n===-1){if(t===this.prerelease.join(".")&&r===false){throw new Error("invalid increment argument: identifier already exists")}this.prerelease.push(e)}}if(t){let n=[t,e];if(r===false){n=[t]}if(isPrereleaseIdentifier(this.prerelease,t)){const e=this.prerelease[t.split(".").length];if(isNaN(e)){this.prerelease=n}}else{this.prerelease=n}}break}default:throw new Error(`invalid increment argument: ${e}`)}this.raw=this.format();if(this.build.length){this.raw+=`+${this.build.join(".")}`}return this}}e.exports=SemVer},1799:(e,t,r)=>{const n=r(6353);const clean=(e,t)=>{const r=n(e.trim().replace(/^[=v]+/,""),t);return r?r.version:null};e.exports=clean},8646:(e,t,r)=>{const n=r(5082);const s=r(4974);const i=r(6599);const o=r(1236);const a=r(3872);const c=r(6717);const cmp=(e,t,r,l)=>{switch(t){case"===":if(typeof e==="object"){e=e.version}if(typeof r==="object"){r=r.version}return e===r;case"!==":if(typeof e==="object"){e=e.version}if(typeof r==="object"){r=r.version}return e!==r;case"":case"=":case"==":return n(e,r,l);case"!=":return s(e,r,l);case">":return i(e,r,l);case">=":return o(e,r,l);case"<":return a(e,r,l);case"<=":return c(e,r,l);default:throw new TypeError(`Invalid operator: ${t}`)}};e.exports=cmp},5385:(e,t,r)=>{const n=r(7163);const s=r(6353);const{safeRe:i,t:o}=r(5471);const coerce=(e,t)=>{if(e instanceof n){return e}if(typeof e==="number"){e=String(e)}if(typeof e!=="string"){return null}t=t||{};let r=null;if(!t.rtl){r=e.match(t.includePrerelease?i[o.COERCEFULL]:i[o.COERCE])}else{const n=t.includePrerelease?i[o.COERCERTLFULL]:i[o.COERCERTL];let s;while((s=n.exec(e))&&(!r||r.index+r[0].length!==e.length)){if(!r||s.index+s[0].length!==r.index+r[0].length){r=s}n.lastIndex=s.index+s[1].length+s[2].length}n.lastIndex=-1}if(r===null){return null}const a=r[2];const c=r[3]||"0";const l=r[4]||"0";const A=t.includePrerelease&&r[5]?`-${r[5]}`:"";const u=t.includePrerelease&&r[6]?`+${r[6]}`:"";return s(`${a}.${c}.${l}${A}${u}`,t)};e.exports=coerce},7648:(e,t,r)=>{const n=r(7163);const compareBuild=(e,t,r)=>{const s=new n(e,r);const i=new n(t,r);return s.compare(i)||s.compareBuild(i)};e.exports=compareBuild},6874:(e,t,r)=>{const n=r(8469);const compareLoose=(e,t)=>n(e,t,true);e.exports=compareLoose},8469:(e,t,r)=>{const n=r(7163);const compare=(e,t,r)=>new n(e,r).compare(new n(t,r));e.exports=compare},711:(e,t,r)=>{const n=r(6353);const diff=(e,t)=>{const r=n(e,null,true);const s=n(t,null,true);const i=r.compare(s);if(i===0){return null}const o=i>0;const a=o?r:s;const c=o?s:r;const l=!!a.prerelease.length;const A=!!c.prerelease.length;if(A&&!l){if(!c.patch&&!c.minor){return"major"}if(c.compareMain(a)===0){if(c.minor&&!c.patch){return"minor"}return"patch"}}const u=l?"pre":"";if(r.major!==s.major){return u+"major"}if(r.minor!==s.minor){return u+"minor"}if(r.patch!==s.patch){return u+"patch"}return"prerelease"};e.exports=diff},5082:(e,t,r)=>{const n=r(8469);const eq=(e,t,r)=>n(e,t,r)===0;e.exports=eq},6599:(e,t,r)=>{const n=r(8469);const gt=(e,t,r)=>n(e,t,r)>0;e.exports=gt},1236:(e,t,r)=>{const n=r(8469);const gte=(e,t,r)=>n(e,t,r)>=0;e.exports=gte},2338:(e,t,r)=>{const n=r(7163);const inc=(e,t,r,s,i)=>{if(typeof r==="string"){i=s;s=r;r=undefined}try{return new n(e instanceof n?e.version:e,r).inc(t,s,i).version}catch(e){return null}};e.exports=inc},3872:(e,t,r)=>{const n=r(8469);const lt=(e,t,r)=>n(e,t,r)<0;e.exports=lt},6717:(e,t,r)=>{const n=r(8469);const lte=(e,t,r)=>n(e,t,r)<=0;e.exports=lte},8511:(e,t,r)=>{const n=r(7163);const major=(e,t)=>new n(e,t).major;e.exports=major},2603:(e,t,r)=>{const n=r(7163);const minor=(e,t)=>new n(e,t).minor;e.exports=minor},4974:(e,t,r)=>{const n=r(8469);const neq=(e,t,r)=>n(e,t,r)!==0;e.exports=neq},6353:(e,t,r)=>{const n=r(7163);const parse=(e,t,r=false)=>{if(e instanceof n){return e}try{return new n(e,t)}catch(e){if(!r){return null}throw e}};e.exports=parse},8756:(e,t,r)=>{const n=r(7163);const patch=(e,t)=>new n(e,t).patch;e.exports=patch},5714:(e,t,r)=>{const n=r(6353);const prerelease=(e,t)=>{const r=n(e,t);return r&&r.prerelease.length?r.prerelease:null};e.exports=prerelease},2173:(e,t,r)=>{const n=r(8469);const rcompare=(e,t,r)=>n(t,e,r);e.exports=rcompare},7192:(e,t,r)=>{const n=r(7648);const rsort=(e,t)=>e.sort(((e,r)=>n(r,e,t)));e.exports=rsort},8011:(e,t,r)=>{const n=r(6782);const satisfies=(e,t,r)=>{try{t=new n(t,r)}catch(e){return false}return t.test(e)};e.exports=satisfies},9872:(e,t,r)=>{const n=r(7648);const sort=(e,t)=>e.sort(((e,r)=>n(e,r,t)));e.exports=sort},6114:(e,t,r)=>{const n=r(6353);const s=r(5101);const i=r(7163);const truncate=(e,t,r)=>{if(!s.RELEASE_TYPES.includes(t)){return null}const n=cloneInputVersion(e,r);return n&&doTruncation(n,t)};const cloneInputVersion=(e,t)=>{const r=e instanceof i?e.version:e;return n(r,t)};const doTruncation=(e,t)=>{if(isPrerelease(t)){return e.version}e.prerelease=[];switch(t){case"major":e.minor=0;e.patch=0;break;case"minor":e.patch=0;break}return e.format()};const isPrerelease=e=>e.startsWith("pre");e.exports=truncate},8780:(e,t,r)=>{const n=r(6353);const valid=(e,t)=>{const r=n(e,t);return r?r.version:null};e.exports=valid},2088:(e,t,r)=>{const n=r(5471);const s=r(5101);const i=r(7163);const o=r(3348);const a=r(6353);const c=r(8780);const l=r(1799);const A=r(2338);const u=r(711);const d=r(8511);const g=r(2603);const p=r(8756);const h=r(5714);const m=r(8469);const f=r(2173);const C=r(6874);const y=r(7648);const E=r(9872);const I=r(7192);const B=r(6599);const Q=r(3872);const b=r(5082);const S=r(4974);const w=r(1236);const D=r(6717);const N=r(8646);const x=r(5385);const R=r(6114);const v=r(9379);const k=r(6782);const F=r(8011);const T=r(4750);const M=r(5574);const P=r(8595);const L=r(1866);const U=r(4737);const O=r(280);const H=r(2276);const _=r(5213);const q=r(3465);const G=r(2028);const z=r(1489);e.exports={parse:a,valid:c,clean:l,inc:A,diff:u,major:d,minor:g,patch:p,prerelease:h,compare:m,rcompare:f,compareLoose:C,compareBuild:y,sort:E,rsort:I,gt:B,lt:Q,eq:b,neq:S,gte:w,lte:D,cmp:N,coerce:x,truncate:R,Comparator:v,Range:k,satisfies:F,toComparators:T,maxSatisfying:M,minSatisfying:P,minVersion:L,validRange:U,outside:O,gtr:H,ltr:_,intersects:q,simplifyRange:G,subset:z,SemVer:i,re:n.re,src:n.src,tokens:n.t,SEMVER_SPEC_VERSION:s.SEMVER_SPEC_VERSION,RELEASE_TYPES:s.RELEASE_TYPES,compareIdentifiers:o.compareIdentifiers,rcompareIdentifiers:o.rcompareIdentifiers}},5101:e=>{const t="2.0.0";const r=256;const n=Number.MAX_SAFE_INTEGER||9007199254740991;const s=16;const i=r-6;const o=["major","premajor","minor","preminor","patch","prepatch","prerelease"];e.exports={MAX_LENGTH:r,MAX_SAFE_COMPONENT_LENGTH:s,MAX_SAFE_BUILD_LENGTH:i,MAX_SAFE_INTEGER:n,RELEASE_TYPES:o,SEMVER_SPEC_VERSION:t,FLAG_INCLUDE_PRERELEASE:1,FLAG_LOOSE:2}},1159:e=>{const t=typeof process==="object"&&process.env&&process.env.NODE_DEBUG&&/\bsemver\b/i.test(process.env.NODE_DEBUG)?(...e)=>console.error("SEMVER",...e):()=>{};e.exports=t},3348:e=>{const t=/^[0-9]+$/;const compareIdentifiers=(e,r)=>{if(typeof e==="number"&&typeof r==="number"){return e===r?0:e<r?-1:1}const n=t.test(e);const s=t.test(r);if(n&&s){e=+e;r=+r}return e===r?0:n&&!s?-1:s&&!n?1:e<r?-1:1};const rcompareIdentifiers=(e,t)=>compareIdentifiers(t,e);e.exports={compareIdentifiers:compareIdentifiers,rcompareIdentifiers:rcompareIdentifiers}},1383:e=>{class LRUCache{constructor(){this.max=1e3;this.map=new Map}get(e){const t=this.map.get(e);if(t===undefined){return undefined}else{this.map.delete(e);this.map.set(e,t);return t}}delete(e){return this.map.delete(e)}set(e,t){const r=this.delete(e);if(!r&&t!==undefined){if(this.map.size>=this.max){const e=this.map.keys().next().value;this.delete(e)}this.map.set(e,t)}return this}}e.exports=LRUCache},356:e=>{const t=Object.freeze({loose:true});const r=Object.freeze({});const parseOptions=e=>{if(!e){return r}if(typeof e!=="object"){return t}return e};e.exports=parseOptions},5471:(e,t,r)=>{const{MAX_SAFE_COMPONENT_LENGTH:n,MAX_SAFE_BUILD_LENGTH:s,MAX_LENGTH:i}=r(5101);const o=r(1159);t=e.exports={};const a=t.re=[];const c=t.safeRe=[];const l=t.src=[];const A=t.safeSrc=[];const u=t.t={};let d=0;const g="[a-zA-Z0-9-]";const p=[["\\s",1],["\\d",i],[g,s]];const makeSafeRegex=e=>{for(const[t,r]of p){e=e.split(`${t}*`).join(`${t}{0,${r}}`).split(`${t}+`).join(`${t}{1,${r}}`)}return e};const createToken=(e,t,r)=>{const n=makeSafeRegex(t);const s=d++;o(e,s,t);u[e]=s;l[s]=t;A[s]=n;a[s]=new RegExp(t,r?"g":undefined);c[s]=new RegExp(n,r?"g":undefined)};createToken("NUMERICIDENTIFIER","0|[1-9]\\d*");createToken("NUMERICIDENTIFIERLOOSE","\\d+");createToken("NONNUMERICIDENTIFIER",`\\d*[a-zA-Z-]${g}*`);createToken("MAINVERSION",`(${l[u.NUMERICIDENTIFIER]})\\.`+`(${l[u.NUMERICIDENTIFIER]})\\.`+`(${l[u.NUMERICIDENTIFIER]})`);createToken("MAINVERSIONLOOSE",`(${l[u.NUMERICIDENTIFIERLOOSE]})\\.`+`(${l[u.NUMERICIDENTIFIERLOOSE]})\\.`+`(${l[u.NUMERICIDENTIFIERLOOSE]})`);createToken("PRERELEASEIDENTIFIER",`(?:${l[u.NONNUMERICIDENTIFIER]}|${l[u.NUMERICIDENTIFIER]})`);createToken("PRERELEASEIDENTIFIERLOOSE",`(?:${l[u.NONNUMERICIDENTIFIER]}|${l[u.NUMERICIDENTIFIERLOOSE]})`);createToken("PRERELEASE",`(?:-(${l[u.PRERELEASEIDENTIFIER]}(?:\\.${l[u.PRERELEASEIDENTIFIER]})*))`);createToken("PRERELEASELOOSE",`(?:-?(${l[u.PRERELEASEIDENTIFIERLOOSE]}(?:\\.${l[u.PRERELEASEIDENTIFIERLOOSE]})*))`);createToken("BUILDIDENTIFIER",`${g}+`);createToken("BUILD",`(?:\\+(${l[u.BUILDIDENTIFIER]}(?:\\.${l[u.BUILDIDENTIFIER]})*))`);createToken("FULLPLAIN",`v?${l[u.MAINVERSION]}${l[u.PRERELEASE]}?${l[u.BUILD]}?`);createToken("FULL",`^${l[u.FULLPLAIN]}$`);createToken("LOOSEPLAIN",`[v=\\s]*${l[u.MAINVERSIONLOOSE]}${l[u.PRERELEASELOOSE]}?${l[u.BUILD]}?`);createToken("LOOSE",`^${l[u.LOOSEPLAIN]}$`);createToken("GTLT","((?:<|>)?=?)");createToken("XRANGEIDENTIFIERLOOSE",`${l[u.NUMERICIDENTIFIERLOOSE]}|x|X|\\*`);createToken("XRANGEIDENTIFIER",`${l[u.NUMERICIDENTIFIER]}|x|X|\\*`);createToken("XRANGEPLAIN",`[v=\\s]*(${l[u.XRANGEIDENTIFIER]})`+`(?:\\.(${l[u.XRANGEIDENTIFIER]})`+`(?:\\.(${l[u.XRANGEIDENTIFIER]})`+`(?:${l[u.PRERELEASE]})?${l[u.BUILD]}?`+`)?)?`);createToken("XRANGEPLAINLOOSE",`[v=\\s]*(${l[u.XRANGEIDENTIFIERLOOSE]})`+`(?:\\.(${l[u.XRANGEIDENTIFIERLOOSE]})`+`(?:\\.(${l[u.XRANGEIDENTIFIERLOOSE]})`+`(?:${l[u.PRERELEASELOOSE]})?${l[u.BUILD]}?`+`)?)?`);createToken("XRANGE",`^${l[u.GTLT]}\\s*${l[u.XRANGEPLAIN]}$`);createToken("XRANGELOOSE",`^${l[u.GTLT]}\\s*${l[u.XRANGEPLAINLOOSE]}$`);createToken("COERCEPLAIN",`${"(^|[^\\d])"+"(\\d{1,"}${n}})`+`(?:\\.(\\d{1,${n}}))?`+`(?:\\.(\\d{1,${n}}))?`);createToken("COERCE",`${l[u.COERCEPLAIN]}(?:$|[^\\d])`);createToken("COERCEFULL",l[u.COERCEPLAIN]+`(?:${l[u.PRERELEASE]})?`+`(?:${l[u.BUILD]})?`+`(?:$|[^\\d])`);createToken("COERCERTL",l[u.COERCE],true);createToken("COERCERTLFULL",l[u.COERCEFULL],true);createToken("LONETILDE","(?:~>?)");createToken("TILDETRIM",`(\\s*)${l[u.LONETILDE]}\\s+`,true);t.tildeTrimReplace="$1~";createToken("TILDE",`^${l[u.LONETILDE]}${l[u.XRANGEPLAIN]}$`);createToken("TILDELOOSE",`^${l[u.LONETILDE]}${l[u.XRANGEPLAINLOOSE]}$`);createToken("LONECARET","(?:\\^)");createToken("CARETTRIM",`(\\s*)${l[u.LONECARET]}\\s+`,true);t.caretTrimReplace="$1^";createToken("CARET",`^${l[u.LONECARET]}${l[u.XRANGEPLAIN]}$`);createToken("CARETLOOSE",`^${l[u.LONECARET]}${l[u.XRANGEPLAINLOOSE]}$`);createToken("COMPARATORLOOSE",`^${l[u.GTLT]}\\s*(${l[u.LOOSEPLAIN]})$|^$`);createToken("COMPARATOR",`^${l[u.GTLT]}\\s*(${l[u.FULLPLAIN]})$|^$`);createToken("COMPARATORTRIM",`(\\s*)${l[u.GTLT]}\\s*(${l[u.LOOSEPLAIN]}|${l[u.XRANGEPLAIN]})`,true);t.comparatorTrimReplace="$1$2$3";createToken("HYPHENRANGE",`^\\s*(${l[u.XRANGEPLAIN]})`+`\\s+-\\s+`+`(${l[u.XRANGEPLAIN]})`+`\\s*$`);createToken("HYPHENRANGELOOSE",`^\\s*(${l[u.XRANGEPLAINLOOSE]})`+`\\s+-\\s+`+`(${l[u.XRANGEPLAINLOOSE]})`+`\\s*$`);createToken("STAR","(<|>)?=?\\s*\\*");createToken("GTE0","^\\s*>=\\s*0\\.0\\.0\\s*$");createToken("GTE0PRE","^\\s*>=\\s*0\\.0\\.0-0\\s*$")},2276:(e,t,r)=>{const n=r(280);const gtr=(e,t,r)=>n(e,t,">",r);e.exports=gtr},3465:(e,t,r)=>{const n=r(6782);const intersects=(e,t,r)=>{e=new n(e,r);t=new n(t,r);return e.intersects(t,r)};e.exports=intersects},5213:(e,t,r)=>{const n=r(280);const ltr=(e,t,r)=>n(e,t,"<",r);e.exports=ltr},5574:(e,t,r)=>{const n=r(7163);const s=r(6782);const maxSatisfying=(e,t,r)=>{let i=null;let o=null;let a=null;try{a=new s(t,r)}catch(e){return null}e.forEach((e=>{if(a.test(e)){if(!i||o.compare(e)===-1){i=e;o=new n(i,r)}}}));return i};e.exports=maxSatisfying},8595:(e,t,r)=>{const n=r(7163);const s=r(6782);const minSatisfying=(e,t,r)=>{let i=null;let o=null;let a=null;try{a=new s(t,r)}catch(e){return null}e.forEach((e=>{if(a.test(e)){if(!i||o.compare(e)===1){i=e;o=new n(i,r)}}}));return i};e.exports=minSatisfying},1866:(e,t,r)=>{const n=r(7163);const s=r(6782);const i=r(6599);const minVersion=(e,t)=>{e=new s(e,t);let r=new n("0.0.0");if(e.test(r)){return r}r=new n("0.0.0-0");if(e.test(r)){return r}r=null;for(let t=0;t<e.set.length;++t){const s=e.set[t];let o=null;s.forEach((e=>{const t=new n(e.semver.version);switch(e.operator){case">":if(t.prerelease.length===0){t.patch++}else{t.prerelease.push(0)}t.raw=t.format();case"":case">=":if(!o||i(t,o)){o=t}break;case"<":case"<=":break;default:throw new Error(`Unexpected operation: ${e.operator}`)}}));if(o&&(!r||i(r,o))){r=o}}if(r&&e.test(r)){return r}return null};e.exports=minVersion},280:(e,t,r)=>{const n=r(7163);const s=r(9379);const{ANY:i}=s;const o=r(6782);const a=r(8011);const c=r(6599);const l=r(3872);const A=r(6717);const u=r(1236);const outside=(e,t,r,d)=>{e=new n(e,d);t=new o(t,d);let g,p,h,m,f;switch(r){case">":g=c;p=A;h=l;m=">";f=">=";break;case"<":g=l;p=u;h=c;m="<";f="<=";break;default:throw new TypeError('Must provide a hilo val of "<" or ">"')}if(a(e,t,d)){return false}for(let r=0;r<t.set.length;++r){const n=t.set[r];let o=null;let a=null;n.forEach((e=>{if(e.semver===i){e=new s(">=0.0.0")}o=o||e;a=a||e;if(g(e.semver,o.semver,d)){o=e}else if(h(e.semver,a.semver,d)){a=e}}));if(o.operator===m||o.operator===f){return false}if((!a.operator||a.operator===m)&&p(e,a.semver)){return false}else if(a.operator===f&&h(e,a.semver)){return false}}return true};e.exports=outside},2028:(e,t,r)=>{const n=r(8011);const s=r(8469);e.exports=(e,t,r)=>{const i=[];let o=null;let a=null;const c=e.sort(((e,t)=>s(e,t,r)));for(const e of c){const s=n(e,t,r);if(s){a=e;if(!o){o=e}}else{if(a){i.push([o,a])}a=null;o=null}}if(o){i.push([o,null])}const l=[];for(const[e,t]of i){if(e===t){l.push(e)}else if(!t&&e===c[0]){l.push("*")}else if(!t){l.push(`>=${e}`)}else if(e===c[0]){l.push(`<=${t}`)}else{l.push(`${e} - ${t}`)}}const A=l.join(" || ");const u=typeof t.raw==="string"?t.raw:String(t);return A.length<u.length?A:t}},1489:(e,t,r)=>{const n=r(6782);const s=r(9379);const{ANY:i}=s;const o=r(8011);const a=r(8469);const subset=(e,t,r={})=>{if(e===t){return true}e=new n(e,r);t=new n(t,r);let s=false;e:for(const n of e.set){for(const e of t.set){const t=simpleSubset(n,e,r);s=s||t!==null;if(t){continue e}}if(s){return false}}return true};const c=[new s(">=0.0.0-0")];const l=[new s(">=0.0.0")];const simpleSubset=(e,t,r)=>{if(e===t){return true}if(e.length===1&&e[0].semver===i){if(t.length===1&&t[0].semver===i){return true}else if(r.includePrerelease){e=c}else{e=l}}if(t.length===1&&t[0].semver===i){if(r.includePrerelease){return true}else{t=l}}const n=new Set;let s,A;for(const t of e){if(t.operator===">"||t.operator===">="){s=higherGT(s,t,r)}else if(t.operator==="<"||t.operator==="<="){A=lowerLT(A,t,r)}else{n.add(t.semver)}}if(n.size>1){return null}let u;if(s&&A){u=a(s.semver,A.semver,r);if(u>0){return null}else if(u===0&&(s.operator!==">="||A.operator!=="<=")){return null}}for(const e of n){if(s&&!o(e,String(s),r)){return null}if(A&&!o(e,String(A),r)){return null}for(const n of t){if(!o(e,String(n),r)){return false}}return true}let d,g;let p,h;let m=A&&!r.includePrerelease&&A.semver.prerelease.length?A.semver:false;let f=s&&!r.includePrerelease&&s.semver.prerelease.length?s.semver:false;if(m&&m.prerelease.length===1&&A.operator==="<"&&m.prerelease[0]===0){m=false}for(const e of t){h=h||e.operator===">"||e.operator===">=";p=p||e.operator==="<"||e.operator==="<=";if(s){if(f){if(e.semver.prerelease&&e.semver.prerelease.length&&e.semver.major===f.major&&e.semver.minor===f.minor&&e.semver.patch===f.patch){f=false}}if(e.operator===">"||e.operator===">="){d=higherGT(s,e,r);if(d===e&&d!==s){return false}}else if(s.operator===">="&&!e.test(s.semver)){return false}}if(A){if(m){if(e.semver.prerelease&&e.semver.prerelease.length&&e.semver.major===m.major&&e.semver.minor===m.minor&&e.semver.patch===m.patch){m=false}}if(e.operator==="<"||e.operator==="<="){g=lowerLT(A,e,r);if(g===e&&g!==A){return false}}else if(A.operator==="<="&&!e.test(A.semver)){return false}}if(!e.operator&&(A||s)&&u!==0){return false}}if(s&&p&&!A&&u!==0){return false}if(A&&h&&!s&&u!==0){return false}if(f||m){return false}return true};const higherGT=(e,t,r)=>{if(!e){return t}const n=a(e.semver,t.semver,r);return n>0?e:n<0?t:t.operator===">"&&e.operator===">="?t:e};const lowerLT=(e,t,r)=>{if(!e){return t}const n=a(e.semver,t.semver,r);return n<0?e:n>0?t:t.operator==="<"&&e.operator==="<="?t:e};e.exports=subset},4750:(e,t,r)=>{const n=r(6782);const toComparators=(e,t)=>new n(e,t).set.map((e=>e.map((e=>e.value)).join(" ").trim().split(" ")));e.exports=toComparators},4737:(e,t,r)=>{const n=r(6782);const validRange=(e,t)=>{try{return new n(e,t).range||"*"}catch(e){return null}};e.exports=validRange},1450:(e,t,r)=>{const n=r(857);const s=r(2018);const i=r(3813);const{env:o}=process;let a;if(i("no-color")||i("no-colors")||i("color=false")||i("color=never")){a=0}else if(i("color")||i("colors")||i("color=true")||i("color=always")){a=1}if("FORCE_COLOR"in o){if(o.FORCE_COLOR==="true"){a=1}else if(o.FORCE_COLOR==="false"){a=0}else{a=o.FORCE_COLOR.length===0?1:Math.min(parseInt(o.FORCE_COLOR,10),3)}}function translateLevel(e){if(e===0){return false}return{level:e,hasBasic:true,has256:e>=2,has16m:e>=3}}function supportsColor(e,t){if(a===0){return 0}if(i("color=16m")||i("color=full")||i("color=truecolor")){return 3}if(i("color=256")){return 2}if(e&&!t&&a===undefined){return 0}const r=a||0;if(o.TERM==="dumb"){return r}if(process.platform==="win32"){const e=n.release().split(".");if(Number(e[0])>=10&&Number(e[2])>=10586){return Number(e[2])>=14931?3:2}return 1}if("CI"in o){if(["TRAVIS","CIRCLECI","APPVEYOR","GITLAB_CI","GITHUB_ACTIONS","BUILDKITE"].some((e=>e in o))||o.CI_NAME==="codeship"){return 1}return r}if("TEAMCITY_VERSION"in o){return/^(9\.(0*[1-9]\d*)\.|\d{2,}\.)/.test(o.TEAMCITY_VERSION)?1:0}if(o.COLORTERM==="truecolor"){return 3}if("TERM_PROGRAM"in o){const e=parseInt((o.TERM_PROGRAM_VERSION||"").split(".")[0],10);switch(o.TERM_PROGRAM){case"iTerm.app":return e>=3?3:2;case"Apple_Terminal":return 2}}if(/-256(color)?$/i.test(o.TERM)){return 2}if(/^screen|^xterm|^vt100|^vt220|^rxvt|color|ansi|cygwin|linux/i.test(o.TERM)){return 1}if("COLORTERM"in o){return 1}return r}function getSupportLevel(e){const t=supportsColor(e,e&&e.isTTY);return translateLevel(t)}e.exports={supportsColor:getSupportLevel,stdout:translateLevel(supportsColor(true,s.isatty(1))),stderr:translateLevel(supportsColor(true,s.isatty(2)))}},770:(e,t,r)=>{e.exports=r(218)},218:(e,t,r)=>{var n;var s=r(9278);var i=r(4756);var o=r(8611);var a=r(5692);var c=r(4434);var l=r(2613);var A=r(9023);t.httpOverHttp=httpOverHttp;t.httpsOverHttp=httpsOverHttp;t.httpOverHttps=httpOverHttps;t.httpsOverHttps=httpsOverHttps;function httpOverHttp(e){var t=new TunnelingAgent(e);t.request=o.request;return t}function httpsOverHttp(e){var t=new TunnelingAgent(e);t.request=o.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||o.Agent.defaultMaxSockets;t.requests=[];t.sockets=[];t.on("free",(function onFree(e,r,n,s){var i=toOptions(r,n,s);for(var o=0,a=t.requests.length;o<a;++o){var c=t.requests[o];if(c.host===i.host&&c.port===i.port){t.requests.splice(o,1);c.request.onSocket(e);return}}e.destroy();t.removeSocket(e)}))}A.inherits(TunnelingAgent,c.EventEmitter);TunnelingAgent.prototype.addRequest=function addRequest(e,t,r,n){var s=this;var i=mergeOptions({request:e},s.options,toOptions(t,r,n));if(s.sockets.length>=this.maxSockets){s.requests.push(i);return}s.createSocket(i,(function(t){t.on("free",onFree);t.on("close",onCloseOrRemove);t.on("agentRemove",onCloseOrRemove);e.onSocket(t);function onFree(){s.emit("free",t,i)}function onCloseOrRemove(e){s.removeSocket(t);t.removeListener("free",onFree);t.removeListener("close",onCloseOrRemove);t.removeListener("agentRemove",onCloseOrRemove)}}))};TunnelingAgent.prototype.createSocket=function createSocket(e,t){var r=this;var n={};r.sockets.push(n);var s=mergeOptions({},r.proxyOptions,{method:"CONNECT",path:e.host+":"+e.port,agent:false,headers:{host:e.host+":"+e.port}});if(e.localAddress){s.localAddress=e.localAddress}if(s.proxyAuth){s.headers=s.headers||{};s.headers["Proxy-Authorization"]="Basic "+new Buffer(s.proxyAuth).toString("base64")}u("making CONNECT request");var i=r.request(s);i.useChunkedEncodingByDefault=false;i.once("response",onResponse);i.once("upgrade",onUpgrade);i.once("connect",onConnect);i.once("error",onError);i.end();function onResponse(e){e.upgrade=true}function onUpgrade(e,t,r){process.nextTick((function(){onConnect(e,t,r)}))}function onConnect(s,o,a){i.removeAllListeners();o.removeAllListeners();if(s.statusCode!==200){u("tunneling socket could not be established, statusCode=%d",s.statusCode);o.destroy();var c=new Error("tunneling socket could not be established, "+"statusCode="+s.statusCode);c.code="ECONNRESET";e.request.emit("error",c);r.removeSocket(n);return}if(a.length>0){u("got illegal response body from proxy");o.destroy();var c=new Error("got illegal response body from proxy");c.code="ECONNRESET";e.request.emit("error",c);r.removeSocket(n);return}u("tunneling connection has established");r.sockets[r.sockets.indexOf(n)]=o;return t(o)}function onError(t){i.removeAllListeners();u("tunneling socket could not be established, cause=%s\n",t.message,t.stack);var s=new Error("tunneling socket could not be established, "+"cause="+t.message);s.code="ECONNRESET";e.request.emit("error",s);r.removeSocket(n)}};TunnelingAgent.prototype.removeSocket=function removeSocket(e){var t=this.sockets.indexOf(e);if(t===-1){return}this.sockets.splice(t,1);var r=this.requests.shift();if(r){this.createSocket(r,(function(e){r.request.onSocket(e)}))}};function createSecureSocket(e,t){var r=this;TunnelingAgent.prototype.createSocket.call(r,e,(function(n){var s=e.request.getHeader("host");var o=mergeOptions({},r.options,{socket:n,servername:s?s.replace(/:.*$/,""):e.host});var a=i.connect(0,o);r.sockets[r.sockets.indexOf(n)]=a;t(a)}))}function toOptions(e,t,r){if(typeof e==="string"){return{host:e,port:t,localAddress:r}}return e}function mergeOptions(e){for(var t=1,r=arguments.length;t<r;++t){var n=arguments[t];if(typeof n==="object"){var s=Object.keys(n);for(var i=0,o=s.length;i<o;++i){var a=s[i];if(n[a]!==undefined){e[a]=n[a]}}}}return e}var u;if(process.env.NODE_DEBUG&&/\btunnel\b/.test(process.env.NODE_DEBUG)){u=function(){var e=Array.prototype.slice.call(arguments);if(typeof e[0]==="string"){e[0]="TUNNEL: "+e[0]}else{e.unshift("TUNNEL:")}console.error.apply(console,e)}}else{u=function(){}}n=u},6752:(e,t,r)=>{var n;const s=r(3701);const i=r(883);const o=r(628);const a=r(837);const c=r(7405);const l=r(6672);const A=r(3137);const u=r(50);const d=r(8707);const g=r(3440);const{InvalidArgumentError:p}=d;const h=r(6615);const m=r(9136);const f=r(7365);const C=r(7501);const y=r(4004);const E=r(2429);const I=r(7816);const{getGlobalDispatcher:B,setGlobalDispatcher:Q}=r(2581);const b=r(8155);const S=r(8754);const w=r(5092);Object.assign(i.prototype,h);n=i;n=s;n=o;n=a;n=c;e.exports.kT=l;n=A;n=u;n=I;n=b;n=S;n=w;n={redirect:r(1514),retry:r(2026),dump:r(8060),dns:r(379)};n=m;n=d;n={parseHeaders:g.parseHeaders,headerNameToString:g.headerNameToString};function makeDispatcher(e){return(t,r,n)=>{if(typeof r==="function"){n=r;r=null}if(!t||typeof t!=="string"&&typeof t!=="object"&&!(t instanceof URL)){throw new p("invalid url")}if(r!=null&&typeof r!=="object"){throw new p("invalid opts")}if(r&&r.path!=null){if(typeof r.path!=="string"){throw new p("invalid opts.path")}let e=r.path;if(!r.path.startsWith("/")){e=`/${e}`}t=new URL(g.parseOrigin(t).origin+e)}else{if(!r){r=typeof t==="object"?t:{}}t=g.parseURL(t)}const{agent:s,dispatcher:i=B()}=r;if(s){throw new p("unsupported opts.agent. Did you mean opts.client?")}return e.call(i,{...r,origin:t.origin,path:t.search?`${t.pathname}${t.search}`:t.pathname,method:r.method||(r.body?"PUT":"GET")},n)}}n=Q;n=B;const D=r(4398).fetch;n=async function fetch(e,t=undefined){try{return await D(e,t)}catch(e){if(e&&typeof e==="object"){Error.captureStackTrace(e)}throw e}};r(660).Headers;r(9051).Response;r(9967).Request;r(5910).FormData;n=globalThis.File??r(4573).File;r(8355).FileReader;const{setGlobalOrigin:N,getGlobalOrigin:x}=r(1059);n=N;n=x;const{CacheStorage:R}=r(3245);const{kConstruct:v}=r(109);n=new R(v);const{deleteCookie:k,getCookies:F,getSetCookies:T,setCookie:M}=r(9061);n=k;n=F;n=T;n=M;const{parseMIMEType:P,serializeAMimeType:L}=r(1900);n=P;n=L;const{CloseEvent:U,ErrorEvent:O,MessageEvent:H}=r(5188);r(3726).WebSocket;n=U;n=O;n=H;n=makeDispatcher(h.request);n=makeDispatcher(h.stream);n=makeDispatcher(h.pipeline);n=makeDispatcher(h.connect);n=makeDispatcher(h.upgrade);n=f;n=y;n=C;n=E;const{EventSource:_}=r(1238);n=_},158:(e,t,r)=>{const{addAbortListener:n}=r(3440);const{RequestAbortedError:s}=r(8707);const i=Symbol("kListener");const o=Symbol("kSignal");function abort(e){if(e.abort){e.abort(e[o]?.reason)}else{e.reason=e[o]?.reason??new s}removeSignal(e)}function addSignal(e,t){e.reason=null;e[o]=null;e[i]=null;if(!t){return}if(t.aborted){abort(e);return}e[o]=t;e[i]=()=>{abort(e)};n(e[o],e[i])}function removeSignal(e){if(!e[o]){return}if("removeEventListener"in e[o]){e[o].removeEventListener("abort",e[i])}else{e[o].removeListener("abort",e[i])}e[o]=null;e[i]=null}e.exports={addSignal:addSignal,removeSignal:removeSignal}},2279:(e,t,r)=>{const n=r(4589);const{AsyncResource:s}=r(6698);const{InvalidArgumentError:i,SocketError:o}=r(8707);const a=r(3440);const{addSignal:c,removeSignal:l}=r(158);class ConnectHandler extends s{constructor(e,t){if(!e||typeof e!=="object"){throw new i("invalid opts")}if(typeof t!=="function"){throw new i("invalid callback")}const{signal:r,opaque:n,responseHeaders:s}=e;if(r&&typeof r.on!=="function"&&typeof r.addEventListener!=="function"){throw new i("signal must be an EventEmitter or EventTarget")}super("UNDICI_CONNECT");this.opaque=n||null;this.responseHeaders=s||null;this.callback=t;this.abort=null;c(this,r)}onConnect(e,t){if(this.reason){e(this.reason);return}n(this.callback);this.abort=e;this.context=t}onHeaders(){throw new o("bad connect",null)}onUpgrade(e,t,r){const{callback:n,opaque:s,context:i}=this;l(this);this.callback=null;let o=t;if(o!=null){o=this.responseHeaders==="raw"?a.parseRawHeaders(t):a.parseHeaders(t)}this.runInAsyncScope(n,null,null,{statusCode:e,headers:o,socket:r,opaque:s,context:i})}onError(e){const{callback:t,opaque:r}=this;l(this);if(t){this.callback=null;queueMicrotask((()=>{this.runInAsyncScope(t,null,e,{opaque:r})}))}}}function connect(e,t){if(t===undefined){return new Promise(((t,r)=>{connect.call(this,e,((e,n)=>e?r(e):t(n)))}))}try{const r=new ConnectHandler(e,t);this.dispatch({...e,method:"CONNECT"},r)}catch(r){if(typeof t!=="function"){throw r}const n=e?.opaque;queueMicrotask((()=>t(r,{opaque:n})))}}e.exports=connect},6862:(e,t,r)=>{const{Readable:n,Duplex:s,PassThrough:i}=r(7075);const{InvalidArgumentError:o,InvalidReturnValueError:a,RequestAbortedError:c}=r(8707);const l=r(3440);const{AsyncResource:A}=r(6698);const{addSignal:u,removeSignal:d}=r(158);const g=r(4589);const p=Symbol("resume");class PipelineRequest extends n{constructor(){super({autoDestroy:true});this[p]=null}_read(){const{[p]:e}=this;if(e){this[p]=null;e()}}_destroy(e,t){this._read();t(e)}}class PipelineResponse extends n{constructor(e){super({autoDestroy:true});this[p]=e}_read(){this[p]()}_destroy(e,t){if(!e&&!this._readableState.endEmitted){e=new c}t(e)}}class PipelineHandler extends A{constructor(e,t){if(!e||typeof e!=="object"){throw new o("invalid opts")}if(typeof t!=="function"){throw new o("invalid handler")}const{signal:r,method:n,opaque:i,onInfo:a,responseHeaders:A}=e;if(r&&typeof r.on!=="function"&&typeof r.addEventListener!=="function"){throw new o("signal must be an EventEmitter or EventTarget")}if(n==="CONNECT"){throw new o("invalid method")}if(a&&typeof a!=="function"){throw new o("invalid onInfo callback")}super("UNDICI_PIPELINE");this.opaque=i||null;this.responseHeaders=A||null;this.handler=t;this.abort=null;this.context=null;this.onInfo=a||null;this.req=(new PipelineRequest).on("error",l.nop);this.ret=new s({readableObjectMode:e.objectMode,autoDestroy:true,read:()=>{const{body:e}=this;if(e?.resume){e.resume()}},write:(e,t,r)=>{const{req:n}=this;if(n.push(e,t)||n._readableState.destroyed){r()}else{n[p]=r}},destroy:(e,t)=>{const{body:r,req:n,res:s,ret:i,abort:o}=this;if(!e&&!i._readableState.endEmitted){e=new c}if(o&&e){o()}l.destroy(r,e);l.destroy(n,e);l.destroy(s,e);d(this);t(e)}}).on("prefinish",(()=>{const{req:e}=this;e.push(null)}));this.res=null;u(this,r)}onConnect(e,t){const{ret:r,res:n}=this;if(this.reason){e(this.reason);return}g(!n,"pipeline cannot be retried");g(!r.destroyed);this.abort=e;this.context=t}onHeaders(e,t,r){const{opaque:n,handler:s,context:i}=this;if(e<200){if(this.onInfo){const r=this.responseHeaders==="raw"?l.parseRawHeaders(t):l.parseHeaders(t);this.onInfo({statusCode:e,headers:r})}return}this.res=new PipelineResponse(r);let o;try{this.handler=null;const r=this.responseHeaders==="raw"?l.parseRawHeaders(t):l.parseHeaders(t);o=this.runInAsyncScope(s,null,{statusCode:e,headers:r,opaque:n,body:this.res,context:i})}catch(e){this.res.on("error",l.nop);throw e}if(!o||typeof o.on!=="function"){throw new a("expected Readable")}o.on("data",(e=>{const{ret:t,body:r}=this;if(!t.push(e)&&r.pause){r.pause()}})).on("error",(e=>{const{ret:t}=this;l.destroy(t,e)})).on("end",(()=>{const{ret:e}=this;e.push(null)})).on("close",(()=>{const{ret:e}=this;if(!e._readableState.ended){l.destroy(e,new c)}}));this.body=o}onData(e){const{res:t}=this;return t.push(e)}onComplete(e){const{res:t}=this;t.push(null)}onError(e){const{ret:t}=this;this.handler=null;l.destroy(t,e)}}function pipeline(e,t){try{const r=new PipelineHandler(e,t);this.dispatch({...e,body:r.req},r);return r.ret}catch(e){return(new i).destroy(e)}}e.exports=pipeline},4043:(e,t,r)=>{const n=r(4589);const{Readable:s}=r(9927);const{InvalidArgumentError:i,RequestAbortedError:o}=r(8707);const a=r(3440);const{getResolveErrorBodyCallback:c}=r(7655);const{AsyncResource:l}=r(6698);class RequestHandler extends l{constructor(e,t){if(!e||typeof e!=="object"){throw new i("invalid opts")}const{signal:r,method:n,opaque:s,body:c,onInfo:l,responseHeaders:A,throwOnError:u,highWaterMark:d}=e;try{if(typeof t!=="function"){throw new i("invalid callback")}if(d&&(typeof d!=="number"||d<0)){throw new i("invalid highWaterMark")}if(r&&typeof r.on!=="function"&&typeof r.addEventListener!=="function"){throw new i("signal must be an EventEmitter or EventTarget")}if(n==="CONNECT"){throw new i("invalid method")}if(l&&typeof l!=="function"){throw new i("invalid onInfo callback")}super("UNDICI_REQUEST")}catch(e){if(a.isStream(c)){a.destroy(c.on("error",a.nop),e)}throw e}this.method=n;this.responseHeaders=A||null;this.opaque=s||null;this.callback=t;this.res=null;this.abort=null;this.body=c;this.trailers={};this.context=null;this.onInfo=l||null;this.throwOnError=u;this.highWaterMark=d;this.signal=r;this.reason=null;this.removeAbortListener=null;if(a.isStream(c)){c.on("error",(e=>{this.onError(e)}))}if(this.signal){if(this.signal.aborted){this.reason=this.signal.reason??new o}else{this.removeAbortListener=a.addAbortListener(this.signal,(()=>{this.reason=this.signal.reason??new o;if(this.res){a.destroy(this.res.on("error",a.nop),this.reason)}else if(this.abort){this.abort(this.reason)}if(this.removeAbortListener){this.res?.off("close",this.removeAbortListener);this.removeAbortListener();this.removeAbortListener=null}}))}}}onConnect(e,t){if(this.reason){e(this.reason);return}n(this.callback);this.abort=e;this.context=t}onHeaders(e,t,r,n){const{callback:i,opaque:o,abort:l,context:A,responseHeaders:u,highWaterMark:d}=this;const g=u==="raw"?a.parseRawHeaders(t):a.parseHeaders(t);if(e<200){if(this.onInfo){this.onInfo({statusCode:e,headers:g})}return}const p=u==="raw"?a.parseHeaders(t):g;const h=p["content-type"];const m=p["content-length"];const f=new s({resume:r,abort:l,contentType:h,contentLength:this.method!=="HEAD"&&m?Number(m):null,highWaterMark:d});if(this.removeAbortListener){f.on("close",this.removeAbortListener)}this.callback=null;this.res=f;if(i!==null){if(this.throwOnError&&e>=400){this.runInAsyncScope(c,null,{callback:i,body:f,contentType:h,statusCode:e,statusMessage:n,headers:g})}else{this.runInAsyncScope(i,null,null,{statusCode:e,headers:g,trailers:this.trailers,opaque:o,body:f,context:A})}}}onData(e){return this.res.push(e)}onComplete(e){a.parseHeaders(e,this.trailers);this.res.push(null)}onError(e){const{res:t,callback:r,body:n,opaque:s}=this;if(r){this.callback=null;queueMicrotask((()=>{this.runInAsyncScope(r,null,e,{opaque:s})}))}if(t){this.res=null;queueMicrotask((()=>{a.destroy(t,e)}))}if(n){this.body=null;a.destroy(n,e)}if(this.removeAbortListener){t?.off("close",this.removeAbortListener);this.removeAbortListener();this.removeAbortListener=null}}}function request(e,t){if(t===undefined){return new Promise(((t,r)=>{request.call(this,e,((e,n)=>e?r(e):t(n)))}))}try{this.dispatch(e,new RequestHandler(e,t))}catch(r){if(typeof t!=="function"){throw r}const n=e?.opaque;queueMicrotask((()=>t(r,{opaque:n})))}}e.exports=request;e.exports.RequestHandler=RequestHandler},3560:(e,t,r)=>{const n=r(4589);const{finished:s,PassThrough:i}=r(7075);const{InvalidArgumentError:o,InvalidReturnValueError:a}=r(8707);const c=r(3440);const{getResolveErrorBodyCallback:l}=r(7655);const{AsyncResource:A}=r(6698);const{addSignal:u,removeSignal:d}=r(158);class StreamHandler extends A{constructor(e,t,r){if(!e||typeof e!=="object"){throw new o("invalid opts")}const{signal:n,method:s,opaque:i,body:a,onInfo:l,responseHeaders:A,throwOnError:d}=e;try{if(typeof r!=="function"){throw new o("invalid callback")}if(typeof t!=="function"){throw new o("invalid factory")}if(n&&typeof n.on!=="function"&&typeof n.addEventListener!=="function"){throw new o("signal must be an EventEmitter or EventTarget")}if(s==="CONNECT"){throw new o("invalid method")}if(l&&typeof l!=="function"){throw new o("invalid onInfo callback")}super("UNDICI_STREAM")}catch(e){if(c.isStream(a)){c.destroy(a.on("error",c.nop),e)}throw e}this.responseHeaders=A||null;this.opaque=i||null;this.factory=t;this.callback=r;this.res=null;this.abort=null;this.context=null;this.trailers=null;this.body=a;this.onInfo=l||null;this.throwOnError=d||false;if(c.isStream(a)){a.on("error",(e=>{this.onError(e)}))}u(this,n)}onConnect(e,t){if(this.reason){e(this.reason);return}n(this.callback);this.abort=e;this.context=t}onHeaders(e,t,r,n){const{factory:o,opaque:A,context:u,callback:d,responseHeaders:g}=this;const p=g==="raw"?c.parseRawHeaders(t):c.parseHeaders(t);if(e<200){if(this.onInfo){this.onInfo({statusCode:e,headers:p})}return}this.factory=null;let h;if(this.throwOnError&&e>=400){const r=g==="raw"?c.parseHeaders(t):p;const s=r["content-type"];h=new i;this.callback=null;this.runInAsyncScope(l,null,{callback:d,body:h,contentType:s,statusCode:e,statusMessage:n,headers:p})}else{if(o===null){return}h=this.runInAsyncScope(o,null,{statusCode:e,headers:p,opaque:A,context:u});if(!h||typeof h.write!=="function"||typeof h.end!=="function"||typeof h.on!=="function"){throw new a("expected Writable")}s(h,{readable:false},(e=>{const{callback:t,res:r,opaque:n,trailers:s,abort:i}=this;this.res=null;if(e||!r.readable){c.destroy(r,e)}this.callback=null;this.runInAsyncScope(t,null,e||null,{opaque:n,trailers:s});if(e){i()}}))}h.on("drain",r);this.res=h;const m=h.writableNeedDrain!==undefined?h.writableNeedDrain:h._writableState?.needDrain;return m!==true}onData(e){const{res:t}=this;return t?t.write(e):true}onComplete(e){const{res:t}=this;d(this);if(!t){return}this.trailers=c.parseHeaders(e);t.end()}onError(e){const{res:t,callback:r,opaque:n,body:s}=this;d(this);this.factory=null;if(t){this.res=null;c.destroy(t,e)}else if(r){this.callback=null;queueMicrotask((()=>{this.runInAsyncScope(r,null,e,{opaque:n})}))}if(s){this.body=null;c.destroy(s,e)}}}function stream(e,t,r){if(r===undefined){return new Promise(((r,n)=>{stream.call(this,e,t,((e,t)=>e?n(e):r(t)))}))}try{this.dispatch(e,new StreamHandler(e,t,r))}catch(t){if(typeof r!=="function"){throw t}const n=e?.opaque;queueMicrotask((()=>r(t,{opaque:n})))}}e.exports=stream},1882:(e,t,r)=>{const{InvalidArgumentError:n,SocketError:s}=r(8707);const{AsyncResource:i}=r(6698);const o=r(3440);const{addSignal:a,removeSignal:c}=r(158);const l=r(4589);class UpgradeHandler extends i{constructor(e,t){if(!e||typeof e!=="object"){throw new n("invalid opts")}if(typeof t!=="function"){throw new n("invalid callback")}const{signal:r,opaque:s,responseHeaders:i}=e;if(r&&typeof r.on!=="function"&&typeof r.addEventListener!=="function"){throw new n("signal must be an EventEmitter or EventTarget")}super("UNDICI_UPGRADE");this.responseHeaders=i||null;this.opaque=s||null;this.callback=t;this.abort=null;this.context=null;a(this,r)}onConnect(e,t){if(this.reason){e(this.reason);return}l(this.callback);this.abort=e;this.context=null}onHeaders(){throw new s("bad upgrade",null)}onUpgrade(e,t,r){l(e===101);const{callback:n,opaque:s,context:i}=this;c(this);this.callback=null;const a=this.responseHeaders==="raw"?o.parseRawHeaders(t):o.parseHeaders(t);this.runInAsyncScope(n,null,null,{headers:a,socket:r,opaque:s,context:i})}onError(e){const{callback:t,opaque:r}=this;c(this);if(t){this.callback=null;queueMicrotask((()=>{this.runInAsyncScope(t,null,e,{opaque:r})}))}}}function upgrade(e,t){if(t===undefined){return new Promise(((t,r)=>{upgrade.call(this,e,((e,n)=>e?r(e):t(n)))}))}try{const r=new UpgradeHandler(e,t);this.dispatch({...e,method:e.method||"GET",upgrade:e.protocol||"Websocket"},r)}catch(r){if(typeof t!=="function"){throw r}const n=e?.opaque;queueMicrotask((()=>t(r,{opaque:n})))}}e.exports=upgrade},6615:(e,t,r)=>{e.exports.request=r(4043);e.exports.stream=r(3560);e.exports.pipeline=r(6862);e.exports.upgrade=r(1882);e.exports.connect=r(2279)},9927:(e,t,r)=>{const n=r(4589);const{Readable:s}=r(7075);const{RequestAbortedError:i,NotSupportedError:o,InvalidArgumentError:a,AbortError:c}=r(8707);const l=r(3440);const{ReadableStreamFrom:A}=r(3440);const u=Symbol("kConsume");const d=Symbol("kReading");const g=Symbol("kBody");const p=Symbol("kAbort");const h=Symbol("kContentType");const m=Symbol("kContentLength");const noop=()=>{};class BodyReadable extends s{constructor({resume:e,abort:t,contentType:r="",contentLength:n,highWaterMark:s=64*1024}){super({autoDestroy:true,read:e,highWaterMark:s});this._readableState.dataEmitted=false;this[p]=t;this[u]=null;this[g]=null;this[h]=r;this[m]=n;this[d]=false}destroy(e){if(!e&&!this._readableState.endEmitted){e=new i}if(e){this[p]()}return super.destroy(e)}_destroy(e,t){if(!this[d]){setImmediate((()=>{t(e)}))}else{t(e)}}on(e,...t){if(e==="data"||e==="readable"){this[d]=true}return super.on(e,...t)}addListener(e,...t){return this.on(e,...t)}off(e,...t){const r=super.off(e,...t);if(e==="data"||e==="readable"){this[d]=this.listenerCount("data")>0||this.listenerCount("readable")>0}return r}removeListener(e,...t){return this.off(e,...t)}push(e){if(this[u]&&e!==null){consumePush(this[u],e);return this[d]?super.push(e):true}return super.push(e)}async text(){return consume(this,"text")}async json(){return consume(this,"json")}async blob(){return consume(this,"blob")}async bytes(){return consume(this,"bytes")}async arrayBuffer(){return consume(this,"arrayBuffer")}async formData(){throw new o}get bodyUsed(){return l.isDisturbed(this)}get body(){if(!this[g]){this[g]=A(this);if(this[u]){this[g].getReader();n(this[g].locked)}}return this[g]}async dump(e){let t=Number.isFinite(e?.limit)?e.limit:128*1024;const r=e?.signal;if(r!=null&&(typeof r!=="object"||!("aborted"in r))){throw new a("signal must be an AbortSignal")}r?.throwIfAborted();if(this._readableState.closeEmitted){return null}return await new Promise(((e,n)=>{if(this[m]>t){this.destroy(new c)}const onAbort=()=>{this.destroy(r.reason??new c)};r?.addEventListener("abort",onAbort);this.on("close",(function(){r?.removeEventListener("abort",onAbort);if(r?.aborted){n(r.reason??new c)}else{e(null)}})).on("error",noop).on("data",(function(e){t-=e.length;if(t<=0){this.destroy()}})).resume()}))}}function isLocked(e){return e[g]&&e[g].locked===true||e[u]}function isUnusable(e){return l.isDisturbed(e)||isLocked(e)}async function consume(e,t){n(!e[u]);return new Promise(((r,n)=>{if(isUnusable(e)){const t=e._readableState;if(t.destroyed&&t.closeEmitted===false){e.on("error",(e=>{n(e)})).on("close",(()=>{n(new TypeError("unusable"))}))}else{n(t.errored??new TypeError("unusable"))}}else{queueMicrotask((()=>{e[u]={type:t,stream:e,resolve:r,reject:n,length:0,body:[]};e.on("error",(function(e){consumeFinish(this[u],e)})).on("close",(function(){if(this[u].body!==null){consumeFinish(this[u],new i)}}));consumeStart(e[u])}))}}))}function consumeStart(e){if(e.body===null){return}const{_readableState:t}=e.stream;if(t.bufferIndex){const r=t.bufferIndex;const n=t.buffer.length;for(let s=r;s<n;s++){consumePush(e,t.buffer[s])}}else{for(const r of t.buffer){consumePush(e,r)}}if(t.endEmitted){consumeEnd(this[u])}else{e.stream.on("end",(function(){consumeEnd(this[u])}))}e.stream.resume();while(e.stream.read()!=null){}}function chunksDecode(e,t){if(e.length===0||t===0){return""}const r=e.length===1?e[0]:Buffer.concat(e,t);const n=r.length;const s=n>2&&r[0]===239&&r[1]===187&&r[2]===191?3:0;return r.utf8Slice(s,n)}function chunksConcat(e,t){if(e.length===0||t===0){return new Uint8Array(0)}if(e.length===1){return new Uint8Array(e[0])}const r=new Uint8Array(Buffer.allocUnsafeSlow(t).buffer);let n=0;for(let t=0;t<e.length;++t){const s=e[t];r.set(s,n);n+=s.length}return r}function consumeEnd(e){const{type:t,body:r,resolve:n,stream:s,length:i}=e;try{if(t==="text"){n(chunksDecode(r,i))}else if(t==="json"){n(JSON.parse(chunksDecode(r,i)))}else if(t==="arrayBuffer"){n(chunksConcat(r,i).buffer)}else if(t==="blob"){n(new Blob(r,{type:s[h]}))}else if(t==="bytes"){n(chunksConcat(r,i))}consumeFinish(e)}catch(e){s.destroy(e)}}function consumePush(e,t){e.length+=t.length;e.body.push(t)}function consumeFinish(e,t){if(e.body===null){return}if(t){e.reject(t)}else{e.resolve()}e.type=null;e.stream=null;e.resolve=null;e.reject=null;e.length=0;e.body=null}e.exports={Readable:BodyReadable,chunksDecode:chunksDecode}},7655:(e,t,r)=>{const n=r(4589);const{ResponseStatusCodeError:s}=r(8707);const{chunksDecode:i}=r(9927);const o=128*1024;async function getResolveErrorBodyCallback({callback:e,body:t,contentType:r,statusCode:a,statusMessage:c,headers:l}){n(t);let A=[];let u=0;try{for await(const e of t){A.push(e);u+=e.length;if(u>o){A=[];u=0;break}}}catch{A=[];u=0}const d=`Response status code ${a}${c?`: ${c}`:""}`;if(a===204||!r||!u){queueMicrotask((()=>e(new s(d,a,l))));return}const g=Error.stackTraceLimit;Error.stackTraceLimit=0;let p;try{if(isContentTypeApplicationJson(r)){p=JSON.parse(i(A,u))}else if(isContentTypeText(r)){p=i(A,u)}}catch{}finally{Error.stackTraceLimit=g}queueMicrotask((()=>e(new s(d,a,l,p))))}const isContentTypeApplicationJson=e=>e.length>15&&e[11]==="/"&&e[0]==="a"&&e[1]==="p"&&e[2]==="p"&&e[3]==="l"&&e[4]==="i"&&e[5]==="c"&&e[6]==="a"&&e[7]==="t"&&e[8]==="i"&&e[9]==="o"&&e[10]==="n"&&e[12]==="j"&&e[13]==="s"&&e[14]==="o"&&e[15]==="n";const isContentTypeText=e=>e.length>4&&e[4]==="/"&&e[0]==="t"&&e[1]==="e"&&e[2]==="x"&&e[3]==="t";e.exports={getResolveErrorBodyCallback:getResolveErrorBodyCallback,isContentTypeApplicationJson:isContentTypeApplicationJson,isContentTypeText:isContentTypeText}},9136:(e,t,r)=>{const n=r(7030);const s=r(4589);const i=r(3440);const{InvalidArgumentError:o,ConnectTimeoutError:a}=r(8707);const c=r(6603);function noop(){}let l;let A;if(global.FinalizationRegistry&&!(process.env.NODE_V8_COVERAGE||process.env.UNDICI_NO_FG)){A=class WeakSessionCache{constructor(e){this._maxCachedSessions=e;this._sessionCache=new Map;this._sessionRegistry=new global.FinalizationRegistry((e=>{if(this._sessionCache.size<this._maxCachedSessions){return}const t=this._sessionCache.get(e);if(t!==undefined&&t.deref()===undefined){this._sessionCache.delete(e)}}))}get(e){const t=this._sessionCache.get(e);return t?t.deref():null}set(e,t){if(this._maxCachedSessions===0){return}this._sessionCache.set(e,new WeakRef(t));this._sessionRegistry.register(t,e)}}}else{A=class SimpleSessionCache{constructor(e){this._maxCachedSessions=e;this._sessionCache=new Map}get(e){return this._sessionCache.get(e)}set(e,t){if(this._maxCachedSessions===0){return}if(this._sessionCache.size>=this._maxCachedSessions){const{value:e}=this._sessionCache.keys().next();this._sessionCache.delete(e)}this._sessionCache.set(e,t)}}}function buildConnector({allowH2:e,maxCachedSessions:t,socketPath:a,timeout:c,session:d,...g}){if(t!=null&&(!Number.isInteger(t)||t<0)){throw new o("maxCachedSessions must be a positive integer or zero")}const p={path:a,...g};const h=new A(t==null?100:t);c=c==null?1e4:c;e=e!=null?e:false;return function connect({hostname:t,host:o,protocol:a,port:A,servername:g,localAddress:m,httpSocket:f},C){let y;if(a==="https:"){if(!l){l=r(1692)}g=g||p.servername||i.getServerName(o)||null;const n=g||t;s(n);const a=d||h.get(n)||null;A=A||443;y=l.connect({highWaterMark:16384,...p,servername:g,session:a,localAddress:m,ALPNProtocols:e?["http/1.1","h2"]:["http/1.1"],socket:f,port:A,host:t});y.on("session",(function(e){h.set(n,e)}))}else{s(!f,"httpSocket can only be sent on TLS update");A=A||80;y=n.connect({highWaterMark:64*1024,...p,localAddress:m,port:A,host:t})}if(p.keepAlive==null||p.keepAlive){const e=p.keepAliveInitialDelay===undefined?6e4:p.keepAliveInitialDelay;y.setKeepAlive(true,e)}const E=u(new WeakRef(y),{timeout:c,hostname:t,port:A});y.setNoDelay(true).once(a==="https:"?"secureConnect":"connect",(function(){queueMicrotask(E);if(C){const e=C;C=null;e(null,this)}})).on("error",(function(e){queueMicrotask(E);if(C){const t=C;C=null;t(e)}}));return y}}const u=process.platform==="win32"?(e,t)=>{if(!t.timeout){return noop}let r=null;let n=null;const s=c.setFastTimeout((()=>{r=setImmediate((()=>{n=setImmediate((()=>onConnectTimeout(e.deref(),t)))}))}),t.timeout);return()=>{c.clearFastTimeout(s);clearImmediate(r);clearImmediate(n)}}:(e,t)=>{if(!t.timeout){return noop}let r=null;const n=c.setFastTimeout((()=>{r=setImmediate((()=>{onConnectTimeout(e.deref(),t)}))}),t.timeout);return()=>{c.clearFastTimeout(n);clearImmediate(r)}};function onConnectTimeout(e,t){if(e==null){return}let r="Connect Timeout Error";if(Array.isArray(e.autoSelectFamilyAttemptedAddresses)){r+=` (attempted addresses: ${e.autoSelectFamilyAttemptedAddresses.join(", ")},`}else{r+=` (attempted address: ${t.hostname}:${t.port},`}r+=` timeout: ${t.timeout}ms)`;i.destroy(e,new a(r))}e.exports=buildConnector},735:e=>{const t={};const r=["Accept","Accept-Encoding","Accept-Language","Accept-Ranges","Access-Control-Allow-Credentials","Access-Control-Allow-Headers","Access-Control-Allow-Methods","Access-Control-Allow-Origin","Access-Control-Expose-Headers","Access-Control-Max-Age","Access-Control-Request-Headers","Access-Control-Request-Method","Age","Allow","Alt-Svc","Alt-Used","Authorization","Cache-Control","Clear-Site-Data","Connection","Content-Disposition","Content-Encoding","Content-Language","Content-Length","Content-Location","Content-Range","Content-Security-Policy","Content-Security-Policy-Report-Only","Content-Type","Cookie","Cross-Origin-Embedder-Policy","Cross-Origin-Opener-Policy","Cross-Origin-Resource-Policy","Date","Device-Memory","Downlink","ECT","ETag","Expect","Expect-CT","Expires","Forwarded","From","Host","If-Match","If-Modified-Since","If-None-Match","If-Range","If-Unmodified-Since","Keep-Alive","Last-Modified","Link","Location","Max-Forwards","Origin","Permissions-Policy","Pragma","Proxy-Authenticate","Proxy-Authorization","RTT","Range","Referer","Referrer-Policy","Refresh","Retry-After","Sec-WebSocket-Accept","Sec-WebSocket-Extensions","Sec-WebSocket-Key","Sec-WebSocket-Protocol","Sec-WebSocket-Version","Server","Server-Timing","Service-Worker-Allowed","Service-Worker-Navigation-Preload","Set-Cookie","SourceMap","Strict-Transport-Security","Supports-Loading-Mode","TE","Timing-Allow-Origin","Trailer","Transfer-Encoding","Upgrade","Upgrade-Insecure-Requests","User-Agent","Vary","Via","WWW-Authenticate","X-Content-Type-Options","X-DNS-Prefetch-Control","X-Frame-Options","X-Permitted-Cross-Domain-Policies","X-Powered-By","X-Requested-With","X-XSS-Protection"];for(let e=0;e<r.length;++e){const n=r[e];const s=n.toLowerCase();t[n]=t[s]=s}Object.setPrototypeOf(t,null);e.exports={wellknownHeaderNames:r,headerNameLowerCasedRecord:t}},2414:(e,t,r)=>{const n=r(3053);const s=r(7975);const i=s.debuglog("undici");const o=s.debuglog("fetch");const a=s.debuglog("websocket");let c=false;const l={beforeConnect:n.channel("undici:client:beforeConnect"),connected:n.channel("undici:client:connected"),connectError:n.channel("undici:client:connectError"),sendHeaders:n.channel("undici:client:sendHeaders"),create:n.channel("undici:request:create"),bodySent:n.channel("undici:request:bodySent"),headers:n.channel("undici:request:headers"),trailers:n.channel("undici:request:trailers"),error:n.channel("undici:request:error"),open:n.channel("undici:websocket:open"),close:n.channel("undici:websocket:close"),socketError:n.channel("undici:websocket:socket_error"),ping:n.channel("undici:websocket:ping"),pong:n.channel("undici:websocket:pong")};if(i.enabled||o.enabled){const e=o.enabled?o:i;n.channel("undici:client:beforeConnect").subscribe((t=>{const{connectParams:{version:r,protocol:n,port:s,host:i}}=t;e("connecting to %s using %s%s",`${i}${s?`:${s}`:""}`,n,r)}));n.channel("undici:client:connected").subscribe((t=>{const{connectParams:{version:r,protocol:n,port:s,host:i}}=t;e("connected to %s using %s%s",`${i}${s?`:${s}`:""}`,n,r)}));n.channel("undici:client:connectError").subscribe((t=>{const{connectParams:{version:r,protocol:n,port:s,host:i},error:o}=t;e("connection to %s using %s%s errored - %s",`${i}${s?`:${s}`:""}`,n,r,o.message)}));n.channel("undici:client:sendHeaders").subscribe((t=>{const{request:{method:r,path:n,origin:s}}=t;e("sending request to %s %s/%s",r,s,n)}));n.channel("undici:request:headers").subscribe((t=>{const{request:{method:r,path:n,origin:s},response:{statusCode:i}}=t;e("received response to %s %s/%s - HTTP %d",r,s,n,i)}));n.channel("undici:request:trailers").subscribe((t=>{const{request:{method:r,path:n,origin:s}}=t;e("trailers received from %s %s/%s",r,s,n)}));n.channel("undici:request:error").subscribe((t=>{const{request:{method:r,path:n,origin:s},error:i}=t;e("request to %s %s/%s errored - %s",r,s,n,i.message)}));c=true}if(a.enabled){if(!c){const e=i.enabled?i:a;n.channel("undici:client:beforeConnect").subscribe((t=>{const{connectParams:{version:r,protocol:n,port:s,host:i}}=t;e("connecting to %s%s using %s%s",i,s?`:${s}`:"",n,r)}));n.channel("undici:client:connected").subscribe((t=>{const{connectParams:{version:r,protocol:n,port:s,host:i}}=t;e("connected to %s%s using %s%s",i,s?`:${s}`:"",n,r)}));n.channel("undici:client:connectError").subscribe((t=>{const{connectParams:{version:r,protocol:n,port:s,host:i},error:o}=t;e("connection to %s%s using %s%s errored - %s",i,s?`:${s}`:"",n,r,o.message)}));n.channel("undici:client:sendHeaders").subscribe((t=>{const{request:{method:r,path:n,origin:s}}=t;e("sending request to %s %s/%s",r,s,n)}))}n.channel("undici:websocket:open").subscribe((e=>{const{address:{address:t,port:r}}=e;a("connection opened %s%s",t,r?`:${r}`:"")}));n.channel("undici:websocket:close").subscribe((e=>{const{websocket:t,code:r,reason:n}=e;a("closed connection to %s - %s %s",t.url,r,n)}));n.channel("undici:websocket:socket_error").subscribe((e=>{a("connection errored - %s",e.message)}));n.channel("undici:websocket:ping").subscribe((e=>{a("ping received")}));n.channel("undici:websocket:pong").subscribe((e=>{a("pong received")}))}e.exports={channels:l}},8707:e=>{const t=Symbol.for("undici.error.UND_ERR");class UndiciError extends Error{constructor(e){super(e);this.name="UndiciError";this.code="UND_ERR"}static[Symbol.hasInstance](e){return e&&e[t]===true}[t]=true}const r=Symbol.for("undici.error.UND_ERR_CONNECT_TIMEOUT");class ConnectTimeoutError extends UndiciError{constructor(e){super(e);this.name="ConnectTimeoutError";this.message=e||"Connect Timeout Error";this.code="UND_ERR_CONNECT_TIMEOUT"}static[Symbol.hasInstance](e){return e&&e[r]===true}[r]=true}const n=Symbol.for("undici.error.UND_ERR_HEADERS_TIMEOUT");class HeadersTimeoutError extends UndiciError{constructor(e){super(e);this.name="HeadersTimeoutError";this.message=e||"Headers Timeout Error";this.code="UND_ERR_HEADERS_TIMEOUT"}static[Symbol.hasInstance](e){return e&&e[n]===true}[n]=true}const s=Symbol.for("undici.error.UND_ERR_HEADERS_OVERFLOW");class HeadersOverflowError extends UndiciError{constructor(e){super(e);this.name="HeadersOverflowError";this.message=e||"Headers Overflow Error";this.code="UND_ERR_HEADERS_OVERFLOW"}static[Symbol.hasInstance](e){return e&&e[s]===true}[s]=true}const i=Symbol.for("undici.error.UND_ERR_BODY_TIMEOUT");class BodyTimeoutError extends UndiciError{constructor(e){super(e);this.name="BodyTimeoutError";this.message=e||"Body Timeout Error";this.code="UND_ERR_BODY_TIMEOUT"}static[Symbol.hasInstance](e){return e&&e[i]===true}[i]=true}const o=Symbol.for("undici.error.UND_ERR_RESPONSE_STATUS_CODE");class ResponseStatusCodeError extends UndiciError{constructor(e,t,r,n){super(e);this.name="ResponseStatusCodeError";this.message=e||"Response Status Code Error";this.code="UND_ERR_RESPONSE_STATUS_CODE";this.body=n;this.status=t;this.statusCode=t;this.headers=r}static[Symbol.hasInstance](e){return e&&e[o]===true}[o]=true}const a=Symbol.for("undici.error.UND_ERR_INVALID_ARG");class InvalidArgumentError extends UndiciError{constructor(e){super(e);this.name="InvalidArgumentError";this.message=e||"Invalid Argument Error";this.code="UND_ERR_INVALID_ARG"}static[Symbol.hasInstance](e){return e&&e[a]===true}[a]=true}const c=Symbol.for("undici.error.UND_ERR_INVALID_RETURN_VALUE");class InvalidReturnValueError extends UndiciError{constructor(e){super(e);this.name="InvalidReturnValueError";this.message=e||"Invalid Return Value Error";this.code="UND_ERR_INVALID_RETURN_VALUE"}static[Symbol.hasInstance](e){return e&&e[c]===true}[c]=true}const l=Symbol.for("undici.error.UND_ERR_ABORT");class AbortError extends UndiciError{constructor(e){super(e);this.name="AbortError";this.message=e||"The operation was aborted";this.code="UND_ERR_ABORT"}static[Symbol.hasInstance](e){return e&&e[l]===true}[l]=true}const A=Symbol.for("undici.error.UND_ERR_ABORTED");class RequestAbortedError extends AbortError{constructor(e){super(e);this.name="AbortError";this.message=e||"Request aborted";this.code="UND_ERR_ABORTED"}static[Symbol.hasInstance](e){return e&&e[A]===true}[A]=true}const u=Symbol.for("undici.error.UND_ERR_INFO");class InformationalError extends UndiciError{constructor(e){super(e);this.name="InformationalError";this.message=e||"Request information";this.code="UND_ERR_INFO"}static[Symbol.hasInstance](e){return e&&e[u]===true}[u]=true}const d=Symbol.for("undici.error.UND_ERR_REQ_CONTENT_LENGTH_MISMATCH");class RequestContentLengthMismatchError extends UndiciError{constructor(e){super(e);this.name="RequestContentLengthMismatchError";this.message=e||"Request body length does not match content-length header";this.code="UND_ERR_REQ_CONTENT_LENGTH_MISMATCH"}static[Symbol.hasInstance](e){return e&&e[d]===true}[d]=true}const g=Symbol.for("undici.error.UND_ERR_RES_CONTENT_LENGTH_MISMATCH");class ResponseContentLengthMismatchError extends UndiciError{constructor(e){super(e);this.name="ResponseContentLengthMismatchError";this.message=e||"Response body length does not match content-length header";this.code="UND_ERR_RES_CONTENT_LENGTH_MISMATCH"}static[Symbol.hasInstance](e){return e&&e[g]===true}[g]=true}const p=Symbol.for("undici.error.UND_ERR_DESTROYED");class ClientDestroyedError extends UndiciError{constructor(e){super(e);this.name="ClientDestroyedError";this.message=e||"The client is destroyed";this.code="UND_ERR_DESTROYED"}static[Symbol.hasInstance](e){return e&&e[p]===true}[p]=true}const h=Symbol.for("undici.error.UND_ERR_CLOSED");class ClientClosedError extends UndiciError{constructor(e){super(e);this.name="ClientClosedError";this.message=e||"The client is closed";this.code="UND_ERR_CLOSED"}static[Symbol.hasInstance](e){return e&&e[h]===true}[h]=true}const m=Symbol.for("undici.error.UND_ERR_SOCKET");class SocketError extends UndiciError{constructor(e,t){super(e);this.name="SocketError";this.message=e||"Socket error";this.code="UND_ERR_SOCKET";this.socket=t}static[Symbol.hasInstance](e){return e&&e[m]===true}[m]=true}const f=Symbol.for("undici.error.UND_ERR_NOT_SUPPORTED");class NotSupportedError extends UndiciError{constructor(e){super(e);this.name="NotSupportedError";this.message=e||"Not supported error";this.code="UND_ERR_NOT_SUPPORTED"}static[Symbol.hasInstance](e){return e&&e[f]===true}[f]=true}const C=Symbol.for("undici.error.UND_ERR_BPL_MISSING_UPSTREAM");class BalancedPoolMissingUpstreamError extends UndiciError{constructor(e){super(e);this.name="MissingUpstreamError";this.message=e||"No upstream has been added to the BalancedPool";this.code="UND_ERR_BPL_MISSING_UPSTREAM"}static[Symbol.hasInstance](e){return e&&e[C]===true}[C]=true}const y=Symbol.for("undici.error.UND_ERR_HTTP_PARSER");class HTTPParserError extends Error{constructor(e,t,r){super(e);this.name="HTTPParserError";this.code=t?`HPE_${t}`:undefined;this.data=r?r.toString():undefined}static[Symbol.hasInstance](e){return e&&e[y]===true}[y]=true}const E=Symbol.for("undici.error.UND_ERR_RES_EXCEEDED_MAX_SIZE");class ResponseExceededMaxSizeError extends UndiciError{constructor(e){super(e);this.name="ResponseExceededMaxSizeError";this.message=e||"Response content exceeded max size";this.code="UND_ERR_RES_EXCEEDED_MAX_SIZE"}static[Symbol.hasInstance](e){return e&&e[E]===true}[E]=true}const I=Symbol.for("undici.error.UND_ERR_REQ_RETRY");class RequestRetryError extends UndiciError{constructor(e,t,{headers:r,data:n}){super(e);this.name="RequestRetryError";this.message=e||"Request retry error";this.code="UND_ERR_REQ_RETRY";this.statusCode=t;this.data=n;this.headers=r}static[Symbol.hasInstance](e){return e&&e[I]===true}[I]=true}const B=Symbol.for("undici.error.UND_ERR_RESPONSE");class ResponseError extends UndiciError{constructor(e,t,{headers:r,data:n}){super(e);this.name="ResponseError";this.message=e||"Response error";this.code="UND_ERR_RESPONSE";this.statusCode=t;this.data=n;this.headers=r}static[Symbol.hasInstance](e){return e&&e[B]===true}[B]=true}const Q=Symbol.for("undici.error.UND_ERR_PRX_TLS");class SecureProxyConnectionError extends UndiciError{constructor(e,t,r){super(t,{cause:e,...r??{}});this.name="SecureProxyConnectionError";this.message=t||"Secure Proxy Connection failed";this.code="UND_ERR_PRX_TLS";this.cause=e}static[Symbol.hasInstance](e){return e&&e[Q]===true}[Q]=true}const b=Symbol.for("undici.error.UND_ERR_WS_MESSAGE_SIZE_EXCEEDED");class MessageSizeExceededError extends UndiciError{constructor(e){super(e);this.name="MessageSizeExceededError";this.message=e||"Max decompressed message size exceeded";this.code="UND_ERR_WS_MESSAGE_SIZE_EXCEEDED"}static[Symbol.hasInstance](e){return e&&e[b]===true}get[b](){return true}}e.exports={AbortError:AbortError,HTTPParserError:HTTPParserError,UndiciError:UndiciError,HeadersTimeoutError:HeadersTimeoutError,HeadersOverflowError:HeadersOverflowError,BodyTimeoutError:BodyTimeoutError,RequestContentLengthMismatchError:RequestContentLengthMismatchError,ConnectTimeoutError:ConnectTimeoutError,ResponseStatusCodeError:ResponseStatusCodeError,InvalidArgumentError:InvalidArgumentError,InvalidReturnValueError:InvalidReturnValueError,RequestAbortedError:RequestAbortedError,ClientDestroyedError:ClientDestroyedError,ClientClosedError:ClientClosedError,InformationalError:InformationalError,SocketError:SocketError,NotSupportedError:NotSupportedError,ResponseContentLengthMismatchError:ResponseContentLengthMismatchError,BalancedPoolMissingUpstreamError:BalancedPoolMissingUpstreamError,ResponseExceededMaxSizeError:ResponseExceededMaxSizeError,RequestRetryError:RequestRetryError,ResponseError:ResponseError,SecureProxyConnectionError:SecureProxyConnectionError,MessageSizeExceededError:MessageSizeExceededError}},4655:(e,t,r)=>{const{InvalidArgumentError:n,NotSupportedError:s}=r(8707);const i=r(4589);const{isValidHTTPToken:o,isValidHeaderValue:a,isStream:c,destroy:l,isBuffer:A,isFormDataLike:u,isIterable:d,isBlobLike:g,buildURL:p,validateHandler:h,getServerName:m,normalizedMethodRecords:f}=r(3440);const{channels:C}=r(2414);const{headerNameLowerCasedRecord:y}=r(735);const E=/[^\u0021-\u00ff]/;const I=Symbol("handler");class Request{constructor(e,{path:t,method:r,body:s,headers:i,query:y,idempotent:B,blocking:Q,upgrade:b,headersTimeout:S,bodyTimeout:w,reset:D,throwOnError:N,expectContinue:x,servername:R},v){if(typeof t!=="string"){throw new n("path must be a string")}else if(t[0]!=="/"&&!(t.startsWith("http://")||t.startsWith("https://"))&&r!=="CONNECT"){throw new n("path must be an absolute URL or start with a slash")}else if(E.test(t)){throw new n("invalid request path")}if(typeof r!=="string"){throw new n("method must be a string")}else if(f[r]===undefined&&!o(r)){throw new n("invalid request method")}if(b&&typeof b!=="string"){throw new n("upgrade must be a string")}if(b&&!a(b)){throw new n("invalid upgrade header")}if(S!=null&&(!Number.isFinite(S)||S<0)){throw new n("invalid headersTimeout")}if(w!=null&&(!Number.isFinite(w)||w<0)){throw new n("invalid bodyTimeout")}if(D!=null&&typeof D!=="boolean"){throw new n("invalid reset")}if(x!=null&&typeof x!=="boolean"){throw new n("invalid expectContinue")}this.headersTimeout=S;this.bodyTimeout=w;this.throwOnError=N===true;this.method=r;this.abort=null;if(s==null){this.body=null}else if(c(s)){this.body=s;const e=this.body._readableState;if(!e||!e.autoDestroy){this.endHandler=function autoDestroy(){l(this)};this.body.on("end",this.endHandler)}this.errorHandler=e=>{if(this.abort){this.abort(e)}else{this.error=e}};this.body.on("error",this.errorHandler)}else if(A(s)){this.body=s.byteLength?s:null}else if(ArrayBuffer.isView(s)){this.body=s.buffer.byteLength?Buffer.from(s.buffer,s.byteOffset,s.byteLength):null}else if(s instanceof ArrayBuffer){this.body=s.byteLength?Buffer.from(s):null}else if(typeof s==="string"){this.body=s.length?Buffer.from(s):null}else if(u(s)||d(s)||g(s)){this.body=s}else{throw new n("body must be a string, a Buffer, a Readable stream, an iterable, or an async iterable")}this.completed=false;this.aborted=false;this.upgrade=b||null;this.path=y?p(t,y):t;this.origin=e;this.idempotent=B==null?r==="HEAD"||r==="GET":B;this.blocking=Q==null?false:Q;this.reset=D==null?null:D;this.host=null;this.contentLength=null;this.contentType=null;this.headers=[];this.expectContinue=x!=null?x:false;if(Array.isArray(i)){if(i.length%2!==0){throw new n("headers array must be even")}for(let e=0;e<i.length;e+=2){processHeader(this,i[e],i[e+1])}}else if(i&&typeof i==="object"){if(i[Symbol.iterator]){for(const e of i){if(!Array.isArray(e)||e.length!==2){throw new n("headers must be in key-value pair format")}processHeader(this,e[0],e[1])}}else{const e=Object.keys(i);for(let t=0;t<e.length;++t){processHeader(this,e[t],i[e[t]])}}}else if(i!=null){throw new n("headers must be an object or an array")}h(v,r,b);this.servername=R||m(this.host);this[I]=v;if(C.create.hasSubscribers){C.create.publish({request:this})}}onBodySent(e){if(this[I].onBodySent){try{return this[I].onBodySent(e)}catch(e){this.abort(e)}}}onRequestSent(){if(C.bodySent.hasSubscribers){C.bodySent.publish({request:this})}if(this[I].onRequestSent){try{return this[I].onRequestSent()}catch(e){this.abort(e)}}}onConnect(e){i(!this.aborted);i(!this.completed);if(this.error){e(this.error)}else{this.abort=e;return this[I].onConnect(e)}}onResponseStarted(){return this[I].onResponseStarted?.()}onHeaders(e,t,r,n){i(!this.aborted);i(!this.completed);if(C.headers.hasSubscribers){C.headers.publish({request:this,response:{statusCode:e,headers:t,statusText:n}})}try{return this[I].onHeaders(e,t,r,n)}catch(e){this.abort(e)}}onData(e){i(!this.aborted);i(!this.completed);try{return this[I].onData(e)}catch(e){this.abort(e);return false}}onUpgrade(e,t,r){i(!this.aborted);i(!this.completed);return this[I].onUpgrade(e,t,r)}onComplete(e){this.onFinally();i(!this.aborted);this.completed=true;if(C.trailers.hasSubscribers){C.trailers.publish({request:this,trailers:e})}try{return this[I].onComplete(e)}catch(e){this.onError(e)}}onError(e){this.onFinally();if(C.error.hasSubscribers){C.error.publish({request:this,error:e})}if(this.aborted){return}this.aborted=true;return this[I].onError(e)}onFinally(){if(this.errorHandler){this.body.off("error",this.errorHandler);this.errorHandler=null}if(this.endHandler){this.body.off("end",this.endHandler);this.endHandler=null}}addHeader(e,t){processHeader(this,e,t);return this}}function processHeader(e,t,r){if(r&&(typeof r==="object"&&!Array.isArray(r))){throw new n(`invalid ${t} header`)}else if(r===undefined){return}let i=y[t];if(i===undefined){i=t.toLowerCase();if(y[i]===undefined&&!o(i)){throw new n("invalid header key")}}if(Array.isArray(r)){const e=[];for(let s=0;s<r.length;s++){if(typeof r[s]==="string"){if(!a(r[s])){throw new n(`invalid ${t} header`)}e.push(r[s])}else if(r[s]===null){e.push("")}else if(typeof r[s]==="object"){throw new n(`invalid ${t} header`)}else{const i=`${r[s]}`;if(!a(i)){throw new n(`invalid ${t} header`)}e.push(i)}}r=e}else if(typeof r==="string"){if(!a(r)){throw new n(`invalid ${t} header`)}}else if(r===null){r=""}else{r=`${r}`;if(!a(r)){throw new n(`invalid ${t} header`)}}if(i==="host"){if(e.host!==null){throw new n("duplicate host header")}if(typeof r!=="string"){throw new n("invalid host header")}e.host=r}else if(i==="content-length"){if(e.contentLength!==null){throw new n("duplicate content-length header")}e.contentLength=parseInt(r,10);if(!Number.isFinite(e.contentLength)){throw new n("invalid content-length header")}}else if(e.contentType===null&&i==="content-type"){e.contentType=r;e.headers.push(t,r)}else if(i==="transfer-encoding"||i==="keep-alive"||i==="upgrade"){throw new n(`invalid ${i} header`)}else if(i==="connection"){const t=typeof r==="string"?r.toLowerCase():null;if(t!=="close"&&t!=="keep-alive"){throw new n("invalid connection header")}if(t==="close"){e.reset=true}}else if(i==="expect"){throw new s("expect header not supported")}else{e.headers.push(t,r)}}e.exports=Request},6443:e=>{e.exports={kClose:Symbol("close"),kDestroy:Symbol("destroy"),kDispatch:Symbol("dispatch"),kUrl:Symbol("url"),kWriting:Symbol("writing"),kResuming:Symbol("resuming"),kQueue:Symbol("queue"),kConnect:Symbol("connect"),kConnecting:Symbol("connecting"),kKeepAliveDefaultTimeout:Symbol("default keep alive timeout"),kKeepAliveMaxTimeout:Symbol("max keep alive timeout"),kKeepAliveTimeoutThreshold:Symbol("keep alive timeout threshold"),kKeepAliveTimeoutValue:Symbol("keep alive timeout"),kKeepAlive:Symbol("keep alive"),kHeadersTimeout:Symbol("headers timeout"),kBodyTimeout:Symbol("body timeout"),kServerName:Symbol("server name"),kLocalAddress:Symbol("local address"),kHost:Symbol("host"),kNoRef:Symbol("no ref"),kBodyUsed:Symbol("used"),kBody:Symbol("abstracted request body"),kRunning:Symbol("running"),kBlocking:Symbol("blocking"),kPending:Symbol("pending"),kSize:Symbol("size"),kBusy:Symbol("busy"),kQueued:Symbol("queued"),kFree:Symbol("free"),kConnected:Symbol("connected"),kClosed:Symbol("closed"),kNeedDrain:Symbol("need drain"),kReset:Symbol("reset"),kDestroyed:Symbol.for("nodejs.stream.destroyed"),kResume:Symbol("resume"),kOnError:Symbol("on error"),kMaxHeadersSize:Symbol("max headers size"),kRunningIdx:Symbol("running index"),kPendingIdx:Symbol("pending index"),kError:Symbol("error"),kClients:Symbol("clients"),kClient:Symbol("client"),kParser:Symbol("parser"),kOnDestroyed:Symbol("destroy callbacks"),kPipelining:Symbol("pipelining"),kSocket:Symbol("socket"),kHostHeader:Symbol("host header"),kConnector:Symbol("connector"),kStrictContentLength:Symbol("strict content length"),kMaxRedirections:Symbol("maxRedirections"),kMaxRequests:Symbol("maxRequestsPerClient"),kProxy:Symbol("proxy agent options"),kCounter:Symbol("socket request counter"),kInterceptors:Symbol("dispatch interceptors"),kMaxResponseSize:Symbol("max response size"),kHTTP2Session:Symbol("http2Session"),kHTTP2SessionState:Symbol("http2Session state"),kRetryHandlerDefaultRetry:Symbol("retry agent default retry"),kConstruct:Symbol("constructable"),kListeners:Symbol("listeners"),kHTTPContext:Symbol("http context"),kMaxConcurrentStreams:Symbol("max concurrent streams"),kNoProxyAgent:Symbol("no proxy agent"),kHttpProxyAgent:Symbol("http proxy agent"),kHttpsProxyAgent:Symbol("https proxy agent")}},7752:(e,t,r)=>{const{wellknownHeaderNames:n,headerNameLowerCasedRecord:s}=r(735);class TstNode{value=null;left=null;middle=null;right=null;code;constructor(e,t,r){if(r===undefined||r>=e.length){throw new TypeError("Unreachable")}const n=this.code=e.charCodeAt(r);if(n>127){throw new TypeError("key must be ascii string")}if(e.length!==++r){this.middle=new TstNode(e,t,r)}else{this.value=t}}add(e,t){const r=e.length;if(r===0){throw new TypeError("Unreachable")}let n=0;let s=this;while(true){const i=e.charCodeAt(n);if(i>127){throw new TypeError("key must be ascii string")}if(s.code===i){if(r===++n){s.value=t;break}else if(s.middle!==null){s=s.middle}else{s.middle=new TstNode(e,t,n);break}}else if(s.code<i){if(s.left!==null){s=s.left}else{s.left=new TstNode(e,t,n);break}}else if(s.right!==null){s=s.right}else{s.right=new TstNode(e,t,n);break}}}search(e){const t=e.length;let r=0;let n=this;while(n!==null&&r<t){let s=e[r];if(s<=90&&s>=65){s|=32}while(n!==null){if(s===n.code){if(t===++r){return n}n=n.middle;break}n=n.code<s?n.left:n.right}}return null}}class TernarySearchTree{node=null;insert(e,t){if(this.node===null){this.node=new TstNode(e,t,0)}else{this.node.add(e,t)}}lookup(e){return this.node?.search(e)?.value??null}}const i=new TernarySearchTree;for(let e=0;e<n.length;++e){const t=s[n[e]];i.insert(t,t)}e.exports={TernarySearchTree:TernarySearchTree,tree:i}},3440:(e,t,r)=>{const n=r(4589);const{kDestroyed:s,kBodyUsed:i,kListeners:o,kBody:a}=r(6443);const{IncomingMessage:c}=r(7067);const l=r(7075);const A=r(7030);const{Blob:u}=r(4573);const d=r(7975);const{stringify:g}=r(1792);const{EventEmitter:p}=r(8474);const{InvalidArgumentError:h}=r(8707);const{headerNameLowerCasedRecord:m}=r(735);const{tree:f}=r(7752);const[C,y]=process.versions.node.split(".").map((e=>Number(e)));class BodyAsyncIterable{constructor(e){this[a]=e;this[i]=false}async*[Symbol.asyncIterator](){n(!this[i],"disturbed");this[i]=true;yield*this[a]}}function wrapRequestBody(e){if(isStream(e)){if(bodyLength(e)===0){e.on("data",(function(){n(false)}))}if(typeof e.readableDidRead!=="boolean"){e[i]=false;p.prototype.on.call(e,"data",(function(){this[i]=true}))}return e}else if(e&&typeof e.pipeTo==="function"){return new BodyAsyncIterable(e)}else if(e&&typeof e!=="string"&&!ArrayBuffer.isView(e)&&isIterable(e)){return new BodyAsyncIterable(e)}else{return e}}function nop(){}function isStream(e){return e&&typeof e==="object"&&typeof e.pipe==="function"&&typeof e.on==="function"}function isBlobLike(e){if(e===null){return false}else if(e instanceof u){return true}else if(typeof e!=="object"){return false}else{const t=e[Symbol.toStringTag];return(t==="Blob"||t==="File")&&("stream"in e&&typeof e.stream==="function"||"arrayBuffer"in e&&typeof e.arrayBuffer==="function")}}function buildURL(e,t){if(e.includes("?")||e.includes("#")){throw new Error('Query params cannot be passed when url already contains "?" or "#".')}const r=g(t);if(r){e+="?"+r}return e}function isValidPort(e){const t=parseInt(e,10);return t===Number(e)&&t>=0&&t<=65535}function isHttpOrHttpsPrefixed(e){return e!=null&&e[0]==="h"&&e[1]==="t"&&e[2]==="t"&&e[3]==="p"&&(e[4]===":"||e[4]==="s"&&e[5]===":")}function parseURL(e){if(typeof e==="string"){e=new URL(e);if(!isHttpOrHttpsPrefixed(e.origin||e.protocol)){throw new h("Invalid URL protocol: the URL must start with `http:` or `https:`.")}return e}if(!e||typeof e!=="object"){throw new h("Invalid URL: The URL argument must be a non-null object.")}if(!(e instanceof URL)){if(e.port!=null&&e.port!==""&&isValidPort(e.port)===false){throw new h("Invalid URL: port must be a valid integer or a string representation of an integer.")}if(e.path!=null&&typeof e.path!=="string"){throw new h("Invalid URL path: the path must be a string or null/undefined.")}if(e.pathname!=null&&typeof e.pathname!=="string"){throw new h("Invalid URL pathname: the pathname must be a string or null/undefined.")}if(e.hostname!=null&&typeof e.hostname!=="string"){throw new h("Invalid URL hostname: the hostname must be a string or null/undefined.")}if(e.origin!=null&&typeof e.origin!=="string"){throw new h("Invalid URL origin: the origin must be a string or null/undefined.")}if(!isHttpOrHttpsPrefixed(e.origin||e.protocol)){throw new h("Invalid URL protocol: the URL must start with `http:` or `https:`.")}const t=e.port!=null?e.port:e.protocol==="https:"?443:80;let r=e.origin!=null?e.origin:`${e.protocol||""}//${e.hostname||""}:${t}`;let n=e.path!=null?e.path:`${e.pathname||""}${e.search||""}`;if(r[r.length-1]==="/"){r=r.slice(0,r.length-1)}if(n&&n[0]!=="/"){n=`/${n}`}return new URL(`${r}${n}`)}if(!isHttpOrHttpsPrefixed(e.origin||e.protocol)){throw new h("Invalid URL protocol: the URL must start with `http:` or `https:`.")}return e}function parseOrigin(e){e=parseURL(e);if(e.pathname!=="/"||e.search||e.hash){throw new h("invalid url")}return e}function getHostname(e){if(e[0]==="["){const t=e.indexOf("]");n(t!==-1);return e.substring(1,t)}const t=e.indexOf(":");if(t===-1)return e;return e.substring(0,t)}function getServerName(e){if(!e){return null}n(typeof e==="string");const t=getHostname(e);if(A.isIP(t)){return""}return t}function deepClone(e){return JSON.parse(JSON.stringify(e))}function isAsyncIterable(e){return!!(e!=null&&typeof e[Symbol.asyncIterator]==="function")}function isIterable(e){return!!(e!=null&&(typeof e[Symbol.iterator]==="function"||typeof e[Symbol.asyncIterator]==="function"))}function bodyLength(e){if(e==null){return 0}else if(isStream(e)){const t=e._readableState;return t&&t.objectMode===false&&t.ended===true&&Number.isFinite(t.length)?t.length:null}else if(isBlobLike(e)){return e.size!=null?e.size:null}else if(isBuffer(e)){return e.byteLength}return null}function isDestroyed(e){return e&&!!(e.destroyed||e[s]||l.isDestroyed?.(e))}function destroy(e,t){if(e==null||!isStream(e)||isDestroyed(e)){return}if(typeof e.destroy==="function"){if(Object.getPrototypeOf(e).constructor===c){e.socket=null}e.destroy(t)}else if(t){queueMicrotask((()=>{e.emit("error",t)}))}if(e.destroyed!==true){e[s]=true}}const E=/timeout=(\d+)/;function parseKeepAliveTimeout(e){const t=e.toString().match(E);return t?parseInt(t[1],10)*1e3:null}function headerNameToString(e){return typeof e==="string"?m[e]??e.toLowerCase():f.lookup(e)??e.toString("latin1").toLowerCase()}function bufferToLowerCasedHeaderName(e){return f.lookup(e)??e.toString("latin1").toLowerCase()}function parseHeaders(e,t){if(t===undefined)t={};for(let r=0;r<e.length;r+=2){const n=headerNameToString(e[r]);let s=t[n];if(s){if(typeof s==="string"){s=[s];t[n]=s}s.push(e[r+1].toString("utf8"))}else{const s=e[r+1];if(typeof s==="string"){t[n]=s}else{t[n]=Array.isArray(s)?s.map((e=>e.toString("utf8"))):s.toString("utf8")}}}if("content-length"in t&&"content-disposition"in t){t["content-disposition"]=Buffer.from(t["content-disposition"]).toString("latin1")}return t}function parseRawHeaders(e){const t=e.length;const r=new Array(t);let n=false;let s=-1;let i;let o;let a=0;for(let t=0;t<e.length;t+=2){i=e[t];o=e[t+1];typeof i!=="string"&&(i=i.toString());typeof o!=="string"&&(o=o.toString("utf8"));a=i.length;if(a===14&&i[7]==="-"&&(i==="content-length"||i.toLowerCase()==="content-length")){n=true}else if(a===19&&i[7]==="-"&&(i==="content-disposition"||i.toLowerCase()==="content-disposition")){s=t+1}r[t]=i;r[t+1]=o}if(n&&s!==-1){r[s]=Buffer.from(r[s]).toString("latin1")}return r}function isBuffer(e){return e instanceof Uint8Array||Buffer.isBuffer(e)}function validateHandler(e,t,r){if(!e||typeof e!=="object"){throw new h("handler must be an object")}if(typeof e.onConnect!=="function"){throw new h("invalid onConnect method")}if(typeof e.onError!=="function"){throw new h("invalid onError method")}if(typeof e.onBodySent!=="function"&&e.onBodySent!==undefined){throw new h("invalid onBodySent method")}if(r||t==="CONNECT"){if(typeof e.onUpgrade!=="function"){throw new h("invalid onUpgrade method")}}else{if(typeof e.onHeaders!=="function"){throw new h("invalid onHeaders method")}if(typeof e.onData!=="function"){throw new h("invalid onData method")}if(typeof e.onComplete!=="function"){throw new h("invalid onComplete method")}}}function isDisturbed(e){return!!(e&&(l.isDisturbed(e)||e[i]))}function isErrored(e){return!!(e&&l.isErrored(e))}function isReadable(e){return!!(e&&l.isReadable(e))}function getSocketInfo(e){return{localAddress:e.localAddress,localPort:e.localPort,remoteAddress:e.remoteAddress,remotePort:e.remotePort,remoteFamily:e.remoteFamily,timeout:e.timeout,bytesWritten:e.bytesWritten,bytesRead:e.bytesRead}}function ReadableStreamFrom(e){let t;return new ReadableStream({async start(){t=e[Symbol.asyncIterator]()},async pull(e){const{done:r,value:n}=await t.next();if(r){queueMicrotask((()=>{e.close();e.byobRequest?.respond(0)}))}else{const t=Buffer.isBuffer(n)?n:Buffer.from(n);if(t.byteLength){e.enqueue(new Uint8Array(t))}}return e.desiredSize>0},async cancel(e){await t.return()},type:"bytes"})}function isFormDataLike(e){return e&&typeof e==="object"&&typeof e.append==="function"&&typeof e.delete==="function"&&typeof e.get==="function"&&typeof e.getAll==="function"&&typeof e.has==="function"&&typeof e.set==="function"&&e[Symbol.toStringTag]==="FormData"}function addAbortListener(e,t){if("addEventListener"in e){e.addEventListener("abort",t,{once:true});return()=>e.removeEventListener("abort",t)}e.addListener("abort",t);return()=>e.removeListener("abort",t)}const I=typeof String.prototype.toWellFormed==="function";const B=typeof String.prototype.isWellFormed==="function";function toUSVString(e){return I?`${e}`.toWellFormed():d.toUSVString(e)}function isUSVString(e){return B?`${e}`.isWellFormed():toUSVString(e)===`${e}`}function isTokenCharCode(e){switch(e){case 34:case 40:case 41:case 44:case 47:case 58:case 59:case 60:case 61:case 62:case 63:case 64:case 91:case 92:case 93:case 123:case 125:return false;default:return e>=33&&e<=126}}function isValidHTTPToken(e){if(e.length===0){return false}for(let t=0;t<e.length;++t){if(!isTokenCharCode(e.charCodeAt(t))){return false}}return true}const Q=/[^\t\x20-\x7e\x80-\xff]/;function isValidHeaderValue(e){return!Q.test(e)}function parseRangeHeader(e){if(e==null||e==="")return{start:0,end:null,size:null};const t=e?e.match(/^bytes (\d+)-(\d+)\/(\d+)?$/):null;return t?{start:parseInt(t[1]),end:t[2]?parseInt(t[2]):null,size:t[3]?parseInt(t[3]):null}:null}function addListener(e,t,r){const n=e[o]??=[];n.push([t,r]);e.on(t,r);return e}function removeAllListeners(e){for(const[t,r]of e[o]??[]){e.removeListener(t,r)}e[o]=null}function errorRequest(e,t,r){try{t.onError(r);n(t.aborted)}catch(r){e.emit("error",r)}}const b=Object.create(null);b.enumerable=true;const S={delete:"DELETE",DELETE:"DELETE",get:"GET",GET:"GET",head:"HEAD",HEAD:"HEAD",options:"OPTIONS",OPTIONS:"OPTIONS",post:"POST",POST:"POST",put:"PUT",PUT:"PUT"};const w={...S,patch:"patch",PATCH:"PATCH"};Object.setPrototypeOf(S,null);Object.setPrototypeOf(w,null);e.exports={kEnumerableProperty:b,nop:nop,isDisturbed:isDisturbed,isErrored:isErrored,isReadable:isReadable,toUSVString:toUSVString,isUSVString:isUSVString,isBlobLike:isBlobLike,parseOrigin:parseOrigin,parseURL:parseURL,getServerName:getServerName,isStream:isStream,isIterable:isIterable,isAsyncIterable:isAsyncIterable,isDestroyed:isDestroyed,headerNameToString:headerNameToString,bufferToLowerCasedHeaderName:bufferToLowerCasedHeaderName,addListener:addListener,removeAllListeners:removeAllListeners,errorRequest:errorRequest,parseRawHeaders:parseRawHeaders,parseHeaders:parseHeaders,parseKeepAliveTimeout:parseKeepAliveTimeout,destroy:destroy,bodyLength:bodyLength,deepClone:deepClone,ReadableStreamFrom:ReadableStreamFrom,isBuffer:isBuffer,validateHandler:validateHandler,getSocketInfo:getSocketInfo,isFormDataLike:isFormDataLike,buildURL:buildURL,addAbortListener:addAbortListener,isValidHTTPToken:isValidHTTPToken,isValidHeaderValue:isValidHeaderValue,isTokenCharCode:isTokenCharCode,parseRangeHeader:parseRangeHeader,normalizedMethodRecordsBase:S,normalizedMethodRecords:w,isValidPort:isValidPort,isHttpOrHttpsPrefixed:isHttpOrHttpsPrefixed,nodeMajor:C,nodeMinor:y,safeHTTPMethods:["GET","HEAD","OPTIONS","TRACE"],wrapRequestBody:wrapRequestBody}},7405:(e,t,r)=>{const{InvalidArgumentError:n}=r(8707);const{kClients:s,kRunning:i,kClose:o,kDestroy:a,kDispatch:c,kInterceptors:l}=r(6443);const A=r(1841);const u=r(628);const d=r(3701);const g=r(3440);const p=r(5092);const h=Symbol("onConnect");const m=Symbol("onDisconnect");const f=Symbol("onConnectionError");const C=Symbol("maxRedirections");const y=Symbol("onDrain");const E=Symbol("factory");const I=Symbol("options");function defaultFactory(e,t){return t&&t.connections===1?new d(e,t):new u(e,t)}class Agent extends A{constructor({factory:e=defaultFactory,maxRedirections:t=0,connect:r,...i}={}){if(typeof e!=="function"){throw new n("factory must be a function.")}if(r!=null&&typeof r!=="function"&&typeof r!=="object"){throw new n("connect must be a function or an object")}if(!Number.isInteger(t)||t<0){throw new n("maxRedirections must be a positive number")}super(i);if(r&&typeof r!=="function"){r={...r}}this[l]=i.interceptors?.Agent&&Array.isArray(i.interceptors.Agent)?i.interceptors.Agent:[p({maxRedirections:t})];this[I]={...g.deepClone(i),connect:r};this[I].interceptors=i.interceptors?{...i.interceptors}:undefined;this[C]=t;this[E]=e;this[s]=new Map;this[y]=(e,t)=>{this.emit("drain",e,[this,...t])};this[h]=(e,t)=>{this.emit("connect",e,[this,...t])};this[m]=(e,t,r)=>{this.emit("disconnect",e,[this,...t],r)};this[f]=(e,t,r)=>{this.emit("connectionError",e,[this,...t],r)}}get[i](){let e=0;for(const t of this[s].values()){e+=t[i]}return e}[c](e,t){let r;if(e.origin&&(typeof e.origin==="string"||e.origin instanceof URL)){r=String(e.origin)}else{throw new n("opts.origin must be a non-empty string or URL.")}let i=this[s].get(r);if(!i){i=this[E](e.origin,this[I]).on("drain",this[y]).on("connect",this[h]).on("disconnect",this[m]).on("connectionError",this[f]);this[s].set(r,i)}return i.dispatch(e,t)}async[o](){const e=[];for(const t of this[s].values()){e.push(t.close())}this[s].clear();await Promise.all(e)}async[a](e){const t=[];for(const r of this[s].values()){t.push(r.destroy(e))}this[s].clear();await Promise.all(t)}}e.exports=Agent},837:(e,t,r)=>{const{BalancedPoolMissingUpstreamError:n,InvalidArgumentError:s}=r(8707);const{PoolBase:i,kClients:o,kNeedDrain:a,kAddClient:c,kRemoveClient:l,kGetDispatcher:A}=r(2128);const u=r(628);const{kUrl:d,kInterceptors:g}=r(6443);const{parseOrigin:p}=r(3440);const h=Symbol("factory");const m=Symbol("options");const f=Symbol("kGreatestCommonDivisor");const C=Symbol("kCurrentWeight");const y=Symbol("kIndex");const E=Symbol("kWeight");const I=Symbol("kMaxWeightPerServer");const B=Symbol("kErrorPenalty");function getGreatestCommonDivisor(e,t){if(e===0)return t;while(t!==0){const r=t;t=e%t;e=r}return e}function defaultFactory(e,t){return new u(e,t)}class BalancedPool extends i{constructor(e=[],{factory:t=defaultFactory,...r}={}){super();this[m]=r;this[y]=-1;this[C]=0;this[I]=this[m].maxWeightPerServer||100;this[B]=this[m].errorPenalty||15;if(!Array.isArray(e)){e=[e]}if(typeof t!=="function"){throw new s("factory must be a function.")}this[g]=r.interceptors?.BalancedPool&&Array.isArray(r.interceptors.BalancedPool)?r.interceptors.BalancedPool:[];this[h]=t;for(const t of e){this.addUpstream(t)}this._updateBalancedPoolStats()}addUpstream(e){const t=p(e).origin;if(this[o].find((e=>e[d].origin===t&&e.closed!==true&&e.destroyed!==true))){return this}const r=this[h](t,Object.assign({},this[m]));this[c](r);r.on("connect",(()=>{r[E]=Math.min(this[I],r[E]+this[B])}));r.on("connectionError",(()=>{r[E]=Math.max(1,r[E]-this[B]);this._updateBalancedPoolStats()}));r.on("disconnect",((...e)=>{const t=e[2];if(t&&t.code==="UND_ERR_SOCKET"){r[E]=Math.max(1,r[E]-this[B]);this._updateBalancedPoolStats()}}));for(const e of this[o]){e[E]=this[I]}this._updateBalancedPoolStats();return this}_updateBalancedPoolStats(){let e=0;for(let t=0;t<this[o].length;t++){e=getGreatestCommonDivisor(this[o][t][E],e)}this[f]=e}removeUpstream(e){const t=p(e).origin;const r=this[o].find((e=>e[d].origin===t&&e.closed!==true&&e.destroyed!==true));if(r){this[l](r)}return this}get upstreams(){return this[o].filter((e=>e.closed!==true&&e.destroyed!==true)).map((e=>e[d].origin))}[A](){if(this[o].length===0){throw new n}const e=this[o].find((e=>!e[a]&&e.closed!==true&&e.destroyed!==true));if(!e){return}const t=this[o].map((e=>e[a])).reduce(((e,t)=>e&&t),true);if(t){return}let r=0;let s=this[o].findIndex((e=>!e[a]));while(r++<this[o].length){this[y]=(this[y]+1)%this[o].length;const e=this[o][this[y]];if(e[E]>this[o][s][E]&&!e[a]){s=this[y]}if(this[y]===0){this[C]=this[C]-this[f];if(this[C]<=0){this[C]=this[I]}}if(e[E]>=this[C]&&!e[a]){return e}}this[C]=this[o][s][E];this[y]=s;return this[o][s]}}e.exports=BalancedPool},637:(e,t,r)=>{const n=r(4589);const s=r(3440);const{channels:i}=r(2414);const o=r(6603);const{RequestContentLengthMismatchError:a,ResponseContentLengthMismatchError:c,RequestAbortedError:l,InvalidArgumentError:A,HeadersTimeoutError:u,HeadersOverflowError:d,SocketError:g,InformationalError:p,BodyTimeoutError:h,HTTPParserError:m,ResponseExceededMaxSizeError:f}=r(8707);const{kUrl:C,kReset:y,kClient:E,kParser:I,kBlocking:B,kRunning:Q,kPending:b,kSize:S,kWriting:w,kQueue:D,kNoRef:N,kKeepAliveDefaultTimeout:x,kHostHeader:R,kPendingIdx:v,kRunningIdx:k,kError:F,kPipelining:T,kSocket:M,kKeepAliveTimeoutValue:P,kMaxHeadersSize:L,kKeepAliveMaxTimeout:U,kKeepAliveTimeoutThreshold:O,kHeadersTimeout:H,kBodyTimeout:_,kStrictContentLength:q,kMaxRequests:G,kCounter:z,kMaxResponseSize:Y,kOnError:V,kResume:J,kHTTPContext:W}=r(6443);const j=r(2824);const K=Buffer.alloc(0);const $=Buffer[Symbol.species];const X=s.addListener;const Z=s.removeAllListeners;const ee=Symbol("kIdleSocketValidation");const te=Symbol("kIdleSocketValidationTimeout");const re=Symbol("kSocketUsed");let ne;async function lazyllhttp(){const e=process.env.JEST_WORKER_ID?r(3870):undefined;let t;try{t=await WebAssembly.compile(r(3434))}catch(n){t=await WebAssembly.compile(e||r(3870))}return await WebAssembly.instantiate(t,{env:{wasm_on_url:(e,t,r)=>0,wasm_on_status:(e,t,r)=>{n(oe.ptr===e);const s=t-le+ae.byteOffset;return oe.onStatus(new $(ae.buffer,s,r))||0},wasm_on_message_begin:e=>{n(oe.ptr===e);return oe.onMessageBegin()||0},wasm_on_header_field:(e,t,r)=>{n(oe.ptr===e);const s=t-le+ae.byteOffset;return oe.onHeaderField(new $(ae.buffer,s,r))||0},wasm_on_header_value:(e,t,r)=>{n(oe.ptr===e);const s=t-le+ae.byteOffset;return oe.onHeaderValue(new $(ae.buffer,s,r))||0},wasm_on_headers_complete:(e,t,r,s)=>{n(oe.ptr===e);return oe.onHeadersComplete(t,Boolean(r),Boolean(s))||0},wasm_on_body:(e,t,r)=>{n(oe.ptr===e);const s=t-le+ae.byteOffset;return oe.onBody(new $(ae.buffer,s,r))||0},wasm_on_message_complete:e=>{n(oe.ptr===e);return oe.onMessageComplete()||0}}})}let se=null;let ie=lazyllhttp();ie.catch();let oe=null;let ae=null;let ce=0;let le=null;const Ae=0;const ue=1;const de=2|ue;const ge=4|ue;const pe=8|Ae;class Parser{constructor(e,t,{exports:r}){n(Number.isFinite(e[L])&&e[L]>0);this.llhttp=r;this.ptr=this.llhttp.llhttp_alloc(j.TYPE.RESPONSE);this.client=e;this.socket=t;this.timeout=null;this.timeoutValue=null;this.timeoutType=null;this.statusCode=null;this.statusText="";this.upgrade=false;this.headers=[];this.headersSize=0;this.headersMaxSize=e[L];this.shouldKeepAlive=false;this.paused=false;this.resume=this.resume.bind(this);this.bytesRead=0;this.keepAlive="";this.contentLength="";this.connection="";this.maxResponseSize=e[Y]}setTimeout(e,t){if(e!==this.timeoutValue||t&ue^this.timeoutType&ue){if(this.timeout){o.clearTimeout(this.timeout);this.timeout=null}if(e){if(t&ue){this.timeout=o.setFastTimeout(onParserTimeout,e,new WeakRef(this))}else{this.timeout=setTimeout(onParserTimeout,e,new WeakRef(this));this.timeout.unref()}}this.timeoutValue=e}else if(this.timeout){if(this.timeout.refresh){this.timeout.refresh()}}this.timeoutType=t}resume(){if(this.socket.destroyed||!this.paused){return}n(this.ptr!=null);n(oe==null);this.llhttp.llhttp_resume(this.ptr);n(this.timeoutType===ge);if(this.timeout){if(this.timeout.refresh){this.timeout.refresh()}}this.paused=false;this.execute(this.socket.read()||K);this.readMore()}readMore(){while(!this.paused&&this.ptr){const e=this.socket.read();if(e===null){break}this.execute(e)}}execute(e){n(this.ptr!=null);n(oe==null);n(!this.paused);const{socket:t,llhttp:r}=this;if(e.length>ce){if(le){r.free(le)}ce=Math.ceil(e.length/4096)*4096;le=r.malloc(ce)}new Uint8Array(r.memory.buffer,le,ce).set(e);try{let n;try{ae=e;oe=this;n=r.llhttp_execute(this.ptr,le,e.length)}catch(e){throw e}finally{oe=null;ae=null}const s=r.llhttp_get_error_pos(this.ptr)-le;if(n!==j.ERROR.OK){const r=e.subarray(s);if(n===j.ERROR.PAUSED_UPGRADE){this.onUpgrade(r)}else if(n===j.ERROR.PAUSED){this.paused=true;t.unshift(r)}else{throw this.createError(n,r)}}}catch(e){s.destroy(t,e)}}finish(){n(oe===null);n(this.ptr!=null);n(!this.paused);const{llhttp:e}=this;let t;try{oe=this;t=e.llhttp_finish(this.ptr)}finally{oe=null}if(t===j.ERROR.OK){return null}if(t===j.ERROR.PAUSED||t===j.ERROR.PAUSED_UPGRADE){this.paused=true;return null}return this.createError(t,K)}createError(e,t){const{llhttp:r,contentLength:n,bytesRead:s}=this;if(n&&s!==parseInt(n,10)){return new c}const i=r.llhttp_get_error_reason(this.ptr);let o="";if(i){const e=new Uint8Array(r.memory.buffer,i).indexOf(0);o="Response does not match the HTTP/1.1 protocol ("+Buffer.from(r.memory.buffer,i,e).toString()+")"}return new m(o,j.ERROR[e],t)}destroy(){n(this.ptr!=null);n(oe==null);this.llhttp.llhttp_free(this.ptr);this.ptr=null;this.timeout&&o.clearTimeout(this.timeout);this.timeout=null;this.timeoutValue=null;this.timeoutType=null;this.paused=false}onStatus(e){this.statusText=e.toString()}onMessageBegin(){const{socket:e,client:t}=this;if(e.destroyed){return-1}if(t[Q]===0){s.destroy(e,new g("bad response",s.getSocketInfo(e)));return-1}const r=t[D][t[k]];if(!r){return-1}r.onResponseStarted()}onHeaderField(e){const t=this.headers.length;if((t&1)===0){this.headers.push(e)}else{this.headers[t-1]=Buffer.concat([this.headers[t-1],e])}this.trackHeader(e.length)}onHeaderValue(e){let t=this.headers.length;if((t&1)===1){this.headers.push(e);t+=1}else{this.headers[t-1]=Buffer.concat([this.headers[t-1],e])}const r=this.headers[t-2];if(r.length===10){const t=s.bufferToLowerCasedHeaderName(r);if(t==="keep-alive"){this.keepAlive+=e.toString()}else if(t==="connection"){this.connection+=e.toString()}}else if(r.length===14&&s.bufferToLowerCasedHeaderName(r)==="content-length"){this.contentLength+=e.toString()}this.trackHeader(e.length)}trackHeader(e){this.headersSize+=e;if(this.headersSize>=this.headersMaxSize){s.destroy(this.socket,new d)}}onUpgrade(e){const{upgrade:t,client:r,socket:i,headers:o,statusCode:a}=this;n(t);n(r[M]===i);n(!i.destroyed);n(!this.paused);n((o.length&1)===0);const c=r[D][r[k]];n(c);n(c.upgrade||c.method==="CONNECT");this.statusCode=null;this.statusText="";this.shouldKeepAlive=null;this.headers=[];this.headersSize=0;i.unshift(e);i[I].destroy();i[I]=null;i[E]=null;i[F]=null;Z(i);r[M]=null;r[W]=null;r[D][r[k]++]=null;r.emit("disconnect",r[C],[r],new p("upgrade"));try{c.onUpgrade(a,o,i)}catch(e){s.destroy(i,e)}r[J]()}onHeadersComplete(e,t,r){const{client:i,socket:o,headers:a,statusText:c}=this;if(o.destroyed){return-1}if(i[Q]===0){s.destroy(o,new g("bad response",s.getSocketInfo(o)));return-1}const l=i[D][i[k]];if(!l){return-1}n(!this.upgrade);n(this.statusCode<200);if(e===100){s.destroy(o,new g("bad response",s.getSocketInfo(o)));return-1}if(t&&!l.upgrade){s.destroy(o,new g("bad upgrade",s.getSocketInfo(o)));return-1}n(this.timeoutType===de);this.statusCode=e;this.shouldKeepAlive=r||l.method==="HEAD"&&!o[y]&&this.connection.toLowerCase()==="keep-alive";if(this.statusCode>=200){const e=l.bodyTimeout!=null?l.bodyTimeout:i[_];this.setTimeout(e,ge)}else if(this.timeout){if(this.timeout.refresh){this.timeout.refresh()}}if(l.method==="CONNECT"){n(i[Q]===1);this.upgrade=true;return 2}if(t){n(i[Q]===1);this.upgrade=true;return 2}n((this.headers.length&1)===0);this.headers=[];this.headersSize=0;if(this.shouldKeepAlive&&i[T]){const e=this.keepAlive?s.parseKeepAliveTimeout(this.keepAlive):null;if(e!=null){const t=Math.min(e-i[O],i[U]);if(t<=0){o[y]=true}else{i[P]=t}}else{i[P]=i[x]}}else{o[y]=true}const A=l.onHeaders(e,a,this.resume,c)===false;if(l.aborted){return-1}if(l.method==="HEAD"){return 1}if(e<200){return 1}if(o[B]){o[B]=false;i[J]()}return A?j.ERROR.PAUSED:0}onBody(e){const{client:t,socket:r,statusCode:i,maxResponseSize:o}=this;if(r.destroyed){return-1}const a=t[D][t[k]];n(a);n(this.timeoutType===ge);if(this.timeout){if(this.timeout.refresh){this.timeout.refresh()}}n(i>=200);if(o>-1&&this.bytesRead+e.length>o){s.destroy(r,new f);return-1}this.bytesRead+=e.length;if(a.onData(e)===false){return j.ERROR.PAUSED}}onMessageComplete(){const{client:e,socket:t,statusCode:r,upgrade:i,headers:o,contentLength:a,bytesRead:l,shouldKeepAlive:A}=this;if(t.destroyed&&(!r||A)){return-1}if(i){return}n(r>=100);n((this.headers.length&1)===0);const u=e[D][e[k]];n(u);this.statusCode=null;this.statusText="";this.bytesRead=0;this.contentLength="";this.keepAlive="";this.connection="";this.headers=[];this.headersSize=0;if(r<200){return}if(u.method!=="HEAD"&&a&&l!==parseInt(a,10)){s.destroy(t,new c);return-1}u.onComplete(o);e[D][e[k]++]=null;t[re]=true;if(t[w]){n(e[Q]===0);s.destroy(t,new p("reset"));return j.ERROR.PAUSED}else if(!A){s.destroy(t,new p("reset"));return j.ERROR.PAUSED}else if(t[y]&&e[Q]===0){s.destroy(t,new p("reset"));return j.ERROR.PAUSED}else if(e[T]==null||e[T]===1){setImmediate((()=>e[J]()))}else{e[J]()}}}function onParserTimeout(e){const{socket:t,timeoutType:r,client:i,paused:o}=e.deref();if(r===de){if(!t[w]||t.writableNeedDrain||i[Q]>1){n(!o,"cannot be paused while waiting for headers");s.destroy(t,new u)}}else if(r===ge){if(!o){s.destroy(t,new h)}}else if(r===pe){n(i[Q]===0&&i[P]);s.destroy(t,new p("socket idle timeout"))}}async function connectH1(e,t){e[M]=t;if(!se){se=await ie;ie=null}t[N]=false;t[w]=false;t[y]=false;t[B]=false;t[ee]=0;t[te]=null;t[re]=false;t[I]=new Parser(e,t,se);X(t,"error",(function(e){n(e.code!=="ERR_TLS_CERT_ALTNAME_INVALID");const t=this[I];if(e.code==="ECONNRESET"&&t.statusCode&&!t.shouldKeepAlive){const e=t.finish();if(e){this[F]=e;this[E][V](e)}return}this[F]=e;this[E][V](e)}));X(t,"readable",(function(){const e=this[I];if(e){e.readMore()}}));X(t,"end",(function(){const e=this[I];if(e.statusCode&&!e.shouldKeepAlive){const t=e.finish();if(t){s.destroy(this,t)}return}s.destroy(this,new g("other side closed",s.getSocketInfo(this)))}));X(t,"close",(function(){const e=this[E];const t=this[I];clearIdleSocketValidation(this);if(t){if(!this[F]&&t.statusCode&&!t.shouldKeepAlive){this[F]=t.finish()||this[F]}this[I].destroy();this[I]=null}const r=this[F]||new g("closed",s.getSocketInfo(this));e[M]=null;e[W]=null;if(e.destroyed){n(e[b]===0);const t=e[D].splice(e[k]);for(let n=0;n<t.length;n++){const i=t[n];s.errorRequest(e,i,r)}}else if(e[Q]>0&&r.code!=="UND_ERR_INFO"){const t=e[D][e[k]];e[D][e[k]++]=null;s.errorRequest(e,t,r)}e[v]=e[k];n(e[Q]===0);e.emit("disconnect",e[C],[e],r);e[J]()}));let r=false;t.on("close",(()=>{r=true}));return{version:"h1",defaultPipelining:1,write(...t){return writeH1(e,...t)},resume(){resumeH1(e)},destroy(e,n){if(r){queueMicrotask(n)}else{t.destroy(e).on("close",n)}},get destroyed(){return t.destroyed},busy(r){if(t[w]||t[y]||t[B]||t[ee]===1){return true}if(r){if(e[Q]>0&&!r.idempotent){return true}if(e[Q]>0&&(r.upgrade||r.method==="CONNECT")){return true}if(e[Q]>0&&s.bodyLength(r.body)!==0&&(s.isStream(r.body)||s.isAsyncIterable(r.body)||s.isFormDataLike(r.body))){return true}}return false}}}function clearIdleSocketValidation(e){if(e[te]){clearTimeout(e[te]);e[te]=null}e[ee]=0}function scheduleIdleSocketValidation(e,t){t[ee]=1;t[te]=setTimeout((()=>{t[te]=null;t[ee]=2;if(e[M]===t&&!t.destroyed){e[J]()}}),0);t[te].unref?.()}function resumeH1(e){const t=e[M];if(t&&!t.destroyed){if(e[S]===0){if(!t[N]&&t.unref){t.unref();t[N]=true}}else if(t[N]&&t.ref){t.ref();t[N]=false}if(e[Q]===0&&e[b]>0&&t[re]){if(t[ee]===0){scheduleIdleSocketValidation(e,t);t[I].readMore();if(t.destroyed){return}return}if(t[ee]===1){t[I].readMore();if(t.destroyed){return}return}}if(e[Q]===0){t[I].readMore();if(t.destroyed){return}}if(e[S]===0){if(t[I].timeoutType!==pe){t[I].setTimeout(e[P],pe)}}else if(e[Q]>0&&t[I].statusCode<200){if(t[I].timeoutType!==de){const r=e[D][e[k]];const n=r.headersTimeout!=null?r.headersTimeout:e[H];t[I].setTimeout(n,de)}}}}function shouldSendContentLength(e){return e!=="GET"&&e!=="HEAD"&&e!=="OPTIONS"&&e!=="TRACE"&&e!=="CONNECT"}function writeH1(e,t){const{method:o,path:c,host:u,upgrade:d,blocking:g,reset:h}=t;let{body:m,headers:f,contentLength:C}=t;const E=o==="PUT"||o==="POST"||o==="PATCH"||o==="QUERY"||o==="PROPFIND"||o==="PROPPATCH";if(s.isFormDataLike(m)){if(!ne){ne=r(4492).extractBody}const[e,n]=ne(m);if(t.contentType==null){f.push("content-type",n)}m=e.stream;C=e.length}else if(s.isBlobLike(m)&&t.contentType==null){const r=m.type;if(r){const n=`${r}`;if(!s.isValidHeaderValue(n)){s.errorRequest(e,t,new A("invalid content-type header"));return false}f.push("content-type",n)}}if(m&&typeof m.read==="function"){m.read(0)}const I=s.bodyLength(m);C=I??C;if(C===null){C=t.contentLength}if(C===0&&!E){C=null}if(shouldSendContentLength(o)&&C>0&&t.contentLength!==null&&t.contentLength!==C){if(e[q]){s.errorRequest(e,t,new a);return false}process.emitWarning(new a)}const Q=e[M];clearIdleSocketValidation(Q);const abort=r=>{if(t.aborted||t.completed){return}s.errorRequest(e,t,r||new l);s.destroy(m);s.destroy(Q,new p("aborted"))};try{t.onConnect(abort)}catch(r){s.errorRequest(e,t,r)}if(t.aborted){return false}if(o==="HEAD"){Q[y]=true}if(d||o==="CONNECT"){Q[y]=true}if(h!=null){Q[y]=h}if(e[G]&&Q[z]++>=e[G]){Q[y]=true}if(g){Q[B]=true}let b=`${o} ${c} HTTP/1.1\r\n`;if(typeof u==="string"){b+=`host: ${u}\r\n`}else{b+=e[R]}if(d){b+=`connection: upgrade\r\nupgrade: ${d}\r\n`}else if(e[T]&&!Q[y]){b+="connection: keep-alive\r\n"}else{b+="connection: close\r\n"}if(Array.isArray(f)){for(let e=0;e<f.length;e+=2){const t=f[e+0];const r=f[e+1];if(Array.isArray(r)){for(let e=0;e<r.length;e++){b+=`${t}: ${r[e]}\r\n`}}else{b+=`${t}: ${r}\r\n`}}}if(i.sendHeaders.hasSubscribers){i.sendHeaders.publish({request:t,headers:b,socket:Q})}if(!m||I===0){writeBuffer(abort,null,e,t,Q,C,b,E)}else if(s.isBuffer(m)){writeBuffer(abort,m,e,t,Q,C,b,E)}else if(s.isBlobLike(m)){if(typeof m.stream==="function"){writeIterable(abort,m.stream(),e,t,Q,C,b,E)}else{writeBlob(abort,m,e,t,Q,C,b,E)}}else if(s.isStream(m)){writeStream(abort,m,e,t,Q,C,b,E)}else if(s.isIterable(m)){writeIterable(abort,m,e,t,Q,C,b,E)}else{n(false)}return true}function writeStream(e,t,r,i,o,a,c,A){n(a!==0||r[Q]===0,"stream body cannot be pipelined");let u=false;const d=new AsyncWriter({abort:e,socket:o,request:i,contentLength:a,client:r,expectsPayload:A,header:c});const onData=function(e){if(u){return}try{if(!d.write(e)&&this.pause){this.pause()}}catch(e){s.destroy(this,e)}};const onDrain=function(){if(u){return}if(t.resume){t.resume()}};const onClose=function(){queueMicrotask((()=>{t.removeListener("error",onFinished)}));if(!u){const e=new l;queueMicrotask((()=>onFinished(e)))}};const onFinished=function(e){if(u){return}u=true;n(o.destroyed||o[w]&&r[Q]<=1);o.off("drain",onDrain).off("error",onFinished);t.removeListener("data",onData).removeListener("end",onFinished).removeListener("close",onClose);if(!e){try{d.end()}catch(t){e=t}}d.destroy(e);if(e&&(e.code!=="UND_ERR_INFO"||e.message!=="reset")){s.destroy(t,e)}else{s.destroy(t)}};t.on("data",onData).on("end",onFinished).on("error",onFinished).on("close",onClose);if(t.resume){t.resume()}o.on("drain",onDrain).on("error",onFinished);if(t.errorEmitted??t.errored){setImmediate((()=>onFinished(t.errored)))}else if(t.endEmitted??t.readableEnded){setImmediate((()=>onFinished(null)))}if(t.closeEmitted??t.closed){setImmediate(onClose)}}function writeBuffer(e,t,r,i,o,a,c,l){try{if(!t){if(a===0){o.write(`${c}content-length: 0\r\n\r\n`,"latin1")}else{n(a===null,"no body must not have content length");o.write(`${c}\r\n`,"latin1")}}else if(s.isBuffer(t)){n(a===t.byteLength,"buffer body must have content length");o.cork();o.write(`${c}content-length: ${a}\r\n\r\n`,"latin1");o.write(t);o.uncork();i.onBodySent(t);if(!l&&i.reset!==false){o[y]=true}}i.onRequestSent();r[J]()}catch(t){e(t)}}async function writeBlob(e,t,r,s,i,o,c,l){n(o===t.size,"blob body must have content length");try{if(o!=null&&o!==t.size){throw new a}const e=Buffer.from(await t.arrayBuffer());i.cork();i.write(`${c}content-length: ${o}\r\n\r\n`,"latin1");i.write(e);i.uncork();s.onBodySent(e);s.onRequestSent();if(!l&&s.reset!==false){i[y]=true}r[J]()}catch(t){e(t)}}async function writeIterable(e,t,r,s,i,o,a,c){n(o!==0||r[Q]===0,"iterator body cannot be pipelined");let l=null;function onDrain(){if(l){const e=l;l=null;e()}}const waitForDrain=()=>new Promise(((e,t)=>{n(l===null);if(i[F]){t(i[F])}else{l=e}}));i.on("close",onDrain).on("drain",onDrain);const A=new AsyncWriter({abort:e,socket:i,request:s,contentLength:o,client:r,expectsPayload:c,header:a});try{for await(const e of t){if(i[F]){throw i[F]}if(!A.write(e)){await waitForDrain()}}A.end()}catch(e){A.destroy(e)}finally{i.off("close",onDrain).off("drain",onDrain)}}class AsyncWriter{constructor({abort:e,socket:t,request:r,contentLength:n,client:s,expectsPayload:i,header:o}){this.socket=t;this.request=r;this.contentLength=n;this.client=s;this.bytesWritten=0;this.expectsPayload=i;this.header=o;this.abort=e;t[w]=true}write(e){const{socket:t,request:r,contentLength:n,client:s,bytesWritten:i,expectsPayload:o,header:c}=this;if(t[F]){throw t[F]}if(t.destroyed){return false}const l=Buffer.byteLength(e);if(!l){return true}if(n!==null&&i+l>n){if(s[q]){throw new a}process.emitWarning(new a)}t.cork();if(i===0){if(!o&&r.reset!==false){t[y]=true}if(n===null){t.write(`${c}transfer-encoding: chunked\r\n`,"latin1")}else{t.write(`${c}content-length: ${n}\r\n\r\n`,"latin1")}}if(n===null){t.write(`\r\n${l.toString(16)}\r\n`,"latin1")}this.bytesWritten+=l;const A=t.write(e);t.uncork();r.onBodySent(e);if(!A){if(t[I].timeout&&t[I].timeoutType===de){if(t[I].timeout.refresh){t[I].timeout.refresh()}}}return A}end(){const{socket:e,contentLength:t,client:r,bytesWritten:n,expectsPayload:s,header:i,request:o}=this;o.onRequestSent();e[w]=false;if(e[F]){throw e[F]}if(e.destroyed){return}if(n===0){if(s){e.write(`${i}content-length: 0\r\n\r\n`,"latin1")}else{e.write(`${i}\r\n`,"latin1")}}else if(t===null){e.write("\r\n0\r\n\r\n","latin1")}if(t!==null&&n!==t){if(r[q]){throw new a}else{process.emitWarning(new a)}}if(e[I].timeout&&e[I].timeoutType===de){if(e[I].timeout.refresh){e[I].timeout.refresh()}}r[J]()}destroy(e){const{socket:t,client:r,abort:s}=this;t[w]=false;if(e){n(r[Q]<=1,"pipeline should only contain this request");s(e)}}}e.exports=connectH1},8788:(e,t,r)=>{const n=r(4589);const{pipeline:s}=r(7075);const i=r(3440);const{RequestContentLengthMismatchError:o,RequestAbortedError:a,SocketError:c,InformationalError:l}=r(8707);const{kUrl:A,kReset:u,kClient:d,kRunning:g,kPending:p,kQueue:h,kPendingIdx:m,kRunningIdx:f,kError:C,kSocket:y,kStrictContentLength:E,kOnError:I,kMaxConcurrentStreams:B,kHTTP2Session:Q,kResume:b,kSize:S,kHTTPContext:w}=r(6443);const D=Symbol("open streams");let N;let x=false;let R;try{R=r(2467)}catch{R={constants:{}}}const{constants:{HTTP2_HEADER_AUTHORITY:v,HTTP2_HEADER_METHOD:k,HTTP2_HEADER_PATH:F,HTTP2_HEADER_SCHEME:T,HTTP2_HEADER_CONTENT_LENGTH:M,HTTP2_HEADER_EXPECT:P,HTTP2_HEADER_STATUS:L}}=R;function parseH2Headers(e){const t=[];for(const[r,n]of Object.entries(e)){if(Array.isArray(n)){for(const e of n){t.push(Buffer.from(r),Buffer.from(e))}}else{t.push(Buffer.from(r),Buffer.from(n))}}return t}async function connectH2(e,t){e[y]=t;if(!x){x=true;process.emitWarning("H2 support is experimental, expect them to change at any time.",{code:"UNDICI-H2"})}const r=R.connect(e[A],{createConnection:()=>t,peerMaxConcurrentStreams:e[B]});r[D]=0;r[d]=e;r[y]=t;i.addListener(r,"error",onHttp2SessionError);i.addListener(r,"frameError",onHttp2FrameError);i.addListener(r,"end",onHttp2SessionEnd);i.addListener(r,"goaway",onHTTP2GoAway);i.addListener(r,"close",(function(){const{[d]:e}=this;const{[y]:t}=e;const r=this[y][C]||this[C]||new c("closed",i.getSocketInfo(t));e[Q]=null;if(e.destroyed){n(e[p]===0);const t=e[h].splice(e[f]);for(let n=0;n<t.length;n++){const s=t[n];i.errorRequest(e,s,r)}}}));r.unref();e[Q]=r;t[Q]=r;i.addListener(t,"error",(function(e){n(e.code!=="ERR_TLS_CERT_ALTNAME_INVALID");this[C]=e;this[d][I](e)}));i.addListener(t,"end",(function(){i.destroy(this,new c("other side closed",i.getSocketInfo(this)))}));i.addListener(t,"close",(function(){const t=this[C]||new c("closed",i.getSocketInfo(this));e[y]=null;if(this[Q]!=null){this[Q].destroy(t)}e[m]=e[f];n(e[g]===0);e.emit("disconnect",e[A],[e],t);e[b]()}));let s=false;t.on("close",(()=>{s=true}));return{version:"h2",defaultPipelining:Infinity,write(...t){return writeH2(e,...t)},resume(){resumeH2(e)},destroy(e,r){if(s){queueMicrotask(r)}else{t.destroy(e).on("close",r)}},get destroyed(){return t.destroyed},busy(){return false}}}function resumeH2(e){const t=e[y];if(t?.destroyed===false){if(e[S]===0&&e[B]===0){t.unref();e[Q].unref()}else{t.ref();e[Q].ref()}}}function onHttp2SessionError(e){n(e.code!=="ERR_TLS_CERT_ALTNAME_INVALID");this[y][C]=e;this[d][I](e)}function onHttp2FrameError(e,t,r){if(r===0){const r=new l(`HTTP/2: "frameError" received - type ${e}, code ${t}`);this[y][C]=r;this[d][I](r)}}function onHttp2SessionEnd(){const e=new c("other side closed",i.getSocketInfo(this[y]));this.destroy(e);i.destroy(this[y],e)}function onHTTP2GoAway(e){const t=this[C]||new c(`HTTP/2: "GOAWAY" frame received with code ${e}`,i.getSocketInfo(this));const r=this[d];r[y]=null;r[w]=null;if(this[Q]!=null){this[Q].destroy(t);this[Q]=null}i.destroy(this[y],t);if(r[f]<r[h].length){const e=r[h][r[f]];r[h][r[f]++]=null;i.errorRequest(r,e,t);r[m]=r[f]}n(r[g]===0);r.emit("disconnect",r[A],[r],t);r[b]()}function shouldSendContentLength(e){return e!=="GET"&&e!=="HEAD"&&e!=="OPTIONS"&&e!=="TRACE"&&e!=="CONNECT"}function writeH2(e,t){const s=e[Q];const{method:c,path:u,host:d,upgrade:g,expectContinue:p,signal:C,headers:I}=t;let{body:B}=t;if(g){i.errorRequest(e,t,new Error("Upgrade not supported for H2"));return false}const S={};for(let e=0;e<I.length;e+=2){const t=I[e+0];const r=I[e+1];if(Array.isArray(r)){for(let e=0;e<r.length;e++){if(S[t]){S[t]+=`,${r[e]}`}else{S[t]=r[e]}}}else{S[t]=r}}let w;const{hostname:x,port:R}=e[A];S[v]=d||`${x}${R?`:${R}`:""}`;S[k]=c;const abort=r=>{if(t.aborted||t.completed){return}r=r||new a;i.errorRequest(e,t,r);if(w!=null){i.destroy(w,r)}i.destroy(B,r);e[h][e[f]++]=null;e[b]()};try{t.onConnect(abort)}catch(r){i.errorRequest(e,t,r)}if(t.aborted){return false}if(c==="CONNECT"){s.ref();w=s.request(S,{endStream:false,signal:C});if(w.id&&!w.pending){t.onUpgrade(null,null,w);++s[D];e[h][e[f]++]=null}else{w.once("ready",(()=>{t.onUpgrade(null,null,w);++s[D];e[h][e[f]++]=null}))}w.once("close",(()=>{s[D]-=1;if(s[D]===0)s.unref()}));return true}S[F]=u;S[T]="https";const U=c==="PUT"||c==="POST"||c==="PATCH";if(B&&typeof B.read==="function"){B.read(0)}let O=i.bodyLength(B);if(i.isFormDataLike(B)){N??=r(4492).extractBody;const[e,t]=N(B);S["content-type"]=t;B=e.stream;O=e.length}if(O==null){O=t.contentLength}if(O===0||!U){O=null}if(shouldSendContentLength(c)&&O>0&&t.contentLength!=null&&t.contentLength!==O){if(e[E]){i.errorRequest(e,t,new o);return false}process.emitWarning(new o)}if(O!=null){n(B,"no body must not have content length");S[M]=`${O}`}s.ref();const H=c==="GET"||c==="HEAD"||B===null;if(p){S[P]="100-continue";w=s.request(S,{endStream:H,signal:C});w.once("continue",writeBodyH2)}else{w=s.request(S,{endStream:H,signal:C});writeBodyH2()}++s[D];w.once("response",(r=>{const{[L]:n,...s}=r;t.onResponseStarted();if(t.aborted){const r=new a;i.errorRequest(e,t,r);i.destroy(w,r);return}if(t.onHeaders(Number(n),parseH2Headers(s),w.resume.bind(w),"")===false){w.pause()}w.on("data",(e=>{if(t.onData(e)===false){w.pause()}}))}));w.once("end",(()=>{if(w.state?.state==null||w.state.state<6){t.onComplete([])}if(s[D]===0){s.unref()}abort(new l("HTTP/2: stream half-closed (remote)"));e[h][e[f]++]=null;e[m]=e[f];e[b]()}));w.once("close",(()=>{s[D]-=1;if(s[D]===0){s.unref()}}));w.once("error",(function(e){abort(e)}));w.once("frameError",((e,t)=>{abort(new l(`HTTP/2: "frameError" received - type ${e}, code ${t}`))}));return true;function writeBodyH2(){if(!B||O===0){writeBuffer(abort,w,null,e,t,e[y],O,U)}else if(i.isBuffer(B)){writeBuffer(abort,w,B,e,t,e[y],O,U)}else if(i.isBlobLike(B)){if(typeof B.stream==="function"){writeIterable(abort,w,B.stream(),e,t,e[y],O,U)}else{writeBlob(abort,w,B,e,t,e[y],O,U)}}else if(i.isStream(B)){writeStream(abort,e[y],U,w,B,e,t,O)}else if(i.isIterable(B)){writeIterable(abort,w,B,e,t,e[y],O,U)}else{n(false)}}}function writeBuffer(e,t,r,s,o,a,c,l){try{if(r!=null&&i.isBuffer(r)){n(c===r.byteLength,"buffer body must have content length");t.cork();t.write(r);t.uncork();t.end();o.onBodySent(r)}if(!l){a[u]=true}o.onRequestSent();s[b]()}catch(t){e(t)}}function writeStream(e,t,r,o,a,c,l,A){n(A!==0||c[g]===0,"stream body cannot be pipelined");const d=s(a,o,(n=>{if(n){i.destroy(d,n);e(n)}else{i.removeAllListeners(d);l.onRequestSent();if(!r){t[u]=true}c[b]()}}));i.addListener(d,"data",onPipeData);function onPipeData(e){l.onBodySent(e)}}async function writeBlob(e,t,r,s,i,a,c,l){n(c===r.size,"blob body must have content length");try{if(c!=null&&c!==r.size){throw new o}const e=Buffer.from(await r.arrayBuffer());t.cork();t.write(e);t.uncork();t.end();i.onBodySent(e);i.onRequestSent();if(!l){a[u]=true}s[b]()}catch(t){e(t)}}async function writeIterable(e,t,r,s,i,o,a,c){n(a!==0||s[g]===0,"iterator body cannot be pipelined");let l=null;function onDrain(){if(l){const e=l;l=null;e()}}const waitForDrain=()=>new Promise(((e,t)=>{n(l===null);if(o[C]){t(o[C])}else{l=e}}));t.on("close",onDrain).on("drain",onDrain);try{for await(const e of r){if(o[C]){throw o[C]}const r=t.write(e);i.onBodySent(e);if(!r){await waitForDrain()}}t.end();i.onRequestSent();if(!c){o[u]=true}s[b]()}catch(t){e(t)}finally{t.off("close",onDrain).off("drain",onDrain)}}e.exports=connectH2},3701:(e,t,r)=>{const n=r(4589);const s=r(7030);const i=r(7067);const o=r(3440);const{channels:a}=r(2414);const c=r(4655);const l=r(1841);const{InvalidArgumentError:A,InformationalError:u,ClientDestroyedError:d}=r(8707);const g=r(9136);const{kUrl:p,kServerName:h,kClient:m,kBusy:f,kConnect:C,kResuming:y,kRunning:E,kPending:I,kSize:B,kQueue:Q,kConnected:b,kConnecting:S,kNeedDrain:w,kKeepAliveDefaultTimeout:D,kHostHeader:N,kPendingIdx:x,kRunningIdx:R,kError:v,kPipelining:k,kKeepAliveTimeoutValue:F,kMaxHeadersSize:T,kKeepAliveMaxTimeout:M,kKeepAliveTimeoutThreshold:P,kHeadersTimeout:L,kBodyTimeout:U,kStrictContentLength:O,kConnector:H,kMaxRedirections:_,kMaxRequests:q,kCounter:G,kClose:z,kDestroy:Y,kDispatch:V,kInterceptors:J,kLocalAddress:W,kMaxResponseSize:j,kOnError:K,kHTTPContext:$,kMaxConcurrentStreams:X,kResume:Z}=r(6443);const ee=r(637);const te=r(8788);let re=false;const ne=Symbol("kClosedResolve");const noop=()=>{};function getPipelining(e){return e[k]??e[$]?.defaultPipelining??1}class Client extends l{constructor(e,{interceptors:t,maxHeaderSize:r,headersTimeout:n,socketTimeout:a,requestTimeout:c,connectTimeout:l,bodyTimeout:u,idleTimeout:d,keepAlive:m,keepAliveTimeout:f,maxKeepAliveTimeout:C,keepAliveMaxTimeout:E,keepAliveTimeoutThreshold:I,socketPath:B,pipelining:b,tls:S,strictContentLength:v,maxCachedSessions:G,maxRedirections:z,connect:Y,maxRequestsPerClient:V,localAddress:ee,maxResponseSize:te,autoSelectFamily:ie,autoSelectFamilyAttemptTimeout:oe,maxConcurrentStreams:ae,allowH2:ce,webSocket:le}={}){super({webSocket:le});if(m!==undefined){throw new A("unsupported keepAlive, use pipelining=0 instead")}if(a!==undefined){throw new A("unsupported socketTimeout, use headersTimeout & bodyTimeout instead")}if(c!==undefined){throw new A("unsupported requestTimeout, use headersTimeout & bodyTimeout instead")}if(d!==undefined){throw new A("unsupported idleTimeout, use keepAliveTimeout instead")}if(C!==undefined){throw new A("unsupported maxKeepAliveTimeout, use keepAliveMaxTimeout instead")}if(r!=null&&!Number.isFinite(r)){throw new A("invalid maxHeaderSize")}if(B!=null&&typeof B!=="string"){throw new A("invalid socketPath")}if(l!=null&&(!Number.isFinite(l)||l<0)){throw new A("invalid connectTimeout")}if(f!=null&&(!Number.isFinite(f)||f<=0)){throw new A("invalid keepAliveTimeout")}if(E!=null&&(!Number.isFinite(E)||E<=0)){throw new A("invalid keepAliveMaxTimeout")}if(I!=null&&!Number.isFinite(I)){throw new A("invalid keepAliveTimeoutThreshold")}if(n!=null&&(!Number.isInteger(n)||n<0)){throw new A("headersTimeout must be a positive integer or zero")}if(u!=null&&(!Number.isInteger(u)||u<0)){throw new A("bodyTimeout must be a positive integer or zero")}if(Y!=null&&typeof Y!=="function"&&typeof Y!=="object"){throw new A("connect must be a function or an object")}if(z!=null&&(!Number.isInteger(z)||z<0)){throw new A("maxRedirections must be a positive number")}if(V!=null&&(!Number.isInteger(V)||V<0)){throw new A("maxRequestsPerClient must be a positive number")}if(ee!=null&&(typeof ee!=="string"||s.isIP(ee)===0)){throw new A("localAddress must be valid string IP address")}if(te!=null&&(!Number.isInteger(te)||te<-1)){throw new A("maxResponseSize must be a positive number")}if(oe!=null&&(!Number.isInteger(oe)||oe<-1)){throw new A("autoSelectFamilyAttemptTimeout must be a positive number")}if(ce!=null&&typeof ce!=="boolean"){throw new A("allowH2 must be a valid boolean value")}if(ae!=null&&(typeof ae!=="number"||ae<1)){throw new A("maxConcurrentStreams must be a positive integer, greater than 0")}if(typeof Y!=="function"){Y=g({...S,maxCachedSessions:G,allowH2:ce,socketPath:B,timeout:l,...ie?{autoSelectFamily:ie,autoSelectFamilyAttemptTimeout:oe}:undefined,...Y})}if(t?.Client&&Array.isArray(t.Client)){this[J]=t.Client;if(!re){re=true;process.emitWarning("Client.Options#interceptor is deprecated. Use Dispatcher#compose instead.",{code:"UNDICI-CLIENT-INTERCEPTOR-DEPRECATED"})}}else{this[J]=[se({maxRedirections:z})]}this[p]=o.parseOrigin(e);this[H]=Y;this[k]=b!=null?b:1;this[T]=r||i.maxHeaderSize;this[D]=f==null?4e3:f;this[M]=E==null?6e5:E;this[P]=I==null?2e3:I;this[F]=this[D];this[h]=null;this[W]=ee!=null?ee:null;this[y]=0;this[w]=0;this[N]=`host: ${this[p].hostname}${this[p].port?`:${this[p].port}`:""}\r\n`;this[U]=u!=null?u:3e5;this[L]=n!=null?n:3e5;this[O]=v==null?true:v;this[_]=z;this[q]=V;this[ne]=null;this[j]=te>-1?te:-1;this[X]=ae!=null?ae:100;this[$]=null;this[Q]=[];this[R]=0;this[x]=0;this[Z]=e=>resume(this,e);this[K]=e=>onError(this,e)}get pipelining(){return this[k]}set pipelining(e){this[k]=e;this[Z](true)}get[I](){return this[Q].length-this[x]}get[E](){return this[x]-this[R]}get[B](){return this[Q].length-this[R]}get[b](){return!!this[$]&&!this[S]&&!this[$].destroyed}get[f](){return Boolean(this[$]?.busy(null)||this[B]>=(getPipelining(this)||1)||this[I]>0)}[C](e){connect(this);this.once("connect",e)}[V](e,t){const r=e.origin||this[p].origin;const n=new c(r,e,t);this[Q].push(n);if(this[y]){}else if(o.bodyLength(n.body)==null&&o.isIterable(n.body)){this[y]=1;queueMicrotask((()=>resume(this)))}else{this[Z](true)}if(this[y]&&this[w]!==2&&this[f]){this[w]=2}return this[w]<2}async[z](){return new Promise((e=>{if(this[B]){this[ne]=e}else{e(null)}}))}async[Y](e){return new Promise((t=>{const r=this[Q].splice(this[x]);for(let t=0;t<r.length;t++){const n=r[t];o.errorRequest(this,n,e)}const callback=()=>{if(this[ne]){this[ne]();this[ne]=null}t(null)};if(this[$]){this[$].destroy(e,callback);this[$]=null}else{queueMicrotask(callback)}this[Z]()}))}}const se=r(5092);function onError(e,t){if(e[E]===0&&t.code!=="UND_ERR_INFO"&&t.code!=="UND_ERR_SOCKET"){n(e[x]===e[R]);const r=e[Q].splice(e[R]);for(let n=0;n<r.length;n++){const s=r[n];o.errorRequest(e,s,t)}n(e[B]===0)}}async function connect(e){n(!e[S]);n(!e[$]);let{host:t,hostname:r,protocol:i,port:c}=e[p];if(r[0]==="["){const e=r.indexOf("]");n(e!==-1);const t=r.substring(1,e);n(s.isIP(t));r=t}e[S]=true;if(a.beforeConnect.hasSubscribers){a.beforeConnect.publish({connectParams:{host:t,hostname:r,protocol:i,port:c,version:e[$]?.version,servername:e[h],localAddress:e[W]},connector:e[H]})}try{const s=await new Promise(((n,s)=>{e[H]({host:t,hostname:r,protocol:i,port:c,servername:e[h],localAddress:e[W]},((e,t)=>{if(e){s(e)}else{n(t)}}))}));if(e.destroyed){o.destroy(s.on("error",noop),new d);return}n(s);try{e[$]=s.alpnProtocol==="h2"?await te(e,s):await ee(e,s)}catch(e){s.destroy().on("error",noop);throw e}e[S]=false;s[G]=0;s[q]=e[q];s[m]=e;s[v]=null;if(a.connected.hasSubscribers){a.connected.publish({connectParams:{host:t,hostname:r,protocol:i,port:c,version:e[$]?.version,servername:e[h],localAddress:e[W]},connector:e[H],socket:s})}e.emit("connect",e[p],[e])}catch(s){if(e.destroyed){return}e[S]=false;if(a.connectError.hasSubscribers){a.connectError.publish({connectParams:{host:t,hostname:r,protocol:i,port:c,version:e[$]?.version,servername:e[h],localAddress:e[W]},connector:e[H],error:s})}if(s.code==="ERR_TLS_CERT_ALTNAME_INVALID"){n(e[E]===0);while(e[I]>0&&e[Q][e[x]].servername===e[h]){const t=e[Q][e[x]++];o.errorRequest(e,t,s)}}else{onError(e,s)}e.emit("connectionError",e[p],[e],s)}e[Z]()}function emitDrain(e){e[w]=0;e.emit("drain",e[p],[e])}function resume(e,t){if(e[y]===2){return}e[y]=2;_resume(e,t);e[y]=0;if(e[R]>256){e[Q].splice(0,e[R]);e[x]-=e[R];e[R]=0}}function _resume(e,t){while(true){if(e.destroyed){n(e[I]===0);return}if(e[ne]&&!e[B]){e[ne]();e[ne]=null;return}if(e[$]){e[$].resume()}if(e[f]){e[w]=2}else if(e[w]===2){if(t){e[w]=1;queueMicrotask((()=>emitDrain(e)))}else{emitDrain(e)}continue}if(e[I]===0){return}if(e[E]>=(getPipelining(e)||1)){return}const r=e[Q][e[x]];if(e[p].protocol==="https:"&&e[h]!==r.servername){if(e[E]>0){return}e[h]=r.servername;e[$]?.destroy(new u("servername changed"),(()=>{e[$]=null;resume(e)}))}if(e[S]){return}if(!e[$]){connect(e);return}if(e[$].destroyed){return}if(e[$].busy(r)){return}if(!r.aborted&&e[$].write(r)){e[x]++}else{e[Q].splice(e[x],1)}}}e.exports=Client},1841:(e,t,r)=>{const n=r(883);const{ClientDestroyedError:s,ClientClosedError:i,InvalidArgumentError:o}=r(8707);const{kDestroy:a,kClose:c,kClosed:l,kDestroyed:A,kDispatch:u,kInterceptors:d}=r(6443);const g=Symbol("onDestroyed");const p=Symbol("onClosed");const h=Symbol("Intercepted Dispatch");const m=Symbol("webSocketOptions");class DispatcherBase extends n{constructor(e){super();this[A]=false;this[g]=null;this[l]=false;this[p]=[];this[m]=e?.webSocket??{}}get webSocketOptions(){return{maxFragments:this[m].maxFragments??131072,maxPayloadSize:this[m].maxPayloadSize??128*1024*1024}}get destroyed(){return this[A]}get closed(){return this[l]}get interceptors(){return this[d]}set interceptors(e){if(e){for(let t=e.length-1;t>=0;t--){const e=this[d][t];if(typeof e!=="function"){throw new o("interceptor must be an function")}}}this[d]=e}close(e){if(e===undefined){return new Promise(((e,t)=>{this.close(((r,n)=>r?t(r):e(n)))}))}if(typeof e!=="function"){throw new o("invalid callback")}if(this[A]){queueMicrotask((()=>e(new s,null)));return}if(this[l]){if(this[p]){this[p].push(e)}else{queueMicrotask((()=>e(null,null)))}return}this[l]=true;this[p].push(e);const onClosed=()=>{const e=this[p];this[p]=null;for(let t=0;t<e.length;t++){e[t](null,null)}};this[c]().then((()=>this.destroy())).then((()=>{queueMicrotask(onClosed)}))}destroy(e,t){if(typeof e==="function"){t=e;e=null}if(t===undefined){return new Promise(((t,r)=>{this.destroy(e,((e,n)=>e?r(e):t(n)))}))}if(typeof t!=="function"){throw new o("invalid callback")}if(this[A]){if(this[g]){this[g].push(t)}else{queueMicrotask((()=>t(null,null)))}return}if(!e){e=new s}this[A]=true;this[g]=this[g]||[];this[g].push(t);const onDestroyed=()=>{const e=this[g];this[g]=null;for(let t=0;t<e.length;t++){e[t](null,null)}};this[a](e).then((()=>{queueMicrotask(onDestroyed)}))}[h](e,t){if(!this[d]||this[d].length===0){this[h]=this[u];return this[u](e,t)}let r=this[u].bind(this);for(let e=this[d].length-1;e>=0;e--){r=this[d][e](r)}this[h]=r;return r(e,t)}dispatch(e,t){if(!t||typeof t!=="object"){throw new o("handler must be an object")}try{if(!e||typeof e!=="object"){throw new o("opts must be an object.")}if(this[A]||this[g]){throw new s}if(this[l]){throw new i}return this[h](e,t)}catch(e){if(typeof t.onError!=="function"){throw new o("invalid onError method")}t.onError(e);return false}}}e.exports=DispatcherBase},883:(e,t,r)=>{const n=r(8474);class Dispatcher extends n{dispatch(){throw new Error("not implemented")}close(){throw new Error("not implemented")}destroy(){throw new Error("not implemented")}compose(...e){const t=Array.isArray(e[0])?e[0]:e;let r=this.dispatch.bind(this);for(const e of t){if(e==null){continue}if(typeof e!=="function"){throw new TypeError(`invalid interceptor, expected function received ${typeof e}`)}r=e(r);if(r==null||typeof r!=="function"||r.length!==2){throw new TypeError("invalid interceptor")}}return new ComposedDispatcher(this,r)}}class ComposedDispatcher extends Dispatcher{#e=null;#t=null;constructor(e,t){super();this.#e=e;this.#t=t}dispatch(...e){this.#t(...e)}close(...e){return this.#e.close(...e)}destroy(...e){return this.#e.destroy(...e)}}e.exports=Dispatcher},3137:(e,t,r)=>{const n=r(1841);const{kClose:s,kDestroy:i,kClosed:o,kDestroyed:a,kDispatch:c,kNoProxyAgent:l,kHttpProxyAgent:A,kHttpsProxyAgent:u}=r(6443);const d=r(6672);const g=r(7405);const p={"http:":80,"https:":443};let h=false;class EnvHttpProxyAgent extends n{#r=null;#n=null;#s=null;constructor(e={}){super();this.#s=e;if(!h){h=true;process.emitWarning("EnvHttpProxyAgent is experimental, expect them to change at any time.",{code:"UNDICI-EHPA"})}const{httpProxy:t,httpsProxy:r,noProxy:n,...s}=e;this[l]=new g(s);const i=t??process.env.http_proxy??process.env.HTTP_PROXY;if(i){this[A]=new d({...s,uri:i})}else{this[A]=this[l]}const o=r??process.env.https_proxy??process.env.HTTPS_PROXY;if(o){this[u]=new d({...s,uri:o})}else{this[u]=this[A]}this.#i()}[c](e,t){const r=new URL(e.origin);const n=this.#o(r);return n.dispatch(e,t)}async[s](){await this[l].close();if(!this[A][o]){await this[A].close()}if(!this[u][o]){await this[u].close()}}async[i](e){await this[l].destroy(e);if(!this[A][a]){await this[A].destroy(e)}if(!this[u][a]){await this[u].destroy(e)}}#o(e){let{protocol:t,host:r,port:n}=e;r=r.replace(/:\d*$/,"").toLowerCase();n=Number.parseInt(n,10)||p[t]||0;if(!this.#a(r,n)){return this[l]}if(t==="https:"){return this[u]}return this[A]}#a(e,t){if(this.#c){this.#i()}if(this.#n.length===0){return true}if(this.#r==="*"){return false}for(let r=0;r<this.#n.length;r++){const n=this.#n[r];if(n.port&&n.port!==t){continue}if(!/^[.*]/.test(n.hostname)){if(e===n.hostname){return false}}else{if(e.endsWith(n.hostname.replace(/^\*/,""))){return false}}}return true}#i(){const e=this.#s.noProxy??this.#l;const t=e.split(/[,\s]/);const r=[];for(let e=0;e<t.length;e++){const n=t[e];if(!n){continue}const s=n.match(/^(.+):(\d+)$/);r.push({hostname:(s?s[1]:n).toLowerCase(),port:s?Number.parseInt(s[2],10):0})}this.#r=e;this.#n=r}get#c(){if(this.#s.noProxy!==undefined){return false}return this.#r!==this.#l}get#l(){return process.env.no_proxy??process.env.NO_PROXY??""}}e.exports=EnvHttpProxyAgent},4660:e=>{const t=2048;const r=t-1;class FixedCircularBuffer{constructor(){this.bottom=0;this.top=0;this.list=new Array(t);this.next=null}isEmpty(){return this.top===this.bottom}isFull(){return(this.top+1&r)===this.bottom}push(e){this.list[this.top]=e;this.top=this.top+1&r}shift(){const e=this.list[this.bottom];if(e===undefined)return null;this.list[this.bottom]=undefined;this.bottom=this.bottom+1&r;return e}}e.exports=class FixedQueue{constructor(){this.head=this.tail=new FixedCircularBuffer}isEmpty(){return this.head.isEmpty()}push(e){if(this.head.isFull()){this.head=this.head.next=new FixedCircularBuffer}this.head.push(e)}shift(){const e=this.tail;const t=e.shift();if(e.isEmpty()&&e.next!==null){this.tail=e.next}return t}}},2128:(e,t,r)=>{const n=r(1841);const s=r(4660);const{kConnected:i,kSize:o,kRunning:a,kPending:c,kQueued:l,kBusy:A,kFree:u,kUrl:d,kClose:g,kDestroy:p,kDispatch:h}=r(6443);const m=r(3246);const f=Symbol("clients");const C=Symbol("needDrain");const y=Symbol("queue");const E=Symbol("closed resolve");const I=Symbol("onDrain");const B=Symbol("onConnect");const Q=Symbol("onDisconnect");const b=Symbol("onConnectionError");const S=Symbol("get dispatcher");const w=Symbol("add client");const D=Symbol("remove client");const N=Symbol("stats");class PoolBase extends n{constructor(e){super(e);this[y]=new s;this[f]=[];this[l]=0;const t=this;this[I]=function onDrain(e,r){const n=t[y];let s=false;while(!s){const e=n.shift();if(!e){break}t[l]--;s=!this.dispatch(e.opts,e.handler)}this[C]=s;if(!this[C]&&t[C]){t[C]=false;t.emit("drain",e,[t,...r])}if(t[E]&&n.isEmpty()){Promise.all(t[f].map((e=>e.close()))).then(t[E])}};this[B]=(e,r)=>{t.emit("connect",e,[t,...r])};this[Q]=(e,r,n)=>{t.emit("disconnect",e,[t,...r],n)};this[b]=(e,r,n)=>{t.emit("connectionError",e,[t,...r],n)};this[N]=new m(this)}get[A](){return this[C]}get[i](){return this[f].filter((e=>e[i])).length}get[u](){return this[f].filter((e=>e[i]&&!e[C])).length}get[c](){let e=this[l];for(const{[c]:t}of this[f]){e+=t}return e}get[a](){let e=0;for(const{[a]:t}of this[f]){e+=t}return e}get[o](){let e=this[l];for(const{[o]:t}of this[f]){e+=t}return e}get stats(){return this[N]}async[g](){if(this[y].isEmpty()){await Promise.all(this[f].map((e=>e.close())))}else{await new Promise((e=>{this[E]=e}))}}async[p](e){while(true){const t=this[y].shift();if(!t){break}t.handler.onError(e)}await Promise.all(this[f].map((t=>t.destroy(e))))}[h](e,t){const r=this[S]();if(!r){this[C]=true;this[y].push({opts:e,handler:t});this[l]++}else if(!r.dispatch(e,t)){r[C]=true;this[C]=!this[S]()}return!this[C]}[w](e){e.on("drain",this[I]).on("connect",this[B]).on("disconnect",this[Q]).on("connectionError",this[b]);this[f].push(e);if(this[C]){queueMicrotask((()=>{if(this[C]){this[I](e[d],[this,e])}}))}return this}[D](e){e.close((()=>{const t=this[f].indexOf(e);if(t!==-1){this[f].splice(t,1)}}));this[C]=this[f].some((e=>!e[C]&&e.closed!==true&&e.destroyed!==true))}}e.exports={PoolBase:PoolBase,kClients:f,kNeedDrain:C,kAddClient:w,kRemoveClient:D,kGetDispatcher:S}},3246:(e,t,r)=>{const{kFree:n,kConnected:s,kPending:i,kQueued:o,kRunning:a,kSize:c}=r(6443);const l=Symbol("pool");class PoolStats{constructor(e){this[l]=e}get connected(){return this[l][s]}get free(){return this[l][n]}get pending(){return this[l][i]}get queued(){return this[l][o]}get running(){return this[l][a]}get size(){return this[l][c]}}e.exports=PoolStats},628:(e,t,r)=>{const{PoolBase:n,kClients:s,kNeedDrain:i,kAddClient:o,kGetDispatcher:a}=r(2128);const c=r(3701);const{InvalidArgumentError:l}=r(8707);const A=r(3440);const{kUrl:u,kInterceptors:d}=r(6443);const g=r(9136);const p=Symbol("options");const h=Symbol("connections");const m=Symbol("factory");function defaultFactory(e,t){return new c(e,t)}class Pool extends n{constructor(e,{connections:t,factory:r=defaultFactory,connect:n,connectTimeout:i,tls:o,maxCachedSessions:a,socketPath:c,autoSelectFamily:f,autoSelectFamilyAttemptTimeout:C,allowH2:y,...E}={}){if(t!=null&&(!Number.isFinite(t)||t<0)){throw new l("invalid connections")}if(typeof r!=="function"){throw new l("factory must be a function.")}if(n!=null&&typeof n!=="function"&&typeof n!=="object"){throw new l("connect must be a function or an object")}if(typeof n!=="function"){n=g({...o,maxCachedSessions:a,allowH2:y,socketPath:c,timeout:i,...f?{autoSelectFamily:f,autoSelectFamilyAttemptTimeout:C}:undefined,...n})}super(E);this[d]=E.interceptors?.Pool&&Array.isArray(E.interceptors.Pool)?E.interceptors.Pool:[];this[h]=t||null;this[u]=A.parseOrigin(e);this[p]={...A.deepClone(E),connect:n,allowH2:y};this[p].interceptors=E.interceptors?{...E.interceptors}:undefined;this[m]=r;this.on("connectionError",((e,t,r)=>{for(const e of t){const t=this[s].indexOf(e);if(t!==-1){this[s].splice(t,1)}}}))}[a](){for(const e of this[s]){if(!e[i]){return e}}if(!this[h]||this[s].length<this[h]){const e=this[m](this[u],this[p]);this[o](e);return e}}}e.exports=Pool},6672:(e,t,r)=>{const{kProxy:n,kClose:s,kDestroy:i,kDispatch:o,kInterceptors:a}=r(6443);const{URL:c}=r(3136);const l=r(7405);const A=r(628);const u=r(1841);const{InvalidArgumentError:d,RequestAbortedError:g,SecureProxyConnectionError:p}=r(8707);const h=r(9136);const m=r(3701);const f=Symbol("proxy agent");const C=Symbol("proxy client");const y=Symbol("proxy headers");const E=Symbol("request tls settings");const I=Symbol("proxy tls settings");const B=Symbol("connect endpoint function");const Q=Symbol("tunnel proxy");function defaultProtocolPort(e){return e==="https:"?443:80}function defaultFactory(e,t){return new A(e,t)}const noop=()=>{};function defaultAgentFactory(e,t){if(t.connections===1){return new m(e,t)}return new A(e,t)}class Http1ProxyWrapper extends u{#A;constructor(e,{headers:t={},connect:r,factory:n}){super();if(!e){throw new d("Proxy URL is mandatory")}this[y]=t;if(n){this.#A=n(e,{connect:r})}else{this.#A=new m(e,{connect:r})}}[o](e,t){const r=t.onHeaders;t.onHeaders=function(e,n,s){if(e===407){if(typeof t.onError==="function"){t.onError(new d("Proxy Authentication Required (407)"))}return}if(r)r.call(this,e,n,s)};const{origin:n,path:s="/",headers:i={}}=e;e.path=n+s;if(!("host"in i)&&!("Host"in i)){const{host:e}=new c(n);i.host=e}e.headers={...this[y],...i};return this.#A[o](e,t)}async[s](){return this.#A.close()}async[i](e){return this.#A.destroy(e)}}class ProxyAgent extends u{constructor(e){super();if(!e||typeof e==="object"&&!(e instanceof c)&&!e.uri){throw new d("Proxy uri is mandatory")}const{clientFactory:t=defaultFactory}=e;if(typeof t!=="function"){throw new d("Proxy opts.clientFactory must be a function.")}const{proxyTunnel:r=true}=e;const s=this.#u(e);const{href:i,origin:o,port:A,protocol:u,username:m,password:b,hostname:S}=s;this[n]={uri:i,protocol:u};this[a]=e.interceptors?.ProxyAgent&&Array.isArray(e.interceptors.ProxyAgent)?e.interceptors.ProxyAgent:[];this[E]=e.requestTls;this[I]=e.proxyTls;this[y]=e.headers||{};this[Q]=r;if(e.auth&&e.token){throw new d("opts.auth cannot be used in combination with opts.token")}else if(e.auth){this[y]["proxy-authorization"]=`Basic ${e.auth}`}else if(e.token){this[y]["proxy-authorization"]=e.token}else if(m&&b){this[y]["proxy-authorization"]=`Basic ${Buffer.from(`${decodeURIComponent(m)}:${decodeURIComponent(b)}`).toString("base64")}`}const w=h({...e.proxyTls});this[B]=h({...e.requestTls});const D=e.factory||defaultAgentFactory;const factory=(e,t)=>{const{protocol:r}=new c(e);if(!this[Q]&&r==="http:"&&this[n].protocol==="http:"){return new Http1ProxyWrapper(this[n].uri,{headers:this[y],connect:w,factory:D})}return D(e,t)};this[C]=t(s,{connect:w});this[f]=new l({...e,factory:factory,connect:async(e,t)=>{let r=e.host;if(!e.port){r+=`:${defaultProtocolPort(e.protocol)}`}try{const{socket:n,statusCode:s}=await this[C].connect({origin:o,port:A,path:r,signal:e.signal,headers:{...this[y],host:e.host},servername:this[I]?.servername||S});if(s!==200){n.on("error",noop).destroy();t(new g(`Proxy response (${s}) !== 200 when HTTP Tunneling`))}if(e.protocol!=="https:"){t(null,n);return}let i;if(this[E]){i=this[E].servername}else{i=e.servername}this[B]({...e,servername:i,httpSocket:n},t)}catch(e){if(e.code==="ERR_TLS_CERT_ALTNAME_INVALID"){t(new p(e))}else{t(e)}}}})}dispatch(e,t){const r=buildHeaders(e.headers);throwIfProxyAuthIsSent(r);if(r&&!("host"in r)&&!("Host"in r)){const{host:t}=new c(e.origin);r.host=t}return this[f].dispatch({...e,headers:r},t)}#u(e){if(typeof e==="string"){return new c(e)}else if(e instanceof c){return e}else{return new c(e.uri)}}async[s](){await this[f].close();await this[C].close()}async[i](){await this[f].destroy();await this[C].destroy()}}function buildHeaders(e){if(Array.isArray(e)){const t={};for(let r=0;r<e.length;r+=2){t[e[r]]=e[r+1]}return t}return e}function throwIfProxyAuthIsSent(e){const t=e&&Object.keys(e).find((e=>e.toLowerCase()==="proxy-authorization"));if(t){throw new d("Proxy-Authorization should be sent in ProxyAgent constructor")}}e.exports=ProxyAgent},50:(e,t,r)=>{const n=r(883);const s=r(7816);class RetryAgent extends n{#d=null;#g=null;constructor(e,t={}){super(t);this.#d=e;this.#g=t}dispatch(e,t){const r=new s({...e,retryOptions:this.#g},{dispatch:this.#d.dispatch.bind(this.#d),handler:t});return this.#d.dispatch(e,r)}close(){return this.#d.close()}destroy(){return this.#d.destroy()}}e.exports=RetryAgent},2581:(e,t,r)=>{const n=Symbol.for("undici.globalDispatcher.1");const{InvalidArgumentError:s}=r(8707);const i=r(7405);if(getGlobalDispatcher()===undefined){setGlobalDispatcher(new i)}function setGlobalDispatcher(e){if(!e||typeof e.dispatch!=="function"){throw new s("Argument agent must implement Agent")}Object.defineProperty(globalThis,n,{value:e,writable:true,enumerable:false,configurable:false})}function getGlobalDispatcher(){return globalThis[n]}e.exports={setGlobalDispatcher:setGlobalDispatcher,getGlobalDispatcher:getGlobalDispatcher}},8155:e=>{e.exports=class DecoratorHandler{#p;constructor(e){if(typeof e!=="object"||e===null){throw new TypeError("handler must be an object")}this.#p=e}onConnect(...e){return this.#p.onConnect?.(...e)}onError(...e){return this.#p.onError?.(...e)}onUpgrade(...e){return this.#p.onUpgrade?.(...e)}onResponseStarted(...e){return this.#p.onResponseStarted?.(...e)}onHeaders(...e){return this.#p.onHeaders?.(...e)}onData(...e){return this.#p.onData?.(...e)}onComplete(...e){return this.#p.onComplete?.(...e)}onBodySent(...e){return this.#p.onBodySent?.(...e)}}},8754:(e,t,r)=>{const n=r(3440);const{kBodyUsed:s}=r(6443);const i=r(4589);const{InvalidArgumentError:o}=r(8707);const a=r(8474);const c=[300,301,302,303,307,308];const l=Symbol("body");class BodyAsyncIterable{constructor(e){this[l]=e;this[s]=false}async*[Symbol.asyncIterator](){i(!this[s],"disturbed");this[s]=true;yield*this[l]}}class RedirectHandler{constructor(e,t,r,c){if(t!=null&&(!Number.isInteger(t)||t<0)){throw new o("maxRedirections must be a positive number")}n.validateHandler(c,r.method,r.upgrade);this.dispatch=e;this.location=null;this.abort=null;this.opts={...r,maxRedirections:0};this.maxRedirections=t;this.handler=c;this.history=[];this.redirectionLimitReached=false;if(n.isStream(this.opts.body)){if(n.bodyLength(this.opts.body)===0){this.opts.body.on("data",(function(){i(false)}))}if(typeof this.opts.body.readableDidRead!=="boolean"){this.opts.body[s]=false;a.prototype.on.call(this.opts.body,"data",(function(){this[s]=true}))}}else if(this.opts.body&&typeof this.opts.body.pipeTo==="function"){this.opts.body=new BodyAsyncIterable(this.opts.body)}else if(this.opts.body&&typeof this.opts.body!=="string"&&!ArrayBuffer.isView(this.opts.body)&&n.isIterable(this.opts.body)){this.opts.body=new BodyAsyncIterable(this.opts.body)}}onConnect(e){this.abort=e;this.handler.onConnect(e,{history:this.history})}onUpgrade(e,t,r){this.handler.onUpgrade(e,t,r)}onError(e){this.handler.onError(e)}onHeaders(e,t,r,s){this.location=this.history.length>=this.maxRedirections||n.isDisturbed(this.opts.body)?null:parseLocation(e,t);if(this.opts.throwOnMaxRedirect&&this.history.length>=this.maxRedirections){if(this.request){this.request.abort(new Error("max redirects"))}this.redirectionLimitReached=true;this.abort(new Error("max redirects"));return}if(this.opts.origin){this.history.push(new URL(this.opts.path,this.opts.origin))}if(!this.location){return this.handler.onHeaders(e,t,r,s)}const{origin:i,pathname:o,search:a}=n.parseURL(new URL(this.location,this.opts.origin&&new URL(this.opts.path,this.opts.origin)));const c=a?`${o}${a}`:o;this.opts.headers=cleanRequestHeaders(this.opts.headers,e===303,this.opts.origin!==i);this.opts.path=c;this.opts.origin=i;this.opts.maxRedirections=0;this.opts.query=null;if(e===303&&this.opts.method!=="HEAD"){this.opts.method="GET";this.opts.body=null}}onData(e){if(this.location){}else{return this.handler.onData(e)}}onComplete(e){if(this.location){this.location=null;this.abort=null;this.dispatch(this.opts,this)}else{this.handler.onComplete(e)}}onBodySent(e){if(this.handler.onBodySent){this.handler.onBodySent(e)}}}function parseLocation(e,t){if(c.indexOf(e)===-1){return null}for(let e=0;e<t.length;e+=2){if(t[e].length===8&&n.headerNameToString(t[e])==="location"){return t[e+1]}}}function shouldRemoveHeader(e,t,r){if(e.length===4){return n.headerNameToString(e)==="host"}if(t&&n.headerNameToString(e).startsWith("content-")){return true}if(r&&(e.length===13||e.length===6||e.length===19)){const t=n.headerNameToString(e);return t==="authorization"||t==="cookie"||t==="proxy-authorization"}return false}function cleanRequestHeaders(e,t,r){const n=[];if(Array.isArray(e)){for(let s=0;s<e.length;s+=2){if(!shouldRemoveHeader(e[s],t,r)){n.push(e[s],e[s+1])}}}else if(e&&typeof e==="object"){for(const s of Object.keys(e)){if(!shouldRemoveHeader(s,t,r)){n.push(s,e[s])}}}else{i(e==null,"headers must be an object or an array")}return n}e.exports=RedirectHandler},7816:(e,t,r)=>{const n=r(4589);const{kRetryHandlerDefaultRetry:s}=r(6443);const{RequestRetryError:i}=r(8707);const{isDisturbed:o,parseHeaders:a,parseRangeHeader:c,wrapRequestBody:l}=r(3440);function calculateRetryAfterHeader(e){const t=Date.now();return new Date(e).getTime()-t}function validatePartialResponseContentLength(e,t,r,n){const s=e["content-length"];if(s==null){return null}if(!Number.isFinite(t.start)||!Number.isFinite(t.end)){return null}const o=Number(s);const a=t.end-t.start+1;if(!Number.isFinite(o)||o!==a){return new i("Content-Length mismatch",r,{headers:e,data:{count:n}})}return null}class RetryHandler{constructor(e,t){const{retryOptions:r,...n}=e;const{retry:i,maxRetries:o,maxTimeout:a,minTimeout:c,timeoutFactor:A,methods:u,errorCodes:d,retryAfter:g,statusCodes:p}=r??{};this.dispatch=t.dispatch;this.handler=t.handler;this.opts={...n,body:l(e.body)};this.abort=null;this.aborted=false;this.retryOpts={retry:i??RetryHandler[s],retryAfter:g??true,maxTimeout:a??30*1e3,minTimeout:c??500,timeoutFactor:A??2,maxRetries:o??5,methods:u??["GET","HEAD","OPTIONS","PUT","DELETE","TRACE"],statusCodes:p??[500,502,503,504,429],errorCodes:d??["ECONNRESET","ECONNREFUSED","ENOTFOUND","ENETDOWN","ENETUNREACH","EHOSTDOWN","EHOSTUNREACH","EPIPE","UND_ERR_SOCKET"]};this.retryCount=0;this.retryCountCheckpoint=0;this.start=0;this.end=null;this.etag=null;this.resume=null;this.handler.onConnect((e=>{this.aborted=true;if(this.abort){this.abort(e)}else{this.reason=e}}))}onRequestSent(){if(this.handler.onRequestSent){this.handler.onRequestSent()}}onUpgrade(e,t,r){if(this.handler.onUpgrade){this.handler.onUpgrade(e,t,r)}}onConnect(e){if(this.aborted){e(this.reason)}else{this.abort=e}}onBodySent(e){if(this.handler.onBodySent)return this.handler.onBodySent(e)}static[s](e,{state:t,opts:r},n){const{statusCode:s,code:i,headers:o}=e;const{method:a,retryOptions:c}=r;const{maxRetries:l,minTimeout:A,maxTimeout:u,timeoutFactor:d,statusCodes:g,errorCodes:p,methods:h}=c;const{counter:m}=t;if(i&&i!=="UND_ERR_REQ_RETRY"&&!p.includes(i)){n(e);return}if(Array.isArray(h)&&!h.includes(a)){n(e);return}if(s!=null&&Array.isArray(g)&&!g.includes(s)){n(e);return}if(m>l){n(e);return}let f=o?.["retry-after"];if(f){f=Number(f);f=Number.isNaN(f)?calculateRetryAfterHeader(f):f*1e3}const C=f>0?Math.min(f,u):Math.min(A*d**(m-1),u);setTimeout((()=>n(null)),C)}onHeaders(e,t,r,s){const o=a(t);this.retryCount+=1;if(e>=300){if(this.retryOpts.statusCodes.includes(e)===false){return this.handler.onHeaders(e,t,r,s)}else{this.abort(new i("Request failed",e,{headers:o,data:{count:this.retryCount}}));return false}}if(this.resume!=null){this.resume=null;if(e!==206&&(this.start>0||e!==200)){this.abort(new i("server does not support the range header and the payload was partially consumed",e,{headers:o,data:{count:this.retryCount}}));return false}const t=c(o["content-range"]);if(!t){this.abort(new i("Content-Range mismatch",e,{headers:o,data:{count:this.retryCount}}));return false}if(this.etag!=null&&this.etag!==o.etag){this.abort(new i("ETag mismatch",e,{headers:o,data:{count:this.retryCount}}));return false}const s=validatePartialResponseContentLength(o,t,e,this.retryCount);if(s!=null){this.abort(s);return false}const{start:a,size:l,end:A=l-1}=t;n(this.start===a,"content-range mismatch");n(this.end==null||this.end===A,"content-range mismatch");this.resume=r;return true}if(this.end==null){if(e===206){const i=c(o["content-range"]);if(i==null){return this.handler.onHeaders(e,t,r,s)}const a=validatePartialResponseContentLength(o,i,e,this.retryCount);if(a!=null){this.abort(a);return false}const{start:l,size:A,end:u=A-1}=i;n(l!=null&&Number.isFinite(l),"content-range mismatch");n(u!=null&&Number.isFinite(u),"invalid content-length");this.start=l;this.end=u}if(this.end==null){const e=o["content-length"];this.end=e!=null?Number(e)-1:null}n(Number.isFinite(this.start));n(this.end==null||Number.isFinite(this.end),"invalid content-length");this.resume=r;this.etag=o.etag!=null?o.etag:null;if(this.etag!=null&&this.etag.startsWith("W/")){this.etag=null}return this.handler.onHeaders(e,t,r,s)}const l=new i("Request failed",e,{headers:o,data:{count:this.retryCount}});this.abort(l);return false}onData(e){this.start+=e.length;return this.handler.onData(e)}onComplete(e){this.retryCount=0;return this.handler.onComplete(e)}onError(e){if(this.aborted||o(this.opts.body)){return this.handler.onError(e)}if(this.retryCount-this.retryCountCheckpoint>0){this.retryCount=this.retryCountCheckpoint+(this.retryCount-this.retryCountCheckpoint)}else{this.retryCount+=1}this.retryOpts.retry(e,{state:{counter:this.retryCount},opts:{retryOptions:this.retryOpts,...this.opts}},onRetry.bind(this));function onRetry(e){if(e!=null||this.aborted||o(this.opts.body)){return this.handler.onError(e)}if(this.start!==0){const e={range:`bytes=${this.start}-${this.end??""}`};if(this.etag!=null){e["if-match"]=this.etag}this.opts={...this.opts,headers:{...this.opts.headers,...e}}}try{this.retryCountCheckpoint=this.retryCount;this.dispatch(this.opts,this)}catch(e){this.handler.onError(e)}}}}e.exports=RetryHandler},379:(e,t,r)=>{const{isIP:n}=r(7030);const{lookup:s}=r(610);const i=r(8155);const{InvalidArgumentError:o,InformationalError:a}=r(8707);const c=Math.pow(2,31)-1;class DNSInstance{#h=0;#m=0;#f=new Map;dualStack=true;affinity=null;lookup=null;pick=null;constructor(e){this.#h=e.maxTTL;this.#m=e.maxItems;this.dualStack=e.dualStack;this.affinity=e.affinity;this.lookup=e.lookup??this.#C;this.pick=e.pick??this.#y}get full(){return this.#f.size===this.#m}runLookup(e,t,r){const n=this.#f.get(e.hostname);if(n==null&&this.full){r(null,e.origin);return}const s={affinity:this.affinity,dualStack:this.dualStack,lookup:this.lookup,pick:this.pick,...t.dns,maxTTL:this.#h,maxItems:this.#m};if(n==null){this.lookup(e,s,((t,n)=>{if(t||n==null||n.length===0){r(t??new a("No DNS entries found"));return}this.setRecords(e,n);const i=this.#f.get(e.hostname);const o=this.pick(e,i,s.affinity);let c;if(typeof o.port==="number"){c=`:${o.port}`}else if(e.port!==""){c=`:${e.port}`}else{c=""}r(null,`${e.protocol}//${o.family===6?`[${o.address}]`:o.address}${c}`)}))}else{const i=this.pick(e,n,s.affinity);if(i==null){this.#f.delete(e.hostname);this.runLookup(e,t,r);return}let o;if(typeof i.port==="number"){o=`:${i.port}`}else if(e.port!==""){o=`:${e.port}`}else{o=""}r(null,`${e.protocol}//${i.family===6?`[${i.address}]`:i.address}${o}`)}}#C(e,t,r){s(e.hostname,{all:true,family:this.dualStack===false?this.affinity:0,order:"ipv4first"},((e,t)=>{if(e){return r(e)}const n=new Map;for(const e of t){n.set(`${e.address}:${e.family}`,e)}r(null,n.values())}))}#y(e,t,r){let n=null;const{records:s,offset:i}=t;let o;if(this.dualStack){if(r==null){if(i==null||i===c){t.offset=0;r=4}else{t.offset++;r=(t.offset&1)===1?6:4}}if(s[r]!=null&&s[r].ips.length>0){o=s[r]}else{o=s[r===4?6:4]}}else{o=s[r]}if(o==null||o.ips.length===0){return n}if(o.offset==null||o.offset===c){o.offset=0}else{o.offset++}const a=o.offset%o.ips.length;n=o.ips[a]??null;if(n==null){return n}if(Date.now()-n.timestamp>n.ttl){o.ips.splice(a,1);return this.pick(e,t,r)}return n}setRecords(e,t){const r=Date.now();const n={records:{4:null,6:null}};for(const e of t){e.timestamp=r;if(typeof e.ttl==="number"){e.ttl=Math.min(e.ttl,this.#h)}else{e.ttl=this.#h}const t=n.records[e.family]??{ips:[]};t.ips.push(e);n.records[e.family]=t}this.#f.set(e.hostname,n)}getHandler(e,t){return new DNSDispatchHandler(this,e,t)}}class DNSDispatchHandler extends i{#E=null;#s=null;#t=null;#p=null;#I=null;constructor(e,{origin:t,handler:r,dispatch:n},s){super(r);this.#I=t;this.#p=r;this.#s={...s};this.#E=e;this.#t=n}onError(e){switch(e.code){case"ETIMEDOUT":case"ECONNREFUSED":{if(this.#E.dualStack){this.#E.runLookup(this.#I,this.#s,((e,t)=>{if(e){return this.#p.onError(e)}const r={...this.#s,origin:t};this.#t(r,this)}));return}this.#p.onError(e);return}case"ENOTFOUND":this.#E.deleteRecord(this.#I);default:this.#p.onError(e);break}}}e.exports=e=>{if(e?.maxTTL!=null&&(typeof e?.maxTTL!=="number"||e?.maxTTL<0)){throw new o("Invalid maxTTL. Must be a positive number")}if(e?.maxItems!=null&&(typeof e?.maxItems!=="number"||e?.maxItems<1)){throw new o("Invalid maxItems. Must be a positive number and greater than zero")}if(e?.affinity!=null&&e?.affinity!==4&&e?.affinity!==6){throw new o("Invalid affinity. Must be either 4 or 6")}if(e?.dualStack!=null&&typeof e?.dualStack!=="boolean"){throw new o("Invalid dualStack. Must be a boolean")}if(e?.lookup!=null&&typeof e?.lookup!=="function"){throw new o("Invalid lookup. Must be a function")}if(e?.pick!=null&&typeof e?.pick!=="function"){throw new o("Invalid pick. Must be a function")}const t=e?.dualStack??true;let r;if(t){r=e?.affinity??null}else{r=e?.affinity??4}const s={maxTTL:e?.maxTTL??1e4,lookup:e?.lookup??null,pick:e?.pick??null,dualStack:t,affinity:r,maxItems:e?.maxItems??Infinity};const i=new DNSInstance(s);return e=>function dnsInterceptor(t,r){const s=t.origin.constructor===URL?t.origin:new URL(t.origin);if(n(s.hostname)!==0){return e(t,r)}i.runLookup(s,t,((n,o)=>{if(n){return r.onError(n)}let a=null;a={...t,servername:s.hostname,origin:o,headers:{host:s.hostname,...t.headers}};e(a,i.getHandler({origin:s,dispatch:e,handler:r},t))}));return true}}},8060:(e,t,r)=>{const n=r(3440);const{InvalidArgumentError:s,RequestAbortedError:i}=r(8707);const o=r(8155);class DumpHandler extends o{#B=1024*1024;#Q=null;#b=false;#S=false;#w=0;#D=null;#p=null;constructor({maxSize:e},t){super(t);if(e!=null&&(!Number.isFinite(e)||e<1)){throw new s("maxSize must be a number greater than 0")}this.#B=e??this.#B;this.#p=t}onConnect(e){this.#Q=e;this.#p.onConnect(this.#N.bind(this))}#N(e){this.#S=true;this.#D=e}onHeaders(e,t,r,s){const o=n.parseHeaders(t);const a=o["content-length"];if(a!=null&&a>this.#B){throw new i(`Response size (${a}) larger than maxSize (${this.#B})`)}if(this.#S){return true}return this.#p.onHeaders(e,t,r,s)}onError(e){if(this.#b){return}e=this.#D??e;this.#p.onError(e)}onData(e){this.#w=this.#w+e.length;if(this.#w>=this.#B){this.#b=true;if(this.#S){this.#p.onError(this.#D)}else{this.#p.onComplete([])}}return true}onComplete(e){if(this.#b){return}if(this.#S){this.#p.onError(this.reason);return}this.#p.onComplete(e)}}function createDumpInterceptor({maxSize:e}={maxSize:1024*1024}){return t=>function Intercept(r,n){const{dumpMaxSize:s=e}=r;const i=new DumpHandler({maxSize:s},n);return t(r,i)}}e.exports=createDumpInterceptor},5092:(e,t,r)=>{const n=r(8754);function createRedirectInterceptor({maxRedirections:e}){return t=>function Intercept(r,s){const{maxRedirections:i=e}=r;if(!i){return t(r,s)}const o=new n(t,i,r,s);r={...r,maxRedirections:0};return t(r,o)}}e.exports=createRedirectInterceptor},1514:(e,t,r)=>{const n=r(8754);e.exports=e=>{const t=e?.maxRedirections;return e=>function redirectInterceptor(r,s){const{maxRedirections:i=t,...o}=r;if(!i){return e(r,s)}const a=new n(e,i,r,s);return e(o,a)}}},2026:(e,t,r)=>{const n=r(7816);e.exports=e=>t=>function retryInterceptor(r,s){return t(r,new n({...r,retryOptions:{...e,...r.retryOptions}},{handler:s,dispatch:t}))}},2824:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:true});t.SPECIAL_HEADERS=t.HEADER_STATE=t.MINOR=t.MAJOR=t.CONNECTION_TOKEN_CHARS=t.HEADER_CHARS=t.TOKEN=t.STRICT_TOKEN=t.HEX=t.URL_CHAR=t.STRICT_URL_CHAR=t.USERINFO_CHARS=t.MARK=t.ALPHANUM=t.NUM=t.HEX_MAP=t.NUM_MAP=t.ALPHA=t.FINISH=t.H_METHOD_MAP=t.METHOD_MAP=t.METHODS_RTSP=t.METHODS_ICE=t.METHODS_HTTP=t.METHODS=t.LENIENT_FLAGS=t.FLAGS=t.TYPE=t.ERROR=void 0;const n=r(172);var s;(function(e){e[e["OK"]=0]="OK";e[e["INTERNAL"]=1]="INTERNAL";e[e["STRICT"]=2]="STRICT";e[e["LF_EXPECTED"]=3]="LF_EXPECTED";e[e["UNEXPECTED_CONTENT_LENGTH"]=4]="UNEXPECTED_CONTENT_LENGTH";e[e["CLOSED_CONNECTION"]=5]="CLOSED_CONNECTION";e[e["INVALID_METHOD"]=6]="INVALID_METHOD";e[e["INVALID_URL"]=7]="INVALID_URL";e[e["INVALID_CONSTANT"]=8]="INVALID_CONSTANT";e[e["INVALID_VERSION"]=9]="INVALID_VERSION";e[e["INVALID_HEADER_TOKEN"]=10]="INVALID_HEADER_TOKEN";e[e["INVALID_CONTENT_LENGTH"]=11]="INVALID_CONTENT_LENGTH";e[e["INVALID_CHUNK_SIZE"]=12]="INVALID_CHUNK_SIZE";e[e["INVALID_STATUS"]=13]="INVALID_STATUS";e[e["INVALID_EOF_STATE"]=14]="INVALID_EOF_STATE";e[e["INVALID_TRANSFER_ENCODING"]=15]="INVALID_TRANSFER_ENCODING";e[e["CB_MESSAGE_BEGIN"]=16]="CB_MESSAGE_BEGIN";e[e["CB_HEADERS_COMPLETE"]=17]="CB_HEADERS_COMPLETE";e[e["CB_MESSAGE_COMPLETE"]=18]="CB_MESSAGE_COMPLETE";e[e["CB_CHUNK_HEADER"]=19]="CB_CHUNK_HEADER";e[e["CB_CHUNK_COMPLETE"]=20]="CB_CHUNK_COMPLETE";e[e["PAUSED"]=21]="PAUSED";e[e["PAUSED_UPGRADE"]=22]="PAUSED_UPGRADE";e[e["PAUSED_H2_UPGRADE"]=23]="PAUSED_H2_UPGRADE";e[e["USER"]=24]="USER"})(s=t.ERROR||(t.ERROR={}));var i;(function(e){e[e["BOTH"]=0]="BOTH";e[e["REQUEST"]=1]="REQUEST";e[e["RESPONSE"]=2]="RESPONSE"})(i=t.TYPE||(t.TYPE={}));var o;(function(e){e[e["CONNECTION_KEEP_ALIVE"]=1]="CONNECTION_KEEP_ALIVE";e[e["CONNECTION_CLOSE"]=2]="CONNECTION_CLOSE";e[e["CONNECTION_UPGRADE"]=4]="CONNECTION_UPGRADE";e[e["CHUNKED"]=8]="CHUNKED";e[e["UPGRADE"]=16]="UPGRADE";e[e["CONTENT_LENGTH"]=32]="CONTENT_LENGTH";e[e["SKIPBODY"]=64]="SKIPBODY";e[e["TRAILING"]=128]="TRAILING";e[e["TRANSFER_ENCODING"]=512]="TRANSFER_ENCODING"})(o=t.FLAGS||(t.FLAGS={}));var a;(function(e){e[e["HEADERS"]=1]="HEADERS";e[e["CHUNKED_LENGTH"]=2]="CHUNKED_LENGTH";e[e["KEEP_ALIVE"]=4]="KEEP_ALIVE"})(a=t.LENIENT_FLAGS||(t.LENIENT_FLAGS={}));var c;(function(e){e[e["DELETE"]=0]="DELETE";e[e["GET"]=1]="GET";e[e["HEAD"]=2]="HEAD";e[e["POST"]=3]="POST";e[e["PUT"]=4]="PUT";e[e["CONNECT"]=5]="CONNECT";e[e["OPTIONS"]=6]="OPTIONS";e[e["TRACE"]=7]="TRACE";e[e["COPY"]=8]="COPY";e[e["LOCK"]=9]="LOCK";e[e["MKCOL"]=10]="MKCOL";e[e["MOVE"]=11]="MOVE";e[e["PROPFIND"]=12]="PROPFIND";e[e["PROPPATCH"]=13]="PROPPATCH";e[e["SEARCH"]=14]="SEARCH";e[e["UNLOCK"]=15]="UNLOCK";e[e["BIND"]=16]="BIND";e[e["REBIND"]=17]="REBIND";e[e["UNBIND"]=18]="UNBIND";e[e["ACL"]=19]="ACL";e[e["REPORT"]=20]="REPORT";e[e["MKACTIVITY"]=21]="MKACTIVITY";e[e["CHECKOUT"]=22]="CHECKOUT";e[e["MERGE"]=23]="MERGE";e[e["M-SEARCH"]=24]="M-SEARCH";e[e["NOTIFY"]=25]="NOTIFY";e[e["SUBSCRIBE"]=26]="SUBSCRIBE";e[e["UNSUBSCRIBE"]=27]="UNSUBSCRIBE";e[e["PATCH"]=28]="PATCH";e[e["PURGE"]=29]="PURGE";e[e["MKCALENDAR"]=30]="MKCALENDAR";e[e["LINK"]=31]="LINK";e[e["UNLINK"]=32]="UNLINK";e[e["SOURCE"]=33]="SOURCE";e[e["PRI"]=34]="PRI";e[e["DESCRIBE"]=35]="DESCRIBE";e[e["ANNOUNCE"]=36]="ANNOUNCE";e[e["SETUP"]=37]="SETUP";e[e["PLAY"]=38]="PLAY";e[e["PAUSE"]=39]="PAUSE";e[e["TEARDOWN"]=40]="TEARDOWN";e[e["GET_PARAMETER"]=41]="GET_PARAMETER";e[e["SET_PARAMETER"]=42]="SET_PARAMETER";e[e["REDIRECT"]=43]="REDIRECT";e[e["RECORD"]=44]="RECORD";e[e["FLUSH"]=45]="FLUSH"})(c=t.METHODS||(t.METHODS={}));t.METHODS_HTTP=[c.DELETE,c.GET,c.HEAD,c.POST,c.PUT,c.CONNECT,c.OPTIONS,c.TRACE,c.COPY,c.LOCK,c.MKCOL,c.MOVE,c.PROPFIND,c.PROPPATCH,c.SEARCH,c.UNLOCK,c.BIND,c.REBIND,c.UNBIND,c.ACL,c.REPORT,c.MKACTIVITY,c.CHECKOUT,c.MERGE,c["M-SEARCH"],c.NOTIFY,c.SUBSCRIBE,c.UNSUBSCRIBE,c.PATCH,c.PURGE,c.MKCALENDAR,c.LINK,c.UNLINK,c.PRI,c.SOURCE];t.METHODS_ICE=[c.SOURCE];t.METHODS_RTSP=[c.OPTIONS,c.DESCRIBE,c.ANNOUNCE,c.SETUP,c.PLAY,c.PAUSE,c.TEARDOWN,c.GET_PARAMETER,c.SET_PARAMETER,c.REDIRECT,c.RECORD,c.FLUSH,c.GET,c.POST];t.METHOD_MAP=n.enumToMap(c);t.H_METHOD_MAP={};Object.keys(t.METHOD_MAP).forEach((e=>{if(/^H/.test(e)){t.H_METHOD_MAP[e]=t.METHOD_MAP[e]}}));var l;(function(e){e[e["SAFE"]=0]="SAFE";e[e["SAFE_WITH_CB"]=1]="SAFE_WITH_CB";e[e["UNSAFE"]=2]="UNSAFE"})(l=t.FINISH||(t.FINISH={}));t.ALPHA=[];for(let e="A".charCodeAt(0);e<="Z".charCodeAt(0);e++){t.ALPHA.push(String.fromCharCode(e));t.ALPHA.push(String.fromCharCode(e+32))}t.NUM_MAP={0:0,1:1,2:2,3:3,4:4,5:5,6:6,7:7,8:8,9:9};t.HEX_MAP={0:0,1:1,2:2,3:3,4:4,5:5,6:6,7:7,8:8,9:9,A:10,B:11,C:12,D:13,E:14,F:15,a:10,b:11,c:12,d:13,e:14,f:15};t.NUM=["0","1","2","3","4","5","6","7","8","9"];t.ALPHANUM=t.ALPHA.concat(t.NUM);t.MARK=["-","_",".","!","~","*","'","(",")"];t.USERINFO_CHARS=t.ALPHANUM.concat(t.MARK).concat(["%",";",":","&","=","+","$",","]);t.STRICT_URL_CHAR=["!",'"',"$","%","&","'","(",")","*","+",",","-",".","/",":",";","<","=",">","@","[","\\","]","^","_","`","{","|","}","~"].concat(t.ALPHANUM);t.URL_CHAR=t.STRICT_URL_CHAR.concat(["\t","\f"]);for(let e=128;e<=255;e++){t.URL_CHAR.push(e)}t.HEX=t.NUM.concat(["a","b","c","d","e","f","A","B","C","D","E","F"]);t.STRICT_TOKEN=["!","#","$","%","&","'","*","+","-",".","^","_","`","|","~"].concat(t.ALPHANUM);t.TOKEN=t.STRICT_TOKEN.concat([" "]);t.HEADER_CHARS=["\t"];for(let e=32;e<=255;e++){if(e!==127){t.HEADER_CHARS.push(e)}}t.CONNECTION_TOKEN_CHARS=t.HEADER_CHARS.filter((e=>e!==44));t.MAJOR=t.NUM_MAP;t.MINOR=t.MAJOR;var A;(function(e){e[e["GENERAL"]=0]="GENERAL";e[e["CONNECTION"]=1]="CONNECTION";e[e["CONTENT_LENGTH"]=2]="CONTENT_LENGTH";e[e["TRANSFER_ENCODING"]=3]="TRANSFER_ENCODING";e[e["UPGRADE"]=4]="UPGRADE";e[e["CONNECTION_KEEP_ALIVE"]=5]="CONNECTION_KEEP_ALIVE";e[e["CONNECTION_CLOSE"]=6]="CONNECTION_CLOSE";e[e["CONNECTION_UPGRADE"]=7]="CONNECTION_UPGRADE";e[e["TRANSFER_ENCODING_CHUNKED"]=8]="TRANSFER_ENCODING_CHUNKED"})(A=t.HEADER_STATE||(t.HEADER_STATE={}));t.SPECIAL_HEADERS={connection:A.CONNECTION,"content-length":A.CONTENT_LENGTH,"proxy-connection":A.CONNECTION,"transfer-encoding":A.TRANSFER_ENCODING,upgrade:A.UPGRADE}},3870:(e,t,r)=>{const{Buffer:n}=r(4573);e.exports=n.from("AGFzbQEAAAABJwdgAX8Bf2ADf39/AX9gAX8AYAJ/fwBgBH9/f38Bf2AAAGADf39/AALLAQgDZW52GHdhc21fb25faGVhZGVyc19jb21wbGV0ZQAEA2VudhV3YXNtX29uX21lc3NhZ2VfYmVnaW4AAANlbnYLd2FzbV9vbl91cmwAAQNlbnYOd2FzbV9vbl9zdGF0dXMAAQNlbnYUd2FzbV9vbl9oZWFkZXJfZmllbGQAAQNlbnYUd2FzbV9vbl9oZWFkZXJfdmFsdWUAAQNlbnYMd2FzbV9vbl9ib2R5AAEDZW52GHdhc21fb25fbWVzc2FnZV9jb21wbGV0ZQAAAy0sBQYAAAIAAAAAAAACAQIAAgICAAADAAAAAAMDAwMBAQEBAQEBAQEAAAIAAAAEBQFwARISBQMBAAIGCAF/AUGA1AQLB9EFIgZtZW1vcnkCAAtfaW5pdGlhbGl6ZQAIGV9faW5kaXJlY3RfZnVuY3Rpb25fdGFibGUBAAtsbGh0dHBfaW5pdAAJGGxsaHR0cF9zaG91bGRfa2VlcF9hbGl2ZQAvDGxsaHR0cF9hbGxvYwALBm1hbGxvYwAxC2xsaHR0cF9mcmVlAAwEZnJlZQAMD2xsaHR0cF9nZXRfdHlwZQANFWxsaHR0cF9nZXRfaHR0cF9tYWpvcgAOFWxsaHR0cF9nZXRfaHR0cF9taW5vcgAPEWxsaHR0cF9nZXRfbWV0aG9kABAWbGxodHRwX2dldF9zdGF0dXNfY29kZQAREmxsaHR0cF9nZXRfdXBncmFkZQASDGxsaHR0cF9yZXNldAATDmxsaHR0cF9leGVjdXRlABQUbGxodHRwX3NldHRpbmdzX2luaXQAFQ1sbGh0dHBfZmluaXNoABYMbGxodHRwX3BhdXNlABcNbGxodHRwX3Jlc3VtZQA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BjNAAKAIAIgJBASAEQQN2dCIDcUUEQEGM0AAgAiADcjYCACAADAELIAAoAggLIgIgATYCDCAAIAE2AgggASAANgIMIAEgAjYCCAwBC0EfIQIgBEH///8HTQRAIARBJiAEQQh2ZyIAa3ZBAXEgAEEBdGtBPmohAgsgASACNgIcIAFCADcCECACQQJ0QbzSAGohAAJAQZDQACgCACIDQQEgAnQiB3FFBEAgACABNgIAQZDQACADIAdyNgIAIAEgADYCGCABIAE2AgggASABNgIMDAELIARBGSACQQF2a0EAIAJBH0cbdCECIAAoAgAhAAJAA0AgACIDKAIEQXhxIARGDQEgAkEddiEAIAJBAXQhAiADIABBBHFqQRBqIgcoAgAiAA0ACyAHIAE2AgAgASADNgIYIAEgATYCDCABIAE2AggMAQsgAygCCCIAIAE2AgwgAyABNgIIIAFBADYCGCABIAM2AgwgASAANgIIC0Gs0ABBrNAAKAIAQQFrIgBBfyAAGzYCAAsLBwAgAC0AKAsHACAALQAqCwcAIAAtACsLBwAgAC0AKQsHACAALwEyCwcAIAAtAC4LQAEEfyAAKAIYIQEgAC0ALSECIAAtACghAyAAKAI4IQQgABAwIAAgBDYCOCAAIAM6ACggACACOgAtIAAgATYCGAu74gECB38DfiABIAJqIQQCQCAAIgIoAgwiAA0AIAIoAgQEQCACIAE2AgQLIwBBEGsiCCQAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACfwJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQA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AQwKC0G6AQwJC0G7AQwIC0HGAQwHC0G8AQwGC0G9AQwFC0G+AQwEC0G/AQwDC0HAAQwCC0HCAQwBC0HBAQshAwNAAkACQAJAAkACQAJAAkACQAJAIAICfwJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJ/AkACQAJAAkACQAJAAkACQAJAAkACQAJAAkAgAgJ/AkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACfwJAAkACfwJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACfwJAAkACQAJAAn8CQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAk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AENgIAIAEgBEEBcjYCBCABQaDQACgCAEcNAEGU0AAgBDYCAAwBCyAEQf8BTQRAIARBeHFBtNAAaiEAAn9BjNAAKAIAIgJBASAEQQN2dCIDcUUEQEGM0AAgAiADcjYCACAADAELIAAoAggLIgIgATYCDCAAIAE2AgggASAANgIMIAEgAjYCCAwBC0EfIQIgBEH///8HTQRAIARBJiAEQQh2ZyIAa3ZBAXEgAEEBdGtBPmohAgsgASACNgIcIAFCADcCECACQQJ0QbzSAGohAAJAQZDQACgCACIDQQEgAnQiB3FFBEAgACABNgIAQZDQACADIAdyNgIAIAEgADYCGCABIAE2AgggASABNgIMDAELIARBGSACQQF2a0EAIAJBH0cbdCECIAAoAgAhAAJAA0AgACIDKAIEQXhxIARGDQEgAkEddiEAIAJBAXQhAiADIABBBHFqQRBqIgcoAgAiAA0ACyAHIAE2AgAgASADNgIYIAEgATYCDCABIAE2AggMAQsgAygCCCIAIAE2AgwgAyABNgIIIAFBADYCGCABIAM2AgwgASAANgIIC0Gs0ABBrNAAKAIAQQFrIgBBfyAAGzYCAAsLBwAgAC0AKAsHACAALQAqCwcAIAAtACsLBwAgAC0AKQsHACAALwEyCwcAIAAtAC4LQAEEfyAAKAIYIQEgAC0ALSECIAAtACghAyAAKAI4IQQgABAwIAAgBDYCOCAAIAM6ACggACACOgAtIAAgATYCGAu74gECB38DfiABIAJqIQQCQCAAIgIoAgwiAA0AIAIoAgQEQCACIAE2AgQLIwBBEGsiCCQAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACfwJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQA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UC0GwAQwTC0GxAQwSC0GzAQwRC0GyAQwQC0G0AQwPC0G1AQwOC0G2AQwNC0G3AQwMC0G4AQwLC0G5AQwKC0G6AQwJC0G7AQwIC0HGAQwHC0G8AQwGC0G9AQwFC0G+AQwEC0G/AQwDC0HAAQwCC0HCAQwBC0HBAQshAwNAAkACQAJAAkACQAJAAkACQAJAIAICfwJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJ/AkACQAJAAkACQAJAAkACQAJAAkACQAJAAkAgAgJ/AkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACfwJAAkACfwJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACfwJAAkACQAJAAn8CQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAk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wMDAwMDAwBB+swACwQBAAABAEGQzQALAQEAQZrNAAsGAgAAAAACAEGxzQALOgMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAAAAAAAAAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMAQfDOAAuWAU5PVU5DRUVDS09VVE5FQ1RFVEVDUklCRUxVU0hFVEVBRFNFQVJDSFJHRUNUSVZJVFlMRU5EQVJWRU9USUZZUFRJT05TQ0hTRUFZU1RBVENIR0VPUkRJUkVDVE9SVFJDSFBBUkFNRVRFUlVSQ0VCU0NSSUJFQVJET1dOQUNFSU5ETktDS1VCU0NSSUJFSFRUUC9BRFRQLw==","base64")},172:(e,t)=>{Object.defineProperty(t,"__esModule",{value:true});t.enumToMap=void 0;function enumToMap(e){const t={};Object.keys(e).forEach((r=>{const n=e[r];if(typeof n==="number"){t[r]=n}}));return t}t.enumToMap=enumToMap},7501:(e,t,r)=>{const{kClients:n}=r(6443);const s=r(7405);const{kAgent:i,kMockAgentSet:o,kMockAgentGet:a,kDispatches:c,kIsMockActive:l,kNetConnect:A,kGetNetConnect:u,kOptions:d,kFactory:g}=r(1117);const p=r(7365);const h=r(4004);const{matchValue:m,buildMockOptions:f}=r(3397);const{InvalidArgumentError:C,UndiciError:y}=r(8707);const E=r(883);const I=r(1529);const B=r(6142);class MockAgent extends E{constructor(e){super(e);this[A]=true;this[l]=true;if(e?.agent&&typeof e.agent.dispatch!=="function"){throw new C("Argument opts.agent must implement Agent")}const t=e?.agent?e.agent:new s(e);this[i]=t;this[n]=t[n];this[d]=f(e)}get(e){let t=this[a](e);if(!t){t=this[g](e);this[o](e,t)}return t}dispatch(e,t){this.get(e.origin);return this[i].dispatch(e,t)}async close(){await this[i].close();this[n].clear()}deactivate(){this[l]=false}activate(){this[l]=true}enableNetConnect(e){if(typeof e==="string"||typeof e==="function"||e instanceof RegExp){if(Array.isArray(this[A])){this[A].push(e)}else{this[A]=[e]}}else if(typeof e==="undefined"){this[A]=true}else{throw new C("Unsupported matcher. Must be one of String|Function|RegExp.")}}disableNetConnect(){this[A]=false}get isMockActive(){return this[l]}[o](e,t){this[n].set(e,t)}[g](e){const t=Object.assign({agent:this},this[d]);return this[d]&&this[d].connections===1?new p(e,t):new h(e,t)}[a](e){const t=this[n].get(e);if(t){return t}if(typeof e!=="string"){const t=this[g]("http://localhost:9999");this[o](e,t);return t}for(const[t,r]of Array.from(this[n])){if(r&&typeof t!=="string"&&m(t,e)){const t=this[g](e);this[o](e,t);t[c]=r[c];return t}}}[u](){return this[A]}pendingInterceptors(){const e=this[n];return Array.from(e.entries()).flatMap((([e,t])=>t[c].map((t=>({...t,origin:e}))))).filter((({pending:e})=>e))}assertNoPendingInterceptors({pendingInterceptorsFormatter:e=new B}={}){const t=this.pendingInterceptors();if(t.length===0){return}const r=new I("interceptor","interceptors").pluralize(t.length);throw new y(`\n${r.count} ${r.noun} ${r.is} pending:\n\n${e.format(t)}\n`.trim())}}e.exports=MockAgent},7365:(e,t,r)=>{const{promisify:n}=r(7975);const s=r(3701);const{buildMockDispatch:i}=r(3397);const{kDispatches:o,kMockAgent:a,kClose:c,kOriginalClose:l,kOrigin:A,kOriginalDispatch:u,kConnected:d}=r(1117);const{MockInterceptor:g}=r(1511);const p=r(6443);const{InvalidArgumentError:h}=r(8707);class MockClient extends s{constructor(e,t){super(e,t);if(!t||!t.agent||typeof t.agent.dispatch!=="function"){throw new h("Argument opts.agent must implement Agent")}this[a]=t.agent;this[A]=e;this[o]=[];this[d]=1;this[u]=this.dispatch;this[l]=this.close.bind(this);this.dispatch=i.call(this);this.close=this[c]}get[p.kConnected](){return this[d]}intercept(e){return new g(e,this[o])}async[c](){await n(this[l])();this[d]=0;this[a][p.kClients].delete(this[A])}}e.exports=MockClient},2429:(e,t,r)=>{const{UndiciError:n}=r(8707);const s=Symbol.for("undici.error.UND_MOCK_ERR_MOCK_NOT_MATCHED");class MockNotMatchedError extends n{constructor(e){super(e);Error.captureStackTrace(this,MockNotMatchedError);this.name="MockNotMatchedError";this.message=e||"The request does not match any registered mock dispatches";this.code="UND_MOCK_ERR_MOCK_NOT_MATCHED"}static[Symbol.hasInstance](e){return e&&e[s]===true}[s]=true}e.exports={MockNotMatchedError:MockNotMatchedError}},1511:(e,t,r)=>{const{getResponseData:n,buildKey:s,addMockDispatch:i}=r(3397);const{kDispatches:o,kDispatchKey:a,kDefaultHeaders:c,kDefaultTrailers:l,kContentLength:A,kMockDispatch:u}=r(1117);const{InvalidArgumentError:d}=r(8707);const{buildURL:g}=r(3440);class MockScope{constructor(e){this[u]=e}delay(e){if(typeof e!=="number"||!Number.isInteger(e)||e<=0){throw new d("waitInMs must be a valid integer > 0")}this[u].delay=e;return this}persist(){this[u].persist=true;return this}times(e){if(typeof e!=="number"||!Number.isInteger(e)||e<=0){throw new d("repeatTimes must be a valid integer > 0")}this[u].times=e;return this}}class MockInterceptor{constructor(e,t){if(typeof e!=="object"){throw new d("opts must be an object")}if(typeof e.path==="undefined"){throw new d("opts.path must be defined")}if(typeof e.method==="undefined"){e.method="GET"}if(typeof e.path==="string"){if(e.query){e.path=g(e.path,e.query)}else{const t=new URL(e.path,"data://");e.path=t.pathname+t.search}}if(typeof e.method==="string"){e.method=e.method.toUpperCase()}this[a]=s(e);this[o]=t;this[c]={};this[l]={};this[A]=false}createMockScopeDispatchData({statusCode:e,data:t,responseOptions:r}){const s=n(t);const i=this[A]?{"content-length":s.length}:{};const o={...this[c],...i,...r.headers};const a={...this[l],...r.trailers};return{statusCode:e,data:t,headers:o,trailers:a}}validateReplyParameters(e){if(typeof e.statusCode==="undefined"){throw new d("statusCode must be defined")}if(typeof e.responseOptions!=="object"||e.responseOptions===null){throw new d("responseOptions must be an object")}}reply(e){if(typeof e==="function"){const wrappedDefaultsCallback=t=>{const r=e(t);if(typeof r!=="object"||r===null){throw new d("reply options callback must return an object")}const n={data:"",responseOptions:{},...r};this.validateReplyParameters(n);return{...this.createMockScopeDispatchData(n)}};const t=i(this[o],this[a],wrappedDefaultsCallback);return new MockScope(t)}const t={statusCode:e,data:arguments[1]===undefined?"":arguments[1],responseOptions:arguments[2]===undefined?{}:arguments[2]};this.validateReplyParameters(t);const r=this.createMockScopeDispatchData(t);const n=i(this[o],this[a],r);return new MockScope(n)}replyWithError(e){if(typeof e==="undefined"){throw new d("error must be defined")}const t=i(this[o],this[a],{error:e});return new MockScope(t)}defaultReplyHeaders(e){if(typeof e==="undefined"){throw new d("headers must be defined")}this[c]=e;return this}defaultReplyTrailers(e){if(typeof e==="undefined"){throw new d("trailers must be defined")}this[l]=e;return this}replyContentLength(){this[A]=true;return this}}e.exports.MockInterceptor=MockInterceptor;e.exports.MockScope=MockScope},4004:(e,t,r)=>{const{promisify:n}=r(7975);const s=r(628);const{buildMockDispatch:i}=r(3397);const{kDispatches:o,kMockAgent:a,kClose:c,kOriginalClose:l,kOrigin:A,kOriginalDispatch:u,kConnected:d}=r(1117);const{MockInterceptor:g}=r(1511);const p=r(6443);const{InvalidArgumentError:h}=r(8707);class MockPool extends s{constructor(e,t){super(e,t);if(!t||!t.agent||typeof t.agent.dispatch!=="function"){throw new h("Argument opts.agent must implement Agent")}this[a]=t.agent;this[A]=e;this[o]=[];this[d]=1;this[u]=this.dispatch;this[l]=this.close.bind(this);this.dispatch=i.call(this);this.close=this[c]}get[p.kConnected](){return this[d]}intercept(e){return new g(e,this[o])}async[c](){await n(this[l])();this[d]=0;this[a][p.kClients].delete(this[A])}}e.exports=MockPool},1117:e=>{e.exports={kAgent:Symbol("agent"),kOptions:Symbol("options"),kFactory:Symbol("factory"),kDispatches:Symbol("dispatches"),kDispatchKey:Symbol("dispatch key"),kDefaultHeaders:Symbol("default headers"),kDefaultTrailers:Symbol("default trailers"),kContentLength:Symbol("content length"),kMockAgent:Symbol("mock agent"),kMockAgentSet:Symbol("mock agent set"),kMockAgentGet:Symbol("mock agent get"),kMockDispatch:Symbol("mock dispatch"),kClose:Symbol("close"),kOriginalClose:Symbol("original agent close"),kOrigin:Symbol("origin"),kIsMockActive:Symbol("is mock active"),kNetConnect:Symbol("net connect"),kGetNetConnect:Symbol("get net connect"),kConnected:Symbol("connected")}},3397:(e,t,r)=>{const{MockNotMatchedError:n}=r(2429);const{kDispatches:s,kMockAgent:i,kOriginalDispatch:o,kOrigin:a,kGetNetConnect:c}=r(1117);const{buildURL:l}=r(3440);const{STATUS_CODES:A}=r(7067);const{types:{isPromise:u}}=r(7975);function matchValue(e,t){if(typeof e==="string"){return e===t}if(e instanceof RegExp){return e.test(t)}if(typeof e==="function"){return e(t)===true}return false}function lowerCaseEntries(e){return Object.fromEntries(Object.entries(e).map((([e,t])=>[e.toLocaleLowerCase(),t])))}function getHeaderByName(e,t){if(Array.isArray(e)){for(let r=0;r<e.length;r+=2){if(e[r].toLocaleLowerCase()===t.toLocaleLowerCase()){return e[r+1]}}return undefined}else if(typeof e.get==="function"){return e.get(t)}else{return lowerCaseEntries(e)[t.toLocaleLowerCase()]}}function buildHeadersFromArray(e){const t=e.slice();const r=[];for(let e=0;e<t.length;e+=2){r.push([t[e],t[e+1]])}return Object.fromEntries(r)}function matchHeaders(e,t){if(typeof e.headers==="function"){if(Array.isArray(t)){t=buildHeadersFromArray(t)}return e.headers(t?lowerCaseEntries(t):{})}if(typeof e.headers==="undefined"){return true}if(typeof t!=="object"||typeof e.headers!=="object"){return false}for(const[r,n]of Object.entries(e.headers)){const e=getHeaderByName(t,r);if(!matchValue(n,e)){return false}}return true}function safeUrl(e){if(typeof e!=="string"){return e}const t=e.split("?");if(t.length!==2){return e}const r=new URLSearchParams(t.pop());r.sort();return[...t,r.toString()].join("?")}function matchKey(e,{path:t,method:r,body:n,headers:s}){const i=matchValue(e.path,t);const o=matchValue(e.method,r);const a=typeof e.body!=="undefined"?matchValue(e.body,n):true;const c=matchHeaders(e,s);return i&&o&&a&&c}function getResponseData(e){if(Buffer.isBuffer(e)){return e}else if(e instanceof Uint8Array){return e}else if(e instanceof ArrayBuffer){return e}else if(typeof e==="object"){return JSON.stringify(e)}else{return e.toString()}}function getMockDispatch(e,t){const r=t.query?l(t.path,t.query):t.path;const s=typeof r==="string"?safeUrl(r):r;let i=e.filter((({consumed:e})=>!e)).filter((({path:e})=>matchValue(safeUrl(e),s)));if(i.length===0){throw new n(`Mock dispatch not matched for path '${s}'`)}i=i.filter((({method:e})=>matchValue(e,t.method)));if(i.length===0){throw new n(`Mock dispatch not matched for method '${t.method}' on path '${s}'`)}i=i.filter((({body:e})=>typeof e!=="undefined"?matchValue(e,t.body):true));if(i.length===0){throw new n(`Mock dispatch not matched for body '${t.body}' on path '${s}'`)}i=i.filter((e=>matchHeaders(e,t.headers)));if(i.length===0){const e=typeof t.headers==="object"?JSON.stringify(t.headers):t.headers;throw new n(`Mock dispatch not matched for headers '${e}' on path '${s}'`)}return i[0]}function addMockDispatch(e,t,r){const n={timesInvoked:0,times:1,persist:false,consumed:false};const s=typeof r==="function"?{callback:r}:{...r};const i={...n,...t,pending:true,data:{error:null,...s}};e.push(i);return i}function deleteMockDispatch(e,t){const r=e.findIndex((e=>{if(!e.consumed){return false}return matchKey(e,t)}));if(r!==-1){e.splice(r,1)}}function buildKey(e){const{path:t,method:r,body:n,headers:s,query:i}=e;return{path:t,method:r,body:n,headers:s,query:i}}function generateKeyValues(e){const t=Object.keys(e);const r=[];for(let n=0;n<t.length;++n){const s=t[n];const i=e[s];const o=Buffer.from(`${s}`);if(Array.isArray(i)){for(let e=0;e<i.length;++e){r.push(o,Buffer.from(`${i[e]}`))}}else{r.push(o,Buffer.from(`${i}`))}}return r}function getStatusText(e){return A[e]||"unknown"}async function getResponse(e){const t=[];for await(const r of e){t.push(r)}return Buffer.concat(t).toString("utf8")}function mockDispatch(e,t){const r=buildKey(e);const n=getMockDispatch(this[s],r);n.timesInvoked++;if(n.data.callback){n.data={...n.data,...n.data.callback(e)}}const{data:{statusCode:i,data:o,headers:a,trailers:c,error:l},delay:A,persist:d}=n;const{timesInvoked:g,times:p}=n;n.consumed=!d&&g>=p;n.pending=g<p;if(l!==null){deleteMockDispatch(this[s],r);t.onError(l);return true}if(typeof A==="number"&&A>0){setTimeout((()=>{handleReply(this[s])}),A)}else{handleReply(this[s])}function handleReply(n,s=o){const l=Array.isArray(e.headers)?buildHeadersFromArray(e.headers):e.headers;const A=typeof s==="function"?s({...e,headers:l}):s;if(u(A)){A.then((e=>handleReply(n,e)));return}const d=getResponseData(A);const g=generateKeyValues(a);const p=generateKeyValues(c);t.onConnect?.((e=>t.onError(e)),null);t.onHeaders?.(i,g,resume,getStatusText(i));t.onData?.(Buffer.from(d));t.onComplete?.(p);deleteMockDispatch(n,r)}function resume(){}return true}function buildMockDispatch(){const e=this[i];const t=this[a];const r=this[o];return function dispatch(s,i){if(e.isMockActive){try{mockDispatch.call(this,s,i)}catch(o){if(o instanceof n){const a=e[c]();if(a===false){throw new n(`${o.message}: subsequent request to origin ${t} was not allowed (net.connect disabled)`)}if(checkNetConnect(a,t)){r.call(this,s,i)}else{throw new n(`${o.message}: subsequent request to origin ${t} was not allowed (net.connect is not enabled for this origin)`)}}else{throw o}}}else{r.call(this,s,i)}}}function checkNetConnect(e,t){const r=new URL(t);if(e===true){return true}else if(Array.isArray(e)&&e.some((e=>matchValue(e,r.host)))){return true}return false}function buildMockOptions(e){if(e){const{agent:t,...r}=e;return r}}e.exports={getResponseData:getResponseData,getMockDispatch:getMockDispatch,addMockDispatch:addMockDispatch,deleteMockDispatch:deleteMockDispatch,buildKey:buildKey,generateKeyValues:generateKeyValues,matchValue:matchValue,getResponse:getResponse,getStatusText:getStatusText,mockDispatch:mockDispatch,buildMockDispatch:buildMockDispatch,checkNetConnect:checkNetConnect,buildMockOptions:buildMockOptions,getHeaderByName:getHeaderByName,buildHeadersFromArray:buildHeadersFromArray}},6142:(e,t,r)=>{const{Transform:n}=r(7075);const{Console:s}=r(7540);const i=process.versions.icu?"✅":"Y ";const o=process.versions.icu?"❌":"N ";e.exports=class PendingInterceptorsFormatter{constructor({disableColors:e}={}){this.transform=new n({transform(e,t,r){r(null,e)}});this.logger=new s({stdout:this.transform,inspectOptions:{colors:!e&&!process.env.CI}})}format(e){const t=e.map((({method:e,path:t,data:{statusCode:r},persist:n,times:s,timesInvoked:a,origin:c})=>({Method:e,Origin:c,Path:t,"Status code":r,Persistent:n?i:o,Invocations:a,Remaining:n?Infinity:s-a})));this.logger.table(t);return this.transform.read().toString()}}},1529:e=>{const t={pronoun:"it",is:"is",was:"was",this:"this"};const r={pronoun:"they",is:"are",was:"were",this:"these"};e.exports=class Pluralizer{constructor(e,t){this.singular=e;this.plural=t}pluralize(e){const n=e===1;const s=n?t:r;const i=n?this.singular:this.plural;return{...s,count:e,noun:i}}}},6603:e=>{let t=0;const r=1e3;const n=(r>>1)-1;let s;const i=Symbol("kFastTimer");const o=[];const a=-2;const c=-1;const l=0;const A=1;function onTick(){t+=n;let e=0;let r=o.length;while(e<r){const s=o[e];if(s._state===l){s._idleStart=t-n;s._state=A}else if(s._state===A&&t>=s._idleStart+s._idleTimeout){s._state=c;s._idleStart=-1;s._onTimeout(s._timerArg)}if(s._state===c){s._state=a;if(--r!==0){o[e]=o[r]}}else{++e}}o.length=r;if(o.length!==0){refreshTimeout()}}function refreshTimeout(){if(s){s.refresh()}else{clearTimeout(s);s=setTimeout(onTick,n);if(s.unref){s.unref()}}}class FastTimer{[i]=true;_state=a;_idleTimeout=-1;_idleStart=-1;_onTimeout;_timerArg;constructor(e,t,r){this._onTimeout=e;this._idleTimeout=t;this._timerArg=r;this.refresh()}refresh(){if(this._state===a){o.push(this)}if(!s||o.length===1){refreshTimeout()}this._state=l}clear(){this._state=c;this._idleStart=-1}}e.exports={setTimeout(e,t,n){return t<=r?setTimeout(e,t,n):new FastTimer(e,t,n)},clearTimeout(e){if(e[i]){e.clear()}else{clearTimeout(e)}},setFastTimeout(e,t,r){return new FastTimer(e,t,r)},clearFastTimeout(e){e.clear()},now(){return t},tick(e=0){t+=e-r+1;onTick();onTick()},reset(){t=0;o.length=0;clearTimeout(s);s=null},kFastTimer:i}},9634:(e,t,r)=>{const{kConstruct:n}=r(109);const{urlEquals:s,getFieldValues:i}=r(6798);const{kEnumerableProperty:o,isDisturbed:a}=r(3440);const{webidl:c}=r(5893);const{Response:l,cloneResponse:A,fromInnerResponse:u}=r(9051);const{Request:d,fromInnerRequest:g}=r(9967);const{kState:p}=r(3627);const{fetching:h}=r(4398);const{urlIsHttpHttpsScheme:m,createDeferredPromise:f,readAllBytes:C}=r(3168);const y=r(4589);class Cache{#x;constructor(){if(arguments[0]!==n){c.illegalConstructor()}c.util.markAsUncloneable(this);this.#x=arguments[1]}async match(e,t={}){c.brandCheck(this,Cache);const r="Cache.match";c.argumentLengthCheck(arguments,1,r);e=c.converters.RequestInfo(e,r,"request");t=c.converters.CacheQueryOptions(t,r,"options");const n=this.#R(e,t,1);if(n.length===0){return}return n[0]}async matchAll(e=undefined,t={}){c.brandCheck(this,Cache);const r="Cache.matchAll";if(e!==undefined)e=c.converters.RequestInfo(e,r,"request");t=c.converters.CacheQueryOptions(t,r,"options");return this.#R(e,t)}async add(e){c.brandCheck(this,Cache);const t="Cache.add";c.argumentLengthCheck(arguments,1,t);e=c.converters.RequestInfo(e,t,"request");const r=[e];const n=this.addAll(r);return await n}async addAll(e){c.brandCheck(this,Cache);const t="Cache.addAll";c.argumentLengthCheck(arguments,1,t);const r=[];const n=[];for(let r of e){if(r===undefined){throw c.errors.conversionFailed({prefix:t,argument:"Argument 1",types:["undefined is not allowed"]})}r=c.converters.RequestInfo(r);if(typeof r==="string"){continue}const e=r[p];if(!m(e.url)||e.method!=="GET"){throw c.errors.exception({header:t,message:"Expected http/s scheme when method is not GET."})}}const s=[];for(const o of e){const e=new d(o)[p];if(!m(e.url)){throw c.errors.exception({header:t,message:"Expected http/s scheme."})}e.initiator="fetch";e.destination="subresource";n.push(e);const a=f();s.push(h({request:e,processResponse(e){if(e.type==="error"||e.status===206||e.status<200||e.status>299){a.reject(c.errors.exception({header:"Cache.addAll",message:"Received an invalid status code or the request failed."}))}else if(e.headersList.contains("vary")){const t=i(e.headersList.get("vary"));for(const e of t){if(e==="*"){a.reject(c.errors.exception({header:"Cache.addAll",message:"invalid vary field value"}));for(const e of s){e.abort()}return}}}},processResponseEndOfBody(e){if(e.aborted){a.reject(new DOMException("aborted","AbortError"));return}a.resolve(e)}}));r.push(a.promise)}const o=Promise.all(r);const a=await o;const l=[];let A=0;for(const e of a){const t={type:"put",request:n[A],response:e};l.push(t);A++}const u=f();let g=null;try{this.#v(l)}catch(e){g=e}queueMicrotask((()=>{if(g===null){u.resolve(undefined)}else{u.reject(g)}}));return u.promise}async put(e,t){c.brandCheck(this,Cache);const r="Cache.put";c.argumentLengthCheck(arguments,2,r);e=c.converters.RequestInfo(e,r,"request");t=c.converters.Response(t,r,"response");let n=null;if(e instanceof d){n=e[p]}else{n=new d(e)[p]}if(!m(n.url)||n.method!=="GET"){throw c.errors.exception({header:r,message:"Expected an http/s scheme when method is not GET"})}const s=t[p];if(s.status===206){throw c.errors.exception({header:r,message:"Got 206 status"})}if(s.headersList.contains("vary")){const e=i(s.headersList.get("vary"));for(const t of e){if(t==="*"){throw c.errors.exception({header:r,message:"Got * vary field value"})}}}if(s.body&&(a(s.body.stream)||s.body.stream.locked)){throw c.errors.exception({header:r,message:"Response body is locked or disturbed"})}const o=A(s);const l=f();if(s.body!=null){const e=s.body.stream;const t=e.getReader();C(t).then(l.resolve,l.reject)}else{l.resolve(undefined)}const u=[];const g={type:"put",request:n,response:o};u.push(g);const h=await l.promise;if(o.body!=null){o.body.source=h}const y=f();let E=null;try{this.#v(u)}catch(e){E=e}queueMicrotask((()=>{if(E===null){y.resolve()}else{y.reject(E)}}));return y.promise}async delete(e,t={}){c.brandCheck(this,Cache);const r="Cache.delete";c.argumentLengthCheck(arguments,1,r);e=c.converters.RequestInfo(e,r,"request");t=c.converters.CacheQueryOptions(t,r,"options");let n=null;if(e instanceof d){n=e[p];if(n.method!=="GET"&&!t.ignoreMethod){return false}}else{y(typeof e==="string");n=new d(e)[p]}const s=[];const i={type:"delete",request:n,options:t};s.push(i);const o=f();let a=null;let l;try{l=this.#v(s)}catch(e){a=e}queueMicrotask((()=>{if(a===null){o.resolve(!!l?.length)}else{o.reject(a)}}));return o.promise}async keys(e=undefined,t={}){c.brandCheck(this,Cache);const r="Cache.keys";if(e!==undefined)e=c.converters.RequestInfo(e,r,"request");t=c.converters.CacheQueryOptions(t,r,"options");let n=null;if(e!==undefined){if(e instanceof d){n=e[p];if(n.method!=="GET"&&!t.ignoreMethod){return[]}}else if(typeof e==="string"){n=new d(e)[p]}}const s=f();const i=[];if(e===undefined){for(const e of this.#x){i.push(e[0])}}else{const e=this.#k(n,t);for(const t of e){i.push(t[0])}}queueMicrotask((()=>{const e=[];for(const t of i){const r=g(t,(new AbortController).signal,"immutable");e.push(r)}s.resolve(Object.freeze(e))}));return s.promise}#v(e){const t=this.#x;const r=[...t];const n=[];const s=[];try{for(const r of e){if(r.type!=="delete"&&r.type!=="put"){throw c.errors.exception({header:"Cache.#batchCacheOperations",message:'operation type does not match "delete" or "put"'})}if(r.type==="delete"&&r.response!=null){throw c.errors.exception({header:"Cache.#batchCacheOperations",message:"delete operation should not have an associated response"})}if(this.#k(r.request,r.options,n).length){throw new DOMException("???","InvalidStateError")}let e;if(r.type==="delete"){e=this.#k(r.request,r.options);if(e.length===0){return[]}for(const r of e){const e=t.indexOf(r);y(e!==-1);t.splice(e,1)}}else if(r.type==="put"){if(r.response==null){throw c.errors.exception({header:"Cache.#batchCacheOperations",message:"put operation should have an associated response"})}const s=r.request;if(!m(s.url)){throw c.errors.exception({header:"Cache.#batchCacheOperations",message:"expected http or https scheme"})}if(s.method!=="GET"){throw c.errors.exception({header:"Cache.#batchCacheOperations",message:"not get method"})}if(r.options!=null){throw c.errors.exception({header:"Cache.#batchCacheOperations",message:"options must not be defined"})}e=this.#k(r.request);for(const r of e){const e=t.indexOf(r);y(e!==-1);t.splice(e,1)}t.push([r.request,r.response]);n.push([r.request,r.response])}s.push([r.request,r.response])}return s}catch(e){this.#x.length=0;this.#x=r;throw e}}#k(e,t,r){const n=[];const s=r??this.#x;for(const r of s){const[s,i]=r;if(this.#F(e,s,i,t)){n.push(r)}}return n}#F(e,t,r=null,n){const o=new URL(e.url);const a=new URL(t.url);if(n?.ignoreSearch){a.search="";o.search=""}if(!s(o,a,true)){return false}if(r==null||n?.ignoreVary||!r.headersList.contains("vary")){return true}const c=i(r.headersList.get("vary"));for(const r of c){if(r==="*"){return false}const n=t.headersList.get(r);const s=e.headersList.get(r);if(n!==s){return false}}return true}#R(e,t,r=Infinity){let n=null;if(e!==undefined){if(e instanceof d){n=e[p];if(n.method!=="GET"&&!t.ignoreMethod){return[]}}else if(typeof e==="string"){n=new d(e)[p]}}const s=[];if(e===undefined){for(const e of this.#x){s.push(e[1])}}else{const e=this.#k(n,t);for(const t of e){s.push(t[1])}}const i=[];for(const e of s){const t=u(e,"immutable");i.push(t.clone());if(i.length>=r){break}}return Object.freeze(i)}}Object.defineProperties(Cache.prototype,{[Symbol.toStringTag]:{value:"Cache",configurable:true},match:o,matchAll:o,add:o,addAll:o,put:o,delete:o,keys:o});const E=[{key:"ignoreSearch",converter:c.converters.boolean,defaultValue:()=>false},{key:"ignoreMethod",converter:c.converters.boolean,defaultValue:()=>false},{key:"ignoreVary",converter:c.converters.boolean,defaultValue:()=>false}];c.converters.CacheQueryOptions=c.dictionaryConverter(E);c.converters.MultiCacheQueryOptions=c.dictionaryConverter([...E,{key:"cacheName",converter:c.converters.DOMString}]);c.converters.Response=c.interfaceConverter(l);c.converters["sequence<RequestInfo>"]=c.sequenceConverter(c.converters.RequestInfo);e.exports={Cache:Cache}},3245:(e,t,r)=>{const{kConstruct:n}=r(109);const{Cache:s}=r(9634);const{webidl:i}=r(5893);const{kEnumerableProperty:o}=r(3440);class CacheStorage{#T=new Map;constructor(){if(arguments[0]!==n){i.illegalConstructor()}i.util.markAsUncloneable(this)}async match(e,t={}){i.brandCheck(this,CacheStorage);i.argumentLengthCheck(arguments,1,"CacheStorage.match");e=i.converters.RequestInfo(e);t=i.converters.MultiCacheQueryOptions(t);if(t.cacheName!=null){if(this.#T.has(t.cacheName)){const r=this.#T.get(t.cacheName);const i=new s(n,r);return await i.match(e,t)}}else{for(const r of this.#T.values()){const i=new s(n,r);const o=await i.match(e,t);if(o!==undefined){return o}}}}async has(e){i.brandCheck(this,CacheStorage);const t="CacheStorage.has";i.argumentLengthCheck(arguments,1,t);e=i.converters.DOMString(e,t,"cacheName");return this.#T.has(e)}async open(e){i.brandCheck(this,CacheStorage);const t="CacheStorage.open";i.argumentLengthCheck(arguments,1,t);e=i.converters.DOMString(e,t,"cacheName");if(this.#T.has(e)){const t=this.#T.get(e);return new s(n,t)}const r=[];this.#T.set(e,r);return new s(n,r)}async delete(e){i.brandCheck(this,CacheStorage);const t="CacheStorage.delete";i.argumentLengthCheck(arguments,1,t);e=i.converters.DOMString(e,t,"cacheName");return this.#T.delete(e)}async keys(){i.brandCheck(this,CacheStorage);const e=this.#T.keys();return[...e]}}Object.defineProperties(CacheStorage.prototype,{[Symbol.toStringTag]:{value:"CacheStorage",configurable:true},match:o,has:o,open:o,delete:o,keys:o});e.exports={CacheStorage:CacheStorage}},109:(e,t,r)=>{e.exports={kConstruct:r(6443).kConstruct}},6798:(e,t,r)=>{const n=r(4589);const{URLSerializer:s}=r(1900);const{isValidHeaderName:i}=r(3168);function urlEquals(e,t,r=false){const n=s(e,r);const i=s(t,r);return n===i}function getFieldValues(e){n(e!==null);const t=[];for(let r of e.split(",")){r=r.trim();if(i(r)){t.push(r)}}return t}e.exports={urlEquals:urlEquals,getFieldValues:getFieldValues}},1276:e=>{const t=1024;const r=4096;e.exports={maxAttributeValueSize:t,maxNameValuePairSize:r}},9061:(e,t,r)=>{const{parseSetCookie:n}=r(1978);const{stringify:s}=r(7797);const{webidl:i}=r(5893);const{Headers:o}=r(660);function getCookies(e){i.argumentLengthCheck(arguments,1,"getCookies");i.brandCheck(e,o,{strict:false});const t=e.get("cookie");const r={};if(!t){return r}for(const e of t.split(";")){const[t,...n]=e.split("=");r[t.trim()]=n.join("=")}return r}function deleteCookie(e,t,r){i.brandCheck(e,o,{strict:false});const n="deleteCookie";i.argumentLengthCheck(arguments,2,n);t=i.converters.DOMString(t,n,"name");r=i.converters.DeleteCookieAttributes(r);setCookie(e,{name:t,value:"",expires:new Date(0),...r})}function getSetCookies(e){i.argumentLengthCheck(arguments,1,"getSetCookies");i.brandCheck(e,o,{strict:false});const t=e.getSetCookie();if(!t){return[]}return t.map((e=>n(e)))}function setCookie(e,t){i.argumentLengthCheck(arguments,2,"setCookie");i.brandCheck(e,o,{strict:false});t=i.converters.Cookie(t);const r=s(t);if(r){e.append("Set-Cookie",r)}}i.converters.DeleteCookieAttributes=i.dictionaryConverter([{converter:i.nullableConverter(i.converters.DOMString),key:"path",defaultValue:()=>null},{converter:i.nullableConverter(i.converters.DOMString),key:"domain",defaultValue:()=>null}]);i.converters.Cookie=i.dictionaryConverter([{converter:i.converters.DOMString,key:"name"},{converter:i.converters.DOMString,key:"value"},{converter:i.nullableConverter((e=>{if(typeof e==="number"){return i.converters["unsigned long long"](e)}return new Date(e)})),key:"expires",defaultValue:()=>null},{converter:i.nullableConverter(i.converters["long long"]),key:"maxAge",defaultValue:()=>null},{converter:i.nullableConverter(i.converters.DOMString),key:"domain",defaultValue:()=>null},{converter:i.nullableConverter(i.converters.DOMString),key:"path",defaultValue:()=>null},{converter:i.nullableConverter(i.converters.boolean),key:"secure",defaultValue:()=>null},{converter:i.nullableConverter(i.converters.boolean),key:"httpOnly",defaultValue:()=>null},{converter:i.converters.USVString,key:"sameSite",allowedValues:["Strict","Lax","None"]},{converter:i.sequenceConverter(i.converters.DOMString),key:"unparsed",defaultValue:()=>new Array(0)}]);e.exports={getCookies:getCookies,deleteCookie:deleteCookie,getSetCookies:getSetCookies,setCookie:setCookie}},1978:(e,t,r)=>{const{maxNameValuePairSize:n,maxAttributeValueSize:s}=r(1276);const{isCTLExcludingHtab:i}=r(7797);const{collectASequenceOfCodePointsFast:o}=r(1900);const a=r(4589);function parseSetCookie(e){if(i(e)){return null}let t="";let r="";let s="";let a="";if(e.includes(";")){const n={position:0};t=o(";",e,n);r=e.slice(n.position)}else{t=e}if(!t.includes("=")){a=t}else{const e={position:0};s=o("=",t,e);a=t.slice(e.position+1)}s=s.trim();a=a.trim();if(s.length+a.length>n){return null}return{name:s,value:a,...parseUnparsedAttributes(r)}}function parseUnparsedAttributes(e,t={}){if(e.length===0){return t}a(e[0]===";");e=e.slice(1);let r="";if(e.includes(";")){r=o(";",e,{position:0});e=e.slice(r.length)}else{r=e;e=""}let n="";let i="";if(r.includes("=")){const e={position:0};n=o("=",r,e);i=r.slice(e.position+1)}else{n=r}n=n.trim();i=i.trim();if(i.length>s){return parseUnparsedAttributes(e,t)}const c=n.toLowerCase();if(c==="expires"){const e=new Date(i);t.expires=e}else if(c==="max-age"){const r=i.charCodeAt(0);if((r<48||r>57)&&i[0]!=="-"){return parseUnparsedAttributes(e,t)}if(!/^\d+$/.test(i)){return parseUnparsedAttributes(e,t)}const n=Number(i);t.maxAge=n}else if(c==="domain"){let e=i;if(e[0]==="."){e=e.slice(1)}e=e.toLowerCase();t.domain=e}else if(c==="path"){let e="";if(i.length===0||i[0]!=="/"){e="/"}else{e=i}t.path=e}else if(c==="secure"){t.secure=true}else if(c==="httponly"){t.httpOnly=true}else if(c==="samesite"){const e=i.toLowerCase();if(e==="none"){t.sameSite="None"}else if(e==="strict"){t.sameSite="Strict"}else if(e==="lax"){t.sameSite="Lax"}}else{t.unparsed??=[];t.unparsed.push(`${n}=${i}`)}return parseUnparsedAttributes(e,t)}e.exports={parseSetCookie:parseSetCookie,parseUnparsedAttributes:parseUnparsedAttributes}},7797:e=>{function isCTLExcludingHtab(e){for(let t=0;t<e.length;++t){const r=e.charCodeAt(t);if(r>=0&&r<=8||r>=10&&r<=31||r===127){return true}}return false}function validateCookieName(e){for(let t=0;t<e.length;++t){const r=e.charCodeAt(t);if(r<33||r>126||r===34||r===40||r===41||r===60||r===62||r===64||r===44||r===59||r===58||r===92||r===47||r===91||r===93||r===63||r===61||r===123||r===125){throw new Error("Invalid cookie name")}}}function validateCookieValue(e){let t=e.length;let r=0;if(e[0]==='"'){if(t===1||e[t-1]!=='"'){throw new Error("Invalid cookie value")}--t;++r}while(r<t){const t=e.charCodeAt(r++);if(t<33||t>126||t===34||t===44||t===59||t===92){throw new Error("Invalid cookie value")}}}function validateCookiePath(e){for(let t=0;t<e.length;++t){const r=e.charCodeAt(t);if(r<32||r>126||r===59){throw new Error("Invalid cookie path")}}}function isLetterOrDigit(e){return e>=48&&e<=57||e>=65&&e<=90||e>=97&&e<=122}function validateCookieDomain(e){if(e===" "){return}if(e.length>255){throw new Error("Invalid cookie domain")}let t=0;for(let r=0;r<e.length;++r){const n=e.charCodeAt(r);if(n===46){if(t===0){throw new Error("Invalid cookie domain")}if(e.charCodeAt(r-1)===45){throw new Error("Invalid cookie domain")}t=0;continue}if(t===0&&!isLetterOrDigit(n)){throw new Error("Invalid cookie domain")}if(!isLetterOrDigit(n)&&n!==45){throw new Error("Invalid cookie domain")}if(++t>63){throw new Error("Invalid cookie domain")}}if(t===0||e.charCodeAt(e.length-1)===45){throw new Error("Invalid cookie domain")}}const t=["Sun","Mon","Tue","Wed","Thu","Fri","Sat"];const r=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"];const n=Array(61).fill(0).map(((e,t)=>t.toString().padStart(2,"0")));function toIMFDate(e){if(typeof e==="number"){e=new Date(e)}return`${t[e.getUTCDay()]}, ${n[e.getUTCDate()]} ${r[e.getUTCMonth()]} ${e.getUTCFullYear()} ${n[e.getUTCHours()]}:${n[e.getUTCMinutes()]}:${n[e.getUTCSeconds()]} GMT`}function validateCookieMaxAge(e){if(e<0){throw new Error("Invalid cookie max-age")}}function stringify(e){if(e.name.length===0){return null}validateCookieName(e.name);validateCookieValue(e.value);const t=[`${e.name}=${e.value}`];if(e.name.startsWith("__Secure-")){e.secure=true}if(e.name.startsWith("__Host-")){e.secure=true;e.domain=null;e.path="/"}if(e.secure){t.push("Secure")}if(e.httpOnly){t.push("HttpOnly")}if(typeof e.maxAge==="number"){validateCookieMaxAge(e.maxAge);t.push(`Max-Age=${e.maxAge}`)}if(e.domain){validateCookieDomain(e.domain);t.push(`Domain=${e.domain}`)}if(e.path){validateCookiePath(e.path);t.push(`Path=${e.path}`)}if(e.expires&&e.expires.toString()!=="Invalid Date"){t.push(`Expires=${toIMFDate(e.expires)}`)}if(e.sameSite){t.push(`SameSite=${e.sameSite}`)}for(const r of e.unparsed){if(!r.includes("=")){throw new Error("Invalid unparsed")}const[e,...n]=r.split("=");const s=e.trim();const i=n.join("=");validateCookieName(s);validateCookieValue(i);t.push(`${s}=${i}`)}return t.join("; ")}e.exports={isCTLExcludingHtab:isCTLExcludingHtab,validateCookieName:validateCookieName,validateCookiePath:validateCookiePath,validateCookieValue:validateCookieValue,toIMFDate:toIMFDate,stringify:stringify}},4031:(e,t,r)=>{const{Transform:n}=r(7075);const{isASCIINumber:s,isValidLastEventId:i}=r(4811);const o=[239,187,191];const a=10;const c=13;const l=58;const A=32;class EventSourceStream extends n{state=null;checkBOM=true;crlfCheck=false;eventEndCheck=false;buffer=null;pos=0;event={data:undefined,event:undefined,id:undefined,retry:undefined};constructor(e={}){e.readableObjectMode=true;super(e);this.state=e.eventSourceSettings||{};if(e.push){this.push=e.push}}_transform(e,t,r){if(e.length===0){r();return}if(this.buffer){this.buffer=Buffer.concat([this.buffer,e])}else{this.buffer=e}if(this.checkBOM){switch(this.buffer.length){case 1:if(this.buffer[0]===o[0]){r();return}this.checkBOM=false;r();return;case 2:if(this.buffer[0]===o[0]&&this.buffer[1]===o[1]){r();return}this.checkBOM=false;break;case 3:if(this.buffer[0]===o[0]&&this.buffer[1]===o[1]&&this.buffer[2]===o[2]){this.buffer=Buffer.alloc(0);this.checkBOM=false;r();return}this.checkBOM=false;break;default:if(this.buffer[0]===o[0]&&this.buffer[1]===o[1]&&this.buffer[2]===o[2]){this.buffer=this.buffer.subarray(3)}this.checkBOM=false;break}}while(this.pos<this.buffer.length){if(this.eventEndCheck){if(this.crlfCheck){if(this.buffer[this.pos]===a){this.buffer=this.buffer.subarray(this.pos+1);this.pos=0;this.crlfCheck=false;continue}this.crlfCheck=false}if(this.buffer[this.pos]===a||this.buffer[this.pos]===c){if(this.buffer[this.pos]===c){this.crlfCheck=true}this.buffer=this.buffer.subarray(this.pos+1);this.pos=0;if(this.event.data!==undefined||this.event.event||this.event.id||this.event.retry){this.processEvent(this.event)}this.clearEvent();continue}this.eventEndCheck=false;continue}if(this.buffer[this.pos]===a||this.buffer[this.pos]===c){if(this.buffer[this.pos]===c){this.crlfCheck=true}this.parseLine(this.buffer.subarray(0,this.pos),this.event);this.buffer=this.buffer.subarray(this.pos+1);this.pos=0;this.eventEndCheck=true;continue}this.pos++}r()}parseLine(e,t){if(e.length===0){return}const r=e.indexOf(l);if(r===0){return}let n="";let o="";if(r!==-1){n=e.subarray(0,r).toString("utf8");let t=r+1;if(e[t]===A){++t}o=e.subarray(t).toString("utf8")}else{n=e.toString("utf8");o=""}switch(n){case"data":if(t[n]===undefined){t[n]=o}else{t[n]+=`\n${o}`}break;case"retry":if(s(o)){t[n]=o}break;case"id":if(i(o)){t[n]=o}break;case"event":if(o.length>0){t[n]=o}break}}processEvent(e){if(e.retry&&s(e.retry)){this.state.reconnectionTime=parseInt(e.retry,10)}if(e.id&&i(e.id)){this.state.lastEventId=e.id}if(e.data!==undefined){this.push({type:e.event||"message",options:{data:e.data,lastEventId:this.state.lastEventId,origin:this.state.origin}})}}clearEvent(){this.event={data:undefined,event:undefined,id:undefined,retry:undefined}}}e.exports={EventSourceStream:EventSourceStream}},1238:(e,t,r)=>{const{pipeline:n}=r(7075);const{fetching:s}=r(4398);const{makeRequest:i}=r(9967);const{webidl:o}=r(5893);const{EventSourceStream:a}=r(4031);const{parseMIMEType:c}=r(1900);const{createFastMessageEvent:l}=r(5188);const{isNetworkError:A}=r(9051);const{delay:u}=r(4811);const{kEnumerableProperty:d}=r(3440);const{environmentSettingsObject:g}=r(3168);let p=false;const h=3e3;const m=0;const f=1;const C=2;const y="anonymous";const E="use-credentials";class EventSource extends EventTarget{#M={open:null,error:null,message:null};#P=null;#L=false;#U=m;#O=null;#H=null;#e;#E;constructor(e,t={}){super();o.util.markAsUncloneable(this);const r="EventSource constructor";o.argumentLengthCheck(arguments,1,r);if(!p){p=true;process.emitWarning("EventSource is experimental, expect them to change at any time.",{code:"UNDICI-ES"})}e=o.converters.USVString(e,r,"url");t=o.converters.EventSourceInitDict(t,r,"eventSourceInitDict");this.#e=t.dispatcher;this.#E={lastEventId:"",reconnectionTime:h};const n=g;let s;try{s=new URL(e,n.settingsObject.baseUrl);this.#E.origin=s.origin}catch(e){throw new DOMException(e,"SyntaxError")}this.#P=s.href;let a=y;if(t.withCredentials){a=E;this.#L=true}const c={redirect:"follow",keepalive:true,mode:"cors",credentials:a==="anonymous"?"same-origin":"omit",referrer:"no-referrer"};c.client=g.settingsObject;c.headersList=[["accept",{name:"accept",value:"text/event-stream"}]];c.cache="no-store";c.initiator="other";c.urlList=[new URL(this.#P)];this.#O=i(c);this.#_()}get readyState(){return this.#U}get url(){return this.#P}get withCredentials(){return this.#L}#_(){if(this.#U===C)return;this.#U=m;const e={request:this.#O,dispatcher:this.#e};const processEventSourceEndOfBody=e=>{if(A(e)){this.dispatchEvent(new Event("error"));this.close()}this.#q()};e.processResponseEndOfBody=processEventSourceEndOfBody;e.processResponse=e=>{if(A(e)){if(e.aborted){this.close();this.dispatchEvent(new Event("error"));return}else{this.#q();return}}const t=e.headersList.get("content-type",true);const r=t!==null?c(t):"failure";const s=r!=="failure"&&r.essence==="text/event-stream";if(e.status!==200||s===false){this.close();this.dispatchEvent(new Event("error"));return}this.#U=f;this.dispatchEvent(new Event("open"));this.#E.origin=e.urlList[e.urlList.length-1].origin;const i=new a({eventSourceSettings:this.#E,push:e=>{this.dispatchEvent(l(e.type,e.options))}});n(e.body.stream,i,(e=>{if(e?.aborted===false){this.close();this.dispatchEvent(new Event("error"))}}))};this.#H=s(e)}async#q(){if(this.#U===C)return;this.#U=m;this.dispatchEvent(new Event("error"));await u(this.#E.reconnectionTime);if(this.#U!==m)return;if(this.#E.lastEventId.length){this.#O.headersList.set("last-event-id",this.#E.lastEventId,true)}this.#_()}close(){o.brandCheck(this,EventSource);if(this.#U===C)return;this.#U=C;this.#H.abort();this.#O=null}get onopen(){return this.#M.open}set onopen(e){if(this.#M.open){this.removeEventListener("open",this.#M.open)}if(typeof e==="function"){this.#M.open=e;this.addEventListener("open",e)}else{this.#M.open=null}}get onmessage(){return this.#M.message}set onmessage(e){if(this.#M.message){this.removeEventListener("message",this.#M.message)}if(typeof e==="function"){this.#M.message=e;this.addEventListener("message",e)}else{this.#M.message=null}}get onerror(){return this.#M.error}set onerror(e){if(this.#M.error){this.removeEventListener("error",this.#M.error)}if(typeof e==="function"){this.#M.error=e;this.addEventListener("error",e)}else{this.#M.error=null}}}const I={CONNECTING:{__proto__:null,configurable:false,enumerable:true,value:m,writable:false},OPEN:{__proto__:null,configurable:false,enumerable:true,value:f,writable:false},CLOSED:{__proto__:null,configurable:false,enumerable:true,value:C,writable:false}};Object.defineProperties(EventSource,I);Object.defineProperties(EventSource.prototype,I);Object.defineProperties(EventSource.prototype,{close:d,onerror:d,onmessage:d,onopen:d,readyState:d,url:d,withCredentials:d});o.converters.EventSourceInitDict=o.dictionaryConverter([{key:"withCredentials",converter:o.converters.boolean,defaultValue:()=>false},{key:"dispatcher",converter:o.converters.any}]);e.exports={EventSource:EventSource,defaultReconnectionTime:h}},4811:e=>{function isValidLastEventId(e){return e.indexOf("\0")===-1}function isASCIINumber(e){if(e.length===0)return false;for(let t=0;t<e.length;t++){if(e.charCodeAt(t)<48||e.charCodeAt(t)>57)return false}return true}function delay(e){return new Promise((t=>{setTimeout(t,e).unref()}))}e.exports={isValidLastEventId:isValidLastEventId,isASCIINumber:isASCIINumber,delay:delay}},4492:(e,t,r)=>{const n=r(3440);const{ReadableStreamFrom:s,isBlobLike:i,isReadableStreamLike:o,readableStreamClose:a,createDeferredPromise:c,fullyReadBody:l,extractMimeType:A,utf8DecodeBytes:u}=r(3168);const{FormData:d}=r(5910);const{kState:g}=r(3627);const{webidl:p}=r(5893);const{Blob:h}=r(4573);const m=r(4589);const{isErrored:f,isDisturbed:C}=r(7075);const{isArrayBuffer:y}=r(3429);const{serializeAMimeType:E}=r(1900);const{multipartFormDataParser:I}=r(116);let B;try{const e=r(7598);B=t=>e.randomInt(0,t)}catch{B=e=>Math.floor(Math.random(e))}const Q=new TextEncoder;function noop(){}const b=globalThis.FinalizationRegistry&&process.version.indexOf("v18")!==0;let S;if(b){S=new FinalizationRegistry((e=>{const t=e.deref();if(t&&!t.locked&&!C(t)&&!f(t)){t.cancel("Response object has been garbage collected").catch(noop)}}))}function extractBody(e,t=false){let r=null;if(e instanceof ReadableStream){r=e}else if(i(e)){r=e.stream()}else{r=new ReadableStream({async pull(e){const t=typeof l==="string"?Q.encode(l):l;if(t.byteLength){e.enqueue(t)}queueMicrotask((()=>a(e)))},start(){},type:"bytes"})}m(o(r));let c=null;let l=null;let A=null;let u=null;if(typeof e==="string"){l=e;u="text/plain;charset=UTF-8"}else if(e instanceof URLSearchParams){l=e.toString();u="application/x-www-form-urlencoded;charset=UTF-8"}else if(y(e)){l=new Uint8Array(e.slice())}else if(ArrayBuffer.isView(e)){l=new Uint8Array(e.buffer.slice(e.byteOffset,e.byteOffset+e.byteLength))}else if(n.isFormDataLike(e)){const t=`----formdata-undici-0${`${B(1e11)}`.padStart(11,"0")}`;const r=`--${t}\r\nContent-Disposition: form-data`
|
||
/*! formdata-polyfill. MIT License. Jimmy Wärting <https://jimmy.warting.se/opensource> */;const escape=e=>e.replace(/\n/g,"%0A").replace(/\r/g,"%0D").replace(/"/g,"%22");const normalizeLinefeeds=e=>e.replace(/\r?\n|\r/g,"\r\n");const n=[];const s=new Uint8Array([13,10]);A=0;let i=false;for(const[t,o]of e){if(typeof o==="string"){const e=Q.encode(r+`; name="${escape(normalizeLinefeeds(t))}"`+`\r\n\r\n${normalizeLinefeeds(o)}\r\n`);n.push(e);A+=e.byteLength}else{const e=Q.encode(`${r}; name="${escape(normalizeLinefeeds(t))}"`+(o.name?`; filename="${escape(o.name)}"`:"")+"\r\n"+`Content-Type: ${o.type||"application/octet-stream"}\r\n\r\n`);n.push(e,o,s);if(typeof o.size==="number"){A+=e.byteLength+o.size+s.byteLength}else{i=true}}}const o=Q.encode(`--${t}--\r\n`);n.push(o);A+=o.byteLength;if(i){A=null}l=e;c=async function*(){for(const e of n){if(e.stream){yield*e.stream()}else{yield e}}};u=`multipart/form-data; boundary=${t}`}else if(i(e)){l=e;A=e.size;if(e.type){u=e.type}}else if(typeof e[Symbol.asyncIterator]==="function"){if(t){throw new TypeError("keepalive")}if(n.isDisturbed(e)||e.locked){throw new TypeError("Response body object should not be disturbed or locked")}r=e instanceof ReadableStream?e:s(e)}if(typeof l==="string"||n.isBuffer(l)){A=Buffer.byteLength(l)}if(c!=null){let t;r=new ReadableStream({async start(){t=c(e)[Symbol.asyncIterator]()},async pull(e){const{value:n,done:s}=await t.next();if(s){queueMicrotask((()=>{e.close();e.byobRequest?.respond(0)}))}else{if(!f(r)){const t=new Uint8Array(n);if(t.byteLength){e.enqueue(t)}}}return e.desiredSize>0},async cancel(e){await t.return()},type:"bytes"})}const d={stream:r,source:l,length:A};return[d,u]}function safelyExtractBody(e,t=false){if(e instanceof ReadableStream){m(!n.isDisturbed(e),"The body has already been consumed.");m(!e.locked,"The stream is locked.")}return extractBody(e,t)}function cloneBody(e,t){const[r,n]=t.stream.tee();t.stream=r;return{stream:n,length:t.length,source:t.source}}function throwIfAborted(e){if(e.aborted){throw new DOMException("The operation was aborted.","AbortError")}}function bodyMixinMethods(e){const t={blob(){return consumeBody(this,(e=>{let t=bodyMimeType(this);if(t===null){t=""}else if(t){t=E(t)}return new h([e],{type:t})}),e)},arrayBuffer(){return consumeBody(this,(e=>new Uint8Array(e).buffer),e)},text(){return consumeBody(this,u,e)},json(){return consumeBody(this,parseJSONFromBytes,e)},formData(){return consumeBody(this,(e=>{const t=bodyMimeType(this);if(t!==null){switch(t.essence){case"multipart/form-data":{const r=I(e,t);if(r==="failure"){throw new TypeError("Failed to parse body as FormData.")}const n=new d;n[g]=r;return n}case"application/x-www-form-urlencoded":{const t=new URLSearchParams(e.toString());const r=new d;for(const[e,n]of t){r.append(e,n)}return r}}}throw new TypeError('Content-Type was not one of "multipart/form-data" or "application/x-www-form-urlencoded".')}),e)},bytes(){return consumeBody(this,(e=>new Uint8Array(e)),e)}};return t}function mixinBody(e){Object.assign(e.prototype,bodyMixinMethods(e))}async function consumeBody(e,t,r){p.brandCheck(e,r);if(bodyUnusable(e)){throw new TypeError("Body is unusable: Body has already been read")}throwIfAborted(e[g]);const n=c();const errorSteps=e=>n.reject(e);const successSteps=e=>{try{n.resolve(t(e))}catch(e){errorSteps(e)}};if(e[g].body==null){successSteps(Buffer.allocUnsafe(0));return n.promise}await l(e[g].body,successSteps,errorSteps);return n.promise}function bodyUnusable(e){const t=e[g].body;return t!=null&&(t.stream.locked||n.isDisturbed(t.stream))}function parseJSONFromBytes(e){return JSON.parse(u(e))}function bodyMimeType(e){const t=e[g].headersList;const r=A(t);if(r==="failure"){return null}return r}e.exports={extractBody:extractBody,safelyExtractBody:safelyExtractBody,cloneBody:cloneBody,mixinBody:mixinBody,streamRegistry:S,hasFinalizationRegistry:b,bodyUnusable:bodyUnusable}},4495:e=>{const t=["GET","HEAD","POST"];const r=new Set(t);const n=[101,204,205,304];const s=[301,302,303,307,308];const i=new Set(s);const o=["1","7","9","11","13","15","17","19","20","21","22","23","25","37","42","43","53","69","77","79","87","95","101","102","103","104","109","110","111","113","115","117","119","123","135","137","139","143","161","179","389","427","465","512","513","514","515","526","530","531","532","540","548","554","556","563","587","601","636","989","990","993","995","1719","1720","1723","2049","3659","4045","4190","5060","5061","6000","6566","6665","6666","6667","6668","6669","6679","6697","10080"];const a=new Set(o);const c=["","no-referrer","no-referrer-when-downgrade","same-origin","origin","strict-origin","origin-when-cross-origin","strict-origin-when-cross-origin","unsafe-url"];const l=new Set(c);const A=["follow","manual","error"];const u=["GET","HEAD","OPTIONS","TRACE"];const d=new Set(u);const g=["navigate","same-origin","no-cors","cors"];const p=["omit","same-origin","include"];const h=["default","no-store","reload","no-cache","force-cache","only-if-cached"];const m=["content-encoding","content-language","content-location","content-type","content-length"];const f=["half"];const C=["CONNECT","TRACE","TRACK"];const y=new Set(C);const E=["audio","audioworklet","font","image","manifest","paintworklet","script","style","track","video","xslt",""];const I=new Set(E);e.exports={subresource:E,forbiddenMethods:C,requestBodyHeader:m,referrerPolicy:c,requestRedirect:A,requestMode:g,requestCredentials:p,requestCache:h,redirectStatus:s,corsSafeListedMethods:t,nullBodyStatus:n,safeMethods:u,badPorts:o,requestDuplex:f,subresourceSet:I,badPortsSet:a,redirectStatusSet:i,corsSafeListedMethodsSet:r,safeMethodsSet:d,forbiddenMethodsSet:y,referrerPolicySet:l}},1900:(e,t,r)=>{const n=r(4589);const s=new TextEncoder;const i=/^[!#$%&'*+\-.^_|~A-Za-z0-9]+$/;const o=/[\u000A\u000D\u0009\u0020]/;const a=/[\u0009\u000A\u000C\u000D\u0020]/g;const c=/^[\u0009\u0020-\u007E\u0080-\u00FF]+$/;function dataURLProcessor(e){n(e.protocol==="data:");let t=URLSerializer(e,true);t=t.slice(5);const r={position:0};let s=collectASequenceOfCodePointsFast(",",t,r);const i=s.length;s=removeASCIIWhitespace(s,true,true);if(r.position>=t.length){return"failure"}r.position++;const o=t.slice(i+1);let a=stringPercentDecode(o);if(/;(\u0020){0,}base64$/i.test(s)){const e=isomorphicDecode(a);a=forgivingBase64(e);if(a==="failure"){return"failure"}s=s.slice(0,-6);s=s.replace(/(\u0020)+$/,"");s=s.slice(0,-1)}if(s.startsWith(";")){s="text/plain"+s}let c=parseMIMEType(s);if(c==="failure"){c=parseMIMEType("text/plain;charset=US-ASCII")}return{mimeType:c,body:a}}function URLSerializer(e,t=false){if(!t){return e.href}const r=e.href;const n=e.hash.length;const s=n===0?r:r.substring(0,r.length-n);if(!n&&r.endsWith("#")){return s.slice(0,-1)}return s}function collectASequenceOfCodePoints(e,t,r){let n="";while(r.position<t.length&&e(t[r.position])){n+=t[r.position];r.position++}return n}function collectASequenceOfCodePointsFast(e,t,r){const n=t.indexOf(e,r.position);const s=r.position;if(n===-1){r.position=t.length;return t.slice(s)}r.position=n;return t.slice(s,r.position)}function stringPercentDecode(e){const t=s.encode(e);return percentDecode(t)}function isHexCharByte(e){return e>=48&&e<=57||e>=65&&e<=70||e>=97&&e<=102}function hexByteToNumber(e){return e>=48&&e<=57?e-48:(e&223)-55}function percentDecode(e){const t=e.length;const r=new Uint8Array(t);let n=0;for(let s=0;s<t;++s){const t=e[s];if(t!==37){r[n++]=t}else if(t===37&&!(isHexCharByte(e[s+1])&&isHexCharByte(e[s+2]))){r[n++]=37}else{r[n++]=hexByteToNumber(e[s+1])<<4|hexByteToNumber(e[s+2]);s+=2}}return t===n?r:r.subarray(0,n)}function parseMIMEType(e){e=removeHTTPWhitespace(e,true,true);const t={position:0};const r=collectASequenceOfCodePointsFast("/",e,t);if(r.length===0||!i.test(r)){return"failure"}if(t.position>e.length){return"failure"}t.position++;let n=collectASequenceOfCodePointsFast(";",e,t);n=removeHTTPWhitespace(n,false,true);if(n.length===0||!i.test(n)){return"failure"}const s=r.toLowerCase();const a=n.toLowerCase();const l={type:s,subtype:a,parameters:new Map,essence:`${s}/${a}`};while(t.position<e.length){t.position++;collectASequenceOfCodePoints((e=>o.test(e)),e,t);let r=collectASequenceOfCodePoints((e=>e!==";"&&e!=="="),e,t);r=r.toLowerCase();if(t.position<e.length){if(e[t.position]===";"){continue}t.position++}if(t.position>e.length){break}let n=null;if(e[t.position]==='"'){n=collectAnHTTPQuotedString(e,t,true);collectASequenceOfCodePointsFast(";",e,t)}else{n=collectASequenceOfCodePointsFast(";",e,t);n=removeHTTPWhitespace(n,false,true);if(n.length===0){continue}}if(r.length!==0&&i.test(r)&&(n.length===0||c.test(n))&&!l.parameters.has(r)){l.parameters.set(r,n)}}return l}function forgivingBase64(e){e=e.replace(a,"");let t=e.length;if(t%4===0){if(e.charCodeAt(t-1)===61){--t;if(e.charCodeAt(t-1)===61){--t}}}if(t%4===1){return"failure"}if(/[^+/0-9A-Za-z]/.test(e.length===t?e:e.substring(0,t))){return"failure"}const r=Buffer.from(e,"base64");return new Uint8Array(r.buffer,r.byteOffset,r.byteLength)}function collectAnHTTPQuotedString(e,t,r){const s=t.position;let i="";n(e[t.position]==='"');t.position++;while(true){i+=collectASequenceOfCodePoints((e=>e!=='"'&&e!=="\\"),e,t);if(t.position>=e.length){break}const r=e[t.position];t.position++;if(r==="\\"){if(t.position>=e.length){i+="\\";break}i+=e[t.position];t.position++}else{n(r==='"');break}}if(r){return i}return e.slice(s,t.position)}function serializeAMimeType(e){n(e!=="failure");const{parameters:t,essence:r}=e;let s=r;for(let[e,r]of t.entries()){s+=";";s+=e;s+="=";if(!i.test(r)){r=r.replace(/(\\|")/g,"\\$1");r='"'+r;r+='"'}s+=r}return s}function isHTTPWhiteSpace(e){return e===13||e===10||e===9||e===32}function removeHTTPWhitespace(e,t=true,r=true){return removeChars(e,t,r,isHTTPWhiteSpace)}function isASCIIWhitespace(e){return e===13||e===10||e===9||e===12||e===32}function removeASCIIWhitespace(e,t=true,r=true){return removeChars(e,t,r,isASCIIWhitespace)}function removeChars(e,t,r,n){let s=0;let i=e.length-1;if(t){while(s<e.length&&n(e.charCodeAt(s)))s++}if(r){while(i>0&&n(e.charCodeAt(i)))i--}return s===0&&i===e.length-1?e:e.slice(s,i+1)}function isomorphicDecode(e){const t=e.length;if((2<<15)-1>t){return String.fromCharCode.apply(null,e)}let r="";let n=0;let s=(2<<15)-1;while(n<t){if(n+s>t){s=t-n}r+=String.fromCharCode.apply(null,e.subarray(n,n+=s))}return r}function minimizeSupportedMimeType(e){switch(e.essence){case"application/ecmascript":case"application/javascript":case"application/x-ecmascript":case"application/x-javascript":case"text/ecmascript":case"text/javascript":case"text/javascript1.0":case"text/javascript1.1":case"text/javascript1.2":case"text/javascript1.3":case"text/javascript1.4":case"text/javascript1.5":case"text/jscript":case"text/livescript":case"text/x-ecmascript":case"text/x-javascript":return"text/javascript";case"application/json":case"text/json":return"application/json";case"image/svg+xml":return"image/svg+xml";case"text/xml":case"application/xml":return"application/xml"}if(e.subtype.endsWith("+json")){return"application/json"}if(e.subtype.endsWith("+xml")){return"application/xml"}return""}e.exports={dataURLProcessor:dataURLProcessor,URLSerializer:URLSerializer,collectASequenceOfCodePoints:collectASequenceOfCodePoints,collectASequenceOfCodePointsFast:collectASequenceOfCodePointsFast,stringPercentDecode:stringPercentDecode,parseMIMEType:parseMIMEType,collectAnHTTPQuotedString:collectAnHTTPQuotedString,serializeAMimeType:serializeAMimeType,removeChars:removeChars,removeHTTPWhitespace:removeHTTPWhitespace,minimizeSupportedMimeType:minimizeSupportedMimeType,HTTP_TOKEN_CODEPOINTS:i,isomorphicDecode:isomorphicDecode}},6653:(e,t,r)=>{const{kConnected:n,kSize:s}=r(6443);class CompatWeakRef{constructor(e){this.value=e}deref(){return this.value[n]===0&&this.value[s]===0?undefined:this.value}}class CompatFinalizer{constructor(e){this.finalizer=e}register(e,t){if(e.on){e.on("disconnect",(()=>{if(e[n]===0&&e[s]===0){this.finalizer(t)}}))}}unregister(e){}}e.exports=function(){if(process.env.NODE_V8_COVERAGE&&process.version.startsWith("v18")){process._rawDebug("Using compatibility WeakRef and FinalizationRegistry");return{WeakRef:CompatWeakRef,FinalizationRegistry:CompatFinalizer}}return{WeakRef:WeakRef,FinalizationRegistry:FinalizationRegistry}}},7114:(e,t,r)=>{const{Blob:n,File:s}=r(4573);const{kState:i}=r(3627);const{webidl:o}=r(5893);class FileLike{constructor(e,t,r={}){const n=t;const s=r.type;const o=r.lastModified??Date.now();this[i]={blobLike:e,name:n,type:s,lastModified:o}}stream(...e){o.brandCheck(this,FileLike);return this[i].blobLike.stream(...e)}arrayBuffer(...e){o.brandCheck(this,FileLike);return this[i].blobLike.arrayBuffer(...e)}slice(...e){o.brandCheck(this,FileLike);return this[i].blobLike.slice(...e)}text(...e){o.brandCheck(this,FileLike);return this[i].blobLike.text(...e)}get size(){o.brandCheck(this,FileLike);return this[i].blobLike.size}get type(){o.brandCheck(this,FileLike);return this[i].blobLike.type}get name(){o.brandCheck(this,FileLike);return this[i].name}get lastModified(){o.brandCheck(this,FileLike);return this[i].lastModified}get[Symbol.toStringTag](){return"File"}}o.converters.Blob=o.interfaceConverter(n);function isFileLike(e){return e instanceof s||e&&(typeof e.stream==="function"||typeof e.arrayBuffer==="function")&&e[Symbol.toStringTag]==="File"}e.exports={FileLike:FileLike,isFileLike:isFileLike}},116:(e,t,r)=>{const{isUSVString:n,bufferToLowerCasedHeaderName:s}=r(3440);const{utf8DecodeBytes:i}=r(3168);const{HTTP_TOKEN_CODEPOINTS:o,isomorphicDecode:a}=r(1900);const{isFileLike:c}=r(7114);const{makeEntry:l}=r(5910);const A=r(4589);const{File:u}=r(4573);const d=globalThis.File??u;const g=Buffer.from('form-data; name="');const p=Buffer.from("; filename");const h=Buffer.from("--");const m=Buffer.from("--\r\n");function isAsciiString(e){for(let t=0;t<e.length;++t){if((e.charCodeAt(t)&~127)!==0){return false}}return true}function validateBoundary(e){const t=e.length;if(t<27||t>70){return false}for(let r=0;r<t;++r){const t=e.charCodeAt(r);if(!(t>=48&&t<=57||t>=65&&t<=90||t>=97&&t<=122||t===39||t===45||t===95)){return false}}return true}function multipartFormDataParser(e,t){A(t!=="failure"&&t.essence==="multipart/form-data");const r=t.parameters.get("boundary");if(r===undefined){return"failure"}const s=Buffer.from(`--${r}`,"utf8");const o=[];const a={position:0};while(e[a.position]===13&&e[a.position+1]===10){a.position+=2}let u=e.length;while(e[u-1]===10&&e[u-2]===13){u-=2}if(u!==e.length){e=e.subarray(0,u)}while(true){if(e.subarray(a.position,a.position+s.length).equals(s)){a.position+=s.length}else{return"failure"}if(a.position===e.length-2&&bufferStartsWith(e,h,a)||a.position===e.length-4&&bufferStartsWith(e,m,a)){return o}if(e[a.position]!==13||e[a.position+1]!==10){return"failure"}a.position+=2;const t=parseMultipartFormDataHeaders(e,a);if(t==="failure"){return"failure"}let{name:r,filename:u,contentType:g,encoding:p}=t;a.position+=2;let f;{const t=e.indexOf(s.subarray(2),a.position);if(t===-1){return"failure"}f=e.subarray(a.position,t-4);a.position+=f.length;if(p==="base64"){f=Buffer.from(f.toString(),"base64")}}if(e[a.position]!==13||e[a.position+1]!==10){return"failure"}else{a.position+=2}let C;if(u!==null){g??="text/plain";if(!isAsciiString(g)){g=""}C=new d([f],u,{type:g})}else{C=i(Buffer.from(f))}A(n(r));A(typeof C==="string"&&n(C)||c(C));o.push(l(r,C,u))}}function parseMultipartFormDataHeaders(e,t){let r=null;let n=null;let i=null;let c=null;while(true){if(e[t.position]===13&&e[t.position+1]===10){if(r===null){return"failure"}return{name:r,filename:n,contentType:i,encoding:c}}let l=collectASequenceOfBytes((e=>e!==10&&e!==13&&e!==58),e,t);l=removeChars(l,true,true,(e=>e===9||e===32));if(!o.test(l.toString())){return"failure"}if(e[t.position]!==58){return"failure"}t.position++;collectASequenceOfBytes((e=>e===32||e===9),e,t);switch(s(l)){case"content-disposition":{r=n=null;if(!bufferStartsWith(e,g,t)){return"failure"}t.position+=17;r=parseMultipartFormDataName(e,t);if(r===null){return"failure"}if(bufferStartsWith(e,p,t)){let r=t.position+p.length;if(e[r]===42){t.position+=1;r+=1}if(e[r]!==61||e[r+1]!==34){return"failure"}t.position+=12;n=parseMultipartFormDataName(e,t);if(n===null){return"failure"}}break}case"content-type":{let r=collectASequenceOfBytes((e=>e!==10&&e!==13),e,t);r=removeChars(r,false,true,(e=>e===9||e===32));i=a(r);break}case"content-transfer-encoding":{let r=collectASequenceOfBytes((e=>e!==10&&e!==13),e,t);r=removeChars(r,false,true,(e=>e===9||e===32));c=a(r);break}default:{collectASequenceOfBytes((e=>e!==10&&e!==13),e,t)}}if(e[t.position]!==13&&e[t.position+1]!==10){return"failure"}else{t.position+=2}}}function parseMultipartFormDataName(e,t){A(e[t.position-1]===34);let r=collectASequenceOfBytes((e=>e!==10&&e!==13&&e!==34),e,t);if(e[t.position]!==34){return null}else{t.position++}r=(new TextDecoder).decode(r).replace(/%0A/gi,"\n").replace(/%0D/gi,"\r").replace(/%22/g,'"');return r}function collectASequenceOfBytes(e,t,r){let n=r.position;while(n<t.length&&e(t[n])){++n}return t.subarray(r.position,r.position=n)}function removeChars(e,t,r,n){let s=0;let i=e.length-1;if(t){while(s<e.length&&n(e[s]))s++}if(r){while(i>0&&n(e[i]))i--}return s===0&&i===e.length-1?e:e.subarray(s,i+1)}function bufferStartsWith(e,t,r){if(e.length<t.length){return false}for(let n=0;n<t.length;n++){if(t[n]!==e[r.position+n]){return false}}return true}e.exports={multipartFormDataParser:multipartFormDataParser,validateBoundary:validateBoundary}},5910:(e,t,r)=>{const{isBlobLike:n,iteratorMixin:s}=r(3168);const{kState:i}=r(3627);const{kEnumerableProperty:o}=r(3440);const{FileLike:a,isFileLike:c}=r(7114);const{webidl:l}=r(5893);const{File:A}=r(4573);const u=r(7975);const d=globalThis.File??A;class FormData{constructor(e){l.util.markAsUncloneable(this);if(e!==undefined){throw l.errors.conversionFailed({prefix:"FormData constructor",argument:"Argument 1",types:["undefined"]})}this[i]=[]}append(e,t,r=undefined){l.brandCheck(this,FormData);const s="FormData.append";l.argumentLengthCheck(arguments,2,s);if(arguments.length===3&&!n(t)){throw new TypeError("Failed to execute 'append' on 'FormData': parameter 2 is not of type 'Blob'")}e=l.converters.USVString(e,s,"name");t=n(t)?l.converters.Blob(t,s,"value",{strict:false}):l.converters.USVString(t,s,"value");r=arguments.length===3?l.converters.USVString(r,s,"filename"):undefined;const o=makeEntry(e,t,r);this[i].push(o)}delete(e){l.brandCheck(this,FormData);const t="FormData.delete";l.argumentLengthCheck(arguments,1,t);e=l.converters.USVString(e,t,"name");this[i]=this[i].filter((t=>t.name!==e))}get(e){l.brandCheck(this,FormData);const t="FormData.get";l.argumentLengthCheck(arguments,1,t);e=l.converters.USVString(e,t,"name");const r=this[i].findIndex((t=>t.name===e));if(r===-1){return null}return this[i][r].value}getAll(e){l.brandCheck(this,FormData);const t="FormData.getAll";l.argumentLengthCheck(arguments,1,t);e=l.converters.USVString(e,t,"name");return this[i].filter((t=>t.name===e)).map((e=>e.value))}has(e){l.brandCheck(this,FormData);const t="FormData.has";l.argumentLengthCheck(arguments,1,t);e=l.converters.USVString(e,t,"name");return this[i].findIndex((t=>t.name===e))!==-1}set(e,t,r=undefined){l.brandCheck(this,FormData);const s="FormData.set";l.argumentLengthCheck(arguments,2,s);if(arguments.length===3&&!n(t)){throw new TypeError("Failed to execute 'set' on 'FormData': parameter 2 is not of type 'Blob'")}e=l.converters.USVString(e,s,"name");t=n(t)?l.converters.Blob(t,s,"name",{strict:false}):l.converters.USVString(t,s,"name");r=arguments.length===3?l.converters.USVString(r,s,"name"):undefined;const o=makeEntry(e,t,r);const a=this[i].findIndex((t=>t.name===e));if(a!==-1){this[i]=[...this[i].slice(0,a),o,...this[i].slice(a+1).filter((t=>t.name!==e))]}else{this[i].push(o)}}[u.inspect.custom](e,t){const r=this[i].reduce(((e,t)=>{if(e[t.name]){if(Array.isArray(e[t.name])){e[t.name].push(t.value)}else{e[t.name]=[e[t.name],t.value]}}else{e[t.name]=t.value}return e}),{__proto__:null});t.depth??=e;t.colors??=true;const n=u.formatWithOptions(t,r);return`FormData ${n.slice(n.indexOf("]")+2)}`}}s("FormData",FormData,i,"name","value");Object.defineProperties(FormData.prototype,{append:o,delete:o,get:o,getAll:o,has:o,set:o,[Symbol.toStringTag]:{value:"FormData",configurable:true}});function makeEntry(e,t,r){if(typeof t==="string"){}else{if(!c(t)){t=t instanceof Blob?new d([t],"blob",{type:t.type}):new a(t,"blob",{type:t.type})}if(r!==undefined){const e={type:t.type,lastModified:t.lastModified};t=t instanceof A?new d([t],r,e):new a(t,r,e)}}return{name:e,value:t}}e.exports={FormData:FormData,makeEntry:makeEntry}},1059:e=>{const t=Symbol.for("undici.globalOrigin.1");function getGlobalOrigin(){return globalThis[t]}function setGlobalOrigin(e){if(e===undefined){Object.defineProperty(globalThis,t,{value:undefined,writable:true,enumerable:false,configurable:false});return}const r=new URL(e);if(r.protocol!=="http:"&&r.protocol!=="https:"){throw new TypeError(`Only http & https urls are allowed, received ${r.protocol}`)}Object.defineProperty(globalThis,t,{value:r,writable:true,enumerable:false,configurable:false})}e.exports={getGlobalOrigin:getGlobalOrigin,setGlobalOrigin:setGlobalOrigin}},660:(e,t,r)=>{const{kConstruct:n}=r(6443);const{kEnumerableProperty:s}=r(3440);const{iteratorMixin:i,isValidHeaderName:o,isValidHeaderValue:a}=r(3168);const{webidl:c}=r(5893);const l=r(4589);const A=r(7975);const u=Symbol("headers map");const d=Symbol("headers map sorted");function isHTTPWhiteSpaceCharCode(e){return e===10||e===13||e===9||e===32}function headerValueNormalize(e){let t=0;let r=e.length;while(r>t&&isHTTPWhiteSpaceCharCode(e.charCodeAt(r-1)))--r;while(r>t&&isHTTPWhiteSpaceCharCode(e.charCodeAt(t)))++t;return t===0&&r===e.length?e:e.substring(t,r)}function fill(e,t){if(Array.isArray(t)){for(let r=0;r<t.length;++r){const n=t[r];if(n.length!==2){throw c.errors.exception({header:"Headers constructor",message:`expected name/value pair to be length 2, found ${n.length}.`})}appendHeader(e,n[0],n[1])}}else if(typeof t==="object"&&t!==null){const r=Object.keys(t);for(let n=0;n<r.length;++n){appendHeader(e,r[n],t[r[n]])}}else{throw c.errors.conversionFailed({prefix:"Headers constructor",argument:"Argument 1",types:["sequence<sequence<ByteString>>","record<ByteString, ByteString>"]})}}function appendHeader(e,t,r){r=headerValueNormalize(r);if(!o(t)){throw c.errors.invalidArgument({prefix:"Headers.append",value:t,type:"header name"})}else if(!a(r)){throw c.errors.invalidArgument({prefix:"Headers.append",value:r,type:"header value"})}if(g(e)==="immutable"){throw new TypeError("immutable")}return h(e).append(t,r,false)}function compareHeaderName(e,t){return e[0]<t[0]?-1:1}class HeadersList{cookies=null;constructor(e){if(e instanceof HeadersList){this[u]=new Map(e[u]);this[d]=e[d];this.cookies=e.cookies===null?null:[...e.cookies]}else{this[u]=new Map(e);this[d]=null}}contains(e,t){return this[u].has(t?e:e.toLowerCase())}clear(){this[u].clear();this[d]=null;this.cookies=null}append(e,t,r){this[d]=null;const n=r?e:e.toLowerCase();const s=this[u].get(n);if(s){const e=n==="cookie"?"; ":", ";this[u].set(n,{name:s.name,value:`${s.value}${e}${t}`})}else{this[u].set(n,{name:e,value:t})}if(n==="set-cookie"){(this.cookies??=[]).push(t)}}set(e,t,r){this[d]=null;const n=r?e:e.toLowerCase();if(n==="set-cookie"){this.cookies=[t]}this[u].set(n,{name:e,value:t})}delete(e,t){this[d]=null;if(!t)e=e.toLowerCase();if(e==="set-cookie"){this.cookies=null}this[u].delete(e)}get(e,t){return this[u].get(t?e:e.toLowerCase())?.value??null}*[Symbol.iterator](){for(const{0:e,1:{value:t}}of this[u]){yield[e,t]}}get entries(){const e={};if(this[u].size!==0){for(const{name:t,value:r}of this[u].values()){e[t]=r}}return e}rawValues(){return this[u].values()}get entriesList(){const e=[];if(this[u].size!==0){for(const{0:t,1:{name:r,value:n}}of this[u]){if(t==="set-cookie"){for(const t of this.cookies){e.push([r,t])}}else{e.push([r,n])}}}return e}toSortedArray(){const e=this[u].size;const t=new Array(e);if(e<=32){if(e===0){return t}const r=this[u][Symbol.iterator]();const n=r.next().value;t[0]=[n[0],n[1].value];l(n[1].value!==null);for(let n=1,s=0,i=0,o=0,a=0,c,A;n<e;++n){A=r.next().value;c=t[n]=[A[0],A[1].value];l(c[1]!==null);o=0;i=n;while(o<i){a=o+(i-o>>1);if(t[a][0]<=c[0]){o=a+1}else{i=a}}if(n!==a){s=n;while(s>o){t[s]=t[--s]}t[o]=c}}if(!r.next().done){throw new TypeError("Unreachable")}return t}else{let e=0;for(const{0:r,1:{value:n}}of this[u]){t[e++]=[r,n];l(n!==null)}return t.sort(compareHeaderName)}}}class Headers{#G;#z;constructor(e=undefined){c.util.markAsUncloneable(this);if(e===n){return}this.#z=new HeadersList;this.#G="none";if(e!==undefined){e=c.converters.HeadersInit(e,"Headers contructor","init");fill(this,e)}}append(e,t){c.brandCheck(this,Headers);c.argumentLengthCheck(arguments,2,"Headers.append");const r="Headers.append";e=c.converters.ByteString(e,r,"name");t=c.converters.ByteString(t,r,"value");return appendHeader(this,e,t)}delete(e){c.brandCheck(this,Headers);c.argumentLengthCheck(arguments,1,"Headers.delete");const t="Headers.delete";e=c.converters.ByteString(e,t,"name");if(!o(e)){throw c.errors.invalidArgument({prefix:"Headers.delete",value:e,type:"header name"})}if(this.#G==="immutable"){throw new TypeError("immutable")}if(!this.#z.contains(e,false)){return}this.#z.delete(e,false)}get(e){c.brandCheck(this,Headers);c.argumentLengthCheck(arguments,1,"Headers.get");const t="Headers.get";e=c.converters.ByteString(e,t,"name");if(!o(e)){throw c.errors.invalidArgument({prefix:t,value:e,type:"header name"})}return this.#z.get(e,false)}has(e){c.brandCheck(this,Headers);c.argumentLengthCheck(arguments,1,"Headers.has");const t="Headers.has";e=c.converters.ByteString(e,t,"name");if(!o(e)){throw c.errors.invalidArgument({prefix:t,value:e,type:"header name"})}return this.#z.contains(e,false)}set(e,t){c.brandCheck(this,Headers);c.argumentLengthCheck(arguments,2,"Headers.set");const r="Headers.set";e=c.converters.ByteString(e,r,"name");t=c.converters.ByteString(t,r,"value");t=headerValueNormalize(t);if(!o(e)){throw c.errors.invalidArgument({prefix:r,value:e,type:"header name"})}else if(!a(t)){throw c.errors.invalidArgument({prefix:r,value:t,type:"header value"})}if(this.#G==="immutable"){throw new TypeError("immutable")}this.#z.set(e,t,false)}getSetCookie(){c.brandCheck(this,Headers);const e=this.#z.cookies;if(e){return[...e]}return[]}get[d](){if(this.#z[d]){return this.#z[d]}const e=[];const t=this.#z.toSortedArray();const r=this.#z.cookies;if(r===null||r.length===1){return this.#z[d]=t}for(let n=0;n<t.length;++n){const{0:s,1:i}=t[n];if(s==="set-cookie"){for(let t=0;t<r.length;++t){e.push([s,r[t]])}}else{e.push([s,i])}}return this.#z[d]=e}[A.inspect.custom](e,t){t.depth??=e;return`Headers ${A.formatWithOptions(t,this.#z.entries)}`}static getHeadersGuard(e){return e.#G}static setHeadersGuard(e,t){e.#G=t}static getHeadersList(e){return e.#z}static setHeadersList(e,t){e.#z=t}}const{getHeadersGuard:g,setHeadersGuard:p,getHeadersList:h,setHeadersList:m}=Headers;Reflect.deleteProperty(Headers,"getHeadersGuard");Reflect.deleteProperty(Headers,"setHeadersGuard");Reflect.deleteProperty(Headers,"getHeadersList");Reflect.deleteProperty(Headers,"setHeadersList");i("Headers",Headers,d,0,1);Object.defineProperties(Headers.prototype,{append:s,delete:s,get:s,has:s,set:s,getSetCookie:s,[Symbol.toStringTag]:{value:"Headers",configurable:true},[A.inspect.custom]:{enumerable:false}});c.converters.HeadersInit=function(e,t,r){if(c.util.Type(e)==="Object"){const n=Reflect.get(e,Symbol.iterator);if(!A.types.isProxy(e)&&n===Headers.prototype.entries){try{return h(e).entriesList}catch{}}if(typeof n==="function"){return c.converters["sequence<sequence<ByteString>>"](e,t,r,n.bind(e))}return c.converters["record<ByteString, ByteString>"](e,t,r)}throw c.errors.conversionFailed({prefix:"Headers constructor",argument:"Argument 1",types:["sequence<sequence<ByteString>>","record<ByteString, ByteString>"]})};e.exports={fill:fill,compareHeaderName:compareHeaderName,Headers:Headers,HeadersList:HeadersList,getHeadersGuard:g,setHeadersGuard:p,setHeadersList:m,getHeadersList:h}},4398:(e,t,r)=>{const{makeNetworkError:n,makeAppropriateNetworkError:s,filterResponse:i,makeResponse:o,fromInnerResponse:a}=r(9051);const{HeadersList:c}=r(660);const{Request:l,cloneRequest:A}=r(9967);const u=r(8522);const{bytesMatch:d,makePolicyContainer:g,clonePolicyContainer:p,requestBadPort:h,TAOCheck:m,appendRequestOriginHeader:f,responseLocationURL:C,requestCurrentURL:y,setRequestReferrerPolicyOnRedirect:E,tryUpgradeRequestToAPotentiallyTrustworthyURL:I,createOpaqueTimingInfo:B,appendFetchMetadata:Q,corsCheck:b,crossOriginResourcePolicyCheck:S,determineRequestsReferrer:w,coarsenedSharedCurrentTime:D,createDeferredPromise:N,isBlobLike:x,sameOrigin:R,isCancelled:v,isAborted:k,isErrorLike:F,fullyReadBody:T,readableStreamClose:M,isomorphicEncode:P,urlIsLocal:L,urlIsHttpHttpsScheme:U,urlHasHttpsScheme:O,clampAndCoarsenConnectionTimingInfo:H,simpleRangeHeaderValue:_,buildContentRange:q,createInflate:G,extractMimeType:z}=r(3168);const{kState:Y,kDispatcher:V}=r(3627);const J=r(4589);const{safelyExtractBody:W,extractBody:j}=r(4492);const{redirectStatusSet:K,nullBodyStatus:$,safeMethodsSet:X,requestBodyHeader:Z,subresourceSet:ee}=r(4495);const te=r(8474);const{Readable:re,pipeline:ne,finished:se}=r(7075);const{addAbortListener:ie,isErrored:oe,isReadable:ae,bufferToLowerCasedHeaderName:ce}=r(3440);const{dataURLProcessor:le,serializeAMimeType:Ae,minimizeSupportedMimeType:ue}=r(1900);const{getGlobalDispatcher:de}=r(2581);const{webidl:ge}=r(5893);const{STATUS_CODES:pe}=r(7067);const he=["GET","HEAD"];const me=typeof __UNDICI_IS_NODE__!=="undefined"||typeof esbuildDetection!=="undefined"?"node":"undici";let fe;class Fetch extends te{constructor(e){super();this.dispatcher=e;this.connection=null;this.dump=false;this.state="ongoing"}terminate(e){if(this.state!=="ongoing"){return}this.state="terminated";this.connection?.destroy(e);this.emit("terminated",e)}abort(e){if(this.state!=="ongoing"){return}this.state="aborted";if(!e){e=new DOMException("The operation was aborted.","AbortError")}this.serializedAbortReason=e;this.connection?.destroy(e);this.emit("terminated",e)}}function handleFetchDone(e){finalizeAndReportTiming(e,"fetch")}function fetch(e,t=undefined){ge.argumentLengthCheck(arguments,1,"globalThis.fetch");let r=N();let n;try{n=new l(e,t)}catch(e){r.reject(e);return r.promise}const s=n[Y];if(n.signal.aborted){abortFetch(r,s,null,n.signal.reason);return r.promise}const i=s.client.globalObject;if(i?.constructor?.name==="ServiceWorkerGlobalScope"){s.serviceWorkers="none"}let o=null;let c=false;let A=null;ie(n.signal,(()=>{c=true;J(A!=null);A.abort(n.signal.reason);const e=o?.deref();abortFetch(r,s,e,n.signal.reason)}));const processResponse=e=>{if(c){return}if(e.aborted){abortFetch(r,s,o,A.serializedAbortReason);return}if(e.type==="error"){r.reject(new TypeError("fetch failed",{cause:e.error}));return}o=new WeakRef(a(e,"immutable"));r.resolve(o.deref());r=null};A=fetching({request:s,processResponseEndOfBody:handleFetchDone,processResponse:processResponse,dispatcher:n[V]});return r.promise}function finalizeAndReportTiming(e,t="other"){if(e.type==="error"&&e.aborted){return}if(!e.urlList?.length){return}const r=e.urlList[0];let n=e.timingInfo;let s=e.cacheState;if(!U(r)){return}if(n===null){return}if(!e.timingAllowPassed){n=B({startTime:n.startTime});s=""}n.endTime=D();e.timingInfo=n;Ce(n,r.href,t,globalThis,s)}const Ce=performance.markResourceTiming;function abortFetch(e,t,r,n){if(e){e.reject(n)}if(t.body!=null&&ae(t.body?.stream)){t.body.stream.cancel(n).catch((e=>{if(e.code==="ERR_INVALID_STATE"){return}throw e}))}if(r==null){return}const s=r[Y];if(s.body!=null&&ae(s.body?.stream)){s.body.stream.cancel(n).catch((e=>{if(e.code==="ERR_INVALID_STATE"){return}throw e}))}}function fetching({request:e,processRequestBodyChunkLength:t,processRequestEndOfBody:r,processResponse:n,processResponseEndOfBody:s,processResponseConsumeBody:i,useParallelQueue:o=false,dispatcher:a=de()}){J(a);let c=null;let l=false;if(e.client!=null){c=e.client.globalObject;l=e.client.crossOriginIsolatedCapability}const A=D(l);const u=B({startTime:A});const d={controller:new Fetch(a),request:e,timingInfo:u,processRequestBodyChunkLength:t,processRequestEndOfBody:r,processResponse:n,processResponseConsumeBody:i,processResponseEndOfBody:s,taskDestination:c,crossOriginIsolatedCapability:l};J(!e.body||e.body.stream);if(e.window==="client"){e.window=e.client?.globalObject?.constructor?.name==="Window"?e.client:"no-window"}if(e.origin==="client"){e.origin=e.client.origin}if(e.policyContainer==="client"){if(e.client!=null){e.policyContainer=p(e.client.policyContainer)}else{e.policyContainer=g()}}if(!e.headersList.contains("accept",true)){const t="*/*";e.headersList.append("accept",t,true)}if(!e.headersList.contains("accept-language",true)){e.headersList.append("accept-language","*",true)}if(e.priority===null){}if(ee.has(e.destination)){}mainFetch(d).catch((e=>{d.controller.terminate(e)}));return d.controller}async function mainFetch(e,t=false){const r=e.request;let s=null;if(r.localURLsOnly&&!L(y(r))){s=n("local URLs only")}I(r);if(h(r)==="blocked"){s=n("bad port")}if(r.referrerPolicy===""){r.referrerPolicy=r.policyContainer.referrerPolicy}if(r.referrer!=="no-referrer"){r.referrer=w(r)}if(s===null){s=await(async()=>{const t=y(r);if(R(t,r.url)&&r.responseTainting==="basic"||t.protocol==="data:"||(r.mode==="navigate"||r.mode==="websocket")){r.responseTainting="basic";return await schemeFetch(e)}if(r.mode==="same-origin"){return n('request mode cannot be "same-origin"')}if(r.mode==="no-cors"){if(r.redirect!=="follow"){return n('redirect mode cannot be "follow" for "no-cors" request')}r.responseTainting="opaque";return await schemeFetch(e)}if(!U(y(r))){return n("URL scheme must be a HTTP(S) scheme")}r.responseTainting="cors";return await httpFetch(e)})()}if(t){return s}if(s.status!==0&&!s.internalResponse){if(r.responseTainting==="cors"){}if(r.responseTainting==="basic"){s=i(s,"basic")}else if(r.responseTainting==="cors"){s=i(s,"cors")}else if(r.responseTainting==="opaque"){s=i(s,"opaque")}else{J(false)}}let o=s.status===0?s:s.internalResponse;if(o.urlList.length===0){o.urlList.push(...r.urlList)}if(!r.timingAllowFailed){s.timingAllowPassed=true}if(s.type==="opaque"&&o.status===206&&o.rangeRequested&&!r.headers.contains("range",true)){s=o=n()}if(s.status!==0&&(r.method==="HEAD"||r.method==="CONNECT"||$.includes(o.status))){o.body=null;e.controller.dump=true}if(r.integrity){const processBodyError=t=>fetchFinale(e,n(t));if(r.responseTainting==="opaque"||s.body==null){processBodyError(s.error);return}const processBody=t=>{if(!d(t,r.integrity)){processBodyError("integrity mismatch");return}s.body=W(t)[0];fetchFinale(e,s)};await T(s.body,processBody,processBodyError)}else{fetchFinale(e,s)}}function schemeFetch(e){if(v(e)&&e.request.redirectCount===0){return Promise.resolve(s(e))}const{request:t}=e;const{protocol:i}=y(t);switch(i){case"about:":{return Promise.resolve(n("about scheme is not supported"))}case"blob:":{if(!fe){fe=r(4573).resolveObjectURL}const e=y(t);if(e.search.length!==0){return Promise.resolve(n("NetworkError when attempting to fetch resource."))}const s=fe(e.toString());if(t.method!=="GET"||!x(s)){return Promise.resolve(n("invalid method"))}const i=o();const a=s.size;const c=P(`${a}`);const l=s.type;if(!t.headersList.contains("range",true)){const e=j(s);i.statusText="OK";i.body=e[0];i.headersList.set("content-length",c,true);i.headersList.set("content-type",l,true)}else{i.rangeRequested=true;const e=t.headersList.get("range",true);const r=_(e,true);if(r==="failure"){return Promise.resolve(n("failed to fetch the data URL"))}let{rangeStartValue:o,rangeEndValue:c}=r;if(o===null){o=a-c;c=o+c-1}else{if(o>=a){return Promise.resolve(n("Range start is greater than the blob's size."))}if(c===null||c>=a){c=a-1}}const A=s.slice(o,c,l);const u=j(A);i.body=u[0];const d=P(`${A.size}`);const g=q(o,c,a);i.status=206;i.statusText="Partial Content";i.headersList.set("content-length",d,true);i.headersList.set("content-type",l,true);i.headersList.set("content-range",g,true)}return Promise.resolve(i)}case"data:":{const e=y(t);const r=le(e);if(r==="failure"){return Promise.resolve(n("failed to fetch the data URL"))}const s=Ae(r.mimeType);return Promise.resolve(o({statusText:"OK",headersList:[["content-type",{name:"Content-Type",value:s}]],body:W(r.body)[0]}))}case"file:":{return Promise.resolve(n("not implemented... yet..."))}case"http:":case"https:":{return httpFetch(e).catch((e=>n(e)))}default:{return Promise.resolve(n("unknown scheme"))}}}function finalizeResponse(e,t){e.request.done=true;if(e.processResponseDone!=null){queueMicrotask((()=>e.processResponseDone(t)))}}function fetchFinale(e,t){let r=e.timingInfo;const processResponseEndOfBody=()=>{const n=Date.now();if(e.request.destination==="document"){e.controller.fullTimingInfo=r}e.controller.reportTimingSteps=()=>{if(e.request.url.protocol!=="https:"){return}r.endTime=n;let s=t.cacheState;const i=t.bodyInfo;if(!t.timingAllowPassed){r=B(r);s=""}let o=0;if(e.request.mode!=="navigator"||!t.hasCrossOriginRedirects){o=t.status;const e=z(t.headersList);if(e!=="failure"){i.contentType=ue(e)}}if(e.request.initiatorType!=null){Ce(r,e.request.url.href,e.request.initiatorType,globalThis,s,i,o)}};const processResponseEndOfBodyTask=()=>{e.request.done=true;if(e.processResponseEndOfBody!=null){queueMicrotask((()=>e.processResponseEndOfBody(t)))}if(e.request.initiatorType!=null){e.controller.reportTimingSteps()}};queueMicrotask((()=>processResponseEndOfBodyTask()))};if(e.processResponse!=null){queueMicrotask((()=>{e.processResponse(t);e.processResponse=null}))}const n=t.type==="error"?t:t.internalResponse??t;if(n.body==null){processResponseEndOfBody()}else{se(n.body.stream,(()=>{processResponseEndOfBody()}))}}async function httpFetch(e){const t=e.request;let r=null;let s=null;const i=e.timingInfo;if(t.serviceWorkers==="all"){}if(r===null){if(t.redirect==="follow"){t.serviceWorkers="none"}s=r=await httpNetworkOrCacheFetch(e);if(t.responseTainting==="cors"&&b(t,r)==="failure"){return n("cors failure")}if(m(t,r)==="failure"){t.timingAllowFailed=true}}if((t.responseTainting==="opaque"||r.type==="opaque")&&S(t.origin,t.client,t.destination,s)==="blocked"){return n("blocked")}if(K.has(s.status)){if(t.redirect!=="manual"){e.controller.connection.destroy(undefined,false)}if(t.redirect==="error"){r=n("unexpected redirect")}else if(t.redirect==="manual"){r=s}else if(t.redirect==="follow"){r=await httpRedirectFetch(e,r)}else{J(false)}}r.timingInfo=i;return r}function httpRedirectFetch(e,t){const r=e.request;const s=t.internalResponse?t.internalResponse:t;let i;try{i=C(s,y(r).hash);if(i==null){return t}}catch(e){return Promise.resolve(n(e))}if(!U(i)){return Promise.resolve(n("URL scheme must be a HTTP(S) scheme"))}if(r.redirectCount===20){return Promise.resolve(n("redirect count exceeded"))}r.redirectCount+=1;if(r.mode==="cors"&&(i.username||i.password)&&!R(r,i)){return Promise.resolve(n('cross origin not allowed for request mode "cors"'))}if(r.responseTainting==="cors"&&(i.username||i.password)){return Promise.resolve(n('URL cannot contain credentials for request mode "cors"'))}if(s.status!==303&&r.body!=null&&r.body.source==null){return Promise.resolve(n())}if([301,302].includes(s.status)&&r.method==="POST"||s.status===303&&!he.includes(r.method)){r.method="GET";r.body=null;for(const e of Z){r.headersList.delete(e)}}if(!R(y(r),i)){r.headersList.delete("authorization",true);r.headersList.delete("proxy-authorization",true);r.headersList.delete("cookie",true);r.headersList.delete("host",true)}if(r.body!=null){J(r.body.source!=null);r.body=W(r.body.source)[0]}const o=e.timingInfo;o.redirectEndTime=o.postRedirectStartTime=D(e.crossOriginIsolatedCapability);if(o.redirectStartTime===0){o.redirectStartTime=o.startTime}r.urlList.push(i);E(r,s);return mainFetch(e,true)}async function httpNetworkOrCacheFetch(e,t=false,r=false){const i=e.request;let o=null;let a=null;let c=null;const l=null;const u=false;if(i.window==="no-window"&&i.redirect==="error"){o=e;a=i}else{a=A(i);o={...e};o.request=a}const d=i.credentials==="include"||i.credentials==="same-origin"&&i.responseTainting==="basic";const g=a.body?a.body.length:null;let p=null;if(a.body==null&&["POST","PUT"].includes(a.method)){p="0"}if(g!=null){p=P(`${g}`)}if(p!=null){a.headersList.append("content-length",p,true)}if(g!=null&&a.keepalive){}if(a.referrer instanceof URL){a.headersList.append("referer",P(a.referrer.href),true)}f(a);Q(a);if(!a.headersList.contains("user-agent",true)){a.headersList.append("user-agent",me)}if(a.cache==="default"&&(a.headersList.contains("if-modified-since",true)||a.headersList.contains("if-none-match",true)||a.headersList.contains("if-unmodified-since",true)||a.headersList.contains("if-match",true)||a.headersList.contains("if-range",true))){a.cache="no-store"}if(a.cache==="no-cache"&&!a.preventNoCacheCacheControlHeaderModification&&!a.headersList.contains("cache-control",true)){a.headersList.append("cache-control","max-age=0",true)}if(a.cache==="no-store"||a.cache==="reload"){if(!a.headersList.contains("pragma",true)){a.headersList.append("pragma","no-cache",true)}if(!a.headersList.contains("cache-control",true)){a.headersList.append("cache-control","no-cache",true)}}if(a.headersList.contains("range",true)){a.headersList.append("accept-encoding","identity",true)}if(!a.headersList.contains("accept-encoding",true)){if(O(y(a))){a.headersList.append("accept-encoding","br, gzip, deflate",true)}else{a.headersList.append("accept-encoding","gzip, deflate",true)}}a.headersList.delete("host",true);if(d){}if(l==null){a.cache="no-store"}if(a.cache!=="no-store"&&a.cache!=="reload"){}if(c==null){if(a.cache==="only-if-cached"){return n("only if cached")}const e=await httpNetworkFetch(o,d,r);if(!X.has(a.method)&&e.status>=200&&e.status<=399){}if(u&&e.status===304){}if(c==null){c=e}}c.urlList=[...a.urlList];if(a.headersList.contains("range",true)){c.rangeRequested=true}c.requestIncludesCredentials=d;if(c.status===407){if(i.window==="no-window"){return n()}if(v(e)){return s(e)}return n("proxy authentication required")}if(c.status===421&&!r&&(i.body==null||i.body.source!=null)){if(v(e)){return s(e)}e.controller.connection.destroy();c=await httpNetworkOrCacheFetch(e,t,true)}if(t){}return c}async function httpNetworkFetch(e,t=false,r=false){J(!e.controller.connection||e.controller.connection.destroyed);e.controller.connection={abort:null,destroyed:false,destroy(e,t=true){if(!this.destroyed){this.destroyed=true;if(t){this.abort?.(e??new DOMException("The operation was aborted.","AbortError"))}}}};const i=e.request;let a=null;const l=e.timingInfo;const A=null;if(A==null){i.cache="no-store"}const d=r?"yes":"no";if(i.mode==="websocket"){}else{}let g=null;if(i.body==null&&e.processRequestEndOfBody){queueMicrotask((()=>e.processRequestEndOfBody()))}else if(i.body!=null){const processBodyChunk=async function*(t){if(v(e)){return}yield t;e.processRequestBodyChunkLength?.(t.byteLength)};const processEndOfBody=()=>{if(v(e)){return}if(e.processRequestEndOfBody){e.processRequestEndOfBody()}};const processBodyError=t=>{if(v(e)){return}if(t.name==="AbortError"){e.controller.abort()}else{e.controller.terminate(t)}};g=async function*(){try{for await(const e of i.body.stream){yield*processBodyChunk(e)}processEndOfBody()}catch(e){processBodyError(e)}}()}try{const{body:t,status:r,statusText:n,headersList:s,socket:i}=await dispatch({body:g});if(i){a=o({status:r,statusText:n,headersList:s,socket:i})}else{const i=t[Symbol.asyncIterator]();e.controller.next=()=>i.next();a=o({status:r,statusText:n,headersList:s})}}catch(t){if(t.name==="AbortError"){e.controller.connection.destroy();return s(e,t)}return n(t)}const pullAlgorithm=async()=>{await e.controller.resume()};const cancelAlgorithm=t=>{if(!v(e)){e.controller.abort(t)}};const p=new ReadableStream({async start(t){e.controller.controller=t},async pull(e){await pullAlgorithm(e)},async cancel(e){await cancelAlgorithm(e)},type:"bytes"});a.body={stream:p,source:null,length:null};e.controller.onAborted=onAborted;e.controller.on("terminated",onAborted);e.controller.resume=async()=>{while(true){let t;let r;try{const{done:r,value:n}=await e.controller.next();if(k(e)){break}t=r?undefined:n}catch(n){if(e.controller.ended&&!l.encodedBodySize){t=undefined}else{t=n;r=true}}if(t===undefined){M(e.controller.controller);finalizeResponse(e,a);return}l.decodedBodySize+=t?.byteLength??0;if(r){e.controller.terminate(t);return}const n=new Uint8Array(t);if(n.byteLength){e.controller.controller.enqueue(n)}if(oe(p)){e.controller.terminate();return}if(e.controller.controller.desiredSize<=0){return}}};function onAborted(t){if(k(e)){a.aborted=true;if(ae(p)){e.controller.controller.error(e.controller.serializedAbortReason)}}else{if(ae(p)){e.controller.controller.error(new TypeError("terminated",{cause:F(t)?t:undefined}))}}e.controller.connection.destroy()}return a;function dispatch({body:t}){const r=y(i);const n=e.controller.dispatcher;return new Promise(((s,o)=>n.dispatch({path:r.pathname+r.search,origin:r.origin,method:i.method,body:n.isMockActive?i.body&&(i.body.source||i.body.stream):t,headers:i.headersList.entries,maxRedirections:0,upgrade:i.mode==="websocket"?"websocket":undefined},{body:null,abort:null,onConnect(t){const{connection:r}=e.controller;l.finalConnectionTimingInfo=H(undefined,l.postRedirectStartTime,e.crossOriginIsolatedCapability);if(r.destroyed){t(new DOMException("The operation was aborted.","AbortError"))}else{e.controller.on("terminated",t);this.abort=r.abort=t}l.finalNetworkRequestStartTime=D(e.crossOriginIsolatedCapability)},onResponseStarted(){l.finalNetworkResponseStartTime=D(e.crossOriginIsolatedCapability)},onHeaders(e,t,r,n){if(e<200){return}let a="";const l=new c;for(let e=0;e<t.length;e+=2){l.append(ce(t[e]),t[e+1].toString("latin1"),true)}a=l.get("location",true);this.body=new re({read:r});const A=[];const d=a&&i.redirect==="follow"&&K.has(e);if(i.method!=="HEAD"&&i.method!=="CONNECT"&&!$.includes(e)&&!d){const e=l.get("content-encoding",true);const t=e?e.toLowerCase().split(","):[];const r=5;if(t.length>r){o(new Error(`too many content-encodings in response: ${t.length}, maximum allowed is ${r}`));return true}for(let e=t.length-1;e>=0;--e){const r=t[e].trim();if(r==="x-gzip"||r==="gzip"){A.push(u.createGunzip({flush:u.constants.Z_SYNC_FLUSH,finishFlush:u.constants.Z_SYNC_FLUSH}))}else if(r==="deflate"){A.push(G({flush:u.constants.Z_SYNC_FLUSH,finishFlush:u.constants.Z_SYNC_FLUSH}))}else if(r==="br"){A.push(u.createBrotliDecompress({flush:u.constants.BROTLI_OPERATION_FLUSH,finishFlush:u.constants.BROTLI_OPERATION_FLUSH}))}else{A.length=0;break}}}const g=this.onError.bind(this);s({status:e,statusText:n,headersList:l,body:A.length?ne(this.body,...A,(e=>{if(e){this.onError(e)}})).on("error",g):this.body.on("error",g)});return true},onData(t){if(e.controller.dump){return}const r=t;l.encodedBodySize+=r.byteLength;return this.body.push(r)},onComplete(){if(this.abort){e.controller.off("terminated",this.abort)}if(e.controller.onAborted){e.controller.off("terminated",e.controller.onAborted)}e.controller.ended=true;this.body.push(null)},onError(t){if(this.abort){e.controller.off("terminated",this.abort)}this.body?.destroy(t);e.controller.terminate(t);o(t)},onUpgrade(e,t,r){if(e!==101){return}const n=new c;for(let e=0;e<t.length;e+=2){n.append(ce(t[e]),t[e+1].toString("latin1"),true)}s({status:e,statusText:pe[e],headersList:n,socket:r});return true}})))}}e.exports={fetch:fetch,Fetch:Fetch,fetching:fetching,finalizeAndReportTiming:finalizeAndReportTiming}},9967:(e,t,r)=>{const{extractBody:n,mixinBody:s,cloneBody:i,bodyUnusable:o}=r(4492);const{Headers:a,fill:c,HeadersList:l,setHeadersGuard:A,getHeadersGuard:u,setHeadersList:d,getHeadersList:g}=r(660);const{FinalizationRegistry:p}=r(6653)();const h=r(3440);const m=r(7975);const{isValidHTTPToken:f,sameOrigin:C,environmentSettingsObject:y}=r(3168);const{forbiddenMethodsSet:E,corsSafeListedMethodsSet:I,referrerPolicy:B,requestRedirect:Q,requestMode:b,requestCredentials:S,requestCache:w,requestDuplex:D}=r(4495);const{kEnumerableProperty:N,normalizedMethodRecordsBase:x,normalizedMethodRecords:R}=h;const{kHeaders:v,kSignal:k,kState:F,kDispatcher:T}=r(3627);const{webidl:M}=r(5893);const{URLSerializer:P}=r(1900);const{kConstruct:L}=r(6443);const U=r(4589);const{getMaxListeners:O,setMaxListeners:H,getEventListeners:_,defaultMaxListeners:q}=r(8474);const G=Symbol("abortController");const z=new p((({signal:e,abort:t})=>{e.removeEventListener("abort",t)}));const Y=new WeakMap;function buildAbort(e){return abort;function abort(){const t=e.deref();if(t!==undefined){z.unregister(abort);this.removeEventListener("abort",abort);t.abort(this.reason);const e=Y.get(t.signal);if(e!==undefined){if(e.size!==0){for(const t of e){const e=t.deref();if(e!==undefined){e.abort(this.reason)}}e.clear()}Y.delete(t.signal)}}}}let V=false;class Request{constructor(e,t={}){M.util.markAsUncloneable(this);if(e===L){return}const r="Request constructor";M.argumentLengthCheck(arguments,1,r);e=M.converters.RequestInfo(e,r,"input");t=M.converters.RequestInit(t,r,"init");let s=null;let i=null;const u=y.settingsObject.baseUrl;let p=null;if(typeof e==="string"){this[T]=t.dispatcher;let r;try{r=new URL(e,u)}catch(t){throw new TypeError("Failed to parse URL from "+e,{cause:t})}if(r.username||r.password){throw new TypeError("Request cannot be constructed from a URL that includes credentials: "+e)}s=makeRequest({urlList:[r]});i="cors"}else{this[T]=t.dispatcher||e[T];U(e instanceof Request);s=e[F];p=e[k]}const m=y.settingsObject.origin;let B="client";if(s.window?.constructor?.name==="EnvironmentSettingsObject"&&C(s.window,m)){B=s.window}if(t.window!=null){throw new TypeError(`'window' option '${B}' must be null`)}if("window"in t){B="no-window"}s=makeRequest({method:s.method,headersList:s.headersList,unsafeRequest:s.unsafeRequest,client:y.settingsObject,window:B,priority:s.priority,origin:s.origin,referrer:s.referrer,referrerPolicy:s.referrerPolicy,mode:s.mode,credentials:s.credentials,cache:s.cache,redirect:s.redirect,integrity:s.integrity,keepalive:s.keepalive,reloadNavigation:s.reloadNavigation,historyNavigation:s.historyNavigation,urlList:[...s.urlList]});const Q=Object.keys(t).length!==0;if(Q){if(s.mode==="navigate"){s.mode="same-origin"}s.reloadNavigation=false;s.historyNavigation=false;s.origin="client";s.referrer="client";s.referrerPolicy="";s.url=s.urlList[s.urlList.length-1];s.urlList=[s.url]}if(t.referrer!==undefined){const e=t.referrer;if(e===""){s.referrer="no-referrer"}else{let t;try{t=new URL(e,u)}catch(t){throw new TypeError(`Referrer "${e}" is not a valid URL.`,{cause:t})}if(t.protocol==="about:"&&t.hostname==="client"||m&&!C(t,y.settingsObject.baseUrl)){s.referrer="client"}else{s.referrer=t}}}if(t.referrerPolicy!==undefined){s.referrerPolicy=t.referrerPolicy}let b;if(t.mode!==undefined){b=t.mode}else{b=i}if(b==="navigate"){throw M.errors.exception({header:"Request constructor",message:"invalid request mode navigate."})}if(b!=null){s.mode=b}if(t.credentials!==undefined){s.credentials=t.credentials}if(t.cache!==undefined){s.cache=t.cache}if(s.cache==="only-if-cached"&&s.mode!=="same-origin"){throw new TypeError("'only-if-cached' can be set only with 'same-origin' mode")}if(t.redirect!==undefined){s.redirect=t.redirect}if(t.integrity!=null){s.integrity=String(t.integrity)}if(t.keepalive!==undefined){s.keepalive=Boolean(t.keepalive)}if(t.method!==undefined){let e=t.method;const r=R[e];if(r!==undefined){s.method=r}else{if(!f(e)){throw new TypeError(`'${e}' is not a valid HTTP method.`)}const t=e.toUpperCase();if(E.has(t)){throw new TypeError(`'${e}' HTTP method is unsupported.`)}e=x[t]??e;s.method=e}if(!V&&s.method==="patch"){process.emitWarning("Using `patch` is highly likely to result in a `405 Method Not Allowed`. `PATCH` is much more likely to succeed.",{code:"UNDICI-FETCH-patch"});V=true}}if(t.signal!==undefined){p=t.signal}this[F]=s;const S=new AbortController;this[k]=S.signal;if(p!=null){if(!p||typeof p.aborted!=="boolean"||typeof p.addEventListener!=="function"){throw new TypeError("Failed to construct 'Request': member signal is not of type AbortSignal.")}if(p.aborted){S.abort(p.reason)}else{this[G]=S;const e=new WeakRef(S);const t=buildAbort(e);try{if(typeof O==="function"&&O(p)===q){H(1500,p)}else if(_(p,"abort").length>=q){H(1500,p)}}catch{}h.addAbortListener(p,t);z.register(S,{signal:p,abort:t},t)}}this[v]=new a(L);d(this[v],s.headersList);A(this[v],"request");if(b==="no-cors"){if(!I.has(s.method)){throw new TypeError(`'${s.method} is unsupported in no-cors mode.`)}A(this[v],"request-no-cors")}if(Q){const e=g(this[v]);const r=t.headers!==undefined?t.headers:new l(e);e.clear();if(r instanceof l){for(const{name:t,value:n}of r.rawValues()){e.append(t,n,false)}e.cookies=r.cookies}else{c(this[v],r)}}const w=e instanceof Request?e[F].body:null;if((t.body!=null||w!=null)&&(s.method==="GET"||s.method==="HEAD")){throw new TypeError("Request with GET/HEAD method cannot have body.")}let D=null;if(t.body!=null){const[e,r]=n(t.body,s.keepalive);D=e;if(r&&!g(this[v]).contains("content-type",true)){this[v].append("content-type",r)}}const N=D??w;if(N!=null&&N.source==null){if(D!=null&&t.duplex==null){throw new TypeError("RequestInit: duplex option is required when sending a body.")}if(s.mode!=="same-origin"&&s.mode!=="cors"){throw new TypeError('If request is made from ReadableStream, mode should be "same-origin" or "cors"')}s.useCORSPreflightFlag=true}let P=N;if(D==null&&w!=null){if(o(e)){throw new TypeError("Cannot construct a Request with a Request object that has already been used.")}const t=new TransformStream;w.stream.pipeThrough(t);P={source:w.source,length:w.length,stream:t.readable}}this[F].body=P}get method(){M.brandCheck(this,Request);return this[F].method}get url(){M.brandCheck(this,Request);return P(this[F].url)}get headers(){M.brandCheck(this,Request);return this[v]}get destination(){M.brandCheck(this,Request);return this[F].destination}get referrer(){M.brandCheck(this,Request);if(this[F].referrer==="no-referrer"){return""}if(this[F].referrer==="client"){return"about:client"}return this[F].referrer.toString()}get referrerPolicy(){M.brandCheck(this,Request);return this[F].referrerPolicy}get mode(){M.brandCheck(this,Request);return this[F].mode}get credentials(){return this[F].credentials}get cache(){M.brandCheck(this,Request);return this[F].cache}get redirect(){M.brandCheck(this,Request);return this[F].redirect}get integrity(){M.brandCheck(this,Request);return this[F].integrity}get keepalive(){M.brandCheck(this,Request);return this[F].keepalive}get isReloadNavigation(){M.brandCheck(this,Request);return this[F].reloadNavigation}get isHistoryNavigation(){M.brandCheck(this,Request);return this[F].historyNavigation}get signal(){M.brandCheck(this,Request);return this[k]}get body(){M.brandCheck(this,Request);return this[F].body?this[F].body.stream:null}get bodyUsed(){M.brandCheck(this,Request);return!!this[F].body&&h.isDisturbed(this[F].body.stream)}get duplex(){M.brandCheck(this,Request);return"half"}clone(){M.brandCheck(this,Request);if(o(this)){throw new TypeError("unusable")}const e=cloneRequest(this[F]);const t=new AbortController;if(this.signal.aborted){t.abort(this.signal.reason)}else{let e=Y.get(this.signal);if(e===undefined){e=new Set;Y.set(this.signal,e)}const r=new WeakRef(t);e.add(r);h.addAbortListener(t.signal,buildAbort(r))}return fromInnerRequest(e,t.signal,u(this[v]))}[m.inspect.custom](e,t){if(t.depth===null){t.depth=2}t.colors??=true;const r={method:this.method,url:this.url,headers:this.headers,destination:this.destination,referrer:this.referrer,referrerPolicy:this.referrerPolicy,mode:this.mode,credentials:this.credentials,cache:this.cache,redirect:this.redirect,integrity:this.integrity,keepalive:this.keepalive,isReloadNavigation:this.isReloadNavigation,isHistoryNavigation:this.isHistoryNavigation,signal:this.signal};return`Request ${m.formatWithOptions(t,r)}`}}s(Request);function makeRequest(e){return{method:e.method??"GET",localURLsOnly:e.localURLsOnly??false,unsafeRequest:e.unsafeRequest??false,body:e.body??null,client:e.client??null,reservedClient:e.reservedClient??null,replacesClientId:e.replacesClientId??"",window:e.window??"client",keepalive:e.keepalive??false,serviceWorkers:e.serviceWorkers??"all",initiator:e.initiator??"",destination:e.destination??"",priority:e.priority??null,origin:e.origin??"client",policyContainer:e.policyContainer??"client",referrer:e.referrer??"client",referrerPolicy:e.referrerPolicy??"",mode:e.mode??"no-cors",useCORSPreflightFlag:e.useCORSPreflightFlag??false,credentials:e.credentials??"same-origin",useCredentials:e.useCredentials??false,cache:e.cache??"default",redirect:e.redirect??"follow",integrity:e.integrity??"",cryptoGraphicsNonceMetadata:e.cryptoGraphicsNonceMetadata??"",parserMetadata:e.parserMetadata??"",reloadNavigation:e.reloadNavigation??false,historyNavigation:e.historyNavigation??false,userActivation:e.userActivation??false,taintedOrigin:e.taintedOrigin??false,redirectCount:e.redirectCount??0,responseTainting:e.responseTainting??"basic",preventNoCacheCacheControlHeaderModification:e.preventNoCacheCacheControlHeaderModification??false,done:e.done??false,timingAllowFailed:e.timingAllowFailed??false,urlList:e.urlList,url:e.urlList[0],headersList:e.headersList?new l(e.headersList):new l}}function cloneRequest(e){const t=makeRequest({...e,body:null});if(e.body!=null){t.body=i(t,e.body)}return t}function fromInnerRequest(e,t,r){const n=new Request(L);n[F]=e;n[k]=t;n[v]=new a(L);d(n[v],e.headersList);A(n[v],r);return n}Object.defineProperties(Request.prototype,{method:N,url:N,headers:N,redirect:N,clone:N,signal:N,duplex:N,destination:N,body:N,bodyUsed:N,isHistoryNavigation:N,isReloadNavigation:N,keepalive:N,integrity:N,cache:N,credentials:N,attribute:N,referrerPolicy:N,referrer:N,mode:N,[Symbol.toStringTag]:{value:"Request",configurable:true}});M.converters.Request=M.interfaceConverter(Request);M.converters.RequestInfo=function(e,t,r){if(typeof e==="string"){return M.converters.USVString(e,t,r)}if(e instanceof Request){return M.converters.Request(e,t,r)}return M.converters.USVString(e,t,r)};M.converters.AbortSignal=M.interfaceConverter(AbortSignal);M.converters.RequestInit=M.dictionaryConverter([{key:"method",converter:M.converters.ByteString},{key:"headers",converter:M.converters.HeadersInit},{key:"body",converter:M.nullableConverter(M.converters.BodyInit)},{key:"referrer",converter:M.converters.USVString},{key:"referrerPolicy",converter:M.converters.DOMString,allowedValues:B},{key:"mode",converter:M.converters.DOMString,allowedValues:b},{key:"credentials",converter:M.converters.DOMString,allowedValues:S},{key:"cache",converter:M.converters.DOMString,allowedValues:w},{key:"redirect",converter:M.converters.DOMString,allowedValues:Q},{key:"integrity",converter:M.converters.DOMString},{key:"keepalive",converter:M.converters.boolean},{key:"signal",converter:M.nullableConverter((e=>M.converters.AbortSignal(e,"RequestInit","signal",{strict:false})))},{key:"window",converter:M.converters.any},{key:"duplex",converter:M.converters.DOMString,allowedValues:D},{key:"dispatcher",converter:M.converters.any}]);e.exports={Request:Request,makeRequest:makeRequest,fromInnerRequest:fromInnerRequest,cloneRequest:cloneRequest}},9051:(e,t,r)=>{const{Headers:n,HeadersList:s,fill:i,getHeadersGuard:o,setHeadersGuard:a,setHeadersList:c}=r(660);const{extractBody:l,cloneBody:A,mixinBody:u,hasFinalizationRegistry:d,streamRegistry:g,bodyUnusable:p}=r(4492);const h=r(3440);const m=r(7975);const{kEnumerableProperty:f}=h;const{isValidReasonPhrase:C,isCancelled:y,isAborted:E,isBlobLike:I,serializeJavascriptValueToJSONString:B,isErrorLike:Q,isomorphicEncode:b,environmentSettingsObject:S}=r(3168);const{redirectStatusSet:w,nullBodyStatus:D}=r(4495);const{kState:N,kHeaders:x}=r(3627);const{webidl:R}=r(5893);const{FormData:v}=r(5910);const{URLSerializer:k}=r(1900);const{kConstruct:F}=r(6443);const T=r(4589);const{types:M}=r(7975);const P=new TextEncoder("utf-8");class Response{static error(){const e=fromInnerResponse(makeNetworkError(),"immutable");return e}static json(e,t={}){R.argumentLengthCheck(arguments,1,"Response.json");if(t!==null){t=R.converters.ResponseInit(t)}const r=P.encode(B(e));const n=l(r);const s=fromInnerResponse(makeResponse({}),"response");initializeResponse(s,t,{body:n[0],type:"application/json"});return s}static redirect(e,t=302){R.argumentLengthCheck(arguments,1,"Response.redirect");e=R.converters.USVString(e);t=R.converters["unsigned short"](t);let r;try{r=new URL(e,S.settingsObject.baseUrl)}catch(t){throw new TypeError(`Failed to parse URL from ${e}`,{cause:t})}if(!w.has(t)){throw new RangeError(`Invalid status code ${t}`)}const n=fromInnerResponse(makeResponse({}),"immutable");n[N].status=t;const s=b(k(r));n[N].headersList.append("location",s,true);return n}constructor(e=null,t={}){R.util.markAsUncloneable(this);if(e===F){return}if(e!==null){e=R.converters.BodyInit(e)}t=R.converters.ResponseInit(t);this[N]=makeResponse({});this[x]=new n(F);a(this[x],"response");c(this[x],this[N].headersList);let r=null;if(e!=null){const[t,n]=l(e);r={body:t,type:n}}initializeResponse(this,t,r)}get type(){R.brandCheck(this,Response);return this[N].type}get url(){R.brandCheck(this,Response);const e=this[N].urlList;const t=e[e.length-1]??null;if(t===null){return""}return k(t,true)}get redirected(){R.brandCheck(this,Response);return this[N].urlList.length>1}get status(){R.brandCheck(this,Response);return this[N].status}get ok(){R.brandCheck(this,Response);return this[N].status>=200&&this[N].status<=299}get statusText(){R.brandCheck(this,Response);return this[N].statusText}get headers(){R.brandCheck(this,Response);return this[x]}get body(){R.brandCheck(this,Response);return this[N].body?this[N].body.stream:null}get bodyUsed(){R.brandCheck(this,Response);return!!this[N].body&&h.isDisturbed(this[N].body.stream)}clone(){R.brandCheck(this,Response);if(p(this)){throw R.errors.exception({header:"Response.clone",message:"Body has already been consumed."})}const e=cloneResponse(this[N]);if(d&&this[N].body?.stream){g.register(this,new WeakRef(this[N].body.stream))}return fromInnerResponse(e,o(this[x]))}[m.inspect.custom](e,t){if(t.depth===null){t.depth=2}t.colors??=true;const r={status:this.status,statusText:this.statusText,headers:this.headers,body:this.body,bodyUsed:this.bodyUsed,ok:this.ok,redirected:this.redirected,type:this.type,url:this.url};return`Response ${m.formatWithOptions(t,r)}`}}u(Response);Object.defineProperties(Response.prototype,{type:f,url:f,status:f,ok:f,redirected:f,statusText:f,headers:f,clone:f,body:f,bodyUsed:f,[Symbol.toStringTag]:{value:"Response",configurable:true}});Object.defineProperties(Response,{json:f,redirect:f,error:f});function cloneResponse(e){if(e.internalResponse){return filterResponse(cloneResponse(e.internalResponse),e.type)}const t=makeResponse({...e,body:null});if(e.body!=null){t.body=A(t,e.body)}return t}function makeResponse(e){return{aborted:false,rangeRequested:false,timingAllowPassed:false,requestIncludesCredentials:false,type:"default",status:200,timingInfo:null,cacheState:"",statusText:"",...e,headersList:e?.headersList?new s(e?.headersList):new s,urlList:e?.urlList?[...e.urlList]:[]}}function makeNetworkError(e){const t=Q(e);return makeResponse({type:"error",status:0,error:t?e:new Error(e?String(e):e),aborted:e&&e.name==="AbortError"})}function isNetworkError(e){return e.type==="error"&&e.status===0}function makeFilteredResponse(e,t){t={internalResponse:e,...t};return new Proxy(e,{get(e,r){return r in t?t[r]:e[r]},set(e,r,n){T(!(r in t));e[r]=n;return true}})}function filterResponse(e,t){if(t==="basic"){return makeFilteredResponse(e,{type:"basic",headersList:e.headersList})}else if(t==="cors"){return makeFilteredResponse(e,{type:"cors",headersList:e.headersList})}else if(t==="opaque"){return makeFilteredResponse(e,{type:"opaque",urlList:Object.freeze([]),status:0,statusText:"",body:null})}else if(t==="opaqueredirect"){return makeFilteredResponse(e,{type:"opaqueredirect",status:0,statusText:"",headersList:[],body:null})}else{T(false)}}function makeAppropriateNetworkError(e,t=null){T(y(e));return E(e)?makeNetworkError(Object.assign(new DOMException("The operation was aborted.","AbortError"),{cause:t})):makeNetworkError(Object.assign(new DOMException("Request was cancelled."),{cause:t}))}function initializeResponse(e,t,r){if(t.status!==null&&(t.status<200||t.status>599)){throw new RangeError('init["status"] must be in the range of 200 to 599, inclusive.')}if("statusText"in t&&t.statusText!=null){if(!C(String(t.statusText))){throw new TypeError("Invalid statusText")}}if("status"in t&&t.status!=null){e[N].status=t.status}if("statusText"in t&&t.statusText!=null){e[N].statusText=t.statusText}if("headers"in t&&t.headers!=null){i(e[x],t.headers)}if(r){if(D.includes(e.status)){throw R.errors.exception({header:"Response constructor",message:`Invalid response status code ${e.status}`})}e[N].body=r.body;if(r.type!=null&&!e[N].headersList.contains("content-type",true)){e[N].headersList.append("content-type",r.type,true)}}}function fromInnerResponse(e,t){const r=new Response(F);r[N]=e;r[x]=new n(F);c(r[x],e.headersList);a(r[x],t);if(d&&e.body?.stream){g.register(r,new WeakRef(e.body.stream))}return r}R.converters.ReadableStream=R.interfaceConverter(ReadableStream);R.converters.FormData=R.interfaceConverter(v);R.converters.URLSearchParams=R.interfaceConverter(URLSearchParams);R.converters.XMLHttpRequestBodyInit=function(e,t,r){if(typeof e==="string"){return R.converters.USVString(e,t,r)}if(I(e)){return R.converters.Blob(e,t,r,{strict:false})}if(ArrayBuffer.isView(e)||M.isArrayBuffer(e)){return R.converters.BufferSource(e,t,r)}if(h.isFormDataLike(e)){return R.converters.FormData(e,t,r,{strict:false})}if(e instanceof URLSearchParams){return R.converters.URLSearchParams(e,t,r)}return R.converters.DOMString(e,t,r)};R.converters.BodyInit=function(e,t,r){if(e instanceof ReadableStream){return R.converters.ReadableStream(e,t,r)}if(e?.[Symbol.asyncIterator]){return e}return R.converters.XMLHttpRequestBodyInit(e,t,r)};R.converters.ResponseInit=R.dictionaryConverter([{key:"status",converter:R.converters["unsigned short"],defaultValue:()=>200},{key:"statusText",converter:R.converters.ByteString,defaultValue:()=>""},{key:"headers",converter:R.converters.HeadersInit}]);e.exports={isNetworkError:isNetworkError,makeNetworkError:makeNetworkError,makeResponse:makeResponse,makeAppropriateNetworkError:makeAppropriateNetworkError,filterResponse:filterResponse,Response:Response,cloneResponse:cloneResponse,fromInnerResponse:fromInnerResponse}},3627:e=>{e.exports={kUrl:Symbol("url"),kHeaders:Symbol("headers"),kSignal:Symbol("signal"),kState:Symbol("state"),kDispatcher:Symbol("dispatcher")}},3168:(e,t,r)=>{const{Transform:n}=r(7075);const s=r(8522);const{redirectStatusSet:i,referrerPolicySet:o,badPortsSet:a}=r(4495);const{getGlobalOrigin:c}=r(1059);const{collectASequenceOfCodePoints:l,collectAnHTTPQuotedString:A,removeChars:u,parseMIMEType:d}=r(1900);const{performance:g}=r(643);const{isBlobLike:p,ReadableStreamFrom:h,isValidHTTPToken:m,normalizedMethodRecordsBase:f}=r(3440);const C=r(4589);const{isUint8Array:y}=r(3429);const{webidl:E}=r(5893);let I=[];let B;try{B=r(7598);const e=["sha256","sha384","sha512"];I=B.getHashes().filter((t=>e.includes(t)))}catch{}function responseURL(e){const t=e.urlList;const r=t.length;return r===0?null:t[r-1].toString()}function responseLocationURL(e,t){if(!i.has(e.status)){return null}let r=e.headersList.get("location",true);if(r!==null&&isValidHeaderValue(r)){if(!isValidEncodedURL(r)){r=normalizeBinaryStringToUtf8(r)}r=new URL(r,responseURL(e))}if(r&&!r.hash){r.hash=t}return r}function isValidEncodedURL(e){for(let t=0;t<e.length;++t){const r=e.charCodeAt(t);if(r>126||r<32){return false}}return true}function normalizeBinaryStringToUtf8(e){return Buffer.from(e,"binary").toString("utf8")}function requestCurrentURL(e){return e.urlList[e.urlList.length-1]}function requestBadPort(e){const t=requestCurrentURL(e);if(urlIsHttpHttpsScheme(t)&&a.has(t.port)){return"blocked"}return"allowed"}function isErrorLike(e){return e instanceof Error||(e?.constructor?.name==="Error"||e?.constructor?.name==="DOMException")}function isValidReasonPhrase(e){for(let t=0;t<e.length;++t){const r=e.charCodeAt(t);if(!(r===9||r>=32&&r<=126||r>=128&&r<=255)){return false}}return true}const Q=m;function isValidHeaderValue(e){return(e[0]==="\t"||e[0]===" "||e[e.length-1]==="\t"||e[e.length-1]===" "||e.includes("\n")||e.includes("\r")||e.includes("\0"))===false}function setRequestReferrerPolicyOnRedirect(e,t){const{headersList:r}=t;const n=(r.get("referrer-policy",true)??"").split(",");let s="";if(n.length>0){for(let e=n.length;e!==0;e--){const t=n[e-1].trim();if(o.has(t)){s=t;break}}}if(s!==""){e.referrerPolicy=s}}function crossOriginResourcePolicyCheck(){return"allowed"}function corsCheck(){return"success"}function TAOCheck(){return"success"}function appendFetchMetadata(e){let t=null;t=e.mode;e.headersList.set("sec-fetch-mode",t,true)}function appendRequestOriginHeader(e){let t=e.origin;if(t==="client"||t===undefined){return}if(e.responseTainting==="cors"||e.mode==="websocket"){e.headersList.append("origin",t,true)}else if(e.method!=="GET"&&e.method!=="HEAD"){switch(e.referrerPolicy){case"no-referrer":t=null;break;case"no-referrer-when-downgrade":case"strict-origin":case"strict-origin-when-cross-origin":if(e.origin&&urlHasHttpsScheme(e.origin)&&!urlHasHttpsScheme(requestCurrentURL(e))){t=null}break;case"same-origin":if(!sameOrigin(e,requestCurrentURL(e))){t=null}break;default:}e.headersList.append("origin",t,true)}}function coarsenTime(e,t){return e}function clampAndCoarsenConnectionTimingInfo(e,t,r){if(!e?.startTime||e.startTime<t){return{domainLookupStartTime:t,domainLookupEndTime:t,connectionStartTime:t,connectionEndTime:t,secureConnectionStartTime:t,ALPNNegotiatedProtocol:e?.ALPNNegotiatedProtocol}}return{domainLookupStartTime:coarsenTime(e.domainLookupStartTime,r),domainLookupEndTime:coarsenTime(e.domainLookupEndTime,r),connectionStartTime:coarsenTime(e.connectionStartTime,r),connectionEndTime:coarsenTime(e.connectionEndTime,r),secureConnectionStartTime:coarsenTime(e.secureConnectionStartTime,r),ALPNNegotiatedProtocol:e.ALPNNegotiatedProtocol}}function coarsenedSharedCurrentTime(e){return coarsenTime(g.now(),e)}function createOpaqueTimingInfo(e){return{startTime:e.startTime??0,redirectStartTime:0,redirectEndTime:0,postRedirectStartTime:e.startTime??0,finalServiceWorkerStartTime:0,finalNetworkResponseStartTime:0,finalNetworkRequestStartTime:0,endTime:0,encodedBodySize:0,decodedBodySize:0,finalConnectionTimingInfo:null}}function makePolicyContainer(){return{referrerPolicy:"strict-origin-when-cross-origin"}}function clonePolicyContainer(e){return{referrerPolicy:e.referrerPolicy}}function determineRequestsReferrer(e){const t=e.referrerPolicy;C(t);let r=null;if(e.referrer==="client"){const e=c();if(!e||e.origin==="null"){return"no-referrer"}r=new URL(e)}else if(e.referrer instanceof URL){r=e.referrer}let n=stripURLForReferrer(r);const s=stripURLForReferrer(r,true);if(n.toString().length>4096){n=s}const i=sameOrigin(e,n);const o=isURLPotentiallyTrustworthy(n)&&!isURLPotentiallyTrustworthy(e.url);switch(t){case"origin":return s!=null?s:stripURLForReferrer(r,true);case"unsafe-url":return n;case"same-origin":return i?s:"no-referrer";case"origin-when-cross-origin":return i?n:s;case"strict-origin-when-cross-origin":{const t=requestCurrentURL(e);if(sameOrigin(n,t)){return n}if(isURLPotentiallyTrustworthy(n)&&!isURLPotentiallyTrustworthy(t)){return"no-referrer"}return s}case"strict-origin":case"no-referrer-when-downgrade":default:return o?"no-referrer":s}}function stripURLForReferrer(e,t){C(e instanceof URL);e=new URL(e);if(e.protocol==="file:"||e.protocol==="about:"||e.protocol==="blank:"){return"no-referrer"}e.username="";e.password="";e.hash="";if(t){e.pathname="";e.search=""}return e}function isURLPotentiallyTrustworthy(e){if(!(e instanceof URL)){return false}if(e.href==="about:blank"||e.href==="about:srcdoc"){return true}if(e.protocol==="data:")return true;if(e.protocol==="file:")return true;return isOriginPotentiallyTrustworthy(e.origin);function isOriginPotentiallyTrustworthy(e){if(e==null||e==="null")return false;const t=new URL(e);if(t.protocol==="https:"||t.protocol==="wss:"){return true}if(/^127(?:\.[0-9]+){0,2}\.[0-9]+$|^\[(?:0*:)*?:?0*1\]$/.test(t.hostname)||(t.hostname==="localhost"||t.hostname.includes("localhost."))||t.hostname.endsWith(".localhost")){return true}return false}}function bytesMatch(e,t){if(B===undefined){return true}const r=parseMetadata(t);if(r==="no metadata"){return true}if(r.length===0){return true}const n=getStrongestMetadata(r);const s=filterMetadataListByAlgorithm(r,n);for(const t of s){const r=t.algo;const n=t.hash;let s=B.createHash(r).update(e).digest("base64");if(s[s.length-1]==="="){if(s[s.length-2]==="="){s=s.slice(0,-2)}else{s=s.slice(0,-1)}}if(compareBase64Mixed(s,n)){return true}}return false}const b=/(?<algo>sha256|sha384|sha512)-((?<hash>[A-Za-z0-9+/]+|[A-Za-z0-9_-]+)={0,2}(?:\s|$)( +[!-~]*)?)?/i;function parseMetadata(e){const t=[];let r=true;for(const n of e.split(" ")){r=false;const e=b.exec(n);if(e===null||e.groups===undefined||e.groups.algo===undefined){continue}const s=e.groups.algo.toLowerCase();if(I.includes(s)){t.push(e.groups)}}if(r===true){return"no metadata"}return t}function getStrongestMetadata(e){let t=e[0].algo;if(t[3]==="5"){return t}for(let r=1;r<e.length;++r){const n=e[r];if(n.algo[3]==="5"){t="sha512";break}else if(t[3]==="3"){continue}else if(n.algo[3]==="3"){t="sha384"}}return t}function filterMetadataListByAlgorithm(e,t){if(e.length===1){return e}let r=0;for(let n=0;n<e.length;++n){if(e[n].algo===t){e[r++]=e[n]}}e.length=r;return e}function compareBase64Mixed(e,t){if(e.length!==t.length){return false}for(let r=0;r<e.length;++r){if(e[r]!==t[r]){if(e[r]==="+"&&t[r]==="-"||e[r]==="/"&&t[r]==="_"){continue}return false}}return true}function tryUpgradeRequestToAPotentiallyTrustworthyURL(e){}function sameOrigin(e,t){if(e.origin===t.origin&&e.origin==="null"){return true}if(e.protocol===t.protocol&&e.hostname===t.hostname&&e.port===t.port){return true}return false}function createDeferredPromise(){let e;let t;const r=new Promise(((r,n)=>{e=r;t=n}));return{promise:r,resolve:e,reject:t}}function isAborted(e){return e.controller.state==="aborted"}function isCancelled(e){return e.controller.state==="aborted"||e.controller.state==="terminated"}function normalizeMethod(e){return f[e.toLowerCase()]??e}function serializeJavascriptValueToJSONString(e){const t=JSON.stringify(e);if(t===undefined){throw new TypeError("Value is not JSON serializable")}C(typeof t==="string");return t}const S=Object.getPrototypeOf(Object.getPrototypeOf([][Symbol.iterator]()));function createIterator(e,t,r=0,n=1){class FastIterableIterator{#Y;#V;#J;constructor(e,t){this.#Y=e;this.#V=t;this.#J=0}next(){if(typeof this!=="object"||this===null||!(#Y in this)){throw new TypeError(`'next' called on an object that does not implement interface ${e} Iterator.`)}const s=this.#J;const i=this.#Y[t];const o=i.length;if(s>=o){return{value:undefined,done:true}}const{[r]:a,[n]:c}=i[s];this.#J=s+1;let l;switch(this.#V){case"key":l=a;break;case"value":l=c;break;case"key+value":l=[a,c];break}return{value:l,done:false}}}delete FastIterableIterator.prototype.constructor;Object.setPrototypeOf(FastIterableIterator.prototype,S);Object.defineProperties(FastIterableIterator.prototype,{[Symbol.toStringTag]:{writable:false,enumerable:false,configurable:true,value:`${e} Iterator`},next:{writable:true,enumerable:true,configurable:true}});return function(e,t){return new FastIterableIterator(e,t)}}function iteratorMixin(e,t,r,n=0,s=1){const i=createIterator(e,r,n,s);const o={keys:{writable:true,enumerable:true,configurable:true,value:function keys(){E.brandCheck(this,t);return i(this,"key")}},values:{writable:true,enumerable:true,configurable:true,value:function values(){E.brandCheck(this,t);return i(this,"value")}},entries:{writable:true,enumerable:true,configurable:true,value:function entries(){E.brandCheck(this,t);return i(this,"key+value")}},forEach:{writable:true,enumerable:true,configurable:true,value:function forEach(r,n=globalThis){E.brandCheck(this,t);E.argumentLengthCheck(arguments,1,`${e}.forEach`);if(typeof r!=="function"){throw new TypeError(`Failed to execute 'forEach' on '${e}': parameter 1 is not of type 'Function'.`)}for(const{0:e,1:t}of i(this,"key+value")){r.call(n,t,e,this)}}}};return Object.defineProperties(t.prototype,{...o,[Symbol.iterator]:{writable:true,enumerable:false,configurable:true,value:o.entries.value}})}async function fullyReadBody(e,t,r){const n=t;const s=r;let i;try{i=e.stream.getReader()}catch(e){s(e);return}try{n(await readAllBytes(i))}catch(e){s(e)}}function isReadableStreamLike(e){return e instanceof ReadableStream||e[Symbol.toStringTag]==="ReadableStream"&&typeof e.tee==="function"}function readableStreamClose(e){try{e.close();e.byobRequest?.respond(0)}catch(e){if(!e.message.includes("Controller is already closed")&&!e.message.includes("ReadableStream is already closed")){throw e}}}const w=/[^\x00-\xFF]/;function isomorphicEncode(e){C(!w.test(e));return e}async function readAllBytes(e){const t=[];let r=0;while(true){const{done:n,value:s}=await e.read();if(n){return Buffer.concat(t,r)}if(!y(s)){throw new TypeError("Received non-Uint8Array chunk")}t.push(s);r+=s.length}}function urlIsLocal(e){C("protocol"in e);const t=e.protocol;return t==="about:"||t==="blob:"||t==="data:"}function urlHasHttpsScheme(e){return typeof e==="string"&&e[5]===":"&&e[0]==="h"&&e[1]==="t"&&e[2]==="t"&&e[3]==="p"&&e[4]==="s"||e.protocol==="https:"}function urlIsHttpHttpsScheme(e){C("protocol"in e);const t=e.protocol;return t==="http:"||t==="https:"}function simpleRangeHeaderValue(e,t){const r=e;if(!r.startsWith("bytes")){return"failure"}const n={position:5};if(t){l((e=>e==="\t"||e===" "),r,n)}if(r.charCodeAt(n.position)!==61){return"failure"}n.position++;if(t){l((e=>e==="\t"||e===" "),r,n)}const s=l((e=>{const t=e.charCodeAt(0);return t>=48&&t<=57}),r,n);const i=s.length?Number(s):null;if(t){l((e=>e==="\t"||e===" "),r,n)}if(r.charCodeAt(n.position)!==45){return"failure"}n.position++;if(t){l((e=>e==="\t"||e===" "),r,n)}const o=l((e=>{const t=e.charCodeAt(0);return t>=48&&t<=57}),r,n);const a=o.length?Number(o):null;if(n.position<r.length){return"failure"}if(a===null&&i===null){return"failure"}if(i>a){return"failure"}return{rangeStartValue:i,rangeEndValue:a}}function buildContentRange(e,t,r){let n="bytes ";n+=isomorphicEncode(`${e}`);n+="-";n+=isomorphicEncode(`${t}`);n+="/";n+=isomorphicEncode(`${r}`);return n}class InflateStream extends n{#W;constructor(e){super();this.#W=e}_transform(e,t,r){if(!this._inflateStream){if(e.length===0){r();return}this._inflateStream=(e[0]&15)===8?s.createInflate(this.#W):s.createInflateRaw(this.#W);this._inflateStream.on("data",this.push.bind(this));this._inflateStream.on("end",(()=>this.push(null)));this._inflateStream.on("error",(e=>this.destroy(e)))}this._inflateStream.write(e,t,r)}_final(e){if(this._inflateStream){this._inflateStream.end();this._inflateStream=null}e()}}function createInflate(e){return new InflateStream(e)}function extractMimeType(e){let t=null;let r=null;let n=null;const s=getDecodeSplit("content-type",e);if(s===null){return"failure"}for(const e of s){const s=d(e);if(s==="failure"||s.essence==="*/*"){continue}n=s;if(n.essence!==r){t=null;if(n.parameters.has("charset")){t=n.parameters.get("charset")}r=n.essence}else if(!n.parameters.has("charset")&&t!==null){n.parameters.set("charset",t)}}if(n==null){return"failure"}return n}function gettingDecodingSplitting(e){const t=e;const r={position:0};const n=[];let s="";while(r.position<t.length){s+=l((e=>e!=='"'&&e!==","),t,r);if(r.position<t.length){if(t.charCodeAt(r.position)===34){s+=A(t,r);if(r.position<t.length){continue}}else{C(t.charCodeAt(r.position)===44);r.position++}}s=u(s,true,true,(e=>e===9||e===32));n.push(s);s=""}return n}function getDecodeSplit(e,t){const r=t.get(e,true);if(r===null){return null}return gettingDecodingSplitting(r)}const D=new TextDecoder;function utf8DecodeBytes(e){if(e.length===0){return""}if(e[0]===239&&e[1]===187&&e[2]===191){e=e.subarray(3)}const t=D.decode(e);return t}class EnvironmentSettingsObjectBase{get baseUrl(){return c()}get origin(){return this.baseUrl?.origin}policyContainer=makePolicyContainer()}class EnvironmentSettingsObject{settingsObject=new EnvironmentSettingsObjectBase}const N=new EnvironmentSettingsObject;e.exports={isAborted:isAborted,isCancelled:isCancelled,isValidEncodedURL:isValidEncodedURL,createDeferredPromise:createDeferredPromise,ReadableStreamFrom:h,tryUpgradeRequestToAPotentiallyTrustworthyURL:tryUpgradeRequestToAPotentiallyTrustworthyURL,clampAndCoarsenConnectionTimingInfo:clampAndCoarsenConnectionTimingInfo,coarsenedSharedCurrentTime:coarsenedSharedCurrentTime,determineRequestsReferrer:determineRequestsReferrer,makePolicyContainer:makePolicyContainer,clonePolicyContainer:clonePolicyContainer,appendFetchMetadata:appendFetchMetadata,appendRequestOriginHeader:appendRequestOriginHeader,TAOCheck:TAOCheck,corsCheck:corsCheck,crossOriginResourcePolicyCheck:crossOriginResourcePolicyCheck,createOpaqueTimingInfo:createOpaqueTimingInfo,setRequestReferrerPolicyOnRedirect:setRequestReferrerPolicyOnRedirect,isValidHTTPToken:m,requestBadPort:requestBadPort,requestCurrentURL:requestCurrentURL,responseURL:responseURL,responseLocationURL:responseLocationURL,isBlobLike:p,isURLPotentiallyTrustworthy:isURLPotentiallyTrustworthy,isValidReasonPhrase:isValidReasonPhrase,sameOrigin:sameOrigin,normalizeMethod:normalizeMethod,serializeJavascriptValueToJSONString:serializeJavascriptValueToJSONString,iteratorMixin:iteratorMixin,createIterator:createIterator,isValidHeaderName:Q,isValidHeaderValue:isValidHeaderValue,isErrorLike:isErrorLike,fullyReadBody:fullyReadBody,bytesMatch:bytesMatch,isReadableStreamLike:isReadableStreamLike,readableStreamClose:readableStreamClose,isomorphicEncode:isomorphicEncode,urlIsLocal:urlIsLocal,urlHasHttpsScheme:urlHasHttpsScheme,urlIsHttpHttpsScheme:urlIsHttpHttpsScheme,readAllBytes:readAllBytes,simpleRangeHeaderValue:simpleRangeHeaderValue,buildContentRange:buildContentRange,parseMetadata:parseMetadata,createInflate:createInflate,extractMimeType:extractMimeType,getDecodeSplit:getDecodeSplit,utf8DecodeBytes:utf8DecodeBytes,environmentSettingsObject:N}},5893:(e,t,r)=>{const{types:n,inspect:s}=r(7975);const{markAsUncloneable:i}=r(5919);const{toUSVString:o}=r(3440);const a={};a.converters={};a.util={};a.errors={};a.errors.exception=function(e){return new TypeError(`${e.header}: ${e.message}`)};a.errors.conversionFailed=function(e){const t=e.types.length===1?"":" one of";const r=`${e.argument} could not be converted to`+`${t}: ${e.types.join(", ")}.`;return a.errors.exception({header:e.prefix,message:r})};a.errors.invalidArgument=function(e){return a.errors.exception({header:e.prefix,message:`"${e.value}" is an invalid ${e.type}.`})};a.brandCheck=function(e,t,r){if(r?.strict!==false){if(!(e instanceof t)){const e=new TypeError("Illegal invocation");e.code="ERR_INVALID_THIS";throw e}}else{if(e?.[Symbol.toStringTag]!==t.prototype[Symbol.toStringTag]){const e=new TypeError("Illegal invocation");e.code="ERR_INVALID_THIS";throw e}}};a.argumentLengthCheck=function({length:e},t,r){if(e<t){throw a.errors.exception({message:`${t} argument${t!==1?"s":""} required, `+`but${e?" only":""} ${e} found.`,header:r})}};a.illegalConstructor=function(){throw a.errors.exception({header:"TypeError",message:"Illegal constructor"})};a.util.Type=function(e){switch(typeof e){case"undefined":return"Undefined";case"boolean":return"Boolean";case"string":return"String";case"symbol":return"Symbol";case"number":return"Number";case"bigint":return"BigInt";case"function":case"object":{if(e===null){return"Null"}return"Object"}}};a.util.markAsUncloneable=i||(()=>{});a.util.ConvertToInt=function(e,t,r,n){let s;let i;if(t===64){s=Math.pow(2,53)-1;if(r==="unsigned"){i=0}else{i=Math.pow(-2,53)+1}}else if(r==="unsigned"){i=0;s=Math.pow(2,t)-1}else{i=Math.pow(-2,t)-1;s=Math.pow(2,t-1)-1}let o=Number(e);if(o===0){o=0}if(n?.enforceRange===true){if(Number.isNaN(o)||o===Number.POSITIVE_INFINITY||o===Number.NEGATIVE_INFINITY){throw a.errors.exception({header:"Integer conversion",message:`Could not convert ${a.util.Stringify(e)} to an integer.`})}o=a.util.IntegerPart(o);if(o<i||o>s){throw a.errors.exception({header:"Integer conversion",message:`Value must be between ${i}-${s}, got ${o}.`})}return o}if(!Number.isNaN(o)&&n?.clamp===true){o=Math.min(Math.max(o,i),s);if(Math.floor(o)%2===0){o=Math.floor(o)}else{o=Math.ceil(o)}return o}if(Number.isNaN(o)||o===0&&Object.is(0,o)||o===Number.POSITIVE_INFINITY||o===Number.NEGATIVE_INFINITY){return 0}o=a.util.IntegerPart(o);o=o%Math.pow(2,t);if(r==="signed"&&o>=Math.pow(2,t)-1){return o-Math.pow(2,t)}return o};a.util.IntegerPart=function(e){const t=Math.floor(Math.abs(e));if(e<0){return-1*t}return t};a.util.Stringify=function(e){const t=a.util.Type(e);switch(t){case"Symbol":return`Symbol(${e.description})`;case"Object":return s(e);case"String":return`"${e}"`;default:return`${e}`}};a.sequenceConverter=function(e){return(t,r,n,s)=>{if(a.util.Type(t)!=="Object"){throw a.errors.exception({header:r,message:`${n} (${a.util.Stringify(t)}) is not iterable.`})}const i=typeof s==="function"?s():t?.[Symbol.iterator]?.();const o=[];let c=0;if(i===undefined||typeof i.next!=="function"){throw a.errors.exception({header:r,message:`${n} is not iterable.`})}while(true){const{done:t,value:s}=i.next();if(t){break}o.push(e(s,r,`${n}[${c++}]`))}return o}};a.recordConverter=function(e,t){return(r,s,i)=>{if(a.util.Type(r)!=="Object"){throw a.errors.exception({header:s,message:`${i} ("${a.util.Type(r)}") is not an Object.`})}const o={};if(!n.isProxy(r)){const n=[...Object.getOwnPropertyNames(r),...Object.getOwnPropertySymbols(r)];for(const a of n){const n=e(a,s,i);const c=t(r[a],s,i);o[n]=c}return o}const c=Reflect.ownKeys(r);for(const n of c){const a=Reflect.getOwnPropertyDescriptor(r,n);if(a?.enumerable){const a=e(n,s,i);const c=t(r[n],s,i);o[a]=c}}return o}};a.interfaceConverter=function(e){return(t,r,n,s)=>{if(s?.strict!==false&&!(t instanceof e)){throw a.errors.exception({header:r,message:`Expected ${n} ("${a.util.Stringify(t)}") to be an instance of ${e.name}.`})}return t}};a.dictionaryConverter=function(e){return(t,r,n)=>{const s=a.util.Type(t);const i={};if(s==="Null"||s==="Undefined"){return i}else if(s!=="Object"){throw a.errors.exception({header:r,message:`Expected ${t} to be one of: Null, Undefined, Object.`})}for(const s of e){const{key:e,defaultValue:o,required:c,converter:l}=s;if(c===true){if(!Object.hasOwn(t,e)){throw a.errors.exception({header:r,message:`Missing required key "${e}".`})}}let A=t[e];const u=Object.hasOwn(s,"defaultValue");if(u&&A!==null){A??=o()}if(c||u||A!==undefined){A=l(A,r,`${n}.${e}`);if(s.allowedValues&&!s.allowedValues.includes(A)){throw a.errors.exception({header:r,message:`${A} is not an accepted type. Expected one of ${s.allowedValues.join(", ")}.`})}i[e]=A}}return i}};a.nullableConverter=function(e){return(t,r,n)=>{if(t===null){return t}return e(t,r,n)}};a.converters.DOMString=function(e,t,r,n){if(e===null&&n?.legacyNullToEmptyString){return""}if(typeof e==="symbol"){throw a.errors.exception({header:t,message:`${r} is a symbol, which cannot be converted to a DOMString.`})}return String(e)};a.converters.ByteString=function(e,t,r){const n=a.converters.DOMString(e,t,r);for(let e=0;e<n.length;e++){if(n.charCodeAt(e)>255){throw new TypeError("Cannot convert argument to a ByteString because the character at "+`index ${e} has a value of ${n.charCodeAt(e)} which is greater than 255.`)}}return n};a.converters.USVString=o;a.converters.boolean=function(e){const t=Boolean(e);return t};a.converters.any=function(e){return e};a.converters["long long"]=function(e,t,r){const n=a.util.ConvertToInt(e,64,"signed",undefined,t,r);return n};a.converters["unsigned long long"]=function(e,t,r){const n=a.util.ConvertToInt(e,64,"unsigned",undefined,t,r);return n};a.converters["unsigned long"]=function(e,t,r){const n=a.util.ConvertToInt(e,32,"unsigned",undefined,t,r);return n};a.converters["unsigned short"]=function(e,t,r,n){const s=a.util.ConvertToInt(e,16,"unsigned",n,t,r);return s};a.converters.ArrayBuffer=function(e,t,r,s){if(a.util.Type(e)!=="Object"||!n.isAnyArrayBuffer(e)){throw a.errors.conversionFailed({prefix:t,argument:`${r} ("${a.util.Stringify(e)}")`,types:["ArrayBuffer"]})}if(s?.allowShared===false&&n.isSharedArrayBuffer(e)){throw a.errors.exception({header:"ArrayBuffer",message:"SharedArrayBuffer is not allowed."})}if(e.resizable||e.growable){throw a.errors.exception({header:"ArrayBuffer",message:"Received a resizable ArrayBuffer."})}return e};a.converters.TypedArray=function(e,t,r,s,i){if(a.util.Type(e)!=="Object"||!n.isTypedArray(e)||e.constructor.name!==t.name){throw a.errors.conversionFailed({prefix:r,argument:`${s} ("${a.util.Stringify(e)}")`,types:[t.name]})}if(i?.allowShared===false&&n.isSharedArrayBuffer(e.buffer)){throw a.errors.exception({header:"ArrayBuffer",message:"SharedArrayBuffer is not allowed."})}if(e.buffer.resizable||e.buffer.growable){throw a.errors.exception({header:"ArrayBuffer",message:"Received a resizable ArrayBuffer."})}return e};a.converters.DataView=function(e,t,r,s){if(a.util.Type(e)!=="Object"||!n.isDataView(e)){throw a.errors.exception({header:t,message:`${r} is not a DataView.`})}if(s?.allowShared===false&&n.isSharedArrayBuffer(e.buffer)){throw a.errors.exception({header:"ArrayBuffer",message:"SharedArrayBuffer is not allowed."})}if(e.buffer.resizable||e.buffer.growable){throw a.errors.exception({header:"ArrayBuffer",message:"Received a resizable ArrayBuffer."})}return e};a.converters.BufferSource=function(e,t,r,s){if(n.isAnyArrayBuffer(e)){return a.converters.ArrayBuffer(e,t,r,{...s,allowShared:false})}if(n.isTypedArray(e)){return a.converters.TypedArray(e,e.constructor,t,r,{...s,allowShared:false})}if(n.isDataView(e)){return a.converters.DataView(e,t,r,{...s,allowShared:false})}throw a.errors.conversionFailed({prefix:t,argument:`${r} ("${a.util.Stringify(e)}")`,types:["BufferSource"]})};a.converters["sequence<ByteString>"]=a.sequenceConverter(a.converters.ByteString);a.converters["sequence<sequence<ByteString>>"]=a.sequenceConverter(a.converters["sequence<ByteString>"]);a.converters["record<ByteString, ByteString>"]=a.recordConverter(a.converters.ByteString,a.converters.ByteString);e.exports={webidl:a}},2607:e=>{function getEncoding(e){if(!e){return"failure"}switch(e.trim().toLowerCase()){case"unicode-1-1-utf-8":case"unicode11utf8":case"unicode20utf8":case"utf-8":case"utf8":case"x-unicode20utf8":return"UTF-8";case"866":case"cp866":case"csibm866":case"ibm866":return"IBM866";case"csisolatin2":case"iso-8859-2":case"iso-ir-101":case"iso8859-2":case"iso88592":case"iso_8859-2":case"iso_8859-2:1987":case"l2":case"latin2":return"ISO-8859-2";case"csisolatin3":case"iso-8859-3":case"iso-ir-109":case"iso8859-3":case"iso88593":case"iso_8859-3":case"iso_8859-3:1988":case"l3":case"latin3":return"ISO-8859-3";case"csisolatin4":case"iso-8859-4":case"iso-ir-110":case"iso8859-4":case"iso88594":case"iso_8859-4":case"iso_8859-4:1988":case"l4":case"latin4":return"ISO-8859-4";case"csisolatincyrillic":case"cyrillic":case"iso-8859-5":case"iso-ir-144":case"iso8859-5":case"iso88595":case"iso_8859-5":case"iso_8859-5:1988":return"ISO-8859-5";case"arabic":case"asmo-708":case"csiso88596e":case"csiso88596i":case"csisolatinarabic":case"ecma-114":case"iso-8859-6":case"iso-8859-6-e":case"iso-8859-6-i":case"iso-ir-127":case"iso8859-6":case"iso88596":case"iso_8859-6":case"iso_8859-6:1987":return"ISO-8859-6";case"csisolatingreek":case"ecma-118":case"elot_928":case"greek":case"greek8":case"iso-8859-7":case"iso-ir-126":case"iso8859-7":case"iso88597":case"iso_8859-7":case"iso_8859-7:1987":case"sun_eu_greek":return"ISO-8859-7";case"csiso88598e":case"csisolatinhebrew":case"hebrew":case"iso-8859-8":case"iso-8859-8-e":case"iso-ir-138":case"iso8859-8":case"iso88598":case"iso_8859-8":case"iso_8859-8:1988":case"visual":return"ISO-8859-8";case"csiso88598i":case"iso-8859-8-i":case"logical":return"ISO-8859-8-I";case"csisolatin6":case"iso-8859-10":case"iso-ir-157":case"iso8859-10":case"iso885910":case"l6":case"latin6":return"ISO-8859-10";case"iso-8859-13":case"iso8859-13":case"iso885913":return"ISO-8859-13";case"iso-8859-14":case"iso8859-14":case"iso885914":return"ISO-8859-14";case"csisolatin9":case"iso-8859-15":case"iso8859-15":case"iso885915":case"iso_8859-15":case"l9":return"ISO-8859-15";case"iso-8859-16":return"ISO-8859-16";case"cskoi8r":case"koi":case"koi8":case"koi8-r":case"koi8_r":return"KOI8-R";case"koi8-ru":case"koi8-u":return"KOI8-U";case"csmacintosh":case"mac":case"macintosh":case"x-mac-roman":return"macintosh";case"iso-8859-11":case"iso8859-11":case"iso885911":case"tis-620":case"windows-874":return"windows-874";case"cp1250":case"windows-1250":case"x-cp1250":return"windows-1250";case"cp1251":case"windows-1251":case"x-cp1251":return"windows-1251";case"ansi_x3.4-1968":case"ascii":case"cp1252":case"cp819":case"csisolatin1":case"ibm819":case"iso-8859-1":case"iso-ir-100":case"iso8859-1":case"iso88591":case"iso_8859-1":case"iso_8859-1:1987":case"l1":case"latin1":case"us-ascii":case"windows-1252":case"x-cp1252":return"windows-1252";case"cp1253":case"windows-1253":case"x-cp1253":return"windows-1253";case"cp1254":case"csisolatin5":case"iso-8859-9":case"iso-ir-148":case"iso8859-9":case"iso88599":case"iso_8859-9":case"iso_8859-9:1989":case"l5":case"latin5":case"windows-1254":case"x-cp1254":return"windows-1254";case"cp1255":case"windows-1255":case"x-cp1255":return"windows-1255";case"cp1256":case"windows-1256":case"x-cp1256":return"windows-1256";case"cp1257":case"windows-1257":case"x-cp1257":return"windows-1257";case"cp1258":case"windows-1258":case"x-cp1258":return"windows-1258";case"x-mac-cyrillic":case"x-mac-ukrainian":return"x-mac-cyrillic";case"chinese":case"csgb2312":case"csiso58gb231280":case"gb2312":case"gb_2312":case"gb_2312-80":case"gbk":case"iso-ir-58":case"x-gbk":return"GBK";case"gb18030":return"gb18030";case"big5":case"big5-hkscs":case"cn-big5":case"csbig5":case"x-x-big5":return"Big5";case"cseucpkdfmtjapanese":case"euc-jp":case"x-euc-jp":return"EUC-JP";case"csiso2022jp":case"iso-2022-jp":return"ISO-2022-JP";case"csshiftjis":case"ms932":case"ms_kanji":case"shift-jis":case"shift_jis":case"sjis":case"windows-31j":case"x-sjis":return"Shift_JIS";case"cseuckr":case"csksc56011987":case"euc-kr":case"iso-ir-149":case"korean":case"ks_c_5601-1987":case"ks_c_5601-1989":case"ksc5601":case"ksc_5601":case"windows-949":return"EUC-KR";case"csiso2022kr":case"hz-gb-2312":case"iso-2022-cn":case"iso-2022-cn-ext":case"iso-2022-kr":case"replacement":return"replacement";case"unicodefffe":case"utf-16be":return"UTF-16BE";case"csunicode":case"iso-10646-ucs-2":case"ucs-2":case"unicode":case"unicodefeff":case"utf-16":case"utf-16le":return"UTF-16LE";case"x-user-defined":return"x-user-defined";default:return"failure"}}e.exports={getEncoding:getEncoding}},8355:(e,t,r)=>{const{staticPropertyDescriptors:n,readOperation:s,fireAProgressEvent:i}=r(3610);const{kState:o,kError:a,kResult:c,kEvents:l,kAborted:A}=r(961);const{webidl:u}=r(5893);const{kEnumerableProperty:d}=r(3440);class FileReader extends EventTarget{constructor(){super();this[o]="empty";this[c]=null;this[a]=null;this[l]={loadend:null,error:null,abort:null,load:null,progress:null,loadstart:null}}readAsArrayBuffer(e){u.brandCheck(this,FileReader);u.argumentLengthCheck(arguments,1,"FileReader.readAsArrayBuffer");e=u.converters.Blob(e,{strict:false});s(this,e,"ArrayBuffer")}readAsBinaryString(e){u.brandCheck(this,FileReader);u.argumentLengthCheck(arguments,1,"FileReader.readAsBinaryString");e=u.converters.Blob(e,{strict:false});s(this,e,"BinaryString")}readAsText(e,t=undefined){u.brandCheck(this,FileReader);u.argumentLengthCheck(arguments,1,"FileReader.readAsText");e=u.converters.Blob(e,{strict:false});if(t!==undefined){t=u.converters.DOMString(t,"FileReader.readAsText","encoding")}s(this,e,"Text",t)}readAsDataURL(e){u.brandCheck(this,FileReader);u.argumentLengthCheck(arguments,1,"FileReader.readAsDataURL");e=u.converters.Blob(e,{strict:false});s(this,e,"DataURL")}abort(){if(this[o]==="empty"||this[o]==="done"){this[c]=null;return}if(this[o]==="loading"){this[o]="done";this[c]=null}this[A]=true;i("abort",this);if(this[o]!=="loading"){i("loadend",this)}}get readyState(){u.brandCheck(this,FileReader);switch(this[o]){case"empty":return this.EMPTY;case"loading":return this.LOADING;case"done":return this.DONE}}get result(){u.brandCheck(this,FileReader);return this[c]}get error(){u.brandCheck(this,FileReader);return this[a]}get onloadend(){u.brandCheck(this,FileReader);return this[l].loadend}set onloadend(e){u.brandCheck(this,FileReader);if(this[l].loadend){this.removeEventListener("loadend",this[l].loadend)}if(typeof e==="function"){this[l].loadend=e;this.addEventListener("loadend",e)}else{this[l].loadend=null}}get onerror(){u.brandCheck(this,FileReader);return this[l].error}set onerror(e){u.brandCheck(this,FileReader);if(this[l].error){this.removeEventListener("error",this[l].error)}if(typeof e==="function"){this[l].error=e;this.addEventListener("error",e)}else{this[l].error=null}}get onloadstart(){u.brandCheck(this,FileReader);return this[l].loadstart}set onloadstart(e){u.brandCheck(this,FileReader);if(this[l].loadstart){this.removeEventListener("loadstart",this[l].loadstart)}if(typeof e==="function"){this[l].loadstart=e;this.addEventListener("loadstart",e)}else{this[l].loadstart=null}}get onprogress(){u.brandCheck(this,FileReader);return this[l].progress}set onprogress(e){u.brandCheck(this,FileReader);if(this[l].progress){this.removeEventListener("progress",this[l].progress)}if(typeof e==="function"){this[l].progress=e;this.addEventListener("progress",e)}else{this[l].progress=null}}get onload(){u.brandCheck(this,FileReader);return this[l].load}set onload(e){u.brandCheck(this,FileReader);if(this[l].load){this.removeEventListener("load",this[l].load)}if(typeof e==="function"){this[l].load=e;this.addEventListener("load",e)}else{this[l].load=null}}get onabort(){u.brandCheck(this,FileReader);return this[l].abort}set onabort(e){u.brandCheck(this,FileReader);if(this[l].abort){this.removeEventListener("abort",this[l].abort)}if(typeof e==="function"){this[l].abort=e;this.addEventListener("abort",e)}else{this[l].abort=null}}}FileReader.EMPTY=FileReader.prototype.EMPTY=0;FileReader.LOADING=FileReader.prototype.LOADING=1;FileReader.DONE=FileReader.prototype.DONE=2;Object.defineProperties(FileReader.prototype,{EMPTY:n,LOADING:n,DONE:n,readAsArrayBuffer:d,readAsBinaryString:d,readAsText:d,readAsDataURL:d,abort:d,readyState:d,result:d,error:d,onloadstart:d,onprogress:d,onload:d,onabort:d,onerror:d,onloadend:d,[Symbol.toStringTag]:{value:"FileReader",writable:false,enumerable:false,configurable:true}});Object.defineProperties(FileReader,{EMPTY:n,LOADING:n,DONE:n});e.exports={FileReader:FileReader}},8573:(e,t,r)=>{const{webidl:n}=r(5893);const s=Symbol("ProgressEvent state");class ProgressEvent extends Event{constructor(e,t={}){e=n.converters.DOMString(e,"ProgressEvent constructor","type");t=n.converters.ProgressEventInit(t??{});super(e,t);this[s]={lengthComputable:t.lengthComputable,loaded:t.loaded,total:t.total}}get lengthComputable(){n.brandCheck(this,ProgressEvent);return this[s].lengthComputable}get loaded(){n.brandCheck(this,ProgressEvent);return this[s].loaded}get total(){n.brandCheck(this,ProgressEvent);return this[s].total}}n.converters.ProgressEventInit=n.dictionaryConverter([{key:"lengthComputable",converter:n.converters.boolean,defaultValue:()=>false},{key:"loaded",converter:n.converters["unsigned long long"],defaultValue:()=>0},{key:"total",converter:n.converters["unsigned long long"],defaultValue:()=>0},{key:"bubbles",converter:n.converters.boolean,defaultValue:()=>false},{key:"cancelable",converter:n.converters.boolean,defaultValue:()=>false},{key:"composed",converter:n.converters.boolean,defaultValue:()=>false}]);e.exports={ProgressEvent:ProgressEvent}},961:e=>{e.exports={kState:Symbol("FileReader state"),kResult:Symbol("FileReader result"),kError:Symbol("FileReader error"),kLastProgressEventFired:Symbol("FileReader last progress event fired timestamp"),kEvents:Symbol("FileReader events"),kAborted:Symbol("FileReader aborted")}},3610:(e,t,r)=>{const{kState:n,kError:s,kResult:i,kAborted:o,kLastProgressEventFired:a}=r(961);const{ProgressEvent:c}=r(8573);const{getEncoding:l}=r(2607);const{serializeAMimeType:A,parseMIMEType:u}=r(1900);const{types:d}=r(7975);const{StringDecoder:g}=r(3193);const{btoa:p}=r(4573);const h={enumerable:true,writable:false,configurable:false};function readOperation(e,t,r,c){if(e[n]==="loading"){throw new DOMException("Invalid state","InvalidStateError")}e[n]="loading";e[i]=null;e[s]=null;const l=t.stream();const A=l.getReader();const u=[];let g=A.read();let p=true;(async()=>{while(!e[o]){try{const{done:l,value:h}=await g;if(p&&!e[o]){queueMicrotask((()=>{fireAProgressEvent("loadstart",e)}))}p=false;if(!l&&d.isUint8Array(h)){u.push(h);if((e[a]===undefined||Date.now()-e[a]>=50)&&!e[o]){e[a]=Date.now();queueMicrotask((()=>{fireAProgressEvent("progress",e)}))}g=A.read()}else if(l){queueMicrotask((()=>{e[n]="done";try{const n=packageData(u,r,t.type,c);if(e[o]){return}e[i]=n;fireAProgressEvent("load",e)}catch(t){e[s]=t;fireAProgressEvent("error",e)}if(e[n]!=="loading"){fireAProgressEvent("loadend",e)}}));break}}catch(t){if(e[o]){return}queueMicrotask((()=>{e[n]="done";e[s]=t;fireAProgressEvent("error",e);if(e[n]!=="loading"){fireAProgressEvent("loadend",e)}}));break}}})()}function fireAProgressEvent(e,t){const r=new c(e,{bubbles:false,cancelable:false});t.dispatchEvent(r)}function packageData(e,t,r,n){switch(t){case"DataURL":{let t="data:";const n=u(r||"application/octet-stream");if(n!=="failure"){t+=A(n)}t+=";base64,";const s=new g("latin1");for(const r of e){t+=p(s.write(r))}t+=p(s.end());return t}case"Text":{let t="failure";if(n){t=l(n)}if(t==="failure"&&r){const e=u(r);if(e!=="failure"){t=l(e.parameters.get("charset"))}}if(t==="failure"){t="UTF-8"}return decode(e,t)}case"ArrayBuffer":{const t=combineByteSequences(e);return t.buffer}case"BinaryString":{let t="";const r=new g("latin1");for(const n of e){t+=r.write(n)}t+=r.end();return t}}}function decode(e,t){const r=combineByteSequences(e);const n=BOMSniffing(r);let s=0;if(n!==null){t=n;s=n==="UTF-8"?3:2}const i=r.slice(s);return new TextDecoder(t).decode(i)}function BOMSniffing(e){const[t,r,n]=e;if(t===239&&r===187&&n===191){return"UTF-8"}else if(t===254&&r===255){return"UTF-16BE"}else if(t===255&&r===254){return"UTF-16LE"}return null}function combineByteSequences(e){const t=e.reduce(((e,t)=>e+t.byteLength),0);let r=0;return e.reduce(((e,t)=>{e.set(t,r);r+=t.byteLength;return e}),new Uint8Array(t))}e.exports={staticPropertyDescriptors:h,readOperation:readOperation,fireAProgressEvent:fireAProgressEvent}},6897:(e,t,r)=>{const{uid:n,states:s,sentCloseFrameState:i,emptyBuffer:o,opcodes:a}=r(736);const{kReadyState:c,kSentClose:l,kByteParser:A,kReceivedClose:u,kResponse:d}=r(1216);const{fireEvent:g,failWebsocketConnection:p,isClosing:h,isClosed:m,isEstablished:f,parseExtensions:C}=r(8625);const{channels:y}=r(2414);const{CloseEvent:E}=r(5188);const{makeRequest:I}=r(9967);const{fetching:B}=r(4398);const{Headers:Q,getHeadersList:b}=r(660);const{getDecodeSplit:S}=r(3168);const{WebsocketFrameSend:w}=r(3264);let D;try{D=r(7598)}catch{}function establishWebSocketConnection(e,t,r,s,i,o){const a=e;a.protocol=e.protocol==="ws:"?"http:":"https:";const c=I({urlList:[a],client:r,serviceWorkers:"none",referrer:"no-referrer",mode:"websocket",credentials:"include",cache:"no-store",redirect:"error"});if(o.headers){const e=b(new Q(o.headers));c.headersList=e}const l=D.randomBytes(16).toString("base64");c.headersList.append("sec-websocket-key",l);c.headersList.append("sec-websocket-version","13");for(const e of t){c.headersList.append("sec-websocket-protocol",e)}const A="permessage-deflate; client_max_window_bits";c.headersList.append("sec-websocket-extensions",A);const u=B({request:c,useParallelQueue:true,dispatcher:o.dispatcher,processResponse(e){if(e.type==="error"||e.status!==101){p(s,"Received network error or non-101 status code.");return}if(t.length!==0&&!e.headersList.get("Sec-WebSocket-Protocol")){p(s,"Server did not respond with sent protocols.");return}if(e.headersList.get("Upgrade")?.toLowerCase()!=="websocket"){p(s,'Server did not set Upgrade header to "websocket".');return}if(e.headersList.get("Connection")?.toLowerCase()!=="upgrade"){p(s,'Server did not set Connection header to "upgrade".');return}const r=e.headersList.get("Sec-WebSocket-Accept");const o=D.createHash("sha1").update(l+n).digest("base64");if(r!==o){p(s,"Incorrect hash received in Sec-WebSocket-Accept header.");return}const a=e.headersList.get("Sec-WebSocket-Extensions");let A;if(a!==null){A=C(a);if(!A.has("permessage-deflate")){p(s,"Sec-WebSocket-Extensions header does not match.");return}}const u=e.headersList.get("Sec-WebSocket-Protocol");if(u!==null){const e=S("sec-websocket-protocol",c.headersList);if(!e.includes(u)){p(s,"Protocol was not set in the opening handshake.");return}}e.socket.on("data",onSocketData);e.socket.on("close",onSocketClose);e.socket.on("error",onSocketError);if(y.open.hasSubscribers){y.open.publish({address:e.socket.address(),protocol:u,extensions:a})}i(e,A)}});return u}function closeWebSocketConnection(e,t,r,n){if(h(e)||m(e)){}else if(!f(e)){p(e,"Connection was closed before it was established.");e[c]=s.CLOSING}else if(e[l]===i.NOT_SENT){e[l]=i.PROCESSING;const A=new w;if(t!==undefined&&r===undefined){A.frameData=Buffer.allocUnsafe(2);A.frameData.writeUInt16BE(t,0)}else if(t!==undefined&&r!==undefined){A.frameData=Buffer.allocUnsafe(2+n);A.frameData.writeUInt16BE(t,0);A.frameData.write(r,2,"utf-8")}else{A.frameData=o}const u=e[d].socket;u.write(A.createFrame(a.CLOSE));e[l]=i.SENT;e[c]=s.CLOSING}else{e[c]=s.CLOSING}}function onSocketData(e){if(!this.ws[A].write(e)){this.pause()}}function onSocketClose(){const{ws:e}=this;const{[d]:t}=e;t.socket.off("data",onSocketData);t.socket.off("close",onSocketClose);t.socket.off("error",onSocketError);const r=e[l]===i.SENT&&e[u];let n=1005;let o="";const a=e[A].closingInfo;if(a&&!a.error){n=a.code??1005;o=a.reason}else if(!e[u]){n=1006}e[c]=s.CLOSED;g("close",e,((e,t)=>new E(e,t)),{wasClean:r,code:n,reason:o});if(y.close.hasSubscribers){y.close.publish({websocket:e,code:n,reason:o})}}function onSocketError(e){const{ws:t}=this;t[c]=s.CLOSING;if(y.socketError.hasSubscribers){y.socketError.publish(e)}this.destroy()}e.exports={establishWebSocketConnection:establishWebSocketConnection,closeWebSocketConnection:closeWebSocketConnection}},736:e=>{const t="258EAFA5-E914-47DA-95CA-C5AB0DC85B11";const r={enumerable:true,writable:false,configurable:false};const n={CONNECTING:0,OPEN:1,CLOSING:2,CLOSED:3};const s={NOT_SENT:0,PROCESSING:1,SENT:2};const i={CONTINUATION:0,TEXT:1,BINARY:2,CLOSE:8,PING:9,PONG:10};const o=2**16-1;const a={INFO:0,PAYLOADLENGTH_16:2,PAYLOADLENGTH_64:3,READ_DATA:4};const c=Buffer.allocUnsafe(0);const l={string:1,typedArray:2,arrayBuffer:3,blob:4};e.exports={uid:t,sentCloseFrameState:s,staticPropertyDescriptors:r,states:n,opcodes:i,maxUnsigned16Bit:o,parserStates:a,emptyBuffer:c,sendHints:l}},5188:(e,t,r)=>{const{webidl:n}=r(5893);const{kEnumerableProperty:s}=r(3440);const{kConstruct:i}=r(6443);const{MessagePort:o}=r(5919);class MessageEvent extends Event{#j;constructor(e,t={}){if(e===i){super(arguments[1],arguments[2]);n.util.markAsUncloneable(this);return}const r="MessageEvent constructor";n.argumentLengthCheck(arguments,1,r);e=n.converters.DOMString(e,r,"type");t=n.converters.MessageEventInit(t,r,"eventInitDict");super(e,t);this.#j=t;n.util.markAsUncloneable(this)}get data(){n.brandCheck(this,MessageEvent);return this.#j.data}get origin(){n.brandCheck(this,MessageEvent);return this.#j.origin}get lastEventId(){n.brandCheck(this,MessageEvent);return this.#j.lastEventId}get source(){n.brandCheck(this,MessageEvent);return this.#j.source}get ports(){n.brandCheck(this,MessageEvent);if(!Object.isFrozen(this.#j.ports)){Object.freeze(this.#j.ports)}return this.#j.ports}initMessageEvent(e,t=false,r=false,s=null,i="",o="",a=null,c=[]){n.brandCheck(this,MessageEvent);n.argumentLengthCheck(arguments,1,"MessageEvent.initMessageEvent");return new MessageEvent(e,{bubbles:t,cancelable:r,data:s,origin:i,lastEventId:o,source:a,ports:c})}static createFastMessageEvent(e,t){const r=new MessageEvent(i,e,t);r.#j=t;r.#j.data??=null;r.#j.origin??="";r.#j.lastEventId??="";r.#j.source??=null;r.#j.ports??=[];return r}}const{createFastMessageEvent:a}=MessageEvent;delete MessageEvent.createFastMessageEvent;class CloseEvent extends Event{#j;constructor(e,t={}){const r="CloseEvent constructor";n.argumentLengthCheck(arguments,1,r);e=n.converters.DOMString(e,r,"type");t=n.converters.CloseEventInit(t);super(e,t);this.#j=t;n.util.markAsUncloneable(this)}get wasClean(){n.brandCheck(this,CloseEvent);return this.#j.wasClean}get code(){n.brandCheck(this,CloseEvent);return this.#j.code}get reason(){n.brandCheck(this,CloseEvent);return this.#j.reason}}class ErrorEvent extends Event{#j;constructor(e,t){const r="ErrorEvent constructor";n.argumentLengthCheck(arguments,1,r);super(e,t);n.util.markAsUncloneable(this);e=n.converters.DOMString(e,r,"type");t=n.converters.ErrorEventInit(t??{});this.#j=t}get message(){n.brandCheck(this,ErrorEvent);return this.#j.message}get filename(){n.brandCheck(this,ErrorEvent);return this.#j.filename}get lineno(){n.brandCheck(this,ErrorEvent);return this.#j.lineno}get colno(){n.brandCheck(this,ErrorEvent);return this.#j.colno}get error(){n.brandCheck(this,ErrorEvent);return this.#j.error}}Object.defineProperties(MessageEvent.prototype,{[Symbol.toStringTag]:{value:"MessageEvent",configurable:true},data:s,origin:s,lastEventId:s,source:s,ports:s,initMessageEvent:s});Object.defineProperties(CloseEvent.prototype,{[Symbol.toStringTag]:{value:"CloseEvent",configurable:true},reason:s,code:s,wasClean:s});Object.defineProperties(ErrorEvent.prototype,{[Symbol.toStringTag]:{value:"ErrorEvent",configurable:true},message:s,filename:s,lineno:s,colno:s,error:s});n.converters.MessagePort=n.interfaceConverter(o);n.converters["sequence<MessagePort>"]=n.sequenceConverter(n.converters.MessagePort);const c=[{key:"bubbles",converter:n.converters.boolean,defaultValue:()=>false},{key:"cancelable",converter:n.converters.boolean,defaultValue:()=>false},{key:"composed",converter:n.converters.boolean,defaultValue:()=>false}];n.converters.MessageEventInit=n.dictionaryConverter([...c,{key:"data",converter:n.converters.any,defaultValue:()=>null},{key:"origin",converter:n.converters.USVString,defaultValue:()=>""},{key:"lastEventId",converter:n.converters.DOMString,defaultValue:()=>""},{key:"source",converter:n.nullableConverter(n.converters.MessagePort),defaultValue:()=>null},{key:"ports",converter:n.converters["sequence<MessagePort>"],defaultValue:()=>new Array(0)}]);n.converters.CloseEventInit=n.dictionaryConverter([...c,{key:"wasClean",converter:n.converters.boolean,defaultValue:()=>false},{key:"code",converter:n.converters["unsigned short"],defaultValue:()=>0},{key:"reason",converter:n.converters.USVString,defaultValue:()=>""}]);n.converters.ErrorEventInit=n.dictionaryConverter([...c,{key:"message",converter:n.converters.DOMString,defaultValue:()=>""},{key:"filename",converter:n.converters.USVString,defaultValue:()=>""},{key:"lineno",converter:n.converters["unsigned long"],defaultValue:()=>0},{key:"colno",converter:n.converters["unsigned long"],defaultValue:()=>0},{key:"error",converter:n.converters.any}]);e.exports={MessageEvent:MessageEvent,CloseEvent:CloseEvent,ErrorEvent:ErrorEvent,createFastMessageEvent:a}},3264:(e,t,r)=>{const{maxUnsigned16Bit:n}=r(736);const s=16386;let i;let o=null;let a=s;try{i=r(7598)}catch{i={randomFillSync:function randomFillSync(e,t,r){for(let t=0;t<e.length;++t){e[t]=Math.random()*255|0}return e}}}function generateMask(){if(a===s){a=0;i.randomFillSync(o??=Buffer.allocUnsafe(s),0,s)}return[o[a++],o[a++],o[a++],o[a++]]}class WebsocketFrameSend{constructor(e){this.frameData=e}createFrame(e){const t=this.frameData;const r=generateMask();const s=t?.byteLength??0;let i=s;let o=6;if(s>n){o+=8;i=127}else if(s>125){o+=2;i=126}const a=Buffer.allocUnsafe(s+o);a[0]=a[1]=0;a[0]|=128;a[0]=(a[0]&240)+e;
|
||
/*! ws. MIT License. Einar Otto Stangvik <einaros@gmail.com> */a[o-4]=r[0];a[o-3]=r[1];a[o-2]=r[2];a[o-1]=r[3];a[1]=i;if(i===126){a.writeUInt16BE(s,2)}else if(i===127){a[2]=a[3]=0;a.writeUIntBE(s,4,6)}a[1]|=128;for(let e=0;e<s;++e){a[o+e]=t[e]^r[e&3]}return a}}e.exports={WebsocketFrameSend:WebsocketFrameSend}},9469:(e,t,r)=>{const{createInflateRaw:n,Z_DEFAULT_WINDOWBITS:s}=r(8522);const{isValidClientWindowBits:i}=r(8625);const{MessageSizeExceededError:o}=r(8707);const a=Buffer.from([0,0,255,255]);const c=Symbol("kBuffer");const l=Symbol("kLength");class PerMessageDeflate{#K;#g={};#$=0;constructor(e,t){this.#g.serverNoContextTakeover=e.has("server_no_context_takeover");this.#g.serverMaxWindowBits=e.get("server_max_window_bits");this.#$=t.maxPayloadSize}decompress(e,t,r){if(!this.#K){let e=s;if(this.#g.serverMaxWindowBits){if(!i(this.#g.serverMaxWindowBits)){r(new Error("Invalid server_max_window_bits"));return}e=Number.parseInt(this.#g.serverMaxWindowBits)}try{this.#K=n({windowBits:e})}catch(e){r(e);return}this.#K[c]=[];this.#K[l]=0;this.#K.on("data",(e=>{this.#K[l]+=e.length;if(this.#$>0&&this.#K[l]>this.#$){r(new o);this.#K.removeAllListeners();this.#K=null;return}this.#K[c].push(e)}));this.#K.on("error",(e=>{this.#K=null;r(e)}))}this.#K.write(e);if(t){this.#K.write(a)}this.#K.flush((()=>{if(!this.#K){return}const e=Buffer.concat(this.#K[c],this.#K[l]);this.#K[c].length=0;this.#K[l]=0;r(null,e)}))}}e.exports={PerMessageDeflate:PerMessageDeflate}},1652:(e,t,r)=>{const{Writable:n}=r(7075);const s=r(4589);const{parserStates:i,opcodes:o,states:a,emptyBuffer:c,sentCloseFrameState:l}=r(736);const{kReadyState:A,kSentClose:u,kResponse:d,kReceivedClose:g}=r(1216);const{channels:p}=r(2414);const{isValidStatusCode:h,isValidOpcode:m,failWebsocketConnection:f,websocketMessageReceived:C,utf8Decode:y,isControlFrame:E,isTextBinaryFrame:I,isContinuationFrame:B}=r(8625);const{WebsocketFrameSend:Q}=r(3264);const{closeWebSocketConnection:b}=r(6897);const{PerMessageDeflate:S}=r(9469);const{MessageSizeExceededError:w}=r(8707);function failWebsocketConnectionWithCode(e,t,r){b(e,t,r,Buffer.byteLength(r));f(e,r)}class ByteParser extends n{#X=[];#Z=0;#ee=0;#te=false;#E=i.INFO;#re={};#ne=[];#se;#ie;#$;constructor(e,t,r={}){super();this.ws=e;this.#se=t==null?new Map:t;this.#ie=r.maxFragments??0;this.#$=r.maxPayloadSize??0;if(this.#se.has("permessage-deflate")){this.#se.set("permessage-deflate",new S(t,r))}}_write(e,t,r){this.#X.push(e);this.#ee+=e.length;this.#te=true;this.run(r)}#oe(){if(this.#$>0&&!E(this.#re.opcode)&&this.#re.payloadLength+this.#Z>this.#$){failWebsocketConnectionWithCode(this.ws,1009,"Payload size exceeds maximum allowed size");return false}return true}run(e){while(this.#te){if(this.#E===i.INFO){if(this.#ee<2){return e()}const t=this.consume(2);const r=(t[0]&128)!==0;const n=t[0]&15;const s=(t[1]&128)===128;const a=!r&&n!==o.CONTINUATION;const c=t[1]&127;const l=t[0]&64;const A=t[0]&32;const u=t[0]&16;if(!m(n)){f(this.ws,"Invalid opcode received");return e()}if(s){f(this.ws,"Frame cannot be masked");return e()}if(l!==0&&!this.#se.has("permessage-deflate")){f(this.ws,"Expected RSV1 to be clear.");return}if(A!==0||u!==0){f(this.ws,"RSV1, RSV2, RSV3 must be clear");return}if(a&&!I(n)){f(this.ws,"Invalid frame type was fragmented.");return}if(I(n)&&this.#ne.length>0){f(this.ws,"Expected continuation frame");return}if(this.#re.fragmented&&a){f(this.ws,"Fragmented frame exceeded 125 bytes.");return}if((c>125||a)&&E(n)){f(this.ws,"Control frame either too large or fragmented");return}if(B(n)&&this.#ne.length===0&&!this.#re.compressed){f(this.ws,"Unexpected continuation frame");return}if(c<=125){this.#re.payloadLength=c;this.#E=i.READ_DATA;if(!this.#oe()){return}}else if(c===126){this.#E=i.PAYLOADLENGTH_16}else if(c===127){this.#E=i.PAYLOADLENGTH_64}if(I(n)){this.#re.binaryType=n;this.#re.compressed=l!==0}this.#re.opcode=n;this.#re.masked=s;this.#re.fin=r;this.#re.fragmented=a}else if(this.#E===i.PAYLOADLENGTH_16){if(this.#ee<2){return e()}const t=this.consume(2);this.#re.payloadLength=t.readUInt16BE(0);this.#E=i.READ_DATA;if(!this.#oe()){return}}else if(this.#E===i.PAYLOADLENGTH_64){if(this.#ee<8){return e()}const t=this.consume(8);const r=t.readUInt32BE(0);const n=t.readUInt32BE(4);if(r!==0||n>2**31-1){f(this.ws,"Received payload length > 2^31 bytes.");return}this.#re.payloadLength=n;this.#E=i.READ_DATA;if(!this.#oe()){return}}else if(this.#E===i.READ_DATA){if(this.#ee<this.#re.payloadLength){return e()}const t=this.consume(this.#re.payloadLength);if(E(this.#re.opcode)){this.#te=this.parseControlFrame(t);this.#E=i.INFO}else{if(!this.#re.compressed){if(!this.writeFragments(t)){return}if(this.#$>0&&this.#Z>this.#$){failWebsocketConnectionWithCode(this.ws,1009,(new w).message);return}if(!this.#re.fragmented&&this.#re.fin){C(this.ws,this.#re.binaryType,this.consumeFragments())}this.#E=i.INFO}else{this.#se.get("permessage-deflate").decompress(t,this.#re.fin,((t,r)=>{if(t){const e=t instanceof w?1009:1007;failWebsocketConnectionWithCode(this.ws,e,t.message);return}if(!this.writeFragments(r)){return}if(this.#$>0&&this.#Z>this.#$){failWebsocketConnectionWithCode(this.ws,1009,(new w).message);return}if(!this.#re.fin){this.#E=i.INFO;this.#te=true;this.run(e);return}C(this.ws,this.#re.binaryType,this.consumeFragments());this.#te=true;this.#E=i.INFO;this.run(e)}));this.#te=false;break}}}}}consume(e){if(e>this.#ee){throw new Error("Called consume() before buffers satiated.")}else if(e===0){return c}if(this.#X[0].length===e){this.#ee-=this.#X[0].length;return this.#X.shift()}const t=Buffer.allocUnsafe(e);let r=0;while(r!==e){const n=this.#X[0];const{length:s}=n;if(s+r===e){t.set(this.#X.shift(),r);break}else if(s+r>e){t.set(n.subarray(0,e-r),r);this.#X[0]=n.subarray(e-r);break}else{t.set(this.#X.shift(),r);r+=n.length}}this.#ee-=e;return t}writeFragments(e){if(this.#ie>0&&this.#ne.length===this.#ie){failWebsocketConnectionWithCode(this.ws,1008,"Too many message fragments");return false}this.#Z+=e.length;this.#ne.push(e);return true}consumeFragments(){const e=this.#ne;if(e.length===1){this.#Z=0;return e.shift()}const t=Buffer.concat(e,this.#Z);this.#ne=[];this.#Z=0;return t}parseCloseBody(e){s(e.length!==1);let t;if(e.length>=2){t=e.readUInt16BE(0)}if(t!==undefined&&!h(t)){return{code:1002,reason:"Invalid status code",error:true}}let r=e.subarray(2);if(r[0]===239&&r[1]===187&&r[2]===191){r=r.subarray(3)}try{r=y(r)}catch{return{code:1007,reason:"Invalid UTF-8",error:true}}return{code:t,reason:r,error:false}}parseControlFrame(e){const{opcode:t,payloadLength:r}=this.#re;if(t===o.CLOSE){if(r===1){f(this.ws,"Received close frame with a 1-byte body.");return false}this.#re.closeInfo=this.parseCloseBody(e);if(this.#re.closeInfo.error){const{code:e,reason:t}=this.#re.closeInfo;b(this.ws,e,t,t.length);f(this.ws,t);return false}if(this.ws[u]!==l.SENT){let e=c;if(this.#re.closeInfo.code){e=Buffer.allocUnsafe(2);e.writeUInt16BE(this.#re.closeInfo.code,0)}const t=new Q(e);this.ws[d].socket.write(t.createFrame(o.CLOSE),(e=>{if(!e){this.ws[u]=l.SENT}}))}this.ws[A]=a.CLOSING;this.ws[g]=true;return false}else if(t===o.PING){if(!this.ws[g]){const t=new Q(e);this.ws[d].socket.write(t.createFrame(o.PONG));if(p.ping.hasSubscribers){p.ping.publish({payload:e})}}}else if(t===o.PONG){if(p.pong.hasSubscribers){p.pong.publish({payload:e})}}return true}get closingInfo(){return this.#re.closeInfo}}e.exports={ByteParser:ByteParser}},3900:(e,t,r)=>{const{WebsocketFrameSend:n}=r(3264);const{opcodes:s,sendHints:i}=r(736);const o=r(4660);const a=Buffer[Symbol.species];class SendQueue{#ae=new o;#ce=false;#le;constructor(e){this.#le=e}add(e,t,r){if(r!==i.blob){const n=createFrame(e,r);if(!this.#ce){this.#le.write(n,t)}else{const e={promise:null,callback:t,frame:n};this.#ae.push(e)}return}const n={promise:e.arrayBuffer().then((e=>{n.promise=null;n.frame=createFrame(e,r)})),callback:t,frame:null};this.#ae.push(n);if(!this.#ce){this.#Ae()}}async#Ae(){this.#ce=true;const e=this.#ae;while(!e.isEmpty()){const t=e.shift();if(t.promise!==null){await t.promise}this.#le.write(t.frame,t.callback);t.callback=t.frame=null}this.#ce=false}}function createFrame(e,t){return new n(toBuffer(e,t)).createFrame(t===i.string?s.TEXT:s.BINARY)}function toBuffer(e,t){switch(t){case i.string:return Buffer.from(e);case i.arrayBuffer:case i.blob:return new a(e);case i.typedArray:return new a(e.buffer,e.byteOffset,e.byteLength)}}e.exports={SendQueue:SendQueue}},1216:e=>{e.exports={kWebSocketURL:Symbol("url"),kReadyState:Symbol("ready state"),kController:Symbol("controller"),kResponse:Symbol("response"),kBinaryType:Symbol("binary type"),kSentClose:Symbol("sent close"),kReceivedClose:Symbol("received close"),kByteParser:Symbol("byte parser")}},8625:(e,t,r)=>{const{kReadyState:n,kController:s,kResponse:i,kBinaryType:o,kWebSocketURL:a}=r(1216);const{states:c,opcodes:l}=r(736);const{ErrorEvent:A,createFastMessageEvent:u}=r(5188);const{isUtf8:d}=r(4573);const{collectASequenceOfCodePointsFast:g,removeHTTPWhitespace:p}=r(1900);function isConnecting(e){return e[n]===c.CONNECTING}function isEstablished(e){return e[n]===c.OPEN}function isClosing(e){return e[n]===c.CLOSING}function isClosed(e){return e[n]===c.CLOSED}function fireEvent(e,t,r=(e,t)=>new Event(e,t),n={}){const s=r(e,n);t.dispatchEvent(s)}function websocketMessageReceived(e,t,r){if(e[n]!==c.OPEN){return}let s;if(t===l.TEXT){try{s=f(r)}catch{failWebsocketConnection(e,"Received invalid UTF-8 in text frame.");return}}else if(t===l.BINARY){if(e[o]==="blob"){s=new Blob([r])}else{s=toArrayBuffer(r)}}fireEvent("message",e,u,{origin:e[a].origin,data:s})}function toArrayBuffer(e){if(e.byteLength===e.buffer.byteLength){return e.buffer}return e.buffer.slice(e.byteOffset,e.byteOffset+e.byteLength)}function isValidSubprotocol(e){if(e.length===0){return false}for(let t=0;t<e.length;++t){const r=e.charCodeAt(t);if(r<33||r>126||r===34||r===40||r===41||r===44||r===47||r===58||r===59||r===60||r===61||r===62||r===63||r===64||r===91||r===92||r===93||r===123||r===125){return false}}return true}function isValidStatusCode(e){if(e>=1e3&&e<1015){return e!==1004&&e!==1005&&e!==1006}return e>=3e3&&e<=4999}function failWebsocketConnection(e,t){const{[s]:r,[i]:n}=e;r.abort();if(n?.socket&&!n.socket.destroyed){n.socket.destroy()}if(t){fireEvent("error",e,((e,t)=>new A(e,t)),{error:new Error(t),message:t})}}function isControlFrame(e){return e===l.CLOSE||e===l.PING||e===l.PONG}function isContinuationFrame(e){return e===l.CONTINUATION}function isTextBinaryFrame(e){return e===l.TEXT||e===l.BINARY}function isValidOpcode(e){return isTextBinaryFrame(e)||isContinuationFrame(e)||isControlFrame(e)}function parseExtensions(e){const t={position:0};const r=new Map;while(t.position<e.length){const n=g(";",e,t);const[s,i=""]=n.split("=");r.set(p(s,true,false),p(i,false,true));t.position++}return r}function isValidClientWindowBits(e){if(e.length===0){return false}for(let t=0;t<e.length;t++){const r=e.charCodeAt(t);if(r<48||r>57){return false}}const t=Number.parseInt(e,10);return t>=8&&t<=15}const h=typeof process.versions.icu==="string";const m=h?new TextDecoder("utf-8",{fatal:true}):undefined;const f=h?m.decode.bind(m):function(e){if(d(e)){return e.toString("utf-8")}throw new TypeError("Invalid utf-8 received.")};e.exports={isConnecting:isConnecting,isEstablished:isEstablished,isClosing:isClosing,isClosed:isClosed,fireEvent:fireEvent,isValidSubprotocol:isValidSubprotocol,isValidStatusCode:isValidStatusCode,failWebsocketConnection:failWebsocketConnection,websocketMessageReceived:websocketMessageReceived,utf8Decode:f,isControlFrame:isControlFrame,isContinuationFrame:isContinuationFrame,isTextBinaryFrame:isTextBinaryFrame,isValidOpcode:isValidOpcode,parseExtensions:parseExtensions,isValidClientWindowBits:isValidClientWindowBits}},3726:(e,t,r)=>{const{webidl:n}=r(5893);const{URLSerializer:s}=r(1900);const{environmentSettingsObject:i}=r(3168);const{staticPropertyDescriptors:o,states:a,sentCloseFrameState:c,sendHints:l}=r(736);const{kWebSocketURL:A,kReadyState:u,kController:d,kBinaryType:g,kResponse:p,kSentClose:h,kByteParser:m}=r(1216);const{isConnecting:f,isEstablished:C,isClosing:y,isValidSubprotocol:E,fireEvent:I}=r(8625);const{establishWebSocketConnection:B,closeWebSocketConnection:Q}=r(6897);const{ByteParser:b}=r(1652);const{kEnumerableProperty:S,isBlobLike:w}=r(3440);const{getGlobalDispatcher:D}=r(2581);const{types:N}=r(7975);const{ErrorEvent:x,CloseEvent:R}=r(5188);const{SendQueue:v}=r(3900);class WebSocket extends EventTarget{#M={open:null,error:null,close:null,message:null};#ue=0;#de="";#se="";#ge;constructor(e,t=[]){super();n.util.markAsUncloneable(this);const r="WebSocket constructor";n.argumentLengthCheck(arguments,1,r);const s=n.converters["DOMString or sequence<DOMString> or WebSocketInit"](t,r,"options");e=n.converters.USVString(e,r,"url");t=s.protocols;const o=i.settingsObject.baseUrl;let a;try{a=new URL(e,o)}catch(e){throw new DOMException(e,"SyntaxError")}if(a.protocol==="http:"){a.protocol="ws:"}else if(a.protocol==="https:"){a.protocol="wss:"}if(a.protocol!=="ws:"&&a.protocol!=="wss:"){throw new DOMException(`Expected a ws: or wss: protocol, got ${a.protocol}`,"SyntaxError")}if(a.hash||a.href.endsWith("#")){throw new DOMException("Got fragment","SyntaxError")}if(typeof t==="string"){t=[t]}if(t.length!==new Set(t.map((e=>e.toLowerCase()))).size){throw new DOMException("Invalid Sec-WebSocket-Protocol value","SyntaxError")}if(t.length>0&&!t.every((e=>E(e)))){throw new DOMException("Invalid Sec-WebSocket-Protocol value","SyntaxError")}this[A]=new URL(a.href);const l=i.settingsObject;this[d]=B(a,t,l,this,((e,t)=>this.#pe(e,t)),s);this[u]=WebSocket.CONNECTING;this[h]=c.NOT_SENT;this[g]="blob"}close(e=undefined,t=undefined){n.brandCheck(this,WebSocket);const r="WebSocket.close";if(e!==undefined){e=n.converters["unsigned short"](e,r,"code",{clamp:true})}if(t!==undefined){t=n.converters.USVString(t,r,"reason")}if(e!==undefined){if(e!==1e3&&(e<3e3||e>4999)){throw new DOMException("invalid code","InvalidAccessError")}}let s=0;if(t!==undefined){s=Buffer.byteLength(t);if(s>123){throw new DOMException(`Reason must be less than 123 bytes; received ${s}`,"SyntaxError")}}Q(this,e,t,s)}send(e){n.brandCheck(this,WebSocket);const t="WebSocket.send";n.argumentLengthCheck(arguments,1,t);e=n.converters.WebSocketSendData(e,t,"data");if(f(this)){throw new DOMException("Sent before connected.","InvalidStateError")}if(!C(this)||y(this)){return}if(typeof e==="string"){const t=Buffer.byteLength(e);this.#ue+=t;this.#ge.add(e,(()=>{this.#ue-=t}),l.string)}else if(N.isArrayBuffer(e)){this.#ue+=e.byteLength;this.#ge.add(e,(()=>{this.#ue-=e.byteLength}),l.arrayBuffer)}else if(ArrayBuffer.isView(e)){this.#ue+=e.byteLength;this.#ge.add(e,(()=>{this.#ue-=e.byteLength}),l.typedArray)}else if(w(e)){this.#ue+=e.size;this.#ge.add(e,(()=>{this.#ue-=e.size}),l.blob)}}get readyState(){n.brandCheck(this,WebSocket);return this[u]}get bufferedAmount(){n.brandCheck(this,WebSocket);return this.#ue}get url(){n.brandCheck(this,WebSocket);return s(this[A])}get extensions(){n.brandCheck(this,WebSocket);return this.#se}get protocol(){n.brandCheck(this,WebSocket);return this.#de}get onopen(){n.brandCheck(this,WebSocket);return this.#M.open}set onopen(e){n.brandCheck(this,WebSocket);if(this.#M.open){this.removeEventListener("open",this.#M.open)}if(typeof e==="function"){this.#M.open=e;this.addEventListener("open",e)}else{this.#M.open=null}}get onerror(){n.brandCheck(this,WebSocket);return this.#M.error}set onerror(e){n.brandCheck(this,WebSocket);if(this.#M.error){this.removeEventListener("error",this.#M.error)}if(typeof e==="function"){this.#M.error=e;this.addEventListener("error",e)}else{this.#M.error=null}}get onclose(){n.brandCheck(this,WebSocket);return this.#M.close}set onclose(e){n.brandCheck(this,WebSocket);if(this.#M.close){this.removeEventListener("close",this.#M.close)}if(typeof e==="function"){this.#M.close=e;this.addEventListener("close",e)}else{this.#M.close=null}}get onmessage(){n.brandCheck(this,WebSocket);return this.#M.message}set onmessage(e){n.brandCheck(this,WebSocket);if(this.#M.message){this.removeEventListener("message",this.#M.message)}if(typeof e==="function"){this.#M.message=e;this.addEventListener("message",e)}else{this.#M.message=null}}get binaryType(){n.brandCheck(this,WebSocket);return this[g]}set binaryType(e){n.brandCheck(this,WebSocket);if(e!=="blob"&&e!=="arraybuffer"){this[g]="blob"}else{this[g]=e}}#pe(e,t){this[p]=e;const r=this[d]?.dispatcher?.webSocketOptions;const n=r?.maxFragments;const s=r?.maxPayloadSize;const i=new b(this,t,{maxFragments:n,maxPayloadSize:s});i.on("drain",onParserDrain);i.on("error",onParserError.bind(this));e.socket.ws=this;this[m]=i;this.#ge=new v(e.socket);this[u]=a.OPEN;const o=e.headersList.get("sec-websocket-extensions");if(o!==null){this.#se=o}const c=e.headersList.get("sec-websocket-protocol");if(c!==null){this.#de=c}I("open",this)}}WebSocket.CONNECTING=WebSocket.prototype.CONNECTING=a.CONNECTING;WebSocket.OPEN=WebSocket.prototype.OPEN=a.OPEN;WebSocket.CLOSING=WebSocket.prototype.CLOSING=a.CLOSING;WebSocket.CLOSED=WebSocket.prototype.CLOSED=a.CLOSED;Object.defineProperties(WebSocket.prototype,{CONNECTING:o,OPEN:o,CLOSING:o,CLOSED:o,url:S,readyState:S,bufferedAmount:S,onopen:S,onerror:S,onclose:S,close:S,onmessage:S,binaryType:S,send:S,extensions:S,protocol:S,[Symbol.toStringTag]:{value:"WebSocket",writable:false,enumerable:false,configurable:true}});Object.defineProperties(WebSocket,{CONNECTING:o,OPEN:o,CLOSING:o,CLOSED:o});n.converters["sequence<DOMString>"]=n.sequenceConverter(n.converters.DOMString);n.converters["DOMString or sequence<DOMString>"]=function(e,t,r){if(n.util.Type(e)==="Object"&&Symbol.iterator in e){return n.converters["sequence<DOMString>"](e)}return n.converters.DOMString(e,t,r)};n.converters.WebSocketInit=n.dictionaryConverter([{key:"protocols",converter:n.converters["DOMString or sequence<DOMString>"],defaultValue:()=>new Array(0)},{key:"dispatcher",converter:n.converters.any,defaultValue:()=>D()},{key:"headers",converter:n.nullableConverter(n.converters.HeadersInit)}]);n.converters["DOMString or sequence<DOMString> or WebSocketInit"]=function(e){if(n.util.Type(e)==="Object"&&!(Symbol.iterator in e)){return n.converters.WebSocketInit(e)}return{protocols:n.converters["DOMString or sequence<DOMString>"](e)}};n.converters.WebSocketSendData=function(e){if(n.util.Type(e)==="Object"){if(w(e)){return n.converters.Blob(e,{strict:false})}if(ArrayBuffer.isView(e)||N.isArrayBuffer(e)){return n.converters.BufferSource(e)}}return n.converters.USVString(e)};function onParserDrain(){this.ws[p].socket.resume()}function onParserError(e){let t;let r;if(e instanceof R){t=e.reason;r=e.code}else{t=e.message}I("error",this,(()=>new x("error",{error:e,message:t})));Q(this,r)}e.exports={WebSocket:WebSocket}},2613:t=>{t.exports=e(import.meta.url)("assert")},4434:t=>{t.exports=e(import.meta.url)("events")},8611:t=>{t.exports=e(import.meta.url)("http")},5692:t=>{t.exports=e(import.meta.url)("https")},9278:t=>{t.exports=e(import.meta.url)("net")},4589:t=>{t.exports=e(import.meta.url)("node:assert")},6698:t=>{t.exports=e(import.meta.url)("node:async_hooks")},4573:t=>{t.exports=e(import.meta.url)("node:buffer")},7540:t=>{t.exports=e(import.meta.url)("node:console")},7598:t=>{t.exports=e(import.meta.url)("node:crypto")},3053:t=>{t.exports=e(import.meta.url)("node:diagnostics_channel")},610:t=>{t.exports=e(import.meta.url)("node:dns")},8474:t=>{t.exports=e(import.meta.url)("node:events")},7067:t=>{t.exports=e(import.meta.url)("node:http")},2467:t=>{t.exports=e(import.meta.url)("node:http2")},7030:t=>{t.exports=e(import.meta.url)("node:net")},643:t=>{t.exports=e(import.meta.url)("node:perf_hooks")},1792:t=>{t.exports=e(import.meta.url)("node:querystring")},7075:t=>{t.exports=e(import.meta.url)("node:stream")},1692:t=>{t.exports=e(import.meta.url)("node:tls")},3136:t=>{t.exports=e(import.meta.url)("node:url")},7975:t=>{t.exports=e(import.meta.url)("node:util")},3429:t=>{t.exports=e(import.meta.url)("node:util/types")},5919:t=>{t.exports=e(import.meta.url)("node:worker_threads")},8522:t=>{t.exports=e(import.meta.url)("node:zlib")},857:t=>{t.exports=e(import.meta.url)("os")},6928:t=>{t.exports=e(import.meta.url)("path")},3193:t=>{t.exports=e(import.meta.url)("string_decoder")},4756:t=>{t.exports=e(import.meta.url)("tls")},2018:t=>{t.exports=e(import.meta.url)("tty")},7016:t=>{t.exports=e(import.meta.url)("url")},9023:t=>{t.exports=e(import.meta.url)("util")},30:(e,t)=>{var r;r={value:true};t.w=void 0;t.w={operationRequestMap:new WeakMap}},9437:(e,t)=>{var r;r={value:true};t.w=void 0;t.w={instrumenterImplementation:undefined}},8658:(e,t,r)=>{const n=r(4012);e.exports={version:n.version}},4012:e=>{e.exports=JSON.parse('{"name":"@actions/cache","version":"6.2.0","description":"Actions cache lib","keywords":["github","actions","cache"],"homepage":"https://github.com/actions/toolkit/tree/main/packages/cache","license":"MIT","type":"module","main":"lib/cache.js","types":"lib/cache.d.ts","exports":{".":{"types":"./lib/cache.d.ts","import":"./lib/cache.js"}},"directories":{"lib":"lib","test":"__tests__"},"files":["lib","!.DS_Store"],"publishConfig":{"access":"public"},"repository":{"type":"git","url":"git+https://github.com/actions/toolkit.git","directory":"packages/cache"},"scripts":{"audit-moderate":"npm install && npm audit --json --audit-level=moderate > audit.json","test":"echo \\"Error: run tests from root\\" && exit 1","tsc":"tsc && cp src/internal/shared/package-version.cjs lib/internal/shared/"},"bugs":{"url":"https://github.com/actions/toolkit/issues"},"dependencies":{"@actions/core":"^3.0.1","@actions/exec":"^3.0.0","@actions/glob":"^0.6.1","@actions/http-client":"^4.0.1","@actions/io":"^3.0.2","@azure/core-rest-pipeline":"^1.23.0","@azure/storage-blob":"^12.31.0","@protobuf-ts/runtime-rpc":"^2.11.1","semver":"^7.7.4"},"devDependencies":{"@protobuf-ts/plugin":"^2.11.1","@types/node":"^25.6.0","@types/semver":"^7.7.1","typescript":"^5.9.3"},"overrides":{"uri-js":"npm:uri-js-replace@^1.0.1","node-fetch":"^3.3.2"}}')}};var r={};function __nccwpck_require__(e){var n=r[e];if(n!==undefined){return n.exports}var s=r[e]={exports:{}};var i=true;try{t[e].call(s.exports,s,s.exports,__nccwpck_require__);i=false}finally{if(i)delete r[e]}return s.exports}(()=>{var e=Object.getPrototypeOf?e=>Object.getPrototypeOf(e):e=>e.__proto__;var t;__nccwpck_require__.t=function(r,n){if(n&1)r=this(r);if(n&8)return r;if(typeof r==="object"&&r){if(n&4&&r.__esModule)return r;if(n&16&&typeof r.then==="function")return r}var s=Object.create(null);__nccwpck_require__.r(s);var i={};t=t||[null,e({}),e([]),e(e)];for(var o=n&2&&r;typeof o=="object"&&!~t.indexOf(o);o=e(o)){Object.getOwnPropertyNames(o).forEach((e=>i[e]=()=>r[e]))}i["default"]=()=>r;__nccwpck_require__.d(s,i);return s}})();(()=>{__nccwpck_require__.d=(e,t)=>{for(var r in t){if(__nccwpck_require__.o(t,r)&&!__nccwpck_require__.o(e,r)){Object.defineProperty(e,r,{enumerable:true,get:t[r]})}}}})();(()=>{__nccwpck_require__.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t)})();(()=>{__nccwpck_require__.r=e=>{if(typeof Symbol!=="undefined"&&Symbol.toStringTag){Object.defineProperty(e,Symbol.toStringTag,{value:"Module"})}Object.defineProperty(e,"__esModule",{value:true})}})();if(typeof __nccwpck_require__!=="undefined")__nccwpck_require__.ab=new URL(".",import.meta.url).pathname.slice(import.meta.url.match(/^file:\/\/\/\w:/)?1:0,-1)+"/";var n={};var s={};__nccwpck_require__.r(s);__nccwpck_require__.d(s,{AccessPolicy:()=>wd,AppendBlobAppendBlockExceptionHeaders:()=>ch,AppendBlobAppendBlockFromUrlExceptionHeaders:()=>Ah,AppendBlobAppendBlockFromUrlHeaders:()=>lh,AppendBlobAppendBlockHeaders:()=>ah,AppendBlobCreateExceptionHeaders:()=>oh,AppendBlobCreateHeaders:()=>ih,AppendBlobSealExceptionHeaders:()=>dh,AppendBlobSealHeaders:()=>uh,ArrowConfiguration:()=>Vd,ArrowField:()=>Jd,BlobAbortCopyFromURLExceptionHeaders:()=>Rp,BlobAbortCopyFromURLHeaders:()=>xp,BlobAcquireLeaseExceptionHeaders:()=>pp,BlobAcquireLeaseHeaders:()=>gp,BlobBreakLeaseExceptionHeaders:()=>Bp,BlobBreakLeaseHeaders:()=>Ip,BlobChangeLeaseExceptionHeaders:()=>Ep,BlobChangeLeaseHeaders:()=>yp,BlobCopyFromURLExceptionHeaders:()=>Np,BlobCopyFromURLHeaders:()=>Dp,BlobCreateSnapshotExceptionHeaders:()=>bp,BlobCreateSnapshotHeaders:()=>Qp,BlobDeleteExceptionHeaders:()=>$g,BlobDeleteHeaders:()=>Kg,BlobDeleteImmutabilityPolicyExceptionHeaders:()=>ap,BlobDeleteImmutabilityPolicyHeaders:()=>op,BlobDownloadExceptionHeaders:()=>Jg,BlobDownloadHeaders:()=>Vg,BlobFlatListSegment:()=>Nd,BlobGetAccountInfoExceptionHeaders:()=>Tp,BlobGetAccountInfoHeaders:()=>Fp,BlobGetPropertiesExceptionHeaders:()=>jg,BlobGetPropertiesHeaders:()=>Wg,BlobGetTagsExceptionHeaders:()=>Up,BlobGetTagsHeaders:()=>Lp,BlobHierarchyListSegment:()=>Fd,BlobItemInternal:()=>xd,BlobName:()=>Rd,BlobPrefix:()=>Td,BlobPropertiesInternal:()=>vd,BlobQueryExceptionHeaders:()=>Pp,BlobQueryHeaders:()=>Mp,BlobReleaseLeaseExceptionHeaders:()=>mp,BlobReleaseLeaseHeaders:()=>hp,BlobRenewLeaseExceptionHeaders:()=>Cp,BlobRenewLeaseHeaders:()=>fp,BlobServiceProperties:()=>ad,BlobServiceStatistics:()=>pd,BlobSetExpiryExceptionHeaders:()=>tp,BlobSetExpiryHeaders:()=>ep,BlobSetHttpHeadersExceptionHeaders:()=>np,BlobSetHttpHeadersHeaders:()=>rp,BlobSetImmutabilityPolicyExceptionHeaders:()=>ip,BlobSetImmutabilityPolicyHeaders:()=>sp,BlobSetLegalHoldExceptionHeaders:()=>Ap,BlobSetLegalHoldHeaders:()=>lp,BlobSetMetadataExceptionHeaders:()=>dp,BlobSetMetadataHeaders:()=>up,BlobSetTagsExceptionHeaders:()=>Hp,BlobSetTagsHeaders:()=>Op,BlobSetTierExceptionHeaders:()=>kp,BlobSetTierHeaders:()=>vp,BlobStartCopyFromURLExceptionHeaders:()=>wp,BlobStartCopyFromURLHeaders:()=>Sp,BlobTag:()=>bd,BlobTags:()=>Qd,BlobUndeleteExceptionHeaders:()=>Zg,BlobUndeleteHeaders:()=>Xg,Block:()=>Ld,BlockBlobCommitBlockListExceptionHeaders:()=>Bh,BlockBlobCommitBlockListHeaders:()=>Ih,BlockBlobGetBlockListExceptionHeaders:()=>bh,BlockBlobGetBlockListHeaders:()=>Qh,BlockBlobPutBlobFromUrlExceptionHeaders:()=>mh,BlockBlobPutBlobFromUrlHeaders:()=>hh,BlockBlobStageBlockExceptionHeaders:()=>Ch,BlockBlobStageBlockFromURLExceptionHeaders:()=>Eh,BlockBlobStageBlockFromURLHeaders:()=>yh,BlockBlobStageBlockHeaders:()=>fh,BlockBlobUploadExceptionHeaders:()=>ph,BlockBlobUploadHeaders:()=>gh,BlockList:()=>Pd,BlockLookupList:()=>Md,ClearRange:()=>Hd,ContainerAcquireLeaseExceptionHeaders:()=>vg,ContainerAcquireLeaseHeaders:()=>Rg,ContainerBreakLeaseExceptionHeaders:()=>Lg,ContainerBreakLeaseHeaders:()=>Pg,ContainerChangeLeaseExceptionHeaders:()=>Og,ContainerChangeLeaseHeaders:()=>Ug,ContainerCreateExceptionHeaders:()=>ug,ContainerCreateHeaders:()=>Ag,ContainerDeleteExceptionHeaders:()=>hg,ContainerDeleteHeaders:()=>pg,ContainerFilterBlobsExceptionHeaders:()=>xg,ContainerFilterBlobsHeaders:()=>Ng,ContainerGetAccessPolicyExceptionHeaders:()=>yg,ContainerGetAccessPolicyHeaders:()=>Cg,ContainerGetAccountInfoExceptionHeaders:()=>Yg,ContainerGetAccountInfoHeaders:()=>zg,ContainerGetPropertiesExceptionHeaders:()=>gg,ContainerGetPropertiesHeaders:()=>dg,ContainerItem:()=>fd,ContainerListBlobFlatSegmentExceptionHeaders:()=>_g,ContainerListBlobFlatSegmentHeaders:()=>Hg,ContainerListBlobHierarchySegmentExceptionHeaders:()=>Gg,ContainerListBlobHierarchySegmentHeaders:()=>qg,ContainerProperties:()=>Cd,ContainerReleaseLeaseExceptionHeaders:()=>Fg,ContainerReleaseLeaseHeaders:()=>kg,ContainerRenameExceptionHeaders:()=>Sg,ContainerRenameHeaders:()=>bg,ContainerRenewLeaseExceptionHeaders:()=>Mg,ContainerRenewLeaseHeaders:()=>Tg,ContainerRestoreExceptionHeaders:()=>Qg,ContainerRestoreHeaders:()=>Bg,ContainerSetAccessPolicyExceptionHeaders:()=>Ig,ContainerSetAccessPolicyHeaders:()=>Eg,ContainerSetMetadataExceptionHeaders:()=>fg,ContainerSetMetadataHeaders:()=>mg,ContainerSubmitBatchExceptionHeaders:()=>Dg,ContainerSubmitBatchHeaders:()=>wg,CorsRule:()=>ud,DelimitedTextConfiguration:()=>zd,FilterBlobItem:()=>Bd,FilterBlobSegment:()=>Id,GeoReplication:()=>hd,JsonTextConfiguration:()=>Yd,KeyInfo:()=>yd,ListBlobsFlatSegmentResponse:()=>Dd,ListBlobsHierarchySegmentResponse:()=>kd,ListContainersSegmentResponse:()=>md,Logging:()=>cd,Metrics:()=>Ad,PageBlobClearPagesExceptionHeaders:()=>Vp,PageBlobClearPagesHeaders:()=>Yp,PageBlobCopyIncrementalExceptionHeaders:()=>sh,PageBlobCopyIncrementalHeaders:()=>nh,PageBlobCreateExceptionHeaders:()=>qp,PageBlobCreateHeaders:()=>_p,PageBlobGetPageRangesDiffExceptionHeaders:()=>Xp,PageBlobGetPageRangesDiffHeaders:()=>$p,PageBlobGetPageRangesExceptionHeaders:()=>Kp,PageBlobGetPageRangesHeaders:()=>jp,PageBlobResizeExceptionHeaders:()=>eh,PageBlobResizeHeaders:()=>Zp,PageBlobUpdateSequenceNumberExceptionHeaders:()=>rh,PageBlobUpdateSequenceNumberHeaders:()=>th,PageBlobUploadPagesExceptionHeaders:()=>zp,PageBlobUploadPagesFromURLExceptionHeaders:()=>Wp,PageBlobUploadPagesFromURLHeaders:()=>Jp,PageBlobUploadPagesHeaders:()=>Gp,PageList:()=>Ud,PageRange:()=>Od,QueryFormat:()=>Gd,QueryRequest:()=>_d,QuerySerialization:()=>qd,RetentionPolicy:()=>ld,ServiceFilterBlobsExceptionHeaders:()=>lg,ServiceFilterBlobsHeaders:()=>cg,ServiceGetAccountInfoExceptionHeaders:()=>ig,ServiceGetAccountInfoHeaders:()=>sg,ServiceGetPropertiesExceptionHeaders:()=>$d,ServiceGetPropertiesHeaders:()=>Kd,ServiceGetStatisticsExceptionHeaders:()=>Zd,ServiceGetStatisticsHeaders:()=>Xd,ServiceGetUserDelegationKeyExceptionHeaders:()=>ng,ServiceGetUserDelegationKeyHeaders:()=>rg,ServiceListContainersSegmentExceptionHeaders:()=>tg,ServiceListContainersSegmentHeaders:()=>eg,ServiceSetPropertiesExceptionHeaders:()=>jd,ServiceSetPropertiesHeaders:()=>Wd,ServiceSubmitBatchExceptionHeaders:()=>ag,ServiceSubmitBatchHeaders:()=>og,SignedIdentifier:()=>Sd,StaticWebsite:()=>dd,StorageError:()=>gd,UserDelegationKey:()=>Ed});const i=e(import.meta.url)("fs");var o=__nccwpck_require__(6928);var a=__nccwpck_require__(2613);const c={right:alignRight,center:alignCenter};const l=0;const A=1;const u=2;const d=3;class UI{constructor(e){var t;this.width=e.width;this.wrap=(t=e.wrap)!==null&&t!==void 0?t:true;this.rows=[]}span(...e){const t=this.div(...e);t.span=true}resetOutput(){this.rows=[]}div(...e){if(e.length===0){this.div("")}if(this.wrap&&this.shouldApplyLayoutDSL(...e)&&typeof e[0]==="string"){return this.applyLayoutDSL(e[0])}const t=e.map((e=>{if(typeof e==="string"){return this.colFromString(e)}return e}));this.rows.push(t);return t}shouldApplyLayoutDSL(...e){return e.length===1&&typeof e[0]==="string"&&/[\t\n]/.test(e[0])}applyLayoutDSL(e){const t=e.split("\n").map((e=>e.split("\t")));let r=0;t.forEach((e=>{if(e.length>1&&g.stringWidth(e[0])>r){r=Math.min(Math.floor(this.width*.5),g.stringWidth(e[0]))}}));t.forEach((e=>{this.div(...e.map(((t,n)=>({text:t.trim(),padding:this.measurePadding(t),width:n===0&&e.length>1?r:undefined}))))}));return this.rows[this.rows.length-1]}colFromString(e){return{text:e,padding:this.measurePadding(e)}}measurePadding(e){const t=g.stripAnsi(e);return[0,t.match(/\s*$/)[0].length,0,t.match(/^\s*/)[0].length]}toString(){const e=[];this.rows.forEach((t=>{this.rowToString(t,e)}));return e.filter((e=>!e.hidden)).map((e=>e.text)).join("\n")}rowToString(e,t){this.rasterize(e).forEach(((r,n)=>{let s="";r.forEach(((r,i)=>{const{width:o}=e[i];const a=this.negatePadding(e[i]);let l=r;if(a>g.stringWidth(r)){l+=" ".repeat(a-g.stringWidth(r))}if(e[i].align&&e[i].align!=="left"&&this.wrap){const t=c[e[i].align];l=t(l,a);if(g.stringWidth(l)<a){l+=" ".repeat((o||0)-g.stringWidth(l)-1)}}const u=e[i].padding||[0,0,0,0];if(u[d]){s+=" ".repeat(u[d])}s+=addBorder(e[i],l,"| ");s+=l;s+=addBorder(e[i],l," |");if(u[A]){s+=" ".repeat(u[A])}if(n===0&&t.length>0){s=this.renderInline(s,t[t.length-1])}}));t.push({text:s.replace(/ +$/,""),span:e.span})}));return t}renderInline(e,t){const r=e.match(/^ */);const n=r?r[0].length:0;const s=t.text;const i=g.stringWidth(s.trimRight());if(!t.span){return e}if(!this.wrap){t.hidden=true;return s+e}if(n<i){return e}t.hidden=true;return s.trimRight()+" ".repeat(n-i)+e.trimLeft()}rasterize(e){const t=[];const r=this.columnWidths(e);let n;e.forEach(((e,s)=>{e.width=r[s];if(this.wrap){n=g.wrap(e.text,this.negatePadding(e),{hard:true}).split("\n")}else{n=e.text.split("\n")}if(e.border){n.unshift("."+"-".repeat(this.negatePadding(e)+2)+".");n.push("'"+"-".repeat(this.negatePadding(e)+2)+"'")}if(e.padding){n.unshift(...new Array(e.padding[l]||0).fill(""));n.push(...new Array(e.padding[u]||0).fill(""))}n.forEach(((e,r)=>{if(!t[r]){t.push([])}const n=t[r];for(let e=0;e<s;e++){if(n[e]===undefined){n.push("")}}n.push(e)}))}));return t}negatePadding(e){let t=e.width||0;if(e.padding){t-=(e.padding[d]||0)+(e.padding[A]||0)}if(e.border){t-=4}return t}columnWidths(e){if(!this.wrap){return e.map((e=>e.width||g.stringWidth(e.text)))}let t=e.length;let r=this.width;const n=e.map((e=>{if(e.width){t--;r-=e.width;return e.width}return undefined}));const s=t?Math.floor(r/t):0;return n.map(((t,r)=>{if(t===undefined){return Math.max(s,_minWidth(e[r]))}return t}))}}function addBorder(e,t,r){if(e.border){if(/[.']-+[.']/.test(t)){return""}if(t.trim().length!==0){return r}return" "}return""}function _minWidth(e){const t=e.padding||[];const r=1+(t[d]||0)+(t[A]||0);if(e.border){return r+4}return r}function getWindowWidth(){if(typeof process==="object"&&process.stdout&&process.stdout.columns){return process.stdout.columns}return 80}function alignRight(e,t){e=e.trim();const r=g.stringWidth(e);if(r<t){return" ".repeat(t-r)+e}return e}function alignCenter(e,t){e=e.trim();const r=g.stringWidth(e);if(r>=t){return e}return" ".repeat(t-r>>1)+e}let g;function cliui(e,t){g=t;return new UI({width:(e===null||e===void 0?void 0:e.width)||getWindowWidth(),wrap:e===null||e===void 0?void 0:e.wrap})}function ansiRegex({onlyFirst:e=false}={}){const t="(?:\\u0007|\\u001B\\u005C|\\u009C)";const r=`(?:\\u001B\\][\\s\\S]*?${t})`;const n="[\\u001B\\u009B][[\\]()#;?]*(?:\\d{1,4}(?:[;:]\\d{0,4})*)?[\\dA-PR-TZcf-nq-uy=><~]";const s=`${r}|${n}`;return new RegExp(s,e?undefined:"g")}const p=ansiRegex();function stripAnsi(e){if(typeof e!=="string"){throw new TypeError(`Expected a \`string\`, got \`${typeof e}\``)}return e.replace(p,"")}const h=161;const m=1114109;const f=[161,161,164,164,167,168,170,170,173,174,176,180,182,186,188,191,198,198,208,208,215,216,222,225,230,230,232,234,236,237,240,240,242,243,247,250,252,252,254,254,257,257,273,273,275,275,283,283,294,295,299,299,305,307,312,312,319,322,324,324,328,331,333,333,338,339,358,359,363,363,462,462,464,464,466,466,468,468,470,470,472,472,474,474,476,476,593,593,609,609,708,708,711,711,713,715,717,717,720,720,728,731,733,733,735,735,768,879,913,929,931,937,945,961,963,969,1025,1025,1040,1103,1105,1105,8208,8208,8211,8214,8216,8217,8220,8221,8224,8226,8228,8231,8240,8240,8242,8243,8245,8245,8251,8251,8254,8254,8308,8308,8319,8319,8321,8324,8364,8364,8451,8451,8453,8453,8457,8457,8467,8467,8470,8470,8481,8482,8486,8486,8491,8491,8531,8532,8539,8542,8544,8555,8560,8569,8585,8585,8592,8601,8632,8633,8658,8658,8660,8660,8679,8679,8704,8704,8706,8707,8711,8712,8715,8715,8719,8719,8721,8721,8725,8725,8730,8730,8733,8736,8739,8739,8741,8741,8743,8748,8750,8750,8756,8759,8764,8765,8776,8776,8780,8780,8786,8786,8800,8801,8804,8807,8810,8811,8814,8815,8834,8835,8838,8839,8853,8853,8857,8857,8869,8869,8895,8895,8978,8978,9312,9449,9451,9547,9552,9587,9600,9615,9618,9621,9632,9633,9635,9641,9650,9651,9654,9655,9660,9661,9664,9665,9670,9672,9675,9675,9678,9681,9698,9701,9711,9711,9733,9734,9737,9737,9742,9743,9756,9756,9758,9758,9792,9792,9794,9794,9824,9825,9827,9829,9831,9834,9836,9837,9839,9839,9886,9887,9919,9919,9926,9933,9935,9939,9941,9953,9955,9955,9960,9961,9963,9969,9972,9972,9974,9977,9979,9980,9982,9983,10045,10045,10102,10111,11094,11097,12872,12879,57344,63743,65024,65039,65533,65533,127232,127242,127248,127277,127280,127337,127344,127373,127375,127376,127387,127404,917760,917999,983040,1048573,1048576,1114109];const C=12288;const y=65510;const E=[12288,12288,65281,65376,65504,65510];const I=8361;const B=65518;const Q=null&&[8361,8361,65377,65470,65474,65479,65482,65487,65490,65495,65498,65500,65512,65518];const b=32;const S=10630;const w=null&&[32,126,162,163,165,166,172,172,175,175,10214,10221,10629,10630];const D=4352;const N=262141;const x=[4352,4447,8986,8987,9001,9002,9193,9196,9200,9200,9203,9203,9725,9726,9748,9749,9776,9783,9800,9811,9855,9855,9866,9871,9875,9875,9889,9889,9898,9899,9917,9918,9924,9925,9934,9934,9940,9940,9962,9962,9970,9971,9973,9973,9978,9978,9981,9981,9989,9989,9994,9995,10024,10024,10060,10060,10062,10062,10067,10069,10071,10071,10133,10135,10160,10160,10175,10175,11035,11036,11088,11088,11093,11093,11904,11929,11931,12019,12032,12245,12272,12287,12289,12350,12353,12438,12441,12543,12549,12591,12593,12686,12688,12773,12783,12830,12832,12871,12880,42124,42128,42182,43360,43388,44032,55203,63744,64255,65040,65049,65072,65106,65108,65126,65128,65131,94176,94180,94192,94198,94208,101589,101631,101662,101760,101874,110576,110579,110581,110587,110589,110590,110592,110882,110898,110898,110928,110930,110933,110933,110948,110951,110960,111355,119552,119638,119648,119670,126980,126980,127183,127183,127374,127374,127377,127386,127488,127490,127504,127547,127552,127560,127568,127569,127584,127589,127744,127776,127789,127797,127799,127868,127870,127891,127904,127946,127951,127955,127968,127984,127988,127988,127992,128062,128064,128064,128066,128252,128255,128317,128331,128334,128336,128359,128378,128378,128405,128406,128420,128420,128507,128591,128640,128709,128716,128716,128720,128722,128725,128728,128732,128735,128747,128748,128756,128764,128992,129003,129008,129008,129292,129338,129340,129349,129351,129535,129648,129660,129664,129674,129678,129734,129736,129736,129741,129756,129759,129770,129775,129784,131072,196605,196608,262141];const utilities_isInRange=(e,t)=>{let r=0;let n=Math.floor(e.length/2)-1;while(r<=n){const s=Math.floor((r+n)/2);const i=s*2;if(t<e[i]){n=s-1}else if(t>e[i+1]){r=s+1}else{return true}}return false};const R=19968;const[v,k]=findWideFastPathRange(x);function findWideFastPathRange(e){let t=e[0];let r=e[1];for(let n=0;n<e.length;n+=2){const s=e[n];const i=e[n+1];if(R>=s&&R<=i){return[s,i]}if(i-s>r-t){t=s;r=i}}return[t,r]}const isAmbiguous=e=>{if(e<h||e>m){return false}return utilities_isInRange(f,e)};const isFullWidth=e=>{if(e<C||e>y){return false}return utilities_isInRange(E,e)};const isHalfWidth=e=>{if(e<halfwidthMinimalCodePoint||e>halfwidthMaximumCodePoint){return false}return isInRange(halfwidthRanges,e)};const isNarrow=e=>{if(e<narrowMinimalCodePoint||e>narrowMaximumCodePoint){return false}return isInRange(narrowRanges,e)};const isWide=e=>{if(e>=v&&e<=k){return true}if(e<D||e>N){return false}return utilities_isInRange(x,e)};function lookup_getCategory(e){if(isAmbiguous(e)){return"ambiguous"}if(isFullWidth(e)){return"fullwidth"}if(isHalfWidth(e)){return"halfwidth"}if(isNarrow(e)){return"narrow"}if(isWide(e)){return"wide"}return"neutral"}function validate(e){if(!Number.isSafeInteger(e)){throw new TypeError(`Expected a code point, got \`${typeof e}\`.`)}}function eastAsianWidthType(e){validate(e);return getCategory(e)}function eastAsianWidth(e,{ambiguousAsWide:t=false}={}){validate(e);if(isFullWidth(e)||isWide(e)||t&&isAmbiguous(e)){return 2}return 1}var F=__nccwpck_require__(872);const T=new Intl.Segmenter;const M=/^\p{Default_Ignorable_Code_Point}$/u;function stringWidth(e,t={}){if(typeof e!=="string"||e.length===0){return 0}const{ambiguousIsNarrow:r=true,countAnsiEscapeCodes:n=false}=t;if(!n){e=stripAnsi(e)}if(e.length===0){return 0}let s=0;const i={ambiguousAsWide:!r};for(const{segment:t}of T.segment(e)){const e=t.codePointAt(0);if(e<=31||e>=127&&e<=159){continue}if(e>=8203&&e<=8207||e===65279){continue}if(e>=768&&e<=879||e>=6832&&e<=6911||e>=7616&&e<=7679||e>=8400&&e<=8447||e>=65056&&e<=65071){continue}if(e>=55296&&e<=57343){continue}if(e>=65024&&e<=65039){continue}if(M.test(t)){continue}if(F().test(t)){s+=2;continue}s+=eastAsianWidth(e,i)}return s}function ansi_regex_ansiRegex({onlyFirst:e=false}={}){const t="(?:\\u0007|\\u001B\\u005C|\\u009C)";const r=`(?:\\u001B\\][\\s\\S]*?${t})`;const n="[\\u001B\\u009B][[\\]()#;?]*(?:\\d{1,4}(?:[;:]\\d{0,4})*)?[\\dA-PR-TZcf-nq-uy=><~]";const s=`${r}|${n}`;return new RegExp(s,e?undefined:"g")}const P=ansi_regex_ansiRegex();function strip_ansi_stripAnsi(e){if(typeof e!=="string"){throw new TypeError(`Expected a \`string\`, got \`${typeof e}\``)}return e.replace(P,"")}function node_modules_ansi_regex_ansiRegex({onlyFirst:e=false}={}){const t="(?:\\u0007|\\u001B\\u005C|\\u009C)";const r=`(?:\\u001B\\][\\s\\S]*?${t})`;const n="[\\u001B\\u009B][[\\]()#;?]*(?:\\d{1,4}(?:[;:]\\d{0,4})*)?[\\dA-PR-TZcf-nq-uy=><~]";const s=`${r}|${n}`;return new RegExp(s,e?undefined:"g")}const L=node_modules_ansi_regex_ansiRegex();function node_modules_strip_ansi_stripAnsi(e){if(typeof e!=="string"){throw new TypeError(`Expected a \`string\`, got \`${typeof e}\``)}return e.replace(L,"")}const U=10;const wrapAnsi16=(e=0)=>t=>`[${t+e}m`;const wrapAnsi256=(e=0)=>t=>`[${38+e};5;${t}m`;const wrapAnsi16m=(e=0)=>(t,r,n)=>`[${38+e};2;${t};${r};${n}m`;const O={modifier:{reset:[0,0],bold:[1,22],dim:[2,22],italic:[3,23],underline:[4,24],overline:[53,55],inverse:[7,27],hidden:[8,28],strikethrough:[9,29]},color:{black:[30,39],red:[31,39],green:[32,39],yellow:[33,39],blue:[34,39],magenta:[35,39],cyan:[36,39],white:[37,39],blackBright:[90,39],gray:[90,39],grey:[90,39],redBright:[91,39],greenBright:[92,39],yellowBright:[93,39],blueBright:[94,39],magentaBright:[95,39],cyanBright:[96,39],whiteBright:[97,39]},bgColor:{bgBlack:[40,49],bgRed:[41,49],bgGreen:[42,49],bgYellow:[43,49],bgBlue:[44,49],bgMagenta:[45,49],bgCyan:[46,49],bgWhite:[47,49],bgBlackBright:[100,49],bgGray:[100,49],bgGrey:[100,49],bgRedBright:[101,49],bgGreenBright:[102,49],bgYellowBright:[103,49],bgBlueBright:[104,49],bgMagentaBright:[105,49],bgCyanBright:[106,49],bgWhiteBright:[107,49]}};const H=Object.keys(O.modifier);const _=Object.keys(O.color);const q=Object.keys(O.bgColor);const G=[..._,...q];function assembleStyles(){const e=new Map;for(const[t,r]of Object.entries(O)){for(const[t,n]of Object.entries(r)){O[t]={open:`[${n[0]}m`,close:`[${n[1]}m`};r[t]=O[t];e.set(n[0],n[1])}Object.defineProperty(O,t,{value:r,enumerable:false})}Object.defineProperty(O,"codes",{value:e,enumerable:false});O.color.close="[39m";O.bgColor.close="[49m";O.color.ansi=wrapAnsi16();O.color.ansi256=wrapAnsi256();O.color.ansi16m=wrapAnsi16m();O.bgColor.ansi=wrapAnsi16(U);O.bgColor.ansi256=wrapAnsi256(U);O.bgColor.ansi16m=wrapAnsi16m(U);Object.defineProperties(O,{rgbToAnsi256:{value(e,t,r){if(e===t&&t===r){if(e<8){return 16}if(e>248){return 231}return Math.round((e-8)/247*24)+232}return 16+36*Math.round(e/255*5)+6*Math.round(t/255*5)+Math.round(r/255*5)},enumerable:false},hexToRgb:{value(e){const t=/[a-f\d]{6}|[a-f\d]{3}/i.exec(e.toString(16));if(!t){return[0,0,0]}let[r]=t;if(r.length===3){r=[...r].map((e=>e+e)).join("")}const n=Number.parseInt(r,16);return[n>>16&255,n>>8&255,n&255]},enumerable:false},hexToAnsi256:{value:e=>O.rgbToAnsi256(...O.hexToRgb(e)),enumerable:false},ansi256ToAnsi:{value(e){if(e<8){return 30+e}if(e<16){return 90+(e-8)}let t;let r;let n;if(e>=232){t=((e-232)*10+8)/255;r=t;n=t}else{e-=16;const s=e%36;t=Math.floor(e/36)/5;r=Math.floor(s/6)/5;n=s%6/5}const s=Math.max(t,r,n)*2;if(s===0){return 30}let i=30+(Math.round(n)<<2|Math.round(r)<<1|Math.round(t));if(s===2){i+=60}return i},enumerable:false},rgbToAnsi:{value:(e,t,r)=>O.ansi256ToAnsi(O.rgbToAnsi256(e,t,r)),enumerable:false},hexToAnsi:{value:e=>O.ansi256ToAnsi(O.hexToAnsi256(e)),enumerable:false}});return O}const z=assembleStyles();const Y=z;const V=new Set(["",""]);const J=39;const W="";const j="[";const K="]";const $="m";const X=`${K}8;;`;const wrapAnsiCode=e=>`${V.values().next().value}${j}${e}${$}`;const wrapAnsiHyperlink=e=>`${V.values().next().value}${X}${e}${W}`;const wordLengths=e=>e.split(" ").map((e=>stringWidth(e)));const wrapWord=(e,t,r)=>{const n=[...t];let s=false;let i=false;let o=stringWidth(node_modules_strip_ansi_stripAnsi(e.at(-1)));for(const[t,a]of n.entries()){const c=stringWidth(a);if(o+c<=r){e[e.length-1]+=a}else{e.push(a);o=0}if(V.has(a)){s=true;const e=n.slice(t+1,t+1+X.length).join("");i=e===X}if(s){if(i){if(a===W){s=false;i=false}}else if(a===$){s=false}continue}o+=c;if(o===r&&t<n.length-1){e.push("");o=0}}if(!o&&e.at(-1).length>0&&e.length>1){e[e.length-2]+=e.pop()}};const stringVisibleTrimSpacesRight=e=>{const t=e.split(" ");let r=t.length;while(r>0){if(stringWidth(t[r-1])>0){break}r--}if(r===t.length){return e}return t.slice(0,r).join(" ")+t.slice(r).join("")};const wrap_ansi_exec=(e,t,r={})=>{if(r.trim!==false&&e.trim()===""){return""}let n="";let s;let i;const o=wordLengths(e);let a=[""];for(const[n,s]of e.split(" ").entries()){if(r.trim!==false){a[a.length-1]=a.at(-1).trimStart()}let e=stringWidth(a.at(-1));if(n!==0){if(e>=t&&(r.wordWrap===false||r.trim===false)){a.push("");e=0}if(e>0||r.trim===false){a[a.length-1]+=" ";e++}}if(r.hard&&o[n]>t){const r=t-e;const i=1+Math.floor((o[n]-r-1)/t);const c=Math.floor((o[n]-1)/t);if(c<i){a.push("")}wrapWord(a,s,t);continue}if(e+o[n]>t&&e>0&&o[n]>0){if(r.wordWrap===false&&e<t){wrapWord(a,s,t);continue}a.push("")}if(e+o[n]>t&&r.wordWrap===false){wrapWord(a,s,t);continue}a[a.length-1]+=s}if(r.trim!==false){a=a.map((e=>stringVisibleTrimSpacesRight(e)))}const c=a.join("\n");const l=[...c];let A=0;for(const[e,t]of l.entries()){n+=t;if(V.has(t)){const{groups:e}=new RegExp(`(?:\\${j}(?<code>\\d+)m|\\${X}(?<uri>.*)${W})`).exec(c.slice(A))||{groups:{}};if(e.code!==undefined){const t=Number.parseFloat(e.code);s=t===J?undefined:t}else if(e.uri!==undefined){i=e.uri.length===0?undefined:e.uri}}const r=Y.codes.get(Number(s));if(l[e+1]==="\n"){if(i){n+=wrapAnsiHyperlink("")}if(s&&r){n+=wrapAnsiCode(r)}}else if(t==="\n"){if(s&&r){n+=wrapAnsiCode(s)}if(i){n+=wrapAnsiHyperlink(i)}}A+=t.length}return n};function wrapAnsi(e,t,r){return String(e).normalize().replaceAll("\r\n","\n").split("\n").map((e=>wrap_ansi_exec(e,t,r))).join("\n")}function ui(e){return cliui(e,{stringWidth:stringWidth,stripAnsi:strip_ansi_stripAnsi,wrap:wrapAnsi})}function sync(e,t){let r=(0,o.resolve)(".",e);let n,s=(0,i.statSync)(r);if(!s.isDirectory()){r=(0,o.dirname)(r)}while(true){n=t(r,(0,i.readdirSync)(r));if(n)return(0,o.resolve)(r,n);r=(0,o.dirname)(n=r);if(n===r)break}}var Z=__nccwpck_require__(9023);var ee=__nccwpck_require__(7016);
|
||
/**
|
||
* @license
|
||
* Copyright (c) 2016, Contributors
|
||
* SPDX-License-Identifier: ISC
|
||
*/
|
||
function camelCase(e){const t=e!==e.toLowerCase()&&e!==e.toUpperCase();if(!t){e=e.toLowerCase()}if(e.indexOf("-")===-1&&e.indexOf("_")===-1){return e}else{let t="";let r=false;const n=e.match(/^-+/);for(let s=n?n[0].length:0;s<e.length;s++){let n=e.charAt(s);if(r){r=false;n=n.toUpperCase()}if(s!==0&&(n==="-"||n==="_")){r=true}else if(n!=="-"&&n!=="_"){t+=n}}return t}}function decamelize(e,t){const r=e.toLowerCase();t=t||"-";let n="";for(let s=0;s<e.length;s++){const i=r.charAt(s);const o=e.charAt(s);if(i!==o&&s>0){n+=`${t}${r.charAt(s)}`}else{n+=o}}return n}function looksLikeNumber(e){if(e===null||e===undefined)return false;if(typeof e==="number")return true;if(/^0x[0-9a-f]+$/i.test(e))return true;if(/^0[^.]/.test(e))return false;return/^[-]?(?:\d+(?:\.\d*)?|\.\d+)(e[-+]?\d+)?$/.test(e)}
|
||
/**
|
||
* @license
|
||
* Copyright (c) 2016, Contributors
|
||
* SPDX-License-Identifier: ISC
|
||
*/
|
||
function tokenizeArgString(e){if(Array.isArray(e)){return e.map((e=>typeof e!=="string"?e+"":e))}e=e.trim();let t=0;let r=null;let n=null;let s=null;const i=[];for(let o=0;o<e.length;o++){r=n;n=e.charAt(o);if(n===" "&&!s){if(!(r===" ")){t++}continue}if(n===s){s=null}else if((n==="'"||n==='"')&&!s){s=n}if(!i[t])i[t]="";i[t]+=n}return i}
|
||
/**
|
||
* @license
|
||
* Copyright (c) 2016, Contributors
|
||
* SPDX-License-Identifier: ISC
|
||
*/
|
||
var te;(function(e){e["BOOLEAN"]="boolean";e["STRING"]="string";e["NUMBER"]="number";e["ARRAY"]="array"})(te||(te={}));
|
||
/**
|
||
* @license
|
||
* Copyright (c) 2016, Contributors
|
||
* SPDX-License-Identifier: ISC
|
||
*/
|
||
let re;class YargsParser{constructor(e){re=e}parse(e,t){const r=Object.assign({alias:undefined,array:undefined,boolean:undefined,config:undefined,configObjects:undefined,configuration:undefined,coerce:undefined,count:undefined,default:undefined,envPrefix:undefined,narg:undefined,normalize:undefined,string:undefined,number:undefined,__:undefined,key:undefined},t);const n=tokenizeArgString(e);const s=typeof e==="string";const i=combineAliases(Object.assign(Object.create(null),r.alias));const o=Object.assign({"boolean-negation":true,"camel-case-expansion":true,"combine-arrays":false,"dot-notation":true,"duplicate-arguments-array":true,"flatten-duplicate-arrays":true,"greedy-arrays":true,"halt-at-non-option":false,"nargs-eats-options":false,"negation-prefix":"no-","parse-numbers":true,"parse-positional-numbers":true,"populate--":false,"set-placeholder-key":false,"short-option-groups":true,"strip-aliased":false,"strip-dashed":false,"unknown-options-as-args":false},r.configuration);const a=Object.assign(Object.create(null),r.default);const c=r.configObjects||[];const l=r.envPrefix;const A=o["populate--"];const u=A?"--":"_";const d=Object.create(null);const g=Object.create(null);const p=r.__||re.format;const h={aliases:Object.create(null),arrays:Object.create(null),bools:Object.create(null),strings:Object.create(null),numbers:Object.create(null),counts:Object.create(null),normalize:Object.create(null),configs:Object.create(null),nargs:Object.create(null),coercions:Object.create(null),keys:[]};const m=/^-([0-9]+(\.[0-9]+)?|\.[0-9]+)$/;const f=new RegExp("^--"+o["negation-prefix"]+"(.+)");[].concat(r.array||[]).filter(Boolean).forEach((function(e){const t=typeof e==="object"?e.key:e;const r=Object.keys(e).map((function(e){const t={boolean:"bools",string:"strings",number:"numbers"};return t[e]})).filter(Boolean).pop();if(r){h[r][t]=true}h.arrays[t]=true;h.keys.push(t)}));[].concat(r.boolean||[]).filter(Boolean).forEach((function(e){h.bools[e]=true;h.keys.push(e)}));[].concat(r.string||[]).filter(Boolean).forEach((function(e){h.strings[e]=true;h.keys.push(e)}));[].concat(r.number||[]).filter(Boolean).forEach((function(e){h.numbers[e]=true;h.keys.push(e)}));[].concat(r.count||[]).filter(Boolean).forEach((function(e){h.counts[e]=true;h.keys.push(e)}));[].concat(r.normalize||[]).filter(Boolean).forEach((function(e){h.normalize[e]=true;h.keys.push(e)}));if(typeof r.narg==="object"){Object.entries(r.narg).forEach((([e,t])=>{if(typeof t==="number"){h.nargs[e]=t;h.keys.push(e)}}))}if(typeof r.coerce==="object"){Object.entries(r.coerce).forEach((([e,t])=>{if(typeof t==="function"){h.coercions[e]=t;h.keys.push(e)}}))}if(typeof r.config!=="undefined"){if(Array.isArray(r.config)||typeof r.config==="string"){[].concat(r.config).filter(Boolean).forEach((function(e){h.configs[e]=true}))}else if(typeof r.config==="object"){Object.entries(r.config).forEach((([e,t])=>{if(typeof t==="boolean"||typeof t==="function"){h.configs[e]=t}}))}}extendAliases(r.key,i,r.default,h.arrays);Object.keys(a).forEach((function(e){(h.aliases[e]||[]).forEach((function(t){a[t]=a[e]}))}));let C=null;checkConfiguration();let y=[];const E=Object.assign(Object.create(null),{_:[]});const I={};for(let e=0;e<n.length;e++){const t=n[e];const r=t.replace(/^-{3,}/,"---");let s;let i;let a;let c;let l;let A;if(t!=="--"&&/^-/.test(t)&&isUnknownOptionAsArg(t)){pushPositional(t)}else if(r.match(/^---+(=|$)/)){pushPositional(t);continue}else if(t.match(/^--.+=/)||!o["short-option-groups"]&&t.match(/^-.+=/)){c=t.match(/^--?([^=]+)=([\s\S]*)$/);if(c!==null&&Array.isArray(c)&&c.length>=3){if(checkAllAliases(c[1],h.arrays)){e=eatArray(e,c[1],n,c[2])}else if(checkAllAliases(c[1],h.nargs)!==false){e=eatNargs(e,c[1],n,c[2])}else{setArg(c[1],c[2],true)}}}else if(t.match(f)&&o["boolean-negation"]){c=t.match(f);if(c!==null&&Array.isArray(c)&&c.length>=2){i=c[1];setArg(i,checkAllAliases(i,h.arrays)?[false]:false)}}else if(t.match(/^--.+/)||!o["short-option-groups"]&&t.match(/^-[^-]+/)){c=t.match(/^--?(.+)/);if(c!==null&&Array.isArray(c)&&c.length>=2){i=c[1];if(checkAllAliases(i,h.arrays)){e=eatArray(e,i,n)}else if(checkAllAliases(i,h.nargs)!==false){e=eatNargs(e,i,n)}else{l=n[e+1];if(l!==undefined&&(!l.match(/^-/)||l.match(m))&&!checkAllAliases(i,h.bools)&&!checkAllAliases(i,h.counts)){setArg(i,l);e++}else if(/^(true|false)$/.test(l)){setArg(i,l);e++}else{setArg(i,defaultValue(i))}}}}else if(t.match(/^-.\..+=/)){c=t.match(/^-([^=]+)=([\s\S]*)$/);if(c!==null&&Array.isArray(c)&&c.length>=3){setArg(c[1],c[2])}}else if(t.match(/^-.\..+/)&&!t.match(m)){l=n[e+1];c=t.match(/^-(.\..+)/);if(c!==null&&Array.isArray(c)&&c.length>=2){i=c[1];if(l!==undefined&&!l.match(/^-/)&&!checkAllAliases(i,h.bools)&&!checkAllAliases(i,h.counts)){setArg(i,l);e++}else{setArg(i,defaultValue(i))}}}else if(t.match(/^-[^-]+/)&&!t.match(m)){a=t.slice(1,-1).split("");s=false;for(let r=0;r<a.length;r++){l=t.slice(r+2);if(a[r+1]&&a[r+1]==="="){A=t.slice(r+3);i=a[r];if(checkAllAliases(i,h.arrays)){e=eatArray(e,i,n,A)}else if(checkAllAliases(i,h.nargs)!==false){e=eatNargs(e,i,n,A)}else{setArg(i,A)}s=true;break}if(l==="-"){setArg(a[r],l);continue}if(/[A-Za-z]/.test(a[r])&&/^-?\d+(\.\d*)?(e-?\d+)?$/.test(l)&&checkAllAliases(l,h.bools)===false){setArg(a[r],l);s=true;break}if(a[r+1]&&a[r+1].match(/\W/)){setArg(a[r],l);s=true;break}else{setArg(a[r],defaultValue(a[r]))}}i=t.slice(-1)[0];if(!s&&i!=="-"){if(checkAllAliases(i,h.arrays)){e=eatArray(e,i,n)}else if(checkAllAliases(i,h.nargs)!==false){e=eatNargs(e,i,n)}else{l=n[e+1];if(l!==undefined&&(!/^(-|--)[^-]/.test(l)||l.match(m))&&!checkAllAliases(i,h.bools)&&!checkAllAliases(i,h.counts)){setArg(i,l);e++}else if(/^(true|false)$/.test(l)){setArg(i,l);e++}else{setArg(i,defaultValue(i))}}}}else if(t.match(/^-[0-9]$/)&&t.match(m)&&checkAllAliases(t.slice(1),h.bools)){i=t.slice(1);setArg(i,defaultValue(i))}else if(t==="--"){y=n.slice(e+1);break}else if(o["halt-at-non-option"]){y=n.slice(e);break}else{pushPositional(t)}}applyEnvVars(E,true);applyEnvVars(E,false);setConfig(E);setConfigObjects();applyDefaultsAndAliases(E,h.aliases,a,true);applyCoercions(E);if(o["set-placeholder-key"])setPlaceholderKeys(E);Object.keys(h.counts).forEach((function(e){if(!hasKey(E,e.split(".")))setArg(e,0)}));if(A&&y.length)E[u]=[];y.forEach((function(e){E[u].push(e)}));if(o["camel-case-expansion"]&&o["strip-dashed"]){Object.keys(E).filter((e=>e!=="--"&&e.includes("-"))).forEach((e=>{delete E[e]}))}if(o["strip-aliased"]){[].concat(...Object.keys(i).map((e=>i[e]))).forEach((e=>{if(o["camel-case-expansion"]&&e.includes("-")){delete E[e.split(".").map((e=>camelCase(e))).join(".")]}delete E[e]}))}function pushPositional(e){const t=maybeCoerceNumber("_",e);if(typeof t==="string"||typeof t==="number"){E._.push(t)}}function eatNargs(e,t,r,n){let s;let i=checkAllAliases(t,h.nargs);i=typeof i!=="number"||isNaN(i)?1:i;if(i===0){if(!isUndefined(n)){C=Error(p("Argument unexpected for: %s",t))}setArg(t,defaultValue(t));return e}let a=isUndefined(n)?0:1;if(o["nargs-eats-options"]){if(r.length-(e+1)+a<i){C=Error(p("Not enough arguments following: %s",t))}a=i}else{for(s=e+1;s<r.length;s++){if(!r[s].match(/^-[^0-9]/)||r[s].match(m)||isUnknownOptionAsArg(r[s]))a++;else break}if(a<i)C=Error(p("Not enough arguments following: %s",t))}let c=Math.min(a,i);if(!isUndefined(n)&&c>0){setArg(t,n);c--}for(s=e+1;s<c+e+1;s++){setArg(t,r[s])}return e+c}function eatArray(e,t,r,n){let i=[];let c=n||r[e+1];const l=checkAllAliases(t,h.nargs);if(checkAllAliases(t,h.bools)&&!/^(true|false)$/.test(c)){i.push(true)}else if(isUndefined(c)||isUndefined(n)&&/^-/.test(c)&&!m.test(c)&&!isUnknownOptionAsArg(c)){if(a[t]!==undefined){const e=a[t];i=Array.isArray(e)?e:[e]}}else{if(!isUndefined(n)){i.push(processValue(t,n,true))}for(let n=e+1;n<r.length;n++){if(!o["greedy-arrays"]&&i.length>0||l&&typeof l==="number"&&i.length>=l)break;c=r[n];if(/^-/.test(c)&&!m.test(c)&&!isUnknownOptionAsArg(c))break;e=n;i.push(processValue(t,c,s))}}if(typeof l==="number"&&(l&&i.length<l||isNaN(l)&&i.length===0)){C=Error(p("Not enough arguments following: %s",t))}setArg(t,i);return e}function setArg(e,t,r=s){if(/-/.test(e)&&o["camel-case-expansion"]){const t=e.split(".").map((function(e){return camelCase(e)})).join(".");addNewAlias(e,t)}const n=processValue(e,t,r);const i=e.split(".");setKey(E,i,n);if(h.aliases[e]){h.aliases[e].forEach((function(e){const t=e.split(".");setKey(E,t,n)}))}if(i.length>1&&o["dot-notation"]){(h.aliases[i[0]]||[]).forEach((function(t){let r=t.split(".");const s=[].concat(i);s.shift();r=r.concat(s);if(!(h.aliases[e]||[]).includes(r.join("."))){setKey(E,r,n)}}))}if(checkAllAliases(e,h.normalize)&&!checkAllAliases(e,h.arrays)){const r=[e].concat(h.aliases[e]||[]);r.forEach((function(e){Object.defineProperty(I,e,{enumerable:true,get(){return t},set(e){t=typeof e==="string"?re.normalize(e):e}})}))}}function addNewAlias(e,t){if(!(h.aliases[e]&&h.aliases[e].length)){h.aliases[e]=[t];d[t]=true}if(!(h.aliases[t]&&h.aliases[t].length)){addNewAlias(t,e)}}function processValue(e,t,r){if(r){t=stripQuotes(t)}if(checkAllAliases(e,h.bools)||checkAllAliases(e,h.counts)){if(typeof t==="string")t=t==="true"}let n=Array.isArray(t)?t.map((function(t){return maybeCoerceNumber(e,t)})):maybeCoerceNumber(e,t);if(checkAllAliases(e,h.counts)&&(isUndefined(n)||typeof n==="boolean")){n=increment()}if(checkAllAliases(e,h.normalize)&&checkAllAliases(e,h.arrays)){if(Array.isArray(t))n=t.map((e=>re.normalize(e)));else n=re.normalize(t)}return n}function maybeCoerceNumber(e,t){if(!o["parse-positional-numbers"]&&e==="_")return t;if(!checkAllAliases(e,h.strings)&&!checkAllAliases(e,h.bools)&&!Array.isArray(t)){const r=looksLikeNumber(t)&&o["parse-numbers"]&&Number.isSafeInteger(Math.floor(parseFloat(`${t}`)));if(r||!isUndefined(t)&&checkAllAliases(e,h.numbers)){t=Number(t)}}return t}function setConfig(e){const t=Object.create(null);applyDefaultsAndAliases(t,h.aliases,a);Object.keys(h.configs).forEach((function(r){const n=e[r]||t[r];if(n){try{let e=null;const t=re.resolve(re.cwd(),n);const s=h.configs[r];if(typeof s==="function"){try{e=s(t)}catch(t){e=t}if(e instanceof Error){C=e;return}}else{e=re.require(t)}setConfigObject(e)}catch(t){if(t.name==="PermissionDenied")C=t;else if(e[r])C=Error(p("Invalid JSON config file: %s",n))}}}))}function setConfigObject(e,t){Object.keys(e).forEach((function(r){const n=e[r];const s=t?t+"."+r:r;if(typeof n==="object"&&n!==null&&!Array.isArray(n)&&o["dot-notation"]){setConfigObject(n,s)}else{if(!hasKey(E,s.split("."))||checkAllAliases(s,h.arrays)&&o["combine-arrays"]){setArg(s,n)}}}))}function setConfigObjects(){if(typeof c!=="undefined"){c.forEach((function(e){setConfigObject(e)}))}}function applyEnvVars(e,t){if(typeof l==="undefined")return;const r=typeof l==="string"?l:"";const n=re.env();Object.keys(n).forEach((function(s){if(r===""||s.lastIndexOf(r,0)===0){const i=s.split("__").map((function(e,t){if(t===0){e=e.substring(r.length)}return camelCase(e)}));if((t&&h.configs[i.join(".")]||!t)&&!hasKey(e,i)){setArg(i.join("."),n[s])}}}))}function applyCoercions(e){let t;const r=new Set;Object.keys(e).forEach((function(n){if(!r.has(n)){t=checkAllAliases(n,h.coercions);if(typeof t==="function"){try{const s=maybeCoerceNumber(n,t(e[n]));[].concat(h.aliases[n]||[],n).forEach((t=>{r.add(t);e[t]=s}))}catch(e){C=e}}}}))}function setPlaceholderKeys(e){h.keys.forEach((t=>{if(~t.indexOf("."))return;if(typeof e[t]==="undefined")e[t]=undefined}));return e}function applyDefaultsAndAliases(e,t,r,n=false){Object.keys(r).forEach((function(s){if(!hasKey(e,s.split("."))){setKey(e,s.split("."),r[s]);if(n)g[s]=true;(t[s]||[]).forEach((function(t){if(hasKey(e,t.split(".")))return;setKey(e,t.split("."),r[s])}))}}))}function hasKey(e,t){let r=e;if(!o["dot-notation"])t=[t.join(".")];t.slice(0,-1).forEach((function(e){r=r[e]||{}}));const n=t[t.length-1];if(typeof r!=="object")return false;else return n in r}function setKey(e,t,r){let n=e;if(!o["dot-notation"])t=[t.join(".")];t.slice(0,-1).forEach((function(e){e=sanitizeKey(e);if(typeof n==="object"&&n[e]===undefined){n[e]={}}if(typeof n[e]!=="object"||Array.isArray(n[e])){if(Array.isArray(n[e])){n[e].push({})}else{n[e]=[n[e],{}]}n=n[e][n[e].length-1]}else{n=n[e]}}));const s=sanitizeKey(t[t.length-1]);const i=checkAllAliases(t.join("."),h.arrays);const a=Array.isArray(r);let c=o["duplicate-arguments-array"];if(!c&&checkAllAliases(s,h.nargs)){c=true;if(!isUndefined(n[s])&&h.nargs[s]===1||Array.isArray(n[s])&&n[s].length===h.nargs[s]){n[s]=undefined}}if(r===increment()){n[s]=increment(n[s])}else if(Array.isArray(n[s])){if(c&&i&&a){n[s]=o["flatten-duplicate-arrays"]?n[s].concat(r):(Array.isArray(n[s][0])?n[s]:[n[s]]).concat([r])}else if(!c&&Boolean(i)===Boolean(a)){n[s]=r}else{n[s]=n[s].concat([r])}}else if(n[s]===undefined&&i){n[s]=a?r:[r]}else if(c&&!(n[s]===undefined||checkAllAliases(s,h.counts)||checkAllAliases(s,h.bools))){n[s]=[n[s],r]}else{n[s]=r}}function extendAliases(...e){e.forEach((function(e){Object.keys(e||{}).forEach((function(e){if(h.aliases[e])return;h.aliases[e]=[].concat(i[e]||[]);h.aliases[e].concat(e).forEach((function(t){if(/-/.test(t)&&o["camel-case-expansion"]){const r=camelCase(t);if(r!==e&&h.aliases[e].indexOf(r)===-1){h.aliases[e].push(r);d[r]=true}}}));h.aliases[e].concat(e).forEach((function(t){if(t.length>1&&/[A-Z]/.test(t)&&o["camel-case-expansion"]){const r=decamelize(t,"-");if(r!==e&&h.aliases[e].indexOf(r)===-1){h.aliases[e].push(r);d[r]=true}}}));h.aliases[e].forEach((function(t){h.aliases[t]=[e].concat(h.aliases[e].filter((function(e){return t!==e})))}))}))}))}function checkAllAliases(e,t){const r=[].concat(h.aliases[e]||[],e);const n=Object.keys(t);const s=r.find((e=>n.includes(e)));return s?t[s]:false}function hasAnyFlag(e){const t=Object.keys(h);const r=[].concat(t.map((e=>h[e])));return r.some((function(t){return Array.isArray(t)?t.includes(e):t[e]}))}function hasFlagsMatching(e,...t){const r=[].concat(...t);return r.some((function(t){const r=e.match(t);return r&&hasAnyFlag(r[1])}))}function hasAllShortFlags(e){if(e.match(m)||!e.match(/^-[^-]+/)){return false}let t=true;let r;const n=e.slice(1).split("");for(let s=0;s<n.length;s++){r=e.slice(s+2);if(!hasAnyFlag(n[s])){t=false;break}if(n[s+1]&&n[s+1]==="="||r==="-"||/[A-Za-z]/.test(n[s])&&/^-?\d+(\.\d*)?(e-?\d+)?$/.test(r)||n[s+1]&&n[s+1].match(/\W/)){break}}return t}function isUnknownOptionAsArg(e){return o["unknown-options-as-args"]&&isUnknownOption(e)}function isUnknownOption(e){e=e.replace(/^-{3,}/,"--");if(e.match(m)){return false}if(hasAllShortFlags(e)){return false}const t=/^-+([^=]+?)=[\s\S]*$/;const r=/^-+([^=]+?)$/;const n=/^-+([^=]+?)-$/;const s=/^-+([^=]+?\d+)$/;const i=/^-+([^=]+?)\W+.*$/;return!hasFlagsMatching(e,t,f,r,n,s,i)}function defaultValue(e){if(!checkAllAliases(e,h.bools)&&!checkAllAliases(e,h.counts)&&`${e}`in a){return a[e]}else{return defaultForType(guessType(e))}}function defaultForType(e){const t={[te.BOOLEAN]:true,[te.STRING]:"",[te.NUMBER]:undefined,[te.ARRAY]:[]};return t[e]}function guessType(e){let t=te.BOOLEAN;if(checkAllAliases(e,h.strings))t=te.STRING;else if(checkAllAliases(e,h.numbers))t=te.NUMBER;else if(checkAllAliases(e,h.bools))t=te.BOOLEAN;else if(checkAllAliases(e,h.arrays))t=te.ARRAY;return t}function isUndefined(e){return e===undefined}function checkConfiguration(){Object.keys(h.counts).find((e=>{if(checkAllAliases(e,h.arrays)){C=Error(p("Invalid configuration: %s, opts.count excludes opts.array.",e));return true}else if(checkAllAliases(e,h.nargs)){C=Error(p("Invalid configuration: %s, opts.count excludes opts.narg.",e));return true}return false}))}return{aliases:Object.assign({},h.aliases),argv:Object.assign(I,E),configuration:o,defaulted:Object.assign({},g),error:C,newAliases:Object.assign({},d)}}}function combineAliases(e){const t=[];const r=Object.create(null);let n=true;Object.keys(e).forEach((function(r){t.push([].concat(e[r],r))}));while(n){n=false;for(let e=0;e<t.length;e++){for(let r=e+1;r<t.length;r++){const s=t[e].filter((function(e){return t[r].indexOf(e)!==-1}));if(s.length){t[e]=t[e].concat(t[r]);t.splice(r,1);n=true;break}}}}t.forEach((function(e){e=e.filter((function(e,t,r){return r.indexOf(e)===t}));const t=e.pop();if(t!==undefined&&typeof t==="string"){r[t]=e}}));return r}function increment(e){return e!==undefined?e+1:1}function sanitizeKey(e){if(e==="__proto__")return"___proto___";return e}function stripQuotes(e){return typeof e==="string"&&(e[0]==="'"||e[0]==='"')&&e[e.length-1]===e[0]?e.substring(1,e.length-1):e}const ne=e(import.meta.url)("node:module");
|
||
/**
|
||
* @fileoverview Main entrypoint for libraries using yargs-parser in Node.js
|
||
*
|
||
* @license
|
||
* Copyright (c) 2016, Contributors
|
||
* SPDX-License-Identifier: ISC
|
||
*/
|
||
var se,ie,oe;const ae=process&&process.env&&process.env.YARGS_MIN_NODE_VERSION?Number(process.env.YARGS_MIN_NODE_VERSION):20;const ce=(ie=(se=process===null||process===void 0?void 0:process.versions)===null||se===void 0?void 0:se.node)!==null&&ie!==void 0?ie:(oe=process===null||process===void 0?void 0:process.version)===null||oe===void 0?void 0:oe.slice(1);if(ce){const e=Number(ce.match(/^([^.]+)/)[1]);if(e<ae){throw Error(`yargs parser supports a minimum Node.js version of ${ae}. Read our version support policy: https://github.com/yargs/yargs-parser#supported-nodejs-versions`)}}const le=process?process.env:{};const Ae=ne.createRequire?(0,ne.createRequire)(import.meta.url):undefined;const ue=new YargsParser({cwd:process.cwd,env:()=>le,format:Z.format,normalize:o.normalize,resolve:o.resolve,require:e=>{if(typeof Ae!=="undefined"){return Ae(e)}else if(e.match(/\.json$/)){return JSON.parse((0,i.readFileSync)(e,"utf8"))}else{throw Error("only .json config files are supported in ESM")}}});const de=function Parser(e,t){const r=ue.parse(e.slice(),t);return r.argv};de.detailed=function(e,t){return ue.parse(e.slice(),t)};de.camelCase=camelCase;de.decamelize=decamelize;de.looksLikeNumber=looksLikeNumber;const ge=de;function getProcessArgvBinIndex(){if(isBundledElectronApp())return 0;return 1}function isBundledElectronApp(){return isElectronApp()&&!process.defaultApp}function isElectronApp(){return!!process.versions.electron}function hideBin(e){return e.slice(getProcessArgvBinIndex()+1)}function getProcessArgvBin(){return process.argv[getProcessArgvBinIndex()]}function yargs_node_modules_ansi_regex_ansiRegex({onlyFirst:e=false}={}){const t="(?:\\u0007|\\u001B\\u005C|\\u009C)";const r=`(?:\\u001B\\][\\s\\S]*?${t})`;const n="[\\u001B\\u009B][[\\]()#;?]*(?:\\d{1,4}(?:[;:]\\d{0,4})*)?[\\dA-PR-TZcf-nq-uy=><~]";const s=`${r}|${n}`;return new RegExp(s,e?undefined:"g")}const pe=yargs_node_modules_ansi_regex_ansiRegex();function yargs_node_modules_strip_ansi_stripAnsi(e){if(typeof e!=="string"){throw new TypeError(`Expected a \`string\`, got \`${typeof e}\``)}if(!e.includes("")&&!e.includes("")){return e}return e.replace(pe,"")}const he=new Intl.Segmenter;const me=/^(?:\p{Default_Ignorable_Code_Point}|\p{Control}|\p{Format}|\p{Nonspacing_Mark}|\p{Enclosing_Mark}|\p{Surrogate})+$/v;const fe=/^[\p{Default_Ignorable_Code_Point}\p{Control}\p{Format}\p{Nonspacing_Mark}\p{Enclosing_Mark}\p{Surrogate}]+/v;const Ce=/\p{Spacing_Mark}/v;const ye=/^\p{RGI_Emoji}$/v;const Ee=/^[\d#*]\u20E3$/;const Ie=/\p{Extended_Pictographic}/gu;function isDoubleWidthNonRgiEmojiSequence(e){if(e.length>50){return false}if(Ee.test(e)){return true}if(e.includes("")){const t=e.match(Ie);return t!==null&&t.length>=2}return false}function baseVisible(e){return e.replace(fe,"")}function isZeroWidthCluster(e){return me.test(e)}function isHangulLeadingJamo(e){return e>=4352&&e<=4447||e>=43360&&e<=43388}function isHangulVowelJamo(e){return e>=4448&&e<=4519||e>=55216&&e<=55238}function isHangulTrailingJamo(e){return e>=4520&&e<=4607||e>=55243&&e<=55291}function isHangulJamo(e){return isHangulLeadingJamo(e)||isHangulVowelJamo(e)||isHangulTrailingJamo(e)}function hangulClusterWidth(e,t){const r=[];for(const t of e){if(me.test(t)){continue}r.push(t.codePointAt(0))}if(r.length===0){return undefined}let n=0;for(let e=0;e<r.length;e++){const s=r[e];if(!isHangulJamo(s)){if(n===0){return undefined}for(let s=e;s<r.length;s++){n+=eastAsianWidth(r[s],t)}return n}if(isHangulLeadingJamo(s)&&isHangulVowelJamo(r[e+1])){n+=2;e+=isHangulTrailingJamo(r[e+2])?2:1;continue}n+=eastAsianWidth(s,t)}return n}function trailingWidth(e,t){let r=0;let n=true;for(const s of e){if(n){n=false;continue}if(Ce.test(s)||s>=""&&s<=""){r+=eastAsianWidth(s.codePointAt(0),t)}}return r}function string_width_stringWidth(e,t={}){if(typeof e!=="string"||e.length===0){return 0}const{ambiguousIsNarrow:r=true,countAnsiEscapeCodes:n=false}=t;let s=e;if(!n&&(s.includes("")||s.includes(""))){s=yargs_node_modules_strip_ansi_stripAnsi(s)}if(s.length===0){return 0}if(/^[\u0020-\u007E]*$/.test(s)){return s.length}let i=0;const o={ambiguousAsWide:!r};for(const{segment:e}of he.segment(s)){if(isZeroWidthCluster(e)){continue}if(ye.test(e)||isDoubleWidthNonRgiEmojiSequence(e)){i+=2;continue}const t=baseVisible(e);const r=hangulClusterWidth(t,o);if(r!==undefined){i+=r;continue}const n=t.codePointAt(0);i+=eastAsianWidth(n,o);i+=trailingWidth(t,o)}return i}const Be={fs:{readFileSync:i.readFileSync,writeFile:i.writeFile},format:Z.format,resolve:o.resolve,exists:e=>{try{return(0,i.statSync)(e).isFile()}catch(e){return false}}};let Qe;class Y18N{constructor(e){e=e||{};this.directory=e.directory||"./locales";this.updateFiles=typeof e.updateFiles==="boolean"?e.updateFiles:true;this.locale=e.locale||"en";this.fallbackToLanguage=typeof e.fallbackToLanguage==="boolean"?e.fallbackToLanguage:true;this.cache=Object.create(null);this.writeQueue=[]}__(...e){if(typeof arguments[0]!=="string"){return this._taggedLiteral(arguments[0],...arguments)}const t=e.shift();let cb=function(){};if(typeof e[e.length-1]==="function")cb=e.pop();cb=cb||function(){};if(!this.cache[this.locale])this._readLocaleFile();if(!this.cache[this.locale][t]&&this.updateFiles){this.cache[this.locale][t]=t;this._enqueueWrite({directory:this.directory,locale:this.locale,cb:cb})}else{cb()}return Qe.format.apply(Qe.format,[this.cache[this.locale][t]||t].concat(e))}__n(){const e=Array.prototype.slice.call(arguments);const t=e.shift();const r=e.shift();const n=e.shift();let cb=function(){};if(typeof e[e.length-1]==="function")cb=e.pop();if(!this.cache[this.locale])this._readLocaleFile();let s=n===1?t:r;if(this.cache[this.locale][t]){const e=this.cache[this.locale][t];s=e[n===1?"one":"other"]}if(!this.cache[this.locale][t]&&this.updateFiles){this.cache[this.locale][t]={one:t,other:r};this._enqueueWrite({directory:this.directory,locale:this.locale,cb:cb})}else{cb()}const i=[s];if(~s.indexOf("%d"))i.push(n);return Qe.format.apply(Qe.format,i.concat(e))}setLocale(e){this.locale=e}getLocale(){return this.locale}updateLocale(e){if(!this.cache[this.locale])this._readLocaleFile();for(const t in e){if(Object.prototype.hasOwnProperty.call(e,t)){this.cache[this.locale][t]=e[t]}}}_taggedLiteral(e,...t){let r="";e.forEach((function(e,n){const s=t[n+1];r+=e;if(typeof s!=="undefined"){r+="%s"}}));return this.__.apply(this,[r].concat([].slice.call(t,1)))}_enqueueWrite(e){this.writeQueue.push(e);if(this.writeQueue.length===1)this._processWriteQueue()}_processWriteQueue(){const e=this;const t=this.writeQueue[0];const r=t.directory;const n=t.locale;const s=t.cb;const i=this._resolveLocaleFile(r,n);const o=JSON.stringify(this.cache[n],null,2);Qe.fs.writeFile(i,o,"utf-8",(function(t){e.writeQueue.shift();if(e.writeQueue.length>0)e._processWriteQueue();s(t)}))}_readLocaleFile(){let e={};const t=this._resolveLocaleFile(this.directory,this.locale);try{if(Qe.fs.readFileSync){e=JSON.parse(Qe.fs.readFileSync(t,"utf-8"))}}catch(r){if(r instanceof SyntaxError){r.message="syntax error in "+t}if(r.code==="ENOENT")e={};else throw r}this.cache[this.locale]=e}_resolveLocaleFile(e,t){let r=Qe.resolve(e,"./",t+".json");if(this.fallbackToLanguage&&!this._fileExistsSync(r)&&~t.lastIndexOf("_")){const n=Qe.resolve(e,"./",t.split("_")[0]+".json");if(this._fileExistsSync(n))r=n}return r}_fileExistsSync(e){return Qe.exists(e)}}function y18n(e,t){Qe=t;const r=new Y18N(e);return{__:r.__.bind(r),__n:r.__n.bind(r),setLocale:r.setLocale.bind(r),getLocale:r.getLocale.bind(r),updateLocale:r.updateLocale.bind(r),locale:r.locale}}const y18n_y18n=e=>y18n(e,Be);const be=y18n_y18n;var Se=__nccwpck_require__(3869);const we=e(import.meta.url)("node:fs");const De=(0,ee.fileURLToPath)(import.meta.url);const Ne=De.substring(0,De.lastIndexOf("node_modules"));const xe=(0,ne.createRequire)(import.meta.url);const Re={assert:{notStrictEqual:a.notStrictEqual,strictEqual:a.strictEqual},cliui:ui,findUp:sync,getEnv:e=>process.env[e],inspect:Z.inspect,getProcessArgvBin:getProcessArgvBin,mainFilename:Ne||process.cwd(),Parser:ge,path:{basename:o.basename,dirname:o.dirname,extname:o.extname,relative:o.relative,resolve:o.resolve,join:o.join},process:{argv:()=>process.argv,cwd:process.cwd,emitWarning:(e,t)=>process.emitWarning(e,t),execPath:()=>process.execPath,exit:e=>{process.exit(e)},nextTick:process.nextTick,stdColumns:typeof process.stdout.columns!=="undefined"?process.stdout.columns:null},readFileSync:we.readFileSync,readdirSync:we.readdirSync,require:xe,getCallerFile:()=>{const e=Se(3);return e.match(/^file:\/\//)?(0,ee.fileURLToPath)(e):e},stringWidth:string_width_stringWidth,y18n:be({directory:(0,o.resolve)(De,"../../../locales"),updateFiles:false})};function assertNotStrictEqual(e,t,r,n){r.assert.notStrictEqual(e,t,n)}function assertSingleKey(e,t){t.assert.strictEqual(typeof e,"string")}function objectKeys(e){return Object.keys(e)}function isPromise(e){return!!e&&!!e.then&&typeof e.then==="function"}class YError extends Error{constructor(e){super(e||"yargs error");this.name="YError";if(Error.captureStackTrace){Error.captureStackTrace(this,YError)}}}function parseCommand(e){const t=e.replace(/\s{2,}/g," ");const r=t.split(/\s+(?![^[]*]|[^<]*>)/);const n=/\.*[\][<>]/g;const s=r.shift();if(!s)throw new Error(`No command found in: ${e}`);const i={cmd:s.replace(n,""),demanded:[],optional:[]};r.forEach(((e,t)=>{let s=false;e=e.replace(/\s/g,"");if(/\.+[\]>]/.test(e)&&t===r.length-1)s=true;if(/^\[/.test(e)){i.optional.push({cmd:e.replace(n,"").split("|"),variadic:s})}else{i.demanded.push({cmd:e.replace(n,"").split("|"),variadic:s})}}));return i}const ve=["first","second","third","fourth","fifth","sixth"];function argsert(e,t,r){function parseArgs(){return typeof e==="object"?[{demanded:[],optional:[]},e,t]:[parseCommand(`cmd ${e}`),t,r]}try{let e=0;const[t,r,n]=parseArgs();const s=[].slice.call(r);while(s.length&&s[s.length-1]===undefined)s.pop();const i=n||s.length;if(i<t.demanded.length){throw new YError(`Not enough arguments provided. Expected ${t.demanded.length} but received ${s.length}.`)}const o=t.demanded.length+t.optional.length;if(i>o){throw new YError(`Too many arguments provided. Expected max ${o} but received ${i}.`)}t.demanded.forEach((t=>{const r=s.shift();const n=guessType(r);const i=t.cmd.filter((e=>e===n||e==="*"));if(i.length===0)argumentTypeError(n,t.cmd,e);e+=1}));t.optional.forEach((t=>{if(s.length===0)return;const r=s.shift();const n=guessType(r);const i=t.cmd.filter((e=>e===n||e==="*"));if(i.length===0)argumentTypeError(n,t.cmd,e);e+=1}))}catch(e){console.warn(e.stack)}}function guessType(e){if(Array.isArray(e)){return"array"}else if(e===null){return"null"}return typeof e}function argumentTypeError(e,t,r){throw new YError(`Invalid ${ve[r]||"manyith"} argument. Expected ${t.join(" or ")} but received ${e}.`)}class GlobalMiddleware{constructor(e){this.globalMiddleware=[];this.frozens=[];this.yargs=e}addMiddleware(e,t,r=true,n=false){argsert("<array|function> [boolean] [boolean] [boolean]",[e,t,r],arguments.length);if(Array.isArray(e)){for(let n=0;n<e.length;n++){if(typeof e[n]!=="function"){throw Error("middleware must be a function")}const s=e[n];s.applyBeforeValidation=t;s.global=r}Array.prototype.push.apply(this.globalMiddleware,e)}else if(typeof e==="function"){const s=e;s.applyBeforeValidation=t;s.global=r;s.mutates=n;this.globalMiddleware.push(e)}return this.yargs}addCoerceMiddleware(e,t){const r=this.yargs.getAliases();this.globalMiddleware=this.globalMiddleware.filter((e=>{const n=[...r[t]||[],t];if(!e.option)return true;else return!n.includes(e.option)}));e.option=t;return this.addMiddleware(e,true,true,true)}getMiddleware(){return this.globalMiddleware}freeze(){this.frozens.push([...this.globalMiddleware])}unfreeze(){const e=this.frozens.pop();if(e!==undefined)this.globalMiddleware=e}reset(){this.globalMiddleware=this.globalMiddleware.filter((e=>e.global))}}function commandMiddlewareFactory(e){if(!e)return[];return e.map((e=>{e.applyBeforeValidation=false;return e}))}function applyMiddleware(e,t,r,n){return r.reduce(((e,r)=>{if(r.applyBeforeValidation!==n){return e}if(r.mutates){if(r.applied)return e;r.applied=true}if(isPromise(e)){return e.then((e=>Promise.all([e,r(e,t)]))).then((([e,t])=>Object.assign(e,t)))}else{const n=r(e,t);return isPromise(n)?n.then((t=>Object.assign(e,t))):Object.assign(e,n)}}),e)}function maybeAsyncResult(e,t,r=e=>{throw e}){try{const r=isFunction(e)?e():e;return isPromise(r)?r.then((e=>t(e))):t(r)}catch(e){return r(e)}}function isFunction(e){return typeof e==="function"}const ke=/(^\*)|(^\$0)/;class CommandInstance{constructor(e,t,r,n){this.requireCache=new Set;this.handlers={};this.aliasMap={};this.frozens=[];this.shim=n;this.usage=e;this.globalMiddleware=r;this.validation=t}addDirectory(e,t,r,n){n=n||{};this.requireCache.add(r);const s=this.shim.path.resolve(this.shim.path.dirname(r),e);const i=this.shim.readdirSync(s,{recursive:n.recurse?true:false});if(!Array.isArray(n.extensions))n.extensions=["js"];const o=typeof n.visit==="function"?n.visit:e=>e;for(const e of i){const r=e.toString();if(n.exclude){let e=false;if(typeof n.exclude==="function"){e=n.exclude(r)}else{e=n.exclude.test(r)}if(e)continue}if(n.include){let e=false;if(typeof n.include==="function"){e=n.include(r)}else{e=n.include.test(r)}if(!e)continue}let i=false;for(const e of n.extensions){if(r.endsWith(e))i=true}if(i){const e=this.shim.path.join(s,r);const n=t(e);const i=Object.create(null,Object.getOwnPropertyDescriptors({...n}));const a=o(i,e,r);if(a){if(this.requireCache.has(e))continue;else this.requireCache.add(e);if(!i.command){i.command=this.shim.path.basename(e,this.shim.path.extname(e))}this.addHandler(i)}}}}addHandler(e,t,r,n,s,i){let o=[];const a=commandMiddlewareFactory(s);n=n||(()=>{});if(Array.isArray(e)){if(isCommandAndAliases(e)){[e,...o]=e}else{for(const t of e){this.addHandler(t)}}}else if(isCommandHandlerDefinition(e)){let t=Array.isArray(e.command)||typeof e.command==="string"?e.command:null;if(t===null){throw new Error(`No command name given for module: ${this.shim.inspect(e)}`)}if(e.aliases)t=[].concat(t).concat(e.aliases);this.addHandler(t,this.extractDesc(e),e.builder,e.handler,e.middlewares,e.deprecated);return}else if(isCommandBuilderDefinition(r)){this.addHandler([e].concat(o),t,r.builder,r.handler,r.middlewares,r.deprecated);return}if(typeof e==="string"){const s=parseCommand(e);o=o.map((e=>parseCommand(e).cmd));let c=false;const l=[s.cmd].concat(o).filter((e=>{if(ke.test(e)){c=true;return false}return true}));if(l.length===0&&c)l.push("$0");if(c){s.cmd=l[0];o=l.slice(1);e=e.replace(ke,s.cmd)}o.forEach((e=>{this.aliasMap[e]=s.cmd}));if(t!==false){this.usage.command(e,t,c,o,i)}this.handlers[s.cmd]={original:e,description:t,handler:n,builder:r||{},middlewares:a,deprecated:i,demanded:s.demanded,optional:s.optional};if(c)this.defaultCommand=this.handlers[s.cmd]}}getCommandHandlers(){return this.handlers}getCommands(){return Object.keys(this.handlers).concat(Object.keys(this.aliasMap))}hasDefaultCommand(){return!!this.defaultCommand}runCommand(e,t,r,n,s,i){const o=this.handlers[e]||this.handlers[this.aliasMap[e]]||this.defaultCommand;const a=t.getInternalMethods().getContext();const c=a.commands.slice();const l=!e;if(e){a.commands.push(e);a.fullCommands.push(o.original)}const A=this.applyBuilderUpdateUsageAndParse(l,o,t,r.aliases,c,n,s,i);return isPromise(A)?A.then((e=>this.applyMiddlewareAndGetResult(l,o,e.innerArgv,a,s,e.aliases,t))):this.applyMiddlewareAndGetResult(l,o,A.innerArgv,a,s,A.aliases,t)}applyBuilderUpdateUsageAndParse(e,t,r,n,s,i,o,a){const c=t.builder;let l=r;if(isCommandBuilderCallback(c)){r.getInternalMethods().getUsageInstance().freeze();const A=c(r.getInternalMethods().reset(n),a);if(isPromise(A)){return A.then((n=>{l=isYargsInstance(n)?n:r;return this.parseAndUpdateUsage(e,t,l,s,i,o)}))}}else if(isCommandBuilderOptionDefinitions(c)){r.getInternalMethods().getUsageInstance().freeze();l=r.getInternalMethods().reset(n);Object.keys(t.builder).forEach((e=>{l.option(e,c[e])}))}return this.parseAndUpdateUsage(e,t,l,s,i,o)}parseAndUpdateUsage(e,t,r,n,s,i){if(e)r.getInternalMethods().getUsageInstance().unfreeze(true);if(this.shouldUpdateUsage(r)){r.getInternalMethods().getUsageInstance().usage(this.usageFromParentCommandsCommandHandler(n,t),t.description)}const o=r.getInternalMethods().runYargsParserAndExecuteCommands(null,undefined,true,s,i);return isPromise(o)?o.then((e=>({aliases:r.parsed.aliases,innerArgv:e}))):{aliases:r.parsed.aliases,innerArgv:o}}shouldUpdateUsage(e){return!e.getInternalMethods().getUsageInstance().getUsageDisabled()&&e.getInternalMethods().getUsageInstance().getUsage().length===0}usageFromParentCommandsCommandHandler(e,t){const r=ke.test(t.original)?t.original.replace(ke,"").trim():t.original;const n=e.filter((e=>!ke.test(e)));n.push(r);return`$0 ${n.join(" ")}`}handleValidationAndGetResult(e,t,r,n,s,i,o,a){if(!i.getInternalMethods().getHasOutput()){const t=i.getInternalMethods().runValidation(s,a,i.parsed.error,e);r=maybeAsyncResult(r,(e=>{t(e);return e}))}if(t.handler&&!i.getInternalMethods().getHasOutput()){i.getInternalMethods().setHasOutput();const n=!!i.getOptions().configuration["populate--"];i.getInternalMethods().postProcess(r,n,false,false);r=applyMiddleware(r,i,o,false);r=maybeAsyncResult(r,(e=>{const r=t.handler(e);return isPromise(r)?r.then((()=>e)):e}));if(!e){i.getInternalMethods().getUsageInstance().cacheHelpMessage()}if(isPromise(r)&&!i.getInternalMethods().hasParseCallback()){r.catch((e=>{try{i.getInternalMethods().getUsageInstance().fail(null,e)}catch(e){}}))}}if(!e){n.commands.pop();n.fullCommands.pop()}return r}applyMiddlewareAndGetResult(e,t,r,n,s,i,o){let a={};if(s)return r;if(!o.getInternalMethods().getHasOutput()){a=this.populatePositionals(t,r,n,o)}const c=this.globalMiddleware.getMiddleware().slice(0).concat(t.middlewares);const l=applyMiddleware(r,o,c,true);return isPromise(l)?l.then((r=>this.handleValidationAndGetResult(e,t,r,n,i,o,c,a))):this.handleValidationAndGetResult(e,t,l,n,i,o,c,a)}populatePositionals(e,t,r,n){t._=t._.slice(r.commands.length);const s=e.demanded.slice(0);const i=e.optional.slice(0);const o={};this.validation.positionalCount(s.length,t._.length);while(s.length){const e=s.shift();this.populatePositional(e,t,o)}while(i.length){const e=i.shift();this.populatePositional(e,t,o)}t._=r.commands.concat(t._.map((e=>""+e)));this.postProcessPositionals(t,o,this.cmdToParseOptions(e.original),n);return o}populatePositional(e,t,r){const n=e.cmd[0];if(e.variadic){r[n]=t._.splice(0).map(String)}else{if(t._.length)r[n]=[String(t._.shift())]}}cmdToParseOptions(e){const t={array:[],default:{},alias:{},demand:{}};const r=parseCommand(e);r.demanded.forEach((e=>{const[r,...n]=e.cmd;if(e.variadic){t.array.push(r);t.default[r]=[]}t.alias[r]=n;t.demand[r]=true}));r.optional.forEach((e=>{const[r,...n]=e.cmd;if(e.variadic){t.array.push(r);t.default[r]=[]}t.alias[r]=n}));return t}postProcessPositionals(e,t,r,n){const s=Object.assign({},n.getOptions());s.default=Object.assign(r.default,s.default);for(const e of Object.keys(r.alias)){s.alias[e]=(s.alias[e]||[]).concat(r.alias[e])}s.array=s.array.concat(r.array);s.config={};const i=[];Object.keys(t).forEach((e=>{t[e].map((t=>{if(s.configuration["unknown-options-as-args"])s.key[e]=true;i.push(`--${e}`);i.push(t)}))}));if(!i.length)return;const o=Object.assign({},s.configuration,{"populate--":false});const a=this.shim.Parser.detailed(i,Object.assign({},s,{configuration:o}));if(a.error){n.getInternalMethods().getUsageInstance().fail(a.error.message,a.error)}else{const r=Object.keys(t);Object.keys(t).forEach((e=>{r.push(...a.aliases[e])}));Object.keys(a.argv).forEach((s=>{if(r.includes(s)){if(!t[s])t[s]=a.argv[s];if(!this.isInConfigs(n,s)&&!this.isDefaulted(n,s)&&Object.prototype.hasOwnProperty.call(e,s)&&Object.prototype.hasOwnProperty.call(a.argv,s)&&(Array.isArray(e[s])||Array.isArray(a.argv[s]))){e[s]=[].concat(e[s],a.argv[s])}else{e[s]=a.argv[s]}}}))}}isDefaulted(e,t){const{default:r}=e.getOptions();return Object.prototype.hasOwnProperty.call(r,t)||Object.prototype.hasOwnProperty.call(r,this.shim.Parser.camelCase(t))}isInConfigs(e,t){const{configObjects:r}=e.getOptions();return r.some((e=>Object.prototype.hasOwnProperty.call(e,t)))||r.some((e=>Object.prototype.hasOwnProperty.call(e,this.shim.Parser.camelCase(t))))}runDefaultBuilderOn(e){if(!this.defaultCommand)return;if(this.shouldUpdateUsage(e)){const t=ke.test(this.defaultCommand.original)?this.defaultCommand.original:this.defaultCommand.original.replace(/^[^[\]<>]*/,"$0 ");e.getInternalMethods().getUsageInstance().usage(t,this.defaultCommand.description)}const t=this.defaultCommand.builder;if(isCommandBuilderCallback(t)){return t(e,true)}else if(!isCommandBuilderDefinition(t)){Object.keys(t).forEach((r=>{e.option(r,t[r])}))}return undefined}extractDesc({describe:e,description:t,desc:r}){for(const n of[e,t,r]){if(typeof n==="string"||n===false)return n;assertNotStrictEqual(n,true,this.shim)}return false}freeze(){this.frozens.push({handlers:this.handlers,aliasMap:this.aliasMap,defaultCommand:this.defaultCommand})}unfreeze(){const e=this.frozens.pop();assertNotStrictEqual(e,undefined,this.shim);({handlers:this.handlers,aliasMap:this.aliasMap,defaultCommand:this.defaultCommand}=e)}reset(){this.handlers={};this.aliasMap={};this.defaultCommand=undefined;this.requireCache=new Set;return this}}function command(e,t,r,n){return new CommandInstance(e,t,r,n)}function isCommandBuilderDefinition(e){return typeof e==="object"&&!!e.builder&&typeof e.handler==="function"}function isCommandAndAliases(e){return e.every((e=>typeof e==="string"))}function isCommandBuilderCallback(e){return typeof e==="function"}function isCommandBuilderOptionDefinitions(e){return typeof e==="object"}function isCommandHandlerDefinition(e){return typeof e==="object"&&!Array.isArray(e)}function objFilter(e={},t=()=>true){const r={};objectKeys(e).forEach((n=>{if(t(n,e[n])){r[n]=e[n]}}));return r}function setBlocking(e){if(typeof process==="undefined")return;[process.stdout,process.stderr].forEach((t=>{const r=t;if(r._handle&&r.isTTY&&typeof r._handle.setBlocking==="function"){r._handle.setBlocking(e)}}))}function isBoolean(e){return typeof e==="boolean"}function usage(e,t){const r=t.y18n.__;const n={};const s=[];n.failFn=function failFn(e){s.push(e)};let i=null;let o=null;let a=true;n.showHelpOnFail=function showHelpOnFailFn(t=true,r){const[s,c]=typeof t==="string"?[true,t]:[t,r];if(e.getInternalMethods().isGlobalContext()){o=c}i=c;a=s;return n};let c=false;n.fail=function fail(t,r){const l=e.getInternalMethods().getLoggerInstance();if(s.length){for(let e=s.length-1;e>=0;--e){const i=s[e];if(isBoolean(i)){if(r)throw r;else if(t)throw Error(t)}else{i(t,r,n)}}}else{if(e.getExitProcess())setBlocking(true);if(!c){c=true;if(a){e.showHelp("error");l.error()}if(t||r)l.error(t||r);const n=i||o;if(n){if(t||r)l.error("");l.error(n)}}r=r||new YError(t);if(e.getExitProcess()){return e.exit(1)}else if(e.getInternalMethods().hasParseCallback()){return e.exit(1,r)}else{throw r}}};let l=[];let A=false;n.usage=(e,t)=>{if(e===null){A=true;l=[];return n}A=false;l.push([e,t||""]);return n};n.getUsage=()=>l;n.getUsageDisabled=()=>A;n.getPositionalGroupName=()=>r("Positionals:");let u=[];n.example=(e,t)=>{u.push([e,t||""])};let d=[];n.command=function command(e,t,r,n,s=false){if(r){d=d.map((e=>{e[2]=false;return e}))}d.push([e,t||"",r,n,s])};n.getCommands=()=>d;let g={};n.describe=function describe(e,t){if(Array.isArray(e)){e.forEach((e=>{n.describe(e,t)}))}else if(typeof e==="object"){Object.keys(e).forEach((t=>{n.describe(t,e[t])}))}else{g[e]=t}};n.getDescriptions=()=>g;let p=[];n.epilog=e=>{p.push(e)};let h=false;let m;n.wrap=e=>{h=true;m=e};n.getWrap=()=>{if(t.getEnv("YARGS_DISABLE_WRAP")){return null}if(!h){m=windowWidth();h=true}return m};const f="__yargsString__:";n.deferY18nLookup=e=>f+e;n.help=function help(){if(C)return C;normalizeAliases();const s=e.customScriptName?e.$0:t.path.basename(e.$0);const i=e.getDemandedOptions();const o=e.getDemandedCommands();const a=e.getDeprecatedOptions();const c=e.getGroups();const h=e.getOptions();let m=[];m=m.concat(Object.keys(g));m=m.concat(Object.keys(i));m=m.concat(Object.keys(o));m=m.concat(Object.keys(h.default));m=m.filter(filterHiddenOptions);m=Object.keys(m.reduce(((e,t)=>{if(t!=="_")e[t]=true;return e}),{}));const y=n.getWrap();const E=t.cliui({width:y,wrap:!!y});if(!A){if(l.length){l.forEach((e=>{E.div({text:`${e[0].replace(/\$0/g,s)}`});if(e[1]){E.div({text:`${e[1]}`,padding:[1,0,0,0]})}}));E.div()}else if(d.length){let e=null;if(o._){e=`${s} <${r("command")}>\n`}else{e=`${s} [${r("command")}]\n`}E.div(`${e}`)}}if(d.length>1||d.length===1&&!d[0][2]){E.div(r("Commands:"));const t=e.getInternalMethods().getContext();const n=t.commands.length?`${t.commands.join(" ")} `:"";if(e.getInternalMethods().getParserConfiguration()["sort-commands"]===true){d=d.sort(((e,t)=>e[0].localeCompare(t[0])))}const i=s?`${s} `:"";d.forEach((e=>{const t=`${i}${n}${e[0].replace(/^\$0 ?/,"")}`;E.span({text:t,padding:[0,2,0,2],width:maxWidth(d,y,`${s}${n}`)+4},{text:e[1]});const o=[];if(e[2])o.push(`[${r("default")}]`);if(e[3]&&e[3].length){o.push(`[${r("aliases:")} ${e[3].join(", ")}]`)}if(e[4]){if(typeof e[4]==="string"){o.push(`[${r("deprecated: %s",e[4])}]`)}else{o.push(`[${r("deprecated")}]`)}}if(o.length){E.div({text:o.join(" "),padding:[0,0,0,2],align:"right"})}else{E.div()}}));E.div()}const I=(Object.keys(h.alias)||[]).concat(Object.keys(e.parsed.newAliases)||[]);m=m.filter((t=>!e.parsed.newAliases[t]&&I.every((e=>(h.alias[e]||[]).indexOf(t)===-1))));const B=r("Options:");if(!c[B])c[B]=[];addUngroupedKeys(m,h.alias,c,B);const isLongSwitch=e=>/^--/.test(getText(e));const Q=Object.keys(c).filter((e=>c[e].length>0)).map((e=>{const t=c[e].filter(filterHiddenOptions).map((e=>{if(I.includes(e))return e;for(let t=0,r;(r=I[t])!==undefined;t++){if((h.alias[r]||[]).includes(e))return r}return e}));return{groupName:e,normalizedKeys:t}})).filter((({normalizedKeys:e})=>e.length>0)).map((({groupName:e,normalizedKeys:t})=>{const r=t.reduce(((t,r)=>{t[r]=[r].concat(h.alias[r]||[]).map((t=>{if(e===n.getPositionalGroupName())return t;else{return(/^[0-9]$/.test(t)?h.boolean.includes(r)?"-":"--":t.length>1?"--":"-")+t}})).sort(((e,t)=>isLongSwitch(e)===isLongSwitch(t)?0:isLongSwitch(e)?1:-1)).join(", ");return t}),{});return{groupName:e,normalizedKeys:t,switches:r}}));const b=Q.filter((({groupName:e})=>e!==n.getPositionalGroupName())).some((({normalizedKeys:e,switches:t})=>!e.every((e=>isLongSwitch(t[e])))));if(b){Q.filter((({groupName:e})=>e!==n.getPositionalGroupName())).forEach((({normalizedKeys:e,switches:t})=>{e.forEach((e=>{if(isLongSwitch(t[e])){t[e]=addIndentation(t[e],"-x, ".length)}}))}))}Q.forEach((({groupName:t,normalizedKeys:s,switches:o})=>{E.div(t);s.forEach((t=>{const s=o[t];let c=g[t]||"";let l=null;if(c.includes(f))c=r(c.substring(f.length));if(h.boolean.includes(t))l=`[${r("boolean")}]`;if(h.count.includes(t))l=`[${r("count")}]`;if(h.string.includes(t))l=`[${r("string")}]`;if(h.normalize.includes(t))l=`[${r("string")}]`;if(h.array.includes(t))l=`[${r("array")}]`;if(h.number.includes(t))l=`[${r("number")}]`;const deprecatedExtra=e=>typeof e==="string"?`[${r("deprecated: %s",e)}]`:`[${r("deprecated")}]`;const A=[t in a?deprecatedExtra(a[t]):null,l,t in i?`[${r("required")}]`:null,h.choices&&h.choices[t]?`[${r("choices:")} ${n.stringifiedValues(h.choices[t])}]`:null,defaultString(h.default[t],h.defaultDescription[t])].filter(Boolean).join(" ");E.span({text:getText(s),padding:[0,2,0,2+getIndentation(s)],width:maxWidth(o,y)+4},c);const u=e.getInternalMethods().getUsageConfiguration()["hide-types"]===true;if(A&&!u)E.div({text:A,padding:[0,0,0,2],align:"right"});else E.div()}));E.div()}));if(u.length){E.div(r("Examples:"));u.forEach((e=>{e[0]=e[0].replace(/\$0/g,s)}));u.forEach((e=>{if(e[1]===""){E.div({text:e[0],padding:[0,2,0,2]})}else{E.div({text:e[0],padding:[0,2,0,2],width:maxWidth(u,y)+4},{text:e[1]})}}));E.div()}if(p.length>0){const e=p.map((e=>e.replace(/\$0/g,s))).join("\n");E.div(`${e}\n`)}return E.toString().replace(/\s*$/,"")};function maxWidth(e,r,n){let s=0;if(!Array.isArray(e)){e=Object.values(e).map((e=>[e]))}e.forEach((e=>{s=Math.max(t.stringWidth(n?`${n} ${getText(e[0])}`:getText(e[0]))+getIndentation(e[0]),s)}));if(r)s=Math.min(s,parseInt((r*.5).toString(),10));return s}function normalizeAliases(){const t=e.getDemandedOptions();const r=e.getOptions();(Object.keys(r.alias)||[]).forEach((s=>{r.alias[s].forEach((i=>{if(g[i])n.describe(s,g[i]);if(i in t)e.demandOption(s,t[i]);if(r.boolean.includes(i))e.boolean(s);if(r.count.includes(i))e.count(s);if(r.string.includes(i))e.string(s);if(r.normalize.includes(i))e.normalize(s);if(r.array.includes(i))e.array(s);if(r.number.includes(i))e.number(s)}))}))}let C;n.cacheHelpMessage=function(){C=this.help()};n.clearCachedHelpMessage=function(){C=undefined};n.hasCachedHelpMessage=function(){return!!C};function addUngroupedKeys(e,t,r,n){let s=[];let i=null;Object.keys(r).forEach((e=>{s=s.concat(r[e])}));e.forEach((e=>{i=[e].concat(t[e]);if(!i.some((e=>s.indexOf(e)!==-1))){r[n].push(e)}}));return s}function filterHiddenOptions(t){return e.getOptions().hiddenOptions.indexOf(t)<0||e.parsed.argv[e.getOptions().showHiddenOpt]}n.showHelp=t=>{const r=e.getInternalMethods().getLoggerInstance();if(!t)t="error";const s=typeof t==="function"?t:r[t];s(n.help())};n.functionDescription=e=>{const n=e.name?t.Parser.decamelize(e.name,"-"):r("generated-value");return["(",n,")"].join("")};n.stringifiedValues=function stringifiedValues(e,t){let r="";const n=t||", ";const s=[].concat(e);if(!e||!s.length)return r;s.forEach((e=>{if(r.length)r+=n;r+=JSON.stringify(e)}));return r};function defaultString(e,t){let n=`[${r("default:")} `;if(e===undefined&&!t)return null;if(t){n+=t}else{switch(typeof e){case"string":n+=`"${e}"`;break;case"object":n+=JSON.stringify(e);break;default:n+=e}}return`${n}]`}function windowWidth(){const e=80;if(t.process.stdColumns){return Math.min(e,t.process.stdColumns)}else{return e}}let y=null;n.version=e=>{y=e};n.showVersion=t=>{const r=e.getInternalMethods().getLoggerInstance();if(!t)t="error";const n=typeof t==="function"?t:r[t];n(y)};n.reset=function reset(e){i=null;c=false;l=[];A=false;p=[];u=[];d=[];g=objFilter(g,(t=>!e[t]));return n};const E=[];n.freeze=function freeze(){E.push({failMessage:i,failureOutput:c,usages:l,usageDisabled:A,epilogs:p,examples:u,commands:d,descriptions:g})};n.unfreeze=function unfreeze(e=false){const t=E.pop();if(!t)return;if(e){g={...t.descriptions,...g};d=[...t.commands,...d];l=[...t.usages,...l];u=[...t.examples,...u];p=[...t.epilogs,...p]}else{({failMessage:i,failureOutput:c,usages:l,usageDisabled:A,epilogs:p,examples:u,commands:d,descriptions:g}=t)}};return n}function isIndentedText(e){return typeof e==="object"}function addIndentation(e,t){return isIndentedText(e)?{text:e.text,indentation:e.indentation+t}:{text:e,indentation:t}}function getIndentation(e){return isIndentedText(e)?e.indentation:0}function getText(e){return isIndentedText(e)?e.text:e}const Fe=`###-begin-{{app_name}}-completions-###\n#\n# yargs command completion script\n#\n# Installation: {{app_path}} {{completion_command}} >> ~/.bashrc\n# or {{app_path}} {{completion_command}} >> ~/.bash_profile on OSX.\n#\n_{{app_name}}_yargs_completions()\n{\n local cur_word args type_list\n\n cur_word="\${COMP_WORDS[COMP_CWORD]}"\n args=("\${COMP_WORDS[@]}")\n\n # ask yargs to generate completions.\n # see https://stackoverflow.com/a/40944195/7080036 for the spaces-handling awk\n mapfile -t type_list < <({{app_path}} --get-yargs-completions "\${args[@]}")\n mapfile -t COMPREPLY < <(compgen -W "$( printf '%q ' "\${type_list[@]}" )" -- "\${cur_word}" |\n awk '/ / { print "\\""$0"\\"" } /^[^ ]+$/ { print $0 }')\n\n # if no match was found, fall back to filename completion\n if [ \${#COMPREPLY[@]} -eq 0 ]; then\n COMPREPLY=()\n fi\n\n return 0\n}\ncomplete -o bashdefault -o default -F _{{app_name}}_yargs_completions {{app_name}}\n###-end-{{app_name}}-completions-###\n`;const Te=`#compdef {{app_name}}\n###-begin-{{app_name}}-completions-###\n#\n# yargs command completion script\n#\n# Installation: {{app_path}} {{completion_command}} >> ~/.zshrc\n# or {{app_path}} {{completion_command}} >> ~/.zprofile on OSX.\n#\n_{{app_name}}_yargs_completions()\n{\n local reply\n local si=$IFS\n IFS=$'\n' reply=($(COMP_CWORD="$((CURRENT-1))" COMP_LINE="$BUFFER" COMP_POINT="$CURSOR" {{app_path}} --get-yargs-completions "\${words[@]}"))\n IFS=$si\n if [[ \${#reply} -gt 0 ]]; then\n _describe 'values' reply\n else\n _default\n fi\n}\nif [[ "'\${zsh_eval_context[-1]}" == "loadautofunc" ]]; then\n _{{app_name}}_yargs_completions "$@"\nelse\n compdef _{{app_name}}_yargs_completions {{app_name}}\nfi\n###-end-{{app_name}}-completions-###\n`;class Completion{constructor(e,t,r,n){var s,i,o;this.yargs=e;this.usage=t;this.command=r;this.shim=n;this.completionKey="get-yargs-completions";this.aliases=null;this.customCompletionFunction=null;this.indexAfterLastReset=0;this.zshShell=(o=((s=this.shim.getEnv("SHELL"))===null||s===void 0?void 0:s.includes("zsh"))||((i=this.shim.getEnv("ZSH_NAME"))===null||i===void 0?void 0:i.includes("zsh")))!==null&&o!==void 0?o:false}defaultCompletion(e,t,r,n){const s=this.command.getCommandHandlers();for(let t=0,r=e.length;t<r;++t){if(s[e[t]]&&s[e[t]].builder){const r=s[e[t]].builder;if(isCommandBuilderCallback(r)){this.indexAfterLastReset=t+1;const e=this.yargs.getInternalMethods().reset();r(e,true);return e.argv}}}const i=[];this.commandCompletions(i,e,r);this.optionCompletions(i,e,t,r);this.choicesFromOptionsCompletions(i,e,t,r);this.choicesFromPositionalsCompletions(i,e,t,r);n(null,i)}commandCompletions(e,t,r){const n=this.yargs.getInternalMethods().getContext().commands;if(!r.match(/^-/)&&n[n.length-1]!==r&&!this.previousArgHasChoices(t)){this.usage.getCommands().forEach((r=>{const n=parseCommand(r[0]).cmd;if(t.indexOf(n)===-1){if(!this.zshShell){e.push(n)}else{const t=r[1]||"";e.push(n.replace(/:/g,"\\:")+":"+t)}}}))}}optionCompletions(e,t,r,n){if((n.match(/^-/)||n===""&&e.length===0)&&!this.previousArgHasChoices(t)){const r=this.yargs.getOptions();const s=this.yargs.getGroups()[this.usage.getPositionalGroupName()]||[];Object.keys(r.key).forEach((i=>{const o=!!r.configuration["boolean-negation"]&&r.boolean.includes(i);const a=s.includes(i);if(!a&&!r.hiddenOptions.includes(i)&&!this.argsContainKey(t,i,o)){this.completeOptionKey(i,e,n,o&&!!r.default[i])}}))}}choicesFromOptionsCompletions(e,t,r,n){if(this.previousArgHasChoices(t)){const r=this.getPreviousArgChoices(t);if(r&&r.length>0){e.push(...r.map((e=>e.replace(/:/g,"\\:"))))}}}choicesFromPositionalsCompletions(e,t,r,n){if(n===""&&e.length>0&&this.previousArgHasChoices(t)){return}const s=this.yargs.getGroups()[this.usage.getPositionalGroupName()]||[];const i=Math.max(this.indexAfterLastReset,this.yargs.getInternalMethods().getContext().commands.length+1);const o=s[r._.length-i-1];if(!o){return}const a=this.yargs.getOptions().choices[o]||[];for(const t of a){if(t.startsWith(n)){e.push(t.replace(/:/g,"\\:"))}}}getPreviousArgChoices(e){if(e.length<1)return;let t=e[e.length-1];let r="";if(!t.startsWith("-")&&e.length>1){r=t;t=e[e.length-2]}if(!t.startsWith("-"))return;const n=t.replace(/^-+/,"");const s=this.yargs.getOptions();const i=[n,...this.yargs.getAliases()[n]||[]];let o;for(const e of i){if(Object.prototype.hasOwnProperty.call(s.key,e)&&Array.isArray(s.choices[e])){o=s.choices[e];break}}if(o){return o.filter((e=>!r||e.startsWith(r)))}}previousArgHasChoices(e){const t=this.getPreviousArgChoices(e);return t!==undefined&&t.length>0}argsContainKey(e,t,r){const argsContains=t=>e.indexOf((/^[^0-9]$/.test(t)?"-":"--")+t)!==-1;if(argsContains(t))return true;if(r&&argsContains(`no-${t}`))return true;if(this.aliases){for(const e of this.aliases[t]){if(argsContains(e))return true}}return false}completeOptionKey(e,t,r,n){var s,i,o,a;let c=e;if(this.zshShell){const t=this.usage.getDescriptions();const r=(i=(s=this===null||this===void 0?void 0:this.aliases)===null||s===void 0?void 0:s[e])===null||i===void 0?void 0:i.find((e=>{const r=t[e];return typeof r==="string"&&r.length>0}));const n=r?t[r]:undefined;const l=(a=(o=t[e])!==null&&o!==void 0?o:n)!==null&&a!==void 0?a:"";c=`${e.replace(/:/g,"\\:")}:${l.replace("__yargsString__:","").replace(/(\r\n|\n|\r)/gm," ")}`}const startsByTwoDashes=e=>/^--/.test(e);const isShortOption=e=>/^[^0-9]$/.test(e);const l=!startsByTwoDashes(r)&&isShortOption(e)?"-":"--";t.push(l+c);if(n){t.push(l+"no-"+c)}}customCompletion(e,t,r,n){assertNotStrictEqual(this.customCompletionFunction,null,this.shim);if(isSyncCompletionFunction(this.customCompletionFunction)){const e=this.customCompletionFunction(r,t);if(isPromise(e)){return e.then((e=>{this.shim.process.nextTick((()=>{n(null,e)}))})).catch((e=>{this.shim.process.nextTick((()=>{n(e,undefined)}))}))}return n(null,e)}else if(isFallbackCompletionFunction(this.customCompletionFunction)){return this.customCompletionFunction(r,t,((s=n)=>this.defaultCompletion(e,t,r,s)),(e=>{n(null,e)}))}else{return this.customCompletionFunction(r,t,(e=>{n(null,e)}))}}getCompletion(e,t){const r=e.length?e[e.length-1]:"";const n=this.yargs.parse(e,true);const s=this.customCompletionFunction?n=>this.customCompletion(e,n,r,t):n=>this.defaultCompletion(e,n,r,t);return isPromise(n)?n.then(s):s(n)}generateCompletionScript(e,t){let r=this.zshShell?Te:Fe;const n=this.shim.path.basename(e);if(e.match(/\.js$/))e=`./${e}`;r=r.replace(/{{app_name}}/g,n);r=r.replace(/{{completion_command}}/g,t);return r.replace(/{{app_path}}/g,e)}registerFunction(e){this.customCompletionFunction=e}setParsed(e){this.aliases=e.aliases}}function completion(e,t,r,n){return new Completion(e,t,r,n)}function isSyncCompletionFunction(e){return e.length<3}function isFallbackCompletionFunction(e){return e.length>3}function levenshtein(e,t){if(e.length===0)return t.length;if(t.length===0)return e.length;const r=[];let n;for(n=0;n<=t.length;n++){r[n]=[n]}let s;for(s=0;s<=e.length;s++){r[0][s]=s}for(n=1;n<=t.length;n++){for(s=1;s<=e.length;s++){if(t.charAt(n-1)===e.charAt(s-1)){r[n][s]=r[n-1][s-1]}else{if(n>1&&s>1&&t.charAt(n-2)===e.charAt(s-1)&&t.charAt(n-1)===e.charAt(s-2)){r[n][s]=r[n-2][s-2]+1}else{r[n][s]=Math.min(r[n-1][s-1]+1,Math.min(r[n][s-1]+1,r[n-1][s]+1))}}}}return r[t.length][e.length]}const Me=["$0","--","_"];function validation(e,t,r){const n=r.y18n.__;const s=r.y18n.__n;const i={};i.nonOptionCount=function nonOptionCount(r){const n=e.getDemandedCommands();const i=r._.length+(r["--"]?r["--"].length:0);const o=i-e.getInternalMethods().getContext().commands.length;if(n._&&(o<n._.min||o>n._.max)){if(o<n._.min){if(n._.minMsg!==undefined){t.fail(n._.minMsg?n._.minMsg.replace(/\$0/g,o.toString()).replace(/\$1/,n._.min.toString()):null)}else{t.fail(s("Not enough non-option arguments: got %s, need at least %s","Not enough non-option arguments: got %s, need at least %s",o,o.toString(),n._.min.toString()))}}else if(o>n._.max){if(n._.maxMsg!==undefined){t.fail(n._.maxMsg?n._.maxMsg.replace(/\$0/g,o.toString()).replace(/\$1/,n._.max.toString()):null)}else{t.fail(s("Too many non-option arguments: got %s, maximum of %s","Too many non-option arguments: got %s, maximum of %s",o,o.toString(),n._.max.toString()))}}}};i.positionalCount=function positionalCount(e,r){if(r<e){t.fail(s("Not enough non-option arguments: got %s, need at least %s","Not enough non-option arguments: got %s, need at least %s",r,r+"",e+""))}};i.requiredArguments=function requiredArguments(e,r){let n=null;for(const t of Object.keys(r)){if(!Object.prototype.hasOwnProperty.call(e,t)||typeof e[t]==="undefined"){n=n||{};n[t]=r[t]}}if(n){const e=[];for(const t of Object.keys(n)){const r=n[t];if(r&&e.indexOf(r)<0){e.push(r)}}const r=e.length?`\n${e.join("\n")}`:"";t.fail(s("Missing required argument: %s","Missing required arguments: %s",Object.keys(n).length,Object.keys(n).join(", ")+r))}};i.unknownArguments=function unknownArguments(r,n,o,a,c=true){var l;const A=e.getInternalMethods().getCommandInstance().getCommands();const u=[];const d=e.getInternalMethods().getContext();Object.keys(r).forEach((t=>{if(!Me.includes(t)&&!Object.prototype.hasOwnProperty.call(o,t)&&!Object.prototype.hasOwnProperty.call(e.getInternalMethods().getParseContext(),t)&&!i.isValidAndSomeAliasIsNotNew(t,n)){u.push(t)}}));if(c&&(d.commands.length>0||A.length>0||a)){r._.slice(d.commands.length).forEach((e=>{if(!A.includes(""+e)){u.push(""+e)}}))}if(c){const t=e.getDemandedCommands();const n=((l=t._)===null||l===void 0?void 0:l.max)||0;const s=d.commands.length+n;if(s<r._.length){r._.slice(s).forEach((e=>{e=String(e);if(!d.commands.includes(e)&&!u.includes(e)){u.push(e)}}))}}if(u.length){t.fail(s("Unknown argument: %s","Unknown arguments: %s",u.length,u.map((e=>e.trim()?e:`"${e}"`)).join(", ")))}};i.unknownCommands=function unknownCommands(r){const n=e.getInternalMethods().getCommandInstance().getCommands();const i=[];const o=e.getInternalMethods().getContext();if(o.commands.length>0||n.length>0){r._.slice(o.commands.length).forEach((e=>{if(!n.includes(""+e)){i.push(""+e)}}))}if(i.length>0){t.fail(s("Unknown command: %s","Unknown commands: %s",i.length,i.join(", ")));return true}else{return false}};i.isValidAndSomeAliasIsNotNew=function isValidAndSomeAliasIsNotNew(t,r){if(!Object.prototype.hasOwnProperty.call(r,t)){return false}const n=e.parsed.newAliases;return[t,...r[t]].some((e=>!Object.prototype.hasOwnProperty.call(n,e)||!n[t]))};i.limitedChoices=function limitedChoices(r){const s=e.getOptions();const i={};if(!Object.keys(s.choices).length)return;Object.keys(r).forEach((e=>{if(Me.indexOf(e)===-1&&Object.prototype.hasOwnProperty.call(s.choices,e)){[].concat(r[e]).forEach((t=>{if(s.choices[e].indexOf(t)===-1&&t!==undefined){i[e]=(i[e]||[]).concat(t)}}))}}));const o=Object.keys(i);if(!o.length)return;let a=n("Invalid values:");o.forEach((e=>{a+=`\n ${n("Argument: %s, Given: %s, Choices: %s",e,t.stringifiedValues(i[e]),t.stringifiedValues(s.choices[e]))}`}));t.fail(a)};let o={};i.implies=function implies(t,n){argsert("<string|object> [array|number|string]",[t,n],arguments.length);if(typeof t==="object"){Object.keys(t).forEach((e=>{i.implies(e,t[e])}))}else{e.global(t);if(!o[t]){o[t]=[]}if(Array.isArray(n)){n.forEach((e=>i.implies(t,e)))}else{assertNotStrictEqual(n,undefined,r);o[t].push(n)}}};i.getImplied=function getImplied(){return o};function keyExists(e,t){const r=Number(t);t=isNaN(r)?t:r;if(typeof t==="number"){t=e._.length>=t}else if(t.match(/^--no-.+/)){t=t.match(/^--no-(.+)/)[1];t=!Object.prototype.hasOwnProperty.call(e,t)}else{t=Object.prototype.hasOwnProperty.call(e,t)}return t}i.implications=function implications(e){const r=[];Object.keys(o).forEach((t=>{const n=t;(o[t]||[]).forEach((t=>{let s=n;const i=t;s=keyExists(e,s);t=keyExists(e,t);if(s&&!t){r.push(` ${n} -> ${i}`)}}))}));if(r.length){let e=`${n("Implications failed:")}\n`;r.forEach((t=>{e+=t}));t.fail(e)}};let a={};i.conflicts=function conflicts(t,r){argsert("<string|object> [array|string]",[t,r],arguments.length);if(typeof t==="object"){Object.keys(t).forEach((e=>{i.conflicts(e,t[e])}))}else{e.global(t);if(!a[t]){a[t]=[]}if(Array.isArray(r)){r.forEach((e=>i.conflicts(t,e)))}else{a[t].push(r)}}};i.getConflicting=()=>a;i.conflicting=function conflictingFn(s){Object.keys(s).forEach((e=>{if(a[e]){a[e].forEach((r=>{if(r&&s[e]!==undefined&&s[r]!==undefined){t.fail(n("Arguments %s and %s are mutually exclusive",e,r))}}))}}));if(e.getInternalMethods().getParserConfiguration()["strip-dashed"]){Object.keys(a).forEach((e=>{a[e].forEach((i=>{if(i&&s[r.Parser.camelCase(e)]!==undefined&&s[r.Parser.camelCase(i)]!==undefined){t.fail(n("Arguments %s and %s are mutually exclusive",e,i))}}))}))}};i.recommendCommands=function recommendCommands(e,r){const s=3;r=r.sort(((e,t)=>t.length-e.length));let i=null;let o=Infinity;for(let t=0,n;(n=r[t])!==undefined;t++){const t=levenshtein(e,n);if(t<=s&&t<o){o=t;i=n}}if(i)t.fail(n("Did you mean %s?",i))};i.reset=function reset(e){o=objFilter(o,(t=>!e[t]));a=objFilter(a,(t=>!e[t]));return i};const c=[];i.freeze=function freeze(){c.push({implied:o,conflicting:a})};i.unfreeze=function unfreeze(){const e=c.pop();assertNotStrictEqual(e,undefined,r);({implied:o,conflicting:a}=e)};return i}let Pe=[];let Le;function applyExtends(e,t,r,n){Le=n;let s={};if(Object.prototype.hasOwnProperty.call(e,"extends")){if(typeof e.extends!=="string")return s;const i=/\.json|\..*rc$/.test(e.extends);let o=null;if(!i){try{o=import.meta.resolve(e.extends)}catch(t){return e}}else{o=getPathToDefaultConfig(t,e.extends)}checkForCircularExtends(o);Pe.push(o);s=i?JSON.parse(Le.readFileSync(o,"utf8")):n.require(e.extends);delete e.extends;s=applyExtends(s,Le.path.dirname(o),r,Le)}Pe=[];return r?mergeDeep(s,e):Object.assign({},s,e)}function checkForCircularExtends(e){if(Pe.indexOf(e)>-1){throw new YError(`Circular extended configurations: '${e}'.`)}}function getPathToDefaultConfig(e,t){return Le.path.resolve(e,t)}function mergeDeep(e,t){const r={};function isObject(e){return e&&typeof e==="object"&&!Array.isArray(e)}Object.assign(r,e);for(const n of Object.keys(t)){if(n==="__proto__")continue;if(isObject(t[n])&&isObject(r[n])){r[n]=mergeDeep(e[n],t[n])}else{r[n]=t[n]}}return r}var Ue=undefined&&undefined.__classPrivateFieldSet||function(e,t,r,n,s){if(n==="m")throw new TypeError("Private method is not writable");if(n==="a"&&!s)throw new TypeError("Private accessor was defined without a setter");if(typeof t==="function"?e!==t||!s:!t.has(e))throw new TypeError("Cannot write private member to an object whose class did not declare it");return n==="a"?s.call(e,r):s?s.value=r:t.set(e,r),r};var Oe=undefined&&undefined.__classPrivateFieldGet||function(e,t,r,n){if(r==="a"&&!n)throw new TypeError("Private accessor was defined without a getter");if(typeof t==="function"?e!==t||!n:!t.has(e))throw new TypeError("Cannot read private member from an object whose class did not declare it");return r==="m"?n:r==="a"?n.call(e):n?n.value:t.get(e)};var He,_e,qe,Ge,ze,Ye,Ve,Je,We,je,Ke,$e,Xe,Ze,et,tt,rt,nt,st,it,ot,at,ct,At,ut,dt,pt,ht,mt,ft,Ct,yt,Et,It,Bt;function YargsFactory(e){return(t=[],r=e.process.cwd(),n)=>{const s=new YargsInstance(t,r,n,e);Object.defineProperty(s,"argv",{get:()=>s.parse(),enumerable:true});s.help();s.version();return s}}const Qt=Symbol("copyDoubleDash");const bt=Symbol("copyDoubleDash");const St=Symbol("deleteFromParserHintObject");const wt=Symbol("emitWarning");const Dt=Symbol("freeze");const Nt=Symbol("getDollarZero");const xt=Symbol("getParserConfiguration");const Rt=Symbol("getUsageConfiguration");const vt=Symbol("guessLocale");const kt=Symbol("guessVersion");const Ft=Symbol("parsePositionalNumbers");const Tt=Symbol("pkgUp");const Mt=Symbol("populateParserHintArray");const Pt=Symbol("populateParserHintSingleValueDictionary");const Lt=Symbol("populateParserHintArrayDictionary");const Ut=Symbol("populateParserHintDictionary");const Ot=Symbol("sanitizeKey");const Ht=Symbol("setKey");const _t=Symbol("unfreeze");const qt=Symbol("validateAsync");const Gt=Symbol("getCommandInstance");const zt=Symbol("getContext");const Yt=Symbol("getHasOutput");const Vt=Symbol("getLoggerInstance");const Jt=Symbol("getParseContext");const Wt=Symbol("getUsageInstance");const jt=Symbol("getValidationInstance");const Kt=Symbol("hasParseCallback");const $t=Symbol("isGlobalContext");const Xt=Symbol("postProcess");const Zt=Symbol("rebase");const er=Symbol("reset");const tr=Symbol("runYargsParserAndExecuteCommands");const rr=Symbol("runValidation");const nr=Symbol("setHasOutput");const sr=Symbol("kTrackManuallySetKeys");const ir="en_US";class YargsInstance{constructor(e=[],t,r,n){this.customScriptName=false;this.parsed=false;He.set(this,void 0);_e.set(this,void 0);qe.set(this,{commands:[],fullCommands:[]});Ge.set(this,null);ze.set(this,null);Ye.set(this,"show-hidden");Ve.set(this,null);Je.set(this,true);We.set(this,{});je.set(this,true);Ke.set(this,[]);$e.set(this,void 0);Xe.set(this,{});Ze.set(this,false);et.set(this,null);tt.set(this,true);rt.set(this,void 0);nt.set(this,"");st.set(this,void 0);it.set(this,void 0);ot.set(this,{});at.set(this,null);ct.set(this,null);At.set(this,{});ut.set(this,{});dt.set(this,void 0);pt.set(this,false);ht.set(this,void 0);mt.set(this,false);ft.set(this,false);Ct.set(this,false);yt.set(this,void 0);Et.set(this,{});It.set(this,null);Bt.set(this,void 0);Ue(this,ht,n,"f");Ue(this,dt,e,"f");Ue(this,_e,t,"f");Ue(this,it,r,"f");Ue(this,$e,new GlobalMiddleware(this),"f");this.$0=this[Nt]();this[er]();Ue(this,He,Oe(this,He,"f"),"f");Ue(this,yt,Oe(this,yt,"f"),"f");Ue(this,Bt,Oe(this,Bt,"f"),"f");Ue(this,st,Oe(this,st,"f"),"f");Oe(this,st,"f").showHiddenOpt=Oe(this,Ye,"f");Ue(this,rt,this[bt](),"f");Oe(this,ht,"f").y18n.setLocale(ir)}addHelpOpt(e,t){const r="help";argsert("[string|boolean] [string]",[e,t],arguments.length);if(Oe(this,et,"f")){this[St](Oe(this,et,"f"));Ue(this,et,null,"f")}if(e===false&&t===undefined)return this;Ue(this,et,typeof e==="string"?e:r,"f");this.boolean(Oe(this,et,"f"));this.describe(Oe(this,et,"f"),t||Oe(this,yt,"f").deferY18nLookup("Show help"));return this}help(e,t){return this.addHelpOpt(e,t)}addShowHiddenOpt(e,t){argsert("[string|boolean] [string]",[e,t],arguments.length);if(e===false&&t===undefined)return this;const r=typeof e==="string"?e:Oe(this,Ye,"f");this.boolean(r);this.describe(r,t||Oe(this,yt,"f").deferY18nLookup("Show hidden options"));Oe(this,st,"f").showHiddenOpt=r;return this}showHidden(e,t){return this.addShowHiddenOpt(e,t)}alias(e,t){argsert("<object|string|array> [string|array]",[e,t],arguments.length);this[Lt](this.alias.bind(this),"alias",e,t);return this}array(e){argsert("<array|string>",[e],arguments.length);this[Mt]("array",e);this[sr](e);return this}boolean(e){argsert("<array|string>",[e],arguments.length);this[Mt]("boolean",e);this[sr](e);return this}check(e,t){argsert("<function> [boolean]",[e,t],arguments.length);this.middleware(((t,r)=>maybeAsyncResult((()=>e(t,r.getOptions())),(r=>{if(!r){Oe(this,yt,"f").fail(Oe(this,ht,"f").y18n.__("Argument check failed: %s",e.toString()))}else if(typeof r==="string"||r instanceof Error){Oe(this,yt,"f").fail(r.toString(),r)}return t}),(e=>{Oe(this,yt,"f").fail(e.message?e.message:e.toString(),e);return t}))),false,t);return this}choices(e,t){argsert("<object|string|array> [string|array]",[e,t],arguments.length);this[Lt](this.choices.bind(this),"choices",e,t);return this}coerce(e,t){argsert("<object|string|array> [function]",[e,t],arguments.length);if(Array.isArray(e)){if(!t){throw new YError("coerce callback must be provided")}for(const r of e){this.coerce(r,t)}return this}else if(typeof e==="object"){for(const t of Object.keys(e)){this.coerce(t,e[t])}return this}if(!t){throw new YError("coerce callback must be provided")}const r=e;Oe(this,st,"f").key[r]=true;Oe(this,$e,"f").addCoerceMiddleware(((e,n)=>{var s;const i=(s=n.getAliases()[r])!==null&&s!==void 0?s:[];const o=[r,...i].filter((t=>Object.prototype.hasOwnProperty.call(e,t)));if(o.length===0){return e}return maybeAsyncResult((()=>t(e[o[0]])),(t=>{o.forEach((r=>{e[r]=t}));return e}),(e=>{throw new YError(e.message)}))}),r);return this}conflicts(e,t){argsert("<string|object> [string|array]",[e,t],arguments.length);Oe(this,Bt,"f").conflicts(e,t);return this}config(e="config",t,r){argsert("[object|string] [string|function] [function]",[e,t,r],arguments.length);if(typeof e==="object"&&!Array.isArray(e)){e=applyExtends(e,Oe(this,_e,"f"),this[xt]()["deep-merge-config"]||false,Oe(this,ht,"f"));Oe(this,st,"f").configObjects=(Oe(this,st,"f").configObjects||[]).concat(e);return this}if(typeof t==="function"){r=t;t=undefined}this.describe(e,t||Oe(this,yt,"f").deferY18nLookup("Path to JSON config file"));(Array.isArray(e)?e:[e]).forEach((e=>{Oe(this,st,"f").config[e]=r||true}));return this}completion(e,t,r){argsert("[string] [string|boolean|function] [function]",[e,t,r],arguments.length);if(typeof t==="function"){r=t;t=undefined}Ue(this,ze,e||Oe(this,ze,"f")||"completion","f");if(!t&&t!==false){t="generate completion script"}this.command(Oe(this,ze,"f"),t);if(r)Oe(this,Ge,"f").registerFunction(r);return this}command(e,t,r,n,s,i){argsert("<string|array|object> [string|boolean] [function|object] [function] [array] [boolean|string]",[e,t,r,n,s,i],arguments.length);Oe(this,He,"f").addHandler(e,t,r,n,s,i);return this}commands(e,t,r,n,s,i){return this.command(e,t,r,n,s,i)}commandDir(e,t){argsert("<string> [object]",[e,t],arguments.length);const r=Oe(this,it,"f")||Oe(this,ht,"f").require;Oe(this,He,"f").addDirectory(e,r,Oe(this,ht,"f").getCallerFile(),t);return this}count(e){argsert("<array|string>",[e],arguments.length);this[Mt]("count",e);this[sr](e);return this}default(e,t,r){argsert("<object|string|array> [*] [string]",[e,t,r],arguments.length);if(r){assertSingleKey(e,Oe(this,ht,"f"));Oe(this,st,"f").defaultDescription[e]=r}if(typeof t==="function"){assertSingleKey(e,Oe(this,ht,"f"));if(!Oe(this,st,"f").defaultDescription[e])Oe(this,st,"f").defaultDescription[e]=Oe(this,yt,"f").functionDescription(t);t=t.call()}this[Pt](this.default.bind(this),"default",e,t);return this}defaults(e,t,r){return this.default(e,t,r)}demandCommand(e=1,t,r,n){argsert("[number] [number|string] [string|null|undefined] [string|null|undefined]",[e,t,r,n],arguments.length);if(typeof t!=="number"){r=t;t=Infinity}this.global("_",false);Oe(this,st,"f").demandedCommands._={min:e,max:t,minMsg:r,maxMsg:n};return this}demand(e,t,r){if(Array.isArray(t)){t.forEach((e=>{assertNotStrictEqual(r,true,Oe(this,ht,"f"));this.demandOption(e,r)}));t=Infinity}else if(typeof t!=="number"){r=t;t=Infinity}if(typeof e==="number"){assertNotStrictEqual(r,true,Oe(this,ht,"f"));this.demandCommand(e,t,r,r)}else if(Array.isArray(e)){e.forEach((e=>{assertNotStrictEqual(r,true,Oe(this,ht,"f"));this.demandOption(e,r)}))}else{if(typeof r==="string"){this.demandOption(e,r)}else if(r===true||typeof r==="undefined"){this.demandOption(e)}}return this}demandOption(e,t){argsert("<object|string|array> [string]",[e,t],arguments.length);this[Pt](this.demandOption.bind(this),"demandedOptions",e,t);return this}deprecateOption(e,t){argsert("<string> [string|boolean]",[e,t],arguments.length);Oe(this,st,"f").deprecatedOptions[e]=t;return this}describe(e,t){argsert("<object|string|array> [string]",[e,t],arguments.length);this[Ht](e,true);Oe(this,yt,"f").describe(e,t);return this}detectLocale(e){argsert("<boolean>",[e],arguments.length);Ue(this,Je,e,"f");return this}env(e){argsert("[string|boolean]",[e],arguments.length);if(e===false)delete Oe(this,st,"f").envPrefix;else Oe(this,st,"f").envPrefix=e||"";return this}epilogue(e){argsert("<string>",[e],arguments.length);Oe(this,yt,"f").epilog(e);return this}epilog(e){return this.epilogue(e)}example(e,t){argsert("<string|array> [string]",[e,t],arguments.length);if(Array.isArray(e)){e.forEach((e=>this.example(...e)))}else{Oe(this,yt,"f").example(e,t)}return this}exit(e,t){Ue(this,Ze,true,"f");Ue(this,Ve,t,"f");if(Oe(this,je,"f"))Oe(this,ht,"f").process.exit(e)}exitProcess(e=true){argsert("[boolean]",[e],arguments.length);Ue(this,je,e,"f");return this}fail(e){argsert("<function|boolean>",[e],arguments.length);if(typeof e==="boolean"&&e!==false){throw new YError("Invalid first argument. Expected function or boolean 'false'")}Oe(this,yt,"f").failFn(e);return this}getAliases(){return this.parsed?this.parsed.aliases:{}}async getCompletion(e,t){argsert("<array> [function]",[e,t],arguments.length);if(!t){return new Promise(((t,r)=>{Oe(this,Ge,"f").getCompletion(e,((e,n)=>{if(e)r(e);else t(n)}))}))}else{return Oe(this,Ge,"f").getCompletion(e,t)}}getDemandedOptions(){argsert([],0);return Oe(this,st,"f").demandedOptions}getDemandedCommands(){argsert([],0);return Oe(this,st,"f").demandedCommands}getDeprecatedOptions(){argsert([],0);return Oe(this,st,"f").deprecatedOptions}getDetectLocale(){return Oe(this,Je,"f")}getExitProcess(){return Oe(this,je,"f")}getGroups(){return Object.assign({},Oe(this,Xe,"f"),Oe(this,ut,"f"))}getHelp(){Ue(this,Ze,true,"f");if(!Oe(this,yt,"f").hasCachedHelpMessage()){if(!this.parsed){const e=this[tr](Oe(this,dt,"f"),undefined,undefined,0,true);if(isPromise(e)){return e.then((()=>Oe(this,yt,"f").help()))}}const e=Oe(this,He,"f").runDefaultBuilderOn(this);if(isPromise(e)){return e.then((()=>Oe(this,yt,"f").help()))}}return Promise.resolve(Oe(this,yt,"f").help())}getOptions(){return Oe(this,st,"f")}getStrict(){return Oe(this,mt,"f")}getStrictCommands(){return Oe(this,ft,"f")}getStrictOptions(){return Oe(this,Ct,"f")}global(e,t){argsert("<string|array> [boolean]",[e,t],arguments.length);e=[].concat(e);if(t!==false){Oe(this,st,"f").local=Oe(this,st,"f").local.filter((t=>e.indexOf(t)===-1))}else{e.forEach((e=>{if(!Oe(this,st,"f").local.includes(e))Oe(this,st,"f").local.push(e)}))}return this}group(e,t){argsert("<string|array> <string>",[e,t],arguments.length);const r=Oe(this,ut,"f")[t]||Oe(this,Xe,"f")[t];if(Oe(this,ut,"f")[t]){delete Oe(this,ut,"f")[t]}const n={};Oe(this,Xe,"f")[t]=(r||[]).concat(e).filter((e=>{if(n[e])return false;return n[e]=true}));return this}hide(e){argsert("<string>",[e],arguments.length);Oe(this,st,"f").hiddenOptions.push(e);return this}implies(e,t){argsert("<string|object> [number|string|array]",[e,t],arguments.length);Oe(this,Bt,"f").implies(e,t);return this}locale(e){argsert("[string]",[e],arguments.length);if(e===undefined){this[vt]();return Oe(this,ht,"f").y18n.getLocale()}Ue(this,Je,false,"f");Oe(this,ht,"f").y18n.setLocale(e);return this}middleware(e,t,r){return Oe(this,$e,"f").addMiddleware(e,!!t,r)}nargs(e,t){argsert("<string|object|array> [number]",[e,t],arguments.length);this[Pt](this.nargs.bind(this),"narg",e,t);return this}normalize(e){argsert("<array|string>",[e],arguments.length);this[Mt]("normalize",e);return this}number(e){argsert("<array|string>",[e],arguments.length);this[Mt]("number",e);this[sr](e);return this}option(e,t){argsert("<string|object> [object]",[e,t],arguments.length);if(typeof e==="object"){Object.keys(e).forEach((t=>{this.options(t,e[t])}))}else{if(typeof t!=="object"){t={}}this[sr](e);if(Oe(this,It,"f")&&(e==="version"||(t===null||t===void 0?void 0:t.alias)==="version")){this[wt](['"version" is a reserved word.',"Please do one of the following:",'- Disable version with `yargs.version(false)` if using "version" as an option',"- Use the built-in `yargs.version` method instead (if applicable)","- Use a different option key","https://yargs.js.org/docs/#api-reference-version"].join("\n"),undefined,"versionWarning")}Oe(this,st,"f").key[e]=true;if(t.alias)this.alias(e,t.alias);const r=t.deprecate||t.deprecated;if(r){this.deprecateOption(e,r)}const n=t.demand||t.required||t.require;if(n){this.demand(e,n)}if(t.demandOption){this.demandOption(e,typeof t.demandOption==="string"?t.demandOption:undefined)}if(t.conflicts){this.conflicts(e,t.conflicts)}if("default"in t){this.default(e,t.default)}if(t.implies!==undefined){this.implies(e,t.implies)}if(t.nargs!==undefined){this.nargs(e,t.nargs)}if(t.config){this.config(e,t.configParser)}if(t.normalize){this.normalize(e)}if(t.choices){this.choices(e,t.choices)}if(t.coerce){this.coerce(e,t.coerce)}if(t.group){this.group(e,t.group)}if(t.boolean||t.type==="boolean"){this.boolean(e);if(t.alias)this.boolean(t.alias)}if(t.array||t.type==="array"){this.array(e);if(t.alias)this.array(t.alias)}if(t.number||t.type==="number"){this.number(e);if(t.alias)this.number(t.alias)}if(t.string||t.type==="string"){this.string(e);if(t.alias)this.string(t.alias)}if(t.count||t.type==="count"){this.count(e)}if(typeof t.global==="boolean"){this.global(e,t.global)}if(t.defaultDescription){Oe(this,st,"f").defaultDescription[e]=t.defaultDescription}if(t.skipValidation){this.skipValidation(e)}const s=t.describe||t.description||t.desc;const i=Oe(this,yt,"f").getDescriptions();if(!Object.prototype.hasOwnProperty.call(i,e)||typeof s==="string"){this.describe(e,s)}if(t.hidden){this.hide(e)}if(t.requiresArg){this.requiresArg(e)}}return this}options(e,t){return this.option(e,t)}parse(e,t,r){argsert("[string|array] [function|boolean|object] [function]",[e,t,r],arguments.length);this[Dt]();if(typeof e==="undefined"){e=Oe(this,dt,"f")}if(typeof t==="object"){Ue(this,ct,t,"f");t=r}if(typeof t==="function"){Ue(this,at,t,"f");t=false}if(!t)Ue(this,dt,e,"f");if(Oe(this,at,"f"))Ue(this,je,false,"f");const n=this[tr](e,!!t);const s=this.parsed;Oe(this,Ge,"f").setParsed(this.parsed);if(isPromise(n)){return n.then((e=>{if(Oe(this,at,"f"))Oe(this,at,"f").call(this,Oe(this,Ve,"f"),e,Oe(this,nt,"f"));return e})).catch((e=>{if(Oe(this,at,"f")){Oe(this,at,"f")(e,this.parsed.argv,Oe(this,nt,"f"))}throw e})).finally((()=>{this[_t]();this.parsed=s}))}else{if(Oe(this,at,"f"))Oe(this,at,"f").call(this,Oe(this,Ve,"f"),n,Oe(this,nt,"f"));this[_t]();this.parsed=s}return n}parseAsync(e,t,r){const n=this.parse(e,t,r);return!isPromise(n)?Promise.resolve(n):n}parseSync(e,t,r){const n=this.parse(e,t,r);if(isPromise(n)){throw new YError(".parseSync() must not be used with asynchronous builders, handlers, or middleware")}return n}parserConfiguration(e){argsert("<object>",[e],arguments.length);Ue(this,ot,e,"f");return this}pkgConf(e,t){argsert("<string> [string]",[e,t],arguments.length);let r=null;const n=this[Tt](t||Oe(this,_e,"f"));if(n[e]&&typeof n[e]==="object"){r=applyExtends(n[e],t||Oe(this,_e,"f"),this[xt]()["deep-merge-config"]||false,Oe(this,ht,"f"));Oe(this,st,"f").configObjects=(Oe(this,st,"f").configObjects||[]).concat(r)}return this}positional(e,t){argsert("<string> <object>",[e,t],arguments.length);const r=["default","defaultDescription","implies","normalize","choices","conflicts","coerce","type","describe","desc","description","alias"];t=objFilter(t,((e,t)=>{if(e==="type"&&!["string","number","boolean"].includes(t))return false;return r.includes(e)}));const n=Oe(this,qe,"f").fullCommands[Oe(this,qe,"f").fullCommands.length-1];const s=n?Oe(this,He,"f").cmdToParseOptions(n):{array:[],alias:{},default:{},demand:{}};objectKeys(s).forEach((r=>{const n=s[r];if(Array.isArray(n)){if(n.indexOf(e)!==-1)t[r]=true}else{if(n[e]&&!(r in t))t[r]=n[e]}}));this.group(e,Oe(this,yt,"f").getPositionalGroupName());return this.option(e,t)}recommendCommands(e=true){argsert("[boolean]",[e],arguments.length);Ue(this,pt,e,"f");return this}required(e,t,r){return this.demand(e,t,r)}require(e,t,r){return this.demand(e,t,r)}requiresArg(e){argsert("<array|string|object> [number]",[e],arguments.length);if(typeof e==="string"&&Oe(this,st,"f").narg[e]){return this}else{this[Pt](this.requiresArg.bind(this),"narg",e,NaN)}return this}showCompletionScript(e,t){argsert("[string] [string]",[e,t],arguments.length);e=e||this.$0;Oe(this,rt,"f").log(Oe(this,Ge,"f").generateCompletionScript(e,t||Oe(this,ze,"f")||"completion"));return this}showHelp(e){argsert("[string|function]",[e],arguments.length);Ue(this,Ze,true,"f");if(!Oe(this,yt,"f").hasCachedHelpMessage()){if(!this.parsed){const t=this[tr](Oe(this,dt,"f"),undefined,undefined,0,true);if(isPromise(t)){t.then((()=>{Oe(this,yt,"f").showHelp(e)}));return this}}const t=Oe(this,He,"f").runDefaultBuilderOn(this);if(isPromise(t)){t.then((()=>{Oe(this,yt,"f").showHelp(e)}));return this}}Oe(this,yt,"f").showHelp(e);return this}scriptName(e){this.customScriptName=true;this.$0=e;return this}showHelpOnFail(e,t){argsert("[boolean|string] [string]",[e,t],arguments.length);Oe(this,yt,"f").showHelpOnFail(e,t);return this}showVersion(e){argsert("[string|function]",[e],arguments.length);Oe(this,yt,"f").showVersion(e);return this}skipValidation(e){argsert("<array|string>",[e],arguments.length);this[Mt]("skipValidation",e);return this}strict(e){argsert("[boolean]",[e],arguments.length);Ue(this,mt,e!==false,"f");return this}strictCommands(e){argsert("[boolean]",[e],arguments.length);Ue(this,ft,e!==false,"f");return this}strictOptions(e){argsert("[boolean]",[e],arguments.length);Ue(this,Ct,e!==false,"f");return this}string(e){argsert("<array|string>",[e],arguments.length);this[Mt]("string",e);this[sr](e);return this}terminalWidth(){argsert([],0);return Oe(this,ht,"f").process.stdColumns}updateLocale(e){return this.updateStrings(e)}updateStrings(e){argsert("<object>",[e],arguments.length);Ue(this,Je,false,"f");Oe(this,ht,"f").y18n.updateLocale(e);return this}usage(e,t,r,n){argsert("<string|null|undefined> [string|boolean] [function|object] [function]",[e,t,r,n],arguments.length);if(t!==undefined){assertNotStrictEqual(e,null,Oe(this,ht,"f"));if((e||"").match(/^\$0( |$)/)){return this.command(e,t,r,n)}else{throw new YError(".usage() description must start with $0 if being used as alias for .command()")}}else{Oe(this,yt,"f").usage(e);return this}}usageConfiguration(e){argsert("<object>",[e],arguments.length);Ue(this,Et,e,"f");return this}version(e,t,r){const n="version";argsert("[boolean|string] [string] [string]",[e,t,r],arguments.length);if(Oe(this,It,"f")){this[St](Oe(this,It,"f"));Oe(this,yt,"f").version(undefined);Ue(this,It,null,"f")}if(arguments.length===0){r=this[kt]();e=n}else if(arguments.length===1){if(e===false){return this}r=e;e=n}else if(arguments.length===2){r=t;t=undefined}Ue(this,It,typeof e==="string"?e:n,"f");t=t||Oe(this,yt,"f").deferY18nLookup("Show version number");Oe(this,yt,"f").version(r||undefined);this.boolean(Oe(this,It,"f"));this.describe(Oe(this,It,"f"),t);return this}wrap(e){argsert("<number|null|undefined>",[e],arguments.length);Oe(this,yt,"f").wrap(e);return this}[(He=new WeakMap,_e=new WeakMap,qe=new WeakMap,Ge=new WeakMap,ze=new WeakMap,Ye=new WeakMap,Ve=new WeakMap,Je=new WeakMap,We=new WeakMap,je=new WeakMap,Ke=new WeakMap,$e=new WeakMap,Xe=new WeakMap,Ze=new WeakMap,et=new WeakMap,tt=new WeakMap,rt=new WeakMap,nt=new WeakMap,st=new WeakMap,it=new WeakMap,ot=new WeakMap,at=new WeakMap,ct=new WeakMap,At=new WeakMap,ut=new WeakMap,dt=new WeakMap,pt=new WeakMap,ht=new WeakMap,mt=new WeakMap,ft=new WeakMap,Ct=new WeakMap,yt=new WeakMap,Et=new WeakMap,It=new WeakMap,Bt=new WeakMap,Qt)](e){if(!e._||!e["--"])return e;e._.push.apply(e._,e["--"]);try{delete e["--"]}catch(e){}return e}[bt](){return{log:(...e)=>{if(!this[Kt]())console.log(...e);Ue(this,Ze,true,"f");if(Oe(this,nt,"f").length)Ue(this,nt,Oe(this,nt,"f")+"\n","f");Ue(this,nt,Oe(this,nt,"f")+e.join(" "),"f")},error:(...e)=>{if(!this[Kt]())console.error(...e);Ue(this,Ze,true,"f");if(Oe(this,nt,"f").length)Ue(this,nt,Oe(this,nt,"f")+"\n","f");Ue(this,nt,Oe(this,nt,"f")+e.join(" "),"f")}}}[St](e){objectKeys(Oe(this,st,"f")).forEach((t=>{if((e=>e==="configObjects")(t))return;const r=Oe(this,st,"f")[t];if(Array.isArray(r)){if(r.includes(e))r.splice(r.indexOf(e),1)}else if(typeof r==="object"){delete r[e]}}));delete Oe(this,yt,"f").getDescriptions()[e]}[wt](e,t,r){if(!Oe(this,We,"f")[r]){Oe(this,ht,"f").process.emitWarning(e,t);Oe(this,We,"f")[r]=true}}[Dt](){Oe(this,Ke,"f").push({options:Oe(this,st,"f"),configObjects:Oe(this,st,"f").configObjects.slice(0),exitProcess:Oe(this,je,"f"),groups:Oe(this,Xe,"f"),strict:Oe(this,mt,"f"),strictCommands:Oe(this,ft,"f"),strictOptions:Oe(this,Ct,"f"),completionCommand:Oe(this,ze,"f"),output:Oe(this,nt,"f"),exitError:Oe(this,Ve,"f"),hasOutput:Oe(this,Ze,"f"),parsed:this.parsed,parseFn:Oe(this,at,"f"),parseContext:Oe(this,ct,"f")});Oe(this,yt,"f").freeze();Oe(this,Bt,"f").freeze();Oe(this,He,"f").freeze();Oe(this,$e,"f").freeze()}[Nt](){let e="";let t;if(/\b(node|iojs|electron|bun)(\.exe)?$/.test(Oe(this,ht,"f").process.argv()[0])){t=Oe(this,ht,"f").process.argv().slice(1,2)}else{t=Oe(this,ht,"f").process.argv().slice(0,1)}e=t.map((e=>{const t=this[Zt](Oe(this,_e,"f"),e);return e.match(/^(\/|([a-zA-Z]:)?\\)/)&&t.length<e.length?t:e})).join(" ").trim();if(Oe(this,ht,"f").getEnv("_")&&Oe(this,ht,"f").getProcessArgvBin()===Oe(this,ht,"f").getEnv("_")){e=Oe(this,ht,"f").getEnv("_").replace(`${Oe(this,ht,"f").path.dirname(Oe(this,ht,"f").process.execPath())}/`,"")}return e}[xt](){return Oe(this,ot,"f")}[Rt](){return Oe(this,Et,"f")}[vt](){if(!Oe(this,Je,"f"))return;const e=Oe(this,ht,"f").getEnv("LC_ALL")||Oe(this,ht,"f").getEnv("LC_MESSAGES")||Oe(this,ht,"f").getEnv("LANG")||Oe(this,ht,"f").getEnv("LANGUAGE")||"en_US";this.locale(e.replace(/[.:].*/,""))}[kt](){const e=this[Tt]();return e.version||"unknown"}[Ft](e){const t=e["--"]?e["--"]:e._;for(let e=0,r;(r=t[e])!==undefined;e++){if(Oe(this,ht,"f").Parser.looksLikeNumber(r)&&Number.isSafeInteger(Math.floor(parseFloat(`${r}`)))){t[e]=Number(r)}}return e}[Tt](e){const t=e||"*";if(Oe(this,At,"f")[t])return Oe(this,At,"f")[t];let r={};try{let t=e||Oe(this,ht,"f").mainFilename;if(Oe(this,ht,"f").path.extname(t)){t=Oe(this,ht,"f").path.dirname(t)}const n=Oe(this,ht,"f").findUp(t,((e,t)=>{if(t.includes("package.json")){return"package.json"}else{return undefined}}));assertNotStrictEqual(n,undefined,Oe(this,ht,"f"));r=JSON.parse(Oe(this,ht,"f").readFileSync(n,"utf8"))}catch(e){}Oe(this,At,"f")[t]=r||{};return Oe(this,At,"f")[t]}[Mt](e,t){t=[].concat(t);t.forEach((t=>{t=this[Ot](t);Oe(this,st,"f")[e].push(t)}))}[Pt](e,t,r,n){this[Ut](e,t,r,n,((e,t,r)=>{Oe(this,st,"f")[e][t]=r}))}[Lt](e,t,r,n){this[Ut](e,t,r,n,((e,t,r)=>{Oe(this,st,"f")[e][t]=(Oe(this,st,"f")[e][t]||[]).concat(r)}))}[Ut](e,t,r,n,s){if(Array.isArray(r)){r.forEach((t=>{e(t,n)}))}else if((e=>typeof e==="object")(r)){for(const t of objectKeys(r)){e(t,r[t])}}else{s(t,this[Ot](r),n)}}[Ot](e){if(e==="__proto__")return"___proto___";return e}[Ht](e,t){this[Pt](this[Ht].bind(this),"key",e,t);return this}[_t](){var e,t,r,n,s,i,o,a,c,l,A,u;const d=Oe(this,Ke,"f").pop();assertNotStrictEqual(d,undefined,Oe(this,ht,"f"));let g;e=this,t=this,r=this,n=this,s=this,i=this,o=this,a=this,c=this,l=this,A=this,u=this,({options:{set value(t){Ue(e,st,t,"f")}}.value,configObjects:g,exitProcess:{set value(e){Ue(t,je,e,"f")}}.value,groups:{set value(e){Ue(r,Xe,e,"f")}}.value,output:{set value(e){Ue(n,nt,e,"f")}}.value,exitError:{set value(e){Ue(s,Ve,e,"f")}}.value,hasOutput:{set value(e){Ue(i,Ze,e,"f")}}.value,parsed:this.parsed,strict:{set value(e){Ue(o,mt,e,"f")}}.value,strictCommands:{set value(e){Ue(a,ft,e,"f")}}.value,strictOptions:{set value(e){Ue(c,Ct,e,"f")}}.value,completionCommand:{set value(e){Ue(l,ze,e,"f")}}.value,parseFn:{set value(e){Ue(A,at,e,"f")}}.value,parseContext:{set value(e){Ue(u,ct,e,"f")}}.value}=d);Oe(this,st,"f").configObjects=g;Oe(this,yt,"f").unfreeze();Oe(this,Bt,"f").unfreeze();Oe(this,He,"f").unfreeze();Oe(this,$e,"f").unfreeze()}[qt](e,t){return maybeAsyncResult(t,(t=>{e(t);return t}))}getInternalMethods(){return{getCommandInstance:this[Gt].bind(this),getContext:this[zt].bind(this),getHasOutput:this[Yt].bind(this),getLoggerInstance:this[Vt].bind(this),getParseContext:this[Jt].bind(this),getParserConfiguration:this[xt].bind(this),getUsageConfiguration:this[Rt].bind(this),getUsageInstance:this[Wt].bind(this),getValidationInstance:this[jt].bind(this),hasParseCallback:this[Kt].bind(this),isGlobalContext:this[$t].bind(this),postProcess:this[Xt].bind(this),reset:this[er].bind(this),runValidation:this[rr].bind(this),runYargsParserAndExecuteCommands:this[tr].bind(this),setHasOutput:this[nr].bind(this)}}[Gt](){return Oe(this,He,"f")}[zt](){return Oe(this,qe,"f")}[Yt](){return Oe(this,Ze,"f")}[Vt](){return Oe(this,rt,"f")}[Jt](){return Oe(this,ct,"f")||{}}[Wt](){return Oe(this,yt,"f")}[jt](){return Oe(this,Bt,"f")}[Kt](){return!!Oe(this,at,"f")}[$t](){return Oe(this,tt,"f")}[Xt](e,t,r,n){if(r)return e;if(isPromise(e))return e;if(!t){e=this[Qt](e)}const s=this[xt]()["parse-positional-numbers"]||this[xt]()["parse-positional-numbers"]===undefined;if(s){e=this[Ft](e)}if(n){e=applyMiddleware(e,this,Oe(this,$e,"f").getMiddleware(),false)}return e}[er](e={}){Ue(this,st,Oe(this,st,"f")||{},"f");const t={};t.local=Oe(this,st,"f").local||[];t.configObjects=Oe(this,st,"f").configObjects||[];const r={};t.local.forEach((t=>{r[t]=true;(e[t]||[]).forEach((e=>{r[e]=true}))}));Object.assign(Oe(this,ut,"f"),Object.keys(Oe(this,Xe,"f")).reduce(((e,t)=>{const n=Oe(this,Xe,"f")[t].filter((e=>!(e in r)));if(n.length>0){e[t]=n}return e}),{}));Ue(this,Xe,{},"f");const n=["array","boolean","string","skipValidation","count","normalize","number","hiddenOptions"];const s=["narg","key","alias","default","defaultDescription","config","choices","demandedOptions","demandedCommands","deprecatedOptions"];n.forEach((e=>{t[e]=(Oe(this,st,"f")[e]||[]).filter((e=>!r[e]))}));s.forEach((e=>{t[e]=objFilter(Oe(this,st,"f")[e],(e=>!r[e]))}));t.envPrefix=Oe(this,st,"f").envPrefix;Ue(this,st,t,"f");Ue(this,yt,Oe(this,yt,"f")?Oe(this,yt,"f").reset(r):usage(this,Oe(this,ht,"f")),"f");Ue(this,Bt,Oe(this,Bt,"f")?Oe(this,Bt,"f").reset(r):validation(this,Oe(this,yt,"f"),Oe(this,ht,"f")),"f");Ue(this,He,Oe(this,He,"f")?Oe(this,He,"f").reset():command(Oe(this,yt,"f"),Oe(this,Bt,"f"),Oe(this,$e,"f"),Oe(this,ht,"f")),"f");if(!Oe(this,Ge,"f"))Ue(this,Ge,completion(this,Oe(this,yt,"f"),Oe(this,He,"f"),Oe(this,ht,"f")),"f");Oe(this,$e,"f").reset();Ue(this,ze,null,"f");Ue(this,nt,"","f");Ue(this,Ve,null,"f");Ue(this,Ze,false,"f");this.parsed=false;return this}[Zt](e,t){return Oe(this,ht,"f").path.relative(e,t)}[tr](e,t,r,n=0,s=false){var i,o,a,c;let l=!!r||s;e=e||Oe(this,dt,"f");Oe(this,st,"f").__=Oe(this,ht,"f").y18n.__;Oe(this,st,"f").configuration=this[xt]();const A=!!Oe(this,st,"f").configuration["populate--"];const u=Object.assign({},Oe(this,st,"f").configuration,{"populate--":true});const d=Oe(this,ht,"f").Parser.detailed(e,Object.assign({},Oe(this,st,"f"),{configuration:{"parse-positional-numbers":false,...u}}));const g=Object.assign(d.argv,Oe(this,ct,"f"));let p=undefined;const h=d.aliases;let m=false;let f=false;Object.keys(g).forEach((e=>{if(e===Oe(this,et,"f")&&g[e]){m=true}else if(e===Oe(this,It,"f")&&g[e]){f=true}}));g.$0=this.$0;this.parsed=d;if(n===0){Oe(this,yt,"f").clearCachedHelpMessage()}try{this[vt]();if(t){return this[Xt](g,A,!!r,false)}if(Oe(this,et,"f")){const e=[Oe(this,et,"f")].concat(h[Oe(this,et,"f")]||[]).filter((e=>e.length>1));if(e.includes(""+g._[g._.length-1])){g._.pop();m=true}}Ue(this,tt,false,"f");const u=Oe(this,He,"f").getCommands();const C=((i=Oe(this,Ge,"f"))===null||i===void 0?void 0:i.completionKey)?[(o=Oe(this,Ge,"f"))===null||o===void 0?void 0:o.completionKey,...(c=this.getAliases()[(a=Oe(this,Ge,"f"))===null||a===void 0?void 0:a.completionKey])!==null&&c!==void 0?c:[]].some((e=>Object.prototype.hasOwnProperty.call(g,e))):false;const y=m||C||s;if(g._.length){if(u.length){let e;for(let t=n||0,i;g._[t]!==undefined;t++){i=String(g._[t]);if(u.includes(i)&&i!==Oe(this,ze,"f")){const e=Oe(this,He,"f").runCommand(i,this,d,t+1,s,m||f||s);return this[Xt](e,A,!!r,false)}else if(!e&&i!==Oe(this,ze,"f")){e=i;break}}if(!Oe(this,He,"f").hasDefaultCommand()&&Oe(this,pt,"f")&&e&&!y){Oe(this,Bt,"f").recommendCommands(e,u)}}if(Oe(this,ze,"f")&&g._.includes(Oe(this,ze,"f"))&&!C){if(Oe(this,je,"f"))setBlocking(true);this.showCompletionScript();this.exit(0)}}if(Oe(this,He,"f").hasDefaultCommand()&&!y){const e=Oe(this,He,"f").runCommand(null,this,d,0,s,m||f||s);return this[Xt](e,A,!!r,false)}if(C){if(Oe(this,je,"f"))setBlocking(true);e=[].concat(e);const t=e.slice(e.indexOf(`--${Oe(this,Ge,"f").completionKey}`)+1);Oe(this,Ge,"f").getCompletion(t,((e,t)=>{if(e)throw new YError(e.message);(t||[]).forEach((e=>{Oe(this,rt,"f").log(e)}));this.exit(0)}));return this[Xt](g,!A,!!r,false)}if(!Oe(this,Ze,"f")){if(m){if(Oe(this,je,"f"))setBlocking(true);l=true;this.showHelp((e=>{Oe(this,rt,"f").log(e);this.exit(0)}))}else if(f){if(Oe(this,je,"f"))setBlocking(true);l=true;Oe(this,yt,"f").showVersion("log");this.exit(0)}}if(!l&&Oe(this,st,"f").skipValidation.length>0){l=Object.keys(g).some((e=>Oe(this,st,"f").skipValidation.indexOf(e)>=0&&g[e]===true))}if(!l){if(d.error)throw new YError(d.error.message);if(!C){const e=this[rr](h,{},d.error);if(!r){p=applyMiddleware(g,this,Oe(this,$e,"f").getMiddleware(),true)}p=this[qt](e,p!==null&&p!==void 0?p:g);if(isPromise(p)&&!r){p=p.then((()=>applyMiddleware(g,this,Oe(this,$e,"f").getMiddleware(),false)))}}}}catch(e){if(e instanceof YError)Oe(this,yt,"f").fail(e.message,e);else throw e}return this[Xt](p!==null&&p!==void 0?p:g,A,!!r,true)}[rr](e,t,r,n){const s={...this.getDemandedOptions()};return i=>{if(r)throw new YError(r.message);Oe(this,Bt,"f").nonOptionCount(i);Oe(this,Bt,"f").requiredArguments(i,s);let o=false;if(Oe(this,ft,"f")){o=Oe(this,Bt,"f").unknownCommands(i)}if(Oe(this,mt,"f")&&!o){Oe(this,Bt,"f").unknownArguments(i,e,t,!!n)}else if(Oe(this,Ct,"f")){Oe(this,Bt,"f").unknownArguments(i,e,{},false,false)}Oe(this,Bt,"f").limitedChoices(i);Oe(this,Bt,"f").implications(i);Oe(this,Bt,"f").conflicting(i)}}[nr](){Ue(this,Ze,true,"f")}[sr](e){if(typeof e==="string"){Oe(this,st,"f").key[e]=true}else{for(const t of e){Oe(this,st,"f").key[t]=true}}}}function isYargsInstance(e){return!!e&&typeof e.getInternalMethods==="function"}const or=YargsFactory(Re);const ar=or;var cr=__nccwpck_require__(857);function utils_toCommandValue(e){if(e===null||e===undefined){return""}else if(typeof e==="string"||e instanceof String){return e}return JSON.stringify(e)}function utils_toCommandProperties(e){if(!Object.keys(e).length){return{}}return{title:e.title,file:e.file,line:e.startLine,endLine:e.endLine,col:e.startColumn,endColumn:e.endColumn}}function command_issueCommand(e,t,r){const n=new Command(e,t,r);process.stdout.write(n.toString()+cr.EOL)}function command_issue(e,t=""){command_issueCommand(e,{},t)}const lr="::";class Command{constructor(e,t,r){if(!e){e="missing.command"}this.command=e;this.properties=t;this.message=r}toString(){let e=lr+this.command;if(this.properties&&Object.keys(this.properties).length>0){e+=" ";let t=true;for(const r in this.properties){if(this.properties.hasOwnProperty(r)){const n=this.properties[r];if(n){if(t){t=false}else{e+=","}e+=`${r}=${escapeProperty(n)}`}}}}e+=`${lr}${escapeData(this.message)}`;return e}}function escapeData(e){return utils_toCommandValue(e).replace(/%/g,"%25").replace(/\r/g,"%0D").replace(/\n/g,"%0A")}function escapeProperty(e){return utils_toCommandValue(e).replace(/%/g,"%25").replace(/\r/g,"%0D").replace(/\n/g,"%0A").replace(/:/g,"%3A").replace(/,/g,"%2C")}const Ar=e(import.meta.url)("crypto");function file_command_issueFileCommand(e,t){const r=process.env[`GITHUB_${e}`];if(!r){throw new Error(`Unable to find environment variable for file command ${e}`)}if(!i.existsSync(r)){throw new Error(`Missing file at path: ${r}`)}i.appendFileSync(r,`${utils_toCommandValue(t)}${cr.EOL}`,{encoding:"utf8"})}function file_command_prepareKeyValueMessage(e,t){const r=`ghadelimiter_${Ar.randomUUID()}`;const n=utils_toCommandValue(t);if(e.includes(r)){throw new Error(`Unexpected input: name should not contain the delimiter "${r}"`)}if(n.includes(r)){throw new Error(`Unexpected input: value should not contain the delimiter "${r}"`)}return`${e}<<${r}${cr.EOL}${n}${cr.EOL}${r}`}var ur=__nccwpck_require__(8611);var dr=__nccwpck_require__.t(ur,2);var gr=__nccwpck_require__(5692);var pr=__nccwpck_require__.t(gr,2);function getProxyUrl(e){const t=e.protocol==="https:";if(checkBypass(e)){return undefined}const r=(()=>{if(t){return process.env["https_proxy"]||process.env["HTTPS_PROXY"]}else{return process.env["http_proxy"]||process.env["HTTP_PROXY"]}})();if(r){try{return new DecodedURL(r)}catch(e){if(!r.startsWith("http://")&&!r.startsWith("https://"))return new DecodedURL(`http://${r}`)}}else{return undefined}}function checkBypass(e){if(!e.hostname){return false}const t=e.hostname;if(isLoopbackAddress(t)){return true}const r=process.env["no_proxy"]||process.env["NO_PROXY"]||"";if(!r){return false}let n;if(e.port){n=Number(e.port)}else if(e.protocol==="http:"){n=80}else if(e.protocol==="https:"){n=443}const s=[e.hostname.toUpperCase()];if(typeof n==="number"){s.push(`${s[0]}:${n}`)}for(const e of r.split(",").map((e=>e.trim().toUpperCase())).filter((e=>e))){if(e==="*"||s.some((t=>t===e||t.endsWith(`.${e}`)||e.startsWith(".")&&t.endsWith(`${e}`)))){return true}}return false}function isLoopbackAddress(e){const t=e.toLowerCase();return t==="localhost"||t.startsWith("127.")||t.startsWith("[::1]")||t.startsWith("[0:0:0:0:0:0:0:1]")}class DecodedURL extends URL{constructor(e,t){super(e,t);this._decodedUsername=decodeURIComponent(super.username);this._decodedPassword=decodeURIComponent(super.password)}get username(){return this._decodedUsername}get password(){return this._decodedPassword}}var hr=__nccwpck_require__(770);var mr=__nccwpck_require__(6752);var fr=undefined&&undefined.__awaiter||function(e,t,r,n){function adopt(e){return e instanceof r?e:new r((function(t){t(e)}))}return new(r||(r=Promise))((function(r,s){function fulfilled(e){try{step(n.next(e))}catch(e){s(e)}}function rejected(e){try{step(n["throw"](e))}catch(e){s(e)}}function step(e){e.done?r(e.value):adopt(e.value).then(fulfilled,rejected)}step((n=n.apply(e,t||[])).next())}))};var Cr;(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"})(Cr||(Cr={}));var yr;(function(e){e["Accept"]="accept";e["ContentType"]="content-type"})(yr||(yr={}));var Er;(function(e){e["ApplicationJson"]="application/json"})(Er||(Er={}));function lib_getProxyUrl(e){const t=pm.getProxyUrl(new URL(e));return t?t.href:""}const Ir=[Cr.MovedPermanently,Cr.ResourceMoved,Cr.SeeOther,Cr.TemporaryRedirect,Cr.PermanentRedirect];const Br=[Cr.BadGateway,Cr.ServiceUnavailable,Cr.GatewayTimeout];const Qr=["OPTIONS","GET","DELETE","HEAD"];const br=10;const Sr=5;class HttpClientError extends Error{constructor(e,t){super(e);this.name="HttpClientError";this.statusCode=t;Object.setPrototypeOf(this,HttpClientError.prototype)}}class HttpClientResponse{constructor(e){this.message=e}readBody(){return fr(this,void 0,void 0,(function*(){return new Promise((e=>fr(this,void 0,void 0,(function*(){let t=Buffer.alloc(0);this.message.on("data",(e=>{t=Buffer.concat([t,e])}));this.message.on("end",(()=>{e(t.toString())}))}))))}))}readBodyBuffer(){return fr(this,void 0,void 0,(function*(){return new Promise((e=>fr(this,void 0,void 0,(function*(){const t=[];this.message.on("data",(e=>{t.push(e)}));this.message.on("end",(()=>{e(Buffer.concat(t))}))}))))}))}}function isHttps(e){const t=new URL(e);return t.protocol==="https:"}class lib_HttpClient{constructor(e,t,r){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=this._getUserAgentWithOrchestrationId(e);this.handlers=t||[];this.requestOptions=r;if(r){if(r.ignoreSslError!=null){this._ignoreSslError=r.ignoreSslError}this._socketTimeout=r.socketTimeout;if(r.allowRedirects!=null){this._allowRedirects=r.allowRedirects}if(r.allowRedirectDowngrade!=null){this._allowRedirectDowngrade=r.allowRedirectDowngrade}if(r.maxRedirects!=null){this._maxRedirects=Math.max(r.maxRedirects,0)}if(r.keepAlive!=null){this._keepAlive=r.keepAlive}if(r.allowRetries!=null){this._allowRetries=r.allowRetries}if(r.maxRetries!=null){this._maxRetries=r.maxRetries}}}options(e,t){return fr(this,void 0,void 0,(function*(){return this.request("OPTIONS",e,null,t||{})}))}get(e,t){return fr(this,void 0,void 0,(function*(){return this.request("GET",e,null,t||{})}))}del(e,t){return fr(this,void 0,void 0,(function*(){return this.request("DELETE",e,null,t||{})}))}post(e,t,r){return fr(this,void 0,void 0,(function*(){return this.request("POST",e,t,r||{})}))}patch(e,t,r){return fr(this,void 0,void 0,(function*(){return this.request("PATCH",e,t,r||{})}))}put(e,t,r){return fr(this,void 0,void 0,(function*(){return this.request("PUT",e,t,r||{})}))}head(e,t){return fr(this,void 0,void 0,(function*(){return this.request("HEAD",e,null,t||{})}))}sendStream(e,t,r,n){return fr(this,void 0,void 0,(function*(){return this.request(e,t,r,n)}))}getJson(e){return fr(this,arguments,void 0,(function*(e,t={}){t[yr.Accept]=this._getExistingOrDefaultHeader(t,yr.Accept,Er.ApplicationJson);const r=yield this.get(e,t);return this._processResponse(r,this.requestOptions)}))}postJson(e,t){return fr(this,arguments,void 0,(function*(e,t,r={}){const n=JSON.stringify(t,null,2);r[yr.Accept]=this._getExistingOrDefaultHeader(r,yr.Accept,Er.ApplicationJson);r[yr.ContentType]=this._getExistingOrDefaultContentTypeHeader(r,Er.ApplicationJson);const s=yield this.post(e,n,r);return this._processResponse(s,this.requestOptions)}))}putJson(e,t){return fr(this,arguments,void 0,(function*(e,t,r={}){const n=JSON.stringify(t,null,2);r[yr.Accept]=this._getExistingOrDefaultHeader(r,yr.Accept,Er.ApplicationJson);r[yr.ContentType]=this._getExistingOrDefaultContentTypeHeader(r,Er.ApplicationJson);const s=yield this.put(e,n,r);return this._processResponse(s,this.requestOptions)}))}patchJson(e,t){return fr(this,arguments,void 0,(function*(e,t,r={}){const n=JSON.stringify(t,null,2);r[yr.Accept]=this._getExistingOrDefaultHeader(r,yr.Accept,Er.ApplicationJson);r[yr.ContentType]=this._getExistingOrDefaultContentTypeHeader(r,Er.ApplicationJson);const s=yield this.patch(e,n,r);return this._processResponse(s,this.requestOptions)}))}request(e,t,r,n){return fr(this,void 0,void 0,(function*(){if(this._disposed){throw new Error("Client has already been disposed.")}const s=new URL(t);let i=this._prepareRequest(e,s,n);const o=this._allowRetries&&Qr.includes(e)?this._maxRetries+1:1;let a=0;let c;do{c=yield this.requestRaw(i,r);if(c&&c.message&&c.message.statusCode===Cr.Unauthorized){let e;for(const t of this.handlers){if(t.canHandleAuthentication(c)){e=t;break}}if(e){return e.handleAuthentication(this,i,r)}else{return c}}let t=this._maxRedirects;while(c.message.statusCode&&Ir.includes(c.message.statusCode)&&this._allowRedirects&&t>0){const o=c.message.headers["location"];if(!o){break}const a=new URL(o);if(s.protocol==="https:"&&s.protocol!==a.protocol&&!this._allowRedirectDowngrade){throw new Error("Redirect from HTTPS to HTTP protocol. This downgrade is not allowed for security reasons. If you want to allow this behavior, set the allowRedirectDowngrade option to true.")}yield c.readBody();if(a.hostname!==s.hostname){for(const e in n){if(e.toLowerCase()==="authorization"){delete n[e]}}}i=this._prepareRequest(e,a,n);c=yield this.requestRaw(i,r);t--}if(!c.message.statusCode||!Br.includes(c.message.statusCode)){return c}a+=1;if(a<o){yield c.readBody();yield this._performExponentialBackoff(a)}}while(a<o);return c}))}dispose(){if(this._agent){this._agent.destroy()}this._disposed=true}requestRaw(e,t){return fr(this,void 0,void 0,(function*(){return new Promise(((r,n)=>{function callbackForResult(e,t){if(e){n(e)}else if(!t){n(new Error("Unknown error"))}else{r(t)}}this.requestRawWithCallback(e,t,callbackForResult)}))}))}requestRawWithCallback(e,t,r){if(typeof t==="string"){if(!e.options.headers){e.options.headers={}}e.options.headers["Content-Length"]=Buffer.byteLength(t,"utf8")}let n=false;function handleResult(e,t){if(!n){n=true;r(e,t)}}const s=e.httpModule.request(e.options,(e=>{const t=new HttpClientResponse(e);handleResult(undefined,t)}));let i;s.on("socket",(e=>{i=e}));s.setTimeout(this._socketTimeout||3*6e4,(()=>{if(i){i.end()}handleResult(new Error(`Request timeout: ${e.options.path}`))}));s.on("error",(function(e){handleResult(e)}));if(t&&typeof t==="string"){s.write(t,"utf8")}if(t&&typeof t!=="string"){t.on("close",(function(){s.end()}));t.pipe(s)}else{s.end()}}getAgent(e){const t=new URL(e);return this._getAgent(t)}getAgentDispatcher(e){const t=new URL(e);const r=getProxyUrl(t);const n=r&&r.hostname;if(!n){return}return this._getProxyAgentDispatcher(t,r)}_prepareRequest(e,t,r){const n={};n.parsedUrl=t;const s=n.parsedUrl.protocol==="https:";n.httpModule=s?pr:dr;const i=s?443:80;n.options={};n.options.host=n.parsedUrl.hostname;n.options.port=n.parsedUrl.port?parseInt(n.parsedUrl.port):i;n.options.path=(n.parsedUrl.pathname||"")+(n.parsedUrl.search||"");n.options.method=e;n.options.headers=this._mergeHeaders(r);if(this.userAgent!=null){n.options.headers["user-agent"]=this.userAgent}n.options.agent=this._getAgent(n.parsedUrl);if(this.handlers){for(const e of this.handlers){e.prepareRequest(n.options)}}return n}_mergeHeaders(e){if(this.requestOptions&&this.requestOptions.headers){return Object.assign({},lowercaseKeys(this.requestOptions.headers),lowercaseKeys(e||{}))}return lowercaseKeys(e||{})}_getExistingOrDefaultHeader(e,t,r){let n;if(this.requestOptions&&this.requestOptions.headers){const e=lowercaseKeys(this.requestOptions.headers)[t];if(e){n=typeof e==="number"?e.toString():e}}const s=e[t];if(s!==undefined){return typeof s==="number"?s.toString():s}if(n!==undefined){return n}return r}_getExistingOrDefaultContentTypeHeader(e,t){let r;if(this.requestOptions&&this.requestOptions.headers){const e=lowercaseKeys(this.requestOptions.headers)[yr.ContentType];if(e){if(typeof e==="number"){r=String(e)}else if(Array.isArray(e)){r=e.join(", ")}else{r=e}}}const n=e[yr.ContentType];if(n!==undefined){if(typeof n==="number"){return String(n)}else if(Array.isArray(n)){return n.join(", ")}else{return n}}if(r!==undefined){return r}return t}_getAgent(e){let t;const r=getProxyUrl(e);const n=r&&r.hostname;if(this._keepAlive&&n){t=this._proxyAgent}if(!n){t=this._agent}if(t){return t}const s=e.protocol==="https:";let i=100;if(this.requestOptions){i=this.requestOptions.maxSockets||ur.globalAgent.maxSockets}if(r&&r.hostname){const e={maxSockets:i,keepAlive:this._keepAlive,proxy:Object.assign(Object.assign({},(r.username||r.password)&&{proxyAuth:`${r.username}:${r.password}`}),{host:r.hostname,port:r.port})};let n;const o=r.protocol==="https:";if(s){n=o?hr.httpsOverHttps:hr.httpsOverHttp}else{n=o?hr.httpOverHttps:hr.httpOverHttp}t=n(e);this._proxyAgent=t}if(!t){const e={keepAlive:this._keepAlive,maxSockets:i};t=s?new gr.Agent(e):new ur.Agent(e);this._agent=t}if(s&&this._ignoreSslError){t.options=Object.assign(t.options||{},{rejectUnauthorized:false})}return t}_getProxyAgentDispatcher(e,t){let r;if(this._keepAlive){r=this._proxyAgentDispatcher}if(r){return r}const n=e.protocol==="https:";r=new mr.kT(Object.assign({uri:t.href,pipelining:!this._keepAlive?0:1},(t.username||t.password)&&{token:`Basic ${Buffer.from(`${t.username}:${t.password}`).toString("base64")}`}));this._proxyAgentDispatcher=r;if(n&&this._ignoreSslError){r.options=Object.assign(r.options.requestTls||{},{rejectUnauthorized:false})}return r}_getUserAgentWithOrchestrationId(e){const t=e||"actions/http-client";const r=process.env["ACTIONS_ORCHESTRATION_ID"];if(r){const e=r.replace(/[^a-z0-9_.-]/gi,"_");return`${t} actions_orchestration_id/${e}`}return t}_performExponentialBackoff(e){return fr(this,void 0,void 0,(function*(){e=Math.min(br,e);const t=Sr*Math.pow(2,e);return new Promise((e=>setTimeout((()=>e()),t)))}))}_processResponse(e,t){return fr(this,void 0,void 0,(function*(){return new Promise(((r,n)=>fr(this,void 0,void 0,(function*(){const s=e.message.statusCode||0;const i={statusCode:s,result:null,headers:{}};if(s===Cr.NotFound){r(i)}function dateTimeDeserializer(e,t){if(typeof t==="string"){const e=new Date(t);if(!isNaN(e.valueOf())){return e}}return t}let o;let a;try{a=yield e.readBody();if(a&&a.length>0){if(t&&t.deserializeDates){o=JSON.parse(a,dateTimeDeserializer)}else{o=JSON.parse(a)}i.result=o}i.headers=e.message.headers}catch(e){}if(s>299){let e;if(o&&o.message){e=o.message}else if(a&&a.length>0){e=a}else{e=`Failed request: (${s})`}const t=new HttpClientError(e,s);t.result=i.result;n(t)}else{r(i)}}))))}))}}const lowercaseKeys=e=>Object.keys(e).reduce(((t,r)=>(t[r.toLowerCase()]=e[r],t)),{});var wr=undefined&&undefined.__awaiter||function(e,t,r,n){function adopt(e){return e instanceof r?e:new r((function(t){t(e)}))}return new(r||(r=Promise))((function(r,s){function fulfilled(e){try{step(n.next(e))}catch(e){s(e)}}function rejected(e){try{step(n["throw"](e))}catch(e){s(e)}}function step(e){e.done?r(e.value):adopt(e.value).then(fulfilled,rejected)}step((n=n.apply(e,t||[])).next())}))};class BasicCredentialHandler{constructor(e,t){this.username=e;this.password=t}prepareRequest(e){if(!e.headers){throw Error("The request has no headers")}e.headers["Authorization"]=`Basic ${Buffer.from(`${this.username}:${this.password}`).toString("base64")}`}canHandleAuthentication(){return false}handleAuthentication(){return wr(this,void 0,void 0,(function*(){throw new Error("not implemented")}))}}class auth_BearerCredentialHandler{constructor(e){this.token=e}prepareRequest(e){if(!e.headers){throw Error("The request has no headers")}e.headers["Authorization"]=`Bearer ${this.token}`}canHandleAuthentication(){return false}handleAuthentication(){return wr(this,void 0,void 0,(function*(){throw new Error("not implemented")}))}}class PersonalAccessTokenCredentialHandler{constructor(e){this.token=e}prepareRequest(e){if(!e.headers){throw Error("The request has no headers")}e.headers["Authorization"]=`Basic ${Buffer.from(`PAT:${this.token}`).toString("base64")}`}canHandleAuthentication(){return false}handleAuthentication(){return wr(this,void 0,void 0,(function*(){throw new Error("not implemented")}))}}var Dr=undefined&&undefined.__awaiter||function(e,t,r,n){function adopt(e){return e instanceof r?e:new r((function(t){t(e)}))}return new(r||(r=Promise))((function(r,s){function fulfilled(e){try{step(n.next(e))}catch(e){s(e)}}function rejected(e){try{step(n["throw"](e))}catch(e){s(e)}}function step(e){e.done?r(e.value):adopt(e.value).then(fulfilled,rejected)}step((n=n.apply(e,t||[])).next())}))};class oidc_utils_OidcClient{static createHttpClient(e=true,t=10){const r={allowRetries:e,maxRetries:t};return new HttpClient("actions/oidc-client",[new BearerCredentialHandler(oidc_utils_OidcClient.getRequestToken())],r)}static getRequestToken(){const e=process.env["ACTIONS_ID_TOKEN_REQUEST_TOKEN"];if(!e){throw new Error("Unable to get ACTIONS_ID_TOKEN_REQUEST_TOKEN env variable")}return e}static getIDTokenUrl(){const e=process.env["ACTIONS_ID_TOKEN_REQUEST_URL"];if(!e){throw new Error("Unable to get ACTIONS_ID_TOKEN_REQUEST_URL env variable")}return e}static getCall(e){return Dr(this,void 0,void 0,(function*(){var t;const r=oidc_utils_OidcClient.createHttpClient();const n=yield r.getJson(e).catch((e=>{throw new Error(`Failed to get ID Token. \n \n Error Code : ${e.statusCode}\n \n Error Message: ${e.message}`)}));const s=(t=n.result)===null||t===void 0?void 0:t.value;if(!s){throw new Error("Response json body do not have ID Token field")}return s}))}static getIDToken(e){return Dr(this,void 0,void 0,(function*(){try{let t=oidc_utils_OidcClient.getIDTokenUrl();if(e){const r=encodeURIComponent(e);t=`${t}&audience=${r}`}debug(`ID token url is ${t}`);const r=yield oidc_utils_OidcClient.getCall(t);setSecret(r);return r}catch(e){throw new Error(`Error message: ${e.message}`)}}))}}var Nr=undefined&&undefined.__awaiter||function(e,t,r,n){function adopt(e){return e instanceof r?e:new r((function(t){t(e)}))}return new(r||(r=Promise))((function(r,s){function fulfilled(e){try{step(n.next(e))}catch(e){s(e)}}function rejected(e){try{step(n["throw"](e))}catch(e){s(e)}}function step(e){e.done?r(e.value):adopt(e.value).then(fulfilled,rejected)}step((n=n.apply(e,t||[])).next())}))};const{access:xr,appendFile:Rr,writeFile:vr}=i.promises;const kr="GITHUB_STEP_SUMMARY";const Fr="https://docs.github.com/actions/using-workflows/workflow-commands-for-github-actions#adding-a-job-summary";class Summary{constructor(){this._buffer=""}filePath(){return Nr(this,void 0,void 0,(function*(){if(this._filePath){return this._filePath}const e=process.env[kr];if(!e){throw new Error(`Unable to find environment variable for $${kr}. Check if your runtime environment supports job summaries.`)}try{yield xr(e,i.constants.R_OK|i.constants.W_OK)}catch(t){throw new Error(`Unable to access summary file: '${e}'. Check if the file has correct read/write permissions.`)}this._filePath=e;return this._filePath}))}wrap(e,t,r={}){const n=Object.entries(r).map((([e,t])=>` ${e}="${t}"`)).join("");if(!t){return`<${e}${n}>`}return`<${e}${n}>${t}</${e}>`}write(e){return Nr(this,void 0,void 0,(function*(){const t=!!(e===null||e===void 0?void 0:e.overwrite);const r=yield this.filePath();const n=t?vr:Rr;yield n(r,this._buffer,{encoding:"utf8"});return this.emptyBuffer()}))}clear(){return Nr(this,void 0,void 0,(function*(){return this.emptyBuffer().write({overwrite:true})}))}stringify(){return this._buffer}isEmptyBuffer(){return this._buffer.length===0}emptyBuffer(){this._buffer="";return this}addRaw(e,t=false){this._buffer+=e;return t?this.addEOL():this}addEOL(){return this.addRaw(cr.EOL)}addCodeBlock(e,t){const r=Object.assign({},t&&{lang:t});const n=this.wrap("pre",this.wrap("code",e),r);return this.addRaw(n).addEOL()}addList(e,t=false){const r=t?"ol":"ul";const n=e.map((e=>this.wrap("li",e))).join("");const s=this.wrap(r,n);return this.addRaw(s).addEOL()}addTable(e){const t=e.map((e=>{const t=e.map((e=>{if(typeof e==="string"){return this.wrap("td",e)}const{header:t,data:r,colspan:n,rowspan:s}=e;const i=t?"th":"td";const o=Object.assign(Object.assign({},n&&{colspan:n}),s&&{rowspan:s});return this.wrap(i,r,o)})).join("");return this.wrap("tr",t)})).join("");const r=this.wrap("table",t);return this.addRaw(r).addEOL()}addDetails(e,t){const r=this.wrap("details",this.wrap("summary",e)+t);return this.addRaw(r).addEOL()}addImage(e,t,r){const{width:n,height:s}=r||{};const i=Object.assign(Object.assign({},n&&{width:n}),s&&{height:s});const o=this.wrap("img",null,Object.assign({src:e,alt:t},i));return this.addRaw(o).addEOL()}addHeading(e,t){const r=`h${t}`;const n=["h1","h2","h3","h4","h5","h6"].includes(r)?r:"h1";const s=this.wrap(n,e);return this.addRaw(s).addEOL()}addSeparator(){const e=this.wrap("hr",null);return this.addRaw(e).addEOL()}addBreak(){const e=this.wrap("br",null);return this.addRaw(e).addEOL()}addQuote(e,t){const r=Object.assign({},t&&{cite:t});const n=this.wrap("blockquote",e,r);return this.addRaw(n).addEOL()}addLink(e,t){const r=this.wrap("a",e,{href:t});return this.addRaw(r).addEOL()}}const Tr=new Summary;const Mr=null&&Tr;const Pr=null&&Tr;function toPosixPath(e){return e.replace(/[\\]/g,"/")}function toWin32Path(e){return e.replace(/[/]/g,"\\")}function toPlatformPath(e){return e.replace(/[/\\]/g,path.sep)}var Lr=__nccwpck_require__(3193);var Ur=__nccwpck_require__(4434);const Or=e(import.meta.url)("child_process");var Hr=undefined&&undefined.__awaiter||function(e,t,r,n){function adopt(e){return e instanceof r?e:new r((function(t){t(e)}))}return new(r||(r=Promise))((function(r,s){function fulfilled(e){try{step(n.next(e))}catch(e){s(e)}}function rejected(e){try{step(n["throw"](e))}catch(e){s(e)}}function step(e){e.done?r(e.value):adopt(e.value).then(fulfilled,rejected)}step((n=n.apply(e,t||[])).next())}))};const{chmod:_r,copyFile:qr,lstat:Gr,mkdir:zr,open:Yr,readdir:Vr,rename:Jr,rm:Wr,rmdir:jr,stat:Kr,symlink:$r,unlink:Xr}=i.promises;const Zr=process.platform==="win32";function readlink(e){return Hr(this,void 0,void 0,(function*(){const t=yield i.promises.readlink(e);if(Zr&&!t.endsWith("\\")){return`${t}\\`}return t}))}const en=268435456;const tn=i.constants.O_RDONLY;function exists(e){return Hr(this,void 0,void 0,(function*(){try{yield Kr(e)}catch(e){if(e.code==="ENOENT"){return false}throw e}return true}))}function isDirectory(e){return Hr(this,arguments,void 0,(function*(e,t=false){const r=t?yield Kr(e):yield Gr(e);return r.isDirectory()}))}function isRooted(e){e=normalizeSeparators(e);if(!e){throw new Error('isRooted() parameter "p" cannot be empty')}if(Zr){return e.startsWith("\\")||/^[A-Z]:/i.test(e)}return e.startsWith("/")}function tryGetExecutablePath(e,t){return Hr(this,void 0,void 0,(function*(){let r=undefined;try{r=yield Kr(e)}catch(t){if(t.code!=="ENOENT"){console.log(`Unexpected error attempting to determine if executable file exists '${e}': ${t}`)}}if(r&&r.isFile()){if(Zr){const r=o.extname(e).toUpperCase();if(t.some((e=>e.toUpperCase()===r))){return e}}else{if(isUnixExecutable(r)){return e}}}const n=e;for(const s of t){e=n+s;r=undefined;try{r=yield Kr(e)}catch(t){if(t.code!=="ENOENT"){console.log(`Unexpected error attempting to determine if executable file exists '${e}': ${t}`)}}if(r&&r.isFile()){if(Zr){try{const t=o.dirname(e);const r=o.basename(e).toUpperCase();for(const n of yield Vr(t)){if(r===n.toUpperCase()){e=o.join(t,n);break}}}catch(t){console.log(`Unexpected error attempting to determine the actual case of the file '${e}': ${t}`)}return e}else{if(isUnixExecutable(r)){return e}}}}return""}))}function normalizeSeparators(e){e=e||"";if(Zr){e=e.replace(/\//g,"\\");return e.replace(/\\\\+/g,"\\")}return e.replace(/\/\/+/g,"/")}function isUnixExecutable(e){return(e.mode&1)>0||(e.mode&8)>0&&process.getgid!==undefined&&e.gid===process.getgid()||(e.mode&64)>0&&process.getuid!==undefined&&e.uid===process.getuid()}function getCmdPath(){var e;return(e=process.env["COMSPEC"])!==null&&e!==void 0?e:`cmd.exe`}var rn=undefined&&undefined.__awaiter||function(e,t,r,n){function adopt(e){return e instanceof r?e:new r((function(t){t(e)}))}return new(r||(r=Promise))((function(r,s){function fulfilled(e){try{step(n.next(e))}catch(e){s(e)}}function rejected(e){try{step(n["throw"](e))}catch(e){s(e)}}function step(e){e.done?r(e.value):adopt(e.value).then(fulfilled,rejected)}step((n=n.apply(e,t||[])).next())}))};function io_cp(e,t){return rn(this,arguments,void 0,(function*(e,t,r={}){const{force:n,recursive:s,copySourceDirectory:i}=readCopyOptions(r);const a=(yield exists(t))?yield Kr(t):null;if(a&&a.isFile()&&!n){return}const c=a&&a.isDirectory()&&i?o.join(t,o.basename(e)):t;if(!(yield exists(e))){throw new Error(`no such file or directory: ${e}`)}const l=yield Kr(e);if(l.isDirectory()){if(!s){throw new Error(`Failed to copy. ${e} is a directory, but tried to copy without recursive flag.`)}else{yield cpDirRecursive(e,c,0,n)}}else{if(o.relative(e,c)===""){throw new Error(`'${c}' and '${e}' are the same file`)}yield io_copyFile(e,c,n)}}))}function mv(e,t){return rn(this,arguments,void 0,(function*(e,t,r={}){if(yield ioUtil.exists(t)){let n=true;if(yield ioUtil.isDirectory(t)){t=path.join(t,path.basename(e));n=yield ioUtil.exists(t)}if(n){if(r.force==null||r.force){yield rmRF(t)}else{throw new Error("Destination already exists")}}}yield mkdirP(path.dirname(t));yield ioUtil.rename(e,t)}))}function rmRF(e){return rn(this,void 0,void 0,(function*(){if(Zr){if(/[*"<>|]/.test(e)){throw new Error('File path must not contain `*`, `"`, `<`, `>` or `|` on Windows')}}try{yield Wr(e,{force:true,maxRetries:3,recursive:true,retryDelay:300})}catch(e){throw new Error(`File was unable to be removed ${e}`)}}))}function mkdirP(e){return rn(this,void 0,void 0,(function*(){(0,a.ok)(e,"a path argument must be provided");yield zr(e,{recursive:true})}))}function which(e,t){return rn(this,void 0,void 0,(function*(){if(!e){throw new Error("parameter 'tool' is required")}if(t){const t=yield which(e,false);if(!t){if(Zr){throw new Error(`Unable to locate executable file: ${e}. Please verify either the file path exists or the file can be found within a directory specified by the PATH environment variable. Also verify the file has a valid extension for an executable file.`)}else{throw new Error(`Unable to locate executable file: ${e}. Please verify either the file path exists or the file can be found within a directory specified by the PATH environment variable. Also check the file mode to verify the file is executable.`)}}return t}const r=yield findInPath(e);if(r&&r.length>0){return r[0]}return""}))}function findInPath(e){return rn(this,void 0,void 0,(function*(){if(!e){throw new Error("parameter 'tool' is required")}const t=[];if(Zr&&process.env["PATHEXT"]){for(const e of process.env["PATHEXT"].split(o.delimiter)){if(e){t.push(e)}}}if(isRooted(e)){const r=yield tryGetExecutablePath(e,t);if(r){return[r]}return[]}if(e.includes(o.sep)){return[]}const r=[];if(process.env.PATH){for(const e of process.env.PATH.split(o.delimiter)){if(e){r.push(e)}}}const n=[];for(const s of r){const r=yield tryGetExecutablePath(o.join(s,e),t);if(r){n.push(r)}}return n}))}function readCopyOptions(e){const t=e.force==null?true:e.force;const r=Boolean(e.recursive);const n=e.copySourceDirectory==null?true:Boolean(e.copySourceDirectory);return{force:t,recursive:r,copySourceDirectory:n}}function cpDirRecursive(e,t,r,n){return rn(this,void 0,void 0,(function*(){if(r>=255)return;r++;yield mkdirP(t);const s=yield Vr(e);for(const i of s){const s=`${e}/${i}`;const o=`${t}/${i}`;const a=yield Gr(s);if(a.isDirectory()){yield cpDirRecursive(s,o,r,n)}else{yield io_copyFile(s,o,n)}}yield _r(t,(yield Kr(e)).mode)}))}function io_copyFile(e,t,r){return rn(this,void 0,void 0,(function*(){if((yield Gr(e)).isSymbolicLink()){try{yield Gr(t);yield Xr(t)}catch(e){if(e.code==="EPERM"){yield _r(t,"0666");yield Xr(t)}}const r=yield readlink(e);yield $r(r,t,Zr?"junction":null)}else if(!(yield exists(t))||r){yield qr(e,t)}}))}const nn=e(import.meta.url)("timers");var sn=undefined&&undefined.__awaiter||function(e,t,r,n){function adopt(e){return e instanceof r?e:new r((function(t){t(e)}))}return new(r||(r=Promise))((function(r,s){function fulfilled(e){try{step(n.next(e))}catch(e){s(e)}}function rejected(e){try{step(n["throw"](e))}catch(e){s(e)}}function step(e){e.done?r(e.value):adopt(e.value).then(fulfilled,rejected)}step((n=n.apply(e,t||[])).next())}))};const on=process.platform==="win32";class ToolRunner extends Ur.EventEmitter{constructor(e,t,r){super();if(!e){throw new Error("Parameter 'toolPath' cannot be null or empty.")}this.toolPath=e;this.args=t||[];this.options=r||{}}_debug(e){if(this.options.listeners&&this.options.listeners.debug){this.options.listeners.debug(e)}}_getCommandString(e,t){const r=this._getSpawnFileName();const n=this._getSpawnArgs(e);let s=t?"":"[command]";if(on){if(this._isCmdFile()){s+=r;for(const e of n){s+=` ${e}`}}else if(e.windowsVerbatimArguments){s+=`"${r}"`;for(const e of n){s+=` ${e}`}}else{s+=this._windowsQuoteCmdArg(r);for(const e of n){s+=` ${this._windowsQuoteCmdArg(e)}`}}}else{s+=r;for(const e of n){s+=` ${e}`}}return s}_processLineBuffer(e,t,r){try{let n=t+e.toString();let s=n.indexOf(cr.EOL);while(s>-1){const e=n.substring(0,s);r(e);n=n.substring(s+cr.EOL.length);s=n.indexOf(cr.EOL)}return n}catch(e){this._debug(`error processing line. Failed with error ${e}`);return""}}_getSpawnFileName(){if(on){if(this._isCmdFile()){return process.env["COMSPEC"]||"cmd.exe"}}return this.toolPath}_getSpawnArgs(e){if(on){if(this._isCmdFile()){let t=`/D /S /C "${this._windowsQuoteCmdArg(this.toolPath)}`;for(const r of this.args){t+=" ";t+=e.windowsVerbatimArguments?r:this._windowsQuoteCmdArg(r)}t+='"';return[t]}}return this.args}_endsWith(e,t){return e.endsWith(t)}_isCmdFile(){const e=this.toolPath.toUpperCase();return this._endsWith(e,".CMD")||this._endsWith(e,".BAT")}_windowsQuoteCmdArg(e){if(!this._isCmdFile()){return this._uvQuoteCmdArg(e)}if(!e){return'""'}const t=[" ","\t","&","(",")","[","]","{","}","^","=",";","!","'","+",",","`","~","|","<",">",'"'];let r=false;for(const n of e){if(t.some((e=>e===n))){r=true;break}}if(!r){return e}let n='"';let s=true;for(let t=e.length;t>0;t--){n+=e[t-1];if(s&&e[t-1]==="\\"){n+="\\"}else if(e[t-1]==='"'){s=true;n+='"'}else{s=false}}n+='"';return n.split("").reverse().join("")}_uvQuoteCmdArg(e){if(!e){return'""'}if(!e.includes(" ")&&!e.includes("\t")&&!e.includes('"')){return e}if(!e.includes('"')&&!e.includes("\\")){return`"${e}"`}let t='"';let r=true;for(let n=e.length;n>0;n--){t+=e[n-1];if(r&&e[n-1]==="\\"){t+="\\"}else if(e[n-1]==='"'){r=true;t+="\\"}else{r=false}}t+='"';return t.split("").reverse().join("")}_cloneExecOptions(e){e=e||{};const t={cwd:e.cwd||process.cwd(),env:e.env||process.env,silent:e.silent||false,windowsVerbatimArguments:e.windowsVerbatimArguments||false,failOnStdErr:e.failOnStdErr||false,ignoreReturnCode:e.ignoreReturnCode||false,delay:e.delay||1e4};t.outStream=e.outStream||process.stdout;t.errStream=e.errStream||process.stderr;return t}_getSpawnOptions(e,t){e=e||{};const r={};r.cwd=e.cwd;r.env=e.env;r["windowsVerbatimArguments"]=e.windowsVerbatimArguments||this._isCmdFile();if(e.windowsVerbatimArguments){r.argv0=`"${t}"`}return r}exec(){return sn(this,void 0,void 0,(function*(){if(!isRooted(this.toolPath)&&(this.toolPath.includes("/")||on&&this.toolPath.includes("\\"))){this.toolPath=o.resolve(process.cwd(),this.options.cwd||process.cwd(),this.toolPath)}this.toolPath=yield which(this.toolPath,true);return new Promise(((e,t)=>sn(this,void 0,void 0,(function*(){this._debug(`exec tool: ${this.toolPath}`);this._debug("arguments:");for(const e of this.args){this._debug(` ${e}`)}const r=this._cloneExecOptions(this.options);if(!r.silent&&r.outStream){r.outStream.write(this._getCommandString(r)+cr.EOL)}const n=new ExecState(r,this.toolPath);n.on("debug",(e=>{this._debug(e)}));if(this.options.cwd&&!(yield exists(this.options.cwd))){return t(new Error(`The cwd: ${this.options.cwd} does not exist!`))}const s=this._getSpawnFileName();const i=Or.spawn(s,this._getSpawnArgs(r),this._getSpawnOptions(this.options,s));let o="";if(i.stdout){i.stdout.on("data",(e=>{if(this.options.listeners&&this.options.listeners.stdout){this.options.listeners.stdout(e)}if(!r.silent&&r.outStream){r.outStream.write(e)}o=this._processLineBuffer(e,o,(e=>{if(this.options.listeners&&this.options.listeners.stdline){this.options.listeners.stdline(e)}}))}))}let a="";if(i.stderr){i.stderr.on("data",(e=>{n.processStderr=true;if(this.options.listeners&&this.options.listeners.stderr){this.options.listeners.stderr(e)}if(!r.silent&&r.errStream&&r.outStream){const t=r.failOnStdErr?r.errStream:r.outStream;t.write(e)}a=this._processLineBuffer(e,a,(e=>{if(this.options.listeners&&this.options.listeners.errline){this.options.listeners.errline(e)}}))}))}i.on("error",(e=>{n.processError=e.message;n.processExited=true;n.processClosed=true;n.CheckComplete()}));i.on("exit",(e=>{n.processExitCode=e;n.processExited=true;this._debug(`Exit code ${e} received from tool '${this.toolPath}'`);n.CheckComplete()}));i.on("close",(e=>{n.processExitCode=e;n.processExited=true;n.processClosed=true;this._debug(`STDIO streams have closed for tool '${this.toolPath}'`);n.CheckComplete()}));n.on("done",((r,n)=>{if(o.length>0){this.emit("stdline",o)}if(a.length>0){this.emit("errline",a)}i.removeAllListeners();if(r){t(r)}else{e(n)}}));if(this.options.input){if(!i.stdin){throw new Error("child process missing stdin")}i.stdin.end(this.options.input)}}))))}))}}function argStringToArray(e){const t=[];let r=false;let n=false;let s="";function append(e){if(n&&e!=='"'){s+="\\"}s+=e;n=false}for(let i=0;i<e.length;i++){const o=e.charAt(i);if(o==='"'){if(!n){r=!r}else{append(o)}continue}if(o==="\\"&&n){append(o);continue}if(o==="\\"&&r){n=true;continue}if(o===" "&&!r){if(s.length>0){t.push(s);s=""}continue}append(o)}if(s.length>0){t.push(s.trim())}return t}class ExecState extends Ur.EventEmitter{constructor(e,t){super();this.processClosed=false;this.processError="";this.processExitCode=0;this.processExited=false;this.processStderr=false;this.delay=1e4;this.done=false;this.timeout=null;if(!t){throw new Error("toolPath must not be empty")}this.options=e;this.toolPath=t;if(e.delay){this.delay=e.delay}}CheckComplete(){if(this.done){return}if(this.processClosed){this._setResult()}else if(this.processExited){this.timeout=(0,nn.setTimeout)(ExecState.HandleTimeout,this.delay,this)}}_debug(e){this.emit("debug",e)}_setResult(){let e;if(this.processExited){if(this.processError){e=new Error(`There was an error when attempting to execute the process '${this.toolPath}'. This may indicate the process failed to start. Error: ${this.processError}`)}else if(this.processExitCode!==0&&!this.options.ignoreReturnCode){e=new Error(`The process '${this.toolPath}' failed with exit code ${this.processExitCode}`)}else if(this.processStderr&&this.options.failOnStdErr){e=new Error(`The process '${this.toolPath}' failed because one or more lines were written to the STDERR stream`)}}if(this.timeout){clearTimeout(this.timeout);this.timeout=null}this.done=true;this.emit("done",e,this.processExitCode)}static HandleTimeout(e){if(e.done){return}if(!e.processClosed&&e.processExited){const t=`The STDIO streams did not close within ${e.delay/1e3} seconds of the exit event from process '${e.toolPath}'. This may indicate a child process inherited the STDIO streams and has not yet exited.`;e._debug(t)}e._setResult()}}var an=undefined&&undefined.__awaiter||function(e,t,r,n){function adopt(e){return e instanceof r?e:new r((function(t){t(e)}))}return new(r||(r=Promise))((function(r,s){function fulfilled(e){try{step(n.next(e))}catch(e){s(e)}}function rejected(e){try{step(n["throw"](e))}catch(e){s(e)}}function step(e){e.done?r(e.value):adopt(e.value).then(fulfilled,rejected)}step((n=n.apply(e,t||[])).next())}))};function exec_exec(e,t,r){return an(this,void 0,void 0,(function*(){const n=argStringToArray(e);if(n.length===0){throw new Error(`Parameter 'commandLine' cannot be null or empty.`)}const s=n[0];t=n.slice(1).concat(t||[]);const i=new ToolRunner(s,t,r);return i.exec()}))}function getExecOutput(e,t,r){return an(this,void 0,void 0,(function*(){var n,s;let i="";let o="";const a=new StringDecoder("utf8");const c=new StringDecoder("utf8");const l=(n=r===null||r===void 0?void 0:r.listeners)===null||n===void 0?void 0:n.stdout;const A=(s=r===null||r===void 0?void 0:r.listeners)===null||s===void 0?void 0:s.stderr;const stdErrListener=e=>{o+=c.write(e);if(A){A(e)}};const stdOutListener=e=>{i+=a.write(e);if(l){l(e)}};const u=Object.assign(Object.assign({},r===null||r===void 0?void 0:r.listeners),{stdout:stdOutListener,stderr:stdErrListener});const d=yield exec_exec(e,t,Object.assign(Object.assign({},r),{listeners:u}));i+=a.end();o+=c.end();return{exitCode:d,stdout:i,stderr:o}}))}var cn=undefined&&undefined.__awaiter||function(e,t,r,n){function adopt(e){return e instanceof r?e:new r((function(t){t(e)}))}return new(r||(r=Promise))((function(r,s){function fulfilled(e){try{step(n.next(e))}catch(e){s(e)}}function rejected(e){try{step(n["throw"](e))}catch(e){s(e)}}function step(e){e.done?r(e.value):adopt(e.value).then(fulfilled,rejected)}step((n=n.apply(e,t||[])).next())}))};const getWindowsInfo=()=>cn(void 0,void 0,void 0,(function*(){const{stdout:e}=yield exec.getExecOutput('powershell -command "(Get-CimInstance -ClassName Win32_OperatingSystem).Version"',undefined,{silent:true});const{stdout:t}=yield exec.getExecOutput('powershell -command "(Get-CimInstance -ClassName Win32_OperatingSystem).Caption"',undefined,{silent:true});return{name:t.trim(),version:e.trim()}}));const getMacOsInfo=()=>cn(void 0,void 0,void 0,(function*(){var e,t,r,n;const{stdout:s}=yield exec.getExecOutput("sw_vers",undefined,{silent:true});const i=(t=(e=s.match(/ProductVersion:\s*(.+)/))===null||e===void 0?void 0:e[1])!==null&&t!==void 0?t:"";const o=(n=(r=s.match(/ProductName:\s*(.+)/))===null||r===void 0?void 0:r[1])!==null&&n!==void 0?n:"";return{name:o,version:i}}));const getLinuxInfo=()=>cn(void 0,void 0,void 0,(function*(){const{stdout:e}=yield exec.getExecOutput("lsb_release",["-i","-r","-s"],{silent:true});const[t,r]=e.trim().split("\n");return{name:t,version:r}}));const ln=cr.platform();const An=cr.arch();const un=ln==="win32";const dn=ln==="darwin";const gn=ln==="linux";function getDetails(){return cn(this,void 0,void 0,(function*(){return Object.assign(Object.assign({},yield un?getWindowsInfo():dn?getMacOsInfo():getLinuxInfo()),{platform:ln,arch:An,isWindows:un,isMacOS:dn,isLinux:gn})}))}var pn=undefined&&undefined.__awaiter||function(e,t,r,n){function adopt(e){return e instanceof r?e:new r((function(t){t(e)}))}return new(r||(r=Promise))((function(r,s){function fulfilled(e){try{step(n.next(e))}catch(e){s(e)}}function rejected(e){try{step(n["throw"](e))}catch(e){s(e)}}function step(e){e.done?r(e.value):adopt(e.value).then(fulfilled,rejected)}step((n=n.apply(e,t||[])).next())}))};var hn;(function(e){e[e["Success"]=0]="Success";e[e["Failure"]=1]="Failure"})(hn||(hn={}));function exportVariable(e,t){const r=toCommandValue(t);process.env[e]=r;const n=process.env["GITHUB_ENV"]||"";if(n){return issueFileCommand("ENV",prepareKeyValueMessage(e,t))}issueCommand("set-env",{name:e},r)}function core_setSecret(e){command_issueCommand("add-mask",{},e)}function addPath(e){const t=process.env["GITHUB_PATH"]||"";if(t){file_command_issueFileCommand("PATH",e)}else{command_issueCommand("add-path",{},e)}process.env["PATH"]=`${e}${o.delimiter}${process.env["PATH"]}`}function getInput(e,t){const r=process.env[`INPUT_${e.replace(/ /g,"_").toUpperCase()}`]||"";if(t&&t.required&&!r){throw new Error(`Input required and not supplied: ${e}`)}if(t&&t.trimWhitespace===false){return r}return r.trim()}function getMultilineInput(e,t){const r=getInput(e,t).split("\n").filter((e=>e!==""));if(t&&t.trimWhitespace===false){return r}return r.map((e=>e.trim()))}function getBooleanInput(e,t){const r=["true","True","TRUE"];const n=["false","False","FALSE"];const s=getInput(e,t);if(r.includes(s))return true;if(n.includes(s))return false;throw new TypeError(`Input does not meet YAML 1.2 "Core Schema" specification: ${e}\n`+`Support boolean input list: \`true | True | TRUE | false | False | FALSE\``)}function setOutput(e,t){const r=process.env["GITHUB_OUTPUT"]||"";if(r){return file_command_issueFileCommand("OUTPUT",file_command_prepareKeyValueMessage(e,t))}process.stdout.write(cr.EOL);command_issueCommand("set-output",{name:e},utils_toCommandValue(t))}function setCommandEcho(e){issue("echo",e?"on":"off")}function setFailed(e){process.exitCode=hn.Failure;core_error(e)}function isDebug(){return process.env["RUNNER_DEBUG"]==="1"}function core_debug(e){command_issueCommand("debug",{},e)}function core_error(e,t={}){command_issueCommand("error",utils_toCommandProperties(t),e instanceof Error?e.toString():e)}function warning(e,t={}){command_issueCommand("warning",utils_toCommandProperties(t),e instanceof Error?e.toString():e)}function notice(e,t={}){issueCommand("notice",toCommandProperties(t),e instanceof Error?e.toString():e)}function info(e){process.stdout.write(e+cr.EOL)}function startGroup(e){command_issue("group",e)}function endGroup(){command_issue("endgroup")}function group(e,t){return pn(this,void 0,void 0,(function*(){startGroup(e);let r;try{r=yield t()}finally{endGroup()}return r}))}function saveState(e,t){const r=process.env["GITHUB_STATE"]||"";if(r){return issueFileCommand("STATE",prepareKeyValueMessage(e,t))}issueCommand("save-state",{name:e},toCommandValue(t))}function getState(e){return process.env[`STATE_${e}`]||""}function getIDToken(e){return pn(this,void 0,void 0,(function*(){return yield OidcClient.getIDToken(e)}))}const mn=cr.platform();const fn=cr.arch();async function getInputs(){return{distribution:getInput("distribution")||"goreleaser",version:getInput("version")||"~> v2",versionFile:getInput("version-file"),args:getInput("args"),workdir:getInput("workdir")||".",installOnly:getBooleanInput("install-only"),cacheBinary:getBooleanInput("cache-binary")}}
|
||
/*! js-yaml 5.2.3 https://github.com/nodeca/js-yaml @license MIT */
|
||
var Cn=Symbol("NOT_RESOLVED");var yn=Symbol("MERGE_KEY");function defineScalarTag(e,t){return{tagName:e,nodeKind:"scalar",implicit:t.implicit??false,matchByTagPrefix:t.matchByTagPrefix??false,implicitFirstChars:t.implicitFirstChars??null,resolve:t.resolve,identify:t.identify??null,represent:t.represent??(e=>String(e)),representTagName:t.representTagName??null}}function defineSequenceTag(e,t){const r=t.finalize===void 0;return{tagName:e,nodeKind:"sequence",implicit:false,matchByTagPrefix:t.matchByTagPrefix??false,create:t.create,addItem:t.addItem,finalize:t.finalize??(e=>e),carrierIsResult:r,identify:t.identify??null,represent:t.represent??(e=>e),representTagName:t.representTagName??null}}function defineMappingTag(e,t){const r=t.finalize===void 0;return{tagName:e,nodeKind:"mapping",implicit:false,matchByTagPrefix:t.matchByTagPrefix??false,create:t.create,addPair:t.addPair,has:t.has,keys:t.keys,get:t.get,finalize:t.finalize??(e=>e),carrierIsResult:r,identify:t.identify??null,represent:t.represent??(e=>e),representTagName:t.representTagName??null}}var En=defineScalarTag("tag:yaml.org,2002:str",{resolve:e=>e,identify:e=>typeof e==="string"});var In=["","~","null","Null","NULL"];var Bn=defineScalarTag("tag:yaml.org,2002:null",{implicit:true,implicitFirstChars:["","~","n","N"],resolve:e=>{if(In.indexOf(e)!==-1)return null;return Cn},identify:e=>e===null,represent:()=>"null"});var Qn=defineScalarTag("tag:yaml.org,2002:null",{implicit:true,implicitFirstChars:["n"],resolve:(e,t)=>{if(e==="null"||t&&e==="")return null;return Cn},identify:e=>e===null,represent:()=>"null"});var bn=["","~","null","Null","NULL"];var Sn=defineScalarTag("tag:yaml.org,2002:null",{implicit:true,implicitFirstChars:["","~","n","N"],resolve:e=>{if(bn.indexOf(e)!==-1)return null;return Cn},identify:e=>e===null,represent:()=>"null"});var wn=["true","True","TRUE"];var Dn=["false","False","FALSE"];var Nn=defineScalarTag("tag:yaml.org,2002:bool",{implicit:true,implicitFirstChars:["t","T","f","F"],resolve:e=>{if(wn.indexOf(e)!==-1)return true;if(Dn.indexOf(e)!==-1)return false;return Cn},identify:e=>Object.prototype.toString.call(e)==="[object Boolean]",represent:e=>e?"true":"false"});var xn=["true"];var Rn=["false"];var vn=defineScalarTag("tag:yaml.org,2002:bool",{implicit:true,implicitFirstChars:["t","f"],resolve:e=>{if(xn.indexOf(e)!==-1)return true;if(Rn.indexOf(e)!==-1)return false;return Cn},identify:e=>Object.prototype.toString.call(e)==="[object Boolean]",represent:e=>e?"true":"false"});var kn=["true","True","TRUE","y","Y","yes","Yes","YES","on","On","ON"];var Fn=["false","False","FALSE","n","N","no","No","NO","off","Off","OFF"];var Tn=defineScalarTag("tag:yaml.org,2002:bool",{implicit:true,implicitFirstChars:["y","Y","n","N","t","T","f","F","o","O"],resolve:e=>{if(kn.indexOf(e)!==-1)return true;if(Fn.indexOf(e)!==-1)return false;return Cn},identify:e=>Object.prototype.toString.call(e)==="[object Boolean]",represent:e=>e?"true":"false"});var Mn=new RegExp("^(?:0o[0-7]+|0x[0-9a-fA-F]+|[-+]?[0-9]+)$");var Pn=new RegExp("^(?:[-+]?0b[0-1]+|[-+]?0o[0-7]+|[-+]?0x[0-9a-fA-F]+|[-+]?[0-9]+)$");function parseYamlInteger$2(e){let t=e;let r=1;if(t[0]==="-"||t[0]==="+"){if(t[0]==="-")r=-1;t=t.slice(1)}if(t.startsWith("0b"))return r*parseInt(t.slice(2),2);if(t.startsWith("0o"))return r*parseInt(t.slice(2),8);if(t.startsWith("0x"))return r*parseInt(t.slice(2),16);return r*parseInt(t,10)}function resolveYamlInteger$2(e,t){if(t){if(!Pn.test(e))return Cn}else if(!Mn.test(e))return Cn;const r=parseYamlInteger$2(e);return Number.isFinite(r)?r:Cn}var Ln=defineScalarTag("tag:yaml.org,2002:int",{implicit:true,implicitFirstChars:["-","+",..."0123456789"],resolve:resolveYamlInteger$2,identify:e=>Number.isInteger(e)&&!Object.is(e,-0)&&e.toString(10).indexOf("e")<0,represent:e=>e.toString(10)});var Un=new RegExp("^-?(?:0|[1-9][0-9]*)$");var On=new RegExp("^(?:[-+]?0b[0-1]+|[-+]?0o[0-7]+|[-+]?0x[0-9a-fA-F]+|[-+]?[0-9]+)$");function parseYamlInteger$1(e){let t=e;let r=1;if(t[0]==="-"||t[0]==="+"){if(t[0]==="-")r=-1;t=t.slice(1)}if(t.startsWith("0b"))return r*parseInt(t.slice(2),2);if(t.startsWith("0o"))return r*parseInt(t.slice(2),8);if(t.startsWith("0x"))return r*parseInt(t.slice(2),16);return r*parseInt(t,10)}function resolveYamlInteger$1(e,t){if(t){if(!On.test(e))return Cn}else if(!Un.test(e))return Cn;const r=parseYamlInteger$1(e);return Number.isFinite(r)?r:Cn}var Hn=defineScalarTag("tag:yaml.org,2002:int",{implicit:true,implicitFirstChars:["-",..."0123456789"],resolve:resolveYamlInteger$1,identify:e=>Number.isInteger(e)&&!Object.is(e,-0)&&e.toString(10).indexOf("e")<0,represent:e=>e.toString(10)});var _n=new RegExp("^(?:[-+]?0b[0-1_]+|[-+]?0[0-7_]+|[-+]?0x[0-9a-fA-F_]+|[-+]?[0-9][0-9_]*(?::[0-5]?[0-9])+|[-+]?(?:0|[1-9][0-9_]*))$");function parseYamlInteger(e){let t=e.replace(/_/g,"");let r=1;if(t[0]==="-"||t[0]==="+"){if(t[0]==="-")r=-1;t=t.slice(1)}if(t.startsWith("0b"))return r*parseInt(t.slice(2),2);if(t.startsWith("0x"))return r*parseInt(t.slice(2),16);if(t.includes(":")){let e=0;for(const r of t.split(":"))e=e*60+Number(r);return r*e}if(t!=="0"&&t[0]==="0")return r*parseInt(t,8);return r*parseInt(t,10)}function resolveYamlInteger(e){if(!_n.test(e))return Cn;const t=parseYamlInteger(e);return Number.isFinite(t)?t:Cn}var qn=defineScalarTag("tag:yaml.org,2002:int",{implicit:true,implicitFirstChars:["-","+",..."0123456789"],resolve:resolveYamlInteger,identify:e=>Number.isInteger(e)&&!Object.is(e,-0)&&e.toString(10).indexOf("e")<0,represent:e=>e.toString(10)});var Gn=new RegExp("^(?:[-+]?[0-9]+(?:\\.[0-9]*)?(?:[eE][-+]?[0-9]+)?|[-+]?\\.[0-9]+(?:[eE][-+]?[0-9]+)?|[-+]?\\.(?:inf|Inf|INF)|\\.(?:nan|NaN|NAN))$");var zn=new RegExp("^(?:[-+]?\\.(?:inf|Inf|INF)|\\.(?:nan|NaN|NAN))$");function resolveYamlFloat$2(e){if(!Gn.test(e))return Cn;let t=e.toLowerCase();const r=t[0]==="-"?-1:1;if("+-".includes(t[0]))t=t.slice(1);if(t===".inf")return r===1?Number.POSITIVE_INFINITY:Number.NEGATIVE_INFINITY;if(t===".nan")return NaN;const n=r*parseFloat(t);if(Number.isFinite(n)||zn.test(e))return n;return Cn}function representYamlFloat$2(e){if(isNaN(e))return".nan";if(e===Number.POSITIVE_INFINITY)return".inf";if(e===Number.NEGATIVE_INFINITY)return"-.inf";if(Object.is(e,-0))return"-0.0";const t=e.toString(10);return/^[-+]?[0-9]+e/.test(t)?t.replace("e",".e"):t}var Yn=defineScalarTag("tag:yaml.org,2002:float",{implicit:true,implicitFirstChars:["-","+",".",..."0123456789"],resolve:resolveYamlFloat$2,identify:e=>typeof e==="number"&&(!Number.isInteger(e)||Object.is(e,-0)||e.toString(10).indexOf("e")>=0),represent:representYamlFloat$2});var Vn=new RegExp("^-?(?:0|[1-9][0-9]*)(?:\\.[0-9]*)?(?:[eE][-+]?[0-9]+)?$");var Jn=new RegExp("^(?:[-+]?[0-9]+(?:\\.[0-9]*)?(?:[eE][-+]?[0-9]+)?|[-+]?\\.[0-9]+(?:[eE][-+]?[0-9]+)?|[-+]?\\.(?:inf|Inf|INF)|\\.(?:nan|NaN|NAN))$");function resolveYamlFloat$1(e,t){if(t){if(!Jn.test(e))return Cn;let t=e.toLowerCase();const r=t[0]==="-"?-1:1;if("+-".includes(t[0]))t=t.slice(1);if(t===".inf")return r===1?Number.POSITIVE_INFINITY:Number.NEGATIVE_INFINITY;if(t===".nan")return NaN;const n=r*parseFloat(t);return Number.isFinite(n)?n:Cn}if(!Vn.test(e))return Cn;const r=Number(e);if(Number.isFinite(r))return r;return Cn}function representYamlFloat$1(e){if(isNaN(e))return".nan";if(e===Number.POSITIVE_INFINITY)return".inf";if(e===Number.NEGATIVE_INFINITY)return"-.inf";if(Object.is(e,-0))return"-0.0";const t=e.toString(10);return/^[-+]?[0-9]+e/.test(t)?t.replace("e",".e"):t}var Wn=defineScalarTag("tag:yaml.org,2002:float",{implicit:true,implicitFirstChars:["-",..."0123456789"],resolve:resolveYamlFloat$1,identify:e=>typeof e==="number"&&(!Number.isInteger(e)||Object.is(e,-0)||e.toString(10).indexOf("e")>=0),represent:representYamlFloat$1});var jn=new RegExp("^(?:[-+]?(?:(?:[0-9][0-9_]*)?\\.[0-9_]*)(?:[eE][-+][0-9]+)?|[-+]?[0-9][0-9_]*(?::[0-5]?[0-9])+\\.[0-9_]*|[-+]?\\.(?:inf|Inf|INF)|\\.(?:nan|NaN|NAN))$");var Kn=new RegExp("^(?:[-+]?\\.(?:inf|Inf|INF)|\\.(?:nan|NaN|NAN))$");function resolveYamlFloat(e){if(!jn.test(e))return Cn;let t=e.toLowerCase().replace(/_/g,"");const r=t[0]==="-"?-1:1;if("+-".includes(t[0]))t=t.slice(1);if(t===".inf")return r===1?Number.POSITIVE_INFINITY:Number.NEGATIVE_INFINITY;if(t===".nan")return NaN;let n=0;if(t.includes(":")){for(const e of t.split(":"))n=n*60+Number(e);n*=r}else n=r*parseFloat(t);if(Number.isFinite(n)||Kn.test(e))return n;return Cn}function representYamlFloat(e){if(isNaN(e))return".nan";if(e===Number.POSITIVE_INFINITY)return".inf";if(e===Number.NEGATIVE_INFINITY)return"-.inf";if(Object.is(e,-0))return"-0.0";const t=e.toString(10);return/^[-+]?[0-9]+e/.test(t)?t.replace("e",".e"):t}var $n=defineScalarTag("tag:yaml.org,2002:float",{implicit:true,implicitFirstChars:["-","+",".",..."0123456789"],resolve:resolveYamlFloat,identify:e=>typeof e==="number"&&(!Number.isInteger(e)||Object.is(e,-0)||e.toString(10).indexOf("e")>=0),represent:representYamlFloat});var Xn=defineScalarTag("tag:yaml.org,2002:merge",{implicit:true,implicitFirstChars:["<"],resolve:(e,t)=>{if(e==="<<"||t&&e==="")return yn;return Cn}});var Zn=/^[A-Za-z0-9+/]*={0,2}$/;function resolveYamlBinary(e){const t=e.replace(/\s/g,"");if(t.length%4!==0||!Zn.test(t))return Cn;const r=atob(t);const n=new Uint8Array(r.length);for(let e=0;e<r.length;e++)n[e]=r.charCodeAt(e);return n}function representYamlBinary(e){let t="";for(let r=0;r<e.length;r++)t+=String.fromCharCode(e[r]);return btoa(t)}var es=defineScalarTag("tag:yaml.org,2002:binary",{resolve:resolveYamlBinary,identify:e=>Object.prototype.toString.call(e)==="[object Uint8Array]",represent:representYamlBinary});var ts=new RegExp("^([0-9][0-9][0-9][0-9])-([0-9][0-9])-([0-9][0-9])$");var rs=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 makeUtcDate(e,t,r,n=0,s=0,i=0,o=0){const a=new Date(Date.UTC(e,t,r,n,s,i,o));a.setUTCFullYear(e,t,r);return a}function resolveYamlTimestamp(e){let t=ts.exec(e);if(t===null)t=rs.exec(e);if(t===null)return Cn;const r=+t[1];const n=+t[2]-1;const s=+t[3];if(!t[4]){const e=makeUtcDate(r,n,s);if(e.getUTCFullYear()!==r||e.getUTCMonth()!==n||e.getUTCDate()!==s)return Cn;return e}const i=+t[4];const o=+t[5];const a=+t[6];let c=0;if(i>23||o>59||a>59)return Cn;if(t[7]){let e=t[7].slice(0,3);while(e.length<3)e+="0";c=+e}const l=makeUtcDate(r,n,s,i,o,a,c);if(l.getUTCFullYear()!==r||l.getUTCMonth()!==n||l.getUTCDate()!==s)return Cn;if(t[9]){const e=+t[10];const r=+(t[11]||0);if(e>23||r>59)return Cn;const n=(e*60+r)*6e4;l.setTime(l.getTime()-(t[9]==="-"?-n:n))}return l}var ns=defineScalarTag("tag:yaml.org,2002:timestamp",{implicit:true,implicitFirstChars:[..."0123456789"],resolve:resolveYamlTimestamp,identify:e=>e instanceof Date,represent:e=>e.toISOString()});var ss=defineSequenceTag("tag:yaml.org,2002:seq",{create:()=>[],addItem:(e,t)=>{e.push(t)},identify:Array.isArray});function isPlainObject(e){if(e===null||typeof e!=="object"||Array.isArray(e))return false;const t=Object.getPrototypeOf(e);return t===null||t===Object.prototype}function pick(e,t){const r={};for(const n of t)if(e[n]!==void 0)r[n]=e[n];return r}var as=defineSequenceTag("tag:yaml.org,2002:omap",{create:()=>({list:[],seen:new Set}),addItem:(e,t)=>{let r;if(t instanceof Map){if(t.size!==1)return"cannot resolve an ordered map item";r=t.keys().next().value}else if(isPlainObject(t)){const e=Object.keys(t);if(e.length!==1)return"cannot resolve an ordered map item";r=e[0]}else return"cannot resolve an ordered map item";if(e.seen.has(r))return"duplicate key in ordered map";e.seen.add(r);e.list.push(t);return""},finalize:e=>e.list});var cs=defineSequenceTag("tag:yaml.org,2002:pairs",{create:()=>[],addItem:(e,t)=>{if(t instanceof Map){if(t.size!==1)return"cannot resolve a pairs item";e.push(t.entries().next().value);return""}if(Object.prototype.toString.call(t)!=="[object Object]")return"cannot resolve a pairs item";const r=t;const n=Object.keys(r);if(n.length!==1)return"cannot resolve a pairs item";e.push([n[0],r[n[0]]]);return""}});var ls=defineMappingTag("tag:yaml.org,2002:map",{create:()=>({}),identify:isPlainObject,represent:e=>{const t=new Map;for(const r of Object.keys(e))t.set(r,e[r]);return t},addPair:(e,t,r)=>{if(t!==null&&typeof t==="object")return"object-based map does not support complex keys";const n=String(t);if(n==="__proto__")Object.defineProperty(e,n,{value:r,enumerable:true,configurable:true,writable:true});else e[n]=r;return""},has:(e,t)=>{if(t!==null&&typeof t==="object")return false;return Object.prototype.hasOwnProperty.call(e,String(t))},keys:e=>Object.keys(e),get:(e,t)=>{const r=String(t);if(!Object.prototype.hasOwnProperty.call(e,r))return null;return e[r]}});var As=defineMappingTag("tag:yaml.org,2002:set",{create:()=>new Set,identify:e=>e instanceof Set,represent:e=>{const t=new Map;for(const r of e)t.set(r,null);return t},addPair:(e,t,r)=>{if(r!==null)return"cannot resolve a set item";e.add(t);return""},has:(e,t)=>e.has(t),keys:e=>e.keys(),get:()=>null});function createTagDefinitionMap(){return{scalar:Object.create(null),sequence:Object.create(null),mapping:Object.create(null)}}function createTagDefinitionListMap(){return{scalar:[],sequence:[],mapping:[]}}function compileTags(e){const t=[];for(const r of e){let e=t.length;for(let n=0;n<t.length;n++){const s=t[n];if(s.nodeKind===r.nodeKind&&s.tagName===r.tagName&&s.matchByTagPrefix===r.matchByTagPrefix){e=n;break}}t[e]=r}return t}var us=class Schema{tags;implicitScalarTags;implicitScalarByFirstChar;implicitScalarAnyFirstChar;defaultScalarTag;defaultSequenceTag;defaultMappingTag;exact;prefix;constructor(e){const t=compileTags(e);const r=[];const n=createTagDefinitionMap();const s=createTagDefinitionListMap();for(const e of t){if(e.nodeKind==="scalar"&&e.implicit){if(e.matchByTagPrefix)throw new Error("Implicit scalar tags cannot match by tag prefix");r.push(e)}switch(e.nodeKind){case"scalar":if(e.matchByTagPrefix)s.scalar.push(e);else n.scalar[e.tagName]=e;break;case"sequence":if(e.matchByTagPrefix)s.sequence.push(e);else n.sequence[e.tagName]=e;break;case"mapping":if(e.matchByTagPrefix)s.mapping.push(e);else n.mapping[e.tagName]=e;break}}const i=r.filter((e=>e.implicitFirstChars===null));const o=new Set;for(const e of r)if(e.implicitFirstChars!==null)for(const t of e.implicitFirstChars)o.add(t);const a=new Map;for(const e of o)a.set(e,r.filter((t=>t.implicitFirstChars===null||t.implicitFirstChars.indexOf(e)!==-1)));const c=n.scalar["tag:yaml.org,2002:str"];if(!c)throw new Error("schema does not define the default scalar tag (tag:yaml.org,2002:str)");this.tags=t;this.implicitScalarTags=r;this.implicitScalarByFirstChar=a;this.implicitScalarAnyFirstChar=i;this.defaultScalarTag=c;this.defaultSequenceTag=n.sequence["tag:yaml.org,2002:seq"];this.defaultMappingTag=n.mapping["tag:yaml.org,2002:map"];this.exact=n;this.prefix=s}withTags(...e){let t=[];for(const r of e)t=t.concat(r);return new Schema([...this.tags,...t])}};var ds=new us([En,ss,ls]);var gs=new us([...ds.tags,Qn,vn,Hn,Wn]);var ps=new us([...ds.tags,Bn,Nn,Ln,Yn]);var hs=new us([...ds.tags,Sn,Tn,qn,$n,ns,Xn,es,as,cs,As]);var ms=defineMappingTag("tag:yaml.org,2002:map",{create:()=>new Map,addPair:(e,t,r)=>{e.set(t,r);return""},has:(e,t)=>e.has(t),keys:e=>e.keys(),get:(e,t)=>e.get(t),identify:e=>e instanceof Map||isPlainObject(e),represent:e=>{if(e instanceof Map)return e;const t=new Map;const r=e;for(const e of Object.keys(r))t.set(e,r[e]);return t}});function normalizeKey(e){if(Array.isArray(e)){const t=Array.prototype.slice.call(e);for(let e=0;e<t.length;e++){if(Array.isArray(t[e]))return null;if(typeof t[e]==="object"&&Object.prototype.toString.call(t[e])==="[object Object]")t[e]="[object Object]"}return String(t)}if(typeof e==="object"&&Object.prototype.toString.call(e)==="[object Object]")return"[object Object]";return String(e)}var Cs=defineMappingTag("tag:yaml.org,2002:map",{create:()=>({}),identify:isPlainObject,represent:e=>{const t=new Map;for(const r of Object.keys(e))t.set(r,e[r]);return t},addPair:(e,t,r)=>{const n=normalizeKey(t);if(n===null)return"nested arrays are not supported inside keys";if(n==="__proto__")Object.defineProperty(e,n,{value:r,enumerable:true,configurable:true,writable:true});else e[n]=r;return""},has:(e,t)=>{const r=normalizeKey(t);return r!==null&&Object.prototype.hasOwnProperty.call(e,r)},keys:e=>Object.keys(e),get:(e,t)=>{const r=String(t);if(!Object.prototype.hasOwnProperty.call(e,r))return null;return e[r]}});var ys={maxLength:79,indent:1,linesBefore:3,linesAfter:2};function getLine(e,t,r,n,s){let i="";let o="";const a=Math.floor(s/2)-1;if(n-t>a){i=" ... ";t=n-a+i.length}if(r-n>a){o=" ...";r=n+a-o.length}return{str:i+e.slice(t,r).replace(/\t/g,"→")+o,pos:n-t+i.length}}function padStart(e,t){return" ".repeat(Math.max(t-e.length,0))+e}function makeSnippet(e,t){if(!e.buffer)return null;const r={...ys,...t};const n=/\r?\n|\r|\0/g;const s=[0];const i=[];let o;let a=-1;while(o=n.exec(e.buffer)){i.push(o.index);s.push(o.index+o[0].length);if(e.position<=o.index&&a<0)a=s.length-2}if(a<0)a=s.length-1;let c="";const l=Math.min(e.line+r.linesAfter,i.length).toString().length;const A=r.maxLength-(r.indent+l+3);for(let t=1;t<=r.linesBefore;t++){if(a-t<0)break;const n=getLine(e.buffer,s[a-t],i[a-t],e.position-(s[a]-s[a-t]),A);c=`${" ".repeat(r.indent)}${padStart((e.line-t+1).toString(),l)} | ${n.str}\n${c}`}const u=getLine(e.buffer,s[a],i[a],e.position,A);c+=`${" ".repeat(r.indent)}${padStart((e.line+1).toString(),l)} | ${u.str}\n`;c+=`${"-".repeat(r.indent+l+3+u.pos)}^\n`;for(let t=1;t<=r.linesAfter;t++){if(a+t>=i.length)break;const n=getLine(e.buffer,s[a+t],i[a+t],e.position-(s[a]-s[a+t]),A);c+=`${" ".repeat(r.indent)}${padStart((e.line+t+1).toString(),l)} | ${n.str}\n`}return c.replace(/\n$/,"")}function formatError(e,t){let r="";if(!e.mark)return e.reason;if(e.mark.name)r+=`in "${e.mark.name}" `;r+=`(${e.mark.line+1}:${e.mark.column+1})`;if(!t&&e.mark.snippet)r+=`\n\n${e.mark.snippet}`;return`${e.reason} ${r}`}var Es=class extends Error{reason;mark;constructor(e,t){super();this.name="YAMLException";this.reason=e;this.mark=t;this.message=formatError(this,false);if(Error.captureStackTrace)Error.captureStackTrace(this,this.constructor)}toString(e){return`${this.name}: ${formatError(this,e)}`}};function throwErrorAt(e,t,r,n=""){let s=0;let i=0;for(let r=0;r<t;r++){const t=e.charCodeAt(r);if(t===10){s++;i=r+1}else if(t===13){s++;if(e.charCodeAt(r+1)===10)r++;i=r+1}}const o={name:n,buffer:e,position:t,line:s,column:t-i};o.snippet=makeSnippet(o);throw new Es(r,o)}var Is=1;var Bs=2;var Qs=3;var bs=4;var Ss=5;var ws=6;var Ds=1;var Ns=2;var xs=3;var Rs=4;var vs=5;var ks=1;var Fs=2;var Ts=1;var Ms=2;var Ps=3;var Ls=-1;function simpleEscapeSequence(e){switch(e){case 48:return"\0";case 97:return"";case 98:return"\b";case 116:return"\t";case 9:return"\t";case 110:return"\n";case 118:return"\v";case 102:return"\f";case 114:return"\r";case 101:return"";case 32:return" ";case 34:return'"';case 47:return"/";case 92:return"\\";case 78:return"
";case 95:return" ";case 76:return"\u2028";case 80:return"\u2029";default:return""}}var Us=new Array(256);var Os=new Array(256);for(let e=0;e<256;e++){Us[e]=simpleEscapeSequence(e)?1:0;Os[e]=simpleEscapeSequence(e)}function charFromCodepoint(e){if(e<=65535)return String.fromCharCode(e);return String.fromCharCode((e-65536>>10)+55296,(e-65536&1023)+56320)}function fromHexCode$1(e){if(e>=48&&e<=57)return e-48;return(e|32)-97+10}function escapedHexLen$1(e){if(e===120)return 2;if(e===117)return 4;return 8}function skipFoldedBreaks(e,t,r){let n=0;while(t<r){const r=e.charCodeAt(t);if(r===10){n++;t++}else if(r===13){n++;t++;if(e.charCodeAt(t)===10)t++}else if(r===32||r===9)t++;else break}return{position:t,breaks:n}}function foldedBreaks(e){if(e===1)return" ";return"\n".repeat(e-1)}function getPlainValue(e,t,r){let n="";let s=t;let i=t;let o=t;while(s<r){const t=e.charCodeAt(s);if(t===10||t===13){n+=e.slice(i,o);const t=skipFoldedBreaks(e,s,r);n+=foldedBreaks(t.breaks);s=i=o=t.position}else{s++;if(t!==32&&t!==9)o=s}}return n+e.slice(i,o)}function getSingleQuotedValue(e,t,r){let n="";let s=t;let i=t;let o=t;while(s<r){const t=e.charCodeAt(s);if(t===39){n+=e.slice(i,s)+"'";s+=2;i=o=s}else if(t===10||t===13){n+=e.slice(i,o);const t=skipFoldedBreaks(e,s,r);n+=foldedBreaks(t.breaks);s=i=o=t.position}else{s++;if(t!==32&&t!==9)o=s}}return n+e.slice(i,r)}function getDoubleQuotedValue(e,t,r){let n="";let s=t;let i=t;let o=t;while(s<r){const t=e.charCodeAt(s);if(t===92){n+=e.slice(i,s);s++;const t=e.charCodeAt(s);if(t===10||t===13)s=skipFoldedBreaks(e,s,r).position;else if(t<256&&Us[t]){n+=Os[t];s++}else{let r=escapedHexLen$1(t);let i=0;for(;r>0;r--){s++;const t=fromHexCode$1(e.charCodeAt(s));i=(i<<4)+t}n+=charFromCodepoint(i);s++}i=o=s}else if(t===10||t===13){n+=e.slice(i,o);const t=skipFoldedBreaks(e,s,r);n+=foldedBreaks(t.breaks);s=i=o=t.position}else{s++;if(t!==32&&t!==9)o=s}}return n+e.slice(i,r)}function getBlockValue(e,t,r,n,s,i){const o=n<0?0:n;const a=e.slice(t,r).replace(/\r\n?/g,"\n");const c=a===""?[]:(a.endsWith("\n")?a.slice(0,-1):a).split("\n");let l="";let A=false;let u=0;let d=false;for(const e of c){let t=0;while(t<o&&e.charCodeAt(t)===32)t++;if(n<0||t>=e.length){u++;continue}const r=e.slice(o);const s=r.charCodeAt(0);if(i)if(s===32||s===9){d=true;l+="\n".repeat(A?1+u:u)}else if(d){d=false;l+="\n".repeat(u+1)}else if(u===0){if(A)l+=" "}else l+="\n".repeat(u);else l+="\n".repeat(A?1+u:u);l+=r;A=true;u=0}if(s===3)l+="\n".repeat(A?1+u:u);else if(s!==2){if(A)l+="\n"}return l}function getScalarValue(e,t){if(t.valueStart===Ls)return"";const{valueStart:r,valueEnd:n}=t;if(t.fast)return e.slice(r,n);switch(t.style){case 2:return getSingleQuotedValue(e,r,n);case 3:return getDoubleQuotedValue(e,r,n);case 4:return getBlockValue(e,r,n,t.indent,t.chomping,false);case 5:return getBlockValue(e,r,n,t.indent,t.chomping,true);default:return getPlainValue(e,r,n)}}var Hs=Object.assign(Object.create(null),{"!":"!","!!":"tag:yaml.org,2002:"});function tagPercentEncode(e){return encodeURI(e).replace(/!/g,"%21")}function tagNameFull(e,t){if(e.startsWith("!<")&&e.endsWith(">"))return decodeURIComponent(e.slice(2,-1));const r=e.indexOf("!",1);const n=r===-1?"!":e.slice(0,r+1);const s=t?.[n]??Hs[n]??n;return decodeURIComponent(s)+decodeURIComponent(e.slice(n.length))}function tagNameShort(e){let t=e;if(t.charCodeAt(0)===33){t=t.slice(1);return`!${tagPercentEncode(t)}`}if(t.slice(0,18)==="tag:yaml.org,2002:")return`!!${tagPercentEncode(t.slice(18))}`;return`!<${tagPercentEncode(t)}>`}var _s=-1;var qs={filename:"",schema:ps,json:false,maxTotalMergeKeys:1e4,maxAliases:-1};function eventPosition$1(e){if("tagStart"in e&&e.tagStart!==_s)return e.tagStart;if("anchorStart"in e&&e.anchorStart!==_s)return e.anchorStart;if("valueStart"in e&&e.valueStart!==_s)return e.valueStart;if("start"in e)return e.start;return 0}function throwError$1(e,t){throwErrorAt(e.source,e.position,t,e.filename)}function finalizeCollection(e,t,r,n){try{return r.finalize(n)}catch(r){if(r instanceof Es)throw r;throwErrorAt(e.source,t,r instanceof Error?r.message:String(r),e.filename)}}function lookupTag(e,t,r){const n=e[r];if(n)return n;for(const e of t)if(r.startsWith(e.tagName))return e}function findExplicitTag(e,t,r,n,s){const i=lookupTag(t,r,n);if(i)return i;throwError$1(e,`unknown ${s} tag !<${n}>`)}function constructScalar(e,t){const r=getScalarValue(e.source,t);const n=t.tagStart===_s?"":e.source.slice(t.tagStart,t.tagEnd);const s=e.schema.defaultScalarTag;if(n!==""){if(n==="!")return{value:r,tag:s};const t=tagNameFull(n,e.tagHandlers);const i=lookupTag(e.schema.exact.scalar,e.schema.prefix.scalar,t);if(i){const n=i.resolve(r,true,t);if(n===Cn)throwError$1(e,`cannot resolve a node with !<${t}> explicit tag`);return{value:n,tag:i}}const o=lookupTag(e.schema.exact.mapping,e.schema.prefix.mapping,t)??lookupTag(e.schema.exact.sequence,e.schema.prefix.sequence,t);if(o){if(r!=="")throwError$1(e,`cannot resolve a node with !<${t}> explicit tag`);const n=o.create(t);return{value:o.carrierIsResult?n:finalizeCollection(e,e.position,o,n),tag:o}}throwError$1(e,`unknown scalar tag !<${t}>`)}if(t.style===1){const t=e.schema.implicitScalarByFirstChar.get(r.charAt(0))??e.schema.implicitScalarAnyFirstChar;for(const e of t){const t=e.resolve(r,false,e.tagName);if(t!==Cn)return{value:t,tag:e}}}return{value:s.resolve(r,false,s.tagName),tag:s}}function collectionTag(e,t,r,n,s,i){const o=t.tagStart===_s?"":e.source.slice(t.tagStart,t.tagEnd);const a=o===""||o==="!"?s:tagNameFull(o,e.tagHandlers);return{tagName:a,tag:findExplicitTag(e,r,n,a,i)}}function isMappingTag(e){return e.nodeKind==="mapping"}function mergeKeys(e,t,r,n){for(const s of n.keys(r)){if(e.maxTotalMergeKeys!==-1&&++e.totalMergeKeys>e.maxTotalMergeKeys)throwError$1(e,`merge keys exceeded maxTotalMergeKeys (${e.maxTotalMergeKeys})`);if(t.tag.has(t.value,s))continue;const i=t.tag.addPair(t.value,s,n.get(r,s));if(i)throwError$1(e,i);(t.overridable??=new Set).add(s)}}function mergeSource(e,t,r,n){e.position=t.keyPosition;if(isMappingTag(n))mergeKeys(e,t,r,n);else if(n.nodeKind==="sequence"&&Array.isArray(r))for(const n of r)mergeKeys(e,t,n,t.tag);else throwError$1(e,"cannot merge mappings; the provided source object is unacceptable")}function addMappingValue(e,t,r,n,s){e.position=t.keyPosition;if(r===yn){mergeSource(e,t,n,s);return}if(!e.json&&t.tag.has(t.value,r)&&!t.overridable?.has(r))throwError$1(e,"duplicated mapping key");const i=t.tag.addPair(t.value,r,n);if(i)throwError$1(e,i);t.overridable?.delete(r)}function addValue(e,t,r){const n=e.frames[e.frames.length-1];if(n.kind==="document"){n.value=t;n.hasValue=true}else if(n.kind==="sequence"){if(n.merge){if(!isMappingTag(r))throwError$1(e,"cannot merge mappings; the provided source object is unacceptable")}const s=n.tag.addItem(n.value,t,n.index++);if(s)throwError$1(e,s)}else if(n.hasKey){const s=n.key;n.key=void 0;n.hasKey=false;addMappingValue(e,n,s,t,r)}else{n.key=t;n.keyPosition=e.position;n.hasKey=true}}function storeAnchor(e,t,r,n,s){if(t.anchorStart!==_s){const i={value:r,tag:n,isValueFinal:s};e.anchors.set(e.source.slice(t.anchorStart,t.anchorEnd),i);return i}return null}function constructFromEvents(e,t){const r={...qs,...t,events:e,documents:[],eventIndex:0,position:0,frames:[],anchors:new Map,tagHandlers:Object.create(null),totalMergeKeys:0,aliasCount:0};while(r.eventIndex<r.events.length){const e=r.events[r.eventIndex++];r.position=eventPosition$1(e);switch(e.type){case 1:r.anchors=new Map;r.aliasCount=0;r.tagHandlers=Object.create(null);for(const t of e.directives)if(t.kind==="tag")r.tagHandlers[t.handle]=t.prefix;r.frames.push({kind:"document",position:r.position,value:void 0,hasValue:false});break;case 4:{const{value:t,tag:n}=constructScalar(r,e);storeAnchor(r,e,t,n,true);addValue(r,t,n);break}case 2:{const t=collectionTag(r,e,r.schema.exact.sequence,r.schema.prefix.sequence,"tag:yaml.org,2002:seq","sequence");const n=t.tag.create(t.tagName);const s=storeAnchor(r,e,n,t.tag,t.tag.carrierIsResult);const i=r.frames[r.frames.length-1];const o=i!==void 0&&i.kind==="mapping"&&i.hasKey&&i.key===yn;r.frames.push({kind:"sequence",position:r.position,value:n,tag:t.tag,anchor:s,index:0,merge:o});break}case 3:{const t=collectionTag(r,e,r.schema.exact.mapping,r.schema.prefix.mapping,"tag:yaml.org,2002:map","mapping");const n=t.tag.create(t.tagName);const s=storeAnchor(r,e,n,t.tag,t.tag.carrierIsResult);r.frames.push({kind:"mapping",position:r.position,value:n,tag:t.tag,anchor:s,key:void 0,keyPosition:r.position,hasKey:false,overridable:null});break}case 5:{if(r.maxAliases!==-1&&++r.aliasCount>r.maxAliases)throwError$1(r,`aliases exceeded maxAliases (${r.maxAliases})`);const t=r.source.slice(e.anchorStart,e.anchorEnd);const n=r.anchors.get(t);if(!n)throwError$1(r,`unidentified alias "${t}"`);if(!n.isValueFinal)throwError$1(r,`recursive alias "${t}" is not supported for tag ${n.tag.tagName} because it uses finalize()`);addValue(r,n.value,n.tag);break}case 6:{const e=r.frames.pop();if(e.kind==="mapping"&&e.hasKey){r.position=e.keyPosition;throwError$1(r,"incomplete mapping pair in event stream")}if(e.kind==="document")r.documents.push(e.value);else{const t=e.tag.carrierIsResult?e.value:finalizeCollection(r,e.position,e.tag,e.value);if(e.anchor){e.anchor.value=t;e.anchor.isValueFinal=true}addValue(r,t,e.tag)}break}}}return r.documents}var Gs=-1;var zs=Object.prototype.hasOwnProperty;var Ys=1;var Vs=2;var Js=3;var Ws=4;var js=/[\x00-\x08\x0B\x0C\x0E-\x1F\x7F-\x84\x86-\x9F\uFFFE\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/;var Ks=/[,\[\]{}]/;var $s=/^(?:!|!!|![0-9A-Za-z-]+!)$/;var Xs=String.raw`(?:%[0-9A-Fa-f]{2}|[0-9A-Za-z\-#;/?:@&=+$,_.!~*'()\[\]])`;var Zs=String.raw`(?:%[0-9A-Fa-f]{2}|[0-9A-Za-z\-#;/?:@&=+$.~*'()_])`;var ei=new RegExp(`^(?:${Xs})*$`);var ti=new RegExp(`^(?:${Zs})+$`);var ri=new RegExp(`^(?:!(?:${Xs})*|${Zs}(?:${Xs})*)$`);var ni={filename:"",maxDepth:100};function addDocumentEvent(e,t,r){e.events.push({type:1,explicitStart:t,explicitEnd:r,directives:e.directives})}function addSequenceEvent(e,t,r,n,s,i,o){e.events.push({type:2,start:t,anchorStart:r,anchorEnd:n,tagStart:s,tagEnd:i,style:o})}function addMappingEvent(e,t,r,n,s,i,o){e.events.push({type:3,start:t,anchorStart:r,anchorEnd:n,tagStart:s,tagEnd:i,style:o})}function insertFlowPairMappingEvent(e,t){e.events.splice(t.eventsLength,0,{type:3,start:t.position,anchorStart:Gs,anchorEnd:Gs,tagStart:Gs,tagEnd:Gs,style:2})}function addScalarEvent(e,t,r,n,s,i,o,a,c=1,l=-1,A=false){e.events.push({type:4,valueStart:t,valueEnd:r,anchorStart:n,anchorEnd:s,tagStart:i,tagEnd:o,style:a,chomping:c,indent:l,fast:A})}function addAliasEvent(e,t,r){e.events.push({type:5,anchorStart:t,anchorEnd:r})}function addPopEvent(e){e.events.push({type:6})}function addEmptyScalarEvent(e){addScalarEvent(e,Gs,Gs,Gs,Gs,Gs,Gs,1)}function emptyProperties(){return{anchorStart:Gs,anchorEnd:Gs,tagStart:Gs,tagEnd:Gs}}function snapshotState(e){return{position:e.position,line:e.line,lineStart:e.lineStart,lineIndent:e.lineIndent,firstTabInLine:e.firstTabInLine,eventsLength:e.events.length}}function restoreState(e,t){e.position=t.position;e.line=t.line;e.lineStart=t.lineStart;e.lineIndent=t.lineIndent;e.firstTabInLine=t.firstTabInLine;e.events.length=t.eventsLength}function throwError(e,t){throwErrorAt(e.input.slice(0,e.length),e.position,t,e.filename)}function isEol(e){return e===10||e===13}function isWhiteSpace(e){return e===9||e===32}function isWsOrEol(e){return isWhiteSpace(e)||isEol(e)}function isWsOrEolOrEnd(e){return e===0||isWsOrEol(e)}function isFlowIndicator(e){return e===44||e===91||e===93||e===123||e===125}function fromDecimalCode(e){return e>=48&&e<=57?e-48:-1}function fromHexCode(e){if(e>=48&&e<=57)return e-48;const t=e|32;if(t>=97&&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 isSimpleEscape(e){return e===48||e===97||e===98||e===116||e===9||e===110||e===118||e===102||e===114||e===101||e===32||e===34||e===47||e===92||e===78||e===95||e===76||e===80}function consumeLineBreak(e){if(e.input.charCodeAt(e.position)===10)e.position++;else{e.position++;if(e.input.charCodeAt(e.position)===10)e.position++}e.line++;e.lineStart=e.position;e.lineIndent=0;e.firstTabInLine=-1}function skipSeparationSpace(e,t){let r=0;let n=e.input.charCodeAt(e.position);let s=e.position===e.lineStart||isWsOrEol(e.input.charCodeAt(e.position-1));while(n!==0){while(isWhiteSpace(n)){s=true;if(n===9&&e.firstTabInLine===-1)e.firstTabInLine=e.position;n=e.input.charCodeAt(++e.position)}if(t&&s&&n===35)do{n=e.input.charCodeAt(++e.position)}while(!isEol(n)&&n!==0);if(!isEol(n))break;consumeLineBreak(e);r++;s=true;n=e.input.charCodeAt(e.position);while(n===32){e.lineIndent++;n=e.input.charCodeAt(++e.position)}}return r}function testDocumentSeparator(e,t=e.position){const r=e.input.charCodeAt(t);if((r===45||r===46)&&r===e.input.charCodeAt(t+1)&&r===e.input.charCodeAt(t+2)){const r=e.input.charCodeAt(t+3);return r===0||isWsOrEol(r)}return false}function skipUntilLineEnd(e){let t=e.input.charCodeAt(e.position);while(t!==0&&!isEol(t))t=e.input.charCodeAt(++e.position)}function checkPrintable(e,t,r){if(js.test(e.input.slice(t,r)))throwError(e,"the stream contains non-printable characters")}function readTagProperty(e,t,r){if(e.input.charCodeAt(e.position)!==33)return false;if(t.tagStart!==Gs)throwError(e,"duplication of a tag property");const n=e.position;let s=false;let i=false;let o="!";let a=e.input.charCodeAt(++e.position);if(a===60){s=true;a=e.input.charCodeAt(++e.position)}else if(a===33){i=true;o="!!";a=e.input.charCodeAt(++e.position)}let c=e.position;let l;if(s){while(a!==0&&a!==62)a=e.input.charCodeAt(++e.position);if(a!==62)throwError(e,"unexpected end of the stream within a verbatim tag");l=e.input.slice(c,e.position);e.position++}else{while(a!==0&&!isWsOrEol(a)&&!(r&&isFlowIndicator(a))){if(a===33)if(!i){o=e.input.slice(c-1,e.position+1);if(!$s.test(o))throwError(e,"named tag handle cannot contain such characters");i=true;c=e.position+1}else throwError(e,"tag suffix cannot contain exclamation marks");a=e.input.charCodeAt(++e.position)}l=e.input.slice(c,e.position);if(Ks.test(l))throwError(e,"tag suffix cannot contain flow indicator characters")}if(l&&!(s?ei.test(l):ti.test(l)))throwError(e,`tag name cannot contain such characters: ${l}`);if(!s&&o!=="!"&&o!=="!!"&&!zs.call(e.tagHandlers,o))throwError(e,`undeclared tag handle "${o}"`);t.tagStart=n;t.tagEnd=e.position;return true}function readAnchorProperty(e,t){if(e.input.charCodeAt(e.position)!==38)return false;if(t.anchorStart!==Gs)throwError(e,"duplication of an anchor property");e.position++;const r=e.position;while(e.input.charCodeAt(e.position)!==0&&!isWsOrEol(e.input.charCodeAt(e.position))&&!isFlowIndicator(e.input.charCodeAt(e.position)))e.position++;if(e.position===r)throwError(e,"name of an anchor node must contain at least one character");t.anchorStart=r;t.anchorEnd=e.position;return true}function readAlias(e,t){if(e.input.charCodeAt(e.position)!==42)return false;if(t.anchorStart!==Gs||t.tagStart!==Gs)throwError(e,"alias node should not have any properties");e.position++;const r=e.position;while(e.input.charCodeAt(e.position)!==0&&!isWsOrEol(e.input.charCodeAt(e.position))&&!isFlowIndicator(e.input.charCodeAt(e.position)))e.position++;if(e.position===r)throwError(e,"name of an alias node must contain at least one character");addAliasEvent(e,r,e.position);return true}function readFlowScalarBreak(e,t){skipSeparationSpace(e,false);if(e.lineIndent<t)throwError(e,"deficient indentation")}function readSingleQuotedScalar(e,t,r){if(e.input.charCodeAt(e.position)!==39)return false;e.position++;const n=e.position;let s=true;while(e.input.charCodeAt(e.position)!==0){const i=e.input.charCodeAt(e.position);if(i===39){if(e.input.charCodeAt(e.position+1)===39){s=false;e.position+=2;continue}const t=e.position;e.position++;addScalarEvent(e,n,t,r.anchorStart,r.anchorEnd,r.tagStart,r.tagEnd,2,1,-1,s);return true}if(isEol(i)){s=false;readFlowScalarBreak(e,t)}else if(e.position===e.lineStart&&testDocumentSeparator(e))throwError(e,"unexpected end of the document within a single quoted scalar");else if(i!==9&&i<32)throwError(e,"expected valid JSON character");else e.position++}throwError(e,"unexpected end of the stream within a single quoted scalar")}function readDoubleQuotedScalar(e,t,r){if(e.input.charCodeAt(e.position)!==34)return false;e.position++;const n=e.position;let s=true;while(e.input.charCodeAt(e.position)!==0){const i=e.input.charCodeAt(e.position);if(i===34){const t=e.position;e.position++;addScalarEvent(e,n,t,r.anchorStart,r.anchorEnd,r.tagStart,r.tagEnd,3,1,-1,s);return true}if(i===92){s=false;const r=e.input.charCodeAt(++e.position);if(isEol(r))readFlowScalarBreak(e,t);else if(isSimpleEscape(r))e.position++;else{let t=escapedHexLen(r);if(t===0)throwError(e,"unknown escape sequence");while(t-- >0){e.position++;if(fromHexCode(e.input.charCodeAt(e.position))<0)throwError(e,"expected hexadecimal character")}e.position++}}else if(isEol(i)){s=false;readFlowScalarBreak(e,t)}else if(e.position===e.lineStart&&testDocumentSeparator(e))throwError(e,"unexpected end of the document within a double quoted scalar");else if(i!==9&&i<32)throwError(e,"expected valid JSON character");else e.position++}throwError(e,"unexpected end of the stream within a double quoted scalar")}function readBlockScalar(e,t,r){const n=e.input.charCodeAt(e.position);let s=1;let i=-1;let o=false;if(n!==124&&n!==62)return false;const a=n===124?4:5;e.position++;while(e.input.charCodeAt(e.position)!==0){const r=e.input.charCodeAt(e.position);const n=fromDecimalCode(r);if(r===43||r===45){if(s!==1)throwError(e,"repeat of a chomping mode identifier");s=r===43?3:2;e.position++}else if(n>=0){if(n===0)throwError(e,"bad explicit indentation width of a block scalar; it cannot be less than one");if(o)throwError(e,"repeat of an indentation width identifier");i=t+n-1;o=true;e.position++}else break}let c=false;while(isWhiteSpace(e.input.charCodeAt(e.position))){c=true;e.position++}if(c&&e.input.charCodeAt(e.position)===35)skipUntilLineEnd(e);if(isEol(e.input.charCodeAt(e.position)))consumeLineBreak(e);else if(e.input.charCodeAt(e.position)!==0)throwError(e,"a line break is expected");let l=o?i:-1;let A=0;const u=e.position;let d=e.position;while(e.input.charCodeAt(e.position)!==0){const r=e.position;let n=0;while(e.input.charCodeAt(r+n)===32)n++;const s=e.input.charCodeAt(r+n);if(s===0){if(l>=0){if(n>l)d=r+n}else if(n>0)d=r+n;break}if(r===e.lineStart&&testDocumentSeparator(e,r))break;if(!o&&l===-1&&isEol(s))A=Math.max(A,n);if(!o&&l===-1&&!isEol(s)){if(s===9&&n<t){e.position=r+n;throwError(e,"tab characters must not be used in indentation")}if(n<A){e.position=r+n;throwError(e,"bad indentation of a mapping entry")}}if(l===-1&&s!==0&&!isEol(s)&&n<t){e.lineIndent=n;e.position=r+n;break}if(!o&&s!==0&&!isEol(s)&&l===-1)l=n;const i=l===-1?t+1:l;if(s!==0&&!isEol(s)&&n<i){e.lineIndent=n;e.position=r+n;break}skipUntilLineEnd(e);d=e.position;if(isEol(e.input.charCodeAt(e.position))){consumeLineBreak(e);d=e.position}}checkPrintable(e,u,d);addScalarEvent(e,u,d,r.anchorStart,r.anchorEnd,r.tagStart,r.tagEnd,a,s,l);return true}function canStartPlainScalar(e,t){const r=e.input.charCodeAt(e.position);const n=t===Ys;if(r===0||isWsOrEol(r)||r===35||r===38||r===42||r===33||r===124||r===62||r===39||r===34||r===37||r===64||r===96||n&&isFlowIndicator(r))return false;if(r===63||r===45){const t=e.input.charCodeAt(e.position+1);if(isWsOrEolOrEnd(t)||n&&isFlowIndicator(t))return false}return true}function readPlainScalar(e,t,r,n){if(!canStartPlainScalar(e,r))return false;const s=e.position;let i=e.position;let o=e.input.charCodeAt(e.position);const a=r===Ys;let c=false;while(o!==0){if(e.position===e.lineStart&&testDocumentSeparator(e))break;if(o===58){const t=e.input.charCodeAt(e.position+1);if(isWsOrEolOrEnd(t)||a&&isFlowIndicator(t))break}else if(o===35){if(isWsOrEol(e.input.charCodeAt(e.position-1)))break}else if(a&&isFlowIndicator(o))break;else if(isEol(o)){const r=e.position;const n=e.line;const s=e.lineStart;const i=e.lineIndent;skipSeparationSpace(e,false);if(e.lineIndent>=t){c=true;o=e.input.charCodeAt(e.position);continue}e.position=r;e.line=n;e.lineStart=s;e.lineIndent=i;break}if(!isWhiteSpace(o))i=e.position+1;o=e.input.charCodeAt(++e.position)}if(i===s)return false;checkPrintable(e,s,i);addScalarEvent(e,s,i,n.anchorStart,n.anchorEnd,n.tagStart,n.tagEnd,1,1,-1,!c);return true}function skipFlowSeparationSpace(e,t){const r=e.line;skipSeparationSpace(e,true);if(e.line>r&&e.lineIndent<t||e.firstTabInLine!==-1&&e.lineIndent<t)throwError(e,"deficient indentation")}function readFlowCollection(e,t,r){const n=e.input.charCodeAt(e.position);const s=n===123;const i=e.position;let o=true;if(n!==91&&n!==123)return false;const a=s?125:93;if(s)addMappingEvent(e,i,r.anchorStart,r.anchorEnd,r.tagStart,r.tagEnd,2);else addSequenceEvent(e,i,r.anchorStart,r.anchorEnd,r.tagStart,r.tagEnd,2);e.position++;while(e.input.charCodeAt(e.position)!==0){skipFlowSeparationSpace(e,t);let r=e.input.charCodeAt(e.position);if(r===a){e.position++;addPopEvent(e);return true}else if(!o)throwError(e,"missed comma between flow collection entries");else if(r===44)throwError(e,"expected the node content, but found ','");let n=false;let i=false;if(r===63&&isWsOrEol(e.input.charCodeAt(e.position+1))){n=i=true;e.position+=1;skipFlowSeparationSpace(e,t)}const c=e.line;const l=snapshotState(e);const A=parseNode(e,t,Ys,false,true);skipFlowSeparationSpace(e,t);r=e.input.charCodeAt(e.position);if((s||i||e.line===c)&&r===58){n=true;e.position++;skipFlowSeparationSpace(e,t);if(!s){insertFlowPairMappingEvent(e,l);if(!A)addEmptyScalarEvent(e)}else if(!A)addEmptyScalarEvent(e);if(!parseNode(e,t,Ys,false,true))addEmptyScalarEvent(e);skipFlowSeparationSpace(e,t);if(!s)addPopEvent(e)}else if(s&&n){if(!A)addEmptyScalarEvent(e);addEmptyScalarEvent(e)}else if(s)addEmptyScalarEvent(e);else if(n){insertFlowPairMappingEvent(e,l);if(!A)addEmptyScalarEvent(e);addEmptyScalarEvent(e);addPopEvent(e)}r=e.input.charCodeAt(e.position);if(r===44){o=true;e.position++}else o=false}throwError(e,"unexpected end of the stream within a flow collection")}function readBlockSequence(e,t,r){if(e.firstTabInLine!==-1||e.input.charCodeAt(e.position)!==45||!isWsOrEolOrEnd(e.input.charCodeAt(e.position+1)))return false;addSequenceEvent(e,e.position,r.anchorStart,r.anchorEnd,r.tagStart,r.tagEnd,1);while(e.input.charCodeAt(e.position)===45&&isWsOrEolOrEnd(e.input.charCodeAt(e.position+1))){if(e.firstTabInLine!==-1){e.position=e.firstTabInLine;throwError(e,"tab characters must not be used in indentation")}const r=e.line;e.position++;const n=skipSeparationSpace(e,true)>0;if(e.firstTabInLine!==-1&&e.input.charCodeAt(e.position)===45&&isWsOrEolOrEnd(e.input.charCodeAt(e.position+1)))throwError(e,"bad indentation of a sequence entry");if(n&&e.lineIndent<=t)addEmptyScalarEvent(e);else parseNode(e,t,Js,false,true);skipSeparationSpace(e,true);if(e.lineIndent<t||e.position>=e.length)break;if(e.lineIndent>t)throwError(e,"bad indentation of a sequence entry");if(e.line===r&&e.input.charCodeAt(e.position)===45&&isWsOrEolOrEnd(e.input.charCodeAt(e.position+1)))throwError(e,"bad indentation of a sequence entry")}addPopEvent(e);return true}function readBlockMapping(e,t,r,n){let s=false;let i=false;let o=false;let a=false;if(e.firstTabInLine!==-1)return false;let c=e.input.charCodeAt(e.position);while(c!==0){if(!s&&e.firstTabInLine!==-1){e.position=e.firstTabInLine;throwError(e,"tab characters must not be used in indentation")}const l=e.input.charCodeAt(e.position+1);const A=e.line;if((c===63||c===58)&&isWsOrEolOrEnd(l)){if(!o){addMappingEvent(e,e.position,n.anchorStart,n.anchorEnd,n.tagStart,n.tagEnd,1);o=true}if(c===63){if(s)addEmptyScalarEvent(e);i=true;s=true}else if(s)s=false;else{addEmptyScalarEvent(e);i=true;s=false}e.position+=1;a=true}else{if(s){addEmptyScalarEvent(e);s=false}const t=snapshotState(e);if(!parseNode(e,r,Vs,false,true))break;if(e.line===A){c=e.input.charCodeAt(e.position);while(isWhiteSpace(c))c=e.input.charCodeAt(++e.position);if(c===58){c=e.input.charCodeAt(++e.position);if(!isWsOrEolOrEnd(c))throwError(e,"a whitespace character is expected after the key-value separator within a block mapping");if(!o){restoreState(e,t);addMappingEvent(e,t.position,n.anchorStart,n.anchorEnd,n.tagStart,n.tagEnd,1);o=true;parseNode(e,r,Vs,false,true);c=e.input.charCodeAt(e.position);while(isWhiteSpace(c))c=e.input.charCodeAt(++e.position);e.position++}i=true;s=false;a=false}else if(i)throwError(e,"expected ':' after a mapping key");else{if(n.anchorStart!==Gs||n.tagStart!==Gs){restoreState(e,t);return false}return true}}else if(i)throwError(e,"can not read a block mapping entry; a multiline key may not be an implicit key");else{if(n.anchorStart!==Gs||n.tagStart!==Gs){restoreState(e,t);return false}return true}}if(parseNode(e,t,Ws,true,a))a=false;if(!s){if(a){addEmptyScalarEvent(e);a=false}}skipSeparationSpace(e,true);c=e.input.charCodeAt(e.position);if((e.line===A||e.lineIndent>t)&&c!==0)throwError(e,"bad indentation of a mapping entry");else if(e.lineIndent<t)break}if(!i)return false;if(s)addEmptyScalarEvent(e);if(o)addPopEvent(e);return true}function parseNode(e,t,r,n,s,i=true){if(e.depth>=e.maxDepth)throwError(e,`nesting exceeded maxDepth (${e.maxDepth})`);e.depth++;let o=1;let a=false;let c=false;let l=null;const A=emptyProperties();let u=r===Ws||r===Js;let d=u;const g=u;if(n&&skipSeparationSpace(e,true)){a=true;if(e.lineIndent>t)o=1;else if(e.lineIndent===t)o=0;else o=-1}if(o===1)while(true){const n=e.input.charCodeAt(e.position);const s=snapshotState(e);if(a&&o!==1&&(n===33||n===38))break;if(a&&g&&(A.tagStart!==Gs||A.anchorStart!==Gs)&&(n===33||n===38)){const r=snapshotState(e);const n=t+1;if(readBlockMapping(e,e.position-e.lineStart,n,A)&&e.events[r.eventsLength]?.type===3){e.depth--;return true}restoreState(e,r)}if(a&&(n===33&&A.tagStart!==Gs||n===38&&A.anchorStart!==Gs))break;if(!readTagProperty(e,A,r===Ys)&&!readAnchorProperty(e,A))break;if(l===null)l=s;if(skipSeparationSpace(e,true)){a=true;d=g;if(e.lineIndent>t)o=1;else if(e.lineIndent===t)o=0;else o=-1}else d=false}if(d)d=a||s;if(o===1||r===Ws){const n=r===Ys||r===Vs?t:t+1;const s=e.position-e.lineStart;if(o===1)if(d&&(readBlockSequence(e,s,A)||readBlockMapping(e,s,n,A))||readFlowCollection(e,n,A))c=true;else{const t=e.input.charCodeAt(e.position);if(l!==null&&i&&g&&!d&&t!==124&&t!==62){const t=snapshotState(e);const r=l.position-l.lineStart;restoreState(e,l);if(readBlockMapping(e,r,n,emptyProperties())&&e.events[t.eventsLength]?.type===3)c=true;else restoreState(e,t)}if(!c&&(u&&readBlockScalar(e,n,A)||readSingleQuotedScalar(e,n,A)||readDoubleQuotedScalar(e,n,A)||readAlias(e,A)||readPlainScalar(e,n,r,A)))c=true}else if(o===0)c=d&&readBlockSequence(e,s,A)}u=u&&!c;if(!c&&(A.anchorStart!==Gs||A.tagStart!==Gs||u)){addScalarEvent(e,Gs,Gs,A.anchorStart,A.anchorEnd,A.tagStart,A.tagEnd,1);c=true}e.depth--;return c||A.anchorStart!==Gs||A.tagStart!==Gs}function readDirective(e){if(e.lineIndent>0||e.input.charCodeAt(e.position)!==37)return false;e.position++;const t=e.position;while(e.input.charCodeAt(e.position)!==0&&!isWsOrEol(e.input.charCodeAt(e.position)))e.position++;const r=e.input.slice(t,e.position);const n=[];if(r.length===0)throwError(e,"directive name must not be less than one character in length");while(e.input.charCodeAt(e.position)!==0&&!isEol(e.input.charCodeAt(e.position))){while(isWhiteSpace(e.input.charCodeAt(e.position)))e.position++;if(e.input.charCodeAt(e.position)===35||isEol(e.input.charCodeAt(e.position))||e.input.charCodeAt(e.position)===0)break;const t=e.position;while(e.input.charCodeAt(e.position)!==0&&!isWsOrEol(e.input.charCodeAt(e.position)))e.position++;n.push(e.input.slice(t,e.position))}if(isEol(e.input.charCodeAt(e.position)))consumeLineBreak(e);if(r==="YAML"){if(e.directives.some((e=>e.kind==="yaml")))throwError(e,"duplication of %YAML directive");if(n.length!==1)throwError(e,"YAML directive accepts exactly one argument");const t=/^([0-9]+)\.([0-9]+)$/.exec(n[0]);if(t===null)throwError(e,"ill-formed argument of the YAML directive");if(parseInt(t[1],10)!==1)throwError(e,"unacceptable YAML version of the document");e.directives.push({kind:"yaml",version:n[0]})}else if(r==="TAG"){if(n.length!==2)throwError(e,"TAG directive accepts exactly two arguments");const[t,r]=n;if(!$s.test(t))throwError(e,"ill-formed tag handle (first argument) of the TAG directive");if(zs.call(e.tagHandlers,t))throwError(e,`there is a previously declared suffix for "${t}" tag handle`);if(!ri.test(r))throwError(e,"ill-formed tag prefix (second argument) of the TAG directive");e.tagHandlers[t]=r;e.directives.push({kind:"tag",handle:t,prefix:r})}return true}function readDocument(e){e.directives=[];e.tagHandlers=Object.create(null);let t=false;skipSeparationSpace(e,true);while(readDirective(e)){t=true;skipSeparationSpace(e,true)}let r=false;let n=false;let s=true;if(e.lineIndent===0&&e.input.charCodeAt(e.position)===45&&e.input.charCodeAt(e.position+1)===45&&e.input.charCodeAt(e.position+2)===45&&isWsOrEolOrEnd(e.input.charCodeAt(e.position+3))){r=true;const t=e.line;e.position+=3;skipSeparationSpace(e,true);s=e.line>t}else if(t)throwError(e,"directives end mark is expected");const i=e.events.length;if(!r&&e.position===e.lineStart&&e.input.charCodeAt(e.position)===46&&testDocumentSeparator(e)){e.position+=3;skipSeparationSpace(e,true);return}addDocumentEvent(e,r,false);if(!parseNode(e,e.lineIndent-1,Ws,false,s,s))addEmptyScalarEvent(e);skipSeparationSpace(e,true);if(e.position===e.lineStart&&testDocumentSeparator(e)){n=e.input.charCodeAt(e.position)===46;if(n){const t=e.line;e.position+=3;skipSeparationSpace(e,true);if(e.line===t&&e.position<e.length)throwError(e,"end of the stream or a document separator is expected")}}const o=e.events[i];if(o?.type===1)o.explicitEnd=n;addPopEvent(e);if(!n&&e.position<e.length&&!(e.position===e.lineStart&&testDocumentSeparator(e)))throwError(e,"end of the stream or a document separator is expected")}function parseEvents(e,t){const r=e.length;const n={...ni,...t,input:`${e}\0`,length:r,position:0,line:0,lineStart:0,lineIndent:0,firstTabInLine:-1,depth:0,directives:[],tagHandlers:Object.create(null),events:[]};const s=e.indexOf("\0");if(s!==-1)throwErrorAt(e,s,"null byte is not allowed in input",n.filename);if(n.input.charCodeAt(n.position)===65279)n.position++;while(n.position<n.length){skipSeparationSpace(n,true);if(n.position>=n.length)break;const e=n.position;readDocument(n);if(n.position===e)throwError(n,"can not read a document")}return n.events}var si={...ni,...qs};function loadDocuments(e,t={}){const r={...si,...t};const n=String(e);const s=Object.keys(ni);const i=Object.keys(qs);return constructFromEvents(parseEvents(n,pick(r,s)),{...pick(r,i),source:n})}function loadAll(e,t,r){let n=null;if(typeof t==="function")n=t;else if(t!==null&&typeof t==="object")r=t;const s=loadDocuments(e,r);if(n===null)return s;for(const e of s)n(e)}function load(e,t){const r=loadDocuments(e,t);if(r.length===0)throw new Es("expected a document, but the input is empty");if(r.length===1)return r[0];throw new Es("expected a single document in the stream, but found more")}var ii=class{tagged=false;flow=false;singleQuoted=false;doubleQuoted=false;literal=false;folded=false};var oi=Symbol("INVALID");function buildRepresentTypes(e){const t=new Set([e.defaultScalarTag,e.defaultSequenceTag,e.defaultMappingTag].filter((e=>e!==void 0)));const r=e.implicitScalarTags;const n=e.tags.filter((e=>!(e.nodeKind==="scalar"&&e.implicit)&&!t.has(e)));const s=e.tags.filter((e=>t.has(e)));return[...r.map((e=>({tag:e,implicitTag:true}))),...n.map((e=>({tag:e,implicitTag:false}))),...s.map((e=>({tag:e,implicitTag:true})))]}function matchTag(e,t){for(let r=0,n=e.representTypes.length;r<n;r+=1){const{tag:n,implicitTag:s}=e.representTypes[r];if(n.identify&&n.identify(t)){let e;if(n.matchByTagPrefix&&n.representTagName)e=n.representTagName(t);else e=n.tagName;return{tag:n,tagName:e,implicitTag:s}}}return null}function build(e,t){if(!e.noRefs&&t!==null&&typeof t==="object"){const r=e.refs.get(t);if(r){if(r.anchor===void 0)r.anchor=`ref_${e.refCounter++}`;return{kind:"alias",tag:"",style:new ii,anchor:r.anchor}}}const r=matchTag(e,t);if(!r){if(t===void 0)return oi;if(e.skipInvalid)return oi;throw new Es(`unacceptable kind of an object to dump ${Object.prototype.toString.call(t)}`)}const{tag:n,tagName:s,implicitTag:i}=r;const o=i?s:tagNameShort(s);if(n.nodeKind==="scalar"){const e=new ii;e.tagged=!i;return{kind:"scalar",tag:o,style:e,value:n.represent(t)}}if(n.nodeKind==="sequence"){const r=n.represent(t);const s=new ii;s.tagged=!i;const a={kind:"sequence",tag:o,style:s,items:[]};if(!e.noRefs)e.refs.set(t,a);for(let t=0,n=r.length;t<n;t+=1){let n=build(e,r[t]);if(n===oi&&r[t]===void 0)n=build(e,null);if(n===oi)continue;a.items.push(n)}return a}const a=n.represent(t);const c=new ii;c.tagged=!i;const l={kind:"mapping",tag:o,style:c,items:[]};if(!e.noRefs)e.refs.set(t,l);for(const[t,r]of a){const n=build(e,t);if(n===oi)continue;const s=build(e,r);if(s===oi)continue;l.items.push({key:n,value:s})}return l}function jsToAst(e,t,r={}){const n=build({representTypes:buildRepresentTypes(t),noRefs:r.noRefs??false,skipInvalid:r.skipInvalid??false,refs:new Map,refCounter:0},e);return[{contents:n===oi?null:n,directives:[]}]}var ai=Symbol("visit:break");var ci=Symbol("visit:skip");function visitNode(e,t,r){const n=t(e,r);if(n===ai)return true;if(n===ci)return false;const s=r.depth+1;switch(e.kind){case"sequence":for(const r of e.items)if(visitNode(r,t,{depth:s,parent:e,isKey:false}))return true;break;case"mapping":for(const{key:r,value:n}of e.items){if(visitNode(r,t,{depth:s,parent:e,isKey:true}))return true;if(visitNode(n,t,{depth:s,parent:e,isKey:false}))return true}break}return false}function visit(e,t){for(const r of e)if(r.contents&&visitNode(r.contents,t,{depth:0,parent:null,isKey:false}))return}var li=65279;var Ai=9;var di=10;var gi=13;var pi=32;var hi=33;var mi=34;var fi=35;var Ci=37;var yi=38;var Ei=39;var Ii=42;var Bi=44;var Qi=45;var bi=58;var Si=61;var wi=62;var Di=63;var Ni=64;var xi=91;var Ri=93;var vi=96;var ki=123;var Fi=124;var Ti=125;var Mi={};Mi[0]="\\0";Mi[7]="\\a";Mi[8]="\\b";Mi[9]="\\t";Mi[10]="\\n";Mi[11]="\\v";Mi[12]="\\f";Mi[13]="\\r";Mi[27]="\\e";Mi[34]='\\"';Mi[92]="\\\\";Mi[133]="\\N";Mi[160]="\\_";Mi[8232]="\\L";Mi[8233]="\\P";var Pi={indent:2,seqNoIndent:false,seqInlineFirst:true,sortKeys:false,lineWidth:80,flowBracketPadding:false,flowSkipCommaSpace:false,flowSkipColonSpace:false,quoteFlowKeys:false,quoteStyle:"single",forceQuotes:false,tagBeforeAnchor:false};function nodeTagShort(e){return e.style.tagged?e.tag:tagNameShort(e.tag)}function createPresenterState(e){const t={...Pi,...e};return{...t,defaultScalarTagName:t.schema.defaultScalarTag.tagName,implicitResolvers:t.schema.implicitScalarTags}}function encodeNonPrintable(e){const t=e.toString(16).toUpperCase();const r=e<=255?"x":"u";const n=e<=255?2:4;return`\\${r}${"0".repeat(n-t.length)}${t}`}function indentString(e,t){const r=" ".repeat(t);let n=0;let s="";const i=e.length;while(n<i){let t;const o=e.indexOf("\n",n);if(o===-1){t=e.slice(n);n=i}else{t=e.slice(n,o+1);n=o+1}if(t.length&&t!=="\n")s+=r;s+=t}return s}function generateNextLine(e,t){return`\n${" ".repeat(e.indent*t)}`}function scalarLayout(e,t){const r=e.indent*Math.max(1,t);return{indent:r,blockIndent:t===0?e.indent+1:e.indent,lineWidth:e.lineWidth===-1?-1:Math.max(Math.min(e.lineWidth,40),e.lineWidth-r)}}function resolveImplicitTag(e,t){for(let r=0,n=e.implicitResolvers.length;r<n;r+=1){const n=e.implicitResolvers[r];if(n.resolve(t,false,n.tagName)!==Cn)return n.tagName}return e.defaultScalarTagName}function isWhitespace(e){return e===pi||e===Ai}function startsWithDocumentSeparator(e){const t=e.charCodeAt(0);if(t!==Qi&&t!==46||e.charCodeAt(1)!==t||e.charCodeAt(2)!==t)return false;if(e.length===3)return true;const r=e.charCodeAt(3);return isWhitespace(r)||r===gi||r===di}function isPrintable(e){return e>=32&&e<=126||e>=161&&e<=55295&&e!==8232&&e!==8233||e>=57344&&e<=65533&&e!==li||e>=65536&&e<=1114111}function isNsCharOrWhitespace(e){return isPrintable(e)&&e!==li&&e!==gi&&e!==di}function isPlainSafe(e,t,r){const n=isNsCharOrWhitespace(e);const s=n&&!isWhitespace(e);return(r?n:n&&e!==Bi&&e!==xi&&e!==Ri&&e!==ki&&e!==Ti)&&e!==fi&&!(t===bi&&!s)||isNsCharOrWhitespace(t)&&!isWhitespace(t)&&e===fi||t===bi&&s&&(r||e!==Bi&&e!==xi&&e!==Ri&&e!==ki&&e!==Ti)}function isPlainSafeFirst(e){return isPrintable(e)&&e!==li&&!isWhitespace(e)&&e!==Qi&&e!==Di&&e!==bi&&e!==Bi&&e!==xi&&e!==Ri&&e!==ki&&e!==Ti&&e!==fi&&e!==yi&&e!==Ii&&e!==hi&&e!==Fi&&e!==Si&&e!==wi&&e!==Ei&&e!==mi&&e!==Ci&&e!==Ni&&e!==vi}function isPlainSafeAtStart(e,t){const r=codePointAt(e,0);if(isPlainSafeFirst(r))return true;if(e.length>1&&(r===Qi||r===Di||r===bi)){const n=codePointAt(e,1);return!isWhitespace(n)&&isPlainSafe(n,r,t)}return false}function isPlainSafeLast(e){return!isWhitespace(e)&&e!==bi}function codePointAt(e,t){const r=e.charCodeAt(t);let n;if(r>=55296&&r<=56319&&t+1<e.length){n=e.charCodeAt(t+1);if(n>=56320&&n<=57343)return(r-55296)*1024+n-56320+65536}return r}function needIndentIndicator(e){return/^\n* /.test(e)}var Li=1;var Ui=2;var Oi=3;var Hi=4;var _i=5;function chooseScalarStyle(e,t,r,n,s,i){const{blockIndent:o,lineWidth:a}=r;let c;let l=0;let A=-1;let u=false;let d=false;const g=a!==-1;let p=-1;let h=!startsWithDocumentSeparator(t)&&isPlainSafeAtStart(t,i)&&isPlainSafeLast(codePointAt(t,t.length-1));if(n||s)for(c=0;c<t.length;l>=65536?c+=2:c++){l=codePointAt(t,c);if(!isPrintable(l))return _i;h=h&&isPlainSafe(l,A,i);A=l}else{for(c=0;c<t.length;l>=65536?c+=2:c++){l=codePointAt(t,c);if(l===di){u=true;if(g){d=d||c-p-1>a&&!isMoreIndented(t[p+1]);p=c}}else if(!isPrintable(l))return _i;h=h&&isPlainSafe(l,A,i);A=l}d=d||g&&c-p-1>a&&!isMoreIndented(t[p+1])}if(!u&&!d){if(h&&!s)return Li;return e.quoteStyle==="double"?_i:Ui}if(o>9&&needIndentIndicator(t))return _i;return d?Hi:Oi}function renderScalarStyle(e,t,r){const{indent:n,blockIndent:s,lineWidth:i}=r;switch(t){case Li:return encodeFlowBreaks(e,n);case Ui:return`'${encodeFlowBreaks(e,n).replace(/'/g,"''")}'`;case Oi:return"|"+blockHeader(e,s)+dropEndingNewline(indentString(e,n));case Hi:return">"+blockHeader(e,s)+dropEndingNewline(indentString(foldBlockScalar(e,i),n));case _i:return`"${escapeString(e)}"`}}function resolveScalarStyle(e,t,r,n,s){const i=n||!s;if(t.style.singleQuoted)return Ui;if(t.style.doubleQuoted)return _i;if(!i){if(t.style.literal)return Oi;if(t.style.folded)return Hi}const o=t.value;if(o.length===0){if(t.style.tagged||resolveImplicitTag(e,o)===t.tag)return Li;return e.quoteStyle==="double"?_i:Ui}const a=chooseScalarStyle(e,o,r,i,e.forceQuotes&&!n,s);if(a===Li&&!t.style.tagged&&resolveImplicitTag(e,o)!==t.tag)return e.quoteStyle==="double"?_i:Ui;return a}function blockHeader(e,t){const r=needIndentIndicator(e)?String(t):"";const n=e[e.length-1]==="\n";return`${r}${n&&(e[e.length-2]==="\n"||e==="\n")?"+":n?"":"-"}\n`}function encodeFlowBreaks(e,t){let r=e.indexOf("\n");if(r===-1)return e;const n=" ".repeat(t);let s=e.slice(0,r);const i=/(\n+)([^\n]*)/g;i.lastIndex=r;let o;while(o=i.exec(e)){const e=o[1].length;const t=o[2];s+="\n".repeat(e+1)+n+t}return s}function dropEndingNewline(e){return e[e.length-1]==="\n"?e.slice(0,-1):e}function isMoreIndented(e){return e===" "||e==="\t"}function foldBlockScalar(e,t){const r=/(\n+)([^\n]*)/g;let n=e.indexOf("\n");if(n===-1)n=e.length;r.lastIndex=n;let s=foldLine(e.slice(0,n),t);let i=e[0]==="\n"||isMoreIndented(e[0]);let o;let a;while(a=r.exec(e)){const e=a[1];const r=a[2];o=r!==""&&isMoreIndented(r[0]);s+=e+(!i&&!o&&r!==""?"\n":"")+foldLine(r,t);i=o}return s}function foldLine(e,t){if(e===""||isMoreIndented(e[0]))return e;const r=/ [^ \t]/g;let n;let s=0;let i;let o=0;let a=0;let c="";while(n=r.exec(e)){a=n.index;if(a-s>t){i=o>s?o:a;c+=`\n${e.slice(s,i)}`;s=i+1}o=a}c+="\n";if(e.length-s>t&&o>s)c+=`${e.slice(s,o)}\n${e.slice(o+1)}`;else c+=e.slice(s);return c.slice(1)}function escapeString(e){let t="";let r=0;for(let n=0;n<e.length;r>=65536?n+=2:n++){r=codePointAt(e,n);const s=Mi[r];if(s){t+=s;continue}if(isPrintable(r)){t+=e[n];if(r>=65536)t+=e[n+1];continue}t+=encodeNonPrintable(r)}return t}function writeFlowSequence(e,t,r){let n="";for(let s=0,i=r.items.length;s<i;s+=1){const i=writeNode(e,t,r.items[s],{});if(n!=="")n+=`,${!e.flowSkipCommaSpace?" ":""}`;n+=i}const s=e.flowBracketPadding&&n!==""?" ":"";return`[${s}${n}${s}]`}function writeBlockSequence(e,t,r,n){let s="";for(let i=0,o=r.items.length;i<o;i+=1){const o=writeNode(e,t+1,r.items[i],{block:true,compact:e.seqInlineFirst,isblockseq:true});if(!n||s!=="")s+=generateNextLine(e,t);if(o===""||di===o.charCodeAt(0))s+="-";else s+="- ";s+=o}return s}function writeFlowMapping(e,t,r){let n="";const s=sortMappingItems(e,r.items);for(const{key:r,value:i}of s){let s="";if(n!=="")s+=`,${!e.flowSkipCommaSpace?" ":""}`;const o=writeNode(e,t,r,{iskey:true});const a=o.length>1024;if(a)s+="? ";else if(e.quoteFlowKeys)s+='"';const c=writeNode(e,t,i,{});const l=e.flowSkipColonSpace||c===""?"":" ";s+=`${o}${e.quoteFlowKeys&&!a?'"':""}:${l}${c}`;n+=s}const i=e.flowBracketPadding&&n!==""?" ":"";return`{${i}${n}${i}}`}function sortKeyValue(e){return e.kind==="scalar"?e.value:e}function sortMappingItems(e,t){if(!e.sortKeys)return t;const r=t.slice();if(e.sortKeys===true)r.sort(((e,t)=>{const r=sortKeyValue(e.key);const n=sortKeyValue(t.key);if(r<n)return-1;if(r>n)return 1;return 0}));else{const t=e.sortKeys;r.sort(((e,r)=>t(sortKeyValue(e.key),sortKeyValue(r.key))))}return r}function writeBlockMapping(e,t,r,n){let s="";const i=sortMappingItems(e,r.items);for(let r=0,o=i.length;r<o;r+=1){let o="";if(!n||s!=="")o+=generateNextLine(e,t);const{key:a,value:c}=i[r];const l=(a.kind==="mapping"||a.kind==="sequence")&&!a.style.flow&&a.items.length!==0||a.kind==="scalar"&&(a.style.literal||a.style.folded);const A=l?writeNode(e,t+1,a,{block:true,compact:true,isblockseq:!cannotBeCompact(e,a,t+1)}):writeNode(e,t+1,a,{block:true,compact:true,iskey:true});const u=a.kind==="scalar"&&a.value.indexOf("\n")!==-1;const d=l||u||A.length>1024;if(d)if(A&&di===A.charCodeAt(0))o+="?";else o+="? ";o+=A;if(d)o+=generateNextLine(e,t);const g=writeNode(e,t+1,c,{block:true,compact:d,isblockseq:d&&!cannotBeCompact(e,c,t+1)});const p=a.kind==="scalar"&&a.value===""&&A!==""&&A.charCodeAt(A.length-1)!==Ei&&A.charCodeAt(A.length-1)!==mi;const h=!d&&(a.kind==="alias"||p)?" ":"";if(g===""||di===g.charCodeAt(0))o+=`${h}:`;else o+=`${h}: `;o+=g;s+=o}return s}function cannotBeCompact(e,t,r){return t.style.tagged||t.anchor!==void 0||e.indent<2&&r>0}function writeNode(e,t,r,n){if(r.kind==="alias")return`*${r.anchor}`;const{block:s=false,iskey:i=false,isblockseq:o=false}=n;let a=n.compact??false;const c=r.anchor!==void 0;if(cannotBeCompact(e,r,t))a=false;let l;let A=r.style.tagged;const u=s&&(r.kind==="mapping"||r.kind==="sequence")&&!r.style.flow&&r.items.length!==0;if(r.kind==="mapping")if(u)l=writeBlockMapping(e,t,r,a);else l=writeFlowMapping(e,t,r);else if(r.kind==="sequence")if(u)if(e.seqNoIndent&&!o&&t>0)l=writeBlockSequence(e,t-1,r,a);else l=writeBlockSequence(e,t,r,a);else l=writeFlowSequence(e,t,r);else{const n=scalarLayout(e,t);const o=resolveScalarStyle(e,r,n,i,s);l=renderScalarStyle(r.value,o,n);A=r.style.tagged||o!==Li&&r.tag!==e.defaultScalarTagName}if(u&&a&&t>0&&e.indent>2)l=`${" ".repeat(e.indent-2)}${l}`;if(A||c){const t=[];const n=A?nodeTagShort(r):null;const s=c?`&${r.anchor}`:null;if(e.tagBeforeAnchor){if(n!==null)t.push(n);if(s!==null)t.push(s)}else{if(s!==null)t.push(s);if(n!==null)t.push(n)}const i=l===""||l.charCodeAt(0)===di?"":" ";l=`${t.join(" ")}${i}${l}`}return l}function rootStartsOwnLine(e){return(e.kind==="sequence"||e.kind==="mapping")&&!e.style.flow&&e.items.length!==0&&!e.style.tagged&&e.anchor===void 0}function isOpenEnded(e){let t=e;while((t.kind==="sequence"||t.kind==="mapping")&&!t.style.flow&&t.items.length!==0)t=t.kind==="sequence"?t.items[t.items.length-1]:t.items[t.items.length-1].value;if(t.kind!=="scalar"||!(t.style.literal||t.style.folded))return false;const{value:r}=t;return r.endsWith("\n\n")||r==="\n"}function writeDocumentDirectives(e){let t="";for(const r of e.directives){if(r.kind==="yaml"){t+=`%YAML ${r.version}\n`;continue}const{handle:e,prefix:n}=r;t+=`%TAG ${e} ${n}\n`}return t}function present(e,t){const r=createPresenterState(t);let n="";let s=false;for(let t=0;t<e.length;t+=1){const i=e[t];const o=writeDocumentDirectives(i);const a=o!=="";const c=i.explicitStart||a||t>0&&!s;n+=o;if(i.contents===null){if(c)n+="---\n"}else if(c){const e=writeNode(r,0,i.contents,{block:true,compact:true});const t=e===""?"":a||rootStartsOwnLine(i.contents)?"\n":" ";n+=`---${t}${e}\n`}else n+=writeNode(r,0,i.contents,{block:true,compact:true})+"\n";s=i.explicitEnd||i.contents!==null&&isOpenEnded(i.contents);if(s)n+="...\n"}return n}var qi=hs.withTags({...qn,resolve:(e,t,r)=>{const n=qn.resolve(e,t,r);return n===Cn?Ln.resolve(e,t,r):n}},{...$n,resolve:(e,t,r)=>{const n=$n.resolve(e,t,r);return n===Cn?Yn.resolve(e,t,r):n}});var Gi={...Pi,schema:qi,skipInvalid:false,noRefs:false,flowLevel:-1,transform:()=>{}};function dump(e,t={}){const r={...Gi,...t};const n=jsToAst(e,r.schema,{noRefs:r.noRefs,skipInvalid:r.skipInvalid});if(r.flowLevel>=0)visit(n,((e,t)=>{if(t.depth<r.flowLevel)return;e.style.flow=true;return ci}));r.transform(n);return present(n,{...pick(r,Object.keys(Pi)),schema:r.schema})}var zi=null&&-1;function eventPosition(e){if("tagStart"in e&&e.tagStart!==zi)return e.tagStart;if("anchorStart"in e&&e.anchorStart!==zi)return e.anchorStart;if("valueStart"in e&&e.valueStart!==zi)return e.valueStart;if("start"in e)return e.start;return 0}function rawTag(e,t){return t.tagStart===zi?"":e.source.slice(t.tagStart,t.tagEnd)}function anchorName(e,t){return t.anchorStart===zi?void 0:e.source.slice(t.anchorStart,t.anchorEnd)}function implicitScalarTagName(e,t){const{schema:r}=e;const n=r.implicitScalarByFirstChar.get(t.charAt(0))??r.implicitScalarAnyFirstChar;for(const e of n)if(e.resolve(t,false,e.tagName)!==Cn)return e.tagName;return r.defaultScalarTag.tagName}function buildScalar(e,t){const r=getScalarValue(e.source,t);const n=rawTag(e,t);const s=new ii;switch(t.style){case 2:s.singleQuoted=true;break;case 3:s.doubleQuoted=true;break;case 4:s.literal=true;break;case 5:s.folded=true;break}let i;if(n!==""){s.tagged=true;i=n}else if(t.style===1)i=implicitScalarTagName(e,r);else i=e.schema.defaultScalarTag.tagName;return{kind:"scalar",tag:i,style:s,anchor:anchorName(e,t),value:r}}function buildCollection(e,t,r){const n=rawTag(e,t);const s=new ii;if(t.style===2)s.flow=true;let i;if(n==="")i=r;else{i=n;s.tagged=true}return{tag:i,style:s,anchor:anchorName(e,t)}}function addNode(e,t){const r=e.frames[e.frames.length-1];if(r.kind==="document")r.doc.contents=t;else if(r.kind==="sequence")r.node.items.push(t);else if(r.key){r.node.items.push({key:r.key,value:t});r.key=null}else r.key=t}function eventsToAst(e,t){const r={source:t.source,schema:t.schema,eventIndex:0,position:0,frames:[],documents:[]};while(r.eventIndex<e.length){const t=e[r.eventIndex++];r.position=eventPosition(t);switch(t.type){case 1:{const e={contents:null,explicitStart:t.explicitStart,explicitEnd:t.explicitEnd,directives:t.directives};r.frames.push({kind:"document",doc:e});break}case 4:addNode(r,buildScalar(r,t));break;case 2:{const{tag:e,style:n,anchor:s}=buildCollection(r,t,"tag:yaml.org,2002:seq");const i={kind:"sequence",tag:e,style:n,anchor:s,items:[]};r.frames.push({kind:"sequence",node:i});break}case 3:{const{tag:e,style:n,anchor:s}=buildCollection(r,t,"tag:yaml.org,2002:map");const i={kind:"mapping",tag:e,style:n,anchor:s,items:[]};r.frames.push({kind:"mapping",node:i,key:null});break}case 5:{const e=r.source.slice(t.anchorStart,t.anchorEnd);addNode(r,{kind:"alias",tag:"",style:new ii,anchor:e});break}case 6:{const e=r.frames.pop();if(e.kind==="mapping"&&e.key)throw new Error("incomplete mapping pair in event stream");if(e.kind==="document")r.documents.push(e.doc);else addNode(r,e.node);break}}}return r.documents}var Yi=__nccwpck_require__(2088);const Vi=10;const Ji=1e3;const withRetry=async e=>{let t;for(let r=0;r<=Vi;r++){try{return await e()}catch(e){t=e;if(r===Vi){break}core_debug(`Attempt ${r+1} failed, retrying in ${Ji}: ${t.message}`);await new Promise((e=>setTimeout(e,Ji)))}}throw t};const Wi=/^v\d+\.\d+\.\d+-[0-9a-f]+-nightly$/i;const isNightlyTag=e=>Wi.test(e);const latestNightlyRelease=e=>e.filter((e=>Wi.test(e.tag_name))).sort(((e,t)=>(t.published_at||"").localeCompare(e.published_at||""))).shift();const getRelease=async(e,t)=>{if(t==="latest"){warning("You are using 'latest' as default version. Will lock to '~> v2'.");return getReleaseTag(e,"~> v2")}return getReleaseTag(e,t)};const getReleaseTag=async(e,t)=>{if(t==="nightly"){return resolveNightly(e)}const r=cleanTag(t);if(Yi.valid(r)){let n=t.startsWith("v")?t:`v${t}`;if(isPro(e)&&Yi.lt(r,"2.7.0")&&!n.endsWith("-pro")){n=n+distribSuffix(e)}return{tag_name:n}}const n=await resolveVersion(e,t)||t;const s=distribSuffix(e);const i=`https://goreleaser.com/releases${s}.json`;const o=await withRetry((async()=>{const e=new lib_HttpClient("goreleaser-action");const r=await e.get(i);const n=await r.readBody();const s=r.message.statusCode||500;if(s>=400){throw new Error(`Failed to get GoReleaser release ${t} from ${i} with status code ${s}: ${n}`)}return JSON.parse(n)}));const a=o.filter((e=>e.tag_name===n)).shift();if(a){return a}throw new Error(`Cannot find GoReleaser release ${t} in ${i}`)};const resolveNightly=async e=>{const t=`https://api.github.com/repos/goreleaser/${e}/releases?per_page=100`;core_debug(`Resolving latest nightly release from ${t}`);const r=await withRetry((async()=>{const e=new lib_HttpClient("goreleaser-action");const r={Accept:"application/vnd.github+json","X-GitHub-Api-Version":"2022-11-28"};const n=process.env.GITHUB_TOKEN;if(n){r["Authorization"]=`Bearer ${n}`}const s=await e.get(t,r);const i=await s.readBody();const o=s.message.statusCode||500;if(o>=400){throw new Error(`Failed to list releases from ${t} with status code ${o}: ${i}`)}return JSON.parse(i)}));const n=latestNightlyRelease(r);if(!n){throw new Error(`No '<version>-<sha>-nightly' release found in ${t}`)}info(`Resolved nightly to ${n.tag_name}`);return n};const resolveVersion=async(e,t)=>{const r=await getAllTags(e);if(!r){throw new Error(`Cannot download ${e} tags`)}core_debug(`Found ${r.length} tags in total`);const n=r.map((e=>cleanTag(e)));const s=cleanTag(t);if(!Yi.valid(s)&&!Yi.validRange(s)){return t}const i=Yi.maxSatisfying(n,s);if(Yi.lt(i,"2.7.0")){return i+distribSuffix(e)}return i};const getAllTags=async e=>{const t=distribSuffix(e);const r=`https://goreleaser.com/releases${t}.json`;core_debug(`Downloading ${r}`);return withRetry((async()=>{const e=new lib_HttpClient("goreleaser-action");const t=await e.getJson(r);if(t.result==null){return[]}return t.result.map((e=>e.tag_name))}))};const cleanTag=e=>e.replace(/-pro$/,"");function getOptions(e){const t={followSymbolicLinks:true,implicitDescendants:true,matchDirectories:true,omitBrokenSymbolicLinks:true,excludeHiddenFiles:false};if(e){if(typeof e.followSymbolicLinks==="boolean"){t.followSymbolicLinks=e.followSymbolicLinks;core_debug(`followSymbolicLinks '${t.followSymbolicLinks}'`)}if(typeof e.implicitDescendants==="boolean"){t.implicitDescendants=e.implicitDescendants;core_debug(`implicitDescendants '${t.implicitDescendants}'`)}if(typeof e.matchDirectories==="boolean"){t.matchDirectories=e.matchDirectories;core_debug(`matchDirectories '${t.matchDirectories}'`)}if(typeof e.omitBrokenSymbolicLinks==="boolean"){t.omitBrokenSymbolicLinks=e.omitBrokenSymbolicLinks;core_debug(`omitBrokenSymbolicLinks '${t.omitBrokenSymbolicLinks}'`)}if(typeof e.excludeHiddenFiles==="boolean"){t.excludeHiddenFiles=e.excludeHiddenFiles;core_debug(`excludeHiddenFiles '${t.excludeHiddenFiles}'`)}}return t}const ji=process.platform==="win32";function dirname(e){e=safeTrimTrailingSeparator(e);if(ji&&/^\\\\[^\\]+(\\[^\\]+)?$/.test(e)){return e}let t=o.dirname(e);if(ji&&/^\\\\[^\\]+\\[^\\]+\\$/.test(t)){t=safeTrimTrailingSeparator(t)}return t}function ensureAbsoluteRoot(e,t){a(e,`ensureAbsoluteRoot parameter 'root' must not be empty`);a(t,`ensureAbsoluteRoot parameter 'itemPath' must not be empty`);if(hasAbsoluteRoot(t)){return t}if(ji){if(t.match(/^[A-Z]:[^\\/]|^[A-Z]:$/i)){let e=process.cwd();a(e.match(/^[A-Z]:\\/i),`Expected current directory to start with an absolute drive root. Actual '${e}'`);if(t[0].toUpperCase()===e[0].toUpperCase()){if(t.length===2){return`${t[0]}:\\${e.substr(3)}`}else{if(!e.endsWith("\\")){e+="\\"}return`${t[0]}:\\${e.substr(3)}${t.substr(2)}`}}else{return`${t[0]}:\\${t.substr(2)}`}}else if(internal_path_helper_normalizeSeparators(t).match(/^\\$|^\\[^\\]/)){const e=process.cwd();a(e.match(/^[A-Z]:\\/i),`Expected current directory to start with an absolute drive root. Actual '${e}'`);return`${e[0]}:\\${t.substr(1)}`}}a(hasAbsoluteRoot(e),`ensureAbsoluteRoot parameter 'root' must have an absolute root`);if(e.endsWith("/")||ji&&e.endsWith("\\")){}else{e+=o.sep}return e+t}function hasAbsoluteRoot(e){a(e,`hasAbsoluteRoot parameter 'itemPath' must not be empty`);e=internal_path_helper_normalizeSeparators(e);if(ji){return e.startsWith("\\\\")||/^[A-Z]:\\/i.test(e)}return e.startsWith("/")}function hasRoot(e){a(e,`isRooted parameter 'itemPath' must not be empty`);e=internal_path_helper_normalizeSeparators(e);if(ji){return e.startsWith("\\")||/^[A-Z]:/i.test(e)}return e.startsWith("/")}function internal_path_helper_normalizeSeparators(e){e=e||"";if(ji){e=e.replace(/\//g,"\\");const t=/^\\\\+[^\\]/.test(e);return(t?"\\":"")+e.replace(/\\\\+/g,"\\")}return e.replace(/\/\/+/g,"/")}function safeTrimTrailingSeparator(e){if(!e){return""}e=internal_path_helper_normalizeSeparators(e);if(!e.endsWith(o.sep)){return e}if(e===o.sep){return e}if(ji&&/^[A-Z]:\\$/i.test(e)){return e}return e.substr(0,e.length-1)}var Ki;(function(e){e[e["None"]=0]="None";e[e["Directory"]=1]="Directory";e[e["File"]=2]="File";e[e["All"]=3]="All"})(Ki||(Ki={}));const $i=process.platform==="win32";function getSearchPaths(e){e=e.filter((e=>!e.negate));const t={};for(const r of e){const e=$i?r.searchPath.toUpperCase():r.searchPath;t[e]="candidate"}const r=[];for(const n of e){const e=$i?n.searchPath.toUpperCase():n.searchPath;if(t[e]==="included"){continue}let s=false;let i=e;let o=dirname(i);while(o!==i){if(t[o]){s=true;break}i=o;o=dirname(i)}if(!s){r.push(n.searchPath);t[e]="included"}}return r}function internal_pattern_helper_match(e,t){let r=Ki.None;for(const n of e){if(n.negate){r&=~n.match(t)}else{r|=n.match(t)}}return r}function internal_pattern_helper_partialMatch(e,t){return e.some((e=>!e.negate&&e.partialMatch(t)))}var Xi=__nccwpck_require__(9526);const Zi=process.platform==="win32";class Path{constructor(e){this.segments=[];if(typeof e==="string"){a(e,`Parameter 'itemPath' must not be empty`);e=safeTrimTrailingSeparator(e);if(!hasRoot(e)){this.segments=e.split(o.sep)}else{let t=e;let r=dirname(t);while(r!==t){const e=o.basename(t);this.segments.unshift(e);t=r;r=dirname(t)}this.segments.unshift(t)}}else{a(e.length>0,`Parameter 'itemPath' must not be an empty array`);for(let t=0;t<e.length;t++){let r=e[t];a(r,`Parameter 'itemPath' must not contain any empty segments`);r=internal_path_helper_normalizeSeparators(e[t]);if(t===0&&hasRoot(r)){r=safeTrimTrailingSeparator(r);a(r===dirname(r),`Parameter 'itemPath' root segment contains information for multiple segments`);this.segments.push(r)}else{a(!r.includes(o.sep),`Parameter 'itemPath' contains unexpected path separators`);this.segments.push(r)}}}}toString(){let e=this.segments[0];let t=e.endsWith(o.sep)||Zi&&/^[A-Z]:$/i.test(e);for(let r=1;r<this.segments.length;r++){if(t){t=false}else{e+=o.sep}e+=this.segments[r]}return e}}const{Minimatch:eo}=Xi;const to=process.platform==="win32";class Pattern{constructor(e,t=false,r,n){this.negate=false;let s;if(typeof e==="string"){s=e.trim()}else{r=r||[];a(r.length,`Parameter 'segments' must not empty`);const t=Pattern.getLiteral(r[0]);a(t&&hasAbsoluteRoot(t),`Parameter 'segments' first element must be a root path`);s=new Path(r).toString().trim();if(e){s=`!${s}`}}while(s.startsWith("!")){this.negate=!this.negate;s=s.substr(1).trim()}s=Pattern.fixupPattern(s,n);this.segments=new Path(s).segments;this.trailingSeparator=internal_path_helper_normalizeSeparators(s).endsWith(o.sep);s=safeTrimTrailingSeparator(s);let i=false;const c=this.segments.map((e=>Pattern.getLiteral(e))).filter((e=>!i&&!(i=e==="")));this.searchPath=new Path(c).toString();this.rootRegExp=new RegExp(Pattern.regExpEscape(c[0]),to?"i":"");this.isImplicitPattern=t;const l={dot:true,nobrace:true,nocase:to,nocomment:true,noext:true,nonegate:true};s=to?s.replace(/\\/g,"/"):s;this.minimatch=new eo(s,l)}match(e){if(this.segments[this.segments.length-1]==="**"){e=internal_path_helper_normalizeSeparators(e);if(!e.endsWith(o.sep)&&this.isImplicitPattern===false){e=`${e}${o.sep}`}}else{e=safeTrimTrailingSeparator(e)}if(this.minimatch.match(e)){return this.trailingSeparator?Ki.Directory:Ki.All}return Ki.None}partialMatch(e){e=safeTrimTrailingSeparator(e);if(dirname(e)===e){return this.rootRegExp.test(e)}return this.minimatch.matchOne(e.split(to?/\\+/:/\/+/),this.minimatch.set[0],true)}static globEscape(e){return(to?e:e.replace(/\\/g,"\\\\")).replace(/(\[)(?=[^/]+\])/g,"[[]").replace(/\?/g,"[?]").replace(/\*/g,"[*]")}static fixupPattern(e,t){a(e,"pattern cannot be empty");const r=new Path(e).segments.map((e=>Pattern.getLiteral(e)));a(r.every(((e,t)=>(e!=="."||t===0)&&e!=="..")),`Invalid pattern '${e}'. Relative pathing '.' and '..' is not allowed.`);a(!hasRoot(e)||r[0],`Invalid pattern '${e}'. Root segment must not contain globs.`);e=internal_path_helper_normalizeSeparators(e);if(e==="."||e.startsWith(`.${o.sep}`)){e=Pattern.globEscape(process.cwd())+e.substr(1)}else if(e==="~"||e.startsWith(`~${o.sep}`)){t=t||cr.homedir();a(t,"Unable to determine HOME directory");a(hasAbsoluteRoot(t),`Expected HOME directory to be a rooted path. Actual '${t}'`);e=Pattern.globEscape(t)+e.substr(1)}else if(to&&(e.match(/^[A-Z]:$/i)||e.match(/^[A-Z]:[^\\]/i))){let t=ensureAbsoluteRoot("C:\\dummy-root",e.substr(0,2));if(e.length>2&&!t.endsWith("\\")){t+="\\"}e=Pattern.globEscape(t)+e.substr(2)}else if(to&&(e==="\\"||e.match(/^\\[^\\]/))){let t=ensureAbsoluteRoot("C:\\dummy-root","\\");if(!t.endsWith("\\")){t+="\\"}e=Pattern.globEscape(t)+e.substr(1)}else{e=ensureAbsoluteRoot(Pattern.globEscape(process.cwd()),e)}return internal_path_helper_normalizeSeparators(e)}static getLiteral(e){let t="";for(let r=0;r<e.length;r++){const n=e[r];if(n==="\\"&&!to&&r+1<e.length){t+=e[++r];continue}else if(n==="*"||n==="?"){return""}else if(n==="["&&r+1<e.length){let n="";let s=-1;for(let t=r+1;t<e.length;t++){const r=e[t];if(r==="\\"&&!to&&t+1<e.length){n+=e[++t];continue}else if(r==="]"){s=t;break}else{n+=r}}if(s>=0){if(n.length>1){return""}if(n){t+=n;r=s;continue}}}t+=n}return t}static regExpEscape(e){return e.replace(/[[\\^$.|?*+()]/g,"\\$&")}}class SearchState{constructor(e,t){this.path=e;this.level=t}}var ro=undefined&&undefined.__awaiter||function(e,t,r,n){function adopt(e){return e instanceof r?e:new r((function(t){t(e)}))}return new(r||(r=Promise))((function(r,s){function fulfilled(e){try{step(n.next(e))}catch(e){s(e)}}function rejected(e){try{step(n["throw"](e))}catch(e){s(e)}}function step(e){e.done?r(e.value):adopt(e.value).then(fulfilled,rejected)}step((n=n.apply(e,t||[])).next())}))};var no=undefined&&undefined.__asyncValues||function(e){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var t=e[Symbol.asyncIterator],r;return t?t.call(e):(e=typeof __values==="function"?__values(e):e[Symbol.iterator](),r={},verb("next"),verb("throw"),verb("return"),r[Symbol.asyncIterator]=function(){return this},r);function verb(t){r[t]=e[t]&&function(r){return new Promise((function(n,s){r=e[t](r),settle(n,s,r.done,r.value)}))}}function settle(e,t,r,n){Promise.resolve(n).then((function(t){e({value:t,done:r})}),t)}};var so=undefined&&undefined.__await||function(e){return this instanceof so?(this.v=e,this):new so(e)};var oo=undefined&&undefined.__asyncGenerator||function(e,t,r){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var n=r.apply(e,t||[]),s,i=[];return s=Object.create((typeof AsyncIterator==="function"?AsyncIterator:Object).prototype),verb("next"),verb("throw"),verb("return",awaitReturn),s[Symbol.asyncIterator]=function(){return this},s;function awaitReturn(e){return function(t){return Promise.resolve(t).then(e,reject)}}function verb(e,t){if(n[e]){s[e]=function(t){return new Promise((function(r,n){i.push([e,t,r,n])>1||resume(e,t)}))};if(t)s[e]=t(s[e])}}function resume(e,t){try{step(n[e](t))}catch(e){settle(i[0][3],e)}}function step(e){e.value instanceof so?Promise.resolve(e.value.v).then(fulfill,reject):settle(i[0][2],e)}function fulfill(e){resume("next",e)}function reject(e){resume("throw",e)}function settle(e,t){if(e(t),i.shift(),i.length)resume(i[0][0],i[0][1])}};const ao=process.platform==="win32";class DefaultGlobber{constructor(e){this.patterns=[];this.searchPaths=[];this.options=getOptions(e)}getSearchPaths(){return this.searchPaths.slice()}glob(){return ro(this,void 0,void 0,(function*(){var e,t,r,n;const s=[];try{for(var i=true,o=no(this.globGenerator()),a;a=yield o.next(),e=a.done,!e;i=true){n=a.value;i=false;const e=n;s.push(e)}}catch(e){t={error:e}}finally{try{if(!i&&!e&&(r=o.return))yield r.call(o)}finally{if(t)throw t.error}}return s}))}globGenerator(){return oo(this,arguments,(function*globGenerator_1(){const e=getOptions(this.options);const t=[];for(const r of this.patterns){t.push(r);if(e.implicitDescendants&&(r.trailingSeparator||r.segments[r.segments.length-1]!=="**")){t.push(new Pattern(r.negate,true,r.segments.concat("**")))}}const r=[];for(const e of getSearchPaths(t)){core_debug(`Search path '${e}'`);try{yield so(i.promises.lstat(e))}catch(e){if(e.code==="ENOENT"){continue}throw e}r.unshift(new SearchState(e,1))}const n=[];while(r.length){const s=r.pop();const a=internal_pattern_helper_match(t,s.path);const c=!!a||internal_pattern_helper_partialMatch(t,s.path);if(!a&&!c){continue}const l=yield so(DefaultGlobber.stat(s,e,n));if(!l){continue}if(e.excludeHiddenFiles&&o.basename(s.path).match(/^\./)){continue}if(l.isDirectory()){if(a&Ki.Directory&&e.matchDirectories){yield yield so(s.path)}else if(!c){continue}const t=s.level+1;const n=(yield so(i.promises.readdir(s.path))).map((e=>new SearchState(o.join(s.path,e),t)));r.push(...n.reverse())}else if(a&Ki.File){yield yield so(s.path)}}}))}static create(e,t){return ro(this,void 0,void 0,(function*(){const r=new DefaultGlobber(t);if(ao){e=e.replace(/\r\n/g,"\n");e=e.replace(/\r/g,"\n")}const n=e.split("\n").map((e=>e.trim()));for(const e of n){if(!e||e.startsWith("#")){continue}else{r.patterns.push(new Pattern(e))}}r.searchPaths.push(...getSearchPaths(r.patterns));return r}))}static stat(e,t,r){return ro(this,void 0,void 0,(function*(){let n;if(t.followSymbolicLinks){try{n=yield i.promises.stat(e.path)}catch(r){if(r.code==="ENOENT"){if(t.omitBrokenSymbolicLinks){core_debug(`Broken symlink '${e.path}'`);return undefined}throw new Error(`No information found for the path '${e.path}'. This may indicate a broken symbolic link.`)}throw r}}else{n=yield i.promises.lstat(e.path)}if(n.isDirectory()&&t.followSymbolicLinks){const t=yield i.promises.realpath(e.path);while(r.length>=e.level){r.pop()}if(r.some((e=>e===t))){core_debug(`Symlink cycle detected for path '${e.path}' and realpath '${t}'`);return undefined}r.push(t)}return n}))}}const co=e(import.meta.url)("stream");var lo=undefined&&undefined.__awaiter||function(e,t,r,n){function adopt(e){return e instanceof r?e:new r((function(t){t(e)}))}return new(r||(r=Promise))((function(r,s){function fulfilled(e){try{step(n.next(e))}catch(e){s(e)}}function rejected(e){try{step(n["throw"](e))}catch(e){s(e)}}function step(e){e.done?r(e.value):adopt(e.value).then(fulfilled,rejected)}step((n=n.apply(e,t||[])).next())}))};var Ao=undefined&&undefined.__asyncValues||function(e){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var t=e[Symbol.asyncIterator],r;return t?t.call(e):(e=typeof __values==="function"?__values(e):e[Symbol.iterator](),r={},verb("next"),verb("throw"),verb("return"),r[Symbol.asyncIterator]=function(){return this},r);function verb(t){r[t]=e[t]&&function(r){return new Promise((function(n,s){r=e[t](r),settle(n,s,r.done,r.value)}))}}function settle(e,t,r,n){Promise.resolve(n).then((function(t){e({value:t,done:r})}),t)}};function hashFiles(e,t){return lo(this,arguments,void 0,(function*(e,t,r=false){var n,s,i,o;var a;const c=r?core.info:core.debug;let l=false;const A=t?t:(a=process.env["GITHUB_WORKSPACE"])!==null&&a!==void 0?a:process.cwd();const u=crypto.createHash("sha256");let d=0;try{for(var g=true,p=Ao(e.globGenerator()),h;h=yield p.next(),n=h.done,!n;g=true){o=h.value;g=false;const e=o;c(e);if(!e.startsWith(`${A}${path.sep}`)){c(`Ignore '${e}' since it is not under GITHUB_WORKSPACE.`);continue}if(fs.statSync(e).isDirectory()){c(`Skip directory '${e}'.`);continue}const t=crypto.createHash("sha256");const r=util.promisify(stream.pipeline);yield r(fs.createReadStream(e),t);u.write(t.digest());d++;if(!l){l=true}}}catch(e){s={error:e}}finally{try{if(!g&&!n&&(i=p.return))yield i.call(p)}finally{if(s)throw s.error}}u.end();if(l){c(`Found ${d} files to hash.`);return u.digest("hex")}else{c(`No matches found for glob`);return""}}))}var uo=undefined&&undefined.__awaiter||function(e,t,r,n){function adopt(e){return e instanceof r?e:new r((function(t){t(e)}))}return new(r||(r=Promise))((function(r,s){function fulfilled(e){try{step(n.next(e))}catch(e){s(e)}}function rejected(e){try{step(n["throw"](e))}catch(e){s(e)}}function step(e){e.done?r(e.value):adopt(e.value).then(fulfilled,rejected)}step((n=n.apply(e,t||[])).next())}))};function create(e,t){return uo(this,void 0,void 0,(function*(){return yield DefaultGlobber.create(e,t)}))}function glob_hashFiles(e){return uo(this,arguments,void 0,(function*(e,t="",r,n=false){let s=true;if(r&&typeof r.followSymbolicLinks==="boolean"){s=r.followSymbolicLinks}const i=yield create(e,{followSymbolicLinks:s});return _hashFiles(i,t,n)}))}var go;(function(e){e["Gzip"]="cache.tgz";e["Zstd"]="cache.tzst"})(go||(go={}));var po;(function(e){e["Gzip"]="gzip";e["ZstdWithoutLong"]="zstd-without-long";e["Zstd"]="zstd"})(po||(po={}));var ho;(function(e){e["GNU"]="gnu";e["BSD"]="bsd"})(ho||(ho={}));const mo=2;const fo=5e3;const Co=5e3;const yo=`${process.env["PROGRAMFILES"]}\\Git\\usr\\bin\\tar.exe`;const Eo=`${process.env["SYSTEMDRIVE"]}\\Windows\\System32\\tar.exe`;const Io="cache.tar";const Bo="manifest.txt";const Qo=10*Math.pow(1024,3);const bo="cache read denied:";var So=undefined&&undefined.__awaiter||function(e,t,r,n){function adopt(e){return e instanceof r?e:new r((function(t){t(e)}))}return new(r||(r=Promise))((function(r,s){function fulfilled(e){try{step(n.next(e))}catch(e){s(e)}}function rejected(e){try{step(n["throw"](e))}catch(e){s(e)}}function step(e){e.done?r(e.value):adopt(e.value).then(fulfilled,rejected)}step((n=n.apply(e,t||[])).next())}))};var wo=undefined&&undefined.__asyncValues||function(e){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var t=e[Symbol.asyncIterator],r;return t?t.call(e):(e=typeof __values==="function"?__values(e):e[Symbol.iterator](),r={},verb("next"),verb("throw"),verb("return"),r[Symbol.asyncIterator]=function(){return this},r);function verb(t){r[t]=e[t]&&function(r){return new Promise((function(n,s){r=e[t](r),settle(n,s,r.done,r.value)}))}}function settle(e,t,r,n){Promise.resolve(n).then((function(t){e({value:t,done:r})}),t)}};const Do="1.0";function createTempDirectory(){return So(this,void 0,void 0,(function*(){const e=process.platform==="win32";let t=process.env["RUNNER_TEMP"]||"";if(!t){let r;if(e){r=process.env["USERPROFILE"]||"C:\\"}else{if(process.platform==="darwin"){r="/Users"}else{r="/home"}}t=o.join(r,"actions","temp")}const r=o.join(t,Ar.randomUUID());yield mkdirP(r);return r}))}function getArchiveFileSizeInBytes(e){return i.statSync(e).size}function resolvePaths(e){return So(this,void 0,void 0,(function*(){var t,r,n,s;var i;const a=[];const c=(i=process.env["GITHUB_WORKSPACE"])!==null&&i!==void 0?i:process.cwd();const l=yield create(e.join("\n"),{implicitDescendants:false});try{for(var A=true,u=wo(l.globGenerator()),d;d=yield u.next(),t=d.done,!t;A=true){s=d.value;A=false;const e=s;const t=o.relative(c,e).replace(new RegExp(`\\${o.sep}`,"g"),"/");core_debug(`Matched: ${t}`);if(t===""){a.push(".")}else{a.push(`${t}`)}}}catch(e){r={error:e}}finally{try{if(!A&&!t&&(n=u.return))yield n.call(u)}finally{if(r)throw r.error}}return a}))}function unlinkFile(e){return So(this,void 0,void 0,(function*(){return Z.promisify(i.unlink)(e)}))}function getVersion(e){return So(this,arguments,void 0,(function*(e,t=[]){let r="";t.push("--version");core_debug(`Checking ${e} ${t.join(" ")}`);try{yield exec_exec(`${e}`,t,{ignoreReturnCode:true,silent:true,listeners:{stdout:e=>r+=e.toString(),stderr:e=>r+=e.toString()}})}catch(e){core_debug(e.message)}r=r.trim();core_debug(r);return r}))}function getCompressionMethod(){return So(this,void 0,void 0,(function*(){const e=yield getVersion("zstd",["--quiet"]);const t=Yi.clean(e);core_debug(`zstd version: ${t}`);if(e===""){return po.Gzip}else{return po.ZstdWithoutLong}}))}function getCacheFileName(e){return e===po.Gzip?go.Gzip:go.Zstd}function getGnuTarPathOnWindows(){return So(this,void 0,void 0,(function*(){if(i.existsSync(yo)){return yo}const e=yield getVersion("tar");return e.toLowerCase().includes("gnu tar")?which("tar"):""}))}function assertDefined(e,t){if(t===undefined){throw Error(`Expected ${e} but value was undefiend`)}return t}function getCacheVersion(e,t,r=false){const n=e.slice();if(t){n.push(t)}if(process.platform==="win32"&&!r){n.push("windows-only")}n.push(Do);return Ar.createHash("sha256").update(n.join("|")).digest("hex")}function getRuntimeToken(){const e=process.env["ACTIONS_RUNTIME_TOKEN"];if(!e){throw new Error("Unable to get the ACTIONS_RUNTIME_TOKEN env variable")}return e}class AbortError extends Error{constructor(e){super(e);this.name="AbortError"}}const No=e(import.meta.url)("node:os");var xo=__nccwpck_require__(7975);const Ro=e(import.meta.url)("node:process");function log(e,...t){Ro.stderr.write(`${xo.format(e,...t)}${No.EOL}`)}function getEnvironmentVariable(e){return Ro.env[e]}function env_emitNodeWarning(e){process.emitWarning(e)}const vo=false;const ko=false;const Fo=typeof Ro.versions.deno==="string"&&Ro.versions.deno.length>0;const To=typeof Ro.versions.bun==="string"&&Ro.versions.bun.length>0;const Mo=true;const Po=!To&&!Fo;const Lo=false;const Uo=getEnvironmentVariable("DEBUG");let Oo;let Ho=[];let _o=[];const qo=[];if(Uo){enable(Uo)}const Go=Object.assign((e=>createDebugger(e)),{enable:enable,enabled:enabled,disable:disable,log:log});function enable(e){Oo=e;Ho=[];_o=[];const t=e.split(",").map((e=>e.trim()));for(const e of t){if(e.startsWith("-")){_o.push(e.substring(1))}else{Ho.push(e)}}for(const e of qo){e.enabled=enabled(e.namespace)}}function enabled(e){if(e.endsWith("*")){return true}for(const t of _o){if(namespaceMatches(e,t)){return false}}for(const t of Ho){if(namespaceMatches(e,t)){return true}}return false}function namespaceMatches(e,t){if(t.indexOf("*")===-1){return e===t}let r=t;if(t.indexOf("**")!==-1){const e=[];let n="";for(const r of t){if(r==="*"&&n==="*"){continue}else{n=r;e.push(r)}}r=e.join("")}let n=0;let s=0;const i=r.length;const o=e.length;let a=-1;let c=-1;while(n<o&&s<i){if(r[s]==="*"){a=s;s++;if(s===i){return true}while(e[n]!==r[s]){n++;if(n===o){return false}}c=n;n++;s++;continue}else if(r[s]===e[n]){s++;n++}else if(a>=0){s=a+1;n=c+1;if(n===o){return false}while(e[n]!==r[s]){n++;if(n===o){return false}}c=n;n++;s++;continue}else{return false}}const l=n===e.length;const A=s===r.length;const u=s===r.length-1&&r[s]==="*";return l&&(A||u)}function disable(){const e=Oo||"";enable("");return e}function createDebugger(e){const t=Object.assign(debug,{enabled:enabled(e),destroy:destroy,log:Go.log,namespace:e,extend:extend});function debug(...r){if(!t.enabled){return}if(r.length>0){r[0]=`${e} ${r[0]}`}t.log(...r)}qo.push(t);return t}function destroy(){const e=qo.indexOf(this);if(e>=0){qo.splice(e,1);return true}return false}function extend(e){const t=createDebugger(`${this.namespace}:${e}`);t.log=this.log;return t}const zo=Go;const Yo=["verbose","info","warning","error"];const Vo={verbose:400,info:300,warning:200,error:100};function patchLogMethod(e,t){t.log=(...t)=>{e.log(...t)}}function isTypeSpecRuntimeLogLevel(e){return Yo.includes(e)}function createLoggerContext(e){const t=new Set;const r=getEnvironmentVariable(e.logLevelEnvVarName);let n;const s=zo(e.namespace);s.log=(...e)=>{zo.log(...e)};function contextSetLogLevel(e){if(e&&!isTypeSpecRuntimeLogLevel(e)){throw new Error(`Unknown log level '${e}'. Acceptable values: ${Yo.join(",")}`)}n=e;const r=[];for(const e of t){if(shouldEnable(e)){r.push(e.namespace)}}zo.enable(r.join(","))}if(r){if(isTypeSpecRuntimeLogLevel(r)){contextSetLogLevel(r)}else{console.error(`${e.logLevelEnvVarName} set to unknown log level '${r}'; logging is not enabled. Acceptable values: ${Yo.join(", ")}.`)}}function shouldEnable(e){return Boolean(n&&Vo[e.level]<=Vo[n])}function createLogger(e,r){const n=Object.assign(e.extend(r),{level:r});patchLogMethod(e,n);if(shouldEnable(n)){const e=zo.disable();zo.enable(e+","+n.namespace)}t.add(n);return n}function contextGetLogLevel(){return n}function contextCreateClientLogger(e){const t=s.extend(e);patchLogMethod(s,t);return{error:createLogger(t,"error"),warning:createLogger(t,"warning"),info:createLogger(t,"info"),verbose:createLogger(t,"verbose")}}return{setLogLevel:contextSetLogLevel,getLogLevel:contextGetLogLevel,createClientLogger:contextCreateClientLogger,logger:s}}const Jo=createLoggerContext({logLevelEnvVarName:"TYPESPEC_RUNTIME_LOG_LEVEL",namespace:"typeSpecRuntime"});const Wo=Jo.logger;function setLogLevel(e){Jo.setLogLevel(e)}function getLogLevel(){return Jo.getLogLevel()}function createClientLogger(e){return Jo.createClientLogger(e)}function normalizeName(e){return e.toLowerCase()}function normalizeValue(e){return String(e).trim().replace(/[\r\n]/g,"")}function*headerIterator(e){for(const t of e.values()){yield[t.name,t.value]}}class HttpHeadersImpl{_headersMap;constructor(e){this._headersMap=new Map;if(e){for(const t of Object.keys(e)){this.set(t,e[t])}}}set(e,t){this._headersMap.set(normalizeName(e),{name:e,value:normalizeValue(t)})}get(e){return this._headersMap.get(normalizeName(e))?.value}has(e){return this._headersMap.has(normalizeName(e))}delete(e){this._headersMap.delete(normalizeName(e))}toJSON(e={}){const t={};if(e.preserveCase){for(const e of this._headersMap.values()){t[e.name]=e.value}}else{for(const[e,r]of this._headersMap){t[e]=r.value}}return t}toString(){return JSON.stringify(this.toJSON({preserveCase:true}))}[Symbol.iterator](){return headerIterator(this._headersMap)}}function httpHeaders_createHttpHeaders(e){return new HttpHeadersImpl(e)}function randomUUID(){return globalThis.crypto.randomUUID()}class PipelineRequestImpl{url;method;headers;timeout;withCredentials;body;multipartBody;formData;streamResponseStatusCodes;enableBrowserStreams;proxySettings;disableKeepAlive;abortSignal;requestId;allowInsecureConnection;onUploadProgress;onDownloadProgress;requestOverrides;authSchemes;constructor(e){this.url=e.url;this.body=e.body;this.headers=e.headers??httpHeaders_createHttpHeaders();this.method=e.method??"GET";this.timeout=e.timeout??0;this.multipartBody=e.multipartBody;this.formData=e.formData;this.disableKeepAlive=e.disableKeepAlive??false;this.proxySettings=e.proxySettings;this.streamResponseStatusCodes=e.streamResponseStatusCodes;this.withCredentials=e.withCredentials??false;this.abortSignal=e.abortSignal;this.onUploadProgress=e.onUploadProgress;this.onDownloadProgress=e.onDownloadProgress;this.requestId=e.requestId||randomUUID();this.allowInsecureConnection=e.allowInsecureConnection??false;this.enableBrowserStreams=e.enableBrowserStreams??false;this.requestOverrides=e.requestOverrides;this.authSchemes=e.authSchemes}}function pipelineRequest_createPipelineRequest(e){return new PipelineRequestImpl(e)}const jo=new Set(["Deserialize","Serialize","Retry","Sign"]);class HttpPipeline{_policies=[];_orderedPolicies;constructor(e){this._policies=e?.slice(0)??[];this._orderedPolicies=undefined}addPolicy(e,t={}){if(t.phase&&t.afterPhase){throw new Error("Policies inside a phase cannot specify afterPhase.")}if(t.phase&&!jo.has(t.phase)){throw new Error(`Invalid phase name: ${t.phase}`)}if(t.afterPhase&&!jo.has(t.afterPhase)){throw new Error(`Invalid afterPhase name: ${t.afterPhase}`)}this._policies.push({policy:e,options:t});this._orderedPolicies=undefined}removePolicy(e){const t=[];this._policies=this._policies.filter((r=>{if(e.name&&r.policy.name===e.name||e.phase&&r.options.phase===e.phase){t.push(r.policy);return false}else{return true}}));this._orderedPolicies=undefined;return t}sendRequest(e,t){const r=this.getOrderedPolicies();const n=r.reduceRight(((e,t)=>r=>t.sendRequest(r,e)),(t=>e.sendRequest(t)));return n(t)}getOrderedPolicies(){if(!this._orderedPolicies){this._orderedPolicies=this.orderPolicies()}return this._orderedPolicies}clone(){return new HttpPipeline(this._policies)}static create(){return new HttpPipeline}orderPolicies(){const e=[];const t=new Map;function createPhase(e){return{name:e,policies:new Set,hasRun:false,hasAfterPolicies:false}}const r=createPhase("Serialize");const n=createPhase("None");const s=createPhase("Deserialize");const i=createPhase("Retry");const o=createPhase("Sign");const a=[r,n,s,i,o];function getPhase(e){if(e==="Retry"){return i}else if(e==="Serialize"){return r}else if(e==="Deserialize"){return s}else if(e==="Sign"){return o}else{return n}}for(const e of this._policies){const r=e.policy;const n=e.options;const s=r.name;if(t.has(s)){throw new Error("Duplicate policy names not allowed in pipeline")}const i={policy:r,dependsOn:new Set,dependants:new Set};if(n.afterPhase){i.afterPhase=getPhase(n.afterPhase);i.afterPhase.hasAfterPolicies=true}t.set(s,i);const o=getPhase(n.phase);o.policies.add(i)}for(const e of this._policies){const{policy:r,options:n}=e;const s=r.name;const i=t.get(s);if(!i){throw new Error(`Missing node for policy ${s}`)}if(n.afterPolicies){for(const e of n.afterPolicies){const r=t.get(e);if(r){i.dependsOn.add(r);r.dependants.add(i)}}}if(n.beforePolicies){for(const e of n.beforePolicies){const r=t.get(e);if(r){r.dependsOn.add(i);i.dependants.add(r)}}}}function walkPhase(r){r.hasRun=true;for(const n of r.policies){if(n.afterPhase&&(!n.afterPhase.hasRun||n.afterPhase.policies.size)){continue}if(n.dependsOn.size===0){e.push(n.policy);for(const e of n.dependants){e.dependsOn.delete(n)}t.delete(n.policy.name);r.policies.delete(n)}}}function walkPhases(){for(const e of a){walkPhase(e);if(e.policies.size>0&&e!==n){if(!n.hasRun){walkPhase(n)}return}if(e.hasAfterPolicies){walkPhase(n)}}}let c=0;while(t.size>0){c++;const t=e.length;walkPhases();if(e.length<=t&&c>1){throw new Error("Cannot satisfy policy dependencies due to requirements cycle.")}}return e}}function pipeline_createEmptyPipeline(){return HttpPipeline.create()}function isObject(e){return typeof e==="object"&&e!==null&&!Array.isArray(e)&&!(e instanceof RegExp)&&!(e instanceof Date)}function isError(e){if(isObject(e)){const t=typeof e.name==="string";const r=typeof e.message==="string";return t&&r}return false}const Ko=xo.inspect.custom;const $o="REDACTED";const Xo=["x-ms-client-request-id","x-ms-return-client-request-id","x-ms-useragent","x-ms-correlation-request-id","x-ms-request-id","client-request-id","ms-cv","return-client-request-id","traceparent","Access-Control-Allow-Credentials","Access-Control-Allow-Headers","Access-Control-Allow-Methods","Access-Control-Allow-Origin","Access-Control-Expose-Headers","Access-Control-Max-Age","Access-Control-Request-Headers","Access-Control-Request-Method","Origin","Accept","Accept-Encoding","Cache-Control","Connection","Content-Length","Content-Type","Date","ETag","Expires","If-Match","If-Modified-Since","If-None-Match","If-Unmodified-Since","Last-Modified","Pragma","Request-Id","Retry-After","Server","Transfer-Encoding","User-Agent","WWW-Authenticate"];const Zo=["api-version"];class Sanitizer{allowedHeaderNames;allowedQueryParameters;constructor({additionalAllowedHeaderNames:e=[],additionalAllowedQueryParameters:t=[]}={}){e=Xo.concat(e);t=Zo.concat(t);this.allowedHeaderNames=new Set(e.map((e=>e.toLowerCase())));this.allowedQueryParameters=new Set(t.map((e=>e.toLowerCase())))}sanitize(e){const t=new Set;return JSON.stringify(e,((e,r)=>{if(r instanceof Error){return{...r,name:r.name,message:r.message}}if(e==="headers"&&isObject(r)){return this.sanitizeHeaders(r)}else if(e==="url"&&typeof r==="string"){return this.sanitizeUrl(r)}else if(e==="query"&&isObject(r)){return this.sanitizeQuery(r)}else if(e==="body"){return undefined}else if(e==="response"){return undefined}else if(e==="operationSpec"){return undefined}else if(Array.isArray(r)||isObject(r)){if(t.has(r)){return"[Circular]"}t.add(r)}return r}),2)}sanitizeUrl(e){if(typeof e!=="string"||e===null||e===""){return e}const t=new URL(e);if(!t.search){return e}for(const[e]of t.searchParams){if(!this.allowedQueryParameters.has(e.toLowerCase())){t.searchParams.set(e,$o)}}return t.toString()}sanitizeHeaders(e){const t={};for(const r of Object.keys(e)){if(this.allowedHeaderNames.has(r.toLowerCase())){t[r]=e[r]}else{t[r]=$o}}return t}sanitizeQuery(e){if(typeof e!=="object"||e===null){return e}const t={};for(const r of Object.keys(e)){if(this.allowedQueryParameters.has(r.toLowerCase())){t[r]=e[r]}else{t[r]=$o}}return t}}const ea=new Sanitizer;class restError_RestError extends Error{static REQUEST_SEND_ERROR="REQUEST_SEND_ERROR";static PARSE_ERROR="PARSE_ERROR";code;statusCode;request;response;details;constructor(e,t={}){super(e);this.name="RestError";this.code=t.code;this.statusCode=t.statusCode;Object.defineProperty(this,"request",{value:t.request,enumerable:false});Object.defineProperty(this,"response",{value:t.response,enumerable:false});const r=this.request?.agent?{maxFreeSockets:this.request.agent.maxFreeSockets,maxSockets:this.request.agent.maxSockets}:undefined;Object.defineProperty(this,Ko,{value:()=>`RestError: ${this.message} \n ${ea.sanitize({...this,request:{...this.request,agent:r},response:this.response})}`,enumerable:false});Object.setPrototypeOf(this,restError_RestError.prototype)}}function restError_isRestError(e){if(e instanceof restError_RestError){return true}return isError(e)&&e.name==="RestError"}var ta=__nccwpck_require__(7067);const ra=e(import.meta.url)("node:https");var na=__nccwpck_require__(8522);var sa=__nccwpck_require__(7075);const ia=createClientLogger("ts-http-runtime");const oa={};function nodeHttpClient_isReadableStream(e){return e&&typeof e.pipe==="function"}function isStreamComplete(e){if(e.readable===false){return Promise.resolve()}return new Promise((t=>{const handler=()=>{t();e.removeListener("close",handler);e.removeListener("end",handler);e.removeListener("error",handler)};e.on("close",handler);e.on("end",handler);e.on("error",handler)}))}function isArrayBuffer(e){return e&&typeof e.byteLength==="number"}class ReportTransform extends sa.Transform{loadedBytes=0;progressCallback;_transform(e,t,r){this.push(e);this.loadedBytes+=e.length;try{this.progressCallback({loadedBytes:this.loadedBytes});r()}catch(e){r(e)}}constructor(e){super();this.progressCallback=e}}class NodeHttpClient{cachedHttpAgent;cachedHttpsAgents=new WeakMap;async sendRequest(e){const t=new AbortController;let r;if(e.abortSignal){if(e.abortSignal.aborted){throw new AbortError("The operation was aborted. Request has already been canceled.")}r=e=>{if(e.type==="abort"){t.abort()}};e.abortSignal.addEventListener("abort",r)}let n;if(e.timeout>0){n=setTimeout((()=>{const r=new Sanitizer;ia.info(`request to '${r.sanitizeUrl(e.url)}' timed out. canceling...`);t.abort()}),e.timeout)}const s=e.headers.get("Accept-Encoding");const i=s?.includes("gzip")||s?.includes("deflate");let o=typeof e.body==="function"?e.body():e.body;if(o&&!e.headers.has("Content-Length")){const t=getBodyLength(o);if(t!==null){e.headers.set("Content-Length",t)}}let a;try{if(o&&e.onUploadProgress){const t=e.onUploadProgress;const r=new ReportTransform(t);r.on("error",(e=>{ia.error("Error in upload progress",e)}));if(nodeHttpClient_isReadableStream(o)){o.pipe(r)}else{r.end(o)}o=r}const r=await this.makeRequest(e,t,o);if(n!==undefined){clearTimeout(n)}const s=getResponseHeaders(r);const c=r.statusCode??0;const l={status:c,headers:s,request:e};if(e.method==="HEAD"){r.resume();return l}a=i?getDecodedResponseStream(r,s):r;const A=e.onDownloadProgress;if(A){const e=new ReportTransform(A);e.on("error",(e=>{ia.error("Error in download progress",e)}));a.pipe(e);a=e}if(e.streamResponseStatusCodes?.has(Number.POSITIVE_INFINITY)||e.streamResponseStatusCodes?.has(l.status)){l.readableStreamBody=a}else{l.bodyAsText=await streamToText(a)}return l}finally{if(e.abortSignal&&r){let t=Promise.resolve();if(nodeHttpClient_isReadableStream(o)){t=isStreamComplete(o)}let n=Promise.resolve();if(nodeHttpClient_isReadableStream(a)){n=isStreamComplete(a)}Promise.all([t,n]).then((()=>{if(r){e.abortSignal?.removeEventListener("abort",r)}})).catch((e=>{ia.warning("Error when cleaning up abortListener on httpRequest",e)}))}}}makeRequest(e,t,r){const n=new URL(e.url);const s=n.protocol!=="https:";if(s&&!e.allowInsecureConnection){throw new Error(`Cannot connect to ${e.url} while allowInsecureConnection is false.`)}const i=e.agent??this.getOrCreateAgent(e,s);const o={agent:i,hostname:n.hostname,path:`${n.pathname}${n.search}`,port:n.port,method:e.method,headers:e.headers.toJSON({preserveCase:true}),...e.requestOverrides};return new Promise(((n,i)=>{const a=s?ta.request(o,n):ra.request(o,n);a.once("error",(t=>{i(new restError_RestError(t.message,{code:t.code??restError_RestError.REQUEST_SEND_ERROR,request:e}))}));t.signal.addEventListener("abort",(()=>{const e=new AbortError("The operation was aborted. Rejecting from abort signal callback while making request.");a.destroy(e);i(e)}));if(r&&nodeHttpClient_isReadableStream(r)){r.pipe(a)}else if(r){if(typeof r==="string"||Buffer.isBuffer(r)){a.end(r)}else if(isArrayBuffer(r)){a.end(ArrayBuffer.isView(r)?Buffer.from(r.buffer,r.byteOffset,r.byteLength):Buffer.from(r))}else{ia.error("Unrecognized body type",r);i(new restError_RestError("Unrecognized body type"))}}else{a.end()}}))}getOrCreateAgent(e,t){const r=e.disableKeepAlive;if(t){if(r){return ta.globalAgent}if(!this.cachedHttpAgent){this.cachedHttpAgent=new ta.Agent({keepAlive:true})}return this.cachedHttpAgent}else{if(r&&!e.tlsSettings){return ra.globalAgent}const t=e.tlsSettings??oa;let n=this.cachedHttpsAgents.get(t);if(n&&n.options.keepAlive===!r){return n}ia.info("No cached TLS Agent exist, creating a new Agent");n=new ra.Agent({keepAlive:!r,...t});this.cachedHttpsAgents.set(t,n);return n}}}function getResponseHeaders(e){const t=httpHeaders_createHttpHeaders();for(const r of Object.keys(e.headers)){const n=e.headers[r];if(Array.isArray(n)){if(n.length>0){t.set(r,n[0])}}else if(n){t.set(r,n)}}return t}function getDecodedResponseStream(e,t){const r=t.get("Content-Encoding");if(r==="gzip"){const t=na.createGunzip();e.pipe(t);return t}else if(r==="deflate"){const t=na.createInflate();e.pipe(t);return t}return e}function streamToText(e){return new Promise(((t,r)=>{const n=[];e.on("data",(e=>{if(Buffer.isBuffer(e)){n.push(e)}else{n.push(Buffer.from(e))}}));e.on("end",(()=>{t(Buffer.concat(n).toString("utf8"))}));e.on("error",(e=>{if(e&&e?.name==="AbortError"){r(e)}else{r(new restError_RestError(`Error reading response as text: ${e.message}`,{code:restError_RestError.PARSE_ERROR}))}}))}))}function getBodyLength(e){if(!e){return 0}else if(Buffer.isBuffer(e)){return e.length}else if(nodeHttpClient_isReadableStream(e)){return null}else if(isArrayBuffer(e)){return e.byteLength}else if(typeof e==="string"){return Buffer.from(e).length}else{return null}}function createNodeHttpClient(){return new NodeHttpClient}function defaultHttpClient_createDefaultHttpClient(){return createNodeHttpClient()}const aa="logPolicy";function logPolicy_logPolicy(e={}){const t=e.logger??ia.info;const r=new Sanitizer({additionalAllowedHeaderNames:e.additionalAllowedHeaderNames,additionalAllowedQueryParameters:e.additionalAllowedQueryParameters});return{name:aa,async sendRequest(e,n){if(!t.enabled){return n(e)}t(`Request: ${r.sanitize(e)}`);const s=await n(e);t(`Response status code: ${s.status}`);t(`Headers: ${r.sanitize({headers:s.headers})}`);return s}}}function getHeaderName(){return"User-Agent"}async function userAgentPlatform_setPlatformSpecificData(e){if(process&&process.versions){const t=`${os.type()} ${os.release()}; ${os.arch()}`;if(process.versions.bun){e.set("Bun",`${process.versions.bun} (${t})`)}else if(process.versions.deno){e.set("Deno",`${process.versions.deno} (${t})`)}else if(process.versions.node){e.set("Node",`${process.versions.node} (${t})`)}}}function getUserAgentString(e){const t=[];for(const[r,n]of e){const e=n?`${r}/${n}`:r;t.push(e)}return t.join(" ")}function getUserAgentHeaderName(){return getHeaderName()}async function userAgent_getUserAgentValue(e){const t=new Map;t.set("ts-http-runtime",SDK_VERSION);await setPlatformSpecificData(t);const r=getUserAgentString(t);const n=e?`${e} ${r}`:r;return n}const ca=getUserAgentHeaderName();const la="userAgentPolicy";function userAgentPolicy_userAgentPolicy(e={}){const t=getUserAgentValue(e.userAgentPrefix);return{name:la,async sendRequest(e,r){if(!e.headers.has(ca)){e.headers.set(ca,await t)}return r(e)}}}function getRandomIntegerInclusive(e,t){e=Math.ceil(e);t=Math.floor(t);const r=Math.floor(Math.random()*(t-e+1));return r+e}function calculateRetryDelay(e,t){const r=t.retryDelayInMs*Math.pow(2,e);const n=Math.min(t.maxRetryDelayInMs,r);const s=n/2+getRandomIntegerInclusive(0,n/2);return{retryAfterInMs:s}}const Aa="The operation was aborted.";function helpers_delay(e,t,r){return new Promise(((n,s)=>{let i=undefined;let o=undefined;const rejectOnAbort=()=>s(new AbortError(r?.abortErrorMsg?r?.abortErrorMsg:Aa));const removeListeners=()=>{if(r?.abortSignal&&o){r.abortSignal.removeEventListener("abort",o)}};o=()=>{if(i){clearTimeout(i)}removeListeners();return rejectOnAbort()};if(r?.abortSignal&&r.abortSignal.aborted){return rejectOnAbort()}i=setTimeout((()=>{removeListeners();n(t)}),e);if(r?.abortSignal){r.abortSignal.addEventListener("abort",o)}}))}function parseHeaderValueAsNumber(e,t){const r=e.headers.get(t);if(!r)return;const n=Number(r);if(Number.isNaN(n))return;return n}const ua="Retry-After";const da=["retry-after-ms","x-ms-retry-after-ms",ua];function getRetryAfterInMs(e){if(!(e&&[429,503].includes(e.status)))return undefined;try{for(const t of da){const r=parseHeaderValueAsNumber(e,t);if(r===0||r){const e=t===ua?1e3:1;return r*e}}const t=e.headers.get(ua);if(!t)return;const r=Date.parse(t);const n=r-Date.now();return Number.isFinite(n)?Math.max(0,n):undefined}catch{return undefined}}function isThrottlingRetryResponse(e){return Number.isFinite(getRetryAfterInMs(e))}function throttlingRetryStrategy_throttlingRetryStrategy(){return{name:"throttlingRetryStrategy",retry({response:e}){const t=getRetryAfterInMs(e);if(!Number.isFinite(t)){return{skipStrategy:true}}return{retryAfterInMs:t}}}}const ga=1e3;const pa=1e3*64;function exponentialRetryStrategy_exponentialRetryStrategy(e={}){const t=e.retryDelayInMs??ga;const r=e.maxRetryDelayInMs??pa;return{name:"exponentialRetryStrategy",retry({retryCount:n,response:s,responseError:i}){const o=isSystemError(i);const a=o&&e.ignoreSystemErrors;const c=isExponentialRetryResponse(s);const l=c&&e.ignoreHttpStatusCodes;const A=s&&(isThrottlingRetryResponse(s)||!c);if(A||l||a){return{skipStrategy:true}}if(i&&!o&&!c){return{errorToThrow:i}}return calculateRetryDelay(n,{retryDelayInMs:t,maxRetryDelayInMs:r})}}}function isExponentialRetryResponse(e){return Boolean(e&&e.status!==undefined&&(e.status>=500||e.status===408)&&e.status!==501&&e.status!==505)}function isSystemError(e){if(!e){return false}return e.code==="ETIMEDOUT"||e.code==="ESOCKETTIMEDOUT"||e.code==="ECONNREFUSED"||e.code==="ECONNRESET"||e.code==="ENOENT"||e.code==="ENOTFOUND"}const ha="0.3.8";const ma=3;const fa=createClientLogger("ts-http-runtime retryPolicy");const Ca="retryPolicy";function retryPolicy_retryPolicy(e,t={maxRetries:ma}){const r=t.logger||fa;return{name:Ca,async sendRequest(n,s){let i;let o;let a=-1;e:while(true){a+=1;i=undefined;o=undefined;try{r.info(`Retry ${a}: Attempting to send request`,n.requestId);i=await s(n);r.info(`Retry ${a}: Received a response from request`,n.requestId)}catch(e){r.error(`Retry ${a}: Received an error from request`,n.requestId);if(!restError_isRestError(e)){throw e}o=e;i=e.response}if(n.abortSignal?.aborted){r.error(`Retry ${a}: Request aborted.`);const e=new AbortError;throw e}if(a>=(t.maxRetries??ma)){r.info(`Retry ${a}: Maximum retries reached. Returning the last received response, or throwing the last received error.`);if(o){throw o}else if(i){return i}else{throw new Error("Maximum retries reached with no response or error to throw")}}r.info(`Retry ${a}: Processing ${e.length} retry strategies.`);t:for(const t of e){const e=t.logger||r;e.info(`Retry ${a}: Processing retry strategy ${t.name}.`);const s=t.retry({retryCount:a,response:i,responseError:o});if(s.skipStrategy){e.info(`Retry ${a}: Skipped.`);continue t}const{errorToThrow:c,retryAfterInMs:l,redirectTo:A}=s;if(c){e.error(`Retry ${a}: Retry strategy ${t.name} throws error:`,c);throw c}if(l||l===0){e.info(`Retry ${a}: Retry strategy ${t.name} retries after ${l}`);await helpers_delay(l,undefined,{abortSignal:n.abortSignal});continue e}if(A){e.info(`Retry ${a}: Retry strategy ${t.name} redirects to ${A}`);n.url=A;continue e}}if(o){r.info(`None of the retry strategies could work with the received error. Throwing it.`);throw o}if(i){r.info(`None of the retry strategies could work with the received response. Returning it.`);return i}}}}}const ya="defaultRetryPolicy";function defaultRetryPolicy_defaultRetryPolicy(e={}){return{name:ya,sendRequest:retryPolicy_retryPolicy([throttlingRetryStrategy_throttlingRetryStrategy(),exponentialRetryStrategy_exponentialRetryStrategy(e)],{maxRetries:e.maxRetries??ma}).sendRequest}}function bytesEncoding_uint8ArrayToString(e,t){return Buffer.from(e).toString(t)}function bytesEncoding_stringToUint8Array(e,t){return Buffer.from(e,t)}function convertBodyToFormDataMap(e){if(typeof FormData!=="undefined"&&e instanceof FormData){const t={};for(const[r,n]of e.entries()){const e=t[r];if(Array.isArray(e)){e.push(n)}else{t[r]=e!==undefined?[e,n]:[n]}}return t}return undefined}const Ea="formDataPolicy";function formDataPolicy_formDataPolicy(){return{name:Ea,async sendRequest(e,t){const r=convertBodyToFormDataMap(e.body);if(r){e.formData=r;e.body=undefined}if(e.formData){const t=e.headers.get("Content-Type");if(t&&t.indexOf("application/x-www-form-urlencoded")!==-1){e.body=wwwFormUrlEncode(e.formData)}else{await prepareFormData(e.formData,e)}e.formData=undefined}return t(e)}}}function wwwFormUrlEncode(e){const t=new URLSearchParams;for(const[r,n]of Object.entries(e)){if(Array.isArray(n)){for(const e of n){t.append(r,e.toString())}}else{t.append(r,n.toString())}}return t.toString()}async function prepareFormData(e,t){const r=t.headers.get("Content-Type");if(r&&!r.startsWith("multipart/form-data")){return}t.headers.set("Content-Type",r??"multipart/form-data");const n=[];for(const[t,r]of Object.entries(e)){for(const e of Array.isArray(r)?r:[r]){if(typeof e==="string"){n.push({headers:httpHeaders_createHttpHeaders({"Content-Disposition":`form-data; name="${t}"`}),body:bytesEncoding_stringToUint8Array(e,"utf-8")})}else if(e===undefined||e===null||typeof e!=="object"){throw new Error(`Unexpected value for key ${t}: ${e}. Value should be serialized to string first.`)}else{const r=e.name||"blob";const s=httpHeaders_createHttpHeaders();s.set("Content-Disposition",`form-data; name="${t}"; filename="${r}"`);s.set("Content-Type",e.type||"application/octet-stream");n.push({headers:s,body:e})}}}t.multipartBody={parts:n}}var Ia=__nccwpck_require__(3669);var Ba=__nccwpck_require__(1970);const Qa="HTTPS_PROXY";const ba="HTTP_PROXY";const Sa="ALL_PROXY";const wa="NO_PROXY";const Da="proxyPolicy";const Na=[];let xa=false;const Ra=new Map;function getEnvironmentValue(e){if(process.env[e]){return process.env[e]}else if(process.env[e.toLowerCase()]){return process.env[e.toLowerCase()]}return undefined}function loadEnvironmentProxyValue(){if(!process){return undefined}const e=getEnvironmentValue(Qa);const t=getEnvironmentValue(Sa);const r=getEnvironmentValue(ba);return e||t||r}function isBypassed(e,t,r){if(t.length===0){return false}const n=new URL(e).hostname;if(r?.has(n)){return r.get(n)}let s=false;for(const e of t){if(e[0]==="."){if(n.endsWith(e)){s=true}else{if(n.length===e.length-1&&n===e.slice(1)){s=true}}}else{if(n===e){s=true}}}r?.set(n,s);return s}function loadNoProxy(){const e=getEnvironmentValue(wa);xa=true;if(e){return e.split(",").map((e=>e.trim())).filter((e=>e.length))}return[]}function getDefaultProxySettings(e){if(!e){e=loadEnvironmentProxyValue();if(!e){return undefined}}const t=new URL(e);const r=t.protocol?t.protocol+"//":"";return{host:r+t.hostname,port:Number.parseInt(t.port||"80"),username:t.username,password:t.password}}function getDefaultProxySettingsInternal(){const e=loadEnvironmentProxyValue();return e?new URL(e):undefined}function getUrlFromProxySettings(e){let t;try{t=new URL(e.host)}catch{throw new Error(`Expecting a valid host string in proxy settings, but found "${e.host}".`)}t.port=String(e.port);if(e.username){t.username=e.username}if(e.password){t.password=e.password}return t}function setProxyAgentOnRequest(e,t,r){if(e.agent){return}const n=new URL(e.url);const s=n.protocol!=="https:";if(e.tlsSettings){ia.warning("TLS settings are not supported in combination with custom Proxy, certificates provided to the client will be ignored.")}if(s){if(!t.httpProxyAgent){t.httpProxyAgent=new Ba.HttpProxyAgent(r)}e.agent=t.httpProxyAgent}else{if(!t.httpsProxyAgent){t.httpsProxyAgent=new Ia.HttpsProxyAgent(r)}e.agent=t.httpsProxyAgent}}function proxyPolicy_proxyPolicy(e,t){if(!xa){Na.push(...loadNoProxy())}const r=e?getUrlFromProxySettings(e):getDefaultProxySettingsInternal();const n={};return{name:Da,async sendRequest(e,s){if(!e.proxySettings&&r&&!isBypassed(e.url,t?.customNoProxyList??Na,t?.customNoProxyList?undefined:Ra)){setProxyAgentOnRequest(e,n,r)}else if(e.proxySettings){setProxyAgentOnRequest(e,n,getUrlFromProxySettings(e.proxySettings))}return s(e)}}}const va="redirectPolicy";const ka=["GET","HEAD"];function redirectPolicy_redirectPolicy(e={}){const{maxRetries:t=20,allowCrossOriginRedirects:r=false}=e;return{name:va,async sendRequest(e,n){const s=await n(e);return handleRedirect(n,s,t,r)}}}async function handleRedirect(e,t,r,n,s=0){const{request:i,status:o,headers:a}=t;const c=a.get("location");if(c&&(o===300||o===301&&ka.includes(i.method)||o===302&&ka.includes(i.method)||o===303&&i.method==="POST"||o===307)&&s<r){const a=new URL(c,i.url);if(!n){const e=new URL(i.url);if(a.origin!==e.origin){ia.verbose(`Skipping cross-origin redirect from ${e.origin} to ${a.origin}.`);return t}}i.url=a.toString();if(o===303){i.method="GET";i.headers.delete("Content-Length");delete i.body}i.headers.delete("Authorization");const l=await e(i);return handleRedirect(e,l,r,n,s+1)}return t}function platformPolicies_addPlatformPolicies(e,t){if(t.agent){e.addPolicy(agentPolicy(t.agent))}if(t.tlsOptions){e.addPolicy(tlsPolicy(t.tlsOptions))}e.addPolicy(proxyPolicy(t.proxyOptions));e.addPolicy(decompressResponsePolicy());e.addPolicy(redirectPolicy(t.redirectOptions),{afterPhase:"Retry"})}function typeGuards_node_isNodeReadableStream(e){return e instanceof Readable}function typeGuards_node_isWebReadableStream(e){return e instanceof ReadableStream}function typeGuards_isBinaryBody(e){return e!==undefined&&(e instanceof Uint8Array||typeGuards_isReadableStream(e)||typeof e==="function"||e instanceof Blob)}function typeGuards_isReadableStream(e){return isNodeReadableStream(e)||isWebReadableStream(e)}function typeGuards_isBlob(e){return e instanceof Blob}async function*streamAsyncIterator(){const e=this.getReader();try{while(true){const{done:t,value:r}=await e.read();if(t){return}yield r}}finally{e.releaseLock()}}function makeAsyncIterable(e){if(!e[Symbol.asyncIterator]){e[Symbol.asyncIterator]=streamAsyncIterator.bind(e)}if(!e.values){e.values=streamAsyncIterator.bind(e)}}function ensureNodeStream(e){if(e instanceof ReadableStream){makeAsyncIterable(e);return co.Readable.fromWeb(e)}else{return e}}function toStream(e){if(e instanceof Uint8Array){return co.Readable.from(Buffer.from(e))}else if(typeGuards_isBlob(e)){return ensureNodeStream(e.stream())}else{return ensureNodeStream(e)}}async function concat(e){return function(){const t=e.map((e=>typeof e==="function"?e():e)).map(toStream);return co.Readable.from(async function*(){for(const e of t){for await(const t of e){yield t}}}())}}function generateBoundary(){return`----AzSDKFormBoundary${randomUUID()}`}function encodeHeaders(e){let t="";for(const[r,n]of e){t+=`${r}: ${n}\r\n`}return t}function getLength(e){if(e instanceof Uint8Array){return e.byteLength}else if(typeGuards_isBlob(e)){return e.size===-1?undefined:e.size}else{return undefined}}function getTotalLength(e){let t=0;for(const r of e){const e=getLength(r);if(e===undefined){return undefined}else{t+=e}}return t}async function buildRequestBody(e,t,r){const n=[bytesEncoding_stringToUint8Array(`--${r}`,"utf-8"),...t.flatMap((e=>[bytesEncoding_stringToUint8Array("\r\n","utf-8"),bytesEncoding_stringToUint8Array(encodeHeaders(e.headers),"utf-8"),bytesEncoding_stringToUint8Array("\r\n","utf-8"),e.body,bytesEncoding_stringToUint8Array(`\r\n--${r}`,"utf-8")])),bytesEncoding_stringToUint8Array("--\r\n\r\n","utf-8")];const s=getTotalLength(n);if(s){e.headers.set("Content-Length",s)}e.body=await concat(n)}const Fa="multipartPolicy";const Ta=70;const Ma=new Set(`abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789'()+,-./:=?`);function assertValidBoundary(e){if(e.length>Ta){throw new Error(`Multipart boundary "${e}" exceeds maximum length of 70 characters`)}if(Array.from(e).some((e=>!Ma.has(e)))){throw new Error(`Multipart boundary "${e}" contains invalid characters`)}}function multipartPolicy_multipartPolicy(){return{name:Fa,async sendRequest(e,t){if(!e.multipartBody){return t(e)}if(e.body){throw new Error("multipartBody and regular body cannot be set at the same time")}let r=e.multipartBody.boundary;const n=e.headers.get("Content-Type")??"multipart/mixed";const s=n.match(/^(multipart\/[^ ;]+)(?:; *boundary=(.+))?$/);if(!s){throw new Error(`Got multipart request body, but content-type header was not multipart: ${n}`)}const[,i,o]=s;if(o&&r&&o!==r){throw new Error(`Multipart boundary was specified as ${o} in the header, but got ${r} in the request body`)}r??=o;if(r){assertValidBoundary(r)}else{r=generateBoundary()}e.headers.set("Content-Type",`${i}; boundary=${r}`);await buildRequestBody(e,e.multipartBody.parts,r);e.multipartBody=undefined;return t(e)}}}function createPipelineFromOptions_createPipelineFromOptions(e){const t=createEmptyPipeline();addPlatformPolicies(t,e);t.addPolicy(formDataPolicy(),{beforePolicies:[multipartPolicyName]});t.addPolicy(userAgentPolicy(e.userAgentOptions));t.addPolicy(multipartPolicy(),{afterPhase:"Deserialize"});t.addPolicy(defaultRetryPolicy(e.retryOptions),{phase:"Retry"});t.addPolicy(logPolicy(e.loggingOptions),{afterPhase:"Sign"});return t}let Pa=false;function allowInsecureConnection(e,t){if(t.allowInsecureConnection&&e.allowInsecureConnection){const t=new URL(e.url);if(t.hostname==="localhost"||t.hostname==="127.0.0.1"){return true}}return false}function emitInsecureConnectionWarning(){const e="Sending token over insecure transport. Assume any token issued is compromised.";logger.warning(e);if(!Pa){Pa=true;emitNodeWarning(e)}}function checkInsecureConnection_ensureSecureConnection(e,t){if(!e.url.toLowerCase().startsWith("https://")){if(allowInsecureConnection(e,t)){emitInsecureConnectionWarning()}else{throw new Error("Authentication is not permitted for non-TLS protected (non-https) URLs when allowInsecureConnection is false.")}}}const La="apiKeyAuthenticationPolicy";function apiKeyAuthenticationPolicy_apiKeyAuthenticationPolicy(e){return{name:La,async sendRequest(t,r){ensureSecureConnection(t,e);const n=(t.authSchemes??e.authSchemes)?.find((e=>e.kind==="apiKey"));if(!n){return r(t)}if(n.apiKeyLocation!=="header"){throw new Error(`Unsupported API key location: ${n.apiKeyLocation}`)}t.headers.set(n.name,e.credential.key);return r(t)}}}const Ua="bearerAuthenticationPolicy";function basicAuthenticationPolicy_basicAuthenticationPolicy(e){return{name:Ua,async sendRequest(t,r){ensureSecureConnection(t,e);const n=(t.authSchemes??e.authSchemes)?.find((e=>e.kind==="http"&&e.scheme==="basic"));if(!n){return r(t)}const{username:s,password:i}=e.credential;const o=uint8ArrayToString(stringToUint8Array(`${s}:${i}`,"utf-8"),"base64");t.headers.set("Authorization",`Basic ${o}`);return r(t)}}}const Oa="bearerAuthenticationPolicy";function bearerAuthenticationPolicy_bearerAuthenticationPolicy(e){return{name:Oa,async sendRequest(t,r){ensureSecureConnection(t,e);const n=(t.authSchemes??e.authSchemes)?.find((e=>e.kind==="http"&&e.scheme==="bearer"));if(!n){return r(t)}const s=await e.credential.getBearerToken({abortSignal:t.abortSignal});t.headers.set("Authorization",`Bearer ${s}`);return r(t)}}}const Ha="oauth2AuthenticationPolicy";function oauth2AuthenticationPolicy_oauth2AuthenticationPolicy(e){return{name:Ha,async sendRequest(t,r){ensureSecureConnection(t,e);const n=(t.authSchemes??e.authSchemes)?.find((e=>e.kind==="oauth2"));if(!n){return r(t)}const s=await e.credential.getOAuth2Token(n.flows,{abortSignal:t.abortSignal});t.headers.set("Authorization",`Bearer ${s}`);return r(t)}}}let _a;function clientHelpers_createDefaultPipeline(e={}){const t=createPipelineFromOptions(e);t.addPolicy(apiVersionPolicy(e));const{credential:r,authSchemes:n,allowInsecureConnection:s}=e;if(r){if(isApiKeyCredential(r)){t.addPolicy(apiKeyAuthenticationPolicy({authSchemes:n,credential:r,allowInsecureConnection:s}))}else if(isBasicCredential(r)){t.addPolicy(basicAuthenticationPolicy({authSchemes:n,credential:r,allowInsecureConnection:s}))}else if(isBearerTokenCredential(r)){t.addPolicy(bearerAuthenticationPolicy({authSchemes:n,credential:r,allowInsecureConnection:s}))}else if(isOAuth2TokenCredential(r)){t.addPolicy(oauth2AuthenticationPolicy({authSchemes:n,credential:r,allowInsecureConnection:s}))}}return t}function clientHelpers_getCachedDefaultHttpsClient(){if(!_a){_a=createDefaultHttpClient()}return _a}function getHeaderValue(e,t){if(e.headers){const r=Object.keys(e.headers).find((e=>e.toLowerCase()===t.toLowerCase()));if(r){return e.headers[r]}}return undefined}function getPartContentType(e){const t=getHeaderValue(e,"content-type");if(t){return t}if(e.contentType===null){return undefined}if(e.contentType){return e.contentType}const{body:r}=e;if(r===null||r===undefined){return undefined}if(typeof r==="string"||typeof r==="number"||typeof r==="boolean"){return"text/plain; charset=UTF-8"}if(r instanceof Blob){return r.type||"application/octet-stream"}if(isBinaryBody(r)){return"application/octet-stream"}return"application/json"}function escapeDispositionField(e){return JSON.stringify(e)}function getContentDisposition(e){const t=getHeaderValue(e,"content-disposition");if(t){return t}if(e.dispositionType===undefined&&e.name===undefined&&e.filename===undefined){return undefined}const r=e.dispositionType??"form-data";let n=r;if(e.name){n+=`; name=${escapeDispositionField(e.name)}`}let s=undefined;if(e.filename){s=e.filename}else if(typeof File!=="undefined"&&e.body instanceof File){const t=e.body.name;if(t!==""){s=t}}if(s){n+=`; filename=${escapeDispositionField(s)}`}return n}function normalizeBody(e,t){if(e===undefined){return new Uint8Array([])}if(isBinaryBody(e)){return e}if(typeof e==="string"||typeof e==="number"||typeof e==="boolean"){return stringToUint8Array(String(e),"utf-8")}if(t&&/application\/(.+\+)?json(;.+)?/i.test(String(t))){return stringToUint8Array(JSON.stringify(e),"utf-8")}throw new RestError(`Unsupported body/content-type combination: ${e}, ${t}`)}function buildBodyPart(e){const t=getPartContentType(e);const r=getContentDisposition(e);const n=createHttpHeaders(e.headers??{});if(t){n.set("content-type",t)}if(r){n.set("content-disposition",r)}const s=normalizeBody(e.body,t);return{headers:n,body:s}}function multipart_buildMultipartBody(e){return{parts:e.map(buildBodyPart)}}async function sendRequest_sendRequest(e,t,r,n={},s){const i=s??getCachedDefaultHttpsClient();const o=buildPipelineRequest(e,t,n);try{const e=await r.sendRequest(i,o);const t=e.headers.toJSON();const s=e.readableStreamBody??e.browserStreamBody;const a=n.responseAsStream||s!==undefined?undefined:getResponseBody(e);const c=s??a;if(n?.onResponse){n.onResponse({...e,request:o,rawHeaders:t,parsedBody:a})}return{request:o,headers:t,status:`${e.status}`,body:c}}catch(e){if(isRestError(e)&&e.response&&n.onResponse){const{response:t}=e;const r=t.headers.toJSON();n?.onResponse({...t,request:o,rawHeaders:r},e)}throw e}}function getRequestContentType(e={}){if(e.contentType){return e.contentType}const t=e.headers?.["content-type"];if(typeof t==="string"){return t}return getContentType(e.body)}function getContentType(e){if(e===undefined){return undefined}if(ArrayBuffer.isView(e)){return"application/octet-stream"}if(isBlob(e)&&e.type){return e.type}if(typeof e==="string"){try{JSON.parse(e);return"application/json"}catch(e){return undefined}}return"application/json"}function buildPipelineRequest(e,t,r={}){const n=getRequestContentType(r);const{body:s,multipartBody:i}=getRequestBody(r.body,n);const o=r.accept??r.headers?.accept??(r.noDefaultAcceptHeader?undefined:"application/json");const a=createHttpHeaders({...r.headers?r.headers:{},...o!==undefined&&{accept:o},...n&&{"content-type":n}});const{allowInsecureConnection:c,abortSignal:l,onUploadProgress:A,onDownloadProgress:u,timeout:d,responseAsStream:g,noDefaultAcceptHeader:p,url:h,method:m,body:f,multipartBody:C,headers:y,...E}=r;const I=createPipelineRequest({url:t,method:e,body:s,multipartBody:i,headers:a,allowInsecureConnection:c,abortSignal:l,onUploadProgress:A,onDownloadProgress:u,timeout:d,enableBrowserStreams:true,streamResponseStatusCodes:g?new Set([Number.POSITIVE_INFINITY]):undefined});Object.assign(I,E);return I}function getRequestBody(e,t=""){if(e===undefined){return{body:undefined}}if(typeof FormData!=="undefined"&&e instanceof FormData){return{body:e}}if(isBlob(e)){return{body:e}}if(isReadableStream(e)){return{body:e}}if(typeof e==="function"){return{body:e}}if(ArrayBuffer.isView(e)){return{body:e instanceof Uint8Array?e:JSON.stringify(e)}}const r=t.split(";")[0];switch(r){case"application/json":return{body:JSON.stringify(e)};case"multipart/form-data":if(Array.isArray(e)){return{multipartBody:buildMultipartBody(e)}}return{body:JSON.stringify(e)};case"text/plain":return{body:String(e)};default:if(typeof e==="string"){return{body:e}}return{body:JSON.stringify(e)}}}function getResponseBody(e){const t=e.headers.get("content-type")??"";const r=t.split(";")[0];const n=e.bodyAsText??"";if(r==="text/plain"){return String(n)}try{return n?JSON.parse(n):undefined}catch(t){if(r==="application/json"){throw createParseError(e,t)}return String(n)}}function createParseError(e,t){const r=`Error "${t}" occurred while parsing the response body - ${e.bodyAsText}.`;const n=t.code??RestError.PARSE_ERROR;return new RestError(r,{code:n,statusCode:e.status,request:e.request,response:e})}function getClient(e,t={}){const r=t.pipeline??createDefaultPipeline(t);if(t.additionalPolicies?.length){for(const{policy:e,position:n}of t.additionalPolicies){const t=n==="perRetry"?"Sign":undefined;r.addPolicy(e,{afterPhase:t})}}const n=t.internal?.noDefaultAcceptHeader??false;const{allowInsecureConnection:s,httpClient:i}=t;const o=t.endpoint??e;const client=(e,...t)=>{const getUrl=r=>buildRequestUrl(o,e,t,{allowInsecureConnection:s,...r});return{get:(e={})=>buildOperation("GET",getUrl(e),r,e,s,i,n),post:(e={})=>buildOperation("POST",getUrl(e),r,e,s,i,n),put:(e={})=>buildOperation("PUT",getUrl(e),r,e,s,i,n),patch:(e={})=>buildOperation("PATCH",getUrl(e),r,e,s,i,n),delete:(e={})=>buildOperation("DELETE",getUrl(e),r,e,s,i,n),head:(e={})=>buildOperation("HEAD",getUrl(e),r,e,s,i,n),options:(e={})=>buildOperation("OPTIONS",getUrl(e),r,e,s,i,n),trace:(e={})=>buildOperation("TRACE",getUrl(e),r,e,s,i,n)}};return{path:client,pathUnchecked:client,pipeline:r}}function buildOperation(e,t,r,n,s,i,o=false){s=n.allowInsecureConnection??s;return{then:function(a,c){return sendRequest(e,t,r,{...n,allowInsecureConnection:s,noDefaultAcceptHeader:o},i).then(a,c)},async asBrowserStream(){if(isNodeLike){throw new Error("`asBrowserStream` is supported only in the browser environment. Use `asNodeStream` instead to obtain the response body stream. If you require a Web stream of the response in Node, consider using `Readable.toWeb` on the result of `asNodeStream`.")}else{return sendRequest(e,t,r,{...n,allowInsecureConnection:s,noDefaultAcceptHeader:o,responseAsStream:true},i)}},async asNodeStream(){if(isNodeLike){return sendRequest(e,t,r,{...n,allowInsecureConnection:s,noDefaultAcceptHeader:o,responseAsStream:true},i)}else{throw new Error("`isNodeStream` is not supported in the browser environment. Use `asBrowserStream` to obtain the response body stream.")}}}}function createRestError(e,t){const r=typeof e==="string"?t:e;const n=r.body?.error??r.body;const s=typeof e==="string"?e:n?.message??`Unexpected status code: ${r.status}`;return new RestError(s,{statusCode:statusCodeToNumber(r.status),code:n?.code,request:r.request,response:toPipelineResponse(r)})}function toPipelineResponse(e){return{headers:createHttpHeaders(e.headers),request:e.request,status:statusCodeToNumber(e.status)??-1,...typeof e.body==="string"?{bodyAsText:e.body}:{}}}function statusCodeToNumber(e){const t=Number.parseInt(e);return Number.isNaN(t)?undefined:t}function esm_pipeline_createEmptyPipeline(){return pipeline_createEmptyPipeline()}const qa=createLoggerContext({logLevelEnvVarName:"AZURE_LOG_LEVEL",namespace:"azure"});const Ga=qa.logger;function esm_setLogLevel(e){qa.setLogLevel(e)}function esm_getLogLevel(){return qa.getLogLevel()}function esm_createClientLogger(e){return qa.createClientLogger(e)}const za=esm_createClientLogger("core-rest-pipeline");const Ya="agentPolicy";function agentPolicy_agentPolicy(e){return{name:Ya,sendRequest:async(t,r)=>{if(!t.agent){t.agent=e}return r(t)}}}const Va="decompressResponsePolicy";function decompressResponsePolicy_decompressResponsePolicy(){return{name:Va,async sendRequest(e,t){if(e.method!=="HEAD"){e.headers.set("Accept-Encoding","gzip,deflate")}return t(e)}}}const Ja="exponentialRetryPolicy";function exponentialRetryPolicy(e={}){return retryPolicy([exponentialRetryStrategy({...e,ignoreSystemErrors:true})],{maxRetries:e.maxRetries??DEFAULT_RETRY_POLICY_COUNT})}const Wa="systemErrorRetryPolicy";function systemErrorRetryPolicy(e={}){return{name:Wa,sendRequest:retryPolicy([exponentialRetryStrategy({...e,ignoreHttpStatusCodes:true})],{maxRetries:e.maxRetries??DEFAULT_RETRY_POLICY_COUNT}).sendRequest}}const ja="throttlingRetryPolicy";function throttlingRetryPolicy(e={}){return{name:ja,sendRequest:retryPolicy([throttlingRetryStrategy()],{maxRetries:e.maxRetries??DEFAULT_RETRY_POLICY_COUNT}).sendRequest}}const Ka="tlsPolicy";function tlsPolicy_tlsPolicy(e){return{name:Ka,sendRequest:async(t,r)=>{if(!t.tlsSettings){t.tlsSettings=e}return r(t)}}}const $a=null&&tspLogPolicyName;function policies_logPolicy_logPolicy(e={}){return logPolicy_logPolicy({logger:za.info,...e})}const Xa=va;function policies_redirectPolicy_redirectPolicy(e={}){return redirectPolicy_redirectPolicy(e)}function userAgentPlatform_getHeaderName(){return"User-Agent"}async function util_userAgentPlatform_setPlatformSpecificData(e){if(Ro&&Ro.versions){const t=`${No.type()} ${No.release()}; ${No.arch()}`;if(Ro.versions.bun){e.set("Bun",`${Ro.versions.bun} (${t})`)}else if(Ro.versions.deno){e.set("Deno",`${Ro.versions.deno} (${t})`)}else if(Ro.versions.node){e.set("Node",`${Ro.versions.node} (${t})`)}}}const Za="1.25.0";const ec=3;function userAgent_getUserAgentString(e){const t=[];for(const[r,n]of e){const e=n?`${r}/${n}`:r;t.push(e)}return t.join(" ")}function userAgent_getUserAgentHeaderName(){return userAgentPlatform_getHeaderName()}async function util_userAgent_getUserAgentValue(e){const t=new Map;t.set("core-rest-pipeline",Za);await util_userAgentPlatform_setPlatformSpecificData(t);const r=userAgent_getUserAgentString(t);const n=e?`${e} ${r}`:r;return n}const tc=userAgent_getUserAgentHeaderName();const rc="userAgentPolicy";function policies_userAgentPolicy_userAgentPolicy(e={}){const t=util_userAgent_getUserAgentValue(e.userAgentPrefix);return{name:rc,async sendRequest(e,r){if(!e.headers.has(tc)){e.headers.set(tc,await t)}return r(e)}}}function createFile(e,t,r={}){return createRawFile(e,t,r)}function file_isNodeReadableStream(e){return typeof e==="object"&&e!==null&&"pipe"in e&&typeof e.pipe==="function"}const nc={arrayBuffer:()=>{throw new Error("Not implemented")},bytes:()=>{throw new Error("Not implemented")},slice:()=>{throw new Error("Not implemented")},text:()=>{throw new Error("Not implemented")}};const sc=Symbol("rawContent");function hasRawContent(e){return typeof e[sc]==="function"}function getRawContent(e){if(hasRawContent(e)){return e[sc]()}else{return e}}function file_createRawFile(e,t,r={}){return{...nc,type:r.type??"",lastModified:r.lastModified??(new Date).getTime(),webkitRelativePath:r.webkitRelativePath??"",size:e.byteLength,name:t,arrayBuffer:async()=>toArrayBuffer(e).buffer,stream:()=>new Blob([toArrayBuffer(e)]).stream(),[sc]:()=>e}}function createFileFromStream(e,t,r={}){return{...nc,type:r.type??"",lastModified:r.lastModified??(new Date).getTime(),webkitRelativePath:r.webkitRelativePath??"",size:r.size??-1,name:t,stream:()=>{const t=e();if(file_isNodeReadableStream(t)){throw new Error("Not supported: a Node stream was provided as input to createFileFromStream.")}return t},[sc]:e}}function hasArrayBuffer(e){return"resize"in e.buffer}function toArrayBuffer(e){if(hasArrayBuffer(e)){if(e.byteOffset!==0||e.byteLength!==e.buffer.byteLength){return new Uint8Array(e)}return e}return e.map((e=>e))}const ic=Fa;function policies_multipartPolicy_multipartPolicy(){const e=multipartPolicy_multipartPolicy();return{name:ic,sendRequest:async(t,r)=>{if(t.multipartBody){for(const e of t.multipartBody.parts){if(hasRawContent(e.body)){e.body=getRawContent(e.body)}}}return e.sendRequest(t,r)}}}const oc=Va;function policies_decompressResponsePolicy_decompressResponsePolicy(){return decompressResponsePolicy_decompressResponsePolicy()}const ac=null&&tspDefaultRetryPolicyName;function policies_defaultRetryPolicy_defaultRetryPolicy(e={}){return defaultRetryPolicy_defaultRetryPolicy(e)}const cc=null&&tspFormDataPolicyName;function policies_formDataPolicy_formDataPolicy(){return formDataPolicy_formDataPolicy()}var lc=__nccwpck_require__(7598);async function computeSha256Hmac(e,t,r){const n=Buffer.from(e,"base64");return createHmac("sha256",n).update(t).digest(r)}async function computeSha256Hash(e,t){return createHash("sha256").update(e).digest(t)}class AbortError_AbortError extends Error{constructor(e){super(e);this.name="AbortError"}}function createAbortablePromise(e,t){const{cleanupBeforeAbort:r,abortSignal:n,abortErrorMsg:s}=t??{};return new Promise(((t,i)=>{function rejectOnAbort(){i(new AbortError_AbortError(s??"The operation was aborted."))}function removeListeners(){n?.removeEventListener("abort",onAbort)}function onAbort(){r?.();removeListeners();rejectOnAbort()}if(n?.aborted){return rejectOnAbort()}try{e((e=>{removeListeners();t(e)}),(e=>{removeListeners();i(e)}))}catch(e){i(e)}n?.addEventListener("abort",onAbort)}))}const Ac="The delay was aborted.";function delay_delay(e,t){let r;const{abortSignal:n,abortErrorMsg:s}=t??{};return createAbortablePromise((t=>{r=setTimeout(t,e)}),{cleanupBeforeAbort:()=>clearTimeout(r),abortSignal:n,abortErrorMsg:s??Ac})}function getErrorMessage(e){if(isError(e)){return e.message}else{let t;try{if(typeof e==="object"&&e){t=JSON.stringify(e)}else{t=String(e)}}catch(e){t="[unable to stringify input]"}return`Unknown error ${t}`}}function esm_calculateRetryDelay(e,t){return tspRuntime.calculateRetryDelay(e,t)}function esm_computeSha256Hash(e,t){return tspRuntime.computeSha256Hash(e,t)}function esm_computeSha256Hmac(e,t,r){return tspRuntime.computeSha256Hmac(e,t,r)}function esm_getRandomIntegerInclusive(e,t){return tspRuntime.getRandomIntegerInclusive(e,t)}function esm_isError(e){return isError(e)}function esm_isObject(e){return tspRuntime.isObject(e)}function esm_randomUUID(){return randomUUID()}const uc=vo;const dc=To;const gc=Fo;const pc=Mo;const hc=Mo;const mc=Po;const fc=Lo;const Cc=ko;function esm_uint8ArrayToString(e,t){return bytesEncoding_uint8ArrayToString(e,t)}function esm_stringToUint8Array(e,t){return bytesEncoding_stringToUint8Array(e,t)}const yc=null&&tspProxyPolicyName;function proxyPolicy_getDefaultProxySettings(e){return getDefaultProxySettings(e)}function policies_proxyPolicy_proxyPolicy(e,t){return proxyPolicy_proxyPolicy(e,t)}const Ec="setClientRequestIdPolicy";function setClientRequestIdPolicy(e="x-ms-client-request-id"){return{name:Ec,async sendRequest(t,r){if(!t.headers.has(e)){t.headers.set(e,t.requestId)}return r(t)}}}const Ic=null&&tspAgentPolicyName;function policies_agentPolicy_agentPolicy(e){return agentPolicy_agentPolicy(e)}const Bc=null&&tspTlsPolicyName;function policies_tlsPolicy_tlsPolicy(e){return tlsPolicy_tlsPolicy(e)}const Qc={span:Symbol.for("@azure/core-tracing span"),namespace:Symbol.for("@azure/core-tracing namespace")};function createTracingContext(e={}){let t=new TracingContextImpl(e.parentContext);if(e.span){t=t.setValue(Qc.span,e.span)}if(e.namespace){t=t.setValue(Qc.namespace,e.namespace)}return t}class TracingContextImpl{_contextMap;constructor(e){this._contextMap=e instanceof TracingContextImpl?new Map(e._contextMap):new Map}setValue(e,t){const r=new TracingContextImpl(this);r._contextMap.set(e,t);return r}getValue(e){return this._contextMap.get(e)}deleteValue(e){const t=new TracingContextImpl(this);t._contextMap.delete(e);return t}}var bc=__nccwpck_require__(9437);const Sc=bc.w;function createDefaultTracingSpan(){return{end:()=>{},isRecording:()=>false,recordException:()=>{},setAttribute:()=>{},setStatus:()=>{},addEvent:()=>{}}}function createDefaultInstrumenter(){return{createRequestHeaders:()=>({}),parseTraceparentHeader:()=>undefined,startSpan:(e,t)=>({span:createDefaultTracingSpan(),tracingContext:createTracingContext({parentContext:t.tracingContext})}),withContext(e,t,...r){return t(...r)}}}function useInstrumenter(e){state.instrumenterImplementation=e}function getInstrumenter(){if(!Sc.instrumenterImplementation){Sc.instrumenterImplementation=createDefaultInstrumenter()}return Sc.instrumenterImplementation}function createTracingClient(e){const{namespace:t,packageName:r,packageVersion:n}=e;function startSpan(e,s,i){const o=getInstrumenter().startSpan(e,{...i,packageName:r,packageVersion:n,tracingContext:s?.tracingOptions?.tracingContext});let a=o.tracingContext;const c=o.span;if(!a.getValue(Qc.namespace)){a=a.setValue(Qc.namespace,t)}c.setAttribute("az.namespace",a.getValue(Qc.namespace));const l=Object.assign({},s,{tracingOptions:{...s?.tracingOptions,tracingContext:a}});return{span:c,updatedOptions:l}}async function withSpan(e,t,r,n){const{span:s,updatedOptions:i}=startSpan(e,t,n);try{const e=await withContext(i.tracingOptions.tracingContext,(()=>r(i,s)));s.setStatus({status:"success"});return e}catch(e){s.setStatus({status:"error",error:e});throw e}finally{s.end()}}function withContext(e,t,...r){return getInstrumenter().withContext(e,t,...r)}function parseTraceparentHeader(e){return getInstrumenter().parseTraceparentHeader(e)}function createRequestHeaders(e){return getInstrumenter().createRequestHeaders(e)}return{startSpan:startSpan,withSpan:withSpan,withContext:withContext,parseTraceparentHeader:parseTraceparentHeader,createRequestHeaders:createRequestHeaders}}const wc=restError_RestError;function esm_restError_isRestError(e){return restError_isRestError(e)}const Dc="tracingPolicy";function tracingPolicy(e={}){const t=util_userAgent_getUserAgentValue(e.userAgentPrefix);const r=new Sanitizer({additionalAllowedQueryParameters:e.additionalAllowedQueryParameters});const n=tryCreateTracingClient();return{name:Dc,async sendRequest(e,s){if(!n){return s(e)}const i=await t;const o={"http.url":r.sanitizeUrl(e.url),"http.method":e.method,"http.user_agent":i,requestId:e.requestId};if(i){o["http.user_agent"]=i}const{span:a,tracingContext:c}=tryCreateSpan(n,e,o)??{};if(!a||!c){return s(e)}try{const t=await n.withContext(c,s,e);tryProcessResponse(a,t);return t}catch(e){tryProcessError(a,e);throw e}}}}function tryCreateTracingClient(){try{return createTracingClient({namespace:"",packageName:"@azure/core-rest-pipeline",packageVersion:Za})}catch(e){za.warning(`Error when creating the TracingClient: ${getErrorMessage(e)}`);return undefined}}function tryCreateSpan(e,t,r){try{const{span:n,updatedOptions:s}=e.startSpan(`HTTP ${t.method}`,{tracingOptions:t.tracingOptions},{spanKind:"client",spanAttributes:r});if(!n.isRecording()){n.end();return undefined}const i=e.createRequestHeaders(s.tracingOptions.tracingContext);for(const[e,r]of Object.entries(i)){t.headers.set(e,r)}return{span:n,tracingContext:s.tracingOptions.tracingContext}}catch(e){za.warning(`Skipping creating a tracing span due to an error: ${getErrorMessage(e)}`);return undefined}}function tryProcessError(e,t){try{e.setStatus({status:"error",error:esm_isError(t)?t:undefined});if(esm_restError_isRestError(t)&&t.statusCode){e.setAttribute("http.status_code",t.statusCode)}e.end()}catch(e){za.warning(`Skipping tracing span processing due to an error: ${getErrorMessage(e)}`)}}function tryProcessResponse(e,t){try{e.setAttribute("http.status_code",t.status);const r=t.headers.get("x-ms-request-id");if(r){e.setAttribute("serviceRequestId",r)}if(t.status>=400){e.setStatus({status:"error"})}e.end()}catch(e){za.warning(`Skipping tracing span processing due to an error: ${getErrorMessage(e)}`)}}function wrapAbortSignalLike(e){if(e instanceof AbortSignal){return{abortSignal:e}}if(e.aborted){return{abortSignal:AbortSignal.abort("reason"in e?e.reason:undefined)}}const t=new AbortController;let r=true;function cleanup(){if(r){e.removeEventListener("abort",listener);r=false}}function listener(){t.abort("reason"in e?e.reason:undefined);cleanup()}e.addEventListener("abort",listener);return{abortSignal:t.signal,cleanup:cleanup}}const Nc="wrapAbortSignalLikePolicy";function wrapAbortSignalLikePolicy(){return{name:Nc,sendRequest:async(e,t)=>{if(!e.abortSignal){return t(e)}const{abortSignal:r,cleanup:n}=wrapAbortSignalLike(e.abortSignal);e.abortSignal=r;try{return await t(e)}finally{n?.()}}}}function esm_createPipelineFromOptions_createPipelineFromOptions(e){const t=esm_pipeline_createEmptyPipeline();if(hc){if(e.agent){t.addPolicy(policies_agentPolicy_agentPolicy(e.agent))}if(e.tlsOptions){t.addPolicy(policies_tlsPolicy_tlsPolicy(e.tlsOptions))}t.addPolicy(policies_proxyPolicy_proxyPolicy(e.proxyOptions));t.addPolicy(policies_decompressResponsePolicy_decompressResponsePolicy())}t.addPolicy(wrapAbortSignalLikePolicy());t.addPolicy(policies_formDataPolicy_formDataPolicy(),{beforePolicies:[ic]});t.addPolicy(policies_userAgentPolicy_userAgentPolicy(e.userAgentOptions));t.addPolicy(setClientRequestIdPolicy(e.telemetryOptions?.clientRequestIdHeaderName));t.addPolicy(policies_multipartPolicy_multipartPolicy(),{afterPhase:"Deserialize"});t.addPolicy(policies_defaultRetryPolicy_defaultRetryPolicy(e.retryOptions),{phase:"Retry"});t.addPolicy(tracingPolicy({...e.userAgentOptions,...e.loggingOptions}),{afterPhase:"Retry"});if(hc){t.addPolicy(policies_redirectPolicy_redirectPolicy(e.redirectOptions),{afterPhase:"Retry"})}t.addPolicy(policies_logPolicy_logPolicy(e.loggingOptions),{afterPhase:"Sign"});return t}function esm_defaultHttpClient_createDefaultHttpClient(){const e=defaultHttpClient_createDefaultHttpClient();return{async sendRequest(t){const{abortSignal:r,cleanup:n}=t.abortSignal?wrapAbortSignalLike(t.abortSignal):{};try{t.abortSignal=r;return await e.sendRequest(t)}finally{n?.()}}}}function esm_httpHeaders_createHttpHeaders(e){return httpHeaders_createHttpHeaders(e)}function esm_pipelineRequest_createPipelineRequest(e){return pipelineRequest_createPipelineRequest(e)}const xc=null&&tspExponentialRetryPolicyName;function exponentialRetryPolicy_exponentialRetryPolicy(e={}){return tspExponentialRetryPolicy(e)}const Rc=null&&tspSystemErrorRetryPolicyName;function systemErrorRetryPolicy_systemErrorRetryPolicy(e={}){return tspSystemErrorRetryPolicy(e)}const vc=null&&tspThrottlingRetryPolicyName;function throttlingRetryPolicy_throttlingRetryPolicy(e={}){return tspThrottlingRetryPolicy(e)}const kc=esm_createClientLogger("core-rest-pipeline retryPolicy");function policies_retryPolicy_retryPolicy(e,t={maxRetries:DEFAULT_RETRY_POLICY_COUNT}){return tspRetryPolicy(e,{logger:kc,...t})}const Fc={forcedRefreshWindowInMs:1e3,retryIntervalInMs:3e3,refreshWindowInMs:1e3*60*2};async function beginRefresh(e,t,r){async function tryGetAccessToken(){if(Date.now()<r){try{return await e()}catch{return null}}else{const t=await e();if(t===null){throw new Error("Failed to refresh access token.")}return t}}let n=await tryGetAccessToken();while(n===null){await delay_delay(t);n=await tryGetAccessToken()}return n}function tokenCycler_createTokenCycler(e,t){let r=null;let n=null;let s;const i={...Fc,...t};const o={get isRefreshing(){return r!==null},get shouldRefresh(){if(n===null){return true}if(o.isRefreshing){return false}if(n.refreshAfterTimestamp&&n.refreshAfterTimestamp<Date.now()){return true}return n.expiresOnTimestamp-i.refreshWindowInMs<Date.now()},get mustRefresh(){return n===null||n.expiresOnTimestamp-i.forcedRefreshWindowInMs<Date.now()}};function refresh(t,a){if(!o.isRefreshing){const tryGetAccessToken=()=>e.getToken(t,a);r=beginRefresh(tryGetAccessToken,i.retryIntervalInMs,n?.expiresOnTimestamp??Date.now()).then((e=>{r=null;n=e;s=a.tenantId;return n})).catch((e=>{r=null;n=null;s=undefined;throw e}))}return r}return async(e,t)=>{const r=Boolean(t.claims);const i=s!==t.tenantId;if(r){n=null}const a=i||r||o.mustRefresh;if(a){return refresh(e,t)}if(o.shouldRefresh){refresh(e,t)}return n}}const Tc="bearerTokenAuthenticationPolicy";async function trySendRequest(e,t){try{return[await t(e),undefined]}catch(e){if(esm_restError_isRestError(e)&&e.response){return[e.response,e]}else{throw e}}}async function defaultAuthorizeRequest(e){const{scopes:t,getAccessToken:r,request:n}=e;const s={abortSignal:n.abortSignal,tracingOptions:n.tracingOptions,enableCae:true};const i=await r(t,s);if(i){e.request.headers.set("Authorization",`Bearer ${i.token}`)}}function isChallengeResponse(e){return e.status===401&&e.headers.has("WWW-Authenticate")}async function authorizeRequestOnCaeChallenge(e,t){const{scopes:r}=e;const n=await e.getAccessToken(r,{enableCae:true,claims:t});if(!n){return false}e.request.headers.set("Authorization",`${n.tokenType??"Bearer"} ${n.token}`);return true}function bearerTokenAuthenticationPolicy(e){const{credential:t,scopes:r,challengeCallbacks:n}=e;const s=e.logger||za;const i={authorizeRequest:n?.authorizeRequest?.bind(n)??defaultAuthorizeRequest,authorizeRequestOnChallenge:n?.authorizeRequestOnChallenge?.bind(n)};const o=t?tokenCycler_createTokenCycler(t):()=>Promise.resolve(null);return{name:Tc,async sendRequest(e,t){if(!e.url.toLowerCase().startsWith("https://")){throw new Error("Bearer token authentication is not permitted for non-TLS protected (non-https) URLs.")}await i.authorizeRequest({scopes:Array.isArray(r)?r:[r],request:e,getAccessToken:o,logger:s});let n;let a;let c;[n,a]=await trySendRequest(e,t);if(isChallengeResponse(n)){let l=getCaeChallengeClaims(n.headers.get("WWW-Authenticate"));if(l){let i;try{i=atob(l)}catch(e){s.warning(`The WWW-Authenticate header contains "claims" that cannot be parsed. Unable to perform the Continuous Access Evaluation authentication flow. Unparsable claims: ${l}`);return n}c=await authorizeRequestOnCaeChallenge({scopes:Array.isArray(r)?r:[r],response:n,request:e,getAccessToken:o,logger:s},i);if(c){[n,a]=await trySendRequest(e,t)}}else if(i.authorizeRequestOnChallenge){c=await i.authorizeRequestOnChallenge({scopes:Array.isArray(r)?r:[r],request:e,response:n,getAccessToken:o,logger:s});if(c){[n,a]=await trySendRequest(e,t)}if(isChallengeResponse(n)){l=getCaeChallengeClaims(n.headers.get("WWW-Authenticate")??"");if(l){let i;try{i=atob(l)}catch(e){s.warning(`The WWW-Authenticate header contains "claims" that cannot be parsed. Unable to perform the Continuous Access Evaluation authentication flow. Unparsable claims: ${l}`);return n}c=await authorizeRequestOnCaeChallenge({scopes:Array.isArray(r)?r:[r],response:n,request:e,getAccessToken:o,logger:s},i);if(c){[n,a]=await trySendRequest(e,t)}}}}}if(a){throw a}else{return n}}}}function parseChallenges(e){const t=/(\w+)\s+((?:\w+=(?:"[^"]*"|[^,]*),?\s*)+)/g;const r=/(\w+)="([^"]*)"/g;const n=[];let s;while((s=t.exec(e))!==null){const e=s[1];const t=s[2];const i={};let o;while((o=r.exec(t))!==null){i[o[1]]=o[2]}n.push({scheme:e,params:i})}return n}function getCaeChallengeClaims(e){if(!e){return}const t=parseChallenges(e);return t.find((e=>e.scheme==="Bearer"&&e.params.claims&&e.params.error==="insufficient_claims"))?.params.claims}const Mc="auxiliaryAuthenticationHeaderPolicy";const Pc="x-ms-authorization-auxiliary";async function sendAuthorizeRequest(e){const{scopes:t,getAccessToken:r,request:n}=e;const s={abortSignal:n.abortSignal,tracingOptions:n.tracingOptions};return(await r(t,s))?.token??""}function auxiliaryAuthenticationHeaderPolicy(e){const{credentials:t,scopes:r}=e;const n=e.logger||coreLogger;const s=new WeakMap;return{name:Mc,async sendRequest(e,i){if(!e.url.toLowerCase().startsWith("https://")){throw new Error("Bearer token authentication for auxiliary header is not permitted for non-TLS protected (non-https) URLs.")}if(!t||t.length===0){n.info(`${Mc} header will not be set due to empty credentials.`);return i(e)}const o=[];for(const i of t){let t=s.get(i);if(!t){t=createTokenCycler(i);s.set(i,t)}o.push(sendAuthorizeRequest({scopes:Array.isArray(r)?r:[r],request:e,getAccessToken:t,logger:n}))}const a=(await Promise.all(o)).filter((e=>Boolean(e)));if(a.length===0){n.warning(`None of the auxiliary tokens are valid. ${Pc} header will not be set.`);return i(e)}e.headers.set(Pc,a.map((e=>`Bearer ${e}`)).join(", "));return i(e)}}}function isKeyCredential(e){return isObjectWithProperties(e,["key"])&&typeof e.key==="string"}class AzureNamedKeyCredential{_key;_name;get key(){return this._key}get name(){return this._name}constructor(e,t){if(!e||!t){throw new TypeError("name and key must be non-empty strings")}this._name=e;this._key=t}update(e,t){if(!e||!t){throw new TypeError("newName and newKey must be non-empty strings")}this._name=e;this._key=t}}function isNamedKeyCredential(e){return isObjectWithProperties(e,["name","key"])&&typeof e.key==="string"&&typeof e.name==="string"}class AzureSASCredential{_signature;get signature(){return this._signature}constructor(e){if(!e){throw new Error("shared access signature must be a non-empty string")}this._signature=e}update(e){if(!e){throw new Error("shared access signature must be a non-empty string")}this._signature=e}}function isSASCredential(e){return isObjectWithProperties(e,["signature"])&&typeof e.signature==="string"}function isTokenCredential(e){const t=e;return t&&typeof t.getToken==="function"&&(t.signRequest===undefined||t.getToken.length>0)}const Lc="DisableKeepAlivePolicy";function createDisableKeepAlivePolicy(){return{name:Lc,sendRequest(e,t){e.disableKeepAlive=true;return t(e)}}}function pipelineContainsDisableKeepAlivePolicy(e){return e.getOrderedPolicies().some((e=>e.name===Lc))}function encodeString(e){return uint8ArrayToString(stringToUint8Array(e,"utf-8"),"base64")}function encodeByteArray(e){return esm_uint8ArrayToString(e,"base64")}function decodeString(e){return esm_stringToUint8Array(e,"base64")}function base64_decodeStringToString(e){return uint8ArrayToString(stringToUint8Array(e,"base64"),"utf-8")}const Uc="$";const Oc="_";function isPrimitiveBody(e,t){return t!=="Composite"&&t!=="Dictionary"&&(typeof e==="string"||typeof e==="number"||typeof e==="boolean"||t?.match(/^(Date|DateTime|DateTimeRfc1123|UnixTime|ByteArray|Base64Url)$/i)!==null||e===undefined||e===null)}const Hc=/^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/;function isDuration(e){return Hc.test(e)}const _c=/^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$/i;function isValidUuid(e){return _c.test(e)}function handleNullableResponseAndWrappableBody(e){const t={...e.headers,...e.body};if(e.hasNullableType&&Object.getOwnPropertyNames(t).length===0){return e.shouldWrapBody?{body:null}:null}else{return e.shouldWrapBody?{...e.headers,body:e.body}:t}}function flattenResponse(e,t){const r=e.parsedHeaders;if(e.request.method==="HEAD"){return{...r,body:e.parsedBody}}const n=t&&t.bodyMapper;const s=Boolean(n?.nullable);const i=n?.type.name;if(i==="Stream"){return{...r,blobBody:e.blobBody,readableStreamBody:e.readableStreamBody}}const o=i==="Composite"&&n.type.modelProperties||{};const a=Object.keys(o).some((e=>o[e].serializedName===""));if(i==="Sequence"||a){const t=e.parsedBody??[];for(const r of Object.keys(o)){if(o[r].serializedName){t[r]=e.parsedBody?.[r]}}if(r){for(const e of Object.keys(r)){t[e]=r[e]}}return s&&!e.parsedBody&&!r&&Object.getOwnPropertyNames(o).length===0?null:t}return handleNullableResponseAndWrappableBody({body:e.parsedBody,headers:r,hasNullableType:s,shouldWrapBody:isPrimitiveBody(e.parsedBody,i)})}class SerializerImpl{modelMappers;isXML;constructor(e={},t=false){this.modelMappers=e;this.isXML=t}validateConstraints(e,t,r){const failValidation=(e,n)=>{throw new Error(`"${r}" with value "${t}" should satisfy the constraint "${e}": ${n}.`)};if(e.constraints&&t!==undefined&&t!==null){const{ExclusiveMaximum:r,ExclusiveMinimum:n,InclusiveMaximum:s,InclusiveMinimum:i,MaxItems:o,MaxLength:a,MinItems:c,MinLength:l,MultipleOf:A,Pattern:u,UniqueItems:d}=e.constraints;if(r!==undefined&&t>=r){failValidation("ExclusiveMaximum",r)}if(n!==undefined&&t<=n){failValidation("ExclusiveMinimum",n)}if(s!==undefined&&t>s){failValidation("InclusiveMaximum",s)}if(i!==undefined&&t<i){failValidation("InclusiveMinimum",i)}if(o!==undefined&&t.length>o){failValidation("MaxItems",o)}if(a!==undefined&&t.length>a){failValidation("MaxLength",a)}if(c!==undefined&&t.length<c){failValidation("MinItems",c)}if(l!==undefined&&t.length<l){failValidation("MinLength",l)}if(A!==undefined&&t%A!==0){failValidation("MultipleOf",A)}if(u){const e=typeof u==="string"?new RegExp(u):u;if(typeof t!=="string"||t.match(e)===null){failValidation("Pattern",u)}}if(d&&t.some(((e,t,r)=>r.indexOf(e)!==t))){failValidation("UniqueItems",d)}}}serialize(e,t,r,n={xml:{}}){const s={xml:{rootName:n.xml.rootName??"",includeRoot:n.xml.includeRoot??false,xmlCharKey:n.xml.xmlCharKey??Oc}};let i={};const o=e.type.name;if(!r){r=e.serializedName}if(o.match(/^Sequence$/i)!==null){i=[]}if(e.isConstant){t=e.defaultValue}const{required:a,nullable:c}=e;if(a&&c&&t===undefined){throw new Error(`${r} cannot be undefined.`)}if(a&&!c&&(t===undefined||t===null)){throw new Error(`${r} cannot be null or undefined.`)}if(!a&&c===false&&t===null){throw new Error(`${r} cannot be null.`)}if(t===undefined||t===null){i=t}else{if(o.match(/^any$/i)!==null){i=t}else if(o.match(/^(Number|String|Boolean|Object|Stream|Uuid)$/i)!==null){i=serializeBasicTypes(o,r,t)}else if(o.match(/^Enum$/i)!==null){const n=e;i=serializeEnumType(r,n.type.allowedValues,t)}else if(o.match(/^(Date|DateTime|TimeSpan|DateTimeRfc1123|UnixTime)$/i)!==null){i=serializeDateTypes(o,t,r)}else if(o.match(/^ByteArray$/i)!==null){i=serializeByteArrayType(r,t)}else if(o.match(/^Base64Url$/i)!==null){i=serializeBase64UrlType(r,t)}else if(o.match(/^Sequence$/i)!==null){i=serializeSequenceType(this,e,t,r,Boolean(this.isXML),s)}else if(o.match(/^Dictionary$/i)!==null){i=serializeDictionaryType(this,e,t,r,Boolean(this.isXML),s)}else if(o.match(/^Composite$/i)!==null){i=serializeCompositeType(this,e,t,r,Boolean(this.isXML),s)}}return i}deserialize(e,t,r,n={xml:{}}){const s={xml:{rootName:n.xml.rootName??"",includeRoot:n.xml.includeRoot??false,xmlCharKey:n.xml.xmlCharKey??Oc},ignoreUnknownProperties:n.ignoreUnknownProperties??false};if(t===undefined||t===null){if(this.isXML&&e.type.name==="Sequence"&&!e.xmlIsWrapped){t=[]}if(e.defaultValue!==undefined){t=e.defaultValue}return t}let i;const o=e.type.name;if(!r){r=e.serializedName}if(o.match(/^Composite$/i)!==null){i=deserializeCompositeType(this,e,t,r,s)}else{if(this.isXML){const e=s.xml.xmlCharKey;if(t[Uc]!==undefined&&t[e]!==undefined){t=t[e]}}if(o.match(/^Number$/i)!==null){i=parseFloat(t);if(isNaN(i)){i=t}}else if(o.match(/^Boolean$/i)!==null){if(t==="true"){i=true}else if(t==="false"){i=false}else{i=t}}else if(o.match(/^(String|Enum|Object|Stream|Uuid|TimeSpan|any)$/i)!==null){i=t}else if(o.match(/^(Date|DateTime|DateTimeRfc1123)$/i)!==null){i=new Date(t)}else if(o.match(/^UnixTime$/i)!==null){i=unixTimeToDate(t)}else if(o.match(/^ByteArray$/i)!==null){i=decodeString(t)}else if(o.match(/^Base64Url$/i)!==null){i=base64UrlToByteArray(t)}else if(o.match(/^Sequence$/i)!==null){i=deserializeSequenceType(this,e,t,r,s)}else if(o.match(/^Dictionary$/i)!==null){i=deserializeDictionaryType(this,e,t,r,s)}}if(e.isConstant){i=e.defaultValue}return i}}function createSerializer(e={},t=false){return new SerializerImpl(e,t)}function trimEnd(e,t){let r=e.length;while(r-1>=0&&e[r-1]===t){--r}return e.substr(0,r)}function bufferToBase64Url(e){if(!e){return undefined}if(!(e instanceof Uint8Array)){throw new Error(`Please provide an input of type Uint8Array for converting to Base64Url.`)}const t=encodeByteArray(e);return trimEnd(t,"=").replace(/\+/g,"-").replace(/\//g,"_")}function base64UrlToByteArray(e){if(!e){return undefined}if(e&&typeof e.valueOf()!=="string"){throw new Error("Please provide an input of type string for converting to Uint8Array")}e=e.replace(/-/g,"+").replace(/_/g,"/");return decodeString(e)}function splitSerializeName(e){const t=[];let r="";if(e){const n=e.split(".");for(const e of n){if(e.charAt(e.length-1)==="\\"){r+=e.substr(0,e.length-1)+"."}else{r+=e;t.push(r);r=""}}}return t}function dateToUnixTime(e){if(!e){return undefined}if(typeof e.valueOf()==="string"){e=new Date(e)}return Math.floor(e.getTime()/1e3)}function unixTimeToDate(e){if(!e){return undefined}return new Date(e*1e3)}function serializeBasicTypes(e,t,r){if(r!==null&&r!==undefined){if(e.match(/^Number$/i)!==null){if(typeof r!=="number"){throw new Error(`${t} with value ${r} must be of type number.`)}}else if(e.match(/^String$/i)!==null){if(typeof r.valueOf()!=="string"){throw new Error(`${t} with value "${r}" must be of type string.`)}}else if(e.match(/^Uuid$/i)!==null){if(!(typeof r.valueOf()==="string"&&isValidUuid(r))){throw new Error(`${t} with value "${r}" must be of type string and a valid uuid.`)}}else if(e.match(/^Boolean$/i)!==null){if(typeof r!=="boolean"){throw new Error(`${t} with value ${r} must be of type boolean.`)}}else if(e.match(/^Stream$/i)!==null){const e=typeof r;if(e!=="string"&&typeof r.pipe!=="function"&&typeof r.tee!=="function"&&!(r instanceof ArrayBuffer)&&!ArrayBuffer.isView(r)&&!((typeof Blob==="function"||typeof Blob==="object")&&r instanceof Blob)&&e!=="function"){throw new Error(`${t} must be a string, Blob, ArrayBuffer, ArrayBufferView, ReadableStream, or () => ReadableStream.`)}}}return r}function serializeEnumType(e,t,r){if(!t){throw new Error(`Please provide a set of allowedValues to validate ${e} as an Enum Type.`)}const n=t.some((e=>{if(typeof e.valueOf()==="string"){return e.toLowerCase()===r.toLowerCase()}return e===r}));if(!n){throw new Error(`${r} is not a valid value for ${e}. The valid values are: ${JSON.stringify(t)}.`)}return r}function serializeByteArrayType(e,t){if(t!==undefined&&t!==null){if(!(t instanceof Uint8Array)){throw new Error(`${e} must be of type Uint8Array.`)}t=encodeByteArray(t)}return t}function serializeBase64UrlType(e,t){if(t!==undefined&&t!==null){if(!(t instanceof Uint8Array)){throw new Error(`${e} must be of type Uint8Array.`)}t=bufferToBase64Url(t)}return t}function serializeDateTypes(e,t,r){if(t!==undefined&&t!==null){if(e.match(/^Date$/i)!==null){if(!(t instanceof Date||typeof t.valueOf()==="string"&&!isNaN(Date.parse(t)))){throw new Error(`${r} must be an instanceof Date or a string in ISO8601 format.`)}t=t instanceof Date?t.toISOString().substring(0,10):new Date(t).toISOString().substring(0,10)}else if(e.match(/^DateTime$/i)!==null){if(!(t instanceof Date||typeof t.valueOf()==="string"&&!isNaN(Date.parse(t)))){throw new Error(`${r} must be an instanceof Date or a string in ISO8601 format.`)}t=t instanceof Date?t.toISOString():new Date(t).toISOString()}else if(e.match(/^DateTimeRfc1123$/i)!==null){if(!(t instanceof Date||typeof t.valueOf()==="string"&&!isNaN(Date.parse(t)))){throw new Error(`${r} must be an instanceof Date or a string in RFC-1123 format.`)}t=t instanceof Date?t.toUTCString():new Date(t).toUTCString()}else if(e.match(/^UnixTime$/i)!==null){if(!(t instanceof Date||typeof t.valueOf()==="string"&&!isNaN(Date.parse(t)))){throw new Error(`${r} must be an instanceof Date or a string in RFC-1123/ISO8601 format `+`for it to be serialized in UnixTime/Epoch format.`)}t=dateToUnixTime(t)}else if(e.match(/^TimeSpan$/i)!==null){if(!isDuration(t)){throw new Error(`${r} must be a string in ISO 8601 format. Instead was "${t}".`)}}}return t}function serializeSequenceType(e,t,r,n,s,i){if(!Array.isArray(r)){throw new Error(`${n} must be of type Array.`)}let o=t.type.element;if(!o||typeof o!=="object"){throw new Error(`"element" metadata for an Array must be defined in the `+`mapper and it must be of type "object" in ${n}.`)}if(o.type.name==="Composite"&&o.type.className){o=e.modelMappers[o.type.className]??o}const a=[];for(let t=0;t<r.length;t++){const c=e.serialize(o,r[t],n,i);if(s&&o.xmlNamespace){const e=o.xmlNamespacePrefix?`xmlns:${o.xmlNamespacePrefix}`:"xmlns";if(o.type.name==="Composite"){a[t]={...c};a[t][Uc]={[e]:o.xmlNamespace}}else{a[t]={};a[t][i.xml.xmlCharKey]=c;a[t][Uc]={[e]:o.xmlNamespace}}}else{a[t]=c}}return a}function serializeDictionaryType(e,t,r,n,s,i){if(typeof r!=="object"){throw new Error(`${n} must be of type object.`)}const o=t.type.value;if(!o||typeof o!=="object"){throw new Error(`"value" metadata for a Dictionary must be defined in the `+`mapper and it must of type "object" in ${n}.`)}const a={};for(const t of Object.keys(r)){const c=e.serialize(o,r[t],n,i);a[t]=getXmlObjectValue(o,c,s,i)}if(s&&t.xmlNamespace){const e=t.xmlNamespacePrefix?`xmlns:${t.xmlNamespacePrefix}`:"xmlns";const r=a;r[Uc]={[e]:t.xmlNamespace};return r}return a}function resolveAdditionalProperties(e,t,r){const n=t.type.additionalProperties;if(!n&&t.type.className){const n=resolveReferencedMapper(e,t,r);return n?.type.additionalProperties}return n}function resolveReferencedMapper(e,t,r){const n=t.type.className;if(!n){throw new Error(`Class name for model "${r}" is not provided in the mapper "${JSON.stringify(t,undefined,2)}".`)}return e.modelMappers[n]}function resolveModelProperties(e,t,r){let n=t.type.modelProperties;if(!n){const s=resolveReferencedMapper(e,t,r);if(!s){throw new Error(`mapper() cannot be null or undefined for model "${t.type.className}".`)}n=s?.type.modelProperties;if(!n){throw new Error(`modelProperties cannot be null or undefined in the `+`mapper "${JSON.stringify(s)}" of type "${t.type.className}" for object "${r}".`)}}return n}function serializeCompositeType(e,t,r,n,s,i){if(getPolymorphicDiscriminatorRecursively(e,t)){t=getPolymorphicMapper(e,t,r,"clientName")}if(r!==undefined&&r!==null){const o={};const a=resolveModelProperties(e,t,n);for(const c of Object.keys(a)){const l=a[c];if(l.readOnly){continue}let A;let u=o;if(e.isXML){if(l.xmlIsWrapped){A=l.xmlName}else{A=l.xmlElementName||l.xmlName}}else{const e=splitSerializeName(l.serializedName);A=e.pop();for(const t of e){const e=u[t];if((e===undefined||e===null)&&(r[c]!==undefined&&r[c]!==null||l.defaultValue!==undefined)){u[t]={}}u=u[t]}}if(u!==undefined&&u!==null){if(s&&t.xmlNamespace){const e=t.xmlNamespacePrefix?`xmlns:${t.xmlNamespacePrefix}`:"xmlns";u[Uc]={...u[Uc],[e]:t.xmlNamespace}}const o=l.serializedName!==""?n+"."+l.serializedName:n;let a=r[c];const d=getPolymorphicDiscriminatorRecursively(e,t);if(d&&d.clientName===c&&(a===undefined||a===null)){a=t.serializedName}const g=e.serialize(l,a,o,i);if(g!==undefined&&A!==undefined&&A!==null){const e=getXmlObjectValue(l,g,s,i);if(s&&l.xmlIsAttribute){u[Uc]=u[Uc]||{};u[Uc][A]=g}else if(s&&l.xmlIsWrapped){u[A]={[l.xmlElementName]:e}}else{u[A]=e}}}}const c=resolveAdditionalProperties(e,t,n);if(c){const t=Object.keys(a);for(const s of Object.keys(r)){const a=t.every((e=>e!==s));if(a){Object.defineProperty(o,s,{value:e.serialize(c,r[s],n+'["'+s+'"]',i),enumerable:true,configurable:true,writable:true})}}}return o}return r}function getXmlObjectValue(e,t,r,n){if(!r||!e.xmlNamespace){return t}const s=e.xmlNamespacePrefix?`xmlns:${e.xmlNamespacePrefix}`:"xmlns";const i={[s]:e.xmlNamespace};if(["Composite"].includes(e.type.name)){if(t[Uc]){return t}else{const e={...t};e[Uc]=i;return e}}const o={};o[n.xml.xmlCharKey]=t;o[Uc]=i;return o}function isSpecialXmlProperty(e,t){return[Uc,t.xml.xmlCharKey].includes(e)}function deserializeCompositeType(e,t,r,n,s){const i=s.xml.xmlCharKey??Oc;if(getPolymorphicDiscriminatorRecursively(e,t)){t=getPolymorphicMapper(e,t,r,"serializedName")}const o=resolveModelProperties(e,t,n);let a={};const c=[];for(const l of Object.keys(o)){const A=o[l];const u=splitSerializeName(o[l].serializedName);c.push(u[0]);const{serializedName:d,xmlName:g,xmlElementName:p}=A;let h=n;if(d!==""&&d!==undefined){h=n+"."+d}const m=A.headerCollectionPrefix;if(m){const t={};for(const n of Object.keys(r)){if(n.startsWith(m)){t[n.substring(m.length)]=e.deserialize(A.type.value,r[n],h,s)}c.push(n)}a[l]=t}else if(e.isXML){if(A.xmlIsAttribute&&r[Uc]){a[l]=e.deserialize(A,r[Uc][g],h,s)}else if(A.xmlIsMsText){if(r[i]!==undefined){a[l]=r[i]}else if(typeof r==="string"){a[l]=r}}else{const t=p||g||d;if(A.xmlIsWrapped){const t=r[g];const n=t?.[p]??[];Object.defineProperty(a,l,{value:e.deserialize(A,n,h,s),enumerable:true,configurable:true,writable:true});c.push(g)}else{const n=r[t];a[l]=e.deserialize(A,n,h,s);c.push(t)}}}else{let n;let i=r;let c=0;for(const e of u){if(!i)break;c++;i=i[e]}if(i===null&&c<u.length){i=undefined}n=i;const d=t.type.polymorphicDiscriminator;if(d&&l===d.clientName&&(n===undefined||n===null)){n=t.serializedName}let g;if(Array.isArray(r[l])&&o[l].serializedName===""){n=r[l];const t=e.deserialize(A,n,h,s);for(const[e,r]of Object.entries(a)){if(!Object.prototype.hasOwnProperty.call(t,e)){t[e]=r}}a=t}else if(n!==undefined||A.defaultValue!==undefined){g=e.deserialize(A,n,h,s);a[l]=g}}}const l=t.type.additionalProperties;if(l){const isAdditionalProperty=e=>{for(const t of Object.keys(o)){const r=splitSerializeName(o[t].serializedName);if(r[0]===e){return false}}return true};for(const t of Object.keys(r)){if(isAdditionalProperty(t)){const i=e.deserialize(l,r[t],n+'["'+t+'"]',s);Object.defineProperty(a,t,{value:i,enumerable:true,configurable:true,writable:true})}}}else if(r&&!s.ignoreUnknownProperties){for(const e of Object.keys(r)){if(a[e]===undefined&&!c.includes(e)&&!isSpecialXmlProperty(e,s)){Object.defineProperty(a,e,{value:r[e],enumerable:true,configurable:true,writable:true})}}}return a}function deserializeDictionaryType(e,t,r,n,s){const i=t.type.value;if(!i||typeof i!=="object"){throw new Error(`"value" metadata for a Dictionary must be defined in the `+`mapper and it must of type "object" in ${n}`)}if(r){const t={};for(const o of Object.keys(r)){t[o]=e.deserialize(i,r[o],n,s)}return t}return r}function deserializeSequenceType(e,t,r,n,s){let i=t.type.element;if(!i||typeof i!=="object"){throw new Error(`"element" metadata for an Array must be defined in the `+`mapper and it must be of type "object" in ${n}`)}if(r){if(!Array.isArray(r)){r=[r]}if(i.type.name==="Composite"&&i.type.className){i=e.modelMappers[i.type.className]??i}const t=[];for(let o=0;o<r.length;o++){t[o]=e.deserialize(i,r[o],`${n}[${o}]`,s)}return t}return r}function getIndexDiscriminator(e,t,r){const n=[r];while(n.length){const r=n.shift();const s=t===r?t:r+"."+t;if(Object.prototype.hasOwnProperty.call(e,s)){return e[s]}else{for(const[t,s]of Object.entries(e)){if(t.startsWith(r+".")&&s.type.uberParent===r&&s.type.className){n.push(s.type.className)}}}}return undefined}function getPolymorphicMapper(e,t,r,n){const s=getPolymorphicDiscriminatorRecursively(e,t);if(s){let i=s[n];if(i){if(n==="serializedName"){i=i.replace(/\\/gi,"")}const s=r[i];const o=t.type.uberParent??t.type.className;if(typeof s==="string"&&o){const r=getIndexDiscriminator(e.modelMappers.discriminators,s,o);if(r){t=r}}}}return t}function getPolymorphicDiscriminatorRecursively(e,t){return t.type.polymorphicDiscriminator||getPolymorphicDiscriminatorSafely(e,t.type.uberParent)||getPolymorphicDiscriminatorSafely(e,t.type.className)}function getPolymorphicDiscriminatorSafely(e,t){return t&&e.modelMappers[t]&&e.modelMappers[t].type.polymorphicDiscriminator}const qc={Base64Url:"Base64Url",Boolean:"Boolean",ByteArray:"ByteArray",Composite:"Composite",Date:"Date",DateTime:"DateTime",DateTimeRfc1123:"DateTimeRfc1123",Dictionary:"Dictionary",Enum:"Enum",Number:"Number",Object:"Object",Sequence:"Sequence",String:"String",Stream:"Stream",TimeSpan:"TimeSpan",UnixTime:"UnixTime"};var Gc=__nccwpck_require__(30);const zc=Gc.w;function getOperationArgumentValueFromParameter(e,t,r){let n=t.parameterPath;const s=t.mapper;let i;if(typeof n==="string"){n=[n]}if(Array.isArray(n)){if(n.length>0){if(s.isConstant){i=s.defaultValue}else{let t=getPropertyFromParameterPath(e,n);if(!t.propertyFound&&r){t=getPropertyFromParameterPath(r,n)}let o=false;if(!t.propertyFound){o=s.required||n[0]==="options"&&n.length===2}i=o?s.defaultValue:t.propertyValue}}}else{if(s.required){i={}}for(const[t,o]of Object.entries(n)){const n=s.type.modelProperties[t];const a=getOperationArgumentValueFromParameter(e,{parameterPath:o,mapper:n},r);if(a!==undefined){if(!i){i={}}Object.defineProperty(i,t,{value:a,enumerable:true,configurable:true,writable:true})}}}return i}function getPropertyFromParameterPath(e,t){const r={propertyFound:false};let n=0;for(;n<t.length;++n){const r=t[n];if(e&&r in e){e=e[r]}else{break}}if(n===t.length){r.propertyValue=e;r.propertyFound=true}return r}const Yc=Symbol.for("@azure/core-client original request");function hasOriginalRequest(e){return Yc in e}function getOperationRequestInfo(e){if(hasOriginalRequest(e)){return getOperationRequestInfo(e[Yc])}let t=zc.operationRequestMap.get(e);if(!t){t={};zc.operationRequestMap.set(e,t)}return t}const Vc=["application/json","text/json"];const Jc=["application/xml","application/atom+xml"];const Wc="deserializationPolicy";function deserializationPolicy(e={}){const t=e.expectedContentTypes?.json??Vc;const r=e.expectedContentTypes?.xml??Jc;const n=e.parseXML;const s=e.serializerOptions;const i={xml:{rootName:s?.xml.rootName??"",includeRoot:s?.xml.includeRoot??false,xmlCharKey:s?.xml.xmlCharKey??Oc}};return{name:Wc,async sendRequest(e,s){const o=await s(e);return deserializeResponseBody(t,r,o,i,n)}}}function getOperationResponseMap(e){let t;const r=e.request;const n=getOperationRequestInfo(r);const s=n?.operationSpec;if(s){if(!n?.operationResponseGetter){t=s.responses[e.status]}else{t=n?.operationResponseGetter(s,e)}}return t}function shouldDeserializeResponse(e){const t=e.request;const r=getOperationRequestInfo(t);const n=r?.shouldDeserialize;let s;if(n===undefined){s=true}else if(typeof n==="boolean"){s=n}else{s=n(e)}return s}async function deserializeResponseBody(e,t,r,n,s){const i=await parse(e,t,r,n,s);if(!shouldDeserializeResponse(i)){return i}const o=getOperationRequestInfo(i.request);const a=o?.operationSpec;if(!a||!a.responses){return i}const c=getOperationResponseMap(i);const{error:l,shouldReturnResponse:A}=handleErrorResponse(i,a,c,n);if(l){throw l}else if(A){return i}if(c){if(c.bodyMapper){let e=i.parsedBody;if(a.isXML&&c.bodyMapper.type.name===qc.Sequence){e=typeof e==="object"?e[c.bodyMapper.xmlElementName]:[]}try{i.parsedBody=a.serializer.deserialize(c.bodyMapper,e,"operationRes.parsedBody",n)}catch(e){const t=new wc(`Error ${e} occurred in deserializing the responseBody - ${i.bodyAsText}`,{statusCode:i.status,request:i.request,response:i});throw t}}else if(a.httpMethod==="HEAD"){i.parsedBody=r.status>=200&&r.status<300}if(c.headersMapper){i.parsedHeaders=a.serializer.deserialize(c.headersMapper,i.headers.toJSON(),"operationRes.parsedHeaders",{xml:{},ignoreUnknownProperties:true})}}return i}function isOperationSpecEmpty(e){const t=Object.keys(e.responses);return t.length===0||t.length===1&&t[0]==="default"}function handleErrorResponse(e,t,r,n){const s=200<=e.status&&e.status<300;const i=isOperationSpecEmpty(t)?s:!!r;if(i){if(r){if(!r.isError){return{error:null,shouldReturnResponse:false}}}else{return{error:null,shouldReturnResponse:false}}}const o=r??t.responses.default;const a=e.request.streamResponseStatusCodes?.has(e.status)?`Unexpected status code: ${e.status}`:e.bodyAsText;const c=new wc(a,{statusCode:e.status,request:e.request,response:e});if(!o&&!(e.parsedBody?.error?.code&&e.parsedBody?.error?.message)){throw c}const l=o?.bodyMapper;const A=o?.headersMapper;try{if(e.parsedBody){const r=e.parsedBody;let s;if(l){let e=r;if(t.isXML&&l.type.name===qc.Sequence){e=[];const t=l.xmlElementName;if(typeof r==="object"&&t){e=r[t]}}s=t.serializer.deserialize(l,e,"error.response.parsedBody",n)}const i=r.error||s||r;c.code=i.code;if(i.message){c.message=i.message}if(l){c.response.parsedBody=s}}if(e.headers&&A){c.response.parsedHeaders=t.serializer.deserialize(A,e.headers.toJSON(),"operationRes.parsedHeaders")}}catch(t){c.message=`Error "${t.message}" occurred in deserializing the responseBody - "${e.bodyAsText}" for the default response.`}return{error:c,shouldReturnResponse:false}}async function parse(e,t,r,n,s){if(!r.request.streamResponseStatusCodes?.has(r.status)&&r.bodyAsText){const i=r.bodyAsText;const o=r.headers.get("Content-Type")||"";const a=!o?[]:o.split(";").map((e=>e.toLowerCase()));try{if(a.length===0||a.some((t=>e.indexOf(t)!==-1))){r.parsedBody=JSON.parse(i);return r}else if(a.some((e=>t.indexOf(e)!==-1))){if(!s){throw new Error("Parsing XML not supported.")}const e=await s(i,n.xml);r.parsedBody=e;return r}}catch(e){const t=`Error "${e}" occurred while parsing the response body - ${r.bodyAsText}.`;const n=e.code||wc.PARSE_ERROR;const s=new wc(t,{code:n,statusCode:r.status,request:r.request,response:r});throw s}}return r}function getStreamingResponseStatusCodes(e){const t=new Set;for(const[r,n]of Object.entries(e.responses)){if(n.bodyMapper&&n.bodyMapper.type.name===qc.Stream){t.add(Number(r))}}return t}function getPathStringFromParameter(e){const{parameterPath:t,mapper:r}=e;let n;if(typeof t==="string"){n=t}else if(Array.isArray(t)){n=t.join(".")}else{n=r.serializedName}return n}const jc="serializationPolicy";function serializationPolicy(e={}){const t=e.stringifyXML;return{name:jc,sendRequest(e,r){const n=getOperationRequestInfo(e);const s=n?.operationSpec;const i=n?.operationArguments;if(s&&i){serializeHeaders(e,i,s);serializeRequestBody(e,i,s,t)}return r(e)}}}function serializeHeaders(e,t,r){if(r.headerParameters){for(const n of r.headerParameters){let s=getOperationArgumentValueFromParameter(t,n);if(s!==null&&s!==undefined||n.mapper.required){s=r.serializer.serialize(n.mapper,s,getPathStringFromParameter(n));const t=n.mapper.headerCollectionPrefix;if(t){for(const r of Object.keys(s)){e.headers.set(t+r,s[r])}}else{e.headers.set(n.mapper.serializedName||getPathStringFromParameter(n),s)}}}}const n=t.options?.requestOptions?.customHeaders;if(n){for(const t of Object.keys(n)){e.headers.set(t,n[t])}}}function serializeRequestBody(e,t,r,n=function(){throw new Error("XML serialization unsupported!")}){const s=t.options?.serializerOptions;const i={xml:{rootName:s?.xml.rootName??"",includeRoot:s?.xml.includeRoot??false,xmlCharKey:s?.xml.xmlCharKey??Oc}};const o=i.xml.xmlCharKey;if(r.requestBody&&r.requestBody.mapper){e.body=getOperationArgumentValueFromParameter(t,r.requestBody);const s=r.requestBody.mapper;const{required:a,serializedName:c,xmlName:l,xmlElementName:A,xmlNamespace:u,xmlNamespacePrefix:d,nullable:g}=s;const p=s.type.name;try{if(e.body!==undefined&&e.body!==null||g&&e.body===null||a){const t=getPathStringFromParameter(r.requestBody);e.body=r.serializer.serialize(s,e.body,t,i);const a=p===qc.Stream;if(r.isXML){const t=d?`xmlns:${d}`:"xmlns";const r=getXmlValueWithNamespace(u,t,p,e.body,i);if(p===qc.Sequence){e.body=n(prepareXMLRootList(r,A||l||c,t,u),{rootName:l||c,xmlCharKey:o})}else if(!a){e.body=n(r,{rootName:l||c,xmlCharKey:o})}}else if(p===qc.String&&(r.contentType?.match("text/plain")||r.mediaType==="text")){return}else if(!a){e.body=JSON.stringify(e.body)}}}catch(e){throw new Error(`Error "${e.message}" occurred in serializing the payload - ${JSON.stringify(c,undefined," ")}.`)}}else if(r.formDataParameters&&r.formDataParameters.length>0){e.formData={};for(const n of r.formDataParameters){const s=getOperationArgumentValueFromParameter(t,n);if(s!==undefined&&s!==null){const t=n.mapper.serializedName||getPathStringFromParameter(n);e.formData[t]=r.serializer.serialize(n.mapper,s,getPathStringFromParameter(n),i)}}}}function getXmlValueWithNamespace(e,t,r,n,s){if(e&&!["Composite","Sequence","Dictionary"].includes(r)){const r={};r[s.xml.xmlCharKey]=n;r[Uc]={[t]:e};return r}return n}function prepareXMLRootList(e,t,r,n){if(!Array.isArray(e)){e=[e]}if(!r||!n){return{[t]:e}}const s={[t]:e};s[Uc]={[r]:n};return s}function createClientPipeline(e={}){const t=esm_createPipelineFromOptions_createPipelineFromOptions(e??{});if(e.credentialOptions){t.addPolicy(bearerTokenAuthenticationPolicy({credential:e.credentialOptions.credential,scopes:e.credentialOptions.credentialScopes}))}t.addPolicy(serializationPolicy(e.serializationOptions),{phase:"Serialize"});t.addPolicy(deserializationPolicy(e.deserializationOptions),{phase:"Deserialize"});return t}let Kc;function getCachedDefaultHttpClient(){if(!Kc){Kc=esm_defaultHttpClient_createDefaultHttpClient()}return Kc}const $c={CSV:",",SSV:" ",Multi:"Multi",TSV:"\t",Pipes:"|"};function getRequestUrl(e,t,r,n){const s=calculateUrlReplacements(t,r,n);let i=false;let o=replaceAll(e,s);if(t.path){let e=replaceAll(t.path,s);if(t.path==="/{nextLink}"&&e.startsWith("/")){e=e.substring(1)}if(isAbsoluteUrl(e)){o=e;i=true}else{o=appendPath(o,e)}}const{queryParams:a,sequenceParams:c}=calculateQueryParameters(t,r,n);o=appendQueryParams(o,a,c,i);return o}function replaceAll(e,t){let r=e;for(const[e,n]of t){r=r.split(e).join(n)}return r}function calculateUrlReplacements(e,t,r){const n=new Map;if(e.urlParameters?.length){for(const s of e.urlParameters){let i=getOperationArgumentValueFromParameter(t,s,r);const o=getPathStringFromParameter(s);i=e.serializer.serialize(s.mapper,i,o);if(!s.skipEncoding){i=encodeURIComponent(i)}n.set(`{${s.mapper.serializedName||o}}`,i)}}return n}function isAbsoluteUrl(e){return e.includes("://")}function appendPath(e,t){if(!t){return e}const r=new URL(e);let n=r.pathname;if(!n.endsWith("/")){n=`${n}/`}if(t.startsWith("/")){t=t.substring(1)}const s=t.indexOf("?");if(s!==-1){const e=t.substring(0,s);const i=t.substring(s+1);n=n+e;if(i){r.search=r.search?`${r.search}&${i}`:i}}else{n=n+t}Object.assign(r,{pathname:n});return r.toString()}function calculateQueryParameters(e,t,r){const n=new Map;const s=new Set;if(e.queryParameters?.length){for(const i of e.queryParameters){if(i.mapper.type.name==="Sequence"&&i.mapper.serializedName){s.add(i.mapper.serializedName)}let o=getOperationArgumentValueFromParameter(t,i,r);if(o!==undefined&&o!==null||i.mapper.required){o=e.serializer.serialize(i.mapper,o,getPathStringFromParameter(i));const t=i.collectionFormat?$c[i.collectionFormat]:"";if(Array.isArray(o)){o=o.map((e=>{if(e===null||e===undefined){return""}return e}))}if(i.collectionFormat==="Multi"&&o.length===0){continue}else if(Array.isArray(o)&&(i.collectionFormat==="SSV"||i.collectionFormat==="TSV")){o=o.join(t)}if(!i.skipEncoding){if(Array.isArray(o)){o=o.map((e=>encodeURIComponent(e)))}else{o=encodeURIComponent(o)}}if(Array.isArray(o)&&(i.collectionFormat==="CSV"||i.collectionFormat==="Pipes")){o=o.join(t)}n.set(i.mapper.serializedName||getPathStringFromParameter(i),o)}}}return{queryParams:n,sequenceParams:s}}function simpleParseQueryParams(e){const t=new Map;if(!e||e[0]!=="?"){return t}e=e.slice(1);const r=e.split("&");for(const e of r){const[r,n]=e.split("=",2);const s=t.get(r);if(s){if(Array.isArray(s)){s.push(n)}else{t.set(r,[s,n])}}else{t.set(r,n)}}return t}function appendQueryParams(e,t,r,n=false){if(t.size===0){return e}const s=new URL(e);const i=simpleParseQueryParams(s.search);for(const[e,s]of t){const t=i.get(e);if(Array.isArray(t)){if(Array.isArray(s)){t.push(...s);const r=new Set(t);i.set(e,Array.from(r))}else{t.push(s)}}else if(t){if(Array.isArray(s)){s.unshift(t)}else if(r.has(e)){i.set(e,[t,s])}if(!n){i.set(e,s)}}else{i.set(e,s)}}const o=[];for(const[e,t]of i){if(typeof t==="string"){o.push(`${e}=${t}`)}else if(Array.isArray(t)){for(const r of t){o.push(`${e}=${r}`)}}else{o.push(`${e}=${t}`)}}s.search=o.length?`?${o.join("&")}`:"";return s.toString()}const Xc=esm_createClientLogger("core-client");class ServiceClient{_endpoint;_requestContentType;_allowInsecureConnection;_httpClient;pipeline;constructor(e={}){this._requestContentType=e.requestContentType;this._endpoint=e.endpoint??e.baseUri;if(e.baseUri){Xc.warning("The baseUri option for SDK Clients has been deprecated, please use endpoint instead.")}this._allowInsecureConnection=e.allowInsecureConnection;this._httpClient=e.httpClient||getCachedDefaultHttpClient();this.pipeline=e.pipeline||serviceClient_createDefaultPipeline(e);if(e.additionalPolicies?.length){for(const{policy:t,position:r}of e.additionalPolicies){const e=r==="perRetry"?"Sign":undefined;this.pipeline.addPolicy(t,{afterPhase:e})}}}sendRequest(e){return this.pipeline.sendRequest(this._httpClient,e)}async sendOperationRequest(e,t){const r=t.baseUrl||this._endpoint;if(!r){throw new Error("If operationSpec.baseUrl is not specified, then the ServiceClient must have a endpoint string property that contains the base URL to use.")}const n=getRequestUrl(r,t,e,this);const s=esm_pipelineRequest_createPipelineRequest({url:n});s.method=t.httpMethod;const i=getOperationRequestInfo(s);i.operationSpec=t;i.operationArguments=e;const o=t.contentType||this._requestContentType;if(o&&t.requestBody){s.headers.set("Content-Type",o)}const a=e.options;if(a){const e=a.requestOptions;if(e){if(e.timeout){s.timeout=e.timeout}if(e.onUploadProgress){s.onUploadProgress=e.onUploadProgress}if(e.onDownloadProgress){s.onDownloadProgress=e.onDownloadProgress}if(e.shouldDeserialize!==undefined){i.shouldDeserialize=e.shouldDeserialize}if(e.allowInsecureConnection){s.allowInsecureConnection=true}}if(a.abortSignal){s.abortSignal=a.abortSignal}if(a.tracingOptions){s.tracingOptions=a.tracingOptions}}if(this._allowInsecureConnection){s.allowInsecureConnection=true}if(s.streamResponseStatusCodes===undefined){s.streamResponseStatusCodes=getStreamingResponseStatusCodes(t)}try{const e=await this.sendRequest(s);const r=flattenResponse(e,t.responses[e.status]);if(a?.onResponse){a.onResponse(e,r)}return r}catch(e){if(typeof e==="object"&&e?.response){const r=e.response;const n=flattenResponse(r,t.responses[e.statusCode]||t.responses["default"]);e.details=n;if(a?.onResponse){a.onResponse(r,n,e)}}throw e}}}function serviceClient_createDefaultPipeline(e){const t=getCredentialScopes(e);const r=e.credential&&t?{credentialScopes:t,credential:e.credential}:undefined;return createClientPipeline({...e,credentialOptions:r})}function getCredentialScopes(e){if(e.credentialScopes){return e.credentialScopes}if(e.endpoint){return`${e.endpoint}/.default`}if(e.baseUri){return`${e.baseUri}/.default`}if(e.credential){throw new Error(`When using credentials, the ServiceClientOptions must contain either a endpoint or a credentialScopes. Unable to create a bearerTokenAuthenticationPolicy`)}return undefined}function parseCAEChallenge(e){const t=`, ${e.trim()}`.split(", Bearer ").filter((e=>e));return t.map((e=>{const t=`${e.trim()}, `.split('", ').filter((e=>e));const r=t.map((e=>(([e,t])=>({[e]:t}))(e.trim().split('="'))));return r.reduce(((e,t)=>({...e,...t})),{})}))}async function authorizeRequestOnClaimChallenge(e){const{scopes:t,response:r}=e;const n=e.logger||coreClientLogger;const s=r.headers.get("WWW-Authenticate");if(!s){n.info(`The WWW-Authenticate header was missing. Failed to perform the Continuous Access Evaluation authentication flow.`);return false}const i=parseCAEChallenge(s)||[];const o=i.find((e=>e.claims));if(!o){n.info(`The WWW-Authenticate header was missing the necessary "claims" to perform the Continuous Access Evaluation authentication flow.`);return false}const a=await e.getAccessToken(o.scope?[o.scope]:t,{claims:decodeStringToString(o.claims)});if(!a){return false}e.request.headers.set("Authorization",`${a.tokenType??"Bearer"} ${a.token}`);return true}const Zc={DefaultScope:"/.default",HeaderConstants:{AUTHORIZATION:"authorization"}};function isUuid(e){return/^[0-9a-fA-F]{8}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{12}$/.test(e)}const authorizeRequestOnTenantChallenge=async e=>{const t=requestToOptions(e.request);const r=getChallenge(e.response);if(r){const n=parseChallenge(r);const s=buildScopes(e,n);const i=extractTenantId(n);if(!i){return false}const o=await e.getAccessToken(s,{...t,tenantId:i});if(!o){return false}e.request.headers.set(Zc.HeaderConstants.AUTHORIZATION,`${o.tokenType??"Bearer"} ${o.token}`);return true}return false};function extractTenantId(e){const t=new URL(e.authorization_uri);const r=t.pathname.split("/");const n=r[1];if(n&&isUuid(n)){return n}return undefined}function buildScopes(e,t){if(!t.resource_id){return e.scopes}const r=new URL(t.resource_id);let n=new URL(Zc.DefaultScope,r.origin).toString();if(n==="https://disk.azure.com/.default"){n="https://disk.azure.com//.default"}return[n]}function getChallenge(e){const t=e.headers.get("WWW-Authenticate");if(e.status===401&&t){return t}return}function parseChallenge(e){const t=e.slice("Bearer ".length);const r=`${t.trim()} `.split(" ").filter((e=>e));const n=r.map((e=>(([e,t])=>({[e]:t}))(e.trim().split("="))));return n.reduce(((e,t)=>({...e,...t})),{})}function requestToOptions(e){return{abortSignal:e.abortSignal,requestOptions:{timeout:e.timeout},tracingOptions:e.tracingOptions}}const el=Symbol("Original PipelineRequest");const tl=Symbol.for("@azure/core-client original request");const rl=new Set(["url","method","withCredentials","timeout","requestId","abortSignal","body","formData","onDownloadProgress","onUploadProgress","proxySettings","streamResponseStatusCodes","agent","requestOverrides"]);function toPipelineRequest(e,t={}){const r=e;const n=r[el];const s=esm_httpHeaders_createHttpHeaders(e.headers.toJson({preserveCase:true}));if(n){n.headers=s;return n}else{const r=esm_pipelineRequest_createPipelineRequest({url:e.url,method:e.method,headers:s,withCredentials:e.withCredentials,timeout:e.timeout,requestId:e.requestId,abortSignal:e.abortSignal,body:e.body,formData:e.formData,disableKeepAlive:!!e.keepAlive,onDownloadProgress:e.onDownloadProgress,onUploadProgress:e.onUploadProgress,proxySettings:e.proxySettings,streamResponseStatusCodes:e.streamResponseStatusCodes,agent:e.agent,requestOverrides:e.requestOverrides});if(t.originalRequest){r[tl]=t.originalRequest}return r}}function toWebResourceLike(e,t){const r=t?.originalRequest??e;const n={url:e.url,method:e.method,headers:toHttpHeadersLike(e.headers),withCredentials:e.withCredentials,timeout:e.timeout,requestId:e.headers.get("x-ms-client-request-id")||e.requestId,abortSignal:e.abortSignal,body:e.body,formData:e.formData,keepAlive:!!e.disableKeepAlive,onDownloadProgress:e.onDownloadProgress,onUploadProgress:e.onUploadProgress,proxySettings:e.proxySettings,streamResponseStatusCodes:e.streamResponseStatusCodes,agent:e.agent,requestOverrides:e.requestOverrides,clone(){throw new Error("Cannot clone a non-proxied WebResourceLike")},prepare(){throw new Error("WebResourceLike.prepare() is not supported by @azure/core-http-compat")},validateRequestProperties(){}};if(t?.createProxy){return new Proxy(n,{get(t,s,i){if(s===el){return e}else if(s==="clone"){return()=>toWebResourceLike(toPipelineRequest(n,{originalRequest:r}),{createProxy:true,originalRequest:r})}return Reflect.get(t,s,i)},set(t,r,n,s){if(r==="keepAlive"){e.disableKeepAlive=!n}if(typeof r==="string"&&rl.has(r)){e[r]=n}return Reflect.set(t,r,n,s)}})}else{return n}}function toHttpHeadersLike(e){return new HttpHeaders(e.toJSON({preserveCase:true}))}function getHeaderKey(e){return e.toLowerCase()}class HttpHeaders{_headersMap;constructor(e){this._headersMap={};if(e){for(const t in e){this.set(t,e[t])}}}set(e,t){this._headersMap[getHeaderKey(e)]={name:e,value:t.toString()}}get(e){const t=this._headersMap[getHeaderKey(e)];return!t?undefined:t.value}contains(e){return!!this._headersMap[getHeaderKey(e)]}remove(e){const t=this.contains(e);delete this._headersMap[getHeaderKey(e)];return t}rawHeaders(){return this.toJson({preserveCase:true})}headersArray(){const e=[];for(const t in this._headersMap){e.push(this._headersMap[t])}return e}headerNames(){const e=[];const t=this.headersArray();for(let r=0;r<t.length;++r){e.push(t[r].name)}return e}headerValues(){const e=[];const t=this.headersArray();for(let r=0;r<t.length;++r){e.push(t[r].value)}return e}toJson(e={}){const t={};if(e.preserveCase){for(const e in this._headersMap){const r=this._headersMap[e];t[r.name]=r.value}}else{for(const e in this._headersMap){const r=this._headersMap[e];t[getHeaderKey(r.name)]=r.value}}return t}toString(){return JSON.stringify(this.toJson({preserveCase:true}))}clone(){const e={};for(const t in this._headersMap){const r=this._headersMap[t];e[r.name]=r.value}return new HttpHeaders(e)}}const nl=Symbol("Original FullOperationResponse");function toCompatResponse(e,t){let r=toWebResourceLike(e.request);let n=toHttpHeadersLike(e.headers);if(t?.createProxy){return new Proxy(e,{get(t,s,i){if(s==="headers"){return n}else if(s==="request"){return r}else if(s===nl){return e}return Reflect.get(t,s,i)},set(e,t,s,i){if(t==="headers"){n=s}else if(t==="request"){r=s}return Reflect.set(e,t,s,i)}})}else{return{...e,request:r,headers:n}}}function response_toPipelineResponse(e){const t=e;const r=t[nl];const n=esm_httpHeaders_createHttpHeaders(e.headers.toJson({preserveCase:true}));if(r){r.headers=n;return r}else{return{...e,headers:n,request:toPipelineRequest(e.request)}}}class ExtendedServiceClient extends ServiceClient{constructor(e){super(e);if(e.keepAliveOptions?.enable===false&&!pipelineContainsDisableKeepAlivePolicy(this.pipeline)){this.pipeline.addPolicy(createDisableKeepAlivePolicy())}if(e.redirectOptions?.handleRedirects===false){this.pipeline.removePolicy({name:Xa})}}async sendOperationRequest(e,t){const r=e?.options?.onResponse;let n;function onResponse(e,t,s){n=e;if(r){r(e,t,s)}}e.options={...e.options,onResponse:onResponse};const s=await super.sendOperationRequest(e,t);if(n){Object.defineProperty(s,"_response",{value:toCompatResponse(n)})}return s}}var sl;(function(e){e[e["ERROR"]=1]="ERROR";e[e["INFO"]=3]="INFO";e[e["OFF"]=0]="OFF";e[e["WARNING"]=2]="WARNING"})(sl||(sl={}));const il={log(e,t){},shouldLog(e){return false}};const ol="RequestPolicyFactoryPolicy";function createRequestPolicyFactoryPolicy(e){const t=e.slice().reverse();return{name:ol,async sendRequest(e,r){let n={async sendRequest(e){const t=await r(toPipelineRequest(e));return toCompatResponse(t,{createProxy:true})}};for(const e of t){n=e.create(n,il)}const s=toWebResourceLike(e,{createProxy:true});const i=await n.sendRequest(s);return response_toPipelineResponse(i)}}}function convertHttpClient(e){return{sendRequest:async t=>{const r=await e.sendRequest(toWebResourceLike(t,{createProxy:true}));return response_toPipelineResponse(r)}}}class Expression{constructor(e,t={},r){this.pattern=e;this.separator=t.separator||".";this.segments=this._parse(e);this.data=r;this._hasDeepWildcard=this.segments.some((e=>e.type==="deep-wildcard"));this._hasAttributeCondition=this.segments.some((e=>e.attrName!==undefined));this._hasPositionSelector=this.segments.some((e=>e.position!==undefined))}_parse(e){const t=[];let r=0;let n="";while(r<e.length){if(e[r]===this.separator){if(r+1<e.length&&e[r+1]===this.separator){if(n.trim()){t.push(this._parseSegment(n.trim()));n=""}t.push({type:"deep-wildcard"});r+=2}else{if(n.trim()){t.push(this._parseSegment(n.trim()))}n="";r++}}else{n+=e[r];r++}}if(n.trim()){t.push(this._parseSegment(n.trim()))}return t}_parseSegment(e){const t={type:"tag"};let r=null;let n=e;const s=e.match(/^([^\[]+)(\[[^\]]*\])(.*)$/);if(s){n=s[1]+s[3];if(s[2]){const e=s[2].slice(1,-1);if(e){r=e}}}let i=undefined;let o=n;if(n.includes("::")){const t=n.indexOf("::");i=n.substring(0,t).trim();o=n.substring(t+2).trim();if(!i){throw new Error(`Invalid namespace in pattern: ${e}`)}}let a=undefined;let c=null;if(o.includes(":")){const e=o.lastIndexOf(":");const t=o.substring(0,e).trim();const r=o.substring(e+1).trim();const n=["first","last","odd","even"].includes(r)||/^nth\(\d+\)$/.test(r);if(n){a=t;c=r}else{a=o}}else{a=o}if(!a){throw new Error(`Invalid segment pattern: ${e}`)}t.tag=a;if(i){t.namespace=i}if(r){if(r.includes("=")){const e=r.indexOf("=");t.attrName=r.substring(0,e).trim();t.attrValue=r.substring(e+1).trim()}else{t.attrName=r.trim()}}if(c){const e=c.match(/^nth\((\d+)\)$/);if(e){t.position="nth";t.positionValue=parseInt(e[1],10)}else{t.position=c}}return t}get length(){return this.segments.length}hasDeepWildcard(){return this._hasDeepWildcard}hasAttributeCondition(){return this._hasAttributeCondition}hasPositionSelector(){return this._hasPositionSelector}toString(){return this.pattern}}class MatcherView{constructor(e){this._matcher=e}get separator(){return this._matcher.separator}getCurrentTag(){const e=this._matcher.path;return e.length>0?e[e.length-1].tag:undefined}getCurrentNamespace(){const e=this._matcher.path;return e.length>0?e[e.length-1].namespace:undefined}getAttrValue(e){const t=this._matcher.path;if(t.length===0)return undefined;return t[t.length-1].values?.[e]}hasAttr(e){const t=this._matcher.path;if(t.length===0)return false;const r=t[t.length-1];return r.values!==undefined&&e in r.values}getAnyParentAttr(e){return this._matcher.getAnyParentAttr(e)}hasAnyParentAttr(e){return this._matcher.hasAnyParentAttr(e)}getPosition(){const e=this._matcher.path;if(e.length===0)return-1;return e[e.length-1].position??0}getCounter(){const e=this._matcher.path;if(e.length===0)return-1;return e[e.length-1].counter??0}getIndex(){return this.getPosition()}getDepth(){return this._matcher.path.length}toString(e,t=true){return this._matcher.toString(e,t)}toArray(){return this._matcher.path.map((e=>e.tag))}matches(e){return this._matcher.matches(e)}matchesAny(e){return e.matchesAny(this._matcher)}}class Matcher{constructor(e={}){this.separator=e.separator||".";this.path=[];this.siblingStacks=[];this._pathStringCache=null;this._view=new MatcherView(this);this._keptAttrs=[]}push(e,t=null,r=null,n=null){this._pathStringCache=null;if(this.path.length>0){this.path[this.path.length-1].values=undefined}const s=this.path.length;let i=this.siblingStacks[s];if(!i){i={counts:new Map,total:0};this.siblingStacks[s]=i}const o=r?`${r}:${e}`:e;const a=i.counts.get(o)||0;const c=i.total;i.counts.set(o,a+1);i.total++;const l={tag:e,position:c,counter:a};if(r!==null&&r!==undefined){l.namespace=r}if(t!==null&&t!==undefined){l.values=t}this.path.push(l);const A=this.path.length;const u=n!==null?n.keep:null;if(u!==null&&u!==undefined&&u.length>0&&t){for(let e=0;e<u.length;e++){const r=u[e];if(t[r]!==undefined){this._keptAttrs.push({depth:A,name:r,value:t[r]})}}}}pop(){if(this.path.length===0)return undefined;this._pathStringCache=null;const e=this.path.pop();if(this.siblingStacks.length>this.path.length+1){this.siblingStacks.length=this.path.length+1}const t=this.path.length+1;while(this._keptAttrs.length>0&&this._keptAttrs[this._keptAttrs.length-1].depth>=t){this._keptAttrs.pop()}return e}updateCurrent(e){if(this.path.length>0){const t=this.path[this.path.length-1];if(e!==null&&e!==undefined){t.values=e}}}getCurrentTag(){return this.path.length>0?this.path[this.path.length-1].tag:undefined}getCurrentNamespace(){return this.path.length>0?this.path[this.path.length-1].namespace:undefined}getAttrValue(e){if(this.path.length===0)return undefined;return this.path[this.path.length-1].values?.[e]}hasAttr(e){if(this.path.length===0)return false;const t=this.path[this.path.length-1];return t.values!==undefined&&e in t.values}getAnyParentAttr(e){const t=this._keptAttrs;for(let r=t.length-1;r>=0;r--){if(t[r].name===e)return t[r].value}return undefined}hasAnyParentAttr(e){const t=this._keptAttrs;for(let r=t.length-1;r>=0;r--){if(t[r].name===e)return true}return false}getPosition(){if(this.path.length===0)return-1;return this.path[this.path.length-1].position??0}getCounter(){if(this.path.length===0)return-1;return this.path[this.path.length-1].counter??0}getIndex(){return this.getPosition()}getDepth(){return this.path.length}toString(e,t=true){const r=e||this.separator;const n=r===this.separator&&t===true;if(n){if(this._pathStringCache!==null){return this._pathStringCache}const e=this.path.map((e=>e.namespace?`${e.namespace}:${e.tag}`:e.tag)).join(r);this._pathStringCache=e;return e}return this.path.map((e=>t&&e.namespace?`${e.namespace}:${e.tag}`:e.tag)).join(r)}toArray(){return this.path.map((e=>e.tag))}reset(){this._pathStringCache=null;this.path=[];this.siblingStacks=[];this._keptAttrs=[]}matches(e){const t=e.segments;if(t.length===0){return false}if(e.hasDeepWildcard()){return this._matchWithDeepWildcard(t)}return this._matchSimple(t)}_matchSimple(e){if(this.path.length!==e.length){return false}for(let t=0;t<e.length;t++){if(!this._matchSegment(e[t],this.path[t],t===this.path.length-1)){return false}}return true}_matchWithDeepWildcard(e){let t=this.path.length-1;let r=e.length-1;while(r>=0&&t>=0){const n=e[r];if(n.type==="deep-wildcard"){r--;if(r<0){return true}const n=e[r];let s=false;for(let e=t;e>=0;e--){if(this._matchSegment(n,this.path[e],e===this.path.length-1)){t=e-1;r--;s=true;break}}if(!s){return false}}else{if(!this._matchSegment(n,this.path[t],t===this.path.length-1)){return false}t--;r--}}return r<0}_matchSegment(e,t,r){if(e.tag!=="*"&&e.tag!==t.tag){return false}if(e.namespace!==undefined){if(e.namespace!=="*"&&e.namespace!==t.namespace){return false}}if(e.attrName!==undefined){if(!r){return false}if(!t.values||!(e.attrName in t.values)){return false}if(e.attrValue!==undefined){if(String(t.values[e.attrName])!==String(e.attrValue)){return false}}}if(e.position!==undefined){if(!r){return false}const n=t.counter??0;if(e.position==="first"&&n!==0){return false}else if(e.position==="odd"&&n%2!==1){return false}else if(e.position==="even"&&n%2!==0){return false}else if(e.position==="nth"&&n!==e.positionValue){return false}}return true}matchesAny(e){return e.matchesAny(this)}snapshot(){return{path:this.path.map((e=>({...e}))),siblingStacks:this.siblingStacks.map((e=>e?{counts:new Map(e.counts),total:e.total}:e)),keptAttrs:this._keptAttrs.map((e=>({...e})))}}restore(e){this._pathStringCache=null;this.path=e.path.map((e=>({...e})));this.siblingStacks=e.siblingStacks.map((e=>e?{counts:new Map(e.counts),total:e.total}:e));this._keptAttrs=(e.keptAttrs||[]).map((e=>({...e})))}readOnly(){return this._view}}function valToStr(e){return typeof e==="number"&&Object.is(e,-0)?"-0":String(e)}function safeComment(e){return valToStr(e).replace(/--/g,"- -").replace(/--/g,"- -").replace(/-$/,"- ")}function safeCdata(e){return valToStr(e).replace(/\]\]>/g,"]]]]><![CDATA[>")}function escapeAttribute(e){return valToStr(e).replace(/"/g,""").replace(/'/g,"'")}const al=":A-Za-z_"+"À-ÖØ-öø-˿"+"Ͱ-ͽ"+"Ϳ-҆҈-"+"-"+"⁰-"+"Ⰰ-"+"、-"+"豈-﷏"+"ﷰ-�";const cl=al+"\\-\\.\\d"+"·"+"̀-ͯ"+"‿-⁀";const ll=":A-Za-z_"+"À-˿"+"Ͱ-ͽ"+"Ϳ-҆҈-"+"-"+"⁰-"+"Ⰰ-"+"、-"+"豈-﷏"+"ﷰ-�"+"𐀀-";const Al=ll+"\\-\\.\\d"+"·"+"̀-ͯ"+"҇"+"‿-⁀";const buildRegexes=(e,t,r="")=>{const n=e.replace(":","");const s=t.replace(":","");const i=`[${n}][${s}]*`;return{name:new RegExp(`^[${e}][${t}]*$`,r),ncName:new RegExp(`^${i}$`,r),qName:new RegExp(`^${i}(?::${i})?$`,r),nmToken:new RegExp(`^[${t}]+$`,r),nmTokens:new RegExp(`^[${t}]+(?:\\s+[${t}]+)*$`,r)}};const ul=buildRegexes(al,cl);const dl=buildRegexes(ll,Al,"u");const gl=":A-Za-z_";const pl=gl+"\\-\\.\\d";const hl=buildRegexes(gl,pl);const getRegexes=(e="1.0",t=false)=>{if(t)return hl;return e==="1.1"?dl:ul};const src_name=(e,{xmlVersion:t="1.0",asciiOnly:r=false}={})=>getRegexes(t,r).name.test(e);const ncName=(e,{xmlVersion:t="1.0",asciiOnly:r=false}={})=>getRegexes(t,r).ncName.test(e);const qName=(e,{xmlVersion:t="1.0",asciiOnly:r=false}={})=>getRegexes(t,r).qName.test(e);const nmToken=(e,{xmlVersion:t="1.0",asciiOnly:r=false}={})=>getRegexes(t,r).nmToken.test(e);const nmTokens=(e,{xmlVersion:t="1.0",asciiOnly:r=false}={})=>getRegexes(t,r).nmTokens.test(e);const ml=["name","ncName","qName","nmToken","nmTokens"];const createValidator=(e,{xmlVersion:t="1.0",asciiOnly:r=false,maxCacheSize:n=2048}={})=>{if(!ml.includes(e)){throw new TypeError(`Unknown production "${e}". Must be one of: ${ml.join(", ")}`)}const s=getRegexes(t,r)[e];let i=new Map;const validator=e=>{const t=i.get(e);if(t!==undefined)return t;const r=s.test(e);if(i.size<n)i.set(e,r);return r};validator.reset=()=>{i=new Map};return validator};const src_validate=(e,t,{xmlVersion:r="1.0",asciiOnly:n=false}={})=>{if(!ml.includes(t)){throw new TypeError(`Unknown production "${t}". Must be one of: ${ml.join(", ")}`)}const s={name:src_name,ncName:ncName,qName:qName,nmToken:nmToken,nmTokens:nmTokens};const i=s[t](e,{xmlVersion:r,asciiOnly:n});if(i)return{valid:true,production:t,input:e};let o="Does not match the production rules";let a;const c=n?/^[:A-Za-z_]/:/^[:A-Za-z_\u00C0-\uFFFD]/;const l=n?/[\w\-\\.:]/:/[\w\-\\.:\u00B7\u00C0-\uFFFD]/;if(e.length===0){o="Input is empty"}else if(t==="ncName"&&e.includes(":")){a=e.indexOf(":");o="Colon is not allowed in NCName"}else if(t==="qName"&&e.startsWith(":")){o="QName cannot start with a colon";a=0}else if(t==="qName"&&e.endsWith(":")){o="QName cannot end with a colon";a=e.length-1}else if(t==="qName"&&(e.match(/:/g)||[]).length>1){o="QName can have at most one colon";a=e.lastIndexOf(":")}else if(["name","ncName","qName"].includes(t)&&!c.test(e[0])){o=`First character "${e[0]}" is not a valid NameStartChar`;a=0}else{for(let t=0;t<e.length;t++){if(!l.test(e[t])){o=`Character "${e[t]}" at position ${t} is not a valid NameChar`;a=t;break}}}return{valid:false,production:t,input:e,reason:o,position:a}};const validateAll=(e,t,r={})=>e.map((e=>src_validate(e,t,r)));const sanitize=(e,t="name",{replacement:r="_",asciiOnly:n=false}={})=>{if(!e)return r;let s=e;if(t==="ncName"){s=s.replace(/:/g,"")}const i=n?/[^\w\-\.:]/g:/[^\w\-\.:\u00B7\u00C0-\uFFFD]/g;s=s.replace(i,r);if(t!=="nmToken"&&t!=="nmTokens"){if(/^[\-\.\d]/.test(s)){s=r+s}}return s||r};const fl="\n";function detectXmlVersionFromArray(e,t){if(!Array.isArray(e)||e.length===0)return"1.0";const r=e[0];const n=propName(r);if(n==="?xml"){const e=r[":@"];if(e){const r=t.attributeNamePrefix+"version";if(e[r])return e[r]}}return"1.0"}function resolveTagName(e,t,r,n,s){if(!r.sanitizeName)return e;if(s(e))return e;return r.sanitizeName(e,{isAttribute:t,matcher:n.readOnly()})}function toXml(e,t){let r="";if(t.format){r=fl}const n=[];if(t.stopNodes&&Array.isArray(t.stopNodes)){for(let e=0;e<t.stopNodes.length;e++){const r=t.stopNodes[e];if(typeof r==="string"){n.push(new Expression(r))}else if(r instanceof Expression){n.push(r)}}}const s=detectXmlVersionFromArray(e,t);const i=createValidator("qName",{xmlVersion:s});const o=new Matcher;return arrToStr(e,t,r,o,n,i)}function arrToStr(e,t,r,n,s,i){let o="";let a=false;if(t.maxNestedTags&&n.getDepth()>t.maxNestedTags){throw new Error("Maximum nested tags exceeded")}if(!Array.isArray(e)){if(e!==undefined&&e!==null){let r=valToStr(e);r=replaceEntitiesValue(r,t);return r}return""}for(let c=0;c<e.length;c++){const l=e[c];const A=propName(l);if(A===undefined)continue;const u=A===t.textNodeName||A===t.cdataPropName||A===t.commentPropName||A[0]==="?";const d=u?A:resolveTagName(A,false,t,n,i);const g=extractAttributeValues(l[":@"],t);n.push(d,g);const p=checkStopNode(n,s);if(d===t.textNodeName){let e=l[A];if(!p){e=t.tagValueProcessor(d,e);e=replaceEntitiesValue(e,t)}e=valToStr(e);if(a){o+=r}o+=e;a=false;n.pop();continue}else if(d===t.cdataPropName){if(a){o+=r}const e=l[A][0][t.textNodeName];const s=safeCdata(e);o+=`<![CDATA[${s}]]>`;a=false;n.pop();continue}else if(d===t.commentPropName){const e=l[A][0][t.textNodeName];const s=safeComment(e);o+=r+`\x3c!--${s}--\x3e`;a=true;n.pop();continue}else if(d[0]==="?"){const e=attr_to_str(l[":@"],t,p,n,i);const s=d==="?xml"?"":r;o+=s+`<${d}${e}?>`;a=true;n.pop();continue}let h=r;if(h!==""){h+=t.indentBy}const m=attr_to_str(l[":@"],t,p,n,i);const f=r+`<${d}${m}`;let C;if(p){C=orderedJs2Xml_getRawContent(l[A],t)}else{C=arrToStr(l[A],t,h,n,s,i)}if(t.unpairedTags.indexOf(d)!==-1){if(t.suppressUnpairedNode)o+=f+">";else o+=f+"/>"}else if((!C||C.length===0)&&t.suppressEmptyNode){o+=f+"/>"}else if(C&&C.endsWith(">")){o+=f+`>${C}${r}</${d}>`}else{o+=f+">";if(C&&r!==""&&(C.includes("/>")||C.includes("</"))){o+=r+t.indentBy+C+r}else{o+=C}o+=`</${d}>`}a=true;n.pop()}return o}function extractAttributeValues(e,t){if(!e||t.ignoreAttributes)return null;const r={};let n=false;for(let s in e){if(!Object.prototype.hasOwnProperty.call(e,s))continue;const i=s.startsWith(t.attributeNamePrefix)?s.substr(t.attributeNamePrefix.length):s;r[i]=escapeAttribute(e[s]);n=true}return n?r:null}function orderedJs2Xml_getRawContent(e,t){if(!Array.isArray(e)){if(e!==undefined&&e!==null){return valToStr(e)}return""}let r="";for(let n=0;n<e.length;n++){const s=e[n];const i=propName(s);if(i===t.textNodeName){r+=valToStr(s[i])}else if(i===t.cdataPropName){r+=s[i][0][t.textNodeName]}else if(i===t.commentPropName){r+=s[i][0][t.textNodeName]}else if(i&&i[0]==="?"){continue}else if(i){const e=attr_to_str_raw(s[":@"],t);const n=orderedJs2Xml_getRawContent(s[i],t);if(!n||n.length===0){r+=`<${i}${e}/>`}else{r+=`<${i}${e}>${n}</${i}>`}}}return r}function attr_to_str_raw(e,t){let r="";if(e&&!t.ignoreAttributes){for(let n in e){if(!Object.prototype.hasOwnProperty.call(e,n))continue;let s=e[n];if(s===true&&t.suppressBooleanAttributes){r+=` ${n.substr(t.attributeNamePrefix.length)}`}else{r+=` ${n.substr(t.attributeNamePrefix.length)}="${escapeAttribute(s)}"`}}}return r}function propName(e){const t=Object.keys(e);for(let r=0;r<t.length;r++){const n=t[r];if(!Object.prototype.hasOwnProperty.call(e,n))continue;if(n!==":@")return n}}function attr_to_str(e,t,r,n,s){let i="";if(e&&!t.ignoreAttributes){for(let o in e){if(!Object.prototype.hasOwnProperty.call(e,o))continue;const a=o.substr(t.attributeNamePrefix.length);const c=r?a:resolveTagName(a,true,t,n,s);let l;if(r){l=e[o]}else{l=t.attributeValueProcessor(o,e[o]);l=replaceEntitiesValue(l,t)}if(l===true&&t.suppressBooleanAttributes){i+=` ${c}`}else{i+=` ${c}="${escapeAttribute(l)}"`}}}return i}function checkStopNode(e,t){if(!t||t.length===0)return false;for(let r=0;r<t.length;r++){if(e.matches(t[r])){return true}}return false}function replaceEntitiesValue(e,t){if(e&&e.length>0&&t.processEntities){for(let r=0;r<t.entities.length;r++){const n=t.entities[r];e=e.replace(n.regex,n.val)}}return e}function getIgnoreAttributesFn(e){if(typeof e==="function"){return e}if(Array.isArray(e)){return t=>{for(const r of e){if(typeof r==="string"&&t===r){return true}if(r instanceof RegExp&&r.test(t)){return true}}}}return()=>false}const Cl={attributeNamePrefix:"@_",attributesGroupName:false,textNodeName:"#text",ignoreAttributes:true,cdataPropName:false,format:false,indentBy:" ",suppressEmptyNode:false,suppressUnpairedNode:true,suppressBooleanAttributes:true,tagValueProcessor:function(e,t){return t},attributeValueProcessor:function(e,t){return t},preserveOrder:false,commentPropName:false,unpairedTags:[],entities:[{regex:new RegExp("&","g"),val:"&"},{regex:new RegExp(">","g"),val:">"},{regex:new RegExp("<","g"),val:"<"},{regex:new RegExp("'","g"),val:"'"},{regex:new RegExp('"',"g"),val:"""}],processEntities:true,stopNodes:[],oneListGroup:false,maxNestedTags:100,jPath:true,sanitizeName:false};function Builder(e){this.options=Object.assign({},Cl,e);if(this.options.stopNodes&&Array.isArray(this.options.stopNodes)){this.options.stopNodes=this.options.stopNodes.map((e=>{if(typeof e==="string"&&e.startsWith("*.")){return".."+e.substring(2)}return e}))}this.stopNodeExpressions=[];if(this.options.stopNodes&&Array.isArray(this.options.stopNodes)){for(let e=0;e<this.options.stopNodes.length;e++){const t=this.options.stopNodes[e];if(typeof t==="string"){this.stopNodeExpressions.push(new Expression(t))}else if(t instanceof Expression){this.stopNodeExpressions.push(t)}}}if(this.options.ignoreAttributes===true||this.options.attributesGroupName){this.isAttribute=function(){return false}}else{this.ignoreAttributesFn=getIgnoreAttributesFn(this.options.ignoreAttributes);this.attrPrefixLen=this.options.attributeNamePrefix.length;this.isAttribute=isAttribute}this.processTextOrObjNode=processTextOrObjNode;if(this.options.format){this.indentate=indentate;this.tagEndChar=">\n";this.newLine="\n"}else{this.indentate=function(){return""};this.tagEndChar=">";this.newLine=""}}function detectXmlVersionFromObj(e,t){const r=e["?xml"];if(r&&typeof r==="object"){if(t.attributesGroupName&&r[t.attributesGroupName]){const e=r[t.attributesGroupName][t.attributeNamePrefix+"version"];if(e)return e}const e=r[t.attributeNamePrefix+"version"];if(e)return e}return"1.0"}function fxb_resolveTagName(e,t,r,n,s){if(!r.sanitizeName)return e;if(s(e))return e;return r.sanitizeName(e,{isAttribute:t,matcher:n.readOnly()})}Builder.prototype.build=function(e){if(this.options.preserveOrder){return toXml(e,this.options)}else{if(Array.isArray(e)&&this.options.arrayNodeName&&this.options.arrayNodeName.length>1){e={[this.options.arrayNodeName]:e}}const t=new Matcher;const r=detectXmlVersionFromObj(e,this.options);const n=createValidator("qName",{xmlVersion:r});return this.j2x(e,0,t,n).val}};Builder.prototype.j2x=function(e,t,r,n){let s="";let i="";if(this.options.maxNestedTags&&r.getDepth()>=this.options.maxNestedTags){throw new Error("Maximum nested tags exceeded")}const o=this.options.jPath?r.toString():r;const a=this.checkStopNode(r);for(let c in e){if(!Object.prototype.hasOwnProperty.call(e,c))continue;const l=c===this.options.textNodeName||c===this.options.cdataPropName||c===this.options.commentPropName||this.options.attributesGroupName&&c===this.options.attributesGroupName||this.isAttribute(c)||c[0]==="?";const A=l?c:fxb_resolveTagName(c,false,this.options,r,n);if(typeof e[c]==="undefined"){if(this.isAttribute(c)){i+=""}}else if(e[c]===null){if(this.isAttribute(c)){i+=""}else if(A===this.options.cdataPropName||A===this.options.commentPropName){i+=""}else if(A[0]==="?"){i+=this.indentate(t)+"<"+A+"?"+this.tagEndChar}else{i+=this.indentate(t)+"<"+A+"/"+this.tagEndChar}}else if(e[c]instanceof Date){i+=this.buildTextValNode(e[c],A,"",t,r)}else if(typeof e[c]!=="object"){const l=this.isAttribute(c);if(l&&!this.ignoreAttributesFn(l,o)){const t=fxb_resolveTagName(l,true,this.options,r,n);s+=this.buildAttrPairStr(t,valToStr(e[c]),a)}else if(!l){if(c===this.options.textNodeName){let t=this.options.tagValueProcessor(c,valToStr(e[c]));i+=this.replaceEntitiesValue(t)}else{r.push(A);const n=this.checkStopNode(r);r.pop();if(n){const r=valToStr(e[c]);if(r===""){i+=this.indentate(t)+"<"+A+this.closeTag(A)+this.tagEndChar}else{i+=this.indentate(t)+"<"+A+">"+r+"</"+A+this.tagEndChar}}else{i+=this.buildTextValNode(e[c],A,"",t,r)}}}}else if(Array.isArray(e[c])){const s=e[c].length;let o="";let a="";for(let l=0;l<s;l++){const s=e[c][l];if(typeof s==="undefined"){}else if(s===null){if(A[0]==="?")i+=this.indentate(t)+"<"+A+"?"+this.tagEndChar;else i+=this.indentate(t)+"<"+A+"/"+this.tagEndChar}else if(typeof s==="object"){if(this.options.oneListGroup){r.push(A);const e=this.j2x(s,t+1,r,n);r.pop();o+=e.val;if(this.options.attributesGroupName&&s.hasOwnProperty(this.options.attributesGroupName)){a+=e.attrStr}}else{o+=this.processTextOrObjNode(s,A,t,r,n)}}else{if(this.options.oneListGroup){let e=this.options.tagValueProcessor(A,s);e=this.replaceEntitiesValue(e);e=valToStr(e);o+=e}else{r.push(A);const e=this.checkStopNode(r);r.pop();if(e){const e=valToStr(s);if(e===""){o+=this.indentate(t)+"<"+A+this.closeTag(A)+this.tagEndChar}else{o+=this.indentate(t)+"<"+A+">"+e+"</"+A+this.tagEndChar}}else{o+=this.buildTextValNode(s,A,"",t,r)}}}}if(this.options.oneListGroup){o=this.buildObjectNode(o,A,a,t)}i+=o}else{if(this.options.attributesGroupName&&c===this.options.attributesGroupName){const t=Object.keys(e[c]);const i=t.length;for(let o=0;o<i;o++){const i=fxb_resolveTagName(t[o],true,this.options,r,n);s+=this.buildAttrPairStr(i,valToStr(e[c][t[o]]),a)}}else{i+=this.processTextOrObjNode(e[c],A,t,r,n)}}}return{attrStr:s,val:i}};Builder.prototype.buildAttrPairStr=function(e,t,r){if(!r){t=this.options.attributeValueProcessor(e,valToStr(t));t=this.replaceEntitiesValue(t)}if(this.options.suppressBooleanAttributes&&t==="true"){return" "+e}else return" "+e+'="'+escapeAttribute(t)+'"'};function processTextOrObjNode(e,t,r,n,s){const i=this.extractAttributes(e);n.push(t,i);const o=this.checkStopNode(n);if(o){const s=this.buildRawContent(e);const i=this.buildAttributesForStopNode(e);n.pop();return this.buildObjectNode(s,t,i,r)}const a=this.j2x(e,r+1,n,s);n.pop();if(t[0]==="?"){return this.buildTextValNode("",t,a.attrStr,r,n)}else if(e[this.options.textNodeName]!==undefined&&Object.keys(e).length===1){return this.buildTextValNode(e[this.options.textNodeName],t,a.attrStr,r,n)}else{return this.buildObjectNode(a.val,t,a.attrStr,r)}}Builder.prototype.extractAttributes=function(e){if(!e||typeof e!=="object")return null;const t={};let r=false;if(this.options.attributesGroupName&&e[this.options.attributesGroupName]){const n=e[this.options.attributesGroupName];for(let e in n){if(!Object.prototype.hasOwnProperty.call(n,e))continue;const s=e.startsWith(this.options.attributeNamePrefix)?e.substring(this.options.attributeNamePrefix.length):e;t[s]=escapeAttribute(n[e]);r=true}}else{for(let n in e){if(!Object.prototype.hasOwnProperty.call(e,n))continue;const s=this.isAttribute(n);if(s){t[s]=escapeAttribute(e[n]);r=true}}}return r?t:null};Builder.prototype.buildRawContent=function(e){if(typeof e==="string"){return e}if(typeof e!=="object"||e===null){return String(e)}if(e[this.options.textNodeName]!==undefined){return e[this.options.textNodeName]}let t="";for(let r in e){if(!Object.prototype.hasOwnProperty.call(e,r))continue;if(this.isAttribute(r))continue;if(this.options.attributesGroupName&&r===this.options.attributesGroupName)continue;const n=e[r];if(r===this.options.textNodeName){t+=n}else if(Array.isArray(n)){for(let e of n){if(typeof e==="string"||typeof e==="number"){t+=`<${r}>${e}</${r}>`}else if(typeof e==="object"&&e!==null){const n=this.buildRawContent(e);const s=this.buildAttributesForStopNode(e);if(n===""){t+=`<${r}${s}/>`}else{t+=`<${r}${s}>${n}</${r}>`}}}}else if(typeof n==="object"&&n!==null){const e=this.buildRawContent(n);const s=this.buildAttributesForStopNode(n);if(e===""){t+=`<${r}${s}/>`}else{t+=`<${r}${s}>${e}</${r}>`}}else{t+=`<${r}>${n}</${r}>`}}return t};Builder.prototype.buildAttributesForStopNode=function(e){if(!e||typeof e!=="object")return"";let t="";if(this.options.attributesGroupName&&e[this.options.attributesGroupName]){const r=e[this.options.attributesGroupName];for(let e in r){if(!Object.prototype.hasOwnProperty.call(r,e))continue;const n=e.startsWith(this.options.attributeNamePrefix)?e.substring(this.options.attributeNamePrefix.length):e;const s=r[e];if(s===true&&this.options.suppressBooleanAttributes){t+=" "+n}else{t+=" "+n+'="'+escapeAttribute(s)+'"'}}}else{for(let r in e){if(!Object.prototype.hasOwnProperty.call(e,r))continue;const n=this.isAttribute(r);if(n){const s=e[r];if(s===true&&this.options.suppressBooleanAttributes){t+=" "+n}else{t+=" "+n+'="'+escapeAttribute(s)+'"'}}}}return t};Builder.prototype.buildObjectNode=function(e,t,r,n){if(e===""){if(t[0]==="?")return this.indentate(n)+"<"+t+r+"?"+this.tagEndChar;else{return this.indentate(n)+"<"+t+r+this.closeTag(t)+this.tagEndChar}}else if(t[0]==="?"){return this.indentate(n)+"<"+t+r+"?"+this.tagEndChar}else{let s="</"+t+this.tagEndChar;let i="";if(t[0]==="?"){i="?";s=""}if((r||r==="")&&e.indexOf("<")===-1){return this.indentate(n)+"<"+t+r+i+">"+e+s}else if(this.options.commentPropName!==false&&t===this.options.commentPropName&&i.length===0){return this.indentate(n)+`\x3c!--${safeComment(e)}--\x3e`+this.newLine}else{return this.indentate(n)+"<"+t+r+i+this.tagEndChar+e+this.indentate(n)+s}}};Builder.prototype.closeTag=function(e){let t="";if(this.options.unpairedTags.indexOf(e)!==-1){if(!this.options.suppressUnpairedNode)t="/"}else if(this.options.suppressEmptyNode){t="/"}else{t=`></${e}`}return t};Builder.prototype.checkStopNode=function(e){if(!this.stopNodeExpressions||this.stopNodeExpressions.length===0)return false;for(let t=0;t<this.stopNodeExpressions.length;t++){if(e.matches(this.stopNodeExpressions[t])){return true}}return false};function buildEmptyObjNode(e,t,r,n){if(e!==""){return this.buildObjectNode(e,t,r,n)}else{if(t[0]==="?")return this.indentate(n)+"<"+t+r+"?"+this.tagEndChar;else{return this.indentate(n)+"<"+t+r+"/"+this.tagEndChar}}}Builder.prototype.buildTextValNode=function(e,t,r,n,s){if(this.options.cdataPropName!==false&&t===this.options.cdataPropName){const t=safeCdata(e);return this.indentate(n)+`<![CDATA[${t}]]>`+this.newLine}else if(this.options.commentPropName!==false&&t===this.options.commentPropName){const t=safeComment(e);return this.indentate(n)+`\x3c!--${t}--\x3e`+this.newLine}else if(t[0]==="?"){return this.indentate(n)+"<"+t+r+"?"+this.tagEndChar}else{let s=this.options.tagValueProcessor(t,e);s=this.replaceEntitiesValue(s);s=valToStr(s);if(s===""){return this.indentate(n)+"<"+t+r+this.closeTag(t)+this.tagEndChar}else{return this.indentate(n)+"<"+t+r+">"+s+"</"+t+this.tagEndChar}}};Builder.prototype.replaceEntitiesValue=function(e){if(e&&e.length>0&&this.options.processEntities){for(let t=0;t<this.options.entities.length;t++){const r=this.options.entities[t];e=e.replace(r.regex,r.val)}}return e};function indentate(e){return this.options.indentBy.repeat(e)}function isAttribute(e){if(e.startsWith(this.options.attributeNamePrefix)&&e!==this.options.textNodeName){return e.substr(this.attrPrefixLen)}else{return false}}const yl=Builder;const El=":A-Za-z_\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD";const Il=El+"\\-.\\d\\u00B7\\u0300-\\u036F\\u203F-\\u2040";const Bl="["+El+"]["+Il+"]*";const Ql=new RegExp("^"+Bl+"$");function getAllMatches(e,t){const r=[];let n=t.exec(e);while(n){const s=[];s.startIndex=t.lastIndex-n[0].length;const i=n.length;for(let e=0;e<i;e++){s.push(n[e])}r.push(s);n=t.exec(e)}return r}const isName=function(e){const t=Ql.exec(e);return!(t===null||typeof t==="undefined")};function isExist(e){return typeof e!=="undefined"}function isEmptyObject(e){return Object.keys(e).length===0}function getValue(e){if(exports.isExist(e)){return e}else{return""}}const bl=["hasOwnProperty","toString","valueOf","__defineGetter__","__defineSetter__","__lookupGetter__","__lookupSetter__"];const Sl=["__proto__","constructor","prototype"];const wl={allowBooleanAttributes:false,unpairedTags:[]};function validator_validate(e,t){t=Object.assign({},wl,t);const r=[];let n=false;let s=false;if(e[0]==="\ufeff"){e=e.substr(1)}for(let i=0;i<e.length;i++){if(e[i]==="<"&&e[i+1]==="?"){i+=2;i=readPI(e,i);if(i.err)return i}else if(e[i]==="<"){let o=i;i++;if(e[i]==="!"){i=readCommentAndCDATA(e,i);continue}else{let a=false;if(e[i]==="/"){a=true;i++}let c="";for(;i<e.length&&e[i]!==">"&&e[i]!==" "&&e[i]!=="\t"&&e[i]!=="\n"&&e[i]!=="\r";i++){c+=e[i]}c=c.trim();if(c[c.length-1]==="/"){c=c.substring(0,c.length-1);i--}if(!validateTagName(c)){let t;if(c.trim().length===0){t="Invalid space after '<'."}else{t="Tag '"+c+"' is an invalid name."}return getErrorObject("InvalidTag",t,getLineNumberForPosition(e,i))}const l=readAttributeStr(e,i);if(l===false){return getErrorObject("InvalidAttr","Attributes for '"+c+"' have open quote.",getLineNumberForPosition(e,i))}let A=l.value;i=l.index;if(A[A.length-1]==="/"){const r=i-A.length;A=A.substring(0,A.length-1);const s=validateAttributeString(A,t);if(s===true){n=true}else{return getErrorObject(s.err.code,s.err.msg,getLineNumberForPosition(e,r+s.err.line))}}else if(a){if(!l.tagClosed){return getErrorObject("InvalidTag","Closing tag '"+c+"' doesn't have proper closing.",getLineNumberForPosition(e,i))}else if(A.trim().length>0){return getErrorObject("InvalidTag","Closing tag '"+c+"' can't have attributes or invalid starting.",getLineNumberForPosition(e,o))}else if(r.length===0){return getErrorObject("InvalidTag","Closing tag '"+c+"' has not been opened.",getLineNumberForPosition(e,o))}else{const t=r.pop();if(c!==t.tagName){let r=getLineNumberForPosition(e,t.tagStartPos);return getErrorObject("InvalidTag","Expected closing tag '"+t.tagName+"' (opened in line "+r.line+", col "+r.col+") instead of closing tag '"+c+"'.",getLineNumberForPosition(e,o))}if(r.length==0){s=true}}}else{const a=validateAttributeString(A,t);if(a!==true){return getErrorObject(a.err.code,a.err.msg,getLineNumberForPosition(e,i-A.length+a.err.line))}if(s===true){return getErrorObject("InvalidXml","Multiple possible root nodes found.",getLineNumberForPosition(e,i))}else if(t.unpairedTags.indexOf(c)!==-1){}else{r.push({tagName:c,tagStartPos:o})}n=true}for(i++;i<e.length;i++){if(e[i]==="<"){if(e[i+1]==="!"){i++;i=readCommentAndCDATA(e,i);continue}else if(e[i+1]==="?"){i=readPI(e,++i);if(i.err)return i}else{break}}else if(e[i]==="&"){const t=validateAmpersand(e,i);if(t==-1)return getErrorObject("InvalidChar","char '&' is not expected.",getLineNumberForPosition(e,i));i=t}else{if(s===true&&!validator_isWhiteSpace(e[i])){return getErrorObject("InvalidXml","Extra text at the end",getLineNumberForPosition(e,i))}}}if(e[i]==="<"){i--}}}else{if(validator_isWhiteSpace(e[i])){continue}return getErrorObject("InvalidChar","char '"+e[i]+"' is not expected.",getLineNumberForPosition(e,i))}}if(!n){return getErrorObject("InvalidXml","Start tag expected.",1)}else if(r.length==1){return getErrorObject("InvalidTag","Unclosed tag '"+r[0].tagName+"'.",getLineNumberForPosition(e,r[0].tagStartPos))}else if(r.length>0){return getErrorObject("InvalidXml","Invalid '"+JSON.stringify(r.map((e=>e.tagName)),null,4).replace(/\r?\n/g,"")+"' found.",{line:1,col:1})}return true}function validator_isWhiteSpace(e){return e===" "||e==="\t"||e==="\n"||e==="\r"}function readPI(e,t){const r=t;for(;t<e.length;t++){if(e[t]=="?"||e[t]==" "){const n=e.substr(r,t-r);if(t>5&&n==="xml"){return getErrorObject("InvalidXml","XML declaration allowed only at the start of the document.",getLineNumberForPosition(e,t))}else if(e[t]=="?"&&e[t+1]==">"){t++;break}else{continue}}}return t}function readCommentAndCDATA(e,t){if(e.length>t+5&&e[t+1]==="-"&&e[t+2]==="-"){for(t+=3;t<e.length;t++){if(e[t]==="-"&&e[t+1]==="-"&&e[t+2]===">"){t+=2;break}}}else if(e.length>t+8&&e[t+1]==="D"&&e[t+2]==="O"&&e[t+3]==="C"&&e[t+4]==="T"&&e[t+5]==="Y"&&e[t+6]==="P"&&e[t+7]==="E"){let r=1;for(t+=8;t<e.length;t++){if(e[t]==="<"){r++}else if(e[t]===">"){r--;if(r===0){break}}}}else if(e.length>t+9&&e[t+1]==="["&&e[t+2]==="C"&&e[t+3]==="D"&&e[t+4]==="A"&&e[t+5]==="T"&&e[t+6]==="A"&&e[t+7]==="["){for(t+=8;t<e.length;t++){if(e[t]==="]"&&e[t+1]==="]"&&e[t+2]===">"){t+=2;break}}}return t}const Dl='"';const Nl="'";function readAttributeStr(e,t){let r="";let n="";let s=false;for(;t<e.length;t++){if(e[t]===Dl||e[t]===Nl){if(n===""){n=e[t]}else if(n!==e[t]){}else{n=""}}else if(e[t]===">"){if(n===""){s=true;break}}r+=e[t]}if(n!==""){return false}return{value:r,index:t,tagClosed:s}}function scanAttributeTokens(e){const t=[];const r=e.length;let n=0;while(n<r){const s=n;while(n<r&&validator_isWhiteSpace(e[n]))n++;if(n>=r)break;if(e[n]==="="){n=s+1;continue}const i=e.slice(s,n);const o=n;while(n<r&&!validator_isWhiteSpace(e[n])&&e[n]!=="=")n++;const a=e.slice(o,n);let c;let l=n;while(l<r&&validator_isWhiteSpace(e[l]))l++;if(l<r&&e[l]==="="){c=e.slice(n,l+1);n=l+1}let A;let u;let d=n;while(d<r&&validator_isWhiteSpace(e[d]))d++;if(d<r&&(e[d]==='"'||e[d]==="'")){const t=d+1;const r=e.indexOf(e[d],t);if(r!==-1){A=e[d];u=e.slice(t,r);n=r+1}}const g={startIndex:s};g[1]=i;g[2]=a;g[3]=c;g[4]=A!==undefined?true:undefined;g[5]=A;g[6]=u;t.push(g)}return t}function validateAttributeString(e,t){const r=scanAttributeTokens(e);const n={};for(let e=0;e<r.length;e++){if(r[e][1].length===0){return getErrorObject("InvalidAttr","Attribute '"+r[e][2]+"' has no space in starting.",getPositionFromMatch(r[e]))}else if(r[e][3]!==undefined&&r[e][4]===undefined){return getErrorObject("InvalidAttr","Attribute '"+r[e][2]+"' is without value.",getPositionFromMatch(r[e]))}else if(r[e][3]===undefined&&!t.allowBooleanAttributes){return getErrorObject("InvalidAttr","boolean attribute '"+r[e][2]+"' is not allowed.",getPositionFromMatch(r[e]))}const s=r[e][2];if(!validateAttrName(s)){return getErrorObject("InvalidAttr","Attribute '"+s+"' is an invalid name.",getPositionFromMatch(r[e]))}if(!Object.prototype.hasOwnProperty.call(n,s)){n[s]=1}else{return getErrorObject("InvalidAttr","Attribute '"+s+"' is repeated.",getPositionFromMatch(r[e]))}}return true}function validateNumberAmpersand(e,t){let r=/\d/;if(e[t]==="x"){t++;r=/[\da-fA-F]/}for(;t<e.length;t++){if(e[t]===";")return t;if(!e[t].match(r))break}return-1}function validateAmpersand(e,t){t++;if(e[t]===";")return-1;if(e[t]==="#"){t++;return validateNumberAmpersand(e,t)}let r=0;for(;t<e.length;t++,r++){if(e[t].match(/\w/)&&r<20)continue;if(e[t]===";")break;return-1}return t}function getErrorObject(e,t,r){return{err:{code:e,msg:t,line:r.line||r,col:r.col}}}function validateAttrName(e){return isName(e)}function validateTagName(e){return isName(e)}function getLineNumberForPosition(e,t){const r=e.substring(0,t).split(/\r?\n/);return{line:r.length,col:r[r.length-1].length+1}}function getPositionFromMatch(e){return e.startIndex+e[1].length}const xl={validate:validator_validate};const defaultOnDangerousProperty=e=>{if(bl.includes(e)){return"__"+e}return e};const Rl={preserveOrder:false,attributeNamePrefix:"@_",attributesGroupName:false,textNodeName:"#text",ignoreAttributes:true,removeNSPrefix:false,allowBooleanAttributes:false,parseTagValue:true,parseAttributeValue:false,trimValues:true,cdataPropName:false,numberParseOptions:{hex:true,leadingZeros:true,eNotation:true,unicode:false},tagValueProcessor:function(e,t){return t},attributeValueProcessor:function(e,t){return t},stopNodes:[],alwaysCreateTextNode:false,isArray:()=>false,commentPropName:false,unpairedTags:[],processEntities:true,htmlEntities:false,entityDecoder:null,ignoreDeclaration:false,ignorePiTags:false,transformTagName:false,transformAttributeName:false,updateTag:function(e,t,r){return e},captureMetaData:false,maxNestedTags:100,strictReservedNames:true,jPath:true,onDangerousProperty:defaultOnDangerousProperty};function validatePropertyName(e,t){if(typeof e!=="string"){return}const r=e.toLowerCase();if(bl.some((e=>r===e.toLowerCase()))){throw new Error(`[SECURITY] Invalid ${t}: "${e}" is a reserved JavaScript keyword that could cause prototype pollution`)}if(Sl.some((e=>r===e.toLowerCase()))){throw new Error(`[SECURITY] Invalid ${t}: "${e}" is a reserved JavaScript keyword that could cause prototype pollution`)}}function normalizeProcessEntities(e,t){if(typeof e==="boolean"){return{enabled:e,maxEntitySize:1e4,maxExpansionDepth:1e4,maxTotalExpansions:Infinity,maxExpandedLength:1e5,maxEntityCount:1e3,allowedTags:null,tagFilter:null,appliesTo:"all"}}if(typeof e==="object"&&e!==null){return{enabled:e.enabled!==false,maxEntitySize:Math.max(1,e.maxEntitySize??1e4),maxExpansionDepth:Math.max(1,e.maxExpansionDepth??1e4),maxTotalExpansions:Math.max(1,e.maxTotalExpansions??Infinity),maxExpandedLength:Math.max(1,e.maxExpandedLength??1e5),maxEntityCount:Math.max(1,e.maxEntityCount??1e3),allowedTags:e.allowedTags??null,tagFilter:e.tagFilter??null,appliesTo:e.appliesTo??"all"}}return normalizeProcessEntities(true)}const buildOptions=function(e){const t=Object.assign({},Rl,e);const r=[{value:t.attributeNamePrefix,name:"attributeNamePrefix"},{value:t.attributesGroupName,name:"attributesGroupName"},{value:t.textNodeName,name:"textNodeName"},{value:t.cdataPropName,name:"cdataPropName"},{value:t.commentPropName,name:"commentPropName"}];for(const{value:e,name:t}of r){if(e){validatePropertyName(e,t)}}if(t.onDangerousProperty===null){t.onDangerousProperty=defaultOnDangerousProperty}t.processEntities=normalizeProcessEntities(t.processEntities,t.htmlEntities);t.unpairedTagsSet=new Set(t.unpairedTags);if(t.stopNodes&&Array.isArray(t.stopNodes)){t.stopNodes=t.stopNodes.map((e=>{if(typeof e==="string"&&e.startsWith("*.")){return".."+e.substring(2)}return e}))}return t};let vl;if(typeof Symbol!=="function"){vl="@@xmlMetadata"}else{vl=Symbol("XML Node Metadata")}class XmlNode{constructor(e){this.tagname=e;this.child=[];this[":@"]=Object.create(null)}add(e,t){if(e==="__proto__")e="#__proto__";this.child.push({[e]:t})}addChild(e,t){if(e.tagname==="__proto__")e.tagname="#__proto__";if(e[":@"]&&Object.keys(e[":@"]).length>0){this.child.push({[e.tagname]:e.child,[":@"]:e[":@"]})}else{this.child.push({[e.tagname]:e.child})}this.addStartIndex(t)}addStartIndex(e){if(e!==undefined){this.child[this.child.length-1][vl]={startIndex:e}}}addEndIndex(e){const t=this.child[this.child.length-1];if(t!==undefined&&t[vl]!==undefined&&t[vl].endIndex===undefined){t[vl].endIndex=e}}static getMetaDataSymbol(){return vl}}class DocTypeReader{constructor(e,t){this.suppressValidationErr=!e;this.options=e;this.xmlVersion=t||1}setXmlVersion(e=1){this.xmlVersion=e}readDocType(e,t){const r=Object.create(null);let n=0;if(e[t+3]==="O"&&e[t+4]==="C"&&e[t+5]==="T"&&e[t+6]==="Y"&&e[t+7]==="P"&&e[t+8]==="E"){t=t+9;let s=1;let i=false,o=false;let a=null;let c="";for(;t<e.length;t++){if(a!==null){if(e[t]===a)a=null;c+=e[t];continue}if(!i&&!o&&(e[t]==='"'||e[t]==="'")){a=e[t];c+=e[t];continue}if(e[t]==="<"&&!o){if(i&&hasSeq(e,"!ENTITY",t)){t+=7;let s,i;[s,i,t]=this.readEntityExp(e,t+1,this.suppressValidationErr);if(i.indexOf("&")===-1){if(this.options.enabled!==false&&this.options.maxEntityCount!=null&&n>=this.options.maxEntityCount){throw new Error(`Entity count (${n+1}) exceeds maximum allowed (${this.options.maxEntityCount})`)}r[s]=i;n++}}else if(i&&hasSeq(e,"!ELEMENT",t)){t+=8;const{index:r}=this.readElementExp(e,t+1);t=r}else if(i&&hasSeq(e,"!ATTLIST",t)){t+=8}else if(i&&hasSeq(e,"!NOTATION",t)){t+=9;const{index:r}=this.readNotationExp(e,t+1,this.suppressValidationErr);t=r}else if(hasSeq(e,"!--",t))o=true;else throw new Error(`Invalid DOCTYPE`);s++;c=""}else if(e[t]===">"){if(o){if(e[t-1]==="-"&&e[t-2]==="-"){o=false;s--}}else{s--}if(s===0){break}}else if(e[t]==="["){i=true}else{c+=e[t]}}if(a!==null||s!==0){throw new Error(`Unclosed DOCTYPE`)}}else{throw new Error(`Invalid Tag instead of DOCTYPE`)}return{entities:r,i:t}}readEntityExp(e,t){t=skipWhitespace(e,t);const r=t;while(t<e.length&&!/\s/.test(e[t])&&e[t]!=='"'&&e[t]!=="'"){t++}let n=e.substring(r,t);validateEntityName(n,{xmlVersion:this.xmlVersion});t=skipWhitespace(e,t);if(!this.suppressValidationErr){if(e.substring(t,t+6).toUpperCase()==="SYSTEM"){throw new Error("External entities are not supported")}else if(e[t]==="%"){throw new Error("Parameter entities are not supported")}}let s="";[t,s]=this.readIdentifierVal(e,t,"entity");if(this.options.enabled!==false&&this.options.maxEntitySize!=null&&s.length>this.options.maxEntitySize){throw new Error(`Entity "${n}" size (${s.length}) exceeds maximum allowed size (${this.options.maxEntitySize})`)}t--;return[n,s,t]}readNotationExp(e,t){t=skipWhitespace(e,t);const r=t;while(t<e.length&&!/\s/.test(e[t])){t++}let n=e.substring(r,t);!this.suppressValidationErr&&validateEntityName(n,{xmlVersion:this.xmlVersion});t=skipWhitespace(e,t);const s=e.substring(t,t+6).toUpperCase();if(!this.suppressValidationErr&&s!=="SYSTEM"&&s!=="PUBLIC"){throw new Error(`Expected SYSTEM or PUBLIC, found "${s}"`)}t+=s.length;t=skipWhitespace(e,t);let i=null;let o=null;if(s==="PUBLIC"){[t,i]=this.readIdentifierVal(e,t,"publicIdentifier");t=skipWhitespace(e,t);if(e[t]==='"'||e[t]==="'"){[t,o]=this.readIdentifierVal(e,t,"systemIdentifier")}}else if(s==="SYSTEM"){[t,o]=this.readIdentifierVal(e,t,"systemIdentifier");if(!this.suppressValidationErr&&!o){throw new Error("Missing mandatory system identifier for SYSTEM notation")}}return{notationName:n,publicIdentifier:i,systemIdentifier:o,index:--t}}readIdentifierVal(e,t,r){let n="";const s=e[t];if(s!=='"'&&s!=="'"){throw new Error(`Expected quoted string, found "${s}"`)}t++;const i=t;while(t<e.length&&e[t]!==s){t++}n=e.substring(i,t);if(e[t]!==s){throw new Error(`Unterminated ${r} value`)}t++;return[t,n]}readElementExp(e,t){t=skipWhitespace(e,t);const r=t;while(t<e.length&&!/\s/.test(e[t])){t++}let n=e.substring(r,t);if(!this.suppressValidationErr&&!qName(n,{xmlVersion:this.xmlVersion})){throw new Error(`Invalid element name: "${n}"`)}t=skipWhitespace(e,t);let s="";if(e[t]==="E"&&hasSeq(e,"MPTY",t))t+=4;else if(e[t]==="A"&&hasSeq(e,"NY",t))t+=2;else if(e[t]==="("){t++;const r=t;while(t<e.length&&e[t]!==")"){t++}s=e.substring(r,t);if(e[t]!==")"){throw new Error("Unterminated content model")}}else if(!this.suppressValidationErr){throw new Error(`Invalid Element Expression, found "${e[t]}"`)}return{elementName:n,contentModel:s.trim(),index:t}}readAttlistExp(e,t){t=skipWhitespace(e,t);let r=t;while(t<e.length&&!/\s/.test(e[t])){t++}let n=e.substring(r,t);validateEntityName(n,{xmlVersion:this.xmlVersion});t=skipWhitespace(e,t);r=t;while(t<e.length&&!/\s/.test(e[t])){t++}let s=e.substring(r,t);if(!validateEntityName(s,{xmlVersion:this.xmlVersion})){throw new Error(`Invalid attribute name: "${s}"`)}t=skipWhitespace(e,t);let i="";if(e.substring(t,t+8).toUpperCase()==="NOTATION"){i="NOTATION";t+=8;t=skipWhitespace(e,t);if(e[t]!=="("){throw new Error(`Expected '(', found "${e[t]}"`)}t++;let r=[];while(t<e.length&&e[t]!==")"){const n=t;while(t<e.length&&e[t]!=="|"&&e[t]!==")"){t++}let s=e.substring(n,t);s=s.trim();if(!validateEntityName(s,{xmlVersion:this.xmlVersion})){throw new Error(`Invalid notation name: "${s}"`)}r.push(s);if(e[t]==="|"){t++;t=skipWhitespace(e,t)}}if(e[t]!==")"){throw new Error("Unterminated list of notations")}t++;i+=" ("+r.join("|")+")"}else{const r=t;while(t<e.length&&!/\s/.test(e[t])){t++}i+=e.substring(r,t);const n=["CDATA","ID","IDREF","IDREFS","ENTITY","ENTITIES","NMTOKEN","NMTOKENS"];if(!this.suppressValidationErr&&!n.includes(i.toUpperCase())){throw new Error(`Invalid attribute type: "${i}"`)}}t=skipWhitespace(e,t);let o="";if(e.substring(t,t+8).toUpperCase()==="#REQUIRED"){o="#REQUIRED";t+=8}else if(e.substring(t,t+7).toUpperCase()==="#IMPLIED"){o="#IMPLIED";t+=7}else{[t,o]=this.readIdentifierVal(e,t,"ATTLIST")}return{elementName:n,attributeName:s,attributeType:i,defaultValue:o,index:t}}}const skipWhitespace=(e,t)=>{while(t<e.length&&/\s/.test(e[t])){t++}return t};function hasSeq(e,t,r){for(let n=0;n<t.length;n++){if(t[n]!==e[r+n+1])return false}return true}function validateEntityName(e,t){if(qName(e,{xmlVersion:t}))return e;else throw new Error(`Invalid entity name ${e}`)}const kl=[48,1632,1776,2406,2534,2662,2790,2918,3046,3174,3302,3430,3558,3664,3792,3872,4160,4240,6112,6160,6470,6608,6784,6800,6992,7088,7232,7248,65296,120782,120792,120802,120812,120822,66720,68912,69734,69872,69942,70096,70384,70736,70864,71248,71360,71472,71904,72016,72688,72784,73040,73120,73552,92768,92864,93008,123200,123632,124144,125264,130032];const Fl=255;const Tl=new Map;const Ml=65535;const Pl=1632;const Ll=Pl;const Ul=Ml-Pl+1;const Ol=new Uint8Array(Ul).fill(Fl);for(const e of kl){for(let t=0;t<10;t++){const r=e+t;if(r<=Ml){Ol[r-Ll]=t}else{Tl.set(r,t)}}}const Hl=48;const _l=57;const ql=45;const Gl=new Set([8722,65293,65123]);function anynum(e){if(typeof e!=="string")return e;const t=e.length;if(t===0)return e;let r=-1;for(let n=0;n<t;n++){const s=e.charCodeAt(n);if(s>=Hl&&s<=_l||s===ql)continue;if(s<Ll){if(Gl.has(s)){r=n;break}continue}if(s>=55296&&s<=56319){if(n+1<t){const t=e.charCodeAt(n+1);if(t>=56320&&t<=57343){const e=65536+(s-55296<<10)+(t-56320);if(Tl.has(e)){r=n;break}}}continue}if(Ol[s-Ll]!==Fl||Gl.has(s)){r=n;break}}if(r===-1)return e;const n=[];if(r>0)n.push(e.slice(0,r));for(let s=r;s<t;s++){const r=e.charCodeAt(s);if(r>=Hl&&r<=_l||r===ql){n.push(e[s]);continue}if(r<Ll){n.push(Gl.has(r)?"-":e[s]);continue}if(r>=55296&&r<=56319){if(s+1<t){const t=e.charCodeAt(s+1);if(t>=56320&&t<=57343){const e=65536+(r-55296<<10)+(t-56320);const i=Tl.get(e);if(i!==undefined){n.push(String.fromCharCode(i+48));s++;continue}}}n.push(e[s]);continue}if(Gl.has(r)){n.push("-");continue}const i=Ol[r-Ll];n.push(i!==Fl?String.fromCharCode(i+48):e[s])}return n.join("")}const zl=anynum;const Yl=/^[-+]?0x[a-fA-F0-9]+$/;const Vl=/^0b[01]+$/;const Jl=/^0o[0-7]+$/;const Wl=/^([\-\+])?(0*)([0-9]*(\.[0-9]*)?)$/;const jl={hex:true,binary:false,octal:false,leadingZeros:true,decimalPoint:".",eNotation:true,infinity:"original",unicode:false};function toNumber(e,t={}){t=Object.assign({},jl,t);if(!e||typeof e!=="string")return e;let r=e.trim();if(r.length===0)return e;else if(t.skipLike!==undefined&&t.skipLike.test(r))return e;else if(r==="0")return 0;if(t.unicode){r=zl(r);if(r==="0")return 0}if(t.hex&&Yl.test(r)){return parse_int(r,16)}else if(t.binary&&Vl.test(r)){return parse_int(r,2)}else if(t.octal&&Jl.test(r)){return parse_int(r,8)}else if(!isFinite(r)){return handleInfinity(e,Number(r),t)}else if(r.includes("e")||r.includes("E")){return resolveEnotation(e,r,t)}else{const n=Wl.exec(r);if(n){const s=n[1]||"";const i=n[2];let o=trimZeros(n[3]);const a=s?e[i.length+1]===".":e[i.length]===".";if(!t.leadingZeros&&(i.length>1||i.length===1&&!a)){return e}else{const n=Number(r);const a=String(n);if(n===0)return n;if(a.search(/[eE]/)!==-1){if(t.eNotation)return n;else return e}else if(r.indexOf(".")!==-1){if(a==="0")return n;else if(a===o)return n;else if(a===`${s}${o}`)return n;else return e}let c=i?o:r;if(i){return c===a||s+c===a?n:e}else{return c===a||c===s+a?n:e}}}else{return e}}}const Kl=/^([-+])?(0*)(\d*(\.\d*)?[eE][-\+]?\d+)$/;function resolveEnotation(e,t,r){if(!r.eNotation)return e;const n=t.match(Kl);if(n){let s=n[1]||"";const i=n[3].indexOf("e")===-1?"E":"e";const o=n[2];const a=s?e[o.length+1]===i:e[o.length]===i;if(o.length>1&&a)return e;else if(o.length===1&&(n[3].startsWith(`.${i}`)||n[3][0]===i)){return Number(t)}else if(o.length>0){if(r.leadingZeros&&!a){t=(n[1]||"")+n[3];return Number(t)}else return e}else{return Number(t)}}else{return e}}function trimZeros(e){if(e&&e.indexOf(".")!==-1){let t=e.length;while(t>0&&e.charCodeAt(t-1)===48)t--;e=e.slice(0,t);if(e===".")e="0";else if(e[0]===".")e="0"+e;else if(e[e.length-1]===".")e=e.substring(0,e.length-1);return e}return e}function parse_int(e,t){const r=e.trim();if(t===2||t===8)e=r.substring(2);if(parseInt)return parseInt(e,t);else if(Number.parseInt)return Number.parseInt(e,t);else if(window&&window.parseInt)return window.parseInt(e,t);else throw new Error("parseInt, Number.parseInt, window.parseInt are not supported")}function handleInfinity(e,t,r){const n=t===Infinity;switch(r.infinity.toLowerCase()){case"null":return null;case"infinity":return t;case"string":return n?"Infinity":"-Infinity";case"original":default:return e}}function ignoreAttributes_getIgnoreAttributesFn(e){if(typeof e==="function"){return e}if(Array.isArray(e)){return t=>{for(const r of e){if(typeof r==="string"&&t===r){return true}if(r instanceof RegExp&&r.test(t)){return true}}}}return()=>false}class ExpressionSet{constructor(){this._byDepthAndTag=new Map;this._wildcardByDepth=new Map;this._deepWildcards=[];this._deepByTerminalTag=new Map;this._patterns=new Set;this._sealed=false}add(e){if(this._sealed){throw new TypeError("ExpressionSet is sealed. Create a new ExpressionSet to add more expressions.")}if(this._patterns.has(e.pattern))return this;this._patterns.add(e.pattern);if(e.hasDeepWildcard()){const t=e.segments[e.segments.length-1];if(t&&t.type!=="deep-wildcard"&&t.tag!=="*"){const r=t.tag;if(!this._deepByTerminalTag.has(r))this._deepByTerminalTag.set(r,[]);this._deepByTerminalTag.get(r).push(e)}else{this._deepWildcards.push(e)}return this}const t=e.length;const r=e.segments[e.segments.length-1];const n=r?.tag;if(!n||n==="*"){if(!this._wildcardByDepth.has(t))this._wildcardByDepth.set(t,[]);this._wildcardByDepth.get(t).push(e)}else{const r=`${t}:${n}`;if(!this._byDepthAndTag.has(r))this._byDepthAndTag.set(r,[]);this._byDepthAndTag.get(r).push(e)}return this}addAll(e){for(const t of e)this.add(t);return this}has(e){return this._patterns.has(e.pattern)}get size(){return this._patterns.size}seal(){this._sealed=true;return this}get isSealed(){return this._sealed}matchesAny(e){return this.findMatch(e)!==null}findMatch(e){const t=e.getDepth();const r=e.getCurrentTag();const n=`${t}:${r}`;const s=this._byDepthAndTag.get(n);if(s){for(let t=0;t<s.length;t++){if(e.matches(s[t]))return s[t]}}const i=this._wildcardByDepth.get(t);if(i){for(let t=0;t<i.length;t++){if(e.matches(i[t]))return i[t]}}const o=this._deepByTerminalTag.get(r);if(o){for(let t=0;t<o.length;t++){if(e.matches(o[t]))return o[t]}}for(let t=0;t<this._deepWildcards.length;t++){if(e.matches(this._deepWildcards[t]))return this._deepWildcards[t]}return null}}const $l={amp:"&",AMP:"&",lt:"<",LT:"<",gt:">",GT:">",quot:'"',QUOT:'"',apos:"'",lsquo:"‘",rsquo:"’",ldquo:"“",rdquo:"”",lsquor:"‚",rsquor:"’",ldquor:"„",bdquo:"„",comma:",",period:".",colon:":",semi:";",excl:"!",quest:"?",num:"#",dollar:"$",percent:"%",ast:"*",commat:"@",lowbar:"_",verbar:"|",vert:"|",sol:"/",bsol:"\\",lbrace:"{",rbrace:"}",lbrack:"[",rbrack:"]",lpar:"(",rpar:")",nbsp:" ",iexcl:"¡",cent:"¢",pound:"£",curren:"¤",yen:"¥",brvbar:"¦",sect:"§",uml:"¨",copy:"©",COPY:"©",ordf:"ª",laquo:"«",not:"¬",shy:"",reg:"®",REG:"®",macr:"¯",deg:"°",plusmn:"±",sup2:"²",sup3:"³",acute:"´",micro:"µ",para:"¶",middot:"·",cedil:"¸",sup1:"¹",ordm:"º",raquo:"»",frac14:"¼",frac12:"½",half:"½",frac34:"¾",iquest:"¿",times:"×",div:"÷",divide:"÷"};const Xl={Agrave:"À",agrave:"à",Aacute:"Á",aacute:"á",Acirc:"Â",acirc:"â",Atilde:"Ã",atilde:"ã",Auml:"Ä",auml:"ä",Aring:"Å",aring:"å",AElig:"Æ",aelig:"æ",Ccedil:"Ç",ccedil:"ç",Egrave:"È",egrave:"è",Eacute:"É",eacute:"é",Ecirc:"Ê",ecirc:"ê",Euml:"Ë",euml:"ë",Igrave:"Ì",igrave:"ì",Iacute:"Í",iacute:"í",Icirc:"Î",icirc:"î",Iuml:"Ï",iuml:"ï",ETH:"Ð",eth:"ð",Ntilde:"Ñ",ntilde:"ñ",Ograve:"Ò",ograve:"ò",Oacute:"Ó",oacute:"ó",Ocirc:"Ô",ocirc:"ô",Otilde:"Õ",otilde:"õ",Ouml:"Ö",ouml:"ö",Oslash:"Ø",oslash:"ø",Ugrave:"Ù",ugrave:"ù",Uacute:"Ú",uacute:"ú",Ucirc:"Û",ucirc:"û",Uuml:"Ü",uuml:"ü",Yacute:"Ý",yacute:"ý",THORN:"Þ",thorn:"þ",szlig:"ß",yuml:"ÿ",Yuml:"Ÿ"};const Zl={Amacr:"Ā",amacr:"ā",Abreve:"Ă",abreve:"ă",Aogon:"Ą",aogon:"ą",Cacute:"Ć",cacute:"ć",Ccirc:"Ĉ",ccirc:"ĉ",Cdot:"Ċ",cdot:"ċ",Ccaron:"Č",ccaron:"č",Dcaron:"Ď",dcaron:"ď",Dstrok:"Đ",dstrok:"đ",Emacr:"Ē",emacr:"ē",Ecaron:"Ě",ecaron:"ě",Edot:"Ė",edot:"ė",Eogon:"Ę",eogon:"ę",Gcirc:"Ĝ",gcirc:"ĝ",Gbreve:"Ğ",gbreve:"ğ",Gdot:"Ġ",gdot:"ġ",Gcedil:"Ģ",Hcirc:"Ĥ",hcirc:"ĥ",Hstrok:"Ħ",hstrok:"ħ",Itilde:"Ĩ",itilde:"ĩ",Imacr:"Ī",imacr:"ī",Iogon:"Į",iogon:"į",Idot:"İ",IJlig:"IJ",ijlig:"ij",Jcirc:"Ĵ",jcirc:"ĵ",Kcedil:"Ķ",kcedil:"ķ",kgreen:"ĸ",Lacute:"Ĺ",lacute:"ĺ",Lcedil:"Ļ",lcedil:"ļ",Lcaron:"Ľ",lcaron:"ľ",Lmidot:"Ŀ",lmidot:"ŀ",Lstrok:"Ł",lstrok:"ł",Nacute:"Ń",nacute:"ń",Ncaron:"Ň",ncaron:"ň",Ncedil:"Ņ",ncedil:"ņ",ENG:"Ŋ",eng:"ŋ",Omacr:"Ō",omacr:"ō",Odblac:"Ő",odblac:"ő",OElig:"Œ",oelig:"œ",Racute:"Ŕ",racute:"ŕ",Rcaron:"Ř",rcaron:"ř",Rcedil:"Ŗ",rcedil:"ŗ",Sacute:"Ś",sacute:"ś",Scirc:"Ŝ",scirc:"ŝ",Scedil:"Ş",scedil:"ş",Scaron:"Š",scaron:"š",Tcedil:"Ţ",tcedil:"ţ",Tcaron:"Ť",tcaron:"ť",Tstrok:"Ŧ",tstrok:"ŧ",Utilde:"Ũ",utilde:"ũ",Umacr:"Ū",umacr:"ū",Ubreve:"Ŭ",ubreve:"ŭ",Uring:"Ů",uring:"ů",Udblac:"Ű",udblac:"ű",Uogon:"Ų",uogon:"ų",Wcirc:"Ŵ",wcirc:"ŵ",Ycirc:"Ŷ",ycirc:"ŷ",Zacute:"Ź",zacute:"ź",Zdot:"Ż",zdot:"ż",Zcaron:"Ž",zcaron:"ž"};const eA={Alpha:"Α",alpha:"α",Beta:"Β",beta:"β",Gamma:"Γ",gamma:"γ",Delta:"Δ",delta:"δ",Epsilon:"Ε",epsilon:"ε",epsiv:"ϵ",varepsilon:"ϵ",Zeta:"Ζ",zeta:"ζ",Eta:"Η",eta:"η",Theta:"Θ",theta:"θ",thetasym:"ϑ",vartheta:"ϑ",Iota:"Ι",iota:"ι",Kappa:"Κ",kappa:"κ",kappav:"ϰ",varkappa:"ϰ",Lambda:"Λ",lambda:"λ",Mu:"Μ",mu:"μ",Nu:"Ν",nu:"ν",Xi:"Ξ",xi:"ξ",Omicron:"Ο",omicron:"ο",Pi:"Π",pi:"π",piv:"ϖ",varpi:"ϖ",Rho:"Ρ",rho:"ρ",rhov:"ϱ",varrho:"ϱ",Sigma:"Σ",sigma:"σ",sigmaf:"ς",sigmav:"ς",varsigma:"ς",Tau:"Τ",tau:"τ",Upsilon:"Υ",upsilon:"υ",upsi:"υ",Upsi:"ϒ",upsih:"ϒ",Phi:"Φ",phi:"φ",phiv:"ϕ",varphi:"ϕ",Chi:"Χ",chi:"χ",Psi:"Ψ",psi:"ψ",Omega:"Ω",omega:"ω",ohm:"Ω",Gammad:"Ϝ",gammad:"ϝ",digamma:"ϝ"};const tA={Afr:"𝔄",afr:"𝔞",Acy:"А",acy:"а",Bcy:"Б",bcy:"б",Vcy:"В",vcy:"в",Gcy:"Г",gcy:"г",Dcy:"Д",dcy:"д",IEcy:"Е",iecy:"е",IOcy:"Ё",iocy:"ё",ZHcy:"Ж",zhcy:"ж",Zcy:"З",zcy:"з",Icy:"И",icy:"и",Jcy:"Й",jcy:"й",Kcy:"К",kcy:"к",Lcy:"Л",lcy:"л",Mcy:"М",mcy:"м",Ncy:"Н",ncy:"н",Ocy:"О",ocy:"о",Pcy:"П",pcy:"п",Rcy:"Р",rcy:"р",Scy:"С",scy:"с",Tcy:"Т",tcy:"т",Ucy:"У",ucy:"у",Fcy:"Ф",fcy:"ф",KHcy:"Х",khcy:"х",TScy:"Ц",tscy:"ц",CHcy:"Ч",chcy:"ч",SHcy:"Ш",shcy:"ш",SHCHcy:"Щ",shchcy:"щ",HARDcy:"Ъ",hardcy:"ъ",Ycy:"Ы",ycy:"ы",SOFTcy:"Ь",softcy:"ь",Ecy:"Э",ecy:"э",YUcy:"Ю",yucy:"ю",YAcy:"Я",yacy:"я",DJcy:"Ђ",djcy:"ђ",GJcy:"Ѓ",gjcy:"ѓ",Jukcy:"Є",jukcy:"є",DScy:"Ѕ",dscy:"ѕ",Iukcy:"І",iukcy:"і",YIcy:"Ї",yicy:"ї",Jsercy:"Ј",jsercy:"ј",LJcy:"Љ",ljcy:"љ",NJcy:"Њ",njcy:"њ",TSHcy:"Ћ",tshcy:"ћ",KJcy:"Ќ",kjcy:"ќ",Ubrcy:"Ў",ubrcy:"ў",DZcy:"Џ",dzcy:"џ"};const rA={plus:"+",pm:"±",times:"×",div:"÷",divide:"÷",sdot:"⋅",star:"☆",starf:"★",bigstar:"★",lowast:"∗",ast:"*",midast:"*",compfn:"∘",smallcircle:"∘",bullet:"•",bull:"•",nbsp:" ",hellip:"…",mldr:"…",prime:"′",Prime:"″",tprime:"‴",bprime:"‵",backprime:"‵",minus:"−",minusd:"∸",dotminus:"∸",plusdo:"∔",dotplus:"∔",plusmn:"±",minusplus:"∓",mnplus:"∓",mp:"∓",setminus:"∖",smallsetminus:"∖",Backslash:"∖",setmn:"∖",ssetmn:"∖",lowbar:"_",verbar:"|",vert:"|",VerticalLine:"|",colon:":",Colon:"∷",Proportion:"∷",ratio:"∶",equals:"=",ne:"≠",nequiv:"≢",equiv:"≡",Congruent:"≡",sim:"∼",thicksim:"∼",thksim:"∼",sime:"≃",simeq:"≃",TildeEqual:"≃",asymp:"≈",approx:"≈",thickapprox:"≈",thkap:"≈",TildeTilde:"≈",ncong:"≇",cong:"≅",TildeFullEqual:"≅",asympeq:"≍",CupCap:"≍",bump:"≎",Bumpeq:"≎",HumpDownHump:"≎",bumpe:"≏",bumpeq:"≏",HumpEqual:"≏",le:"≤",LessEqual:"≤",ge:"≥",GreaterEqual:"≥",lesseqgtr:"⋚",lesseqqgtr:"⪋",greater:">",less:"<"};const nA={alefsym:"ℵ",aleph:"ℵ",beth:"ℶ",gimel:"ℷ",daleth:"ℸ",forall:"∀",ForAll:"∀",part:"∂",PartialD:"∂",exist:"∃",Exists:"∃",nexist:"∄",nexists:"∄",empty:"∅",emptyset:"∅",emptyv:"∅",varnothing:"∅",nabla:"∇",Del:"∇",isin:"∈",isinv:"∈",in:"∈",Element:"∈",notin:"∉",notinva:"∉",ni:"∋",niv:"∋",SuchThat:"∋",ReverseElement:"∋",notni:"∌",notniva:"∌",prod:"∏",Product:"∏",coprod:"∐",Coproduct:"∐",sum:"∑",Sum:"∑",minus:"−",mp:"∓",plusdo:"∔",dotplus:"∔",setminus:"∖",lowast:"∗",radic:"√",Sqrt:"√",prop:"∝",propto:"∝",Proportional:"∝",varpropto:"∝",infin:"∞",infintie:"⧝",ang:"∠",angle:"∠",angmsd:"∡",measuredangle:"∡",angsph:"∢",mid:"∣",VerticalBar:"∣",nmid:"∤",nsmid:"∤",npar:"∦",parallel:"∥",spar:"∥",nparallel:"∦",nspar:"∦",and:"∧",wedge:"∧",or:"∨",vee:"∨",cap:"∩",cup:"∪",int:"∫",Integral:"∫",conint:"∮",ContourIntegral:"∮",Conint:"∯",DoubleContourIntegral:"∯",Cconint:"∰",there4:"∴",therefore:"∴",Therefore:"∴",becaus:"∵",because:"∵",Because:"∵",ratio:"∶",Proportion:"∷",minusd:"∸",dotminus:"∸",mDDot:"∺",homtht:"∻",sim:"∼",bsimg:"∽",backsim:"∽",ac:"∾",mstpos:"∾",acd:"∿",VerticalTilde:"≀",wr:"≀",wreath:"≀",nsime:"≄",nsimeq:"≄",ncong:"≇",simne:"≆",ncongdot:"⩭̸",ngsim:"≵",nsim:"≁",napprox:"≉",nap:"≉",ngeq:"≱",nge:"≱",nleq:"≰",nle:"≰",ngtr:"≯",ngt:"≯",nless:"≮",nlt:"≮",nprec:"⊀",npr:"⊀",nsucc:"⊁",nsc:"⊁"};const sA={larr:"←",leftarrow:"←",LeftArrow:"←",uarr:"↑",uparrow:"↑",UpArrow:"↑",rarr:"→",rightarrow:"→",RightArrow:"→",darr:"↓",downarrow:"↓",DownArrow:"↓",harr:"↔",leftrightarrow:"↔",LeftRightArrow:"↔",varr:"↕",updownarrow:"↕",UpDownArrow:"↕",nwarr:"↖",nwarrow:"↖",UpperLeftArrow:"↖",nearr:"↗",nearrow:"↗",UpperRightArrow:"↗",searr:"↘",searrow:"↘",LowerRightArrow:"↘",swarr:"↙",swarrow:"↙",LowerLeftArrow:"↙",lArr:"⇐",Leftarrow:"⇐",uArr:"⇑",Uparrow:"⇑",rArr:"⇒",Rightarrow:"⇒",dArr:"⇓",Downarrow:"⇓",hArr:"⇔",Leftrightarrow:"⇔",iff:"⇔",vArr:"⇕",Updownarrow:"⇕",lAarr:"⇚",Lleftarrow:"⇚",rAarr:"⇛",Rrightarrow:"⇛",lrarr:"⇆",leftrightarrows:"⇆",rlarr:"⇄",rightleftarrows:"⇄",lrhar:"⇋",leftrightharpoons:"⇋",ReverseEquilibrium:"⇋",rlhar:"⇌",rightleftharpoons:"⇌",Equilibrium:"⇌",udarr:"⇅",UpArrowDownArrow:"⇅",duarr:"⇵",DownArrowUpArrow:"⇵",llarr:"⇇",leftleftarrows:"⇇",rrarr:"⇉",rightrightarrows:"⇉",ddarr:"⇊",downdownarrows:"⇊",har:"↽",lhard:"↽",leftharpoondown:"↽",lharu:"↼",leftharpoonup:"↼",rhard:"⇁",rightharpoondown:"⇁",rharu:"⇀",rightharpoonup:"⇀",lsh:"↰",Lsh:"↰",rsh:"↱",Rsh:"↱",ldsh:"↲",rdsh:"↳",hookleftarrow:"↩",hookrightarrow:"↪",mapstoleft:"↤",mapstoup:"↥",map:"↦",mapsto:"↦",mapstodown:"↧",crarr:"↵",nleftarrow:"↚",nleftrightarrow:"↮",nrightarrow:"↛",nrarr:"↛",larrtl:"↢",rarrtl:"↣",leftarrowtail:"↢",rightarrowtail:"↣",twoheadleftarrow:"↞",twoheadrightarrow:"↠",Larr:"↞",Rarr:"↠",larrhk:"↩",rarrhk:"↪",larrlp:"↫",looparrowleft:"↫",rarrlp:"↬",looparrowright:"↬",harrw:"↭",leftrightsquigarrow:"↭",nrarrw:"↝̸",rarrw:"↝",rightsquigarrow:"↝",larrbfs:"⤟",rarrbfs:"⤠",nvHarr:"⤄",nvlArr:"⤂",nvrArr:"⤃",larrfs:"⤝",rarrfs:"⤞",Map:"⤅",larrsim:"⥳",rarrsim:"⥴",harrcir:"⥈",Uarrocir:"⥉",lurdshar:"⥊",ldrdhar:"⥧",ldrushar:"⥋",rdldhar:"⥩",lrhard:"⥭",uharr:"↾",uharl:"↿",dharr:"⇂",dharl:"⇃",Uarr:"↟",Darr:"↡",zigrarr:"⇝",nwArr:"⇖",neArr:"⇗",seArr:"⇘",swArr:"⇙",nharr:"↮",nhArr:"⇎",nlarr:"↚",nlArr:"⇍",nrArr:"⇏",larrb:"⇤",LeftArrowBar:"⇤",rarrb:"⇥",RightArrowBar:"⇥"};const iA={square:"□",Square:"□",squ:"□",squf:"▪",squarf:"▪",blacksquar:"▪",blacksquare:"▪",FilledVerySmallSquare:"▪",blk34:"▓",blk12:"▒",blk14:"░",block:"█",srect:"▭",rect:"▭",sdot:"⋅",sdotb:"⊡",dotsquare:"⊡",triangle:"▵",tri:"▵",trine:"▵",utri:"▵",triangledown:"▿",dtri:"▿",tridown:"▿",triangleleft:"◃",ltri:"◃",triangleright:"▹",rtri:"▹",blacktriangle:"▴",utrif:"▴",blacktriangledown:"▾",dtrif:"▾",blacktriangleleft:"◂",ltrif:"◂",blacktriangleright:"▸",rtrif:"▸",loz:"◊",lozenge:"◊",blacklozenge:"⧫",lozf:"⧫",bigcirc:"◯",xcirc:"◯",circ:"ˆ",Circle:"○",cir:"○",o:"○",bullet:"•",bull:"•",hellip:"…",mldr:"…",nldr:"‥",boxh:"─",HorizontalLine:"─",boxv:"│",boxdr:"┌",boxdl:"┐",boxur:"└",boxul:"┘",boxvr:"├",boxvl:"┤",boxhd:"┬",boxhu:"┴",boxvh:"┼",boxH:"═",boxV:"║",boxdR:"╒",boxDr:"╓",boxDR:"╔",boxDl:"╕",boxdL:"╖",boxDL:"╗",boxuR:"╘",boxUr:"╙",boxUR:"╚",boxUl:"╜",boxuL:"╛",boxUL:"╝",boxvR:"╞",boxVr:"╟",boxVR:"╠",boxVl:"╢",boxvL:"╡",boxVL:"╣",boxHd:"╤",boxhD:"╥",boxHD:"╦",boxHu:"╧",boxhU:"╨",boxHU:"╩",boxvH:"╪",boxVh:"╫",boxVH:"╬"};const oA={excl:"!",iexcl:"¡",brvbar:"¦",sect:"§",uml:"¨",copy:"©",ordf:"ª",laquo:"«",not:"¬",shy:"",reg:"®",macr:"¯",deg:"°",plusmn:"±",sup2:"²",sup3:"³",acute:"´",micro:"µ",para:"¶",middot:"·",cedil:"¸",sup1:"¹",ordm:"º",raquo:"»",frac14:"¼",frac12:"½",frac34:"¾",iquest:"¿",nbsp:" ",comma:",",period:".",colon:":",semi:";",vert:"|",Verbar:"‖",verbar:"|",dblac:"˝",circ:"ˆ",caron:"ˇ",breve:"˘",dot:"˙",ring:"˚",ogon:"˛",tilde:"˜",DiacriticalGrave:"`",DiacriticalAcute:"´",DiacriticalTilde:"˜",DiacriticalDot:"˙",DiacriticalDoubleAcute:"˝",grave:"`"};const aA={cent:"¢",pound:"£",curren:"¤",yen:"¥",euro:"€",dollar:"$",fnof:"ƒ",inr:"₹",af:"؋",birr:"ብር",peso:"₱",rub:"₽",won:"₩",yuan:"¥",cedil:"¸"};const cA={frac12:"½",half:"½",frac13:"⅓",frac14:"¼",frac15:"⅕",frac16:"⅙",frac18:"⅛",frac23:"⅔",frac25:"⅖",frac34:"¾",frac35:"⅗",frac38:"⅜",frac45:"⅘",frac56:"⅚",frac58:"⅝",frac78:"⅞",frasl:"⁄"};const lA={trade:"™",TRADE:"™",telrec:"⌕",target:"⌖",ulcorn:"⌜",ulcorner:"⌜",urcorn:"⌝",urcorner:"⌝",dlcorn:"⌞",llcorner:"⌞",drcorn:"⌟",lrcorner:"⌟",intercal:"⊺",intcal:"⊺",oplus:"⊕",CirclePlus:"⊕",ominus:"⊖",CircleMinus:"⊖",otimes:"⊗",CircleTimes:"⊗",osol:"⊘",odot:"⊙",CircleDot:"⊙",oast:"⊛",circledast:"⊛",odash:"⊝",circleddash:"⊝",ocirc:"⊚",circledcirc:"⊚",boxplus:"⊞",plusb:"⊞",boxminus:"⊟",minusb:"⊟",boxtimes:"⊠",timesb:"⊠",boxdot:"⊡",sdotb:"⊡",veebar:"⊻",vee:"∨",barvee:"⊽",and:"∧",wedge:"∧",Cap:"⋒",Cup:"⋓",Fork:"⋔",pitchfork:"⋔",epar:"⋕",ltlarr:"⥶",nvap:"≍⃒",nvsim:"∼⃒",nvge:"≥⃒",nvle:"≤⃒",nvlt:"<⃒",nvgt:">⃒",nvltrie:"⊴⃒",nvrtrie:"⊵⃒",Vdash:"⊩",dashv:"⊣",vDash:"⊨",Vvdash:"⊪",nvdash:"⊬",nvDash:"⊭",nVdash:"⊮",nVDash:"⊯"};const AA={amp:"&",apos:"'",gt:">",lt:"<",quot:'"'};const uA={nbsp:" ",copy:"©",reg:"®",trade:"™",mdash:"—",ndash:"–",hellip:"…",laquo:"«",raquo:"»",lsquo:"‘",rsquo:"’",ldquo:"“",rdquo:"”",bull:"•",para:"¶",sect:"§",deg:"°",frac12:"½",frac14:"¼",frac34:"¾"};const dA=Object.freeze({ALLOW:"allow",BLOCK:"block",THROW:"throw"});const gA=new Set("!?\\\\/[]$%{}^&*()<>|+");function EntityDecoder_validateEntityName(e){if(e[0]==="#"){throw new Error(`[EntityReplacer] Invalid character '#' in entity name: "${e}"`)}for(const t of e){if(gA.has(t)){throw new Error(`[EntityReplacer] Invalid character '${t}' in entity name: "${e}"`)}}return e}function mergeEntityMaps(...e){const t=Object.create(null);for(const r of e){if(!r)continue;for(const e of Object.keys(r)){const n=r[e];if(typeof n==="string"){t[e]=n}else if(n&&typeof n==="object"&&n.val!==undefined){const r=n.val;if(typeof r==="string"){t[e]=r}}}}return t}const pA="external";const hA="base";const mA="all";function parseLimitTiers(e){if(!e||e===pA)return new Set([pA]);if(e===mA)return new Set([mA]);if(e===hA)return new Set([hA]);if(Array.isArray(e))return new Set(e);return new Set([pA])}const fA=Object.freeze({allow:0,leave:1,remove:2,throw:3});const CA=new Set([9,10,13]);function parseNCRConfig(e){if(!e){return{xmlVersion:1,onLevel:fA.allow,nullLevel:fA.remove}}const t=e.xmlVersion===1.1?1.1:1;const r=fA[e.onNCR]??fA.allow;const n=fA[e.nullNCR]??fA.remove;const s=Math.max(n,fA.remove);return{xmlVersion:t,onLevel:r,nullLevel:s}}class EntityDecoder{constructor(e={}){this._limit=e.limit||{};this._maxTotalExpansions=this._limit.maxTotalExpansions||0;this._maxExpandedLength=this._limit.maxExpandedLength||0;this._postCheck=typeof e.postCheck==="function"?e.postCheck:e=>e;this._limitTiers=parseLimitTiers(this._limit.applyLimitsTo??pA);this._numericAllowed=e.numericAllowed??true;this._baseMap=mergeEntityMaps(AA,e.namedEntities||null);this._externalMap=Object.create(null);this._inputMap=Object.create(null);this._totalExpansions=0;this._expandedLength=0;this._removeSet=new Set(e.remove&&Array.isArray(e.remove)?e.remove:[]);this._leaveSet=new Set(e.leave&&Array.isArray(e.leave)?e.leave:[]);const t=parseNCRConfig(e.ncr);this._ncrXmlVersion=t.xmlVersion;this._ncrOnLevel=t.onLevel;this._ncrNullLevel=t.nullLevel;this._onExternalEntity=typeof e.onExternalEntity==="function"?e.onExternalEntity:null;this._onInputEntity=typeof e.onInputEntity==="function"?e.onInputEntity:null}_applyRegistrationHook(e,t,r,n){if(!e)return true;const s=e(t,r);if(s===dA.BLOCK)return false;if(s===dA.THROW){throw new Error(`[EntityDecoder] Registration of ${n} entity "&${t};" was rejected by hook`)}return true}setExternalEntities(e){if(e){for(const t of Object.keys(e)){EntityDecoder_validateEntityName(t)}}if(!this._onExternalEntity){this._externalMap=mergeEntityMaps(e);return}const t=mergeEntityMaps(e);const r=Object.create(null);for(const[e,n]of Object.entries(t)){if(this._applyRegistrationHook(this._onExternalEntity,e,n,"external")){r[e]=n}}this._externalMap=r}addExternalEntity(e,t){EntityDecoder_validateEntityName(e);if(typeof t==="string"&&t.indexOf("&")===-1){if(this._applyRegistrationHook(this._onExternalEntity,e,t,"external")){this._externalMap[e]=t}}}addInputEntities(e){this._totalExpansions=0;this._expandedLength=0;if(!this._onInputEntity){this._inputMap=mergeEntityMaps(e);return}const t=mergeEntityMaps(e);const r=Object.create(null);for(const[e,n]of Object.entries(t)){if(this._applyRegistrationHook(this._onInputEntity,e,n,"input")){r[e]=n}}this._inputMap=r}reset(){this._inputMap=Object.create(null);this._totalExpansions=0;this._expandedLength=0;return this}setXmlVersion(e){this._ncrXmlVersion=e===1.1?1.1:1}decode(e){if(typeof e!=="string"||e.length===0)return e;if(e.indexOf("&")===-1)return e;const t=e;const r=[];const n=e.length;let s=0;let i=0;const o=this._maxTotalExpansions>0;const a=this._maxExpandedLength>0;const c=o||a;while(i<n){if(e.charCodeAt(i)!==38){i++;continue}let t=i+1;while(t<n&&e.charCodeAt(t)!==59&&t-i<=32)t++;if(t>=n||e.charCodeAt(t)!==59){i++;continue}const l=e.slice(i+1,t);if(l.length===0){i++;continue}let A;let u;if(this._removeSet.has(l)){A="";if(u===undefined){u=pA}}else if(this._leaveSet.has(l)){i++;continue}else if(l.charCodeAt(0)===35){const e=this._resolveNCR(l);if(e===undefined){i++;continue}A=e;u=hA}else{const e=this._resolveName(l);A=e?.value;u=e?.tier}if(A===undefined){i++;continue}if(i>s)r.push(e.slice(s,i));r.push(A);s=t+1;i=s;if(c&&this._tierCounts(u)){if(o){this._totalExpansions++;if(this._totalExpansions>this._maxTotalExpansions){throw new Error(`[EntityReplacer] Entity expansion count limit exceeded: `+`${this._totalExpansions} > ${this._maxTotalExpansions}`)}}if(a){const e=A.length-(l.length+2);if(e>0){this._expandedLength+=e;if(this._expandedLength>this._maxExpandedLength){throw new Error(`[EntityReplacer] Expanded content length limit exceeded: `+`${this._expandedLength} > ${this._maxExpandedLength}`)}}}}}if(s<n)r.push(e.slice(s));const l=r.length===0?e:r.join("");return this._postCheck(l,t)}_tierCounts(e){if(this._limitTiers.has(mA))return true;return this._limitTiers.has(e)}_resolveName(e){if(e in this._inputMap)return{value:this._inputMap[e],tier:pA};if(e in this._externalMap)return{value:this._externalMap[e],tier:pA};if(e in this._baseMap)return{value:this._baseMap[e],tier:hA};return undefined}_classifyNCR(e){if(e===0)return this._ncrNullLevel;if(e>=55296&&e<=57343)return fA.remove;if(this._ncrXmlVersion===1){if(e>=1&&e<=31&&!CA.has(e))return fA.remove}return-1}_applyNCRAction(e,t,r){switch(e){case fA.allow:return String.fromCodePoint(r);case fA.remove:return"";case fA.leave:return undefined;case fA.throw:throw new Error(`[EntityDecoder] Prohibited numeric character reference `+`&${t}; (U+${r.toString(16).toUpperCase().padStart(4,"0")})`);default:return String.fromCodePoint(r)}}_resolveNCR(e){const t=e.charCodeAt(1);let r;if(t===120||t===88){r=parseInt(e.slice(2),16)}else{r=parseInt(e.slice(1),10)}if(Number.isNaN(r)||r<0||r>1114111)return undefined;const n=this._classifyNCR(r);if(!this._numericAllowed&&n<fA.remove)return undefined;const s=n===-1?this._ncrOnLevel:Math.max(this._ncrOnLevel,n);return this._applyNCRAction(s,e,r)}}const yA=[{id:"sql-block-comment-open",description:"SQL block comment open: /* ... */ — unusual in legitimate user text",pattern:/\/\*/},{id:"sql-union-select",description:"UNION SELECT — most common SQL injection aggregation attack",pattern:/\bUNION\s{1,20}(?:ALL\s{1,20})?SELECT\b/i},{id:"sql-drop-table",description:"DROP TABLE — destructive DDL injection",pattern:/\bDROP\s{1,20}TABLE\b/i},{id:"sql-drop-database",description:"DROP DATABASE — destructive DDL injection",pattern:/\bDROP\s{1,20}DATABASE\b/i},{id:"sql-insert-into",description:"INSERT INTO — data injection",pattern:/\bINSERT\s{1,20}INTO\b/i},{id:"sql-delete-from",description:"DELETE FROM — data deletion injection",pattern:/\bDELETE\s{1,20}FROM\b/i},{id:"sql-update-set",description:"UPDATE ... SET — data modification injection",pattern:/\bUPDATE\b[\s\S]{1,60}\bSET\b/i},{id:"sql-exec-xp",description:"EXEC xp_ — MSSQL extended stored procedure execution",pattern:/\bEXEC(?:UTE)?\s{1,20}xp_/i},{id:"sql-tautology-string",description:'Classic string tautology: \' OR \'1\'=\'1 or " OR "1"="1"',pattern:/'\s{0,10}OR\s{0,10}'[^']{0,20}'\s*=\s*'[^']{0,20}/i},{id:"sql-tautology-numeric",description:"Numeric tautology: OR 1=1",pattern:/\bOR\s{1,10}1\s*=\s*1\b/i},{id:"sql-always-true-zero",description:"Numeric tautology: OR 0=0",pattern:/\bOR\s{1,10}0\s*=\s*0\b/i},{id:"sql-sleep-benchmark",description:"Time-based blind injection: SLEEP() or BENCHMARK()",pattern:/\b(?:SLEEP|BENCHMARK)\s*\(/i},{id:"sql-waitfor-delay",description:"MSSQL time-based blind injection: WAITFOR DELAY",pattern:/\bWAITFOR\s{1,20}DELAY\b/i},{id:"sql-char-function",description:"CHAR() function — used to obfuscate injected strings",pattern:/\bCHAR\s*\(\s*\d{1,3}/i},{id:"sql-information-schema",description:"INFORMATION_SCHEMA — reconnaissance query for table/column enumeration",pattern:/\bINFORMATION_SCHEMA\b/i}];const EA=yA;const IA=[{id:"sql-line-comment",description:"SQL line comment: -- followed by whitespace or end of string",pattern:/--(?:\s|$)/},{id:"sql-stacked-query",description:"Stacked queries: semicolon immediately followed by a SQL keyword",pattern:/;\s{0,10}(?:SELECT|INSERT|UPDATE|DELETE|DROP|CREATE|ALTER|EXEC)\b/i},{id:"sql-hex-encoding",description:"Hex-encoded string injection: 0x41414141 style (MySQL)",pattern:/\b0x[0-9a-f]{4,}/i}];const BA=[...EA,...IA];const QA=BA;const bA=[{id:"html-script-open",description:"<script opening tag",pattern:/<script[\s>/]/i},{id:"html-script-close",description:"<\/script closing tag",pattern:/<\/script[\s>]/i},{id:"html-javascript-protocol",description:"javascript: URI scheme (with optional whitespace/encoding)",pattern:/j[\t\n\r ]*a[\t\n\r ]*v[\t\n\r ]*a[\t\n\r ]*s[\t\n\r ]*c[\t\n\r ]*r[\t\n\r ]*i[\t\n\r ]*p[\t\n\r ]*t[\t\n\r ]*:/i},{id:"html-vbscript-protocol",description:"vbscript: URI scheme",pattern:/vbscript[\t\n\r ]*:/i},{id:"html-data-html",description:"data:text/html URI — can execute scripts in browsers",pattern:/data[\t\n\r ]*:[\t\n\r ]*text\/html/i},{id:"html-data-xhtml",description:"data:application/xhtml+xml URI",pattern:/data[\t\n\r ]*:[\t\n\r ]*application\/xhtml/i},{id:"html-data-svg",description:"data:image/svg+xml URI — can execute scripts",pattern:/data[\t\n\r ]*:[\t\n\r ]*image\/svg\+xml/i},{id:"html-inline-event-handler",description:"Inline event handler attributes: onclick=, onerror=, onload=, etc.",pattern:/\bon\w{1,30}\s*=/i},{id:"html-entity-obfuscated-script",description:"HTML-entity-encoded <script (e.g. <script or <script)",pattern:/(?:�*3[Cc];?|�*60;?|<)\s*script/i},{id:"html-entity-obfuscated-javascript",description:'HTML-entity-encoded javascript: (partial — catches common j or j for "j")',pattern:/(?:�*6[Aa];?|�*106;?)\s*(?:�*61;?|a)[\s\S]{0,80}script\s*:/i},{id:"html-style-expression",description:"CSS expression() — IE-era code execution in style attributes",pattern:/style[\s\S]{0,20}expression\s*\(/i},{id:"html-object-embed",description:"<object or <embed tags that can load active content",pattern:/<(?:object|embed)[\s>/]/i},{id:"html-base-tag",description:"<base href= — can hijack all relative URLs on a page",pattern:/<base[\s>]/i},{id:"html-meta-refresh",description:'<meta http-equiv="refresh" — can redirect users',pattern:/<meta[\s\S]{0,40}http-equiv[\s\S]{0,20}refresh/i},{id:"html-srcdoc",description:"srcdoc= attribute on iframes — embeds HTML that can run scripts",pattern:/srcdoc\s*=/i},{id:"html-iframe",description:"<iframe tag",pattern:/<iframe[\s>/]/i},{id:"html-form",description:"<form tag — can be used for phishing / credential harvesting injection",pattern:/<form[\s>/]/i}];const SA=bA;const wA=[{id:"xml-cdata-injection",description:"CDATA section injection: <![CDATA[ breaks out of text node context",pattern:/<!\[CDATA\[/i},{id:"xml-cdata-close",description:"CDATA close sequence: ]]> can terminate an enclosing CDATA section",pattern:/\]\]>/},{id:"xml-processing-instruction",description:"XML processing instruction: <?xml-stylesheet or <?php etc.",pattern:/<\?(?:xml[\- ]|php|asp)/i},{id:"xml-doctype-injection",description:"DOCTYPE declaration embedded in content — can define entities",pattern:/<!DOCTYPE(?:[\s[]|$)/i},{id:"xml-entity-system",description:"SYSTEM keyword — used in external entity declarations (XXE)",pattern:/\bSYSTEM\s+["']/i},{id:"xml-entity-public",description:"PUBLIC keyword — used in external entity declarations (XXE)",pattern:/\bPUBLIC\s+["']/i},{id:"xml-entity-declaration",description:"<!ENTITY declaration — defines entities, potential XXE or entity expansion",pattern:/<!ENTITY[\s%]/i},{id:"xml-billion-laughs",description:"Entity reference chaining / billion laughs: repeated &eX; style references",pattern:/(?:&\w{1,20};){3,}/},{id:"xml-namespace-confusion",description:"xmlns: attribute injection — can redefine namespaces to confuse parsers",pattern:/\bxmlns(?::\w{1,40})?\s*=/i},{id:"xml-comment-injection",description:"\x3c!-- comment injection — can hide content from some parsers",pattern:/<!--/},{id:"xml-comment-close",description:"--\x3e closes an enclosing XML comment",pattern:/-->/},{id:"xml-pi-close",description:"?> closes an enclosing processing instruction",pattern:/\?>/}];const DA=wA;const NA=[{id:"svg-script-element",description:"<script element inside SVG executes JavaScript",pattern:/<script[\s>/]/i},{id:"svg-xlink-href-javascript",description:"xlink:href with javascript: — classic SVG XSS via <a> or <use>",pattern:/xlink\s*:\s*href\s*=\s*["']?\s*javascript\s*:/i},{id:"svg-href-javascript",description:"href= with javascript: in SVG context (<a>, <animate>, etc.)",pattern:/href\s*=\s*["']?\s*javascript\s*:/i},{id:"svg-foreignobject",description:"<foreignObject embeds HTML inside SVG — can execute scripts",pattern:/<foreignObject[\s>/]/i},{id:"svg-use-external",description:"<use xlink:href or href pointing to external resource (non-fragment URL)",pattern:/<use[\s\S]{0,60}(?:xlink\s*:\s*)?href\s*=\s*(?:["'][^#]|[^"'#\s>])/i},{id:"svg-animate-href",description:'<animate attributeName="href" — can dynamically change href to javascript:',pattern:/<animate[\s\S]{0,80}attributeName\s*=\s*["'][\s]*href["']/i},{id:"svg-animate-xlinkhref",description:'<animate attributeName="xlink:href"',pattern:/<animate[\s\S]{0,80}attributeName\s*=\s*["'][\s]*xlink\s*:\s*href["']/i},{id:"svg-set-javascript",description:'<set to="javascript:..." — sets an attribute to a javascript: URI',pattern:/<set[\s\S]{0,80}to\s*=\s*["']?\s*javascript\s*:/i},{id:"svg-event-handler",description:"SVG-specific event handler attributes: onload=, onerror=, onactivate=, etc.",pattern:/\bon(?:load|error|activate|begin|end|repeat|focus|blur|click|mouse\w{1,20}|key\w{1,20})\s*=/i},{id:"svg-handler-generic",description:"Generic on* handler catch-all for SVG attributes",pattern:/\bon\w{1,30}\s*=/i},{id:"svg-filter-feimage",description:"<feImage href= — filter primitive that can load external resources",pattern:/<feImage[\s\S]{0,80}(?:xlink\s*:\s*)?href\s*=/i},{id:"svg-image-external",description:"<image xlink:href with http/https or javascript protocol",pattern:/<image[\s\S]{0,80}(?:xlink\s*:\s*)?href\s*=\s*["']?\s*(?:https?|javascript)\s*:/i},{id:"svg-style-javascript",description:"style= attribute containing javascript: (e.g. background:url(javascript:...))",pattern:/style\s*=[\s\S]{0,60}javascript\s*:/i}];const xA=NA;const RA=[{id:"shell-path-traversal-unix",description:"Unix path traversal: ../ — climbing the directory tree",pattern:/\.\.\//},{id:"shell-path-traversal-windows",description:"Windows path traversal: ..\\ — climbing the directory tree",pattern:/\.\.\\/},{id:"shell-path-traversal-encoded",description:"URL-encoded path traversal: %2e%2e or %2f variants",pattern:/%2e%2e|%2f\.\.|\.\.%2f/i},{id:"shell-null-byte",description:"Null byte injection: \\x00 or %00 — truncates strings in C-backed functions",pattern:/\x00|%00/},{id:"shell-semicolon",description:"Semicolon command separator: cmd1; cmd2",pattern:/;/},{id:"shell-pipe",description:"Pipe operator: cmd1 | cmd2",pattern:/\|/},{id:"shell-and-operator",description:"AND operator: cmd1 && cmd2",pattern:/&&/},{id:"shell-or-operator",description:"OR operator: cmd1 || cmd2",pattern:/\|\|/},{id:"shell-backtick",description:"Backtick command substitution: `cmd`",pattern:/`/},{id:"shell-dollar-paren",description:"Dollar-paren command substitution: $(cmd)",pattern:/\$\(/},{id:"shell-dollar-brace",description:"Dollar-brace variable expansion: ${var} — can be abused for injection",pattern:/\$\{/},{id:"shell-redirect-out",description:"Output redirection: cmd > file or cmd >> file",pattern:/>{1,2}/},{id:"shell-redirect-in",description:"Input redirection: cmd < file",pattern:/</},{id:"shell-newline-injection",description:"Newline injection: \\n or \\r — can inject new shell commands",pattern:/[\n\r]/},{id:"shell-glob-star",description:"Glob expansion: * or ? — can expand to unintended files",pattern:/[/\\][*?]/},{id:"shell-absolute-root",description:"Absolute root path injection: string starting with / or \\ (Windows UNC)",pattern:/^(?:\/|\\\\)/},{id:"shell-windows-drive",description:"Windows drive letter path injection: C:\\ or D:/",pattern:/^[a-zA-Z]:[/\\]/},{id:"shell-curl-wget",description:"curl/wget with URL or flags — can exfiltrate data or download payloads",pattern:/\b(?:curl|wget)\s+(?:https?:\/\/|ftp:\/\/|-)/i}];const vA=RA;const kA=[{id:"redos-nested-quantifier-plus",description:"Nested + quantifier inside a group with outer quantifier: (a+)+, (.+b)*, etc.",pattern:/\([^)]*\+[^)]*\)[+*]/},{id:"redos-nested-quantifier-star",description:"Nested * quantifier: (a*)* or (a*)+ — catastrophic backtracking",pattern:/\([^)]*\*[^)]*\)[*+]/},{id:"redos-nested-groups",description:"Doubly nested quantified groups: ((a+)+) — guaranteed catastrophic",pattern:/\(\([^)]{0,40}\)[+*]\)[+*]/},{id:"redos-alternation-overlap",description:"Overlapping alternation under quantifier: (a|a)+ — ambiguous NFA paths",pattern:/\(([^|()]{1,20})\|(?:\1)(?:\|[^|()]{1,20}){0,5}\)[+*?]{1,2}/},{id:"redos-star-plus-concat",description:"(x*x)+ pattern — triggers super-linear backtracking",pattern:/\([^)]{0,10}\*[^)]{0,10}\)[+*]/},{id:"redos-dot-star-greedy",description:"(.*){n,} or (.+){n,} — repeated greedy dot quantifiers",pattern:/\(\.[*+]\)\{?\d/},{id:"redos-large-repetition",description:"Very large fixed or range repetition count {1000,} or {1000,n} — denial of service via backtracking",pattern:/\{\d{4,}(?:,\d*)?\}/},{id:"redos-catastrophic-alternation",description:"Long alternation with many similar branches — polynomial backtracking risk",pattern:/\([^)]{0,200}(?:\|[^|)]{0,50}){9,}\)/}];const FA=kA;const TA=/["'\s]*:/;const MA="[\"'\\s]*:";const PA=[{id:"nosql-where-operator",description:"$where — executes arbitrary JavaScript server-side in MongoDB",pattern:new RegExp(`\\$where${MA}`,"i")},{id:"nosql-ne-operator",description:'$ne — "not equal" operator used to bypass equality checks',pattern:new RegExp(`\\$ne${MA}`,"i")},{id:"nosql-gt-operator",description:'$gt — "greater than" used to bypass password/value checks',pattern:new RegExp(`\\$gte?${MA}`,"i")},{id:"nosql-lt-operator",description:'$lt / $lte — "less than" bypass variants',pattern:new RegExp(`\\$lte?${MA}`,"i")},{id:"nosql-regex-operator",description:"$regex — can be used to extract data character by character (blind injection)",pattern:new RegExp(`\\$regex${MA}`,"i")},{id:"nosql-or-operator",description:"$or — logical OR; used to create always-true conditions",pattern:new RegExp(`\\$or${MA}\\s*\\[`,"i")},{id:"nosql-and-operator",description:"$and — logical AND operator injection",pattern:new RegExp(`\\$and${MA}\\s*\\[`,"i")},{id:"nosql-nor-operator",description:"$nor — logical NOR operator injection",pattern:new RegExp(`\\$nor${MA}\\s*\\[`,"i")},{id:"nosql-exists-operator",description:"$exists — can enumerate fields to determine schema",pattern:new RegExp(`\\$exists${MA}`,"i")},{id:"nosql-in-operator",description:"$in — matches any value in a list; can enumerate values",pattern:new RegExp(`\\$in${MA}\\s*\\[`,"i")},{id:"nosql-expr-operator",description:"$expr — allows aggregation expressions in queries (MongoDB 3.6+)",pattern:new RegExp(`\\$expr${MA}`,"i")},{id:"nosql-function-operator",description:"$function — executes arbitrary JavaScript in MongoDB 4.4+",pattern:new RegExp(`\\$function${MA}`,"i")},{id:"nosql-accumulator-operator",description:"$accumulator — custom aggregation with arbitrary JS execution",pattern:new RegExp(`\\$accumulator${MA}`,"i")},{id:"nosql-proto-pollution",description:"__proto__ — prototype pollution via object key injection",pattern:/__proto__/},{id:"nosql-constructor-prototype",description:"constructor.prototype — alternative prototype pollution vector (dot notation or JSON key)",pattern:/constructor[\s"':.,{\[]*prototype/i},{id:"nosql-proto-bracket",description:'["__proto__"] — bracket-notation prototype pollution',pattern:/\[["']__proto__["']\]/}];const LA=PA;const UA=[{id:"log-crlf-injection",description:"CRLF injection: literal \\r or \\n embeds fake log lines",pattern:/[\r\n]/},{id:"log-url-encoded-crlf",description:"URL-encoded CRLF: %0d, %0a, %0D, %0A — decoded by some log parsers",pattern:/%0[dDaA]/},{id:"log-unicode-newline",description:"Unicode newline variants: U+2028 (line separator), U+2029 (paragraph separator)",pattern:/[\u2028\u2029]/},{id:"log-log4shell-jndi",description:"Log4Shell: ${jndi:...} triggers remote code execution in Apache Log4j",pattern:/\$\{jndi\s*:/i},{id:"log-log4shell-obfuscated",description:"Obfuscated Log4Shell: ${::-j}... lookup-bypass prefix used to evade WAF detection",pattern:/\$\{::-/},{id:"log-log4j-lookup",description:"Log4j lookup syntax: ${env:...}, ${sys:...}, ${ctx:...} — data exfiltration",pattern:/\$\{(?:env|sys|ctx|main|map|sd|web|docker|k8s|spring)\s*:/i},{id:"log-ssti-double-brace",description:"SSTI double-brace: {{expression}} — Jinja2, Twig, Handlebars, etc.",pattern:/\{\{[\s\S]{0,80}\}\}/},{id:"log-ssti-hash-brace",description:"SSTI hash-brace: #{expression} — Thymeleaf, Velocity, Ruby ERB",pattern:/#\{[\s\S]{0,80}\}/},{id:"log-ssti-dollar-brace",description:"SSTI/EL injection: ${expression with operators or method calls} — JSP EL, Freemarker, SpEL",pattern:/\$\{[^}]*(?:\.|\(|\*|\+|\bclass\b|\bruntime\b|\bprocess\b|\bexec\b)[^}]{0,80}\}/i},{id:"log-ssti-percent-tag",description:"SSTI ERB/ASP tag: <%= expression %> — Ruby ERB, ASP",pattern:/<%=[\s\S]{0,80}%>/},{id:"log-null-byte",description:"Null byte: \\x00 or %00 — can truncate log entries in C-backed loggers",pattern:/\x00|%00/},{id:"log-ansi-escape",description:"ANSI escape sequence: ESC[ — can manipulate terminal output when logs are tailed",pattern:/\x1b\[/}];const OA=UA;SA.label="HTML";DA.label="XML";xA.label="SVG";EA.label="SQL";QA.label="SQL-STRICT";vA.label="SHELL";FA.label="REDOS";LA.label="NOSQL";OA.label="LOG";const HA=Object.freeze({HTML:SA,XML:DA,SVG:xA,SQL:EA,"SQL-STRICT":QA,SHELL:vA,REDOS:FA,NOSQL:LA,LOG:OA});function assertString(e){if(typeof e!=="string"){throw new TypeError(`is-unsafe: first argument must be a string, got ${typeof e}`)}}function assertContext(e){if(e instanceof RegExp)return;if(Array.isArray(e)){if(e.length===0){throw new TypeError("is-unsafe: context must not be an empty array")}if(Array.isArray(e[0])){for(const t of e){if(!Array.isArray(t)||t.length===0){throw new TypeError("is-unsafe: each context in the array must be a non-empty pattern array (PatternList)")}}}return}throw new TypeError(`is-unsafe: second argument must be a PatternList (e.g. HTML), `+`an array of PatternLists (e.g. [HTML, XML]), or a RegExp. Got: ${typeof e}`)}function normalise(e){if(e instanceof RegExp)return{lists:null,regex:e};if(Array.isArray(e[0]))return{lists:e,regex:null};return{lists:[e],regex:null}}function matchList(e,t){const r=t.label??"CUSTOM";for(const n of t){if(n.pattern.test(e)){return{context:r,id:n.id,description:n.description,pattern:n.pattern}}}return null}function isUnsafe(e,t){assertString(e);assertContext(t);const{lists:r,regex:n}=normalise(t);if(n)return n.test(e);for(const t of r){if(matchList(e,t)!==null)return true}return false}function whyUnsafe(e,t){assertString(e);assertContext(t);const{lists:r,regex:n}=normalise(t);if(n){return n.test(e)?{context:"CUSTOM",id:"custom-regex",description:"Matched caller-supplied pattern",pattern:n}:null}for(const t of r){const r=matchList(e,t);if(r!==null)return r}return null}function allUnsafe(e,t){assertString(e);assertContext(t);const{lists:r,regex:n}=normalise(t);const s=[];if(n){if(n.test(e)){s.push({context:"CUSTOM",id:"custom-regex",description:"Matched caller-supplied pattern",pattern:n})}return s}for(const t of r){const r=t.label??"CUSTOM";for(const n of t){if(n.pattern.test(e)){s.push({context:r,id:n.id,description:n.description,pattern:n.pattern})}}}return s}const _A=null&&isUnsafe;function extractRawAttributes(e,t){if(!e)return{};const r=t.attributesGroupName?e[t.attributesGroupName]:e;if(!r)return{};const n={};for(const e in r){if(e.startsWith(t.attributeNamePrefix)){const s=e.substring(t.attributeNamePrefix.length);n[s]=r[e]}else{n[e]=r[e]}}return n}function extractNamespace(e){if(!e||typeof e!=="string")return undefined;const t=e.indexOf(":");if(t!==-1&&t>0){const r=e.substring(0,t);if(r!=="xmlns"){return r}}return undefined}class OrderedObjParser{constructor(e,t){this.options=e;this.currentNode=null;this.tagsNodeStack=[];this.parseXml=parseXml;this.parseTextData=parseTextData;this.resolveNameSpace=resolveNameSpace;this.buildAttributesMap=buildAttributesMap;this.isItStopNode=isItStopNode;this.replaceEntitiesValue=OrderedObjParser_replaceEntitiesValue;this.readStopNodeData=readStopNodeData;this.saveTextToParentTag=saveTextToParentTag;this.addChild=addChild;this.ignoreAttributesFn=ignoreAttributes_getIgnoreAttributesFn(this.options.ignoreAttributes);this.entityExpansionCount=0;this.currentExpandedLength=0;this.doctypefound=false;let r={...AA};if(this.options.entityDecoder){this.entityDecoder=this.options.entityDecoder}else{if(typeof this.options.htmlEntities==="object")r=this.options.htmlEntities;else if(this.options.htmlEntities===true)r={...uA,...aA};this.entityDecoder=new EntityDecoder({namedEntities:{...r,...t},numericAllowed:this.options.htmlEntities,limit:{maxTotalExpansions:this.options.processEntities.maxTotalExpansions,maxExpandedLength:this.options.processEntities.maxExpandedLength,applyLimitsTo:this.options.processEntities.appliesTo},onInputEntity:(e,t)=>isUnsafe(t,[SA,DA])?dA.BLOCK:dA.ALLOW})}this.matcher=new Matcher;this.readonlyMatcher=this.matcher.readOnly();this.isCurrentNodeStopNode=false;this.stopNodeExpressionsSet=new ExpressionSet;const n=this.options.stopNodes;if(n&&n.length>0){for(let e=0;e<n.length;e++){const t=n[e];if(typeof t==="string"){this.stopNodeExpressionsSet.add(new Expression(t))}else if(t instanceof Expression){this.stopNodeExpressionsSet.add(t)}}this.stopNodeExpressionsSet.seal()}}}function parseTextData(e,t,r,n,s,i,o){const a=this.options;if(e!==undefined){if(a.trimValues&&!n){e=e.trim()}if(e.length>0){if(!o)e=this.replaceEntitiesValue(e,t,r);const n=a.jPath?r.toString():r;const c=a.tagValueProcessor(t,e,n,s,i);if(c===null||c===undefined){return e}else if(typeof c!==typeof e||c!==e){return c}else if(a.trimValues){return parseValue(e,a.parseTagValue,a.numberParseOptions)}else{const t=e.trim();if(t===e){return parseValue(e,a.parseTagValue,a.numberParseOptions)}else{return e}}}}}function resolveNameSpace(e){if(this.options.removeNSPrefix){const t=e.split(":");const r=e.charAt(0)==="/"?"/":"";if(t[0]==="xmlns"){return""}if(t.length===2){e=r+t[1]}}return e}const qA=new RegExp("([^\\s=]+)\\s*(=\\s*(['\"])([\\s\\S]*?)\\3)?","gm");function buildAttributesMap(e,t,r,n=false){const s=this.options;if(n===true||s.ignoreAttributes!==true&&typeof e==="string"){const n=getAllMatches(e,qA);const i=n.length;const o={};const a=new Array(i);let c=false;const l={};for(let e=0;e<i;e++){const t=this.resolveNameSpace(n[e][1]);const i=n[e][4];if(t.length&&i!==undefined){let n=i;if(s.trimValues)n=n.trim();n=this.replaceEntitiesValue(n,r,this.readonlyMatcher);a[e]=n;l[t]=n;c=true}}if(c&&typeof t==="object"&&t.updateCurrent){t.updateCurrent(l)}const A=s.jPath?t.toString():this.readonlyMatcher;let u=false;for(let e=0;e<i;e++){const t=this.resolveNameSpace(n[e][1]);if(this.ignoreAttributesFn(t,A))continue;let r=s.attributeNamePrefix+t;if(t.length){if(s.transformAttributeName){r=s.transformAttributeName(r)}r=sanitizeName(r,s);if(n[e][4]!==undefined){const n=a[e];const i=s.attributeValueProcessor(t,n,A);if(i===null||i===undefined){o[r]=n}else if(typeof i!==typeof n||i!==n){o[r]=i}else{o[r]=parseValue(n,s.parseAttributeValue,s.numberParseOptions)}u=true}else if(s.allowBooleanAttributes){o[r]=true;u=true}}}if(!u)return;if(s.attributesGroupName&&!s.preserveOrder){const e={};e[s.attributesGroupName]=o;return e}return o}}const parseXml=function(e){e=e.replace(/\r\n?/g,"\n");const t=new XmlNode("!xml");let r=t;let n="";this.matcher.reset();this.entityDecoder.reset();this.entityExpansionCount=0;this.currentExpandedLength=0;this.doctypefound=false;const s=this.options;const i=new DocTypeReader(s.processEntities);const o=e.length;for(let a=0;a<o;a++){const c=e[a];if(c==="<"){const c=e.charCodeAt(a+1);if(c===47){const i=findClosingIndex(e,">",a,"Closing Tag is not closed.");let o=e.substring(a+2,i).trim();if(s.removeNSPrefix){const e=o.indexOf(":");if(e!==-1){o=o.substr(e+1)}}o=transformTagName(s.transformTagName,o,"",s).tagName;if(r){n=this.saveTextToParentTag(n,r,this.readonlyMatcher)}const c=this.matcher.getCurrentTag();if(o&&s.unpairedTagsSet.has(o)){throw new Error(`Unpaired tag can not be used as closing tag: </${o}>`)}if(c&&s.unpairedTagsSet.has(c)){this.matcher.pop();this.tagsNodeStack.pop()}this.matcher.pop();this.isCurrentNodeStopNode=false;r=this.tagsNodeStack.pop()||t;if(s.captureMetaData&&r){r.addEndIndex(i+1)}n="";a=i}else if(c===63){let t=readTagExp(e,a,false,"?>");if(!t)throw new Error("Pi Tag is not closed.");n=this.saveTextToParentTag(n,r,this.readonlyMatcher);const o=this.buildAttributesMap(t.tagExp,this.matcher,t.tagName,true);if(o){const e=o[this.options.attributeNamePrefix+"version"];this.entityDecoder.setXmlVersion(Number(e)||1);i.setXmlVersion(Number(e)||1)}if(s.ignoreDeclaration&&t.tagName==="?xml"||s.ignorePiTags){}else{const e=new XmlNode(t.tagName);e.add(s.textNodeName,"");if(t.tagName!==t.tagExp&&t.attrExpPresent&&s.ignoreAttributes!==true){e[":@"]=o}this.addChild(r,e,this.readonlyMatcher,a);if(s.captureMetaData){r.addEndIndex(t.closeIndex+2)}}a=t.closeIndex+1}else if(c===33&&e.charCodeAt(a+2)===45&&e.charCodeAt(a+3)===45){const t=findClosingIndex(e,"--\x3e",a+4,"Comment is not closed.");if(s.commentPropName){const i=e.substring(a+4,t-2);n=this.saveTextToParentTag(n,r,this.readonlyMatcher);r.add(s.commentPropName,[{[s.textNodeName]:i}])}a=t}else if(c===33&&e.charCodeAt(a+2)===68){if(this.doctypefound)throw new Error("Multiple DOCTYPE declarations found.");this.doctypefound=true;const t=i.readDocType(e,a);this.entityDecoder.addInputEntities(t.entities);a=t.i}else if(c===33&&e.charCodeAt(a+2)===91){const t=findClosingIndex(e,"]]>",a,"CDATA is not closed.")-2;const i=e.substring(a+9,t);n=this.saveTextToParentTag(n,r,this.readonlyMatcher);let o=this.parseTextData(i,r.tagname,this.readonlyMatcher,true,false,true,true);if(o==undefined)o="";if(s.cdataPropName){r.add(s.cdataPropName,[{[s.textNodeName]:i}])}else{r.add(s.textNodeName,o)}a=t+2}else{let i=readTagExp(e,a,s.removeNSPrefix);if(!i){const t=e.substring(Math.max(0,a-50),Math.min(o,a+50));throw new Error(`readTagExp returned undefined at position ${a}. Context: "${t}"`)}let c=i.tagName;const l=i.rawTagName;let A=i.tagExp;let u=i.attrExpPresent;let d=i.closeIndex;({tagName:c,tagExp:A}=transformTagName(s.transformTagName,c,A,s));if(s.strictReservedNames&&(c===s.commentPropName||c===s.cdataPropName||c===s.textNodeName||c===s.attributesGroupName)){throw new Error(`Invalid tag name: ${c}`)}if(r&&n){if(r.tagname!=="!xml"){n=this.saveTextToParentTag(n,r,this.readonlyMatcher,false)}}const g=r;if(g&&s.unpairedTagsSet.has(g.tagname)){r=this.tagsNodeStack.pop();this.matcher.pop()}let p=false;if(A.length>0&&A.lastIndexOf("/")===A.length-1){p=true;if(c[c.length-1]==="/"){c=c.substr(0,c.length-1);A=c}else{A=A.substr(0,A.length-1)}u=c!==A}let h=null;let m={};let f=undefined;f=extractNamespace(l);if(c!==t.tagname){this.matcher.push(c,{},f)}if(c!==A&&u){h=this.buildAttributesMap(A,this.matcher,c);if(h){m=extractRawAttributes(h,s)}}if(c!==t.tagname){this.isCurrentNodeStopNode=this.isItStopNode()}const C=a;if(this.isCurrentNodeStopNode){let t="";if(p){a=i.closeIndex}else if(s.unpairedTagsSet.has(c)){a=i.closeIndex}else{const r=this.readStopNodeData(e,l,d+1);if(!r)throw new Error(`Unexpected end of ${l}`);a=r.i;t=r.tagContent}const n=new XmlNode(c);if(h){n[":@"]=h}n.add(s.textNodeName,t);this.matcher.pop();this.isCurrentNodeStopNode=false;this.addChild(r,n,this.readonlyMatcher,C);if(s.captureMetaData){r.addEndIndex(a+1)}}else{if(p){({tagName:c,tagExp:A}=transformTagName(s.transformTagName,c,A,s));const e=new XmlNode(c);if(h){e[":@"]=h}this.addChild(r,e,this.readonlyMatcher,C);if(s.captureMetaData){r.addEndIndex(d+1)}this.matcher.pop();this.isCurrentNodeStopNode=false}else if(s.unpairedTagsSet.has(c)){const e=new XmlNode(c);if(h){e[":@"]=h}this.addChild(r,e,this.readonlyMatcher,C);if(s.captureMetaData){r.addEndIndex(i.closeIndex+1)}this.matcher.pop();this.isCurrentNodeStopNode=false;a=i.closeIndex;continue}else{const e=new XmlNode(c);if(this.tagsNodeStack.length>s.maxNestedTags){throw new Error("Maximum nested tags exceeded")}this.tagsNodeStack.push(r);if(h){e[":@"]=h}this.addChild(r,e,this.readonlyMatcher,C);r=e}n="";a=d}}}else{n+=e[a]}}return t.child};function addChild(e,t,r,n){if(!this.options.captureMetaData)n=undefined;const s=this.options.jPath?r.toString():r;const i=this.options.updateTag(t.tagname,s,t[":@"]);if(i===false){}else if(typeof i==="string"){t.tagname=i;e.addChild(t,n)}else{e.addChild(t,n)}}function OrderedObjParser_replaceEntitiesValue(e,t,r){const n=this.options.processEntities;if(!n||!n.enabled){return e}if(n.allowedTags){const s=this.options.jPath?r.toString():r;const i=Array.isArray(n.allowedTags)?n.allowedTags.includes(t):n.allowedTags(t,s);if(!i){return e}}if(n.tagFilter){const s=this.options.jPath?r.toString():r;if(!n.tagFilter(t,s)){return e}}return this.entityDecoder.decode(e)}function saveTextToParentTag(e,t,r,n){if(e){if(n===undefined)n=t.child.length===0;e=this.parseTextData(e,t.tagname,r,false,t[":@"]?Object.keys(t[":@"]).length!==0:false,n);if(e!==undefined&&e!=="")t.add(this.options.textNodeName,e);e=""}return e}function isItStopNode(){if(this.stopNodeExpressionsSet.size===0)return false;return this.matcher.matchesAny(this.stopNodeExpressionsSet)}function tagExpWithClosingIndex(e,t,r=">"){let n=0;const s=e.length;const i=r.charCodeAt(0);const o=r.length>1?r.charCodeAt(1):-1;let a="";let c=t;for(let r=t;r<s;r++){const t=e.charCodeAt(r);if(n){if(t===n)n=0}else if(t===34||t===39){n=t}else if(t===i){if(o!==-1){if(e.charCodeAt(r+1)===o){a+=e.substring(c,r);return{data:a,index:r}}}else{a+=e.substring(c,r);return{data:a,index:r}}}else if(t===9&&!n){a+=e.substring(c,r)+" ";c=r+1}}}function findClosingIndex(e,t,r,n){const s=e.indexOf(t,r);if(s===-1){throw new Error(n)}else{return s+t.length-1}}function findClosingChar(e,t,r,n){const s=e.indexOf(t,r);if(s===-1)throw new Error(n);return s}function readTagExp(e,t,r,n=">"){const s=tagExpWithClosingIndex(e,t+1,n);if(!s)return;let i=s.data;const o=s.index;const a=i.search(/\s/);let c=i;let l=true;if(a!==-1){c=i.substring(0,a);i=i.substring(a+1).trimStart()}const A=c;if(r){const e=c.indexOf(":");if(e!==-1){c=c.substr(e+1);l=c!==s.data.substr(e+1)}}return{tagName:c,tagExp:i,closeIndex:o,attrExpPresent:l,rawTagName:A}}function readStopNodeData(e,t,r){const n=r;let s=1;const i=e.length;for(;r<i;r++){if(e[r]==="<"){const i=e.charCodeAt(r+1);if(i===47){const i=findClosingChar(e,">",r,`${t} is not closed`);let o=e.substring(r+2,i).trim();if(o===t){s--;if(s===0){return{tagContent:e.substring(n,r),i:i}}}r=i}else if(i===63){const t=findClosingIndex(e,"?>",r+1,"StopNode is not closed.");r=t}else if(i===33&&e.charCodeAt(r+2)===45&&e.charCodeAt(r+3)===45){const t=findClosingIndex(e,"--\x3e",r+3,"StopNode is not closed.");r=t}else if(i===33&&e.charCodeAt(r+2)===91){const t=findClosingIndex(e,"]]>",r,"StopNode is not closed.")-2;r=t}else{const n=readTagExp(e,r,false);if(n){const e=n&&n.tagName;if(e===t&&n.tagExp[n.tagExp.length-1]!=="/"){s++}r=n.closeIndex}}}}}function parseValue(e,t,r){if(t&&typeof e==="string"){const t=e.trim();if(t==="true")return true;else if(t==="false")return false;else return toNumber(e,r)}else{if(isExist(e)){return e}else{return""}}}function fromCodePoint(e,t,r){const n=Number.parseInt(e,t);if(n>=0&&n<=1114111){return String.fromCodePoint(n)}else{return r+e+";"}}function transformTagName(e,t,r,n){if(e){const n=e(t);if(r===t){r=n}t=n}t=sanitizeName(t,n);return{tagName:t,tagExp:r}}function sanitizeName(e,t){if(Sl.includes(e)){throw new Error(`[SECURITY] Invalid name: "${e}" is a reserved JavaScript keyword that could cause prototype pollution`)}else if(bl.includes(e)){return t.onDangerousProperty(e)}return e}const GA=XmlNode.getMetaDataSymbol();function stripAttributePrefix(e,t){if(!e||typeof e!=="object")return{};if(!t)return e;const r={};for(const n in e){if(n.startsWith(t)){const s=n.substring(t.length);r[s]=e[n]}else{r[n]=e[n]}}return r}function prettify(e,t,r,n){return compress(e,t,r,n)}function compress(e,t,r,n){let s;const i={};for(let o=0;o<e.length;o++){const a=e[o];const c=node2json_propName(a);if(c!==undefined&&c!==t.textNodeName){const e=stripAttributePrefix(a[":@"]||{},t.attributeNamePrefix);r.push(c,e)}if(c===t.textNodeName){if(s===undefined)s=a[c];else s+=""+a[c]}else if(c===undefined){continue}else if(a[c]){let e=compress(a[c],t,r,n);const s=isLeafTag(e,t);if(Object.keys(e).length===0&&t.alwaysCreateTextNode){e[t.textNodeName]=""}if(a[":@"]){assignAttributes(e,a[":@"],n,t)}else if(Object.keys(e).length===1&&e[t.textNodeName]!==undefined&&!t.alwaysCreateTextNode){e=e[t.textNodeName]}else if(Object.keys(e).length===0){if(t.alwaysCreateTextNode)e[t.textNodeName]="";else e=""}if(a[GA]!==undefined&&typeof e==="object"&&e!==null){e[GA]=a[GA]}if(i[c]!==undefined&&Object.prototype.hasOwnProperty.call(i,c)){if(!Array.isArray(i[c])){i[c]=[i[c]]}i[c].push(e)}else{const r=t.jPath?n.toString():n;if(t.isArray(c,r,s)){i[c]=[e]}else{i[c]=e}}if(c!==undefined&&c!==t.textNodeName){r.pop()}}}if(typeof s==="string"){if(s.length>0)i[t.textNodeName]=s}else if(s!==undefined)i[t.textNodeName]=s;return i}function node2json_propName(e){const t=Object.keys(e);for(let e=0;e<t.length;e++){const r=t[e];if(r!==":@")return r}}function assignAttributes(e,t,r,n){if(t){const s=Object.keys(t);const i=s.length;for(let o=0;o<i;o++){const i=s[o];const a=i.startsWith(n.attributeNamePrefix)?i.substring(n.attributeNamePrefix.length):i;const c=n.jPath?r.toString()+"."+a:r;if(n.isArray(i,c,true,true)){e[i]=[t[i]]}else{e[i]=t[i]}}}}function isLeafTag(e,t){const{textNodeName:r}=t;const n=Object.keys(e).length;if(n===0){return true}if(n===1&&(e[r]||typeof e[r]==="boolean"||e[r]===0)){return true}return false}class XMLParser{constructor(e){this.externalEntities={};this.options=buildOptions(e)}parse(e,t){if(typeof e!=="string"&&e.toString){e=e.toString()}else if(typeof e!=="string"){throw new Error("XML data is accepted in String or Bytes[] form.")}if(t){if(t===true)t={};const r=validator_validate(e,t);if(r!==true){throw Error(`${r.err.msg}:${r.err.line}:${r.err.col}`)}}const r=new OrderedObjParser(this.options,this.externalEntities);const n=r.parseXml(e);if(this.options.preserveOrder||n===undefined)return n;else return prettify(n,this.options,r.matcher,r.readonlyMatcher)}addEntity(e,t){if(t.indexOf("&")!==-1){throw new Error("Entity value can't have '&'")}else if(e.indexOf("&")!==-1||e.indexOf(";")!==-1){throw new Error("An entity must be set without '&' and ';'. Eg. use '#xD' for '
'")}else if(t==="&"){throw new Error("An entity with value '&' is not permitted")}else{this.externalEntities[e]=t}}static getMetaDataSymbol(){return XmlNode.getMetaDataSymbol()}}const zA="$";const YA="_";function getCommonOptions(e){return{attributesGroupName:zA,textNodeName:e.xmlCharKey??YA,ignoreAttributes:false,suppressBooleanAttributes:false}}function getSerializerOptions(e={}){return{...getCommonOptions(e),attributeNamePrefix:"@_",format:true,suppressEmptyNode:true,indentBy:"",rootNodeName:e.rootName??"root",cdataPropName:e.cdataPropName??"__cdata"}}function getParserOptions(e={}){return{...getCommonOptions(e),parseAttributeValue:false,parseTagValue:false,attributeNamePrefix:"",stopNodes:e.stopNodes,processEntities:true,trimValues:false}}function stringifyXML(e,t={}){const r=getSerializerOptions(t);const n=new yl(r);const s={[r.rootNodeName]:e};const i=n.build(s);return`<?xml version="1.0" encoding="UTF-8" standalone="yes"?>${i}`.replace(/\n/g,"")}async function parseXML(e,t={}){if(!e){throw new Error("Document is empty")}const r=xl.validate(e);if(r!==true){throw r}const n=new XMLParser(getParserOptions(t));const s=n.parse(e);if(s["?xml"]){delete s["?xml"]}if(!t.includeRoot){const e=Object.keys(s)[0];if(e!==undefined){const t=s[e];return typeof t==="object"?{...t}:t}}return s}const VA=esm_createClientLogger("storage-blob");class BuffersStream extends sa.Readable{buffers;byteLength;byteOffsetInCurrentBuffer;bufferIndex;pushedBytesLength;constructor(e,t,r){super(r);this.buffers=e;this.byteLength=t;this.byteOffsetInCurrentBuffer=0;this.bufferIndex=0;this.pushedBytesLength=0;let n=0;for(const e of this.buffers){n+=e.byteLength}if(n<this.byteLength){throw new Error("Data size shouldn't be larger than the total length of buffers.")}}_read(e){if(this.pushedBytesLength>=this.byteLength){this.push(null)}if(!e){e=this.readableHighWaterMark}const t=[];let r=0;while(r<e&&this.pushedBytesLength<this.byteLength){const n=this.byteLength-this.pushedBytesLength;const s=this.buffers[this.bufferIndex].byteLength-this.byteOffsetInCurrentBuffer;const i=Math.min(s,n);if(i>e-r){const n=this.byteOffsetInCurrentBuffer+e-r;t.push(this.buffers[this.bufferIndex].slice(this.byteOffsetInCurrentBuffer,n));this.pushedBytesLength+=e-r;this.byteOffsetInCurrentBuffer=n;r=e;break}else{const e=this.byteOffsetInCurrentBuffer+i;t.push(this.buffers[this.bufferIndex].slice(this.byteOffsetInCurrentBuffer,e));if(i===s){this.byteOffsetInCurrentBuffer=0;this.bufferIndex++}else{this.byteOffsetInCurrentBuffer=e}this.pushedBytesLength+=i;r+=i}}if(t.length>1){this.push(Buffer.concat(t))}else if(t.length===1){this.push(t[0])}}}var JA=__nccwpck_require__(4573);const WA=JA.constants.MAX_LENGTH;class PooledBuffer{buffers=[];capacity;_size;get size(){return this._size}constructor(e,t,r){this.capacity=e;this._size=0;const n=Math.ceil(e/WA);for(let t=0;t<n;t++){let r=t===n-1?e%WA:WA;if(r===0){r=WA}this.buffers.push(Buffer.allocUnsafe(r))}if(t){this.fill(t,r)}}fill(e,t){this._size=Math.min(this.capacity,t);let r=0,n=0,s=0,i=0,o=0;while(o<this._size){const t=e[r];const a=this.buffers[n];const c=t.copy(a,s,i);o+=c;i+=c;s+=c;if(i===t.length){r++;i=0}if(s===a.length){n++;s=0}}e.splice(0,r);if(e.length>0){e[0]=e[0].slice(i)}}getReadableStream(){return new BuffersStream(this.buffers,this.size)}}class BufferScheduler{bufferSize;maxBuffers;readable;outgoingHandler;emitter=new Ur.EventEmitter;concurrency;offset=0;isStreamEnd=false;isError=false;executingOutgoingHandlers=0;encoding;numBuffers=0;unresolvedDataArray=[];unresolvedLength=0;incoming=[];outgoing=[];constructor(e,t,r,n,s,i){if(t<=0){throw new RangeError(`bufferSize must be larger than 0, current is ${t}`)}if(r<=0){throw new RangeError(`maxBuffers must be larger than 0, current is ${r}`)}if(s<=0){throw new RangeError(`concurrency must be larger than 0, current is ${s}`)}this.bufferSize=t;this.maxBuffers=r;this.readable=e;this.outgoingHandler=n;this.concurrency=s;this.encoding=i}async do(){return new Promise(((e,t)=>{this.readable.on("data",(e=>{e=typeof e==="string"?Buffer.from(e,this.encoding):e;this.appendUnresolvedData(e);if(!this.resolveData()){this.readable.pause()}}));this.readable.on("error",(e=>{this.emitter.emit("error",e)}));this.readable.on("end",(()=>{this.isStreamEnd=true;this.emitter.emit("checkEnd")}));this.emitter.on("error",(e=>{this.isError=true;this.readable.pause();t(e)}));this.emitter.on("checkEnd",(()=>{if(this.outgoing.length>0){this.triggerOutgoingHandlers();return}if(this.isStreamEnd&&this.executingOutgoingHandlers===0){if(this.unresolvedLength>0&&this.unresolvedLength<this.bufferSize){const r=this.shiftBufferFromUnresolvedDataArray();this.outgoingHandler((()=>r.getReadableStream()),r.size,this.offset).then(e).catch(t)}else if(this.unresolvedLength>=this.bufferSize){return}else{e()}}}))}))}appendUnresolvedData(e){this.unresolvedDataArray.push(e);this.unresolvedLength+=e.length}shiftBufferFromUnresolvedDataArray(e){if(!e){e=new PooledBuffer(this.bufferSize,this.unresolvedDataArray,this.unresolvedLength)}else{e.fill(this.unresolvedDataArray,this.unresolvedLength)}this.unresolvedLength-=e.size;return e}resolveData(){while(this.unresolvedLength>=this.bufferSize){let e;if(this.incoming.length>0){e=this.incoming.shift();this.shiftBufferFromUnresolvedDataArray(e)}else{if(this.numBuffers<this.maxBuffers){e=this.shiftBufferFromUnresolvedDataArray();this.numBuffers++}else{return false}}this.outgoing.push(e);this.triggerOutgoingHandlers()}return true}async triggerOutgoingHandlers(){let e;do{if(this.executingOutgoingHandlers>=this.concurrency){return}e=this.outgoing.shift();if(e){this.triggerOutgoingHandler(e)}}while(e)}async triggerOutgoingHandler(e){const t=e.size;this.executingOutgoingHandlers++;this.offset+=t;try{await this.outgoingHandler((()=>e.getReadableStream()),t,this.offset-t)}catch(e){this.emitter.emit("error",e);return}this.executingOutgoingHandlers--;this.reuseBuffer(e);this.emitter.emit("checkEnd")}reuseBuffer(e){this.incoming.push(e);if(!this.isError&&this.resolveData()&&!this.isStreamEnd){this.readable.resume()}}}var jA=(()=>{var e=typeof document!=="undefined"&&document.currentScript?document.currentScript.src:undefined;return function(e){e=e||{};var t=typeof e!="undefined"?e:{};var r,n;t["ready"]=new Promise((function(e,t){r=e;n=t}));["_malloc","_free","_emscripten_bind_VoidPtr___destroy___0","_emscripten_bind_Crc64Hash_Crc64Hash_0","_emscripten_bind_Crc64Hash_OnAppend_2","_emscripten_bind_Crc64Hash_OnFinal_3","_emscripten_bind_Crc64Hash___destroy___0","_fflush","onRuntimeInitialized"].forEach((e=>{if(!Object.getOwnPropertyDescriptor(t["ready"],e)){Object.defineProperty(t["ready"],e,{get:()=>abort("You are getting "+e+" on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js"),set:()=>abort("You are setting "+e+" on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")})}}));var s=Object.assign({},t);var i=[];var o="./this.program";var quit_=(e,t)=>{throw t};var a=typeof window=="object";var c=typeof importScripts=="function";var l=typeof process=="object"&&typeof process.versions=="object"&&typeof process.versions.node=="string";var A=!a&&!l&&!c;if(t["ENVIRONMENT"]){throw new Error("Module.ENVIRONMENT has been deprecated. To force the environment, use the ENVIRONMENT compile-time option (for example, -sENVIRONMENT=web or -sENVIRONMENT=node)")}var u="";function locateFile(e){if(t["locateFile"]){return t["locateFile"](e,u)}return u+e}var d,g,p,h;function logExceptionOnExit(e){if(e instanceof ExitStatus)return;let t=e;if(e&&typeof e=="object"&&e.stack){t=[e,e.stack]}f("exiting due to exception: "+t)}if(l){if(typeof process=="undefined"||!process.release||process.release.name!=="node")throw new Error("not compiled for this environment (did you build to HTML and try to run it not on the web, or set ENVIRONMENT to something - like node - and run it someplace else - like on the web?)");if(process["argv"].length>1){o=process["argv"][1].replace(/\\/g,"/")}i=process["argv"].slice(2);process["on"]("uncaughtException",(function(e){if(!(e instanceof ExitStatus)){throw e}}));process["on"]("unhandledRejection",(function(e){throw e}));quit_=(e,t)=>{if(keepRuntimeAlive()){process["exitCode"]=e;throw t}logExceptionOnExit(t);process["exit"](e)};t["inspect"]=function(){return"[Emscripten Module object]"}}else if(A){if(typeof process=="object"&&typeof require==="function"||typeof window=="object"||typeof importScripts=="function")throw new Error("not compiled for this environment (did you build to HTML and try to run it not on the web, or set ENVIRONMENT to something - like node - and run it someplace else - like on the web?)");if(typeof scriptArgs!="undefined"){i=scriptArgs}else if(typeof arguments!="undefined"){i=arguments}if(typeof quit=="function"){quit_=(e,t)=>{logExceptionOnExit(t);quit(e)}}if(typeof print!="undefined"){if(typeof console=="undefined")console={};console.log=print;console.warn=console.error=typeof printErr!="undefined"?printErr:print}}else if(a||c){if(!(typeof window=="object"||typeof importScripts=="function"))throw new Error("not compiled for this environment (did you build to HTML and try to run it not on the web, or set ENVIRONMENT to something - like node - and run it someplace else - like on the web?)")}else{throw new Error("environment detection error")}var m=t["print"]||console.log.bind(console);var f=t["printErr"]||console.warn.bind(console);Object.assign(t,s);s=null;checkIncomingModuleAPI();if(t["arguments"])i=t["arguments"];legacyModuleProp("arguments","arguments_");if(t["thisProgram"])o=t["thisProgram"];legacyModuleProp("thisProgram","thisProgram");if(t["quit"])quit_=t["quit"];legacyModuleProp("quit","quit_");assert(typeof t["memoryInitializerPrefixURL"]=="undefined","Module.memoryInitializerPrefixURL option was removed, use Module.locateFile instead");assert(typeof t["pthreadMainPrefixURL"]=="undefined","Module.pthreadMainPrefixURL option was removed, use Module.locateFile instead");assert(typeof t["cdInitializerPrefixURL"]=="undefined","Module.cdInitializerPrefixURL option was removed, use Module.locateFile instead");assert(typeof t["filePackagePrefixURL"]=="undefined","Module.filePackagePrefixURL option was removed, use Module.locateFile instead");assert(typeof t["read"]=="undefined","Module.read option was removed (modify read_ in JS)");assert(typeof t["readAsync"]=="undefined","Module.readAsync option was removed (modify readAsync in JS)");assert(typeof t["readBinary"]=="undefined","Module.readBinary option was removed (modify readBinary in JS)");assert(typeof t["setWindowTitle"]=="undefined","Module.setWindowTitle option was removed (modify setWindowTitle in JS)");assert(typeof t["TOTAL_MEMORY"]=="undefined","Module.TOTAL_MEMORY has been renamed Module.INITIAL_MEMORY");legacyModuleProp("read","read_");legacyModuleProp("readAsync","readAsync");legacyModuleProp("readBinary","readBinary");legacyModuleProp("setWindowTitle","setWindowTitle");var C="IDBFS is no longer included by default; build with -lidbfs.js";var y="PROXYFS is no longer included by default; build with -lproxyfs.js";var E="WORKERFS is no longer included by default; build with -lworkerfs.js";var I="NODEFS is no longer included by default; build with -lnodefs.js";assert(!A,"shell environment detected but not enabled at build time. Add 'shell' to `-sENVIRONMENT` to enable.");var B=16;var Q=4;function getNativeTypeSize(e){switch(e){case"i1":case"i8":case"u8":return 1;case"i16":case"u16":return 2;case"i32":case"u32":return 4;case"i64":case"u64":return 8;case"float":return 4;case"double":return 8;default:{if(e[e.length-1]==="*"){return Q}if(e[0]==="i"){const t=Number(e.substr(1));assert(t%8===0,"getNativeTypeSize invalid bits "+t+", type "+e);return t/8}return 0}}}function legacyModuleProp(e,r){if(!Object.getOwnPropertyDescriptor(t,e)){Object.defineProperty(t,e,{configurable:true,get:function(){abort("Module."+e+" has been replaced with plain "+r+" (the initial value can be provided on Module, but after startup the value is only looked for on a local variable of that name)")}})}}function ignoredModuleProp(e){if(Object.getOwnPropertyDescriptor(t,e)){abort("`Module."+e+"` was supplied but `"+e+"` not included in INCOMING_MODULE_JS_API")}}function isExportedByForceFilesystem(e){return e==="FS_createPath"||e==="FS_createDataFile"||e==="FS_createPreloadedFile"||e==="FS_unlink"||e==="addRunDependency"||e==="FS_createLazyFile"||e==="FS_createDevice"||e==="removeRunDependency"}function missingLibrarySymbol(e){if(typeof globalThis!=="undefined"&&!Object.getOwnPropertyDescriptor(globalThis,e)){Object.defineProperty(globalThis,e,{configurable:true,get:function(){var t="`"+e+"` is a library symbol and not included by default; add it to your library.js __deps or to DEFAULT_LIBRARY_FUNCS_TO_INCLUDE on the command line";var r=e;if(!r.startsWith("_")){r="$"+e}t+=" (e.g. -sDEFAULT_LIBRARY_FUNCS_TO_INCLUDE="+r+")";if(isExportedByForceFilesystem(e)){t+=". Alternatively, forcing filesystem support (-sFORCE_FILESYSTEM) can export this for you"}warnOnce(t);return undefined}})}}function unexportedRuntimeSymbol(e){if(!Object.getOwnPropertyDescriptor(t,e)){Object.defineProperty(t,e,{configurable:true,get:function(){var t="'"+e+"' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)";if(isExportedByForceFilesystem(e)){t+=". Alternatively, forcing filesystem support (-sFORCE_FILESYSTEM) can export this for you"}abort(t)}})}}var b;if(t["wasmBinary"])b=t["wasmBinary"];legacyModuleProp("wasmBinary","wasmBinary");var S=t["noExitRuntime"]||true;legacyModuleProp("noExitRuntime","noExitRuntime");if(typeof WebAssembly!="object"){abort("no native wasm support detected")}var w;var D=false;var N;function assert(e,t){if(!e){abort("Assertion failed"+(t?": "+t:""))}}var x=typeof TextDecoder!="undefined"?new TextDecoder("utf8"):undefined;function UTF8ArrayToString(e,t,r){var n=t+r;var s=t;while(e[s]&&!(s>=n))++s;if(s-t>16&&e.buffer&&x){return x.decode(e.subarray(t,s))}var i="";while(t<s){var o=e[t++];if(!(o&128)){i+=String.fromCharCode(o);continue}var a=e[t++]&63;if((o&224)==192){i+=String.fromCharCode((o&31)<<6|a);continue}var c=e[t++]&63;if((o&240)==224){o=(o&15)<<12|a<<6|c}else{if((o&248)!=240)warnOnce("Invalid UTF-8 leading byte "+ptrToString(o)+" encountered when deserializing a UTF-8 string in wasm memory to a JS string!");o=(o&7)<<18|a<<12|c<<6|e[t++]&63}if(o<65536){i+=String.fromCharCode(o)}else{var l=o-65536;i+=String.fromCharCode(55296|l>>10,56320|l&1023)}}return i}function UTF8ToString(e,t){return e?UTF8ArrayToString(F,e,t):""}function stringToUTF8Array(e,t,r,n){if(!(n>0))return 0;var s=r;var i=r+n-1;for(var o=0;o<e.length;++o){var a=e.charCodeAt(o);if(a>=55296&&a<=57343){var c=e.charCodeAt(++o);a=65536+((a&1023)<<10)|c&1023}if(a<=127){if(r>=i)break;t[r++]=a}else if(a<=2047){if(r+1>=i)break;t[r++]=192|a>>6;t[r++]=128|a&63}else if(a<=65535){if(r+2>=i)break;t[r++]=224|a>>12;t[r++]=128|a>>6&63;t[r++]=128|a&63}else{if(r+3>=i)break;if(a>1114111)warnOnce("Invalid Unicode code point "+ptrToString(a)+" encountered when serializing a JS string to a UTF-8 string in wasm memory! (Valid unicode code points should be in range 0-0x10FFFF).");t[r++]=240|a>>18;t[r++]=128|a>>12&63;t[r++]=128|a>>6&63;t[r++]=128|a&63}}t[r]=0;return r-s}function stringToUTF8(e,t,r){assert(typeof r=="number","stringToUTF8(str, outPtr, maxBytesToWrite) is missing the third parameter that specifies the length of the output buffer!");return stringToUTF8Array(e,F,t,r)}function lengthBytesUTF8(e){var t=0;for(var r=0;r<e.length;++r){var n=e.charCodeAt(r);if(n<=127){t++}else if(n<=2047){t+=2}else if(n>=55296&&n<=57343){t+=4;++r}else{t+=3}}return t}var R,v,k,F,T,M,P,L,U,O;function updateGlobalBufferAndViews(e){v=e;t["HEAP8"]=k=new Int8Array(e);t["HEAP16"]=T=new Int16Array(e);t["HEAP32"]=P=new Int32Array(e);t["HEAPU8"]=F=new Uint8Array(e);t["HEAPU16"]=M=new Uint16Array(e);t["HEAPU32"]=L=new Uint32Array(e);t["HEAPF32"]=U=new Float32Array(e);t["HEAPF64"]=O=new Float64Array(e)}var H=5242880;if(t["STACK_SIZE"])assert(H===t["STACK_SIZE"],"the stack size can no longer be determined at runtime");var _=t["INITIAL_MEMORY"]||16777216;legacyModuleProp("INITIAL_MEMORY","INITIAL_MEMORY");assert(_>=H,"INITIAL_MEMORY should be larger than STACK_SIZE, was "+_+"! (STACK_SIZE="+H+")");assert(typeof Int32Array!="undefined"&&typeof Float64Array!=="undefined"&&Int32Array.prototype.subarray!=undefined&&Int32Array.prototype.set!=undefined,"JS engine does not provide full typed array support");assert(!t["wasmMemory"],"Use of `wasmMemory` detected. Use -sIMPORTED_MEMORY to define wasmMemory externally");assert(_==16777216,"Detected runtime INITIAL_MEMORY setting. Use -sIMPORTED_MEMORY to define wasmMemory dynamically");var q;function writeStackCookie(){var e=Qe();assert((e&3)==0);if(e==0){e+=4}L[e>>2]=34821223;L[e+4>>2]=2310721022;L[0]=1668509029}function checkStackCookie(){if(D)return;var e=Qe();if(e==0){e+=4}var t=L[e>>2];var r=L[e+4>>2];if(t!=34821223||r!=2310721022){abort("Stack overflow! Stack cookie has been overwritten at "+ptrToString(e)+", expected hex dwords 0x89BACDFE and 0x2135467, but received "+ptrToString(r)+" "+ptrToString(t))}if(L[0]!==1668509029){abort("Runtime error: The application has corrupted its heap memory area (address zero)!")}}(function(){var e=new Int16Array(1);var t=new Int8Array(e.buffer);e[0]=25459;if(t[0]!==115||t[1]!==99)throw"Runtime error: expected the system to be little-endian! (Run with -sSUPPORT_BIG_ENDIAN to bypass)"})();var G=[];var z=[];var Y=[];var V=[];var J=false;function keepRuntimeAlive(){return S}function preRun(){if(t["preRun"]){if(typeof t["preRun"]=="function")t["preRun"]=[t["preRun"]];while(t["preRun"].length){addOnPreRun(t["preRun"].shift())}}callRuntimeCallbacks(G)}function initRuntime(){assert(!J);J=true;checkStackCookie();callRuntimeCallbacks(z)}function postRun(){checkStackCookie();if(t["postRun"]){if(typeof t["postRun"]=="function")t["postRun"]=[t["postRun"]];while(t["postRun"].length){addOnPostRun(t["postRun"].shift())}}callRuntimeCallbacks(V)}function addOnPreRun(e){G.unshift(e)}function addOnInit(e){z.unshift(e)}function addOnExit(e){}function addOnPostRun(e){V.unshift(e)}assert(Math.imul,"This browser does not support Math.imul(), build with LEGACY_VM_SUPPORT or POLYFILL_OLD_MATH_FUNCTIONS to add in a polyfill");assert(Math.fround,"This browser does not support Math.fround(), build with LEGACY_VM_SUPPORT or POLYFILL_OLD_MATH_FUNCTIONS to add in a polyfill");assert(Math.clz32,"This browser does not support Math.clz32(), build with LEGACY_VM_SUPPORT or POLYFILL_OLD_MATH_FUNCTIONS to add in a polyfill");assert(Math.trunc,"This browser does not support Math.trunc(), build with LEGACY_VM_SUPPORT or POLYFILL_OLD_MATH_FUNCTIONS to add in a polyfill");var W=0;var j=null;var K=null;var $={};function getUniqueRunDependency(e){var t=e;while(1){if(!$[e])return e;e=t+Math.random()}}function addRunDependency(e){W++;if(t["monitorRunDependencies"]){t["monitorRunDependencies"](W)}if(e){assert(!$[e]);$[e]=1;if(j===null&&typeof setInterval!="undefined"){j=setInterval((function(){if(D){clearInterval(j);j=null;return}var e=false;for(var t in $){if(!e){e=true;f("still waiting on run dependencies:")}f("dependency: "+t)}if(e){f("(end of list)")}}),1e4)}}else{f("warning: run dependency added without ID")}}function removeRunDependency(e){W--;if(t["monitorRunDependencies"]){t["monitorRunDependencies"](W)}if(e){assert($[e]);delete $[e]}else{f("warning: run dependency removed without ID")}if(W==0){if(j!==null){clearInterval(j);j=null}if(K){var r=K;K=null;r()}}}function abort(e){if(t["onAbort"]){t["onAbort"](e)}e="Aborted("+e+")";f(e);D=true;N=1;var r=new WebAssembly.RuntimeError(e);n(r);throw r}var X={error:function(){abort("Filesystem support (FS) was not included. The problem is that you are using files from JS, but files were not used from C/C++, so filesystem support was not auto-included. You can force-include filesystem support with -sFORCE_FILESYSTEM")},init:function(){X.error()},createDataFile:function(){X.error()},createPreloadedFile:function(){X.error()},createLazyFile:function(){X.error()},open:function(){X.error()},mkdev:function(){X.error()},registerDevice:function(){X.error()},analyzePath:function(){X.error()},loadFilesFromDB:function(){X.error()},ErrnoError:function ErrnoError(){X.error()}};t["FS_createDataFile"]=X.createDataFile;t["FS_createPreloadedFile"]=X.createPreloadedFile;var Z="data:application/octet-stream;base64,";function isDataURI(e){return e.startsWith(Z)}function isFileURI(e){return e.startsWith("file://")}function createExportWrapper(e,r){return function(){var n=e;var s=r;if(!r){s=t["asm"]}assert(J,"native function `"+n+"` called before runtime initialization");if(!s[e]){assert(s[e],"exported native function `"+n+"` not found")}return s[e].apply(null,arguments)}}var ee;ee="crc64.wasm";if(!isDataURI(ee)){ee=locateFile(ee)}var te=["AGFzbQEAAAABzYCAgAAMYAF/AX9gAAF/YAF/AGAAAGADf35/AX5gA39/fwBgBH9/f38AYAN/f38Bf2AFf39","/f38Bf2AEf39/fwF/YAR/f35/AX5gBH9+f38BfwKPgYCAAAUDZW52BWFib3J0AAMDZW52FmVtc2NyaXB0ZW","5fcmVzaXplX2hlYXAAABZ3YXNpX3NuYXBzaG90X3ByZXZpZXcxCGZkX2Nsb3NlAAAWd2FzaV9zbmFwc2hvd","F9wcmV2aWV3MQhmZF93cml0ZQAJFndhc2lfc25hcHNob3RfcHJldmlldzEHZmRfc2VlawAIA62AgIAALAMF","BgIBAAUGAgEBAAACAAIAAAAHBAQCAgEDAAIAAQIBAQIAAQMBAQEACggLBIWAgIAAAXABBAQFh4CAgAABAYA","CgIACBsiAgIAACn8BQYCAwAILfwFBAAt/AUEAC38BQQALfwBBnJHBAgt/AEGwkcECC38AQZyRwQILfwBBsJ","HBAgt/AEGwkcECC38AQZKSwQILB/qEgIAAGwZtZW1vcnkCABFfX3dhc21fY2FsbF9jdG9ycwAFJWVtc2Nya","XB0ZW5fYmluZF9Wb2lkUHRyX19fZGVzdHJveV9fXzAACCVlbXNjcmlwdGVuX2JpbmRfQ3JjNjRIYXNoX0Ny","YzY0SGFzaF8wAAkkZW1zY3JpcHRlbl9iaW5kX0NyYzY0SGFzaF9PbkFwcGVuZF8yAAsjZW1zY3JpcHRlbl9","iaW5kX0NyYzY0SGFzaF9PbkZpbmFsXzMADCdlbXNjcmlwdGVuX2JpbmRfQ3JjNjRIYXNoX19fZGV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gMAQsgAygCCCEICyADIAQ2AgggCCAENgIMIAQgAzYCDCAEIAg2AggLIABBCGohAEEAIAc2AqySwQJBACA","FNgKgksECDA8LQQAoApySwQIiCUUNASAJQQAgCWtxaEECdEHIlMECaigCACIHKAIEQXhxIANrIQQgByEFAk","ADQAJAIAUoAhAiAA0AIAVBFGooAgAiAEUNAgsgACgCBEF4cSADayIFIAQgBSAESSIFGyEEIAAgByAFGyEHI","AAhBQwACwALIAcoAhghCgJAIAcoAgwiCCAHRg0AIAcoAggiAEEAKAKoksECSRogACAINgIMIAggADYCCAwO","CwJAIAdBFGoiBSgCACIADQAgBygCECIARQ0DIAdBEGohBQsDQCAFIQsgACIIQRRqIgUoAgAiAA0AIAhBEGo","hBSAIKAIQIgANAAsgC0EANgIADA0LQX8hAyAAQb9/Sw0AIABBC2oiAEF4cSEDQQAoApySwQIiBkUNAEEAIQ","sCQCADQYACSQ0AQR8hCyADQf///wdLDQAgA0EmIABBCHZnIgBrdkEBcSAAQQF0a0E+aiELC0EAIANrIQQCQ","AJAAkACQCALQQJ0QciUwQJqKAIAIgUNAEEAIQBBACEIDAELQQAhACADQQBBGSALQQF2ayALQR9GG3QhB0EA","IQgDQAJAIAUoAgRBeHEgA2siAiAETw0AIAIhBCAFIQggAg0AQQAhBCAFIQggBSEADAMLIAAgBUEUaigCACI","CIAIgBSAHQR12QQRxakEQaigCACIFRhsgACACGyEAIAdBAXQhByAFDQALCwJAIAAgCHINAEEAIQhBAiALdC","IAQQAgAGtyIAZxIgBFDQMgAEEAIABrcWhBAnRByJTBAmooAgAhAAsgAEUNAQsDQCAAKAIEQXhxIANrIgIgB","EkhBwJAIAAoAhAiBQ0AIABBFGooAgAhBQsgAiAEIAcbIQQgACAIIAcbIQggBSEAIAUNAAsLIAhFDQAgBEEA","KAKgksECIANrTw0AIAgoAhghCwJAIAgoAgwiByAIRg0AIAgoAggiAEEAKAKoksECSRogACAHNgIMIAcgADY","CCAwMCwJAIAhBFGoiBSgCACIADQAgCCgCECIARQ0DIAhBEGohBQsDQCAFIQIgACIHQRRqIgUoAgAiAA0AIA","dBEGohBSAHKAIQIgANAAsgAkEANgIADAsLAkBBACgCoJLBAiIAIANJDQBBACgCrJLBAiEEAkACQCAAIANrI","gVBEEkNAEEAIAU2AqCSwQJBACAEIANqIgc2AqySwQIgByAFQQFyNgIEIAQgAGogBTYCACAEIANBA3I2AgQM","AQtBAEEANgKsksECQQBBADYCoJLBAiAEIABBA3I2AgQgBCAAaiIAIAAoAgRBAXI2AgQLIARBCGohAAwNCwJ","AQQAoAqSSwQIiByADTQ0AQQAgByADayIENgKkksECQQBBACgCsJLBAiIAIANqIgU2ArCSwQIgBSAEQQFyNg","IEIAAgA0EDcjYCBCAAQQhqIQAMDQsCQAJAQQAoAvCVwQJFDQBBACgC+JXBAiEEDAELQQBCfzcC/JXBAkEAQ","oCggICAgAQ3AvSVwQJBACABQQxqQXBxQdiq1aoFczYC8JXBAkEAQQA2AoSWwQJBAEEANgLUlcECQYAgIQQL","QQAhACAEIANBL2oiBmoiAkEAIARrIgtxIgggA00NDEEAIQACQEEAKALQlcECIgRFDQBBACgCyJXBAiIFIAh","qIgkgBU0NDSAJIARLDQ0LAkACQEEALQDUlcECQQRxDQACQAJAAkACQAJAQQAoArCSwQIiBEUNAEHYlcECIQ","ADQAJAIAAoAgAiBSAESw0AIAUgACgCBGogBEsNAwsgACgCCCIADQALC0EAEBAiB0F/Rg0DIAghAgJAQQAoA","vSVwQIiAEF/aiIEIAdxRQ0AIAggB2sgBCAHakEAIABrcWohAgsgAiADTQ0DAkBBACgC0JXBAiIARQ0AQQAo","AsiVwQIiBCACaiIFIARNDQQgBSAASw0ECyACEBAiACAHRw0BDAULIAIgB2sgC3EiAhAQIgcgACgCACAAKAI","EakYNASAHIQALIABBf0YNAQJAIANBMGogAksNACAAIQcMBAsgBiACa0EAKAL4lcECIgRqQQAgBGtxIgQQEE","F/Rg0BIAQgAmohAiAAIQcMAwsgB0F/Rw0CC0EAQQAoAtSVwQJBBHI2AtSVwQILIAgQECEHQQAQECEAIAdBf","0YNBSAAQX9GDQUgByAATw0FIAAgB2siAiADQShqTQ0FC0EAQQAoAsiVwQIgAmoiADYCyJXBAgJAIABBACgC","zJXBAk0NAEEAIAA2AsyVwQILAkACQEEAKAKwksECIgRFDQBB2JXBAiEAA0AgByAAKAIAIgUgACgCBCIIakY","NAiAAKAIIIgANAAwFCwALAkACQEEAKAKoksECIgBFDQAgByAATw0BC0EAIAc2AqiSwQILQQAhAEEAIAI2At","yVwQJBACAHNgLYlcECQQBBfzYCuJLBAkEAQQAoAvCVwQI2ArySwQJBAEEANgLklcECA0AgAEEDdCIEQciSw","QJqIARBwJLBAmoiBTYCACAEQcySwQJqIAU2AgAgAEEBaiIAQSBHDQALQQAgAkFYaiIAQXggB2tBB3FBACAH","QQhqQQdxGyIEayIFNgKkksECQQAgByAEaiIENgKwksECIAQgBUEBcjYCBCAHIABqQSg2AgRBAEEAKAKAlsE","CNgK0ksECDAQLIAAtAAxBCHENAiAEIAVJDQIgBCAHTw0CIAAgCCACajYCBEEAIARBeCAEa0EHcUEAIARBCG","pBB3EbIgBqIgU2ArCSwQJBAEEAKAKkksECIAJqIgcgAGsiADYCpJLBAiAFIABBAXI2AgQgBCAHakEoNgIEQ","QBBACgCgJbBAjYCtJLBAgwDC0EAIQgMCgtBACEHDAgLAkAgB0EAKAKoksECIghPDQBBACAHNgKoksECIAch","CAsgByACaiEFQdiVwQIhAAJAAkACQAJAA0AgACgCACAFRg0BIAAoAggiAA0ADAILAAsgAC0ADEEIcUUNAQt","B2JXBAiEAA0ACQCAAKAIAIgUgBEsNACAFIAAoAgRqIgUgBEsNAwsgACgCCCEADAALAAsgACAHNgIAIAAgAC","gCBCACajYCBCAHQXggB2tBB3FBACAHQQhqQQdxG2oiCyADQQNyNgIEIAVBeCAFa0EHcUEAIAVBCGpBB3Eba","iICIAsgA2oiA2shAAJAIAIgBEcNAEEAIAM2ArCSwQJBAEEAKAKkksECIABqIgA2AqSS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A0BQQAgCUF+IAV3cTYCnJLBAgwCC","yAKQRBBFCAKKAIQIAdGG2ogCDYCACAIRQ0BCyAIIAo2AhgCQCAHKAIQIgBFDQAgCCAANgIQIAAgCDYCGAsg","B0EUaigCACIARQ0AIAhBFGogADYCACAAIAg2AhgLAkACQCAEQQ9LDQAgByAEIANqIgBBA3I2AgQgByAAaiI","AIAAoAgRBAXI2AgQMAQsgByADQQNyNgIEIAcgA2oiBSAEQQFyNgIEIAUgBGogBDYCAAJAIAZFDQAgBkF4cU","HAksECaiEDQQAoAqySwQIhAAJAAkBBASAGQQN2dCIIIAJxDQBBACAIIAJyNgKYksECIAMhCAwBCyADKAIII","QgLIAMgADYCCCAIIAA2AgwgACADNgIMIAAgCDYCCAtBACAFNgKsksECQQAgBDYCoJLBAgsgB0EIaiEACyAB","QRBqJAAgAAuDDQEHfwJAIABFDQAgAEF4aiIBIABBfGooAgAiAkF4cSIAaiEDAkAgAkEBcQ0AIAJBA3FFDQE","gASABKAIAIgJrIgFBACgCqJLBAiIESQ0BIAIgAGohAAJAAkACQCABQQAoAqySwQJGDQACQCACQf8BSw0AIA","EoAggiBCACQQN2IgVBA3RBwJLBAmoiBkYaAkAgASgCDCICIARHDQBBAEEAKAKYksECQX4gBXdxNgKYksECD","AULIAIgBkYaIAQgAjYCDCACIAQ2AggMBAsgASgCGCEHAkAgASgCDCIGIAFGDQAgASgCCCICIARJGiACIAY2","AgwgBiACNgIIDAMLAkAgAUEUaiIEKAIAIgINACABKAIQIgJFDQIgAUEQaiEECwNAIAQhBSACIgZBFGoiBCg","CACICDQAgBkEQaiEEIAYoAhAiAg0ACyAFQQA2AgAMAgsgAygCBCICQQNxQQNHDQJBACAANgKgksECIAMgAk","F+cTYCBCABIABBAXI2AgQgAyAANgIADwtBACEGCyAHRQ0AAkACQCABIAEoAhwiBEECdEHIlMECaiICKAIAR","w0AIAIgBjYCACAGDQFBAEEAKAKcksECQX4gBHdxNgKcksECDAILIAdBEEEUIAcoAhAgAUYbaiAGNgIAIAZF","DQELIAYgBzYCGAJAIAEoAhAiAkUNACAGIAI2AhAgAiAGNgIYCyABQRRqKAIAIgJFDQAgBkEUaiACNgIAIAI","gBjYCGAsgASADTw0AIAMoAgQiAkEBcUUNAAJAAkACQAJAAkAgAkECcQ0AAkAgA0EAKAKwksECRw0AQQAgAT","YCsJLBAkEAQQAoAqSSwQIgAGoiADYCpJLBAiABIABBAXI2AgQgAUEAKAKsksECRw0GQQBBADYCoJLBAkEAQ","QA2AqySwQIPCwJAIANBACgCrJLBAkcNAEEAIAE2AqySwQJBAEEAKAKgksECIABqIgA2AqCSwQIgASAAQQFy","NgIEIAEgAGogADYCAA8LIAJBeHEgAGohAAJAIAJB/wFLDQAgAygCCCIEIAJBA3YiBUEDdEHAksECaiIGRho","CQCADKAIMIgIgBEcNAEEAQQAoApiSwQJBfiAFd3E2ApiSwQIMBQsgAiAGRhogBCACNgIMIAIgBDYCCAwECy","ADKAIYIQcCQCADKAIMIgYgA0YNACADKAIIIgJBACgCqJLBAkkaIAIgBjYCDCAGIAI2AggMAwsCQCADQRRqI","gQoAgAiAg0AIAMoAhAiAkUNAiADQRBqIQQLA0AgBCEFIAIiBkEUaiIEKAIAIgINACAGQRBqIQQgBigCECIC","DQALIAVBADYCAAwCCyADIAJBfnE2AgQgASAAQQFyNgIEIAEgAGogADYCAAwDC0EAIQYLIAdFDQACQAJAIAM","gAygCHCIEQQJ0QciUwQJqIgIoAgBHDQAgAiAGNgIAIAYNAUEAQQAoApySwQJBfiAEd3E2ApySwQIMAgsgB0","EQQRQgBygCECADRhtqIAY2AgAgBkUNAQsgBiAHNgIYAkAgAygCECICRQ0AIAYgAjYCECACIAY2AhgLIANBF","GooAgAiAkUNACAGQRRqIAI2AgAgAiAGNgIYCyABIABBAXI2AgQgASAAaiAANgIAIAFBACgCrJLBAkcNAEEA","IAA2AqCSwQIPCwJAIABB/wFLDQAgAEF4cUHAksECaiECAkACQEEAKAKYksECIgRBASAAQQN2dCIAcQ0AQQA","gBCAAcjYCmJLBAiACIQAMAQsgAigCCCEACyACIAE2AgggACABNgIMIAEgAjYCDCABIAA2AggPC0EfIQICQC","AAQf///wdLDQAgAEEmIABBCHZnIgJrdkEBcSACQQF0a0E+aiECCyABIAI2AhwgAUIANwIQIAJBAnRByJTBA","mohBAJAAkACQAJAQQAoApySwQIiBkEBIAJ0IgNxDQBBACAGIANyNgKcksECIAQgATYCACABIAQ2AhgMAQsg","AEEAQRkgAkEBdmsgAkEfRht0IQIgBCgCACEGA0AgBiIEKAIEQXhxIABGDQIgAkEddiEGIAJBAXQhAiAEIAZ","BBHFqIgNBEGooAgAiBg0ACyADQRBqIAE2AgAgASAENgIYCyABIAE2AgwgASABNgIIDAELIAQoAggiACABNg","IMIAQgATYCCCABQQA2AhggASAENgIMIAEgADYCCAtBAEEAKAK4ksECQX9qIgFBfyABGzYCuJLBAgsLMQEBf","yAAQQEgABshAQJAA0AgARARIgANAQJAECIiAEUNACAAEQMADAELCxAAAAsgAAsGACAAEBILBAAgAAsLACAA","KAI8EBUQAgsVAAJAIAANAEEADwsQDyAANgIAQX8L4wIBB38jAEEgayIDJAAgAyAAKAIcIgQ2AhAgACgCFCE","FIAMgAjYCHCADIAE2AhggAyAFIARrIgE2AhQgASACaiEGIANBEGohBEECIQcCQAJAAkACQAJAIAAoAjwgA0","EQakECIANBDGoQAxAXRQ0AIAQhBQwBCwNAIAYgAygCDCIBRg0CAkAgAUF/Sg0AIAQhBQwECyAEIAEgBCgCB","CIISyIJQQN0aiIFIAUoAgAgASAIQQAgCRtrIghqNgIAIARBDEEEIAkbaiIEIAQoAgAgCGs2AgAgBiABayEG","IAUhBCAAKAI8IAUgByAJayIHIANBDGoQAxAXRQ0ACwsgBkF/Rw0BCyAAIAAoAiwiATYCHCAAIAE2AhQgACA","BIAAoAjBqNgIQIAIhAQwBC0EAIQEgAEEANgIcIABCADcDECAAIAAoAgBBIHI2AgAgB0ECRg0AIAIgBSgCBG","shAQsgA0EgaiQAIAELNwEBf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AAAAAA","AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAhIUAAAQZyRwQILFCRpb","nRBcnJheUZyb21TdHJpbmcAAEGwkcECC2Ioc2l6ZV90IGlkeCwgc2l6ZV90IHNpemUpPDo6PnsgdGhyb3cg","J0FycmF5IGluZGV4ICcgKyBpZHggKyAnIG91dCBvZiBib3VuZHM6IFswLCcgKyBzaXplICsgJyknOyB9AA=="].join("");function _base64ToArrayBuffer(e){var t=window.atob(e);var r=t.length;var n=new Uint8Array(r);for(var s=0;s<r;s++){n[s]=t.charCodeAt(s)}return n}function getBinary(e){if(typeof Buffer=="function"){return Buffer.from(te,"base64")}else{return _base64ToArrayBuffer(te)}}function getBinaryPromise(){return Promise.resolve().then((function(){return getBinary(ee)}))}function createWasm(){var e={env:ce,wasi_snapshot_preview1:ce};function receiveInstance(e,r){var n=e.exports;t["asm"]=n;w=t["asm"]["memory"];assert(w,"memory not found in wasm exports");updateGlobalBufferAndViews(w.buffer);q=t["asm"]["__indirect_function_table"];assert(q,"table not found in wasm exports");addOnInit(t["asm"]["__wasm_call_ctors"]);removeRunDependency("wasm-instantiate")}addRunDependency("wasm-instantiate");var r=t;function receiveInstantiationResult(e){assert(t===r,"the Module object should not be replaced during async compilation - perhaps the order of HTML elements is wrong?");r=null;receiveInstance(e["instance"])}function instantiateArrayBuffer(t){return getBinaryPromise().then((function(t){return WebAssembly.instantiate(t,e)})).then((function(e){return e})).then(t,(function(e){f("failed to asynchronously prepare wasm: "+e);if(isFileURI(ee)){f("warning: Loading from a file URI ("+ee+") is not supported in most browsers. See https://emscripten.org/docs/getting_started/FAQ.html#how-do-i-run-a-local-webserver-for-testing-why-does-my-program-stall-in-downloading-or-preparing")}abort(e)}))}function instantiateAsync(){return instantiateArrayBuffer(receiveInstantiationResult)}if(t["instantiateWasm"]){try{var s=t["instantiateWasm"](e,receiveInstance);return s}catch(e){f("Module.instantiateWasm callback failed with error: "+e);n(e)}}instantiateAsync().catch(n);return{}}var re;var ne;var se={};function array_bounds_check_error(e,t){throw"Array index "+e+" out of bounds: [0,"+t+")"}function ExitStatus(e){this.name="ExitStatus";this.message="Program terminated with exit("+e+")";this.status=e}function callRuntimeCallbacks(e){while(e.length>0){e.shift()(t)}}function getValue(e,t="i8"){if(t.endsWith("*"))t="*";switch(t){case"i1":return k[e>>0];case"i8":return k[e>>0];case"i16":return T[e>>1];case"i32":return P[e>>2];case"i64":return P[e>>2];case"float":return U[e>>2];case"double":return O[e>>3];case"*":return L[e>>2];default:abort("invalid type for getValue: "+t)}return null}function ptrToString(e){return"0x"+e.toString(16).padStart(8,"0")}function setValue(e,t,r="i8"){if(r.endsWith("*"))r="*";switch(r){case"i1":k[e>>0]=t;break;case"i8":k[e>>0]=t;break;case"i16":T[e>>1]=t;break;case"i32":P[e>>2]=t;break;case"i64":ne=[t>>>0,(re=t,+Math.abs(re)>=1?re>0?(Math.min(+Math.floor(re/4294967296),4294967295)|0)>>>0:~~+Math.ceil((re-+(~~re>>>0))/4294967296)>>>0:0)],P[e>>2]=ne[0],P[e+4>>2]=ne[1];break;case"float":U[e>>2]=t;break;case"double":O[e>>3]=t;break;case"*":L[e>>2]=t;break;default:abort("invalid type for setValue: "+r)}}function warnOnce(e){if(!warnOnce.shown)warnOnce.shown={};if(!warnOnce.shown[e]){warnOnce.shown[e]=1;if(l)e="warning: "+e;f(e)}}function _abort(){abort("native code called abort()")}function getHeapMax(){return 2147483648}function emscripten_realloc_buffer(e){try{w.grow(e-v.byteLength+65535>>>16);updateGlobalBufferAndViews(w.buffer);return 1}catch(t){f("emscripten_realloc_buffer: Attempted to grow heap from "+v.byteLength+" bytes to "+e+" bytes, but got error: "+t)}}function _emscripten_resize_heap(e){var t=F.length;e=e>>>0;assert(e>t);var r=getHeapMax();if(e>r){f("Cannot enlarge memory, asked to go up to "+e+" bytes, but the limit is "+r+" bytes!");return false}let alignUp=(e,t)=>e+(t-e%t)%t;for(var n=1;n<=4;n*=2){var s=t*(1+.2/n);s=Math.min(s,e+100663296);var i=Math.min(r,alignUp(Math.max(e,s),65536));var o=emscripten_realloc_buffer(i);if(o){return true}}f("Failed to grow the heap from "+t+" bytes to "+i+" bytes, not enough memory!");return false}var ie={varargs:undefined,get:function(){assert(ie.varargs!=undefined);ie.varargs+=4;var e=P[ie.varargs-4>>2];return e},getStr:function(e){var t=UTF8ToString(e);return t}};function _fd_close(e){abort("fd_close called without SYSCALLS_REQUIRE_FILESYSTEM")}function convertI32PairToI53Checked(e,t){assert(e==e>>>0||e==(e|0));assert(t===(t|0));return t+2097152>>>0<4194305-!!e?(e>>>0)+t*4294967296:NaN}function _fd_seek(e,t,r,n,s){return 70}var oe=[null,[],[]];function printChar(e,t){var r=oe[e];assert(r);if(t===0||t===10){(e===1?m:f)(UTF8ArrayToString(r,0));r.length=0}else{r.push(t)}}function flush_NO_FILESYSTEM(){fe(0);if(oe[1].length)printChar(1,10);if(oe[2].length)printChar(2,10)}function _fd_write(e,t,r,n){var s=0;for(var i=0;i<r;i++){var o=L[t>>2];var a=L[t+4>>2];t+=8;for(var c=0;c<a;c++){printChar(e,F[o+c])}s+=a}L[n>>2]=s;return 0}function intArrayFromString(e,t,r){var n=r>0?r:lengthBytesUTF8(e)+1;var s=new Array(n);var i=stringToUTF8Array(e,s,0,s.length);if(t)s.length=i;return s}var ae=true;function checkIncomingModuleAPI(){ignoredModuleProp("fetchSettings")}var ce={abort:_abort,array_bounds_check_error:array_bounds_check_error,emscripten_resize_heap:_emscripten_resize_heap,fd_close:_fd_close,fd_seek:_fd_seek,fd_write:_fd_write};var le=createWasm();var Ae=t["___wasm_call_ctors"]=createExportWrapper("__wasm_call_ctors");var ue=t["_emscripten_bind_VoidPtr___destroy___0"]=createExportWrapper("emscripten_bind_VoidPtr___destroy___0");var de=t["_emscripten_bind_Crc64Hash_Crc64Hash_0"]=createExportWrapper("emscripten_bind_Crc64Hash_Crc64Hash_0");var ge=t["_emscripten_bind_Crc64Hash_OnAppend_2"]=createExportWrapper("emscripten_bind_Crc64Hash_OnAppend_2");var pe=t["_emscripten_bind_Crc64Hash_OnFinal_3"]=createExportWrapper("emscripten_bind_Crc64Hash_OnFinal_3");var he=t["_emscripten_bind_Crc64Hash___destroy___0"]=createExportWrapper("emscripten_bind_Crc64Hash___destroy___0");var me=t["___errno_location"]=createExportWrapper("__errno_location");var fe=t["_fflush"]=createExportWrapper("fflush");var Ce=t["_malloc"]=createExportWrapper("malloc");var ye=t["_free"]=createExportWrapper("free");var Ee=t["_emscripten_stack_init"]=function(){return(Ee=t["_emscripten_stack_init"]=t["asm"]["emscripten_stack_init"]).apply(null,arguments)};var Ie=t["_emscripten_stack_get_free"]=function(){return(Ie=t["_emscripten_stack_get_free"]=t["asm"]["emscripten_stack_get_free"]).apply(null,arguments)};var Be=t["_emscripten_stack_get_base"]=function(){return(Be=t["_emscripten_stack_get_base"]=t["asm"]["emscripten_stack_get_base"]).apply(null,arguments)};var Qe=t["_emscripten_stack_get_end"]=function(){return(Qe=t["_emscripten_stack_get_end"]=t["asm"]["emscripten_stack_get_end"]).apply(null,arguments)};var be=t["stackSave"]=createExportWrapper("stackSave");var Se=t["stackRestore"]=createExportWrapper("stackRestore");var we=t["stackAlloc"]=createExportWrapper("stackAlloc");var De=t["_emscripten_stack_get_current"]=function(){return(De=t["_emscripten_stack_get_current"]=t["asm"]["emscripten_stack_get_current"]).apply(null,arguments)};var Ne=t["dynCall_jiji"]=createExportWrapper("dynCall_jiji");var xe=t["___start_em_js"]=5261488;var Re=t["___stop_em_js"]=5261586;var ve=["run","UTF8ArrayToString","UTF8ToString","stringToUTF8Array","stringToUTF8","lengthBytesUTF8","addOnPreRun","addOnInit","addOnPreMain","addOnExit","addOnPostRun","addRunDependency","removeRunDependency","FS_createFolder","FS_createPath","FS_createDataFile","FS_createPreloadedFile","FS_createLazyFile","FS_createLink","FS_createDevice","FS_unlink","getLEB","getFunctionTables","alignFunctionTables","registerFunctions","prettyPrint","getCompilerSetting","out","err","callMain","abort","keepRuntimeAlive","wasmMemory","stackAlloc","stackSave","stackRestore","getTempRet0","setTempRet0","writeStackCookie","checkStackCookie","ptrToString","zeroMemory","stringToNewUTF8","exitJS","getHeapMax","emscripten_realloc_buffer","ENV","ERRNO_CODES","ERRNO_MESSAGES","setErrNo","inetPton4","inetNtop4","inetPton6","inetNtop6","readSockaddr","writeSockaddr","DNS","getHostByName","Protocols","Sockets","getRandomDevice","warnOnce","traverseStack","UNWIND_CACHE","convertPCtoSourceLocation","readEmAsmArgsArray","readEmAsmArgs","runEmAsmFunction","runMainThreadEmAsm","jstoi_q","jstoi_s","getExecutableName","listenOnce","autoResumeAudioContext","dynCallLegacy","getDynCaller","dynCall","handleException","runtimeKeepalivePush","runtimeKeepalivePop","callUserCallback","maybeExit","safeSetTimeout","asmjsMangle","asyncLoad","alignMemory","mmapAlloc","writeI53ToI64","writeI53ToI64Clamped","writeI53ToI64Signaling","writeI53ToU64Clamped","writeI53ToU64Signaling","readI53FromI64","readI53FromU64","convertI32PairToI53","convertI32PairToI53Checked","convertU32PairToI53","getCFunc","ccall","cwrap","uleb128Encode","sigToWasmTypes","generateFuncType","convertJsFunctionToWasm","freeTableIndexes","functionsInTableMap","getEmptyTableSlot","updateTableMap","addFunction","removeFunction","reallyNegative","unSign","strLen","reSign","formatString","setValue","getValue","PATH","PATH_FS","intArrayFromString","intArrayToString","AsciiToString","stringToAscii","UTF16Decoder","UTF16ToString","stringToUTF16","lengthBytesUTF16","UTF32ToString","stringToUTF32","lengthBytesUTF32","allocateUTF8","allocateUTF8OnStack","writeStringToMemory","writeArrayToMemory","writeAsciiToMemory","SYSCALLS","getSocketFromFD","getSocketAddress","JSEvents","registerKeyEventCallback","specialHTMLTargets","maybeCStringToJsString","findEventTarget","findCanvasEventTarget","getBoundingClientRect","fillMouseEventData","registerMouseEventCallback","registerWheelEventCallback","registerUiEventCallback","registerFocusEventCallback","fillDeviceOrientationEventData","registerDeviceOrientationEventCallback","fillDeviceMotionEventData","registerDeviceMotionEventCallback","screenOrientation","fillOrientationChangeEventData","registerOrientationChangeEventCallback","fillFullscreenChangeEventData","registerFullscreenChangeEventCallback","JSEvents_requestFullscreen","JSEvents_resizeCanvasForFullscreen","registerRestoreOldStyle","hideEverythingExceptGivenElement","restoreHiddenElements","setLetterbox","currentFullscreenStrategy","restoreOldWindowedStyle","softFullscreenResizeWebGLRenderTarget","doRequestFullscreen","fillPointerlockChangeEventData","registerPointerlockChangeEventCallback","registerPointerlockErrorEventCallback","requestPointerLock","fillVisibilityChangeEventData","registerVisibilityChangeEventCallback","registerTouchEventCallback","fillGamepadEventData","registerGamepadEventCallback","registerBeforeUnloadEventCallback","fillBatteryEventData","battery","registerBatteryEventCallback","setCanvasElementSize","getCanvasElementSize","demangle","demangleAll","jsStackTrace","stackTrace","ExitStatus","getEnvStrings","checkWasiClock","flush_NO_FILESYSTEM","dlopenMissingError","createDyncallWrapper","setImmediateWrapped","clearImmediateWrapped","polyfillSetImmediate","uncaughtExceptionCount","exceptionLast","exceptionCaught","ExceptionInfo","exception_addRef","exception_decRef","Browser","setMainLoop","wget","FS","MEMFS","TTY","PIPEFS","SOCKFS","_setNetworkCallback","tempFixedLengthArray","miniTempWebGLFloatBuffers","heapObjectForWebGLType","heapAccessShiftForWebGLHeap","GL","emscriptenWebGLGet","computeUnpackAlignedImageSize","emscriptenWebGLGetTexPixelData","emscriptenWebGLGetUniform","webglGetUniformLocation","webglPrepareUniformLocationsBeforeFirstUse","webglGetLeftBracePos","emscriptenWebGLGetVertexAttrib","writeGLArray","AL","SDL_unicode","SDL_ttfContext","SDL_audio","SDL","SDL_gfx","GLUT","EGL","GLFW_Window","GLFW","GLEW","IDBStore","runAndAbortIfError","ALLOC_NORMAL","ALLOC_STACK","allocate"];ve.forEach(unexportedRuntimeSymbol);var ke=["zeroMemory","stringToNewUTF8","exitJS","setErrNo","inetPton4","inetNtop4","inetPton6","inetNtop6","readSockaddr","writeSockaddr","getHostByName","getRandomDevice","traverseStack","convertPCtoSourceLocation","readEmAsmArgs","runEmAsmFunction","runMainThreadEmAsm","jstoi_q","jstoi_s","getExecutableName","listenOnce","autoResumeAudioContext","dynCallLegacy","getDynCaller","dynCall","handleException","runtimeKeepalivePush","runtimeKeepalivePop","callUserCallback","maybeExit","safeSetTimeout","asmjsMangle","asyncLoad","alignMemory","mmapAlloc","writeI53ToI64","writeI53ToI64Clamped","writeI53ToI64Signaling","writeI53ToU64Clamped","writeI53ToU64Signaling","readI53FromI64","readI53FromU64","convertI32PairToI53","convertU32PairToI53","getCFunc","ccall","cwrap","uleb128Encode","sigToWasmTypes","generateFuncType","convertJsFunctionToWasm","getEmptyTableSlot","updateTableMap","addFunction","removeFunction","reallyNegative","unSign","strLen","reSign","formatString","intArrayToString","AsciiToString","stringToAscii","UTF16ToString","stringToUTF16","lengthBytesUTF16","UTF32ToString","stringToUTF32","lengthBytesUTF32","allocateUTF8","allocateUTF8OnStack","writeStringToMemory","writeArrayToMemory","writeAsciiToMemory","getSocketFromFD","getSocketAddress","registerKeyEventCallback","maybeCStringToJsString","findEventTarget","findCanvasEventTarget","getBoundingClientRect","fillMouseEventData","registerMouseEventCallback","registerWheelEventCallback","registerUiEventCallback","registerFocusEventCallback","fillDeviceOrientationEventData","registerDeviceOrientationEventCallback","fillDeviceMotionEventData","registerDeviceMotionEventCallback","screenOrientation","fillOrientationChangeEventData","registerOrientationChangeEventCallback","fillFullscreenChangeEventData","registerFullscreenChangeEventCallback","JSEvents_requestFullscreen","JSEvents_resizeCanvasForFullscreen","registerRestoreOldStyle","hideEverythingExceptGivenElement","restoreHiddenElements","setLetterbox","softFullscreenResizeWebGLRenderTarget","doRequestFullscreen","fillPointerlockChangeEventData","registerPointerlockChangeEventCallback","registerPointerlockErrorEventCallback","requestPointerLock","fillVisibilityChangeEventData","registerVisibilityChangeEventCallback","registerTouchEventCallback","fillGamepadEventData","registerGamepadEventCallback","registerBeforeUnloadEventCallback","fillBatteryEventData","battery","registerBatteryEventCallback","setCanvasElementSize","getCanvasElementSize","demangle","demangleAll","jsStackTrace","stackTrace","getEnvStrings","checkWasiClock","createDyncallWrapper","setImmediateWrapped","clearImmediateWrapped","polyfillSetImmediate","ExceptionInfo","exception_addRef","exception_decRef","setMainLoop","_setNetworkCallback","heapObjectForWebGLType","heapAccessShiftForWebGLHeap","emscriptenWebGLGet","computeUnpackAlignedImageSize","emscriptenWebGLGetTexPixelData","emscriptenWebGLGetUniform","webglGetUniformLocation","webglPrepareUniformLocationsBeforeFirstUse","webglGetLeftBracePos","emscriptenWebGLGetVertexAttrib","writeGLArray","SDL_unicode","SDL_ttfContext","SDL_audio","GLFW_Window","runAndAbortIfError","ALLOC_NORMAL","ALLOC_STACK","allocate"];ke.forEach(missingLibrarySymbol);var Fe;K=function runCaller(){if(!Fe)run();if(!Fe)K=runCaller};function stackCheckInit(){Ee();writeStackCookie()}function run(e){e=e||i;if(W>0){return}stackCheckInit();preRun();if(W>0){return}function doRun(){if(Fe)return;Fe=true;t["calledRun"]=true;if(D)return;initRuntime();r(t);if(t["onRuntimeInitialized"])t["onRuntimeInitialized"]();assert(!t["_main"],'compiled without a main, but one is present. if you added it from JS, use Module["onRuntimeInitialized"]');postRun()}if(t["setStatus"]){t["setStatus"]("Running...");setTimeout((function(){setTimeout((function(){t["setStatus"]("")}),1);doRun()}),1)}else{doRun()}checkStackCookie()}function checkUnflushedContent(){var e=m;var t=f;var r=false;m=f=e=>{r=true};try{flush_NO_FILESYSTEM()}catch(e){}m=e;f=t;if(r){warnOnce("stdio streams had content in them that was not flushed. you should set EXIT_RUNTIME to 1 (see the FAQ), or make sure to emit a newline when you printf etc.");warnOnce("(this may also be due to not including full filesystem support - try building with -sFORCE_FILESYSTEM)")}}if(t["preInit"]){if(typeof t["preInit"]=="function")t["preInit"]=[t["preInit"]];while(t["preInit"].length>0){t["preInit"].pop()()}}run();function WrapperObject(){}WrapperObject.prototype=Object.create(WrapperObject.prototype);WrapperObject.prototype.constructor=WrapperObject;WrapperObject.prototype.__class__=WrapperObject;WrapperObject.__cache__={};t["WrapperObject"]=WrapperObject;function getCache(e){return(e||WrapperObject).__cache__}t["getCache"]=getCache;function wrapPointer(e,t){var r=getCache(t);var n=r[e];if(n)return n;n=Object.create((t||WrapperObject).prototype);n.ptr=e;return r[e]=n}t["wrapPointer"]=wrapPointer;function castObject(e,t){return wrapPointer(e.ptr,t)}t["castObject"]=castObject;t["NULL"]=wrapPointer(0);function destroy(e){if(!e["__destroy__"])throw"Error: Cannot destroy object. (Did you create it yourself?)";e["__destroy__"]();delete getCache(e.__class__)[e.ptr]}t["destroy"]=destroy;function compare(e,t){return e.ptr===t.ptr}t["compare"]=compare;function getPointer(e){return e.ptr}t["getPointer"]=getPointer;function getClass(e){return e.__class__}t["getClass"]=getClass;var Te={buffer:0,size:0,pos:0,temps:[],needed:0,prepare:function(){if(Te.needed){for(var e=0;e<Te.temps.length;e++){t["_free"](Te.temps[e])}Te.temps.length=0;t["_free"](Te.buffer);Te.buffer=0;Te.size+=Te.needed;Te.needed=0}if(!Te.buffer){Te.size+=128;Te.buffer=t["_malloc"](Te.size);assert(Te.buffer)}Te.pos=0},alloc:function(e,r){assert(Te.buffer);var n=r.BYTES_PER_ELEMENT;var s=e.length*n;s=s+7&-8;var i;if(Te.pos+s>=Te.size){assert(s>0);Te.needed+=s;i=t["_malloc"](s);Te.temps.push(i)}else{i=Te.buffer+Te.pos;Te.pos+=s}return i},copy:function(e,t,r){r>>>=0;var n=t.BYTES_PER_ELEMENT;switch(n){case 2:r>>>=1;break;case 4:r>>>=2;break;case 8:r>>>=3;break}for(var s=0;s<e.length;s++){t[r+s]=e[s]}}};function ensureString(e){if(typeof e==="string"){var t=intArrayFromString(e);var r=Te.alloc(t,k);Te.copy(t,k,r);return r}return e}function ensureInt8(e){if(typeof e==="object"){var t=Te.alloc(e,k);Te.copy(e,k,t);return t}return e}function ensureInt16(e){if(typeof e==="object"){var t=Te.alloc(e,T);Te.copy(e,T,t);return t}return e}function ensureInt32(e){if(typeof e==="object"){var t=Te.alloc(e,P);Te.copy(e,P,t);return t}return e}function ensureFloat32(e){if(typeof e==="object"){var t=Te.alloc(e,U);Te.copy(e,U,t);return t}return e}function ensureFloat64(e){if(typeof e==="object"){var t=Te.alloc(e,O);Te.copy(e,O,t);return t}return e}function VoidPtr(){throw"cannot construct a VoidPtr, no constructor in IDL"}VoidPtr.prototype=Object.create(WrapperObject.prototype);VoidPtr.prototype.constructor=VoidPtr;VoidPtr.prototype.__class__=VoidPtr;VoidPtr.__cache__={};t["VoidPtr"]=VoidPtr;VoidPtr.prototype["__destroy__"]=VoidPtr.prototype.__destroy__=function(){var e=this.ptr;ue(e)};function Crc64Hash(){this.ptr=de();getCache(Crc64Hash)[this.ptr]=this}Crc64Hash.prototype=Object.create(WrapperObject.prototype);Crc64Hash.prototype.constructor=Crc64Hash;Crc64Hash.prototype.__class__=Crc64Hash;Crc64Hash.__cache__={};t["Crc64Hash"]=Crc64Hash;Crc64Hash.prototype["OnAppend"]=Crc64Hash.prototype.OnAppend=function(e,t){var r=this.ptr;if(e&&typeof e==="object")e=e.ptr;if(t&&typeof t==="object")t=t.ptr;ge(r,e,t)};Crc64Hash.prototype["OnFinal"]=Crc64Hash.prototype.OnFinal=function(e,t,r){var n=this.ptr;if(e&&typeof e==="object")e=e.ptr;if(t&&typeof t==="object")t=t.ptr;if(r&&typeof r==="object")r=r.ptr;pe(n,e,t,r)};Crc64Hash.prototype["__destroy__"]=Crc64Hash.prototype.__destroy__=function(){var e=this.ptr;he(e)};return e.ready}})();const KA=jA;class StorageCRC64Calculator{nativeCrc64Hash;static nativeInstance;constructor(){this.nativeCrc64Hash=new StorageCRC64Calculator.nativeInstance.Crc64Hash}static initPromise;static async init(){if(!this.initPromise){this.initPromise=KA().then((e=>{this.nativeInstance=e;return}))}return this.initPromise}append(e,t){const r=StorageCRC64Calculator.nativeInstance._malloc(t);StorageCRC64Calculator.nativeInstance.HEAPU8.set(e,r);this.nativeCrc64Hash.OnAppend(r,t);StorageCRC64Calculator.nativeInstance._free(r)}final(e,t){const r=StorageCRC64Calculator.nativeInstance._malloc(t);StorageCRC64Calculator.nativeInstance.HEAPU8.set(e,r);const n=StorageCRC64Calculator.nativeInstance._malloc(8);this.nativeCrc64Hash.OnFinal(r,t,n);StorageCRC64Calculator.nativeInstance._free(r);const s=new Uint8Array(8);s.set(StorageCRC64Calculator.nativeInstance.HEAPU8.subarray(n,n+8));StorageCRC64Calculator.nativeInstance._free(n);return s}}function signalStreamEnd(e){e(null)}const $A=1;const XA=13;const ZA=10;const eu=8;const tu=4*1024*1024;var ru;(function(e){e[e["StreamHeader"]=0]="StreamHeader";e[e["StreamFooter"]=1]="StreamFooter";e[e["SegmentHeader"]=2]="SegmentHeader";e[e["SegmentFooter"]=3]="SegmentFooter";e[e["SegmentContent"]=4]="SegmentContent";e[e["Completed"]=5]="Completed"})(ru||(ru={}));class StructuredMessageEncoding{pushData;contentLength;messageLength;constructor(e,t){this.pushData=e;this.contentLength=t;this.contentOffset=0;this.currentDataOffset=0;this.segmentsCount=Math.ceil(this.contentLength/tu);this.messageLength=this.contentLength+XA+(ZA+eu)*this.segmentsCount+eu;this.messageHeaderBuffer=new Uint8Array(XA);this.segmentNumber=0;this.segmentContentLength=0;this.segmentContentOffset=0;this.state=ru.StreamHeader;this.segmentCrc64=new StorageCRC64Calculator;this.messageCrc64=new StorageCRC64Calculator}currentDataOffset;contentOffset;segmentsCount;messageHeaderBuffer;segmentNumber;segmentContentLength;segmentContentOffset;segmentCrc64;messageCrc64;state;sourceDataHandler=e=>{this.currentDataOffset=0;if(this.state===ru.StreamHeader){this.handlingMessageHeader()}while(this.segmentNumber<this.segmentsCount){this.segmentContentLength=Math.min(tu,this.contentLength-this.contentOffset);if(this.state===ru.SegmentHeader){this.handlingSegmentHeader()}if(this.state===ru.SegmentContent){this.handlingSegmentContent(e)}if(this.state===ru.SegmentFooter){this.handlingSegmentFooter();this.contentOffset+=this.segmentContentLength}if(this.currentDataOffset===e.length){break}}if(this.state===ru.StreamFooter){this.handlingMessageFooter()}};handlingMessageHeader(){this.messageHeaderBuffer[0]=$A;this.fillInt64(this.messageHeaderBuffer,1,this.messageLength);this.fillInt16(this.messageHeaderBuffer,9,1);this.fillInt16(this.messageHeaderBuffer,11,this.segmentsCount);this.pushData(this.messageHeaderBuffer);this.state=ru.SegmentHeader}handlingSegmentHeader(){const e=new Uint8Array(ZA);this.fillInt16(e,0,this.segmentNumber+1);this.fillInt64(e,2,this.segmentContentLength);this.segmentContentOffset=0;this.pushData(e);this.state=ru.SegmentContent}handlingSegmentContent(e){const t=Math.min(this.segmentContentLength-this.segmentContentOffset,e.length-this.currentDataOffset);if(t!==0){const r=Uint8Array.prototype.slice.call(e,this.currentDataOffset,this.currentDataOffset+t);this.messageCrc64.append(r,t);this.segmentCrc64.append(r,t);this.pushData(r)}this.segmentContentOffset+=t;this.currentDataOffset+=t;if(this.segmentContentOffset===this.segmentContentLength){this.state=ru.SegmentFooter}}handlingSegmentFooter(){const e=this.segmentCrc64.final(new Uint8Array([]),0);this.pushData(e);this.segmentCrc64=new StorageCRC64Calculator;++this.segmentNumber;if(this.segmentNumber===this.segmentsCount){this.state=ru.StreamFooter}else{this.state=ru.SegmentHeader}}handlingMessageFooter(){const e=this.messageCrc64.final(new Uint8Array([]),0);this.pushData(e);signalStreamEnd(this.pushData);this.state=ru.Completed}fillInt64(e,t,r){if(e.length<t+8){throw new Error("Uint8Array length is not expected.")}const n=new DataView(e.buffer,e.byteOffset+t,8);n.setBigUint64(0,BigInt(r),true)}fillInt16(e,t,r){if(e.length<t+2){throw new Error("Uint8Array length is not expected.")}const n=new DataView(e.buffer,e.byteOffset+t,2);n.setUint16(0,r,true)}}function StructuredMessageEncodingStream_isNodeReadableStream(e){return e!==null&&e instanceof sa&&typeof e._read==="function"&&typeof e._readableState==="object"&&typeof e.pipe==="function"}async function structuredMessageEncoding(e,t){if(e===null){return{body:e,encodedContentLength:t}}if(StructuredMessageEncodingStream_isNodeReadableStream(e)){const r=new StructuredMessageEncodingStream(e,t,{});return{body:r,encodedContentLength:r.messageLength()}}if(typeof e==="function"){const r=new StructuredMessageEncodingStream(e(),t,{});return{body:r,encodedContentLength:r.messageLength()}}if(e instanceof Blob){const r=await BrowserStream(e,t);return{body:r.content,encodedContentLength:r.encodedContentLength}}if(typeof e==="string"){const t=new sa.Readable;t._read=()=>{};t.push(e);t.push(null);const r=Buffer.byteLength(e);const n=await new StructuredMessageEncodingStream(t,r,{});return{body:n,encodedContentLength:n.messageLength()}}if(e instanceof ArrayBuffer){const r=sa.Readable.from(Buffer.from(e));const n=await new StructuredMessageEncodingStream(r,t,{});return{body:n,encodedContentLength:n.messageLength()}}if(e instanceof Buffer){const r=sa.Readable.from(e);const n=await new StructuredMessageEncodingStream(r,t,{});return{body:n,encodedContentLength:n.messageLength()}}if(ArrayBuffer.isView(e)){const r=sa.Readable.from(Buffer.from(e.buffer,e.byteOffset,e.byteLength));const n=await new StructuredMessageEncodingStream(r,t,{});return{body:n,encodedContentLength:n.messageLength()}}throw new Error("The specified request body type is not supported for CRC64 checksum")}async function pump(e,t,r){const{done:n,value:s}=await e.read();if(n){t.close();return}r.sourceDataHandler(Buffer.from(s))}async function BrowserStream(e,t){const r=e instanceof Blob?e.stream():e;const n=r.getReader();let s=undefined;const i=new ReadableStream({start(e){s=new StructuredMessageEncoding((t=>{e.enqueue(t)}),t)},pull(e){pump(n,e,s).then((()=>{})).catch((function(t){e.error(t)}))}});const o=new Response(i);return{content:await o.blob(),encodedContentLength:s.messageLength}}class StructuredMessageEncodingStream extends sa.Readable{source;encodingMethods;constructor(e,t,r){super({highWaterMark:r.highWaterMark});this.source=e;this.encodingMethods=new StructuredMessageEncoding((t=>{if(!this.push(t)){e.pause()}}),t);this.setSourceEventHandlers()}messageLength(){return this.encodingMethods.messageLength}setSourceEventHandlers(){this.source.on("data",this.sourceDataHandler);this.source.on("end",this.sourceErrorOrEndHandler);this.source.on("error",this.sourceErrorOrEndHandler);this.source.on("aborted",this.sourceAbortedHandler)}removeSourceEventHandlers(){this.source.removeListener("data",this.sourceDataHandler);this.source.removeListener("end",this.sourceErrorOrEndHandler);this.source.removeListener("error",this.sourceErrorOrEndHandler);this.source.removeListener("aborted",this.sourceAbortedHandler)}sourceDataHandler=e=>{this.encodingMethods.sourceDataHandler(e)};sourceAbortedHandler=()=>{const e=new AbortError_AbortError("The operation was aborted.");this.destroy(e)};sourceErrorOrEndHandler=e=>{if(e&&e.name==="AbortError"){this.destroy(e);return}this.removeSourceEventHandlers()};_read(){this.source.resume()}_destroy(e,t){this.removeSourceEventHandlers();this.source.destroy();t(e===null?undefined:e)}}const nu=1;const su=13;const iu=10;const ou=8;var au;(function(e){e[e["StreamHeader"]=0]="StreamHeader";e[e["StreamFooter"]=1]="StreamFooter";e[e["SegmentHeader"]=2]="SegmentHeader";e[e["SegmentFooter"]=3]="SegmentFooter";e[e["SegmentContent"]=4]="SegmentContent"})(au||(au={}));class StructuredMessageDecoding{pushData;segmentsCount;currentOffset;currentDataOffset;messageHeaderBuffer;messageHeaderOffset;segmentNumber;segmentHeaderOffset;segmentHeaderBuffer;segmentContentOffset;segmentContentLength;segmentFooterOffset;segmentFooterBuffer;messageFooterOffset;messageFooterBuffer;segmentCrc64;messageCrc64;state;constructor(e){this.pushData=e;this.currentOffset=0;this.segmentsCount=0;this.messageHeaderOffset=0;this.messageHeaderBuffer=new Uint8Array(su);this.currentDataOffset=0;this.segmentNumber=0;this.segmentHeaderOffset=0;this.segmentHeaderBuffer=new Uint8Array(iu);this.segmentContentOffset=0;this.segmentContentLength=0;this.state=au.StreamHeader;this.segmentFooterOffset=0;this.segmentFooterBuffer=new Uint8Array(ou);this.messageFooterOffset=0;this.messageFooterBuffer=new Uint8Array(ou);this.segmentCrc64=new StorageCRC64Calculator;this.messageCrc64=new StorageCRC64Calculator}sourceDataHandler=e=>{this.currentDataOffset=0;if(this.state===au.StreamHeader){this.parseMessageHeader(e)}while(this.segmentNumber<this.segmentsCount&&this.currentDataOffset<e.length){if(this.state===au.SegmentHeader){this.parseSegmentHeader(e)}if(this.state===au.SegmentContent){this.parseSegmentContent(e)}if(this.state===au.SegmentFooter){this.parseSegmentFooter(e)}}if(this.state===au.StreamFooter){this.parseMessageFooter(e)}};parseMessageHeader(e){const t=Math.min(su-this.messageHeaderOffset,e.length-this.currentDataOffset);this.messageHeaderBuffer.set(Uint8Array.prototype.slice.call(e,this.currentDataOffset,this.currentDataOffset+t),this.messageHeaderOffset);this.currentDataOffset+=t;this.messageHeaderOffset+=t;this.currentOffset+=t;if(this.messageHeaderOffset===su){const e=this.messageHeaderBuffer[0];if(e!==nu){throw new Error("Unexpected message version")}this.segmentsCount=this.toInt16(Uint8Array.prototype.slice.call(this.messageHeaderBuffer,11,13));this.state=au.SegmentHeader}}parseSegmentHeader(e){const t=Math.min(iu-this.segmentHeaderOffset,e.length-this.currentDataOffset);this.segmentHeaderBuffer.set(Uint8Array.prototype.slice.call(e,this.currentDataOffset,this.currentDataOffset+t),this.segmentHeaderOffset);this.currentDataOffset+=t;this.segmentHeaderOffset+=t;this.currentOffset+=t;if(this.segmentHeaderOffset===iu){const e=this.toInt16(Uint8Array.prototype.slice.call(this.segmentHeaderBuffer,0,2));if(e!==this.segmentNumber+1){throw new Error("Segment number is unexpected.")}this.segmentContentLength=this.toInt64(this.segmentHeaderBuffer,2);this.segmentContentOffset=0;this.state=au.SegmentContent}}parseSegmentContent(e){const t=Math.min(this.segmentContentLength-this.segmentContentOffset,e.length-this.currentDataOffset);const r=Uint8Array.prototype.slice.call(e,this.currentDataOffset,this.currentDataOffset+t);this.segmentCrc64.append(r,t);this.messageCrc64.append(r,t);this.pushData(r);this.currentDataOffset+=t;this.segmentContentOffset+=t;this.currentOffset+=t;if(this.segmentContentOffset===this.segmentContentLength){this.state=au.SegmentFooter}}parseSegmentFooter(e){const t=Math.min(ou-this.segmentFooterOffset,e.length-this.currentDataOffset);this.segmentFooterBuffer.set(Uint8Array.prototype.slice.call(e,this.currentDataOffset,this.currentDataOffset+t),this.segmentFooterOffset);this.currentDataOffset+=t;this.segmentFooterOffset+=t;this.currentOffset+=t;if(this.segmentFooterOffset===ou){const e=this.segmentCrc64.final(new Uint8Array([]),0);if(!this.checkCrc64CheckSum(e,this.segmentFooterBuffer)){throw new Error(`Segment check sum mismatch, segmentNumber: ${this.segmentNumber}`)}++this.segmentNumber;if(this.segmentNumber===this.segmentsCount){this.state=au.StreamFooter}else{this.segmentHeaderOffset=0;this.segmentFooterOffset=0;this.segmentCrc64=new StorageCRC64Calculator;this.state=au.SegmentHeader}}}parseMessageFooter(e){const t=Math.min(ou-this.messageFooterOffset,e.length-this.currentDataOffset);this.messageFooterBuffer.set(Uint8Array.prototype.slice.call(e,this.currentDataOffset,this.currentDataOffset+t),this.messageFooterOffset);this.currentDataOffset+=t;this.messageFooterOffset+=t;this.currentOffset+=t;if(this.messageFooterOffset===ou){const e=this.messageCrc64.final(new Uint8Array([]),0);if(!this.checkCrc64CheckSum(e,this.messageFooterBuffer)){throw new Error("Check sum mismatch")}this.pushData(null)}}toInt64(e,t){if(e.length<t+8){throw new Error("CRC64 buffer error, something wrong with crc64 calculator")}const r=new DataView(e.buffer,e.byteOffset+t,8);return Number(r.getBigUint64(0,true))}toInt16(e){if(e.length!==2){throw new Error("CRC64 buffer error, something wrong with crc64 calculator")}return e[0]+e[1]*256}checkCrc64CheckSum(e,t){if(e.length!==8||t.length!==8){throw new Error("CRC64 buffer error, something wrong with crc64 calculator")}for(let r=0;r<8;++r){if(e[r]!==t[r]){return false}}return true}}async function structuredMessageDecodingBrowser(e){e;throw new Error("structuredMessageDecodingBrowser is only for Browser")}function structuredMessageDecodingStream(e,t){return new StructuredMessageDecodingStream(e,t)}class StructuredMessageDecodingStream extends sa.Readable{source;decodingMethods;constructor(e,t){super({highWaterMark:t.highWaterMark});this.source=e;this.decodingMethods=new StructuredMessageDecoding((t=>{if(!this.push(t)){e.pause()}}));this.setSourceEventHandlers()}_read(){this.source.resume()}setSourceEventHandlers(){this.source.on("data",this.sourceDataHandler);this.source.on("end",this.sourceErrorOrEndHandler);this.source.on("error",this.sourceErrorOrEndHandler);this.source.on("aborted",this.sourceAbortedHandler)}removeSourceEventHandlers(){this.source.removeListener("data",this.sourceDataHandler);this.source.removeListener("end",this.sourceErrorOrEndHandler);this.source.removeListener("error",this.sourceErrorOrEndHandler);this.source.removeListener("aborted",this.sourceAbortedHandler)}sourceDataHandler=e=>{try{this.decodingMethods.sourceDataHandler(e)}catch(e){this.destroy(e)}};sourceAbortedHandler=()=>{const e=new AbortError_AbortError("The operation was aborted.");this.destroy(e)};sourceErrorOrEndHandler=e=>{if(e){this.destroy(e);return}this.removeSourceEventHandlers()};_destroy(e,t){this.removeSourceEventHandlers();this.source.destroy();t(e===null?undefined:e)}}let cu;function cache_getCachedDefaultHttpClient(){if(!cu){cu=esm_defaultHttpClient_createDefaultHttpClient()}return cu}const lu={Auto:"Auto",Xml:"Xml",Arrow:"Arrow"};class BaseRequestPolicy{_nextPolicy;_options;constructor(e,t){this._nextPolicy=e;this._options=t}shouldLog(e){return this._options.shouldLog(e)}log(e,t){this._options.log(e,t)}}class StorageBrowserPolicy extends BaseRequestPolicy{constructor(e,t){super(e,t)}async sendRequest(e){return this._nextPolicy.sendRequest(e)}}class StorageBrowserPolicyFactory{create(e,t){return new StorageBrowserPolicy(e,t)}}class CredentialPolicy extends BaseRequestPolicy{sendRequest(e){return this._nextPolicy.sendRequest(this.signRequest(e))}signRequest(e){return e}}class AnonymousCredentialPolicy extends CredentialPolicy{constructor(e,t){super(e,t)}}class Credential{create(e,t){throw new Error("Method should be implemented in children classes.")}}class AnonymousCredential extends Credential{create(e,t){return new AnonymousCredentialPolicy(e,t)}}const Au="12.5.0";const uu={Parameters:{FORCE_BROWSER_NO_CACHE:"_",SIGNATURE:"sig",SNAPSHOT:"snapshot",VERSIONID:"versionid",TIMEOUT:"timeout"}};const du={AUTHORIZATION:"Authorization",AUTHORIZATION_SCHEME:"Bearer",CONTENT_ENCODING:"Content-Encoding",CONTENT_ID:"Content-ID",CONTENT_LANGUAGE:"Content-Language",CONTENT_LENGTH:"Content-Length",CONTENT_MD5:"Content-Md5",CONTENT_TRANSFER_ENCODING:"Content-Transfer-Encoding",CONTENT_TYPE:"Content-Type",COOKIE:"Cookie",DATE:"date",IF_MATCH:"if-match",IF_MODIFIED_SINCE:"if-modified-since",IF_NONE_MATCH:"if-none-match",IF_UNMODIFIED_SINCE:"if-unmodified-since",PREFIX_FOR_STORAGE:"x-ms-",RANGE:"Range",USER_AGENT:"User-Agent",X_MS_CLIENT_REQUEST_ID:"x-ms-client-request-id",X_MS_COPY_SOURCE:"x-ms-copy-source",X_MS_DATE:"x-ms-date",X_MS_ERROR_CODE:"x-ms-error-code",X_MS_VERSION:"x-ms-version",X_MS_CopySourceErrorCode:"x-ms-copy-source-error-code"};const gu=null&&`DefaultEndpointsProtocol=http;AccountName=devstoreaccount1;AccountKey=Eby8vdM02xNOcqFlqUwJPLlmEtlCDXJ1OUzFT50uSRZ6IFsuFq2UVErCz4I6tq/K1SZFPTOtr/KBHBeksoGMGw==;BlobEndpoint=http://127.0.0.1:10000/devstoreaccount1;`;const pu=null&&["10000","10001","10002","10003","10004","10100","10101","10102","10103","10104","11000","11001","11002","11003","11004","11100","11101","11102","11103","11104"];function escapeURLPath(e){const t=new URL(e);let r=t.pathname;r=r||"/";r=utils_common_escape(r);t.pathname=r;return t.toString()}function getProxyUriFromDevConnString(e){let t="";if(e.search("DevelopmentStorageProxyUri=")!==-1){const r=e.split(";");for(const e of r){if(e.trim().startsWith("DevelopmentStorageProxyUri=")){t=e.trim().match("DevelopmentStorageProxyUri=(.*)")[1]}}}return t}function getValueInConnString(e,t){const r=e.split(";");for(const e of r){if(e.trim().startsWith(t)){return e.trim().match(t+"=(.*)")[1]}}return""}function extractConnectionStringParts(e){let t="";if(e.startsWith("UseDevelopmentStorage=true")){t=getProxyUriFromDevConnString(e);e=DevelopmentConnectionString}let r=getValueInConnString(e,"BlobEndpoint");r=r.endsWith("/")?r.slice(0,-1):r;if(e.search("DefaultEndpointsProtocol=")!==-1&&e.search("AccountKey=")!==-1){let n="";let s="";let i=stringToUint8Array("accountKey","base64");let o="";s=getValueInConnString(e,"AccountName");i=stringToUint8Array(getValueInConnString(e,"AccountKey"),"base64");if(!r){n=getValueInConnString(e,"DefaultEndpointsProtocol");const t=n.toLowerCase();if(t!=="https"&&t!=="http"){throw new Error("Invalid DefaultEndpointsProtocol in the provided Connection String. Expecting 'https' or 'http'")}o=getValueInConnString(e,"EndpointSuffix");if(!o){throw new Error("Invalid EndpointSuffix in the provided Connection String")}r=`${n}://${s}.blob.${o}`}if(!s){throw new Error("Invalid AccountName in the provided Connection String")}else if(i.length===0){throw new Error("Invalid AccountKey in the provided Connection String")}return{kind:"AccountConnString",url:r,accountName:s,accountKey:i,proxyUri:t}}else{let t=getValueInConnString(e,"SharedAccessSignature");let n=getValueInConnString(e,"AccountName");if(!n){n=getAccountNameFromUrl(r)}if(!r){throw new Error("Invalid BlobEndpoint in the provided SAS Connection String")}else if(!t){throw new Error("Invalid SharedAccessSignature in the provided SAS Connection String")}if(t.startsWith("?")){t=t.substring(1)}return{kind:"SASConnString",url:r,accountName:n,accountSas:t}}}function utils_common_escape(e){return encodeURIComponent(e).replace(/%2F/g,"/").replace(/'/g,"%27").replace(/\+/g,"%20").replace(/%25/g,"%")}function appendToURLPath(e,t){const r=new URL(e);let n=r.pathname;n=n?n.endsWith("/")?`${n}${t}`:`${n}/${t}`:t;r.pathname=n;return r.toString()}function setURLParameter(e,t,r){const n=new URL(e);const s=encodeURIComponent(t);const i=r?encodeURIComponent(r):undefined;const o=n.search===""?"?":n.search;const a=[];for(const e of o.slice(1).split("&")){if(e){const[t]=e.split("=",2);if(t!==s){a.push(e)}}}if(i){a.push(`${s}=${i}`)}n.search=a.length?`?${a.join("&")}`:"";return n.toString()}function getURLParameter(e,t){const r=new URL(e);return r.searchParams.get(t)??undefined}function setURLHost(e,t){const r=new URL(e);r.hostname=t;return r.toString()}function getURLPath(e){try{const t=new URL(e);return t.pathname}catch(e){return undefined}}function getURLScheme(e){try{const t=new URL(e);return t.protocol.endsWith(":")?t.protocol.slice(0,-1):t.protocol}catch(e){return undefined}}function getURLPathAndQuery(e){const t=new URL(e);const r=t.pathname;if(!r){throw new RangeError("Invalid url without valid path.")}let n=t.search||"";n=n.trim();if(n!==""){n=n.startsWith("?")?n:`?${n}`}return`${r}${n}`}function getURLQueries(e){let t=new URL(e).search;if(!t){return{}}t=t.trim();t=t.startsWith("?")?t.substring(1):t;let r=t.split("&");r=r.filter((e=>{const t=e.indexOf("=");const r=e.lastIndexOf("=");return t>0&&t===r&&r<e.length-1}));const n={};for(const e of r){const t=e.split("=");const r=t[0];const s=t[1];n[r]=s}return n}function appendToURLQuery(e,t){const r=new URL(e);let n=r.search;if(n){n+="&"+t}else{n=t}r.search=n;return r.toString()}function truncatedISO8061Date(e,t=true){const r=e.toISOString();return t?r.substring(0,r.length-1)+"0000"+"Z":r.substring(0,r.length-5)+"Z"}function generateBlockID(e,t){const r=48;const n=6;const s=r-n;if(e.length>s){e=e.slice(0,s)}const i=e+utils_common_padStart(t.toString(),r-e.length,"0");return uint8ArrayToString(stringToUint8Array(i,"utf-8"),"base64")}async function utils_common_delay(e,t,r){return new Promise(((n,s)=>{let i;const abortHandler=()=>{if(i!==undefined){clearTimeout(i)}s(r)};const resolveHandler=()=>{if(t!==undefined){t.removeEventListener("abort",abortHandler)}n()};i=setTimeout(resolveHandler,e);if(t!==undefined){t.addEventListener("abort",abortHandler)}}))}function utils_common_padStart(e,t,r=" "){if(String.prototype.padStart){return e.padStart(t,r)}r=r||" ";if(e.length>t){return e}else{t=t-e.length;if(t>r.length){r+=r.repeat(t/r.length)}return r.slice(0,t)+e}}function sanitizeURL(e){let t=e;if(getURLParameter(t,URLConstants.Parameters.SIGNATURE)){t=setURLParameter(t,URLConstants.Parameters.SIGNATURE,"*****")}return t}function sanitizeHeaders(e){const t=createHttpHeaders();for(const[r,n]of e){if(r.toLowerCase()===HeaderConstants.AUTHORIZATION.toLowerCase()){t.set(r,"*****")}else if(r.toLowerCase()===HeaderConstants.X_MS_COPY_SOURCE){t.set(r,sanitizeURL(n))}else{t.set(r,n)}}return t}function iEqual(e,t){return e.toLocaleLowerCase()===t.toLocaleLowerCase()}function getAccountNameFromUrl(e){const t=new URL(e);let r;try{if(t.hostname.split(".")[1]==="blob"){r=t.hostname.split(".")[0]}else if(isIpEndpointStyle(t)){r=t.pathname.split("/")[1]}else{r=""}return r}catch(e){throw new Error("Unable to extract accountName with provided information.")}}function isIpEndpointStyle(e){const t=e.host;return/^.*:.*:.*$|^(localhost|host.docker.internal)(:[0-9]+)?$|^(\d|[1-9]\d|1\d\d|2[0-4]\d|25[0-5])(\.(\d|[1-9]\d|1\d\d|2[0-4]\d|25[0-5])){3}(:[0-9]+)?$/.test(t)||Boolean(e.port)&&PathStylePorts.includes(e.port)}function attachCredential(e,t){e.credential=t;return e}function httpAuthorizationToString(e){return e?e.scheme+" "+e.value:undefined}function EscapePath(e){const t=e.split("/");for(let e=0;e<t.length;e++){t[e]=encodeURIComponent(t[e])}return t.join("/")}function assertResponse(e){if(`_response`in e){return e}throw new TypeError(`Unexpected response object ${e}`)}const hu=new Uint32Array([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,1820,0,1823,1825,1827,1829,0,0,0,1837,2051,0,0,1843,0,3331,3354,3356,3358,3360,3362,3364,3366,3368,3370,0,0,0,0,0,0,0,3586,3593,3594,3610,3617,3619,3621,3628,3634,3637,3638,3656,3665,3696,3708,3710,3721,3722,3729,3737,3743,3746,3748,3750,3751,3753,0,0,0,1859,1860,1864,3586,3593,3594,3610,3617,3619,3621,3628,3634,3637,3638,3656,3665,3696,3708,3710,3721,3722,3729,3737,3743,3746,3748,3750,3751,3753,0,1868,0,1872,0]);const mu=new Uint32Array([0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0]);const fu=new Uint32Array([0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,32786,0,0,0,0,0,33298,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0]);function compareHeader(e,t){if(isLessThan(e,t))return-1;return 1}function isLessThan(e,t){const r=[hu,mu,fu];let n=0;let s=0;let i=0;while(n<r.length){if(n===r.length-1&&s!==i){return s>i}const o=s<e.length?r[n][e[s].charCodeAt(0)]:1;const a=i<t.length?r[n][t[i].charCodeAt(0)]:1;if(o===1&&a===1){s=0;i=0;++n}else if(o===a){++s;++i}else if(o===0){++s}else if(a===0){++i}else{return o<a}}return false}class StorageSharedKeyCredentialPolicy extends CredentialPolicy{factory;constructor(e,t,r){super(e,t);this.factory=r}signRequest(e){e.headers.set(du.X_MS_DATE,(new Date).toUTCString());if(e.body&&(typeof e.body==="string"||e.body!==undefined)&&e.body.length>0){e.headers.set(du.CONTENT_LENGTH,Buffer.byteLength(e.body))}const t=[e.method.toUpperCase(),this.getHeaderValueToSign(e,du.CONTENT_LANGUAGE),this.getHeaderValueToSign(e,du.CONTENT_ENCODING),this.getHeaderValueToSign(e,du.CONTENT_LENGTH),this.getHeaderValueToSign(e,du.CONTENT_MD5),this.getHeaderValueToSign(e,du.CONTENT_TYPE),this.getHeaderValueToSign(e,du.DATE),this.getHeaderValueToSign(e,du.IF_MODIFIED_SINCE),this.getHeaderValueToSign(e,du.IF_MATCH),this.getHeaderValueToSign(e,du.IF_NONE_MATCH),this.getHeaderValueToSign(e,du.IF_UNMODIFIED_SINCE),this.getHeaderValueToSign(e,du.RANGE)].join("\n")+"\n"+this.getCanonicalizedHeadersString(e)+this.getCanonicalizedResourceString(e);const r=this.factory.computeHMACSHA256(t);e.headers.set(du.AUTHORIZATION,`SharedKey ${this.factory.accountName}:${r}`);return e}getHeaderValueToSign(e,t){const r=e.headers.get(t);if(!r){return""}if(t===du.CONTENT_LENGTH&&r==="0"){return""}return r}getCanonicalizedHeadersString(e){let t=e.headers.headersArray().filter((e=>e.name.toLowerCase().startsWith(du.PREFIX_FOR_STORAGE)));t.sort(((e,t)=>compareHeader(e.name.toLowerCase(),t.name.toLowerCase())));t=t.filter(((e,t,r)=>{if(t>0&&e.name.toLowerCase()===r[t-1].name.toLowerCase()){return false}return true}));let r="";t.forEach((e=>{r+=`${e.name.toLowerCase().trimRight()}:${e.value.trimLeft()}\n`}));return r}getCanonicalizedResourceString(e){const t=getURLPath(e.url)||"/";let r="";r+=`/${this.factory.accountName}${t}`;const n=getURLQueries(e.url);const s={};if(n){const e=[];for(const t in n){if(Object.prototype.hasOwnProperty.call(n,t)){const r=t.toLowerCase();s[r]=n[t];e.push(r)}}e.sort();for(const t of e){r+=`\n${t}:${decodeURIComponent(s[t])}`}}return r}}class StorageSharedKeyCredential extends Credential{accountName;accountKey;constructor(e,t){super();this.accountName=e;this.accountKey=Buffer.from(t,"base64")}create(e,t){return new StorageSharedKeyCredentialPolicy(e,t,this)}computeHMACSHA256(e){return(0,lc.createHmac)("sha256",this.accountKey).update(e,"utf8").digest("base64")}}const Cu=esm_createClientLogger("storage-common");var yu;(function(e){e[e["EXPONENTIAL"]=0]="EXPONENTIAL";e[e["FIXED"]=1]="FIXED"})(yu||(yu={}));function NewRetryPolicyFactory(e){return{create:(t,r)=>new StorageRetryPolicy(t,r,e)}}const Eu={maxRetryDelayInMs:120*1e3,maxTries:4,retryDelayInMs:4*1e3,retryPolicyType:yu.EXPONENTIAL,secondaryHost:"",tryTimeoutInMs:undefined};const Iu=new AbortError_AbortError("The operation was aborted.");class StorageRetryPolicy extends BaseRequestPolicy{retryOptions;constructor(e,t,r=Eu){super(e,t);this.retryOptions={retryPolicyType:r.retryPolicyType?r.retryPolicyType:Eu.retryPolicyType,maxTries:r.maxTries&&r.maxTries>=1?Math.floor(r.maxTries):Eu.maxTries,tryTimeoutInMs:r.tryTimeoutInMs&&r.tryTimeoutInMs>=0?r.tryTimeoutInMs:Eu.tryTimeoutInMs,retryDelayInMs:r.retryDelayInMs&&r.retryDelayInMs>=0?Math.min(r.retryDelayInMs,r.maxRetryDelayInMs?r.maxRetryDelayInMs:Eu.maxRetryDelayInMs):Eu.retryDelayInMs,maxRetryDelayInMs:r.maxRetryDelayInMs&&r.maxRetryDelayInMs>=0?r.maxRetryDelayInMs:Eu.maxRetryDelayInMs,secondaryHost:r.secondaryHost?r.secondaryHost:Eu.secondaryHost}}async sendRequest(e){return this.attemptSendRequest(e,false,1)}async attemptSendRequest(e,t,r){const n=e.clone();const s=t||!this.retryOptions.secondaryHost||!(e.method==="GET"||e.method==="HEAD"||e.method==="OPTIONS")||r%2===1;if(!s){n.url=setURLHost(n.url,this.retryOptions.secondaryHost)}if(this.retryOptions.tryTimeoutInMs){n.url=setURLParameter(n.url,uu.Parameters.TIMEOUT,Math.floor(this.retryOptions.tryTimeoutInMs/1e3).toString())}let i;try{Cu.info(`RetryPolicy: =====> Try=${r} ${s?"Primary":"Secondary"}`);i=await this._nextPolicy.sendRequest(n);if(!this.shouldRetry(s,r,i)){return i}t=t||!s&&i.status===404}catch(e){Cu.error(`RetryPolicy: Caught error, message: ${e.message}, code: ${e.code}`);if(!this.shouldRetry(s,r,i,e)){throw e}}await this.delay(s,r,e.abortSignal);return this.attemptSendRequest(e,t,++r)}shouldRetry(e,t,r,n){if(t>=this.retryOptions.maxTries){Cu.info(`RetryPolicy: Attempt(s) ${t} >= maxTries ${this.retryOptions.maxTries}, no further try.`);return false}const s=["ETIMEDOUT","ESOCKETTIMEDOUT","ECONNREFUSED","ECONNRESET","ENOENT","ENOTFOUND","TIMEOUT","EPIPE","REQUEST_SEND_ERROR"];if(n){for(const e of s){if(n.name.toUpperCase().includes(e)||n.message.toUpperCase().includes(e)||n.code&&n.code.toString().toUpperCase()===e){Cu.info(`RetryPolicy: Network error ${e} found, will retry.`);return true}}}if(r||n){const t=r?r.status:n?n.statusCode:0;if(!e&&t===404){Cu.info(`RetryPolicy: Secondary access with 404, will retry.`);return true}if(t===503||t===500){Cu.info(`RetryPolicy: Will retry for status code ${t}.`);return true}}if(r){if(r?.status>=400){const e=r.headers.get(du.X_MS_CopySourceErrorCode);if(e!==undefined){switch(e){case"InternalError":case"OperationTimedOut":case"ServerBusy":return true}}}}if(n?.code==="PARSE_ERROR"&&n?.message.startsWith(`Error "Error: Unclosed root tag`)){Cu.info("RetryPolicy: Incomplete XML response likely due to service timeout, will retry.");return true}return false}async delay(e,t,r){let n=0;if(e){switch(this.retryOptions.retryPolicyType){case yu.EXPONENTIAL:n=Math.min((Math.pow(2,t-1)-1)*this.retryOptions.retryDelayInMs,this.retryOptions.maxRetryDelayInMs);break;case yu.FIXED:n=this.retryOptions.retryDelayInMs;break}}else{n=Math.random()*1e3}Cu.info(`RetryPolicy: Delay for ${n}ms`);return utils_common_delay(n,r,Iu)}}class StorageRetryPolicyFactory{retryOptions;constructor(e){this.retryOptions=e}create(e,t){return new StorageRetryPolicy(e,t,this.retryOptions)}}const Bu="storageBrowserPolicy";function storageBrowserPolicy(){return{name:Bu,async sendRequest(e,t){return t(e)}}}const Qu="StorageCorrectContentLengthPolicy";function storageCorrectContentLengthPolicy(){function correctContentLength(e){if(e.body&&(typeof e.body==="string"||Buffer.isBuffer(e.body))&&e.body.length>0){e.headers.set(du.CONTENT_LENGTH,Buffer.byteLength(e.body))}}return{name:Qu,async sendRequest(e,t){correctContentLength(e);return t(e)}}}const bu="storageRetryPolicy";const Su={maxRetryDelayInMs:120*1e3,maxTries:4,retryDelayInMs:4*1e3,retryPolicyType:yu.EXPONENTIAL,secondaryHost:"",tryTimeoutInMs:undefined};const wu=["ETIMEDOUT","ESOCKETTIMEDOUT","ECONNREFUSED","ECONNRESET","ENOENT","ENOTFOUND","TIMEOUT","EPIPE","REQUEST_SEND_ERROR"];const Du=new AbortError_AbortError("The operation was aborted.");function storageRetryPolicy(e={}){const t=e.retryPolicyType??Su.retryPolicyType;const r=e.maxTries??Su.maxTries;const n=e.retryDelayInMs??Su.retryDelayInMs;const s=e.maxRetryDelayInMs??Su.maxRetryDelayInMs;const i=e.secondaryHost??Su.secondaryHost;const o=e.tryTimeoutInMs??Su.tryTimeoutInMs;function shouldRetry({isPrimaryRetry:e,attempt:t,response:n,error:s}){if(t>=r){Cu.info(`RetryPolicy: Attempt(s) ${t} >= maxTries ${r}, no further try.`);return false}if(s){for(const e of wu){if(s.name.toUpperCase().includes(e)||s.message.toUpperCase().includes(e)||s.code&&s.code.toString().toUpperCase()===e){Cu.info(`RetryPolicy: Network error ${e} found, will retry.`);return true}}if(s?.code==="PARSE_ERROR"&&s?.message.startsWith(`Error "Error: Unclosed root tag`)){Cu.info("RetryPolicy: Incomplete XML response likely due to service timeout, will retry.");return true}}if(n||s){const t=n?.status??s?.statusCode??0;if(!e&&t===404){Cu.info(`RetryPolicy: Secondary access with 404, will retry.`);return true}if(t===503||t===500){Cu.info(`RetryPolicy: Will retry for status code ${t}.`);return true}}if(n){if(n?.status>=400){const e=n.headers.get(du.X_MS_CopySourceErrorCode);if(e!==undefined){switch(e){case"InternalError":case"OperationTimedOut":case"ServerBusy":return true}}}}return false}function calculateDelay(e,r){let i=0;if(e){switch(t){case yu.EXPONENTIAL:i=Math.min((Math.pow(2,r-1)-1)*n,s);break;case yu.FIXED:i=n;break}}else{i=Math.random()*1e3}Cu.info(`RetryPolicy: Delay for ${i}ms`);return i}return{name:bu,async sendRequest(e,t){if(o){e.url=setURLParameter(e.url,uu.Parameters.TIMEOUT,String(Math.floor(o/1e3)))}const r=e.url;const n=i?setURLHost(e.url,i):undefined;let s=false;let a=1;let c=true;let l;let A;while(c){const i=s||!n||!["GET","HEAD","OPTIONS"].includes(e.method)||a%2===1;e.url=i?r:n;l=undefined;A=undefined;try{Cu.info(`RetryPolicy: =====> Try=${a} ${i?"Primary":"Secondary"}`);l=await t(e);s=s||!i&&l.status===404}catch(e){if(esm_restError_isRestError(e)){Cu.error(`RetryPolicy: Caught error, message: ${e.message}, code: ${e.code}`);A=e}else{Cu.error(`RetryPolicy: Caught error, message: ${getErrorMessage(e)}`);throw e}}c=shouldRetry({isPrimaryRetry:i,attempt:a,response:l,error:A});if(c){await utils_common_delay(calculateDelay(i,a),e.abortSignal,Du)}a++}if(l){return l}throw A??new wc("RetryPolicy failed without known error.")}}}const Nu="storageSharedKeyCredentialPolicy";function storageSharedKeyCredentialPolicy(e){function signRequest(t){t.headers.set(du.X_MS_DATE,(new Date).toUTCString());if(t.body&&(typeof t.body==="string"||Buffer.isBuffer(t.body))&&t.body.length>0){t.headers.set(du.CONTENT_LENGTH,Buffer.byteLength(t.body))}const r=[t.method.toUpperCase(),getHeaderValueToSign(t,du.CONTENT_LANGUAGE),getHeaderValueToSign(t,du.CONTENT_ENCODING),getHeaderValueToSign(t,du.CONTENT_LENGTH),getHeaderValueToSign(t,du.CONTENT_MD5),getHeaderValueToSign(t,du.CONTENT_TYPE),getHeaderValueToSign(t,du.DATE),getHeaderValueToSign(t,du.IF_MODIFIED_SINCE),getHeaderValueToSign(t,du.IF_MATCH),getHeaderValueToSign(t,du.IF_NONE_MATCH),getHeaderValueToSign(t,du.IF_UNMODIFIED_SINCE),getHeaderValueToSign(t,du.RANGE)].join("\n")+"\n"+getCanonicalizedHeadersString(t)+getCanonicalizedResourceString(t);const n=(0,lc.createHmac)("sha256",e.accountKey).update(r,"utf8").digest("base64");t.headers.set(du.AUTHORIZATION,`SharedKey ${e.accountName}:${n}`)}function getHeaderValueToSign(e,t){const r=e.headers.get(t);if(!r){return""}if(t===du.CONTENT_LENGTH&&r==="0"){return""}return r}function getCanonicalizedHeadersString(e){let t=[];for(const[r,n]of e.headers){if(r.toLowerCase().startsWith(du.PREFIX_FOR_STORAGE)){t.push({name:r,value:n})}}t.sort(((e,t)=>compareHeader(e.name.toLowerCase(),t.name.toLowerCase())));t=t.filter(((e,t,r)=>{if(t>0&&e.name.toLowerCase()===r[t-1].name.toLowerCase()){return false}return true}));let r="";t.forEach((e=>{r+=`${e.name.toLowerCase().trimRight()}:${e.value.trimLeft()}\n`}));return r}function getCanonicalizedResourceString(t){const r=getURLPath(t.url)||"/";let n="";n+=`/${e.accountName}${r}`;const s=getURLQueries(t.url);const i={};if(s){const e=[];for(const t in s){if(Object.prototype.hasOwnProperty.call(s,t)){const r=t.toLowerCase();i[r]=s[t];e.push(r)}}e.sort();for(const t of e){n+=`\n${t}:${decodeURIComponent(i[t])}`}}return n}return{name:Nu,async sendRequest(e,t){signRequest(e);return t(e)}}}const xu="storageRequestFailureDetailsParserPolicy";function storageRequestFailureDetailsParserPolicy(){return{name:xu,async sendRequest(e,t){try{const r=await t(e);if(r.status===400&&r.bodyAsText?.includes("<Error><Code>InvalidHeaderValue</Code>")&&r.bodyAsText.includes("<HeaderName>x-ms-version</HeaderName>")){r.bodyAsText=r.bodyAsText.replace(/<Message>.*<\/Message>/s,"<Message>The provided service version is not enabled on this storage account. Please see https://learn.microsoft.com/rest/api/storageservices/versioning-for-the-azure-storage-services for additional information.</Message>")}return r}catch(e){if(typeof e==="object"&&e!==null&&e.response&&e.response.parsedBody){if(e.response.parsedBody.code==="InvalidHeaderValue"&&e.response.parsedBody.HeaderName==="x-ms-version"){e.message="The provided service version is not enabled on this storage account. Please see https://learn.microsoft.com/rest/api/storageservices/versioning-for-the-azure-storage-services for additional information.\n"}}throw e}}}}class UserDelegationKeyCredential{accountName;userDelegationKey;key;constructor(e,t){this.accountName=e;this.userDelegationKey=t;this.key=Buffer.from(t.value,"base64")}computeHMACSHA256(e){return(0,lc.createHmac)("sha256",this.key).update(e,"utf8").digest("base64")}}const Ru="12.33.0";const vu="2026-06-06";const ku=256*1024*1024;const Fu=4e3*1024*1024;const Tu=5e4;const Mu=8*1024*1024;const Pu=4*1024*1024;const Lu=5;const Uu=100*1e3;const Ou="https://storage.azure.com/.default";const Hu={Parameters:{FORCE_BROWSER_NO_CACHE:"_",SIGNATURE:"sig",SNAPSHOT:"snapshot",VERSIONID:"versionid",TIMEOUT:"timeout"}};const _u={HTTP_ACCEPTED:202,HTTP_CONFLICT:409,HTTP_NOT_FOUND:404,HTTP_PRECON_FAILED:412,HTTP_RANGE_NOT_SATISFIABLE:416};const qu={AUTHORIZATION:"Authorization",AUTHORIZATION_SCHEME:"Bearer",CONTENT_ENCODING:"Content-Encoding",CONTENT_ID:"Content-ID",CONTENT_LANGUAGE:"Content-Language",CONTENT_LENGTH:"Content-Length",CONTENT_MD5:"Content-Md5",CONTENT_TRANSFER_ENCODING:"Content-Transfer-Encoding",CONTENT_TYPE:"Content-Type",COOKIE:"Cookie",DATE:"date",IF_MATCH:"if-match",IF_MODIFIED_SINCE:"if-modified-since",IF_NONE_MATCH:"if-none-match",IF_UNMODIFIED_SINCE:"if-unmodified-since",PREFIX_FOR_STORAGE:"x-ms-",RANGE:"Range",USER_AGENT:"User-Agent",X_MS_CLIENT_REQUEST_ID:"x-ms-client-request-id",X_MS_COPY_SOURCE:"x-ms-copy-source",X_MS_DATE:"x-ms-date",X_MS_ERROR_CODE:"x-ms-error-code",X_MS_VERSION:"x-ms-version",X_MS_CopySourceErrorCode:"x-ms-copy-source-error-code"};const Gu="";const zu="*";const Yu=1*1024*1024;const Vu=256;const Ju=4*Yu;const Wu="\r\n";const ju="HTTP/1.1";const Ku="AES256";const $u=`DefaultEndpointsProtocol=http;AccountName=devstoreaccount1;AccountKey=Eby8vdM02xNOcqFlqUwJPLlmEtlCDXJ1OUzFT50uSRZ6IFsuFq2UVErCz4I6tq/K1SZFPTOtr/KBHBeksoGMGw==;BlobEndpoint=http://127.0.0.1:10000/devstoreaccount1;`;const Xu=["Access-Control-Allow-Origin","Cache-Control","Content-Length","Content-Type","Date","Request-Id","traceparent","Transfer-Encoding","User-Agent","x-ms-client-request-id","x-ms-date","x-ms-error-code","x-ms-request-id","x-ms-return-client-request-id","x-ms-version","Accept-Ranges","Content-Disposition","Content-Encoding","Content-Language","Content-MD5","Content-Range","ETag","Last-Modified","Server","Vary","x-ms-content-crc64","x-ms-copy-action","x-ms-copy-completion-time","x-ms-copy-id","x-ms-copy-progress","x-ms-copy-status","x-ms-has-immutability-policy","x-ms-has-legal-hold","x-ms-lease-state","x-ms-lease-status","x-ms-range","x-ms-request-server-encrypted","x-ms-server-encrypted","x-ms-snapshot","x-ms-source-range","If-Match","If-Modified-Since","If-None-Match","If-Unmodified-Since","x-ms-access-tier","x-ms-access-tier-change-time","x-ms-access-tier-inferred","x-ms-account-kind","x-ms-archive-status","x-ms-blob-append-offset","x-ms-blob-cache-control","x-ms-blob-committed-block-count","x-ms-blob-condition-appendpos","x-ms-blob-condition-maxsize","x-ms-blob-content-disposition","x-ms-blob-content-encoding","x-ms-blob-content-language","x-ms-blob-content-length","x-ms-blob-content-md5","x-ms-blob-content-type","x-ms-blob-public-access","x-ms-blob-sequence-number","x-ms-blob-type","x-ms-copy-destination-snapshot","x-ms-creation-time","x-ms-default-encryption-scope","x-ms-delete-snapshots","x-ms-delete-type-permanent","x-ms-deny-encryption-scope-override","x-ms-encryption-algorithm","x-ms-if-sequence-number-eq","x-ms-if-sequence-number-le","x-ms-if-sequence-number-lt","x-ms-incremental-copy","x-ms-lease-action","x-ms-lease-break-period","x-ms-lease-duration","x-ms-lease-id","x-ms-lease-time","x-ms-page-write","x-ms-proposed-lease-id","x-ms-range-get-content-md5","x-ms-rehydrate-priority","x-ms-sequence-number-action","x-ms-sku-name","x-ms-source-content-md5","x-ms-source-if-match","x-ms-source-if-modified-since","x-ms-source-if-none-match","x-ms-source-if-unmodified-since","x-ms-tag-count","x-ms-encryption-key-sha256","x-ms-copy-source-error-code","x-ms-copy-source-status-code","x-ms-if-tags","x-ms-source-if-tags"];const Zu=["comp","maxresults","rscc","rscd","rsce","rscl","rsct","se","si","sip","sp","spr","sr","srt","ss","st","sv","include","marker","prefix","copyid","restype","blockid","blocklisttype","delimiter","prevsnapshot","ske","skoid","sks","skt","sktid","skv","snapshot"];const ed="BlobUsesCustomerSpecifiedEncryption";const td="BlobDoesNotUseCustomerSpecifiedEncryption";const rd=["10000","10001","10002","10003","10004","10100","10101","10102","10103","10104","11000","11001","11002","11003","11004","11100","11101","11102","11103","11104"];function isPipelineLike(e){if(!e||typeof e!=="object"){return false}const t=e;return Array.isArray(t.factories)&&typeof t.options==="object"&&typeof t.toServiceClientOptions==="function"}class Pipeline{factories;options;constructor(e,t={}){this.factories=e;this.options=t}toServiceClientOptions(){return{httpClient:this.options.httpClient,requestPolicyFactories:this.factories}}}function newPipeline(e,t={}){if(!e){e=new AnonymousCredential}const r=new Pipeline([],t);r._credential=e;return r}function processDownlevelPipeline(e){const t=[isAnonymousCredential,isStorageSharedKeyCredential,isCoreHttpBearerTokenFactory,isStorageBrowserPolicyFactory,isStorageRetryPolicyFactory,isStorageTelemetryPolicyFactory,isCoreHttpPolicyFactory];if(e.factories.length){const r=e.factories.filter((e=>!t.some((t=>t(e)))));if(r.length){const e=r.some((e=>isInjectorPolicyFactory(e)));return{wrappedPolicies:createRequestPolicyFactoryPolicy(r),afterRetry:e}}}return undefined}function getCoreClientOptions(e){const{httpClient:t,...r}=e.options;let n=e._coreHttpClient;if(!n){n=t?convertHttpClient(t):cache_getCachedDefaultHttpClient();e._coreHttpClient=n}let s=e._corePipeline;if(!s){const t=`azsdk-js-azure-storage-blob/${Ru}`;const n=r.userAgentOptions&&r.userAgentOptions.userAgentPrefix?`${r.userAgentOptions.userAgentPrefix} ${t}`:`${t}`;s=createClientPipeline({...r,loggingOptions:{additionalAllowedHeaderNames:Xu,additionalAllowedQueryParameters:Zu,logger:VA.info},userAgentOptions:{userAgentPrefix:n},serializationOptions:{stringifyXML:stringifyXML,serializerOptions:{xml:{xmlCharKey:"#"}}},deserializationOptions:{parseXML:parseXML,serializerOptions:{xml:{xmlCharKey:"#"}}}});s.removePolicy({phase:"Retry"});s.removePolicy({name:oc});s.addPolicy(storageCorrectContentLengthPolicy());s.addPolicy(storageRetryPolicy(r.retryOptions),{phase:"Retry"});s.addPolicy(storageRequestFailureDetailsParserPolicy());s.addPolicy(storageBrowserPolicy());const i=processDownlevelPipeline(e);if(i){s.addPolicy(i.wrappedPolicies,i.afterRetry?{afterPhase:"Retry"}:undefined)}const o=getCredentialFromPipeline(e);if(isTokenCredential(o)){s.addPolicy(bearerTokenAuthenticationPolicy({credential:o,scopes:r.audience??Ou,challengeCallbacks:{authorizeRequestOnChallenge:authorizeRequestOnTenantChallenge}}),{phase:"Sign"})}else if(o instanceof StorageSharedKeyCredential){s.addPolicy(storageSharedKeyCredentialPolicy({accountName:o.accountName,accountKey:o.accountKey}),{phase:"Sign"})}e._corePipeline=s}return{...r,allowInsecureConnection:true,httpClient:n,pipeline:s}}function getCredentialFromPipeline(e){if(e._credential){return e._credential}let t=new AnonymousCredential;for(const r of e.factories){if(isTokenCredential(r.credential)){t=r.credential}else if(isStorageSharedKeyCredential(r)){return r}}return t}function isStorageSharedKeyCredential(e){if(e instanceof StorageSharedKeyCredential){return true}return e.constructor.name==="StorageSharedKeyCredential"}function isAnonymousCredential(e){if(e instanceof AnonymousCredential){return true}return e.constructor.name==="AnonymousCredential"}function isCoreHttpBearerTokenFactory(e){return isTokenCredential(e.credential)}function isStorageBrowserPolicyFactory(e){if(e instanceof StorageBrowserPolicyFactory){return true}return e.constructor.name==="StorageBrowserPolicyFactory"}function isStorageRetryPolicyFactory(e){if(e instanceof StorageRetryPolicyFactory){return true}return e.constructor.name==="StorageRetryPolicyFactory"}function isStorageTelemetryPolicyFactory(e){return e.constructor.name==="TelemetryPolicyFactory"}function isInjectorPolicyFactory(e){return e.constructor.name==="InjectorPolicyFactory"}function isCoreHttpPolicyFactory(e){const t=["GenerateClientRequestIdPolicy","TracingPolicy","LogPolicy","ProxyPolicy","DisableResponseDecompressionPolicy","KeepAlivePolicy","DeserializationPolicy"];const r={sendRequest:async e=>({request:e,headers:e.headers.clone(),status:500})};const n={log(e,t){},shouldLog(e){return false}};const s=e.create(r,n);const i=s.constructor.name;return t.some((e=>i.startsWith(e)))}var nd;(function(e){e["AES256"]="AES256"})(nd||(nd={}));var sd;(function(e){e["Backup"]="backup"})(sd||(sd={}));var id;(function(e){e["NeverExpire"]="NeverExpire";e["RelativeToCreation"]="RelativeToCreation";e["RelativeToNow"]="RelativeToNow";e["Absolute"]="Absolute"})(id||(id={}));var od;(function(e){e["AccountAlreadyExists"]="AccountAlreadyExists";e["AccountBeingCreated"]="AccountBeingCreated";e["AccountIsDisabled"]="AccountIsDisabled";e["AuthenticationFailed"]="AuthenticationFailed";e["AuthorizationFailure"]="AuthorizationFailure";e["ConditionHeadersNotSupported"]="ConditionHeadersNotSupported";e["ConditionNotMet"]="ConditionNotMet";e["EmptyMetadataKey"]="EmptyMetadataKey";e["InsufficientAccountPermissions"]="InsufficientAccountPermissions";e["InternalError"]="InternalError";e["InvalidAuthenticationInfo"]="InvalidAuthenticationInfo";e["InvalidHeaderValue"]="InvalidHeaderValue";e["InvalidHttpVerb"]="InvalidHttpVerb";e["InvalidInput"]="InvalidInput";e["InvalidMd5"]="InvalidMd5";e["InvalidMetadata"]="InvalidMetadata";e["InvalidQueryParameterValue"]="InvalidQueryParameterValue";e["InvalidRange"]="InvalidRange";e["InvalidResourceName"]="InvalidResourceName";e["InvalidUri"]="InvalidUri";e["InvalidXmlDocument"]="InvalidXmlDocument";e["InvalidXmlNodeValue"]="InvalidXmlNodeValue";e["Md5Mismatch"]="Md5Mismatch";e["MetadataTooLarge"]="MetadataTooLarge";e["MissingContentLengthHeader"]="MissingContentLengthHeader";e["MissingRequiredQueryParameter"]="MissingRequiredQueryParameter";e["MissingRequiredHeader"]="MissingRequiredHeader";e["MissingRequiredXmlNode"]="MissingRequiredXmlNode";e["MultipleConditionHeadersNotSupported"]="MultipleConditionHeadersNotSupported";e["OperationTimedOut"]="OperationTimedOut";e["OutOfRangeInput"]="OutOfRangeInput";e["OutOfRangeQueryParameterValue"]="OutOfRangeQueryParameterValue";e["RequestBodyTooLarge"]="RequestBodyTooLarge";e["ResourceTypeMismatch"]="ResourceTypeMismatch";e["RequestUrlFailedToParse"]="RequestUrlFailedToParse";e["ResourceAlreadyExists"]="ResourceAlreadyExists";e["ResourceNotFound"]="ResourceNotFound";e["ServerBusy"]="ServerBusy";e["UnsupportedHeader"]="UnsupportedHeader";e["UnsupportedXmlNode"]="UnsupportedXmlNode";e["UnsupportedQueryParameter"]="UnsupportedQueryParameter";e["UnsupportedHttpVerb"]="UnsupportedHttpVerb";e["AppendPositionConditionNotMet"]="AppendPositionConditionNotMet";e["BlobAlreadyExists"]="BlobAlreadyExists";e["BlobImmutableDueToPolicy"]="BlobImmutableDueToPolicy";e["BlobNotFound"]="BlobNotFound";e["BlobOverwritten"]="BlobOverwritten";e["BlobTierInadequateForContentLength"]="BlobTierInadequateForContentLength";e["BlobUsesCustomerSpecifiedEncryption"]="BlobUsesCustomerSpecifiedEncryption";e["BlockCountExceedsLimit"]="BlockCountExceedsLimit";e["BlockListTooLong"]="BlockListTooLong";e["CannotChangeToLowerTier"]="CannotChangeToLowerTier";e["CannotVerifyCopySource"]="CannotVerifyCopySource";e["ContainerAlreadyExists"]="ContainerAlreadyExists";e["ContainerBeingDeleted"]="ContainerBeingDeleted";e["ContainerDisabled"]="ContainerDisabled";e["ContainerNotFound"]="ContainerNotFound";e["ContentLengthLargerThanTierLimit"]="ContentLengthLargerThanTierLimit";e["CopyAcrossAccountsNotSupported"]="CopyAcrossAccountsNotSupported";e["CopyIdMismatch"]="CopyIdMismatch";e["FeatureVersionMismatch"]="FeatureVersionMismatch";e["IncrementalCopyBlobMismatch"]="IncrementalCopyBlobMismatch";e["IncrementalCopyOfEarlierSnapshotNotAllowed"]="IncrementalCopyOfEarlierSnapshotNotAllowed";e["IncrementalCopySourceMustBeSnapshot"]="IncrementalCopySourceMustBeSnapshot";e["InfiniteLeaseDurationRequired"]="InfiniteLeaseDurationRequired";e["InvalidBlobOrBlock"]="InvalidBlobOrBlock";e["InvalidBlobTier"]="InvalidBlobTier";e["InvalidBlobType"]="InvalidBlobType";e["InvalidBlockId"]="InvalidBlockId";e["InvalidBlockList"]="InvalidBlockList";e["InvalidOperation"]="InvalidOperation";e["InvalidPageRange"]="InvalidPageRange";e["InvalidSourceBlobType"]="InvalidSourceBlobType";e["InvalidSourceBlobUrl"]="InvalidSourceBlobUrl";e["InvalidVersionForPageBlobOperation"]="InvalidVersionForPageBlobOperation";e["LeaseAlreadyPresent"]="LeaseAlreadyPresent";e["LeaseAlreadyBroken"]="LeaseAlreadyBroken";e["LeaseIdMismatchWithBlobOperation"]="LeaseIdMismatchWithBlobOperation";e["LeaseIdMismatchWithContainerOperation"]="LeaseIdMismatchWithContainerOperation";e["LeaseIdMismatchWithLeaseOperation"]="LeaseIdMismatchWithLeaseOperation";e["LeaseIdMissing"]="LeaseIdMissing";e["LeaseIsBreakingAndCannotBeAcquired"]="LeaseIsBreakingAndCannotBeAcquired";e["LeaseIsBreakingAndCannotBeChanged"]="LeaseIsBreakingAndCannotBeChanged";e["LeaseIsBrokenAndCannotBeRenewed"]="LeaseIsBrokenAndCannotBeRenewed";e["LeaseLost"]="LeaseLost";e["LeaseNotPresentWithBlobOperation"]="LeaseNotPresentWithBlobOperation";e["LeaseNotPresentWithContainerOperation"]="LeaseNotPresentWithContainerOperation";e["LeaseNotPresentWithLeaseOperation"]="LeaseNotPresentWithLeaseOperation";e["MaxBlobSizeConditionNotMet"]="MaxBlobSizeConditionNotMet";e["NoAuthenticationInformation"]="NoAuthenticationInformation";e["NoPendingCopyOperation"]="NoPendingCopyOperation";e["OperationNotAllowedOnIncrementalCopyBlob"]="OperationNotAllowedOnIncrementalCopyBlob";e["PendingCopyOperation"]="PendingCopyOperation";e["PreviousSnapshotCannotBeNewer"]="PreviousSnapshotCannotBeNewer";e["PreviousSnapshotNotFound"]="PreviousSnapshotNotFound";e["PreviousSnapshotOperationNotSupported"]="PreviousSnapshotOperationNotSupported";e["SequenceNumberConditionNotMet"]="SequenceNumberConditionNotMet";e["SequenceNumberIncrementTooLarge"]="SequenceNumberIncrementTooLarge";e["SnapshotCountExceeded"]="SnapshotCountExceeded";e["SnapshotOperationRateExceeded"]="SnapshotOperationRateExceeded";e["SnapshotsPresent"]="SnapshotsPresent";e["SourceConditionNotMet"]="SourceConditionNotMet";e["SystemInUse"]="SystemInUse";e["TargetConditionNotMet"]="TargetConditionNotMet";e["UnauthorizedBlobOverwrite"]="UnauthorizedBlobOverwrite";e["BlobBeingRehydrated"]="BlobBeingRehydrated";e["BlobArchived"]="BlobArchived";e["BlobNotArchived"]="BlobNotArchived";e["AuthorizationSourceIPMismatch"]="AuthorizationSourceIPMismatch";e["AuthorizationProtocolMismatch"]="AuthorizationProtocolMismatch";e["AuthorizationPermissionMismatch"]="AuthorizationPermissionMismatch";e["AuthorizationServiceMismatch"]="AuthorizationServiceMismatch";e["AuthorizationResourceTypeMismatch"]="AuthorizationResourceTypeMismatch";e["BlobAccessTierNotSupportedForAccountType"]="BlobAccessTierNotSupportedForAccountType"})(od||(od={}));const ad={serializedName:"BlobServiceProperties",xmlName:"StorageServiceProperties",type:{name:"Composite",className:"BlobServiceProperties",modelProperties:{blobAnalyticsLogging:{serializedName:"Logging",xmlName:"Logging",type:{name:"Composite",className:"Logging"}},hourMetrics:{serializedName:"HourMetrics",xmlName:"HourMetrics",type:{name:"Composite",className:"Metrics"}},minuteMetrics:{serializedName:"MinuteMetrics",xmlName:"MinuteMetrics",type:{name:"Composite",className:"Metrics"}},cors:{serializedName:"Cors",xmlName:"Cors",xmlIsWrapped:true,xmlElementName:"CorsRule",type:{name:"Sequence",element:{type:{name:"Composite",className:"CorsRule"}}}},defaultServiceVersion:{serializedName:"DefaultServiceVersion",xmlName:"DefaultServiceVersion",type:{name:"String"}},deleteRetentionPolicy:{serializedName:"DeleteRetentionPolicy",xmlName:"DeleteRetentionPolicy",type:{name:"Composite",className:"RetentionPolicy"}},staticWebsite:{serializedName:"StaticWebsite",xmlName:"StaticWebsite",type:{name:"Composite",className:"StaticWebsite"}}}}};const cd={serializedName:"Logging",type:{name:"Composite",className:"Logging",modelProperties:{version:{serializedName:"Version",required:true,xmlName:"Version",type:{name:"String"}},deleteProperty:{serializedName:"Delete",required:true,xmlName:"Delete",type:{name:"Boolean"}},read:{serializedName:"Read",required:true,xmlName:"Read",type:{name:"Boolean"}},write:{serializedName:"Write",required:true,xmlName:"Write",type:{name:"Boolean"}},retentionPolicy:{serializedName:"RetentionPolicy",xmlName:"RetentionPolicy",type:{name:"Composite",className:"RetentionPolicy"}}}}};const ld={serializedName:"RetentionPolicy",type:{name:"Composite",className:"RetentionPolicy",modelProperties:{enabled:{serializedName:"Enabled",required:true,xmlName:"Enabled",type:{name:"Boolean"}},days:{constraints:{InclusiveMinimum:1},serializedName:"Days",xmlName:"Days",type:{name:"Number"}}}}};const Ad={serializedName:"Metrics",type:{name:"Composite",className:"Metrics",modelProperties:{version:{serializedName:"Version",xmlName:"Version",type:{name:"String"}},enabled:{serializedName:"Enabled",required:true,xmlName:"Enabled",type:{name:"Boolean"}},includeAPIs:{serializedName:"IncludeAPIs",xmlName:"IncludeAPIs",type:{name:"Boolean"}},retentionPolicy:{serializedName:"RetentionPolicy",xmlName:"RetentionPolicy",type:{name:"Composite",className:"RetentionPolicy"}}}}};const ud={serializedName:"CorsRule",type:{name:"Composite",className:"CorsRule",modelProperties:{allowedOrigins:{serializedName:"AllowedOrigins",required:true,xmlName:"AllowedOrigins",type:{name:"String"}},allowedMethods:{serializedName:"AllowedMethods",required:true,xmlName:"AllowedMethods",type:{name:"String"}},allowedHeaders:{serializedName:"AllowedHeaders",required:true,xmlName:"AllowedHeaders",type:{name:"String"}},exposedHeaders:{serializedName:"ExposedHeaders",required:true,xmlName:"ExposedHeaders",type:{name:"String"}},maxAgeInSeconds:{constraints:{InclusiveMinimum:0},serializedName:"MaxAgeInSeconds",required:true,xmlName:"MaxAgeInSeconds",type:{name:"Number"}}}}};const dd={serializedName:"StaticWebsite",type:{name:"Composite",className:"StaticWebsite",modelProperties:{enabled:{serializedName:"Enabled",required:true,xmlName:"Enabled",type:{name:"Boolean"}},indexDocument:{serializedName:"IndexDocument",xmlName:"IndexDocument",type:{name:"String"}},errorDocument404Path:{serializedName:"ErrorDocument404Path",xmlName:"ErrorDocument404Path",type:{name:"String"}},defaultIndexDocumentPath:{serializedName:"DefaultIndexDocumentPath",xmlName:"DefaultIndexDocumentPath",type:{name:"String"}}}}};const gd={serializedName:"StorageError",type:{name:"Composite",className:"StorageError",modelProperties:{message:{serializedName:"Message",xmlName:"Message",type:{name:"String"}},copySourceStatusCode:{serializedName:"CopySourceStatusCode",xmlName:"CopySourceStatusCode",type:{name:"Number"}},copySourceErrorCode:{serializedName:"CopySourceErrorCode",xmlName:"CopySourceErrorCode",type:{name:"String"}},copySourceErrorMessage:{serializedName:"CopySourceErrorMessage",xmlName:"CopySourceErrorMessage",type:{name:"String"}},code:{serializedName:"Code",xmlName:"Code",type:{name:"String"}},authenticationErrorDetail:{serializedName:"AuthenticationErrorDetail",xmlName:"AuthenticationErrorDetail",type:{name:"String"}}}}};const pd={serializedName:"BlobServiceStatistics",xmlName:"StorageServiceStats",type:{name:"Composite",className:"BlobServiceStatistics",modelProperties:{geoReplication:{serializedName:"GeoReplication",xmlName:"GeoReplication",type:{name:"Composite",className:"GeoReplication"}}}}};const hd={serializedName:"GeoReplication",type:{name:"Composite",className:"GeoReplication",modelProperties:{status:{serializedName:"Status",required:true,xmlName:"Status",type:{name:"Enum",allowedValues:["live","bootstrap","unavailable"]}},lastSyncOn:{serializedName:"LastSyncTime",required:true,xmlName:"LastSyncTime",type:{name:"DateTimeRfc1123"}}}}};const md={serializedName:"ListContainersSegmentResponse",xmlName:"EnumerationResults",type:{name:"Composite",className:"ListContainersSegmentResponse",modelProperties:{serviceEndpoint:{serializedName:"ServiceEndpoint",required:true,xmlName:"ServiceEndpoint",xmlIsAttribute:true,type:{name:"String"}},prefix:{serializedName:"Prefix",xmlName:"Prefix",type:{name:"String"}},marker:{serializedName:"Marker",xmlName:"Marker",type:{name:"String"}},maxPageSize:{serializedName:"MaxResults",xmlName:"MaxResults",type:{name:"Number"}},containerItems:{serializedName:"ContainerItems",required:true,xmlName:"Containers",xmlIsWrapped:true,xmlElementName:"Container",type:{name:"Sequence",element:{type:{name:"Composite",className:"ContainerItem"}}}},continuationToken:{serializedName:"NextMarker",xmlName:"NextMarker",type:{name:"String"}}}}};const fd={serializedName:"ContainerItem",xmlName:"Container",type:{name:"Composite",className:"ContainerItem",modelProperties:{name:{serializedName:"Name",required:true,xmlName:"Name",type:{name:"String"}},deleted:{serializedName:"Deleted",xmlName:"Deleted",type:{name:"Boolean"}},version:{serializedName:"Version",xmlName:"Version",type:{name:"String"}},properties:{serializedName:"Properties",xmlName:"Properties",type:{name:"Composite",className:"ContainerProperties"}},metadata:{serializedName:"Metadata",xmlName:"Metadata",type:{name:"Dictionary",value:{type:{name:"String"}}}}}}};const Cd={serializedName:"ContainerProperties",type:{name:"Composite",className:"ContainerProperties",modelProperties:{lastModified:{serializedName:"Last-Modified",required:true,xmlName:"Last-Modified",type:{name:"DateTimeRfc1123"}},etag:{serializedName:"Etag",required:true,xmlName:"Etag",type:{name:"String"}},leaseStatus:{serializedName:"LeaseStatus",xmlName:"LeaseStatus",type:{name:"Enum",allowedValues:["locked","unlocked"]}},leaseState:{serializedName:"LeaseState",xmlName:"LeaseState",type:{name:"Enum",allowedValues:["available","leased","expired","breaking","broken"]}},leaseDuration:{serializedName:"LeaseDuration",xmlName:"LeaseDuration",type:{name:"Enum",allowedValues:["infinite","fixed"]}},publicAccess:{serializedName:"PublicAccess",xmlName:"PublicAccess",type:{name:"Enum",allowedValues:["container","blob"]}},hasImmutabilityPolicy:{serializedName:"HasImmutabilityPolicy",xmlName:"HasImmutabilityPolicy",type:{name:"Boolean"}},hasLegalHold:{serializedName:"HasLegalHold",xmlName:"HasLegalHold",type:{name:"Boolean"}},defaultEncryptionScope:{serializedName:"DefaultEncryptionScope",xmlName:"DefaultEncryptionScope",type:{name:"String"}},preventEncryptionScopeOverride:{serializedName:"DenyEncryptionScopeOverride",xmlName:"DenyEncryptionScopeOverride",type:{name:"Boolean"}},deletedOn:{serializedName:"DeletedTime",xmlName:"DeletedTime",type:{name:"DateTimeRfc1123"}},remainingRetentionDays:{serializedName:"RemainingRetentionDays",xmlName:"RemainingRetentionDays",type:{name:"Number"}},isImmutableStorageWithVersioningEnabled:{serializedName:"ImmutableStorageWithVersioningEnabled",xmlName:"ImmutableStorageWithVersioningEnabled",type:{name:"Boolean"}}}}};const yd={serializedName:"KeyInfo",type:{name:"Composite",className:"KeyInfo",modelProperties:{startsOn:{serializedName:"Start",required:true,xmlName:"Start",type:{name:"String"}},expiresOn:{serializedName:"Expiry",required:true,xmlName:"Expiry",type:{name:"String"}},delegatedUserTid:{serializedName:"DelegatedUserTid",xmlName:"DelegatedUserTid",type:{name:"String"}}}}};const Ed={serializedName:"UserDelegationKey",type:{name:"Composite",className:"UserDelegationKey",modelProperties:{signedObjectId:{serializedName:"SignedOid",required:true,xmlName:"SignedOid",type:{name:"String"}},signedTenantId:{serializedName:"SignedTid",required:true,xmlName:"SignedTid",type:{name:"String"}},signedStartsOn:{serializedName:"SignedStart",required:true,xmlName:"SignedStart",type:{name:"String"}},signedExpiresOn:{serializedName:"SignedExpiry",required:true,xmlName:"SignedExpiry",type:{name:"String"}},signedService:{serializedName:"SignedService",required:true,xmlName:"SignedService",type:{name:"String"}},signedVersion:{serializedName:"SignedVersion",required:true,xmlName:"SignedVersion",type:{name:"String"}},signedDelegatedUserTenantId:{serializedName:"SignedDelegatedUserTid",xmlName:"SignedDelegatedUserTid",type:{name:"String"}},value:{serializedName:"Value",required:true,xmlName:"Value",type:{name:"String"}}}}};const Id={serializedName:"FilterBlobSegment",xmlName:"EnumerationResults",type:{name:"Composite",className:"FilterBlobSegment",modelProperties:{serviceEndpoint:{serializedName:"ServiceEndpoint",required:true,xmlName:"ServiceEndpoint",xmlIsAttribute:true,type:{name:"String"}},where:{serializedName:"Where",required:true,xmlName:"Where",type:{name:"String"}},blobs:{serializedName:"Blobs",required:true,xmlName:"Blobs",xmlIsWrapped:true,xmlElementName:"Blob",type:{name:"Sequence",element:{type:{name:"Composite",className:"FilterBlobItem"}}}},continuationToken:{serializedName:"NextMarker",xmlName:"NextMarker",type:{name:"String"}}}}};const Bd={serializedName:"FilterBlobItem",xmlName:"Blob",type:{name:"Composite",className:"FilterBlobItem",modelProperties:{name:{serializedName:"Name",required:true,xmlName:"Name",type:{name:"String"}},containerName:{serializedName:"ContainerName",required:true,xmlName:"ContainerName",type:{name:"String"}},tags:{serializedName:"Tags",xmlName:"Tags",type:{name:"Composite",className:"BlobTags"}}}}};const Qd={serializedName:"BlobTags",xmlName:"Tags",type:{name:"Composite",className:"BlobTags",modelProperties:{blobTagSet:{serializedName:"BlobTagSet",required:true,xmlName:"TagSet",xmlIsWrapped:true,xmlElementName:"Tag",type:{name:"Sequence",element:{type:{name:"Composite",className:"BlobTag"}}}}}}};const bd={serializedName:"BlobTag",xmlName:"Tag",type:{name:"Composite",className:"BlobTag",modelProperties:{key:{serializedName:"Key",required:true,xmlName:"Key",type:{name:"String"}},value:{serializedName:"Value",required:true,xmlName:"Value",type:{name:"String"}}}}};const Sd={serializedName:"SignedIdentifier",xmlName:"SignedIdentifier",type:{name:"Composite",className:"SignedIdentifier",modelProperties:{id:{serializedName:"Id",required:true,xmlName:"Id",type:{name:"String"}},accessPolicy:{serializedName:"AccessPolicy",xmlName:"AccessPolicy",type:{name:"Composite",className:"AccessPolicy"}}}}};const wd={serializedName:"AccessPolicy",type:{name:"Composite",className:"AccessPolicy",modelProperties:{startsOn:{serializedName:"Start",xmlName:"Start",type:{name:"String"}},expiresOn:{serializedName:"Expiry",xmlName:"Expiry",type:{name:"String"}},permissions:{serializedName:"Permission",xmlName:"Permission",type:{name:"String"}}}}};const Dd={serializedName:"ListBlobsFlatSegmentResponse",xmlName:"EnumerationResults",type:{name:"Composite",className:"ListBlobsFlatSegmentResponse",modelProperties:{serviceEndpoint:{serializedName:"ServiceEndpoint",required:true,xmlName:"ServiceEndpoint",xmlIsAttribute:true,type:{name:"String"}},containerName:{serializedName:"ContainerName",required:true,xmlName:"ContainerName",xmlIsAttribute:true,type:{name:"String"}},prefix:{serializedName:"Prefix",xmlName:"Prefix",type:{name:"String"}},marker:{serializedName:"Marker",xmlName:"Marker",type:{name:"String"}},maxPageSize:{serializedName:"MaxResults",xmlName:"MaxResults",type:{name:"Number"}},segment:{serializedName:"Segment",xmlName:"Blobs",type:{name:"Composite",className:"BlobFlatListSegment"}},continuationToken:{serializedName:"NextMarker",xmlName:"NextMarker",type:{name:"String"}}}}};const Nd={serializedName:"BlobFlatListSegment",xmlName:"Blobs",type:{name:"Composite",className:"BlobFlatListSegment",modelProperties:{blobItems:{serializedName:"BlobItems",required:true,xmlName:"BlobItems",xmlElementName:"Blob",type:{name:"Sequence",element:{type:{name:"Composite",className:"BlobItemInternal"}}}}}}};const xd={serializedName:"BlobItemInternal",xmlName:"Blob",type:{name:"Composite",className:"BlobItemInternal",modelProperties:{name:{serializedName:"Name",xmlName:"Name",type:{name:"Composite",className:"BlobName"}},deleted:{serializedName:"Deleted",required:true,xmlName:"Deleted",type:{name:"Boolean"}},snapshot:{serializedName:"Snapshot",required:true,xmlName:"Snapshot",type:{name:"String"}},versionId:{serializedName:"VersionId",xmlName:"VersionId",type:{name:"String"}},isCurrentVersion:{serializedName:"IsCurrentVersion",xmlName:"IsCurrentVersion",type:{name:"Boolean"}},properties:{serializedName:"Properties",xmlName:"Properties",type:{name:"Composite",className:"BlobPropertiesInternal"}},metadata:{serializedName:"Metadata",xmlName:"Metadata",type:{name:"Dictionary",value:{type:{name:"String"}}}},blobTags:{serializedName:"BlobTags",xmlName:"Tags",type:{name:"Composite",className:"BlobTags"}},objectReplicationMetadata:{serializedName:"ObjectReplicationMetadata",xmlName:"OrMetadata",type:{name:"Dictionary",value:{type:{name:"String"}}}},hasVersionsOnly:{serializedName:"HasVersionsOnly",xmlName:"HasVersionsOnly",type:{name:"Boolean"}}}}};const Rd={serializedName:"BlobName",type:{name:"Composite",className:"BlobName",modelProperties:{encoded:{serializedName:"Encoded",xmlName:"Encoded",xmlIsAttribute:true,type:{name:"Boolean"}},content:{serializedName:"content",xmlName:"content",xmlIsMsText:true,type:{name:"String"}}}}};const vd={serializedName:"BlobPropertiesInternal",xmlName:"Properties",type:{name:"Composite",className:"BlobPropertiesInternal",modelProperties:{createdOn:{serializedName:"Creation-Time",xmlName:"Creation-Time",type:{name:"DateTimeRfc1123"}},lastModified:{serializedName:"Last-Modified",required:true,xmlName:"Last-Modified",type:{name:"DateTimeRfc1123"}},etag:{serializedName:"Etag",required:true,xmlName:"Etag",type:{name:"String"}},contentLength:{serializedName:"Content-Length",xmlName:"Content-Length",type:{name:"Number"}},contentType:{serializedName:"Content-Type",xmlName:"Content-Type",type:{name:"String"}},contentEncoding:{serializedName:"Content-Encoding",xmlName:"Content-Encoding",type:{name:"String"}},contentLanguage:{serializedName:"Content-Language",xmlName:"Content-Language",type:{name:"String"}},contentMD5:{serializedName:"Content-MD5",xmlName:"Content-MD5",type:{name:"ByteArray"}},contentDisposition:{serializedName:"Content-Disposition",xmlName:"Content-Disposition",type:{name:"String"}},cacheControl:{serializedName:"Cache-Control",xmlName:"Cache-Control",type:{name:"String"}},blobSequenceNumber:{serializedName:"x-ms-blob-sequence-number",xmlName:"x-ms-blob-sequence-number",type:{name:"Number"}},blobType:{serializedName:"BlobType",xmlName:"BlobType",type:{name:"Enum",allowedValues:["BlockBlob","PageBlob","AppendBlob"]}},leaseStatus:{serializedName:"LeaseStatus",xmlName:"LeaseStatus",type:{name:"Enum",allowedValues:["locked","unlocked"]}},leaseState:{serializedName:"LeaseState",xmlName:"LeaseState",type:{name:"Enum",allowedValues:["available","leased","expired","breaking","broken"]}},leaseDuration:{serializedName:"LeaseDuration",xmlName:"LeaseDuration",type:{name:"Enum",allowedValues:["infinite","fixed"]}},copyId:{serializedName:"CopyId",xmlName:"CopyId",type:{name:"String"}},copyStatus:{serializedName:"CopyStatus",xmlName:"CopyStatus",type:{name:"Enum",allowedValues:["pending","success","aborted","failed"]}},copySource:{serializedName:"CopySource",xmlName:"CopySource",type:{name:"String"}},copyProgress:{serializedName:"CopyProgress",xmlName:"CopyProgress",type:{name:"String"}},copyCompletedOn:{serializedName:"CopyCompletionTime",xmlName:"CopyCompletionTime",type:{name:"DateTimeRfc1123"}},copyStatusDescription:{serializedName:"CopyStatusDescription",xmlName:"CopyStatusDescription",type:{name:"String"}},serverEncrypted:{serializedName:"ServerEncrypted",xmlName:"ServerEncrypted",type:{name:"Boolean"}},incrementalCopy:{serializedName:"IncrementalCopy",xmlName:"IncrementalCopy",type:{name:"Boolean"}},destinationSnapshot:{serializedName:"DestinationSnapshot",xmlName:"DestinationSnapshot",type:{name:"String"}},deletedOn:{serializedName:"DeletedTime",xmlName:"DeletedTime",type:{name:"DateTimeRfc1123"}},remainingRetentionDays:{serializedName:"RemainingRetentionDays",xmlName:"RemainingRetentionDays",type:{name:"Number"}},accessTier:{serializedName:"AccessTier",xmlName:"AccessTier",type:{name:"Enum",allowedValues:["P4","P6","P10","P15","P20","P30","P40","P50","P60","P70","P80","Hot","Cool","Archive","Cold","Smart"]}},accessTierInferred:{serializedName:"AccessTierInferred",xmlName:"AccessTierInferred",type:{name:"Boolean"}},archiveStatus:{serializedName:"ArchiveStatus",xmlName:"ArchiveStatus",type:{name:"Enum",allowedValues:["rehydrate-pending-to-hot","rehydrate-pending-to-cool","rehydrate-pending-to-cold","rehydrate-pending-to-smart"]}},smartAccessTier:{serializedName:"SmartAccessTier",xmlName:"SmartAccessTier",type:{name:"Enum",allowedValues:["P4","P6","P10","P15","P20","P30","P40","P50","P60","P70","P80","Hot","Cool","Archive","Cold","Smart"]}},customerProvidedKeySha256:{serializedName:"CustomerProvidedKeySha256",xmlName:"CustomerProvidedKeySha256",type:{name:"String"}},encryptionScope:{serializedName:"EncryptionScope",xmlName:"EncryptionScope",type:{name:"String"}},accessTierChangedOn:{serializedName:"AccessTierChangeTime",xmlName:"AccessTierChangeTime",type:{name:"DateTimeRfc1123"}},tagCount:{serializedName:"TagCount",xmlName:"TagCount",type:{name:"Number"}},expiresOn:{serializedName:"Expiry-Time",xmlName:"Expiry-Time",type:{name:"DateTimeRfc1123"}},isSealed:{serializedName:"Sealed",xmlName:"Sealed",type:{name:"Boolean"}},rehydratePriority:{serializedName:"RehydratePriority",xmlName:"RehydratePriority",type:{name:"Enum",allowedValues:["High","Standard"]}},lastAccessedOn:{serializedName:"LastAccessTime",xmlName:"LastAccessTime",type:{name:"DateTimeRfc1123"}},immutabilityPolicyExpiresOn:{serializedName:"ImmutabilityPolicyUntilDate",xmlName:"ImmutabilityPolicyUntilDate",type:{name:"DateTimeRfc1123"}},immutabilityPolicyMode:{serializedName:"ImmutabilityPolicyMode",xmlName:"ImmutabilityPolicyMode",type:{name:"Enum",allowedValues:["Mutable","Unlocked","Locked"]}},legalHold:{serializedName:"LegalHold",xmlName:"LegalHold",type:{name:"Boolean"}}}}};const kd={serializedName:"ListBlobsHierarchySegmentResponse",xmlName:"EnumerationResults",type:{name:"Composite",className:"ListBlobsHierarchySegmentResponse",modelProperties:{serviceEndpoint:{serializedName:"ServiceEndpoint",required:true,xmlName:"ServiceEndpoint",xmlIsAttribute:true,type:{name:"String"}},containerName:{serializedName:"ContainerName",required:true,xmlName:"ContainerName",xmlIsAttribute:true,type:{name:"String"}},prefix:{serializedName:"Prefix",xmlName:"Prefix",type:{name:"String"}},marker:{serializedName:"Marker",xmlName:"Marker",type:{name:"String"}},maxPageSize:{serializedName:"MaxResults",xmlName:"MaxResults",type:{name:"Number"}},delimiter:{serializedName:"Delimiter",xmlName:"Delimiter",type:{name:"String"}},segment:{serializedName:"Segment",xmlName:"Blobs",type:{name:"Composite",className:"BlobHierarchyListSegment"}},continuationToken:{serializedName:"NextMarker",xmlName:"NextMarker",type:{name:"String"}}}}};const Fd={serializedName:"BlobHierarchyListSegment",xmlName:"Blobs",type:{name:"Composite",className:"BlobHierarchyListSegment",modelProperties:{blobPrefixes:{serializedName:"BlobPrefixes",xmlName:"BlobPrefixes",xmlElementName:"BlobPrefix",type:{name:"Sequence",element:{type:{name:"Composite",className:"BlobPrefix"}}}},blobItems:{serializedName:"BlobItems",required:true,xmlName:"BlobItems",xmlElementName:"Blob",type:{name:"Sequence",element:{type:{name:"Composite",className:"BlobItemInternal"}}}}}}};const Td={serializedName:"BlobPrefix",type:{name:"Composite",className:"BlobPrefix",modelProperties:{name:{serializedName:"Name",xmlName:"Name",type:{name:"Composite",className:"BlobName"}}}}};const Md={serializedName:"BlockLookupList",xmlName:"BlockList",type:{name:"Composite",className:"BlockLookupList",modelProperties:{committed:{serializedName:"Committed",xmlName:"Committed",xmlElementName:"Committed",type:{name:"Sequence",element:{type:{name:"String"}}}},uncommitted:{serializedName:"Uncommitted",xmlName:"Uncommitted",xmlElementName:"Uncommitted",type:{name:"Sequence",element:{type:{name:"String"}}}},latest:{serializedName:"Latest",xmlName:"Latest",xmlElementName:"Latest",type:{name:"Sequence",element:{type:{name:"String"}}}}}}};const Pd={serializedName:"BlockList",type:{name:"Composite",className:"BlockList",modelProperties:{committedBlocks:{serializedName:"CommittedBlocks",xmlName:"CommittedBlocks",xmlIsWrapped:true,xmlElementName:"Block",type:{name:"Sequence",element:{type:{name:"Composite",className:"Block"}}}},uncommittedBlocks:{serializedName:"UncommittedBlocks",xmlName:"UncommittedBlocks",xmlIsWrapped:true,xmlElementName:"Block",type:{name:"Sequence",element:{type:{name:"Composite",className:"Block"}}}}}}};const Ld={serializedName:"Block",type:{name:"Composite",className:"Block",modelProperties:{name:{serializedName:"Name",required:true,xmlName:"Name",type:{name:"String"}},size:{serializedName:"Size",required:true,xmlName:"Size",type:{name:"Number"}}}}};const Ud={serializedName:"PageList",type:{name:"Composite",className:"PageList",modelProperties:{pageRange:{serializedName:"PageRange",xmlName:"PageRange",xmlElementName:"PageRange",type:{name:"Sequence",element:{type:{name:"Composite",className:"PageRange"}}}},clearRange:{serializedName:"ClearRange",xmlName:"ClearRange",xmlElementName:"ClearRange",type:{name:"Sequence",element:{type:{name:"Composite",className:"ClearRange"}}}},continuationToken:{serializedName:"NextMarker",xmlName:"NextMarker",type:{name:"String"}}}}};const Od={serializedName:"PageRange",xmlName:"PageRange",type:{name:"Composite",className:"PageRange",modelProperties:{start:{serializedName:"Start",required:true,xmlName:"Start",type:{name:"Number"}},end:{serializedName:"End",required:true,xmlName:"End",type:{name:"Number"}}}}};const Hd={serializedName:"ClearRange",xmlName:"ClearRange",type:{name:"Composite",className:"ClearRange",modelProperties:{start:{serializedName:"Start",required:true,xmlName:"Start",type:{name:"Number"}},end:{serializedName:"End",required:true,xmlName:"End",type:{name:"Number"}}}}};const _d={serializedName:"QueryRequest",xmlName:"QueryRequest",type:{name:"Composite",className:"QueryRequest",modelProperties:{queryType:{serializedName:"QueryType",required:true,xmlName:"QueryType",type:{name:"String"}},expression:{serializedName:"Expression",required:true,xmlName:"Expression",type:{name:"String"}},inputSerialization:{serializedName:"InputSerialization",xmlName:"InputSerialization",type:{name:"Composite",className:"QuerySerialization"}},outputSerialization:{serializedName:"OutputSerialization",xmlName:"OutputSerialization",type:{name:"Composite",className:"QuerySerialization"}}}}};const qd={serializedName:"QuerySerialization",type:{name:"Composite",className:"QuerySerialization",modelProperties:{format:{serializedName:"Format",xmlName:"Format",type:{name:"Composite",className:"QueryFormat"}}}}};const Gd={serializedName:"QueryFormat",type:{name:"Composite",className:"QueryFormat",modelProperties:{type:{serializedName:"Type",required:true,xmlName:"Type",type:{name:"Enum",allowedValues:["delimited","json","arrow","parquet"]}},delimitedTextConfiguration:{serializedName:"DelimitedTextConfiguration",xmlName:"DelimitedTextConfiguration",type:{name:"Composite",className:"DelimitedTextConfiguration"}},jsonTextConfiguration:{serializedName:"JsonTextConfiguration",xmlName:"JsonTextConfiguration",type:{name:"Composite",className:"JsonTextConfiguration"}},arrowConfiguration:{serializedName:"ArrowConfiguration",xmlName:"ArrowConfiguration",type:{name:"Composite",className:"ArrowConfiguration"}},parquetTextConfiguration:{serializedName:"ParquetTextConfiguration",xmlName:"ParquetTextConfiguration",type:{name:"Dictionary",value:{type:{name:"any"}}}}}}};const zd={serializedName:"DelimitedTextConfiguration",xmlName:"DelimitedTextConfiguration",type:{name:"Composite",className:"DelimitedTextConfiguration",modelProperties:{columnSeparator:{serializedName:"ColumnSeparator",xmlName:"ColumnSeparator",type:{name:"String"}},fieldQuote:{serializedName:"FieldQuote",xmlName:"FieldQuote",type:{name:"String"}},recordSeparator:{serializedName:"RecordSeparator",xmlName:"RecordSeparator",type:{name:"String"}},escapeChar:{serializedName:"EscapeChar",xmlName:"EscapeChar",type:{name:"String"}},headersPresent:{serializedName:"HeadersPresent",xmlName:"HasHeaders",type:{name:"Boolean"}}}}};const Yd={serializedName:"JsonTextConfiguration",xmlName:"JsonTextConfiguration",type:{name:"Composite",className:"JsonTextConfiguration",modelProperties:{recordSeparator:{serializedName:"RecordSeparator",xmlName:"RecordSeparator",type:{name:"String"}}}}};const Vd={serializedName:"ArrowConfiguration",xmlName:"ArrowConfiguration",type:{name:"Composite",className:"ArrowConfiguration",modelProperties:{schema:{serializedName:"Schema",required:true,xmlName:"Schema",xmlIsWrapped:true,xmlElementName:"Field",type:{name:"Sequence",element:{type:{name:"Composite",className:"ArrowField"}}}}}}};const Jd={serializedName:"ArrowField",xmlName:"Field",type:{name:"Composite",className:"ArrowField",modelProperties:{type:{serializedName:"Type",required:true,xmlName:"Type",type:{name:"String"}},name:{serializedName:"Name",xmlName:"Name",type:{name:"String"}},precision:{serializedName:"Precision",xmlName:"Precision",type:{name:"Number"}},scale:{serializedName:"Scale",xmlName:"Scale",type:{name:"Number"}}}}};const Wd={serializedName:"Service_setPropertiesHeaders",type:{name:"Composite",className:"ServiceSetPropertiesHeaders",modelProperties:{clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};const jd={serializedName:"Service_setPropertiesExceptionHeaders",type:{name:"Composite",className:"ServiceSetPropertiesExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};const Kd={serializedName:"Service_getPropertiesHeaders",type:{name:"Composite",className:"ServiceGetPropertiesHeaders",modelProperties:{clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};const $d={serializedName:"Service_getPropertiesExceptionHeaders",type:{name:"Composite",className:"ServiceGetPropertiesExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};const Xd={serializedName:"Service_getStatisticsHeaders",type:{name:"Composite",className:"ServiceGetStatisticsHeaders",modelProperties:{clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};const Zd={serializedName:"Service_getStatisticsExceptionHeaders",type:{name:"Composite",className:"ServiceGetStatisticsExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};const eg={serializedName:"Service_listContainersSegmentHeaders",type:{name:"Composite",className:"ServiceListContainersSegmentHeaders",modelProperties:{clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};const tg={serializedName:"Service_listContainersSegmentExceptionHeaders",type:{name:"Composite",className:"ServiceListContainersSegmentExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};const rg={serializedName:"Service_getUserDelegationKeyHeaders",type:{name:"Composite",className:"ServiceGetUserDelegationKeyHeaders",modelProperties:{clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};const ng={serializedName:"Service_getUserDelegationKeyExceptionHeaders",type:{name:"Composite",className:"ServiceGetUserDelegationKeyExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};const sg={serializedName:"Service_getAccountInfoHeaders",type:{name:"Composite",className:"ServiceGetAccountInfoHeaders",modelProperties:{clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},skuName:{serializedName:"x-ms-sku-name",xmlName:"x-ms-sku-name",type:{name:"Enum",allowedValues:["Standard_LRS","Standard_GRS","Standard_RAGRS","Standard_ZRS","Premium_LRS","Standard_GZRS","Premium_ZRS","Standard_RAGZRS"]}},accountKind:{serializedName:"x-ms-account-kind",xmlName:"x-ms-account-kind",type:{name:"Enum",allowedValues:["Storage","BlobStorage","StorageV2","FileStorage","BlockBlobStorage"]}},isHierarchicalNamespaceEnabled:{serializedName:"x-ms-is-hns-enabled",xmlName:"x-ms-is-hns-enabled",type:{name:"Boolean"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};const ig={serializedName:"Service_getAccountInfoExceptionHeaders",type:{name:"Composite",className:"ServiceGetAccountInfoExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};const og={serializedName:"Service_submitBatchHeaders",type:{name:"Composite",className:"ServiceSubmitBatchHeaders",modelProperties:{contentType:{serializedName:"content-type",xmlName:"content-type",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};const ag={serializedName:"Service_submitBatchExceptionHeaders",type:{name:"Composite",className:"ServiceSubmitBatchExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};const cg={serializedName:"Service_filterBlobsHeaders",type:{name:"Composite",className:"ServiceFilterBlobsHeaders",modelProperties:{clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};const lg={serializedName:"Service_filterBlobsExceptionHeaders",type:{name:"Composite",className:"ServiceFilterBlobsExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};const Ag={serializedName:"Container_createHeaders",type:{name:"Composite",className:"ContainerCreateHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};const ug={serializedName:"Container_createExceptionHeaders",type:{name:"Composite",className:"ContainerCreateExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};const dg={serializedName:"Container_getPropertiesHeaders",type:{name:"Composite",className:"ContainerGetPropertiesHeaders",modelProperties:{metadata:{serializedName:"x-ms-meta",headerCollectionPrefix:"x-ms-meta-",xmlName:"x-ms-meta",type:{name:"Dictionary",value:{type:{name:"String"}}}},etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},leaseDuration:{serializedName:"x-ms-lease-duration",xmlName:"x-ms-lease-duration",type:{name:"Enum",allowedValues:["infinite","fixed"]}},leaseState:{serializedName:"x-ms-lease-state",xmlName:"x-ms-lease-state",type:{name:"Enum",allowedValues:["available","leased","expired","breaking","broken"]}},leaseStatus:{serializedName:"x-ms-lease-status",xmlName:"x-ms-lease-status",type:{name:"Enum",allowedValues:["locked","unlocked"]}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},blobPublicAccess:{serializedName:"x-ms-blob-public-access",xmlName:"x-ms-blob-public-access",type:{name:"Enum",allowedValues:["container","blob"]}},hasImmutabilityPolicy:{serializedName:"x-ms-has-immutability-policy",xmlName:"x-ms-has-immutability-policy",type:{name:"Boolean"}},hasLegalHold:{serializedName:"x-ms-has-legal-hold",xmlName:"x-ms-has-legal-hold",type:{name:"Boolean"}},defaultEncryptionScope:{serializedName:"x-ms-default-encryption-scope",xmlName:"x-ms-default-encryption-scope",type:{name:"String"}},denyEncryptionScopeOverride:{serializedName:"x-ms-deny-encryption-scope-override",xmlName:"x-ms-deny-encryption-scope-override",type:{name:"Boolean"}},isImmutableStorageWithVersioningEnabled:{serializedName:"x-ms-immutable-storage-with-versioning-enabled",xmlName:"x-ms-immutable-storage-with-versioning-enabled",type:{name:"Boolean"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};const gg={serializedName:"Container_getPropertiesExceptionHeaders",type:{name:"Composite",className:"ContainerGetPropertiesExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};const pg={serializedName:"Container_deleteHeaders",type:{name:"Composite",className:"ContainerDeleteHeaders",modelProperties:{clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};const hg={serializedName:"Container_deleteExceptionHeaders",type:{name:"Composite",className:"ContainerDeleteExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};const mg={serializedName:"Container_setMetadataHeaders",type:{name:"Composite",className:"ContainerSetMetadataHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};const fg={serializedName:"Container_setMetadataExceptionHeaders",type:{name:"Composite",className:"ContainerSetMetadataExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};const Cg={serializedName:"Container_getAccessPolicyHeaders",type:{name:"Composite",className:"ContainerGetAccessPolicyHeaders",modelProperties:{blobPublicAccess:{serializedName:"x-ms-blob-public-access",xmlName:"x-ms-blob-public-access",type:{name:"Enum",allowedValues:["container","blob"]}},etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};const yg={serializedName:"Container_getAccessPolicyExceptionHeaders",type:{name:"Composite",className:"ContainerGetAccessPolicyExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};const Eg={serializedName:"Container_setAccessPolicyHeaders",type:{name:"Composite",className:"ContainerSetAccessPolicyHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};const Ig={serializedName:"Container_setAccessPolicyExceptionHeaders",type:{name:"Composite",className:"ContainerSetAccessPolicyExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};const Bg={serializedName:"Container_restoreHeaders",type:{name:"Composite",className:"ContainerRestoreHeaders",modelProperties:{clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};const Qg={serializedName:"Container_restoreExceptionHeaders",type:{name:"Composite",className:"ContainerRestoreExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};const bg={serializedName:"Container_renameHeaders",type:{name:"Composite",className:"ContainerRenameHeaders",modelProperties:{clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};const Sg={serializedName:"Container_renameExceptionHeaders",type:{name:"Composite",className:"ContainerRenameExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};const wg={serializedName:"Container_submitBatchHeaders",type:{name:"Composite",className:"ContainerSubmitBatchHeaders",modelProperties:{contentType:{serializedName:"content-type",xmlName:"content-type",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}}}}};const Dg={serializedName:"Container_submitBatchExceptionHeaders",type:{name:"Composite",className:"ContainerSubmitBatchExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};const Ng={serializedName:"Container_filterBlobsHeaders",type:{name:"Composite",className:"ContainerFilterBlobsHeaders",modelProperties:{clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}}}}};const xg={serializedName:"Container_filterBlobsExceptionHeaders",type:{name:"Composite",className:"ContainerFilterBlobsExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};const Rg={serializedName:"Container_acquireLeaseHeaders",type:{name:"Composite",className:"ContainerAcquireLeaseHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},leaseId:{serializedName:"x-ms-lease-id",xmlName:"x-ms-lease-id",type:{name:"String"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}}}}};const vg={serializedName:"Container_acquireLeaseExceptionHeaders",type:{name:"Composite",className:"ContainerAcquireLeaseExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};const kg={serializedName:"Container_releaseLeaseHeaders",type:{name:"Composite",className:"ContainerReleaseLeaseHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}}}}};const Fg={serializedName:"Container_releaseLeaseExceptionHeaders",type:{name:"Composite",className:"ContainerReleaseLeaseExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};const Tg={serializedName:"Container_renewLeaseHeaders",type:{name:"Composite",className:"ContainerRenewLeaseHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},leaseId:{serializedName:"x-ms-lease-id",xmlName:"x-ms-lease-id",type:{name:"String"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}}}}};const Mg={serializedName:"Container_renewLeaseExceptionHeaders",type:{name:"Composite",className:"ContainerRenewLeaseExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};const Pg={serializedName:"Container_breakLeaseHeaders",type:{name:"Composite",className:"ContainerBreakLeaseHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},leaseTime:{serializedName:"x-ms-lease-time",xmlName:"x-ms-lease-time",type:{name:"Number"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}}}}};const Lg={serializedName:"Container_breakLeaseExceptionHeaders",type:{name:"Composite",className:"ContainerBreakLeaseExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};const Ug={serializedName:"Container_changeLeaseHeaders",type:{name:"Composite",className:"ContainerChangeLeaseHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},leaseId:{serializedName:"x-ms-lease-id",xmlName:"x-ms-lease-id",type:{name:"String"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}}}}};const Og={serializedName:"Container_changeLeaseExceptionHeaders",type:{name:"Composite",className:"ContainerChangeLeaseExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};const Hg={serializedName:"Container_listBlobFlatSegmentHeaders",type:{name:"Composite",className:"ContainerListBlobFlatSegmentHeaders",modelProperties:{contentType:{serializedName:"content-type",xmlName:"content-type",type:{name:"String"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};const _g={serializedName:"Container_listBlobFlatSegmentExceptionHeaders",type:{name:"Composite",className:"ContainerListBlobFlatSegmentExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};const qg={serializedName:"Container_listBlobHierarchySegmentHeaders",type:{name:"Composite",className:"ContainerListBlobHierarchySegmentHeaders",modelProperties:{contentType:{serializedName:"content-type",xmlName:"content-type",type:{name:"String"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};const Gg={serializedName:"Container_listBlobHierarchySegmentExceptionHeaders",type:{name:"Composite",className:"ContainerListBlobHierarchySegmentExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};const zg={serializedName:"Container_getAccountInfoHeaders",type:{name:"Composite",className:"ContainerGetAccountInfoHeaders",modelProperties:{clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},skuName:{serializedName:"x-ms-sku-name",xmlName:"x-ms-sku-name",type:{name:"Enum",allowedValues:["Standard_LRS","Standard_GRS","Standard_RAGRS","Standard_ZRS","Premium_LRS","Standard_GZRS","Premium_ZRS","Standard_RAGZRS"]}},accountKind:{serializedName:"x-ms-account-kind",xmlName:"x-ms-account-kind",type:{name:"Enum",allowedValues:["Storage","BlobStorage","StorageV2","FileStorage","BlockBlobStorage"]}},isHierarchicalNamespaceEnabled:{serializedName:"x-ms-is-hns-enabled",xmlName:"x-ms-is-hns-enabled",type:{name:"Boolean"}}}}};const Yg={serializedName:"Container_getAccountInfoExceptionHeaders",type:{name:"Composite",className:"ContainerGetAccountInfoExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};const Vg={serializedName:"Blob_downloadHeaders",type:{name:"Composite",className:"BlobDownloadHeaders",modelProperties:{lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},createdOn:{serializedName:"x-ms-creation-time",xmlName:"x-ms-creation-time",type:{name:"DateTimeRfc1123"}},metadata:{serializedName:"x-ms-meta",headerCollectionPrefix:"x-ms-meta-",xmlName:"x-ms-meta",type:{name:"Dictionary",value:{type:{name:"String"}}}},objectReplicationPolicyId:{serializedName:"x-ms-or-policy-id",xmlName:"x-ms-or-policy-id",type:{name:"String"}},objectReplicationRules:{serializedName:"x-ms-or",headerCollectionPrefix:"x-ms-or-",xmlName:"x-ms-or",type:{name:"Dictionary",value:{type:{name:"String"}}}},contentLength:{serializedName:"content-length",xmlName:"content-length",type:{name:"Number"}},contentType:{serializedName:"content-type",xmlName:"content-type",type:{name:"String"}},contentRange:{serializedName:"content-range",xmlName:"content-range",type:{name:"String"}},etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},contentMD5:{serializedName:"content-md5",xmlName:"content-md5",type:{name:"ByteArray"}},contentEncoding:{serializedName:"content-encoding",xmlName:"content-encoding",type:{name:"String"}},cacheControl:{serializedName:"cache-control",xmlName:"cache-control",type:{name:"String"}},contentDisposition:{serializedName:"content-disposition",xmlName:"content-disposition",type:{name:"String"}},contentLanguage:{serializedName:"content-language",xmlName:"content-language",type:{name:"String"}},blobSequenceNumber:{serializedName:"x-ms-blob-sequence-number",xmlName:"x-ms-blob-sequence-number",type:{name:"Number"}},blobType:{serializedName:"x-ms-blob-type",xmlName:"x-ms-blob-type",type:{name:"Enum",allowedValues:["BlockBlob","PageBlob","AppendBlob"]}},copyCompletedOn:{serializedName:"x-ms-copy-completion-time",xmlName:"x-ms-copy-completion-time",type:{name:"DateTimeRfc1123"}},copyStatusDescription:{serializedName:"x-ms-copy-status-description",xmlName:"x-ms-copy-status-description",type:{name:"String"}},copyId:{serializedName:"x-ms-copy-id",xmlName:"x-ms-copy-id",type:{name:"String"}},copyProgress:{serializedName:"x-ms-copy-progress",xmlName:"x-ms-copy-progress",type:{name:"String"}},copySource:{serializedName:"x-ms-copy-source",xmlName:"x-ms-copy-source",type:{name:"String"}},copyStatus:{serializedName:"x-ms-copy-status",xmlName:"x-ms-copy-status",type:{name:"Enum",allowedValues:["pending","success","aborted","failed"]}},leaseDuration:{serializedName:"x-ms-lease-duration",xmlName:"x-ms-lease-duration",type:{name:"Enum",allowedValues:["infinite","fixed"]}},leaseState:{serializedName:"x-ms-lease-state",xmlName:"x-ms-lease-state",type:{name:"Enum",allowedValues:["available","leased","expired","breaking","broken"]}},leaseStatus:{serializedName:"x-ms-lease-status",xmlName:"x-ms-lease-status",type:{name:"Enum",allowedValues:["locked","unlocked"]}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},versionId:{serializedName:"x-ms-version-id",xmlName:"x-ms-version-id",type:{name:"String"}},isCurrentVersion:{serializedName:"x-ms-is-current-version",xmlName:"x-ms-is-current-version",type:{name:"Boolean"}},acceptRanges:{serializedName:"accept-ranges",xmlName:"accept-ranges",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},blobCommittedBlockCount:{serializedName:"x-ms-blob-committed-block-count",xmlName:"x-ms-blob-committed-block-count",type:{name:"Number"}},isServerEncrypted:{serializedName:"x-ms-server-encrypted",xmlName:"x-ms-server-encrypted",type:{name:"Boolean"}},encryptionKeySha256:{serializedName:"x-ms-encryption-key-sha256",xmlName:"x-ms-encryption-key-sha256",type:{name:"String"}},encryptionScope:{serializedName:"x-ms-encryption-scope",xmlName:"x-ms-encryption-scope",type:{name:"String"}},blobContentMD5:{serializedName:"x-ms-blob-content-md5",xmlName:"x-ms-blob-content-md5",type:{name:"ByteArray"}},tagCount:{serializedName:"x-ms-tag-count",xmlName:"x-ms-tag-count",type:{name:"Number"}},isSealed:{serializedName:"x-ms-blob-sealed",xmlName:"x-ms-blob-sealed",type:{name:"Boolean"}},lastAccessed:{serializedName:"x-ms-last-access-time",xmlName:"x-ms-last-access-time",type:{name:"DateTimeRfc1123"}},immutabilityPolicyExpiresOn:{serializedName:"x-ms-immutability-policy-until-date",xmlName:"x-ms-immutability-policy-until-date",type:{name:"DateTimeRfc1123"}},immutabilityPolicyMode:{serializedName:"x-ms-immutability-policy-mode",xmlName:"x-ms-immutability-policy-mode",type:{name:"Enum",allowedValues:["Mutable","Unlocked","Locked"]}},legalHold:{serializedName:"x-ms-legal-hold",xmlName:"x-ms-legal-hold",type:{name:"Boolean"}},structuredBodyType:{serializedName:"x-ms-structured-body",xmlName:"x-ms-structured-body",type:{name:"String"}},structuredContentLength:{serializedName:"x-ms-structured-content-length",xmlName:"x-ms-structured-content-length",type:{name:"Number"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}},contentCrc64:{serializedName:"x-ms-content-crc64",xmlName:"x-ms-content-crc64",type:{name:"ByteArray"}}}}};const Jg={serializedName:"Blob_downloadExceptionHeaders",type:{name:"Composite",className:"BlobDownloadExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};const Wg={serializedName:"Blob_getPropertiesHeaders",type:{name:"Composite",className:"BlobGetPropertiesHeaders",modelProperties:{lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},createdOn:{serializedName:"x-ms-creation-time",xmlName:"x-ms-creation-time",type:{name:"DateTimeRfc1123"}},metadata:{serializedName:"x-ms-meta",headerCollectionPrefix:"x-ms-meta-",xmlName:"x-ms-meta",type:{name:"Dictionary",value:{type:{name:"String"}}}},objectReplicationPolicyId:{serializedName:"x-ms-or-policy-id",xmlName:"x-ms-or-policy-id",type:{name:"String"}},objectReplicationRules:{serializedName:"x-ms-or",headerCollectionPrefix:"x-ms-or-",xmlName:"x-ms-or",type:{name:"Dictionary",value:{type:{name:"String"}}}},blobType:{serializedName:"x-ms-blob-type",xmlName:"x-ms-blob-type",type:{name:"Enum",allowedValues:["BlockBlob","PageBlob","AppendBlob"]}},copyCompletedOn:{serializedName:"x-ms-copy-completion-time",xmlName:"x-ms-copy-completion-time",type:{name:"DateTimeRfc1123"}},copyStatusDescription:{serializedName:"x-ms-copy-status-description",xmlName:"x-ms-copy-status-description",type:{name:"String"}},copyId:{serializedName:"x-ms-copy-id",xmlName:"x-ms-copy-id",type:{name:"String"}},copyProgress:{serializedName:"x-ms-copy-progress",xmlName:"x-ms-copy-progress",type:{name:"String"}},copySource:{serializedName:"x-ms-copy-source",xmlName:"x-ms-copy-source",type:{name:"String"}},copyStatus:{serializedName:"x-ms-copy-status",xmlName:"x-ms-copy-status",type:{name:"Enum",allowedValues:["pending","success","aborted","failed"]}},isIncrementalCopy:{serializedName:"x-ms-incremental-copy",xmlName:"x-ms-incremental-copy",type:{name:"Boolean"}},destinationSnapshot:{serializedName:"x-ms-copy-destination-snapshot",xmlName:"x-ms-copy-destination-snapshot",type:{name:"String"}},leaseDuration:{serializedName:"x-ms-lease-duration",xmlName:"x-ms-lease-duration",type:{name:"Enum",allowedValues:["infinite","fixed"]}},leaseState:{serializedName:"x-ms-lease-state",xmlName:"x-ms-lease-state",type:{name:"Enum",allowedValues:["available","leased","expired","breaking","broken"]}},leaseStatus:{serializedName:"x-ms-lease-status",xmlName:"x-ms-lease-status",type:{name:"Enum",allowedValues:["locked","unlocked"]}},contentLength:{serializedName:"content-length",xmlName:"content-length",type:{name:"Number"}},contentType:{serializedName:"content-type",xmlName:"content-type",type:{name:"String"}},etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},contentMD5:{serializedName:"content-md5",xmlName:"content-md5",type:{name:"ByteArray"}},contentEncoding:{serializedName:"content-encoding",xmlName:"content-encoding",type:{name:"String"}},contentDisposition:{serializedName:"content-disposition",xmlName:"content-disposition",type:{name:"String"}},contentLanguage:{serializedName:"content-language",xmlName:"content-language",type:{name:"String"}},cacheControl:{serializedName:"cache-control",xmlName:"cache-control",type:{name:"String"}},blobSequenceNumber:{serializedName:"x-ms-blob-sequence-number",xmlName:"x-ms-blob-sequence-number",type:{name:"Number"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},acceptRanges:{serializedName:"accept-ranges",xmlName:"accept-ranges",type:{name:"String"}},blobCommittedBlockCount:{serializedName:"x-ms-blob-committed-block-count",xmlName:"x-ms-blob-committed-block-count",type:{name:"Number"}},isServerEncrypted:{serializedName:"x-ms-server-encrypted",xmlName:"x-ms-server-encrypted",type:{name:"Boolean"}},encryptionKeySha256:{serializedName:"x-ms-encryption-key-sha256",xmlName:"x-ms-encryption-key-sha256",type:{name:"String"}},encryptionScope:{serializedName:"x-ms-encryption-scope",xmlName:"x-ms-encryption-scope",type:{name:"String"}},accessTier:{serializedName:"x-ms-access-tier",xmlName:"x-ms-access-tier",type:{name:"String"}},accessTierInferred:{serializedName:"x-ms-access-tier-inferred",xmlName:"x-ms-access-tier-inferred",type:{name:"Boolean"}},archiveStatus:{serializedName:"x-ms-archive-status",xmlName:"x-ms-archive-status",type:{name:"String"}},accessTierChangedOn:{serializedName:"x-ms-access-tier-change-time",xmlName:"x-ms-access-tier-change-time",type:{name:"DateTimeRfc1123"}},smartAccessTier:{serializedName:"x-ms-smart-access-tier",xmlName:"x-ms-smart-access-tier",type:{name:"String"}},versionId:{serializedName:"x-ms-version-id",xmlName:"x-ms-version-id",type:{name:"String"}},isCurrentVersion:{serializedName:"x-ms-is-current-version",xmlName:"x-ms-is-current-version",type:{name:"Boolean"}},tagCount:{serializedName:"x-ms-tag-count",xmlName:"x-ms-tag-count",type:{name:"Number"}},expiresOn:{serializedName:"x-ms-expiry-time",xmlName:"x-ms-expiry-time",type:{name:"DateTimeRfc1123"}},isSealed:{serializedName:"x-ms-blob-sealed",xmlName:"x-ms-blob-sealed",type:{name:"Boolean"}},rehydratePriority:{serializedName:"x-ms-rehydrate-priority",xmlName:"x-ms-rehydrate-priority",type:{name:"Enum",allowedValues:["High","Standard"]}},lastAccessed:{serializedName:"x-ms-last-access-time",xmlName:"x-ms-last-access-time",type:{name:"DateTimeRfc1123"}},immutabilityPolicyExpiresOn:{serializedName:"x-ms-immutability-policy-until-date",xmlName:"x-ms-immutability-policy-until-date",type:{name:"DateTimeRfc1123"}},immutabilityPolicyMode:{serializedName:"x-ms-immutability-policy-mode",xmlName:"x-ms-immutability-policy-mode",type:{name:"Enum",allowedValues:["Mutable","Unlocked","Locked"]}},legalHold:{serializedName:"x-ms-legal-hold",xmlName:"x-ms-legal-hold",type:{name:"Boolean"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};const jg={serializedName:"Blob_getPropertiesExceptionHeaders",type:{name:"Composite",className:"BlobGetPropertiesExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};const Kg={serializedName:"Blob_deleteHeaders",type:{name:"Composite",className:"BlobDeleteHeaders",modelProperties:{clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};const $g={serializedName:"Blob_deleteExceptionHeaders",type:{name:"Composite",className:"BlobDeleteExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};const Xg={serializedName:"Blob_undeleteHeaders",type:{name:"Composite",className:"BlobUndeleteHeaders",modelProperties:{clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};const Zg={serializedName:"Blob_undeleteExceptionHeaders",type:{name:"Composite",className:"BlobUndeleteExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};const ep={serializedName:"Blob_setExpiryHeaders",type:{name:"Composite",className:"BlobSetExpiryHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}}}}};const tp={serializedName:"Blob_setExpiryExceptionHeaders",type:{name:"Composite",className:"BlobSetExpiryExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};const rp={serializedName:"Blob_setHttpHeadersHeaders",type:{name:"Composite",className:"BlobSetHttpHeadersHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},blobSequenceNumber:{serializedName:"x-ms-blob-sequence-number",xmlName:"x-ms-blob-sequence-number",type:{name:"Number"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};const np={serializedName:"Blob_setHttpHeadersExceptionHeaders",type:{name:"Composite",className:"BlobSetHttpHeadersExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};const sp={serializedName:"Blob_setImmutabilityPolicyHeaders",type:{name:"Composite",className:"BlobSetImmutabilityPolicyHeaders",modelProperties:{clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},immutabilityPolicyExpiry:{serializedName:"x-ms-immutability-policy-until-date",xmlName:"x-ms-immutability-policy-until-date",type:{name:"DateTimeRfc1123"}},immutabilityPolicyMode:{serializedName:"x-ms-immutability-policy-mode",xmlName:"x-ms-immutability-policy-mode",type:{name:"Enum",allowedValues:["Mutable","Unlocked","Locked"]}}}}};const ip={serializedName:"Blob_setImmutabilityPolicyExceptionHeaders",type:{name:"Composite",className:"BlobSetImmutabilityPolicyExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};const op={serializedName:"Blob_deleteImmutabilityPolicyHeaders",type:{name:"Composite",className:"BlobDeleteImmutabilityPolicyHeaders",modelProperties:{clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}}}}};const ap={serializedName:"Blob_deleteImmutabilityPolicyExceptionHeaders",type:{name:"Composite",className:"BlobDeleteImmutabilityPolicyExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};const lp={serializedName:"Blob_setLegalHoldHeaders",type:{name:"Composite",className:"BlobSetLegalHoldHeaders",modelProperties:{clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},legalHold:{serializedName:"x-ms-legal-hold",xmlName:"x-ms-legal-hold",type:{name:"Boolean"}}}}};const Ap={serializedName:"Blob_setLegalHoldExceptionHeaders",type:{name:"Composite",className:"BlobSetLegalHoldExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};const up={serializedName:"Blob_setMetadataHeaders",type:{name:"Composite",className:"BlobSetMetadataHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},versionId:{serializedName:"x-ms-version-id",xmlName:"x-ms-version-id",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},isServerEncrypted:{serializedName:"x-ms-request-server-encrypted",xmlName:"x-ms-request-server-encrypted",type:{name:"Boolean"}},encryptionKeySha256:{serializedName:"x-ms-encryption-key-sha256",xmlName:"x-ms-encryption-key-sha256",type:{name:"String"}},encryptionScope:{serializedName:"x-ms-encryption-scope",xmlName:"x-ms-encryption-scope",type:{name:"String"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};const dp={serializedName:"Blob_setMetadataExceptionHeaders",type:{name:"Composite",className:"BlobSetMetadataExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};const gp={serializedName:"Blob_acquireLeaseHeaders",type:{name:"Composite",className:"BlobAcquireLeaseHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},leaseId:{serializedName:"x-ms-lease-id",xmlName:"x-ms-lease-id",type:{name:"String"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}}}}};const pp={serializedName:"Blob_acquireLeaseExceptionHeaders",type:{name:"Composite",className:"BlobAcquireLeaseExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};const hp={serializedName:"Blob_releaseLeaseHeaders",type:{name:"Composite",className:"BlobReleaseLeaseHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}}}}};const mp={serializedName:"Blob_releaseLeaseExceptionHeaders",type:{name:"Composite",className:"BlobReleaseLeaseExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};const fp={serializedName:"Blob_renewLeaseHeaders",type:{name:"Composite",className:"BlobRenewLeaseHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},leaseId:{serializedName:"x-ms-lease-id",xmlName:"x-ms-lease-id",type:{name:"String"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}}}}};const Cp={serializedName:"Blob_renewLeaseExceptionHeaders",type:{name:"Composite",className:"BlobRenewLeaseExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};const yp={serializedName:"Blob_changeLeaseHeaders",type:{name:"Composite",className:"BlobChangeLeaseHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},leaseId:{serializedName:"x-ms-lease-id",xmlName:"x-ms-lease-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}}}}};const Ep={serializedName:"Blob_changeLeaseExceptionHeaders",type:{name:"Composite",className:"BlobChangeLeaseExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};const Ip={serializedName:"Blob_breakLeaseHeaders",type:{name:"Composite",className:"BlobBreakLeaseHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},leaseTime:{serializedName:"x-ms-lease-time",xmlName:"x-ms-lease-time",type:{name:"Number"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}}}}};const Bp={serializedName:"Blob_breakLeaseExceptionHeaders",type:{name:"Composite",className:"BlobBreakLeaseExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};const Qp={serializedName:"Blob_createSnapshotHeaders",type:{name:"Composite",className:"BlobCreateSnapshotHeaders",modelProperties:{snapshot:{serializedName:"x-ms-snapshot",xmlName:"x-ms-snapshot",type:{name:"String"}},etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},versionId:{serializedName:"x-ms-version-id",xmlName:"x-ms-version-id",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},isServerEncrypted:{serializedName:"x-ms-request-server-encrypted",xmlName:"x-ms-request-server-encrypted",type:{name:"Boolean"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};const bp={serializedName:"Blob_createSnapshotExceptionHeaders",type:{name:"Composite",className:"BlobCreateSnapshotExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};const Sp={serializedName:"Blob_startCopyFromURLHeaders",type:{name:"Composite",className:"BlobStartCopyFromURLHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},versionId:{serializedName:"x-ms-version-id",xmlName:"x-ms-version-id",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},copyId:{serializedName:"x-ms-copy-id",xmlName:"x-ms-copy-id",type:{name:"String"}},copyStatus:{serializedName:"x-ms-copy-status",xmlName:"x-ms-copy-status",type:{name:"Enum",allowedValues:["pending","success","aborted","failed"]}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};const wp={serializedName:"Blob_startCopyFromURLExceptionHeaders",type:{name:"Composite",className:"BlobStartCopyFromURLExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}},copySourceErrorCode:{serializedName:"x-ms-copy-source-error-code",xmlName:"x-ms-copy-source-error-code",type:{name:"String"}},copySourceStatusCode:{serializedName:"x-ms-copy-source-status-code",xmlName:"x-ms-copy-source-status-code",type:{name:"Number"}}}}};const Dp={serializedName:"Blob_copyFromURLHeaders",type:{name:"Composite",className:"BlobCopyFromURLHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},versionId:{serializedName:"x-ms-version-id",xmlName:"x-ms-version-id",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},copyId:{serializedName:"x-ms-copy-id",xmlName:"x-ms-copy-id",type:{name:"String"}},copyStatus:{defaultValue:"success",isConstant:true,serializedName:"x-ms-copy-status",type:{name:"String"}},contentMD5:{serializedName:"content-md5",xmlName:"content-md5",type:{name:"ByteArray"}},xMsContentCrc64:{serializedName:"x-ms-content-crc64",xmlName:"x-ms-content-crc64",type:{name:"ByteArray"}},encryptionScope:{serializedName:"x-ms-encryption-scope",xmlName:"x-ms-encryption-scope",type:{name:"String"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};const Np={serializedName:"Blob_copyFromURLExceptionHeaders",type:{name:"Composite",className:"BlobCopyFromURLExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}},copySourceErrorCode:{serializedName:"x-ms-copy-source-error-code",xmlName:"x-ms-copy-source-error-code",type:{name:"String"}},copySourceStatusCode:{serializedName:"x-ms-copy-source-status-code",xmlName:"x-ms-copy-source-status-code",type:{name:"Number"}}}}};const xp={serializedName:"Blob_abortCopyFromURLHeaders",type:{name:"Composite",className:"BlobAbortCopyFromURLHeaders",modelProperties:{clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};const Rp={serializedName:"Blob_abortCopyFromURLExceptionHeaders",type:{name:"Composite",className:"BlobAbortCopyFromURLExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};const vp={serializedName:"Blob_setTierHeaders",type:{name:"Composite",className:"BlobSetTierHeaders",modelProperties:{clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};const kp={serializedName:"Blob_setTierExceptionHeaders",type:{name:"Composite",className:"BlobSetTierExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};const Fp={serializedName:"Blob_getAccountInfoHeaders",type:{name:"Composite",className:"BlobGetAccountInfoHeaders",modelProperties:{clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},skuName:{serializedName:"x-ms-sku-name",xmlName:"x-ms-sku-name",type:{name:"Enum",allowedValues:["Standard_LRS","Standard_GRS","Standard_RAGRS","Standard_ZRS","Premium_LRS","Standard_GZRS","Premium_ZRS","Standard_RAGZRS"]}},accountKind:{serializedName:"x-ms-account-kind",xmlName:"x-ms-account-kind",type:{name:"Enum",allowedValues:["Storage","BlobStorage","StorageV2","FileStorage","BlockBlobStorage"]}},isHierarchicalNamespaceEnabled:{serializedName:"x-ms-is-hns-enabled",xmlName:"x-ms-is-hns-enabled",type:{name:"Boolean"}}}}};const Tp={serializedName:"Blob_getAccountInfoExceptionHeaders",type:{name:"Composite",className:"BlobGetAccountInfoExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};const Mp={serializedName:"Blob_queryHeaders",type:{name:"Composite",className:"BlobQueryHeaders",modelProperties:{lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},metadata:{serializedName:"x-ms-meta",headerCollectionPrefix:"x-ms-meta-",xmlName:"x-ms-meta",type:{name:"Dictionary",value:{type:{name:"String"}}}},contentLength:{serializedName:"content-length",xmlName:"content-length",type:{name:"Number"}},contentType:{serializedName:"content-type",xmlName:"content-type",type:{name:"String"}},contentRange:{serializedName:"content-range",xmlName:"content-range",type:{name:"String"}},etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},contentMD5:{serializedName:"content-md5",xmlName:"content-md5",type:{name:"ByteArray"}},contentEncoding:{serializedName:"content-encoding",xmlName:"content-encoding",type:{name:"String"}},cacheControl:{serializedName:"cache-control",xmlName:"cache-control",type:{name:"String"}},contentDisposition:{serializedName:"content-disposition",xmlName:"content-disposition",type:{name:"String"}},contentLanguage:{serializedName:"content-language",xmlName:"content-language",type:{name:"String"}},blobSequenceNumber:{serializedName:"x-ms-blob-sequence-number",xmlName:"x-ms-blob-sequence-number",type:{name:"Number"}},blobType:{serializedName:"x-ms-blob-type",xmlName:"x-ms-blob-type",type:{name:"Enum",allowedValues:["BlockBlob","PageBlob","AppendBlob"]}},copyCompletionTime:{serializedName:"x-ms-copy-completion-time",xmlName:"x-ms-copy-completion-time",type:{name:"DateTimeRfc1123"}},copyStatusDescription:{serializedName:"x-ms-copy-status-description",xmlName:"x-ms-copy-status-description",type:{name:"String"}},copyId:{serializedName:"x-ms-copy-id",xmlName:"x-ms-copy-id",type:{name:"String"}},copyProgress:{serializedName:"x-ms-copy-progress",xmlName:"x-ms-copy-progress",type:{name:"String"}},copySource:{serializedName:"x-ms-copy-source",xmlName:"x-ms-copy-source",type:{name:"String"}},copyStatus:{serializedName:"x-ms-copy-status",xmlName:"x-ms-copy-status",type:{name:"Enum",allowedValues:["pending","success","aborted","failed"]}},leaseDuration:{serializedName:"x-ms-lease-duration",xmlName:"x-ms-lease-duration",type:{name:"Enum",allowedValues:["infinite","fixed"]}},leaseState:{serializedName:"x-ms-lease-state",xmlName:"x-ms-lease-state",type:{name:"Enum",allowedValues:["available","leased","expired","breaking","broken"]}},leaseStatus:{serializedName:"x-ms-lease-status",xmlName:"x-ms-lease-status",type:{name:"Enum",allowedValues:["locked","unlocked"]}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},acceptRanges:{serializedName:"accept-ranges",xmlName:"accept-ranges",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},blobCommittedBlockCount:{serializedName:"x-ms-blob-committed-block-count",xmlName:"x-ms-blob-committed-block-count",type:{name:"Number"}},isServerEncrypted:{serializedName:"x-ms-server-encrypted",xmlName:"x-ms-server-encrypted",type:{name:"Boolean"}},encryptionKeySha256:{serializedName:"x-ms-encryption-key-sha256",xmlName:"x-ms-encryption-key-sha256",type:{name:"String"}},encryptionScope:{serializedName:"x-ms-encryption-scope",xmlName:"x-ms-encryption-scope",type:{name:"String"}},blobContentMD5:{serializedName:"x-ms-blob-content-md5",xmlName:"x-ms-blob-content-md5",type:{name:"ByteArray"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}},contentCrc64:{serializedName:"x-ms-content-crc64",xmlName:"x-ms-content-crc64",type:{name:"ByteArray"}}}}};const Pp={serializedName:"Blob_queryExceptionHeaders",type:{name:"Composite",className:"BlobQueryExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};const Lp={serializedName:"Blob_getTagsHeaders",type:{name:"Composite",className:"BlobGetTagsHeaders",modelProperties:{clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};const Up={serializedName:"Blob_getTagsExceptionHeaders",type:{name:"Composite",className:"BlobGetTagsExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};const Op={serializedName:"Blob_setTagsHeaders",type:{name:"Composite",className:"BlobSetTagsHeaders",modelProperties:{clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};const Hp={serializedName:"Blob_setTagsExceptionHeaders",type:{name:"Composite",className:"BlobSetTagsExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};const _p={serializedName:"PageBlob_createHeaders",type:{name:"Composite",className:"PageBlobCreateHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},contentMD5:{serializedName:"content-md5",xmlName:"content-md5",type:{name:"ByteArray"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},versionId:{serializedName:"x-ms-version-id",xmlName:"x-ms-version-id",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},isServerEncrypted:{serializedName:"x-ms-request-server-encrypted",xmlName:"x-ms-request-server-encrypted",type:{name:"Boolean"}},encryptionKeySha256:{serializedName:"x-ms-encryption-key-sha256",xmlName:"x-ms-encryption-key-sha256",type:{name:"String"}},encryptionScope:{serializedName:"x-ms-encryption-scope",xmlName:"x-ms-encryption-scope",type:{name:"String"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};const qp={serializedName:"PageBlob_createExceptionHeaders",type:{name:"Composite",className:"PageBlobCreateExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};const Gp={serializedName:"PageBlob_uploadPagesHeaders",type:{name:"Composite",className:"PageBlobUploadPagesHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},contentMD5:{serializedName:"content-md5",xmlName:"content-md5",type:{name:"ByteArray"}},xMsContentCrc64:{serializedName:"x-ms-content-crc64",xmlName:"x-ms-content-crc64",type:{name:"ByteArray"}},blobSequenceNumber:{serializedName:"x-ms-blob-sequence-number",xmlName:"x-ms-blob-sequence-number",type:{name:"Number"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},isServerEncrypted:{serializedName:"x-ms-request-server-encrypted",xmlName:"x-ms-request-server-encrypted",type:{name:"Boolean"}},encryptionKeySha256:{serializedName:"x-ms-encryption-key-sha256",xmlName:"x-ms-encryption-key-sha256",type:{name:"String"}},encryptionScope:{serializedName:"x-ms-encryption-scope",xmlName:"x-ms-encryption-scope",type:{name:"String"}},structuredBodyType:{serializedName:"x-ms-structured-body",xmlName:"x-ms-structured-body",type:{name:"String"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};const zp={serializedName:"PageBlob_uploadPagesExceptionHeaders",type:{name:"Composite",className:"PageBlobUploadPagesExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};const Yp={serializedName:"PageBlob_clearPagesHeaders",type:{name:"Composite",className:"PageBlobClearPagesHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},contentMD5:{serializedName:"content-md5",xmlName:"content-md5",type:{name:"ByteArray"}},xMsContentCrc64:{serializedName:"x-ms-content-crc64",xmlName:"x-ms-content-crc64",type:{name:"ByteArray"}},blobSequenceNumber:{serializedName:"x-ms-blob-sequence-number",xmlName:"x-ms-blob-sequence-number",type:{name:"Number"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};const Vp={serializedName:"PageBlob_clearPagesExceptionHeaders",type:{name:"Composite",className:"PageBlobClearPagesExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};const Jp={serializedName:"PageBlob_uploadPagesFromURLHeaders",type:{name:"Composite",className:"PageBlobUploadPagesFromURLHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},contentMD5:{serializedName:"content-md5",xmlName:"content-md5",type:{name:"ByteArray"}},xMsContentCrc64:{serializedName:"x-ms-content-crc64",xmlName:"x-ms-content-crc64",type:{name:"ByteArray"}},blobSequenceNumber:{serializedName:"x-ms-blob-sequence-number",xmlName:"x-ms-blob-sequence-number",type:{name:"Number"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},isServerEncrypted:{serializedName:"x-ms-request-server-encrypted",xmlName:"x-ms-request-server-encrypted",type:{name:"Boolean"}},encryptionKeySha256:{serializedName:"x-ms-encryption-key-sha256",xmlName:"x-ms-encryption-key-sha256",type:{name:"String"}},encryptionScope:{serializedName:"x-ms-encryption-scope",xmlName:"x-ms-encryption-scope",type:{name:"String"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};const Wp={serializedName:"PageBlob_uploadPagesFromURLExceptionHeaders",type:{name:"Composite",className:"PageBlobUploadPagesFromURLExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}},copySourceErrorCode:{serializedName:"x-ms-copy-source-error-code",xmlName:"x-ms-copy-source-error-code",type:{name:"String"}},copySourceStatusCode:{serializedName:"x-ms-copy-source-status-code",xmlName:"x-ms-copy-source-status-code",type:{name:"Number"}}}}};const jp={serializedName:"PageBlob_getPageRangesHeaders",type:{name:"Composite",className:"PageBlobGetPageRangesHeaders",modelProperties:{lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},blobContentLength:{serializedName:"x-ms-blob-content-length",xmlName:"x-ms-blob-content-length",type:{name:"Number"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};const Kp={serializedName:"PageBlob_getPageRangesExceptionHeaders",type:{name:"Composite",className:"PageBlobGetPageRangesExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};const $p={serializedName:"PageBlob_getPageRangesDiffHeaders",type:{name:"Composite",className:"PageBlobGetPageRangesDiffHeaders",modelProperties:{lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},blobContentLength:{serializedName:"x-ms-blob-content-length",xmlName:"x-ms-blob-content-length",type:{name:"Number"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};const Xp={serializedName:"PageBlob_getPageRangesDiffExceptionHeaders",type:{name:"Composite",className:"PageBlobGetPageRangesDiffExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};const Zp={serializedName:"PageBlob_resizeHeaders",type:{name:"Composite",className:"PageBlobResizeHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},blobSequenceNumber:{serializedName:"x-ms-blob-sequence-number",xmlName:"x-ms-blob-sequence-number",type:{name:"Number"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};const eh={serializedName:"PageBlob_resizeExceptionHeaders",type:{name:"Composite",className:"PageBlobResizeExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};const th={serializedName:"PageBlob_updateSequenceNumberHeaders",type:{name:"Composite",className:"PageBlobUpdateSequenceNumberHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},blobSequenceNumber:{serializedName:"x-ms-blob-sequence-number",xmlName:"x-ms-blob-sequence-number",type:{name:"Number"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};const rh={serializedName:"PageBlob_updateSequenceNumberExceptionHeaders",type:{name:"Composite",className:"PageBlobUpdateSequenceNumberExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};const nh={serializedName:"PageBlob_copyIncrementalHeaders",type:{name:"Composite",className:"PageBlobCopyIncrementalHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},copyId:{serializedName:"x-ms-copy-id",xmlName:"x-ms-copy-id",type:{name:"String"}},copyStatus:{serializedName:"x-ms-copy-status",xmlName:"x-ms-copy-status",type:{name:"Enum",allowedValues:["pending","success","aborted","failed"]}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};const sh={serializedName:"PageBlob_copyIncrementalExceptionHeaders",type:{name:"Composite",className:"PageBlobCopyIncrementalExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};const ih={serializedName:"AppendBlob_createHeaders",type:{name:"Composite",className:"AppendBlobCreateHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},contentMD5:{serializedName:"content-md5",xmlName:"content-md5",type:{name:"ByteArray"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},versionId:{serializedName:"x-ms-version-id",xmlName:"x-ms-version-id",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},isServerEncrypted:{serializedName:"x-ms-request-server-encrypted",xmlName:"x-ms-request-server-encrypted",type:{name:"Boolean"}},encryptionKeySha256:{serializedName:"x-ms-encryption-key-sha256",xmlName:"x-ms-encryption-key-sha256",type:{name:"String"}},encryptionScope:{serializedName:"x-ms-encryption-scope",xmlName:"x-ms-encryption-scope",type:{name:"String"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};const oh={serializedName:"AppendBlob_createExceptionHeaders",type:{name:"Composite",className:"AppendBlobCreateExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};const ah={serializedName:"AppendBlob_appendBlockHeaders",type:{name:"Composite",className:"AppendBlobAppendBlockHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},contentMD5:{serializedName:"content-md5",xmlName:"content-md5",type:{name:"ByteArray"}},xMsContentCrc64:{serializedName:"x-ms-content-crc64",xmlName:"x-ms-content-crc64",type:{name:"ByteArray"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},blobAppendOffset:{serializedName:"x-ms-blob-append-offset",xmlName:"x-ms-blob-append-offset",type:{name:"String"}},blobCommittedBlockCount:{serializedName:"x-ms-blob-committed-block-count",xmlName:"x-ms-blob-committed-block-count",type:{name:"Number"}},isServerEncrypted:{serializedName:"x-ms-request-server-encrypted",xmlName:"x-ms-request-server-encrypted",type:{name:"Boolean"}},encryptionKeySha256:{serializedName:"x-ms-encryption-key-sha256",xmlName:"x-ms-encryption-key-sha256",type:{name:"String"}},encryptionScope:{serializedName:"x-ms-encryption-scope",xmlName:"x-ms-encryption-scope",type:{name:"String"}},structuredBodyType:{serializedName:"x-ms-structured-body",xmlName:"x-ms-structured-body",type:{name:"String"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};const ch={serializedName:"AppendBlob_appendBlockExceptionHeaders",type:{name:"Composite",className:"AppendBlobAppendBlockExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};const lh={serializedName:"AppendBlob_appendBlockFromUrlHeaders",type:{name:"Composite",className:"AppendBlobAppendBlockFromUrlHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},contentMD5:{serializedName:"content-md5",xmlName:"content-md5",type:{name:"ByteArray"}},xMsContentCrc64:{serializedName:"x-ms-content-crc64",xmlName:"x-ms-content-crc64",type:{name:"ByteArray"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},blobAppendOffset:{serializedName:"x-ms-blob-append-offset",xmlName:"x-ms-blob-append-offset",type:{name:"String"}},blobCommittedBlockCount:{serializedName:"x-ms-blob-committed-block-count",xmlName:"x-ms-blob-committed-block-count",type:{name:"Number"}},encryptionKeySha256:{serializedName:"x-ms-encryption-key-sha256",xmlName:"x-ms-encryption-key-sha256",type:{name:"String"}},encryptionScope:{serializedName:"x-ms-encryption-scope",xmlName:"x-ms-encryption-scope",type:{name:"String"}},isServerEncrypted:{serializedName:"x-ms-request-server-encrypted",xmlName:"x-ms-request-server-encrypted",type:{name:"Boolean"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};const Ah={serializedName:"AppendBlob_appendBlockFromUrlExceptionHeaders",type:{name:"Composite",className:"AppendBlobAppendBlockFromUrlExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}},copySourceErrorCode:{serializedName:"x-ms-copy-source-error-code",xmlName:"x-ms-copy-source-error-code",type:{name:"String"}},copySourceStatusCode:{serializedName:"x-ms-copy-source-status-code",xmlName:"x-ms-copy-source-status-code",type:{name:"Number"}}}}};const uh={serializedName:"AppendBlob_sealHeaders",type:{name:"Composite",className:"AppendBlobSealHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},isSealed:{serializedName:"x-ms-blob-sealed",xmlName:"x-ms-blob-sealed",type:{name:"Boolean"}}}}};const dh={serializedName:"AppendBlob_sealExceptionHeaders",type:{name:"Composite",className:"AppendBlobSealExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};const gh={serializedName:"BlockBlob_uploadHeaders",type:{name:"Composite",className:"BlockBlobUploadHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},contentMD5:{serializedName:"content-md5",xmlName:"content-md5",type:{name:"ByteArray"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},versionId:{serializedName:"x-ms-version-id",xmlName:"x-ms-version-id",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},isServerEncrypted:{serializedName:"x-ms-request-server-encrypted",xmlName:"x-ms-request-server-encrypted",type:{name:"Boolean"}},encryptionKeySha256:{serializedName:"x-ms-encryption-key-sha256",xmlName:"x-ms-encryption-key-sha256",type:{name:"String"}},encryptionScope:{serializedName:"x-ms-encryption-scope",xmlName:"x-ms-encryption-scope",type:{name:"String"}},structuredBodyType:{serializedName:"x-ms-structured-body",xmlName:"x-ms-structured-body",type:{name:"String"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};const ph={serializedName:"BlockBlob_uploadExceptionHeaders",type:{name:"Composite",className:"BlockBlobUploadExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};const hh={serializedName:"BlockBlob_putBlobFromUrlHeaders",type:{name:"Composite",className:"BlockBlobPutBlobFromUrlHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},contentMD5:{serializedName:"content-md5",xmlName:"content-md5",type:{name:"ByteArray"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},versionId:{serializedName:"x-ms-version-id",xmlName:"x-ms-version-id",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},isServerEncrypted:{serializedName:"x-ms-request-server-encrypted",xmlName:"x-ms-request-server-encrypted",type:{name:"Boolean"}},encryptionKeySha256:{serializedName:"x-ms-encryption-key-sha256",xmlName:"x-ms-encryption-key-sha256",type:{name:"String"}},encryptionScope:{serializedName:"x-ms-encryption-scope",xmlName:"x-ms-encryption-scope",type:{name:"String"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};const mh={serializedName:"BlockBlob_putBlobFromUrlExceptionHeaders",type:{name:"Composite",className:"BlockBlobPutBlobFromUrlExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}},copySourceErrorCode:{serializedName:"x-ms-copy-source-error-code",xmlName:"x-ms-copy-source-error-code",type:{name:"String"}},copySourceStatusCode:{serializedName:"x-ms-copy-source-status-code",xmlName:"x-ms-copy-source-status-code",type:{name:"Number"}}}}};const fh={serializedName:"BlockBlob_stageBlockHeaders",type:{name:"Composite",className:"BlockBlobStageBlockHeaders",modelProperties:{contentMD5:{serializedName:"content-md5",xmlName:"content-md5",type:{name:"ByteArray"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},xMsContentCrc64:{serializedName:"x-ms-content-crc64",xmlName:"x-ms-content-crc64",type:{name:"ByteArray"}},isServerEncrypted:{serializedName:"x-ms-request-server-encrypted",xmlName:"x-ms-request-server-encrypted",type:{name:"Boolean"}},encryptionKeySha256:{serializedName:"x-ms-encryption-key-sha256",xmlName:"x-ms-encryption-key-sha256",type:{name:"String"}},encryptionScope:{serializedName:"x-ms-encryption-scope",xmlName:"x-ms-encryption-scope",type:{name:"String"}},structuredBodyType:{serializedName:"x-ms-structured-body",xmlName:"x-ms-structured-body",type:{name:"String"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};const Ch={serializedName:"BlockBlob_stageBlockExceptionHeaders",type:{name:"Composite",className:"BlockBlobStageBlockExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};const yh={serializedName:"BlockBlob_stageBlockFromURLHeaders",type:{name:"Composite",className:"BlockBlobStageBlockFromURLHeaders",modelProperties:{contentMD5:{serializedName:"content-md5",xmlName:"content-md5",type:{name:"ByteArray"}},xMsContentCrc64:{serializedName:"x-ms-content-crc64",xmlName:"x-ms-content-crc64",type:{name:"ByteArray"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},isServerEncrypted:{serializedName:"x-ms-request-server-encrypted",xmlName:"x-ms-request-server-encrypted",type:{name:"Boolean"}},encryptionKeySha256:{serializedName:"x-ms-encryption-key-sha256",xmlName:"x-ms-encryption-key-sha256",type:{name:"String"}},encryptionScope:{serializedName:"x-ms-encryption-scope",xmlName:"x-ms-encryption-scope",type:{name:"String"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};const Eh={serializedName:"BlockBlob_stageBlockFromURLExceptionHeaders",type:{name:"Composite",className:"BlockBlobStageBlockFromURLExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}},copySourceErrorCode:{serializedName:"x-ms-copy-source-error-code",xmlName:"x-ms-copy-source-error-code",type:{name:"String"}},copySourceStatusCode:{serializedName:"x-ms-copy-source-status-code",xmlName:"x-ms-copy-source-status-code",type:{name:"Number"}}}}};const Ih={serializedName:"BlockBlob_commitBlockListHeaders",type:{name:"Composite",className:"BlockBlobCommitBlockListHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},contentMD5:{serializedName:"content-md5",xmlName:"content-md5",type:{name:"ByteArray"}},xMsContentCrc64:{serializedName:"x-ms-content-crc64",xmlName:"x-ms-content-crc64",type:{name:"ByteArray"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},versionId:{serializedName:"x-ms-version-id",xmlName:"x-ms-version-id",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},isServerEncrypted:{serializedName:"x-ms-request-server-encrypted",xmlName:"x-ms-request-server-encrypted",type:{name:"Boolean"}},encryptionKeySha256:{serializedName:"x-ms-encryption-key-sha256",xmlName:"x-ms-encryption-key-sha256",type:{name:"String"}},encryptionScope:{serializedName:"x-ms-encryption-scope",xmlName:"x-ms-encryption-scope",type:{name:"String"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};const Bh={serializedName:"BlockBlob_commitBlockListExceptionHeaders",type:{name:"Composite",className:"BlockBlobCommitBlockListExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};const Qh={serializedName:"BlockBlob_getBlockListHeaders",type:{name:"Composite",className:"BlockBlobGetBlockListHeaders",modelProperties:{lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},contentType:{serializedName:"content-type",xmlName:"content-type",type:{name:"String"}},blobContentLength:{serializedName:"x-ms-blob-content-length",xmlName:"x-ms-blob-content-length",type:{name:"Number"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};const bh={serializedName:"BlockBlob_getBlockListExceptionHeaders",type:{name:"Composite",className:"BlockBlobGetBlockListExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};const Sh={parameterPath:["options","contentType"],mapper:{defaultValue:"application/xml",isConstant:true,serializedName:"Content-Type",type:{name:"String"}}};const wh={parameterPath:"blobServiceProperties",mapper:ad};const Dh={parameterPath:"accept",mapper:{defaultValue:"application/xml",isConstant:true,serializedName:"Accept",type:{name:"String"}}};const Nh={parameterPath:"url",mapper:{serializedName:"url",required:true,xmlName:"url",type:{name:"String"}},skipEncoding:true};const xh={parameterPath:"restype",mapper:{defaultValue:"service",isConstant:true,serializedName:"restype",type:{name:"String"}}};const Rh={parameterPath:"comp",mapper:{defaultValue:"properties",isConstant:true,serializedName:"comp",type:{name:"String"}}};const vh={parameterPath:["options","timeoutInSeconds"],mapper:{constraints:{InclusiveMinimum:0},serializedName:"timeout",xmlName:"timeout",type:{name:"Number"}}};const kh={parameterPath:"version",mapper:{defaultValue:"2026-06-06",isConstant:true,serializedName:"x-ms-version",type:{name:"String"}}};const Fh={parameterPath:["options","requestId"],mapper:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}}};const Th={parameterPath:"accept",mapper:{defaultValue:"application/xml",isConstant:true,serializedName:"Accept",type:{name:"String"}}};const Mh={parameterPath:"comp",mapper:{defaultValue:"stats",isConstant:true,serializedName:"comp",type:{name:"String"}}};const Ph={parameterPath:"comp",mapper:{defaultValue:"list",isConstant:true,serializedName:"comp",type:{name:"String"}}};const Lh={parameterPath:["options","prefix"],mapper:{serializedName:"prefix",xmlName:"prefix",type:{name:"String"}}};const Uh={parameterPath:["options","marker"],mapper:{serializedName:"marker",xmlName:"marker",type:{name:"String"}}};const Oh={parameterPath:["options","maxPageSize"],mapper:{constraints:{InclusiveMinimum:1},serializedName:"maxresults",xmlName:"maxresults",type:{name:"Number"}}};const Hh={parameterPath:["options","include"],mapper:{serializedName:"include",xmlName:"include",xmlElementName:"ListContainersIncludeType",type:{name:"Sequence",element:{type:{name:"Enum",allowedValues:["metadata","deleted","system"]}}}},collectionFormat:"CSV"};const _h={parameterPath:"keyInfo",mapper:yd};const qh={parameterPath:"comp",mapper:{defaultValue:"userdelegationkey",isConstant:true,serializedName:"comp",type:{name:"String"}}};const Gh={parameterPath:"restype",mapper:{defaultValue:"account",isConstant:true,serializedName:"restype",type:{name:"String"}}};const zh={parameterPath:"body",mapper:{serializedName:"body",required:true,xmlName:"body",type:{name:"Stream"}}};const Yh={parameterPath:"comp",mapper:{defaultValue:"batch",isConstant:true,serializedName:"comp",type:{name:"String"}}};const Vh={parameterPath:"contentLength",mapper:{serializedName:"Content-Length",required:true,xmlName:"Content-Length",type:{name:"Number"}}};const Jh={parameterPath:"multipartContentType",mapper:{serializedName:"Content-Type",required:true,xmlName:"Content-Type",type:{name:"String"}}};const Wh={parameterPath:"comp",mapper:{defaultValue:"blobs",isConstant:true,serializedName:"comp",type:{name:"String"}}};const jh={parameterPath:["options","where"],mapper:{serializedName:"where",xmlName:"where",type:{name:"String"}}};const Kh={parameterPath:"restype",mapper:{defaultValue:"container",isConstant:true,serializedName:"restype",type:{name:"String"}}};const $h={parameterPath:["options","metadata"],mapper:{serializedName:"x-ms-meta",xmlName:"x-ms-meta",headerCollectionPrefix:"x-ms-meta-",type:{name:"Dictionary",value:{type:{name:"String"}}}}};const Xh={parameterPath:["options","access"],mapper:{serializedName:"x-ms-blob-public-access",xmlName:"x-ms-blob-public-access",type:{name:"Enum",allowedValues:["container","blob"]}}};const Zh={parameterPath:["options","containerEncryptionScope","defaultEncryptionScope"],mapper:{serializedName:"x-ms-default-encryption-scope",xmlName:"x-ms-default-encryption-scope",type:{name:"String"}}};const em={parameterPath:["options","containerEncryptionScope","preventEncryptionScopeOverride"],mapper:{serializedName:"x-ms-deny-encryption-scope-override",xmlName:"x-ms-deny-encryption-scope-override",type:{name:"Boolean"}}};const tm={parameterPath:["options","leaseAccessConditions","leaseId"],mapper:{serializedName:"x-ms-lease-id",xmlName:"x-ms-lease-id",type:{name:"String"}}};const rm={parameterPath:["options","modifiedAccessConditions","ifModifiedSince"],mapper:{serializedName:"If-Modified-Since",xmlName:"If-Modified-Since",type:{name:"DateTimeRfc1123"}}};const nm={parameterPath:["options","modifiedAccessConditions","ifUnmodifiedSince"],mapper:{serializedName:"If-Unmodified-Since",xmlName:"If-Unmodified-Since",type:{name:"DateTimeRfc1123"}}};const sm={parameterPath:"comp",mapper:{defaultValue:"metadata",isConstant:true,serializedName:"comp",type:{name:"String"}}};const im={parameterPath:"comp",mapper:{defaultValue:"acl",isConstant:true,serializedName:"comp",type:{name:"String"}}};const om={parameterPath:["options","containerAcl"],mapper:{serializedName:"containerAcl",xmlName:"SignedIdentifiers",xmlIsWrapped:true,xmlElementName:"SignedIdentifier",type:{name:"Sequence",element:{type:{name:"Composite",className:"SignedIdentifier"}}}}};const am={parameterPath:"comp",mapper:{defaultValue:"undelete",isConstant:true,serializedName:"comp",type:{name:"String"}}};const cm={parameterPath:["options","deletedContainerName"],mapper:{serializedName:"x-ms-deleted-container-name",xmlName:"x-ms-deleted-container-name",type:{name:"String"}}};const lm={parameterPath:["options","deletedContainerVersion"],mapper:{serializedName:"x-ms-deleted-container-version",xmlName:"x-ms-deleted-container-version",type:{name:"String"}}};const Am={parameterPath:"comp",mapper:{defaultValue:"rename",isConstant:true,serializedName:"comp",type:{name:"String"}}};const um={parameterPath:"sourceContainerName",mapper:{serializedName:"x-ms-source-container-name",required:true,xmlName:"x-ms-source-container-name",type:{name:"String"}}};const dm={parameterPath:["options","sourceLeaseId"],mapper:{serializedName:"x-ms-source-lease-id",xmlName:"x-ms-source-lease-id",type:{name:"String"}}};const gm={parameterPath:"comp",mapper:{defaultValue:"lease",isConstant:true,serializedName:"comp",type:{name:"String"}}};const hm={parameterPath:"action",mapper:{defaultValue:"acquire",isConstant:true,serializedName:"x-ms-lease-action",type:{name:"String"}}};const fm={parameterPath:["options","duration"],mapper:{serializedName:"x-ms-lease-duration",xmlName:"x-ms-lease-duration",type:{name:"Number"}}};const Cm={parameterPath:["options","proposedLeaseId"],mapper:{serializedName:"x-ms-proposed-lease-id",xmlName:"x-ms-proposed-lease-id",type:{name:"String"}}};const ym={parameterPath:"action",mapper:{defaultValue:"release",isConstant:true,serializedName:"x-ms-lease-action",type:{name:"String"}}};const Em={parameterPath:"leaseId",mapper:{serializedName:"x-ms-lease-id",required:true,xmlName:"x-ms-lease-id",type:{name:"String"}}};const Im={parameterPath:"action",mapper:{defaultValue:"renew",isConstant:true,serializedName:"x-ms-lease-action",type:{name:"String"}}};const Bm={parameterPath:"action",mapper:{defaultValue:"break",isConstant:true,serializedName:"x-ms-lease-action",type:{name:"String"}}};const Qm={parameterPath:["options","breakPeriod"],mapper:{serializedName:"x-ms-lease-break-period",xmlName:"x-ms-lease-break-period",type:{name:"Number"}}};const bm={parameterPath:"action",mapper:{defaultValue:"change",isConstant:true,serializedName:"x-ms-lease-action",type:{name:"String"}}};const Sm={parameterPath:"proposedLeaseId",mapper:{serializedName:"x-ms-proposed-lease-id",required:true,xmlName:"x-ms-proposed-lease-id",type:{name:"String"}}};const wm={parameterPath:["options","include"],mapper:{serializedName:"include",xmlName:"include",xmlElementName:"ListBlobsIncludeItem",type:{name:"Sequence",element:{type:{name:"Enum",allowedValues:["copy","deleted","metadata","snapshots","uncommittedblobs","versions","tags","immutabilitypolicy","legalhold","deletedwithversions"]}}}},collectionFormat:"CSV"};const Dm={parameterPath:["options","startFrom"],mapper:{serializedName:"startFrom",xmlName:"startFrom",type:{name:"String"}}};const Nm={parameterPath:"delimiter",mapper:{serializedName:"delimiter",required:true,xmlName:"delimiter",type:{name:"String"}}};const xm={parameterPath:["options","snapshot"],mapper:{serializedName:"snapshot",xmlName:"snapshot",type:{name:"String"}}};const Rm={parameterPath:["options","versionId"],mapper:{serializedName:"versionid",xmlName:"versionid",type:{name:"String"}}};const vm={parameterPath:["options","range"],mapper:{serializedName:"x-ms-range",xmlName:"x-ms-range",type:{name:"String"}}};const km={parameterPath:["options","rangeGetContentMD5"],mapper:{serializedName:"x-ms-range-get-content-md5",xmlName:"x-ms-range-get-content-md5",type:{name:"Boolean"}}};const Fm={parameterPath:["options","rangeGetContentCRC64"],mapper:{serializedName:"x-ms-range-get-content-crc64",xmlName:"x-ms-range-get-content-crc64",type:{name:"Boolean"}}};const Tm={parameterPath:["options","structuredBodyType"],mapper:{serializedName:"x-ms-structured-body",xmlName:"x-ms-structured-body",type:{name:"String"}}};const Mm={parameterPath:["options","cpkInfo","encryptionKey"],mapper:{serializedName:"x-ms-encryption-key",xmlName:"x-ms-encryption-key",type:{name:"String"}}};const Pm={parameterPath:["options","cpkInfo","encryptionKeySha256"],mapper:{serializedName:"x-ms-encryption-key-sha256",xmlName:"x-ms-encryption-key-sha256",type:{name:"String"}}};const Lm={parameterPath:["options","cpkInfo","encryptionAlgorithm"],mapper:{serializedName:"x-ms-encryption-algorithm",xmlName:"x-ms-encryption-algorithm",type:{name:"String"}}};const Um={parameterPath:["options","modifiedAccessConditions","ifMatch"],mapper:{serializedName:"If-Match",xmlName:"If-Match",type:{name:"String"}}};const Om={parameterPath:["options","modifiedAccessConditions","ifNoneMatch"],mapper:{serializedName:"If-None-Match",xmlName:"If-None-Match",type:{name:"String"}}};const Hm={parameterPath:["options","modifiedAccessConditions","ifTags"],mapper:{serializedName:"x-ms-if-tags",xmlName:"x-ms-if-tags",type:{name:"String"}}};const _m={parameterPath:["options","deleteSnapshots"],mapper:{serializedName:"x-ms-delete-snapshots",xmlName:"x-ms-delete-snapshots",type:{name:"Enum",allowedValues:["include","only"]}}};const qm={parameterPath:["options","blobDeleteType"],mapper:{serializedName:"deletetype",xmlName:"deletetype",type:{name:"String"}}};const Gm={parameterPath:["options","accessTierIfModifiedSince"],mapper:{serializedName:"x-ms-access-tier-if-modified-since",xmlName:"x-ms-access-tier-if-modified-since",type:{name:"DateTimeRfc1123"}}};const zm={parameterPath:["options","accessTierIfUnmodifiedSince"],mapper:{serializedName:"x-ms-access-tier-if-unmodified-since",xmlName:"x-ms-access-tier-if-unmodified-since",type:{name:"DateTimeRfc1123"}}};const Ym={parameterPath:"comp",mapper:{defaultValue:"expiry",isConstant:true,serializedName:"comp",type:{name:"String"}}};const Vm={parameterPath:"expiryOptions",mapper:{serializedName:"x-ms-expiry-option",required:true,xmlName:"x-ms-expiry-option",type:{name:"String"}}};const Jm={parameterPath:["options","expiresOn"],mapper:{serializedName:"x-ms-expiry-time",xmlName:"x-ms-expiry-time",type:{name:"String"}}};const Wm={parameterPath:["options","blobHttpHeaders","blobCacheControl"],mapper:{serializedName:"x-ms-blob-cache-control",xmlName:"x-ms-blob-cache-control",type:{name:"String"}}};const jm={parameterPath:["options","blobHttpHeaders","blobContentType"],mapper:{serializedName:"x-ms-blob-content-type",xmlName:"x-ms-blob-content-type",type:{name:"String"}}};const Km={parameterPath:["options","blobHttpHeaders","blobContentMD5"],mapper:{serializedName:"x-ms-blob-content-md5",xmlName:"x-ms-blob-content-md5",type:{name:"ByteArray"}}};const $m={parameterPath:["options","blobHttpHeaders","blobContentEncoding"],mapper:{serializedName:"x-ms-blob-content-encoding",xmlName:"x-ms-blob-content-encoding",type:{name:"String"}}};const Xm={parameterPath:["options","blobHttpHeaders","blobContentLanguage"],mapper:{serializedName:"x-ms-blob-content-language",xmlName:"x-ms-blob-content-language",type:{name:"String"}}};const Zm={parameterPath:["options","blobHttpHeaders","blobContentDisposition"],mapper:{serializedName:"x-ms-blob-content-disposition",xmlName:"x-ms-blob-content-disposition",type:{name:"String"}}};const ef={parameterPath:"comp",mapper:{defaultValue:"immutabilityPolicies",isConstant:true,serializedName:"comp",type:{name:"String"}}};const tf={parameterPath:["options","immutabilityPolicyExpiry"],mapper:{serializedName:"x-ms-immutability-policy-until-date",xmlName:"x-ms-immutability-policy-until-date",type:{name:"DateTimeRfc1123"}}};const rf={parameterPath:["options","immutabilityPolicyMode"],mapper:{serializedName:"x-ms-immutability-policy-mode",xmlName:"x-ms-immutability-policy-mode",type:{name:"Enum",allowedValues:["Mutable","Unlocked","Locked"]}}};const nf={parameterPath:"comp",mapper:{defaultValue:"legalhold",isConstant:true,serializedName:"comp",type:{name:"String"}}};const sf={parameterPath:"legalHold",mapper:{serializedName:"x-ms-legal-hold",required:true,xmlName:"x-ms-legal-hold",type:{name:"Boolean"}}};const of={parameterPath:["options","encryptionScope"],mapper:{serializedName:"x-ms-encryption-scope",xmlName:"x-ms-encryption-scope",type:{name:"String"}}};const af={parameterPath:"comp",mapper:{defaultValue:"snapshot",isConstant:true,serializedName:"comp",type:{name:"String"}}};const cf={parameterPath:["options","tier"],mapper:{serializedName:"x-ms-access-tier",xmlName:"x-ms-access-tier",type:{name:"Enum",allowedValues:["P4","P6","P10","P15","P20","P30","P40","P50","P60","P70","P80","Hot","Cool","Archive","Cold","Smart"]}}};const lf={parameterPath:["options","rehydratePriority"],mapper:{serializedName:"x-ms-rehydrate-priority",xmlName:"x-ms-rehydrate-priority",type:{name:"Enum",allowedValues:["High","Standard"]}}};const Af={parameterPath:["options","sourceModifiedAccessConditions","sourceIfModifiedSince"],mapper:{serializedName:"x-ms-source-if-modified-since",xmlName:"x-ms-source-if-modified-since",type:{name:"DateTimeRfc1123"}}};const uf={parameterPath:["options","sourceModifiedAccessConditions","sourceIfUnmodifiedSince"],mapper:{serializedName:"x-ms-source-if-unmodified-since",xmlName:"x-ms-source-if-unmodified-since",type:{name:"DateTimeRfc1123"}}};const df={parameterPath:["options","sourceModifiedAccessConditions","sourceIfMatch"],mapper:{serializedName:"x-ms-source-if-match",xmlName:"x-ms-source-if-match",type:{name:"String"}}};const gf={parameterPath:["options","sourceModifiedAccessConditions","sourceIfNoneMatch"],mapper:{serializedName:"x-ms-source-if-none-match",xmlName:"x-ms-source-if-none-match",type:{name:"String"}}};const pf={parameterPath:["options","sourceModifiedAccessConditions","sourceIfTags"],mapper:{serializedName:"x-ms-source-if-tags",xmlName:"x-ms-source-if-tags",type:{name:"String"}}};const hf={parameterPath:"copySource",mapper:{serializedName:"x-ms-copy-source",required:true,xmlName:"x-ms-copy-source",type:{name:"String"}}};const mf={parameterPath:["options","blobTagsString"],mapper:{serializedName:"x-ms-tags",xmlName:"x-ms-tags",type:{name:"String"}}};const ff={parameterPath:["options","sealBlob"],mapper:{serializedName:"x-ms-seal-blob",xmlName:"x-ms-seal-blob",type:{name:"Boolean"}}};const Cf={parameterPath:["options","legalHold"],mapper:{serializedName:"x-ms-legal-hold",xmlName:"x-ms-legal-hold",type:{name:"Boolean"}}};const yf={parameterPath:"xMsRequiresSync",mapper:{defaultValue:"true",isConstant:true,serializedName:"x-ms-requires-sync",type:{name:"String"}}};const Ef={parameterPath:["options","sourceContentMD5"],mapper:{serializedName:"x-ms-source-content-md5",xmlName:"x-ms-source-content-md5",type:{name:"ByteArray"}}};const If={parameterPath:["options","copySourceAuthorization"],mapper:{serializedName:"x-ms-copy-source-authorization",xmlName:"x-ms-copy-source-authorization",type:{name:"String"}}};const Bf={parameterPath:["options","copySourceTags"],mapper:{serializedName:"x-ms-copy-source-tag-option",xmlName:"x-ms-copy-source-tag-option",type:{name:"Enum",allowedValues:["REPLACE","COPY"]}}};const Qf={parameterPath:["options","fileRequestIntent"],mapper:{serializedName:"x-ms-file-request-intent",xmlName:"x-ms-file-request-intent",type:{name:"String"}}};const bf={parameterPath:"comp",mapper:{defaultValue:"copy",isConstant:true,serializedName:"comp",type:{name:"String"}}};const Sf={parameterPath:"copyActionAbortConstant",mapper:{defaultValue:"abort",isConstant:true,serializedName:"x-ms-copy-action",type:{name:"String"}}};const wf={parameterPath:"copyId",mapper:{serializedName:"copyid",required:true,xmlName:"copyid",type:{name:"String"}}};const Df={parameterPath:"comp",mapper:{defaultValue:"tier",isConstant:true,serializedName:"comp",type:{name:"String"}}};const Nf={parameterPath:"tier",mapper:{serializedName:"x-ms-access-tier",required:true,xmlName:"x-ms-access-tier",type:{name:"Enum",allowedValues:["P4","P6","P10","P15","P20","P30","P40","P50","P60","P70","P80","Hot","Cool","Archive","Cold","Smart"]}}};const xf={parameterPath:["options","queryRequest"],mapper:_d};const Rf={parameterPath:"comp",mapper:{defaultValue:"query",isConstant:true,serializedName:"comp",type:{name:"String"}}};const vf={parameterPath:"comp",mapper:{defaultValue:"tags",isConstant:true,serializedName:"comp",type:{name:"String"}}};const kf={parameterPath:["options","blobModifiedAccessConditions","ifModifiedSince"],mapper:{serializedName:"x-ms-blob-if-modified-since",xmlName:"x-ms-blob-if-modified-since",type:{name:"DateTimeRfc1123"}}};const Ff={parameterPath:["options","blobModifiedAccessConditions","ifUnmodifiedSince"],mapper:{serializedName:"x-ms-blob-if-unmodified-since",xmlName:"x-ms-blob-if-unmodified-since",type:{name:"DateTimeRfc1123"}}};const Tf={parameterPath:["options","blobModifiedAccessConditions","ifMatch"],mapper:{serializedName:"x-ms-blob-if-match",xmlName:"x-ms-blob-if-match",type:{name:"String"}}};const Mf={parameterPath:["options","blobModifiedAccessConditions","ifNoneMatch"],mapper:{serializedName:"x-ms-blob-if-none-match",xmlName:"x-ms-blob-if-none-match",type:{name:"String"}}};const Pf={parameterPath:["options","tags"],mapper:Qd};const Lf={parameterPath:["options","transactionalContentMD5"],mapper:{serializedName:"Content-MD5",xmlName:"Content-MD5",type:{name:"ByteArray"}}};const Uf={parameterPath:["options","transactionalContentCrc64"],mapper:{serializedName:"x-ms-content-crc64",xmlName:"x-ms-content-crc64",type:{name:"ByteArray"}}};const Of={parameterPath:"blobType",mapper:{defaultValue:"PageBlob",isConstant:true,serializedName:"x-ms-blob-type",type:{name:"String"}}};const Hf={parameterPath:"blobContentLength",mapper:{serializedName:"x-ms-blob-content-length",required:true,xmlName:"x-ms-blob-content-length",type:{name:"Number"}}};const _f={parameterPath:["options","blobSequenceNumber"],mapper:{defaultValue:0,serializedName:"x-ms-blob-sequence-number",xmlName:"x-ms-blob-sequence-number",type:{name:"Number"}}};const qf={parameterPath:["options","contentType"],mapper:{defaultValue:"application/octet-stream",isConstant:true,serializedName:"Content-Type",type:{name:"String"}}};const Gf={parameterPath:"body",mapper:{serializedName:"body",required:true,xmlName:"body",type:{name:"Stream"}}};const zf={parameterPath:"accept",mapper:{defaultValue:"application/xml",isConstant:true,serializedName:"Accept",type:{name:"String"}}};const Yf={parameterPath:"comp",mapper:{defaultValue:"page",isConstant:true,serializedName:"comp",type:{name:"String"}}};const Vf={parameterPath:"pageWrite",mapper:{defaultValue:"update",isConstant:true,serializedName:"x-ms-page-write",type:{name:"String"}}};const Jf={parameterPath:["options","sequenceNumberAccessConditions","ifSequenceNumberLessThanOrEqualTo"],mapper:{serializedName:"x-ms-if-sequence-number-le",xmlName:"x-ms-if-sequence-number-le",type:{name:"Number"}}};const Wf={parameterPath:["options","sequenceNumberAccessConditions","ifSequenceNumberLessThan"],mapper:{serializedName:"x-ms-if-sequence-number-lt",xmlName:"x-ms-if-sequence-number-lt",type:{name:"Number"}}};const jf={parameterPath:["options","sequenceNumberAccessConditions","ifSequenceNumberEqualTo"],mapper:{serializedName:"x-ms-if-sequence-number-eq",xmlName:"x-ms-if-sequence-number-eq",type:{name:"Number"}}};const Kf={parameterPath:["options","structuredContentLength"],mapper:{serializedName:"x-ms-structured-content-length",xmlName:"x-ms-structured-content-length",type:{name:"Number"}}};const $f={parameterPath:"pageWrite",mapper:{defaultValue:"clear",isConstant:true,serializedName:"x-ms-page-write",type:{name:"String"}}};const Xf={parameterPath:"sourceUrl",mapper:{serializedName:"x-ms-copy-source",required:true,xmlName:"x-ms-copy-source",type:{name:"String"}}};const Zf={parameterPath:"sourceRange",mapper:{serializedName:"x-ms-source-range",required:true,xmlName:"x-ms-source-range",type:{name:"String"}}};const eC={parameterPath:["options","sourceContentCrc64"],mapper:{serializedName:"x-ms-source-content-crc64",xmlName:"x-ms-source-content-crc64",type:{name:"ByteArray"}}};const tC={parameterPath:"range",mapper:{serializedName:"x-ms-range",required:true,xmlName:"x-ms-range",type:{name:"String"}}};const rC={parameterPath:["options","sourceCpkInfo","sourceEncryptionKey"],mapper:{serializedName:"x-ms-source-encryption-key",xmlName:"x-ms-source-encryption-key",type:{name:"String"}}};const nC={parameterPath:["options","sourceCpkInfo","sourceEncryptionKeySha256"],mapper:{serializedName:"x-ms-source-encryption-key-sha256",xmlName:"x-ms-source-encryption-key-sha256",type:{name:"String"}}};const sC={parameterPath:["options","sourceCpkInfo","sourceEncryptionAlgorithm"],mapper:{serializedName:"x-ms-source-encryption-algorithm",xmlName:"x-ms-source-encryption-algorithm",type:{name:"String"}}};const iC={parameterPath:"comp",mapper:{defaultValue:"pagelist",isConstant:true,serializedName:"comp",type:{name:"String"}}};const oC={parameterPath:["options","prevsnapshot"],mapper:{serializedName:"prevsnapshot",xmlName:"prevsnapshot",type:{name:"String"}}};const aC={parameterPath:["options","prevSnapshotUrl"],mapper:{serializedName:"x-ms-previous-snapshot-url",xmlName:"x-ms-previous-snapshot-url",type:{name:"String"}}};const cC={parameterPath:"sequenceNumberAction",mapper:{serializedName:"x-ms-sequence-number-action",required:true,xmlName:"x-ms-sequence-number-action",type:{name:"Enum",allowedValues:["max","update","increment"]}}};const lC={parameterPath:"comp",mapper:{defaultValue:"incrementalcopy",isConstant:true,serializedName:"comp",type:{name:"String"}}};const AC={parameterPath:"blobType",mapper:{defaultValue:"AppendBlob",isConstant:true,serializedName:"x-ms-blob-type",type:{name:"String"}}};const uC={parameterPath:"comp",mapper:{defaultValue:"appendblock",isConstant:true,serializedName:"comp",type:{name:"String"}}};const dC={parameterPath:["options","appendPositionAccessConditions","maxSize"],mapper:{serializedName:"x-ms-blob-condition-maxsize",xmlName:"x-ms-blob-condition-maxsize",type:{name:"Number"}}};const gC={parameterPath:["options","appendPositionAccessConditions","appendPosition"],mapper:{serializedName:"x-ms-blob-condition-appendpos",xmlName:"x-ms-blob-condition-appendpos",type:{name:"Number"}}};const pC={parameterPath:["options","sourceRange"],mapper:{serializedName:"x-ms-source-range",xmlName:"x-ms-source-range",type:{name:"String"}}};const hC={parameterPath:"comp",mapper:{defaultValue:"seal",isConstant:true,serializedName:"comp",type:{name:"String"}}};const mC={parameterPath:"blobType",mapper:{defaultValue:"BlockBlob",isConstant:true,serializedName:"x-ms-blob-type",type:{name:"String"}}};const fC={parameterPath:["options","copySourceBlobProperties"],mapper:{serializedName:"x-ms-copy-source-blob-properties",xmlName:"x-ms-copy-source-blob-properties",type:{name:"Boolean"}}};const CC={parameterPath:"comp",mapper:{defaultValue:"block",isConstant:true,serializedName:"comp",type:{name:"String"}}};const yC={parameterPath:"blockId",mapper:{serializedName:"blockid",required:true,xmlName:"blockid",type:{name:"String"}}};const EC={parameterPath:"blocks",mapper:Md};const IC={parameterPath:"comp",mapper:{defaultValue:"blocklist",isConstant:true,serializedName:"comp",type:{name:"String"}}};const BC={parameterPath:"listType",mapper:{defaultValue:"committed",serializedName:"blocklisttype",required:true,xmlName:"blocklisttype",type:{name:"Enum",allowedValues:["committed","uncommitted","all"]}}};class ServiceImpl{client;constructor(e){this.client=e}setProperties(e,t){return this.client.sendOperationRequest({blobServiceProperties:e,options:t},bC)}getProperties(e){return this.client.sendOperationRequest({options:e},SC)}getStatistics(e){return this.client.sendOperationRequest({options:e},wC)}listContainersSegment(e){return this.client.sendOperationRequest({options:e},DC)}getUserDelegationKey(e,t){return this.client.sendOperationRequest({keyInfo:e,options:t},NC)}getAccountInfo(e){return this.client.sendOperationRequest({options:e},xC)}submitBatch(e,t,r,n){return this.client.sendOperationRequest({contentLength:e,multipartContentType:t,body:r,options:n},RC)}filterBlobs(e){return this.client.sendOperationRequest({options:e},vC)}}const QC=createSerializer(s,true);const bC={path:"/",httpMethod:"PUT",responses:{202:{headersMapper:Wd},default:{bodyMapper:gd,headersMapper:jd}},requestBody:wh,queryParameters:[xh,Rh,vh],urlParameters:[Nh],headerParameters:[Sh,Dh,kh,Fh],isXML:true,contentType:"application/xml; charset=utf-8",mediaType:"xml",serializer:QC};const SC={path:"/",httpMethod:"GET",responses:{200:{bodyMapper:ad,headersMapper:Kd},default:{bodyMapper:gd,headersMapper:$d}},queryParameters:[xh,Rh,vh],urlParameters:[Nh],headerParameters:[kh,Fh,Th],isXML:true,serializer:QC};const wC={path:"/",httpMethod:"GET",responses:{200:{bodyMapper:pd,headersMapper:Xd},default:{bodyMapper:gd,headersMapper:Zd}},queryParameters:[xh,vh,Mh],urlParameters:[Nh],headerParameters:[kh,Fh,Th],isXML:true,serializer:QC};const DC={path:"/",httpMethod:"GET",responses:{200:{bodyMapper:md,headersMapper:eg},default:{bodyMapper:gd,headersMapper:tg}},queryParameters:[vh,Ph,Lh,Uh,Oh,Hh],urlParameters:[Nh],headerParameters:[kh,Fh,Th],isXML:true,serializer:QC};const NC={path:"/",httpMethod:"POST",responses:{200:{bodyMapper:Ed,headersMapper:rg},default:{bodyMapper:gd,headersMapper:ng}},requestBody:_h,queryParameters:[xh,vh,qh],urlParameters:[Nh],headerParameters:[Sh,Dh,kh,Fh],isXML:true,contentType:"application/xml; charset=utf-8",mediaType:"xml",serializer:QC};const xC={path:"/",httpMethod:"GET",responses:{200:{headersMapper:sg},default:{bodyMapper:gd,headersMapper:ig}},queryParameters:[Rh,vh,Gh],urlParameters:[Nh],headerParameters:[kh,Fh,Th],isXML:true,serializer:QC};const RC={path:"/",httpMethod:"POST",responses:{202:{bodyMapper:{type:{name:"Stream"},serializedName:"parsedResponse"},headersMapper:og},default:{bodyMapper:gd,headersMapper:ag}},requestBody:zh,queryParameters:[vh,Yh],urlParameters:[Nh],headerParameters:[Dh,kh,Fh,Vh,Jh],isXML:true,contentType:"application/xml; charset=utf-8",mediaType:"xml",serializer:QC};const vC={path:"/",httpMethod:"GET",responses:{200:{bodyMapper:Id,headersMapper:cg},default:{bodyMapper:gd,headersMapper:lg}},queryParameters:[vh,Uh,Oh,Wh,jh],urlParameters:[Nh],headerParameters:[kh,Fh,Th],isXML:true,serializer:QC};class ContainerImpl{client;constructor(e){this.client=e}create(e){return this.client.sendOperationRequest({options:e},FC)}getProperties(e){return this.client.sendOperationRequest({options:e},TC)}delete(e){return this.client.sendOperationRequest({options:e},MC)}setMetadata(e){return this.client.sendOperationRequest({options:e},PC)}getAccessPolicy(e){return this.client.sendOperationRequest({options:e},LC)}setAccessPolicy(e){return this.client.sendOperationRequest({options:e},UC)}restore(e){return this.client.sendOperationRequest({options:e},OC)}rename(e,t){return this.client.sendOperationRequest({sourceContainerName:e,options:t},HC)}submitBatch(e,t,r,n){return this.client.sendOperationRequest({contentLength:e,multipartContentType:t,body:r,options:n},_C)}filterBlobs(e){return this.client.sendOperationRequest({options:e},qC)}acquireLease(e){return this.client.sendOperationRequest({options:e},GC)}releaseLease(e,t){return this.client.sendOperationRequest({leaseId:e,options:t},zC)}renewLease(e,t){return this.client.sendOperationRequest({leaseId:e,options:t},YC)}breakLease(e){return this.client.sendOperationRequest({options:e},VC)}changeLease(e,t,r){return this.client.sendOperationRequest({leaseId:e,proposedLeaseId:t,options:r},JC)}listBlobFlatSegment(e){return this.client.sendOperationRequest({options:e},WC)}listBlobHierarchySegment(e,t){return this.client.sendOperationRequest({delimiter:e,options:t},jC)}getAccountInfo(e){return this.client.sendOperationRequest({options:e},KC)}}const kC=createSerializer(s,true);const FC={path:"/{containerName}",httpMethod:"PUT",responses:{201:{headersMapper:Ag},default:{bodyMapper:gd,headersMapper:ug}},queryParameters:[vh,Kh],urlParameters:[Nh],headerParameters:[kh,Fh,Th,$h,Xh,Zh,em],isXML:true,serializer:kC};const TC={path:"/{containerName}",httpMethod:"GET",responses:{200:{headersMapper:dg},default:{bodyMapper:gd,headersMapper:gg}},queryParameters:[vh,Kh],urlParameters:[Nh],headerParameters:[kh,Fh,Th,tm],isXML:true,serializer:kC};const MC={path:"/{containerName}",httpMethod:"DELETE",responses:{202:{headersMapper:pg},default:{bodyMapper:gd,headersMapper:hg}},queryParameters:[vh,Kh],urlParameters:[Nh],headerParameters:[kh,Fh,Th,tm,rm,nm],isXML:true,serializer:kC};const PC={path:"/{containerName}",httpMethod:"PUT",responses:{200:{headersMapper:mg},default:{bodyMapper:gd,headersMapper:fg}},queryParameters:[vh,Kh,sm],urlParameters:[Nh],headerParameters:[kh,Fh,Th,$h,tm,rm],isXML:true,serializer:kC};const LC={path:"/{containerName}",httpMethod:"GET",responses:{200:{bodyMapper:{type:{name:"Sequence",element:{type:{name:"Composite",className:"SignedIdentifier"}}},serializedName:"SignedIdentifiers",xmlName:"SignedIdentifiers",xmlIsWrapped:true,xmlElementName:"SignedIdentifier"},headersMapper:Cg},default:{bodyMapper:gd,headersMapper:yg}},queryParameters:[vh,Kh,im],urlParameters:[Nh],headerParameters:[kh,Fh,Th,tm],isXML:true,serializer:kC};const UC={path:"/{containerName}",httpMethod:"PUT",responses:{200:{headersMapper:Eg},default:{bodyMapper:gd,headersMapper:Ig}},requestBody:om,queryParameters:[vh,Kh,im],urlParameters:[Nh],headerParameters:[Sh,Dh,kh,Fh,Xh,tm,rm,nm],isXML:true,contentType:"application/xml; charset=utf-8",mediaType:"xml",serializer:kC};const OC={path:"/{containerName}",httpMethod:"PUT",responses:{201:{headersMapper:Bg},default:{bodyMapper:gd,headersMapper:Qg}},queryParameters:[vh,Kh,am],urlParameters:[Nh],headerParameters:[kh,Fh,Th,cm,lm],isXML:true,serializer:kC};const HC={path:"/{containerName}",httpMethod:"PUT",responses:{200:{headersMapper:bg},default:{bodyMapper:gd,headersMapper:Sg}},queryParameters:[vh,Kh,Am],urlParameters:[Nh],headerParameters:[kh,Fh,Th,um,dm],isXML:true,serializer:kC};const _C={path:"/{containerName}",httpMethod:"POST",responses:{202:{bodyMapper:{type:{name:"Stream"},serializedName:"parsedResponse"},headersMapper:wg},default:{bodyMapper:gd,headersMapper:Dg}},requestBody:zh,queryParameters:[vh,Yh,Kh],urlParameters:[Nh],headerParameters:[Dh,kh,Fh,Vh,Jh],isXML:true,contentType:"application/xml; charset=utf-8",mediaType:"xml",serializer:kC};const qC={path:"/{containerName}",httpMethod:"GET",responses:{200:{bodyMapper:Id,headersMapper:Ng},default:{bodyMapper:gd,headersMapper:xg}},queryParameters:[vh,Uh,Oh,Wh,jh,Kh],urlParameters:[Nh],headerParameters:[kh,Fh,Th],isXML:true,serializer:kC};const GC={path:"/{containerName}",httpMethod:"PUT",responses:{201:{headersMapper:Rg},default:{bodyMapper:gd,headersMapper:vg}},queryParameters:[vh,Kh,gm],urlParameters:[Nh],headerParameters:[kh,Fh,Th,rm,nm,hm,fm,Cm],isXML:true,serializer:kC};const zC={path:"/{containerName}",httpMethod:"PUT",responses:{200:{headersMapper:kg},default:{bodyMapper:gd,headersMapper:Fg}},queryParameters:[vh,Kh,gm],urlParameters:[Nh],headerParameters:[kh,Fh,Th,rm,nm,ym,Em],isXML:true,serializer:kC};const YC={path:"/{containerName}",httpMethod:"PUT",responses:{200:{headersMapper:Tg},default:{bodyMapper:gd,headersMapper:Mg}},queryParameters:[vh,Kh,gm],urlParameters:[Nh],headerParameters:[kh,Fh,Th,rm,nm,Em,Im],isXML:true,serializer:kC};const VC={path:"/{containerName}",httpMethod:"PUT",responses:{202:{headersMapper:Pg},default:{bodyMapper:gd,headersMapper:Lg}},queryParameters:[vh,Kh,gm],urlParameters:[Nh],headerParameters:[kh,Fh,Th,rm,nm,Bm,Qm],isXML:true,serializer:kC};const JC={path:"/{containerName}",httpMethod:"PUT",responses:{200:{headersMapper:Ug},default:{bodyMapper:gd,headersMapper:Og}},queryParameters:[vh,Kh,gm],urlParameters:[Nh],headerParameters:[kh,Fh,Th,rm,nm,Em,bm,Sm],isXML:true,serializer:kC};const WC={path:"/{containerName}",httpMethod:"GET",responses:{200:{bodyMapper:Dd,headersMapper:Hg},default:{bodyMapper:gd,headersMapper:_g}},queryParameters:[vh,Ph,Lh,Uh,Oh,Kh,wm,Dm],urlParameters:[Nh],headerParameters:[kh,Fh,Th],isXML:true,serializer:kC};const jC={path:"/{containerName}",httpMethod:"GET",responses:{200:{bodyMapper:kd,headersMapper:qg},default:{bodyMapper:gd,headersMapper:Gg}},queryParameters:[vh,Ph,Lh,Uh,Oh,Kh,wm,Dm,Nm],urlParameters:[Nh],headerParameters:[kh,Fh,Th],isXML:true,serializer:kC};const KC={path:"/{containerName}",httpMethod:"GET",responses:{200:{headersMapper:zg},default:{bodyMapper:gd,headersMapper:Yg}},queryParameters:[Rh,vh,Gh],urlParameters:[Nh],headerParameters:[kh,Fh,Th],isXML:true,serializer:kC};class BlobImpl{client;constructor(e){this.client=e}download(e){return this.client.sendOperationRequest({options:e},XC)}getProperties(e){return this.client.sendOperationRequest({options:e},ZC)}delete(e){return this.client.sendOperationRequest({options:e},ey)}undelete(e){return this.client.sendOperationRequest({options:e},ty)}setExpiry(e,t){return this.client.sendOperationRequest({expiryOptions:e,options:t},ry)}setHttpHeaders(e){return this.client.sendOperationRequest({options:e},ny)}setImmutabilityPolicy(e){return this.client.sendOperationRequest({options:e},sy)}deleteImmutabilityPolicy(e){return this.client.sendOperationRequest({options:e},iy)}setLegalHold(e,t){return this.client.sendOperationRequest({legalHold:e,options:t},oy)}setMetadata(e){return this.client.sendOperationRequest({options:e},ay)}acquireLease(e){return this.client.sendOperationRequest({options:e},cy)}releaseLease(e,t){return this.client.sendOperationRequest({leaseId:e,options:t},ly)}renewLease(e,t){return this.client.sendOperationRequest({leaseId:e,options:t},Ay)}changeLease(e,t,r){return this.client.sendOperationRequest({leaseId:e,proposedLeaseId:t,options:r},uy)}breakLease(e){return this.client.sendOperationRequest({options:e},dy)}createSnapshot(e){return this.client.sendOperationRequest({options:e},gy)}startCopyFromURL(e,t){return this.client.sendOperationRequest({copySource:e,options:t},py)}copyFromURL(e,t){return this.client.sendOperationRequest({copySource:e,options:t},hy)}abortCopyFromURL(e,t){return this.client.sendOperationRequest({copyId:e,options:t},my)}setTier(e,t){return this.client.sendOperationRequest({tier:e,options:t},fy)}getAccountInfo(e){return this.client.sendOperationRequest({options:e},Cy)}query(e){return this.client.sendOperationRequest({options:e},yy)}getTags(e){return this.client.sendOperationRequest({options:e},Ey)}setTags(e){return this.client.sendOperationRequest({options:e},Iy)}}const $C=createSerializer(s,true);const XC={path:"/{containerName}/{blob}",httpMethod:"GET",responses:{200:{bodyMapper:{type:{name:"Stream"},serializedName:"parsedResponse"},headersMapper:Vg},206:{bodyMapper:{type:{name:"Stream"},serializedName:"parsedResponse"},headersMapper:Vg},default:{bodyMapper:gd,headersMapper:Jg}},queryParameters:[vh,xm,Rm],urlParameters:[Nh],headerParameters:[kh,Fh,Th,tm,rm,nm,vm,km,Fm,Tm,Mm,Pm,Lm,Um,Om,Hm],isXML:true,serializer:$C};const ZC={path:"/{containerName}/{blob}",httpMethod:"HEAD",responses:{200:{headersMapper:Wg},default:{bodyMapper:gd,headersMapper:jg}},queryParameters:[vh,xm,Rm],urlParameters:[Nh],headerParameters:[kh,Fh,Th,tm,rm,nm,Mm,Pm,Lm,Um,Om,Hm],isXML:true,serializer:$C};const ey={path:"/{containerName}/{blob}",httpMethod:"DELETE",responses:{202:{headersMapper:Kg},default:{bodyMapper:gd,headersMapper:$g}},queryParameters:[vh,xm,Rm,qm],urlParameters:[Nh],headerParameters:[kh,Fh,Th,tm,rm,nm,Um,Om,Hm,_m,Gm,zm],isXML:true,serializer:$C};const ty={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{200:{headersMapper:Xg},default:{bodyMapper:gd,headersMapper:Zg}},queryParameters:[vh,am],urlParameters:[Nh],headerParameters:[kh,Fh,Th],isXML:true,serializer:$C};const ry={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{200:{headersMapper:ep},default:{bodyMapper:gd,headersMapper:tp}},queryParameters:[vh,Ym],urlParameters:[Nh],headerParameters:[kh,Fh,Th,Vm,Jm],isXML:true,serializer:$C};const ny={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{200:{headersMapper:rp},default:{bodyMapper:gd,headersMapper:np}},queryParameters:[Rh,vh],urlParameters:[Nh],headerParameters:[kh,Fh,Th,tm,rm,nm,Um,Om,Hm,Wm,jm,Km,$m,Xm,Zm],isXML:true,serializer:$C};const sy={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{200:{headersMapper:sp},default:{bodyMapper:gd,headersMapper:ip}},queryParameters:[vh,xm,Rm,ef],urlParameters:[Nh],headerParameters:[kh,Fh,Th,nm,tf,rf],isXML:true,serializer:$C};const iy={path:"/{containerName}/{blob}",httpMethod:"DELETE",responses:{200:{headersMapper:op},default:{bodyMapper:gd,headersMapper:ap}},queryParameters:[vh,xm,Rm,ef],urlParameters:[Nh],headerParameters:[kh,Fh,Th],isXML:true,serializer:$C};const oy={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{200:{headersMapper:lp},default:{bodyMapper:gd,headersMapper:Ap}},queryParameters:[vh,xm,Rm,nf],urlParameters:[Nh],headerParameters:[kh,Fh,Th,sf],isXML:true,serializer:$C};const ay={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{200:{headersMapper:up},default:{bodyMapper:gd,headersMapper:dp}},queryParameters:[vh,sm],urlParameters:[Nh],headerParameters:[kh,Fh,Th,$h,tm,rm,nm,Mm,Pm,Lm,Um,Om,Hm,of],isXML:true,serializer:$C};const cy={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{201:{headersMapper:gp},default:{bodyMapper:gd,headersMapper:pp}},queryParameters:[vh,gm],urlParameters:[Nh],headerParameters:[kh,Fh,Th,rm,nm,hm,fm,Cm,Um,Om,Hm],isXML:true,serializer:$C};const ly={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{200:{headersMapper:hp},default:{bodyMapper:gd,headersMapper:mp}},queryParameters:[vh,gm],urlParameters:[Nh],headerParameters:[kh,Fh,Th,rm,nm,ym,Em,Um,Om,Hm],isXML:true,serializer:$C};const Ay={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{200:{headersMapper:fp},default:{bodyMapper:gd,headersMapper:Cp}},queryParameters:[vh,gm],urlParameters:[Nh],headerParameters:[kh,Fh,Th,rm,nm,Em,Im,Um,Om,Hm],isXML:true,serializer:$C};const uy={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{200:{headersMapper:yp},default:{bodyMapper:gd,headersMapper:Ep}},queryParameters:[vh,gm],urlParameters:[Nh],headerParameters:[kh,Fh,Th,rm,nm,Em,bm,Sm,Um,Om,Hm],isXML:true,serializer:$C};const dy={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{202:{headersMapper:Ip},default:{bodyMapper:gd,headersMapper:Bp}},queryParameters:[vh,gm],urlParameters:[Nh],headerParameters:[kh,Fh,Th,rm,nm,Bm,Qm,Um,Om,Hm],isXML:true,serializer:$C};const gy={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{201:{headersMapper:Qp},default:{bodyMapper:gd,headersMapper:bp}},queryParameters:[vh,af],urlParameters:[Nh],headerParameters:[kh,Fh,Th,$h,tm,rm,nm,Mm,Pm,Lm,Um,Om,Hm,of],isXML:true,serializer:$C};const py={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{202:{headersMapper:Sp},default:{bodyMapper:gd,headersMapper:wp}},queryParameters:[vh],urlParameters:[Nh],headerParameters:[kh,Fh,Th,$h,tm,rm,nm,Um,Om,Hm,tf,rf,cf,lf,Af,uf,df,gf,pf,hf,mf,ff,Cf],isXML:true,serializer:$C};const hy={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{202:{headersMapper:Dp},default:{bodyMapper:gd,headersMapper:Np}},queryParameters:[vh],urlParameters:[Nh],headerParameters:[kh,Fh,Th,$h,tm,rm,nm,Um,Om,Hm,tf,rf,of,cf,Af,uf,df,gf,hf,mf,Cf,yf,Ef,If,Bf,Qf],isXML:true,serializer:$C};const my={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{204:{headersMapper:xp},default:{bodyMapper:gd,headersMapper:Rp}},queryParameters:[vh,bf,wf],urlParameters:[Nh],headerParameters:[kh,Fh,Th,tm,Sf],isXML:true,serializer:$C};const fy={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{200:{headersMapper:vp},202:{headersMapper:vp},default:{bodyMapper:gd,headersMapper:kp}},queryParameters:[vh,xm,Rm,Df],urlParameters:[Nh],headerParameters:[kh,Fh,Th,tm,Hm,lf,Nf],isXML:true,serializer:$C};const Cy={path:"/{containerName}/{blob}",httpMethod:"GET",responses:{200:{headersMapper:Fp},default:{bodyMapper:gd,headersMapper:Tp}},queryParameters:[Rh,vh,Gh],urlParameters:[Nh],headerParameters:[kh,Fh,Th],isXML:true,serializer:$C};const yy={path:"/{containerName}/{blob}",httpMethod:"POST",responses:{200:{bodyMapper:{type:{name:"Stream"},serializedName:"parsedResponse"},headersMapper:Mp},206:{bodyMapper:{type:{name:"Stream"},serializedName:"parsedResponse"},headersMapper:Mp},default:{bodyMapper:gd,headersMapper:Pp}},requestBody:xf,queryParameters:[vh,xm,Rf],urlParameters:[Nh],headerParameters:[Sh,Dh,kh,Fh,tm,rm,nm,Mm,Pm,Lm,Um,Om,Hm],isXML:true,contentType:"application/xml; charset=utf-8",mediaType:"xml",serializer:$C};const Ey={path:"/{containerName}/{blob}",httpMethod:"GET",responses:{200:{bodyMapper:Qd,headersMapper:Lp},default:{bodyMapper:gd,headersMapper:Up}},queryParameters:[vh,xm,Rm,vf],urlParameters:[Nh],headerParameters:[kh,Fh,Th,tm,Hm,kf,Ff,Tf,Mf],isXML:true,serializer:$C};const Iy={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{204:{headersMapper:Op},default:{bodyMapper:gd,headersMapper:Hp}},requestBody:Pf,queryParameters:[vh,Rm,vf],urlParameters:[Nh],headerParameters:[Sh,Dh,kh,Fh,tm,Hm,kf,Ff,Tf,Mf,Lf,Uf],isXML:true,contentType:"application/xml; charset=utf-8",mediaType:"xml",serializer:$C};class PageBlobImpl{client;constructor(e){this.client=e}create(e,t,r){return this.client.sendOperationRequest({contentLength:e,blobContentLength:t,options:r},Qy)}uploadPages(e,t,r){return this.client.sendOperationRequest({contentLength:e,body:t,options:r},by)}clearPages(e,t){return this.client.sendOperationRequest({contentLength:e,options:t},Sy)}uploadPagesFromURL(e,t,r,n,s){return this.client.sendOperationRequest({sourceUrl:e,sourceRange:t,contentLength:r,range:n,options:s},wy)}getPageRanges(e){return this.client.sendOperationRequest({options:e},Dy)}getPageRangesDiff(e){return this.client.sendOperationRequest({options:e},Ny)}resize(e,t){return this.client.sendOperationRequest({blobContentLength:e,options:t},xy)}updateSequenceNumber(e,t){return this.client.sendOperationRequest({sequenceNumberAction:e,options:t},Ry)}copyIncremental(e,t){return this.client.sendOperationRequest({copySource:e,options:t},vy)}}const By=createSerializer(s,true);const Qy={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{201:{headersMapper:_p},default:{bodyMapper:gd,headersMapper:qp}},queryParameters:[vh],urlParameters:[Nh],headerParameters:[kh,Fh,Th,Vh,$h,tm,rm,nm,Mm,Pm,Lm,Um,Om,Hm,Wm,jm,Km,$m,Xm,Zm,tf,rf,of,cf,mf,Cf,Of,Hf,_f],isXML:true,serializer:By};const by={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{201:{headersMapper:Gp},default:{bodyMapper:gd,headersMapper:zp}},requestBody:Gf,queryParameters:[vh,Yf],urlParameters:[Nh],headerParameters:[kh,Fh,Vh,tm,rm,nm,vm,Tm,Mm,Pm,Lm,Um,Om,Hm,of,Lf,Uf,qf,zf,Vf,Jf,Wf,jf,Kf],isXML:true,contentType:"application/xml; charset=utf-8",mediaType:"binary",serializer:By};const Sy={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{201:{headersMapper:Yp},default:{bodyMapper:gd,headersMapper:Vp}},queryParameters:[vh,Yf],urlParameters:[Nh],headerParameters:[kh,Fh,Th,Vh,tm,rm,nm,vm,Mm,Pm,Lm,Um,Om,Hm,of,Jf,Wf,jf,$f],isXML:true,serializer:By};const wy={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{201:{headersMapper:Jp},default:{bodyMapper:gd,headersMapper:Wp}},queryParameters:[vh,Yf],urlParameters:[Nh],headerParameters:[kh,Fh,Th,Vh,tm,rm,nm,Mm,Pm,Lm,Um,Om,Hm,of,Af,uf,df,gf,Ef,If,Qf,Vf,Jf,Wf,jf,Xf,Zf,eC,tC,rC,nC,sC],isXML:true,serializer:By};const Dy={path:"/{containerName}/{blob}",httpMethod:"GET",responses:{200:{bodyMapper:Ud,headersMapper:jp},default:{bodyMapper:gd,headersMapper:Kp}},queryParameters:[vh,Uh,Oh,xm,iC],urlParameters:[Nh],headerParameters:[kh,Fh,Th,tm,rm,nm,vm,Um,Om,Hm],isXML:true,serializer:By};const Ny={path:"/{containerName}/{blob}",httpMethod:"GET",responses:{200:{bodyMapper:Ud,headersMapper:$p},default:{bodyMapper:gd,headersMapper:Xp}},queryParameters:[vh,Uh,Oh,xm,iC,oC],urlParameters:[Nh],headerParameters:[kh,Fh,Th,tm,rm,nm,vm,Um,Om,Hm,aC],isXML:true,serializer:By};const xy={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{200:{headersMapper:Zp},default:{bodyMapper:gd,headersMapper:eh}},queryParameters:[Rh,vh],urlParameters:[Nh],headerParameters:[kh,Fh,Th,tm,rm,nm,Mm,Pm,Lm,Um,Om,Hm,of,Hf],isXML:true,serializer:By};const Ry={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{200:{headersMapper:th},default:{bodyMapper:gd,headersMapper:rh}},queryParameters:[Rh,vh],urlParameters:[Nh],headerParameters:[kh,Fh,Th,tm,rm,nm,Um,Om,Hm,_f,cC],isXML:true,serializer:By};const vy={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{202:{headersMapper:nh},default:{bodyMapper:gd,headersMapper:sh}},queryParameters:[vh,lC],urlParameters:[Nh],headerParameters:[kh,Fh,Th,rm,nm,Um,Om,Hm,hf],isXML:true,serializer:By};class AppendBlobImpl{client;constructor(e){this.client=e}create(e,t){return this.client.sendOperationRequest({contentLength:e,options:t},Fy)}appendBlock(e,t,r){return this.client.sendOperationRequest({contentLength:e,body:t,options:r},Ty)}appendBlockFromUrl(e,t,r){return this.client.sendOperationRequest({sourceUrl:e,contentLength:t,options:r},My)}seal(e){return this.client.sendOperationRequest({options:e},Py)}}const ky=createSerializer(s,true);const Fy={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{201:{headersMapper:ih},default:{bodyMapper:gd,headersMapper:oh}},queryParameters:[vh],urlParameters:[Nh],headerParameters:[kh,Fh,Th,Vh,$h,tm,rm,nm,Mm,Pm,Lm,Um,Om,Hm,Wm,jm,Km,$m,Xm,Zm,tf,rf,of,mf,Cf,AC],isXML:true,serializer:ky};const Ty={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{201:{headersMapper:ah},default:{bodyMapper:gd,headersMapper:ch}},requestBody:Gf,queryParameters:[vh,uC],urlParameters:[Nh],headerParameters:[kh,Fh,Vh,tm,rm,nm,Tm,Mm,Pm,Lm,Um,Om,Hm,of,Lf,Uf,qf,zf,Kf,dC,gC],isXML:true,contentType:"application/xml; charset=utf-8",mediaType:"binary",serializer:ky};const My={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{201:{headersMapper:lh},default:{bodyMapper:gd,headersMapper:Ah}},queryParameters:[vh,uC],urlParameters:[Nh],headerParameters:[kh,Fh,Th,Vh,tm,rm,nm,Mm,Pm,Lm,Um,Om,Hm,of,Af,uf,df,gf,Ef,If,Qf,Lf,Xf,eC,rC,nC,sC,dC,gC,pC],isXML:true,serializer:ky};const Py={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{200:{headersMapper:uh},default:{bodyMapper:gd,headersMapper:dh}},queryParameters:[vh,hC],urlParameters:[Nh],headerParameters:[kh,Fh,Th,tm,rm,nm,Um,Om,gC],isXML:true,serializer:ky};class BlockBlobImpl{client;constructor(e){this.client=e}upload(e,t,r){return this.client.sendOperationRequest({contentLength:e,body:t,options:r},Uy)}putBlobFromUrl(e,t,r){return this.client.sendOperationRequest({contentLength:e,copySource:t,options:r},Oy)}stageBlock(e,t,r,n){return this.client.sendOperationRequest({blockId:e,contentLength:t,body:r,options:n},Hy)}stageBlockFromURL(e,t,r,n){return this.client.sendOperationRequest({blockId:e,contentLength:t,sourceUrl:r,options:n},_y)}commitBlockList(e,t){return this.client.sendOperationRequest({blocks:e,options:t},qy)}getBlockList(e,t){return this.client.sendOperationRequest({listType:e,options:t},Gy)}}const Ly=createSerializer(s,true);const Uy={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{201:{headersMapper:gh},default:{bodyMapper:gd,headersMapper:ph}},requestBody:Gf,queryParameters:[vh],urlParameters:[Nh],headerParameters:[kh,Fh,Vh,$h,tm,rm,nm,Tm,Mm,Pm,Lm,Um,Om,Hm,Wm,jm,Km,$m,Xm,Zm,tf,rf,of,cf,mf,Cf,Lf,Uf,qf,zf,Kf,mC],isXML:true,contentType:"application/xml; charset=utf-8",mediaType:"binary",serializer:Ly};const Oy={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{201:{headersMapper:hh},default:{bodyMapper:gd,headersMapper:mh}},queryParameters:[vh],urlParameters:[Nh],headerParameters:[kh,Fh,Th,Vh,$h,tm,rm,nm,Mm,Pm,Lm,Um,Om,Hm,Wm,jm,Km,$m,Xm,Zm,of,cf,Af,uf,df,gf,pf,hf,mf,Ef,If,Bf,Qf,Lf,rC,nC,sC,mC,fC],isXML:true,serializer:Ly};const Hy={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{201:{headersMapper:fh},default:{bodyMapper:gd,headersMapper:Ch}},requestBody:Gf,queryParameters:[vh,CC,yC],urlParameters:[Nh],headerParameters:[kh,Fh,Vh,tm,Tm,Mm,Pm,Lm,of,Lf,Uf,qf,zf,Kf],isXML:true,contentType:"application/xml; charset=utf-8",mediaType:"binary",serializer:Ly};const _y={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{201:{headersMapper:yh},default:{bodyMapper:gd,headersMapper:Eh}},queryParameters:[vh,CC,yC],urlParameters:[Nh],headerParameters:[kh,Fh,Th,Vh,tm,Mm,Pm,Lm,of,Af,uf,df,gf,Ef,If,Qf,Xf,eC,rC,nC,sC,pC],isXML:true,serializer:Ly};const qy={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{201:{headersMapper:Ih},default:{bodyMapper:gd,headersMapper:Bh}},requestBody:EC,queryParameters:[vh,IC],urlParameters:[Nh],headerParameters:[Sh,Dh,kh,Fh,$h,tm,rm,nm,Mm,Pm,Lm,Um,Om,Hm,Wm,jm,Km,$m,Xm,Zm,tf,rf,of,cf,mf,Cf,Lf,Uf],isXML:true,contentType:"application/xml; charset=utf-8",mediaType:"xml",serializer:Ly};const Gy={path:"/{containerName}/{blob}",httpMethod:"GET",responses:{200:{bodyMapper:Pd,headersMapper:Qh},default:{bodyMapper:gd,headersMapper:bh}},queryParameters:[vh,xm,IC,BC],urlParameters:[Nh],headerParameters:[kh,Fh,Th,tm,Hm],isXML:true,serializer:Ly};class StorageClient extends ExtendedServiceClient{url;version;constructor(e,t){if(e===undefined){throw new Error("'url' cannot be null")}if(!t){t={}}const r={requestContentType:"application/json; charset=utf-8"};const n=`azsdk-js-azure-storage-blob/12.33.0`;const s=t.userAgentOptions&&t.userAgentOptions.userAgentPrefix?`${t.userAgentOptions.userAgentPrefix} ${n}`:`${n}`;const i={...r,...t,userAgentOptions:{userAgentPrefix:s},endpoint:t.endpoint??t.baseUri??"{url}"};super(i);this.url=e;this.version=t.version||"2026-06-06";this.service=new ServiceImpl(this);this.container=new ContainerImpl(this);this.blob=new BlobImpl(this);this.pageBlob=new PageBlobImpl(this);this.appendBlob=new AppendBlobImpl(this);this.blockBlob=new BlockBlobImpl(this)}service;container;blob;pageBlob;appendBlob;blockBlob}class StorageContextClient extends StorageClient{async sendOperationRequest(e,t){const r={...t};if(r.path==="/{containerName}"||r.path==="/{containerName}/{blob}"){r.path=""}return super.sendOperationRequest(e,r)}}const zy=["-secondary-ipv6","-secondary-dualstack","-ipv6","-dualstack","-secondary"];function utils_common_escapeURLPath(e){const t=new URL(e);let r=t.pathname;r=r||"/";r=utils_utils_common_escape(r);t.pathname=r;return t.toString()}function utils_common_getProxyUriFromDevConnString(e){let t="";if(e.search("DevelopmentStorageProxyUri=")!==-1){const r=e.split(";");for(const e of r){if(e.trim().startsWith("DevelopmentStorageProxyUri=")){t=e.trim().match("DevelopmentStorageProxyUri=(.*)")[1]}}}return t}function utils_common_getValueInConnString(e,t){const r=e.split(";");for(const e of r){if(e.trim().startsWith(t)){return e.trim().match(t+"=(.*)")[1]}}return""}function utils_common_extractConnectionStringParts(e){let t="";if(e.startsWith("UseDevelopmentStorage=true")){t=utils_common_getProxyUriFromDevConnString(e);e=$u}let r=utils_common_getValueInConnString(e,"BlobEndpoint");r=r.endsWith("/")?r.slice(0,-1):r;if(e.search("DefaultEndpointsProtocol=")!==-1&&e.search("AccountKey=")!==-1){let n="";let s="";let i=Buffer.from("accountKey","base64");let o="";s=utils_common_getValueInConnString(e,"AccountName");i=Buffer.from(utils_common_getValueInConnString(e,"AccountKey"),"base64");if(!r){n=utils_common_getValueInConnString(e,"DefaultEndpointsProtocol");const t=n.toLowerCase();if(t!=="https"&&t!=="http"){throw new Error("Invalid DefaultEndpointsProtocol in the provided Connection String. Expecting 'https' or 'http'")}o=utils_common_getValueInConnString(e,"EndpointSuffix");if(!o){throw new Error("Invalid EndpointSuffix in the provided Connection String")}r=`${n}://${s}.blob.${o}`}if(!s){throw new Error("Invalid AccountName in the provided Connection String")}else if(i.length===0){throw new Error("Invalid AccountKey in the provided Connection String")}return{kind:"AccountConnString",url:r,accountName:s,accountKey:i,proxyUri:t}}else{let t=utils_common_getValueInConnString(e,"SharedAccessSignature");let n=utils_common_getValueInConnString(e,"AccountName");if(!n){n=utils_common_getAccountNameFromUrl(r)}if(!r){throw new Error("Invalid BlobEndpoint in the provided SAS Connection String")}else if(!t){throw new Error("Invalid SharedAccessSignature in the provided SAS Connection String")}if(t.startsWith("?")){t=t.substring(1)}return{kind:"SASConnString",url:r,accountName:n,accountSas:t}}}function utils_utils_common_escape(e){return encodeURIComponent(e).replace(/%2F/g,"/").replace(/'/g,"%27").replace(/\+/g,"%20").replace(/%25/g,"%")}function utils_common_appendToURLPath(e,t){const r=new URL(e);let n=r.pathname;n=n?n.endsWith("/")?`${n}${t}`:`${n}/${t}`:t;r.pathname=n;return r.toString()}function utils_common_setURLParameter(e,t,r){const n=new URL(e);const s=encodeURIComponent(t);const i=r?encodeURIComponent(r):undefined;const o=n.search===""?"?":n.search;const a=[];for(const e of o.slice(1).split("&")){if(e){const[t]=e.split("=",2);if(t!==s){a.push(e)}}}if(i){a.push(`${s}=${i}`)}n.search=a.length?`?${a.join("&")}`:"";return n.toString()}function utils_common_getURLParameter(e,t){const r=new URL(e);return r.searchParams.get(t)??undefined}function utils_common_setURLHost(e,t){const r=new URL(e);r.hostname=t;return r.toString()}function utils_common_getURLPath(e){try{const t=new URL(e);return t.pathname}catch(e){return undefined}}function utils_common_getURLScheme(e){try{const t=new URL(e);return t.protocol.endsWith(":")?t.protocol.slice(0,-1):t.protocol}catch(e){return undefined}}function utils_common_getURLPathAndQuery(e){const t=new URL(e);const r=t.pathname;if(!r){throw new RangeError("Invalid url without valid path.")}let n=t.search||"";n=n.trim();if(n!==""){n=n.startsWith("?")?n:`?${n}`}return`${r}${n}`}function utils_common_getURLQueries(e){let t=new URL(e).search;if(!t){return{}}t=t.trim();t=t.startsWith("?")?t.substring(1):t;let r=t.split("&");r=r.filter((e=>{const t=e.indexOf("=");const r=e.lastIndexOf("=");return t>0&&t===r&&r<e.length-1}));const n={};for(const e of r){const t=e.split("=");const r=t[0];const s=t[1];n[r]=s}return n}function utils_common_appendToURLQuery(e,t){const r=new URL(e);let n=r.search;if(n){n+="&"+t}else{n=t}r.search=n;return r.toString()}function utils_common_truncatedISO8061Date(e,t=true){const r=e.toISOString();return t?r.substring(0,r.length-1)+"0000"+"Z":r.substring(0,r.length-5)+"Z"}function base64encode(e){return!hc?btoa(e):Buffer.from(e).toString("base64")}function base64decode(e){return!isNodeLike?atob(e):Buffer.from(e,"base64").toString()}function utils_common_generateBlockID(e,t){const r=48;const n=6;const s=r-n;if(e.length>s){e=e.slice(0,s)}const i=e+utils_utils_common_padStart(t.toString(),r-e.length,"0");return base64encode(i)}async function utils_utils_common_delay(e,t,r){return new Promise(((n,s)=>{let i;const abortHandler=()=>{if(i!==undefined){clearTimeout(i)}s(r)};const resolveHandler=()=>{if(t!==undefined){t.removeEventListener("abort",abortHandler)}n()};i=setTimeout(resolveHandler,e);if(t!==undefined){t.addEventListener("abort",abortHandler)}}))}function utils_utils_common_padStart(e,t,r=" "){if(String.prototype.padStart){return e.padStart(t,r)}r=r||" ";if(e.length>t){return e}else{t=t-e.length;if(t>r.length){r+=r.repeat(t/r.length)}return r.slice(0,t)+e}}function utils_common_sanitizeURL(e){let t=e;if(utils_common_getURLParameter(t,URLConstants.Parameters.SIGNATURE)){t=utils_common_setURLParameter(t,URLConstants.Parameters.SIGNATURE,"*****")}return t}function utils_common_sanitizeHeaders(e){const t=createHttpHeaders();for(const[r,n]of e){if(r.toLowerCase()===HeaderConstants.AUTHORIZATION.toLowerCase()){t.set(r,"*****")}else if(r.toLowerCase()===HeaderConstants.X_MS_COPY_SOURCE){t.set(r,utils_common_sanitizeURL(n))}else{t.set(r,n)}}return t}function utils_common_iEqual(e,t){return e.toLocaleLowerCase()===t.toLocaleLowerCase()}function utils_common_getAccountNameFromUrl(e){const t=new URL(e);let r;try{if(t.hostname.split(".")[1]==="blob"){r=t.hostname.split(".")[0];for(let e=0;e<zy.length;++e){const t=zy[e];if(r.endsWith(t)){r=r.substring(0,r.length-t.length);break}}}else if(utils_common_isIpEndpointStyle(t)){r=t.pathname.split("/")[1]}else{r=""}return r}catch(e){throw new Error("Unable to extract accountName with provided information.")}}function utils_common_isIpEndpointStyle(e){const t=e.host;return/^.*:.*:.*$|^(localhost|host.docker.internal)(:[0-9]+)?$|^(\d|[1-9]\d|1\d\d|2[0-4]\d|25[0-5])(\.(\d|[1-9]\d|1\d\d|2[0-4]\d|25[0-5])){3}(:[0-9]+)?$/.test(t)||Boolean(e.port)&&rd.includes(e.port)}function toBlobTagsString(e){if(e===undefined){return undefined}const t=[];for(const r in e){if(Object.prototype.hasOwnProperty.call(e,r)){const n=e[r];t.push(`${encodeURIComponent(r)}=${encodeURIComponent(n)}`)}}return t.join("&")}function toBlobTags(e){if(e===undefined){return undefined}const t={blobTagSet:[]};for(const r in e){if(Object.prototype.hasOwnProperty.call(e,r)){const n=e[r];t.blobTagSet.push({key:r,value:n})}}return t}function toTags(e){if(e===undefined){return undefined}const t={};for(const r of e.blobTagSet){t[r.key]=r.value}return t}function toQuerySerialization(e){if(e===undefined){return undefined}switch(e.kind){case"csv":return{format:{type:"delimited",delimitedTextConfiguration:{columnSeparator:e.columnSeparator||",",fieldQuote:e.fieldQuote||"",recordSeparator:e.recordSeparator,escapeChar:e.escapeCharacter||"",headersPresent:e.hasHeaders||false}}};case"json":return{format:{type:"json",jsonTextConfiguration:{recordSeparator:e.recordSeparator}}};case"arrow":return{format:{type:"arrow",arrowConfiguration:{schema:e.schema}}};case"parquet":return{format:{type:"parquet"}};default:throw Error("Invalid BlobQueryTextConfiguration.")}}function parseObjectReplicationRecord(e){if(!e){return undefined}if("policy-id"in e){return undefined}const t=[];for(const r in e){const n=r.split("_");const s="or-";if(n[0].startsWith(s)){n[0]=n[0].substring(s.length)}const i={ruleId:n[1],replicationStatus:e[r]};const o=t.findIndex((e=>e.policyId===n[0]));if(o>-1){t[o].rules.push(i)}else{t.push({policyId:n[0],rules:[i]})}}return t}function utils_common_attachCredential(e,t){e.credential=t;return e}function utils_common_httpAuthorizationToString(e){return e?e.scheme+" "+e.value:undefined}function BlobNameToString(e){if(e.encoded){return decodeURIComponent(e.content)}else{return e.content}}function ConvertInternalResponseOfListBlobFlat(e){return{...e,segment:{blobItems:e.segment.blobItems.map((e=>{const t={...e,name:BlobNameToString(e.name)};return t}))}}}function ConvertInternalResponseOfListBlobHierarchy(e){return{...e,segment:{blobPrefixes:e.segment.blobPrefixes?.map((e=>{const t={...e,name:BlobNameToString(e.name)};return t})),blobItems:e.segment.blobItems.map((e=>{const t={...e,name:BlobNameToString(e.name)};return t}))}}}function*ExtractPageRangeInfoItems(e){let t=[];let r=[];if(e.pageRange)t=e.pageRange;if(e.clearRange)r=e.clearRange;let n=0;let s=0;while(n<t.length&&s<r.length){if(t[n].start<r[s].start){yield{start:t[n].start,end:t[n].end,isClear:false};++n}else{yield{start:r[s].start,end:r[s].end,isClear:true};++s}}for(;n<t.length;++n){yield{start:t[n].start,end:t[n].end,isClear:false}}for(;s<r.length;++s){yield{start:r[s].start,end:r[s].end,isClear:true}}}function utils_common_EscapePath(e){const t=e.split("/");for(let e=0;e<t.length;e++){t[e]=encodeURIComponent(t[e])}return t.join("/")}function utils_common_assertResponse(e){if(`_response`in e){return e}throw new TypeError(`Unexpected response object ${e}`)}async function setUploadChecksumParameters(e,t,r,n,s){let i=n.contentChecksumAlgorithm??s;if(i===undefined){i="Customized"}if(i==="Auto"){i="StorageCrc64"}let o=undefined;if(i==="Customized"){r.transactionalContentMD5=n.transactionalContentMD5;r.transactionalContentCrc64=n.transactionalContentCrc64}else if(i==="StorageCrc64"){await StorageCRC64Calculator.init();o=await structuredMessageEncoding(e,t);r.structuredBodyType="XSM/1.0; properties=crc64";r.structuredContentLength=t}return{body:i==="StorageCrc64"?o.body:e,contentLength:i==="StorageCrc64"?o.encodedContentLength:t,contentChecksumAlgorithm:i}}class StorageClient_StorageClient{url;accountName;pipeline;credential;storageClientContext;isHttps;constructor(e,t){this.url=utils_common_escapeURLPath(e);this.accountName=utils_common_getAccountNameFromUrl(e);this.pipeline=t;this.storageClientContext=new StorageContextClient(this.url,getCoreClientOptions(t));this.isHttps=utils_common_iEqual(utils_common_getURLScheme(this.url)||"","https");this.credential=getCredentialFromPipeline(t);const r=this.storageClientContext;r.requestContentType=undefined}}const Yy=createTracingClient({packageName:"@azure/storage-blob",packageVersion:Ru,namespace:"Microsoft.Storage"});class BlobSASPermissions{static parse(e){const t=new BlobSASPermissions;for(const r of e){switch(r){case"r":t.read=true;break;case"a":t.add=true;break;case"c":t.create=true;break;case"w":t.write=true;break;case"d":t.delete=true;break;case"x":t.deleteVersion=true;break;case"t":t.tag=true;break;case"m":t.move=true;break;case"e":t.execute=true;break;case"i":t.setImmutabilityPolicy=true;break;case"y":t.permanentDelete=true;break;default:throw new RangeError(`Invalid permission: ${r}`)}}return t}static from(e){const t=new BlobSASPermissions;if(e.read){t.read=true}if(e.add){t.add=true}if(e.create){t.create=true}if(e.write){t.write=true}if(e.delete){t.delete=true}if(e.deleteVersion){t.deleteVersion=true}if(e.tag){t.tag=true}if(e.move){t.move=true}if(e.execute){t.execute=true}if(e.setImmutabilityPolicy){t.setImmutabilityPolicy=true}if(e.permanentDelete){t.permanentDelete=true}return t}read=false;add=false;create=false;write=false;delete=false;deleteVersion=false;tag=false;move=false;execute=false;setImmutabilityPolicy=false;permanentDelete=false;toString(){const e=[];if(this.read){e.push("r")}if(this.add){e.push("a")}if(this.create){e.push("c")}if(this.write){e.push("w")}if(this.delete){e.push("d")}if(this.deleteVersion){e.push("x")}if(this.tag){e.push("t")}if(this.move){e.push("m")}if(this.execute){e.push("e")}if(this.setImmutabilityPolicy){e.push("i")}if(this.permanentDelete){e.push("y")}return e.join("")}}class ContainerSASPermissions{static parse(e){const t=new ContainerSASPermissions;for(const r of e){switch(r){case"r":t.read=true;break;case"a":t.add=true;break;case"c":t.create=true;break;case"w":t.write=true;break;case"d":t.delete=true;break;case"l":t.list=true;break;case"t":t.tag=true;break;case"x":t.deleteVersion=true;break;case"m":t.move=true;break;case"e":t.execute=true;break;case"i":t.setImmutabilityPolicy=true;break;case"y":t.permanentDelete=true;break;case"f":t.filterByTags=true;break;default:throw new RangeError(`Invalid permission ${r}`)}}return t}static from(e){const t=new ContainerSASPermissions;if(e.read){t.read=true}if(e.add){t.add=true}if(e.create){t.create=true}if(e.write){t.write=true}if(e.delete){t.delete=true}if(e.list){t.list=true}if(e.deleteVersion){t.deleteVersion=true}if(e.tag){t.tag=true}if(e.move){t.move=true}if(e.execute){t.execute=true}if(e.setImmutabilityPolicy){t.setImmutabilityPolicy=true}if(e.permanentDelete){t.permanentDelete=true}if(e.filterByTags){t.filterByTags=true}return t}read=false;add=false;create=false;write=false;delete=false;deleteVersion=false;list=false;tag=false;move=false;execute=false;setImmutabilityPolicy=false;permanentDelete=false;filterByTags=false;toString(){const e=[];if(this.read){e.push("r")}if(this.add){e.push("a")}if(this.create){e.push("c")}if(this.write){e.push("w")}if(this.delete){e.push("d")}if(this.deleteVersion){e.push("x")}if(this.list){e.push("l")}if(this.tag){e.push("t")}if(this.move){e.push("m")}if(this.execute){e.push("e")}if(this.setImmutabilityPolicy){e.push("i")}if(this.permanentDelete){e.push("y")}if(this.filterByTags){e.push("f")}return e.join("")}}function ipRangeToString(e){return e.end?`${e.start}-${e.end}`:e.start}var Vy;(function(e){e["Https"]="https";e["HttpsAndHttp"]="https,http"})(Vy||(Vy={}));class SASQueryParameters{version;protocol;startsOn;expiresOn;permissions;services;resourceTypes;identifier;delegatedUserObjectId;encryptionScope;resource;signature;cacheControl;contentDisposition;contentEncoding;contentLanguage;contentType;ipRangeInner;signedOid;signedTenantId;signedStartsOn;signedExpiresOn;signedService;signedVersion;signedDelegatedUserTid;preauthorizedAgentObjectId;correlationId;requestHeaderKeys;requestQueryParameterKeys;directoryDepth;get ipRange(){if(this.ipRangeInner){return{end:this.ipRangeInner.end,start:this.ipRangeInner.start}}return undefined}constructor(e,t,r,n,s,i,o,a,c,l,A,u,d,g,p,h,m,f,C,y,E,I,B,Q){this.version=e;this.signature=t;if(r!==undefined&&typeof r!=="string"){this.permissions=r.permissions;this.services=r.services;this.resourceTypes=r.resourceTypes;this.protocol=r.protocol;this.startsOn=r.startsOn;this.expiresOn=r.expiresOn;this.ipRangeInner=r.ipRange;this.identifier=r.identifier;this.delegatedUserObjectId=r.delegatedUserObjectId;this.encryptionScope=r.encryptionScope;this.resource=r.resource;this.cacheControl=r.cacheControl;this.contentDisposition=r.contentDisposition;this.contentEncoding=r.contentEncoding;this.contentLanguage=r.contentLanguage;this.contentType=r.contentType;this.requestHeaderKeys=r.requestHeaderKeys;this.requestQueryParameterKeys=r.requestQueryParameterKeys;this.directoryDepth=r.directoryDepth;if(r.userDelegationKey){this.signedOid=r.userDelegationKey.signedObjectId;this.signedTenantId=r.userDelegationKey.signedTenantId;this.signedStartsOn=r.userDelegationKey.signedStartsOn;this.signedExpiresOn=r.userDelegationKey.signedExpiresOn;this.signedService=r.userDelegationKey.signedService;this.signedVersion=r.userDelegationKey.signedVersion;this.signedDelegatedUserTid=r.userDelegationKey.signedDelegatedUserTenantId;this.preauthorizedAgentObjectId=r.preauthorizedAgentObjectId;this.correlationId=r.correlationId}}else{this.services=n;this.resourceTypes=s;this.expiresOn=a;this.permissions=r;this.protocol=i;this.startsOn=o;this.ipRangeInner=c;this.delegatedUserObjectId=E;this.encryptionScope=y;this.identifier=l;this.resource=A;this.cacheControl=u;this.contentDisposition=d;this.contentEncoding=g;this.contentLanguage=p;this.contentType=h;this.requestHeaderKeys=I;this.requestQueryParameterKeys=B;this.directoryDepth=Q;if(m){this.signedOid=m.signedObjectId;this.signedTenantId=m.signedTenantId;this.signedStartsOn=m.signedStartsOn;this.signedExpiresOn=m.signedExpiresOn;this.signedService=m.signedService;this.signedVersion=m.signedVersion;this.signedDelegatedUserTid=m.signedDelegatedUserTenantId;this.preauthorizedAgentObjectId=f;this.correlationId=C}}}toString(){const e=["sv","ss","srt","spr","st","se","sip","si","ses","skoid","sktid","skt","ske","sks","skv","sr","sp","rscc","rscd","rsce","rscl","rsct","saoid","scid","sdd","sduoid","skdutid","srh","srq","sig"];const t=[];for(const r of e){switch(r){case"sv":this.tryAppendQueryParameter(t,r,this.version);break;case"ss":this.tryAppendQueryParameter(t,r,this.services);break;case"srt":this.tryAppendQueryParameter(t,r,this.resourceTypes);break;case"spr":this.tryAppendQueryParameter(t,r,this.protocol);break;case"st":this.tryAppendQueryParameter(t,r,this.startsOn?utils_common_truncatedISO8061Date(this.startsOn,false):undefined);break;case"se":this.tryAppendQueryParameter(t,r,this.expiresOn?utils_common_truncatedISO8061Date(this.expiresOn,false):undefined);break;case"sip":this.tryAppendQueryParameter(t,r,this.ipRange?ipRangeToString(this.ipRange):undefined);break;case"si":this.tryAppendQueryParameter(t,r,this.identifier);break;case"ses":this.tryAppendQueryParameter(t,r,this.encryptionScope);break;case"skoid":this.tryAppendQueryParameter(t,r,this.signedOid);break;case"sktid":this.tryAppendQueryParameter(t,r,this.signedTenantId);break;case"skt":this.tryAppendQueryParameter(t,r,this.signedStartsOn?utils_common_truncatedISO8061Date(this.signedStartsOn,false):undefined);break;case"ske":this.tryAppendQueryParameter(t,r,this.signedExpiresOn?utils_common_truncatedISO8061Date(this.signedExpiresOn,false):undefined);break;case"sks":this.tryAppendQueryParameter(t,r,this.signedService);break;case"skv":this.tryAppendQueryParameter(t,r,this.signedVersion);break;case"skdutid":this.tryAppendQueryParameter(t,r,this.signedDelegatedUserTid);break;case"sr":this.tryAppendQueryParameter(t,r,this.resource);break;case"sp":this.tryAppendQueryParameter(t,r,this.permissions);break;case"sig":this.tryAppendQueryParameter(t,r,this.signature);break;case"rscc":this.tryAppendQueryParameter(t,r,this.cacheControl);break;case"rscd":this.tryAppendQueryParameter(t,r,this.contentDisposition);break;case"rsce":this.tryAppendQueryParameter(t,r,this.contentEncoding);break;case"rscl":this.tryAppendQueryParameter(t,r,this.contentLanguage);break;case"rsct":this.tryAppendQueryParameter(t,r,this.contentType);break;case"saoid":this.tryAppendQueryParameter(t,r,this.preauthorizedAgentObjectId);break;case"scid":this.tryAppendQueryParameter(t,r,this.correlationId);break;case"sduoid":this.tryAppendQueryParameter(t,r,this.delegatedUserObjectId);break;case"srh":this.tryAppendQueryParameter(t,r,this.requestHeaderKeys);break;case"srq":this.tryAppendQueryParameter(t,r,this.requestQueryParameterKeys);break;case"sdd":this.tryAppendQueryParameter(t,r,this.directoryDepth!==undefined?this.directoryDepth.toString():"");break}}return t.join("&")}tryAppendQueryParameter(e,t,r){if(!r){return}t=encodeURIComponent(t);r=encodeURIComponent(r);if(t.length>0&&r.length>0){e.push(`${t}=${r}`)}}}function generateBlobSASQueryParameters(e,t,r){return generateBlobSASQueryParametersInternal(e,t,r).sasQueryParameters}function generateBlobSASQueryParametersInternal(e,t,r){const n=e.version?e.version:vu;const s=t instanceof StorageSharedKeyCredential?t:undefined;let i;if(s===undefined&&r!==undefined){i=new UserDelegationKeyCredential(r,t)}if(s===undefined&&i===undefined){throw TypeError("Invalid sharedKeyCredential, userDelegationKey or accountName.")}if(n>="2020-12-06"){if(s!==undefined){return generateBlobSASQueryParameters20201206(e,s)}else{if(n>="2026-04-06"){return generateBlobSASQueryParametersUDK20260406(e,i)}else if(n>="2025-07-05"){return generateBlobSASQueryParametersUDK20250705(e,i)}else{return generateBlobSASQueryParametersUDK20201206(e,i)}}}if(n>="2018-11-09"){if(s!==undefined){if(n>="2020-02-10"){return generateBlobSASQueryParameters20200210(e,s)}else{return generateBlobSASQueryParameters20181109(e,s)}}else{if(n>="2020-02-10"){return generateBlobSASQueryParametersUDK20200210(e,i)}else{return generateBlobSASQueryParametersUDK20181109(e,i)}}}if(n>="2015-04-05"){if(s!==undefined){return generateBlobSASQueryParameters20150405(e,s)}else{throw new RangeError("'version' must be >= '2018-11-09' when generating user delegation SAS using user delegation key.")}}throw new RangeError("'version' must be >= '2015-04-05'.")}function generateBlobSASQueryParameters20150405(e,t){e=SASSignatureValuesSanityCheckAndAutofill(e);if(!e.identifier&&!(e.permissions&&e.expiresOn)){throw new RangeError("Must provide 'permissions' and 'expiresOn' for Blob SAS generation when 'identifier' is not provided.")}let r="c";if(e.blobName){r="b"}let n;if(e.permissions){if(e.blobName){n=BlobSASPermissions.parse(e.permissions.toString()).toString()}else{n=ContainerSASPermissions.parse(e.permissions.toString()).toString()}}const s=[n?n:"",e.startsOn?utils_common_truncatedISO8061Date(e.startsOn,false):"",e.expiresOn?utils_common_truncatedISO8061Date(e.expiresOn,false):"",getCanonicalName(t.accountName,e.containerName,e.blobName),e.identifier,e.ipRange?ipRangeToString(e.ipRange):"",e.protocol?e.protocol:"",e.version,e.cacheControl?e.cacheControl:"",e.contentDisposition?e.contentDisposition:"",e.contentEncoding?e.contentEncoding:"",e.contentLanguage?e.contentLanguage:"",e.contentType?e.contentType:""].join("\n");const i=t.computeHMACSHA256(s);return{sasQueryParameters:new SASQueryParameters(e.version,i,n,undefined,undefined,e.protocol,e.startsOn,e.expiresOn,e.ipRange,e.identifier,r,e.cacheControl,e.contentDisposition,e.contentEncoding,e.contentLanguage,e.contentType),stringToSign:s}}function generateBlobSASQueryParameters20181109(e,t){e=SASSignatureValuesSanityCheckAndAutofill(e);if(!e.identifier&&!(e.permissions&&e.expiresOn)){throw new RangeError("Must provide 'permissions' and 'expiresOn' for Blob SAS generation when 'identifier' is not provided.")}let r="c";let n=e.snapshotTime;if(e.blobName){r="b";if(e.snapshotTime){r="bs"}else if(e.versionId){r="bv";n=e.versionId}}let s;if(e.permissions){if(e.blobName){s=BlobSASPermissions.parse(e.permissions.toString()).toString()}else{s=ContainerSASPermissions.parse(e.permissions.toString()).toString()}}const i=[s?s:"",e.startsOn?utils_common_truncatedISO8061Date(e.startsOn,false):"",e.expiresOn?utils_common_truncatedISO8061Date(e.expiresOn,false):"",getCanonicalName(t.accountName,e.containerName,e.blobName),e.identifier,e.ipRange?ipRangeToString(e.ipRange):"",e.protocol?e.protocol:"",e.version,r,n,e.cacheControl?e.cacheControl:"",e.contentDisposition?e.contentDisposition:"",e.contentEncoding?e.contentEncoding:"",e.contentLanguage?e.contentLanguage:"",e.contentType?e.contentType:""].join("\n");const o=t.computeHMACSHA256(i);return{sasQueryParameters:new SASQueryParameters(e.version,o,s,undefined,undefined,e.protocol,e.startsOn,e.expiresOn,e.ipRange,e.identifier,r,e.cacheControl,e.contentDisposition,e.contentEncoding,e.contentLanguage,e.contentType),stringToSign:i}}function generateBlobSASQueryParameters20200210(e,t){e=SASSignatureValuesSanityCheckAndAutofill(e);if(!e.identifier&&!(e.permissions&&e.expiresOn)){throw new RangeError("Must provide 'permissions' and 'expiresOn' for Blob SAS generation when 'identifier' is not provided.")}let r="c";let n=e.snapshotTime;let s=undefined;if(e.blobName){if(e.isDirectory===true){r="d";s=trimBlobName(e.blobName).split("/").length}else{r="b";if(e.snapshotTime){r="bs"}else if(e.versionId){r="bv";n=e.versionId}}}let i;if(e.permissions){if(e.blobName){i=BlobSASPermissions.parse(e.permissions.toString()).toString()}else{i=ContainerSASPermissions.parse(e.permissions.toString()).toString()}}const o=[i?i:"",e.startsOn?utils_common_truncatedISO8061Date(e.startsOn,false):"",e.expiresOn?utils_common_truncatedISO8061Date(e.expiresOn,false):"",getCanonicalName(t.accountName,e.containerName,e.blobName),e.identifier,e.ipRange?ipRangeToString(e.ipRange):"",e.protocol?e.protocol:"",e.version,r,n,e.cacheControl?e.cacheControl:"",e.contentDisposition?e.contentDisposition:"",e.contentEncoding?e.contentEncoding:"",e.contentLanguage?e.contentLanguage:"",e.contentType?e.contentType:""].join("\n");const a=t.computeHMACSHA256(o);return{sasQueryParameters:new SASQueryParameters(e.version,a,i,undefined,undefined,e.protocol,e.startsOn,e.expiresOn,e.ipRange,e.identifier,r,e.cacheControl,e.contentDisposition,e.contentEncoding,e.contentLanguage,e.contentType,undefined,undefined,undefined,undefined,undefined,undefined,undefined,s),stringToSign:o}}function generateBlobSASQueryParameters20201206(e,t){e=SASSignatureValuesSanityCheckAndAutofill(e);if(!e.identifier&&!(e.permissions&&e.expiresOn)){throw new RangeError("Must provide 'permissions' and 'expiresOn' for Blob SAS generation when 'identifier' is not provided.")}let r="c";let n=e.snapshotTime;let s=undefined;if(e.blobName){if(e.isDirectory===true){r="d";s=trimBlobName(e.blobName).split("/").length}else{r="b";if(e.snapshotTime){r="bs"}else if(e.versionId){r="bv";n=e.versionId}}}let i;if(e.permissions){if(e.blobName){i=BlobSASPermissions.parse(e.permissions.toString()).toString()}else{i=ContainerSASPermissions.parse(e.permissions.toString()).toString()}}const o=[i?i:"",e.startsOn?utils_common_truncatedISO8061Date(e.startsOn,false):"",e.expiresOn?utils_common_truncatedISO8061Date(e.expiresOn,false):"",getCanonicalName(t.accountName,e.containerName,e.blobName),e.identifier,e.ipRange?ipRangeToString(e.ipRange):"",e.protocol?e.protocol:"",e.version,r,n,e.encryptionScope,e.cacheControl?e.cacheControl:"",e.contentDisposition?e.contentDisposition:"",e.contentEncoding?e.contentEncoding:"",e.contentLanguage?e.contentLanguage:"",e.contentType?e.contentType:""].join("\n");const a=t.computeHMACSHA256(o);return{sasQueryParameters:new SASQueryParameters(e.version,a,i,undefined,undefined,e.protocol,e.startsOn,e.expiresOn,e.ipRange,e.identifier,r,e.cacheControl,e.contentDisposition,e.contentEncoding,e.contentLanguage,e.contentType,undefined,undefined,undefined,e.encryptionScope,undefined,undefined,undefined,s),stringToSign:o}}function generateBlobSASQueryParametersUDK20181109(e,t){e=SASSignatureValuesSanityCheckAndAutofill(e);if(!e.permissions||!e.expiresOn){throw new RangeError("Must provide 'permissions' and 'expiresOn' for Blob SAS generation when generating user delegation SAS.")}let r="c";let n=e.snapshotTime;if(e.blobName){r="b";if(e.snapshotTime){r="bs"}else if(e.versionId){r="bv";n=e.versionId}}let s;if(e.permissions){if(e.blobName){s=BlobSASPermissions.parse(e.permissions.toString()).toString()}else{s=ContainerSASPermissions.parse(e.permissions.toString()).toString()}}const i=[s?s:"",e.startsOn?utils_common_truncatedISO8061Date(e.startsOn,false):"",e.expiresOn?utils_common_truncatedISO8061Date(e.expiresOn,false):"",getCanonicalName(t.accountName,e.containerName,e.blobName),t.userDelegationKey.signedObjectId,t.userDelegationKey.signedTenantId,t.userDelegationKey.signedStartsOn?utils_common_truncatedISO8061Date(t.userDelegationKey.signedStartsOn,false):"",t.userDelegationKey.signedExpiresOn?utils_common_truncatedISO8061Date(t.userDelegationKey.signedExpiresOn,false):"",t.userDelegationKey.signedService,t.userDelegationKey.signedVersion,e.ipRange?ipRangeToString(e.ipRange):"",e.protocol?e.protocol:"",e.version,r,n,e.cacheControl,e.contentDisposition,e.contentEncoding,e.contentLanguage,e.contentType].join("\n");const o=t.computeHMACSHA256(i);return{sasQueryParameters:new SASQueryParameters(e.version,o,s,undefined,undefined,e.protocol,e.startsOn,e.expiresOn,e.ipRange,e.identifier,r,e.cacheControl,e.contentDisposition,e.contentEncoding,e.contentLanguage,e.contentType,t.userDelegationKey),stringToSign:i}}function generateBlobSASQueryParametersUDK20200210(e,t){e=SASSignatureValuesSanityCheckAndAutofill(e);if(!e.permissions||!e.expiresOn){throw new RangeError("Must provide 'permissions' and 'expiresOn' for Blob SAS generation when generating user delegation SAS.")}let r="c";let n=e.snapshotTime;let s=undefined;if(e.blobName){if(e.isDirectory===true){r="d";s=trimBlobName(e.blobName).split("/").length}else{r="b";if(e.snapshotTime){r="bs"}else if(e.versionId){r="bv";n=e.versionId}}}let i;if(e.permissions){if(e.blobName){i=BlobSASPermissions.parse(e.permissions.toString()).toString()}else{i=ContainerSASPermissions.parse(e.permissions.toString()).toString()}}const o=[i?i:"",e.startsOn?utils_common_truncatedISO8061Date(e.startsOn,false):"",e.expiresOn?utils_common_truncatedISO8061Date(e.expiresOn,false):"",getCanonicalName(t.accountName,e.containerName,e.blobName),t.userDelegationKey.signedObjectId,t.userDelegationKey.signedTenantId,t.userDelegationKey.signedStartsOn?utils_common_truncatedISO8061Date(t.userDelegationKey.signedStartsOn,false):"",t.userDelegationKey.signedExpiresOn?utils_common_truncatedISO8061Date(t.userDelegationKey.signedExpiresOn,false):"",t.userDelegationKey.signedService,t.userDelegationKey.signedVersion,e.preauthorizedAgentObjectId,undefined,e.correlationId,e.ipRange?ipRangeToString(e.ipRange):"",e.protocol?e.protocol:"",e.version,r,n,e.cacheControl,e.contentDisposition,e.contentEncoding,e.contentLanguage,e.contentType].join("\n");const a=t.computeHMACSHA256(o);return{sasQueryParameters:new SASQueryParameters(e.version,a,i,undefined,undefined,e.protocol,e.startsOn,e.expiresOn,e.ipRange,e.identifier,r,e.cacheControl,e.contentDisposition,e.contentEncoding,e.contentLanguage,e.contentType,t.userDelegationKey,e.preauthorizedAgentObjectId,e.correlationId,undefined,undefined,undefined,undefined,s),stringToSign:o}}function generateBlobSASQueryParametersUDK20201206(e,t){e=SASSignatureValuesSanityCheckAndAutofill(e);if(!e.permissions||!e.expiresOn){throw new RangeError("Must provide 'permissions' and 'expiresOn' for Blob SAS generation when generating user delegation SAS.")}let r="c";let n=e.snapshotTime;let s=undefined;if(e.blobName){if(e.isDirectory===true){r="d";s=trimBlobName(e.blobName).split("/").length}else{r="b";if(e.snapshotTime){r="bs"}else if(e.versionId){r="bv";n=e.versionId}}}let i;if(e.permissions){if(e.blobName){i=BlobSASPermissions.parse(e.permissions.toString()).toString()}else{i=ContainerSASPermissions.parse(e.permissions.toString()).toString()}}const o=[i?i:"",e.startsOn?utils_common_truncatedISO8061Date(e.startsOn,false):"",e.expiresOn?utils_common_truncatedISO8061Date(e.expiresOn,false):"",getCanonicalName(t.accountName,e.containerName,e.blobName),t.userDelegationKey.signedObjectId,t.userDelegationKey.signedTenantId,t.userDelegationKey.signedStartsOn?utils_common_truncatedISO8061Date(t.userDelegationKey.signedStartsOn,false):"",t.userDelegationKey.signedExpiresOn?utils_common_truncatedISO8061Date(t.userDelegationKey.signedExpiresOn,false):"",t.userDelegationKey.signedService,t.userDelegationKey.signedVersion,e.preauthorizedAgentObjectId,undefined,e.correlationId,e.ipRange?ipRangeToString(e.ipRange):"",e.protocol?e.protocol:"",e.version,r,n,e.encryptionScope,e.cacheControl,e.contentDisposition,e.contentEncoding,e.contentLanguage,e.contentType].join("\n");const a=t.computeHMACSHA256(o);return{sasQueryParameters:new SASQueryParameters(e.version,a,i,undefined,undefined,e.protocol,e.startsOn,e.expiresOn,e.ipRange,e.identifier,r,e.cacheControl,e.contentDisposition,e.contentEncoding,e.contentLanguage,e.contentType,t.userDelegationKey,e.preauthorizedAgentObjectId,e.correlationId,e.encryptionScope,undefined,undefined,undefined,s),stringToSign:o}}function generateBlobSASQueryParametersUDK20250705(e,t){e=SASSignatureValuesSanityCheckAndAutofill(e);if(!e.permissions||!e.expiresOn){throw new RangeError("Must provide 'permissions' and 'expiresOn' for Blob SAS generation when generating user delegation SAS.")}let r="c";let n=e.snapshotTime;let s=undefined;if(e.blobName){if(e.isDirectory===true){r="d";s=trimBlobName(e.blobName).split("/").length}else{r="b";if(e.snapshotTime){r="bs"}else if(e.versionId){r="bv";n=e.versionId}}}let i;if(e.permissions){if(e.blobName){i=BlobSASPermissions.parse(e.permissions.toString()).toString()}else{i=ContainerSASPermissions.parse(e.permissions.toString()).toString()}}const o=[i?i:"",e.startsOn?utils_common_truncatedISO8061Date(e.startsOn,false):"",e.expiresOn?utils_common_truncatedISO8061Date(e.expiresOn,false):"",getCanonicalName(t.accountName,e.containerName,e.blobName),t.userDelegationKey.signedObjectId,t.userDelegationKey.signedTenantId,t.userDelegationKey.signedStartsOn?utils_common_truncatedISO8061Date(t.userDelegationKey.signedStartsOn,false):"",t.userDelegationKey.signedExpiresOn?utils_common_truncatedISO8061Date(t.userDelegationKey.signedExpiresOn,false):"",t.userDelegationKey.signedService,t.userDelegationKey.signedVersion,e.preauthorizedAgentObjectId,undefined,e.correlationId,t.userDelegationKey.signedDelegatedUserTenantId,e.delegatedUserObjectId,e.ipRange?ipRangeToString(e.ipRange):"",e.protocol?e.protocol:"",e.version,r,n,e.encryptionScope,e.cacheControl,e.contentDisposition,e.contentEncoding,e.contentLanguage,e.contentType].join("\n");const a=t.computeHMACSHA256(o);return{sasQueryParameters:new SASQueryParameters(e.version,a,i,undefined,undefined,e.protocol,e.startsOn,e.expiresOn,e.ipRange,e.identifier,r,e.cacheControl,e.contentDisposition,e.contentEncoding,e.contentLanguage,e.contentType,t.userDelegationKey,e.preauthorizedAgentObjectId,e.correlationId,e.encryptionScope,e.delegatedUserObjectId,undefined,undefined,s),stringToSign:o}}function generateBlobSASQueryParametersUDK20260406(e,t){e=SASSignatureValuesSanityCheckAndAutofill(e);if(!e.permissions||!e.expiresOn){throw new RangeError("Must provide 'permissions' and 'expiresOn' for Blob SAS generation when generating user delegation SAS.")}let r="c";let n=e.snapshotTime;let s=undefined;if(e.blobName){if(e.isDirectory===true){r="d";s=trimBlobName(e.blobName).split("/").length}else{r="b";if(e.snapshotTime){r="bs"}else if(e.versionId){r="bv";n=e.versionId}}}let i;if(e.permissions){if(e.blobName){i=BlobSASPermissions.parse(e.permissions.toString()).toString()}else{i=ContainerSASPermissions.parse(e.permissions.toString()).toString()}}const o=[i?i:"",e.startsOn?utils_common_truncatedISO8061Date(e.startsOn,false):"",e.expiresOn?utils_common_truncatedISO8061Date(e.expiresOn,false):"",getCanonicalName(t.accountName,e.containerName,e.blobName),t.userDelegationKey.signedObjectId,t.userDelegationKey.signedTenantId,t.userDelegationKey.signedStartsOn?utils_common_truncatedISO8061Date(t.userDelegationKey.signedStartsOn,false):"",t.userDelegationKey.signedExpiresOn?utils_common_truncatedISO8061Date(t.userDelegationKey.signedExpiresOn,false):"",t.userDelegationKey.signedService,t.userDelegationKey.signedVersion,e.preauthorizedAgentObjectId,undefined,e.correlationId,t.userDelegationKey.signedDelegatedUserTenantId,e.delegatedUserObjectId,e.ipRange?ipRangeToString(e.ipRange):"",e.protocol?e.protocol:"",e.version,r,n,e.encryptionScope,formatRequestHeadersForSasSigning(e.requestHeaders),formatRequestQueryParametersForSasSigning(e.requestQueryParameters),e.cacheControl,e.contentDisposition,e.contentEncoding,e.contentLanguage,e.contentType].join("\n");const a=t.computeHMACSHA256(o);return{sasQueryParameters:new SASQueryParameters(e.version,a,i,undefined,undefined,e.protocol,e.startsOn,e.expiresOn,e.ipRange,e.identifier,r,e.cacheControl,e.contentDisposition,e.contentEncoding,e.contentLanguage,e.contentType,t.userDelegationKey,e.preauthorizedAgentObjectId,e.correlationId,e.encryptionScope,e.delegatedUserObjectId,getKeysOfRequestHeaders(e.requestHeaders),getKeysOfRequestHeaders(e.requestQueryParameters),s),stringToSign:o}}function formatRequestHeadersForSasSigning(e){if(e===undefined){return undefined}let t="";Object.keys(e).forEach((function(r){t=t+r+":"+e[r]+"\n"}));return t}function formatRequestQueryParametersForSasSigning(e){if(e===undefined){return undefined}let t="";Object.keys(e).forEach((function(r){t=t+"\n"+r+":"+e[r]}));return t}function getKeysOfRequestHeaders(e){if(e===undefined){return undefined}let t="";let r=0;Object.keys(e).forEach((function(e){if(r!==0){t=t+","}t=t+e;++r}));return t}function getCanonicalName(e,t,r){const n=[`/blob/${e}/${t}`];if(r){n.push(`/${r}`)}return n.join("")}function SASSignatureValuesSanityCheckAndAutofill(e){const t=e.version?e.version:vu;if(e.snapshotTime&&t<"2018-11-09"){throw RangeError("'version' must be >= '2018-11-09' when providing 'snapshotTime'.")}if(e.blobName===undefined&&e.snapshotTime){throw RangeError("Must provide 'blobName' when providing 'snapshotTime'.")}if(e.versionId&&t<"2019-10-10"){throw RangeError("'version' must be >= '2019-10-10' when providing 'versionId'.")}if(e.blobName===undefined&&e.versionId){throw RangeError("Must provide 'blobName' when providing 'versionId'.")}if(e.permissions&&e.permissions.setImmutabilityPolicy&&t<"2020-08-04"){throw RangeError("'version' must be >= '2020-08-04' when provided 'i' permission.")}if(e.permissions&&e.permissions.deleteVersion&&t<"2019-10-10"){throw RangeError("'version' must be >= '2019-10-10' when providing 'x' permission.")}if(e.permissions&&e.permissions.permanentDelete&&t<"2019-10-10"){throw RangeError("'version' must be >= '2019-10-10' when providing 'y' permission.")}if(e.permissions&&e.permissions.tag&&t<"2019-12-12"){throw RangeError("'version' must be >= '2019-12-12' when providing 't' permission.")}if(t<"2020-02-10"&&e.permissions&&(e.permissions.move||e.permissions.execute)){throw RangeError("'version' must be >= '2020-02-10' when providing the 'm' or 'e' permission.")}if(t<"2021-04-10"&&e.permissions&&e.permissions.filterByTags){throw RangeError("'version' must be >= '2021-04-10' when providing the 'f' permission.")}if(t<"2020-02-10"&&(e.preauthorizedAgentObjectId||e.correlationId)){throw RangeError("'version' must be >= '2020-02-10' when providing 'preauthorizedAgentObjectId' or 'correlationId'.")}if(e.encryptionScope&&t<"2020-12-06"){throw RangeError("'version' must be >= '2020-12-06' when provided 'encryptionScope' in SAS.")}e.version=t;return e}function trimBlobName(e){let t=e;while(t.startsWith("/")){t=t.substring(1)}while(t.endsWith("/")){t=t.substring(0,t.length-1)}return t}class BlobLeaseClient{_leaseId;_url;_containerOrBlobOperation;_isContainer;get leaseId(){return this._leaseId}get url(){return this._url}constructor(e,t){const r=e.storageClientContext;this._url=e.url;if(e.name===undefined){this._isContainer=true;this._containerOrBlobOperation=r.container}else{this._isContainer=false;this._containerOrBlobOperation=r.blob}if(!t){t=esm_randomUUID()}this._leaseId=t}async acquireLease(e,t={}){if(this._isContainer&&(t.conditions?.ifMatch&&t.conditions?.ifMatch!==Gu||t.conditions?.ifNoneMatch&&t.conditions?.ifNoneMatch!==Gu||t.conditions?.tagConditions)){throw new RangeError("The IfMatch, IfNoneMatch and tags access conditions are ignored by the service. Values other than undefined or their default values are not acceptable.")}return Yy.withSpan("BlobLeaseClient-acquireLease",t,(async r=>utils_common_assertResponse(await this._containerOrBlobOperation.acquireLease({abortSignal:t.abortSignal,duration:e,modifiedAccessConditions:{...t.conditions,ifTags:t.conditions?.tagConditions},proposedLeaseId:this._leaseId,tracingOptions:r.tracingOptions}))))}async changeLease(e,t={}){if(this._isContainer&&(t.conditions?.ifMatch&&t.conditions?.ifMatch!==Gu||t.conditions?.ifNoneMatch&&t.conditions?.ifNoneMatch!==Gu||t.conditions?.tagConditions)){throw new RangeError("The IfMatch, IfNoneMatch and tags access conditions are ignored by the service. Values other than undefined or their default values are not acceptable.")}return Yy.withSpan("BlobLeaseClient-changeLease",t,(async r=>{const n=utils_common_assertResponse(await this._containerOrBlobOperation.changeLease(this._leaseId,e,{abortSignal:t.abortSignal,modifiedAccessConditions:{...t.conditions,ifTags:t.conditions?.tagConditions},tracingOptions:r.tracingOptions}));this._leaseId=e;return n}))}async releaseLease(e={}){if(this._isContainer&&(e.conditions?.ifMatch&&e.conditions?.ifMatch!==Gu||e.conditions?.ifNoneMatch&&e.conditions?.ifNoneMatch!==Gu||e.conditions?.tagConditions)){throw new RangeError("The IfMatch, IfNoneMatch and tags access conditions are ignored by the service. Values other than undefined or their default values are not acceptable.")}return Yy.withSpan("BlobLeaseClient-releaseLease",e,(async t=>utils_common_assertResponse(await this._containerOrBlobOperation.releaseLease(this._leaseId,{abortSignal:e.abortSignal,modifiedAccessConditions:{...e.conditions,ifTags:e.conditions?.tagConditions},tracingOptions:t.tracingOptions}))))}async renewLease(e={}){if(this._isContainer&&(e.conditions?.ifMatch&&e.conditions?.ifMatch!==Gu||e.conditions?.ifNoneMatch&&e.conditions?.ifNoneMatch!==Gu||e.conditions?.tagConditions)){throw new RangeError("The IfMatch, IfNoneMatch and tags access conditions are ignored by the service. Values other than undefined or their default values are not acceptable.")}return Yy.withSpan("BlobLeaseClient-renewLease",e,(async t=>this._containerOrBlobOperation.renewLease(this._leaseId,{abortSignal:e.abortSignal,modifiedAccessConditions:{...e.conditions,ifTags:e.conditions?.tagConditions},tracingOptions:t.tracingOptions})))}async breakLease(e,t={}){if(this._isContainer&&(t.conditions?.ifMatch&&t.conditions?.ifMatch!==Gu||t.conditions?.ifNoneMatch&&t.conditions?.ifNoneMatch!==Gu||t.conditions?.tagConditions)){throw new RangeError("The IfMatch, IfNoneMatch and tags access conditions are ignored by the service. Values other than undefined or their default values are not acceptable.")}return Yy.withSpan("BlobLeaseClient-breakLease",t,(async r=>{const n={abortSignal:t.abortSignal,breakPeriod:e,modifiedAccessConditions:{...t.conditions,ifTags:t.conditions?.tagConditions},tracingOptions:r.tracingOptions};return utils_common_assertResponse(await this._containerOrBlobOperation.breakLease(n))}))}}class RetriableReadableStream extends sa.Readable{start;offset;end;getter;source;retries=0;maxRetryRequests;onProgress;options;constructor(e,t,r,n,s={}){super({highWaterMark:s.highWaterMark});this.getter=t;this.source=e;this.start=r;this.offset=r;this.end=r+n-1;this.maxRetryRequests=s.maxRetryRequests&&s.maxRetryRequests>=0?s.maxRetryRequests:0;this.onProgress=s.onProgress;this.options=s;this.setSourceEventHandlers()}_read(){this.source.resume()}setSourceEventHandlers(){this.source.on("data",this.sourceDataHandler);this.source.on("end",this.sourceErrorOrEndHandler);this.source.on("error",this.sourceErrorOrEndHandler);this.source.on("aborted",this.sourceAbortedHandler)}removeSourceEventHandlers(){this.source.removeListener("data",this.sourceDataHandler);this.source.removeListener("end",this.sourceErrorOrEndHandler);this.source.removeListener("error",this.sourceErrorOrEndHandler);this.source.removeListener("aborted",this.sourceAbortedHandler)}sourceDataHandler=e=>{if(this.options.doInjectErrorOnce){this.options.doInjectErrorOnce=undefined;this.source.pause();this.sourceErrorOrEndHandler();this.source.destroy();return}this.offset+=e.length;if(this.onProgress){this.onProgress({loadedBytes:this.offset-this.start})}if(!this.push(e)){this.source.pause()}};sourceAbortedHandler=()=>{const e=new AbortError_AbortError("The operation was aborted.");this.destroy(e)};sourceErrorOrEndHandler=e=>{if(e&&e.name==="AbortError"){this.destroy(e);return}this.removeSourceEventHandlers();if(this.offset-1===this.end){this.push(null)}else if(this.offset<=this.end){if(this.retries<this.maxRetryRequests){this.retries+=1;this.getter(this.offset).then((e=>{this.source=e;this.setSourceEventHandlers();return})).catch((e=>{this.destroy(e)}))}else{this.destroy(new Error(`Data corruption failure: received less data than required and reached maxRetires limitation. Received data offset: ${this.offset-1}, data needed offset: ${this.end}, retries: ${this.retries}, max retries: ${this.maxRetryRequests}`))}}else{this.destroy(new Error(`Data corruption failure: Received more data than original request, data needed offset is ${this.end}, received offset: ${this.offset-1}`))}};_destroy(e,t){this.removeSourceEventHandlers();this.source.destroy();t(e===null?undefined:e)}}class BlobDownloadResponse{get acceptRanges(){return this.originalResponse.acceptRanges}get cacheControl(){return this.originalResponse.cacheControl}get contentDisposition(){return this.originalResponse.contentDisposition}get contentEncoding(){return this.originalResponse.contentEncoding}get contentLanguage(){return this.originalResponse.contentLanguage}get blobSequenceNumber(){return this.originalResponse.blobSequenceNumber}get blobType(){return this.originalResponse.blobType}get contentLength(){return this.originalResponse.contentLength}get contentMD5(){return this.originalResponse.contentMD5}get contentRange(){return this.originalResponse.contentRange}get contentType(){return this.originalResponse.contentType}get copyCompletedOn(){return this.originalResponse.copyCompletedOn}get copyId(){return this.originalResponse.copyId}get copyProgress(){return this.originalResponse.copyProgress}get copySource(){return this.originalResponse.copySource}get copyStatus(){return this.originalResponse.copyStatus}get copyStatusDescription(){return this.originalResponse.copyStatusDescription}get leaseDuration(){return this.originalResponse.leaseDuration}get leaseState(){return this.originalResponse.leaseState}get leaseStatus(){return this.originalResponse.leaseStatus}get date(){return this.originalResponse.date}get blobCommittedBlockCount(){return this.originalResponse.blobCommittedBlockCount}get etag(){return this.originalResponse.etag}get tagCount(){return this.originalResponse.tagCount}get errorCode(){return this.originalResponse.errorCode}get isServerEncrypted(){return this.originalResponse.isServerEncrypted}get blobContentMD5(){return this.originalResponse.blobContentMD5}get lastModified(){return this.originalResponse.lastModified}get lastAccessed(){return this.originalResponse.lastAccessed}get createdOn(){return this.originalResponse.createdOn}get metadata(){return this.originalResponse.metadata}get requestId(){return this.originalResponse.requestId}get clientRequestId(){return this.originalResponse.clientRequestId}get version(){return this.originalResponse.version}get versionId(){return this.originalResponse.versionId}get isCurrentVersion(){return this.originalResponse.isCurrentVersion}get encryptionKeySha256(){return this.originalResponse.encryptionKeySha256}get contentCrc64(){return this.originalResponse.contentCrc64}get objectReplicationDestinationPolicyId(){return this.originalResponse.objectReplicationDestinationPolicyId}get objectReplicationSourceProperties(){return this.originalResponse.objectReplicationSourceProperties}get isSealed(){return this.originalResponse.isSealed}get immutabilityPolicyExpiresOn(){return this.originalResponse.immutabilityPolicyExpiresOn}get immutabilityPolicyMode(){return this.originalResponse.immutabilityPolicyMode}get legalHold(){return this.originalResponse.legalHold}get structuredBodyType(){return this.originalResponse.structuredBodyType}get contentAsBlob(){return this.originalResponse.blobBody}get readableStreamBody(){return hc?this.blobDownloadStream:undefined}get _response(){return this.originalResponse._response}originalResponse;blobDownloadStream;constructor(e,t,r,n,s={}){this.originalResponse=e;const i=this.originalResponse.structuredBodyType===undefined?this.originalResponse.readableStreamBody:structuredMessageDecodingStream(this.originalResponse.readableStreamBody,s);this.blobDownloadStream=new RetriableReadableStream(i,t,r,n,s)}}const Jy=16;const Wy=new Uint8Array([79,98,106,1]);const jy="avro.codec";const Ky="avro.schema";class AvroParser{static async readFixedBytes(e,t,r={}){const n=await e.read(t,{abortSignal:r.abortSignal});if(n.length!==t){throw new Error("Hit stream end.")}return n}static async readByte(e,t={}){const r=await AvroParser.readFixedBytes(e,1,t);return r[0]}static async readZigZagLong(e,t={}){let r=0;let n=0;let s,i,o;do{s=await AvroParser.readByte(e,t);i=s&128;r|=(s&127)<<n;n+=7}while(i&&n<28);if(i){r=r;o=268435456;do{s=await AvroParser.readByte(e,t);r+=(s&127)*o;o*=128}while(s&128);const n=(r%2?-(r+1):r)/2;if(n<Number.MIN_SAFE_INTEGER||n>Number.MAX_SAFE_INTEGER){throw new Error("Integer overflow.")}return n}return r>>1^-(r&1)}static async readLong(e,t={}){return AvroParser.readZigZagLong(e,t)}static async readInt(e,t={}){return AvroParser.readZigZagLong(e,t)}static async readNull(){return null}static async readBoolean(e,t={}){const r=await AvroParser.readByte(e,t);if(r===1){return true}else if(r===0){return false}else{throw new Error("Byte was not a boolean.")}}static async readFloat(e,t={}){const r=await AvroParser.readFixedBytes(e,4,t);const n=new DataView(r.buffer,r.byteOffset,r.byteLength);return n.getFloat32(0,true)}static async readDouble(e,t={}){const r=await AvroParser.readFixedBytes(e,8,t);const n=new DataView(r.buffer,r.byteOffset,r.byteLength);return n.getFloat64(0,true)}static async readBytes(e,t={}){const r=await AvroParser.readLong(e,t);if(r<0){throw new Error("Bytes size was negative.")}return e.read(r,{abortSignal:t.abortSignal})}static async readString(e,t={}){const r=await AvroParser.readBytes(e,t);const n=new TextDecoder;return n.decode(r)}static async readMapPair(e,t,r={}){const n=await AvroParser.readString(e,r);const s=await t(e,r);return{key:n,value:s}}static async readMap(e,t,r={}){const readPairMethod=(e,r={})=>AvroParser.readMapPair(e,t,r);const n=await AvroParser.readArray(e,readPairMethod,r);const s={};for(const e of n){s[e.key]=e.value}return s}static async readArray(e,t,r={}){const n=[];for(let s=await AvroParser.readLong(e,r);s!==0;s=await AvroParser.readLong(e,r)){if(s<0){await AvroParser.readLong(e,r);s=-s}while(s--){const s=await t(e,r);n.push(s)}}return n}}var $y;(function(e){e["RECORD"]="record";e["ENUM"]="enum";e["ARRAY"]="array";e["MAP"]="map";e["UNION"]="union";e["FIXED"]="fixed"})($y||($y={}));var Xy;(function(e){e["NULL"]="null";e["BOOLEAN"]="boolean";e["INT"]="int";e["LONG"]="long";e["FLOAT"]="float";e["DOUBLE"]="double";e["BYTES"]="bytes";e["STRING"]="string"})(Xy||(Xy={}));class AvroType{static fromSchema(e){if(typeof e==="string"){return AvroType.fromStringSchema(e)}else if(Array.isArray(e)){return AvroType.fromArraySchema(e)}else{return AvroType.fromObjectSchema(e)}}static fromStringSchema(e){switch(e){case Xy.NULL:case Xy.BOOLEAN:case Xy.INT:case Xy.LONG:case Xy.FLOAT:case Xy.DOUBLE:case Xy.BYTES:case Xy.STRING:return new AvroPrimitiveType(e);default:throw new Error(`Unexpected Avro type ${e}`)}}static fromArraySchema(e){return new AvroUnionType(e.map(AvroType.fromSchema))}static fromObjectSchema(e){const t=e.type;try{return AvroType.fromStringSchema(t)}catch{}switch(t){case $y.RECORD:if(e.aliases){throw new Error(`aliases currently is not supported, schema: ${e}`)}if(!e.name){throw new Error(`Required attribute 'name' doesn't exist on schema: ${e}`)}const r={};if(!e.fields){throw new Error(`Required attribute 'fields' doesn't exist on schema: ${e}`)}for(const t of e.fields){r[t.name]=AvroType.fromSchema(t.type)}return new AvroRecordType(r,e.name);case $y.ENUM:if(e.aliases){throw new Error(`aliases currently is not supported, schema: ${e}`)}if(!e.symbols){throw new Error(`Required attribute 'symbols' doesn't exist on schema: ${e}`)}return new AvroEnumType(e.symbols);case $y.MAP:if(!e.values){throw new Error(`Required attribute 'values' doesn't exist on schema: ${e}`)}return new AvroMapType(AvroType.fromSchema(e.values));case $y.ARRAY:case $y.FIXED:default:throw new Error(`Unexpected Avro type ${t} in ${e}`)}}}class AvroPrimitiveType extends AvroType{_primitive;constructor(e){super();this._primitive=e}read(e,t={}){switch(this._primitive){case Xy.NULL:return AvroParser.readNull();case Xy.BOOLEAN:return AvroParser.readBoolean(e,t);case Xy.INT:return AvroParser.readInt(e,t);case Xy.LONG:return AvroParser.readLong(e,t);case Xy.FLOAT:return AvroParser.readFloat(e,t);case Xy.DOUBLE:return AvroParser.readDouble(e,t);case Xy.BYTES:return AvroParser.readBytes(e,t);case Xy.STRING:return AvroParser.readString(e,t);default:throw new Error("Unknown Avro Primitive")}}}class AvroEnumType extends AvroType{_symbols;constructor(e){super();this._symbols=e}async read(e,t={}){const r=await AvroParser.readInt(e,t);return this._symbols[r]}}class AvroUnionType extends AvroType{_types;constructor(e){super();this._types=e}async read(e,t={}){const r=await AvroParser.readInt(e,t);return this._types[r].read(e,t)}}class AvroMapType extends AvroType{_itemType;constructor(e){super();this._itemType=e}read(e,t={}){const readItemMethod=(e,t)=>this._itemType.read(e,t);return AvroParser.readMap(e,readItemMethod,t)}}class AvroRecordType extends AvroType{_name;_fields;constructor(e,t){super();this._fields=e;this._name=t}async read(e,t={}){const r={};r["$schema"]=this._name;for(const n in this._fields){if(Object.prototype.hasOwnProperty.call(this._fields,n)){r[n]=await this._fields[n].read(e,t)}}return r}}function arraysEqual(e,t){if(e===t)return true;if(e==null||t==null)return false;if(e.length!==t.length)return false;for(let r=0;r<e.length;++r){if(e[r]!==t[r])return false}return true}class AvroReader{_dataStream;_headerStream;_syncMarker;_metadata;_itemType;_itemsRemainingInBlock;_initialBlockOffset;_blockOffset;get blockOffset(){return this._blockOffset}_objectIndex;get objectIndex(){return this._objectIndex}_initialized;constructor(e,t,r,n){this._dataStream=e;this._headerStream=t||e;this._initialized=false;this._blockOffset=r||0;this._objectIndex=n||0;this._initialBlockOffset=r||0}async initialize(e={}){const t=await AvroParser.readFixedBytes(this._headerStream,Wy.length,{abortSignal:e.abortSignal});if(!arraysEqual(t,Wy)){throw new Error("Stream is not an Avro file.")}this._metadata=await AvroParser.readMap(this._headerStream,AvroParser.readString,{abortSignal:e.abortSignal});const r=this._metadata[jy];if(!(r===undefined||r===null||r==="null")){throw new Error("Codecs are not supported")}this._syncMarker=await AvroParser.readFixedBytes(this._headerStream,Jy,{abortSignal:e.abortSignal});const n=JSON.parse(this._metadata[Ky]);this._itemType=AvroType.fromSchema(n);if(this._blockOffset===0){this._blockOffset=this._initialBlockOffset+this._dataStream.position}this._itemsRemainingInBlock=await AvroParser.readLong(this._dataStream,{abortSignal:e.abortSignal});await AvroParser.readLong(this._dataStream,{abortSignal:e.abortSignal});this._initialized=true;if(this._objectIndex&&this._objectIndex>0){for(let t=0;t<this._objectIndex;t++){await this._itemType.read(this._dataStream,{abortSignal:e.abortSignal});this._itemsRemainingInBlock--}}}hasNext(){return!this._initialized||this._itemsRemainingInBlock>0}async*parseObjects(e={}){if(!this._initialized){await this.initialize(e)}while(this.hasNext()){const t=await this._itemType.read(this._dataStream,{abortSignal:e.abortSignal});this._itemsRemainingInBlock--;this._objectIndex++;if(this._itemsRemainingInBlock===0){const t=await AvroParser.readFixedBytes(this._dataStream,Jy,{abortSignal:e.abortSignal});this._blockOffset=this._initialBlockOffset+this._dataStream.position;this._objectIndex=0;if(!arraysEqual(this._syncMarker,t)){throw new Error("Stream is not a valid Avro file.")}try{this._itemsRemainingInBlock=await AvroParser.readLong(this._dataStream,{abortSignal:e.abortSignal})}catch{this._itemsRemainingInBlock=0}if(this._itemsRemainingInBlock>0){await AvroParser.readLong(this._dataStream,{abortSignal:e.abortSignal})}}yield t}}}class AvroReadable{}const Zy=e(import.meta.url)("buffer");const eE=new AbortError_AbortError("Reading from the avro stream was aborted.");class AvroReadableFromStream extends AvroReadable{_position;_readable;toUint8Array(e){if(typeof e==="string"){return Zy.Buffer.from(e)}return e}constructor(e){super();this._readable=e;this._position=0}get position(){return this._position}async read(e,t={}){if(t.abortSignal?.aborted){throw eE}if(e<0){throw new Error(`size parameter should be positive: ${e}`)}if(e===0){return new Uint8Array}if(!this._readable.readable){throw new Error("Stream no longer readable.")}const r=this._readable.read(e);if(r){this._position+=r.length;return this.toUint8Array(r)}else{return new Promise(((r,n)=>{const cleanUp=()=>{this._readable.removeListener("readable",readableCallback);this._readable.removeListener("error",rejectCallback);this._readable.removeListener("end",rejectCallback);this._readable.removeListener("close",rejectCallback);if(t.abortSignal){t.abortSignal.removeEventListener("abort",abortHandler)}};const readableCallback=()=>{const t=this._readable.read(e);if(t){this._position+=t.length;cleanUp();r(this.toUint8Array(t))}};const rejectCallback=()=>{cleanUp();n()};const abortHandler=()=>{cleanUp();n(eE)};this._readable.on("readable",readableCallback);this._readable.once("error",rejectCallback);this._readable.once("end",rejectCallback);this._readable.once("close",rejectCallback);if(t.abortSignal){t.abortSignal.addEventListener("abort",abortHandler)}}))}}}class BlobQuickQueryStream extends sa.Readable{source;avroReader;avroIter;avroPaused=true;onProgress;onError;constructor(e,t={}){super();this.source=e;this.onProgress=t.onProgress;this.onError=t.onError;this.avroReader=new AvroReader(new AvroReadableFromStream(this.source));this.avroIter=this.avroReader.parseObjects({abortSignal:t.abortSignal})}_read(){if(this.avroPaused){this.readInternal().catch((e=>{this.emit("error",e)}))}}async readInternal(){this.avroPaused=false;let e;do{e=await this.avroIter.next();if(e.done){break}const t=e.value;const r=t.$schema;if(typeof r!=="string"){throw Error("Missing schema in avro record.")}switch(r){case"com.microsoft.azure.storage.queryBlobContents.resultData":{const e=t.data;if(e instanceof Uint8Array===false){throw Error("Invalid data in avro result record.")}if(!this.push(Buffer.from(e))){this.avroPaused=true}}break;case"com.microsoft.azure.storage.queryBlobContents.progress":{const e=t.bytesScanned;if(typeof e!=="number"){throw Error("Invalid bytesScanned in avro progress record.")}if(this.onProgress){this.onProgress({loadedBytes:e})}}break;case"com.microsoft.azure.storage.queryBlobContents.end":if(this.onProgress){const e=t.totalBytes;if(typeof e!=="number"){throw Error("Invalid totalBytes in avro end record.")}this.onProgress({loadedBytes:e})}this.push(null);break;case"com.microsoft.azure.storage.queryBlobContents.error":if(this.onError){const e=t.fatal;if(typeof e!=="boolean"){throw Error("Invalid fatal in avro error record.")}const r=t.name;if(typeof r!=="string"){throw Error("Invalid name in avro error record.")}const n=t.description;if(typeof n!=="string"){throw Error("Invalid description in avro error record.")}const s=t.position;if(typeof s!=="number"){throw Error("Invalid position in avro error record.")}this.onError({position:s,name:r,isFatal:e,description:n})}break;default:throw Error(`Unknown schema ${r} in avro progress record.`)}}while(!e.done&&!this.avroPaused)}}class BlobQueryResponse{get acceptRanges(){return this.originalResponse.acceptRanges}get cacheControl(){return this.originalResponse.cacheControl}get contentDisposition(){return this.originalResponse.contentDisposition}get contentEncoding(){return this.originalResponse.contentEncoding}get contentLanguage(){return this.originalResponse.contentLanguage}get blobSequenceNumber(){return this.originalResponse.blobSequenceNumber}get blobType(){return this.originalResponse.blobType}get contentLength(){return this.originalResponse.contentLength}get contentMD5(){return this.originalResponse.contentMD5}get contentRange(){return this.originalResponse.contentRange}get contentType(){return this.originalResponse.contentType}get copyCompletedOn(){return undefined}get copyId(){return this.originalResponse.copyId}get copyProgress(){return this.originalResponse.copyProgress}get copySource(){return this.originalResponse.copySource}get copyStatus(){return this.originalResponse.copyStatus}get copyStatusDescription(){return this.originalResponse.copyStatusDescription}get leaseDuration(){return this.originalResponse.leaseDuration}get leaseState(){return this.originalResponse.leaseState}get leaseStatus(){return this.originalResponse.leaseStatus}get date(){return this.originalResponse.date}get blobCommittedBlockCount(){return this.originalResponse.blobCommittedBlockCount}get etag(){return this.originalResponse.etag}get errorCode(){return this.originalResponse.errorCode}get isServerEncrypted(){return this.originalResponse.isServerEncrypted}get blobContentMD5(){return this.originalResponse.blobContentMD5}get lastModified(){return this.originalResponse.lastModified}get metadata(){return this.originalResponse.metadata}get requestId(){return this.originalResponse.requestId}get clientRequestId(){return this.originalResponse.clientRequestId}get version(){return this.originalResponse.version}get encryptionKeySha256(){return this.originalResponse.encryptionKeySha256}get contentCrc64(){return this.originalResponse.contentCrc64}get blobBody(){return undefined}get readableStreamBody(){return hc?this.blobDownloadStream:undefined}get _response(){return this.originalResponse._response}originalResponse;blobDownloadStream;constructor(e,t={}){this.originalResponse=e;this.blobDownloadStream=new BlobQuickQueryStream(this.originalResponse.readableStreamBody,t)}}var tE;(function(e){e["Hot"]="Hot";e["Cool"]="Cool";e["Cold"]="Cold";e["Archive"]="Archive"})(tE||(tE={}));var rE;(function(e){e["P4"]="P4";e["P6"]="P6";e["P10"]="P10";e["P15"]="P15";e["P20"]="P20";e["P30"]="P30";e["P40"]="P40";e["P50"]="P50";e["P60"]="P60";e["P70"]="P70";e["P80"]="P80"})(rE||(rE={}));function toAccessTier(e){if(e===undefined){return undefined}return e}function ensureCpkIfSpecified(e,t){if(e&&!t){throw new RangeError("Customer-provided encryption key must be used over HTTPS.")}if(e&&!e.encryptionAlgorithm){e.encryptionAlgorithm=Ku}}var nE;(function(e){e["StorageOAuthScopes"]="https://storage.azure.com/.default";e["DiskComputeOAuthScopes"]="https://disk.compute.azure.com/.default"})(nE||(nE={}));function getBlobServiceAccountAudience(e){return`https://${e}.blob.core.windows.net/.default`}function rangeResponseFromModel(e){const t=(e._response.parsedBody.pageRange||[]).map((e=>({offset:e.start,count:e.end-e.start})));const r=(e._response.parsedBody.clearRange||[]).map((e=>({offset:e.start,count:e.end-e.start})));return{...e,pageRange:t,clearRange:r,_response:{...e._response,parsedBody:{pageRange:t,clearRange:r}}}}const sE=esm_createClientLogger("core-lro");const iE=2e3;const oE=["succeeded","canceled","failed"];function operation_deserializeState(e){try{return JSON.parse(e).state}catch(t){throw new Error(`Unable to deserialize input state: ${e}`)}}function setStateError(e){const{state:t,stateProxy:r,isOperationError:n}=e;return e=>{if(n(e)){r.setError(t,e);r.setFailed(t)}throw e}}function appendReadableErrorMessage(e,t){let r=e;if(r.slice(-1)!=="."){r=r+"."}return r+" "+t}function simplifyError(e){let t=e.message;let r=e.code;let n=e;while(n.innererror){n=n.innererror;r=n.code;t=appendReadableErrorMessage(t,n.message)}return{code:r,message:t}}function processOperationStatus(e){const{state:t,stateProxy:r,status:n,isDone:s,processResult:i,getError:o,response:a,setErrorAsResult:c}=e;switch(n){case"succeeded":{r.setSucceeded(t);break}case"failed":{const e=o===null||o===void 0?void 0:o(a);let n="";if(e){const{code:t,message:r}=simplifyError(e);n=`. ${t}. ${r}`}const s=`The long-running operation has failed${n}`;r.setError(t,new Error(s));r.setFailed(t);sE.warning(s);break}case"canceled":{r.setCanceled(t);break}}if((s===null||s===void 0?void 0:s(a,t))||s===undefined&&["succeeded","canceled"].concat(c?[]:["failed"]).includes(n)){r.setResult(t,buildResult({response:a,state:t,processResult:i}))}}function buildResult(e){const{processResult:t,response:r,state:n}=e;return t?t(r,n):r}async function operation_initOperation(e){const{init:t,stateProxy:r,processResult:n,getOperationStatus:s,withOperationLocation:i,setErrorAsResult:o}=e;const{operationLocation:a,resourceLocation:c,metadata:l,response:A}=await t();if(a)i===null||i===void 0?void 0:i(a,false);const u={metadata:l,operationLocation:a,resourceLocation:c};sE.verbose(`LRO: Operation description:`,u);const d=r.initState(u);const g=s({response:A,state:d,operationLocation:a});processOperationStatus({state:d,status:g,stateProxy:r,response:A,setErrorAsResult:o,processResult:n});return d}async function pollOperationHelper(e){const{poll:t,state:r,stateProxy:n,operationLocation:s,getOperationStatus:i,getResourceLocation:o,isOperationError:a,options:c}=e;const l=await t(s,c).catch(setStateError({state:r,stateProxy:n,isOperationError:a}));const A=i(l,r);sE.verbose(`LRO: Status:\n\tPolling from: ${r.config.operationLocation}\n\tOperation status: ${A}\n\tPolling status: ${oE.includes(A)?"Stopped":"Running"}`);if(A==="succeeded"){const e=o(l,r);if(e!==undefined){return{response:await t(e).catch(setStateError({state:r,stateProxy:n,isOperationError:a})),status:A}}}return{response:l,status:A}}async function operation_pollOperation(e){const{poll:t,state:r,stateProxy:n,options:s,getOperationStatus:i,getResourceLocation:o,getOperationLocation:a,isOperationError:c,withOperationLocation:l,getPollingInterval:A,processResult:u,getError:d,updateState:g,setDelay:p,isDone:h,setErrorAsResult:m}=e;const{operationLocation:f}=r.config;if(f!==undefined){const{response:e,status:C}=await pollOperationHelper({poll:t,getOperationStatus:i,state:r,stateProxy:n,operationLocation:f,getResourceLocation:o,isOperationError:c,options:s});processOperationStatus({status:C,response:e,state:r,stateProxy:n,isDone:h,processResult:u,getError:d,setErrorAsResult:m});if(!oE.includes(C)){const t=A===null||A===void 0?void 0:A(e);if(t)p(t);const n=a===null||a===void 0?void 0:a(e,r);if(n!==undefined){const e=f!==n;r.config.operationLocation=n;l===null||l===void 0?void 0:l(n,e)}else l===null||l===void 0?void 0:l(f,false)}g===null||g===void 0?void 0:g(r,e)}}function getOperationLocationPollingUrl(e){const{azureAsyncOperation:t,operationLocation:r}=e;return r!==null&&r!==void 0?r:t}function getLocationHeader(e){return e.headers["location"]}function getOperationLocationHeader(e){return e.headers["operation-location"]}function getAzureAsyncOperationHeader(e){return e.headers["azure-asyncoperation"]}function findResourceLocation(e){var t;const{location:r,requestMethod:n,requestPath:s,resourceLocationConfig:i}=e;switch(n){case"PUT":{return s}case"DELETE":{return undefined}case"PATCH":{return(t=getDefault())!==null&&t!==void 0?t:s}default:{return getDefault()}}function getDefault(){switch(i){case"azure-async-operation":{return undefined}case"original-uri":{return s}case"location":default:{return r}}}}function operation_inferLroMode(e){const{rawResponse:t,requestMethod:r,requestPath:n,resourceLocationConfig:s}=e;const i=getOperationLocationHeader(t);const o=getAzureAsyncOperationHeader(t);const a=getOperationLocationPollingUrl({operationLocation:i,azureAsyncOperation:o});const c=getLocationHeader(t);const l=r===null||r===void 0?void 0:r.toLocaleUpperCase();if(a!==undefined){return{mode:"OperationLocation",operationLocation:a,resourceLocation:findResourceLocation({requestMethod:l,location:c,requestPath:n,resourceLocationConfig:s})}}else if(c!==undefined){return{mode:"ResourceLocation",operationLocation:c}}else if(l==="PUT"&&n){return{mode:"Body",operationLocation:n}}else{return undefined}}function transformStatus(e){const{status:t,statusCode:r}=e;if(typeof t!=="string"&&t!==undefined){throw new Error(`Polling was unsuccessful. Expected status to have a string value or no value but it has instead: ${t}. This doesn't necessarily indicate the operation has failed. Check your Azure subscription or resource status for more information.`)}switch(t===null||t===void 0?void 0:t.toLocaleLowerCase()){case undefined:return toOperationStatus(r);case"succeeded":return"succeeded";case"failed":return"failed";case"running":case"accepted":case"started":case"canceling":case"cancelling":return"running";case"canceled":case"cancelled":return"canceled";default:{sE.verbose(`LRO: unrecognized operation status: ${t}`);return t}}}function getStatus(e){var t;const{status:r}=(t=e.body)!==null&&t!==void 0?t:{};return transformStatus({status:r,statusCode:e.statusCode})}function getProvisioningState(e){var t,r;const{properties:n,provisioningState:s}=(t=e.body)!==null&&t!==void 0?t:{};const i=(r=n===null||n===void 0?void 0:n.provisioningState)!==null&&r!==void 0?r:s;return transformStatus({status:i,statusCode:e.statusCode})}function toOperationStatus(e){if(e===202){return"running"}else if(e<300){return"succeeded"}else{return"failed"}}function operation_parseRetryAfter({rawResponse:e}){const t=e.headers["retry-after"];if(t!==undefined){const e=parseInt(t);return isNaN(e)?calculatePollingIntervalFromDate(new Date(t)):e*1e3}return undefined}function operation_getErrorFromResponse(e){const t=accessBodyProperty(e,"error");if(!t){sE.warning(`The long-running operation failed but there is no error property in the response's body`);return}if(!t.code||!t.message){sE.warning(`The long-running operation failed but the error property in the response's body doesn't contain code or message`);return}return t}function calculatePollingIntervalFromDate(e){const t=Math.floor((new Date).getTime());const r=e.getTime();if(t<r){return r-t}return undefined}function operation_getStatusFromInitialResponse(e){const{response:t,state:r,operationLocation:n}=e;function helper(){var e;const n=(e=r.config.metadata)===null||e===void 0?void 0:e["mode"];switch(n){case undefined:return toOperationStatus(t.rawResponse.statusCode);case"Body":return operation_getOperationStatus(t,r);default:return"running"}}const s=helper();return s==="running"&&n===undefined?"succeeded":s}async function initHttpOperation(e){const{stateProxy:t,resourceLocationConfig:r,processResult:n,lro:s,setErrorAsResult:i}=e;return operation_initOperation({init:async()=>{const e=await s.sendInitialRequest();const t=operation_inferLroMode({rawResponse:e.rawResponse,requestPath:s.requestPath,requestMethod:s.requestMethod,resourceLocationConfig:r});return Object.assign({response:e,operationLocation:t===null||t===void 0?void 0:t.operationLocation,resourceLocation:t===null||t===void 0?void 0:t.resourceLocation},(t===null||t===void 0?void 0:t.mode)?{metadata:{mode:t.mode}}:{})},stateProxy:t,processResult:n?({flatResponse:e},t)=>n(e,t):({flatResponse:e})=>e,getOperationStatus:operation_getStatusFromInitialResponse,setErrorAsResult:i})}function operation_getOperationLocation({rawResponse:e},t){var r;const n=(r=t.config.metadata)===null||r===void 0?void 0:r["mode"];switch(n){case"OperationLocation":{return getOperationLocationPollingUrl({operationLocation:getOperationLocationHeader(e),azureAsyncOperation:getAzureAsyncOperationHeader(e)})}case"ResourceLocation":{return getLocationHeader(e)}case"Body":default:{return undefined}}}function operation_getOperationStatus({rawResponse:e},t){var r;const n=(r=t.config.metadata)===null||r===void 0?void 0:r["mode"];switch(n){case"OperationLocation":{return getStatus(e)}case"ResourceLocation":{return toOperationStatus(e.statusCode)}case"Body":{return getProvisioningState(e)}default:throw new Error(`Internal error: Unexpected operation mode: ${n}`)}}function accessBodyProperty({flatResponse:e,rawResponse:t},r){var n,s;return(n=e===null||e===void 0?void 0:e[r])!==null&&n!==void 0?n:(s=t.body)===null||s===void 0?void 0:s[r]}function operation_getResourceLocation(e,t){const r=accessBodyProperty(e,"resourceLocation");if(r&&typeof r==="string"){t.config.resourceLocation=r}return t.config.resourceLocation}function operation_isOperationError(e){return e.name==="RestError"}async function pollHttpOperation(e){const{lro:t,stateProxy:r,options:n,processResult:s,updateState:i,setDelay:o,state:a,setErrorAsResult:c}=e;return operation_pollOperation({state:a,stateProxy:r,setDelay:o,processResult:s?({flatResponse:e},t)=>s(e,t):({flatResponse:e})=>e,getError:operation_getErrorFromResponse,updateState:i,getPollingInterval:operation_parseRetryAfter,getOperationLocation:operation_getOperationLocation,getOperationStatus:operation_getOperationStatus,isOperationError:operation_isOperationError,getResourceLocation:operation_getResourceLocation,options:n,poll:async(e,r)=>t.sendPollRequest(e,r),setErrorAsResult:c})}const createStateProxy=()=>({initState:e=>({status:"running",config:e}),setCanceled:e=>e.status="canceled",setError:(e,t)=>e.error=t,setResult:(e,t)=>e.result=t,setRunning:e=>e.status="running",setSucceeded:e=>e.status="succeeded",setFailed:e=>e.status="failed",getError:e=>e.error,getResult:e=>e.result,isCanceled:e=>e.status==="canceled",isFailed:e=>e.status==="failed",isRunning:e=>e.status==="running",isSucceeded:e=>e.status==="succeeded"});function poller_buildCreatePoller(e){const{getOperationLocation:t,getStatusFromInitialResponse:r,getStatusFromPollResponse:n,isOperationError:s,getResourceLocation:i,getPollingInterval:o,getError:a,resolveOnUnsuccessful:c}=e;return async({init:e,poll:l},A)=>{const{processResult:u,updateState:d,withOperationLocation:g,intervalInMs:p=POLL_INTERVAL_IN_MS,restoreFrom:h}=A||{};const m=createStateProxy();const f=g?(()=>{let e=false;return(t,r)=>{if(r)g(t);else if(!e)g(t);e=true}})():undefined;const C=h?deserializeState(h):await initOperation({init:e,stateProxy:m,processResult:u,getOperationStatus:r,withOperationLocation:f,setErrorAsResult:!c});let y;const E=new AbortController;const I=new Map;const handleProgressEvents=async()=>I.forEach((e=>e(C)));const B="Operation was canceled";let Q=p;const b={getOperationState:()=>C,getResult:()=>C.result,isDone:()=>["succeeded","failed","canceled"].includes(C.status),isStopped:()=>y===undefined,stopPolling:()=>{E.abort()},toString:()=>JSON.stringify({state:C}),onProgress:e=>{const t=Symbol();I.set(t,e);return()=>I.delete(t)},pollUntilDone:e=>y!==null&&y!==void 0?y:y=(async()=>{const{abortSignal:t}=e||{};function abortListener(){E.abort()}const r=E.signal;if(t===null||t===void 0?void 0:t.aborted){E.abort()}else if(!r.aborted){t===null||t===void 0?void 0:t.addEventListener("abort",abortListener,{once:true})}try{if(!b.isDone()){await b.poll({abortSignal:r});while(!b.isDone()){await delay(Q,{abortSignal:r});await b.poll({abortSignal:r})}}}finally{t===null||t===void 0?void 0:t.removeEventListener("abort",abortListener)}if(c){return b.getResult()}else{switch(C.status){case"succeeded":return b.getResult();case"canceled":throw new Error(B);case"failed":throw C.error;case"notStarted":case"running":throw new Error(`Polling completed without succeeding or failing`)}}})().finally((()=>{y=undefined})),async poll(e){if(c){if(b.isDone())return}else{switch(C.status){case"succeeded":return;case"canceled":throw new Error(B);case"failed":throw C.error}}await pollOperation({poll:l,state:C,stateProxy:m,getOperationLocation:t,isOperationError:s,withOperationLocation:f,getPollingInterval:o,getOperationStatus:n,getResourceLocation:i,processResult:u,getError:a,updateState:d,options:e,setDelay:e=>{Q=e},setErrorAsResult:!c});await handleProgressEvents();if(!c){switch(C.status){case"canceled":throw new Error(B);case"failed":throw C.error}}}};return b}}async function createHttpPoller(e,t){const{resourceLocationConfig:r,intervalInMs:n,processResult:s,restoreFrom:i,updateState:o,withOperationLocation:a,resolveOnUnsuccessful:c=false}=t||{};return buildCreatePoller({getStatusFromInitialResponse:getStatusFromInitialResponse,getStatusFromPollResponse:getOperationStatus,isOperationError:isOperationError,getOperationLocation:getOperationLocation,getResourceLocation:getResourceLocation,getPollingInterval:parseRetryAfter,getError:getErrorFromResponse,resolveOnUnsuccessful:c})({init:async()=>{const t=await e.sendInitialRequest();const n=inferLroMode({rawResponse:t.rawResponse,requestPath:e.requestPath,requestMethod:e.requestMethod,resourceLocationConfig:r});return Object.assign({response:t,operationLocation:n===null||n===void 0?void 0:n.operationLocation,resourceLocation:n===null||n===void 0?void 0:n.resourceLocation},(n===null||n===void 0?void 0:n.mode)?{metadata:{mode:n.mode}}:{})},poll:e.sendPollRequest},{intervalInMs:n,withOperationLocation:a,restoreFrom:i,updateState:o,processResult:s?({flatResponse:e},t)=>s(e,t):({flatResponse:e})=>e})}const operation_createStateProxy=()=>({initState:e=>({config:e,isStarted:true}),setCanceled:e=>e.isCancelled=true,setError:(e,t)=>e.error=t,setResult:(e,t)=>e.result=t,setRunning:e=>e.isStarted=true,setSucceeded:e=>e.isCompleted=true,setFailed:()=>{},getError:e=>e.error,getResult:e=>e.result,isCanceled:e=>!!e.isCancelled,isFailed:e=>!!e.error,isRunning:e=>!!e.isStarted,isSucceeded:e=>Boolean(e.isCompleted&&!e.isCancelled&&!e.error)});class GenericPollOperation{constructor(e,t,r,n,s,i,o){this.state=e;this.lro=t;this.setErrorAsResult=r;this.lroResourceLocationConfig=n;this.processResult=s;this.updateState=i;this.isDone=o}setPollerConfig(e){this.pollerConfig=e}async update(e){var t;const r=operation_createStateProxy();if(!this.state.isStarted){this.state=Object.assign(Object.assign({},this.state),await initHttpOperation({lro:this.lro,stateProxy:r,resourceLocationConfig:this.lroResourceLocationConfig,processResult:this.processResult,setErrorAsResult:this.setErrorAsResult}))}const n=this.updateState;const s=this.isDone;if(!this.state.isCompleted&&this.state.error===undefined){await pollHttpOperation({lro:this.lro,state:this.state,stateProxy:r,processResult:this.processResult,updateState:n?(e,{rawResponse:t})=>n(e,t):undefined,isDone:s?({flatResponse:e},t)=>s(e,t):undefined,options:e,setDelay:e=>{this.pollerConfig.intervalInMs=e},setErrorAsResult:this.setErrorAsResult})}(t=e===null||e===void 0?void 0:e.fireProgress)===null||t===void 0?void 0:t.call(e,this.state);return this}async cancel(){sE.error("`cancelOperation` is deprecated because it wasn't implemented");return this}toString(){return JSON.stringify({state:this.state})}}class PollerStoppedError extends Error{constructor(e){super(e);this.name="PollerStoppedError";Object.setPrototypeOf(this,PollerStoppedError.prototype)}}class PollerCancelledError extends Error{constructor(e){super(e);this.name="PollerCancelledError";Object.setPrototypeOf(this,PollerCancelledError.prototype)}}class Poller{constructor(e){this.resolveOnUnsuccessful=false;this.stopped=true;this.pollProgressCallbacks=[];this.operation=e;this.promise=new Promise(((e,t)=>{this.resolve=e;this.reject=t}));this.promise.catch((()=>{}))}async startPolling(e={}){if(this.stopped){this.stopped=false}while(!this.isStopped()&&!this.isDone()){await this.poll(e);await this.delay()}}async pollOnce(e={}){if(!this.isDone()){this.operation=await this.operation.update({abortSignal:e.abortSignal,fireProgress:this.fireProgress.bind(this)})}this.processUpdatedState()}fireProgress(e){for(const t of this.pollProgressCallbacks){t(e)}}async cancelOnce(e={}){this.operation=await this.operation.cancel(e)}poll(e={}){if(!this.pollOncePromise){this.pollOncePromise=this.pollOnce(e);const clearPollOncePromise=()=>{this.pollOncePromise=undefined};this.pollOncePromise.then(clearPollOncePromise,clearPollOncePromise).catch(this.reject)}return this.pollOncePromise}processUpdatedState(){if(this.operation.state.error){this.stopped=true;if(!this.resolveOnUnsuccessful){this.reject(this.operation.state.error);throw this.operation.state.error}}if(this.operation.state.isCancelled){this.stopped=true;if(!this.resolveOnUnsuccessful){const e=new PollerCancelledError("Operation was canceled");this.reject(e);throw e}}if(this.isDone()&&this.resolve){this.resolve(this.getResult())}}async pollUntilDone(e={}){if(this.stopped){this.startPolling(e).catch(this.reject)}this.processUpdatedState();return this.promise}onProgress(e){this.pollProgressCallbacks.push(e);return()=>{this.pollProgressCallbacks=this.pollProgressCallbacks.filter((t=>t!==e))}}isDone(){const e=this.operation.state;return Boolean(e.isCompleted||e.isCancelled||e.error)}stopPolling(){if(!this.stopped){this.stopped=true;if(this.reject){this.reject(new PollerStoppedError("This poller is already stopped"))}}}isStopped(){return this.stopped}cancelOperation(e={}){if(!this.cancelPromise){this.cancelPromise=this.cancelOnce(e)}else if(e.abortSignal){throw new Error("A cancel request is currently pending")}return this.cancelPromise}getOperationState(){return this.operation.state}getResult(){const e=this.operation.state;return e.result}toString(){return this.operation.toString()}}class LroEngine extends Poller{constructor(e,t){const{intervalInMs:r=iE,resumeFrom:n,resolveOnUnsuccessful:s=false,isDone:i,lroResourceLocationConfig:o,processResult:a,updateState:c}=t||{};const l=n?operation_deserializeState(n):{};const A=new GenericPollOperation(l,e,!s,o,a,c,i);super(A);this.resolveOnUnsuccessful=s;this.config={intervalInMs:r};A.setPollerConfig(this.config)}delay(){return new Promise((e=>setTimeout((()=>e()),this.config.intervalInMs)))}}class BlobBeginCopyFromUrlPoller extends Poller{intervalInMs;constructor(e){const{blobClient:t,copySource:r,intervalInMs:n=15e3,onProgress:s,resumeFrom:i,startCopyFromURLOptions:o}=e;let a;if(i){a=JSON.parse(i).state}const c=makeBlobBeginCopyFromURLPollOperation({...a,blobClient:t,copySource:r,startCopyFromURLOptions:o});super(c);if(typeof s==="function"){this.onProgress(s)}this.intervalInMs=n}delay(){return delay_delay(this.intervalInMs)}}const aE=async function cancel(e={}){const t=this.state;const{copyId:r}=t;if(t.isCompleted){return makeBlobBeginCopyFromURLPollOperation(t)}if(!r){t.isCancelled=true;return makeBlobBeginCopyFromURLPollOperation(t)}await t.blobClient.abortCopyFromURL(r,{abortSignal:e.abortSignal});t.isCancelled=true;return makeBlobBeginCopyFromURLPollOperation(t)};const cE=async function update(e={}){const t=this.state;const{blobClient:r,copySource:n,startCopyFromURLOptions:s}=t;if(!t.isStarted){t.isStarted=true;const e=await r.startCopyFromURL(n,s);t.copyId=e.copyId;if(e.copyStatus==="success"){t.result=e;t.isCompleted=true}}else if(!t.isCompleted){try{const r=await t.blobClient.getProperties({abortSignal:e.abortSignal});const{copyStatus:n,copyProgress:s}=r;const i=t.copyProgress;if(s){t.copyProgress=s}if(n==="pending"&&s!==i&&typeof e.fireProgress==="function"){e.fireProgress(t)}else if(n==="success"){t.result=r;t.isCompleted=true}else if(n==="failed"){t.error=new Error(`Blob copy failed with reason: "${r.copyStatusDescription||"unknown"}"`);t.isCompleted=true}}catch(e){t.error=e;t.isCompleted=true}}return makeBlobBeginCopyFromURLPollOperation(t)};const lE=function toString(){return JSON.stringify({state:this.state},((e,t)=>{if(e==="blobClient"){return undefined}return t}))};function makeBlobBeginCopyFromURLPollOperation(e){return{state:{...e},cancel:aE,toString:lE,update:cE}}function rangeToString(e){if(e.offset<0){throw new RangeError(`Range.offset cannot be smaller than 0.`)}if(e.count&&e.count<=0){throw new RangeError(`Range.count must be larger than 0. Leave it undefined if you want a range from offset to the end.`)}return e.count?`bytes=${e.offset}-${e.offset+e.count-1}`:`bytes=${e.offset}-`}var AE;(function(e){e[e["Good"]=0]="Good";e[e["Error"]=1]="Error"})(AE||(AE={}));class Batch{concurrency;actives=0;completed=0;offset=0;operations=[];state=AE.Good;emitter;constructor(e=5){if(e<1){throw new RangeError("concurrency must be larger than 0")}this.concurrency=e;this.emitter=new Ur.EventEmitter}addOperation(e){this.operations.push((async()=>{try{this.actives++;await e();this.actives--;this.completed++;this.parallelExecute()}catch(e){this.emitter.emit("error",e)}}))}async do(){if(this.operations.length===0){return Promise.resolve()}this.parallelExecute();return new Promise(((e,t)=>{this.emitter.on("finish",e);this.emitter.on("error",(e=>{this.state=AE.Error;t(e)}))}))}nextOperation(){if(this.offset<this.operations.length){return this.operations[this.offset++]}return null}parallelExecute(){if(this.state===AE.Error){return}if(this.completed>=this.operations.length){this.emitter.emit("finish");return}while(this.actives<this.concurrency){const e=this.nextOperation();if(e){e()}else{return}}}}async function streamToBuffer(e,t,r,n,s){let i=0;const o=n-r;return new Promise(((n,a)=>{const c=setTimeout((()=>a(new Error(`The operation cannot be completed in timeout.`))),Uu);e.on("readable",(()=>{if(i>=o){clearTimeout(c);n();return}let a;while((a=e.read())!==null){if(typeof a==="string"){a=Buffer.from(a,s)}const e=i+a.length>o?o-i:a.length;t.fill(a.slice(0,e),r+i,r+i+e);i+=e;if(i>=o){clearTimeout(c);n();return}}}));e.on("end",(()=>{clearTimeout(c);if(i<o){a(new Error(`Stream drains before getting enough data needed. Data read: ${i}, data need: ${o}`))}n()}));e.on("error",(e=>{clearTimeout(c);a(e)}))}))}async function streamToBuffer2(e,t,r){let n=0;const s=t.length;return new Promise(((i,o)=>{e.on("readable",(()=>{let i;while((i=e.read())!==null){if(typeof i==="string"){i=Buffer.from(i,r)}if(n+i.length>s){o(new Error(`Stream exceeds buffer size. Buffer size: ${s}`));return}t.fill(i,n,n+i.length);n+=i.length}}));e.on("end",(()=>{i(n)}));e.on("error",o)}))}async function streamToBuffer3(e,t){return new Promise(((r,n)=>{const s=[];e.on("data",(e=>{s.push(typeof e==="string"?Buffer.from(e,t):e)}));e.on("end",(()=>{r(Buffer.concat(s))}));e.on("error",n)}))}async function readStreamToLocalFile(e,t){return new Promise(((r,n)=>{const s=we.createWriteStream(t);e.on("error",(e=>{n(e)}));s.on("error",(e=>{n(e)}));s.on("close",r);e.pipe(s)}))}const uE=xo.promisify(we.stat);const dE=we.createReadStream;class BlobClient extends StorageClient_StorageClient{blobContext;_name;_containerName;_versionId;_snapshot;blobClientConfig;get name(){return this._name}get containerName(){return this._containerName}constructor(e,t,r,n){n=n||{};let s;let i;if(isPipelineLike(t)){i=e;s=t;n=r}else if(hc&&t instanceof StorageSharedKeyCredential||t instanceof AnonymousCredential||isTokenCredential(t)){i=e;n=r;s=newPipeline(t,n)}else if(!t&&typeof t!=="string"){i=e;if(r&&typeof r!=="string"){n=r}s=newPipeline(new AnonymousCredential,n)}else if(t&&typeof t==="string"&&r&&typeof r==="string"){const o=t;const a=r;const c=utils_common_extractConnectionStringParts(e);if(c.kind==="AccountConnString"){if(hc){const e=new StorageSharedKeyCredential(c.accountName,c.accountKey);i=utils_common_appendToURLPath(utils_common_appendToURLPath(c.url,encodeURIComponent(o)),encodeURIComponent(a));if(!n.proxyOptions){n.proxyOptions=proxyPolicy_getDefaultProxySettings(c.proxyUri)}s=newPipeline(e,n)}else{throw new Error("Account connection string is only supported in Node.js environment")}}else if(c.kind==="SASConnString"){i=utils_common_appendToURLPath(utils_common_appendToURLPath(c.url,encodeURIComponent(o)),encodeURIComponent(a))+"?"+c.accountSas;s=newPipeline(new AnonymousCredential,n)}else{throw new Error("Connection string must be either an Account connection string or a SAS connection string")}}else{throw new Error("Expecting non-empty strings for containerName and blobName parameters")}super(i,s);({blobName:this._name,containerName:this._containerName}=this.getBlobAndContainerNamesFromUrl());this.blobContext=this.storageClientContext.blob;this._snapshot=utils_common_getURLParameter(this.url,Hu.Parameters.SNAPSHOT);this._versionId=utils_common_getURLParameter(this.url,Hu.Parameters.VERSIONID);this.blobClientConfig=n}withSnapshot(e){return new BlobClient(utils_common_setURLParameter(this.url,Hu.Parameters.SNAPSHOT,e.length===0?undefined:e),this.pipeline,this.blobClientConfig)}withVersion(e){return new BlobClient(utils_common_setURLParameter(this.url,Hu.Parameters.VERSIONID,e.length===0?undefined:e),this.pipeline,this.blobClientConfig)}getAppendBlobClient(){return new AppendBlobClient(this.url,this.pipeline,this.blobClientConfig)}getBlockBlobClient(){return new BlockBlobClient(this.url,this.pipeline,this.blobClientConfig)}getPageBlobClient(){return new PageBlobClient(this.url,this.pipeline,this.blobClientConfig)}async download(e=0,t,r={}){r.conditions=r.conditions||{};r.conditions=r.conditions||{};ensureCpkIfSpecified(r.customerProvidedKey,this.isHttps);return Yy.withSpan("BlobClient-download",r,(async n=>{let s=r.contentChecksumAlgorithm??this.blobClientConfig?.downloadContentChecksumAlgorithm;if(s===undefined){s="Customized"}else if(s==="Auto"){s="StorageCrc64"}if(s==="StorageCrc64"){await StorageCRC64Calculator.init()}const i=utils_common_assertResponse(await this.blobContext.download({abortSignal:r.abortSignal,leaseAccessConditions:r.conditions,modifiedAccessConditions:{...r.conditions,ifTags:r.conditions?.tagConditions},requestOptions:{onDownloadProgress:hc?undefined:r.onProgress},range:e===0&&!t?undefined:rangeToString({offset:e,count:t}),rangeGetContentMD5:r.rangeGetContentMD5,rangeGetContentCRC64:r.rangeGetContentCrc64,snapshot:r.snapshot,cpkInfo:r.customerProvidedKey,tracingOptions:n.tracingOptions,structuredBodyType:s==="StorageCrc64"?"XSM/1.0; properties=crc64":undefined}));const o={...i,_response:i._response,objectReplicationDestinationPolicyId:i.objectReplicationPolicyId,objectReplicationSourceProperties:parseObjectReplicationRecord(i.objectReplicationRules)};if(!hc){if(s==="StorageCrc64"){o.blobBody=structuredMessageDecodingBrowser(await o.blobBody)}return o}if(r.maxRetryRequests===undefined||r.maxRetryRequests<0){r.maxRetryRequests=Lu}if(i.contentLength===undefined){throw new RangeError(`File download response doesn't contain valid content length header`)}if(s==="StorageCrc64"&&i.structuredContentLength===undefined){throw new RangeError(`Unexpected structured content length`)}if(!i.etag){throw new RangeError(`File download response doesn't contain valid etag header`)}const a=s==="StorageCrc64"?i.structuredContentLength:i.contentLength;return new BlobDownloadResponse(o,(async t=>{const n={leaseAccessConditions:r.conditions,modifiedAccessConditions:{ifMatch:r.conditions.ifMatch||i.etag,ifModifiedSince:r.conditions.ifModifiedSince,ifNoneMatch:r.conditions.ifNoneMatch,ifUnmodifiedSince:r.conditions.ifUnmodifiedSince,ifTags:r.conditions?.tagConditions},range:rangeToString({count:e+a-t,offset:t}),rangeGetContentMD5:r.rangeGetContentMD5,rangeGetContentCRC64:r.rangeGetContentCrc64,snapshot:r.snapshot,cpkInfo:r.customerProvidedKey,structuredBodyType:s==="StorageCrc64"?"XSM/1.0; properties=crc64":undefined};const o=(await this.blobContext.download({abortSignal:r.abortSignal,...n})).readableStreamBody;if(s==="StorageCrc64"){return structuredMessageDecodingStream(o,{})}else{return o}}),e,a,{maxRetryRequests:r.maxRetryRequests,onProgress:r.onProgress})}))}async exists(e={}){return Yy.withSpan("BlobClient-exists",e,(async t=>{try{ensureCpkIfSpecified(e.customerProvidedKey,this.isHttps);await this.getProperties({abortSignal:e.abortSignal,customerProvidedKey:e.customerProvidedKey,conditions:e.conditions,tracingOptions:t.tracingOptions});return true}catch(e){if(e.statusCode===404){return false}else if(e.statusCode===409&&(e.details.errorCode===ed||e.details.errorCode===td)){return true}throw e}}))}async getProperties(e={}){e.conditions=e.conditions||{};ensureCpkIfSpecified(e.customerProvidedKey,this.isHttps);return Yy.withSpan("BlobClient-getProperties",e,(async t=>{const r=utils_common_assertResponse(await this.blobContext.getProperties({abortSignal:e.abortSignal,leaseAccessConditions:e.conditions,modifiedAccessConditions:{...e.conditions,ifTags:e.conditions?.tagConditions},cpkInfo:e.customerProvidedKey,tracingOptions:t.tracingOptions}));return{...r,_response:r._response,objectReplicationDestinationPolicyId:r.objectReplicationPolicyId,objectReplicationSourceProperties:parseObjectReplicationRecord(r.objectReplicationRules)}}))}async delete(e={}){e.conditions=e.conditions||{};return Yy.withSpan("BlobClient-delete",e,(async t=>utils_common_assertResponse(await this.blobContext.delete({abortSignal:e.abortSignal,deleteSnapshots:e.deleteSnapshots,leaseAccessConditions:e.conditions,modifiedAccessConditions:{...e.conditions,ifTags:e.conditions?.tagConditions},tracingOptions:t.tracingOptions,accessTierIfModifiedSince:e.conditions?.accessTierIfModifiedSince,accessTierIfUnmodifiedSince:e.conditions?.accessTierIfUnmodifiedSince}))))}async deleteIfExists(e={}){return Yy.withSpan("BlobClient-deleteIfExists",e,(async e=>{try{const t=utils_common_assertResponse(await this.delete(e));return{succeeded:true,...t,_response:t._response}}catch(e){if(e.details?.errorCode==="BlobNotFound"){return{succeeded:false,...e.response?.parsedHeaders,_response:e.response}}throw e}}))}async undelete(e={}){return Yy.withSpan("BlobClient-undelete",e,(async t=>utils_common_assertResponse(await this.blobContext.undelete({abortSignal:e.abortSignal,tracingOptions:t.tracingOptions}))))}async setHTTPHeaders(e,t={}){t.conditions=t.conditions||{};ensureCpkIfSpecified(t.customerProvidedKey,this.isHttps);return Yy.withSpan("BlobClient-setHTTPHeaders",t,(async r=>utils_common_assertResponse(await this.blobContext.setHttpHeaders({abortSignal:t.abortSignal,blobHttpHeaders:e,leaseAccessConditions:t.conditions,modifiedAccessConditions:{...t.conditions,ifTags:t.conditions?.tagConditions},tracingOptions:r.tracingOptions}))))}async setMetadata(e,t={}){t.conditions=t.conditions||{};ensureCpkIfSpecified(t.customerProvidedKey,this.isHttps);return Yy.withSpan("BlobClient-setMetadata",t,(async r=>utils_common_assertResponse(await this.blobContext.setMetadata({abortSignal:t.abortSignal,leaseAccessConditions:t.conditions,metadata:e,modifiedAccessConditions:{...t.conditions,ifTags:t.conditions?.tagConditions},cpkInfo:t.customerProvidedKey,encryptionScope:t.encryptionScope,tracingOptions:r.tracingOptions}))))}async setTags(e,t={}){return Yy.withSpan("BlobClient-setTags",t,(async r=>utils_common_assertResponse(await this.blobContext.setTags({abortSignal:t.abortSignal,leaseAccessConditions:t.conditions,modifiedAccessConditions:{...t.conditions,ifTags:t.conditions?.tagConditions},blobModifiedAccessConditions:t.conditions,tracingOptions:r.tracingOptions,tags:toBlobTags(e)}))))}async getTags(e={}){return Yy.withSpan("BlobClient-getTags",e,(async t=>{const r=utils_common_assertResponse(await this.blobContext.getTags({abortSignal:e.abortSignal,leaseAccessConditions:e.conditions,modifiedAccessConditions:{...e.conditions,ifTags:e.conditions?.tagConditions},blobModifiedAccessConditions:e.conditions,tracingOptions:t.tracingOptions}));const n={...r,_response:r._response,tags:toTags({blobTagSet:r.blobTagSet})||{}};return n}))}getBlobLeaseClient(e){return new BlobLeaseClient(this,e)}async createSnapshot(e={}){e.conditions=e.conditions||{};ensureCpkIfSpecified(e.customerProvidedKey,this.isHttps);return Yy.withSpan("BlobClient-createSnapshot",e,(async t=>utils_common_assertResponse(await this.blobContext.createSnapshot({abortSignal:e.abortSignal,leaseAccessConditions:e.conditions,metadata:e.metadata,modifiedAccessConditions:{...e.conditions,ifTags:e.conditions?.tagConditions},cpkInfo:e.customerProvidedKey,encryptionScope:e.encryptionScope,tracingOptions:t.tracingOptions}))))}async beginCopyFromURL(e,t={}){const r={abortCopyFromURL:(...e)=>this.abortCopyFromURL(...e),getProperties:(...e)=>this.getProperties(...e),startCopyFromURL:(...e)=>this.startCopyFromURL(...e)};const n=new BlobBeginCopyFromUrlPoller({blobClient:r,copySource:e,intervalInMs:t.intervalInMs,onProgress:t.onProgress,resumeFrom:t.resumeFrom,startCopyFromURLOptions:t});await n.poll();return n}async abortCopyFromURL(e,t={}){return Yy.withSpan("BlobClient-abortCopyFromURL",t,(async r=>utils_common_assertResponse(await this.blobContext.abortCopyFromURL(e,{abortSignal:t.abortSignal,leaseAccessConditions:t.conditions,tracingOptions:r.tracingOptions}))))}async syncCopyFromURL(e,t={}){t.conditions=t.conditions||{};t.sourceConditions=t.sourceConditions||{};return Yy.withSpan("BlobClient-syncCopyFromURL",t,(async r=>utils_common_assertResponse(await this.blobContext.copyFromURL(e,{abortSignal:t.abortSignal,metadata:t.metadata,leaseAccessConditions:t.conditions,modifiedAccessConditions:{...t.conditions,ifTags:t.conditions?.tagConditions},sourceModifiedAccessConditions:{sourceIfMatch:t.sourceConditions?.ifMatch,sourceIfModifiedSince:t.sourceConditions?.ifModifiedSince,sourceIfNoneMatch:t.sourceConditions?.ifNoneMatch,sourceIfUnmodifiedSince:t.sourceConditions?.ifUnmodifiedSince},sourceContentMD5:t.sourceContentMD5,copySourceAuthorization:utils_common_httpAuthorizationToString(t.sourceAuthorization),tier:toAccessTier(t.tier),blobTagsString:toBlobTagsString(t.tags),immutabilityPolicyExpiry:t.immutabilityPolicy?.expiriesOn,immutabilityPolicyMode:t.immutabilityPolicy?.policyMode,legalHold:t.legalHold,encryptionScope:t.encryptionScope,copySourceTags:t.copySourceTags,fileRequestIntent:t.sourceShareTokenIntent,tracingOptions:r.tracingOptions}))))}async setAccessTier(e,t={}){return Yy.withSpan("BlobClient-setAccessTier",t,(async r=>utils_common_assertResponse(await this.blobContext.setTier(toAccessTier(e),{abortSignal:t.abortSignal,leaseAccessConditions:t.conditions,modifiedAccessConditions:{...t.conditions,ifTags:t.conditions?.tagConditions},rehydratePriority:t.rehydratePriority,tracingOptions:r.tracingOptions}))))}async downloadToBuffer(e,t,r,n={}){let s;let i=0;let o=0;let a=n;if(e instanceof Buffer){s=e;i=t||0;o=typeof r==="number"?r:0}else{i=typeof e==="number"?e:0;o=typeof t==="number"?t:0;a=r||{}}let c=a.blockSize??0;if(c<0){throw new RangeError("blockSize option must be >= 0")}if(c===0){c=Pu}if(i<0){throw new RangeError("offset option must be >= 0")}if(o&&o<=0){throw new RangeError("count option must be greater than 0")}if(!a.conditions){a.conditions={}}return Yy.withSpan("BlobClient-downloadToBuffer",a,(async e=>{if(!o){const t=await this.getProperties({...a,tracingOptions:e.tracingOptions});o=t.contentLength-i;if(o<0){throw new RangeError(`offset ${i} shouldn't be larger than blob size ${t.contentLength}`)}}if(!s){try{s=Buffer.alloc(o)}catch(e){throw new Error(`Unable to allocate the buffer of size: ${o}(in bytes). Please try passing your own buffer to the "downloadToBuffer" method or try using other methods like "download" or "downloadToFile".\t ${e.message}`)}}if(s.length<o){throw new RangeError(`The buffer's size should be equal to or larger than the request count of bytes: ${o}`)}let t=0;const r=new Batch(a.concurrency);for(let n=i;n<i+o;n=n+c){r.addOperation((async()=>{let r=i+o;if(n+c<r){r=n+c}const l=await this.download(n,r-n,{abortSignal:a.abortSignal,conditions:a.conditions,maxRetryRequests:a.maxRetryRequestsPerBlock,customerProvidedKey:a.customerProvidedKey,contentChecksumAlgorithm:a.contentChecksumAlgorithm,tracingOptions:e.tracingOptions});const A=l.readableStreamBody;await streamToBuffer(A,s,n-i,r-i);t+=r-n;if(a.onProgress){a.onProgress({loadedBytes:t})}}))}await r.do();return s}))}async downloadToFile(e,t=0,r,n={}){return Yy.withSpan("BlobClient-downloadToFile",n,(async s=>{const i=await this.download(t,r,{...n,tracingOptions:s.tracingOptions});if(i.readableStreamBody){await readStreamToLocalFile(i.readableStreamBody,e)}i.blobDownloadStream=undefined;return i}))}getBlobAndContainerNamesFromUrl(){let e;let t;try{const r=new URL(this.url);if(r.host.split(".")[1]==="blob"){const n=r.pathname.match("/([^/]*)(/(.*))?");e=n[1];t=n[3]}else if(utils_common_isIpEndpointStyle(r)){const n=r.pathname.match("/([^/]*)/([^/]*)(/(.*))?");e=n[2];t=n[4]}else{const n=r.pathname.match("/([^/]*)(/(.*))?");e=n[1];t=n[3]}e=decodeURIComponent(e);t=decodeURIComponent(t);t=t.replace(/\\/g,"/");if(!e){throw new Error("Provided containerName is invalid.")}return{blobName:t,containerName:e}}catch(e){throw new Error("Unable to extract blobName and containerName with provided information.")}}async startCopyFromURL(e,t={}){return Yy.withSpan("BlobClient-startCopyFromURL",t,(async r=>{t.conditions=t.conditions||{};t.sourceConditions=t.sourceConditions||{};return utils_common_assertResponse(await this.blobContext.startCopyFromURL(e,{abortSignal:t.abortSignal,leaseAccessConditions:t.conditions,metadata:t.metadata,modifiedAccessConditions:{...t.conditions,ifTags:t.conditions?.tagConditions},sourceModifiedAccessConditions:{sourceIfMatch:t.sourceConditions.ifMatch,sourceIfModifiedSince:t.sourceConditions.ifModifiedSince,sourceIfNoneMatch:t.sourceConditions.ifNoneMatch,sourceIfUnmodifiedSince:t.sourceConditions.ifUnmodifiedSince,sourceIfTags:t.sourceConditions.tagConditions},immutabilityPolicyExpiry:t.immutabilityPolicy?.expiriesOn,immutabilityPolicyMode:t.immutabilityPolicy?.policyMode,legalHold:t.legalHold,rehydratePriority:t.rehydratePriority,tier:toAccessTier(t.tier),blobTagsString:toBlobTagsString(t.tags),sealBlob:t.sealBlob,tracingOptions:r.tracingOptions}))}))}generateSasUrl(e){return new Promise((t=>{if(!(this.credential instanceof StorageSharedKeyCredential)){throw new RangeError("Can only generate the SAS when the client is initialized with a shared key credential")}const r=generateBlobSASQueryParameters({containerName:this._containerName,blobName:this._name,snapshotTime:this._snapshot,versionId:this._versionId,...e},this.credential).toString();t(utils_common_appendToURLQuery(this.url,r))}))}generateSasStringToSign(e){if(!(this.credential instanceof StorageSharedKeyCredential)){throw new RangeError("Can only generate the SAS when the client is initialized with a shared key credential")}return generateBlobSASQueryParametersInternal({containerName:this._containerName,blobName:this._name,snapshotTime:this._snapshot,versionId:this._versionId,...e},this.credential).stringToSign}generateUserDelegationSasUrl(e,t){return new Promise((r=>{const n=generateBlobSASQueryParameters({containerName:this._containerName,blobName:this._name,snapshotTime:this._snapshot,versionId:this._versionId,...e},t,this.accountName).toString();r(utils_common_appendToURLQuery(this.url,n))}))}generateUserDelegationSasStringToSign(e,t){return generateBlobSASQueryParametersInternal({containerName:this._containerName,blobName:this._name,snapshotTime:this._snapshot,versionId:this._versionId,...e},t,this.accountName).stringToSign}async deleteImmutabilityPolicy(e={}){return Yy.withSpan("BlobClient-deleteImmutabilityPolicy",e,(async e=>utils_common_assertResponse(await this.blobContext.deleteImmutabilityPolicy({tracingOptions:e.tracingOptions}))))}async setImmutabilityPolicy(e,t={}){return Yy.withSpan("BlobClient-setImmutabilityPolicy",t,(async t=>utils_common_assertResponse(await this.blobContext.setImmutabilityPolicy({immutabilityPolicyExpiry:e.expiriesOn,immutabilityPolicyMode:e.policyMode,tracingOptions:t.tracingOptions}))))}async setLegalHold(e,t={}){return Yy.withSpan("BlobClient-setLegalHold",t,(async t=>utils_common_assertResponse(await this.blobContext.setLegalHold(e,{tracingOptions:t.tracingOptions}))))}async getAccountInfo(e={}){return Yy.withSpan("BlobClient-getAccountInfo",e,(async t=>utils_common_assertResponse(await this.blobContext.getAccountInfo({abortSignal:e.abortSignal,tracingOptions:t.tracingOptions}))))}}class AppendBlobClient extends BlobClient{appendBlobContext;constructor(e,t,r,n){let s;let i;n=n||{};if(isPipelineLike(t)){i=e;s=t;n=r}else if(hc&&t instanceof StorageSharedKeyCredential||t instanceof AnonymousCredential||isTokenCredential(t)){i=e;n=r;s=newPipeline(t,n)}else if(!t&&typeof t!=="string"){i=e;n=r;s=newPipeline(new AnonymousCredential,n)}else if(t&&typeof t==="string"&&r&&typeof r==="string"){const o=t;const a=r;const c=utils_common_extractConnectionStringParts(e);if(c.kind==="AccountConnString"){if(hc){const e=new StorageSharedKeyCredential(c.accountName,c.accountKey);i=utils_common_appendToURLPath(utils_common_appendToURLPath(c.url,encodeURIComponent(o)),encodeURIComponent(a));if(!n.proxyOptions){n.proxyOptions=proxyPolicy_getDefaultProxySettings(c.proxyUri)}s=newPipeline(e,n)}else{throw new Error("Account connection string is only supported in Node.js environment")}}else if(c.kind==="SASConnString"){i=utils_common_appendToURLPath(utils_common_appendToURLPath(c.url,encodeURIComponent(o)),encodeURIComponent(a))+"?"+c.accountSas;s=newPipeline(new AnonymousCredential,n)}else{throw new Error("Connection string must be either an Account connection string or a SAS connection string")}}else{throw new Error("Expecting non-empty strings for containerName and blobName parameters")}super(i,s);this.appendBlobContext=this.storageClientContext.appendBlob;this.blobClientConfig=n}withSnapshot(e){return new AppendBlobClient(utils_common_setURLParameter(this.url,Hu.Parameters.SNAPSHOT,e.length===0?undefined:e),this.pipeline,this.blobClientConfig)}async create(e={}){e.conditions=e.conditions||{};ensureCpkIfSpecified(e.customerProvidedKey,this.isHttps);return Yy.withSpan("AppendBlobClient-create",e,(async t=>utils_common_assertResponse(await this.appendBlobContext.create(0,{abortSignal:e.abortSignal,blobHttpHeaders:e.blobHTTPHeaders,leaseAccessConditions:e.conditions,metadata:e.metadata,modifiedAccessConditions:{...e.conditions,ifTags:e.conditions?.tagConditions},cpkInfo:e.customerProvidedKey,encryptionScope:e.encryptionScope,immutabilityPolicyExpiry:e.immutabilityPolicy?.expiriesOn,immutabilityPolicyMode:e.immutabilityPolicy?.policyMode,legalHold:e.legalHold,blobTagsString:toBlobTagsString(e.tags),tracingOptions:t.tracingOptions}))))}async createIfNotExists(e={}){const t={ifNoneMatch:zu};return Yy.withSpan("AppendBlobClient-createIfNotExists",e,(async e=>{try{const r=utils_common_assertResponse(await this.create({...e,conditions:t}));return{succeeded:true,...r,_response:r._response}}catch(e){if(e.details?.errorCode==="BlobAlreadyExists"){return{succeeded:false,...e.response?.parsedHeaders,_response:e.response}}throw e}}))}async seal(e={}){e.conditions=e.conditions||{};return Yy.withSpan("AppendBlobClient-seal",e,(async t=>utils_common_assertResponse(await this.appendBlobContext.seal({abortSignal:e.abortSignal,appendPositionAccessConditions:e.conditions,leaseAccessConditions:e.conditions,modifiedAccessConditions:{...e.conditions,ifTags:e.conditions?.tagConditions},tracingOptions:t.tracingOptions}))))}async appendBlock(e,t,r={}){r.conditions=r.conditions||{};ensureCpkIfSpecified(r.customerProvidedKey,this.isHttps);return Yy.withSpan("AppendBlobClient-appendBlock",r,(async n=>{const s={abortSignal:r.abortSignal,appendPositionAccessConditions:r.conditions,leaseAccessConditions:r.conditions,modifiedAccessConditions:{...r.conditions,ifTags:r.conditions?.tagConditions},requestOptions:{onUploadProgress:r.onProgress},cpkInfo:r.customerProvidedKey,encryptionScope:r.encryptionScope,tracingOptions:n.tracingOptions};const i=await setUploadChecksumParameters(e,t,s,r,this.blobClientConfig?.uploadContentChecksumAlgorithm);return utils_common_assertResponse(await this.appendBlobContext.appendBlock(i.contentLength,i.body,s))}))}async appendBlockFromURL(e,t,r,n={}){n.conditions=n.conditions||{};n.sourceConditions=n.sourceConditions||{};ensureCpkIfSpecified(n.customerProvidedKey,this.isHttps);return Yy.withSpan("AppendBlobClient-appendBlockFromURL",n,(async s=>utils_common_assertResponse(await this.appendBlobContext.appendBlockFromUrl(e,0,{abortSignal:n.abortSignal,sourceRange:rangeToString({offset:t,count:r}),sourceContentMD5:n.sourceContentMD5,sourceContentCrc64:n.sourceContentCrc64,leaseAccessConditions:n.conditions,appendPositionAccessConditions:n.conditions,modifiedAccessConditions:{...n.conditions,ifTags:n.conditions?.tagConditions},sourceModifiedAccessConditions:{sourceIfMatch:n.sourceConditions?.ifMatch,sourceIfModifiedSince:n.sourceConditions?.ifModifiedSince,sourceIfNoneMatch:n.sourceConditions?.ifNoneMatch,sourceIfUnmodifiedSince:n.sourceConditions?.ifUnmodifiedSince},copySourceAuthorization:utils_common_httpAuthorizationToString(n.sourceAuthorization),cpkInfo:n.customerProvidedKey,encryptionScope:n.encryptionScope,fileRequestIntent:n.sourceShareTokenIntent,tracingOptions:s.tracingOptions,sourceCpkInfo:{sourceEncryptionKey:n.sourceCustomerProvidedKey?.encryptionKey,sourceEncryptionAlgorithm:n.sourceCustomerProvidedKey?.encryptionAlgorithm,sourceEncryptionKeySha256:n.sourceCustomerProvidedKey?.encryptionKeySha256}}))))}}class BlockBlobClient extends BlobClient{_blobContext;blockBlobContext;constructor(e,t,r,n){let s;let i;n=n||{};if(isPipelineLike(t)){i=e;s=t;n=r}else if(hc&&t instanceof StorageSharedKeyCredential||t instanceof AnonymousCredential||isTokenCredential(t)){i=e;n=r;s=newPipeline(t,n)}else if(!t&&typeof t!=="string"){i=e;if(r&&typeof r!=="string"){n=r}s=newPipeline(new AnonymousCredential,n)}else if(t&&typeof t==="string"&&r&&typeof r==="string"){const o=t;const a=r;const c=utils_common_extractConnectionStringParts(e);if(c.kind==="AccountConnString"){if(hc){const e=new StorageSharedKeyCredential(c.accountName,c.accountKey);i=utils_common_appendToURLPath(utils_common_appendToURLPath(c.url,encodeURIComponent(o)),encodeURIComponent(a));if(!n.proxyOptions){n.proxyOptions=proxyPolicy_getDefaultProxySettings(c.proxyUri)}s=newPipeline(e,n)}else{throw new Error("Account connection string is only supported in Node.js environment")}}else if(c.kind==="SASConnString"){i=utils_common_appendToURLPath(utils_common_appendToURLPath(c.url,encodeURIComponent(o)),encodeURIComponent(a))+"?"+c.accountSas;s=newPipeline(new AnonymousCredential,n)}else{throw new Error("Connection string must be either an Account connection string or a SAS connection string")}}else{throw new Error("Expecting non-empty strings for containerName and blobName parameters")}super(i,s);this.blockBlobContext=this.storageClientContext.blockBlob;this._blobContext=this.storageClientContext.blob;this.blobClientConfig=n}withSnapshot(e){return new BlockBlobClient(utils_common_setURLParameter(this.url,Hu.Parameters.SNAPSHOT,e.length===0?undefined:e),this.pipeline,this.blobClientConfig)}async query(e,t={}){ensureCpkIfSpecified(t.customerProvidedKey,this.isHttps);if(!hc){throw new Error("This operation currently is only supported in Node.js.")}return Yy.withSpan("BlockBlobClient-query",t,(async r=>{const n=utils_common_assertResponse(await this._blobContext.query({abortSignal:t.abortSignal,queryRequest:{queryType:"SQL",expression:e,inputSerialization:toQuerySerialization(t.inputTextConfiguration),outputSerialization:toQuerySerialization(t.outputTextConfiguration)},leaseAccessConditions:t.conditions,modifiedAccessConditions:{...t.conditions,ifTags:t.conditions?.tagConditions},cpkInfo:t.customerProvidedKey,tracingOptions:r.tracingOptions}));return new BlobQueryResponse(n,{abortSignal:t.abortSignal,onProgress:t.onProgress,onError:t.onError})}))}async upload(e,t,r={}){r.conditions=r.conditions||{};ensureCpkIfSpecified(r.customerProvidedKey,this.isHttps);return Yy.withSpan("BlockBlobClient-upload",r,(async n=>{const s={abortSignal:r.abortSignal,blobHttpHeaders:r.blobHTTPHeaders,leaseAccessConditions:r.conditions,metadata:r.metadata,modifiedAccessConditions:{...r.conditions,ifTags:r.conditions?.tagConditions},requestOptions:{onUploadProgress:r.onProgress},cpkInfo:r.customerProvidedKey,encryptionScope:r.encryptionScope,immutabilityPolicyExpiry:r.immutabilityPolicy?.expiriesOn,immutabilityPolicyMode:r.immutabilityPolicy?.policyMode,legalHold:r.legalHold,tier:toAccessTier(r.tier),blobTagsString:toBlobTagsString(r.tags),tracingOptions:n.tracingOptions};const i=await setUploadChecksumParameters(e,t,s,r,this.blobClientConfig?.uploadContentChecksumAlgorithm);return utils_common_assertResponse(await this.blockBlobContext.upload(i.contentLength,i.body,s))}))}async syncUploadFromURL(e,t={}){t.conditions=t.conditions||{};ensureCpkIfSpecified(t.customerProvidedKey,this.isHttps);return Yy.withSpan("BlockBlobClient-syncUploadFromURL",t,(async r=>utils_common_assertResponse(await this.blockBlobContext.putBlobFromUrl(0,e,{...t,blobHttpHeaders:t.blobHTTPHeaders,leaseAccessConditions:t.conditions,modifiedAccessConditions:{...t.conditions,ifTags:t.conditions?.tagConditions},sourceModifiedAccessConditions:{sourceIfMatch:t.sourceConditions?.ifMatch,sourceIfModifiedSince:t.sourceConditions?.ifModifiedSince,sourceIfNoneMatch:t.sourceConditions?.ifNoneMatch,sourceIfUnmodifiedSince:t.sourceConditions?.ifUnmodifiedSince,sourceIfTags:t.sourceConditions?.tagConditions},cpkInfo:t.customerProvidedKey,copySourceAuthorization:utils_common_httpAuthorizationToString(t.sourceAuthorization),tier:toAccessTier(t.tier),blobTagsString:toBlobTagsString(t.tags),copySourceTags:t.copySourceTags,fileRequestIntent:t.sourceShareTokenIntent,tracingOptions:r.tracingOptions,sourceCpkInfo:{sourceEncryptionKey:t.sourceCustomerProvidedKey?.encryptionKey,sourceEncryptionAlgorithm:t.sourceCustomerProvidedKey?.encryptionAlgorithm,sourceEncryptionKeySha256:t.sourceCustomerProvidedKey?.encryptionKeySha256}}))))}async stageBlock(e,t,r,n={}){ensureCpkIfSpecified(n.customerProvidedKey,this.isHttps);return Yy.withSpan("BlockBlobClient-stageBlock",n,(async s=>{const i={abortSignal:n.abortSignal,leaseAccessConditions:n.conditions,requestOptions:{onUploadProgress:n.onProgress},cpkInfo:n.customerProvidedKey,encryptionScope:n.encryptionScope,tracingOptions:s.tracingOptions};const o=await setUploadChecksumParameters(t,r,i,n,this.blobClientConfig?.uploadContentChecksumAlgorithm);return utils_common_assertResponse(await this.blockBlobContext.stageBlock(e,o.contentLength,o.body,i))}))}async stageBlockFromURL(e,t,r=0,n,s={}){ensureCpkIfSpecified(s.customerProvidedKey,this.isHttps);return Yy.withSpan("BlockBlobClient-stageBlockFromURL",s,(async i=>utils_common_assertResponse(await this.blockBlobContext.stageBlockFromURL(e,0,t,{abortSignal:s.abortSignal,leaseAccessConditions:s.conditions,sourceContentMD5:s.sourceContentMD5,sourceContentCrc64:s.sourceContentCrc64,sourceRange:r===0&&!n?undefined:rangeToString({offset:r,count:n}),cpkInfo:s.customerProvidedKey,encryptionScope:s.encryptionScope,copySourceAuthorization:utils_common_httpAuthorizationToString(s.sourceAuthorization),fileRequestIntent:s.sourceShareTokenIntent,tracingOptions:i.tracingOptions,sourceCpkInfo:{sourceEncryptionKey:s.sourceCustomerProvidedKey?.encryptionKey,sourceEncryptionAlgorithm:s.sourceCustomerProvidedKey?.encryptionAlgorithm,sourceEncryptionKeySha256:s.sourceCustomerProvidedKey?.encryptionKeySha256}}))))}async commitBlockList(e,t={}){t.conditions=t.conditions||{};ensureCpkIfSpecified(t.customerProvidedKey,this.isHttps);return Yy.withSpan("BlockBlobClient-commitBlockList",t,(async r=>utils_common_assertResponse(await this.blockBlobContext.commitBlockList({latest:e},{abortSignal:t.abortSignal,blobHttpHeaders:t.blobHTTPHeaders,leaseAccessConditions:t.conditions,metadata:t.metadata,modifiedAccessConditions:{...t.conditions,ifTags:t.conditions?.tagConditions},cpkInfo:t.customerProvidedKey,encryptionScope:t.encryptionScope,immutabilityPolicyExpiry:t.immutabilityPolicy?.expiriesOn,immutabilityPolicyMode:t.immutabilityPolicy?.policyMode,legalHold:t.legalHold,tier:toAccessTier(t.tier),blobTagsString:toBlobTagsString(t.tags),tracingOptions:r.tracingOptions}))))}async getBlockList(e,t={}){return Yy.withSpan("BlockBlobClient-getBlockList",t,(async r=>{const n=utils_common_assertResponse(await this.blockBlobContext.getBlockList(e,{abortSignal:t.abortSignal,leaseAccessConditions:t.conditions,modifiedAccessConditions:{...t.conditions,ifTags:t.conditions?.tagConditions},tracingOptions:r.tracingOptions}));if(!n.committedBlocks){n.committedBlocks=[]}if(!n.uncommittedBlocks){n.uncommittedBlocks=[]}return n}))}async uploadData(e,t={}){return Yy.withSpan("BlockBlobClient-uploadData",t,(async t=>{if(hc){let r;if(e instanceof Buffer){r=e}else if(e instanceof ArrayBuffer){r=Buffer.from(e)}else{e=e;r=Buffer.from(e.buffer,e.byteOffset,e.byteLength)}return this.uploadSeekableInternal(((e,t)=>r.slice(e,e+t)),r.byteLength,t)}else{const r=new Blob([e]);return this.uploadSeekableInternal(((e,t)=>r.slice(e,e+t)),r.size,t)}}))}async uploadBrowserData(e,t={}){return Yy.withSpan("BlockBlobClient-uploadBrowserData",t,(async t=>{const r=new Blob([e]);return this.uploadSeekableInternal(((e,t)=>r.slice(e,e+t)),r.size,t)}))}async uploadSeekableInternal(e,t,r={}){let n=r.blockSize??0;if(n<0||n>Fu){throw new RangeError(`blockSize option must be >= 0 and <= ${Fu}`)}const s=r.maxSingleShotSize??ku;if(s<0||s>ku){throw new RangeError(`maxSingleShotSize option must be >= 0 and <= ${ku}`)}if(n===0){if(t>Fu*Tu){throw new RangeError(`${t} is too larger to upload to a block blob.`)}if(t>s){n=Math.ceil(t/Tu);if(n<Pu){n=Pu}}}if(!r.blobHTTPHeaders){r.blobHTTPHeaders={}}if(!r.conditions){r.conditions={}}return Yy.withSpan("BlockBlobClient-uploadSeekableInternal",r,(async i=>{if(t<=s){return utils_common_assertResponse(await this.upload(e(0,t),t,i))}const o=Math.floor((t-1)/n)+1;if(o>Tu){throw new RangeError(`The buffer's size is too big or the BlockSize is too small;`+`the number of blocks must be <= ${Tu}`)}const a=[];const c=esm_randomUUID();let l=0;const A=new Batch(r.concurrency);for(let s=0;s<o;s++){A.addOperation((async()=>{const A=utils_common_generateBlockID(c,s);const u=n*s;const d=s===o-1?t:u+n;const g=d-u;a.push(A);await this.stageBlock(A,e(u,g),g,{abortSignal:r.abortSignal,conditions:r.conditions,encryptionScope:r.encryptionScope,tracingOptions:i.tracingOptions,contentChecksumAlgorithm:r.contentChecksumAlgorithm});l+=g;if(r.onProgress){r.onProgress({loadedBytes:l})}}))}await A.do();return this.commitBlockList(a,i)}))}async uploadFile(e,t={}){return Yy.withSpan("BlockBlobClient-uploadFile",t,(async r=>{const n=(await uE(e)).size;return this.uploadSeekableInternal(((t,r)=>()=>dE(e,{autoClose:true,end:r?t+r-1:Infinity,start:t})),n,{...t,tracingOptions:r.tracingOptions})}))}async uploadStream(e,t=Mu,r=5,n={}){if(!n.blobHTTPHeaders){n.blobHTTPHeaders={}}if(!n.conditions){n.conditions={}}return Yy.withSpan("BlockBlobClient-uploadStream",n,(async s=>{let i=0;const o=esm_randomUUID();let a=0;const c=[];const l=new BufferScheduler(e,t,r,(async(e,t)=>{const r=utils_common_generateBlockID(o,i);c.push(r);i++;await this.stageBlock(r,e,t,{customerProvidedKey:n.customerProvidedKey,conditions:n.conditions,encryptionScope:n.encryptionScope,tracingOptions:s.tracingOptions,contentChecksumAlgorithm:n.contentChecksumAlgorithm});a+=t;if(n.onProgress){n.onProgress({loadedBytes:a})}}),Math.ceil(r/4*3));await l.do();return utils_common_assertResponse(await this.commitBlockList(c,{...n,tracingOptions:s.tracingOptions}))}))}}class PageBlobClient extends BlobClient{pageBlobContext;constructor(e,t,r,n){let s;let i;n=n||{};if(isPipelineLike(t)){i=e;s=t;n=r}else if(hc&&t instanceof StorageSharedKeyCredential||t instanceof AnonymousCredential||isTokenCredential(t)){i=e;n=r;s=newPipeline(t,n)}else if(!t&&typeof t!=="string"){i=e;n=r;s=newPipeline(new AnonymousCredential,n)}else if(t&&typeof t==="string"&&r&&typeof r==="string"){const o=t;const a=r;const c=utils_common_extractConnectionStringParts(e);if(c.kind==="AccountConnString"){if(hc){const e=new StorageSharedKeyCredential(c.accountName,c.accountKey);i=utils_common_appendToURLPath(utils_common_appendToURLPath(c.url,encodeURIComponent(o)),encodeURIComponent(a));if(!n.proxyOptions){n.proxyOptions=proxyPolicy_getDefaultProxySettings(c.proxyUri)}s=newPipeline(e,n)}else{throw new Error("Account connection string is only supported in Node.js environment")}}else if(c.kind==="SASConnString"){i=utils_common_appendToURLPath(utils_common_appendToURLPath(c.url,encodeURIComponent(o)),encodeURIComponent(a))+"?"+c.accountSas;s=newPipeline(new AnonymousCredential,n)}else{throw new Error("Connection string must be either an Account connection string or a SAS connection string")}}else{throw new Error("Expecting non-empty strings for containerName and blobName parameters")}super(i,s);this.pageBlobContext=this.storageClientContext.pageBlob;this.blobClientConfig=n}withSnapshot(e){return new PageBlobClient(utils_common_setURLParameter(this.url,Hu.Parameters.SNAPSHOT,e.length===0?undefined:e),this.pipeline,this.blobClientConfig)}async create(e,t={}){t.conditions=t.conditions||{};ensureCpkIfSpecified(t.customerProvidedKey,this.isHttps);return Yy.withSpan("PageBlobClient-create",t,(async r=>utils_common_assertResponse(await this.pageBlobContext.create(0,e,{abortSignal:t.abortSignal,blobHttpHeaders:t.blobHTTPHeaders,blobSequenceNumber:t.blobSequenceNumber,leaseAccessConditions:t.conditions,metadata:t.metadata,modifiedAccessConditions:{...t.conditions,ifTags:t.conditions?.tagConditions},cpkInfo:t.customerProvidedKey,encryptionScope:t.encryptionScope,immutabilityPolicyExpiry:t.immutabilityPolicy?.expiriesOn,immutabilityPolicyMode:t.immutabilityPolicy?.policyMode,legalHold:t.legalHold,tier:toAccessTier(t.tier),blobTagsString:toBlobTagsString(t.tags),tracingOptions:r.tracingOptions}))))}async createIfNotExists(e,t={}){return Yy.withSpan("PageBlobClient-createIfNotExists",t,(async r=>{try{const n={ifNoneMatch:zu};const s=utils_common_assertResponse(await this.create(e,{...t,conditions:n,tracingOptions:r.tracingOptions}));return{succeeded:true,...s,_response:s._response}}catch(e){if(e.details?.errorCode==="BlobAlreadyExists"){return{succeeded:false,...e.response?.parsedHeaders,_response:e.response}}throw e}}))}async uploadPages(e,t,r,n={}){n.conditions=n.conditions||{};ensureCpkIfSpecified(n.customerProvidedKey,this.isHttps);return Yy.withSpan("PageBlobClient-uploadPages",n,(async s=>{const i={abortSignal:n.abortSignal,leaseAccessConditions:n.conditions,modifiedAccessConditions:{...n.conditions,ifTags:n.conditions?.tagConditions},requestOptions:{onUploadProgress:n.onProgress},range:rangeToString({offset:t,count:r}),sequenceNumberAccessConditions:n.conditions,cpkInfo:n.customerProvidedKey,encryptionScope:n.encryptionScope,tracingOptions:s.tracingOptions};const o=await setUploadChecksumParameters(e,r,i,n,this.blobClientConfig?.uploadContentChecksumAlgorithm);return utils_common_assertResponse(await this.pageBlobContext.uploadPages(o.contentLength,o.body,i))}))}async uploadPagesFromURL(e,t,r,n,s={}){s.conditions=s.conditions||{};s.sourceConditions=s.sourceConditions||{};ensureCpkIfSpecified(s.customerProvidedKey,this.isHttps);return Yy.withSpan("PageBlobClient-uploadPagesFromURL",s,(async i=>utils_common_assertResponse(await this.pageBlobContext.uploadPagesFromURL(e,rangeToString({offset:t,count:n}),0,rangeToString({offset:r,count:n}),{abortSignal:s.abortSignal,sourceContentMD5:s.sourceContentMD5,sourceContentCrc64:s.sourceContentCrc64,leaseAccessConditions:s.conditions,sequenceNumberAccessConditions:s.conditions,modifiedAccessConditions:{...s.conditions,ifTags:s.conditions?.tagConditions},sourceModifiedAccessConditions:{sourceIfMatch:s.sourceConditions?.ifMatch,sourceIfModifiedSince:s.sourceConditions?.ifModifiedSince,sourceIfNoneMatch:s.sourceConditions?.ifNoneMatch,sourceIfUnmodifiedSince:s.sourceConditions?.ifUnmodifiedSince},cpkInfo:s.customerProvidedKey,encryptionScope:s.encryptionScope,copySourceAuthorization:utils_common_httpAuthorizationToString(s.sourceAuthorization),fileRequestIntent:s.sourceShareTokenIntent,tracingOptions:i.tracingOptions,sourceCpkInfo:{sourceEncryptionKey:s.sourceCustomerProvidedKey?.encryptionKey,sourceEncryptionAlgorithm:s.sourceCustomerProvidedKey?.encryptionAlgorithm,sourceEncryptionKeySha256:s.sourceCustomerProvidedKey?.encryptionKeySha256}}))))}async clearPages(e=0,t,r={}){r.conditions=r.conditions||{};return Yy.withSpan("PageBlobClient-clearPages",r,(async n=>utils_common_assertResponse(await this.pageBlobContext.clearPages(0,{abortSignal:r.abortSignal,leaseAccessConditions:r.conditions,modifiedAccessConditions:{...r.conditions,ifTags:r.conditions?.tagConditions},range:rangeToString({offset:e,count:t}),sequenceNumberAccessConditions:r.conditions,cpkInfo:r.customerProvidedKey,encryptionScope:r.encryptionScope,tracingOptions:n.tracingOptions}))))}async getPageRanges(e=0,t,r={}){r.conditions=r.conditions||{};return Yy.withSpan("PageBlobClient-getPageRanges",r,(async n=>{const s=utils_common_assertResponse(await this.pageBlobContext.getPageRanges({abortSignal:r.abortSignal,leaseAccessConditions:r.conditions,modifiedAccessConditions:{...r.conditions,ifTags:r.conditions?.tagConditions},range:rangeToString({offset:e,count:t}),tracingOptions:n.tracingOptions}));return rangeResponseFromModel(s)}))}async listPageRangesSegment(e=0,t,r,n={}){return Yy.withSpan("PageBlobClient-getPageRangesSegment",n,(async s=>utils_common_assertResponse(await this.pageBlobContext.getPageRanges({abortSignal:n.abortSignal,leaseAccessConditions:n.conditions,modifiedAccessConditions:{...n.conditions,ifTags:n.conditions?.tagConditions},range:rangeToString({offset:e,count:t}),marker:r,maxPageSize:n.maxPageSize,tracingOptions:s.tracingOptions}))))}async*listPageRangeItemSegments(e=0,t,r,n={}){let s;if(!!r||r===undefined){do{s=await this.listPageRangesSegment(e,t,r,n);r=s.continuationToken;yield await s}while(r)}}async*listPageRangeItems(e=0,t,r={}){let n;for await(const s of this.listPageRangeItemSegments(e,t,n,r)){yield*ExtractPageRangeInfoItems(s)}}listPageRanges(e=0,t,r={}){r.conditions=r.conditions||{};const n=this.listPageRangeItems(e,t,r);return{next(){return n.next()},[Symbol.asyncIterator](){return this},byPage:(n={})=>this.listPageRangeItemSegments(e,t,n.continuationToken,{maxPageSize:n.maxPageSize,...r})}}async getPageRangesDiff(e,t,r,n={}){n.conditions=n.conditions||{};return Yy.withSpan("PageBlobClient-getPageRangesDiff",n,(async s=>{const i=utils_common_assertResponse(await this.pageBlobContext.getPageRangesDiff({abortSignal:n.abortSignal,leaseAccessConditions:n.conditions,modifiedAccessConditions:{...n.conditions,ifTags:n.conditions?.tagConditions},prevsnapshot:r,range:rangeToString({offset:e,count:t}),tracingOptions:s.tracingOptions}));return rangeResponseFromModel(i)}))}async listPageRangesDiffSegment(e,t,r,n,s={}){return Yy.withSpan("PageBlobClient-getPageRangesDiffSegment",s,(async i=>utils_common_assertResponse(await this.pageBlobContext.getPageRangesDiff({abortSignal:s?.abortSignal,leaseAccessConditions:s?.conditions,modifiedAccessConditions:{...s?.conditions,ifTags:s?.conditions?.tagConditions},prevsnapshot:r,range:rangeToString({offset:e,count:t}),marker:n,maxPageSize:s?.maxPageSize,tracingOptions:i.tracingOptions}))))}async*listPageRangeDiffItemSegments(e,t,r,n,s){let i;if(!!n||n===undefined){do{i=await this.listPageRangesDiffSegment(e,t,r,n,s);n=i.continuationToken;yield await i}while(n)}}async*listPageRangeDiffItems(e,t,r,n){let s;for await(const i of this.listPageRangeDiffItemSegments(e,t,r,s,n)){yield*ExtractPageRangeInfoItems(i)}}listPageRangesDiff(e,t,r,n={}){n.conditions=n.conditions||{};const s=this.listPageRangeDiffItems(e,t,r,{...n});return{next(){return s.next()},[Symbol.asyncIterator](){return this},byPage:(s={})=>this.listPageRangeDiffItemSegments(e,t,r,s.continuationToken,{maxPageSize:s.maxPageSize,...n})}}async getPageRangesDiffForManagedDisks(e,t,r,n={}){n.conditions=n.conditions||{};return Yy.withSpan("PageBlobClient-GetPageRangesDiffForManagedDisks",n,(async s=>{const i=utils_common_assertResponse(await this.pageBlobContext.getPageRangesDiff({abortSignal:n.abortSignal,leaseAccessConditions:n.conditions,modifiedAccessConditions:{...n.conditions,ifTags:n.conditions?.tagConditions},prevSnapshotUrl:r,range:rangeToString({offset:e,count:t}),tracingOptions:s.tracingOptions}));return rangeResponseFromModel(i)}))}async resize(e,t={}){t.conditions=t.conditions||{};return Yy.withSpan("PageBlobClient-resize",t,(async r=>utils_common_assertResponse(await this.pageBlobContext.resize(e,{abortSignal:t.abortSignal,leaseAccessConditions:t.conditions,modifiedAccessConditions:{...t.conditions,ifTags:t.conditions?.tagConditions},encryptionScope:t.encryptionScope,tracingOptions:r.tracingOptions}))))}async updateSequenceNumber(e,t,r={}){r.conditions=r.conditions||{};return Yy.withSpan("PageBlobClient-updateSequenceNumber",r,(async n=>utils_common_assertResponse(await this.pageBlobContext.updateSequenceNumber(e,{abortSignal:r.abortSignal,blobSequenceNumber:t,leaseAccessConditions:r.conditions,modifiedAccessConditions:{...r.conditions,ifTags:r.conditions?.tagConditions},tracingOptions:n.tracingOptions}))))}async startCopyIncremental(e,t={}){return Yy.withSpan("PageBlobClient-startCopyIncremental",t,(async r=>utils_common_assertResponse(await this.pageBlobContext.copyIncremental(e,{abortSignal:t.abortSignal,modifiedAccessConditions:{...t.conditions,ifTags:t.conditions?.tagConditions},tracingOptions:r.tracingOptions}))))}}async function getBodyAsText(e){let t=Buffer.alloc(Ju);const r=await streamToBuffer2(e.readableStreamBody,t);t=t.slice(0,r);return t.toString()}function utf8ByteLength(e){return Buffer.byteLength(e)}const gE=": ";const pE=" ";const hE=-1;class BatchResponseParser{batchResponse;responseBatchBoundary;perResponsePrefix;batchResponseEnding;subRequests;constructor(e,t){if(!e||!e.contentType){throw new RangeError("batchResponse is malformed or doesn't contain valid content-type.")}if(!t||t.size===0){throw new RangeError("Invalid state: subRequests is not provided or size is 0.")}this.batchResponse=e;this.subRequests=t;this.responseBatchBoundary=this.batchResponse.contentType.split("=")[1];this.perResponsePrefix=`--${this.responseBatchBoundary}${Wu}`;this.batchResponseEnding=`--${this.responseBatchBoundary}--`}async parseBatchResponse(){if(this.batchResponse._response.status!==_u.HTTP_ACCEPTED){throw new Error(`Invalid state: batch request failed with status: '${this.batchResponse._response.status}'.`)}const e=await getBodyAsText(this.batchResponse);const t=e.split(this.batchResponseEnding)[0].split(this.perResponsePrefix).slice(1);const r=t.length;if(r!==this.subRequests.size&&r!==1){throw new Error("Invalid state: sub responses' count is not equal to sub requests' count.")}const n=new Array(r);let s=0;let i=0;for(let e=0;e<r;e++){const r=t[e];const o={};o.headers=toHttpHeadersLike(esm_httpHeaders_createHttpHeaders());const a=r.split(`${Wu}`);let c=false;let l=false;let A=false;let u=hE;for(const e of a){if(!c){if(e.startsWith(qu.CONTENT_ID)){u=parseInt(e.split(gE)[1])}if(e.startsWith(ju)){c=true;const t=e.split(pE);o.status=parseInt(t[1]);o.statusMessage=t.slice(2).join(pE)}continue}if(e.trim()===""){if(!l){l=true}continue}if(!l){if(e.indexOf(gE)===-1){throw new Error(`Invalid state: find non-empty line '${e}' without HTTP header delimiter '${gE}'.`)}const t=e.split(gE);o.headers.set(t[0],t[1]);if(t[0]===qu.X_MS_ERROR_CODE){o.errorCode=t[1];A=true}}else{if(!o.bodyAsText){o.bodyAsText=""}o.bodyAsText+=e}}if(u!==hE&&Number.isInteger(u)&&u>=0&&u<this.subRequests.size&&n[u]===undefined){o._request=this.subRequests.get(u);n[u]=o}else{VA.error(`subResponses[${e}] is dropped as the Content-ID is not found or invalid, Content-ID: ${u}`)}if(A){i++}else{s++}}return{subResponses:n,subResponsesSucceededCount:s,subResponsesFailedCount:i}}}var mE;(function(e){e[e["LOCKED"]=0]="LOCKED";e[e["UNLOCKED"]=1]="UNLOCKED"})(mE||(mE={}));class Mutex{static async lock(e){return new Promise((t=>{if(this.keys[e]===undefined||this.keys[e]===mE.UNLOCKED){this.keys[e]=mE.LOCKED;t()}else{this.onUnlockEvent(e,(()=>{this.keys[e]=mE.LOCKED;t()}))}}))}static async unlock(e){return new Promise((t=>{if(this.keys[e]===mE.LOCKED){this.emitUnlockEvent(e)}delete this.keys[e];t()}))}static keys={};static listeners={};static onUnlockEvent(e,t){if(this.listeners[e]===undefined){this.listeners[e]=[t]}else{this.listeners[e].push(t)}}static emitUnlockEvent(e){if(this.listeners[e]!==undefined&&this.listeners[e].length>0){const t=this.listeners[e].shift();setImmediate((()=>{t.call(this)}))}}}class BlobBatch{batchRequest;batch="batch";batchType;constructor(){this.batchRequest=new InnerBatchRequest}getMultiPartContentType(){return this.batchRequest.getMultipartContentType()}getHttpRequestBody(){return this.batchRequest.getHttpRequestBody()}getSubRequests(){return this.batchRequest.getSubRequests()}async addSubRequestInternal(e,t){await Mutex.lock(this.batch);try{this.batchRequest.preAddSubRequest(e);await t();this.batchRequest.postAddSubRequest(e)}finally{await Mutex.unlock(this.batch)}}setBatchType(e){if(!this.batchType){this.batchType=e}if(this.batchType!==e){throw new RangeError(`BlobBatch only supports one operation type per batch and it already is being used for ${this.batchType} operations.`)}}async deleteBlob(e,t,r){let n;let s;if(typeof e==="string"&&(hc&&t instanceof StorageSharedKeyCredential||t instanceof AnonymousCredential||isTokenCredential(t))){n=e;s=t}else if(e instanceof BlobClient){n=e.url;s=e.credential;r=t}else{throw new RangeError("Invalid arguments. Either url and credential, or BlobClient need be provided.")}if(!r){r={}}return Yy.withSpan("BatchDeleteRequest-addSubRequest",r,(async e=>{this.setBatchType("delete");await this.addSubRequestInternal({url:n,credential:s},(async()=>{await new BlobClient(n,this.batchRequest.createPipeline(s)).delete(e)}))}))}async setBlobAccessTier(e,t,r,n){let s;let i;let o;if(typeof e==="string"&&(hc&&t instanceof StorageSharedKeyCredential||t instanceof AnonymousCredential||isTokenCredential(t))){s=e;i=t;o=r}else if(e instanceof BlobClient){s=e.url;i=e.credential;o=t;n=r}else{throw new RangeError("Invalid arguments. Either url and credential, or BlobClient need be provided.")}if(!n){n={}}return Yy.withSpan("BatchSetTierRequest-addSubRequest",n,(async e=>{this.setBatchType("setAccessTier");await this.addSubRequestInternal({url:s,credential:i},(async()=>{await new BlobClient(s,this.batchRequest.createPipeline(i)).setAccessTier(o,e)}))}))}}class InnerBatchRequest{operationCount;body;subRequests;boundary;subRequestPrefix;multipartContentType;batchRequestEnding;constructor(){this.operationCount=0;this.body="";const e=esm_randomUUID();this.boundary=`batch_${e}`;this.subRequestPrefix=`--${this.boundary}${Wu}${qu.CONTENT_TYPE}: application/http${Wu}${qu.CONTENT_TRANSFER_ENCODING}: binary`;this.multipartContentType=`multipart/mixed; boundary=${this.boundary}`;this.batchRequestEnding=`--${this.boundary}--`;this.subRequests=new Map}createPipeline(e){const t=esm_pipeline_createEmptyPipeline();t.addPolicy(serializationPolicy({stringifyXML:stringifyXML,serializerOptions:{xml:{xmlCharKey:"#"}}}),{phase:"Serialize"});t.addPolicy(batchHeaderFilterPolicy());t.addPolicy(batchRequestAssemblePolicy(this),{afterPhase:"Sign"});if(isTokenCredential(e)){t.addPolicy(bearerTokenAuthenticationPolicy({credential:e,scopes:Ou,challengeCallbacks:{authorizeRequestOnChallenge:authorizeRequestOnTenantChallenge}}),{phase:"Sign"})}else if(e instanceof StorageSharedKeyCredential){t.addPolicy(storageSharedKeyCredentialPolicy({accountName:e.accountName,accountKey:e.accountKey}),{phase:"Sign"})}const r=new Pipeline([]);r._credential=e;r._corePipeline=t;return r}appendSubRequestToBody(e){this.body+=[this.subRequestPrefix,`${qu.CONTENT_ID}: ${this.operationCount}`,"",`${e.method.toString()} ${utils_common_getURLPathAndQuery(e.url)} ${ju}${Wu}`].join(Wu);for(const[t,r]of e.headers){this.body+=`${t}: ${r}${Wu}`}this.body+=Wu}preAddSubRequest(e){if(this.operationCount>=Vu){throw new RangeError(`Cannot exceed ${Vu} sub requests in a single batch`)}const t=utils_common_getURLPath(e.url);if(!t||t===""){throw new RangeError(`Invalid url for sub request: '${e.url}'`)}}postAddSubRequest(e){this.subRequests.set(this.operationCount,e);this.operationCount++}getHttpRequestBody(){return`${this.body}${this.batchRequestEnding}${Wu}`}getMultipartContentType(){return this.multipartContentType}getSubRequests(){return this.subRequests}}function batchRequestAssemblePolicy(e){return{name:"batchRequestAssemblePolicy",async sendRequest(t){e.appendSubRequestToBody(t);return{request:t,status:200,headers:esm_httpHeaders_createHttpHeaders()}}}}function batchHeaderFilterPolicy(){return{name:"batchHeaderFilterPolicy",async sendRequest(e,t){let r="";for(const[t]of e.headers){if(utils_common_iEqual(t,qu.X_MS_VERSION)){r=t}}if(r!==""){e.headers.delete(r)}return t(e)}}}class BlobBatchClient{serviceOrContainerContext;constructor(e,t,r){let n;if(isPipelineLike(t)){n=t}else if(!t){n=newPipeline(new AnonymousCredential,r)}else{n=newPipeline(t,r)}const s=new StorageContextClient(e,getCoreClientOptions(n));const i=utils_common_getURLPath(e);if(i&&i!=="/"){this.serviceOrContainerContext=s.container}else{this.serviceOrContainerContext=s.service}}createBatch(){return new BlobBatch}async deleteBlobs(e,t,r){const n=new BlobBatch;for(const s of e){if(typeof s==="string"){await n.deleteBlob(s,t,r)}else{await n.deleteBlob(s,t)}}return this.submitBatch(n)}async setBlobsAccessTier(e,t,r,n){const s=new BlobBatch;for(const i of e){if(typeof i==="string"){await s.setBlobAccessTier(i,t,r,n)}else{await s.setBlobAccessTier(i,t,r)}}return this.submitBatch(s)}async submitBatch(e,t={}){if(!e||e.getSubRequests().size===0){throw new RangeError("Batch request should contain one or more sub requests.")}return Yy.withSpan("BlobBatchClient-submitBatch",t,(async t=>{const r=e.getHttpRequestBody();const n=utils_common_assertResponse(await this.serviceOrContainerContext.submitBatch(utf8ByteLength(r),e.getMultiPartContentType(),r,{...t}));const s=new BatchResponseParser(n,e.getSubRequests());const i=await s.parseBatchResponse();const o={_response:n._response,contentType:n.contentType,errorCode:n.errorCode,requestId:n.requestId,clientRequestId:n.clientRequestId,version:n.version,subResponses:i.subResponses,subResponsesSucceededCount:i.subResponsesSucceededCount,subResponsesFailedCount:i.subResponsesFailedCount};return o}))}}class ContainerClient extends StorageClient_StorageClient{containerContext;_containerName;blobClientConfig;get containerName(){return this._containerName}constructor(e,t,r){let n;let s;r=r||{};if(isPipelineLike(t)){s=e;n=t}else if(hc&&t instanceof StorageSharedKeyCredential||t instanceof AnonymousCredential||isTokenCredential(t)){s=e;n=newPipeline(t,r)}else if(!t&&typeof t!=="string"){s=e;n=newPipeline(new AnonymousCredential,r)}else if(t&&typeof t==="string"){const i=t;const o=utils_common_extractConnectionStringParts(e);if(o.kind==="AccountConnString"){if(hc){const e=new StorageSharedKeyCredential(o.accountName,o.accountKey);s=utils_common_appendToURLPath(o.url,encodeURIComponent(i));if(!r.proxyOptions){r.proxyOptions=proxyPolicy_getDefaultProxySettings(o.proxyUri)}n=newPipeline(e,r)}else{throw new Error("Account connection string is only supported in Node.js environment")}}else if(o.kind==="SASConnString"){s=utils_common_appendToURLPath(o.url,encodeURIComponent(i))+"?"+o.accountSas;n=newPipeline(new AnonymousCredential,r)}else{throw new Error("Connection string must be either an Account connection string or a SAS connection string")}}else{throw new Error("Expecting non-empty strings for containerName parameter")}super(s,n);this._containerName=this.getContainerNameFromUrl();this.containerContext=this.storageClientContext.container;this.blobClientConfig=r}async create(e={}){return Yy.withSpan("ContainerClient-create",e,(async e=>utils_common_assertResponse(await this.containerContext.create(e))))}async createIfNotExists(e={}){return Yy.withSpan("ContainerClient-createIfNotExists",e,(async e=>{try{const t=await this.create(e);return{succeeded:true,...t,_response:t._response}}catch(e){if(e.details?.errorCode==="ContainerAlreadyExists"){return{succeeded:false,...e.response?.parsedHeaders,_response:e.response}}else{throw e}}}))}async exists(e={}){return Yy.withSpan("ContainerClient-exists",e,(async t=>{try{await this.getProperties({abortSignal:e.abortSignal,tracingOptions:t.tracingOptions});return true}catch(e){if(e.statusCode===404){return false}throw e}}))}getBlobClient(e){return new BlobClient(utils_common_appendToURLPath(this.url,utils_common_EscapePath(e)),this.pipeline,this.blobClientConfig)}getAppendBlobClient(e){return new AppendBlobClient(utils_common_appendToURLPath(this.url,utils_common_EscapePath(e)),this.pipeline,this.blobClientConfig)}getBlockBlobClient(e){return new BlockBlobClient(utils_common_appendToURLPath(this.url,utils_common_EscapePath(e)),this.pipeline,this.blobClientConfig)}getPageBlobClient(e){return new PageBlobClient(utils_common_appendToURLPath(this.url,utils_common_EscapePath(e)),this.pipeline,this.blobClientConfig)}async getProperties(e={}){if(!e.conditions){e.conditions={}}return Yy.withSpan("ContainerClient-getProperties",e,(async t=>utils_common_assertResponse(await this.containerContext.getProperties({abortSignal:e.abortSignal,...e.conditions,tracingOptions:t.tracingOptions}))))}async delete(e={}){if(!e.conditions){e.conditions={}}return Yy.withSpan("ContainerClient-delete",e,(async t=>utils_common_assertResponse(await this.containerContext.delete({abortSignal:e.abortSignal,leaseAccessConditions:e.conditions,modifiedAccessConditions:e.conditions,tracingOptions:t.tracingOptions}))))}async deleteIfExists(e={}){return Yy.withSpan("ContainerClient-deleteIfExists",e,(async e=>{try{const t=await this.delete(e);return{succeeded:true,...t,_response:t._response}}catch(e){if(e.details?.errorCode==="ContainerNotFound"){return{succeeded:false,...e.response?.parsedHeaders,_response:e.response}}throw e}}))}async setMetadata(e,t={}){if(!t.conditions){t.conditions={}}if(t.conditions.ifUnmodifiedSince){throw new RangeError("the IfUnmodifiedSince must have their default values because they are ignored by the blob service")}return Yy.withSpan("ContainerClient-setMetadata",t,(async r=>utils_common_assertResponse(await this.containerContext.setMetadata({abortSignal:t.abortSignal,leaseAccessConditions:t.conditions,metadata:e,modifiedAccessConditions:t.conditions,tracingOptions:r.tracingOptions}))))}async getAccessPolicy(e={}){if(!e.conditions){e.conditions={}}return Yy.withSpan("ContainerClient-getAccessPolicy",e,(async t=>{const r=utils_common_assertResponse(await this.containerContext.getAccessPolicy({abortSignal:e.abortSignal,leaseAccessConditions:e.conditions,tracingOptions:t.tracingOptions}));const n={_response:r._response,blobPublicAccess:r.blobPublicAccess,date:r.date,etag:r.etag,errorCode:r.errorCode,lastModified:r.lastModified,requestId:r.requestId,clientRequestId:r.clientRequestId,signedIdentifiers:[],version:r.version};for(const e of r){let t=undefined;if(e.accessPolicy){t={permissions:e.accessPolicy.permissions};if(e.accessPolicy.expiresOn){t.expiresOn=new Date(e.accessPolicy.expiresOn)}if(e.accessPolicy.startsOn){t.startsOn=new Date(e.accessPolicy.startsOn)}}n.signedIdentifiers.push({accessPolicy:t,id:e.id})}return n}))}async setAccessPolicy(e,t,r={}){r.conditions=r.conditions||{};return Yy.withSpan("ContainerClient-setAccessPolicy",r,(async n=>{const s=[];for(const e of t||[]){s.push({accessPolicy:{expiresOn:e.accessPolicy.expiresOn?utils_common_truncatedISO8061Date(e.accessPolicy.expiresOn):"",permissions:e.accessPolicy.permissions,startsOn:e.accessPolicy.startsOn?utils_common_truncatedISO8061Date(e.accessPolicy.startsOn):""},id:e.id})}return utils_common_assertResponse(await this.containerContext.setAccessPolicy({abortSignal:r.abortSignal,access:e,containerAcl:s,leaseAccessConditions:r.conditions,modifiedAccessConditions:r.conditions,tracingOptions:n.tracingOptions}))}))}getBlobLeaseClient(e){return new BlobLeaseClient(this,e)}async uploadBlockBlob(e,t,r,n={}){return Yy.withSpan("ContainerClient-uploadBlockBlob",n,(async n=>{const s=this.getBlockBlobClient(e);const i=await s.upload(t,r,n);return{blockBlobClient:s,response:i}}))}async deleteBlob(e,t={}){return Yy.withSpan("ContainerClient-deleteBlob",t,(async r=>{let n=this.getBlobClient(e);if(t.versionId){n=n.withVersion(t.versionId)}return n.delete(r)}))}async listBlobFlatSegment(e,t={}){return Yy.withSpan("ContainerClient-listBlobFlatSegment",t,(async r=>{const n=utils_common_assertResponse(await this.containerContext.listBlobFlatSegment({marker:e,...t,tracingOptions:r.tracingOptions}));const s={...n,_response:{...n._response,parsedBody:ConvertInternalResponseOfListBlobFlat(n._response.parsedBody)},segment:{...n.segment,blobItems:n.segment.blobItems.map((e=>{const t={...e,name:BlobNameToString(e.name),tags:toTags(e.blobTags),objectReplicationSourceProperties:parseObjectReplicationRecord(e.objectReplicationMetadata)};return t}))}};return s}))}async listBlobHierarchySegment(e,t,r={}){return Yy.withSpan("ContainerClient-listBlobHierarchySegment",r,(async n=>{const s=utils_common_assertResponse(await this.containerContext.listBlobHierarchySegment(e,{marker:t,...r,tracingOptions:n.tracingOptions}));const i={...s,_response:{...s._response,parsedBody:ConvertInternalResponseOfListBlobHierarchy(s._response.parsedBody)},segment:{...s.segment,blobItems:s.segment.blobItems.map((e=>{const t={...e,name:BlobNameToString(e.name),tags:toTags(e.blobTags),objectReplicationSourceProperties:parseObjectReplicationRecord(e.objectReplicationMetadata)};return t})),blobPrefixes:s.segment.blobPrefixes?.map((e=>{const t={...e,name:BlobNameToString(e.name)};return t}))}};return i}))}async*listSegments(e,t={}){let r;if(!!e||e===undefined){do{r=await this.listBlobFlatSegment(e,t);e=r.continuationToken;yield await r}while(e)}}async*listItems(e={}){let t;for await(const r of this.listSegments(t,e)){yield*r.segment.blobItems}}listBlobsFlat(e={}){const t=[];if(e.includeCopy){t.push("copy")}if(e.includeDeleted){t.push("deleted")}if(e.includeMetadata){t.push("metadata")}if(e.includeSnapshots){t.push("snapshots")}if(e.includeVersions){t.push("versions")}if(e.includeUncommitedBlobs){t.push("uncommittedblobs")}if(e.includeTags){t.push("tags")}if(e.includeDeletedWithVersions){t.push("deletedwithversions")}if(e.includeImmutabilityPolicy){t.push("immutabilitypolicy")}if(e.includeLegalHold){t.push("legalhold")}if(e.prefix===""){e.prefix=undefined}const r={...e,...t.length>0?{include:t}:{}};const n=this.listItems(r);return{next(){return n.next()},[Symbol.asyncIterator](){return this},byPage:(e={})=>this.listSegments(e.continuationToken,{maxPageSize:e.maxPageSize,...r})}}async*listHierarchySegments(e,t,r={}){let n;if(!!t||t===undefined){do{n=await this.listBlobHierarchySegment(e,t,r);t=n.continuationToken;yield await n}while(t)}}async*listItemsByHierarchy(e,t={}){let r;for await(const n of this.listHierarchySegments(e,r,t)){const e=n.segment;if(e.blobPrefixes){for(const t of e.blobPrefixes){yield{kind:"prefix",...t}}}for(const t of e.blobItems){yield{kind:"blob",...t}}}}listBlobsByHierarchy(e,t={}){if(e===""){throw new RangeError("delimiter should contain one or more characters")}const r=[];if(t.includeCopy){r.push("copy")}if(t.includeDeleted){r.push("deleted")}if(t.includeMetadata){r.push("metadata")}if(t.includeSnapshots){r.push("snapshots")}if(t.includeVersions){r.push("versions")}if(t.includeUncommitedBlobs){r.push("uncommittedblobs")}if(t.includeTags){r.push("tags")}if(t.includeDeletedWithVersions){r.push("deletedwithversions")}if(t.includeImmutabilityPolicy){r.push("immutabilitypolicy")}if(t.includeLegalHold){r.push("legalhold")}if(t.prefix===""){t.prefix=undefined}const n={...t,...r.length>0?{include:r}:{}};const s=this.listItemsByHierarchy(e,n);return{async next(){return s.next()},[Symbol.asyncIterator](){return this},byPage:(t={})=>this.listHierarchySegments(e,t.continuationToken,{maxPageSize:t.maxPageSize,...n})}}async findBlobsByTagsSegment(e,t,r={}){return Yy.withSpan("ContainerClient-findBlobsByTagsSegment",r,(async n=>{const s=utils_common_assertResponse(await this.containerContext.filterBlobs({abortSignal:r.abortSignal,where:e,marker:t,maxPageSize:r.maxPageSize,tracingOptions:n.tracingOptions}));const i={...s,_response:s._response,blobs:s.blobs.map((e=>{let t="";if(e.tags?.blobTagSet.length===1){t=e.tags.blobTagSet[0].value}return{...e,tags:toTags(e.tags),tagValue:t}}))};return i}))}async*findBlobsByTagsSegments(e,t,r={}){let n;if(!!t||t===undefined){do{n=await this.findBlobsByTagsSegment(e,t,r);n.blobs=n.blobs||[];t=n.continuationToken;yield n}while(t)}}async*findBlobsByTagsItems(e,t={}){let r;for await(const n of this.findBlobsByTagsSegments(e,r,t)){yield*n.blobs}}findBlobsByTags(e,t={}){const r={...t};const n=this.findBlobsByTagsItems(e,r);return{next(){return n.next()},[Symbol.asyncIterator](){return this},byPage:(t={})=>this.findBlobsByTagsSegments(e,t.continuationToken,{maxPageSize:t.maxPageSize,...r})}}async getAccountInfo(e={}){return Yy.withSpan("ContainerClient-getAccountInfo",e,(async t=>utils_common_assertResponse(await this.containerContext.getAccountInfo({abortSignal:e.abortSignal,tracingOptions:t.tracingOptions}))))}getContainerNameFromUrl(){let e;try{const t=new URL(this.url);if(t.hostname.split(".")[1]==="blob"){e=t.pathname.split("/")[1]}else if(utils_common_isIpEndpointStyle(t)){e=t.pathname.split("/")[2]}else{e=t.pathname.split("/")[1]}e=decodeURIComponent(e);if(!e){throw new Error("Provided containerName is invalid.")}return e}catch(e){throw new Error("Unable to extract containerName with provided information.")}}generateSasUrl(e){return new Promise((t=>{if(!(this.credential instanceof StorageSharedKeyCredential)){throw new RangeError("Can only generate the SAS when the client is initialized with a shared key credential")}const r=generateBlobSASQueryParameters({containerName:this._containerName,...e},this.credential).toString();t(utils_common_appendToURLQuery(this.url,r))}))}generateSasStringToSign(e){if(!(this.credential instanceof StorageSharedKeyCredential)){throw new RangeError("Can only generate the SAS when the client is initialized with a shared key credential")}return generateBlobSASQueryParametersInternal({containerName:this._containerName,...e},this.credential).stringToSign}generateUserDelegationSasUrl(e,t){return new Promise((r=>{const n=generateBlobSASQueryParameters({containerName:this._containerName,...e},t,this.accountName).toString();r(utils_common_appendToURLQuery(this.url,n))}))}generateUserDelegationSasStringToSign(e,t){return generateBlobSASQueryParametersInternal({containerName:this._containerName,...e},t,this.accountName).stringToSign}getBlobBatchClient(){return new BlobBatchClient(this.url,this.pipeline)}}class AccountSASPermissions{static parse(e){const t=new AccountSASPermissions;for(const r of e){switch(r){case"r":t.read=true;break;case"w":t.write=true;break;case"d":t.delete=true;break;case"x":t.deleteVersion=true;break;case"l":t.list=true;break;case"a":t.add=true;break;case"c":t.create=true;break;case"u":t.update=true;break;case"p":t.process=true;break;case"t":t.tag=true;break;case"f":t.filter=true;break;case"i":t.setImmutabilityPolicy=true;break;case"y":t.permanentDelete=true;break;default:throw new RangeError(`Invalid permission character: ${r}`)}}return t}static from(e){const t=new AccountSASPermissions;if(e.read){t.read=true}if(e.write){t.write=true}if(e.delete){t.delete=true}if(e.deleteVersion){t.deleteVersion=true}if(e.filter){t.filter=true}if(e.tag){t.tag=true}if(e.list){t.list=true}if(e.add){t.add=true}if(e.create){t.create=true}if(e.update){t.update=true}if(e.process){t.process=true}if(e.setImmutabilityPolicy){t.setImmutabilityPolicy=true}if(e.permanentDelete){t.permanentDelete=true}return t}read=false;write=false;delete=false;deleteVersion=false;list=false;add=false;create=false;update=false;process=false;tag=false;filter=false;setImmutabilityPolicy=false;permanentDelete=false;toString(){const e=[];if(this.read){e.push("r")}if(this.write){e.push("w")}if(this.delete){e.push("d")}if(this.deleteVersion){e.push("x")}if(this.filter){e.push("f")}if(this.tag){e.push("t")}if(this.list){e.push("l")}if(this.add){e.push("a")}if(this.create){e.push("c")}if(this.update){e.push("u")}if(this.process){e.push("p")}if(this.setImmutabilityPolicy){e.push("i")}if(this.permanentDelete){e.push("y")}return e.join("")}}class AccountSASResourceTypes{static parse(e){const t=new AccountSASResourceTypes;for(const r of e){switch(r){case"s":t.service=true;break;case"c":t.container=true;break;case"o":t.object=true;break;default:throw new RangeError(`Invalid resource type: ${r}`)}}return t}service=false;container=false;object=false;toString(){const e=[];if(this.service){e.push("s")}if(this.container){e.push("c")}if(this.object){e.push("o")}return e.join("")}}class AccountSASServices{static parse(e){const t=new AccountSASServices;for(const r of e){switch(r){case"b":t.blob=true;break;case"f":t.file=true;break;case"q":t.queue=true;break;case"t":t.table=true;break;default:throw new RangeError(`Invalid service character: ${r}`)}}return t}blob=false;file=false;queue=false;table=false;toString(){const e=[];if(this.blob){e.push("b")}if(this.table){e.push("t")}if(this.queue){e.push("q")}if(this.file){e.push("f")}return e.join("")}}function generateAccountSASQueryParameters(e,t){return generateAccountSASQueryParametersInternal(e,t).sasQueryParameters}function generateAccountSASQueryParametersInternal(e,t){const r=e.version?e.version:vu;if(e.permissions&&e.permissions.setImmutabilityPolicy&&r<"2020-08-04"){throw RangeError("'version' must be >= '2020-08-04' when provided 'i' permission.")}if(e.permissions&&e.permissions.deleteVersion&&r<"2019-10-10"){throw RangeError("'version' must be >= '2019-10-10' when provided 'x' permission.")}if(e.permissions&&e.permissions.permanentDelete&&r<"2019-10-10"){throw RangeError("'version' must be >= '2019-10-10' when provided 'y' permission.")}if(e.permissions&&e.permissions.tag&&r<"2019-12-12"){throw RangeError("'version' must be >= '2019-12-12' when provided 't' permission.")}if(e.permissions&&e.permissions.filter&&r<"2019-12-12"){throw RangeError("'version' must be >= '2019-12-12' when provided 'f' permission.")}if(e.encryptionScope&&r<"2020-12-06"){throw RangeError("'version' must be >= '2020-12-06' when provided 'encryptionScope' in SAS.")}const n=AccountSASPermissions.parse(e.permissions.toString());const s=AccountSASServices.parse(e.services).toString();const i=AccountSASResourceTypes.parse(e.resourceTypes).toString();let o;if(r>="2020-12-06"){o=[t.accountName,n,s,i,e.startsOn?utils_common_truncatedISO8061Date(e.startsOn,false):"",utils_common_truncatedISO8061Date(e.expiresOn,false),e.ipRange?ipRangeToString(e.ipRange):"",e.protocol?e.protocol:"",r,e.encryptionScope?e.encryptionScope:"",""].join("\n")}else{o=[t.accountName,n,s,i,e.startsOn?utils_common_truncatedISO8061Date(e.startsOn,false):"",utils_common_truncatedISO8061Date(e.expiresOn,false),e.ipRange?ipRangeToString(e.ipRange):"",e.protocol?e.protocol:"",r,""].join("\n")}const a=t.computeHMACSHA256(o);return{sasQueryParameters:new SASQueryParameters(r,a,n.toString(),s,i,e.protocol,e.startsOn,e.expiresOn,e.ipRange,undefined,undefined,undefined,undefined,undefined,undefined,undefined,undefined,undefined,undefined,e.encryptionScope),stringToSign:o}}function isBlobGetUserDelegationKeyParameters(e){if(!e||typeof e!=="object"){return false}const t=e;return t.expiresOn instanceof Date}class BlobServiceClient extends StorageClient_StorageClient{serviceContext;blobClientConfig;static fromConnectionString(e,t){t=t||{};const r=utils_common_extractConnectionStringParts(e);if(r.kind==="AccountConnString"){if(hc){const e=new StorageSharedKeyCredential(r.accountName,r.accountKey);if(!t.proxyOptions){t.proxyOptions=proxyPolicy_getDefaultProxySettings(r.proxyUri)}const n=newPipeline(e,t);return new BlobServiceClient(r.url,n)}else{throw new Error("Account connection string is only supported in Node.js environment")}}else if(r.kind==="SASConnString"){const e=newPipeline(new AnonymousCredential,t);return new BlobServiceClient(r.url+"?"+r.accountSas,e,t)}else{throw new Error("Connection string must be either an Account connection string or a SAS connection string")}}constructor(e,t,r){r=r??{};let n;if(isPipelineLike(t)){n=t}else if(hc&&t instanceof StorageSharedKeyCredential||t instanceof AnonymousCredential||isTokenCredential(t)){n=newPipeline(t,r)}else{n=newPipeline(new AnonymousCredential,r)}super(e,n);this.serviceContext=this.storageClientContext.service;this.blobClientConfig=r}getContainerClient(e){return new ContainerClient(utils_common_appendToURLPath(this.url,encodeURIComponent(e)),this.pipeline,this.blobClientConfig)}async createContainer(e,t={}){return Yy.withSpan("BlobServiceClient-createContainer",t,(async t=>{const r=this.getContainerClient(e);const n=await r.create(t);return{containerClient:r,containerCreateResponse:n}}))}async deleteContainer(e,t={}){return Yy.withSpan("BlobServiceClient-deleteContainer",t,(async t=>{const r=this.getContainerClient(e);return r.delete(t)}))}async undeleteContainer(e,t,r={}){return Yy.withSpan("BlobServiceClient-undeleteContainer",r,(async n=>{const s=this.getContainerClient(r.destinationContainerName||e);const i=s["storageClientContext"].container;const o=utils_common_assertResponse(await i.restore({deletedContainerName:e,deletedContainerVersion:t,tracingOptions:n.tracingOptions}));return{containerClient:s,containerUndeleteResponse:o}}))}async getProperties(e={}){return Yy.withSpan("BlobServiceClient-getProperties",e,(async t=>utils_common_assertResponse(await this.serviceContext.getProperties({abortSignal:e.abortSignal,tracingOptions:t.tracingOptions}))))}async setProperties(e,t={}){return Yy.withSpan("BlobServiceClient-setProperties",t,(async r=>utils_common_assertResponse(await this.serviceContext.setProperties(e,{abortSignal:t.abortSignal,tracingOptions:r.tracingOptions}))))}async getStatistics(e={}){return Yy.withSpan("BlobServiceClient-getStatistics",e,(async t=>utils_common_assertResponse(await this.serviceContext.getStatistics({abortSignal:e.abortSignal,tracingOptions:t.tracingOptions}))))}async getAccountInfo(e={}){return Yy.withSpan("BlobServiceClient-getAccountInfo",e,(async t=>utils_common_assertResponse(await this.serviceContext.getAccountInfo({abortSignal:e.abortSignal,tracingOptions:t.tracingOptions}))))}async listContainersSegment(e,t={}){return Yy.withSpan("BlobServiceClient-listContainersSegment",t,(async r=>utils_common_assertResponse(await this.serviceContext.listContainersSegment({abortSignal:t.abortSignal,marker:e,...t,include:typeof t.include==="string"?[t.include]:t.include,tracingOptions:r.tracingOptions}))))}async findBlobsByTagsSegment(e,t,r={}){return Yy.withSpan("BlobServiceClient-findBlobsByTagsSegment",r,(async n=>{const s=utils_common_assertResponse(await this.serviceContext.filterBlobs({abortSignal:r.abortSignal,where:e,marker:t,maxPageSize:r.maxPageSize,tracingOptions:n.tracingOptions}));const i={...s,_response:s._response,blobs:s.blobs.map((e=>{let t="";if(e.tags?.blobTagSet.length===1){t=e.tags.blobTagSet[0].value}return{...e,tags:toTags(e.tags),tagValue:t}}))};return i}))}async*findBlobsByTagsSegments(e,t,r={}){let n;if(!!t||t===undefined){do{n=await this.findBlobsByTagsSegment(e,t,r);n.blobs=n.blobs||[];t=n.continuationToken;yield n}while(t)}}async*findBlobsByTagsItems(e,t={}){let r;for await(const n of this.findBlobsByTagsSegments(e,r,t)){yield*n.blobs}}findBlobsByTags(e,t={}){const r={...t};const n=this.findBlobsByTagsItems(e,r);return{next(){return n.next()},[Symbol.asyncIterator](){return this},byPage:(t={})=>this.findBlobsByTagsSegments(e,t.continuationToken,{maxPageSize:t.maxPageSize,...r})}}async*listSegments(e,t={}){let r;if(!!e||e===undefined){do{r=await this.listContainersSegment(e,t);r.containerItems=r.containerItems||[];e=r.continuationToken;yield await r}while(e)}}async*listItems(e={}){let t;for await(const r of this.listSegments(t,e)){yield*r.containerItems}}listContainers(e={}){if(e.prefix===""){e.prefix=undefined}const t=[];if(e.includeDeleted){t.push("deleted")}if(e.includeMetadata){t.push("metadata")}if(e.includeSystem){t.push("system")}const r={...e,...t.length>0?{include:t}:{}};const n=this.listItems(r);return{next(){return n.next()},[Symbol.asyncIterator](){return this},byPage:(e={})=>this.listSegments(e.continuationToken,{maxPageSize:e.maxPageSize,...r})}}async getUserDelegationKey(e,t,r={}){let n=e;let s=t;let i=undefined;let o=r;if(isBlobGetUserDelegationKeyParameters(e)){n=e.startsOn;s=e.expiresOn;i=e.delegatedUserTenantId;o=t;o=o??{}}return Yy.withSpan("BlobServiceClient-getUserDelegationKey",o,(async e=>{const t=utils_common_assertResponse(await this.serviceContext.getUserDelegationKey({startsOn:utils_common_truncatedISO8061Date(n,false),expiresOn:utils_common_truncatedISO8061Date(s,false),delegatedUserTid:i},{abortSignal:o.abortSignal,tracingOptions:e.tracingOptions}));const r={signedObjectId:t.signedObjectId,signedTenantId:t.signedTenantId,signedStartsOn:new Date(t.signedStartsOn),signedExpiresOn:new Date(t.signedExpiresOn),signedService:t.signedService,signedVersion:t.signedVersion,signedDelegatedUserTenantId:t.signedDelegatedUserTenantId,value:t.value};const a={_response:t._response,requestId:t.requestId,clientRequestId:t.clientRequestId,version:t.version,date:t.date,errorCode:t.errorCode,...r};return a}))}getBlobBatchClient(){return new BlobBatchClient(this.url,this.pipeline)}generateAccountSasUrl(e,t=AccountSASPermissions.parse("r"),r="sco",n={}){if(!(this.credential instanceof StorageSharedKeyCredential)){throw RangeError("Can only generate the account SAS when the client is initialized with a shared key credential")}if(e===undefined){const t=new Date;e=new Date(t.getTime()+3600*1e3)}const s=generateAccountSASQueryParameters({permissions:t,expiresOn:e,resourceTypes:r,services:AccountSASServices.parse("b").toString(),...n},this.credential).toString();return utils_common_appendToURLQuery(this.url,s)}generateSasStringToSign(e,t=AccountSASPermissions.parse("r"),r="sco",n={}){if(!(this.credential instanceof StorageSharedKeyCredential)){throw RangeError("Can only generate the account SAS when the client is initialized with a shared key credential")}if(e===undefined){const t=new Date;e=new Date(t.getTime()+3600*1e3)}return generateAccountSASQueryParametersInternal({permissions:t,expiresOn:e,resourceTypes:r,services:AccountSASServices.parse("b").toString(),...n},this.credential).stringToSign}}var fE;(function(e){e["AES256"]="AES256"})(fE||(fE={}));class FilesNotFoundError extends Error{constructor(e=[]){let t="No files were found to upload";if(e.length>0){t+=`: ${e.join(", ")}`}super(t);this.files=e;this.name="FilesNotFoundError"}}class InvalidResponseError extends Error{constructor(e){super(e);this.name="InvalidResponseError"}}class CacheNotFoundError extends Error{constructor(e="Cache not found"){super(e);this.name="CacheNotFoundError"}}class GHESNotSupportedError extends Error{constructor(e="@actions/cache v4.1.4+, actions/cache/save@v4+ and actions/cache/restore@v4+ are not currently supported on GHES."){super(e);this.name="GHESNotSupportedError"}}class NetworkError extends Error{constructor(e){const t=`Unable to make request: ${e}\nIf you are using self-hosted runners, please make sure your runner has access to all GitHub endpoints: https://docs.github.com/en/actions/hosting-your-own-runners/managing-self-hosted-runners/about-self-hosted-runners#communication-between-self-hosted-runners-and-github`;super(t);this.code=e;this.name="NetworkError"}}NetworkError.isNetworkErrorCode=e=>{if(!e)return false;return["ECONNRESET","ENOTFOUND","ETIMEDOUT","ECONNREFUSED","EHOSTUNREACH"].includes(e)};class UsageError extends Error{constructor(){const e=`Cache storage quota has been hit. Unable to upload any new cache entries.\nMore info on storage limits: https://docs.github.com/en/billing/managing-billing-for-github-actions/about-billing-for-github-actions#calculating-minute-and-storage-spending`;super(e);this.name="UsageError"}}UsageError.isUsageErrorMessage=e=>{if(!e)return false;return e.includes("insufficient usage")};class RateLimitError extends Error{constructor(e){super(e);this.name="RateLimitError"}}var CE=undefined&&undefined.__awaiter||function(e,t,r,n){function adopt(e){return e instanceof r?e:new r((function(t){t(e)}))}return new(r||(r=Promise))((function(r,s){function fulfilled(e){try{step(n.next(e))}catch(e){s(e)}}function rejected(e){try{step(n["throw"](e))}catch(e){s(e)}}function step(e){e.done?r(e.value):adopt(e.value).then(fulfilled,rejected)}step((n=n.apply(e,t||[])).next())}))};class UploadProgress{constructor(e){this.contentLength=e;this.sentBytes=0;this.displayedComplete=false;this.startTime=Date.now()}setSentBytes(e){this.sentBytes=e}getTransferredBytes(){return this.sentBytes}isDone(){return this.getTransferredBytes()===this.contentLength}display(){if(this.displayedComplete){return}const e=this.sentBytes;const t=(100*(e/this.contentLength)).toFixed(1);const r=Date.now()-this.startTime;const n=(e/(1024*1024)/(r/1e3)).toFixed(1);info(`Sent ${e} of ${this.contentLength} (${t}%), ${n} MBs/sec`);if(this.isDone()){this.displayedComplete=true}}onProgress(){return e=>{this.setSentBytes(e.loadedBytes)}}startDisplayTimer(e=1e3){const displayCallback=()=>{this.display();if(!this.isDone()){this.timeoutHandle=setTimeout(displayCallback,e)}};this.timeoutHandle=setTimeout(displayCallback,e)}stopDisplayTimer(){if(this.timeoutHandle){clearTimeout(this.timeoutHandle);this.timeoutHandle=undefined}this.display()}}function uploadCacheArchiveSDK(e,t,r){return CE(this,void 0,void 0,(function*(){var n;const s=new BlobClient(e);const i=s.getBlockBlobClient();const o=new UploadProgress((n=r===null||r===void 0?void 0:r.archiveSizeBytes)!==null&&n!==void 0?n:0);const a={blockSize:r===null||r===void 0?void 0:r.uploadChunkSize,concurrency:r===null||r===void 0?void 0:r.uploadConcurrency,maxSingleShotSize:128*1024*1024,onProgress:o.onProgress()};try{o.startDisplayTimer();core_debug(`BlobClient: ${s.name}:${s.accountName}:${s.containerName}`);const e=yield i.uploadFile(t,a);if(e._response.status>=400){throw new InvalidResponseError(`uploadCacheArchiveSDK: upload failed with status code ${e._response.status}`)}return e}catch(e){warning(`uploadCacheArchiveSDK: internal error uploading cache archive: ${e.message}`);throw e}finally{o.stopDisplayTimer()}}))}var yE=undefined&&undefined.__awaiter||function(e,t,r,n){function adopt(e){return e instanceof r?e:new r((function(t){t(e)}))}return new(r||(r=Promise))((function(r,s){function fulfilled(e){try{step(n.next(e))}catch(e){s(e)}}function rejected(e){try{step(n["throw"](e))}catch(e){s(e)}}function step(e){e.done?r(e.value):adopt(e.value).then(fulfilled,rejected)}step((n=n.apply(e,t||[])).next())}))};function isSuccessStatusCode(e){if(!e){return false}return e>=200&&e<300}function isServerErrorStatusCode(e){if(!e){return true}return e>=500}function isRetryableStatusCode(e){if(!e){return false}const t=[Cr.BadGateway,Cr.ServiceUnavailable,Cr.GatewayTimeout];return t.includes(e)}function sleep(e){return yE(this,void 0,void 0,(function*(){return new Promise((t=>setTimeout(t,e)))}))}function retry(e,t,r){return yE(this,arguments,void 0,(function*(e,t,r,n=mo,s=fo,i=undefined){let o="";let a=1;while(a<=n){let c=undefined;let l=undefined;let A=false;try{c=yield t()}catch(e){if(i){c=i(e)}A=true;o=e.message}if(c){l=r(c);if(!isServerErrorStatusCode(l)){return c}}if(l){A=isRetryableStatusCode(l);o=`Cache service responded with ${l}`}core_debug(`${e} - Attempt ${a} of ${n} failed with error: ${o}`);if(!A){core_debug(`${e} - Error is not retryable`);break}yield sleep(s);a++}throw Error(`${e} failed: ${o}`)}))}function retryTypedResponse(e,t){return yE(this,arguments,void 0,(function*(e,t,r=mo,n=fo){return yield retry(e,t,(e=>e.statusCode),r,n,(e=>{if(e instanceof HttpClientError){return{statusCode:e.statusCode,result:null,headers:{},error:e}}else{return undefined}}))}))}function retryHttpClientResponse(e,t){return yE(this,arguments,void 0,(function*(e,t,r=mo,n=fo){return yield retry(e,t,(e=>e.message.statusCode),r,n)}))}var EE=undefined&&undefined.__awaiter||function(e,t,r,n){function adopt(e){return e instanceof r?e:new r((function(t){t(e)}))}return new(r||(r=Promise))((function(r,s){function fulfilled(e){try{step(n.next(e))}catch(e){s(e)}}function rejected(e){try{step(n["throw"](e))}catch(e){s(e)}}function step(e){e.done?r(e.value):adopt(e.value).then(fulfilled,rejected)}step((n=n.apply(e,t||[])).next())}))};function pipeResponseToStream(e,t){return EE(this,void 0,void 0,(function*(){const r=Z.promisify(co.pipeline);yield r(e.message,t)}))}class DownloadProgress{constructor(e){this.contentLength=e;this.segmentIndex=0;this.segmentSize=0;this.segmentOffset=0;this.receivedBytes=0;this.displayedComplete=false;this.startTime=Date.now()}nextSegment(e){this.segmentOffset=this.segmentOffset+this.segmentSize;this.segmentIndex=this.segmentIndex+1;this.segmentSize=e;this.receivedBytes=0;core_debug(`Downloading segment at offset ${this.segmentOffset} with length ${this.segmentSize}...`)}setReceivedBytes(e){this.receivedBytes=e}getTransferredBytes(){return this.segmentOffset+this.receivedBytes}isDone(){return this.getTransferredBytes()===this.contentLength}display(){if(this.displayedComplete){return}const e=this.segmentOffset+this.receivedBytes;const t=(100*(e/this.contentLength)).toFixed(1);const r=Date.now()-this.startTime;const n=(e/(1024*1024)/(r/1e3)).toFixed(1);info(`Received ${e} of ${this.contentLength} (${t}%), ${n} MBs/sec`);if(this.isDone()){this.displayedComplete=true}}onProgress(){return e=>{this.setReceivedBytes(e.loadedBytes)}}startDisplayTimer(e=1e3){const displayCallback=()=>{this.display();if(!this.isDone()){this.timeoutHandle=setTimeout(displayCallback,e)}};this.timeoutHandle=setTimeout(displayCallback,e)}stopDisplayTimer(){if(this.timeoutHandle){clearTimeout(this.timeoutHandle);this.timeoutHandle=undefined}this.display()}}function downloadCacheHttpClient(e,t){return EE(this,void 0,void 0,(function*(){const r=i.createWriteStream(t);const n=new lib_HttpClient("actions/cache");const s=yield retryHttpClientResponse("downloadCache",(()=>EE(this,void 0,void 0,(function*(){return n.get(e)}))));s.message.socket.setTimeout(Co,(()=>{s.message.destroy();core_debug(`Aborting download, socket timed out after ${Co} ms`)}));yield pipeResponseToStream(s,r);const o=s.message.headers["content-length"];if(o){const e=parseInt(o);const r=getArchiveFileSizeInBytes(t);if(r!==e){throw new Error(`Incomplete download. Expected file size: ${e}, actual file size: ${r}`)}}else{core_debug("Unable to validate download, no Content-Length header")}}))}function downloadCacheHttpClientConcurrent(e,t,r){return EE(this,void 0,void 0,(function*(){var n;const s=yield i.promises.open(t,"w");const o=new lib_HttpClient("actions/cache",undefined,{socketTimeout:r.timeoutInMs,keepAlive:true});try{const t=yield retryHttpClientResponse("downloadCacheMetadata",(()=>EE(this,void 0,void 0,(function*(){return yield o.request("HEAD",e,null,{})}))));const i=t.message.headers["content-length"];if(i===undefined||i===null){throw new Error("Content-Length not found on blob response")}const a=parseInt(i);if(Number.isNaN(a)){throw new Error(`Could not interpret Content-Length: ${a}`)}const c=[];const l=4*1024*1024;for(let t=0;t<a;t+=l){const r=Math.min(l,a-t);c.push({offset:t,promiseGetter:()=>EE(this,void 0,void 0,(function*(){return yield downloadSegmentRetry(o,e,t,r)}))})}c.reverse();let A=0;let u=0;const d=new DownloadProgress(a);d.startDisplayTimer();const g=d.onProgress();const p=[];let h;const waitAndWrite=()=>EE(this,void 0,void 0,(function*(){const e=yield Promise.race(Object.values(p));yield s.write(e.buffer,0,e.count,e.offset);A--;delete p[e.offset];u+=e.count;g({loadedBytes:u})}));while(h=c.pop()){p[h.offset]=h.promiseGetter();A++;if(A>=((n=r.downloadConcurrency)!==null&&n!==void 0?n:10)){yield waitAndWrite()}}while(A>0){yield waitAndWrite()}}finally{o.dispose();yield s.close()}}))}function downloadSegmentRetry(e,t,r,n){return EE(this,void 0,void 0,(function*(){const s=5;let i=0;while(true){try{const s=3e4;const i=yield promiseWithTimeout(s,downloadSegment(e,t,r,n));if(typeof i==="string"){throw new Error("downloadSegmentRetry failed due to timeout")}return i}catch(e){if(i>=s){throw e}i++}}}))}function downloadSegment(e,t,r,n){return EE(this,void 0,void 0,(function*(){const s=yield retryHttpClientResponse("downloadCachePart",(()=>EE(this,void 0,void 0,(function*(){return yield e.get(t,{Range:`bytes=${r}-${r+n-1}`})}))));if(!s.readBodyBuffer){throw new Error("Expected HttpClientResponse to implement readBodyBuffer")}return{offset:r,count:n,buffer:yield s.readBodyBuffer()}}))}function downloadCacheStorageSDK(e,t,r){return EE(this,void 0,void 0,(function*(){var n;const s=new BlockBlobClient(e,undefined,{retryOptions:{tryTimeoutInMs:r.timeoutInMs}});const o=yield s.getProperties();const a=(n=o.contentLength)!==null&&n!==void 0?n:-1;if(a<0){core_debug("Unable to determine content length, downloading file with http-client...");yield downloadCacheHttpClient(e,t)}else{const e=Math.min(134217728,Zy.constants.MAX_LENGTH);const n=new DownloadProgress(a);const o=i.openSync(t,"w");try{n.startDisplayTimer();const t=new AbortController;const c=t.signal;while(!n.isDone()){const l=n.segmentOffset+n.segmentSize;const A=Math.min(e,a-l);n.nextSegment(A);const u=yield promiseWithTimeout(r.segmentTimeoutInMs||36e5,s.downloadToBuffer(l,A,{abortSignal:c,concurrency:r.downloadConcurrency,onProgress:n.onProgress()}));if(u==="timeout"){t.abort();throw new Error("Aborting cache download as the download time exceeded the timeout.")}else if(Buffer.isBuffer(u)){i.writeFileSync(o,u)}}}finally{n.stopDisplayTimer();i.closeSync(o)}}}))}const promiseWithTimeout=(e,t)=>EE(void 0,void 0,void 0,(function*(){let r;const n=new Promise((t=>{r=setTimeout((()=>t("timeout")),e)}));return Promise.race([t,n]).then((e=>{clearTimeout(r);return e}))}));function getUploadOptions(e){const t={useAzureSdk:false,uploadConcurrency:4,uploadChunkSize:32*1024*1024};if(e){if(typeof e.useAzureSdk==="boolean"){t.useAzureSdk=e.useAzureSdk}if(typeof e.uploadConcurrency==="number"){t.uploadConcurrency=e.uploadConcurrency}if(typeof e.uploadChunkSize==="number"){t.uploadChunkSize=e.uploadChunkSize}}t.uploadConcurrency=!isNaN(Number(process.env["CACHE_UPLOAD_CONCURRENCY"]))?Math.min(32,Number(process.env["CACHE_UPLOAD_CONCURRENCY"])):t.uploadConcurrency;t.uploadChunkSize=!isNaN(Number(process.env["CACHE_UPLOAD_CHUNK_SIZE"]))?Math.min(128*1024*1024,Number(process.env["CACHE_UPLOAD_CHUNK_SIZE"])*1024*1024):t.uploadChunkSize;core_debug(`Use Azure SDK: ${t.useAzureSdk}`);core_debug(`Upload concurrency: ${t.uploadConcurrency}`);core_debug(`Upload chunk size: ${t.uploadChunkSize}`);return t}function getDownloadOptions(e){const t={useAzureSdk:false,concurrentBlobDownloads:true,downloadConcurrency:8,timeoutInMs:3e4,segmentTimeoutInMs:6e5,lookupOnly:false};if(e){if(typeof e.useAzureSdk==="boolean"){t.useAzureSdk=e.useAzureSdk}if(typeof e.concurrentBlobDownloads==="boolean"){t.concurrentBlobDownloads=e.concurrentBlobDownloads}if(typeof e.downloadConcurrency==="number"){t.downloadConcurrency=e.downloadConcurrency}if(typeof e.timeoutInMs==="number"){t.timeoutInMs=e.timeoutInMs}if(typeof e.segmentTimeoutInMs==="number"){t.segmentTimeoutInMs=e.segmentTimeoutInMs}if(typeof e.lookupOnly==="boolean"){t.lookupOnly=e.lookupOnly}}const r=process.env["SEGMENT_DOWNLOAD_TIMEOUT_MINS"];if(r&&!isNaN(Number(r))&&isFinite(Number(r))){t.segmentTimeoutInMs=Number(r)*60*1e3}core_debug(`Use Azure SDK: ${t.useAzureSdk}`);core_debug(`Download concurrency: ${t.downloadConcurrency}`);core_debug(`Request timeout (ms): ${t.timeoutInMs}`);core_debug(`Cache segment download timeout mins env var: ${process.env["SEGMENT_DOWNLOAD_TIMEOUT_MINS"]}`);core_debug(`Segment download timeout (ms): ${t.segmentTimeoutInMs}`);core_debug(`Lookup only: ${t.lookupOnly}`);return t}function isGhes(){const e=new URL(process.env["GITHUB_SERVER_URL"]||"https://github.com");const t=e.hostname.trimEnd().toUpperCase();const r=t==="GITHUB.COM";const n=t.endsWith(".GHE.COM");const s=t.endsWith(".LOCALHOST");return!r&&!n&&!s}function getCacheServiceVersion(){if(isGhes())return"v1";return process.env["ACTIONS_CACHE_SERVICE_V2"]?"v2":"v1"}const IE=["none","read","write","write-only"];function getCacheMode(){return(process.env["ACTIONS_CACHE_MODE"]||"").trim().toLowerCase()}function isCacheReadable(e){if(!IE.includes(e))return true;return e==="read"||e==="write"}function isCacheWritable(e){if(!IE.includes(e))return true;return e==="write"||e==="write-only"}function getCacheServiceURL(){const e=getCacheServiceVersion();switch(e){case"v1":return process.env["ACTIONS_CACHE_URL"]||process.env["ACTIONS_RESULTS_URL"]||"";case"v2":return process.env["ACTIONS_RESULTS_URL"]||"";default:throw new Error(`Unsupported cache service version: ${e}`)}}var BE=__nccwpck_require__(8658);function user_agent_getUserAgentString(){return`@actions/cache-${BE.version}`}var QE=undefined&&undefined.__awaiter||function(e,t,r,n){function adopt(e){return e instanceof r?e:new r((function(t){t(e)}))}return new(r||(r=Promise))((function(r,s){function fulfilled(e){try{step(n.next(e))}catch(e){s(e)}}function rejected(e){try{step(n["throw"](e))}catch(e){s(e)}}function step(e){e.done?r(e.value):adopt(e.value).then(fulfilled,rejected)}step((n=n.apply(e,t||[])).next())}))};function getCacheApiUrl(e){const t=getCacheServiceURL();if(!t){throw new Error("Cache Service Url not found, unable to restore cache.")}const r=`${t}_apis/artifactcache/${e}`;core_debug(`Resource Url: ${r}`);return r}function createAcceptHeader(e,t){return`${e};api-version=${t}`}function getRequestOptions(){const e={headers:{Accept:createAcceptHeader("application/json","6.0-preview.1")}};return e}function createHttpClient(){const e=process.env["ACTIONS_RUNTIME_TOKEN"]||"";const t=new auth_BearerCredentialHandler(e);return new lib_HttpClient(user_agent_getUserAgentString(),[t],getRequestOptions())}function getCacheEntry(e,t,r){return QE(this,void 0,void 0,(function*(){var n;const s=createHttpClient();const i=getCacheVersion(t,r===null||r===void 0?void 0:r.compressionMethod,r===null||r===void 0?void 0:r.enableCrossOsArchive);const o=`cache?keys=${encodeURIComponent(e.join(","))}&version=${i}`;const a=yield retryTypedResponse("getCacheEntry",(()=>QE(this,void 0,void 0,(function*(){return s.getJson(getCacheApiUrl(o))}))));if(a.statusCode===204){if(isDebug()){yield printCachesListForDiagnostics(e[0],s,i)}return null}if(!isSuccessStatusCode(a.statusCode)){const e=(n=a.error)===null||n===void 0?void 0:n.message;if(e===null||e===void 0?void 0:e.includes(bo)){throw new Error(e)}throw new Error(`Cache service responded with ${a.statusCode}`)}const c=a.result;const l=c===null||c===void 0?void 0:c.archiveLocation;if(!l){throw new Error("Cache not found.")}core_setSecret(l);core_debug(`Cache Result:`);core_debug(JSON.stringify(c));return c}))}function printCachesListForDiagnostics(e,t,r){return QE(this,void 0,void 0,(function*(){const n=`caches?key=${encodeURIComponent(e)}`;const s=yield retryTypedResponse("listCache",(()=>QE(this,void 0,void 0,(function*(){return t.getJson(getCacheApiUrl(n))}))));if(s.statusCode===200){const t=s.result;const n=t===null||t===void 0?void 0:t.totalCount;if(n&&n>0){core_debug(`No matching cache found for cache key '${e}', version '${r} and scope ${process.env["GITHUB_REF"]}. There exist one or more cache(s) with similar key but they have different version or scope. See more info on cache matching here: https://docs.github.com/en/actions/using-workflows/caching-dependencies-to-speed-up-workflows#matching-a-cache-key \nOther caches with similar key:`);for(const e of(t===null||t===void 0?void 0:t.artifactCaches)||[]){core_debug(`Cache Key: ${e===null||e===void 0?void 0:e.cacheKey}, Cache Version: ${e===null||e===void 0?void 0:e.cacheVersion}, Cache Scope: ${e===null||e===void 0?void 0:e.scope}, Cache Created: ${e===null||e===void 0?void 0:e.creationTime}`)}}}}))}function downloadCache(e,t,r){return QE(this,void 0,void 0,(function*(){const n=new ee.URL(e);const s=getDownloadOptions(r);if(n.hostname.endsWith(".blob.core.windows.net")){if(s.useAzureSdk){yield downloadCacheStorageSDK(e,t,s)}else if(s.concurrentBlobDownloads){yield downloadCacheHttpClientConcurrent(e,t,s)}else{yield downloadCacheHttpClient(e,t)}}else{yield downloadCacheHttpClient(e,t)}}))}function reserveCache(e,t,r){return QE(this,void 0,void 0,(function*(){const n=createHttpClient();const s=getCacheVersion(t,r===null||r===void 0?void 0:r.compressionMethod,r===null||r===void 0?void 0:r.enableCrossOsArchive);const i={key:e,version:s,cacheSize:r===null||r===void 0?void 0:r.cacheSize};const o=yield retryTypedResponse("reserveCache",(()=>QE(this,void 0,void 0,(function*(){return n.postJson(getCacheApiUrl("caches"),i)}))));return o}))}function getContentRange(e,t){return`bytes ${e}-${t}/*`}function uploadChunk(e,t,r,n,s){return QE(this,void 0,void 0,(function*(){core_debug(`Uploading chunk of size ${s-n+1} bytes at offset ${n} with content range: ${getContentRange(n,s)}`);const i={"Content-Type":"application/octet-stream","Content-Range":getContentRange(n,s)};const o=yield retryHttpClientResponse(`uploadChunk (start: ${n}, end: ${s})`,(()=>QE(this,void 0,void 0,(function*(){return e.sendStream("PATCH",t,r(),i)}))));if(!isSuccessStatusCode(o.message.statusCode)){throw new Error(`Cache service responded with ${o.message.statusCode} during upload chunk.`)}}))}function uploadFile(e,t,r,n){return QE(this,void 0,void 0,(function*(){const s=getArchiveFileSizeInBytes(r);const o=getCacheApiUrl(`caches/${t.toString()}`);const a=i.openSync(r,"r");const c=getUploadOptions(n);const l=assertDefined("uploadConcurrency",c.uploadConcurrency);const A=assertDefined("uploadChunkSize",c.uploadChunkSize);const u=[...new Array(l).keys()];core_debug("Awaiting all uploads");let d=0;try{yield Promise.all(u.map((()=>QE(this,void 0,void 0,(function*(){while(d<s){const t=Math.min(s-d,A);const n=d;const c=d+t-1;d+=A;yield uploadChunk(e,o,(()=>i.createReadStream(r,{fd:a,start:n,end:c,autoClose:false}).on("error",(e=>{throw new Error(`Cache upload failed because file read failed with ${e.message}`)}))),n,c)}})))))}finally{i.closeSync(a)}return}))}function commitCache(e,t,r){return QE(this,void 0,void 0,(function*(){const n={size:r};return yield retryTypedResponse("commitCache",(()=>QE(this,void 0,void 0,(function*(){return e.postJson(getCacheApiUrl(`caches/${t.toString()}`),n)}))))}))}function saveCache(e,t,r,n){return QE(this,void 0,void 0,(function*(){const s=getUploadOptions(n);if(s.useAzureSdk){if(!r){throw new Error("Azure Storage SDK can only be used when a signed URL is provided.")}yield uploadCacheArchiveSDK(r,t,n)}else{const r=createHttpClient();core_debug("Upload cache");yield uploadFile(r,e,t,n);core_debug("Commiting cache");const s=getArchiveFileSizeInBytes(t);info(`Cache Size: ~${Math.round(s/(1024*1024))} MB (${s} B)`);const i=yield commitCache(r,e,s);if(!isSuccessStatusCode(i.statusCode)){throw new Error(`Cache service responded with ${i.statusCode} during commit cache.`)}info("Cache saved successfully")}}))}var bE=__nccwpck_require__(4420);var SE=__nccwpck_require__(8886);class CacheScope$Type extends SE.MessageType{constructor(){super("github.actions.results.entities.v1.CacheScope",[{no:1,name:"scope",kind:"scalar",T:9},{no:2,name:"permission",kind:"scalar",T:3}])}create(e){const t={scope:"",permission:"0"};globalThis.Object.defineProperty(t,SE.MESSAGE_TYPE,{enumerable:false,value:this});if(e!==undefined)(0,SE.reflectionMergePartial)(this,t,e);return t}internalBinaryRead(e,t,r,n){let s=n!==null&&n!==void 0?n:this.create(),i=e.pos+t;while(e.pos<i){let[t,n]=e.tag();switch(t){case 1:s.scope=e.string();break;case 2:s.permission=e.int64().toString();break;default:let i=r.readUnknownField;if(i==="throw")throw new globalThis.Error(`Unknown field ${t} (wire type ${n}) for ${this.typeName}`);let o=e.skip(n);if(i!==false)(i===true?SE.UnknownFieldHandler.onRead:i)(this.typeName,s,t,n,o)}}return s}internalBinaryWrite(e,t,r){if(e.scope!=="")t.tag(1,SE.WireType.LengthDelimited).string(e.scope);if(e.permission!=="0")t.tag(2,SE.WireType.Varint).int64(e.permission);let n=r.writeUnknownFields;if(n!==false)(n==true?SE.UnknownFieldHandler.onWrite:n)(this.typeName,e,t);return t}}const wE=new CacheScope$Type;class CacheMetadata$Type extends SE.MessageType{constructor(){super("github.actions.results.entities.v1.CacheMetadata",[{no:1,name:"repository_id",kind:"scalar",T:3},{no:2,name:"scope",kind:"message",repeat:1,T:()=>wE}])}create(e){const t={repositoryId:"0",scope:[]};globalThis.Object.defineProperty(t,SE.MESSAGE_TYPE,{enumerable:false,value:this});if(e!==undefined)(0,SE.reflectionMergePartial)(this,t,e);return t}internalBinaryRead(e,t,r,n){let s=n!==null&&n!==void 0?n:this.create(),i=e.pos+t;while(e.pos<i){let[t,n]=e.tag();switch(t){case 1:s.repositoryId=e.int64().toString();break;case 2:s.scope.push(wE.internalBinaryRead(e,e.uint32(),r));break;default:let i=r.readUnknownField;if(i==="throw")throw new globalThis.Error(`Unknown field ${t} (wire type ${n}) for ${this.typeName}`);let o=e.skip(n);if(i!==false)(i===true?SE.UnknownFieldHandler.onRead:i)(this.typeName,s,t,n,o)}}return s}internalBinaryWrite(e,t,r){if(e.repositoryId!=="0")t.tag(1,SE.WireType.Varint).int64(e.repositoryId);for(let n=0;n<e.scope.length;n++)wE.internalBinaryWrite(e.scope[n],t.tag(2,SE.WireType.LengthDelimited).fork(),r).join();let n=r.writeUnknownFields;if(n!==false)(n==true?SE.UnknownFieldHandler.onWrite:n)(this.typeName,e,t);return t}}const DE=new CacheMetadata$Type;class CreateCacheEntryRequest$Type extends SE.MessageType{constructor(){super("github.actions.results.api.v1.CreateCacheEntryRequest",[{no:1,name:"metadata",kind:"message",T:()=>DE},{no:2,name:"key",kind:"scalar",T:9},{no:3,name:"version",kind:"scalar",T:9}])}create(e){const t={key:"",version:""};globalThis.Object.defineProperty(t,SE.MESSAGE_TYPE,{enumerable:false,value:this});if(e!==undefined)(0,SE.reflectionMergePartial)(this,t,e);return t}internalBinaryRead(e,t,r,n){let s=n!==null&&n!==void 0?n:this.create(),i=e.pos+t;while(e.pos<i){let[t,n]=e.tag();switch(t){case 1:s.metadata=DE.internalBinaryRead(e,e.uint32(),r,s.metadata);break;case 2:s.key=e.string();break;case 3:s.version=e.string();break;default:let i=r.readUnknownField;if(i==="throw")throw new globalThis.Error(`Unknown field ${t} (wire type ${n}) for ${this.typeName}`);let o=e.skip(n);if(i!==false)(i===true?SE.UnknownFieldHandler.onRead:i)(this.typeName,s,t,n,o)}}return s}internalBinaryWrite(e,t,r){if(e.metadata)DE.internalBinaryWrite(e.metadata,t.tag(1,SE.WireType.LengthDelimited).fork(),r).join();if(e.key!=="")t.tag(2,SE.WireType.LengthDelimited).string(e.key);if(e.version!=="")t.tag(3,SE.WireType.LengthDelimited).string(e.version);let n=r.writeUnknownFields;if(n!==false)(n==true?SE.UnknownFieldHandler.onWrite:n)(this.typeName,e,t);return t}}const NE=new CreateCacheEntryRequest$Type;class CreateCacheEntryResponse$Type extends SE.MessageType{constructor(){super("github.actions.results.api.v1.CreateCacheEntryResponse",[{no:1,name:"ok",kind:"scalar",T:8},{no:2,name:"signed_upload_url",kind:"scalar",T:9},{no:3,name:"message",kind:"scalar",T:9}])}create(e){const t={ok:false,signedUploadUrl:"",message:""};globalThis.Object.defineProperty(t,SE.MESSAGE_TYPE,{enumerable:false,value:this});if(e!==undefined)(0,SE.reflectionMergePartial)(this,t,e);return t}internalBinaryRead(e,t,r,n){let s=n!==null&&n!==void 0?n:this.create(),i=e.pos+t;while(e.pos<i){let[t,n]=e.tag();switch(t){case 1:s.ok=e.bool();break;case 2:s.signedUploadUrl=e.string();break;case 3:s.message=e.string();break;default:let i=r.readUnknownField;if(i==="throw")throw new globalThis.Error(`Unknown field ${t} (wire type ${n}) for ${this.typeName}`);let o=e.skip(n);if(i!==false)(i===true?SE.UnknownFieldHandler.onRead:i)(this.typeName,s,t,n,o)}}return s}internalBinaryWrite(e,t,r){if(e.ok!==false)t.tag(1,SE.WireType.Varint).bool(e.ok);if(e.signedUploadUrl!=="")t.tag(2,SE.WireType.LengthDelimited).string(e.signedUploadUrl);if(e.message!=="")t.tag(3,SE.WireType.LengthDelimited).string(e.message);let n=r.writeUnknownFields;if(n!==false)(n==true?SE.UnknownFieldHandler.onWrite:n)(this.typeName,e,t);return t}}const xE=new CreateCacheEntryResponse$Type;class FinalizeCacheEntryUploadRequest$Type extends SE.MessageType{constructor(){super("github.actions.results.api.v1.FinalizeCacheEntryUploadRequest",[{no:1,name:"metadata",kind:"message",T:()=>DE},{no:2,name:"key",kind:"scalar",T:9},{no:3,name:"size_bytes",kind:"scalar",T:3},{no:4,name:"version",kind:"scalar",T:9}])}create(e){const t={key:"",sizeBytes:"0",version:""};globalThis.Object.defineProperty(t,SE.MESSAGE_TYPE,{enumerable:false,value:this});if(e!==undefined)(0,SE.reflectionMergePartial)(this,t,e);return t}internalBinaryRead(e,t,r,n){let s=n!==null&&n!==void 0?n:this.create(),i=e.pos+t;while(e.pos<i){let[t,n]=e.tag();switch(t){case 1:s.metadata=DE.internalBinaryRead(e,e.uint32(),r,s.metadata);break;case 2:s.key=e.string();break;case 3:s.sizeBytes=e.int64().toString();break;case 4:s.version=e.string();break;default:let i=r.readUnknownField;if(i==="throw")throw new globalThis.Error(`Unknown field ${t} (wire type ${n}) for ${this.typeName}`);let o=e.skip(n);if(i!==false)(i===true?SE.UnknownFieldHandler.onRead:i)(this.typeName,s,t,n,o)}}return s}internalBinaryWrite(e,t,r){if(e.metadata)DE.internalBinaryWrite(e.metadata,t.tag(1,SE.WireType.LengthDelimited).fork(),r).join();if(e.key!=="")t.tag(2,SE.WireType.LengthDelimited).string(e.key);if(e.sizeBytes!=="0")t.tag(3,SE.WireType.Varint).int64(e.sizeBytes);if(e.version!=="")t.tag(4,SE.WireType.LengthDelimited).string(e.version);let n=r.writeUnknownFields;if(n!==false)(n==true?SE.UnknownFieldHandler.onWrite:n)(this.typeName,e,t);return t}}const RE=new FinalizeCacheEntryUploadRequest$Type;class FinalizeCacheEntryUploadResponse$Type extends SE.MessageType{constructor(){super("github.actions.results.api.v1.FinalizeCacheEntryUploadResponse",[{no:1,name:"ok",kind:"scalar",T:8},{no:2,name:"entry_id",kind:"scalar",T:3},{no:3,name:"message",kind:"scalar",T:9}])}create(e){const t={ok:false,entryId:"0",message:""};globalThis.Object.defineProperty(t,SE.MESSAGE_TYPE,{enumerable:false,value:this});if(e!==undefined)(0,SE.reflectionMergePartial)(this,t,e);return t}internalBinaryRead(e,t,r,n){let s=n!==null&&n!==void 0?n:this.create(),i=e.pos+t;while(e.pos<i){let[t,n]=e.tag();switch(t){case 1:s.ok=e.bool();break;case 2:s.entryId=e.int64().toString();break;case 3:s.message=e.string();break;default:let i=r.readUnknownField;if(i==="throw")throw new globalThis.Error(`Unknown field ${t} (wire type ${n}) for ${this.typeName}`);let o=e.skip(n);if(i!==false)(i===true?SE.UnknownFieldHandler.onRead:i)(this.typeName,s,t,n,o)}}return s}internalBinaryWrite(e,t,r){if(e.ok!==false)t.tag(1,SE.WireType.Varint).bool(e.ok);if(e.entryId!=="0")t.tag(2,SE.WireType.Varint).int64(e.entryId);if(e.message!=="")t.tag(3,SE.WireType.LengthDelimited).string(e.message);let n=r.writeUnknownFields;if(n!==false)(n==true?SE.UnknownFieldHandler.onWrite:n)(this.typeName,e,t);return t}}const vE=new FinalizeCacheEntryUploadResponse$Type;class GetCacheEntryDownloadURLRequest$Type extends SE.MessageType{constructor(){super("github.actions.results.api.v1.GetCacheEntryDownloadURLRequest",[{no:1,name:"metadata",kind:"message",T:()=>DE},{no:2,name:"key",kind:"scalar",T:9},{no:3,name:"restore_keys",kind:"scalar",repeat:2,T:9},{no:4,name:"version",kind:"scalar",T:9}])}create(e){const t={key:"",restoreKeys:[],version:""};globalThis.Object.defineProperty(t,SE.MESSAGE_TYPE,{enumerable:false,value:this});if(e!==undefined)(0,SE.reflectionMergePartial)(this,t,e);return t}internalBinaryRead(e,t,r,n){let s=n!==null&&n!==void 0?n:this.create(),i=e.pos+t;while(e.pos<i){let[t,n]=e.tag();switch(t){case 1:s.metadata=DE.internalBinaryRead(e,e.uint32(),r,s.metadata);break;case 2:s.key=e.string();break;case 3:s.restoreKeys.push(e.string());break;case 4:s.version=e.string();break;default:let i=r.readUnknownField;if(i==="throw")throw new globalThis.Error(`Unknown field ${t} (wire type ${n}) for ${this.typeName}`);let o=e.skip(n);if(i!==false)(i===true?SE.UnknownFieldHandler.onRead:i)(this.typeName,s,t,n,o)}}return s}internalBinaryWrite(e,t,r){if(e.metadata)DE.internalBinaryWrite(e.metadata,t.tag(1,SE.WireType.LengthDelimited).fork(),r).join();if(e.key!=="")t.tag(2,SE.WireType.LengthDelimited).string(e.key);for(let r=0;r<e.restoreKeys.length;r++)t.tag(3,SE.WireType.LengthDelimited).string(e.restoreKeys[r]);if(e.version!=="")t.tag(4,SE.WireType.LengthDelimited).string(e.version);let n=r.writeUnknownFields;if(n!==false)(n==true?SE.UnknownFieldHandler.onWrite:n)(this.typeName,e,t);return t}}const kE=new GetCacheEntryDownloadURLRequest$Type;class GetCacheEntryDownloadURLResponse$Type extends SE.MessageType{constructor(){super("github.actions.results.api.v1.GetCacheEntryDownloadURLResponse",[{no:1,name:"ok",kind:"scalar",T:8},{no:2,name:"signed_download_url",kind:"scalar",T:9},{no:3,name:"matched_key",kind:"scalar",T:9}])}create(e){const t={ok:false,signedDownloadUrl:"",matchedKey:""};globalThis.Object.defineProperty(t,SE.MESSAGE_TYPE,{enumerable:false,value:this});if(e!==undefined)(0,SE.reflectionMergePartial)(this,t,e);return t}internalBinaryRead(e,t,r,n){let s=n!==null&&n!==void 0?n:this.create(),i=e.pos+t;while(e.pos<i){let[t,n]=e.tag();switch(t){case 1:s.ok=e.bool();break;case 2:s.signedDownloadUrl=e.string();break;case 3:s.matchedKey=e.string();break;default:let i=r.readUnknownField;if(i==="throw")throw new globalThis.Error(`Unknown field ${t} (wire type ${n}) for ${this.typeName}`);let o=e.skip(n);if(i!==false)(i===true?SE.UnknownFieldHandler.onRead:i)(this.typeName,s,t,n,o)}}return s}internalBinaryWrite(e,t,r){if(e.ok!==false)t.tag(1,SE.WireType.Varint).bool(e.ok);if(e.signedDownloadUrl!=="")t.tag(2,SE.WireType.LengthDelimited).string(e.signedDownloadUrl);if(e.matchedKey!=="")t.tag(3,SE.WireType.LengthDelimited).string(e.matchedKey);let n=r.writeUnknownFields;if(n!==false)(n==true?SE.UnknownFieldHandler.onWrite:n)(this.typeName,e,t);return t}}const FE=new GetCacheEntryDownloadURLResponse$Type;const TE=new bE.C0("github.actions.results.api.v1.CacheService",[{name:"CreateCacheEntry",options:{},I:NE,O:xE},{name:"FinalizeCacheEntryUpload",options:{},I:RE,O:vE},{name:"GetCacheEntryDownloadURL",options:{},I:kE,O:FE}]);class CacheServiceClientJSON{constructor(e){this.rpc=e;this.CreateCacheEntry.bind(this);this.FinalizeCacheEntryUpload.bind(this);this.GetCacheEntryDownloadURL.bind(this)}CreateCacheEntry(e){const t=NE.toJson(e,{useProtoFieldName:true,emitDefaultValues:false});const r=this.rpc.request("github.actions.results.api.v1.CacheService","CreateCacheEntry","application/json",t);return r.then((e=>xE.fromJson(e,{ignoreUnknownFields:true})))}FinalizeCacheEntryUpload(e){const t=RE.toJson(e,{useProtoFieldName:true,emitDefaultValues:false});const r=this.rpc.request("github.actions.results.api.v1.CacheService","FinalizeCacheEntryUpload","application/json",t);return r.then((e=>vE.fromJson(e,{ignoreUnknownFields:true})))}GetCacheEntryDownloadURL(e){const t=kE.toJson(e,{useProtoFieldName:true,emitDefaultValues:false});const r=this.rpc.request("github.actions.results.api.v1.CacheService","GetCacheEntryDownloadURL","application/json",t);return r.then((e=>FE.fromJson(e,{ignoreUnknownFields:true})))}}class CacheServiceClientProtobuf{constructor(e){this.rpc=e;this.CreateCacheEntry.bind(this);this.FinalizeCacheEntryUpload.bind(this);this.GetCacheEntryDownloadURL.bind(this)}CreateCacheEntry(e){const t=CreateCacheEntryRequest.toBinary(e);const r=this.rpc.request("github.actions.results.api.v1.CacheService","CreateCacheEntry","application/protobuf",t);return r.then((e=>CreateCacheEntryResponse.fromBinary(e)))}FinalizeCacheEntryUpload(e){const t=FinalizeCacheEntryUploadRequest.toBinary(e);const r=this.rpc.request("github.actions.results.api.v1.CacheService","FinalizeCacheEntryUpload","application/protobuf",t);return r.then((e=>FinalizeCacheEntryUploadResponse.fromBinary(e)))}GetCacheEntryDownloadURL(e){const t=GetCacheEntryDownloadURLRequest.toBinary(e);const r=this.rpc.request("github.actions.results.api.v1.CacheService","GetCacheEntryDownloadURL","application/protobuf",t);return r.then((e=>GetCacheEntryDownloadURLResponse.fromBinary(e)))}}function maskSigUrl(e){if(!e)return;try{const t=new URL(e);const r=t.searchParams.get("sig");if(r){core_setSecret(r);core_setSecret(encodeURIComponent(r))}}catch(t){core_debug(`Failed to parse URL: ${e} ${t instanceof Error?t.message:String(t)}`)}}function maskSecretUrls(e){if(typeof e!=="object"||e===null){core_debug("body is not an object or is null");return}if("signed_upload_url"in e&&typeof e.signed_upload_url==="string"){maskSigUrl(e.signed_upload_url)}if("signed_download_url"in e&&typeof e.signed_download_url==="string"){maskSigUrl(e.signed_download_url)}}var ME=undefined&&undefined.__awaiter||function(e,t,r,n){function adopt(e){return e instanceof r?e:new r((function(t){t(e)}))}return new(r||(r=Promise))((function(r,s){function fulfilled(e){try{step(n.next(e))}catch(e){s(e)}}function rejected(e){try{step(n["throw"](e))}catch(e){s(e)}}function step(e){e.done?r(e.value):adopt(e.value).then(fulfilled,rejected)}step((n=n.apply(e,t||[])).next())}))};class CacheServiceClient{constructor(e,t,r,n){this.maxAttempts=5;this.baseRetryIntervalMilliseconds=3e3;this.retryMultiplier=1.5;const s=getRuntimeToken();this.baseUrl=getCacheServiceURL();if(t){this.maxAttempts=t}if(r){this.baseRetryIntervalMilliseconds=r}if(n){this.retryMultiplier=n}this.httpClient=new lib_HttpClient(e,[new auth_BearerCredentialHandler(s)])}request(e,t,r,n){return ME(this,void 0,void 0,(function*(){const s=new URL(`/twirp/${e}/${t}`,this.baseUrl).href;core_debug(`[Request] ${t} ${s}`);const i={"Content-Type":r};try{const{body:e}=yield this.retryableRequest((()=>ME(this,void 0,void 0,(function*(){return this.httpClient.post(s,JSON.stringify(n),i)}))));return e}catch(e){throw new Error(`Failed to ${t}: ${e.message}`)}}))}retryableRequest(e){return ME(this,void 0,void 0,(function*(){let t=0;let r="";let n="";while(t<this.maxAttempts){let s=false;try{const t=yield e();const i=t.message.statusCode;n=yield t.readBody();core_debug(`[Response] - ${t.message.statusCode}`);core_debug(`Headers: ${JSON.stringify(t.message.headers,null,2)}`);const o=JSON.parse(n);maskSecretUrls(o);core_debug(`Body: ${JSON.stringify(o,null,2)}`);if(this.isSuccessStatusCode(i)){return{response:t,body:o}}s=this.isRetryableHttpStatusCode(i);r=`Failed request: (${i}) ${t.message.statusMessage}`;if(o.msg){if(UsageError.isUsageErrorMessage(o.msg)){throw new UsageError}r=`${r}: ${o.msg}`}if(i===Cr.TooManyRequests){const e=t.message.headers["retry-after"];if(e){const t=parseInt(e,10);if(!isNaN(t)&&t>0){warning(`You've hit a rate limit, your rate limit will reset in ${t} seconds`)}}throw new RateLimitError(`Rate limited: ${r}`)}}catch(e){if(e instanceof SyntaxError){core_debug(`Raw Body: ${n}`)}if(e instanceof UsageError){throw e}if(e instanceof RateLimitError){throw e}if(NetworkError.isNetworkErrorCode(e===null||e===void 0?void 0:e.code)){throw new NetworkError(e===null||e===void 0?void 0:e.code)}s=true;r=e.message}if(!s){throw new Error(`Received non-retryable error: ${r}`)}if(t+1===this.maxAttempts){throw new Error(`Failed to make request after ${this.maxAttempts} attempts: ${r}`)}const i=this.getExponentialRetryTimeMilliseconds(t);info(`Attempt ${t+1} of ${this.maxAttempts} failed with error: ${r}. Retrying request in ${i} ms...`);yield this.sleep(i);t++}throw new Error(`Request failed`)}))}isSuccessStatusCode(e){if(!e)return false;return e>=200&&e<300}isRetryableHttpStatusCode(e){if(!e)return false;const t=[Cr.BadGateway,Cr.GatewayTimeout,Cr.InternalServerError,Cr.ServiceUnavailable];return t.includes(e)}sleep(e){return ME(this,void 0,void 0,(function*(){return new Promise((t=>setTimeout(t,e)))}))}getExponentialRetryTimeMilliseconds(e){if(e<0){throw new Error("attempt should be a positive integer")}if(e===0){return this.baseRetryIntervalMilliseconds}const t=this.baseRetryIntervalMilliseconds*Math.pow(this.retryMultiplier,e);const r=t*this.retryMultiplier;return Math.trunc(Math.random()*(r-t)+t)}}function internalCacheTwirpClient(e){const t=new CacheServiceClient(user_agent_getUserAgentString(),e===null||e===void 0?void 0:e.maxAttempts,e===null||e===void 0?void 0:e.retryIntervalMs,e===null||e===void 0?void 0:e.retryMultiplier);return new CacheServiceClientJSON(t)}var PE=undefined&&undefined.__awaiter||function(e,t,r,n){function adopt(e){return e instanceof r?e:new r((function(t){t(e)}))}return new(r||(r=Promise))((function(r,s){function fulfilled(e){try{step(n.next(e))}catch(e){s(e)}}function rejected(e){try{step(n["throw"](e))}catch(e){s(e)}}function step(e){e.done?r(e.value):adopt(e.value).then(fulfilled,rejected)}step((n=n.apply(e,t||[])).next())}))};const LE=process.platform==="win32";function getTarPath(){return PE(this,void 0,void 0,(function*(){switch(process.platform){case"win32":{const e=yield getGnuTarPathOnWindows();const t=Eo;if(e){return{path:e,type:ho.GNU}}else if((0,i.existsSync)(t)){return{path:t,type:ho.BSD}}break}case"darwin":{const e=yield which("gtar",false);if(e){return{path:e,type:ho.GNU}}else{return{path:yield which("tar",true),type:ho.BSD}}}default:break}return{path:yield which("tar",true),type:ho.GNU}}))}function getTarArgs(e,t,r){return PE(this,arguments,void 0,(function*(e,t,r,n=""){const s=[`"${e.path}"`];const i=getCacheFileName(t);const a="cache.tar";const c=getWorkingDirectory();const l=e.type===ho.BSD&&t!==po.Gzip&&LE;switch(r){case"create":s.push("--posix","-cf",l?a:i.replace(new RegExp(`\\${o.sep}`,"g"),"/"),"--exclude",l?a:i.replace(new RegExp(`\\${o.sep}`,"g"),"/"),"-P","-C",c.replace(new RegExp(`\\${o.sep}`,"g"),"/"),"--files-from",Bo);break;case"extract":s.push("-xf",l?a:n.replace(new RegExp(`\\${o.sep}`,"g"),"/"),"-P","-C",c.replace(new RegExp(`\\${o.sep}`,"g"),"/"));break;case"list":s.push("-tf",l?a:n.replace(new RegExp(`\\${o.sep}`,"g"),"/"),"-P");break}if(e.type===ho.GNU){switch(process.platform){case"win32":s.push("--force-local");break;case"darwin":s.push("--delay-directory-restore");break}}return s}))}function getCommands(e,t){return PE(this,arguments,void 0,(function*(e,t,r=""){let n;const s=yield getTarPath();const i=yield getTarArgs(s,e,t,r);const o=t!=="create"?yield getDecompressionProgram(s,e,r):yield getCompressionProgram(s,e);const a=s.type===ho.BSD&&e!==po.Gzip&&LE;if(a&&t!=="create"){n=[[...o].join(" "),[...i].join(" ")]}else{n=[[...i].join(" "),[...o].join(" ")]}if(a){return n}return[n.join(" ")]}))}function getWorkingDirectory(){var e;return(e=process.env["GITHUB_WORKSPACE"])!==null&&e!==void 0?e:process.cwd()}function getDecompressionProgram(e,t,r){return PE(this,void 0,void 0,(function*(){const n=e.type===ho.BSD&&t!==po.Gzip&&LE;switch(t){case po.Zstd:return n?["zstd -d --long=30 --force -o",Io,r.replace(new RegExp(`\\${o.sep}`,"g"),"/")]:["--use-compress-program",LE?'"zstd -d --long=30"':"unzstd --long=30"];case po.ZstdWithoutLong:return n?["zstd -d --force -o",Io,r.replace(new RegExp(`\\${o.sep}`,"g"),"/")]:["--use-compress-program",LE?'"zstd -d"':"unzstd"];default:return["-z"]}}))}function getCompressionProgram(e,t){return PE(this,void 0,void 0,(function*(){const r=getCacheFileName(t);const n=e.type===ho.BSD&&t!==po.Gzip&&LE;switch(t){case po.Zstd:return n?["zstd -T0 --long=30 --force -o",r.replace(new RegExp(`\\${o.sep}`,"g"),"/"),Io]:["--use-compress-program",LE?'"zstd -T0 --long=30"':"zstdmt --long=30"];case po.ZstdWithoutLong:return n?["zstd -T0 --force -o",r.replace(new RegExp(`\\${o.sep}`,"g"),"/"),Io]:["--use-compress-program",LE?'"zstd -T0"':"zstdmt"];default:return["-z"]}}))}function execCommands(e,t){return PE(this,void 0,void 0,(function*(){for(const r of e){try{yield exec_exec(r,undefined,{cwd:t,env:Object.assign(Object.assign({},process.env),{MSYS:"winsymlinks:nativestrict"})})}catch(e){throw new Error(`${r.split(" ")[0]} failed with error: ${e===null||e===void 0?void 0:e.message}`)}}}))}function listTar(e,t){return PE(this,void 0,void 0,(function*(){const r=yield getCommands(t,"list",e);yield execCommands(r)}))}function extractTar(e,t){return PE(this,void 0,void 0,(function*(){const r=getWorkingDirectory();yield mkdirP(r);const n=yield getCommands(t,"extract",e);yield execCommands(n)}))}function createTar(e,t,r){return PE(this,void 0,void 0,(function*(){(0,i.writeFileSync)(o.join(e,Bo),t.join("\n"));const n=yield getCommands(r,"create");yield execCommands(n,e)}))}var UE=undefined&&undefined.__awaiter||function(e,t,r,n){function adopt(e){return e instanceof r?e:new r((function(t){t(e)}))}return new(r||(r=Promise))((function(r,s){function fulfilled(e){try{step(n.next(e))}catch(e){s(e)}}function rejected(e){try{step(n["throw"](e))}catch(e){s(e)}}function step(e){e.done?r(e.value):adopt(e.value).then(fulfilled,rejected)}step((n=n.apply(e,t||[])).next())}))};class ValidationError extends Error{constructor(e){super(e);this.name="ValidationError";Object.setPrototypeOf(this,ValidationError.prototype)}}class ReserveCacheError extends Error{constructor(e){super(e);this.name="ReserveCacheError";Object.setPrototypeOf(this,ReserveCacheError.prototype)}}const OE="cache write denied:";class CacheWriteDeniedError extends ReserveCacheError{constructor(e){super(e);this.name="CacheWriteDeniedError";Object.setPrototypeOf(this,CacheWriteDeniedError.prototype)}}const HE=bo;class CacheReadDeniedError extends Error{constructor(e){super(e);this.name="CacheReadDeniedError";Object.setPrototypeOf(this,CacheReadDeniedError.prototype)}}class FinalizeCacheError extends Error{constructor(e){super(e);this.name="FinalizeCacheError";Object.setPrototypeOf(this,FinalizeCacheError.prototype)}}function checkPaths(e){if(!e||e.length===0){throw new ValidationError(`Path Validation Error: At least one directory or file path is required`)}}function checkKey(e){if(e.length>512){throw new ValidationError(`Key Validation Error: ${e} cannot be larger than 512 characters.`)}const t=/^[^,]*$/;if(!t.test(e)){throw new ValidationError(`Key Validation Error: ${e} cannot contain commas.`)}}function isFeatureAvailable(){const e=getCacheServiceVersion();switch(e){case"v2":return!!process.env["ACTIONS_RESULTS_URL"];case"v1":default:return!!process.env["ACTIONS_CACHE_URL"]}}function restoreCache(e,t,r,n){return UE(this,arguments,void 0,(function*(e,t,r,n,s=false){const i=getCacheServiceVersion();core_debug(`Cache service version: ${i}`);checkPaths(e);const o=getCacheMode();if(!isCacheReadable(o)){info(`Cache restore skipped: the effective cache-mode '${o}' does not permit reads.`);core_debug(`Skipped restore for paths [${e.join(", ")}] with primary key '${t}'.`);return undefined}switch(i){case"v2":return yield restoreCacheV2(e,t,r,n,s);case"v1":default:return yield restoreCacheV1(e,t,r,n,s)}}))}function restoreCacheV1(e,t,r,n){return UE(this,arguments,void 0,(function*(e,t,r,n,s=false){var i;r=r||[];const a=[t,...r];core_debug("Resolved Keys:");core_debug(JSON.stringify(a));if(a.length>10){throw new ValidationError(`Key Validation Error: Keys are limited to a maximum of 10.`)}for(const e of a){checkKey(e)}const c=yield getCompressionMethod();let l="";try{let t;try{t=yield getCacheEntry(a,e,{compressionMethod:c,enableCrossOsArchive:s})}catch(e){const t=(i=e===null||e===void 0?void 0:e.message)!==null&&i!==void 0?i:"";if(t.includes(HE)){throw new CacheReadDeniedError(t)}throw e}if(!(t===null||t===void 0?void 0:t.archiveLocation)){return undefined}if(n===null||n===void 0?void 0:n.lookupOnly){info("Lookup only - skipping download");return t.cacheKey}l=o.join(yield createTempDirectory(),getCacheFileName(c));core_debug(`Archive Path: ${l}`);yield downloadCache(t.archiveLocation,l,n);if(isDebug()){yield listTar(l,c)}const r=getArchiveFileSizeInBytes(l);info(`Cache Size: ~${Math.round(r/(1024*1024))} MB (${r} B)`);yield extractTar(l,c);info("Cache restored successfully");return t.cacheKey}catch(e){const t=e;if(t.name===ValidationError.name){throw e}else{if(t instanceof HttpClientError&&typeof t.statusCode==="number"&&t.statusCode>=500){core_error(`Failed to restore: ${e.message}`)}else{warning(`Failed to restore: ${e.message}`)}}}finally{try{yield unlinkFile(l)}catch(e){core_debug(`Failed to delete archive: ${e}`)}}return undefined}))}function restoreCacheV2(e,t,r,n){return UE(this,arguments,void 0,(function*(e,t,r,n,s=false){var i;n=Object.assign(Object.assign({},n),{useAzureSdk:true});r=r||[];const a=[t,...r];core_debug("Resolved Keys:");core_debug(JSON.stringify(a));if(a.length>10){throw new ValidationError(`Key Validation Error: Keys are limited to a maximum of 10.`)}for(const e of a){checkKey(e)}let c="";try{const l=internalCacheTwirpClient();const A=yield getCompressionMethod();const u={key:t,restoreKeys:r,version:getCacheVersion(e,A,s)};let d;try{d=yield l.GetCacheEntryDownloadURL(u)}catch(e){const t=(i=e===null||e===void 0?void 0:e.message)!==null&&i!==void 0?i:"";if(t.includes(HE)){throw new CacheReadDeniedError(t)}throw e}if(!d.ok){core_debug(`Cache not found for version ${u.version} of keys: ${a.join(", ")}`);return undefined}const g=u.key!==d.matchedKey;if(g){info(`Cache hit for restore-key: ${d.matchedKey}`)}else{info(`Cache hit for: ${d.matchedKey}`)}if(n===null||n===void 0?void 0:n.lookupOnly){info("Lookup only - skipping download");return d.matchedKey}c=o.join(yield createTempDirectory(),getCacheFileName(A));core_debug(`Archive path: ${c}`);core_debug(`Starting download of archive to: ${c}`);yield downloadCache(d.signedDownloadUrl,c,n);const p=getArchiveFileSizeInBytes(c);info(`Cache Size: ~${Math.round(p/(1024*1024))} MB (${p} B)`);if(isDebug()){yield listTar(c,A)}yield extractTar(c,A);info("Cache restored successfully");return d.matchedKey}catch(e){const t=e;if(t.name===ValidationError.name){throw e}else{if(t instanceof HttpClientError&&typeof t.statusCode==="number"&&t.statusCode>=500){core_error(`Failed to restore: ${e.message}`)}else{warning(`Failed to restore: ${e.message}`)}}}finally{try{if(c){yield unlinkFile(c)}}catch(e){core_debug(`Failed to delete archive: ${e}`)}}return undefined}))}function cache_saveCache(e,t,r){return UE(this,arguments,void 0,(function*(e,t,r,n=false){const s=getCacheServiceVersion();core_debug(`Cache service version: ${s}`);checkPaths(e);checkKey(t);const i=getCacheMode();if(!isCacheWritable(i)){info(`Cache save skipped: the effective cache-mode '${i}' does not permit writes.`);core_debug(`Skipped save for paths [${e.join(", ")}] with key '${t}'.`);return-1}switch(s){case"v2":return yield saveCacheV2(e,t,r,n);case"v1":default:return yield saveCacheV1(e,t,r,n)}}))}function saveCacheV1(e,t,r){return UE(this,arguments,void 0,(function*(e,t,r,n=false){var s,i,a,c,l,A;const u=yield getCompressionMethod();let d=-1;const g=yield resolvePaths(e);core_debug("Cache Paths:");core_debug(`${JSON.stringify(g)}`);if(g.length===0){throw new Error(`Path Validation Error: Path(s) specified in the action for caching do(es) not exist, hence no cache is being saved.`)}const p=yield createTempDirectory();const h=o.join(p,getCacheFileName(u));core_debug(`Archive Path: ${h}`);try{yield createTar(p,g,u);if(isDebug()){yield listTar(h,u)}const o=10*1024*1024*1024;const m=getArchiveFileSizeInBytes(h);core_debug(`File Size: ${m}`);if(m>o&&!isGhes()){throw new Error(`Cache size of ~${Math.round(m/(1024*1024))} MB (${m} B) is over the 10GB limit, not saving cache.`)}core_debug("Reserving Cache");const f=yield reserveCache(t,e,{compressionMethod:u,enableCrossOsArchive:n,cacheSize:m});if((s=f===null||f===void 0?void 0:f.result)===null||s===void 0?void 0:s.cacheId){d=(i=f===null||f===void 0?void 0:f.result)===null||i===void 0?void 0:i.cacheId}else if((f===null||f===void 0?void 0:f.statusCode)===400){throw new Error((c=(a=f===null||f===void 0?void 0:f.error)===null||a===void 0?void 0:a.message)!==null&&c!==void 0?c:`Cache size of ~${Math.round(m/(1024*1024))} MB (${m} B) is over the data cap limit, not saving cache.`)}else{const e=(l=f===null||f===void 0?void 0:f.error)===null||l===void 0?void 0:l.message;if(e===null||e===void 0?void 0:e.startsWith(OE)){throw new CacheWriteDeniedError(`Unable to reserve cache with key ${t}. More details: ${e}`)}throw new ReserveCacheError(`Unable to reserve cache with key ${t}, another job may be creating this cache. More details: ${(A=f===null||f===void 0?void 0:f.error)===null||A===void 0?void 0:A.message}`)}core_debug(`Saving Cache (ID: ${d})`);yield saveCache(d,h,"",r)}catch(e){const t=e;if(t.name===ValidationError.name){throw e}else if(t.name===ReserveCacheError.name){info(`Failed to save: ${t.message}`)}else{if(t instanceof HttpClientError&&typeof t.statusCode==="number"&&t.statusCode>=500){core_error(`Failed to save: ${t.message}`)}else{warning(`Failed to save: ${t.message}`)}}}finally{try{yield unlinkFile(h)}catch(e){core_debug(`Failed to delete archive: ${e}`)}}return d}))}function saveCacheV2(e,t,r){return UE(this,arguments,void 0,(function*(e,t,r,n=false){var s;r=Object.assign(Object.assign({},r),{uploadChunkSize:64*1024*1024,uploadConcurrency:8,useAzureSdk:true});const i=yield getCompressionMethod();const a=internalCacheTwirpClient();let c=-1;const l=yield resolvePaths(e);core_debug("Cache Paths:");core_debug(`${JSON.stringify(l)}`);if(l.length===0){throw new Error(`Path Validation Error: Path(s) specified in the action for caching do(es) not exist, hence no cache is being saved.`)}const A=yield createTempDirectory();const u=o.join(A,getCacheFileName(i));core_debug(`Archive Path: ${u}`);try{yield createTar(A,l,i);if(isDebug()){yield listTar(u,i)}const o=getArchiveFileSizeInBytes(u);core_debug(`File Size: ${o}`);r.archiveSizeBytes=o;core_debug("Reserving Cache");const d=getCacheVersion(e,i,n);const g={key:t,version:d};let p;try{const e=yield a.CreateCacheEntry(g);if(!e.ok){if(e.message&&!e.message.startsWith(OE)){warning(`Cache reservation failed: ${e.message}`)}throw new Error(e.message||"Response was not ok")}p=e.signedUploadUrl}catch(e){core_debug(`Failed to reserve cache: ${e}`);const r=(s=e===null||e===void 0?void 0:e.message)!==null&&s!==void 0?s:"";if(r.startsWith(OE)){throw new CacheWriteDeniedError(`Unable to reserve cache with key ${t}. More details: ${r}`)}throw new ReserveCacheError(`Unable to reserve cache with key ${t}, another job may be creating this cache.`)}core_debug(`Attempting to upload cache located at: ${u}`);yield saveCache(c,u,p,r);const h={key:t,version:d,sizeBytes:`${o}`};const m=yield a.FinalizeCacheEntryUpload(h);core_debug(`FinalizeCacheEntryUploadResponse: ${m.ok}`);if(!m.ok){if(m.message){throw new FinalizeCacheError(m.message)}throw new Error(`Unable to finalize cache with key ${t}, another job may be finalizing this cache.`)}c=parseInt(m.entryId)}catch(e){const t=e;if(t.name===ValidationError.name){throw e}else if(t.name===ReserveCacheError.name){info(`Failed to save: ${t.message}`)}else if(t.name===FinalizeCacheError.name){warning(t.message)}else{if(t instanceof HttpClientError&&typeof t.statusCode==="number"&&t.statusCode>=500){core_error(`Failed to save: ${t.message}`)}else{warning(`Failed to save: ${t.message}`)}}}finally{try{yield unlinkFile(u)}catch(e){core_debug(`Failed to delete archive: ${e}`)}}return c}))}var _E=undefined&&undefined.__awaiter||function(e,t,r,n){function adopt(e){return e instanceof r?e:new r((function(t){t(e)}))}return new(r||(r=Promise))((function(r,s){function fulfilled(e){try{step(n.next(e))}catch(e){s(e)}}function rejected(e){try{step(n["throw"](e))}catch(e){s(e)}}function step(e){e.done?r(e.value):adopt(e.value).then(fulfilled,rejected)}step((n=n.apply(e,t||[])).next())}))};const qE={readLinuxVersionFile(){const e="/etc/lsb-release";const t="/etc/os-release";let r="";if(i.existsSync(e)){r=i.readFileSync(e).toString()}else if(i.existsSync(t)){r=i.readFileSync(t).toString()}return r}};function _findMatch(e,t,r,n){return _E(this,void 0,void 0,(function*(){const s=os.platform();let i;let o;let a;for(const i of r){const r=i.version;debug(`check ${r} satisfies ${e}`);if(semver.satisfies(r,e)&&(!t||i.stable===t)){a=i.files.find((e=>{debug(`${e.arch}===${n} && ${e.platform}===${s}`);let t=e.arch===n&&e.platform===s;if(t&&e.platform_version){const r=_getOsVersion();if(r===e.platform_version){t=true}else{t=semver.satisfies(r,e.platform_version)}}return t}));if(a){debug(`matched ${i.version}`);o=i;break}}}if(o&&a){i=Object.assign({},o);i.files=[a]}return i}))}function _getOsVersion(){const e=os.platform();let t="";if(e==="darwin"){t=cp.execSync("sw_vers -productVersion").toString()}else if(e==="linux"){const e=qE.readLinuxVersionFile();if(e){const r=e.split("\n");for(const e of r){const r=e.split("=");if(r.length===2&&(r[0].trim()==="VERSION_ID"||r[0].trim()==="DISTRIB_RELEASE")){t=r[1].trim().replace(/^"/,"").replace(/"$/,"");break}}}}return t}function _readLinuxVersionFile(){return qE.readLinuxVersionFile()}var GE=undefined&&undefined.__awaiter||function(e,t,r,n){function adopt(e){return e instanceof r?e:new r((function(t){t(e)}))}return new(r||(r=Promise))((function(r,s){function fulfilled(e){try{step(n.next(e))}catch(e){s(e)}}function rejected(e){try{step(n["throw"](e))}catch(e){s(e)}}function step(e){e.done?r(e.value):adopt(e.value).then(fulfilled,rejected)}step((n=n.apply(e,t||[])).next())}))};class RetryHelper{constructor(e,t,r){if(e<1){throw new Error("max attempts should be greater than or equal to 1")}this.maxAttempts=e;this.minSeconds=Math.floor(t);this.maxSeconds=Math.floor(r);if(this.minSeconds>this.maxSeconds){throw new Error("min seconds should be less than or equal to max seconds")}}execute(e,t){return GE(this,void 0,void 0,(function*(){let r=1;while(r<this.maxAttempts){try{return yield e()}catch(e){if(t&&!t(e)){throw e}info(e.message)}const n=this.getSleepAmount();info(`Waiting ${n} seconds before trying again`);yield this.sleep(n);r++}return yield e()}))}getSleepAmount(){return Math.floor(Math.random()*(this.maxSeconds-this.minSeconds+1))+this.minSeconds}sleep(e){return GE(this,void 0,void 0,(function*(){return new Promise((t=>setTimeout(t,e*1e3)))}))}}var zE=undefined&&undefined.__awaiter||function(e,t,r,n){function adopt(e){return e instanceof r?e:new r((function(t){t(e)}))}return new(r||(r=Promise))((function(r,s){function fulfilled(e){try{step(n.next(e))}catch(e){s(e)}}function rejected(e){try{step(n["throw"](e))}catch(e){s(e)}}function step(e){e.done?r(e.value):adopt(e.value).then(fulfilled,rejected)}step((n=n.apply(e,t||[])).next())}))};class HTTPError extends Error{constructor(e){super(`Unexpected HTTP response: ${e}`);this.httpStatusCode=e;Object.setPrototypeOf(this,new.target.prototype)}}const YE=process.platform==="win32";const VE=process.platform==="darwin";const JE="actions/tool-cache";function downloadTool(e,t,r,n){return zE(this,void 0,void 0,(function*(){t=t||o.join(_getTempDirectory(),Ar.randomUUID());yield mkdirP(o.dirname(t));core_debug(`Downloading ${e}`);core_debug(`Destination ${t}`);const s=3;const i=_getGlobal("TEST_DOWNLOAD_TOOL_RETRY_MIN_SECONDS",10);const a=_getGlobal("TEST_DOWNLOAD_TOOL_RETRY_MAX_SECONDS",20);const c=new RetryHelper(s,i,a);return yield c.execute((()=>zE(this,void 0,void 0,(function*(){return yield downloadToolAttempt(e,t||"",r,n)}))),(e=>{if(e instanceof HTTPError&&e.httpStatusCode){if(e.httpStatusCode<500&&e.httpStatusCode!==408&&e.httpStatusCode!==429){return false}}return true}))}))}function downloadToolAttempt(e,t,r,n){return zE(this,void 0,void 0,(function*(){if(i.existsSync(t)){throw new Error(`Destination file path ${t} already exists`)}const s=new lib_HttpClient(JE,[],{allowRetries:false});if(r){core_debug("set auth");if(n===undefined){n={}}n.authorization=r}const o=yield s.get(e,n);if(o.message.statusCode!==200){const t=new HTTPError(o.message.statusCode);core_debug(`Failed to download from "${e}". Code(${o.message.statusCode}) Message(${o.message.statusMessage})`);throw t}const a=Z.promisify(co.pipeline);const c=_getGlobal("TEST_DOWNLOAD_TOOL_RESPONSE_MESSAGE_FACTORY",(()=>o.message));const l=c();let A=false;try{yield a(l,i.createWriteStream(t));core_debug("download complete");A=true;return t}finally{if(!A){core_debug("download failed");try{yield rmRF(t)}catch(e){core_debug(`Failed to delete '${t}'. ${e.message}`)}}}}))}function extract7z(e,t,r){return zE(this,void 0,void 0,(function*(){ok(YE,"extract7z() not supported on current OS");ok(e,'parameter "file" is required');t=yield _createExtractFolder(t);const n=process.cwd();process.chdir(t);if(r){try{const t=core.isDebug()?"-bb1":"-bb0";const n=["x",t,"-bd","-sccUTF-8",e];const s={silent:true};yield exec(`"${r}"`,n,s)}finally{process.chdir(n)}}else{const r=path.join(__dirname,"..","scripts","Invoke-7zdec.ps1").replace(/'/g,"''").replace(/"|\n|\r/g,"");const s=e.replace(/'/g,"''").replace(/"|\n|\r/g,"");const i=t.replace(/'/g,"''").replace(/"|\n|\r/g,"");const o=`& '${r}' -Source '${s}' -Target '${i}'`;const a=["-NoLogo","-Sta","-NoProfile","-NonInteractive","-ExecutionPolicy","Unrestricted","-Command",o];const c={silent:true};try{const e=yield io.which("powershell",true);yield exec(`"${e}"`,a,c)}finally{process.chdir(n)}}return t}))}function tool_cache_extractTar(e,t){return zE(this,arguments,void 0,(function*(e,t,r="xz"){if(!e){throw new Error("parameter 'file' is required")}t=yield _createExtractFolder(t);core_debug("Checking tar --version");let n="";yield exec_exec("tar --version",[],{ignoreReturnCode:true,silent:true,listeners:{stdout:e=>n+=e.toString(),stderr:e=>n+=e.toString()}});core_debug(n.trim());const s=n.toUpperCase().includes("GNU TAR");let i;if(r instanceof Array){i=r}else{i=[r]}if(isDebug()&&!r.includes("v")){i.push("-v")}let o=t;let a=e;if(YE&&s){i.push("--force-local");o=t.replace(/\\/g,"/");a=e.replace(/\\/g,"/")}if(s){i.push("--warning=no-unknown-keyword");i.push("--overwrite")}i.push("-C",o,"-f",a);yield exec_exec(`tar`,i);return t}))}function extractXar(e,t){return zE(this,arguments,void 0,(function*(e,t,r=[]){ok(VE,"extractXar() not supported on current OS");ok(e,'parameter "file" is required');t=yield _createExtractFolder(t);let n;if(r instanceof Array){n=r}else{n=[r]}n.push("-x","-C",t,"-f",e);if(core.isDebug()){n.push("-v")}const s=yield io.which("xar",true);yield exec(`"${s}"`,_unique(n));return t}))}function extractZip(e,t){return zE(this,void 0,void 0,(function*(){if(!e){throw new Error("parameter 'file' is required")}t=yield _createExtractFolder(t);if(YE){yield extractZipWin(e,t)}else{yield extractZipNix(e,t)}return t}))}function extractZipWin(e,t){return zE(this,void 0,void 0,(function*(){const r=e.replace(/'/g,"''").replace(/"|\n|\r/g,"");const n=t.replace(/'/g,"''").replace(/"|\n|\r/g,"");const s=yield which("pwsh",false);if(s){const e=[`$ErrorActionPreference = 'Stop' ;`,`try { Add-Type -AssemblyName System.IO.Compression.ZipFile } catch { } ;`,`try { [System.IO.Compression.ZipFile]::ExtractToDirectory('${r}', '${n}', $true) }`,`catch { if (($_.Exception.GetType().FullName -eq 'System.Management.Automation.MethodException') -or ($_.Exception.GetType().FullName -eq 'System.Management.Automation.RuntimeException') ){ Expand-Archive -LiteralPath '${r}' -DestinationPath '${n}' -Force } else { throw $_ } } ;`].join(" ");const t=["-NoLogo","-NoProfile","-NonInteractive","-ExecutionPolicy","Unrestricted","-Command",e];core_debug(`Using pwsh at path: ${s}`);yield exec_exec(`"${s}"`,t)}else{const e=[`$ErrorActionPreference = 'Stop' ;`,`try { Add-Type -AssemblyName System.IO.Compression.FileSystem } catch { } ;`,`if ((Get-Command -Name Expand-Archive -Module Microsoft.PowerShell.Archive -ErrorAction Ignore)) { Expand-Archive -LiteralPath '${r}' -DestinationPath '${n}' -Force }`,`else {[System.IO.Compression.ZipFile]::ExtractToDirectory('${r}', '${n}', $true) }`].join(" ");const t=["-NoLogo","-Sta","-NoProfile","-NonInteractive","-ExecutionPolicy","Unrestricted","-Command",e];const s=yield which("powershell",true);core_debug(`Using powershell at path: ${s}`);yield exec_exec(`"${s}"`,t)}}))}function extractZipNix(e,t){return zE(this,void 0,void 0,(function*(){const r=yield which("unzip",true);const n=[e];if(!isDebug()){n.unshift("-q")}n.unshift("-o");yield exec_exec(`"${r}"`,n,{cwd:t})}))}function cacheDir(e,t,r,n){return zE(this,void 0,void 0,(function*(){r=Yi.clean(r)||r;n=n||cr.arch();core_debug(`Caching tool ${t} ${r} ${n}`);core_debug(`source dir: ${e}`);if(!i.statSync(e).isDirectory()){throw new Error("sourceDir is not a directory")}const s=yield _createToolPath(t,r,n);for(const t of i.readdirSync(e)){const r=o.join(e,t);yield io_cp(r,s,{recursive:true})}_completeToolPath(t,r,n);return s}))}function cacheFile(e,t,r,n,s){return zE(this,void 0,void 0,(function*(){n=semver.clean(n)||n;s=s||os.arch();core.debug(`Caching tool ${r} ${n} ${s}`);core.debug(`source file: ${e}`);if(!fs.statSync(e).isFile()){throw new Error("sourceFile is not a file")}const i=yield _createToolPath(r,n,s);const o=path.join(i,t);core.debug(`destination file ${o}`);yield io.cp(e,o);_completeToolPath(r,n,s);return i}))}function find(e,t,r){if(!e){throw new Error("toolName parameter is required")}if(!t){throw new Error("versionSpec parameter is required")}r=r||cr.arch();if(!isExplicitVersion(t)){const n=findAllVersions(e,r);const s=evaluateVersions(n,t);t=s}let n="";if(t){t=Yi.clean(t)||"";const s=o.join(_getCacheDirectory(),e,t,r);core_debug(`checking cache: ${s}`);if(i.existsSync(s)&&i.existsSync(`${s}.complete`)){core_debug(`Found tool in cache ${e} ${t} ${r}`);n=s}else{core_debug("not found")}}return n}function findAllVersions(e,t){const r=[];t=t||cr.arch();const n=o.join(_getCacheDirectory(),e);if(i.existsSync(n)){const e=i.readdirSync(n);for(const s of e){if(isExplicitVersion(s)){const e=o.join(n,s,t||"");if(i.existsSync(e)&&i.existsSync(`${e}.complete`)){r.push(s)}}}}return r}function getManifestFromRepo(e,t,r){return zE(this,arguments,void 0,(function*(e,t,r,n="master"){let s=[];const i=`https://api.github.com/repos/${e}/${t}/git/trees/${n}`;const o=new httpm.HttpClient("tool-cache");const a={};if(r){core.debug("set auth");a.authorization=r}const c=yield o.getJson(i,a);if(!c.result){return s}let l="";for(const e of c.result.tree){if(e.path==="versions-manifest.json"){l=e.url;break}}a["accept"]="application/vnd.github.VERSION.raw";let A=yield(yield o.get(l,a)).readBody();if(A){A=A.replace(/^\uFEFF/,"");try{s=JSON.parse(A)}catch(e){core.debug("Invalid json")}}return s}))}function findFromManifest(e,t,r){return zE(this,arguments,void 0,(function*(e,t,r,n=os.arch()){const s=yield mm._findMatch(e,t,r,n);return s}))}function _createExtractFolder(e){return zE(this,void 0,void 0,(function*(){if(!e){e=o.join(_getTempDirectory(),Ar.randomUUID())}yield mkdirP(e);return e}))}function _createToolPath(e,t,r){return zE(this,void 0,void 0,(function*(){const n=o.join(_getCacheDirectory(),e,Yi.clean(t)||t,r||"");core_debug(`destination ${n}`);const s=`${n}.complete`;yield rmRF(n);yield rmRF(s);yield mkdirP(n);return n}))}function _completeToolPath(e,t,r){const n=o.join(_getCacheDirectory(),e,Yi.clean(t)||t,r||"");const s=`${n}.complete`;i.writeFileSync(s,"");core_debug("finished caching tool")}function isExplicitVersion(e){const t=Yi.clean(e)||"";core_debug(`isExplicit: ${t}`);const r=Yi.valid(t)!=null;core_debug(`explicit? ${r}`);return r}function evaluateVersions(e,t){let r="";core_debug(`evaluating ${e.length} versions`);e=e.sort(((e,t)=>{if(Yi.gt(e,t)){return 1}return-1}));for(let n=e.length-1;n>=0;n--){const s=e[n];const i=Yi.satisfies(s,t);if(i){r=s;break}}if(r){core_debug(`matched: ${r}`)}else{core_debug("match not found")}return r}function _getCacheDirectory(){const e=process.env["RUNNER_TOOL_CACHE"]||"";(0,a.ok)(e,"Expected RUNNER_TOOL_CACHE to be defined");return e}function _getTempDirectory(){const e=process.env["RUNNER_TEMP"]||"";(0,a.ok)(e,"Expected RUNNER_TEMP to be defined");return e}function _getGlobal(e,t){const r=global[e];return r!==undefined?r:t}function _unique(e){return Array.from(new Set(e))}async function install(e,t,r=false){const n=await getRelease(e,t);const s=n.tag_name;const a=s.replace(/^v/,"");const c=find(e,a);if(c){info(`GoReleaser ${s} found in the runner tool cache: ${c}`);return getExePath(c)}const l=getFilename(e);const A=o.join(process.env.RUNNER_TEMP||cr.tmpdir(),"goreleaser-action",e,a);const u=r&&isFeatureAvailable();const d=`goreleaser-action-${s}-${l}`;if(u&&await goreleaser_restoreCache(d,A)){return getExePath(await cacheDir(A,e,a))}const g=`https://github.com/goreleaser/${e}/releases/download/${s}`;const p=`${g}/${l}`;info(`Downloading ${p}`);const h=await downloadTool(p);core_debug(`Downloaded to ${h}`);await verifyChecksum(e,s,h,l);info("Extracting GoReleaser");await rmRF(A);if(mn=="win32"){let e=h;if(!e.endsWith(".zip")){e=`${h}.zip`;i.renameSync(h,e)}await extractZip(e,A)}else{await tool_cache_extractTar(h,A)}core_debug(`Extracted to ${A}`);if(u){await goreleaser_saveCache(d,A)}const m=await cacheDir(A,e,a);core_debug(`Cached to ${m}`);return getExePath(m)}const getExePath=e=>o.join(e,mn=="win32"?"goreleaser.exe":"goreleaser");async function goreleaser_restoreCache(e,t){try{const r=await restoreCache([t],e);if(!r){info(`No GitHub Actions cache entry for ${e}`);return false}if(!i.existsSync(getExePath(t))){warning(`Ignoring incomplete GitHub Actions cache entry ${r}`);await rmRF(t);return false}info(`Restored ${r} from the GitHub Actions cache`);return true}catch(t){logCacheError(`Unable to restore ${e} from the GitHub Actions cache`,t);return false}}async function goreleaser_saveCache(e,t){try{await cache_saveCache([t],e);info(`Saved ${e} to the GitHub Actions cache`)}catch(t){logCacheError(`Unable to save ${e} to the GitHub Actions cache`,t)}}const logCacheError=(e,t)=>{const r=t instanceof ReserveCacheError||t instanceof CacheReadDeniedError;(r?info:warning)(`${e}: ${t.message}`)};async function verifyChecksum(e,t,r,n){const s=`https://github.com/goreleaser/${e}/releases/download/${t}`;let o;try{info(`Downloading ${s}/checksums.txt`);o=await downloadTool(`${s}/checksums.txt`)}catch(e){warning(`Skipping checksum verification: unable to download checksums.txt: ${e.message}`);return}const a=Ar.createHash("sha256").update(i.readFileSync(r)).digest("hex");const c=findChecksum(i.readFileSync(o,"utf8"),n);if(!c){throw new Error(`Could not find ${n} in checksums.txt`)}if(c.toLowerCase()!==a.toLowerCase()){throw new Error(`Checksum mismatch for ${n}: expected ${c}, got ${a}`)}info(`Checksum verified for ${n}`);await verifyCosignSignature(e,t,s,o)}const findChecksum=(e,t)=>{const r=e.split("\n").map((e=>e.trim().split(/\s+/))).find((e=>e.length>=2&&e[1].replace(/^[*]/,"")===t));return r?r[0]:undefined};async function verifyCosignSignature(e,t,r,n){const s=await which("cosign",false);if(!s){info("cosign not found in PATH, skipping signature verification");return}let i;try{info(`Downloading ${r}/checksums.txt.sigstore.json`);i=await downloadTool(`${r}/checksums.txt.sigstore.json`)}catch(e){warning(`Skipping cosign signature verification: unable to download sigstore bundle: ${e.message}`);return}const o=getCertificateIdentity(e,t);info(`Verifying checksums.txt signature with cosign (identity: ${o})`);await exec_exec(s,["verify-blob","--certificate-identity",o,"--certificate-oidc-issuer","https://token.actions.githubusercontent.com","--bundle",i,n]);info("cosign signature verified")}const getCertificateIdentity=(e,t)=>{const r=isPro(e);if(isNightlyTag(t)){const e=r?"nightly-pro.yml":"nightly-oss.yml";const t=r?"goreleaser-pro-internal":"goreleaser";return`https://github.com/goreleaser/${t}/.github/workflows/${e}@refs/heads/main`}if(r){return`https://github.com/goreleaser/goreleaser-pro-internal/.github/workflows/release-pro.yml@refs/tags/${t}`}return`https://github.com/goreleaser/goreleaser/.github/workflows/release.yml@refs/tags/${t}`};const distribSuffix=e=>isPro(e)?"-pro":"";const isPro=e=>e==="goreleaser-pro";const getFilename=e=>{let t;switch(fn){case"x64":{t="x86_64";break}case"x32":{t="i386";break}case"arm":{const e=process.config.variables.arm_version;t=e?"armv"+e:"arm";break}default:{t=fn;break}}if(mn=="darwin"){t="all"}const r=mn=="win32"?"Windows":mn=="darwin"?"Darwin":"Linux";const n=mn=="win32"?"zip":"tar.gz";const s=distribSuffix(e);return`goreleaser${s}_${r}_${t}.${n}`};async function getDistPath(e){const t=load(i.readFileSync(e,"utf8"));return t.dist||"dist"}async function getArtifacts(e){const t=o.join(e,"artifacts.json");if(!i.existsSync(t)){return undefined}const r=i.readFileSync(t,{encoding:"utf-8"}).trim();if(r==="null"){return undefined}return r}async function getMetadata(e){const t=o.join(e,"metadata.json");if(!i.existsSync(t)){return undefined}const r=i.readFileSync(t,{encoding:"utf-8"}).trim();if(r==="null"){return undefined}return r}function getRequestedVersion(e){if(!e.versionFile){return e.version}const t=o.isAbsolute(e.versionFile)?e.versionFile:o.join(e.workdir||".",e.versionFile);if(!i.existsSync(t)){throw new Error(`version-file not found: ${t}`)}const r=o.basename(t);const n=i.readFileSync(t,"utf-8");switch(r){case".tool-versions":return parseToolVersions(n,t);default:throw new Error(`Unsupported version-file: ${t} (only .tool-versions is supported)`)}}function parseToolVersions(e,t){for(const r of e.split("\n")){const e=r.replace(/#.*$/,"").trim();if(!e){continue}const n=e.split(/\s+/);if(n[0]!=="goreleaser"){continue}const s=n[1];if(!s){throw new Error(`No version specified for goreleaser in ${t}`)}return/^\d/.test(s)?`v${s}`:s}throw new Error(`No goreleaser entry found in ${t}`)}async function run(){try{const e=await getInputs();const t=getRequestedVersion(e);const r=await install(e.distribution,t,e.cacheBinary);info(`GoReleaser ${t} installed successfully`);if(e.installOnly){const e=o.dirname(r);addPath(e);core_debug(`Added ${e} to PATH`);return}else if(!e.args){setFailed("args input required");return}if(e.workdir&&e.workdir!=="."){info(`Using ${e.workdir} as working directory`);process.chdir(e.workdir)}let n;const s=ar(e.args).parseSync();if(s.config){n=s.config}else{[".config/goreleaser.yaml",".config/goreleaser.yml",".goreleaser.yaml",".goreleaser.yml","goreleaser.yaml","goreleaser.yml"].forEach((e=>{if(i.existsSync(e)){n=e}}))}await exec_exec(`${r} ${e.args}`);if(typeof n==="string"){const e=await getArtifacts(await getDistPath(n));if(e){await group(`Artifacts output`,(async()=>{info(e);setOutput("artifacts",e)}))}const t=await getMetadata(await getDistPath(n));if(t){await group(`Metadata output`,(async()=>{info(t);setOutput("metadata",t)}))}}}catch(e){setFailed(e.message)}}run(); |