Server : Apache/2.4.43 (Win64) OpenSSL/1.1.1g PHP/7.4.6
System : Windows NT USER-PC 6.1 build 7601 (Windows 7 Professional Edition Service Pack 1) AMD64
User : User ( 0)
PHP Version : 7.4.6
Disable Function : NONE
Directory :  C:/Program Files/Avast Software/Avast/gui_resources/default_av/
Upload File :
Current Directory [ Writeable ] Root Directory [ Writeable ]


Current File : C:/Program Files/Avast Software/Avast/gui_resources/default_av/VirusChest.js
//{"name":"VirusChest","version":"1.2.375","created":"2021-03-09T11:50:30.545Z"}
import e from"./ractive.js";import{eventer as t,napiTracker as s,serviceRequest as i}from"./napi.js";import{moment as l,nls as o}from"./i18n.js";import{logger as r}from"./libs.js";const a={v:3,t:[{t:4,f:[{t:7,e:"Modal",a:{cssCls:"nui_modal",autoClose:0,title:[{t:2,x:{r:["nls","clickedItem","clickedItem.id","selectedIds.length"],s:'_0("viruschest.confirmDelete.title",_1&&_2?1:_3)'}}]},f:[{t:7,e:"p",a:{class:"p"},f:[{t:2,x:{r:["nls","clickedItem","clickedItem.id","selectedIds.length"],s:'_0("viruschest.confirmDelete.text",_1&&_2?1:_3)'}}]}," ",{t:7,e:"div",a:{class:"modal__actions"},f:[{t:7,e:"button",a:{type:"button",class:"btn -primary"},v:{click:"delete"},f:[{t:2,x:{r:["nls"],s:'_0("viruschest.confirmDelete.btn")'}}]}," ",{t:7,e:"button",a:{type:"button",class:"btn -secondary"},v:{click:"Modal.close"},f:[{t:2,x:{r:["nls"],s:'_0("viruschest.cancelDelete.btn")'}}]}]}]}],n:50,x:{r:["modal"],s:'_0==="deleteConfirmModal"'}},{t:4,f:[{t:7,e:"Modal",a:{cssCls:"nui_modal",autoClose:0,title:[{t:2,x:{r:["nls"],s:'_0("viruschest.sent.title")'}}]},f:[{t:7,e:"p",a:{class:"p"},f:[{t:2,x:{r:["nls"],s:'_0("viruschest.sent.text")'}}]}," ",{t:7,e:"div",a:{class:"modal__actions"},f:[{t:7,e:"button",a:{type:"button",class:"btn -secondary"},v:{click:"Modal.close"},f:[{t:2,x:{r:["nls"],s:'_0("global.close")'}}]}]}]}],n:50,x:{r:["modal"],s:'_0==="analysisConfirmationModal"'}},{t:4,f:[{t:7,e:"Modal",a:{cssCls:"nui_modal",autoClose:0,title:[{t:2,x:{r:["nls","filesSentToRestoreCount"],s:'_0("viruschest.filesRestored.title",_1)'}}]},f:[{t:7,e:"p",a:{class:"p"},f:[{t:2,x:{r:["nls","filesSentToRestoreCount"],s:'_0("viruschest.filesRestored.text",_1)'}}]}," ",{t:7,e:"div",a:{class:"modal__actions"},f:[{t:7,e:"button",a:{type:"button",class:"btn -secondary"},v:{click:"Modal.close"},f:[{t:2,x:{r:["nls"],s:'_0("global.close")'}}]}]}]}],n:50,x:{r:["modal"],s:'_0==="filesRestoredModal"'}},{t:4,f:[{t:7,e:"Modal",a:{cssCls:"nui_modal",title:[{t:3,x:{r:["nls","currentRestoringThreat.name"],s:'_0("viruschest.restore.modalTitle",_1)'}}]},f:[{t:7,e:"p",a:{class:"p"},f:[{t:3,x:{r:["nls"],s:'_0("viruschest.restore.modalCaption")'}}]}," ",{t:7,e:"div",a:{class:"modal__actions"},f:[{t:7,e:"button",a:{type:"button",class:"btn -secondary"},v:{click:{n:"Restore.rewrite",d:[{t:2,r:"currentRestoringThreat.itemUID"}]}},f:[{t:3,x:{r:["nls"],s:'_0("global.rewrite")'}}]}," ",{t:4,f:[{t:7,e:"button",a:{type:"button",class:"btn -secondary"},v:{click:"Restore.skip"},f:[{t:3,x:{r:["nls"],s:'_0("global.skip")'}}]}],n:50,x:{r:["existingThreatsToRestore.length"],s:"_0>0"}}," ",{t:7,e:"button",a:{type:"button",class:"btn -secondary"},v:{click:"Modal.close"},f:[{t:3,x:{r:["nls"],s:'_0("global.cancel")'}}]}]}]}],n:50,r:"currentRestoringThreat"},{t:4,f:[{t:7,e:"Modal",a:{cssCls:"nui_modal modal_error",titleCssCls:"color-danger -text",title:[{t:3,x:{r:["nls"],s:'_0("viruschest.errorRestoreModal.title")'}}]},f:[{t:7,e:"p",a:{class:"p"},f:[{t:3,x:{r:["nls"],s:'_0("viruschest.errorRestoreModal.caption")'}}]}," ",{t:7,e:"div",a:{class:"modal__actions"},f:[{t:7,e:"button",a:{type:"button",class:"btn -secondary"},v:{click:"Modal.close"},f:[{t:3,x:{r:["nls"],s:'_0("global.close")'}}]}]}]}],n:50,x:{r:["modal"],s:'_0==="errorRestoreModal"'}},{t:4,f:[{t:7,e:"Modal",a:{cssCls:"nui_modal modal_error",title:[{t:3,x:{r:["nls"],s:'_0("viruschest.restore.atLeastOneTitle")'}}]},f:[{t:7,e:"p",a:{class:"p"},f:[{t:3,x:{r:["nls"],s:'_0("viruschest.filesRestored.text",2)'}}]}," ",{t:7,e:"div",a:{class:"modal__actions"},f:[{t:7,e:"button",a:{type:"button",class:"btn -secondary"},v:{click:"Modal.close"},f:[{t:3,x:{r:["nls"],s:'_0("global.close")'}}]}]}]}],n:50,x:{r:["modal"],s:'_0==="someItemsRestoredModal"'}},{t:4,f:[{t:7,e:"Modal",a:{cssCls:"nui_modal"},f:[{t:7,e:"Module",a:{name:"Feedback",view:"analysis",params:[{t:2,r:"sendForAnalysisData"}]}}]}],n:50,x:{r:["modal"],s:'_0==="sendForAnalysisModal"'}}]};const n={title:"viruschest",desc:"viruschest.settings.desc",maxSize:"viruschest.settings.maxSize.label",mb:"global.sizeUnits.megabyte.standalone"},d={maxSize:{label:o(n.maxSize),path:"avcfg://settings/Chest/MaxSize",minValue:0,required:!0,track:{subject:"Max size"},search:n.maxSize}},c={title:n.title,desc:n.desc,items:d},h=e.extend({template:{v:3,t:[{t:7,e:"SettingsContainer",a:{noInstall:"true",noEnable:"true",title:[{t:3,x:{r:["nls","STRINGS.title"],s:"_0(_1)"}}],desc:[{t:3,x:{r:["nls","STRINGS.desc"],s:"_0(_1)"}}]},f:[{t:7,e:"SettingsTextInput",a:{property:[{t:2,r:"properties.maxSize"}],labelSmall:0},f:[],p:{labelRight:[{t:7,e:"span",a:{class:"g-margin-left--5"},f:[{t:3,x:{r:["nls","STRINGS.mb"],s:"_0(_1)"}}]}]}}]}]},data:()=>({STRINGS:n,properties:d})}),m=[{path:"avcfg://settings/Communication/MaximumSendSize",label:"Maximum size of file to be sent",type:"number",minValue:0,unit:"KB"}],u=function(o){return e.extend({template:o,css:".vch_table__header,\n.vch_table__row {\n  grid-template-columns: 22% 22% 24% 24% 8%;\n}\n.vch_title {\n  padding-bottom: 20px;\n  text-align: center;\n}\n.vch_icon {\n  font-size: 160px;\n  margin-bottom: 30px;\n}\n.modal__title {\n  word-wrap: break-word;\n}\n",partials:{modals:a},data:function(){return{threats:[],selectedIds:[],clickedItem:null,modal:null,filesSentToRestoreCount:0,scrolledOut:!1,existingThreatsToRestore:[],currentRestoringThreat:{},someItemsRestored:!1,hasAllSelected:!1,hasSomeSelected:!1,loading:!0}},oninit(){this.listeners=[],this.listeners.push(t.on("app.virusChest.onStatusChanged",(()=>{this._getStatusAndUpdate()}))),this._deselectAll=function(){this._hideButtonDrop();this.get("threats").forEach((e=>{e.selected=!1})),this.update("threats")},this._deselectAllBind=this._deselectAll.bind(this),window.addEventListener("kin-deselectAll",this._deselectAllBind),this.log=r.createLogger("viruschest"),this._getStatusAndUpdate(),this.observe("threats",(e=>{const t=((e=e||[]).filter((e=>e.selected))||[]).map((e=>e.itemUID));this.fire("threatsCount",e.length),setTimeout((()=>{this.set({selectedIds:t,hasSomeSelected:t.length>0&&t.length<=e.length,hasAllSelected:t.length===e.length&&e.length>0})}))})),this.on("toggle",(e=>{const t=this.get(e.keypath);t.selected=!t.selected,this.set(e.keypath,t)})),this.on("toggleAll",(()=>{const e=this.get("threats"),t=0===this.get("selectedIds").length;e.forEach((e=>{e.selected=t})),this.update("threats")})),this.on("restoreSingle",(e=>{this._setClickedId(e),this.set("filesSentToRestoreCount",1),this._restoreThreats(),this._hideButtonDrop(),s.event("Virus Chest","restore")})),this.on("restore",(()=>{this.set("filesSentToRestoreCount",this.get("selectedIds").length),this._restoreThreats(),this._hideButtonDrop(),s.event("Virus Chest","restore")})),this.on("restoreAndIgnoreSingle",(e=>{this._setClickedId(e),this.set("filesSentToRestoreCount",1),this._restoreThreats(void 0,!0),this._hideButtonDrop(),s.event("Virus Chest","restoreIgnore")})),this.on("restoreAndIgnore",(()=>{this.set("filesSentToRestoreCount",this.get("selectedIds").length),this._restoreThreats(void 0,!0),this._hideButtonDrop(),s.event("Virus Chest","restoreIgnore")})),this.on("extractSingle",(e=>{this._setClickedId(e),i("app.utils.SelectFolder").then((e=>{const t=e.replace(/"/g,"");this.set("filesSentToRestoreCount",1),this._restoreThreats(t),this._hideButtonDrop(),s.event("Virus Chest","extract")}))})),this.on("extract",(()=>{i("app.utils.SelectFolder").then((e=>{const t=e.replace(/"/g,"");this.set("filesSentToRestoreCount",this.get("selectedIds").length),this._restoreThreats(t),this._hideButtonDrop(),s.event("Virus Chest","extract")}))})),this.on("requestDeleteConfirm",(()=>{this.set("modal","deleteConfirmModal")})),this.on("requestDeleteConfirmSingle",(e=>{this._setClickedId(e),this.set("modal","deleteConfirmModal")})),this.on("delete",(()=>{s.event("Virus Chest","delete");const e=this.get("clickedItem");let t=this.get("selectedIds");e&&e.id&&(t=[e.id],this._removeClickedIdFromSelectedIds()),i("app.virusChest.Delete",t).then(this._getStatusAndUpdate.bind(this)).then(this._hideButtonDrop.bind(this)),this.fire("Modal.close")})),this.on("Modal.close",(()=>{this._getStatusAndUpdate(),this.set({modal:null,existingThreatsToRestore:[],currentRestoringThreat:{}}),this.get("clickedItem")&&this.set("clickedItem",null),this.get("someItemsRestored")&&this.set({modal:"someItemsRestoredModal",someItemsRestored:!1})})),this.on("sendToAnalyseSingle",(e=>(this._setClickedId(e),s.event("Virus Chest","send to analysis"),this._submitAll()))),this.on("sendToAnalyse",(()=>(s.event("Virus Chest","send to analysis"),this._submitAll()))),this.on("addFile",(()=>{i("app.utils.SelectFile",{fileName:"",filter:"*.*|*.*|*.exe|*.exe||",multiselection:!0}).then((e=>{if("ok"===e.dialogReturnCode){const t=[];s.event("Virus Chest","add file"),e.pathNameList?e.pathNameList.forEach((e=>{t.push(i("app.virusChest.Add",e))})):t.push(i("app.virusChest.Add",e.pathName)),Promise.all(t).then(this._getStatusAndUpdate.bind(this)).catch(this._getStatusAndUpdate.bind(this))}}))})),this.on("Restore.rewrite",((e,t)=>{const s=this.get("threats").filter((e=>e.itemUID===t))[0];this._restoreThreat(s).then(this._getStatusAndUpdate.bind(this)).then(this._displayNextExistingThreatModal.bind(this)).catch((e=>{this.log.error("An error while rewriting restored threat, error: ",JSON.stringify(e)),this.set({currentRestoringThreat:{},modal:"errorRestoreModal"})}))})),this.on("Restore.skip",(()=>{this.get("threats").find((e=>e.itemUID===this.get("currentRestoringThreat").itemUID)).selected=!1,this.update("threats"),this._displayNextExistingThreatModal()})),this.on("*.AnalysisClose",(()=>this.fire("Modal.close"))),this.on("*.goBack",(()=>{location.hash="#VirusChest"}))},onteardown(){this.objectIsDead=!0,window.removeEventListener("kin-deselectAll",this._deselectAllBind),this._deselectAllBind=void 0,this.listeners.forEach((e=>{e()}))},_setClickedId(e){e&&e.context&&e.context.itemUID&&e.keypath?this.set("clickedItem",{id:e.context.itemUID,path:e.keypath}):console.error("Missing itemUID")},_removeClickedId(){this.set("clickedItem",null)},_removeFromSelectedIds(){const e=this.get("clickedItem"),t=this.get("selectedIds");if(e&&t.includes(e.id)){const{id:s,path:i}=e,l=this.get(i);l.selected=!1,t.splice(t.indexOf(s),1),this.set("selectedIds",t),this.set(i,l)}},_removeClickedIdFromSelectedIds(){this._removeFromSelectedIds(),this._removeClickedId()},_hideButtonDrop(){const e=this.findAllComponents("ButtonDrop");for(const t of e)t.dropHide()},_getStatusAndUpdate(){return i("app.virusChest.GetStatus").then(this._updateThreats.bind(this))},_updateThreats(e){if(this.objectIsDead)return;e.Items.forEach((e=>{const t=l(1e3*e.transferTime);e.selected=this.get("selectedIds").includes(e.itemUID),e.time=t.format("lll")})),e.Items.sort(((e,t)=>t.transferTime-e.transferTime));const t=this.get("threats");t.splice(0,t.length),t.push(...e.Items),this.update("threats"),this.set({selectedIds:[],loading:!1})},_submitAll(){s.event("Virus Chest","send to analysis"),this._submitCefAnalysis()},_submitCefAnalysis(){let e=this.get("threats").filter((e=>e.selected));const t=this.get("clickedItem");t&&t.id&&t.path&&(e=[this.get(t.path)]),this.set({modal:"sendForAnalysisModal",sendForAnalysisData:{threats:e,isModal:!0,analysisType:0}}),this._hideButtonDrop(),this._removeClickedId()},_restoreThreats(e,t=!1){let s=this.get("threats").filter((e=>e.selected));const l=this.get("clickedItem");if(l&&l.path){s=[this.get(l.path)]}const o=s.map((s=>(e&&0==e.length&&(e=void 0),i("app.utils.FileExists",(e||s.dirPath)+"\\"+s.name).then((i=>this._processExistingThreat({threat:s,threatExists:i,customPath:e,ignore:t}))))));Promise.all(o).then((()=>{e?this._removeClickedId():this._removeClickedIdFromSelectedIds(),this._getStatusAndUpdate(),this._displayNextExistingThreatModal()})).catch((e=>{this.log.error("An error occured while threat restoring, error:",JSON.stringify(e)),this.set({modal:"errorRestoreModal"})}))},_processExistingThreat(e){return e.threatExists?this.push("existingThreatsToRestore",e.threat):this._restoreThreat(e.threat,e.customPath,e.ignore)},_restoreThreat(e,t,s=!1){let l;return l=t?i("app.virusChest.Extract",{dstFolderPath:t,itemUIDList:[e.itemUID]}).then((()=>{this.set("someItemsRestored",!0)})):i("app.virusChest.Restore",[e.itemUID]).then((()=>{this.set("someItemsRestored",!0)})),s?l.then(i("app.utils.AddExclusion",{property:"avcfg://exclusions/Global/ExcludeFiles",exclusion:t||e.dirPath+"\\"+e.name})):l},_displayNextExistingThreatModal(){const e=this.get("existingThreatsToRestore").pop();this.set("currentRestoringThreat",e),void 0===e&&this.set({modal:"filesRestoredModal",someItemsRestored:!1})}})}({v:3,t:[{t:8,r:"modals"}," ",{t:7,e:"Page",a:{heading:[{t:3,x:{r:["nls"],s:'_0("viruschest")'}}],cssCls:"vch",settingsUrl:"#Settings/VirusChest",backHash:"#security"},f:[{t:7,e:"div",a:{slot:"breadcrumbs"},f:[{t:7,e:"Crumbs",a:{customBreadcrumbs:["[{title: ",{t:3,x:{r:["nls"],s:'_0("security")'}},", url: '#security', section: true}, {title:'",{t:3,x:{r:["nls"],s:'_0("viruschest")'}},"'}]"]}}]}," ",{t:7,e:"div",a:{slot:"controls"}}," ",{t:7,e:"div",a:{slot:"page-content"},f:[{t:7,e:"kin-view",a:{disabled:"false",upsell:"false",loading:[{t:2,r:"loading"}]},f:[{t:7,e:"div",a:{slot:"description"},f:[{t:7,e:"p",a:{class:"kin_description__text"},f:[{t:3,x:{r:["nls"],s:'_0("viruschest.desc")'}}]}]}," ",{t:7,e:"div",a:{slot:"cta"},f:[{t:7,e:"kin-button",v:{click:"addFile"},a:{"data-test":"vch_addFile"},f:[{t:3,x:{r:["nls"],s:'_0("viruschest.action.addFile.label")'}}]}]}," ",{t:7,e:"div",a:{slot:"view-content"},f:[{t:7,e:"kin-table",a:{datalength:[{t:2,r:"threats.length"}],selecteditems:[{t:2,r:"selectedIds.length"}]},f:[{t:7,e:"div",a:{slot:"table-header",role:"row",class:"vch_table__header"},f:[{t:7,e:"input",a:{type:"checkbox",class:["checkbox ",{t:4,f:["-some-checked"],n:50,x:{r:["hasSomeSelected","hasAllSelected"],s:"_0&&!_1"}}," ",{t:4,f:["-checked"],n:50,r:"hasAllSelected"}],checked:[{t:4,f:["true"],n:50,x:{r:["hasSomeSelected","threats.length"],s:"_0&&_1"}},{t:4,n:51,f:["false"],x:{r:["hasSomeSelected","threats.length"],s:"_0&&_1"}}],title:[{t:2,x:{r:["nls"],s:'_0("global.selectAllItems")'}}]},v:{click:"toggleAll"},m:[{t:4,f:["disabled"],n:50,x:{r:["threats.length"],s:"_0===0"}}]}," ",{t:7,e:"div",a:{role:"columnheader"},f:[{t:3,x:{r:["nls"],s:'_0("viruschest.tableHeader.threadName")'}}]}," ",{t:7,e:"div",a:{role:"columnheader"},f:[{t:3,x:{r:["nls"],s:'_0("viruschest.tableHeader.infectedFile")'}}]}," ",{t:7,e:"div",a:{role:"columnheader"},f:[{t:3,x:{r:["nls"],s:'_0("viruschest.tableHeader.originalLocation")'}}]}," ",{t:7,e:"div",a:{role:"columnheader"},f:[{t:3,x:{r:["nls"],s:'_0("viruschest.tableHeader.dateFound")'}}]}," ",{t:7,e:"div"}]}," ",{t:7,e:"div",a:{slot:"table-body"},f:[{t:4,f:[{t:7,e:"div",a:{role:"row",class:"kin_table__row vch_table__row","data-test":["table-row-",{t:2,r:"@index"}],"aria-rowindex":[{t:2,r:"@index"}]},f:[{t:7,e:"input",a:{type:"checkbox",checked:[{t:2,r:"selected"}],class:"checkbox",title:[{t:2,x:{r:["nls"],s:'_0("global.selectItem")'}}," - ",{t:2,r:"name"}]}}," ",{t:7,e:"div",a:{class:"kin_table__name",dir:"ltr"},f:[{t:7,e:"span",a:{class:"g-ellipsis",id:["virusDesc-tooltip-",{t:2,r:"@index"}]},f:[{t:2,r:"virusDesc"}]}," ",{t:7,e:"Tooltip",a:{openerSelector:["#virusDesc-tooltip-",{t:2,r:"@index"}],showOnEllipsis:"true",cssCls:"-link",position:"bottom",alignment:"left"},f:[{t:2,r:"virusDesc"}]}]}," ",{t:7,e:"div",a:{dir:"ltr"},f:[{t:7,e:"span",a:{class:"g-ellipsis",id:["name-tooltip-",{t:2,r:"@index"}]},f:[{t:2,r:"name"}]}," ",{t:7,e:"Tooltip",a:{openerSelector:["#name-tooltip-",{t:2,r:"@index"}],showOnEllipsis:"true",cssCls:"-link",position:"bottom",alignment:"left"},f:[{t:2,r:"name"}]}]}," ",{t:7,e:"div",a:{dir:"ltr"},f:[{t:7,e:"span",a:{class:"g-ellipsis",id:["dirPath-tooltip-",{t:2,r:"@index"}]},f:[{t:2,r:"dirPath"}]}," ",{t:7,e:"Tooltip",a:{openerSelector:["#dirPath-tooltip-",{t:2,r:"@index"}],showOnEllipsis:"true",cssCls:"-link",position:"bottom",alignment:"left"},f:[{t:2,r:"dirPath"}]}]}," ",{t:7,e:"div",f:[{t:2,r:"time"}]}," ",{t:7,e:"div",a:{class:"kin_table__actions"},f:[{t:7,e:"kin-dropdown",f:[{t:7,e:"span",a:{slot:"dropdown-activator"},f:[{t:7,e:"kin-button",a:{icononly:0,type:"blank",size:"small",class:["moreOptions-tooltip-",{t:2,r:"@index"}],title:[{t:2,x:{r:["nls"],s:'_0("global.moreOptions")'}}],"data-test":"kin_table-item-options"},f:[{t:7,e:"kin-icon",a:{name:"icon-s-controls-menu-more",size:"14"}}]}]}," ",{t:4,f:[{t:7,e:"kin-dropdown-item",v:{click:"restoreSingle"},a:{"data-test":"vch_restore"},f:[{t:2,x:{r:["nls"],s:'_0("viruschest.action.restore.label")'}}]}," ",{t:7,e:"kin-dropdown-item",v:{click:"restoreAndIgnoreSingle"},a:{"data-test":"vch_restore_exception"},f:[{t:2,x:{r:["nls"],s:'_0("viruschest.action.restoreIgnore.label")'}}]}],n:50,x:{r:["restorable"],s:"_0!==false"}}," ",{t:7,e:"kin-dropdown-item",v:{click:"extractSingle"},a:{index:[{t:2,r:"@index"}],"data-test":"vch_extract"},f:[{t:2,x:{r:["nls"],s:'_0("viruschest.action.extract.label")'}}]}," ",{t:7,e:"kin-dropdown-item",v:{click:"sendToAnalyseSingle"},a:{"data-test":"vch_sendToAnalyse"},f:[{t:2,x:{r:["nls"],s:'_0("viruschest.action.sendToAnalyse.label")'}}]}]}," ",{t:7,e:"kin-button",v:{click:"requestDeleteConfirmSingle"},a:{"data-test":"requestDeleteConfirm",icononly:0,type:"blank",size:"small",id:["delete-tooltip-",{t:2,r:"@index"}],title:[{t:2,x:{r:["nls"],s:'_0("global.delete")'}}]},f:[{t:7,e:"kin-icon",a:{name:"icon-s-controls-bin",size:"14"}}]}," ",{t:7,e:"Tooltip",a:{openerSelector:["#delete-tooltip-",{t:2,r:"@index"}],position:"top",alignment:"center"},f:[{t:3,x:{r:["nls"],s:'_0("global.delete")'}}]}," ",{t:7,e:"Tooltip",a:{openerSelector:[".moreOptions-tooltip-",{t:2,r:"@index"}],cssCls:"-link",position:"top",alignment:"center"},f:[{t:3,x:{r:["nls"],s:'_0("global.moreOptions")'}}]}]}]}],n:52,r:"threats"}]}," ",{t:7,e:"div",a:{slot:"table-empty-icon",class:"svg -empty-table"}}," ",{t:7,e:"div",a:{slot:"table-empty"},f:[{t:7,e:"p",f:[{t:3,x:{r:["nls"],s:'_0("viruschest.empty.desc.1")'}}]}," ",{t:7,e:"p",f:[{t:3,x:{r:["nls"],s:'_0("viruschest.empty.desc.2")'}}]}]}]}]}," ",{t:7,e:"div",a:{slot:"view-actions"},f:[{t:7,e:"div",a:{class:"kin_actions__left"},f:[{t:3,x:{r:["nls","selectedIds.length"],s:'_0("viruschest.threatsSelected",_1)'}}]}," ",{t:7,e:"div",f:[{t:7,e:"kin-button",v:{click:"requestDeleteConfirm"},a:{"data-test":"vch_table_mainCTA",size:"small"},f:[{t:2,x:{r:["hasAllSelected","nls"],s:'_0?_1("global.deleteAll"):_1("global.deleteSelected")'}}]}," ",{t:7,e:"kin-dropdown",f:[{t:7,e:"div",a:{slot:"dropdown-activator"},f:[{t:7,e:"kin-button",a:{type:"secondary",size:"small",icononly:"true","data-test":"vch_table_moreOptions",title:[{t:2,x:{r:["nls"],s:'_0("global.moreOptions")'}}]},f:[{t:7,e:"kin-icon",a:{name:"icon-s-controls-menu-more",size:"16"}}]}]}," ",{t:7,e:"kin-dropdown-item",v:{click:"restore"},a:{"kin-disabled":[{t:2,x:{r:["hasSomeSelected"],s:"!_0"}}],"data-test":"vch_restore"},f:[{t:2,x:{r:["nls"],s:'_0("viruschest.action.restore.label")'}}]}," ",{t:7,e:"kin-dropdown-item",v:{click:"restoreAndIgnore"},a:{"kin-disabled":[{t:2,x:{r:["hasSomeSelected"],s:"!_0"}}],"data-test":"vch_restore_exception"},f:[{t:2,x:{r:["nls"],s:'_0("viruschest.action.restoreIgnore.label")'}}]}," ",{t:7,e:"kin-dropdown-item",v:{click:"extract"},a:{"kin-disabled":[{t:2,x:{r:["hasSomeSelected"],s:"!_0"}}],"data-test":"vch_extract"},f:[{t:2,x:{r:["nls"],s:'_0("viruschest.action.extract.label")'}}]}," ",{t:7,e:"kin-dropdown-item",v:{click:"sendToAnalyse"},a:{"kin-disabled":[{t:2,x:{r:["hasSomeSelected"],s:"!_0"}}],"data-test":"vch_sendToAnalyse"},f:[{t:2,x:{r:["nls"],s:'_0("viruschest.action.sendToAnalyse.label")'}}]}]}]}," ",{t:7,e:"div",a:{class:"kin_actions__right"},f:[{t:3,x:{r:["nls"],s:'_0("global.escToDeselect")'}}]}]}]}]}]}]});export default u;export{h as settings,m as settingsGeek,c as settingsSearchStrings};const p={name:"VirusChest",version:"1.2.375",created:"2021-03-09T11:50:30.545Z"};export{p as metadata};