import {J,a5 as fh,q6 as ci,ae as x,c as tS,eO as Es,H as ul,ah as ot,ai as o$1,q7 as rt,aa as ye,eR as mh,N as Sr,ad as ce}from'./main-WUGO6e7n.js';var X,A=J(()=>{fh();ci();x();tS();Es();ul();X=(()=>{class s{constructor(e,t){this.pamAssetServices=e,this.translatorService=t;}getPamFolderCheckoutPoliciesAssignments(){return this.pamAssetServices.PamCheckoutPolicies_GetPamFolderCheckoutPoliciesAssignments().pipe(ot(e=>e.result===o$1.Success?e.data:[]))}getFolderContentSummary(e){return this.pamAssetServices.PamFolders_GetPamFolderContentSummary(e)}buildDeleteFolderMessage(e,t=null){let r="";return t=new rt(t),t.folderCount+t.credentialCount>0&&(r+="<p>"+this.translatorService.translate("PamFolderNotEmpty"),r+="<br />",r+="- "+this.translatorService.translate("PamXFolders",t.folderCount)+"<br />",r+="- "+this.translatorService.translate("PamXAccounts",t.credentialCount)+"<br />",r+="- "+this.translatorService.translate("PamXActiveCheckouts",t.checkoutActiveCount)+"<br />",r+="- "+this.translatorService.translate("PamXPendingCheckouts",t.checkoutPendingCount)+"<br />",r+="- "+this.translatorService.translate("PamXGrantedCheckouts",t.checkoutGrantedCount)+"<br /></p>"),r+=this.translatorService.translate("AreYouSureYouWantToDelete",e),r}static{this.\u0275fac=function(t){return new(t||s)(ye(mh),ye(Sr))};}static{this.\u0275prov=ce({token:s,factory:s.\u0275fac,providedIn:"root"});}}return s})();});export{A,X};