require('./sourcemap-register.js');module.exports=function(e,t){"use strict";vara={};function__webpack_require__(t){if(a[t]){returna[t].exports}vari=a[t]={i:t,l:false,exports:{}};varn=true;try{e[t].call(i.exports,i,i.exports,__webpack_require__);n=false}finally{if(n)deletea[t]}i.l=true;returni.exports}__webpack_require__.ab=__dirname+"/";functionstartup(){return__webpack_require__(131)}returnstartup()}([function(e,t,a){"use strict";vari=this&&this.__createBinding||(Object.create?function(e,t,a,i){if(i===undefined)i=a;Object.defineProperty(e,i,{enumerable:true,get:function(){returnt[a]}})}:function(e,t,a,i){if(i===undefined)i=a;e[i]=t[a]});varn=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:true,value:t})}:function(e,t){e["default"]=t});varo=this&&this.__importStar||function(e){if(e&&e.__esModule)returne;vart={};if(e!=null)for(varaine)if(a!=="default"&&Object.prototype.hasOwnProperty.call(e,a))i(t,e,a);n(t,e);returnt};vars=this&&this.__awaiter||function(e,t,a,i){functionadopt(e){returneinstanceofa?e:newa(function(t){t(e)})}returnnew(a||(a=Promise))(function(a,n){functionfulfilled(e){try{step(i.next(e))}catch(e){n(e)}}functionrejected(e){try{step(i["throw"](e))}catch(e){n(e)}}functionstep(e){e.done?a(e.value):adopt(e.value).then(fulfilled,rejected)}step((i=i.apply(e,t||[])).next())})};varr=this&&this.__importDefault||function(e){returne&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:true});t.ConfigurationCacheEntryExtractor=t.GradleHomeEntryExtractor=void0;constp=r(a(622));constl=r(a(747));constc=o(a(470));constd=o(a(281));constu=a(101);constm=a(452);constf="GRADLE_BUILD_ACTION_SKIP_RESTORE";classExtractedCacheEntry{constructor(e,t,a){this.artifactType=e;this.pattern=t;this.cacheKey=a}}classExtractedCacheEntryMetadata{constructor(){this.entries=[]}}classExtractedCacheEntryDefinition{constructor(e,t,a){this.uniqueFileNames=true;this.artifactType=e;this.pattern=t;this.bundle=a}withNonUniqueFileNames(){this.uniqueFileNames=false;returnthis}}classAbstractEntryExtractor{constructor(e,t){this.gradleUserHome=e;this.extractorName=t}restore(e){returns(this,void0,void0,function*(){constt=this.loadExtractedCacheEntries();consta=[];for(constioft){constt=i.artifactType;constn=e.entry(i.pattern);consto=process.env[f]||"";if(o.includes(t)){c.info(`Not restoring extracted cache entry for ${t}`);n.markRequested("SKIP_RESTORE")}else{a.push(this.awaitForDebugging(this.restoreExtractedCacheEntry(t,i.cacheKey,i.pattern,n)))}}this.saveMetadataForCacheResults(yieldPromise.all(a))})}restoreExtractedCacheEntry(e,t,a,i){returns(this,void0,void0,function*(){i.markRequested(t);constn=yield(0,m.restoreCache)([a],t);if(n){c.info(`Restored ${e} with key ${t} to ${a}`);i.markRestored(n.key,n.size);returnnewExtractedCacheEntry(e,a,t)}else{c.info(`Did not restore ${e} with key ${t} to ${a}`);returnnewExtractedCacheEntry(e,a,undefined)}})}extract(e){returns(this,void0,void0,function*(){constt=this.getExtractedCacheEntryDefinitions();(0,m.cacheDebug)(`Extracting cache entries for ${this.extractorName}: ${JSON.stringify(t,null,2)}`);consta=this.loadExtractedCacheEntries();consti=[];for(constnoft){constt=n.artifactType;consto=n.pattern;consts=yieldd.create(o,{implicitDescendants:false,followSymbolicLinks:false});constr=yields.glob();if(r.length===0){(0,m.cacheDebug)(`No files found to cache for ${t}`);continue}if(n.bundle){i.push(this.awaitForDebugging(this.saveExtractedCacheEntry(r,t,o,n.uniqueFileNames,a,e.entry(o))))}else{for(constoofr){i.push(this.awaitForDebugging(this.saveExtractedCacheEntry([o],t,o,n.uniqueFileNames,a,e.entry(o))))}}}this.saveMetadataForCacheResults(yieldPromise.all(i))})}saveExtractedCacheEntry(e,t,a,i,n,o){varr;returns(this,void0,void0,function*(){consts=i?this.createCacheKeyFromFileNames(t,e):yieldthis.createCacheKeyFromFileContents(t,a);constp=(r=n.find(e=>e.artifactType===t&&e.pattern===a))===null||r===void0?void0:r.cacheKey;if(p===s){(0,m.cacheDebug)(`No