[dependabot skip] chore: update generated content

This commit is contained in:
github-actions[bot] committed 2026-10-23 14:28:03 +00:00
1 parent f2aae0c0ee
commit f101fa5d88
3 files changed
+5 -5

No files matched your search

Generated Vendored
+2 -2
View File
@@ -204,8 +204,8 @@ ${t.mark.snippet}`),`${t.reason} ${r}`):t.reason}i(qhe,"formatError");var _m=cla
`),u}i(Hhe,"getBlockValue");function kft(t,e){if(e.valueStart===Nft)return"";let{valueStart:r,valueEnd:n}=e;if(e.fast)return t.slice(r,n);switch(e.style){case Ve.SINGLE_QUOTED:return Qft(t,r,n);case Ve.DOUBLE_QUOTED:return Dft(t,r,n);case Ve.LITERAL_BLOCK:return Hhe(t,r,n,e.indent,e.chomping,!1);case Ve.FOLDED_BLOCK:return Hhe(t,r,n,e.indent,e.chomping,!0);default:return _ft(t,r,n)}}i(kft,"getScalarValue");var Lft=Object.assign(Object.create(null),{"!":"!","!!":"tag:yaml.org,2002:"}),Oft="-#;/?:@&=+$_.~*'()",Cgr=Oft+"!,[]";function C4(t){let e="",r=0;for(;r<t.length;){if(t.charCodeAt(r)!==37){e+=t[r++];continue}let n=parseInt(t.slice(r+1,r+3),16);if(r+=3,n>=192){let s=n<224?1:n<240?2:3;for(n&=(1<<6-s)-1;s-- >0;)n=n<<6|parseInt(t.slice(r+1,r+3),16)&63,r+=3}n<65536?e+=String.fromCharCode(n):(n-=65536,e+=String.fromCharCode(55296|n>>10,56320|n&1023))}return e}i(C4,"tagPercentDecode");function sge(t,e){if(t.startsWith("!<")&&t.endsWith(">"))return C4(t.slice(2,-1));let r=t.indexOf("!",1),n=r===-1?"!":t.slice(0,r+1);return C4(e?.[n]??Lft[n]??n)+C4(t.slice(n.length))}i(sge,"tagNameFull");var Fh=-1,Mft="tag:yaml.org,2002:merge",Q4={filename:"",schema:Sft,json:!1,maxTotalMergeKeys:1e4,maxAliases:-1};function Fft(t){return"tagStart"in t&&t.tagStart!==Fh?t.tagStart:"anchorStart"in t&&t.anchorStart!==Fh?t.anchorStart:"valueStart"in t&&t.valueStart!==Fh?t.valueStart:"start"in t?t.start:0}i(Fft,"eventPosition$1");function fn(t,e){_m.throwAt(t.source,t.position,e,t.filename)}i(fn,"throwError$1");function oge(t,e,r,n){try{return r.finalize(n)}catch(s){if(s instanceof _m)throw s;_m.throwAt(t.source,e,s instanceof Error?s.message:String(s),t.filename)}}i(oge,"finalizeCollection");function Uft(t,e){let r=kft(t.source,e),n=e.tagStart===Fh?"":t.source.slice(e.tagStart,e.tagEnd),s=t.schema.defaultScalarTag;if(n!==""){if(n==="!")return{value:r,tag:s};let o=sge(n,t.tagHandlers),a=t.schema.lookupScalarTag(o);if(a){let l=a.resolve(r,!0,o);return l===st&&fn(t,`cannot resolve a node with !<${o}> explicit tag`),{value:l,tag:a}}let c=t.schema.lookupMappingTag(o)??t.schema.lookupSequenceTag(o);if(c){r!==""&&fn(t,`cannot resolve a node with !<${o}> explicit tag`);let l=c.create(o);return{value:c.carrierIsResult?l:oge(t,t.position,c,l),tag:c}}fn(t,`unknown scalar tag !<${o}>`)}return e.style===Ve.PLAIN?t.schema.resolveImplicitScalarTag(r):{value:s.resolve(r,!1,s.tagName),tag:s}}i(Uft,"constructScalar");function $he(t,e,r){let n=e.tagStart===Fh?"":t.source.slice(e.tagStart,e.tagEnd);return n===""||n==="!"?r:sge(n,t.tagHandlers)}i($he,"collectionTagName");function ige(t){return t.nodeKind==="mapping"}i(ige,"isMappingTag");function zhe(t){t.totalMergeKeys++,t.maxTotalMergeKeys!==-1&&t.totalMergeKeys>t.maxTotalMergeKeys&&fn(t,`merge keys exceeded maxTotalMergeKeys (${t.maxTotalMergeKeys})`)}i(zhe,"chargeMergeWork");function Vhe(t,e,r,n){zhe(t);for(let s of n.keys(r)){if(zhe(t),e.tag.has(e.value,s))continue;let o=e.tag.addPair(e.value,s,n.get(r,s));o&&fn(t,o),e.overridable??=new Set,e.overridable.add(s)}}i(Vhe,"mergeKeys");function qft(t,e,r,n){if(t.position=e.keyPosition,ige(n))Vhe(t,e,r,n);else if(n.nodeKind==="sequence"&&Array.isArray(r)){r.length>100&&fn(t,"abnormal merge sequence size");for(let s of r){let o=t.nodeTags.get(s);o||fn(t,"cannot merge mappings; the provided source object is unacceptable"),Vhe(t,e,s,o)}}else fn(t,"cannot merge mappings; the provided source object is unacceptable")}i(qft,"mergeSource");function Gft(t,e,r,n,s){if(t.position=e.keyPosition,e.keyIsMerge){qft(t,e,n,s);return}!t.json&&e.tag.has(e.value,r)&&!e.overridable?.has(r)&&fn(t,"duplicated mapping key");let o=e.tag.addPair(e.value,r,n);o&&fn(t,o),e.overridable?.delete(r)}i(Gft,"addMappingValue");function I4(t,e,r){let n=t.frames[t.frames.length-1];if(n.kind==="document")n.value=e,n.hasValue=!0;else if(n.kind==="sequence"){ige(r)&&t.nodeTags.set(e,r);let s=n.tag.addItem(n.value,e,n.index++);s&&fn(t,s)}else if(n.hasKey){let s=n.key;n.key=void 0,n.hasKey=!1,Gft(t,n,s,e,r)}else n.key=e,n.keyPosition=t.position,n.hasKey=!0,n.keyIsMerge=r.tagName===Mft}i(I4,"addValue");function w4(t,e,r,n,s){if(e.anchorStart!==Fh){let o={value:r,tag:n,isValueFinal:s};return t.anchors.set(t.source.slice(e.anchorStart,e.anchorEnd),o),o}return null}i(w4,"storeAnchor");function Hft(t,e){let r={...Q4,...e,events:t,documents:[],eventIndex:0,position:0,frames:[],anchors:new Map,nodeTags:new Map,tagHandlers:Object.create(null),totalMergeKeys:0,aliasCount:0};for(;r.eventIndex<r.events.length;){let n=r.events[r.eventIndex++];switch(r.position=Fft(n),n.type){case jt.DOCUMENT:r.anchors=new Map,r.nodeTags=new Map,r.aliasCount=0,r.tagHandlers=Object.create(null);for(let s of n.directives)s.kind==="tag"&&(r.tagHandlers[s.handle]=s.prefix);r.frames.push({kind:"document",position:r.position,value:void 0,hasValue:!1});break;case jt.SCALAR:{let{value:s,tag:o}=Uft(r,n);w4(r,n,s,o,!0),I4(r,s,o);break}case jt.SEQUENCE:{let s=$he(r,n,"tag:yaml.org,2002:seq"),o=r.schema.lookupSequenceTag(s);o||fn(r,`unknoLine truncated
`)?Ve.DOUBLE_QUOTED:gge(t)))}i(yAt,"applyForceQuotesOption");function EAt(t){if(t.style!==Ve.PLAIN||t.isKey)return;let e=t.node.value,r=e.indexOf(`
`)!==-1;if(!nv(t.allowedStylesMask,Ve.LITERAL_BLOCK)){r&&(t.style=Ve.DOUBLE_QUOTED);return}let n=t.presenterOptions.lineWidth;if(n===-1){r&&(t.style=Ve.LITERAL_BLOCK);return}let s=Math.max(Math.min(n,40),n-t.shiftOfContent),o=0,a=!1;for(;o<=e.length;){let c=e.length,l=e.indexOf(`
`,o);l!==-1&&(c=l);let u=e.slice(o,c);if(u.length>s&&u[0]!==" "&&/ [^ \t]/.test(u)&&(a=!0),l===-1)break;o=l+1}a?t.style=Ve.FOLDED_BLOCK:r&&(t.style=Ve.LITERAL_BLOCK)}i(EAt,"tryLongOrMultilineAsBlock");function CAt(t){t.style===Ve.PLAIN&&!nv(t.allowedStylesMask,Ve.PLAIN)&&(t.style=gge(t))}i(CAt,"quoteInvalidPlain");function IAt(t){nv(t.allowedStylesMask,t.style)||(t.style=Ve.DOUBLE_QUOTED)}i(IAt,"fallbackToDoubleQuoted");var wAt="[\\x09\\x0A\\x0D\\x20-\\x7E\\x85\\xA0-\\uD7FF\\uE000-\\uFFFD\\u{10000}-\\u{10FFFF}]",SAt="[\\n\\r]",xAt="\\uFEFF",L4="[ \\t]",yge=`(?:(?!(?:${SAt}|${xAt}))${wAt})`,sv=`(?:(?!${L4})${yge})`,Ege="[\\x09\\x20-\\uD7FF\\uE000-\\uFFFF\\u{10000}-\\u{10FFFF}]",Cge="[-?:,\\[\\]{}#&*!|>'\"%@`]",bAt="[,\\[\\]{}]",N4=sv,T4=`(?:(?!${bAt})${sv})`,BAt=`(?:(?:(?!${Cge})${sv})|[?:-](?=${N4}))`,RAt=`(?:(?:(?!${Cge})${sv})|[?:-](?=${T4}))`,Ige=`(?:(?:(?![:#])${N4})|:(?=${N4}))#*`,wge=`(?:(?:(?![:#])${T4})|:(?=${T4}))#*`,Sge=`(?:${L4}*${Ige})*`,xge=`(?:${L4}*${wge})*`,bge=`${BAt}#*${Sge}`,Bge=`${RAt}#*${xge}`,NAt=bge,TAt=Bge,vAt=`\\n+${Ige}${Sge}`,PAt=`\\n+${wge}${xge}`,_At=`${bge}(?:${vAt})*`,QAt=`${Bge}(?:${PAt})*`,Igr=new RegExp(`^(?:${_At})$`,"u"),wgr=new RegExp(`^(?:${QAt})$`,"u"),Sgr=new RegExp(`^(?:${NAt})$`,"u"),xgr=new RegExp(`^(?:${TAt})$`,"u"),bgr=new RegExp(`^(?:${Ege})*$`,"u"),Bgr=new RegExp(`^(?:${Ege}|\\n)*$`,"u"),Rgr=new RegExp(`^(?:${yge}|\\n)*$`,"u");var DAt={indent:2,seqNoIndent:!1,seqInlineFirst:!0,lineWidth:80,flowBracketPadding:!1,flowSkipCommaSpace:!1,flowSkipColonSpace:!1,quoteFlowKeys:!1,quoteStyle:"single",forceQuotes:!1,scalarStyleRules:Object.keys(Khe).map(t=>Reflect.get(Khe,t)),tagBeforeAnchor:!1};var Ngr={...DAt,schema:bft,skipInvalid:!1,noRefs:!1,flowLevel:-1,sortKeys:!1,transform:i(()=>{},"transform")};var Tgr=jt.DOCUMENT,vgr=jt.SEQUENCE,Pgr=jt.MAPPING,_gr=jt.SCALAR,Qgr=jt.ALIAS,Dgr=jt.POP,kgr=Ve.PLAIN,Lgr=Ve.SINGLE_QUOTED,Ogr=Ve.DOUBLE_QUOTED,Mgr=Ve.LITERAL_BLOCK,Fgr=Ve.FOLDED_BLOCK,Ugr=pd.BLOCK,qgr=pd.FLOW,Ggr=Eo.CLIP,Hgr=Eo.STRIP,$gr=Eo.KEEP;var li=R(require("fs"),1),Ls=R(require("path"),1);var Dwe=R(gEe(),1);var gv=class t{static{i(this,"Git")}static protoRegexp=new RegExp("^[a-zA-Z0-9]+://");static supportedProtos={http:{},https:{},ssh:{},git:{}};static parseURL(e){let r=e.match(t.protoRegexp);if(r&&r.length>0){let n=r[0].toLowerCase();if(n=n.slice(0,n.lastIndexOf("://")),!(n in t.supportedProtos))throw new Error(`Invalid protocol: ${n}`);return t.fromURL(new URL(e))}throw new Error("Unknown protocol")}static fromURL(e){let r=new URL(e.toString());r.hash="";let n;return(e.username||e.password)&&(n={username:e.username,password:e.password,passwordSet:e.password!==""}),{scheme:e.protocol.slice(0,-1),user:n,host:`${e.hostname}${e.port?":"+e.port:""}`,path:e.pathname,fragment:t.splitGitFragment(e.hash),remote:r.toString()}}static splitGitFragment(e){if(e==="")return;let[r,n]=e.slice(1).split(":");return{ref:r,subdir:n}}static parseRef(e){let r={},n;if(e.startsWith("./")||e.startsWith("../"))throw new Error("Invalid argument");if(e.startsWith("github.com/"))r.indistinguishableFromLocal=!0,n=t.fromURL(new URL("https://"+e));else if(n=t.parseURL(e),["http","git"].includes(n.scheme)&&(r.unencryptedTCP=!0),["http","https"].includes(n.scheme)&&!n.path.endsWith(".git"))throw new Error("Invalid argument");r.remote=n.remote,r.indistinguishableFromLocal&&(r.remote=r.remote.split("://")[1]),n.fragment&&(r.commit=n.fragment.ref,r.subDir=n.fragment.subdir);let s=r.remote.split("/");return r.shortName=s[s.length-1].replace(".git",""),r}};var sY=R(require("fs"),1),LIe=R(require("os"),1),cw=R(require("path"),1);var cW=R(require("fs"),1),LEe=R(require("os"),1),OEe=R(require("path"),1),MEe=R(kEe(),1);var Cv=class t{static{i(this,"Context")}static _tmpDir=cW.default.mkdtempSync(OEe.default.join(t.ensureDirExists(process.env.RUNNER_TEMP||LEe.default.tmpdir()),"docker-actions-toolkit-"));static ensureDirExists(e){return cW.default.mkdirSync(e,{recursive:!0}),e}static tmpDir(){return t._tmpDir}static tmpName(e){return MEe.tmpNameSync(e)}};var Jl=class{static{i(this,"Exec")}static async exec(e,r,n){return T(`Exec.exec: ${e} ${r?.join(" ")}`),Uu(e,r,n)}static async getExecOutput(e,r,n){return T(`Exec.getExecOutput: ${e} ${r?.join(" ")}`),VE(e,r,n)}};var nY=R(require("crypto"),1),DIe=R(require("fs"),1),aw=R(require("path"),1),kIe=R(NIe(),1);var We=class t extends Error{static{i(this,"CsvError")}constructor(e,r,n,...s){Array.isArray(r)&&(r=r.join(" ").trim()),super(r),Error.captureStackTrace!==void 0&&Error.captureStackTrace(this,t),this.code=e;for(let o of s)for(let a in o){let c=o[a];this[a]=Buffer.isBuffer(c)?c.toString(n.encoding):c==null?c:JSON.parse(JSON.stringify(c))}}};var iw=i(function(t){return typeof t=="object"&&t!==null&&!Array.isArray(t)},"is_object");var sP=i(function(t){let e=[];for(let r=0,n=t.length;r<n;r++){let s=t[r];if(s==null||s===!1)e[r]={disabled:!0};else if(typeof s=="string"||typeof s=="number")e[r]={name:`${s}`};else if(iw(s)){if(typeof s.name!="string")throw new We(" Line truncated
`,a).length:p,u?(c===null?0:c.length)+l.length:0,u?l.length+p:0);return m<f},"__needMoreData"),parse:i(function(n,s,o,a){let{bom:c,comment_no_infix:l,delimiter_auto:u,encoding:d,from_line:p,ltrim:m,max_record_size:f,raw:A,relax_quotes:h,rtrim:E,skip_empty_lines:C,to:w,to_line:x}=this.options,{comment:b,escape:N,quote:P,record_delimiter:Q}=this.options,{bomSkipped:re,delimiterDiscovered:Ee,delimiterBufPrevious:ae,rawBuffer:qe,escapeIsQuote:ne}=this.state;if(!Ee&&u){let ut;if(ae===void 0?ut=n:ae!==void 0&&n===void 0?ut=ae:ut=Buffer.concat([ae,n]),n=void 0,s||ut.length>u.size)this.options.delimiter=[Buffer.from(PIe(ut,this.options.delimiter_auto))],this.state.previousBuf=ut,this.state.delimiterBufPrevious=void 0,this.state.delimiterDiscovered=!0;else{this.state.delimiterBufPrevious=ut;return}}let{previousBuf:X}=this.state,U;if(X===void 0)if(n===void 0){a();return}else U=n;else X!==void 0&&n===void 0?U=X:U=Buffer.concat([X,n]);if(re===!1)if(c===!1)this.state.bomSkipped=!0;else if(U.length<3){if(s===!1){this.state.previousBuf=U;return}}else{for(let ut in lg)if(lg[ut].compare(U,0,lg[ut].length)===0){let wa=lg[ut].length;this.state.bufBytesStart+=wa,U=U.slice(wa);let yu=cg({...this.original_options,encoding:ut});for(let rr in yu)this.options[rr]=yu[rr];({comment:b,escape:N,quote:P}=this.options);break}this.state.bomSkipped=!0}let St=U.length,Z;for(Z=0;Z<St&&!this.__needMoreData(Z,St,s);Z++){if(this.state.wasRowDelimiter===!0&&(this.info.lines++,this.state.wasRowDelimiter=!1),x!==-1&&this.info.lines>x){this.state.stop=!0,a();return}this.state.quoting===!1&&Q.length===0&&this.__autoDiscoverRecordDelimiter(U,Z)&&(Q=this.options.record_delimiter);let ut=U[Z];if(A===!0&&qe.append(ut),(ut===twt||ut===rwt)&&this.state.wasRowDelimiter===!1&&(this.state.wasRowDelimiter=!0),this.state.escaping===!0)this.state.escaping=!1;else{if(N!==null&&this.state.quoting===!0&&this.__isEscape(U,Z,ut)&&Z+N.length<St)if(ne){if(this.__isQuote(U,Z+N.length)){this.state.escaping=!0,Z+=N.length-1;continue}}else{this.state.escaping=!0,Z+=N.length-1;continue}if(this.state.commenting===!1&&this.__isQuote(U,Z))if(this.state.quoting===!0){let rr=U[Z+P.length],Sa=E&&this.__isCharTrimable(U,Z+P.length),zs=b!==null&&this.__compareBytes(b,U,Z+P.length,rr),pp=this.__isDelimiter(U,Z+P.length,rr),Ux=Q.length===0?this.__autoDiscoverRecordDelimiter(U,Z+P.length):this.__isRecordDelimiter(rr,U,Z+P.length);if(N!==null&&this.__isEscape(U,Z,ut)&&this.__isQuote(U,Z+N.length))Z+=N.length-1;else if(!rr||pp||Ux||zs||Sa){this.state.quoting=!1,this.state.wasQuoting=!0,Z+=P.length-1;continue}else if(h===!1){let dK=this.__error(new We("CSV_INVALID_CLOSING_QUOTE",["Invalid Closing Quote:",`got "${String.fromCharCode(rr)}"`,`at line ${this.info.lines}`,"instead of delimiter, record delimiter, trimable character","(if activated) or comment"],this.options,this.__infoField()));if(dK!==void 0)return dK}else this.state.quoting=!1,this.state.wasQuoting=!0,this.state.field.prepend(P),Z+=P.length-1}else if(this.state.field.length!==0){if(h===!1){let rr=this.__infoField(),Sa=Object.keys(lg).map(pp=>lg[pp].equals(this.state.field.toString())?pp:!1).filter(Boolean)[0],zs=this.__error(new We("INVALID_OPENING_QUOTE",["Invalid Opening Quote:",`a quote is found on field ${JSON.stringify(rr.column)} at line ${rr.lines}, value is ${JSON.stringify(this.state.field.toString(d))}`,Sa?`(${Sa} bom)`:void 0],this.options,rr,{field:this.state.field}));if(zs!==void 0)return zs}}else{this.state.quoting=!0,Z+=P.length-1;continue}if(this.state.quoting===!1){let rr=this.__isRecordDelimiter(ut,U,Z);if(rr!==0){if(this.state.commenting&&this.state.wasQuoting===!1&&this.state.record.length===0&&this.state.field.length===0)this.info.comment_lines++;else{if(this.state.enabled===!1&&this.info.lines+(this.state.wasRowDelimiter===!0?1:0)>=p){this.state.enabled=!0,this.__resetField(),this.__resetRecord(),Z+=rr-1;continue}if(C===!0&&this.state.wasQuoting===!1&&this.state.record.length===0&&this.state.field.length===0){this.info.empty_lines++,Z+=rr-1;continue}this.info.bytes=this.state.bufBytesStart+Z;let pp=this.__onField();if(pp!==void 0)return pp;this.info.bytes=this.state.bufBytesStart+Z+rr;let Ux=this.__onRecord(o);if(Ux!==void 0)return Ux;if(w!==-1&&this.info.records>=w){this.state.stop=!0,a();return}}this.state.commenting=!1,Z+=rr-1;continue}if(this.state.commenting)continue;if(b!==null&&(l===!1||this.state.record.length===0&&this.state.field.length===0)&&this.__compareBytes(b,U,Z,ut)!==0){this.state.commenting=!0;continue}let Sa=this.__isDelimiter(U,Z,ut);if(Sa!==0){this.info.bytes=this.state.bufBytesStart+Z;let zs=this.__onField();if(zs!==void 0)return zs;Z+=Sa-1;continue}}}if(this.state.commenting===!1&&f!==0&&this.state.record_length+this.state.field.length>f)return this.__error(new We("CSV_MAX_RECORD_SIZE",["Max Record Size:","record exceed the maximum number of tolerated bytes",`of ${f}`,`at line ${this.info.lines}`],this.options,this.__infoField()));let wa=m===!1||this.state.quoting===!0||this.sta Line truncated
`,o);l!==-1&&(c=l);let u=e.slice(o,c);if(u.length>s&&u[0]!==" "&&/ [^ \t]/.test(u)&&(a=!0),l===-1)break;o=l+1}a?t.style=Ve.FOLDED_BLOCK:r&&(t.style=Ve.LITERAL_BLOCK)}i(EAt,"tryLongOrMultilineAsBlock");function CAt(t){t.style===Ve.PLAIN&&!nv(t.allowedStylesMask,Ve.PLAIN)&&(t.style=gge(t))}i(CAt,"quoteInvalidPlain");function IAt(t){nv(t.allowedStylesMask,t.style)||(t.style=Ve.DOUBLE_QUOTED)}i(IAt,"fallbackToDoubleQuoted");var wAt="[\\x09\\x0A\\x0D\\x20-\\x7E\\x85\\xA0-\\uD7FF\\uE000-\\uFFFD\\u{10000}-\\u{10FFFF}]",SAt="[\\n\\r]",xAt="\\uFEFF",L4="[ \\t]",yge=`(?:(?!(?:${SAt}|${xAt}))${wAt})`,sv=`(?:(?!${L4})${yge})`,Ege="[\\x09\\x20-\\uD7FF\\uE000-\\uFFFF\\u{10000}-\\u{10FFFF}]",Cge="[-?:,\\[\\]{}#&*!|>'\"%@`]",bAt="[,\\[\\]{}]",N4=sv,T4=`(?:(?!${bAt})${sv})`,BAt=`(?:(?:(?!${Cge})${sv})|[?:-](?=${N4}))`,RAt=`(?:(?:(?!${Cge})${sv})|[?:-](?=${T4}))`,Ige=`(?:(?:(?![:#])${N4})|:(?=${N4}))#*`,wge=`(?:(?:(?![:#])${T4})|:(?=${T4}))#*`,Sge=`(?:${L4}*${Ige})*`,xge=`(?:${L4}*${wge})*`,bge=`${BAt}#*${Sge}`,Bge=`${RAt}#*${xge}`,NAt=bge,TAt=Bge,vAt=`\\n+${Ige}${Sge}`,PAt=`\\n+${wge}${xge}`,_At=`${bge}(?:${vAt})*`,QAt=`${Bge}(?:${PAt})*`,Igr=new RegExp(`^(?:${_At})$`,"u"),wgr=new RegExp(`^(?:${QAt})$`,"u"),Sgr=new RegExp(`^(?:${NAt})$`,"u"),xgr=new RegExp(`^(?:${TAt})$`,"u"),bgr=new RegExp(`^(?:${Ege})*$`,"u"),Bgr=new RegExp(`^(?:${Ege}|\\n)*$`,"u"),Rgr=new RegExp(`^(?:${yge}|\\n)*$`,"u");var DAt={indent:2,seqNoIndent:!1,seqInlineFirst:!0,lineWidth:80,flowBracketPadding:!1,flowSkipCommaSpace:!1,flowSkipColonSpace:!1,quoteFlowKeys:!1,quoteStyle:"single",forceQuotes:!1,scalarStyleRules:Object.keys(Khe).map(t=>Reflect.get(Khe,t)),tagBeforeAnchor:!1};var Ngr={...DAt,schema:bft,skipInvalid:!1,noRefs:!1,flowLevel:-1,sortKeys:!1,transform:i(()=>{},"transform")};var Tgr=jt.DOCUMENT,vgr=jt.SEQUENCE,Pgr=jt.MAPPING,_gr=jt.SCALAR,Qgr=jt.ALIAS,Dgr=jt.POP,kgr=Ve.PLAIN,Lgr=Ve.SINGLE_QUOTED,Ogr=Ve.DOUBLE_QUOTED,Mgr=Ve.LITERAL_BLOCK,Fgr=Ve.FOLDED_BLOCK,Ugr=pd.BLOCK,qgr=pd.FLOW,Ggr=Eo.CLIP,Hgr=Eo.STRIP,$gr=Eo.KEEP;var li=R(require("fs"),1),Ls=R(require("path"),1);var Dwe=R(gEe(),1);var gv=class t{static{i(this,"Git")}static protoRegexp=new RegExp("^[a-zA-Z0-9]+://");static supportedProtos={http:{},https:{},ssh:{},git:{}};static parseURL(e){let r=e.match(t.protoRegexp);if(r&&r.length>0){let n=r[0].toLowerCase();if(n=n.slice(0,n.lastIndexOf("://")),!(n in t.supportedProtos))throw new Error(`Invalid protocol: ${n}`);return t.fromURL(new URL(e))}throw new Error("Unknown protocol")}static fromURL(e){let r=new URL(e.toString());r.hash="";let n;return(e.username||e.password)&&(n={username:e.username,password:e.password,passwordSet:e.password!==""}),{scheme:e.protocol.slice(0,-1),user:n,host:`${e.hostname}${e.port?":"+e.port:""}`,path:e.pathname,fragment:t.splitGitFragment(e.hash),remote:r.toString()}}static splitGitFragment(e){if(e==="")return;let[r,n]=e.slice(1).split(":");return{ref:r,subdir:n}}static parseRef(e){let r={},n;if(e.startsWith("./")||e.startsWith("../"))throw new Error("Invalid argument");if(e.startsWith("github.com/"))r.indistinguishableFromLocal=!0,n=t.fromURL(new URL("https://"+e));else if(n=t.parseURL(e),["http","git"].includes(n.scheme)&&(r.unencryptedTCP=!0),["http","https"].includes(n.scheme)&&!n.path.endsWith(".git"))throw new Error("Invalid argument");r.remote=n.remote,r.indistinguishableFromLocal&&(r.remote=r.remote.split("://")[1]),n.fragment&&(r.commit=n.fragment.ref,r.subDir=n.fragment.subdir);let s=r.remote.split("/");return r.shortName=s[s.length-1].replace(".git",""),r}};var sY=R(require("fs"),1),LIe=R(require("os"),1),cw=R(require("path"),1);var cW=R(require("fs"),1),LEe=R(require("os"),1),OEe=R(require("path"),1),MEe=R(kEe(),1);var Cv=class t{static{i(this,"Context")}static _tmpDir=cW.default.mkdtempSync(OEe.default.join(t.ensureDirExists(process.env.RUNNER_TEMP||LEe.default.tmpdir()),"docker-actions-toolkit-"));static ensureDirExists(e){return cW.default.mkdirSync(e,{recursive:!0}),e}static tmpDir(){return t._tmpDir}static tmpName(e){return MEe.tmpNameSync(e)}};var Jl=class{static{i(this,"Exec")}static async exec(e,r,n){return T(`Exec.exec: ${e} ${r?.join(" ")}`),Uu(e,r,n)}static async getExecOutput(e,r,n){return T(`Exec.getExecOutput: ${e} ${r?.join(" ")}`),VE(e,r,n)}};var nY=R(require("crypto"),1),DIe=R(require("fs"),1),aw=R(require("path"),1),kIe=R(NIe(),1);var We=class t extends Error{static{i(this,"CsvError")}constructor(e,r,n,...s){Array.isArray(r)&&(r=r.join(" ").trim()),super(r),Error.captureStackTrace!==void 0&&Error.captureStackTrace(this,t),this.code=e;for(let o of s)for(let a in o){let c=o[a];this[a]=Buffer.isBuffer(c)?c.toString(n.encoding):c==null?c:JSON.parse(JSON.stringify(c))}}};var iw=i(function(t){return typeof t=="object"&&t!==null&&!Array.isArray(t)},"is_object");var sP=i(function(t){let e=[];for(let r=0,n=t.length;r<n;r++){let s=t[r];if(s==null||s===!1)e[r]={disabled:!0};else if(typeof s=="string"||typeof s=="number")e[r]={name:`${s}`};else if(iw(s)){if(typeof s.name!="string")throw new We(" Line truncated
`,a).length:p,u?(c===null?0:c.length)+l.length:0,u?l.length+p:0);return m<f},"__needMoreData"),parse:i(function(n,s,o,a){let{bom:c,comment_no_infix:l,delimiter_auto:u,encoding:d,from_line:p,ltrim:m,max_record_size:f,raw:A,relax_quotes:h,rtrim:E,skip_empty_lines:C,to:w,to_line:x}=this.options,{comment:b,escape:N,quote:P,record_delimiter:Q}=this.options,{bomSkipped:re,delimiterDiscovered:Ee,delimiterBufPrevious:ae,rawBuffer:qe,escapeIsQuote:ne}=this.state;if(!Ee&&u){let ut;if(ae===void 0?ut=n:ae!==void 0&&n===void 0?ut=ae:ut=Buffer.concat([ae,n]),n=void 0,s||ut.length>u.size)this.options.delimiter=[Buffer.from(PIe(ut,this.options.delimiter_auto))],this.state.previousBuf=ut,this.state.delimiterBufPrevious=void 0,this.state.delimiterDiscovered=!0;else{this.state.delimiterBufPrevious=ut;return}}let{previousBuf:X}=this.state,U;if(X===void 0)if(n===void 0){a();return}else U=n;else X!==void 0&&n===void 0?U=X:U=Buffer.concat([X,n]);if(re===!1)if(c===!1)this.state.bomSkipped=!0;else if(U.length<3){if(s===!1){this.state.previousBuf=U;return}}else{for(let ut in lg)if(lg[ut].compare(U,0,lg[ut].length)===0){let wa=lg[ut].length;this.state.bufBytesStart+=wa,U=U.slice(wa);let yu=cg({...this.original_options,encoding:ut});for(let rr in yu)this.options[rr]=yu[rr];({comment:b,escape:N,quote:P}=this.options);break}this.state.bomSkipped=!0}let St=U.length,Z;for(Z=0;Z<St&&!this.__needMoreData(Z,St,s);Z++){if(this.state.wasRowDelimiter===!0&&(this.info.lines++,this.state.wasRowDelimiter=!1),x!==-1&&this.info.lines>x){this.state.stop=!0,a();return}this.state.quoting===!1&&Q.length===0&&this.__autoDiscoverRecordDelimiter(U,Z)&&(Q=this.options.record_delimiter);let ut=U[Z];if(A===!0&&qe.append(ut),(ut===twt||ut===rwt)&&this.state.wasRowDelimiter===!1&&(this.state.wasRowDelimiter=!0),this.state.escaping===!0)this.state.escaping=!1;else{if(N!==null&&this.state.quoting===!0&&this.__isEscape(U,Z,ut)&&Z+N.length<St)if(ne){if(this.__isQuote(U,Z+N.length)){this.state.escaping=!0,Z+=N.length-1;continue}}else{this.state.escaping=!0,Z+=N.length-1;continue}if(this.state.commenting===!1&&this.__isQuote(U,Z))if(this.state.quoting===!0){let rr=U[Z+P.length],Sa=E&&this.__isCharTrimable(U,Z+P.length),zs=b!==null&&this.__compareBytes(b,U,Z+P.length,rr),pp=this.__isDelimiter(U,Z+P.length,rr),Ux=Q.length===0?this.__autoDiscoverRecordDelimiter(U,Z+P.length):this.__isRecordDelimiter(rr,U,Z+P.length);if(N!==null&&this.__isEscape(U,Z,ut)&&this.__isQuote(U,Z+N.length))Z+=N.length-1;else if(!rr||pp||Ux||zs||Sa){this.state.quoting=!1,this.state.wasQuoting=!0,Z+=P.length-1;continue}else if(h===!1){let dK=this.__error(new We("CSV_INVALID_CLOSING_QUOTE",["Invalid Closing Quote:",`got "${String.fromCharCode(rr)}"`,`at line ${this.info.lines}`,"instead of delimiter, record delimiter, trimable character","(if activated) or comment"],this.options,this.__infoField()));if(dK!==void 0)return dK}else this.state.quoting=!1,this.state.wasQuoting=!0,this.state.field.prepend(P),Z+=P.length-1}else if(this.state.field.length!==0){if(h===!1){let rr=this.__infoField(),Sa=Object.keys(lg).map(pp=>lg[pp].equals(this.state.field.toString())?pp:!1).filter(Boolean)[0],zs=this.__error(new We("INVALID_OPENING_QUOTE",["Invalid Opening Quote:",`a quote is found on field ${JSON.stringify(rr.column)} at line ${rr.lines}, value is ${JSON.stringify(this.state.field.toString(d))}`,Sa?`(${Sa} bom)`:void 0],this.options,rr,{field:this.state.field}));if(zs!==void 0)return zs}}else{this.state.quoting=!0,Z+=P.length-1;continue}if(this.state.quoting===!1){let rr=this.__isRecordDelimiter(ut,U,Z);if(rr!==0){if(this.state.commenting&&this.state.wasQuoting===!1&&this.state.record.length===0&&this.state.field.length===0)this.info.comment_lines++;else{if(this.state.enabled===!1&&this.info.lines+(this.state.wasRowDelimiter===!0?1:0)>=p){this.state.enabled=!0,this.__resetField(),this.__resetRecord(),Z+=rr-1;continue}if(C===!0&&this.state.wasQuoting===!1&&this.state.record.length===0&&this.state.field.length===0){this.info.empty_lines++,Z+=rr-1;continue}this.info.bytes=this.state.bufBytesStart+Z;let pp=this.__onField();if(pp!==void 0)return pp;this.info.bytes=this.state.bufBytesStart+Z+rr;let Ux=this.__onRecord(o);if(Ux!==void 0)return Ux;if(w!==-1&&this.info.records>=w){this.state.stop=!0,a();return}}this.state.commenting=!1,Z+=rr-1;continue}if(this.state.commenting)continue;if(b!==null&&(l===!1||this.state.record.length===0&&this.state.field.length===0)&&this.__compareBytes(b,U,Z,ut)!==0){this.state.commenting=!0;continue}let Sa=this.__isDelimiter(U,Z,ut);if(Sa!==0){this.info.bytes=this.state.bufBytesStart+Z;let zs=this.__onField();if(zs!==void 0)return zs;Z+=Sa-1;continue}}}if(this.state.commenting===!1&&f!==0&&this.state.record_length+this.state.field.length>f)return this.__error(new We("CSV_MAX_RECORD_SIZE",["Max Record Size:","record exceed the maximum number of tolerated bytes",`of ${f}`,`at line ${this.info.lines}`],this.options,this.__infoField()));let wa=m===!1||this.state.quoting===!0||this.sta Line truncated
`,o),Buffer.from(`
`,o),Buffer.from("\r",o)];e:for(let c=0;c<a.length;c++){let l=a[c].length;for(let u=0;u<l;u++)if(a[c][u]!==n[s+u])continue e;return this.options.record_delimiter.push(a[c]),this.state.recordDelimiterMaxLength=a[c].length,a[c].length}return 0},"__autoDiscoverRecordDelimiter"),__error:i(function(n){let{encoding:s,raw:o,skip_records_with_error:a}=this.options,c=typeof n=="string"?new Error(n):n;if(a){if(this.state.recordHasError=!0,this.options.on_skip!==void 0)try{this.options.on_skip(c,o?this.state.rawBuffer.toString(s):void 0)}catch(l){return l}return}else return c},"__error"),__infoDataSet:i(function(){return{...this.info,columns:this.options.columns}},"__infoDataSet"),__infoRecord:i(function(){let{columns:n,raw:s,encoding:o}=this.options;return{...this.__infoDataSet(),bytes_records:this.info.bytes,error:this.state.error,header:n===!0,index:this.state.record.length,raw:s?this.state.rawBuffer.toString(o):void 0}},"__infoRecord"),__infoField:i(function(){let{columns:n}=this.options,s=Array.isArray(n),o=this.info.bytes_records;return{...this.__infoRecord(),bytes_records:o,column:s===!0?n.length>this.state.record.length?n[this.state.record.length].name:null:this.state.record.length,quoting:this.state.wasQuoting}},"__infoField")}},"transform");var QIe=i(function(t,e={}){typeof t=="string"&&(t=Buffer.from(t));let r=e&&e.objname?Object.create(null):[],n=oP(e),s=i(c=>{n.options.objname===void 0?r.push(c):r[c[0]]=c[1]},"push"),o=i(()=>{},"close"),a=n.parse(t,!0,s,o);if(a!==void 0)throw a;return r},"parse");var hd=class t{static{i(this,"Util")}static getInputList(e,r){return this.getList(ki(e,{trimWhitespace:r?.trimWhitespace!==!1}),r)}static getList(e,r){let n=[];if(e=="")return n;let s=QIe(e,{columns:!1,relaxQuotes:!0,comment:r?.comment,comment_no_infix:r?.commentNoInfix,relaxColumnCount:!0,skipEmptyLines:!0,quote:r?.quote});for(let o of s)o.length==1?r?.ignoreComma?n.push(o[0]):n.push(...o[0].split(",")):r?.ignoreComma?n.push(o.join(",")):n.push(...o);return n.filter(o=>o).map(o=>r?.trimWhitespace===!1?o:o.trim())}static getInputNumber(e){let r=ki(e);if(r)return parseInt(r)}static async asyncForEach(e,r){for(let n=0;n<e.length;n++)await r(e[n],n,e)}static isValidURL(e){let r;try{r=new URL(e)}catch{return!1}return r.protocol==="http:"||r.protocol==="https:"}static isValidRef(e){if(t.isValidURL(e))return!0;for(let r of["git://","github.com/","git@"])if(e.startsWith(r))return!0;return!1}static async powershellCommand(e,r){let n=await ws("powershell",!0),s=e.replace(/'/g,"''").replace(/"|\n|\r/g,""),o=[];if(r)for(let a in r)o.push(`-${a} '${r[a].replace(/'/g,"''").replace(/"|\n|\r/g,"")}'`);return{command:`"${n}"`,args:["-NoLogo","-Sta","-NoProfile","-NonInteractive","-ExecutionPolicy","Unrestricted","-Command",`& '${s}' ${o.join(" ")}`]}}static isDirectory(e){try{return DIe.default.lstatSync(e).isDirectory()}catch{}return!1}static trimPrefix(e,r){return!e||!r||e.indexOf(r)!==0?e:e.substring(r.length)}static trimSuffix(e,r){if(!e||!r)return e;let n=e.lastIndexOf(r);return n===-1||n+r.length!==e.length?e:e.substring(0,n)}static sleep(e){return new Promise(r=>setTimeout(r,e*1e3))}static hash(e){return nY.default.createHash("sha256").update(e).digest("hex")}static parseBool(e){if(e===void 0)return!1;switch(e){case"1":case"t":case"T":case"true":case"TRUE":case"True":return!0;case"0":case"f":case"F":case"false":case"FALSE":case"False":return!1;default:throw new Error(`parseBool syntax error: ${e}`)}}static parseBoolOrDefault(e,r=!1){try{return this.parseBool(e)}catch{return r}}static formatFileSize(e){if(e===0)return"0 Bytes";let r=1024,n=["Bytes","KB","MB","GB","TB","PB","EB","ZB","YB"],s=Math.floor(Math.log(e)/Math.log(r));return parseFloat((e/Math.pow(r,s)).toFixed(2))+" "+n[s]}static generateRandomString(e=10){return nY.default.randomBytes(Math.ceil(e/2)).toString("hex").slice(0,e)}static compileHandlebars(e,r,n){return kIe.default.compile(e,r)(n)}static stringToUnicodeEntities(e){return Array.from(e).map(r=>`&#x${r.charCodeAt(0).toString(16)};`).join("")}static countLines(e){return e.split(/\r\n|\r|\n/).length}static isPathRelativeTo(e,r){let n=aw.default.resolve(e);return aw.default.resolve(r).startsWith(n.endsWith(aw.default.sep)?n:`${n}${aw.default.sep}`)}static formatDuration(e){if(e===0)return"0s";let r=Math.floor(e/1e9),n=Math.floor(r/3600),s=Math.floor(r%3600/60),o=r%60,a=[];return n&&a.push(`${n}h`),s&&a.push(`${s}m`),(o||a.length===0)&&a.push(`${o}s`),a.join("")}};var gd=class t{static{i(this,"Docker")}static get configDir(){return process.env.DOCKER_CONFIG||cw.default.join(LIe.default.homedir(),".docker")}static configFile(){let e=cw.default.join(t.configDir,"config.json");if(sY.default.existsSync(e))return JSON.parse(sY.default.readFileSync(e,{encoding:"utf-8"}))}static async isAvailable(){return await ws("docker",!0).then(e=>(T(`Docker.isAvailable ok: ${e}`),!0)).catch(e=>(T(`Docker.isAvailable error: ${e}`),!1))}static async isDaemonRunning(){try{return await t.getExecOutput(["version"],{silent:!0}),!0} Line truncated
`+t.errors.map(e=>` - ${e.message}`).join(`