ngx-admin/6-es5.974ffcf2224568277781.js

1 line
146 KiB
JavaScript
Raw Normal View History

2019-07-29 11:02:08 +03:00
(window.webpackJsonp=window.webpackJsonp||[]).push([[6],{"6OPl":function(n,e,t){"use strict";t.r(e);var l=t("CcnG"),o=function(){return function(n){this.themeService=n,this.themeService.changeTheme("ngx-landing")}}(),i=t("jvbL"),a=function(){function n(n,e){var t=this;this.themeService=n,this.breakpointService=e,this.alive=!0,this.breakpoints=this.breakpointService.getBreakpointsMap(),this.themeService.onMediaQueryChange().pipe(Object(i.a)(function(){return t.alive})).subscribe(function(n){t.breakpoint=n[1]})}return n.prototype.ngOnDestroy=function(){this.alive=!1},n}(),g=function(){return function(){}}(),r=function(){return function(){}}(),s=t("mrSG"),c=function(){function n(n,e){var t=this;this.themeService=n,this.breakpointService=e,this.alive=!0,this.themes=["Light","Dark","Cosmic","Corporate"],this.sliderIndex=1,this.initialSwiperConfig={direction:"horizontal",spaceBetween:200,slidesPerView:"auto",centeredSlides:!0,keyboard:!0,navigation:!0,effect:"coverflow",grabCursor:!0,coverflowEffect:{rotate:0,stretch:0,depth:500,modifier:1,slideShadows:!1},pagination:{el:".swiper-pagination",clickable:!0,hideOnClick:!1,renderBullet:function(n,e){return'\n <span class="'+e+'">\n <span>\n '+t.themes[n]+"\n </span>\n </span>"}}},this.swiperConfig=s.__assign({},this.initialSwiperConfig),this.breakpoints=this.breakpointService.getBreakpointsMap(),this.themeService.onMediaQueryChange().pipe(Object(i.a)(function(){return t.alive})).subscribe(function(n){t.breakpoint=n[1],t.changeSwiperConfig()})}return n.prototype.changeSwiperConfig=function(){this.swiperConfig=this.isMobile?s.__assign({},this.swiperConfig,{preloadImages:!1,lazy:!0}):this.initialSwiperConfig},Object.defineProperty(n.prototype,"isMobile",{get:function(){return this.breakpoint.width<=this.breakpoints.sm},enumerable:!0,configurable:!0}),n.prototype.ngOnDestroy=function(){this.alive=!1},n}(),u=t("CheL"),m=function(){function n(n,e,t){var l=this;this.themeService=n,this.breakpointService=e,this.reviewsService=t,this.alive=!0,this.desktopSwiperConfig={slidesPerView:3,keyboard:!0,navigation:!0},this.tabletSwiperConfig=s.__assign({},this.desktopSwiperConfig,{slidesPerView:2}),this.mobileSwiperConfig={slidesPerView:"auto",centeredSlides:!0,keyboard:!1,navigation:!1},this.swiperConfig={direction:"horizontal",spaceBetween:24,mousewheel:!1,lazy:!0,loop:!0,autoplay:!0,pagination:{el:".swiper-pagination",clickable:!0,hideOnClick:!1}},this.breakpoints=this.breakpointService.getBreakpointsMap(),this.themeService.onMediaQueryChange().pipe(Object(i.a)(function(){return l.alive})).subscribe(function(n){l.changeSwiperConfig(n[1].width)}),this.reviewsService.getReviews().pipe(Object(i.a)(function(){return l.alive})).subscribe(function(n){return l.reviews=n})}return n.prototype.changeSwiperConfig=function(n){if(this.isMobile(n))this.swiperConfig=s.__assign({},this.swiperConfig,this.mobileSwiperConfig);else{var e=this.isTablet(n)?this.tabletSwiperConfig:this.desktopSwiperConfig;this.swiperConfig=s.__assign({},this.swiperConfig,e)}},n.prototype.isMobile=function(n){return n<=this.breakpoints.is},n.prototype.isTablet=function(n){return n<=this.breakpoints.sm},n.prototype.ngOnDestroy=function(){this.alive=!1},n}(),d=function(){return function(){}}(),h=function(){function n(){this.isAgree=!1,this.invalid=!1}return n.prototype.submitForm=function(){this.emailInput.nativeElement.value?(this.contactForm.nativeElement.submit(),this.invalid=!1,this.emailInput.nativeElement.value=""):this.invalid=!0},Object.defineProperty(n.prototype,"disabledControl",{get:function(){return this.isAgree?null:"disabled"},enumerable:!0,configurable:!0}),n}(),b=function(){return function(){}}(),p=t("eEG2"),_=function(){return function(n){this.descriptionsService=n,this.descriptions=this.descriptionsService.getDescriptions()}}(),C=t("VnD/"),M=t("vubp"),O=t("t9fZ"),P=t("vPEh"),f=function(){function n(n,e,t,o,i){this.descriptionService=n,this.bundlesService=e,this.activatedRoute=t,this.el=o,this.window=i,this.loaded=new l.t,this.selectedLicenseType=P.a.single,this.lice