-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path4436.48d63b7221ff2ee66bfd.js
1 lines (1 loc) · 74.8 KB
/
4436.48d63b7221ff2ee66bfd.js
1
"use strict";(self.webpackChunkchekt_web_wcs=self.webpackChunkchekt_web_wcs||[]).push([[4436],{39014:(y,b,s)=>{s.d(b,{a:()=>L});var n=s(42741),h=s(98753),m=s(16274);const d=["sortable-column",""];function P(g,x){1&g&&(n.O4$(),n.TgZ(0,"svg",2),n.TgZ(1,"g",3),n.TgZ(2,"g",4),n._UZ(3,"polygon",5),n.qZA(),n.qZA(),n.qZA())}function f(g,x){1&g&&(n.O4$(),n.TgZ(0,"svg",2),n.TgZ(1,"g"),n.TgZ(2,"g",6),n._UZ(3,"polygon",7),n.qZA(),n.TgZ(4,"g",6),n._UZ(5,"polygon",5),n.qZA(),n.qZA(),n.qZA())}function t(g,x){1&g&&(n.O4$(),n.TgZ(0,"svg",2),n.TgZ(1,"g",3),n.TgZ(2,"g",4),n._UZ(3,"polygon",7),n.qZA(),n.qZA(),n.qZA())}function Z(g,x){if(1&g&&(n.YNc(0,P,4,0,"svg",1),n.YNc(1,f,6,0,"svg",1),n.YNc(2,t,4,0,"svg",1)),2&g){const p=n.oxw();n.Q6J("ngIf","asc"===p.sortDirection),n.xp6(1),n.Q6J("ngIf",""===p.sortDirection),n.xp6(1),n.Q6J("ngIf","desc"===p.sortDirection)}}function T(g,x){1&g&&(n.O4$(),n.TgZ(0,"svg",2),n.TgZ(1,"g",3),n.TgZ(2,"g",4),n._UZ(3,"polygon",5),n.qZA(),n.qZA(),n.qZA())}function M(g,x){1&g&&(n.O4$(),n.TgZ(0,"svg",2),n.TgZ(1,"g"),n.TgZ(2,"g",6),n._UZ(3,"polygon",7),n.qZA(),n.TgZ(4,"g",6),n._UZ(5,"polygon",5),n.qZA(),n.qZA(),n.qZA())}function k(g,x){1&g&&(n.O4$(),n.TgZ(0,"svg",2),n.TgZ(1,"g",3),n.TgZ(2,"g",4),n._UZ(3,"polygon",7),n.qZA(),n.qZA(),n.qZA())}function S(g,x){if(1&g&&(n.YNc(0,T,4,0,"svg",1),n.YNc(1,M,6,0,"svg",1),n.YNc(2,k,4,0,"svg",1)),2&g){const p=n.oxw();n.Q6J("ngIf","asc"===p.sortDirection),n.xp6(1),n.Q6J("ngIf",""===p.sortDirection),n.xp6(1),n.Q6J("ngIf","desc"===p.sortDirection)}}const A=["*"];let L=(()=>{class g{constructor(p){this.sortService=p,this.sortDirection="",this.iconPosition="right"}sort(){this.sortDirection="asc"===this.sortDirection?"desc":"asc",this.sortService.columnSorted({sortColumn:this.columnName,sortDirection:this.sortDirection})}ngOnInit(){this.columnSortedSubscription=this.sortService.columnSorted$.subscribe(p=>{this.columnName!=p.sortColumn&&(this.sortDirection="")})}ngOnDestroy(){this.columnSortedSubscription.unsubscribe()}}return g.\u0275fac=function(p){return new(p||g)(n.Y36(h.K))},g.\u0275cmp=n.Xpm({type:g,selectors:[["","sortable-column",""]],hostBindings:function(p,C){1&p&&n.NdJ("click",function(){return C.sort()})},inputs:{columnName:["sortable-column","columnName"],sortDirection:["sort-direction","sortDirection"],iconPosition:["sort-icon","iconPosition"]},attrs:d,ngContentSelectors:A,decls:3,vars:2,consts:[[3,"ngIf"],["width","12","height","8px","viewBox","0 0 200 200",4,"ngIf"],["width","12","height","8px","viewBox","0 0 200 200"],["fill","#5A6574"],["id","arrow-drop-down"],["points","0,120 100,200 200,120"],["id","arrow-drop-down","fill","#5A6574"],["points","0,80 100,0 200,80"]],template:function(p,C){1&p&&(n.F$t(),n.YNc(0,Z,3,3,"ng-template",0),n.Hsn(1),n.YNc(2,S,3,3,"ng-template",0)),2&p&&(n.Q6J("ngIf","left"===C.iconPosition&&C.columnName),n.xp6(2),n.Q6J("ngIf","right"===C.iconPosition&&C.columnName))},directives:[m.O5],encapsulation:2}),g})()},28522:(y,b,s)=>{s.d(b,{Q:()=>m});var n=s(42741),h=s(98753);let m=(()=>{class d{constructor(f){this.sortService=f,this.sorted=new n.vpe}ngOnInit(){this.columnSortedSubscription=this.sortService.columnSorted$.subscribe(f=>{this.sorted.emit(f)})}ngOnDestroy(){this.columnSortedSubscription.unsubscribe()}}return d.\u0275fac=function(f){return new(f||d)(n.Y36(h.K))},d.\u0275dir=n.lG2({type:d,selectors:[["","sortable-table",""]],outputs:{sorted:"sorted"}}),d})()},11822:(y,b,s)=>{s.d(b,{cN:()=>h,ku:()=>d,OP:()=>f});var n=s(88638);const h=(0,n.X$)("page",[(0,n.SB)("*",(0,n.oB)({opacity:1,transform:"translateX(0)"})),(0,n.eR)(":leave",[(0,n.jt)("0.1s 0.1s",(0,n.oB)({opacity:0}))]),(0,n.eR)(":enter",[(0,n.oB)({opacity:0,display:"none",position:"absolute",top:0,left:0,width:"100%"}),(0,n.jt)("0.1s 100ms",(0,n.oB)({position:"absolute",opacity:1,transform:"translateX(0)"}))])]),d=((0,n.X$)("dialog",[(0,n.SB)("*",(0,n.oB)({transform:"translateX(0)"})),(0,n.eR)(":enter",[(0,n.oB)({transform:"translateY(+50%)",opacity:.5}),(0,n.jt)("0.2s ease-in")]),(0,n.eR)(":leave",[(0,n.jt)("0.2s ease-out",(0,n.oB)({transform:"translateY(+50%)",opacity:.5}))])]),(0,n.X$)("background",[(0,n.SB)("*",(0,n.oB)({opacity:1})),(0,n.eR)(":enter",[(0,n.oB)({opacity:0}),(0,n.jt)("0.1s ease-in")]),(0,n.eR)(":leave",[(0,n.jt)("0.1s ease-out",(0,n.oB)({opacity:0}))])])),f=((0,n.X$)("subModal",[(0,n.eR)(":enter",[(0,n.oB)({transform:"translateX(+100%)"}),(0,n.jt)("0.2s ease-in")]),(0,n.eR)(":leave",[(0,n.jt)("0.2s ease-in",(0,n.oB)({transform:"translateX(-100%)"}))])]),(0,n.X$)("imgShow",[(0,n.SB)("*",(0,n.oB)({opacity:1})),(0,n.eR)(":enter",[(0,n.oB)({opacity:0}),(0,n.jt)("0.2s ease-in")]),(0,n.eR)(":leave",[(0,n.jt)("0.2s ease-out",(0,n.oB)({opacity:0}))])]))},25229:(y,b,s)=>{s.d(b,{Z:()=>f});var n=s(46243),m=s(76052),d=s.n(m),P=s(49951);const f={_:n,moment:d(),tool:P.Z}},24436:(y,b,s)=>{s.r(b),s.d(b,{CloudVMSManagerModule:()=>_t});var n=s(16274),h=s(93324),m=s(29535),d=s(61855),P=s(11822),f=s(25229),t=s(42741),Z=s(35460),T=s(17611),M=s(73121),k=s(1906),S=s(56880),A=s(95974),L=s(28522),g=s(39014);const x=["selectDropdown"],p=["siteActionMenus"];function C(i,r){1&i&&(t.TgZ(0,"div",3),t.O4$(),t.TgZ(1,"svg",4),t._UZ(2,"circle",5),t.qZA(),t.qZA())}function q(i,r){1&i&&(t.TgZ(0,"div",32),t._UZ(1,"comp-icon",33),t.qZA()),2&i&&(t.xp6(1),t.Q6J("icon","done")("color","#2383e2")("size",18))}function U(i,r){1&i&&(t.TgZ(0,"div",32),t._UZ(1,"comp-icon",34),t.qZA()),2&i&&(t.xp6(1),t.Q6J("color","#2383e2")("size",18))}function N(i,r){if(1&i){const e=t.EpF();t.TgZ(0,"div",28),t.NdJ("click",function(a){const l=t.CHM(e).$implicit;return t.oxw(4).selectSitePlan(a,l)}),t.TgZ(1,"div",29),t.TgZ(2,"div",30),t.YNc(3,q,2,3,"div",31),t.YNc(4,U,2,2,"div",31),t.TgZ(5,"div"),t._uU(6),t.qZA(),t.qZA(),t.qZA(),t.qZA()}if(2&i){const e=r.$implicit,o=t.oxw(4);t.xp6(3),t.Q6J("ngIf",(null==o.selectedSitePlan?null:o.selectedSitePlan.value)===(null==e?null:e.value)),t.xp6(1),t.Q6J("ngIf",(null==o.selectedSitePlan?null:o.selectedSitePlan.value)!=(null==e?null:e.value)),t.xp6(2),t.Oqu(null==e?null:e.label)}}function J(i,r){if(1&i&&(t.O4$(),t.kcU(),t.TgZ(0,"div",26),t.YNc(1,N,7,3,"div",27),t.qZA()),2&i){const e=t.oxw(3);t.xp6(1),t.Q6J("ngForOf",e.sitePlanList)}}function V(i,r){if(1&i){const e=t.EpF();t.TgZ(0,"div",13),t.TgZ(1,"div"),t._uU(2),t.qZA(),t.TgZ(3,"div",14,15),t.TgZ(5,"div",16),t.NdJ("click",function(a){return t.CHM(e),t.oxw(2).toggleSelectDropdown(a)}),t.TgZ(6,"div",17),t.TgZ(7,"span"),t._uU(8),t.qZA(),t.qZA(),t.O4$(),t.TgZ(9,"svg",18),t._UZ(10,"path",19),t._UZ(11,"path",20),t._UZ(12,"path",21),t.qZA(),t.qZA(),t.YNc(13,J,2,1,"div",22),t.qZA(),t.kcU(),t.TgZ(14,"div",23),t.TgZ(15,"div",24),t.NdJ("click",function(){return t.CHM(e),t.oxw(2).onClickBulkUpdatePlan()}),t.TgZ(16,"div",25),t._uU(17,"Bulk Update"),t.qZA(),t.qZA(),t.qZA(),t.qZA()}if(2&i){const e=t.oxw(2);t.xp6(2),t.hij("",null==e.selectedSiteList?null:e.selectedSiteList.length," Selected"),t.xp6(1),t.ekj("disabled",e.isLoading),t.xp6(5),t.Oqu(null==e.selectedSitePlan?null:e.selectedSitePlan.label),t.xp6(5),t.Q6J("ngIf",e.isUnfoldPlanDropdown),t.xp6(2),t.ekj("disabled",e.isLoading)}}function B(i,r){if(1&i&&(t.TgZ(0,"div",35),t.TgZ(1,"div",36),t._uU(2),t.qZA(),t.TgZ(3,"div",37),t._uU(4),t.qZA(),t.TgZ(5,"div",38),t._uU(6),t.qZA(),t.TgZ(7,"div",39),t._uU(8),t.qZA(),t.qZA()),2&i){const e=t.oxw(2);t.xp6(2),t.hij("Basic: ",e.basicPlanCount,""),t.xp6(2),t.hij("Video Vault: ",e.videoVaultPlanCount,""),t.xp6(2),t.hij("Video Vault Plus: ",e.videoVaultPlusPlanCount,""),t.xp6(2),t.hij("Video Vault Plus AI: ",e.videoVaultPlusAICount,"")}}function Q(i,r){if(1&i){const e=t.EpF();t.TgZ(0,"div",6),t.TgZ(1,"div",7),t.TgZ(2,"div",8),t.NdJ("click",function(){return t.CHM(e),t.oxw().setSearchFocus()}),t.TgZ(3,"i",9),t._uU(4,"search"),t.qZA(),t.TgZ(5,"input",10),t.NdJ("ngModelChange",function(a){return t.CHM(e),t.oxw().searchText=a})("input",function(){return t.CHM(e),t.oxw().search()}),t.qZA(),t.qZA(),t.YNc(6,V,18,7,"div",11),t.YNc(7,B,9,4,"div",12),t.qZA(),t.qZA()}if(2&i){const e=t.oxw();t.xp6(2),t.ekj("search-focus",e.isFocusSearch)("disabled",e.isLoading),t.xp6(3),t.Q6J("ngModel",e.searchText),t.xp6(1),t.Q6J("ngIf",null==e.selectedSiteList?null:e.selectedSiteList.length),t.xp6(1),t.Q6J("ngIf",!(null!=e.selectedSiteList&&e.selectedSiteList.length))}}function F(i,r){1&i&&t._UZ(0,"col",48),2&i&&t.Q6J("width",r.$implicit.width)}function Y(i,r){if(1&i){const e=t.EpF();t.TgZ(0,"input",51),t.NdJ("click",function(a){return t.CHM(e),t.oxw(3).toggleAllCheckbox(a)}),t.qZA()}if(2&i){const e=t.oxw(3);t.Q6J("checked",e.isAllSelected)}}function j(i,r){if(1&i&&(t.TgZ(0,"th",49),t._uU(1),t.YNc(2,Y,1,1,"input",50),t.qZA()),2&i){const e=r.$implicit;t.Q6J("sortable-column",e.value),t.xp6(1),t.hij(" ",e.name,""),t.xp6(1),t.Q6J("ngIf",e.isCheckbox)}}function H(i,r){1&i&&(t.TgZ(0,"div",52),t.TgZ(1,"i",53),t._uU(2,"inventory_2"),t.qZA(),t.TgZ(3,"div"),t._uU(4,"No Site List"),t.qZA(),t.qZA())}function $(i,r){1&i&&(t.TgZ(0,"div",52),t.TgZ(1,"i",53),t._uU(2,"do_not_disturb_on"),t.qZA(),t.TgZ(3,"div"),t._uU(4,"Permission Denied"),t.qZA(),t.qZA())}function R(i,r){1&i&&t._UZ(0,"col",48),2&i&&t.Q6J("width",r.$implicit.width)}function W(i,r){if(1&i){const e=t.EpF();t.TgZ(0,"tr"),t.TgZ(1,"td"),t._uU(2),t.qZA(),t.TgZ(3,"td"),t._uU(4),t.qZA(),t.TgZ(5,"td"),t._uU(6),t.qZA(),t.TgZ(7,"td"),t.TgZ(8,"div",57),t._uU(9),t.qZA(),t.qZA(),t.TgZ(10,"td"),t.TgZ(11,"div",58,59),t.NdJ("mouseover",function(){const c=t.CHM(e).$implicit;return t.oxw(4).setMorePosition(c.site_id)}),t.TgZ(13,"div",60),t.NdJ("click",function(a){const l=t.CHM(e).$implicit,_=t.oxw(4);return a.stopPropagation(),_.toggleMenu(l)}),t._UZ(14,"comp-icon",61),t.qZA(),t.TgZ(15,"div",62),t.TgZ(16,"div",63),t.NdJ("click",function(a){const l=t.CHM(e).$implicit;return t.oxw(4).goToDetail(a,l)}),t.TgZ(17,"div"),t._uU(18,"Go to Detail"),t.qZA(),t.qZA(),t.qZA(),t.qZA(),t.qZA(),t.qZA()}if(2&i){const e=r.$implicit,o=t.oxw(4);t.xp6(1),t.ekj("no-contents","No Name"===e.name),t.xp6(1),t.Oqu(e.name),t.xp6(1),t.ekj("no-contents","No Name"===e.name),t.xp6(1),t.Oqu(e.dealer_name),t.xp6(2),t.Oqu(e.device_count),t.xp6(2),t.Q6J("ngClass",o.computedPlanBadgeStyle(null==e?null:e.site_plan_id)),t.xp6(1),t.Oqu(e.site_plan),t.xp6(2),t.Q6J("id","site-"+e.site_id),t.xp6(3),t.Q6J("icon","more_horiz")("size",20)("color","hsla(0, 0%, 0%, 0.87)"),t.xp6(1),t.ekj("show",e.isShowMenu),t.Q6J("id","more-site-"+e.site_id)}}function G(i,r){if(1&i&&(t.ynx(0),t.YNc(1,W,19,16,"tr",56),t.BQk()),2&i){const e=t.oxw(3);t.xp6(1),t.Q6J("ngForOf",e.pagedItems)}}function K(i,r){if(1&i&&(t.TgZ(0,"div",54),t.TgZ(1,"table"),t.TgZ(2,"colgroup"),t.YNc(3,R,1,1,"col",43),t.qZA(),t.TgZ(4,"tbody"),t.YNc(5,G,2,1,"ng-container",55),t.qZA(),t.qZA(),t.qZA()),2&i){const e=t.oxw(2);t.xp6(3),t.Q6J("ngForOf",e.tableHeader),t.xp6(2),t.Q6J("ngIf",!e.isLoading)}}function X(i,r){if(1&i){const e=t.EpF();t.TgZ(0,"div",64),t._UZ(1,"div",65),t._UZ(2,"div",66),t.TgZ(3,"div",67),t.TgZ(4,"div"),t._uU(5),t.qZA(),t.TgZ(6,"div"),t._uU(7,"of "),t.qZA(),t.TgZ(8,"div"),t._uU(9),t.qZA(),t.qZA(),t.TgZ(10,"div",68),t.TgZ(11,"div",69),t.TgZ(12,"div",23),t.TgZ(13,"div",70),t.NdJ("click",function(){t.CHM(e);const a=t.oxw(2);return a.setPage(a.pager.currentPage-1)}),t.TgZ(14,"div",25),t.TgZ(15,"i",71),t._uU(16,"arrow_back"),t.qZA(),t.TgZ(17,"span"),t._uU(18,"Prev"),t.qZA(),t.qZA(),t.qZA(),t.qZA(),t.TgZ(19,"div",23),t.TgZ(20,"div",70),t.NdJ("click",function(){t.CHM(e);const a=t.oxw(2);return a.setPage(a.pager.currentPage+1)}),t.TgZ(21,"div",25),t.TgZ(22,"span"),t._uU(23,"Next"),t.qZA(),t._UZ(24,"comp-icon",33),t.qZA(),t.qZA(),t.qZA(),t.qZA(),t.qZA(),t.qZA()}if(2&i){const e=t.oxw(2);t.xp6(5),t.AsE("",e.pageOffsetStart," - ",e.pageOffsetEnd,""),t.xp6(4),t.Oqu(e.totalItem),t.xp6(4),t.ekj("disabled",1===e.pager.currentPage||0===e.pager.currentPage),t.xp6(2),t.ekj("disabled",1===e.pager.currentPage||0===e.pager.currentPage),t.xp6(5),t.ekj("disabled",e.pager.currentPage===e.pager.totalPages),t.xp6(4),t.ekj("disabled",e.pager.currentPage===e.pager.totalPages),t.Q6J("icon","arrow_forward_n")("color","#000")("size",16)}}function tt(i,r){if(1&i){const e=t.EpF();t.TgZ(0,"div",40),t.TgZ(1,"div",41),t.TgZ(2,"table",42),t.NdJ("sorted",function(a){return t.CHM(e),t.oxw().sortTableByColumn(a)}),t.TgZ(3,"colgroup"),t.YNc(4,F,1,1,"col",43),t.qZA(),t.TgZ(5,"thead"),t.TgZ(6,"tr"),t.YNc(7,j,3,3,"th",44),t.qZA(),t.qZA(),t.qZA(),t.YNc(8,H,5,0,"div",45),t.YNc(9,$,5,0,"div",45),t.YNc(10,K,6,2,"div",46),t.YNc(11,X,25,14,"div",47),t.qZA(),t.qZA()}if(2&i){const e=t.oxw();t.xp6(4),t.Q6J("ngForOf",e.tableHeader),t.xp6(3),t.Q6J("ngForOf",e.tableHeader),t.xp6(1),t.Q6J("ngIf","no-data"===e.determineElementToShowInMPDirection()),t.xp6(1),t.Q6J("ngIf","no-permission"===e.determineElementToShowInMPDirection()),t.xp6(1),t.Q6J("ngIf","normal"===e.determineElementToShowInMPDirection()),t.xp6(1),t.Q6J("ngIf",e.isHasViewPermission)}}let et=(()=>{class i{constructor(e,o,a,c){this.pagerService=e,this.commonService=o,this.c_components=a,this.helper=c,this.refresh=new t.vpe,this.isHasViewPermission=!1,this.isHasEditPermission=!1,this.tableHeader=[{name:"SITE NAME",value:"site_name",width:"20%",isCheckbox:!1},{name:"DEALER NAME",value:"dealer_name",width:"20%",isCheckbox:!1},{name:"NUMBER OF CAMERAS",value:"number_of_cameras",width:"10%",isCheckbox:!1},{name:"SITE PLAN",value:"site_plan",width:"30%",isCheckbox:!1},{name:"",value:null,width:"5%",isCheckbox:!1}],this.filteredSiteList=[],this.originalSiteList=[],this.pagedItems=[],this.isAllSelected=!1,this.selectedSiteList=[],this.isFocusSearch=!1,this.searchText="",this.basicPlanCount=0,this.videoVaultPlanCount=0,this.videoVaultPlusPlanCount=0,this.videoVaultPlusAICount=0,this.isUnfoldPlanDropdown=!1,this.sitePlanList=[{label:"Basic",value:1},{label:"Video Vault",value:2},{label:"Video Vault Plus",value:3},{label:"Video Vault Plus AI",value:4}],this.selectedSitePlan=this.sitePlanList[0],this.pager={},this.curPage=1,this.totalItem=0,this.pageOffset=50,this.pageOffsetStart=1,this.pageOffsetEnd=1,this.lastPage=1}ngOnInit(){this.originalSiteList=M.Z._.cloneDeep(this.siteList),this.filteredSiteList=M.Z._.cloneDeep(this.siteList),this.selectedSitePlan=this.sitePlanList[0],this.isHasViewPermission=this.helper.permission.has("site_plan_read"),this.isHasEditPermission=this.helper.permission.has("site_plan_edit"),this.setPage(1)}ngOnChanges(e){e.siteList&&(this.originalSiteList=M.Z._.cloneDeep(this.siteList),this.filteredSiteList=M.Z._.cloneDeep(this.siteList),this.setPage(1))}onGlobalClick(e){this.siteActionMenus&&this.siteActionMenus.toArray().forEach(a=>{this.pagedItems.forEach(c=>{`site-${c.site_id}`===a.nativeElement.id&&(a.nativeElement.contains(e.target)||(c.isShowMenu=!1))})}),this.selectDropdown&&(this.selectDropdown.nativeElement.contains(e.target)||(e.stopPropagation(),this.isUnfoldPlanDropdown=!1))}setMorePosition(e){const o=document.documentElement;let a=document.getElementById("site-"+e),c=document.getElementById("more-site-"+e),l=null==a?void 0:a.getBoundingClientRect();const u=(null==l?void 0:l.bottom)-45;c.style.right=o.clientWidth-(null==l?void 0:l.right)-10+"px",c.style.top=u+"px"}toggleMenu(e){e.isShowMenu=!e.isShowMenu}toggleAllCheckbox(e){const c=e.target;this.isAllSelected||this.siteList.length<100?(this.isAllSelected=!this.isAllSelected,this.siteList.forEach(l=>l.isSelected=this.isAllSelected),this.filteredSiteList.forEach(l=>l.isSelected=this.isAllSelected),this.selectedSiteList=this.isAllSelected?M.Z._.cloneDeep(this.siteList):[]):(e.preventDefault(),c.checked=this.isAllSelected,this.openWarningDialog("Warning","You can select up to 100 sites.","warning","orange"))}toggleCheckbox(e,o){const c=this.selectedSiteList.length,l=o.target,_=this.siteList.find(u=>(null==u?void 0:u.site_id)===(null==e?void 0:e.site_id));e.isSelected||c<100?(e.isSelected=!e.isSelected,_.isSelected=!_.isSelected):(o.preventDefault(),l.checked=e.isSelected,this.openWarningDialog("Warning","You can select up to 100 sites.","warning","orange")),this.selectedSiteList=this.siteList.filter(u=>u.isSelected),this.isAllSelected=this.siteList.every(u=>u.isSelected)}toggleSelectDropdown(e){null==e||e.stopPropagation(),this.isUnfoldPlanDropdown=!this.isUnfoldPlanDropdown}selectSitePlan(e,o){null==e||e.stopPropagation(),this.selectedSitePlan=o}checkTotalCount(e){this.basicPlanCount=0,this.videoVaultPlanCount=0,this.videoVaultPlusPlanCount=0,this.videoVaultPlusAICount=0,e.forEach(o=>{1===(null==o?void 0:o.site_plan_id)&&this.basicPlanCount++,2===(null==o?void 0:o.site_plan_id)&&this.videoVaultPlanCount++,3===(null==o?void 0:o.site_plan_id)&&this.videoVaultPlusPlanCount++,4===(null==o?void 0:o.site_plan_id)&&this.videoVaultPlusAICount++,(null==o?void 0:o.site_plan_id)||this.basicPlanCount++})}computedPlanBadgeStyle(e){switch(e){case 1:default:return"basic-badge";case 2:return"video-vault-plan-badge";case 3:return"video-vault-plus-plan-badge";case 4:return"video-vault-plus-ai-plan-badge"}}parseSitePlan(e){switch(e){case 1:default:return"Basic";case 2:return"Video Vault";case 3:return"Video Vault Plus";case 3:return"Video Vault Plus AI"}}determineElementToShowInMPDirection(){var e;return!this.isLoading&&(this.isHasViewPermission?(null===(e=this.siteList)||void 0===e?void 0:e.length)?"normal":"no-data":"no-permission")}goToDetail(e,o){e.stopPropagation(),this.helper.router.navigate_to("/customers/vms-service",{id:o.site_id})}setSearchFocus(){this.isFocusSearch=!0}search(){if(0==this.searchText.length||this.searchText.length<3)return this.filteredSiteList=this.originalSiteList,void this.setPage(1);this.filteredSiteList=this.searchSite(),this.setPage(1)}searchSite(){let e=this.searchText.toLowerCase();return this.originalSiteList.filter(o=>{let a=o.name.toLowerCase()+o.dealer_name.toLowerCase();return!!e&&a.search(e)>-1})}onClickBulkUpdatePlan(){return(0,d.mG)(this,void 0,void 0,function*(){try{this.isLoading=!0;const e=this.selectedSiteList.map(a=>a.site_id),o={site_plan_id:this.selectedSitePlan.value,site_ids:e};yield this.helper.dealer.bulk_update_dealer_site_plan(o),this.refresh.emit(),this.selectedSiteList=[],this.siteList.forEach(a=>a.isSelected=!1),this.setPage(1),this.openWarningDialog("Success","Plan has been updated successfully.","done","green"),this.isLoading=!1}catch(e){this.isLoading=!1,this.openWarningDialog("Error","Failed to update Device Plan.","warning","red")}})}compare(e,o,a){return null===e&&null===o?0:null===e?a?-1:1:null===o?a?1:-1:("string"==typeof e&&(e=e.toLocaleLowerCase()),"string"==typeof o&&(o=o.toLocaleLowerCase()),(e<o?-1:1)*(a?1:-1))}formatNumberWithCommaToNumber(e){return parseInt(null==e?void 0:e.replace(/,/g,""))}sortTableByColumn(e){if(!e.sortColumn||""===e.sortDirection)return;const a=this.filteredSiteList.sort((c,l)=>{const _="asc"===e.sortDirection;switch(e.sortColumn){case"site_name":return this.compare(c.name,l.name,_);case"dealer_name":return this.compare(c.dealer_name,l.dealer_name,_);case"number_of_cameras":return this.compare(c.device_count,l.device_count,_);case"site_plan":return this.compare(c.site_plan_id,l.site_plan_id,_);default:return 0}});this.filteredSiteList=a,this.setPage(1)}setPage(e){this.pagedItems=[];const o=this.filteredSiteList;if(this.checkTotalCount(o),!o)return console.debug("\u26a0\ufe0f list is lost",o),this.isLoading=!1;this.pager=this.pagerService.getPager(null==o?void 0:o.length,e,this.pageOffset),this.totalItem=null==o?void 0:o.length,this.pagedItems=o.slice(this.pager.startIndex,this.pager.endIndex+1),this.curPage=this.pager.currentPage,this.pageOffsetStart=this.curPage-1<0?0:this.curPage-1==0?1:(this.curPage-1)*this.pageOffset+1,this.pageOffsetEnd=this.curPage*this.pageOffset>this.totalItem?this.totalItem:this.curPage*this.pageOffset}openWarningDialog(e,o,a,c){this.c_components.dialog.open("warning",{header:`${e}`,contents:`\n <p>${o}</b></p>\n `,submit_btn:"OK",submit_class:["button-primary"],icon:a,isConfirm:!0,color:c,submit_func:()=>{}})}}return i.\u0275fac=function(e){return new(e||i)(t.Y36(k.e),t.Y36(S.v),t.Y36(T.I),t.Y36(Z.W))},i.\u0275cmp=t.Xpm({type:i,selectors:[["c_dtable_cloud_vms_manager_for_site"]],viewQuery:function(e,o){if(1&e&&(t.Gf(x,5),t.Gf(p,5)),2&e){let a;t.iGM(a=t.CRH())&&(o.selectDropdown=a.first),t.iGM(a=t.CRH())&&(o.siteActionMenus=a)}},hostBindings:function(e,o){1&e&&t.NdJ("mousedown",function(c){return o.onGlobalClick(c)},!1,t.evT)},inputs:{siteList:"siteList",isLoading:"isLoading"},outputs:{refresh:"refresh"},features:[t.TTD],decls:4,vars:3,consts:[["class","loader absolute",4,"ngIf"],["class","filters-area",4,"ngIf"],["class","table-area",4,"ngIf"],[1,"loader","absolute"],["viewBox","25 25 50 50",1,"circular"],["cx","50","cy","50","r","20","fill","none","stroke-width","4","stroke-miterlimit","10",1,"path"],[1,"filters-area"],[1,"filter"],[1,"search-container",2,"height","30px",3,"click"],[1,"material-icons",2,"padding","6px 10px"],["autocomplete","off","type","text","placeholder","Search...",3,"ngModel","ngModelChange","input"],["style","display: flex; align-items: center; gap: 8px;",4,"ngIf"],["class","badge-list",4,"ngIf"],[2,"display","flex","align-items","center","gap","8px"],[1,"select-comp",2,"width","160px"],["selectDropdown",""],[1,"selectbox","label",3,"click"],[1,"label",2,"color","black","width","160px"],["xmlns","http://www.w3.org/2000/svg","height","16px","width","14px","viewBox","0 0 18 20"],["d","M0 0h24v24H0V0z","fill","none"],["d","M12 4L16.58 8.59L15.17 10L12 6.83L8.83 10L7.41 8.59L12 4Z"],["d","M12 17.17L15.17 14 L16.59 15.41L12 20L7.42 15.41L8.83 14L12 17.17Z"],["class","select-list","style","width: 160px",4,"ngIf"],[1,"btn-area"],[1,"button","button-primary",3,"click"],[1,"btn-inner"],[1,"select-list",2,"width","160px"],["class","select-result has-child",3,"click",4,"ngFor","ngForOf"],[1,"select-result","has-child",3,"click"],[1,"f-1","flex","between"],[1,"flex"],["class","mr-7",4,"ngIf"],[1,"mr-7"],[3,"icon","color","size"],[3,"color","size"],[1,"badge-list"],[1,"basic-badge"],[1,"video-vault-plan-badge"],[1,"video-vault-plus-plan-badge"],[1,"video-vault-plus-ai-plan-badge"],[1,"table-area"],[1,"content-body","table-container"],["sortable-table","",1,"table-header",3,"sorted"],[3,"width",4,"ngFor","ngForOf"],[3,"sortable-column",4,"ngFor","ngForOf"],["class","alternative-contents",4,"ngIf"],["class","table-body",4,"ngIf"],["class","pagination-area",4,"ngIf"],[3,"width"],[3,"sortable-column"],["type","checkbox",3,"checked","click",4,"ngIf"],["type","checkbox",3,"checked","click"],[1,"alternative-contents"],[1,"material-icons"],[1,"table-body"],[4,"ngIf"],[4,"ngFor","ngForOf"],[3,"ngClass"],[1,"more-content","v-center",3,"id","mouseover"],["siteActionMenus",""],[1,"more-selector",3,"click"],[3,"icon","size","color"],[1,"more",3,"id"],[1,"more-item","row",3,"click"],[1,"pagination-area"],[2,"font-size","12px","padding-right","7px"],[1,"space"],[1,"flex",2,"font-size","12px","padding-right","7px","gap","2px"],[1,"pagination"],[1,"page-mover"],[1,"button","button-white",3,"click"],[1,"material-icons",2,"font-size","16px"]],template:function(e,o){1&e&&(t.ynx(0),t.YNc(1,C,3,0,"div",0),t.YNc(2,Q,8,7,"div",1),t.YNc(3,tt,12,6,"div",2),t.BQk()),2&e&&(t.xp6(1),t.Q6J("ngIf",o.isLoading),t.xp6(1),t.Q6J("ngIf",o.isHasViewPermission),t.xp6(1),t.Q6J("ngIf",!o.isLoading))},directives:[n.O5,h.Fj,h.JJ,h.On,n.sg,A.U,L.Q,g.a,n.mk],styles:['table[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{border-radius:50%;width:35px;height:35px}table.table-header[_ngcontent-%COMP%]:after{border-collapse:separate}.table-container[_ngcontent-%COMP%]{display:flex;height:100%;flex-direction:column;overflow-y:hidden}.table-container[_ngcontent-%COMP%] .table-header[_ngcontent-%COMP%]{min-height:31px;background-color:#f7fafc;border-bottom:solid 1px rgba(0,0,0,.1);border-top:solid 1px rgba(0,0,0,.1);box-sizing:border-box;padding:0 6px}.table-container[_ngcontent-%COMP%] .table-header.no-top-border[_ngcontent-%COMP%]{border-top:0}.table-container[_ngcontent-%COMP%] .table-header[_ngcontent-%COMP%] th[_ngcontent-%COMP%]{padding:10px 7px}.table-container[_ngcontent-%COMP%] .table-header[_ngcontent-%COMP%] th[_ngcontent-%COMP%]:first-child{padding:10px 7px 10px 20px}.table-container[_ngcontent-%COMP%] .table-header[_ngcontent-%COMP%] th[_ngcontent-%COMP%]:last-child{padding:10px 20px 10px 7px}.table-container[_ngcontent-%COMP%] .table-body[_ngcontent-%COMP%] td[_ngcontent-%COMP%]{padding:7px}.table-container[_ngcontent-%COMP%] .table-body[_ngcontent-%COMP%] td[_ngcontent-%COMP%]:first-child{padding:7px 7px 7px 20px}.table-container[_ngcontent-%COMP%] .table-body[_ngcontent-%COMP%] td[_ngcontent-%COMP%]:last-child{padding:7px 20px 7px 7px}.table-container[_ngcontent-%COMP%] .table-header-v2[_ngcontent-%COMP%] th[_ngcontent-%COMP%]{padding:10px 7px}.table-container[_ngcontent-%COMP%] .table-header-v2[_ngcontent-%COMP%] th[_ngcontent-%COMP%]:first-child{padding:10px 7px 10px 20px}.table-container[_ngcontent-%COMP%] .table-header-v2[_ngcontent-%COMP%] th[_ngcontent-%COMP%]:last-child{padding:10px 20px 10px 7px}.table-container[_ngcontent-%COMP%] .table-body-v2[_ngcontent-%COMP%] td[_ngcontent-%COMP%]{padding:7px}.table-container[_ngcontent-%COMP%] .table-body-v2[_ngcontent-%COMP%] td[_ngcontent-%COMP%]:first-child{padding:7px 7px 7px 20px}.table-container[_ngcontent-%COMP%] .table-body-v2[_ngcontent-%COMP%] td[_ngcontent-%COMP%]:last-child{padding:7px 20px 7px 7px}table.table-header-v2[_ngcontent-%COMP%]:after{border-collapse:separate}.table-container[_ngcontent-%COMP%] .table-body[_ngcontent-%COMP%]{width:100%;max-height:calc(100% - 30px);flex:1;overflow-y:overlay}.table-container[_ngcontent-%COMP%] .no-record[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:center;padding:7px 0}.has-child[_ngcontent-%COMP%]{cursor:pointer}.has-child[_ngcontent-%COMP%]:hover{background:#f0f0f0}.table-container[_ngcontent-%COMP%] .row[_ngcontent-%COMP%]{height:initial;align-items:center}.table-container[_ngcontent-%COMP%] table[_ngcontent-%COMP%]{width:100%;border-collapse:collapse}.table-container[_ngcontent-%COMP%] th[_ngcontent-%COMP%]{padding:10px 7px;color:#56657bde;text-transform:uppercase;text-align:left;font-size:13px;font-weight:normal}.table-container[_ngcontent-%COMP%] tr[_ngcontent-%COMP%]{border-bottom:1px rgba(0,0,0,.1) solid}.table-container[_ngcontent-%COMP%] tr[_ngcontent-%COMP%]:last-child{border-bottom:none}.table-container[_ngcontent-%COMP%] td[_ngcontent-%COMP%]{font-size:14px;color:#000000de;padding:7px;text-overflow:ellipsis;overflow-x:hidden;white-space:nowrap;max-width:1vw}.loader[_ngcontent-%COMP%]{position:relative;margin:0 auto;width:50px}.loader.absolute[_ngcontent-%COMP%]{margin:auto;position:absolute;top:calc(50% - 25px);left:calc(50% - 25px)}.loader[_ngcontent-%COMP%]:before{content:"";display:block;padding-top:100%}.circular[_ngcontent-%COMP%]{animation:rotate 2s linear infinite;height:100%;transform-origin:center center;width:100%;position:absolute;top:0;bottom:0;left:0;right:0;margin:auto}.path[_ngcontent-%COMP%]{stroke-dasharray:1,200;stroke-dashoffset:0;animation:dash 1.5s ease-in-out infinite;stroke:#0057e7;stroke-linecap:round}.ellipsis[_ngcontent-%COMP%]{text-overflow:ellipsis;overflow-x:hidden;white-space:nowrap}','@charset "UTF-8";.no-info[_ngcontent-%COMP%]{color:#00000061}.selected[_ngcontent-%COMP%]{color:#1e88e5;cursor:not-allowed}.text-primary[_ngcontent-%COMP%]{color:#1e88e5}.space[_ngcontent-%COMP%]{flex:1}.disabled[_ngcontent-%COMP%]{cursor:default;filter:contrast(60%) brightness(1.2);opacity:1;pointer-events:none;-webkit-user-select:none;user-select:none}.filters-area[_ngcontent-%COMP%]{padding:8px 20px;font-size:14px;border-top:1px solid rgba(0,0,0,.1)}.filters-area[_ngcontent-%COMP%] .filter[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:space-between;position:relative;grid-gap:8px;gap:8px;flex-wrap:wrap}.badge-list[_ngcontent-%COMP%]{display:flex;grid-gap:4px;gap:4px}.first-plan-badge[_ngcontent-%COMP%]{padding:2px 6px;color:#1e88e5;font-size:12px;text-align:center;border-radius:3px;background:rgba(30,136,229,.2);width:-moz-fit-content;width:fit-content}.second-plan-badge[_ngcontent-%COMP%]{padding:2px 6px;color:#5469d4;font-size:12px;text-align:center;border-radius:3px;background:rgba(84,105,212,.2);width:-moz-fit-content;width:fit-content}.third-plan-badge[_ngcontent-%COMP%]{padding:2px 6px;color:#5469d4;font-size:12px;text-align:center;border-radius:3px;background:rgba(84,105,212,.2);width:-moz-fit-content;width:fit-content}.basic-badge[_ngcontent-%COMP%]{padding:2px 6px;color:#55647b;font-size:12px;text-align:center;border-radius:3px;background:rgba(0,0,0,.15);width:-moz-fit-content;width:fit-content}.video-vault-plan-badge[_ngcontent-%COMP%]{padding:2px 6px;color:#1e88e5;font-size:12px;text-align:center;border-radius:3px;background:rgba(30,136,229,.2);width:-moz-fit-content;width:fit-content}.video-vault-plus-plan-badge[_ngcontent-%COMP%]{padding:2px 6px;color:#5469d4;font-size:12px;text-align:center;border-radius:3px;background:rgba(84,105,212,.1);width:-moz-fit-content;width:fit-content}.video-vault-plus-ai-plan-badge[_ngcontent-%COMP%]{padding:2px 6px;color:#283593;font-size:12px;text-align:center;border-radius:3px;background:rgba(3,28,207,.2);width:-moz-fit-content;width:fit-content}.no-contents[_ngcontent-%COMP%]{color:#adb4bf!important}.tooltip-background[_ngcontent-%COMP%]{padding:4px 8px;background:rgba(0,0,0,.7);color:#fff;font-size:12px}.pagination-area[_ngcontent-%COMP%]{position:absolute;background:white;bottom:0;display:flex;padding:12px;width:calc(100% - 24px);align-items:center;height:45px}.pagination-area[_ngcontent-%COMP%] .pagination-result[_ngcontent-%COMP%]{display:flex}.pagination-area[_ngcontent-%COMP%] .pagination-result-value[_ngcontent-%COMP%]{margin-right:5px;font-size:14px;color:#000000de}.pagination-area[_ngcontent-%COMP%] .pagination-result-label[_ngcontent-%COMP%]{font-size:14px;color:#0009}.pagination-area[_ngcontent-%COMP%] .pagination[_ngcontent-%COMP%]{display:inline-block}.pagination-area[_ngcontent-%COMP%] .pagination[_ngcontent-%COMP%] .page-mover[_ngcontent-%COMP%]{display:flex;align-items:center;grid-gap:8px;gap:8px}.pagination-area[_ngcontent-%COMP%] .pagination[_ngcontent-%COMP%] .page-mover[_ngcontent-%COMP%] .page-btn[_ngcontent-%COMP%]{display:flex;align-items:center;cursor:pointer;color:#0009}.pagination-area[_ngcontent-%COMP%] .pagination[_ngcontent-%COMP%] .page-mover[_ngcontent-%COMP%] .page-btn[_ngcontent-%COMP%]:hover{color:#000000de}.pagination-area[_ngcontent-%COMP%] .pagination[_ngcontent-%COMP%] .page-mover[_ngcontent-%COMP%] .page-btn.mover-disabled[_ngcontent-%COMP%]{cursor:initial;color:#0000004d}.table-area[_ngcontent-%COMP%]{height:100%}.table-container[_ngcontent-%COMP%]{position:relative}.table-container[_ngcontent-%COMP%] .unknown[_ngcontent-%COMP%]{color:#00000061}.table-container[_ngcontent-%COMP%] .table-body[_ngcontent-%COMP%]{border-bottom:1px solid rgba(0,0,0,.1);height:100%;max-height:calc(100% - 122px)}.table-container[_ngcontent-%COMP%] .table-body[_ngcontent-%COMP%] tr[_ngcontent-%COMP%]:hover{background:#F6F8FA}.chekt-select-option-wrapper[_ngcontent-%COMP%]{position:relative}.chekt-select-option[_ngcontent-%COMP%]{height:30px;width:100%;display:flex;flex-direction:row;justify-content:center;align-items:center;position:relative;z-index:1;background-color:#fff;border-radius:4px;box-shadow:#0000 0 0,#0000 0 0,#0000 0 0,#40445229 0 0 0 1px,#0000 0 0,#0000 0 0,#0000 0 0}.chekt-select-option.input-err[_ngcontent-%COMP%]{outline:none;background-color:#fbd0d6;box-shadow:0 0 0 2px #f1556c}.chekt-select-option[_ngcontent-%COMP%] > .chekt-select-option-label[_ngcontent-%COMP%]{display:flex;flex-direction:row;justify-content:space-between;align-items:center;position:relative;z-index:1;flex:0 1 auto;margin:0;text-decoration:none;vertical-align:middle;word-break:normal;background:transparent;border:0;outline:0;transition:color .24s;padding:4px 30px 4px 8px;-webkit-appearance:none;width:100%;appearance:none;-webkit-user-select:auto;user-select:auto;height:20px;cursor:pointer;font-family:Roboto,Helvetica,Arial,sans-serif;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;font-size:14px;color:#3c4257}.chekt-select-option-icon[_ngcontent-%COMP%]{position:absolute;top:50%;right:8px;z-index:2;margin-top:-9px;transition:color .24s;pointer-events:none;color:#3c4257}.chekt-select-dropdown[_ngcontent-%COMP%]{background-color:#fff;width:100%;position:absolute;box-shadow:0 0 0 1px #8898aa1a,0 15px 35px #31315d1a,0 5px 15px #00000014;border-radius:4px;margin-top:7px;z-index:100;-webkit-user-select:none;user-select:none;transition:transform .3s cubic-bezier(.075,.82,.165,1),opacity .3s cubic-bezier(.075,.82,.165,1)}.select-option-modal-list[_ngcontent-%COMP%]{cursor:pointer;max-height:200px;color:#55647b;font-size:14px;overflow-y:auto}.select-option-modal-list[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{padding:8px 0 8px 8px}.select-option-modal-list[_ngcontent-%COMP%] > div[_ngcontent-%COMP%] .selected[_ngcontent-%COMP%]{color:#1e88e5;cursor:not-allowed}.select-option-modal-list[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:hover{background-color:#f7fafc}.loader[_ngcontent-%COMP%]{width:30px}.loader[_ngcontent-%COMP%] .circular[_ngcontent-%COMP%] .path[_ngcontent-%COMP%]{stroke:#8792a2}.online[_ngcontent-%COMP%]{font-size:12px;padding:3px 10px;background:#E9F3FC;border-radius:20px;color:#1e88e5;text-align:center;width:-moz-fit-content;width:fit-content}.offline[_ngcontent-%COMP%]{padding:3px 10px;font-size:12px;background:#FAECF0;border-radius:20px;color:#cd3d64;text-align:center;width:-moz-fit-content;width:fit-content}.more-content[_ngcontent-%COMP%]{position:relative;justify-content:flex-end;cursor:pointer}.more-content[_ngcontent-%COMP%] .more-selector[_ngcontent-%COMP%]{padding:0 7px}.more-content[_ngcontent-%COMP%] .more-selector[_ngcontent-%COMP%]:hover{outline:1px solid rgba(0,0,0,.1);border-radius:5px}.more-content[_ngcontent-%COMP%] .more-icon[_ngcontent-%COMP%]{cursor:pointer;padding:0 4px;border-radius:4px;margin-right:10px;font-size:18px;color:#0009;-webkit-user-select:none;user-select:none}.more-content[_ngcontent-%COMP%] .more-icon[_ngcontent-%COMP%]:hover, .more-content[_ngcontent-%COMP%] .more-icon.show[_ngcontent-%COMP%]{box-shadow:0 0 4px gray}.more-content[_ngcontent-%COMP%] .more[_ngcontent-%COMP%]{visibility:hidden;opacity:0;background-color:#fff;color:#000000de;box-sizing:border-box;border-radius:6px;font-size:14px;box-shadow:0 0 10px #0000001a;border:1px solid rgba(0,0,0,.1);position:fixed;z-index:100;top:25px;right:0px}.more-content[_ngcontent-%COMP%] .more.show[_ngcontent-%COMP%]{visibility:visible;opacity:1}.more-content[_ngcontent-%COMP%] .more[_ngcontent-%COMP%] .more-title[_ngcontent-%COMP%]{color:#000000de;margin-bottom:5px;font-weight:500}.more-content[_ngcontent-%COMP%] .more[_ngcontent-%COMP%] .more-content[_ngcontent-%COMP%]{color:#0009;margin-bottom:14px;line-height:20px}.more-content[_ngcontent-%COMP%] .more[_ngcontent-%COMP%] .more-content[_ngcontent-%COMP%]:last-child{margin-bottom:0}.more-content[_ngcontent-%COMP%] .more[_ngcontent-%COMP%] .more-item[_ngcontent-%COMP%]{padding:7px 14px;box-sizing:border-box;font-size:14px;font-weight:400;cursor:pointer}.more-content[_ngcontent-%COMP%] .more[_ngcontent-%COMP%] .more-item[_ngcontent-%COMP%]:hover{background-color:#f7fafc}.more-content[_ngcontent-%COMP%] .more[_ngcontent-%COMP%] .more-item.txt-primary[_ngcontent-%COMP%]{color:#2383e2}.more-content[_ngcontent-%COMP%] .more[_ngcontent-%COMP%] .item-icon[_ngcontent-%COMP%]{color:#8792a2;margin-right:8px}.alternative-contents[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:center;flex-direction:column;width:100%;height:100%;font-size:14px;color:#8792a2}.alternative-contents[_ngcontent-%COMP%] i[_ngcontent-%COMP%]{color:#8792a2;font-size:24px;margin:8px}'],changeDetection:0}),i})();function nt(i,r){1&i&&t._UZ(0,"div",13)}function ot(i,r){if(1&i){const e=t.EpF();t.TgZ(0,"div",10),t.NdJ("click",function(){const c=t.CHM(e).$implicit;return t.oxw().moveToTab(c)}),t.TgZ(1,"div",11),t._uU(2),t.qZA(),t.YNc(3,nt,1,0,"div",12),t.qZA()}if(2&i){const e=r.$implicit,o=t.oxw();t.ekj("btn-selected",o.tab==e)("disabled",o.isLoading),t.xp6(2),t.Oqu(e),t.xp6(1),t.Q6J("ngIf",o.tab==e)}}function it(i,r){1&i&&(t.TgZ(0,"div",14),t.O4$(),t.TgZ(1,"svg",15),t._UZ(2,"circle",16),t.qZA(),t.qZA())}function at(i,r){if(1&i){const e=t.EpF();t.TgZ(0,"div",17),t.TgZ(1,"i",18),t._uU(2,"do_not_disturb_on"),t.qZA(),t.TgZ(3,"div"),t._uU(4,"This feature requires a Dealer plan upgrade."),t.qZA(),t.TgZ(5,"div",19),t.TgZ(6,"div",20),t.NdJ("click",function(){return t.CHM(e),t.oxw().goToDealerPlanSettings()}),t.TgZ(7,"div",21),t._uU(8,"Upgrade Plan"),t.qZA(),t.qZA(),t.qZA(),t.qZA()}}function ct(i,r){if(1&i){const e=t.EpF();t.TgZ(0,"c_dtable_cloud_vms_manager_for_site",25),t.NdJ("refresh",function(){return t.CHM(e),t.oxw(2).refreshSiteList()}),t.qZA()}if(2&i){const e=t.oxw(2);t.Q6J("siteList",e.siteList)("isLoading",e.isLoading)}}function rt(i,r){1&i&&(t.TgZ(0,"div",26),t.TgZ(1,"div",27),t.TgZ(2,"div",28),t.TgZ(3,"i",29),t._uU(4,"cloud_sync"),t.qZA(),t.qZA(),t.TgZ(5,"div",30),t.TgZ(6,"div",4),t._uU(7,"Where are you storing your video footage?"),t.qZA(),t.TgZ(8,"div",31),t._uU(9,"Let CHeKT Cloud Stream handle continuous 24/7 cloud recording."),t._UZ(10,"br"),t._UZ(11,"br"),t._uU(12,"Cameras will stream to the CHeKT cloud 24/7 and store video recording. This service is a per camera cost and installers should understand upload bandwidth limitations of the location."),t._UZ(13,"br"),t._UZ(14,"br"),t.TgZ(15,"b"),t._uU(16,"\u{1f60e} Coming Soon!"),t.qZA(),t.qZA(),t.qZA(),t.qZA(),t.qZA())}function st(i,r){if(1&i&&(t.TgZ(0,"div",22),t.YNc(1,ct,1,2,"c_dtable_cloud_vms_manager_for_site",23),t.YNc(2,rt,17,0,"div",24),t.qZA()),2&i){const e=t.oxw();t.xp6(1),t.Q6J("ngIf","sites"==e.tab),t.xp6(1),t.Q6J("ngIf","devices"==e.tab)}}const dt=m.Bz.forChild([{path:"",component:(()=>{class i{constructor(e,o){this.helper=e,this.c_components=o,this.isLoading=!1,this.me=null,this.isHasSitePlanViewPermission=!1,this.dealerId=null,this.amIMainDealer=!1,this.isStandardPlan=!1,this.dealers=[],this.tab_list=["sites","devices"],this.tab=this.tab_list[0],this.siteList=[],this.sitePlans=[],this.deviceList=[],this.devicePlanList=[]}ngOnInit(){return(0,d.mG)(this,void 0,void 0,function*(){yield this.init()})}init(){return(0,d.mG)(this,void 0,void 0,function*(){this.isLoading=!0,yield Promise.all([this.getMe(),this.checkPermission(),this.checkDealerPlan()]),this.isStandardPlan||(yield Promise.all([this.getSiteList(),this.getSitePlans(),this.getDeviceList(),this.getPartners()]),yield Promise.all([this.parseSiteList(),this.parseDeviceList()])),this.isLoading=!1})}getMe(){return(0,d.mG)(this,void 0,void 0,function*(){this.me=yield this.helper.me.get_me(),this.dealerId=this.me.dealer_id,this.amIMainDealer=2===this.me.type})}checkDealerPlan(){return(0,d.mG)(this,void 0,void 0,function*(){try{yield this.helper.dealer_plan.get_dealer_plan(),this.isStandardPlan=this.helper.dealer_plan.isStandardPlan()}catch(e){console.debug("checkDealerPlan :>",e)}})}checkPermission(){return(0,d.mG)(this,void 0,void 0,function*(){this.helper.permission.load_my_permissions_only_if_not_loaded(),this.isHasSitePlanViewPermission=this.helper.permission.has("site_plan_read")})}getSiteList(){return(0,d.mG)(this,void 0,void 0,function*(){try{const e="site_id&fields=name&fields=dealer_id&fields=dealer_type";this.siteList=yield this.helper.sites.get_sites(null,e)}catch(e){console.debug("getSiteList:> ",e),this.isLoading=!1}})}getSitePlans(){return(0,d.mG)(this,void 0,void 0,function*(){try{if(!this.isHasSitePlanViewPermission)return;this.sitePlans=yield this.helper.dealer.get_dealer_site_plans()}catch(e){console.debug("getSitePlans :>",e),this.isLoading=!1}})}getDeviceList(){return(0,d.mG)(this,void 0,void 0,function*(){try{let e="sort=site.name&dir=asc&filter=device.type,12,eq";e+="&fields=device.device_id,device.zone_number,device.name,device.is_online,device.is_activated_device_plan,device.device_plan_id,site.site_id",this.deviceList=yield this.helper.devices.get_devices(e,!0)}catch(e){console.debug("getDeviceList :>",e),this.isLoading=!1}})}getDevicePlans(){return(0,d.mG)(this,void 0,void 0,function*(){try{let e="filter=device.type,12,eq";e+="&fields=device.device_id,device.is_activated_device_plan,device.device_plan_id",this.devicePlanList=yield this.helper.devices.get_devices(e,!0)}catch(e){console.debug("getDeviceList :>",e),this.isLoading=!1}})}getPartners(){return(0,d.mG)(this,void 0,void 0,function*(){try{if(!this.amIMainDealer)return;const e=yield this.helper.dealer.get_site_partners();this.dealers=e}catch(e){console.debug("getPartners :>",e),this.isLoading=!1}})}parseSiteList(){return(0,d.mG)(this,void 0,void 0,function*(){const e=[];this.siteList.filter(a=>a.dealer_id===this.dealerId||3===a.dealer_type).forEach(a=>{var c,l,_,u,O,v,z,D;a.name||(a.name="No Name");let I="";I=this.amIMainDealer?null!==(l=null===(c=this.dealers.find(w=>w.dealer_id==a.dealer_id))||void 0===c?void 0:c.external_dealer_id_with_company_name)&&void 0!==l?l:"No Name":null!==(u=null===(_=this.me)||void 0===_?void 0:_.company_name)&&void 0!==u?u:"No Name";const E=null!==(v=null===(O=this.sitePlans.find(w=>w.site_id===a.site_id))||void 0===O?void 0:O.site_plan_id)&&void 0!==v?v:null;e.push({site_id:a.site_id,name:a.name,dealer_id:a.dealer_id,dealer_type:a.dealer_type,dealer_name:I||"No Name",device_count:(null===(D=null===(z=this.deviceList)||void 0===z?void 0:z.filter(w=>w.site_id===a.site_id))||void 0===D?void 0:D.length)||0,site_plan_id:E,site_plan:this.parseSitePlan(E),isSelected:!1,isShowMenu:!1})}),this.siteList=e})}parseSitePlan(e){switch(e){case 1:default:return"Basic";case 2:return"Video Vault";case 3:return"Video Vault Plus";case 4:return"Video Vault Plus AI"}}refreshSiteList(){return(0,d.mG)(this,void 0,void 0,function*(){this.isLoading=!0,yield this.getSitePlans(),this.siteList.forEach(e=>{var o;const a=null===(o=this.sitePlans.find(c=>c.site_id===e.site_id))||void 0===o?void 0:o.site_plan_id;e.site_plan_id=a,e.site_plan=this.parseSitePlan(a)}),this.isLoading=!1})}parseDeviceList(){return(0,d.mG)(this,void 0,void 0,function*(){const e=[];this.deviceList.forEach(o=>{var a;e.push({dealer_id:this.dealerId,site_id:o.site_id,device_id:o.device_id,name:o.name||"No Name",site_name:(null===(a=this.siteList.find(c=>c.site_id===o.site_id))||void 0===a?void 0:a.name)||"No Site Name",zone_number:o.zone_number,is_online:o.is_online,is_online_label:o.is_online?"Online":"Offline",is_activated_device_plan:o.is_activated_device_plan,device_plan_id:o.is_activated_device_plan?o.device_plan_id:null,device_plan:this.parseDevicePlan(o.is_activated_device_plan,o.device_plan_id),isSelected:!1,isShowMenu:!1})}),this.deviceList=e})}parseDeviceVideoEventsData(e){var o,a,c;if((null===(o=this.deviceList)||void 0===o?void 0:o.length)&&this.deviceList)for(let l=0;l<this.deviceList.length;l++){const _=this.deviceList[l],u=null!==(a=null==_?void 0:_.device_id)&&void 0!==a?a:"";if(!u)continue;const O=null===(c=e[u])||void 0===c?void 0:c.video_event_count;if(!O)continue;const v=parseInt(O);_.video_events=this.formatNumbersWithComma(v)}}parseDevicePlan(e,o){if(!e)return"Basic";switch(o){case 1:return"30 Day Storage Plan";case 2:return"90 Day Storage Plan";default:return"Basic"}}refreshDeviceList(){return(0,d.mG)(this,void 0,void 0,function*(){this.isLoading=!0,yield this.getDevicePlans(),this.deviceList.forEach(e=>{const o=this.devicePlanList.find(a=>a.device_id===e.device_id);e.is_activated_device_plan=o.is_activated_device_plan,e.device_plan_id=o.is_activated_device_plan?o.device_plan_id:null,e.device_plan=this.parseDevicePlan(o.is_activated_device_plan,o.device_plan_id)}),this.isLoading=!1})}moveToTab(e){this.tab=e}formatNumbersWithComma(e){return"string"==typeof e&&e.includes(",")?void 0:(null==e&&(e=0),parseFloat(e).toLocaleString("en-US"))}goToDealerPlanSettings(){return this.helper.router.navigate_to(2===this.me.type?"/settings/reseller-plan":"/settings/dealer-plan")}getCurrentYearMonth(){return f.Z.moment().format("YYYY-MM")}utcDate(e){const o=e?new Date(e):new Date;return f.Z.moment(o).utc()}calcCurrentMonth(e){return this.utcDate(e).startOf("month").format()}}return i.\u0275fac=function(e){return new(e||i)(t.Y36(Z.W),t.Y36(T.I))},i.\u0275cmp=t.Xpm({type:i,selectors:[["app-cloud-vms-manager"]],decls:11,vars:5,consts:[[1,"sub-component"],[1,"widget-area"],[1,"widget"],[1,"header"],[1,"title"],[1,"report-tab"],["class","btn",3,"btn-selected","disabled","click",4,"ngFor","ngForOf"],["class","loader absolute",4,"ngIf"],["class","alternative-contents",4,"ngIf"],["class","tab-table",4,"ngIf"],[1,"btn",3,"click"],[1,"tab-title"],["class","tab-selected-bar",4,"ngIf"],[1,"tab-selected-bar"],[1,"loader","absolute"],["viewBox","25 25 50 50",1,"circular"],["cx","50","cy","50","r","20","fill","none","stroke-width","4","stroke-miterlimit","10",1,"path"],[1,"alternative-contents"],[1,"material-icons"],[1,"btn-area",2,"margin-top","8px"],[1,"button","button-white",3,"click"],[1,"btn-inner"],[1,"tab-table"],[3,"siteList","isLoading","refresh",4,"ngIf"],["class","pre-caution",4,"ngIf"],[3,"siteList","isLoading","refresh"],[1,"pre-caution"],[1,"pre-caution-container"],[1,"pre-caution-icon"],[1,"material-icons",2,"font-size","40px","color","#fff"],[1,"pre-caution-item"],[1,"description"]],template:function(e,o){1&e&&(t.TgZ(0,"div",0),t.TgZ(1,"div",1),t.TgZ(2,"div",2),t.TgZ(3,"div",3),t.TgZ(4,"div",4),t._uU(5,"Cloud VMS Manager"),t.qZA(),t.qZA(),t.TgZ(6,"div",5),t.YNc(7,ot,4,6,"div",6),t.qZA(),t.YNc(8,it,3,0,"div",7),t.YNc(9,at,9,0,"div",8),t.YNc(10,st,3,2,"div",9),t.qZA(),t.qZA(),t.qZA()),2&e&&(t.xp6(1),t.Q6J("@page",void 0),t.xp6(6),t.Q6J("ngForOf",o.tab_list),t.xp6(1),t.Q6J("ngIf",o.isLoading),t.xp6(1),t.Q6J("ngIf",o.isStandardPlan&&!o.isLoading),t.xp6(1),t.Q6J("ngIf",!o.isStandardPlan&&!o.isLoading))},directives:[n.sg,n.O5,et],styles:['.scroll-screen[_ngcontent-%COMP%]{flex:1;flex-direction:column;overflow-y:overlay;height:100%;position:relative;padding:7px;-webkit-user-select:none;user-select:none;display:flex;align-items:center}.row[_ngcontent-%COMP%]{flex-direction:row;display:flex;height:100%;overflow-y:overlay;transition:.5s}.col[_ngcontent-%COMP%]{flex-direction:column;display:flex;flex:1;height:100%}.customer-widget-area[_ngcontent-%COMP%] .col[_ngcontent-%COMP%]{min-width:300px}.customer-widget-area[_ngcontent-%COMP%] .col[_ngcontent-%COMP%]:only-child{min-width:600px}.customer-widget-area.deactivated[_ngcontent-%COMP%] .col[_ngcontent-%COMP%]{height:calc(100% - 43px)}.col[_ngcontent-%COMP%] .widget[_ngcontent-%COMP%]{min-width:300px}.sub-nav[_ngcontent-%COMP%]{position:relative;left:0px;transition:all ease-in-out .3s;min-width:250px;max-width:250px;flex:1;background:#fff;border-right:.5px solid #d7d7d7;display:flex;flex-direction:column;overflow-y:overlay;z-index:3}.sub-nav[_ngcontent-%COMP%]:focus{outline:none}.sub-nav[_ngcontent-%COMP%] .row[_ngcontent-%COMP%]{height:initial;flex:initial;align-items:center}.sub-nav[_ngcontent-%COMP%] .col[_ngcontent-%COMP%]{overflow-y:overlay}.sub-nav[_ngcontent-%COMP%] .search[_ngcontent-%COMP%]{padding:6px 12px 6px 0;box-sizing:border-box;border:0;background-color:transparent;background-size:24px;background-position:4px 8px;background-repeat:no-repeat;flex:1}.sub-nav[_ngcontent-%COMP%] .button[_ngcontent-%COMP%]{margin-right:8px;color:#777;transition:.2s}.sub-nav[_ngcontent-%COMP%] .button[_ngcontent-%COMP%]:hover{cursor:pointer;color:#000}.sub-nav[_ngcontent-%COMP%] .badge[_ngcontent-%COMP%]{background-color:red;color:#fff;width:8px;height:14px;margin-left:8px;padding:2px 4px 2px 5px;border-radius:4px;font-size:12px}.sub-nav[_ngcontent-%COMP%] .plan-badge[_ngcontent-%COMP%]{background-color:red;width:6px;height:6px;margin-left:4px;border-radius:10px}.sub-nav[_ngcontent-%COMP%] .list-category[_ngcontent-%COMP%]{padding:24px 0 7px 20px;color:#2f96fb;font-size:14px;text-transform:uppercase}.sub-nav[_ngcontent-%COMP%] .list-category[_ngcontent-%COMP%]:first-child{padding:30px 0 7px 20px;color:#2f96fb;font-size:14px}.sub-nav[_ngcontent-%COMP%] .list-item[_ngcontent-%COMP%]{display:flex;align-items:center;color:#0009;cursor:pointer}.sub-nav[_ngcontent-%COMP%] .list-item[_ngcontent-%COMP%]:hover{background:rgba(0,0,0,.05)}.sub-nav[_ngcontent-%COMP%] .list-item[_ngcontent-%COMP%]:hover.settings{background:transparent}.sub-nav[_ngcontent-%COMP%] .list-item-selected[_ngcontent-%COMP%]{background:#dcf0fd!important;color:#000000de}.sub-nav[_ngcontent-%COMP%] .list-item-selected[_ngcontent-%COMP%]:after{background-color:#2f96fb}.sub-nav[_ngcontent-%COMP%] .list-item-selected.settings[_ngcontent-%COMP%]{background:transparent!important;color:#000000de;font-weight:500;color:#2f96fb}.sub-nav[_ngcontent-%COMP%] .menu-label[_ngcontent-%COMP%]{display:flex;font-size:14px;padding:7px 0 7px 15px}.sub-nav[_ngcontent-%COMP%] .menu-label.settings[_ngcontent-%COMP%]{padding-left:16px;width:100%;margin:0 4px;border-radius:4px}.sub-nav[_ngcontent-%COMP%] .menu-label.settings[_ngcontent-%COMP%]:hover{padding:8px 16px;background:#e8eaed}.sub-nav[_ngcontent-%COMP%] .menu-label.settings.selected-label[_ngcontent-%COMP%]{width:100%;margin:0 4px;padding:8px 12px;border-radius:4px;font-weight:500;color:#2f96fb}.sub-nav[_ngcontent-%COMP%] .menu-label.settings.selected-label[_ngcontent-%COMP%]:hover{padding:8px 12px;background:#dcf0fd}.sub-nav[_ngcontent-%COMP%] .select-mark[_ngcontent-%COMP%]{background-color:#2f96fb}.sub-nav[_ngcontent-%COMP%] .select-mark.settings[_ngcontent-%COMP%]{background-color:#2383e2;width:4px;min-height:30px;height:30px;border-radius:4px}.component-body[_ngcontent-%COMP%]{position:relative;flex:5;height:100%;flex-direction:column;display:flex;transition:all ease-in-out .3s}.component-body-no-data[_ngcontent-%COMP%]{flex:5;height:100%;flex-direction:column;align-items:center;justify-content:center;display:flex}.tab[_ngcontent-%COMP%]{height:60px;color:#888;background:#f7f7fc;box-shadow:0 4px 2px -2px #888;display:flex;align-items:center;z-index:1}.tab[_ngcontent-%COMP%] .button[_ngcontent-%COMP%]{display:flex;align-items:center;height:100%;position:relative}.tab[_ngcontent-%COMP%] .button[_ngcontent-%COMP%]:hover{color:#2383e2;cursor:pointer}.tab[_ngcontent-%COMP%] .button-selected[_ngcontent-%COMP%]{color:#2383e2}.tab[_ngcontent-%COMP%] .icn-button[_ngcontent-%COMP%]{padding:0 16px}.tab[_ngcontent-%COMP%] .icn-button-active[_ngcontent-%COMP%]{color:#000}.tab[_ngcontent-%COMP%] .tab-title[_ngcontent-%COMP%]{padding:0 32px;text-transform:capitalize;font-size:14px}.tab[_ngcontent-%COMP%] .tab-selected-bar[_ngcontent-%COMP%]{position:absolute;bottom:-2px;width:100%;height:4px;background:#2383e2}.plan-upgrade-badge[_ngcontent-%COMP%]{background:linear-gradient(90deg,#2A517E 17.88%,#1E88E5 69.03%);border-radius:10px;padding:2px 6px;margin-left:-8px;color:#fff;font-size:12px;font-weight:400;cursor:pointer}.customer-tab[_ngcontent-%COMP%]{color:#7a7a7a;background:#fff;border-bottom:1px solid rgba(0,0,0,.1);display:flex;align-items:center;z-index:1;font-weight:500;font-size:14px;flex-flow:wrap}.customer-tab[_ngcontent-%COMP%] .button[_ngcontent-%COMP%]{display:flex;align-items:center;height:50px;position:relative;cursor:pointer}.customer-tab[_ngcontent-%COMP%] .button-selected[_ngcontent-%COMP%]{color:#1e88e5;font-weight:500}.customer-tab[_ngcontent-%COMP%] .icn-button[_ngcontent-%COMP%]{padding:0 16px}.customer-tab[_ngcontent-%COMP%] .icn-button-active[_ngcontent-%COMP%]{color:#000}.customer-tab[_ngcontent-%COMP%] .tab-title[_ngcontent-%COMP%]{padding:8px 20px;text-transform:capitalize;font-size:14px;font-weight:400}.customer-tab[_ngcontent-%COMP%] .tab-title.selected[_ngcontent-%COMP%]{font-weight:500}.customer-tab[_ngcontent-%COMP%] .tab-title[_ngcontent-%COMP%]:hover{background:#e8eaed;border-radius:7px}.customer-tab[_ngcontent-%COMP%] .tab-selected-bar[_ngcontent-%COMP%]{position:absolute;bottom:-2px;width:100%;height:3px;background:#2383e2}.setting-tab[_ngcontent-%COMP%]{height:41px;box-sizing:border-box;color:#7a7a7a;background:#fff;display:flex;flex-direction:row;align-items:center;z-index:1;font-size:14px;font-weight:500;justify-content:space-between;border-bottom:1px solid rgba(0,0,0,.1);background-color:#fbfbfa}.setting-tab[_ngcontent-%COMP%] .button[_ngcontent-%COMP%]{display:flex;align-items:center;height:100%;position:relative;cursor:pointer}.setting-tab[_ngcontent-%COMP%] .button-selected[_ngcontent-%COMP%]{color:#000}.setting-tab[_ngcontent-%COMP%] .button-selected-red[_ngcontent-%COMP%]{color:#f67474}.setting-tab[_ngcontent-%COMP%] .icn-button[_ngcontent-%COMP%]{padding:0 16px}.setting-tab[_ngcontent-%COMP%] .icn-button-active[_ngcontent-%COMP%]{color:#000}.setting-tab[_ngcontent-%COMP%] .tab-title[_ngcontent-%COMP%]{padding:5px 20px;text-transform:capitalize;font-size:13px;font-weight:400;margin:0 1px}.setting-tab[_ngcontent-%COMP%] .tab-title[_ngcontent-%COMP%]:hover{background:#e8eaed;border-radius:5px}.setting-tab[_ngcontent-%COMP%] .tab-selected-bar[_ngcontent-%COMP%]{position:absolute;width:100%;bottom:0;height:4px;background:#2383e2;border-radius:4px}.setting-tab[_ngcontent-%COMP%] .tab-selected-bar-red[_ngcontent-%COMP%]{position:absolute;width:100%;bottom:0;height:5px;background:#f67474}.btn-icon[_ngcontent-%COMP%]{color:#7c7c7c;background-color:#f1f1f1;cursor:pointer}.btn-icon[_ngcontent-%COMP%]:hover{color:#7c7c7c;background-color:#efeff6}.space[_ngcontent-%COMP%]{flex:1}.sub-component[_ngcontent-%COMP%]{flex:1;display:flex;flex-direction:column;width:100%;height:100%}.widget-area[_ngcontent-%COMP%]{flex-direction:row;display:flex;height:100%;flex:1;overflow-y:overlay;padding:20px 30px;flex-wrap:wrap;justify-content:center;box-sizing:border-box}.customer-widget-area[_ngcontent-%COMP%]{position:absolute;height:auto;bottom:0;top:0;left:0;right:0;flex-direction:row;display:flex;flex:1;overflow:initial;padding:14px;box-sizing:border-box;flex-wrap:wrap;justify-content:center}.customer-widget-area.deactivated[_ngcontent-%COMP%]{padding:0 7px 7px}.wcs-widget-area[_ngcontent-%COMP%]{position:absolute;height:auto;bottom:0;top:0;left:0;right:0;flex-direction:row;display:flex;flex:1;overflow-y:overlay;padding:12px;flex-wrap:wrap;align-items:center;grid-gap:12px;gap:12px}.wcs-widget-area[_ngcontent-%COMP%] .col[_ngcontent-%COMP%]{align-items:center}.setting-widget[_ngcontent-%COMP%]{height:calc(100% - 44px)}.setting-router[_ngcontent-%COMP%]{width:100%;flex:1;position:relative;overflow:auto;overflow-y:overlay}.container[_ngcontent-%COMP%]{width:calc(100% - 14px);height:100%;display:flex;flex-direction:column;align-items:center;padding:7px}.widget[_ngcontent-%COMP%]{flex:1;display:flex;flex-direction:column;max-width:1400px;min-width:300px;max-height:calc(100% - 15px);background:white;transition:.5s;border-radius:3px;border:1px solid rgba(0,0,0,.1);margin:0 5px 10px}.widget[_ngcontent-%COMP%]:last-child{margin:0 5px}.widget[_ngcontent-%COMP%]:only-child{min-width:600px}.widget[_ngcontent-%COMP%] .header[_ngcontent-%COMP%]{display:flex;flex-direction:row;align-items:center;border-bottom:solid 1px rgba(0,0,0,.1)}.widget[_ngcontent-%COMP%] .widget-body[_ngcontent-%COMP%]{display:flex;flex-direction:column;height:calc(100% - 108px);padding:20px}.widget[_ngcontent-%COMP%] .widget-body[_ngcontent-%COMP%] .item[_ngcontent-%COMP%]{padding-bottom:14px}.widget-item[_ngcontent-%COMP%]{flex:none;font-size:14px;color:#000000de}.widget-item[_ngcontent-%COMP%] .widget-body[_ngcontent-%COMP%]{padding:14px 30px}.widget[_ngcontent-%COMP%] .desc[_ngcontent-%COMP%]{font-size:14px;color:#0009;margin-bottom:7px}.widget[_ngcontent-%COMP%] .label[_ngcontent-%COMP%]{width:200px;font-size:14px;color:#0009}.widget[_ngcontent-%COMP%] .item-row[_ngcontent-%COMP%]{display:flex;padding:7px 0}.widget[_ngcontent-%COMP%] .bottom-line[_ngcontent-%COMP%]{border-bottom:solid 1px rgba(0,0,0,.1)}.scroll-widget[_ngcontent-%COMP%]{max-height:initial}.item[_ngcontent-%COMP%] .w-1[_ngcontent-%COMP%]{width:10%}.item[_ngcontent-%COMP%] .w-2[_ngcontent-%COMP%]{width:20%}.item[_ngcontent-%COMP%] .w-3[_ngcontent-%COMP%]{width:30%}.item[_ngcontent-%COMP%] .w-4[_ngcontent-%COMP%]{width:40%}.item[_ngcontent-%COMP%] .w-5[_ngcontent-%COMP%]{width:50%}.item[_ngcontent-%COMP%] .fs-12[_ngcontent-%COMP%]{font-size:12px}.item[_ngcontent-%COMP%] .right-align[_ngcontent-%COMP%]{text-align:right}.item[_ngcontent-%COMP%] .contents[_ngcontent-%COMP%]{display:flex;padding:8px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;vertical-align:middle;font-size:14px}.item[_ngcontent-%COMP%] .contents[_ngcontent-%COMP%] select[_ngcontent-%COMP%]{width:80%;box-sizing:border-box;padding:8px;font-size:14px;background-color:#f0f0f0;border:none;border-bottom:2px solid #f0f0f0;-webkit-appearance:none;-moz-appearance:none;transition:.2s}.item[_ngcontent-%COMP%] .contents[_ngcontent-%COMP%] select[_ngcontent-%COMP%]:focus{outline:none;border-bottom:2px solid #2383e2}.item[_ngcontent-%COMP%] .contents[_ngcontent-%COMP%] .search-icon[_ngcontent-%COMP%]{position:absolute;left:12px;top:12px;color:#00000080}.item[_ngcontent-%COMP%] .contents[_ngcontent-%COMP%] .search-box[_ngcontent-%COMP%]{width:100%;padding-left:32px}.item[_ngcontent-%COMP%] .contents[_ngcontent-%COMP%] .button[_ngcontent-%COMP%]{cursor:pointer}.cell[_ngcontent-%COMP%]{padding-bottom:14px}.widget[_ngcontent-%COMP%] .widget-bottom[_ngcontent-%COMP%]{display:flex;padding-top:6px}.table-area[_ngcontent-%COMP%]{height:100%;overflow:overlay}.table-container[_ngcontent-%COMP%]{display:flex;height:100%;flex-direction:column;overflow-y:hidden}table.table-header[_ngcontent-%COMP%]:after{border-collapse:separate}.table-container[_ngcontent-%COMP%] .table-header[_ngcontent-%COMP%]{min-height:31px;background-color:#f7fafc;border-bottom:solid 1px rgba(0,0,0,.1);border-top:solid 1px rgba(0,0,0,.1);box-sizing:border-box}.table-container[_ngcontent-%COMP%] .table-header.no-top-border[_ngcontent-%COMP%]{border-top:0}.table-container[_ngcontent-%COMP%] .table-header[_ngcontent-%COMP%] th[_ngcontent-%COMP%]{padding:10px 7px}.table-container[_ngcontent-%COMP%] .table-header[_ngcontent-%COMP%] th[_ngcontent-%COMP%]:first-child{padding:10px 7px 10px 20px}.table-container[_ngcontent-%COMP%] .table-header[_ngcontent-%COMP%] th[_ngcontent-%COMP%]:last-child{padding:10px 20px 10px 7px}.table-container[_ngcontent-%COMP%] .table-body[_ngcontent-%COMP%] td[_ngcontent-%COMP%]{padding:7px}.table-container[_ngcontent-%COMP%] .table-body[_ngcontent-%COMP%] td[_ngcontent-%COMP%]:first-child{padding:7px 7px 7px 20px}.table-container[_ngcontent-%COMP%] .table-body[_ngcontent-%COMP%] td[_ngcontent-%COMP%]:last-child{padding:7px 20px 7px 7px}.table-container[_ngcontent-%COMP%] .table-header-v2[_ngcontent-%COMP%] th[_ngcontent-%COMP%]{padding:10px 7px}.table-container[_ngcontent-%COMP%] .table-header-v2[_ngcontent-%COMP%] th[_ngcontent-%COMP%]:first-child{padding:10px 7px 10px 20px}.table-container[_ngcontent-%COMP%] .table-header-v2[_ngcontent-%COMP%] th[_ngcontent-%COMP%]:last-child{padding:10px 20px 10px 7px}.table-container[_ngcontent-%COMP%] .table-body-v2[_ngcontent-%COMP%] td[_ngcontent-%COMP%]{padding:7px}.table-container[_ngcontent-%COMP%] .table-body-v2[_ngcontent-%COMP%] td[_ngcontent-%COMP%]:first-child{padding:7px 7px 7px 20px}.table-container[_ngcontent-%COMP%] .table-body-v2[_ngcontent-%COMP%] td[_ngcontent-%COMP%]:last-child{padding:7px 20px 7px 7px}table.table-header-v2[_ngcontent-%COMP%]:after{border-collapse:separate}.table-container[_ngcontent-%COMP%] .table-body[_ngcontent-%COMP%]{width:100%;max-height:calc(100% - 30px);flex:1;overflow-y:overlay}.table-container[_ngcontent-%COMP%] .no-record[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:center;padding:7px 0}.header[_ngcontent-%COMP%] .title[_ngcontent-%COMP%]{flex:1;font-size:16px;padding:12px 20px;color:#000000de}.header[_ngcontent-%COMP%] .btn-area[_ngcontent-%COMP%]{padding:7px 16px}.header[_ngcontent-%COMP%] .button-selected[_ngcontent-%COMP%]{color:#000}.header[_ngcontent-%COMP%] .button-disable[_ngcontent-%COMP%]:hover{color:#aaa;cursor:default;pointer-events:none}.header[_ngcontent-%COMP%] .button-primary[_ngcontent-%COMP%]{color:#1e90ff}.header[_ngcontent-%COMP%] .button-primary[_ngcontent-%COMP%]:hover{color:#30b0ff}.widget[_ngcontent-%COMP%] .body[_ngcontent-%COMP%]{flex:1;padding:14px 16px;overflow-y:overlay}.body-center[_ngcontent-%COMP%]{position:relative;flex:1;display:flex;flex-direction:column;align-items:center;justify-content:center}.body-center[_ngcontent-%COMP%] .image[_ngcontent-%COMP%]{text-align:center}.body-center[_ngcontent-%COMP%] .image[_ngcontent-%COMP%] i[_ngcontent-%COMP%]{font-size:30px;color:#2383e2}.body-center[_ngcontent-%COMP%] .description[_ngcontent-%COMP%]{margin-bottom:14px;font-size:14px;color:#0009;text-align:center;line-height:1.5}.body-center[_ngcontent-%COMP%] .description[_ngcontent-%COMP%] .title[_ngcontent-%COMP%]{margin-bottom:8px;font-size:18px;color:#000000de}.body[_ngcontent-%COMP%] .title[_ngcontent-%COMP%]{font-size:14px;color:#777}.body[_ngcontent-%COMP%] > .contents[_ngcontent-%COMP%]{font-size:15px;color:#333;margin-top:4px;padding:4px 0;display:flex;min-height:24px;align-items:center}.body[_ngcontent-%COMP%] .editable[_ngcontent-%COMP%]{border-bottom:1px solid #fff;transition:.5s}.body[_ngcontent-%COMP%] .editable[_ngcontent-%COMP%]:hover{cursor:text;border-bottom:1px solid #ccc}.body[_ngcontent-%COMP%] .selectbox[_ngcontent-%COMP%]{color:#777;padding:16px;box-shadow:0 0 2px #888;transition:.2s;cursor:pointer;display:flex;flex-direction:row}.body[_ngcontent-%COMP%] .selectbox[_ngcontent-%COMP%]:hover{color:#333;box-shadow:0 0 6px #888}.widget[_ngcontent-%COMP%] .search[_ngcontent-%COMP%]{margin:12px;padding:12px 12px 12px 36px;box-sizing:border-box;border:0;border-bottom:2px solid #ddd;background-color:transparent;background-image:url(/assets/icons/ic_search_72pt.png);background-size:24px;background-position:4px 8px;background-repeat:no-repeat;flex:1;transition:.3s}.widget[_ngcontent-%COMP%] .search[_ngcontent-%COMP%]:focus{outline:none;border-bottom:2px solid #777}.widget[_ngcontent-%COMP%] .filter-area[_ngcontent-%COMP%]{flex:1;display:flex;align-items:center;flex-direction:row-reverse}.tab[_ngcontent-%COMP%] .combo-box[_ngcontent-%COMP%]{display:flex}.filter-area[_ngcontent-%COMP%] .combo-box[_ngcontent-%COMP%]{color:#777;font-size:14px;padding:0 8px 0 0;text-align:right;position:relative;cursor:pointer}.header[_ngcontent-%COMP%] .combo-box[_ngcontent-%COMP%]{color:#777;font-size:14px;text-align:right;position:relative;cursor:pointer}.combo-box[_ngcontent-%COMP%] > .button[_ngcontent-%COMP%]{transition:.2s}.combo-box[_ngcontent-%COMP%] > .button-active[_ngcontent-%COMP%]{color:#000}.combo-box[_ngcontent-%COMP%] .arrow[_ngcontent-%COMP%]{vertical-align:middle}.combo-box-contents[_ngcontent-%COMP%]{position:absolute;right:16px;z-index:101;text-align:left;box-sizing:border-box;background-color:#fff;transition:.2s;box-shadow:0 2px 4px #00000080;border:solid 1px #d9d9d9;border-radius:5px}.combo-box-contents[_ngcontent-%COMP%] .items[_ngcontent-%COMP%]{cursor:pointer;padding:8px;color:#333;font-size:12px}.combo-box-contents[_ngcontent-%COMP%] .items[_ngcontent-%COMP%]:hover{background:#eee}.list[_ngcontent-%COMP%]{display:flex;flex-direction:row;align-items:center;border-bottom:1px solid rgba(0,0,0,.1);min-height:28px;transition:.1s;padding:10px 20px}.list.locked-list[_ngcontent-%COMP%]{background-color:#f7fafc}.list-group[_ngcontent-%COMP%]:hover{background-color:#fafcff}.list-bottom-clear[_ngcontent-%COMP%]{border-bottom:none}.list-bottom-line[_ngcontent-%COMP%]{border-bottom:1px solid #aaa}.widget[_ngcontent-%COMP%] .list[_ngcontent-%COMP%]:hover{background:#f5f5f5;cursor:pointer}.widget[_ngcontent-%COMP%] .list.locked-list[_ngcontent-%COMP%]:hover{background:#F7FAFC;cursor:initial}.list[_ngcontent-%COMP%] > .contents[_ngcontent-%COMP%]{padding:12px 0;font-size:14px;color:#333;flex:1}.list[_ngcontent-%COMP%] > .stat-contents[_ngcontent-%COMP%]{padding:12px 0;float:right;font-size:13px;color:#aaa}.list[_ngcontent-%COMP%] > .button-contents[_ngcontent-%COMP%]{padding:12px 0;float:right;font-size:13px}.list[_ngcontent-%COMP%] > .button-contents[_ngcontent-%COMP%]:hover{opacity:.8}.list[_ngcontent-%COMP%] > .icon[_ngcontent-%COMP%]{display:flex;align-items:center;margin:0 10px 0 6px;height:40px}.list[_ngcontent-%COMP%] .status-bar[_ngcontent-%COMP%]{width:8px;background:#aaa}.contents[_ngcontent-%COMP%] > .contents-small[_ngcontent-%COMP%]{margin-left:4px;font-size:11px;color:#555}.contents[_ngcontent-%COMP%] .sub-contents[_ngcontent-%COMP%]{font-size:12px;color:#0009;margin-top:6px}.widget[_ngcontent-%COMP%] .row[_ngcontent-%COMP%]{height:initial;align-items:center}.widget[_ngcontent-%COMP%] table[_ngcontent-%COMP%]{width:100%;border-collapse:collapse}.widget[_ngcontent-%COMP%] th[_ngcontent-%COMP%]{padding:10px 7px;color:#56657bde;text-transform:uppercase;text-align:left;font-size:13px;font-weight:normal}.widget[_ngcontent-%COMP%] tr[_ngcontent-%COMP%]{border-bottom:1px rgba(0,0,0,.1) solid}.widget[_ngcontent-%COMP%] tr[_ngcontent-%COMP%]:last-child{border-bottom:none}.widget[_ngcontent-%COMP%] td[_ngcontent-%COMP%]{font-size:14px;color:#000000de;padding:7px}td[_ngcontent-%COMP%] .sub-contents[_ngcontent-%COMP%]{font-size:11px;color:#888;margin-top:4px}td[_ngcontent-%COMP%] .edit-btn[_ngcontent-%COMP%]{cursor:pointer;color:#1e90ff}td[_ngcontent-%COMP%] .delete-btn[_ngcontent-%COMP%]{cursor:pointer;color:#f1556c}table[_ngcontent-%COMP%] .button[_ngcontent-%COMP%]{float:right;color:#bbb;transition:.2s;cursor:pointer}table[_ngcontent-%COMP%] .button[_ngcontent-%COMP%]:hover{color:#333}table[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{border-radius:50%;width:35px;height:35px}.div-table-header[_ngcontent-%COMP%]{display:flex;height:30px;border-style:solid;border-width:1px;border-image-source:linear-gradient(to bottom,#dfdfdf,#bcbcbc);border-image-slice:1;border-collapse:separate;background-image:linear-gradient(to bottom,#f7f7f7,#ececed);font-size:14px;align-items:center}.div-table-header[_ngcontent-%COMP%] .div-table-head[_ngcontent-%COMP%]{padding:7px 16px}.face[_ngcontent-%COMP%]{border-radius:50%;width:28px;height:28px;display:inline-block;margin-right:8px;vertical-align:middle}.folding-list[_ngcontent-%COMP%]{cursor:pointer}.folding-list[_ngcontent-%COMP%] .icon[_ngcontent-%COMP%]{vertical-align:middle;margin-right:8px}.folding-list[_ngcontent-%COMP%] .contents[_ngcontent-%COMP%]{color:#555;font-size:16px;padding:12px 0;border-bottom:1px solid #aaa;transition:.1s;height:54px}.folding-list[_ngcontent-%COMP%] .contents[_ngcontent-%COMP%]:hover{background:#f5f5f5}.folding-list[_ngcontent-%COMP%] .sub-list-title[_ngcontent-%COMP%]{margin-left:16px;padding:12px 0 4px;color:#777;font-size:12px;font-weight:bold;border-bottom:1px solid #ccc;display:flex}.folding-list[_ngcontent-%COMP%] .sub-list[_ngcontent-%COMP%]{margin-left:16px;padding:8px 0;color:#333;font-size:14px;border-bottom:1px solid #ccc;transition:.1s;display:flex}.folding-list[_ngcontent-%COMP%] .sub-list[_ngcontent-%COMP%]:hover{background:#f5f5f5}.folding-list[_ngcontent-%COMP%] .sub-list-selected[_ngcontent-%COMP%]{background:#f5f5f5}.empty-contents[_ngcontent-%COMP%]{font-size:16px;color:#bbb;font-weight:bold;text-transform:uppercase}.body[_ngcontent-%COMP%] input[_ngcontent-%COMP%]{flex:1;box-sizing:border-box;padding:4px;border:0;border-bottom:1px solid #ccc;background:rgba(0,0,0,0);transition:.2s}.body[_ngcontent-%COMP%] input[_ngcontent-%COMP%]:focus{outline:none;border-bottom:1px solid #777}.body[_ngcontent-%COMP%] .hidden-input[_ngcontent-%COMP%]{padding:4px 0;border-bottom:1px solid #fff;background:rgba(0,0,0,0)}.body[_ngcontent-%COMP%] .hidden-input[_ngcontent-%COMP%]:hover{border-bottom:1px solid #777}.dropdown[_ngcontent-%COMP%]{font-size:14px;position:relative;flex:1}.dropdown-contents[_ngcontent-%COMP%]{position:absolute;width:100%;margin-top:8px;left:0px;z-index:100;text-align:left;box-sizing:border-box;background-color:#fff;box-shadow:0 1px 13px 1px #0003;transition:.2s}.dropdown-contents[_ngcontent-%COMP%] > .list-item[_ngcontent-%COMP%]{cursor:pointer;padding:8px;color:#333;font-size:14px;display:flex;align-items:center}.dropdown-contents[_ngcontent-%COMP%] > .list-item[_ngcontent-%COMP%]:hover{background:#eee}.dropdown[_ngcontent-%COMP%] input[_ngcontent-%COMP%]{width:100%;background:rgba(0,0,0,0)}.face[_ngcontent-%COMP%]{border-radius:50%;width:32px;height:32px;margin-right:8px}.no-face[_ngcontent-%COMP%]{border-radius:50%;width:38x;height:38px;min-width:38px;min-height:38px;background-color:#ccc;display:inline-block;margin-right:8px;vertical-align:middle;color:#fff;text-align:center;text-transform:uppercase}.calendar[_ngcontent-%COMP%]{width:100%}.contents[_ngcontent-%COMP%] > .button[_ngcontent-%COMP%]{color:#777;transition:.2s;cursor:pointer}.contents[_ngcontent-%COMP%] > .button[_ngcontent-%COMP%]:hover{color:#333}.list[_ngcontent-%COMP%] > .button[_ngcontent-%COMP%]{display:flex;width:32px;height:32px;justify-content:center;align-items:center;padding:5px;color:#777;transition:.2s;cursor:pointer;border-radius:21px}.list[_ngcontent-%COMP%] > .button[_ngcontent-%COMP%]:hover{color:#333;background:rgba(0,0,0,.05)}.btn-danger[_ngcontent-%COMP%]{color:#f1556d}.btn-danger[_ngcontent-%COMP%]:hover{color:#f47185}.svg-icon[_ngcontent-%COMP%]{font-size:24px;color:#000;width:1em;height:1em;position:relative}.svg-icon[_ngcontent-%COMP%] svg[_ngcontent-%COMP%]{fill:currentColor;width:100%;height:100%;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)}.png-icon[_ngcontent-%COMP%]{width:36px;height:36px;position:relative}.png-icon[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{max-width:100%;max-height:100%}.child-item[_ngcontent-%COMP%]{padding-left:24px}.title[_ngcontent-%COMP%] .icon[_ngcontent-%COMP%]{vertical-align:middle;margin-right:4px}.widget[_ngcontent-%COMP%] .has-child[_ngcontent-%COMP%]:hover{background:#f5f5f5;cursor:pointer}.body[_ngcontent-%COMP%] select[_ngcontent-%COMP%]{flex:1;background:white;box-sizing:border-box;margin-top:8px;padding:4px 0;border:0;border-bottom:1px solid #ccc;transition:.2s}.body[_ngcontent-%COMP%] select[_ngcontent-%COMP%]:focus{outline:none;border-bottom:1px solid #777}.loader[_ngcontent-%COMP%]{position:relative;margin:0 auto;width:50px}.loader[_ngcontent-%COMP%]:before{content:"";display:block;padding-top:100%}.absolute[_ngcontent-%COMP%]{position:absolute;top:calc(50% - 25px);left:calc(50% - 25px);z-index:10}.circular[_ngcontent-%COMP%]{animation:rotate 2s linear infinite;height:100%;transform-origin:center center;width:100%;position:absolute;top:0;bottom:0;left:0;right:0;margin:auto}.path[_ngcontent-%COMP%]{stroke-dasharray:1,200;stroke-dashoffset:0;animation:dash 1.5s ease-in-out infinite;stroke:#0057e7;stroke-linecap:round}.path.white[_ngcontent-%COMP%]{stroke:#fff}@keyframes rotate{to{transform:rotate(360deg)}}@keyframes dash{0%{stroke-dasharray:1,200;stroke-dashoffset:0}50%{stroke-dasharray:89,200;stroke-dashoffset:-35px}to{stroke-dasharray:89,200;stroke-dashoffset:-124px}}.list-item[_ngcontent-%COMP%] .button[_ngcontent-%COMP%]{position:relative;background-color:#2383e2;border:none;font-size:14px;color:#fff;padding:8px 16px;margin-left:8px;text-align:center;transition-duration:.4s;text-decoration:none;overflow:hidden;cursor:pointer;outline:none}.list-item[_ngcontent-%COMP%] .button[_ngcontent-%COMP%]:hover{color:#fff}.content-list[_ngcontent-%COMP%] .button[_ngcontent-%COMP%]{position:relative;background-color:#2383e2;border:none;font-size:14px;color:#fff;padding:8px 16px;margin-left:8px;text-align:center;transition-duration:.4s;text-decoration:none;overflow:hidden;cursor:pointer;outline:none}.title-row[_ngcontent-%COMP%]{display:flex;flex-direction:row;margin-top:28px}.title-row[_ngcontent-%COMP%] .list-title[_ngcontent-%COMP%]{flex:1;color:#777;padding-top:12px;justify-content:center}.title-row[_ngcontent-%COMP%] .tail[_ngcontent-%COMP%]{flex:1;text-align:right}.disabled[_ngcontent-%COMP%]{cursor:default;filter:contrast(60%) brightness(1.2);opacity:1;pointer-events:none;-webkit-user-select:none;user-select:none}.input-err[_ngcontent-%COMP%]{outline:none;background-color:#fbd0d6;box-shadow:0 0 0 2px #f1556c}.page-item[_ngcontent-%COMP%]{padding-bottom:14px!important}.unselectable[_ngcontent-%COMP%]{-webkit-user-select:none;user-select:none}.pager[_ngcontent-%COMP%]{display:flex;align-items:center;font-size:14px;color:#0009}.pager[_ngcontent-%COMP%] .page-info[_ngcontent-%COMP%]{display:flex;align-items:center;min-width:80px;padding-left:16px}.pager[_ngcontent-%COMP%] .page-mover[_ngcontent-%COMP%]{display:flex;align-items:center;padding:0 0 0 28px}.pager[_ngcontent-%COMP%] .page-mover[_ngcontent-%COMP%] .page-btn[_ngcontent-%COMP%]{display:flex;align-items:center;cursor:pointer;color:#0009}.pager[_ngcontent-%COMP%] .page-mover[_ngcontent-%COMP%] .page-btn[_ngcontent-%COMP%]:hover{color:#000000de}.pager[_ngcontent-%COMP%] .page-mover[_ngcontent-%COMP%] .page-btn.mover-disabled[_ngcontent-%COMP%]{cursor:initial;color:#0000004d}.pager[_ngcontent-%COMP%] .page-all[_ngcontent-%COMP%]{display:flex;align-items:center;padding-right:15px}.inner-input[_ngcontent-%COMP%]{width:100%;box-sizing:border-box;padding:6px 8px;background-color:#fff;border:1px solid rgba(0,0,0,.2);border-radius:5px;font-size:14px;transition:.2s;text-indent:0px;font-weight:400}.top-noti[_ngcontent-%COMP%]{width:100%;min-height:36px;display:flex;flex-direction:row;justify-content:center;align-items:center;margin-bottom:7px;background-color:#fcf9e9;font-size:14px;color:#000000de;border-bottom:rgba(0,0,0,.1)}',".container[_ngcontent-%COMP%]{width:100%;height:100%;display:flex;flex-direction:column}.tab-table[_ngcontent-%COMP%]{height:calc(100% - 92px)}.report-tab[_ngcontent-%COMP%]{height:48px;min-height:45px;color:#888;display:flex;align-items:center}.report-tab[_ngcontent-%COMP%] .btn[_ngcontent-%COMP%]{display:flex;align-items:center;height:100%;position:relative}.report-tab[_ngcontent-%COMP%] .btn[_ngcontent-%COMP%]:hover{color:#2383e2;cursor:pointer}.report-tab[_ngcontent-%COMP%] .btn-selected[_ngcontent-%COMP%]{color:#2383e2;background:transparent}.report-tab[_ngcontent-%COMP%] .icn-btn[_ngcontent-%COMP%]{padding:0 16px}.report-tab[_ngcontent-%COMP%] .icn-btn-active[_ngcontent-%COMP%]{color:#000}.report-tab[_ngcontent-%COMP%] .tab-title[_ngcontent-%COMP%]{padding:0 20px;text-transform:uppercase;font-size:14px}.report-tab[_ngcontent-%COMP%] .tab-selected-bar[_ngcontent-%COMP%]{position:absolute;bottom:0px;width:100%;height:4px;background:#2383e2}.pre-caution[_ngcontent-%COMP%]{display:flex;align-items:center;height:100%}.pre-caution[_ngcontent-%COMP%] .pre-caution-container[_ngcontent-%COMP%]{display:flex;grid-gap:8px;gap:8px;width:100%;justify-content:center}.pre-caution[_ngcontent-%COMP%] .pre-caution-container[_ngcontent-%COMP%] .pre-caution-icon[_ngcontent-%COMP%]{border-radius:10px;background:#1E88E5;width:50px;height:50px;display:flex;justify-content:center;align-items:center}.pre-caution[_ngcontent-%COMP%] .pre-caution-container[_ngcontent-%COMP%] .pre-caution-item[_ngcontent-%COMP%]{width:480px}.pre-caution[_ngcontent-%COMP%] .pre-caution-container[_ngcontent-%COMP%] .pre-caution-item[_ngcontent-%COMP%] .title[_ngcontent-%COMP%]{font-size:20px;font-weight:600;letter-spacing:.4px}.pre-caution[_ngcontent-%COMP%] .pre-caution-container[_ngcontent-%COMP%] .pre-caution-item[_ngcontent-%COMP%] .description[_ngcontent-%COMP%]{color:#55647b;font-size:14px;letter-spacing:.4px;margin-top:4px}.alternative-contents[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:center;flex-direction:column;width:100%;height:100%;font-size:14px;color:#8792a2}.alternative-contents[_ngcontent-%COMP%] i[_ngcontent-%COMP%]{color:#8792a2;font-size:24px;margin:8px}"],data:{animation:[P.cN]}}),i})()}]);var gt=s(28774);let _t=(()=>{class i{}return i.\u0275fac=function(e){return new(e||i)},i.\u0275mod=t.oAB({type:i}),i.\u0275inj=t.cJS({imports:[[n.ez,h.u5,dt,gt.U]]}),i})()}}]);