Hacked By AnonymousFox
!function(e){function t(t){for(var a,r,s=t[0],l=t[1],c=t[2],p=0,u=[];p<s.length;p++)r=s[p],Object.prototype.hasOwnProperty.call(i,r)&&i[r]&&u.push(i[r][0]),i[r]=0;for(a in l)Object.prototype.hasOwnProperty.call(l,a)&&(e[a]=l[a]);for(d&&d(t);u.length;)u.shift()();return o.push.apply(o,c||[]),n()}function n(){for(var e,t=0;t<o.length;t++){for(var n=o[t],a=!0,s=1;s<n.length;s++){var l=n[s];0!==i[l]&&(a=!1)}a&&(o.splice(t--,1),e=r(r.s=n[0]))}return e}var a={},i={3:0},o=[];function r(t){if(a[t])return a[t].exports;var n=a[t]={i:t,l:!1,exports:{}};return e[t].call(n.exports,n,n.exports,r),n.l=!0,n.exports}r.m=e,r.c=a,r.d=function(e,t,n){r.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:n})},r.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},r.t=function(e,t){if(1&t&&(e=r(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var n=Object.create(null);if(r.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var a in e)r.d(n,a,function(t){return e[t]}.bind(null,a));return n},r.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return r.d(t,"a",t),t},r.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},r.p="";var s=window.wpJsonpCloudLinuxLveManager=window.wpJsonpCloudLinuxLveManager||[],l=s.push.bind(s);s.push=t,s=s.slice();for(var c=0;c<s.length;c++)t(s[c]);var d=l;o.push([1071,2]),n()}({1071:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.main=void 0;const a=n(1072),i=n(411),o=n(552),r=n(80);function s(){return r.platformBrowser().bootstrapModule(o.AppModule).then(i.decorateModuleRef).catch((e=>{}))}t.main=s,a.bootloader(s)},1076:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Panel=void 0;class a{}t.Panel=a,a.PLESK="Plesk",a.DA="DA",a.CPanel="Cpanel",a.noPanel="noPanel"},1085:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.UnavailableComponent=void 0;n(0);const a=n(338),i=(n(67),n(214),n(0)),o=n(67),r=n(214),s=n(1),l=n(22);function c(e,t){1&e&&(i.\u0275\u0275elementStart(0,"i",6),i.\u0275\u0275text(1,"\ue88f"),i.\u0275\u0275elementEnd())}function d(e,t){1&e&&(i.\u0275\u0275elementStart(0,"span",7),i.\u0275\u0275namespaceSVG(),i.\u0275\u0275elementStart(1,"svg",8),i.\u0275\u0275elementStart(2,"g",9),i.\u0275\u0275elementStart(3,"g",10),i.\u0275\u0275elementStart(4,"g",11),i.\u0275\u0275elementStart(5,"g",12),i.\u0275\u0275elementStart(6,"g",13),i.\u0275\u0275element(7,"path",14),i.\u0275\u0275elementEnd(),i.\u0275\u0275element(8,"polygon",15),i.\u0275\u0275elementEnd(),i.\u0275\u0275elementEnd(),i.\u0275\u0275elementEnd(),i.\u0275\u0275elementEnd(),i.\u0275\u0275elementEnd(),i.\u0275\u0275elementEnd())}class p extends a.BaseComponent{constructor(e,t,n){super(n),this.appState=e,this.winRef=t,this.injector=n,this.icon="info"}back(){this.winRef.nativeWindow.history.go(-this.appState.get("historyLength"))}}t.UnavailableComponent=p,p.\u0275fac=function(e){return new(e||p)(i.\u0275\u0275directiveInject(o.AppState),i.\u0275\u0275directiveInject(r.WindowRef),i.\u0275\u0275directiveInject(i.Injector))},p.\u0275cmp=i.\u0275\u0275defineComponent({type:p,selectors:[["ng-component"]],features:[i.\u0275\u0275InheritDefinitionFeature],decls:11,vars:12,consts:[[1,"lvemanager-screenBody","lvemanager-unavailable_component"],["class","lvemanager-icon material-icons lvemanager-icon-info",4,"ngIf"],["class","lvemanager-icon",4,"ngIf"],[1,"lvemanager-error-message",3,"innerHTML"],[1,"lvemanager-back-message"],[3,"click"],[1,"lvemanager-icon","material-icons","lvemanager-icon-info"],[1,"lvemanager-icon"],["width","76px","height","76px","viewBox","0 0 76 76","version","1.1","xmlns","http://www.w3.org/2000/svg",0,"xmlns","xlink","http://www.w3.org/1999/xlink"],["id","Admin-","stroke","none","stroke-width","1","fill","none","fill-rule","evenodd"],["id","Resselers-Page-1","transform","translate(-764.000000, -523.000000)"],["id","Group-2","transform","translate(767.000000, 527.000000)"],["id","Group"],["id","ic_extension_black_24px","stroke","#EBB5B4","stroke-width","7","fill-rule","nonzero"],["d","M60.5548153,32.4292015 L55.7036288,32.4292015 L55.7036288,19.4927041 C55.7036288,15.9351673 52.7929169,13.0244553 49.2353801,13.0244553 L36.2988826,13.0244553 L36.2988826,8.17326878 C36.2988826,3.71017716 32.6766633,0.0879578744 28.2135717,0.0879578744 C23.7504801,0.0879578744 20.1282608,3.71017716 20.1282608,8.17326878 L20.1282608,13.0244553 L7.19176333,13.0244553 C3.63422653,13.0244553 0.755855842,15.9351673 0.755855842,19.4927041 L0.755855842,31.7823766 L5.57470114,31.7823766 C10.3935464,31.7823766 14.3068369,35.6956671 14.3068369,40.5145124 C14.3068369,45.3333577 10.3935464,49.2466482 5.57470114,49.2466482 L0.723514599,49.2466482 L0.723514599,61.5363208 C0.723514599,65.0938576 3.63422653,68.0045695 7.19176333,68.0045695 L19.4814359,68.0045695 L19.4814359,63.153383 C19.4814359,58.3345377 23.3947264,54.4212472 28.2135717,54.4212472 C33.032417,54.4212472 36.9457075,58.3345377 36.9457075,63.153383 L36.9457075,68.0045695 L49.2353801,68.0045695 C52.7929169,68.0045695 55.7036288,65.0938576 55.7036288,61.5363208 L55.7036288,48.5998233 L60.5548153,48.5998233 C65.0179069,48.5998233 68.6401262,44.977604 68.6401262,40.5145124 C68.6401262,36.0514208 65.0179069,32.4292015 60.5548153,32.4292015 Z","id","Shape"],["id","Shape","stroke","#E6BFBD","fill","#E6BFBD","points","45.972649 24.7783196 44.6497626 23.4554332 39.4051277 28.700068 34.1604929 23.4554332 32.8376064 24.7783196 38.0822413 30.0229545 32.8376064 35.2675893 34.1604929 36.5904757 39.4051277 31.3458409 44.6497626 36.5904757 45.972649 35.2675893 40.7280142 30.0229545"]],template:function(e,t){1&e&&(i.\u0275\u0275elementStart(0,"div",0),i.\u0275\u0275template(1,c,2,0,"i",1),i.\u0275\u0275template(2,d,9,0,"span",2),i.\u0275\u0275element(3,"span",3),i.\u0275\u0275pipe(4,"translate"),i.\u0275\u0275elementStart(5,"span",4),i.\u0275\u0275text(6),i.\u0275\u0275pipe(7,"translate"),i.\u0275\u0275elementStart(8,"a",5),i.\u0275\u0275listener("click",(function(){return t.back()})),i.\u0275\u0275text(9),i.\u0275\u0275pipe(10,"translate"),i.\u0275\u0275elementEnd(),i.\u0275\u0275elementEnd(),i.\u0275\u0275elementEnd()),2&e&&(i.\u0275\u0275advance(1),i.\u0275\u0275property("ngIf","info"==t.icon),i.\u0275\u0275advance(1),i.\u0275\u0275property("ngIf","disabled"==t.icon),i.\u0275\u0275advance(1),i.\u0275\u0275property("innerHTML",i.\u0275\u0275pipeBind2(4,5,t.errorText,t.errorContext),i.\u0275\u0275sanitizeHtml),i.\u0275\u0275advance(3),i.\u0275\u0275textInterpolate1("",i.\u0275\u0275pipeBind1(7,8,"UNAVAILABLE_PAGE.back_to")," "),i.\u0275\u0275advance(3),i.\u0275\u0275textInterpolate(i.\u0275\u0275pipeBind1(10,10,"UNAVAILABLE_PAGE.the_previous_page")))},directives:[s.NgIf],pipes:[l.TranslatePipe],styles:[".lvemanager-icon[_ngcontent-%COMP%]{display:block;text-align:center;font-size:72px;height:72px;width:72px;margin:0 auto 25px auto}.lvemanager-icon.lvemanager-icon-info[_ngcontent-%COMP%]{color:#f4a9a9}.lvemanager-error-message[_ngcontent-%COMP%]{display:block;text-align:center;font-family:'Noto Sans',sans-serif;font-weight:bold;font-size:17px;line-height:31px;margin-bottom:30px}.lvemanager-back-message[_ngcontent-%COMP%]{display:block;text-align:center;font-family:'Noto Sans',sans-serif;font-size:16px;line-height:31px;margin-bottom:30px}.lvemanager-back-message[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{cursor:pointer}"]})},1086:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.LoaderableComponent=void 0;n(0);const a=n(288),i=n(233),o=n(414),r=n(541),s=n(0);class l{constructor(){this.loaderSelector=new r.LoaderSelector(null),this.loaderSettings={type:a.LoadingTypes.mat},this._loading=!1,this._loadingLogo=!1}get loadingPage(){return l.bindLoader(this.loaderSelector,"lvemanager-loading",this._loading)}get loadingPageLogo(){return l.bindLoader(this.loaderSelector,"lvemanager--logo",this._loadingLogo)}set loading(e){i.Helper.setImmediate((()=>{switch(this.loaderSettings.type){case a.LoadingTypes.spin:this._loading=e,this._loadingLogo=e;break;case a.LoadingTypes.mat:e&&this.appState&&(this.appState.set("isHiddenProgressBar",!0),o.InstanceInjector.loadingBarServiceInstance.set(0)),this.loaderSelector&&e!==this._loading&&(this._loading=e,this.appState&&!this.loaderSelector.showBigLoader&&(this.appState.set("menuLoader",e),e?(o.InstanceInjector.loadingBarServiceInstance.start(),this.appState.set("isHiddenProgressBar",!1)):o.InstanceInjector.loadingBarServiceInstance&&o.InstanceInjector.loadingBarServiceInstance.complete()));break;default:throw"Loader is not specified!"}}))}get loading(){return this._loading}static bindLoader(e,t,n){return e&&e.selector?(n?e.selector.nativeElement.classList.add(t):e.selector.nativeElement.classList.remove(t),!1):n}}t.LoaderableComponent=l,l.\u0275fac=function(e){return new(e||l)},l.\u0275prov=s.\u0275\u0275defineInjectable({token:l,factory:l.\u0275fac})},1087:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.CustomQueryEncoderHelper=void 0;t.CustomQueryEncoderHelper=class{decodeKey(e){return e}decodeValue(e){return e}encodeKey(e){return e.replace(/\+/gi,"%2B")}encodeValue(e){return encodeURIComponent(e.toString())}}},1088:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.RequestInterceptor=void 0;const a=n(3),i=(n(0),n(72));n(1089);n(163);const o=n(542),r=n(537),s=(n(67),n(73),n(287),n(546)),l=(n(88),n(22),n(0)),c=n(163),d=n(88),p=n(67),u=n(287),g=n(73),m=n(72),f=n(22);class v{constructor(e,t,n,a,i,o,r){this.xhr=e,this.notifications=t,this.appState=n,this.unavailableService=a,this.router=i,this.httpClient=o,this.translateService=r,this.pingTimeout=0,this.pingAction="undefined"!=typeof pingAction?pingAction:""}intercept(e,t){return t.handle(e).do((e=>{e.type===i.HttpEventType.Sent&&this.checkPluginAvailability()}),(e=>{e instanceof i.HttpErrorResponse&&this.errorHandler(e)}),(()=>{this.pingTimeout&&window.clearTimeout(this.pingTimeout)}))}errorHandler(e){return a.__awaiter(this,void 0,void 0,(function*(){const t=!!e.url&&e.url.match(/i18n\/(.*)\.json$/);if(t&&"en-en"!==t[1])return;if(e.url&&(e.url.includes("xray.cloudlinux.com")||e.url.includes("surveys.cloudlinux.com"))||e.error&&e.error.currentTarget&&e.error.currentTarget._url&&(e.error.currentTarget._url.includes("xray.cloudlinux.com")||e.error.currentTarget._url.includes("surveys.cloudlinux.com"))||e.error&&e.error.currentTarget&&e.error.currentTarget.__zone_symbol__xhrURL&&(e.error.currentTarget.__zone_symbol__xhrURL.includes("xray.cloudlinux.com")||e.error.currentTarget.__zone_symbol__xhrURL.includes("surveys.cloudlinux.com"))||424===e.status&&"Plugin not installed"===e.error.result)return;let n=!1,a=yield o.getErrorObject(e);if(s.setContext("formData",{request:this.xhr.formdata?this.xhr.formdata.toString():""}),!(e.url.includes("/api/analytics")||"object"==typeof a&&a.details&&a.details.includes("report-analytics"))){try{if(n=!a.details||""===a.details,"object"==typeof a&&(a.noSentry=n),this.checkLostAuthorization(a,e.status))return;if([502,503].includes(e.status))if(["License is not valid","Cloudlinux license isn't valid"].includes(a.result))this.router.navigate(["/license"]);else if("RPM DB is Corrupted"===a.result)this.router.navigate(["/corrupted/rpm"]);else if("More than one hosting account"===a.result)this.router.navigate(["/corrupted/hosting"]);else if("Kernel is not supported"===a.result)this.router.navigate(["/corrupted/kernel"]);else if("ERROR.hitting_cl_admin_accounts"===a.result)this.router.navigate(["/corrupted/hosting"]);else{if(503===a.code)return void this.unavailableService.showPage(a);if(["X-Ray User Plugin is not enabled. Please, contact your server administrator","PAYMENT_REQUIRED"].includes(a.result))return;this.showErrorMessage(a)}else[403,404].includes(e.status)?this.showErrorMessage({result:"ERROR.lvemanagerFileMissingOrCorrupt"}):this.showErrorMessage(a);this.checkLogoutSignal(a)&&"undefined"!=typeof logoutUrl&&this.handleLogoutError(logoutUrl)}catch(e){this.notifications.error("Error",e.message),a=e.message}if(!n){let e="string"==typeof a.details?a.details:JSON.stringify(a.details);throw new o.ServerException(e)}return a}}))}checkLostAuthorization(e,t){return!!(e.text&&this.isLogoutError(e.text)||401===t)&&(this.handleLogoutError(),!0)}handleLogoutError(e){this.pingTimeout&&window.clearTimeout(this.pingTimeout),this.notifications.error("Platform error","ERROR.expired_session"),window.setTimeout((()=>{r.Cookie.deleteCookie("csrftoken"),e?document.location.href=e:document.location.reload()}),5e3)}checkPluginAvailability(){this.pingAction&&(this.pingTimeout=window.setTimeout((()=>{this.httpClient.get(this.pingAction).subscribe((e=>{}),(e=>{e.status&&401!==e.status||this.handleLogoutError()}))}),1e4))}showErrorMessage(e){e||this.notifications.error("Error","ERROR.undefined");let t=this.translateService.instant(e.result,e.context||e.link||{}),n=e.hasOwnProperty("details")?this.translateService.instant(e.details,e.context||e.link||{}):"";n?e.ignore||this.notifications.error("Error","ERROR"===t?"ERROR.undefined":t,n):e.ignore||this.notifications.error("Error",t)}checkLogoutSignal(e){try{if(e.hasOwnProperty("logoutSignal"))return!!e.logoutSignal}catch(e){}return!1}isLogoutError(e){return"string"==typeof e&&/<html.*>.*<\/html>/.test(e.replace(/\r?\n|\r/g," "))}}t.RequestInterceptor=v,v.\u0275fac=function(e){return new(e||v)(l.\u0275\u0275inject(c.XHR),l.\u0275\u0275inject(d.ActionNotificationService),l.\u0275\u0275inject(p.AppState),l.\u0275\u0275inject(u.UnavailableService),l.\u0275\u0275inject(g.Router),l.\u0275\u0275inject(m.HttpClient),l.\u0275\u0275inject(f.TranslateService))},v.\u0275prov=l.\u0275\u0275defineInjectable({token:v,factory:v.\u0275fac})},1091:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.AwpMainComponent=void 0;const a=n(3),i=(n(0),n(338)),o=(n(89),n(67),n(337)),r=n(187),s=n(415),l=(n(88),n(79),n(416),n(1094)),c=(n(136),n(345)),d=n(4),p=n(556),u=n(0),g=n(67),m=n(89),f=n(136),v=n(88),h=n(79),_=n(416),b=n(1),C=n(557),w=n(164),x=n(558),M=n(559),y=n(417),P=n(560),O=n(586),S=n(22);function A(e,t){if(1&e&&(u.\u0275\u0275elementStart(0,"div",20),u.\u0275\u0275element(1,"ui-simple-info",21),u.\u0275\u0275elementEnd()),2&e){const e=u.\u0275\u0275nextContext(3);u.\u0275\u0275advance(1),u.\u0275\u0275property("message",e.warningMessage)}}function E(e,t){if(1&e){const e=u.\u0275\u0275getCurrentView();u.\u0275\u0275elementStart(0,"awp-websites-table",22),u.\u0275\u0275listener("moduleChanged",(function(t){u.\u0275\u0275restoreView(e);return u.\u0275\u0275nextContext(3).onModuleChanged(t)})),u.\u0275\u0275elementEnd()}if(2&e){const e=u.\u0275\u0275nextContext(3);u.\u0275\u0275property("tableData",e.tableData)("allowedFeatures",e.allowedFeatures)}}function k(e,t){1&e&&(u.\u0275\u0275elementStart(0,"div",23),u.\u0275\u0275text(1),u.\u0275\u0275pipe(2,"translate"),u.\u0275\u0275elementEnd()),2&e&&(u.\u0275\u0275advance(1),u.\u0275\u0275textInterpolate(u.\u0275\u0275pipeBind1(2,1,"AWP.no_websites")))}function I(e,t){if(1&e){const e=u.\u0275\u0275getCurrentView();u.\u0275\u0275elementStart(0,"div"),u.\u0275\u0275elementStart(1,"div",10),u.\u0275\u0275elementStart(2,"div",11),u.\u0275\u0275elementStart(3,"h2"),u.\u0275\u0275text(4),u.\u0275\u0275pipe(5,"translate"),u.\u0275\u0275elementEnd(),u.\u0275\u0275elementStart(6,"div",12),u.\u0275\u0275elementStart(7,"ui-button",13),u.\u0275\u0275listener("clickAction",(function(){u.\u0275\u0275restoreView(e);return u.\u0275\u0275nextContext(2).fetchData()})),u.\u0275\u0275text(8),u.\u0275\u0275pipe(9,"translate"),u.\u0275\u0275elementEnd(),u.\u0275\u0275elementStart(10,"a",14),u.\u0275\u0275element(11,"i",15),u.\u0275\u0275text(12),u.\u0275\u0275pipe(13,"translate"),u.\u0275\u0275elementEnd(),u.\u0275\u0275elementEnd(),u.\u0275\u0275elementEnd(),u.\u0275\u0275template(14,A,2,1,"div",16),u.\u0275\u0275elementStart(15,"div",17),u.\u0275\u0275elementStart(16,"ui-http-loader"),u.\u0275\u0275element(17,"awp-loader"),u.\u0275\u0275elementEnd(),u.\u0275\u0275template(18,E,1,2,"awp-websites-table",18),u.\u0275\u0275template(19,k,3,3,"ng-template",null,19,u.\u0275\u0275templateRefExtractor),u.\u0275\u0275elementEnd(),u.\u0275\u0275elementEnd(),u.\u0275\u0275elementEnd()}if(2&e){const e=u.\u0275\u0275reference(20),t=u.\u0275\u0275nextContext(2);u.\u0275\u0275advance(4),u.\u0275\u0275textInterpolate(u.\u0275\u0275pipeBind1(5,9,"AWP.my_wp_sites_title")),u.\u0275\u0275advance(3),u.\u0275\u0275property("customClass","rescan-advice-btn")("upper",!1),u.\u0275\u0275advance(1),u.\u0275\u0275textInterpolate1(" ",u.\u0275\u0275pipeBind1(9,11,"AWP.refresh_button_text")," "),u.\u0275\u0275advance(2),u.\u0275\u0275property("href",t.appState.get("USER_DOC_LINK"),u.\u0275\u0275sanitizeUrl),u.\u0275\u0275advance(2),u.\u0275\u0275textInterpolate1(" ",u.\u0275\u0275pipeBind1(13,13,"AWP.read_user_guide_link")," "),u.\u0275\u0275advance(2),u.\u0275\u0275property("ngIf",t.warningMessage),u.\u0275\u0275advance(4),u.\u0275\u0275property("ngIf",t.tableData.length)("ngIfElse",e)}}function D(e,t){if(1&e&&(u.\u0275\u0275elementStart(0,"div",3),u.\u0275\u0275elementStart(1,"div",4),u.\u0275\u0275elementStart(2,"div",5),u.\u0275\u0275elementStart(3,"div",6),u.\u0275\u0275element(4,"div",7),u.\u0275\u0275elementEnd(),u.\u0275\u0275elementEnd(),u.\u0275\u0275elementEnd(),u.\u0275\u0275element(5,"ui-feedback",8),u.\u0275\u0275pipe(6,"translate"),u.\u0275\u0275pipe(7,"translate"),u.\u0275\u0275template(8,I,21,15,"div",9),u.\u0275\u0275elementEnd()),2&e){const e=u.\u0275\u0275nextContext(),t=u.\u0275\u0275reference(4);u.\u0275\u0275advance(5),u.\u0275\u0275property("title",u.\u0275\u0275pipeBind1(6,5,"AWP.leave_feedback_title"))("feedbackLinkText",u.\u0275\u0275pipeBind1(7,7,"AWP.leave_feedback_link_text"))("feedbackLink",e.AWP_FEEDBACK_LINK),u.\u0275\u0275advance(3),u.\u0275\u0275property("ngIf",e.hasAllowedFeatures)("ngIfElse",t)}}function T(e,t){1&e&&(u.\u0275\u0275elementStart(0,"div",24),u.\u0275\u0275element(1,"awp-loader"),u.\u0275\u0275elementEnd())}function F(e,t){1&e&&(u.\u0275\u0275elementStart(0,"div",25),u.\u0275\u0275element(1,"awp-no-allowed-modules"),u.\u0275\u0275elementEnd())}class j extends i.BaseComponent{constructor(e,t,n,a,i,o,r){super(r),this.appState=e,this.awpRepo=t,this.adviceRepo=n,this.notifications=a,this.loader=i,this.configRepo=o,this.injector=r,this.AWP_FEEDBACK_LINK=l.AWP_FEEDBACK_LINK,this.tableData=[],this.appLoading=!1,this.httpRequestProgress=!1}ngOnInit(){return a.__awaiter(this,void 0,void 0,(function*(){yield this.loader.progress$.subscribe((e=>{this.httpRequestProgress=e>0})),this.updateTriggerSubscription$=yield this.awpRepo.updateTrigger$.subscribe((e=>a.__awaiter(this,void 0,void 0,(function*(){e&&(yield this.fetchData())}))));try{this.appLoading=!0,yield this.getUserInfo(),yield this.fetchData(),this.appLoading=!1}catch(e){this.appLoading=!1}}))}ngOnDestroy(){this.updateTriggerSubscription$&&!this.updateTriggerSubscription$.closed&&this.updateTriggerSubscription$.unsubscribe()}processAwpData(e){const t=o.plainToClass(r.AwpUserData,e),n={cdn:t.upgrade_url.cdn,object_cache:t.upgrade_url.object_cache,critical_css:t.upgrade_url.object_cache,image_optimization:t.upgrade_url.object_cache};this.awpRepo.subscriptionStateSubject$.next(e.subscription),this.awpRepo.upgradeUrlSubject$.next(n),this.maxMemoryLimit=e.max_cache_memory.replace(/mb/,""),this.usedMemory=e.used_memory,this.allowedFeatures=t.visible_features,this.hasAllowedFeatures=this.allowedFeatures.accelerate_wp.length||this.allowedFeatures.accelerate_wp_premium.length,this.tableData=t.userDataItems}fetchData(){return new Promise(((e,t)=>{d.forkJoin({agreement:d.from(this.checkAgreement()),awpData:d.from(this.awpRepo.getUserData()),advice:d.from(this.adviceRepo.adviceList()).pipe(p.catchError((e=>(this.appState.get("SMART_ADVICE")&&(this.warningMessage=null==e?void 0:e.result),d.of({data:[]})))))}).subscribe((t=>{const n=t.awpData,a=t.advice;this.processAwpData(n),this.processAdviceResponse(a),this.updateTableData(),e()}),(e=>{t(e)}))}))}processAdviceResponse(e){const t=o.plainToClass(c.SmartAdviceDataItem,e.data);this.adviceList=t.filter((e=>e.status!==c.AdviceStatus.outdated))}onModuleChanged(e){this.usedMemory=e.used_memory}updateTableData(){this.tableData=this.tableData.map((e=>(e.awpFree.advice=[],e.awpPremium.advice=[],this.adviceList.forEach((t=>{e.websites.includes(t.website)&&(t.advice.is_premium?e.awpPremium.advice.push(t):e.awpFree.advice.push(t))})),e)))}getUserInfo(){return a.__awaiter(this,void 0,void 0,(function*(){const e=yield this.configRepo.getUserInfo(),t=e.is_cl_solo_edition?l.USER_DOC_LINK.solo:l.USER_DOC_LINK.shared;this.appState.set("USER_DOC_LINK",t),this.appState.set("SMART_ADVICE",!0===e.smart_advice)}))}checkAgreement(){return a.__awaiter(this,void 0,void 0,(function*(){yield this.awpRepo.agreementStatus()}))}}t.AwpMainComponent=j,j.\u0275fac=function(e){return new(e||j)(u.\u0275\u0275directiveInject(g.AppState),u.\u0275\u0275directiveInject(m.AwpRepo),u.\u0275\u0275directiveInject(f.AdviceRepo),u.\u0275\u0275directiveInject(v.ActionNotificationService),u.\u0275\u0275directiveInject(h.LoadingBarService),u.\u0275\u0275directiveInject(_.ConfigRepo),u.\u0275\u0275directiveInject(u.Injector))},j.\u0275cmp=u.\u0275\u0275defineComponent({type:j,selectors:[["awp-main"]],viewQuery:function(e,t){var n;(1&e&&u.\u0275\u0275viewQuery(s.MatPaginator,!0),2&e)&&(u.\u0275\u0275queryRefresh(n=u.\u0275\u0275loadQuery())&&(t.paginator=n.first))},features:[u.\u0275\u0275InheritDefinitionFeature],decls:5,vars:2,consts:[["class","lvemanager-app-container",4,"ngIf","ngIfElse"],["loader",""],["noAllowedFeatures",""],[1,"lvemanager-app-container"],[1,"lvemanager-awp-app-header"],[1,"lvemanager-awp-app-header__app-title"],[1,"lvemanager-awp-page-title"],[1,"lvemanager-awp-logo"],[3,"title","feedbackLinkText","feedbackLink"],[4,"ngIf","ngIfElse"],[1,"lvemanager-awp-app-container"],[1,"lvemanager-awp-app-container__header"],[1,"lvemanager-controls"],["id","rescanAdvice","matIcon","refresh",1,"lvemanager-controls__item",3,"customClass","upper","clickAction"],["target","_blank",1,"lvemanager-read-our-faq-guide-link","lvemanager-controls__item",3,"href"],[1,"material-icons"],["class","lvemanager-awp-app-container__warning",4,"ngIf"],[1,"lvemanager-awp-app-container__table"],[3,"tableData","allowedFeatures","moduleChanged",4,"ngIf","ngIfElse"],["noWebsites",""],[1,"lvemanager-awp-app-container__warning"],["icon","error",3,"message"],[3,"tableData","allowedFeatures","moduleChanged"],[1,"lvemanager-no_result"],[1,"lvemanager-app-loader"],[1,"lvemanager-awp-no-allowed-modules-page-wrapper"]],template:function(e,t){if(1&e&&(u.\u0275\u0275template(0,D,9,9,"div",0),u.\u0275\u0275template(1,T,2,0,"ng-template",null,1,u.\u0275\u0275templateRefExtractor),u.\u0275\u0275template(3,F,2,0,"ng-template",null,2,u.\u0275\u0275templateRefExtractor)),2&e){const e=u.\u0275\u0275reference(2);u.\u0275\u0275property("ngIf",!t.appLoading)("ngIfElse",e)}},directives:[b.NgIf,C.UiFeedbackComponent,w.UiButton,x.UiHttpLoaderComponent,M.AwpLoaderComponent,y.UiSimpleInfo,P.AwpWebsitesTableComponent,O.AwpNoAllowedModulesComponent],pipes:[S.TranslatePipe],styles:['.lvemanager-ui-scroll[_ngcontent-%COMP%]::-webkit-scrollbar{width:12px;height:12px}.lvemanager-ui-scroll[_ngcontent-%COMP%]::-webkit-scrollbar-button{width:0;height:0}.lvemanager-ui-scroll[_ngcontent-%COMP%]::-webkit-scrollbar-thumb{-webkit-border-radius:0;-moz-border-radius:0;border-radius:0;-moz-background-clip:padding;-webkit-background-clip:padding-box;background-clip:padding-box;background:#2b98f0;border:0 none transparent}.lvemanager-ui-scroll[_ngcontent-%COMP%]::-webkit-scrollbar-thumb:hover{background:#2b98f0}.lvemanager-ui-scroll[_ngcontent-%COMP%]::-webkit-scrollbar-thumb:active{background:#2b98f0}.lvemanager-ui-scroll[_ngcontent-%COMP%]::-webkit-scrollbar-track{-webkit-border-radius:0;-moz-border-radius:0;border-radius:0;-moz-background-clip:padding;-webkit-background-clip:padding-box;background-clip:padding-box;background:#ffffff;border:0 none #ffffff}.lvemanager-ui-scroll[_ngcontent-%COMP%]::-webkit-scrollbar-track:hover{background:#ffffff}.lvemanager-ui-scroll[_ngcontent-%COMP%]::-webkit-scrollbar-track:active{background:#ffffff}.lvemanager-ui-scroll[_ngcontent-%COMP%]::-webkit-scrollbar-corner{background:transparent}.lvemanager-clearboth[_ngcontent-%COMP%]{zoom:1}.lvemanager-clearboth[_ngcontent-%COMP%]:before, .lvemanager-clearboth[_ngcontent-%COMP%]:after{content:"";display:table}.lvemanager-clearboth[_ngcontent-%COMP%]:after{clear:both}@keyframes spin{from{-webkit-transform:rotate(0deg);-moz-transform:rotate(0deg);-ms-transform:rotate(0deg);-o-transform:rotate(0deg);transform:rotate(0deg)}to{-webkit-transform:rotate(360deg);-moz-transform:rotate(360deg);-ms-transform:rotate(360deg);-o-transform:rotate(360deg);transform:rotate(360deg)}}.lvemanager-tabs-header[_ngcontent-%COMP%]{margin-bottom:30px}.lvemanager-tabs-header[_ngcontent-%COMP%] .navbar-header[_ngcontent-%COMP%]{margin-top:15px}.lvemanager-tabs-header[_ngcontent-%COMP%] .navbar-header[_ngcontent-%COMP%] .navbar-toggle[_ngcontent-%COMP%]{padding:4px 10px !important}.lvemanager-tabs-header[_ngcontent-%COMP%] .navbar-header[_ngcontent-%COMP%] .navbar-toggle[_ngcontent-%COMP%] .material-icons[_ngcontent-%COMP%]::before{color:#2b98f0;content:\'close\';-webkit-transition:all .2s ease-out;-moz-transition:all .2s ease-out;-ms-transition:all .2s ease-out;-o-transition:all .2s ease-out;transition:all .2s ease-out}.lvemanager-tabs-header[_ngcontent-%COMP%] .navbar-header[_ngcontent-%COMP%] .navbar-toggle.lvemanager-collapsed[_ngcontent-%COMP%] .material-icons[_ngcontent-%COMP%]::before{content:\'menu\'}.lvemanager-tabs-header[_ngcontent-%COMP%] .navbar-header[_ngcontent-%COMP%] .navbar-toggle[_ngcontent-%COMP%]:hover, .lvemanager-tabs-header[_ngcontent-%COMP%] .navbar-header[_ngcontent-%COMP%] .navbar-toggle[_ngcontent-%COMP%]:active, .lvemanager-tabs-header[_ngcontent-%COMP%] .navbar-header[_ngcontent-%COMP%] .navbar-toggle[_ngcontent-%COMP%]:focus{background-color:#f1f1f1;border-radius:2px}@media (max-width:767px){.lvemanager-tabs-header[_ngcontent-%COMP%]{background-color:#f7f8f9}}.lvemanager-tabs-header[_ngcontent-%COMP%] .lvemanager-menu-wrapper[_ngcontent-%COMP%]{border-radius:6px}@media (min-width:768px){.lvemanager-tabs-header[_ngcontent-%COMP%] .lvemanager-menu-wrapper[_ngcontent-%COMP%]{background-color:#f7f8f9}}.lvemanager-tabs-header[_ngcontent-%COMP%] .lvemanager-progress-bar-wrapper[_ngcontent-%COMP%]{height:4px}[_nghost-%COMP%] mat-progress-bar{padding-bottom:1px;margin-bottom:30px}[_nghost-%COMP%] mat-progress-bar .mat-progress-bar-fill:after{background-color:#2b98f0}[_nghost-%COMP%] mat-progress-bar .mat-progress-bar-buffer{display:none}[_nghost-%COMP%] mat-progress-bar .mat-progress-bar-background{display:none}[_nghost-%COMP%]{font-family:"Open Sans",sans-serif;min-height:100vh}.lvemanager-app-loader[_ngcontent-%COMP%]{height:100vh;display:flex;align-items:center;justify-content:center}.lvemanager-awp-no-allowed-modules-page-wrapper[_ngcontent-%COMP%]{display:flex;justify-content:center;width:100%;margin-top:81px}.lvemanager-awp-app-header__app-title[_ngcontent-%COMP%]{font-family:"Open Sans",sans-serif;font-size:18px;line-height:28px;font-weight:600;padding-left:20px;height:83px;border-radius:6px;background-color:#F4F5F7;display:flex;align-items:center}.lvemanager-awp-app-header__app-title[_ngcontent-%COMP%] .lvemanager-awp-page-title[_ngcontent-%COMP%]{display:flex;position:relative;height:43px;align-items:center}.lvemanager-awp-app-header__app-title[_ngcontent-%COMP%] .lvemanager-awp-page-title[_ngcontent-%COMP%] .lvemanager-page-title-label[_ngcontent-%COMP%]{display:block;position:absolute;font-style:normal;font-weight:normal !important;font-size:10px;line-height:12px;color:#1D1D1D;top:0;right:-10px}.lvemanager-awp-app-container__header[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:space-between;height:118px;background:white}.lvemanager-awp-app-container__header[_ngcontent-%COMP%] h2[_ngcontent-%COMP%]{font-family:"Open Sans",sans-serif;font-style:normal;font-weight:600;font-size:24px;line-height:28px;color:#1D1D1D}.lvemanager-awp-app-container__header[_ngcontent-%COMP%] .lvemanager-controls[_ngcontent-%COMP%]{display:flex}.lvemanager-awp-app-container__header[_ngcontent-%COMP%] .lvemanager-controls__item[_ngcontent-%COMP%]{margin-left:7px}.lvemanager-awp-app-container__header[_ngcontent-%COMP%] .lvemanager-controls[_ngcontent-%COMP%] .lvemanager-purge-redis-cache-btn{height:46px !important;border-radius:4px;background-color:#2B98F0;width:100%;padding:0 20px !important;font-family:"Open Sans",sans-serif;font-style:normal;font-weight:600;font-size:14px;line-height:19px;color:#FFFFFF;text-transform:unset}.lvemanager-awp-app-container__header[_ngcontent-%COMP%] .lvemanager-controls[_ngcontent-%COMP%] .lvemanager-purge-redis-cache-btn i{margin-right:10px}.lvemanager-awp-app-container__header[_ngcontent-%COMP%] .lvemanager-controls[_ngcontent-%COMP%] .lvemanager-rescan-advice-btn{height:46px !important;border-radius:4px;background-color:#fff;padding:0 20px !important;font-family:"Open Sans",sans-serif;font-style:normal;font-weight:600;font-size:14px;line-height:19px;text-transform:unset;border:1px solid #DEE1EC;box-sizing:border-box;box-shadow:0 1px 1px #F4F4F3;color:#1d1d1d !important}.lvemanager-awp-app-container__header[_ngcontent-%COMP%] .lvemanager-controls[_ngcontent-%COMP%] .lvemanager-rescan-advice-btn i{margin-right:10px}.lvemanager-awp-app-container__header[_ngcontent-%COMP%] .lvemanager-controls[_ngcontent-%COMP%] .lvemanager-read-our-faq-guide-link[_ngcontent-%COMP%]{display:flex;align-items:center;height:46px;text-decoration:none;background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg%20width%3D%2221%22%20height%3D%2221%22%20viewBox%3D%220%200%2021%2021%22%20fill%3D%22none%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%0A%20%20%20%20%3Cpath%20d%3D%22M18.375%2015.75H5.25C5.01794%2015.75%204.79538%2015.8422%204.63128%2016.0063C4.46719%2016.1704%204.375%2016.3929%204.375%2016.625C4.375%2016.8571%204.46719%2017.0796%204.63128%2017.2437C4.79538%2017.4078%205.01794%2017.5%205.25%2017.5H18.375V19.25H5.25C4.55381%2019.25%203.88613%2018.9734%203.39384%2018.4812C2.90156%2017.9889%202.625%2017.3212%202.625%2016.625V3.5C2.625%203.03587%202.80937%202.59075%203.13756%202.26256C3.46575%201.93437%203.91087%201.75%204.375%201.75H18.375V15.75ZM4.375%2014.0437C4.51675%2014.0149%204.66287%2014%204.8125%2014H16.625V3.5H4.375V14.0437ZM14%207.875H7V6.125H14V7.875Z%22%20fill%3D%22%231D1D1D%22%2F%3E%0A%3C%2Fsvg%3E%0A");background-repeat:no-repeat;background-position:20px center;padding:0 30px 0px 50px;background-color:#FFFFFF;border:1px solid #DEE1EC;box-sizing:border-box;box-shadow:0 1px 1px #F4F4F3;border-radius:4px;font-family:"Open Sans",sans-serif;font-style:normal;font-weight:600;font-size:14px;line-height:19px;color:#1d1d1d}.lvemanager-awp-app-container__info-panel[_ngcontent-%COMP%]{display:flex;padding:20px 50px;background:#F4F5F7;border-radius:6px}.lvemanager-awp-app-container__info-panel--item[_ngcontent-%COMP%]{margin-right:125px}.lvemanager-awp-app-container__info-panel--item[_ngcontent-%COMP%] .lvemanager-info-panel-item-title[_ngcontent-%COMP%]{font-family:"Open Sans",sans-serif;font-style:normal;font-weight:600;font-size:12px;line-height:16px;color:#1D1D1D}.lvemanager-awp-app-container__info-panel--item[_ngcontent-%COMP%] .lvemanager-info-panel-item-value[_ngcontent-%COMP%]{font-family:"Open Sans",sans-serif;font-style:normal;font-weight:600;font-size:25px;line-height:34px;color:#1D1D1D}.lvemanager-awp-app-container__warning[_ngcontent-%COMP%]{margin-bottom:10px}.lvemanager-awp-app-container__table[_ngcontent-%COMP%]{position:relative}ui-feedback[_ngcontent-%COMP%]{margin-top:19px}.lvemanager-awp-logo[_ngcontent-%COMP%]::after{display:none}']})},1094:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.AWP_FEEDBACK_LINK=t.USER_DOC_LINK=void 0,t.USER_DOC_LINK={shared:"https://docs.cloudlinux.com/user-docs/user-docs-shared-cloudlinux/#acceleratewp",solo:"https://docs.cloudlinux.com/user-docs/user-docs-solo-cloudlinux/#acceleratewp"},t.AWP_FEEDBACK_LINK="https://survey.survicate.com/9ab89852759fcb1e/?p=anonymous"},124:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Analytics=void 0;const a=n(3),i=(n(0),n(72)),o=n(6),r=n(1389),s=(n(136),n(0)),l=n(72),c=n(136);class d{constructor(e,t,n,a){this.user_hash=e,this.journey_id=t,this.variant_id=n,this.created_at=a}}class p{constructor(e,t,n,a,i,o,r,s){this.advice_id=e,this.feature=t,this.journey_id=n,this.user_hash=a,this.source=i,this.event=o,this.variant_id=r,this.username=s}}class u{constructor(e,t){this.http=e,this.adviceRepo=t,this.endpoint="https://x-ray-advice.cloudlinux.com/api/analytics",this.endpoint_event="/events",this.source="undefined",this.session_ttl=864e5,this.session=new d,this.setEndpoint(),this.setSource(),this.detectSession()}setEndpoint(){const e=localStorage.getItem("clAnalyticsMicroserviceEndpoint");null!==e&&""!==e&&(this.endpoint=e)}setSource(){"string"==typeof panelName&&(this.source=panelName.toLowerCase())}isSessionValid(e){return e instanceof Object&&(e.constructor===Object||e.constructor===d)&&"string"==typeof e.user_hash&&"string"==typeof e.journey_id}detectSession(){let e,t=this.getPOSTParams();e=0===Object.keys(t).length&&t.constructor===Object?new URL(document.location.toString()).searchParams:t;let n=!1;for(const t in this.session){const a=e.get(t);null!=a&&""!==a&&(this.session[t]=a,n=!0)}!0===this.isSessionValid(this.session)?!0===n&&this.saveSession(this.session):this.generateNewSession()}saveSession(e){try{e.created_at=Date.now();const t=JSON.stringify(e);localStorage.setItem("analyticsSession",t)}catch(e){throw e}}getSession(){var e;let t=new d;try{const n=JSON.parse(localStorage.getItem("analyticsSession"));if(this.isSessionValid(n)){const a=null!==(e=n.created_at)&&void 0!==e?e:Date.now();a>=Date.now()-this.session_ttl&&(t=new d(n.user_hash,n.journey_id,n.variant_id,a))}}catch(e){}return t}getPOSTParams(){return"undefined"!=typeof analytics_advice_id&&"undefined"!=typeof analytics_event&&"undefined"!=typeof analytics_journey_id&&"undefined"!=typeof analytics_source&&"undefined"!=typeof analytics_user_hash?{advice_id:analytics_advice_id,event:analytics_event,journey_id:analytics_journey_id,user_hash:analytics_user_hash,source:analytics_source,get:function(e){return this.hasOwnProperty(e)?this[e]:void 0}}:{}}generateNewSession(){const e=r.Md5.hashStr(userName),t=r.Md5.hashStr(Math.floor(Date.now()/1e3)+"|"+userName),n=Date.now(),a=new d(e,t,"",n);this.saveSession(a)}sendEventForAdvice(e,t){return a.__awaiter(this,void 0,void 0,(function*(){return yield this.sendEvent(e,"",t,"http")}))}sendEventForFeature(e,t){return a.__awaiter(this,void 0,void 0,(function*(){return yield this.sendEvent("",e,t,"cli")}))}sendEvent(e,t,n,r){return a.__awaiter(this,void 0,void 0,(function*(){const a=this.getSession();if(!1===this.isSessionValid(a))throw new Error("There is no analytics data. Session: "+JSON.stringify(a)+"; Local Storage: "+JSON.stringify(localStorage.getItem("analyticsSession")));const s=new p(e,t,a.journey_id,a.user_hash,this.source,n,a.variant_id,userName);var l=Object.assign({},s);if(Object.keys(l).forEach((e=>{void 0!==l[e]&&null!==l[e]&&""!==l[e]||delete l[e]})),"cli"===r)return yield this.adviceRepo.reportAnalytics(l);{const e=this.endpoint+this.endpoint_event,t=new i.HttpHeaders({"Content-Type":"application/json",ignoreLoadingBar:""});return this.http.post(e,JSON.stringify(l),{headers:t}).pipe(o.timeout(3e3)).toPromise()}}))}}t.Analytics=u,u.\u0275fac=function(e){return new(e||u)(s.\u0275\u0275inject(l.HttpClient),s.\u0275\u0275inject(c.AdviceRepo))},u.\u0275prov=s.\u0275\u0275defineInjectable({token:u,factory:u.\u0275fac,providedIn:"root"})},1327:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Validator=void 0;class a{constructor(e){this.translateService=e,this.errorMessages=[],this.requirements=[]}get errorMessagesAsString(){return this.errorMessages.join(". ")}static isRequired(e,t){return a.result("required",String(e).length>0,t)}static isMaxLength(e,t,n){return a.result("maxLength",String(e).length<=n,t,[n])}static isMinLength(e,t,n){return a.result("minLength",String(e).length>=n,t,[n])}static isNumeric(e,t){return a.result("numeric",/^[0-9]+(\.[0-9]+)?$/.test(e)||""===e,t)}static wholeNumber(e,t){return a.result("numeric",/^-?[0-9]+(\.[0-9]+)?$/.test(e)||""===e,t)}static isAlphanumeric(e,t){return a.result("alphanumeric",/^[\w\s]+$/.test(e)||""===e,t)}static isMemory(e,t){return a.result("memory",/^\d+(\.\d+)?[KMG]?$/.test(e)||""===e,t)}static isSpeed(e,t){return a.result("speed",/^(\d+(\.\d+)?(MB\/s|G\/s)|\d+(KB\/s)?)$/i.test(e)||""===e,t)}static isSpeedMysqlCpu(e,t){return a.result("speed_in_percent",/^(\d+(%)?)$/i.test(e)&&/^[1-9]+/i.test(e),t)}static isSpeedMysqlCpuPackage(e,t){return a.result("speed_in_percent",/^(\d+(%)?)$/i.test(e)&&/^[1-9]+/i.test(e)||"0"===e,t)}static isSpeedMysqlIo(e,t){return a.result("speed_io",/^(\d+(\.\d+)?(MB\/s|G\/s)?)$/i.test(e)||""===e,t)}static isCpuValue(e,t){return a.result("cpu",/^\d+?((\.\d+)*mhz|(\.\d+)*ghz|%)?$/gi.test(e)&&parseFloat(e)>0||""===e,t)}static isPositiveNumber(e,t){return a.result("positive_number",/^\d+$/.test(e)&&parseInt(e,10)>0,t)}static positiveIntOrFloat(e,t){return a.result("positiveIntOrFloat",/(\d+(?:\.\d+)?)/.test(e)&&+e>0,t)}static isNotNegativeNumber(e,t){return a.result("not_negative_number",/^\d+$/.test(e),t)}static isValidPathToFile(e,t){return a.result("valid_path_to_file",/^(\/[^/]+)*$/.test(e)||""===e,t)}static isAsciiChars(e,t){return a.result("only_ascii",/^[\x00-\x7F]*$/.test(e)||""===e,t)}static isValidLogFile(e,t){return a.result("valid_log_file",/^(\/[^/]+)*$/.test(e)||""===e,t)}static isValidEmail(e,t){return a.result("email",/^[a-zA-Z0-9.!#$%&'*+\/=?^_`{|}~-]+@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*$/.test(e)||""===e,t)}static isSsaCorrelation(e,t){return a.result("isSsaCorrelation",+e<=1&&+e>0,t)}static isSsaTime(e,t){return a.result("isSsaTime",/^\d+$/.test(e)&&+e<=12&&+e>=0,t)}static isValidPackageInodes(e,t){return a.result("inodes_for_package",/^\d+$/.test(e)||-1==+e,t)}static result(e,t,n,i=[]){return t?{isOK:!0}:{isOK:!1,message:a.getErrorMessage(e,n,i)}}static getErrorMessage(e,t,n=[]){return a.sprintf(t.instant(a.messages.hasOwnProperty(e)?a.messages[e]:a.messages.unknown),n)}static sprintf(e,t){if(t.length){let n;for(let a=0;a<t.length;a++)n=new RegExp("{([^{]*)("+a+")([^}]*)}"),e=e.replace(n,"$1"+t[a]+"$3")}else e=e.replace(/{[^{]*\d+[^}]*}/,"");return e}defineRequirements(e){return this.requirements=e,this}setValue(e){return this.value=e,this}resetErrors(){this.errorMessages=[],this.error=!1}addError(e){this.errorMessages.push(e),this.error=!0}get hasRequirements(){return!!this.requirements.length}validate(e,t,n,a){if(null===e)return;this.value=e,this.resetErrors();for(let t of this.requirements){let n=t.p?t.p:[],a=[e,this.translateService,...n],i=t.m.apply(null,a);i.isOK||this.addError(i.message)}let i=jQuery(n.nativeElement);setTimeout((()=>{i.tooltip&&i.tooltip(this.error?"show":"hide")}),100)}}t.Validator=a,a.messages={required:"Mandatory field",maxLength:"Value shouldn't be greater than {0}",minLength:"Value shouldn't be lesser than {0}",numeric:"Not a valid numeric value",alphanumeric:"Not a valid alphanumeric value",cpu:"Invalid value. Use postfix. Example: 1024[Mhz|Ghz|%]",memory:"Invalid value. Use postfix. Example: 1024[K|M|G]",speed:"Invalid value. Use postfix. Example: 1024[KB/s|MB/s|G/s]",speed_in_percent:'Invalid value. Use "%" postfix or provide integer value. Example: 100[%]',speed_io:"Invalid value. Use postfix. Example: 1024[MB/s|G/s]",inode:"Two comma-separated numbers required for this field",positive_number:"Value should be integer number > 0",not_negative_number:"Value should be >= 0",valid_path_to_file:"Path is not valid",only_ascii:"Only ASCII characters allowed",valid_log_file:"Path to the log file is not valid",unknown:"Unknown error",email:"Email is not valid",isSsaCorrelation:"Density threshold can't be negative or greater than 1",isSsaTime:"Value should be between 1 and 12, or 0",inodes_for_package:"Should be positive number or -1. Set 0 for default limit. Set -1 for unlimited.",positiveIntOrFloat:"Value should be > 0"}},1330:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ModalConfirmation=void 0;n(0);const a=n(565),i=n(0);function o(e,t){if(1&e){const e=i.\u0275\u0275getCurrentView();i.\u0275\u0275elementStart(0,"button",12),i.\u0275\u0275listener("click",(function(){i.\u0275\u0275restoreView(e);return i.\u0275\u0275nextContext(2).cancel()})),i.\u0275\u0275text(1),i.\u0275\u0275elementEnd()}if(2&e){const e=i.\u0275\u0275nextContext(2);i.\u0275\u0275advance(1),i.\u0275\u0275textInterpolate1(" ",e.cancelButtonName," ")}}function r(e,t){if(1&e){const e=i.\u0275\u0275getCurrentView();i.\u0275\u0275elementStart(0,"button",13),i.\u0275\u0275listener("click",(function(){i.\u0275\u0275restoreView(e);return i.\u0275\u0275nextContext(2).agree()})),i.\u0275\u0275text(1),i.\u0275\u0275elementEnd()}if(2&e){const e=i.\u0275\u0275nextContext(2);i.\u0275\u0275property("disabled",e.disabledAgreeButton),i.\u0275\u0275advance(1),i.\u0275\u0275textInterpolate1(" ",e.agreeButtonName," ")}}function s(e,t){if(1&e){const e=i.\u0275\u0275getCurrentView();i.\u0275\u0275elementStart(0,"ui-button",15),i.\u0275\u0275listener("clickAction",(function(){i.\u0275\u0275restoreView(e);const n=t.$implicit,a=i.\u0275\u0275nextContext(3);return n.action?a.runAction(n.action):null})),i.\u0275\u0275text(1),i.\u0275\u0275elementEnd()}if(2&e){const e=t.$implicit;i.\u0275\u0275styleMap(e.style||"flat"),i.\u0275\u0275property("name",e.name)("customClass",e.customClass)("size",e.size||null)("icon",e.icon)("multi",!!e.actions||null)("listOfActions",e.actions)("disabled",e.disabled)("hidden",e.hidden),i.\u0275\u0275advance(1),i.\u0275\u0275textInterpolate1(" ",e.title.text," ")}}function l(e,t){if(1&e&&(i.\u0275\u0275elementContainerStart(0),i.\u0275\u0275template(1,s,2,11,"ui-button",14),i.\u0275\u0275elementContainerEnd()),2&e){const e=i.\u0275\u0275nextContext(2);i.\u0275\u0275advance(1),i.\u0275\u0275property("ngForOf",e.tools)}}function c(e,t){if(1&e){const e=i.\u0275\u0275getCurrentView();i.\u0275\u0275elementStart(0,"div",4),i.\u0275\u0275elementStart(1,"div",5),i.\u0275\u0275element(2,"h2",6),i.\u0275\u0275pipe(3,"translate"),i.\u0275\u0275elementStart(4,"span",7),i.\u0275\u0275listener("click",(function(){i.\u0275\u0275restoreView(e);return i.\u0275\u0275nextContext().cancel()})),i.\u0275\u0275text(5,"\xd7"),i.\u0275\u0275elementEnd(),i.\u0275\u0275elementEnd(),i.\u0275\u0275elementStart(6,"div",8),i.\u0275\u0275projection(7),i.\u0275\u0275elementEnd(),i.\u0275\u0275elementStart(8,"div"),i.\u0275\u0275template(9,o,2,1,"button",9),i.\u0275\u0275template(10,r,2,2,"button",10),i.\u0275\u0275template(11,l,2,1,"ng-container",11),i.\u0275\u0275elementEnd(),i.\u0275\u0275elementEnd()}if(2&e){const e=i.\u0275\u0275nextContext();i.\u0275\u0275advance(2),i.\u0275\u0275property("innerHTML",i.\u0275\u0275pipeBind2(3,7,e.header.text,e.header.context),i.\u0275\u0275sanitizeHtml),i.\u0275\u0275advance(6),i.\u0275\u0275classMapInterpolate1("lvemanager-ui-modal-footer lvemanager-direction-type-",e.toolsDirectionType,""),i.\u0275\u0275advance(1),i.\u0275\u0275property("ngIf",e.cancelButtonName),i.\u0275\u0275advance(1),i.\u0275\u0275property("ngIf",e.agreeButtonName),i.\u0275\u0275advance(1),i.\u0275\u0275property("ngIf",e.tools)}}class d extends a.ModalDialog{constructor(){super(...arguments),this.cancelButtonName="Cancel",this.agreeButtonName="Agree"}}t.ModalConfirmation=d,d.\u0275fac=function(e){return p(e||d)},d.\u0275cmp=i.\u0275\u0275defineComponent({type:d,selectors:[["modal-confirmation"]],inputs:{cancelButtonName:"cancelButtonName",agreeButtonName:"agreeButtonName"},features:[i.\u0275\u0275InheritDefinitionFeature],ngContentSelectors:["*"],decls:5,vars:6,consts:[[1,"lvemanager-ui-modal",3,"hidden"],[3,"outsideClickEvent"],["loadingRef",""],["class","lvemanager-modal-ui-content",4,"ngIf"],[1,"lvemanager-modal-ui-content"],[1,"lvemanager-ui-modal-header"],[3,"innerHTML"],[1,"lvemanager-ui-close",3,"click"],[1,"lvemanager-ui-modal-body"],["class","b_btn lvemanager-main_btn btn-default","name","cancel","aria-label","Close","translate","",3,"click",4,"ngIf"],["class","b_btn lvemanager-main_btn btn-primary","name","agree","translate","",3,"disabled","click",4,"ngIf"],[4,"ngIf"],["name","cancel","aria-label","Close","translate","",1,"b_btn","lvemanager-main_btn","btn-default",3,"click"],["name","agree","translate","",1,"b_btn","lvemanager-main_btn","btn-primary",3,"disabled","click"],[3,"style","name","customClass","size","icon","multi","listOfActions","disabled","hidden","clickAction",4,"ngFor","ngForOf"],[3,"name","customClass","size","icon","multi","listOfActions","disabled","hidden","clickAction"]],template:function(e,t){1&e&&(i.\u0275\u0275projectionDef(),i.\u0275\u0275elementStart(0,"div",0),i.\u0275\u0275elementStart(1,"div",1),i.\u0275\u0275listener("outsideClickEvent",(function(){return t.cancel()})),i.\u0275\u0275elementStart(2,"div",null,2),i.\u0275\u0275template(4,c,12,10,"div",3),i.\u0275\u0275elementEnd(),i.\u0275\u0275elementEnd(),i.\u0275\u0275elementEnd()),2&e&&(i.\u0275\u0275property("hidden",!t.show),i.\u0275\u0275advance(1),i.\u0275\u0275classMapInterpolate2("lvemanager-ui-modal-content lvemanager-size-",t.size," lvemanager-frame-",t.frame,""),i.\u0275\u0275advance(3),i.\u0275\u0275property("ngIf",t.show))},styles:['.lvemanager-ui-scroll[_ngcontent-%COMP%]::-webkit-scrollbar{width:12px;height:12px}.lvemanager-ui-scroll[_ngcontent-%COMP%]::-webkit-scrollbar-button{width:0;height:0}.lvemanager-ui-scroll[_ngcontent-%COMP%]::-webkit-scrollbar-thumb{-webkit-border-radius:0;-moz-border-radius:0;border-radius:0;-moz-background-clip:padding;-webkit-background-clip:padding-box;background-clip:padding-box;background:#2b98f0;border:0 none transparent}.lvemanager-ui-scroll[_ngcontent-%COMP%]::-webkit-scrollbar-thumb:hover{background:#2b98f0}.lvemanager-ui-scroll[_ngcontent-%COMP%]::-webkit-scrollbar-thumb:active{background:#2b98f0}.lvemanager-ui-scroll[_ngcontent-%COMP%]::-webkit-scrollbar-track{-webkit-border-radius:0;-moz-border-radius:0;border-radius:0;-moz-background-clip:padding;-webkit-background-clip:padding-box;background-clip:padding-box;background:#ffffff;border:0 none #ffffff}.lvemanager-ui-scroll[_ngcontent-%COMP%]::-webkit-scrollbar-track:hover{background:#ffffff}.lvemanager-ui-scroll[_ngcontent-%COMP%]::-webkit-scrollbar-track:active{background:#ffffff}.lvemanager-ui-scroll[_ngcontent-%COMP%]::-webkit-scrollbar-corner{background:transparent}.lvemanager-clearboth[_ngcontent-%COMP%]{zoom:1}.lvemanager-clearboth[_ngcontent-%COMP%]:before, .lvemanager-clearboth[_ngcontent-%COMP%]:after{content:"";display:table}.lvemanager-clearboth[_ngcontent-%COMP%]:after{clear:both}@keyframes spin{from{-webkit-transform:rotate(0deg);-moz-transform:rotate(0deg);-ms-transform:rotate(0deg);-o-transform:rotate(0deg);transform:rotate(0deg)}to{-webkit-transform:rotate(360deg);-moz-transform:rotate(360deg);-ms-transform:rotate(360deg);-o-transform:rotate(360deg);transform:rotate(360deg)}}@-webkit-keyframes animatetop{from{top:-300px;opacity:0}to{top:0;opacity:1}}@-moz-keyframes animatetop{from{top:-300px;opacity:0}to{top:0;opacity:1}}@-ms-keyframes animatetop{from{top:-300px;opacity:0}to{top:0;opacity:1}}@-o-keyframes animatetop{from{top:-300px;opacity:0}to{top:0;opacity:1}}@keyframes animatetop{from{top:-300px;opacity:0}to{top:0;opacity:1}}.lvemanager-ui-modal[_ngcontent-%COMP%]{text-align:left;display:flex;-ms-flex-direction:column;position:fixed;z-index:9999;left:0;top:0;width:100%;height:100%;background-color:rgba(76,76,76,0.55)}.lvemanager-ui-modal[_ngcontent-%COMP%] .lvemanager-ui-modal-content[_ngcontent-%COMP%]{cursor:pointer;border:1px solid #eeeeee;padding:0;min-height:172px;max-height:172px;width:100%;position:relative;margin:auto;overflow:auto;max-height:100%;-webkit-animation:animatetop .4s;-moz-animation:animatetop .4s;animation:animatetop .4s;border-radius:4px;background-color:#fff;box-shadow:0 2px 14px 0 rgba(0,0,0,0.24)}.lvemanager-ui-modal[_ngcontent-%COMP%] .lvemanager-ui-modal-content[_ngcontent-%COMP%]::-webkit-scrollbar{width:12px;height:12px}.lvemanager-ui-modal[_ngcontent-%COMP%] .lvemanager-ui-modal-content[_ngcontent-%COMP%]::-webkit-scrollbar-button{width:0;height:0}.lvemanager-ui-modal[_ngcontent-%COMP%] .lvemanager-ui-modal-content[_ngcontent-%COMP%]::-webkit-scrollbar-thumb{-webkit-border-radius:0;-moz-border-radius:0;border-radius:0;-moz-background-clip:padding;-webkit-background-clip:padding-box;background-clip:padding-box;background:#2b98f0;border:0 none transparent}.lvemanager-ui-modal[_ngcontent-%COMP%] .lvemanager-ui-modal-content[_ngcontent-%COMP%]::-webkit-scrollbar-thumb:hover{background:#2b98f0}.lvemanager-ui-modal[_ngcontent-%COMP%] .lvemanager-ui-modal-content[_ngcontent-%COMP%]::-webkit-scrollbar-thumb:active{background:#2b98f0}.lvemanager-ui-modal[_ngcontent-%COMP%] .lvemanager-ui-modal-content[_ngcontent-%COMP%]::-webkit-scrollbar-track{-webkit-border-radius:0;-moz-border-radius:0;border-radius:0;-moz-background-clip:padding;-webkit-background-clip:padding-box;background-clip:padding-box;background:#ffffff;border:0 none #ffffff}.lvemanager-ui-modal[_ngcontent-%COMP%] .lvemanager-ui-modal-content[_ngcontent-%COMP%]::-webkit-scrollbar-track:hover{background:#ffffff}.lvemanager-ui-modal[_ngcontent-%COMP%] .lvemanager-ui-modal-content[_ngcontent-%COMP%]::-webkit-scrollbar-track:active{background:#ffffff}.lvemanager-ui-modal[_ngcontent-%COMP%] .lvemanager-ui-modal-content[_ngcontent-%COMP%]::-webkit-scrollbar-corner{background:transparent}.lvemanager-ui-modal[_ngcontent-%COMP%] .lvemanager-ui-modal-content.lvemanager-size-default[_ngcontent-%COMP%]{width:540px}.lvemanager-ui-modal[_ngcontent-%COMP%] .lvemanager-ui-modal-content.lvemanager-size-medium[_ngcontent-%COMP%]{width:600px}.lvemanager-ui-modal[_ngcontent-%COMP%] .lvemanager-ui-modal-content.lvemanager-size-large[_ngcontent-%COMP%]{width:96%}.lvemanager-ui-modal[_ngcontent-%COMP%] .lvemanager-ui-modal-content.lvemanager-frame-default[_ngcontent-%COMP%]{padding:25px}.lvemanager-ui-modal[_ngcontent-%COMP%] .lvemanager-ui-modal-content.lvemanager-frame-default[_ngcontent-%COMP%] .lvemanager-ui-modal-body[_ngcontent-%COMP%]{margin:25px 0}.lvemanager-ui-modal[_ngcontent-%COMP%] .lvemanager-ui-modal-content.lvemanager-frame-spaceless[_ngcontent-%COMP%]{padding-bottom:25px}.lvemanager-ui-modal[_ngcontent-%COMP%] .lvemanager-ui-modal-content.lvemanager-frame-spaceless[_ngcontent-%COMP%] .lvemanager-ui-modal-header[_ngcontent-%COMP%]{padding:15px 25px 0 0}.lvemanager-ui-modal[_ngcontent-%COMP%] .lvemanager-ui-modal-content.lvemanager-frame-spaceless[_ngcontent-%COMP%] .lvemanager-ui-modal-footer[_ngcontent-%COMP%]{padding-right:25px}.lvemanager-ui-modal[_ngcontent-%COMP%] .lvemanager-ui-modal-content[_ngcontent-%COMP%] .lvemanager-ui-modal-header[_ngcontent-%COMP%]{display:flex;justify-content:space-between;font-size:20px;color:#2b2b2b}.lvemanager-ui-modal[_ngcontent-%COMP%] .lvemanager-ui-modal-content[_ngcontent-%COMP%] .lvemanager-ui-modal-header[_ngcontent-%COMP%] h2[_ngcontent-%COMP%]{font-weight:bold;line-height:30px;width:420px}.lvemanager-ui-modal[_ngcontent-%COMP%] .lvemanager-ui-modal-content[_ngcontent-%COMP%] .lvemanager-ui-modal-header[_ngcontent-%COMP%] h2[_ngcontent-%COMP%]:first-letter{text-transform:uppercase}.lvemanager-ui-modal[_ngcontent-%COMP%] .lvemanager-ui-modal-content[_ngcontent-%COMP%] .lvemanager-ui-modal-header[_ngcontent-%COMP%] .lvemanager-ui-close[_ngcontent-%COMP%]{font-size:35px;font-weight:100;line-height:18px;color:#afafaf;cursor:pointer}.lvemanager-ui-modal[_ngcontent-%COMP%] .lvemanager-ui-modal-content[_ngcontent-%COMP%] .lvemanager-ui-modal-body[_ngcontent-%COMP%]{overflow:auto;font-size:13px}.lvemanager-ui-modal[_ngcontent-%COMP%] .lvemanager-ui-modal-content[_ngcontent-%COMP%] .lvemanager-ui-modal-footer[_ngcontent-%COMP%]{display:flex}.lvemanager-ui-modal[_ngcontent-%COMP%] .lvemanager-ui-modal-content[_ngcontent-%COMP%] .lvemanager-ui-modal-footer.lvemanager-direction-type-row[_ngcontent-%COMP%]{flex-direction:row;justify-content:flex-end}.lvemanager-ui-modal[_ngcontent-%COMP%] .lvemanager-ui-modal-content[_ngcontent-%COMP%] .lvemanager-ui-modal-footer.lvemanager-direction-type-column[_ngcontent-%COMP%]{flex-direction:column;align-items:flex-end}.lvemanager-ui-modal[_ngcontent-%COMP%] .lvemanager-ui-modal-content[_ngcontent-%COMP%] .lvemanager-ui-modal-footer[_ngcontent-%COMP%] > ui-button[ng-reflect-style="default"][_ngcontent-%COMP%], .lvemanager-ui-modal[_ngcontent-%COMP%] .lvemanager-ui-modal-content[_ngcontent-%COMP%] .lvemanager-ui-modal-footer[_ngcontent-%COMP%] > ui-button[ng-reflect-style="primary"][_ngcontent-%COMP%]{margin-left:10px}[_nghost-%COMP%] ui-button button{font-size:15px;font-weight:bold}[_nghost-%COMP%] ui-button button.lvemanager-icon{padding-left:19px}[_nghost-%COMP%] .lvemanager-text-block{margin:20px 0;width:430px}']});const p=i.\u0275\u0275getInheritedFactory(d)},1341:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const a=n(3);a.__exportStar(n(1342),t),a.__exportStar(n(552),t),a.__exportStar(n(553),t),a.__exportStar(n(411),t)},1342:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});n(3).__exportStar(n(1343),t)},1343:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.AppComponent=void 0;n(0);const a=n(73),i=n(1344),o=n(0),r=n(73);class s extends i.BaseApplicationComponent{}t.AppComponent=s,s.\u0275fac=function(e){return l(e||s)},s.\u0275cmp=o.\u0275\u0275defineComponent({type:s,selectors:[["lvemanager"]],viewQuery:function(e,t){var n;(1&e&&o.\u0275\u0275viewQuery(a.RouterOutlet,!0),2&e)&&(o.\u0275\u0275queryRefresh(n=o.\u0275\u0275loadQuery())&&(t.routerOutlet=n.first))},features:[o.\u0275\u0275InheritDefinitionFeature],decls:5,vars:0,consts:[["href","https://fonts.googleapis.com/css?family=Noto+Sans:400,700&subset=cyrillic","rel","stylesheet"],["href","https://fonts.googleapis.com/icon?family=Material+Icons|Material+Icons+Outlined","rel","stylesheet"],["href","https://fonts.googleapis.com/css?family=Roboto","rel","stylesheet"],["route",""]],template:function(e,t){1&e&&(o.\u0275\u0275element(0,"link",0),o.\u0275\u0275element(1,"link",1),o.\u0275\u0275element(2,"link",2),o.\u0275\u0275element(3,"router-outlet",null,3))},directives:[r.RouterOutlet],styles:["[_nghost-%COMP%]{padding:30px}"]});const l=o.\u0275\u0275getInheritedFactory(s)},1344:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.APP_PROVIDERS=t.BaseApplicationComponent=void 0;n(0);const a=n(67),i=n(338),o=n(336),r=n(73),s=(n(22),n(1),n(79),n(414)),l=n(1345),c=(n(214),n(0)),d=n(67),p=n(22),u=n(73),g=n(1),m=n(79),f=n(214),v=["tabHeader"];class h extends i.BaseComponent{constructor(e,t,n,a,i,c,d,p,u,g){super(g),this.appState=e,this.viewRef=t,this.elementRef=n,this.renderer=a,this.translateService=i,this.router=c,this.platformLocation=d,this.loadingBar=p,this.window=u,this.ENABLE_SUPPORT=Object({ENV:"production",AOT:!0}).ENABLE_SUPPORT,this.tabs=[],this.isAvailableElementForCurrentPanel={nodejs_selector:!1},this.notification_options={timeOut:5e3,lastOnBottom:!0,clickToClose:!0,maxLength:0,maxStack:7,showProgressBar:!1,pauseOnHover:!0,preventDuplicates:!1,preventLastDuplicates:"visible",rtl:!1,animate:!0,open:!1},this.userType=userType,s.InstanceInjector.loadingBarServiceInstance=p,this.appState.set("panelName",panelName),this.appState.set("userType",userType),this.appState.set("userName",userName),this.appState.set("currentLanguage",currentLanguage),this.appState.set("isHiddenProgressBar",!1),this.appState.set("isAdmin",userType===o.OWNER_ADMIN),this.appState.set("isReseller",userType===o.OWNER_RESELLER),this.appState.set("isUser",userType===o.OWNER_USER),this.appState.set("historyLength",0),this.appState.set("menuLoader",!1),this.router.events.subscribe((e=>{e instanceof r.NavigationStart&&(this.platformLocation.replaceState({page:this.appState.get("historyLength")},"",""),this.appState.set("historyLength",this.appState.get("historyLength")+1))})),this.router.events.pipe(l.filter((e=>e instanceof r.NavigationEnd))).subscribe((e=>{let t=e.url.replace(/\/?\([^)]*\)/g,"");this.platformLocation.replaceState(null,"",`#${t}`)})),this.platformLocation.onPopState((e=>{e.state&&this.appState.set("historyLength",e.state.page-1)}))}getTabs(){throw new Error("getTabs not implemented")}isActive(e){return"/"===e?["","#/"].includes(this.window.nativeWindow.location.hash):(0!==e.indexOf("/")&&(e=`/${e}`),this.window.nativeWindow.location.hash.indexOf(e)>-1)}get getAvailabilityOfNavigation(){return!0}}t.BaseApplicationComponent=h,h.\u0275fac=function(e){return new(e||h)(c.\u0275\u0275directiveInject(d.AppState),c.\u0275\u0275directiveInject(c.ViewContainerRef),c.\u0275\u0275directiveInject(c.ElementRef),c.\u0275\u0275directiveInject(c.Renderer2),c.\u0275\u0275directiveInject(p.TranslateService),c.\u0275\u0275directiveInject(u.Router),c.\u0275\u0275directiveInject(g.PlatformLocation),c.\u0275\u0275directiveInject(m.LoadingBarService),c.\u0275\u0275directiveInject(f.WindowRef),c.\u0275\u0275directiveInject(c.Injector))},h.\u0275dir=c.\u0275\u0275defineDirective({type:h,selectors:[["","baseApplicationComponent",""]],viewQuery:function(e,t){var n;(1&e&&(c.\u0275\u0275viewQuery(r.RouterOutlet,!0),c.\u0275\u0275viewQuery(v,!0)),2&e)&&(c.\u0275\u0275queryRefresh(n=c.\u0275\u0275loadQuery())&&(t.routerOutlet=n.first),c.\u0275\u0275queryRefresh(n=c.\u0275\u0275loadQuery())&&(t.tabHeader=n.first))},features:[c.\u0275\u0275InheritDefinitionFeature]}),t.APP_PROVIDERS=[a.AppState]},1347:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.SentryErrorHandler=void 0;const a=n(294);t.SentryErrorHandler=class{handleError(e){if(e.rejection&&e.rejection.noSentry)return;let t=e.originalError;t||(e.originalStack?(t=new Error(e.message),t.name=e.name||t.name,t.stack=e.originalStack):t=e),a.captureException(t)}}},1350:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.IframePlatformLocation=void 0;const a=n(1),i=(n(0),n(214),n(288)),o=n(0),r=n(214),s=n(1);class l extends a.PlatformLocation{constructor(e,t){super(),this.winRef=e,this.nativePL=t;let n=this.winRef.iframeStatus();return n===i.PageIframeStatus.LOCKED||n===i.PageIframeStatus.NOT_PRESENT?this.nativePL:(this._init(),this)}_init(){this.window=this.winRef.nativeWindow,this.location=this.window.location,this._history=this.window.history}getBaseHrefFromDOM(){return this.window.document.baseURI}onPopState(e){this.window.addEventListener("popstate",e,!1)}onHashChange(e){this.window.addEventListener("hashchange",(()=>e(null)),!1)}get pathname(){return this.location.pathname}get search(){return this.location.search}get hash(){return this.location.hash}set pathname(e){this.location.pathname=e}get hostname(){return this.location.hostname}get href(){return this.location.href}get port(){return this.location.port}get protocol(){return this.location.protocol}pushState(e,t,n){this.supportsState()?this._history.pushState(e,t,n):this.location.hash=n}replaceState(e,t,n){this.supportsState()?this._history.replaceState(e,t,n):this.location.hash=n}forward(){this._history.forward()}back(){this._history.back()}getState(){return this._history.state}supportsState(){return!!this._history.pushState}}t.IframePlatformLocation=l,l.\u0275fac=function(e){return new(e||l)(o.\u0275\u0275inject(r.WindowRef),o.\u0275\u0275inject(s.\u0275BrowserPlatformLocation))},l.\u0275prov=o.\u0275\u0275defineInjectable({token:l,factory:l.\u0275fac})},1351:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.UiPaginatorModule=void 0;const a=n(1),i=(n(0),n(218)),o=n(219),r=n(220),s=n(419),l=n(415),c=n(349),d=n(188),p=n(165),u=n(0);class g{}t.UiPaginatorModule=g,g.\u0275mod=u.\u0275\u0275defineNgModule({type:g}),g.\u0275inj=u.\u0275\u0275defineInjector({factory:function(e){return new(e||g)},providers:[l.MAT_PAGINATOR_INTL_PROVIDER],imports:[[a.CommonModule,i.MatButtonModule,o.MatSelectModule,r.MatTooltipModule,c.ComponentModule,d.BsDropdownModule,p.CustomTranslateModule]]}),("undefined"==typeof ngJitMode||ngJitMode)&&u.\u0275\u0275setNgModuleScope(g,{declarations:[s.UiPaginatorComponent],imports:[a.CommonModule,i.MatButtonModule,o.MatSelectModule,r.MatTooltipModule,c.ComponentModule,d.BsDropdownModule,p.CustomTranslateModule],exports:[s.UiPaginatorComponent]})},1352:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.UiTableSpinner=void 0;n(0);const a=n(0),i=n(1);function o(e,t){if(1&e&&(a.\u0275\u0275elementStart(0,"td",1),a.\u0275\u0275elementStart(1,"div",2),a.\u0275\u0275element(2,"ui-spinner",3),a.\u0275\u0275elementEnd(),a.\u0275\u0275elementEnd()),2&e){const e=a.\u0275\u0275nextContext();a.\u0275\u0275advance(2),a.\u0275\u0275property("show",e.state)}}class r{set uiSpinner(e){this.state=e}}t.UiTableSpinner=r,r.\u0275fac=function(e){return new(e||r)},r.\u0275cmp=a.\u0275\u0275defineComponent({type:r,selectors:[["","uiSpinner",""]],inputs:{uiSpinner:"uiSpinner"},attrs:["uiSpinner",""],ngContentSelectors:["*"],decls:2,vars:1,consts:[["class","lvemanager-spinner-block-parent",4,"ngIf"],[1,"lvemanager-spinner-block-parent"],[1,"lvemanager-spinner-block"],[3,"show"]],template:function(e,t){1&e&&(a.\u0275\u0275projectionDef(),a.\u0275\u0275projection(0),a.\u0275\u0275template(1,o,3,1,"td",0)),2&e&&(a.\u0275\u0275advance(1),a.\u0275\u0275property("ngIf",t.state))},directives:[i.NgIf],styles:["td[_ngcontent-%COMP%]{position:absolute;border:none !important}.lvemanager-spinner-block[_ngcontent-%COMP%]{opacity:.63;-webkit-backdrop-filter:blur(1px);backdrop-filter:blur(1px);background-color:#ffffff;display:flex;justify-content:center;align-items:center;top:0;position:relative;height:100%;text-align:center;padding-right:30px;margin-top:1px;font-size:26px}td.lvemanager-spinner-block-parent[_ngcontent-%COMP%]{z-index:3;left:0;width:100%;height:inherit;padding:0}td.lvemanager-spinner-block-parent[_ngcontent-%COMP%]:hover{background-color:transparent}"]})},1353:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.KeysPipe=void 0;n(0);const a=n(0);class i{transform(e,t){let n=[];for(let t in e)n.push({key:t,value:e[t]});return n}}t.KeysPipe=i,i.\u0275fac=function(e){return new(e||i)},i.\u0275pipe=a.\u0275\u0275definePipe({name:"keys",type:i,pure:!0})},1354:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.MaxPipe=void 0;n(0);const a=n(0);class i{transform(e,t){let n=t[0],a=e.length;if(a>n&&0!==n){let t=n-a;return e.slice(0,t)}return e}}t.MaxPipe=i,i.\u0275fac=function(e){return new(e||i)},i.\u0275pipe=a.\u0275\u0275definePipe({name:"max",type:i,pure:!0})},1355:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.PanelClass=void 0;n(0);const a=n(0);class i{transform(e){return panelClasses.hasOwnProperty(e)?panelClasses[e]:e}}t.PanelClass=i,i.\u0275fac=function(e){return new(e||i)},i.\u0275pipe=a.\u0275\u0275definePipe({name:"panelClass",type:i,pure:!0})},1356:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.RangePipe=void 0;n(0);const a=n(0);class i{transform(e,t){let n=[];for(let t=0;t<e;t++)n.push(t);return n}}t.RangePipe=i,i.\u0275fac=function(e){return new(e||i)},i.\u0275pipe=a.\u0275\u0275definePipe({name:"range",type:i,pure:!0})},1357:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ReplaceDots=void 0;n(0);const a=n(0);class i{transform(e){return e.replace(/\./g,"-")}}t.ReplaceDots=i,i.\u0275fac=function(e){return new(e||i)},i.\u0275pipe=a.\u0275\u0275definePipe({name:"replaceDots",type:i,pure:!0})},1358:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});n(3).__exportStar(n(428),t)},1359:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});n(3).__exportStar(n(1360),t)},136:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.AdviceRepo=void 0;n(0),n(163);const a=n(1095),i=(n(67),n(336)),o=n(0),r=n(163),s=n(67);class l{constructor(e,t){this.request=e,this.appState=t,this.userActionProgress$=new a.BehaviorSubject(!1),this.adminCommand="cl-smart-advice",this.userCommand="cl-smart-advice-user"}adviceList(){return this.request.post({command:this.getCliCommand(),method:"list"},"cl-smart-advice-list")}adviceApply(e,t=!1){const n=t?{advice_id:e,"ignore-errors":"",async:""}:{advice_id:e,async:""};return this.request.post({command:this.getCliCommand(),method:"apply",params:n},"cl-smart-advice-apply")}adviceRollback(e,t=""){let n={advice_id:e,async:""};return t.trim()&&(n.reason=t),this.request.post({command:this.getCliCommand(),method:"rollback",params:n},"cl-smart-advice-rollback")}adviceDetails(e){return this.request.post({command:this.getCliCommand(),method:"details",params:{advice_id:e}},"cl-smart-advice-details")}adviceStatus(e){return this.request.post({command:this.getCliCommand(),method:"status",params:{advice_id:e}},"cl-smart-advice-status")}reportAnalytics(e){return this.request.post({command:this.getCliCommand(),method:"report-analytics",params:e},"cl-smart-advice-report-analytics")}getCliCommand(){if(this.appState.get("userType")===i.OWNER_ADMIN)return this.adminCommand;if(this.appState.get("userType")===i.OWNER_USER)return this.userCommand;throw new Error("Action is not allowed")}ngOnDestroy(){this.userActionProgress$.complete()}}t.AdviceRepo=l,l.\u0275fac=function(e){return new(e||l)(o.\u0275\u0275inject(r.XHR),o.\u0275\u0275inject(s.AppState))},l.\u0275prov=o.\u0275\u0275defineInjectable({token:l,factory:l.\u0275fac})},1360:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.OrderBy=void 0;n(0);const a=n(0);class i{transform(e,t){return e&&t?e.sort(((e,n)=>t(e,n))):e}}t.OrderBy=i,i.\u0275fac=function(e){return new(e||i)},i.\u0275pipe=a.\u0275\u0275definePipe({name:"orderBy",type:i,pure:!0})},1361:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.TruncateTextPipe=void 0;n(0);const a=n(0);class i{transform(e,t){try{return e.length>=t?e.slice(0,t)+"...":e}catch(e){return""}}}t.TruncateTextPipe=i,i.\u0275fac=function(e){return new(e||i)},i.\u0275pipe=a.\u0275\u0275definePipe({name:"truncateText",type:i,pure:!0})},1362:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.DurationPipe=void 0;n(0);const a=n(0);class i{transform(e){if(e<1e6){return`${Math.round(e/1e3)} ms`}return`${Math.round(e/1e3)/1e3} sec`}}t.DurationPipe=i,i.\u0275fac=function(e){return new(e||i)},i.\u0275pipe=a.\u0275\u0275definePipe({name:"duration",type:i,pure:!0})},1363:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.NoDomainSchemePipe=void 0;n(0);const a=n(0);class i{transform(e){return e.replace(/^(http)s?:\/\//,"")}}t.NoDomainSchemePipe=i,i.\u0275fac=function(e){return new(e||i)},i.\u0275pipe=a.\u0275\u0275definePipe({name:"noDomainScheme",type:i,pure:!0})},1364:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.IntervalService=void 0;const a=n(6),i=n(4);t.IntervalService=class{constructor(){this.interval10=i.interval(1e4).pipe(a.share(),a.startWith(null))}}},1365:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.NotificationsModule=void 0;n(0);const a=n(1),i=n(1366),o=n(185),r=n(293),s=n(429),l=n(165),c=n(0),d=n(165),p=n(185);class u{}t.NotificationsModule=u,u.\u0275mod=c.\u0275\u0275defineNgModule({type:u}),u.\u0275inj=c.\u0275\u0275defineInjector({factory:function(e){return new(e||u)},imports:[[a.CommonModule,l.CustomTranslateModule.forRoot(),r.CommonPipes,s.CommonDirectivesModule,o.ToastrModule.forRoot({tapToDismiss:!1,positionClass:"toast-top-right",toastComponent:i.ToastrNotificationsComponent})]]}),("undefined"==typeof ngJitMode||ngJitMode)&&c.\u0275\u0275setNgModuleScope(u,{declarations:[i.ToastrNotificationsComponent],imports:[a.CommonModule,d.CustomTranslateModule,r.CommonPipes,s.CommonDirectivesModule,p.ToastrModule],exports:[i.ToastrNotificationsComponent]})},1366:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ToastrNotificationsComponent=void 0;const a=n(5),i=(n(0),n(185)),o=n(0),r=n(185),s=n(1),l=n(427),c=n(291),d=n(428),p=n(292),u=n(22);function g(e,t){1&e&&(o.\u0275\u0275elementStart(0,"span"),o.\u0275\u0275text(1),o.\u0275\u0275pipe(2,"translate"),o.\u0275\u0275elementEnd()),2&e&&(o.\u0275\u0275advance(1),o.\u0275\u0275textInterpolate(o.\u0275\u0275pipeBind1(2,1,"AWP.show_more")))}function m(e,t){1&e&&(o.\u0275\u0275elementStart(0,"span"),o.\u0275\u0275text(1),o.\u0275\u0275pipe(2,"translate"),o.\u0275\u0275elementEnd()),2&e&&(o.\u0275\u0275advance(1),o.\u0275\u0275textInterpolate(o.\u0275\u0275pipeBind1(2,1,"AWP.show_less")))}function f(e,t){if(1&e){const e=o.\u0275\u0275getCurrentView();o.\u0275\u0275elementContainerStart(0),o.\u0275\u0275elementStart(1,"span",6),o.\u0275\u0275listener("click",(function(){o.\u0275\u0275restoreView(e);return o.\u0275\u0275nextContext().toggleShort()})),o.\u0275\u0275template(2,g,3,3,"span",5),o.\u0275\u0275template(3,m,3,3,"span",5),o.\u0275\u0275elementEnd(),o.\u0275\u0275elementContainerEnd()}if(2&e){const e=o.\u0275\u0275nextContext();o.\u0275\u0275advance(2),o.\u0275\u0275property("ngIf",!e.isFullMessage),o.\u0275\u0275advance(1),o.\u0275\u0275property("ngIf",e.isFullMessage)}}const v=function(e){return[e]};class h extends i.Toast{constructor(e,t){super(e,t),this.toastrService=e,this.toastPackage=t,this.isInline=this.message.length<=100,this.shortMessage=this.message.slice(0,75)+" ...",this.isFullMessage=this.isInline}get displayedMessage(){return this.isFullMessage?this.message:this.shortMessage}toggleShort(){this.isFullMessage=!this.isFullMessage}}t.ToastrNotificationsComponent=h,h.\u0275fac=function(e){return new(e||h)(o.\u0275\u0275directiveInject(r.ToastrService),o.\u0275\u0275directiveInject(r.ToastPackage))},h.\u0275cmp=o.\u0275\u0275defineComponent({type:h,selectors:[["lvemanager-toastr-notifications"]],features:[o.\u0275\u0275InheritDefinitionFeature],decls:10,vars:15,consts:[[1,"lvemanager-app-lvemanager-toast","toast",3,"ngClass"],[1,"lvemanager-app-toast__close-btn",3,"click"],[1,"lvemanager-app-toast__close-icon"],[1,"lvemanager-app-toast__title"],["copyText","",1,"lvemanager-app-toast__msg",3,"copyTextSelector","copyTextAll","copyTextSkipSelector","innerHTML"],[4,"ngIf"],[1,"lvemanager-app-toast__show-more",3,"click"]],template:function(e,t){1&e&&(o.\u0275\u0275elementStart(0,"div",0),o.\u0275\u0275elementStart(1,"button",1),o.\u0275\u0275listener("click",(function(){return t.remove()})),o.\u0275\u0275element(2,"span",2),o.\u0275\u0275elementEnd(),o.\u0275\u0275elementStart(3,"div",3),o.\u0275\u0275text(4),o.\u0275\u0275elementEnd(),o.\u0275\u0275element(5,"div",4),o.\u0275\u0275pipe(6,"linebreak"),o.\u0275\u0275pipe(7,"code"),o.\u0275\u0275pipe(8,"linkify"),o.\u0275\u0275template(9,f,4,2,"ng-container",5),o.\u0275\u0275elementEnd()),2&e&&(o.\u0275\u0275property("ngClass",o.\u0275\u0275pureFunction1(13,v,"app-toast--"+t.toastPackage.toastType)),o.\u0275\u0275advance(4),o.\u0275\u0275textInterpolate1(" ",t.title," "),o.\u0275\u0275advance(1),o.\u0275\u0275property("copyTextSelector","code")("copyTextAll",!0)("copyTextSkipSelector","a")("innerHTML",o.\u0275\u0275pipeBind1(6,7,o.\u0275\u0275pipeBind1(7,9,o.\u0275\u0275pipeBind1(8,11,t.displayedMessage))),o.\u0275\u0275sanitizeHtml),o.\u0275\u0275advance(4),o.\u0275\u0275property("ngIf",!t.isInline))},directives:[s.NgClass,l.CopyTextDirective,s.NgIf],pipes:[c.Linebreak,d.CodePipe,p.LinkifyPipe,u.TranslatePipe],styles:['[_nghost-%COMP%]{display:block}.lvemanager-app-lvemanager-toast[_ngcontent-%COMP%]{display:flex;flex-direction:column;justify-content:center;pointer-events:all;position:relative;border-radius:6px;box-shadow:0 1px 13px 0 rgba(191,145,114,0.68);overflow:hidden;box-sizing:border-box;color:#fff;margin-bottom:20px;background-position:15px 17px;background-repeat:no-repeat;background-size:53px;padding:15px 36px 15px 84px;width:329px;min-height:86px}.lvemanager-app-toast__close-btn[_ngcontent-%COMP%]{position:absolute;z-index:1;right:10px;top:10px;width:26px;min-width:26px;height:26px;min-height:26px;line-height:26px;display:flex;align-items:center;justify-content:center;border-radius:100%;opacity:.86;padding:0;box-sizing:border-box;background:transparent;user-select:none;cursor:pointer;outline:0;border:none;white-space:nowrap;text-decoration:none;vertical-align:baseline;text-align:center;margin:0;overflow:visible}.lvemanager-app-toast__close-icon[_ngcontent-%COMP%]{width:26px;height:26px;color:rgba(255,255,255,0.8);fill:currentColor}.lvemanager-app-toast__close-icon[_ngcontent-%COMP%]:after{content:"";top:0;left:0;bottom:0;right:0;position:absolute;z-index:-1;opacity:.86;background-position:center;background-repeat:no-repeat;background-size:cover;background-image:url("data:image/svg+xml;charset=utf-8,%3C%3Fxml%20version%3D%221.0%22%20encoding%3D%22UTF-8%22%3F%3E%0A%3Csvg%20width%3D%2220px%22%20height%3D%2220px%22%20viewBox%3D%220%200%2020%2020%22%20version%3D%221.1%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20xmlns%3Axlink%3D%22http%3A%2F%2Fwww.w3.org%2F1999%2Fxlink%22%3E%0A%20%20%20%20%3Cg%20id%3D%22Page-1%22%20stroke%3D%22none%22%20stroke-width%3D%221%22%20fill-rule%3D%22evenodd%22%20fill%3D%22%23FFFFFF%22%3E%0A%20%20%20%20%20%20%20%20%3Cg%20id%3D%22Styles%22%20transform%3D%22translate(-707.000000%2C%20-492.000000)%22%20fill-rule%3D%22nonzero%22%3E%0A%20%20%20%20%20%20%20%20%20%20%20%20%3Cg%20id%3D%22noun_Close_1890812%22%20transform%3D%22translate(707.000000%2C%20492.000000)%22%3E%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Cpath%20d%3D%22M10%2C0.104166667%20C4.54166667%2C0.104166667%200.104166667%2C4.54166667%200.104166667%2C10%20C0.104166667%2C15.4583333%204.54166667%2C19.8958333%2010%2C19.8958333%20C15.4583333%2C19.8958333%2019.8958333%2C15.4583333%2019.8958333%2C10%20C19.8958333%2C4.54166667%2015.4583333%2C0.104166667%2010%2C0.104166667%20Z%20M14.0625%2C13%20C14.3541667%2C13.2916667%2014.3541667%2C13.7708333%2014.0625%2C14.0833333%20C13.9166667%2C14.2291667%2013.7083333%2C14.3125%2013.5208333%2C14.3125%20C13.3333333%2C14.3125%2013.125%2C14.2291667%2012.9791667%2C14.0833333%20L10%2C11.0833333%20L7%2C14.0625%20C6.85416667%2C14.2083333%206.64583333%2C14.2916667%206.45833333%2C14.2916667%20C6.27083333%2C14.2916667%206.0625%2C14.2083333%205.91666667%2C14.0625%20C5.625%2C13.7708333%205.625%2C13.2916667%205.91666667%2C12.9791667%20L8.91666667%2C10%20L5.9375%2C7%20C5.64583333%2C6.70833333%205.64583333%2C6.22916667%205.9375%2C5.91666667%20C6.22916667%2C5.625%206.70833333%2C5.625%207.02083333%2C5.91666667%20L10%2C8.91666667%20L13%2C5.91666667%20C13.2916667%2C5.625%2013.7708333%2C5.625%2014.0833333%2C5.91666667%20C14.375%2C6.20833333%2014.375%2C6.6875%2014.0833333%2C7%20L11.0833333%2C10%20L14.0625%2C13%20Z%22%20id%3D%22Shape%22%3E%3C%2Fpath%3E%0A%20%20%20%20%20%20%20%20%20%20%20%20%3C%2Fg%3E%0A%20%20%20%20%20%20%20%20%3C%2Fg%3E%0A%20%20%20%20%3C%2Fg%3E%0A%3C%2Fsvg%3E%0A")}.lvemanager-app-toast__title[_ngcontent-%COMP%]{position:relative;z-index:1;font-size:12px;line-height:18px;font-weight:bold;font-family:"SFUIText-Bold",sans-serif}.lvemanager-app-toast__msg[_ngcontent-%COMP%]{position:relative;z-index:1;font-size:12px;line-height:18px;font-family:"SFUIText-Regular",sans-serif;max-height:290px;overflow-y:auto;word-wrap:break-word;cursor:pointer}.lvemanager-app-toast__msg[_ngcontent-%COMP%] a{font-style:italic;padding:3px 6px;border-radius:4px;color:#FFF;background-color:rgba(255,255,255,0.31);line-height:23px}.lvemanager-app-toast__msg[_ngcontent-%COMP%] a:hover{text-decoration:none;background-color:rgba(255,255,255,0.4)}.lvemanager-app-toast__show-more[_ngcontent-%COMP%]{user-select:none;display:inline-block;text-decoration:underline;text-decoration-color:rgba(255,255,255,0.7);cursor:pointer;font-weight:bold;font-family:"SFUIText-Bold",sans-serif;font-size:12px;line-height:18px}.app-toast--toast-warning[_ngcontent-%COMP%]{background-color:#ff8f45;background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2253%22%20height%3D%2253%22%20viewBox%3D%220%200%2053%2053%22%3E%0A%20%20%20%20%3Cg%20fill%3D%22none%22%20fill-rule%3D%22evenodd%22%3E%0A%20%20%20%20%20%20%20%20%3Cpath%20fill%3D%22%23FFF%22%20d%3D%22M29.15%2039.75h-5.3v-5.3h5.3v5.3zm0-10.6h-5.3v-15.9h5.3v15.9z%22%2F%3E%0A%20%20%20%20%3C%2Fg%3E%0A%3C%2Fsvg%3E%0A%0A")}.app-toast--toast-success[_ngcontent-%COMP%]{background-color:#36b081;background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2253%22%20height%3D%2253%22%20viewBox%3D%220%200%2053%2053%22%3E%0A%20%20%20%20%3Cg%20fill%3D%22none%22%20fill-rule%3D%22evenodd%22%3E%0A%20%20%20%20%20%20%20%20%3Cpath%20fill%3D%22%23FFF%22%20fill-rule%3D%22nonzero%22%20d%3D%22M22.225%2032.38l-5.83-5.83-1.985%201.972%207.815%207.815L39%2019.56l-1.971-1.971z%22%2F%3E%0A%20%20%20%20%3C%2Fg%3E%0A%3C%2Fsvg%3E%0A")}.app-toast--toast-error[_ngcontent-%COMP%]{background-color:#fc4c4c;background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2253%22%20height%3D%2253%22%20viewBox%3D%220%200%2053%2053%22%3E%0A%20%20%20%20%3Cg%20fill%3D%22none%22%20fill-rule%3D%22evenodd%22%20stroke%3D%22%23FFF%22%20stroke-width%3D%223%22%3E%0A%20%20%20%20%20%20%20%20%3Cpath%20d%3D%22M36.628%2036.217L26.911%2026.5l9.717-9.717c.121-.121.121-.29%200-.411a.278.278%200%200%200-.41%200l-9.721%209.72-1.06-1.067-8.654-8.712a.278.278%200%200%200-.41%200c-.121.12-.121.29.003.414l9.71%209.777-9.714%209.713c-.12.121-.12.29%200%20.411.04.04.172.09.235.09.037%200%20.12-.033.176-.09l9.714-9.714%201.06%201.054%208.72%208.66c.076.077.109.09.175.09.037%200%20.12-.033.176-.09.121-.12.121-.29%200-.41z%22%2F%3E%0A%20%20%20%20%3C%2Fg%3E%0A%3C%2Fsvg%3E%0A")}'],data:{animation:[a.trigger("flyInOut",[a.state("inactive",a.style({display:"none",opacity:0})),a.state("active",a.style({})),a.state("removed",a.style({opacity:0})),a.transition("inactive => active",a.animate("{{ easeTime }}ms {{ easing }}")),a.transition("active => removed",a.animate("{{ easeTime }}ms {{ easing }}"))])]}})},1367:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.CommonDirectivesModule=void 0;n(0);const a=n(588),i=n(1368),o=n(577),r=n(0);a.CopyTextDirective,i.ClickOutsideDirective,o.ShowMoreDirective;class s{}t.CommonDirectivesModule=s,s.\u0275mod=r.\u0275\u0275defineNgModule({type:s}),s.\u0275inj=r.\u0275\u0275defineInjector({factory:function(e){return new(e||s)}}),("undefined"==typeof ngJitMode||ngJitMode)&&r.\u0275\u0275setNgModuleScope(s,{declarations:[a.CopyTextDirective,i.ClickOutsideDirective,o.ShowMoreDirective],exports:[a.CopyTextDirective,i.ClickOutsideDirective,o.ShowMoreDirective]})},1368:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ClickOutsideDirective=void 0;const a=n(0),i=n(0);class o{constructor(e){this.elementRef=e,this.clickOutside=new a.EventEmitter}onClick(e,t){if(!t)return;this.elementRef.nativeElement.contains(t)||this.clickOutside.emit(e)}}t.ClickOutsideDirective=o,o.\u0275fac=function(e){return new(e||o)(i.\u0275\u0275directiveInject(i.ElementRef))},o.\u0275dir=i.\u0275\u0275defineDirective({type:o,selectors:[["","clickOutside",""]],hostBindings:function(e,t){1&e&&i.\u0275\u0275listener("click",(function(e){return t.onClick(e,e.target)}),!1,i.\u0275\u0275resolveDocument)},outputs:{clickOutside:"clickOutside"}})},1369:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.TranslateLocaleParser=void 0;n(0);const a=n(22),i=n(233),o=n(0);class r extends a.TranslateDefaultParser{constructor(){super(),this.templateMatcher=/[{]{1,2}\s?([^{}\s]*)\s?[}]{1,2}|%\(\s?([^{}\s\"\']*)\s?\)s/g}interpolate(e,t){return"string"==typeof e&&t?this.customInterpolateString(e,t):super.interpolate(e,t)}customInterpolateString(e,t){return e.replace(this.templateMatcher,((e,...n)=>{let a=n.find((e=>!!e)),o=this.getValue(t,a);return i.Helper.isDefined(o)?o:e}))}}t.TranslateLocaleParser=r,r.\u0275fac=function(e){return new(e||r)},r.\u0275prov=o.\u0275\u0275defineInjectable({token:r,factory:r.\u0275fac})},1370:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.TranslateLocaleMissingHandler=void 0;n(0);const a=n(22),i=n(0),o=n(22);class r extends a.MissingTranslationHandler{constructor(e){super(),this.parser=e}handle(e){return e.interpolateParams?this.parser.interpolate(e.key,e.interpolateParams):e.key}}t.TranslateLocaleMissingHandler=r,r.\u0275fac=function(e){return new(e||r)(i.\u0275\u0275inject(o.TranslateParser))},r.\u0275prov=i.\u0275\u0275defineInjectable({token:r,factory:r.\u0275fac})},1371:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.TranslateLocaleHttpLoader=void 0;const a=n(1372),i=n(556),o=n(1373);class r extends a.TranslateHttpLoader{getTranslation(e){return super.getTranslation(e).pipe(i.catchError((e=>o.of({}))))}}t.TranslateLocaleHttpLoader=r},1375:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.CustomTranslateService=void 0;const a=n(22),i=(n(0),n(233)),o=n(4),r=n(0);class s extends a.TranslateService{getParsedResult(e,t,n){return this.translateParams(e,n),super.getParsedResult(e,t,n)}get(e,t){return["string","object"].includes(typeof e)?super.get(e,t):o.of(e)}instant(e,t){return i.Helper.isDefined(e)&&""!==e?super.instant(e,t):""}translateParams(e,t){for(let n in t)"object"==typeof t[n]?this.translateParams(e,t[n]):"string"==typeof t[n]&&(t[n]=super.getParsedResult(e,t[n]))}}t.CustomTranslateService=s,s.\u0275fac=function(e){return l(e||s)},s.\u0275prov=r.\u0275\u0275defineInjectable({token:s,factory:s.\u0275fac});const l=r.\u0275\u0275getInheritedFactory(s)},1376:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.loadTranslations=void 0;const a=n(1),i=n(566);function o(e){if(!e)return o(i.DEFAULT_LANGUAGE);let t=e.substring(0,2).toLocaleLowerCase();return t.includes("-")||(t=`${t}-${t}`),t}t.loadTranslations=function(e,t,n){return()=>new Promise((n=>{t.get(a.LOCATION_INITIALIZED,Promise.resolve(null)).then((()=>{const t=o(i.DEFAULT_LANGUAGE);e.addLangs([t]),e.setDefaultLang(t);let a=o(currentLanguage);currentLanguage!==o(i.DEFAULT_LANGUAGE)&&(e.addLangs([a]),e.use(a).subscribe((()=>{}),(e=>{}),(()=>{n(null)})))}))}))}},1378:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});n(3).__exportStar(n(1379),t)},1379:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.UiPageSizerComponent=void 0;const a=n(0),i=n(0),o=n(188),r=n(1),s=n(22);function l(e,t){if(1&e){const e=i.\u0275\u0275getCurrentView();i.\u0275\u0275elementStart(0,"li"),i.\u0275\u0275elementStart(1,"a",7),i.\u0275\u0275listener("click",(function(){i.\u0275\u0275restoreView(e);const n=t.$implicit;return i.\u0275\u0275nextContext(2).onPageSizeChanged(n)})),i.\u0275\u0275text(2),i.\u0275\u0275pipe(3,"translate"),i.\u0275\u0275elementEnd(),i.\u0275\u0275elementEnd()}if(2&e){const e=t.$implicit,n=i.\u0275\u0275nextContext(2);i.\u0275\u0275advance(1),i.\u0275\u0275classProp("lvemanager-selected",n.isSelected(e)),i.\u0275\u0275advance(1),i.\u0275\u0275textInterpolate(i.\u0275\u0275pipeBind1(3,3,n.getLabel(e)))}}function c(e,t){if(1&e&&(i.\u0275\u0275elementStart(0,"ul",5),i.\u0275\u0275template(1,l,4,5,"li",6),i.\u0275\u0275elementEnd()),2&e){const e=i.\u0275\u0275nextContext();i.\u0275\u0275advance(1),i.\u0275\u0275property("ngForOf",e.pageSizeOptions)}}class d{constructor(e){this.chRef=e,this.pageSizeChange=new a.EventEmitter}isSelected(e){return this.pageSize===e}getLabel(e){return this.isAll(e)?"All pages":e.toString()}isAll(e){return"all"===e}onPageSizeChanged(e){this.pageSizeChange.emit(e),this.chRef.detectChanges()}}t.UiPageSizerComponent=d,d.\u0275fac=function(e){return new(e||d)(i.\u0275\u0275directiveInject(i.ChangeDetectorRef))},d.\u0275cmp=i.\u0275\u0275defineComponent({type:d,selectors:[["ui-page-sizer"]],inputs:{pageSizeOptions:"pageSizeOptions",pageSize:"pageSize"},outputs:{pageSizeChange:"pageSizeChange"},decls:9,vars:6,consts:[["dropdown","",1,"lvemanager-page-sizer","dropdown"],["dropdownToggle","",1,"lvemanager-page-sizer__toggle","lvemanager-button-reset",3,"click"],[1,"lvemanager-page-sizer__result"],[1,"caret"],["class","b_dropdown-menu",4,"dropdownMenu"],[1,"b_dropdown-menu"],[4,"ngFor","ngForOf"],[1,"dropdown__item",3,"click"]],template:function(e,t){1&e&&(i.\u0275\u0275elementStart(0,"div",0),i.\u0275\u0275elementStart(1,"button",1),i.\u0275\u0275listener("click",(function(){return t.chRef.detectChanges()})),i.\u0275\u0275text(2),i.\u0275\u0275pipe(3,"translate"),i.\u0275\u0275elementStart(4,"span",2),i.\u0275\u0275text(5),i.\u0275\u0275pipe(6,"translate"),i.\u0275\u0275elementEnd(),i.\u0275\u0275element(7,"span",3),i.\u0275\u0275elementEnd(),i.\u0275\u0275template(8,c,2,1,"ul",4),i.\u0275\u0275elementEnd()),2&e&&(i.\u0275\u0275advance(2),i.\u0275\u0275textInterpolate1(" ",i.\u0275\u0275pipeBind1(3,2,"Show results")," "),i.\u0275\u0275advance(3),i.\u0275\u0275textInterpolate(i.\u0275\u0275pipeBind1(6,4,t.getLabel(t.pageSize))))},directives:[o.BsDropdownDirective,o.BsDropdownToggleDirective,o.BsDropdownMenuDirective,r.NgForOf],pipes:[s.TranslatePipe],styles:[".lvemanager-page-sizer__toggle[_ngcontent-%COMP%]{padding:0 20px;height:40px;border-radius:20px;box-shadow:0 2px 4px 0 rgba(0,0,0,0.27);background-color:#ffffff;font-size:13px;min-width:160px}.lvemanager-page-sizer__result[_ngcontent-%COMP%]{color:#2b98f0;padding-left:10px}.lvemanager-page-sizer[_ngcontent-%COMP%] .caret[_ngcontent-%COMP%]{color:#2b98f0}"]})},1382:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.UiHttpLoaderModule=void 0;n(0);const a=n(1),i=n(558),o=n(592),r=n(0);class s{}t.UiHttpLoaderModule=s,s.\u0275mod=r.\u0275\u0275defineNgModule({type:s}),s.\u0275inj=r.\u0275\u0275defineInjector({factory:function(e){return new(e||s)},imports:[[a.CommonModule,o.LoadingBarHttpClientModule]]}),("undefined"==typeof ngJitMode||ngJitMode)&&r.\u0275\u0275setNgModuleScope(s,{declarations:[i.UiHttpLoaderComponent],imports:[a.CommonModule,o.LoadingBarHttpClientModule],exports:[i.UiHttpLoaderComponent]})},1383:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.AwpBillingComponent=void 0;const a=n(3),i=(n(0),n(89),n(65),n(187)),o=n(0),r=n(89),s=n(65),l=n(1),c=n(164),d=n(22);function p(e,t){1&e&&(o.\u0275\u0275element(0,"div",10),o.\u0275\u0275pipe(1,"translate")),2&e&&o.\u0275\u0275property("innerHTML",o.\u0275\u0275pipeBind1(1,1,"AWP.billing.ask_admin_for_upgrade"),o.\u0275\u0275sanitizeHtml)}function u(e,t){1&e&&o.\u0275\u0275element(0,"span",14)}function g(e,t){if(1&e){const e=o.\u0275\u0275getCurrentView();o.\u0275\u0275elementStart(0,"ui-button",11),o.\u0275\u0275listener("clickAction",(function(t){o.\u0275\u0275restoreView(e);return o.\u0275\u0275nextContext().onBillingUrlOpen(t)})),o.\u0275\u0275elementStart(1,"i",12),o.\u0275\u0275text(2,"open_in_new"),o.\u0275\u0275elementEnd(),o.\u0275\u0275text(3),o.\u0275\u0275pipe(4,"translate"),o.\u0275\u0275template(5,u,1,0,"span",13),o.\u0275\u0275elementEnd()}if(2&e){const e=o.\u0275\u0275nextContext();o.\u0275\u0275styleMap("primary"),o.\u0275\u0275property("upper",!1)("disabled",e.windowOpened)("customClass","upgrade-subscription-button"),o.\u0275\u0275advance(3),o.\u0275\u0275textInterpolate1(" ",o.\u0275\u0275pipeBind1(4,7,"AWP.billing.upgrade_subscription")," "),o.\u0275\u0275advance(2),o.\u0275\u0275property("ngIf",e.windowOpened)}}class m{constructor(e,t){this.awpRepo=e,this.dialogRef=t,this.billingUrl=this.awpRepo.upgradeUrlSubject$.value,this.windowOpened=!1}onPayout(e){return a.__awaiter(this,void 0,void 0,(function*(){"PAYMENT_SUCCESS"===e.data&&(yield this.awpRepo.subscriptionListen(),this.dialogRef.close(i.AwpManagePremiumAction.change),this.billingWindow&&this.billingWindow.close())}))}onBillingUrlOpen(e){if(this.windowOpened)return;this.billingWindow=window.open(this.billingUrl[this.moduleToListen],"","toolbar=0,status=0,width=1100,height=640"),this.windowOpened=!0;const t=setInterval((()=>{this.billingWindow.closed&&(this.windowOpened=!1,clearInterval(t))}).bind(this),500);e.preventDefault()}}t.AwpBillingComponent=m,m.\u0275fac=function(e){return new(e||m)(o.\u0275\u0275directiveInject(r.AwpRepo),o.\u0275\u0275directiveInject(s.MatDialogRef))},m.\u0275cmp=o.\u0275\u0275defineComponent({type:m,selectors:[["awp-billing"]],hostBindings:function(e,t){1&e&&o.\u0275\u0275listener("message",(function(e){return t.onPayout(e)}),!1,o.\u0275\u0275resolveWindow)},decls:19,vars:11,consts:[["mat-dialog-title","",1,"lvemanager-awp-billing__title"],[1,"lvemanager-mat-typography"],[1,"lvemanager-awp-billing","lvemanager-awp-modal-type-billing"],["class","lvemanager-ask-admin-for-upgrade",3,"innerHTML",4,"ngIf"],[1,"lvemanager-modules"],[1,"lvemanager-module-item"],["align","end"],[1,"lvemanager-awp-billing__controls-wrapper"],["mat-dialog-close","",1,"lvemanager-control","lvemanager-close-dialog-btn"],[3,"style","upper","disabled","customClass","clickAction",4,"ngIf"],[1,"lvemanager-ask-admin-for-upgrade",3,"innerHTML"],[3,"upper","disabled","customClass","clickAction"],[1,"material-icons"],["class","lvemanager-progress-circle",4,"ngIf"],[1,"lvemanager-progress-circle"]],template:function(e,t){1&e&&(o.\u0275\u0275elementStart(0,"h2",0),o.\u0275\u0275text(1),o.\u0275\u0275pipe(2,"translate"),o.\u0275\u0275elementEnd(),o.\u0275\u0275elementStart(3,"mat-dialog-content",1),o.\u0275\u0275elementStart(4,"div",2),o.\u0275\u0275template(5,p,2,3,"div",3),o.\u0275\u0275elementStart(6,"div",4),o.\u0275\u0275elementStart(7,"div",5),o.\u0275\u0275elementStart(8,"h3"),o.\u0275\u0275text(9),o.\u0275\u0275pipe(10,"translate"),o.\u0275\u0275elementEnd(),o.\u0275\u0275elementStart(11,"p"),o.\u0275\u0275text(12),o.\u0275\u0275pipe(13,"translate"),o.\u0275\u0275elementEnd(),o.\u0275\u0275elementEnd(),o.\u0275\u0275elementEnd(),o.\u0275\u0275elementEnd(),o.\u0275\u0275elementEnd(),o.\u0275\u0275elementStart(14,"mat-dialog-actions",6),o.\u0275\u0275elementStart(15,"div",7),o.\u0275\u0275elementStart(16,"button",8),o.\u0275\u0275text(17,"Close"),o.\u0275\u0275elementEnd(),o.\u0275\u0275template(18,g,6,9,"ui-button",9),o.\u0275\u0275elementEnd(),o.\u0275\u0275elementEnd()),2&e&&(o.\u0275\u0275advance(1),o.\u0275\u0275textInterpolate(o.\u0275\u0275pipeBind1(2,5,"AWP.billing.upgrade_your_subscription")),o.\u0275\u0275advance(4),o.\u0275\u0275property("ngIf",!t.billingUrl),o.\u0275\u0275advance(4),o.\u0275\u0275textInterpolate(o.\u0275\u0275pipeBind1(10,7,"AWP.module_object_cache.name")),o.\u0275\u0275advance(3),o.\u0275\u0275textInterpolate(o.\u0275\u0275pipeBind1(13,9,"AWP.module_object_cache.short_description")),o.\u0275\u0275advance(6),o.\u0275\u0275property("ngIf",t.billingUrl))},directives:[s.MatDialogTitle,s.MatDialogContent,l.NgIf,s.MatDialogActions,s.MatDialogClose,c.UiButton],pipes:[d.TranslatePipe],styles:['.lvemanager-awp-billing[_ngcontent-%COMP%]{width:556px}.lvemanager-awp-billing__title[_ngcontent-%COMP%]{font-family:"Noto Sans",sans-serif;font-style:normal;font-weight:bold;font-size:20px;line-height:27px;color:#1D1D1D;margin-bottom:25px}.lvemanager-awp-billing[_ngcontent-%COMP%] .lvemanager-ask-admin-for-upgrade[_ngcontent-%COMP%]{font-family:\'Open Sans\',sans-serif;font-weight:400;font-size:12px;line-height:17px;color:#354052;display:flex;padding:14px 20px;background:#F0F6FB;border:1px solid #2B98F0;border-radius:4px}.lvemanager-awp-billing[_ngcontent-%COMP%] .lvemanager-modules[_ngcontent-%COMP%]{display:flex;align-items:center;padding:20px;background:#FFFFFF;border:1px solid #DEE1EC;border-radius:4px;margin-top:10px;margin-bottom:20px;font-weight:600;font-size:14px}.lvemanager-awp-billing[_ngcontent-%COMP%] .lvemanager-modules[_ngcontent-%COMP%] .lvemanager-module-item[_ngcontent-%COMP%]{font-size:12px;line-height:16px}.lvemanager-awp-billing[_ngcontent-%COMP%] .lvemanager-modules[_ngcontent-%COMP%] .lvemanager-module-item[_ngcontent-%COMP%] h3[_ngcontent-%COMP%]{font-weight:600;margin-bottom:5px}.lvemanager-awp-billing[_ngcontent-%COMP%] .lvemanager-modules[_ngcontent-%COMP%] .lvemanager-module-item[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{width:300px;font-weight:400}.lvemanager-awp-billing__controls-wrapper[_ngcontent-%COMP%]{display:flex;margin-bottom:20px}.lvemanager-awp-billing__controls-wrapper[_ngcontent-%COMP%] .lvemanager-control[_ngcontent-%COMP%]{height:46px;box-sizing:border-box;display:flex;justify-content:center;align-items:center;padding:0 20px;border-radius:4px;outline:none;text-decoration:unset;box-shadow:0 1px 1px #F4F4F3;font-weight:600;font-size:14px;line-height:19px}.lvemanager-awp-billing__controls-wrapper[_ngcontent-%COMP%] .lvemanager-control.lvemanager-close-dialog-btn[_ngcontent-%COMP%]{background:#FFFFFF;border:1px solid #DEE1EC}.lvemanager-awp-billing__controls-wrapper[_ngcontent-%COMP%] .lvemanager-upgrade-subscription-button{margin-left:10px;color:#fff;background:#2B98F0;padding:0 20px !important;height:46px !important}.lvemanager-awp-billing__controls-wrapper[_ngcontent-%COMP%] .lvemanager-upgrade-subscription-button i{margin-right:13px}.lvemanager-awp-billing__controls-wrapper[_ngcontent-%COMP%] .lvemanager-upgrade-subscription-button .lvemanager-progress-circle{content:"";width:23px;height:23px;margin-left:7px;display:inline-block;background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg%20width%3D%2223%22%20height%3D%2223%22%20viewBox%3D%220%200%2023%2023%22%20fill%3D%22none%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%0A%20%20%20%20%3Cpath%20d%3D%22M22.2747%2014.3405L19.8666%2013.6952C20.3893%2011.745%2020.2196%209.67391%2019.3864%207.8348C18.5532%205.99569%2017.1081%204.50236%2015.2974%203.60926C13.4866%202.71616%2011.4222%202.47855%209.45585%202.93691C7.48953%203.39527%205.74297%204.52124%204.51376%206.12297C3.28455%207.72471%202.64874%209.7031%202.71467%2011.7211C2.7806%2013.739%203.54419%2015.6717%204.87533%2017.1898C6.20647%2018.7079%208.02281%2019.7174%2010.0149%2020.0464C12.0069%2020.3755%2014.0514%2020.0036%2015.8%2018.9942L17.0467%2021.1536C14.7986%2022.4515%2012.17%2022.9298%209.60873%2022.5069C7.04749%2022.084%204.71212%2020.7862%203.00053%2018.8344C1.28894%2016.8827%200.307038%2014.3979%200.222122%2011.8034C0.137206%209.20886%200.954533%206.66516%202.53484%204.60569C4.11515%202.54622%206.36066%201.09842%208.88876%200.508969C11.4169%20-0.0804834%2014.0711%200.224886%2016.3993%201.37305C18.7275%202.5212%2020.5856%204.44111%2021.6569%206.80564C22.7283%209.17017%2022.9466%2011.833%2022.2747%2014.3405V14.3405Z%22%20fill%3D%22%23ffffff%22%2F%3E%0A%3C%2Fsvg%3E%0A");background-size:22px;background-repeat:no-repeat;background-position:0 center;animation:rotation 1s infinite linear}@keyframes rotation{from{transform:rotate(0deg)}to{transform:rotate(360deg)}}']})},1384:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.AdviceSharedModule=void 0;n(0);const a=n(165),i=n(293),o=n(31),r=n(430),s=n(65),l=n(148),c=n(563),d=n(349),p=n(593),u=n(562),g=n(420),m=n(53),f=n(1),v=n(0);c.AdviceActionComponent,u.AdviceStatusComponent,g.AdviceDetailsComponent;class h{}t.AdviceSharedModule=h,h.\u0275mod=v.\u0275\u0275defineNgModule({type:h}),h.\u0275inj=v.\u0275\u0275defineInjector({factory:function(e){return new(e||h)},providers:[{provide:o.OverlayContainer,useClass:r.CustomOverlayContainer}],imports:[[a.CustomTranslateModule,i.CommonPipes,s.MatDialogModule,l.TooltipModule,d.ComponentModule,p.AwpModalContentModule,m.FormsModule,f.CommonModule]]}),("undefined"==typeof ngJitMode||ngJitMode)&&v.\u0275\u0275setNgModuleScope(h,{declarations:[c.AdviceActionComponent,u.AdviceStatusComponent,g.AdviceDetailsComponent],imports:[a.CustomTranslateModule,i.CommonPipes,s.MatDialogModule,l.TooltipModule,d.ComponentModule,p.AwpModalContentModule,m.FormsModule,f.CommonModule],exports:[c.AdviceActionComponent,u.AdviceStatusComponent,g.AdviceDetailsComponent]})},1385:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ServicesModule=void 0;n(0);const a=n(1386),i=n(88),o=n(0);class r{}t.ServicesModule=r,r.\u0275mod=o.\u0275\u0275defineNgModule({type:r}),r.\u0275inj=o.\u0275\u0275defineInjector({factory:function(e){return new(e||r)},providers:[a.ToastrNotificationService,i.ActionNotificationService]})},1386:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ToastrNotificationService=void 0;n(0),n(185);const a=n(543),i=n(0),o=n(185);class r{constructor(e){this.toastr=e,this.visibleToasts=[],this.hasText=(e,t)=>!!e||!!t,this.getToastOptions=e=>({closeButton:!0,progressBar:!0,toastClass:e?"toast":"toast toast--without-message"})}success(e,t=""){this.showToast(a.NotificationStatus.success,e,t)}error(e,t=""){this.showToast(a.NotificationStatus.error,e,t)}warning(e,t=""){this.showToast(a.NotificationStatus.warning,e,t)}showToast(e,t,n){if(!this.hasText(t,n)||this.isShowedAlready(e,t,n))return;let i;const o=this.getToastOptions(!!n);switch(e){case a.NotificationStatus.error:i=this.toastr.error(n,t,Object.assign(Object.assign({},o),{disableTimeOut:!0}));break;case a.NotificationStatus.success:i=this.toastr.success(n,t,Object.assign(Object.assign({},o),{timeOut:5e3}));break;default:i=this.toastr.warning(n,t,Object.assign(Object.assign({},o),{timeOut:1e4}))}const r=i.toastId;this.visibleToasts.push({status:e,toastId:r,title:t,message:n}),i.onHidden.subscribe((()=>{this.visibleToasts=this.visibleToasts.filter((e=>e.toastId!==r))}))}isShowedAlready(e,t,n){return!!this.visibleToasts.find((a=>a.status===e&&a.title===t&&a.message===n))}}t.ToastrNotificationService=r,r.\u0275fac=function(e){return new(e||r)(i.\u0275\u0275inject(o.ToastrService))},r.\u0275prov=i.\u0275\u0275defineInjectable({token:r,factory:r.\u0275fac})},163:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.XHR=void 0;n(0);const a=n(1076),i=(n(67),n(537)),o=(n(412),n(287),n(1087)),r=n(72),s=n(542),l=(n(88),n(22),n(0)),c=n(72),d=n(287),p=n(88),u=n(67),g=n(412),m=n(22);class f{constructor(e,t,n,i,o,r,s){this.http=e,this.unavailableService=t,this.notifications=n,this.appState=i,this.ngZone=o,this.mockService=r,this.translateService=s,this.addCsrfTokenFor=[a.Panel.DA],this.request=e,this.mainAction=mainAction,window.lvemanagerXhr=this}post(e,t="",n=!1){return new Promise(((a,l)=>{let c=new r.HttpHeaders;c.append("Content-Type","application/x-www-form-urlencoded"),this.addCsrfTokenFor.indexOf(panelName)>-1&&(e.csrftoken=i.Cookie.getCookie("csrftoken")),this.mockService.processRequest(t,e),e.lang=this.getLangCode(),this.formdata=new r.HttpParams({encoder:new o.CustomQueryEncoderHelper}),this.formdata=this.appendFormData(this.formdata,e,"");let d={headers:c};return n&&(d.responseType="blob",d.observe="events",d.reportProgress=!0,d.headers.append("Accept","application/octet-stream, */*")),this.request.post(this.mainAction,this.formdata,d).subscribe((e=>n?this.downloadHandler(e,a):this.successHandler(e,a,l)),(e=>s.getErrorObject(e).then(l)))}))}upload(e,t=new r.HttpHeaders){return new Promise(((n,a)=>{this.addCsrfTokenFor.indexOf(panelName)>-1&&(e.csrftoken=i.Cookie.getCookie("csrftoken"));let o={headers:t},r=new FormData;return r=this.appendFormData(r,e),this.request.post(this.mainAction,r,o).subscribe((e=>this.successHandler(e,n,a)),(e=>s.getErrorObject(e).then(a)))}))}downloadHandler(e,t){e instanceof r.HttpResponse&&t(e.body)}successHandler(e,t,n){try{e.timestamp&&(window.serverDiffTime=new Date-1e3*e.timestamp);let a=e;["success","rollback"].includes(a.result)?t(a):n(a)}catch(t){throw this.notifications.error("Error",t.message),n(e),t}}appendFormData(e,t,n=""){switch(!0){case t instanceof Array:t.forEach((t=>{e=this.appendFormData(e,t,`${n}[]`)}));break;case"object"==typeof t&&!(t instanceof File):Object.keys(t).forEach((a=>{e=this.appendFormData(e,t[a],n?`${n}[${a}]`:`${a}`)}));break;default:e instanceof r.HttpParams?e=e.set(n,t):e.append(n,t)}return e}getLangCode(){try{return currentLanguage.substring(0,2)}catch(e){return"en"}}}t.XHR=f,f.\u0275fac=function(e){return new(e||f)(l.\u0275\u0275inject(c.HttpClient),l.\u0275\u0275inject(d.UnavailableService),l.\u0275\u0275inject(p.ActionNotificationService),l.\u0275\u0275inject(u.AppState),l.\u0275\u0275inject(l.NgZone),l.\u0275\u0275inject(g.MockService),l.\u0275\u0275inject(m.TranslateService))},f.\u0275prov=l.\u0275\u0275defineInjectable({token:f,factory:f.\u0275fac})},164:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.UiButton=void 0;const a=n(0),i=n(53),o=n(346),r=(n(22),n(0)),s=n(22),l=n(188),c=n(1),d=n(347);function p(e,t){if(1&e&&(r.\u0275\u0275elementStart(0,"i",6),r.\u0275\u0275text(1),r.\u0275\u0275elementEnd()),2&e){const e=r.\u0275\u0275nextContext();r.\u0275\u0275advance(1),r.\u0275\u0275textInterpolate(e.matIcon)}}function u(e,t){1&e&&r.\u0275\u0275element(0,"span",7)}function g(e,t){if(1&e&&(r.\u0275\u0275elementStart(0,"li",10),r.\u0275\u0275listener("click",(function(){return t.$implicit.action()})),r.\u0275\u0275elementStart(1,"a"),r.\u0275\u0275text(2),r.\u0275\u0275pipe(3,"translate"),r.\u0275\u0275elementEnd(),r.\u0275\u0275elementEnd()),2&e){const e=t.$implicit;r.\u0275\u0275advance(2),r.\u0275\u0275textInterpolate1(" ",r.\u0275\u0275pipeBind1(3,1,e.title)," ")}}function m(e,t){if(1&e&&(r.\u0275\u0275elementStart(0,"ul",8),r.\u0275\u0275template(1,g,4,3,"li",9),r.\u0275\u0275elementEnd()),2&e){const e=r.\u0275\u0275nextContext();r.\u0275\u0275advance(1),r.\u0275\u0275property("ngForOf",e.listOfActions)}}class f extends o.InputAccessor{constructor(e,t){super(t),this.elementRef=e,this.style="primary",this.size="large",this.clickAction=new a.EventEmitter,this.upper=!0,this.multi=!1}prepareValueHook(){}clicked(e){this.clickAction.emit(e)}}t.UiButton=f,f.\u0275fac=function(e){return new(e||f)(r.\u0275\u0275directiveInject(r.ElementRef),r.\u0275\u0275directiveInject(s.TranslateService))},f.\u0275cmp=r.\u0275\u0275defineComponent({type:f,selectors:[["ui-button"]],inputs:{icon:"icon",matIcon:"matIcon",style:"style",size:"size",customClass:"customClass",upper:"upper",multi:"multi",listOfActions:"listOfActions"},outputs:{clickAction:"clickAction"},features:[r.\u0275\u0275ProvidersFeature([{provide:i.NG_VALUE_ACCESSOR,useExisting:f,multi:!0}]),r.\u0275\u0275InheritDefinitionFeature],ngContentSelectors:["*"],decls:8,vars:23,consts:[["dropdown","",1,"lvemanager-button-wrapper",3,"isDisabled"],["dropdownToggle",""],["translate","",3,"id","name","disabled","click"],["class","material-icons",4,"ngIf"],["class","lvemanager-multi",4,"ngIf"],["class","b_dropdown-menu",4,"dropdownMenu"],[1,"material-icons"],[1,"lvemanager-multi"],[1,"b_dropdown-menu"],[3,"click",4,"ngFor","ngForOf"],[3,"click"]],template:function(e,t){1&e&&(r.\u0275\u0275projectionDef(),r.\u0275\u0275elementStart(0,"div",0),r.\u0275\u0275elementStart(1,"span",1),r.\u0275\u0275elementStart(2,"button",2),r.\u0275\u0275listener("click",(function(e){return t.clicked(e)})),r.\u0275\u0275pipe(3,"lvemanagerPrefixer"),r.\u0275\u0275template(4,p,2,1,"i",3),r.\u0275\u0275projection(5),r.\u0275\u0275template(6,u,1,0,"span",4),r.\u0275\u0275elementEnd(),r.\u0275\u0275elementEnd(),r.\u0275\u0275template(7,m,2,1,"ul",5),r.\u0275\u0275elementEnd()),2&e&&(r.\u0275\u0275classProp("lvemanager-button-wrapper-full","full"===t.size)("disabled",t.disabled),r.\u0275\u0275property("isDisabled",!t.multi),r.\u0275\u0275advance(2),r.\u0275\u0275classMapInterpolate5("btn-",t.style," lvemanager-icon-",t.icon," lvemanager-size-",t.size," lvemanager-upper-",t.upper," ",r.\u0275\u0275pipeBind1(3,21,t.customClass),""),r.\u0275\u0275classProp("lvemanager-icon",t.icon)("disabled",t.disabled),r.\u0275\u0275property("id",t.id)("name",t.name)("disabled",t.disabled),r.\u0275\u0275advance(2),r.\u0275\u0275property("ngIf",t.matIcon),r.\u0275\u0275advance(2),r.\u0275\u0275property("ngIf",t.multi))},directives:[l.BsDropdownDirective,l.BsDropdownToggleDirective,s.TranslateDirective,c.NgIf,l.BsDropdownMenuDirective,c.NgForOf],pipes:[d.LvemanagerPrefixerPipe,s.TranslatePipe],styles:['.lvemanager-close-inline-grey-icon[_ngcontent-%COMP%]{display:inline-block;width:11px;height:11px;background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg%20width%3D%2211%22%20height%3D%2210%22%20viewBox%3D%220%200%2011%2010%22%20fill%3D%22none%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%0A%20%20%20%20%3Cpath%20d%3D%22M9.93958%200.530212L1%209.46979%22%20stroke%3D%22%23979797%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%2F%3E%0A%20%20%20%20%3Cpath%20d%3D%22M1%200.530212L9.93958%209.46979%22%20stroke%3D%22%23979797%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%2F%3E%0A%3C%2Fsvg%3E%0A");background-position:center;background-repeat:no-repeat}.lvemanager-premium-available-icon[_ngcontent-%COMP%]{display:inline-flex;align-items:center;width:22px;height:18px;border-radius:2px;font-weight:700;font-size:12px;background-color:#FFAA5B;color:#FFFFFF;background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg%20width%3D%2210%22%20height%3D%228%22%20viewBox%3D%220%200%2010%208%22%20fill%3D%22none%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%0A%20%20%20%20%3Cpath%20d%3D%22M1.5%206L0.5%200.5L3.25%203L5%200L6.75%203L9.5%200.5L8.5%206H1.5ZM8.5%207.5C8.5%207.8%208.3%208%208%208H2C1.7%208%201.5%207.8%201.5%207.5V7H8.5V7.5Z%22%20fill%3D%22white%22%2F%3E%0A%3C%2Fsvg%3E%0A");background-repeat:no-repeat;background-position:center center}.lvemanager-ui-scroll[_ngcontent-%COMP%]::-webkit-scrollbar{width:12px;height:12px}.lvemanager-ui-scroll[_ngcontent-%COMP%]::-webkit-scrollbar-button{width:0;height:0}.lvemanager-ui-scroll[_ngcontent-%COMP%]::-webkit-scrollbar-thumb{-webkit-border-radius:0;-moz-border-radius:0;border-radius:0;-moz-background-clip:padding;-webkit-background-clip:padding-box;background-clip:padding-box;background:#2b98f0;border:0 none transparent}.lvemanager-ui-scroll[_ngcontent-%COMP%]::-webkit-scrollbar-thumb:hover{background:#2b98f0}.lvemanager-ui-scroll[_ngcontent-%COMP%]::-webkit-scrollbar-thumb:active{background:#2b98f0}.lvemanager-ui-scroll[_ngcontent-%COMP%]::-webkit-scrollbar-track{-webkit-border-radius:0;-moz-border-radius:0;border-radius:0;-moz-background-clip:padding;-webkit-background-clip:padding-box;background-clip:padding-box;background:#ffffff;border:0 none #ffffff}.lvemanager-ui-scroll[_ngcontent-%COMP%]::-webkit-scrollbar-track:hover{background:#ffffff}.lvemanager-ui-scroll[_ngcontent-%COMP%]::-webkit-scrollbar-track:active{background:#ffffff}.lvemanager-ui-scroll[_ngcontent-%COMP%]::-webkit-scrollbar-corner{background:transparent}.lvemanager-clearboth[_ngcontent-%COMP%]{zoom:1}.lvemanager-clearboth[_ngcontent-%COMP%]:before, .lvemanager-clearboth[_ngcontent-%COMP%]:after{content:"";display:table}.lvemanager-clearboth[_ngcontent-%COMP%]:after{clear:both}@keyframes spin{from{-webkit-transform:rotate(0deg);-moz-transform:rotate(0deg);-ms-transform:rotate(0deg);-o-transform:rotate(0deg);transform:rotate(0deg)}to{-webkit-transform:rotate(360deg);-moz-transform:rotate(360deg);-ms-transform:rotate(360deg);-o-transform:rotate(360deg);transform:rotate(360deg)}}.lvemanager-button-wrapper[_ngcontent-%COMP%]{display:inline-block;position:relative;vertical-align:middle}.lvemanager-button-wrapper-full[_ngcontent-%COMP%]{width:100%}.lvemanager-button-wrapper.disabled[_ngcontent-%COMP%]{cursor:not-allowed}button[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:center;height:32px;margin:0;border-radius:3px;box-shadow:0 3px 6px 0 rgba(0,0,0,0.13),0 0 6px 0 rgba(0,0,0,0.12);color:#fff;font-family:\'Noto Sans\',sans-serif;font-size:13px;border:none;text-shadow:none;transition:box-shadow .2s,color .2s;width:auto;background:transparent}button[_ngcontent-%COMP%]:disabled, button[_ngcontent-%COMP%]:focus, button[_ngcontent-%COMP%]:active, button[_ngcontent-%COMP%]:hover{background-image:none;font-size:13px}button.disabled[_ngcontent-%COMP%]{pointer-events:none}button[_ngcontent-%COMP%]:focus{outline:none}button.lvemanager-upper-true[_ngcontent-%COMP%]{text-transform:uppercase}button.lvemanager-upper-false[_ngcontent-%COMP%]{text-transform:none}button.btn-primary[_ngcontent-%COMP%], button.btn-default[_ngcontent-%COMP%], button.btn-danger[_ngcontent-%COMP%]{min-width:110px}button.btn-primary[_ngcontent-%COMP%]:hover, button.btn-default[_ngcontent-%COMP%]:hover, button.btn-danger[_ngcontent-%COMP%]:hover{border:none}button.btn-primary[_ngcontent-%COMP%], button.btn-default[_ngcontent-%COMP%]{height:40px;min-width:110px;width:auto;background-color:#2b98f0}button.btn-primary.lvemanager-size-full[_ngcontent-%COMP%], button.btn-default.lvemanager-size-full[_ngcontent-%COMP%]{width:100%}button.btn-primary.lvemanager-size-enormous[_ngcontent-%COMP%], button.btn-default.lvemanager-size-enormous[_ngcontent-%COMP%]{height:47px}button.btn-primary.lvemanager-size-large[_ngcontent-%COMP%], button.btn-default.lvemanager-size-large[_ngcontent-%COMP%]{height:40px;padding:0 40px}button.btn-primary.lvemanager-size-large-enormous[_ngcontent-%COMP%], button.btn-default.lvemanager-size-large-enormous[_ngcontent-%COMP%]{height:47px;padding:0 40px}button.btn-primary.lvemanager-size-normal[_ngcontent-%COMP%], button.btn-default.lvemanager-size-normal[_ngcontent-%COMP%]{height:32px}button.btn-primary.lvemanager-size-medium[_ngcontent-%COMP%], button.btn-default.lvemanager-size-medium[_ngcontent-%COMP%]{height:29px;padding:0 14px;min-width:auto}button.btn-primary[_ngcontent-%COMP%]:hover, button.btn-default[_ngcontent-%COMP%]:hover{box-shadow:0 6px 6px 0 rgba(0,0,0,0.13),0 0 6px 0 rgba(0,0,0,0.12)}button.btn-default[_ngcontent-%COMP%]{background-color:#ffffff;color:#484848}button.btn-flat[_ngcontent-%COMP%]{color:#2b98f0;background-color:#fff;box-shadow:none}button.btn-flat.lvemanager-size-small[_ngcontent-%COMP%]{font-size:11px;height:22px}button.btn-flat.lvemanager-size-small[_ngcontent-%COMP%]:before, button.btn-flat.lvemanager-size-small[_ngcontent-%COMP%]:hover:before{background-size:cover;width:13px;height:13px;margin-right:5px;margin-top:-2px}button.btn-flat.lvemanager-size-small[_ngcontent-%COMP%]:disabled, button.btn-flat.lvemanager-size-small[_ngcontent-%COMP%]:focus, button.btn-flat.lvemanager-size-small[_ngcontent-%COMP%]:active, button.btn-flat.lvemanager-size-small[_ngcontent-%COMP%]:hover{font-size:11px}button.btn-flat[_ngcontent-%COMP%]:hover{color:#0e71c1}button.btn-clear[_ngcontent-%COMP%], button.btn-link[_ngcontent-%COMP%], button.btn-gray[_ngcontent-%COMP%]{background:transparent;box-shadow:none;border:none;min-width:inherit}button.btn-link[_ngcontent-%COMP%]{color:#696969;text-decoration:none}button[disabled][_ngcontent-%COMP%]{cursor:not-allowed;opacity:.65}button.btn-bordered[_ngcontent-%COMP%]{border-radius:4px;box-shadow:0 1px 1px 0 #f4f4f3;border:solid 1px #dee1ec;padding-left:17px;padding-right:17px}button.lvemanager-bordered-no-shadow[_ngcontent-%COMP%]{box-shadow:none;border:solid 1px #dee1ec}']})},165:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.CustomTranslateModule=t.HttpLoaderFactory=void 0;const a=n(0),i=n(22),o=n(72),r=n(1369),s=n(1370),l=n(1371),c=n(22),d=n(1375),p=n(22),u=n(1376),g=n(1),m=n(1377),f=n(22),v=n(0);function h(e,t){let n="";return localePath.startsWith("./")?new l.TranslateLocaleHttpLoader(e,localePath):("/"!==localePath[0]&&(n=t.pathname,n=n.substring(0,n.lastIndexOf("/")+1)),new l.TranslateLocaleHttpLoader(e,m.resolve(n+localePath)+"/"))}t.HttpLoaderFactory=h;class _{static forRoot(e={}){return{ngModule:_,providers:[e.loader||{provide:i.TranslateLoader,useFactory:h,deps:[o.HttpClient,g.PlatformLocation]},e.compiler||{provide:i.TranslateCompiler,useClass:i.TranslateFakeCompiler},e.parser||{provide:i.TranslateParser,useClass:r.TranslateLocaleParser},e.missingTranslationHandler||{provide:i.MissingTranslationHandler,useClass:s.TranslateLocaleMissingHandler},p.TranslateStore,{provide:i.USE_STORE,useValue:e.isolate},{provide:i.USE_EXTEND,useValue:e.isolate},{provide:i.USE_DEFAULT_LANG,useValue:e.useDefaultLang},{provide:i.DEFAULT_LANGUAGE,useValue:e.useDefaultLang},{provide:i.TranslateService,useClass:d.CustomTranslateService},{provide:a.APP_INITIALIZER,useFactory:u.loadTranslations,deps:[i.TranslateService,a.Injector],multi:!0}]}}}t.CustomTranslateModule=_,_.\u0275mod=v.\u0275\u0275defineNgModule({type:_}),_.\u0275inj=v.\u0275\u0275defineInjector({factory:function(e){return new(e||_)},imports:[[f.TranslateModule]]}),("undefined"==typeof ngJitMode||ngJitMode)&&v.\u0275\u0275setNgModuleScope(_,{imports:[f.TranslateModule],exports:[i.TranslatePipe,c.TranslateDirective]})},177:function(e,t){var n;n=function(){return this}();try{n=n||new Function("return this")()}catch(e){"object"==typeof window&&(n=window)}e.exports=n},187:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.HIDDEN_MODULES=t.FREE_MODULES=t.PREMIUM_MODULES=t.AwpManagePremiumAction=t.AwpSubscriptionStatus=t.AwpAgreementStatus=t.AwpSetSuiteState=t.AwpAdviceStatus=t.AwpFeatureItemSource=t.AwpFeatureItemStatus=t.AwpIssueType=t.AwpModuleName=t.AwpFeatureName=t.AwpModuleAction=t.AwpUserData=void 0;const a=n(3),i=n(337);class o{constructor(){this.userDataItems=[]}set featuresSetter(e){this.visible_features={accelerate_wp:e.accelerate_wp.filter((e=>t.FREE_MODULES.includes(e))),accelerate_wp_premium:e.accelerate_wp_premium.filter((e=>t.PREMIUM_MODULES.includes(e)))},e&&this.docroots&&this.setUserDataItems(this.docroots,e)}set docRootsSetter(e){this.docroots=e,e&&this.visible_features&&this.setUserDataItems(e,this.visible_features)}setUserDataItems(e,n){e.forEach((e=>{const a=e.wps,i=e.domains;a.forEach((e=>{const a={websites:null,awpFree:null,awpPremium:null},o=i.map((t=>t+"/"+e.path));a.websites=o;let r=0;const s=Object.keys(e.features).filter((e=>n.accelerate_wp.includes(e)&&t.FREE_MODULES.includes(e))).reduce(((n,a)=>(n[a]=e.features[a],n[a].hidden=t.HIDDEN_MODULES.includes(a),n[a].issues&&!n[a].hidden&&(r+=1),n)),{});a.awpFree={premiumGroup:!1,domains:i,path:e.path,features:s,advice:[],errorsCount:r};let l=0;const c=Object.keys(e.features).filter((e=>n.accelerate_wp_premium.includes(e)&&t.PREMIUM_MODULES.includes(e)&&!t.HIDDEN_MODULES.includes(e))).reduce(((t,n)=>(t[n]=e.features[n],t[n].issues&&(l+=1),t)),{});a.awpPremium={premiumGroup:!0,domains:i,path:e.path,features:c,advice:[],errorsCount:l},this.userDataItems.push(a)}))}))}}var r;a.__decorate([i.Expose({name:"visible_features"}),a.__metadata("design:type",Object),a.__metadata("design:paramtypes",[Object])],o.prototype,"featuresSetter",null),a.__decorate([i.Expose({name:"docroots"}),a.__metadata("design:type",Object),a.__metadata("design:paramtypes",[Object])],o.prototype,"docRootsSetter",null),t.AwpUserData=o,function(e){e.enable="enable",e.disable="disable",e.doAction="do-action",e.get="get",e.set="set",e.subscription="subscription",e.agreement="agreement"}(t.AwpModuleAction||(t.AwpModuleAction={})),function(e){e.accelerate_wp_premium="accelerate_wp_premium",e.accelerate_wp="accelerate_wp"}(t.AwpFeatureName||(t.AwpFeatureName={})),function(e){e.object_cache="object_cache",e.accelerate_wp="accelerate_wp",e.cdn="cdn",e.critical_css="critical_css",e.image_optimization="image_optimization"}(r=t.AwpModuleName||(t.AwpModuleName={})),function(e){e.post_check="post_check",e.incompatibility="incompatibility",e.error="error",e.misconfiguration="misconfiguration"}(t.AwpIssueType||(t.AwpIssueType={})),function(e){e.allowed="allowed",e.disabled="disabled",e.visible="visible"}(t.AwpFeatureItemStatus||(t.AwpFeatureItemStatus={})),function(e){e.default="default",e.manual="manual",e.billing="billing"}(t.AwpFeatureItemSource||(t.AwpFeatureItemSource={})),function(e){e.no_advice="no_advice",e.advice_available="advice_available",e.active="active"}(t.AwpAdviceStatus||(t.AwpAdviceStatus={})),function(e){e.allowedAll="allowed-for-all",e.disallowedAll="disallowed-for-all",e.visibleAll="visible-for-all"}(t.AwpSetSuiteState||(t.AwpSetSuiteState={})),function(e){e.approved="APPROVED",e.notApproved="NOT_APPROVED",e.notRequired="NOT_REQUIRED"}(t.AwpAgreementStatus||(t.AwpAgreementStatus={})),function(e){e.inactive="no",e.pending="pending",e.active="active"}(t.AwpSubscriptionStatus||(t.AwpSubscriptionStatus={})),function(e){e.cancel="cancel",e.change="change"}(t.AwpManagePremiumAction||(t.AwpManagePremiumAction={})),t.PREMIUM_MODULES=[r.object_cache,r.critical_css,r.image_optimization],t.FREE_MODULES=[r.accelerate_wp,r.cdn],t.HIDDEN_MODULES=[r.cdn]},214:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.WindowRef=void 0;n(0);const a=n(288),i=n(0);function o(){return window}class r{get nativeWindow(){return this.iframeStatus()===a.PageIframeStatus.NONBLOCKING?o().top:o()}openExternalHttpTab(e){this.navigateByPathAndProtocol("http",e,!0)}navigateToUrl(e,t,n){let a=[`${e}://${t}`],i=this.nativeWindow;n&&a.push("_blank"),i.open.apply(window,a)}iframeStatus(){let e=o();try{return e.top.history===e.self.history?a.PageIframeStatus.NOT_PRESENT:a.PageIframeStatus.NONBLOCKING}catch(e){return a.PageIframeStatus.LOCKED}}navigateByPathAndProtocol(e,t,n){this.navigateByUrl(`${e}://${t}`,n)}navigateByUrl(e,t){let n=[e];t&&n.push("_blank"),this.nativeWindow.open(...n)}}t.WindowRef=r,r.\u0275fac=function(e){return new(e||r)},r.\u0275prov=i.\u0275\u0275defineInjectable({token:r,factory:r.\u0275fac})},230:function(e,t){var n,a,i=e.exports={};function o(){throw new Error("setTimeout has not been defined")}function r(){throw new Error("clearTimeout has not been defined")}function s(e){if(n===setTimeout)return setTimeout(e,0);if((n===o||!n)&&setTimeout)return n=setTimeout,setTimeout(e,0);try{return n(e,0)}catch(t){try{return n.call(null,e,0)}catch(t){return n.call(this,e,0)}}}!function(){try{n="function"==typeof setTimeout?setTimeout:o}catch(e){n=o}try{a="function"==typeof clearTimeout?clearTimeout:r}catch(e){a=r}}();var l,c=[],d=!1,p=-1;function u(){d&&l&&(d=!1,l.length?c=l.concat(c):p=-1,c.length&&g())}function g(){if(!d){var e=s(u);d=!0;for(var t=c.length;t;){for(l=c,c=[];++p<t;)l&&l[p].run();p=-1,t=c.length}l=null,d=!1,function(e){if(a===clearTimeout)return clearTimeout(e);if((a===r||!a)&&clearTimeout)return a=clearTimeout,clearTimeout(e);try{return a(e)}catch(t){try{return a.call(null,e)}catch(t){return a.call(this,e)}}}(e)}}function m(e,t){this.fun=e,this.array=t}function f(){}i.nextTick=function(e){var t=new Array(arguments.length-1);if(arguments.length>1)for(var n=1;n<arguments.length;n++)t[n-1]=arguments[n];c.push(new m(e,t)),1!==c.length||d||s(g)},m.prototype.run=function(){this.fun.apply(null,this.array)},i.title="browser",i.browser=!0,i.env={},i.argv=[],i.version="",i.versions={},i.on=f,i.addListener=f,i.once=f,i.off=f,i.removeListener=f,i.removeAllListeners=f,i.emit=f,i.prependListener=f,i.prependOnceListener=f,i.listeners=function(e){return[]},i.binding=function(e){throw new Error("process.binding is not supported")},i.cwd=function(){return"/"},i.chdir=function(e){throw new Error("process.chdir is not supported")},i.umask=function(){return 0}},233:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Helper=void 0;const a=n(337);class i{static isEmpty(e){return 0===Object.getOwnPropertyNames(e).length}static isVersion(e){return/(\d+[.]*)+/gi.test(e)}static getManageFilterViews(e){let t=e.filter((e=>e.checked)).map((e=>e.name)),n=[];return 0===t.length?n.push("none"):t.length!==e.length&&(n=t),n.length>0?n:null}static unicodeBase64ToString(e){return decodeURIComponent(Array.prototype.map.call(atob(e),(e=>"%"+("00"+e.charCodeAt(0).toString(16)).slice(-2))).join(""))}static unicodeStringToBase64(e){return btoa(unescape(encodeURIComponent(e)))}static setImmediate(e){Promise.resolve().then(e)}static hasOwnPropetyRecursively(e,t){let n=t.split("_"),a=e;for(let e of n){if(!a.hasOwnProperty(e))return!1;a=a[e]}return!0}static getValueFromObjectRecursively(e,t){if(!i.hasOwnPropetyRecursively(e,t))return null;{let n=t.split("_"),a=e;for(let e of n)if(a=a[e],"object"!=typeof a)return a}}static isArraysEqual(e,t){if(e.length!==t.length)return!1;for(let n of e)if(-1===t.indexOf(n))return!1;return!0}static isObject(e){return"object"==typeof e}static recursivelyAssign2(e,t){for(let n in e)i.isObject(e[n])&&i.isObject(t[n])&&i.recursivelyAssign2(e[n],t[n]);for(let n in t)i.isObject(e[n])||(e[n]=t[n])}static removeBranchFromObject(e,t){for(let n in t)e.hasOwnProperty(n)&&("object"==typeof t[n]?i.removeBranchFromObject(e[n],t[n]):delete e[n])}static isNumber(e){return!isNaN(parseFloat(e))&&isFinite(e)}static dashOrNumber(e){return this.isNumber(e)?e:"-"}static dashOrAny(e,t=""){return e?t+e:"-"}static rangeEmpty(e){return new Array(e).fill(void 0)}static convertDictToClass(e,t){Object.keys(e).forEach((n=>{e[n]=a.plainToClass(t,e[n])}))}static comparePlainObjects(e,t){let n=Object.getOwnPropertyNames(e),a=Object.getOwnPropertyNames(t);if(n.length!==a.length)return!1;for(let a=0;a<n.length;a++){let i=n[a];if(e[i]!==t[i])return!1}return!0}static convertStringToHexRepresentation(e){return"string"!=typeof e?e:e.split("").map((e=>"\\u"+e.charCodeAt(0).toString(16).toUpperCase().padStart(4,"0"))).join("")}static isDefined(e){return null!=e}}t.Helper=i,i.timeout=e=>new Promise((t=>setTimeout(t,e)))},287:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.UnavailableService=void 0;const a=n(0),i=n(540),o=n(0);class r{constructor(e,t){this.componentFactoryResolver=e,this.appRef=t}showPage(e){const t=this.appRef.components[0].instance;if(t.routerOutlet.deactivate(),t.tabHeader&&null!==t.tabHeader.nativeElement.parentNode&&t.tabHeader.nativeElement.remove(),t.tabHeaderFixed&&null!==t.tabHeaderFixed.nativeElement.parentNode&&t.tabHeaderFixed.nativeElement.remove(),!this.component){const e=this.componentFactoryResolver.resolveComponentFactory(i.UnavailableComponent),n=t.viewRef.createComponent(e);t.renderer.addClass(t.elementRef.nativeElement,"lvemanager-unavailable-state"),n.changeDetectorRef.detectChanges(),this.component=n.instance}this.component.errorText=e.error_id,this.component.errorContext=e.context,e.icon&&(this.component.icon=e.icon)}canActivate(e,t){return!this.component}}t.UnavailableService=r,r.\u0275fac=function(e){return new(e||r)(o.\u0275\u0275inject(a.ComponentFactoryResolver),o.\u0275\u0275inject(a.ApplicationRef))},r.\u0275prov=o.\u0275\u0275defineInjectable({token:r,factory:r.\u0275fac})},288:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ExtensionState=t.GovernorMode=t.DashboardLinkTitle=t.PageIframeStatus=t.LabelColor=t.getFieldValueString=t.LoadingTypes=void 0,function(e){e.mat="material",e.spin="spin"}(t.LoadingTypes||(t.LoadingTypes={})),t.getFieldValueString=function(e){return e.hasOwnProperty("rawValue")?e.value:e},function(e){e.GREEN="#3e9d81",e.PURPLE="#3e51b5",e.RED="#c13c5b",e.DARK_GREEN="#01796e"}(t.LabelColor||(t.LabelColor={}));t.PageIframeStatus=function(e){return e[e.NOT_PRESENT=0]="NOT_PRESENT",e[e.NONBLOCKING=1]="NONBLOCKING",e[e.LOCKED=2]="LOCKED",e}(t.PageIframeStatus||{});!function(e){e.Manage="Manage",e.Install="Install",e.Configurable="Configurable",e.ReadMore="Read more"}(t.DashboardLinkTitle||(t.DashboardLinkTitle={})),function(e){e.SINGLE="single",e.OFF="off",e.ALL="all",e.ABUSERS="abusers"}(t.GovernorMode||(t.GovernorMode={})),function(e){e.enabled="enabled",e.disabled="disabled",e.built_in="build-in"}(t.ExtensionState||(t.ExtensionState={}))},289:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.AwpPaymentProcessingComponent=void 0;n(0);const a=n(65),i=n(0),o=n(65),r=n(22);class s{constructor(e){this.data=e,this.website=e.website||null,this.header=e.header,this.title=e.title,this.description=e.description}}t.AwpPaymentProcessingComponent=s,s.\u0275fac=function(e){return new(e||s)(i.\u0275\u0275directiveInject(a.MAT_DIALOG_DATA,8))},s.\u0275cmp=i.\u0275\u0275defineComponent({type:s,selectors:[["awp-payment-processing"]],decls:20,vars:10,consts:[[1,"lvemanager-awp-payment-processing"],["mat-dialog-title","",1,"lvemanager-awp-payment-processing__header"],[1,"lvemanager-awp-payment-processing__header--title"],["mat-dialog-close","",1,"material-icons","lvemanager-awp-payment-processing__header--close-dialog-button"],[1,"lvemanager-awp-payment-processing__header--website"],[1,"lvemanager-mat-typography"],[1,"lvemanager-awp-payment-processing__body"],[1,"lvemanager-awp-payment-processing__body--image"],["width","50","height","50","viewBox","0 0 50 50","fill","none","xmlns","http://www.w3.org/2000/svg"],["d","M33.1731 36.6415L36.6407 33.1738L27.4762 24.0093V12.6156H22.5225V25.9908L33.1731 36.6415ZM24.9994 49.769C21.573 49.769 18.353 49.1188 15.3395 47.8184C12.3259 46.518 9.70457 44.7533 7.47537 42.5241C5.24617 40.2949 3.48138 37.6735 2.18102 34.6599C0.880652 31.6464 0.230469 28.4264 0.230469 25.0001C0.230469 21.5737 0.880652 18.3538 2.18102 15.3402C3.48138 12.3267 5.24617 9.7053 7.47537 7.4761C9.70457 5.2469 12.3259 3.48212 15.3395 2.18175C18.353 0.881384 21.573 0.231201 24.9994 0.231201C28.4257 0.231201 31.6457 0.881384 34.6592 2.18175C37.6728 3.48212 40.2941 5.2469 42.5233 7.4761C44.7525 9.7053 46.5173 12.3267 47.8177 15.3402C49.118 18.3538 49.7682 21.5737 49.7682 25.0001C49.7682 28.4264 49.118 31.6464 47.8177 34.6599C46.5173 37.6735 44.7525 40.2949 42.5233 42.5241C40.2941 44.7533 37.6728 46.518 34.6592 47.8184C31.6457 49.1188 28.4257 49.769 24.9994 49.769Z","fill","#FFAA5B"],[1,"lvemanager-awp-payment-processing__body--title"],[1,"lvemanager-awp-payment-processing__body--explanation"]],template:function(e,t){1&e&&(i.\u0275\u0275elementStart(0,"div",0),i.\u0275\u0275elementStart(1,"div",1),i.\u0275\u0275elementStart(2,"div",2),i.\u0275\u0275text(3),i.\u0275\u0275pipe(4,"translate"),i.\u0275\u0275elementEnd(),i.\u0275\u0275elementStart(5,"i",3),i.\u0275\u0275text(6,"close"),i.\u0275\u0275elementEnd(),i.\u0275\u0275elementStart(7,"span",4),i.\u0275\u0275text(8),i.\u0275\u0275elementEnd(),i.\u0275\u0275elementEnd(),i.\u0275\u0275elementStart(9,"mat-dialog-content",5),i.\u0275\u0275elementStart(10,"div",6),i.\u0275\u0275elementStart(11,"div",7),i.\u0275\u0275namespaceSVG(),i.\u0275\u0275elementStart(12,"svg",8),i.\u0275\u0275element(13,"path",9),i.\u0275\u0275elementEnd(),i.\u0275\u0275elementEnd(),i.\u0275\u0275namespaceHTML(),i.\u0275\u0275elementStart(14,"div",10),i.\u0275\u0275text(15),i.\u0275\u0275pipe(16,"translate"),i.\u0275\u0275elementEnd(),i.\u0275\u0275elementStart(17,"div",11),i.\u0275\u0275text(18),i.\u0275\u0275pipe(19,"translate"),i.\u0275\u0275elementEnd(),i.\u0275\u0275elementEnd(),i.\u0275\u0275elementEnd(),i.\u0275\u0275elementEnd()),2&e&&(i.\u0275\u0275advance(3),i.\u0275\u0275textInterpolate(i.\u0275\u0275pipeBind1(4,4,t.header)),i.\u0275\u0275advance(5),i.\u0275\u0275textInterpolate(t.website),i.\u0275\u0275advance(7),i.\u0275\u0275textInterpolate(i.\u0275\u0275pipeBind1(16,6,t.title)),i.\u0275\u0275advance(3),i.\u0275\u0275textInterpolate(i.\u0275\u0275pipeBind1(19,8,t.description)))},directives:[o.MatDialogTitle,o.MatDialogClose,o.MatDialogContent],pipes:[r.TranslatePipe],styles:[".lvemanager-awp-payment-processing__header[_ngcontent-%COMP%]{display:flex;flex-direction:column;position:relative;width:100%}.lvemanager-awp-payment-processing__header--title[_ngcontent-%COMP%]{font-family:'Open Sans',sans-serif;font-style:normal;font-weight:700;font-size:18px;line-height:25px;color:#1D1D1D}.lvemanager-awp-payment-processing__header--website[_ngcontent-%COMP%]{font-family:'Open Sans',sans-serif;font-style:normal;font-weight:400;font-size:12px;line-height:16px}.lvemanager-awp-payment-processing__header--close-dialog-button[_ngcontent-%COMP%]{position:absolute;color:#56565B;right:0;top:0;cursor:pointer;opacity:.8}.lvemanager-awp-payment-processing__header--close-dialog-button[_ngcontent-%COMP%]:hover{opacity:1}.lvemanager-awp-payment-processing__body[_ngcontent-%COMP%]{justify-content:center}.lvemanager-awp-payment-processing__body--image[_ngcontent-%COMP%]{display:flex;justify-content:center;margin-top:100px}.lvemanager-awp-payment-processing__body--title[_ngcontent-%COMP%]{font-family:'Open Sans',sans-serif;font-style:normal;font-weight:600;font-size:16px;line-height:22px;color:#000000;margin:20px 0;text-align:center}.lvemanager-awp-payment-processing__body--explanation[_ngcontent-%COMP%]{font-family:'Open Sans',sans-serif;font-style:normal;font-weight:400;font-size:14px;line-height:19px;text-align:center;color:#354052;margin-bottom:100px;padding:0 83px} .lvemanager-awp-payment-processing-modal-panel .mat-dialog-container{width:760px !important}"]})},290:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const a=n(3);a.__exportStar(n(1330),t),a.__exportStar(n(565),t)},291:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Linebreak=void 0;n(0);const a=n(0);class i{transform(e){return e.replace(/\n/g,"<br>")}}t.Linebreak=i,i.\u0275fac=function(e){return new(e||i)},i.\u0275pipe=a.\u0275\u0275definePipe({name:"linebreak",type:i,pure:!0})},292:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.LinkifyPipe=void 0;n(0);const a=n(1331),i=n(0),o={validate:{url:function(e){return/^(http|ftp)s?:\/\//.test(e)}}};class r{transform(e){return"string"==typeof e?a(e,o):e}}t.LinkifyPipe=r,r.\u0275fac=function(e){return new(e||r)},r.\u0275pipe=i.\u0275\u0275definePipe({name:"linkify",type:r,pure:!0})},293:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.CommonPipes=void 0;n(0);const a=n(583),i=n(1353),o=n(1354),r=n(1355),s=n(1356),l=n(347),c=n(292),d=n(1357),p=n(1358),u=n(1359),g=n(1361),m=n(1362),f=n(1363),v=n(291),h=n(575),_=n(0);m.DurationPipe,a.HighlightSearch,i.KeysPipe,o.MaxPipe,r.PanelClass,s.RangePipe,c.LinkifyPipe,l.LvemanagerPrefixerPipe,d.ReplaceDots,p.CodePipe,u.OrderBy,g.TruncateTextPipe,f.NoDomainSchemePipe,v.Linebreak,h.ProgressPipe;class b{}t.CommonPipes=b,b.\u0275mod=_.\u0275\u0275defineNgModule({type:b}),b.\u0275inj=_.\u0275\u0275defineInjector({factory:function(e){return new(e||b)}}),("undefined"==typeof ngJitMode||ngJitMode)&&_.\u0275\u0275setNgModuleScope(b,{declarations:[m.DurationPipe,a.HighlightSearch,i.KeysPipe,o.MaxPipe,r.PanelClass,s.RangePipe,c.LinkifyPipe,l.LvemanagerPrefixerPipe,d.ReplaceDots,p.CodePipe,u.OrderBy,g.TruncateTextPipe,f.NoDomainSchemePipe,v.Linebreak,h.ProgressPipe],exports:[m.DurationPipe,a.HighlightSearch,i.KeysPipe,o.MaxPipe,r.PanelClass,s.RangePipe,c.LinkifyPipe,l.LvemanagerPrefixerPipe,d.ReplaceDots,p.CodePipe,u.OrderBy,g.TruncateTextPipe,f.NoDomainSchemePipe,v.Linebreak,h.ProgressPipe]})},336:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Access=t.OWNER_RESELLER=t.OWNER_USER=t.OWNER_ADMIN=void 0;n(0);const a=n(233),i=(n(67),n(0)),o=n(67);t.OWNER_ADMIN="admin",t.OWNER_USER="user",t.OWNER_RESELLER="reseller";class r{constructor(e){this.appState=e,this.prohibitedLimits={},this.userType=this.appState.get("userType"),this.prohibitedLimits[t.OWNER_RESELLER]={usage:{cpu:{mysql:!0},vmem:!0,io:{mysql:!0},inodes:!0},limits:{cpu:{mysql:!0},vmem:!0,io:{mysql:!0},inodes:!0},faults:{vmem:!0,io:{mysql:!0},inodes:!0}}}dropPermission(e,n){this.userType!==t.OWNER_ADMIN&&this.userType===t.OWNER_RESELLER&&this.prohibitedLimits.hasOwnProperty(this.userType)&&(a.Helper.removeBranchFromObject(n,this.prohibitedLimits[this.userType]),e.hasOwnProperty("mySqlGov")&&(e.mySqlGov="error"))}}t.Access=r,r.\u0275fac=function(e){return new(e||r)(i.\u0275\u0275inject(o.AppState))},r.\u0275prov=i.\u0275\u0275defineInjectable({token:r,factory:r.\u0275fac})},338:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.BaseComponent=void 0;n(0);const a=n(414),i=n(1086),o=n(288),r=n(22),s=n(0);class l extends i.LoaderableComponent{constructor(e){super(),this.injector=e,this.loaderSettings={type:o.LoadingTypes.mat},this.translateService=this.injector.get(r.TranslateService)}ngAfterViewInit(){this.appState.onChange.subscribe((()=>{this.appState.get("completeLoaders")&&(this.loading=!1,a.InstanceInjector.loadingBarServiceInstance&&a.InstanceInjector.loadingBarServiceInstance.complete(),this.appState.set("completeLoaders",!1))}))}get panelInfo(){let e="";return"undefined"!=typeof panelName&&(e+=panelName+"_"),"undefined"!=typeof panelVersion&&(e+=panelVersion),e}}t.BaseComponent=l,l.\u0275fac=function(e){return new(e||l)(s.\u0275\u0275inject(s.Injector))},l.\u0275prov=s.\u0275\u0275defineInjectable({token:l,factory:l.\u0275fac})},345:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.SmartAdviceDataItem=t.AdviceTypeToFeatureMap=t.AdviceAction=t.AdviceStatus=t.AdviceType=void 0;const a=n(3),i=n(337);var o;!function(e){e.object_cache="OBJECT_CACHE",e.accelerate_wp="SITE_OPTIMIZATION",e.cdn="CDN",e.critical_css="CPCSS",e.image_optimization="IMAGE_OPTIMIZATION"}(t.AdviceType||(t.AdviceType={})),function(e){e.review="review",e.applied="applied",e.outdated="outdated",e.pending="pending",e.readonly="readonly"}(t.AdviceStatus||(t.AdviceStatus={})),function(e){e.apply="apply",e.hide="hide",e.rollback="rollback"}(t.AdviceAction||(t.AdviceAction={})),function(e){e.OBJECT_CACHE="object_cache",e.SITE_OPTIMIZATION="accelerate_wp",e.CDN="cdn",e.CPCSS="critical_css",e.IMAGE_OPTIMIZATION="image_optimization"}(o=t.AdviceTypeToFeatureMap||(t.AdviceTypeToFeatureMap={}));class r{set metadataSetter(e){e&&(this.metadata=e.value,this.username=e.value.username,this.website=`${e.value.domain}${e.value.website}`)}set adviceSetter(e){e&&(this.advice=e.value,this.status=e.value.status,this.is_premium=e.value.is_premium,this.id=e.value.id,this.description=e.value.description,this.type=e.value.type,this.total_stages=e.value.total_stages,this.completed_stages=e.value.completed_stages,this.relatedFeature=o[this.type])}}a.__decorate([i.Expose({name:"metadata"}),i.Transform(((e,t)=>({value:e,obj:t}))),a.__metadata("design:type",Object),a.__metadata("design:paramtypes",[Object])],r.prototype,"metadataSetter",null),a.__decorate([i.Expose({name:"advice"}),i.Transform(((e,t)=>({value:e,obj:t}))),a.__metadata("design:type",Object),a.__metadata("design:paramtypes",[Object])],r.prototype,"adviceSetter",null),t.SmartAdviceDataItem=r},346:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.InputAccessor=void 0;const a=n(0),i=n(1327),o=(n(22),n(0)),r=n(22);class s{constructor(e){this.translateService=e,this.changed=new Array,this.touched=new Array,this.actionEmitter=new a.EventEmitter,this.title="",this.description="",this.id="",this.name="",this.highlightPhrase=""}set requirements(e){let t=[];e.forEach((e=>{"object"==typeof e?(e.m=i.Validator[e.m],t.push(e)):"string"==typeof e&&t.push({m:i.Validator[e]})})),this.validator||(this.validator=new i.Validator(this.translateService)),this.validator.defineRequirements(t)}set validatorFabric(e){"function"==typeof e&&(this.validator=e())}get innerValue(){return this._innerValue}set innerValue(e){this.updateValue(e)}updateValue(e){null!=e&&this.validator&&this.validator.hasRequirements&&this.validator.validate(e,this.innerValue,this.elementRef,this.validatorData),this._innerValue!==e&&(this._innerValue=e,this.prepareValueHook(),this.changed.forEach((e=>e(this._innerValue))))}action(...e){this.actionEmitter.emit(e)}writeValue(e){this.innerValue=e}registerOnChange(e){this.changed.push(e)}registerOnTouched(e){this.touched.push(e)}ngAfterContentInit(){}}t.InputAccessor=s,s.\u0275fac=function(e){return new(e||s)(o.\u0275\u0275directiveInject(r.TranslateService))},s.\u0275dir=o.\u0275\u0275defineDirective({type:s,inputs:{title:"title",description:"description",id:"id",name:"name",disabled:"disabled",validatorData:"validatorData",highlightPhrase:"highlightPhrase",requirements:"requirements",validatorFabric:"validatorFabric"},outputs:{actionEmitter:"action"}})},347:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.LvemanagerPrefixerPipe=void 0;n(0);const a=n(0);class i{transform(e){return e?`lvemanager-${e}`:e}}t.LvemanagerPrefixerPipe=i,i.\u0275fac=function(e){return new(e||i)},i.\u0275pipe=a.\u0275\u0275definePipe({name:"lvemanagerPrefixer",type:i,pure:!0})},349:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ComponentModule=void 0;const a=n(1352),i=n(582),o=n(576),r=n(422),s=n(164),l=n(584),c=(n(0),n(1)),d=n(293),p=n(53),u=n(148),g=n(188),m=n(567),f=n(1364),v=n(1365),h=n(432),_=n(429),b=n(165),C=n(1378),w=n(80),x=n(73),M=n(589),y=n(417),P=n(587),O=n(1380),S=n(557),A=n(290),E=n(0),k=n(148),I=n(188),D=n(165);a.UiTableSpinner,i.UiFormElement,o.UiText,r.UiCheckbox,s.UiButton,l.UiSwitcher,m.OutsideClickEventDirective,C.UiPageSizerComponent,y.UiSimpleInfo,S.UiFeedbackComponent,A.ModalDialog;class T{}t.ComponentModule=T,T.\u0275mod=E.\u0275\u0275defineNgModule({type:T}),T.\u0275inj=E.\u0275\u0275defineInjector({factory:function(e){return new(e||T)},providers:[h.ClipboardService,f.IntervalService],imports:[[c.CommonModule,p.FormsModule,u.TooltipModule.forRoot(),g.BsDropdownModule.forRoot(),d.CommonPipes,_.CommonDirectivesModule,b.CustomTranslateModule.forRoot(),v.NotificationsModule,h.ClipboardModule,w.BrowserModule,x.RouterModule,M.TemplateDirectiveModule,P.AngularMaterialModules,O.AngularResizedEventModule]]}),("undefined"==typeof ngJitMode||ngJitMode)&&E.\u0275\u0275setNgModuleScope(T,{declarations:[a.UiTableSpinner,i.UiFormElement,o.UiText,r.UiCheckbox,s.UiButton,l.UiSwitcher,m.OutsideClickEventDirective,C.UiPageSizerComponent,y.UiSimpleInfo,S.UiFeedbackComponent,A.ModalDialog],imports:[c.CommonModule,p.FormsModule,k.TooltipModule,I.BsDropdownModule,d.CommonPipes,_.CommonDirectivesModule,D.CustomTranslateModule,v.NotificationsModule,h.ClipboardModule,w.BrowserModule,x.RouterModule,M.TemplateDirectiveModule,P.AngularMaterialModules,O.AngularResizedEventModule],exports:[a.UiTableSpinner,i.UiFormElement,o.UiText,r.UiCheckbox,s.UiButton,l.UiSwitcher,m.OutsideClickEventDirective,C.UiPageSizerComponent,y.UiSimpleInfo,S.UiFeedbackComponent,A.ModalDialog]})},411:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ENV_PROVIDERS=t.decorateModuleRef=void 0;const a=n(80),i=n(0),o=n(163),r=n(72),s=n(1088);let l=[o.XHR,{provide:r.HTTP_INTERCEPTORS,useClass:s.RequestInterceptor,multi:!0}],c=function(e){return e};i.enableProdMode(),c=e=>(a.disableDebugTools(),e),l=[...l],t.decorateModuleRef=c,t.ENV_PROVIDERS=[...l]},412:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.MockService=void 0;n(0);const a=n(336),i=(n(67),n(0)),o=n(67);class r{constructor(e){this.appState=e,this.mockMapping={"cloudlinux-charts":[a.OWNER_RESELLER],"cloudlinux-statistics-by-id":[a.OWNER_RESELLER],"cloudlinux-wizard-modules":[a.OWNER_ADMIN],"cloudlinux-wizard-progress":[a.OWNER_ADMIN],"cloudlinux-wizard-status":[a.OWNER_ADMIN],"cloudlinux-summary-dashboard-status":[a.OWNER_ADMIN],"cloudlinux-summary-dashboard":[a.OWNER_ADMIN],"cloudlinux-selector-get-nodejs":[a.OWNER_ADMIN],"cloudlinux-selector-get-nodejs2":[a.OWNER_ADMIN],"cloudlinux-selector-remove-nodejs-version":[a.OWNER_ADMIN],"cloudlinux-selector-install-nodejs-version":[a.OWNER_ADMIN],"cloudlinux-selector-switch-nodejs-version":[a.OWNER_ADMIN],"cloudlinux-selector-move-nodejs-version":[a.OWNER_ADMIN],"cloudlinux-selector-make-default-version":[a.OWNER_ADMIN],"cloudlinux-selector-selector-status":[a.OWNER_ADMIN],"cloudlinux-selector-new-version":[a.OWNER_ADMIN],"cloudlinux-selector-get-application-list":[a.OWNER_USER],"cloudlinux-selector-get-application-list2":[a.OWNER_USER],"success-result":[a.OWNER_ADMIN,a.OWNER_USER],"uapi-php-get-vhost-versions":[a.OWNER_USER],"wmt-api-config-get":[a.OWNER_ADMIN],"cloudlinux-ssa-manager-get-config":[a.OWNER_ADMIN],"cloudlinux-ssa-manager-get-report":[a.OWNER_ADMIN],"cloudlinux-awp-admin-generate-report-status":[a.OWNER_ADMIN],"cloudlinux-awp-admin-generate-report":[a.OWNER_ADMIN],"cloudlinux-awp-admin-get-report":[a.OWNER_ADMIN],"cloudlinux-awp-admin-set-module":[a.OWNER_ADMIN],"cloudlinux-awp-admin-get-options":[a.OWNER_ADMIN],"cloudlinux-awp-user-agreement":[a.OWNER_ADMIN,a.OWNER_USER],"cloudlinux-awp-user-get":[a.OWNER_USER],"cloudlinux-awp-user-set-module":[a.OWNER_USER],"cl-smart-advice-list":[a.OWNER_ADMIN,a.OWNER_USER],"cl-smart-advice-apply":[a.OWNER_ADMIN,a.OWNER_USER],"cl-smart-advice-details":[a.OWNER_ADMIN,a.OWNER_USER],"cl-smart-advice-status":[a.OWNER_ADMIN,a.OWNER_USER],"cl-link-to-cln-status":[a.OWNER_ADMIN],"cl-install-plugin-status":[a.OWNER_ADMIN],"cl-install-plugin-pre-check":[a.OWNER_ADMIN],"cl-install-plugin-install":[a.OWNER_ADMIN],"cloudlinux-packages-get":[a.OWNER_ADMIN],"cloudlinux-selector-get-php":[a.OWNER_ADMIN,a.OWNER_USER]},this.availableEnv=["development"]}processRequest(e,t){""!==e&&localStorage.getItem("isTestEnvironment")&&this.mockMapping.hasOwnProperty(e)&&this.mockMapping[e].includes(this.appState.get("userType"))&&(t.mockJson=e)}}t.MockService=r,r.\u0275fac=function(e){return new(e||r)(i.\u0275\u0275inject(o.AppState))},r.\u0275prov=i.\u0275\u0275defineInjectable({token:r,factory:r.\u0275fac})},414:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.InstanceInjector=void 0;n(0);const a=n(0);class i{}t.InstanceInjector=i,i.\u0275fac=function(e){return new(e||i)},i.\u0275prov=a.\u0275\u0275defineInjectable({token:i,factory:i.\u0275fac})},416:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ConfigRepo=void 0;const a=n(3),i=(n(0),n(163),n(67),n(88),n(0)),o=n(67),r=n(163),s=n(88);class l{constructor(e,t,n){this.appState=e,this.request=t,this.notifications=n}getDomains(){return a.__awaiter(this,void 0,void 0,(function*(){return(yield this.request.post({command:"spa-get-domains"})).list}))}getUserHomeDir(){return a.__awaiter(this,void 0,void 0,(function*(){return(yield this.request.post({command:"spa-get-homedir"})).homedir}))}getUserInfo(){return a.__awaiter(this,void 0,void 0,(function*(){return yield this.request.post({command:"spa-get-user-info"})}))}}t.ConfigRepo=l,l.promisePending=null,l.\u0275fac=function(e){return new(e||l)(i.\u0275\u0275inject(o.AppState),i.\u0275\u0275inject(r.XHR),i.\u0275\u0275inject(s.ActionNotificationService))},l.\u0275prov=i.\u0275\u0275defineInjectable({token:l,factory:l.\u0275fac})},417:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.UiSimpleInfo=void 0;n(0);const a=n(0),i=n(1);function o(e,t){if(1&e&&(a.\u0275\u0275elementStart(0,"i",5),a.\u0275\u0275text(1),a.\u0275\u0275elementEnd()),2&e){const e=a.\u0275\u0275nextContext();a.\u0275\u0275advance(1),a.\u0275\u0275textInterpolate(e.icon)}}function r(e,t){if(1&e&&(a.\u0275\u0275elementStart(0,"div",6),a.\u0275\u0275text(1),a.\u0275\u0275elementEnd()),2&e){const e=a.\u0275\u0275nextContext();a.\u0275\u0275advance(1),a.\u0275\u0275textInterpolate(e.title)}}function s(e,t){if(1&e&&a.\u0275\u0275element(0,"div",7),2&e){const e=a.\u0275\u0275nextContext();a.\u0275\u0275property("innerHTML",e.message,a.\u0275\u0275sanitizeHtml)}}class l{constructor(){this.title="",this.message="",this.icon=""}}t.UiSimpleInfo=l,l.\u0275fac=function(e){return new(e||l)},l.\u0275cmp=a.\u0275\u0275defineComponent({type:l,selectors:[["ui-simple-info"]],inputs:{title:"title",message:"message",icon:"icon"},decls:5,vars:3,consts:[[1,"lvemanager-ui-simple-info"],["class","material-icons",4,"ngIf"],[1,"lvemanager-ui-simple-info__content"],["class","lvemanager-ui-simple-info__title",4,"ngIf"],["class","lvemanager-ui-simple-info__message",3,"innerHTML",4,"ngIf"],[1,"material-icons"],[1,"lvemanager-ui-simple-info__title"],[1,"lvemanager-ui-simple-info__message",3,"innerHTML"]],template:function(e,t){1&e&&(a.\u0275\u0275elementStart(0,"div",0),a.\u0275\u0275template(1,o,2,1,"i",1),a.\u0275\u0275elementStart(2,"div",2),a.\u0275\u0275template(3,r,2,1,"div",3),a.\u0275\u0275template(4,s,1,1,"div",4),a.\u0275\u0275elementEnd(),a.\u0275\u0275elementEnd()),2&e&&(a.\u0275\u0275advance(1),a.\u0275\u0275property("ngIf",t.icon),a.\u0275\u0275advance(2),a.\u0275\u0275property("ngIf",t.title),a.\u0275\u0275advance(1),a.\u0275\u0275property("ngIf",t.message))},directives:[i.NgIf],styles:[".lvemanager-ui-simple-info[_ngcontent-%COMP%]{display:flex;border-radius:8px;align-items:center;min-height:60px;background:#FFF7E8;padding:15px 29px;font-size:14px;font-style:normal;line-height:18px}.lvemanager-ui-simple-info[_ngcontent-%COMP%] i.material-icons[_ngcontent-%COMP%]{color:#FAD61C;font-size:30px}.lvemanager-ui-simple-info__content[_ngcontent-%COMP%]{display:flex;flex-direction:column}.lvemanager-ui-simple-info__title[_ngcontent-%COMP%]{margin-left:14px;line-height:24px;font-weight:600}.lvemanager-ui-simple-info__message[_ngcontent-%COMP%]{margin-left:14px;font-weight:normal}"]})},419:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.UiPaginatorComponent=void 0;n(0);const a=n(415),i=n(0),o=n(1),r=n(188),s=n(22);function l(e,t){1&e&&(i.\u0275\u0275elementStart(0,"li",12),i.\u0275\u0275elementStart(1,"a"),i.\u0275\u0275elementStart(2,"span",7),i.\u0275\u0275text(3,"\xa0"),i.\u0275\u0275elementEnd(),i.\u0275\u0275elementEnd(),i.\u0275\u0275elementEnd()),2&e&&i.\u0275\u0275classProp("disabled",!0)}function c(e,t){if(1&e){const e=i.\u0275\u0275getCurrentView();i.\u0275\u0275elementStart(0,"li",13),i.\u0275\u0275listener("click",(function(){i.\u0275\u0275restoreView(e);const t=i.\u0275\u0275nextContext().$implicit;return i.\u0275\u0275nextContext(3).openPage(t.index)})),i.\u0275\u0275elementStart(1,"a"),i.\u0275\u0275elementStart(2,"span",7),i.\u0275\u0275text(3),i.\u0275\u0275elementEnd(),i.\u0275\u0275elementEnd(),i.\u0275\u0275elementEnd()}if(2&e){const e=i.\u0275\u0275nextContext().$implicit,t=i.\u0275\u0275nextContext(3);i.\u0275\u0275classProp("lvemanager-active",t.pageIndex===e.index),i.\u0275\u0275advance(3),i.\u0275\u0275textInterpolate(e.number)}}function d(e,t){1&e&&(i.\u0275\u0275elementStart(0,"li",12),i.\u0275\u0275elementStart(1,"a"),i.\u0275\u0275elementStart(2,"span",7),i.\u0275\u0275text(3,"\xa0"),i.\u0275\u0275elementEnd(),i.\u0275\u0275elementEnd(),i.\u0275\u0275elementEnd()),2&e&&i.\u0275\u0275classProp("disabled",!0)}function p(e,t){if(1&e&&(i.\u0275\u0275elementContainerStart(0),i.\u0275\u0275template(1,l,4,2,"li",10),i.\u0275\u0275template(2,c,4,3,"li",11),i.\u0275\u0275template(3,d,4,2,"li",10),i.\u0275\u0275elementContainerEnd()),2&e){const e=t.$implicit,n=i.\u0275\u0275nextContext(3);i.\u0275\u0275advance(1),i.\u0275\u0275property("ngIf",2===e.number&&e.autoHide),i.\u0275\u0275advance(1),i.\u0275\u0275property("ngIf",!e.autoHide),i.\u0275\u0275advance(1),i.\u0275\u0275property("ngIf",e.number===n.getNumberOfPages()-1&&e.autoHide)}}function u(e,t){if(1&e){const e=i.\u0275\u0275getCurrentView();i.\u0275\u0275elementStart(0,"ul",5),i.\u0275\u0275elementStart(1,"li",6),i.\u0275\u0275listener("click",(function(){i.\u0275\u0275restoreView(e);return i.\u0275\u0275nextContext(2).previousPage()})),i.\u0275\u0275elementStart(2,"a"),i.\u0275\u0275elementStart(3,"span",7),i.\u0275\u0275text(4,"\xa0"),i.\u0275\u0275elementEnd(),i.\u0275\u0275elementEnd(),i.\u0275\u0275elementEnd(),i.\u0275\u0275template(5,p,4,3,"ng-container",8),i.\u0275\u0275elementStart(6,"li",9),i.\u0275\u0275listener("click",(function(){i.\u0275\u0275restoreView(e);return i.\u0275\u0275nextContext(2).nextPage()})),i.\u0275\u0275elementStart(7,"a"),i.\u0275\u0275elementStart(8,"span",7),i.\u0275\u0275text(9,"\xa0"),i.\u0275\u0275elementEnd(),i.\u0275\u0275elementEnd(),i.\u0275\u0275elementEnd(),i.\u0275\u0275elementEnd()}if(2&e){const e=i.\u0275\u0275nextContext(2);i.\u0275\u0275advance(5),i.\u0275\u0275property("ngForOf",e.pages)}}function g(e,t){1&e&&i.\u0275\u0275element(0,"div",14)}function m(e,t){if(1&e){const e=i.\u0275\u0275getCurrentView();i.\u0275\u0275elementStart(0,"li"),i.\u0275\u0275elementStart(1,"a",21),i.\u0275\u0275listener("click",(function(){i.\u0275\u0275restoreView(e);const n=t.$implicit;return i.\u0275\u0275nextContext(4).onPageSizeChanged(n)})),i.\u0275\u0275text(2),i.\u0275\u0275elementEnd(),i.\u0275\u0275elementEnd()}if(2&e){const e=t.$implicit,n=i.\u0275\u0275nextContext(4);i.\u0275\u0275advance(1),i.\u0275\u0275classProp("lvemanager-selected",n.isSelected(e)),i.\u0275\u0275advance(1),i.\u0275\u0275textInterpolate(e)}}function f(e,t){if(1&e){const e=i.\u0275\u0275getCurrentView();i.\u0275\u0275elementStart(0,"li"),i.\u0275\u0275elementStart(1,"a",21),i.\u0275\u0275listener("click",(function(){i.\u0275\u0275restoreView(e);const t=i.\u0275\u0275nextContext(4);return t.onPageSizeChanged(t.length)})),i.\u0275\u0275text(2,"All"),i.\u0275\u0275elementEnd(),i.\u0275\u0275elementEnd()}if(2&e){const e=i.\u0275\u0275nextContext(4);i.\u0275\u0275advance(1),i.\u0275\u0275classProp("lvemanager-selected",e.isSelected(e.length))}}function v(e,t){if(1&e&&(i.\u0275\u0275elementStart(0,"ul",19),i.\u0275\u0275template(1,m,3,3,"li",8),i.\u0275\u0275template(2,f,3,2,"li",20),i.\u0275\u0275elementEnd()),2&e){const e=i.\u0275\u0275nextContext(3);i.\u0275\u0275advance(1),i.\u0275\u0275property("ngForOf",e.pageSizeOptions),i.\u0275\u0275advance(1),i.\u0275\u0275property("ngIf",e.showAll)}}function h(e,t){if(1&e&&(i.\u0275\u0275elementStart(0,"div",15),i.\u0275\u0275elementStart(1,"button",16),i.\u0275\u0275text(2),i.\u0275\u0275pipe(3,"translate"),i.\u0275\u0275element(4,"span",17),i.\u0275\u0275elementEnd(),i.\u0275\u0275template(5,v,3,2,"ul",18),i.\u0275\u0275elementEnd()),2&e){const e=i.\u0275\u0275nextContext(2);i.\u0275\u0275advance(2),i.\u0275\u0275textInterpolate1(" ",i.\u0275\u0275pipeBind1(3,1,"AWP.paginator_items_per_page")+e.pageSize," ")}}function _(e,t){if(1&e&&(i.\u0275\u0275elementStart(0,"nav",1),i.\u0275\u0275template(1,u,10,1,"ul",2),i.\u0275\u0275template(2,g,1,0,"div",3),i.\u0275\u0275template(3,h,6,3,"div",4),i.\u0275\u0275elementEnd()),2&e){const e=i.\u0275\u0275nextContext();i.\u0275\u0275advance(1),i.\u0275\u0275property("ngIf",e.length>e.pageSize),i.\u0275\u0275advance(1),i.\u0275\u0275property("ngIf",e.pageSizeOptions.length&&e.length>e.pageSize),i.\u0275\u0275advance(1),i.\u0275\u0275property("ngIf",e.pageSizeOptions.length)}}class b extends a.MatPaginator{constructor(){super(...arguments),this.showAll=!1}set length(e){this._length=e,this.generatePages(),this.emitChanges()}get length(){return this._length}set pageSize(e){this._pageSize=e,this.generatePages(),this.emitChanges()}get pageSize(){return this._pageSize}set pageIndex(e){this._pageIndex=e,this.generatePages(),this.emitChanges()}get pageIndex(){return this._pageIndex}ngOnInit(){this.generatePages()}openPage(e){this._pageIndex=e,this.emitChanges()}generatePages(){const e=this.getNumberOfPages(),t=this.getVisiblePages();let n=[];if(this.pageSize>0){for(let a=1;a<=e;a++){let e=!t.includes(a);n.push({number:a,index:a-1,autoHide:e})}this.pages=n}}getVisiblePages(){const e=this.getNumberOfPages(),t=this._pageIndex+1;if(e>7)return t<=4?[1,2,3,4,5,e]:t>e-4?[1,e-4,e-3,e-2,e-1,e]:[1,t-1,t,t+1,e];{let t=[];for(let n=1;n<=e;n++)t.push(n);return t}}getNumberOfPages(){return Math.ceil(this._length/this._pageSize)}nextPage(){this.hasNextPage()&&super.nextPage()}hasNextPage(){const e=this.getNumberOfPages()-1;return this._pageIndex<e}emitChanges(){this.page.next({pageIndex:this._pageIndex,pageSize:this._pageSize,length:this._length})}isSelected(e){return this.pageSize===e}onPageSizeChanged(e){this.pageSize=e,this.pageIndex=0,this.emitChanges()}}t.UiPaginatorComponent=b,b.\u0275fac=function(e){return C(e||b)},b.\u0275cmp=i.\u0275\u0275defineComponent({type:b,selectors:[["ui-paginator"]],inputs:{showAll:"showAll",length:"length",pageSize:"pageSize",pageIndex:"pageIndex"},features:[i.\u0275\u0275InheritDefinitionFeature],decls:1,vars:1,consts:[["class","pagination_nav",4,"ngIf"],[1,"pagination_nav"],["class","pagination",4,"ngIf"],["class","lvemanager-line-divider",4,"ngIf"],["class","lvemanager-page-sizer dropdown","dropdown","",4,"ngIf"],[1,"pagination"],[1,"lvemanager-previous-page",3,"click"],["aria-hidden","true",1,"pagination-control"],[4,"ngFor","ngForOf"],[1,"lvemanager-next-page",3,"click"],["class","lvemanager-no-page",3,"disabled",4,"ngIf"],["class","lvemanager-page",3,"lvemanager-active","click",4,"ngIf"],[1,"lvemanager-no-page"],[1,"lvemanager-page",3,"click"],[1,"lvemanager-line-divider"],["dropdown","",1,"lvemanager-page-sizer","dropdown"],["dropdownToggle","",1,"lvemanager-page-sizer__toggle","lvemanager-button-reset"],[1,"caret"],["class","b_dropdown-menu",4,"dropdownMenu"],[1,"b_dropdown-menu"],[4,"ngIf"],[1,"dropdown__item",3,"click"]],template:function(e,t){1&e&&i.\u0275\u0275template(0,_,4,3,"nav",0),2&e&&i.\u0275\u0275property("ngIf",t.length>t.pageSize||t.pageSizeOptions)},directives:[o.NgIf,o.NgForOf,r.BsDropdownDirective,r.BsDropdownToggleDirective,r.BsDropdownMenuDirective],pipes:[s.TranslatePipe],styles:['.pagination_nav[_ngcontent-%COMP%]{height:40px;padding:4px 4px;border-radius:20px;border:1px solid #dee1ec;display:inline-block}.pagination[_ngcontent-%COMP%]{list-style-type:none;margin:0;padding:0;overflow:hidden}.pagination[_ngcontent-%COMP%] > li[_ngcontent-%COMP%] > a[_ngcontent-%COMP%]{min-width:31px;min-height:31px;border:none;background:#ffffff;border-radius:50%;margin-left:4px;margin-right:4px;font-weight:600;color:#1D1D1D}.pagination[_ngcontent-%COMP%] > li.lvemanager-active[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{background:#2b98f0;color:#ffffff}.pagination[_ngcontent-%COMP%] > li.lvemanager-active[_ngcontent-%COMP%] a[_ngcontent-%COMP%]:hover{background:#2C7DD3;cursor:pointer}.pagination[_ngcontent-%COMP%] > li.lvemanager-previous-page[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{background:url("data:image/svg+xml;charset=utf-8,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2214%22%20height%3D%2213%22%20viewBox%3D%220%200%2014%2013%22%3E%0A%20%20%20%20%3Cg%20fill%3D%22%23DEE1EC%22%20fill-rule%3D%22nonzero%22%3E%0A%20%20%20%20%20%20%20%20%3Cpath%20d%3D%22M13.705%202.115l-4.58%204.59%204.58%204.59-1.41%201.41-6-6%206-6z%22%2F%3E%0A%20%20%20%20%20%20%20%20%3Cpath%20d%3D%22M7.705%202.115l-4.58%204.59%204.58%204.59-1.41%201.41-6-6%206-6z%22%2F%3E%0A%20%20%20%20%3C%2Fg%3E%0A%3C%2Fsvg%3E%0A") no-repeat;background-size:50%;background-position:center}.pagination[_ngcontent-%COMP%] > li.lvemanager-next-page[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{background:url("data:image/svg+xml;charset=utf-8,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2214%22%20height%3D%2213%22%20viewBox%3D%220%200%2014%2013%22%3E%0A%20%20%20%20%3Cg%20fill%3D%22%23DEE1EC%22%20fill-rule%3D%22nonzero%22%3E%0A%20%20%20%20%20%20%20%20%3Cpath%20d%3D%22M.295%202.115l4.58%204.59-4.58%204.59%201.41%201.41%206-6-6-6z%22%2F%3E%0A%20%20%20%20%20%20%20%20%3Cpath%20d%3D%22M6.295%202.115l4.58%204.59-4.58%204.59%201.41%201.41%206-6-6-6z%22%2F%3E%0A%20%20%20%20%3C%2Fg%3E%0A%3C%2Fsvg%3E%0A") no-repeat;background-size:50%;background-position:center}.pagination[_ngcontent-%COMP%] > li.lvemanager-no-page[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{font-size:0;background:url(\'src/assets/images/oval.svg\') repeat-x;background-position:center;background-size:28%}.pagination[_ngcontent-%COMP%] > li[_ngcontent-%COMP%] > a[_ngcontent-%COMP%]:hover, .pagination[_ngcontent-%COMP%] > li.lvemanager-previous-page[_ngcontent-%COMP%] a[_ngcontent-%COMP%]:hover, .pagination[_ngcontent-%COMP%] > li.lvemanager-next-page[_ngcontent-%COMP%] a[_ngcontent-%COMP%]:hover{background-color:#F6F6F6;transition:all .5s;cursor:pointer}.pagination[_ngcontent-%COMP%] > li.lvemanager-no-page[_ngcontent-%COMP%] a[_ngcontent-%COMP%]:hover{cursor:not-allowed}.pagination[_ngcontent-%COMP%] > li[_ngcontent-%COMP%] span.pagination-control[_ngcontent-%COMP%]{display:flex;justify-content:center}.pagination_nav[_ngcontent-%COMP%]{display:flex;align-items:center}.pagination_nav[_ngcontent-%COMP%] .pagination[_ngcontent-%COMP%]{display:flex;overflow:unset !important}.pagination_nav[_ngcontent-%COMP%] .lvemanager-page-sizer[_ngcontent-%COMP%]{font-style:normal;font-weight:600;font-size:13px;line-height:18px;color:#1D1D1D;margin:0 10px}.pagination_nav[_ngcontent-%COMP%] .lvemanager-page-sizer__toggle[_ngcontent-%COMP%]{white-space:nowrap}.pagination_nav[_ngcontent-%COMP%] .lvemanager-page-sizer[_ngcontent-%COMP%] .dropdown__item[_ngcontent-%COMP%]{padding-left:40px;line-height:35px}.pagination_nav[_ngcontent-%COMP%] .lvemanager-line-divider[_ngcontent-%COMP%]{display:flex;border:1px solid #DEE1EC;height:40px;margin:0 10px}']});const C=i.\u0275\u0275getInheritedFactory(b)},420:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.AdviceDetailsComponent=void 0;const a=n(3),i=(n(0),n(65)),o=(n(22),n(89),n(289)),r=n(421),s=(n(124),n(0)),l=n(89),c=n(22),d=n(65),p=n(124),u=n(1),g=n(562),m=n(164),f=n(422),v=n(53),h=n(563),_=n(291),b=n(292);function C(e,t){if(1&e&&(s.\u0275\u0275elementStart(0,"div",21),s.\u0275\u0275elementStart(1,"h2",22),s.\u0275\u0275text(2,"How to fix?"),s.\u0275\u0275elementEnd(),s.\u0275\u0275elementStart(3,"p",23),s.\u0275\u0275pipe(4,"linebreak"),s.\u0275\u0275pipe(5,"linkify"),s.\u0275\u0275text(6),s.\u0275\u0275elementEnd(),s.\u0275\u0275elementEnd()),2&e){const e=s.\u0275\u0275nextContext().$implicit;s.\u0275\u0275advance(3),s.\u0275\u0275property("innerHTML",s.\u0275\u0275pipeBind1(4,2,s.\u0275\u0275pipeBind1(5,4,e.fix_tip)),s.\u0275\u0275sanitizeHtml),s.\u0275\u0275advance(3),s.\u0275\u0275textInterpolate1(" ",e.fix_tip," ")}}function w(e,t){if(1&e&&(s.\u0275\u0275elementStart(0,"div",17),s.\u0275\u0275elementStart(1,"p",18),s.\u0275\u0275text(2),s.\u0275\u0275elementEnd(),s.\u0275\u0275element(3,"p",19),s.\u0275\u0275pipe(4,"linebreak"),s.\u0275\u0275pipe(5,"linkify"),s.\u0275\u0275template(6,C,7,6,"div",20),s.\u0275\u0275elementEnd()),2&e){const e=t.$implicit;s.\u0275\u0275advance(2),s.\u0275\u0275textInterpolate(e.header?e.header:"Issue"),s.\u0275\u0275advance(1),s.\u0275\u0275property("innerHTML",s.\u0275\u0275pipeBind1(4,3,s.\u0275\u0275pipeBind1(5,5,e.description)),s.\u0275\u0275sanitizeHtml),s.\u0275\u0275advance(3),s.\u0275\u0275property("ngIf",e.fix_tip)}}function x(e,t){if(1&e&&(s.\u0275\u0275elementStart(0,"div",15),s.\u0275\u0275elementStart(1,"h3"),s.\u0275\u0275text(2),s.\u0275\u0275pipe(3,"translate"),s.\u0275\u0275elementEnd(),s.\u0275\u0275template(4,w,7,7,"div",16),s.\u0275\u0275elementEnd()),2&e){const e=s.\u0275\u0275nextContext().$implicit;s.\u0275\u0275advance(2),s.\u0275\u0275textInterpolate(s.\u0275\u0275pipeBind1(3,2,"SMART_ADVICE.rollback_title")),s.\u0275\u0275advance(2),s.\u0275\u0275property("ngForOf",e.postIssues)}}function M(e,t){if(1&e&&(s.\u0275\u0275elementStart(0,"div",21),s.\u0275\u0275elementStart(1,"h2",22),s.\u0275\u0275text(2,"How to fix?"),s.\u0275\u0275elementEnd(),s.\u0275\u0275elementStart(3,"p",23),s.\u0275\u0275pipe(4,"linebreak"),s.\u0275\u0275pipe(5,"linkify"),s.\u0275\u0275text(6),s.\u0275\u0275elementEnd(),s.\u0275\u0275elementEnd()),2&e){const e=s.\u0275\u0275nextContext().$implicit;s.\u0275\u0275advance(3),s.\u0275\u0275property("innerHTML",s.\u0275\u0275pipeBind1(4,2,s.\u0275\u0275pipeBind1(5,4,e.fix_tip)),s.\u0275\u0275sanitizeHtml),s.\u0275\u0275advance(3),s.\u0275\u0275textInterpolate1(" ",e.fix_tip," ")}}function y(e,t){if(1&e&&(s.\u0275\u0275elementStart(0,"div",17),s.\u0275\u0275elementStart(1,"p",18),s.\u0275\u0275text(2),s.\u0275\u0275elementEnd(),s.\u0275\u0275element(3,"p",19),s.\u0275\u0275pipe(4,"linebreak"),s.\u0275\u0275pipe(5,"linkify"),s.\u0275\u0275template(6,M,7,6,"div",20),s.\u0275\u0275elementEnd()),2&e){const e=t.$implicit;s.\u0275\u0275advance(2),s.\u0275\u0275textInterpolate(e.header?e.header:"Issue"),s.\u0275\u0275advance(1),s.\u0275\u0275property("innerHTML",s.\u0275\u0275pipeBind1(4,3,s.\u0275\u0275pipeBind1(5,5,e.description)),s.\u0275\u0275sanitizeHtml),s.\u0275\u0275advance(3),s.\u0275\u0275property("ngIf",e.fix_tip)}}function P(e,t){if(1&e&&(s.\u0275\u0275elementStart(0,"div",15),s.\u0275\u0275elementStart(1,"h3"),s.\u0275\u0275text(2),s.\u0275\u0275pipe(3,"translate"),s.\u0275\u0275elementEnd(),s.\u0275\u0275template(4,y,7,7,"div",16),s.\u0275\u0275elementEnd()),2&e){const e=s.\u0275\u0275nextContext().$implicit;s.\u0275\u0275advance(2),s.\u0275\u0275textInterpolate(s.\u0275\u0275pipeBind1(3,2,"SMART_ADVICE.rollback_title")),s.\u0275\u0275advance(2),s.\u0275\u0275property("ngForOf",e.issues)}}function O(e,t){if(1&e&&(s.\u0275\u0275elementContainerStart(0),s.\u0275\u0275elementStart(1,"a",28),s.\u0275\u0275text(2),s.\u0275\u0275elementEnd(),s.\u0275\u0275elementContainerEnd()),2&e){const e=t.$implicit;s.\u0275\u0275advance(1),s.\u0275\u0275property("href",e.url,s.\u0275\u0275sanitizeUrl),s.\u0275\u0275advance(1),s.\u0275\u0275textInterpolate(e.url)}}const S=function(e){return{pages:e}};function A(e,t){if(1&e&&(s.\u0275\u0275elementStart(0,"div",24),s.\u0275\u0275elementStart(1,"h3"),s.\u0275\u0275elementStart(2,"span"),s.\u0275\u0275text(3),s.\u0275\u0275elementStart(4,"i",25),s.\u0275\u0275text(5,"help_outline"),s.\u0275\u0275elementEnd(),s.\u0275\u0275elementEnd(),s.\u0275\u0275element(6,"smart-advice-status",26),s.\u0275\u0275elementEnd(),s.\u0275\u0275elementStart(7,"p"),s.\u0275\u0275text(8),s.\u0275\u0275elementEnd(),s.\u0275\u0275elementEnd(),s.\u0275\u0275elementStart(9,"div",27),s.\u0275\u0275elementStart(10,"h3"),s.\u0275\u0275text(11),s.\u0275\u0275pipe(12,"translate"),s.\u0275\u0275elementEnd(),s.\u0275\u0275template(13,O,3,2,"ng-container",4),s.\u0275\u0275elementEnd()),2&e){const e=s.\u0275\u0275nextContext().$implicit;s.\u0275\u0275advance(3),s.\u0275\u0275textInterpolate(e.details.advice.description),s.\u0275\u0275advance(3),s.\u0275\u0275property("status",e.status),s.\u0275\u0275advance(2),s.\u0275\u0275textInterpolate(e.details.advice.detailed_description),s.\u0275\u0275advance(3),s.\u0275\u0275textInterpolate(s.\u0275\u0275pipeBind2(12,5,"AWP.pages_expecting_speedup",s.\u0275\u0275pureFunction1(8,S,e.details.advice.requests.length))),s.\u0275\u0275advance(2),s.\u0275\u0275property("ngForOf",e.details.advice.requests)}}function E(e,t){if(1&e){const e=s.\u0275\u0275getCurrentView();s.\u0275\u0275elementStart(0,"ui-button",29),s.\u0275\u0275listener("clickAction",(function(t){s.\u0275\u0275restoreView(e);const n=s.\u0275\u0275nextContext().$implicit;return s.\u0275\u0275nextContext().onUpgradeToApply(t,n)})),s.\u0275\u0275text(1),s.\u0275\u0275pipe(2,"translate"),s.\u0275\u0275elementEnd()}if(2&e){const e=s.\u0275\u0275nextContext().$implicit,t=s.\u0275\u0275nextContext();s.\u0275\u0275styleMap("primary"),s.\u0275\u0275property("upper",!1)("disabled",t.windowOpened)("customClass","awp-upgrade-subscription-button"),s.\u0275\u0275advance(1),s.\u0275\u0275textInterpolate(s.\u0275\u0275pipeBind1(2,6,e.details.advice.upgrade_to_apply_button_text?e.details.advice.upgrade_to_apply_button_text:"SMART_ADVICE.upgrade_to_apply_advice"))}}function k(e,t){if(1&e){const e=s.\u0275\u0275getCurrentView();s.\u0275\u0275elementStart(0,"div",30),s.\u0275\u0275elementStart(1,"ui-checkbox",31),s.\u0275\u0275listener("ngModelChange",(function(t){s.\u0275\u0275restoreView(e);return s.\u0275\u0275nextContext(2).agreementAccepted=t})),s.\u0275\u0275elementEnd(),s.\u0275\u0275elementStart(2,"div",32),s.\u0275\u0275text(3),s.\u0275\u0275pipe(4,"translate"),s.\u0275\u0275elementStart(5,"span",33),s.\u0275\u0275listener("click",(function(){s.\u0275\u0275restoreView(e);return s.\u0275\u0275nextContext(2).openTermOfConditionsModal()})),s.\u0275\u0275text(6),s.\u0275\u0275pipe(7,"translate"),s.\u0275\u0275elementEnd(),s.\u0275\u0275elementEnd(),s.\u0275\u0275elementEnd()}if(2&e){const e=s.\u0275\u0275nextContext(2);s.\u0275\u0275advance(1),s.\u0275\u0275property("ngModel",e.agreementAccepted),s.\u0275\u0275advance(2),s.\u0275\u0275textInterpolate1(" ",s.\u0275\u0275pipeBind1(4,3,"AWP.i_have_read_and_agree_with"),"\xa0"),s.\u0275\u0275advance(3),s.\u0275\u0275textInterpolate(s.\u0275\u0275pipeBind1(7,5,"AWP.terms_and_conditions"))}}function I(e,t){if(1&e&&(s.\u0275\u0275element(0,"smart-advice-action",34),s.\u0275\u0275pipe(1,"translate")),2&e){const e=s.\u0275\u0275nextContext().$implicit,t=s.\u0275\u0275nextContext();s.\u0275\u0275property("inModalView",!0)("advice",e)("withAgreement",t.agreementAccepted)("disabled",t.isDisabledActions(e))("actionButtonText",s.\u0275\u0275pipeBind1(1,5,e.details.advice.apply_advice_button_text?e.details.advice.apply_advice_button_text:"SMART_ADVICE.apply_advice"))}}function D(e,t){if(1&e&&(s.\u0275\u0275elementContainerStart(0),s.\u0275\u0275elementStart(1,"mat-dialog-content",5),s.\u0275\u0275elementStart(2,"div",6),s.\u0275\u0275elementContainer(3,7),s.\u0275\u0275template(4,x,5,4,"ng-template",null,8,s.\u0275\u0275templateRefExtractor),s.\u0275\u0275template(6,P,5,4,"ng-template",null,9,s.\u0275\u0275templateRefExtractor),s.\u0275\u0275template(8,A,14,10,"ng-template",null,10,s.\u0275\u0275templateRefExtractor),s.\u0275\u0275elementStart(10,"div",11),s.\u0275\u0275template(11,E,3,8,"ui-button",12),s.\u0275\u0275template(12,k,8,7,"div",13),s.\u0275\u0275template(13,I,2,7,"smart-advice-action",14),s.\u0275\u0275elementEnd(),s.\u0275\u0275elementEnd(),s.\u0275\u0275elementEnd(),s.\u0275\u0275elementContainerEnd()),2&e){const e=t.$implicit,n=s.\u0275\u0275reference(5),a=s.\u0275\u0275reference(7),i=s.\u0275\u0275reference(9),o=s.\u0275\u0275nextContext();s.\u0275\u0275advance(3),s.\u0275\u0275property("ngTemplateOutlet",e.postIssues?n:e.issues?a:i),s.\u0275\u0275advance(8),s.\u0275\u0275property("ngIf",o.awpRepo.paymentRequired(e.relatedFeature)),s.\u0275\u0275advance(1),s.\u0275\u0275property("ngIf",o.awpRepo.agreementRequired(e.type)),s.\u0275\u0275advance(1),s.\u0275\u0275property("ngIf",!o.awpRepo.paymentRequired(e.relatedFeature))}}class T{constructor(e,t,n,a,i){this.data=e,this.awpRepo=t,this.translateService=n,this.dialog=a,this.analytics=i,this.windowOpened=!1,this.billingUrl=this.awpRepo.upgradeUrlSubject$.value,this.agreementAccepted=!1,this.adviceItems=e;for(let t in this.adviceItems)this.adviceItems[t].issues=this.translateIssues(e[t].issues),this.adviceItems[t].postIssues=this.translateIssues(e[t].postIssues)}onPayout(e){return a.__awaiter(this,void 0,void 0,(function*(){this.selectedAdvice&&"PAYMENT_SUCCESS"===e.data&&(this.awpRepo.billingRequestSubject$.next({"advice-id":this.selectedAdvice.id,feature:this.relatedAwpFeature,listen:""}),yield this.awpRepo.subscriptionListen(),this.billingWindow&&this.billingWindow.close(),this.openPaymentPendingModal(),this.analyticsEventPurchaseDone().then())}))}openPaymentPendingModal(){this.dialog.open(o.AwpPaymentProcessingComponent,{panelClass:"lvemanager-awp-payment-processing-modal-panel",data:{header:this.translateService.instant("AWP.awp_feature_modal_title"),website:this.selectedAdvice.website,title:this.translateService.instant("AWP.payment_pending"),description:this.translateService.instant("AWP.payment_pending_explanation")}})}onUpgradeToApply(e,t){this.relatedAwpFeature=t.relatedFeature,this.selectedAdvice=t,this.billingUrl[this.relatedAwpFeature]?this.upgradeViaUrl(e):this.upgradeWithoutUrl(),this.analyticsEventUpgradeButtonClicked().then()}upgradeViaUrl(e){if(this.windowOpened)return;this.billingWindow=window.open(this.billingUrl[this.relatedAwpFeature],"","toolbar=0,status=0,width=1100,height=640"),this.windowOpened=!0;const t=setInterval((()=>{this.billingWindow.closed&&(this.windowOpened=!1,clearInterval(t))}).bind(this),500);e.preventDefault()}upgradeWithoutUrl(){this.dialog.open(o.AwpPaymentProcessingComponent,{panelClass:"lvemanager-awp-payment-processing-modal-panel",data:{header:this.translateService.instant("AWP.contact_administrator_header"),website:this.selectedAdvice.website,title:this.translateService.instant("AWP.contact_administrator_title"),description:this.translateService.instant("AWP.contact_administrator_description")}})}analyticsEventUpgradeButtonClicked(){return a.__awaiter(this,void 0,void 0,(function*(){this.selectedAdvice.id&&(yield this.analytics.sendEventForAdvice(this.selectedAdvice.id,"awp_purchase_button_clicked"))}))}analyticsEventPurchaseDone(){return a.__awaiter(this,void 0,void 0,(function*(){this.selectedAdvice.id&&(yield this.analytics.sendEventForAdvice(this.selectedAdvice.id,"awp_purchase_done"))}))}translateIssues(e){if(e)return e.map((e=>(e.description=this.translateService.instant(e.description,e.context),e.fix_tip=this.translateService.instant(e.fix_tip,e.context),e)))}openTermOfConditionsModal(){return a.__awaiter(this,void 0,void 0,(function*(){yield this.awpRepo.cdnAgreementText(),this.dialog.open(r.AwpAgreementComponent,{panelClass:"lvemanager-awp-terms-of-conditions-modal-panel"}).afterClosed().subscribe((e=>{this.agreementAccepted=e}))}))}isDisabledActions(e){return this.awpRepo.paymentPending(e.relatedFeature)||this.awpRepo.agreementRequired(e.type)&&!this.agreementAccepted}}t.AdviceDetailsComponent=T,T.\u0275fac=function(e){return new(e||T)(s.\u0275\u0275directiveInject(i.MAT_DIALOG_DATA),s.\u0275\u0275directiveInject(l.AwpRepo),s.\u0275\u0275directiveInject(c.TranslateService),s.\u0275\u0275directiveInject(d.MatDialog),s.\u0275\u0275directiveInject(p.Analytics))},T.\u0275cmp=s.\u0275\u0275defineComponent({type:T,selectors:[["advice-details"]],hostBindings:function(e,t){1&e&&s.\u0275\u0275listener("message",(function(e){return t.onPayout(e)}),!1,s.\u0275\u0275resolveWindow)},decls:9,vars:5,consts:[["mat-dialog-title","",1,"lvemanager-advice-details__header"],[1,"lvemanager-advice-details__header--title"],["mat-dialog-close","",1,"material-icons","lvemanager-advice-details__header--close-dialog-button"],[1,"lvemanager-advice-details__header--website"],[4,"ngFor","ngForOf"],[1,"lvemanager-mat-typography"],[1,"lvemanager-advice-details__body"],[3,"ngTemplateOutlet"],["postIssues",""],["issues",""],["detailedDescription",""],[1,"lvemanager-advice-details__actions"],[3,"style","upper","disabled","customClass","clickAction",4,"ngIf"],["class","lvemanager-awp-agreement",4,"ngIf"],[3,"inModalView","advice","withAgreement","disabled","actionButtonText",4,"ngIf"],[1,"lvemanager-advice-details__body--issues"],["class","lvemanager-advice-details__body--issue-item",4,"ngFor","ngForOf"],[1,"lvemanager-advice-details__body--issue-item"],[1,"lvemanager-issue-number"],[1,"lvemanager-issue-description",3,"innerHTML"],["class","lvemanager-issue-fix-tip",4,"ngIf"],[1,"lvemanager-issue-fix-tip"],[1,"lvemanager-issue-fix-tip-title"],[1,"lvemanager-issue-fix-tip-description",3,"innerHTML"],[1,"lvemanager-advice-details__body--description"],[1,"material-icons"],[3,"status"],[1,"lvemanager-advice-details__body--pages"],["target","_blank",3,"href"],[3,"upper","disabled","customClass","clickAction"],[1,"lvemanager-awp-agreement"],["id","awp-agreement",1,"lvemanager-awp-agreement__checkbox",3,"ngModel","ngModelChange"],[1,"lvemanager-awp-agreement__label"],[3,"click"],[3,"inModalView","advice","withAgreement","disabled","actionButtonText"]],template:function(e,t){1&e&&(s.\u0275\u0275elementStart(0,"h2",0),s.\u0275\u0275elementStart(1,"div",1),s.\u0275\u0275text(2),s.\u0275\u0275pipe(3,"translate"),s.\u0275\u0275elementEnd(),s.\u0275\u0275elementStart(4,"i",2),s.\u0275\u0275text(5,"close"),s.\u0275\u0275elementEnd(),s.\u0275\u0275elementEnd(),s.\u0275\u0275elementStart(6,"span",3),s.\u0275\u0275text(7),s.\u0275\u0275elementEnd(),s.\u0275\u0275template(8,D,14,4,"ng-container",4)),2&e&&(s.\u0275\u0275advance(2),s.\u0275\u0275textInterpolate(s.\u0275\u0275pipeBind1(3,3,"AWP.advice")),s.\u0275\u0275advance(5),s.\u0275\u0275textInterpolate(t.adviceItems[0].website),s.\u0275\u0275advance(1),s.\u0275\u0275property("ngForOf",t.adviceItems))},directives:[d.MatDialogTitle,d.MatDialogClose,u.NgForOf,d.MatDialogContent,u.NgTemplateOutlet,u.NgIf,g.AdviceStatusComponent,m.UiButton,f.UiCheckbox,v.NgControlStatus,v.NgModel,h.AdviceActionComponent],pipes:[c.TranslatePipe,_.Linebreak,b.LinkifyPipe],styles:['.lvemanager-advice-details[_ngcontent-%COMP%]{display:flex;flex-direction:column}.lvemanager-advice-details__header[_ngcontent-%COMP%]{position:relative}.lvemanager-advice-details__header--title[_ngcontent-%COMP%]{display:flex;align-items:center;font-family:"Noto Sans","Open Sans",sans-serif;font-style:normal;font-weight:bold;font-size:20px;line-height:27px;color:#2B2B2B}.lvemanager-advice-details__header--title[_ngcontent-%COMP%] .lvemanager-is-premium-label[_ngcontent-%COMP%]{display:inline-flex;align-items:center;margin-left:10px;height:20px;padding:0px 5px 0px 20px;border-radius:2px;font-weight:700;font-size:9px;background-color:#FFAA5B;color:#FFFFFF;background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg%20width%3D%2210%22%20height%3D%228%22%20viewBox%3D%220%200%2010%208%22%20fill%3D%22none%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%0A%20%20%20%20%3Cpath%20d%3D%22M1.5%206L0.5%200.5L3.25%203L5%200L6.75%203L9.5%200.5L8.5%206H1.5ZM8.5%207.5C8.5%207.8%208.3%208%208%208H2C1.7%208%201.5%207.8%201.5%207.5V7H8.5V7.5Z%22%20fill%3D%22white%22%2F%3E%0A%3C%2Fsvg%3E%0A");background-repeat:no-repeat;background-position:5px center}.lvemanager-advice-details__header--close-dialog-button[_ngcontent-%COMP%]{width:16px;height:16px;color:#AFAFAF;position:absolute;top:0;right:0;font-weight:400;cursor:pointer}.lvemanager-advice-details__header--premium-warning[_ngcontent-%COMP%]{display:flex;align-items:center;padding:14px 20px;background:#FFF6D8;border:1px solid #FFB84E;border-radius:4px;font-size:13px;line-height:18px;margin:15px 0}.lvemanager-advice-details__header--premium-warning[_ngcontent-%COMP%] b[_ngcontent-%COMP%]{font-weight:700;display:inline-flex}.lvemanager-advice-details__header--premium-warning[_ngcontent-%COMP%] .material-icons[_ngcontent-%COMP%]{color:#FFB800;display:flex;margin-right:12px}.lvemanager-advice-details__header--website[_ngcontent-%COMP%]{display:flex;margin-bottom:14px;font-family:"Open Sans",sans-serif;font-style:normal;font-weight:normal;font-size:11px;line-height:15px;color:#1d1d1d}.lvemanager-advice-details__body[_ngcontent-%COMP%]{display:flex;flex-direction:column;padding:15px 20px;border:1px solid #E0E2E6;border-radius:3px;background:#f4f5f7;margin:10px 0}.lvemanager-advice-details__body--description[_ngcontent-%COMP%] h3[_ngcontent-%COMP%]{font-family:\'Open Sans\',sans-serif;font-weight:600;font-size:16px;line-height:22px;color:black;margin-bottom:17px;display:flex;align-items:center;justify-content:space-between}.lvemanager-advice-details__body--description[_ngcontent-%COMP%] h3[_ngcontent-%COMP%] .material-icons[_ngcontent-%COMP%]{margin-left:10px}.lvemanager-advice-details__body--description[_ngcontent-%COMP%] h3[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{display:inline-flex;align-items:center}.lvemanager-advice-details__body--description[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{font-size:12px;line-height:16px;color:black;margin-bottom:13px}.lvemanager-advice-details__body--pages[_ngcontent-%COMP%]{display:flex;flex-direction:column}.lvemanager-advice-details__body--pages[_ngcontent-%COMP%] h3[_ngcontent-%COMP%]{font-weight:bold;font-size:12px;line-height:25px}.lvemanager-advice-details__body--pages[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{font-size:12px;line-height:21px;text-decoration:underline;color:black;line-break:anywhere;outline:unset}.lvemanager-advice-details__body--issue-item[_ngcontent-%COMP%]{background:#F8F1F1;border:1px solid #FE5151;box-sizing:border-box;border-radius:4px;padding:20px;margin-bottom:10px}.lvemanager-advice-details__body--issue-item[_ngcontent-%COMP%] .lvemanager-issue-number[_ngcontent-%COMP%]{font-style:normal;font-weight:bold;font-size:14px;line-height:19px;color:#FE5151}.lvemanager-advice-details__body--issue-item[_ngcontent-%COMP%] .lvemanager-issue-description[_ngcontent-%COMP%], .lvemanager-advice-details__body--issue-item[_ngcontent-%COMP%] .lvemanager-issue-fix-tip-description[_ngcontent-%COMP%]{margin-top:5px;font-style:normal;font-weight:normal;font-size:13px;line-height:17px}.lvemanager-advice-details__body--issue-item[_ngcontent-%COMP%] .lvemanager-issue-description[_ngcontent-%COMP%] a, .lvemanager-advice-details__body--issue-item[_ngcontent-%COMP%] .lvemanager-issue-fix-tip-description[_ngcontent-%COMP%] a{outline:none;border:none;text-decoration:none;color:#2B98F0}.lvemanager-advice-details__body--issue-item[_ngcontent-%COMP%] .lvemanager-issue-fix-tip-title[_ngcontent-%COMP%]{margin-top:25px;font-style:normal;font-weight:bold;font-size:14px;line-height:19px;color:#0B0B0B}.lvemanager-advice-details__body--issues[_ngcontent-%COMP%] h3[_ngcontent-%COMP%]{font-weight:600;font-size:16px;line-height:22px;color:black;margin-bottom:17px;display:flex;align-items:center}.lvemanager-advice-details__body[_ngcontent-%COMP%] .lvemanager-awp-agreement[_ngcontent-%COMP%]{display:flex;align-items:center;font-family:\'Open Sans\',sans-serif;font-style:normal;font-weight:400;font-size:14px;line-height:19px;color:#000000;padding:20px 0}.lvemanager-advice-details__body[_ngcontent-%COMP%] .lvemanager-awp-agreement__checkbox[_ngcontent-%COMP%] label{display:flex}.lvemanager-advice-details__body[_ngcontent-%COMP%] .lvemanager-awp-agreement__label[_ngcontent-%COMP%]{display:flex;align-items:center;margin-left:6px}.lvemanager-advice-details__body[_ngcontent-%COMP%] .lvemanager-awp-agreement__label[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{color:blue;cursor:pointer}.lvemanager-advice-details__actions[_ngcontent-%COMP%]{margin-top:10px}.lvemanager-advice-details__actions--apply-button[_ngcontent-%COMP%] button{text-transform:unset !important}.lvemanager-advice-details__actions[_ngcontent-%COMP%] .lvemanager-awp-upgrade-subscription-button{color:#fff;background:#2B98F0;padding:0 20px !important;height:40px !important;cursor:pointer}mat-dialog-actions[_ngcontent-%COMP%]{margin-top:30px;margin-bottom:0px} .lvemanager-advice-details-modal-panel .mat-dialog-container{width:654px !important} .mat-dialog-container{max-height:100vh;overflow-y:auto} .mat-dialog-container::-webkit-scrollbar{width:.5em} .mat-dialog-container::-webkit-scrollbar-thumb{background-color:transparent}']})},421:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.AwpAgreementComponent=void 0;const a=n(3),i=(n(0),n(65),n(89),n(0)),o=n(65),r=n(89),s=n(164),l=n(22);class c{constructor(e,t){this.dialogRef=e,this.awpRepo=t}ngOnInit(){return a.__awaiter(this,void 0,void 0,(function*(){this.agreementText=yield this.awpRepo.cdnAgreementText()}))}accept(){this.dialogRef.close(!0)}}t.AwpAgreementComponent=c,c.\u0275fac=function(e){return new(e||c)(i.\u0275\u0275directiveInject(o.MatDialogRef),i.\u0275\u0275directiveInject(r.AwpRepo))},c.\u0275cmp=i.\u0275\u0275defineComponent({type:c,selectors:[["awp-agreement"]],decls:17,vars:16,consts:[[1,"lvemanager-awp-agreement-modal"],["mat-dialog-title","",1,"lvemanager-awp-agreement-modal__header"],[1,"lvemanager-awp-agreement-modal__header--title"],["mat-dialog-close","",1,"material-icons","lvemanager-awp-agreement-modal__header--close-dialog-button"],[1,"lvemanager-mat-typography"],[1,"lvemanager-awp-agreement-modal__body"],[1,"lvemanager-awp-agreement-modal__body--description",3,"innerHTML"],["mat-dialog-close","","translate","",3,"size","upper"],["translate","",1,"lvemanager-awp-accept-agreement-button",3,"size","upper","clickAction"]],template:function(e,t){1&e&&(i.\u0275\u0275elementStart(0,"div",0),i.\u0275\u0275elementStart(1,"div",1),i.\u0275\u0275elementStart(2,"div",2),i.\u0275\u0275text(3),i.\u0275\u0275pipe(4,"translate"),i.\u0275\u0275elementEnd(),i.\u0275\u0275elementStart(5,"i",3),i.\u0275\u0275text(6,"close"),i.\u0275\u0275elementEnd(),i.\u0275\u0275elementEnd(),i.\u0275\u0275elementStart(7,"mat-dialog-content",4),i.\u0275\u0275elementStart(8,"div",5),i.\u0275\u0275element(9,"div",6),i.\u0275\u0275elementEnd(),i.\u0275\u0275elementEnd(),i.\u0275\u0275elementStart(10,"mat-dialog-actions"),i.\u0275\u0275elementStart(11,"ui-button",7),i.\u0275\u0275text(12),i.\u0275\u0275pipe(13,"translate"),i.\u0275\u0275elementEnd(),i.\u0275\u0275elementStart(14,"ui-button",8),i.\u0275\u0275listener("clickAction",(function(){return t.accept()})),i.\u0275\u0275text(15),i.\u0275\u0275pipe(16,"translate"),i.\u0275\u0275elementEnd(),i.\u0275\u0275elementEnd(),i.\u0275\u0275elementEnd()),2&e&&(i.\u0275\u0275advance(3),i.\u0275\u0275textInterpolate(i.\u0275\u0275pipeBind1(4,10,"AWP.please_agree_terms_and_conditions")),i.\u0275\u0275advance(6),i.\u0275\u0275property("innerHTML",t.agreementText,i.\u0275\u0275sanitizeHtml),i.\u0275\u0275advance(2),i.\u0275\u0275styleMap("default"),i.\u0275\u0275property("size","large")("upper",!1),i.\u0275\u0275advance(1),i.\u0275\u0275textInterpolate(i.\u0275\u0275pipeBind1(13,12,"AWP.cancel_button_text")),i.\u0275\u0275advance(2),i.\u0275\u0275property("size","large")("upper",!1),i.\u0275\u0275advance(1),i.\u0275\u0275textInterpolate(i.\u0275\u0275pipeBind1(16,14,"AWP.i_accept_button_text")))},directives:[o.MatDialogTitle,o.MatDialogClose,o.MatDialogContent,o.MatDialogActions,s.UiButton,l.TranslateDirective],pipes:[l.TranslatePipe],styles:[".lvemanager-awp-agreement-modal__header[_ngcontent-%COMP%]{display:flex;flex-direction:column;position:relative;width:100%}.lvemanager-awp-agreement-modal__header--title[_ngcontent-%COMP%]{font-family:'Open Sans',sans-serif;font-style:normal;font-weight:700;font-size:20px;line-height:27px;color:#2B2B2B}.lvemanager-awp-agreement-modal__header--close-dialog-button[_ngcontent-%COMP%]{position:absolute;color:#56565B;right:0;top:0;cursor:pointer;opacity:.8}.lvemanager-awp-agreement-modal__header--close-dialog-button[_ngcontent-%COMP%]:hover{opacity:1}.lvemanager-awp-agreement-modal__body[_ngcontent-%COMP%]{padding:15px 20px;border-radius:3px;border:1px solid #E0E2E6;font-family:'Open Sans',sans-serif;font-style:normal;font-size:12px;line-height:18px;color:#000000}.lvemanager-awp-agreement-modal__body--title[_ngcontent-%COMP%]{font-weight:700}.lvemanager-awp-agreement-modal__body--description[_ngcontent-%COMP%]{font-weight:400}.lvemanager-awp-agreement-modal__body--description[_ngcontent-%COMP%] h3{font-weight:600;font-size:14px;margin-top:15px}.lvemanager-awp-agreement-modal__body--description[_ngcontent-%COMP%] strong{font-weight:600}.lvemanager-awp-agreement-modal__body--description[_ngcontent-%COMP%] ul{list-style-type:square;padding:15px}.lvemanager-awp-agreement-modal[_ngcontent-%COMP%] mat-dialog-actions[_ngcontent-%COMP%]{display:flex;justify-content:flex-end;padding:25px 0}.lvemanager-awp-agreement-modal[_ngcontent-%COMP%] mat-dialog-actions[_ngcontent-%COMP%] .lvemanager-awp-accept-agreement-button[_ngcontent-%COMP%]{margin-left:10px} .lvemanager-awp-terms-of-conditions-modal-panel .mat-dialog-container{width:654px !important;max-height:100vh}"]})},422:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.UiCheckbox=void 0;n(0);const a=n(53),i=n(346),o=(n(22),n(0)),r=n(22),s=n(53);class l extends i.InputAccessor{constructor(e,t){super(t),this.elementRef=e,this.style="",this.labelValue="",this.id=""}prepareValueHook(){}}t.UiCheckbox=l,l.\u0275fac=function(e){return new(e||l)(o.\u0275\u0275directiveInject(o.ElementRef),o.\u0275\u0275directiveInject(r.TranslateService))},l.\u0275cmp=o.\u0275\u0275defineComponent({type:l,selectors:[["ui-checkbox"]],hostVars:1,hostBindings:function(e,t){2&e&&o.\u0275\u0275attribute("id",t.id)},inputs:{style:"style",labelValue:"labelValue",id:"id"},features:[o.\u0275\u0275ProvidersFeature([{provide:a.NG_VALUE_ACCESSOR,useExisting:l,multi:!0}]),o.\u0275\u0275InheritDefinitionFeature],decls:5,vars:13,consts:[["type","checkbox",3,"id","name","disabled","ngModel","ngModelChange"],[3,"for"]],template:function(e,t){1&e&&(o.\u0275\u0275elementStart(0,"input",0),o.\u0275\u0275listener("ngModelChange",(function(e){return t.innerValue=e})),o.\u0275\u0275elementEnd(),o.\u0275\u0275elementStart(1,"label",1),o.\u0275\u0275element(2,"span"),o.\u0275\u0275text(3),o.\u0275\u0275pipe(4,"translate"),o.\u0275\u0275elementEnd()),2&e&&(o.\u0275\u0275classProp("lvemanager-partial-selection",t.style.split(" ").includes("partial-selection")),o.\u0275\u0275property("id",t.id+"_checkbox")("name",t.name)("disabled",t.disabled)("ngModel",t.innerValue),o.\u0275\u0275advance(1),o.\u0275\u0275property("for",t.id+"_checkbox"),o.\u0275\u0275attribute("id",t.id+"_label"),o.\u0275\u0275advance(1),o.\u0275\u0275classProp("lvemanager-overflow-check",t.style.split(" ").includes("overflow-check")),o.\u0275\u0275advance(1),o.\u0275\u0275textInterpolate1(" ",o.\u0275\u0275pipeBind1(4,11,t.labelValue),"\n"))},directives:[s.CheckboxControlValueAccessor,s.NgControlStatus,s.NgModel],pipes:[r.TranslatePipe],styles:[".lvemanager-ui-scroll[_ngcontent-%COMP%]::-webkit-scrollbar{width:12px;height:12px}.lvemanager-ui-scroll[_ngcontent-%COMP%]::-webkit-scrollbar-button{width:0;height:0}.lvemanager-ui-scroll[_ngcontent-%COMP%]::-webkit-scrollbar-thumb{-webkit-border-radius:0;-moz-border-radius:0;border-radius:0;-moz-background-clip:padding;-webkit-background-clip:padding-box;background-clip:padding-box;background:#2b98f0;border:0 none transparent}.lvemanager-ui-scroll[_ngcontent-%COMP%]::-webkit-scrollbar-thumb:hover{background:#2b98f0}.lvemanager-ui-scroll[_ngcontent-%COMP%]::-webkit-scrollbar-thumb:active{background:#2b98f0}.lvemanager-ui-scroll[_ngcontent-%COMP%]::-webkit-scrollbar-track{-webkit-border-radius:0;-moz-border-radius:0;border-radius:0;-moz-background-clip:padding;-webkit-background-clip:padding-box;background-clip:padding-box;background:#ffffff;border:0 none #ffffff}.lvemanager-ui-scroll[_ngcontent-%COMP%]::-webkit-scrollbar-track:hover{background:#ffffff}.lvemanager-ui-scroll[_ngcontent-%COMP%]::-webkit-scrollbar-track:active{background:#ffffff}.lvemanager-ui-scroll[_ngcontent-%COMP%]::-webkit-scrollbar-corner{background:transparent}.lvemanager-clearboth[_ngcontent-%COMP%]{zoom:1}.lvemanager-clearboth[_ngcontent-%COMP%]:before, .lvemanager-clearboth[_ngcontent-%COMP%]:after{content:\"\";display:table}.lvemanager-clearboth[_ngcontent-%COMP%]:after{clear:both}@keyframes spin{from{-webkit-transform:rotate(0deg);-moz-transform:rotate(0deg);-ms-transform:rotate(0deg);-o-transform:rotate(0deg);transform:rotate(0deg)}to{-webkit-transform:rotate(360deg);-moz-transform:rotate(360deg);-ms-transform:rotate(360deg);-o-transform:rotate(360deg);transform:rotate(360deg)}}.lvemanager-close-inline-grey-icon[_ngcontent-%COMP%]{display:inline-block;width:11px;height:11px;background-image:url(\"data:image/svg+xml;charset=utf-8,%3Csvg%20width%3D%2211%22%20height%3D%2210%22%20viewBox%3D%220%200%2011%2010%22%20fill%3D%22none%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%0A%20%20%20%20%3Cpath%20d%3D%22M9.93958%200.530212L1%209.46979%22%20stroke%3D%22%23979797%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%2F%3E%0A%20%20%20%20%3Cpath%20d%3D%22M1%200.530212L9.93958%209.46979%22%20stroke%3D%22%23979797%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%2F%3E%0A%3C%2Fsvg%3E%0A\");background-position:center;background-repeat:no-repeat}.lvemanager-premium-available-icon[_ngcontent-%COMP%]{display:inline-flex;align-items:center;width:22px;height:18px;border-radius:2px;font-weight:700;font-size:12px;background-color:#FFAA5B;color:#FFFFFF;background-image:url(\"data:image/svg+xml;charset=utf-8,%3Csvg%20width%3D%2210%22%20height%3D%228%22%20viewBox%3D%220%200%2010%208%22%20fill%3D%22none%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%0A%20%20%20%20%3Cpath%20d%3D%22M1.5%206L0.5%200.5L3.25%203L5%200L6.75%203L9.5%200.5L8.5%206H1.5ZM8.5%207.5C8.5%207.8%208.3%208%208%208H2C1.7%208%201.5%207.8%201.5%207.5V7H8.5V7.5Z%22%20fill%3D%22white%22%2F%3E%0A%3C%2Fsvg%3E%0A\");background-repeat:no-repeat;background-position:center center}input[_ngcontent-%COMP%]{display:none}input[_ngcontent-%COMP%] + label[_ngcontent-%COMP%]{color:#1d1d1d;font-family:'Noto Sans',sans-serif;font-size:14px;font-weight:300;cursor:pointer}input[_ngcontent-%COMP%] + label[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{display:inline-block;width:17px;height:17px;border:solid 2px #2b98f0;border-radius:2px;background-color:#fff;transition:all .05s;margin:0 4px 0 0;vertical-align:middle;cursor:pointer}input[_ngcontent-%COMP%] + label[_ngcontent-%COMP%] span.lvemanager-overflow-check[_ngcontent-%COMP%]{width:20px;height:19px;background-color:#ffffff;border:solid 1px #e1e1e1}input[_ngcontent-%COMP%] + label[_ngcontent-%COMP%] .lvemanager-userType[_ngcontent-%COMP%]{vertical-align:middle;margin-top:-2px}input[_ngcontent-%COMP%]:checked + label[_ngcontent-%COMP%] span[_ngcontent-%COMP%], input.lvemanager-partial-selection[_ngcontent-%COMP%] + label[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{border-color:#2b98f0}input[_ngcontent-%COMP%]:checked + label[_ngcontent-%COMP%] span.lvemanager-overflow-check[_ngcontent-%COMP%], input.lvemanager-partial-selection[_ngcontent-%COMP%] + label[_ngcontent-%COMP%] span.lvemanager-overflow-check[_ngcontent-%COMP%]{background:#ffffff none}input[_ngcontent-%COMP%]:checked + label[_ngcontent-%COMP%] span.lvemanager-overflow-check[_ngcontent-%COMP%]:after, input.lvemanager-partial-selection[_ngcontent-%COMP%] + label[_ngcontent-%COMP%] span.lvemanager-overflow-check[_ngcontent-%COMP%]:after{content:'';left:2px;height:15px;width:21px;position:absolute;background-size:cover;display:block;background-color:transparent;background-image:url('data:image/svg+xml,%3C?xml%20version%3D%221.0%22%20?%3E%3Csvg%20width%3D%2223px%22%20height%3D%2217px%22%20viewBox%3D%220%200%2023%2017%22%20version%3D%221.1%22%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20xmlns%3Axlink%3D%22http%3A//www.w3.org/1999/xlink%22%3E%3Cg%20id%3D%22Wizzard%22%20stroke%3D%22none%22%20stroke-width%3D%221%22%20fill%3D%22none%22%20fill-rule%3D%22evenodd%22%3E%3Cg%20id%3D%22Wizzard-2%22%20transform%3D%22translate%28-432.000000,%20-620.000000%29%22%20fill%3D%22%232B98F0%22%20stroke%3D%22%232B98F0%22%3E%3Cpath%20d%3D%22M438.454122,621%20C438.404861,621%20438.358337,621.00246%20438.309076,621.009842%20C437.969724,621.051669%20437.67416,621.23128%20437.504484,621.497006%20L433.144906,628.354218%20C432.843868,628.82662%20433.027228,629.426965%20433.552676,629.697612%20C434.078124,629.968259%20434.745881,629.80341%20435.046919,629.331008%20L438.692215,623.593291%20L452.129456,635.710897%20C452.556383,636.094724%20453.24877,636.097184%20453.678433,635.713357%20C454.10536,635.329531%20454.108097,634.707042%20453.68117,634.320755%20L439.280608,621.334618%20L439.22861,621.28787%20C439.02062,621.100878%20438.741476,621%20438.454122,621%20L438.454122,621%20Z%22%20id%3D%22Shape%22%20transform%3D%22translate%28443.500000,%20628.500000%29%20scale%281,%20-1%29%20translate%28-443.500000,%20-628.500000%29%20%22%3E%3C/path%3E%3C/g%3E%3C/g%3E%3C/svg%3E') !important}input[_ngcontent-%COMP%]:checked + label[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{background:url('data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTNweCIgaGVpZ2h0PSIxMHB4IiB2aWV3Qm94PSIwIDAgMTMgMTAiIHZlcnNpb249IjEuMSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB4bWxuczp4bGluaz0iaHR0cDovL3d3dy53My5vcmcvMTk5OS94bGluayI+IDwhLS0gR2VuZXJhdG9yOiBza2V0Y2h0b29sIDQwICgzMzc2MikgLSBodHRwOi8vd3d3LmJvaGVtaWFuY29kaW5nLmNvbS9za2V0Y2ggLS0+IDx0aXRsZT42MzM5MTRDMS00NDYwLTRGQUYtOTc5MC1ENzI0ODUwNkIwQzA8L3RpdGxlPiA8ZGVzYz5DcmVhdGVkIHdpdGggc2tldGNodG9vbC48L2Rlc2M+IDxkZWZzPjwvZGVmcz4gPGcgaWQ9IlBhZ2UtMSIgc3Ryb2tlPSJub25lIiBzdHJva2Utd2lkdGg9IjEiIGZpbGw9Im5vbmUiIGZpbGwtcnVsZT0iZXZlbm9kZCI+IDxnIGlkPSJXaGl0ZS1HcmV5LUJsYWNrLS0tb3Blbi1tZW51IiB0cmFuc2Zvcm09InRyYW5zbGF0ZSgtMjY2LjAwMDAwMCwgLTU5OC4wMDAwMDApIiBmaWxsPSIjRkZGRkZGIj4gPHBvbHlnb24gaWQ9IlNoYXBlIiBwb2ludHM9IjI3MC4wMjk5ODQgNjA1LjcwNTI0MSAyNjcuMDIzNzE3IDYwMi42NjgyOTggMjY2IDYwMy42OTUxNzggMjcwLjAyOTk4NCA2MDcuNzY2Mjg0IDI3OC42ODExMTEgNTk5LjAyNjg4IDI3Ny42NjQ2MDQgNTk4Ij48L3BvbHlnb24+IDwvZz4gPC9nPiA8L3N2Zz4=') no-repeat scroll center center #2b98f0}input.lvemanager-partial-selection[_ngcontent-%COMP%] + label[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{background:url('data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiPz4KPHN2ZyB3aWR0aD0iMTNweCIgaGVpZ2h0PSIycHgiIHZpZXdCb3g9IjAgMCAxMyAyIiB2ZXJzaW9uPSIxLjEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiPgogICAgPCEtLSBHZW5lcmF0b3I6IFNrZXRjaCA1NCAoNzY0ODApIC0gaHR0cHM6Ly9za2V0Y2hhcHAuY29tIC0tPgogICAgPHRpdGxlPmljb25tb25zdHItbWludXMtMjwvdGl0bGU+CiAgICA8ZGVzYz5DcmVhdGVkIHdpdGggU2tldGNoLjwvZGVzYz4KICAgIDxnIGlkPSJQYWdlLTEiIHN0cm9rZT0ibm9uZSIgc3Ryb2tlLXdpZHRoPSIxIiBmaWxsPSJub25lIiBmaWxsLXJ1bGU9ImV2ZW5vZGQiPgogICAgICAgIDxnIGlkPSJpY29ubW9uc3RyLW1pbnVzLTIiIGZpbGw9IiNGRkZGRkYiIGZpbGwtcnVsZT0ibm9uemVybyI+CiAgICAgICAgICAgIDxwb2x5Z29uIGlkPSJQYXRoIiBwb2ludHM9IjAgMCAxMyAwIDEzIDIgMCAyIj48L3BvbHlnb24+CiAgICAgICAgPC9nPgogICAgPC9nPgo8L3N2Zz4=') no-repeat scroll center center #2b98f0}input[disabled][_ngcontent-%COMP%] + label[_ngcontent-%COMP%]{cursor:not-allowed}input[disabled][_ngcontent-%COMP%] + label[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{opacity:.4;cursor:not-allowed}"]})},423:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Message=void 0;t.Message=class{constructor(e,t={}){this.text=e,this.context=t}}},424:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.AwpPostIssuesComponent=void 0;n(0);const a=n(187),i=n(65),o=(n(22),n(0)),r=n(22),s=n(65),l=n(1),c=n(291),d=n(292);function p(e,t){if(1&e&&(o.\u0275\u0275elementStart(0,"div",11),o.\u0275\u0275elementStart(1,"h2",12),o.\u0275\u0275text(2,"How to fix?"),o.\u0275\u0275elementEnd(),o.\u0275\u0275elementStart(3,"p",13),o.\u0275\u0275pipe(4,"linebreak"),o.\u0275\u0275pipe(5,"linkify"),o.\u0275\u0275text(6),o.\u0275\u0275elementEnd(),o.\u0275\u0275elementEnd()),2&e){const e=o.\u0275\u0275nextContext().$implicit;o.\u0275\u0275advance(3),o.\u0275\u0275property("innerHTML",o.\u0275\u0275pipeBind1(4,2,o.\u0275\u0275pipeBind1(5,4,e.fix_tip)),o.\u0275\u0275sanitizeHtml),o.\u0275\u0275advance(3),o.\u0275\u0275textInterpolate1(" ",e.fix_tip," ")}}function u(e,t){if(1&e&&(o.\u0275\u0275elementStart(0,"div",7),o.\u0275\u0275elementStart(1,"p",8),o.\u0275\u0275text(2),o.\u0275\u0275pipe(3,"translate"),o.\u0275\u0275elementEnd(),o.\u0275\u0275element(4,"p",9),o.\u0275\u0275pipe(5,"linebreak"),o.\u0275\u0275pipe(6,"linkify"),o.\u0275\u0275template(7,p,7,6,"div",10),o.\u0275\u0275elementEnd()),2&e){const e=t.$implicit;o.\u0275\u0275advance(2),o.\u0275\u0275textInterpolate(e.header?e.header:o.\u0275\u0275pipeBind1(3,3,"AWP.issue")),o.\u0275\u0275advance(2),o.\u0275\u0275property("innerHTML",o.\u0275\u0275pipeBind1(5,5,o.\u0275\u0275pipeBind1(6,7,e.description)),o.\u0275\u0275sanitizeHtml),o.\u0275\u0275advance(3),o.\u0275\u0275property("ngIf",e.fix_tip)}}function g(e,t){1&e&&(o.\u0275\u0275elementStart(0,"button",14),o.\u0275\u0275text(1,"Close"),o.\u0275\u0275elementEnd())}function m(e,t){1&e&&(o.\u0275\u0275elementStart(0,"button",15),o.\u0275\u0275text(1),o.\u0275\u0275pipe(2,"translate"),o.\u0275\u0275elementEnd(),o.\u0275\u0275elementStart(3,"button",16),o.\u0275\u0275text(4),o.\u0275\u0275pipe(5,"translate"),o.\u0275\u0275elementEnd()),2&e&&(o.\u0275\u0275property("mat-dialog-close",!0),o.\u0275\u0275advance(1),o.\u0275\u0275textInterpolate(o.\u0275\u0275pipeBind1(2,3,"AWP.ignore_errors_button_text")),o.\u0275\u0275advance(3),o.\u0275\u0275textInterpolate(o.\u0275\u0275pipeBind1(5,5,"AWP.leave_disabled_button_text")))}class f{constructor(e,t){this.data=e,this.translateService=t,this.awpIssueType=a.AwpIssueType,this.modalTitle="",this.issues=[],this.modalTitle=e.modalTitle,this.issues=this.translateIssues(e.issues),this.issueType=e.issueType}translateIssues(e){return e.map((e=>(e.description=this.translateService.instant(e.description,e.context),e.fix_tip=this.translateService.instant(e.fix_tip,e.context),e)))}}t.AwpPostIssuesComponent=f,f.\u0275fac=function(e){return new(e||f)(o.\u0275\u0275directiveInject(i.MAT_DIALOG_DATA),o.\u0275\u0275directiveInject(r.TranslateService))},f.\u0275cmp=o.\u0275\u0275defineComponent({type:f,selectors:[["awp-post-issues"]],decls:11,vars:9,consts:[["mat-dialog-title","",1,"lvemanager-awp-issues__title"],[1,"lvemanager-mat-typography"],["class","lvemanager-awp-issues__issue-item",4,"ngFor","ngForOf"],["align","end"],[1,"lvemanager-awp-issues__controls-wrapper"],["mat-dialog-close","","class","lvemanager-close-dialog-btn",4,"ngIf","ngIfElse"],["postCheckControls",""],[1,"lvemanager-awp-issues__issue-item"],[1,"lvemanager-issue-number"],[1,"lvemanager-issue-description",3,"innerHTML"],["class","lvemanager-issue-fix-tip",4,"ngIf"],[1,"lvemanager-issue-fix-tip"],[1,"lvemanager-issue-fix-tip-title"],[1,"lvemanager-issue-fix-tip-description",3,"innerHTML"],["mat-dialog-close","",1,"lvemanager-close-dialog-btn"],[1,"lvemanager-ignore-errors-btn",3,"mat-dialog-close"],["mat-dialog-close","",1,"lvemanager-leave-disabled-btn"]],template:function(e,t){if(1&e&&(o.\u0275\u0275elementStart(0,"h2",0),o.\u0275\u0275text(1),o.\u0275\u0275pipe(2,"translate"),o.\u0275\u0275elementEnd(),o.\u0275\u0275elementStart(3,"mat-dialog-content",1),o.\u0275\u0275elementStart(4,"div"),o.\u0275\u0275template(5,u,8,9,"div",2),o.\u0275\u0275elementEnd(),o.\u0275\u0275elementEnd(),o.\u0275\u0275elementStart(6,"mat-dialog-actions",3),o.\u0275\u0275elementStart(7,"div",4),o.\u0275\u0275template(8,g,2,0,"button",5),o.\u0275\u0275template(9,m,6,7,"ng-template",null,6,o.\u0275\u0275templateRefExtractor),o.\u0275\u0275elementEnd(),o.\u0275\u0275elementEnd()),2&e){const e=o.\u0275\u0275reference(10);o.\u0275\u0275advance(1),o.\u0275\u0275textInterpolate(o.\u0275\u0275pipeBind1(2,7,t.modalTitle)),o.\u0275\u0275advance(3),o.\u0275\u0275classMapInterpolate1("lvemanager-awp-issues lvemanager-awp-modal-type-",t.issueType,""),o.\u0275\u0275advance(1),o.\u0275\u0275property("ngForOf",t.issues),o.\u0275\u0275advance(3),o.\u0275\u0275property("ngIf",t.issueType!==t.awpIssueType.post_check)("ngIfElse",e)}},directives:[s.MatDialogTitle,s.MatDialogContent,l.NgForOf,s.MatDialogActions,l.NgIf,s.MatDialogClose],pipes:[r.TranslatePipe,c.Linebreak,d.LinkifyPipe],styles:['.lvemanager-awp-issues[_ngcontent-%COMP%]{max-width:604px}.lvemanager-awp-issues__title[_ngcontent-%COMP%]{font-family:"Noto Sans",sans-serif;font-style:normal;font-weight:bold;font-size:20px;line-height:27px;color:#1D1D1D;margin-bottom:25px}.lvemanager-awp-issues__issue-item[_ngcontent-%COMP%]{background:#F8F1F1;border:1px solid #FE5151;box-sizing:border-box;border-radius:4px;padding:20px;margin-bottom:10px}.lvemanager-awp-issues__issue-item[_ngcontent-%COMP%] .lvemanager-issue-number[_ngcontent-%COMP%]{font-style:normal;font-weight:bold;font-size:14px;line-height:19px;color:#FE5151}.lvemanager-awp-issues__issue-item[_ngcontent-%COMP%] .lvemanager-issue-description[_ngcontent-%COMP%], .lvemanager-awp-issues__issue-item[_ngcontent-%COMP%] .lvemanager-issue-fix-tip-description[_ngcontent-%COMP%]{margin-top:5px;font-style:normal;font-weight:normal;font-size:13px;line-height:17px}.lvemanager-awp-issues__issue-item[_ngcontent-%COMP%] .lvemanager-issue-description[_ngcontent-%COMP%] a, .lvemanager-awp-issues__issue-item[_ngcontent-%COMP%] .lvemanager-issue-fix-tip-description[_ngcontent-%COMP%] a{outline:none;border:none;text-decoration:none;color:#2B98F0}.lvemanager-awp-issues__issue-item[_ngcontent-%COMP%] .lvemanager-issue-fix-tip-title[_ngcontent-%COMP%]{margin-top:25px;font-style:normal;font-weight:bold;font-size:14px;line-height:19px;color:#0B0B0B}.lvemanager-awp-issues__controls-wrapper[_ngcontent-%COMP%]{display:flex;justify-content:flex-end;margin-top:30px;margin-bottom:15px}.lvemanager-awp-issues__controls-wrapper[_ngcontent-%COMP%] .lvemanager-close-dialog-btn[_ngcontent-%COMP%], .lvemanager-awp-issues__controls-wrapper[_ngcontent-%COMP%] .lvemanager-ignore-errors-btn[_ngcontent-%COMP%]{min-width:77px;height:45px;outline:none;background:#FFFFFF;border:1px solid #DEE1EC;box-sizing:border-box;box-shadow:0 1px 1px #F4F4F3;border-radius:4px;font-weight:600}.lvemanager-awp-issues__controls-wrapper[_ngcontent-%COMP%] .lvemanager-leave-disabled-btn[_ngcontent-%COMP%]{min-width:159px;height:45px;left:425px;top:40px;background:#2B98F0;border-radius:4px;outline:none;border:none;font-weight:600;color:white;margin-left:5px}.lvemanager-awp-issues.lvemanager-awp-modal-type-incompatibility[_ngcontent-%COMP%] .lvemanager-awp-issues__issue-item[_ngcontent-%COMP%]{background:#F8F6F1 !important;border:1px solid #FFB800}.lvemanager-awp-issues.lvemanager-awp-modal-type-incompatibility[_ngcontent-%COMP%] .lvemanager-awp-issues__issue-item[_ngcontent-%COMP%] .lvemanager-issue-number[_ngcontent-%COMP%]{color:#FFB800}']})},426:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.AwpIssuesComponent=void 0;n(0),n(22);const a=n(0),i=n(22),o=n(1),r=n(291),s=n(292);function l(e,t){if(1&e&&(a.\u0275\u0275elementStart(0,"div",6),a.\u0275\u0275elementStart(1,"h2",7),a.\u0275\u0275text(2,"How to fix?"),a.\u0275\u0275elementEnd(),a.\u0275\u0275elementStart(3,"p",8),a.\u0275\u0275pipe(4,"linebreak"),a.\u0275\u0275pipe(5,"linkify"),a.\u0275\u0275text(6),a.\u0275\u0275elementEnd(),a.\u0275\u0275elementEnd()),2&e){const e=a.\u0275\u0275nextContext().$implicit;a.\u0275\u0275advance(3),a.\u0275\u0275property("innerHTML",a.\u0275\u0275pipeBind1(4,2,a.\u0275\u0275pipeBind1(5,4,e.fix_tip)),a.\u0275\u0275sanitizeHtml),a.\u0275\u0275advance(3),a.\u0275\u0275textInterpolate1(" ",e.fix_tip," ")}}function c(e,t){if(1&e&&(a.\u0275\u0275elementStart(0,"div",2),a.\u0275\u0275elementStart(1,"p",3),a.\u0275\u0275text(2),a.\u0275\u0275pipe(3,"translate"),a.\u0275\u0275elementEnd(),a.\u0275\u0275element(4,"p",4),a.\u0275\u0275pipe(5,"linebreak"),a.\u0275\u0275pipe(6,"linkify"),a.\u0275\u0275template(7,l,7,6,"div",5),a.\u0275\u0275elementEnd()),2&e){const e=t.$implicit;a.\u0275\u0275advance(2),a.\u0275\u0275textInterpolate(e.header?e.header:a.\u0275\u0275pipeBind1(3,3,"AWP.issue")),a.\u0275\u0275advance(2),a.\u0275\u0275property("innerHTML",a.\u0275\u0275pipeBind1(5,5,a.\u0275\u0275pipeBind1(6,7,e.description)),a.\u0275\u0275sanitizeHtml),a.\u0275\u0275advance(3),a.\u0275\u0275property("ngIf",e.fix_tip)}}class d{constructor(e){this.translateService=e}ngOnInit(){this.issues=this.translateIssues(this.issues)}translateIssues(e){return e.map((e=>(e.description=this.translateService.instant(e.description,e.context),e.fix_tip=this.translateService.instant(e.fix_tip,e.context),e)))}}t.AwpIssuesComponent=d,d.\u0275fac=function(e){return new(e||d)(a.\u0275\u0275directiveInject(i.TranslateService))},d.\u0275cmp=a.\u0275\u0275defineComponent({type:d,selectors:[["awp-issues"]],inputs:{issues:"issues"},decls:2,vars:1,consts:[[1,"lvemanager-awp-issues","lvemanager-awp-modal-type"],["class","lvemanager-awp-issues__issue-item",4,"ngFor","ngForOf"],[1,"lvemanager-awp-issues__issue-item"],[1,"lvemanager-issue-number"],[1,"lvemanager-issue-description",3,"innerHTML"],["class","lvemanager-issue-fix-tip",4,"ngIf"],[1,"lvemanager-issue-fix-tip"],[1,"lvemanager-issue-fix-tip-title"],[1,"lvemanager-issue-fix-tip-description",3,"innerHTML"]],template:function(e,t){1&e&&(a.\u0275\u0275elementStart(0,"div",0),a.\u0275\u0275template(1,c,8,9,"div",1),a.\u0275\u0275elementEnd()),2&e&&(a.\u0275\u0275advance(1),a.\u0275\u0275property("ngForOf",t.issues))},directives:[o.NgForOf,o.NgIf],pipes:[i.TranslatePipe,r.Linebreak,s.LinkifyPipe],styles:['.lvemanager-awp-issues[_ngcontent-%COMP%]{width:100%}.lvemanager-awp-issues__title[_ngcontent-%COMP%]{font-family:"Noto Sans",sans-serif;font-style:normal;font-weight:bold;font-size:20px;line-height:27px;color:#1D1D1D;margin-bottom:25px}.lvemanager-awp-issues__issue-item[_ngcontent-%COMP%]{background:#F8F1F1;border:1px solid #FE5151;box-sizing:border-box;border-radius:4px;padding:20px;margin-bottom:10px}.lvemanager-awp-issues__issue-item[_ngcontent-%COMP%] .lvemanager-issue-number[_ngcontent-%COMP%]{font-style:normal;font-weight:bold;font-size:14px;line-height:19px;color:#FE5151}.lvemanager-awp-issues__issue-item[_ngcontent-%COMP%] .lvemanager-issue-description[_ngcontent-%COMP%], .lvemanager-awp-issues__issue-item[_ngcontent-%COMP%] .lvemanager-issue-fix-tip-description[_ngcontent-%COMP%]{margin-top:5px;font-style:normal;font-weight:normal;font-size:13px;line-height:17px}.lvemanager-awp-issues__issue-item[_ngcontent-%COMP%] .lvemanager-issue-description[_ngcontent-%COMP%] a, .lvemanager-awp-issues__issue-item[_ngcontent-%COMP%] .lvemanager-issue-fix-tip-description[_ngcontent-%COMP%] a{outline:none;border:none;text-decoration:none;color:#2B98F0}.lvemanager-awp-issues__issue-item[_ngcontent-%COMP%] .lvemanager-issue-fix-tip-title[_ngcontent-%COMP%]{margin-top:25px;font-style:normal;font-weight:bold;font-size:14px;line-height:19px;color:#0B0B0B}.lvemanager-awp-issues__controls-wrapper[_ngcontent-%COMP%]{display:flex;justify-content:flex-end;margin-top:30px;margin-bottom:15px}.lvemanager-awp-issues__controls-wrapper[_ngcontent-%COMP%] .lvemanager-close-dialog-btn[_ngcontent-%COMP%], .lvemanager-awp-issues__controls-wrapper[_ngcontent-%COMP%] .lvemanager-ignore-errors-btn[_ngcontent-%COMP%]{min-width:77px;height:45px;outline:none;background:#FFFFFF;border:1px solid #DEE1EC;box-sizing:border-box;box-shadow:0 1px 1px #F4F4F3;border-radius:4px;font-weight:600}.lvemanager-awp-issues__controls-wrapper[_ngcontent-%COMP%] .lvemanager-leave-disabled-btn[_ngcontent-%COMP%]{min-width:159px;height:45px;left:425px;top:40px;background:#2B98F0;border-radius:4px;outline:none;border:none;font-weight:600;color:white;margin-left:5px}.lvemanager-awp-issues.lvemanager-awp-modal-type-incompatibility[_ngcontent-%COMP%] .lvemanager-awp-issues__issue-item[_ngcontent-%COMP%]{background:#F8F6F1 !important;border:1px solid #FFB800}.lvemanager-awp-issues.lvemanager-awp-modal-type-incompatibility[_ngcontent-%COMP%] .lvemanager-awp-issues__issue-item[_ngcontent-%COMP%] .lvemanager-issue-number[_ngcontent-%COMP%]{color:#FFB800}']})},427:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.CopyTextDirective=void 0;n(0),n(432),n(88);const a=n(0),i=n(432),o=n(88);class r{constructor(e,t,n){this.elementRef=e,this.clipboard=t,this.notifications=n,this.host=this.elementRef.nativeElement}onClick(e){this.selector?(this.copyAll&&!this.isProperElementSelected(this.skipSelector,e)&&this.copyTextContent(this.host),this.isProperElementSelected(this.selector,e)&&this.copyTextContent(e)):this.copyTextContent(this.host)}copyTextContent(e){e&&(this.clipboard.copyFromContent(e.textContent),this.showNotification())}showNotification(){this.notifications.success("","Copied to clipboard")}isProperElementSelected(e,t){if(!e||!t)return;return!!Array.from(this.elementRef.nativeElement.querySelectorAll(e)).find((e=>e.isEqualNode(t)))}}t.CopyTextDirective=r,r.\u0275fac=function(e){return new(e||r)(a.\u0275\u0275directiveInject(a.ElementRef),a.\u0275\u0275directiveInject(i.ClipboardService),a.\u0275\u0275directiveInject(o.ActionNotificationService))},r.\u0275dir=a.\u0275\u0275defineDirective({type:r,selectors:[["","copyText",""]],hostBindings:function(e,t){1&e&&a.\u0275\u0275listener("click",(function(e){return t.onClick(e.target)}))},inputs:{selector:["copyTextSelector","selector"],copyAll:["copyTextAll","copyAll"],skipSelector:["copyTextSkipSelector","skipSelector"]}})},428:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.CodePipe=void 0;n(0);const a=n(0);class i{transform(e){return e?(this.reMap=new Map,this.reMap.set("path",/\s\/\S+/g).set("custom",/\[\[.+\]\]/g).set("command",/"service.+"/g),this.reMap.forEach(((t,n)=>{(e.match(t)||[]).forEach((t=>{if(t=t.trim(),this.isInsideCustom(t,e))return;let a;switch(n){case"custom":a=t.slice(2,-2);break;case"command":a=t.slice(1,-1);break;default:a=t}e=e.replace(t,`<code class="lvemanager-code">${a}</code>`)}))})),e):e}isInsideCustom(e,t){return!!(t.match(this.reMap.get("custom"))||[]).find((t=>t.includes(e)&&t!==e))}}t.CodePipe=i,i.\u0275fac=function(e){return new(e||i)},i.\u0275pipe=a.\u0275\u0275definePipe({name:"code",type:i,pure:!0})},429:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const a=n(3);a.__exportStar(n(588),t),a.__exportStar(n(1367),t)},430:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.CustomOverlayContainer=void 0;const a=n(31),i=(n(0),n(0));class o extends a.OverlayContainer{_createContainer(){const e=document.createElement("div");e.classList.add("lvemanager-overlay-container");const t=document.querySelector("lvemanager");null!==t&&(t.appendChild(e),this._containerElement=e)}}t.CustomOverlayContainer=o,o.\u0275fac=function(e){return r(e||o)},o.\u0275prov=i.\u0275\u0275defineInjectable({token:o,factory:o.\u0275fac});const r=i.\u0275\u0275getInheritedFactory(o)},536:function(e,t){function n(e){return Promise.resolve().then((function(){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}))}n.keys=function(){return[]},n.resolve=n,e.exports=n,n.id=536},537:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Cookie=void 0;class a{static setCookie(e,t,n){let a=(n=n||{}).expires;if("number"==typeof a&&a){let e=new Date;e.setTime(e.getTime()+1e3*a),a=n.expires=e}a&&a.toUTCString&&(n.expires=a.toUTCString());let i=e+"="+(t=encodeURIComponent(t));for(let e in n){i+="; "+e;let t=n[e];!0!==t&&(i+="="+t)}document.cookie=i}static deleteCookie(e){a.setCookie(e,"",{expires:-1})}static getCookie(e){let t=document.cookie.match(new RegExp("(?:^|; )"+e.replace(/([\.$?*|{}\(\)\[\]\\\/\+^])/g,"\\$1")+"=([^;]*)"));return t?decodeURIComponent(t[1]):""}}t.Cookie=a},540:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});n(3).__exportStar(n(1085),t)},541:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.LoaderSelector=void 0;t.LoaderSelector=class{constructor(e,t=!1){this.selector=e,this.showBigLoader=t}}},542:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getErrorObject=t.ServerException=void 0;const a=n(3);class i extends Error{constructor(e){super(e),this.name="ServerException",Object.setPrototypeOf(this,i.prototype)}}t.ServerException=i,t.getErrorObject=function(e){return a.__awaiter(this,void 0,void 0,(function*(){return e.error instanceof Blob?yield(t=e.error,new Promise(((e,n)=>{let a=new FileReader;a.addEventListener("loadend",(function(t){try{e(JSON.parse(a.result))}catch(t){e({code:"502",result:"error",details:a.result})}})),a.readAsText(t)}))):e.error;var t}))}},543:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.SnoozedNotificationMessage=t.NotificationMessage=t.NotificationContainer=t.NotificationType=t.NotificationStatus=void 0,function(e){e.success="success",e.warning="warning",e.error="error",e.info="info"}(t.NotificationStatus||(t.NotificationStatus={}));t.NotificationType=function(e){return e[e.actionNotification=0]="actionNotification",e[e.systemNotification=1]="systemNotification",e}(t.NotificationType||{});!function(e){e.default="default",e.selector="selector",e.dashboard="dashboard",e.governor="governor"}(t.NotificationContainer||(t.NotificationContainer={}));class a{constructor(e,t="",n,a,i={},o=null,r={showReadButton:null}){this.title=e,this.message=t,this.status=n,this.container=a,this.messageParams=i,this.template=o,this.actions=r}isSame(e){return this.title===e.title&&this.message===e.message}}t.NotificationMessage=a;t.SnoozedNotificationMessage=class extends a{constructor(e,t,n){super(e.title,e.message,e.status,e.container),this.startAt=t,this.timeout=n}needToShow(){return this.startAt+this.timeout<=Date.now()}}},552:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.AppModule=t.COMMON_MODULES=void 0;const a=n(0),i=n(73),o=n(411),r=n(553),s=n(1341),l=n(67),c=n(540),d=n(1347),p=n(587),u=n(1350),g=n(1),m=n(1),f=n(214),v=n(89),h=n(287),_=n(412),b=n(560),C=n(350),w=n(418),x=n(1351),M=n(1382),y=n(592),P=n(559),O=n(65),S=n(31),A=n(430),E=n(586),k=n(554),I=n(589),D=n(416),T=n(429),F=n(593),j=n(136),R=n(1384),L=n(580),N=n(578),B=n(579),z=n(289),U=n(421),W=n(336),H=n(546),V=n(80),$=n(50),G=n(53),Z=n(1),q=n(72),J=n(148),Q=n(293),K=n(349),Y=n(188),X=n(79),ee=n(1385),te=n(165),ne=n(124),ae=n(0),ie=n(79),oe=n(188),re=n(72),se=n(148),le=n(165),ce=n(73),de=n(67),pe=n(124);t.COMMON_MODULES=[$.BrowserAnimationsModule,X.LoadingBarModule.forRoot(),G.FormsModule,G.ReactiveFormsModule,V.BrowserModule,Y.BsDropdownModule.forRoot(),K.ComponentModule,ee.ServicesModule,Z.CommonModule,Q.CommonPipes,G.FormsModule,q.HttpClientModule,q.HttpClientXsrfModule.withOptions({cookieName:"csrftoken",headerName:"X-CSRFToken"}),J.TooltipModule.forRoot(),te.CustomTranslateModule.forRoot()];const ue="production",ge=[l.AppState,v.AwpRepo,h.UnavailableService,_.MockService,D.ConfigRepo,j.AdviceRepo,ne.Analytics],me=[/.*please install or reinstall cagefs.*/,/.*CageFS is not initialized. Use "\/usr\/sbin\/cagefsctl --init" to initialize CageFS.*/,/.*%\(what\)s set error for package=%\(package\)s%\(error\)s.*/,/.*%\(what\)s set error for uid=%\(uid\)s%\(error\)s.*/,/.*Server is not running, Use \'service lvestats start\' command to start it.*/,/.*alt-php packages not found.*/,/.*no such script \/usr\/sbin\/cagefsctl.*/,/.*License is not valid.*/,/.*Session expired.*/,/.*PAYMENT_REQUIRED.*/],fe=[/^https:\/\/192\.168\./,/^https:\/\/10\.51\.64\./,/https:\/\/localhost/];class ve{constructor(e,t,n){this.appRef=e,this.appState=t,this.analytics=n,this.defaultOwner=W.OWNER_USER,this.initSentry()}initSentry(){H.init({dsn:"https://48b42f81d43c4fd4b774aaa6aa26b112@cl.sentry.cloudlinux.com/35",release:`cloudlinux-awp-plugin@${pluginVersion||"undefined"}`,defaultIntegrations:!1,integrations:[new H.Integrations.Breadcrumbs,new H.Integrations.TryCatch,new H.Integrations.LinkedErrors],denyUrls:fe,ignoreErrors:me}),H.configureScope((e=>{e.setTag("env",ue),e.setTag("panel",panelName),e.setTag("role","undefined"==typeof userType?this.defaultOwner:userType),e.setTag("locale",currentLanguage),e.setTag("version",pluginVersion)}))}}t.AppModule=ve,ve.\u0275mod=ae.\u0275\u0275defineNgModule({type:ve,bootstrap:[s.AppComponent]}),ve.\u0275inj=ae.\u0275\u0275defineInjector({factory:function(e){return new(e||ve)(ae.\u0275\u0275inject(ae.ApplicationRef),ae.\u0275\u0275inject(de.AppState),ae.\u0275\u0275inject(pe.Analytics))},providers:[o.ENV_PROVIDERS,ge,f.WindowRef,g.\u0275BrowserPlatformLocation,{provide:m.PlatformLocation,useClass:u.IframePlatformLocation},{provide:S.OverlayContainer,useClass:A.CustomOverlayContainer}].concat([{provide:a.ErrorHandler,useClass:d.SentryErrorHandler}]),imports:[[...t.COMMON_MODULES,p.AngularMaterialModules,i.RouterModule.forRoot(r.ROUTES,{useHash:!0,preloadingStrategy:i.PreloadAllModules}),C.MatTableModule,w.MatSortModule,x.UiPaginatorModule,M.UiHttpLoaderModule,y.LoadingBarHttpClientModule,O.MatDialogModule,I.TemplateDirectiveModule,T.CommonDirectivesModule,F.AwpModalContentModule,R.AdviceSharedModule]]}),("undefined"==typeof ngJitMode||ngJitMode)&&ae.\u0275\u0275setNgModuleScope(ve,{declarations:[s.AppComponent,k.AwpMainComponent,b.AwpWebsitesTableComponent,P.AwpLoaderComponent,E.AwpNoAllowedModulesComponent,L.AwpModuleViewerComponent,N.AwpAdviceViewerComponent,B.AwpAdviceAvailabilityPipe,z.AwpPaymentProcessingComponent,U.AwpAgreementComponent,c.UnavailableComponent],imports:[$.BrowserAnimationsModule,ie.LoadingBarModule,G.FormsModule,G.ReactiveFormsModule,V.BrowserModule,oe.BsDropdownModule,K.ComponentModule,ee.ServicesModule,Z.CommonModule,Q.CommonPipes,G.FormsModule,q.HttpClientModule,re.HttpClientXsrfModule,se.TooltipModule,le.CustomTranslateModule,p.AngularMaterialModules,ce.RouterModule,C.MatTableModule,w.MatSortModule,x.UiPaginatorModule,M.UiHttpLoaderModule,y.LoadingBarHttpClientModule,O.MatDialogModule,I.TemplateDirectiveModule,T.CommonDirectivesModule,F.AwpModalContentModule,R.AdviceSharedModule]})},553:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ROUTES=void 0;const a=n(554);t.ROUTES=[{path:"",component:a.AwpMainComponent}]},554:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});n(3).__exportStar(n(1091),t)},557:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.UiFeedbackComponent=void 0;n(0);const a=n(0),i=n(22);class o{constructor(){this.feedbackLinkText=""}}t.UiFeedbackComponent=o,o.\u0275fac=function(e){return new(e||o)},o.\u0275cmp=a.\u0275\u0275defineComponent({type:o,selectors:[["ui-feedback"]],inputs:{title:"title",feedbackLink:"feedbackLink",feedbackLinkText:"feedbackLinkText"},decls:13,vars:7,consts:[[1,"lvemanager-left-wrapper"],[1,"lvemanager-ellipse"],[1,"material-icons","star"],[1,"lvemanager-right-wrapper"],["target","_blank",3,"href"],[1,"material-icons"]],template:function(e,t){1&e&&(a.\u0275\u0275elementStart(0,"div",0),a.\u0275\u0275elementStart(1,"div",1),a.\u0275\u0275elementStart(2,"span",2),a.\u0275\u0275text(3,"star"),a.\u0275\u0275elementEnd(),a.\u0275\u0275elementEnd(),a.\u0275\u0275elementStart(4,"p"),a.\u0275\u0275text(5),a.\u0275\u0275pipe(6,"translate"),a.\u0275\u0275elementEnd(),a.\u0275\u0275elementEnd(),a.\u0275\u0275elementStart(7,"div",3),a.\u0275\u0275elementStart(8,"a",4),a.\u0275\u0275text(9),a.\u0275\u0275pipe(10,"translate"),a.\u0275\u0275elementStart(11,"span",5),a.\u0275\u0275text(12,"arrow_right_alt"),a.\u0275\u0275elementEnd(),a.\u0275\u0275elementEnd(),a.\u0275\u0275elementEnd()),2&e&&(a.\u0275\u0275advance(5),a.\u0275\u0275textInterpolate(a.\u0275\u0275pipeBind1(6,3,t.title)),a.\u0275\u0275advance(3),a.\u0275\u0275property("href",t.feedbackLink,a.\u0275\u0275sanitizeUrl),a.\u0275\u0275advance(1),a.\u0275\u0275textInterpolate1(" ",a.\u0275\u0275pipeBind1(10,5,t.feedbackLinkText),""))},pipes:[i.TranslatePipe],styles:["[_nghost-%COMP%]{display:flex;min-height:49px;border-radius:5px;border:1px solid #2B98F0;background:#e6f2ef;text-decoration:none;align-items:center;justify-content:space-between;font-family:'Open Sans',serif;font-weight:bold;font-size:14px;padding:10px 24px;color:#1D1D1D}.lvemanager-left-wrapper[_ngcontent-%COMP%], .lvemanager-right-wrapper[_ngcontent-%COMP%]{display:flex;align-items:center;font-family:'Open Sans',sans-serif}.lvemanager-left-wrapper[_ngcontent-%COMP%] .lvemanager-ellipse[_ngcontent-%COMP%], .lvemanager-right-wrapper[_ngcontent-%COMP%] .lvemanager-ellipse[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:center;width:35px;height:35px;box-shadow:0 4px 14px 0 rgba(0,0,0,0.05);background-image:linear-gradient(to top, #fcfcfd, #e6e9f6);border-radius:50%;color:#2B98F0;margin-right:24px}.lvemanager-left-wrapper[_ngcontent-%COMP%] a[_ngcontent-%COMP%], .lvemanager-right-wrapper[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{display:contents;color:#2B98F0}.lvemanager-left-wrapper[_ngcontent-%COMP%] a[_ngcontent-%COMP%]:hover, .lvemanager-right-wrapper[_ngcontent-%COMP%] a[_ngcontent-%COMP%]:hover{color:black;transition:all .2s}"]})},558:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.UiHttpLoaderComponent=void 0;n(0),n(79);const a=n(0),i=n(79),o=n(1);function r(e,t){1&e&&(a.\u0275\u0275elementStart(0,"div",1),a.\u0275\u0275elementStart(1,"div",2),a.\u0275\u0275projection(2),a.\u0275\u0275elementEnd(),a.\u0275\u0275elementEnd())}class s{constructor(e){this.loader=e}}t.UiHttpLoaderComponent=s,s.\u0275fac=function(e){return new(e||s)(a.\u0275\u0275directiveInject(i.LoadingBarService))},s.\u0275cmp=a.\u0275\u0275defineComponent({type:s,selectors:[["ui-http-loader"]],ngContentSelectors:["*"],decls:2,vars:3,consts:[["class","lvemanager-ui-http-loader-content",4,"ngIf"],[1,"lvemanager-ui-http-loader-content"],[1,"lvemanager-ui-http-loader__loader-component"]],template:function(e,t){1&e&&(a.\u0275\u0275projectionDef(),a.\u0275\u0275template(0,r,3,0,"div",0),a.\u0275\u0275pipe(1,"async")),2&e&&a.\u0275\u0275property("ngIf",a.\u0275\u0275pipeBind1(1,1,t.loader.progress$))},directives:[o.NgIf],pipes:[o.AsyncPipe],styles:[".lvemanager-ui-http-loader-content[_ngcontent-%COMP%]:after{content:'';background:white;position:absolute;width:100%;height:100%;opacity:.55;z-index:998}.lvemanager-ui-http-loader__loader-component[_ngcontent-%COMP%]{margin-right:-50%;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);z-index:999}"]})},559:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.AwpLoaderComponent=void 0;n(0);const a=n(0),i=n(22);class o{}t.AwpLoaderComponent=o,o.\u0275fac=function(e){return new(e||o)},o.\u0275cmp=a.\u0275\u0275defineComponent({type:o,selectors:[["awp-loader"]],decls:5,vars:3,consts:[[1,"lvemanager-awp-loader"],[1,"lvemanager-awp-loader__spinner"],["translate","",1,"lvemanager-awp-loader__progress-text"]],template:function(e,t){1&e&&(a.\u0275\u0275elementStart(0,"div",0),a.\u0275\u0275element(1,"div",1),a.\u0275\u0275elementStart(2,"div",2),a.\u0275\u0275text(3),a.\u0275\u0275pipe(4,"translate"),a.\u0275\u0275elementEnd(),a.\u0275\u0275elementEnd()),2&e&&(a.\u0275\u0275advance(3),a.\u0275\u0275textInterpolate(a.\u0275\u0275pipeBind1(4,1,"please_wait_we_are_processing")))},directives:[i.TranslateDirective],pipes:[i.TranslatePipe],styles:['.lvemanager-awp-loader[_ngcontent-%COMP%]{display:flex;justify-content:center;align-items:center;flex-direction:column}.lvemanager-awp-loader__spinner[_ngcontent-%COMP%]{width:118px;height:118px;background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg%20width%3D%22107%22%20height%3D%22108%22%20viewBox%3D%220%200%20107%20108%22%20fill%3D%22none%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%0A%20%20%20%20%3Cg%20clip-path%3D%22url(%23clip0)%22%3E%0A%20%20%20%20%20%20%20%20%3Cpath%20d%3D%22M81.9784%2061.5706L75.7008%2059.8885C77.0633%2054.8046%2076.6209%2049.4056%2074.449%2044.6113C72.277%2039.817%2068.5099%2035.9242%2063.7895%2033.596C59.0691%2031.2678%2053.6875%2030.6484%2048.5616%2031.8433C43.4357%2033.0381%2038.8827%2035.9734%2035.6784%2040.1488C32.474%2044.3243%2030.8166%2049.4817%2030.9885%2054.7422C31.1603%2060.0027%2033.1509%2065.0409%2036.621%2068.9983C40.091%2072.9557%2044.8259%2075.5874%2050.0189%2076.4452C55.2118%2077.3029%2060.5415%2076.3335%2065.0999%2073.7022L68.3499%2079.3313C62.4893%2082.7149%2055.6369%2083.9616%2048.9602%2082.8593C42.2834%2081.7569%2036.1955%2078.3735%2031.7336%2073.2857C27.2718%2068.1978%2024.7121%2061.7203%2024.4908%2054.9568C24.2694%2048.1933%2026.4%2041.5622%2030.5197%2036.1935C34.6393%2030.8248%2040.493%2027.0506%2047.0833%2025.514C53.6737%2023.9774%2060.593%2024.7735%2066.6622%2027.7665C72.7315%2030.7596%2077.5752%2035.7645%2080.368%2041.9285C83.1608%2048.0924%2083.7299%2055.0341%2081.9784%2061.5706Z%22%20fill%3D%22%232B98F0%22%2F%3E%0A%20%20%20%20%3C%2Fg%3E%0A%20%20%20%20%3Cdefs%3E%0A%20%20%20%20%20%20%20%20%3CclipPath%20id%3D%22clip0%22%3E%0A%20%20%20%20%20%20%20%20%20%20%20%20%3Crect%20width%3D%2278%22%20height%3D%2278%22%20fill%3D%22white%22%20transform%3D%22translate(68%200.725098)%20rotate(60)%22%2F%3E%0A%20%20%20%20%20%20%20%20%3C%2FclipPath%3E%0A%20%20%20%20%3C%2Fdefs%3E%0A%3C%2Fsvg%3E%0A");background-repeat:no-repeat;background-size:100%;background-position:center center;-webkit-animation:spin 2s ease-in-out infinite;animation:spin 1s ease-in-out infinite}.lvemanager-awp-loader__progress-text[_ngcontent-%COMP%]{font-style:normal;font-weight:bold;font-size:15px;line-height:18px;color:#1D1D1D}']})},560:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.AwpWebsitesTableComponent=void 0;const a=n(3),i=n(0),o=(n(89),n(418)),r=n(350),s=n(187),l=n(419),c=(n(88),n(65),n(561)),d=(n(136),n(420)),p=(n(290),n(423)),u=n(289),g=(n(124),n(22),n(0)),m=n(88),f=n(89),v=n(136),h=n(65),_=n(22),b=n(124),C=n(576),w=n(53),x=n(1),M=n(350),y=n(418),P=n(419),O=n(290),S=n(164),A=n(148),E=n(577),k=n(578),I=n(580),D=["rollbackModuleConfirmationWindow"];function T(e,t){if(1&e){const e=g.\u0275\u0275getCurrentView();g.\u0275\u0275elementStart(0,"div",18),g.\u0275\u0275elementStart(1,"i",19),g.\u0275\u0275text(2,"warning"),g.\u0275\u0275elementEnd(),g.\u0275\u0275elementStart(3,"div",20),g.\u0275\u0275element(4,"div",21),g.\u0275\u0275pipe(5,"translate"),g.\u0275\u0275elementStart(6,"div",22),g.\u0275\u0275elementStart(7,"ui-button",23),g.\u0275\u0275listener("clickAction",(function(){g.\u0275\u0275restoreView(e);return g.\u0275\u0275nextContext().upgradeCDNSubscription()})),g.\u0275\u0275pipe(8,"translate"),g.\u0275\u0275text(9),g.\u0275\u0275pipe(10,"translate"),g.\u0275\u0275elementEnd(),g.\u0275\u0275elementEnd(),g.\u0275\u0275elementEnd(),g.\u0275\u0275elementEnd()}if(2&e){const e=g.\u0275\u0275nextContext();g.\u0275\u0275advance(4),g.\u0275\u0275property("innerHTML",g.\u0275\u0275pipeBind1(5,7,e.cdnWarning),g.\u0275\u0275sanitizeHtml),g.\u0275\u0275advance(3),g.\u0275\u0275styleMap("flat"),g.\u0275\u0275property("upper",!1)("disabled",e.windowOpened||!(null!=e.awpRepo.upgradeUrlSubject$.value&&e.awpRepo.upgradeUrlSubject$.value.cdn))("tooltip",null!=e.awpRepo.upgradeUrlSubject$.value&&e.awpRepo.upgradeUrlSubject$.value.cdn?"":g.\u0275\u0275pipeBind1(8,9,"AWP.upgrade_url_not_set_tooltip")),g.\u0275\u0275advance(2),g.\u0275\u0275textInterpolate(g.\u0275\u0275pipeBind1(10,11,"AWP.upgrade_subscription"))}}function F(e,t){1&e&&(g.\u0275\u0275elementStart(0,"mat-header-cell",24),g.\u0275\u0275text(1),g.\u0275\u0275pipe(2,"translate"),g.\u0275\u0275element(3,"span"),g.\u0275\u0275elementEnd()),2&e&&(g.\u0275\u0275advance(1),g.\u0275\u0275textInterpolate1("",g.\u0275\u0275pipeBind1(2,1,"AWP.website_table_col_name")," "))}const j=function(e){return{count:e}};function R(e,t){if(1&e&&(g.\u0275\u0275elementStart(0,"mat-cell"),g.\u0275\u0275elementStart(1,"span",25),g.\u0275\u0275pipe(2,"translate"),g.\u0275\u0275pipe(3,"translate"),g.\u0275\u0275text(4),g.\u0275\u0275elementEnd(),g.\u0275\u0275elementEnd()),2&e){const e=t.$implicit;g.\u0275\u0275advance(1),g.\u0275\u0275property("showMoreButtonText",g.\u0275\u0275pipeBind2(2,3,"AWP.show_all_websites",g.\u0275\u0275pureFunction1(8,j,e.websites.length)))("showLessButtonText",g.\u0275\u0275pipeBind1(3,6,"AWP.hide_websites")),g.\u0275\u0275advance(3),g.\u0275\u0275textInterpolate(e.websites.join("\xa0\xa0\xa0 "))}}function L(e,t){1&e&&(g.\u0275\u0275elementStart(0,"mat-header-cell"),g.\u0275\u0275elementStart(1,"p"),g.\u0275\u0275text(2),g.\u0275\u0275pipe(3,"translate"),g.\u0275\u0275elementEnd(),g.\u0275\u0275element(4,"span"),g.\u0275\u0275elementEnd()),2&e&&(g.\u0275\u0275advance(2),g.\u0275\u0275textInterpolate(g.\u0275\u0275pipeBind1(3,1,"AWP.accelerate_wp_feature_title")))}function N(e,t){if(1&e&&(g.\u0275\u0275elementStart(0,"mat-cell"),g.\u0275\u0275element(1,"awp-advice-viewer",26),g.\u0275\u0275element(2,"awp-module-viewer",26),g.\u0275\u0275elementEnd()),2&e){const e=t.$implicit;g.\u0275\u0275advance(1),g.\u0275\u0275property("data",e.awpFree),g.\u0275\u0275advance(1),g.\u0275\u0275property("data",e.awpFree)}}function B(e,t){1&e&&(g.\u0275\u0275elementStart(0,"mat-header-cell"),g.\u0275\u0275elementStart(1,"div",27),g.\u0275\u0275elementStart(2,"p"),g.\u0275\u0275text(3),g.\u0275\u0275pipe(4,"translate"),g.\u0275\u0275elementStart(5,"span",28),g.\u0275\u0275text(6,"Premium"),g.\u0275\u0275elementEnd(),g.\u0275\u0275elementEnd(),g.\u0275\u0275elementEnd(),g.\u0275\u0275elementEnd()),2&e&&(g.\u0275\u0275advance(3),g.\u0275\u0275textInterpolate(g.\u0275\u0275pipeBind1(4,1,"AWP.awp_premium_feature_title")))}function z(e,t){if(1&e&&(g.\u0275\u0275elementStart(0,"mat-cell"),g.\u0275\u0275element(1,"awp-advice-viewer",26),g.\u0275\u0275element(2,"awp-module-viewer",26),g.\u0275\u0275elementEnd()),2&e){const e=t.$implicit;g.\u0275\u0275advance(1),g.\u0275\u0275property("data",e.awpPremium),g.\u0275\u0275advance(1),g.\u0275\u0275property("data",e.awpPremium)}}function U(e,t){1&e&&g.\u0275\u0275element(0,"mat-header-row")}function W(e,t){1&e&&g.\u0275\u0275element(0,"mat-row")}const H=function(){return[5,10,25]};class V{constructor(e,t,n,a,o,r,l){this.notifications=e,this.awpRepo=t,this.adviceRepo=n,this.dialog=a,this.translateService=o,this.cdRef=r,this.analytics=l,this.displayedColumns=[],this.searchText="",this.cdnWarning="",this.awpModuleName=s.AwpModuleName,this.sortDirection="asc",this.currentSortedColumn="websites",this.awpAdviceStatus=s.AwpAdviceStatus,this.rollbackModuleConfirmationWindowMessage=new p.Message("Rollback feature?"),this.windowOpened=!1,this.billingUrl=this.awpRepo.upgradeUrlSubject$.value,this.moduleChanged=new i.EventEmitter}onPayout(e){return a.__awaiter(this,void 0,void 0,(function*(){this.selectedAdvice&&this.cdnWarning&&"PAYMENT_SUCCESS"===e.data&&(this.awpRepo.billingRequestSubject$.next({feature:s.AwpModuleName.cdn,listen:""}),yield this.awpRepo.subscriptionListen(),this.billingWindow&&this.billingWindow.close(),this.openPaymentPendingModal())}))}set sortSetter(e){this.sort=e,this.dataSource.sort=this.sort}set paginatorSetter(e){this.paginator=e,this.dataSource.paginator=this.paginator}set dataTableSource(e){e=e||[],this.dataSource=new r.MatTableDataSource(e),this.dataSource.paginator=this.paginator,this.dataSource.sort=this.sort,this.checkCDNFreeLimitReached()}ngOnInit(){this.defineDisplayedColumns(),this.analyticsEventAdviceDisplayed().then()}doFilter(e){e=e||"",this.dataSource&&(this.dataSource.filter=e.trim().toLocaleLowerCase())}onSortData(e){this.sortDirection=e.direction,this.currentSortedColumn=e.active}defineDisplayedColumns(){this.displayedColumns=["websites"],this.allowedFeatures.accelerate_wp.length&&this.displayedColumns.push(s.AwpFeatureName.accelerate_wp),this.allowedFeatures.accelerate_wp_premium.length&&this.displayedColumns.push(s.AwpFeatureName.accelerate_wp_premium)}analyticsEventAdviceDisplayed(){return a.__awaiter(this,void 0,void 0,(function*(){let e=[];this.dataSource.data.forEach((t=>{Object.values(t).forEach((t=>{t instanceof Object&&"advice"in t&&t.advice.forEach((t=>{"review"===t.status&&e.push(t.id)}))}))})),e.length&&(yield this.analytics.sendEventForAdvice(e.join(","),"advice_displayed"))}))}openAdviceDetails(e,t,n){return a.__awaiter(this,void 0,void 0,(function*(){if(!e.id)return void(yield this.rollbackFeatureWithoutAdvice(t,n));const a=yield this.adviceRepo.adviceDetails(e.id);e.details=a.data,this.dialog.open(d.AdviceDetailsComponent,{panelClass:"lvemanager-advice-details-modal-panel",data:e})}))}rollbackFeatureWithoutAdvice(e,t){return a.__awaiter(this,void 0,void 0,(function*(){try{yield this.rollbackModuleConfirmationWindow.open(),yield this.awpRepo.userAction(s.AwpModuleAction.disable,{domain:e.domains[0],"wp-path":e.wps.path,feature:t}),t===s.AwpModuleName.accelerate_wp&&(e.adviceSiteOptimization.adviceStatus=s.AwpAdviceStatus.no_advice),t===s.AwpModuleName.object_cache&&(e.adviceObjectCache.adviceStatus=s.AwpAdviceStatus.no_advice)}catch(e){}}))}openPaymentPendingModal(){this.dialog.open(u.AwpPaymentProcessingComponent,{panelClass:"lvemanager-awp-payment-processing-modal-panel",data:{header:this.translateService.instant("AWP.awp_feature_modal_title"),website:null,title:this.translateService.instant("AWP.payment_pending"),description:this.translateService.instant("AWP.payment_pending_explanation")}})}checkCDNFreeLimitReached(){var e,t;this.cdnWarning=null===(t=null===(e=this.awpRepo.subscriptionStateSubject$.value.cdn)||void 0===e?void 0:e.usage)||void 0===t?void 0:t.warning}upgradeCDNSubscription(){if(this.windowOpened)return;if(this.awpRepo.paymentPending(s.AwpModuleName.cdn))return void this.openPaymentPendingModal();this.selectedAdvice="CDN",this.billingWindow=window.open(this.billingUrl.cdn,"","toolbar=0,status=0,width=1100,height=640"),this.windowOpened=!0;const e=setInterval((()=>{this.billingWindow.closed&&(this.windowOpened=!1,this.selectedAdvice=null,clearInterval(e))}).bind(this),500);event.preventDefault()}}V.\u0275fac=function(e){return new(e||V)(g.\u0275\u0275directiveInject(m.ActionNotificationService),g.\u0275\u0275directiveInject(f.AwpRepo),g.\u0275\u0275directiveInject(v.AdviceRepo),g.\u0275\u0275directiveInject(h.MatDialog),g.\u0275\u0275directiveInject(_.TranslateService),g.\u0275\u0275directiveInject(g.ChangeDetectorRef),g.\u0275\u0275directiveInject(b.Analytics))},V.\u0275cmp=g.\u0275\u0275defineComponent({type:V,selectors:[["awp-websites-table"]],viewQuery:function(e,t){var n;(1&e&&(g.\u0275\u0275viewQuery(o.MatSort,!0),g.\u0275\u0275viewQuery(l.UiPaginatorComponent,!0),g.\u0275\u0275viewQuery(D,!0)),2&e)&&(g.\u0275\u0275queryRefresh(n=g.\u0275\u0275loadQuery())&&(t.sortSetter=n.first),g.\u0275\u0275queryRefresh(n=g.\u0275\u0275loadQuery())&&(t.paginatorSetter=n.first),g.\u0275\u0275queryRefresh(n=g.\u0275\u0275loadQuery())&&(t.rollbackModuleConfirmationWindow=n.first))},hostBindings:function(e,t){1&e&&g.\u0275\u0275listener("message",(function(e){return t.onPayout(e)}),!1,g.\u0275\u0275resolveWindow)},inputs:{dataTableSource:["tableData","dataTableSource"],allowedFeatures:"allowedFeatures"},outputs:{moduleChanged:"moduleChanged"},decls:24,vars:22,consts:[[1,"lvemanager-filter-panel"],["icon","search","format","text",3,"id","placeholder","ngModel","ngModelChange"],["class","lvemanager-cdn-free-warning",4,"ngIf"],["matSort","",1,"lvemanager-websites-table",3,"dataSource","matSortActive","matSortDirection","matSortChange"],["matColumnDef","websites"],["mat-sort-header","",4,"matHeaderCellDef"],[4,"matCellDef"],["matColumnDef","accelerate_wp"],[4,"matHeaderCellDef"],["matColumnDef","accelerate_wp_premium"],[4,"matHeaderRowDef"],[4,"matRowDef","matRowDefColumns"],[1,"lvemanager-paginator-wrapper"],[1,"lvemanager-paginator-wrapper__left"],[1,"lvemanager-paginator-wrapper__right"],[3,"length","pageSize","pageSizeOptions"],[3,"cancelButtonName","agreeButtonName","header"],["rollbackModuleConfirmationWindow",""],[1,"lvemanager-cdn-free-warning"],[1,"material-icons"],[1,"lvemanager-cdn-free-warning__content"],[1,"lvemanager-cdn-free-warning__message",3,"innerHTML"],[1,"lvemanager-cdn-free-warning__upgrade"],["customClass","cdn-free-upgrade-btn",3,"upper","disabled","tooltip","clickAction"],["mat-sort-header",""],["showMore","",3,"showMoreButtonText","showLessButtonText"],[3,"data"],[1,"lvemanager-accelerate-wp-premium-header"],[1,"lvemanager-premium-label"]],template:function(e,t){1&e&&(g.\u0275\u0275elementStart(0,"div",0),g.\u0275\u0275elementStart(1,"ui-text",1),g.\u0275\u0275listener("ngModelChange",(function(e){return t.searchText=e}))("ngModelChange",(function(e){return t.doFilter(e)})),g.\u0275\u0275pipe(2,"translate"),g.\u0275\u0275elementEnd(),g.\u0275\u0275elementEnd(),g.\u0275\u0275template(3,T,11,13,"div",2),g.\u0275\u0275elementStart(4,"mat-table",3),g.\u0275\u0275listener("matSortChange",(function(e){return t.onSortData(e)})),g.\u0275\u0275elementContainerStart(5,4),g.\u0275\u0275template(6,F,4,3,"mat-header-cell",5),g.\u0275\u0275template(7,R,5,10,"mat-cell",6),g.\u0275\u0275elementContainerEnd(),g.\u0275\u0275elementContainerStart(8,7),g.\u0275\u0275template(9,L,5,3,"mat-header-cell",8),g.\u0275\u0275template(10,N,3,2,"mat-cell",6),g.\u0275\u0275elementContainerEnd(),g.\u0275\u0275elementContainerStart(11,9),g.\u0275\u0275template(12,B,7,3,"mat-header-cell",8),g.\u0275\u0275template(13,z,3,2,"mat-cell",6),g.\u0275\u0275elementContainerEnd(),g.\u0275\u0275template(14,U,1,0,"mat-header-row",10),g.\u0275\u0275template(15,W,1,0,"mat-row",11),g.\u0275\u0275elementEnd(),g.\u0275\u0275elementStart(16,"div",12),g.\u0275\u0275element(17,"div",13),g.\u0275\u0275elementStart(18,"div",14),g.\u0275\u0275element(19,"ui-paginator",15),g.\u0275\u0275elementEnd(),g.\u0275\u0275elementEnd(),g.\u0275\u0275element(20,"modal-dialog",16,17),g.\u0275\u0275pipe(22,"translate"),g.\u0275\u0275pipe(23,"translate")),2&e&&(g.\u0275\u0275advance(1),g.\u0275\u0275property("id","website_search_input")("placeholder",g.\u0275\u0275pipeBind1(2,15,"AWP.website_search_placeholder"))("ngModel",t.searchText),g.\u0275\u0275advance(2),g.\u0275\u0275property("ngIf",t.cdnWarning),g.\u0275\u0275advance(1),g.\u0275\u0275property("dataSource",t.dataSource)("matSortActive",t.currentSortedColumn)("matSortDirection",t.sortDirection),g.\u0275\u0275advance(10),g.\u0275\u0275property("matHeaderRowDef",t.displayedColumns),g.\u0275\u0275advance(1),g.\u0275\u0275property("matRowDefColumns",t.displayedColumns),g.\u0275\u0275advance(4),g.\u0275\u0275property("length",null==t.dataSource?null:t.dataSource.data.length)("pageSize",5)("pageSizeOptions",g.\u0275\u0275pureFunction0(21,H)),g.\u0275\u0275advance(1),g.\u0275\u0275property("cancelButtonName",g.\u0275\u0275pipeBind1(22,17,"AWP.cancel_button_text"))("agreeButtonName",g.\u0275\u0275pipeBind1(23,19,"AWP.rollback_button_text"))("header",t.rollbackModuleConfirmationWindowMessage))},directives:[C.UiText,w.NgControlStatus,w.NgModel,x.NgIf,M.MatTable,y.MatSort,M.MatColumnDef,M.MatHeaderCellDef,M.MatCellDef,M.MatHeaderRowDef,M.MatRowDef,P.UiPaginatorComponent,O.ModalDialog,S.UiButton,A.TooltipDirective,M.MatHeaderCell,y.MatSortHeader,M.MatCell,E.ShowMoreDirective,k.AwpAdviceViewerComponent,I.AwpModuleViewerComponent,M.MatHeaderRow,M.MatRow],pipes:[_.TranslatePipe],styles:["mat-table[_ngcontent-%COMP%], .mat-table[_ngcontent-%COMP%] .mat-cell[_ngcontent-%COMP%], .mat-table[_ngcontent-%COMP%] .mat-header-cell[_ngcontent-%COMP%], .mat-table[_ngcontent-%COMP%] .mat-sort-header-button[_ngcontent-%COMP%]{font-family:'Open Sans',sans-serif;font-size:13px;line-height:18px;color:#797e84;font-weight:400}mat-table[_ngcontent-%COMP%]{background:#FFFFFF}mat-header-row[_ngcontent-%COMP%]{height:49px;background-color:#f8f9fb;border:solid 1px #DCDCDC}mat-row[_ngcontent-%COMP%]{min-height:49px;border-bottom:solid 1px #DCDCDC;border-left:solid 1px #DCDCDC;border-right:solid 1px #DCDCDC}mat-row[_ngcontent-%COMP%]:last-of-type{box-shadow:0 1px 2px rgba(0,0,0,0.168733)}.mat-cell[_ngcontent-%COMP%], .mat-header-cell[_ngcontent-%COMP%]{overflow:unset;position:relative}.mat-cell[_ngcontent-%COMP%] a[_ngcontent-%COMP%], .mat-header-cell[_ngcontent-%COMP%] a[_ngcontent-%COMP%], .mat-cell[_ngcontent-%COMP%] a[_ngcontent-%COMP%]:visited, .mat-header-cell[_ngcontent-%COMP%] a[_ngcontent-%COMP%]:visited{color:#535353}.mat-cell[_ngcontent-%COMP%] .lvemanager-beta-header[_ngcontent-%COMP%], .mat-header-cell[_ngcontent-%COMP%] .lvemanager-beta-header[_ngcontent-%COMP%]{position:relative}.mat-cell[_ngcontent-%COMP%] .lvemanager-beta-header[_ngcontent-%COMP%]::after, .mat-header-cell[_ngcontent-%COMP%] .lvemanager-beta-header[_ngcontent-%COMP%]::after{content:'Beta';font-family:\"Open Sans\",sans-serif;font-weight:normal;font-size:10px;position:absolute;top:-40%} mat-table button.lvemanager-size-normal{padding:0 18px}.mat-sort-header-arrow[style][_ngcontent-%COMP%] .mat-sort-header-stem[_ngcontent-%COMP%]{display:none}.mat-sort-header-arrow[style][_ngcontent-%COMP%] .mat-sort-header-indicator[_ngcontent-%COMP%]{opacity:1;color:black;font-weight:bold}.mat-sort-header-arrow[style][_ngcontent-%COMP%] .mat-sort-header-indicator[_ngcontent-%COMP%] .mat-sort-header-pointer-left[_ngcontent-%COMP%], .mat-sort-header-arrow[style][_ngcontent-%COMP%] .mat-sort-header-indicator[_ngcontent-%COMP%] .mat-sort-header-pointer-right[_ngcontent-%COMP%], .mat-sort-header-arrow[style][_ngcontent-%COMP%] .mat-sort-header-indicator[_ngcontent-%COMP%] .mat-sort-header-pointer-middle[_ngcontent-%COMP%]{display:none}.mat-column-select[_ngcontent-%COMP%]{flex:0 0 50px !important}[aria-sort=\"ascending\"][_ngcontent-%COMP%] span[_ngcontent-%COMP%], [aria-sort=\"descending\"][_ngcontent-%COMP%] span[_ngcontent-%COMP%]{width:0;height:0;border-left:3px solid transparent;border-right:3px solid transparent}[aria-sort=\"ascending\"][_ngcontent-%COMP%] span[_ngcontent-%COMP%]{border-bottom:5px solid #000000;margin-left:5px}[aria-sort=\"descending\"][_ngcontent-%COMP%] span[_ngcontent-%COMP%]{border-top:5px solid #000000;margin-left:5px}.mat-row.lvemanager-expanded-content[_ngcontent-%COMP%]{background:#ffffff;padding:20px 60px;border:none;box-shadow:none}.lvemanager-expand-icon[_ngcontent-%COMP%]{display:flex;width:20px;height:20px;background-image:url(\"data:image/svg+xml,%3Csvg width='7' height='12' viewBox='0 0 7 12' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1L6 6L1 11' stroke='%23B1B1B1' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E%0A\");background-position:center center;background-repeat:no-repeat}.lvemanager-expand-icon.lvemanager-collapse[_ngcontent-%COMP%]{background-image:url(\"data:image/svg+xml,%3Csvg width='13' height='8' viewBox='0 0 13 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1.5 6.5L6.5 1.5L11.5 6.5' stroke='%23B1B1B1' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E%0A\")}.lvemanager-expand-icon[_ngcontent-%COMP%]:hover{cursor:pointer}.mat-column-expanded[_ngcontent-%COMP%]{max-width:40px}.lvemanager-expandable-row[_ngcontent-%COMP%]:hover{cursor:pointer;background:#E0F0FE}.lvemanager-expandable-row.lvemanager-expanded[_ngcontent-%COMP%]{margin-bottom:2px;box-shadow:0 1px 2px rgba(0,0,0,0.168733)}.lvemanager-outer-table[_ngcontent-%COMP%] .mat-header-row[_ngcontent-%COMP%], .lvemanager-outer-table[_ngcontent-%COMP%] .mat-row[_ngcontent-%COMP%]{padding-left:13px}.lvemanager-inner-table[_ngcontent-%COMP%] .mat-header-row[_ngcontent-%COMP%], .lvemanager-inner-table[_ngcontent-%COMP%] .mat-row[_ngcontent-%COMP%]{padding-left:38px}.mat-dialog-container[_ngcontent-%COMP%]{height:auto;background:white}.lvemanager-overlay-container[_ngcontent-%COMP%]{pointer-events:none;top:0;left:0;height:100%;width:100%;position:fixed;z-index:9999}.lvemanager-overlay-container[_ngcontent-%COMP%] .cdk-overlay-backdrop[_ngcontent-%COMP%]{position:fixed;top:0;bottom:0;left:0;right:0;z-index:1000;pointer-events:auto;-webkit-tap-highlight-color:transparent;transition:opacity .4s cubic-bezier(.25, .8, .25, 1);background:rgba(0,0,0,0.32);opacity:1}.lvemanager-overlay-container[_ngcontent-%COMP%] .cdk-global-overlay-wrapper[_ngcontent-%COMP%]{direction:ltr;unicode-bidi:isolate;pointer-events:none;top:0;left:0;height:100%;width:100%;display:flex;position:absolute;z-index:1000;justify-content:center;align-items:center}.lvemanager-filter-panel[_ngcontent-%COMP%]{margin:28px 0}.lvemanager-cdn-free-warning[_ngcontent-%COMP%]{display:flex;align-items:center;padding:14px 20px;border-radius:4px;font-size:14px;line-height:18px;margin:15px 0;background:#FFF6D8;border:1px solid #FFB84E}.lvemanager-cdn-free-warning[_ngcontent-%COMP%] i.material-icons[_ngcontent-%COMP%], .lvemanager-cdn-free-warning[_ngcontent-%COMP%] i.material-icons-outlined[_ngcontent-%COMP%]{color:#FFB800;display:flex;margin-right:12px}.lvemanager-cdn-free-warning__content[_ngcontent-%COMP%]{display:flex;width:100%;justify-content:space-between;align-items:center}.lvemanager-cdn-free-warning__message[_ngcontent-%COMP%]{font-weight:600}.lvemanager-cdn-free-warning__upgrade[_ngcontent-%COMP%] .lvemanager-cdn-free-upgrade-btn{font-family:'Open Sans',sans-serif;font-style:normal;font-weight:700;font-size:14px;line-height:19px;color:#2B98F0;background:transparent;cursor:pointer}.lvemanager-websites-table[_ngcontent-%COMP%] .mat-cell[_ngcontent-%COMP%]{color:#1D1D1D}.lvemanager-websites-table[_ngcontent-%COMP%] .mat-cell[_ngcontent-%COMP%] a.lvemanager-show-more-directive{cursor:pointer;font-family:\"Open Sans\",sans-serif;font-style:normal;font-weight:normal;font-size:13px;line-height:18px;color:#2B98F0}.lvemanager-websites-table[_ngcontent-%COMP%] .mat-cell[_ngcontent-%COMP%] .lvemanager-advice-cell__open-btn[_ngcontent-%COMP%]{color:#2b98f0;text-decoration:underline;position:relative;display:flex;cursor:pointer}.lvemanager-websites-table[_ngcontent-%COMP%] .mat-row[_ngcontent-%COMP%] .lvemanager-awp-feature-settings-icon{display:none}.lvemanager-websites-table[_ngcontent-%COMP%] .mat-row[_ngcontent-%COMP%]:hover{background:#E0F0FE}.lvemanager-websites-table[_ngcontent-%COMP%] .mat-row[_ngcontent-%COMP%]:hover .lvemanager-awp-feature-settings-icon{display:flex;background-image:url(\"data:image/svg+xml;charset=utf-8,%3Csvg%20width%3D%2224%22%20height%3D%2225%22%20viewBox%3D%220%200%2024%2025%22%20fill%3D%22none%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%0A%3Cmask%20id%3D%22mask0_8059_6760%22%20style%3D%22mask-type%3Aalpha%22%20maskUnits%3D%22userSpaceOnUse%22%20x%3D%220%22%20y%3D%220%22%20width%3D%2224%22%20height%3D%2225%22%3E%0A%3Crect%20y%3D%220.5%22%20width%3D%2224%22%20height%3D%2224%22%20fill%3D%22%23D9D9D9%22%2F%3E%0A%3C%2Fmask%3E%0A%3Cg%20mask%3D%22url(%23mask0_8059_6760)%22%3E%0A%3Cpath%20d%3D%22M9.70156%2022L9.30156%2018.95C9.0349%2018.8667%208.76423%2018.7417%208.48956%2018.575C8.21423%2018.4083%207.9599%2018.2333%207.72656%2018.05L4.90156%2019.25L2.60156%2015.25L5.05156%2013.4C5.01823%2013.25%204.99756%2013.1%204.98956%2012.95C4.9809%2012.8%204.97656%2012.65%204.97656%2012.5C4.97656%2012.3667%204.9809%2012.225%204.98956%2012.075C4.99756%2011.925%205.01823%2011.7667%205.05156%2011.6L2.60156%209.75L4.90156%205.775L7.72656%206.95C7.9599%206.76667%208.21423%206.596%208.48956%206.438C8.76423%206.27933%209.0349%206.15%209.30156%206.05L9.70156%203H14.3016L14.7016%206.05C15.0016%206.16667%2015.2722%206.29567%2015.5136%206.437C15.7556%206.579%2016.0016%206.75%2016.2516%206.95L19.1016%205.775L21.4016%209.75L18.9266%2011.625C18.9599%2011.7917%2018.9766%2011.9417%2018.9766%2012.075V12.5C18.9766%2012.6333%2018.9722%2012.7707%2018.9636%2012.912C18.9556%2013.054%2018.9349%2013.2167%2018.9016%2013.4L21.3516%2015.25L19.0516%2019.25L16.2516%2018.05C16.0016%2018.25%2015.7476%2018.425%2015.4896%2018.575C15.2309%2018.725%2014.9682%2018.85%2014.7016%2018.95L14.3016%2022H9.70156ZM12.0016%2015.5C12.8349%2015.5%2013.5432%2015.2083%2014.1266%2014.625C14.7099%2014.0417%2015.0016%2013.3333%2015.0016%2012.5C15.0016%2011.6667%2014.7099%2010.9583%2014.1266%2010.375C13.5432%209.79167%2012.8349%209.5%2012.0016%209.5C11.1682%209.5%2010.4599%209.79167%209.87656%2010.375C9.29323%2010.9583%209.00156%2011.6667%209.00156%2012.5C9.00156%2013.3333%209.29323%2014.0417%209.87656%2014.625C10.4599%2015.2083%2011.1682%2015.5%2012.0016%2015.5ZM12.0016%2014C11.5849%2014%2011.2309%2013.854%2010.9396%2013.562C10.6476%2013.2707%2010.5016%2012.9167%2010.5016%2012.5C10.5016%2012.0833%2010.6476%2011.7293%2010.9396%2011.438C11.2309%2011.146%2011.5849%2011%2012.0016%2011C12.4182%2011%2012.7722%2011.146%2013.0636%2011.438C13.3556%2011.7293%2013.5016%2012.0833%2013.5016%2012.5C13.5016%2012.9167%2013.3556%2013.2707%2013.0636%2013.562C12.7722%2013.854%2012.4182%2014%2012.0016%2014ZM11.0016%2020.5H12.9766L13.3266%2017.825C13.8432%2017.6917%2014.3099%2017.5%2014.7266%2017.25C15.1432%2017%2015.5516%2016.6833%2015.9516%2016.3L18.4266%2017.35L19.4266%2015.65L17.2516%2014.025C17.3349%2013.7583%2017.3892%2013.5%2017.4146%2013.25C17.4392%2013%2017.4516%2012.75%2017.4516%2012.5C17.4516%2012.2333%2017.4392%2011.9793%2017.4146%2011.738C17.3892%2011.496%2017.3349%2011.25%2017.2516%2011L19.4266%209.35L18.4516%207.65L15.9266%208.7C15.5932%208.35%2015.1932%208.03733%2014.7266%207.762C14.2599%207.48733%2013.7932%207.29167%2013.3266%207.175L13.0016%204.5H11.0266L10.6766%207.175C10.1766%207.29167%209.7099%207.475%209.27656%207.725C8.84323%207.975%208.42656%208.29167%208.02656%208.675L5.55156%207.65L4.57656%209.35L6.72656%2010.95C6.64323%2011.2%206.5849%2011.45%206.55156%2011.7C6.51823%2011.95%206.50156%2012.2167%206.50156%2012.5C6.50156%2012.7667%206.51823%2013.025%206.55156%2013.275C6.5849%2013.525%206.64323%2013.775%206.72656%2014.025L4.57656%2015.65L5.55156%2017.35L8.02656%2016.3C8.4099%2016.6833%208.81823%2017%209.25156%2017.25C9.6849%2017.5%2010.1599%2017.6917%2010.6766%2017.825L11.0016%2020.5Z%22%20fill%3D%22%231C1B1F%22%2F%3E%0A%3C%2Fg%3E%0A%3C%2Fsvg%3E%0A\");background-repeat:no-repeat;background-position:center;background-size:cover;width:24px;height:24px}.lvemanager-websites-table__module-switcher[_ngcontent-%COMP%]{height:40px;display:flex;align-items:center}.lvemanager-websites-table[_ngcontent-%COMP%] .lvemanager-module-not-allowed[_ngcontent-%COMP%]{margin-left:12px;font-weight:normal;font-size:13px;line-height:18px;color:#AAB1BB}.lvemanager-websites-table[_ngcontent-%COMP%] awp-modal-content[_ngcontent-%COMP%], .lvemanager-websites-table[_ngcontent-%COMP%] awp-enabling-features[_ngcontent-%COMP%]{margin-left:10px}.lvemanager-websites-table[_ngcontent-%COMP%] .mat-column-websites[_ngcontent-%COMP%]{overflow:hidden;line-height:22px;padding-top:16px;padding-bottom:16px}.lvemanager-websites-table[_ngcontent-%COMP%] .lvemanager-accelerate-wp-premium-header[_ngcontent-%COMP%] .lvemanager-premium-label[_ngcontent-%COMP%]{display:inline-flex;margin-left:10px;padding:0px 5px 0px 20px;border-radius:2px;font-weight:700;font-size:9px;background-color:#FFAA5B;color:#FFFFFF;background-image:url(\"data:image/svg+xml;charset=utf-8,%3Csvg%20width%3D%2210%22%20height%3D%228%22%20viewBox%3D%220%200%2010%208%22%20fill%3D%22none%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%0A%20%20%20%20%3Cpath%20d%3D%22M1.5%206L0.5%200.5L3.25%203L5%200L6.75%203L9.5%200.5L8.5%206H1.5ZM8.5%207.5C8.5%207.8%208.3%208%208%208H2C1.7%208%201.5%207.8%201.5%207.5V7H8.5V7.5Z%22%20fill%3D%22white%22%2F%3E%0A%3C%2Fsvg%3E%0A\");background-repeat:no-repeat;background-position:5px center}.lvemanager-websites-table[_ngcontent-%COMP%] .lvemanager-accelerate-wp-premium-header[_ngcontent-%COMP%] .lvemanager-available-till[_ngcontent-%COMP%]{font-size:9px}.lvemanager-paginator-wrapper[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:space-between;height:80px}.lvemanager-paginator-wrapper__right[_ngcontent-%COMP%]{display:flex;justify-content:flex-end}"]}),a.__decorate([c.loading,a.__metadata("design:type",Function),a.__metadata("design:paramtypes",[Object,Object,String]),a.__metadata("design:returntype",Promise)],V.prototype,"openAdviceDetails",null),t.AwpWebsitesTableComponent=V},561:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.cacheRequestResultForever=t.cacheRequestResult=t.loading=t.throttle=t.updateState=void 0;const a=n(3);function i(e=0){return(t,n,i)=>{let o=null;const{value:r}=i;return i.value=function(...t){return a.__awaiter(this,void 0,void 0,(function*(){let n;if(null!==o)try{n=yield o}catch(e){throw o=null,e}else{o=r.apply(this,t);try{n=yield o}catch(e){throw o=null,e}finally{0===e?o=null:e<Number.POSITIVE_INFINITY&&setTimeout((()=>o=null),e)}}return n}))},i}}t.updateState=function(e,t,n){let a=n.value;return n.value=function(...e){this.loading=!0;let t=a.apply(this,e);if(t instanceof Promise)return t.then((()=>this.update().then((()=>this.loading=!1)).catch((()=>this.loading=!1))))},n},t.throttle=function(e){let t,n,a=!1;return function(i,o,r){let s=r.value;r.value=function(){if(a)return t=arguments,void(n=this);s.apply(this,arguments),a=!0,setTimeout((function(){a=!1,t&&(s.apply(n,t),t=n=null)}),e)}}},t.loading=function(e,t,n){let i=n.value;return n.value=function(...e){return a.__awaiter(this,void 0,void 0,(function*(){this.loading=!0;let t=null;try{t=yield i.apply(this,e)}catch(e){throw this.loading=!1,e}finally{this.loading=!1}return t}))},n},t.cacheRequestResult=i,t.cacheRequestResultForever=function(){return i(Number.POSITIVE_INFINITY)}},562:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.AdviceStatusComponent=void 0;n(0);const a=n(0),i=n(1),o=n(22);function r(e,t){1&e&&(a.\u0275\u0275elementStart(0,"span"),a.\u0275\u0275text(1),a.\u0275\u0275pipe(2,"translate"),a.\u0275\u0275elementEnd()),2&e&&(a.\u0275\u0275classMap("lvemanager-applied"),a.\u0275\u0275advance(1),a.\u0275\u0275textInterpolate(a.\u0275\u0275pipeBind1(2,3,"AWP.advice_status_applied")))}function s(e,t){1&e&&(a.\u0275\u0275elementStart(0,"span"),a.\u0275\u0275text(1),a.\u0275\u0275pipe(2,"translate"),a.\u0275\u0275elementEnd()),2&e&&(a.\u0275\u0275classMap("lvemanager-outdated"),a.\u0275\u0275advance(1),a.\u0275\u0275textInterpolate(a.\u0275\u0275pipeBind1(2,3,"AWP.advice_status_outdated")))}function l(e,t){1&e&&(a.\u0275\u0275elementStart(0,"span"),a.\u0275\u0275text(1),a.\u0275\u0275pipe(2,"translate"),a.\u0275\u0275elementEnd()),2&e&&(a.\u0275\u0275classMap("lvemanager-pending"),a.\u0275\u0275advance(1),a.\u0275\u0275textInterpolate(a.\u0275\u0275pipeBind1(2,3,"AWP.advice_status_pending")))}function c(e,t){1&e&&(a.\u0275\u0275elementStart(0,"span"),a.\u0275\u0275text(1),a.\u0275\u0275pipe(2,"translate"),a.\u0275\u0275elementEnd()),2&e&&(a.\u0275\u0275classMap("lvemanager-review"),a.\u0275\u0275advance(1),a.\u0275\u0275textInterpolate(a.\u0275\u0275pipeBind1(2,3,"AWP.advice_status_review")))}class d{}t.AdviceStatusComponent=d,d.\u0275fac=function(e){return new(e||d)},d.\u0275cmp=a.\u0275\u0275defineComponent({type:d,selectors:[["smart-advice-status"]],inputs:{status:"status"},decls:4,vars:4,consts:[[3,"class",4,"ngIf"]],template:function(e,t){1&e&&(a.\u0275\u0275template(0,r,3,5,"span",0),a.\u0275\u0275template(1,s,3,5,"span",0),a.\u0275\u0275template(2,l,3,5,"span",0),a.\u0275\u0275template(3,c,3,5,"span",0)),2&e&&(a.\u0275\u0275property("ngIf","applied"===t.status),a.\u0275\u0275advance(1),a.\u0275\u0275property("ngIf","outdated"===t.status),a.\u0275\u0275advance(1),a.\u0275\u0275property("ngIf","pending"===t.status),a.\u0275\u0275advance(1),a.\u0275\u0275property("ngIf","review"===t.status))},directives:[i.NgIf],pipes:[o.TranslatePipe],styles:['span[_ngcontent-%COMP%]{font-family:"Open Sans",sans-serif;display:inline-flex;border-radius:2px;color:#fff;align-items:center;justify-content:center;padding:3px 9px;font-style:normal;font-weight:normal;font-size:9px;height:16px;text-transform:capitalize}span.lvemanager-review[_ngcontent-%COMP%]{background:#EAB838}span.lvemanager-pending[_ngcontent-%COMP%]{background:#579ED1}span.lvemanager-applied[_ngcontent-%COMP%]{background:#58BE7B}span.lvemanager-applied[_ngcontent-%COMP%]::before{content:"\\2713 ";padding-right:4px}span.lvemanager-outdated[_ngcontent-%COMP%]{background:#EF6930}span.lvemanager-readonly[_ngcontent-%COMP%]{background:#535353}']})},563:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.AdviceActionComponent=void 0;const a=n(3),i=(n(0),n(136),n(345)),o=n(187),r=n(564),s=(n(65),n(22),n(1328)),l=(n(88),n(290),n(423)),c=(n(89),n(124),n(424)),d=n(0),p=n(136),u=n(89),g=n(65),m=n(22),f=n(88),v=n(124),h=n(1),_=n(290),b=n(53),C=n(164),w=n(148),x=n(574),M=n(575),y=["confirmationWindow"];function P(e,t){if(1&e){const e=d.\u0275\u0275getCurrentView();d.\u0275\u0275elementStart(0,"div",11),d.\u0275\u0275elementStart(1,"ui-button",12),d.\u0275\u0275listener("clickAction",(function(){d.\u0275\u0275restoreView(e);const t=d.\u0275\u0275nextContext();return t.runAction(t.adviceAction.apply)})),d.\u0275\u0275pipe(2,"translate"),d.\u0275\u0275elementStart(3,"span"),d.\u0275\u0275text(4),d.\u0275\u0275pipe(5,"translate"),d.\u0275\u0275elementEnd(),d.\u0275\u0275elementEnd(),d.\u0275\u0275elementEnd()}if(2&e){const e=d.\u0275\u0275nextContext();d.\u0275\u0275advance(1),d.\u0275\u0275styleMap(e.inModalView?"primary":"flat"),d.\u0275\u0275property("upper",!1)("disabled",e.actionProgress||e.disabled)("tooltip",e.actionProgress?d.\u0275\u0275pipeBind1(2,6,"SMART_ADVICE.wait_operation_finish_tooltip"):""),d.\u0275\u0275advance(3),d.\u0275\u0275textInterpolate(d.\u0275\u0275pipeBind1(5,8,e.actionButtonText))}}const O=function(e){return{"lvemanager-in-modal-view":e}},S=function(e,t){return{total:e,completed:t}};function A(e,t){if(1&e&&(d.\u0275\u0275elementStart(0,"div",13),d.\u0275\u0275text(1),d.\u0275\u0275pipe(2,"translate"),d.\u0275\u0275pipe(3,"progress"),d.\u0275\u0275elementEnd()),2&e){const e=d.\u0275\u0275nextContext();d.\u0275\u0275property("ngClass",d.\u0275\u0275pureFunction1(7,O,e.inModalView)),d.\u0275\u0275advance(1),d.\u0275\u0275textInterpolate(d.\u0275\u0275pipeBind1(2,2,"AWP.processing")+d.\u0275\u0275pipeBind2(3,4,e.advice,d.\u0275\u0275pureFunction2(9,S,e.advice.total_stages,e.advice.completed_stages)))}}function E(e,t){if(1&e&&d.\u0275\u0275element(0,"awp-modal-content",17),2&e){const e=d.\u0275\u0275nextContext(2);d.\u0275\u0275property("issues",e.advice.issues)}}function k(e,t){if(1&e){const e=d.\u0275\u0275getCurrentView();d.\u0275\u0275elementStart(0,"div",14),d.\u0275\u0275template(1,E,1,1,"awp-modal-content",15),d.\u0275\u0275elementStart(2,"ui-button",16),d.\u0275\u0275listener("clickAction",(function(){d.\u0275\u0275restoreView(e);const t=d.\u0275\u0275nextContext();return t.runAction(t.adviceAction.apply)})),d.\u0275\u0275elementStart(3,"span"),d.\u0275\u0275text(4),d.\u0275\u0275pipe(5,"translate"),d.\u0275\u0275elementEnd(),d.\u0275\u0275elementEnd(),d.\u0275\u0275elementEnd()}if(2&e){const e=d.\u0275\u0275nextContext();d.\u0275\u0275advance(1),d.\u0275\u0275property("ngIf",!e.inModalView),d.\u0275\u0275advance(1),d.\u0275\u0275styleMap(e.inModalView?"primary":"flat"),d.\u0275\u0275property("icon","refresh")("upper",!1)("customClass","try-again-btn"),d.\u0275\u0275advance(2),d.\u0275\u0275textInterpolate(d.\u0275\u0275pipeBind1(5,7,"Try again"))}}function I(e,t){if(1&e){const e=d.\u0275\u0275getCurrentView();d.\u0275\u0275elementStart(0,"div",18),d.\u0275\u0275elementStart(1,"ui-button",19),d.\u0275\u0275listener("clickAction",(function(){d.\u0275\u0275restoreView(e);const t=d.\u0275\u0275nextContext();return t.runAction(t.adviceAction.apply,!0)})),d.\u0275\u0275elementStart(2,"span"),d.\u0275\u0275text(3),d.\u0275\u0275pipe(4,"translate"),d.\u0275\u0275elementEnd(),d.\u0275\u0275elementEnd(),d.\u0275\u0275elementEnd()}2&e&&(d.\u0275\u0275advance(1),d.\u0275\u0275styleMap("primary"),d.\u0275\u0275property("upper",!1),d.\u0275\u0275advance(2),d.\u0275\u0275textInterpolate(d.\u0275\u0275pipeBind1(4,4,"AWP.ignore_errors_button_text")))}function D(e,t){if(1&e){const e=d.\u0275\u0275getCurrentView();d.\u0275\u0275elementStart(0,"div",11),d.\u0275\u0275elementStart(1,"ui-button",20),d.\u0275\u0275listener("clickAction",(function(){d.\u0275\u0275restoreView(e);const t=d.\u0275\u0275nextContext();return t.runAction(t.adviceAction.rollback)})),d.\u0275\u0275elementStart(2,"i",21),d.\u0275\u0275text(3,"restore"),d.\u0275\u0275elementEnd(),d.\u0275\u0275text(4),d.\u0275\u0275pipe(5,"translate"),d.\u0275\u0275elementEnd(),d.\u0275\u0275elementEnd()}if(2&e){const e=d.\u0275\u0275nextContext();d.\u0275\u0275advance(1),d.\u0275\u0275styleMap("default"),d.\u0275\u0275property("upper",!1)("disabled",e.disabled)("customClass","rollback-btn"),d.\u0275\u0275advance(3),d.\u0275\u0275textInterpolate(d.\u0275\u0275pipeBind1(5,6,"AWP.rollback_button_text"))}}const T=function(){return{}},F=function(e,t){return{text:e,context:t}};class j{constructor(e,t,n,a,o,r){this.adviceRepo=e,this.awpRepo=t,this.dialog=n,this.translateService=a,this.notifications=o,this.analytics=r,this.actionButtonText="Apply advice",this.inModalView=!1,this.disabled=!1,this.withAgreement=!1,this.adviceStatus=i.AdviceStatus,this.actionProgress=!1,this.adviceAction=i.AdviceAction,this.confirmationWindowMessage=new l.Message("Please specify the reason"),this.rollbackReason="",this.rollbackReasonInputSize=200}ngAfterContentInit(){this.adviceRepo.userActionProgress$.subscribe((e=>{this.actionProgress=e})),this.checkStatus()}runAction(e,t=!1){return a.__awaiter(this,void 0,void 0,(function*(){const n=this.advice.advice.status;try{this.changeAdviceStatusAndEmitProgress(this.adviceStatus.pending),this.advice.issues=null,this.advice.postIssues=null,e===this.adviceAction.apply?(yield this.acceptAgreement(),yield this.adviceRepo.adviceApply(this.advice.advice.id,t),yield this.analytics.sendEventForAdvice(String(this.advice.advice.id),"advice_apply")):e===this.adviceAction.rollback&&(yield this.confirmationWindow.open().then((()=>a.__awaiter(this,void 0,void 0,(function*(){yield this.adviceRepo.adviceRollback(this.advice.advice.id,this.rollbackReason),yield this.analytics.sendEventForAdvice(String(this.advice.advice.id),"advice_rollback")})))).catch((e=>{}))),this.checkStatus()}catch(e){this.handleError(e,n)}}))}handleError(e,t=this.adviceStatus.review){if(this.advice.postIssues=null,this.changeAdviceStatusAndEmitProgress(t),this.notifications.error(this.translateService.instant("Error"),this.translateService.instant(e.result,e.context)),e.module&&e.module.issues)this.advice.issues=this.getTranslatedIssues(e.module.issues);else if(e.result){let t=e.details?`${e.result} ${e.details}`:e.result;e.context&&(t=this.translateService.instant(t,e.context)),this.advice.issues=[{description:t,fix_tip:null,type:o.AwpIssueType.error,context:e.context}]}(()=>{a.__awaiter(this,void 0,void 0,(function*(){return yield this.analytics.sendEventForAdvice(String(this.advice.id),"advice_error")}))})()}handleRollback(e){if(this.advice.postIssues=this.getTranslatedIssues(e),this.inModalView)return;this.dialog.open(c.AwpPostIssuesComponent,{data:{modalTitle:this.translateService.instant("AWP.post_check_issues_detected_modal_title"),issues:e,issueType:o.AwpIssueType.post_check}}).afterClosed().subscribe((e=>a.__awaiter(this,void 0,void 0,(function*(){e?(this.changeAdviceStatusAndEmitProgress(this.adviceStatus.pending),yield this.adviceRepo.adviceApply(this.advice.advice.id,!0),this.checkStatus()):this.advice.postIssues=null}))))}handleSuccess(){this.advice.postIssues=null,this.changeAdviceStatusAndEmitProgress(this.adviceStatus.applied)}getTranslatedIssues(e){return e?e.map((e=>(e.description=this.translateService.instant(e.description,e.context),e.fix_tip=this.translateService.instant(e.fix_tip,e.context),e))):null}changeAdviceStatusAndEmitProgress(e){this.advice.status=e,this.adviceRepo.userActionProgress$.next(e===i.AdviceStatus.pending)}checkStatus(){this.advice.status===i.AdviceStatus.pending&&(this.statusSubscription$=s.timer(0,5e3).subscribe((e=>a.__awaiter(this,void 0,void 0,(function*(){try{const e=yield this.adviceRepo.adviceStatus(this.advice.id);e.data&&(e.data.result===r.ResponseStatus.rollback&&(this.changeAdviceStatusAndEmitProgress(this.adviceStatus.review),this.handleRollback(e.data.issues)),e.data.result===r.ResponseStatus.success&&this.handleSuccess(),[r.ResponseStatus.success,r.ResponseStatus.rollback].includes(e.data.result)||this.handleError(e.data)),this.advice.total_stages=e.total_stages,this.advice.completed_stages=e.completed_stages,this.advice.status=e.status,e.status!==i.AdviceStatus.pending&&(e.status===i.AdviceStatus.applied&&(this.advice.adviceStatus=o.AwpAdviceStatus.active),e.status===i.AdviceStatus.review&&(this.advice.adviceStatus=o.AwpAdviceStatus.advice_available),this.statusSubscription$.unsubscribe(),this.awpRepo.updateTrigger$.next(!0))}catch(e){this.statusSubscription$.unsubscribe(),this.adviceRepo.userActionProgress$.next(!1),this.handleError(e)}})))))}acceptAgreement(){return a.__awaiter(this,void 0,void 0,(function*(){this.withAgreement&&(yield this.awpRepo.userAction(o.AwpModuleAction.agreement,{approve:this.advice.relatedFeature}),yield this.awpRepo.agreementStatus())}))}}t.AdviceActionComponent=j,j.\u0275fac=function(e){return new(e||j)(d.\u0275\u0275directiveInject(p.AdviceRepo),d.\u0275\u0275directiveInject(u.AwpRepo),d.\u0275\u0275directiveInject(g.MatDialog),d.\u0275\u0275directiveInject(m.TranslateService),d.\u0275\u0275directiveInject(f.ActionNotificationService),d.\u0275\u0275directiveInject(v.Analytics))},j.\u0275cmp=d.\u0275\u0275defineComponent({type:j,selectors:[["smart-advice-action"]],viewQuery:function(e,t){var n;(1&e&&d.\u0275\u0275viewQuery(y,!0),2&e)&&(d.\u0275\u0275queryRefresh(n=d.\u0275\u0275loadQuery())&&(t.confirmationWindow=n.first))},inputs:{advice:"advice",actionButtonText:"actionButtonText",inModalView:"inModalView",disabled:"disabled",withAgreement:"withAgreement"},decls:18,vars:27,consts:[[1,"lvemanager-advice-action"],["class","lvemanager-advice-action__perform",4,"ngIf"],["class","lvemanager-advice-action__processing",3,"ngClass",4,"ngIf"],["class","lvemanager-advice-action__apply-issue",4,"ngIf"],["class","lvemanager-advice-action__apply-in-modal",4,"ngIf"],[1,"lvemanager-rollback-confirmation",3,"header","cancelButtonName","agreeButtonName"],["confirmationWindow",""],[1,"lvemanager-rollback-confirmation__label",3,"innerHTML"],[1,"lvemanager-rollback-confirmation__input-wrapper"],[1,"lvemanager-rollback-confirmation__textarea",3,"ngModel","maxlength","placeholder","ngModelChange"],[1,"lvemanager-counter"],[1,"lvemanager-advice-action__perform"],[3,"upper","disabled","tooltip","clickAction"],[1,"lvemanager-advice-action__processing",3,"ngClass"],[1,"lvemanager-advice-action__apply-issue"],[3,"issues",4,"ngIf"],["id","advice-try-again-btn",3,"icon","upper","customClass","clickAction"],[3,"issues"],[1,"lvemanager-advice-action__apply-in-modal"],[3,"upper","clickAction"],[3,"upper","disabled","customClass","clickAction"],[1,"material-icons"]],template:function(e,t){1&e&&(d.\u0275\u0275elementStart(0,"div",0),d.\u0275\u0275template(1,P,6,10,"div",1),d.\u0275\u0275template(2,A,4,12,"div",2),d.\u0275\u0275template(3,k,6,9,"div",3),d.\u0275\u0275template(4,I,5,6,"div",4),d.\u0275\u0275template(5,D,6,8,"div",1),d.\u0275\u0275elementEnd(),d.\u0275\u0275elementStart(6,"modal-dialog",5,6),d.\u0275\u0275pipe(8,"translate"),d.\u0275\u0275pipe(9,"translate"),d.\u0275\u0275pipe(10,"translate"),d.\u0275\u0275element(11,"label",7),d.\u0275\u0275pipe(12,"translate"),d.\u0275\u0275elementStart(13,"div",8),d.\u0275\u0275elementStart(14,"textarea",9),d.\u0275\u0275listener("ngModelChange",(function(e){return t.rollbackReason=e})),d.\u0275\u0275pipe(15,"translate"),d.\u0275\u0275elementEnd(),d.\u0275\u0275elementStart(16,"span",10),d.\u0275\u0275text(17),d.\u0275\u0275elementEnd(),d.\u0275\u0275elementEnd(),d.\u0275\u0275elementEnd()),2&e&&(d.\u0275\u0275advance(1),d.\u0275\u0275property("ngIf",t.advice.status===t.adviceStatus.review&&!t.advice.issues&&!t.advice.postIssues),d.\u0275\u0275advance(1),d.\u0275\u0275property("ngIf",t.advice.status===t.adviceStatus.pending),d.\u0275\u0275advance(1),d.\u0275\u0275property("ngIf",t.advice.issues&&t.advice.status===t.adviceStatus.review),d.\u0275\u0275advance(1),d.\u0275\u0275property("ngIf",t.inModalView&&t.advice.postIssues&&t.advice.status===t.adviceStatus.review),d.\u0275\u0275advance(1),d.\u0275\u0275property("ngIf",t.inModalView&&t.advice.status===t.adviceStatus.applied),d.\u0275\u0275advance(1),d.\u0275\u0275property("header",d.\u0275\u0275pureFunction2(24,F,d.\u0275\u0275pipeBind1(8,13,"AWP.rollback_confirmation.title"),d.\u0275\u0275pureFunction0(23,T)))("cancelButtonName",d.\u0275\u0275pipeBind1(9,15,"AWP.cancel_button_text"))("agreeButtonName",d.\u0275\u0275pipeBind1(10,17,"AWP.confirm_button_text")),d.\u0275\u0275advance(5),d.\u0275\u0275property("innerHTML",d.\u0275\u0275pipeBind1(12,19,"AWP.rollback_confirmation.input_label"),d.\u0275\u0275sanitizeHtml),d.\u0275\u0275advance(3),d.\u0275\u0275property("ngModel",t.rollbackReason)("maxlength",t.rollbackReasonInputSize)("placeholder",d.\u0275\u0275pipeBind1(15,21,"AWP.rollback_confirmation.placeholder")),d.\u0275\u0275advance(3),d.\u0275\u0275textInterpolate(t.rollbackReason.length+"/"+t.rollbackReasonInputSize))},directives:[h.NgIf,_.ModalDialog,b.DefaultValueAccessor,b.NgControlStatus,b.NgModel,b.MaxLengthValidator,C.UiButton,w.TooltipDirective,h.NgClass,x.AwpModalContentComponent],pipes:[m.TranslatePipe,M.ProgressPipe],styles:['.lvemanager-advice-action__perform[_ngcontent-%COMP%] button.btn-flat{color:#2b98f0 !important;background:transparent;text-decoration:underline;cursor:pointer}.lvemanager-advice-action__perform[_ngcontent-%COMP%] button.btn-primary{cursor:pointer;text-transform:unset}.lvemanager-advice-action__perform[_ngcontent-%COMP%] button.lvemanager-rollback-btn{font-family:\'Open Sans\',sans-serif;outline:none;background:#FFFFFF;border:1px solid #DEE1EC;box-sizing:border-box;box-shadow:0 1px 1px #F4F4F3;border-radius:4px;font-weight:600;padding:0px 20px;cursor:pointer}.lvemanager-advice-action__perform[_ngcontent-%COMP%] button.lvemanager-rollback-btn .material-icons{margin-right:12px}.lvemanager-advice-action__processing[_ngcontent-%COMP%]{color:#2b98f0;font-style:italic;display:inline-flex;align-items:center}.lvemanager-advice-action__processing[_ngcontent-%COMP%]::before{content:"";width:23px;height:23px;margin-right:7px;display:inline-block;background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg%20width%3D%2223%22%20height%3D%2223%22%20viewBox%3D%220%200%2023%2023%22%20fill%3D%22none%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%0A%20%20%20%20%3Cpath%20d%3D%22M22.2747%2014.3405L19.8666%2013.6952C20.3893%2011.745%2020.2196%209.67391%2019.3864%207.8348C18.5532%205.99569%2017.1081%204.50236%2015.2974%203.60926C13.4866%202.71616%2011.4222%202.47855%209.45585%202.93691C7.48953%203.39527%205.74297%204.52124%204.51376%206.12297C3.28455%207.72471%202.64874%209.7031%202.71467%2011.7211C2.7806%2013.739%203.54419%2015.6717%204.87533%2017.1898C6.20647%2018.7079%208.02281%2019.7174%2010.0149%2020.0464C12.0069%2020.3755%2014.0514%2020.0036%2015.8%2018.9942L17.0467%2021.1536C14.7986%2022.4515%2012.17%2022.9298%209.60873%2022.5069C7.04749%2022.084%204.71212%2020.7862%203.00053%2018.8344C1.28894%2016.8827%200.307038%2014.3979%200.222122%2011.8034C0.137206%209.20886%200.954533%206.66516%202.53484%204.60569C4.11515%202.54622%206.36066%201.09842%208.88876%200.508969C11.4169%20-0.0804834%2014.0711%200.224886%2016.3993%201.37305C18.7275%202.5212%2020.5856%204.44111%2021.6569%206.80564C22.7283%209.17017%2022.9466%2011.833%2022.2747%2014.3405V14.3405Z%22%20fill%3D%22%232B98F0%22%2F%3E%0A%3C%2Fsvg%3E%0A");background-size:22px;background-repeat:no-repeat;background-position:0 center;animation:rotation 1s infinite linear}.lvemanager-advice-action__processing.lvemanager-in-modal-view[_ngcontent-%COMP%]{color:#fff;background:#2b98f0;font-style:italic;font-weight:normal;display:inline-flex;height:40px;align-items:center;padding:0 15px;border-radius:4px}.lvemanager-advice-action__processing.lvemanager-in-modal-view[_ngcontent-%COMP%]::before{content:"";width:23px;height:23px;margin-right:7px;display:inline-block;background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg%20width%3D%2223%22%20height%3D%2223%22%20viewBox%3D%220%200%2023%2023%22%20fill%3D%22none%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%0A%20%20%20%20%3Cpath%20d%3D%22M22.2747%2014.3405L19.8666%2013.6952C20.3893%2011.745%2020.2196%209.67391%2019.3864%207.8348C18.5532%205.99569%2017.1081%204.50236%2015.2974%203.60926C13.4866%202.71616%2011.4222%202.47855%209.45585%202.93691C7.48953%203.39527%205.74297%204.52124%204.51376%206.12297C3.28455%207.72471%202.64874%209.7031%202.71467%2011.7211C2.7806%2013.739%203.54419%2015.6717%204.87533%2017.1898C6.20647%2018.7079%208.02281%2019.7174%2010.0149%2020.0464C12.0069%2020.3755%2014.0514%2020.0036%2015.8%2018.9942L17.0467%2021.1536C14.7986%2022.4515%2012.17%2022.9298%209.60873%2022.5069C7.04749%2022.084%204.71212%2020.7862%203.00053%2018.8344C1.28894%2016.8827%200.307038%2014.3979%200.222122%2011.8034C0.137206%209.20886%200.954533%206.66516%202.53484%204.60569C4.11515%202.54622%206.36066%201.09842%208.88876%200.508969C11.4169%20-0.0804834%2014.0711%200.224886%2016.3993%201.37305C18.7275%202.5212%2020.5856%204.44111%2021.6569%206.80564C22.7283%209.17017%2022.9466%2011.833%2022.2747%2014.3405V14.3405Z%22%20fill%3D%22%23ffffff%22%2F%3E%0A%3C%2Fsvg%3E%0A");background-size:22px;background-repeat:no-repeat;background-position:0 center;animation:rotation 1s infinite linear}.lvemanager-advice-action__apply-issue[_ngcontent-%COMP%]{display:flex;align-items:center}.lvemanager-advice-action__apply-issue[_ngcontent-%COMP%] awp-modal-content[_ngcontent-%COMP%]{margin-right:20px}.lvemanager-advice-action__apply-issue[_ngcontent-%COMP%] .lvemanager-try-again-btn.btn-flat{background:transparent;text-decoration:underline} .lvemanager-rollback-confirmation__input-wrapper{position:relative} .lvemanager-rollback-confirmation__input-wrapper .lvemanager-counter{color:#707070;position:absolute;bottom:15px;right:15px} .lvemanager-rollback-confirmation__label{font-family:\'Open Sans\',sans-serif;font-style:normal;font-weight:400;font-size:12px;line-height:18px;color:#2B2B2B} .lvemanager-rollback-confirmation__label i{color:#A3A0A0} .lvemanager-rollback-confirmation__textarea{min-height:unset;padding:15px;width:100%;height:130px;border:solid 1px #DEE1EC;line-height:18px;border-radius:4px;font-size:12px;color:#161616;-webkit-box-shadow:none !important;box-shadow:none !important;background-color:transparent;outline:none;resize:none} .lvemanager-rollback-confirmation__textarea:focus{border-color:#2b98f0} .lvemanager-rollback-confirmation button[name="agree"], .lvemanager-rollback-confirmation button[name="cancel"]{text-transform:none}@keyframes rotation{from{transform:rotate(0deg)}to{transform:rotate(359deg)}}']})},564:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ResponseStatus=void 0,function(e){e.success="success",e.rollback="rollback",e.error="error"}(t.ResponseStatus||(t.ResponseStatus={}))},565:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ModalDialog=void 0;n(0);const a=n(566),i=n(288),o=(n(423),n(338)),r=n(541),s=n(0),l=n(567),c=n(1),d=n(22),p=n(164),u=["loadingRef"];function g(e,t){if(1&e){const e=s.\u0275\u0275getCurrentView();s.\u0275\u0275elementStart(0,"button",12),s.\u0275\u0275listener("click",(function(){s.\u0275\u0275restoreView(e);return s.\u0275\u0275nextContext(2).cancel()})),s.\u0275\u0275text(1),s.\u0275\u0275elementEnd()}if(2&e){const e=s.\u0275\u0275nextContext(2);s.\u0275\u0275advance(1),s.\u0275\u0275textInterpolate1(" ",e.cancelButtonName," ")}}function m(e,t){if(1&e){const e=s.\u0275\u0275getCurrentView();s.\u0275\u0275elementStart(0,"button",13),s.\u0275\u0275listener("click",(function(){s.\u0275\u0275restoreView(e);return s.\u0275\u0275nextContext(2).agree()})),s.\u0275\u0275text(1),s.\u0275\u0275elementEnd()}if(2&e){const e=s.\u0275\u0275nextContext(2);s.\u0275\u0275property("disabled",e.disabledAgreeButton),s.\u0275\u0275advance(1),s.\u0275\u0275textInterpolate1(" ",e.agreeButtonName," ")}}function f(e,t){if(1&e){const e=s.\u0275\u0275getCurrentView();s.\u0275\u0275elementStart(0,"ui-button",15),s.\u0275\u0275listener("clickAction",(function(){s.\u0275\u0275restoreView(e);const n=t.$implicit,a=s.\u0275\u0275nextContext(3);return n.action?a.runAction(n.action):null})),s.\u0275\u0275text(1),s.\u0275\u0275elementEnd()}if(2&e){const e=t.$implicit;s.\u0275\u0275styleMap(e.style||"flat"),s.\u0275\u0275property("name",e.name)("customClass",e.customClass)("size",e.size||null)("icon",e.icon)("multi",!!e.actions||null)("listOfActions",e.actions)("disabled",e.disabled)("hidden",e.hidden),s.\u0275\u0275advance(1),s.\u0275\u0275textInterpolate1(" ",e.title.text," ")}}function v(e,t){if(1&e&&(s.\u0275\u0275elementContainerStart(0),s.\u0275\u0275template(1,f,2,11,"ui-button",14),s.\u0275\u0275elementContainerEnd()),2&e){const e=s.\u0275\u0275nextContext(2);s.\u0275\u0275advance(1),s.\u0275\u0275property("ngForOf",e.tools)}}function h(e,t){if(1&e){const e=s.\u0275\u0275getCurrentView();s.\u0275\u0275elementStart(0,"div",4),s.\u0275\u0275elementStart(1,"div",5),s.\u0275\u0275element(2,"h2",6),s.\u0275\u0275pipe(3,"translate"),s.\u0275\u0275elementStart(4,"span",7),s.\u0275\u0275listener("click",(function(){s.\u0275\u0275restoreView(e);return s.\u0275\u0275nextContext().cancel()})),s.\u0275\u0275text(5,"\xd7"),s.\u0275\u0275elementEnd(),s.\u0275\u0275elementEnd(),s.\u0275\u0275elementStart(6,"div",8),s.\u0275\u0275projection(7),s.\u0275\u0275elementEnd(),s.\u0275\u0275elementStart(8,"div"),s.\u0275\u0275template(9,g,2,1,"button",9),s.\u0275\u0275template(10,m,2,2,"button",10),s.\u0275\u0275template(11,v,2,1,"ng-container",11),s.\u0275\u0275elementEnd(),s.\u0275\u0275elementEnd()}if(2&e){const e=s.\u0275\u0275nextContext();s.\u0275\u0275advance(2),s.\u0275\u0275property("innerHTML",s.\u0275\u0275pipeBind2(3,7,e.header.text,e.header.context),s.\u0275\u0275sanitizeHtml),s.\u0275\u0275advance(6),s.\u0275\u0275classMapInterpolate1("lvemanager-ui-modal-footer lvemanager-direction-type-",e.toolsDirectionType,""),s.\u0275\u0275advance(1),s.\u0275\u0275property("ngIf",e.cancelButtonName),s.\u0275\u0275advance(1),s.\u0275\u0275property("ngIf",e.agreeButtonName),s.\u0275\u0275advance(1),s.\u0275\u0275property("ngIf",e.tools)}}class _ extends o.BaseComponent{constructor(e,t){super(t),this.elementRef=e,this.injector=t,this.opened=!1,this.loaderSettings={type:i.LoadingTypes.spin,ref:null},this.header={text:"",context:{}},this.size="default",this.frame="default",this.tools=[],this.toolsDirectionType="row",this.disabledAgreeButton=!1,this._show=!1}get show(){return this._show}set show(e){this.opened=e,this._show=e}ngAfterViewInit(){this.loaderSelector=new r.LoaderSelector(this.loadingRef)}handleKeyboardEvent(e){this.show&&e.keyCode===a.ESCAPE_KEYCODE&&this.cancel()}runAction(e){this.show=!1,e(this.data),this.resolve()}delayAction(e){setTimeout(e,0)}restoreOriginalModal(){_.currentModal===this.savedModal&&(this.savedModal=null),this.delayAction((()=>{this.show=!1,_.currentModal=this.savedModal}))}open(e=null){return this.opened=!0,this.delayAction((()=>{this.show=!0,_.currentModal=this})),null!==e&&(this.data=e),this.savedModal=_.currentModal,this.promise=new Promise(((e,t)=>{this.resolve=e,this.reject=t})),this.promise}agree(){this.restoreOriginalModal(),this.resolve()}cancel(){_.currentModal===this&&(this.restoreOriginalModal(),this.reject())}}t.ModalDialog=_,_.currentModal=null,_.\u0275fac=function(e){return new(e||_)(s.\u0275\u0275directiveInject(s.ElementRef),s.\u0275\u0275directiveInject(s.Injector))},_.\u0275cmp=s.\u0275\u0275defineComponent({type:_,selectors:[["modal-dialog"]],viewQuery:function(e,t){var n;(1&e&&s.\u0275\u0275viewQuery(u,!0),2&e)&&(s.\u0275\u0275queryRefresh(n=s.\u0275\u0275loadQuery())&&(t.loadingRef=n.first))},hostBindings:function(e,t){1&e&&s.\u0275\u0275listener("keydown",(function(e){return t.handleKeyboardEvent(e)}),!1,s.\u0275\u0275resolveDocument)},inputs:{header:"header",size:"size",frame:"frame",tools:"tools",toolsDirectionType:"toolsDirectionType",disabledAgreeButton:"disabledAgreeButton",cancelButtonName:"cancelButtonName",agreeButtonName:"agreeButtonName"},features:[s.\u0275\u0275InheritDefinitionFeature],ngContentSelectors:["*"],decls:5,vars:6,consts:[[1,"lvemanager-ui-modal",3,"hidden"],[3,"outsideClickEvent"],["loadingRef",""],["class","lvemanager-modal-ui-content",4,"ngIf"],[1,"lvemanager-modal-ui-content"],[1,"lvemanager-ui-modal-header"],[3,"innerHTML"],[1,"lvemanager-ui-close",3,"click"],[1,"lvemanager-ui-modal-body"],["class","b_btn lvemanager-main_btn btn-default","name","cancel","aria-label","Close","translate","",3,"click",4,"ngIf"],["class","b_btn lvemanager-main_btn btn-primary","name","agree","translate","",3,"disabled","click",4,"ngIf"],[4,"ngIf"],["name","cancel","aria-label","Close","translate","",1,"b_btn","lvemanager-main_btn","btn-default",3,"click"],["name","agree","translate","",1,"b_btn","lvemanager-main_btn","btn-primary",3,"disabled","click"],[3,"style","name","customClass","size","icon","multi","listOfActions","disabled","hidden","clickAction",4,"ngFor","ngForOf"],[3,"name","customClass","size","icon","multi","listOfActions","disabled","hidden","clickAction"]],template:function(e,t){1&e&&(s.\u0275\u0275projectionDef(),s.\u0275\u0275elementStart(0,"div",0),s.\u0275\u0275elementStart(1,"div",1),s.\u0275\u0275listener("outsideClickEvent",(function(){return t.cancel()})),s.\u0275\u0275elementStart(2,"div",null,2),s.\u0275\u0275template(4,h,12,10,"div",3),s.\u0275\u0275elementEnd(),s.\u0275\u0275elementEnd(),s.\u0275\u0275elementEnd()),2&e&&(s.\u0275\u0275property("hidden",!t.show),s.\u0275\u0275advance(1),s.\u0275\u0275classMapInterpolate2("lvemanager-ui-modal-content lvemanager-size-",t.size," lvemanager-frame-",t.frame,""),s.\u0275\u0275advance(3),s.\u0275\u0275property("ngIf",t.show))},directives:[l.OutsideClickEventDirective,c.NgIf,d.TranslateDirective,c.NgForOf,p.UiButton],pipes:[d.TranslatePipe],styles:['.lvemanager-ui-scroll[_ngcontent-%COMP%]::-webkit-scrollbar{width:12px;height:12px}.lvemanager-ui-scroll[_ngcontent-%COMP%]::-webkit-scrollbar-button{width:0;height:0}.lvemanager-ui-scroll[_ngcontent-%COMP%]::-webkit-scrollbar-thumb{-webkit-border-radius:0;-moz-border-radius:0;border-radius:0;-moz-background-clip:padding;-webkit-background-clip:padding-box;background-clip:padding-box;background:#2b98f0;border:0 none transparent}.lvemanager-ui-scroll[_ngcontent-%COMP%]::-webkit-scrollbar-thumb:hover{background:#2b98f0}.lvemanager-ui-scroll[_ngcontent-%COMP%]::-webkit-scrollbar-thumb:active{background:#2b98f0}.lvemanager-ui-scroll[_ngcontent-%COMP%]::-webkit-scrollbar-track{-webkit-border-radius:0;-moz-border-radius:0;border-radius:0;-moz-background-clip:padding;-webkit-background-clip:padding-box;background-clip:padding-box;background:#ffffff;border:0 none #ffffff}.lvemanager-ui-scroll[_ngcontent-%COMP%]::-webkit-scrollbar-track:hover{background:#ffffff}.lvemanager-ui-scroll[_ngcontent-%COMP%]::-webkit-scrollbar-track:active{background:#ffffff}.lvemanager-ui-scroll[_ngcontent-%COMP%]::-webkit-scrollbar-corner{background:transparent}.lvemanager-clearboth[_ngcontent-%COMP%]{zoom:1}.lvemanager-clearboth[_ngcontent-%COMP%]:before, .lvemanager-clearboth[_ngcontent-%COMP%]:after{content:"";display:table}.lvemanager-clearboth[_ngcontent-%COMP%]:after{clear:both}@keyframes spin{from{-webkit-transform:rotate(0deg);-moz-transform:rotate(0deg);-ms-transform:rotate(0deg);-o-transform:rotate(0deg);transform:rotate(0deg)}to{-webkit-transform:rotate(360deg);-moz-transform:rotate(360deg);-ms-transform:rotate(360deg);-o-transform:rotate(360deg);transform:rotate(360deg)}}@-webkit-keyframes animatetop{from{top:-300px;opacity:0}to{top:0;opacity:1}}@-moz-keyframes animatetop{from{top:-300px;opacity:0}to{top:0;opacity:1}}@-ms-keyframes animatetop{from{top:-300px;opacity:0}to{top:0;opacity:1}}@-o-keyframes animatetop{from{top:-300px;opacity:0}to{top:0;opacity:1}}@keyframes animatetop{from{top:-300px;opacity:0}to{top:0;opacity:1}}.lvemanager-ui-modal[_ngcontent-%COMP%]{text-align:left;display:flex;-ms-flex-direction:column;position:fixed;z-index:9999;left:0;top:0;width:100%;height:100%;background-color:rgba(76,76,76,0.55)}.lvemanager-ui-modal[_ngcontent-%COMP%] .lvemanager-ui-modal-content[_ngcontent-%COMP%]{cursor:pointer;border:1px solid #eeeeee;padding:0;min-height:172px;max-height:172px;width:100%;position:relative;margin:auto;overflow:auto;max-height:100%;-webkit-animation:animatetop .4s;-moz-animation:animatetop .4s;animation:animatetop .4s;border-radius:4px;background-color:#fff;box-shadow:0 2px 14px 0 rgba(0,0,0,0.24)}.lvemanager-ui-modal[_ngcontent-%COMP%] .lvemanager-ui-modal-content[_ngcontent-%COMP%]::-webkit-scrollbar{width:12px;height:12px}.lvemanager-ui-modal[_ngcontent-%COMP%] .lvemanager-ui-modal-content[_ngcontent-%COMP%]::-webkit-scrollbar-button{width:0;height:0}.lvemanager-ui-modal[_ngcontent-%COMP%] .lvemanager-ui-modal-content[_ngcontent-%COMP%]::-webkit-scrollbar-thumb{-webkit-border-radius:0;-moz-border-radius:0;border-radius:0;-moz-background-clip:padding;-webkit-background-clip:padding-box;background-clip:padding-box;background:#2b98f0;border:0 none transparent}.lvemanager-ui-modal[_ngcontent-%COMP%] .lvemanager-ui-modal-content[_ngcontent-%COMP%]::-webkit-scrollbar-thumb:hover{background:#2b98f0}.lvemanager-ui-modal[_ngcontent-%COMP%] .lvemanager-ui-modal-content[_ngcontent-%COMP%]::-webkit-scrollbar-thumb:active{background:#2b98f0}.lvemanager-ui-modal[_ngcontent-%COMP%] .lvemanager-ui-modal-content[_ngcontent-%COMP%]::-webkit-scrollbar-track{-webkit-border-radius:0;-moz-border-radius:0;border-radius:0;-moz-background-clip:padding;-webkit-background-clip:padding-box;background-clip:padding-box;background:#ffffff;border:0 none #ffffff}.lvemanager-ui-modal[_ngcontent-%COMP%] .lvemanager-ui-modal-content[_ngcontent-%COMP%]::-webkit-scrollbar-track:hover{background:#ffffff}.lvemanager-ui-modal[_ngcontent-%COMP%] .lvemanager-ui-modal-content[_ngcontent-%COMP%]::-webkit-scrollbar-track:active{background:#ffffff}.lvemanager-ui-modal[_ngcontent-%COMP%] .lvemanager-ui-modal-content[_ngcontent-%COMP%]::-webkit-scrollbar-corner{background:transparent}.lvemanager-ui-modal[_ngcontent-%COMP%] .lvemanager-ui-modal-content.lvemanager-size-default[_ngcontent-%COMP%]{width:540px}.lvemanager-ui-modal[_ngcontent-%COMP%] .lvemanager-ui-modal-content.lvemanager-size-medium[_ngcontent-%COMP%]{width:600px}.lvemanager-ui-modal[_ngcontent-%COMP%] .lvemanager-ui-modal-content.lvemanager-size-large[_ngcontent-%COMP%]{width:96%}.lvemanager-ui-modal[_ngcontent-%COMP%] .lvemanager-ui-modal-content.lvemanager-frame-default[_ngcontent-%COMP%]{padding:25px}.lvemanager-ui-modal[_ngcontent-%COMP%] .lvemanager-ui-modal-content.lvemanager-frame-default[_ngcontent-%COMP%] .lvemanager-ui-modal-body[_ngcontent-%COMP%]{margin:25px 0}.lvemanager-ui-modal[_ngcontent-%COMP%] .lvemanager-ui-modal-content.lvemanager-frame-spaceless[_ngcontent-%COMP%]{padding-bottom:25px}.lvemanager-ui-modal[_ngcontent-%COMP%] .lvemanager-ui-modal-content.lvemanager-frame-spaceless[_ngcontent-%COMP%] .lvemanager-ui-modal-header[_ngcontent-%COMP%]{padding:15px 25px 0 0}.lvemanager-ui-modal[_ngcontent-%COMP%] .lvemanager-ui-modal-content.lvemanager-frame-spaceless[_ngcontent-%COMP%] .lvemanager-ui-modal-footer[_ngcontent-%COMP%]{padding-right:25px}.lvemanager-ui-modal[_ngcontent-%COMP%] .lvemanager-ui-modal-content[_ngcontent-%COMP%] .lvemanager-ui-modal-header[_ngcontent-%COMP%]{display:flex;justify-content:space-between;font-size:20px;color:#2b2b2b}.lvemanager-ui-modal[_ngcontent-%COMP%] .lvemanager-ui-modal-content[_ngcontent-%COMP%] .lvemanager-ui-modal-header[_ngcontent-%COMP%] h2[_ngcontent-%COMP%]{font-weight:bold;line-height:30px;width:420px}.lvemanager-ui-modal[_ngcontent-%COMP%] .lvemanager-ui-modal-content[_ngcontent-%COMP%] .lvemanager-ui-modal-header[_ngcontent-%COMP%] h2[_ngcontent-%COMP%]:first-letter{text-transform:uppercase}.lvemanager-ui-modal[_ngcontent-%COMP%] .lvemanager-ui-modal-content[_ngcontent-%COMP%] .lvemanager-ui-modal-header[_ngcontent-%COMP%] .lvemanager-ui-close[_ngcontent-%COMP%]{font-size:35px;font-weight:100;line-height:18px;color:#afafaf;cursor:pointer}.lvemanager-ui-modal[_ngcontent-%COMP%] .lvemanager-ui-modal-content[_ngcontent-%COMP%] .lvemanager-ui-modal-body[_ngcontent-%COMP%]{overflow:auto;font-size:13px}.lvemanager-ui-modal[_ngcontent-%COMP%] .lvemanager-ui-modal-content[_ngcontent-%COMP%] .lvemanager-ui-modal-footer[_ngcontent-%COMP%]{display:flex}.lvemanager-ui-modal[_ngcontent-%COMP%] .lvemanager-ui-modal-content[_ngcontent-%COMP%] .lvemanager-ui-modal-footer.lvemanager-direction-type-row[_ngcontent-%COMP%]{flex-direction:row;justify-content:flex-end}.lvemanager-ui-modal[_ngcontent-%COMP%] .lvemanager-ui-modal-content[_ngcontent-%COMP%] .lvemanager-ui-modal-footer.lvemanager-direction-type-column[_ngcontent-%COMP%]{flex-direction:column;align-items:flex-end}.lvemanager-ui-modal[_ngcontent-%COMP%] .lvemanager-ui-modal-content[_ngcontent-%COMP%] .lvemanager-ui-modal-footer[_ngcontent-%COMP%] > ui-button[ng-reflect-style="default"][_ngcontent-%COMP%], .lvemanager-ui-modal[_ngcontent-%COMP%] .lvemanager-ui-modal-content[_ngcontent-%COMP%] .lvemanager-ui-modal-footer[_ngcontent-%COMP%] > ui-button[ng-reflect-style="primary"][_ngcontent-%COMP%]{margin-left:10px}[_nghost-%COMP%] ui-button button{font-size:15px;font-weight:bold}[_nghost-%COMP%] ui-button button.lvemanager-icon{padding-left:19px}[_nghost-%COMP%] .lvemanager-text-block{margin:20px 0;width:430px}']})},566:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ERROR_VALUE=t.NOT_AVAILABLE=t.ESCAPE_KEYCODE=t.DEFAULT_LANGUAGE=t.KEY_CONFIRMATION_MESSAGE=t.versionSeparator=void 0,t.versionSeparator=".",t.KEY_CONFIRMATION_MESSAGE="confirmationMessage",t.DEFAULT_LANGUAGE="en",t.ESCAPE_KEYCODE=27,t.NOT_AVAILABLE="N/A",t.ERROR_VALUE="Unknown"},567:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.OutsideClickEventDirective=void 0;const a=n(0),i=n(0);class o{constructor(e){this._elementRef=e,this.onOutsideClickEvent=new a.EventEmitter}onClick(e,t){this._elementRef.nativeElement.contains(t)||this.onOutsideClickEvent.emit(e)}}t.OutsideClickEventDirective=o,o.\u0275fac=function(e){return new(e||o)(i.\u0275\u0275directiveInject(i.ElementRef))},o.\u0275dir=i.\u0275\u0275defineDirective({type:o,selectors:[["","outsideClickEvent",""]],hostBindings:function(e,t){1&e&&i.\u0275\u0275listener("click",(function(e){return t.onClick(e,e.target)}),!1,i.\u0275\u0275resolveDocument)},outputs:{onOutsideClickEvent:"outsideClickEvent"}})},574:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.AwpModalContentComponent=void 0;n(0);const a=n(187),i=(n(65),n(426)),o=(n(22),n(0)),r=n(65),s=n(22),l=n(1),c=n(148);function d(e,t){if(1&e){const e=o.\u0275\u0275getCurrentView();o.\u0275\u0275elementStart(0,"div",3),o.\u0275\u0275listener("click",(function(){o.\u0275\u0275restoreView(e);return o.\u0275\u0275nextContext().openIncompatibilityModal()})),o.\u0275\u0275elementStart(1,"i",4),o.\u0275\u0275pipe(2,"translate"),o.\u0275\u0275text(3,"info"),o.\u0275\u0275elementEnd(),o.\u0275\u0275elementStart(4,"span"),o.\u0275\u0275text(5,"Incompatible"),o.\u0275\u0275elementEnd(),o.\u0275\u0275elementEnd()}2&e&&(o.\u0275\u0275advance(1),o.\u0275\u0275property("tooltip",o.\u0275\u0275pipeBind1(2,1,"AWP.incompatibility_tooltip")))}function p(e,t){if(1&e){const e=o.\u0275\u0275getCurrentView();o.\u0275\u0275elementStart(0,"div",5),o.\u0275\u0275listener("click",(function(){o.\u0275\u0275restoreView(e);return o.\u0275\u0275nextContext().openMisconfigurationModal()})),o.\u0275\u0275elementStart(1,"i",6),o.\u0275\u0275pipe(2,"translate"),o.\u0275\u0275text(3,"info"),o.\u0275\u0275elementEnd(),o.\u0275\u0275elementStart(4,"span"),o.\u0275\u0275text(5,"Misconfiguration"),o.\u0275\u0275elementEnd(),o.\u0275\u0275elementEnd()}2&e&&(o.\u0275\u0275advance(1),o.\u0275\u0275property("tooltip",o.\u0275\u0275pipeBind1(2,1,"AWP.misconfiguration_tooltip")))}function u(e,t){if(1&e){const e=o.\u0275\u0275getCurrentView();o.\u0275\u0275elementStart(0,"div",7),o.\u0275\u0275listener("click",(function(){o.\u0275\u0275restoreView(e);return o.\u0275\u0275nextContext().openErrorModal()})),o.\u0275\u0275elementStart(1,"i",6),o.\u0275\u0275pipe(2,"translate"),o.\u0275\u0275text(3,"info"),o.\u0275\u0275elementEnd(),o.\u0275\u0275elementStart(4,"span"),o.\u0275\u0275text(5,"Error log"),o.\u0275\u0275elementEnd(),o.\u0275\u0275elementEnd()}2&e&&(o.\u0275\u0275advance(1),o.\u0275\u0275property("tooltip",o.\u0275\u0275pipeBind1(2,1,"AWP.error_log_tooltip")))}class g{constructor(e,t){this.dialog=e,this.translateService=t,this.moduleEnabled=null,this.issues=[],this.AwpIssueType=a.AwpIssueType}get issueType(){return this.issues.some((e=>e.type===a.AwpIssueType.error))?a.AwpIssueType.error:this.moduleEnabled?a.AwpIssueType.misconfiguration:a.AwpIssueType.incompatibility}openIncompatibilityModal(){this.dialog.open(i.AwpIssuesComponent,{data:{modalTitle:this.translateService.instant("AWP.incompatibility_modal_title"),issues:this.issues,issueType:a.AwpIssueType.incompatibility}})}openMisconfigurationModal(){this.dialog.open(i.AwpIssuesComponent,{data:{modalTitle:this.translateService.instant("AWP.misconfiguration_modal_title"),issues:this.issues,issueType:a.AwpIssueType.misconfiguration}})}openErrorModal(){this.dialog.open(i.AwpIssuesComponent,{data:{modalTitle:this.translateService.instant("AWP.error_log_modal_title"),issues:this.issues,issueType:a.AwpIssueType.error}})}}t.AwpModalContentComponent=g,g.\u0275fac=function(e){return new(e||g)(o.\u0275\u0275directiveInject(r.MatDialog),o.\u0275\u0275directiveInject(s.TranslateService))},g.\u0275cmp=o.\u0275\u0275defineComponent({type:g,selectors:[["awp-modal-content"]],inputs:{moduleEnabled:"moduleEnabled",issues:"issues"},decls:3,vars:3,consts:[["class","lvemanager-module-incompatibility",3,"click",4,"ngIf"],["class","lvemanager-module-misconfiguration",3,"click",4,"ngIf"],["class","lvemanager-module-error",3,"click",4,"ngIf"],[1,"lvemanager-module-incompatibility",3,"click"],[1,"material-icons",3,"tooltip"],[1,"lvemanager-module-misconfiguration",3,"click"],[1,"material-icons","lvemanager-error",3,"tooltip"],[1,"lvemanager-module-error",3,"click"]],template:function(e,t){1&e&&(o.\u0275\u0275template(0,d,6,3,"div",0),o.\u0275\u0275template(1,p,6,3,"div",1),o.\u0275\u0275template(2,u,6,3,"div",2)),2&e&&(o.\u0275\u0275property("ngIf",t.issues.length&&t.issueType===t.AwpIssueType.incompatibility),o.\u0275\u0275advance(1),o.\u0275\u0275property("ngIf",t.issues.length&&t.issueType===t.AwpIssueType.misconfiguration),o.\u0275\u0275advance(1),o.\u0275\u0275property("ngIf",t.issues.length&&t.issueType===t.AwpIssueType.error))},directives:[l.NgIf,c.TooltipDirective],pipes:[s.TranslatePipe],styles:['.lvemanager-module-incompatibility[_ngcontent-%COMP%], .lvemanager-module-misconfiguration[_ngcontent-%COMP%], .lvemanager-module-error[_ngcontent-%COMP%]{display:flex;align-items:center;font-family:"Open Sans",sans-serif;font-style:normal;font-weight:normal;font-size:13px;line-height:18px;color:#2B98F0;cursor:pointer}.lvemanager-module-incompatibility[_ngcontent-%COMP%] i[_ngcontent-%COMP%], .lvemanager-module-misconfiguration[_ngcontent-%COMP%] i[_ngcontent-%COMP%], .lvemanager-module-error[_ngcontent-%COMP%] i[_ngcontent-%COMP%]{color:#C5C9D0;margin-right:10px;text-decoration:none}.lvemanager-module-incompatibility[_ngcontent-%COMP%] i.lvemanager-error[_ngcontent-%COMP%], .lvemanager-module-misconfiguration[_ngcontent-%COMP%] i.lvemanager-error[_ngcontent-%COMP%], .lvemanager-module-error[_ngcontent-%COMP%] i.lvemanager-error[_ngcontent-%COMP%]{color:#FFB800}.lvemanager-module-incompatibility[_ngcontent-%COMP%] span[_ngcontent-%COMP%], .lvemanager-module-misconfiguration[_ngcontent-%COMP%] span[_ngcontent-%COMP%], .lvemanager-module-error[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{text-decoration:underline}']})},575:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ProgressPipe=void 0;n(0);const a=n(0);class i{transform(e,t){return"number"==typeof e?e+"%":t.total?(100*t.completed/t.total).toFixed()+"%":"0%"}}t.ProgressPipe=i,i.\u0275fac=function(e){return new(e||i)},i.\u0275pipe=a.\u0275\u0275definePipe({name:"progress",type:i,pure:!0})},576:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.UiText=void 0;n(0);const a=n(53),i=n(346),o=n(233),r=(n(22),n(0)),s=n(22),l=n(1),c=n(53),d=n(347),p=["prefixLabel"];function u(e,t){if(1&e&&(r.\u0275\u0275elementStart(0,"label",null,2),r.\u0275\u0275text(2),r.\u0275\u0275elementEnd()),2&e){const e=r.\u0275\u0275nextContext();r.\u0275\u0275advance(2),r.\u0275\u0275textInterpolate(e.prefix)}}const g=function(e){return{updateOn:e}},m=function(e){return{"padding-left":e}};class f extends i.InputAccessor{constructor(e,t){super(t),this.elementRef=e,this.error=!1,this.originalTitle="",this.format="number",this.icon="",this.placeholder="",this.updateOn="change"}set prefix(e){this._prefix=e,this.updatePadding()}set prefixLabel(e){this._prefixLabel=e,this.updatePadding()}get prefixLabel(){return this._prefixLabel}get prefix(){return this._prefix}updatePadding(){this.prefixLabel&&this._prefix&&(this.paddingLeft=`${this.prefixLabel.nativeElement.offsetWidth}px`)}prepareValueHook(){"number"===this.format&&o.Helper.isNumber(this._innerValue)&&(this._innerValue=Number(this._innerValue)),this.error=this.validator&&this.validator.error,this.error?this.originalTitle=this.validator.errorMessagesAsString:this.originalTitle=""}}t.UiText=f,f.\u0275fac=function(e){return new(e||f)(r.\u0275\u0275directiveInject(r.ElementRef),r.\u0275\u0275directiveInject(s.TranslateService))},f.\u0275cmp=r.\u0275\u0275defineComponent({type:f,selectors:[["ui-text"]],viewQuery:function(e,t){var n;(1&e&&r.\u0275\u0275viewQuery(p,!0),2&e)&&(r.\u0275\u0275queryRefresh(n=r.\u0275\u0275loadQuery())&&(t.prefixLabel=n.first))},hostAttrs:["data-toggle","tooltip","data-trigger","manual","data-placement","bottom"],hostVars:3,hostBindings:function(e,t){2&e&&(r.\u0275\u0275attribute("data-original-title",t.originalTitle),r.\u0275\u0275classProp("lvemanager-with_error",t.error))},inputs:{format:"format",icon:"icon",placeholder:"placeholder",updateOn:"updateOn",prefix:"prefix"},features:[r.\u0275\u0275ProvidersFeature([{provide:a.NG_VALUE_ACCESSOR,useExisting:f,multi:!0}]),r.\u0275\u0275InheritDefinitionFeature],ngContentSelectors:["*"],decls:5,vars:22,consts:[[4,"ngIf"],["type","text",3,"ngModel","ngModelOptions","disabled","placeholder","ngStyle","ngModelChange"],["prefixLabel",""]],template:function(e,t){1&e&&(r.\u0275\u0275projectionDef(),r.\u0275\u0275template(0,u,3,1,"label",0),r.\u0275\u0275elementStart(1,"input",1),r.\u0275\u0275listener("ngModelChange",(function(e){return t.innerValue=e})),r.\u0275\u0275pipe(2,"lvemanagerPrefixer"),r.\u0275\u0275pipe(3,"translate"),r.\u0275\u0275elementEnd(),r.\u0275\u0275projection(4)),2&e&&(r.\u0275\u0275property("ngIf",t.prefix),r.\u0275\u0275advance(1),r.\u0275\u0275classMapInterpolate2("",r.\u0275\u0275pipeBind1(2,14,t.format),"-format lvemanager-icon-",t.icon,""),r.\u0275\u0275classProp("lvemanager-icon",t.icon),r.\u0275\u0275property("ngModel",t.innerValue)("ngModelOptions",r.\u0275\u0275pureFunction1(18,g,t.updateOn))("disabled",t.disabled)("placeholder",r.\u0275\u0275pipeBind1(3,16,t.placeholder))("ngStyle",r.\u0275\u0275pureFunction1(20,m,t.paddingLeft)),r.\u0275\u0275attribute("id",t.id)("name",t.name))},directives:[l.NgIf,c.DefaultValueAccessor,c.NgControlStatus,c.NgModel,l.NgStyle],pipes:[d.LvemanagerPrefixerPipe,s.TranslatePipe],styles:["[_nghost-%COMP%]{border-radius:3px;background-color:#ffffff;border:solid 1px #bebebe;height:32px !important;text-align:center;display:inline-block;position:relative}.lvemanager-with_error[_nghost-%COMP%]{border-color:red}[disabled][_nghost-%COMP%]{opacity:.4;cursor:not-allowed}[_nghost-%COMP%] input[_ngcontent-%COMP%]{position:absolute;top:0;left:0;width:100%;font-size:13px;font-family:'Noto Sans',sans-serif;color:#262626;height:100%;padding:0 3px;outline:none;border:none}[icon][_nghost-%COMP%]{width:190px}label[_ngcontent-%COMP%]{position:absolute;left:0;font-size:13px;font-weight:normal;font-style:normal;padding-left:5px;color:#BABABA}input[_ngcontent-%COMP%]{text-align:center}input.lvemanager-icon[_ngcontent-%COMP%]{padding-left:38px;text-align:left}input.lvemanager-icon-search[_ngcontent-%COMP%]{background:url('data:image/svg+xml;base64,PHN2ZyBmaWxsPSIjMmI5OGYwIiBoZWlnaHQ9IjI0IiB2aWV3Qm94PSIwIDAgMjQgMjQiIHdpZHRoPSIyNCIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4NCiAgICA8cGF0aCBkPSJNMTUuNSAxNGgtLjc5bC0uMjgtLjI3QzE1LjQxIDEyLjU5IDE2IDExLjExIDE2IDkuNSAxNiA1LjkxIDEzLjA5IDMgOS41IDNTMyA1LjkxIDMgOS41IDUuOTEgMTYgOS41IDE2YzEuNjEgMCAzLjA5LS41OSA0LjIzLTEuNTdsLjI3LjI4di43OWw1IDQuOTlMMjAuNDkgMTlsLTQuOTktNXptLTYgMEM3LjAxIDE0IDUgMTEuOTkgNSA5LjVTNy4wMSA1IDkuNSA1IDE0IDcuMDEgMTQgOS41IDExLjk5IDE0IDkuNSAxNHoiLz4NCiAgICA8cGF0aCBkPSJNMCAwaDI0djI0SDB6IiBmaWxsPSJub25lIi8+DQo8L3N2Zz4=') no-repeat scroll 10px center #fff}"]})},577:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ShowMoreDirective=void 0;n(0);const a=n(0);class i{constructor(e){this.el=e,this.showMoreButtonText="Show more",this.showLessButtonText="Show less",this.directiveClass="lvemanager-show-more-directive",this.opened=!1,this.styles={opened:"white-space: break-spaces;",collapsed:"overflow: hidden;text-overflow: ellipsis; white-space: nowrap;"},this.element=e.nativeElement}ngAfterViewInit(){this.applyShowMore()}applyShowMore(){const e=this.opened?this.styles.opened:this.styles.collapsed;this.element.setAttribute("style",e),this.addShowButton()}addShowButton(){const e=this.element.getElementsByClassName(this.directiveClass)[0];if(e&&(e.removeEventListener("click",this.onClickMore),this.element.removeChild(e)),this.contentNotFit()||this.opened){const e=document.createElement("a");e.style.display="flex",e.setAttribute("class",this.directiveClass),e.innerHTML=this.opened?this.showLessButtonText:this.showMoreButtonText,e.addEventListener("click",this.onClickMore.bind(this),!1),this.element.appendChild(e)}}contentNotFit(){return this.element.offsetWidth<this.element.scrollWidth}onClickMore(){this.opened=!this.opened,this.applyShowMore()}}t.ShowMoreDirective=i,i.\u0275fac=function(e){return new(e||i)(a.\u0275\u0275directiveInject(a.ElementRef))},i.\u0275dir=a.\u0275\u0275defineDirective({type:i,selectors:[["","showMore",""]],inputs:{showMoreButtonText:"showMoreButtonText",showLessButtonText:"showLessButtonText"}})},578:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.AwpAdviceViewerComponent=void 0;const a=n(3),i=(n(0),n(420)),o=(n(136),n(65),n(89),n(289)),r=(n(124),n(22),n(0)),s=n(65),l=n(136),c=n(89),d=n(22),p=n(124),u=n(1),g=n(579);function m(e,t){1&e&&(r.\u0275\u0275elementStart(0,"span",2),r.\u0275\u0275text(1),r.\u0275\u0275pipe(2,"translate"),r.\u0275\u0275elementEnd()),2&e&&(r.\u0275\u0275advance(1),r.\u0275\u0275textInterpolate(r.\u0275\u0275pipeBind1(2,1,"AWP.no_advice")))}function f(e,t){if(1&e){const e=r.\u0275\u0275getCurrentView();r.\u0275\u0275elementStart(0,"a",3),r.\u0275\u0275listener("click",(function(){r.\u0275\u0275restoreView(e);return r.\u0275\u0275nextContext().open()})),r.\u0275\u0275text(1),r.\u0275\u0275pipe(2,"translate"),r.\u0275\u0275pipe(3,"adviceAvailability"),r.\u0275\u0275elementEnd()}if(2&e){const e=r.\u0275\u0275nextContext();r.\u0275\u0275advance(1),r.\u0275\u0275textInterpolate(r.\u0275\u0275pipeBind1(2,1,r.\u0275\u0275pipeBind1(3,3,e.data.advice)))}}class v{constructor(e,t,n,a,i){this.dialog=e,this.adviceRepo=t,this.awpRepo=n,this.translateService=a,this.analytics=i}openAdviceDetails(){return a.__awaiter(this,void 0,void 0,(function*(){for(const e of this.data.advice){const t=yield this.adviceRepo.adviceDetails(e.id);e.details=t.data}this.analyticsEventAdviceDetailsDisplayed().then(),this.dialog.open(i.AdviceDetailsComponent,{panelClass:"lvemanager-advice-details-modal-panel",data:this.data.advice})}))}analyticsEventAdviceDetailsDisplayed(){return a.__awaiter(this,void 0,void 0,(function*(){let e=[];this.data.advice.forEach((t=>{"review"===t.advice.status&&e.push(t.advice.id)})),e.length&&(yield this.analytics.sendEventForAdvice(e.join(","),"advice_details_displayed"))}))}openPaymentPendingModal(){return a.__awaiter(this,void 0,void 0,(function*(){this.dialog.open(o.AwpPaymentProcessingComponent,{panelClass:"lvemanager-awp-payment-processing-modal-panel",data:{header:this.translateService.instant("AWP.awp_feature_modal_title"),website:this.data.domains[0],title:this.translateService.instant("AWP.payment_pending"),description:this.translateService.instant("AWP.payment_pending_explanation")}})}))}open(){return a.__awaiter(this,void 0,void 0,(function*(){this.paymentPending()?yield this.openPaymentPendingModal():yield this.openAdviceDetails()}))}paymentPending(){for(let e in this.data.features)if(this.awpRepo.paymentPending(e))return!0;return!1}hasEnabledModules(){return Object.values(this.data.features).some((e=>e.enabled))}showNoAdvice(){var e;return!(null===(e=this.data)||void 0===e?void 0:e.advice.length)&&!this.hasEnabledModules()}}t.AwpAdviceViewerComponent=v,v.\u0275fac=function(e){return new(e||v)(r.\u0275\u0275directiveInject(s.MatDialog),r.\u0275\u0275directiveInject(l.AdviceRepo),r.\u0275\u0275directiveInject(c.AwpRepo),r.\u0275\u0275directiveInject(d.TranslateService),r.\u0275\u0275directiveInject(p.Analytics))},v.\u0275cmp=r.\u0275\u0275defineComponent({type:v,selectors:[["awp-advice-viewer"]],inputs:{data:"data"},decls:3,vars:2,consts:[["class","lvemanager-awp-advice-viewer__no-advice",4,"ngIf","ngIfElse"],["adviceOpen",""],[1,"lvemanager-awp-advice-viewer__no-advice"],[1,"lvemanager-awp-advice-viewer__open-btn",3,"click"]],template:function(e,t){if(1&e&&(r.\u0275\u0275template(0,m,3,3,"span",0),r.\u0275\u0275template(1,f,4,5,"ng-template",null,1,r.\u0275\u0275templateRefExtractor)),2&e){const e=r.\u0275\u0275reference(2);r.\u0275\u0275property("ngIf",t.showNoAdvice())("ngIfElse",e)}},directives:[u.NgIf],pipes:[d.TranslatePipe,g.AwpAdviceAvailabilityPipe],styles:[".lvemanager-awp-advice-viewer__open-btn[_ngcontent-%COMP%]{font-family:'Open Sans',sans-serif;font-style:normal;font-weight:400;font-size:13px;text-decoration-line:underline;color:#2B98F0;margin-right:5px;cursor:pointer}.lvemanager-awp-advice-viewer__no-advice[_ngcontent-%COMP%]{font-family:'Open Sans',sans-serif;font-style:normal;font-weight:400;font-size:13px;margin-right:5px}"]})},579:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.AwpAdviceAvailabilityPipe=void 0;n(0);const a=n(345),i=(n(22),n(0)),o=n(22);class r{constructor(e){this.translateService=e}transform(e){return e.length?e.every((e=>e.advice.status===a.AdviceStatus.applied))?this.translateService.instant("AWP.active"):e.some((e=>e.advice.status===a.AdviceStatus.review))?this.translateService.instant("AWP.advice_available"):void 0:""}}t.AwpAdviceAvailabilityPipe=r,r.\u0275fac=function(e){return new(e||r)(i.\u0275\u0275directiveInject(o.TranslateService))},r.\u0275pipe=i.\u0275\u0275definePipe({name:"adviceAvailability",type:r,pure:!0})},580:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.AwpModuleViewerComponent=void 0;n(0);const a=n(0),i=n(581);class o{}t.AwpModuleViewerComponent=o,o.\u0275fac=function(e){return new(e||o)},o.\u0275cmp=a.\u0275\u0275defineComponent({type:o,selectors:[["awp-module-viewer"]],inputs:{data:"data"},decls:1,vars:1,consts:[[3,"data"]],template:function(e,t){1&e&&a.\u0275\u0275element(0,"awp-enabling-features",0),2&e&&a.\u0275\u0275property("data",t.data)},directives:[i.AwpEnablingFeaturesComponent],styles:[""]})},581:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.AwpEnablingFeaturesComponent=t.LIMIT_1GB=t.MODULE_TO_AGREEMENTS=void 0;const a=n(3),i=(n(0),n(187)),o=(n(65),n(89),n(88),n(561)),r=n(564),s=n(289),l=n(424),c=n(421),d=n(345),p=(n(22),n(124),n(0)),u=n(65),g=n(89),m=n(22),f=n(88),v=n(124),h=n(1),_=n(148),b=n(582),C=n(584),w=n(53),x=n(585),M=n(422),y=n(417),P=n(164),O=n(426),S=["updateFeatures"];function A(e,t){1&e&&(p.\u0275\u0275elementStart(0,"div",6),p.\u0275\u0275text(1),p.\u0275\u0275pipe(2,"translate"),p.\u0275\u0275elementEnd()),2&e&&(p.\u0275\u0275advance(1),p.\u0275\u0275textInterpolate(p.\u0275\u0275pipeBind1(2,1,"AWP.active")))}function E(e,t){1&e&&(p.\u0275\u0275elementStart(0,"i",7),p.\u0275\u0275pipe(1,"translate"),p.\u0275\u0275text(2,"error"),p.\u0275\u0275elementEnd()),2&e&&p.\u0275\u0275property("tooltip",p.\u0275\u0275pipeBind1(1,1,"AWP.module_incompatibility_detected"))}function k(e,t){1&e&&(p.\u0275\u0275elementStart(0,"p",19),p.\u0275\u0275text(1),p.\u0275\u0275pipe(2,"translate"),p.\u0275\u0275elementEnd()),2&e&&(p.\u0275\u0275advance(1),p.\u0275\u0275textInterpolate(p.\u0275\u0275pipeBind1(2,1,"AWP.awp_feature_modal_note")))}const I=function(e){return[e]};function D(e,t){if(1&e){const e=p.\u0275\u0275getCurrentView();p.\u0275\u0275elementStart(0,"ui-switcher",26),p.\u0275\u0275listener("ngModelChange",(function(t){p.\u0275\u0275restoreView(e);const n=p.\u0275\u0275nextContext(2).$implicit;return p.\u0275\u0275nextContext(2).data.features[n.key].enabled=t}))("change",(function(){p.\u0275\u0275restoreView(e);const t=p.\u0275\u0275nextContext(2).$implicit,n=p.\u0275\u0275nextContext(2);return n.toggleAwpModule(t.key,n.data.features[t.key].enabled)})),p.\u0275\u0275element(1,"ui-spinner",27),p.\u0275\u0275elementEnd()}if(2&e){const e=p.\u0275\u0275nextContext(2).$implicit,t=p.\u0275\u0275nextContext(2);p.\u0275\u0275property("id","switchAccelerateWpFeature__"+p.\u0275\u0275pureFunction1(4,I,e.key))("ngModel",t.data.features[e.key].enabled)("disabled",t.data.features[e.key].loading||e.value.issues&&!t.data.features[e.key].enabled),p.\u0275\u0275advance(1),p.\u0275\u0275property("show",t.data.features[e.key].loading)}}function T(e,t){if(1&e){const e=p.\u0275\u0275getCurrentView();p.\u0275\u0275elementStart(0,"ui-checkbox",28),p.\u0275\u0275listener("ngModelChange",(function(t){p.\u0275\u0275restoreView(e);const n=p.\u0275\u0275nextContext(2).$implicit;return p.\u0275\u0275nextContext(2).data.features[n.key].enabled=t}))("ngModelChange",(function(){p.\u0275\u0275restoreView(e);return p.\u0275\u0275nextContext(4).detectModulesToListen()})),p.\u0275\u0275elementEnd()}if(2&e){const e=p.\u0275\u0275nextContext(2).$implicit,t=p.\u0275\u0275nextContext(2);p.\u0275\u0275property("id","upgradeAccelerateWpFeature__"+p.\u0275\u0275pureFunction1(3,I,e.key))("disabled",e.value.issues)("ngModel",t.data.features[e.key].enabled)}}function F(e,t){1&e&&p.\u0275\u0275element(0,"span",33)}function j(e,t){if(1&e){const e=p.\u0275\u0275getCurrentView();p.\u0275\u0275elementContainerStart(0),p.\u0275\u0275element(1,"ui-simple-info",29),p.\u0275\u0275pipe(2,"translate"),p.\u0275\u0275pipe(3,"translate"),p.\u0275\u0275elementStart(4,"ui-button",30),p.\u0275\u0275listener("clickAction",(function(t){p.\u0275\u0275restoreView(e);const n=p.\u0275\u0275nextContext(4);return n.onBillingUrlOpen(t,n.AwpModuleName.cdn)})),p.\u0275\u0275pipe(5,"translate"),p.\u0275\u0275elementStart(6,"i",31),p.\u0275\u0275text(7,"open_in_new"),p.\u0275\u0275elementEnd(),p.\u0275\u0275text(8),p.\u0275\u0275pipe(9,"translate"),p.\u0275\u0275template(10,F,1,0,"span",32),p.\u0275\u0275elementEnd(),p.\u0275\u0275elementContainerEnd()}if(2&e){const e=p.\u0275\u0275nextContext(4);p.\u0275\u0275advance(1),p.\u0275\u0275property("icon","warning_amber")("title",p.\u0275\u0275pipeBind1(2,11,"AWP.cdn_subscription_limit_reached_title"))("message",p.\u0275\u0275pipeBind1(3,13,"AWP.cdn_subscription_limit_reached_description")),p.\u0275\u0275advance(3),p.\u0275\u0275styleMap("primary"),p.\u0275\u0275property("upper",!1)("disabled",e.windowOpened||!(null!=e.awpRepo.upgradeUrlSubject$.value&&e.awpRepo.upgradeUrlSubject$.value.cdn))("tooltip",null!=e.awpRepo.upgradeUrlSubject$.value&&e.awpRepo.upgradeUrlSubject$.value.cdn?"":p.\u0275\u0275pipeBind1(5,15,"AWP.upgrade_url_not_set_tooltip"))("customClass","upgrade-subscription-button upgrade-subscription-button__cdn"),p.\u0275\u0275advance(4),p.\u0275\u0275textInterpolate1(" ",p.\u0275\u0275pipeBind1(9,17,"AWP.upgrade_button_text")," "),p.\u0275\u0275advance(2),p.\u0275\u0275property("ngIf",e.windowOpened)}}function R(e,t){if(1&e&&(p.\u0275\u0275elementContainerStart(0),p.\u0275\u0275element(1,"awp-issues",34),p.\u0275\u0275elementContainerEnd()),2&e){const e=p.\u0275\u0275nextContext(2).$implicit;p.\u0275\u0275advance(1),p.\u0275\u0275property("issues",e.value.issues)}}const L=function(e){return{cdnCurrentPlan:e}};function N(e,t){if(1&e&&(p.\u0275\u0275elementStart(0,"div"),p.\u0275\u0275elementStart(1,"div",21),p.\u0275\u0275template(2,D,2,6,"ui-switcher",22),p.\u0275\u0275template(3,T,1,5,"ui-checkbox",23),p.\u0275\u0275elementStart(4,"div",24),p.\u0275\u0275element(5,"ui-form-element",25),p.\u0275\u0275pipe(6,"translate"),p.\u0275\u0275pipe(7,"translate"),p.\u0275\u0275template(8,j,11,19,"ng-container",20),p.\u0275\u0275template(9,R,2,1,"ng-container",20),p.\u0275\u0275elementEnd(),p.\u0275\u0275elementEnd(),p.\u0275\u0275elementEnd()),2&e){const e=p.\u0275\u0275nextContext().$implicit,t=p.\u0275\u0275nextContext(2);p.\u0275\u0275advance(2),p.\u0275\u0275property("ngIf",t.showManageSwitcher(e)),p.\u0275\u0275advance(1),p.\u0275\u0275property("ngIf",t.showUpgradeSubscriptionCheckboxes()),p.\u0275\u0275advance(2),p.\u0275\u0275property("title",t.getModuleTitleText(e.key))("titleLabel",t.isRecommended(e.key)?p.\u0275\u0275pipeBind1(6,8,"AWP.feature_recommended"):"")("description",t.getModuleDescription(e.key))("smallDescription","cdn"==e.key&&t.cdnCurrentPlan&&e.value.enabled?p.\u0275\u0275pipeBind2(7,10,"AWP.cdn_current_plan",p.\u0275\u0275pureFunction1(13,L,t.cdnCurrentPlan)):""),p.\u0275\u0275advance(3),p.\u0275\u0275property("ngIf",t.subscriptionLimitReached(e.key)),p.\u0275\u0275advance(1),p.\u0275\u0275property("ngIf",null==e.value?null:e.value.issues)}}function B(e,t){if(1&e&&(p.\u0275\u0275elementContainerStart(0),p.\u0275\u0275template(1,N,10,15,"div",20),p.\u0275\u0275elementContainerEnd()),2&e){const e=t.$implicit;p.\u0275\u0275advance(1),p.\u0275\u0275property("ngIf",!e.value.hidden)}}function z(e,t){1&e&&p.\u0275\u0275element(0,"span",33)}function U(e,t){if(1&e){const e=p.\u0275\u0275getCurrentView();p.\u0275\u0275elementStart(0,"ui-button",30),p.\u0275\u0275listener("clickAction",(function(t){p.\u0275\u0275restoreView(e);const n=p.\u0275\u0275nextContext(2);return n.onBillingUrlOpen(t,n.AwpModuleName.object_cache)})),p.\u0275\u0275pipe(1,"translate"),p.\u0275\u0275elementStart(2,"i",31),p.\u0275\u0275text(3,"open_in_new"),p.\u0275\u0275elementEnd(),p.\u0275\u0275text(4),p.\u0275\u0275pipe(5,"translate"),p.\u0275\u0275template(6,z,1,0,"span",32),p.\u0275\u0275elementEnd()}if(2&e){const e=p.\u0275\u0275nextContext(2);p.\u0275\u0275styleMap("primary"),p.\u0275\u0275property("upper",!1)("disabled",e.isDisabledUpgrade())("tooltip",null!=e.awpRepo.upgradeUrlSubject$.value&&e.awpRepo.upgradeUrlSubject$.value.object_cache?"":p.\u0275\u0275pipeBind1(1,8,"AWP.upgrade_url_not_set_tooltip"))("customClass","upgrade-subscription-button"),p.\u0275\u0275advance(4),p.\u0275\u0275textInterpolate1(" ",p.\u0275\u0275pipeBind1(5,10,"AWP.billing.upgrade_subscription")," "),p.\u0275\u0275advance(2),p.\u0275\u0275property("ngIf",e.windowOpened)}}function W(e,t){if(1&e&&(p.\u0275\u0275elementStart(0,"h2",8),p.\u0275\u0275text(1),p.\u0275\u0275pipe(2,"translate"),p.\u0275\u0275elementStart(3,"i",9),p.\u0275\u0275text(4,"close"),p.\u0275\u0275elementEnd(),p.\u0275\u0275elementEnd(),p.\u0275\u0275elementStart(5,"span",10),p.\u0275\u0275text(6),p.\u0275\u0275elementEnd(),p.\u0275\u0275elementStart(7,"mat-dialog-content",11),p.\u0275\u0275template(8,k,3,3,"p",12),p.\u0275\u0275elementStart(9,"div",13),p.\u0275\u0275template(10,B,2,1,"ng-container",14),p.\u0275\u0275pipe(11,"keyvalue"),p.\u0275\u0275elementStart(12,"div",15),p.\u0275\u0275template(13,U,7,12,"ui-button",16),p.\u0275\u0275elementEnd(),p.\u0275\u0275elementEnd(),p.\u0275\u0275elementStart(14,"div",17),p.\u0275\u0275elementStart(15,"button",18),p.\u0275\u0275text(16),p.\u0275\u0275pipe(17,"translate"),p.\u0275\u0275elementEnd(),p.\u0275\u0275elementEnd(),p.\u0275\u0275elementEnd()),2&e){const e=p.\u0275\u0275nextContext();p.\u0275\u0275advance(1),p.\u0275\u0275textInterpolate1(" ",p.\u0275\u0275pipeBind1(2,6,"AWP.awp_feature_modal_title")," "),p.\u0275\u0275advance(5),p.\u0275\u0275textInterpolate(e.data.domains.join(", ")),p.\u0275\u0275advance(2),p.\u0275\u0275property("ngIf",!(null!=e.data&&(null!=e.data.advice&&e.data.advice.length))),p.\u0275\u0275advance(2),p.\u0275\u0275property("ngForOf",p.\u0275\u0275pipeBind1(11,8,e.data.features)),p.\u0275\u0275advance(3),p.\u0275\u0275property("ngIf",e.data.premiumGroup&&e.awpRepo.paymentRequired(e.AwpModuleName.object_cache)),p.\u0275\u0275advance(3),p.\u0275\u0275textInterpolate(p.\u0275\u0275pipeBind1(17,10,"AWP.cancel_button_text"))}}t.MODULE_TO_AGREEMENTS={cdn:"CDN"},t.LIMIT_1GB=1073741824;class H{constructor(e,t,n,a,o){this.dialog=e,this.awpRepo=t,this.translateService=n,this.notifications=a,this.analytics=o,this.AwpSubscriptionStatus=i.AwpSubscriptionStatus,this.AwpModuleName=i.AwpModuleName,this.windowOpened=!1,this.billingUrl=this.awpRepo.upgradeUrlSubject$.value,this.currentModalRef=null}onPayout(e){return a.__awaiter(this,void 0,void 0,(function*(){this.windowOpened&&"PAYMENT_SUCCESS"===e.data&&(this.awpRepo.billingRequestSubject$.next({listen:"",domain:this.data.domains[0],"wp-path":this.data.path,feature:this.moduleToListen}),yield this.awpRepo.subscriptionListen(),this.billingWindow&&this.billingWindow.close(),this.openPaymentPendingModal(),this.analyticsEventPurchaseDone().then())}))}ngOnInit(){this.defineCDNState()}open(){this.paymentPending()?this.openPaymentPendingModal():this.openFeatureModal()}openFeatureModal(){this.currentModalRef=this.dialog.open(this.updateFeaturesModal,{panelClass:"lvemanager-awp-manual-enable-modal-panel",data:{modalTitle:this.translateService.instant("AWP.incompatibility_modal_title"),issueType:i.AwpIssueType.incompatibility}}),this.currentModalRef.afterClosed().subscribe((e=>{if(!e&&this.showUpgradeSubscriptionCheckboxes())for(const e in this.data.features)this.data.features[e].enabled=!1}))}openPaymentPendingModal(){this.dialog.open(s.AwpPaymentProcessingComponent,{panelClass:"lvemanager-awp-payment-processing-modal-panel",data:{header:this.translateService.instant("AWP.awp_feature_modal_title"),website:this.data.domains[0],title:this.translateService.instant("AWP.payment_pending"),description:this.translateService.instant("AWP.payment_pending_explanation")}})}paymentPending(){for(let e in this.data.features)if(this.awpRepo.paymentPending(e))return!0;return!1}toggleAwpModule(e,n){return a.__awaiter(this,void 0,void 0,(function*(){if(this.awpRepo.agreementRequired(t.MODULE_TO_AGREEMENTS[e])){yield this.awpRepo.cdnAgreementText();const t=this.dialog.open(c.AwpAgreementComponent,{panelClass:"lvemanager-awp-terms-of-conditions-modal-panel"});if(!(yield t.afterClosed().toPromise()))return void(this.data.features[e].enabled=!1);yield this.awpRepo.userAction(i.AwpModuleAction.agreement,{approve:e}),yield this.awpRepo.agreementStatus()}this.data.features[e].loading=!0;const a=n?i.AwpModuleAction.enable:i.AwpModuleAction.disable;yield this.awpRepo.userAction(a,{domain:this.data.domains[0],"wp-path":this.data.path,feature:e}).then((t=>{t.result===r.ResponseStatus.rollback&&(this.data.features[e].enabled=!1,this.processRollback(this.data,a,e,t.issues)),t.result===r.ResponseStatus.success&&this.processSuccessResult(this.data,a,e,t)})).catch((t=>{this.processError(this.data,a,e,t)}))}))}processRollback(e,t,n,o){this.dialog.open(l.AwpPostIssuesComponent,{data:{modalTitle:this.translateService.instant("AWP.post_check_issues_detected_modal_title"),issues:o,issueType:i.AwpIssueType.post_check}}).afterClosed().subscribe((i=>a.__awaiter(this,void 0,void 0,(function*(){i&&(yield this.awpRepo.userAction(t,{domain:e.domains[0],"wp-path":e.path,feature:n,"ignore-errors":""}).then((a=>{this.processSuccessResult(e,t,n,a)})).catch((a=>{this.processError(e,t,n,a)}))),this.data.features[n].loading=!1}))))}processSuccessResult(e,t,n,a){e.features[n].enabled=a.feature.enabled,e.features[n].issues=a.feature.issues;const i=this.getSuccessMessageOnAction(t);this.notifications.success("Success",i),this.data.features[n].loading=!1,this.awpRepo.updateTrigger$.next(!0)}getSuccessMessageOnAction(e){return e===i.AwpModuleAction.enable?this.translateService.instant("AWP.module_enable_success_message"):e===i.AwpModuleAction.disable?this.translateService.instant("AWP.module_disable_success_message"):this.translateService.instant("Success")}processError(e,t,n,a){if(a.result){const t=a.details?`${a.result} ${a.details}`:a.result;e.features[n].issues=[{description:t,fix_tip:null,type:"error",context:a.context}]}e.features[n].enabled=!(t===i.AwpModuleAction.enable),this.data.features[n].loading=!1}onBillingUrlOpen(e,t){if(this.detectModulesToListen(),this.windowOpened)return;this.billingWindow=window.open(this.billingUrl[t],"","toolbar=0,status=0,width=1100,height=640"),this.windowOpened=!0;const n=setInterval((()=>{var e;this.billingWindow.closed&&(this.windowOpened=!1,null===(e=this.currentModalRef)||void 0===e||e.close(),clearInterval(n))}).bind(this),500);e.preventDefault(),this.analyticsEventUpgradeButtonClicked().then()}detectModulesToListen(){const e=[];for(const t in this.data.features)this.data.features[t].enabled&&!this.data.features[t].issues&&e.push(t);this.moduleToListen=e.join()}showManageSwitcher(e){return!this.data.premiumGroup||this.data.premiumGroup&&this.awpRepo.payed(i.AwpModuleName.object_cache)}showUpgradeSubscriptionCheckboxes(){return this.data.premiumGroup&&this.awpRepo.paymentRequired(i.AwpModuleName.object_cache)}subscriptionLimitReached(e){var t;if(e===i.AwpModuleName.cdn){const e=this.awpRepo.subscriptionStateSubject$.value.cdn;return!!(null===(t=null==e?void 0:e.usage)||void 0===t?void 0:t.warning)}return!1}isRecommended(e){return!!this.data.advice&&this.data.advice.some((t=>t.relatedFeature===e))}defineCDNState(){this.cdnDefineCurrentPlan(),this.defineCDNAdviceVisibility()}cdnDefineCurrentPlan(){var e;if(null===(e=this.data.features)||void 0===e?void 0:e.cdn){const e=this.getCDNLimit();e===t.LIMIT_1GB?this.cdnCurrentPlan=this.translateService.instant("AWP.cdn_1gb_free"):e>t.LIMIT_1GB?this.cdnCurrentPlan=e/Math.pow(1024,3)+"GB":this.cdnCurrentPlan=""}}hasEnabledModules(){return Object.values(this.data.features).some((e=>e.enabled))}activeWithoutAdvice(){var e;return this.hasEnabledModules()&&!(null===(e=this.data)||void 0===e?void 0:e.advice.length)}hasCDNPro(){const e=this.isCDNSubscriptionActive(),n=this.getCDNLimit();return e&&n>t.LIMIT_1GB}hasCDNAdvice(){return this.data.advice.some((e=>e.advice.type===d.AdviceType.cdn))}hasCDNModuleEnabled(){var e,t;return null===(t=null===(e=this.data.features)||void 0===e?void 0:e.cdn)||void 0===t?void 0:t.enabled}isCDNSubscriptionActive(){var e;return(null===(e=this.awpRepo.subscriptionStateSubject$.value.cdn)||void 0===e?void 0:e.status)===i.AwpSubscriptionStatus.active}getCDNLimit(){var e,t,n,a;return(null===(a=null===(n=null===(t=null===(e=this.awpRepo.subscriptionStateSubject$.value)||void 0===e?void 0:e.cdn)||void 0===t?void 0:t.usage)||void 0===n?void 0:n.bandwidth)||void 0===a?void 0:a.limit)||0}defineCDNAdviceVisibility(){var e;this.cdnProAvailable=this.hasCDNPro(),this.data.features.cdn&&(this.hasCDNPro()||this.hasCDNAdvice()||this.hasCDNModuleEnabled())&&(this.data.features.cdn.hidden=!1,this.data.errorsCount+=(null===(e=this.data.features.cdn.issues)||void 0===e?void 0:e.length)||0)}getModuleTitleText(e){if(e===i.AwpModuleName.cdn&&!this.hasCDNPro()){return`${this.translateService.instant("AWP.module_cdn.name",{})} (${this.translateService.instant("AWP.cdn_1gb_free",{})})`}return e===i.AwpModuleName.accelerate_wp?this.translateService.instant("AWP.module_accelerate_wp.name"):e===i.AwpModuleName.critical_css?this.translateService.instant("AWP.module_critical_css.name"):e===i.AwpModuleName.image_optimization?this.translateService.instant("AWP.module_image_optimization.name"):e===i.AwpModuleName.object_cache?this.translateService.instant("AWP.module_object_cache.name"):void 0}getModuleDescription(e){return e===i.AwpModuleName.cdn?this.translateService.instant("AWP.module_cdn.short_description"):e===i.AwpModuleName.accelerate_wp?this.translateService.instant("AWP.module_accelerate_wp.short_description"):e===i.AwpModuleName.critical_css?this.translateService.instant("AWP.module_critical_css.short_description"):e===i.AwpModuleName.image_optimization?this.translateService.instant("AWP.module_image_optimization.short_description"):e===i.AwpModuleName.object_cache?this.translateService.instant("AWP.module_object_cache.short_description"):void 0}isDisabledUpgrade(){var e;return this.windowOpened||!(null===(e=this.awpRepo.upgradeUrlSubject$.value)||void 0===e?void 0:e.object_cache)||!this.hasEnabledModules()}analyticsEventUpgradeButtonClicked(){return a.__awaiter(this,void 0,void 0,(function*(){let e=[];for(const t in this.data.features)this.data.features[t].enabled&&e.push(t);e.length&&(yield this.analytics.sendEventForFeature(e.join(","),"awp_purchase_button_clicked"))}))}analyticsEventPurchaseDone(){return a.__awaiter(this,void 0,void 0,(function*(){let e=[];for(const t in this.data.features)this.data.features[t].enabled&&e.push(t);e.length&&(yield this.analytics.sendEventForFeature(e.join(","),"awp_purchase_done"))}))}}H.\u0275fac=function(e){return new(e||H)(p.\u0275\u0275directiveInject(u.MatDialog),p.\u0275\u0275directiveInject(g.AwpRepo),p.\u0275\u0275directiveInject(m.TranslateService),p.\u0275\u0275directiveInject(f.ActionNotificationService),p.\u0275\u0275directiveInject(v.Analytics))},H.\u0275cmp=p.\u0275\u0275defineComponent({type:H,selectors:[["awp-enabling-features"]],viewQuery:function(e,t){var n;(1&e&&p.\u0275\u0275viewQuery(S,!0),2&e)&&(p.\u0275\u0275queryRefresh(n=p.\u0275\u0275loadQuery())&&(t.updateFeaturesModal=n.first))},hostBindings:function(e,t){1&e&&p.\u0275\u0275listener("message",(function(e){return t.onPayout(e)}),!1,p.\u0275\u0275resolveWindow)},inputs:{data:"data"},decls:8,vars:5,consts:[[1,"lvemanager-awp-enabling-feature-viewer"],["class","lvemanager-awp-active-without-advice",4,"ngIf"],[1,"lvemanager-module-features",3,"click"],["class","material-icons-outlined lvemanager-awp-module-error-icon",3,"tooltip",4,"ngIf"],[1,"lvemanager-awp-feature-settings-icon",3,"tooltip"],["updateFeatures",""],[1,"lvemanager-awp-active-without-advice"],[1,"material-icons-outlined","lvemanager-awp-module-error-icon",3,"tooltip"],["mat-dialog-title","",1,"lvemanager-awp-feature__title"],["mat-dialog-close","",1,"material-icons","lvemanager-awp-feature__title--close-dialog-button"],[1,"lvemanager-subtitle-title"],[1,"lvemanager-mat-typography"],["class","lvemanager-feature-note",4,"ngIf"],[1,"lvemanager-form-container"],[4,"ngFor","ngForOf"],[1,"lvemanager-form-container__upgrade"],["placement","right",3,"style","upper","disabled","tooltip","customClass","clickAction",4,"ngIf"],[1,"lvemanager-awp-feature__actions"],["mat-dialog-close","",1,"lvemanager-close-dialog-btn"],[1,"lvemanager-feature-note"],[4,"ngIf"],[1,"lvemanager-form-container__switch"],["class","lvemanager-enable-switcher",3,"id","ngModel","disabled","ngModelChange","change",4,"ngIf"],["class","lvemanager-awp-upgrade-subscription__checkbox",3,"id","disabled","ngModel","ngModelChange",4,"ngIf"],[1,"lvemanager-awp-feature-form-element"],[3,"title","titleLabel","description","smallDescription"],[1,"lvemanager-enable-switcher",3,"id","ngModel","disabled","ngModelChange","change"],[3,"show"],[1,"lvemanager-awp-upgrade-subscription__checkbox",3,"id","disabled","ngModel","ngModelChange"],[3,"icon","title","message"],["placement","right",3,"upper","disabled","tooltip","customClass","clickAction"],[1,"material-icons"],["class","lvemanager-progress-circle",4,"ngIf"],[1,"lvemanager-progress-circle"],[3,"issues"]],template:function(e,t){1&e&&(p.\u0275\u0275elementStart(0,"div",0),p.\u0275\u0275template(1,A,3,3,"div",1),p.\u0275\u0275elementStart(2,"div",2),p.\u0275\u0275listener("click",(function(){return t.open()})),p.\u0275\u0275template(3,E,3,3,"i",3),p.\u0275\u0275element(4,"i",4),p.\u0275\u0275pipe(5,"translate"),p.\u0275\u0275elementEnd(),p.\u0275\u0275elementEnd(),p.\u0275\u0275template(6,W,18,12,"ng-template",null,5,p.\u0275\u0275templateRefExtractor)),2&e&&(p.\u0275\u0275advance(1),p.\u0275\u0275property("ngIf",t.activeWithoutAdvice()),p.\u0275\u0275advance(2),p.\u0275\u0275property("ngIf",t.data.errorsCount),p.\u0275\u0275advance(1),p.\u0275\u0275property("tooltip",p.\u0275\u0275pipeBind1(5,3,"AWP.awp_feature_tooltip")))},directives:[h.NgIf,_.TooltipDirective,u.MatDialogTitle,u.MatDialogClose,u.MatDialogContent,h.NgForOf,b.UiFormElement,C.UiSwitcher,w.NgControlStatus,w.NgModel,x.UiSpinner,M.UiCheckbox,y.UiSimpleInfo,P.UiButton,O.AwpIssuesComponent],pipes:[m.TranslatePipe,h.KeyValuePipe],styles:['.lvemanager-awp-enabling-feature-viewer[_ngcontent-%COMP%]{display:flex;align-items:center}.lvemanager-awp-enabling-feature-viewer[_ngcontent-%COMP%] .lvemanager-module-features[_ngcontent-%COMP%]{position:relative;display:flex;align-items:center;font-family:"Open Sans",sans-serif;font-style:normal;font-weight:normal;font-size:13px;line-height:18px;color:#2B98F0;cursor:pointer}.lvemanager-awp-enabling-feature-viewer[_ngcontent-%COMP%] .lvemanager-module-features[_ngcontent-%COMP%] i[_ngcontent-%COMP%]{color:black;margin-right:10px;text-decoration:none}.lvemanager-awp-enabling-feature-viewer[_ngcontent-%COMP%] .lvemanager-module-features[_ngcontent-%COMP%] i.lvemanager-error[_ngcontent-%COMP%]{color:#FFB800}.lvemanager-awp-enabling-feature-viewer[_ngcontent-%COMP%] .lvemanager-module-features[_ngcontent-%COMP%] .lvemanager-awp-module-error-icon[_ngcontent-%COMP%]{color:#FF6161}.lvemanager-awp-enabling-feature-viewer[_ngcontent-%COMP%] .lvemanager-module-features[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{text-decoration:underline}.lvemanager-awp-enabling-feature-viewer[_ngcontent-%COMP%] .lvemanager-module-features[_ngcontent-%COMP%] bs-tooltip-container{width:150px}.lvemanager-awp-enabling-feature-viewer[_ngcontent-%COMP%] .lvemanager-awp-active-without-advice[_ngcontent-%COMP%]{display:flex;margin-right:5px}.lvemanager-manual-enable-dot[_ngcontent-%COMP%]{width:8px;position:absolute;height:8px;background-color:#2297ee;border-radius:100%;top:-4px;right:0px}.lvemanager-awp-feature__title[_ngcontent-%COMP%]{position:relative;font-size:20px;font-weight:bold;margin-bottom:5px}.lvemanager-awp-feature__title--close-dialog-button[_ngcontent-%COMP%]{width:16px;height:16px;color:#AFAFAF;position:absolute;top:0;right:0;font-weight:400;cursor:pointer}.lvemanager-awp-feature__actions[_ngcontent-%COMP%]{margin-top:40px;display:flex;justify-content:flex-end}.lvemanager-subtitle-title[_ngcontent-%COMP%]{display:flex;font-size:12px;margin-bottom:25px}.lvemanager-feature-note[_ngcontent-%COMP%]{margin-bottom:15px;padding:15px;background-color:#f0f6fb;border:1px solid #82c4f5;border-radius:4px}.lvemanager-form-container[_ngcontent-%COMP%]{display:flex;flex-direction:column;border:1px solid #DEE1EC;border-radius:4px;padding:20px}.lvemanager-form-container__switch[_ngcontent-%COMP%]{display:flex;align-items:baseline}.lvemanager-form-container__switch[_ngcontent-%COMP%] ui-switcher[_ngcontent-%COMP%]{top:-5px;margin-right:10px}.lvemanager-form-container__switch[_ngcontent-%COMP%] .lvemanager-awp-upgrade-subscription__checkbox[_ngcontent-%COMP%]{display:flex;margin-right:13px}.lvemanager-form-container__switch[_ngcontent-%COMP%] .lvemanager-awp-upgrade-subscription__checkbox[_ngcontent-%COMP%] span{margin:0 !important}.lvemanager-form-container__switch[_ngcontent-%COMP%] .lvemanager-row-wrapper .lvemanager-title-wrapper{width:100% !important;max-width:100% !important}.lvemanager-form-container__switch[_ngcontent-%COMP%] .lvemanager-row-wrapper .lvemanager-title-wrapper .lvemanager-title{font-family:\'Open Sans\',sans-serif;font-style:normal;font-weight:700 !important;font-size:16px;line-height:150%;color:#111928}.lvemanager-form-container__switch[_ngcontent-%COMP%] .lvemanager-row-wrapper .lvemanager-title-wrapper .lvemanager-description{width:100%}.lvemanager-form-container__upgrade[_ngcontent-%COMP%]{display:flex}.lvemanager-awp-feature-form-element[_ngcontent-%COMP%]{width:100%}.lvemanager-close-dialog-btn[_ngcontent-%COMP%]{min-width:77px;height:45px;outline:none;background:#FFFFFF;border:1px solid #DEE1EC;box-sizing:border-box;box-shadow:0 1px 1px #F4F4F3;border-radius:4px;font-weight:400} .lvemanager-upgrade-subscription-button{cursor:pointer;color:#fff;background:#2B98F0;padding:0 20px !important;height:40px !important} .lvemanager-upgrade-subscription-button i{margin-right:13px} .lvemanager-upgrade-subscription-button .lvemanager-progress-circle{content:"";width:23px;height:23px;margin-left:7px;display:inline-block;background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg%20width%3D%2223%22%20height%3D%2223%22%20viewBox%3D%220%200%2023%2023%22%20fill%3D%22none%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%0A%20%20%20%20%3Cpath%20d%3D%22M22.2747%2014.3405L19.8666%2013.6952C20.3893%2011.745%2020.2196%209.67391%2019.3864%207.8348C18.5532%205.99569%2017.1081%204.50236%2015.2974%203.60926C13.4866%202.71616%2011.4222%202.47855%209.45585%202.93691C7.48953%203.39527%205.74297%204.52124%204.51376%206.12297C3.28455%207.72471%202.64874%209.7031%202.71467%2011.7211C2.7806%2013.739%203.54419%2015.6717%204.87533%2017.1898C6.20647%2018.7079%208.02281%2019.7174%2010.0149%2020.0464C12.0069%2020.3755%2014.0514%2020.0036%2015.8%2018.9942L17.0467%2021.1536C14.7986%2022.4515%2012.17%2022.9298%209.60873%2022.5069C7.04749%2022.084%204.71212%2020.7862%203.00053%2018.8344C1.28894%2016.8827%200.307038%2014.3979%200.222122%2011.8034C0.137206%209.20886%200.954533%206.66516%202.53484%204.60569C4.11515%202.54622%206.36066%201.09842%208.88876%200.508969C11.4169%20-0.0804834%2014.0711%200.224886%2016.3993%201.37305C18.7275%202.5212%2020.5856%204.44111%2021.6569%206.80564C22.7283%209.17017%2022.9466%2011.833%2022.2747%2014.3405V14.3405Z%22%20fill%3D%22%23ffffff%22%2F%3E%0A%3C%2Fsvg%3E%0A");background-size:22px;background-repeat:no-repeat;background-position:0 center;animation:rotation 1s infinite linear} .lvemanager-ui-simple-info{margin-bottom:15px} .lvemanager-awp-manual-enable-modal-panel{max-height:100vh;overflow-y:auto} .lvemanager-awp-manual-enable-modal-panel .mat-dialog-content{max-height:100vh;overflow-y:auto} .lvemanager-awp-manual-enable-modal-panel .mat-dialog-container{width:760px !important;overflow-y:auto} .lvemanager-awp-manual-enable-modal-panel .mat-dialog-container::-webkit-scrollbar{width:.5em} .lvemanager-awp-manual-enable-modal-panel .mat-dialog-container::-webkit-scrollbar-thumb{background-color:transparent}']}),a.__decorate([o.loading,a.__metadata("design:type",Function),a.__metadata("design:paramtypes",[Object,Object]),a.__metadata("design:returntype",Promise)],H.prototype,"toggleAwpModule",null),t.AwpEnablingFeaturesComponent=H},582:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.UiFormElement=void 0;n(0);const a=n(0),i=n(1),o=n(427),r=n(583),s=n(22),l=n(428);function c(e,t){if(1&e&&(a.\u0275\u0275element(0,"div",8),a.\u0275\u0275pipe(1,"highlight"),a.\u0275\u0275pipe(2,"translate")),2&e){const e=a.\u0275\u0275nextContext();a.\u0275\u0275property("innerHTML",a.\u0275\u0275pipeBind3(1,1,a.\u0275\u0275pipeBind1(2,5,e.title),e.highlightPhrase,3),a.\u0275\u0275sanitizeHtml)}}function d(e,t){if(1&e&&(a.\u0275\u0275elementStart(0,"span",9),a.\u0275\u0275text(1),a.\u0275\u0275elementEnd()),2&e){const e=a.\u0275\u0275nextContext();a.\u0275\u0275advance(1),a.\u0275\u0275textInterpolate(e.titleLabel)}}function p(e,t){1&e&&a.\u0275\u0275elementContainer(0)}function u(e,t){if(1&e&&(a.\u0275\u0275elementContainerStart(0),a.\u0275\u0275template(1,p,1,0,"ng-container",10),a.\u0275\u0275elementContainerEnd()),2&e){const e=a.\u0275\u0275nextContext();a.\u0275\u0275advance(1),a.\u0275\u0275property("ngTemplateOutlet",e.subTitleTemplate)("ngTemplateOutletContext",e.subTitleTemplateContext)}}function g(e,t){if(1&e&&(a.\u0275\u0275element(0,"div",11),a.\u0275\u0275pipe(1,"highlight"),a.\u0275\u0275pipe(2,"code"),a.\u0275\u0275pipe(3,"translate")),2&e){const e=a.\u0275\u0275nextContext();a.\u0275\u0275property("copyTextSelector","code")("innerHTML",a.\u0275\u0275pipeBind3(1,2,a.\u0275\u0275pipeBind1(2,6,a.\u0275\u0275pipeBind1(3,8,e.smallDescription)),e.highlightPhrase,3),a.\u0275\u0275sanitizeHtml)}}function m(e,t){if(1&e&&(a.\u0275\u0275element(0,"div",12),a.\u0275\u0275pipe(1,"highlight"),a.\u0275\u0275pipe(2,"code"),a.\u0275\u0275pipe(3,"translate")),2&e){const e=a.\u0275\u0275nextContext();a.\u0275\u0275property("copyTextSelector","code")("innerHTML",a.\u0275\u0275pipeBind3(1,2,a.\u0275\u0275pipeBind1(2,6,a.\u0275\u0275pipeBind1(3,8,e.description)),e.highlightPhrase,3),a.\u0275\u0275sanitizeHtml)}}class f{constructor(e){this.elementRef=e,this.controlFlex=!1,this.highlightPhrase=""}}t.UiFormElement=f,f.\u0275fac=function(e){return new(e||f)(a.\u0275\u0275directiveInject(a.ElementRef))},f.\u0275cmp=a.\u0275\u0275defineComponent({type:f,selectors:[["ui-form-element"]],inputs:{title:"title",titleLabel:"titleLabel",titleTop:"titleTop",boldTitle:"boldTitle",smallDescription:"smallDescription",description:"description",controlFlex:"controlFlex",subTitleTemplate:"subTitleTemplate",subTitleTemplateContext:"subTitleTemplateContext",highlightPhrase:"highlightPhrase"},ngContentSelectors:["*"],decls:10,vars:13,consts:[[1,"lvemanager-row-wrapper"],[1,"lvemanager-title-wrapper"],[1,"lvemanager-title-content"],["class","lvemanager-title",3,"innerHTML",4,"ngIf"],["class","lvemanager-title-label",4,"ngIf"],[4,"ngIf"],["class","lvemanager-small-description","copyText","",3,"copyTextSelector","innerHTML",4,"ngIf"],["class","lvemanager-description","copyText","",3,"copyTextSelector","innerHTML",4,"ngIf"],[1,"lvemanager-title",3,"innerHTML"],[1,"lvemanager-title-label"],[4,"ngTemplateOutlet","ngTemplateOutletContext"],["copyText","",1,"lvemanager-small-description",3,"copyTextSelector","innerHTML"],["copyText","",1,"lvemanager-description",3,"copyTextSelector","innerHTML"]],template:function(e,t){1&e&&(a.\u0275\u0275projectionDef(),a.\u0275\u0275elementStart(0,"div",0),a.\u0275\u0275elementStart(1,"div",1),a.\u0275\u0275elementStart(2,"div",2),a.\u0275\u0275template(3,c,3,7,"div",3),a.\u0275\u0275template(4,d,2,1,"span",4),a.\u0275\u0275elementEnd(),a.\u0275\u0275template(5,u,2,2,"ng-container",5),a.\u0275\u0275template(6,g,4,10,"div",6),a.\u0275\u0275template(7,m,4,10,"div",7),a.\u0275\u0275elementEnd(),a.\u0275\u0275elementStart(8,"div"),a.\u0275\u0275projection(9),a.\u0275\u0275elementEnd(),a.\u0275\u0275elementEnd()),2&e&&(a.\u0275\u0275classProp("lvemanager-with-bold-title",t.boldTitle)("lvemanager-title-top",t.titleTop),a.\u0275\u0275advance(3),a.\u0275\u0275property("ngIf",t.title),a.\u0275\u0275advance(1),a.\u0275\u0275property("ngIf",t.titleLabel),a.\u0275\u0275advance(1),a.\u0275\u0275property("ngIf",t.subTitleTemplate),a.\u0275\u0275advance(1),a.\u0275\u0275property("ngIf",t.smallDescription),a.\u0275\u0275advance(1),a.\u0275\u0275property("ngIf",t.description),a.\u0275\u0275advance(1),a.\u0275\u0275classProp("lvemanager-control-wrapper",!0)("lvemanager-flex",t.controlFlex))},directives:[i.NgIf,i.NgTemplateOutlet,o.CopyTextDirective],pipes:[r.HighlightSearch,s.TranslatePipe,l.CodePipe],styles:["[_nghost-%COMP%]{display:block}.lvemanager-row-wrapper[_ngcontent-%COMP%]{display:flex}.lvemanager-row-wrapper.lvemanager-with-bold-title[_ngcontent-%COMP%]{margin-bottom:15px}.lvemanager-row-wrapper.lvemanager-with-bold-title[_ngcontent-%COMP%] .lvemanager-title-wrapper[_ngcontent-%COMP%] .lvemanager-title[_ngcontent-%COMP%]{font-weight:bold}.lvemanager-row-wrapper.lvemanager-title-top[_ngcontent-%COMP%] .lvemanager-title-wrapper[_ngcontent-%COMP%]{align-items:flex-start}.lvemanager-row-wrapper[_ngcontent-%COMP%] .lvemanager-title-wrapper[_ngcontent-%COMP%]{display:flex;align-items:flex-start;flex-direction:column;min-width:300px;max-width:300px}.lvemanager-row-wrapper[_ngcontent-%COMP%] .lvemanager-title-wrapper[_ngcontent-%COMP%] .lvemanager-title-content[_ngcontent-%COMP%]{display:flex;align-items:center}.lvemanager-row-wrapper[_ngcontent-%COMP%] .lvemanager-title-wrapper[_ngcontent-%COMP%] .lvemanager-title-content[_ngcontent-%COMP%] .lvemanager-title[_ngcontent-%COMP%]{font-weight:normal;font-family:'Noto Sans',sans-serif;line-height:32px}.lvemanager-row-wrapper[_ngcontent-%COMP%] .lvemanager-title-wrapper[_ngcontent-%COMP%] .lvemanager-title-content[_ngcontent-%COMP%] .lvemanager-title-label[_ngcontent-%COMP%]{margin-left:13px;font-family:'Open Sans',sans-serif;font-weight:600;font-style:normal;font-size:9px;line-height:12px;color:#32B54F;display:flex;flex-direction:row;justify-content:center;align-items:center;padding:2px 5px;background:#FBFDFF;border:.5px solid #32B54F;border-radius:2px}.lvemanager-row-wrapper[_ngcontent-%COMP%] .lvemanager-control-wrapper[_ngcontent-%COMP%]{margin-left:40px;flex-grow:1}.lvemanager-row-wrapper[_ngcontent-%COMP%] .lvemanager-control-wrapper[_ngcontent-%COMP%] input[_ngcontent-%COMP%]{border-color:red}.lvemanager-row-wrapper[_ngcontent-%COMP%] .lvemanager-control-wrapper[_ngcontent-%COMP%] > *[_ngcontent-%COMP%]{vertical-align:top}.lvemanager-row-wrapper[_ngcontent-%COMP%] .lvemanager-control-wrapper.lvemanager-flex[_ngcontent-%COMP%]{display:flex}.lvemanager-row-wrapper[_ngcontent-%COMP%] .lvemanager-small-description[_ngcontent-%COMP%]{width:300px;font-weight:400;font-size:14px;line-height:150%;color:#787878;margin-bottom:5px}.lvemanager-row-wrapper[_ngcontent-%COMP%] .lvemanager-description[_ngcontent-%COMP%]{width:300px;font-size:14px;text-align:left;color:#000;padding-bottom:13px}"]})},583:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.HighlightSearch=void 0;n(0),n(80);const a=n(233),i=n(0),o=n(80);class r{constructor(e){this.sanitizer=e}transform(e,t,n){if(!(t=String(t))||t.length<n)return e;let i;try{i=new RegExp(a.Helper.convertStringToHexRepresentation(t),"gi")}catch(t){return e}const o=e.match(i);if(!o)return e;const r=e.replace(i,"<mark>"+o[0]+"</mark>");return this.sanitizer.bypassSecurityTrustHtml(r)}}t.HighlightSearch=r,r.\u0275fac=function(e){return new(e||r)(i.\u0275\u0275directiveInject(o.DomSanitizer))},r.\u0275pipe=i.\u0275\u0275definePipe({name:"highlight",type:r,pure:!0})},584:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.UiSwitcher=void 0;n(0);const a=n(53),i=n(346),o=(n(22),n(0)),r=n(22),s=n(53);class l extends i.InputAccessor{constructor(e,t){super(t),this.elementRef=e,this.originModel=!1,this.animation=!0}prepareValueHook(){}getInputId(){return this.id||(this.id="_"+Math.random().toString(36).substr(2,9)),this.id}}t.UiSwitcher=l,l.\u0275fac=function(e){return new(e||l)(o.\u0275\u0275directiveInject(o.ElementRef),o.\u0275\u0275directiveInject(r.TranslateService))},l.\u0275cmp=o.\u0275\u0275defineComponent({type:l,selectors:[["ui-switcher"]],inputs:{originModel:"originModel",animation:"animation"},features:[o.\u0275\u0275ProvidersFeature([{provide:a.NG_VALUE_ACCESSOR,useExisting:l,multi:!0}]),o.\u0275\u0275InheritDefinitionFeature],ngContentSelectors:["*"],decls:3,vars:10,consts:[["type","checkbox",3,"id","name","disabled","ngModel","ngModelChange"],[3,"for"]],template:function(e,t){1&e&&(o.\u0275\u0275projectionDef(),o.\u0275\u0275elementStart(0,"input",0),o.\u0275\u0275listener("ngModelChange",(function(e){return t.innerValue=e})),o.\u0275\u0275elementEnd(),o.\u0275\u0275element(1,"label",1),o.\u0275\u0275projection(2)),2&e&&(o.\u0275\u0275propertyInterpolate1("id","ui-switcher-",t.getInputId(),""),o.\u0275\u0275property("name",t.name)("disabled",t.disabled)("ngModel",t.innerValue),o.\u0275\u0275advance(1),o.\u0275\u0275classProp("disabled",t.disabled)("lvemanager-animation",t.animation),o.\u0275\u0275propertyInterpolate1("for","ui-switcher-",t.getInputId(),""),o.\u0275\u0275attribute("id","label-"+t.id))},directives:[s.CheckboxControlValueAccessor,s.NgControlStatus,s.NgModel],styles:['[_nghost-%COMP%]{position:relative;display:inline-flex;align-items:center}[_nghost-%COMP%] > input[type="checkbox"][_ngcontent-%COMP%]{display:none}[_nghost-%COMP%] > input[type="checkbox"][_ngcontent-%COMP%]:checked + label[_ngcontent-%COMP%]::before{height:22px;background-color:#0D8CE6}[_nghost-%COMP%] > input[type="checkbox"][_ngcontent-%COMP%]:checked + label[_ngcontent-%COMP%]:after{box-sizing:border-box;height:22px;width:22px;background-color:#FFFFFF;border:2px solid #0D8CE6;box-shadow:0 2px 4px rgba(0,0,0,0.09);left:18px}[_nghost-%COMP%] > label[_ngcontent-%COMP%]{cursor:pointer;height:0;position:relative;top:-1px;width:40px;margin-left:8px}[_nghost-%COMP%] > label.disabled[_ngcontent-%COMP%]{opacity:.5}[_nghost-%COMP%] > label[_ngcontent-%COMP%]::before{background-color:#AAB1BB;border-radius:10px;content:\'\';height:22px;margin-top:-10px;position:absolute;left:0;width:40px}[_nghost-%COMP%] > label.lvemanager-animation[_ngcontent-%COMP%]::before{transition:all .4s ease-in-out}[_nghost-%COMP%] > label[_ngcontent-%COMP%]::after{box-sizing:border-box;background-color:#FFFFFF;border:2px solid #AAB1BB;border-radius:50%;box-shadow:0 2px 4px rgba(0,0,0,0.09);content:\'\';height:22px;margin-top:-10px;position:absolute;top:0;width:22px}[_nghost-%COMP%] > label.lvemanager-animation[_ngcontent-%COMP%]::after{transition:all .3s ease-in-out}']})},585:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.UiSpinner=void 0;n(0);const a=n(0),i=n(1),o=n(347);function r(e,t){if(1&e&&(a.\u0275\u0275elementStart(0,"div"),a.\u0275\u0275pipe(1,"lvemanagerPrefixer"),a.\u0275\u0275element(2,"div",1),a.\u0275\u0275element(3,"div",2),a.\u0275\u0275element(4,"div",3),a.\u0275\u0275elementEnd()),2&e){const e=a.\u0275\u0275nextContext();a.\u0275\u0275classMapInterpolate1("lvemanager-three-bounce ",a.\u0275\u0275pipeBind1(1,5,e.color),""),a.\u0275\u0275classProp("lvemanager-inbox",e.inbox)}}class s{constructor(){this.inbox=!1}}t.UiSpinner=s,s.\u0275fac=function(e){return new(e||s)},s.\u0275cmp=a.\u0275\u0275defineComponent({type:s,selectors:[["ui-spinner"]],inputs:{show:"show",color:"color",inbox:"inbox"},decls:1,vars:1,consts:[[3,"lvemanager-inbox","class",4,"ngIf"],[1,"lvemanager-one"],[1,"lvemanager-two"],[1,"lvemanager-three"]],template:function(e,t){1&e&&a.\u0275\u0275template(0,r,5,7,"div",0),2&e&&a.\u0275\u0275property("ngIf",t.show)},directives:[i.NgIf],pipes:[o.LvemanagerPrefixerPipe],styles:["ui-spinner[_ngcontent-%COMP%]{position:relative;display:inline-block}.lvemanager-inbox.lvemanager-three-bounce[_ngcontent-%COMP%]{margin-right:0}.lvemanager-inbox.lvemanager-three-bounce[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{width:12px;height:12px}.lvemanager-three-bounce[_ngcontent-%COMP%]{display:flex;justify-content:center;align-items:center;top:0;text-align:center;font-size:26px;margin-right:30px}.lvemanager-three-bounce[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{display:inline-block;width:18px;height:18px;border-radius:100%;background-color:#2b98f0;-webkit-animation:bouncedelay 1.4s infinite ease-in-out both;animation:bouncedelay 1.4s infinite ease-in-out both}.lvemanager-three-bounce.lvemanager-white[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{background-color:#ffffff}.lvemanager-three-bounce[_ngcontent-%COMP%] .lvemanager-one[_ngcontent-%COMP%]{-webkit-animation-delay:-0.32s;animation-delay:-0.32s}.lvemanager-three-bounce[_ngcontent-%COMP%] .lvemanager-two[_ngcontent-%COMP%]{-webkit-animation-delay:-0.16s;animation-delay:-0.16s}@-webkit-keyframes bouncedelay{0%,80%,100%{-webkit-transform:scale(0)}40%{-webkit-transform:scale(1)}}@keyframes bouncedelay{0%,80%,100%{-webkit-transform:scale(0);transform:scale(0)}40%{transform:scale(1);-webkit-transform:scale(1)}}"]})},586:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.AwpNoAllowedModulesComponent=void 0;n(0),n(67);const a=n(0),i=n(67),o=n(22);class r{constructor(e){this.appState=e}}t.AwpNoAllowedModulesComponent=r,r.\u0275fac=function(e){return new(e||r)(a.\u0275\u0275directiveInject(i.AppState))},r.\u0275cmp=a.\u0275\u0275defineComponent({type:r,selectors:[["awp-no-allowed-modules"]],decls:21,vars:13,consts:[[1,"lvemanager-awp-no-allowed-modules"],[1,"lvemanager-awp-no-allowed-modules__title"],[1,"lvemanager-left-wrapper"],[1,"lvemanager-awp-logo"],[1,"lvemanager-ask-admin-label"],[1,"lvemanager-awp-no-allowed-modules__body"],[1,"lvemanager-awp-no-allowed-modules__body--description"],["target","_blank",3,"href"],[1,"lvemanager-warning"]],template:function(e,t){1&e&&(a.\u0275\u0275elementStart(0,"div",0),a.\u0275\u0275elementStart(1,"div",1),a.\u0275\u0275elementStart(2,"div",2),a.\u0275\u0275element(3,"div",3),a.\u0275\u0275elementEnd(),a.\u0275\u0275elementStart(4,"label",4),a.\u0275\u0275text(5),a.\u0275\u0275pipe(6,"translate"),a.\u0275\u0275elementEnd(),a.\u0275\u0275elementEnd(),a.\u0275\u0275elementStart(7,"div",5),a.\u0275\u0275elementStart(8,"div",6),a.\u0275\u0275elementStart(9,"p"),a.\u0275\u0275text(10),a.\u0275\u0275pipe(11,"translate"),a.\u0275\u0275elementEnd(),a.\u0275\u0275element(12,"br"),a.\u0275\u0275elementStart(13,"a",7),a.\u0275\u0275text(14),a.\u0275\u0275pipe(15,"translate"),a.\u0275\u0275elementEnd(),a.\u0275\u0275element(16,"br"),a.\u0275\u0275element(17,"br"),a.\u0275\u0275elementStart(18,"p",8),a.\u0275\u0275text(19),a.\u0275\u0275pipe(20,"translate"),a.\u0275\u0275elementEnd(),a.\u0275\u0275elementEnd(),a.\u0275\u0275elementEnd(),a.\u0275\u0275elementEnd()),2&e&&(a.\u0275\u0275advance(5),a.\u0275\u0275textInterpolate(a.\u0275\u0275pipeBind1(6,5,"AWP.no_allowed_features.request_access")),a.\u0275\u0275advance(5),a.\u0275\u0275textInterpolate(a.\u0275\u0275pipeBind1(11,7,"AWP.no_allowed_features.description")),a.\u0275\u0275advance(3),a.\u0275\u0275property("href",t.appState.get("USER_DOC_LINK"),a.\u0275\u0275sanitizeUrl),a.\u0275\u0275advance(1),a.\u0275\u0275textInterpolate1(" ",a.\u0275\u0275pipeBind1(15,9,"AWP.no_allowed_features.link_text")," "),a.\u0275\u0275advance(5),a.\u0275\u0275textInterpolate(a.\u0275\u0275pipeBind1(20,11,"AWP.no_allowed_features.contact_support")))},pipes:[o.TranslatePipe],styles:['.lvemanager-awp-no-allowed-modules[_ngcontent-%COMP%]{display:flex;flex-direction:column;width:569px;padding:29px 29px 50px 29px;background:#F4F5F7;border-radius:6px;margin-top:50px;font-family:"Open Sans",sans-serif}.lvemanager-awp-no-allowed-modules__title[_ngcontent-%COMP%]{position:relative;height:46px;display:flex;align-items:center;justify-content:space-between}.lvemanager-awp-no-allowed-modules__title[_ngcontent-%COMP%] .lvemanager-left-wrapper[_ngcontent-%COMP%]{position:relative;height:46px;display:flex;align-items:center}.lvemanager-awp-no-allowed-modules__title[_ngcontent-%COMP%] h2[_ngcontent-%COMP%]{font-style:normal;font-weight:bold;font-size:15px;line-height:18px;text-align:center;color:#1D1D1D}.lvemanager-awp-no-allowed-modules__title[_ngcontent-%COMP%] .lvemanager-page-title-label[_ngcontent-%COMP%]{display:block;position:absolute;font-style:normal;font-weight:normal !important;font-size:10px;line-height:12px;color:#1D1D1D;top:0;right:-10px}.lvemanager-awp-no-allowed-modules__title[_ngcontent-%COMP%] .lvemanager-ask-admin-label[_ngcontent-%COMP%]{position:relative;display:flex;align-items:center;background:#FFA34E !important;font-style:normal;font-weight:600;font-size:12px;line-height:16px;color:#FFFFFF;height:28px;padding:0 15px;right:-36px}.lvemanager-awp-no-allowed-modules__title[_ngcontent-%COMP%] .lvemanager-ask-admin-label[_ngcontent-%COMP%]:before{content:"";display:block;width:0;height:0;border-bottom:8px solid #C57328;border-right:8px solid transparent;position:absolute;right:0;top:-8px}.lvemanager-awp-no-allowed-modules__body[_ngcontent-%COMP%]{margin-top:30px;padding-left:124px;font-style:normal;font-size:12px;line-height:14px;color:#1D1D1D}.lvemanager-awp-no-allowed-modules__body--title[_ngcontent-%COMP%]{font-weight:bold;line-height:16px}.lvemanager-awp-no-allowed-modules__body--description[_ngcontent-%COMP%]{font-weight:normal;line-height:14px;width:266px}.lvemanager-awp-no-allowed-modules__body--description[_ngcontent-%COMP%] ul[_ngcontent-%COMP%]{margin-top:10px}.lvemanager-awp-no-allowed-modules__body--description[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%]{display:flex;margin-top:15px}.lvemanager-awp-no-allowed-modules__body--description[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%] > i[_ngcontent-%COMP%]{margin-right:8px;font-size:16px;color:#3BA763;font-weight:bold}.lvemanager-awp-no-allowed-modules[_ngcontent-%COMP%] .lvemanager-warning[_ngcontent-%COMP%]{font-weight:400;color:#868686}']})},587:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.AngularMaterialModules=void 0;n(0);const a=n(1348),i=n(8),o=n(1349),r=n(0);class s{}t.AngularMaterialModules=s,s.\u0275mod=r.\u0275\u0275defineNgModule({type:s}),s.\u0275inj=r.\u0275\u0275defineInjector({factory:function(e){return new(e||s)},providers:[{provide:i.MATERIAL_SANITY_CHECKS,useValue:!1}],imports:[a.MatProgressBarModule,o.MatProgressSpinnerModule]}),("undefined"==typeof ngJitMode||ngJitMode)&&r.\u0275\u0275setNgModuleScope(s,{exports:[a.MatProgressBarModule,o.MatProgressSpinnerModule]})},588:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});n(3).__exportStar(n(427),t)},589:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.TemplateDirectiveModule=void 0;const a=n(3),i=(n(0),n(590)),o=n(0);class r{}t.TemplateDirectiveModule=r,r.\u0275mod=o.\u0275\u0275defineNgModule({type:r}),r.\u0275inj=o.\u0275\u0275defineInjector({factory:function(e){return new(e||r)}}),("undefined"==typeof ngJitMode||ngJitMode)&&o.\u0275\u0275setNgModuleScope(r,{declarations:[i.TemplateDirective],exports:[i.TemplateDirective]}),a.__exportStar(n(590),t)},590:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.TemplateDirective=void 0;n(0);const a=n(0);class i{constructor(e){this.template=e}set templateDirective(e){this.name=e}}t.TemplateDirective=i,i.\u0275fac=function(e){return new(e||i)(a.\u0275\u0275directiveInject(a.TemplateRef))},i.\u0275dir=a.\u0275\u0275defineDirective({type:i,selectors:[["","templateDirective",""]],inputs:{templateDirective:"templateDirective"}})},593:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.AwpModalContentModule=void 0;n(0);const a=n(574),i=n(426),o=n(1),r=n(165),s=n(293),l=n(31),c=n(430),d=n(65),p=n(148),u=n(581),g=n(349),m=n(53),f=n(350),v=n(1383),h=n(424),_=n(585),b=n(0);a.AwpModalContentComponent,i.AwpIssuesComponent,u.AwpEnablingFeaturesComponent,v.AwpBillingComponent,h.AwpPostIssuesComponent;class C{}t.AwpModalContentModule=C,C.\u0275mod=b.\u0275\u0275defineNgModule({type:C}),C.\u0275inj=b.\u0275\u0275defineInjector({factory:function(e){return new(e||C)},providers:[{provide:l.OverlayContainer,useClass:c.CustomOverlayContainer}],imports:[[o.CommonModule,r.CustomTranslateModule,s.CommonPipes,d.MatDialogModule,g.ComponentModule,p.TooltipModule,m.FormsModule,f.MatTableModule]]}),("undefined"==typeof ngJitMode||ngJitMode)&&b.\u0275\u0275setNgModuleScope(C,{declarations:[a.AwpModalContentComponent,i.AwpIssuesComponent,u.AwpEnablingFeaturesComponent,v.AwpBillingComponent,h.AwpPostIssuesComponent,_.UiSpinner],imports:[o.CommonModule,r.CustomTranslateModule,s.CommonPipes,d.MatDialogModule,g.ComponentModule,p.TooltipModule,m.FormsModule,f.MatTableModule],exports:[a.AwpModalContentComponent,i.AwpIssuesComponent,u.AwpEnablingFeaturesComponent,v.AwpBillingComponent,h.AwpPostIssuesComponent,_.UiSpinner]})},67:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.AppState=void 0;n(0);const a=n(1077),i=n(0);class o{constructor(){this._state={},this.changeEvent=new a.Subject,this.onChange=this.changeEvent.asObservable()}get state(){return this._state=this._clone(this._state)}set state(e){throw new Error("do not mutate the `.state` directly")}get(e){const t=this.state;return t.hasOwnProperty(e)?t[e]:t}exist(e){return this.state.hasOwnProperty(e)}remove(e){this.exist(e)&&delete this.state[e]}getIfExists(e,t=!1){const n=this.state;return n.hasOwnProperty(e)?n[e]:t}set(e,t){this._state[e]=t,this.changeEvent.next()}_clone(e){return JSON.parse(JSON.stringify(e))}}t.AppState=o,o.\u0275fac=function(e){return new(e||o)},o.\u0275prov=i.\u0275\u0275defineInjectable({token:o,factory:o.\u0275fac})},88:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ActionNotificationService=void 0;n(0),n(185);const a=n(543),i=(n(22),n(0)),o=n(22),r=n(185);class s{constructor(e,t){this.translateService=e,this.toastr=t,this.visibleToasts=[],this.hasText=(e,t)=>!!e||!!t,this.getToastOptions=e=>({closeButton:!0,progressBar:!0,toastClass:e?"toast":"toast toast--without-message"}),window.lvemanagerNotifications=this}success(e,t="ERROR.errWithoutMessage",n=""){this.translateService.get([e,t]).subscribe((i=>{this.showToast(a.NotificationStatus.success,i[e],`${i[t]} ${n}`)}))}error(e,t="ERROR.errWithoutMessage",n=""){this.translateService.get([e,t]).subscribe((i=>{this.showToast(a.NotificationStatus.error,i[e],`${i[t]} ${n}`)}))}warning(e,t="ERROR.errWithoutMessage",n=""){this.translateService.get([e,t]).subscribe((i=>{this.showToast(a.NotificationStatus.warning,i[e],`${i[t]} ${n}`)}))}showToast(e,t,n){if(!this.hasText(t,n)||this.isShowedAlready(e,t,n))return;let i;const o=this.getToastOptions(!!n);switch(e){case a.NotificationStatus.error:i=this.toastr.error(n,t,Object.assign(Object.assign({},o),{disableTimeOut:!0}));break;case a.NotificationStatus.success:i=this.toastr.success(n,t,Object.assign(Object.assign({},o),{timeOut:5e3}));break;default:i=this.toastr.warning(n,t,Object.assign(Object.assign({},o),{timeOut:1e4}))}const r=i.toastId;this.visibleToasts.push({status:e,toastId:r,title:t,message:n}),i.onHidden.subscribe((()=>{this.visibleToasts=this.visibleToasts.filter((e=>e.toastId!==r))}))}isShowedAlready(e,t,n){return!!this.visibleToasts.find((a=>a.status===e&&a.title===t&&a.message===n))}}t.ActionNotificationService=s,s.\u0275fac=function(e){return new(e||s)(i.\u0275\u0275inject(o.TranslateService),i.\u0275\u0275inject(r.ToastrService))},s.\u0275prov=i.\u0275\u0275defineInjectable({token:s,factory:s.\u0275fac})},89:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.AwpRepo=void 0;const a=n(3),i=(n(0),n(163),n(187)),o=n(1092),r=n(0),s=n(163);class l{constructor(e){this.request=e,this.subscriptionStateSubject$=new o.BehaviorSubject({object_cache:{status:i.AwpSubscriptionStatus.inactive},cdn:{status:i.AwpSubscriptionStatus.inactive}}),this.upgradeUrlSubject$=new o.BehaviorSubject({object_cache:null,cdn:null,critical_css:null,image_optimization:null}),this.billingRequestSubject$=new o.BehaviorSubject(null),this.agreementSubject$=new o.BehaviorSubject({CDN:i.AwpAgreementStatus.notApproved,OBJECT_CACHE:i.AwpAgreementStatus.notRequired,SITE_OPTIMIZATION:i.AwpAgreementStatus.notRequired}),this.updateTrigger$=new o.BehaviorSubject(null),this.cdnAgreementTextCache=null,this.userCommand="cloudlinux-awp-user"}getUserData(){return this.request.post({command:this.userCommand,method:i.AwpModuleAction.get},"cloudlinux-awp-user-get")}agreementStatus(){return a.__awaiter(this,void 0,void 0,(function*(){const e=yield this.request.post({command:this.userCommand,method:i.AwpModuleAction.agreement,params:{status:""}},"cloudlinux-awp-user-agreement");return this.agreementSubject$.next(e.licenses),this.agreementSubject$.value}))}cdnAgreementText(){return a.__awaiter(this,void 0,void 0,(function*(){if(!this.cdnAgreementTextCache){const e=yield this.request.post({command:this.userCommand,method:i.AwpModuleAction.agreement,params:{text:"cdn"}},"cloudlinux-awp-user-agreement-text-cdn");this.cdnAgreementTextCache=e.text}return this.cdnAgreementTextCache}))}userAction(e,t){return this.request.post({command:this.userCommand,method:e,params:t},"cloudlinux-awp-user-set-module")}subscriptionListen(){return a.__awaiter(this,void 0,void 0,(function*(){yield this.request.post({command:this.userCommand,method:i.AwpModuleAction.subscription,params:this.billingRequestSubject$.value},"success-result");let e=this.subscriptionStateSubject$.value;e.cdn.status=i.AwpSubscriptionStatus.pending,e.object_cache.status=i.AwpSubscriptionStatus.pending,this.subscriptionStateSubject$.next(e)}))}payed(e){return i.PREMIUM_MODULES.includes(e)?this.subscriptionStateSubject$.value[i.AwpModuleName.object_cache].status===i.AwpSubscriptionStatus.active:!this.subscriptionStateSubject$.value[e]||this.subscriptionStateSubject$.value[e].status===i.AwpSubscriptionStatus.active}paymentRequired(e){return!!i.PREMIUM_MODULES.includes(e)&&this.subscriptionStateSubject$.value[i.AwpModuleName.object_cache].status===i.AwpSubscriptionStatus.inactive}paymentPending(e){return i.PREMIUM_MODULES.includes(e)?this.subscriptionStateSubject$.value[i.AwpModuleName.object_cache].status===i.AwpSubscriptionStatus.pending:this.subscriptionStateSubject$.value[e]&&this.subscriptionStateSubject$.value[e].status===i.AwpSubscriptionStatus.pending}agreementRequired(e){return this.agreementSubject$.value[e]===i.AwpAgreementStatus.notApproved}}t.AwpRepo=l,l.\u0275fac=function(e){return new(e||l)(r.\u0275\u0275inject(s.XHR))},l.\u0275prov=r.\u0275\u0275defineInjectable({token:l,factory:l.\u0275fac})}});
Hacked By AnonymousFox1.0, Coded By AnonymousFox