Viewing File: /usr/local/cpanel/base/frontend/jupiter/imunify/assets/static/common-es2015.26f9be364fadb4d81267.js
(window.webpackJsonpImunify360=window.webpackJsonpImunify360||[]).push([[0],{"0tbc":function(n,t,l){"use strict";l.d(t,"a",(function(){return e}));class e{constructor(n,t){this.route=n,this.licenseService=t,this.description=null,this.title=null}buy(){window.open(this.licenseService.license.upgrade_url_360)}}},"4myE":function(n,t,l){"use strict";l.d(t,"a",(function(){return e}));class e{set log(n){this._log=n,setTimeout(()=>this.scrollToBottom())}get log(){return this._log}scrollToBottom(){this.logOutput.nativeElement.scrollTop=this.logOutput.nativeElement.scrollHeight}}},D7ET:function(n,t,l){"use strict";l.d(t,"a",(function(){return h})),l.d(t,"c",(function(){return f})),l.d(t,"b",(function(){return _}));var e=l("8Y7J"),o=l("XE/z"),u=l("Tj54"),s=l("SVse"),i=l("TSSN"),r=l("dsMX"),c=l("kaJQ"),a=l("YEUz"),d=l("0tbc"),g=l("iInd"),p=l("ec2V"),b=[['@charset "UTF-8";\n\n.upgrade-needed_component[_ngcontent-%COMP%] mat-icon[_ngcontent-%COMP%] {\n margin: 127px auto 42px;\n width: 179px;\n height: 168px;\n}\n.upgrade-needed_component[_ngcontent-%COMP%] .title[_ngcontent-%COMP%] {\n font-style: normal;\n font-weight: 700;\n font-size: 24px;\n line-height: 31px;\n color: #535353;\n}\n.upgrade-needed_component[_ngcontent-%COMP%] .description[_ngcontent-%COMP%] {\n font-size: 14px;\n line-height: 24px;\n color: #535353;\n}\n.upgrade-needed_component[_ngcontent-%COMP%] .upgrade-button[_ngcontent-%COMP%] {\n margin-top: 20px;\n width: 174px;\n box-shadow: 0 6px 9px 2px #92fad2;\n}\n.upgrade-needed_component[_ngcontent-%COMP%] .upgrade-button[_ngcontent-%COMP%]:hover {\n color: white;\n text-decoration: none;\n}\n.upgrade-needed_component[_ngcontent-%COMP%] .upgrade-button[_ngcontent-%COMP%] div {\n height: 40px;\n}\n.text-center[_ngcontent-%COMP%] {\n display: flex;\n align-items: center;\n flex-direction: column;\n}']],h=e.xb({encapsulation:0,styles:b,data:{}});function f(n){return e.bc(0,[(n()(),e.zb(0,0,null,null,19,"div",[["class","card-container upgrade-needed_component"]],null,null,null,null,null)),(n()(),e.zb(1,0,null,null,18,"div",[["class","text-center"]],null,null,null,null,null)),(n()(),e.zb(2,0,null,null,1,"mat-icon",[["class","mat-icon notranslate"],["role","img"],["svgIcon","rocket"]],[[1,"data-mat-icon-type",0],[1,"data-mat-icon-name",0],[1,"data-mat-icon-namespace",0],[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],null,null,o.b,o.a)),e.yb(3,8634368,null,0,u.b,[e.l,u.d,[8,null],u.a,e.m],{svgIcon:[0,"svgIcon"]},null),(n()(),e.zb(4,0,null,null,4,"p",[["class","title"]],null,null,null,null,null)),(n()(),e.Yb(5,null,["",""])),e.Qb(131072,s.b,[e.h]),e.Rb(7,{name:0}),e.Qb(131072,i.k,[i.l,e.h]),(n()(),e.zb(9,0,null,null,3,"p",[["class","description"],["translate",""]],null,null,null,null,null)),e.yb(10,8536064,null,0,i.f,[i.l,e.l,e.h],{translate:[0,"translate"]},null),(n()(),e.Yb(11,null,["",""])),e.Qb(131072,s.b,[e.h]),(n()(),e.zb(13,0,null,null,6,"a",[["class","upgrade-button"],["i360-button",""],["target","_blank"]],[[8,"href",4],[1,"disabled",0]],null,null,r.b,r.a)),e.yb(14,1622016,null,3,c.a,[a.h,e.F,e.l],{primary:[0,"primary"],round:[1,"round"]},null),e.Ub(335544320,1,{prefix:0}),e.Ub(335544320,2,{suffix:0}),e.Ub(335544320,3,{icon:0}),(n()(),e.Yb(18,0,[" "," "])),e.Qb(131072,i.k,[i.l,e.h])],(function(n,t){n(t,3,0,"rocket");n(t,10,0,"");n(t,14,0,!0,!0)}),(function(n,t){var l=t.component;n(t,2,0,e.Ob(t,3)._usingFontIcon()?"font":"svg",e.Ob(t,3)._svgName||e.Ob(t,3).fontIcon,e.Ob(t,3)._svgNamespace||e.Ob(t,3).fontSet,e.Ob(t,3).inline,"primary"!==e.Ob(t,3).color&&"accent"!==e.Ob(t,3).color&&"warn"!==e.Ob(t,3).color);var o,u=e.Zb(t,5,0,e.Ob(t,8).transform(l.title||"upgradeNeeded.title",n(t,7,0,null==(o=e.Zb(t,5,0,e.Ob(t,6).transform(l.route.data)))?null:o.name)));n(t,5,0,u);var s=null;n(t,11,0,l.description||"upgradeNeeded."+(null==(s=e.Zb(t,11,0,e.Ob(t,12).transform(l.route.data)))?null:s.name)),n(t,13,0,e.Gb(1,"",l.licenseService.license.upgrade_url_360,""),e.Ob(t,14).disabled||null),n(t,18,0,e.Zb(t,18,0,e.Ob(t,19).transform("upgradeNeeded.upgrade")))}))}function m(n){return e.bc(0,[(n()(),e.zb(0,0,null,null,1,"upgrade-needed",[],null,null,null,f,h)),e.yb(1,49152,null,0,d.a,[g.a,p.LicenseService],null,null)],null,null)}var _=e.vb("upgrade-needed",d.a,m,{description:"description",title:"title"},{},[])},GsuZ:function(n,t,l){"use strict";l.d(t,"a",(function(){return e}));class e{constructor(){this.title=""}}},J7q6:function(n,t,l){"use strict";l.d(t,"a",(function(){return e}));class e{constructor(n,t){this.authService=n,this.router=t}canActivate(n,t){return!this.authService.isClient||(this.router.navigate(["/","AV","malware","files"]),!1)}}},LGgT:function(n,t,l){"use strict";l.d(t,"a",(function(){return e}));class e{}},U7V5:function(n,t,l){"use strict";l.d(t,"a",(function(){return e}));class e{}},Xtn7:function(n,t,l){"use strict";l.d(t,"a",(function(){return s})),l.d(t,"b",(function(){return i}));var e=l("8Y7J"),o=l("GjBp"),u=[['@charset "UTF-8";\n\n[_nghost-%COMP%] {\n height: 23px;\n display: inline-block;\n}\n[_nghost-%COMP%] span[_ngcontent-%COMP%] {\n min-width: 106px;\n display: inline-block;\n height: 23px;\n margin: 0;\n padding-right: 14px;\n padding-left: 14px;\n border-radius: 100px;\n color: #fff;\n line-height: 23px;\n text-align: center;\n}\n[_nghost-%COMP%]:not([color]) span[_ngcontent-%COMP%] {\n background-color: #299aed;\n}\n[color=black][_nghost-%COMP%] span[_ngcontent-%COMP%], [color=drop][_nghost-%COMP%] span[_ngcontent-%COMP%] {\n background-color: #000;\n}\n[color=white][_nghost-%COMP%] span[_ngcontent-%COMP%] {\n color: #000;\n background-color: #fff;\n box-shadow: 0 0 4px 0 rgba(0, 0, 0, 0.27);\n}\n[color=gray][_nghost-%COMP%] span[_ngcontent-%COMP%], [color=captcha][_nghost-%COMP%] span[_ngcontent-%COMP%], [color=splashscreen][_nghost-%COMP%] span[_ngcontent-%COMP%] {\n background-color: #9f9f9f;\n}\na[_nghost-%COMP%]:hover span[_ngcontent-%COMP%], a [_nghost-%COMP%]:hover span[_ngcontent-%COMP%] {\n text-decoration: underline;\n}']],s=e.xb({encapsulation:0,styles:u,data:{}});function i(n){return e.bc(0,[(n()(),e.zb(0,0,null,null,1,"span",[["class","text-nowrap"]],null,null,null,null,null)),e.Nb(null,0)],null,null)}function r(n){return e.bc(0,[(n()(),e.zb(0,0,null,null,1,"i360-colored-ip",[],[[1,"color",0]],null,null,i,s)),e.yb(1,49152,null,0,o.a,[],null,null)],null,(function(n,t){n(t,0,0,e.Ob(t,1).listName)}))}o.a},cXmL:function(n,t,l){"use strict";l.d(t,"a",(function(){return r})),l.d(t,"b",(function(){return c}));var e=l("8Y7J"),o=l("XE/z"),u=l("Tj54"),s=l("GsuZ"),i=[['@charset "UTF-8";\n\n.blocked-ui-message[_ngcontent-%COMP%] {\n text-align: center;\n max-width: 100%;\n}\n.blocked-ui-message[_ngcontent-%COMP%] div[role=heading][_ngcontent-%COMP%] {\n font-size: 22px;\n margin: 0;\n line-height: 2.44;\n}\n.blocked-ui-message[_ngcontent-%COMP%] .logo-grey[_ngcontent-%COMP%] {\n margin: 0 auto;\n width: 80px;\n height: 80px;\n}']],r=e.xb({encapsulation:0,styles:i,data:{}});function c(n){return e.bc(0,[(n()(),e.zb(0,0,null,null,5,"div",[["class","blocked-ui-message"]],null,null,null,null,null)),(n()(),e.zb(1,0,null,null,1,"mat-icon",[["class","logo-grey mat-icon notranslate"],["role","img"],["svgIcon","logo-grey"]],[[1,"data-mat-icon-type",0],[1,"data-mat-icon-name",0],[1,"data-mat-icon-namespace",0],[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],null,null,o.b,o.a)),e.yb(2,8634368,null,0,u.b,[e.l,u.d,[8,null],u.a,e.m],{svgIcon:[0,"svgIcon"]},null),(n()(),e.zb(3,0,null,null,1,"div",[["aria-level","1"],["role","heading"]],null,null,null,null,null)),(n()(),e.Yb(4,null,["",""])),e.Nb(null,0)],(function(n,t){n(t,2,0,"logo-grey")}),(function(n,t){var l=t.component;n(t,1,0,e.Ob(t,2)._usingFontIcon()?"font":"svg",e.Ob(t,2)._svgName||e.Ob(t,2).fontIcon,e.Ob(t,2)._svgNamespace||e.Ob(t,2).fontSet,e.Ob(t,2).inline,"primary"!==e.Ob(t,2).color&&"accent"!==e.Ob(t,2).color&&"warn"!==e.Ob(t,2).color),n(t,4,0,l.title)}))}function a(n){return e.bc(0,[(n()(),e.zb(0,0,null,null,1,"blocked-ui-message",[],null,null,null,c,r)),e.yb(1,49152,null,0,s.a,[],null,null)],null,null)}s.a},ihAH:function(n,t,l){"use strict";l.d(t,"a",(function(){return e}));class e{}},p00b:function(n,t,l){"use strict";l.d(t,"a",(function(){return s}));var e=l("vkgz"),o=l("lJxs"),u=l("Au5I");class s{constructor(n,t){this.userFeaturesStatusService=n,this.router=t}canActivate(n,t){return this.userFeaturesStatusService.hasEnabledFeatures.pipe(Object(e.a)(n=>{n||this.router.navigate(this.userFeaturesStatusService.featuresDisabledCommands)}))}canActivateChild(n,t){return this.userFeaturesStatusService.clientFeatures.pipe(Object(o.a)(t=>{const l=n.data.feature;if(!(t[l]!==u.a.na)){const l=(n.parent.routeConfig.children||[]).find(n=>!!n.data&&t[n.data.feature]!==u.a.na);return l&&this.router.navigate(this.userFeaturesStatusService.getDisabledRouteCommands(l)),!1}return!0}))}}},pu9V:function(n,t,l){"use strict";l.d(t,"a",(function(){return e}));class e{constructor(n){this.appState=n,this.screenshotName=""}}},tZw9:function(n,t,l){"use strict";l.d(t,"a",(function(){return i})),l.d(t,"b",(function(){return c}));var e=l("8Y7J"),o=l("SVse"),u=l("4myE"),s=[['@charset "UTF-8";\n\n\n\n.log_output[_ngcontent-%COMP%] {\n border: solid 1px #e8e8e8;\n margin-bottom: 29px;\n height: 290px;\n overflow-y: scroll;\n overflow-x: hidden;\n scroll-behavior: smooth;\n}\n.ltr[_nghost-%COMP%] .log_output[_ngcontent-%COMP%], .ltr [_nghost-%COMP%] .log_output[_ngcontent-%COMP%] {\n padding: 16px 29px 22px 20px;\n}\n.rtl[_nghost-%COMP%] .log_output[_ngcontent-%COMP%], .rtl [_nghost-%COMP%] .log_output[_ngcontent-%COMP%] {\n padding: 16px 20px 22px 29px;\n}\n.inner_log_output[_ngcontent-%COMP%] {\n font-family: monospace, monospace;\n font-size: 13px;\n color: #333333;\n white-space: pre-line;\n word-break: break-word;\n}']],i=e.xb({encapsulation:0,styles:s,data:{}});function r(n){return e.bc(0,[(n()(),e.zb(0,0,null,null,0,"span",[],[[8,"innerHTML",1]],null,null,null,null))],null,(function(n,t){n(t,0,0,t.context.$implicit.text)}))}function c(n){return e.bc(0,[e.Ub(402653184,1,{logOutput:0}),(n()(),e.zb(1,0,[[1,0],["logOutput",1]],null,3,"div",[["class","log_output"]],null,null,null,null,null)),(n()(),e.zb(2,0,null,null,2,"div",[["class","inner_log_output"]],null,null,null,null,null)),(n()(),e.ib(16777216,null,null,1,null,r)),e.yb(4,278528,null,0,o.n,[e.Q,e.N,e.t],{ngForOf:[0,"ngForOf"]},null)],(function(n,t){n(t,4,0,t.component.log)}),null)}function a(n){return e.bc(0,[(n()(),e.zb(0,0,null,null,1,"i360-log-box",[],null,null,null,c,i)),e.yb(1,49152,null,0,u.a,[],null,null)],null,null)}u.a},tnPm:function(n,t,l){"use strict";l.d(t,"a",(function(){return i})),l.d(t,"b",(function(){return r}));var e=l("8Y7J"),o=l("pu9V"),u=l("lgOS"),s=[['@charset "UTF-8";\n\n\n[_nghost-%COMP%] {\n display: inline-block;\n}\n.buy_license_screenshot[_ngcontent-%COMP%] {\n border: 1px solid #f4f5f7;\n border-radius: 10px 10px 0 0;\n}\n.buy_license_screenshot[_ngcontent-%COMP%] .screenshot_toolbar[_ngcontent-%COMP%] {\n display: block;\n height: 29px;\n background: #f4f5f7;\n border-radius: 10px 10px 0 0;\n margin-bottom: 20px;\n}\n.buy_license_screenshot[_ngcontent-%COMP%] .screenshot_toolbar[_ngcontent-%COMP%] .screenshot_button[_ngcontent-%COMP%] {\n display: inline-block;\n width: 8px;\n height: 8px;\n margin: 10px 2px;\n border-radius: 8px;\n}\n.buy_license_screenshot[_ngcontent-%COMP%] .screenshot_toolbar[_ngcontent-%COMP%] .screenshot_button[_ngcontent-%COMP%]:nth-child(1) {\n margin-left: 15px;\n background: #ff635a;\n}\n.buy_license_screenshot[_ngcontent-%COMP%] .screenshot_toolbar[_ngcontent-%COMP%] .screenshot_button[_ngcontent-%COMP%]:nth-child(2) {\n background: #febb2e;\n}\n.buy_license_screenshot[_ngcontent-%COMP%] .screenshot_toolbar[_ngcontent-%COMP%] .screenshot_button[_ngcontent-%COMP%]:nth-child(3) {\n background: #2fc843;\n}\n.buy_license_screenshot[_ngcontent-%COMP%] img[_ngcontent-%COMP%] {\n box-sizing: border-box;\n width: 100%;\n padding: 0 5px;\n}']],i=e.xb({encapsulation:0,styles:s,data:{}});function r(n){return e.bc(0,[(n()(),e.zb(0,0,null,null,5,"div",[["class","buy_license_screenshot"]],null,null,null,null,null)),(n()(),e.zb(1,0,null,null,3,"div",[["class","screenshot_toolbar"]],null,null,null,null,null)),(n()(),e.zb(2,0,null,null,0,"span",[["class","screenshot_button"]],null,null,null,null,null)),(n()(),e.zb(3,0,null,null,0,"span",[["class","screenshot_button"]],null,null,null,null,null)),(n()(),e.zb(4,0,null,null,0,"span",[["class","screenshot_button"]],null,null,null,null,null)),(n()(),e.zb(5,0,null,null,0,"img",[],[[8,"src",4]],null,null,null,null))],null,(function(n,t){var l=t.component;n(t,5,0,l.appState.imagePath+"/"+l.screenshotName+".png")}))}function c(n){return e.bc(0,[(n()(),e.zb(0,0,null,null,1,"preview-screenshot",[],null,null,null,r,i)),e.yb(1,49152,null,0,o.a,[u.a],null,null)],null,null)}o.a},xJY0:function(n,t,l){"use strict";l.d(t,"b",(function(){return u})),l.d(t,"a",(function(){return s}));var e=l("mrSG"),o=l("l5pG");const u={white:"utils.table.widgets.content.purpose.values.white",drop:"utils.table.widgets.content.purpose.values.drop",captcha:"utils.table.widgets.content.purpose.values.captcha",splashscreen:"utils.table.widgets.content.purpose.values.splashscreen"};class s{constructor(n,t,l){this.modalService=n,this.notifications=t,this.xhr=l,this.get=this.xhr.wrap(this.xhr.rx(o.d.getList,!1),o.c),this.getALL=this.xhr.wrap(this.xhr.rx(o.d.getAllList),o.c),this.addOrUpdateItems=this.xhr.request(o.d.addOrUpdateItem,!1),this.deleteItems=this.xhr.request(o.d.deleteItems),this.editItem=this.xhr.request(o.d.editItem)}changeListWithConfirm(n,t,l){const e=this.getActionAndRequest(n,t,l);return this.confirmListChangeAndNotify(e.request,e.action,n,e.confirmName)}changeListWithConfirmFromIncidents(n,t,l){return Object(e.a)(this,void 0,void 0,(function*(){const e=this.getActionAndRequest([],n[0].list,t,l);if(!e)return!1;const o=Array.from(new Set(n.map(n=>n.ip))),u=yield this.modalService.confirm(e.confirmName,o);if(u){for(let[l,e]of this.sortIps(n)){const o=Array.from(e),u=this.getActionAndRequest(o,l,t);try{yield this.confirmListChangeAndNotify(u.request,u.action,o,null)}catch(n){}}l&&t&&(yield this.addOrUpdateItems({value:o,scope:l,list:t}))}return u}))}sortIps(n){let t=new Map;for(let{list:l,ip:e}of n){let n=t.get(l)||new Set;n.add(e),t.set(l,n)}return t}getActionAndRequest(n,t,l,e){let o,u,s;if(null===t||null!==l){if(s=`add-to-${l}`,null===t&&null!==l)o="added";else{if(null===l)throw new Error("impossible");o="moved"}u=()=>this.addOrUpdateItems({value:n,list:l})}else o="deleted",s="delete-ip-from-list",u=()=>this.deleteItems({itemType:"ip",items:n,list:t});return e&&(s+=`-${e}-scope`),{action:o,confirmName:s,request:u}}confirmListChangeAndNotify(n,t,l,o){return Object(e.a)(this,void 0,void 0,(function*(){return!(o&&!(yield this.modalService.confirm(o,l)))&&(yield n(),this.notifications.success("notifications.ipAction",null,{count:l.length,action:t}),!0)}))}}}}]);
Back to Directory
File Manager