varJv=Object.create;varoo=Object.defineProperty;varex=Object.getOwnPropertyDescriptor;vartx=Object.getOwnPropertyNames;varax=Object.getPrototypeOf,ix=Object.prototype.hasOwnProperty;varge=(t,e)=>()=>(t&&(e=t(t=0)),e);varT=(t,e)=>()=>(e||t((e={exports:{}}).exports,e),e.exports),ml=(t,e)=>{for(varaine)oo(t,a,{get:e[a],enumerable:!0})},q0=(t,e,a,i)=>{if(e&&typeofe=="object"||typeofe=="function")for(letroftx(e))!ix.call(t,r)&&r!==a&&oo(t,r,{get:()=>e[r],enumerable:!(i=ex(e,r))||i.enumerable});returnt};varkt=(t,e,a)=>(a=t!=null?Jv(ax(t)):{},q0(e||!t||!t.__esModule?oo(a,"default",{value:t,enumerable:!0}):a,t)),Bn=t=>q0(oo({},"__esModule",{value:!0}),t);varpo=T(Cr=>{"use strict";Object.defineProperty(Cr,"__esModule",{value:!0});Cr.toCommandProperties=Cr.toCommandValue=void0;functionrx(t){returnt==null?"":typeoft=="string"||tinstanceofString?t:JSON.stringify(t)}Cr.toCommandValue=rx;functionnx(t){returnObject.keys(t).length?{title:t.title,file:t.file,line:t.startLine,endLine:t.endLine,col:t.startColumn,endColumn:t.endColumn}:{}}Cr.toCommandProperties=nx});varH0=T(Qt=>{"use strict";varsx=Qt&&Qt.__createBinding||(Object.create?function(t,e,a,i){i===void0&&(i=a),Object.defineProperty(t,i,{enumerable:!0,get:function(){returne[a]}})}:function(t,e,a,i){i===void0&&(i=a),t[i]=e[a]}),ox=Qt&&Qt.__setModuleDefault||(Object.create?function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}:function(t,e){t.default=e}),px=Qt&&Qt.__importStar||function(t){if(t&&t.__esModule)returnt;vare={};if(t!=null)for(varaint)a!=="default"&&Object.hasOwnProperty.call(t,a)&&sx(e,t,a);returnox(e,t),e};Object.defineProperty(Qt,"__esModule",{value:!0});Qt.issue=Qt.issueCommand=void0;vardx=px(require("os")),j0=po();functionk0(t,e,a){leti=newul(t,e,a);process.stdout.write(i.toString()+dx.EOL)}Qt.issueCommand=k0;functionlx(t,e=""){k0(t,{},e)}Qt.issue=lx;varL0="::",ul=class{constructor(e,a,i){e||(e="missing.command"),this.command=e,this.properties=a,this.message=i}toString(){lete=L0+this.command;if(this.properties&&Object.keys(this.properties).length>0){e+=" ";leta=!0;for(letiinthis.properties)if(this.properties.hasOwnProperty(i)){letr=this.properties[i];r&&(a?a=!1:e+=",",e+=`${i}=${mx(r)}`)}}returne+=`${L0}${cx(this.message)}`,e}};functioncx(t){returnj0.toCommandValue(t).replace(/%/g,"%25").replace(/\r/g,"%0D").replace(/\n/g,"%0A")}functionmx(t){returnj0.toCommandValue(t).replace(/%/g,"%25").replace(/\r/g,"%0D").replace(/\n/g,"%0A").replace(/:/g,"%3A").replace(/,/g,"%2C")}});functionAn(){returnlo>co.length-16&&(U0.default.randomFillSync(co),lo=0),co.slice(lo,lo+=16)}varU0,co,lo,fl=ge(()=>{U0=kt(require("crypto")),co=newUint8Array(256),lo=co.length});varF0,V0=ge(()=>{F0=/^(?:[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}|00000000-0000-0000-0000-000000000000)$/i});functionux(t){returntypeoft=="string"&&F0.test(t)}varci,zn=ge(()=>{V0();ci=ux});functionfx(t,e=0){leta=(ht[t[e+0]]+ht[t[e+1]]+ht[t[e+2]]+ht[t[e+3]]+"-"+ht[t[e+4]]+ht[t[e+5]]+"-"+ht[t[e+6]]+ht[t[e+7]]+"-"+ht[t[e+8]]+ht[t[e+9]]+"-"+ht[t[e+10]]+ht[t[e+11]]+ht[t[e+12]]+ht[t[e+13]]+ht[t[e+14]]+ht[t[e+15]]).toLowerCase();if(!ci(a))throwTypeError("Stringified UUID is invalid");returna}varht,mi,Mn=ge(()=>{zn();ht=[];for(lett=0;t<256;++t)ht.push((t+256).toString(16).substr(1));mi=fx});functionhx(t,e,a){leti=e&&a||0,r=e||newArray(16);t=t||{};letn=t.node||$0,s=t.clockseq!==void0?t.clockseq:hl;if(n==null||s==null){letm=t.random||(t.rng||An)();n==null&&(n=$0=[m[0]|1,m[1],m[2],m[3],m[4],m[5]]),s==null&&(s=hl=(m[6]<<8|m[7])&16383)}leto=t.msecs!==void0?t.msecs:Date.now(),p=t.nsecs!==void0?t.nsecs:yl+1,d=o-gl+(p-yl)/1e4;if(d<0&&t.clockseq===void0&&(s=s+1&16383),(d<0||o>gl)&&t.nsecs===void0&&(p=0),p>=1e4)thrownewError("uuid.v1(): Can't create more than 10M uuids/sec");gl=o,yl=p,hl=s,o+=122192928e5;letl=((o&268435455)*1e4+p)%4294967296;r[i++]=l>>>24&255,r[i++]=l>>>16&255,r[i++]=l>>>8&255,r[i++]=l&255;letc=o/4294967296*1e4&268435455;r[i++]=c>>>8&255,r[i++]=c&255,r[i++]=c>>>24&15|16,r[i++]=c>>>16&255,r[i+
`,c.message,c.stack);var m=new Error("tunneling socket could not be established, cause="+c.message);m.code="ECONNRESET",e.request.emit("error",m),i.removeSocket(r)}};Fa.prototype.removeSocket=function(e){var a=this.sockets.indexOf(e);if(a!==-1){this.sockets.splice(a,1);var i=this.requests.shift();i&&this.createSocket(i,function(r){i.request.onSocket(r)})}};function x2(t,e){var a=this;Fa.prototype.createSocket.call(a,t,function(i){var r=t.request.getHeader("host"),n=Nl({},a.options,{socket:i,servername:r?r.replace(/:.*$/,""):t.host}),s=Bx.connect(0,n);a.sockets[a.sockets.indexOf(i)]=s,e(s)})}function b2(t,e,a){return typeof t=="string"?{host:t,port:e,localAddress:a}:t}function Nl(t){for(var e=1,a=arguments.length;e<a;++e){var i=arguments[e];if(typeof i=="object")for(var r=Object.keys(i),n=0,s=r.length;n<s;++n){var o=r[n];i[o]!==void 0&&(t[o]=i[o])}}return t}var ui;process.env.NODE_DEBUG&&/\btunnel\b/.test(process.env.NODE_DEBUG)?ui=function(){var t=Array.prototype.slice.call(arguments);typeof t[0]=="string"?t[0]="TUNNEL: "+t[0]:t.unshift("TUNNEL:"),console.error.apply(console,t)}:ui=function(){};Pr.debug=ui});var _l=T((_M,N2)=>{N2.exports=w2()});var Or=T(Ce=>{"use strict";var kx=Ce&&Ce.__createBinding||(Object.create?function(t,e,a,i){i===void 0&&(i=a),Object.defineProperty(t,i,{enumerable:!0,get:function(){return e[a]}})}:function(t,e,a,i){i===void 0&&(i=a),t[i]=e[a]}),Hx=Ce&&Ce.__setModuleDefault||(Object.create?function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}:function(t,e){t.default=e}),xo=Ce&&Ce.__importStar||function(t){if(t&&t.__esModule)return t;var e={};if(t!=null)for(var a in t)a!=="default"&&Object.hasOwnProperty.call(t,a)&&kx(e,t,a);return Hx(e,t),e},Xe=Ce&&Ce.__awaiter||function(t,e,a,i){function r(n){return n instanceof a?n:new a(function(s){s(n)})}return new(a||(a=Promise))(function(n,s){function o(l){try{d(i.next(l))}catch(c){s(c)}}function p(l){try{d(i.throw(l))}catch(c){s(c)}}function d(l){l.done?n(l.value):r(l.value).then(o,p)}d((i=i.apply(t,e||[])).next())})};Object.defineProperty(Ce,"__esModule",{value:!0});Ce.HttpClient=Ce.isHttps=Ce.HttpClientResponse=Ce.HttpClientError=Ce.getProxyUrl=Ce.MediaTypes=Ce.Headers=Ce.HttpCodes=void 0;var fo=xo(require("http")),Sl=xo(require("https")),_2=xo(y2()),ho=xo(_l()),ma;(function(t){t[t.OK=200]="OK",t[t.MultipleChoices=300]="MultipleChoices",t[t.MovedPermanently=301]="MovedPermanently",t[t.ResourceMoved=302]="ResourceMoved",t[t.SeeOther=303]="SeeOther",t[t.NotModified=304]="NotModified",t[t.UseProxy=305]="UseProxy",t[t.SwitchProxy=306]="SwitchProxy",t[t.TemporaryRedirect=307]="TemporaryRedirect",t[t.PermanentRedirect=308]="PermanentRedirect",t[t.BadRequest=400]="BadRequest",t[t.Unauthorized=401]="Unauthorized",t[t.PaymentRequired=402]="PaymentRequired",t[t.Forbidden=403]="Forbidden",t[t.NotFound=404]="NotFound",t[t.MethodNotAllowed=405]="MethodNotAllowed",t[t.NotAcceptable=406]="NotAcceptable",t[t.ProxyAuthenticationRequired=407]="ProxyAuthenticationRequired",t[t.RequestTimeout=408]="RequestTimeout",t[t.Conflict=409]="Conflict",t[t.Gone=410]="Gone",t[t.TooManyRequests=429]="TooManyRequests",t[t.InternalServerError=500]="InternalServerError",t[t.NotImplemented=501]="NotImplemented",t[t.BadGateway=502]="BadGateway",t[t.ServiceUnavailable=503]="ServiceUnavailable",t[t.GatewayTimeout=504]="GatewayTimeout"})(ma=Ce.HttpCodes||(Ce.HttpCodes={}));var Et;(function(t){t.Accept="accept",t.ContentType="content-type"})(Et=Ce.Headers||(Ce.Headers={}));var fi;(function(t){t.ApplicationJson="application/json"})(fi=Ce.MediaTypes||(Ce.MediaTypes={}));function Ux(t){let e=_2.getProxyUrl(new URL(t));return e?e.href:""}Ce.getProxyUrl=Ux;var Fx=[ma.MovedPermanently,ma.ResourceMoved,ma.SeeOther,ma.TemporaryRedirect,ma.PermanentRedirect],Vx=[ma.BadGateway,ma.ServiceUnavailable,ma.GatewayTimeout],$x=["OPTIONS","GET","DELETE","HEAD"],Gx=10,Xx=5,yo=class t extends Error{constructor(e,a){super(e),this.name="HttpClientError",this.statusCode=a,Object.setPrototypeOf(this,t.prototype)}};Ce.HttpClientError=yo;var vo=class{constructor(e){this.message=e}readBody(){return Xe
globstarwhile`,t,l,e,c,m),this.matchOne(t.slice(l),e.slice(c),a))return this.debug("globstar found match!",l,s,m),!0;if(m==="."||m===".."||!i.dot&&m.charAt(0)==="."){this.debug("dot detected!",t,l,e,c);break}this.debug("globstar swallow a segment, and continue"),l++}return!!(a&&(this.debug(`
>>>nomatch,partial?`,t,l,e,c),l===s))}var u;if(typeof p=="string"?(u=d===p,this.debug("string match",p,d,u)):(u=d.match(p),this.debug("pattern match",p,d,u)),!u)return!1}if(r===s&&n===o)return!0;if(r===s)return a;if(n===o)return r===s-1&&t[r]==="";throw new Error("wtf?")};function kw(t){return t.replace(/\\(.)/g,"$1")}function Hw(t){return t.replace(/[-[\]{}()*+?.,\\^$|#\s]/g,"\\$&")}});var Cf=T(Jt=>{"use strict";var Uw=Jt&&Jt.__createBinding||(Object.create?function(t,e,a,i){i===void 0&&(i=a),Object.defineProperty(t,i,{enumerable:!0,get:function(){return e[a]}})}:function(t,e,a,i){i===void 0&&(i=a),t[i]=e[a]}),Fw=Jt&&Jt.__setModuleDefault||(Object.create?function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}:function(t,e){t.default=e}),Ef=Jt&&Jt.__importStar||function(t){if(t&&t.__esModule)return t;var e={};if(t!=null)for(var a in t)a!=="default"&&Object.hasOwnProperty.call(t,a)&&Uw(e,t,a);return Fw(e,t),e},Vw=Jt&&Jt.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(Jt,"__esModule",{value:!0});Jt.Path=void 0;var Un=Ef(require("path")),vi=Ef(So()),Fn=Vw(require("assert")),$w=process.platform==="win32",Yl=class{constructor(e){if(this.segments=[],typeof e=="string")if(Fn.default(e,"Parameter 'itemPath' must not be empty"),e=vi.safeTrimTrailingSeparator(e),!vi.hasRoot(e))this.segments=e.split(Un.sep);else{let a=e,i=vi.dirname(a);for(;i!==a;){let r=Un.basename(a);this.segments.unshift(r),a=i,i=vi.dirname(a)}this.segments.unshift(a)}else{Fn.default(e.length>0,"Parameter 'itemPath' must not be an empty array");for(let a=0;a<e.length;a++){let i=e[a];Fn.default(i,"Parameter 'itemPath' must not contain any empty segments"),i=vi.normalizeSeparators(e[a]),a===0&&vi.hasRoot(i)?(i=vi.safeTrimTrailingSeparator(i),Fn.default(i===vi.dirname(i),"Parameter 'itemPath' root segment contains information for multiple segments"),this.segments.push(i)):(Fn.default(!i.includes(Un.sep),"Parameter 'itemPath' contains unexpected path separators"),this.segments.push(i))}}}toString(){let e=this.segments[0],a=e.endsWith(Un.sep)||$w&&/^[A-Z]:$/i.test(e);for(let i=1;i<this.segments.length;i++)a?a=!1:e+=Un.sep,e+=this.segments[i];return e}};Jt.Path=Yl});var Tf=T(ea=>{"use strict";var Gw=ea&&ea.__createBinding||(Object.create?function(t,e,a,i){i===void 0&&(i=a),Object.defineProperty(t,i,{enumerable:!0,get:function(){return e[a]}})}:function(t,e,a,i){i===void 0&&(i=a),t[i]=e[a]}),Xw=ea&&ea.__setModuleDefault||(Object.create?function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}:function(t,e){t.default=e}),ec=ea&&ea.__importStar||function(t){if(t&&t.__esModule)return t;var e={};if(t!=null)for(var a in t)a!=="default"&&Object.hasOwnProperty.call(t,a)&&Gw(e,t,a);return Xw(e,t),e},Ww=ea&&ea.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(ea,"__esModule",{value:!0});ea.Pattern=void 0;var Kw=ec(require("os")),Vn=ec(require("path")),Mt=ec(So()),Qi=Ww(require("assert")),Qw=Sf(),Zl=Eo(),Po=Cf(),Va=process.platform==="win32",Jl=class t{constructor(e,a=!1,i,r){this.negate=!1;let n;if(typeof e=="string")n=e.trim();else{i=i||[],Qi.default(i.length,"Parameter 'segments' must not empty");let d=t.getLiteral(i[0]);Qi.default(d&&Mt.hasAbsoluteRoot(d),"Parameter 'segments' first element must be a root path"),n=new Po.Path(i).toString().trim(),e&&(n=`!${n}`)}for(;n.startsWith("!");)this.negate=!this.negate,n=n.substr(1).trim();n=t.fixupPattern(n,r),this.segments=new Po.Path(n).segments,this.trailingSeparator=Mt.normalizeSeparators(n).endsWith(Vn.sep),n=Mt.safeTrimTrailingSeparator(n);let s=!1,o=this.segments.map(d=>t.getLiteral(d)).filter(d=>!s&&!(s=d===""));this.searchPath=new Po.Path(o).toString(),this.rootRegExp=new RegExp(t.regExpEscape(o[0]),Va?"i":""),this.isImplicitPattern=a;let p={dot:!0,nobrace:!0,nocase:Va,nocomment:!0,noext:!0,nonegate:!0};n=Va?n.replace(/\\/g,"/"):n,this.minimatch=new Qw.Minimatch(n,p)}match(e){return this.segments[this.segments.length-1]==="**"?(e=Mt.normalizeSeparators(e),!e.endsWith(Vn.sep)&&this.isImplicitPattern===!1&&(e=`
`},headless:!1,chunkSize:1e4,emptyTag:"",cdata:!1}}}).call(Pc)});var Oa=T((V6,_i)=>{(function(){var t,e,a,i,r,n,s,o=[].slice,p={}.hasOwnProperty;t=function(){var d,l,c,m,u,h;if(h=arguments[0],u=2<=arguments.length?o.call(arguments,1):[],r(Object.assign))Object.assign.apply(null,arguments);else for(d=0,c=u.length;d<c;d++)if(m=u[d],m!=null)for(l in m)p.call(m,l)&&(h[l]=m[l]);return h},r=function(d){return!!d&&Object.prototype.toString.call(d)==="[object Function]"},n=function(d){var l;return!!d&&((l=typeof d)=="function"||l==="object")},a=function(d){return r(Array.isArray)?Array.isArray(d):Object.prototype.toString.call(d)==="[object Array]"},i=function(d){var l;if(a(d))return!d.length;for(l in d)if(p.call(d,l))return!1;return!0},s=function(d){var l,c;return n(d)&&(c=Object.getPrototypeOf(d))&&(l=c.constructor)&&typeof l=="function"&&l instanceof l&&Function.prototype.toString.call(l)===Function.prototype.toString.call(Object)},e=function(d){return r(d.valueOf)?d.valueOf():d},_i.exports.assign=t,_i.exports.isFunction=r,_i.exports.isObject=n,_i.exports.isArray=a,_i.exports.isEmpty=i,_i.exports.isPlainObject=s,_i.exports.getValue=e}).call(V6)});var Oc=T(($6,G6)=>{(function(){var t;G6.exports=t=function(){function e(){}return e.prototype.hasFeature=function(a,i){return!0},e.prototype.createDocumentType=function(a,i,r){throw new Error("This DOM method is not implemented.")},e.prototype.createDocument=function(a,i,r){throw new Error("This DOM method is not implemented.")},e.prototype.createHTMLDocument=function(a){throw new Error("This DOM method is not implemented.")},e.prototype.getFeature=function(a,i){throw new Error("This DOM method is not implemented.")},e}()}).call($6)});var K6=T((X6,W6)=>{(function(){var t;W6.exports=t=function(){function e(){}return e.prototype.handleError=function(a){throw new Error(a)},e}()}).call(X6)});var Z6=T((Q6,Y6)=>{(function(){var t;Y6.exports=t=function(){function e(a){this.arr=a||[]}return Object.defineProperty(e.prototype,"length",{get:function(){return this.arr.length}}),e.prototype.item=function(a){return this.arr[a]||null},e.prototype.contains=function(a){return this.arr.indexOf(a)!==-1},e}()}).call(Q6)});var th=T((J6,eh)=>{(function(){var t,e,a;e=K6(),a=Z6(),eh.exports=t=function(){function i(){var r;this.defaultParams={"canonical-form":!1,"cdata-sections":!1,comments:!1,"datatype-normalization":!1,"element-content-whitespace":!0,entities:!0,"error-handler":new e,infoset:!0,"validate-if-schema":!1,namespaces:!0,"namespace-declarations":!0,"normalize-characters":!1,"schema-location":"","schema-type":"","split-cdata-sections":!0,validate:!1,"well-formed":!0},this.params=r=Object.create(this.defaultParams)}return Object.defineProperty(i.prototype,"parameterNames",{get:function(){return new a(Object.keys(this.defaultParams))}}),i.prototype.getParameter=function(r){return this.params.hasOwnProperty(r)?this.params[r]:null},i.prototype.canSetParameter=function(r,n){return!0},i.prototype.setParameter=function(r,n){return n!=null?this.params[r]=n:delete this.params[r]},i}()}).call(J6)});var We=T((ah,ih)=>{(function(){ih.exports={Element:1,Attribute:2,Text:3,CData:4,EntityReference:5,EntityDeclaration:6,ProcessingInstruction:7,Comment:8,Document:9,DocType:10,DocumentFragment:11,NotationDeclaration:12,Declaration:201,Raw:202,AttributeDeclaration:203,ElementDeclaration:204,Dummy:205}}).call(ah)});var Rc=T((rh,nh)=>{(function(){var t,e,a;t=We(),a=Ut(),nh.exports=e=function(){function i(r,n,s){if(this.parent=r,this.parent&&(this.options=this.parent.options,this.stringify=this.parent.stringify),n==null)throw new Error("Missing attribute name. "+this.debugInfo(n));this.name=this.stringify.name(n),this.value=this.stringify.attValue(s),this.type=t.Attribute,this.isId=!1,this.schemaTypeInfo=null}return Object.defineProperty(i.prototype,"nodeType",{get:function(){return this.type}}),Object.defineProperty(i.prototype,"ownerElement",{get:function(){return this.parent}}),Object.defineProperty(i.prototype,"textContent",{get:function(){return this.value},set:function(r){return this.value=r||""}}),Object.defin
`?(y.line++,y.column=0):y.column++);y.textNode+=x.substring(Ee,z-1)}P==="<"&&!(y.sawRoot&&y.closedRoot&&!y.strict)?(y.state=w.OPEN_WAKA,y.startTagPosition=y.position):(!b(P)&&(!y.sawRoot||y.closedRoot)&&K(y,"Text data outside of root node."),P==="&"?y.state=w.TEXT_ENTITY:y.textNode+=P);continue;case w.SCRIPT:P==="<"?y.state=w.SCRIPT_ENDING:y.script+=P;continue;case w.SCRIPT_ENDING:P==="/"?y.state=w.CLOSE_TAG:(y.script+="<"+P,y.state=w.SCRIPT);continue;case w.OPEN_WAKA:if(P==="!")y.state=w.SGML_DECL,y.sgmlDecl="";else if(!b(P))if(N(v,P))y.state=w.OPEN_TAG,y.tagName=P;else if(P==="/")y.state=w.CLOSE_TAG,y.tagName="";else if(P==="?")y.state=w.PROC_INST,y.procInstName=y.procInstBody="";else{if(K(y,"Unencoded <"),y.startTagPosition+1<y.position){var Ze=y.position-y.startTagPosition;P=new Array(Ze).join(" ")+P}y.textNode+="<"+P,y.state=w.TEXT}continue;case w.SGML_DECL:(y.sgmlDecl+P).toUpperCase()===l?(O(y,"onopencdata"),y.state=w.CDATA,y.sgmlDecl="",y.cdata=""):y.sgmlDecl+P==="--"?(y.state=w.COMMENT,y.comment="",y.sgmlDecl=""):(y.sgmlDecl+P).toUpperCase()===c?(y.state=w.DOCTYPE,(y.doctype||y.sawRoot)&&K(y,"Inappropriately located doctype declaration"),y.doctype="",y.sgmlDecl=""):P===">"?(O(y,"onsgmldeclaration",y.sgmlDecl),y.sgmlDecl="",y.state=w.TEXT):(g(P)&&(y.state=w.SGML_DECL_QUOTED),y.sgmlDecl+=P);continue;case w.SGML_DECL_QUOTED:P===y.q&&(y.state=w.SGML_DECL,y.q=""),y.sgmlDecl+=P;continue;case w.DOCTYPE:P===">"?(y.state=w.TEXT,O(y,"ondoctype",y.doctype),y.doctype=!0):(y.doctype+=P,P==="["?y.state=w.DOCTYPE_DTD:g(P)&&(y.state=w.DOCTYPE_QUOTED,y.q=P));continue;case w.DOCTYPE_QUOTED:y.doctype+=P,P===y.q&&(y.q="",y.state=w.DOCTYPE);continue;case w.DOCTYPE_DTD:y.doctype+=P,P==="]"?y.state=w.DOCTYPE:g(P)&&(y.state=w.DOCTYPE_DTD_QUOTED,y.q=P);continue;case w.DOCTYPE_DTD_QUOTED:y.doctype+=P,P===y.q&&(y.state=w.DOCTYPE_DTD,y.q="");continue;case w.COMMENT:P==="-"?y.state=w.COMMENT_ENDING:y.comment+=P;continue;case w.COMMENT_ENDING:P==="-"?(y.state=w.COMMENT_ENDED,y.comment=j(y.opt,y.comment),y.comment&&O(y,"oncomment",y.comment),y.comment=""):(y.comment+="-"+P,y.state=w.COMMENT);continue;case w.COMMENT_ENDED:P!==">"?(K(y,"Malformed comment"),y.comment+="--"+P,y.state=w.COMMENT):y.state=w.TEXT;continue;case w.CDATA:P==="]"?y.state=w.CDATA_ENDING:y.cdata+=P;continue;case w.CDATA_ENDING:P==="]"?y.state=w.CDATA_ENDING_2:(y.cdata+="]"+P,y.state=w.CDATA);continue;case w.CDATA_ENDING_2:P===">"?(y.cdata&&O(y,"oncdata",y.cdata),O(y,"onclosecdata"),y.cdata="",y.state=w.TEXT):P==="]"?y.cdata+="]":(y.cdata+="]]"+P,y.state=w.CDATA);continue;case w.PROC_INST:P==="?"?y.state=w.PROC_INST_ENDING:b(P)?y.state=w.PROC_INST_BODY:y.procInstName+=P;continue;case w.PROC_INST_BODY:if(!y.procInstBody&&b(P))continue;P==="?"?y.state=w.PROC_INST_ENDING:y.procInstBody+=P;continue;case w.PROC_INST_ENDING:P===">"?(O(y,"onprocessinginstruction",{name:y.procInstName,body:y.procInstBody}),y.procInstName=y.procInstBody="",y.state=w.TEXT):(y.procInstBody+="?"+P,y.state=w.PROC_INST_BODY);continue;case w.OPEN_TAG:N(E,P)?y.tagName+=P:(Ge(y),P===">"?Pt(y):P==="/"?y.state=w.OPEN_TAG_SLASH:(b(P)||K(y,"Invalid character in tag name"),y.state=w.ATTRIB));continue;case w.OPEN_TAG_SLASH:P===">"?(Pt(y,!0),Sr(y)):(K(y,"Forward-slash in opening tag not followed by >"),y.state=w.ATTRIB);continue;case w.ATTRIB:if(b(P))continue;P===">"?Pt(y):P==="/"?y.state=w.OPEN_TAG_SLASH:N(v,P)?(y.attribName=P,y.attribValue="",y.state=w.ATTRIB_NAME):K(y,"Invalid attribute name");continue;case w.ATTRIB_NAME:P==="="?y.state=w.ATTRIB_VALUE:P===">"?(K(y,"Attribute without value"),y.attribValue=y.attribName,ca(y),Pt(y)):b(P)?y.state=w.ATTRIB_NAME_SAW_WHITE:N(E,P)?y.attribName+=P:K(y,"Invalid attribute name");continue;case w.ATTRIB_NAME_SAW_WHITE:if(P==="=")y.state=w.ATTRIB_VALUE;else{if(b(P))continue;K(y,"Attribute without value"),y.tag.attributes[y.attribName]="",y.attribValue="",O(y,"onattribute",{name:y.attribName,value:""}),y.attribName="",P===">"?Pt(y):N(v,P)?(y.attribName=P,y.state=w.ATTRIB_NAME):(K(y,"Invalid attribute name"),y.state=w.ATTRIB)}continue;case w.ATTRIB_VALUE:if(b(P))continue;g(P)?
`;ue.DEFAULT_CONTENT_TYPE="application/octet-stream";ue.prototype.append=function(t,e,a){a=a||{},typeof a=="string"&&(a={filename:a});var i=cm.prototype.append.bind(this);if(typeof e=="number"&&(e=""+e),p3.isArray(e)){this._error(new Error("Arrays are not supported."));return}var r=this._multiPartHeader(t,e,a),n=this._multiPartFooter();i(r),i(e),i(n),this._trackLength(r,e,a)};ue.prototype._trackLength=function(t,e,a){var i=0;a.knownLength!=null?i+=+a.knownLength:Buffer.isBuffer(e)?i=e.length:typeof e=="string"&&(i=Buffer.byteLength(e)),this._valueLength+=i,this._overheadLength+=Buffer.byteLength(t)+ue.LINE_BREAK.length,!(!e||!e.path&&!(e.readable&&e.hasOwnProperty("httpVersion"))&&!(e instanceof tE))&&(a.knownLength||this._valuesToMeasure.push(e))};ue.prototype._lengthRetriever=function(t,e){t.hasOwnProperty("fd")?t.end!=null&&t.end!=1/0&&t.start!=null?e(null,t.end+1-(t.start?t.start:0)):eE.stat(t.path,function(a,i){var r;if(a){e(a);return}r=i.size-(t.start?t.start:0),e(null,r)}):t.hasOwnProperty("httpVersion")?e(null,+t.headers["content-length"]):t.hasOwnProperty("httpModule")?(t.on("response",function(a){t.pause(),e(null,+a.headers["content-length"])}),t.resume()):e("Unknown stream")};ue.prototype._multiPartHeader=function(t,e,a){if(typeof a.header=="string")return a.header;var i=this._getContentDisposition(e,a),r=this._getContentType(e,a),n="",s={"Content-Disposition":["form-data",'name="'+t+'"'].concat(i||[]),"Content-Type":[].concat(r||[])};typeof a.header=="object"&&lm(s,a.header);var o;for(var p in s)s.hasOwnProperty(p)&&(o=s[p],o!=null&&(Array.isArray(o)||(o=[o]),o.length&&(n+=p+": "+o.join("; ")+ue.LINE_BREAK)));return"--"+this.getBoundary()+ue.LINE_BREAK+n+ue.LINE_BREAK};ue.prototype._getContentDisposition=function(t,e){var a,i;return typeof e.filepath=="string"?a=pm.normalize(e.filepath).replace(/\\/g,"/"):e.filename||t.name||t.path?a=pm.basename(e.filename||t.name||t.path):t.readable&&t.hasOwnProperty("httpVersion")&&(a=pm.basename(t.client._httpMessage.path||"")),a&&(i='filename="'+a+'"'),i};ue.prototype._getContentType=function(t,e){var a=e.contentType;return!a&&t.name&&(a=dm.lookup(t.name)),!a&&t.path&&(a=dm.lookup(t.path)),!a&&t.readable&&t.hasOwnProperty("httpVersion")&&(a=t.headers["content-type"]),!a&&(e.filepath||e.filename)&&(a=dm.lookup(e.filepath||e.filename)),!a&&typeof t=="object"&&(a=ue.DEFAULT_CONTENT_TYPE),a};ue.prototype._multiPartFooter=function(){return function(t){var e=ue.LINE_BREAK,a=this._streams.length===0;a&&(e+=this._lastBoundary()),t(e)}.bind(this)};ue.prototype._lastBoundary=function(){return"--"+this.getBoundary()+"--"+ue.LINE_BREAK};ue.prototype.getHeaders=function(t){var e,a={"content-type":"multipart/form-data; boundary="+this.getBoundary()};for(e in t)t.hasOwnProperty(e)&&(a[e.toLowerCase()]=t[e]);return a};ue.prototype.setBoundary=function(t){this._boundary=t};ue.prototype.getBoundary=function(){return this._boundary||this._generateBoundary(),this._boundary};ue.prototype.getBuffer=function(){for(var t=new Buffer.alloc(0),e=this.getBoundary(),a=0,i=this._streams.length;a<i;a++)typeof this._streams[a]!="function"&&(Buffer.isBuffer(this._streams[a])?t=Buffer.concat([t,this._streams[a]]):t=Buffer.concat([t,Buffer.from(this._streams[a])]),(typeof this._streams[a]!="string"||this._streams[a].substring(2,e.length+2)!==e)&&(t=Buffer.concat([t,Buffer.from(ue.LINE_BREAK)])));return Buffer.concat([t,Buffer.from(this._lastBoundary())])};ue.prototype._generateBoundary=function(){for(var t="--------------------------",e=0;e<24;e++)t+=Math.floor(Math.random()*10).toString(16);this._boundary=t};ue.prototype.getLengthSync=function(){var t=this._overheadLength+this._valueLength;return this._streams.length&&(t+=this._lastBoundary().length),this.hasKnownLength()||this._error(new Error("Cannot calculate proper length in synchronous way.")),t};ue.prototype.hasKnownLength=function(){var t=!0;return this._valuesToMeasure.length&&(t=!1),t};ue.prototype.getLength=function(t){var e=this._overheadLength+this._valueLength;if(this._streams.length&&(e+=this._lastBoundary().length),!this._valuesToMeasure.l
${KP.sanitize(this)}`}};Vt.REQUEST_SEND_ERROR="REQUEST_SEND_ERROR";Vt.PARSE_ERROR="PARSE_ERROR";var va=XT.createClientLogger("core-http");function d5(t,e){return t?e.httpsAgent:e.httpAgent}var yd=class extends ZT.Transform{constructor(e){super(),this.progressCallback=e,this.loadedBytes=0}_transform(e,a,i){this.push(e),this.loadedBytes+=e.length,this.progressCallback({loadedBytes:this.loadedBytes}),i(void 0)}};function ld(t){return t&&typeof t.pipe=="function"}function l5(t,e){return new Promise(a=>{t.once("close",()=>{e?.abort(),a()}),t.once("end",a),t.once("error",a)})}function QP(t){let e=new Ii;return t.forEach((a,i)=>{e.set(i,a)}),e}var vd=class{constructor(){this.proxyAgentMap=new Map,this.keepAliveAgents={}}async sendRequest(e){var a;if(!e&&typeof e!="object")throw new Error("'httpRequest' (WebResourceLike) cannot be null or undefined and must be of type object.");let i=new cd.AbortController,r;if(e.abortSignal){if(e.abortSignal.aborted)throw new cd.AbortError("The operation was aborted.");r=d=>{d.type==="abort"&&i.abort()},e.abortSignal.addEventListener("abort",r)}if(e.timeout&&setTimeout(()=>{i.abort()},e.timeout),e.formData){let d=e.formData,l=new tP.default,c=(u,h)=>{typeof h=="function"&&(h=h()),h&&Object.prototype.hasOwnProperty.call(h,"value")&&Object.prototype.hasOwnProperty.call(h,"options")?l.append(u,h.value,h.options):l.append(u,h)};for(let u of Object.keys(d)){let h=d[u];if(Array.isArray(h))for(let v=0;v<h.length;v++)c(u,h[v]);else c(u,h)}e.body=l,e.formData=void 0;let m=e.headers.get("Content-Type");m&&m.indexOf("multipart/form-data")!==-1&&(typeof l.getBoundary=="function"?e.headers.set("Content-Type",`multipart/form-data;boundary=${l.getBoundary()}`):e.headers.remove("Content-Type"))}let n=e.body?typeof e.body=="function"?e.body():e.body:void 0;if(e.onUploadProgress&&e.body){let d=e.onUploadProgress,l=new yd(d);ld(n)?n.pipe(l):l.end(n),n=l}let s=await this.prepareRequest(e),o=Object.assign({body:n,headers:e.headers.rawHeaders(),method:e.method,signal:i.signal,redirect:"manual"},s),p;try{let d=await this.fetch(e.url,o),l=QP(d.headers),c=((a=e.streamResponseStatusCodes)===null||a===void 0?void 0:a.has(d.status))||e.streamResponseBody;p={headers:l,request:e,status:d.status,readableStreamBody:c?d.body:void 0,bodyAsText:c?void 0:await d.text()};let m=e.onDownloadProgress;if(m){let u=d.body||void 0;if(ld(u)){let h=new yd(m);u.pipe(h),p.readableStreamBody=h}else{let h=parseInt(l.get("Content-Length"))||void 0;h&&m({loadedBytes:h})}}return await this.processRequest(p),p}catch(d){let l=d;throw l.code==="ENOTFOUND"?new Vt(l.message,Vt.REQUEST_SEND_ERROR,void 0,e):l.type==="aborted"?new cd.AbortError("The operation was aborted."):l}finally{if(e.abortSignal&&r){let d=Promise.resolve();ld(n)&&(d=l5(n));let l=Promise.resolve();ld(p?.readableStreamBody)&&(l=l5(p.readableStreamBody,i)),Promise.all([d,l]).then(()=>{var c;(c=e.abortSignal)===null||c===void 0||c.removeEventListener("abort",r)}).catch(c=>{va.warning("Error when cleaning up abortListener on httpRequest",c)})}}}getOrCreateAgent(e){var a;let i=b1(e.url);if(e.proxySettings){let{host:r,port:n,username:s,password:o}=e.proxySettings,p=`${r}:${n}:${s}:${o}`,d=(a=this.proxyAgentMap.get(p))!==null&&a!==void 0?a:{},l=d5(i,d);if(l)return l;let c=$P(e.url,e.proxySettings,e.headers);return l=c.agent,c.isHttps?d.httpsAgent=c.agent:d.httpAgent=c.agent,this.proxyAgentMap.set(p,d),l}else if(e.keepAlive){let r=d5(i,this.keepAliveAgents);if(r)return r;let n={keepAlive:e.keepAlive};return i?r=this.keepAliveAgents.httpsAgent=new r5.Agent(n):r=this.keepAliveAgents.httpAgent=new i5.Agent(n),r}else return i?r5.globalAgent:i5.globalAgent}async fetch(e,a){return aP.default(e,a)}async prepareRequest(e){let a={};return a.agent=this.getOrCreateAgent(e),a.compress=e.decompressResponse,a}async processRequest(e){}};U.HttpPipelineLogLevel=void 0;(function(t){t[t.OFF=0]="OFF",t[t.ERROR=1]="ERROR",t[t.WARNING=2]="WARNING",t[t.INFO=3]="INFO"})(U.HttpPipelineLogLevel||(U.HttpPipelineLogLevel={}));function YP(t){let{requestOptions:e,tracingOptions:a}=t,r=$T.__rest(t,["requestOptions","tr
Pollingstatus:${r8.includes(l)?"Stopped":"Running"}`),l==="succeeded"){let c=s(d,a);if(c!==void 0)return{response:await e(c).catch(a8({state:a,stateProxy:i,isOperationError:o})),status:l}}return{response:d,status:l}}async function p8(t){let{poll:e,state:a,stateProxy:i,options:r,getOperationStatus:n,getResourceLocation:s,getOperationLocation:o,isOperationError:p,withOperationLocation:d,getPollingInterval:l,processResult:c,getError:m,updateState:u,setDelay:h,isDone:v,setErrorAsResult:E}=t,{operationLocation:S}=a.config;if(S!==void 0){let{response:R,status:b}=await VO({poll:e,getOperationStatus:n,state:a,stateProxy:i,operationLocation:S,getResourceLocation:s,isOperationError:p,options:r});if(s8({status:b,response:R,state:a,stateProxy:i,isDone:v,processResult:c,getError:m,setErrorAsResult:E}),!r8.includes(b)){let g=l?.(R);g&&h(g);let f=o?.(R,a);if(f!==void 0){let N=S!==f;a.config.operationLocation=f,d?.(f,N)}else d?.(S,!1)}u?.(a,R)}}function d8(t){let{azureAsyncOperation:e,operationLocation:a}=t;return a??e}function l8(t){return t.headers.location}function c8(t){return t.headers["operation-location"]}function m8(t){return t.headers["azure-asyncoperation"]}function $O(t){var e;let{location:a,requestMethod:i,requestPath:r,resourceLocationConfig:n}=t;switch(i){case"PUT":return r;case"DELETE":return;case"PATCH":return(e=s())!==null&&e!==void 0?e:r;default:return s()}function s(){switch(n){case"azure-async-operation":return;case"original-uri":return r;case"location":default:return a}}}function u8(t){let{rawResponse:e,requestMethod:a,requestPath:i,resourceLocationConfig:r}=t,n=c8(e),s=m8(e),o=d8({operationLocation:n,azureAsyncOperation:s}),p=l8(e),d=a?.toLocaleUpperCase();return o!==void 0?{mode:"OperationLocation",operationLocation:o,resourceLocation:$O({requestMethod:d,location:p,requestPath:i,resourceLocationConfig:r})}:p!==void 0?{mode:"ResourceLocation",operationLocation:p}:d==="PUT"&&i?{mode:"Body",operationLocation:i}:void 0}function f8(t){let{status:e,statusCode:a}=t;if(typeof e!="string"&&e!==void 0)throw new Error(`Pollingwasunsuccessful.Expectedstatustohaveastringvalueornovaluebutithasinstead:${e}.Thisdoesn't necessarily indicate the operation has failed. Check your Azure subscription or resource status for more information.`);switch(e?.toLocaleLowerCase()){case void 0:return su(a);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:return cr.verbose(`LRO: unrecognized operation status: ${e}`),e}}function GO(t){var e;let{status:a}=(e=t.body)!==null&&e!==void 0?e:{};return f8({status:a,statusCode:t.statusCode})}function XO(t){var e,a;let{properties:i,provisioningState:r}=(e=t.body)!==null&&e!==void 0?e:{},n=(a=i?.provisioningState)!==null&&a!==void 0?a:r;return f8({status:n,statusCode:t.statusCode})}function su(t){return t===202?"running":t<300?"succeeded":"failed"}function h8({rawResponse:t}){let e=t.headers["retry-after"];if(e!==void 0){let a=parseInt(e);return isNaN(a)?WO(new Date(e)):a*1e3}}function g8(t){let e=t.flatResponse.error;if(!e){cr.warning("The long-running operation failed but there is no error property in the response'sbody");return}if(!e.code||!e.message){cr.warning("Thelong-runningoperationfailedbuttheerrorpropertyintheresponse's body doesn'tcontaincodeormessage");return}return e}function WO(t){let e=Math.floor(new Date().getTime()),a=t.getTime();if(e<a)return a-e}function y8(t){let{response:e,state:a,operationLocation:i}=t;function r(){var s;switch((s=a.config.metadata)===null||s===void 0?void 0:s.mode){case void 0:return su(e.rawResponse.statusCode);case"Body":return ou(e,a);default:return"running"}}let n=r();return n==="running"&&i===void 0?"succeeded":n}asyncfunctionKO(t){let{stateProxy:e,resourceLocationConfig:a,processResult:i,lro:r,setErrorAsResult:n}=t;returno8({init:async()=>{lets=awaitr.sendInitialRequest(),o=u8({rawResponse:s.rawResponse,requestPath:r.requestPath,requestMethod:r.requestMethod,re
`,av="HTTP/1.1",YI="AES256",ZI="DefaultEndpointsProtocol=http;AccountName=devstoreaccount1;AccountKey=Eby8vdM02xNOcqFlqUwJPLlmEtlCDXJ1OUzFT50uSRZ6IFsuFq2UVErCz4I6tq/K1SZFPTOtr/KBHBeksoGMGw==;BlobEndpoint=http://127.0.0.1:10000/devstoreaccount1;",JI=["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-if-tags","x-ms-source-if-tags"],eB=["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"],tB="BlobUsesCustomerSpecifiedEncryption",aB="BlobDoesNotUseCustomerSpecifiedEncryption",iB=["10000","10001","10002","10003","10004","10100","10101","10102","10103","10104","11000","11001","11002","11003","11004","11100","11101","11102","11103","11104"];function rB(t){let e=M.URLBuilder.parse(t),a=e.getPath();return a=a||"/",a=sB(a),e.setPath(a),e.toString()}function nB(t){let e="";if(t.search("DevelopmentStorageProxyUri=")!==-1){let a=t.split(";");for(let i of a)i.trim().startsWith("DevelopmentStorageProxyUri=")&&(e=i.trim().match("DevelopmentStorageProxyUri=(.*)")[1])}return e}function nn(t,e){let a=t.split(";");for(let i of a)if(i.trim().startsWith(e))return i.trim().match(e+"=(.*)")[1];return""}function En(t){let e="";t.startsWith("UseDevelopmentStorage=true")&&(e=nB(t),t=ZI);let a=nn(t,"BlobEndpoint");if(a=a.endsWith("/")?a.slice(0,-1):a,t.search("DefaultEndpointsProtocol=")!==-1&&t.search("AccountKey=")!==-1){let i="",r="",n=Buffer.from("accountKey","base64"),s="";if(r=nn(t,"AccountName"),n=Buffer.from(nn(t,"AccountKey"),"base64"),!a){i=nn(t,"DefaultEndpointsProtocol");let o=i.toLowerCase();if(o!=="https"&&o!=="http")throw new Error("Invalid DefaultEndpointsProtocol in the provided Connection String. Expecting 'https' or 'http'");if(s=nn(t,"EndpointSuffix"),!s)throw new Error("Invalid EndpointSuffix in the provided Connection String");a=`${i}://${r}.blob.${s}`}if(r){if(n.length===0)throw new Error("Invalid AccountKey in the provided Connection String")}else t
`}),i}getCanonicalizedResourceString(e){let a=c0(e.url)||"/",i="";i+=`/${this.factory.accountName}${a}`;let r=lB(e.url),n={};if(r){let s=[];for(let o in r)if(Object.prototype.hasOwnProperty.call(r,o)){let p=o.toLowerCase();n[p]=r[o],s.push(p)}s.sort();for(let o of s)i+=`
${o}:${decodeURIComponent(n[o])}`}return i}},Ve=class extends Ls{constructor(e,a){super(),this.accountName=e,this.accountKey=Buffer.from(a,"base64")}create(e,a){return new kd(e,a,this)}computeHMACSHA256(e){return z8.createHmac("sha256",this.accountKey).update(e,"utf8").digest("base64")}},EB="azure-storage-blob",CB="12.15.0",ks=class extends H.ServiceClient{constructor(e,a){if(e===void 0)throw new Error("'url' cannot be null");if(a||(a={}),!a.userAgent){let i=H.getDefaultUserAgentValue();a.userAgent=`${EB}/${CB}${i}`}super(void 0,a),this.requestContentType="application/json; charset=utf-8",this.baseUri=a.endpoint||"{url}",this.url=e,this.version=a.version||"2023-01-03"}},Hs=class{constructor(e,a){this.url=rB(e),this.accountName=rv(e),this.pipeline=a,this.storageClientContext=new ks(this.url,a.toServiceClientOptions()),this.isHttps=iv(pB(this.url)||"","https"),this.credential=new Te;for(let r of this.pipeline.factories)M.isNode&&r instanceof Ve||r instanceof Te?this.credential=r:M.isTokenCredential(r.credential)&&(this.credential=r.credential);let i=this.storageClientContext;i.requestContentType=void 0}},L=q.createSpanFunction({packagePrefix:"Azure.Storage.Blob",namespace:"Microsoft.Storage"});function G(t){var e,a;return{spanOptions:(e=t?.tracingOptions)===null||e===void 0?void 0:e.spanOptions,tracingContext:(a=t?.tracingOptions)===null||a===void 0?void 0:a.tracingContext}}var ii=class t{constructor(){this.read=!1,this.add=!1,this.create=!1,this.write=!1,this.delete=!1,this.deleteVersion=!1,this.tag=!1,this.move=!1,this.execute=!1,this.setImmutabilityPolicy=!1,this.permanentDelete=!1}static parse(e){let a=new t;for(let i of e)switch(i){case"r":a.read=!0;break;case"a":a.add=!0;break;case"c":a.create=!0;break;case"w":a.write=!0;break;case"d":a.delete=!0;break;case"x":a.deleteVersion=!0;break;case"t":a.tag=!0;break;case"m":a.move=!0;break;case"e":a.execute=!0;break;case"i":a.setImmutabilityPolicy=!0;break;case"y":a.permanentDelete=!0;break;default:throw new RangeError(`Invalidpermission:${i}`)}return a}static from(e){let a=new t;return e.read&&(a.read=!0),e.add&&(a.add=!0),e.create&&(a.create=!0),e.write&&(a.write=!0),e.delete&&(a.delete=!0),e.deleteVersion&&(a.deleteVersion=!0),e.tag&&(a.tag=!0),e.move&&(a.move=!0),e.execute&&(a.execute=!0),e.setImmutabilityPolicy&&(a.setImmutabilityPolicy=!0),e.permanentDelete&&(a.permanentDelete=!0),a}toString(){let e=[];return this.read&&e.push("r"),this.add&&e.push("a"),this.create&&e.push("c"),this.write&&e.push("w"),this.delete&&e.push("d"),this.deleteVersion&&e.push("x"),this.tag&&e.push("t"),this.move&&e.push("m"),this.execute&&e.push("e"),this.setImmutabilityPolicy&&e.push("i"),this.permanentDelete&&e.push("y"),e.join("")}},ri=class t{constructor(){this.read=!1,this.add=!1,this.create=!1,this.write=!1,this.delete=!1,this.deleteVersion=!1,this.list=!1,this.tag=!1,this.move=!1,this.execute=!1,this.setImmutabilityPolicy=!1,this.permanentDelete=!1,this.filterByTags=!1}static parse(e){let a=new t;for(let i of e)switch(i){case"r":a.read=!0;break;case"a":a.add=!0;break;case"c":a.create=!0;break;case"w":a.write=!0;break;case"d":a.delete=!0;break;case"l":a.list=!0;break;case"t":a.tag=!0;break;case"x":a.deleteVersion=!0;break;case"m":a.move=!0;break;case"e":a.execute=!0;break;case"i":a.setImmutabilityPolicy=!0;break;case"y":a.permanentDelete=!0;break;case"f":a.filterByTags=!0;break;default:throw new RangeError(`Invalidpermission${i}`)}return a}static from(e){let a=new t;return e.read&&(a.read=!0),e.add&&(a.add=!0),e.create&&(a.create=!0),e.write&&(a.write=!0),e.delete&&(a.delete=!0),e.list&&(a.list=!0),e.deleteVersion&&(a.deleteVersion=!0),e.tag&&(a.tag=!0),e.move&&(a.move=!0),e.execute&&(a.execute=!0),e.setImmutabilityPolicy&&(a.setImmutabilityPolicy=!0),e.permanentDelete&&(a.permanentDelete=!0),e.filterByTags&&(a.filterByTags=!0),a}toString(){let e=[];return this.read&&e.push("r"),this.add&&e.push("a"),this.create&&e.push("c"),this.write&&e.push("w"),this.delete&&e.push("d"),this.deleteVersion&&e.push("x"),this.list&&e.push("l"),this.tag&&e.push("t"),this.move&&e.push("m"),this.execu
`),n=e.computeHMACSHA256(r);return new La(t.version,n,i,void 0,void 0,t.protocol,t.startsOn,t.expiresOn,t.ipRange,t.identifier,a,t.cacheControl,t.contentDisposition,t.contentEncoding,t.contentLanguage,t.contentType)}function PB(t,e){if(t=Tn(t),!t.identifier&&!(t.permissions&&t.expiresOn))throw new RangeError("Must provide 'permissions' and 'expiresOn' for Blob SAS generation when 'identifier' is not provided.");let a="c",i=t.snapshotTime;t.blobName&&(a="b",t.snapshotTime?a="bs":t.versionId&&(a="bv",i=t.versionId));let r;t.permissions&&(t.blobName?r=ii.parse(t.permissions.toString()).toString():r=ri.parse(t.permissions.toString()).toString());let n=[r||"",t.startsOn?Ne(t.startsOn,!1):"",t.expiresOn?Ne(t.expiresOn,!1):"",Cn(e.accountName,t.containerName,t.blobName),t.identifier,t.ipRange?ni(t.ipRange):"",t.protocol?t.protocol:"",t.version,a,i,t.cacheControl?t.cacheControl:"",t.contentDisposition?t.contentDisposition:"",t.contentEncoding?t.contentEncoding:"",t.contentLanguage?t.contentLanguage:"",t.contentType?t.contentType:""].join(`
`),s=e.computeHMACSHA256(n);return new La(t.version,s,r,void 0,void 0,t.protocol,t.startsOn,t.expiresOn,t.ipRange,t.identifier,a,t.cacheControl,t.contentDisposition,t.contentEncoding,t.contentLanguage,t.contentType)}function OB(t,e){if(t=Tn(t),!t.identifier&&!(t.permissions&&t.expiresOn))throw new RangeError("Must provide 'permissions' and 'expiresOn' for Blob SAS generation when 'identifier' is not provided.");let a="c",i=t.snapshotTime;t.blobName&&(a="b",t.snapshotTime?a="bs":t.versionId&&(a="bv",i=t.versionId));let r;t.permissions&&(t.blobName?r=ii.parse(t.permissions.toString()).toString():r=ri.parse(t.permissions.toString()).toString());let n=[r||"",t.startsOn?Ne(t.startsOn,!1):"",t.expiresOn?Ne(t.expiresOn,!1):"",Cn(e.accountName,t.containerName,t.blobName),t.identifier,t.ipRange?ni(t.ipRange):"",t.protocol?t.protocol:"",t.version,a,i,t.encryptionScope,t.cacheControl?t.cacheControl:"",t.contentDisposition?t.contentDisposition:"",t.contentEncoding?t.contentEncoding:"",t.contentLanguage?t.contentLanguage:"",t.contentType?t.contentType:""].join(`
`),s=e.computeHMACSHA256(n);return new La(t.version,s,r,void 0,void 0,t.protocol,t.startsOn,t.expiresOn,t.ipRange,t.identifier,a,t.cacheControl,t.contentDisposition,t.contentEncoding,t.contentLanguage,t.contentType,void 0,void 0,void 0,t.encryptionScope)}function RB(t,e){if(t=Tn(t),!t.permissions||!t.expiresOn)throw new RangeError("Must provide 'permissions' and 'expiresOn' for Blob SAS generation when generating user delegation SAS.");let a="c",i=t.snapshotTime;t.blobName&&(a="b",t.snapshotTime?a="bs":t.versionId&&(a="bv",i=t.versionId));let r;t.permissions&&(t.blobName?r=ii.parse(t.permissions.toString()).toString():r=ri.parse(t.permissions.toString()).toString());let n=[r||"",t.startsOn?Ne(t.startsOn,!1):"",t.expiresOn?Ne(t.expiresOn,!1):"",Cn(e.accountName,t.containerName,t.blobName),e.userDelegationKey.signedObjectId,e.userDelegationKey.signedTenantId,e.userDelegationKey.signedStartsOn?Ne(e.userDelegationKey.signedStartsOn,!1):"",e.userDelegationKey.signedExpiresOn?Ne(e.userDelegationKey.signedExpiresOn,!1):"",e.userDelegationKey.signedService,e.userDelegationKey.signedVersion,t.ipRange?ni(t.ipRange):"",t.protocol?t.protocol:"",t.version,a,i,t.cacheControl,t.contentDisposition,t.contentEncoding,t.contentLanguage,t.contentType].join(`
`),s=e.computeHMACSHA256(n);return new La(t.version,s,r,void 0,void 0,t.protocol,t.startsOn,t.expiresOn,t.ipRange,t.identifier,a,t.cacheControl,t.contentDisposition,t.contentEncoding,t.contentLanguage,t.contentType,e.userDelegationKey)}function DB(t,e){if(t=Tn(t),!t.permissions||!t.expiresOn)throw new RangeError("Must provide 'permissions' and 'expiresOn' for Blob SAS generation when generating user delegation SAS.");let a="c",i=t.snapshotTime;t.blobName&&(a="b",t.snapshotTime?a="bs":t.versionId&&(a="bv",i=t.versionId));let r;t.permissions&&(t.blobName?r=ii.parse(t.permissions.toString()).toString():r=ri.parse(t.permissions.toString()).toString());let n=[r||"",t.startsOn?Ne(t.startsOn,!1):"",t.expiresOn?Ne(t.expiresOn,!1):"",Cn(e.accountName,t.containerName,t.blobName),e.userDelegationKey.signedObjectId,e.userDelegationKey.signedTenantId,e.userDelegationKey.signedStartsOn?Ne(e.userDelegationKey.signedStartsOn,!1):"",e.userDelegationKey.signedExpiresOn?Ne(e.userDelegationKey.signedExpiresOn,!1):"",e.userDelegationKey.signedService,e.userDelegationKey.signedVersion,t.preauthorizedAgentObjectId,void 0,t.correlationId,t.ipRange?ni(t.ipRange):"",t.protocol?t.protocol:"",t.version,a,i,t.cacheControl,t.contentDisposition,t.contentEncoding,t.contentLanguage,t.contentType].join(`
`),s=e.computeHMACSHA256(n);return new La(t.version,s,r,void 0,void 0,t.protocol,t.startsOn,t.expiresOn,t.ipRange,t.identifier,a,t.cacheControl,t.contentDisposition,t.contentEncoding,t.contentLanguage,t.contentType,e.userDelegationKey,t.preauthorizedAgentObjectId,t.correlationId)}function IB(t,e){if(t=Tn(t),!t.permissions||!t.expiresOn)throw new RangeError("Must provide 'permissions' and 'expiresOn' for Blob SAS generation when generating user delegation SAS.");let a="c",i=t.snapshotTime;t.blobName&&(a="b",t.snapshotTime?a="bs":t.versionId&&(a="bv",i=t.versionId));let r;t.permissions&&(t.blobName?r=ii.parse(t.permissions.toString()).toString():r=ri.parse(t.permissions.toString()).toString());let n=[r||"",t.startsOn?Ne(t.startsOn,!1):"",t.expiresOn?Ne(t.expiresOn,!1):"",Cn(e.accountName,t.containerName,t.blobName),e.userDelegationKey.signedObjectId,e.userDelegationKey.signedTenantId,e.userDelegationKey.signedStartsOn?Ne(e.userDelegationKey.signedStartsOn,!1):"",e.userDelegationKey.signedExpiresOn?Ne(e.userDelegationKey.signedExpiresOn,!1):"",e.userDelegationKey.signedService,e.userDelegationKey.signedVersion,t.preauthorizedAgentObjectId,void 0,t.correlationId,t.ipRange?ni(t.ipRange):"",t.protocol?t.protocol:"",t.version,a,i,t.encryptionScope,t.cacheControl,t.contentDisposition,t.contentEncoding,t.contentLanguage,t.contentType].join(`
`),s=e.computeHMACSHA256(n);return new La(t.version,s,r,void 0,void 0,t.protocol,t.startsOn,t.expiresOn,t.ipRange,t.identifier,a,t.cacheControl,t.contentDisposition,t.contentEncoding,t.contentLanguage,t.contentType,e.userDelegationKey,t.preauthorizedAgentObjectId,t.correlationId,t.encryptionScope)}function Cn(t,e,a){let i=[`/blob/${t}/${e}`];return a&&i.push(`/${a}`),i.join("")}function Tn(t){let e=t.version?t.version:d0;if(t.snapshotTime&&e<"2018-11-09")throw RangeError("'version' must be >= '2018-11-09' when providing 'snapshotTime'.");if(t.blobName===void 0&&t.snapshotTime)throw RangeError("Must provide 'blobName' when providing 'snapshotTime'.");if(t.versionId&&e<"2019-10-10")throw RangeError("'version' must be >= '2019-10-10' when providing 'versionId'.");if(t.blobName===void 0&&t.versionId)throw RangeError("Must provide 'blobName' when providing 'versionId'.");if(t.permissions&&t.permissions.setImmutabilityPolicy&&e<"2020-08-04")throw RangeError("'version' must be >= '2020-08-04' when provided 'i' permission.");if(t.permissions&&t.permissions.deleteVersion&&e<"2019-10-10")throw RangeError("'version' must be >= '2019-10-10' when providing 'x' permission.");if(t.permissions&&t.permissions.permanentDelete&&e<"2019-10-10")throw RangeError("'version' must be >= '2019-10-10' when providing 'y' permission.");if(t.permissions&&t.permissions.tag&&e<"2019-12-12")throw RangeError("'version' must be >= '2019-12-12' when providing 't' permission.");if(e<"2020-02-10"&&t.permissions&&(t.permissions.move||t.permissions.execute))throw RangeError("'version' must be >= '2020-02-10' when providing the 'm' or 'e' permission.");if(e<"2021-04-10"&&t.permissions&&t.permissions.filterByTags)throw RangeError("'version' must be >= '2021-04-10' when providing the 'f' permission.");if(e<"2020-02-10"&&(t.preauthorizedAgentObjectId||t.correlationId))throw RangeError("'version' must be >= '2020-02-10' when providing 'preauthorizedAgentObjectId' or 'correlationId'.");if(t.encryptionScope&&e<"2020-12-06")throw RangeError("'version' must be >= '2020-12-06' when provided 'encryptionScope' in SAS.");return t.version=e,t}var Us=class{constructor(e,a){let i=new ks(e.url,e.pipeline.toServiceClientOptions());this._url=e.url,e.name===void 0?(this._isContainer=!0,this._containerOrBlobOperation=new gr(i)):(this._isContainer=!1,this._containerOrBlobOperation=new zs(i)),a||(a=M.generateUuid()),this._leaseId=a}get leaseId(){return this._leaseId}get url(){return this._url}async acquireLease(e,a={}){var i,r,n,s,o,p;let{span:d,updatedOptions:l}=L("BlobLeaseClient-acquireLease",a);if(this._isContainer&&(!((i=a.conditions)===null||i===void 0)&&i.ifMatch&&((r=a.conditions)===null||r===void 0?void 0:r.ifMatch)!==qa||!((n=a.conditions)===null||n===void 0)&&n.ifNoneMatch&&((s=a.conditions)===null||s===void 0?void 0:s.ifNoneMatch)!==qa||!((o=a.conditions)===null||o===void 0)&&o.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.");try{return await this._containerOrBlobOperation.acquireLease(Object.assign({abortSignal:a.abortSignal,duration:e,modifiedAccessConditions:Object.assign(Object.assign({},a.conditions),{ifTags:(p=a.conditions)===null||p===void 0?void 0:p.tagConditions}),proposedLeaseId:this._leaseId},G(l)))}catch(c){throw d.setStatus({code:q.SpanStatusCode.ERROR,message:c.message}),c}finally{d.end()}}async changeLease(e,a={}){var i,r,n,s,o,p;let{span:d,updatedOptions:l}=L("BlobLeaseClient-changeLease",a);if(this._isContainer&&(!((i=a.conditions)===null||i===void 0)&&i.ifMatch&&((r=a.conditions)===null||r===void 0?void 0:r.ifMatch)!==qa||!((n=a.conditions)===null||n===void 0)&&n.ifNoneMatch&&((s=a.conditions)===null||s===void 0?void 0:s.ifNoneMatch)!==qa||!((o=a.conditions)===null||o===void 0)&&o.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.");try{let c=await this._containerOrBlobOperatio
`));let i=yield _0(a,"create");yield S0(i,t)})}_t.createTar=UA});var Tv=T(Ye=>{"use strict";var FA=Ye&&Ye.__createBinding||(Object.create?function(t,e,a,i){i===void 0&&(i=a);var r=Object.getOwnPropertyDescriptor(e,a);(!r||("get"in r?!e.__esModule:r.writable||r.configurable))&&(r={enumerable:!0,get:function(){return e[a]}}),Object.defineProperty(t,i,r)}:function(t,e,a,i){i===void 0&&(i=a),t[i]=e[a]}),VA=Ye&&Ye.__setModuleDefault||(Object.create?function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}:function(t,e){t.default=e}),nl=Ye&&Ye.__importStar||function(t){if(t&&t.__esModule)return t;var e={};if(t!=null)for(var a in t)a!=="default"&&Object.prototype.hasOwnProperty.call(t,a)&&FA(e,t,a);return VA(e,t),e},_v=Ye&&Ye.__awaiter||function(t,e,a,i){function r(n){return n instanceof a?n:new a(function(s){s(n)})}return new(a||(a=Promise))(function(n,s){function o(l){try{d(i.next(l))}catch(c){s(c)}}function p(l){try{d(i.throw(l))}catch(c){s(c)}}function d(l){l.done?n(l.value):r(l.value).then(o,p)}d((i=i.apply(t,e||[])).next())})};Object.defineProperty(Ye,"__esModule",{value:!0});Ye.saveCache=Ye.restoreCache=Ye.isFeatureAvailable=Ye.ReserveCacheError=Ye.ValidationError=void 0;var it=nl(gt()),Sv=nl(require("path")),pa=nl(Jn()),il=nl(xv()),rl=Nv(),di=class t extends Error{constructor(e){super(e),this.name="ValidationError",Object.setPrototypeOf(this,t.prototype)}};Ye.ValidationError=di;var ao=class t extends Error{constructor(e){super(e),this.name="ReserveCacheError",Object.setPrototypeOf(this,t.prototype)}};Ye.ReserveCacheError=ao;function Ev(t){if(!t||t.length===0)throw new di("Path Validation Error: At least one directory or file path is required")}function Cv(t){if(t.length>512)throw new di(`KeyValidationError:${t}cannotbelargerthan512characters.`);if(!/^[^,]*$/.test(t))throw new di(`KeyValidationError:${t}cannotcontaincommas.`)}function $A(){return!!process.env.ACTIONS_CACHE_URL}Ye.isFeatureAvailable=$A;function GA(t,e,a,i,r=!1){return _v(this,void 0,void 0,function*(){Ev(t),a=a||[];let n=[e,...a];if(it.debug("Resolved Keys:"),it.debug(JSON.stringify(n)),n.length>10)throw new di("Key Validation Error: Keys are limited to a maximum of 10.");for(let p of n)Cv(p);let s=yield pa.getCompressionMethod(),o="";try{let p=yield il.getCacheEntry(n,t,{compressionMethod:s,enableCrossOsArchive:r});if(!p?.archiveLocation)return;if(i?.lookupOnly)return it.info("Lookup only - skipping download"),p.cacheKey;o=Sv.join(yield pa.createTempDirectory(),pa.getCacheFileName(s)),it.debug(`ArchivePath:${o}`),yield il.downloadCache(p.archiveLocation,o,i),it.isDebug()&&(yield(0,rl.listTar)(o,s));let d=pa.getArchiveFileSizeInBytes(o);return it.info(`CacheSize:~${Math.round(d/(1024*1024))}MB(${d}B)`),yield(0,rl.extractTar)(o,s),it.info("Cache restored successfully"),p.cacheKey}catch(p){if(p.name===di.name)throw p;it.warning(`Failedtorestore:${p.message}`)}finally{try{yield pa.unlinkFile(o)}catch(p){it.debug(`Failedtodeletearchive:${p}`)}}})}Ye.restoreCache=GA;function XA(t,e,a,i=!1){var r,n,s,o,p;return _v(this,void 0,void 0,function*(){Ev(t),Cv(e);let d=yield pa.getCompressionMethod(),l=-1,c=yield pa.resolvePaths(t);if(it.debug("Cache Paths:"),it.debug(`${JSON.stringify(c)}`),c.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.");let m=yield pa.createTempDirectory(),u=Sv.join(m,pa.getCacheFileName(d));it.debug(`ArchivePath:${u}`);try{yield(0,rl.createTar)(m,c,d),it.isDebug()&&(yield(0,rl.listTar)(u,d));let h=10*1024*1024*1024,v=pa.getArchiveFileSizeInBytes(u);if(it.debug(`FileSize:${v}`),v>h&&!pa.isGhes())throw new Error(`Cachesizeof~${Math.round(v/(1024*1024))}MB(${v}B)isoverthe10GBlimit,notsavingcache.`);it.debug("Reserving Cache");let E=yield il.reserveCache(e,t,{compressionMethod:d,enableCrossOsArchive:i,cacheSize:v});if(!((r=E?.result)===null||r===void 0)&&r.cacheId)l=(n=E?.result)===null||n===void 0?void 0:n.cacheId;else throw E?.statusCode===400?new Error((o=(s=E?.error)===null||s===void 0?v
`);for(let r of i){let n=r.split("=");if(n.length===2&&(n[0].trim()==="VERSION_ID"||n[0].trim()==="DISTRIB_RELEASE")){e=n[1].trim().replace(/^"/,"").replace(/"$/,"");break}}}}return e}St._getOsVersion=ez;function tz(){let t="/etc/lsb-release",e="/etc/os-release",a="";return sl.existsSync(t)?a=sl.readFileSync(t).toString():sl.existsSync(e)&&(a=sl.readFileSync(e).toString()),a}St._readLinuxVersionFile=tz});var Bv=T(da=>{"use strict";var az=da&&da.__createBinding||(Object.create?function(t,e,a,i){i===void 0&&(i=a),Object.defineProperty(t,i,{enumerable:!0,get:function(){return e[a]}})}:function(t,e,a,i){i===void 0&&(i=a),t[i]=e[a]}),iz=da&&da.__setModuleDefault||(Object.create?function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}:function(t,e){t.default=e}),rz=da&&da.__importStar||function(t){if(t&&t.__esModule)return t;var e={};if(t!=null)for(var a in t)a!=="default"&&Object.hasOwnProperty.call(t,a)&&az(e,t,a);return iz(e,t),e},Dv=da&&da.__awaiter||function(t,e,a,i){function r(n){return n instanceof a?n:new a(function(s){s(n)})}return new(a||(a=Promise))(function(n,s){function o(l){try{d(i.next(l))}catch(c){s(c)}}function p(l){try{d(i.throw(l))}catch(c){s(c)}}function d(l){l.done?n(l.value):r(l.value).then(o,p)}d((i=i.apply(t,e||[])).next())})};Object.defineProperty(da,"__esModule",{value:!0});da.RetryHelper=void 0;var Iv=rz(gt()),T0=class{constructor(e,a,i){if(e<1)throw new Error("max attempts should be greater than or equal to 1");if(this.maxAttempts=e,this.minSeconds=Math.floor(a),this.maxSeconds=Math.floor(i),this.minSeconds>this.maxSeconds)throw new Error("min seconds should be less than or equal to max seconds")}execute(e,a){return Dv(this,void 0,void 0,function*(){let i=1;for(;i<this.maxAttempts;){try{return yield e()}catch(n){if(a&&!a(n))throw n;Iv.info(n.message)}let r=this.getSleepAmount();Iv.info(`Waiting${r}secondsbeforetryingagain`),yield this.sleep(r),i++}return yield e()})}getSleepAmount(){return Math.floor(Math.random()*(this.maxSeconds-this.minSeconds+1))+this.minSeconds}sleep(e){return Dv(this,void 0,void 0,function*(){return new Promise(a=>setTimeout(a,e*1e3))})}};da.RetryHelper=T0});var Hv=T(re=>{"use strict";var nz=re&&re.__createBinding||(Object.create?function(t,e,a,i){i===void 0&&(i=a),Object.defineProperty(t,i,{enumerable:!0,get:function(){return e[a]}})}:function(t,e,a,i){i===void 0&&(i=a),t[i]=e[a]}),sz=re&&re.__setModuleDefault||(Object.create?function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}:function(t,e){t.default=e}),ka=re&&re.__importStar||function(t){if(t&&t.__esModule)return t;var e={};if(t!=null)for(var a in t)a!=="default"&&Object.hasOwnProperty.call(t,a)&&nz(e,t,a);return sz(e,t),e},Tt=re&&re.__awaiter||function(t,e,a,i){function r(n){return n instanceof a?n:new a(function(s){s(n)})}return new(a||(a=Promise))(function(n,s){function o(l){try{d(i.next(l))}catch(c){s(c)}}function p(l){try{d(i.throw(l))}catch(c){s(c)}}function d(l){l.done?n(l.value):r(l.value).then(o,p)}d((i=i.apply(t,e||[])).next())})},oz=re&&re.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(re,"__esModule",{value:!0});re.evaluateVersions=re.isExplicitVersion=re.findFromManifest=re.getManifestFromRepo=re.findAllVersions=re.find=re.cacheFile=re.cacheDir=re.extractZip=re.extractXar=re.extractTar=re.extract7z=re.downloadTool=re.HTTPError=void 0;var he=ka(gt()),Wt=ka(qn()),la=ka(require("fs")),pz=ka(Rv()),ro=ka(require("os")),_a=ka(require("path")),Av=ka(Or()),li=ka(zo()),dz=ka(require("stream")),lz=ka(require("util")),Rn=require("assert"),zv=oz(yc()),Xi=Ln(),cz=Bv(),io=class extends Error{constructor(e){super(`UnexpectedHTTPresponse:${e}`),this.httpStatusCode=e,Object.setPrototypeOf(this,new.target.prototype)}};re.HTTPError=io;var O0=process.platform==="win32",mz=process.platform==="darwin",uz="actions/tool-cache";function fz(t,e,a,i){return Tt(this,void 0,void 0,function*(){e=e||_a.join(kv(),zv.default()),yield Wt.mkdirP(_a.dirname(e)),he.debug(`Downloading${t}`),he.debug(`Destination${e}`);let r=3,n=P0("TEST_DOWNLOAD_TOOL_RETRY_M