Viewing File: /usr/local/cpanel/base/frontend/jupiter/imunify/assets/static/common-es5.d39941d76332cb6a8954.js

!function(){function n(n,t){return function(n){if(Array.isArray(n))return n}(n)||function(n,t){var e=null==n?null:"undefined"!=typeof Symbol&&n[Symbol.iterator]||n["@@iterator"];if(null==e)return;var r,o,l=[],i=!0,u=!1;try{for(e=e.call(n);!(i=(r=e.next()).done)&&(l.push(r.value),!t||l.length!==t);i=!0);}catch(a){u=!0,o=a}finally{try{i||null==e.return||e.return()}finally{if(u)throw o}}return l}(n,t)||e(n,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function t(n,t){var r="undefined"!=typeof Symbol&&n[Symbol.iterator]||n["@@iterator"];if(!r){if(Array.isArray(n)||(r=e(n))||t&&n&&"number"==typeof n.length){r&&(n=r);var o=0,l=function(){};return{s:l,n:function(){return o>=n.length?{done:!0}:{done:!1,value:n[o++]}},e:function(n){throw n},f:l}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,u=!0,a=!1;return{s:function(){r=r.call(n)},n:function(){var n=r.next();return u=n.done,n},e:function(n){a=!0,i=n},f:function(){try{u||null==r.return||r.return()}finally{if(a)throw i}}}}function e(n,t){if(n){if("string"==typeof n)return r(n,t);var e=Object.prototype.toString.call(n).slice(8,-1);return"Object"===e&&n.constructor&&(e=n.constructor.name),"Map"===e||"Set"===e?Array.from(n):"Arguments"===e||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(e)?r(n,t):void 0}}function r(n,t){(null==t||t>n.length)&&(t=n.length);for(var e=0,r=new Array(t);e<t;e++)r[e]=n[e];return r}function o(n,t){return(o=Object.setPrototypeOf||function(n,t){return n.__proto__=t,n})(n,t)}function l(n){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(n){return!1}}();return function(){var e,r=u(n);if(t){var o=u(this).constructor;e=Reflect.construct(r,arguments,o)}else e=r.apply(this,arguments);return i(this,e)}}function i(n,t){if(t&&("object"==typeof t||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(n){if(void 0===n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return n}(n)}function u(n){return(u=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)})(n)}function a(n,t){if(!(n instanceof t))throw new TypeError("Cannot call a class as a function")}function c(n,t){for(var e=0;e<t.length;e++){var r=t[e];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(n,r.key,r)}}function s(n,t,e){return t&&c(n.prototype,t),e&&c(n,e),Object.defineProperty(n,"prototype",{writable:!1}),n}(window.webpackJsonpImunify360=window.webpackJsonpImunify360||[]).push([[0],{"0tbc":function(n,t,e){"use strict";e.d(t,"a",(function(){return r}));var r=function(){function n(t,e){a(this,n),this.route=t,this.licenseService=e,this.description=null}return s(n,[{key:"buy",value:function(){window.open(this.licenseService.license.upgrade_url_360)}}]),n}()},"4myE":function(n,t,e){"use strict";e.d(t,"a",(function(){return r}));var r=function(){function n(){a(this,n)}return s(n,[{key:"log",get:function(){return this._log},set:function(n){var t=this;this._log=n,setTimeout((function(){return t.scrollToBottom()}))}},{key:"scrollToBottom",value:function(){this.logOutput.nativeElement.scrollTop=this.logOutput.nativeElement.scrollHeight}}]),n}()},D7ET:function(n,t,e){"use strict";e.d(t,"a",(function(){return b})),e.d(t,"c",(function(){return g})),e.d(t,"b",(function(){return h}));var r=e("8Y7J"),o=e("XE/z"),l=e("Tj54"),i=e("TSSN"),u=e("SVse"),a=e("dsMX"),c=e("kaJQ"),s=e("YEUz"),d=e("0tbc"),f=e("iInd"),p=e("ec2V"),b=r.xb({encapsulation:0,styles:[['@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.col-sm-12[_ngcontent-%COMP%] {\n  display: flex;\n  align-items: center;\n  flex-direction: column;\n}']],data:{}});function g(n){return r.bc(0,[(n()(),r.zb(0,0,null,null,18,"div",[["class","card-container upgrade-needed_component"]],null,null,null,null,null)),(n()(),r.zb(1,0,null,null,17,"div",[["class","row text-center"]],null,null,null,null,null)),(n()(),r.zb(2,0,null,null,16,"div",[["class","col-sm-12"]],null,null,null,null,null)),(n()(),r.zb(3,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)),r.yb(4,8634368,null,0,l.b,[r.l,l.d,[8,null],l.a,r.m],{svgIcon:[0,"svgIcon"]},null),(n()(),r.zb(5,0,null,null,2,"p",[["class","title"],["translate",""]],null,null,null,null,null)),r.yb(6,8536064,null,0,i.f,[i.l,r.l,r.h],{translate:[0,"translate"]},null),(n()(),r.Yb(-1,null,["upgradeNeeded.title"])),(n()(),r.zb(8,0,null,null,3,"p",[["class","description"],["translate",""]],null,null,null,null,null)),r.yb(9,8536064,null,0,i.f,[i.l,r.l,r.h],{translate:[0,"translate"]},null),(n()(),r.Yb(10,null,["",""])),r.Qb(131072,u.b,[r.h]),(n()(),r.zb(12,0,null,null,6,"a",[["class","upgrade-button"],["i360-button",""],["target","_blank"]],[[8,"href",4],[1,"disabled",0]],null,null,a.b,a.a)),r.yb(13,1622016,null,3,c.a,[s.h,r.F,r.l],{primary:[0,"primary"],round:[1,"round"]},null),r.Ub(335544320,1,{prefix:0}),r.Ub(335544320,2,{suffix:0}),r.Ub(335544320,3,{icon:0}),(n()(),r.Yb(17,0,[" "," "])),r.Qb(131072,i.k,[i.l,r.h])],(function(n,t){n(t,4,0,"rocket"),n(t,6,0,""),n(t,9,0,""),n(t,13,0,!0,!0)}),(function(n,t){var e=t.component;n(t,3,0,r.Ob(t,4)._usingFontIcon()?"font":"svg",r.Ob(t,4)._svgName||r.Ob(t,4).fontIcon,r.Ob(t,4)._svgNamespace||r.Ob(t,4).fontSet,r.Ob(t,4).inline,"primary"!==r.Ob(t,4).color&&"accent"!==r.Ob(t,4).color&&"warn"!==r.Ob(t,4).color);var o=null;n(t,10,0,e.description||(null==(o=r.Zb(t,10,0,r.Ob(t,11).transform(e.route.data)))?null:o.url)),n(t,12,0,r.Gb(1,"",e.licenseService.license.upgrade_url_360,""),r.Ob(t,13).disabled||null),n(t,17,0,r.Zb(t,17,0,r.Ob(t,18).transform("upgradeNeeded.upgrade")))}))}var h=r.vb("upgrade-needed",d.a,(function(n){return r.bc(0,[(n()(),r.zb(0,0,null,null,1,"upgrade-needed",[],null,null,null,g,b)),r.yb(1,49152,null,0,d.a,[f.a,p.LicenseService],null,null)],null,null)}),{description:"description"},{},[])},GsuZ:function(n,t,e){"use strict";e.d(t,"a",(function(){return r}));var r=s((function n(){a(this,n),this.title=""}))},J7q6:function(n,t,e){"use strict";e.d(t,"a",(function(){return r}));var r=function(){function n(t,e){a(this,n),this.authService=t,this.router=e}return s(n,[{key:"canActivate",value:function(n,t){return!this.authService.isClient||(this.router.navigate(["/","AV","malware","files"]),!1)}}]),n}()},LGgT:function(n,t,e){"use strict";e.d(t,"a",(function(){return r}));var r=s((function n(){a(this,n)}))},U7V5:function(n,t,e){"use strict";e.d(t,"a",(function(){return r}));var r=s((function n(){a(this,n)}))},Xtn7:function(n,t,e){"use strict";e.d(t,"a",(function(){return l})),e.d(t,"b",(function(){return i}));var r=e("8Y7J"),o=e("GjBp"),l=r.xb({encapsulation:0,styles:[['@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%] {\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%] {\n  background-color: #9f9f9f;\n}\na[_nghost-%COMP%]:hover   span[_ngcontent-%COMP%], a   [_nghost-%COMP%]:hover   span[_ngcontent-%COMP%] {\n  text-decoration: underline;\n}']],data:{}});function i(n){return r.bc(0,[(n()(),r.zb(0,0,null,null,1,"span",[["class","text-nowrap"]],null,null,null,null,null)),r.Nb(null,0)],null,null)}o.a},cXmL:function(n,t,e){"use strict";e.d(t,"a",(function(){return u})),e.d(t,"b",(function(){return a}));var r=e("8Y7J"),o=e("XE/z"),l=e("Tj54"),i=e("GsuZ"),u=r.xb({encapsulation:0,styles:[['@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}']],data:{}});function a(n){return r.bc(0,[(n()(),r.zb(0,0,null,null,5,"div",[["class","blocked-ui-message"]],null,null,null,null,null)),(n()(),r.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)),r.yb(2,8634368,null,0,l.b,[r.l,l.d,[8,null],l.a,r.m],{svgIcon:[0,"svgIcon"]},null),(n()(),r.zb(3,0,null,null,1,"div",[["aria-level","1"],["role","heading"]],null,null,null,null,null)),(n()(),r.Yb(4,null,["",""])),r.Nb(null,0)],(function(n,t){n(t,2,0,"logo-grey")}),(function(n,t){var e=t.component;n(t,1,0,r.Ob(t,2)._usingFontIcon()?"font":"svg",r.Ob(t,2)._svgName||r.Ob(t,2).fontIcon,r.Ob(t,2)._svgNamespace||r.Ob(t,2).fontSet,r.Ob(t,2).inline,"primary"!==r.Ob(t,2).color&&"accent"!==r.Ob(t,2).color&&"warn"!==r.Ob(t,2).color),n(t,4,0,e.title)}))}i.a},ihAH:function(n,t,e){"use strict";e.d(t,"a",(function(){return r}));var r=s((function n(){a(this,n)}))},p00b:function(n,t,e){"use strict";e.d(t,"a",(function(){return i}));var r=e("vkgz"),o=e("lJxs"),l=e("Au5I"),i=function(){function n(t,e){a(this,n),this.userFeaturesStatusService=t,this.router=e}return s(n,[{key:"canActivate",value:function(n,t){var e=this;return this.userFeaturesStatusService.hasEnabledFeatures.pipe(Object(r.a)((function(n){n||e.router.navigate(e.userFeaturesStatusService.featuresDisabledCommands)})))}},{key:"canActivateChild",value:function(n,t){var e=this;return this.userFeaturesStatusService.clientFeatures.pipe(Object(o.a)((function(t){var r=n.data.feature;if(t[r]===l.a.na){var o=(n.parent.routeConfig.children||[]).find((function(n){return!!n.data&&t[n.data.feature]!==l.a.na}));return o&&e.router.navigate(e.userFeaturesStatusService.getDisabledRouteCommands(o)),!1}return!0})))}}]),n}()},pu9V:function(n,t,e){"use strict";e.d(t,"a",(function(){return r}));var r=s((function n(t){a(this,n),this.appState=t,this.screenshotName=""}))},tZw9:function(n,t,e){"use strict";e.d(t,"a",(function(){return i})),e.d(t,"b",(function(){return a}));var r=e("8Y7J"),o=e("SVse"),l=e("4myE"),i=r.xb({encapsulation:0,styles:[['@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}']],data:{}});function u(n){return r.bc(0,[(n()(),r.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 a(n){return r.bc(0,[r.Ub(402653184,1,{logOutput:0}),(n()(),r.zb(1,0,[[1,0],["logOutput",1]],null,3,"div",[["class","log_output"]],null,null,null,null,null)),(n()(),r.zb(2,0,null,null,2,"div",[["class","inner_log_output"]],null,null,null,null,null)),(n()(),r.ib(16777216,null,null,1,null,u)),r.yb(4,278528,null,0,o.n,[r.Q,r.N,r.t],{ngForOf:[0,"ngForOf"]},null)],(function(n,t){n(t,4,0,t.component.log)}),null)}l.a},tnPm:function(n,t,e){"use strict";e.d(t,"a",(function(){return l})),e.d(t,"b",(function(){return i}));var r=e("8Y7J"),o=e("pu9V"),l=(e("lgOS"),r.xb({encapsulation:0,styles:[['@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}']],data:{}}));function i(n){return r.bc(0,[(n()(),r.zb(0,0,null,null,5,"div",[["class","buy_license_screenshot"]],null,null,null,null,null)),(n()(),r.zb(1,0,null,null,3,"div",[["class","screenshot_toolbar"]],null,null,null,null,null)),(n()(),r.zb(2,0,null,null,0,"span",[["class","screenshot_button"]],null,null,null,null,null)),(n()(),r.zb(3,0,null,null,0,"span",[["class","screenshot_button"]],null,null,null,null,null)),(n()(),r.zb(4,0,null,null,0,"span",[["class","screenshot_button"]],null,null,null,null,null)),(n()(),r.zb(5,0,null,null,0,"img",[],[[8,"src",4]],null,null,null,null))],null,(function(n,t){var e=t.component;n(t,5,0,e.appState.imagePath+"/"+e.screenshotName+".png")}))}o.a},xJY0:function(e,r,i){"use strict";i.d(r,"a",(function(){return f}));var u=i("mrSG"),c=i("l5pG"),d=i("njtI");i("dG3u"),i("zDAv");var f=function(e){!function(n,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");Object.defineProperty(n,"prototype",{value:Object.create(t&&t.prototype,{constructor:{value:n,writable:!0,configurable:!0}}),writable:!1}),t&&o(n,t)}(i,e);var r=l(i);function i(n,t,e){var o;return a(this,i),(o=r.call(this,n)).xhr=n,o.modalService=t,o.notifications=e,o.get=o.wrap(o.rxServiceRequest(c.d.getList,!1),c.c),o.addItemIntoList=o.serviceRequest(c.d.addItem,!1),o.deleteItems=o.serviceRequest(c.d.deleteItems),o.editItem=o.serviceRequest(c.d.editItem),o.changeListForIps=o.serviceRequest(c.d.moveItems),o.saveComment=o.serviceRequest(c.d.editComment),o.saveTtl=o.serviceRequest(c.d.editTtl),o.changeFullAccess=o.serviceRequest(c.d.editFullAccess),o.changeScope=o.serviceRequest(c.d.editScope),o}return s(i,[{key:"changeListWithConfirm",value:function(n,t,e){var r=this.getActionAndRequest(n,t,e);return this.confirmListChangeAndNotify(r.request,r.action,n,r.confirmName)}},{key:"changeListWithConfirmFromIncidents",value:function(e,r,o){return Object(u.a)(this,void 0,void 0,regeneratorRuntime.mark((function l(){var i,u,a,c,s,d,f,p,b,g;return regeneratorRuntime.wrap((function(l){for(;;)switch(l.prev=l.next){case 0:if(i=this.getActionAndRequest([],e[0].list,r,o)){l.next=3;break}return l.abrupt("return",!1);case 3:return u=Array.from(new Set(e.map((function(n){return n.ip})))),l.next=6,this.modalService.confirm(i.confirmName,u);case 6:if(!(a=l.sent)){l.next=35;break}c=t(this.sortIps(e)),l.prev=9,c.s();case 11:if((s=c.n()).done){l.next=23;break}return d=n(s.value,2),f=d[0],p=d[1],b=Array.from(p),g=this.getActionAndRequest(b,f,r),l.prev=14,l.next=17,this.confirmListChangeAndNotify(g.request,g.action,b,null);case 17:l.next=21;break;case 19:l.prev=19,l.t0=l.catch(14);case 21:l.next=11;break;case 23:l.next=28;break;case 25:l.prev=25,l.t1=l.catch(9),c.e(l.t1);case 28:return l.prev=28,c.f(),l.finish(28);case 31:if(l.t2=o,!l.t2){l.next=35;break}return l.next=35,this.editItem({items:u,scope:o,list:r,type:"ip"});case 35:return l.abrupt("return",a);case 36:case"end":return l.stop()}}),l,this,[[9,25,28,31],[14,19]])})))}},{key:"getDefaultMockList",value:function(){return[]}},{key:"sortIps",value:function(n){var e,r=new Map,o=t(n);try{for(o.s();!(e=o.n()).done;){var l=e.value,i=l.list,u=l.ip,a=r.get(i)||new Set;a.add(u),r.set(i,a)}}catch(c){o.e(c)}finally{o.f()}return r}},{key:"getActionAndRequest",value:function(n,t,e,r){var o,l,i,u=this;if(null===t){if(null===e)throw new Error("impossible");o="added",i="add-to-".concat(e),l=function(){return u.addItemIntoList({value:n,list:e,type:"ip"})}}else null!==e?(o="moved",i="add-to-".concat(e),l=function(){return u.changeListForIps({items:n,list:e})}):(o="deleted",i="delete-ip-from-list",l=function(){return u.deleteItems({itemType:"ip",items:n,list:t})});return r&&(i+="-".concat(r,"-scope")),{action:o,confirmName:i,request:l}}},{key:"confirmListChangeAndNotify",value:function(n,t,e,r){return Object(u.a)(this,void 0,void 0,regeneratorRuntime.mark((function o(){return regeneratorRuntime.wrap((function(o){for(;;)switch(o.prev=o.next){case 0:if(o.t1=r,!o.t1){o.next=5;break}return o.next=4,this.modalService.confirm(r,e);case 4:o.t1=!o.sent;case 5:if(o.t0=!o.t1,!o.t0){o.next=11;break}return o.next=9,n();case 9:this.notifications.success("notifications.ipAction",null,{count:e.length,action:t}),o.t0=!0;case 11:return o.abrupt("return",o.t0);case 12:case"end":return o.stop()}}),o,this)})))}}]),i}(d.a)},zDAv:function(n,t,e){"use strict";e.d(t,"a",(function(){return u}));var r=e("wK6y"),o=e("l5pG");o.b.group;var l={no_captcha:!1,ip:"1.1.210.66",ctime:1522908698,deep:4,listname:"WHITE",manual:!0,auto_whitelisted:!1,comment:"Special for blacklist",country:{name:"Thailand",code:"TH"},version:4,scope:null,full_access:null,network_address:16896578,netmask:4294967295,imported_from:null,expiration:1523037066},i=[Object.assign(Object.assign({},l),{comment:null,scope:o.b.group,manual:!1}),Object.assign(Object.assign({},l),{ip:"1234:5678:9abc::",country:{},listname:"GRAY",scope:o.b.local}),Object.assign(Object.assign({},l),{ip:"1234:5678:9abc:def0::",full_access:!0,country:{},listname:"GRAY"}),Object.assign(Object.assign({},l),{ip:"10.101.1.14",listname:"GRAY",comment:"Special for blacklist",country:{name:"Thailand",code:"TH",id:"1605651"}}),Object.assign(Object.assign({},l),{ip:"10.101.1.15",country:null,listname:"GRAY",comment:"Special for blacklist"}),Object.assign(Object.assign({},l),{ip:"10.101.1.58",country:{name:"Brazil",code:"BR"},listname:"GRAY"}),Object.assign(Object.assign({},l),{ip:"11.11.11.11",country:{name:"United States of America",code:"US"},listname:"GRAY"}),Object.assign(Object.assign({},l),{ip:"11.11.11.11/32",country:{name:"Ukraine",code:"UA"},listname:"BLACK"})],u={ipAlreadyExists:{data:{messages:["IP 1.162.36.148 is already in GRAY list","Imunify360 protection is running concurrently with cPHulk"],result:"warnings"}},groupId:{status:"ok",group_id:"groupId"},list:{data:Object.assign(Object.assign({},r.a),{max_count:11,items:i,counts:{white:23,gray:434,black:34,"blocked-ports":0}})},listsPagination:{data:Object.assign(Object.assign({},r.a),{max_count:999,items:[].concat(i,i,i,i),counts:{white:23,gray:434,black:34,"blocked-ports":0}})},blacklist:{data:Object.assign(Object.assign({},r.a),{max_count:11,items:[{imported_from:null,ip:"10.101.1.58",no_captcha:!1,ctime:1522908698,deep:4,manual:!0,listname:"GRAY",auto_whitelisted:!1,comment:"Special for blacklist",country:{name:"Thailand",code:"TH",id:"1605651"},version:4,full_access:null,network_address:16896578,netmask:4294967295,expiration:1523037066}],counts:{white:23,gray:44,black:35,"blocked-ports":4}})}}}}])}();
Back to Directory File Manager