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AAa,YAAY,aAAa,yBAAyB,8KAA8K,yLAAyL,mIAAmI,0IAA0I,EAAE,yLAAyL,mIAAmI,yHAAyH,EAAE,sLAAsL,cAAc,8CAA8C,4XAA4X,8DAA8D,SAAS,iBAAiB,WAAW,8BAA8B,kBAAkB,0FAA0F,yTAAyT,EAAE,8KAA8K,sLAAsL,mIAAmI,4IAA4I,EAAE,sLAAsL,mIAAmI,4IAA4I,cAAc,8CAA8C,4XAA4X,8DAA8D,SAAS,iBAAiB,WAAW,8BAA8B,kBAAkB,0FAA0F,yTAAyT,EAAE,2LAA2L,yLAAyL,mIAAmI,wHAAwH,EAAE,yLAAyL,mIAAmI,wHAAwH,EAAE,sLAAsL,cAAc,4CAA4C,2XAA2X,8DAA8D,SAAS,iBAAiB,WAAW,8BAA8B,kBAAkB,kGAAkG,yTAAyT,KAAK,MAAM,uCAAuC","sources":["webpack://evolutiones-frontend/main.418c4c0ddc3477505091.js"],"sourcesContent":["(self.webpackChunkevolutiones_frontend=self.webpackChunkevolutiones_frontend||[]).push([[179],{98255:st=>{function J(c){return Promise.resolve().then(()=>{var p=new Error(\"Cannot find module '\"+c+\"'\");throw p.code=\"MODULE_NOT_FOUND\",p})}J.keys=()=>[],J.resolve=J,J.id=98255,st.exports=J},99800:(st,J,c)=>{\"use strict\";c.d(J,{U:()=>g});var p=c(22238),t=c(32091),u=c(17238),_=c(37716);let g=(()=>{class i{constructor(r,Z){this.dialog=r,this.verifyAction=Z,this.dataSource=new t.by,this.color=\"#009999\",this.mode=\"determinate\",this.value=100,this.bufferValue=30}ngOnInit(){console.log(this.verifyAction.dataSource.length),console.log(this.verifyAction.el),this.verifyAction.el.loadIt=!0,console.log(this.verifyAction.el)}closeDialog(){this.dialog.close()}}return i.\\u0275fac=function(r){return new(r||i)(_.Y36(p.so),_.Y36(p.WI))},i.\\u0275cmp=_.Xpm({type:i,selectors:[[\"app-transaction-grafico\"]],decls:17,vars:4,consts:[[2,\"display\",\"grid\",\"width\",\"100%\",\"grid-template-columns\",\"50% 45% 5%\"],[1,\"fs-32\",\"card-title\",\"left\",\"text-black\"],[2,\"background-color\",\"white\",\"padding\",\"0\",\"height\",\"40px\",\"border\",\"none\",3,\"click\"],[\"width\",\"45px\",\"height\",\"45px\",\"viewBox\",\"0 0 24 24\",\"fill\",\"none\",\"xmlns\",\"http://www.w3.org/2000/svg\"],[\"id\",\"SVGRepo_bgCarrier\",\"stroke-width\",\"0\"],[\"id\",\"SVGRepo_tracerCarrier\",\"stroke-linecap\",\"round\",\"stroke-linejoin\",\"round\",\"stroke\",\"#CCCCCC\",\"stroke-width\",\"0.9120000000000001\"],[\"id\",\"SVGRepo_iconCarrier\"],[\"d\",\"M9.16998 14.83L14.83 9.17004\",\"stroke\",\"#ff0000\",\"stroke-width\",\"1.5\",\"stroke-linecap\",\"round\",\"stroke-linejoin\",\"round\"],[\"d\",\"M14.83 14.83L9.16998 9.17004\",\"stroke\",\"#ff0000\",\"stroke-width\",\"1.5\",\"stroke-linecap\",\"round\",\"stroke-linejoin\",\"round\"],[\"d\",\"M9 22H15C20 22 22 20 22 15V9C22 4 20 2 15 2H9C4 2 2 4 2 9V15C2 20 4 22 9 22Z\",\"stroke\",\"#ff0000\",\"stroke-width\",\"1.5\",\"stroke-linecap\",\"round\",\"stroke-linejoin\",\"round\"],[2,\"width\",\"100%\",3,\"transactionData\"]],template:function(r,Z){1&r&&(_.TgZ(0,\"div\"),_.TgZ(1,\"div\",0),_.TgZ(2,\"div\"),_.TgZ(3,\"h4\",1),_._uU(4),_.ALo(5,\"translate\"),_.qZA(),_.qZA(),_._UZ(6,\"div\"),_.TgZ(7,\"div\"),_.TgZ(8,\"button\",2),_.NdJ(\"click\",function(){return Z.closeDialog()}),_.O4$(),_.TgZ(9,\"svg\",3),_._UZ(10,\"g\",4),_._UZ(11,\"g\",5),_.TgZ(12,\"g\",6),_._UZ(13,\"path\",7),_._UZ(14,\"path\",8),_._UZ(15,\"path\",9),_.qZA(),_.qZA(),_.qZA(),_.qZA(),_.qZA(),_.kcU(),_._UZ(16,\"line-chart-graph\",10),_.qZA()),2&r&&(_.xp6(4),_.Oqu(_.lcZ(5,2,\"transanction_graph\")),_.xp6(12),_.Q6J(\"transactionData\",Z.verifyAction.el))},styles:[\".w70[_ngcontent-%COMP%]{width:95%}.grid[_ngcontent-%COMP%]{display:grid;grid-template-columns:50% 50%}.center[_ngcontent-%COMP%], td[_ngcontent-%COMP%], th[_ngcontent-%COMP%]{text-align:center;align-items:center;justify-content:center}.grid33[_ngcontent-%COMP%]{display:grid;width:100%;grid-template-columns:35% 31% 33%}@media (max-width: 1090px){.w70[_ngcontent-%COMP%]{width:70%}.grid[_ngcontent-%COMP%]{display:grid;width:100%;grid-template-columns:50% 50%}.grid33[_ngcontent-%COMP%]{display:grid;width:100%;grid-template-columns:50% 1% 49%}}\"],data:{animation:[(0,u.X$)(\"detailExpand\",[(0,u.SB)(\"collapsed\",(0,u.oB)({height:\"0px\",minHeight:\"0\"})),(0,u.SB)(\"expanded\",(0,u.oB)({height:\"*\"})),(0,u.eR)(\"expanded <=> collapsed\",(0,u.jt)(\"225ms cubic-bezier(0.4, 0.0, 0.2, 1)\"))])]}}),i})()},88205:(st,J,c)=>{\"use strict\";c.d(J,{z:()=>M,f:()=>X});var p=c(22238),t=c(38583),u=c(37716),_=c(29790),x=c(99766),g=c(4612);function i(j,pt){1&j&&(u.TgZ(0,\"div\",10),u.O4$(),u.TgZ(1,\"svg\",11),u._UZ(2,\"path\",12),u.qZA(),u.qZA())}function f(j,pt){1&j&&(u.TgZ(0,\"div\",13),u.O4$(),u.TgZ(1,\"svg\",14),u._UZ(2,\"path\",12),u.qZA(),u.qZA())}function r(j,pt){1&j&&(u.TgZ(0,\"div\",15),u.O4$(),u.TgZ(1,\"svg\",16),u._UZ(2,\"g\",17),u._UZ(3,\"g\",18),u.TgZ(4,\"g\",19),u._UZ(5,\"title\"),u.TgZ(6,\"g\",20),u.TgZ(7,\"g\",21),u.TgZ(8,\"g\"),u._UZ(9,\"line\",22),u._UZ(10,\"line\",23),u._UZ(11,\"circle\",24),u.qZA(),u.qZA(),u.qZA(),u.qZA(),u.qZA(),u.qZA())}function Z(j,pt){1&j&&(u.TgZ(0,\"div\",25),u.O4$(),u.TgZ(1,\"svg\",26),u._UZ(2,\"g\",17),u._UZ(3,\"g\",18),u.TgZ(4,\"g\",19),u.TgZ(5,\"g\",27),u._UZ(6,\"path\",28),u.qZA(),u.qZA(),u.qZA(),u.qZA())}function q(j,pt){if(1&j){const N=u.EpF();u.TgZ(0,\"button\",35),u.NdJ(\"click\",function(){return u.CHM(N),u.oxw(2).onConfirm()}),u._uU(1),u.ALo(2,\"translate\"),u.qZA()}2&j&&(u.xp6(1),u.Oqu(u.lcZ(2,1,\"conferma\")))}function m(j,pt){if(1&j){const N=u.EpF();u.TgZ(0,\"button\",36),u.NdJ(\"click\",function(){return u.CHM(N),u.oxw(2).onConfirm()}),u._uU(1),u.ALo(2,\"translate\"),u.qZA()}2&j&&(u.xp6(1),u.Oqu(u.lcZ(2,1,\"conferma\")))}function I(j,pt){if(1&j){const N=u.EpF();u.TgZ(0,\"button\",37),u.NdJ(\"click\",function(){return u.CHM(N),u.oxw(2).onConfirm()}),u._uU(1),u.ALo(2,\"translate\"),u.qZA()}2&j&&(u.xp6(1),u.Oqu(u.lcZ(2,1,\"conferma\")))}function B(j,pt){if(1&j){const N=u.EpF();u.TgZ(0,\"button\",38),u.NdJ(\"click\",function(){return u.CHM(N),u.oxw(2).onConfirm()}),u._uU(1),u.ALo(2,\"translate\"),u.qZA()}2&j&&(u.xp6(1),u.Oqu(u.lcZ(2,1,\"conferma\")))}function W(j,pt){if(1&j){const N=u.EpF();u.TgZ(0,\"div\",29),u.YNc(1,q,3,3,\"button\",30),u.YNc(2,m,3,3,\"button\",31),u.YNc(3,I,3,3,\"button\",32),u.YNc(4,B,3,3,\"button\",33),u.TgZ(5,\"button\",34),u.NdJ(\"click\",function(){return u.CHM(N),u.oxw().onDismiss()}),u._uU(6),u.ALo(7,\"translate\"),u.qZA(),u.qZA()}if(2&j){const N=u.oxw();u.xp6(1),u.Q6J(\"ngIf\",\"delete\"==N.event),u.xp6(1),u.Q6J(\"ngIf\",\"warning\"==N.event),u.xp6(1),u.Q6J(\"ngIf\",\"info\"==N.event),u.xp6(1),u.Q6J(\"ngIf\",\"success\"==N.event),u.xp6(2),u.Oqu(u.lcZ(7,5,\"annulla\"))}}function z(j,pt){if(1&j){const N=u.EpF();u.TgZ(0,\"div\",29),u.TgZ(1,\"button\",38),u.NdJ(\"click\",function(){return u.CHM(N),u.oxw().onCopy()}),u._uU(2),u.ALo(3,\"translate\"),u.qZA(),u.TgZ(4,\"button\",34),u.NdJ(\"click\",function(){return u.CHM(N),u.oxw().onDismiss()}),u._uU(5),u.ALo(6,\"translate\"),u.qZA(),u.qZA()}2&j&&(u.xp6(2),u.Oqu(u.lcZ(3,2,\"copia\")),u.xp6(3),u.Oqu(u.lcZ(6,4,\"annulla\")))}let M=(()=>{class j{constructor(N,C,l,O,T,k){switch(this.dialogRef=N,this.data=C,this.document=l,this.translate=O,this.notifyService=T,this.monitoringService=k,this.component=\"default\",this.chargeBoxId=\"-\",C.event){case\"delete\":case\"warning\":case\"info\":case\"success\":this.event=C.event;break;default:this.event=\"delete\"}this.component=\"logs\"===C.component?C.component:\"default\",this.chargeBoxId=null==C?void 0:C.chargeBoxId,this.title=C.title,this.message=C.message}wsString(){if(\"ws://management.beagleplug.com:80/v2/ws/\"==this.title)return!0}onCopy(){var N=this.document.getElementById(\"title\");console.log(N),N.setAttribute(\"contenteditable\",\"true\"),N.focus(),this.document.execCommand(\"selectAll\"),this.document.execCommand(\"copy\"),N.setAttribute(\"contenteditable\",\"false\"),N.blur(),this.notifyService.showSuccess(this.translate.instant(\"endpoint_copy\"),\"\"),this.dialogRef.close(!0)}onConfirm(){this.dialogRef.close(!0)}onDismiss(){this.dialogRef.close(!1)}onNoClick(){this.dialogRef.close()}downloadCSVJson(N){switch(N){case\"csv\":this.monitoringService.downloadLogsCP(this.chargeBoxId,\"csv\").subscribe(C=>{if(console.log(\"Risposta dal servizio:\",C),C=C.body,console.log(C),C.size>0){const l=window.URL.createObjectURL(C),O=document.createElement(\"a\");O.href=l,O.download=\"log-\"+this.chargeBoxId,document.body.appendChild(O),O.click(),document.body.removeChild(O),window.URL.revokeObjectURL(l)}else console.error(\"Il blob ricevuto \\xe8 vuoto o non valido.\")},C=>{console.error(\"Errore durante la chiamata al servizio:\",C)});break;case\"json\":this.monitoringService.downloadLogsCP(this.chargeBoxId,\"json\").subscribe(C=>{if(console.log(\"Risposta dal servizio:\",C),C=C.body,console.log(C),C.size>0){const l=window.URL.createObjectURL(C),O=document.createElement(\"a\");O.href=l,O.download=\"log-\"+this.chargeBoxId,document.body.appendChild(O),O.click(),document.body.removeChild(O),window.URL.revokeObjectURL(l)}else console.error(\"Il blob ricevuto \\xe8 vuoto o non valido.\")},C=>{console.error(\"Errore durante la chiamata al servizio:\",C)})}}}return j.\\u0275fac=function(N){return new(N||j)(u.Y36(p.so),u.Y36(p.WI),u.Y36(t.K0),u.Y36(_.sK),u.Y36(x.m),u.Y36(g.W))},j.\\u0275cmp=u.Xpm({type:j,selectors:[[\"app-confirmation-dialog\"]],decls:13,vars:8,consts:[[1,\"cardConf\"],[1,\"headerConf\"],[\"class\",\"imageConfDel\",4,\"ngIf\"],[\"class\",\"imageConfWarn\",4,\"ngIf\"],[\"class\",\"imageConfInfo\",4,\"ngIf\"],[\"class\",\"imageConfSucc\",4,\"ngIf\"],[1,\"contentConf\"],[\"id\",\"title\",1,\"titleConf\"],[1,\"messageConf\"],[\"class\",\"actionsConf\",4,\"ngIf\"],[1,\"imageConfDel\"],[\"aria-hidden\",\"true\",\"stroke\",\"currentColor\",\"stroke-width\",\"1.5\",\"viewBox\",\"0 0 24 24\",\"fill\",\"none\",1,\"svgDel\"],[\"d\",\"M12 9v3.75m-9.303 3.376c-.866 1.5.217 3.374 1.948 3.374h14.71c1.73 0 2.813-1.874 1.948-3.374L13.949 3.378c-.866-1.5-3.032-1.5-3.898 0L2.697 16.126zM12 15.75h.007v.008H12v-.008z\",\"stroke-linejoin\",\"round\",\"stroke-linecap\",\"round\"],[1,\"imageConfWarn\"],[\"aria-hidden\",\"true\",\"stroke\",\"currentColor\",\"stroke-width\",\"1.5\",\"viewBox\",\"0 0 24 24\",\"fill\",\"none\",1,\"svgWarn\"],[1,\"imageConfInfo\"],[\"viewBox\",\"0 0 24 24\",\"xmlns\",\"http://www.w3.org/2000/svg\",\"fill\",\"#242aeb\",\"stroke\",\"#242aeb\",1,\"svgInfo\"],[\"id\",\"SVGRepo_bgCarrier\",\"stroke-width\",\"0\"],[\"id\",\"SVGRepo_tracerCarrier\",\"stroke-linecap\",\"round\",\"stroke-linejoin\",\"round\"],[\"id\",\"SVGRepo_iconCarrier\"],[\"id\",\"Complete\"],[\"id\",\"alert-circle\"],[\"fill\",\"none\",\"stroke\",\"#242aeb\",\"stroke-linecap\",\"round\",\"stroke-linejoin\",\"round\",\"stroke-width\",\"2\",\"x1\",\"12\",\"x2\",\"12\",\"y1\",\"8\",\"y2\",\"12\"],[\"fill\",\"none\",\"stroke\",\"#242aeb\",\"stroke-linecap\",\"round\",\"stroke-linejoin\",\"round\",\"stroke-width\",\"2\",\"x1\",\"12\",\"x2\",\"12\",\"y1\",\"16\",\"y2\",\"16\"],[\"cx\",\"12\",\"cy\",\"12\",\"data-name\",\"--Circle\",\"fill\",\"none\",\"id\",\"_--Circle\",\"r\",\"10\",\"stroke\",\"#242aeb\",\"stroke-linecap\",\"round\",\"stroke-linejoin\",\"round\",\"stroke-width\",\"2\"],[1,\"imageConfSucc\"],[\"viewBox\",\"0 0 24 24\",\"fill\",\"none\",\"xmlns\",\"http://www.w3.org/2000/svg\",\"stroke\",\"#ffffff\",1,\"svgSucc\"],[\"id\",\"Interface / Check_All_Big\"],[\"id\",\"Vector\",\"d\",\"M7 12L11.9497 16.9497L22.5572 6.34326M2.0498 12.0503L6.99955 17M17.606 6.39355L12.3027 11.6969\",\"stroke\",\"#ffffff\",\"stroke-width\",\"2\",\"stroke-linecap\",\"round\",\"stroke-linejoin\",\"round\"],[1,\"actionsConf\"],[\"class\",\"delete\",\"type\",\"button\",3,\"click\",4,\"ngIf\"],[\"class\",\"warning\",\"type\",\"button\",3,\"click\",4,\"ngIf\"],[\"class\",\"info\",\"type\",\"button\",3,\"click\",4,\"ngIf\"],[\"class\",\"success\",\"type\",\"button\",3,\"click\",4,\"ngIf\"],[\"type\",\"button\",1,\"cancel\",3,\"click\"],[\"type\",\"button\",1,\"delete\",3,\"click\"],[\"type\",\"button\",1,\"warning\",3,\"click\"],[\"type\",\"button\",1,\"info\",3,\"click\"],[\"type\",\"button\",1,\"success\",3,\"click\"]],template:function(N,C){1&N&&(u.TgZ(0,\"div\",0),u.TgZ(1,\"div\",1),u.YNc(2,i,3,0,\"div\",2),u.YNc(3,f,3,0,\"div\",3),u.YNc(4,r,12,0,\"div\",4),u.YNc(5,Z,7,0,\"div\",5),u.TgZ(6,\"div\",6),u.TgZ(7,\"span\",7),u._uU(8),u.qZA(),u.TgZ(9,\"p\",8),u._uU(10),u.qZA(),u.qZA(),u.YNc(11,W,8,7,\"div\",9),u.YNc(12,z,7,6,\"div\",9),u.qZA(),u.qZA()),2&N&&(u.xp6(2),u.Q6J(\"ngIf\",\"delete\"===C.event&&!C.wsString()),u.xp6(1),u.Q6J(\"ngIf\",\"warning\"===C.event&&!C.wsString()),u.xp6(1),u.Q6J(\"ngIf\",\"info\"===C.event&&!C.wsString()),u.xp6(1),u.Q6J(\"ngIf\",\"success\"===C.event&&!C.wsString()),u.xp6(3),u.Oqu(C.title),u.xp6(2),u.Oqu(C.message),u.xp6(1),u.Q6J(\"ngIf\",!C.wsString()),u.xp6(1),u.Q6J(\"ngIf\",C.wsString()))},directives:[t.O5],pipes:[_.X$],styles:['.headerConf[_ngcontent-%COMP%]{padding:1.25rem 1rem 1rem;background-color:#fff}.imageConfDel[_ngcontent-%COMP%], .imageConfWarn[_ngcontent-%COMP%], .imageConfInfo[_ngcontent-%COMP%], .imageConfSucc[_ngcontent-%COMP%]{display:flex;margin-left:auto;margin-right:auto;flex-shrink:0;justify-content:center;align-items:center;width:3rem;height:3rem;border-radius:9999px}.imageConfDel[_ngcontent-%COMP%]{background-color:#fee2e2}.imageConfWarn[_ngcontent-%COMP%]{background-color:#fef5e2}.imageConfInfo[_ngcontent-%COMP%]{background-color:#d5e7ff}.imageConfSucc[_ngcontent-%COMP%]{background-color:#a5f895}.svgDel[_ngcontent-%COMP%]{color:#dc2626;width:1.5rem;height:1.5rem}.svgWarn[_ngcontent-%COMP%]{color:#cd4f0f;width:1.5rem;height:1.5rem}.svgInfo[_ngcontent-%COMP%]{color:#2675dc;width:1.5rem;height:1.5rem}.svgSucc[_ngcontent-%COMP%]{color:#44dc26;width:1.5rem;height:1.5rem}.contentConf[_ngcontent-%COMP%]{margin-top:.75rem;text-align:center}.titleConf[_ngcontent-%COMP%]{color:#111827;font-size:1rem;font-weight:600;line-height:1.5rem}.messageConf[_ngcontent-%COMP%]{margin-top:.5rem;color:#6b7280;font-size:.875rem;line-height:1.25rem}.actionsConf[_ngcontent-%COMP%]{margin:.75rem 1rem;background-color:#f9fafb}.delete[_ngcontent-%COMP%], .warning[_ngcontent-%COMP%], .info[_ngcontent-%COMP%], .success[_ngcontent-%COMP%]{display:inline-flex;padding:.5rem 1rem;color:#fff;font-size:1rem;line-height:1.5rem;font-weight:500;justify-content:center;width:100%;border-radius:.375rem;border-width:1px;border-color:transparent;box-shadow:0 1px 2px #0000000d}.delete[_ngcontent-%COMP%]{background-color:#dc2626}.warning[_ngcontent-%COMP%]{background-color:#df7e23}.info[_ngcontent-%COMP%]{background-color:#2675dc}.success[_ngcontent-%COMP%]{background-color:#44dc26}.cancel[_ngcontent-%COMP%]{display:inline-flex;margin-top:.75rem;padding:.5rem 1rem;background-color:#fff;color:#374151;font-size:1rem;line-height:1.5rem;font-weight:500;justify-content:center;width:100%;border-radius:.375rem;border:1px solid #D1D5DB;box-shadow:0 1px 2px #0000000d}.buttonExp[_ngcontent-%COMP%]{--width: 87px;--height: 41px;--gap-between-tooltip-to-button: 18px;--button-color: #1163ff;width:var(--width);height:var(--height);background:var(--button-color);position:relative;text-align:center;border-radius:.45em;font-family:\"Arial\";transition:background .3s}.buttonExp[_ngcontent-%COMP%]:before{position:absolute;font-size:.9rem;color:#111;border-radius:.25em;line-height:var(--tooltip-height);bottom:calc(var(--height) + var(--gap-between-tooltip-to-button) + 10px);left:calc(50% - var(--tooltip-width) / 2)}.buttonExp[_ngcontent-%COMP%]:after{position:absolute;content:\"\";width:0;height:0;border:10px solid transparent;left:calc(50% - 10px)}.buttonExp[_ngcontent-%COMP%]:after, .buttonExp[_ngcontent-%COMP%]:before{opacity:0;visibility:hidden;transition:all .5s}.textExp[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:center}.buttonExp-wrapper[_ngcontent-%COMP%], .textExp[_ngcontent-%COMP%], .iconExp[_ngcontent-%COMP%]{overflow:hidden;position:absolute;width:100%;height:100%;left:0;color:#fff}.textExp[_ngcontent-%COMP%]{top:0}.textExp[_ngcontent-%COMP%], .iconExp[_ngcontent-%COMP%]{transition:top .5s}.iconExp[_ngcontent-%COMP%]{color:#fff;top:100%;display:flex;align-items:center;justify-content:center}.buttonExp[_ngcontent-%COMP%]:hover{background:#5a73ffec}.buttonExp[_ngcontent-%COMP%]:hover .textExp[_ngcontent-%COMP%]{top:-100%}.buttonExp[_ngcontent-%COMP%]:hover .iconExp[_ngcontent-%COMP%]{top:0}.buttonExp[_ngcontent-%COMP%]:hover:before, .buttonExp[_ngcontent-%COMP%]:hover:after{opacity:1;visibility:visible}.buttonExp[_ngcontent-%COMP%]:hover:after{bottom:calc(var(--height) + var(--gap-between-tooltip-to-buttonExp) - 20px)}.buttonExp[_ngcontent-%COMP%]:hover:before{bottom:calc(var(--height) + var(--gap-between-tooltip-to-buttonExp))}']}),j})();class X{constructor(pt,N,C,l,O){this.title=pt,this.message=N,this.event=C,this.component=l,this.chargeBoxId=O}}},10834:(st,J,c)=>{\"use strict\";c.d(J,{u:()=>O});var p=c(22238),t=c(64841),u=c.n(t),_=c(37716),x=c(29790),g=c(63423),i=c(37556),f=c(99766),r=c(38583),Z=c(47082),q=c(23322),m=c(93738),I=c(90171);function B(T,k){1&T&&_._UZ(0,\"app-loading-screen\")}function W(T,k){1&T&&_.YNc(0,B,1,0,\"ng-template\")}function z(T,k){if(1&T){const b=_.EpF();_.TgZ(0,\"div\",13),_.TgZ(1,\"button\",14),_.NdJ(\"click\",function(){return _.CHM(b),_.oxw(2).detail()}),_.O4$(),_.TgZ(2,\"svg\",15),_._UZ(3,\"g\",16),_._UZ(4,\"g\",17),_.TgZ(5,\"g\",18),_._UZ(6,\"path\",19),_.qZA(),_.qZA(),_.kcU(),_.TgZ(7,\"span\"),_._uU(8),_.ALo(9,\"translate\"),_.qZA(),_.qZA(),_._uU(10,\"\\xa0 \"),_.qZA()}2&T&&(_.xp6(8),_.Oqu(_.lcZ(9,1,\"dettaglio\")))}function M(T,k){1&T&&(_.TgZ(0,\"p\",26),_._uU(1),_.ALo(2,\"translate\"),_.qZA()),2&T&&(_.xp6(1),_.Oqu(_.lcZ(2,1,\"disponibile\")))}function X(T,k){1&T&&(_.TgZ(0,\"p\",26),_._uU(1),_.ALo(2,\"translate\"),_.qZA()),2&T&&(_.xp6(1),_.Oqu(_.lcZ(2,1,\"Charging\")))}function j(T,k){1&T&&(_.TgZ(0,\"p\",26),_._uU(1),_.ALo(2,\"translate\"),_.qZA()),2&T&&(_.xp6(1),_.Oqu(_.lcZ(2,1,\"prenotato\")))}function pt(T,k){1&T&&(_.TgZ(0,\"p\",26),_._uU(1),_.ALo(2,\"translate\"),_.qZA()),2&T&&(_.xp6(1),_.Oqu(_.lcZ(2,1,\"no_dis\")))}function N(T,k){if(1&T&&(_.ynx(0),_.TgZ(1,\"mat-card\",20),_.TgZ(2,\"mat-card-header\",21),_.TgZ(3,\"mat-panel-title\"),_.TgZ(4,\"span\",22),_._uU(5),_.qZA(),_._UZ(6,\"img\",23),_.qZA(),_.TgZ(7,\"mat-panel-description\"),_.TgZ(8,\"div\",24),_.YNc(9,M,3,3,\"p\",25),_.YNc(10,X,3,3,\"p\",25),_.YNc(11,j,3,3,\"p\",25),_.YNc(12,pt,3,3,\"p\",25),_.qZA(),_.qZA(),_.qZA(),_.qZA(),_.BQk()),2&T){const b=k.$implicit,et=_.oxw(2);_.xp6(5),_.hij(\"\",b.connectorId,\" - \"),_.xp6(4),_.Q6J(\"ngIf\",et.isAvailable(b)),_.xp6(1),_.Q6J(\"ngIf\",et.isCharging(b)),_.xp6(1),_.Q6J(\"ngIf\",et.isReserved(b)),_.xp6(1),_.Q6J(\"ngIf\",et.isUnavailable(b))}}const C=function(T,k){return{cpOn:T,cpOff:k}};function l(T,k){if(1&T&&(_.TgZ(0,\"div\",2),_.TgZ(1,\"mat-card\",3),_.TgZ(2,\"mat-card-header\"),_.TgZ(3,\"div\",4),_._UZ(4,\"img\",5),_.qZA(),_.TgZ(5,\"mat-card-title\",6),_._uU(6),_.qZA(),_.TgZ(7,\"mat-card-subtitle\",6),_._uU(8),_.qZA(),_.qZA(),_.TgZ(9,\"mat-card-content\"),_.TgZ(10,\"mat-card-subtitle\"),_._UZ(11,\"img\",7),_._uU(12),_.qZA(),_.qZA(),_.TgZ(13,\"mat-card-content\"),_.TgZ(14,\"div\",8),_.TgZ(15,\"div\",9),_._uU(16),_.qZA(),_.YNc(17,z,11,3,\"div\",10),_.qZA(),_.qZA(),_._UZ(18,\"mat-card-actions\"),_.qZA(),_._UZ(19,\"hr\"),_.TgZ(20,\"div\"),_.TgZ(21,\"div\"),_.TgZ(22,\"mat-accordion\",11),_.YNc(23,N,13,5,\"ng-container\",12),_.qZA(),_.qZA(),_.qZA(),_.qZA()),2&T){const b=_.oxw();_.Q6J(\"ngClass\",_.WLB(7,C,b.isCpVisible(),!b.isCpVisible())),_.xp6(6),_.Oqu(b.cp.description),_.xp6(2),_.Oqu(b.cp.chargeBoxId),_.xp6(4),_.hij(\" \",b.address,\" \"),_.xp6(4),_.hij(\" \",b.cpVisibility().toUpperCase(),\" \"),_.xp6(1),_.Q6J(\"ngIf\",b.isCpo()&&!b.input.isGuest),_.xp6(6),_.Q6J(\"ngForOf\",b.connectors)}}let O=(()=>{class T{constructor(b,et,U,F,K,v){this.input=b,this.dialogRef=et,this.translate=U,this.router=F,this.authService=K,this.notifyService=v,this.cp=this.input.cP,this.connectors=[],this.geoCoder=new google.maps.Geocoder}ngOnInit(){this.isLoading=!0,this.loadCon(),this.getAddress(this.cp.position.y,this.cp.position.x),this.isLoading=!1}getAddress(b,et){return this.address=\"Caricamento...\",this.geoCoder.geocode({location:{lat:Number(b),lng:Number(et)}},(U,F)=>{\"OK\"===F&&(U[0]?this.address=U[0].formatted_address:this.notifyService.showError(this.translate.instant(\"No results found\"),this.translate.instant(\"errore\")))}),this.address}ngOnChanges(){this.loadCon(),this.getAddress(this.cp.position.y,this.cp.position.x)}getCurrentType(b){switch(b.currentType){case\"AC1\":return\"AC1\";case\"AC3\":return\"AC3\";case\"DC\":return\"DC\";default:return\"Non definito\"}}isCpVisible(){for(let b of this.cp.connectorStatus)if(\"Available\"==b.status)return!0;return!1}visibilityImage(){return 1==this.cp.privato?\"https://cdn3.iconfinder.com/data/icons/faticons/32/view-01-512.png\":0==this.cp.privato?\"https://cdn0.iconfinder.com/data/icons/glyphpack/166/invisible-512.png\":void 0}cpVisibility(){return 1==this.cp.privato?this.translate.instant(\"privata\"):0==this.cp.privato?this.translate.instant(\"pubblica\"):void 0}loadCon(){this.connectors=[],console.log(this.cp),this.cp.connectorStatus.forEach(b=>{\"0\"!=b.connectorId&&this.connectors.push(b)})}isAvailable(b){return\"available\"==b.status.toLowerCase()||\"charging\"==b.status.toLowerCase()}isCharging(b){return\"charging\"==b.status.toLowerCase()}isReserved(b){return\"reserved\"==b.status.toLowerCase()}isUnavailable(b){return\"unavailable\"==b.status.toLowerCase()}cStatus(b){return\"available\"==b.status.toLowerCase()?\"Online\":\"charging\"==b.status.toLowerCase()?\"In carica\":\"unavailable\"==b.status.toLowerCase()?\"Offline\":\"reserved\"==b.status.toLowerCase()?\"Prenotato\":void 0}detail(){this.router.navigate([\"management/cpo/chargepoints/\"+this.cp.chargeBoxId],{}),this.dialogRef.close(!1)}isCpo(){var b;if(!this.isAdmin())return this.dataempcpo=JSON.parse(u().get(\"dataEmpCpo\",{decrypt:!0})),null===(b=this.dataempcpo)||void 0===b?void 0:b.cpoActive}isAdmin(){var b;return\"ADMIN\"==(null===(b=this.authService.user)||void 0===b?void 0:b.role)}closeDialog(){this.dialogRef.close(!1)}}return T.\\u0275fac=function(b){return new(b||T)(_.Y36(p.WI),_.Y36(p.so),_.Y36(x.sK),_.Y36(g.F0),_.Y36(i.e),_.Y36(f.m))},T.\\u0275cmp=_.Xpm({type:T,selectors:[[\"app-info-cp-card\"]],inputs:{cp:\"cp\"},features:[_.TTD],decls:3,vars:2,consts:[[4,\"ngIf\",\"ngIfElse\"],[\"main\",\"\"],[2,\"border-radius\",\"5%\",\"background-color\",\"rgb(196, 196, 196, 0.5)\",\"width\",\"100%\",\"max-width\",\"fit-content\",\"height\",\"fit-content\",\"z-index\",\"99\",\"box-shadow\",\"0px 0px 10px 4px rgba(123, 123, 123, 0.7)\",3,\"ngClass\"],[1,\"example-card\",2,\"width\",\"100%\",\"height\",\"fit-content\"],[\"mat-card-avatar\",\"\",1,\"example-header-image\"],[\"alt\",\"charging station\",\"src\",\"https://cdn3.iconfinder.com/data/icons/font-awesome-solid/576/charging-station-512.png\",\"height\",\"50\"],[2,\"display\",\"flex\"],[\"height\",\"20\",\"src\",\"https://cdn4.iconfinder.com/data/icons/symbol-blue-set-1/100/Untitled-2-09-512.png\",\"alt\",\"\"],[2,\"display\",\"grid\",\"grid-template-columns\",\"50% 50%\"],[2,\"display\",\"flex\",\"align-items\",\"center\"],[\"class\",\"webkit-right\",4,\"ngIf\"],[\"multi\",\"\",1,\"example-headers-align\",2,\"z-index\",\"99\"],[4,\"ngFor\",\"ngForOf\"],[1,\"webkit-right\"],[1,\"buttonDet\",3,\"click\"],[\"fill\",\"#ffffff\",\"width\",\"16px\",\"height\",\"16px\",\"viewBox\",\"0 0 24 24\",\"xmlns\",\"http://www.w3.org/2000/svg\"],[\"id\",\"SVGRepo_bgCarrier\",\"stroke-width\",\"0\"],[\"id\",\"SVGRepo_tracerCarrier\",\"stroke-linecap\",\"round\",\"stroke-linejoin\",\"round\"],[\"id\",\"SVGRepo_iconCarrier\"],[\"d\",\"M2,4A1,1,0,0,1,3,3H21a1,1,0,0,1,0,2H3A1,1,0,0,1,2,4Zm1,9H21a1,1,0,0,0,0-2H3a1,1,0,0,0,0,2Zm0,8h9a1,1,0,0,0,0-2H3a1,1,0,0,0,0,2Z\"],[2,\"height\",\"fit-content\"],[2,\"width\",\"100%\"],[2,\"font-size\",\"28px\",\"font-weight\",\"bold\"],[\"alt\",\"type 2\",\"height\",\"40\",\"src\",\"https://cpmanagement-542e.kxcdn.com/img/plugs/type_2.png\"],[2,\"display\",\"flex\",\"justify-content\",\"center\",\"align-items\",\"center\",\"padding-top\",\"10px\",\"padding-left\",\"65px\"],[\"style\",\"font-weight: bold\",4,\"ngIf\"],[2,\"font-weight\",\"bold\"]],template:function(b,et){if(1&b&&(_.YNc(0,W,1,0,void 0,0),_.YNc(1,l,24,10,\"ng-template\",null,1,_.W1O)),2&b){const U=_.MAs(2);_.Q6J(\"ngIf\",et.isLoading)(\"ngIfElse\",U)}},directives:[r.O5,Z.g,r.mk,q.oO,m.a8,m.dk,m.kc,m.n5,m.$j,m.dn,m.hq,I.pp,r.sg,I.yK,I.u4],pipes:[x.X$],styles:[\".removePadding[_ngcontent-%COMP%] mat-dialog-container[_ngcontent-%COMP%]{padding:1px!important}.online[_ngcontent-%COMP%]{background-color:#52af0666}.offline[_ngcontent-%COMP%]{background-color:#af060666}.dot[_ngcontent-%COMP%]{height:25px;width:25px;background-color:#bbb;border-radius:50%;display:inline-block}.onlineCon[_ngcontent-%COMP%]{color:#43a7b5}.offlineCon[_ngcontent-%COMP%]{color:#d1156c}.chargingCon[_ngcontent-%COMP%]{color:#f29f1d}.reservedCon[_ngcontent-%COMP%]{color:#2c626a}.on[_ngcontent-%COMP%]{box-shadow:0 0 .2em .2em #43a7b5;background-color:#43a7b5}.off[_ngcontent-%COMP%]{background-color:#d1156c;box-shadow:0 0 .2em .2em #940000}.charging[_ngcontent-%COMP%]{background-color:#f29f1d;box-shadow:0 0 .2em .2em #f29f1d}.reservedCp[_ngcontent-%COMP%]{background-color:#2c626a;box-shadow:0 0 .2em .2em #007ba4}th[_ngcontent-%COMP%]{float:left;color:#444}table[_ngcontent-%COMP%]{padding:.5em}.onBar[_ngcontent-%COMP%]{border-right:5px solid green;box-shadow:20px -1px 10px -10px #00b800}.offBar[_ngcontent-%COMP%]{border-right:5px solid #D1156C;box-shadow:20px -1px 10px -10px red}.reservedBar[_ngcontent-%COMP%]{border-right:5px solid #2C626A;box-shadow:20px -1px 10px -10px #2c626a}.chargingBar[_ngcontent-%COMP%]{border-right:5px solid #F29F1D;box-shadow:20px -1px 10px -10px #f29f1d}.cpOn[_ngcontent-%COMP%]{border-top:.5em solid #43A7B5}.cpOff[_ngcontent-%COMP%]{border-top:.5em solid #D1156C}@-moz-document url-prefix(){.webkit-right{align-content:center}}@media screen and (-webkit-min-device-pixel-ratio: 0) and (min-resolution: .001dpcm){selector[_ngcontent-%COMP%] .webkit-right[_ngcontent-%COMP%]{text-align:-webkit-right}}\"]}),T})()},93127:(st,J,c)=>{\"use strict\";c.d(J,{r:()=>U});var p=c(97582),t=c(22238),u=c(32091),_=c(99692),x=c(3679),g=c(17238),i=c(37716),f=c(40898),r=c(29790);function Z(F,K){1&F&&i._UZ(0,\"app-loading-screen\")}function q(F,K){if(1&F&&(i.TgZ(0,\"mat-option\",38),i._uU(1),i.qZA()),2&F){const v=K.$implicit;i.Q6J(\"value\",v),i.xp6(1),i.Oqu(v)}}function m(F,K){1&F&&(i.TgZ(0,\"th\",39),i._uU(1),i.ALo(2,\"translate\"),i.qZA()),2&F&&(i.xp6(1),i.Oqu(i.lcZ(2,1,\"id_sessione\")))}function I(F,K){if(1&F&&(i.TgZ(0,\"td\",40),i._uU(1),i.qZA()),2&F){const v=K.$implicit;i.xp6(1),i.hij(\" \",v.clusterData._id,\" \")}}function B(F,K){1&F&&(i.TgZ(0,\"th\",39),i._uU(1),i.ALo(2,\"translate\"),i.qZA()),2&F&&(i.xp6(1),i.Oqu(i.lcZ(2,1,\"durata_sessione\")))}function W(F,K){if(1&F&&(i.TgZ(0,\"td\",40),i._uU(1),i.ALo(2,\"date\"),i.qZA()),2&F){const v=K.$implicit;i.xp6(1),i.hij(\" \",i.xi3(2,1,v.clusterData.stopAt-v.clusterData.startAt,\"HH:mm:ss\"),\" \")}}function z(F,K){1&F&&(i.TgZ(0,\"th\",39),i._uU(1),i.ALo(2,\"translate\"),i.qZA()),2&F&&(i.xp6(1),i.Oqu(i.lcZ(2,1,\"inizio_sessione\")))}function M(F,K){if(1&F&&(i.TgZ(0,\"td\",40),i._uU(1),i.ALo(2,\"date\"),i.qZA()),2&F){const v=K.$implicit;i.xp6(1),i.hij(\" \",i.xi3(2,1,v.clusterData.startAt,\"dd/MM/yyyy HH:mm:ss\"),\" \")}}function X(F,K){1&F&&(i.TgZ(0,\"th\",39),i._uU(1),i.ALo(2,\"translate\"),i.qZA()),2&F&&(i.xp6(1),i.Oqu(i.lcZ(2,1,\"fine_sessione\")))}function j(F,K){if(1&F&&(i.TgZ(0,\"td\",40),i._uU(1),i.ALo(2,\"date\"),i.qZA()),2&F){const v=K.$implicit;i.xp6(1),i.hij(\" \",i.xi3(2,1,v.clusterData.stopAt,\"dd/MM/yyyy HH:mm:ss\"),\" \")}}function pt(F,K){if(1&F){const v=i.EpF();i.TgZ(0,\"td\",41),i.NdJ(\"click\",function(){return i.CHM(v),i.oxw(2).openGroup()}),i.TgZ(1,\"div\",42),i._UZ(2,\"cluster-data-graph\",43),i.qZA(),i.qZA()}if(2&F){const v=K.$implicit,H=i.oxw(2);i.uIk(\"colspan\",H.displayedColumns.length),i.xp6(1),i.Q6J(\"@detailExpand\",v==H.expandedElement?\"expanded\":\"collapsed\"),i.xp6(1),i.Q6J(\"clustGraph\",v)}}function N(F,K){1&F&&i._UZ(0,\"tr\",44)}function C(F,K){if(1&F){const v=i.EpF();i.TgZ(0,\"tr\",45),i.NdJ(\"click\",function(){const ct=i.CHM(v).$implicit,dt=i.oxw(2);return dt.expandedElement=dt.expandedElement===ct?null:ct,dt.openGroup(ct.clusterData._id)}),i.qZA()}if(2&F){const v=K.$implicit,H=i.oxw(2);i.ekj(\"example-expanded-row\",H.expandedElement===v)}}function l(F,K){1&F&&i._UZ(0,\"tr\",46)}const O=function(){return{standalone:!0}},T=function(){return[\"expandedDetail\"]},k=function(){return[5,10,20,50,80,100]};function b(F,K){if(1&F){const v=i.EpF();i.TgZ(0,\"mat-dialog-content\"),i.TgZ(1,\"div\",2),i._UZ(2,\"mat-progress-bar\",3),i.qZA(),i.TgZ(3,\"div\",4),i.TgZ(4,\"div\"),i.TgZ(5,\"div\",5),i.TgZ(6,\"a\"),i._uU(7),i.ALo(8,\"translate\"),i.qZA(),i.qZA(),i.qZA(),i.TgZ(9,\"div\",6),i.TgZ(10,\"mat-label\"),i._UZ(11,\"img\",7),i.qZA(),i.qZA(),i.TgZ(12,\"div\",8),i.TgZ(13,\"button\",9),i.NdJ(\"click\",function(){return i.CHM(v),i.oxw().closeDialog()}),i.O4$(),i.TgZ(14,\"svg\",10),i._UZ(15,\"g\",11),i._UZ(16,\"g\",12),i.TgZ(17,\"g\",13),i._UZ(18,\"path\",14),i._UZ(19,\"path\",15),i._UZ(20,\"path\",16),i.qZA(),i.qZA(),i.qZA(),i.qZA(),i.qZA(),i.kcU(),i.TgZ(21,\"mat-form-field\",17),i.TgZ(22,\"mat-label\",18),i._UZ(23,\"img\",19),i._uU(24),i.ALo(25,\"translate\"),i.qZA(),i.TgZ(26,\"input\",20),i.NdJ(\"keyup\",function(S){return i.CHM(v),i.oxw().filter(S.target.value)}),i.qZA(),i.qZA(),i.TgZ(27,\"mat-form-field\",21),i.TgZ(28,\"mat-label\"),i._uU(29),i.ALo(30,\"translate\"),i.qZA(),i.TgZ(31,\"mat-select\",22),i.YNc(32,q,2,2,\"mat-option\",23),i.qZA(),i.qZA(),i.TgZ(33,\"div\",24),i.TgZ(34,\"table\",25),i.ynx(35,26),i.YNc(36,m,3,3,\"th\",27),i.YNc(37,I,2,1,\"td\",28),i.BQk(),i.ynx(38,29),i.YNc(39,B,3,3,\"th\",27),i.YNc(40,W,3,4,\"td\",28),i.BQk(),i.ynx(41,30),i.YNc(42,z,3,3,\"th\",27),i.YNc(43,M,3,4,\"td\",28),i.BQk(),i.ynx(44,31),i.YNc(45,X,3,3,\"th\",27),i.YNc(46,j,3,4,\"td\",28),i.BQk(),i.ynx(47,32),i.YNc(48,pt,3,3,\"td\",33),i.BQk(),i.YNc(49,N,1,0,\"tr\",34),i.YNc(50,C,1,2,\"tr\",35),i.YNc(51,l,1,0,\"tr\",36),i.qZA(),i.TgZ(52,\"mat-paginator\",37),i.NdJ(\"page\",function(S){i.CHM(v);const ct=i.oxw();return ct.pageEvent=ct.handlePage(S)}),i.qZA(),i.qZA(),i.qZA()}if(2&F){const v=i.oxw();i.xp6(2),i.Q6J(\"color\",\"primary\")(\"mode\",\"determinate\")(\"value\",100)(\"bufferValue\",30),i.xp6(5),i.Oqu(i.lcZ(8,16,\"sessioni\")),i.xp6(17),i.hij(\" \",i.lcZ(25,18,\"cerca\"),\" \"),i.xp6(5),i.Oqu(i.lcZ(30,20,\"filtro_richieste\")),i.xp6(2),i.Q6J(\"ngModelOptions\",i.DdM(22,O))(\"formControl\",v.typeChosen),i.xp6(1),i.Q6J(\"ngForOf\",v.listType),i.xp6(2),i.Q6J(\"dataSource\",v.source),i.xp6(15),i.Q6J(\"matHeaderRowDef\",v.displayedColumns),i.xp6(1),i.Q6J(\"matRowDefColumns\",v.displayedColumns),i.xp6(1),i.Q6J(\"matRowDefColumns\",i.DdM(23,T)),i.xp6(1),i.Q6J(\"pageSizeOptions\",i.DdM(24,k))(\"pageSize\",20)}}let U=(()=>{class F{constructor(v,H,S,ct){this.clusterDataService=v,this.translate=H,this.data=S,this.dialogRef=ct,this.message=\"\",this.cancelButtonText=\"Chiudi\",this.source=new u.by,this.displayedColumns=[\"_id\",\"sessionTime\",\"startAt\",\"stopAt\"],this.color=\"warn\",this.mode=\"indeterminate\",this.listType=[this.translate.instant(\"decrescente\"),this.translate.instant(\"crescente\")],this.typeChosen=new x.NI(\"toProcess\"),this.isLoading=!0,S&&(this.message=S.clusterId||this.message)}set matPaginator(v){this.paginator=v,this.source.paginator=this.paginator}handlePage(v){console.log(v)}ngOnInit(){return(0,p.mG)(this,void 0,void 0,function*(){this.source.paginator=this.paginator,this.typeChosen.setValue(this.translate.instant(\"decrescente\")),this.filterSelected=this.typeChosen.value,this.typeChosen.valueChanges.subscribe(v=>{this.refresh(v),this.loadData()}),this.refresh(this.typeChosen.value).then(()=>this.isLoading=!1),this.loadData()})}refresh(v){return v===this.translate.instant(\"decrescente\")?this.clusterDataService.getList(this.data.clusterId).toPromise():v===this.translate.instant(\"crescente\")?this.clusterDataService.getListAsc(this.data.clusterId).toPromise():void 0}loadData(){return(0,p.mG)(this,void 0,void 0,function*(){const v=yield this.refresh(this.typeChosen.value);this.source.data=v.map(H=>({clusterData:H,loadIt:!1}))})}openGroup(v){for(var H=0;H .mat-sort-header-container[_ngcontent-%COMP%]{padding-left:15px}.mat-table[matTableResponsive][_ngcontent-%COMP%] .mat-header-row[_ngcontent-%COMP%] th.mat-header-cell[_ngcontent-%COMP%]:not([mat-sort-header]), .mat-table[matTableResponsive][_ngcontent-%COMP%] .mat-header-row[_ngcontent-%COMP%] th.mat-header-cell.mat-sort-header-disabled[_ngcontent-%COMP%], .mat-table[matTableResponsive][_ngcontent-%COMP%] .mat-header-row[_ngcontent-%COMP%] th.mat-header-cell.mat-column-actions[_ngcontent-%COMP%]{display:none}.mat-table[matTableResponsive][_ngcontent-%COMP%] .mat-row[_ngcontent-%COMP%]{height:auto}.mat-table[matTableResponsive][_ngcontent-%COMP%] .mat-row[_ngcontent-%COMP%] td.mat-cell[_ngcontent-%COMP%]:not(.mat-column-actions){display:grid;grid-template-columns:50% 50%;padding:.5rem;text-align:right;word-break:break-word}.mat-table[matTableResponsive][_ngcontent-%COMP%] .mat-row[_ngcontent-%COMP%] td.mat-cell[_ngcontent-%COMP%]:not(.mat-column-actions) > *[_ngcontent-%COMP%]{grid-column:2}.mat-table[matTableResponsive][_ngcontent-%COMP%] .mat-row[_ngcontent-%COMP%] td.mat-cell[_ngcontent-%COMP%]:not(.mat-column-actions):before{content:attr(data-column-name);text-align:left}.mat-table[matTableResponsive][_ngcontent-%COMP%] .mat-row[_ngcontent-%COMP%] td.mat-column-actions[_ngcontent-%COMP%]{display:flex;justify-content:center;padding:0 .5rem}.mat-table[matTableResponsive][_ngcontent-%COMP%] .mat-row[_ngcontent-%COMP%] td.mat-column-actions[_ngcontent-%COMP%] > button[_ngcontent-%COMP%]{margin:.5rem 0}.mat-table[matTableResponsive][_ngcontent-%COMP%] .mat-row[_ngcontent-%COMP%]:last-of-type td[_ngcontent-%COMP%]:last-of-type{border:none}.mat-table[matTableResponsive][_ngcontent-%COMP%] .mat-row[_ngcontent-%COMP%]:not(:last-of-type) td[_ngcontent-%COMP%]:last-of-type{border-bottom:.5rem solid #6C757D}.mat-card[_ngcontent-%COMP%] .mat-table[matTableResponsive][_ngcontent-%COMP%], .mat-expansion-panel[_ngcontent-%COMP%] .mat-table[matTableResponsive][_ngcontent-%COMP%]{border:.5rem solid #6C757D}.mat-raised-button[_ngcontent-%COMP%]{display:block;height:auto;text-align:center;top:0;z-index:2}img[_ngcontent-%COMP%]{width:0em;height:0em}}\"],data:{animation:[(0,g.X$)(\"detailExpand\",[(0,g.SB)(\"collapsed\",(0,g.oB)({height:\"0px\",minHeight:\"0\"})),(0,g.SB)(\"expanded\",(0,g.oB)({height:\"*\"})),(0,g.eR)(\"expanded <=> collapsed\",(0,g.jt)(\"225ms cubic-bezier(0.4, 0.0, 0.2, 1)\"))])]}}),F})()},12232:(st,J,c)=>{\"use strict\";c.d(J,{K:()=>Ot});var p=c(97582),t=c(32091),u=c(16738),_=c(12736),x=c(80574),g=c(99692),i=c(37716),f=c(5304),r=c(92340),Z=c(91841),q=c(27339);let m=(()=>{class R{constructor(ot,mt){this.http=ot,this.errorsService=mt}getCDR(){return this.http.get(`${r.N.apiUrl}/oicp/cpo/api/oicp/cpo/cdrs`).pipe((0,f.K)(this.errorsService.handleError))}}return R.\\u0275fac=function(ot){return new(ot||R)(i.LFG(Z.eN),i.LFG(q.r))},R.\\u0275prov=i.Yz7({token:R,factory:R.\\u0275fac,providedIn:\"root\"}),R})();var I=c(29790),B=c(38583),W=c(21816),z=c(11494),M=c(47082);function X(R,lt){1&R&&(i.TgZ(0,\"div\",44),i._UZ(1,\"app-loading-screen\"),i.qZA())}function j(R,lt){1&R&&(i.TgZ(0,\"th\",45),i._uU(1),i.ALo(2,\"translate\"),i.qZA()),2&R&&(i.xp6(1),i.hij(\" \",i.lcZ(2,1,\"id_sessione\"),\" \"))}function pt(R,lt){if(1&R&&(i.TgZ(0,\"td\",46),i._uU(1),i.qZA()),2&R){const ot=lt.$implicit;i.xp6(1),i.hij(\" \",ot.cdr.SessionID,\" \")}}function N(R,lt){1&R&&(i.TgZ(0,\"th\",45),i._uU(1),i.ALo(2,\"translate\"),i.qZA()),2&R&&(i.xp6(1),i.hij(\" \",i.lcZ(2,1,\"prodotto\"),\" \"))}function C(R,lt){if(1&R&&(i.TgZ(0,\"td\",46),i._uU(1),i.qZA()),2&R){const ot=lt.$implicit;i.xp6(1),i.hij(\" \",ot.cdr.PartnerProductID,\" \")}}function l(R,lt){1&R&&(i.TgZ(0,\"th\",45),i._uU(1),i.ALo(2,\"translate\"),i.qZA()),2&R&&(i.xp6(1),i.hij(\" \",i.lcZ(2,1,\"evse_id\"),\" \"))}function O(R,lt){if(1&R&&(i.TgZ(0,\"td\",46),i._uU(1),i.qZA()),2&R){const ot=lt.$implicit;i.xp6(1),i.hij(\" \",ot.cdr.EvseID,\" \")}}function T(R,lt){1&R&&(i.TgZ(0,\"th\",45),i._uU(1),i.ALo(2,\"translate\"),i.qZA()),2&R&&(i.xp6(1),i.hij(\" \",i.lcZ(2,1,\"id_emp\"),\" \"))}function k(R,lt){if(1&R&&(i.TgZ(0,\"td\",46),i._uU(1),i.qZA()),2&R){const ot=lt.$implicit;i.xp6(1),i.hij(\" \",ot.cdr.HubProviderID,\" \")}}function b(R,lt){1&R&&(i.TgZ(0,\"th\",45),i._uU(1),i.ALo(2,\"translate\"),i.qZA()),2&R&&(i.xp6(1),i.hij(\" \",i.lcZ(2,1,\"consumo\"),\" \"))}function et(R,lt){if(1&R&&(i.TgZ(0,\"td\",46),i._uU(1),i.qZA()),2&R){const ot=lt.$implicit;i.xp6(1),i.hij(\" \",ot.cdr.ConsumedEnergy,\" kWh \")}}function U(R,lt){1&R&&(i.TgZ(0,\"th\",45),i._uU(1),i.ALo(2,\"translate\"),i.qZA()),2&R&&(i.xp6(1),i.hij(\" \",i.lcZ(2,1,\"inizio_ricarica\"),\" \"))}function F(R,lt){if(1&R&&(i.TgZ(0,\"td\",46),i._uU(1),i.ALo(2,\"date\"),i.qZA()),2&R){const ot=lt.$implicit;i.xp6(1),i.hij(\" \",i.xi3(2,1,ot.cdr.SessionStart,\"dd/MM/yyyy HH:mm:ss\"),\" \")}}function K(R,lt){1&R&&(i.TgZ(0,\"th\",45),i._uU(1),i.ALo(2,\"translate\"),i.qZA()),2&R&&(i.xp6(1),i.hij(\" \",i.lcZ(2,1,\"fine_ricarica\"),\" \"))}function v(R,lt){if(1&R&&(i.TgZ(0,\"td\",46),i._uU(1),i.ALo(2,\"date\"),i.qZA()),2&R){const ot=lt.$implicit;i.xp6(1),i.hij(\" \",i.xi3(2,1,ot.cdr.SessionEnd,\"dd/MM/yyyy HH:mm:ss\"),\" \")}}function H(R,lt){1&R&&(i.TgZ(0,\"th\",45),i._uU(1),i.ALo(2,\"translate\"),i.qZA()),2&R&&(i.xp6(1),i.hij(\" \",i.lcZ(2,1,\"costo\"),\" \"))}function S(R,lt){if(1&R&&(i.TgZ(0,\"td\",46),i._uU(1),i.qZA()),2&R){const ot=lt.$implicit;i.xp6(1),i.hij(\" \",ot.cost,\" \\u20ac \")}}function ct(R,lt){1&R&&i._UZ(0,\"tr\",47)}function dt(R,lt){1&R&&i._UZ(0,\"tr\",48)}let Ot=(()=>{class R{constructor(ot,mt){this.cdrService=ot,this.translate=mt,this.dataSource=new t.by,this.isLoading=!0,this.date=new Date,this.displayedColumns=[\"sessionID\",\"EvseID\",\"HubProviderId\",\"ConsumedEnergy\",\"cost\",\"SessionStart\",\"SessionEnd\"]}ngOnInit(){return(0,p.mG)(this,void 0,void 0,function*(){this.isLoading=!0,yield this.refresh().then(()=>{this.isLoading=!1})})}refreshPage(){return(0,p.mG)(this,void 0,void 0,function*(){yield this.refresh()})}refresh(){return(0,p.mG)(this,void 0,void 0,function*(){this.isLoading=!0,this.dataSource.data=yield this.cdrService.getCDR().toPromise(),console.log(this.dataSource.data),this.dataSource.paginator=this.paginator,this.isLoading=!1})}csv(){let ot=[];return ot=this.dataSource.data.map(mt=>({[this.translate.instant(\"id_sessione\")]:mt.cdr.SessionID,[this.translate.instant(\"evse_id\")]:mt.cdr.EvseID,[this.translate.instant(\"id_emp\")]:mt.cdr.HubProviderID,[this.translate.instant(\"consumo\")]:mt.cdr.ConsumedEnergy,[this.translate.instant(\"inizio_ricarica\")]:u(mt.cdr.SessionStart).format(\"DD/MM/YYYY HH:mm:ss\"),[this.translate.instant(\"fine_ricarica\")]:u(mt.cdr.SessionEnd).format(\"DD/MM/YYYY HH:mm:ss\"),[this.translate.instant(\"costo\")]:mt.cost})),_.A.exportToCsv(\"BeaglePlugCDRList_\"+u(this.date).format(\"DD-MM-YYYY\")+\"_.csv\",ot)}excel(){let ot=[];ot=this.dataSource.data.map(Pt=>({[this.translate.instant(\"id_sessione\")]:Pt.cdr.SessionID,[this.translate.instant(\"evse_id\")]:Pt.cdr.EvseID,[this.translate.instant(\"id_emp\")]:Pt.cdr.HubProviderID,[this.translate.instant(\"consumo\")]:Pt.cdr.ConsumedEnergy,[this.translate.instant(\"inizio_ricarica\")]:u(Pt.cdr.SessionStart).format(\"DD/MM/YYYY HH:mm:ss\"),[this.translate.instant(\"fine_ricarica\")]:u(Pt.cdr.SessionEnd).format(\"DD/MM/YYYY HH:mm:ss\"),[this.translate.instant(\"costo\")]:Pt.cost}));const mt=this.translate.instant(\"cdr\")+\" .xlsx\",At=x.utils.json_to_sheet(ot),Mt=x.utils.book_new();x.utils.book_append_sheet(Mt,At,\"Lista CDR\"),x.writeFile(Mt,mt)}}return R.\\u0275fac=function(ot){return new(ot||R)(i.Y36(m),i.Y36(I.sK))},R.\\u0275cmp=i.Xpm({type:R,selectors:[[\"app-cdr\"]],viewQuery:function(ot,mt){if(1&ot&&i.Gf(g.NW,5),2&ot){let At;i.iGM(At=i.CRH())&&(mt.paginator=At.first)}},decls:76,vars:17,consts:[[1,\"content-body\"],[1,\"container-fluid\",\"default-mt-btn\",\"default-mt-table\",\"default-mt-select\",\"default-autocomplete\",\"default-mt-spinner\"],[1,\"header-cell\",\"top\"],[2,\"padding-bottom\",\"1%\"],[1,\"float\",2,\"padding-right\",\"3px\",\"padding-left\",\"3px\"],[1,\"buttonExp\"],[1,\"buttonExp-wrapper\",3,\"click\"],[1,\"textExp\"],[1,\"fas\",\"fa-file-csv\"],[2,\"font-weight\",\"bold\",\"font-size\",\"13px\"],[1,\"iconExp\"],[\"viewBox\",\"0 0 24 24\",\"preserveAspectRatio\",\"xMidYMid meet\",\"height\",\"2em\",\"width\",\"2em\",\"role\",\"img\",\"aria-hidden\",\"true\",\"xmlns\",\"http://www.w3.org/2000/svg\"],[\"d\",\"M12 15V3m0 12l-4-4m4 4l4-4M2 17l.621 2.485A2 2 0 0 0 4.561 21h14.878a2 2 0 0 0 1.94-1.515L22 17\",\"stroke-width\",\"2\",\"stroke-linejoin\",\"round\",\"stroke-linecap\",\"round\",\"stroke\",\"currentColor\",\"fill\",\"none\"],[1,\"float\"],[1,\"fas\",\"fa-file-excel\"],[1,\"social-links\",3,\"click\"],[1,\"social-btn\",\"flex-center\"],[\"width\",\"24px\",\"height\",\"24px\",\"viewBox\",\"0 0 24 24\",\"fill\",\"none\",\"xmlns\",\"http://www.w3.org/2000/svg\"],[\"id\",\"SVGRepo_bgCarrier\",\"stroke-width\",\"0\"],[\"id\",\"SVGRepo_tracerCarrier\",\"stroke-linecap\",\"round\",\"stroke-linejoin\",\"round\"],[\"id\",\"SVGRepo_iconCarrier\"],[\"d\",\"M21 3L15.6 3C15.2686 3 15 3.26863 15 3.6V3.6L15 9\",\"stroke\",\"#323232\",\"stroke-width\",\"2\",\"stroke-linecap\",\"round\",\"stroke-linejoin\",\"round\"],[\"d\",\"M15.5 3.5C18.7983 4.80851 21 8.29825 21 12C21 16.8715 16.9706 21 12 21C7.02944 21 3 16.8715 3 12C3 8.73514 4.80989 5.52512 7.5 4\",\"stroke\",\"#323232\",\"stroke-width\",\"2\",\"stroke-linecap\",\"round\"],[1,\"row\"],[1,\"col-xl-12\",\"col-xxl-12\"],[1,\"card\"],[1,\"card-header\",\"d-block\"],[1,\"fs-32\",\"card-title\",\"left\",\"text-black\"],[1,\"card-body\"],[1,\"mat-elevation-z8\",\"table-responsive\"],[\"class\",\"loading\",4,\"ngIf\"],[\"matTableResponsive\",\"\",\"mat-table\",\"\",\"matSort\",\"\",3,\"hidden\",\"dataSource\"],[\"matColumnDef\",\"sessionID\"],[\"mat-header-cell\",\"\",\"mat-sort-header\",\"\",\"class\",\"header-cell\",4,\"matHeaderCellDef\"],[\"mat-cell\",\"\",4,\"matCellDef\"],[\"matColumnDef\",\"productId\"],[\"matColumnDef\",\"EvseID\"],[\"matColumnDef\",\"HubProviderId\"],[\"matColumnDef\",\"ConsumedEnergy\"],[\"matColumnDef\",\"SessionStart\"],[\"matColumnDef\",\"SessionEnd\"],[\"matColumnDef\",\"cost\"],[\"mat-header-row\",\"\",4,\"matHeaderRowDef\"],[\"mat-row\",\"\",4,\"matRowDef\",\"matRowDefColumns\"],[1,\"loading\"],[\"mat-header-cell\",\"\",\"mat-sort-header\",\"\",1,\"header-cell\"],[\"mat-cell\",\"\"],[\"mat-header-row\",\"\"],[\"mat-row\",\"\"]],template:function(ot,mt){1&ot&&(i.TgZ(0,\"div\",0),i.TgZ(1,\"div\",1),i.TgZ(2,\"div\",2),i._UZ(3,\"div\",3),i.TgZ(4,\"div\",4),i.TgZ(5,\"div\",5),i.TgZ(6,\"div\",6),i.NdJ(\"click\",function(){return mt.csv()}),i.TgZ(7,\"div\",7),i._UZ(8,\"i\",8),i._uU(9,\"\\xa0 \"),i.TgZ(10,\"span\",9),i._uU(11),i.ALo(12,\"translate\"),i.qZA(),i.qZA(),i.TgZ(13,\"span\",10),i.O4$(),i.TgZ(14,\"svg\",11),i._UZ(15,\"path\",12),i.qZA(),i.qZA(),i.qZA(),i.qZA(),i.qZA(),i.kcU(),i.TgZ(16,\"div\",13),i.TgZ(17,\"div\",5),i.TgZ(18,\"div\",6),i.NdJ(\"click\",function(){return mt.excel()}),i.TgZ(19,\"div\",7),i._UZ(20,\"i\",14),i._uU(21,\"\\xa0 \"),i.TgZ(22,\"span\",9),i._uU(23),i.ALo(24,\"translate\"),i.qZA(),i.qZA(),i.TgZ(25,\"span\",10),i.O4$(),i.TgZ(26,\"svg\",11),i._UZ(27,\"path\",12),i.qZA(),i.qZA(),i.qZA(),i.qZA(),i.qZA(),i.kcU(),i.TgZ(28,\"button\",15),i.NdJ(\"click\",function(){return mt.refreshPage()}),i.TgZ(29,\"div\",16),i.O4$(),i.TgZ(30,\"svg\",17),i._UZ(31,\"g\",18),i._UZ(32,\"g\",19),i.TgZ(33,\"g\",20),i._UZ(34,\"path\",21),i._UZ(35,\"path\",22),i.qZA(),i.qZA(),i.kcU(),i.TgZ(36,\"span\"),i._uU(37),i.ALo(38,\"translate\"),i.qZA(),i.qZA(),i.qZA(),i.qZA(),i.TgZ(39,\"div\",23),i.TgZ(40,\"div\",24),i.TgZ(41,\"div\",25),i.TgZ(42,\"div\",26),i.TgZ(43,\"h4\",27),i._uU(44),i.ALo(45,\"translate\"),i.qZA(),i.qZA(),i.TgZ(46,\"div\",28),i.TgZ(47,\"div\",29),i.YNc(48,X,2,0,\"div\",30),i.TgZ(49,\"table\",31),i.ynx(50,32),i.YNc(51,j,3,3,\"th\",33),i.YNc(52,pt,2,1,\"td\",34),i.BQk(),i.ynx(53,35),i.YNc(54,N,3,3,\"th\",33),i.YNc(55,C,2,1,\"td\",34),i.BQk(),i.ynx(56,36),i.YNc(57,l,3,3,\"th\",33),i.YNc(58,O,2,1,\"td\",34),i.BQk(),i.ynx(59,37),i.YNc(60,T,3,3,\"th\",33),i.YNc(61,k,2,1,\"td\",34),i.BQk(),i.ynx(62,38),i.YNc(63,b,3,3,\"th\",33),i.YNc(64,et,2,1,\"td\",34),i.BQk(),i.ynx(65,39),i.YNc(66,U,3,3,\"th\",33),i.YNc(67,F,3,4,\"td\",34),i.BQk(),i.ynx(68,40),i.YNc(69,K,3,3,\"th\",33),i.YNc(70,v,3,4,\"td\",34),i.BQk(),i.ynx(71,41),i.YNc(72,H,3,3,\"th\",33),i.YNc(73,S,2,1,\"td\",34),i.BQk(),i.YNc(74,ct,1,0,\"tr\",42),i.YNc(75,dt,1,0,\"tr\",43),i.qZA(),i.qZA(),i.qZA(),i.qZA(),i.qZA(),i.qZA(),i.qZA(),i.qZA()),2&ot&&(i.xp6(11),i.Oqu(i.lcZ(12,9,\"exp_csv\")),i.xp6(12),i.Oqu(i.lcZ(24,11,\"exp_excel\")),i.xp6(14),i.Oqu(i.lcZ(38,13,\"aggiorna\")),i.xp6(7),i.Oqu(i.lcZ(45,15,\"cdr\")),i.xp6(4),i.Q6J(\"ngIf\",mt.isLoading),i.xp6(1),i.Q6J(\"hidden\",mt.isLoading)(\"dataSource\",mt.dataSource),i.xp6(25),i.Q6J(\"matHeaderRowDef\",mt.displayedColumns),i.xp6(1),i.Q6J(\"matRowDefColumns\",mt.displayedColumns))},directives:[B.O5,t.BZ,W.F,z.YE,t.w1,t.fO,t.Dz,t.as,t.nj,M.g,t.ge,z.nU,t.ev,t.XQ,t.Gk],pipes:[I.X$,B.uU],styles:[\"table[_ngcontent-%COMP%], .full[_ngcontent-%COMP%]{width:100%}[_nghost-%COMP%] .mat-sort-header-container{display:flex;justify-content:center;padding-left:18px}.header-cell[_ngcontent-%COMP%], td[_ngcontent-%COMP%], th[_ngcontent-%COMP%]{text-align:center;align-items:center;justify-content:center}.top[_ngcontent-%COMP%]{padding-bottom:2em}tr.example-detail-row[_ngcontent-%COMP%]{height:0}tr.example-element-row[_ngcontent-%COMP%]:not(.example-expanded-row):hover{background:whitesmoke}tr.example-element-row[_ngcontent-%COMP%]:not(.example-expanded-row):active{background:#efefef}.example-element-row[_ngcontent-%COMP%] td[_ngcontent-%COMP%]{border-bottom-width:0}.example-element-detail[_ngcontent-%COMP%]{overflow:hidden;display:flex}.left[_ngcontent-%COMP%]{float:left;font-size:2vw}.btn-toolbar[_ngcontent-%COMP%]{display:inline;flex-wrap:wrap;justify-content:flex-start}.actions[_ngcontent-%COMP%]{padding-top:1em;padding-bottom:1em}.d[_ngcontent-%COMP%]{display:inline-block}@media (max-width: 1090px){.d[_ngcontent-%COMP%]{text-align:left}.mat-table[matTableResponsive][_ngcontent-%COMP%] .mat-header-row[_ngcontent-%COMP%]{display:block;flex-wrap:wrap;height:auto;position:sticky;top:0;z-index:2}.mat-table[matTableResponsive][_ngcontent-%COMP%] .mat-header-row[_ngcontent-%COMP%] th.mat-header-cell[_ngcontent-%COMP%]{display:none;flex:1;align-items:center;padding:1rem .5rem;justify-content:left}.mat-table[matTableResponsive][_ngcontent-%COMP%] .mat-header-row[_ngcontent-%COMP%] th.mat-header-cell[_ngcontent-%COMP%] > .mat-sort-header-container[_ngcontent-%COMP%]{padding-left:15px}.mat-table[matTableResponsive][_ngcontent-%COMP%] .mat-header-row[_ngcontent-%COMP%] th.mat-header-cell[_ngcontent-%COMP%]:not([mat-sort-header]), .mat-table[matTableResponsive][_ngcontent-%COMP%] .mat-header-row[_ngcontent-%COMP%] th.mat-header-cell.mat-sort-header-disabled[_ngcontent-%COMP%], .mat-table[matTableResponsive][_ngcontent-%COMP%] .mat-header-row[_ngcontent-%COMP%] th.mat-header-cell.mat-column-actions[_ngcontent-%COMP%]{display:none}.mat-table[matTableResponsive][_ngcontent-%COMP%] .mat-row[_ngcontent-%COMP%]{height:auto}.mat-table[matTableResponsive][_ngcontent-%COMP%] .mat-row[_ngcontent-%COMP%] td.mat-cell[_ngcontent-%COMP%]:not(.mat-column-actions){display:grid;grid-template-columns:50% 50%;padding:.5rem;text-align:right;word-break:break-word}.mat-table[matTableResponsive][_ngcontent-%COMP%] .mat-row[_ngcontent-%COMP%] td.mat-cell[_ngcontent-%COMP%]:not(.mat-column-actions) > *[_ngcontent-%COMP%]{grid-column:2}.mat-table[matTableResponsive][_ngcontent-%COMP%] .mat-row[_ngcontent-%COMP%] td.mat-cell[_ngcontent-%COMP%]:not(.mat-column-actions):before{content:attr(data-column-name);text-align:left}.mat-table[matTableResponsive][_ngcontent-%COMP%] .mat-row[_ngcontent-%COMP%] td.mat-column-actions[_ngcontent-%COMP%]{display:flex;justify-content:center;padding:0 .5rem}.mat-table[matTableResponsive][_ngcontent-%COMP%] .mat-row[_ngcontent-%COMP%] td.mat-column-actions[_ngcontent-%COMP%] > button[_ngcontent-%COMP%]{margin:.5rem 0}.mat-table[matTableResponsive][_ngcontent-%COMP%] .mat-row[_ngcontent-%COMP%]:last-of-type td[_ngcontent-%COMP%]:last-of-type{border:none}.mat-table[matTableResponsive][_ngcontent-%COMP%] .mat-row[_ngcontent-%COMP%]:not(:last-of-type) td[_ngcontent-%COMP%]:last-of-type{border-bottom:.5rem solid #6C757D}.mat-card[_ngcontent-%COMP%] .mat-table[matTableResponsive][_ngcontent-%COMP%], .mat-expansion-panel[_ngcontent-%COMP%] .mat-table[matTableResponsive][_ngcontent-%COMP%]{border:.5rem solid #6C757D}}\"]}),R})()},73796:(st,J,c)=>{\"use strict\";c.d(J,{e:()=>K});var p=c(97582),t=c(3679),u=c(22238),_=c(64841),x=c.n(_),g=c(37716),i=c(2049),f=c(29790),r=c(99766),Z=c(79264),q=c(39801),m=c(38583),I=c(47082),B=c(40845),W=c(25787),z=c(31424),M=c(14036);const X=[\"checkboxH24\"];function j(v,H){1&v&&g._UZ(0,\"app-loading-screen\")}function pt(v,H){1&v&&(g.TgZ(0,\"a\"),g._uU(1),g.ALo(2,\"translate\"),g.qZA()),2&v&&(g.xp6(1),g.Oqu(g.lcZ(2,1,\"aggiungi_prod\")))}function N(v,H){1&v&&(g.TgZ(0,\"a\"),g._uU(1),g.ALo(2,\"translate\"),g.qZA()),2&v&&(g.xp6(1),g.Oqu(g.lcZ(2,1,\"mod_prodotto\")))}function C(v,H){1&v&&(g.TgZ(0,\"a\"),g._uU(1),g.ALo(2,\"translate\"),g.qZA()),2&v&&(g.xp6(1),g.Oqu(g.lcZ(2,1,\"price_iva_exc\")))}const l=function(){return{width:\"250px\"}};function O(v,H){if(1&v&&(g.TgZ(0,\"div\",10),g.TgZ(1,\"p\",11),g._uU(2),g.ALo(3,\"translate\"),g.qZA(),g._UZ(4,\"p-dropdown\",22),g.qZA()),2&v){const S=g.oxw(3);g.xp6(2),g.Oqu(g.lcZ(3,6,\"ass_cpo\")),g.xp6(2),g.Akn(g.DdM(8,l)),g.Q6J(\"options\",S.listRagioneSocialeCpo)(\"filter\",!0)(\"disabled\",!1)}}function T(v,H){if(1&v){const S=g.EpF();g.TgZ(0,\"div\",23),g._UZ(1,\"div\"),g.TgZ(2,\"div\",24),g.TgZ(3,\"button\",25),g.NdJ(\"click\",function(){return g.CHM(S),g.oxw(3).next()}),g.ALo(4,\"translate\"),g.qZA(),g.qZA(),g.qZA()}2&v&&(g.xp6(3),g.s9C(\"label\",g.lcZ(4,1,\"prosegui\")))}function k(v,H){if(1&v){const S=g.EpF();g.TgZ(0,\"div\",26),g.TgZ(1,\"button\",27),g.NdJ(\"click\",function(){return g.CHM(S),g.oxw(3).add()}),g.ALo(2,\"translate\"),g.qZA(),g.qZA()}if(2&v){const S=g.oxw(3);g.xp6(1),g.s9C(\"label\",g.lcZ(2,2,\"Conferma\")),g.Q6J(\"disabled\",S.pricingForm.get(\"productID\").invalid||!S.dataEmpCpo.cpo.cpoGroup.subCpo&&S.pricingForm.get(\"operatorID\").invalid)}}function b(v,H){if(1&v&&(g.TgZ(0,\"div\"),g.TgZ(1,\"div\",9),g.TgZ(2,\"div\",10),g.TgZ(3,\"p\",11),g._uU(4),g.ALo(5,\"translate\"),g.qZA(),g._UZ(6,\"input\",12),g.qZA(),g.YNc(7,O,5,9,\"div\",13),g.TgZ(8,\"div\",10),g.TgZ(9,\"p\",11),g._uU(10),g.ALo(11,\"translate\"),g.qZA(),g._UZ(12,\"input\",14),g.qZA(),g.TgZ(13,\"div\",10),g.TgZ(14,\"p\",11),g._uU(15),g.ALo(16,\"translate\"),g.qZA(),g._UZ(17,\"input\",15),g.qZA(),g.TgZ(18,\"div\",10),g.TgZ(19,\"p\",11),g._uU(20),g.ALo(21,\"translate\"),g.qZA(),g._UZ(22,\"input\",16),g.qZA(),g.TgZ(23,\"div\",10),g.TgZ(24,\"p\",11),g._uU(25),g.ALo(26,\"translate\"),g.qZA(),g._UZ(27,\"input\",17),g.qZA(),g.TgZ(28,\"div\",10),g.TgZ(29,\"p\",11),g._uU(30),g.ALo(31,\"translate\"),g.qZA(),g._UZ(32,\"input\",18),g.qZA(),g.TgZ(33,\"div\",10),g.TgZ(34,\"p\",11),g._uU(35),g.ALo(36,\"translate\"),g.qZA(),g._UZ(37,\"input\",19),g.qZA(),g.qZA(),g.YNc(38,T,5,3,\"div\",20),g.YNc(39,k,3,4,\"div\",21),g.qZA()),2&v){const S=g.oxw(2);g.xp6(4),g.Oqu(g.lcZ(5,10,\"id_prodotto\")),g.xp6(3),g.Q6J(\"ngIf\",!S.dataEmpCpo.cpo.cpoGroup.subCpo),g.xp6(3),g.Oqu(g.lcZ(11,12,\"prezzo_start\")),g.xp6(5),g.Oqu(g.lcZ(16,14,\"prezzo_kwh\")),g.xp6(5),g.Oqu(g.lcZ(21,16,\"prezzo_min\")),g.xp6(5),g.Oqu(g.lcZ(26,18,\"prezzo_parc\")),g.xp6(5),g.Oqu(g.lcZ(31,20,\"prezzo_pren\")),g.xp6(5),g.Oqu(g.lcZ(36,22,\"grace_period\")),g.xp6(3),g.Q6J(\"ngIf\",S.verifyAction.isOcpi),g.xp6(1),g.Q6J(\"ngIf\",!S.verifyAction.isOcpi)}}function et(v,H){if(1&v&&(g.TgZ(0,\"div\",10),g.TgZ(1,\"p\",11),g._uU(2),g.ALo(3,\"translate\"),g.qZA(),g._UZ(4,\"p-dropdown\",34),g.ALo(5,\"translate\"),g.qZA()),2&v){const S=g.oxw(3);g.xp6(2),g.Oqu(g.lcZ(3,7,\"emspId\")),g.xp6(2),g.Akn(g.DdM(11,l)),g.s9C(\"placeholder\",g.lcZ(5,9,\"emspId\")),g.Q6J(\"options\",S.dataEmpCpo.cpo.emspIds)(\"filter\",!0)(\"disabled\",!1)}}function U(v,H){if(1&v){const S=g.EpF();g.TgZ(0,\"div\"),g.TgZ(1,\"div\",9),g.YNc(2,et,6,12,\"div\",13),g.TgZ(3,\"div\",10),g.TgZ(4,\"p\",11),g._uU(5),g.ALo(6,\"translate\"),g.qZA(),g._UZ(7,\"input\",28),g.qZA(),g.qZA(),g.TgZ(8,\"div\",29),g.TgZ(9,\"div\",30),g.TgZ(10,\"div\",31),g.TgZ(11,\"button\",32),g.NdJ(\"click\",function(){return g.CHM(S),g.oxw(2).rewind()}),g.ALo(12,\"translate\"),g.qZA(),g.qZA(),g.TgZ(13,\"div\",24),g.TgZ(14,\"button\",33),g.NdJ(\"click\",function(){return g.CHM(S),g.oxw(2).add()}),g.ALo(15,\"translate\"),g.qZA(),g.qZA(),g.qZA(),g.qZA(),g.qZA()}if(2&v){const S=g.oxw(2);g.xp6(2),g.Q6J(\"ngIf\",!S.dataEmpCpo.cpo.cpoGroup.subCpo),g.xp6(3),g.Oqu(g.lcZ(6,4,\"tariffId\")),g.xp6(6),g.s9C(\"label\",g.lcZ(12,6,\"ind\")),g.xp6(3),g.s9C(\"label\",g.lcZ(15,8,\"Conferma\"))}}function F(v,H){if(1&v){const S=g.EpF();g.TgZ(0,\"div\"),g.TgZ(1,\"div\",2),g._UZ(2,\"div\"),g.TgZ(3,\"div\"),g.TgZ(4,\"div\",3),g.YNc(5,pt,3,3,\"a\",4),g.YNc(6,N,3,3,\"a\",4),g.qZA(),g.TgZ(7,\"div\",5),g.YNc(8,C,3,3,\"a\",4),g.qZA(),g.qZA(),g.TgZ(9,\"div\",6),g.TgZ(10,\"button\",7),g.NdJ(\"click\",function(){return g.CHM(S),g.oxw().closeDialog()}),g.qZA(),g._UZ(11,\"br\"),g._UZ(12,\"br\"),g.qZA(),g.qZA(),g.TgZ(13,\"form\",8),g.YNc(14,b,40,24,\"div\",4),g.YNc(15,U,16,10,\"div\",4),g.qZA(),g.qZA()}if(2&v){const S=g.oxw();g.xp6(5),g.Q6J(\"ngIf\",!S.isUpdate()),g.xp6(1),g.Q6J(\"ngIf\",S.isUpdate()),g.xp6(2),g.Q6J(\"ngIf\",!S.isUpdate()),g.xp6(5),g.Q6J(\"formGroup\",S.pricingForm),g.xp6(1),g.Q6J(\"ngIf\",0===S.currentCard),g.xp6(1),g.Q6J(\"ngIf\",1===S.currentCard)}}let K=(()=>{class v{constructor(S,ct,dt,Ot,R,lt,ot,mt,At,Mt){this.dialogConfirm=S,this.dialog=ct,this.formBuilder=dt,this.pricingService=Ot,this.dialogUser=R,this.verifyAction=lt,this.translate=ot,this.notifyService=mt,this.cpoService=At,this.dataEmpCpoService=Mt,this.color=\"primary\",this.mode=\"determinate\",this.value=100,this.bufferValue=30,this.chosenOperatorId=new t.NI(\"\",t.kI.required),this.dataEmpCpo=JSON.parse(x().get(\"dataEmpCpo\",{decrypt:!0})),this.currentCard=0,this.checkH24=!1,this.pricingForm=this.formBuilder.group({productID:[\"\",[t.kI.required]],startingEur:[0,[t.kI.required]],eur_KWH:[0,[t.kI.required]],eur_MIN:[0,[t.kI.required]],parkingEur_MIN:[0,[t.kI.required]],reservationCost:[0],query:[\"\"],gracePeriod:[0],roamingId:[\"\"],emspId:[\"\"],tariffId:[\"\"],operatorID:[\"\",[t.kI.required]],availabilityTimes:this.formBuilder.array([this.formBuilder.group({on:[\"\",[t.kI.required]],Periods:this.formBuilder.array([this.formBuilder.group({begin:[\"\",[t.kI.required]],end:[\"\",[t.kI.required]]})])})])})}ngOnInit(){var S;return(0,p.mG)(this,void 0,void 0,function*(){this.innerWidth=window.innerWidth,console.log(this.dataEmpCpo),console.log(this.verifyAction.isOcpi);let ct=yield this.dataEmpCpoService.getAllRagioneSociale().toPromise();console.log(ct);try{this.listRagioneSocialeCpo=yield this.cpoService.getAllRagioneSociale().toPromise()}catch(dt){console.error(dt.message)}if(console.log(this.listRagioneSocialeCpo),console.log(this.verifyAction),this.chosenOperatorId.setValue(this.verifyAction.operatorID),this.verifyAction.update){this.pricingForm.get(\"productID\").disable(),this.pricingForm.get(\"operatorID\").disable(),console.log(this.verifyAction.pricing),this.pricingForm.get(\"operatorID\").setValue(this.verifyAction.pricing.operatorID),this.pricingForm.get(\"productID\").setValue(this.verifyAction.pricing.productID),this.pricingForm.get(\"startingEur\").setValue(this.verifyAction.pricing.startingEur),this.pricingForm.get(\"eur_KWH\").setValue(this.verifyAction.pricing.eur_KWH),this.pricingForm.get(\"eur_MIN\").setValue(this.verifyAction.pricing.eur_MIN),this.pricingForm.get(\"parkingEur_MIN\").setValue(this.verifyAction.pricing.parkingEur_MIN),this.pricingForm.get(\"reservationCost\").setValue(this.verifyAction.pricing.reservationCost),this.pricingForm.get(\"roamingId\").setValue(this.verifyAction.pricing.roamingId),this.pricingForm.get(\"tariffId\").setValue(this.verifyAction.pricing.tariffId),this.verifyAction.isOcpi&&this.pricingForm.get(\"empsId\").setValue(this.verifyAction.pricing.emspId),this.pricingForm.get(\"gracePeriod\").setValue(this.verifyAction.pricing.settings.gracePeriod);let dt=null===(S=this.verifyAction.pricing.availabilityTimes)||void 0===S?void 0:S.map(R=>this.newQuantity(R));if(this.pricingForm.setControl(\"availabilityTimes\",new t.Oe([...dt||[]])),0==this.pricingForm.get(\"availabilityTimes\").length){const lt=this.pricingForm.get(\"availabilityTimes\").controls[0],ot=lt.get(\"Periods\"),mt=lt.get(\"on\"),At=ot.controls[0];\"00:00\"===At.value.begin&&\"23:59\"===At.value.end&&\"Everyday\"==mt.value&&(this.checkH24=!0)}}this.isLoading=!1})}rewind(){this.currentCard=this.currentCard-1}next(){this.currentCard++}isUpdate(){return this.verifyAction.update}closeDialog(){this.dialog.close()}newQuantity(S){var ct;return this.formBuilder.group({on:null!==(ct=null==S?void 0:S.on)&&void 0!==ct?ct:\"\",Periods:this.formBuilder.array(S?S.Periods.map(dt=>this.newPeriod(dt)):[this.newPeriod()])})}newPeriod(S){var ct,dt;return this.formBuilder.group({begin:null!==(ct=null==S?void 0:S.begin)&&void 0!==ct?ct:\"\",end:null!==(dt=null==S?void 0:S.end)&&void 0!==dt?dt:\"\"})}add(){this.verifyAction.update||(this.verifyAction.pricing={settings:{}},this.verifyAction.pricing.productID=this.pricingForm.value.productID),this.mode=\"indeterminate\",console.log(this.pricingForm.value.operatorID),this.verifyAction.pricing.operatorID=this.verifyAction.update?this.verifyAction.pricing.operatorID:null==this.pricingForm.value.operatorID||\"\"==this.pricingForm.value.operatorID.trim()||null==this.pricingForm.value.operatorID?this.dataEmpCpo.id:this.pricingForm.value.operatorID,this.verifyAction.pricing.startingEur=\"\"==this.pricingForm.value.startingEur||null==this.pricingForm.value.startingEur?0:this.pricingForm.value.startingEur,this.verifyAction.pricing.eur_KWH=\"\"==this.pricingForm.value.eur_KWH||null==this.pricingForm.value.eur_KWH?0:this.pricingForm.value.eur_KWH,this.verifyAction.pricing.eur_MIN=\"\"==this.pricingForm.value.eur_MIN||null==this.pricingForm.value.eur_MIN?0:this.pricingForm.value.eur_MIN,this.verifyAction.pricing.parkingEur_MIN=\"\"==this.pricingForm.value.parkingEur_MIN||null==this.pricingForm.value.parkingEur_MIN?0:this.pricingForm.value.parkingEur_MIN,this.verifyAction.pricing.reservationCost=\"\"==this.pricingForm.value.reservationCost||null==this.pricingForm.value.reservationCost?0:this.pricingForm.value.reservationCost,this.verifyAction.pricing.tariffId=\"\"==this.pricingForm.value.tariffId||null==this.pricingForm.value.tariffId?\"\":this.pricingForm.value.tariffId+\"-\"+this.pricingForm.value.emspId,this.verifyAction.pricing.roamingId=this.dataEmpCpo.cpo.roamingId,this.verifyAction.isOcpi&&(this.verifyAction.pricing.emspId=\"\"==this.pricingForm.value.emspId||null==this.pricingForm.value.emspId?[]:this.pricingForm.value.emspId),\"\"==this.pricingForm.value.gracePeriod||null==this.pricingForm.value.gracePeriod?this.verifyAction.pricing.settings={gracePeriod:0}:this.verifyAction.pricing.settings.gracePeriod=this.pricingForm.value.gracePeriod,this.verifyAction.pricing.availabilityTimes=[{Periods:[{begin:\"00:00\",end:\"23:59\"}],on:\"Everyday\"}],this.verifyAction.update?this.verifyAction.update&&(console.log(this.pricingForm.value),console.log(this.verifyAction.pricing),console.log(this.verifyAction.pricing.tariffId),this.verifyAction.isRoaming||this.pricingService.updateProducts(this.verifyAction.pricing).toPromise().then(()=>{this.notifyService.showSuccess(this.translate.instant(\"mod_pri\"),this.translate.instant(\"ok\")),this.dialog.close()})):\"\"==this.pricingForm.value.productID?this.notifyService.showWarning(this.translate.instant(\"ins_id_operatore\"),this.translate.instant(\"att\")):this.pricingService.create(this.verifyAction.pricing).toPromise().then(S=>{console.log(S),null==S?(this.notifyService.showSuccess(this.translate.instant(\"pri_add\"),this.translate.instant(\"ok\")),this.dialog.close()):\"Product already exists\"===S.error&&this.notifyService.showWarning(this.translate.instant(\"Prodotto gi\\xe0 esistente\"),this.translate.instant(\"att\"))})}responsive(){if(this.innerWidth<1500)return!0}h24(){const S=this.pricingForm.get(\"availabilityTimes\");for(;S.length>1;)S.removeAt(1);if(this.checkH24=this.checkboxH24.nativeElement.checked,console.log(this.checkboxH24.nativeElement.checked),this.checkboxH24.nativeElement.checked){const ct=this.pricingForm.get(\"availabilityTimes\");console.log(ct);const dt=ct.controls[0];dt.patchValue({on:\"Everyday\"}),dt.get(\"Periods\").controls[0].patchValue({begin:\"00:00\",end:\"23:59\"})}else{const dt=this.pricingForm.get(\"availabilityTimes\").controls[0];dt.patchValue({on:\"\"}),dt.get(\"Periods\").controls[0].patchValue({begin:\"\",end:\"\"})}}}return v.\\u0275fac=function(S){return new(S||v)(g.Y36(u.uw),g.Y36(u.so),g.Y36(t.qu),g.Y36(i.f),g.Y36(u.uw),g.Y36(u.WI),g.Y36(f.sK),g.Y36(r.m),g.Y36(Z.j),g.Y36(q.c))},v.\\u0275cmp=g.Xpm({type:v,selectors:[[\"app-add-product\"]],viewQuery:function(S,ct){if(1&S&&g.Gf(X,5),2&S){let dt;g.iGM(dt=g.CRH())&&(ct.checkboxH24=dt.first)}},decls:3,vars:2,consts:[[4,\"ngIf\",\"ngIfElse\"],[\"main\",\"\"],[1,\"grid33\",2,\"padding-bottom\",\"34px\"],[2,\"padding-left\",\"0.5em\",\"padding-top\",\"0.3em\",\"font-size\",\"2em\",\"font-weight\",\"200\",\"text-align\",\"center\"],[4,\"ngIf\"],[2,\"padding-left\",\"0.5em\",\"padding-top\",\"0.3em\",\"font-size\",\"1em\",\"font-weight\",\"200\",\"text-align\",\"center\"],[1,\"sr-result\",\"stop1\",2,\"text-align\",\"end\"],[\"icon\",\"fas fa-times\",\"type\",\"button\",\"pButton\",\"\",\"pRipple\",\"\",1,\"buttonX\",\"button-close\",\"mr-2\",2,\"width\",\"50px\",\"font-family\",\"'Baloo 2',serif\",\"font-size\",\"16px\",\"background-color\",\"white\",\"border-color\",\"red\",\"color\",\"red\",3,\"click\"],[3,\"formGroup\"],[1,\"grid\"],[1,\"center\"],[2,\"height\",\"4vh\",\"padding-top\",\"3vh\",\"color\",\"black\"],[\"type\",\"text\",\"pInputText\",\"\",\"formControlName\",\"productID\",\"required\",\"\",\"pattern\",\"^\\\\S+$\",2,\"text-align\",\"center\",\"width\",\"250px\"],[\"class\",\"center\",4,\"ngIf\"],[\"type\",\"number\",\"pInputText\",\"\",\"formControlName\",\"startingEur\",\"required\",\"\",\"pattern\",\"^\\\\S+$\",2,\"text-align\",\"center\",\"width\",\"250px\"],[\"type\",\"number\",\"pInputText\",\"\",\"formControlName\",\"eur_KWH\",\"required\",\"\",\"pattern\",\"^\\\\S+$\",2,\"text-align\",\"center\",\"width\",\"250px\"],[\"type\",\"number\",\"pInputText\",\"\",\"formControlName\",\"eur_MIN\",\"required\",\"\",\"pattern\",\"^\\\\S+$\",2,\"text-align\",\"center\",\"width\",\"250px\"],[\"type\",\"number\",\"pInputText\",\"\",\"formControlName\",\"parkingEur_MIN\",\"required\",\"\",\"pattern\",\"^\\\\S+$\",2,\"text-align\",\"center\",\"width\",\"250px\"],[\"type\",\"number\",\"pInputText\",\"\",\"formControlName\",\"reservationCost\",\"required\",\"\",\"pattern\",\"^\\\\S+$\",2,\"text-align\",\"center\",\"width\",\"250px\"],[\"type\",\"number\",\"pInputText\",\"\",\"formControlName\",\"gracePeriod\",\"required\",\"\",\"pattern\",\"^\\\\S+$\",2,\"text-align\",\"center\",\"width\",\"250px\"],[\"class\",\"box\",4,\"ngIf\"],[\"style\",\"padding-top: 40px;\",\"class\",\"conferma\",4,\"ngIf\"],[\"optionLabel\",\"ragioneSociale\",\"optionValue\",\"id\",\"formControlName\",\"operatorID\",\"placeholder\",\"CPO\",\"panelStyleClass\",\"custom-dropdown-panel\",3,\"options\",\"filter\",\"disabled\"],[1,\"box\"],[2,\"justify-self\",\"flex-end\"],[\"icon\",\"fas fa-chevron-right\",\"iconPos\",\"right\",\"type\",\"button\",\"pButton\",\"\",\"pRipple\",\"\",1,\"mr-2\",2,\"width\",\"191px\",\"font-family\",\"'Baloo 2',serif\",\"font-size\",\"16px\",\"background-color\",\"white\",\"border-color\",\"#1ab394\",\"color\",\"#1ab394\",3,\"label\",\"click\"],[1,\"conferma\",2,\"padding-top\",\"40px\"],[\"icon\",\"fas fa-check\",\"type\",\"button\",\"pButton\",\"\",\"pRipple\",\"\",1,\"mr-2\",2,\"width\",\"191px\",\"font-family\",\"'Baloo 2',serif\",\"font-size\",\"16px\",\"background-color\",\"white\",\"border-color\",\"#1ab394\",\"color\",\"#1ab394\",3,\"disabled\",\"label\",\"click\"],[\"type\",\"text\",\"pInputText\",\"\",\"formControlName\",\"tariffId\",\"required\",\"\",\"pattern\",\"^\\\\S+$\",2,\"text-align\",\"center\",\"width\",\"250px\"],[1,\"conferma\",2,\"padding-top\",\"205px\"],[1,\"box2\"],[2,\"justify-self\",\"start\"],[\"icon\",\"fas fa-chevron-left\",\"iconPos\",\"left\",\"type\",\"button\",\"pButton\",\"\",\"pRipple\",\"\",1,\"mr-2\",2,\"width\",\"191px\",\"font-family\",\"'Baloo 2',serif\",\"font-size\",\"16px\",\"background-color\",\"white\",\"border-color\",\"#1ab394\",\"color\",\"#1ab394\",3,\"label\",\"click\"],[\"icon\",\"fas fa-check\",\"type\",\"button\",\"pButton\",\"\",\"pRipple\",\"\",1,\"mr-2\",2,\"width\",\"191px\",\"font-family\",\"'Baloo 2',serif\",\"font-size\",\"16px\",\"background-color\",\"white\",\"border-color\",\"#1ab394\",\"color\",\"#1ab394\",3,\"label\",\"click\"],[\"formControlName\",\"emspId\",3,\"options\",\"filter\",\"placeholder\",\"disabled\"]],template:function(S,ct){if(1&S&&(g.YNc(0,j,1,0,\"app-loading-screen\",0),g.YNc(1,F,16,6,\"ng-template\",null,1,g.W1O)),2&S){const dt=g.MAs(2);g.Q6J(\"ngIf\",ct.isLoading)(\"ngIfElse\",dt)}},directives:[m.O5,I.g,B.Hq,W.H,t._Y,t.JL,t.sg,t.Fj,z.o,t.JJ,t.u,t.Q7,t.c5,t.wV,M.Lt],pipes:[f.X$],styles:['.grid33[_ngcontent-%COMP%]{display:grid;width:100%;grid-template-columns:0% 50% 50%}button[_ngcontent-%COMP%]:focus{outline:none!important;box-shadow:none!important;background-color:transparent!important}.center[_ngcontent-%COMP%]{text-align:center;align-items:center;justify-content:center}.buttonConfirm[_ngcontent-%COMP%]:disabled{background-color:#d3d3d3;cursor:not-allowed;opacity:.5}@supports (-webkit-appearance: none) or (-moz-appearance: none){.checkbox-wrapper-13[_ngcontent-%COMP%] input[type=checkbox][_ngcontent-%COMP%]{--active: #275EFE;--active-inner: #fff;--focus: 2px rgba(39, 94, 254, .3);--border: #BBC1E1;--border-hover: #275EFE;--background: #fff;--disabled: #F6F8FF;--disabled-inner: #E1E6F9;-webkit-appearance:none;-moz-appearance:none;height:21px;outline:none;display:inline-block;vertical-align:top;position:relative;margin:0;cursor:pointer;border:1px solid var(--bc, var(--border));background:var(--b, var(--background));transition:background .3s,border-color .3s,box-shadow .2s}.checkbox-wrapper-13[_ngcontent-%COMP%] input[type=checkbox][_ngcontent-%COMP%]:after{content:\"\";display:block;left:0;top:0;position:absolute;transition:transform var(--d-t, .3s) var(--d-t-e, ease),opacity var(--d-o, .2s)}.checkbox-wrapper-13[_ngcontent-%COMP%] input[type=checkbox][_ngcontent-%COMP%]:checked{--b: var(--active);--bc: var(--active);--d-o: .3s;--d-t: .6s;--d-t-e: cubic-bezier(.2, .85, .32, 1.2)}.checkbox-wrapper-13[_ngcontent-%COMP%] input[type=checkbox][_ngcontent-%COMP%]:disabled{--b: var(--disabled);cursor:not-allowed;opacity:.9}.checkbox-wrapper-13[_ngcontent-%COMP%] input[type=checkbox][_ngcontent-%COMP%]:disabled:checked{--b: var(--disabled-inner);--bc: var(--border)}.checkbox-wrapper-13[_ngcontent-%COMP%] input[type=checkbox][_ngcontent-%COMP%]:disabled + label[_ngcontent-%COMP%]{cursor:not-allowed}.checkbox-wrapper-13[_ngcontent-%COMP%] input[type=checkbox][_ngcontent-%COMP%]:hover:not(:checked):not(:disabled){--bc: var(--border-hover)}.checkbox-wrapper-13[_ngcontent-%COMP%] input[type=checkbox][_ngcontent-%COMP%]:focus{box-shadow:0 0 0 var(--focus)}.checkbox-wrapper-13[_ngcontent-%COMP%] input[type=checkbox][_ngcontent-%COMP%]:not(.switch){width:21px}.checkbox-wrapper-13[_ngcontent-%COMP%] input[type=checkbox][_ngcontent-%COMP%]:not(.switch):after{opacity:var(--o, 0)}.checkbox-wrapper-13[_ngcontent-%COMP%] input[type=checkbox][_ngcontent-%COMP%]:not(.switch):checked{--o: 1}.checkbox-wrapper-13[_ngcontent-%COMP%] input[type=checkbox][_ngcontent-%COMP%] + label[_ngcontent-%COMP%]{display:inline-block;vertical-align:middle;cursor:pointer;margin-left:4px}.checkbox-wrapper-13[_ngcontent-%COMP%] input[type=checkbox][_ngcontent-%COMP%]:not(.switch){border-radius:7px}.checkbox-wrapper-13[_ngcontent-%COMP%] input[type=checkbox][_ngcontent-%COMP%]:not(.switch):after{width:5px;height:9px;border:2px solid var(--active-inner);border-top:0;border-left:0;left:7px;top:4px;transform:rotate(var(--r, 20deg))}.checkbox-wrapper-13[_ngcontent-%COMP%] input[type=checkbox][_ngcontent-%COMP%]:not(.switch):checked{--r: 43deg}}.checkbox-wrapper-13[_ngcontent-%COMP%] *[_ngcontent-%COMP%]{box-sizing:inherit}.checkbox-wrapper-13[_ngcontent-%COMP%] *[_ngcontent-%COMP%]:before, .checkbox-wrapper-13[_ngcontent-%COMP%] *[_ngcontent-%COMP%]:after{box-sizing:inherit}.conferma[_ngcontent-%COMP%]{text-align:-webkit-center}@-moz-document url-prefix(){.conferma{display:flex;justify-content:end}}@media (max-width: 1090px){.table[_ngcontent-%COMP%] thead[_ngcontent-%COMP%]{display:none}.table[_ngcontent-%COMP%], .table[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%], .table[_ngcontent-%COMP%] tr[_ngcontent-%COMP%], .table[_ngcontent-%COMP%] td[_ngcontent-%COMP%]{display:block;width:100%}.table[_ngcontent-%COMP%] tr[_ngcontent-%COMP%]{margin-bottom:15px}.table[_ngcontent-%COMP%] td[_ngcontent-%COMP%]{padding-left:50%;text-align:right;position:relative}.table[_ngcontent-%COMP%] td[_ngcontent-%COMP%]:before{content:attr(data-label);position:absolute;left:0;width:50%;padding-left:15px;font-size:15px;font-weight:bold;text-align:left}.mat-table[matTableResponsive][_ngcontent-%COMP%] .mat-header-row[_ngcontent-%COMP%]{display:block;flex-wrap:wrap;height:auto;position:sticky;top:0;z-index:2}.mat-table[matTableResponsive][_ngcontent-%COMP%] .mat-header-row[_ngcontent-%COMP%] th.mat-header-cell[_ngcontent-%COMP%]{display:flex;flex:1;align-items:center;padding:1rem .5rem;justify-content:left}.mat-table[matTableResponsive][_ngcontent-%COMP%] .mat-header-row[_ngcontent-%COMP%] th.mat-header-cell[_ngcontent-%COMP%] > .mat-sort-header-container[_ngcontent-%COMP%]{padding-left:15px}.mat-table[matTableResponsive][_ngcontent-%COMP%] .mat-header-row[_ngcontent-%COMP%] th.mat-header-cell[_ngcontent-%COMP%]:not([mat-sort-header]), .mat-table[matTableResponsive][_ngcontent-%COMP%] .mat-header-row[_ngcontent-%COMP%] th.mat-header-cell.mat-sort-header-disabled[_ngcontent-%COMP%], .mat-table[matTableResponsive][_ngcontent-%COMP%] .mat-header-row[_ngcontent-%COMP%] th.mat-header-cell.mat-column-actions[_ngcontent-%COMP%]{display:none}.mat-table[matTableResponsive][_ngcontent-%COMP%] .mat-row[_ngcontent-%COMP%]{height:auto}.mat-table[matTableResponsive][_ngcontent-%COMP%] .mat-row[_ngcontent-%COMP%] td.mat-cell[_ngcontent-%COMP%]:not(.mat-column-actions){display:grid;grid-template-columns:50% 50%;padding:.5rem;text-align:right;word-break:break-word}.mat-table[matTableResponsive][_ngcontent-%COMP%] .mat-row[_ngcontent-%COMP%] td.mat-cell[_ngcontent-%COMP%]:not(.mat-column-actions) > *[_ngcontent-%COMP%]{grid-column:2}.mat-table[matTableResponsive][_ngcontent-%COMP%] .mat-row[_ngcontent-%COMP%] td.mat-cell[_ngcontent-%COMP%]:not(.mat-column-actions):before{content:attr(data-column-name);text-align:left}.mat-table[matTableResponsive][_ngcontent-%COMP%] .mat-row[_ngcontent-%COMP%] td.mat-column-actions[_ngcontent-%COMP%]{display:flex;justify-content:center;padding:0 .5rem}.mat-table[matTableResponsive][_ngcontent-%COMP%] .mat-row[_ngcontent-%COMP%] td.mat-column-actions[_ngcontent-%COMP%] > button[_ngcontent-%COMP%]{margin:.5rem 0}.mat-table[matTableResponsive][_ngcontent-%COMP%] .mat-row[_ngcontent-%COMP%]:last-of-type td[_ngcontent-%COMP%]:last-of-type{border:none}.mat-table[matTableResponsive][_ngcontent-%COMP%] .mat-row[_ngcontent-%COMP%]:not(:last-of-type) td[_ngcontent-%COMP%]:last-of-type{border-bottom:.5rem solid #fafafa}.mat-card[_ngcontent-%COMP%] .mat-table[matTableResponsive][_ngcontent-%COMP%], .mat-expansion-panel[_ngcontent-%COMP%] .mat-table[matTableResponsive][_ngcontent-%COMP%]{border:.5rem solid #fafafa}img[_ngcontent-%COMP%]{width:0em;height:0em}.grid[_ngcontent-%COMP%]{display:grid;width:100%;grid-template-columns:100%}.w70[_ngcontent-%COMP%]{width:95%}.w35[_ngcontent-%COMP%]{width:95%}}@media (min-width: 1090px){.grid[_ngcontent-%COMP%]{display:grid;width:100%;grid-template-columns:50% 50%}.grid33[_ngcontent-%COMP%]{display:grid;width:100%;grid-template-columns:33% 33% 33%}.grid25[_ngcontent-%COMP%]{display:grid;width:100%;grid-template-columns:25% 25% 25% 25%}.grid20[_ngcontent-%COMP%]{display:grid;width:100%;grid-template-columns:20% 20% 20% 20% 20%}.w70[_ngcontent-%COMP%]{width:70%}.w35[_ngcontent-%COMP%]{width:35%}table[_ngcontent-%COMP%]{table-layout:fixed;width:100%;border-collapse:separate;border-spacing:0 2px}}input[type=color][_ngcontent-%COMP%], input[type=date][_ngcontent-%COMP%], input[type=datetime][_ngcontent-%COMP%], input[type=datetime-local][_ngcontent-%COMP%], input[type=email][_ngcontent-%COMP%], input[type=month][_ngcontent-%COMP%], input[type=number][_ngcontent-%COMP%], input[type=password][_ngcontent-%COMP%], input[type=search][_ngcontent-%COMP%], input[type=tel][_ngcontent-%COMP%], input[type=text][_ngcontent-%COMP%], input[type=time][_ngcontent-%COMP%], input[type=url][_ngcontent-%COMP%], input[type=week][_ngcontent-%COMP%], select[_ngcontent-%COMP%]:focus, textarea[_ngcontent-%COMP%]{font-size:16px}.sr-result.stop1[_ngcontent-%COMP%]{position:relative}.box[_ngcontent-%COMP%]{padding:5% 1.875rem 1.25rem;display:grid;grid-template-columns:repeat(2,1fr);grid-template-rows:1fr;grid-column-gap:0px;grid-row-gap:0px}.box2[_ngcontent-%COMP%]{padding:10% 1.875rem 1.25rem;display:grid;grid-template-columns:repeat(2,1fr);grid-template-rows:1fr;grid-column-gap:0px;grid-row-gap:0px} .custom-dropdown-panel .p-dropdown-item{white-space:normal!important;word-wrap:break-word;max-width:250px;overflow-wrap:break-word}']}),v})()},85458:(st,J,c)=>{\"use strict\";c.d(J,{F:()=>Q});var p=c(97582),t=c(32091),u=c(99692),_=c(17238),x=c(11494),g=c(88205),i=c(73796),f=c(64841),r=c.n(f),Z=c(49457),m=c(37716),I=c(22238),B=c(2049),W=c(29790),z=c(37556),M=c(99766),X=c(39801),j=c(38583),pt=c(16743),N=c(40845),C=c(25787),l=c(4119),O=c(92794),T=c(59783),k=c(47082),b=c(86526),et=c(3679),U=c(31424);const F=[\"testDiv\"];function K(A,tt){1&A&&(m.TgZ(0,\"div\",21),m._UZ(1,\"app-loading-screen\"),m.qZA())}const v=function(){return{\"min-width\":\"220\"}};function H(A,tt){if(1&A){const G=m.EpF();m.TgZ(0,\"div\",22),m.TgZ(1,\"div\",22),m.TgZ(2,\"button\",23),m.NdJ(\"click\",function(){return m.CHM(G),m.oxw(),m.MAs(20).exportCSV()}),m.qZA(),m.TgZ(3,\"button\",24),m.NdJ(\"click\",function(){return m.CHM(G),m.oxw().exportExcel()}),m.qZA(),m.TgZ(4,\"button\",25),m.NdJ(\"click\",function(){m.CHM(G);const gt=m.oxw(),vt=m.MAs(20);return gt.clear(vt)}),m.qZA(),m._uU(5,\"\\xa0 \"),m.TgZ(6,\"p-multiSelect\",26),m.NdJ(\"ngModelChange\",function(gt){return m.CHM(G),m.oxw().selectedColumns=gt}),m.ALo(7,\"translate\"),m.ALo(8,\"translate\"),m.qZA(),m.qZA(),m.TgZ(9,\"div\",27),m.TgZ(10,\"span\",28),m._UZ(11,\"i\",29),m.TgZ(12,\"input\",30),m.NdJ(\"input\",function(gt){return m.CHM(G),m.oxw(),m.MAs(20).filterGlobal(gt.target.value,\"contains\")}),m.ALo(13,\"translate\"),m.qZA(),m.qZA(),m.qZA(),m.qZA()}if(2&A){const G=m.oxw();m.xp6(6),m.Akn(m.DdM(13,v)),m.MGl(\"selectedItemsLabel\",\"{0} \",m.lcZ(7,7,\"column_selected\"),\"\"),m.s9C(\"placeholder\",m.lcZ(8,9,\"choose_columns\")),m.Q6J(\"options\",G.getDisplay())(\"ngModel\",G.selectedColumns),m.xp6(6),m.s9C(\"placeholder\",m.lcZ(13,11,\"cerca\"))}}function S(A,tt){if(1&A&&(m.TgZ(0,\"th\",33),m._uU(1),m._UZ(2,\"p-sortIcon\",34),m.qZA()),2&A){const G=tt.$implicit;m.Udp(\"place-content\",\"center\"),m.s9C(\"pSortableColumn\",G.field),m.xp6(1),m.hij(\"\",G.header,\" \"),m.xp6(1),m.s9C(\"field\",G.field)}}function ct(A,tt){1&A&&m._UZ(0,\"p-columnFilter\",43),2&A&&(m.Udp(\"display\",\"none\"),m.Q6J(\"showMenu\",!1)(\"showClearButton\",!1))}function dt(A,tt){1&A&&m._UZ(0,\"p-columnFilter\",44),2&A&&(m.Udp(\"display\",\"none\"),m.Q6J(\"showMenu\",!1)(\"showClearButton\",!1))}function Ot(A,tt){1&A&&m._UZ(0,\"p-columnFilter\",45),2&A&&(m.Udp(\"display\",\"none\"),m.Q6J(\"showMenu\",!1)(\"showClearButton\",!1))}function R(A,tt){1&A&&m._UZ(0,\"p-columnFilter\",46),2&A&&(m.Udp(\"display\",\"none\"),m.Q6J(\"showMenu\",!1)(\"showClearButton\",!1))}function lt(A,tt){1&A&&m._UZ(0,\"p-columnFilter\",47),2&A&&(m.Udp(\"display\",\"none\"),m.Q6J(\"showMenu\",!1)(\"showClearButton\",!1))}function ot(A,tt){1&A&&m._UZ(0,\"p-columnFilter\",48),2&A&&(m.Udp(\"display\",\"none\"),m.Q6J(\"showMenu\",!1)(\"showClearButton\",!1))}function mt(A,tt){if(1&A&&m._UZ(0,\"p-columnFilter\",49),2&A){const G=m.oxw().$implicit;m.Udp(\"width\",\"250px\"),m.s9C(\"field\",G.field),m.Q6J(\"showMenu\",!1)(\"showClearButton\",!1)}}function At(A,tt){if(1&A&&(m.TgZ(0,\"th\"),m.ynx(1,35),m.YNc(2,ct,1,4,\"p-columnFilter\",36),m.YNc(3,dt,1,4,\"p-columnFilter\",37),m.YNc(4,Ot,1,4,\"p-columnFilter\",38),m.YNc(5,R,1,4,\"p-columnFilter\",39),m.YNc(6,lt,1,4,\"p-columnFilter\",40),m.YNc(7,ot,1,4,\"p-columnFilter\",41),m.YNc(8,mt,1,5,\"p-columnFilter\",42),m.BQk(),m.qZA()),2&A){const G=tt.$implicit;m.Udp(\"justify-content\",\"center\"),m.xp6(1),m.Q6J(\"ngSwitch\",G.field),m.xp6(1),m.Q6J(\"ngSwitchCase\",\"eur_KWH\"),m.xp6(1),m.Q6J(\"ngSwitchCase\",\"eur_MIN\"),m.xp6(1),m.Q6J(\"ngSwitchCase\",\"startingEur\"),m.xp6(1),m.Q6J(\"ngSwitchCase\",\"reservationCost\"),m.xp6(1),m.Q6J(\"ngSwitchCase\",\"parkingEur_MIN\"),m.xp6(1),m.Q6J(\"ngSwitchCase\",\"actions\")}}function Mt(A,tt){if(1&A&&(m.TgZ(0,\"tr\"),m.YNc(1,S,3,5,\"th\",31),m.qZA(),m.TgZ(2,\"tr\"),m.YNc(3,At,9,9,\"th\",32),m.qZA()),2&A){const G=tt.$implicit;m.xp6(1),m.Q6J(\"ngForOf\",G),m.xp6(2),m.Q6J(\"ngForOf\",G)}}function Pt(A,tt){if(1&A){const G=m.EpF();m.ynx(0),m.TgZ(1,\"div\",55),m.TgZ(2,\"div\",56),m.TgZ(3,\"div\",57),m.TgZ(4,\"button\",58),m.NdJ(\"click\",function(){m.CHM(G);const gt=m.oxw(3).$implicit;return m.oxw().find(gt)}),m.ALo(5,\"translate\"),m.qZA(),m.TgZ(6,\"button\",59),m.NdJ(\"click\",function(){m.CHM(G);const gt=m.oxw(3).$implicit;return m.oxw().confirmDialog(gt._id)}),m.ALo(7,\"translate\"),m.qZA(),m.qZA(),m.qZA(),m.qZA(),m.BQk()}2&A&&(m.xp6(4),m.s9C(\"pTooltip\",m.lcZ(5,2,\"modifica\")),m.xp6(2),m.s9C(\"pTooltip\",m.lcZ(7,4,\"elimina\")))}function Bt(A,tt){if(1&A&&(m.ynx(0),m._uU(1),m.BQk()),2&A){const G=m.oxw(2).$implicit,nt=m.oxw().$implicit;m.xp6(1),m.hij(\" \",nt[G.field],\" \")}}function L(A,tt){if(1&A&&(m.TgZ(0,\"td\"),m.TgZ(1,\"span\",52),m._uU(2),m.qZA(),m.TgZ(3,\"span\"),m.ynx(4,35),m.YNc(5,Pt,8,6,\"ng-container\",53),m.YNc(6,Bt,2,1,\"ng-container\",54),m.BQk(),m.qZA(),m.qZA()),2&A){const G=m.oxw().$implicit;m.xp6(2),m.hij(\"\",G.header,\":\"),m.xp6(2),m.Q6J(\"ngSwitch\",G.field),m.xp6(1),m.Q6J(\"ngSwitchCase\",\"actions\")}}function at(A,tt){if(1&A&&(m.ynx(0),m.YNc(1,L,7,3,\"td\",51),m.BQk()),2&A){const G=tt.$implicit,nt=m.oxw(2);m.xp6(1),m.Q6J(\"ngIf\",nt.columnIsPresent(G.field))}}function Y(A,tt){if(1&A&&(m.TgZ(0,\"tr\"),m.YNc(1,at,2,1,\"ng-container\",50),m.qZA()),2&A){const G=tt.columns;m.xp6(1),m.Q6J(\"ngForOf\",G)}}function rt(A,tt){1&A&&(m.TgZ(0,\"tr\"),m.TgZ(1,\"td\",60),m._uU(2),m.ALo(3,\"translate\"),m.qZA(),m.qZA()),2&A&&(m.xp6(2),m.Oqu(m.lcZ(3,1,\"not_match_filter\")))}const ut=function(){return[10,25,50]},w=function(){return[\"productID\",\"ragioneSociale\"]};let Q=(()=>{class A{constructor(G,nt,gt,vt,It,_e){this.dialog=G,this.pricingService=nt,this.translate=gt,this.authService=vt,this.notifyService=It,this.dataEmpCpoService=_e,this.isTestDivScrolledIntoView=!0,this.dataSource=new t.by,this.displayedColumns=[{field:\"productID\",header:this.translate.instant(\"prod_id\"),customExportHeader:this.translate.instant(\"prod_id\")},{field:\"ragioneSociale\",header:this.translate.instant(\"operatore\"),customExportHeader:this.translate.instant(\"operatore\")},{field:\"eur_KWH\",header:this.translate.instant(\"quota_eurKWH\"),customExportHeader:this.translate.instant(\"eur_al\")},{field:\"eur_MIN\",header:this.translate.instant(\"quota_eurMin\"),customExportHeader:this.translate.instant(\"id_evse\")},{field:\"startingEur\",header:this.translate.instant(\"prezzo_start\"),customExportHeader:this.translate.instant(\"prezzo_start\")},{field:\"reservationCost\",header:this.translate.instant(\"prezzo_pren\"),customExportHeader:this.translate.instant(\"prezzo_pren\")},{field:\"parkingEur_MIN\",header:this.translate.instant(\"prezzo_parc\"),customExportHeader:this.translate.instant(\"prezzo_parc\")},{field:\"actions\",header:this.translate.instant(\"azioni\"),customExportHeader:this.translate.instant(\"id_transazione\")}],this.displayedColumnsAccess=[{field:\"productID\",header:this.translate.instant(\"prod_id\"),customExportHeader:this.translate.instant(\"prod_id\")},{field:\"ragioneSociale\",header:this.translate.instant(\"operatore\"),customExportHeader:this.translate.instant(\"operatore\")},{field:\"eur_KWH\",header:this.translate.instant(\"quota_eurKWH\"),customExportHeader:this.translate.instant(\"eur_al\")},{field:\"eur_MIN\",header:this.translate.instant(\"quota_eurMin\"),customExportHeader:this.translate.instant(\"visibilita\")},{field:\"startingEur\",header:this.translate.instant(\"prezzo_start\"),customExportHeader:this.translate.instant(\"prezzo_start\")},{field:\"reservationCost\",header:this.translate.instant(\"prezzo_pren\"),customExportHeader:this.translate.instant(\"prezzo_pren\")}],this.color=\"warn\",this.mode=\"indeterminate\",this.isLoading=!0,this.dataEmpCpo=JSON.parse(r().get(\"dataEmpCpo\",{decrypt:!0})),this.result=\"\"}isScrolledIntoView(){if(this.testDiv){const G=this.testDiv.nativeElement.getBoundingClientRect(),gt=G.bottom<=window.innerHeight;this.isTestDivScrolledIntoView=G.top>=0&>}}ngOnInit(){return(0,p.mG)(this,void 0,void 0,function*(){this.isLoading=!0,yield this.read().then(()=>{this.isLoading=!1})})}refreshPage(){return(0,p.mG)(this,void 0,void 0,function*(){yield this.read()})}read(){return(0,p.mG)(this,void 0,void 0,function*(){let G;this.isLoading=!0,G=this.dataEmpCpo.cpo.cpoGroup.subCpo;try{this.dataSource.data=yield this.pricingService.getAllProducts(G).toPromise()}catch(gt){console.log(\"Error \"+gt)}let nt=yield this.dataEmpCpoService.getAllRagioneSociale().toPromise();console.log(nt),this.dataSource.data.forEach(gt=>{nt.forEach(vt=>{gt.operatorID===vt.id&&(gt.ragioneSociale=vt.ragioneSociale)})}),this.selectedColumns=this.getDisplay(),this.isLoading=!1})}openGroup(G){this.dialog.open(A,{width:\"80vw\",data:{operatorID:G}}).afterClosed().toPromise().then(()=>this.read())}addPricing(){this.update=!1,this.dialog.open(i.e,{maxHeight:\"100vh\",minWidth:\"65vw\",disableClose:!0,data:{update:this.update,pricing:null,operatorID:null,isRoaming:!1,isOcpi:!1}}).afterClosed().toPromise().then(()=>this.read())}delete(G){try{this.pricingService.deleteProducts(G).toPromise().then(()=>{this.read(),this.notifyService.showSuccess(this.translate.instant(\"prezzo_del\"),this.translate.instant(\"ok\"))})}catch(nt){this.notifyService.showError(this.translate.instant(\"semplice_err\"),this.translate.instant(\"errore\")),console.error(nt.message)}}confirmDialog(G){console.log(G);const nt=this.translate.instant(\"del_prezzi\"),gt=new g.f(this.translate.instant(\"conf_az\"),nt);this.dialog.open(g.z,{maxWidth:\"400px\",data:gt}).afterClosed().subscribe(It=>{this.result=It,It&&this.delete(G)})}find(G){this.update=!0,this.dialog.open(i.e,{maxHeight:\"100vh\",minWidth:\"65vw\",disableClose:!0,data:{update:this.update,pricing:G,operatorID:null,isRoaming:!1}}).afterClosed().toPromise().then(()=>this.read())}permission(){var G;return null===(G=this.authService.user)||void 0===G?void 0:G.permissions}getDisplay(){return this.permission().includes(\"productAccessWrite\")?this.displayedColumns:this.displayedColumnsAccess}columnIsPresent(G){return this.getDisplay().some(nt=>nt.field===G)}clear(G){G.clear()}exportExcel(){Promise.resolve().then(c.bind(c,80574)).then(G=>{const gt={Sheets:{data:G.utils.json_to_sheet(this.dataSource.data)},SheetNames:[\"data\"]},vt=G.write(gt,{bookType:\"xlsx\",type:\"array\"});this.saveAsExcelFile(vt,\"product\")})}saveAsExcelFile(G,nt){const It=new Blob([G],{type:\"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet;charset=UTF-8\"});Z.saveAs(It,nt+\"_export_\"+(new Date).getTime()+\".xlsx\")}isScrollable(){return window.innerWidth>960}}return A.\\u0275fac=function(G){return new(G||A)(m.Y36(I.uw),m.Y36(B.f),m.Y36(W.sK),m.Y36(z.e),m.Y36(M.m),m.Y36(X.c))},A.\\u0275cmp=m.Xpm({type:A,selectors:[[\"app-product\"]],viewQuery:function(G,nt){if(1&G&&(m.Gf(F,5),m.Gf(u.NW,5),m.Gf(x.YE,5)),2&G){let gt;m.iGM(gt=m.CRH())&&(nt.testDiv=gt.first),m.iGM(gt=m.CRH())&&(nt.paginator=gt.first),m.iGM(gt=m.CRH())&&(nt.sort=gt.first)}},hostBindings:function(G,nt){1&G&&m.NdJ(\"scroll\",function(vt){return nt.isScrolledIntoView(vt)},!1,m.Jf7)},decls:29,vars:35,consts:[[1,\"content-body\"],[\"class\",\"loader-container\",4,\"ngIf\"],[1,\"container-fluid\",\"default-mt-btn\",\"default-mt-table\",\"default-mt-select\",\"default-autocomplete\",\"default-mt-spinner\"],[\"ngbDropdown\",\"\",1,\"d-inline-block\"],[1,\"float\"],[\"icon\",\"fas fa-plus\",\"type\",\"button\",\"pButton\",\"\",\"pRipple\",\"\",1,\"mr-2\",2,\"font-family\",\"'Baloo 2',serif\",\"font-size\",\"16px\",\"background-color\",\"white\",\"border-color\",\"#1ab394\",\"color\",\"#1ab394\",3,\"label\",\"click\"],[\"type\",\"button\",\"pButton\",\"\",\"pRipple\",\"\",\"icon\",\"fas fa-redo\",\"tooltipPosition\",\"bottom\",1,\"mr-2\",2,\"background-color\",\"white\",\"border-color\",\"black\",\"color\",\"black\",3,\"pTooltip\",\"click\"],[1,\"container-fluid\",\"default-mt-btn\",\"default-mt-table\",\"default-mt-select\",\"default-autocomplete\",\"default-mt-spinner\",2,\"padding-top\",\"0px\"],[2,\"padding-bottom\",\"1%\"],[1,\"row\"],[1,\"col-xl-12\",\"col-xxl-12\"],[1,\"card\"],[1,\"card-header\",\"d-block\"],[1,\"fs-32\",\"card-title\",\"left\",\"text-black\"],[1,\"card-body\",2,\"padding\",\"0\"],[\"dataKey\",\"productID\",\"stateStorage\",\"local\",\"stateKey\",\"stateTableProduct\",3,\"value\",\"rows\",\"showCurrentPageReport\",\"rowsPerPageOptions\",\"paginator\",\"reorderableColumns\",\"scrollable\",\"columns\",\"loading\",\"currentPageReportTemplate\",\"globalFilterFields\",\"exportHeader\"],[\"dt\",\"\"],[\"pTemplate\",\"caption\"],[\"pTemplate\",\"header\"],[\"pTemplate\",\"body\"],[\"pTemplate\",\"emptymessage\"],[1,\"loader-container\"],[1,\"flex\"],[\"type\",\"button\",\"pButton\",\"\",\"pRipple\",\"\",\"icon\",\"pi pi-file\",\"pTooltip\",\"CSV\",\"tooltipPosition\",\"bottom\",1,\"mr-2\",2,\"background-color\",\"white\",\"border-color\",\"#3B82F6\",\"color\",\"#3B82F6\",3,\"click\"],[\"type\",\"button\",\"pButton\",\"\",\"pRipple\",\"\",\"icon\",\"pi pi-file-excel\",\"pTooltip\",\"XLS\",\"tooltipPosition\",\"bottom\",1,\"mr-2\",2,\"background-color\",\"white\",\"border-color\",\"#22C55E\",\"color\",\"#22C55E\",3,\"click\"],[\"pButton\",\"\",\"label\",\"Clear\",\"icon\",\"pi pi-filter-slash\",1,\"p-button-outlined\",3,\"click\"],[\"optionLabel\",\"header\",1,\"mr-2\",3,\"options\",\"ngModel\",\"selectedItemsLabel\",\"placeholder\",\"ngModelChange\"],[2,\"margin-left\",\"auto\"],[1,\"p-input-icon-left\",\"ml-auto\"],[1,\"pi\",\"pi-search\"],[\"pInputText\",\"\",\"type\",\"text\",3,\"placeholder\",\"input\"],[\"style\",\"justify-content: center; width: 320px;\",\"pReorderableColumn\",\"\",3,\"pSortableColumn\",\"place-content\",4,\"ngFor\",\"ngForOf\"],[3,\"justify-content\",4,\"ngFor\",\"ngForOf\"],[\"pReorderableColumn\",\"\",2,\"justify-content\",\"center\",\"width\",\"320px\",3,\"pSortableColumn\"],[3,\"field\"],[3,\"ngSwitch\"],[\"type\",\"text\",\"field\",\"eur_KWH\",3,\"showMenu\",\"showClearButton\",\"display\",4,\"ngSwitchCase\"],[\"type\",\"text\",\"field\",\"eur_MIN\",3,\"showMenu\",\"showClearButton\",\"display\",4,\"ngSwitchCase\"],[\"type\",\"text\",\"field\",\"startingEur\",3,\"showMenu\",\"showClearButton\",\"display\",4,\"ngSwitchCase\"],[\"type\",\"text\",\"field\",\"reservationCost\",3,\"showMenu\",\"showClearButton\",\"display\",4,\"ngSwitchCase\"],[\"type\",\"text\",\"field\",\"parkingEur_MIN\",3,\"showMenu\",\"showClearButton\",\"display\",4,\"ngSwitchCase\"],[\"type\",\"text\",\"field\",\"actions\",3,\"showMenu\",\"showClearButton\",\"display\",4,\"ngSwitchCase\"],[\"type\",\"text\",3,\"showMenu\",\"showClearButton\",\"field\",\"width\",4,\"ngSwitchDefault\"],[\"type\",\"text\",\"field\",\"eur_KWH\",3,\"showMenu\",\"showClearButton\"],[\"type\",\"text\",\"field\",\"eur_MIN\",3,\"showMenu\",\"showClearButton\"],[\"type\",\"text\",\"field\",\"startingEur\",3,\"showMenu\",\"showClearButton\"],[\"type\",\"text\",\"field\",\"reservationCost\",3,\"showMenu\",\"showClearButton\"],[\"type\",\"text\",\"field\",\"parkingEur_MIN\",3,\"showMenu\",\"showClearButton\"],[\"type\",\"text\",\"field\",\"actions\",3,\"showMenu\",\"showClearButton\"],[\"type\",\"text\",3,\"showMenu\",\"showClearButton\",\"field\"],[4,\"ngFor\",\"ngForOf\"],[4,\"ngIf\"],[1,\"p-column-title\",2,\"font-weight\",\"bold\"],[4,\"ngSwitchCase\"],[4,\"ngSwitchDefault\"],[1,\"actions\"],[1,\"btn-toolbar\"],[1,\"btn-group\"],[\"type\",\"button\",\"pButton\",\"\",\"pRipple\",\"\",\"icon\",\"fas fa-pen\",\"tooltipPosition\",\"bottom\",1,\"mr-2\",2,\"background-color\",\"white\",\"border-color\",\"#1C84C6\",\"color\",\"#1C84C6\",3,\"pTooltip\",\"click\"],[\"type\",\"button\",\"pButton\",\"\",\"pRipple\",\"\",\"icon\",\"fas fa-trash\",\"tooltipPosition\",\"bottom\",1,\"mr-2\",2,\"background-color\",\"white\",\"border-color\",\"red\",\"color\",\"red\",3,\"pTooltip\",\"click\"],[\"colspan\",\"21\"]],template:function(G,nt){1&G&&(m.TgZ(0,\"div\",0),m.YNc(1,K,2,0,\"div\",1),m.TgZ(2,\"div\",2),m.TgZ(3,\"div\",3),m.TgZ(4,\"div\",4),m.TgZ(5,\"button\",5),m.NdJ(\"click\",function(){return nt.addPricing()}),m.ALo(6,\"translate\"),m.qZA(),m.TgZ(7,\"button\",6),m.NdJ(\"click\",function(){return nt.refreshPage()}),m.ALo(8,\"translate\"),m.qZA(),m.qZA(),m.qZA(),m.qZA(),m.TgZ(9,\"div\",7),m._UZ(10,\"div\",8),m.TgZ(11,\"div\",9),m.TgZ(12,\"div\",10),m.TgZ(13,\"div\",11),m.TgZ(14,\"div\",12),m.TgZ(15,\"h4\",13),m._uU(16),m.ALo(17,\"translate\"),m.qZA(),m.qZA(),m.TgZ(18,\"div\",14),m.TgZ(19,\"p-table\",15,16),m.ALo(21,\"translate\"),m.ALo(22,\"translate\"),m.ALo(23,\"translate\"),m.ALo(24,\"translate\"),m.YNc(25,H,14,14,\"ng-template\",17),m.YNc(26,Mt,4,2,\"ng-template\",18),m.YNc(27,Y,2,1,\"ng-template\",19),m.YNc(28,rt,4,3,\"ng-template\",20),m.qZA(),m.qZA(),m.qZA(),m.qZA(),m.qZA(),m.qZA(),m.qZA()),2&G&&(m.xp6(1),m.Q6J(\"ngIf\",nt.isLoading),m.xp6(4),m.s9C(\"label\",m.lcZ(6,19,\"aggiungi_prod\")),m.xp6(2),m.s9C(\"pTooltip\",m.lcZ(8,21,\"aggiorna\")),m.xp6(9),m.Oqu(m.lcZ(17,23,\"prods\")),m.xp6(3),m.FAE(\"currentPageReportTemplate\",\"\",m.lcZ(21,25,\"showing\"),\" {first} \",m.lcZ(22,27,\"to\"),\" {last} \",m.lcZ(23,29,\"of\"),\" {totalRecords} \",m.lcZ(24,31,\"entries\"),\"\"),m.Q6J(\"value\",nt.dataSource.data)(\"rows\",10)(\"showCurrentPageReport\",!0)(\"rowsPerPageOptions\",m.DdM(33,ut))(\"paginator\",!0)(\"reorderableColumns\",!0)(\"scrollable\",nt.isScrollable())(\"columns\",nt.selectedColumns)(\"loading\",nt.isLoading)(\"globalFilterFields\",m.DdM(34,w))(\"exportHeader\",\"customExportHeader\"))},directives:[j.O5,pt.jt,N.Hq,C.H,l.u,O.iA,T.jx,k.g,b.NU,et.JJ,et.On,U.o,j.sg,O.Af,O.lQ,O.fz,j.RF,j.n9,j.ED,O.xl],pipes:[W.X$],styles:[\"table[_ngcontent-%COMP%], .full[_ngcontent-%COMP%]{width:100%}.flex[_ngcontent-%COMP%]{display:flex}[_nghost-%COMP%] .mat-sort-header-container{display:flex;justify-content:center;padding-left:18px}.header-cell[_ngcontent-%COMP%], td[_ngcontent-%COMP%], th[_ngcontent-%COMP%]{text-align:center;align-items:center;justify-content:center}.top[_ngcontent-%COMP%]{padding-bottom:2em}tr.example-detail-row[_ngcontent-%COMP%]{height:0}tr.example-element-row[_ngcontent-%COMP%]:not(.example-expanded-row):hover{background:whitesmoke}tr.example-element-row[_ngcontent-%COMP%]:not(.example-expanded-row):active{background:#efefef}.example-element-row[_ngcontent-%COMP%] td[_ngcontent-%COMP%]{border-bottom-width:0}.example-element-detail[_ngcontent-%COMP%]{overflow:hidden;display:flex}.left[_ngcontent-%COMP%]{float:left;font-size:2vw}.btn-toolbar[_ngcontent-%COMP%]{display:inline;flex-wrap:wrap;justify-content:flex-start}.actions[_ngcontent-%COMP%]{padding-top:1em;padding-bottom:1em}@media (max-width: 1090px){.mat-table[matTableResponsive][_ngcontent-%COMP%] .mat-header-row[_ngcontent-%COMP%]{display:block;flex-wrap:wrap;height:auto;position:sticky;top:0;z-index:2}.mat-table[matTableResponsive][_ngcontent-%COMP%] .mat-header-row[_ngcontent-%COMP%] th.mat-header-cell[_ngcontent-%COMP%]{display:none;flex:1;align-items:center;padding:1rem .5rem;justify-content:left}.mat-table[matTableResponsive][_ngcontent-%COMP%] .mat-header-row[_ngcontent-%COMP%] th.mat-header-cell[_ngcontent-%COMP%] > .mat-sort-header-container[_ngcontent-%COMP%]{padding-left:15px}.mat-table[matTableResponsive][_ngcontent-%COMP%] .mat-header-row[_ngcontent-%COMP%] th.mat-header-cell[_ngcontent-%COMP%]:not([mat-sort-header]), .mat-table[matTableResponsive][_ngcontent-%COMP%] .mat-header-row[_ngcontent-%COMP%] th.mat-header-cell.mat-sort-header-disabled[_ngcontent-%COMP%], .mat-table[matTableResponsive][_ngcontent-%COMP%] .mat-header-row[_ngcontent-%COMP%] th.mat-header-cell.mat-column-actions[_ngcontent-%COMP%]{display:none}.mat-table[matTableResponsive][_ngcontent-%COMP%] .mat-row[_ngcontent-%COMP%]{height:auto}.mat-table[matTableResponsive][_ngcontent-%COMP%] .mat-row[_ngcontent-%COMP%] td.mat-cell[_ngcontent-%COMP%]:not(.mat-column-actions){display:grid;grid-template-columns:50% 50%;padding:.5rem;text-align:right;word-break:break-word}.mat-table[matTableResponsive][_ngcontent-%COMP%] .mat-row[_ngcontent-%COMP%] td.mat-cell[_ngcontent-%COMP%]:not(.mat-column-actions) > *[_ngcontent-%COMP%]{grid-column:2}.mat-table[matTableResponsive][_ngcontent-%COMP%] .mat-row[_ngcontent-%COMP%] td.mat-cell[_ngcontent-%COMP%]:not(.mat-column-actions):before{content:attr(data-column-name);text-align:left}.mat-table[matTableResponsive][_ngcontent-%COMP%] .mat-row[_ngcontent-%COMP%] td.mat-column-actions[_ngcontent-%COMP%]{display:flex;justify-content:center;padding:0 .5rem}.mat-table[matTableResponsive][_ngcontent-%COMP%] .mat-row[_ngcontent-%COMP%] td.mat-column-actions[_ngcontent-%COMP%] > button[_ngcontent-%COMP%]{margin:.5rem 0}.mat-table[matTableResponsive][_ngcontent-%COMP%] .mat-row[_ngcontent-%COMP%]:last-of-type td[_ngcontent-%COMP%]:last-of-type{border:none}.mat-table[matTableResponsive][_ngcontent-%COMP%] .mat-row[_ngcontent-%COMP%]:not(:last-of-type) td[_ngcontent-%COMP%]:last-of-type{border-bottom:.5rem solid #6C757D}.mat-card[_ngcontent-%COMP%] .mat-table[matTableResponsive][_ngcontent-%COMP%], .mat-expansion-panel[_ngcontent-%COMP%] .mat-table[matTableResponsive][_ngcontent-%COMP%]{border:.5rem solid #6C757D}}.loader-container[_ngcontent-%COMP%]{position:fixed;top:50%;left:50%;z-index:9999}\"],data:{animation:[(0,_.X$)(\"detailExpand\",[(0,_.SB)(\"collapsed\",(0,_.oB)({height:\"0px\",minHeight:\"0\"})),(0,_.SB)(\"expanded\",(0,_.oB)({height:\"*\"})),(0,_.eR)(\"expanded <=> collapsed\",(0,_.jt)(\"225ms cubic-bezier(0.4, 0.0, 0.2, 1)\"))])]}}),A})()},47082:(st,J,c)=>{\"use strict\";c.d(J,{g:()=>t});var p=c(37716);let t=(()=>{class u{constructor(){}ngOnInit(){}}return u.\\u0275fac=function(x){return new(x||u)},u.\\u0275cmp=p.Xpm({type:u,selectors:[[\"app-loading-screen\"]],decls:5,vars:0,consts:[[\"viewBox\",\"0 0 240 240\",\"height\",\"240\",\"width\",\"240\",1,\"pl\"],[\"stroke-linecap\",\"round\",\"stroke-dashoffset\",\"-330\",\"stroke-dasharray\",\"0 660\",\"stroke-width\",\"20\",\"stroke\",\"#000\",\"fill\",\"none\",\"r\",\"105\",\"cy\",\"120\",\"cx\",\"120\",1,\"pl__ring\",\"pl__ring--a\"],[\"stroke-linecap\",\"round\",\"stroke-dashoffset\",\"-110\",\"stroke-dasharray\",\"0 220\",\"stroke-width\",\"20\",\"stroke\",\"#000\",\"fill\",\"none\",\"r\",\"35\",\"cy\",\"120\",\"cx\",\"120\",1,\"pl__ring\",\"pl__ring--b\"],[\"stroke-linecap\",\"round\",\"stroke-dasharray\",\"0 440\",\"stroke-width\",\"20\",\"stroke\",\"#000\",\"fill\",\"none\",\"r\",\"70\",\"cy\",\"120\",\"cx\",\"85\",1,\"pl__ring\",\"pl__ring--c\"],[\"stroke-linecap\",\"round\",\"stroke-dasharray\",\"0 440\",\"stroke-width\",\"20\",\"stroke\",\"#000\",\"fill\",\"none\",\"r\",\"70\",\"cy\",\"120\",\"cx\",\"155\",1,\"pl__ring\",\"pl__ring--d\"]],template:function(x,g){1&x&&(p.O4$(),p.TgZ(0,\"svg\",0),p._UZ(1,\"circle\",1),p._UZ(2,\"circle\",2),p._UZ(3,\"circle\",3),p._UZ(4,\"circle\",4),p.qZA())},styles:[\".pl[_ngcontent-%COMP%]{width:6em;height:6em}.pl__ring[_ngcontent-%COMP%]{animation:ringA 2s linear infinite}.pl__ring--a[_ngcontent-%COMP%]{stroke:#4b3275}.pl__ring--b[_ngcontent-%COMP%]{animation-name:ringB;stroke:#86af4e}.pl__ring--c[_ngcontent-%COMP%]{animation-name:ringC;stroke:#95c121}.pl__ring--d[_ngcontent-%COMP%]{animation-name:ringD;stroke:#654a98}@keyframes ringA{0%,4%{stroke-dasharray:0 660;stroke-width:20;stroke-dashoffset:-330}12%{stroke-dasharray:60 600;stroke-width:30;stroke-dashoffset:-335}32%{stroke-dasharray:60 600;stroke-width:30;stroke-dashoffset:-595}40%,54%{stroke-dasharray:0 660;stroke-width:20;stroke-dashoffset:-660}62%{stroke-dasharray:60 600;stroke-width:30;stroke-dashoffset:-665}82%{stroke-dasharray:60 600;stroke-width:30;stroke-dashoffset:-925}90%,to{stroke-dasharray:0 660;stroke-width:20;stroke-dashoffset:-990}}@keyframes ringB{0%,12%{stroke-dasharray:0 220;stroke-width:20;stroke-dashoffset:-110}20%{stroke-dasharray:20 200;stroke-width:30;stroke-dashoffset:-115}40%{stroke-dasharray:20 200;stroke-width:30;stroke-dashoffset:-195}48%,62%{stroke-dasharray:0 220;stroke-width:20;stroke-dashoffset:-220}70%{stroke-dasharray:20 200;stroke-width:30;stroke-dashoffset:-225}90%{stroke-dasharray:20 200;stroke-width:30;stroke-dashoffset:-305}98%,to{stroke-dasharray:0 220;stroke-width:20;stroke-dashoffset:-330}}@keyframes ringC{0%{stroke-dasharray:0 440;stroke-width:20;stroke-dashoffset:0}8%{stroke-dasharray:40 400;stroke-width:30;stroke-dashoffset:-5}28%{stroke-dasharray:40 400;stroke-width:30;stroke-dashoffset:-175}36%,58%{stroke-dasharray:0 440;stroke-width:20;stroke-dashoffset:-220}66%{stroke-dasharray:40 400;stroke-width:30;stroke-dashoffset:-225}86%{stroke-dasharray:40 400;stroke-width:30;stroke-dashoffset:-395}94%,to{stroke-dasharray:0 440;stroke-width:20;stroke-dashoffset:-440}}@keyframes ringD{0%,8%{stroke-dasharray:0 440;stroke-width:20;stroke-dashoffset:0}16%{stroke-dasharray:40 400;stroke-width:30;stroke-dashoffset:-5}36%{stroke-dasharray:40 400;stroke-width:30;stroke-dashoffset:-175}44%,50%{stroke-dasharray:0 440;stroke-width:20;stroke-dashoffset:-220}58%{stroke-dasharray:40 400;stroke-width:30;stroke-dashoffset:-225}78%{stroke-dasharray:40 400;stroke-width:30;stroke-dashoffset:-395}86%,to{stroke-dasharray:0 440;stroke-width:20;stroke-dashoffset:-440}}\"]}),u})()},62761:(st,J,c)=>{\"use strict\";c.d(J,{G:()=>C});var p=c(97582),t=c(26457),u=c(3679),_=c(10834),x=c(64841),g=c.n(x),i=c(37716),f=c(72342),r=c(22238),Z=c(63423),q=c(38583),m=c(93264),I=c(29790),B=c(61381),W=c(47082);const z=[\"search\"];function M(l,O){1&l&&(i.TgZ(0,\"div\",19),i._UZ(1,\"app-loading-screen\"),i.qZA())}function X(l,O){if(1&l){const T=i.EpF();i.TgZ(0,\"div\"),i.TgZ(1,\"agm-marker\",21),i.NdJ(\"markerClick\",function(){const et=i.CHM(T).$implicit;return i.oxw(2).detailCard(et)}),i.qZA(),i.qZA()}if(2&l){const T=O.$implicit,k=i.oxw(2);i.xp6(1),i.Q6J(\"iconUrl\",k.choseMarker(T))(\"latitude\",T.position.y)(\"longitude\",T.position.x)}}function j(l,O){if(1&l&&(i.TgZ(0,\"div\"),i.YNc(1,X,2,3,\"div\",20),i.qZA()),2&l){const T=i.oxw();i.xp6(1),i.Q6J(\"ngForOf\",T.listFiltered)}}function pt(l,O){if(1&l){const T=i.EpF();i.TgZ(0,\"div\"),i.TgZ(1,\"agm-marker\",21),i.NdJ(\"markerClick\",function(){const et=i.CHM(T).$implicit;return i.oxw(2).detailCard(et)}),i.qZA(),i.qZA()}if(2&l){const T=O.$implicit,k=i.oxw(2);i.xp6(1),i.Q6J(\"iconUrl\",k.choseMarker(T))(\"latitude\",T.position.y)(\"longitude\",T.position.x)}}function N(l,O){if(1&l&&(i.TgZ(0,\"div\"),i.YNc(1,pt,2,3,\"div\",20),i.qZA()),2&l){const T=i.oxw();i.xp6(1),i.Q6J(\"ngForOf\",T.listCp)}}let C=(()=>{class l{constructor(T,k,b,et,U,F,K,v,H){this.mapsAPILoader=T,this.ngZone=k,this.cpService=b,this.dialog=et,this.router=U,this.location=F,this.route=K,this.homeService=v,this.translate=H,this.isLoading=!0,this.startPosition={lat:42.102782,lng:12.496366},this.zoom=6,this.listFiltered=[],this.listTs=[],this.listCp=[],this.mapLoaded=!1,this.dataEmpCpo=JSON.parse(g().get(\"dataEmpCpo\",{decrypt:!0})),this.geoCoder=new google.maps.Geocoder,this.OnlyOne=!1,this.showDetail=!1,this.cpDetail=[],this.pageIndex=0,this.size=100,this.statusChosen=new u.NI,this.statusList=[\"Available\",\"Unavailable\",\"Preparing\",\"Charging\",\"SuspendedEV\",\"Finishing\",\"Reserved\",\"Faulted\",\"SuspendedEVSE\"]}ngOnInit(){return(0,p.mG)(this,void 0,void 0,function*(){this.isLoading=!0,yield this.loadHome().then(()=>{this.isLoading=!1})})}choseMarker(T){let k;if(T&&void 0!==T.markerType){if(\"HIGHWAY\"==T.markerType)switch(T.status){case\"Available\":k=\"/assets/images/markerStazioni/Autostrada/marker-autostrada-map.png\";break;case\"Unavailable\":k=\"/assets/images/markerStazioni/Autostrada/marker-autostrada-unavailable.png\";break;case\"Charging\":k=\"/assets/images/markerStazioni/Autostrada/marker-autostrada-charging.png\";break;case\"Reserved\":k=\"/assets/images/markerStazioni/Autostrada/marker-autostrada-reserved.png\"}else if(\"MICROMOBILITY\"==T.markerType)switch(T.status){case\"Available\":k=\"/assets/images/markerStazioni/Ebike/marker-ebike-map.png\";break;case\"Unavailable\":k=\"/assets/images/markerStazioni/Ebike/marker-ebike-unavailable.png\";break;case\"Charging\":k=\"/assets/images/markerStazioni/Ebike/marker-ebike-charging.png\";break;case\"Reserved\":k=\"/assets/images/markerStazioni/Ebike/marker-ebike-reserved.png\"}else if(\"EBOAT\"==T.markerType)switch(T.status){case\"Available\":k=\"/assets/images/markerStazioni/Eboat/marker-eboat-map.png\";break;case\"Unavailable\":k=\"/assets/images/markerStazioni/Eboat/marker-eboat-unavailable.png\";break;case\"Charging\":k=\"/assets/images/markerStazioni/Eboat/marker-eboat-charging.png\";break;case\"Reserved\":k=\"/assets/images/markerStazioni/Eboat/marker-eboat-reserved.png\"}else if(\"HOTEL\"==T.markerType)switch(T.status){case\"Available\":k=\"/assets/images/markerStazioni/Hotel/marker-hotel-map.png\";break;case\"Unavailable\":k=\"/assets/images/markerStazioni/Hotel/marker-hotel-unavailable.png\";break;case\"Charging\":k=\"/assets/images/markerStazioni/Hotel/marker-hotel-charging.png\";break;case\"Reserved\":k=\"/assets/images/markerStazioni/Hotel/marker-hotel-reserved.png\"}else if(\"RESTAURANT\"==T.markerType)switch(T.status){case\"Available\":k=\"/assets/images/markerStazioni/Restaurant/marker-ristorante-map.png\";break;case\"Unavailable\":k=\"/assets/images/markerStazioni/Restaurant/marker-ristorante-unavailable.png\";break;case\"Charging\":k=\"/assets/images/markerStazioni/Restaurant/marker-ristorante-charging.png\";break;case\"Reserved\":k=\"/assets/images/markerStazioni/Restaurant/marker-ristorante-reserved.png\"}else if(\"DEFAULT\"==T.markerType)switch(k=\"/assets/images/markerStazioni/Traditional/marker-tradizionale-map.png\",T.status){case\"Available\":k=\"/assets/images/markerStazioni/Traditional/marker-tradizionale-map.png\";break;case\"Unavailable\":k=\"/assets/images/markerStazioni/Traditional/marker-tradizionale-unavailable.png\";break;case\"Charging\":k=\"/assets/images/markerStazioni/Traditional/marker-tradizionale-charging.png\";break;case\"Reserved\":k=\"/assets/images/markerStazioni/Traditional/marker-tradizionale-reserved.png\"}}else switch(T.status){case\"Available\":k=\"/assets/images/markerStazioni/Traditional/marker-tradizionale-map.png\";break;case\"Unavailable\":k=\"/assets/images/markerStazioni/Traditional/marker-tradizionale-unavailable.png\";break;case\"Charging\":k=\"/assets/images/markerStazioni/Traditional/marker-tradizionale-charging.png\";break;case\"Reserved\":k=\"/assets/images/markerStazioni/Traditional/marker-tradizionale-reserved.png\"}return k}loadHome(){return(0,p.mG)(this,void 0,void 0,function*(){this.isLoading=!0,this.isAdmin()?(this.statisticConnector=yield this.homeService.statsConnectorAdmin().toPromise(),this.statVisibilityCP=yield this.homeService.getStatsWhenCPisPuborPrivateforAdmin().toPromise(),console.log(this.statisticConnector)):(this.statisticConnector=yield this.homeService.statsConnector(this.dataEmpCpo.id).toPromise(),this.statVisibilityCP=yield this.homeService.getStatsWhenCPisPuborPrivate(this.dataEmpCpo.id).toPromise(),console.log(this.statisticConnector)),this.getMyPosition(),this.graphForStateConnector(),this.graphForConnectorPrivate(),this.mapLoaded=!0,this.isLoading=!1})}searchOnMap(){this.OnlyOne||this.mapsAPILoader.load().then(()=>{this.setCurrentPosition(),this.geoCoder=new google.maps.Geocoder;let T=new google.maps.places.Autocomplete(this.searchElementRef.nativeElement);console.log(T),T.addListener(\"place_changed\",()=>{this.ngZone.run(()=>{let k=T.getPlace();null==k.geometry||(this.startPosition.lat=k.geometry.location.lat(),this.startPosition.lng=k.geometry.location.lng(),this.zoom=12)})})}),this.OnlyOne=!0}getMyPosition(){return(0,p.mG)(this,void 0,void 0,function*(){this.isAdmin()?(this.listTs=yield this.cpService.getAllCpsNP().toPromise(),this.listFiltered=this.listTs):this.isCpo()&&(this.listCp=yield this.cpService.getCpoAll(g().get(\"cpo\",{decrypt:!0}),0,999999999,\"\").toPromise())})}setCurrentPosition(){\"geolocation\"in navigator&&navigator.geolocation.getCurrentPosition(T=>{this.startPosition.lat=T.coords.latitude,this.startPosition.lng=T.coords.longitude,this.zoom=6})}isAdmin(){return\"ADMIN\"===g().get(\"userRole\",{decrypt:!0})}isCpo(){return\"CPO\"===g().get(\"userRole\",{decrypt:!0})}detailCard(T){return(0,p.mG)(this,void 0,void 0,function*(){this.statusChosen.setValue(this.statusList),this.cpDetail=null,this.tSDetail=null,console.log(T),this.getAddress(T.position.y,T.position.x),this.showDetail=!0,this.dialog.open(_.u,{maxWidth:\"400px\",panelClass:\"removePadding\",data:{cP:T,isGuest:!1}})})}getAddress(T,k){let b=\"Non presente\";return this.geoCoder.geocode({location:{lat:Number(T),lng:Number(k)}},(et,U)=>{\"OK\"===U&&(et[0]?b=et[0].formatted_address:(this.getAddress(T,k),window.alert(\"No results found\")))}),b}cpCard(){return null!=this.cpDetail}tsCard(){return null!=this.tSDetail}closeDetail(){this.showDetail=!1,this.tSDetail=null,this.cpDetail=null}navigate(T){if(this.isAdmin)switch(T){case\"subcpo\":case\"mainCPO\":case\"mainEMP\":break;default:this.router.navigate([T],{relativeTo:this.route})}}path(){return\"/management/emp\"==this.location.path()?1:\"/management/cpo\"==this.location.path()?2:\"/management/cpms\"==this.location.path()?3:void 0}viewIcon(){return window.innerWidth>960}graphForStateConnector(){console.log(Object.keys(this.statisticConnector)),console.log(Object.values(this.statisticConnector)),console.log(this.statisticConnector),this.dataStateConnector={labels:[this.translate.instant(\"Available\"),this.translate.instant(\"Unavailable\"),this.translate.instant(\"Faulted\"),this.translate.instant(\"Charging\"),this.translate.instant(\"Reserved\")],datasets:[{data:Object.values(this.statisticConnector),backgroundColor:[\"#22C55EFF\",\"#EF4444FF\",\"#F29F1DFF\",\"#3B82F6FF\",\"#85429AFF\"],hoverBackgroundColor:[\"#22C55EFF\",\"#EF4444FF\",\"#F29F1DFF\",\"#3B82F6FF\",\"#85429AFF\"]}]},console.log(this.dataStateConnector),this.optionsStateConnector={responsive:!0,plugins:{legend:{labels:{usePointStyle:!0,color:\"#222121\"}}}}}graphForConnectorPrivate(){console.log(Object.keys(this.statVisibilityCP)),console.log(Object.values(this.statVisibilityCP)),console.log(this.statVisibilityCP),this.dataConnectorPrivate={labels:[this.translate.instant(\"Privato\"),this.translate.instant(\"Pubblico\")],datasets:[{data:Object.values(this.statVisibilityCP),backgroundColor:[\"#85429AFF\",\"#3B82F6FF\"],hoverBackgroundColor:[\"#85429AFF\",\"#3B82F6FF\"]}]},this.optionsConnectorPrivate={responsive:!0,cutout:\"60%\",plugins:{legend:{display:!0,labels:{color:\"#222121\"}}}}}}return l.\\u0275fac=function(T){return new(T||l)(i.Y36(t.W7),i.Y36(i.R0b),i.Y36(f.K),i.Y36(r.uw),i.Y36(Z.F0),i.Y36(q.Ye),i.Y36(Z.gz),i.Y36(m.Y),i.Y36(I.sK))},l.\\u0275cmp=i.Xpm({type:l,selectors:[[\"app-map\"]],viewQuery:function(T,k){if(1&T&&(i.Gf(t.SA,5),i.Gf(z,5)),2&T){let b;i.iGM(b=i.CRH())&&(k.agmMap=b.first),i.iGM(b=i.CRH())&&(k.searchElementRef=b.first)}},decls:27,vars:21,consts:[[1,\"content-body\"],[\"class\",\"loading\",4,\"ngIf\"],[1,\"container-fluid\",3,\"hidden\"],[1,\"gridMapAndCard\"],[1,\"div1\",\"card\"],[1,\"map\"],[1,\"group\"],[\"aria-hidden\",\"true\",\"viewBox\",\"0 0 24 24\",1,\"icon-Search\"],[\"d\",\"M21.53 20.47l-3.66-3.66C19.195 15.24 20 13.214 20 11c0-4.97-4.03-9-9-9s-9 4.03-9 9 4.03 9 9 9c2.215 0 4.24-.804 5.808-2.13l3.66 3.66c.147.146.34.22.53.22s.385-.073.53-.22c.295-.293.295-.767.002-1.06zM3.5 11c0-4.135 3.365-7.5 7.5-7.5s7.5 3.365 7.5 7.5-3.365 7.5-7.5 7.5-7.5-3.365-7.5-7.5z\"],[\"type\",\"search\",\"autocorrect\",\"off\",\"autocapitalize\",\"off\",\"spellcheck\",\"off\",1,\"input\",3,\"placeholder\",\"keyup\"],[\"search\",\"\"],[1,\"center\",2,\"border-radius\",\"10%\"],[3,\"zoom\",\"latitude\",\"longitude\",\"scrollwheel\"],[4,\"ngIf\"],[1,\"div2\",\"card\"],[1,\"card-title\"],[\"type\",\"pie\",3,\"data\",\"options\"],[1,\"div3\",\"card\"],[\"type\",\"doughnut\",3,\"data\",\"options\"],[1,\"loading\"],[4,\"ngFor\",\"ngForOf\"],[3,\"iconUrl\",\"latitude\",\"longitude\",\"markerClick\"]],template:function(T,k){1&T&&(i.TgZ(0,\"div\",0),i.YNc(1,M,2,0,\"div\",1),i.TgZ(2,\"div\",2),i.TgZ(3,\"div\",3),i.TgZ(4,\"div\",4),i.TgZ(5,\"div\",5),i.TgZ(6,\"div\",6),i.O4$(),i.TgZ(7,\"svg\",7),i.TgZ(8,\"g\"),i._UZ(9,\"path\",8),i.qZA(),i.qZA(),i.kcU(),i.TgZ(10,\"input\",9,10),i.NdJ(\"keyup\",function(){return k.searchOnMap()}),i.ALo(12,\"translate\"),i.qZA(),i.qZA(),i.TgZ(13,\"div\",11),i.TgZ(14,\"agm-map\",12),i.YNc(15,j,2,1,\"div\",13),i.YNc(16,N,2,1,\"div\",13),i.qZA(),i.qZA(),i.qZA(),i.qZA(),i.TgZ(17,\"div\",14),i.TgZ(18,\"div\",15),i._uU(19),i.ALo(20,\"translate\"),i.qZA(),i._UZ(21,\"p-chart\",16),i.qZA(),i.TgZ(22,\"div\",17),i.TgZ(23,\"div\",15),i._uU(24),i.ALo(25,\"translate\"),i.qZA(),i._UZ(26,\"p-chart\",18),i.qZA(),i.qZA(),i.qZA(),i.qZA()),2&T&&(i.xp6(1),i.Q6J(\"ngIf\",k.isLoading),i.xp6(1),i.Q6J(\"hidden\",k.isLoading),i.xp6(8),i.s9C(\"placeholder\",i.lcZ(12,15,\"cerca_mappa\")),i.xp6(4),i.Q6J(\"zoom\",k.zoom)(\"latitude\",k.startPosition.lat)(\"longitude\",k.startPosition.lng)(\"scrollwheel\",null),i.xp6(1),i.Q6J(\"ngIf\",k.isAdmin()),i.xp6(1),i.Q6J(\"ngIf\",k.isCpo()),i.xp6(3),i.Oqu(i.lcZ(20,17,\"Stato dei connettori\")),i.xp6(2),i.Q6J(\"data\",k.dataStateConnector)(\"options\",k.optionsStateConnector),i.xp6(3),i.Oqu(i.lcZ(25,19,\"Visibilit\\xe0 delle colonnine\")),i.xp6(2),i.Q6J(\"data\",k.dataConnectorPrivate)(\"options\",k.optionsConnectorPrivate))},directives:[q.O5,t.SA,B.C,W.g,q.sg,t.pt],pipes:[I.X$],styles:[\".content-body[_ngcontent-%COMP%]{padding-bottom:10px}.padding[_ngcontent-%COMP%]{padding-left:40px}.positionConnector[_ngcontent-%COMP%]{position:absolute;right:0;top:21px}.padding-body[_ngcontent-%COMP%]{padding-right:16%}.card-body[_ngcontent-%COMP%]{padding:1rem}agm-map-container-inner[_ngcontent-%COMP%]{border-radius:10%}.gridMapAndCard[_ngcontent-%COMP%]{display:grid;grid-template-columns:1.5fr .5fr;grid-template-rows:repeat(2,1fr);grid-column-gap:0;grid-row-gap:0;grid-gap:3%;gap:3%}.div1[_ngcontent-%COMP%]{grid-area:1/1/3/2;padding:2%}.div2[_ngcontent-%COMP%]{grid-area:1/2/2/3}.div3[_ngcontent-%COMP%]{grid-area:2/2/3/3}agm-map[_ngcontent-%COMP%]{width:100%;height:780px;position:relative;z-index:1}.removePadding[_ngcontent-%COMP%] mat-dialog-container[_ngcontent-%COMP%]{padding:1px!important}.click[_ngcontent-%COMP%]{cursor:pointer}.header-cell[_ngcontent-%COMP%], td[_ngcontent-%COMP%], th[_ngcontent-%COMP%]{text-align:center;align-items:center;justify-content:center}.carddescription[_ngcontent-%COMP%]{font-weight:bold}.card[_ngcontent-%COMP%]{padding:5%}.center[_ngcontent-%COMP%]{align-items:center;justify-content:center;display:flex}.map[_ngcontent-%COMP%]{width:100%;height:-moz-fit-content;height:fit-content}.blueMapBar[_ngcontent-%COMP%]{width:100%;background-color:#e0ffff;height:8%;position:relative;z-index:9}button[_ngcontent-%COMP%]:active, .bCerca[_ngcontent-%COMP%]:focus{border-style:outset;border:1px solid lightseagreen;outline:none}.bCerca[_ngcontent-%COMP%]{height:30px;border:none;border-radius:3px;background-color:#20b2aa;color:#fff}.cerca[_ngcontent-%COMP%]{bottom:13.5%;position:absolute;z-index:10}.grid[_ngcontent-%COMP%]{display:grid;grid-gap:1rem;gap:1rem;grid-template-columns:repeat(auto-fit,minmax(250px,1fr))}.mapTitle[_ngcontent-%COMP%]{margin-top:20px;position:relative;z-index:10}.second[_ngcontent-%COMP%]{border-spacing:0;border:2px solid #0099cc;width:100%;height:100%;font-size:20px;background-color:#fff;top:0;left:0;overflow:hidden;position:relative}small[_ngcontent-%COMP%]{font-size:13px}.blue[_ngcontent-%COMP%]{background-color:#3f5af5!important;border-radius:150px;padding:7px;width:164px;height:164px;margin:0 auto}.orange[_ngcontent-%COMP%]{background-color:#f58e07!important;border-radius:150px;padding:7px;width:164px;height:164px;margin:0 auto}.grey[_ngcontent-%COMP%]{background-color:#8b8b8b!important;border-radius:150px;padding:7px;width:164px;height:164px;margin:0 auto}.green[_ngcontent-%COMP%]{background-color:#accc3f!important;border-radius:150px;padding:7px;width:164px;height:164px;margin:0 auto}.azzurro[_ngcontent-%COMP%]{background-color:#3195cd!important;border-radius:150px;padding:7px;width:164px;height:164px;margin:0 auto}.onlineCon[_ngcontent-%COMP%]{box-shadow:0 4px 5px 5px #08a000}.offlineCon[_ngcontent-%COMP%]{box-shadow:0 4px 5px 5px #df2100}.chargingCon[_ngcontent-%COMP%]{box-shadow:0 4px 5px 5px #c5b913}.reservedCon[_ngcontent-%COMP%]{box-shadow:0 4px 5px 5px #0d1994}.custom-num-text[_ngcontent-%COMP%]{font-size:2vw}.bg[_ngcontent-%COMP%]{background-color:#9f6!important}.group[_ngcontent-%COMP%]{padding-bottom:13px;display:flex;line-height:28px;align-items:center;position:relative;max-width:289px}.input[_ngcontent-%COMP%]{width:100%;height:40px;line-height:28px;padding:0 1rem 0 2.5rem;border:2px solid transparent;border-radius:8px;outline:none;background-color:#f3f3f4;color:#0d0c22;transition:.3s ease}.input[_ngcontent-%COMP%]::placeholder{color:#9e9ea7}.input[_ngcontent-%COMP%]:focus, input[_ngcontent-%COMP%]:hover{outline:none;border-color:#4d363e66;background-color:#fff;box-shadow:0 0 0 4px #ea4c891a}.icon-Search[_ngcontent-%COMP%]{position:absolute;left:1rem;fill:#9e9ea7;width:1rem;height:1rem}input[type=color][_ngcontent-%COMP%], input[type=date][_ngcontent-%COMP%], input[type=datetime][_ngcontent-%COMP%], input[type=datetime-local][_ngcontent-%COMP%], input[type=email][_ngcontent-%COMP%], input[type=month][_ngcontent-%COMP%], input[type=number][_ngcontent-%COMP%], input[type=password][_ngcontent-%COMP%], input[type=search][_ngcontent-%COMP%], input[type=tel][_ngcontent-%COMP%], input[type=text][_ngcontent-%COMP%], input[type=time][_ngcontent-%COMP%], input[type=url][_ngcontent-%COMP%], input[type=week][_ngcontent-%COMP%], select[_ngcontent-%COMP%]:focus, textarea[_ngcontent-%COMP%]{font-size:16px}\"]}),l.\\u0275prov=i.Yz7({token:l,factory:l.\\u0275fac,providedIn:\"root\"}),l})()},21816:(st,J,c)=>{\"use strict\";c.d(J,{F:()=>f});var p=c(79765),t=c(26215),u=c(9112),_=c(96736),x=c(88002),g=c(46782),i=c(37716);let f=(()=>{class r{constructor(q,m){this.table=q,this.renderer=m,this.onDestroy$=new p.xQ,this.theadChanged$=new t.X(!0),this.tbodyChanged$=new p.xQ,this.theadObserver=new MutationObserver(()=>this.theadChanged$.next(!0)),this.tbodyObserver=new MutationObserver(()=>this.tbodyChanged$.next(!0))}ngOnInit(){this.thead=this.table.nativeElement.querySelector(\"thead\"),this.tbody=this.table.nativeElement.querySelector(\"tbody\"),this.theadObserver.observe(this.thead,{childList:!0}),this.tbodyObserver.observe(this.tbody,{childList:!0})}ngAfterViewInit(){null!=this.thead&&null!=this.tbody&&(0,u.aj)([this.theadChanged$,this.tbodyChanged$]).pipe((0,_.h)([this.thead.rows.item(0),this.tbody.rows]),(0,x.U)(([q,m])=>[[...q.children].map(I=>I.textContent),[...m].map(I=>[...I.children])]),(0,g.R)(this.onDestroy$)).subscribe(([q,m])=>m.forEach(I=>I.forEach(B=>this.renderer.setAttribute(B,\"data-column-name\",q[B.cellIndex]))))}ngOnDestroy(){this.theadObserver.disconnect(),this.tbodyObserver.disconnect(),this.onDestroy$.next(!0)}}return r.\\u0275fac=function(q){return new(q||r)(i.Y36(i.SBq),i.Y36(i.Qsj))},r.\\u0275dir=i.lG2({type:r,selectors:[[\"\",\"matTableResponsive\",\"\"]]}),r})()},5108:(st,J,c)=>{\"use strict\";c.d(J,{h:()=>ut});var p=c(97582),t=c(3679),u=c(22238),_=c(39761),x=c(88002),g=c(88205),i=c(37716),f=c(2049),r=c(29790),Z=c(99766),q=c(38583),m=c(47082),I=c(12178),B=c(51095),W=c(94553),z=c(98295),M=c(49983),X=c(21554),j=c(72458),pt=c(67441),N=c(7539);function C(w,it){1&w&&i._UZ(0,\"app-loading-screen\")}function l(w,it){1&w&&(i.TgZ(0,\"a\"),i._uU(1),i.ALo(2,\"translate\"),i.qZA()),2&w&&(i.xp6(1),i.Oqu(i.lcZ(2,1,\"add_pricing\")))}function O(w,it){1&w&&(i.TgZ(0,\"a\"),i._uU(1),i.ALo(2,\"translate\"),i.qZA()),2&w&&(i.xp6(1),i.Oqu(i.lcZ(2,1,\"mod_pricing\")))}function T(w,it){1&w&&(i.TgZ(0,\"span\"),i._uU(1),i.ALo(2,\"translate\"),i.qZA()),2&w&&(i.xp6(1),i.Oqu(i.lcZ(2,1,\"ins_data_pri\")))}function k(w,it){if(1&w&&i.YNc(0,T,3,3,\"span\",6),2&w){const Q=i.oxw(2);i.Q6J(\"ngIf\",!Q.responsive())}}function b(w,it){if(1&w&&(i.TgZ(0,\"mat-option\",54),i._UZ(1,\"img\",55),i.TgZ(2,\"span\"),i._uU(3),i.qZA(),i.qZA()),2&w){const Q=it.$implicit;i.Q6J(\"value\",Q),i.xp6(3),i.Oqu(Q)}}function et(w,it){1&w&&(i.TgZ(0,\"mat-error\"),i._uU(1),i.ALo(2,\"translate\"),i.qZA()),2&w&&(i.xp6(1),i.Oqu(i.lcZ(2,1,\"ins_prod\")))}function U(w,it){1&w&&(i.TgZ(0,\"mat-error\"),i._uU(1),i.ALo(2,\"translate\"),i.qZA()),2&w&&(i.xp6(1),i.Oqu(i.lcZ(2,1,\"ins_pr_start\")))}function F(w,it){1&w&&(i.TgZ(0,\"mat-error\"),i._uU(1),i.ALo(2,\"translate\"),i.qZA()),2&w&&(i.xp6(1),i.Oqu(i.lcZ(2,1,\"ins_prezo_kwh\")))}function K(w,it){1&w&&(i.TgZ(0,\"mat-error\"),i._uU(1),i.ALo(2,\"translate\"),i.qZA()),2&w&&(i.xp6(1),i.Oqu(i.lcZ(2,1,\"ins_pr_min\")))}function v(w,it){1&w&&(i.TgZ(0,\"mat-error\"),i._uU(1),i.ALo(2,\"translate\"),i.qZA()),2&w&&(i.xp6(1),i.Oqu(i.lcZ(2,1,\"ins_parc\")))}function H(w,it){1&w&&(i.TgZ(0,\"mat-error\"),i._uU(1),i.ALo(2,\"translate\"),i.qZA()),2&w&&(i.xp6(1),i.Oqu(i.lcZ(2,1,\"ins_prezzo_pren\")))}function S(w,it){1&w&&(i.TgZ(0,\"mat-error\"),i._uU(1),i.ALo(2,\"translate\"),i.qZA()),2&w&&(i.xp6(1),i.Oqu(i.lcZ(2,1,\"ins_tariffamin\")))}function ct(w,it){1&w&&(i.TgZ(0,\"mat-error\"),i._uU(1),i.ALo(2,\"translate\"),i.qZA()),2&w&&(i.xp6(1),i.Oqu(i.lcZ(2,1,\"ins_tariffafissa\")))}function dt(w,it){1&w&&(i.TgZ(0,\"mat-error\"),i._uU(1),i.ALo(2,\"translate\"),i.qZA()),2&w&&(i.xp6(1),i.Oqu(i.lcZ(2,1,\"ins_tariffamax\")))}function Ot(w,it){1&w&&(i.TgZ(0,\"mat-error\"),i._uU(1),i.ALo(2,\"translate\"),i.qZA()),2&w&&(i.xp6(1),i.Oqu(i.lcZ(2,1,\"ins_tariffamax\")))}function R(w,it){1&w&&(i.TgZ(0,\"mat-error\"),i._uU(1),i.ALo(2,\"translate\"),i.qZA()),2&w&&(i.xp6(1),i.Oqu(i.lcZ(2,1,\"ins_min_pren\")))}function lt(w,it){1&w&&(i.TgZ(0,\"span\"),i._uU(1),i.ALo(2,\"translate\"),i.qZA()),2&w&&(i.xp6(1),i.Oqu(i.lcZ(2,1,\"ins_dati2\")))}function ot(w,it){if(1&w&&i.YNc(0,lt,3,3,\"span\",6),2&w){const Q=i.oxw(2);i.Q6J(\"ngIf\",!Q.responsive())}}function mt(w,it){1&w&&(i.TgZ(0,\"mat-error\"),i._uU(1),i.ALo(2,\"translate\"),i.qZA()),2&w&&(i.xp6(1),i.Oqu(i.lcZ(2,1,\"ins_potmin\")))}function At(w,it){1&w&&(i.TgZ(0,\"mat-error\"),i._uU(1),i.ALo(2,\"translate\"),i.qZA()),2&w&&(i.xp6(1),i.Oqu(i.lcZ(2,1,\"ins_potmax\")))}function Mt(w,it){if(1&w&&(i.TgZ(0,\"mat-option\",54),i.TgZ(1,\"span\"),i._uU(2),i.qZA(),i.qZA()),2&w){const Q=it.$implicit;i.Q6J(\"value\",Q.alpha3),i.xp6(2),i.Oqu(Q.country+\" - \"+Q.alpha3)}}const Pt=function(){return{standalone:!0}};function Bt(w,it){if(1&w&&(i.TgZ(0,\"mat-dialog-content\",null,1),i.TgZ(2,\"form\",20),i.TgZ(3,\"div\",21),i.TgZ(4,\"div\",22),i._UZ(5,\"img\",56),i._UZ(6,\"br\"),i.TgZ(7,\"mat-form-field\",24),i.TgZ(8,\"mat-label\"),i._uU(9),i.ALo(10,\"translate\"),i.qZA(),i._UZ(11,\"input\",57),i.YNc(12,mt,3,3,\"mat-error\",6),i.qZA(),i.qZA(),i.TgZ(13,\"div\",22),i._UZ(14,\"img\",58),i._UZ(15,\"br\"),i.TgZ(16,\"mat-form-field\",24),i.TgZ(17,\"mat-label\"),i._uU(18),i.ALo(19,\"translate\"),i.qZA(),i._UZ(20,\"input\",59),i.YNc(21,At,3,3,\"mat-error\",6),i.qZA(),i.qZA(),i.TgZ(22,\"div\",22),i._UZ(23,\"img\",60),i._UZ(24,\"br\"),i.TgZ(25,\"mat-form-field\",24),i.TgZ(26,\"mat-label\"),i._uU(27),i.ALo(28,\"translate\"),i.qZA(),i.TgZ(29,\"mat-select\",61),i.TgZ(30,\"mat-option\",62),i._uU(31),i.ALo(32,\"translate\"),i.qZA(),i.TgZ(33,\"mat-option\",63),i._uU(34),i.ALo(35,\"translate\"),i.qZA(),i.TgZ(36,\"mat-option\",64),i._uU(37),i.ALo(38,\"translate\"),i.qZA(),i.TgZ(39,\"mat-option\",65),i._uU(40),i.ALo(41,\"translate\"),i.qZA(),i.qZA(),i.qZA(),i.qZA(),i.TgZ(42,\"div\",22),i._UZ(43,\"img\",66),i._UZ(44,\"br\"),i.TgZ(45,\"mat-form-field\",24),i.TgZ(46,\"mat-label\"),i._uU(47),i.ALo(48,\"translate\"),i.qZA(),i._UZ(49,\"input\",67),i.qZA(),i.TgZ(50,\"mat-autocomplete\",null,68),i.YNc(52,Mt,3,2,\"mat-option\",27),i.ALo(53,\"async\"),i.qZA(),i.qZA(),i.TgZ(54,\"div\",22),i._UZ(55,\"i\",69),i._UZ(56,\"br\"),i._uU(57),i.ALo(58,\"translate\"),i._UZ(59,\"br\"),i._UZ(60,\"mat-checkbox\",70),i.qZA(),i.TgZ(61,\"div\",22),i._UZ(62,\"i\",69),i._UZ(63,\"br\"),i._uU(64),i.ALo(65,\"translate\"),i._UZ(66,\"br\"),i._UZ(67,\"mat-checkbox\",71),i.qZA(),i.qZA(),i.qZA(),i.qZA()),2&w){const Q=i.MAs(51),A=i.oxw(2);i.xp6(2),i.Q6J(\"formGroup\",A.queryForm),i.xp6(7),i.Oqu(i.lcZ(10,18,\"pot_min\")),i.xp6(3),i.Q6J(\"ngIf\",A.queryForm.get(\"powerMin\").touched&&A.queryForm.get(\"powerMin\").invalid),i.xp6(6),i.Oqu(i.lcZ(19,20,\"pot_max_kw\")),i.xp6(3),i.Q6J(\"ngIf\",A.queryForm.get(\"powerMax\").touched&&A.queryForm.get(\"powerMax\").invalid),i.xp6(6),i.Oqu(i.lcZ(28,22,\"tipo_corr\")),i.xp6(4),i.Oqu(i.lcZ(32,24,\"dc\")),i.xp6(3),i.Oqu(i.lcZ(35,26,\"ac\")),i.xp6(3),i.Oqu(i.lcZ(38,28,\"ac1\")),i.xp6(3),i.Oqu(i.lcZ(41,30,\"ac3\")),i.xp6(7),i.Oqu(i.lcZ(48,32,\"nazione\")),i.xp6(2),i.Q6J(\"formControl\",A.chosenCountry)(\"matAutocomplete\",Q),i.xp6(3),i.Q6J(\"ngForOf\",i.lcZ(53,34,A.filteredCountry)),i.xp6(5),i.hij(\" \",i.lcZ(58,36,\"tutte_correnti\"),\"\"),i.xp6(3),i.Q6J(\"ngModelOptions\",i.DdM(40,Pt)),i.xp6(4),i.hij(\" \",i.lcZ(65,38,\"tutte_nazioni\"),\"\"),i.xp6(3),i.Q6J(\"ngModelOptions\",i.DdM(41,Pt))}}function L(w,it){1&w&&(i.ynx(0,89),i.TgZ(1,\"mat-form-field\",90),i.TgZ(2,\"mat-label\"),i.TgZ(3,\"span\"),i._uU(4),i.ALo(5,\"translate\"),i.qZA(),i.qZA(),i._UZ(6,\"input\",91),i.qZA(),i.BQk()),2&w&&(i.Q6J(\"formGroupName\",it.index),i.xp6(4),i.Oqu(i.lcZ(5,2,\"orario_ini\")))}function at(w,it){1&w&&(i.ynx(0,89),i.TgZ(1,\"mat-form-field\",90),i.TgZ(2,\"mat-label\"),i.TgZ(3,\"span\"),i._uU(4),i.ALo(5,\"translate\"),i.qZA(),i.qZA(),i._UZ(6,\"input\",92),i.qZA(),i.BQk()),2&w&&(i.Q6J(\"formGroupName\",it.index),i.xp6(4),i.Oqu(i.lcZ(5,2,\"orario_fine\")))}function Y(w,it){if(1&w){const Q=i.EpF();i.TgZ(0,\"div\",72),i.TgZ(1,\"div\",73),i.TgZ(2,\"div\"),i.TgZ(3,\"mat-form-field\",74),i.TgZ(4,\"mat-label\"),i.TgZ(5,\"span\"),i._uU(6),i.ALo(7,\"translate\"),i.qZA(),i.qZA(),i.TgZ(8,\"mat-select\",75),i.TgZ(9,\"mat-option\",76),i.TgZ(10,\"span\"),i._uU(11),i.ALo(12,\"translate\"),i.qZA(),i.qZA(),i.TgZ(13,\"mat-option\",77),i.TgZ(14,\"span\"),i._uU(15),i.ALo(16,\"translate\"),i.qZA(),i.qZA(),i.TgZ(17,\"mat-option\",78),i.TgZ(18,\"span\"),i._uU(19),i.ALo(20,\"translate\"),i.qZA(),i.qZA(),i.TgZ(21,\"mat-option\",79),i.TgZ(22,\"span\"),i._uU(23),i.ALo(24,\"translate\"),i.qZA(),i.qZA(),i.TgZ(25,\"mat-option\",80),i.TgZ(26,\"span\"),i._uU(27),i.ALo(28,\"translate\"),i.qZA(),i.qZA(),i.TgZ(29,\"mat-option\",81),i.TgZ(30,\"span\"),i._uU(31),i.ALo(32,\"translate\"),i.qZA(),i.qZA(),i.TgZ(33,\"mat-option\",82),i.TgZ(34,\"span\"),i._uU(35),i.ALo(36,\"translate\"),i.qZA(),i.qZA(),i.TgZ(37,\"mat-option\",83),i.TgZ(38,\"span\"),i._uU(39),i.ALo(40,\"translate\"),i.qZA(),i.qZA(),i.TgZ(41,\"mat-option\",84),i.TgZ(42,\"span\"),i._uU(43),i.ALo(44,\"translate\"),i.qZA(),i.qZA(),i.TgZ(45,\"mat-option\",85),i.TgZ(46,\"span\"),i._uU(47),i.ALo(48,\"translate\"),i.qZA(),i.qZA(),i.qZA(),i.qZA(),i.qZA(),i.TgZ(49,\"div\",86),i.YNc(50,L,7,4,\"ng-container\",87),i.qZA(),i.TgZ(51,\"div\",86),i.YNc(52,at,7,4,\"ng-container\",87),i.qZA(),i.TgZ(53,\"div\"),i.TgZ(54,\"button\",88),i.NdJ(\"click\",function(){const G=i.CHM(Q).index;return i.oxw(2).removeQuantity(G)}),i.TgZ(55,\"span\"),i._uU(56),i.ALo(57,\"translate\"),i.qZA(),i.qZA(),i.qZA(),i.qZA(),i.qZA()}if(2&w){const Q=it.index,A=i.oxw(2);i.Q6J(\"formGroupName\",Q),i.xp6(6),i.hij(\" \",i.lcZ(7,15,\"GG\"),\"\"),i.xp6(5),i.Oqu(i.lcZ(12,17,\"tutti_gg\")),i.xp6(4),i.Oqu(i.lcZ(16,19,\"gg_fer\")),i.xp6(4),i.Oqu(i.lcZ(20,21,\"weekend\")),i.xp6(4),i.Oqu(i.lcZ(24,23,\"lunedi\")),i.xp6(4),i.Oqu(i.lcZ(28,25,\"martedi\")),i.xp6(4),i.Oqu(i.lcZ(32,27,\"mercoledi\")),i.xp6(4),i.Oqu(i.lcZ(36,29,\"giovedi\")),i.xp6(4),i.Oqu(i.lcZ(40,31,\"venerdi\")),i.xp6(4),i.Oqu(i.lcZ(44,33,\"sabato\")),i.xp6(4),i.Oqu(i.lcZ(48,35,\"domenica\")),i.xp6(3),i.Q6J(\"ngForOf\",A.periodsOfIndex(Q).controls),i.xp6(2),i.Q6J(\"ngForOf\",A.periodsOfIndex(Q).controls),i.xp6(4),i.Oqu(i.lcZ(57,37,\"rimuovi\"))}}function rt(w,it){if(1&w){const Q=i.EpF();i.TgZ(0,\"div\"),i.TgZ(1,\"div\",2),i._UZ(2,\"mat-progress-bar\",3),i.qZA(),i.TgZ(3,\"div\",4),i._UZ(4,\"div\"),i.TgZ(5,\"div\"),i.TgZ(6,\"div\",5),i.YNc(7,l,3,3,\"a\",6),i.YNc(8,O,3,3,\"a\",6),i.qZA(),i.qZA(),i.TgZ(9,\"div\",7),i.TgZ(10,\"button\",8),i.NdJ(\"click\",function(){return i.CHM(Q),i.oxw().closeDialog()}),i.O4$(),i.TgZ(11,\"svg\",9),i._UZ(12,\"g\",10),i._UZ(13,\"g\",11),i.TgZ(14,\"g\",12),i._UZ(15,\"path\",13),i._UZ(16,\"path\",14),i._UZ(17,\"path\",15),i.qZA(),i.qZA(),i.qZA(),i.qZA(),i.qZA(),i.kcU(),i.TgZ(18,\"mat-horizontal-stepper\",16,17),i.TgZ(20,\"mat-step\",18),i.YNc(21,k,1,1,\"ng-template\",19),i.TgZ(22,\"mat-dialog-content\",null,1),i.TgZ(24,\"form\",20),i.TgZ(25,\"div\",21),i.TgZ(26,\"div\",22),i._UZ(27,\"img\",23),i._UZ(28,\"br\"),i.TgZ(29,\"mat-form-field\",24),i.TgZ(30,\"mat-label\"),i._uU(31),i.ALo(32,\"translate\"),i.qZA(),i._UZ(33,\"input\",25),i.ALo(34,\"translate\"),i.qZA(),i.TgZ(35,\"mat-autocomplete\",null,26),i.YNc(37,b,4,2,\"mat-option\",27),i.ALo(38,\"async\"),i.qZA(),i.qZA(),i.TgZ(39,\"div\",22),i._UZ(40,\"img\",28),i._UZ(41,\"br\"),i.TgZ(42,\"mat-form-field\",24),i.TgZ(43,\"mat-label\"),i._uU(44),i.ALo(45,\"translate\"),i.qZA(),i._UZ(46,\"input\",29),i.YNc(47,et,3,3,\"mat-error\",6),i.qZA(),i.qZA(),i.TgZ(48,\"div\",22),i._UZ(49,\"img\",30),i._UZ(50,\"br\"),i.TgZ(51,\"mat-form-field\",24),i.TgZ(52,\"mat-label\"),i._uU(53),i.ALo(54,\"translate\"),i.qZA(),i._UZ(55,\"input\",31),i.YNc(56,U,3,3,\"mat-error\",6),i.qZA(),i.qZA(),i.TgZ(57,\"div\",22),i._UZ(58,\"img\",30),i._UZ(59,\"br\"),i.TgZ(60,\"mat-form-field\",24),i.TgZ(61,\"mat-label\"),i._uU(62),i.ALo(63,\"translate\"),i.qZA(),i._UZ(64,\"input\",32),i.YNc(65,F,3,3,\"mat-error\",6),i.qZA(),i.qZA(),i.TgZ(66,\"div\",22),i._UZ(67,\"img\",30),i._UZ(68,\"br\"),i.TgZ(69,\"mat-form-field\",24),i.TgZ(70,\"mat-label\"),i._uU(71),i.ALo(72,\"translate\"),i.qZA(),i._UZ(73,\"input\",33),i.YNc(74,K,3,3,\"mat-error\",6),i.qZA(),i.qZA(),i.TgZ(75,\"div\",22),i._UZ(76,\"img\",30),i._UZ(77,\"br\"),i.TgZ(78,\"mat-form-field\",24),i.TgZ(79,\"mat-label\"),i._uU(80),i.ALo(81,\"translate\"),i.qZA(),i._UZ(82,\"input\",34),i.YNc(83,v,3,3,\"mat-error\",6),i.qZA(),i.qZA(),i.TgZ(84,\"div\",22),i._UZ(85,\"img\",30),i._UZ(86,\"br\"),i.TgZ(87,\"mat-form-field\",24),i.TgZ(88,\"mat-label\"),i._uU(89),i.ALo(90,\"translate\"),i.qZA(),i._UZ(91,\"input\",35),i.YNc(92,H,3,3,\"mat-error\",6),i.qZA(),i.qZA(),i.TgZ(93,\"div\",22),i._UZ(94,\"img\",30),i._UZ(95,\"br\"),i.TgZ(96,\"mat-form-field\",24),i.TgZ(97,\"mat-label\"),i._uU(98),i.ALo(99,\"translate\"),i.qZA(),i._UZ(100,\"input\",36),i.YNc(101,S,3,3,\"mat-error\",6),i.qZA(),i.qZA(),i.TgZ(102,\"div\",22),i._UZ(103,\"img\",30),i._UZ(104,\"br\"),i.TgZ(105,\"mat-form-field\",24),i.TgZ(106,\"mat-label\"),i._uU(107),i.ALo(108,\"translate\"),i.qZA(),i._UZ(109,\"input\",37),i.YNc(110,ct,3,3,\"mat-error\",6),i.qZA(),i.qZA(),i.TgZ(111,\"div\",22),i._UZ(112,\"img\",30),i._UZ(113,\"br\"),i.TgZ(114,\"mat-form-field\",24),i.TgZ(115,\"mat-label\"),i._uU(116),i.ALo(117,\"translate\"),i.qZA(),i._UZ(118,\"input\",38),i.YNc(119,dt,3,3,\"mat-error\",6),i.qZA(),i.qZA(),i.TgZ(120,\"div\",22),i._UZ(121,\"img\",39),i._UZ(122,\"br\"),i.TgZ(123,\"mat-form-field\",24),i.TgZ(124,\"mat-label\"),i._uU(125),i.ALo(126,\"translate\"),i.qZA(),i._UZ(127,\"input\",40),i.YNc(128,Ot,3,3,\"mat-error\",6),i.qZA(),i.qZA(),i.TgZ(129,\"div\",22),i._UZ(130,\"img\",41),i._UZ(131,\"br\"),i.TgZ(132,\"mat-form-field\",24),i.TgZ(133,\"mat-label\"),i._uU(134),i.ALo(135,\"translate\"),i.qZA(),i._UZ(136,\"input\",42),i.YNc(137,R,3,3,\"mat-error\",6),i.qZA(),i.qZA(),i.qZA(),i.qZA(),i.TgZ(138,\"div\",43),i.TgZ(139,\"button\",44),i.TgZ(140,\"span\",45),i._uU(141),i.ALo(142,\"translate\"),i.qZA(),i.qZA(),i.qZA(),i.qZA(),i.qZA(),i.TgZ(143,\"mat-step\",46),i.ALo(144,\"translate\"),i.YNc(145,ot,1,1,\"ng-template\",19),i.YNc(146,Bt,68,42,\"mat-dialog-content\",6),i.TgZ(147,\"mat-dialog-content\",null,1),i.TgZ(149,\"div\",43),i.TgZ(150,\"button\",47),i.NdJ(\"click\",function(){return i.CHM(Q),i.oxw().add()}),i.TgZ(151,\"span\"),i._uU(152),i.ALo(153,\"translate\"),i.qZA(),i.qZA(),i.qZA(),i.TgZ(154,\"div\",48),i.TgZ(155,\"div\",49),i.TgZ(156,\"button\",50),i.NdJ(\"click\",function(){return i.CHM(Q),i.oxw().addQuantity()}),i.TgZ(157,\"span\",45),i._uU(158),i.ALo(159,\"translate\"),i.qZA(),i.qZA(),i.qZA(),i.TgZ(160,\"div\",51),i.TgZ(161,\"form\",20),i.TgZ(162,\"table\",52),i.YNc(163,Y,58,39,\"div\",53),i.qZA(),i.qZA(),i.qZA(),i.qZA(),i.qZA(),i.qZA(),i.qZA(),i.qZA()}if(2&w){const Q=i.MAs(36),A=i.oxw();i.xp6(2),i.Q6J(\"color\",A.color)(\"mode\",A.mode)(\"value\",A.value)(\"bufferValue\",A.bufferValue),i.xp6(5),i.Q6J(\"ngIf\",!A.isUpdate()),i.xp6(1),i.Q6J(\"ngIf\",A.isUpdate()),i.xp6(12),i.Q6J(\"stepControl\",!1)(\"optional\",!1),i.xp6(4),i.Q6J(\"formGroup\",A.pricingForm),i.xp6(7),i.Oqu(i.lcZ(32,45,\"operator_id\")),i.xp6(2),i.s9C(\"placeholder\",i.lcZ(34,47,\"ins_op\")),i.Q6J(\"formControl\",A.chosenOperatorId)(\"matAutocomplete\",Q),i.xp6(4),i.Q6J(\"ngForOf\",i.lcZ(38,49,A.filteredOperatorIds)),i.xp6(7),i.Oqu(i.lcZ(45,51,\"id_prodotto\")),i.xp6(3),i.Q6J(\"ngIf\",A.pricingForm.get(\"productID\").touched&&A.pricingForm.get(\"productID\").invalid),i.xp6(6),i.Oqu(i.lcZ(54,53,\"prezzo_start\")),i.xp6(3),i.Q6J(\"ngIf\",A.pricingForm.get(\"startingEur\").touched&&A.pricingForm.get(\"startingEur\").invalid),i.xp6(6),i.Oqu(i.lcZ(63,55,\"prezzo_kwh\")),i.xp6(3),i.Q6J(\"ngIf\",A.pricingForm.get(\"eur_KWH\").touched&&A.pricingForm.get(\"eur_KWH\").invalid),i.xp6(6),i.Oqu(i.lcZ(72,57,\"prezzo_min\")),i.xp6(3),i.Q6J(\"ngIf\",A.pricingForm.get(\"eur_MIN\").touched&&A.pricingForm.get(\"eur_MIN\").invalid),i.xp6(6),i.Oqu(i.lcZ(81,59,\"prezzo_parc\")),i.xp6(3),i.Q6J(\"ngIf\",A.pricingForm.get(\"parkingEur_MIN\").touched&&A.pricingForm.get(\"parkingEur_MIN\").invalid),i.xp6(6),i.Oqu(i.lcZ(90,61,\"prezzo_pren\")),i.xp6(3),i.Q6J(\"ngIf\",A.pricingForm.get(\"reservationCost\").touched&&A.pricingForm.get(\"reservationCost\").invalid),i.xp6(6),i.Oqu(i.lcZ(99,63,\"tariffa_min\")),i.xp6(3),i.Q6J(\"ngIf\",A.pricingForm.get(\"minimumFee\").touched&&A.pricingForm.get(\"minimumFee\").invalid),i.xp6(6),i.Oqu(i.lcZ(108,65,\"tariffa_fissa\")),i.xp6(3),i.Q6J(\"ngIf\",A.pricingForm.get(\"fixedFee\").touched&&A.pricingForm.get(\"fixedFee\").invalid),i.xp6(6),i.Oqu(i.lcZ(117,67,\"tariffa_max\")),i.xp6(3),i.Q6J(\"ngIf\",A.pricingForm.get(\"maximumFee\").touched&&A.pricingForm.get(\"maximumFee\").invalid),i.xp6(6),i.Oqu(i.lcZ(126,69,\"grace_period_park\")),i.xp6(3),i.Q6J(\"ngIf\",A.pricingForm.get(\"gracePeriod\").touched&&A.pricingForm.get(\"gracePeriod\").invalid),i.xp6(6),i.Oqu(i.lcZ(135,71,\"minuti_pren\")),i.xp6(3),i.Q6J(\"ngIf\",A.pricingForm.get(\"reservationPeriod\").touched&&A.pricingForm.get(\"reservationPeriod\").invalid),i.xp6(4),i.Oqu(i.lcZ(142,73,\"prosegui\")),i.xp6(2),i.Q6J(\"stepControl\",!1)(\"errorMessage\",i.lcZ(144,75,\"inserire_manc\"))(\"optional\",!1),i.xp6(3),i.Q6J(\"ngIf\",!A.isUpdate()),i.xp6(6),i.Oqu(i.lcZ(153,77,\"conferma\")),i.xp6(6),i.Oqu(i.lcZ(159,79,\"add_gg\")),i.xp6(3),i.Q6J(\"formGroup\",A.pricingForm),i.xp6(2),i.Q6J(\"ngForOf\",A.quantities().controls)}}let ut=(()=>{class w{constructor(Q,A,tt,G,nt,gt,vt,It){this.dialogConfirm=Q,this.dialog=A,this.formBuilder=tt,this.pricingService=G,this.dialogUser=nt,this.verifyAction=gt,this.translate=vt,this.notifyService=It,this.color=\"primary\",this.mode=\"determinate\",this.value=100,this.bufferValue=30,this.chosenOperatorId=new t.NI(\"\",t.kI.required),this.iso=c(67459),this.chosenCountry=new t.NI(\"\",t.kI.required),this.allCountry=this.iso.all(),this.pricingForm=this.formBuilder.group({operatorID:[\"\"],productID:[\"\",[t.kI.required]],startingEur:[\"\",[t.kI.required]],eur_KWH:[\"\",[t.kI.required]],eur_MIN:[\"\",[t.kI.required]],parkingEur_MIN:[\"\",[t.kI.required]],reservationCost:[\"\"],minimumFee:[\"\"],fixedFee:[\"\"],maximumFee:[\"\"],gracePeriod:[\"\"],reservationPeriod:[\"\"],availabilityTimes:this.formBuilder.array([this.formBuilder.group({on:[\"\",[t.kI.required]],Periods:this.formBuilder.array([this.formBuilder.group({begin:[\"\",[t.kI.required]],end:[\"\",[t.kI.required]]})])})])}),this.queryForm=this.formBuilder.group({powerType:[\"\",[t.kI.required]],powerMin:[\"\",[t.kI.required]],powerMax:[\"\",[t.kI.required]],country:[\"\"],powerTypeAll:[!1],countryAll:[!1]})}ngOnInit(){var Q;return(0,p.mG)(this,void 0,void 0,function*(){if(this.innerWidth=window.innerWidth,this.operatorIds=(yield this.pricingService.getAllOperatorIds().toPromise()).map(A=>A.operatorID),this.filteredOperatorIds=this.chosenOperatorId.valueChanges.pipe((0,_.O)(\"\"),(0,x.U)(A=>A?this._filterStates(A):this.operatorIds.slice())),this.filteredCountry=this.chosenCountry.valueChanges.pipe((0,_.O)(\"\"),(0,x.U)(A=>A?this._filterCoutries(A):this.allCountry.slice())),this.chosenOperatorId.setValue(this.verifyAction.operatorID),this.verifyAction.update){this.chosenOperatorId.setValue(this.verifyAction.pricing.operatorID),this.pricingForm.get(\"productID\").setValue(this.verifyAction.pricing.productID),this.pricingForm.get(\"startingEur\").setValue(this.verifyAction.pricing.startingEur),this.pricingForm.get(\"eur_KWH\").setValue(this.verifyAction.pricing.eur_KWH),this.pricingForm.get(\"eur_MIN\").setValue(this.verifyAction.pricing.eur_MIN),this.pricingForm.get(\"parkingEur_MIN\").setValue(this.verifyAction.pricing.parkingEur_MIN),this.pricingForm.get(\"reservationCost\").setValue(this.verifyAction.pricing.reservationCost),this.pricingForm.get(\"minimumFee\").setValue(this.verifyAction.pricing.minimumFee),this.pricingForm.get(\"fixedFee\").setValue(this.verifyAction.pricing.fixedFee),this.pricingForm.get(\"maximumFee\").setValue(this.verifyAction.pricing.maximumFee),this.pricingForm.get(\"gracePeriod\").setValue(this.verifyAction.pricing.gracePeriod),this.pricingForm.get(\"reservationPeriod\").setValue(this.verifyAction.pricing.reservationPeriod);let A=null===(Q=this.verifyAction.pricing.availabilityTimes)||void 0===Q?void 0:Q.map(tt=>this.newQuantity(tt));this.pricingForm.setControl(\"availabilityTimes\",new t.Oe([...A||[]]))}this.isLoading=!1})}_filterStates(Q){const A=Q.toLowerCase();return this.operatorIds.filter(tt=>0===tt.toLowerCase().indexOf(A))}_filterCoutries(Q){const A=Q.toLowerCase();return this.allCountry.filter(tt=>0===tt.country.toLowerCase().indexOf(A))}isUpdate(){return this.verifyAction.update}closeDialog(){this.dialog.close()}quantities(){return this.pricingForm.get(\"availabilityTimes\")}periodsOfIndex(Q){return this.quantities().at(Q).get(\"Periods\")}newQuantity(Q){var A;return this.formBuilder.group({on:null!==(A=null==Q?void 0:Q.on)&&void 0!==A?A:\"\",Periods:this.formBuilder.array(Q?Q.Periods.map(tt=>this.newPeriod(tt)):[this.newPeriod()])})}newPeriod(Q){var A,tt;return this.formBuilder.group({begin:null!==(A=null==Q?void 0:Q.begin)&&void 0!==A?A:\"\",end:null!==(tt=null==Q?void 0:Q.end)&&void 0!==tt?tt:\"\"})}addQuantity(){this.quantities().push(this.newQuantity())}removeQuantity(Q){this.quantities().removeAt(Q)}onNoClick(){this.dialog.close()}isCorrectCountry(){let Q=0;return this.allCountry.forEach(A=>{A.alpha3===this.chosenCountry.value&&Q++}),Q>=1||0!==Q&&void 0}responseDialog(Q){const A=JSON.stringify(Q),tt=new g.f(this.translate.instant(\"ris_server\"),A);this.dialogConfirm.open(g.z,{maxWidth:\"800px\",data:tt})}add(){this.mode=\"indeterminate\",this.pricingForm.value.operatorID=this.chosenOperatorId.value,this.queryForm.value.country=this.chosenCountry.value,this.isCorrectCountry()||this.verifyAction.update||this.queryForm.value.countryAll?this.isCorrectCountry()&&!this.verifyAction.update&&this.pricingForm.valid&&this.queryForm.valid||this.queryForm.value.countryAll?this.pricingService.add({costsProfile:this.pricingForm.value,query:this.queryForm.value}).pipe((0,x.U)(Q=>this.responseDialog(Q))).toPromise().then(()=>{this.notifyService.showSuccess(this.translate.instant(\"pri_add\"),this.translate.instant(\"ok\")),this.dialog.close()}).catch(Q=>{console.error(Q.message)}):this.verifyAction.update&&this.pricingForm.valid&&(this.verifyAction.pricing.operatorID=this.pricingForm.value.operatorID,this.verifyAction.pricing.productID=this.pricingForm.value.productID,this.verifyAction.pricing.startingEur=this.pricingForm.value.startingEur,this.verifyAction.pricing.eur_KWH=this.pricingForm.value.eur_KWH,this.verifyAction.pricing.eur_MIN=this.pricingForm.value.eur_MIN,this.verifyAction.pricing.parkingEur_MIN=this.pricingForm.value.parkingEur_MIN,this.verifyAction.pricing.reservationCost=this.pricingForm.value.reservationCost,this.verifyAction.pricing.minimumFee=this.pricingForm.value.minimumFee,this.verifyAction.pricing.fixedFee=this.pricingForm.value.fixedFee,this.verifyAction.pricing.maximumFee=this.pricingForm.value.maximumFee,this.verifyAction.pricing.reservationPeriod=this.pricingForm.value.reservationPeriod,this.verifyAction.pricing.gracePeriod=this.pricingForm.value.gracePeriod,this.verifyAction.pricing.availabilityTimes=this.pricingForm.value.availabilityTimes,this.verifyAction.pricing.query.powerTypeAll=this.queryForm.value.powerTypeAll,this.verifyAction.pricing.query.countryAll=this.queryForm.value.countryAll,this.pricingService.update(this.verifyAction.pricing).pipe((0,x.U)(Q=>this.responseDialog(Q))).toPromise().then(()=>{this.notifyService.showSuccess(this.translate.instant(\"mod_pri\"),this.translate.instant(\"ok\")),this.dialog.close()})):this.notifyService.showSuccess(this.translate.instant(\"ins_iso\"),this.translate.instant(\"ok\"))}responsive(){if(this.innerWidth<1500)return!0}}return w.\\u0275fac=function(Q){return new(Q||w)(i.Y36(u.uw),i.Y36(u.so),i.Y36(t.qu),i.Y36(f.f),i.Y36(u.uw),i.Y36(u.WI),i.Y36(r.sK),i.Y36(Z.m))},w.\\u0275cmp=i.Xpm({type:w,selectors:[[\"app-add-pricing-dialog\"]],decls:3,vars:2,consts:[[4,\"ngIf\",\"ngIfElse\"],[\"main\",\"\"],[2,\"padding\",\"1em\"],[3,\"color\",\"mode\",\"value\",\"bufferValue\"],[1,\"grid33\",2,\"padding-bottom\",\"34px\"],[2,\"padding-left\",\"0.5em\",\"padding-top\",\"0.3em\",\"font-size\",\"2em\",\"font-weight\",\"200\",\"text-align\",\"center\"],[4,\"ngIf\"],[2,\"display\",\"flex\",\"align-items\",\"flex-start\",\"justify-content\",\"flex-end\",\"padding-right\",\"1em\"],[\"mat-button\",\"\",\"mat-dialog-title\",\"\",2,\"position\",\"inherit\",\"color\",\"white\",\"max-height\",\"2em\",\"z-index\",\"2\",\"background-color\",\"white\",3,\"click\"],[\"width\",\"45px\",\"height\",\"45px\",\"viewBox\",\"0 0 24 24\",\"fill\",\"none\",\"xmlns\",\"http://www.w3.org/2000/svg\"],[\"id\",\"SVGRepo_bgCarrier\",\"stroke-width\",\"0\"],[\"id\",\"SVGRepo_tracerCarrier\",\"stroke-linecap\",\"round\",\"stroke-linejoin\",\"round\",\"stroke\",\"#CCCCCC\",\"stroke-width\",\"0.9120000000000001\"],[\"id\",\"SVGRepo_iconCarrier\"],[\"d\",\"M9.16998 14.83L14.83 9.17004\",\"stroke\",\"#ff0000\",\"stroke-width\",\"1.5\",\"stroke-linecap\",\"round\",\"stroke-linejoin\",\"round\"],[\"d\",\"M14.83 14.83L9.16998 9.17004\",\"stroke\",\"#ff0000\",\"stroke-width\",\"1.5\",\"stroke-linecap\",\"round\",\"stroke-linejoin\",\"round\"],[\"d\",\"M9 22H15C20 22 22 20 22 15V9C22 4 20 2 15 2H9C4 2 2 4 2 9V15C2 20 4 22 9 22Z\",\"stroke\",\"#ff0000\",\"stroke-width\",\"1.5\",\"stroke-linecap\",\"round\",\"stroke-linejoin\",\"round\"],[\"linear\",\"\"],[\"stepper\",\"\"],[\"errorMessage\",\"E' necessaria una stazione\",3,\"stepControl\",\"optional\"],[\"matStepLabel\",\"\"],[3,\"formGroup\"],[1,\"grid\"],[2,\"text-align\",\"center\",\"justify-content\",\"center\",\"align-items\",\"center\"],[\"src\",\"https://cdn0.iconfinder.com/data/icons/business-management-123/32/client_business_management_operator-512.png\",\"height\",\"20\"],[\"appearance\",\"outline\",1,\"w70\"],[\"type\",\"text\",\"cdkFocusInitial\",\"\",\"matInput\",\"\",\"aria-label\",\"Operator ID\",\"required\",\"\",3,\"formControl\",\"matAutocomplete\",\"placeholder\"],[\"cp\",\"matAutocomplete\"],[3,\"value\",4,\"ngFor\",\"ngForOf\"],[\"src\",\"https://cdn2.iconfinder.com/data/icons/finance-31/24/finance-10-512.png\",\"height\",\"20\"],[\"type\",\"text\",\"cdkFocusInitial\",\"\",\"matInput\",\"\",\"formControlName\",\"productID\",\"required\",\"\"],[\"src\",\"https://cdn2.iconfinder.com/data/icons/commerce-24/24/euro-512.png\",\"height\",\"20\"],[\"cdkFocusInitial\",\"\",\"matInput\",\"\",\"formControlName\",\"startingEur\",\"required\",\"\"],[\"cdkFocusInitial\",\"\",\"matInput\",\"\",\"formControlName\",\"eur_KWH\",\"required\",\"\"],[\"cdkFocusInitial\",\"\",\"matInput\",\"\",\"formControlName\",\"eur_MIN\",\"required\",\"\"],[\"cdkFocusInitial\",\"\",\"matInput\",\"\",\"formControlName\",\"parkingEur_MIN\",\"required\",\"\"],[\"cdkFocusInitial\",\"\",\"matInput\",\"\",\"formControlName\",\"reservationCost\"],[\"cdkFocusInitial\",\"\",\"matInput\",\"\",\"formControlName\",\"minimumFee\"],[\"cdkFocusInitial\",\"\",\"matInput\",\"\",\"formControlName\",\"fixedFee\"],[\"cdkFocusInitial\",\"\",\"matInput\",\"\",\"formControlName\",\"maximumFee\"],[\"src\",\"https://cdn2.iconfinder.com/data/icons/essential-web-2/50/time-clock-date-analog-period-512.png\",\"height\",\"20\"],[\"cdkFocusInitial\",\"\",\"matInput\",\"\",\"formControlName\",\"gracePeriod\"],[\"src\",\"https://cdn3.iconfinder.com/data/icons/schedule-reminder-calendar-event/512/N_T_673Artboard_1_copy_4-512.png\",\"height\",\"20\"],[\"cdkFocusInitial\",\"\",\"matInput\",\"\",\"formControlName\",\"reservationPeriod\"],[2,\"text-align\",\"center\"],[\"mat-button\",\"\",\"matStepperNext\",\"\",\"mat-raised-button\",\"\",\"color\",\"primary\",2,\"background-color\",\"#99FF66\",\"color\",\"black\",\"margin-top\",\"2%\"],[\"translate\",\"\"],[3,\"stepControl\",\"errorMessage\",\"optional\"],[\"mat-raised-button\",\"\",\"color\",\"primary\",2,\"background-color\",\"#99FF66\",\"color\",\"black\",\"margin-top\",\"2%\",3,\"click\"],[2,\"width\",\"100%\"],[2,\"text-align\",\"center\",\"padding-bottom\",\"2em\"],[\"mat-raised-button\",\"\",\"color\",\"primary\",2,\"background-color\",\"white\",\"color\",\"#99FF66\",\"margin-top\",\"2%\",3,\"click\"],[1,\"center\"],[\"formArrayName\",\"availabilityTimes\"],[\"style\",\"text-align: center; justify-content: center; align-items: center; padding-bottom: 2em;\",3,\"formGroupName\",4,\"ngFor\",\"ngForOf\"],[3,\"value\"],[\"aria-hidden\",\"\",\"src\",\"/assets/images/icon_gas_station.png\",\"height\",\"20\",1,\"example-option-img\"],[\"src\",\"https://cdn2.iconfinder.com/data/icons/user-interface-1-3/85/lightning_thunder_power_energy_flash-512.png\",\"height\",\"20\"],[\"cdkFocusInitial\",\"\",\"matInput\",\"\",\"formControlName\",\"powerMin\",\"required\",\"\"],[\"src\",\"https://cdn3.iconfinder.com/data/icons/browser-app-content-and-development/24/_speed-512.png\",\"height\",\"20\"],[\"cdkFocusInitial\",\"\",\"matInput\",\"\",\"formControlName\",\"powerMax\",\"required\",\"\"],[\"src\",\"https://cdn2.iconfinder.com/data/icons/connector-types-4/64/Cord-ac-power-cable-connector-512.png\",\"height\",\"20\"],[\"cdkFocusInitial\",\"\",\"formControlName\",\"powerType\",\"required\",\"\"],[\"value\",\"DC\"],[\"value\",\"AC\"],[\"value\",\"AC_1_PHASE\"],[\"value\",\"AC_3_PHASE\"],[\"src\",\"https://cdn0.iconfinder.com/data/icons/business-953/42/globe-512.png\",\"height\",\"20\"],[\"type\",\"text\",\"cdkFocusInitial\",\"\",\"matInput\",\"\",\"maxlength\",\"3\",\"placeholder\",\"Inserisci una Nazione (es: Italy -> ITA )\",\"aria-label\",\"Nazione\",\"required\",\"\",3,\"formControl\",\"matAutocomplete\"],[\"countries\",\"matAutocomplete\"],[1,\"fas\",\"fa-check\"],[\"formControlName\",\"powerTypeAll\",1,\"example-margin\",3,\"ngModelOptions\"],[\"formControlName\",\"countryAll\",1,\"example-margin\",3,\"ngModelOptions\"],[2,\"text-align\",\"center\",\"justify-content\",\"center\",\"align-items\",\"center\",\"padding-bottom\",\"2em\",3,\"formGroupName\"],[1,\"grid25\"],[\"appearance\",\"outline\"],[\"matNativeControl\",\"\",\"required\",\"\",\"formControlName\",\"on\"],[\"value\",\"Everyday\"],[\"value\",\"Workdays\"],[\"value\",\"Weekend\"],[\"value\",\"Monday\"],[\"value\",\"Tuesday\"],[\"value\",\"Wednesday\"],[\"value\",\"Thursday\"],[\"value\",\"Friday\"],[\"value\",\"Saturday\"],[\"value\",\"Sunday\"],[\"formArrayName\",\"Periods\"],[3,\"formGroupName\",4,\"ngFor\",\"ngForOf\"],[\"mat-raised-button\",\"\",\"color\",\"primary\",2,\"background-color\",\"#99FF66\",\"color\",\"black\",3,\"click\"],[3,\"formGroupName\"],[\"appearance\",\"outline\",2,\"width\",\"100px\"],[\"matInput\",\"\",\"type\",\"time\",\"formControlName\",\"begin\"],[\"matInput\",\"\",\"type\",\"time\",\"formControlName\",\"end\"]],template:function(Q,A){if(1&Q&&(i.YNc(0,C,1,0,\"app-loading-screen\",0),i.YNc(1,rt,164,81,\"ng-template\",null,1,i.W1O)),2&Q){const tt=i.MAs(2);i.Q6J(\"ngIf\",A.isLoading)(\"ngIfElse\",tt)}},directives:[q.O5,m.g,I.pW,B.lW,u.uh,W.Vq,W.C0,W.VY,u.xY,t._Y,t.JL,t.sg,z.KE,z.hX,M.Nt,t.Fj,X.ZL,t.Q7,t.JJ,t.oH,X.XC,q.sg,t.u,W.Ic,r.Pi,t.CE,j.ey,z.TO,pt.gD,t.nD,N.oG,t.x0],pipes:[r.X$,q.Ov],styles:[\".userEmpty[_ngcontent-%COMP%]{color:red}.userOk[_ngcontent-%COMP%]{color:green}button[_ngcontent-%COMP%]:focus{outline:none!important;box-shadow:none!important;background-color:transparent!important}.content[_ngcontent-%COMP%]{width:70rem;height:40rem}.center[_ngcontent-%COMP%]{text-align:center;align-items:center;justify-content:center}.gridCont[_ngcontent-%COMP%]{display:grid;grid-template-columns:50% 50%}@media (max-width: 1090px){.table[_ngcontent-%COMP%] thead[_ngcontent-%COMP%]{display:none}.table[_ngcontent-%COMP%], .table[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%], .table[_ngcontent-%COMP%] tr[_ngcontent-%COMP%], .table[_ngcontent-%COMP%] td[_ngcontent-%COMP%]{display:block;width:100%}.table[_ngcontent-%COMP%] tr[_ngcontent-%COMP%]{margin-bottom:15px}.table[_ngcontent-%COMP%] td[_ngcontent-%COMP%]{padding-left:50%;text-align:right;position:relative}.table[_ngcontent-%COMP%] td[_ngcontent-%COMP%]:before{content:attr(data-label);position:absolute;left:0;width:50%;padding-left:15px;font-size:15px;font-weight:bold;text-align:left}.mat-table[matTableResponsive][_ngcontent-%COMP%] .mat-header-row[_ngcontent-%COMP%]{display:block;flex-wrap:wrap;height:auto;position:sticky;top:0;z-index:2}.mat-table[matTableResponsive][_ngcontent-%COMP%] .mat-header-row[_ngcontent-%COMP%] th.mat-header-cell[_ngcontent-%COMP%]{display:flex;flex:1;align-items:center;padding:1rem .5rem;justify-content:left}.mat-table[matTableResponsive][_ngcontent-%COMP%] .mat-header-row[_ngcontent-%COMP%] th.mat-header-cell[_ngcontent-%COMP%] > .mat-sort-header-container[_ngcontent-%COMP%]{padding-left:15px}.mat-table[matTableResponsive][_ngcontent-%COMP%] .mat-header-row[_ngcontent-%COMP%] th.mat-header-cell[_ngcontent-%COMP%]:not([mat-sort-header]), .mat-table[matTableResponsive][_ngcontent-%COMP%] .mat-header-row[_ngcontent-%COMP%] th.mat-header-cell.mat-sort-header-disabled[_ngcontent-%COMP%], .mat-table[matTableResponsive][_ngcontent-%COMP%] .mat-header-row[_ngcontent-%COMP%] th.mat-header-cell.mat-column-actions[_ngcontent-%COMP%]{display:none}.mat-table[matTableResponsive][_ngcontent-%COMP%] .mat-row[_ngcontent-%COMP%]{height:auto}.mat-table[matTableResponsive][_ngcontent-%COMP%] .mat-row[_ngcontent-%COMP%] td.mat-cell[_ngcontent-%COMP%]:not(.mat-column-actions){display:grid;grid-template-columns:50% 50%;padding:.5rem;text-align:right;word-break:break-word}.mat-table[matTableResponsive][_ngcontent-%COMP%] .mat-row[_ngcontent-%COMP%] td.mat-cell[_ngcontent-%COMP%]:not(.mat-column-actions) > *[_ngcontent-%COMP%]{grid-column:2}.mat-table[matTableResponsive][_ngcontent-%COMP%] .mat-row[_ngcontent-%COMP%] td.mat-cell[_ngcontent-%COMP%]:not(.mat-column-actions):before{content:attr(data-column-name);text-align:left}.mat-table[matTableResponsive][_ngcontent-%COMP%] .mat-row[_ngcontent-%COMP%] td.mat-column-actions[_ngcontent-%COMP%]{display:flex;justify-content:center;padding:0 .5rem}.mat-table[matTableResponsive][_ngcontent-%COMP%] .mat-row[_ngcontent-%COMP%] td.mat-column-actions[_ngcontent-%COMP%] > button[_ngcontent-%COMP%]{margin:.5rem 0}.mat-table[matTableResponsive][_ngcontent-%COMP%] .mat-row[_ngcontent-%COMP%]:last-of-type td[_ngcontent-%COMP%]:last-of-type{border:none}.mat-table[matTableResponsive][_ngcontent-%COMP%] .mat-row[_ngcontent-%COMP%]:not(:last-of-type) td[_ngcontent-%COMP%]:last-of-type{border-bottom:.5rem solid #fafafa}.mat-card[_ngcontent-%COMP%] .mat-table[matTableResponsive][_ngcontent-%COMP%], .mat-expansion-panel[_ngcontent-%COMP%] .mat-table[matTableResponsive][_ngcontent-%COMP%]{border:.5rem solid #fafafa}img[_ngcontent-%COMP%]{width:0em;height:0em}.grid[_ngcontent-%COMP%]{display:grid;width:100%;grid-template-columns:100%}.w70[_ngcontent-%COMP%]{width:95%}.w35[_ngcontent-%COMP%]{width:95%}}@media (min-width: 1090px){.grid[_ngcontent-%COMP%]{display:grid;width:100%;grid-template-columns:50% 50%}.grid33[_ngcontent-%COMP%]{display:grid;width:100%;grid-template-columns:33% 33% 33%}.grid25[_ngcontent-%COMP%]{display:grid;width:100%;grid-template-columns:25% 25% 25% 25%}.grid20[_ngcontent-%COMP%]{display:grid;width:100%;grid-template-columns:20% 20% 20% 20% 20%}.w70[_ngcontent-%COMP%]{width:70%}.w35[_ngcontent-%COMP%]{width:35%}table[_ngcontent-%COMP%]{table-layout:fixed;width:100%;border-collapse:separate;border-spacing:0 2px}}input[type=color][_ngcontent-%COMP%], input[type=date][_ngcontent-%COMP%], input[type=datetime][_ngcontent-%COMP%], input[type=datetime-local][_ngcontent-%COMP%], input[type=email][_ngcontent-%COMP%], input[type=month][_ngcontent-%COMP%], input[type=number][_ngcontent-%COMP%], input[type=password][_ngcontent-%COMP%], input[type=search][_ngcontent-%COMP%], input[type=tel][_ngcontent-%COMP%], input[type=text][_ngcontent-%COMP%], input[type=time][_ngcontent-%COMP%], input[type=url][_ngcontent-%COMP%], input[type=week][_ngcontent-%COMP%], select[_ngcontent-%COMP%]:focus, textarea[_ngcontent-%COMP%]{font-size:16px}\"]}),w})()},34323:(st,J,c)=>{\"use strict\";c.d(J,{h:()=>Bt});var p=c(97582),t=c(22238),u=c(32091),_=c(99692),x=c(5108),g=c(88205),i=c(88002),f=c(11494),r=c(37716),Z=c(2049),q=c(29790),m=c(99766),I=c(38583),B=c(47082),W=c(51095),z=c(21816);function M(L,at){1&L&&r._UZ(0,\"app-loading-screen\")}function X(L,at){1&L&&(r.TgZ(0,\"th\",43),r._uU(1),r.ALo(2,\"translate\"),r.qZA()),2&L&&(r.xp6(1),r.hij(\" \",r.lcZ(2,1,\"id_prodotto\"),\"\"))}function j(L,at){if(1&L&&(r.TgZ(0,\"td\",44),r._uU(1),r.qZA()),2&L){const Y=at.$implicit;r.xp6(1),r.hij(\" \",Y.productID,\"\")}}function pt(L,at){1&L&&(r.TgZ(0,\"th\",43),r._uU(1),r.ALo(2,\"translate\"),r.qZA()),2&L&&(r.xp6(1),r.hij(\" \",r.lcZ(2,1,\"start_ricarica\"),\"\"))}function N(L,at){if(1&L&&(r.TgZ(0,\"td\",44),r._uU(1),r.qZA()),2&L){const Y=at.$implicit;r.xp6(1),r.hij(\" \",Y.startingEur,\" \\u20ac\")}}function C(L,at){1&L&&(r.TgZ(0,\"th\",43),r._uU(1),r.ALo(2,\"translate\"),r.qZA()),2&L&&(r.xp6(1),r.hij(\" \",r.lcZ(2,1,\"kWh\"),\"\"))}function l(L,at){if(1&L&&(r.TgZ(0,\"td\",44),r._uU(1),r.qZA()),2&L){const Y=at.$implicit;r.xp6(1),r.hij(\" \",Y.eur_KWH,\" \\u20ac\")}}function O(L,at){1&L&&(r.TgZ(0,\"th\",43),r._uU(1),r.ALo(2,\"translate\"),r.qZA()),2&L&&(r.xp6(1),r.hij(\" \",r.lcZ(2,1,\"al_minuto\"),\"\"))}function T(L,at){if(1&L&&(r.TgZ(0,\"td\",44),r._uU(1),r.qZA()),2&L){const Y=at.$implicit;r.xp6(1),r.hij(\" \",Y.eur_MIN,\" \\u20ac\")}}function k(L,at){1&L&&(r.TgZ(0,\"th\",43),r._uU(1),r.ALo(2,\"translate\"),r.qZA()),2&L&&(r.xp6(1),r.hij(\" \",r.lcZ(2,1,\"prezzo_parc\"),\"\"))}function b(L,at){if(1&L&&(r.TgZ(0,\"td\",44),r._uU(1),r.qZA()),2&L){const Y=at.$implicit;r.xp6(1),r.hij(\" \",Y.parkingEur_MIN,\" \\u20ac\")}}function et(L,at){1&L&&(r.TgZ(0,\"th\",43),r._uU(1),r.ALo(2,\"translate\"),r.qZA()),2&L&&(r.xp6(1),r.hij(\" \",r.lcZ(2,1,\"prenotazione\"),\"\"))}function U(L,at){if(1&L&&(r.TgZ(0,\"td\",44),r._uU(1),r.ALo(2,\"translate\"),r.qZA()),2&L){const Y=at.$implicit;r.xp6(1),r.hij(\" \",Y.reservationCost?Y.reservationCost+\" \\u20ac\":r.lcZ(2,1,\"non_settato\"),\"\")}}function F(L,at){1&L&&(r.TgZ(0,\"th\",43),r._uU(1),r.ALo(2,\"translate\"),r.qZA()),2&L&&(r.xp6(1),r.hij(\" \",r.lcZ(2,1,\"minimo\"),\"\"))}function K(L,at){if(1&L&&(r.TgZ(0,\"td\",44),r._uU(1),r.ALo(2,\"translate\"),r.qZA()),2&L){const Y=at.$implicit,rt=r.oxw(2);r.xp6(1),r.hij(\" \",Y.minimumFee?rt.isNan(Y.minimumFee)+\" \\u20ac\":r.lcZ(2,1,\"non_settato\"),\"\")}}function v(L,at){1&L&&(r.TgZ(0,\"th\",43),r._uU(1),r.ALo(2,\"translate\"),r.qZA()),2&L&&(r.xp6(1),r.hij(\" \",r.lcZ(2,1,\"fisso\"),\"\"))}function H(L,at){if(1&L&&(r.TgZ(0,\"td\",44),r._uU(1),r.ALo(2,\"translate\"),r.qZA()),2&L){const Y=at.$implicit,rt=r.oxw(2);r.xp6(1),r.hij(\" \",Y.fixedFee?rt.isNan(Y.fixedFee)+\" \\u20ac\":r.lcZ(2,1,\"non_settato\"),\"\")}}function S(L,at){1&L&&(r.TgZ(0,\"th\",43),r._uU(1),r.ALo(2,\"translate\"),r.qZA()),2&L&&(r.xp6(1),r.hij(\" \",r.lcZ(2,1,\"massimo\"),\"\"))}function ct(L,at){if(1&L&&(r.TgZ(0,\"td\",44),r._uU(1),r.ALo(2,\"translate\"),r.qZA()),2&L){const Y=at.$implicit,rt=r.oxw(2);r.xp6(1),r.hij(\" \",Y.maximumFee?rt.isNan(Y.maximumFee)+\" \\u20ac\":r.lcZ(2,1,\"non_settato\"),\"\")}}function dt(L,at){1&L&&(r.TgZ(0,\"th\",45),r._uU(1),r.ALo(2,\"translate\"),r.qZA()),2&L&&(r.xp6(1),r.hij(\" \",r.lcZ(2,1,\"orari\"),\"\"))}function Ot(L,at){if(1&L&&(r.TgZ(0,\"td\",44),r._uU(1),r.ALo(2,\"translate\"),r.qZA()),2&L){const Y=at.$implicit,rt=r.oxw(2);r.xp6(1),r.hij(\" \",Y.availabilityTimes?rt.availabilityTimesToString(Y):r.lcZ(2,1,\"non_settato\"),\" \")}}function R(L,at){1&L&&(r.TgZ(0,\"th\",45),r._uU(1),r.ALo(2,\"translate\"),r.qZA()),2&L&&(r.xp6(1),r.hij(\" \",r.lcZ(2,1,\"azioni\"),\"\"))}function lt(L,at){if(1&L){const Y=r.EpF();r.TgZ(0,\"td\",44),r.TgZ(1,\"div\",46),r.TgZ(2,\"div\",47),r.TgZ(3,\"div\",48),r.TgZ(4,\"button\",49),r.NdJ(\"click\",function(){const w=r.CHM(Y).$implicit;return r.oxw(2).updatePricing(w)}),r._UZ(5,\"i\",50),r._uU(6,\"\\xa0 \"),r.TgZ(7,\"span\",51),r._uU(8),r.ALo(9,\"translate\"),r.qZA(),r.qZA(),r._uU(10,\" \\xa0 \"),r.TgZ(11,\"button\",49),r.NdJ(\"click\",function(){const w=r.CHM(Y).$implicit;return r.oxw(2).confirmDialog(w)}),r._UZ(12,\"i\",52),r._uU(13,\"\\xa0 \"),r.TgZ(14,\"span\",51),r._uU(15),r.ALo(16,\"translate\"),r.qZA(),r.qZA(),r.qZA(),r.qZA(),r.qZA(),r.qZA()}2&L&&(r.xp6(8),r.Oqu(r.lcZ(9,2,\"modifica\")),r.xp6(7),r.Oqu(r.lcZ(16,4,\"elimina\")))}function ot(L,at){1&L&&r._UZ(0,\"tr\",53)}function mt(L,at){1&L&&r._UZ(0,\"tr\",54)}function At(L,at){if(1&L&&(r.TgZ(0,\"tr\",55),r.TgZ(1,\"td\",56),r._uU(2),r.ALo(3,\"translate\"),r.qZA(),r.qZA()),2&L){const Y=r.oxw(2);r.xp6(2),r.AsE(\"\",r.lcZ(3,2,\"not_match_filter\"),' \"',Y.input.value,'\"')}}const Mt=function(){return[5,10,25,50,100]};function Pt(L,at){if(1&L){const Y=r.EpF();r.TgZ(0,\"mat-dialog-content\"),r._UZ(1,\"br\"),r.TgZ(2,\"div\",2),r.TgZ(3,\"div\"),r.TgZ(4,\"div\",3),r.TgZ(5,\"a\"),r._uU(6),r.qZA(),r.qZA(),r.qZA(),r.TgZ(7,\"div\",4),r._UZ(8,\"img\",5),r._UZ(9,\"br\"),r.qZA(),r.TgZ(10,\"div\",6),r.TgZ(11,\"button\",7),r.NdJ(\"click\",function(){return r.CHM(Y),r.oxw().dialog2.close()}),r.O4$(),r.TgZ(12,\"svg\",8),r._UZ(13,\"g\",9),r._UZ(14,\"g\",10),r.TgZ(15,\"g\",11),r._UZ(16,\"path\",12),r._UZ(17,\"path\",13),r._UZ(18,\"path\",14),r.qZA(),r.qZA(),r.qZA(),r.qZA(),r.qZA(),r.kcU(),r.TgZ(19,\"div\",15),r.TgZ(20,\"div\",16),r.TgZ(21,\"div\",17),r.TgZ(22,\"div\",18),r.TgZ(23,\"div\"),r._UZ(24,\"br\"),r.TgZ(25,\"div\",19),r.TgZ(26,\"button\",20),r.NdJ(\"click\",function(){return r.CHM(Y),r.oxw().addPricing()}),r._UZ(27,\"i\",21),r._uU(28,\"\\xa0 \"),r.TgZ(29,\"span\",22),r._uU(30),r.ALo(31,\"translate\"),r.qZA(),r.qZA(),r.qZA(),r.TgZ(32,\"div\",23),r.TgZ(33,\"table\",24),r.ynx(34,25),r.YNc(35,X,3,3,\"th\",26),r.YNc(36,j,2,1,\"td\",27),r.BQk(),r.ynx(37,28),r.YNc(38,pt,3,3,\"th\",26),r.YNc(39,N,2,1,\"td\",27),r.BQk(),r.ynx(40,29),r.YNc(41,C,3,3,\"th\",26),r.YNc(42,l,2,1,\"td\",27),r.BQk(),r.ynx(43,30),r.YNc(44,O,3,3,\"th\",26),r.YNc(45,T,2,1,\"td\",27),r.BQk(),r.ynx(46,31),r.YNc(47,k,3,3,\"th\",26),r.YNc(48,b,2,1,\"td\",27),r.BQk(),r.ynx(49,32),r.YNc(50,et,3,3,\"th\",26),r.YNc(51,U,3,3,\"td\",27),r.BQk(),r.ynx(52,33),r.YNc(53,F,3,3,\"th\",26),r.YNc(54,K,3,3,\"td\",27),r.BQk(),r.ynx(55,34),r.YNc(56,v,3,3,\"th\",26),r.YNc(57,H,3,3,\"td\",27),r.BQk(),r.ynx(58,35),r.YNc(59,S,3,3,\"th\",26),r.YNc(60,ct,3,3,\"td\",27),r.BQk(),r.ynx(61,36),r.YNc(62,dt,3,3,\"th\",37),r.YNc(63,Ot,3,3,\"td\",27),r.BQk(),r.ynx(64,38),r.YNc(65,R,3,3,\"th\",37),r.YNc(66,lt,17,6,\"td\",27),r.BQk(),r.YNc(67,ot,1,0,\"tr\",39),r.YNc(68,mt,1,0,\"tr\",40),r.YNc(69,At,4,4,\"tr\",41),r.qZA(),r._UZ(70,\"mat-paginator\",42),r.qZA(),r.qZA(),r.qZA(),r.qZA(),r.qZA(),r.qZA(),r.qZA()}if(2&L){const Y=r.oxw();r.xp6(6),r.Oqu(Y.input.operatorID),r.xp6(24),r.Oqu(r.lcZ(31,8,\"add_pricing\")),r.xp6(3),r.Q6J(\"hidden\",Y.isLoading)(\"dataSource\",Y.dataSource),r.xp6(34),r.Q6J(\"matHeaderRowDef\",Y.displayedColumns),r.xp6(1),r.Q6J(\"matRowDefColumns\",Y.displayedColumns),r.xp6(2),r.Q6J(\"pageSizeOptions\",r.DdM(10,Mt))(\"pageSize\",25)}}let Bt=(()=>{class L{constructor(Y,rt,ut,w,it){this.dialog=Y,this.pricingService=rt,this.translate=ut,this.input=w,this.notifyService=it,this.pricingData={operatorCost:null,loadIt:!1},this.dataSource=new u.by,this.displayedColumns=[\"productID\",\"startingEur\",\"eur_KWH\",\"eur_MIN\",\"parkingEur_MIN\",\"reservationCost\",\"minimumFee\",\"fixedFee\",\"maximumFee\",\"availabilityTimes\",\"actions\"],this.color=\"warn\",this.mode=\"indeterminate\",this.isLoading=!0,this.alreadyLoaded=!1,this.result=\"\"}set matPaginator(Y){this.paginator=Y,this.dataSource.paginator=this.paginator}ngOnInit(){this.isLoading=!0,console.log(this.input.operatorID),this.read(),this.operatorCost=this.pricingData.operatorCost}read(){return(0,p.mG)(this,void 0,void 0,function*(){this.isLoading=!0,this.dataSource.data=yield this.pricingService.getAllByOperatorId(this.input.operatorID).toPromise(),console.log(this.dataSource.data),this.dataSource.data=this.dataSource.data,this.dataSource.sort=this.sort,this.isLoading=!1})}deletePricing(Y){this.pricingService.delete(Y).pipe((0,i.U)(rt=>this.responseDialog(rt))).toPromise().then(()=>this.read()),this.notifyService.showSuccess(this.translate.instant(\"pri_del\"),this.translate.instant(\"ok\"))}confirmDialog(Y){const rt=this.translate.instant(\"sicuro_del\")+Y.productID+this.translate.instant(\"di\")+Y.operatorID+\" ?\",ut=new g.f(this.translate.instant(\"conf_az\"),rt);this.dialog.open(g.z,{maxWidth:\"400px\",data:ut}).afterClosed().subscribe(it=>{this.result=it,it&&this.deletePricing(Y)})}responseDialog(Y){const rt=JSON.stringify(Y),ut=new g.f(this.translate.instant(\"ris_server\"),rt);this.dialog.open(g.z,{maxWidth:\"800px\",data:ut})}addPricing(){this.update=!1,this.dialog.open(x.h,{maxHeight:\"100vh\",minWidth:\"65vw\",disableClose:!0,data:{update:this.update,pricing:null,operatorID:this.input.operatorID}}).afterClosed().toPromise().then(()=>this.read())}updatePricing(Y){this.update=!0,this.dialog.open(x.h,{maxHeight:\"100vh\",minWidth:\"65vw\",disableClose:!0,data:{update:this.update,pricing:Y,operatorID:this.input.operatorID}}).afterClosed().toPromise().then(()=>this.read())}availabilityTimesToString(Y){let rt=\"\";return Y.availabilityTimes.forEach(ut=>{let w=\"\";switch(ut.Periods.forEach(it=>{w+=it.begin+\"-\"+it.end}),ut.on+\"\"){case\"Everyday\":rt+=this.translate.instant(\"tutti_gg\");break;case\"Workdays\":rt+=this.translate.instant(\"gg_fer\");break;case\"Weekend\":rt+=this.translate.instant(\"weekend\");break;case\"Monday\":rt+=this.translate.instant(\"lunedi\");break;case\"Tuesday\":rt+=this.translate.instant(\"martedi\");break;case\"Wednesday\":rt+=this.translate.instant(\"mercoledi\");break;case\"Thursday\":rt+=this.translate.instant(\"giovedi\");break;case\"Friday\":rt+=this.translate.instant(\"venerdi\");break;case\"Saturday\":rt+=this.translate.instant(\"sabato\");break;case\"Sunday\":rt+=this.translate.instant(\"domenica\");break;default:rt+=\"Se vedi questo dillo al frontend lol\"}rt+=ut===Y.availabilityTimes[Y.availabilityTimes.length-1]?\": \"+w:\": \"+w+\", \"}),rt}isNan(Y){return Number.isNaN(Y)?0:Y}}return L.\\u0275fac=function(Y){return new(Y||L)(r.Y36(t.uw),r.Y36(Z.f),r.Y36(q.sK),r.Y36(t.WI),r.Y36(m.m))},L.\\u0275cmp=r.Xpm({type:L,selectors:[[\"app-pricing-operatorid-dialog\"]],viewQuery:function(Y,rt){if(1&Y&&(r.Gf(_.NW,5),r.Gf(f.YE,5)),2&Y){let ut;r.iGM(ut=r.CRH())&&(rt.matPaginator=ut.first),r.iGM(ut=r.CRH())&&(rt.sort=ut.first)}},inputs:{pricingData:\"pricingData\"},decls:4,vars:2,consts:[[4,\"ngIf\",\"ngIfElse\"],[\"main\",\"\"],[2,\"display\",\"grid\",\"grid-template-columns\",\"33.33% 33.33% 33.33%\"],[2,\"padding\",\"1em\",\"font-size\",\"2em\",\"font-weight\",\"200\",\"color\",\"#1b00b1a1\"],[2,\"text-align\",\"center\"],[\"src\",\"https://cdn2.iconfinder.com/data/icons/miscellaneous-31/60/price-tag-512.png\",\"height\",\"100\"],[2,\"justify-self\",\"flex-end\"],[1,\"buttonX\",3,\"click\"],[\"width\",\"45px\",\"height\",\"45px\",\"viewBox\",\"0 0 24 24\",\"fill\",\"none\",\"xmlns\",\"http://www.w3.org/2000/svg\"],[\"id\",\"SVGRepo_bgCarrier\",\"stroke-width\",\"0\"],[\"id\",\"SVGRepo_tracerCarrier\",\"stroke-linecap\",\"round\",\"stroke-linejoin\",\"round\",\"stroke\",\"#CCCCCC\",\"stroke-width\",\"0.9120000000000001\"],[\"id\",\"SVGRepo_iconCarrier\"],[\"d\",\"M9.16998 14.83L14.83 9.17004\",\"stroke\",\"#ff0000\",\"stroke-width\",\"1.5\",\"stroke-linecap\",\"round\",\"stroke-linejoin\",\"round\"],[\"d\",\"M14.83 14.83L9.16998 9.17004\",\"stroke\",\"#ff0000\",\"stroke-width\",\"1.5\",\"stroke-linecap\",\"round\",\"stroke-linejoin\",\"round\"],[\"d\",\"M9 22H15C20 22 22 20 22 15V9C22 4 20 2 15 2H9C4 2 2 4 2 9V15C2 20 4 22 9 22Z\",\"stroke\",\"#ff0000\",\"stroke-width\",\"1.5\",\"stroke-linecap\",\"round\",\"stroke-linejoin\",\"round\"],[1,\"container-fluid\",\"default-mt-btn\",\"default-mt-table\",\"default-mt-select\",\"default-autocomplete\",\"default-mt-spinner\"],[\"cdkFocusInitial\",\"\",1,\"row\"],[1,\"col-xl-12\",\"col-xxl-12\"],[1,\"card\"],[1,\"header-cell\",\"top\"],[\"mat-raised-button\",\"\",1,\"button\",3,\"click\"],[1,\"flaticon-067-plus\",2,\"color\",\"#6C757D\"],[\"translate\",\"\",2,\"color\",\"#6C757D\"],[1,\"mat-elevation-z8\",\"table-responsive\"],[\"matTableResponsive\",\"\",\"mat-table\",\"\",\"matSort\",\"\",3,\"hidden\",\"dataSource\"],[\"matColumnDef\",\"productID\"],[\"mat-header-cell\",\"\",\"mat-sort-header\",\"\",\"class\",\"header-cell\",4,\"matHeaderCellDef\"],[\"mat-cell\",\"\",4,\"matCellDef\"],[\"matColumnDef\",\"startingEur\"],[\"matColumnDef\",\"eur_KWH\"],[\"matColumnDef\",\"eur_MIN\"],[\"matColumnDef\",\"parkingEur_MIN\"],[\"matColumnDef\",\"reservationCost\"],[\"matColumnDef\",\"minimumFee\"],[\"matColumnDef\",\"fixedFee\"],[\"matColumnDef\",\"maximumFee\"],[\"matColumnDef\",\"availabilityTimes\"],[\"mat-header-cell\",\"\",\"class\",\"header-cell\",4,\"matHeaderCellDef\"],[\"matColumnDef\",\"actions\"],[\"mat-header-row\",\"\",4,\"matHeaderRowDef\"],[\"mat-row\",\"\",4,\"matRowDef\",\"matRowDefColumns\"],[\"class\",\"mat-row\",4,\"matNoDataRow\"],[\"showFirstLastButtons\",\"\",3,\"pageSizeOptions\",\"pageSize\"],[\"mat-header-cell\",\"\",\"mat-sort-header\",\"\",1,\"header-cell\"],[\"mat-cell\",\"\"],[\"mat-header-cell\",\"\",1,\"header-cell\"],[1,\"actions\"],[1,\"btn-toolbar\"],[1,\"btn-group\"],[\"mat-raised-button\",\"\",3,\"click\"],[1,\"flaticon-062-pencil\",2,\"color\",\"#6C757D\"],[2,\"color\",\"#6C757D\"],[1,\"flaticon-381-trash\",2,\"color\",\"#6C757D\"],[\"mat-header-row\",\"\"],[\"mat-row\",\"\"],[1,\"mat-row\"],[\"colspan\",\"4\",1,\"mat-cell\"]],template:function(Y,rt){if(1&Y&&(r.TgZ(0,\"body\"),r.YNc(1,M,1,0,\"app-loading-screen\",0),r.YNc(2,Pt,71,11,\"ng-template\",null,1,r.W1O),r.qZA()),2&Y){const ut=r.MAs(3);r.xp6(1),r.Q6J(\"ngIf\",rt.isLoading)(\"ngIfElse\",ut)}},directives:[I.O5,B.g,t.xY,W.lW,q.Pi,u.BZ,z.F,f.YE,u.w1,u.fO,u.Dz,u.as,u.nj,u.Ee,_.NW,u.ge,f.nU,u.ev,u.XQ,u.Gk],pipes:[q.X$],styles:[\"table[_ngcontent-%COMP%]{width:100%}[_nghost-%COMP%] .mat-sort-header-container{display:flex;justify-content:center;padding-left:18px}.top[_ngcontent-%COMP%]{padding-bottom:2em}.actions[_ngcontent-%COMP%]{padding-top:1em;padding-bottom:1em}.btn-toolbar[_ngcontent-%COMP%]{display:inline;flex-wrap:wrap;justify-content:flex-start}.header-cell[_ngcontent-%COMP%], td[_ngcontent-%COMP%], th[_ngcontent-%COMP%]{text-align:center;align-items:center;justify-content:center}.mat-form-field[_ngcontent-%COMP%]{font-size:14px;width:100%}.left[_ngcontent-%COMP%]{padding-top:.75em;padding-left:.25em;float:left}@media (max-width: 1090px){img[_ngcontent-%COMP%]{width:0em;height:0em}.table[_ngcontent-%COMP%] thead[_ngcontent-%COMP%]{display:none}.table[_ngcontent-%COMP%], .table[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%], .table[_ngcontent-%COMP%] tr[_ngcontent-%COMP%], .table[_ngcontent-%COMP%] td[_ngcontent-%COMP%]{display:block;width:100%}.table[_ngcontent-%COMP%] tr[_ngcontent-%COMP%]{margin-bottom:15px}.table[_ngcontent-%COMP%] td[_ngcontent-%COMP%]{padding-left:50%;text-align:right;position:relative}.table[_ngcontent-%COMP%] td[_ngcontent-%COMP%]:before{content:attr(data-label);position:absolute;left:0;width:50%;padding-left:15px;font-size:15px;font-weight:bold;text-align:left}.mat-table[matTableResponsive][_ngcontent-%COMP%] .mat-header-row[_ngcontent-%COMP%]{display:block;flex-wrap:wrap;height:auto;position:sticky;top:0;z-index:2}.mat-table[matTableResponsive][_ngcontent-%COMP%] .mat-header-row[_ngcontent-%COMP%] th.mat-header-cell[_ngcontent-%COMP%]{display:none;flex:1;align-items:center;padding:1rem .5rem;justify-content:left}.mat-table[matTableResponsive][_ngcontent-%COMP%] .mat-header-row[_ngcontent-%COMP%] th.mat-header-cell[_ngcontent-%COMP%] > .mat-sort-header-container[_ngcontent-%COMP%]{padding-left:15px}.mat-table[matTableResponsive][_ngcontent-%COMP%] .mat-header-row[_ngcontent-%COMP%] th.mat-header-cell[_ngcontent-%COMP%]:not([mat-sort-header]), .mat-table[matTableResponsive][_ngcontent-%COMP%] .mat-header-row[_ngcontent-%COMP%] th.mat-header-cell.mat-sort-header-disabled[_ngcontent-%COMP%], .mat-table[matTableResponsive][_ngcontent-%COMP%] .mat-header-row[_ngcontent-%COMP%] th.mat-header-cell.mat-column-actions[_ngcontent-%COMP%]{display:none}.mat-table[matTableResponsive][_ngcontent-%COMP%] .mat-row[_ngcontent-%COMP%]{height:auto}.mat-table[matTableResponsive][_ngcontent-%COMP%] .mat-row[_ngcontent-%COMP%] td.mat-cell[_ngcontent-%COMP%]:not(.mat-column-actions){display:grid;grid-template-columns:50% 50%;padding:.5rem;text-align:right;word-break:break-word}.mat-table[matTableResponsive][_ngcontent-%COMP%] .mat-row[_ngcontent-%COMP%] td.mat-cell[_ngcontent-%COMP%]:not(.mat-column-actions) > *[_ngcontent-%COMP%]{grid-column:2}.mat-table[matTableResponsive][_ngcontent-%COMP%] .mat-row[_ngcontent-%COMP%] td.mat-cell[_ngcontent-%COMP%]:not(.mat-column-actions):before{content:attr(data-column-name);text-align:left}.mat-table[matTableResponsive][_ngcontent-%COMP%] .mat-row[_ngcontent-%COMP%] td.mat-column-actions[_ngcontent-%COMP%]{display:flex;justify-content:center;padding:0 .5rem}.mat-table[matTableResponsive][_ngcontent-%COMP%] .mat-row[_ngcontent-%COMP%] td.mat-column-actions[_ngcontent-%COMP%] > button[_ngcontent-%COMP%]{margin:.5rem 0}.mat-table[matTableResponsive][_ngcontent-%COMP%] .mat-row[_ngcontent-%COMP%]:last-of-type td[_ngcontent-%COMP%]:last-of-type{border:none}.mat-table[matTableResponsive][_ngcontent-%COMP%] .mat-row[_ngcontent-%COMP%]:not(:last-of-type) td[_ngcontent-%COMP%]:last-of-type{border-bottom:.5rem solid #6C757D}.mat-card[_ngcontent-%COMP%] .mat-table[matTableResponsive][_ngcontent-%COMP%], .mat-expansion-panel[_ngcontent-%COMP%] .mat-table[matTableResponsive][_ngcontent-%COMP%]{border:.5rem solid #6C757D}.d[_ngcontent-%COMP%]{text-align:left}}\"]}),L})()},87528:(st,J,c)=>{\"use strict\";c.d(J,{q:()=>N});var p=c(97582),t=c(32091),u=c(99692),_=c(34323),x=c(5108),g=c(17238),i=c(11494),f=c(37716),r=c(22238),Z=c(2049);function q(C,l){1&C&&(f.TgZ(0,\"div\",28),f._UZ(1,\"app-loading-screen\"),f.qZA())}function m(C,l){1&C&&(f.TgZ(0,\"th\",29),f._uU(1),f.ALo(2,\"translate\"),f.qZA()),2&C&&(f.xp6(1),f.Oqu(f.lcZ(2,1,\"operator_id\")))}function I(C,l){if(1&C){const O=f.EpF();f.TgZ(0,\"td\",30),f.NdJ(\"click\",function(){const b=f.CHM(O).$implicit;return f.oxw().openGroup(b.operatorCost.operatorID)}),f._uU(1),f.qZA()}if(2&C){const O=l.$implicit;f.xp6(1),f.hij(\" \",O.operatorCost.operatorID,\" \")}}function B(C,l){1&C&&(f.TgZ(0,\"th\",29),f._uU(1),f.ALo(2,\"translate\"),f.qZA()),2&C&&(f.xp6(1),f.Oqu(f.lcZ(2,1,\"n_prod\")))}function W(C,l){if(1&C){const O=f.EpF();f.TgZ(0,\"td\",30),f.NdJ(\"click\",function(){const b=f.CHM(O).$implicit;return f.oxw().openGroup(b.operatorCost.operatorID)}),f._uU(1),f.qZA()}if(2&C){const O=l.$implicit;f.xp6(1),f.hij(\" \",O.operatorCost.count,\" \")}}function z(C,l){if(1&C&&(f.TgZ(0,\"td\",31),f.TgZ(1,\"div\",32),f.TgZ(2,\"div\",33),f._UZ(3,\"app-pricing-operatorid-dialog\",34),f.qZA(),f.qZA(),f.qZA()),2&C){const O=l.$implicit,T=f.oxw();f.uIk(\"colspan\",T.displayedColumns.length),f.xp6(1),f.Q6J(\"@detailExpand\",O==T.expandedElement?\"expanded\":\"collapsed\"),f.xp6(2),f.Q6J(\"pricingData\",O)}}function M(C,l){1&C&&f._UZ(0,\"tr\",35)}function X(C,l){if(1&C){const O=f.EpF();f.TgZ(0,\"tr\",36),f.NdJ(\"click\",function(){const b=f.CHM(O).$implicit,et=f.oxw();return et.expandedElement=et.expandedElement===b?null:b}),f.qZA()}if(2&C){const O=l.$implicit,T=f.oxw();f.ekj(\"example-expanded-row\",T.expandedElement===O)}}const j=function(){return[5,10,25,50,100]};let N=(()=>{class C{constructor(O,T){this.dialog=O,this.pricingService=T,this.dataSource=new t.by,this.displayedColumns=[\"operatorID\",\"count\"],this.color=\"warn\",this.mode=\"indeterminate\",this.isLoading=!0}ngOnInit(){return(0,p.mG)(this,void 0,void 0,function*(){this.isLoading=!0,yield this.read().then(()=>{this.isLoading=!1})})}refreshPage(){return(0,p.mG)(this,void 0,void 0,function*(){yield this.read()})}read(){return(0,p.mG)(this,void 0,void 0,function*(){this.isLoading=!0;const O=yield this.pricingService.getAllOperatorIds().toPromise();this.dataSource.data=O.map(T=>(console.log(T),{operatorCost:T,loadIt:!1})),console.log(this.dataSource.data),this.dataSource.paginator=this.paginator,this.dataSource.sortingDataAccessor=(T,k)=>T.operatorCost[k],this.dataSource.sort=this.sort,this.isLoading=!1})}openGroup(O){this.dialog.open(_.h,{width:\"80vw\",data:{operatorID:O}}).afterClosed().toPromise().then(()=>this.read())}addPricing(){this.update=!1,this.dialog.open(x.h,{maxHeight:\"100vh\",minWidth:\"65vw\",disableClose:!0,data:{update:this.update,pricing:null,operatorID:null}}).afterClosed().toPromise().then(()=>this.read())}}return C.\\u0275fac=function(O){return new(O||C)(f.Y36(r.uw),f.Y36(Z.f))},C.\\u0275cmp=f.Xpm({type:C,selectors:[[\"app-pricing\"]],viewQuery:function(O,T){if(1&O&&(f.Gf(u.NW,5),f.Gf(i.YE,5)),2&O){let k;f.iGM(k=f.CRH())&&(T.paginator=k.first),f.iGM(k=f.CRH())&&(T.sort=k.first)}},decls:44,vars:17,consts:[[1,\"content-body\"],[1,\"container-fluid\",\"default-mt-btn\",\"default-mt-table\",\"default-mt-select\",\"default-autocomplete\",\"default-mt-spinner\"],[1,\"header-cell\",\"top\"],[\"mat-raised-button\",\"\",1,\"button\",3,\"click\"],[1,\"flaticon-067-plus\",2,\"color\",\"#6C757D\"],[\"translate\",\"\",2,\"color\",\"#6C757D\"],[2,\"padding-bottom\",\"1%\"],[\"ngbDropdown\",\"\"],[\"mat-raised-button\",\"\",3,\"click\"],[1,\"fas\",\"fa-redo\",2,\"color\",\"#6C757D\"],[1,\"row\"],[1,\"col-xl-12\",\"col-xxl-12\"],[1,\"card\"],[1,\"card-header\",\"d-block\"],[1,\"fs-32\",\"card-title\",\"left\",\"text-black\"],[1,\"card-body\"],[1,\"mat-elevation-z8\",\"table-responsive\"],[\"class\",\"loading\",4,\"ngIf\"],[\"matTableResponsive\",\"\",\"mat-table\",\"\",\"matSort\",\"\",\"multiTemplateDataRows\",\"\",3,\"hidden\",\"dataSource\"],[\"matColumnDef\",\"operatorID\"],[\"mat-header-cell\",\"\",\"mat-sort-header\",\"\",\"class\",\"header-cell\",4,\"matHeaderCellDef\"],[\"mat-cell\",\"\",3,\"click\",4,\"matCellDef\"],[\"matColumnDef\",\"count\"],[\"matColumnDef\",\"expandedDetail\"],[\"mat-cell\",\"\",4,\"matCellDef\"],[\"mat-header-row\",\"\",4,\"matHeaderRowDef\"],[\"mat-row\",\"\",\"class\",\"example-element-row\",3,\"example-expanded-row\",\"click\",4,\"matRowDef\",\"matRowDefColumns\"],[\"showFirstLastButtons\",\"\",3,\"pageSizeOptions\",\"pageSize\"],[1,\"loading\"],[\"mat-header-cell\",\"\",\"mat-sort-header\",\"\",1,\"header-cell\"],[\"mat-cell\",\"\",3,\"click\"],[\"mat-cell\",\"\"],[1,\"example-element-detail\"],[1,\"full\"],[3,\"pricingData\"],[\"mat-header-row\",\"\"],[\"mat-row\",\"\",1,\"example-element-row\",3,\"click\"]],template:function(O,T){1&O&&(f.TgZ(0,\"div\",0),f.TgZ(1,\"div\",1),f.TgZ(2,\"div\",2),f.TgZ(3,\"button\",3),f.NdJ(\"click\",function(){return T.addPricing()}),f._UZ(4,\"i\",4),f._uU(5,\"\\xa0 \"),f.TgZ(6,\"span\",5),f._uU(7),f.ALo(8,\"translate\"),f.qZA(),f.qZA(),f._UZ(9,\"div\",6),f.TgZ(10,\"div\",7),f.TgZ(11,\"button\",8),f.NdJ(\"click\",function(){return T.refreshPage()}),f._UZ(12,\"i\",9),f._uU(13,\"\\xa0 \"),f.qZA(),f._uU(14,\"\\xa0 \"),f.qZA(),f.qZA(),f.TgZ(15,\"div\",10),f.TgZ(16,\"div\",11),f.TgZ(17,\"div\",12),f.TgZ(18,\"div\",13),f.TgZ(19,\"h4\",14),f._uU(20),f.ALo(21,\"translate\"),f.qZA(),f.qZA(),f.TgZ(22,\"div\",15),f.TgZ(23,\"div\",16),f.YNc(24,q,2,0,\"div\",17),f.TgZ(25,\"table\",18),f.ynx(26,19),f.YNc(27,m,3,3,\"th\",20),f.YNc(28,I,2,1,\"td\",21),f.BQk(),f.ynx(29,22),f.YNc(30,B,3,3,\"th\",20),f.YNc(31,W,2,1,\"td\",21),f.BQk(),f.ynx(32,23),f.YNc(33,z,4,3,\"td\",24),f.BQk(),f.YNc(34,M,1,0,\"tr\",25),f.YNc(35,X,1,2,\"tr\",26),f.qZA(),f._UZ(36,\"mat-paginator\",27),f.qZA(),f.qZA(),f.qZA(),f.qZA(),f.qZA(),f.TgZ(37,\"div\",2),f.TgZ(38,\"button\",3),f.NdJ(\"click\",function(){return T.addPricing()}),f._UZ(39,\"i\",4),f._uU(40,\"\\xa0 \"),f.TgZ(41,\"span\",5),f._uU(42),f.ALo(43,\"translate\"),f.qZA(),f.qZA(),f.qZA(),f.qZA(),f.qZA()),2&O&&(f.xp6(7),f.Oqu(f.lcZ(8,10,\"add_pricing\")),f.xp6(13),f.Oqu(f.lcZ(21,12,\"prezzi\")),f.xp6(4),f.Q6J(\"ngIf\",T.isLoading),f.xp6(1),f.Q6J(\"hidden\",T.isLoading)(\"dataSource\",T.dataSource),f.xp6(9),f.Q6J(\"matHeaderRowDef\",T.displayedColumns),f.xp6(1),f.Q6J(\"matRowDefColumns\",T.displayedColumns),f.xp6(1),f.Q6J(\"pageSizeOptions\",f.DdM(16,j))(\"pageSize\",25),f.xp6(6),f.Oqu(f.lcZ(43,14,\"add_pricing\")))},styles:[\"table[_ngcontent-%COMP%], .full[_ngcontent-%COMP%]{width:100%}[_nghost-%COMP%] .mat-sort-header-container{display:flex;justify-content:center;padding-left:18px}.header-cell[_ngcontent-%COMP%], td[_ngcontent-%COMP%], th[_ngcontent-%COMP%]{text-align:center;align-items:center;justify-content:center}button[_ngcontent-%COMP%]{color:#5c8548!important}.top[_ngcontent-%COMP%]{padding-bottom:2em}tr.example-detail-row[_ngcontent-%COMP%]{height:0}tr.example-element-row[_ngcontent-%COMP%]:not(.example-expanded-row):hover{background:whitesmoke}tr.example-element-row[_ngcontent-%COMP%]:not(.example-expanded-row):active{background:#efefef}.example-element-row[_ngcontent-%COMP%] td[_ngcontent-%COMP%]{border-bottom-width:0}.example-element-detail[_ngcontent-%COMP%]{overflow:hidden;display:flex}.left[_ngcontent-%COMP%]{float:left;font-size:2vw}@media (max-width: 1090px){.mat-table[matTableResponsive][_ngcontent-%COMP%] .mat-header-row[_ngcontent-%COMP%]{display:block;flex-wrap:wrap;height:auto;position:sticky;top:0;z-index:2}.mat-table[matTableResponsive][_ngcontent-%COMP%] .mat-header-row[_ngcontent-%COMP%] th.mat-header-cell[_ngcontent-%COMP%]{display:none;flex:1;align-items:center;padding:1rem .5rem;justify-content:left}.mat-table[matTableResponsive][_ngcontent-%COMP%] .mat-header-row[_ngcontent-%COMP%] th.mat-header-cell[_ngcontent-%COMP%] > .mat-sort-header-container[_ngcontent-%COMP%]{padding-left:15px}.mat-table[matTableResponsive][_ngcontent-%COMP%] .mat-header-row[_ngcontent-%COMP%] th.mat-header-cell[_ngcontent-%COMP%]:not([mat-sort-header]), .mat-table[matTableResponsive][_ngcontent-%COMP%] .mat-header-row[_ngcontent-%COMP%] th.mat-header-cell.mat-sort-header-disabled[_ngcontent-%COMP%], .mat-table[matTableResponsive][_ngcontent-%COMP%] .mat-header-row[_ngcontent-%COMP%] th.mat-header-cell.mat-column-actions[_ngcontent-%COMP%]{display:none}.mat-table[matTableResponsive][_ngcontent-%COMP%] .mat-row[_ngcontent-%COMP%]{height:auto}.mat-table[matTableResponsive][_ngcontent-%COMP%] .mat-row[_ngcontent-%COMP%] td.mat-cell[_ngcontent-%COMP%]:not(.mat-column-actions){display:grid;grid-template-columns:50% 50%;padding:.5rem;text-align:right;word-break:break-word}.mat-table[matTableResponsive][_ngcontent-%COMP%] .mat-row[_ngcontent-%COMP%] td.mat-cell[_ngcontent-%COMP%]:not(.mat-column-actions) > *[_ngcontent-%COMP%]{grid-column:2}.mat-table[matTableResponsive][_ngcontent-%COMP%] .mat-row[_ngcontent-%COMP%] td.mat-cell[_ngcontent-%COMP%]:not(.mat-column-actions):before{content:attr(data-column-name);text-align:left}.mat-table[matTableResponsive][_ngcontent-%COMP%] .mat-row[_ngcontent-%COMP%] td.mat-column-actions[_ngcontent-%COMP%]{display:flex;justify-content:center;padding:0 .5rem}.mat-table[matTableResponsive][_ngcontent-%COMP%] .mat-row[_ngcontent-%COMP%] td.mat-column-actions[_ngcontent-%COMP%] > button[_ngcontent-%COMP%]{margin:.5rem 0}.mat-table[matTableResponsive][_ngcontent-%COMP%] .mat-row[_ngcontent-%COMP%]:last-of-type td[_ngcontent-%COMP%]:last-of-type{border:none}.mat-table[matTableResponsive][_ngcontent-%COMP%] .mat-row[_ngcontent-%COMP%]:not(:last-of-type) td[_ngcontent-%COMP%]:last-of-type{border-bottom:.5rem solid #6C757D}.mat-card[_ngcontent-%COMP%] .mat-table[matTableResponsive][_ngcontent-%COMP%], .mat-expansion-panel[_ngcontent-%COMP%] .mat-table[matTableResponsive][_ngcontent-%COMP%]{border:.5rem solid #6C757D}}\"],data:{animation:[(0,g.X$)(\"detailExpand\",[(0,g.SB)(\"collapsed\",(0,g.oB)({height:\"0px\",minHeight:\"0\"})),(0,g.SB)(\"expanded\",(0,g.oB)({height:\"*\"})),(0,g.eR)(\"expanded <=> collapsed\",(0,g.jt)(\"225ms cubic-bezier(0.4, 0.0, 0.2, 1)\"))])]}}),C})()},37556:(st,J,c)=>{\"use strict\";c.d(J,{e:()=>W});var p=c(97582),t=c(92340),u=c(91841),_=c(5304),x=c(26215),g=c(64841),i=c.n(g),f=c(37716),r=c(27339),Z=c(18345),q=c(63423),m=c(39801),I=c(99766),B=c(29790);let W=(()=>{class z{constructor(X,j,pt,N,C,l,O){this.http=X,this.errorsService=j,this.local=pt,this.router=N,this.dataEmpCpoService=C,this.notifyService=l,this.translate=O,this.isLoadingCpo=!1,this.cpoObservable=new x.X(null),this.userObservable=new x.X(null),this.local.getToken()&&this.synchUserInfo().then(()=>{this.userSubscription=this.userObservable.subscribe(T=>(0,p.mG)(this,void 0,void 0,function*(){}))}),console.log(this.userSubscription)}ngOnDestroy(){this.userSubscription.unsubscribe(),this.cpoSubscription.unsubscribe()}login(X,j){return(0,p.mG)(this,void 0,void 0,function*(){try{const N={headers:new u.WM({accept:\"*/*\"})};let C=yield this.http.post(`${t.N.apiUrl}/${t.N.loginPath}`,{username:X,password:j},N).toPromise();return console.warn(C.message),\"Invalid credentials\"==C.message?(this.notifyService.showWarning(this.translate.instant(\"psw_err\"),this.translate.instant(\"errore\")),C=C.token):\"User not found\"==C.message?this.notifyService.showWarning(this.translate.instant(\"us_not_found\"),this.translate.instant(\"errore\")):(null!=C.token||this.notifyService.showError(this.translate.instant(\"semplice_err\"),this.translate.instant(\"errore\")),C=C.token),this.local.setToken(C),C.startsWith(\"BeaglePlug\")&&(this.local.setToken(C),yield this.synchUserInfo(),console.log(\"barrbabr\"+this.user.role),\"CPO\"===this.user.role||\"CPOCONFIRM\"===this.user.role?yield this.synchCpoInfo():console.log(\"sono un admin\")),C}catch(pt){console.error(pt.message)}})}isValidToken(){return this.http.get(`${t.N.apiUrl}/check/jwt`).pipe((0,_.K)(this.errorsService.handleError))}forgotPassword(X){return this.http.post(`${t.N.apiUrl}/${t.N.managementPath}/password/forgot/forgotP/${X}`,{})}resetPassword(X,j){return this.http.post(`${t.N.apiUrl}/${t.N.managementPath}/password/forgot/reset/${X}`,j,{responseType:\"text\"})}synchCpoInfo(){return(0,p.mG)(this,void 0,void 0,function*(){try{this.dataEmpCpo=yield this.dataEmpCpoService.getDataEmpCpoById().toPromise()}catch(j){this.notifyService.showError(this.translate.instant(\"semplice_err\"),this.translate.instant(\"errore\")),console.error(j.message)}i().config.encrypt=!0,this.cpoObservable.next(this.dataEmpCpo),i().set(\"dataEmpCpo\",JSON.stringify(this.dataEmpCpo),{encrypt:!0}),i().set(\"tenantId\",JSON.stringify(this.dataEmpCpo.tenantId),{encrypt:!0}),console.log(this.user),console.log(this.user.subOperator),localStorage.setItem(\"QlikSheet\",this.dataEmpCpo.qlik_sheet_id),localStorage.setItem(\"AppIdQLik\",this.dataEmpCpo.qlik_app_id);const X=JSON.stringify(this.dataEmpCpo.qlik_enabled);localStorage.setItem(\"QlikEnabled\",X),i().set(\"cpo\",this.user.idCpo,{encrypt:!0}),i().set(\"subOperator\",this.user.subOperator,{encrypt:!0}),i().set(\"ragioneSociale\",this.dataEmpCpo.ragioneSociale,{encrypt:!0})})}synchUserInfo(){return(0,p.mG)(this,void 0,void 0,function*(){try{this.user=yield this.http.get(`${t.N.apiUrl}/get/user`).toPromise(),i().set(\"user\",this.user,{encrypt:!0})}catch(X){this.notifyService.showError(this.translate.instant(\"semplice_err\"),this.translate.instant(\"errore\")),console.error(X.message)}try{this.userObservable.next(this.user),this.local.setRole(this.user.role),this.local.setName(this.user.name),i().set(\"email\",this.user.email,{encrypt:!0}),this.user.tech?i().set(\"tech\",\"true\",{encrypt:!0}):i().set(\"tech\",\"false\",{encrypt:!0})}catch(X){this.notifyService.showError(this.translate.instant(\"semplice_err\"),this.translate.instant(\"errore\")),console.error(X.message)}})}logout(){this.dataEmpCpo=null,this.cpoObservable.next(null),this.local.clear(),this.router.navigate([\"/\"]).then(()=>{})}back(){this.router.navigate([\"./selectCpo\"])}reset(){this.lang=this.local.getLang(),this.local.clear(),this.local.setLang(this.lang)}isAuthenticated(){return null!=this.local.getToken()}}return z.\\u0275fac=function(X){return new(X||z)(f.LFG(u.eN),f.LFG(r.r),f.LFG(Z.n),f.LFG(q.F0),f.LFG(m.c),f.LFG(I.m),f.LFG(B.sK))},z.\\u0275prov=f.Yz7({token:z,factory:z.\\u0275fac,providedIn:\"root\"}),z})()},72342:(st,J,c)=>{\"use strict\";c.d(J,{K:()=>g});var p=c(92340),t=c(5304),u=c(37716),_=c(91841),x=c(27339);let g=(()=>{class i{constructor(r,Z){this.http=r,this.errorsService=Z}add(r,Z){return this.http.post(`${p.N.apiUrl}/${p.N.ocppPath}/chargepoints/add?manualAddressFrontend=${Z}`,r).pipe((0,t.K)(this.errorsService.handleError))}getTeamStationMap(r){return this.http.post(`${p.N.apiUrl}/oicp/api/oicp/getTeamStation`,{id:r}).pipe((0,t.K)(this.errorsService.handleError))}getAllCps(r,Z,q){return this.http.get(`${p.N.apiUrl}/${p.N.ocppPath}/chargepoints/getAll?page=`+r+\"&size=\"+Z+\"&status=\"+q).pipe((0,t.K)(this.errorsService.handleError))}getAllCpsNP(){return this.http.get(`${p.N.apiUrl}/${p.N.ocppPath}/chargepoints/getAll/np`).pipe((0,t.K)(this.errorsService.handleError))}getAllCpsByIdCpoNP(r){return this.http.get(`${p.N.apiUrl}/${p.N.ocppPath}/chargepoints/allCpms/np?idCpo=`+r).pipe((0,t.K)(this.errorsService.handleError))}getAllCpsByIdCpo(r,Z,q,m){return this.http.get(`${p.N.apiUrl}/${p.N.ocppPath}/chargepoints/allCpms?idCpo=`+r+\"&page=\"+Z+\"&size=\"+q+\"&status=\"+m).pipe((0,t.K)(this.errorsService.handleError))}getAll(){return this.http.get(`${p.N.apiUrl}/${p.N.ocppPath}/chargepoints/all/filter/np`).pipe((0,t.K)(this.errorsService.handleError))}getCpoAll(r,Z,q,m){return this.http.get(`${p.N.apiUrl}/${p.N.ocppPath}/chargepoints/all/filter/cpo/np?idCpo=`+r).pipe((0,t.K)(this.errorsService.handleError))}getCpoWithSubCpo(r,Z,q,m){return this.http.get(`${p.N.apiUrl}/${p.N.ocppPath}/chargepoints/all/cp/filter/subCpo?idCpo=`+r+\"&page=\"+Z+\"&size=\"+q+\"&status=\"+m).pipe((0,t.K)(this.errorsService.handleError))}getAllChargeBoxIds(){return this.http.get(`${p.N.apiUrl}/${p.N.ocppPath}/chargepoints/allchargeboxids`).pipe((0,t.K)(this.errorsService.handleError))}getAllChargeBoxIdAndDescription(){return this.http.get(`${p.N.apiUrl}/${p.N.ocppPath}/chargepoints/allchargeboxids-description`).pipe((0,t.K)(this.errorsService.handleError))}getAllCpoChargeBoxIds(r){return this.http.get(`${p.N.apiUrl}/${p.N.ocppPath}/chargepoints/allchargeboxids?idCpo=`+r).pipe((0,t.K)(this.errorsService.handleError))}getAllCpoChargeBoxIdsByTenant(r){return this.http.get(`${p.N.apiUrl}/${p.N.ocppPath}/chargepoints/allchargeboxids/tenantCpo?tenantCpo=`+r).pipe((0,t.K)(this.errorsService.handleError))}update(r,Z){return this.http.put(`${p.N.apiUrl}/${p.N.ocppPath}/chargepoints/update/${r}`,Z).pipe((0,t.K)(this.errorsService.handleError))}getByChargeBoxId(r){return this.http.get(`${p.N.apiUrl}/${p.N.ocppPath}/chargepoints/chargebox/${r}`).pipe((0,t.K)(this.errorsService.handleError))}getChargePointBySubOperator(r){return this.http.get(`${p.N.apiUrl}/${p.N.ocppPath}/chargepoints/subOperators/${r}`).pipe((0,t.K)(this.errorsService.handleError))}getDataByChargeBoxId(r,Z,q){return this.http.get(`${p.N.apiUrl}/${p.N.ocppPath}/chargepoints/data/chargeBoxId/${r}?from=${Z}&to=${q}`).pipe((0,t.K)(this.errorsService.handleError))}delete(r){return this.http.delete(`${p.N.apiUrl}/${p.N.ocppPath}/chargepoints/delete/${r}`).pipe((0,t.K)(this.errorsService.handleError))}getCpTeamStation(r,Z,q){return this.http.get(`${p.N.apiUrl}/${p.N.ocppPath}/chargepoints/all/${r}/${Z}/${q}?status=Available&status=Unavailable&status=OutOfService&status=Unknown&status=EvseNotFound&status=Reserved&status=Occupied&status=Charging&networks=BeaglePlug&networks=Hubject&emobility=false&eco=false&take=25&connectorType=TIPO1&connectorType=TIPO2&connectorType=TIPO3A&connectorType=TIPO3C&connectorType=TESLA&connectorType=SCHUKO&connectorType=CHAdeMO&connectorType=CCSCOMBO1&connectorType=CCSCOMBO2&connectorType=OTHER&take=25&minLimit=0¤tType=AC&maxLimit=500&operator=IT-BPA`).pipe((0,t.K)(this.errorsService.handleError))}setCpCost(r,Z,q,m){return this.http.put(`${p.N.apiUrl}/${p.N.ocppPath}/chargepoints/modifyCostProfile/${r}/${Z}/${q}/${m}`,{}).pipe((0,t.K)(this.errorsService.handleError))}setCpCostExternal(r,Z,q){return this.http.post(`${p.N.apiUrl}/oicp/cpo/api/oicp/cpo/pricing/${r}/${Z}/${q}`,{}).pipe((0,t.K)(this.errorsService.handleError))}setCpCostOcpi(r,Z,q){return this.http.put(`${p.N.apiUrl}/${p.N.ocppPath}/chargepoints/modifyOcpiTariff/${r}/${Z}/${q}`,{}).pipe((0,t.K)(this.errorsService.handleError))}getByChargesByRoaming(r){return this.http.get(`${p.N.apiUrl}/${p.N.ocppPath}/chargepoints/byRoamingId/${r}`).pipe((0,t.K)(this.errorsService.handleError))}enableInternalRoaming(r){return this.http.post(`${p.N.apiUrl}/${p.N.ocppPath}/roaming/internal/toggle/${r}`,{}).pipe((0,t.K)(this.errorsService.handleError))}enableExternalRoaming(r,Z){return this.http.post(`${p.N.apiUrl}/${p.N.ocppPath}/roaming/external/toggle/${r}/${Z}`,{}).pipe((0,t.K)(this.errorsService.handleError))}enableOcpiRoaming(r){return this.http.post(`${p.N.apiUrl}/${p.N.ocppPath}/roaming/ocpi/toggle/${r}`,{}).pipe((0,t.K)(this.errorsService.handleError))}getRoamingProduct(r,Z){return this.http.get(`${p.N.apiUrl}/api/oicp/cpo/evse/product/${r}/${Z}`).pipe((0,t.K)(this.errorsService.handleError))}getAuthChargepointEmp(r,Z,q){return this.http.get(`${p.N.apiUrl}/${p.N.ocppPath}/authorization/requests/emp?roaming=${r}&page=${Z}&size=${q}`).pipe((0,t.K)(this.errorsService.handleError))}getAuthChargepointCpo(r,Z){return this.http.get(`${p.N.apiUrl}/${p.N.ocppPath}/authorization/requests/cpo?page=${r}&size=${Z}`).pipe((0,t.K)(this.errorsService.handleError))}getAuthChargepointChargeboxId(r,Z,q){return this.http.get(`${p.N.apiUrl}/${p.N.ocppPath}/authorization/requests/cpo/${r}/?page=${Z}&size=${q}`)}getEvseData(r,Z){return this.http.get(`${p.N.apiUrl}/oicp/cpo/api/oicp/cpo/evse/product/obj/${r}/${Z}`).pipe((0,t.K)(this.errorsService.handleError))}getSortMeter(r,Z){return this.http.get(`${p.N.apiUrl}/${p.N.ocppPath}/chargepoints/sort/meter/${r}/${Z}`).pipe((0,t.K)(this.errorsService.handleError))}updateCpPartial(r,Z){return this.http.patch(`${p.N.apiUrl}/${p.N.ocppPath}/chargepoints/update/partial/${r}`,Z).pipe((0,t.K)(this.errorsService.handleError))}}return i.\\u0275fac=function(r){return new(r||i)(u.LFG(_.eN),u.LFG(x.r))},i.\\u0275prov=u.Yz7({token:i,factory:i.\\u0275fac,providedIn:\"root\"}),i})()},40898:(st,J,c)=>{\"use strict\";c.d(J,{e:()=>g});var p=c(92340),t=c(5304),u=c(37716),_=c(91841),x=c(27339);let g=(()=>{class i{constructor(r,Z){this.http=r,this.errorsService=Z}getList(r){return this.http.get(`${p.N.apiUrl}/${p.N.clusterPath}/listdata/`+r).pipe((0,t.K)(this.errorsService.handleError))}getListAsc(r){return this.http.get(`${p.N.apiUrl}/${p.N.clusterPath}/listdata/`+r+\"?asc\").pipe((0,t.K)(this.errorsService.handleError))}getById(r){return this.http.get(`${p.N.apiUrl}/${p.N.clusterPath}/data/`+r).pipe((0,t.K)(this.errorsService.handleError))}getStatData(r){return this.http.get(`${p.N.apiUrl}/${p.N.clusterPath}/data/`+r+\"?stat\").pipe((0,t.K)(this.errorsService.handleError))}}return i.\\u0275fac=function(r){return new(r||i)(u.LFG(_.eN),u.LFG(x.r))},i.\\u0275prov=u.Yz7({token:i,factory:i.\\u0275fac,providedIn:\"root\"}),i})()},79264:(st,J,c)=>{\"use strict\";c.d(J,{j:()=>g});var p=c(92340),t=c(5304),u=c(37716),_=c(91841),x=c(27339);let g=(()=>{class i{constructor(r,Z){this.http=r,this.errorsService=Z}add(r){return this.http.post(`${p.N.apiUrl}/${p.N.managementPath}/cpo/add`,r).pipe((0,t.K)(this.errorsService.handleError))}create(r){return this.http.post(`${p.N.apiUrl}/${p.N.managementPath}/cpo/create`,r).pipe((0,t.K)(this.errorsService.handleError))}getAllRagioneSociale(){return this.http.get(`${p.N.apiUrl}/${p.N.managementPath}/cpo/allragionesociale`).pipe((0,t.K)(this.errorsService.handleError))}getAllRagioneSocialeOnlyMain(){return this.http.get(`${p.N.apiUrl}/${p.N.managementPath}/cpo/allragionesociale?getMains=true`).pipe((0,t.K)(this.errorsService.handleError))}getCpoByRagioneSociale(r){return this.http.get(`${p.N.apiUrl}/${p.N.managementPath}/cpo/ragionesociale?ragioneSociale=`+r).pipe((0,t.K)(this.errorsService.handleError))}getAllAssociatedUsers(){return this.http.get(`${p.N.apiUrl}/${p.N.managementPath}/cpo/getAssociatedUsers/?idCpo=`).pipe((0,t.K)(this.errorsService.handleError))}createAssUsers(r){return this.http.post(`${p.N.apiUrl}/${p.N.managementPath}/security/createCpoUser/`,r).pipe((0,t.K)(this.errorsService.handleError))}updateAssUsers(r){return this.http.post(`${p.N.apiUrl}/${p.N.managementPath}/security/changePermissions/`+r.id,r.permissions).pipe((0,t.K)(this.errorsService.handleError))}deleteAssUsers(r){return this.http.delete(`${p.N.apiUrl}/${p.N.managementPath}/security/deleteCpoUser/`+r).pipe((0,t.K)(this.errorsService.handleError))}createSub(r){return this.http.post(`${p.N.apiUrl}/${p.N.managementPath}/subCpo/create`,r).pipe((0,t.K)(this.errorsService.handleError))}getAll(){return this.http.get(`${p.N.apiUrl}/${p.N.managementPath}/cpo/all`).pipe((0,t.K)(this.errorsService.handleError))}getAllCpoAndSubByTenant(r){return this.http.get(`${p.N.apiUrl}/${p.N.managementPath}/cpo/mainsub/list/internal/${r}`).pipe((0,t.K)(this.errorsService.handleError))}getAllSub(){return this.http.get(`${p.N.apiUrl}/${p.N.managementPath}/subCpo`).pipe((0,t.K)(this.errorsService.handleError))}getCpoById(r){return this.http.get(`${p.N.apiUrl}/${p.N.managementPath}/cpo/${r}`).pipe((0,t.K)(this.errorsService.handleError))}update(r,Z){return console.log(Z.cpo),this.http.put(`${p.N.apiUrl}/${p.N.managementPath}/cpo/update/`+r,Z).pipe((0,t.K)(this.errorsService.handleError))}getEvents(r,Z){return this.http.get(`${p.N.apiUrl}/${p.N.eventPath}/events?idCpo=`+r+\"&email=\"+Z).pipe((0,t.K)(this.errorsService.handleError))}getListEvents(){return this.http.get(`${p.N.apiUrl}/${p.N.eventPath}/events/list`).pipe((0,t.K)(this.errorsService.handleError))}subscribe(r,Z,q){return console.log(r+\" \"+Z),this.http.post(`${p.N.apiUrl}/${p.N.eventPath}/events`,{idCpo:r,email:Z,events:q}).pipe((0,t.K)(this.errorsService.handleError))}updateSub(r,Z){return this.http.put(`${p.N.apiUrl}/${p.N.managementPath}/subCpo/update/`+r,Z).pipe((0,t.K)(this.errorsService.handleError))}confirm(r,Z,q){return this.http.post(`${p.N.apiUrl}/${p.N.managementPath}/mgmt/confirm`,{idCpo:r,psw1:Z,psw2:q}).pipe((0,t.K)(this.errorsService.handleError))}setLogo(r,Z){return this.http.post(` ${p.N.apiUrl}/${p.N.managementPath}/cpo/logo/uploadImage/${r}`,Z)}delete(r){return this.http.delete(`${p.N.apiUrl}/${p.N.managementPath}/cpo/delete/`+r).pipe((0,t.K)(this.errorsService.handleError))}deleteSub(r){return this.http.delete(`${p.N.apiUrl}/${p.N.managementPath}/subCpo/delete/`+r).pipe((0,t.K)(this.errorsService.handleError))}linkCp(r,Z){return this.http.put(`${p.N.apiUrl}/${p.N.managementPath}/cpo/associateStation/`+r,Z).pipe((0,t.K)(this.errorsService.handleError))}unlinkCp(r){return this.http.put(`${p.N.apiUrl}/${p.N.managementPath}/cpo/dissociateStation`,r).pipe((0,t.K)(this.errorsService.handleError))}getMyCpoById(r){return this.http.get(`${p.N.apiUrl}/${p.N.managementPath}/cpoconfirm/${r}`).pipe((0,t.K)(this.errorsService.handleError))}linkUser(r,Z){return this.http.put(`${p.N.apiUrl}/${p.N.managementPath}/cpoconfirm/associate/${r}`,Z).pipe((0,t.K)(this.errorsService.handleError))}removeUserFromCpo(r,Z){return console.log(Z),this.http.put(`${p.N.apiUrl}/${p.N.managementPath}/cpoconfirm/dissociate/${r}`,Z).pipe((0,t.K)(this.errorsService.handleError))}confirmCpo(r,Z){return this.http.put(`${p.N.apiUrl}/${p.N.managementPath}/cpoconfirm/cpomatch/update/`+r,Z).pipe((0,t.K)(this.errorsService.handleError))}getSubCpoByTenant(r){return this.http.get(`${p.N.apiUrl}/${p.N.managementPath}/cpo/sub-tenant/${r}`).pipe((0,t.K)(this.errorsService.handleError))}}return i.\\u0275fac=function(r){return new(r||i)(u.LFG(_.eN),u.LFG(x.r))},i.\\u0275prov=u.Yz7({token:i,factory:i.\\u0275fac,providedIn:\"root\"}),i})()},12736:(st,J,c)=>{\"use strict\";c.d(J,{A:()=>t});var p=c(37716);let t=(()=>{class u{static exportToCsv(x,g){if(!g||!g.length)return;const f=Object.keys(g[0]),r=f.join(\",\")+\"\\n\"+g.map(q=>f.map(m=>{let I=null==q[m]?\"\":q[m];return I=I instanceof Date?I.toLocaleString():I.toString().replace(/\"/g,'\"\"'),I.search(/(\"|,|\\n)/g)>=0&&(I=`\"${I}\"`),I}).join(\",\")).join(\"\\n\"),Z=new Blob([r],{type:\"text/csv;charset=utf-8;\"});if(navigator.msSaveBlob)navigator.msSaveBlob(Z,x);else{const q=document.createElement(\"a\");if(void 0!==q.download){const m=URL.createObjectURL(Z);q.setAttribute(\"href\",m),q.setAttribute(\"download\",x),q.style.visibility=\"hidden\",document.body.appendChild(q),q.click(),document.body.removeChild(q)}}}}return u.\\u0275fac=function(x){return new(x||u)},u.\\u0275prov=p.Yz7({token:u,factory:u.\\u0275fac,providedIn:\"root\"}),u})()},39801:(st,J,c)=>{\"use strict\";c.d(J,{c:()=>g});var p=c(92340),t=c(91841),u=c(5304),_=c(37716),x=c(27339);let g=(()=>{class i{constructor(r,Z){this.http=r,this.errorsService=Z}getDataEmpCpoById(){return this.http.get(`${p.N.apiUrl}/${p.N.managementPath}/mgmt`).pipe((0,u.K)(this.errorsService.handleError))}getDataEmpCpoByTenant(){const Z={headers:new t.WM({\"Content-Type\":\"application/json; charset=utf-8\",Accept:\"application/json\"})};return this.http.get(`${p.N.apiUrl}/${p.N.managementPath}/get`,Z).pipe((0,u.K)(this.errorsService.handleError))}getDataEmpCpowhitId(r){return this.http.get(`${p.N.apiUrl}/${p.N.managementPath}/internal/${r}`).pipe((0,u.K)(this.errorsService.handleError))}getAllRagioneSociale(){return this.http.get(`${p.N.apiUrl}/${p.N.managementPath}/cpo/allragionesociale`).pipe((0,u.K)(this.errorsService.handleError))}createDataEmpCpo(r){return this.http.post(`${p.N.apiUrl}/${p.N.managementPath}/cpo/createEmpCpo`,r).pipe((0,u.K)(this.errorsService.handleError))}updateDataEmpCpo(r,Z){return console.log(r),console.log(Z),this.http.put(`${p.N.apiUrl}/${p.N.managementPath}/cpo/updateDataEmpCpo/${r}`,Z).pipe((0,u.K)(this.errorsService.handleError))}updateDataEmpCpoLogs(r,Z){return this.http.put(`${p.N.apiUrl}/${p.N.managementPath}/cpo/update-logs/${r}/${Z}`,{}).pipe((0,u.K)(this.errorsService.handleError))}delete(r){return this.http.delete(`${p.N.apiUrl}/${p.N.managementPath}/cpo/delete/${r}`).pipe((0,u.K)(this.errorsService.handleError))}setLogo(r,Z){return console.log(Z),this.http.post(` ${p.N.apiUrl}/${p.N.managementPath}/cpo/logo/uploadImage/${r}`,Z)}getSMTPById(){return this.http.get(`${p.N.apiUrl}/lang/api/smtp`).pipe((0,u.K)(this.errorsService.handleError))}setSMTP(r){return this.http.post(`${p.N.apiUrl}/lang/api/smtp`,r.smtpConfig).pipe((0,u.K)(this.errorsService.handleError))}setLang(r){return this.http.post(`${p.N.apiUrl}/lang/api/defaultLang`,{default_lang:r.default_lang}).pipe((0,u.K)(this.errorsService.handleError))}createOperator(r){return this.http.post(`${p.N.apiUrl}/${p.N.managementPath}/security/createCpoUser/`,r).pipe((0,u.K)(this.errorsService.handleError))}updateOperator(r,Z){return this.http.post(`${p.N.apiUrl}/${p.N.managementPath}/security/changePermissions/`+r,Z).pipe((0,u.K)(this.errorsService.handleError))}checkEmail(r){return this.http.get(`${p.N.apiUrl}/${p.N.managementPath}/cpo/check?email=${r}`).pipe((0,u.K)(this.errorsService.handleError))}createOperatorCpms(r){return this.http.post(`${p.N.apiUrl}/${p.N.managementPath}/security/createCpmsOperator/`,r).pipe((0,u.K)(this.errorsService.handleError))}changeShareCPInformations(r){let Z=(new t.LE).set(\"enabled\",r.shareCPInformations.enabled.toString()).set(\"shareAllCP\",r.shareCPInformations.shareAllCP.toString()).set(\"groupToShare\",r.shareCPInformations.groupToShare);return this.http.patch(`${p.N.apiUrl}/${p.N.managementPath}/mgmt/change-share-cp-information`,{},{params:Z}).pipe((0,u.K)(this.errorsService.handleError))}}return i.\\u0275fac=function(r){return new(r||i)(_.LFG(t.eN),_.LFG(x.r))},i.\\u0275prov=_.Yz7({token:i,factory:i.\\u0275fac,providedIn:\"root\"}),i})()},11191:(st,J,c)=>{\"use strict\";c.d(J,{o:()=>g});var p=c(91841),t=c(92340),u=c(5304),_=c(37716),x=c(27339);let g=(()=>{class i{constructor(r,Z){this.http=r,this.errorsService=Z}getAllErrorCodeErrorDescription(){return this.http.get(`${t.N.apiUrl}/${t.N.ocppPath}/error-code-error-description`).pipe((0,u.K)(this.errorsService.handleError))}addErrorCodeErrorDescription(r){const Z=new p.WM({\"Content-Type\":\"application/json\"});return this.http.post(`${t.N.apiUrl}/${t.N.ocppPath}/error-code-error-description`,r,{headers:Z}).pipe((0,u.K)(this.errorsService.handleError))}deleteAllErrorCodeErrorDescriptionByVendor(r){return this.http.delete(`${t.N.apiUrl}/${t.N.ocppPath}/error-code-error-description/by-vendor?vendor=`+r).pipe((0,u.K)(this.errorsService.handleError))}deleteAllErrorCodeErrorDescriptionByVendorAndErrorCode(r,Z){return this.http.delete(`${t.N.apiUrl}/${t.N.ocppPath}/error-code-error-description/by-vendor-and-error-code?vendor=`+r+\"&errorCode=\"+Z).pipe((0,u.K)(this.errorsService.handleError))}}return i.\\u0275fac=function(r){return new(r||i)(_.LFG(p.eN),_.LFG(x.r))},i.\\u0275prov=_.Yz7({token:i,factory:i.\\u0275fac,providedIn:\"root\"}),i})()},27339:(st,J,c)=>{\"use strict\";c.d(J,{r:()=>x});var p=c(40205),t=c(37716),u=c(29790),_=c(99766);let x=(()=>{class g{constructor(f,r){this.translate=f,this.notifyService=r}handleError(f){console.log(f),401===f.status?this.notifyService.showWarning(this.translate.instant(\"accesso_neg\"),this.translate.instant(\"att\")):f.error instanceof ErrorEvent&&console.error(\"Server side error: \"+f.error);let r=\"C'e' un problema con il servizio. Ne siamo al corrente e stiamo cercando di risolverlo. Riprova piu' tardi\";return\"Email already exists\"===f.error.message&&(r=\"Email already exists\"),(0,p._)(r)}}return g.\\u0275fac=function(f){return new(f||g)(t.LFG(u.sK),t.LFG(_.m))},g.\\u0275prov=t.Yz7({token:g,factory:g.\\u0275fac,providedIn:\"root\"}),g})()},47650:(st,J,c)=>{\"use strict\";c.d(J,{J:()=>g});var p=c(5304),t=c(92340),u=c(37716),_=c(91841),x=c(27339);let g=(()=>{class i{constructor(r,Z){this.http=r,this.errorsService=Z}getAllUserGroups(){return this.http.get(`${t.N.apiUrl}/management/api/user-groups/user`).pipe((0,p.K)(this.errorsService.handleError))}getAllUserCpoGroups(r){return this.http.get(`${t.N.apiUrl}/management/api/user-groups/${r}/usercpo`).pipe((0,p.K)(this.errorsService.handleError))}editUserCpoGroup(r,Z){return this.http.put(`${t.N.apiUrl}/management/api/user-groups/${Z}`,r)}editChargepointGroup(r,Z){return this.http.put(`${t.N.apiUrl}/ocpp/api/chargepoint-groups/${Z}`,r)}editAlertGroup(r,Z){return this.http.put(`${t.N.apiUrl}/lang/api/alert-groups/${Z}`,r)}getAllChargepointGroupsChargeBoxID(r){return this.http.get(`${t.N.apiUrl}/ocpp/api/chargepoint-groups/only-chargeboxIdList/${r}`).pipe((0,p.K)(this.errorsService.handleError))}deleteUserCpoGroup(r,Z){return this.http.delete(`${t.N.apiUrl}/management/api/user-groups/${r}/${Z}`).pipe((0,p.K)(this.errorsService.handleError))}deleteChargepointGroup(r,Z){return this.http.delete(`${t.N.apiUrl}/ocpp/api/chargepoint-groups/${r}/${Z}`).pipe((0,p.K)(this.errorsService.handleError))}deleteAlertGroup(r,Z){return this.http.delete(`${t.N.apiUrl}/lang/api/alert-groups/${r}/${Z}`).pipe((0,p.K)(this.errorsService.handleError))}addUserCpoGroup(r){return this.http.post(`${t.N.apiUrl}/management/api/user-groups`,r)}addChargepointGroup(r){return this.http.post(`${t.N.apiUrl}/ocpp/api/chargepoint-groups`,r)}addAlertGroup(r){return this.http.post(`${t.N.apiUrl}/lang/api/alert-groups`,r).pipe((0,p.K)(this.errorsService.handleError))}getAllChargepointGroups(r){return this.http.get(`${t.N.apiUrl}/ocpp/api/chargepoint-groups/by-data-emp-cpo-id/${r}`).pipe((0,p.K)(this.errorsService.handleError))}getChargepointGroupsByType(r,Z){return this.http.get(`${t.N.apiUrl}/ocpp/api/chargepoint-groups/${Z}/${r}`).pipe((0,p.K)(this.errorsService.handleError))}getAllChargepointNetworkGroups(){return this.http.get(`${t.N.apiUrl}/ocpp/api/chargepoint-groups/network`).pipe((0,p.K)(this.errorsService.handleError))}getAllAlertGroups(r){return this.http.get(`${t.N.apiUrl}/lang/api/alert-groups/${r}`).pipe((0,p.K)(this.errorsService.handleError))}}return i.\\u0275fac=function(r){return new(r||i)(u.LFG(_.eN),u.LFG(x.r))},i.\\u0275prov=u.Yz7({token:i,factory:i.\\u0275fac,providedIn:\"root\"}),i})()},93264:(st,J,c)=>{\"use strict\";c.d(J,{Y:()=>x});var p=c(92340),t=c(37716),u=c(91841);let x=(()=>{class g{constructor(f){this.http=f}get(){return this.http.get(`${p.N.apiUrl}/${p.N.ocppPath}/${p.N.homePath.stats}`)}getDshCpo(){return this.http.get(`${p.N.apiUrl}/${p.N.ocppPath}/home/statsCpo`)}getDshEmp(){return this.http.get(`${p.N.apiUrl}/${p.N.ocppPath}/home/statsEmp`)}getRoaming(){return this.http.get(`${p.N.apiUrl}/${p.N.sessionPath}/stats`)}getTransactionData(){return this.http.get(`${p.N.apiUrl}/${p.N.ocppPath}/revenues`)}getUserStats(){return this.http.get(`${p.N.apiUrl}/${p.N.managementPath}/data/emp/user`)}getCpoStats(){return this.http.get(`${p.N.apiUrl}/${p.N.managementPath}/data/cpo/cpos`)}getTransactionStats(){return this.http.get(`${p.N.apiUrl}/ocpp/api/data/cpo/transaction`)}getTransactionStatsEmp(){return this.http.get(`${p.N.apiUrl}/ocpp/api/data/emp/transaction`)}getRoamingStats(){return this.http.get(`${p.N.apiUrl}/oicp/api/oicp/data/session`)}statsConnectorAdmin(){return this.http.get(`${p.N.apiUrl}/${p.N.ocppPath}/home/stats/connector/cpms`)}statsConnector(f){return this.http.get(`${p.N.apiUrl}/${p.N.ocppPath}/home/stats/connector?idCpo=${f}`)}getStatsWhenCPisPuborPrivateforAdmin(){return this.http.get(`${p.N.apiUrl}/${p.N.ocppPath}/home/stats/connector/visibility/admin`)}getStatsWhenCPisPuborPrivate(f){return this.http.get(`${p.N.apiUrl}/${p.N.ocppPath}/home/stats/connector/visibility?idCpo=${f}`)}}return g.\\u0275fac=function(f){return new(f||g)(t.LFG(u.eN))},g.\\u0275prov=t.Yz7({token:g,factory:g.\\u0275fac,providedIn:\"root\"}),g})()},18345:(st,J,c)=>{\"use strict\";c.d(J,{n:()=>_});var p=c(64841),t=c.n(p),u=c(37716);let _=(()=>{class x{constructor(){}setApiKey(i){t().set(\"x-api-key\",i,{encrypt:!0})}setToken(i){t().set(\"token\",i,{encrypt:!0})}removeToken(){t().remove(\"token\")}setTenantId(i){t().set(\"tenantId\",i,{encrypt:!0})}setRole(i){t().set(\"userRole\",i,{encrypt:!0})}setName(i){t().set(\"userName\",i,{encrypt:!0})}getCpo(){return t().get(\"cpo\",{decrypt:!0})}getToken(){try{return t().get(\"token\",{decrypt:!0})}catch(i){console.log(\"i parametri non sono criptati\"),localStorage.clear()}}getApiKey(){return t().get(\"x-api-key\",{decrypt:!0})}getTenantId(){return t().get(\"tenantId\",{decrypt:!0})}getRole(){return t().get(\"userRole\",{decrypt:!0})}getName(){return t().get(\"userName\",{decrypt:!0})}clear(){t().clear()}getLang(){return t().get(\"lang\",{decrypt:!0})}setLang(i){t().set(\"lang\",i,{encrypt:!0})}}return x.\\u0275fac=function(i){return new(i||x)},x.\\u0275prov=u.Yz7({token:x,factory:x.\\u0275fac,providedIn:\"root\"}),x})()},4612:(st,J,c)=>{\"use strict\";c.d(J,{W:()=>g});var p=c(5304),t=c(92340),u=c(37716),_=c(91841),x=c(27339);let g=(()=>{class i{constructor(r,Z){this.http=r,this.errorsService=Z}getEventbyChargebox(r,Z){return this.http.get(`${t.N.apiUrl}/${t.N.monitoringPath}/getEventbyChargebox?chargeBoxId=${r}&page=${Z}`).pipe((0,p.K)(this.errorsService.handleError))}getEventbyChargeboxBetweenDates(r,Z,q){return this.http.get(`${t.N.apiUrl}/${t.N.monitoringPath}/getEventbyChargeboxBetweenDates?chargeBoxId=${r}&from=${Z}&to=${q}`).pipe((0,p.K)(this.errorsService.handleError))}getErrorEventbyChargeboxBetweenDates(r,Z,q){return this.http.get(`${t.N.apiUrl}/${t.N.monitoringPath}/getErrorEventbyChargeboxBetweenDates?chargeBoxId=${r}&from=${Z}&to=${q}`).pipe((0,p.K)(this.errorsService.handleError))}getEnableLogs(r){return this.http.get(`${t.N.apiUrl}/${t.N.monitoringPath}/getEnableLogs?chargeBoxId=${r}`).pipe((0,p.K)(this.errorsService.handleError))}downloadLogsCP(r,Z){return this.http.get(`${t.N.apiUrl}/${t.N.monitoringPath}/downloadLogsCP?chargeBoxId=${r}&format=${Z}`,{responseType:\"blob\",observe:\"response\"}).pipe((0,p.K)(this.errorsService.handleError))}enableLogCP(r){return this.http.put(`${t.N.apiUrl}/${t.N.monitoringPath}/enableLogCP?chargeBoxId=${r}`,{}).pipe((0,p.K)(this.errorsService.handleError))}deleteEvent(r){return this.http.delete(`${t.N.apiUrl}/${t.N.monitoringPath}/deleteEvent?chargeBoxId=${r}`).pipe((0,p.K)(this.errorsService.handleError))}}return i.\\u0275fac=function(r){return new(r||i)(u.LFG(_.eN),u.LFG(x.r))},i.\\u0275prov=u.Yz7({token:i,factory:i.\\u0275fac,providedIn:\"root\"}),i})()},99766:(st,J,c)=>{\"use strict\";c.d(J,{m:()=>u});var p=c(37716),t=c(22290);let u=(()=>{class _{constructor(g){this.toastr=g}showSuccess(g,i){this.toastr.success(g,i,{closeButton:!0,progressBar:!0,newestOnTop:!1})}showError(g,i){this.toastr.error(g,i,{closeButton:!0,progressBar:!0,newestOnTop:!1})}showInfo(g,i){this.toastr.info(g,i,{closeButton:!0,progressBar:!0,newestOnTop:!1})}showWarning(g,i){this.toastr.warning(g,i,{closeButton:!0,progressBar:!0,newestOnTop:!1})}}return _.\\u0275fac=function(g){return new(g||_)(p.LFG(t._W))},_.\\u0275prov=p.Yz7({token:_,factory:_.\\u0275fac,providedIn:\"root\"}),_})()},2049:(st,J,c)=>{\"use strict\";c.d(J,{f:()=>g});var p=c(92340),t=c(5304),u=c(37716),_=c(91841),x=c(27339);let g=(()=>{class i{constructor(r,Z){this.http=r,this.errorsService=Z}getAll(){return this.http.get(`${p.N.apiUrl}/${p.N.pricingPath}/get/costs`).pipe((0,t.K)(this.errorsService.handleError))}getAllByOperatorId(r){return this.http.get(`${p.N.apiUrl}/${p.N.pricingPath}/getbyoperatorid/costs/`+r).pipe((0,t.K)(this.errorsService.handleError))}getAllOperatorIds(){return this.http.get(`${p.N.apiUrl}/${p.N.pricingPath}/get/operatorids`).pipe((0,t.K)(this.errorsService.handleError))}add(r){return this.http.post(`${p.N.apiUrl}/${p.N.pricingPath}/create/cost`,r).pipe((0,t.K)(this.errorsService.handleError))}update(r){return this.http.post(`${p.N.apiUrl}/${p.N.pricingPath}/update/cost`,r).pipe((0,t.K)(this.errorsService.handleError))}delete(r){return this.http.delete(`${p.N.apiUrl}/${p.N.pricingPath}/delete/cost/`+r._id).pipe((0,t.K)(this.errorsService.handleError))}getAllCpo(){return this.http.get(`${p.N.apiUrl}/ocpp/api/pricing/cpo/get/costs`).pipe((0,t.K)(this.errorsService.handleError))}deletePriceCpo(r){return this.http.delete(`${p.N.apiUrl}/ocpp/api/pricing/cpo/delete/cost/${r}`).pipe((0,t.K)(this.errorsService.handleError))}updatePriceCpo(r){return this.http.post(`${p.N.apiUrl}/ocpp/api/pricing/cpo/update/cost`,r).pipe((0,t.K)(this.errorsService.handleError))}getPricingRoaming(){return this.http.get(`${p.N.apiUrl}/oicp/cpo/api/oicp/cpo/products`).pipe((0,t.K)(this.errorsService.handleError))}updatePricingRoaming(r){return this.http.patch(`${p.N.apiUrl}/oicp/cpo/api/oicp/cpo/products`,r).pipe((0,t.K)(this.errorsService.handleError))}deletePricingRoaming(r){return this.http.delete(`${p.N.apiUrl}/oicp/cpo/api/oicp/cpo/products/${r}`).pipe((0,t.K)(this.errorsService.handleError))}getAllProducts(r){return this.http.get(`${p.N.apiUrl}/pricing/cpo/products/${r}`).pipe((0,t.K)(this.errorsService.handleError))}getOcpiCpoProducts(){return this.http.get(`${p.N.apiUrl}/pricing/cpo/products/ocpi/cpo`).pipe((0,t.K)(this.errorsService.handleError))}getAllProductsExternal(){return this.http.get(`${p.N.apiUrl}/pricing/cpms/cpo`).pipe((0,t.K)(this.errorsService.handleError))}getExternalProd(r,Z){return this.http.get(`${p.N.apiUrl}/oicp/cpo/api/oicp/cpo/pricing/product/${r}`).pipe((0,t.K)(this.errorsService.handleError))}updateProducts(r){return console.log(r),this.http.patch(`${p.N.apiUrl}/pricing/cpo/products/${r._id}`,r).pipe((0,t.K)(this.errorsService.handleError))}deleteProducts(r){return this.http.delete(`${p.N.apiUrl}/pricing/cpo/products/${r}`).pipe((0,t.K)(this.errorsService.handleError))}create(r){return this.http.post(`${p.N.apiUrl}/pricing/cpo/products/`,r).pipe((0,t.K)(this.errorsService.handleError))}createBulkInternal(r){return this.http.post(`${p.N.apiUrl}/ocpp/api/pricing/cpo/internal/bulk`,r).pipe((0,t.K)(this.errorsService.handleError))}createBulkExternal(r){return this.http.post(`${p.N.apiUrl}/ocpp/api/pricing/cpo/external/bulk`,r).pipe((0,t.K)(this.errorsService.handleError))}getMarkUpExternal(r,Z){return this.http.get(`${p.N.apiUrl}/pricing/emp/pricing/markup/custom-search?search=external:`+r+`ANDtype:EMPANDproviderID:${Z}`)}getMarkUpInternalRoaming(r,Z){return this.http.get(`${p.N.apiUrl}/pricing/emp/pricing/markup/custom-search?search=external:`+r+`ANDtype:EMPANDidEmp:${Z}`).pipe((0,t.K)(this.errorsService.handleError))}getMarkUpPOS(r){return this.http.get(`${p.N.apiUrl}/pricing/emp/pricing/markup/custom-search?search=type:POSANDproviderID:${r}`).pipe((0,t.K)(this.errorsService.handleError))}getMarkUpQRCode(r){return this.http.get(`${p.N.apiUrl}/pricing/emp/pricing/markup/custom-search?search=type:QRANDproviderID:${r}`).pipe((0,t.K)(this.errorsService.handleError))}getOperatorList(r){return this.http.get(`${p.N.apiUrl}/pricing/emp/pricing/op/`+r).pipe((0,t.K)(this.errorsService.handleError))}addMarkUpAllSub(r){return this.http.post(`${p.N.apiUrl}/pricing/emp/pricing/markup-allcpo`,r).pipe((0,t.K)(this.errorsService.handleError))}addMarkUpOp(r){return this.http.post(`${p.N.apiUrl}/pricing/emp/pricing/markup/`+r.operatorID,r).pipe((0,t.K)(this.errorsService.handleError))}addMarkInternal(r,Z){return this.http.post(`${p.N.apiUrl}/pricing/emp/pricing/markup-internal/`+r.operatorID+\"/\"+Z,r).pipe((0,t.K)(this.errorsService.handleError))}enableMark(r){return this.http.post(`${p.N.apiUrl}/pricing/emp/pricing/enable/`,r).pipe((0,t.K)(this.errorsService.handleError))}deleteMarkUp(r,Z,q,m){return console.log(r+\" - - \"+Z+\" - \"+q),this.http.delete(`${p.N.apiUrl}/pricing/emp/pricing/deleteMarkUp/`+r+\"/\"+Z+\"/\"+q+\"/\"+m).pipe((0,t.K)(this.errorsService.handleError))}deleteMarkUpAllCpo(r,Z,q){return console.log(r+\" - - \"+Z+\" - \"+q),this.http.delete(`${p.N.apiUrl}/pricing/emp/pricing/deleteMarkUp-allcpo/`+r+\"/\"+Z+\"/\"+q).pipe((0,t.K)(this.errorsService.handleError))}}return i.\\u0275fac=function(r){return new(r||i)(u.LFG(_.eN),u.LFG(x.r))},i.\\u0275prov=u.Yz7({token:i,factory:i.\\u0275fac,providedIn:\"root\"}),i})()},25823:(st,J,c)=>{\"use strict\";c.d(J,{D:()=>Z});var p=c(97582),t=c(91841),u=c(92340),_=c(5304),x=c(25917),g=c(83550),i=c(37716),f=c(27339),r=c(18345);let Z=(()=>{class q{constructor(I,B,W){this.http=I,this.errorsService=B,this.localStorageService=W}qrCodeLogin(I,B){return(0,p.mG)(this,void 0,void 0,function*(){let W=\"\",z=yield this.http.post(`${u.N.qrCodeApiUrl}/auth/${u.N.loginPath}`,{username:I,password:B}).toPromise();return\"Invalid credentials\"===z.message?(W=z.tenantId,z=z.token):\"User not found\"===z.message||(W=z.tenantId,z=z.token),this.localStorageService.setToken(z),this.localStorageService.setTenantId(W),z})}getDataQrCodeSettings(){const B={headers:new t.WM({\"x-tenant-id\":this.localStorageService.getTenantId()})};return this.http.get(`${u.N.qrCodeApiUrl}/${u.N.managementPath}/mgmt/get/qr-code-settings`,B).pipe((0,_.K)(this.errorsService.handleError))}getDataQrCodeSettingsFromTenant(I){return this.http.get(`${u.N.apiUrl}/${u.N.managementPath}/mgmt/qr-code-settings/${I}`).pipe((0,_.K)(this.errorsService.handleError))}getDataQrCodeSettingsSelf(){return this.http.get(`${u.N.apiUrl}/${u.N.managementPath}/mgmt/get/qr-code-settings`).pipe((0,_.K)(this.errorsService.handleError))}postDataQrCodeSettingsSelf(I){return this.http.post(`${u.N.apiUrl}/${u.N.managementPath}/mgmt/qr-code-settings`,I).pipe((0,_.K)(this.errorsService.handleError))}postDataQrCodeSettingsFromTenant(I,B){return this.http.post(`${u.N.apiUrl}/${u.N.managementPath}/mgmt/qr-code-settings/${I}`,B).pipe((0,_.K)(this.errorsService.handleError))}startCharge(I,B,W,z){const X={headers:new t.WM({\"x-tenant-id\":this.localStorageService.getTenantId(),\"x-deploy-route\":\"_blue\"})};return this.http.post(`${u.N.qrCodeApiUrl}/${u.N.rabbitPath}/operations/v1.6/RemoteStartTransaction`,{chargePointSelectList:[{chargeBoxId:I}],idTag:B,connectorId:W,startedFrom:\"QR\",limits:{price:z}},X).pipe((0,_.K)(this.errorsService.handleError))}stopCharge(I,B,W){const M={headers:new t.WM({\"x-tenant-id\":this.localStorageService.getTenantId(),\"x-deploy-route\":\"_blue\"})};return this.http.post(`${u.N.qrCodeApiUrl}/${u.N.rabbitPath}/operations/v1.6/RemoteStopTransaction`,{chargePointSelectList:[{chargeBoxId:I}],idTag:B,transactionId:W},M).pipe((0,_.K)(this.errorsService.handleError))}getByEvseId(I,B){const z={headers:new t.WM({Authorization:\"\"})};return this.http.get(`${u.N.qrCodeApiUrl}/${u.N.ocppPath}/${u.N.qrConnectorPath}/${I}/${B}`,z).pipe((0,_.K)(M=>(0,x.of)(void 0)))}getCustomerSelf(){const B={headers:new t.WM({\"x-tenant-id\":this.localStorageService.getTenantId()})};return this.http.get(`${u.N.qrCodeApiUrl}/${u.N.paymentPath}get-customer`,B).pipe((0,_.K)(this.errorsService.handleError))}getApiKey(){return(0,p.mG)(this,void 0,void 0,function*(){const B={headers:new t.WM({\"x-tenant-id\":this.localStorageService.getTenantId()})},W=yield this.http.get(`${u.N.qrCodeApiUrl}/keys/mgmt/get`,B).toPromise();return this.localStorageService.setApiKey(W[0].apiKey),W[0].apiKey})}getCostProfileByIdAndIdCpo(I){const W={headers:new t.WM({})};return this.http.get(`${u.N.qrCodeApiUrl}/pricing/cpo/products/find-by-id?id=${I}`,W).pipe((0,_.K)(this.errorsService.handleError))}getChargeTransaction(I){const W={headers:new t.WM({\"x-tenant-id\":this.localStorageService.getTenantId()})};return this.http.get(`${u.N.qrCodeApiUrl}/${u.N.ocppPath}/transactionsReservations/last/transaction/${I}`,W).pipe((0,_.K)(this.errorsService.handleError))}getGuestAccessToken(){const B={headers:new t.WM({Authorization:\"\"})};return this.http.post(`${u.N.qrCodeApiUrl}/${u.N.managementPath}/usermatch/add`,{},B).pipe((0,_.K)(W=>{if(W.error.text.includes(\"BeaglePlugAccessToken\"))return new g.y(z=>{z.next(W.error.text),z.complete()})}))}createCustomer(I){const W={headers:new t.WM({\"x-tenant-id\":this.localStorageService.getTenantId()})};let z={};return String(I).toLowerCase().match(/^(([^<>()[\\]\\\\.,;:\\s@\"]+(\\.[^<>()[\\]\\\\.,;:\\s@\"]+)*)|.(\".+\"))@((\\[[0-9]{1,3}\\.[0-9]{1,3}\\.[0-9]{1,3}\\.[0-9]{1,3}\\])|(([a-zA-Z\\-0-9]+\\.)+[a-zA-Z]{2,}))$/)&&(z={email:I}),this.http.post(`${u.N.qrCodeApiUrl}/${u.N.paymentPath}create-customer`,z,W).pipe((0,_.K)(this.errorsService.handleError))}createSetupIntent(I,B){const z={headers:new t.WM({\"x-tenant-id\":this.localStorageService.getTenantId(),sk:B})};return this.http.post(`${u.N.qrCodeApiUrl}/${u.N.paymentPath}createSetupIntent`,{paymentMethodId:I},z).pipe((0,_.K)(this.errorsService.handleError))}updateCustomerBillingInformations(I){return this.http.post(`${u.N.qrCodeApiUrl}/${u.N.paymentPath}updateCustomerBillingDetails/self`,I).pipe((0,_.K)(this.errorsService.handleError))}updateUserSelf(I){return this.http.patch(`${u.N.qrCodeApiUrl}/${u.N.managementPath}/users/`,I).pipe((0,_.K)(this.errorsService.handleError))}getUser(){const B={headers:new t.WM({\"x-tenant-id\":this.localStorageService.getTenantId()})};return this.http.get(`${u.N.qrCodeApiUrl}/get/user`,B).pipe((0,_.K)(this.errorsService.handleError))}}return q.\\u0275fac=function(I){return new(I||q)(i.LFG(t.eN),i.LFG(f.r),i.LFG(r.n))},q.\\u0275prov=i.Yz7({token:q,factory:q.\\u0275fac,providedIn:\"root\"}),q})()},4666:(st,J,c)=>{\"use strict\";c.d(J,{p:()=>g});var p=c(92340),t=c(5304),u=c(37716),_=c(91841),x=c(27339);let g=(()=>{class i{constructor(r,Z){this.http=r,this.errorsService=Z}getAllCps(r,Z,q,m,I,B){return this.http.get(`${p.N.apiUrl}/${p.N.ocppPath}/${p.N.ocppPathTransactions}/transactions/${r}/${Z}/${q}/${m}/${I}/${B}`,{reportProgress:!0}).pipe((0,t.K)(this.errorsService.handleError))}getTransactionByIdCpo(r,Z,q,m,I,B,W){return this.http.get(`${p.N.apiUrl}/${p.N.ocppPath}/${p.N.ocppPathTransactions}/transactionByIdCpo/${r}/${Z}/${q}/${m}/${I}/${B}/${W}`).pipe((0,t.K)(this.errorsService.handleError))}getAll(r,Z,q,m,I,B){return this.http.get(`${p.N.apiUrl}/${p.N.ocppPath}/${p.N.ocppPathTransactions}/transactions/cpms/${r}/${Z}/${q}/${m}/${I}/${B}`,{reportProgress:!0}).pipe((0,t.K)(this.errorsService.handleError))}getByCp(r,Z,q,m,I,B,W){return this.http.get(`${p.N.apiUrl}/${p.N.ocppPath}/${p.N.ocppPathTransactions}/transactions/by/${r}/${Z}/${q}/${m}/${I}/${B}/${W}`).pipe((0,t.K)(this.errorsService.handleError))}getByTransactionId(r){return this.http.get(`${p.N.apiUrl}/${p.N.ocppPath}/${p.N.ocppPathTransactions}/graph/values/by/${r}`).pipe((0,t.K)(this.errorsService.handleError))}getTxByID(r){return this.http.get(`${p.N.apiUrl}/${p.N.ocppPath}/${p.N.ocppPathTransactions}/transaction/by/${r}`).pipe((0,t.K)(this.errorsService.handleError))}getByIdCpoFleet(r,Z,q,m,I,B,W){return this.http.get(`${p.N.apiUrl}/${p.N.ocppPath}/${p.N.ocppPathTransactions}/transactions/fleet/${r}/${Z}/${q}/${m}/${I}/${B}/${W}`).pipe((0,t.K)(this.errorsService.handleError))}getByIdCpoFleetMonthly(r,Z,q){return this.http.get(`${p.N.apiUrl}/${p.N.ocppPath}/${p.N.ocppPathTransactions}/transactions/fleet/monthly/${r}/${Z}/${q}`).pipe((0,t.K)(this.errorsService.handleError))}getByIdCpo(r,Z,q,m,I,B){return this.http.get(`${p.N.apiUrl}/${p.N.ocppPath}/${p.N.ocppPathTransactions}/transactions/cpo/${r}/${Z}/${q}/${m}/${I}/${B}`).pipe((0,t.K)(this.errorsService.handleError))}getForSubOperator(r,Z,q,m,I,B,W){return this.http.get(`${p.N.apiUrl}/${p.N.ocppPath}/${p.N.ocppPathTransactions}/transactions/subOperator/${r}/${Z}/${q}/${m}/${I}/${B}/${W}`).pipe((0,t.K)(this.errorsService.handleError))}getByCpCpo(r,Z,q,m,I,B,W,z){return this.http.get(`${p.N.apiUrl}/${p.N.ocppPath}/${p.N.ocppPathTransactions}/transactionBy/${r}/${Z}/${q}/${m}/${I}/${B}/${W}/${z}`).pipe((0,t.K)(this.errorsService.handleError))}getByUserId(r,Z){return this.http.get(`${p.N.apiUrl}/${p.N.ocppPath}/userstats/transactions/grouped?start=`+r+\"&stop=\"+Z).pipe((0,t.K)(this.errorsService.handleError))}getAllTransactionsEmp(r,Z,q,m,I,B,W){return this.http.get(`${p.N.apiUrl}/${p.N.ocppPath}/${p.N.ocppPathTransactions}/transactions/emp/${r}/${q}/${m}/${I}/${Z}/${B}/${W}`,{reportProgress:!0}).pipe((0,t.K)(this.errorsService.handleError))}getAllInt(r,Z,q,m){return this.http.get(`${p.N.apiUrl}/${p.N.ocppPath}/${p.N.ocppPathTransactions}/transactions/emp/desc/${r}/${Z}/startTimestampDT/${q}/${m}`).pipe((0,t.K)(this.errorsService.handleError))}getTransactionNPCPO(){return this.http.get(`${p.N.apiUrl}/${p.N.ocppPath}/${p.N.ocppPathTransactions}/transactions/cpo/np/false`).pipe((0,t.K)(this.errorsService.handleError))}getTransactionCPOBetweenDates(r,Z,q){return this.http.get(`${p.N.apiUrl}/${p.N.ocppPath}/${p.N.ocppPathTransactions}/transactions/cpo/between-dates?from=${r}&to=${Z}&offset=${q}`).pipe((0,t.K)(this.errorsService.handleError))}getTransactionNPCPO2(){return this.http.get(`${p.N.apiUrl}/${p.N.ocppPath}/${p.N.ocppPathTransactions}/transactions/cpo/asc/0/100/startTimestampDT/0/10000000000`).pipe((0,t.K)(this.errorsService.handleError))}getAllTransactionNP(){return this.http.get(`${p.N.apiUrl}/${p.N.ocppPath}/${p.N.ocppPathTransactions}/transactions/cpms/np`).pipe((0,t.K)(this.errorsService.handleError))}getTransactionNPFleet(r){return this.http.get(`${p.N.apiUrl}/${p.N.ocppPath}/${p.N.ocppPathTransactions}/transactions/fleet/np/${r}`).pipe((0,t.K)(this.errorsService.handleError))}getTransactionNPSubOperator(r){return this.http.get(`${p.N.apiUrl}/${p.N.ocppPath}/${p.N.ocppPathTransactions}/transactions/suboperator/np/${r}`).pipe((0,t.K)(this.errorsService.handleError))}getTransactionNPEMP(){return this.http.get(`${p.N.apiUrl}/${p.N.ocppPath}/${p.N.ocppPathTransactions}/transactions/emp/np`).pipe((0,t.K)(this.errorsService.handleError))}getByCpCpoNP(r,Z){return this.http.get(`${p.N.apiUrl}/${p.N.ocppPath}/${p.N.ocppPathTransactions}/transactionBy/np/${r}/${Z}`).pipe((0,t.K)(this.errorsService.handleError))}closeTransaction(r){return this.http.post(`${p.N.apiUrl}/${p.N.ocppPath}/${p.N.ocppPathTransactions}/transactions/close`,r).pipe((0,t.K)(this.errorsService.handleError))}}return i.\\u0275fac=function(r){return new(r||i)(u.LFG(_.eN),u.LFG(x.r))},i.\\u0275prov=u.Yz7({token:i,factory:i.\\u0275fac,providedIn:\"root\"}),i})()},73071:(st,J,c)=>{\"use strict\";c.d(J,{K:()=>g});var p=c(92340),t=c(5304),u=c(37716),_=c(91841),x=c(27339);let g=(()=>{class i{constructor(r,Z){this.http=r,this.errorsService=Z}getAll(r,Z){return this.http.get(`${p.N.apiUrl}/${p.N.managementPath}/users/all?page=`+r+\"&size=\"+Z).pipe((0,t.K)(this.errorsService.handleError))}getAllWL(r,Z){return this.http.get(`${p.N.apiUrl}/${p.N.managementPath}/users/allEmp?page=`+r+\"&size=\"+Z).pipe((0,t.K)(this.errorsService.handleError))}getAllWLNP(){return this.http.get(`${p.N.apiUrl}/${p.N.managementPath}/users/allEmp/np`).pipe((0,t.K)(this.errorsService.handleError))}deBlockUser(r){return this.http.get(`${p.N.apiUrl}/${p.N.managementPath}/users/deBlock/`+r).pipe((0,t.K)(this.errorsService.handleError))}add(r){return this.http.post(`${p.N.apiUrl}/${p.N.managementPath}/users/add`,r).pipe((0,t.K)(this.errorsService.handleError))}getUtente(r){return this.http.get(`${p.N.apiUrl}/${p.N.managementPath}/users/${r}`).pipe((0,t.K)(this.errorsService.handleError))}getVehicle(r){return this.http.get(`${p.N.apiUrl}/${p.N.managementPath}/users/profile/get/internal/${r}`).pipe((0,t.K)(this.errorsService.handleError))}getUtenteByEmail(r,Z){return this.http.get(`${p.N.apiUrl}/${p.N.managementPath}/users/userByEmail/${r}?OnlyCpo=`+Z).pipe((0,t.K)(this.errorsService.handleError))}getUserCpoByEmail(r){return this.http.get(`${p.N.apiUrl}/${p.N.managementPath}/users/userCpoByEmail/${r}`).pipe((0,t.K)(this.errorsService.handleError))}getUserByParentIdTag(r,Z){return this.http.get(`${p.N.apiUrl}/${p.N.managementPath}/users/userByParentIdTag/${r}?OnlyCpo=`+Z).pipe((0,t.K)(this.errorsService.handleError))}successRegister(r){return this.http.get(`${p.N.apiUrl}/${p.N.managementPath}/users/confirm/${r}`)}getId(r){return this.http.get(`${p.N.apiUrl}/${p.N.managementPath}/users/user/`+r).pipe((0,t.K)(this.errorsService.handleError))}getUserById(r){return this.http.get(`${p.N.apiUrl}/${p.N.managementPath}/users/user/${r}`).pipe((0,t.K)(this.errorsService.handleError))}update(r,Z){return console.log(Z),this.http.put(`${p.N.apiUrl}/${p.N.managementPath}/users/update/`+r,Z).pipe((0,t.K)(this.errorsService.handleError))}delete(r){return this.http.delete(`${p.N.apiUrl}/${p.N.managementPath}/users/delete/`+r).pipe((0,t.K)(this.errorsService.handleError))}getUserByUserName(r){return this.http.get(`${p.N.apiUrl}/${p.N.managementPath}/users/${r}`).pipe((0,t.K)(this.errorsService.handleError))}getUserByCpo(r){return this.http.get(`${p.N.apiUrl}/${p.N.managementPath}/users/${r}`).pipe((0,t.K)(this.errorsService.handleError))}upTecnic(r){return this.http.post(`${p.N.apiUrl}/${p.N.managementPath}/users/upTecnic`,r).pipe((0,t.K)(this.errorsService.handleError))}removeTecnic(r){return this.http.post(`${p.N.apiUrl}/${p.N.managementPath}/users/degradeTecnic`,r).pipe((0,t.K)(this.errorsService.handleError))}getUsersCpo(){return this.http.get(`${p.N.apiUrl}/${p.N.managementPath}/users/all/usercpo`).pipe((0,t.K)(this.errorsService.handleError))}}return i.\\u0275fac=function(r){return new(r||i)(u.LFG(_.eN),u.LFG(x.r))},i.\\u0275prov=u.Yz7({token:i,factory:i.\\u0275fac,providedIn:\"root\"}),i})()},84853:(st,J,c)=>{\"use strict\";c.d(J,{X:()=>g});var p=c(92340),t=c(5304),u=c(37716),_=c(91841),x=c(27339);let g=(()=>{class i{constructor(r,Z){this.http=r,this.errorsService=Z}getCustomer(r){return this.http.get(`${p.N.apiUrl}/${p.N.managementPath}/cpo/customer?idCpo=`+r).pipe((0,t.K)(this.errorsService.handleError))}createPaymentIntent(r,Z){return this.http.post(`${p.N.apiUrl}/payments/singlePayCPO`,{amount:r,currency:\"EUR\",idCpo:Z}).pipe((0,t.K)(this.errorsService.handleError))}createSetupIntent(){return this.http.post(`${p.N.apiUrl}/payments/createSetupIntent/`,{}).pipe((0,t.K)(this.errorsService.handleError))}getPayment(r){return this.http.get(`${p.N.apiUrl}/payments/list-paymentsByCPO/`+r).pipe((0,t.K)(this.errorsService.handleError))}createPaymentMethod(r,Z){return this.http.post(`${p.N.apiUrl}/payments/create-payment-method/`+r,{id:Z}).pipe((0,t.K)(this.errorsService.handleError))}getPaymentMethod(r){return this.http.get(`${p.N.apiUrl}/payments/listCustomersMethods/`+r).pipe((0,t.K)(this.errorsService.handleError))}singlePayment(r,Z,q,m){return this.http.post(`${p.N.apiUrl}/${p.N.paymentPath}/singlePayCPO`,{amount:r,currency:Z,paymentMethodId:q,idCpo:m}).pipe((0,t.K)(this.errorsService.handleError))}rechargeWalletCPO(r,Z){return this.http.post(`${p.N.apiUrl}/${p.N.paymentPath}/rechargeWalletCPO`,{amount:r,idCpo:Z}).pipe((0,t.K)(this.errorsService.handleError))}getHistoryWallet(r){return this.http.get(`${p.N.apiUrl}/${p.N.paymentPath}/historyWalletCPO/`+r).pipe((0,t.K)(this.errorsService.handleError))}updatePaymentIntent(r,Z){return this.http.post(`${p.N.apiUrl}/${p.N.paymentPath}/updatePaymentIntent`,{paymentIntentId:r,amount:Z}).pipe((0,t.K)(this.errorsService.handleError))}}return i.\\u0275fac=function(r){return new(r||i)(u.LFG(_.eN),u.LFG(x.r))},i.\\u0275prov=u.Yz7({token:i,factory:i.\\u0275fac,providedIn:\"root\"}),i})()},16602:(st,J,c)=>{\"use strict\";c.d(J,{R:()=>p});const p=[{nome:\"Agrigento\",sigla:\"AG\",regione:\"Sicilia\"},{nome:\"Alessandria\",sigla:\"AL\",regione:\"Piemonte\"},{nome:\"Ancona\",sigla:\"AN\",regione:\"Marche\"},{nome:\"Arezzo\",sigla:\"AR\",regione:\"Toscana\"},{nome:\"Ascoli Piceno\",sigla:\"AP\",regione:\"Marche\"},{nome:\"Asti\",sigla:\"AT\",regione:\"Piemonte\"},{nome:\"Avellino\",sigla:\"AV\",regione:\"Campania\"},{nome:\"Bari\",sigla:\"BA\",regione:\"Puglia\"},{nome:\"Barletta-Andria-Trani\",sigla:\"BT\",regione:\"Puglia\"},{nome:\"Belluno\",sigla:\"BL\",regione:\"Veneto\"},{nome:\"Benevento\",sigla:\"BN\",regione:\"Campania\"},{nome:\"Bergamo\",sigla:\"BG\",regione:\"Lombardia\"},{nome:\"Biella\",sigla:\"BI\",regione:\"Piemonte\"},{nome:\"Bologna\",sigla:\"BO\",regione:\"Emilia-Romagna\"},{nome:\"Bolzano/Bozen\",sigla:\"BZ\",regione:\"Trentino-Alto Adige/S\\xfcdtirol\"},{nome:\"Brescia\",sigla:\"BS\",regione:\"Lombardia\"},{nome:\"Brindisi\",sigla:\"BR\",regione:\"Puglia\"},{nome:\"Cagliari\",sigla:\"CA\",regione:\"Sardegna\"},{nome:\"Caltanissetta\",sigla:\"CL\",regione:\"Sicilia\"},{nome:\"Campobasso\",sigla:\"CB\",regione:\"Molise\"},{nome:\"Carbonia-Iglesias\",sigla:\"CI\",regione:\"Sardegna\"},{nome:\"Caserta\",sigla:\"CE\",regione:\"Campania\"},{nome:\"Catania\",sigla:\"CT\",regione:\"Sicilia\"},{nome:\"Catanzaro\",sigla:\"CZ\",regione:\"Calabria\"},{nome:\"Chieti\",sigla:\"CH\",regione:\"Abruzzo\"},{nome:\"Como\",sigla:\"CO\",regione:\"Lombardia\"},{nome:\"Cosenza\",sigla:\"CS\",regione:\"Calabria\"},{nome:\"Cremona\",sigla:\"CR\",regione:\"Lombardia\"},{nome:\"Crotone\",sigla:\"KR\",regione:\"Calabria\"},{nome:\"Cuneo\",sigla:\"CN\",regione:\"Piemonte\"},{nome:\"Enna\",sigla:\"EN\",regione:\"Sicilia\"},{nome:\"Fermo\",sigla:\"FM\",regione:\"Marche\"},{nome:\"Ferrara\",sigla:\"FE\",regione:\"Emilia-Romagna\"},{nome:\"Firenze\",sigla:\"FI\",regione:\"Toscana\"},{nome:\"Foggia\",sigla:\"FG\",regione:\"Puglia\"},{nome:\"Forl\\xec-Cesena\",sigla:\"FC\",regione:\"Emilia-Romagna\"},{nome:\"Frosinone\",sigla:\"FR\",regione:\"Lazio\"},{nome:\"Genova\",sigla:\"GE\",regione:\"Liguria\"},{nome:\"Gorizia\",sigla:\"GO\",regione:\"Friuli-Venezia Giulia\"},{nome:\"Grosseto\",sigla:\"GR\",regione:\"Toscana\"},{nome:\"Imperia\",sigla:\"IM\",regione:\"Liguria\"},{nome:\"Isernia\",sigla:\"IS\",regione:\"Molise\"},{nome:\"L'Aquila\",sigla:\"AQ\",regione:\"Abruzzo\"},{nome:\"La Spezia\",sigla:\"SP\",regione:\"Liguria\"},{nome:\"Latina\",sigla:\"LT\",regione:\"Lazio\"},{nome:\"Lecce\",sigla:\"LE\",regione:\"Puglia\"},{nome:\"Lecco\",sigla:\"LC\",regione:\"Lombardia\"},{nome:\"Livorno\",sigla:\"LI\",regione:\"Toscana\"},{nome:\"Lodi\",sigla:\"LO\",regione:\"Lombardia\"},{nome:\"Lucca\",sigla:\"LU\",regione:\"Toscana\"},{nome:\"Macerata\",sigla:\"MC\",regione:\"Marche\"},{nome:\"Mantova\",sigla:\"MN\",regione:\"Lombardia\"},{nome:\"Massa-Carrara\",sigla:\"MS\",regione:\"Toscana\"},{nome:\"Matera\",sigla:\"MT\",regione:\"Basilicata\"},{nome:\"Medio Campidano\",sigla:\"VS\",regione:\"Sardegna\"},{nome:\"Messina\",sigla:\"ME\",regione:\"Sicilia\"},{nome:\"Milano\",sigla:\"MI\",regione:\"Lombardia\"},{nome:\"Modena\",sigla:\"MO\",regione:\"Emilia-Romagna\"},{nome:\"Monza e della Brianza\",sigla:\"MB\",regione:\"Lombardia\"},{nome:\"Napoli\",sigla:\"NA\",regione:\"Campania\"},{nome:\"Novara\",sigla:\"NO\",regione:\"Piemonte\"},{nome:\"Nuoro\",sigla:\"NU\",regione:\"Sardegna\"},{nome:\"Ogliastra\",sigla:\"OG\",regione:\"Sardegna\"},{nome:\"Olbia-Tempio\",sigla:\"OT\",regione:\"Sardegna\"},{nome:\"Oristano\",sigla:\"OR\",regione:\"Sardegna\"},{nome:\"Padova\",sigla:\"PD\",regione:\"Veneto\"},{nome:\"Palermo\",sigla:\"PA\",regione:\"Sicilia\"},{nome:\"Parma\",sigla:\"PR\",regione:\"Emilia-Romagna\"},{nome:\"Pavia\",sigla:\"PV\",regione:\"Lombardia\"},{nome:\"Perugia\",sigla:\"PG\",regione:\"Umbria\"},{nome:\"Pesaro e Urbino\",sigla:\"PU\",regione:\"Marche\"},{nome:\"Pescara\",sigla:\"PE\",regione:\"Abruzzo\"},{nome:\"Piacenza\",sigla:\"PC\",regione:\"Emilia-Romagna\"},{nome:\"Pisa\",sigla:\"PI\",regione:\"Toscana\"},{nome:\"Pistoia\",sigla:\"PT\",regione:\"Toscana\"},{nome:\"Pordenone\",sigla:\"PN\",regione:\"Friuli-Venezia Giulia\"},{nome:\"Potenza\",sigla:\"PZ\",regione:\"Basilicata\"},{nome:\"Prato\",sigla:\"PO\",regione:\"Toscana\"},{nome:\"Ragusa\",sigla:\"RG\",regione:\"Sicilia\"},{nome:\"Ravenna\",sigla:\"RA\",regione:\"Emilia-Romagna\"},{nome:\"Reggio di Calabria\",sigla:\"RC\",regione:\"Calabria\"},{nome:\"Reggio nell'Emilia\",sigla:\"RE\",regione:\"Emilia-Romagna\"},{nome:\"Rieti\",sigla:\"RI\",regione:\"Lazio\"},{nome:\"Rimini\",sigla:\"RN\",regione:\"Emilia-Romagna\"},{nome:\"Roma\",sigla:\"RM\",regione:\"Lazio\"},{nome:\"Rovigo\",sigla:\"RO\",regione:\"Veneto\"},{nome:\"Salerno\",sigla:\"SA\",regione:\"Campania\"},{nome:\"Sassari\",sigla:\"SS\",regione:\"Sardegna\"},{nome:\"Savona\",sigla:\"SV\",regione:\"Liguria\"},{nome:\"Siena\",sigla:\"SI\",regione:\"Toscana\"},{nome:\"Siracusa\",sigla:\"SR\",regione:\"Sicilia\"},{nome:\"Sondrio\",sigla:\"SO\",regione:\"Lombardia\"},{nome:\"Taranto\",sigla:\"TA\",regione:\"Puglia\"},{nome:\"Teramo\",sigla:\"TE\",regione:\"Abruzzo\"},{nome:\"Terni\",sigla:\"TR\",regione:\"Umbria\"},{nome:\"Torino\",sigla:\"TO\",regione:\"Piemonte\"},{nome:\"Trapani\",sigla:\"TP\",regione:\"Sicilia\"},{nome:\"Trento\",sigla:\"TN\",regione:\"Trentino-Alto Adige/S\\xfcdtirol\"},{nome:\"Treviso\",sigla:\"TV\",regione:\"Veneto\"},{nome:\"Trieste\",sigla:\"TS\",regione:\"Friuli-Venezia Giulia\"},{nome:\"Udine\",sigla:\"UD\",regione:\"Friuli-Venezia Giulia\"},{nome:\"Valle d'Aosta/Vall\\xe9e d'Aoste\",sigla:\"AO\",regione:\"Valle d'Aosta/Vall\\xe9e d'Aoste\"},{nome:\"Varese\",sigla:\"VA\",regione:\"Lombardia\"},{nome:\"Venezia\",sigla:\"VE\",regione:\"Veneto\"},{nome:\"Verbano-Cusio-Ossola\",sigla:\"VB\",regione:\"Piemonte\"},{nome:\"Vercelli\",sigla:\"VC\",regione:\"Piemonte\"},{nome:\"Verona\",sigla:\"VR\",regione:\"Veneto\"},{nome:\"Vibo Valentia\",sigla:\"VV\",regione:\"Calabria\"},{nome:\"Vicenza\",sigla:\"VI\",regione:\"Veneto\"},{nome:\"Viterbo\",sigla:\"VT\",regione:\"Lazio\"}]},92340:(st,J,c)=>{\"use strict\";c.d(J,{N:()=>p});const p={production:!0,apiUrl:\"https://api.electriease.cloud/api/cms\",domainUrl:\"https://api.electriease.cloud\",loginPath:\"login\",qrCodeApiUrl:\"https://api.electriease.cloud/api/v15\",qrCodePath:\"qr\",qrConnectorPath:\"chargepoints/connectorInfo/v3\",managementPath:\"management/api\",managementPathVeicolo:\"cpoconfirm/auto\",rabbitPath:\"rabbit/api\",ocppPath:\"ocpp/api\",assetsPath:\"assets/location\",monitoringPath:\"monitoring/api\",feedbackPath:\"feedback/api\",ocppPathTransactions:\"transactionsReservations\",paymentPath:\"payments/\",clusterPath:\"smartcharging/cluster\",notificationsPath:\"notifications/notificationmanagement\",eventPath:\"events/api\",evsePath:\"evse\",pricingPath:\"oicp/api/oicp/pricing\",sessionPath:\"oicp/api/oicp/sessions\",connectorStatus:{AVAILABLE:\"Available\",CHARGING:\"Charging\",FINISHING:\"Finishing\",PREPARING:\"Preparing\",SUSPENDEDEVSE:\"SuspendedEVSE\",SUSPENDEDEV:\"SuspendedEV\",FAULTED:\"Faulted\",UNAVAILABLE:\"Unavailable\",RESERVED:\"Reserved\"},ocppPathOperation16:{cancelReservation:\"operations/v1.6/CancelReservation\",changeAvailability:\"operations/v1.6/ChangeAvailability\",changeConfiguration:\"operations/v1.6/ChangeConfiguration\",clearCache:\"operations/v1.6/ClearCache\",clearCharginProfile:\"operations/v1.6/ClearCharginProfile\",dataTransfer:\"operations/v1.6/DataTransfer\",getCompositeSchedule:\"operations/v1.6/GetCompositeSchedule\",getConfiguration:\"operations/v1.6/GetConfiguration\",getDiagnostics:\"operations/v1.6/GetDiagnostics\",getLocalListVersion:\"operations/v1.6/GetLocalListVersion\",remoteStart:\"operations/v1.6/RemoteStartTransaction\",remoteStop:\"operations/v1.6/RemoteStopTransaction\",reserveNow:\"operations/v1.6/ReserveNow\",reset:\"operations/v1.6/Reset\",sendLocalList:\"operations/v1.6/SendLocalList\",setChargingProfile:\"operations/v1.6/SetChargingProfile\",triggerMessage:\"operations/v1.6/TriggerMessage\",unlockConnector:\"operations/v1.6/UnlockConnector\",updateFirmware:\"operations/v1.6/UpdateFirmware\",clearChargingProfile:\"operations/v1.6/ClearChargingProfile\"},ocppPathOperation15:{cancelReservation:\"operations/v1.5/CancelReservation\",changeAvailability:\"operations/v1.5/ChangeAvailability\",changeConfiguration:\"operations/v1.5/ChangeConfiguration\",clearCache:\"operations/v1.5/ClearCache\",dataTransfer:\"operations/v1.5/DataTransfer\",getConfiguration:\"operations/v1.5/GetConfiguration\",getDiagnostics:\"operations/v1.5/GetDiagnostics\",getLocalListVersion:\"operations/v1.5/GetLocalListVersion\",remoteStart:\"operations/v1.5/RemoteStartTransaction\",remoteStop:\"operations/v1.5/RemoteStopTransaction\",reserveNow:\"operations/v1.5/ReserveNow\",reset:\"operations/v1.5/Reset\",sendLocalList:\"operations/v1.5/SendLocalList\",unlockConnector:\"operations/v1.5/UnlockConnector\",updateFirmware:\"operations/v1.5/UpdateFirmware\"},ocppPathOperation12:{changeAvailability:\"operations/v1.2/ChangeAvailability\",changeConfiguration:\"operations/v1.2/ChangeConfiguration\",clearCache:\"operations/v1.2/ClearCache\",getDiagnostics:\"operations/v1.2/GetDiagnostics\",remoteStart:\"operations/v1.2/RemoteStartTransaction\",remoteStop:\"operations/v1.2/RemoteStopTransaction\",reset:\"operations/v1.2/Reset\",unlockConnector:\"operations/v1.2/UnlockConnector\",updateFirmware:\"operations/v1.2/UpdateFirmware\"},homePath:{stats:\"home/stats\",connectorStatus:\"home/connectorStatus\"}}},3654:(st,J,c)=>{\"use strict\";var p=c(39075),t=c(37716),u=c(18345);let _=(()=>{class n{constructor(e){this.service=e}intercept(e,o){return this.service.getToken()&&(e=e.clone({setHeaders:{Authorization:this.service.getToken(),\"x-canary\":\"true\"}})),o.handle(e)}}return n.\\u0275fac=function(e){return new(e||n)(t.LFG(u.n))},n.\\u0275prov=t.Yz7({token:n,factory:n.\\u0275fac}),n})();var x=c(92340),g=c(5304),i=c(91841),f=c(27339);let r=(()=>{class n{constructor(e,o){this.http=e,this.errorsService=o}getAll(){return this.http.get(`${x.N.apiUrl}/chargingProfiles`).pipe((0,g.K)(this.errorsService.handleError))}add(e){return this.http.post(`${x.N.apiUrl}/chargingProfiles`,e).pipe((0,g.K)(this.errorsService.handleError))}}return n.\\u0275fac=function(e){return new(e||n)(t.LFG(i.eN),t.LFG(f.r))},n.\\u0275prov=t.Yz7({token:n,factory:n.\\u0275fac,providedIn:\"root\"}),n})();var Z=c(33935),q=c(46237),m=c(26457),I=c(77746),B=c(93738),W=c(67441),z=c(51095),M=c(32091),X=c(99692),j=c(4885),pt=c(65939),N=c(63423),C=c(97582),l=c(3679),O=c(22238);let T=(()=>{class n{constructor(e){switch(this.data=e,null==e?void 0:e.type){case\"user\":this.msg=\"Accesso negato. Per favore, esegui il login sulla nostra app o contatta il servizio di assistenza.\";break;case\"credential\":this.msg=\"Credenziali errate\";break;default:this.msg=\"Ops, qualcosa \\xe8 andato storto. Riprovare dopo. Se l'errore persiste contattare il supporto\"}}}return n.\\u0275fac=function(e){return new(e||n)(t.Y36(O.WI))},n.\\u0275cmp=t.Xpm({type:n,selectors:[[\"dialog-elements-example-dialog\"]],decls:7,vars:1,consts:[[\"mat-dialog-title\",\"\"],[\"mat-dialog-content\",\"\",\"align\",\"center\"],[\"mat-dialog-actions\",\"\",\"align\",\"center\"],[\"mat-raised-button\",\"\",\"mat-dialog-close\",\"\",\"color\",\"warn\"]],template:function(e,o){1&e&&(t.TgZ(0,\"h1\",0),t._uU(1,\"Attenzione\"),t.qZA(),t.TgZ(2,\"div\",1),t._uU(3),t.qZA(),t.TgZ(4,\"div\",2),t.TgZ(5,\"button\",3),t._uU(6,\"Ok\"),t.qZA(),t.qZA()),2&e&&(t.xp6(3),t.Oqu(o.msg))},directives:[O.uh,O.xY,O.H8,z.lW,O.ZT],encapsulation:2}),n})();var k=c(64841),b=c.n(k),et=c(87889),U=c(29790),F=c(37556),K=c(99766),v=c(38583),H=c(23322);function S(n,s){if(1&n&&(t.TgZ(0,\"div\",15),t._UZ(1,\"img\",16),t.qZA()),2&n){const e=t.oxw();t.xp6(1),t.Q6J(\"src\",e.imageBackground(),t.LSH)}}function ct(n,s){1&n&&(t.TgZ(0,\"div\",17),t._uU(1,\" Italiano \"),t.qZA())}function dt(n,s){1&n&&(t.TgZ(0,\"div\",18),t._uU(1,\" English \"),t.qZA())}function Ot(n,s){1&n&&t._UZ(0,\"div\",19)}function R(n,s){if(1&n&&(t.TgZ(0,\"div\",20),t._UZ(1,\"img\",21),t.qZA()),2&n){const e=t.oxw();t.xp6(1),t.Q6J(\"src\",e.imageLogo(),t.LSH)}}function lt(n,s){if(1&n){const e=t.EpF();t.O4$(),t.TgZ(0,\"svg\",33),t.NdJ(\"click\",function(){t.CHM(e),t.oxw();const a=t.MAs(16);return t.oxw().toggleEyeIcon(a,1)}),t._UZ(1,\"path\",34),t._UZ(2,\"path\",35),t.qZA()}}function ot(n,s){if(1&n){const e=t.EpF();t.O4$(),t.TgZ(0,\"svg\",33),t.NdJ(\"click\",function(){t.CHM(e),t.oxw();const a=t.MAs(16);return t.oxw().toggleEyeIcon(a,1)}),t._UZ(1,\"g\",36),t._UZ(2,\"g\",37),t.TgZ(3,\"g\",38),t._UZ(4,\"path\",39),t._UZ(5,\"path\",40),t._UZ(6,\"path\",41),t._UZ(7,\"path\",42),t._UZ(8,\"path\",43),t.qZA(),t.qZA()}}const mt=function(){return[\"\"]};function At(n,s){if(1&n){const e=t.EpF();t.TgZ(0,\"form\",22),t.TgZ(1,\"div\",23),t.TgZ(2,\"div\"),t.TgZ(3,\"label\",24),t.TgZ(4,\"strong\"),t._uU(5),t.ALo(6,\"translate\"),t.qZA(),t.qZA(),t.qZA(),t._UZ(7,\"input\",25),t.ALo(8,\"translate\"),t.qZA(),t.TgZ(9,\"div\",23),t.TgZ(10,\"div\"),t.TgZ(11,\"label\",24),t.TgZ(12,\"strong\"),t._uU(13),t.ALo(14,\"translate\"),t.qZA(),t.qZA(),t.qZA(),t._UZ(15,\"input\",26,27),t.ALo(17,\"translate\"),t.TgZ(18,\"span\",28),t.YNc(19,lt,3,0,\"svg\",29),t.YNc(20,ot,9,0,\"svg\",29),t.qZA(),t.qZA(),t.TgZ(21,\"div\",23),t.TgZ(22,\"div\",30),t.TgZ(23,\"a\",31),t.NdJ(\"click\",function(){return t.CHM(e),t.oxw().switchPage()}),t._uU(24),t.ALo(25,\"translate\"),t.qZA(),t.qZA(),t.TgZ(26,\"button\",32),t.NdJ(\"click\",function(){return t.CHM(e),t.oxw().onSubmit()}),t._uU(27),t.ALo(28,\"translate\"),t.qZA(),t.qZA(),t.qZA()}if(2&n){const e=t.oxw();t.Q6J(\"formGroup\",e.form),t.xp6(5),t.Oqu(t.lcZ(6,10,\"username\")),t.xp6(2),t.s9C(\"placeholder\",t.lcZ(8,12,\"ins_username\")),t.xp6(6),t.Oqu(t.lcZ(14,14,\"password\")),t.xp6(2),t.s9C(\"placeholder\",t.lcZ(17,16,\"ins_password\")),t.xp6(4),t.Q6J(\"ngIf\",!e.changeIcon1),t.xp6(1),t.Q6J(\"ngIf\",e.changeIcon1),t.xp6(3),t.Q6J(\"routerLink\",t.DdM(22,mt)),t.xp6(1),t.Oqu(t.lcZ(25,18,\"pass_dim\")),t.xp6(3),t.hij(\" \",t.lcZ(28,20,\"accedi\"),\" \")}}function Mt(n,s){if(1&n){const e=t.EpF();t.O4$(),t.TgZ(0,\"svg\",33),t.NdJ(\"click\",function(){t.CHM(e),t.oxw();const a=t.MAs(41);return t.oxw().toggleEyeIcon(a,2)}),t._UZ(1,\"path\",34),t._UZ(2,\"path\",35),t.qZA()}}function Pt(n,s){if(1&n){const e=t.EpF();t.O4$(),t.TgZ(0,\"svg\",33),t.NdJ(\"click\",function(){t.CHM(e),t.oxw();const a=t.MAs(41);return t.oxw().toggleEyeIcon(a,2)}),t._UZ(1,\"g\",36),t._UZ(2,\"g\",37),t.TgZ(3,\"g\",38),t._UZ(4,\"path\",39),t._UZ(5,\"path\",40),t._UZ(6,\"path\",41),t._UZ(7,\"path\",42),t._UZ(8,\"path\",43),t.qZA(),t.qZA()}}function Bt(n,s){if(1&n){const e=t.EpF();t.O4$(),t.TgZ(0,\"svg\",33),t.NdJ(\"click\",function(){t.CHM(e),t.oxw();const a=t.MAs(53);return t.oxw().toggleEyeIcon(a,3)}),t._UZ(1,\"path\",34),t._UZ(2,\"path\",35),t.qZA()}}function L(n,s){if(1&n){const e=t.EpF();t.O4$(),t.TgZ(0,\"svg\",33),t.NdJ(\"click\",function(){t.CHM(e),t.oxw();const a=t.MAs(53);return t.oxw().toggleEyeIcon(a,3)}),t._UZ(1,\"g\",36),t._UZ(2,\"g\",37),t.TgZ(3,\"g\",38),t._UZ(4,\"path\",39),t._UZ(5,\"path\",40),t._UZ(6,\"path\",41),t._UZ(7,\"path\",42),t._UZ(8,\"path\",43),t.qZA(),t.qZA()}}function at(n,s){if(1&n){const e=t.EpF();t.TgZ(0,\"form\",44),t.TgZ(1,\"div\",23),t.TgZ(2,\"div\",45),t.TgZ(3,\"label\",46),t.TgZ(4,\"strong\"),t._uU(5),t.ALo(6,\"translate\"),t.qZA(),t.qZA(),t.qZA(),t.qZA(),t.TgZ(7,\"div\",47),t.TgZ(8,\"div\",48),t._UZ(9,\"input\",49),t.ALo(10,\"translate\"),t._uU(11,\"\\xa0\\xa0 \"),t.qZA(),t.TgZ(12,\"div\",50),t.TgZ(13,\"button\",51),t.NdJ(\"click\",function(){return t.CHM(e),t.oxw().forgotPassword()}),t.TgZ(14,\"div\",52),t.TgZ(15,\"div\",53),t.O4$(),t.TgZ(16,\"svg\",54),t._UZ(17,\"path\",55),t._UZ(18,\"path\",56),t.qZA(),t.qZA(),t.qZA(),t.kcU(),t.TgZ(19,\"span\",57),t._uU(20),t.ALo(21,\"translate\"),t.qZA(),t.qZA(),t.qZA(),t.qZA(),t.TgZ(22,\"div\",23),t.TgZ(23,\"h4\",58),t._uU(24),t.ALo(25,\"translate\"),t.qZA(),t.qZA(),t.TgZ(26,\"div\",23),t.TgZ(27,\"div\",59),t.TgZ(28,\"label\",60),t.TgZ(29,\"strong\"),t._uU(30),t.ALo(31,\"translate\"),t.qZA(),t.qZA(),t.qZA(),t._UZ(32,\"input\",61),t.ALo(33,\"translate\"),t.qZA(),t.TgZ(34,\"div\",23),t.TgZ(35,\"div\"),t.TgZ(36,\"label\",24),t.TgZ(37,\"strong\"),t._uU(38),t.ALo(39,\"translate\"),t.qZA(),t.qZA(),t.qZA(),t._UZ(40,\"input\",62,63),t.ALo(42,\"translate\"),t.TgZ(43,\"span\",28),t.YNc(44,Mt,3,0,\"svg\",29),t.YNc(45,Pt,9,0,\"svg\",29),t.qZA(),t.qZA(),t.TgZ(46,\"div\",23),t.TgZ(47,\"div\"),t.TgZ(48,\"label\",24),t.TgZ(49,\"strong\"),t._uU(50),t.ALo(51,\"translate\"),t.qZA(),t.qZA(),t.qZA(),t._UZ(52,\"input\",64,65),t.ALo(54,\"translate\"),t.TgZ(55,\"span\",28),t.YNc(56,Bt,3,0,\"svg\",29),t.YNc(57,L,9,0,\"svg\",29),t.qZA(),t.qZA(),t.TgZ(58,\"div\",23),t.TgZ(59,\"div\",30),t.O4$(),t.TgZ(60,\"svg\",66),t.NdJ(\"click\",function(){return t.CHM(e),t.oxw().switchPage()}),t._UZ(61,\"g\",36),t._UZ(62,\"g\",37),t.TgZ(63,\"g\",38),t._UZ(64,\"path\",67),t._UZ(65,\"path\",68),t.qZA(),t.qZA(),t.kcU(),t.TgZ(66,\"a\",31),t.NdJ(\"click\",function(){return t.CHM(e),t.oxw().switchPage()}),t._uU(67),t.ALo(68,\"translate\"),t.qZA(),t.qZA(),t.TgZ(69,\"button\",69),t.NdJ(\"click\",function(){return t.CHM(e),t.oxw().resetPassword()}),t._uU(70),t.ALo(71,\"translate\"),t.qZA(),t.qZA(),t.qZA()}if(2&n){const e=t.oxw();t.Q6J(\"formGroup\",e.resetPasswordForm),t.xp6(5),t.Oqu(t.lcZ(6,18,\"email\")),t.xp6(4),t.s9C(\"placeholder\",t.lcZ(10,20,\"ins_email_login\")),t.xp6(11),t.Oqu(t.lcZ(21,22,\"inv\")),t.xp6(4),t.Oqu(t.lcZ(25,24,\"invio_email_token\")),t.xp6(6),t.Oqu(t.lcZ(31,26,\"token\")),t.xp6(2),t.s9C(\"placeholder\",t.lcZ(33,28,\"ins_token\")),t.xp6(6),t.Oqu(t.lcZ(39,30,\"nuova_psw\")),t.xp6(2),t.s9C(\"placeholder\",t.lcZ(42,32,\"ins_nuova_psw\")),t.xp6(4),t.Q6J(\"ngIf\",!e.changeIcon2),t.xp6(1),t.Q6J(\"ngIf\",e.changeIcon2),t.xp6(5),t.Oqu(t.lcZ(51,34,\"ver_nuova_psw\")),t.xp6(2),t.s9C(\"placeholder\",t.lcZ(54,36,\"ins_nuova_psw2\")),t.xp6(4),t.Q6J(\"ngIf\",!e.changeIcon3),t.xp6(1),t.Q6J(\"ngIf\",e.changeIcon3),t.xp6(9),t.Q6J(\"routerLink\",t.DdM(42,mt)),t.xp6(1),t.Oqu(t.lcZ(68,38,\"torna_login\")),t.xp6(3),t.hij(\" \",t.lcZ(71,40,\"conferma\"),\" \")}}const Y=function(n,s){return{section_form:n,section_form2:s}};let rt=(()=>{class n{constructor(e,o,a,d,h){this.translate=e,this.authService=o,this.router=a,this.dialog=d,this.notifyService=h,this.reset=!1,this.hide=!0,this.emailCounter=0,this.changeIcon1=!1,this.changeIcon2=!1,this.changeIcon3=!1,this.form=new l.cw({username:new l.NI(\"\",l.kI.required),password:new l.NI(\"\",[l.kI.required])}),this.resetPasswordForm=new l.cw({email:new l.NI(\"\",[l.kI.required]),token:new l.NI(\"\",[l.kI.required]),psw1:new l.NI(\"\",[l.kI.required]),psw2:new l.NI(\"\",[l.kI.required])})}ngOnInit(){return(0,C.mG)(this,void 0,void 0,function*(){try{this.lang=b().get(\"lang\",{decrypt:!0})}catch(o){console.log(\"i parametri non sono criptati\"),localStorage.clear(),window.location.reload()}if(this.mobile=window.screen.width,!window.location.href.includes(\"http://localhost:4200/\")&&this.mobile>1300){let o;window.addEventListener(\"resize\",function(a){clearTimeout(o),o=setTimeout(function(){window.location.reload()})})}if(null!==b().get(\"token\",{decrypt:!0}))if(\"USER\"===b().get(\"userRole\",{decrypt:!0}))this.showUserError(),console.log(\"sku\");else try{const o=yield this.authService.isValidToken().toPromise();console.log(o),!0===o?this.router.navigate([\"management\"]):(b().clear(),location.reload())}catch(o){console.error(o.message)}let e=(0,et.zf)();this.loadCSS((0,et.p4)(e)),this.setFavicon(e)})}setFavicon(e){let a,o=(0,et.p4)(e);switch(e){case\"beagleplug\":case\"electriease\":case\"eyes\":case\"energinaio\":case\"miacharge\":case\"electricgasoline\":case\"sagelio\":case\"ekomobil\":case\"aquila\":case\"silla\":a=\"../../assets/whitelabel/\"+o+\"/favicon.png\"}const d=document.getElementsByTagName(\"head\")[0],h=document.querySelector('link[rel=\"icon\"]')||document.createElement(\"link\");h.setAttribute(\"type\",\"image/x-icon\"),h.setAttribute(\"rel\",\"icon\"),h.setAttribute(\"href\",a),h.getAttribute(\"id\")?document.getElementById(\"dynamic-favicon\").setAttribute(\"href\",a):(h.setAttribute(\"id\",\"dynamic-favicon\"),d.appendChild(h))}isTech(){return\"true\"===b().get(\"tech\",{decrypt:!0})}isAdmin(){var e;return\"ADMIN\"==(null===(e=this.authService.user)||void 0===e?void 0:e.role)}onSubmit(){var e;return(0,C.mG)(this,void 0,void 0,function*(){this.authService.reset(),b().set(\"lang\",this.lang,{encrypt:!0});const o=yield this.authService.login(this.form.value.username,this.form.value.password);if(window.location.href.includes(\"localhost\")&&console.log(o),null!=o)if(o.startsWith(\"BeaglePlug\")){const a=this.authService.user.role;console.log(this.authService.user.permissions),o&&\"USER\"==a?this.showUserError():this.isAdmin()?this.router.navigate([\"management/cpms\"]):this.isAdmin()||this.isCpo()||!this.isEmp()?this.isAdmin()||!this.isCpo()||this.isEmp()?!this.isAdmin()&&this.isCpo()&&this.isEmp()?this.router.navigate([\"management/cpo\"]):!this.isAdmin()&&!this.isCpo()&&!this.isEmp()&&this.isFleet()&&this.router.navigate([\"management/fleet/transaction\"]):(null===(e=this.authService.user.permissions)||void 0===e?void 0:e.includes(\"homeAccessRead\"))?this.router.navigate([\"management/cpo\"]):this.router.navigate([\"management\"]):this.router.navigate([\"management/emp\"])}else{let d=JSON.parse(o).message;switch(d){case\"User not found\":d=this.translate.instant(\"ut_err\");break;case\"Invalid credentials\":d=this.translate.instant(\"psw_err\")}this.notifyService.showSuccess(d,this.translate.instant(\"att\"))}})}isCpo(){var e;if(!this.isAdmin())return this.dataempcpo=JSON.parse(b().get(\"dataEmpCpo\",{decrypt:!0})),null===(e=this.dataempcpo)||void 0===e?void 0:e.cpoActive}isEmp(){if(!this.isAdmin())return this.dataempcpo=JSON.parse(b().get(\"dataEmpCpo\",{decrypt:!0})),this.dataempcpo.empActive}isFleet(){if(!this.isAdmin())return this.dataempcpo=JSON.parse(b().get(\"dataEmpCpo\",{decrypt:!0})),this.dataempcpo.fleetActive}switchPage(){this.reset=!this.reset}delay(e){return(0,C.mG)(this,void 0,void 0,function*(){return new Promise(o=>setTimeout(o,e))})}forgotPassword(){return(0,C.mG)(this,void 0,void 0,function*(){let e=!1;this.emailCounter<1?(this.emailCounter++,this.authService.forgotPassword(this.resetPasswordForm.value.email).toPromise().catch(o=>{console.warn(o.error.message),\"User, not present\"===o.error.message?(this.notifyService.showWarning(this.translate.instant(\"ut_err\"),this.translate.instant(\"att\")),e=!0):this.notifyService.showError(this.translate.instant(\"semplice_err\"),this.translate.instant(\"errore\"))}).then(()=>{e||this.notifyService.showInfo(this.translate.instant(\"email_token\"),this.translate.instant(\"info\"))}),yield this.delay(12e4),this.emailCounter=0):this.emailCounter>=1&&this.notifyService.showWarning(this.translate.instant(\"ric_pres\"),this.translate.instant(\"att\"))})}resetPassword(){this.resetPasswordForm.value.psw1!=this.resetPasswordForm.value.psw2?this.notifyService.showWarning(this.translate.instant(\"pass_err\"),this.translate.instant(\"att\")):0==this.resetPasswordForm.get(\"psw1\").valid||0==this.resetPasswordForm.get(\"psw2\").valid?this.notifyService.showInfo(this.translate.instant(\"compila_pass\"),this.translate.instant(\"info\")):this.resetPasswordForm.get(\"token\").valid?this.authService.resetPassword(this.resetPasswordForm.value.token,this.resetPasswordForm.value.psw1).toPromise().catch(e=>{console.error(e.message),this.notifyService.showError(this.translate.instant(\"semplice_err\"),this.translate.instant(\"errore\"))}).then(()=>{this.notifyService.showSuccess(this.translate.instant(\"nuova_pass_imp\"),this.translate.instant(\"ok\")),this.switchPage()}):this.notifyService.showWarning(this.translate.instant(\"token_vuoto\"),this.translate.instant(\"att\"))}showCredentialError(){this.dialog.open(T,{data:{type:\"credential\"}})}showUserError(){this.dialog.open(T,{data:{type:\"user\"}})}showUnknownError(){this.dialog.open(T,{data:{type:\"unknown\"}})}toggleEyeIcon(e,o){switch(o){case 1:this.changeIcon1=!this.changeIcon1;break;case 2:this.changeIcon2=!this.changeIcon2;break;case 3:this.changeIcon3=!this.changeIcon3}e.type=\"password\"===e.type?\"text\":\"password\"}changeLang(e){console.log(e),b().set(\"lang\",e,{encrypt:!0}),window.location.reload()}loadCSS(e){let o;console.log(e),o=document.createElement(\"link\"),o.setAttribute(\"rel\",\"stylesheet\"),o.setAttribute(\"type\",\"text/css\"),o.setAttribute(\"href\",`../../assets/whitelabel/${e}/${e}.css`),o.onload=function(){console.log(\"File loaded successfully\")},o.onerror=function(){console.log(\"Error loading file\")},void 0!==o&&document.getElementsByTagName(\"head\")[0].appendChild(o)}clickMenu(){document.getElementById(\"menu\").style.display=\"block\",console.log(\"test\")}lingua(){switch(this.translate.currentLang){case\"it\":default:return\"Italiano\";case\"en\":return\"English\"}}imageBackground(){let e=(0,et.zf)(),o=(0,et.p4)(e);switch(e){case\"beagleplug\":return\"../../assets/whitelabel/\"+o+\"/image/image_background_beagleplug.png\";case\"electriease\":return\"../../assets/whitelabel/\"+o+\"/image/electriease_img_bg.png\";case\"eyes\":return\"../../assets/whitelabel/\"+o+\"/image/image_background_eyes.png\";case\"energinaio\":return\"../../assets/whitelabel/\"+o+\"/image/image_background_energinaio.png\";case\"miacharge\":return\"../../assets/whitelabel/\"+o+\"/image/image_background_miacharge.png\";case\"electricgasoline\":return\"../../assets/whitelabel/\"+o+\"/image/image_background_electricgasoline.png\";case\"sagelio\":return\"../../assets/whitelabel/\"+o+\"/image/image_background_sagelio.png\";case\"ekomobil\":return\"../../assets/whitelabel/\"+o+\"/image/image_background_ekomobil.png\";case\"aquila\":return\"../../assets/whitelabel/\"+o+\"/image/image_background_aquila.jpg\";case\"silla\":return\"../../assets/whitelabel/\"+o+\"/image/image_background_silla.png\";case\"easygreen\":return\"../../assets/whitelabel/\"+o+\"/image/image_background_easygreen.png\";case\"t-carica\":return\"../../assets/whitelabel/\"+o+\"/image/image_background_t-carica.png\"}}imageLogo(){let e=(0,et.zf)(),o=(0,et.p4)(e);switch(e){case\"beagleplug\":return\"../../assets/whitelabel/\"+o+\"/BeaglePlug_bianco.png\";case\"electriease\":return\"../../assets/whitelabel/\"+o+\"/electriease_white.png\";case\"eyes\":case\"energinaio\":case\"miacharge\":case\"sagelio\":case\"ekomobil\":case\"aquila\":case\"easygreen\":case\"t-carica\":return\"../../assets/whitelabel/\"+o+\"/logo.png\";case\"electricgasoline\":return\"../../assets/whitelabel/\"+o+\"/logo_white.png\";case\"silla\":return\"../../assets/whitelabel/\"+o+\"/sl_white.png\"}}}return n.\\u0275fac=function(e){return new(e||n)(t.Y36(U.sK),t.Y36(F.e),t.Y36(N.F0),t.Y36(O.uw),t.Y36(K.m))},n.\\u0275cmp=t.Xpm({type:n,selectors:[[\"app-login\"]],decls:19,vars:11,consts:[[1,\"parent\"],[\"class\",\"div1\",\"style\",\"contain: content;\",4,\"ngIf\"],[1,\"bg_login\",\"div2\"],[1,\"lang-menu\",3,\"click\"],[\"class\",\"selected-lang selected-lang-it\",\"style\",\" font-weight: bold;\\n color: rgb(255, 255, 255); text-shadow: 1px 1px 4px black;\",4,\"ngIf\"],[\"class\",\"selected-lang selected-lang-en\",\"style\",\" font-weight: bold;\\n color: rgb(255, 255, 255); text-shadow: 1px 1px 4px black;\",4,\"ngIf\"],[\"id\",\"menu\"],[\"href\",\"\",1,\"en\",3,\"click\"],[\"href\",\"\",1,\"it\",3,\"click\"],[\"class\",\"spacePC\",4,\"ngIf\"],[1,\"spaceForPartner\"],[\"class\",\"container\",\"style\",\"max-height: 240px;\",4,\"ngIf\"],[3,\"ngClass\"],[\"id\",\"consultation-form\",\"class\",\"feed-form\",\"action\",\"#\",3,\"formGroup\",4,\"ngIf\"],[\"class\",\"feed-form\",3,\"formGroup\",4,\"ngIf\"],[1,\"div1\",2,\"contain\",\"content\"],[\"alt\",\"background\",1,\"img\",3,\"src\"],[1,\"selected-lang\",\"selected-lang-it\",2,\"font-weight\",\"bold\",\"color\",\"rgb(255, 255, 255)\",\"text-shadow\",\"1px 1px 4px black\"],[1,\"selected-lang\",\"selected-lang-en\",2,\"font-weight\",\"bold\",\"color\",\"rgb(255, 255, 255)\",\"text-shadow\",\"1px 1px 4px black\"],[1,\"spacePC\"],[1,\"container\",2,\"max-height\",\"240px\"],[\"alt\",\"picture white\",1,\"imgWhite\",3,\"src\"],[\"id\",\"consultation-form\",\"action\",\"#\",1,\"feed-form\",3,\"formGroup\"],[1,\"input-container\"],[2,\"color\",\"white\",\"margin-bottom\",\"0.25rem\"],[\"maximum-scale\",\"1\",\"formControlName\",\"username\",\"type\",\"text\",3,\"placeholder\"],[\"type\",\"password\",\"formControlName\",\"password\",\"id\",\"password\",1,\"noSelectPassword\",3,\"placeholder\"],[\"inputPassword\",\"\"],[1,\"noSelectPassword\"],[\"stroke\",\"currentColor\",\"viewBox\",\"0 0 24 24\",\"fill\",\"none\",\"xmlns\",\"http://www.w3.org/2000/svg\",3,\"click\",4,\"ngIf\"],[1,\"form-group-style\"],[2,\"color\",\"white\",3,\"routerLink\",\"click\"],[\"type\",\"submit\",1,\"buttonAccess\",2,\"white-space\",\"nowrap\",3,\"click\"],[\"stroke\",\"currentColor\",\"viewBox\",\"0 0 24 24\",\"fill\",\"none\",\"xmlns\",\"http://www.w3.org/2000/svg\",3,\"click\"],[\"d\",\"M15 12a3 3 0 11-6 0 3 3 0 016 0z\",\"stroke-width\",\"2\",\"stroke-linejoin\",\"round\",\"stroke-linecap\",\"round\"],[\"d\",\"M2.458 12C3.732 7.943 7.523 5 12 5c4.478 0 8.268 2.943 9.542 7-1.274 4.057-5.064 7-9.542 7-4.477 0-8.268-2.943-9.542-7z\",\"stroke-width\",\"2\",\"stroke-linejoin\",\"round\",\"stroke-linecap\",\"round\"],[\"id\",\"SVGRepo_bgCarrier\",\"stroke-width\",\"0\"],[\"id\",\"SVGRepo_tracerCarrier\",\"stroke-linecap\",\"round\",\"stroke-linejoin\",\"round\"],[\"id\",\"SVGRepo_iconCarrier\"],[\"opacity\",\"0.1\",\"d\",\"M6.29528 7.87634L5 9.17162C3.66667 10.505 3 11.1716 3 12C3 12.8285 3.66667 13.4951 5 14.8285L7.12132 16.9498C9.85499 19.6835 14.2871 19.6835 17.0208 16.9498L17.4322 16.5384L14.5053 14.2619C13.9146 14.8713 13.0873 15.2501 12.1716 15.2501C10.3766 15.2501 8.92157 13.795 8.92157 12.0001C8.92157 11.3746 9.09827 10.7904 9.40447 10.2946L6.29528 7.87634Z\",\"fill\",\"#9CA3AF\"],[\"d\",\"M3.17139 5.12988L21.1714 19.1299\",\"stroke\",\"#9CA3AF\",\"stroke-width\",\"2\",\"stroke-linecap\",\"round\",\"stroke-linejoin\",\"round\"],[\"d\",\"M14.3653 13.8456C13.8162 14.5483 12.9609 15 12 15C10.3431 15 9 13.6569 9 12C9 11.3256 9.22253 10.7032 9.59817 10.2021\",\"stroke\",\"#9CA3AF\",\"stroke-width\",\"2\"],[\"d\",\"M9 5.62667C11.5803 4.45322 14.7268 4.92775 16.8493 7.05025L19.8511 10.052C20.3477 10.5486 20.5959 10.7969 20.7362 11.0605C21.0487 11.6479 21.0487 12.3521 20.7362 12.9395C20.5959 13.2031 20.3477 13.4514 19.8511 13.948V13.948L19.799 14\",\"stroke\",\"#9CA3AF\",\"stroke-width\",\"2\",\"stroke-linecap\",\"round\",\"stroke-linejoin\",\"round\"],[\"d\",\"M7.01596 8.39827C7.40649 8.00774 7.40649 7.37458 7.01596 6.98406C6.62544 6.59353 5.99228 6.59353 5.60175 6.98406L7.01596 8.39827ZM7.65685 16.2427L5.53553 14.1213L4.12132 15.5356L6.24264 17.6569L7.65685 16.2427ZM16.1421 16.2427C13.799 18.5858 10 18.5858 7.65685 16.2427L6.24264 17.6569C9.36684 20.7811 14.4322 20.7811 17.5563 17.6569L16.1421 16.2427ZM5.53553 9.8787L7.01596 8.39827L5.60175 6.98406L4.12132 8.46449L5.53553 9.8787ZM16.7465 15.6383L16.1421 16.2427L17.5563 17.6569L18.1607 17.0526L16.7465 15.6383ZM5.53553 14.1213C4.84888 13.4347 4.40652 12.9893 4.12345 12.6183C3.85798 12.2704 3.82843 12.1077 3.82843 12H1.82843C1.82843 12.7208 2.1322 13.3056 2.53341 13.8315C2.917 14.3342 3.47464 14.8889 4.12132 15.5356L5.53553 14.1213ZM4.12132 8.46449C3.47464 9.11116 2.917 9.6658 2.53341 10.1686C2.1322 10.6944 1.82843 11.2792 1.82843 12H3.82843C3.82843 11.8924 3.85798 11.7297 4.12345 11.3817C4.40652 11.0107 4.84888 10.5654 5.53553 9.8787L4.12132 8.46449Z\",\"fill\",\"#9CA3AF\"],[1,\"feed-form\",3,\"formGroup\"],[1,\"top-padding\",\"email\"],[2,\"color\",\"#ffffff\",\"margin-bottom\",\"0.25rem\",\"white-space\",\"nowrap\"],[1,\"gridSendEmail\",2,\"height\",\"16%\"],[1,\"input-container\",2,\"width\",\"20rem\"],[\"type\",\"text\",\"formControlName\",\"email\",2,\"width\",\"81%\",3,\"placeholder\"],[1,\"padSendEmail\",2,\"position\",\"relative\",\"right\",\"52%\"],[1,\"sendEmail\",3,\"click\"],[1,\"svg-wrapper-1\"],[1,\"svg-wrapper\"],[\"height\",\"24\",\"width\",\"24\",\"viewBox\",\"0 0 24 24\",\"xmlns\",\"http://www.w3.org/2000/svg\",1,\"sendSvg\"],[\"d\",\"M0 0h24v24H0z\",\"fill\",\"none\"],[\"d\",\"M1.946 9.315c-.522-.174-.527-.455.01-.634l19.087-6.362c.529-.176.832.12.684.638l-5.454 19.086c-.15.529-.455.547-.679.045L12 14l6-8-8 6-8.054-2.685z\",\"fill\",\"currentColor\"],[1,\"sendSpan\"],[1,\"email_token\",2,\"color\",\"white\"],[1,\"top-padding\"],[2,\"color\",\"#ffffff\",\"margin-bottom\",\"0.25rem\"],[\"type\",\"text\",\"formControlName\",\"token\",\"autocomplete\",\"off\",\"readonly\",\"\",\"onfocus\",\"this.removeAttribute('readonly');\",3,\"placeholder\"],[\"type\",\"password\",\"formControlName\",\"psw1\",\"id\",\"psw1\",1,\"noSelectPassword\",3,\"placeholder\"],[\"inputresetpsw1\",\"\"],[\"type\",\"password\",\"formControlName\",\"psw2\",\"id\",\"psw2\",1,\"noSelectPassword\",3,\"placeholder\"],[\"inputresetpsw2\",\"\"],[\"width\",\"36px\",\"height\",\"20px\",\"viewBox\",\"0 0 48 48\",\"fill\",\"none\",\"xmlns\",\"http://www.w3.org/2000/svg\",\"stroke\",\"#ffffff\",3,\"click\"],[\"d\",\"M12.9998 8L6 14L12.9998 21\",\"stroke\",\"#ffffff\",\"stroke-width\",\"4\",\"stroke-linecap\",\"round\",\"stroke-linejoin\",\"round\"],[\"d\",\"M6 14H28.9938C35.8768 14 41.7221 19.6204 41.9904 26.5C42.2739 33.7696 36.2671 40 28.9938 40H11.9984\",\"stroke\",\"#ffffff\",\"stroke-width\",\"4\",\"stroke-linecap\",\"round\",\"stroke-linejoin\",\"round\"],[\"type\",\"submit\",1,\"buttonRecover\",2,\"white-space\",\"nowrap\",3,\"click\"]],template:function(e,o){1&e&&(t.TgZ(0,\"body\",0),t.YNc(1,S,2,1,\"div\",1),t.TgZ(2,\"div\",2),t.TgZ(3,\"div\",3),t.NdJ(\"click\",function(){return o.clickMenu()}),t.YNc(4,ct,2,0,\"div\",4),t.YNc(5,dt,2,0,\"div\",5),t.TgZ(6,\"ul\",6),t.TgZ(7,\"li\"),t.TgZ(8,\"a\",7),t.NdJ(\"click\",function(){return o.changeLang(\"en\")}),t._uU(9,\"English\"),t.qZA(),t.qZA(),t.TgZ(10,\"li\"),t.TgZ(11,\"a\",8),t.NdJ(\"click\",function(){return o.changeLang(\"it\")}),t._uU(12,\"Italiano\"),t.qZA(),t.qZA(),t.qZA(),t.qZA(),t.YNc(13,Ot,1,0,\"div\",9),t._UZ(14,\"div\",10),t.YNc(15,R,2,1,\"div\",11),t.TgZ(16,\"section\",12),t.YNc(17,At,29,23,\"form\",13),t.YNc(18,at,72,43,\"form\",14),t.qZA(),t.qZA(),t.qZA()),2&e&&(t.xp6(1),t.Q6J(\"ngIf\",o.mobile>1200),t.xp6(3),t.Q6J(\"ngIf\",\"Italiano\"==o.lingua()),t.xp6(1),t.Q6J(\"ngIf\",\"English\"==o.lingua()),t.xp6(8),t.Q6J(\"ngIf\",!o.reset),t.xp6(2),t.Q6J(\"ngIf\",o.mobile>600||!o.reset),t.xp6(1),t.Q6J(\"ngClass\",t.WLB(8,Y,o.mobile>600||!o.reset,o.reset)),t.xp6(1),t.Q6J(\"ngIf\",!o.reset),t.xp6(1),t.Q6J(\"ngIf\",o.reset))},directives:[v.O5,v.mk,H.oO,l._Y,l.JL,l.sg,l.Fj,l.JJ,l.u,N.yS],pipes:[U.X$],styles:['@import\"https://fonts.googleapis.com/css2?family=Didact+Gothic&display=swap\";@import\"https://cdnjs.cloudflare.com/ajax/libs/normalize/8.0.1/normalize.css\";.feed-form[_ngcontent-%COMP%]{margin-top:36px;display:flex;flex-direction:column;width:447px}.spacePC[_ngcontent-%COMP%]{height:10%}body[_ngcontent-%COMP%]{overflow-x:unset}.feed-form[_ngcontent-%COMP%] input[_ngcontent-%COMP%]{height:54px;border-radius:5px;background:white;margin-bottom:15px;border:none;padding:0 20px;font-weight:300;font-size:14px;color:#4b4b4b}.button_submit[_ngcontent-%COMP%]:hover, .feed-form[_ngcontent-%COMP%] input[_ngcontent-%COMP%]:hover{transform:scale(1.009);box-shadow:0 0 3px #212529}.parent[_ngcontent-%COMP%]{display:grid;grid-template-columns:repeat(2,1fr);grid-template-rows:1fr;grid-column-gap:0px;grid-row-gap:0px;overflow:hidden}.container[_ngcontent-%COMP%], .section_form[_ngcontent-%COMP%]{display:flex;justify-content:center;align-items:center}.img[_ngcontent-%COMP%]{height:100%;width:100%;position:relative;bottom:16%}.h4[_ngcontent-%COMP%]{width:385px;color:#fff}.top-padding[_ngcontent-%COMP%]{padding-top:1em}.gridSendEmail[_ngcontent-%COMP%]{display:grid;grid-template-columns:5fr 1fr;grid-template-rows:1fr;grid-column-gap:0px;grid-row-gap:0px;grid-gap:6px;gap:6px}.padSendEmail[_ngcontent-%COMP%]{padding-top:6%}.send[_ngcontent-%COMP%]{width:100px;height:100px}.top-padding3[_ngcontent-%COMP%]{padding-top:1.5em}.click[_ngcontent-%COMP%]{cursor:pointer}.selected-lang-login[_ngcontent-%COMP%]{cursor:pointer;display:flex;justify-content:space-between;line-height:2;width:100px}.selected-lang-login[_ngcontent-%COMP%]:before{content:\"\";display:block;width:28px;height:28px;background-image:url(https://cdn1.iconfinder.com/data/icons/rcons-basic-work-and-office/16/internet_world_network_web_planet_earth_globe-28.png)}.lang-menu[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%] option[_ngcontent-%COMP%]{width:130px;display:inline-block;padding:5px 10px}.lang-menu[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%] option[_ngcontent-%COMP%]:hover{background-color:#f2f2f2}.lang-menu[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%] option[_ngcontent-%COMP%]:before{content:\"\";display:inline-block;width:28px;height:28px;margin-right:10px;vertical-align:middle}.en[_ngcontent-%COMP%]:before{background-image:url(https://cdn1.iconfinder.com/data/icons/world-flags-circular/1000/Flag_of_United_Kingdom_-_Circle-28.png)}.it[_ngcontent-%COMP%]:before{background-image:url(https://cdn1.iconfinder.com/data/icons/european-country-flags/83/italy-28.png)}.lang-menu[_ngcontent-%COMP%]:hover ul[_ngcontent-%COMP%]{display:block}input[type=color][_ngcontent-%COMP%], input[type=date][_ngcontent-%COMP%], input[type=datetime][_ngcontent-%COMP%], input[type=datetime-local][_ngcontent-%COMP%], input[type=email][_ngcontent-%COMP%], input[type=month][_ngcontent-%COMP%], input[type=number][_ngcontent-%COMP%], input[type=password][_ngcontent-%COMP%], input[type=search][_ngcontent-%COMP%], input[type=tel][_ngcontent-%COMP%], input[type=text][_ngcontent-%COMP%], input[type=time][_ngcontent-%COMP%], input[type=url][_ngcontent-%COMP%], input[type=week][_ngcontent-%COMP%], select[_ngcontent-%COMP%]:focus, textarea[_ngcontent-%COMP%]{font-size:16px}.form[_ngcontent-%COMP%]{background-color:#fff;display:block;padding:1rem;max-width:350px;border-radius:.5rem;box-shadow:0 10px 15px -3px #0000001a,0 4px 6px -2px #0000000d}.input-container[_ngcontent-%COMP%]{position:relative}.input-container[_ngcontent-%COMP%] input[_ngcontent-%COMP%], .form[_ngcontent-%COMP%] button[_ngcontent-%COMP%]{outline:none;border:1px solid #e5e7eb;margin:8px 0}.input-container[_ngcontent-%COMP%] input[_ngcontent-%COMP%]{background-color:#fff;padding:1rem 3rem 1rem 1rem;font-size:.875rem;line-height:1.25rem;width:446px;border-radius:.5rem;box-shadow:0 1px 2px #0000000d}.input-container[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{display:grid;position:absolute;top:24%;bottom:0;padding-left:1rem;padding-right:1rem;place-content:center}.input-container[_ngcontent-%COMP%] span[_ngcontent-%COMP%] svg[_ngcontent-%COMP%]{color:#9ca3af;width:2rem;height:24px}.sendEmail[_ngcontent-%COMP%]{font-family:inherit;font-size:20px;background:#eaeaea;color:#099;padding:.7em 1em .7em .9em;display:flex;align-items:center;border:none;border-radius:16px;overflow:hidden;transition:all .2s}.sendSpan[_ngcontent-%COMP%]{text-transform:uppercase}.sendEmail[_ngcontent-%COMP%] .sendSpan[_ngcontent-%COMP%]{display:block;margin-left:.3em;transition:all .3s ease-in-out}.sendEmail[_ngcontent-%COMP%] .sendSvg[_ngcontent-%COMP%]{display:block;transform-origin:center center;transition:transform .3s ease-in-out}.sendEmail[_ngcontent-%COMP%]:hover .svg-wrapper[_ngcontent-%COMP%]{animation:fly-1 .6s ease-in-out infinite alternate}.sendEmail[_ngcontent-%COMP%]:hover .sendSvg[_ngcontent-%COMP%]{transform:translate(1.2em) rotate(45deg) scale(1.1)}.sendEmail[_ngcontent-%COMP%]:hover .sendSpan[_ngcontent-%COMP%]{transform:translate(5em)}.sendEmail[_ngcontent-%COMP%]:active{transform:scale(.95)}.buttonAccess[_ngcontent-%COMP%], .buttonRecover[_ngcontent-%COMP%]{padding:1em 41%;border:none;border-radius:5px;font-weight:bold;letter-spacing:5px;text-transform:uppercase;color:#2c9caf;transition:all 1s;font-size:15px;position:relative;overflow:hidden;outline:2px solid #2c9caf}.buttonAccess[_ngcontent-%COMP%]:hover, .buttonRecover[_ngcontent-%COMP%]:hover{color:#fff;transform:scale(1.1);outline:2px solid #70bdca;box-shadow:4px 5px 17px -4px #268391}.buttonAccess[_ngcontent-%COMP%]:before, .buttonRecover[_ngcontent-%COMP%]:before{content:\"\";position:absolute;left:-50px;top:0;width:0;height:100%;background-color:#2c9caf;transform:skew(45deg);z-index:-1;transition:width 1s}.buttonAccess[_ngcontent-%COMP%]:hover:before, .buttonRecover[_ngcontent-%COMP%]:hover:before{width:250%}.col-lg-6-style[_ngcontent-%COMP%], .col-md-8-style[_ngcontent-%COMP%], .col-xl-12-style[_ngcontent-%COMP%], .col-2-style[_ngcontent-%COMP%]{position:relative;width:100%;padding-right:15px;padding-left:15px}[data-theme-version=dark][_ngcontent-%COMP%] .authincation-content-style[_ngcontent-%COMP%]{background:#2F363E;box-shadow:none}.form-group-style[_ngcontent-%COMP%]{margin-bottom:1rem;display:flex;flex:0 0 auto;flex-flow:row wrap;align-items:center;color:#fff;-webkit-user-select:none;user-select:none}.noSelectPassword[_ngcontent-%COMP%]{-webkit-user-select:none;user-select:none}.input-group-prepend-style[_ngcontent-%COMP%]{display:flex;margin-right:-1px}.radio-inputs[_ngcontent-%COMP%] .radio[_ngcontent-%COMP%] input[_ngcontent-%COMP%]:checked + .name[_ngcontent-%COMP%]{background-color:#fff;font-weight:600}.logo[_ngcontent-%COMP%]{width:100px}.logo[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{width:100px}.lang-menu[_ngcontent-%COMP%]{width:100px;text-align:right;font-weight:bold;margin-top:25px;position:relative;float:right;margin-right:26px}.lang-menu[_ngcontent-%COMP%] .selected-lang[_ngcontent-%COMP%]{display:flex;justify-content:space-between;line-height:2;cursor:pointer}.lang-menu[_ngcontent-%COMP%] .selected-lang[_ngcontent-%COMP%]:before{content:\"\";display:inline-block;width:32px;height:32px;background-size:contain;background-repeat:no-repeat}.selected-lang-it[_ngcontent-%COMP%]:before{background-image:url(italy-flag.ed5ff5f5e23ee78fcfe6.svg)}.selected-lang-en[_ngcontent-%COMP%]:before{background-image:url(united-kingdom-flag.b0dfd1b28c2885d778c6.svg)}.lang-menu[_ngcontent-%COMP%] ul[_ngcontent-%COMP%]{margin:0;padding:0;display:none;background-color:#fff;border:1px solid #f8f8f8;position:absolute;top:45px;right:0px;width:125px;border-radius:5px;box-shadow:0 1px 10px #0003}.lang-menu[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%]{list-style:none;text-align:left;display:flex;justify-content:space-between}.lang-menu[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{text-decoration:none;width:125px;padding:5px 10px;display:block}.lang-menu[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%]:hover{background-color:#f2f2f2}.lang-menu[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%] a[_ngcontent-%COMP%]:before{content:\"\";display:inline-block;width:25px;height:25px;vertical-align:middle;margin-right:10px;background-size:contain;background-repeat:no-repeat}@keyframes fly-1{0%{transform:translateY(.1em)}to{transform:translateY(-.1em)}}@media (min-width: 576px){.noSelectPassword[_ngcontent-%COMP%]{padding-left:19rem}}@media (min-width: 1200px){.sendEmail[_ngcontent-%COMP%]{position:relative;left:46%}.buttonRecover[_ngcontent-%COMP%]{padding:1em 11em!important}.div1[_ngcontent-%COMP%]{grid-area:1/1/2/2}.div2[_ngcontent-%COMP%]{grid-area:1/2/2/3}}@media (max-width: 1200px){.parent[_ngcontent-%COMP%]{grid-template-columns:repeat(1,1fr);height:100%}.container[_ngcontent-%COMP%]{height:22%}.div2[_ngcontent-%COMP%]{grid-area:1/1/2/3;position:relative;height:184%;top:0%}.input-container[_ngcontent-%COMP%] input[_ngcontent-%COMP%]{width:348px}.buttonAccess[_ngcontent-%COMP%]{padding:1em 9em}.buttonRecover[_ngcontent-%COMP%]{padding:1em 7em}.img[_ngcontent-%COMP%]{bottom:70px}.imgWhite[_ngcontent-%COMP%]{height:86%;position:relative;bottom:-16%}span[_ngcontent-%COMP%]{right:8px}.feed-form[_ngcontent-%COMP%]{margin-top:0;align-items:center}.gridSendEmail[_ngcontent-%COMP%]{grid-template-columns:3fr 1fr}.email_token[_ngcontent-%COMP%]{font-size:11px}}@media (max-width: 1328px) and (min-width: 1200px){.img[_ngcontent-%COMP%]{height:100%;position:relative;bottom:140px}.input-container[_ngcontent-%COMP%]{width:385px}span[_ngcontent-%COMP%]{right:-49px}.buttonAccess[_ngcontent-%COMP%], .buttonRecover[_ngcontent-%COMP%]{padding:1em 47.5%}}@media (max-width: 1486px) and (min-width: 1328px){.img[_ngcontent-%COMP%]{bottom:248px}span[_ngcontent-%COMP%]{right:0}}@media (min-width: 1468px){span[_ngcontent-%COMP%]{right:0}}@media only screen and (max-width: 575px){.email[_ngcontent-%COMP%]{position:relative;right:8rem}.email_token[_ngcontent-%COMP%]{font-size:9px}.sendEmail[_ngcontent-%COMP%]{font-size:12px}.padSendEmail[_ngcontent-%COMP%]{padding-top:21%}.buttonAccess[_ngcontent-%COMP%]{padding:1em 7em}.buttonRecover[_ngcontent-%COMP%]{padding:1em 6em}.input-container[_ngcontent-%COMP%] input[_ngcontent-%COMP%]{width:298px}.img[_ngcontent-%COMP%]{height:64%}.input-container[_ngcontent-%COMP%]{position:relative;justify-content:center;display:inline-grid}span[_ngcontent-%COMP%]{right:43px}.spacePC[_ngcontent-%COMP%]{height:unset}.content-body[_ngcontent-%COMP%]{margin-top:unset}.container[_ngcontent-%COMP%]{height:unset}.imgWhite[_ngcontent-%COMP%]{width:100%}.section_form2[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:flex-start;right:4%;position:relative}}']}),n})();var ut=c(79264),w=c(47082);function it(n,s){1&n&&t._UZ(0,\"app-loading-screen\")}function Q(n,s){1&n&&t.YNc(0,it,1,0,\"ng-template\")}function A(n,s){if(1&n){const e=t.EpF();t.TgZ(0,\"div\"),t.TgZ(1,\"div\",6),t.TgZ(2,\"mat-card\",7),t.TgZ(3,\"div\",8),t._uU(4),t.qZA(),t._UZ(5,\"img\",9),t.TgZ(6,\"button\",10),t.NdJ(\"click\",function(){const d=t.CHM(e).$implicit;return t.oxw(2).enter(d)}),t._uU(7,\" Entra \"),t.qZA(),t.qZA(),t.qZA(),t.qZA()}if(2&n){const e=s.$implicit,o=t.oxw(2);t.xp6(4),t.hij(\" \",o.cpoName(e.ragioneSociale),\" \")}}function tt(n,s){if(1&n&&(t.TgZ(0,\"div\",2),t.TgZ(1,\"div\",3),t._uU(2,\"Scegli il CPO\"),t.qZA(),t.qZA(),t.TgZ(3,\"div\",4),t.YNc(4,A,8,1,\"div\",5),t.qZA()),2&n){const e=t.oxw();t.xp6(4),t.Q6J(\"ngForOf\",e.cpos)}}let G=(()=>{class n{constructor(e,o,a){this.auth=e,this.cpoService=o,this.router=a,this.cpos=[]}ngOnDestroy(){this.authSubscribtion.unsubscribe()}ngOnInit(){return(0,C.mG)(this,void 0,void 0,function*(){this.isLoading=!0,null!=this.auth.cpoObservable&&this.auth.cpoObservable.next(null),null!=this.auth.dataEmpCpo&&(this.auth.dataEmpCpo=null),this.authSubscribtion=this.auth.userObservable.subscribe(e=>(0,C.mG)(this,void 0,void 0,function*(){null!=e&&(1==e.idCpo.length?(this.getCpo(e.idCpo[0]).then(o=>{this.enter(o)}),this.isLoading=!1):e.idCpo.length>1&&(yield this.initCpos().then(()=>{}),this.isLoading=!1))}))})}initCpos(){return(0,C.mG)(this,void 0,void 0,function*(){var e=[];for(const a of this.auth.user.idCpo){var o=new Promise(()=>(0,C.mG)(this,void 0,void 0,function*(){this.cpos.push(yield this.getCpo(a))}));e.push(o)}Promise.all(e)})}getCpo(e){return(0,C.mG)(this,void 0,void 0,function*(){return this.cpoService.getMyCpoById(e).toPromise()})}enter(e){return(0,C.mG)(this,void 0,void 0,function*(){this.router.navigate([\"management\"])})}cpoName(e){return null!=e&&\"\"!=e?e:\"Entra per registrare\"}}return n.\\u0275fac=function(e){return new(e||n)(t.Y36(F.e),t.Y36(ut.j),t.Y36(N.F0))},n.\\u0275cmp=t.Xpm({type:n,selectors:[[\"app-select-cpo\"]],decls:3,vars:2,consts:[[4,\"ngIf\",\"ngIfElse\"],[\"main\",\"\"],[2,\"position\",\"relative\",\"height\",\"20rem\",\"background-position\",\"center\",\"background-image\",\"url(https://www.theplan.it/awardsContest/2020/Office-Business/4138/190625_Durst_DSC_7009_cover.jpg)\",\"background-repeat\",\"no-repeat\",\"background-size\",\"cover\"],[1,\"title\"],[2,\"display\",\"grid\",\"grid-template-columns\",\"auto auto\",\"margin\",\"auto\",\"text-align\",\"center\"],[4,\"ngFor\",\"ngForOf\"],[2,\"display\",\"flex\",\"justify-content\",\"center\",\"align-items\",\"center\",\"padding\",\"1em\"],[2,\"width\",\"40rem\"],[2,\"text-align\",\"center\",\"font-size\",\"2em\",\"font-weight\",\"400\",\"color\",\"rgb(0, 179, 179)\",\"word-wrap\",\"break-word\"],[\"src\",\"https://cdn1.iconfinder.com/data/icons/building-71/100/Building-23-512.png\",\"alt\",\"\",2,\"width\",\"8em\",\"height\",\"8em\"],[\"mat-raised-button\",\"\",\"color\",\"primary\",2,\"width\",\"100%\",3,\"click\"]],template:function(e,o){if(1&e&&(t.YNc(0,Q,1,0,void 0,0),t.YNc(1,tt,5,1,\"ng-template\",null,1,t.W1O)),2&e){const a=t.MAs(2);t.Q6J(\"ngIf\",o.isLoading)(\"ngIfElse\",a)}},directives:[v.O5,w.g,v.sg,B.a8,z.lW],styles:[\"body[_ngcontent-%COMP%]{background-color:coral}.title[_ngcontent-%COMP%]{position:absolute;bottom:25%;left:16px;color:#eeeeeeb3;font-size:8rem;-webkit-user-select:none;user-select:none}\"]}),n})();var nt=c(73071);const gt=function(n,s,e,o,a,d,h,E,y){return{bg_beagleplug:n,bg_energinaio:s,bg_miacharge:e,bg_eyes:o,bg_electriease:a,bg_sagelio:d,bg_ekomobil:h,bg_aquila:E,bg_silla:y}};let vt=(()=>{class n{constructor(e,o){this.successLog=e,this.route=o}ngOnInit(){return(0,C.mG)(this,void 0,void 0,function*(){const e=this.route.snapshot.params.token;console.log(e),this.typeTenant=(0,et.zf)(),yield this.successLog.successRegister(e).toPromise().catch(o=>{console.log(o)})})}background(){switch(this.typeTenant){case\"electriease\":return 5;case\"eyes\":return 4;case\"miacharge\":return 3;case\"beagleplug\":return 1;case\"energinaio\":return 2;case\"sagelio\":return 6;case\"ekomobil\":return 7;case\"aquila\":return 8;case\"silla\":return 9}}logo(){switch(console.log(this.typeTenant),this.typeTenant){case\"eyes\":return\"../../../assets/whitelabel/52fc6d5b-4a2f-4337-ab47-bbe42445b857/icon.png\";case\"miacharge\":case\"beagleplug\":return\"../../../assets/images/logo_bianco.png\";case\"energinaio\":return\"../../../assets/whitelabel/a3a38334-6b79-4da1-bcbc-b42699fe322c/icon.png\";case\"electriease\":return\"../../../assets/whitelabel/electriease/icon.png\"}}}return n.\\u0275fac=function(e){return new(e||n)(t.Y36(nt.K),t.Y36(N.gz))},n.\\u0275cmp=t.Xpm({type:n,selectors:[[\"app-success-register\"]],decls:19,vars:21,consts:[[3,\"ngClass\"],[1,\"logo\",2,\"padding-top\",\"10px\",\"padding-bottom\",\"10px\"],[2,\"border-radius\",\"5px\",3,\"src\"],[1,\"text\"],[2,\"color\",\"white\"],[2,\"padding-top\",\"30%\"]],template:function(e,o){1&e&&(t.TgZ(0,\"div\",0),t.TgZ(1,\"div\",1),t._UZ(2,\"img\",2),t.qZA(),t.TgZ(3,\"div\",3),t.TgZ(4,\"h1\"),t.TgZ(5,\"strong\",4),t._uU(6),t.ALo(7,\"translate\"),t.qZA(),t.qZA(),t.TgZ(8,\"h1\"),t.TgZ(9,\"p\"),t.TgZ(10,\"strong\",4),t._uU(11),t.ALo(12,\"translate\"),t.qZA(),t.qZA(),t._UZ(13,\"br\"),t.TgZ(14,\"p\"),t.TgZ(15,\"strong\",4),t._uU(16),t.ALo(17,\"translate\"),t.qZA(),t.qZA(),t.qZA(),t.qZA(),t._UZ(18,\"div\",5),t.qZA()),2&e&&(t.Q6J(\"ngClass\",t.rFY(11,gt,[1==o.background(),2==o.background(),3==o.background(),4==o.background(),5==o.background(),6==o.background(),7==o.background(),8==o.background(),9==o.background()])),t.xp6(2),t.s9C(\"src\",o.logo(),t.LSH),t.xp6(4),t.Oqu(t.lcZ(7,5,\"congr\")),t.xp6(5),t.Oqu(t.lcZ(12,7,\"regist\")),t.xp6(5),t.Oqu(t.lcZ(17,9,\"log_app\")))},directives:[v.mk,H.oO],pipes:[U.X$],styles:[\".pagina[_ngcontent-%COMP%]{height:100%;background-image:url(https://test.beagleplug.com/api/brand?selector=background);background-position:center center;background-repeat:no-repeat;background-attachment:fixed;background-size:cover}.bg_electriease[_ngcontent-%COMP%]{background-color:#4a3375;background-image:linear-gradient(43deg,#4a3375 0%,#607791 46%,#94c020 100%);background-position:center center;background-repeat:no-repeat;background-attachment:fixed;background-size:cover}.bg_beagleplug[_ngcontent-%COMP%]{background-image:url(background.ba7f5319b0561f55760e.png);background-position:center center;background-repeat:no-repeat;background-attachment:fixed;background-size:cover}.bg_energinaio[_ngcontent-%COMP%]{background-image:url(background.67a5de9250cf515e19cb.png);background-position:center center;background-repeat:no-repeat;background-attachment:fixed;background-size:cover}.bg_miacharge[_ngcontent-%COMP%]{background-image:url(https://www.miacharge.com/miachargebackground.f983df8c76aac253c872.png);background-position:center center;background-repeat:no-repeat;background-attachment:fixed;background-size:cover}.bg_eyes[_ngcontent-%COMP%]{background-image:url(background.3c3c9fc40e2a379415c6.png);background-position:center center;background-repeat:no-repeat;background-attachment:fixed;background-size:cover}.bg_sagelio[_ngcontent-%COMP%]{background-image:url(background.c00c12ce2d4f2856b119.png);background-position:center center;background-repeat:no-repeat;background-attachment:fixed;background-size:cover}.bg_ekomobil[_ngcontent-%COMP%]{background-image:url(background.09af3a89f29b6d18ca3f.png);background-position:center center;background-repeat:no-repeat;background-attachment:fixed;background-size:cover}.bg_aquila[_ngcontent-%COMP%]{background-image:url(background.a7b045cbc42b0adaee05.png);background-position:center center;background-repeat:no-repeat;background-attachment:fixed;background-size:cover}.bg_silla[_ngcontent-%COMP%]{background-image:url(background.6451b0e089454e68b97e.png);background-position:center center;background-repeat:no-repeat;background-attachment:fixed;background-size:cover}.bg_easygreen[_ngcontent-%COMP%]{background-image:url(background.eafd106c116871971004.png);background-position:center center;background-repeat:no-repeat;background-attachment:fixed;background-size:cover}.bg_t-carica[_ngcontent-%COMP%]{background-image:url(background.72e8d111974e7ea30501.png);background-position:center center;background-repeat:no-repeat;background-attachment:fixed;background-size:cover}.logo[_ngcontent-%COMP%]{display:grid}.logo[_ngcontent-%COMP%] > img[_ngcontent-%COMP%]{grid-area:logo;object-fit:cover;text-align:center;max-width:100%;max-height:100%}.text[_ngcontent-%COMP%]{grid-area:tex;text-align:center;align-self:center;color:#fff}.log[_ngcontent-%COMP%]{grid-area:log;display:grid;padding:1em;align-self:end;justify-content:end}.log[_ngcontent-%COMP%] > img[_ngcontent-%COMP%]{object-fit:cover;max-width:100%;max-height:100%}\"]}),n})();const It=function(){return[\"/\"]};let _e=(()=>{class n{constructor(e){this.location=e}ngOnInit(){}back(){this.location.back()}}return n.\\u0275fac=function(e){return new(e||n)(t.Y36(v.Ye))},n.\\u0275cmp=t.Xpm({type:n,selectors:[[\"app-forbidden\"]],decls:17,vars:8,consts:[[1,\"authincation\",\"vh-100\"],[1,\"container\",\"h-100\"],[1,\"row\",\"justify-content-center\",\"h-100\",\"align-items-center\"],[1,\"col-md-5\"],[1,\"form-input-content\",\"text-center\",\"error-page\"],[1,\"error-text\",\"font-weight-bold\"],[1,\"fa\",\"fa-times-circle\",\"text-danger\"],[1,\"btn\",\"btn-primary\",3,\"routerLink\"]],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.TgZ(5,\"h1\",5),t._uU(6,\"403\"),t.qZA(),t.TgZ(7,\"h4\"),t._UZ(8,\"i\",6),t._uU(9,\" Error!\"),t.qZA(),t.TgZ(10,\"p\"),t._uU(11),t.ALo(12,\"translate\"),t.qZA(),t.TgZ(13,\"div\"),t.TgZ(14,\"a\",7),t._uU(15),t.ALo(16,\"translate\"),t.qZA(),t.qZA(),t.qZA(),t.qZA(),t.qZA(),t.qZA(),t.qZA()),2&e&&(t.xp6(11),t.hij(\"\",t.lcZ(12,3,\"Non hai i permessi\"),\".\"),t.xp6(3),t.Q6J(\"routerLink\",t.DdM(7,It)),t.xp6(1),t.Oqu(t.lcZ(16,5,\"Torna alla Home\")))},directives:[N.yS],pipes:[U.X$],styles:[\"\"]}),n})();const ip=function(){return[\"\"]};let Pc=(()=>{class n{constructor(e){this.location=e}ngOnInit(){}back(){this.location.back()}}return n.\\u0275fac=function(e){return new(e||n)(t.Y36(v.Ye))},n.\\u0275cmp=t.Xpm({type:n,selectors:[[\"app-page-not-found\"]],decls:19,vars:11,consts:[[1,\"authincation\",\"vh-100\"],[1,\"container\",\"h-100\"],[1,\"row\",\"justify-content-center\",\"h-100\",\"align-items-center\"],[1,\"col-md-8\"],[1,\"form-input-content\",\"text-center\",\"error-page\"],[1,\"error-text\",\"font-weight-bold\"],[1,\"fa\",\"fa-exclamation-triangle\",\"text-warning\"],[1,\"btn\",\"btn-primary\",3,\"routerLink\",\"click\"]],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.TgZ(5,\"h1\",5),t._uU(6,\"404\"),t.qZA(),t.TgZ(7,\"h4\"),t._UZ(8,\"i\",6),t._UZ(9,\"br\"),t._uU(10),t.ALo(11,\"translate\"),t.qZA(),t.TgZ(12,\"p\"),t._uU(13),t.ALo(14,\"translate\"),t.qZA(),t.TgZ(15,\"div\"),t.TgZ(16,\"a\",7),t.NdJ(\"click\",function(){return o.back()}),t._uU(17),t.ALo(18,\"translate\"),t.qZA(),t.qZA(),t.qZA(),t.qZA(),t.qZA(),t.qZA(),t.qZA()),2&e&&(t.xp6(10),t.hij(\" \",t.lcZ(11,4,\"the_page_not_found!\"),\"\"),t.xp6(3),t.Oqu(t.lcZ(14,6,\"mistyped_the_address\")),t.xp6(3),t.Q6J(\"routerLink\",t.DdM(10,ip)),t.xp6(1),t.Oqu(t.lcZ(18,8,\"back_Page\")))},directives:[N.yS],pipes:[U.X$],styles:[\"\"]}),n})(),oe=(()=>{class n{constructor(){this.navSidebarClass=!0,this.hamburgerClass=!1,this.totalAllContactLength=0,this.totalPendingContactLength=0,this.allContacts=[],this.pendingContacts=[]}toggleSidebarClass(){return this.navSidebarClass=!this.navSidebarClass}toggleHamburgerClass(){return this.hamburgerClass=!this.hamburgerClass}add_contact(e){if(\"all\"==e){this.totalAllContactLength=this.allContacts.length<=11?this.allContacts.length:11,console.log(this.totalAllContactLength);const o=Math.floor(Math.random()*this.totalAllContactLength)+1;this.allContacts.push(this.allContacts[o])}else{this.totalPendingContactLength=this.pendingContacts.length<=5?this.pendingContacts.length:5,console.log(this.totalPendingContactLength);const o=Math.floor(Math.random()*this.totalPendingContactLength)+1;this.pendingContacts.push(this.pendingContacts[o])}return!0}createContacts(e,o,a){return console.log(o),console.log(a),void 0===o&&void 0===a?this.allContacts.unshift(e):\"all\"==a?this.allContacts[o]=e:this.pendingContacts[o]=e,!0}deleteContact(e,o){return\"all\"==o?this.allContacts.splice(e,1):this.pendingContacts.splice(e,1),!0}}return n.\\u0275fac=function(e){return new(e||n)},n.\\u0275prov=t.Yz7({token:n,factory:n.\\u0275fac,providedIn:\"root\"}),n})();var ap=c(13270);function rp(n,s){if(1&n&&(t.TgZ(0,\"a\",4),t._UZ(1,\"img\",5),t.qZA()),2&n){const e=t.oxw();t.xp6(1),t.s9C(\"src\",e.choseColorDash(\"icon\"),t.LSH)}}function sp(n,s){if(1&n&&(t.TgZ(0,\"a\",4),t._UZ(1,\"img\",6),t.qZA()),2&n){const e=t.oxw();t.xp6(1),t.s9C(\"src\",e.choseColorDash(e.isToogled?\"full\":\"less\"),t.LSH)}}function lp(n,s){if(1&n&&(t.TgZ(0,\"a\",4),t._UZ(1,\"img\",7),t.qZA()),2&n){const e=t.oxw();t.xp6(1),t.s9C(\"src\",e.choseColorDash(e.isToogled?\"icon\":\"full\"),t.LSH)}}const cp=function(n,s){return{\"is-active\":n,\"\":s}};function pp(n,s){if(1&n){const e=t.EpF();t.TgZ(0,\"div\",8),t.TgZ(1,\"div\",9),t.NdJ(\"click\",function(){return t.CHM(e),t.oxw().toggleHamburgerClass()}),t._UZ(2,\"span\",10),t._UZ(3,\"span\",10),t._UZ(4,\"span\",10),t.qZA(),t.qZA()}if(2&n){const e=t.oxw();t.xp6(1),t.Q6J(\"ngClass\",t.WLB(1,cp,e.hamburgerClass,!e.hamburgerClass))}}let dp=(()=>{class n{constructor(e,o,a,d){this.sharedService=e,this.router=o,this.route=a,this.local=d,this.hamburgerClass=!1,this.isToogled=!1,this.dataEmpCpo=JSON.parse(b().get(\"dataEmpCpo\",{decrypt:!0})),this.getScreenSize()}ngOnInit(){console.log(this.dataEmpCpo),this.switchLang()}switchLang(){let e=this.local.getLang();null===e&&(e=\"it\"),console.log(e)}toggleHamburgerClass(){this.screenWidth<768&&(this.hamburgerClass=this.sharedService.toggleHamburgerClass(),this.isToogled=!this.isToogled)}getScreenSize(){this.screenHeight=window.innerHeight,this.screenWidth=window.innerWidth,this.screenWidth<768?document.body.setAttribute(\"data-sidebar-style\",\"overlay\"):this.screenWidth>=768&&this.screenWidth<=1023?document.body.setAttribute(\"data-sidebar-style\",\"mini\"):document.body.setAttribute(\"data-sidebar-style\",\"full\")}navigate(){this.isAdmin()?this.router.navigate([\"./cpms\"],{relativeTo:this.route}):this.dataEmpCpo.cpoActive?this.router.navigate([\"./cpo\"],{relativeTo:this.route}):!this.dataEmpCpo.cpoActive&&this.dataEmpCpo.empActive&&this.router.navigate([\"./emp\"],{relativeTo:this.route})}isAdmin(){return\"ADMIN\"===b().get(\"userRole\",{decrypt:!0})}choseColorDash(e){return this.isAdmin()?`../../../assets/whitelabel/electriease/${e}.png`:`../../../assets/whitelabel/${this.dataEmpCpo.tenantId}/${e}.png`}}return n.\\u0275fac=function(e){return new(e||n)(t.Y36(oe),t.Y36(N.F0),t.Y36(N.gz),t.Y36(u.n))},n.\\u0275cmp=t.Xpm({type:n,selectors:[[\"app-nav-header\"]],hostBindings:function(e,o){1&e&&t.NdJ(\"resize\",function(d){return o.getScreenSize(d)},!1,t.Jf7)},decls:6,vars:4,consts:[[1,\"nav-header\",\"click\"],[1,\"nav-header\",\"click\",3,\"click\"],[\"class\",\"brand-logo\",4,\"ngIf\"],[\"class\",\"nav-control\",4,\"ngIf\"],[1,\"brand-logo\"],[\"alt\",\"icon\",1,\"navIcon\",3,\"src\"],[\"alt\",\"icon\",\"onerror\",\"if(this.isToogled){src='../../../assets/whitelabel/DEFAULT/full.png'}\\n else {src='../../../assets/whitelabel/DEFAULT/less.png'}\",1,\"navIcon\",2,\"height\",\"60px\",\"position\",\"relative\",\"left\",\"13px\",\"bottom\",\"5px\",3,\"src\"],[\"alt\",\"icon\",\"onerror\",\"if(this.isToogled){src='../../../assets/whitelabel/DEFAULT/icon.png'}\\n else {src='../../../assets/whitelabel/DEFAULT/full.png'}\",1,\"navIcon\",2,\"overflow-y\",\"auto\",\"max-height\",\"70%\",3,\"src\"],[1,\"nav-control\"],[1,\"hamburger\",3,\"ngClass\",\"click\"],[1,\"line\"]],template:function(e,o){1&e&&(t.TgZ(0,\"div\",0),t.TgZ(1,\"div\",1),t.NdJ(\"click\",function(){return o.navigate()}),t.YNc(2,rp,2,1,\"a\",2),t.YNc(3,sp,2,1,\"a\",2),t.YNc(4,lp,2,1,\"a\",2),t.qZA(),t.YNc(5,pp,5,4,\"div\",3),t.qZA()),2&e&&(t.xp6(2),t.Q6J(\"ngIf\",o.screenWidth<1024&&!o.isToogled),t.xp6(1),t.Q6J(\"ngIf\",o.screenWidth>=1024&&o.screenWidth<1200&&!o.isToogled),t.xp6(1),t.Q6J(\"ngIf\",o.screenWidth>=1200||o.isToogled),t.xp6(1),t.Q6J(\"ngIf\",o.screenWidth<768))},directives:[v.O5,v.mk,H.oO],styles:[\"#overlapthis[_ngcontent-%COMP%]{position:absolute}.click[_ngcontent-%COMP%]{cursor:pointer}@media (max-width: 1090px){.brand-logo[_ngcontent-%COMP%]{padding-left:20}}\"]}),n})();var gp=c(84853),yt=c(16743),Qt=c(4119);function mp(n,s){1&n&&(t._UZ(0,\"span\",28),t.ALo(1,\"translate\")),2&n&&t.s9C(\"pTooltip\",t.lcZ(1,1,\"La e rovesciata (schwa) al posto della desinenza maschile vuole definire una persona, indipendentemente dal genere!\"))}function up(n,s){if(1&n&&(t.TgZ(0,\"div\",12),t.TgZ(1,\"span\"),t._uU(2),t.ALo(3,\"translate\"),t.qZA(),t.TgZ(4,\"span\"),t._uU(5),t.qZA(),t.qZA()),2&n){const e=s.$implicit,o=t.oxw(2);t.xp6(2),t.Oqu(t.lcZ(3,3,\"saldo\")),t.xp6(3),t.AsE(\"\",e.balance/100,\" \",o.choseCurrency(e.currency),\"\")}}const _p=function(){return[\"./wallet\"]};function hp(n,s){if(1&n&&(t.TgZ(0,\"a\",29),t._UZ(1,\"img\",30),t.YNc(2,up,6,5,\"div\",31),t.qZA()),2&n){const e=t.oxw();t.Q6J(\"routerLink\",t.DdM(2,_p)),t.xp6(2),t.Q6J(\"ngForOf\",e.wallets)}}function fp(n,s){if(1&n&&(t.TgZ(0,\"div\",32),t.TgZ(1,\"b\",33),t._uU(2),t.qZA(),t._UZ(3,\"div\",34),t.TgZ(4,\"small\"),t._uU(5),t.qZA(),t.qZA()),2&n){const e=t.oxw();t.xp6(2),t.Oqu(e.name),t.xp6(3),t.Oqu(e.role)}}const Zp=function(){return[\"./profilo\"]};function Cp(n,s){1&n&&(t.TgZ(0,\"a\",35),t.O4$(),t.TgZ(1,\"svg\",36),t._UZ(2,\"path\",37),t._UZ(3,\"circle\",38),t.qZA(),t.kcU(),t.TgZ(4,\"span\",21),t._uU(5),t.ALo(6,\"translate\"),t.qZA(),t.qZA()),2&n&&(t.Q6J(\"routerLink\",t.DdM(4,Zp)),t.xp6(5),t.hij(\"\",t.lcZ(6,2,\"profilo\"),\" \"))}function vp(n,s){if(1&n){const e=t.EpF();t.TgZ(0,\"div\",14),t.TgZ(1,\"a\",39),t.TgZ(2,\"img\",40),t.NdJ(\"click\",function(){return t.CHM(e),t.oxw().changeLang(\"it\")}),t.qZA(),t._uU(3,\"\\xa0 \"),t.TgZ(4,\"a\",41),t.NdJ(\"click\",function(){return t.CHM(e),t.oxw().changeLang(\"it\")}),t._uU(5),t.ALo(6,\"translate\"),t.qZA(),t._uU(7,\"\\xa0 \"),t.qZA(),t.TgZ(8,\"a\",39),t.TgZ(9,\"img\",42),t.NdJ(\"click\",function(){return t.CHM(e),t.oxw().changeLang(\"en\")}),t.qZA(),t._uU(10,\"\\xa0 \"),t.TgZ(11,\"a\",41),t.NdJ(\"click\",function(){return t.CHM(e),t.oxw().changeLang(\"en\")}),t._uU(12),t.ALo(13,\"translate\"),t.qZA(),t._uU(14,\"\\xa0 \"),t.qZA(),t.qZA()}2&n&&(t.xp6(5),t.Oqu(t.lcZ(6,2,\"italiano\")),t.xp6(7),t.Oqu(t.lcZ(13,4,\"inglese\")))}const bp=function(){return[]};let Ap=(()=>{class n{constructor(e,o,a,d){this.authService=e,this.walletService=o,this.translate=a,this.location=d,this.toggleChat=!0,this.toggleSingle=!0,this.languageMenuVisible=!1,this.version=\"v3.34.5\",this.name=\"\",this.role=\"\",this.cpo=b().get(\"cpo\",{decrypt:!0}),this.dataEmpCpo=JSON.parse(b().get(\"dataEmpCpo\",{decrypt:!0})),this.toggle=!0}ngOnInit(){var e,o,a,d;return(0,C.mG)(this,void 0,void 0,function*(){this.innerWidth=window.innerWidth,console.log(this.location.path()),this.role=this.roleToString(b().get(\"userRole\",{decrypt:!0})),this.lang=b().get(\"lang\",{decrypt:!0}),this.isCpo()&&((null===(o=null===(e=this.dataEmpCpo.cpo.permissionCpo)||void 0===e?void 0:e.fleet)||void 0===o?void 0:o.wallet.enabled)||(null===(a=this.dataEmpCpo.permission)||void 0===a?void 0:a.easeFleet.wallet.enabled))&&(null===(d=this.permission())||void 0===d?void 0:d.includes(\"walletAccess\"))&&(console.log(this.dataEmpCpo),this.data=yield this.walletService.getCustomer(this.cpo).toPromise(),this.wallets=this.data.data.wallets,console.log(this.wallets)),null!=b().get(\"userName\",{decrypt:!0})?this.name=b().get(\"userName\",{decrypt:!0}):(this.isCpo()||this.isEmp()||this.isFleet())&&(this.name=b().get(\"ragioneSociale\",{decrypt:!0})),console.log(this.name)})}toggleLanguageMenu(){console.log(this.languageMenuVisible),this.languageMenuVisible=!this.languageMenuVisible}changeLang(e){b().set(\"lang\",e,{encrypt:!0}),window.location.reload()}roleToString(e){let o=JSON.parse(b().get(\"dataEmpCpo\",{decrypt:!0}));return console.log(o),\"ADMIN\"==e?\"CPMS\":o.cpoActive&&!o.empActive?\"CPO\":!o.cpoActive&&o.empActive?\"EMP\":o.cpoActive&&o.empActive?\"CPO-EMP\":o.cpoActive||o.empActive||!o.fleetActive?void 0:this.translate.instant(\"FLEET\")}logout(){this.authService.logout()}togglechatbar(){this.toggleChat=!this.toggleChat}singleChatWindow(){this.toggleSingle=!this.toggleSingle}choseCurrency(e){if(\"EUR\"===e)return\"\\u20ac\"}responsive(){if(this.innerWidth<1500)return!0}isAdmin(){return\"ADMIN\"===b().get(\"userRole\",{decrypt:!0})}isCpo(){var e;return null!=(null===(e=this.dataEmpCpo)||void 0===e?void 0:e.cpoActive)&&this.dataEmpCpo.cpoActive}isEmp(){var e;return null!=(null===(e=this.dataEmpCpo)||void 0===e?void 0:e.empActive)&&this.dataEmpCpo.empActive}isFleet(){var e;return null!=(null===(e=this.dataEmpCpo)||void 0===e?void 0:e.fleetActive)&&this.dataEmpCpo.fleetActive}look(){this.toggle=!this.toggle,console.log(this.toggle)}permission(){var e;return null===(e=this.authService.user)||void 0===e?void 0:e.permissions}choseColorDash(e){return this.isAdmin()?`../../../assets/whitelabel/electriease/${e}.png`:`../../../assets/whitelabel/${this.dataEmpCpo.tenantId}/${e}.png`}enableCPMS(e){(\"CPO\"==e||\"EMP\"==e||\"ALL\"==e)&&(console.log(\"test\"),b().set(\"CPMS\",e,{encrypt:!0}))}}return n.\\u0275fac=function(e){return new(e||n)(t.Y36(F.e),t.Y36(gp.X),t.Y36(U.sK),t.Y36(v.Ye))},n.\\u0275cmp=t.Xpm({type:n,selectors:[[\"app-header\"]],inputs:{deviceXs:\"deviceXs\"},decls:43,vars:24,consts:[[1,\"header\"],[1,\"header-content\"],[1,\"navbar\",\"navbar-expand\"],[1,\"collapse\",\"navbar-collapse\",\"justify-content-between\"],[1,\"header-left\"],[1,\"dashboard_bar\",\"hover-text\"],[\"tooltipStyleClass\",\"tooltip\",\"class\",\"pi pi-info-circle\",\"style\",\"font-size: 0.7rem; margin-top: 10px; margin-right: 10px\",3,\"pTooltip\",4,\"ngIf\"],[1,\"navbar-nav\",\"header-right\"],[\"ngbDropdown\",\"\",1,\"nav-item\",\"dropdown\",\"header-profile\",\"dropdown-menu-right\",\"dropdown-no-icon\"],[\"class\",\"nav-link\",3,\"routerLink\",4,\"ngIf\"],[\"href\",\"javascript:void(0);\",\"role\",\"button\",\"data-toggle\",\"dropdown\",\"ngbDropdownToggle\",\"\",1,\"nav-link\"],[\"onerror\",\"src='../../../assets/whitelabel/DEFAULT/phone.png'\",\"width\",\"20\",\"alt\",\"\",3,\"src\"],[1,\"header-info\"],[\"class\",\"header-info\",\"style\",\"padding-left: 10%;\",4,\"ngIf\"],[\"ngbDropdownMenu\",\"\",1,\"dropdown-menu\",\"dropdown-menu-right\"],[\"class\",\"dropdown-item ai-icon\",3,\"routerLink\",4,\"ngIf\"],[1,\"dropdown-item\",\"ai-icon\",3,\"routerLink\",\"click\"],[\"id\",\"icon-logout\",\"xmlns\",\"http://www.w3.org/2000/svg\",\"width\",\"18\",\"height\",\"18\",\"viewBox\",\"0 0 24 24\",\"fill\",\"none\",\"stroke\",\"currentColor\",\"stroke-width\",\"2\",\"stroke-linecap\",\"round\",\"stroke-linejoin\",\"round\",1,\"text-danger\"],[\"d\",\"M9 21H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h4\"],[\"points\",\"16 17 21 12 16 7\"],[\"x1\",\"21\",\"y1\",\"12\",\"x2\",\"9\",\"y2\",\"12\"],[1,\"ml-2\"],[\"href\",\"https://releasens.notion.site/2e7daabf46b14ca591d00b01156aaa9f?v=33457a94a310479f95b591eb47b4cda2\",\"target\",\"_blank\",1,\"dropdown-item\",\"ai-icon\"],[1,\"fas\",\"fa-external-link-alt\",2,\"margin-right\",\"2px\"],[\"id\",\"iEl\",1,\"dropdown-item\",\"ai-icon\",3,\"click\",\"mouseover\"],[1,\"fas\",\"fa-language\",2,\"margin-left\",\"-2px\"],[2,\"margin-left\",\"2px\"],[\"class\",\"dropdown-menu dropdown-menu-right\",\"ngbDropdownMenu\",\"\",4,\"ngIf\"],[\"tooltipStyleClass\",\"tooltip\",1,\"pi\",\"pi-info-circle\",2,\"font-size\",\"0.7rem\",\"margin-top\",\"10px\",\"margin-right\",\"10px\",3,\"pTooltip\"],[1,\"nav-link\",3,\"routerLink\"],[\"src\",\"assets/images/icone/symbol_euro_icon.png\",\"width\",\"20\",\"alt\",\"\"],[\"class\",\"header-info\",4,\"ngFor\",\"ngForOf\"],[1,\"header-info\",2,\"padding-left\",\"10%\"],[2,\"color\",\"black\"],[2,\"padding-top\",\"0.5%\"],[1,\"dropdown-item\",\"ai-icon\",3,\"routerLink\"],[\"id\",\"icon-user1\",\"xmlns\",\"http://www.w3.org/2000/svg\",\"width\",\"18\",\"height\",\"18\",\"viewBox\",\"0 0 24 24\",\"fill\",\"none\",\"stroke\",\"currentColor\",\"stroke-width\",\"2\",\"stroke-linecap\",\"round\",\"stroke-linejoin\",\"round\",1,\"text-primary\"],[\"d\",\"M20 21v-2a4 4 0 0 0-4-4H8a4 4 0 0 0-4 4v2\"],[\"cx\",\"12\",\"cy\",\"7\",\"r\",\"4\"],[1,\"dropdown-item\",\"ai-icon\"],[\"alt\",\"flag\",\"loading\",\"lazy\",\"src\",\"../../../assets/icone/italy-flag.svg\",1,\"click\",2,\"height\",\"25%\",\"width\",\"24%\",\"border-radius\",\"0\",\"position\",\"relative\",\"left\",\"13px\",\"bottom\",\"5px\",3,\"click\"],[2,\"padding-left\",\"14%\",3,\"click\"],[\"alt\",\"flag\",\"loading\",\"lazy\",\"src\",\"../../../assets//icone/united-kingdom-flag.svg\",1,\"click\",2,\"height\",\"25%\",\"width\",\"24%\",\"border-radius\",\"0\",\"position\",\"relative\",\"left\",\"13px\",\"bottom\",\"5px\",3,\"click\"]],template:function(e,o){if(1&e&&(t.TgZ(0,\"div\",0),t.TgZ(1,\"div\",1),t.TgZ(2,\"nav\",2),t.TgZ(3,\"div\",3),t.TgZ(4,\"div\",4),t.TgZ(5,\"div\",5),t._uU(6),t.ALo(7,\"translate\"),t.YNc(8,mp,2,3,\"span\",6),t._uU(9),t.qZA(),t.qZA(),t.TgZ(10,\"ul\",7),t.TgZ(11,\"li\",8),t.YNc(12,hp,3,3,\"a\",9),t.TgZ(13,\"a\",10),t._UZ(14,\"img\",11),t.TgZ(15,\"div\",12),t.TgZ(16,\"span\"),t._uU(17),t.qZA(),t.TgZ(18,\"small\"),t._uU(19),t.qZA(),t.qZA(),t.qZA(),t.YNc(20,fp,6,2,\"div\",13),t.TgZ(21,\"div\",14),t.YNc(22,Cp,7,5,\"a\",15),t.TgZ(23,\"a\",16),t.NdJ(\"click\",function(){return o.logout()}),t.O4$(),t.TgZ(24,\"svg\",17),t._UZ(25,\"path\",18),t._UZ(26,\"polyline\",19),t._UZ(27,\"line\",20),t.qZA(),t.kcU(),t.TgZ(28,\"span\",21),t._uU(29),t.ALo(30,\"translate\"),t.qZA(),t.qZA(),t.TgZ(31,\"a\",22),t._UZ(32,\"i\",23),t.TgZ(33,\"span\",21),t._uU(34),t.ALo(35,\"translate\"),t.qZA(),t.qZA(),t.TgZ(36,\"a\",24),t.NdJ(\"click\",function(){return o.toggleLanguageMenu()})(\"mouseover\",function(){return o.languageMenuVisible=!0}),t._UZ(37,\"i\",25),t._uU(38,\"\\xa0 \"),t.TgZ(39,\"span\",26),t._uU(40),t.ALo(41,\"translate\"),t.qZA(),t.YNc(42,vp,15,6,\"div\",27),t.qZA(),t.qZA(),t.qZA(),t.qZA(),t.qZA(),t.qZA(),t.qZA(),t.qZA()),2&e){let a;t.xp6(6),t.hij(\" \",t.lcZ(7,15,\"Bentornat\\u0259\"),\" \"),t.xp6(2),t.Q6J(\"ngIf\",\"it\"===o.lang||!o.lang),t.xp6(1),t.hij(\" \",o.name+\"!\",\" \"),t.xp6(3),t.Q6J(\"ngIf\",!o.responsive()&&o.isCpo()&&((null==o.dataEmpCpo.cpo.permissionCpo||null==o.dataEmpCpo.cpo.permissionCpo.fleet?null:o.dataEmpCpo.cpo.permissionCpo.fleet.wallet.enabled)||(null==o.dataEmpCpo||null==o.dataEmpCpo.permission?null:o.dataEmpCpo.permission.easeFleet.wallet.enabled))&&(null==(a=o.permission())?null:a.includes(\"walletAccess\"))),t.xp6(2),t.s9C(\"src\",o.choseColorDash(\"phone\"),t.LSH),t.xp6(3),t.Oqu(o.name),t.xp6(2),t.Oqu(o.role),t.xp6(1),t.Q6J(\"ngIf\",o.deviceXs),t.xp6(2),t.Q6J(\"ngIf\",!o.isAdmin()),t.xp6(1),t.Q6J(\"routerLink\",t.DdM(23,bp)),t.xp6(6),t.hij(\"\",t.lcZ(30,17,\"logout\"),\" \"),t.xp6(5),t.AsE(\"\",t.lcZ(35,19,\"Note dei Rilasci\"),\" \",\"(\"+o.version+\")\",\" \"),t.xp6(6),t.Oqu(t.lcZ(41,21,\"lingua\")),t.xp6(2),t.Q6J(\"ngIf\",o.languageMenuVisible)}},directives:[yt.M2,v.O5,yt.jt,yt.iD,yt.Vi,N.yS,Qt.u,v.sg],pipes:[U.X$],styles:['.tooltip{font-family:\"Baloo 2\",serif!important;max-width:450px!important}.lang-menu[_ngcontent-%COMP%]{position:relative}.selected-lang[_ngcontent-%COMP%]{cursor:pointer;display:flex;justify-content:space-between;line-height:2;width:100px}.selected-lang[_ngcontent-%COMP%]:before{content:\"\";display:block;width:15px;height:15px}.lang-menu[_ngcontent-%COMP%] ul[_ngcontent-%COMP%]{margin:0;padding:0;background-color:#fff;border:9px solid white;box-shadow:0 1px 10px #0003;border-radius:5px;display:20%;position:absolute;top:40px;left:0;cursor:pointer}.dashboard_bar[_ngcontent-%COMP%]{display:flex}.lang-menu[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%]{list-style:none;display:flex;justify-content:space-between}.lang-menu[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%] option[_ngcontent-%COMP%]{width:130px;display:block;padding:5px 10px}.lang-menu[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%] option[_ngcontent-%COMP%]:hover{background-color:#f2f2f2}.lang-menu[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%] option[_ngcontent-%COMP%]:before{content:\"\";display:inline-block;width:28px;height:28px;margin-right:30px;vertical-align:middle}.en[_ngcontent-%COMP%]:before{background-image:url(https://cdn1.iconfinder.com/data/icons/world-flags-circular/1000/Flag_of_United_Kingdom_-_Circle-28.png)}.it[_ngcontent-%COMP%]:before{background-image:url(italy-flag.ed5ff5f5e23ee78fcfe6.svg)}.lang-menu[_ngcontent-%COMP%]:hover ul[_ngcontent-%COMP%]{display:block}.tooltip-text[_ngcontent-%COMP%]{visibility:hidden;position:absolute;z-index:2;width:400px;color:#fff;font-size:12px;background-color:#192733;border-radius:10px;padding:10px 15px;bottom:0px;left:100px}.tooltip-text[_ngcontent-%COMP%]:before{content:\"\";position:absolute;transform:rotate(45deg);background-color:#192733;z-index:1}.hover-text[_ngcontent-%COMP%]:hover .tooltip-text[_ngcontent-%COMP%]{visibility:visible}']}),n})();var Oc=c(82643),yc=c(80002),qc=c(36208);const xp=function(){return[\"./tools\"]};function Tp(n,s){if(1&n){const e=t.EpF();t.TgZ(0,\"li\",8),t.NdJ(\"click\",function(){return t.CHM(e),t.oxw(2).toggleHamburgerClass()}),t.TgZ(1,\"a\",9),t._UZ(2,\"img\",10),t.TgZ(3,\"span\",11),t._uU(4),t.ALo(5,\"translate\"),t.qZA(),t.qZA(),t.qZA()}if(2&n){const e=t.oxw(2);t.Tol(\"/management/tools\"==e.currentHref?\"mm-active\":\"\"),t.xp6(1),t.Gre(\"ai-icon \",\"/management/tools\"==e.currentHref?\"mm-active\":\"\",\"\"),t.Q6J(\"routerLink\",t.DdM(13,xp)),t.xp6(1),t.Tol(\"/management/tools\"==e.currentHref?\"bootstrap_active\":\"bootstrap\"),t.xp6(2),t.Oqu(t.lcZ(5,11,\"Strumenti\"))}}const Pp=function(){return[\"./cpms\"]};function Op(n,s){if(1&n){const e=t.EpF();t.TgZ(0,\"li\",8),t.NdJ(\"click\",function(){return t.CHM(e),t.oxw(2).toggleHamburgerClass()}),t.TgZ(1,\"a\",9),t._UZ(2,\"i\",12),t.TgZ(3,\"span\",11),t._uU(4),t.ALo(5,\"translate\"),t.qZA(),t.qZA(),t.qZA()}if(2&n){const e=t.oxw(2);t.Tol(\"/management/cpms\"==e.currentHref?\"mm-active\":\"\"),t.xp6(1),t.Gre(\"ai-icon \",\"/management/cpms\"==e.currentHref?\"mm-active\":\"\",\"\"),t.Q6J(\"routerLink\",t.DdM(10,Pp)),t.xp6(3),t.Oqu(t.lcZ(5,8,\"dsh\"))}}const yp=function(){return[\"./operator\"]};function qp(n,s){if(1&n){const e=t.EpF();t.TgZ(0,\"li\",8),t.NdJ(\"click\",function(){return t.CHM(e),t.oxw(2).toggleHamburgerClass()}),t.TgZ(1,\"a\",9),t._UZ(2,\"img\",13),t.TgZ(3,\"span\",11),t._uU(4),t.ALo(5,\"translate\"),t.qZA(),t.qZA(),t.qZA()}if(2&n){const e=t.oxw(2);t.Tol(\"/management/operator\"==e.currentHref?\"mm-active\":\"\"),t.xp6(1),t.Gre(\"ai-icon \",\"/management/operator\"==e.currentHref?\"mm-active\":\"\",\"\"),t.Q6J(\"routerLink\",t.DdM(13,yp)),t.xp6(1),t.Tol(\"/management/operator\"==e.currentHref?\"bootstrap_active\":\"bootstrap\"),t.xp6(2),t.Oqu(t.lcZ(5,11,\"utenti_ass\"))}}const Mp=function(){return[\"./cpms/data-emp-cpo\"]};function wp(n,s){if(1&n){const e=t.EpF();t.TgZ(0,\"li\",8),t.NdJ(\"click\",function(){return t.CHM(e),t.oxw(2).toggleHamburgerClass()}),t.TgZ(1,\"a\",9),t._UZ(2,\"img\",14),t.TgZ(3,\"span\",11),t._uU(4),t.ALo(5,\"translate\"),t.qZA(),t.qZA(),t.qZA()}if(2&n){const e=t.oxw(2);t.Tol(\"/management/cpms/data-emp-cpo\"==e.currentHref?\"mm-active\":\"\"),t.xp6(1),t.Gre(\"ai-icon \",\"/management/cpms/data-emp-cpo\"==e.currentHref?\"mm-active\":\"\",\"\"),t.Q6J(\"routerLink\",t.DdM(13,Mp)),t.xp6(1),t.Tol(\"/management/cpms/data-emp-cpo\"==e.currentHref?\"bootstrap_active\":\"bootstrap\"),t.xp6(2),t.Oqu(t.lcZ(5,11,\"azienda\"))}}const Ep=function(){return[\"./cpms/map\"]};function kp(n,s){if(1&n){const e=t.EpF();t.TgZ(0,\"li\",8),t.NdJ(\"click\",function(){return t.CHM(e),t.oxw(2).toggleHamburgerClass()}),t.TgZ(1,\"a\",9),t._UZ(2,\"img\",15),t.TgZ(3,\"span\",11),t._uU(4),t.ALo(5,\"translate\"),t.qZA(),t.qZA(),t.qZA()}if(2&n){const e=t.oxw(2);t.Tol(\"/management/cpms/map\"==e.currentHref?\"mm-active\":\"\"),t.xp6(1),t.Gre(\"ai-icon \",\"/management/cpms/map\"==e.currentHref?\"mm-active\":\"\",\"\"),t.Q6J(\"routerLink\",t.DdM(13,Ep)),t.xp6(1),t.Tol(\"/management/cpms/map\"==e.currentHref?\"bootstrap_active\":\"bootstrap\"),t.xp6(2),t.Oqu(t.lcZ(5,11,\"mappa\"))}}const Mc=function(n){return{\"mm-active\":n}},wc=function(n){return{\"mm-show\":n}},Up=function(){return[\"./cpms/chargepoints\"]},Ip=function(){return[\"./cpms/transactions\"]},Np=function(){return[\"./cpms/reservations\"]};function Sp(n,s){if(1&n){const e=t.EpF();t.TgZ(0,\"li\",16),t.TgZ(1,\"a\",17),t._UZ(2,\"img\",18),t.TgZ(3,\"span\",11),t._uU(4,\"Charge Point\"),t.qZA(),t.qZA(),t.TgZ(5,\"ul\",19),t.TgZ(6,\"li\",8),t.NdJ(\"click\",function(){return t.CHM(e),t.oxw(2).toggleHamburgerClass()}),t.TgZ(7,\"a\",20),t._uU(8),t.ALo(9,\"translate\"),t.qZA(),t.qZA(),t.TgZ(10,\"li\",8),t.NdJ(\"click\",function(){return t.CHM(e),t.oxw(2).toggleHamburgerClass()}),t.TgZ(11,\"a\",20),t._uU(12),t.ALo(13,\"translate\"),t.qZA(),t.qZA(),t.TgZ(14,\"li\",8),t.NdJ(\"click\",function(){return t.CHM(e),t.oxw(2).toggleHamburgerClass()}),t.TgZ(15,\"a\",20),t._uU(16),t.ALo(17,\"translate\"),t.qZA(),t.qZA(),t.qZA(),t.qZA()}if(2&n){const e=t.oxw(2);t.Q6J(\"ngClass\",t.VKq(26,Mc,e.chartsArray.indexOf(e.currentHref)>-1)),t.xp6(2),t.Tol(\"/management/chargepoints\"==e.currentHref?\"bootstrap_active\":\"bootstrap\"),t.xp6(3),t.Q6J(\"ngClass\",t.VKq(28,wc,e.chartsArray.indexOf(e.currentHref)>-1)),t.xp6(2),t.Tol(\"/management/cpms/chargepoints\"==e.currentHref?\"mm-active\":\"\"),t.Q6J(\"routerLink\",t.DdM(30,Up)),t.xp6(1),t.Oqu(t.lcZ(9,20,\"staz\")),t.xp6(3),t.Tol(\"/management/cpms/transactions\"==e.currentHref?\"mm-active\":\"\"),t.Q6J(\"routerLink\",t.DdM(31,Ip)),t.xp6(1),t.Oqu(t.lcZ(13,22,\"ricariche\")),t.xp6(3),t.Tol(\"/management/cpms/reservations\"==e.currentHref?\"mm-active\":\"\"),t.Q6J(\"routerLink\",t.DdM(32,Np)),t.xp6(1),t.Oqu(t.lcZ(17,24,\"pren\"))}}const Lp=function(){return[\"./cpms/subscriptions\"]},Dp=function(){return[\"./cpms/cdr\"]};function Rp(n,s){if(1&n){const e=t.EpF();t.TgZ(0,\"li\",16),t.TgZ(1,\"a\",17),t._UZ(2,\"img\",21),t.TgZ(3,\"span\",11),t._uU(4),t.ALo(5,\"translate\"),t.ALo(6,\"translate\"),t.qZA(),t.qZA(),t.TgZ(7,\"ul\",19),t.TgZ(8,\"li\",8),t.NdJ(\"click\",function(){return t.CHM(e),t.oxw(2).toggleHamburgerClass()}),t.TgZ(9,\"a\",20),t._uU(10),t.ALo(11,\"translate\"),t.qZA(),t.qZA(),t.TgZ(12,\"li\",8),t.NdJ(\"click\",function(){return t.CHM(e),t.oxw(2).toggleHamburgerClass()}),t.TgZ(13,\"a\",20),t._uU(14),t.ALo(15,\"translate\"),t.ALo(16,\"translate\"),t.qZA(),t.qZA(),t.qZA(),t.qZA()}if(2&n){const e=t.oxw(2);t.Q6J(\"ngClass\",t.VKq(28,Mc,e.chartsArray.indexOf(e.currentHref)>-1)),t.xp6(2),t.Tol(\"/management\"==e.currentHref?\"bootstrap_active\":\"bootstrap\"),t.xp6(2),t.AsE(\"\",t.lcZ(5,18,\"roaming\"),\" \",t.lcZ(6,20,\"cpo\"),\"\"),t.xp6(3),t.Q6J(\"ngClass\",t.VKq(30,wc,e.chartsArray.indexOf(e.currentHref)>-1)),t.xp6(2),t.Tol(\"/management/cpms/subscriptions\"==e.currentHref?\"mm-active\":\"\"),t.Q6J(\"routerLink\",t.DdM(32,Lp)),t.xp6(1),t.Oqu(t.lcZ(11,22,\"subscriptions\")),t.xp6(3),t.Tol(\"/management/cpms/cdr\"==e.currentHref?\"mm-active\":\"\"),t.Q6J(\"routerLink\",t.DdM(33,Dp)),t.xp6(1),t.AsE(\"\",t.lcZ(15,24,\"cdr\"),\"-\",t.lcZ(16,26,\"ricariche\"),\"\")}}function Fp(n,s){if(1&n&&(t.TgZ(0,\"ul\",5),t.YNc(1,Tp,6,14,\"li\",6),t.YNc(2,Op,6,11,\"li\",6),t.YNc(3,qp,6,14,\"li\",6),t.YNc(4,wp,6,14,\"li\",6),t.YNc(5,kp,6,14,\"li\",6),t.YNc(6,Sp,18,33,\"li\",7),t.YNc(7,Rp,17,34,\"li\",7),t.qZA()),2&n){const e=t.oxw();t.xp6(1),t.Q6J(\"ngIf\",e.isAdmin()),t.xp6(1),t.Q6J(\"ngIf\",e.isAdmin()),t.xp6(1),t.Q6J(\"ngIf\",e.isAdmin()),t.xp6(1),t.Q6J(\"ngIf\",e.isAdmin()),t.xp6(1),t.Q6J(\"ngIf\",e.isAdmin()),t.xp6(1),t.Q6J(\"ngIf\",e.isAdmin()),t.xp6(1),t.Q6J(\"ngIf\",e.isAdmin())}}const Gp=function(){return{width:\"308px\"}};function Jp(n,s){if(1&n&&t._UZ(0,\"p-panelMenu\",22),2&n){const e=t.oxw();t.Akn(t.DdM(4,Gp)),t.Q6J(\"model\",e.items)(\"multiple\",!0)}}let Bp=(()=>{class n{constructor(e,o,a,d,h,E,y){this.modalService=a,this.authService=d,this.sharedService=h,this.translate=E,this.router2=y,this.currentHref=\"\",this.cpoType=\"\",this.dataEmpCpo=JSON.parse(b().get(\"dataEmpCpo\",{decrypt:!0})),this.user=b().get(\"user\",{decrypt:!0}),this.menuCpo=!0,this.menuEmp=!0,this.ulCP=!1,this.ulFlotte=!1,this.ulRicavi=!1,this.ulRicaviEmp=!1,this.ulRoamingExt=!1,this.ulRoamingInt=!1,this.ulImpostazioni=!1,this.ulRfid=!1,this.ulNotif=!1,this.ulAsset=!1,this.toggleIcon=!0,this.chartsArray=[\"/admin/chart-chartjs\",\"/admin/chart-apex\",\"/admin/apex-line\",\"/admin/apex-area\",\"/admin/apex-column\",\"/admin/apex-bar\",\"/admin/apex-mixed\",\"/admin/apex-timeline\",\"/admin/apex-candlestick\",\"/admin/apex-pie\",\"/admin/apex-radar\",\"/admin/apex-radialbar\",\"/admin/apex-polar-area\",\"/admin/apex-bubble\",\"/admin/apex-scatter\",\"/admin/apex-heatmap\",\"/admin/apex-treemap\",\"/admin/apex-sparklines\"],this.hamburgerClass=!1,o.events.subscribe(D=>{this.currentHref=\"\"!=e.path()?e.path():\"\"})}ngOnInit(){return(0,C.mG)(this,void 0,void 0,function*(){this.innerWidth=window.innerWidth,this.newPermission(\"gatewayAccessRead\"),console.log(this.user.permissions),(this.isCpo||this.isEmp)&&(console.log(this.dataEmpCpo),this.authService.cpoObservable.subscribe(e=>{})),!this.isAdmin()&&this.dataEmpCpo.confirmedData&&(this.translate.onLangChange.subscribe(()=>{this.itIsMenu()}),this.itIsMenu(),this.items.forEach(e=>{this.setFieldVisibility(e)}))})}setFieldVisibility(e){var o,a;return e.items&&(null===(o=e.items)||void 0===o?void 0:o.length)>0&&(e.items.forEach(d=>{this.setFieldVisibility(d)}),e.visible=e.visible&&(null===(a=e.items)||void 0===a?void 0:a.filter(d=>!0===d.visible).length)>0),e}ngAfterViewInit(){var e,o,a,d,h,E,y,D,V,ft;this.ulCP=0===(null===(e=document.getElementById(\"listCP\"))||void 0===e?void 0:e.querySelectorAll(\"li\").length),this.ulFlotte=0===(null===(o=document.getElementById(\"listFlotte\"))||void 0===o?void 0:o.querySelectorAll(\"li\").length),this.ulRicavi=0===(null===(a=document.getElementById(\"listRicavi\"))||void 0===a?void 0:a.querySelectorAll(\"li\").length),this.ulRicaviEmp=0===(null===(d=document.getElementById(\"listRicaviEmp\"))||void 0===d?void 0:d.querySelectorAll(\"li\").length),this.ulRoamingExt=0===(null===(h=document.getElementById(\"listRoamingExt\"))||void 0===h?void 0:h.querySelectorAll(\"li\").length),this.ulRoamingInt=0===(null===(E=document.getElementById(\"listRoamingInt\"))||void 0===E?void 0:E.querySelectorAll(\"li\").length),this.ulImpostazioni=0===(null===(y=document.getElementById(\"listImpostazioni\"))||void 0===y?void 0:y.querySelectorAll(\"li\").length),this.ulRfid=0===(null===(D=document.getElementById(\"listRfid\"))||void 0===D?void 0:D.querySelectorAll(\"li\").length),this.ulNotif=0===(null===(V=document.getElementById(\"listNotif\"))||void 0===V?void 0:V.querySelectorAll(\"li\").length),this.ulAsset=0===(null===(ft=document.getElementById(\"listAsset\"))||void 0===ft?void 0:ft.querySelectorAll(\"li\").length)}open(e){this.modalService.open(e)}get isLoading(){var e;return null!=(null===(e=this.user)||void 0===e?void 0:e.role)}isAdmin(){var e;return\"ADMIN\"==(null===(e=this.user)||void 0===e?void 0:e.role)}isCpo(){var e;return null!=(null===(e=this.dataEmpCpo)||void 0===e?void 0:e.cpoActive)&&this.dataEmpCpo.cpoActive}isEmp(){var e;return null!=(null===(e=this.dataEmpCpo)||void 0===e?void 0:e.empActive)&&this.dataEmpCpo.empActive}isEnvironmentTest(){return\"https://test.beagleplug.com/api/cms\"==x.N.apiUrl}back(){this.authService.back()}menuEnabled(){if(this.isAdmin())return!0;if(this.isCpo()){if(this.dataEmpCpo.confirmedData)return!0}else if(this.isEmp()&&this.dataEmpCpo.confirmedData)return!0}fleetEnabled(){var e,o,a,d,h,E,y,D,V;return!!this.isAdmin()||!(!this.isCpo()&&!this.isEmp()||!((null===(o=null===(e=this.dataEmpCpo.cpo.permissionCpo)||void 0===e?void 0:e.fleet)||void 0===o?void 0:o.enabled)&&(null===(a=this.permission())||void 0===a?void 0:a.includes(\"fleetAccess\"))||(null===(h=null===(d=this.dataEmpCpo.cpo.permissionCpo)||void 0===d?void 0:d.fleet.vehicle)||void 0===h?void 0:h.enabled)&&(null===(E=this.permission())||void 0===E?void 0:E.includes(\"vehicleAccess\"))||(null===(D=null===(y=this.dataEmpCpo.cpo.permissionCpo)||void 0===y?void 0:y.fleet.department)||void 0===D?void 0:D.enabled)&&(null===(V=this.permission())||void 0===V?void 0:V.includes(\"departmentAccess\"))))||void 0}permission(){return this.user.permissions}toggleHamburgerClass(){this.innerWidth<1e3&&(this.hamburgerClass=this.sharedService.toggleHamburgerClass())}checkPath(){return!!window.location.href.includes(\"localhost\")}itsAllRevenueRoaming(){let e=!1;return\"aaa227a3-47bd-4dbc-8696-50dedad74452\"===this.dataEmpCpo.tenantId&&(e=!0),e}checkActiveState(e){return console.log(this.router2.url),-1!==this.router2.url.indexOf(e)}onMenuItemClick(e){const o=Array.from(document.getElementsByClassName(\"custom-menu-item-active\"));for(const d of o)d.classList.remove(\"custom-menu-item-active\");document.getElementById(e.item.id).classList.add(\"custom-menu-item-active\")}itIsMenu(){var e,o,a,d,h,E,y,D,V,ft,Tt,Ct,xt,kt,Zt,Lt,Dt,$t,Yt,Vt,jt,Wt,Ht,Kt,Ut,we,Ee,ke,Ue,Ie,Ne,Se,Le,De,Re,Fe,Ge,Je,Be,Qe,ze,$e,Ye,Ve,je,We,He,Ke,Xe,tn,en,nn,on,an,rn,sn,ln,cn,pn,dn,gn,mn,un,_n,hn,fn,Zn,Cn,vn,bn,An,xn,Tn,Pn,On,yn,qn,Mn,wn,En,kn,Un,In,Nn,Sn,Ln,Dn,Rn,Fn,Gn,Jn,Bn,Qn,zn,$n,Yn,Vn,jn,Wn,Hn,Kn,Xn,to,eo,no,oo,io,ao,ro,so,lo,co,po,go,mo,uo,_o,ho,fo,Zo,Co,vo,bo,Ao,xo,To,Po,Oo,yo,qo,Mo,wo,Eo,ko,Uo,Io,No,So,Lo,Do,Ro,Fo,Go,Jo,Bo,Qo,zo,$o,Yo,Vo,jo,Wo,Ho,Ko,Xo,ti,ei,ni,oi,ii,ai,ri,si,li,ci,pi,di,gi,mi,ui,_i,hi,fi,Zi,Ci,vi,bi,Ai,xi,Ti,Pi,Oi,yi,qi,Mi,wi,Ei,ki,Ui,Ii,Ni,Si,Li,Di,Ri,Fi,Gi,Ji,Bi,Qi,zi,$i,Yi,Vi,ji,Wi,Hi,Ki,Xi,ta,ea,na,oa,ia,aa,ra,sa,la,ca,pa,da,ga,ma,ua,_a,ha,fa,Za,Ca,va,ba,Aa,xa,Ta,Pa,Oa,ya,qa,Ma,wa,Ea,ka,Ua,Ia,Na,Sa,La,Da,Ra,Fa,Ga,Ja,Ba,Qa,za,$a,Ya,Va,ja,Wa,Ha,Ka,Xa,tr,er,nr,or,ir,ar,rr,sr,lr,cr,pr,dr,gr,mr,ur,_r,hr,fr,Zr,Cr,vr,br,Ar,xr,Tr,Pr,Or,yr,qr,Mr,wr,Er,kr,Ur,Ir,Nr,Sr,Lr,Dr,Rr,Fr,Gr,Jr,Br,Qr,zr,$r,Yr,Vr,jr,Wr,Hr,Kr,Xr,ts,es,ns,os,is,as,rs,ss,cs,ps,ds,gs,ms,us,_s,hs,fs,Zs,Cs,vs,bs,As,xs,Ts,Ps,Os,ys,qs,Ms,ws,Es,ks,Us,Is,Ns,Ss,Ls,Ds,Rs,Fs,Gs,Js,Bs,Qs,zs,$s,Ys,Vs,js,Ws,Hs,Ks,Xs,tl,el,nl,ol,il,al,rl,sl,ll,cl,pl,dl,gl,ml,ul,_l,hl,fl,Zl,Cl,vl,bl,Al,xl,Tl,Pl,Ol,yl,ql,Ml,wl,El,kl,Ul,Il,Nl,Sl,Ll,Dl,Rl,Fl,Gl,Jl,Bl,Ql,zl,$l,Yl,Vl,jl,Wl,Hl,Kl,Xl,tc,ec,nc,oc,ic,ac,rc,sc,lc,cc,pc,dc,gc,mc,uc,_c,hc,fc,Zc,Cc,vc,bc,Ac,xc,Tc;this.items=[{style:{\"margin-left\":\"23px\"},label:this.translate.instant(\"impos\"),icon:\"pi pi-fw pi-cog\",routerLink:[\"./portal-settings\"],visible:!0},{label:\"Ease Asset\",icon:\"pi pi-fw pi-map-marker\",visible:((null===(o=null===(e=this.dataEmpCpo.cpo.permissionCpo)||void 0===e?void 0:e.asset)||void 0===o?void 0:o.enabled)||(null===(h=null===(d=null===(a=this.dataEmpCpo)||void 0===a?void 0:a.permission)||void 0===d?void 0:d.easeAsset)||void 0===h?void 0:h.enabled))&&((null===(E=this.permission())||void 0===E?void 0:E.includes(\"assetMgmtAccessRead\"))||(null===(y=this.permission())||void 0===y?void 0:y.includes(\"assetMgmtAccessWrite\"))),items:[{command:P=>{this.onMenuItemClick(P)},id:\"aziende\",style:{\"margin-left\":\"28px\"},label:this.translate.instant(\"aziende\"),icon:\"pi pi-fw pi-building\",routerLink:[\"./cpo/asset/company\"],visible:((null===(V=null===(D=this.dataEmpCpo.cpo.permissionCpo)||void 0===D?void 0:D.asset)||void 0===V?void 0:V.enabled)||(null===(Tt=null===(ft=this.dataEmpCpo)||void 0===ft?void 0:ft.permission)||void 0===Tt?void 0:Tt.easeAsset.company.enabled))&&((null===(Ct=this.permission())||void 0===Ct?void 0:Ct.includes(\"assetMgmtAccessRead\"))||(null===(xt=this.permission())||void 0===xt?void 0:xt.includes(\"assetMgmtAccessWrite\")))},{command:P=>{this.onMenuItemClick(P)},id:\"contr\",style:{\"margin-left\":\"28px\"},label:this.translate.instant(\"contr\"),icon:\"pi pi-fw pi-file\",routerLink:[\"./cpo/asset/contract\"],visible:((null===(Zt=null===(kt=this.dataEmpCpo.cpo.permissionCpo)||void 0===kt?void 0:kt.asset)||void 0===Zt?void 0:Zt.enabled)||(null===(Dt=null===(Lt=this.dataEmpCpo)||void 0===Lt?void 0:Lt.permission)||void 0===Dt?void 0:Dt.easeAsset.contract.enabled))&&((null===($t=this.permission())||void 0===$t?void 0:$t.includes(\"assetMgmtAccessRead\"))||(null===(Yt=this.permission())||void 0===Yt?void 0:Yt.includes(\"assetMgmtAccessWrite\")))},{command:P=>{this.onMenuItemClick(P)},id:\"pod\",style:{\"margin-left\":\"28px\"},label:this.translate.instant(\"pod\"),icon:\"pi pi-fw pi-bolt\",routerLink:[\"./cpo/asset/pod\"],visible:((null===(jt=null===(Vt=this.dataEmpCpo.cpo.permissionCpo)||void 0===Vt?void 0:Vt.asset)||void 0===jt?void 0:jt.enabled)||(null===(Ht=null===(Wt=this.dataEmpCpo)||void 0===Wt?void 0:Wt.permission)||void 0===Ht?void 0:Ht.easeAsset.pod.enabled))&&((null===(Kt=this.permission())||void 0===Kt?void 0:Kt.includes(\"assetMgmtAccessRead\"))||(null===(Ut=this.permission())||void 0===Ut?void 0:Ut.includes(\"assetMgmtAccessWrite\")))},{command:P=>{this.onMenuItemClick(P)},id:\"sim\",style:{\"margin-left\":\"28px\"},label:this.translate.instant(\"sim\"),icon:\"pi pi-fw pi-credit-card\",routerLink:[\"./cpo/asset/sim\"],visible:((null===(Ee=null===(we=this.dataEmpCpo.cpo.permissionCpo)||void 0===we?void 0:we.asset)||void 0===Ee?void 0:Ee.enabled)||(null===(Ue=null===(ke=this.dataEmpCpo)||void 0===ke?void 0:ke.permission)||void 0===Ue?void 0:Ue.easeAsset.sim.enabled))&&((null===(Ie=this.permission())||void 0===Ie?void 0:Ie.includes(\"assetMgmtAccessRead\"))||(null===(Ne=this.permission())||void 0===Ne?void 0:Ne.includes(\"assetMgmtAccessWrite\")))},{command:P=>{this.onMenuItemClick(P)},id:\"assist\",style:{\"margin-left\":\"28px\"},label:this.translate.instant(\"assist\"),icon:\"pi pi-fw pi-wrench\",routerLink:[\"./cpo/asset/assistance\"],visible:((null===(Le=null===(Se=this.dataEmpCpo.cpo.permissionCpo)||void 0===Se?void 0:Se.asset)||void 0===Le?void 0:Le.enabled)||(null===(Re=null===(De=this.dataEmpCpo)||void 0===De?void 0:De.permission)||void 0===Re?void 0:Re.easeAsset.assistance.enabled))&&((null===(Fe=this.permission())||void 0===Fe?void 0:Fe.includes(\"assetMgmtAccessRead\"))||(null===(Ge=this.permission())||void 0===Ge?void 0:Ge.includes(\"assetMgmtAccessWrite\")))},{command:P=>{this.onMenuItemClick(P)},id:\"locat\",style:{\"margin-left\":\"28px\"},label:this.translate.instant(\"locat\"),icon:\"pi pi-fw pi-sitemap\",routerLink:[\"./cpo/asset/location\"],visible:((null===(Be=null===(Je=this.dataEmpCpo.cpo.permissionCpo)||void 0===Je?void 0:Je.asset)||void 0===Be?void 0:Be.enabled)||(null===(ze=null===(Qe=this.dataEmpCpo)||void 0===Qe?void 0:Qe.permission)||void 0===ze?void 0:ze.easeAsset.location.enabled))&&((null===($e=this.permission())||void 0===$e?void 0:$e.includes(\"assetMgmtAccessRead\"))||(null===(Ye=this.permission())||void 0===Ye?void 0:Ye.includes(\"assetMgmtAccessWrite\")))}]},{label:\"Ease Monitor\",icon:\"pi pi-fw pi-desktop\",visible:(null===(Ve=this.dataEmpCpo.cpo.permissionCpo)||void 0===Ve?void 0:Ve.chargepoint.enabled)||(null===(We=null===(je=this.dataEmpCpo)||void 0===je?void 0:je.permission)||void 0===We?void 0:We.easeMonitor.enabled),items:[{command:P=>{this.onMenuItemClick(P)},id:\"dsh\",style:{\"margin-left\":\"28px\"},label:this.translate.instant(\"dsh\"),icon:\"pi pi-fw pi-chart-bar\",routerLink:[\"./cpo\"],visible:null===(He=this.permission())||void 0===He?void 0:He.includes(\"homeAccessRead\")},{command:P=>{this.onMenuItemClick(P)},id:\"mappa\",style:{\"margin-left\":\"28px\"},label:this.translate.instant(\"mappa\"),icon:\"pi pi-fw pi-map\",routerLink:[\"./cpo/map\"],visible:((null===(Ke=this.dataEmpCpo.cpo.permissionCpo)||void 0===Ke?void 0:Ke.chargepoint.map.enabled)||(null===(tn=null===(Xe=this.dataEmpCpo)||void 0===Xe?void 0:Xe.permission)||void 0===tn?void 0:tn.easeMonitor.map.enabled))&&((null===(en=this.permission())||void 0===en?void 0:en.includes(\"mapAccessRead\"))||(null===(nn=this.permission())||void 0===nn?void 0:nn.includes(\"mapAccessWrite\")))},{command:P=>{this.onMenuItemClick(P)},id:\"staz\",style:{\"margin-left\":\"33px\"},label:this.translate.instant(\"staz\"),icon:\"fas fa-charging-station\",routerLink:[\"./cpo/chargepoints\"],visible:((null===(on=this.dataEmpCpo.cpo.permissionCpo)||void 0===on?void 0:on.chargepoint.enabled)||(null===(rn=null===(an=this.dataEmpCpo)||void 0===an?void 0:an.permission)||void 0===rn?void 0:rn.easeMonitor.chargepoint.enabled))&&((null===(sn=this.permission())||void 0===sn?void 0:sn.includes(\"chargePointAccessRead\"))||(null===(ln=this.permission())||void 0===ln?void 0:ln.includes(\"chargePointAccessWrite\")))},{command:P=>{this.onMenuItemClick(P)},id:\"prods\",style:{\"margin-left\":\"33px\"},label:this.translate.instant(\"prods\"),icon:\"far fa-copy\",routerLink:[\"./cpo/product\"],visible:((null===(cn=this.dataEmpCpo.cpo.permissionCpo)||void 0===cn?void 0:cn.chargepoint.enabled)||(null===(dn=null===(pn=this.dataEmpCpo)||void 0===pn?void 0:pn.permission)||void 0===dn?void 0:dn.easeMonitor.product.enabled))&&((null===(gn=this.permission())||void 0===gn?void 0:gn.includes(\"productAccessRead\"))||(null===(mn=this.permission())||void 0===mn?void 0:mn.includes(\"productAccessWrite\")))},{command:P=>{this.onMenuItemClick(P)},id:\"ass_prezzi\",style:{\"margin-left\":\"28px\"},label:this.translate.instant(\"ass_prezzi\"),icon:\"pi pi-fw pi-money-bill\",routerLink:[\"./cpo/roaming-esterno\"],visible:((null===(_n=null===(un=this.dataEmpCpo.cpo.permissionCpo)||void 0===un?void 0:un.chargepoint.associationPrice)||void 0===_n?void 0:_n.enabled)||(null===(fn=null===(hn=this.dataEmpCpo)||void 0===hn?void 0:hn.permission)||void 0===fn?void 0:fn.easeMonitor.associationPrice.enabled))&&((null===(Zn=this.permission())||void 0===Zn?void 0:Zn.includes(\"associationPriceAccessRead\"))||(null===(Cn=this.permission())||void 0===Cn?void 0:Cn.includes(\"associationPriceAccessWrite\")))},{command:P=>{this.onMenuItemClick(P)},id:\"ricariche\",style:{\"margin-left\":\"28px\"},label:this.translate.instant(\"ricariche\"),icon:\"pi pi-fw pi-bolt\",routerLink:[\"./cpo/transactions\"],visible:((null===(vn=this.dataEmpCpo.cpo.permissionCpo)||void 0===vn?void 0:vn.chargepoint.recharge.enabled)||(null===(An=null===(bn=this.dataEmpCpo)||void 0===bn?void 0:bn.permission)||void 0===An?void 0:An.easeMonitor.recharge.enabled))&&((null===(xn=this.permission())||void 0===xn?void 0:xn.includes(\"rechargeAccessRead\"))||(null===(Tn=this.permission())||void 0===Tn?void 0:Tn.includes(\"rechargeAccessWrite\")))},{command:P=>{this.onMenuItemClick(P)},id:\"pren\",style:{\"margin-left\":\"28px\"},label:this.translate.instant(\"pren\"),icon:\"pi pi-fw pi-calendar-plus\",routerLink:[\"./cpo/reservations\"],visible:((null===(Pn=this.dataEmpCpo.cpo.permissionCpo)||void 0===Pn?void 0:Pn.chargepoint.reservation.enabled)||(null===(yn=null===(On=this.dataEmpCpo)||void 0===On?void 0:On.permission)||void 0===yn?void 0:yn.easeMonitor.reservation.enabled))&&((null===(qn=this.permission())||void 0===qn?void 0:qn.includes(\"reserveAccessRead\"))||(null===(Mn=this.permission())||void 0===Mn?void 0:Mn.includes(\"reserveAccessWrite\")))},{command:P=>{this.onMenuItemClick(P)},id:\"coupon\",style:{\"margin-left\":\"28px\"},label:this.translate.instant(\"coupon\"),icon:\"pi pi-fw pi-qrcode\",routerLink:[\"./cpo/coupon\"],visible:((null===(wn=this.dataEmpCpo.cpo.permissionCpo)||void 0===wn?void 0:wn.chargepoint.coupon.enabled)||(null===(kn=null===(En=this.dataEmpCpo)||void 0===En?void 0:En.permission)||void 0===kn?void 0:kn.easeMonitor.coupon.enabled))&&((null===(Un=this.permission())||void 0===Un?void 0:Un.includes(\"couponAccessRead\"))||(null===(In=this.permission())||void 0===In?void 0:In.includes(\"couponAccessWrite\")))},{command:P=>{this.onMenuItemClick(P)},id:\"rfidgroup\",style:{\"margin-left\":\"28px\"},label:this.translate.instant(\"rfidgroup\"),icon:\"pi pi-fw pi-credit-card\",routerLink:[\"./cpo/rfidgroup\"],visible:((null===(Sn=null===(Nn=this.dataEmpCpo.cpo.permissionCpo)||void 0===Nn?void 0:Nn.chargepoint.rfidGroup)||void 0===Sn?void 0:Sn.enabled)||(null===(Rn=null===(Dn=null===(Ln=this.dataEmpCpo)||void 0===Ln?void 0:Ln.permission)||void 0===Dn?void 0:Dn.easeMonitor.rfidGroup)||void 0===Rn?void 0:Rn.enabled))&&((null===(Fn=this.permission())||void 0===Fn?void 0:Fn.includes(\"rfidGroupAccessRead\"))||(null===(Gn=this.permission())||void 0===Gn?void 0:Gn.includes(\"rfidGroupAccessWrite\")))},{command:P=>{this.onMenuItemClick(P)},id:\"conf\",style:{\"margin-left\":\"28px\"},label:this.translate.instant(\"conf\"),icon:\"pi pi-fw pi-cog\",routerLink:[\"./cpo/settingscpo\"],visible:(null===(Qn=null===(Bn=null===(Jn=this.dataEmpCpo)||void 0===Jn?void 0:Jn.permission)||void 0===Bn?void 0:Bn.easeMonitor.configuration)||void 0===Qn?void 0:Qn.enabled)&&((null===(zn=this.permission())||void 0===zn?void 0:zn.includes(\"configurationAccessRead\"))||(null===($n=this.permission())||void 0===$n?void 0:$n.includes(\"configurationAccessWrite\")))},{command:P=>{this.onMenuItemClick(P)},id:\"subcpo\",style:{\"margin-left\":\"28px\"},label:this.translate.instant(\"subcpo\"),icon:\"pi pi-fw pi-users\",routerLink:[\"./cpo/subcpo\"],visible:((null===(Vn=null===(Yn=this.dataEmpCpo.cpo.permissionCpo)||void 0===Yn?void 0:Yn.chargepoint.subCpo)||void 0===Vn?void 0:Vn.enabled)||(null===(Hn=null===(Wn=null===(jn=this.dataEmpCpo)||void 0===jn?void 0:jn.permission)||void 0===Wn?void 0:Wn.easeMonitor.subCpo)||void 0===Hn?void 0:Hn.enabled))&&((null===(Kn=this.permission())||void 0===Kn?void 0:Kn.includes(\"subAccessRead\"))||(null===(Xn=this.permission())||void 0===Xn?void 0:Xn.includes(\"subAccessWrite\")))},{command:P=>{this.onMenuItemClick(P)},id:\"markup_interno\",style:{\"margin-left\":\"28px\"},label:this.translate.instant(\"markup_interno\"),icon:\"pi pi-fw pi-bookmark-fill\",routerLink:[\"./cpo/markup-internal\"],visible:((null===(eo=null===(to=this.dataEmpCpo.cpo.permissionCpo)||void 0===to?void 0:to.chargepoint.markupInternalCpo)||void 0===eo?void 0:eo.enabled)||(null===(io=null===(oo=null===(no=this.dataEmpCpo)||void 0===no?void 0:no.permission)||void 0===oo?void 0:oo.easeMonitor.markupInternalCpo)||void 0===io?void 0:io.enabled))&&((null===(ao=this.permission())||void 0===ao?void 0:ao.includes(\"markupInternalCpoAccessRead\"))||(null===(ro=this.permission())||void 0===ro?void 0:ro.includes(\"markupInternalCpoAccessWrite\")))}]},{label:\"Ease Roaming\",icon:\"pi pi-fw pi-globe\",visible:(null===(po=null===(co=null===(lo=null===(so=this.dataEmpCpo)||void 0===so?void 0:so.cpo.permissionCpo)||void 0===lo?void 0:lo.chargepoint)||void 0===co?void 0:co.enableEmsp)||void 0===po?void 0:po.enabled)||(null===(go=this.dataEmpCpo)||void 0===go?void 0:go.empActive),items:[{label:\"CPO\",icon:\"pi pi-fw pi-users\",visible:null===(ho=null===(_o=null===(uo=null===(mo=this.dataEmpCpo)||void 0===mo?void 0:mo.cpo.permissionCpo)||void 0===uo?void 0:uo.chargepoint)||void 0===_o?void 0:_o.enableEmsp)||void 0===ho?void 0:ho.enabled,items:[{command:P=>{this.onMenuItemClick(P)},id:\"abilitazione_emp\",style:{\"margin-left\":\"28px\"},label:this.translate.instant(\"abilitazione\")+\" \"+this.translate.instant(\"emp\"),icon:\"pi pi-fw pi-lock-open\",routerLink:[\"./cpo/enabling/emsp\"],visible:((null===(vo=null===(Co=null===(Zo=null===(fo=this.dataEmpCpo)||void 0===fo?void 0:fo.cpo.permissionCpo)||void 0===Zo?void 0:Zo.chargepoint)||void 0===Co?void 0:Co.enableEmsp)||void 0===vo?void 0:vo.enabled)||(null===(xo=null===(Ao=null===(bo=this.dataEmpCpo)||void 0===bo?void 0:bo.permission)||void 0===Ao?void 0:Ao.easeRoaming.enableEmsp)||void 0===xo?void 0:xo.enabled))&&((null===(To=this.permission())||void 0===To?void 0:To.includes(\"enableEmpsAccessRead\"))||(null===(Po=this.permission())||void 0===Po?void 0:Po.includes(\"enableEmpsAccessWrite\"))||(null===(Oo=this.permission())||void 0===Oo?void 0:Oo.includes(\"enableEmspAccessRead\"))||(null===(yo=this.permission())||void 0===yo?void 0:yo.includes(\"enableEmspAccessWrite\")))},{command:P=>{this.onMenuItemClick(P)},id:\"Hubject\",style:{\"margin-left\":\"28px\"},label:\"Hubject\",icon:\"pi pi-fw pi-globe\",routerLink:[\"./emp/hubject\"],visible:null===(wo=null===(Mo=null===(qo=this.dataEmpCpo)||void 0===qo?void 0:qo.permission)||void 0===Mo?void 0:Mo.easeRoaming.hubject)||void 0===wo?void 0:wo.enabled},{command:P=>{this.onMenuItemClick(P)},id:\"ocpigroup\",style:{\"margin-left\":\"28px\"},label:this.translate.instant(\"ocpigroup\"),icon:\"fas fa-layer-group\",routerLink:[\"./cpo/ocpigroup\"],visible:null===(Uo=null===(ko=null===(Eo=this.dataEmpCpo)||void 0===Eo?void 0:Eo.permission)||void 0===ko?void 0:ko.easeRoaming.ocpi)||void 0===Uo?void 0:Uo.enableOcpi.enabled},{command:P=>{this.onMenuItemClick(P)},id:\"prods-ocpi\",style:{\"margin-left\":\"28px\"},label:this.translate.instant(\"prods-ocpi\"),icon:\"far fa-copy\",routerLink:[\"./cpo/prods-ocpi\"],visible:null===(So=null===(No=null===(Io=this.dataEmpCpo)||void 0===Io?void 0:Io.permission)||void 0===No?void 0:No.easeRoaming.ocpi)||void 0===So?void 0:So.productOcpi.enabled}]},{label:\"eMSP\",icon:\"pi pi-fw pi-mobile\",visible:null===(Lo=this.dataEmpCpo)||void 0===Lo?void 0:Lo.empActive,items:[{label:this.translate.instant(\"roaming_esterno\"),icon:\"pi pi-fw pi-globe\",visible:(null===(Fo=null===(Ro=null===(Do=this.dataEmpCpo)||void 0===Do?void 0:Do.emp.permissionEmp)||void 0===Ro?void 0:Ro.externalRoaming)||void 0===Fo?void 0:Fo.enabled)||(null===(Bo=null===(Jo=null===(Go=this.dataEmpCpo)||void 0===Go?void 0:Go.permission)||void 0===Jo?void 0:Jo.easeRoaming.externalRoaming)||void 0===Bo?void 0:Bo.enabled),items:[{command:P=>{this.onMenuItemClick(P)},id:\"prezzi\",style:{\"margin-left\":\"28px\"},label:this.translate.instant(\"prezzi\"),icon:\"pi pi-fw pi-money-bill\",routerLink:[\"./emp/external/pricing-roaming\"],visible:((null===(Yo=null===($o=null===(zo=null===(Qo=this.dataEmpCpo)||void 0===Qo?void 0:Qo.emp.permissionEmp)||void 0===zo?void 0:zo.externalRoaming)||void 0===$o?void 0:$o.pricing)||void 0===Yo?void 0:Yo.enabled)||(null===(Wo=null===(jo=null===(Vo=this.dataEmpCpo)||void 0===Vo?void 0:Vo.permission)||void 0===jo?void 0:jo.easeRoaming.externalRoaming.pricing)||void 0===Wo?void 0:Wo.enabled))&&((null===(Ho=this.permission())||void 0===Ho?void 0:Ho.includes(\"priceExtAccessRead\"))||(null===(Ko=this.permission())||void 0===Ko?void 0:Ko.includes(\"priceExtAccessWrite\")))},{command:P=>{this.onMenuItemClick(P)},id:\"ricariche-est\",style:{\"margin-left\":\"28px\"},label:this.translate.instant(\"ricariche\"),icon:\"pi pi-fw pi-bolt\",routerLink:[\"./emp/external/session\"],visible:((null===(ni=null===(ei=null===(ti=null===(Xo=this.dataEmpCpo)||void 0===Xo?void 0:Xo.emp.permissionEmp)||void 0===ti?void 0:ti.externalRoaming)||void 0===ei?void 0:ei.session)||void 0===ni?void 0:ni.enabled)||(null===(ii=null===(oi=this.dataEmpCpo)||void 0===oi?void 0:oi.permission)||void 0===ii?void 0:ii.easeRoaming.externalRoaming.session.enabled))&&((null===(ai=this.permission())||void 0===ai?void 0:ai.includes(\"rechargeExtAccessRead\"))||(null===(ri=this.permission())||void 0===ri?void 0:ri.includes(\"rechargeExtAccessWrite\")))},{command:P=>{this.onMenuItemClick(P)},id:\"pren-est\",style:{\"margin-left\":\"28px\"},label:this.translate.instant(\"pren\"),icon:\"pi pi-fw pi-calendar-plus\",routerLink:[\"./emp/reservations\"],visible:((null===(pi=null===(ci=null===(li=null===(si=this.dataEmpCpo)||void 0===si?void 0:si.emp.permissionEmp)||void 0===li?void 0:li.externalRoaming)||void 0===ci?void 0:ci.reservations)||void 0===pi?void 0:pi.enabled)||(null===(gi=null===(di=this.dataEmpCpo)||void 0===di?void 0:di.permission)||void 0===gi?void 0:gi.easeRoaming.externalRoaming.reservations.enabled))&&((null===(mi=this.permission())||void 0===mi?void 0:mi.includes(\"reservationsExtAccessRead\"))||(null===(ui=this.permission())||void 0===ui?void 0:ui.includes(\"reservationsExtAccessWrite\")))}]},{label:this.translate.instant(\"roaming_interno\"),icon:\"pi pi-fw pi-globe\",visible:(null===(fi=null===(hi=null===(_i=this.dataEmpCpo)||void 0===_i?void 0:_i.emp.permissionEmp)||void 0===hi?void 0:hi.internalRoaming)||void 0===fi?void 0:fi.enabled)||(null===(Ci=null===(Zi=this.dataEmpCpo)||void 0===Zi?void 0:Zi.permission)||void 0===Ci?void 0:Ci.easeRoaming.internalRoaming.enabled),items:[{command:P=>{this.onMenuItemClick(P)},id:\"prezzi-int\",style:{\"margin-left\":\"28px\"},label:this.translate.instant(\"prezzi\"),icon:\"pi pi-fw pi-money-bill\",routerLink:[\"./emp/internal/pricing-roaming\"],visible:((null===(xi=null===(Ai=null===(bi=null===(vi=this.dataEmpCpo)||void 0===vi?void 0:vi.emp.permissionEmp)||void 0===bi?void 0:bi.internalRoaming)||void 0===Ai?void 0:Ai.pricing)||void 0===xi?void 0:xi.enabled)||(null===(Oi=null===(Pi=null===(Ti=this.dataEmpCpo)||void 0===Ti?void 0:Ti.permission)||void 0===Pi?void 0:Pi.easeRoaming.internalRoaming)||void 0===Oi?void 0:Oi.enabled))&&((null===(yi=this.permission())||void 0===yi?void 0:yi.includes(\"priceIntAccessRead\"))||(null===(qi=this.permission())||void 0===qi?void 0:qi.includes(\"priceIntAccessWrite\")))},{command:P=>{this.onMenuItemClick(P)},id:\"ricariche-int\",style:{\"margin-left\":\"28px\"},label:this.translate.instant(\"ricariche\"),icon:\"pi pi-fw pi-bolt\",routerLink:[\"./emp/transactions\"],visible:((null===(ki=null===(Ei=null===(wi=null===(Mi=this.dataEmpCpo)||void 0===Mi?void 0:Mi.emp.permissionEmp)||void 0===wi?void 0:wi.internalRoaming)||void 0===Ei?void 0:Ei.session)||void 0===ki?void 0:ki.enabled)||(null===(Ni=null===(Ii=null===(Ui=this.dataEmpCpo)||void 0===Ui?void 0:Ui.permission)||void 0===Ii?void 0:Ii.easeRoaming.internalRoaming.session)||void 0===Ni?void 0:Ni.enabled))&&((null===(Si=this.permission())||void 0===Si?void 0:Si.includes(\"rechargeIntAccessRead\"))||(null===(Li=this.permission())||void 0===Li?void 0:Li.includes(\"rechargeIntAccessRead\")))},{command:P=>{this.onMenuItemClick(P)},id:\"pren-int\",style:{\"margin-left\":\"28px\"},label:this.translate.instant(\"pren\"),icon:\"pi pi-fw pi-calendar-plus\",routerLink:[\"./emp/reservations\"],visible:((null===(Gi=null===(Fi=null===(Ri=null===(Di=this.dataEmpCpo)||void 0===Di?void 0:Di.emp.permissionEmp)||void 0===Ri?void 0:Ri.internalRoaming)||void 0===Fi?void 0:Fi.reservations)||void 0===Gi?void 0:Gi.enabled)||(null===(Qi=null===(Bi=null===(Ji=this.dataEmpCpo)||void 0===Ji?void 0:Ji.permission)||void 0===Bi?void 0:Bi.easeRoaming.internalRoaming.session)||void 0===Qi?void 0:Qi.enabled))&&((null===(zi=this.permission())||void 0===zi?void 0:zi.includes(\"reservationsIntAccessRead\"))||(null===($i=this.permission())||void 0===$i?void 0:$i.includes(\"reservationsIntAccessWrite\")))}]},{command:P=>{this.onMenuItemClick(P)},id:\"abilitazione\",style:{\"margin-left\":\"28px\"},label:this.translate.instant(\"abilitazione\")+\" \"+this.translate.instant(\"cpo\"),icon:\"pi pi-fw pi-lock-open\",routerLink:[\"./emp/enabling\"],visible:null===(Wi=null===(ji=null===(Vi=null===(Yi=this.dataEmpCpo)||void 0===Yi?void 0:Yi.permission)||void 0===Vi?void 0:Vi.easeRoaming)||void 0===ji?void 0:ji.enableCpo)||void 0===Wi?void 0:Wi.enabled}]}]},{label:\"Ease Payments\",icon:\"pi pi-fw pi-credit-card\",visible:null===(Xi=null===(Ki=null===(Hi=this.dataEmpCpo)||void 0===Hi?void 0:Hi.permission)||void 0===Ki?void 0:Ki.easePayments.gateway)||void 0===Xi?void 0:Xi.enabled,items:[{command:P=>{this.onMenuItemClick(P)},id:\"gateway_pagamento\",style:{\"margin-left\":\"28px\"},label:this.translate.instant(\"gateway_pagamento\"),icon:\"fab fa-stripe\",routerLink:[\"./emp/gateway\"],visible:(null===(na=null===(ea=null===(ta=this.dataEmpCpo)||void 0===ta?void 0:ta.permission)||void 0===ea?void 0:ea.easePayments.gateway)||void 0===na?void 0:na.enabled)&&((null===(oa=this.permission())||void 0===oa?void 0:oa.includes(\"gatewayAccessRead\"))||(null===(ia=this.permission())||void 0===ia?void 0:ia.includes(\"gatewayAccessWrite\")))},{label:\"POS\",icon:\"fas fa-money-check\",visible:null===(sa=null===(ra=null===(aa=this.dataEmpCpo)||void 0===aa?void 0:aa.permission)||void 0===ra?void 0:ra.easePayments.pos)||void 0===sa?void 0:sa.enabled,items:[{command:P=>{this.onMenuItemClick(P)},id:\"api-key\",style:{\"margin-left\":\"28px\"},label:this.translate.instant(\"Api Key\"),icon:\"fas fa-key\",routerLink:[\"./emp/internal/pricing-roaming\"],visible:(null===(pa=null===(ca=null===(la=this.dataEmpCpo)||void 0===la?void 0:la.permission)||void 0===ca?void 0:ca.easePayments.pos)||void 0===pa?void 0:pa.enabled)&&((null===(da=this.permission())||void 0===da?void 0:da.includes(\"posAccessRead\"))||(null===(ga=this.permission())||void 0===ga?void 0:ga.includes(\"posAccessWrite\")))},{command:P=>{this.onMenuItemClick(P)},id:\"prezzi-pos\",style:{\"margin-left\":\"28px\"},label:this.translate.instant(\"prezzi\")+\" \"+this.translate.instant(\"pos\"),icon:\"pi pi-fw pi-money-bill\",routerLink:[\"./emp/pos/pricing\"],visible:(null===(_a=null===(ua=null===(ma=this.dataEmpCpo)||void 0===ma?void 0:ma.permission)||void 0===ua?void 0:ua.easePayments.pos.pricePos)||void 0===_a?void 0:_a.enabled)&&((null===(ha=this.permission())||void 0===ha?void 0:ha.includes(\"pricePosAccessRead\"))||(null===(fa=this.permission())||void 0===fa?void 0:fa.includes(\"pricePosAccessWrite\")))},{command:P=>{this.onMenuItemClick(P)},id:\"pren-gestione_pos\",style:{\"margin-left\":\"28px\"},label:this.translate.instant(\"gestione_pos\"),icon:\"fas fa-charging-station\",routerLink:[\"./emp/pos/cp-pos\"],visible:(null===(va=null===(Ca=null===(Za=this.dataEmpCpo)||void 0===Za?void 0:Za.permission)||void 0===Ca?void 0:Ca.easePayments.pos)||void 0===va?void 0:va.enabled)&&((null===(ba=this.permission())||void 0===ba?void 0:ba.includes(\"posAccessRead\"))||(null===(Aa=this.permission())||void 0===Aa?void 0:Aa.includes(\"posAccessWrite\")))},{command:P=>{this.onMenuItemClick(P)},id:\"Personalizza-pos\",style:{\"margin-left\":\"28px\"},label:this.translate.instant(\"Personalizza\"),icon:\"pi pi-fw pi-cog\",routerLink:[\"./emp/pos/customization\"],visible:(null===(Pa=null===(Ta=null===(xa=this.dataEmpCpo)||void 0===xa?void 0:xa.permission)||void 0===Ta?void 0:Ta.easePayments.pos)||void 0===Pa?void 0:Pa.enabled)&&(null===(Oa=this.permission())||void 0===Oa?void 0:Oa.includes(\"posCustomization\"))}]},{label:this.translate.instant(\"qrcode\"),icon:\"pi pi-fw pi-qrcode\",visible:(null===(Ma=null===(qa=null===(ya=this.dataEmpCpo)||void 0===ya?void 0:ya.permission)||void 0===qa?void 0:qa.easePayments.qrcode)||void 0===Ma?void 0:Ma.enabled)&&((null===(wa=this.permission())||void 0===wa?void 0:wa.includes(\"qrcodeAccessRead\"))||(null===(Ea=this.permission())||void 0===Ea?void 0:Ea.includes(\"qrcodeAccessWrite\"))),items:[{command:P=>{this.onMenuItemClick(P)},id:\"prezzi-qr\",style:{\"margin-left\":\"28px\"},label:this.translate.instant(\"prezzi\")+\" \"+this.translate.instant(\"qrcode\"),icon:\"pi pi-fw pi-money-bill\",routerLink:[\"./emp/qrcode/pricing\"],visible:(null===(Ia=null===(Ua=null===(ka=this.dataEmpCpo)||void 0===ka?void 0:ka.permission)||void 0===Ua?void 0:Ua.easePayments.qrcode)||void 0===Ia?void 0:Ia.enabled)&&((null===(Na=this.permission())||void 0===Na?void 0:Na.includes(\"priceIntAccessRead\"))||(null===(Sa=this.permission())||void 0===Sa?void 0:Sa.includes(\"priceIntAccessWrite\")))},{command:P=>{this.onMenuItemClick(P)},id:\"Personalizza-qr\",style:{\"margin-left\":\"28px\"},label:this.translate.instant(\"Personalizza\"),icon:\"pi pi-fw pi-cog\",routerLink:[\"./emp/qrcode/customization\"],visible:(null===(Ra=null===(Da=null===(La=this.dataEmpCpo)||void 0===La?void 0:La.permission)||void 0===Da?void 0:Da.easePayments.qrcode)||void 0===Ra?void 0:Ra.enabled)&&(null===(Fa=this.permission())||void 0===Fa?void 0:Fa.includes(\"qrcodeCustomization\"))}]}]},{label:\"Ease Billing\",icon:\"pi pi-fw pi-calculator\",visible:((null===(Ja=null===(Ga=this.dataEmpCpo.emp.permissionEmp)||void 0===Ga?void 0:Ga.billing)||void 0===Ja?void 0:Ja.enabled)||(null===(za=null===(Qa=null===(Ba=this.dataEmpCpo)||void 0===Ba?void 0:Ba.permission)||void 0===Qa?void 0:Qa.easeBilling)||void 0===za?void 0:za.enabled))&&(null===($a=this.permission())||void 0===$a?void 0:$a.includes(\"billingAccessRead\"))||(null===(Ya=this.permission())||void 0===Ya?void 0:Ya.includes(\"billingAccessWrite\")),items:[{command:P=>{this.onMenuItemClick(P)},id:\"imp_billing\",style:{\"margin-left\":\"28px\"},label:this.translate.instant(\"imp_billing\"),icon:\"pi pi-fw pi-cog\",routerLink:[\"./emp/effatta\"],visible:((null===(ja=null===(Va=this.dataEmpCpo.emp.permissionEmp)||void 0===Va?void 0:Va.billing)||void 0===ja?void 0:ja.enabled)||(null===(Ka=null===(Ha=null===(Wa=this.dataEmpCpo)||void 0===Wa?void 0:Wa.permission)||void 0===Ha?void 0:Ha.easeBilling)||void 0===Ka?void 0:Ka.enabled))&&(null===(Xa=this.permission())||void 0===Xa?void 0:Xa.includes(\"billingAccessRead\"))||(null===(tr=this.permission())||void 0===tr?void 0:tr.includes(\"billingAccessWrite\"))},{label:this.translate.instant(\"ricavi\"),icon:\"pi pi-fw pi-money-bill\",items:[{label:\"CPO\",icon:\"pi pi-fw pi-users\",command:P=>{this.onMenuItemClick(P)},id:\"ALL-ricavi\",style:{\"margin-left\":\"28px\"},routerLink:[\"./cpo/revenues/all/roaming\"],visible:((null===(nr=null===(er=this.dataEmpCpo.cpo.permissionCpo)||void 0===er?void 0:er.chargepoint.revenues)||void 0===nr?void 0:nr.enabled)||(null===(ar=null===(ir=null===(or=this.dataEmpCpo)||void 0===or?void 0:or.permission)||void 0===ir?void 0:ir.easeBilling.revenues)||void 0===ar?void 0:ar.enabled))&&((null===(rr=this.permission())||void 0===rr?void 0:rr.includes(\"revenueCpoAccessRead\"))||(null===(sr=this.permission())||void 0===sr?void 0:sr.includes(\"revenueCpoAccessWrite\")))},{label:\"eMSP\",icon:\"pi pi-fw pi-users\",command:P=>{this.onMenuItemClick(P)},id:\"emsp-ricavi\",style:{\"margin-left\":\"28px\"},routerLink:[\"./emp/revenues/app\"],visible:((null===(pr=null===(cr=null===(lr=this.dataEmpCpo)||void 0===lr?void 0:lr.emp.permissionEmp)||void 0===cr?void 0:cr.revenues)||void 0===pr?void 0:pr.enabled)||(null===(mr=null===(gr=null===(dr=this.dataEmpCpo)||void 0===dr?void 0:dr.permission)||void 0===gr?void 0:gr.easeBilling.revenues)||void 0===mr?void 0:mr.enabled))&&((null===(ur=this.permission())||void 0===ur?void 0:ur.includes(\"revenueEmpAccessRead\"))||(null===(_r=this.permission())||void 0===_r?void 0:_r.includes(\"revenueEmpAccessWrite\")))}]},{label:\"eMSP\",icon:\"pi pi-fw pi-mobile\",visible:null===(hr=this.dataEmpCpo)||void 0===hr?void 0:hr.empActive,items:[{label:this.translate.instant(\"ricavi\"),icon:\"pi pi-fw pi-money-bill\",items:[{command:P=>{this.onMenuItemClick(P)},id:\"ricavi-app\",style:{\"margin-left\":\"28px\"},label:this.translate.instant(\"ricavi\")+\" \"+this.translate.instant(\"app\"),icon:\"pi pi-fw pi-mobile\",routerLink:[\"./emp/revenues/app\"],visible:((null===(Cr=null===(Zr=null===(fr=this.dataEmpCpo)||void 0===fr?void 0:fr.emp.permissionEmp)||void 0===Zr?void 0:Zr.revenues)||void 0===Cr?void 0:Cr.enabled)||(null===(Ar=null===(br=null===(vr=this.dataEmpCpo)||void 0===vr?void 0:vr.permission)||void 0===br?void 0:br.easeBilling.revenues)||void 0===Ar?void 0:Ar.enabled))&&((null===(xr=this.permission())||void 0===xr?void 0:xr.includes(\"revenueEmpAccessRead\"))||(null===(Tr=this.permission())||void 0===Tr?void 0:Tr.includes(\"revenueEmpAccessWrite\")))},{command:P=>{this.onMenuItemClick(P)},id:\"roaming_interno\",style:{\"margin-left\":\"28px\"},label:this.translate.instant(\"roaming_interno\"),icon:\"pi pi-fw pi-globe\",routerLink:[\"./emp/revenues/roaming-interno\"],visible:((null===(yr=null===(Or=null===(Pr=this.dataEmpCpo)||void 0===Pr?void 0:Pr.emp.permissionEmp)||void 0===Or?void 0:Or.revenues)||void 0===yr?void 0:yr.enabled)||(null===(wr=null===(Mr=null===(qr=this.dataEmpCpo)||void 0===qr?void 0:qr.permission)||void 0===Mr?void 0:Mr.easeBilling.revenues)||void 0===wr?void 0:wr.enabled))&&((null===(Er=this.permission())||void 0===Er?void 0:Er.includes(\"revenueEmpAccessRead\"))||(null===(kr=this.permission())||void 0===kr?void 0:kr.includes(\"revenueEmpAccessWrite\")))},{command:P=>{this.onMenuItemClick(P)},id:\"roaming_esterno\",style:{\"margin-left\":\"28px\"},label:this.translate.instant(\"roaming_esterno\"),icon:\"pi pi-fw pi-globe\",routerLink:[\"./emp/revenues/roaming-esterno\"],visible:((null===(Nr=null===(Ir=null===(Ur=this.dataEmpCpo)||void 0===Ur?void 0:Ur.emp.permissionEmp)||void 0===Ir?void 0:Ir.revenues)||void 0===Nr?void 0:Nr.enabled)||(null===(Dr=null===(Lr=null===(Sr=this.dataEmpCpo)||void 0===Sr?void 0:Sr.permission)||void 0===Lr?void 0:Lr.easeBilling.revenues)||void 0===Dr?void 0:Dr.enabled))&&((null===(Rr=this.permission())||void 0===Rr?void 0:Rr.includes(\"revenueEmpAccessRead\"))||(null===(Fr=this.permission())||void 0===Fr?void 0:Fr.includes(\"revenueEmpAccessWrite\")))}]}]},{command:P=>{this.onMenuItemClick(P)},id:\"fatture-corr\",style:{\"margin-left\":\"32px\"},label:this.translate.instant(\"fatture\")+\"/\"+this.translate.instant(\"corrispettivi\"),icon:\"fas fa-file-invoice\",routerLink:[\"./emp/billing\"],visible:(null===(Jr=null===(Gr=this.dataEmpCpo.emp.permissionEmp)||void 0===Gr?void 0:Gr.billing)||void 0===Jr?void 0:Jr.enabled)||(null===(zr=null===(Qr=null===(Br=this.dataEmpCpo)||void 0===Br?void 0:Br.permission)||void 0===Qr?void 0:Qr.easeBilling)||void 0===zr?void 0:zr.enabled)&&(null===($r=this.permission())||void 0===$r?void 0:$r.includes(\"billingAccessRead\"))||(null===(Yr=this.permission())||void 0===Yr?void 0:Yr.includes(\"billingAccessWrite\"))}]},{label:\"Ease Smartcharging\",icon:\"pi pi-fw pi-inbox\",visible:(null===(jr=null===(Vr=this.dataEmpCpo.cpo.permissionCpo)||void 0===Vr?void 0:Vr.chargepoint.cluster)||void 0===jr?void 0:jr.enabled)||(null===(Kr=null===(Hr=null===(Wr=this.dataEmpCpo)||void 0===Wr?void 0:Wr.permission)||void 0===Hr?void 0:Hr.easeSmartCharging)||void 0===Kr?void 0:Kr.enabled),items:[{command:P=>{this.onMenuItemClick(P)},id:\"cluster\",style:{\"margin-left\":\"28px\"},label:this.translate.instant(\"cluster\"),icon:\"pi pi-fw pi-inbox\",routerLink:[\"./cpo/cluster\"],visible:((null===(ts=null===(Xr=this.dataEmpCpo.cpo.permissionCpo)||void 0===Xr?void 0:Xr.chargepoint.cluster)||void 0===ts?void 0:ts.enabled)||(null===(os=null===(ns=null===(es=this.dataEmpCpo)||void 0===es?void 0:es.permission)||void 0===ns?void 0:ns.easeSmartCharging.cluster)||void 0===os?void 0:os.enabled))&&((null===(is=this.permission())||void 0===is?void 0:is.includes(\"clusterAccessRead\"))||(null===(as=this.permission())||void 0===as?void 0:as.includes(\"clusterAccessWrite\")))}]},{label:\"Ease App\",icon:\"pi pi-fw pi-calendar\",visible:null===(cs=null===(ss=null===(rs=this.dataEmpCpo)||void 0===rs?void 0:rs.permission)||void 0===ss?void 0:ss.easeApp)||void 0===cs?void 0:cs.enabled,items:[{command:P=>{this.onMenuItemClick(P)},id:\"dsh-app\",style:{\"margin-left\":\"28px\"},label:this.translate.instant(\"dsh\"),icon:\"pi pi-fw pi-chart-bar\",routerLink:[\"./emp\"],visible:(null===(gs=null===(ds=null===(ps=this.dataEmpCpo)||void 0===ps?void 0:ps.permission)||void 0===ds?void 0:ds.easeApp)||void 0===gs?void 0:gs.enabled)&&((null===(ms=this.permission())||void 0===ms?void 0:ms.includes(\"homeAccessRead\"))||(null===(us=this.permission())||void 0===us?void 0:us.includes(\"homeAccessWrite\")))},{command:P=>{this.onMenuItemClick(P)},id:\"flat\",style:{\"margin-left\":\"28px\"},label:this.translate.instant(\"flat\"),icon:\"pi pi-fw pi-calendar-minus\",routerLink:[\"./emp/flat\"],visible:(null===(fs=null===(hs=null===(_s=this.dataEmpCpo)||void 0===_s?void 0:_s.permission)||void 0===hs?void 0:hs.easeApp.flat)||void 0===fs?void 0:fs.enabled)&&((null===(Zs=this.permission())||void 0===Zs?void 0:Zs.includes(\"flatAccessRead\"))||(null===(Cs=this.permission())||void 0===Cs?void 0:Cs.includes(\"flatAccessWrite\")))},{command:P=>{this.onMenuItemClick(P)},id:\"pay\",style:{\"margin-left\":\"28px\"},label:this.translate.instant(\"pay\"),icon:\"pi pi-fw pi-money-bill\",routerLink:[\"./emp/payment\"],visible:(null===(As=null===(bs=null===(vs=this.dataEmpCpo)||void 0===vs?void 0:vs.permission)||void 0===bs?void 0:bs.easeApp.payments)||void 0===As?void 0:As.enabled)&&((null===(xs=this.permission())||void 0===xs?void 0:xs.includes(\"paymentsAccessRead\"))||(null===(Ts=this.permission())||void 0===Ts?void 0:Ts.includes(\"paymentsAccessWrite\")))},{command:P=>{this.onMenuItemClick(P)},id:\"support\",style:{\"margin-left\":\"28px\"},label:this.translate.instant(\"support\"),icon:\"pi pi-fw pi-send\",routerLink:[\"./emp/support\"],visible:(null===(ys=null===(Os=null===(Ps=this.dataEmpCpo)||void 0===Ps?void 0:Ps.permission)||void 0===Os?void 0:Os.easeApp.support)||void 0===ys?void 0:ys.enabled)&&((null===(qs=this.permission())||void 0===qs?void 0:qs.includes(\"supportAccessRead\"))||(null===(Ms=this.permission())||void 0===Ms?void 0:Ms.includes(\"supportAccessWrite\")))},{command:P=>{this.onMenuItemClick(P)},id:\"utenti\",style:{\"margin-left\":\"28px\"},label:this.translate.instant(\"utenti\"),icon:\"pi pi-fw pi-user\",routerLink:[\"./emp/users\"],visible:(null===(ks=null===(Es=null===(ws=this.dataEmpCpo)||void 0===ws?void 0:ws.permission)||void 0===Es?void 0:Es.easeApp.user)||void 0===ks?void 0:ks.enabled)&&((null===(Us=this.permission())||void 0===Us?void 0:Us.includes(\"userAccessRead\"))||(null===(Is=this.permission())||void 0===Is?void 0:Is.includes(\"userAccessWrite\")))},{command:P=>{this.onMenuItemClick(P)},id:\"voucher\",style:{\"margin-left\":\"28px\"},label:this.translate.instant(\"voucher\"),icon:\"pi pi-fw pi-qrcode\",routerLink:[\"./emp/voucher\"],visible:(null===(Ls=null===(Ss=null===(Ns=this.dataEmpCpo)||void 0===Ns?void 0:Ns.permission)||void 0===Ss?void 0:Ss.easeApp.voucher)||void 0===Ls?void 0:Ls.enabled)&&((null===(Ds=this.permission())||void 0===Ds?void 0:Ds.includes(\"voucherAccessRead\"))||(null===(Rs=this.permission())||void 0===Rs?void 0:Rs.includes(\"voucherAccessWrite\")))},{command:P=>{this.onMenuItemClick(P)},id:\"rfid\",style:{\"margin-left\":\"28px\"},label:this.translate.instant(\"rfid\"),icon:\"pi pi-fw pi-credit-card\",routerLink:[\"./emp/rfid\"],visible:null===(Js=null===(Gs=null===(Fs=this.dataEmpCpo)||void 0===Fs?void 0:Fs.permission)||void 0===Gs?void 0:Gs.easeApp.rfid)||void 0===Js?void 0:Js.enabled},{command:P=>{this.onMenuItemClick(P)},id:\"notif\",style:{\"margin-left\":\"28px\"},label:this.translate.instant(\"notif\"),icon:\"pi pi-fw pi-bell\",routerLink:[\"./emp/notification\"],visible:(null===(zs=null===(Qs=null===(Bs=this.dataEmpCpo)||void 0===Bs?void 0:Bs.permission)||void 0===Qs?void 0:Qs.easeApp.notification)||void 0===zs?void 0:zs.enabled)&&((null===($s=this.permission())||void 0===$s?void 0:$s.includes(\"firebaseAccessRead\"))||(null===(Ys=this.permission())||void 0===Ys?void 0:Ys.includes(\"firebaseAccessWrite\")))},{label:this.translate.instant(\"impos\"),icon:\"pi pi-fw pi-cog\",visible:null===(Ws=null===(js=null===(Vs=this.dataEmpCpo)||void 0===Vs?void 0:Vs.permission)||void 0===js?void 0:js.easeApp.settings)||void 0===Ws?void 0:Ws.enabled,items:[{command:P=>{this.onMenuItemClick(P)},id:\"apikey\",style:{\"margin-left\":\"28px\"},label:this.translate.instant(\"apikey\"),icon:\"pi pi-fw pi-bookmark\",routerLink:[\"./emp/api-key\"],visible:(null===(Xs=null===(Ks=null===(Hs=this.dataEmpCpo)||void 0===Hs?void 0:Hs.permission)||void 0===Ks?void 0:Ks.easeApp.settings.apiKey)||void 0===Xs?void 0:Xs.enabled)&&((null===(tl=this.permission())||void 0===tl?void 0:tl.includes(\"apiKeyAccessRead\"))||(null===(el=this.permission())||void 0===el?void 0:el.includes(\"apiKeyAccessWrite\")))},{command:P=>{this.onMenuItemClick(P)},id:\"firebase\",style:{\"margin-left\":\"28px\"},label:this.translate.instant(\"firebase\"),icon:\"pi pi-fw pi-google\",routerLink:[\"./emp/firebase\"],visible:(null===(il=null===(ol=null===(nl=this.dataEmpCpo)||void 0===nl?void 0:nl.permission)||void 0===ol?void 0:ol.easeApp.settings.webhook)||void 0===il?void 0:il.enabled)&&((null===(al=this.permission())||void 0===al?void 0:al.includes(\"firebaseAccessRead\"))||(null===(rl=this.permission())||void 0===rl?void 0:rl.includes(\"firebaseAccessWrite\")))},{command:P=>{this.onMenuItemClick(P)},id:\"conf_smtp\",style:{\"margin-left\":\"28px\"},label:this.translate.instant(\"conf_smtp\"),icon:\"far fa-envelope-open\",routerLink:[\"./emp/conf-smtp\"],visible:(null===(cl=null===(ll=null===(sl=this.dataEmpCpo)||void 0===sl?void 0:sl.permission)||void 0===ll?void 0:ll.easeApp.settings.smtp)||void 0===cl?void 0:cl.enabled)&&((null===(pl=this.permission())||void 0===pl?void 0:pl.includes(\"smtpAccessRead\"))||(null===(dl=this.permission())||void 0===dl?void 0:dl.includes(\"smtpAccessWrite\")))},{command:P=>{this.onMenuItemClick(P)},id:\"info_addizionali\",style:{\"margin-left\":\"28px\"},label:this.translate.instant(\"info_addizionali\")+\" \"+this.translate.instant(\"cpo\"),icon:\"pi pi-fw pi-info-circle\",routerLink:[\"./emp/additional-info\"],visible:(null===(ul=null===(ml=null===(gl=this.dataEmpCpo)||void 0===gl?void 0:gl.permission)||void 0===ml?void 0:ml.easeApp.settings.additionalInfo)||void 0===ul?void 0:ul.enabled)&&((null===(_l=this.permission())||void 0===_l?void 0:_l.includes(\"additionalInfoAccessRead\"))||(null===(hl=this.permission())||void 0===hl?void 0:hl.includes(\"additionalInfoAccessWrite\")))}]}]},{label:\"Ease Analytics\",icon:\"pi pi-fw pi-chart-bar\",visible:null===(Cl=null===(Zl=null===(fl=this.dataEmpCpo)||void 0===fl?void 0:fl.permission)||void 0===Zl?void 0:Zl.easeAnalytics.bi)||void 0===Cl?void 0:Cl.enabled,items:[{command:P=>{this.onMenuItemClick(P)},id:\"bus_int\",style:{\"margin-left\":\"28px\"},label:this.translate.instant(\"bus_int\"),icon:\"pi pi-fw pi-chart-bar\",routerLink:[\"./bi\"],visible:(null===(Al=null===(bl=null===(vl=this.dataEmpCpo)||void 0===vl?void 0:vl.permission)||void 0===bl?void 0:bl.easeAnalytics.bi)||void 0===Al?void 0:Al.enabled)&&((null===(xl=this.permission())||void 0===xl?void 0:xl.includes(\"biAccessRead\"))||(null===(Tl=this.permission())||void 0===Tl?void 0:Tl.includes(\"biAccessWrite\")))}]},{label:\"Ease Fleet\",icon:\"pi pi-fw pi-car\",visible:(null===(Pl=this.dataEmpCpo)||void 0===Pl?void 0:Pl.fleetActive)||(null===(ql=null===(yl=null===(Ol=this.dataEmpCpo)||void 0===Ol?void 0:Ol.fleet)||void 0===yl?void 0:yl.permissionsFleet)||void 0===ql?void 0:ql.enabled)||(null===(El=null===(wl=null===(Ml=this.dataEmpCpo)||void 0===Ml?void 0:Ml.permission)||void 0===wl?void 0:wl.easeFleet)||void 0===El?void 0:El.enabled),items:[{command:P=>{this.onMenuItemClick(P)},id:\"wallet\",style:{\"margin-left\":\"28px\"},label:this.translate.instant(\"wallet\"),icon:\"pi pi-fw pi-wallet\",routerLink:[\"./fleet/wallet\"],visible:((null===(Nl=null===(Il=null===(Ul=null===(kl=this.dataEmpCpo)||void 0===kl?void 0:kl.fleet)||void 0===Ul?void 0:Ul.permissionsFleet)||void 0===Il?void 0:Il.wallet)||void 0===Nl?void 0:Nl.enabled)||(null===(Dl=null===(Ll=null===(Sl=this.dataEmpCpo)||void 0===Sl?void 0:Sl.permission)||void 0===Ll?void 0:Ll.easeFleet.wallet)||void 0===Dl?void 0:Dl.enabled))&&((null===(Rl=this.permission())||void 0===Rl?void 0:Rl.includes(\"walletAccessRead\"))||(null===(Fl=this.permission())||void 0===Fl?void 0:Fl.includes(\"walletAccessWrite\")))},{command:P=>{this.onMenuItemClick(P)},id:\"dipartimenti\",style:{\"margin-left\":\"28px\"},label:this.translate.instant(\"dipartimenti\"),icon:\"pi pi-fw pi-truck\",routerLink:[\"./cpo/rfidgroup\"],visible:((null===(Ql=null===(Bl=null===(Jl=null===(Gl=this.dataEmpCpo)||void 0===Gl?void 0:Gl.fleet)||void 0===Jl?void 0:Jl.permissionsFleet)||void 0===Bl?void 0:Bl.rfidGroup)||void 0===Ql?void 0:Ql.enabled)||(null===($l=null===(zl=this.dataEmpCpo)||void 0===zl?void 0:zl.permission)||void 0===$l?void 0:$l.easeFleet.rfidGroup.enabled))&&((null===(Yl=this.permission())||void 0===Yl?void 0:Yl.includes(\"rfidGroupFleetAccessRead\"))||(null===(Vl=this.permission())||void 0===Vl?void 0:Vl.includes(\"rfidGroupFleetAccessWrite\")))},{command:P=>{this.onMenuItemClick(P)},id:\"vehicle\",style:{\"margin-left\":\"28px\"},label:this.translate.instant(\"vehicle\"),icon:\"pi pi-fw pi-car\",routerLink:[\"./fleet/vehicle-detail\"],visible:((null===(Kl=null===(Hl=null===(Wl=null===(jl=this.dataEmpCpo)||void 0===jl?void 0:jl.fleet)||void 0===Wl?void 0:Wl.permissionsFleet)||void 0===Hl?void 0:Hl.vehicle)||void 0===Kl?void 0:Kl.enabled)||(null===(tc=null===(Xl=this.dataEmpCpo)||void 0===Xl?void 0:Xl.permission)||void 0===tc?void 0:tc.easeFleet.vehicle.enabled))&&((null===(ec=this.permission())||void 0===ec?void 0:ec.includes(\"vehicleAccessRead\"))||(null===(nc=this.permission())||void 0===nc?void 0:nc.includes(\"vehicleAccessWrite\")))},{label:this.translate.instant(\"ricariche\"),icon:\"pi pi-fw pi-bolt\",visible:(null===(rc=null===(ac=null===(ic=null===(oc=this.dataEmpCpo)||void 0===oc?void 0:oc.fleet)||void 0===ic?void 0:ic.permissionsFleet)||void 0===ac?void 0:ac.recharge)||void 0===rc?void 0:rc.enabled)||(null===(lc=null===(sc=this.dataEmpCpo)||void 0===sc?void 0:sc.permission)||void 0===lc?void 0:lc.easeFleet.recharge.enabled),items:[{command:P=>{this.onMenuItemClick(P)},id:\"roaming_interno-ric\",style:{\"margin-left\":\"28px\"},label:this.translate.instant(\"roaming_interno\"),icon:\"pi pi-fw pi-globe\",routerLink:[\"./fleet/transaction\"],visible:((null===(gc=null===(dc=null===(pc=null===(cc=this.dataEmpCpo)||void 0===cc?void 0:cc.fleet)||void 0===pc?void 0:pc.permissionsFleet)||void 0===dc?void 0:dc.recharge)||void 0===gc?void 0:gc.roamingInternalEnabled)||(null===(uc=null===(mc=this.dataEmpCpo)||void 0===mc?void 0:mc.permission)||void 0===uc?void 0:uc.easeFleet.recharge.enabled))&&((null===(_c=this.permission())||void 0===_c?void 0:_c.includes(\"rechargeFleetAccessRead\"))||(null===(hc=this.permission())||void 0===hc?void 0:hc.includes(\"rechargeFleetAccessWrite\")))},{command:P=>{this.onMenuItemClick(P)},id:\"roaming_esterno-ric\",style:{\"margin-left\":\"28px\"},label:this.translate.instant(\"roaming_esterno\"),icon:\"pi pi-fw pi-globe\",routerLink:[\"./fleet/session\"],visible:((null===(vc=null===(Cc=null===(Zc=null===(fc=this.dataEmpCpo)||void 0===fc?void 0:fc.fleet)||void 0===Zc?void 0:Zc.permissionsFleet)||void 0===Cc?void 0:Cc.recharge)||void 0===vc?void 0:vc.roamingInternalEnabled)||(null===(Ac=null===(bc=this.dataEmpCpo)||void 0===bc?void 0:bc.permission)||void 0===Ac?void 0:Ac.easeFleet.recharge.enabled))&&((null===(xc=this.permission())||void 0===xc?void 0:xc.includes(\"rechargeFleetAccessRead\"))||(null===(Tc=this.permission())||void 0===Tc?void 0:Tc.includes(\"rechargeFleetAccessWrite\")))}]}]}]}newPermission(e){console.log(this.dataEmpCpo),(!this.dataEmpCpo||!this.dataEmpCpo.permission)&&(this.dataEmpCpo=Object.assign(Object.assign({},this.dataEmpCpo),{permission:{easeAsset:{company:{enabled:!1},contract:{enabled:!1},pod:{enabled:!1},sim:{enabled:!1},location:{enabled:!1},assistance:{enabled:!1},enabled:!1},easeMonitor:{map:{enabled:!1},coupon:{enabled:!1},recharge:{enabled:!1},reservation:{enabled:!1},subCpo:{enabled:!1},product:{enabled:!1},associationPrice:{enabled:!1},rfidGroup:{walletCheck:{enabled:!1},enabled:!1},configuration:{enabled:!1},chargepoint:{modifyChargepoint:{enabled:!1},enabled:!1},markupInternalCpo:{enabled:!1},canStartCharge:{enabled:!1},enabled:!1},easeRoaming:{hubject:{enabled:!1},enableEmsp:{enabled:!1},externalRoaming:{pricing:{enabled:!1},reservations:{enabled:!1},session:{enabled:!1},enabled:!1},internalRoaming:{pricing:{enabled:!1},reservations:{enabled:!1},session:{enabled:!1},enabled:!1},enableCpo:{enabled:!1},ocpi:{enableOcpi:{enabled:!1},productOcpi:{enabled:!1},enabled:!1},enabled:!1},easePayments:{pos:{pricePos:{enabled:!1},enabled:!1},gateway:{enabled:!1},qrcode:{priceQrCode:{enabled:!1},enabled:!1},enabled:!1},easeBilling:{revenues:{enabled:!1},billingSettings:{enabled:!1},reveInvoice:{enabled:!1},enabled:!1},easeSmartCharging:{cluster:{enabled:!1},enabled:!1},easeApp:{flat:{enabled:!1},payments:{enabled:!1},support:{enabled:!1},user:{enabled:!1},voucher:{enabled:!1},rfid:{modify:{enabled:!1},enabled:!1},notification:{enabled:!1},settings:{apiKey:{enabled:!1},firebase:{enabled:!1},smtp:{enabled:!1},webhook:{enabled:!1},additionalInfo:{enabled:!1},enabled:!1},enabled:!1},easeFleet:{wallet:{walletUnlimited:{enabled:!1},walletRecharge:{enabled:!1},enabled:!1},rfidGroup:{walletCheck:{enabled:!1},enabled:!1},department:{enabled:!1},chargepoint:{enabled:!1},vehicle:{enabled:!1},recharge:{roamingInternalEnabled:{enabled:!1},roamingExternalEnabled:{enabled:!1},enabled:!1},enabled:!1},easeAnalytics:{bi:{enabled:!1},enabled:!1},enabled:!0}})),console.log(this.dataEmpCpo)}}return n.\\u0275fac=function(e){return new(e||n)(t.Y36(v.Ye),t.Y36(N.F0),t.Y36(yt.FF),t.Y36(F.e),t.Y36(oe),t.Y36(U.sK),t.Y36(N.F0))},n.\\u0275cmp=t.Xpm({type:n,selectors:[[\"app-navigation\"]],decls:5,vars:2,consts:[[\"rel\",\"stylesheet\",\"href\",\"https://cdnjs.cloudflare.com/ajax/libs/animate.css/4.1.1/animate.min.css\"],[1,\"deznav\"],[1,\"deznav-scroll\",3,\"perfectScrollbar\"],[\"class\",\"metismenu\",\"id\",\"menu\",\"metis-menu\",\"\",4,\"ngIf\"],[3,\"model\",\"style\",\"multiple\",4,\"ngIf\"],[\"id\",\"menu\",\"metis-menu\",\"\",1,\"metismenu\"],[3,\"class\",\"click\",4,\"ngIf\"],[3,\"ngClass\",4,\"ngIf\"],[3,\"click\"],[\"aria-expanded\",\"false\",3,\"routerLink\"],[\"alt\",\"image for menu\",\"src\",\"../../../assets/icone/building-fill-gear.svg\"],[1,\"nav-text\"],[1,\"flaticon-047-home\"],[\"alt\",\"image for menu\",\"src\",\"../../../assets/icone/people.svg\"],[\"alt\",\"image for menu\",\"src\",\"../../../assets/icone/building-check.svg\"],[\"alt\",\"image for menu\",\"src\",\"../../../assets/icone/pin-map.svg\"],[3,\"ngClass\"],[\"href\",\"javascript:void()\",\"aria-expanded\",\"false\",1,\"has-arrow\",\"ai-icon\"],[\"alt\",\"image for menu\",\"src\",\"../../../assets/icone/ev-station.svg\"],[\"aria-expanded\",\"false\",3,\"ngClass\"],[3,\"routerLink\"],[\"alt\",\"image for menu\",\"src\",\"../../../assets/icone/globe.svg\"],[3,\"model\",\"multiple\"]],template:function(e,o){1&e&&(t._UZ(0,\"link\",0),t.TgZ(1,\"div\",1),t.TgZ(2,\"div\",2),t.YNc(3,Fp,8,7,\"ul\",3),t.YNc(4,Jp,1,5,\"p-panelMenu\",4),t.qZA(),t.qZA()),2&e&&(t.xp6(3),t.Q6J(\"ngIf\",(null==o.dataEmpCpo?null:o.dataEmpCpo.confirmedData)||o.isAdmin()),t.xp6(1),t.Q6J(\"ngIf\",!o.isAdmin()))},directives:[Oc.$V,v.O5,yc.I_,N.yS,v.mk,H.oO,qc.f3],pipes:[U.X$],styles:['.p-panelmenu .p-panelmenu-header>a:focus{box-shadow:none!important} .p-panelmenu .p-panelmenu-content .p-menuitem .p-menuitem-link:focus{box-shadow:none!important}.deznav[_ngcontent-%COMP%]{width:308px!important} .ui-panelmenu .ui-menuitem.ui-state-active{background-color:red!important;color:#fff!important} .p-panelmenu .p-panelmenu-header>a{padding:1.25rem!important;border:0 solid #dee2e6!important;color:#6f89a1!important;background:#ffffff!important;font-weight:700!important;font-size:1.1rem!important;border-radius:6px!important;transition:box-shadow .2s!important} .p-menuitem-text{font-family:\"Roboto\",serif!important}*[_ngcontent-%COMP%]{-webkit-user-select:none!important;user-select:none!important}.bootstrap[_ngcontent-%COMP%]{display:inline-block!important;vertical-align:middle!important;padding:0 1.5rem 0 0!important;position:relative!important;top:0!important;transition:all .5s!important;line-height:1!important;height:24px!important;filter:invert(64%) sepia(9%) saturate(196%) hue-rotate(169deg) brightness(96%) contrast(87%)!important}ul[_ngcontent-%COMP%]{position:relative!important} .disabled{opacity:.6!important;cursor:not-allowed!important;pointer-events:none!important}.animate__backInLeft[_ngcontent-%COMP%]{animation-duration:.5s!important}.animate__backInRight[_ngcontent-%COMP%]{animation-duration:.5s!important} .bootstrap_active{display:inline-block!important;vertical-align:middle!important;padding:0 1.5rem 0 0!important;position:relative!important;top:0!important;transition:all .5s!important;line-height:1!important;height:24px!important;filter:invert(64%) sepia(9%) saturate(196%) hue-rotate(169deg) brightness(96%) contrast(87%)!important}@media (max-width: 1350px){.bootstrap[_ngcontent-%COMP%]{display:inline-block!important;vertical-align:middle!important;padding:0 .7rem 0 0!important;position:relative!important;top:0!important;transition:all .5s!important;line-height:1!important;height:24px!important;filter:invert(64%) sepia(9%) saturate(196%) hue-rotate(169deg) brightness(96%) contrast(87%)!important} .bootstrap_active{display:inline-block!important;vertical-align:middle!important;padding:0 .7rem 0 0!important;position:relative!important;top:0!important;transition:all .5s!important;line-height:1!important;height:24px!important;filter:invert(64%) sepia(9%) saturate(196%) hue-rotate(169deg) brightness(96%) contrast(87%)!important}}@media (max-width: 1023px){ .bootstrap{display:inline-block!important;vertical-align:middle!important;padding:0!important;position:relative!important;top:0!important;transition:all .5s!important;line-height:1!important;height:24px!important;filter:invert(64%) sepia(9%) saturate(196%) hue-rotate(169deg) brightness(96%) contrast(87%)!important} .bootstrap_active{display:inline-block!important;vertical-align:middle!important;padding:0!important;position:relative!important;top:0!important;transition:all .5s!important;line-height:1!important;height:24px!important;filter:invert(100%) sepia(0%) saturate(7500%) hue-rotate(8deg) brightness(106%) contrast(99%)!important}} .custom-menu-item-active{font-weight:bolder!important}a[_ngcontent-%COMP%]{.fa-copy{width: 18px !important;};.fa-file-invoice{width: 18px !important;}}']}),n})();const Qp=function(n,s){return{\"menu-toggle\":n,\"\":s}};let zp=(()=>{class n{constructor(e,o){this.sharedService=e,this.mediaObserver=o,this.title=\"kripton\",this.navSidebarClass=!0,this.hamburgerClass=!1}ngOnInit(){document.body.getAttributeNames().forEach(o=>{null!=b().get(o,{decrypt:!0})&&document.body.setAttribute(o,b().get(o,{decrypt:!0}))}),this.mediaSub=this.mediaObserver.media$.subscribe(o=>{this.deviceXs=\"xs\"===o.mqAlias});let e=(0,et.zf)();this.setFavicon(e)}setFavicon(e){let a,o=(0,et.p4)(e);switch(e){case\"beagleplug\":case\"electriease\":case\"eyes\":case\"energinaio\":case\"miacharge\":case\"electricgasoline\":case\"sagelio\":case\"ekomobil\":case\"aquila\":case\"silla\":a=\"../../assets/whitelabel/\"+o+\"/favicon.png\"}const d=document.getElementsByTagName(\"head\")[0],h=document.querySelector('link[rel=\"icon\"]')||document.createElement(\"link\");h.setAttribute(\"type\",\"image/x-icon\"),h.setAttribute(\"rel\",\"icon\"),h.setAttribute(\"href\",a),h.getAttribute(\"id\")?document.getElementById(\"dynamic-favicon\").setAttribute(\"href\",a):(h.setAttribute(\"id\",\"dynamic-favicon\"),d.appendChild(h))}ngOnDestroy(){this.mediaSub.unsubscribe()}}return n.\\u0275fac=function(e){return new(e||n)(t.Y36(oe),t.Y36(ap.u0))},n.\\u0275cmp=t.Xpm({type:n,selectors:[[\"app-home\"]],decls:5,vars:5,consts:[[\"id\",\"main-wrapper\",1,\"show\",3,\"ngClass\"],[3,\"deviceXs\"]],template:function(e,o){1&e&&(t.TgZ(0,\"div\",0),t._UZ(1,\"app-nav-header\"),t._UZ(2,\"app-header\",1),t._UZ(3,\"app-navigation\"),t._UZ(4,\"router-outlet\"),t.qZA()),2&e&&(t.Q6J(\"ngClass\",t.WLB(2,Qp,o.sharedService.hamburgerClass,!o.sharedService.hamburgerClass)),t.xp6(2),t.Q6J(\"deviceXs\",o.deviceXs))},directives:[v.mk,H.oO,dp,Ap,Bp,N.lC],styles:[\"\"]}),n})(),$p=(()=>{class n{constructor(e,o){this.authService=e,this.route=o}canActivate(e,o){const a=this.authService.isAuthenticated();return a||this.route.navigateByUrl(\"forbidden\"),a}}return n.\\u0275fac=function(e){return new(e||n)(t.LFG(F.e),t.LFG(N.F0))},n.\\u0275prov=t.Yz7({token:n,factory:n.\\u0275fac,providedIn:\"root\"}),n})();var ht=c(88205),ie=c(39801),_t=c(98295),Nt=c(49983);let Yp=(()=>{class n{constructor(e,o,a,d){this.formBuilder=e,this.cpoService=o,this.translate=a,this.notifyService=d,this.saveButton=!0,this.dataEmpCpo=JSON.parse(b().get(\"dataEmpCpo\",{decrypt:!0})),this.mapIcon=\"./assets/images/markerStazioni/z1-company_corporation_building_institution-512.png\"}ngOnInit(){this.formCpo=this.formBuilder.group({ragioneSociale:[{value:this.dataEmpCpo.ragioneSociale,disabled:!0}],iva:[{value:this.dataEmpCpo.iva,disabled:!0}],codiceSdi:[{value:this.dataEmpCpo.codiceSdi,disabled:!0}],pec:[{value:this.dataEmpCpo.pec,disabled:!0}],email:[{value:this.dataEmpCpo.email,disabled:!0}],telefono:[{value:this.dataEmpCpo.telefono,disabled:!0}]})}enableUpdate(){this.formCpo.enable(),this.saveButton=!1}updateCpo(e){return(0,C.mG)(this,void 0,void 0,function*(){this.dataEmpCpo.ragioneSociale=e.ragioneSociale,this.dataEmpCpo.iva=e.iva,this.dataEmpCpo.codiceSdi=e.codiceSdi,this.dataEmpCpo.pec=e.pec,this.dataEmpCpo.email=e.email,this.dataEmpCpo.telefono=e.telefono;try{yield this.cpoService.update(this.cpo.id,this.dataEmpCpo).toPromise().then(()=>{this.notifyService.showSuccess(this.translate.instant(\"azienda_agg\"),this.translate.instant(\"ok\"))})}catch(o){console.error(o)}})}}return n.\\u0275fac=function(e){return new(e||n)(t.Y36(l.qu),t.Y36(ut.j),t.Y36(U.sK),t.Y36(K.m))},n.\\u0275cmp=t.Xpm({type:n,selectors:[[\"app-cpo-profile\"]],inputs:{cpo:\"cpo\",dataEmpCpo:\"dataEmpCpo\"},decls:59,vars:26,consts:[[1,\"parent\"],[1,\"div1\",2,\"text-align\",\"center\"],[2,\"text-transform\",\"uppercase\",\"font-size\",\"2em\",\"font-weight\",\"bold\",\"height\",\"fit-content\",\"white-space\",\"normal\",\"overflow\",\"hidden\",\"word-wrap\",\"break-word\"],[2,\"color\",\"rgb(153, 153, 153)\",\"font-weight\",\"bold\"],[2,\"font-size\",\"1.5em\"],[\"height\",\"128\",\"src\",\"assets/images/icone/Office.png\",\"alt\",\"\"],[1,\"div2\",\"center\"],[2,\"color\",\"#009999\",\"font-size\",\"1.5em\",\"font-weight\",\"bolder\"],[1,\"forms\",3,\"formGroup\"],[1,\"full-width\"],[2,\"color\",\"#009999\"],[\"matInput\",\"\",\"disabled\",\"\",\"formControlName\",\"ragioneSociale\"],[\"matInput\",\"\",\"formControlName\",\"iva\",3,\"value\"],[\"matInput\",\"\",\"formControlName\",\"pec\"],[\"matInput\",\"\",\"formControlName\",\"codiceSdi\"],[\"matInput\",\"\",\"formControlName\",\"telefono\"]],template:function(e,o){1&e&&(t.TgZ(0,\"div\",0),t.TgZ(1,\"div\",1),t.TgZ(2,\"div\",2),t.TgZ(3,\"p\"),t._uU(4),t.qZA(),t.qZA(),t._UZ(5,\"br\"),t.TgZ(6,\"div\",3),t._uU(7),t.qZA(),t._UZ(8,\"br\"),t._UZ(9,\"br\"),t.TgZ(10,\"a\",4),t._uU(11),t.qZA(),t._UZ(12,\"br\"),t._UZ(13,\"img\",5),t.qZA(),t.TgZ(14,\"div\",6),t.TgZ(15,\"a\",7),t._uU(16),t.ALo(17,\"translate\"),t.ALo(18,\"translate\"),t.qZA(),t._UZ(19,\"br\"),t._uU(20,\" \\xa0 \\xa0 \\xa0 \\xa0 \"),t.TgZ(21,\"div\"),t.TgZ(22,\"form\",8),t.TgZ(23,\"table\"),t.TgZ(24,\"tr\"),t.TgZ(25,\"td\"),t.TgZ(26,\"mat-form-field\",9),t.TgZ(27,\"mat-label\",10),t._uU(28),t.ALo(29,\"translate\"),t.qZA(),t._UZ(30,\"input\",11),t.qZA(),t.qZA(),t.qZA(),t.TgZ(31,\"tr\"),t.TgZ(32,\"td\"),t.TgZ(33,\"mat-form-field\",9),t.TgZ(34,\"mat-label\",10),t._uU(35),t.ALo(36,\"translate\"),t.qZA(),t._UZ(37,\"input\",12),t.qZA(),t.qZA(),t.qZA(),t.TgZ(38,\"tr\"),t.TgZ(39,\"td\"),t.TgZ(40,\"mat-form-field\",9),t.TgZ(41,\"mat-label\",10),t._uU(42),t.ALo(43,\"translate\"),t.qZA(),t._UZ(44,\"input\",13),t.qZA(),t.qZA(),t.qZA(),t.TgZ(45,\"tr\"),t.TgZ(46,\"td\"),t.TgZ(47,\"mat-form-field\",9),t.TgZ(48,\"mat-label\",10),t._uU(49),t.ALo(50,\"translate\"),t.qZA(),t._UZ(51,\"input\",14),t.qZA(),t.qZA(),t.qZA(),t.TgZ(52,\"tr\"),t.TgZ(53,\"td\"),t.TgZ(54,\"mat-form-field\",9),t.TgZ(55,\"mat-label\",10),t._uU(56),t.ALo(57,\"translate\"),t.qZA(),t._UZ(58,\"input\",15),t.qZA(),t.qZA(),t.qZA(),t.qZA(),t.qZA(),t.qZA(),t.qZA(),t.qZA()),2&e&&(t.xp6(4),t.Oqu(o.dataEmpCpo.ragioneSociale),t.xp6(3),t.hij(\" \",o.dataEmpCpo.iva,\" \"),t.xp6(4),t.hij(\" \",o.dataEmpCpo.address.street+\" \"+o.dataEmpCpo.address.houseNumber+\" - \"+o.dataEmpCpo.address.city+\", \"+o.dataEmpCpo.address.province+\" \"+o.dataEmpCpo.address.zipCode+\" - \"+o.dataEmpCpo.address.country,\" \"),t.xp6(5),t.AsE(\"\",t.lcZ(17,12,\"info_prof\"),\" \",t.lcZ(18,14,\"azienda\"),\"\"),t.xp6(6),t.Q6J(\"formGroup\",o.formCpo),t.xp6(6),t.Oqu(t.lcZ(29,16,\"rag_soc\")),t.xp6(7),t.Oqu(t.lcZ(36,18,\"partita_iva\")),t.xp6(2),t.Q6J(\"value\",o.dataEmpCpo.iva),t.xp6(5),t.Oqu(t.lcZ(43,20,\"pec\")),t.xp6(7),t.Oqu(t.lcZ(50,22,\"sdi\")),t.xp6(7),t.Oqu(t.lcZ(57,24,\"telefono\")))},directives:[l._Y,l.JL,l.sg,_t.KE,_t.hX,Nt.Nt,l.Fj,l.JJ,l.u],pipes:[U.X$],styles:[\".update[_ngcontent-%COMP%]:hover{width:60%;border-radius:10px;text-align:center;color:#2e7117;border:3px solid #2e7117;display:flex;align-items:center;justify-content:center;height:2.5em;background-color:#2e7117;color:#fff!important}.save[_ngcontent-%COMP%]:hover{cursor:pointer;color:#2e7117!important;background-color:#fff!important;outline:none}.save[_ngcontent-%COMP%]:hover [_ngcontent-%COMP%]:focus:active{outline:none;border:none}.update[_ngcontent-%COMP%]:focus{outline:none;border:none}.save[_ngcontent-%COMP%]:active{outline:none}.parent[_ngcontent-%COMP%]{display:grid;grid-template-columns:repeat(2,1fr);grid-template-rows:1fr;grid-column-gap:0px;grid-row-gap:0px}.div1[_ngcontent-%COMP%]{grid-area:1/1/2/2;border-right:10px solid #009999}.div2[_ngcontent-%COMP%]{grid-area:1/2/2/3;margin-left:2em}@media (max-width: 1090px){.parent[_ngcontent-%COMP%]{display:grid;grid-template-columns:1fr;grid-template-rows:repeat(2,1fr);grid-column-gap:0px;grid-row-gap:0px}.div1[_ngcontent-%COMP%]{grid-area:1/1/2/2;border-right:none}.div2[_ngcontent-%COMP%]{grid-area:2/1/3/2;margin-left:unset;text-align-last:center}.center[_ngcontent-%COMP%]{text-align:-webkit-center}}@-moz-document url-prefix(){@media (max-width: 1090px){.center{display:flex;justify-content:end}}}\"]}),n})();function Vp(n,s){1&n&&t._UZ(0,\"app-loading-screen\")}function jp(n,s){if(1&n&&(t.ynx(0),t._UZ(1,\"app-cpo-profile\",23),t.BQk()),2&n){const e=s.$implicit;t.xp6(1),t.Q6J(\"cpo\",e)}}function Wp(n,s){if(1&n){const e=t.EpF();t.TgZ(0,\"div\",2),t.TgZ(1,\"div\",3),t.TgZ(2,\"div\",4),t.TgZ(3,\"div\",5),t._UZ(4,\"img\",6),t.TgZ(5,\"div\",7),t._uU(6),t._UZ(7,\"br\"),t._uU(8),t.qZA(),t._UZ(9,\"br\"),t.TgZ(10,\"div\",8),t._uU(11),t.qZA(),t._UZ(12,\"br\"),t._UZ(13,\"br\"),t.TgZ(14,\"div\"),t.TgZ(15,\"a\",9),t._uU(16),t.qZA(),t._UZ(17,\"br\"),t.qZA(),t.TgZ(18,\"div\",10),t.TgZ(19,\"button\",11),t.NdJ(\"click\",function(){return t.CHM(e),t.oxw().enableUpdate()}),t.TgZ(20,\"span\"),t._uU(21),t.ALo(22,\"translate\"),t.qZA(),t.qZA(),t.qZA(),t.qZA(),t.TgZ(23,\"div\",12),t.TgZ(24,\"a\",13),t._uU(25),t.ALo(26,\"translate\"),t.qZA(),t._UZ(27,\"br\"),t._uU(28,\" \\xa0 \\xa0 \\xa0 \\xa0 \"),t.TgZ(29,\"div\"),t.TgZ(30,\"form\",14),t.TgZ(31,\"table\"),t.TgZ(32,\"tr\"),t.TgZ(33,\"td\"),t.TgZ(34,\"mat-form-field\",15),t.TgZ(35,\"mat-label\",16),t._uU(36),t.ALo(37,\"translate\"),t.qZA(),t._UZ(38,\"input\",17),t.qZA(),t.qZA(),t.qZA(),t.TgZ(39,\"tr\"),t.TgZ(40,\"td\"),t.TgZ(41,\"mat-form-field\",15),t.TgZ(42,\"mat-label\",16),t._uU(43),t.ALo(44,\"translate\"),t.qZA(),t._UZ(45,\"input\",18),t.qZA(),t.qZA(),t.qZA(),t.TgZ(46,\"tr\"),t.TgZ(47,\"td\"),t.TgZ(48,\"mat-form-field\",15),t.TgZ(49,\"mat-label\",16),t._uU(50),t.ALo(51,\"translate\"),t.qZA(),t._UZ(52,\"input\",19),t.qZA(),t.qZA(),t.qZA(),t.TgZ(53,\"tr\"),t.TgZ(54,\"td\"),t.TgZ(55,\"mat-form-field\",15),t.TgZ(56,\"mat-label\",16),t._uU(57),t.ALo(58,\"translate\"),t.qZA(),t._UZ(59,\"input\",20),t.qZA(),t.qZA(),t.qZA(),t.qZA(),t.TgZ(60,\"button\",21),t.NdJ(\"click\",function(){t.CHM(e);const a=t.oxw();return a.updateUser(a.formUser.value)}),t._uU(61),t.ALo(62,\"translate\"),t.qZA(),t.qZA(),t.qZA(),t.qZA(),t.qZA(),t.YNc(63,jp,2,1,\"ng-container\",22),t.qZA(),t.qZA()}if(2&n){const e=t.oxw();t.xp6(4),t.MGl(\"src\",\"../../../assets/whitelabel/\",e.dataEmpCpo.tenantId,\"/full.png\",t.LSH),t.xp6(2),t.hij(\" \",e.user.name,\" \"),t.xp6(2),t.hij(\" \",e.user.surname,\" \"),t.xp6(3),t.hij(\" \",e.user.role,\" \"),t.xp6(5),t.hij(\" \",e.user.username,\" \"),t.xp6(5),t.hij(\" \",t.lcZ(22,15,\"modifica\"),\"\"),t.xp6(4),t.Oqu(t.lcZ(26,17,\"info_prof\")),t.xp6(5),t.Q6J(\"formGroup\",e.formUser),t.xp6(6),t.Oqu(t.lcZ(37,19,\"nome\")),t.xp6(7),t.Oqu(t.lcZ(44,21,\"cognome\")),t.xp6(7),t.Oqu(t.lcZ(51,23,\"telefono\")),t.xp6(7),t.Oqu(t.lcZ(58,25,\"email\")),t.xp6(3),t.Q6J(\"hidden\",e.saveButton),t.xp6(1),t.hij(\" \",t.lcZ(62,27,\"salva\"),\" \"),t.xp6(2),t.Q6J(\"ngForOf\",e.cpos)}}let Hp=(()=>{class n{constructor(e,o,a,d,h,E,y,D,V){this.fb=e,this.cpoService=o,this.userService=a,this.formBuilder=d,this.authService=h,this.translate=E,this.dialog=y,this.dataEmpCpoService=D,this.notifyService=V,this.isLoading=!0,this.cpos=[],this.dataEmpCpo=JSON.parse(b().get(\"dataEmpCpo\",{decrypt:!0})),this.panelOpenState=!0,this.isDisplayed=!0,this.isDisabled=!1,this.isDisplayedUser=!0,this.isDisabledUser=!1,this.saveButton=!0,this.form=this.fb.group({file:null})}ngOnInit(){return(0,C.mG)(this,void 0,void 0,function*(){this.isLoading=!0,yield this.read().then(()=>{this.isLoading=!1})})}read(){return(0,C.mG)(this,void 0,void 0,function*(){this.isLoading=!0,this.authService.userObservable.subscribe(e=>(0,C.mG)(this,void 0,void 0,function*(){console.log(e),null!=e&&(this.user=this.authService.user,this.formUser=this.formBuilder.group({name:[{value:this.user.name,disabled:!0}],surname:[{value:this.user.surname,disabled:!0}],phone:[{value:this.user.phone,disabled:!0}],email:[{value:this.user.email,disabled:!0}]}))})),this.cpos.push(this.dataEmpCpo),this.isLoading=!1})}updateUser(e){return(0,C.mG)(this,void 0,void 0,function*(){if(this.user.name=e.name,this.user.surname=e.surname,this.user.phone=e.phone,this.user.email=e.email,console.log(this.user),yield this.userService.update(this.user.id,this.user).toPromise().then(()=>{this.notifyService.showSuccess(this.translate.instant(\"profilo_agg\"),this.translate.instant(\"ok\"))}).catch(o=>{console.error(o.message)}),null!=this.selectedFile){const o=new FormData;o.append(\"file\",this.selectedFile,this.selectedFile.name),this.dataEmpCpoService.setLogo(this.dataEmpCpo.id,o).toPromise().then(a=>{this.read()}).catch(a=>{console.log(a),this.read(),this.formUser.disable(),this.saveButton=!0})}this.notifyService.showWarning(this.translate.instant(\"No results found\"),this.translate.instant(\"att\"))})}enableUpdate(){this.formUser.enable(),this.saveButton=!1}isCpo(){return\"CPO\"===b().get(\"userRole\",{decrypt:!0})}showMe(){this.isDisplayed=!this.isDisplayed,this.isDisabled=!this.isDisabled}showMeUser(){this.isDisplayedUser=!this.isDisplayedUser,this.isDisabledUser=!this.isDisabledUser}getImageUrl(e){return`${x.N.apiUrl}/${x.N.managementPath}/cpo/logo/image/${e}`}onFileUpload(e){this.selectedFile=e.target.files[0];const o=new FileReader;o.onload=()=>{this.imageName=o.result.toString()},o.readAsDataURL(this.selectedFile)}OnUploadFile(){return(0,C.mG)(this,void 0,void 0,function*(){const e=new FormData;e.append(\"file\",this.selectedFile,this.selectedFile.name),yield this.cpoService.setLogo(this.authService.dataEmpCpo.id,e).toPromise()})}confirmDialog(e){const o=this.translate.instant(\"dim_cons\"),a=new ht.f(this.translate.instant(\"ins_immagine\"),o);this.dialog.open(ht.z,{maxWidth:\"400px\",data:a}).afterClosed().subscribe(h=>{h&&e.click()})}}return n.\\u0275fac=function(e){return new(e||n)(t.Y36(l.qu),t.Y36(ut.j),t.Y36(nt.K),t.Y36(l.qu),t.Y36(F.e),t.Y36(U.sK),t.Y36(O.uw),t.Y36(ie.c),t.Y36(K.m))},n.\\u0275cmp=t.Xpm({type:n,selectors:[[\"app-profilo\"]],decls:3,vars:2,consts:[[4,\"ngIf\",\"ngIfElse\"],[\"main\",\"\"],[1,\"content-body\"],[1,\"container-fluid\",\"default-mt-btn\",\"default-mt-table\",\"default-mt-select\",\"default-autocomplete\",\"default-mt-spinner\"],[1,\"parent\"],[1,\"div1\",2,\"text-align\",\"center\"],[\"alt\",\"full\",\"onerror\",\"src='../../../assets/whitelabel/DEFAULT/full.png'\",3,\"src\"],[2,\"text-transform\",\"uppercase\",\"padding-top\",\"5%\",\"font-size\",\"2em\",\"font-weight\",\"bold\"],[2,\"color\",\"rgb(153, 153, 153)\",\"font-weight\",\"bold\"],[2,\"font-size\",\"1.5em\"],[2,\"display\",\"flex\",\"justify-content\",\"center\",\"align-items\",\"center\",\"padding-bottom\",\"5%\"],[1,\"btn-blue\",\"updateProfile\",2,\"width\",\"37%\",\"border-radius\",\"10px\",\"text-align\",\"center\",\"color\",\"#009999\",\"border\",\"3px solid #009999\",\"display\",\"flex\",\"align-items\",\"center\",\"justify-content\",\"center\",\"height\",\"2.5em\",3,\"click\"],[1,\"div2\",\"center\"],[2,\"color\",\"#009999\",\"font-size\",\"1.5em\",\"font-weight\",\"bolder\"],[1,\"forms\",3,\"formGroup\"],[1,\"full-width\"],[2,\"color\",\"#009999\"],[\"matInput\",\"\",\"disabled\",\"\",\"formControlName\",\"name\"],[\"matInput\",\"\",\"formControlName\",\"surname\"],[\"type\",\"tel\",\"matInput\",\"\",\"formControlName\",\"phone\"],[\"matInput\",\"\",\"formControlName\",\"email\"],[\"mat-raised-button\",\"\",1,\"save\",2,\"border-radius\",\"10px\",\"text-align\",\"center\",\"color\",\"#009999\",\"border\",\"3px solid #009999\",\"display\",\"inline-flex\",\"align-items\",\"center\",\"justify-content\",\"center\",\"height\",\"2.5em\",3,\"hidden\",\"click\"],[4,\"ngFor\",\"ngForOf\"],[3,\"cpo\"]],template:function(e,o){if(1&e&&(t.YNc(0,Vp,1,0,\"app-loading-screen\",0),t.YNc(1,Wp,64,29,\"ng-template\",null,1,t.W1O)),2&e){const a=t.MAs(2);t.Q6J(\"ngIf\",o.isLoading)(\"ngIfElse\",a)}},directives:[v.O5,w.g,l._Y,l.JL,l.sg,_t.KE,_t.hX,Nt.Nt,l.Fj,l.JJ,l.u,z.lW,v.sg,Yp],pipes:[U.X$],styles:[\".footer.content[_ngcontent-%COMP%] > img[_ngcontent-%COMP%], .footer.content[_ngcontent-%COMP%] > p[_ngcontent-%COMP%]{display:inline-block}.updateProfile[_ngcontent-%COMP%]:hover{width:60%;border-radius:10px;text-align:center;border:3px solid #009999;display:flex;align-items:center;justify-content:center;height:2.5em;cursor:pointer;color:#fff!important;background-color:#099;outline:none}.updateProfile[_ngcontent-%COMP%]:hover [_ngcontent-%COMP%]:focus{outline:none!important;border:none!important}.save[_ngcontent-%COMP%]:hover{cursor:pointer;color:#099!important;background-color:#fff!important;outline:none}.save[_ngcontent-%COMP%]:hover [_ngcontent-%COMP%]:focus:active{outline:none;border:none}.update[_ngcontent-%COMP%]:focus{outline:none;border:none}.save[_ngcontent-%COMP%]:active{outline:none}img[_ngcontent-%COMP%]{object-fit:cover}.parent[_ngcontent-%COMP%]{display:grid;grid-template-columns:repeat(2,1fr);grid-template-rows:1fr;grid-column-gap:0px;grid-row-gap:0px}.div1[_ngcontent-%COMP%]{grid-area:1/1/2/2;border-right:10px solid #009999}.div2[_ngcontent-%COMP%]{grid-area:1/2/2/3;margin-left:2em}@media (max-width: 1090px){.px[_ngcontent-%COMP%]{height:150px;width:150px}.parent[_ngcontent-%COMP%]{display:grid;grid-template-columns:1fr;grid-template-rows:repeat(2,1fr);grid-column-gap:0px;grid-row-gap:0px}.div1[_ngcontent-%COMP%]{grid-area:1/1/2/2;border-right:none}.div2[_ngcontent-%COMP%]{grid-area:2/1/3/2;margin-left:unset;text-align-last:center}.center[_ngcontent-%COMP%]{text-align:-webkit-center}}@media (min-width: 1090px){.px[_ngcontent-%COMP%]{height:250px;width:250px}}@-moz-document url-prefix(){@media (max-width: 1090px){.center{display:flex;justify-content:end}}}\"]}),n})();var Ec=c(87519),he=c(77001);function Kp(n,s){1&n&&(t.TgZ(0,\"mat-error\"),t._uU(1,\"registrazioneCPO.errorRS\"),t.qZA())}function Xp(n,s){1&n&&(t.TgZ(0,\"mat-error\"),t.TgZ(1,\"span\",2),t._uU(2,\" registrazioneCPO.errorPiva\"),t.qZA(),t.qZA())}function td(n,s){if(1&n&&(t.TgZ(0,\"div\"),t.YNc(1,Xp,3,0,\"mat-error\",10),t.qZA()),2&n){const e=t.oxw();t.xp6(1),t.Q6J(\"ngIf\",e.addForm.get(\"iva\").touched&&e.addForm.get(\"iva\").invalid)}}function ed(n,s){1&n&&(t.TgZ(0,\"span\"),t.TgZ(1,\"small\"),t.TgZ(2,\"span\",2),t._uU(3,\" registrazioneCPO.errorSede\"),t.qZA(),t.qZA(),t.qZA())}function nd(n,s){1&n&&(t.TgZ(0,\"span\"),t.TgZ(1,\"small\"),t.TgZ(2,\"span\",2),t._uU(3,\" registrazioneCPO.errorSdi\"),t.qZA(),t.qZA(),t.qZA())}function od(n,s){1&n&&(t.TgZ(0,\"span\"),t.TgZ(1,\"small\"),t.TgZ(2,\"span\",2),t._uU(3,\" registrazioneCPO.errorPec\"),t.qZA(),t.qZA(),t.qZA())}function id(n,s){1&n&&(t.TgZ(0,\"span\"),t.TgZ(1,\"small\"),t.TgZ(2,\"span\",2),t._uU(3,\" registrazioneCPO.errorEmail\"),t.qZA(),t.qZA(),t.qZA())}function ad(n,s){1&n&&(t.TgZ(0,\"span\"),t.TgZ(1,\"small\"),t.TgZ(2,\"span\",2),t._uU(3,\" registrazioneCPO.errorTelefono\"),t.qZA(),t.qZA(),t.qZA())}let kc=(()=>{class n{constructor(e,o,a,d,h,E){this.dialog=e,this.cpoService=o,this.formBuilder=a,this.authService=d,this.snackBar=h,this.translate=E,this.dataEmpCpo={},this.isLoading=!0,this.lang=b().get(\"lang\",{decrypt:!0}),e.disableClose=!0,this.addForm=this.formBuilder.group({ragioneSociale:[,[l.kI.required]],iva:[\"\",[l.kI.required,l.kI.minLength(7),l.kI.maxLength(11)]],sede:[\"\",[l.kI.required]],codiceSdi:[\"\",[l.kI.required,l.kI.minLength(7),l.kI.maxLength(7)]],pec:[\"\",[l.kI.required,l.kI.email]],email:[\"\",[l.kI.required,l.kI.email]],telefono:[\"\",[l.kI.required,l.kI.minLength(10),l.kI.maxLength(10)]]})}ngOnInit(){return(0,C.mG)(this,void 0,void 0,function*(){this.name=this.authService.user.username,this.addForm.get(\"codiceSdi\").valueChanges.pipe((0,Ec.x)()).subscribe(()=>{this.addForm.get(\"codiceSdi\").valid&&\"\"!=this.addForm.get(\"codiceSdi\").value?(this.addForm.get(\"pec\").clearValidators(),this.addForm.get(\"pec\").updateValueAndValidity()):(this.addForm.controls.pec.setValidators([l.kI.required,l.kI.email]),this.addForm.controls.pec.updateValueAndValidity())}),this.addForm.get(\"pec\").valueChanges.pipe((0,Ec.x)()).subscribe(()=>{this.addForm.get(\"pec\").valid&&\"\"!=this.addForm.get(\"pec\").value?(this.addForm.controls.codiceSdi.clearValidators(),this.addForm.controls.codiceSdi.updateValueAndValidity()):(this.addForm.controls.codiceSdi.setValidators([l.kI.required,l.kI.minLength(7),l.kI.maxLength(7)]),this.addForm.controls.codiceSdi.updateValueAndValidity())}),this.loadCpo().then(()=>this.isLoading=!1)})}loadCpo(){return(0,C.mG)(this,void 0,void 0,function*(){this.dataEmpCpo=yield this.cpoService.getMyCpoById(b().get(\"cpo\",{decrypt:!0})).toPromise()})}add(e){return(0,C.mG)(this,void 0,void 0,function*(){if(this.addForm.valid){this.dataEmpCpo.ragioneSociale=e.ragioneSociale,this.dataEmpCpo.iva=e.iva,this.dataEmpCpo.address=e.address,this.dataEmpCpo.codiceSdi=e.codiceSdi,this.dataEmpCpo.pec=e.pec,this.dataEmpCpo.email=e.email,this.dataEmpCpo.telefono=\"+39\"+e.telefono,this.dataEmpCpo.cpo.dipendenti=[];const o=this.translate.instant(\"reg_eff\"),a=\"Ok\";this.cpoService.confirmCpo(this.dataEmpCpo.id,this.dataEmpCpo).toPromise().then(()=>{this.snackBar.open(o,a,{}).onAction().subscribe(()=>{this.dialog.close(),this.authService.logout()})})}})}}return n.\\u0275fac=function(e){return new(e||n)(t.Y36(O.so),t.Y36(ut.j),t.Y36(l.qu),t.Y36(F.e),t.Y36(he.ux),t.Y36(U.sK))},n.\\u0275cmp=t.Xpm({type:n,selectors:[[\"app-registrazione-cpo\"]],decls:94,vars:25,consts:[[2,\"width\",\"35rem\",\"height\",\"40rem\",\"text-align\",\"center\"],[\"alt\",\"immagine bianca\",\"src\",\"../../../assets/whitelabel/beagleplug/management/BeaglePlug_bianco.png\",\"height\",\"80\"],[\"translate\",\"\"],[2,\"color\",\"rgb(16, 106, 106)\"],[2,\"color\",\"rgb(154, 139, 139)\"],[3,\"formGroup\"],[2,\"display\",\"grid\",\"grid-template-columns\",\"auto auto\",\"grid-gap\",\"50px\"],[1,\"gridCol\"],[\"appearance\",\"fill\"],[\"matInput\",\"\",\"formControlName\",\"ragioneSociale\",\"required\",\"\",3,\"placeholder\"],[4,\"ngIf\"],[\"matInput\",\"\",\"formControlName\",\"iva\",\"required\",\"\",3,\"placeholder\"],[\"matInput\",\"\",\"formControlName\",\"sede\",\"required\",\"\",3,\"placeholder\"],[\"matInput\",\"\",\"formControlName\",\"codiceSdi\",3,\"placeholder\"],[\"matInput\",\"\",\"formControlName\",\"pec\",\"placeholder\",\"PEC\"],[\"matInput\",\"\",\"formControlName\",\"email\",\"placeholder\",\"Email\",\"required\",\"\"],[\"matInput\",\"\",\"formControlName\",\"telefono\",\"required\",\"\",3,\"placeholder\"],[\"mat-raised-button\",\"\",2,\"background-color\",\"black\",\"color\",\"red\",\"width\",\"12rem\",\"height\",\"3rem\",3,\"disabled\",\"click\"]],template:function(e,o){1&e&&(t.TgZ(0,\"div\",0),t._UZ(1,\"img\",1),t.TgZ(2,\"h1\",2),t._uU(3,\" registrazioneCPO.title \"),t.TgZ(4,\"a\",3),t._uU(5),t.qZA(),t._UZ(6,\"br\"),t.TgZ(7,\"small\",4),t.TgZ(8,\"span\",2),t._uU(9,\"registrazioneCPO.compila\"),t.qZA(),t.qZA(),t.qZA(),t.TgZ(10,\"small\"),t.TgZ(11,\"span\",2),t._uU(12,\"registrazioneCPO.pec\"),t.qZA(),t.qZA(),t.TgZ(13,\"form\",5),t.TgZ(14,\"div\",6),t.TgZ(15,\"div\",7),t.TgZ(16,\"mat-form-field\",8),t._UZ(17,\"input\",9),t.ALo(18,\"translate\"),t.qZA(),t._UZ(19,\"br\"),t.YNc(20,Kp,2,0,\"mat-error\",10),t._UZ(21,\"br\"),t._UZ(22,\"br\"),t.TgZ(23,\"mat-form-field\",8),t.TgZ(24,\"mat-label\"),t.TgZ(25,\"span\",2),t._uU(26,\" registrazioneCPO.pIva\"),t.qZA(),t.TgZ(27,\"small\"),t._uU(28,\"(11 \"),t.TgZ(29,\"span\",2),t._uU(30,\"registrazioneCPO.caratteri\"),t.qZA(),t._uU(31,\")\"),t.qZA(),t.qZA(),t._UZ(32,\"input\",11),t.ALo(33,\"translate\"),t.qZA(),t._UZ(34,\"br\"),t.YNc(35,td,2,1,\"div\",10),t._UZ(36,\"br\"),t._UZ(37,\"br\"),t.TgZ(38,\"mat-form-field\",8),t.TgZ(39,\"mat-label\"),t.TgZ(40,\"span\",2),t._uU(41,\" registrazioneCPO.sede\"),t.qZA(),t.qZA(),t._UZ(42,\"input\",12),t.ALo(43,\"translate\"),t.qZA(),t._UZ(44,\"br\"),t.YNc(45,ed,4,0,\"span\",10),t._UZ(46,\"br\"),t._UZ(47,\"br\"),t.TgZ(48,\"mat-form-field\",8),t.TgZ(49,\"mat-label\"),t.TgZ(50,\"span\",2),t._uU(51,\" registrazioneCPO.sdi\"),t.qZA(),t.TgZ(52,\"small\"),t._uU(53,\"(7\"),t.TgZ(54,\"span\",2),t._uU(55,\"registrazioneCPO.caratteri\"),t.qZA(),t._uU(56,\")\"),t.qZA(),t.qZA(),t._UZ(57,\"input\",13),t.ALo(58,\"translate\"),t.qZA(),t._UZ(59,\"br\"),t.YNc(60,nd,4,0,\"span\",10),t._UZ(61,\"br\"),t._UZ(62,\"br\"),t.qZA(),t.TgZ(63,\"div\",7),t.TgZ(64,\"mat-form-field\",8),t.TgZ(65,\"mat-label\"),t.TgZ(66,\"span\",2),t._uU(67,\" registrazioneCPO.pecInsert\"),t.qZA(),t.qZA(),t._UZ(68,\"input\",14),t.qZA(),t._UZ(69,\"br\"),t.YNc(70,od,4,0,\"span\",10),t._UZ(71,\"br\"),t._UZ(72,\"br\"),t.TgZ(73,\"mat-form-field\",8),t.TgZ(74,\"mat-label\"),t._uU(75,\"Email\"),t.qZA(),t._UZ(76,\"input\",15),t.qZA(),t._UZ(77,\"br\"),t.YNc(78,id,4,0,\"span\",10),t._UZ(79,\"br\"),t._UZ(80,\"br\"),t.TgZ(81,\"mat-form-field\",8),t.TgZ(82,\"mat-error\"),t.TgZ(83,\"span\",2),t._uU(84,\" registrazioneCPO.telefono\"),t.qZA(),t.qZA(),t._UZ(85,\"input\",16),t.ALo(86,\"translate\"),t.qZA(),t._UZ(87,\"br\"),t.YNc(88,ad,4,0,\"span\",10),t._UZ(89,\"br\"),t._UZ(90,\"br\"),t.TgZ(91,\"button\",17),t.NdJ(\"click\",function(){return o.add(o.addForm.value)}),t.TgZ(92,\"span\",2),t._uU(93,\" registrazioneCPO.chiudi\"),t.qZA(),t.qZA(),t.qZA(),t.qZA(),t.qZA(),t.qZA()),2&e&&(t.xp6(5),t.Oqu(o.name),t.xp6(8),t.Q6J(\"formGroup\",o.addForm),t.xp6(4),t.Q6J(\"placeholder\",t.lcZ(18,15,\"registrazioneCPO.ragionePlaceholder\")),t.xp6(3),t.Q6J(\"ngIf\",o.addForm.get(\"ragioneSociale\").touched&&o.addForm.get(\"ragioneSociale\").invalid),t.xp6(12),t.Q6J(\"placeholder\",t.lcZ(33,17,\"registrazioneCPO.pIvaPlaceholder\")),t.xp6(3),t.Q6J(\"ngIf\",o.addForm.get(\"iva\").errors),t.xp6(7),t.Q6J(\"placeholder\",t.lcZ(43,19,\"registrazioneCPO.sedePlaceholder\")),t.xp6(3),t.Q6J(\"ngIf\",o.addForm.get(\"sede\").touched&&o.addForm.get(\"sede\").invalid),t.xp6(12),t.Q6J(\"placeholder\",t.lcZ(58,21,\"registrazioneCPO.sdiPlaceholder\")),t.xp6(3),t.Q6J(\"ngIf\",o.addForm.get(\"codiceSdi\").touched&&o.addForm.get(\"codiceSdi\").invalid),t.xp6(10),t.Q6J(\"ngIf\",o.addForm.get(\"pec\").invalid&&o.addForm.get(\"pec\").touched),t.xp6(8),t.Q6J(\"ngIf\",o.addForm.get(\"email\").touched&&o.addForm.get(\"email\").invalid),t.xp6(7),t.Q6J(\"placeholder\",t.lcZ(86,23,\"registrazioneCPO.telefonoPlaceholder\")),t.xp6(3),t.Q6J(\"ngIf\",o.addForm.get(\"telefono\").touched&&o.addForm.get(\"telefono\").invalid),t.xp6(3),t.Q6J(\"disabled\",o.addForm.invalid))},directives:[U.Pi,l._Y,l.JL,l.sg,_t.KE,Nt.Nt,l.Fj,l.JJ,l.u,l.Q7,v.O5,_t.hX,_t.TO,z.lW],pipes:[U.X$],styles:[\"\"]}),n})();var ae=c(76627),zt=c(72458);const rd=[\"checkboxPermBase\"],sd=[\"checkboxMonitor\"],ld=[\"checkboxEaseFleet\"],cd=[\"checkboxEaseAsset\"],pd=[\"checkboxSmartCharging\"],dd=[\"checkboxEaseBilling\"],gd=[\"checkboxEaseApp\"],md=[\"checkboxEaseRoaming\"],ud=[\"checkboxEasePayment\"];function _d(n,s){1&n&&t._UZ(0,\"app-loading-screen\")}function hd(n,s){1&n&&(t.TgZ(0,\"mat-error\"),t._uU(1),t.ALo(2,\"translate\"),t.qZA()),2&n&&(t.xp6(1),t.Oqu(t.lcZ(2,1,\"ins_user\")))}function fd(n,s){1&n&&(t.TgZ(0,\"mat-error\"),t._uU(1),t.ALo(2,\"translate\"),t.qZA()),2&n&&(t.xp6(1),t.Oqu(t.lcZ(2,1,\"ins_nome\")))}function Zd(n,s){1&n&&(t.TgZ(0,\"mat-error\"),t._uU(1),t.ALo(2,\"translate\"),t.qZA()),2&n&&(t.xp6(1),t.Oqu(t.lcZ(2,1,\"ins_cognome\")))}function Cd(n,s){1&n&&(t.TgZ(0,\"mat-error\"),t._uU(1),t.ALo(2,\"translate\"),t.qZA()),2&n&&(t.xp6(1),t.Oqu(t.lcZ(2,1,\"ins_email\")))}function vd(n,s){1&n&&(t.TgZ(0,\"mat-error\"),t._uU(1),t.ALo(2,\"translate\"),t.qZA()),2&n&&(t.xp6(1),t.Oqu(t.lcZ(2,1,\"ins_pass\")))}function bd(n,s){1&n&&(t.TgZ(0,\"mat-error\"),t._uU(1),t.ALo(2,\"translate\"),t.qZA()),2&n&&(t.xp6(1),t.Oqu(t.lcZ(2,1,\"ins_dinuovo_psw\")))}const re=function(n){return{animate__backInRight:n}},St=function(n){return{disabled:n}};function Ad(n,s){if(1&n){const e=t.EpF();t.TgZ(0,\"div\",9),t.TgZ(1,\"div\",10),t.TgZ(2,\"div\",11),t.TgZ(3,\"div\",12),t.TgZ(4,\"h4\",13),t._uU(5),t.ALo(6,\"translate\"),t.qZA(),t.qZA(),t.TgZ(7,\"div\",14),t.TgZ(8,\"form\",15),t.TgZ(9,\"div\",16),t._UZ(10,\"i\",17),t._UZ(11,\"br\"),t.TgZ(12,\"mat-form-field\",18),t.TgZ(13,\"mat-label\"),t._uU(14),t.ALo(15,\"translate\"),t.qZA(),t._UZ(16,\"input\",19),t.YNc(17,hd,3,3,\"mat-error\",20),t.qZA(),t.qZA(),t.TgZ(18,\"div\",21),t.TgZ(19,\"div\",16),t._UZ(20,\"i\",22),t._UZ(21,\"br\"),t.TgZ(22,\"mat-form-field\",18),t.TgZ(23,\"mat-label\"),t._uU(24),t.ALo(25,\"translate\"),t.qZA(),t._UZ(26,\"input\",23),t.YNc(27,fd,3,3,\"mat-error\",20),t.qZA(),t.qZA(),t.TgZ(28,\"div\",16),t._UZ(29,\"i\",22),t._UZ(30,\"br\"),t.TgZ(31,\"mat-form-field\",18),t.TgZ(32,\"mat-label\"),t._uU(33),t.ALo(34,\"translate\"),t.qZA(),t._UZ(35,\"input\",24),t.YNc(36,Zd,3,3,\"mat-error\",20),t.qZA(),t.qZA(),t.TgZ(37,\"div\",16),t._UZ(38,\"i\",25),t._UZ(39,\"br\"),t.TgZ(40,\"mat-form-field\",18),t.TgZ(41,\"mat-label\"),t._uU(42),t.ALo(43,\"translate\"),t.qZA(),t._UZ(44,\"input\",26),t.qZA(),t.qZA(),t.TgZ(45,\"div\",16),t._UZ(46,\"i\",27),t._UZ(47,\"br\"),t.TgZ(48,\"mat-form-field\",18),t.TgZ(49,\"mat-label\"),t._uU(50),t.ALo(51,\"translate\"),t.qZA(),t._UZ(52,\"input\",28),t.YNc(53,Cd,3,3,\"mat-error\",20),t.qZA(),t.qZA(),t.TgZ(54,\"div\",16),t._UZ(55,\"i\",29),t._UZ(56,\"br\"),t.TgZ(57,\"mat-form-field\",30),t.TgZ(58,\"mat-label\"),t._uU(59),t.ALo(60,\"translate\"),t.qZA(),t._UZ(61,\"input\",31),t.TgZ(62,\"mat-icon\",32),t.NdJ(\"click\",function(){t.CHM(e);const a=t.oxw(2);return a.hide1=!a.hide1}),t._uU(63),t.qZA(),t.YNc(64,vd,3,3,\"mat-error\",20),t.qZA(),t.qZA(),t.TgZ(65,\"div\",16),t._UZ(66,\"i\",29),t._UZ(67,\"br\"),t.TgZ(68,\"mat-form-field\",30),t.TgZ(69,\"mat-label\"),t._uU(70),t.ALo(71,\"translate\"),t.qZA(),t._UZ(72,\"input\",33),t.TgZ(73,\"mat-icon\",32),t.NdJ(\"click\",function(){t.CHM(e);const a=t.oxw(2);return a.hide2=!a.hide2}),t._uU(74),t.qZA(),t.YNc(75,bd,3,3,\"mat-error\",20),t.qZA(),t.qZA(),t.qZA(),t.TgZ(76,\"div\",16),t.TgZ(77,\"div\",34),t.TgZ(78,\"mat-label\"),t._uU(79),t.ALo(80,\"translate\"),t.qZA(),t._UZ(81,\"div\",35),t._UZ(82,\"input\",36),t.qZA(),t.qZA(),t.qZA(),t.TgZ(83,\"div\",37),t.TgZ(84,\"button\",38),t.NdJ(\"click\",function(){return t.CHM(e),t.oxw(2).next()}),t.TgZ(85,\"span\",39),t._uU(86),t.ALo(87,\"translate\"),t.qZA(),t.TgZ(88,\"div\",40),t._UZ(89,\"div\",41),t.qZA(),t.qZA(),t.qZA(),t.qZA(),t.qZA(),t.qZA(),t.TgZ(90,\"div\",42),t.TgZ(91,\"div\",43),t.TgZ(92,\"div\",12),t.TgZ(93,\"h4\",13),t._uU(94),t.ALo(95,\"translate\"),t.qZA(),t.qZA(),t.TgZ(96,\"div\",44),t.TgZ(97,\"div\",16),t.TgZ(98,\"mat-form-field\",45),t.TgZ(99,\"mat-label\"),t._uU(100),t.ALo(101,\"translate\"),t.qZA(),t.TgZ(102,\"mat-select\",46),t.TgZ(103,\"mat-option\",47),t.NdJ(\"click\",function(){return t.CHM(e),t.oxw(2).profilo(\"All\")}),t._uU(104),t.ALo(105,\"translate\"),t.qZA(),t.TgZ(106,\"mat-option\",47),t.NdJ(\"click\",function(){return t.CHM(e),t.oxw(2).profilo(\"Nessuno\")}),t._uU(107),t.ALo(108,\"translate\"),t.qZA(),t.qZA(),t.qZA(),t.qZA(),t.qZA(),t.qZA(),t.qZA(),t.TgZ(109,\"div\",48),t.TgZ(110,\"div\",43),t.TgZ(111,\"div\",12),t.TgZ(112,\"h4\",13),t._uU(113),t.ALo(114,\"translate\"),t.qZA(),t.TgZ(115,\"div\",49),t.TgZ(116,\"label\",50),t.TgZ(117,\"input\",51,52),t.NdJ(\"click\",function(){return t.CHM(e),t.oxw(2).check(\"PermBase\")}),t.qZA(),t._UZ(119,\"span\",53),t.qZA(),t.qZA(),t.qZA(),t.TgZ(120,\"div\",44),t.TgZ(121,\"form\",15),t.TgZ(122,\"table\",54),t.TgZ(123,\"caption\"),t._uU(124),t.ALo(125,\"translate\"),t.qZA(),t.TgZ(126,\"thead\"),t.TgZ(127,\"tr\"),t.TgZ(128,\"th\"),t._uU(129),t.ALo(130,\"translate\"),t.qZA(),t.TgZ(131,\"th\",55),t._uU(132),t.ALo(133,\"translate\"),t.qZA(),t.TgZ(134,\"th\",55),t._uU(135),t.ALo(136,\"translate\"),t.qZA(),t.TgZ(137,\"th\",55),t._uU(138),t.ALo(139,\"translate\"),t._UZ(140,\"br\"),t._uU(141,\"&\"),t._UZ(142,\"br\"),t._uU(143),t.ALo(144,\"translate\"),t.qZA(),t.qZA(),t.qZA(),t.TgZ(145,\"tbody\"),t.TgZ(146,\"tr\"),t.TgZ(147,\"td\"),t._uU(148),t.ALo(149,\"translate\"),t.qZA(),t.TgZ(150,\"td\"),t.TgZ(151,\"label\",56),t._UZ(152,\"input\",57),t._UZ(153,\"span\",58),t.qZA(),t.qZA(),t.TgZ(154,\"td\"),t.TgZ(155,\"label\",56),t._UZ(156,\"input\",59),t._UZ(157,\"span\",58),t.qZA(),t.qZA(),t._UZ(158,\"td\"),t.qZA(),t.TgZ(159,\"tr\"),t.TgZ(160,\"td\"),t._uU(161),t.ALo(162,\"translate\"),t.qZA(),t.TgZ(163,\"td\"),t.TgZ(164,\"label\",56),t._UZ(165,\"input\",60),t._UZ(166,\"span\",58),t.qZA(),t.qZA(),t.TgZ(167,\"td\"),t.TgZ(168,\"label\",56),t._UZ(169,\"input\",61),t._UZ(170,\"span\",58),t.qZA(),t.qZA(),t._UZ(171,\"td\"),t.qZA(),t.TgZ(172,\"tr\"),t.TgZ(173,\"td\"),t._uU(174),t.ALo(175,\"translate\"),t.qZA(),t.TgZ(176,\"td\"),t.TgZ(177,\"label\",56),t._UZ(178,\"input\",62),t._UZ(179,\"span\",58),t.qZA(),t.qZA(),t.TgZ(180,\"td\"),t.TgZ(181,\"label\",56),t._UZ(182,\"input\",63),t._UZ(183,\"span\",58),t.qZA(),t.qZA(),t.TgZ(184,\"td\"),t.TgZ(185,\"label\",56),t._UZ(186,\"input\",64),t._UZ(187,\"span\",58),t.qZA(),t.qZA(),t.qZA(),t.qZA(),t.qZA(),t.qZA(),t.qZA(),t.qZA(),t.qZA(),t.qZA()}if(2&n){const e=t.oxw(2);t.Q6J(\"ngClass\",t.VKq(89,re,e.needAnimation(0))),t.xp6(5),t.Oqu(t.lcZ(6,41,\"dati_utente\")),t.xp6(3),t.Q6J(\"formGroup\",e.cpoUserForm),t.xp6(6),t.Oqu(t.lcZ(15,43,\"username\")),t.xp6(3),t.Q6J(\"ngIf\",e.cpoUserForm.get(\"user\").touched&&e.cpoUserForm.get(\"user\").invalid),t.xp6(7),t.Oqu(t.lcZ(25,45,\"nome\")),t.xp6(3),t.Q6J(\"ngIf\",e.cpoUserForm.get(\"name\").touched&&e.cpoUserForm.get(\"name\").invalid),t.xp6(6),t.Oqu(t.lcZ(34,47,\"cognome\")),t.xp6(3),t.Q6J(\"ngIf\",e.cpoUserForm.get(\"surname\").touched&&e.cpoUserForm.get(\"surname\").invalid),t.xp6(6),t.Oqu(t.lcZ(43,49,\"telefono\")),t.xp6(8),t.Oqu(t.lcZ(51,51,\"email\")),t.xp6(3),t.Q6J(\"ngIf\",e.cpoUserForm.get(\"email\").touched&&e.cpoUserForm.get(\"email\").invalid),t.xp6(4),t.Q6J(\"formGroup\",e.cpoUserForm),t.xp6(2),t.Oqu(t.lcZ(60,53,\"password\")),t.xp6(2),t.Q6J(\"type\",e.hide1?\"password\":\"text\"),t.xp6(2),t.Oqu(e.hide1?\"visibility_off\":\"visibility\"),t.xp6(1),t.Q6J(\"ngIf\",e.cpoUserForm.get(\"password1\").touched&&e.cpoUserForm.get(\"password1\").invalid),t.xp6(4),t.Q6J(\"formGroup\",e.cpoUserForm),t.xp6(2),t.Oqu(t.lcZ(71,55,\"verifica_psw\")),t.xp6(2),t.Q6J(\"type\",e.hide2?\"password\":\"text\"),t.xp6(2),t.Oqu(e.hide2?\"visibility_off\":\"visibility\"),t.xp6(1),t.Q6J(\"ngIf\",e.cpoUserForm.get(\"password2\").touched&&e.cpoUserForm.get(\"password2\").invalid),t.xp6(4),t.Oqu(t.lcZ(80,57,\"sub_operator\")),t.xp6(7),t.Oqu(t.lcZ(87,59,\"prosegui\")),t.xp6(8),t.Oqu(t.lcZ(95,61,\"pre_set\")),t.xp6(6),t.Oqu(t.lcZ(101,63,\"profilo\")),t.xp6(4),t.Oqu(t.lcZ(105,65,\"tutto_abilitato\")),t.xp6(3),t.Oqu(t.lcZ(108,67,\"nessun_perm\")),t.xp6(6),t.Oqu(t.lcZ(114,69,\"perm_base\")),t.xp6(4),t.Q6J(\"checked\",e.PermBase),t.xp6(4),t.Q6J(\"formGroup\",e.permissionBaseForm),t.xp6(1),t.Q6J(\"ngClass\",t.VKq(91,St,!e.PermBase)),t.xp6(2),t.Oqu(t.lcZ(125,71,\"perm_base\")),t.xp6(5),t.Oqu(t.lcZ(130,73,\"permessi\")),t.xp6(3),t.Oqu(t.lcZ(133,75,\"disabilita\")),t.xp6(3),t.Oqu(t.lcZ(136,77,\"visual\")),t.xp6(3),t.Oqu(t.lcZ(139,79,\"visual\")),t.xp6(5),t.Oqu(t.lcZ(144,81,\"modifica\")),t.xp6(5),t.Oqu(t.lcZ(149,83,\"home\")),t.xp6(13),t.Oqu(t.lcZ(162,85,\"bus_int\")),t.xp6(13),t.Oqu(t.lcZ(175,87,\"crea_oper\"))}}function xd(n,s){1&n&&(t.TgZ(0,\"tr\"),t.TgZ(1,\"td\"),t._uU(2),t.ALo(3,\"translate\"),t.qZA(),t.TgZ(4,\"td\"),t.TgZ(5,\"label\",56),t._UZ(6,\"input\",57),t._UZ(7,\"span\",58),t.qZA(),t.qZA(),t.TgZ(8,\"td\"),t.TgZ(9,\"label\",56),t._UZ(10,\"input\",59),t._UZ(11,\"span\",58),t.qZA(),t.qZA(),t._UZ(12,\"td\"),t.qZA()),2&n&&(t.xp6(2),t.Oqu(t.lcZ(3,1,\"home\")))}function Td(n,s){1&n&&(t.TgZ(0,\"tr\"),t.TgZ(1,\"td\"),t._uU(2),t.ALo(3,\"translate\"),t.qZA(),t.TgZ(4,\"td\"),t.TgZ(5,\"label\",56),t._UZ(6,\"input\",60),t._UZ(7,\"span\",58),t.qZA(),t.qZA(),t.TgZ(8,\"td\"),t.TgZ(9,\"label\",56),t._UZ(10,\"input\",61),t._UZ(11,\"span\",58),t.qZA(),t.qZA(),t.TgZ(12,\"td\"),t.TgZ(13,\"label\",56),t._UZ(14,\"input\",71),t._UZ(15,\"span\",58),t.qZA(),t.qZA(),t.qZA()),2&n&&(t.xp6(2),t.Oqu(t.lcZ(3,1,\"bus_int\")))}function Pd(n,s){1&n&&(t.TgZ(0,\"tr\"),t.TgZ(1,\"td\"),t._uU(2),t.ALo(3,\"translate\"),t.qZA(),t.TgZ(4,\"td\"),t.TgZ(5,\"label\",56),t._UZ(6,\"input\",62),t._UZ(7,\"span\",58),t.qZA(),t.qZA(),t.TgZ(8,\"td\"),t.TgZ(9,\"label\",56),t._UZ(10,\"input\",63),t._UZ(11,\"span\",58),t.qZA(),t.qZA(),t.TgZ(12,\"td\"),t.TgZ(13,\"label\",56),t._UZ(14,\"input\",64),t._UZ(15,\"span\",58),t.qZA(),t.qZA(),t.qZA()),2&n&&(t.xp6(2),t.Oqu(t.lcZ(3,1,\"crea_oper\")))}function Od(n,s){if(1&n){const e=t.EpF();t.TgZ(0,\"div\",72),t._UZ(1,\"div\"),t.TgZ(2,\"button\",73),t.NdJ(\"click\",function(){return t.CHM(e),t.oxw(3).next()}),t._uU(3),t.ALo(4,\"translate\"),t.TgZ(5,\"div\",40),t._UZ(6,\"div\",41),t.qZA(),t.qZA(),t.qZA()}2&n&&(t.xp6(3),t.hij(\" \",t.lcZ(4,1,\"prosegui\"),\" \"))}function yd(n,s){if(1&n){const e=t.EpF();t.TgZ(0,\"div\",74),t.TgZ(1,\"button\",75),t.NdJ(\"click\",function(){return t.CHM(e),t.oxw(3).crea()}),t._uU(2),t.ALo(3,\"translate\"),t.qZA(),t.qZA()}2&n&&(t.xp6(2),t.hij(\" \",t.lcZ(3,1,\"conferma\"),\" \"))}function qd(n,s){if(1&n){const e=t.EpF();t.TgZ(0,\"div\",65),t.TgZ(1,\"div\"),t.TgZ(2,\"p\",66),t._uU(3),t.ALo(4,\"translate\"),t.qZA(),t.qZA(),t.TgZ(5,\"div\",48),t.TgZ(6,\"div\",43),t.TgZ(7,\"div\",12),t.TgZ(8,\"h4\",13),t._uU(9),t.ALo(10,\"translate\"),t.qZA(),t.TgZ(11,\"div\",49),t.TgZ(12,\"label\",50),t.TgZ(13,\"input\",51,52),t.NdJ(\"click\",function(){return t.CHM(e),t.oxw(2).check(\"PermBase\")}),t.qZA(),t._UZ(15,\"span\",53),t.qZA(),t.qZA(),t.qZA(),t.TgZ(16,\"div\",44),t.TgZ(17,\"form\",15),t.TgZ(18,\"table\",54),t.TgZ(19,\"thead\"),t.TgZ(20,\"tr\"),t.TgZ(21,\"th\"),t._uU(22),t.ALo(23,\"translate\"),t.qZA(),t.TgZ(24,\"th\",55),t._uU(25),t.ALo(26,\"translate\"),t.qZA(),t.TgZ(27,\"th\",55),t._uU(28),t.ALo(29,\"translate\"),t.qZA(),t.TgZ(30,\"th\",55),t._uU(31),t.ALo(32,\"translate\"),t._UZ(33,\"br\"),t._uU(34,\"&\"),t._UZ(35,\"br\"),t._uU(36),t.ALo(37,\"translate\"),t.qZA(),t.qZA(),t.qZA(),t.TgZ(38,\"tbody\"),t.YNc(39,xd,13,3,\"tr\",20),t.YNc(40,Td,16,3,\"tr\",20),t.YNc(41,Pd,16,3,\"tr\",20),t.qZA(),t.qZA(),t.qZA(),t.qZA(),t.qZA(),t.qZA(),t.TgZ(42,\"div\",67),t.TgZ(43,\"div\"),t.TgZ(44,\"button\",68),t.NdJ(\"click\",function(){return t.CHM(e),t.oxw(2).rewindOperator()}),t._uU(45),t.ALo(46,\"translate\"),t.TgZ(47,\"div\",40),t._UZ(48,\"div\",41),t.qZA(),t.qZA(),t.qZA(),t.YNc(49,Od,7,3,\"div\",69),t.YNc(50,yd,4,3,\"div\",70),t.qZA(),t.qZA()}if(2&n){const e=t.oxw(2);t.Q6J(\"ngClass\",t.VKq(33,re,e.needAnimation(0))),t.xp6(3),t.Oqu(t.lcZ(4,17,\"perm_base\")),t.xp6(6),t.Oqu(t.lcZ(10,19,\"perm_base\")),t.xp6(4),t.Q6J(\"checked\",e.PermBase),t.xp6(4),t.Q6J(\"formGroup\",e.permissionBaseForm),t.xp6(1),t.Q6J(\"ngClass\",t.VKq(35,St,!e.PermBase)),t.xp6(4),t.Oqu(t.lcZ(23,21,\"permessi\")),t.xp6(3),t.Oqu(t.lcZ(26,23,\"disabilita\")),t.xp6(3),t.Oqu(t.lcZ(29,25,\"visual\")),t.xp6(3),t.Oqu(t.lcZ(32,27,\"visual\")),t.xp6(5),t.Oqu(t.lcZ(37,29,\"modifica\")),t.xp6(3),t.Q6J(\"ngIf\",e.isAdmin()||e.dataEmpCpoLocal.basePermissions.dashboard.enabled),t.xp6(1),t.Q6J(\"ngIf\",e.isAdmin()||e.dataEmpCpoLocal.basePermissions.bi.enabled),t.xp6(1),t.Q6J(\"ngIf\",e.isAdmin()||e.dataEmpCpoLocal.basePermissions.operatorManagement.enabled),t.xp6(4),t.hij(\" \",t.lcZ(46,31,\"ind\"),\" \"),t.xp6(4),t.Q6J(\"ngIf\",e.permessiEMP||e.permessiCPO),t.xp6(1),t.Q6J(\"ngIf\",!e.permessiEMP&&!e.permessiCPO)}}function Md(n,s){1&n&&(t.TgZ(0,\"tr\"),t.TgZ(1,\"td\"),t._uU(2),t.ALo(3,\"translate\"),t.qZA(),t.TgZ(4,\"td\"),t.TgZ(5,\"label\",56),t._UZ(6,\"input\",114),t._UZ(7,\"span\",58),t.qZA(),t.qZA(),t.TgZ(8,\"td\"),t.TgZ(9,\"label\",56),t._UZ(10,\"input\",115),t._UZ(11,\"span\",58),t.qZA(),t.qZA(),t.TgZ(12,\"td\"),t.TgZ(13,\"label\",56),t._UZ(14,\"input\",116),t._UZ(15,\"span\",58),t.qZA(),t.qZA(),t.qZA()),2&n&&(t.xp6(2),t.Oqu(t.lcZ(3,1,\"coupon\")))}function wd(n,s){1&n&&(t.TgZ(0,\"tr\"),t.TgZ(1,\"td\"),t._uU(2),t.ALo(3,\"translate\"),t.qZA(),t.TgZ(4,\"td\"),t.TgZ(5,\"label\",56),t._UZ(6,\"input\",117),t._UZ(7,\"span\",58),t.qZA(),t.qZA(),t.TgZ(8,\"td\"),t.TgZ(9,\"label\",56),t._UZ(10,\"input\",118),t._UZ(11,\"span\",58),t.qZA(),t.qZA(),t.TgZ(12,\"td\"),t.TgZ(13,\"label\",56),t._UZ(14,\"input\",119),t._UZ(15,\"span\",58),t.qZA(),t.qZA(),t.qZA()),2&n&&(t.xp6(2),t.Oqu(t.lcZ(3,1,\"mappa\")))}function Ed(n,s){1&n&&(t.TgZ(0,\"tr\"),t.TgZ(1,\"td\"),t._uU(2),t.ALo(3,\"translate\"),t.qZA(),t.TgZ(4,\"td\"),t.TgZ(5,\"label\",56),t._UZ(6,\"input\",120),t._UZ(7,\"span\",58),t.qZA(),t.qZA(),t.TgZ(8,\"td\"),t.TgZ(9,\"label\",56),t._UZ(10,\"input\",121),t._UZ(11,\"span\",58),t.qZA(),t.qZA(),t.TgZ(12,\"td\"),t.TgZ(13,\"label\",56),t._UZ(14,\"input\",122),t._UZ(15,\"span\",58),t.qZA(),t.qZA(),t.qZA()),2&n&&(t.xp6(2),t.Oqu(t.lcZ(3,1,\"prodotto\")))}function kd(n,s){1&n&&(t.TgZ(0,\"tr\"),t.TgZ(1,\"td\"),t._uU(2),t.ALo(3,\"translate\"),t.qZA(),t.TgZ(4,\"td\"),t.TgZ(5,\"label\",56),t._UZ(6,\"input\",123),t._UZ(7,\"span\",58),t.qZA(),t.qZA(),t.TgZ(8,\"td\"),t.TgZ(9,\"label\",56),t._UZ(10,\"input\",124),t._UZ(11,\"span\",58),t.qZA(),t.qZA(),t.TgZ(12,\"td\"),t.TgZ(13,\"label\",56),t._UZ(14,\"input\",125),t._UZ(15,\"span\",58),t.qZA(),t.qZA(),t.qZA()),2&n&&(t.xp6(2),t.Oqu(t.lcZ(3,1,\"ricariche\")))}function Ud(n,s){1&n&&(t.TgZ(0,\"tr\"),t.TgZ(1,\"td\"),t._uU(2),t.ALo(3,\"translate\"),t.qZA(),t.TgZ(4,\"td\"),t.TgZ(5,\"label\",56),t._UZ(6,\"input\",126),t._UZ(7,\"span\",58),t.qZA(),t.qZA(),t.TgZ(8,\"td\"),t.TgZ(9,\"label\",56),t._UZ(10,\"input\",127),t._UZ(11,\"span\",58),t.qZA(),t.qZA(),t.TgZ(12,\"td\"),t.TgZ(13,\"label\",56),t._UZ(14,\"input\",128),t._UZ(15,\"span\",58),t.qZA(),t.qZA(),t.qZA()),2&n&&(t.xp6(2),t.Oqu(t.lcZ(3,1,\"pren\")))}function Id(n,s){1&n&&(t.TgZ(0,\"tr\"),t.TgZ(1,\"td\"),t._uU(2),t.ALo(3,\"translate\"),t.qZA(),t.TgZ(4,\"td\"),t.TgZ(5,\"label\",56),t._UZ(6,\"input\",129),t._UZ(7,\"span\",58),t.qZA(),t.qZA(),t.TgZ(8,\"td\"),t.TgZ(9,\"label\",56),t._UZ(10,\"input\",130),t._UZ(11,\"span\",58),t.qZA(),t.qZA(),t.TgZ(12,\"td\"),t.TgZ(13,\"label\",56),t._UZ(14,\"input\",131),t._UZ(15,\"span\",58),t.qZA(),t.qZA(),t.qZA()),2&n&&(t.xp6(2),t.Oqu(t.lcZ(3,1,\"rfidgroup\")))}function Nd(n,s){1&n&&(t.TgZ(0,\"tr\"),t.TgZ(1,\"td\"),t._uU(2),t.ALo(3,\"translate\"),t.qZA(),t.TgZ(4,\"td\"),t.TgZ(5,\"label\",56),t._UZ(6,\"input\",132),t._UZ(7,\"span\",58),t.qZA(),t.qZA(),t.TgZ(8,\"td\"),t.TgZ(9,\"label\",56),t._UZ(10,\"input\",133),t._UZ(11,\"span\",58),t.qZA(),t.qZA(),t.TgZ(12,\"td\"),t.TgZ(13,\"label\",56),t._UZ(14,\"input\",134),t._UZ(15,\"span\",58),t.qZA(),t.qZA(),t.qZA()),2&n&&(t.xp6(2),t.Oqu(t.lcZ(3,1,\"conf\")))}function Sd(n,s){1&n&&(t.TgZ(0,\"tr\"),t.TgZ(1,\"td\"),t._uU(2),t.ALo(3,\"translate\"),t.qZA(),t.TgZ(4,\"td\"),t.TgZ(5,\"label\",56),t._UZ(6,\"input\",135),t._UZ(7,\"span\",58),t.qZA(),t.qZA(),t.TgZ(8,\"td\"),t.TgZ(9,\"label\",56),t._UZ(10,\"input\",136),t._UZ(11,\"span\",58),t.qZA(),t.qZA(),t.TgZ(12,\"td\"),t.TgZ(13,\"label\",56),t._UZ(14,\"input\",137),t._UZ(15,\"span\",58),t.qZA(),t.qZA(),t.qZA()),2&n&&(t.xp6(2),t.Oqu(t.lcZ(3,1,\"set_charging\")))}function Ld(n,s){1&n&&(t.TgZ(0,\"tr\"),t.TgZ(1,\"td\"),t._uU(2),t.ALo(3,\"translate\"),t.qZA(),t.TgZ(4,\"td\"),t.TgZ(5,\"label\",56),t._UZ(6,\"input\",138),t._UZ(7,\"span\",58),t.qZA(),t.qZA(),t.TgZ(8,\"td\"),t.TgZ(9,\"label\",56),t._UZ(10,\"input\",139),t._UZ(11,\"span\",58),t.qZA(),t.qZA(),t.TgZ(12,\"td\"),t.TgZ(13,\"label\",56),t._UZ(14,\"input\",140),t._UZ(15,\"span\",58),t.qZA(),t.qZA(),t.qZA()),2&n&&(t.xp6(2),t.Oqu(t.lcZ(3,1,\"markup_interno\")))}function Dd(n,s){1&n&&(t.TgZ(0,\"tr\"),t.TgZ(1,\"td\"),t._uU(2),t.ALo(3,\"translate\"),t.qZA(),t.TgZ(4,\"td\"),t.TgZ(5,\"label\",56),t._UZ(6,\"input\",141),t._UZ(7,\"span\",58),t.qZA(),t.qZA(),t.TgZ(8,\"td\"),t.TgZ(9,\"label\",56),t._UZ(10,\"input\",142),t._UZ(11,\"span\",58),t.qZA(),t.qZA(),t.TgZ(12,\"td\"),t.TgZ(13,\"label\",56),t._UZ(14,\"input\",143),t._UZ(15,\"span\",58),t.qZA(),t.qZA(),t.qZA()),2&n&&(t.xp6(2),t.Oqu(t.lcZ(3,1,\"modifyChargepoint\")))}function Rd(n,s){1&n&&(t.TgZ(0,\"tr\"),t.TgZ(1,\"td\"),t._uU(2),t.ALo(3,\"translate\"),t.qZA(),t.TgZ(4,\"td\"),t.TgZ(5,\"label\",56),t._UZ(6,\"input\",144),t._UZ(7,\"span\",58),t.qZA(),t.qZA(),t.TgZ(8,\"td\"),t.TgZ(9,\"label\",56),t._UZ(10,\"input\",145),t._UZ(11,\"span\",58),t.qZA(),t.qZA(),t.TgZ(12,\"td\"),t.TgZ(13,\"label\",56),t._UZ(14,\"input\",146),t._UZ(15,\"span\",58),t.qZA(),t.qZA(),t.qZA()),2&n&&(t.xp6(2),t.Oqu(t.lcZ(3,1,\"cp_operation\")))}function Fd(n,s){1&n&&(t.TgZ(0,\"td\"),t._uU(1),t.ALo(2,\"translate\"),t.qZA()),2&n&&(t.xp6(1),t.hij(\" \",t.lcZ(2,1,\"sub_cpo\"),\"\"))}function Gd(n,s){1&n&&(t.TgZ(0,\"td\"),t._uU(1),t.ALo(2,\"translate\"),t.qZA()),2&n&&(t.xp6(1),t.hij(\" \",t.lcZ(2,1,\"start_ricarica\"),\"\"))}function Jd(n,s){if(1&n){const e=t.EpF();t.TgZ(0,\"div\",102),t.TgZ(1,\"div\",43),t.TgZ(2,\"div\",12),t.TgZ(3,\"h4\",13),t._uU(4,\"EASE MONITOR\"),t.qZA(),t.TgZ(5,\"div\",49),t.TgZ(6,\"label\",50),t.TgZ(7,\"input\",51,103),t.NdJ(\"click\",function(){return t.CHM(e),t.oxw(3).check(\"SwitchMonitor\")}),t.qZA(),t._UZ(9,\"span\",53),t.qZA(),t.qZA(),t.qZA(),t.TgZ(10,\"div\",44),t.TgZ(11,\"form\",15),t.TgZ(12,\"table\",54),t.TgZ(13,\"thead\"),t.TgZ(14,\"tr\"),t.TgZ(15,\"th\"),t._uU(16),t.ALo(17,\"translate\"),t.qZA(),t.TgZ(18,\"th\",55),t._uU(19),t.ALo(20,\"translate\"),t.qZA(),t.TgZ(21,\"th\",55),t._uU(22),t.ALo(23,\"translate\"),t.qZA(),t.TgZ(24,\"th\",55),t._uU(25),t.ALo(26,\"translate\"),t._UZ(27,\"br\"),t._uU(28,\"&\"),t._UZ(29,\"br\"),t._uU(30),t.ALo(31,\"translate\"),t.qZA(),t.qZA(),t.qZA(),t.TgZ(32,\"tbody\"),t.TgZ(33,\"tr\"),t.TgZ(34,\"td\"),t._uU(35),t.ALo(36,\"translate\"),t.qZA(),t.TgZ(37,\"td\"),t.TgZ(38,\"label\",56),t._UZ(39,\"input\",104),t._UZ(40,\"span\",58),t.qZA(),t.qZA(),t.TgZ(41,\"td\"),t.TgZ(42,\"label\",56),t._UZ(43,\"input\",105),t._UZ(44,\"span\",58),t.qZA(),t.qZA(),t.TgZ(45,\"td\"),t.TgZ(46,\"label\",56),t._UZ(47,\"input\",106),t._UZ(48,\"span\",58),t.qZA(),t.qZA(),t.qZA(),t.YNc(49,Md,16,3,\"tr\",20),t.YNc(50,wd,16,3,\"tr\",20),t.YNc(51,Ed,16,3,\"tr\",20),t.YNc(52,kd,16,3,\"tr\",20),t.YNc(53,Ud,16,3,\"tr\",20),t.YNc(54,Id,16,3,\"tr\",20),t.YNc(55,Nd,16,3,\"tr\",20),t.YNc(56,Sd,16,3,\"tr\",20),t.YNc(57,Ld,16,3,\"tr\",20),t.YNc(58,Dd,16,3,\"tr\",20),t.YNc(59,Rd,16,3,\"tr\",20),t.TgZ(60,\"tr\"),t.YNc(61,Fd,3,3,\"td\",20),t.TgZ(62,\"td\"),t.TgZ(63,\"label\",56),t._UZ(64,\"input\",107),t._UZ(65,\"span\",58),t.qZA(),t.qZA(),t.TgZ(66,\"td\"),t.TgZ(67,\"label\",56),t._UZ(68,\"input\",108),t._UZ(69,\"span\",58),t.qZA(),t.qZA(),t.TgZ(70,\"td\"),t.TgZ(71,\"label\",56),t._UZ(72,\"input\",109),t._UZ(73,\"span\",58),t.qZA(),t.qZA(),t.qZA(),t.TgZ(74,\"tr\"),t.TgZ(75,\"td\"),t._uU(76),t.ALo(77,\"translate\"),t.qZA(),t.TgZ(78,\"td\"),t.TgZ(79,\"label\",56),t._UZ(80,\"input\",110),t._UZ(81,\"span\",58),t.qZA(),t.qZA(),t.TgZ(82,\"td\"),t.TgZ(83,\"label\",56),t._UZ(84,\"input\",111),t._UZ(85,\"span\",58),t.qZA(),t.qZA(),t.TgZ(86,\"td\"),t.TgZ(87,\"label\",56),t._UZ(88,\"input\",112),t._UZ(89,\"span\",58),t.qZA(),t.qZA(),t.qZA(),t.TgZ(90,\"tr\"),t.YNc(91,Gd,3,3,\"td\",20),t._UZ(92,\"td\"),t._UZ(93,\"td\"),t.TgZ(94,\"td\"),t.TgZ(95,\"label\",50),t._UZ(96,\"input\",113),t._UZ(97,\"span\",53),t.qZA(),t.qZA(),t.qZA(),t.qZA(),t.qZA(),t.qZA(),t.qZA(),t.qZA(),t.qZA()}if(2&n){const e=t.oxw(3);t.xp6(7),t.Q6J(\"checked\",e.SwitchMonitor),t.xp6(4),t.Q6J(\"formGroup\",e.permissionEaseMonitor),t.xp6(1),t.Q6J(\"ngClass\",t.VKq(37,St,!e.SwitchMonitor)),t.xp6(4),t.Oqu(t.lcZ(17,23,\"permessi\")),t.xp6(3),t.Oqu(t.lcZ(20,25,\"disabilita\")),t.xp6(3),t.Oqu(t.lcZ(23,27,\"visual\")),t.xp6(3),t.Oqu(t.lcZ(26,29,\"visual\")),t.xp6(5),t.Oqu(t.lcZ(31,31,\"modifica\")),t.xp6(5),t.Oqu(t.lcZ(36,33,\"staz\")),t.xp6(14),t.Q6J(\"ngIf\",e.isAdmin()||e.dataEmpCpoLocal.cpo.permissionCpo.chargepoint.coupon.enabled||e.dataEmpCpoLocal.permission.easeMonitor.coupon.enabled),t.xp6(1),t.Q6J(\"ngIf\",e.isAdmin()||e.dataEmpCpoLocal.cpo.permissionCpo.chargepoint.map.enabled||e.dataEmpCpoLocal.permission.easeMonitor.map.enabled),t.xp6(1),t.Q6J(\"ngIf\",e.isAdmin()||(null==e.dataEmpCpoLocal.permission?null:e.dataEmpCpoLocal.permission.easeMonitor.product.enabled)),t.xp6(1),t.Q6J(\"ngIf\",e.isAdmin()||e.dataEmpCpoLocal.cpo.permissionCpo.chargepoint.recharge.enabled||e.dataEmpCpoLocal.permission.easeMonitor.recharge.enabled),t.xp6(1),t.Q6J(\"ngIf\",e.isAdmin()||e.dataEmpCpoLocal.cpo.permissionCpo.chargepoint.reservation.enabled||e.dataEmpCpoLocal.permission.easeMonitor.reservation.enabled),t.xp6(1),t.Q6J(\"ngIf\",e.isAdmin()||e.dataEmpCpoLocal.cpo.permissionCpo.chargepoint.rfidGroup.enabled||e.dataEmpCpoLocal.permission.easeMonitor.rfidGroup.enabled),t.xp6(1),t.Q6J(\"ngIf\",e.isAdmin()||(null==e.dataEmpCpoLocal.permission?null:e.dataEmpCpoLocal.permission.easeMonitor.configuration.enabled)),t.xp6(1),t.Q6J(\"ngIf\",e.isAdmin()||(null==e.dataEmpCpoLocal.permission?null:e.dataEmpCpoLocal.permission.easeMonitor.chargepoint.modifyChargepoint.enabled)),t.xp6(1),t.Q6J(\"ngIf\",e.isAdmin()||(null==e.dataEmpCpoLocal.cpo.permissionCpo.chargepoint.markupInternalCpo?null:e.dataEmpCpoLocal.cpo.permissionCpo.chargepoint.markupInternalCpo.enabled)||e.dataEmpCpoLocal.permission.easeMonitor.markupInternalCpo.enabled),t.xp6(1),t.Q6J(\"ngIf\",e.isAdmin()||(null==e.dataEmpCpoLocal.cpo.permissionCpo.chargepoint.modifyChargepoint?null:e.dataEmpCpoLocal.cpo.permissionCpo.chargepoint.modifyChargepoint.enabled)||e.dataEmpCpoLocal.permission.easeMonitor.chargepoint.modifyChargepoint.enabled),t.xp6(1),t.Q6J(\"ngIf\",e.isAdmin()||e.dataEmpCpoLocal.permission.easeMonitor.chargepoint.enabled),t.xp6(2),t.Q6J(\"ngIf\",e.isAdmin()||e.dataEmpCpoLocal.cpo.permissionCpo.chargepoint.subCpo.enabled||e.dataEmpCpoLocal.permission.easeMonitor.subCpo.enabled),t.xp6(15),t.Oqu(t.lcZ(77,35,\"ass_prezzi\")),t.xp6(15),t.Q6J(\"ngIf\",e.isAdmin()||e.dataEmpCpoLocal.permission.easeMonitor.canStartCharge.enabled)}}function Bd(n,s){1&n&&(t.TgZ(0,\"tr\"),t.TgZ(1,\"td\"),t._uU(2),t.ALo(3,\"translate\"),t.qZA(),t.TgZ(4,\"td\"),t.TgZ(5,\"label\",56),t._UZ(6,\"input\",149),t._UZ(7,\"span\",58),t.qZA(),t.qZA(),t.TgZ(8,\"td\"),t.TgZ(9,\"label\",56),t._UZ(10,\"input\",150),t._UZ(11,\"span\",58),t.qZA(),t.qZA(),t.TgZ(12,\"td\"),t.TgZ(13,\"label\",56),t._UZ(14,\"input\",151),t._UZ(15,\"span\",58),t.qZA(),t.qZA(),t.qZA()),2&n&&(t.xp6(2),t.Oqu(t.lcZ(3,1,\"reparto\")))}function Qd(n,s){1&n&&(t.TgZ(0,\"tr\"),t.TgZ(1,\"td\"),t._uU(2),t.ALo(3,\"translate\"),t.qZA(),t.TgZ(4,\"td\"),t.TgZ(5,\"label\",56),t._UZ(6,\"input\",152),t._UZ(7,\"span\",58),t.qZA(),t.qZA(),t.TgZ(8,\"td\"),t.TgZ(9,\"label\",56),t._UZ(10,\"input\",153),t._UZ(11,\"span\",58),t.qZA(),t.qZA(),t.TgZ(12,\"td\"),t.TgZ(13,\"label\",56),t._UZ(14,\"input\",154),t._UZ(15,\"span\",58),t.qZA(),t.qZA(),t.qZA()),2&n&&(t.xp6(2),t.Oqu(t.lcZ(3,1,\"vehicle\")))}function zd(n,s){1&n&&(t.TgZ(0,\"tr\"),t.TgZ(1,\"td\"),t._uU(2),t.ALo(3,\"translate\"),t.ALo(4,\"translate\"),t.qZA(),t.TgZ(5,\"td\"),t.TgZ(6,\"label\",56),t._UZ(7,\"input\",155),t._UZ(8,\"span\",58),t.qZA(),t.qZA(),t.TgZ(9,\"td\"),t.TgZ(10,\"label\",56),t._UZ(11,\"input\",156),t._UZ(12,\"span\",58),t.qZA(),t.qZA(),t.TgZ(13,\"td\"),t.TgZ(14,\"label\",56),t._UZ(15,\"input\",157),t._UZ(16,\"span\",58),t.qZA(),t.qZA(),t.qZA()),2&n&&(t.xp6(2),t.AsE(\"\",t.lcZ(3,2,\"rfidgroup\"),\" \",t.lcZ(4,4,\"flotte\"),\"\"))}function $d(n,s){1&n&&(t.TgZ(0,\"tr\"),t.TgZ(1,\"td\"),t._uU(2),t.ALo(3,\"translate\"),t.qZA(),t.TgZ(4,\"td\"),t.TgZ(5,\"label\",56),t._UZ(6,\"input\",158),t._UZ(7,\"span\",58),t.qZA(),t.qZA(),t.TgZ(8,\"td\"),t.TgZ(9,\"label\",56),t._UZ(10,\"input\",159),t._UZ(11,\"span\",58),t.qZA(),t.qZA(),t.TgZ(12,\"td\"),t.TgZ(13,\"label\",56),t._UZ(14,\"input\",160),t._UZ(15,\"span\",58),t.qZA(),t.qZA(),t.qZA()),2&n&&(t.xp6(2),t.Oqu(t.lcZ(3,1,\"wallet\")))}function Yd(n,s){if(1&n){const e=t.EpF();t.TgZ(0,\"div\",147),t.TgZ(1,\"div\",43),t.TgZ(2,\"div\",12),t.TgZ(3,\"h4\",13),t._uU(4,\"EASE FLEET\"),t.qZA(),t.TgZ(5,\"div\",49),t.TgZ(6,\"label\",50),t.TgZ(7,\"input\",51,148),t.NdJ(\"click\",function(){return t.CHM(e),t.oxw(3).check(\"SwitchEaseFleet\")}),t.qZA(),t._UZ(9,\"span\",53),t.qZA(),t.qZA(),t.qZA(),t.TgZ(10,\"div\",44),t.TgZ(11,\"form\",15),t.TgZ(12,\"table\",54),t.TgZ(13,\"thead\"),t.TgZ(14,\"tr\"),t.TgZ(15,\"th\"),t._uU(16),t.ALo(17,\"translate\"),t.qZA(),t.TgZ(18,\"th\",55),t._uU(19),t.ALo(20,\"translate\"),t.qZA(),t.TgZ(21,\"th\",55),t._uU(22),t.ALo(23,\"translate\"),t.qZA(),t.TgZ(24,\"th\",55),t._uU(25),t.ALo(26,\"translate\"),t._UZ(27,\"br\"),t._uU(28,\"&\"),t._UZ(29,\"br\"),t._uU(30),t.ALo(31,\"translate\"),t.qZA(),t.qZA(),t.qZA(),t.TgZ(32,\"tbody\"),t.YNc(33,Bd,16,3,\"tr\",20),t.YNc(34,Qd,16,3,\"tr\",20),t.YNc(35,zd,17,6,\"tr\",20),t.YNc(36,$d,16,3,\"tr\",20),t.qZA(),t.qZA(),t.qZA(),t.qZA(),t.qZA(),t.qZA()}if(2&n){const e=t.oxw(3);t.xp6(7),t.Q6J(\"checked\",e.SwitchEaseFleet),t.xp6(4),t.Q6J(\"formGroup\",e.permissionEaseFleet),t.xp6(1),t.Q6J(\"ngClass\",t.VKq(22,St,!e.SwitchEaseFleet)),t.xp6(4),t.Oqu(t.lcZ(17,12,\"permessi\")),t.xp6(3),t.Oqu(t.lcZ(20,14,\"disabilita\")),t.xp6(3),t.Oqu(t.lcZ(23,16,\"visual\")),t.xp6(3),t.Oqu(t.lcZ(26,18,\"visual\")),t.xp6(5),t.Oqu(t.lcZ(31,20,\"modifica\")),t.xp6(3),t.Q6J(\"ngIf\",e.isAdmin()||e.dataEmpCpoLocal.fleet.permissionsFleet.department.enabled||e.dataEmpCpoLocal.permission.easeFleet.department.enabled),t.xp6(1),t.Q6J(\"ngIf\",e.isAdmin()||e.dataEmpCpoLocal.fleet.permissionsFleet.vehicle.enabled||e.dataEmpCpoLocal.permission.easeFleet.vehicle.enabled),t.xp6(1),t.Q6J(\"ngIf\",e.isAdmin()||e.dataEmpCpoLocal.fleet.permissionsFleet.rfidGroup.enabled||e.dataEmpCpoLocal.permission.easeFleet.rfidGroup.enabled),t.xp6(1),t.Q6J(\"ngIf\",e.isAdmin()||e.dataEmpCpoLocal.fleet.permissionsFleet.wallet.enabled||e.dataEmpCpoLocal.permission.easeFleet.wallet.enabled)}}function Vd(n,s){1&n&&(t.TgZ(0,\"tr\"),t.TgZ(1,\"td\"),t._uU(2),t.ALo(3,\"translate\"),t.qZA(),t.TgZ(4,\"td\"),t.TgZ(5,\"label\",56),t._UZ(6,\"input\",163),t._UZ(7,\"span\",58),t.qZA(),t.qZA(),t.TgZ(8,\"td\"),t.TgZ(9,\"label\",56),t._UZ(10,\"input\",164),t._UZ(11,\"span\",58),t.qZA(),t.qZA(),t.TgZ(12,\"td\"),t.TgZ(13,\"label\",56),t._UZ(14,\"input\",165),t._UZ(15,\"span\",58),t.qZA(),t.qZA(),t.qZA()),2&n&&(t.xp6(2),t.Oqu(t.lcZ(3,1,\"cluster\")))}function jd(n,s){if(1&n){const e=t.EpF();t.TgZ(0,\"div\",161),t.TgZ(1,\"div\",43),t.TgZ(2,\"div\",12),t.TgZ(3,\"h4\",13),t._uU(4,\"EASE SMARTCHARGING\"),t.qZA(),t.TgZ(5,\"div\",49),t.TgZ(6,\"label\",50),t.TgZ(7,\"input\",51,162),t.NdJ(\"click\",function(){return t.CHM(e),t.oxw(3).check(\"SwitchEaseSmartCharging\")}),t.qZA(),t._UZ(9,\"span\",53),t.qZA(),t.qZA(),t.qZA(),t.TgZ(10,\"div\",44),t.TgZ(11,\"form\",15),t.TgZ(12,\"table\",54),t.TgZ(13,\"thead\"),t.TgZ(14,\"tr\"),t.TgZ(15,\"th\"),t._uU(16),t.ALo(17,\"translate\"),t.qZA(),t.TgZ(18,\"th\",55),t._uU(19),t.ALo(20,\"translate\"),t.qZA(),t.TgZ(21,\"th\",55),t._uU(22),t.ALo(23,\"translate\"),t.qZA(),t.TgZ(24,\"th\",55),t._uU(25),t.ALo(26,\"translate\"),t._UZ(27,\"br\"),t._uU(28,\"&\"),t._UZ(29,\"br\"),t._uU(30),t.ALo(31,\"translate\"),t.qZA(),t.qZA(),t.qZA(),t.TgZ(32,\"tbody\"),t.YNc(33,Vd,16,3,\"tr\",20),t.qZA(),t.qZA(),t.qZA(),t.qZA(),t.qZA(),t.qZA()}if(2&n){const e=t.oxw(3);t.xp6(7),t.Q6J(\"checked\",e.SwitchEaseSmartCharging),t.xp6(4),t.Q6J(\"formGroup\",e.permissionEaseSmartCharging),t.xp6(1),t.Q6J(\"ngClass\",t.VKq(19,St,!e.SwitchEaseSmartCharging)),t.xp6(4),t.Oqu(t.lcZ(17,9,\"permessi\")),t.xp6(3),t.Oqu(t.lcZ(20,11,\"disabilita\")),t.xp6(3),t.Oqu(t.lcZ(23,13,\"visual\")),t.xp6(3),t.Oqu(t.lcZ(26,15,\"visual\")),t.xp6(5),t.Oqu(t.lcZ(31,17,\"modifica\")),t.xp6(3),t.Q6J(\"ngIf\",e.isAdmin()||e.dataEmpCpoLocal.cpo.permissionCpo.chargepoint.cluster.enabled)}}function Wd(n,s){if(1&n){const e=t.EpF();t.TgZ(0,\"div\",166),t.TgZ(1,\"div\",43),t.TgZ(2,\"div\",12),t.TgZ(3,\"h4\",13),t._uU(4,\"EASE BILLING\"),t.qZA(),t.TgZ(5,\"div\",49),t.TgZ(6,\"label\",50),t.TgZ(7,\"input\",51,167),t.NdJ(\"click\",function(){return t.CHM(e),t.oxw(3).check(\"SwitchEaseBilling\")}),t.qZA(),t._UZ(9,\"span\",53),t.qZA(),t.qZA(),t.qZA(),t.TgZ(10,\"div\",44),t.TgZ(11,\"form\",15),t.TgZ(12,\"table\",54),t.TgZ(13,\"thead\"),t.TgZ(14,\"tr\"),t.TgZ(15,\"th\"),t._uU(16),t.ALo(17,\"translate\"),t.qZA(),t.TgZ(18,\"th\",55),t._uU(19),t.ALo(20,\"translate\"),t.qZA(),t.TgZ(21,\"th\",55),t._uU(22),t.ALo(23,\"translate\"),t.qZA(),t.TgZ(24,\"th\",55),t._uU(25),t.ALo(26,\"translate\"),t._UZ(27,\"br\"),t._uU(28,\"&\"),t._UZ(29,\"br\"),t._uU(30),t.ALo(31,\"translate\"),t.qZA(),t.qZA(),t.qZA(),t.TgZ(32,\"tbody\"),t.TgZ(33,\"tr\"),t.TgZ(34,\"td\"),t._uU(35),t.ALo(36,\"translate\"),t.qZA(),t.TgZ(37,\"td\"),t.TgZ(38,\"label\",56),t._UZ(39,\"input\",168),t._UZ(40,\"span\",58),t.qZA(),t.qZA(),t.TgZ(41,\"td\"),t.TgZ(42,\"label\",56),t._UZ(43,\"input\",169),t._UZ(44,\"span\",58),t.qZA(),t.qZA(),t.TgZ(45,\"td\"),t.TgZ(46,\"label\",56),t._UZ(47,\"input\",170),t._UZ(48,\"span\",58),t.qZA(),t.qZA(),t.qZA(),t.qZA(),t.qZA(),t.qZA(),t.qZA(),t.qZA(),t.qZA()}if(2&n){const e=t.oxw(3);t.xp6(7),t.Q6J(\"checked\",e.SwitchEaseBilling),t.xp6(4),t.Q6J(\"formGroup\",e.permissionEaseBilling),t.xp6(1),t.Q6J(\"ngClass\",t.VKq(21,St,!e.SwitchEaseBilling)),t.xp6(4),t.Oqu(t.lcZ(17,9,\"permessi\")),t.xp6(3),t.Oqu(t.lcZ(20,11,\"disabilita\")),t.xp6(3),t.Oqu(t.lcZ(23,13,\"visual\")),t.xp6(3),t.Oqu(t.lcZ(26,15,\"visual\")),t.xp6(5),t.Oqu(t.lcZ(31,17,\"modifica\")),t.xp6(5),t.Oqu(t.lcZ(36,19,\"ricavi\"))}}function Hd(n,s){if(1&n){const e=t.EpF();t.TgZ(0,\"div\",65),t.TgZ(1,\"div\",76),t.YNc(2,Jd,98,39,\"div\",77),t.YNc(3,Yd,37,24,\"div\",78),t.TgZ(4,\"div\",79),t.TgZ(5,\"div\",43),t.TgZ(6,\"div\",12),t.TgZ(7,\"h4\",13),t._uU(8,\"EASE ASSET\"),t.qZA(),t.TgZ(9,\"div\",49),t.TgZ(10,\"label\",50),t.TgZ(11,\"input\",51,80),t.NdJ(\"click\",function(){return t.CHM(e),t.oxw(2).check(\"SwitchEaseAsset\")}),t.qZA(),t._UZ(13,\"span\",53),t.qZA(),t.qZA(),t.qZA(),t.TgZ(14,\"div\",44),t.TgZ(15,\"form\",15),t.TgZ(16,\"table\",54),t.TgZ(17,\"thead\"),t.TgZ(18,\"tr\"),t.TgZ(19,\"th\"),t._uU(20),t.ALo(21,\"translate\"),t.qZA(),t.TgZ(22,\"th\",55),t._uU(23),t.ALo(24,\"translate\"),t.qZA(),t.TgZ(25,\"th\",55),t._uU(26),t.ALo(27,\"translate\"),t.qZA(),t.TgZ(28,\"th\",55),t._uU(29),t.ALo(30,\"translate\"),t._UZ(31,\"br\"),t._uU(32,\"&\"),t._UZ(33,\"br\"),t._uU(34),t.ALo(35,\"translate\"),t.qZA(),t.qZA(),t.qZA(),t.TgZ(36,\"tbody\"),t.TgZ(37,\"tr\"),t.TgZ(38,\"td\"),t._uU(39),t.ALo(40,\"translate\"),t.qZA(),t.TgZ(41,\"td\"),t.TgZ(42,\"label\",56),t._UZ(43,\"input\",81),t._UZ(44,\"span\",58),t.qZA(),t.qZA(),t.TgZ(45,\"td\"),t.TgZ(46,\"label\",56),t._UZ(47,\"input\",82),t._UZ(48,\"span\",58),t.qZA(),t.qZA(),t.TgZ(49,\"td\"),t.TgZ(50,\"label\",56),t._UZ(51,\"input\",83),t._UZ(52,\"span\",58),t.qZA(),t.qZA(),t.qZA(),t.TgZ(53,\"tr\"),t.TgZ(54,\"td\"),t._uU(55),t.ALo(56,\"translate\"),t.qZA(),t.TgZ(57,\"td\"),t.TgZ(58,\"label\",56),t._UZ(59,\"input\",84),t._UZ(60,\"span\",58),t.qZA(),t.qZA(),t.TgZ(61,\"td\"),t.TgZ(62,\"label\",56),t._UZ(63,\"input\",85),t._UZ(64,\"span\",58),t.qZA(),t.qZA(),t.TgZ(65,\"td\"),t.TgZ(66,\"label\",56),t._UZ(67,\"input\",86),t._UZ(68,\"span\",58),t.qZA(),t.qZA(),t.qZA(),t.TgZ(69,\"tr\"),t.TgZ(70,\"td\"),t._uU(71),t.ALo(72,\"translate\"),t.qZA(),t.TgZ(73,\"td\"),t.TgZ(74,\"label\",56),t._UZ(75,\"input\",87),t._UZ(76,\"span\",58),t.qZA(),t.qZA(),t.TgZ(77,\"td\"),t.TgZ(78,\"label\",56),t._UZ(79,\"input\",88),t._UZ(80,\"span\",58),t.qZA(),t.qZA(),t.TgZ(81,\"td\"),t.TgZ(82,\"label\",56),t._UZ(83,\"input\",89),t._UZ(84,\"span\",58),t.qZA(),t.qZA(),t.qZA(),t.TgZ(85,\"tr\"),t.TgZ(86,\"td\"),t._uU(87),t.ALo(88,\"translate\"),t.qZA(),t.TgZ(89,\"td\"),t.TgZ(90,\"label\",56),t._UZ(91,\"input\",90),t._UZ(92,\"span\",58),t.qZA(),t.qZA(),t.TgZ(93,\"td\"),t.TgZ(94,\"label\",56),t._UZ(95,\"input\",91),t._UZ(96,\"span\",58),t.qZA(),t.qZA(),t.TgZ(97,\"td\"),t.TgZ(98,\"label\",56),t._UZ(99,\"input\",92),t._UZ(100,\"span\",58),t.qZA(),t.qZA(),t.qZA(),t.TgZ(101,\"tr\"),t.TgZ(102,\"td\"),t._uU(103),t.ALo(104,\"translate\"),t.qZA(),t.TgZ(105,\"td\"),t.TgZ(106,\"label\",56),t._UZ(107,\"input\",93),t._UZ(108,\"span\",58),t.qZA(),t.qZA(),t.TgZ(109,\"td\"),t.TgZ(110,\"label\",56),t._UZ(111,\"input\",94),t._UZ(112,\"span\",58),t.qZA(),t.qZA(),t.TgZ(113,\"td\"),t.TgZ(114,\"label\",56),t._UZ(115,\"input\",95),t._UZ(116,\"span\",58),t.qZA(),t.qZA(),t.qZA(),t.TgZ(117,\"tr\"),t.TgZ(118,\"td\"),t._uU(119),t.ALo(120,\"translate\"),t.qZA(),t.TgZ(121,\"td\"),t.TgZ(122,\"label\",56),t._UZ(123,\"input\",96),t._UZ(124,\"span\",58),t.qZA(),t.qZA(),t.TgZ(125,\"td\"),t.TgZ(126,\"label\",56),t._UZ(127,\"input\",97),t._UZ(128,\"span\",58),t.qZA(),t.qZA(),t.TgZ(129,\"td\"),t.TgZ(130,\"label\",56),t._UZ(131,\"input\",98),t._UZ(132,\"span\",58),t.qZA(),t.qZA(),t.qZA(),t.qZA(),t.qZA(),t.qZA(),t.qZA(),t.qZA(),t.qZA(),t.YNc(133,jd,34,21,\"div\",99),t.YNc(134,Wd,49,23,\"div\",100),t.qZA(),t.TgZ(135,\"div\",101),t.TgZ(136,\"div\"),t.TgZ(137,\"button\",68),t.NdJ(\"click\",function(){return t.CHM(e),t.oxw(2).rewind()}),t._uU(138),t.ALo(139,\"translate\"),t.TgZ(140,\"div\",40),t._UZ(141,\"div\",41),t.qZA(),t.qZA(),t.qZA(),t.TgZ(142,\"div\",72),t._UZ(143,\"div\"),t.TgZ(144,\"div\",72),t._UZ(145,\"div\"),t.TgZ(146,\"button\",73),t.NdJ(\"click\",function(){return t.CHM(e),t.oxw(2).next()}),t._uU(147),t.ALo(148,\"translate\"),t.TgZ(149,\"div\",40),t._UZ(150,\"div\",41),t.qZA(),t.qZA(),t.qZA(),t.qZA(),t.qZA(),t.qZA()}if(2&n){const e=t.oxw(2);t.Q6J(\"ngClass\",t.VKq(47,re,e.needAnimation(1))),t.xp6(2),t.Q6J(\"ngIf\",e.isAdmin()||e.dataEmpCpoLocal.cpo.permissionCpo.chargepoint.enabled||e.dataEmpCpoLocal.permission.easeMonitor.enabled),t.xp6(1),t.Q6J(\"ngIf\",e.isAdmin()||e.dataEmpCpoLocal.fleet.permissionsFleet.enabled||e.dataEmpCpoLocal.permission.easeFleet.enabled),t.xp6(8),t.Q6J(\"checked\",e.SwitchEaseAsset),t.xp6(4),t.Q6J(\"formGroup\",e.permissionEaseAsset),t.xp6(1),t.Q6J(\"ngClass\",t.VKq(49,St,!e.SwitchEaseAsset)),t.xp6(4),t.Oqu(t.lcZ(21,21,\"permessi\")),t.xp6(3),t.Oqu(t.lcZ(24,23,\"disabilita\")),t.xp6(3),t.Oqu(t.lcZ(27,25,\"visual\")),t.xp6(3),t.Oqu(t.lcZ(30,27,\"visual\")),t.xp6(5),t.Oqu(t.lcZ(35,29,\"modifica\")),t.xp6(5),t.Oqu(t.lcZ(40,31,\"aziende\")),t.xp6(16),t.Oqu(t.lcZ(56,33,\"contr\")),t.xp6(16),t.Oqu(t.lcZ(72,35,\"pod\")),t.xp6(16),t.Oqu(t.lcZ(88,37,\"sim\")),t.xp6(16),t.Oqu(t.lcZ(104,39,\"locat\")),t.xp6(16),t.Oqu(t.lcZ(120,41,\"assist\")),t.xp6(14),t.Q6J(\"ngIf\",e.isAdmin()||(null==e.dataEmpCpoLocal.permission?null:e.dataEmpCpoLocal.permission.easeSmartCharging.cluster.enabled)||!0),t.xp6(1),t.Q6J(\"ngIf\",e.isAdmin()||e.dataEmpCpoLocal.cpo.permissionCpo.chargepoint.revenues.enabled||e.dataEmpCpoLocal.permission.easeBilling.revenues.enabled),t.xp6(4),t.hij(\" \",t.lcZ(139,43,\"ind\"),\" \"),t.xp6(9),t.hij(\" \",t.lcZ(148,45,\"prosegui\"),\" \")}}function Kd(n,s){1&n&&(t.TgZ(0,\"tr\"),t.TgZ(1,\"td\"),t._uU(2),t.ALo(3,\"translate\"),t.qZA(),t.TgZ(4,\"td\"),t.TgZ(5,\"label\",56),t._UZ(6,\"input\",204),t._UZ(7,\"span\",58),t.qZA(),t.qZA(),t.TgZ(8,\"td\"),t.TgZ(9,\"label\",56),t._UZ(10,\"input\",205),t._UZ(11,\"span\",58),t.qZA(),t.qZA(),t.TgZ(12,\"td\"),t.TgZ(13,\"label\",56),t._UZ(14,\"input\",206),t._UZ(15,\"span\",58),t.qZA(),t.qZA(),t.qZA()),2&n&&(t.xp6(2),t.Oqu(t.lcZ(3,1,\"info_addizionali\")))}function Xd(n,s){if(1&n){const e=t.EpF();t.TgZ(0,\"div\",175),t.TgZ(1,\"div\",43),t.TgZ(2,\"div\",12),t.TgZ(3,\"h4\",13),t._uU(4,\"EASE APP\"),t.qZA(),t.TgZ(5,\"div\",49),t.TgZ(6,\"label\",50),t.TgZ(7,\"input\",51,176),t.NdJ(\"click\",function(){return t.CHM(e),t.oxw(3).check(\"SwitchEaseApp\")}),t.qZA(),t._UZ(9,\"span\",53),t.qZA(),t.qZA(),t.qZA(),t.TgZ(10,\"div\",44),t.TgZ(11,\"form\",15),t.TgZ(12,\"table\",54),t.TgZ(13,\"thead\"),t.TgZ(14,\"tr\"),t.TgZ(15,\"th\"),t._uU(16),t.ALo(17,\"translate\"),t.qZA(),t.TgZ(18,\"th\",55),t._uU(19),t.ALo(20,\"translate\"),t.qZA(),t.TgZ(21,\"th\",55),t._uU(22),t.ALo(23,\"translate\"),t.qZA(),t.TgZ(24,\"th\",55),t._uU(25),t.ALo(26,\"translate\"),t._UZ(27,\"br\"),t._uU(28,\"&\"),t._UZ(29,\"br\"),t._uU(30),t.ALo(31,\"translate\"),t.qZA(),t.qZA(),t.qZA(),t.TgZ(32,\"tbody\"),t.TgZ(33,\"tr\"),t.TgZ(34,\"td\"),t._uU(35),t.ALo(36,\"translate\"),t.qZA(),t.TgZ(37,\"td\"),t.TgZ(38,\"label\",56),t._UZ(39,\"input\",177),t._UZ(40,\"span\",58),t.qZA(),t.qZA(),t.TgZ(41,\"td\"),t.TgZ(42,\"label\",56),t._UZ(43,\"input\",178),t._UZ(44,\"span\",58),t.qZA(),t.qZA(),t.TgZ(45,\"td\"),t.TgZ(46,\"label\",56),t._UZ(47,\"input\",179),t._UZ(48,\"span\",58),t.qZA(),t.qZA(),t.qZA(),t.TgZ(49,\"tr\"),t.TgZ(50,\"td\"),t._uU(51),t.ALo(52,\"translate\"),t.qZA(),t.TgZ(53,\"td\"),t.TgZ(54,\"label\",56),t._UZ(55,\"input\",180),t._UZ(56,\"span\",58),t.qZA(),t.qZA(),t.TgZ(57,\"td\"),t.TgZ(58,\"label\",56),t._UZ(59,\"input\",181),t._UZ(60,\"span\",58),t.qZA(),t.qZA(),t.TgZ(61,\"td\"),t.TgZ(62,\"label\",56),t._UZ(63,\"input\",182),t._UZ(64,\"span\",58),t.qZA(),t.qZA(),t.qZA(),t.TgZ(65,\"tr\"),t.TgZ(66,\"td\"),t._uU(67),t.ALo(68,\"translate\"),t.qZA(),t.TgZ(69,\"td\"),t.TgZ(70,\"label\",56),t._UZ(71,\"input\",183),t._UZ(72,\"span\",58),t.qZA(),t.qZA(),t.TgZ(73,\"td\"),t.TgZ(74,\"label\",56),t._UZ(75,\"input\",184),t._UZ(76,\"span\",58),t.qZA(),t.qZA(),t.TgZ(77,\"td\"),t.TgZ(78,\"label\",56),t._UZ(79,\"input\",185),t._UZ(80,\"span\",58),t.qZA(),t.qZA(),t.qZA(),t.TgZ(81,\"tr\"),t.TgZ(82,\"td\"),t._uU(83),t.ALo(84,\"translate\"),t.qZA(),t.TgZ(85,\"td\"),t.TgZ(86,\"label\",56),t._UZ(87,\"input\",186),t._UZ(88,\"span\",58),t.qZA(),t.qZA(),t.TgZ(89,\"td\"),t.TgZ(90,\"label\",56),t._UZ(91,\"input\",187),t._UZ(92,\"span\",58),t.qZA(),t.qZA(),t.TgZ(93,\"td\"),t.TgZ(94,\"label\",56),t._UZ(95,\"input\",188),t._UZ(96,\"span\",58),t.qZA(),t.qZA(),t.qZA(),t.TgZ(97,\"tr\"),t.TgZ(98,\"td\"),t._uU(99),t.ALo(100,\"translate\"),t.qZA(),t.TgZ(101,\"td\"),t.TgZ(102,\"label\",56),t._UZ(103,\"input\",189),t._UZ(104,\"span\",58),t.qZA(),t.qZA(),t.TgZ(105,\"td\"),t.TgZ(106,\"label\",56),t._UZ(107,\"input\",190),t._UZ(108,\"span\",58),t.qZA(),t.qZA(),t.TgZ(109,\"td\"),t.TgZ(110,\"label\",56),t._UZ(111,\"input\",191),t._UZ(112,\"span\",58),t.qZA(),t.qZA(),t.qZA(),t.YNc(113,Kd,16,3,\"tr\",20),t.TgZ(114,\"tr\"),t.TgZ(115,\"td\"),t._uU(116),t.ALo(117,\"translate\"),t.qZA(),t.TgZ(118,\"td\"),t.TgZ(119,\"label\",56),t._UZ(120,\"input\",192),t._UZ(121,\"span\",58),t.qZA(),t.qZA(),t.TgZ(122,\"td\"),t.TgZ(123,\"label\",56),t._UZ(124,\"input\",193),t._UZ(125,\"span\",58),t.qZA(),t.qZA(),t.TgZ(126,\"td\"),t.TgZ(127,\"label\",56),t._UZ(128,\"input\",194),t._UZ(129,\"span\",58),t.qZA(),t.qZA(),t.qZA(),t.TgZ(130,\"tr\"),t.TgZ(131,\"td\"),t._uU(132),t.ALo(133,\"translate\"),t.qZA(),t.TgZ(134,\"td\"),t.TgZ(135,\"label\",56),t._UZ(136,\"input\",195),t._UZ(137,\"span\",58),t.qZA(),t.qZA(),t.TgZ(138,\"td\"),t.TgZ(139,\"label\",56),t._UZ(140,\"input\",196),t._UZ(141,\"span\",58),t.qZA(),t.qZA(),t.TgZ(142,\"td\"),t.TgZ(143,\"label\",56),t._UZ(144,\"input\",197),t._UZ(145,\"span\",58),t.qZA(),t.qZA(),t.qZA(),t.TgZ(146,\"tr\"),t.TgZ(147,\"td\"),t._uU(148),t.ALo(149,\"translate\"),t.qZA(),t.TgZ(150,\"td\"),t.TgZ(151,\"label\",56),t._UZ(152,\"input\",198),t._UZ(153,\"span\",58),t.qZA(),t.qZA(),t.TgZ(154,\"td\"),t.TgZ(155,\"label\",56),t._UZ(156,\"input\",199),t._UZ(157,\"span\",58),t.qZA(),t.qZA(),t.TgZ(158,\"td\"),t.TgZ(159,\"label\",56),t._UZ(160,\"input\",200),t._UZ(161,\"span\",58),t.qZA(),t.qZA(),t.qZA(),t.TgZ(162,\"tr\"),t.TgZ(163,\"td\"),t._uU(164,\"RFID\"),t.qZA(),t.TgZ(165,\"td\"),t.TgZ(166,\"label\",56),t._UZ(167,\"input\",201),t._UZ(168,\"span\",58),t.qZA(),t.qZA(),t.TgZ(169,\"td\"),t.TgZ(170,\"label\",56),t._UZ(171,\"input\",202),t._UZ(172,\"span\",58),t.qZA(),t.qZA(),t.TgZ(173,\"td\"),t.TgZ(174,\"label\",56),t._UZ(175,\"input\",203),t._UZ(176,\"span\",58),t.qZA(),t.qZA(),t.qZA(),t.qZA(),t.qZA(),t.qZA(),t.qZA(),t.qZA(),t.qZA()}if(2&n){const e=t.oxw(3);t.xp6(7),t.Q6J(\"checked\",e.SwitchEaseApp),t.xp6(4),t.Q6J(\"formGroup\",e.permissionEaseApp),t.xp6(1),t.Q6J(\"ngClass\",t.VKq(43,St,!e.SwitchEaseApp)),t.xp6(4),t.Oqu(t.lcZ(17,17,\"permessi\")),t.xp6(3),t.Oqu(t.lcZ(20,19,\"disabilita\")),t.xp6(3),t.Oqu(t.lcZ(23,21,\"visual\")),t.xp6(3),t.Oqu(t.lcZ(26,23,\"visual\")),t.xp6(5),t.Oqu(t.lcZ(31,25,\"modifica\")),t.xp6(5),t.Oqu(t.lcZ(36,27,\"support\")),t.xp6(16),t.Oqu(t.lcZ(52,29,\"user\")),t.xp6(16),t.Oqu(t.lcZ(68,31,\"voucher\")),t.xp6(16),t.Oqu(t.lcZ(84,33,\"flat\")),t.xp6(16),t.Oqu(t.lcZ(100,35,\"pay\")),t.xp6(14),t.Q6J(\"ngIf\",e.isAdmin()||e.dataEmpCpoLocal.permission.easeApp.settings.additionalInfo.enabled),t.xp6(3),t.Oqu(t.lcZ(117,37,\"apikey\")),t.xp6(16),t.Oqu(t.lcZ(133,39,\"smtp\")),t.xp6(16),t.Oqu(t.lcZ(149,41,\"firebase\"))}}function tg(n,s){if(1&n){const e=t.EpF();t.TgZ(0,\"div\",207),t.TgZ(1,\"div\",43),t.TgZ(2,\"div\",12),t.TgZ(3,\"h4\",13),t._uU(4,\"EASE ROAMING\"),t.qZA(),t.TgZ(5,\"div\",49),t.TgZ(6,\"label\",50),t.TgZ(7,\"input\",51,208),t.NdJ(\"click\",function(){return t.CHM(e),t.oxw(3).check(\"SwitchEaseRoaming\")}),t.qZA(),t._UZ(9,\"span\",53),t.qZA(),t.qZA(),t.qZA(),t.TgZ(10,\"div\",44),t.TgZ(11,\"form\",15),t.TgZ(12,\"table\",54),t.TgZ(13,\"thead\"),t.TgZ(14,\"tr\"),t.TgZ(15,\"th\"),t._uU(16),t.ALo(17,\"translate\"),t.qZA(),t.TgZ(18,\"th\",55),t._uU(19),t.ALo(20,\"translate\"),t.qZA(),t.TgZ(21,\"th\",55),t._uU(22),t.ALo(23,\"translate\"),t.qZA(),t.TgZ(24,\"th\",55),t._uU(25),t.ALo(26,\"translate\"),t._UZ(27,\"br\"),t._uU(28,\"&\"),t._UZ(29,\"br\"),t._uU(30),t.ALo(31,\"translate\"),t.qZA(),t.qZA(),t.qZA(),t.TgZ(32,\"tbody\"),t.TgZ(33,\"tr\"),t.TgZ(34,\"td\"),t._uU(35),t.ALo(36,\"translate\"),t.ALo(37,\"translate\"),t.ALo(38,\"translate\"),t.qZA(),t.TgZ(39,\"td\"),t.TgZ(40,\"label\",56),t._UZ(41,\"input\",209),t._UZ(42,\"span\",58),t.qZA(),t.qZA(),t.TgZ(43,\"td\"),t.TgZ(44,\"label\",56),t._UZ(45,\"input\",210),t._UZ(46,\"span\",58),t.qZA(),t.qZA(),t.TgZ(47,\"td\"),t.TgZ(48,\"label\",56),t._UZ(49,\"input\",211),t._UZ(50,\"span\",58),t.qZA(),t.qZA(),t.qZA(),t.TgZ(51,\"tr\"),t.TgZ(52,\"td\"),t._uU(53),t.ALo(54,\"translate\"),t.ALo(55,\"translate\"),t.ALo(56,\"translate\"),t.qZA(),t.TgZ(57,\"td\"),t.TgZ(58,\"label\",56),t._UZ(59,\"input\",212),t._UZ(60,\"span\",58),t.qZA(),t.qZA(),t.TgZ(61,\"td\"),t.TgZ(62,\"label\",56),t._UZ(63,\"input\",213),t._UZ(64,\"span\",58),t.qZA(),t.qZA(),t.TgZ(65,\"td\"),t.TgZ(66,\"label\",56),t._UZ(67,\"input\",214),t._UZ(68,\"span\",58),t.qZA(),t.qZA(),t.qZA(),t.TgZ(69,\"tr\"),t.TgZ(70,\"td\"),t._uU(71),t.ALo(72,\"translate\"),t.ALo(73,\"translate\"),t.ALo(74,\"translate\"),t.qZA(),t.TgZ(75,\"td\"),t.TgZ(76,\"label\",56),t._UZ(77,\"input\",215),t._UZ(78,\"span\",58),t.qZA(),t.qZA(),t.TgZ(79,\"td\"),t.TgZ(80,\"label\",56),t._UZ(81,\"input\",216),t._UZ(82,\"span\",58),t.qZA(),t.qZA(),t.TgZ(83,\"td\"),t.TgZ(84,\"label\",56),t._UZ(85,\"input\",217),t._UZ(86,\"span\",58),t.qZA(),t.qZA(),t.qZA(),t.TgZ(87,\"tr\"),t.TgZ(88,\"td\"),t._uU(89),t.ALo(90,\"translate\"),t.ALo(91,\"translate\"),t.ALo(92,\"translate\"),t.qZA(),t.TgZ(93,\"td\"),t.TgZ(94,\"label\",56),t._UZ(95,\"input\",218),t._UZ(96,\"span\",58),t.qZA(),t.qZA(),t.TgZ(97,\"td\"),t.TgZ(98,\"label\",56),t._UZ(99,\"input\",219),t._UZ(100,\"span\",58),t.qZA(),t.qZA(),t.TgZ(101,\"td\"),t.TgZ(102,\"label\",56),t._UZ(103,\"input\",220),t._UZ(104,\"span\",58),t.qZA(),t.qZA(),t.qZA(),t.TgZ(105,\"tr\"),t.TgZ(106,\"td\"),t._uU(107),t.ALo(108,\"translate\"),t.ALo(109,\"translate\"),t.ALo(110,\"translate\"),t.qZA(),t.TgZ(111,\"td\"),t.TgZ(112,\"label\",56),t._UZ(113,\"input\",221),t._UZ(114,\"span\",58),t.qZA(),t.qZA(),t.TgZ(115,\"td\"),t.TgZ(116,\"label\",56),t._UZ(117,\"input\",222),t._UZ(118,\"span\",58),t.qZA(),t.qZA(),t.TgZ(119,\"td\"),t.TgZ(120,\"label\",56),t._UZ(121,\"input\",223),t._UZ(122,\"span\",58),t.qZA(),t.qZA(),t.qZA(),t.TgZ(123,\"tr\"),t.TgZ(124,\"td\"),t._uU(125),t.ALo(126,\"translate\"),t.ALo(127,\"translate\"),t.ALo(128,\"translate\"),t.qZA(),t.TgZ(129,\"td\"),t.TgZ(130,\"label\",56),t._UZ(131,\"input\",224),t._UZ(132,\"span\",58),t.qZA(),t.qZA(),t.TgZ(133,\"td\"),t.TgZ(134,\"label\",56),t._UZ(135,\"input\",225),t._UZ(136,\"span\",58),t.qZA(),t.qZA(),t.TgZ(137,\"td\"),t.TgZ(138,\"label\",56),t._UZ(139,\"input\",226),t._UZ(140,\"span\",58),t.qZA(),t.qZA(),t.qZA(),t.TgZ(141,\"tr\"),t.TgZ(142,\"td\"),t._uU(143),t.ALo(144,\"translate\"),t.qZA(),t.TgZ(145,\"td\"),t.TgZ(146,\"label\",56),t._UZ(147,\"input\",227),t._UZ(148,\"span\",58),t.qZA(),t.qZA(),t.TgZ(149,\"td\"),t.TgZ(150,\"label\",56),t._UZ(151,\"input\",228),t._UZ(152,\"span\",58),t.qZA(),t.qZA(),t.TgZ(153,\"td\"),t.TgZ(154,\"label\",56),t._UZ(155,\"input\",229),t._UZ(156,\"span\",58),t.qZA(),t.qZA(),t.qZA(),t.qZA(),t.qZA(),t.qZA(),t.qZA(),t.qZA(),t.qZA()}if(2&n){const e=t.oxw(3);t.xp6(7),t.Q6J(\"checked\",e.SwitchEaseRoaming),t.xp6(4),t.Q6J(\"formGroup\",e.permissionEaseRoaming),t.xp6(1),t.Q6J(\"ngClass\",t.VKq(75,St,!e.SwitchEaseRoaming)),t.xp6(4),t.Oqu(t.lcZ(17,27,\"permessi\")),t.xp6(3),t.Oqu(t.lcZ(20,29,\"disabilita\")),t.xp6(3),t.Oqu(t.lcZ(23,31,\"visual\")),t.xp6(3),t.Oqu(t.lcZ(26,33,\"visual\")),t.xp6(5),t.Oqu(t.lcZ(31,35,\"modifica\")),t.xp6(5),t.lnq(\"\",t.lcZ(36,37,\"pric\"),\" \",t.lcZ(37,39,\"roaming_esterno\"),\" \",t.lcZ(38,41,\"emp\"),\"\"),t.xp6(18),t.lnq(\"\",t.lcZ(54,43,\"prenotazione\"),\" \",t.lcZ(55,45,\"roaming_esterno\"),\" \",t.lcZ(56,47,\"emp\"),\"\"),t.xp6(18),t.lnq(\"\",t.lcZ(72,49,\"ricariche\"),\" \",t.lcZ(73,51,\"roaming_esterno\"),\" \",t.lcZ(74,53,\"emp\"),\"\"),t.xp6(18),t.lnq(\"\",t.lcZ(90,55,\"pric\"),\" \",t.lcZ(91,57,\"roaming_interno\"),\" \",t.lcZ(92,59,\"emp\"),\"\"),t.xp6(18),t.lnq(\"\",t.lcZ(108,61,\"prenotazione\"),\" \",t.lcZ(109,63,\"roaming_interno\"),\" \",t.lcZ(110,65,\"emp\"),\"\"),t.xp6(18),t.lnq(\"\",t.lcZ(126,67,\"ricariche\"),\" \",t.lcZ(127,69,\"roaming_interno\"),\" \",t.lcZ(128,71,\"emp\"),\"\"),t.xp6(18),t.Oqu(t.lcZ(144,73,\"hbj\"))}}function eg(n,s){if(1&n){const e=t.EpF();t.TgZ(0,\"div\",230),t.TgZ(1,\"div\",43),t.TgZ(2,\"div\",12),t.TgZ(3,\"h4\",13),t._uU(4,\"EASE PAYMENTS\"),t.qZA(),t.TgZ(5,\"div\",49),t.TgZ(6,\"label\",50),t.TgZ(7,\"input\",51,231),t.NdJ(\"click\",function(){return t.CHM(e),t.oxw(3).check(\"SwitchPayment\")}),t.qZA(),t._UZ(9,\"span\",53),t.qZA(),t.qZA(),t.qZA(),t.TgZ(10,\"div\",44),t.TgZ(11,\"form\",15),t.TgZ(12,\"table\",54),t.TgZ(13,\"thead\"),t.TgZ(14,\"tr\"),t.TgZ(15,\"th\"),t._uU(16),t.ALo(17,\"translate\"),t.qZA(),t.TgZ(18,\"th\",55),t._uU(19),t.ALo(20,\"translate\"),t.qZA(),t.TgZ(21,\"th\",55),t._uU(22),t.ALo(23,\"translate\"),t.qZA(),t.TgZ(24,\"th\",55),t._uU(25),t.ALo(26,\"translate\"),t._UZ(27,\"br\"),t._uU(28,\"&\"),t._UZ(29,\"br\"),t._uU(30),t.ALo(31,\"translate\"),t.qZA(),t.qZA(),t.qZA(),t.TgZ(32,\"tbody\"),t.TgZ(33,\"tr\"),t.TgZ(34,\"td\"),t._uU(35),t.ALo(36,\"translate\"),t.qZA(),t.TgZ(37,\"td\"),t.TgZ(38,\"label\",56),t._UZ(39,\"input\",232),t._UZ(40,\"span\",58),t.qZA(),t.qZA(),t.TgZ(41,\"td\"),t.TgZ(42,\"label\",56),t._UZ(43,\"input\",233),t._UZ(44,\"span\",58),t.qZA(),t.qZA(),t.TgZ(45,\"td\"),t.TgZ(46,\"label\",56),t._UZ(47,\"input\",234),t._UZ(48,\"span\",58),t.qZA(),t.qZA(),t.qZA(),t.TgZ(49,\"tr\"),t.TgZ(50,\"td\"),t._uU(51,\"POS\"),t.qZA(),t.TgZ(52,\"td\"),t.TgZ(53,\"label\",56),t._UZ(54,\"input\",235),t._UZ(55,\"span\",58),t.qZA(),t.qZA(),t.TgZ(56,\"td\"),t.TgZ(57,\"label\",56),t._UZ(58,\"input\",236),t._UZ(59,\"span\",58),t.qZA(),t.qZA(),t.TgZ(60,\"td\"),t.TgZ(61,\"label\",56),t._UZ(62,\"input\",237),t._UZ(63,\"span\",58),t.qZA(),t.qZA(),t.qZA(),t.TgZ(64,\"tr\"),t.TgZ(65,\"td\"),t._uU(66),t.ALo(67,\"translate\"),t.qZA(),t.TgZ(68,\"td\"),t.TgZ(69,\"label\",56),t._UZ(70,\"input\",238),t._UZ(71,\"span\",58),t.qZA(),t.qZA(),t.TgZ(72,\"td\"),t.TgZ(73,\"label\",56),t._UZ(74,\"input\",239),t._UZ(75,\"span\",58),t.qZA(),t.qZA(),t.TgZ(76,\"td\"),t.TgZ(77,\"label\",56),t._UZ(78,\"input\",240),t._UZ(79,\"span\",58),t.qZA(),t.qZA(),t.qZA(),t.TgZ(80,\"tr\"),t.TgZ(81,\"td\"),t._uU(82),t.ALo(83,\"translate\"),t.qZA(),t.TgZ(84,\"td\"),t.TgZ(85,\"label\",56),t._UZ(86,\"input\",241),t._UZ(87,\"span\",58),t.qZA(),t.qZA(),t.TgZ(88,\"td\"),t.TgZ(89,\"label\",56),t._UZ(90,\"input\",242),t._UZ(91,\"span\",58),t.qZA(),t.qZA(),t.TgZ(92,\"td\"),t.TgZ(93,\"label\",56),t._UZ(94,\"input\",243),t._UZ(95,\"span\",58),t.qZA(),t.qZA(),t.qZA(),t.qZA(),t.qZA(),t.qZA(),t.qZA(),t.qZA(),t.qZA()}if(2&n){const e=t.oxw(3);t.xp6(7),t.Q6J(\"checked\",e.SwitchPayment),t.xp6(4),t.Q6J(\"formGroup\",e.permissionEasePayment),t.xp6(1),t.Q6J(\"ngClass\",t.VKq(27,St,!e.SwitchPayment)),t.xp6(4),t.Oqu(t.lcZ(17,11,\"permessi\")),t.xp6(3),t.Oqu(t.lcZ(20,13,\"disabilita\")),t.xp6(3),t.Oqu(t.lcZ(23,15,\"visual\")),t.xp6(3),t.Oqu(t.lcZ(26,17,\"visual\")),t.xp6(5),t.Oqu(t.lcZ(31,19,\"modifica\")),t.xp6(5),t.Oqu(t.lcZ(36,21,\"gateway\")),t.xp6(31),t.hij(\"\",t.lcZ(67,23,\"pric\"),\" POS\"),t.xp6(16),t.hij(\"\",t.lcZ(83,25,\"pric\"),\" QrCode\")}}function ng(n,s){if(1&n){const e=t.EpF();t.TgZ(0,\"div\",65),t.TgZ(1,\"div\",171),t.YNc(2,Xd,177,45,\"div\",172),t.YNc(3,tg,157,77,\"div\",173),t.YNc(4,eg,96,29,\"div\",174),t.qZA(),t.TgZ(5,\"div\",101),t.TgZ(6,\"div\"),t.TgZ(7,\"button\",68),t.NdJ(\"click\",function(){return t.CHM(e),t.oxw(2).rewind()}),t._uU(8),t.ALo(9,\"translate\"),t.TgZ(10,\"div\",40),t._UZ(11,\"div\",41),t.qZA(),t.qZA(),t.qZA(),t.TgZ(12,\"div\",72),t._UZ(13,\"div\"),t.TgZ(14,\"div\",72),t._UZ(15,\"div\"),t.TgZ(16,\"button\",73),t.NdJ(\"click\",function(){return t.CHM(e),t.oxw(2).crea()}),t._uU(17),t.ALo(18,\"translate\"),t.TgZ(19,\"div\",40),t._UZ(20,\"div\",41),t.qZA(),t.qZA(),t.qZA(),t.qZA(),t.qZA(),t.qZA()}if(2&n){const e=t.oxw(2);t.Q6J(\"ngClass\",t.VKq(10,re,e.needAnimation(2))),t.xp6(2),t.Q6J(\"ngIf\",e.isAdmin()||(null==e.dataEmpCpoLocal||null==e.dataEmpCpoLocal.permission?null:e.dataEmpCpoLocal.permission.easeApp.enabled)),t.xp6(1),t.Q6J(\"ngIf\",e.isAdmin()||e.dataEmpCpoLocal.emp.permissionEmp.externalRoaming.enabled||e.dataEmpCpoLocal.permission.easeRoaming.enabled),t.xp6(1),t.Q6J(\"ngIf\",e.isAdmin()||(null==e.dataEmpCpoLocal.permission?null:e.dataEmpCpoLocal.permission.easePayments.enabled)),t.xp6(4),t.hij(\" \",t.lcZ(9,6,\"ind\"),\" \"),t.xp6(9),t.hij(\" \",t.lcZ(18,8,\"conferma\"),\" \")}}function og(n,s){if(1&n&&(t.TgZ(0,\"div\",3),t.TgZ(1,\"div\",4),t.TgZ(2,\"div\",5),t.TgZ(3,\"div\",6),t.YNc(4,Ad,188,93,\"div\",7),t.YNc(5,qd,51,37,\"div\",8),t.YNc(6,Hd,151,51,\"div\",8),t.YNc(7,ng,21,12,\"div\",8),t.qZA(),t.qZA(),t.qZA(),t.qZA()),2&n){const e=t.oxw();t.xp6(4),t.Q6J(\"ngIf\",0===e.currentCard&&!e.update),t.xp6(1),t.Q6J(\"ngIf\",e.controlloBase()),t.xp6(1),t.Q6J(\"ngIf\",1===e.currentCard),t.xp6(1),t.Q6J(\"ngIf\",2===e.currentCard)}}let ig=(()=>{class n{constructor(e,o,a,d,h,E){this.dataEmpCpoService=e,this.translate=o,this.authService=a,this.router=d,this.dialog=h,this.notifyService=E,this.isLoading=!0,this.hide1=!0,this.hide2=!0,this.permissions=[],this.dataEmpCpoLocal=JSON.parse(b().get(\"dataEmpCpo\",{decrypt:!0})),this.country=4,this.currentCard=0,this.permessiCPO=!0,this.permessiEMP=!1,this.riempRead=[],this.riemp=[],this.field=[],this.PermBase=!1,this.SwitchMonitor=!1,this.SwitchEaseFleet=!1,this.SwitchEaseAsset=!1,this.SwitchEaseSmartCharging=!1,this.SwitchEaseBilling=!1,this.SwitchEaseApp=!1,this.SwitchEaseRoaming=!1,this.SwitchPayment=!1,this.cpoUserForm=new l.cw({name:new l.NI(\"\",l.kI.required),surname:new l.NI(\"\",l.kI.required),phone:new l.NI(\"\"),password1:new l.NI(\"\",l.kI.required),password2:new l.NI(\"\",l.kI.required),idCpo:new l.NI(\"\"),user:new l.NI(\"\",l.kI.required),email:new l.NI(\"\",l.kI.email),subOperator:new l.NI(!1,l.kI.required)}),this.permissionBaseForm=new l.cw({home:new l.NI(\"\",l.kI.required),bi:new l.NI(\"\",l.kI.required),operator:new l.NI(\"\",l.kI.required),recharge:new l.NI(\"\",l.kI.required)}),this.permissionEaseMonitor=new l.cw({chargePoint:new l.NI(\"\",l.kI.required),coupon:new l.NI(\"\",l.kI.required),map:new l.NI(\"\",l.kI.required),product:new l.NI(\"\",l.kI.required),recharge:new l.NI(\"\",l.kI.required),reserve:new l.NI(\"\",l.kI.required),configuration:new l.NI(\"\",l.kI.required),setChargingProfile:new l.NI(\"\",l.kI.required),sub:new l.NI(\"\",l.kI.required),rfidGroup:new l.NI(\"\",l.kI.required),markupInternalCpo:new l.NI(\"\",l.kI.required),modifyChargepoint:new l.NI(\"\",l.kI.required),chargePointOperations:new l.NI(\"\",l.kI.required),associationPrice:new l.NI(\"\",l.kI.required),canStartCharge:new l.NI(!1,l.kI.required)}),this.permissionEaseFleet=new l.cw({fleet:new l.NI(\"\",l.kI.required),department:new l.NI(\"\",l.kI.required),vehicle:new l.NI(\"\",l.kI.required),rfidGroupFleet:new l.NI(\"\",l.kI.required),wallet:new l.NI(\"\",l.kI.required)}),this.permissionEaseAsset=new l.cw({company:new l.NI(\"\",l.kI.required),contract:new l.NI(\"\",l.kI.required),pod:new l.NI(\"\",l.kI.required),sim:new l.NI(\"\",l.kI.required),location:new l.NI(\"\",l.kI.required),assistance:new l.NI(\"\",l.kI.required)}),this.permissionEaseSmartCharging=new l.cw({cluster:new l.NI(\"\",l.kI.required)}),this.permissionEaseBilling=new l.cw({revenueCpo:new l.NI(\"\",l.kI.required)}),this.permissionEaseApp=new l.cw({support:new l.NI(\"\",l.kI.required),user:new l.NI(\"\",l.kI.required),voucher:new l.NI(\"\",l.kI.required),notifies:new l.NI(\"\",l.kI.required),flat:new l.NI(\"\",l.kI.required),payments:new l.NI(\"\",l.kI.required),additionalInfo:new l.NI(\"\",l.kI.required),apiKey:new l.NI(\"\",l.kI.required),smtp:new l.NI(\"\",l.kI.required),firebaseSettings:new l.NI(\"\",l.kI.required),rfidEmp:new l.NI(\"\",l.kI.required)}),this.permissionEaseRoaming=new l.cw({externalRoaming:new l.NI(\"\",l.kI.required),priceExt:new l.NI(\"\",l.kI.required),reservationsExt:new l.NI(\"\",l.kI.required),rechargeExt:new l.NI(\"\",l.kI.required),internalRoaming:new l.NI(\"\",l.kI.required),priceInt:new l.NI(\"\",l.kI.required),reservationsInt:new l.NI(\"\",l.kI.required),rechargeInt:new l.NI(\"\",l.kI.required),hubject:new l.NI(\"\",l.kI.required)}),this.permissionEasePayment=new l.cw({gateway:new l.NI(\"\",l.kI.required),pos:new l.NI(\"\",l.kI.required),pricePos:new l.NI(\"\",l.kI.required),priceQrCode:new l.NI(\"\",l.kI.required)})}ngOnInit(){this.isLoading=!1;let e=history.state;this.update=e.update,this.user=e.userRegistrationCpo,window.location.href.includes(\"add-operator\")&&window.addEventListener(\"beforeunload\",function(o){var a=\"o/\";return console.log(\"cond\"),o.returnValue=a,console.log(a),a}),null==this.update&&this.router.navigate([\"management/operator\"],{}),this.update&&this.up(),this.innerWidth=window.innerWidth}up(){console.log(this.user.permissions),null!=this.user.permissions&&(this.user.permissions.forEach(e=>{if(e.includes(\"Read\"))switch(e.replace(\"AccessRead\",\"\")){case\"home\":this.permissionBaseForm.get(\"home\").setValue(e),this.PermBase=!0;break;case\"bi\":this.permissionBaseForm.get(\"bi\").setValue(e),this.PermBase=!0;break;case\"operator\":this.permissionBaseForm.get(\"operator\").setValue(e),this.PermBase=!0}}),this.user.permissions.forEach(e=>{if(e.includes(\"Write\"))switch(e.replace(\"AccessWrite\",\"\")){case\"home\":this.permissionBaseForm.get(\"home\").setValue(e);break;case\"bi\":this.permissionBaseForm.get(\"bi\").setValue(e);break;case\"operator\":this.permissionBaseForm.get(\"operator\").setValue(e)}}),this.user.permissions.forEach(e=>{if(\"canStartCharge\"===e&&(this.permissionEaseMonitor.get(\"canStartCharge\").setValue(!0),this.SwitchMonitor=!0),e.includes(\"Read\"))switch(e.replace(\"AccessRead\",\"\")){case\"chargePoint\":this.permissionEaseMonitor.get(\"chargePoint\").setValue(e),this.SwitchMonitor=!0;break;case\"coupon\":this.permissionEaseMonitor.get(\"coupon\").setValue(e),this.SwitchMonitor=!0;break;case\"map\":this.permissionEaseMonitor.get(\"map\").setValue(e),this.SwitchMonitor=!0;break;case\"product\":this.permissionEaseMonitor.get(\"product\").setValue(e),this.SwitchMonitor=!0;break;case\"recharge\":this.permissionEaseMonitor.get(\"recharge\").setValue(e),this.SwitchMonitor=!0;break;case\"reserve\":this.permissionEaseMonitor.get(\"reserve\").setValue(e),this.SwitchMonitor=!0;break;case\"rfidGroup\":this.permissionEaseMonitor.get(\"rfidGroup\").setValue(e),this.SwitchMonitor=!0;break;case\"configuration\":this.permissionEaseMonitor.get(\"configuration\").setValue(e),this.SwitchMonitor=!0;break;case\"setChargingProfile\":this.permissionEaseMonitor.get(\"setChargingProfile\").setValue(e),this.SwitchMonitor=!0;break;case\"markupInternalCpo\":this.permissionEaseMonitor.get(\"markupInternalCpo\").setValue(e),this.SwitchMonitor=!0;break;case\"modifyChargepoint\":this.permissionEaseMonitor.get(\"modifyChargepoint\").setValue(e),this.SwitchMonitor=!0;break;case\"chargePointOperations\":this.permissionEaseMonitor.get(\"chargePointOperations\").setValue(e),this.SwitchMonitor=!0;break;case\"associationPrice\":this.permissionEaseMonitor.get(\"associationPrice\").setValue(e),this.SwitchMonitor=!0;break;case\"sub\":this.permissionEaseMonitor.get(\"sub\").setValue(e),this.SwitchMonitor=!0;break;case\"department\":this.permissionEaseFleet.get(\"department\").setValue(e),this.SwitchEaseFleet=!0;break;case\"vehicle\":this.permissionEaseFleet.get(\"vehicle\").setValue(e),this.SwitchEaseFleet=!0;break;case\"rfidGroupFleet\":this.permissionEaseFleet.get(\"rfidGroupFleet\").setValue(e),this.SwitchEaseFleet=!0;break;case\"wallet\":this.permissionEaseFleet.get(\"wallet\").setValue(e),this.SwitchEaseFleet=!0;break;case\"company\":this.permissionEaseAsset.get(\"company\").setValue(e),this.SwitchEaseAsset=!0;break;case\"contract\":this.permissionEaseAsset.get(\"contract\").setValue(e),this.SwitchEaseAsset=!0;break;case\"pod\":this.permissionEaseAsset.get(\"pod\").setValue(e),this.SwitchEaseAsset=!0;break;case\"sim\":this.permissionEaseAsset.get(\"sim\").setValue(e),this.SwitchEaseAsset=!0;break;case\"location\":this.permissionEaseAsset.get(\"location\").setValue(e),this.SwitchEaseAsset=!0;break;case\"assistance\":this.permissionEaseAsset.get(\"assistance\").setValue(e),this.SwitchEaseAsset=!0;break;case\"cluster\":this.permissionEaseSmartCharging.get(\"cluster\").setValue(e),this.SwitchEaseSmartCharging=!0;break;case\"revenueCpo\":this.permissionEaseBilling.get(\"revenueCpo\").setValue(e),this.SwitchEaseBilling=!0}}),this.user.permissions.forEach(e=>{if(e.includes(\"Write\"))switch(e.replace(\"AccessWrite\",\"\")){case\"chargePoint\":this.permissionEaseMonitor.get(\"chargePoint\").setValue(e);break;case\"coupon\":this.permissionEaseMonitor.get(\"coupon\").setValue(e);break;case\"map\":this.permissionEaseMonitor.get(\"map\").setValue(e);break;case\"product\":this.permissionEaseMonitor.get(\"product\").setValue(e);break;case\"recharge\":this.permissionEaseMonitor.get(\"recharge\").setValue(e);break;case\"reserve\":this.permissionEaseMonitor.get(\"reserve\").setValue(e);break;case\"configuration\":this.permissionEaseMonitor.get(\"configuration\").setValue(e);break;case\"setChargingProfile\":this.permissionEaseMonitor.get(\"setChargingProfile\").setValue(e);break;case\"markupInternalCpo\":this.permissionEaseMonitor.get(\"markupInternalCpo\").setValue(e);break;case\"modifyChargepoint\":this.permissionEaseMonitor.get(\"modifyChargepoint\").setValue(e);break;case\"chargePointOperations\":this.permissionEaseMonitor.get(\"chargePointOperations\").setValue(e);break;case\"associationPrice\":this.permissionEaseMonitor.get(\"associationPrice\").setValue(e);break;case\"sub\":this.permissionEaseMonitor.get(\"sub\").setValue(e);break;case\"rfidGroup\":this.permissionEaseMonitor.get(\"rfidGroup\").setValue(e);break;case\"cluster\":this.permissionEaseSmartCharging.get(\"cluster\").setValue(e);break;case\"revenueCpo\":this.permissionEaseBilling.get(\"revenueCpo\").setValue(e);break;case\"location\":this.permissionEaseAsset.get(\"location\").setValue(e);break;case\"assistance\":this.permissionEaseAsset.get(\"assistance\").setValue(e);break;case\"sim\":this.permissionEaseAsset.get(\"sim\").setValue(e);break;case\"pod\":this.permissionEaseAsset.get(\"pod\").setValue(e);break;case\"contract\":this.permissionEaseAsset.get(\"contract\").setValue(e);break;case\"company\":this.permissionEaseAsset.get(\"company\").setValue(e);break;case\"department\":this.permissionEaseFleet.get(\"department\").setValue(e);break;case\"vehicle\":this.permissionEaseFleet.get(\"vehicle\").setValue(e);break;case\"rfidGroupFleet\":this.permissionEaseFleet.get(\"rfidGroupFleet\").setValue(e);break;case\"wallet\":this.permissionEaseFleet.get(\"wallet\").setValue(e)}}),this.user.permissions.forEach(e=>{if(e.includes(\"Read\"))switch(e.replace(\"AccessRead\",\"\")){case\"priceExt\":this.permissionEaseRoaming.get(\"priceExt\").setValue(e),this.SwitchEaseRoaming=!0;break;case\"reservationsExt\":this.permissionEaseRoaming.get(\"reservationsExt\").setValue(e),this.SwitchEaseRoaming=!0;break;case\"rechargeExt\":this.permissionEaseRoaming.get(\"rechargeExt\").setValue(e),this.SwitchEaseRoaming=!0;break;case\"priceInt\":this.permissionEaseRoaming.get(\"priceInt\").setValue(e),this.SwitchEaseRoaming=!0;break;case\"reservationsInt\":this.permissionEaseRoaming.get(\"reservationsInt\").setValue(e),this.SwitchEaseRoaming=!0;break;case\"rechargeInt\":this.permissionEaseRoaming.get(\"rechargeInt\").setValue(e),this.SwitchEaseRoaming=!0;break;case\"hubject\":this.permissionEaseRoaming.get(\"hubject\").setValue(e),this.SwitchEaseRoaming=!0;break;case\"gateway\":this.permissionEasePayment.get(\"gateway\").setValue(e),this.SwitchPayment=!0;break;case\"pos\":this.permissionEasePayment.get(\"pos\").setValue(e),this.SwitchPayment=!0;break;case\"pricePos\":this.permissionEasePayment.get(\"pricePos\").setValue(e),this.SwitchPayment=!0;break;case\"priceQrCode\":this.permissionEasePayment.get(\"priceQrCode\").setValue(e),this.SwitchPayment=!0;break;case\"flat\":this.permissionEaseApp.get(\"flat\").setValue(e),this.SwitchEaseApp=!0;break;case\"payments\":this.permissionEaseApp.get(\"payments\").setValue(e),this.SwitchEaseApp=!0;break;case\"support\":this.permissionEaseApp.get(\"support\").setValue(e),this.SwitchEaseApp=!0;break;case\"user\":this.permissionEaseApp.get(\"user\").setValue(e),this.SwitchEaseApp=!0;break;case\"voucher\":this.permissionEaseApp.get(\"voucher\").setValue(e),this.SwitchEaseApp=!0;break;case\"notifies\":this.permissionEaseApp.get(\"notifies\").setValue(e);break;case\"apiKey\":this.permissionEaseApp.get(\"apiKey\").setValue(e),this.SwitchPayment=!0;break;case\"smtp\":this.permissionEaseApp.get(\"smtp\").setValue(e),this.SwitchPayment=!0;break;case\"firebaseSettings\":this.permissionEaseApp.get(\"firebaseSettings\").setValue(e),this.SwitchPayment=!0;break;case\"rfidEmp\":this.permissionEaseApp.get(\"rfidEmp\").setValue(e);break;case\"additionalInfo\":this.permissionEaseApp.get(\"additionalInfo\").setValue(e)}}),this.user.permissions.forEach(e=>{if(e.includes(\"Write\"))switch(e.replace(\"AccessWrite\",\"\")){case\"externalRoaming\":this.permissionEaseRoaming.get(\"externalRoaming\").setValue(e);break;case\"priceExt\":this.permissionEaseRoaming.get(\"priceExt\").setValue(e);break;case\"reservationsExt\":this.permissionEaseRoaming.get(\"reservationsExt\").setValue(e);break;case\"rechargeExt\":this.permissionEaseRoaming.get(\"rechargeExt\").setValue(e);break;case\"internalRoaming\":this.permissionEaseRoaming.get(\"internalRoaming\").setValue(e);break;case\"priceInt\":this.permissionEaseRoaming.get(\"priceInt\").setValue(e);break;case\"reservationsInt\":this.permissionEaseRoaming.get(\"reservationsInt\").setValue(e);break;case\"rechargeInt\":this.permissionEaseRoaming.get(\"rechargeInt\").setValue(e);break;case\"hubject\":this.permissionEaseRoaming.get(\"hubject\").setValue(e);break;case\"gateway\":this.permissionEasePayment.get(\"gateway\").setValue(e);break;case\"pos\":this.permissionEasePayment.get(\"pos\").setValue(e);break;case\"pricePos\":this.permissionEasePayment.get(\"pricePos\").setValue(e);break;case\"priceQrCode\":this.permissionEasePayment.get(\"priceQrCode\").setValue(e);break;case\"flat\":this.permissionEaseApp.get(\"flat\").setValue(e);break;case\"payments\":this.permissionEaseApp.get(\"payments\").setValue(e);break;case\"support\":this.permissionEaseApp.get(\"support\").setValue(e);break;case\"user\":this.permissionEaseApp.get(\"user\").setValue(e);break;case\"voucher\":this.permissionEaseApp.get(\"voucher\").setValue(e);break;case\"apiKey\":this.permissionEaseApp.get(\"apiKey\").setValue(e);break;case\"smtp\":this.permissionEaseApp.get(\"smtp\").setValue(e);break;case\"notifies\":this.permissionEaseApp.get(\"notifies\").setValue(e);break;case\"firebaseSettings\":this.permissionEaseApp.get(\"firebaseSettings\").setValue(e);break;case\"rfidEmp\":this.permissionEaseApp.get(\"rfidEmp\").setValue(e);break;case\"additionalInfo\":this.permissionEaseApp.get(\"additionalInfo\").setValue(e)}}))}isValidPassword(){return this.cpoUserForm.value.password1===this.cpoUserForm.value.password2}pswErrorMsg(){this.notifyService.showWarning(this.translate.instant(\"pass_err\"),this.translate.instant(\"att\"))}permission(){return this.authService.user.permissions}crea(){return(0,C.mG)(this,void 0,void 0,function*(){if(this.cpoUserForm.valid||this.update){for(let e of Object.keys(this.permissionBaseForm.value)){let o=\"\";o=this.permissionBaseForm.value[e],\"\"!=o&&(this.field.push(o),o.includes(\"Write\")&&(o=o.replace(\"AccessWrite\",\"AccessRead\"),this.field.push(o)))}for(let e of Object.keys(this.permissionEaseMonitor.value)){let o=\"\";\"canStartCharge\"===e?this.permissionEaseMonitor.value[e]&&(o=e):o=this.permissionEaseMonitor.value[e],console.log(o),\"\"!=o&&(this.field.push(o),o.includes(\"Write\")&&(o=o.replace(\"AccessWrite\",\"AccessRead\"),this.field.push(o)))}for(let e of Object.keys(this.permissionEaseApp.value)){let o=this.permissionEaseApp.value[e];\"\"!=o&&(this.field.push(o),o.includes(\"Write\")&&(o=o.replace(\"AccessWrite\",\"AccessRead\"),this.field.push(o)))}for(let e of Object.keys(this.permissionEasePayment.value)){let o=this.permissionEasePayment.value[e];\"\"!=o&&(this.field.push(o),o.includes(\"Write\")&&(o=o.replace(\"AccessWrite\",\"AccessRead\"),this.field.push(o)))}for(let e of Object.keys(this.permissionEaseFleet.value)){let o=this.permissionEaseFleet.value[e];\"\"!=o&&(this.field.push(o),o.includes(\"Write\")&&(o=o.replace(\"AccessWrite\",\"AccessRead\"),this.field.push(o)))}for(let e of Object.keys(this.permissionEaseSmartCharging.value)){let o=this.permissionEaseSmartCharging.value[e];\"\"!=o&&(this.field.push(o),o.includes(\"Write\")&&(o=o.replace(\"AccessWrite\",\"AccessRead\"),this.field.push(o)))}for(let e of Object.keys(this.permissionEaseRoaming.value)){let o=this.permissionEaseRoaming.value[e];\"\"!=o&&(this.field.push(o),o.includes(\"Write\")&&(o=o.replace(\"AccessWrite\",\"AccessRead\"),this.field.push(o)))}for(let e of Object.keys(this.permissionEaseAsset.value)){let o=this.permissionEaseAsset.value[e];\"\"!=o&&(this.field.push(o),o.includes(\"Write\")&&(o=o.replace(\"AccessWrite\",\"AccessRead\"),this.field.push(o)))}for(let e of Object.keys(this.permissionEaseBilling.value)){let o=this.permissionEaseBilling.value[e];\"\"!=o&&(this.field.push(o),o.includes(\"Write\")&&(o=o.replace(\"AccessWrite\",\"AccessRead\"),this.field.push(o)))}if(this.isValidPassword())if(this.update)this.dataEmpCpoService.updateOperator(this.user.id,this.field).toPromise().then(()=>{this.notifyService.showSuccess(this.translate.instant(\"up_operatore\"),this.translate.instant(\"conferma_invio\")),this.router.navigate([\"management/portal-settings\"],{})}).catch(e=>{this.notifyService.showError(this.listOfError(e.message),this.translate.instant(\"errore\")),console.error(e.message)});else{let e=this.cpoUserForm.value;e.permissions=this.field,this.dataEmpCpoService.createOperator(e).toPromise().then(()=>{this.notifyService.showSuccess(this.translate.instant(\"crea_operatore\"),this.translate.instant(\"conferma_invio\")),this.router.navigate([\"management/portal-settings\"],{})}).catch(o=>{this.notifyService.showError(this.listOfError(o.message),this.translate.instant(\"errore\")),console.error(o.message)})}else this.pswErrorMsg()}else this.notifyService.showWarning(this.translate.instant(\"form_non_comp\"),this.translate.instant(\"att\"))})}rewind(){this.currentCard--}next(){console.log(this.currentCard),this.currentCard++}needAnimation(e){return e===this.currentCard}profilo(e){switch(console.log(e),this.permissionEaseMonitor.reset(),this.permissionEaseFleet.reset(),this.permissionEaseAsset.reset(),this.permissionEaseSmartCharging.reset(),this.permissionEaseBilling.reset(),this.permissionEasePayment.reset(),this.permissionEaseRoaming.reset(),e){case\"Base\":this.PermBase=!0,this.permissionBaseForm.get(\"operator\").setValue(\"operatorAccessWrite\"),this.permissionBaseForm.get(\"home\").setValue(\"homeAccessRead\"),this.permissionBaseForm.get(\"bi\").setValue(\"biAccessRead\");break;case\"All\":for(let o of Object.keys(this.permissionEaseMonitor.value))this.permissionEaseMonitor.get(o).setValue(o+\"AccessWrite\");for(let o of Object.keys(this.permissionEaseFleet.value))this.permissionEaseFleet.get(o).setValue(o+\"AccessWrite\");for(let o of Object.keys(this.permissionEaseSmartCharging.value))this.permissionEaseSmartCharging.get(o).setValue(o+\"AccessWrite\");for(let o of Object.keys(this.permissionEaseAsset.value))this.permissionEaseAsset.get(o).setValue(o+\"AccessWrite\");for(let o of Object.keys(this.permissionEaseBilling.value))this.permissionEaseBilling.get(o).setValue(o+\"AccessWrite\");for(let o of Object.keys(this.permissionEaseApp.value))this.permissionEaseApp.get(o).setValue(o+\"AccessWrite\");for(let o of Object.keys(this.permissionEaseRoaming.value))this.permissionEaseRoaming.get(o).setValue(o+\"AccessWrite\");for(let o of Object.keys(this.permissionEasePayment.value))this.permissionEasePayment.get(o).setValue(o+\"AccessWrite\");this.allTrue(!0),this.permissionBaseForm.get(\"operator\").setValue(\"operatorAccessWrite\"),this.permissionBaseForm.get(\"home\").setValue(\"homeAccessRead\"),this.permissionBaseForm.get(\"bi\").setValue(\"biAccessRead\");break;case\"Nessuno\":this.allTrue(!1),this.permissionBaseForm.get(\"operator\").setValue(\"\"),this.permissionBaseForm.get(\"home\").setValue(\"\"),this.permissionBaseForm.get(\"bi\").setValue(\"\");for(let o of Object.keys(this.permissionEaseMonitor.value))this.permissionEaseMonitor.get(o).setValue(\"\");for(let o of Object.keys(this.permissionEaseFleet.value))this.permissionEaseFleet.get(o).setValue(\"\");for(let o of Object.keys(this.permissionEaseSmartCharging.value))this.permissionEaseSmartCharging.get(o).setValue(\"\");for(let o of Object.keys(this.permissionEaseAsset.value))this.permissionEaseAsset.get(o).setValue(\"\");for(let o of Object.keys(this.permissionEaseBilling.value))this.permissionEaseBilling.get(o).setValue(\"\");for(let o of Object.keys(this.permissionEaseApp.value))this.permissionEaseApp.get(o).setValue(\"\");for(let o of Object.keys(this.permissionEaseRoaming.value))this.permissionEaseRoaming.get(o).setValue(\"\");for(let o of Object.keys(this.permissionEasePayment.value))this.permissionEasePayment.get(o).setValue(\"\")}}allTrue(e){this.PermBase=e,this.SwitchMonitor=e,this.SwitchEaseFleet=e,this.SwitchEaseAsset=e,this.SwitchEaseSmartCharging=e,this.SwitchEaseBilling=e,this.SwitchEaseApp=e,this.SwitchEaseRoaming=e,this.SwitchPayment=e}controlloBase(){return!(0!=this.currentCard||!this.update)}rewindOperator(){this.router.navigate([\"management/operator\"],{})}check(e){switch(e){case\"PermBase\":this.checkboxPermBase.nativeElement.checked?(console.log(this.PermBase),this.PermBase=!0):(this.PermBase=!1,this.permissionBaseForm.get(\"home\").setValue(\"\"),this.permissionBaseForm.get(\"bi\").setValue(\"\"),this.permissionBaseForm.get(\"operator\").setValue(\"\"));break;case\"SwitchMonitor\":this.checkboxMonitor.nativeElement.checked?this.SwitchMonitor=!0:(this.SwitchMonitor=!1,this.permissionEaseMonitor.get(\"chargePoint\").setValue(\"\"),this.permissionEaseMonitor.get(\"coupon\").setValue(\"\"),this.permissionEaseMonitor.get(\"map\").setValue(\"\"),this.permissionEaseMonitor.get(\"product\").setValue(\"\"),this.permissionEaseMonitor.get(\"recharge\").setValue(\"\"),this.permissionEaseMonitor.get(\"reserve\").setValue(\"\"),this.permissionEaseMonitor.get(\"roaming\").setValue(\"\"),this.permissionEaseMonitor.get(\"rfidGroup\").setValue(\"\"),this.permissionEaseMonitor.get(\"configuration\").setValue(\"\"),this.permissionEaseMonitor.get(\"setChargingProfile\").setValue(\"\"),this.permissionEaseMonitor.get(\"markupInternalCpo\").setValue(\"\"),this.permissionEaseMonitor.get(\"modifyChargepoint\").setValue(\"\"),this.permissionEaseMonitor.get(\"chargePointOperations\").setValue(\"\"),this.permissionEaseMonitor.get(\"sub\").setValue(\"\"));break;case\"SwitchEaseFleet\":this.checkboxEaseFleet.nativeElement.checked?this.SwitchEaseFleet=!0:(this.permissionEaseFleet.get(\"department\").setValue(\"\"),this.permissionEaseFleet.get(\"vehicle\").setValue(\"\"),this.permissionEaseFleet.get(\"rfidGroupFleet\").setValue(\"\"),this.permissionEaseFleet.get(\"wallet\").setValue(\"\"),this.SwitchEaseFleet=!1);break;case\"SwitchEaseAsset\":this.checkboxEaseAsset.nativeElement.checked?this.SwitchEaseAsset=!0:(this.permissionEaseAsset.get(\"location\").setValue(\"\"),this.permissionEaseAsset.get(\"assistance\").setValue(\"\"),this.permissionEaseAsset.get(\"sim\").setValue(\"\"),this.permissionEaseAsset.get(\"pod\").setValue(\"\"),this.permissionEaseAsset.get(\"contract\").setValue(\"\"),this.permissionEaseAsset.get(\"company\").setValue(\"\"),this.SwitchEaseAsset=!1);break;case\"SwitchEaseSmartCharging\":this.checkboxSmartCharging.nativeElement.checked?this.SwitchEaseSmartCharging=!0:(this.permissionEaseSmartCharging.get(\"cluster\").setValue(\"\"),this.SwitchEaseSmartCharging=!1);break;case\"SwitchEaseBilling\":this.checkboxEaseBilling.nativeElement.checked?this.SwitchEaseBilling=!0:(this.permissionEaseBilling.get(\"revenueCpo\").setValue(\"\"),this.SwitchEaseBilling=!1);break;case\"SwitchEaseApp\":this.checkboxEaseApp.nativeElement.checked?this.SwitchEaseApp=!0:(this.permissionEaseApp.get(\"voucher\").setValue(\"\"),this.permissionEaseApp.get(\"user\").setValue(\"\"),this.permissionEaseApp.get(\"support\").setValue(\"\"),this.permissionEaseApp.get(\"flat\").setValue(\"\"),this.permissionEaseApp.get(\"payments\").setValue(\"\"),this.permissionEaseApp.get(\"additionalInfo\").setValue(\"\"),this.permissionEaseApp.get(\"apiKey\").setValue(\"\"),this.permissionEaseApp.get(\"smtp\").setValue(\"\"),this.permissionEaseApp.get(\"firebaseSettings\").setValue(\"\"),this.permissionEaseApp.get(\"rfidEmp\").setValue(\"\"),this.SwitchEaseApp=!1);break;case\"SwitchEaseRoaming\":this.checkboxEaseRoaming.nativeElement.checked?this.SwitchEaseRoaming=!0:(this.permissionEaseRoaming.get(\"priceExt\").setValue(\"\"),this.permissionEaseRoaming.get(\"reservationsExt\").setValue(\"\"),this.permissionEaseRoaming.get(\"rechargeExt\").setValue(\"\"),this.permissionEaseRoaming.get(\"priceInt\").setValue(\"\"),this.permissionEaseRoaming.get(\"reservationsInt\").setValue(\"\"),this.permissionEaseRoaming.get(\"rechargeInt\").setValue(\"\"),this.permissionEaseRoaming.get(\"hubject\").setValue(\"\"),this.SwitchEaseRoaming=!1);break;case\"SwitchPayment\":this.checkboxEasePayment.nativeElement.checked?this.SwitchPayment=!0:(this.permissionEasePayment.get(\"gateway\").setValue(\"\"),this.permissionEasePayment.get(\"pos\").setValue(\"\"),this.permissionEasePayment.get(\"pricePos\").setValue(\"\"),this.permissionEasePayment.get(\"priceQrCode\").setValue(\"\"),this.SwitchPayment=!1)}}listOfError(e){switch(e){case\"User with same email already present\":return this.currentCard=0,this.translate.instant(\"email_esistente\");case\"Cpo not found\":return this.translate.instant(\"cpo_not_found\");case\"No main CPO found\":return this.translate.instant(\"main_not_found\");default:return this.translate.instant(\"semplice_err\")}}isAdmin(){return!0}}return n.\\u0275fac=function(e){return new(e||n)(t.Y36(ie.c),t.Y36(U.sK),t.Y36(F.e),t.Y36(N.F0),t.Y36(O.uw),t.Y36(K.m))},n.\\u0275cmp=t.Xpm({type:n,selectors:[[\"app-add-operator\"]],viewQuery:function(e,o){if(1&e&&(t.Gf(rd,5),t.Gf(sd,5),t.Gf(ld,5),t.Gf(cd,5),t.Gf(pd,5),t.Gf(dd,5),t.Gf(gd,5),t.Gf(md,5),t.Gf(ud,5)),2&e){let a;t.iGM(a=t.CRH())&&(o.checkboxPermBase=a.first),t.iGM(a=t.CRH())&&(o.checkboxMonitor=a.first),t.iGM(a=t.CRH())&&(o.checkboxEaseFleet=a.first),t.iGM(a=t.CRH())&&(o.checkboxEaseAsset=a.first),t.iGM(a=t.CRH())&&(o.checkboxSmartCharging=a.first),t.iGM(a=t.CRH())&&(o.checkboxEaseBilling=a.first),t.iGM(a=t.CRH())&&(o.checkboxEaseApp=a.first),t.iGM(a=t.CRH())&&(o.checkboxEaseRoaming=a.first),t.iGM(a=t.CRH())&&(o.checkboxEasePayment=a.first)}},decls:4,vars:2,consts:[[\"rel\",\"stylesheet\",\"href\",\"https://cdnjs.cloudflare.com/ajax/libs/animate.css/4.1.1/animate.min.css\"],[4,\"ngIf\",\"ngIfElse\"],[\"main\",\"\"],[1,\"content-body\"],[1,\"container-fluid\",\"default-mt-btn\",\"default-mt-table\",\"default-mt-select\",\"default-autocomplete\",\"default-mt-spinner\"],[1,\"header-cell\",\"top\"],[\"ngbDropdown\",\"\",1,\"d\",2,\"overflow\",\"auto\"],[\"class\",\"grid-double\",3,\"ngClass\",4,\"ngIf\"],[3,\"ngClass\",4,\"ngIf\"],[1,\"grid-double\",3,\"ngClass\"],[1,\"div1\"],[1,\"card\"],[1,\"card-header\",\"d-block\"],[1,\"fs-32\",\"card-title\",\"left\",\"text-black\"],[1,\"card-body\",2,\"padding-top\",\"2rem\",\"content-visibility\",\"auto\"],[3,\"formGroup\"],[1,\"center\"],[1,\"fas\",\"fa-id-badge\"],[\"appearance\",\"outline\",1,\"w70\"],[\"type\",\"text\",\"matInput\",\"\",\"formControlName\",\"user\",\"autocomplete\",\"off\",\"readonly\",\"\",\"onfocus\",\"this.removeAttribute('readonly');\",\"required\",\"\"],[4,\"ngIf\"],[1,\"grid33\"],[1,\"fas\",\"fa-address-card\"],[\"type\",\"text\",\"matInput\",\"\",\"formControlName\",\"name\",\"required\",\"\"],[\"type\",\"text\",\"matInput\",\"\",\"formControlName\",\"surname\",\"required\",\"\"],[1,\"fas\",\"fa-phone\"],[\"matInput\",\"\",\"type\",\"tel\",\"formControlName\",\"phone\"],[1,\"fas\",\"fa-mail-bulk\"],[\"matInput\",\"\",\"type\",\"email\",\"formControlName\",\"email\",\"required\",\"\"],[1,\"fas\",\"fa-key\"],[\"appearance\",\"outline\",1,\"w70\",3,\"formGroup\"],[\"matInput\",\"\",\"formControlName\",\"password1\",\"autocomplete\",\"off\",\"readonly\",\"\",\"onfocus\",\"this.removeAttribute('readonly');\",\"required\",\"\",3,\"type\"],[\"matSuffix\",\"\",1,\"click\",3,\"click\"],[\"matInput\",\"\",\"formControlName\",\"password2\",\"autocomplete\",\"off\",\"readonly\",\"\",\"onfocus\",\"this.removeAttribute('readonly');\",\"required\",\"\",3,\"type\"],[1,\"checkbox-wrapper-13\",2,\"padding-bottom\",\"3%\"],[2,\"padding-top\",\"1.5%\"],[\"type\",\"checkbox\",\"formControlName\",\"subOperator\"],[1,\"textRight\"],[1,\"buttonNext\",2,\"border-radius\",\"13px\",\"padding\",\"2% 2%\",3,\"click\"],[2,\"size\",\"20px\"],[1,\"arrow-wrapper\"],[1,\"arrow\"],[1,\"div2\"],[1,\"card\",2,\"height\",\"fit-content\"],[1,\"card-body\"],[\"appearance\",\"outline\",1,\"w40\",2,\"padding-top\",\"4%\"],[\"required\",\"\"],[\"value\",\"Nessuna\",3,\"click\"],[1,\"div3\"],[1,\"endCard\"],[1,\"switch\"],[\"type\",\"checkbox\",3,\"checked\",\"click\"],[\"checkboxPermBase\",\"\"],[1,\"slider\"],[1,\"table\",3,\"ngClass\"],[1,\"padding_32\"],[1,\"radio-label\"],[\"type\",\"radio\",\"formControlName\",\"home\",\"value\",\"\"],[1,\"checkmark\"],[\"type\",\"radio\",\"formControlName\",\"home\",\"value\",\"homeAccessRead\"],[\"type\",\"radio\",\"formControlName\",\"bi\",\"value\",\"\"],[\"type\",\"radio\",\"formControlName\",\"bi\",\"value\",\"biAccessRead\"],[\"type\",\"radio\",\"formControlName\",\"operator\",\"value\",\"\"],[\"type\",\"radio\",\"formControlName\",\"operator\",\"value\",\"operatorAccessRead\"],[\"type\",\"radio\",\"formControlName\",\"operator\",\"value\",\"operatorAccessWrite\"],[3,\"ngClass\"],[2,\"font-size\",\"60px\",\"color\",\"#009999\",\"text-align\",\"initial\"],[1,\"grid_two\"],[1,\"buttonRewind\",3,\"click\"],[\"style\",\"justify-self: flex-end;\",4,\"ngIf\"],[\"class\",\"next_crea\",\"style\",\"justify-self: self-end;\",4,\"ngIf\"],[\"type\",\"radio\",\"formControlName\",\"bi\",\"value\",\"biAccessWrite\"],[2,\"justify-self\",\"flex-end\"],[1,\"buttonNext\",2,\"justify-self\",\"self-end\",3,\"click\"],[1,\"next_crea\",2,\"justify-self\",\"self-end\"],[1,\"buttonNext\",3,\"click\"],[1,\"grid_permCPO\"],[\"class\",\"div4\",4,\"ngIf\"],[\"class\",\"div5\",4,\"ngIf\"],[1,\"div6\"],[\"checkboxEaseAsset\",\"\"],[\"type\",\"radio\",\"formControlName\",\"company\",\"value\",\"\"],[\"type\",\"radio\",\"formControlName\",\"company\",\"value\",\"companyAccessRead\"],[\"type\",\"radio\",\"formControlName\",\"company\",\"value\",\"companyAccessWrite\"],[\"type\",\"radio\",\"formControlName\",\"contract\",\"value\",\"\"],[\"type\",\"radio\",\"formControlName\",\"contract\",\"value\",\"contractAccessRead\"],[\"type\",\"radio\",\"formControlName\",\"contract\",\"value\",\"contractAccessWrite\"],[\"type\",\"radio\",\"formControlName\",\"pod\",\"value\",\"\"],[\"type\",\"radio\",\"formControlName\",\"pod\",\"value\",\"podAccessRead\"],[\"type\",\"radio\",\"formControlName\",\"pod\",\"value\",\"podAccessWrite\"],[\"type\",\"radio\",\"formControlName\",\"sim\",\"value\",\"\"],[\"type\",\"radio\",\"formControlName\",\"sim\",\"value\",\"simAccessRead\"],[\"type\",\"radio\",\"formControlName\",\"sim\",\"value\",\"simAccessWrite\"],[\"type\",\"radio\",\"formControlName\",\"location\",\"value\",\"\"],[\"type\",\"radio\",\"formControlName\",\"location\",\"value\",\"locationAccessRead\"],[\"type\",\"radio\",\"formControlName\",\"location\",\"value\",\"locationAccessWrite\"],[\"type\",\"radio\",\"formControlName\",\"assistance\",\"value\",\"\"],[\"type\",\"radio\",\"formControlName\",\"assistance\",\"value\",\"assistanceAccessRead\"],[\"type\",\"radio\",\"formControlName\",\"assistance\",\"value\",\"assistanceAccessWrite\"],[\"class\",\"div7\",4,\"ngIf\"],[\"class\",\"div8\",4,\"ngIf\"],[1,\"box\",2,\"grid-template-columns\",\"repeat(2, 1fr)\"],[1,\"div4\"],[\"checkboxMonitor\",\"\"],[\"type\",\"radio\",\"formControlName\",\"chargePoint\",\"value\",\"\"],[\"type\",\"radio\",\"formControlName\",\"chargePoint\",\"value\",\"chargePointAccessRead\"],[\"type\",\"radio\",\"formControlName\",\"chargePoint\",\"value\",\"chargePointAccessWrite\"],[\"type\",\"radio\",\"formControlName\",\"sub\",\"value\",\"\"],[\"type\",\"radio\",\"formControlName\",\"sub\",\"value\",\"subAccessRead\"],[\"type\",\"radio\",\"formControlName\",\"sub\",\"value\",\"subAccessWrite\"],[\"type\",\"radio\",\"formControlName\",\"associationPrice\",\"value\",\"\"],[\"type\",\"radio\",\"formControlName\",\"associationPrice\",\"value\",\"associationPriceAccessRead\"],[\"type\",\"radio\",\"formControlName\",\"associationPrice\",\"value\",\"associationPriceAccessWrite\"],[\"formControlName\",\"canStartCharge\",\"type\",\"checkbox\"],[\"type\",\"radio\",\"formControlName\",\"coupon\",\"value\",\"\"],[\"type\",\"radio\",\"formControlName\",\"coupon\",\"value\",\"couponAccessRead\"],[\"type\",\"radio\",\"formControlName\",\"coupon\",\"value\",\"couponAccessWrite\"],[\"type\",\"radio\",\"formControlName\",\"map\",\"value\",\"\"],[\"type\",\"radio\",\"formControlName\",\"map\",\"value\",\"mapAccessRead\"],[\"type\",\"radio\",\"formControlName\",\"map\",\"value\",\"mapAccessWrite\"],[\"type\",\"radio\",\"formControlName\",\"product\",\"value\",\"\"],[\"type\",\"radio\",\"formControlName\",\"product\",\"value\",\"productAccessRead\"],[\"type\",\"radio\",\"formControlName\",\"product\",\"value\",\"productAccessWrite\"],[\"type\",\"radio\",\"formControlName\",\"recharge\",\"value\",\"\"],[\"type\",\"radio\",\"formControlName\",\"recharge\",\"value\",\"rechargeAccessRead\"],[\"type\",\"radio\",\"formControlName\",\"recharge\",\"value\",\"rechargeAccessWrite\"],[\"type\",\"radio\",\"formControlName\",\"reserve\",\"value\",\"\"],[\"type\",\"radio\",\"formControlName\",\"reserve\",\"value\",\"reserveAccessRead\"],[\"type\",\"radio\",\"formControlName\",\"reserve\",\"value\",\"reserveAccessWrite\"],[\"type\",\"radio\",\"formControlName\",\"rfidGroup\",\"value\",\"\"],[\"type\",\"radio\",\"formControlName\",\"rfidGroup\",\"value\",\"rfidGroupAccessRead\"],[\"type\",\"radio\",\"formControlName\",\"rfidGroup\",\"value\",\"rfidGroupAccessWrite\"],[\"type\",\"radio\",\"formControlName\",\"configuration\",\"value\",\"\"],[\"type\",\"radio\",\"formControlName\",\"configuration\",\"value\",\"configurationAccessRead\"],[\"type\",\"radio\",\"formControlName\",\"configuration\",\"value\",\"configurationAccessWrite\"],[\"type\",\"radio\",\"formControlName\",\"setChargingProfile\",\"value\",\"\"],[\"type\",\"radio\",\"formControlName\",\"setChargingProfile\",\"value\",\"setChargingProfileAccessRead\"],[\"type\",\"radio\",\"formControlName\",\"setChargingProfile\",\"value\",\"setChargingProfileAccessWrite\"],[\"type\",\"radio\",\"formControlName\",\"markupInternalCpo\",\"value\",\"\"],[\"type\",\"radio\",\"formControlName\",\"markupInternalCpo\",\"value\",\"markupInternalCpoAccessRead\"],[\"type\",\"radio\",\"formControlName\",\"markupInternalCpo\",\"value\",\"markupInternalCpoAccessWrite\"],[\"type\",\"radio\",\"formControlName\",\"modifyChargepoint\",\"value\",\"\"],[\"type\",\"radio\",\"formControlName\",\"modifyChargepoint\",\"value\",\"modifyChargepointAccessRead\"],[\"type\",\"radio\",\"formControlName\",\"modifyChargepoint\",\"value\",\"modifyChargepointAccessWrite\"],[\"type\",\"radio\",\"formControlName\",\"chargePointOperations\",\"value\",\"\"],[\"type\",\"radio\",\"formControlName\",\"chargePointOperations\",\"value\",\"chargePointOperationsAccessRead\"],[\"type\",\"radio\",\"formControlName\",\"chargePointOperations\",\"value\",\"chargePointOperationsAccessWrite\"],[1,\"div5\"],[\"checkboxEaseFleet\",\"\"],[\"type\",\"radio\",\"formControlName\",\"department\",\"value\",\"\"],[\"type\",\"radio\",\"formControlName\",\"department\",\"value\",\"departmentAccessRead\"],[\"type\",\"radio\",\"formControlName\",\"department\",\"value\",\"departmentAccessWrite\"],[\"type\",\"radio\",\"formControlName\",\"vehicle\",\"value\",\"\"],[\"type\",\"radio\",\"formControlName\",\"vehicle\",\"value\",\"vehicleAccessRead\"],[\"type\",\"radio\",\"formControlName\",\"vehicle\",\"value\",\"vehicleAccessWrite\"],[\"type\",\"radio\",\"formControlName\",\"rfidGroupFleet\",\"value\",\"\"],[\"type\",\"radio\",\"formControlName\",\"rfidGroupFleet\",\"value\",\"rfidGroupFleetAccessRead\"],[\"type\",\"radio\",\"formControlName\",\"rfidGroupFleet\",\"value\",\"rfidGroupFleetAccessWrite\"],[\"type\",\"radio\",\"formControlName\",\"wallet\",\"value\",\"\"],[\"type\",\"radio\",\"formControlName\",\"wallet\",\"value\",\"walletAccessRead\"],[\"type\",\"radio\",\"formControlName\",\"wallet\",\"value\",\"walletAccessWrite\"],[1,\"div7\"],[\"checkboxSmartCharging\",\"\"],[\"type\",\"radio\",\"formControlName\",\"cluster\",\"value\",\"\"],[\"type\",\"radio\",\"formControlName\",\"cluster\",\"value\",\"clusterAccessRead\"],[\"type\",\"radio\",\"formControlName\",\"cluster\",\"value\",\"clusterAccessWrite\"],[1,\"div8\"],[\"checkboxEaseBilling\",\"\"],[\"type\",\"radio\",\"formControlName\",\"revenueCpo\",\"value\",\"\"],[\"type\",\"radio\",\"formControlName\",\"revenueCpo\",\"value\",\"revenueCpoAccessRead\"],[\"type\",\"radio\",\"formControlName\",\"revenueCpo\",\"value\",\"revenueCpoAccessWrite\"],[1,\"grid_permEmp\"],[\"class\",\"div11\",4,\"ngIf\"],[\"class\",\"div12\",4,\"ngIf\"],[\"class\",\"div13\",4,\"ngIf\"],[1,\"div11\"],[\"checkboxEaseApp\",\"\"],[\"type\",\"radio\",\"formControlName\",\"support\",\"value\",\"\"],[\"type\",\"radio\",\"formControlName\",\"support\",\"value\",\"supportAccessRead\"],[\"type\",\"radio\",\"formControlName\",\"support\",\"value\",\"supportAccessWrite\"],[\"type\",\"radio\",\"formControlName\",\"user\",\"value\",\"\"],[\"type\",\"radio\",\"formControlName\",\"user\",\"value\",\"userAccessRead\"],[\"type\",\"radio\",\"formControlName\",\"user\",\"value\",\"userAccessWrite\"],[\"type\",\"radio\",\"formControlName\",\"voucher\",\"value\",\"\"],[\"type\",\"radio\",\"formControlName\",\"voucher\",\"value\",\"voucherAccessRead\"],[\"type\",\"radio\",\"formControlName\",\"voucher\",\"value\",\"voucherAccessWrite\"],[\"type\",\"radio\",\"formControlName\",\"flat\",\"value\",\"\"],[\"type\",\"radio\",\"formControlName\",\"flat\",\"value\",\"flatAccessRead\"],[\"type\",\"radio\",\"formControlName\",\"flat\",\"value\",\"flatAccessWrite\"],[\"type\",\"radio\",\"formControlName\",\"payments\",\"value\",\"\"],[\"type\",\"radio\",\"formControlName\",\"payments\",\"value\",\"paymentsAccessRead\"],[\"type\",\"radio\",\"formControlName\",\"payments\",\"value\",\"paymentsAccessWrite\"],[\"type\",\"radio\",\"formControlName\",\"apiKey\",\"value\",\"\"],[\"type\",\"radio\",\"formControlName\",\"apiKey\",\"value\",\"apiKeyAccessRead\"],[\"type\",\"radio\",\"formControlName\",\"apiKey\",\"value\",\"apiKeyAccessWrite\"],[\"type\",\"radio\",\"formControlName\",\"smtp\",\"value\",\"\"],[\"type\",\"radio\",\"formControlName\",\"smtp\",\"value\",\"smtpAccessRead\"],[\"type\",\"radio\",\"formControlName\",\"smtp\",\"value\",\"smtpAccessWrite\"],[\"type\",\"radio\",\"formControlName\",\"firebaseSettings\",\"value\",\"\"],[\"type\",\"radio\",\"formControlName\",\"firebaseSettings\",\"value\",\"firebaseSettingsAccessRead\"],[\"type\",\"radio\",\"formControlName\",\"firebaseSettings\",\"value\",\"firebaseSettingsAccessWrite\"],[\"type\",\"radio\",\"formControlName\",\"rfidEmp\",\"value\",\"\"],[\"type\",\"radio\",\"formControlName\",\"rfidEmp\",\"value\",\"rfidEmpAccessRead\"],[\"type\",\"radio\",\"formControlName\",\"rfidEmp\",\"value\",\"rfidEmpAccessWrite\"],[\"type\",\"radio\",\"formControlName\",\"additionalInfo\",\"value\",\"\"],[\"type\",\"radio\",\"formControlName\",\"additionalInfo\",\"value\",\"additionalInfoAccessRead\"],[\"type\",\"radio\",\"formControlName\",\"additionalInfo\",\"value\",\"additionalInfoAccessWrite\"],[1,\"div12\"],[\"checkboxEaseRoaming\",\"\"],[\"type\",\"radio\",\"formControlName\",\"priceExt\",\"value\",\"\"],[\"type\",\"radio\",\"formControlName\",\"priceExt\",\"value\",\"priceExtAccessRead\"],[\"type\",\"radio\",\"formControlName\",\"priceExt\",\"value\",\"priceExtAccessWrite\"],[\"type\",\"radio\",\"formControlName\",\"reservationsExt\",\"value\",\"\"],[\"type\",\"radio\",\"formControlName\",\"reservationsExt\",\"value\",\"reservationsExtAccessRead\"],[\"type\",\"radio\",\"formControlName\",\"reservationsExt\",\"value\",\"reservationsExtAccessWrite\"],[\"type\",\"radio\",\"formControlName\",\"rechargeExt\",\"value\",\"\"],[\"type\",\"radio\",\"formControlName\",\"rechargeExt\",\"value\",\"rechargeExtAccessRead\"],[\"type\",\"radio\",\"formControlName\",\"rechargeExt\",\"value\",\"rechargeExtAccessWrite\"],[\"type\",\"radio\",\"formControlName\",\"priceInt\",\"value\",\"\"],[\"type\",\"radio\",\"formControlName\",\"priceInt\",\"value\",\"priceIntAccessRead\"],[\"type\",\"radio\",\"formControlName\",\"priceInt\",\"value\",\"priceIntAccessWrite\"],[\"type\",\"radio\",\"formControlName\",\"reservationsInt\",\"value\",\"\"],[\"type\",\"radio\",\"formControlName\",\"reservationsInt\",\"value\",\"reservationsIntAccessRead\"],[\"type\",\"radio\",\"formControlName\",\"reservationsInt\",\"value\",\"reservationsIntAccessWrite\"],[\"type\",\"radio\",\"formControlName\",\"rechargeInt\",\"value\",\"\"],[\"type\",\"radio\",\"formControlName\",\"rechargeInt\",\"value\",\"rechargeIntAccessRead\"],[\"type\",\"radio\",\"formControlName\",\"rechargeInt\",\"value\",\"rechargeIntAccessWrite\"],[\"type\",\"radio\",\"formControlName\",\"hubject\",\"value\",\"\"],[\"type\",\"radio\",\"formControlName\",\"hubject\",\"value\",\"hubjectAccessRead\"],[\"type\",\"radio\",\"formControlName\",\"hubject\",\"value\",\"hubjectAccessWrite\"],[1,\"div13\"],[\"checkboxEasePayment\",\"\"],[\"type\",\"radio\",\"formControlName\",\"gateway\",\"value\",\"\"],[\"type\",\"radio\",\"formControlName\",\"gateway\",\"value\",\"gatewayAccessRead\"],[\"type\",\"radio\",\"formControlName\",\"gateway\",\"value\",\"gatewayAccessWrite\"],[\"type\",\"radio\",\"formControlName\",\"pos\",\"value\",\"\"],[\"type\",\"radio\",\"formControlName\",\"pos\",\"value\",\"posAccessRead\"],[\"type\",\"radio\",\"formControlName\",\"pos\",\"value\",\"posAccessWrite\"],[\"type\",\"radio\",\"formControlName\",\"pricePos\",\"value\",\"\"],[\"type\",\"radio\",\"formControlName\",\"pricePos\",\"value\",\"pricePosAccessRead\"],[\"type\",\"radio\",\"formControlName\",\"pricePos\",\"value\",\"pricePosAccessWrite\"],[\"type\",\"radio\",\"formControlName\",\"priceQrCode\",\"value\",\"\"],[\"type\",\"radio\",\"formControlName\",\"priceQrCode\",\"value\",\"priceQrCodeAccessRead\"],[\"type\",\"radio\",\"formControlName\",\"priceQrCode\",\"value\",\"priceQrCodeAccessWrite\"]],template:function(e,o){if(1&e&&(t._UZ(0,\"link\",0),t.YNc(1,_d,1,0,\"app-loading-screen\",1),t.YNc(2,og,8,4,\"ng-template\",null,2,t.W1O)),2&e){const a=t.MAs(3);t.xp6(1),t.Q6J(\"ngIf\",o.isLoading)(\"ngIfElse\",a)}},directives:[v.O5,w.g,yt.jt,v.mk,H.oO,l._Y,l.JL,l.sg,_t.KE,_t.hX,Nt.Nt,l.Fj,l.JJ,l.u,l.Q7,ae.Hw,_t.R9,l.Wl,W.gD,zt.ey,l._,_t.TO],pipes:[U.X$],styles:['*[_ngcontent-%COMP%]{-webkit-user-select:none;user-select:none}th[_ngcontent-%COMP%]{text-align:center}.mat-dialog-container[_ngcontent-%COMP%]{align-self:center;overflow:unset}.padding_32[_ngcontent-%COMP%]{padding-left:32px}.card-body[_ngcontent-%COMP%]{padding-top:0}.grid33[_ngcontent-%COMP%]{display:grid;grid-template-columns:repeat(2,1fr);grid-gap:1em;gap:1em}.grid-double[_ngcontent-%COMP%]{display:grid;grid-template-columns:repeat(2,1fr);grid-template-rows:repeat(2,.5fr);grid-column-gap:0px;grid-row-gap:0px;grid-gap:1em;gap:1em}.buttonDatiUtente[_ngcontent-%COMP%]{right:20px;top:120px}.box[_ngcontent-%COMP%]{padding:6% 1.875rem 1.25rem;display:grid;grid-template-rows:1fr;grid-column-gap:0px;grid-row-gap:0px}.grid_permCPO[_ngcontent-%COMP%]{display:grid;grid-template-columns:repeat(2,1fr);grid-template-rows:repeat(2,.5fr) repeat(2,.1fr);grid-column-gap:0px;grid-row-gap:0px;grid-gap:1em;gap:1em;grid:none}.divButtonRewindNextCPO[_ngcontent-%COMP%], .div25[_ngcontent-%COMP%]{align-items:end;display:flex;padding-top:3%;flex-direction:row-reverse}.buttonRewindNextCPO[_ngcontent-%COMP%]{display:inline-flex;flex-direction:row;flex-wrap:wrap;align-content:stretch;justify-content:space-evenly}.arrow[_ngcontent-%COMP%]{padding-bottom:23%;padding-left:10px}.grid_permEmp[_ngcontent-%COMP%]{display:grid;grid-template-columns:repeat(2,1fr);grid-template-rows:repeat(1,.2fr);grid-column-gap:0px;grid-row-gap:0px;grid-gap:1em;gap:1em}#disable[_ngcontent-%COMP%]{cursor:not-allowed}.multi[_ngcontent-%COMP%]{display:grid;grid-template-columns:repeat(3,1fr);grid-template-rows:repeat(2,1fr);grid-column-gap:0px;grid-row-gap:0px}.nu-table-body[_ngcontent-%COMP%]{overflow-y:auto;max-height:500px}.disabled[_ngcontent-%COMP%]{pointer-events:none;opacity:60%}.container-fluid[_ngcontent-%COMP%]{height:-moz-fit-content;height:fit-content}.select[_ngcontent-%COMP%]{width:40%}.animate__backInRight[_ngcontent-%COMP%]{animation-duration:.5s}.actions[_ngcontent-%COMP%]{padding-top:1em;padding-bottom:1em}.actions2[_ngcontent-%COMP%]{padding-bottom:1em}.header-cell[_ngcontent-%COMP%], td[_ngcontent-%COMP%]{text-align:center;align-items:center;justify-content:center}.mat-form-field[_ngcontent-%COMP%]{font-size:14px;width:100%}.top[_ngcontent-%COMP%]{padding-bottom:2em}.left[_ngcontent-%COMP%]{float:left;font-size:2vw}.btn-toolbar[_ngcontent-%COMP%]{display:inline;flex-wrap:wrap;justify-content:flex-start}.table[_ngcontent-%COMP%]{border-collapse:collapse;width:100%;margin-top:20px}.table[_ngcontent-%COMP%] th[_ngcontent-%COMP%], .table[_ngcontent-%COMP%] td[_ngcontent-%COMP%]{text-align:center;border-bottom:1px solid #ddd}.table[_ngcontent-%COMP%] th[_ngcontent-%COMP%]{background-color:#f2f2f2;font-weight:bold}.radio-label[_ngcontent-%COMP%]{display:block;position:relative;padding-left:28px;margin-bottom:12px;cursor:pointer}.endCard[_ngcontent-%COMP%]{text-align:end}.switch[_ngcontent-%COMP%]{font-size:17px;position:relative;display:inline-block;width:3.5em;height:2em}.switch[_ngcontent-%COMP%] input[_ngcontent-%COMP%]{opacity:0;width:0;height:0}.slider[_ngcontent-%COMP%]{position:absolute;cursor:pointer;top:0;left:0;right:0;bottom:0;background-color:#ccc;transition:.4s;border-radius:30px}.slider[_ngcontent-%COMP%]:before{position:absolute;content:\"\";height:1.4em;width:1.4em;border-radius:20px;left:.3em;bottom:.3em;background-color:#fff;transition:.4s}input[_ngcontent-%COMP%]:checked + .slider[_ngcontent-%COMP%]{background-color:#00dd50}input[_ngcontent-%COMP%]:focus + .slider[_ngcontent-%COMP%]{box-shadow:0 0 1px #00dd50}input[_ngcontent-%COMP%]:checked + .slider[_ngcontent-%COMP%]:before{transform:translate(1.5em)}.textRight[_ngcontent-%COMP%]{text-align:-webkit-right}.grid_two[_ngcontent-%COMP%]{display:grid;grid-template-columns:repeat(2,1fr);grid-template-rows:1fr;grid-column-gap:0px;grid-row-gap:0px}@-moz-document url-prefix(){.textRight{align-content:center}}@media (min-width: 1090px){.div1[_ngcontent-%COMP%]{grid-area:1/1/3/2}.div2[_ngcontent-%COMP%]{grid-area:1/2/2/3}.div3[_ngcontent-%COMP%]{grid-area:2/2/3/3}.div4[_ngcontent-%COMP%]{grid-area:1/1/3/2}.div5[_ngcontent-%COMP%]{grid-area:1/2/2/3}.div6[_ngcontent-%COMP%]{grid-area:2/2/3/3}.div7[_ngcontent-%COMP%]{grid-area:3/1/4/2}.div8[_ngcontent-%COMP%]{grid-area:3/2/4/3}.div9[_ngcontent-%COMP%]{grid-area:4/1/5/2}.div10[_ngcontent-%COMP%]{grid-area:4/2/5/3}.div11[_ngcontent-%COMP%]{grid-area:1/1/2/2}.div12[_ngcontent-%COMP%]{grid-area:1/2/2/3}.div13[_ngcontent-%COMP%]{grid-area:2/1/3/2}.div14[_ngcontent-%COMP%]{grid-area:2/2/3/3}.div15[_ngcontent-%COMP%]{grid-area:3/1/4/2}.div16[_ngcontent-%COMP%]{grid-area:3/2/4/3}.div17[_ngcontent-%COMP%]{grid-area:4/1/5/2}.div18[_ngcontent-%COMP%]{grid-area:4/2/5/3}.div19[_ngcontent-%COMP%]{grid-area:5/1/6/2}.div20[_ngcontent-%COMP%]{grid-area:5/2/6/3}.div21[_ngcontent-%COMP%]{grid-area:6/1/7/2}.div22[_ngcontent-%COMP%]{grid-area:6/2/7/3}.div23[_ngcontent-%COMP%]{grid-area:7/1/8/2}.div24[_ngcontent-%COMP%]{grid-area:7/2/8/3}}@media (max-width: 1090px){.grid-double[_ngcontent-%COMP%]{display:grid;grid-template-columns:100%}.grid33[_ngcontent-%COMP%]{display:grid;grid-template-columns:1fr;grid-gap:1em;gap:1em}.grid_permEmp[_ngcontent-%COMP%]{display:grid;grid-template-columns:100%}.grid_permCPO[_ngcontent-%COMP%]{display:grid;grid-template-columns:100%}.buttonDatiUtente[_ngcontent-%COMP%]{position:initial;right:20px;top:120px}.divButtonRewindNextCPO[_ngcontent-%COMP%]{align-items:end;display:flex;justify-content:space-around}.card-body[_ngcontent-%COMP%]{padding-top:0;overflow-wrap:anywhere}}input[type=color][_ngcontent-%COMP%], input[type=date][_ngcontent-%COMP%], input[type=datetime][_ngcontent-%COMP%], input[type=datetime-local][_ngcontent-%COMP%], input[type=email][_ngcontent-%COMP%], input[type=month][_ngcontent-%COMP%], input[type=number][_ngcontent-%COMP%], input[type=password][_ngcontent-%COMP%], input[type=search][_ngcontent-%COMP%], input[type=tel][_ngcontent-%COMP%], input[type=text][_ngcontent-%COMP%], input[type=time][_ngcontent-%COMP%], input[type=url][_ngcontent-%COMP%], input[type=week][_ngcontent-%COMP%], select[_ngcontent-%COMP%]:focus, textarea[_ngcontent-%COMP%]{font-size:16px}']}),n})();function ag(n,s){1&n&&t._UZ(0,\"app-loading-screen\")}function rg(n,s){if(1&n){const e=t.EpF();t.TgZ(0,\"div\"),t.TgZ(1,\"div\",2),t.TgZ(2,\"button\",3),t.NdJ(\"click\",function(){return t.CHM(e),t.oxw().closeDialog()}),t._uU(3,\" X \"),t.qZA(),t.qZA(),t.TgZ(4,\"div\"),t.TgZ(5,\"div\",4),t.TgZ(6,\"a\",5),t._uU(7),t.ALo(8,\"translate\"),t.qZA(),t.qZA(),t.qZA(),t.TgZ(9,\"mat-dialog-content\",null,1),t.TgZ(11,\"div\",6),t.TgZ(12,\"div\",7),t.TgZ(13,\"div\"),t.TgZ(14,\"span\",8),t._uU(15,\"CPO\"),t.qZA(),t.TgZ(16,\"input\",9),t.NdJ(\"ngModelChange\",function(a){return t.CHM(e),t.oxw().permessiCPO=a}),t.qZA(),t._UZ(17,\"label\",10),t.qZA(),t.TgZ(18,\"div\"),t.TgZ(19,\"span\",8),t._uU(20,\"EMP\"),t.qZA(),t.TgZ(21,\"input\",11),t.NdJ(\"ngModelChange\",function(a){return t.CHM(e),t.oxw().permessiEMP=a}),t.qZA(),t._UZ(22,\"label\",12),t.qZA(),t.qZA(),t.qZA(),t.TgZ(23,\"div\",13),t.TgZ(24,\"button\",14),t.NdJ(\"click\",function(){return t.CHM(e),t.oxw().conferma()}),t._uU(25),t.ALo(26,\"translate\"),t.qZA(),t.qZA(),t.qZA(),t.qZA()}if(2&n){const e=t.oxw();t.xp6(7),t.Oqu(t.lcZ(8,5,\"sel_tipo_azienda\")),t.xp6(9),t.Q6J(\"ngModel\",e.permessiCPO),t.xp6(5),t.Q6J(\"ngModel\",e.permessiEMP)(\"disabled\",!e.dataEmpCpoLocal.empActive),t.xp6(4),t.hij(\" \",t.lcZ(26,7,\"conferma\"),\" \")}}let sg=(()=>{class n{constructor(e,o){this.dialogRef=e,this.update=o,this.isLoading=!0,this.permessiCPO=!1,this.permessiEMP=!1,this.dataEmpCpoLocal=JSON.parse(b().get(\"dataEmpCpo\",{decrypt:!0}))}ngOnInit(){return(0,C.mG)(this,void 0,void 0,function*(){this.isLoading=!0,yield this.read().then(()=>{this.isLoading=!1})})}read(){return(0,C.mG)(this,void 0,void 0,function*(){this.isLoading=!0,this.update.permessiCPO&&(this.permessiCPO=!0),this.update.permessiEMP&&(this.permessiEMP=!0),this.isLoading=!1})}conferma(){console.log(this.permessiCPO),this.dialogRef.close({conferma:!0,cpo:this.permessiCPO,emp:this.permessiEMP})}closeDialog(){this.dialogRef.close(!1)}}return n.\\u0275fac=function(e){return new(e||n)(t.Y36(O.so),t.Y36(O.WI))},n.\\u0275cmp=t.Xpm({type:n,selectors:[[\"app-select-company\"]],decls:3,vars:2,consts:[[4,\"ngIf\",\"ngIfElse\"],[\"main\",\"\"],[1,\"div1\"],[\"mat-button\",\"\",\"mat-dialog-title\",\"\",1,\"bottonX\",3,\"click\"],[1,\"title\"],[2,\"font-weight\",\"bold\"],[1,\"cntr\"],[1,\"grid50\"],[1,\"text\"],[\"checked\",\"\",\"type\",\"checkbox\",\"id\",\"cbx\",1,\"hidden-xs-up\",3,\"ngModel\",\"ngModelChange\"],[\"for\",\"cbx\",1,\"cbx\"],[\"checked\",\"\",\"type\",\"checkbox\",\"id\",\"cbr\",1,\"hidden-xs-up\",3,\"ngModel\",\"disabled\",\"ngModelChange\"],[\"for\",\"cbr\",1,\"cbr\"],[1,\"conferma\"],[1,\"buttonConf\",3,\"click\"]],template:function(e,o){if(1&e&&(t.YNc(0,ag,1,0,\"app-loading-screen\",0),t.YNc(1,rg,27,9,\"ng-template\",null,1,t.W1O)),2&e){const a=t.MAs(2);t.Q6J(\"ngIf\",o.isLoading)(\"ngIfElse\",a)}},directives:[v.O5,w.g,z.lW,O.uh,O.xY,l.Wl,l.JJ,l.On],pipes:[U.X$],styles:['*[_ngcontent-%COMP%]{-webkit-user-select:none;user-select:none}.grid50[_ngcontent-%COMP%]{display:grid;grid-template-columns:repeat(2,1fr);grid-gap:1em;gap:1em}.div1[_ngcontent-%COMP%]{display:flex;align-items:flex-start;justify-content:flex-end}.bottonX[_ngcontent-%COMP%]{position:inherit;color:#fff;max-height:2em;z-index:2;background-color:red}.title[_ngcontent-%COMP%]{padding:1em 1em 10%;font-size:2em;text-align:center;font-weight:200;color:#099}.text[_ngcontent-%COMP%]{font-size:50px;color:#099;font-weight:500}.conferma[_ngcontent-%COMP%]{text-align:-webkit-center;padding-top:12%}.cbx[_ngcontent-%COMP%], .cbr[_ngcontent-%COMP%]{position:relative;top:1px;width:27px;height:27px;border:4px solid #c8ccd4;border-radius:3px;vertical-align:middle;transition:background .1s ease;cursor:pointer;display:block}.cbx[_ngcontent-%COMP%]:after, .cbr[_ngcontent-%COMP%]:after{content:\"\";position:absolute;top:2px;left:8px;width:7px;height:14px;opacity:0;transform:rotate(45deg) scale(0);border-right:2px solid #fff;border-bottom:2px solid #fff;transition:all .3s ease;transition-delay:.15s}.lbl[_ngcontent-%COMP%]{margin-left:5px;vertical-align:middle;cursor:pointer}#cbx[_ngcontent-%COMP%]:checked ~ .cbx[_ngcontent-%COMP%], #cbr[_ngcontent-%COMP%]:checked ~ .cbr[_ngcontent-%COMP%]{border-color:transparent;background:#6871f1;animation:jelly .6s ease}#cbx[_ngcontent-%COMP%]:checked ~ .cbx[_ngcontent-%COMP%]:after, #cbr[_ngcontent-%COMP%]:checked ~ .cbr[_ngcontent-%COMP%]:after{opacity:1;transform:rotate(45deg) scale(1)}.cntr[_ngcontent-%COMP%]{text-align:-webkit-center}@keyframes jelly{0%{transform:scale(1)}30%{transform:scale(1.25,.75)}40%{transform:scale(.75,1.25)}50%{transform:scale(1.15,.85)}65%{transform:scale(.95,1.05)}75%{transform:scale(1.05,.95)}to{transform:scale(1)}}.hidden-xs-up[_ngcontent-%COMP%]{display:none!important}.buttonConf[_ngcontent-%COMP%]{--primary-color: #009999;--secondary-color: #fff;--hover-color: #99FF66;--arrow-width: 8px;--arrow-stroke: 2px;box-sizing:border-box;border:0;border-radius:20px;color:var(--secondary-color);padding:1em 1.8em;background:var(--primary-color);display:flex;transition:.2s background;align-items:center;grid-gap:.6em;gap:.6em;font-weight:bold}.buttonConf[_ngcontent-%COMP%] .arrow-wrapper[_ngcontent-%COMP%]{display:flex;justify-content:center;align-items:center}.buttonConf[_ngcontent-%COMP%] .arrow[_ngcontent-%COMP%]{margin-top:1px;width:var(--arrow-width);background:var(--primary-color);height:var(--arrow-stroke);position:relative;transition:.2s}.buttonConf[_ngcontent-%COMP%] .arrow[_ngcontent-%COMP%]:before{content:\"\";box-sizing:border-box;position:absolute;border:solid var(--secondary-color);border-width:0 var(--arrow-stroke) var(--arrow-stroke) 0;display:inline-block;top:-3px;right:3px;transition:.2s;padding:3px;transform:rotate(-45deg)}.buttonConf[_ngcontent-%COMP%]:hover{background-color:var(--hover-color);--secondary-color: black}.buttonConf[_ngcontent-%COMP%]:hover .arrow[_ngcontent-%COMP%]{background:var(--secondary-color)}.buttonConf[_ngcontent-%COMP%]:hover .arrow[_ngcontent-%COMP%]:before{right:0}']}),n})();const lg=[\"checkboxPermBase\"],cg=[\"checkboxCpCpo\"],pg=[\"checkboxFlCpo\"],dg=[\"checkboxAssMngmtCpo\"],gg=[\"checkboxRebCpo\"],mg=[\"checkboxSubCpo\"],ug=[\"checkboxRicCpo\"],_g=[\"checkboxSetCpo\"],hg=[\"checkboxFlEmp\"],fg=[\"checkboxMapEmp\"],Zg=[\"checkboxRevEmp\"],Cg=[\"checkboxSupEmp\"],vg=[\"checkboxUsEmp\"],bg=[\"checkboxVouEmp\"],Ag=[\"checkboxRomExtEmp\"],xg=[\"checkboxRomIntEmp\"],Tg=[\"checkboxStEmp\"],Pg=[\"checkboxRDEmp\"],Og=[\"checkboxNotEmp\"],yg=[\"checkboxPayEmp\"],qg=[\"checkboxRebEmp\"];function Mg(n,s){1&n&&t._UZ(0,\"app-loading-screen\")}function wg(n,s){1&n&&(t.TgZ(0,\"mat-error\"),t._uU(1),t.ALo(2,\"translate\"),t.qZA()),2&n&&(t.xp6(1),t.Oqu(t.lcZ(2,1,\"ins_user\")))}function Eg(n,s){1&n&&(t.TgZ(0,\"mat-error\"),t._uU(1),t.ALo(2,\"translate\"),t.qZA()),2&n&&(t.xp6(1),t.Oqu(t.lcZ(2,1,\"ins_nome\")))}function kg(n,s){1&n&&(t.TgZ(0,\"mat-error\"),t._uU(1),t.ALo(2,\"translate\"),t.qZA()),2&n&&(t.xp6(1),t.Oqu(t.lcZ(2,1,\"ins_cognome\")))}function Ug(n,s){1&n&&(t.TgZ(0,\"mat-error\"),t._uU(1),t.ALo(2,\"translate\"),t.qZA()),2&n&&(t.xp6(1),t.Oqu(t.lcZ(2,1,\"ins_email\")))}function Ig(n,s){1&n&&(t.TgZ(0,\"mat-error\"),t._uU(1),t.ALo(2,\"translate\"),t.qZA()),2&n&&(t.xp6(1),t.Oqu(t.lcZ(2,1,\"ins_pass\")))}function Ng(n,s){1&n&&(t.TgZ(0,\"mat-error\"),t._uU(1),t.ALo(2,\"translate\"),t.qZA()),2&n&&(t.xp6(1),t.Oqu(t.lcZ(2,1,\"ins_dinuovo_psw\")))}const se=function(n){return{animate__backInRight:n}},bt=function(n){return{disabled:n}};function Sg(n,s){if(1&n){const e=t.EpF();t.TgZ(0,\"div\",9),t.TgZ(1,\"div\",10),t.TgZ(2,\"div\",11),t.TgZ(3,\"div\",12),t.TgZ(4,\"h4\",13),t._uU(5),t.qZA(),t.qZA(),t.TgZ(6,\"div\",14),t.TgZ(7,\"form\",15),t.TgZ(8,\"div\",16),t._UZ(9,\"i\",17),t._UZ(10,\"br\"),t.TgZ(11,\"mat-form-field\",18),t.TgZ(12,\"mat-label\"),t._uU(13),t.ALo(14,\"translate\"),t.qZA(),t._UZ(15,\"input\",19),t.YNc(16,wg,3,3,\"mat-error\",20),t.qZA(),t.qZA(),t.TgZ(17,\"div\",21),t.TgZ(18,\"div\",16),t._UZ(19,\"i\",22),t._UZ(20,\"br\"),t.TgZ(21,\"mat-form-field\",18),t.TgZ(22,\"mat-label\"),t._uU(23),t.ALo(24,\"translate\"),t.qZA(),t._UZ(25,\"input\",23),t.YNc(26,Eg,3,3,\"mat-error\",20),t.qZA(),t.qZA(),t.TgZ(27,\"div\",16),t._UZ(28,\"i\",22),t._UZ(29,\"br\"),t.TgZ(30,\"mat-form-field\",18),t.TgZ(31,\"mat-label\"),t._uU(32),t.ALo(33,\"translate\"),t.qZA(),t._UZ(34,\"input\",24),t.YNc(35,kg,3,3,\"mat-error\",20),t.qZA(),t.qZA(),t.TgZ(36,\"div\",16),t._UZ(37,\"i\",25),t._UZ(38,\"br\"),t.TgZ(39,\"mat-form-field\",18),t.TgZ(40,\"mat-label\"),t._uU(41),t.ALo(42,\"translate\"),t.qZA(),t._UZ(43,\"input\",26),t.qZA(),t.qZA(),t.TgZ(44,\"div\",16),t._UZ(45,\"i\",27),t._UZ(46,\"br\"),t.TgZ(47,\"mat-form-field\",18),t.TgZ(48,\"mat-label\"),t._uU(49),t.ALo(50,\"translate\"),t.qZA(),t._UZ(51,\"input\",28),t.YNc(52,Ug,3,3,\"mat-error\",20),t.qZA(),t.qZA(),t.TgZ(53,\"div\",16),t._UZ(54,\"i\",29),t._UZ(55,\"br\"),t.TgZ(56,\"mat-form-field\",30),t.TgZ(57,\"mat-label\"),t._uU(58),t.ALo(59,\"translate\"),t.qZA(),t._UZ(60,\"input\",31),t.TgZ(61,\"mat-icon\",32),t.NdJ(\"click\",function(){t.CHM(e);const a=t.oxw(2);return a.hide1=!a.hide1}),t._uU(62),t.qZA(),t.YNc(63,Ig,3,3,\"mat-error\",20),t.qZA(),t.qZA(),t.TgZ(64,\"div\",16),t._UZ(65,\"i\",29),t._UZ(66,\"br\"),t.TgZ(67,\"mat-form-field\",30),t.TgZ(68,\"mat-label\"),t._uU(69),t.ALo(70,\"translate\"),t.qZA(),t._UZ(71,\"input\",33),t.TgZ(72,\"mat-icon\",32),t.NdJ(\"click\",function(){t.CHM(e);const a=t.oxw(2);return a.hide2=!a.hide2}),t._uU(73),t.qZA(),t.YNc(74,Ng,3,3,\"mat-error\",20),t.qZA(),t.qZA(),t.qZA(),t.qZA(),t.TgZ(75,\"div\",34),t.TgZ(76,\"button\",35),t.NdJ(\"click\",function(){return t.CHM(e),t.oxw(2).next()}),t._uU(77),t.ALo(78,\"translate\"),t.TgZ(79,\"div\",36),t._UZ(80,\"div\",37),t.qZA(),t.qZA(),t.qZA(),t.qZA(),t.qZA(),t.qZA(),t.TgZ(81,\"div\",38),t.TgZ(82,\"div\",39),t.TgZ(83,\"div\",12),t.TgZ(84,\"h4\",13),t._uU(85),t.ALo(86,\"translate\"),t.qZA(),t.TgZ(87,\"div\",40),t.TgZ(88,\"label\",41),t.TgZ(89,\"input\",42,43),t.NdJ(\"click\",function(){return t.CHM(e),t.oxw(2).check(\"PermBase\")}),t.qZA(),t._UZ(91,\"span\",44),t.qZA(),t.qZA(),t.qZA(),t.TgZ(92,\"div\",45),t.TgZ(93,\"form\",15),t.TgZ(94,\"table\",46),t.TgZ(95,\"thead\"),t.TgZ(96,\"tr\"),t.TgZ(97,\"th\"),t._uU(98),t.ALo(99,\"translate\"),t.qZA(),t.TgZ(100,\"th\",47),t._uU(101),t.ALo(102,\"translate\"),t.qZA(),t.TgZ(103,\"th\",47),t._uU(104),t.ALo(105,\"translate\"),t.qZA(),t.TgZ(106,\"th\",47),t._uU(107),t.ALo(108,\"translate\"),t._UZ(109,\"br\"),t._uU(110,\"&\"),t._UZ(111,\"br\"),t._uU(112),t.ALo(113,\"translate\"),t.qZA(),t.qZA(),t.qZA(),t.TgZ(114,\"tbody\"),t.TgZ(115,\"tr\"),t.TgZ(116,\"td\"),t._uU(117),t.ALo(118,\"translate\"),t.qZA(),t.TgZ(119,\"td\"),t.TgZ(120,\"label\",48),t._UZ(121,\"input\",49),t._UZ(122,\"span\",50),t.qZA(),t.qZA(),t.TgZ(123,\"td\"),t.TgZ(124,\"label\",48),t._UZ(125,\"input\",51),t._UZ(126,\"span\",50),t.qZA(),t.qZA(),t._UZ(127,\"td\"),t.qZA(),t.TgZ(128,\"tr\"),t.TgZ(129,\"td\"),t._uU(130),t.ALo(131,\"translate\"),t.qZA(),t.TgZ(132,\"td\"),t.TgZ(133,\"label\",48),t._UZ(134,\"input\",52),t._UZ(135,\"span\",50),t.qZA(),t.qZA(),t.TgZ(136,\"td\"),t.TgZ(137,\"label\",48),t._UZ(138,\"input\",53),t._UZ(139,\"span\",50),t.qZA(),t.qZA(),t._UZ(140,\"td\"),t.qZA(),t.TgZ(141,\"tr\"),t.TgZ(142,\"td\"),t._uU(143),t.ALo(144,\"translate\"),t.qZA(),t.TgZ(145,\"td\"),t.TgZ(146,\"label\",48),t._UZ(147,\"input\",54),t._UZ(148,\"span\",50),t.qZA(),t.qZA(),t.TgZ(149,\"td\"),t.TgZ(150,\"label\",48),t._UZ(151,\"input\",55),t._UZ(152,\"span\",50),t.qZA(),t.qZA(),t.TgZ(153,\"td\"),t.TgZ(154,\"label\",48),t._UZ(155,\"input\",56),t._UZ(156,\"span\",50),t.qZA(),t.qZA(),t.qZA(),t.qZA(),t.qZA(),t.qZA(),t.qZA(),t.qZA(),t.qZA(),t.qZA()}if(2&n){const e=t.oxw(2);t.Q6J(\"ngClass\",t.VKq(69,se,e.needAnimation(0))),t.xp6(5),t.Oqu(\"XXX\"),t.xp6(2),t.Q6J(\"formGroup\",e.cpoUserForm),t.xp6(6),t.Oqu(t.lcZ(14,35,\"username\")),t.xp6(3),t.Q6J(\"ngIf\",e.cpoUserForm.get(\"user\").touched&&e.cpoUserForm.get(\"user\").invalid),t.xp6(7),t.Oqu(t.lcZ(24,37,\"nome\")),t.xp6(3),t.Q6J(\"ngIf\",e.cpoUserForm.get(\"name\").touched&&e.cpoUserForm.get(\"name\").invalid),t.xp6(6),t.Oqu(t.lcZ(33,39,\"cognome\")),t.xp6(3),t.Q6J(\"ngIf\",e.cpoUserForm.get(\"surname\").touched&&e.cpoUserForm.get(\"surname\").invalid),t.xp6(6),t.Oqu(t.lcZ(42,41,\"telefono\")),t.xp6(8),t.Oqu(t.lcZ(50,43,\"email\")),t.xp6(3),t.Q6J(\"ngIf\",e.cpoUserForm.get(\"email\").touched&&e.cpoUserForm.get(\"email\").invalid),t.xp6(4),t.Q6J(\"formGroup\",e.cpoUserForm),t.xp6(2),t.Oqu(t.lcZ(59,45,\"password\")),t.xp6(2),t.Q6J(\"type\",e.hide1?\"password\":\"text\"),t.xp6(2),t.Oqu(e.hide1?\"visibility_off\":\"visibility\"),t.xp6(1),t.Q6J(\"ngIf\",e.cpoUserForm.get(\"password1\").touched&&e.cpoUserForm.get(\"password1\").invalid),t.xp6(4),t.Q6J(\"formGroup\",e.cpoUserForm),t.xp6(2),t.Oqu(t.lcZ(70,47,\"verifica_psw\")),t.xp6(2),t.Q6J(\"type\",e.hide2?\"password\":\"text\"),t.xp6(2),t.Oqu(e.hide2?\"visibility_off\":\"visibility\"),t.xp6(1),t.Q6J(\"ngIf\",e.cpoUserForm.get(\"password2\").touched&&e.cpoUserForm.get(\"password2\").invalid),t.xp6(3),t.hij(\" \",t.lcZ(78,49,\"prosegui\"),\" \"),t.xp6(8),t.Oqu(t.lcZ(86,51,\"perm_base\")),t.xp6(4),t.Q6J(\"checked\",e.RebCpo),t.xp6(4),t.Q6J(\"formGroup\",e.permissionBaseForm),t.xp6(1),t.Q6J(\"ngClass\",t.VKq(71,bt,!e.PermBase)),t.xp6(4),t.Oqu(t.lcZ(99,53,\"permessi\")),t.xp6(3),t.Oqu(t.lcZ(102,55,\"disabilita\")),t.xp6(3),t.Oqu(t.lcZ(105,57,\"visual\")),t.xp6(3),t.Oqu(t.lcZ(108,59,\"visual\")),t.xp6(5),t.Oqu(t.lcZ(113,61,\"modifica\")),t.xp6(5),t.Oqu(t.lcZ(118,63,\"home\")),t.xp6(13),t.Oqu(t.lcZ(131,65,\"bus_int\")),t.xp6(13),t.Oqu(t.lcZ(144,67,\"crea_oper\"))}}function Lg(n,s){1&n&&(t.TgZ(0,\"tr\"),t.TgZ(1,\"td\"),t._uU(2),t.ALo(3,\"translate\"),t.qZA(),t.TgZ(4,\"td\"),t.TgZ(5,\"label\",48),t._UZ(6,\"input\",49),t._UZ(7,\"span\",50),t.qZA(),t.qZA(),t.TgZ(8,\"td\"),t.TgZ(9,\"label\",48),t._UZ(10,\"input\",51),t._UZ(11,\"span\",50),t.qZA(),t.qZA(),t._UZ(12,\"td\"),t.qZA()),2&n&&(t.xp6(2),t.Oqu(t.lcZ(3,1,\"home\")))}function Dg(n,s){1&n&&(t.TgZ(0,\"tr\"),t.TgZ(1,\"td\"),t._uU(2),t.ALo(3,\"translate\"),t.qZA(),t.TgZ(4,\"td\"),t.TgZ(5,\"label\",48),t._UZ(6,\"input\",52),t._UZ(7,\"span\",50),t.qZA(),t.qZA(),t.TgZ(8,\"td\"),t.TgZ(9,\"label\",48),t._UZ(10,\"input\",53),t._UZ(11,\"span\",50),t.qZA(),t.qZA(),t.TgZ(12,\"td\"),t.TgZ(13,\"label\",48),t._UZ(14,\"input\",63),t._UZ(15,\"span\",50),t.qZA(),t.qZA(),t.qZA()),2&n&&(t.xp6(2),t.Oqu(t.lcZ(3,1,\"bus_int\")))}function Rg(n,s){1&n&&(t.TgZ(0,\"tr\"),t.TgZ(1,\"td\"),t._uU(2),t.ALo(3,\"translate\"),t.qZA(),t.TgZ(4,\"td\"),t.TgZ(5,\"label\",48),t._UZ(6,\"input\",54),t._UZ(7,\"span\",50),t.qZA(),t.qZA(),t.TgZ(8,\"td\"),t.TgZ(9,\"label\",48),t._UZ(10,\"input\",55),t._UZ(11,\"span\",50),t.qZA(),t.qZA(),t.TgZ(12,\"td\"),t.TgZ(13,\"label\",48),t._UZ(14,\"input\",56),t._UZ(15,\"span\",50),t.qZA(),t.qZA(),t.qZA()),2&n&&(t.xp6(2),t.Oqu(t.lcZ(3,1,\"crea_oper\")))}function Fg(n,s){if(1&n){const e=t.EpF();t.TgZ(0,\"div\",64),t.TgZ(1,\"button\",65),t.NdJ(\"click\",function(){return t.CHM(e),t.oxw(3).next()}),t._uU(2),t.ALo(3,\"translate\"),t.TgZ(4,\"div\",36),t._UZ(5,\"div\",37),t.qZA(),t.qZA(),t.qZA()}2&n&&(t.xp6(2),t.hij(\" \",t.lcZ(3,1,\"prosegui\"),\" \"))}function Gg(n,s){if(1&n){const e=t.EpF();t.TgZ(0,\"div\",64),t.TgZ(1,\"button\",65),t.NdJ(\"click\",function(){return t.CHM(e),t.oxw(3).crea()}),t._uU(2),t.ALo(3,\"translate\"),t.qZA(),t.qZA()}2&n&&(t.xp6(2),t.hij(\" \",t.lcZ(3,1,\"conferma\"),\" \"))}function Jg(n,s){if(1&n){const e=t.EpF();t.TgZ(0,\"div\",57),t.TgZ(1,\"div\"),t.TgZ(2,\"p\",58),t._uU(3),t.ALo(4,\"translate\"),t.qZA(),t.qZA(),t.TgZ(5,\"div\",38),t.TgZ(6,\"div\",39),t.TgZ(7,\"div\",12),t.TgZ(8,\"h4\",13),t._uU(9),t.ALo(10,\"translate\"),t.qZA(),t.TgZ(11,\"div\",40),t.TgZ(12,\"label\",41),t.TgZ(13,\"input\",42,43),t.NdJ(\"click\",function(){return t.CHM(e),t.oxw(2).check(\"PermBase\")}),t.qZA(),t._UZ(15,\"span\",44),t.qZA(),t.qZA(),t.qZA(),t.TgZ(16,\"div\",45),t.TgZ(17,\"form\",15),t.TgZ(18,\"table\",46),t.TgZ(19,\"thead\"),t.TgZ(20,\"tr\"),t.TgZ(21,\"th\"),t._uU(22),t.ALo(23,\"translate\"),t.qZA(),t.TgZ(24,\"th\",47),t._uU(25),t.ALo(26,\"translate\"),t.qZA(),t.TgZ(27,\"th\",47),t._uU(28),t.ALo(29,\"translate\"),t.qZA(),t.TgZ(30,\"th\",47),t._uU(31),t.ALo(32,\"translate\"),t._UZ(33,\"br\"),t._uU(34,\"&\"),t._UZ(35,\"br\"),t._uU(36),t.ALo(37,\"translate\"),t.qZA(),t.qZA(),t.qZA(),t.TgZ(38,\"tbody\"),t.YNc(39,Lg,13,3,\"tr\",20),t.YNc(40,Dg,16,3,\"tr\",20),t.YNc(41,Rg,16,3,\"tr\",20),t.qZA(),t.qZA(),t.qZA(),t.qZA(),t.qZA(),t.qZA(),t.TgZ(42,\"div\",59),t.TgZ(43,\"div\",60),t.TgZ(44,\"div\"),t.TgZ(45,\"button\",61),t.NdJ(\"click\",function(){return t.CHM(e),t.oxw(2).rewindOperator()}),t._uU(46),t.ALo(47,\"translate\"),t.TgZ(48,\"div\",36),t._UZ(49,\"div\",37),t.qZA(),t.qZA(),t.qZA(),t.YNc(50,Fg,6,3,\"div\",62),t.YNc(51,Gg,4,3,\"div\",62),t.qZA(),t.qZA(),t.qZA()}if(2&n){const e=t.oxw(2);t.Q6J(\"ngClass\",t.VKq(33,se,e.needAnimation(0))),t.xp6(3),t.Oqu(t.lcZ(4,17,\"perm_base\")),t.xp6(6),t.Oqu(t.lcZ(10,19,\"perm_base\")),t.xp6(4),t.Q6J(\"checked\",e.PermBase),t.xp6(4),t.Q6J(\"formGroup\",e.permissionBaseForm),t.xp6(1),t.Q6J(\"ngClass\",t.VKq(35,bt,!e.PermBase)),t.xp6(4),t.Oqu(t.lcZ(23,21,\"permessi\")),t.xp6(3),t.Oqu(t.lcZ(26,23,\"disabilita\")),t.xp6(3),t.Oqu(t.lcZ(29,25,\"visual\")),t.xp6(3),t.Oqu(t.lcZ(32,27,\"visual\")),t.xp6(5),t.Oqu(t.lcZ(37,29,\"modifica\")),t.xp6(3),t.Q6J(\"ngIf\",e.dataEmpCpoLocal.basePermissions.dashboard.enabled),t.xp6(1),t.Q6J(\"ngIf\",e.dataEmpCpoLocal.basePermissions.bi.enabled),t.xp6(1),t.Q6J(\"ngIf\",e.dataEmpCpoLocal.basePermissions.operatorManagement.enabled),t.xp6(5),t.hij(\" \",t.lcZ(47,31,\"ind\"),\" \"),t.xp6(4),t.Q6J(\"ngIf\",e.permessiEMP),t.xp6(1),t.Q6J(\"ngIf\",!e.permessiEMP)}}function Bg(n,s){1&n&&(t.TgZ(0,\"tr\"),t.TgZ(1,\"td\"),t._uU(2),t.ALo(3,\"translate\"),t.qZA(),t.TgZ(4,\"td\"),t.TgZ(5,\"label\",48),t._UZ(6,\"input\",98),t._UZ(7,\"span\",50),t.qZA(),t.qZA(),t.TgZ(8,\"td\"),t.TgZ(9,\"label\",48),t._UZ(10,\"input\",99),t._UZ(11,\"span\",50),t.qZA(),t.qZA(),t.TgZ(12,\"td\"),t.TgZ(13,\"label\",48),t._UZ(14,\"input\",100),t._UZ(15,\"span\",50),t.qZA(),t.qZA(),t.qZA()),2&n&&(t.xp6(2),t.Oqu(t.lcZ(3,1,\"cluster\")))}function Qg(n,s){1&n&&(t.TgZ(0,\"tr\"),t.TgZ(1,\"td\"),t._uU(2),t.ALo(3,\"translate\"),t.qZA(),t.TgZ(4,\"td\"),t.TgZ(5,\"label\",48),t._UZ(6,\"input\",101),t._UZ(7,\"span\",50),t.qZA(),t.qZA(),t.TgZ(8,\"td\"),t.TgZ(9,\"label\",48),t._UZ(10,\"input\",102),t._UZ(11,\"span\",50),t.qZA(),t.qZA(),t.TgZ(12,\"td\"),t.TgZ(13,\"label\",48),t._UZ(14,\"input\",103),t._UZ(15,\"span\",50),t.qZA(),t.qZA(),t.qZA()),2&n&&(t.xp6(2),t.Oqu(t.lcZ(3,1,\"coupon\")))}function zg(n,s){1&n&&(t.TgZ(0,\"tr\"),t.TgZ(1,\"td\"),t._uU(2),t.ALo(3,\"translate\"),t.qZA(),t.TgZ(4,\"td\"),t.TgZ(5,\"label\",48),t._UZ(6,\"input\",104),t._UZ(7,\"span\",50),t.qZA(),t.qZA(),t.TgZ(8,\"td\"),t.TgZ(9,\"label\",48),t._UZ(10,\"input\",105),t._UZ(11,\"span\",50),t.qZA(),t.qZA(),t.TgZ(12,\"td\"),t.TgZ(13,\"label\",48),t._UZ(14,\"input\",106),t._UZ(15,\"span\",50),t.qZA(),t.qZA(),t.qZA()),2&n&&(t.xp6(2),t.Oqu(t.lcZ(3,1,\"mappa\")))}function $g(n,s){1&n&&(t.TgZ(0,\"tr\"),t.TgZ(1,\"td\"),t._uU(2),t.ALo(3,\"translate\"),t.qZA(),t.TgZ(4,\"td\"),t.TgZ(5,\"label\",48),t._UZ(6,\"input\",107),t._UZ(7,\"span\",50),t.qZA(),t.qZA(),t.TgZ(8,\"td\"),t.TgZ(9,\"label\",48),t._UZ(10,\"input\",108),t._UZ(11,\"span\",50),t.qZA(),t.qZA(),t.TgZ(12,\"td\"),t.TgZ(13,\"label\",48),t._UZ(14,\"input\",109),t._UZ(15,\"span\",50),t.qZA(),t.qZA(),t.qZA()),2&n&&(t.xp6(2),t.Oqu(t.lcZ(3,1,\"ricariche\")))}function Yg(n,s){1&n&&(t.TgZ(0,\"tr\"),t.TgZ(1,\"td\"),t._uU(2),t.ALo(3,\"translate\"),t.qZA(),t.TgZ(4,\"td\"),t.TgZ(5,\"label\",48),t._UZ(6,\"input\",110),t._UZ(7,\"span\",50),t.qZA(),t.qZA(),t.TgZ(8,\"td\"),t.TgZ(9,\"label\",48),t._UZ(10,\"input\",111),t._UZ(11,\"span\",50),t.qZA(),t.qZA(),t.TgZ(12,\"td\"),t.TgZ(13,\"label\",48),t._UZ(14,\"input\",112),t._UZ(15,\"span\",50),t.qZA(),t.qZA(),t.qZA()),2&n&&(t.xp6(2),t.Oqu(t.lcZ(3,1,\"pren\")))}function Vg(n,s){1&n&&(t.TgZ(0,\"tr\"),t.TgZ(1,\"td\"),t._uU(2),t.ALo(3,\"translate\"),t.qZA(),t.TgZ(4,\"td\"),t.TgZ(5,\"label\",48),t._UZ(6,\"input\",113),t._UZ(7,\"span\",50),t.qZA(),t.qZA(),t.TgZ(8,\"td\"),t.TgZ(9,\"label\",48),t._UZ(10,\"input\",114),t._UZ(11,\"span\",50),t.qZA(),t.qZA(),t.TgZ(12,\"td\"),t.TgZ(13,\"label\",48),t._UZ(14,\"input\",115),t._UZ(15,\"span\",50),t.qZA(),t.qZA(),t.qZA()),2&n&&(t.xp6(2),t.Oqu(t.lcZ(3,1,\"rfidgroup\")))}function jg(n,s){1&n&&(t.TgZ(0,\"tr\"),t.TgZ(1,\"td\"),t._uU(2),t.ALo(3,\"translate\"),t.qZA(),t.TgZ(4,\"td\"),t.TgZ(5,\"label\",48),t._UZ(6,\"input\",116),t._UZ(7,\"span\",50),t.qZA(),t.qZA(),t.TgZ(8,\"td\"),t.TgZ(9,\"label\",48),t._UZ(10,\"input\",117),t._UZ(11,\"span\",50),t.qZA(),t.qZA(),t.TgZ(12,\"td\"),t.TgZ(13,\"label\",48),t._UZ(14,\"input\",118),t._UZ(15,\"span\",50),t.qZA(),t.qZA(),t.qZA()),2&n&&(t.xp6(2),t.Oqu(t.lcZ(3,1,\"impos\")))}function Wg(n,s){if(1&n){const e=t.EpF();t.TgZ(0,\"div\",81),t.TgZ(1,\"div\",39),t.TgZ(2,\"div\",12),t.TgZ(3,\"h4\",13),t._uU(4,\"Charge Point\"),t.qZA(),t.TgZ(5,\"div\",40),t.TgZ(6,\"label\",41),t.TgZ(7,\"input\",42,82),t.NdJ(\"click\",function(){return t.CHM(e),t.oxw(3).check(\"CpCpo\")}),t.qZA(),t._UZ(9,\"span\",44),t.qZA(),t.qZA(),t.qZA(),t.TgZ(10,\"div\",45),t.TgZ(11,\"form\",15),t.TgZ(12,\"table\",46),t.TgZ(13,\"thead\"),t.TgZ(14,\"tr\"),t.TgZ(15,\"th\"),t._uU(16),t.ALo(17,\"translate\"),t.qZA(),t.TgZ(18,\"th\",47),t._uU(19),t.ALo(20,\"translate\"),t.qZA(),t.TgZ(21,\"th\",47),t._uU(22),t.ALo(23,\"translate\"),t.qZA(),t.TgZ(24,\"th\",47),t._uU(25),t.ALo(26,\"translate\"),t._UZ(27,\"br\"),t._uU(28,\"&\"),t._UZ(29,\"br\"),t._uU(30),t.ALo(31,\"translate\"),t.qZA(),t.qZA(),t.qZA(),t.TgZ(32,\"tbody\"),t.TgZ(33,\"tr\"),t.TgZ(34,\"td\"),t._uU(35),t.ALo(36,\"translate\"),t.qZA(),t.TgZ(37,\"td\"),t.TgZ(38,\"label\",48),t._UZ(39,\"input\",83),t._UZ(40,\"span\",50),t.qZA(),t.qZA(),t.TgZ(41,\"td\"),t.TgZ(42,\"label\",48),t._UZ(43,\"input\",84),t._UZ(44,\"span\",50),t.qZA(),t.qZA(),t.TgZ(45,\"td\"),t.TgZ(46,\"label\",48),t._UZ(47,\"input\",85),t._UZ(48,\"span\",50),t.qZA(),t.qZA(),t.qZA(),t.YNc(49,Bg,16,3,\"tr\",20),t.YNc(50,Qg,16,3,\"tr\",20),t.YNc(51,zg,16,3,\"tr\",20),t.TgZ(52,\"tr\"),t.TgZ(53,\"td\"),t._uU(54),t.ALo(55,\"translate\"),t.qZA(),t.TgZ(56,\"td\"),t.TgZ(57,\"label\",48),t._UZ(58,\"input\",86),t._UZ(59,\"span\",50),t.qZA(),t.qZA(),t.TgZ(60,\"td\"),t.TgZ(61,\"label\",48),t._UZ(62,\"input\",87),t._UZ(63,\"span\",50),t.qZA(),t.qZA(),t.TgZ(64,\"td\"),t.TgZ(65,\"label\",48),t._UZ(66,\"input\",88),t._UZ(67,\"span\",50),t.qZA(),t.qZA(),t.qZA(),t.YNc(68,$g,16,3,\"tr\",20),t.YNc(69,Yg,16,3,\"tr\",20),t.TgZ(70,\"tr\"),t.TgZ(71,\"td\"),t._uU(72),t.ALo(73,\"translate\"),t.qZA(),t.TgZ(74,\"td\"),t.TgZ(75,\"label\",48),t._UZ(76,\"input\",89),t._UZ(77,\"span\",50),t.qZA(),t.qZA(),t.TgZ(78,\"td\"),t.TgZ(79,\"label\",48),t._UZ(80,\"input\",90),t._UZ(81,\"span\",50),t.qZA(),t.qZA(),t.TgZ(82,\"td\"),t.TgZ(83,\"label\",48),t._UZ(84,\"input\",91),t._UZ(85,\"span\",50),t.qZA(),t.qZA(),t.qZA(),t.YNc(86,Vg,16,3,\"tr\",20),t.YNc(87,jg,16,3,\"tr\",20),t.TgZ(88,\"tr\"),t.TgZ(89,\"td\"),t._uU(90),t.ALo(91,\"translate\"),t.qZA(),t.TgZ(92,\"td\"),t.TgZ(93,\"label\",48),t._UZ(94,\"input\",92),t._UZ(95,\"span\",50),t.qZA(),t.qZA(),t.TgZ(96,\"td\"),t.TgZ(97,\"label\",48),t._UZ(98,\"input\",93),t._UZ(99,\"span\",50),t.qZA(),t.qZA(),t.TgZ(100,\"td\"),t.TgZ(101,\"label\",48),t._UZ(102,\"input\",94),t._UZ(103,\"span\",50),t.qZA(),t.qZA(),t.qZA(),t.TgZ(104,\"tr\"),t.TgZ(105,\"td\"),t._uU(106),t.ALo(107,\"translate\"),t.qZA(),t.TgZ(108,\"td\"),t.TgZ(109,\"label\",48),t._UZ(110,\"input\",95),t._UZ(111,\"span\",50),t.qZA(),t.qZA(),t.TgZ(112,\"td\"),t.TgZ(113,\"label\",48),t._UZ(114,\"input\",96),t._UZ(115,\"span\",50),t.qZA(),t.qZA(),t.TgZ(116,\"td\"),t.TgZ(117,\"label\",48),t._UZ(118,\"input\",97),t._UZ(119,\"span\",50),t.qZA(),t.qZA(),t.qZA(),t.qZA(),t.qZA(),t.qZA(),t.qZA(),t.qZA(),t.qZA()}if(2&n){const e=t.oxw(3);t.xp6(7),t.Q6J(\"checked\",e.CpCpo),t.xp6(4),t.Q6J(\"formGroup\",e.permissionCpoForm),t.xp6(1),t.Q6J(\"ngClass\",t.VKq(40,bt,!e.CpCpo)),t.xp6(4),t.Oqu(t.lcZ(17,20,\"permessi\")),t.xp6(3),t.Oqu(t.lcZ(20,22,\"disabilita\")),t.xp6(3),t.Oqu(t.lcZ(23,24,\"visual\")),t.xp6(3),t.Oqu(t.lcZ(26,26,\"visual\")),t.xp6(5),t.Oqu(t.lcZ(31,28,\"modifica\")),t.xp6(5),t.Oqu(t.lcZ(36,30,\"staz\")),t.xp6(14),t.Q6J(\"ngIf\",e.dataEmpCpoLocal.cpo.permissionCpo.chargepoint.cluster.enabled),t.xp6(1),t.Q6J(\"ngIf\",e.dataEmpCpoLocal.cpo.permissionCpo.chargepoint.coupon.enabled),t.xp6(1),t.Q6J(\"ngIf\",e.dataEmpCpoLocal.cpo.permissionCpo.chargepoint.map.enabled),t.xp6(3),t.Oqu(t.lcZ(55,32,\"prodotto\")),t.xp6(14),t.Q6J(\"ngIf\",e.dataEmpCpoLocal.cpo.permissionCpo.chargepoint.recharge.enabled),t.xp6(1),t.Q6J(\"ngIf\",e.dataEmpCpoLocal.cpo.permissionCpo.chargepoint.reservation.enabled),t.xp6(3),t.Oqu(t.lcZ(73,34,\"pric_change\")),t.xp6(14),t.Q6J(\"ngIf\",e.dataEmpCpoLocal.cpo.permissionCpo.chargepoint.rfidGroup.enabled),t.xp6(1),t.Q6J(\"ngIf\",e.dataEmpCpoLocal.cpo.permissionCpo.chargepoint.settings.enabled),t.xp6(3),t.Oqu(t.lcZ(91,36,\"conf\")),t.xp6(16),t.Oqu(t.lcZ(107,38,\"set_charging\"))}}function Hg(n,s){1&n&&(t.TgZ(0,\"tr\"),t.TgZ(1,\"td\"),t._uU(2),t.ALo(3,\"translate\"),t.qZA(),t.TgZ(4,\"td\"),t.TgZ(5,\"label\",48),t._UZ(6,\"input\",124),t._UZ(7,\"span\",50),t.qZA(),t.qZA(),t.TgZ(8,\"td\"),t.TgZ(9,\"label\",48),t._UZ(10,\"input\",125),t._UZ(11,\"span\",50),t.qZA(),t.qZA(),t.TgZ(12,\"td\"),t.TgZ(13,\"label\",48),t._UZ(14,\"input\",126),t._UZ(15,\"span\",50),t.qZA(),t.qZA(),t.qZA()),2&n&&(t.xp6(2),t.Oqu(t.lcZ(3,1,\"reparto\")))}function Kg(n,s){1&n&&(t.TgZ(0,\"tr\"),t.TgZ(1,\"td\"),t._uU(2),t.ALo(3,\"translate\"),t.qZA(),t.TgZ(4,\"td\"),t.TgZ(5,\"label\",48),t._UZ(6,\"input\",127),t._UZ(7,\"span\",50),t.qZA(),t.qZA(),t.TgZ(8,\"td\"),t.TgZ(9,\"label\",48),t._UZ(10,\"input\",128),t._UZ(11,\"span\",50),t.qZA(),t.qZA(),t.TgZ(12,\"td\"),t.TgZ(13,\"label\",48),t._UZ(14,\"input\",129),t._UZ(15,\"span\",50),t.qZA(),t.qZA(),t.qZA()),2&n&&(t.xp6(2),t.Oqu(t.lcZ(3,1,\"vehicle\")))}function Xg(n,s){1&n&&(t.TgZ(0,\"tr\"),t.TgZ(1,\"td\"),t._uU(2),t.ALo(3,\"translate\"),t.ALo(4,\"translate\"),t.qZA(),t.TgZ(5,\"td\"),t.TgZ(6,\"label\",48),t._UZ(7,\"input\",130),t._UZ(8,\"span\",50),t.qZA(),t.qZA(),t.TgZ(9,\"td\"),t.TgZ(10,\"label\",48),t._UZ(11,\"input\",131),t._UZ(12,\"span\",50),t.qZA(),t.qZA(),t.TgZ(13,\"td\"),t.TgZ(14,\"label\",48),t._UZ(15,\"input\",132),t._UZ(16,\"span\",50),t.qZA(),t.qZA(),t.qZA()),2&n&&(t.xp6(2),t.AsE(\"\",t.lcZ(3,2,\"rfidgroup\"),\" \",t.lcZ(4,4,\"flotte\"),\"\"))}function tm(n,s){if(1&n){const e=t.EpF();t.TgZ(0,\"div\",119),t.TgZ(1,\"div\",39),t.TgZ(2,\"div\",12),t.TgZ(3,\"h4\",13),t._uU(4),t.ALo(5,\"translate\"),t.qZA(),t.TgZ(6,\"div\",40),t.TgZ(7,\"label\",41),t.TgZ(8,\"input\",42,120),t.NdJ(\"click\",function(){return t.CHM(e),t.oxw(3).check(\"FlCpo\")}),t.qZA(),t._UZ(10,\"span\",44),t.qZA(),t.qZA(),t.qZA(),t.TgZ(11,\"div\",45),t.TgZ(12,\"form\",15),t.TgZ(13,\"table\",46),t.TgZ(14,\"thead\"),t.TgZ(15,\"tr\"),t.TgZ(16,\"th\"),t._uU(17),t.ALo(18,\"translate\"),t.qZA(),t.TgZ(19,\"th\",47),t._uU(20),t.ALo(21,\"translate\"),t.qZA(),t.TgZ(22,\"th\",47),t._uU(23),t.ALo(24,\"translate\"),t.qZA(),t.TgZ(25,\"th\",47),t._uU(26),t.ALo(27,\"translate\"),t._UZ(28,\"br\"),t._uU(29,\"&\"),t._UZ(30,\"br\"),t._uU(31),t.ALo(32,\"translate\"),t.qZA(),t.qZA(),t.qZA(),t.TgZ(33,\"tbody\"),t.YNc(34,Hg,16,3,\"tr\",20),t.YNc(35,Kg,16,3,\"tr\",20),t.YNc(36,Xg,17,6,\"tr\",20),t.TgZ(37,\"tr\"),t.TgZ(38,\"td\"),t._uU(39),t.ALo(40,\"translate\"),t.qZA(),t.TgZ(41,\"td\"),t.TgZ(42,\"label\",48),t._UZ(43,\"input\",121),t._UZ(44,\"span\",50),t.qZA(),t.qZA(),t.TgZ(45,\"td\"),t.TgZ(46,\"label\",48),t._UZ(47,\"input\",122),t._UZ(48,\"span\",50),t.qZA(),t.qZA(),t.TgZ(49,\"td\"),t.TgZ(50,\"label\",48),t._UZ(51,\"input\",123),t._UZ(52,\"span\",50),t.qZA(),t.qZA(),t.qZA(),t.qZA(),t.qZA(),t.qZA(),t.qZA(),t.qZA(),t.qZA()}if(2&n){const e=t.oxw(3);t.xp6(4),t.Oqu(t.lcZ(5,13,\"flotte\")),t.xp6(4),t.Q6J(\"checked\",e.FlCpo),t.xp6(4),t.Q6J(\"formGroup\",e.permissionCpoForm),t.xp6(1),t.Q6J(\"ngClass\",t.VKq(27,bt,!e.FlCpo)),t.xp6(4),t.Oqu(t.lcZ(18,15,\"permessi\")),t.xp6(3),t.Oqu(t.lcZ(21,17,\"disabilita\")),t.xp6(3),t.Oqu(t.lcZ(24,19,\"visual\")),t.xp6(3),t.Oqu(t.lcZ(27,21,\"visual\")),t.xp6(5),t.Oqu(t.lcZ(32,23,\"modifica\")),t.xp6(3),t.Q6J(\"ngIf\",e.dataEmpCpoLocal.cpo.permissionCpo.fleet.department.enabled),t.xp6(1),t.Q6J(\"ngIf\",e.dataEmpCpoLocal.cpo.permissionCpo.fleet.vehicle.enabled),t.xp6(1),t.Q6J(\"ngIf\",e.dataEmpCpoLocal.cpo.permissionCpo.fleet.rfidGroup.enabled),t.xp6(3),t.Oqu(t.lcZ(40,25,\"ricariche\"))}}function em(n,s){if(1&n){const e=t.EpF();t.TgZ(0,\"div\",133),t.TgZ(1,\"div\",39),t.TgZ(2,\"div\",12),t.TgZ(3,\"h4\",13),t._uU(4),t.ALo(5,\"translate\"),t.qZA(),t.TgZ(6,\"div\",40),t.TgZ(7,\"label\",41),t.TgZ(8,\"input\",42,134),t.NdJ(\"click\",function(){return t.CHM(e),t.oxw(3).check(\"RebCpo\")}),t.qZA(),t._UZ(10,\"span\",44),t.qZA(),t.qZA(),t.qZA(),t.TgZ(11,\"div\",45),t.TgZ(12,\"form\",15),t.TgZ(13,\"table\",46),t.TgZ(14,\"thead\"),t.TgZ(15,\"tr\"),t.TgZ(16,\"th\"),t._uU(17),t.ALo(18,\"translate\"),t.qZA(),t.TgZ(19,\"th\",47),t._uU(20),t.ALo(21,\"translate\"),t.qZA(),t.TgZ(22,\"th\",47),t._uU(23),t.ALo(24,\"translate\"),t.qZA(),t.TgZ(25,\"th\",47),t._uU(26),t.ALo(27,\"translate\"),t._UZ(28,\"br\"),t._uU(29,\"&\"),t._UZ(30,\"br\"),t._uU(31),t.ALo(32,\"translate\"),t.qZA(),t.qZA(),t.qZA(),t.TgZ(33,\"tbody\"),t.TgZ(34,\"tr\"),t.TgZ(35,\"td\"),t._uU(36),t.ALo(37,\"translate\"),t.qZA(),t.TgZ(38,\"td\"),t.TgZ(39,\"label\",48),t._UZ(40,\"input\",135),t._UZ(41,\"span\",50),t.qZA(),t.qZA(),t.TgZ(42,\"td\"),t.TgZ(43,\"label\",48),t._UZ(44,\"input\",136),t._UZ(45,\"span\",50),t.qZA(),t.qZA(),t.TgZ(46,\"td\"),t.TgZ(47,\"label\",48),t._UZ(48,\"input\",137),t._UZ(49,\"span\",50),t.qZA(),t.qZA(),t.qZA(),t.qZA(),t.qZA(),t.qZA(),t.qZA(),t.qZA(),t.qZA()}if(2&n){const e=t.oxw(3);t.xp6(4),t.Oqu(t.lcZ(5,10,\"rebranding\")),t.xp6(4),t.Q6J(\"checked\",e.RebCpo),t.xp6(4),t.Q6J(\"formGroup\",e.permissionCpoForm),t.xp6(1),t.Q6J(\"ngClass\",t.VKq(24,bt,!e.RebCpo)),t.xp6(4),t.Oqu(t.lcZ(18,12,\"permessi\")),t.xp6(3),t.Oqu(t.lcZ(21,14,\"disabilita\")),t.xp6(3),t.Oqu(t.lcZ(24,16,\"visual\")),t.xp6(3),t.Oqu(t.lcZ(27,18,\"visual\")),t.xp6(5),t.Oqu(t.lcZ(32,20,\"modifica\")),t.xp6(5),t.Oqu(t.lcZ(37,22,\"rebranding\"))}}function nm(n,s){if(1&n){const e=t.EpF();t.TgZ(0,\"div\",138),t.TgZ(1,\"div\",39),t.TgZ(2,\"div\",12),t.TgZ(3,\"h4\",13),t._uU(4),t.ALo(5,\"translate\"),t.qZA(),t.TgZ(6,\"div\",40),t.TgZ(7,\"label\",41),t.TgZ(8,\"input\",42,139),t.NdJ(\"click\",function(){return t.CHM(e),t.oxw(3).check(\"SubCpo\")}),t.qZA(),t._UZ(10,\"span\",44),t.qZA(),t.qZA(),t.qZA(),t.TgZ(11,\"div\",45),t.TgZ(12,\"form\",15),t.TgZ(13,\"table\",46),t.TgZ(14,\"thead\"),t.TgZ(15,\"tr\"),t.TgZ(16,\"th\"),t._uU(17),t.ALo(18,\"translate\"),t.qZA(),t.TgZ(19,\"th\",47),t._uU(20),t.ALo(21,\"translate\"),t.qZA(),t.TgZ(22,\"th\",47),t._uU(23),t.ALo(24,\"translate\"),t.qZA(),t.TgZ(25,\"th\",47),t._uU(26),t.ALo(27,\"translate\"),t._UZ(28,\"br\"),t._uU(29,\"&\"),t._UZ(30,\"br\"),t._uU(31),t.ALo(32,\"translate\"),t.qZA(),t.qZA(),t.qZA(),t.TgZ(33,\"tbody\"),t.TgZ(34,\"tr\"),t.TgZ(35,\"td\"),t._uU(36),t.ALo(37,\"translate\"),t.qZA(),t.TgZ(38,\"td\"),t.TgZ(39,\"label\",48),t._UZ(40,\"input\",140),t._UZ(41,\"span\",50),t.qZA(),t.qZA(),t.TgZ(42,\"td\"),t.TgZ(43,\"label\",48),t._UZ(44,\"input\",141),t._UZ(45,\"span\",50),t.qZA(),t.qZA(),t.TgZ(46,\"td\"),t.TgZ(47,\"label\",48),t._UZ(48,\"input\",142),t._UZ(49,\"span\",50),t.qZA(),t.qZA(),t.qZA(),t.qZA(),t.qZA(),t.qZA(),t.qZA(),t.qZA(),t.qZA()}if(2&n){const e=t.oxw(3);t.xp6(4),t.Oqu(t.lcZ(5,10,\"sub_cpo\")),t.xp6(4),t.Q6J(\"checked\",e.SubCpo),t.xp6(4),t.Q6J(\"formGroup\",e.permissionCpoForm),t.xp6(1),t.Q6J(\"ngClass\",t.VKq(24,bt,!e.SubCpo)),t.xp6(4),t.Oqu(t.lcZ(18,12,\"permessi\")),t.xp6(3),t.Oqu(t.lcZ(21,14,\"disabilita\")),t.xp6(3),t.Oqu(t.lcZ(24,16,\"visual\")),t.xp6(3),t.Oqu(t.lcZ(27,18,\"visual\")),t.xp6(5),t.Oqu(t.lcZ(32,20,\"modifica\")),t.xp6(5),t.Oqu(t.lcZ(37,22,\"sub_cpo\"))}}function om(n,s){if(1&n){const e=t.EpF();t.TgZ(0,\"div\",143),t.TgZ(1,\"div\",39),t.TgZ(2,\"div\",12),t.TgZ(3,\"h4\",13),t._uU(4),t.ALo(5,\"translate\"),t.qZA(),t.TgZ(6,\"div\",40),t.TgZ(7,\"label\",41),t.TgZ(8,\"input\",42,144),t.NdJ(\"click\",function(){return t.CHM(e),t.oxw(3).check(\"RicCpo\")}),t.qZA(),t._UZ(10,\"span\",44),t.qZA(),t.qZA(),t.qZA(),t.TgZ(11,\"div\",45),t.TgZ(12,\"form\",15),t.TgZ(13,\"table\",46),t.TgZ(14,\"thead\"),t.TgZ(15,\"tr\"),t.TgZ(16,\"th\"),t._uU(17),t.ALo(18,\"translate\"),t.qZA(),t.TgZ(19,\"th\",47),t._uU(20),t.ALo(21,\"translate\"),t.qZA(),t.TgZ(22,\"th\",47),t._uU(23),t.ALo(24,\"translate\"),t.qZA(),t.TgZ(25,\"th\",47),t._uU(26),t.ALo(27,\"translate\"),t._UZ(28,\"br\"),t._uU(29,\"&\"),t._UZ(30,\"br\"),t._uU(31),t.ALo(32,\"translate\"),t.qZA(),t.qZA(),t.qZA(),t.TgZ(33,\"tbody\"),t.TgZ(34,\"tr\"),t.TgZ(35,\"td\"),t._uU(36),t.ALo(37,\"translate\"),t.qZA(),t.TgZ(38,\"td\"),t.TgZ(39,\"label\",48),t._UZ(40,\"input\",145),t._UZ(41,\"span\",50),t.qZA(),t.qZA(),t.TgZ(42,\"td\"),t.TgZ(43,\"label\",48),t._UZ(44,\"input\",146),t._UZ(45,\"span\",50),t.qZA(),t.qZA(),t.TgZ(46,\"td\"),t.TgZ(47,\"label\",48),t._UZ(48,\"input\",147),t._UZ(49,\"span\",50),t.qZA(),t.qZA(),t.qZA(),t.qZA(),t.qZA(),t.qZA(),t.qZA(),t.qZA(),t.qZA()}if(2&n){const e=t.oxw(3);t.xp6(4),t.Oqu(t.lcZ(5,10,\"ricavi\")),t.xp6(4),t.Q6J(\"checked\",e.RicCpo),t.xp6(4),t.Q6J(\"formGroup\",e.permissionCpoForm),t.xp6(1),t.Q6J(\"ngClass\",t.VKq(24,bt,!e.RicCpo)),t.xp6(4),t.Oqu(t.lcZ(18,12,\"permessi\")),t.xp6(3),t.Oqu(t.lcZ(21,14,\"disabilita\")),t.xp6(3),t.Oqu(t.lcZ(24,16,\"visual\")),t.xp6(3),t.Oqu(t.lcZ(27,18,\"visual\")),t.xp6(5),t.Oqu(t.lcZ(32,20,\"modifica\")),t.xp6(5),t.Oqu(t.lcZ(37,22,\"ricavi\"))}}function im(n,s){if(1&n){const e=t.EpF();t.TgZ(0,\"div\",148),t.TgZ(1,\"div\",39),t.TgZ(2,\"div\",12),t.TgZ(3,\"h4\",13),t._uU(4),t.ALo(5,\"translate\"),t.qZA(),t.TgZ(6,\"div\",40),t.TgZ(7,\"label\",41),t.TgZ(8,\"input\",42,149),t.NdJ(\"click\",function(){return t.CHM(e),t.oxw(3).check(\"SetCpo\")}),t.qZA(),t._UZ(10,\"span\",44),t.qZA(),t.qZA(),t.qZA(),t.TgZ(11,\"div\",45),t.TgZ(12,\"form\",15),t.TgZ(13,\"table\",46),t.TgZ(14,\"thead\"),t.TgZ(15,\"tr\"),t.TgZ(16,\"th\"),t._uU(17),t.ALo(18,\"translate\"),t.qZA(),t.TgZ(19,\"th\",47),t._uU(20),t.ALo(21,\"translate\"),t.qZA(),t.TgZ(22,\"th\",47),t._uU(23),t.ALo(24,\"translate\"),t.qZA(),t.TgZ(25,\"th\",47),t._uU(26),t.ALo(27,\"translate\"),t._UZ(28,\"br\"),t._uU(29,\"&\"),t._UZ(30,\"br\"),t._uU(31),t.ALo(32,\"translate\"),t.qZA(),t.qZA(),t.qZA(),t.TgZ(33,\"tbody\"),t.TgZ(34,\"tr\"),t.TgZ(35,\"td\"),t._uU(36),t.ALo(37,\"translate\"),t.qZA(),t.TgZ(38,\"td\"),t.TgZ(39,\"label\",48),t._UZ(40,\"input\",150),t._UZ(41,\"span\",50),t.qZA(),t.qZA(),t.TgZ(42,\"td\"),t.TgZ(43,\"label\",48),t._UZ(44,\"input\",151),t._UZ(45,\"span\",50),t.qZA(),t.qZA(),t.TgZ(46,\"td\"),t.TgZ(47,\"label\",48),t._UZ(48,\"input\",152),t._UZ(49,\"span\",50),t.qZA(),t.qZA(),t.qZA(),t.qZA(),t.qZA(),t.qZA(),t.qZA(),t.qZA(),t.qZA()}if(2&n){const e=t.oxw(3);t.xp6(4),t.Oqu(t.lcZ(5,10,\"impos\")),t.xp6(4),t.Q6J(\"checked\",e.SetCpo),t.xp6(4),t.Q6J(\"formGroup\",e.permissionCpoForm),t.xp6(1),t.Q6J(\"ngClass\",t.VKq(24,bt,!e.SetCpo)),t.xp6(4),t.Oqu(t.lcZ(18,12,\"permessi\")),t.xp6(3),t.Oqu(t.lcZ(21,14,\"disabilita\")),t.xp6(3),t.Oqu(t.lcZ(24,16,\"visual\")),t.xp6(3),t.Oqu(t.lcZ(27,18,\"visual\")),t.xp6(5),t.Oqu(t.lcZ(32,20,\"modifica\")),t.xp6(5),t.Oqu(t.lcZ(37,22,\"webapp\"))}}function am(n,s){if(1&n){const e=t.EpF();t.TgZ(0,\"div\",64),t.TgZ(1,\"button\",65),t.NdJ(\"click\",function(){return t.CHM(e),t.oxw(3).next()}),t._uU(2),t.ALo(3,\"translate\"),t.TgZ(4,\"div\",36),t._UZ(5,\"div\",37),t.qZA(),t.qZA(),t.qZA()}2&n&&(t.xp6(2),t.hij(\" \",t.lcZ(3,1,\"prosegui\"),\" \"))}function rm(n,s){if(1&n){const e=t.EpF();t.TgZ(0,\"div\",64),t.TgZ(1,\"button\",65),t.NdJ(\"click\",function(){return t.CHM(e),t.oxw(3).crea()}),t._uU(2),t.ALo(3,\"translate\"),t.qZA(),t.qZA()}2&n&&(t.xp6(2),t.hij(\" \",t.lcZ(3,1,\"conferma\"),\" \"))}function sm(n,s){if(1&n){const e=t.EpF();t.TgZ(0,\"div\",57),t.TgZ(1,\"div\"),t.TgZ(2,\"p\",58),t._uU(3),t.ALo(4,\"translate\"),t.ALo(5,\"translate\"),t.qZA(),t.qZA(),t.TgZ(6,\"div\",66),t.YNc(7,Wg,120,42,\"div\",67),t.YNc(8,tm,53,29,\"div\",68),t.TgZ(9,\"div\",69),t.TgZ(10,\"div\",39),t.TgZ(11,\"div\",12),t.TgZ(12,\"h4\",13),t._uU(13),t.ALo(14,\"translate\"),t.qZA(),t.TgZ(15,\"div\",40),t.TgZ(16,\"label\",41),t.TgZ(17,\"input\",42,70),t.NdJ(\"click\",function(){return t.CHM(e),t.oxw(2).check(\"AssMngmtCpo\")}),t.qZA(),t._UZ(19,\"span\",44),t.qZA(),t.qZA(),t.qZA(),t.TgZ(20,\"div\",45),t.TgZ(21,\"form\",15),t.TgZ(22,\"table\",46),t.TgZ(23,\"thead\"),t.TgZ(24,\"tr\"),t.TgZ(25,\"th\"),t._uU(26),t.ALo(27,\"translate\"),t.qZA(),t.TgZ(28,\"th\",47),t._uU(29),t.ALo(30,\"translate\"),t.qZA(),t.TgZ(31,\"th\",47),t._uU(32),t.ALo(33,\"translate\"),t.qZA(),t.TgZ(34,\"th\",47),t._uU(35),t.ALo(36,\"translate\"),t._UZ(37,\"br\"),t._uU(38,\"&\"),t._UZ(39,\"br\"),t._uU(40),t.ALo(41,\"translate\"),t.qZA(),t.qZA(),t.qZA(),t.TgZ(42,\"tbody\"),t.TgZ(43,\"tr\"),t.TgZ(44,\"td\"),t._uU(45),t.ALo(46,\"translate\"),t.qZA(),t.TgZ(47,\"td\"),t.TgZ(48,\"label\",48),t._UZ(49,\"input\",71),t._UZ(50,\"span\",50),t.qZA(),t.qZA(),t.TgZ(51,\"td\"),t.TgZ(52,\"label\",48),t._UZ(53,\"input\",72),t._UZ(54,\"span\",50),t.qZA(),t.qZA(),t.TgZ(55,\"td\"),t.TgZ(56,\"label\",48),t._UZ(57,\"input\",73),t._UZ(58,\"span\",50),t.qZA(),t.qZA(),t.qZA(),t.TgZ(59,\"tr\"),t.TgZ(60,\"td\"),t._uU(61),t.ALo(62,\"translate\"),t.qZA(),t.TgZ(63,\"td\"),t.TgZ(64,\"label\",48),t._UZ(65,\"input\",74),t._UZ(66,\"span\",50),t.qZA(),t.qZA(),t.TgZ(67,\"td\"),t.TgZ(68,\"label\",48),t._UZ(69,\"input\",75),t._UZ(70,\"span\",50),t.qZA(),t.qZA(),t.TgZ(71,\"td\"),t.TgZ(72,\"label\",48),t._UZ(73,\"input\",76),t._UZ(74,\"span\",50),t.qZA(),t.qZA(),t.qZA(),t.qZA(),t.qZA(),t.qZA(),t.qZA(),t.qZA(),t.qZA(),t.YNc(75,em,50,26,\"div\",77),t.YNc(76,nm,50,26,\"div\",78),t.YNc(77,om,50,26,\"div\",79),t.YNc(78,im,50,26,\"div\",80),t.qZA(),t.TgZ(79,\"div\",59),t.TgZ(80,\"div\",60),t.TgZ(81,\"div\"),t.TgZ(82,\"button\",61),t.NdJ(\"click\",function(){return t.CHM(e),t.oxw(2).rewind()}),t._uU(83),t.ALo(84,\"translate\"),t.TgZ(85,\"div\",36),t._UZ(86,\"div\",37),t.qZA(),t.qZA(),t.qZA(),t.YNc(87,am,6,3,\"div\",62),t.YNc(88,rm,4,3,\"div\",62),t.qZA(),t.qZA(),t.qZA()}if(2&n){const e=t.oxw(2);t.Q6J(\"ngClass\",t.VKq(45,se,e.needAnimation(1))),t.xp6(3),t.AsE(\"\",t.lcZ(4,23,\"permessi\"),\" \",t.lcZ(5,25,\"cpo\"),\"\"),t.xp6(4),t.Q6J(\"ngIf\",e.dataEmpCpoLocal.cpo.permissionCpo.chargepoint.enabled),t.xp6(1),t.Q6J(\"ngIf\",e.dataEmpCpoLocal.cpo.permissionCpo.fleet.enabled),t.xp6(5),t.Oqu(t.lcZ(14,27,\"ass_mngmt\")),t.xp6(4),t.Q6J(\"checked\",e.AssMngmtCpo),t.xp6(4),t.Q6J(\"formGroup\",e.permissionCpoForm),t.xp6(1),t.Q6J(\"ngClass\",t.VKq(47,bt,!e.AssMngmtCpo)),t.xp6(4),t.Oqu(t.lcZ(27,29,\"permessi\")),t.xp6(3),t.Oqu(t.lcZ(30,31,\"disabilita\")),t.xp6(3),t.Oqu(t.lcZ(33,33,\"visual\")),t.xp6(3),t.Oqu(t.lcZ(36,35,\"visual\")),t.xp6(5),t.Oqu(t.lcZ(41,37,\"modifica\")),t.xp6(5),t.Oqu(t.lcZ(46,39,\"teamStation\")),t.xp6(16),t.Oqu(t.lcZ(62,41,\"eventi\")),t.xp6(14),t.Q6J(\"ngIf\",e.dataEmpCpoLocal.cpo.permissionCpo.rebranding.enabled),t.xp6(1),t.Q6J(\"ngIf\",e.dataEmpCpoLocal.cpo.permissionCpo.chargepoint.subCpo.enabled),t.xp6(1),t.Q6J(\"ngIf\",e.dataEmpCpoLocal.cpo.permissionCpo.chargepoint.revenues.enabled),t.xp6(1),t.Q6J(\"ngIf\",e.dataEmpCpoLocal.cpo.permissionCpo.chargepoint.settings.enabled),t.xp6(5),t.hij(\" \",t.lcZ(84,43,\"ind\"),\" \"),t.xp6(4),t.Q6J(\"ngIf\",e.permessiEMP),t.xp6(1),t.Q6J(\"ngIf\",!e.permessiEMP)}}function lm(n,s){if(1&n){const e=t.EpF();t.TgZ(0,\"div\",167),t.TgZ(1,\"div\",39),t.TgZ(2,\"div\",12),t.TgZ(3,\"h4\",13),t._uU(4),t.ALo(5,\"translate\"),t.qZA(),t.TgZ(6,\"div\",40),t.TgZ(7,\"label\",41),t.TgZ(8,\"input\",42,168),t.NdJ(\"click\",function(){return t.CHM(e),t.oxw(3).check(\"FlEmp\")}),t.qZA(),t._UZ(10,\"span\",44),t.qZA(),t.qZA(),t.qZA(),t.TgZ(11,\"div\",45),t.TgZ(12,\"form\",15),t.TgZ(13,\"table\",46),t.TgZ(14,\"thead\"),t.TgZ(15,\"tr\"),t.TgZ(16,\"th\"),t._uU(17),t.ALo(18,\"translate\"),t.qZA(),t.TgZ(19,\"th\",47),t._uU(20),t.ALo(21,\"translate\"),t.qZA(),t.TgZ(22,\"th\",47),t._uU(23),t.ALo(24,\"translate\"),t.qZA(),t.TgZ(25,\"th\",47),t._uU(26),t.ALo(27,\"translate\"),t._UZ(28,\"br\"),t._uU(29,\"&\"),t._UZ(30,\"br\"),t._uU(31),t.ALo(32,\"translate\"),t.qZA(),t.qZA(),t.qZA(),t.TgZ(33,\"tbody\"),t.TgZ(34,\"tr\"),t.TgZ(35,\"td\"),t._uU(36),t.ALo(37,\"translate\"),t.qZA(),t.TgZ(38,\"td\"),t.TgZ(39,\"label\",48),t._UZ(40,\"input\",169),t._UZ(41,\"span\",50),t.qZA(),t.qZA(),t.TgZ(42,\"td\"),t.TgZ(43,\"label\",48),t._UZ(44,\"input\",170),t._UZ(45,\"span\",50),t.qZA(),t.qZA(),t.TgZ(46,\"td\"),t.TgZ(47,\"label\",48),t._UZ(48,\"input\",171),t._UZ(49,\"span\",50),t.qZA(),t.qZA(),t.qZA(),t.qZA(),t.qZA(),t.qZA(),t.qZA(),t.qZA(),t.qZA()}if(2&n){const e=t.oxw(3);t.xp6(4),t.Oqu(t.lcZ(5,10,\"flat\")),t.xp6(4),t.Q6J(\"checked\",e.FlEmp),t.xp6(4),t.Q6J(\"formGroup\",e.permissionEmpForm),t.xp6(1),t.Q6J(\"ngClass\",t.VKq(24,bt,!e.FlEmp)),t.xp6(4),t.Oqu(t.lcZ(18,12,\"permessi\")),t.xp6(3),t.Oqu(t.lcZ(21,14,\"disabilita\")),t.xp6(3),t.Oqu(t.lcZ(24,16,\"visual\")),t.xp6(3),t.Oqu(t.lcZ(27,18,\"visual\")),t.xp6(5),t.Oqu(t.lcZ(32,20,\"modifica\")),t.xp6(5),t.Oqu(t.lcZ(37,22,\"flat\"))}}function cm(n,s){if(1&n){const e=t.EpF();t.TgZ(0,\"div\",172),t.TgZ(1,\"div\",39),t.TgZ(2,\"div\",12),t.TgZ(3,\"h4\",13),t._uU(4),t.ALo(5,\"translate\"),t.ALo(6,\"translate\"),t.qZA(),t.TgZ(7,\"div\",40),t.TgZ(8,\"label\",41),t.TgZ(9,\"input\",42,173),t.NdJ(\"click\",function(){return t.CHM(e),t.oxw(3).check(\"MapEmp\")}),t.qZA(),t._UZ(11,\"span\",44),t.qZA(),t.qZA(),t.qZA(),t.TgZ(12,\"div\",45),t.TgZ(13,\"form\",15),t.TgZ(14,\"table\",46),t.TgZ(15,\"thead\"),t.TgZ(16,\"tr\"),t.TgZ(17,\"th\"),t._uU(18),t.ALo(19,\"translate\"),t.qZA(),t.TgZ(20,\"th\",47),t._uU(21),t.ALo(22,\"translate\"),t.qZA(),t.TgZ(23,\"th\",47),t._uU(24),t.ALo(25,\"translate\"),t.qZA(),t.TgZ(26,\"th\",47),t._uU(27),t.ALo(28,\"translate\"),t._UZ(29,\"br\"),t._uU(30,\"&\"),t._UZ(31,\"br\"),t._uU(32),t.ALo(33,\"translate\"),t.qZA(),t.qZA(),t.qZA(),t.TgZ(34,\"tbody\"),t.TgZ(35,\"tr\"),t.TgZ(36,\"td\"),t._uU(37),t.ALo(38,\"translate\"),t.ALo(39,\"translate\"),t.qZA(),t.TgZ(40,\"td\"),t.TgZ(41,\"label\",48),t._UZ(42,\"input\",174),t._UZ(43,\"span\",50),t.qZA(),t.qZA(),t.TgZ(44,\"td\"),t.TgZ(45,\"label\",48),t._UZ(46,\"input\",175),t._UZ(47,\"span\",50),t.qZA(),t.qZA(),t.TgZ(48,\"td\"),t.TgZ(49,\"label\",48),t._UZ(50,\"input\",176),t._UZ(51,\"span\",50),t.qZA(),t.qZA(),t.qZA(),t.qZA(),t.qZA(),t.qZA(),t.qZA(),t.qZA(),t.qZA()}if(2&n){const e=t.oxw(3);t.xp6(4),t.AsE(\"\",t.lcZ(5,12,\"mappa\"),\" \",t.lcZ(6,14,\"emp\"),\"\"),t.xp6(5),t.Q6J(\"checked\",e.MapEmp),t.xp6(4),t.Q6J(\"formGroup\",e.permissionEmpForm),t.xp6(1),t.Q6J(\"ngClass\",t.VKq(30,bt,!e.MapEmp)),t.xp6(4),t.Oqu(t.lcZ(19,16,\"permessi\")),t.xp6(3),t.Oqu(t.lcZ(22,18,\"disabilita\")),t.xp6(3),t.Oqu(t.lcZ(25,20,\"visual\")),t.xp6(3),t.Oqu(t.lcZ(28,22,\"visual\")),t.xp6(5),t.Oqu(t.lcZ(33,24,\"modifica\")),t.xp6(5),t.AsE(\"\",t.lcZ(38,26,\"mappa\"),\" \",t.lcZ(39,28,\"emp\"),\"\")}}function pm(n,s){if(1&n){const e=t.EpF();t.TgZ(0,\"div\",177),t.TgZ(1,\"div\",39),t.TgZ(2,\"div\",12),t.TgZ(3,\"h4\",13),t._uU(4),t.ALo(5,\"translate\"),t.qZA(),t.TgZ(6,\"div\",40),t.TgZ(7,\"label\",41),t.TgZ(8,\"input\",42,178),t.NdJ(\"click\",function(){return t.CHM(e),t.oxw(3).check(\"RevEmp\")}),t.qZA(),t._UZ(10,\"span\",44),t.qZA(),t.qZA(),t.qZA(),t.TgZ(11,\"div\",45),t.TgZ(12,\"form\",15),t.TgZ(13,\"table\",46),t.TgZ(14,\"thead\"),t.TgZ(15,\"tr\"),t.TgZ(16,\"th\"),t._uU(17),t.ALo(18,\"translate\"),t.qZA(),t.TgZ(19,\"th\",47),t._uU(20),t.ALo(21,\"translate\"),t.qZA(),t.TgZ(22,\"th\",47),t._uU(23),t.ALo(24,\"translate\"),t.qZA(),t.TgZ(25,\"th\",47),t._uU(26),t.ALo(27,\"translate\"),t._UZ(28,\"br\"),t._uU(29,\"&\"),t._UZ(30,\"br\"),t._uU(31),t.ALo(32,\"translate\"),t.qZA(),t.qZA(),t.qZA(),t.TgZ(33,\"tbody\"),t.TgZ(34,\"tr\"),t.TgZ(35,\"td\"),t._uU(36),t.ALo(37,\"translate\"),t.qZA(),t.TgZ(38,\"td\"),t.TgZ(39,\"label\",48),t._UZ(40,\"input\",179),t._UZ(41,\"span\",50),t.qZA(),t.qZA(),t.TgZ(42,\"td\"),t.TgZ(43,\"label\",48),t._UZ(44,\"input\",180),t._UZ(45,\"span\",50),t.qZA(),t.qZA(),t.TgZ(46,\"td\"),t.TgZ(47,\"label\",48),t._UZ(48,\"input\",181),t._UZ(49,\"span\",50),t.qZA(),t.qZA(),t.qZA(),t.qZA(),t.qZA(),t.qZA(),t.qZA(),t.qZA(),t.qZA()}if(2&n){const e=t.oxw(3);t.xp6(4),t.Oqu(t.lcZ(5,10,\"ricavi\")),t.xp6(4),t.Q6J(\"checked\",e.RevEmp),t.xp6(4),t.Q6J(\"formGroup\",e.permissionEmpForm),t.xp6(1),t.Q6J(\"ngClass\",t.VKq(24,bt,!e.RevEmp)),t.xp6(4),t.Oqu(t.lcZ(18,12,\"permessi\")),t.xp6(3),t.Oqu(t.lcZ(21,14,\"disabilita\")),t.xp6(3),t.Oqu(t.lcZ(24,16,\"visual\")),t.xp6(3),t.Oqu(t.lcZ(27,18,\"visual\")),t.xp6(5),t.Oqu(t.lcZ(32,20,\"modifica\")),t.xp6(5),t.Oqu(t.lcZ(37,22,\"ricavi\"))}}function dm(n,s){if(1&n){const e=t.EpF();t.TgZ(0,\"div\",182),t.TgZ(1,\"div\",39),t.TgZ(2,\"div\",12),t.TgZ(3,\"h4\",13),t._uU(4),t.ALo(5,\"translate\"),t.qZA(),t.TgZ(6,\"div\",40),t.TgZ(7,\"label\",41),t.TgZ(8,\"input\",42,183),t.NdJ(\"click\",function(){return t.CHM(e),t.oxw(3).check(\"SupEmp\")}),t.qZA(),t._UZ(10,\"span\",44),t.qZA(),t.qZA(),t.qZA(),t.TgZ(11,\"div\",45),t.TgZ(12,\"form\",15),t.TgZ(13,\"table\",46),t.TgZ(14,\"thead\"),t.TgZ(15,\"tr\"),t.TgZ(16,\"th\"),t._uU(17),t.ALo(18,\"translate\"),t.qZA(),t.TgZ(19,\"th\",47),t._uU(20),t.ALo(21,\"translate\"),t.qZA(),t.TgZ(22,\"th\",47),t._uU(23),t.ALo(24,\"translate\"),t.qZA(),t.TgZ(25,\"th\",47),t._uU(26),t.ALo(27,\"translate\"),t._UZ(28,\"br\"),t._uU(29,\"&\"),t._UZ(30,\"br\"),t._uU(31),t.ALo(32,\"translate\"),t.qZA(),t.qZA(),t.qZA(),t.TgZ(33,\"tbody\"),t.TgZ(34,\"tr\"),t.TgZ(35,\"td\"),t._uU(36),t.ALo(37,\"translate\"),t.qZA(),t.TgZ(38,\"td\"),t.TgZ(39,\"label\",48),t._UZ(40,\"input\",184),t._UZ(41,\"span\",50),t.qZA(),t.qZA(),t.TgZ(42,\"td\"),t.TgZ(43,\"label\",48),t._UZ(44,\"input\",185),t._UZ(45,\"span\",50),t.qZA(),t.qZA(),t.TgZ(46,\"td\"),t.TgZ(47,\"label\",48),t._UZ(48,\"input\",186),t._UZ(49,\"span\",50),t.qZA(),t.qZA(),t.qZA(),t.qZA(),t.qZA(),t.qZA(),t.qZA(),t.qZA(),t.qZA()}if(2&n){const e=t.oxw(3);t.xp6(4),t.Oqu(t.lcZ(5,10,\"support\")),t.xp6(4),t.Q6J(\"checked\",e.SupEmp),t.xp6(4),t.Q6J(\"formGroup\",e.permissionEmpForm),t.xp6(1),t.Q6J(\"ngClass\",t.VKq(24,bt,!e.SupEmp)),t.xp6(4),t.Oqu(t.lcZ(18,12,\"permessi\")),t.xp6(3),t.Oqu(t.lcZ(21,14,\"disabilita\")),t.xp6(3),t.Oqu(t.lcZ(24,16,\"visual\")),t.xp6(3),t.Oqu(t.lcZ(27,18,\"visual\")),t.xp6(5),t.Oqu(t.lcZ(32,20,\"modifica\")),t.xp6(5),t.Oqu(t.lcZ(37,22,\"support\"))}}function gm(n,s){if(1&n){const e=t.EpF();t.TgZ(0,\"div\",187),t.TgZ(1,\"div\",39),t.TgZ(2,\"div\",12),t.TgZ(3,\"h4\",13),t._uU(4),t.ALo(5,\"translate\"),t.qZA(),t.TgZ(6,\"div\",40),t.TgZ(7,\"label\",41),t.TgZ(8,\"input\",42,188),t.NdJ(\"click\",function(){return t.CHM(e),t.oxw(3).check(\"UsEmp\")}),t.qZA(),t._UZ(10,\"span\",44),t.qZA(),t.qZA(),t.qZA(),t.TgZ(11,\"div\",45),t.TgZ(12,\"form\",15),t.TgZ(13,\"table\",46),t.TgZ(14,\"thead\"),t.TgZ(15,\"tr\"),t.TgZ(16,\"th\"),t._uU(17),t.ALo(18,\"translate\"),t.qZA(),t.TgZ(19,\"th\",47),t._uU(20),t.ALo(21,\"translate\"),t.qZA(),t.TgZ(22,\"th\",47),t._uU(23),t.ALo(24,\"translate\"),t.qZA(),t.TgZ(25,\"th\",47),t._uU(26),t.ALo(27,\"translate\"),t._UZ(28,\"br\"),t._uU(29,\"&\"),t._UZ(30,\"br\"),t._uU(31),t.ALo(32,\"translate\"),t.qZA(),t.qZA(),t.qZA(),t.TgZ(33,\"tbody\"),t.TgZ(34,\"tr\"),t.TgZ(35,\"td\"),t._uU(36),t.ALo(37,\"translate\"),t.qZA(),t.TgZ(38,\"td\"),t.TgZ(39,\"label\",48),t._UZ(40,\"input\",189),t._UZ(41,\"span\",50),t.qZA(),t.qZA(),t.TgZ(42,\"td\"),t.TgZ(43,\"label\",48),t._UZ(44,\"input\",190),t._UZ(45,\"span\",50),t.qZA(),t.qZA(),t.TgZ(46,\"td\"),t.TgZ(47,\"label\",48),t._UZ(48,\"input\",191),t._UZ(49,\"span\",50),t.qZA(),t.qZA(),t.qZA(),t.qZA(),t.qZA(),t.qZA(),t.qZA(),t.qZA(),t.qZA()}if(2&n){const e=t.oxw(3);t.xp6(4),t.Oqu(t.lcZ(5,10,\"user\")),t.xp6(4),t.Q6J(\"checked\",e.UsEmp),t.xp6(4),t.Q6J(\"formGroup\",e.permissionEmpForm),t.xp6(1),t.Q6J(\"ngClass\",t.VKq(24,bt,!e.UsEmp)),t.xp6(4),t.Oqu(t.lcZ(18,12,\"permessi\")),t.xp6(3),t.Oqu(t.lcZ(21,14,\"disabilita\")),t.xp6(3),t.Oqu(t.lcZ(24,16,\"visual\")),t.xp6(3),t.Oqu(t.lcZ(27,18,\"visual\")),t.xp6(5),t.Oqu(t.lcZ(32,20,\"modifica\")),t.xp6(5),t.Oqu(t.lcZ(37,22,\"user\"))}}function mm(n,s){if(1&n){const e=t.EpF();t.TgZ(0,\"div\",192),t.TgZ(1,\"div\",39),t.TgZ(2,\"div\",12),t.TgZ(3,\"h4\",13),t._uU(4),t.ALo(5,\"translate\"),t.qZA(),t.TgZ(6,\"div\",40),t.TgZ(7,\"label\",41),t.TgZ(8,\"input\",42,193),t.NdJ(\"click\",function(){return t.CHM(e),t.oxw(3).check(\"VouEmp\")}),t.qZA(),t._UZ(10,\"span\",44),t.qZA(),t.qZA(),t.qZA(),t.TgZ(11,\"div\",45),t.TgZ(12,\"form\",15),t.TgZ(13,\"table\",46),t.TgZ(14,\"thead\"),t.TgZ(15,\"tr\"),t.TgZ(16,\"th\"),t._uU(17),t.ALo(18,\"translate\"),t.qZA(),t.TgZ(19,\"th\",47),t._uU(20),t.ALo(21,\"translate\"),t.qZA(),t.TgZ(22,\"th\",47),t._uU(23),t.ALo(24,\"translate\"),t.qZA(),t.TgZ(25,\"th\",47),t._uU(26),t.ALo(27,\"translate\"),t._UZ(28,\"br\"),t._uU(29,\"&\"),t._UZ(30,\"br\"),t._uU(31),t.ALo(32,\"translate\"),t.qZA(),t.qZA(),t.qZA(),t.TgZ(33,\"tbody\"),t.TgZ(34,\"tr\"),t.TgZ(35,\"td\"),t._uU(36),t.ALo(37,\"translate\"),t.qZA(),t.TgZ(38,\"td\"),t.TgZ(39,\"label\",48),t._UZ(40,\"input\",194),t._UZ(41,\"span\",50),t.qZA(),t.qZA(),t.TgZ(42,\"td\"),t.TgZ(43,\"label\",48),t._UZ(44,\"input\",195),t._UZ(45,\"span\",50),t.qZA(),t.qZA(),t.TgZ(46,\"td\"),t.TgZ(47,\"label\",48),t._UZ(48,\"input\",196),t._UZ(49,\"span\",50),t.qZA(),t.qZA(),t.qZA(),t.qZA(),t.qZA(),t.qZA(),t.qZA(),t.qZA(),t.qZA()}if(2&n){const e=t.oxw(3);t.xp6(4),t.Oqu(t.lcZ(5,10,\"voucher\")),t.xp6(4),t.Q6J(\"checked\",e.VouEmp),t.xp6(4),t.Q6J(\"formGroup\",e.permissionEmpForm),t.xp6(1),t.Q6J(\"ngClass\",t.VKq(24,bt,!e.VouEmp)),t.xp6(4),t.Oqu(t.lcZ(18,12,\"permessi\")),t.xp6(3),t.Oqu(t.lcZ(21,14,\"disabilita\")),t.xp6(3),t.Oqu(t.lcZ(24,16,\"visual\")),t.xp6(3),t.Oqu(t.lcZ(27,18,\"visual\")),t.xp6(5),t.Oqu(t.lcZ(32,20,\"modifica\")),t.xp6(5),t.Oqu(t.lcZ(37,22,\"voucher\"))}}function um(n,s){if(1&n){const e=t.EpF();t.TgZ(0,\"div\",197),t.TgZ(1,\"div\",39),t.TgZ(2,\"div\",12),t.TgZ(3,\"h4\",13),t._uU(4),t.ALo(5,\"translate\"),t.qZA(),t.TgZ(6,\"div\",40),t.TgZ(7,\"label\",41),t.TgZ(8,\"input\",42,198),t.NdJ(\"click\",function(){return t.CHM(e),t.oxw(3).check(\"RomExtEmp\")}),t.qZA(),t._UZ(10,\"span\",44),t.qZA(),t.qZA(),t.qZA(),t.TgZ(11,\"div\",45),t.TgZ(12,\"form\",15),t.TgZ(13,\"table\",46),t.TgZ(14,\"thead\"),t.TgZ(15,\"tr\"),t.TgZ(16,\"th\"),t._uU(17),t.ALo(18,\"translate\"),t.qZA(),t.TgZ(19,\"th\",47),t._uU(20),t.ALo(21,\"translate\"),t.qZA(),t.TgZ(22,\"th\",47),t._uU(23),t.ALo(24,\"translate\"),t.qZA(),t.TgZ(25,\"th\",47),t._uU(26),t.ALo(27,\"translate\"),t._UZ(28,\"br\"),t._uU(29,\"&\"),t._UZ(30,\"br\"),t._uU(31),t.ALo(32,\"translate\"),t.qZA(),t.qZA(),t.qZA(),t.TgZ(33,\"tbody\"),t.TgZ(34,\"tr\"),t.TgZ(35,\"td\"),t._uU(36),t.ALo(37,\"translate\"),t.qZA(),t.TgZ(38,\"td\"),t.TgZ(39,\"label\",48),t._UZ(40,\"input\",199),t._UZ(41,\"span\",50),t.qZA(),t.qZA(),t.TgZ(42,\"td\"),t.TgZ(43,\"label\",48),t._UZ(44,\"input\",200),t._UZ(45,\"span\",50),t.qZA(),t.qZA(),t.TgZ(46,\"td\"),t.TgZ(47,\"label\",48),t._UZ(48,\"input\",201),t._UZ(49,\"span\",50),t.qZA(),t.qZA(),t.qZA(),t.TgZ(50,\"tr\"),t.TgZ(51,\"td\"),t._uU(52),t.ALo(53,\"translate\"),t.ALo(54,\"translate\"),t.qZA(),t.TgZ(55,\"td\"),t.TgZ(56,\"label\",48),t._UZ(57,\"input\",202),t._UZ(58,\"span\",50),t.qZA(),t.qZA(),t.TgZ(59,\"td\"),t.TgZ(60,\"label\",48),t._UZ(61,\"input\",203),t._UZ(62,\"span\",50),t.qZA(),t.qZA(),t.TgZ(63,\"td\"),t.TgZ(64,\"label\",48),t._UZ(65,\"input\",204),t._UZ(66,\"span\",50),t.qZA(),t.qZA(),t.qZA(),t.TgZ(67,\"tr\"),t.TgZ(68,\"td\"),t._uU(69),t.ALo(70,\"translate\"),t.ALo(71,\"translate\"),t.qZA(),t.TgZ(72,\"td\"),t.TgZ(73,\"label\",48),t._UZ(74,\"input\",205),t._UZ(75,\"span\",50),t.qZA(),t.qZA(),t.TgZ(76,\"td\"),t.TgZ(77,\"label\",48),t._UZ(78,\"input\",206),t._UZ(79,\"span\",50),t.qZA(),t.qZA(),t.TgZ(80,\"td\"),t.TgZ(81,\"label\",48),t._UZ(82,\"input\",207),t._UZ(83,\"span\",50),t.qZA(),t.qZA(),t.qZA(),t.TgZ(84,\"tr\"),t.TgZ(85,\"td\"),t._uU(86),t.ALo(87,\"translate\"),t.ALo(88,\"translate\"),t.qZA(),t.TgZ(89,\"td\"),t.TgZ(90,\"label\",48),t._UZ(91,\"input\",208),t._UZ(92,\"span\",50),t.qZA(),t.qZA(),t.TgZ(93,\"td\"),t.TgZ(94,\"label\",48),t._UZ(95,\"input\",209),t._UZ(96,\"span\",50),t.qZA(),t.qZA(),t.TgZ(97,\"td\"),t.TgZ(98,\"label\",48),t._UZ(99,\"input\",210),t._UZ(100,\"span\",50),t.qZA(),t.qZA(),t.qZA(),t.qZA(),t.qZA(),t.qZA(),t.qZA(),t.qZA(),t.qZA()}if(2&n){const e=t.oxw(3);t.xp6(4),t.Oqu(t.lcZ(5,16,\"roaming_esterno\")),t.xp6(4),t.Q6J(\"checked\",e.RomExtEmp),t.xp6(4),t.Q6J(\"formGroup\",e.permissionEmpForm),t.xp6(1),t.Q6J(\"ngClass\",t.VKq(42,bt,!e.RomExtEmp)),t.xp6(4),t.Oqu(t.lcZ(18,18,\"permessi\")),t.xp6(3),t.Oqu(t.lcZ(21,20,\"disabilita\")),t.xp6(3),t.Oqu(t.lcZ(24,22,\"visual\")),t.xp6(3),t.Oqu(t.lcZ(27,24,\"visual\")),t.xp6(5),t.Oqu(t.lcZ(32,26,\"modifica\")),t.xp6(5),t.Oqu(t.lcZ(37,28,\"pric_rom_ext\")),t.xp6(16),t.AsE(\"\",t.lcZ(53,30,\"permessi\"),\" \",t.lcZ(54,32,\"ext\"),\"\"),t.xp6(17),t.AsE(\"\",t.lcZ(70,34,\"prenotazione\"),\" \",t.lcZ(71,36,\"ext\"),\"\"),t.xp6(17),t.AsE(\"\",t.lcZ(87,38,\"ricarica\"),\" \",t.lcZ(88,40,\"ext\"),\"\")}}function _m(n,s){if(1&n){const e=t.EpF();t.TgZ(0,\"div\",211),t.TgZ(1,\"div\",39),t.TgZ(2,\"div\",12),t.TgZ(3,\"h4\",13),t._uU(4),t.ALo(5,\"translate\"),t.qZA(),t.TgZ(6,\"div\",40),t.TgZ(7,\"label\",41),t.TgZ(8,\"input\",42,212),t.NdJ(\"click\",function(){return t.CHM(e),t.oxw(3).check(\"RomIntEmp\")}),t.qZA(),t._UZ(10,\"span\",44),t.qZA(),t.qZA(),t.qZA(),t.TgZ(11,\"div\",45),t.TgZ(12,\"form\",15),t.TgZ(13,\"table\",46),t.TgZ(14,\"thead\"),t.TgZ(15,\"tr\"),t.TgZ(16,\"th\"),t._uU(17),t.ALo(18,\"translate\"),t.qZA(),t.TgZ(19,\"th\",47),t._uU(20),t.ALo(21,\"translate\"),t.qZA(),t.TgZ(22,\"th\",47),t._uU(23),t.ALo(24,\"translate\"),t.qZA(),t.TgZ(25,\"th\",47),t._uU(26),t.ALo(27,\"translate\"),t._UZ(28,\"br\"),t._uU(29,\"&\"),t._UZ(30,\"br\"),t._uU(31),t.ALo(32,\"translate\"),t.qZA(),t.qZA(),t.qZA(),t.TgZ(33,\"tbody\"),t.TgZ(34,\"tr\"),t.TgZ(35,\"td\"),t._uU(36),t.ALo(37,\"translate\"),t.qZA(),t.TgZ(38,\"td\"),t.TgZ(39,\"label\",48),t._UZ(40,\"input\",213),t._UZ(41,\"span\",50),t.qZA(),t.qZA(),t.TgZ(42,\"td\"),t.TgZ(43,\"label\",48),t._UZ(44,\"input\",214),t._UZ(45,\"span\",50),t.qZA(),t.qZA(),t.TgZ(46,\"td\"),t.TgZ(47,\"label\",48),t._UZ(48,\"input\",215),t._UZ(49,\"span\",50),t.qZA(),t.qZA(),t.qZA(),t.TgZ(50,\"tr\"),t.TgZ(51,\"td\"),t._uU(52),t.ALo(53,\"translate\"),t.ALo(54,\"translate\"),t.qZA(),t.TgZ(55,\"td\"),t.TgZ(56,\"label\",48),t._UZ(57,\"input\",216),t._UZ(58,\"span\",50),t.qZA(),t.qZA(),t.TgZ(59,\"td\"),t.TgZ(60,\"label\",48),t._UZ(61,\"input\",217),t._UZ(62,\"span\",50),t.qZA(),t.qZA(),t.TgZ(63,\"td\"),t.TgZ(64,\"label\",48),t._UZ(65,\"input\",218),t._UZ(66,\"span\",50),t.qZA(),t.qZA(),t.qZA(),t.TgZ(67,\"tr\"),t.TgZ(68,\"td\"),t._uU(69),t.ALo(70,\"translate\"),t.ALo(71,\"translate\"),t.qZA(),t.TgZ(72,\"td\"),t.TgZ(73,\"label\",48),t._UZ(74,\"input\",219),t._UZ(75,\"span\",50),t.qZA(),t.qZA(),t.TgZ(76,\"td\"),t.TgZ(77,\"label\",48),t._UZ(78,\"input\",220),t._UZ(79,\"span\",50),t.qZA(),t.qZA(),t.TgZ(80,\"td\"),t.TgZ(81,\"label\",48),t._UZ(82,\"input\",221),t._UZ(83,\"span\",50),t.qZA(),t.qZA(),t.qZA(),t.TgZ(84,\"tr\"),t.TgZ(85,\"td\"),t._uU(86),t.ALo(87,\"translate\"),t.ALo(88,\"translate\"),t.qZA(),t.TgZ(89,\"td\"),t.TgZ(90,\"label\",48),t._UZ(91,\"input\",222),t._UZ(92,\"span\",50),t.qZA(),t.qZA(),t.TgZ(93,\"td\"),t.TgZ(94,\"label\",48),t._UZ(95,\"input\",223),t._UZ(96,\"span\",50),t.qZA(),t.qZA(),t.TgZ(97,\"td\"),t.TgZ(98,\"label\",48),t._UZ(99,\"input\",224),t._UZ(100,\"span\",50),t.qZA(),t.qZA(),t.qZA(),t.qZA(),t.qZA(),t.qZA(),t.qZA(),t.qZA(),t.qZA()}if(2&n){const e=t.oxw(3);t.xp6(4),t.Oqu(t.lcZ(5,16,\"roaming_interno\")),t.xp6(4),t.Q6J(\"checked\",e.RomIntEmp),t.xp6(4),t.Q6J(\"formGroup\",e.permissionEmpForm),t.xp6(1),t.Q6J(\"ngClass\",t.VKq(42,bt,!e.RomIntEmp)),t.xp6(4),t.Oqu(t.lcZ(18,18,\"permessi\")),t.xp6(3),t.Oqu(t.lcZ(21,20,\"disabilita\")),t.xp6(3),t.Oqu(t.lcZ(24,22,\"visual\")),t.xp6(3),t.Oqu(t.lcZ(27,24,\"visual\")),t.xp6(5),t.Oqu(t.lcZ(32,26,\"modifica\")),t.xp6(5),t.Oqu(t.lcZ(37,28,\"price_int\")),t.xp6(16),t.AsE(\"\",t.lcZ(53,30,\"permessi\"),\" \",t.lcZ(54,32,\"int\"),\"\"),t.xp6(17),t.AsE(\"\",t.lcZ(70,34,\"pren\"),\" \",t.lcZ(71,36,\"int\"),\"\"),t.xp6(17),t.AsE(\"\",t.lcZ(87,38,\"ricariche\"),\" \",t.lcZ(88,40,\"int\"),\"\")}}function hm(n,s){if(1&n){const e=t.EpF();t.TgZ(0,\"div\",225),t.TgZ(1,\"div\",39),t.TgZ(2,\"div\",12),t.TgZ(3,\"h4\",13),t._uU(4),t.ALo(5,\"translate\"),t.qZA(),t.TgZ(6,\"div\",40),t.TgZ(7,\"label\",41),t.TgZ(8,\"input\",42,226),t.NdJ(\"click\",function(){return t.CHM(e),t.oxw(3).check(\"StEmp\")}),t.qZA(),t._UZ(10,\"span\",44),t.qZA(),t.qZA(),t.qZA(),t.TgZ(11,\"div\",45),t.TgZ(12,\"form\",15),t.TgZ(13,\"table\",46),t.TgZ(14,\"thead\"),t.TgZ(15,\"tr\"),t.TgZ(16,\"th\"),t._uU(17),t.ALo(18,\"translate\"),t.qZA(),t.TgZ(19,\"th\",47),t._uU(20),t.ALo(21,\"translate\"),t.qZA(),t.TgZ(22,\"th\",47),t._uU(23),t.ALo(24,\"translate\"),t.qZA(),t.TgZ(25,\"th\",47),t._uU(26),t.ALo(27,\"translate\"),t._UZ(28,\"br\"),t._uU(29,\"&\"),t._UZ(30,\"br\"),t._uU(31),t.ALo(32,\"translate\"),t.qZA(),t.qZA(),t.qZA(),t.TgZ(33,\"tbody\"),t.TgZ(34,\"tr\"),t.TgZ(35,\"td\"),t._uU(36),t.ALo(37,\"translate\"),t.qZA(),t.TgZ(38,\"td\"),t.TgZ(39,\"label\",48),t._UZ(40,\"input\",227),t._UZ(41,\"span\",50),t.qZA(),t.qZA(),t.TgZ(42,\"td\"),t.TgZ(43,\"label\",48),t._UZ(44,\"input\",228),t._UZ(45,\"span\",50),t.qZA(),t.qZA(),t.TgZ(46,\"td\"),t.TgZ(47,\"label\",48),t._UZ(48,\"input\",229),t._UZ(49,\"span\",50),t.qZA(),t.qZA(),t.qZA(),t.TgZ(50,\"tr\"),t.TgZ(51,\"td\"),t._uU(52),t.ALo(53,\"translate\"),t.qZA(),t.TgZ(54,\"td\"),t.TgZ(55,\"label\",48),t._UZ(56,\"input\",230),t._UZ(57,\"span\",50),t.qZA(),t.qZA(),t.TgZ(58,\"td\"),t.TgZ(59,\"label\",48),t._UZ(60,\"input\",231),t._UZ(61,\"span\",50),t.qZA(),t.qZA(),t.TgZ(62,\"td\"),t.TgZ(63,\"label\",48),t._UZ(64,\"input\",232),t._UZ(65,\"span\",50),t.qZA(),t.qZA(),t.qZA(),t.TgZ(66,\"tr\"),t.TgZ(67,\"td\"),t._uU(68),t.ALo(69,\"translate\"),t.qZA(),t.TgZ(70,\"td\"),t.TgZ(71,\"label\",48),t._UZ(72,\"input\",233),t._UZ(73,\"span\",50),t.qZA(),t.qZA(),t.TgZ(74,\"td\"),t.TgZ(75,\"label\",48),t._UZ(76,\"input\",234),t._UZ(77,\"span\",50),t.qZA(),t.qZA(),t.TgZ(78,\"td\"),t.TgZ(79,\"label\",48),t._UZ(80,\"input\",235),t._UZ(81,\"span\",50),t.qZA(),t.qZA(),t.qZA(),t.TgZ(82,\"tr\"),t.TgZ(83,\"td\"),t._uU(84),t.ALo(85,\"translate\"),t.qZA(),t.TgZ(86,\"td\"),t.TgZ(87,\"label\",48),t._UZ(88,\"input\",236),t._UZ(89,\"span\",50),t.qZA(),t.qZA(),t.TgZ(90,\"td\"),t.TgZ(91,\"label\",48),t._UZ(92,\"input\",237),t._UZ(93,\"span\",50),t.qZA(),t.qZA(),t.TgZ(94,\"td\"),t.TgZ(95,\"label\",48),t._UZ(96,\"input\",238),t._UZ(97,\"span\",50),t.qZA(),t.qZA(),t.qZA(),t.TgZ(98,\"tr\"),t.TgZ(99,\"td\"),t._uU(100),t.ALo(101,\"translate\"),t.ALo(102,\"translate\"),t.qZA(),t.TgZ(103,\"td\"),t.TgZ(104,\"label\",48),t._UZ(105,\"input\",239),t._UZ(106,\"span\",50),t.qZA(),t.qZA(),t.TgZ(107,\"td\"),t.TgZ(108,\"label\",48),t._UZ(109,\"input\",240),t._UZ(110,\"span\",50),t.qZA(),t.qZA(),t.TgZ(111,\"td\"),t.TgZ(112,\"label\",48),t._UZ(113,\"input\",241),t._UZ(114,\"span\",50),t.qZA(),t.qZA(),t.qZA(),t.qZA(),t.qZA(),t.qZA(),t.qZA(),t.qZA(),t.qZA()}if(2&n){const e=t.oxw(3);t.xp6(4),t.Oqu(t.lcZ(5,15,\"impos\")),t.xp6(4),t.Q6J(\"checked\",e.StEmp),t.xp6(4),t.Q6J(\"formGroup\",e.permissionEmpForm),t.xp6(1),t.Q6J(\"ngClass\",t.VKq(39,bt,!e.StEmp)),t.xp6(4),t.Oqu(t.lcZ(18,17,\"permessi\")),t.xp6(3),t.Oqu(t.lcZ(21,19,\"disabilita\")),t.xp6(3),t.Oqu(t.lcZ(24,21,\"visual\")),t.xp6(3),t.Oqu(t.lcZ(27,23,\"visual\")),t.xp6(5),t.Oqu(t.lcZ(32,25,\"modifica\")),t.xp6(5),t.Oqu(t.lcZ(37,27,\"apikey\")),t.xp6(16),t.Oqu(t.lcZ(53,29,\"smtp\")),t.xp6(16),t.Oqu(t.lcZ(69,31,\"gateway\")),t.xp6(16),t.Oqu(t.lcZ(85,33,\"webhook\")),t.xp6(16),t.AsE(\"\",t.lcZ(101,35,\"firebase\"),\" \",t.lcZ(102,37,\"impos\"),\"\")}}function fm(n,s){if(1&n){const e=t.EpF();t.TgZ(0,\"div\",242),t.TgZ(1,\"div\",39),t.TgZ(2,\"div\",12),t.TgZ(3,\"h4\",13),t._uU(4),t.ALo(5,\"translate\"),t.qZA(),t.TgZ(6,\"div\",40),t.TgZ(7,\"label\",41),t.TgZ(8,\"input\",42,243),t.NdJ(\"click\",function(){return t.CHM(e),t.oxw(3).check(\"RDEmp\")}),t.qZA(),t._UZ(10,\"span\",44),t.qZA(),t.qZA(),t.qZA(),t.TgZ(11,\"div\",45),t.TgZ(12,\"form\",15),t.TgZ(13,\"table\",46),t.TgZ(14,\"thead\"),t.TgZ(15,\"tr\"),t.TgZ(16,\"th\"),t._uU(17),t.ALo(18,\"translate\"),t.qZA(),t.TgZ(19,\"th\",47),t._uU(20),t.ALo(21,\"translate\"),t.qZA(),t.TgZ(22,\"th\",47),t._uU(23),t.ALo(24,\"translate\"),t.qZA(),t.TgZ(25,\"th\",47),t._uU(26),t.ALo(27,\"translate\"),t._UZ(28,\"br\"),t._uU(29,\"&\"),t._UZ(30,\"br\"),t._uU(31),t.ALo(32,\"translate\"),t.qZA(),t.qZA(),t.qZA(),t.TgZ(33,\"tbody\"),t.TgZ(34,\"tr\"),t.TgZ(35,\"td\"),t._uU(36),t.ALo(37,\"translate\"),t.qZA(),t.TgZ(38,\"td\"),t.TgZ(39,\"label\",48),t._UZ(40,\"input\",244),t._UZ(41,\"span\",50),t.qZA(),t.qZA(),t.TgZ(42,\"td\"),t.TgZ(43,\"label\",48),t._UZ(44,\"input\",245),t._UZ(45,\"span\",50),t.qZA(),t.qZA(),t.TgZ(46,\"td\"),t.TgZ(47,\"label\",48),t._UZ(48,\"input\",246),t._UZ(49,\"span\",50),t.qZA(),t.qZA(),t.qZA(),t.TgZ(50,\"tr\"),t.TgZ(51,\"td\"),t._uU(52),t.ALo(53,\"translate\"),t.qZA(),t.TgZ(54,\"td\"),t.TgZ(55,\"label\",48),t._UZ(56,\"input\",247),t._UZ(57,\"span\",50),t.qZA(),t.qZA(),t.TgZ(58,\"td\"),t.TgZ(59,\"label\",48),t._UZ(60,\"input\",248),t._UZ(61,\"span\",50),t.qZA(),t.qZA(),t.TgZ(62,\"td\"),t.TgZ(63,\"label\",48),t._UZ(64,\"input\",249),t._UZ(65,\"span\",50),t.qZA(),t.qZA(),t.qZA(),t.qZA(),t.qZA(),t.qZA(),t.qZA(),t.qZA(),t.qZA()}if(2&n){const e=t.oxw(3);t.xp6(4),t.Oqu(t.lcZ(5,11,\"rfid\")),t.xp6(4),t.Q6J(\"checked\",e.RDEmp),t.xp6(4),t.Q6J(\"formGroup\",e.permissionEmpForm),t.xp6(1),t.Q6J(\"ngClass\",t.VKq(27,bt,!e.RDEmp)),t.xp6(4),t.Oqu(t.lcZ(18,13,\"permessi\")),t.xp6(3),t.Oqu(t.lcZ(21,15,\"disabilita\")),t.xp6(3),t.Oqu(t.lcZ(24,17,\"visual\")),t.xp6(3),t.Oqu(t.lcZ(27,19,\"visual\")),t.xp6(5),t.Oqu(t.lcZ(32,21,\"modifica\")),t.xp6(5),t.Oqu(t.lcZ(37,23,\"card\")),t.xp6(16),t.Oqu(t.lcZ(53,25,\"mgmt\"))}}function Zm(n,s){if(1&n){const e=t.EpF();t.TgZ(0,\"div\",250),t.TgZ(1,\"div\",39),t.TgZ(2,\"div\",12),t.TgZ(3,\"h4\",13),t._uU(4),t.ALo(5,\"translate\"),t.qZA(),t.TgZ(6,\"div\",40),t.TgZ(7,\"label\",41),t.TgZ(8,\"input\",42,251),t.NdJ(\"click\",function(){return t.CHM(e),t.oxw(3).check(\"NotEmp\")}),t.qZA(),t._UZ(10,\"span\",44),t.qZA(),t.qZA(),t.qZA(),t.TgZ(11,\"div\",45),t.TgZ(12,\"form\",15),t.TgZ(13,\"table\",46),t.TgZ(14,\"thead\"),t.TgZ(15,\"tr\"),t.TgZ(16,\"th\"),t._uU(17),t.ALo(18,\"translate\"),t.qZA(),t.TgZ(19,\"th\",47),t._uU(20),t.ALo(21,\"translate\"),t.qZA(),t.TgZ(22,\"th\",47),t._uU(23),t.ALo(24,\"translate\"),t.qZA(),t.TgZ(25,\"th\",47),t._uU(26),t.ALo(27,\"translate\"),t._UZ(28,\"br\"),t._uU(29,\"&\"),t._UZ(30,\"br\"),t._uU(31),t.ALo(32,\"translate\"),t.qZA(),t.qZA(),t.qZA(),t.TgZ(33,\"tbody\"),t.TgZ(34,\"tr\"),t.TgZ(35,\"td\"),t._uU(36),t.ALo(37,\"translate\"),t.qZA(),t.TgZ(38,\"td\"),t.TgZ(39,\"label\",48),t._UZ(40,\"input\",252),t._UZ(41,\"span\",50),t.qZA(),t.qZA(),t.TgZ(42,\"td\"),t.TgZ(43,\"label\",48),t._UZ(44,\"input\",253),t._UZ(45,\"span\",50),t.qZA(),t.qZA(),t.TgZ(46,\"td\"),t.TgZ(47,\"label\",48),t._UZ(48,\"input\",254),t._UZ(49,\"span\",50),t.qZA(),t.qZA(),t.qZA(),t.TgZ(50,\"tr\"),t.TgZ(51,\"td\"),t._uU(52),t.ALo(53,\"translate\"),t.qZA(),t.TgZ(54,\"td\"),t.TgZ(55,\"label\",48),t._UZ(56,\"input\",255),t._UZ(57,\"span\",50),t.qZA(),t.qZA(),t.TgZ(58,\"td\"),t.TgZ(59,\"label\",48),t._UZ(60,\"input\",256),t._UZ(61,\"span\",50),t.qZA(),t.qZA(),t.TgZ(62,\"td\"),t.TgZ(63,\"label\",48),t._UZ(64,\"input\",257),t._UZ(65,\"span\",50),t.qZA(),t.qZA(),t.qZA(),t.qZA(),t.qZA(),t.qZA(),t.qZA(),t.qZA(),t.qZA()}if(2&n){const e=t.oxw(3);t.xp6(4),t.Oqu(t.lcZ(5,11,\"notif\")),t.xp6(4),t.Q6J(\"checked\",e.NotEmp),t.xp6(4),t.Q6J(\"formGroup\",e.permissionEmpForm),t.xp6(1),t.Q6J(\"ngClass\",t.VKq(27,bt,!e.NotEmp)),t.xp6(4),t.Oqu(t.lcZ(18,13,\"permessi\")),t.xp6(3),t.Oqu(t.lcZ(21,15,\"disabilita\")),t.xp6(3),t.Oqu(t.lcZ(24,17,\"visual\")),t.xp6(3),t.Oqu(t.lcZ(27,19,\"visual\")),t.xp6(5),t.Oqu(t.lcZ(32,21,\"modifica\")),t.xp6(5),t.Oqu(t.lcZ(37,23,\"email\")),t.xp6(16),t.Oqu(t.lcZ(53,25,\"firebase\"))}}function Cm(n,s){if(1&n){const e=t.EpF();t.TgZ(0,\"div\",258),t.TgZ(1,\"div\",39),t.TgZ(2,\"div\",12),t.TgZ(3,\"h4\",13),t._uU(4),t.ALo(5,\"translate\"),t.qZA(),t.TgZ(6,\"div\",40),t.TgZ(7,\"label\",41),t.TgZ(8,\"input\",42,259),t.NdJ(\"click\",function(){return t.CHM(e),t.oxw(3).check(\"PayEmp\")}),t.qZA(),t._UZ(10,\"span\",44),t.qZA(),t.qZA(),t.qZA(),t.TgZ(11,\"div\",45),t.TgZ(12,\"form\",15),t.TgZ(13,\"table\",46),t.TgZ(14,\"thead\"),t.TgZ(15,\"tr\"),t.TgZ(16,\"th\"),t._uU(17),t.ALo(18,\"translate\"),t.qZA(),t.TgZ(19,\"th\",47),t._uU(20),t.ALo(21,\"translate\"),t.qZA(),t.TgZ(22,\"th\",47),t._uU(23),t.ALo(24,\"translate\"),t.qZA(),t.TgZ(25,\"th\",47),t._uU(26),t.ALo(27,\"translate\"),t._UZ(28,\"br\"),t._uU(29,\"&\"),t._UZ(30,\"br\"),t._uU(31),t.ALo(32,\"translate\"),t.qZA(),t.qZA(),t.qZA(),t.TgZ(33,\"tbody\"),t.TgZ(34,\"tr\"),t.TgZ(35,\"td\"),t._uU(36),t.ALo(37,\"translate\"),t.qZA(),t.TgZ(38,\"td\"),t.TgZ(39,\"label\",48),t._UZ(40,\"input\",260),t._UZ(41,\"span\",50),t.qZA(),t.qZA(),t.TgZ(42,\"td\"),t.TgZ(43,\"label\",48),t._UZ(44,\"input\",261),t._UZ(45,\"span\",50),t.qZA(),t.qZA(),t.TgZ(46,\"td\"),t.TgZ(47,\"label\",48),t._UZ(48,\"input\",262),t._UZ(49,\"span\",50),t.qZA(),t.qZA(),t.qZA(),t.qZA(),t.qZA(),t.qZA(),t.qZA(),t.qZA(),t.qZA()}if(2&n){const e=t.oxw(3);t.xp6(4),t.Oqu(t.lcZ(5,10,\"pay\")),t.xp6(4),t.Q6J(\"checked\",e.PayEmp),t.xp6(4),t.Q6J(\"formGroup\",e.permissionEmpForm),t.xp6(1),t.Q6J(\"ngClass\",t.VKq(24,bt,!e.PayEmp)),t.xp6(4),t.Oqu(t.lcZ(18,12,\"permessi\")),t.xp6(3),t.Oqu(t.lcZ(21,14,\"disabilita\")),t.xp6(3),t.Oqu(t.lcZ(24,16,\"visual\")),t.xp6(3),t.Oqu(t.lcZ(27,18,\"visual\")),t.xp6(5),t.Oqu(t.lcZ(32,20,\"modifica\")),t.xp6(5),t.Oqu(t.lcZ(37,22,\"pay\"))}}function vm(n,s){if(1&n){const e=t.EpF();t.TgZ(0,\"div\",263),t.TgZ(1,\"div\",39),t.TgZ(2,\"div\",12),t.TgZ(3,\"h4\",13),t._uU(4),t.ALo(5,\"translate\"),t.ALo(6,\"translate\"),t.qZA(),t.TgZ(7,\"div\",40),t.TgZ(8,\"label\",41),t.TgZ(9,\"input\",42,264),t.NdJ(\"click\",function(){return t.CHM(e),t.oxw(3).check(\"RebEmp\")}),t.qZA(),t._UZ(11,\"span\",44),t.qZA(),t.qZA(),t.qZA(),t.TgZ(12,\"div\",45),t.TgZ(13,\"form\",15),t.TgZ(14,\"table\",46),t.TgZ(15,\"thead\"),t.TgZ(16,\"tr\"),t.TgZ(17,\"th\"),t._uU(18),t.ALo(19,\"translate\"),t.qZA(),t.TgZ(20,\"th\",47),t._uU(21),t.ALo(22,\"translate\"),t.qZA(),t.TgZ(23,\"th\",47),t._uU(24),t.ALo(25,\"translate\"),t.qZA(),t.TgZ(26,\"th\",47),t._uU(27),t.ALo(28,\"translate\"),t._UZ(29,\"br\"),t._uU(30,\"&\"),t._UZ(31,\"br\"),t._uU(32),t.ALo(33,\"translate\"),t.qZA(),t.qZA(),t.qZA(),t.TgZ(34,\"tbody\"),t.TgZ(35,\"tr\"),t.TgZ(36,\"td\"),t._uU(37),t.ALo(38,\"translate\"),t.ALo(39,\"translate\"),t.qZA(),t.TgZ(40,\"td\"),t.TgZ(41,\"label\",48),t._UZ(42,\"input\",265),t._UZ(43,\"span\",50),t.qZA(),t.qZA(),t.TgZ(44,\"td\"),t.TgZ(45,\"label\",48),t._UZ(46,\"input\",266),t._UZ(47,\"span\",50),t.qZA(),t.qZA(),t.TgZ(48,\"td\"),t.TgZ(49,\"label\",48),t._UZ(50,\"input\",267),t._UZ(51,\"span\",50),t.qZA(),t.qZA(),t.qZA(),t.qZA(),t.qZA(),t.qZA(),t.qZA(),t.qZA(),t.qZA()}if(2&n){const e=t.oxw(3);t.xp6(4),t.AsE(\"\",t.lcZ(5,12,\"rebranding\"),\" \",t.lcZ(6,14,\"emp\"),\" \"),t.xp6(5),t.Q6J(\"checked\",e.RebEmp),t.xp6(4),t.Q6J(\"formGroup\",e.permissionEmpForm),t.xp6(1),t.Q6J(\"ngClass\",t.VKq(30,bt,!e.RebEmp)),t.xp6(4),t.Oqu(t.lcZ(19,16,\"permessi\")),t.xp6(3),t.Oqu(t.lcZ(22,18,\"disabilita\")),t.xp6(3),t.Oqu(t.lcZ(25,20,\"visual\")),t.xp6(3),t.Oqu(t.lcZ(28,22,\"visual\")),t.xp6(5),t.Oqu(t.lcZ(33,24,\"modifica\")),t.xp6(5),t.AsE(\"\",t.lcZ(38,26,\"rebranding\"),\" \",t.lcZ(39,28,\"emp\"),\"\")}}function bm(n,s){if(1&n){const e=t.EpF();t.TgZ(0,\"div\",57),t.TgZ(1,\"div\"),t.TgZ(2,\"p\",58),t._uU(3),t.ALo(4,\"translate\"),t.ALo(5,\"translate\"),t.qZA(),t.qZA(),t.TgZ(6,\"div\",153),t.YNc(7,lm,50,26,\"div\",154),t.YNc(8,cm,52,32,\"div\",155),t.YNc(9,pm,50,26,\"div\",156),t.YNc(10,dm,50,26,\"div\",157),t.YNc(11,gm,50,26,\"div\",158),t.YNc(12,mm,50,26,\"div\",159),t.YNc(13,um,101,44,\"div\",160),t.YNc(14,_m,101,44,\"div\",161),t.YNc(15,hm,115,41,\"div\",162),t.YNc(16,fm,66,29,\"div\",163),t.YNc(17,Zm,66,29,\"div\",164),t.YNc(18,Cm,50,26,\"div\",165),t.YNc(19,vm,52,32,\"div\",166),t.TgZ(20,\"div\",59),t.TgZ(21,\"div\",60),t.TgZ(22,\"div\"),t.TgZ(23,\"button\",61),t.NdJ(\"click\",function(){return t.CHM(e),t.oxw(2).rewind()}),t._uU(24),t.ALo(25,\"translate\"),t.TgZ(26,\"div\",36),t._UZ(27,\"div\",37),t.qZA(),t.qZA(),t.qZA(),t.TgZ(28,\"div\",64),t.TgZ(29,\"button\",65),t.NdJ(\"click\",function(){return t.CHM(e),t.oxw(2).crea()}),t._uU(30),t.ALo(31,\"translate\"),t.qZA(),t.qZA(),t.qZA(),t.qZA(),t.qZA(),t.qZA()}if(2&n){const e=t.oxw(2);t.Q6J(\"ngClass\",t.VKq(26,se,e.needAnimation(2))),t.xp6(3),t.AsE(\"\",t.lcZ(4,18,\"permessi\"),\" \",t.lcZ(5,20,\"emp\"),\"\"),t.xp6(4),t.Q6J(\"ngIf\",e.dataEmpCpoLocal.emp.permissionEmp.flat.enabled),t.xp6(1),t.Q6J(\"ngIf\",e.dataEmpCpoLocal.emp.permissionEmp.map.enabled),t.xp6(1),t.Q6J(\"ngIf\",e.dataEmpCpoLocal.emp.permissionEmp.revenues.enabled),t.xp6(1),t.Q6J(\"ngIf\",e.dataEmpCpoLocal.emp.permissionEmp.support.enabled),t.xp6(1),t.Q6J(\"ngIf\",e.dataEmpCpoLocal.emp.permissionEmp.users.enabled),t.xp6(1),t.Q6J(\"ngIf\",e.dataEmpCpoLocal.emp.permissionEmp.vouchers.enabled),t.xp6(1),t.Q6J(\"ngIf\",e.dataEmpCpoLocal.emp.permissionEmp.externalRoaming.enabled),t.xp6(1),t.Q6J(\"ngIf\",e.dataEmpCpoLocal.emp.permissionEmp.internalRoaming.enabled),t.xp6(1),t.Q6J(\"ngIf\",e.dataEmpCpoLocal.emp.permissionEmp.settings.enabled),t.xp6(1),t.Q6J(\"ngIf\",e.dataEmpCpoLocal.emp.permissionEmp.rfid.enabled),t.xp6(1),t.Q6J(\"ngIf\",e.dataEmpCpoLocal.emp.permissionEmp.notifies.enabled),t.xp6(1),t.Q6J(\"ngIf\",e.dataEmpCpoLocal.emp.permissionEmp.payment.enabled),t.xp6(1),t.Q6J(\"ngIf\",e.dataEmpCpoLocal.emp.permissionEmp.rebranding.enabled),t.xp6(5),t.hij(\" \",t.lcZ(25,22,\"ind\"),\" \"),t.xp6(6),t.hij(\" \",t.lcZ(31,24,\"conferma\"),\" \")}}function Am(n,s){if(1&n&&(t.TgZ(0,\"div\",3),t.TgZ(1,\"div\",4),t.TgZ(2,\"div\",5),t.TgZ(3,\"div\",6),t.YNc(4,Sg,157,73,\"div\",7),t.YNc(5,Jg,52,37,\"div\",8),t.YNc(6,sm,89,49,\"div\",8),t.YNc(7,bm,32,28,\"div\",8),t.qZA(),t.qZA(),t.qZA(),t.qZA()),2&n){const e=t.oxw();t.xp6(4),t.Q6J(\"ngIf\",0===e.currentCard&&!e.update),t.xp6(1),t.Q6J(\"ngIf\",e.controlloBase()),t.xp6(1),t.Q6J(\"ngIf\",e.controlloCPO()),t.xp6(1),t.Q6J(\"ngIf\",e.controlloEMP())}}let xm=(()=>{class n{constructor(e,o,a,d,h,E){this.dataEmpCpoService=e,this.translate=o,this.authService=a,this.router=d,this.dialog=h,this.notifyService=E,this.isLoading=!0,this.hide1=!0,this.hide2=!0,this.permissions=[],this.dataEmpCpoLocal=JSON.parse(b().get(\"dataEmpCpo\",{decrypt:!0})),this.country=4,this.currentCard=0,this.permessiCPO=!1,this.permessiEMP=!1,this.riempRead=[],this.riemp=[],this.field=[],this.PermBase=!1,this.CpCpo=!1,this.FlCpo=!1,this.AssMngmtCpo=!1,this.RebCpo=!1,this.SubCpo=!1,this.RicCpo=!1,this.SetCpo=!1,this.FlEmp=!1,this.MapEmp=!1,this.RevEmp=!1,this.SupEmp=!1,this.UsEmp=!1,this.VouEmp=!1,this.RomExtEmp=!1,this.RomIntEmp=!1,this.StEmp=!1,this.RDEmp=!1,this.NotEmp=!1,this.PayEmp=!1,this.RebEmp=!1,this.cpoUserForm=new l.cw({name:new l.NI(\"\",l.kI.required),surname:new l.NI(\"\",l.kI.required),phone:new l.NI(\"\"),password1:new l.NI(\"\",l.kI.required),password2:new l.NI(\"\",l.kI.required),idCpo:new l.NI(\"\"),user:new l.NI(\"\",l.kI.required),email:new l.NI(\"\",l.kI.email)}),this.permissionBaseForm=new l.cw({home:new l.NI(\"\",l.kI.required),bi:new l.NI(\"\",l.kI.required),operator:new l.NI(\"\",l.kI.required),recharge:new l.NI(\"\",l.kI.required)}),this.permissionCpoForm=new l.cw({chargePointOperations:new l.NI(\"\",l.kI.required),cluster:new l.NI(\"\",l.kI.required),coupon:new l.NI(\"\",l.kI.required),map:new l.NI(\"\",l.kI.required),product:new l.NI(\"\",l.kI.required),recharge:new l.NI(\"\",l.kI.required),reserve:new l.NI(\"\",l.kI.required),config:new l.NI(\"\",l.kI.required),settings:new l.NI(\"\",l.kI.required),configuration:new l.NI(\"\",l.kI.required),setChargingProfile:new l.NI(\"\",l.kI.required),pricing:new l.NI(\"\",l.kI.required),team:new l.NI(\"\",l.kI.required),sub:new l.NI(\"\",l.kI.required),roaming:new l.NI(\"\",l.kI.required),priceChange:new l.NI(\"\",l.kI.required),rebrandingCpo:new l.NI(\"\",l.kI.required),revenueCpo:new l.NI(\"\",l.kI.required),rfidGroup:new l.NI(\"\",l.kI.required),webApp:new l.NI(\"\",l.kI.required),events:new l.NI(\"\",l.kI.required),fleet:new l.NI(\"\",l.kI.required),department:new l.NI(\"\",l.kI.required),vehicle:new l.NI(\"\",l.kI.required),rfidGroupFleet:new l.NI(\"\",l.kI.required)}),this.permissionEmpForm=new l.cw({flat:new l.NI(\"\",l.kI.required),payments:new l.NI(\"\",l.kI.required),mapEmp:new l.NI(\"\",l.kI.required),rebrandingEmp:new l.NI(\"\",l.kI.required),revenue:new l.NI(\"\",l.kI.required),reviews:new l.NI(\"\",l.kI.required),support:new l.NI(\"\",l.kI.required),user:new l.NI(\"\",l.kI.required),voucher:new l.NI(\"\",l.kI.required),notifies:new l.NI(\"\",l.kI.required),email:new l.NI(\"\",l.kI.required),firebase:new l.NI(\"\",l.kI.required),externalRoaming:new l.NI(\"\",l.kI.required),priceExt:new l.NI(\"\",l.kI.required),permissionsExt:new l.NI(\"\",l.kI.required),reservationsExt:new l.NI(\"\",l.kI.required),rechargeExt:new l.NI(\"\",l.kI.required),internalRoaming:new l.NI(\"\",l.kI.required),priceInt:new l.NI(\"\",l.kI.required),permissionsInt:new l.NI(\"\",l.kI.required),reservationsInt:new l.NI(\"\",l.kI.required),rechargeInt:new l.NI(\"\",l.kI.required),settings:new l.NI(\"\",l.kI.required),apiKey:new l.NI(\"\",l.kI.required),smtp:new l.NI(\"\",l.kI.required),gateway:new l.NI(\"\",l.kI.required),webhook:new l.NI(\"\",l.kI.required),firebaseSettings:new l.NI(\"\",l.kI.required),rfidEmp:new l.NI(\"\",l.kI.required),card:new l.NI(\"\",l.kI.required),management:new l.NI(\"\",l.kI.required)})}ngOnInit(){this.isLoading=!1;let e=history.state;this.update=e.update,this.user=e.userRegistrationCpo,this.isAdmin(),window.location.href.includes(\"add-operator-cpms\")&&window.addEventListener(\"beforeunload\",function(o){var a=\"o/\";return console.log(\"cond\"),o.returnValue=a,console.log(a),a}),null==this.update&&this.router.navigate([\"management/operator-cpms\"],{}),this.update&&this.up(),this.innerWidth=window.innerWidth}up(){console.log(this.user.permissions),null!=this.user.permissions&&(this.user.permissions.forEach(a=>{if(a.includes(\"Read\"))switch(a.replace(\"AccessRead\",\"\")){case\"home\":this.permissionBaseForm.get(\"home\").setValue(a),this.PermBase=!0;break;case\"bi\":this.permissionBaseForm.get(\"bi\").setValue(a),this.PermBase=!0;break;case\"operator\":this.permissionBaseForm.get(\"operator\").setValue(a),this.PermBase=!0;break;case\"recharge\":this.permissionBaseForm.get(\"recharge\").setValue(a),this.PermBase=!0}}),this.user.permissions.forEach(a=>{if(a.includes(\"Write\"))switch(a.replace(\"AccessWrite\",\"\")){case\"home\":this.permissionBaseForm.get(\"home\").setValue(a);break;case\"bi\":this.permissionBaseForm.get(\"bi\").setValue(a);break;case\"operator\":this.permissionBaseForm.get(\"operator\").setValue(a);break;case\"recharge\":this.permissionBaseForm.get(\"recharge\").setValue(a)}}),this.user.permissions.forEach(a=>{if(a.includes(\"Read\"))switch(a.replace(\"AccessRead\",\"\")){case\"chargePointOperations\":this.permissionCpoForm.get(\"chargePointOperations\").setValue(a),this.CpCpo=!0;break;case\"cluster\":this.permissionCpoForm.get(\"cluster\").setValue(a),this.CpCpo=!0;break;case\"coupon\":this.permissionCpoForm.get(\"coupon\").setValue(a),this.CpCpo=!0;break;case\"map\":this.permissionCpoForm.get(\"map\").setValue(a),this.CpCpo=!0;break;case\"product\":this.permissionCpoForm.get(\"product\").setValue(a),this.CpCpo=!0;break;case\"recharge\":this.permissionCpoForm.get(\"recharge\").setValue(a),this.CpCpo=!0;break;case\"reserve\":this.permissionCpoForm.get(\"reserve\").setValue(a),this.CpCpo=!0;break;case\"priceChange\":this.permissionCpoForm.get(\"priceChange\").setValue(a),this.CpCpo=!0;break;case\"rfidGroup\":this.permissionCpoForm.get(\"rfidGroup\").setValue(a),this.CpCpo=!0;break;case\"settings\":this.permissionCpoForm.get(\"settings\").setValue(a),this.CpCpo=!0;break;case\"configuration\":this.permissionCpoForm.get(\"configuration\").setValue(a),this.CpCpo=!0;break;case\"setChargingProfile\":this.permissionCpoForm.get(\"setChargingProfile\").setValue(a),this.CpCpo=!0;break;case\"fleet\":this.permissionCpoForm.get(\"fleet\").setValue(a),this.FlCpo=!0;break;case\"department\":this.permissionCpoForm.get(\"department\").setValue(a),this.FlCpo=!0;break;case\"vehicle\":this.permissionCpoForm.get(\"vehicle\").setValue(a),this.FlCpo=!0;break;case\"rfidGroupFleet\":this.permissionCpoForm.get(\"rfidGroupFleet\").setValue(a),this.FlCpo=!0;break;case\"team\":this.permissionCpoForm.get(\"team\").setValue(a),this.AssMngmtCpo=!0;break;case\"events\":this.permissionCpoForm.get(\"events\").setValue(a),this.AssMngmtCpo=!0;break;case\"rebrandingCpo\":this.permissionCpoForm.get(\"rebrandingCpo\").setValue(a),this.RebCpo=!0;break;case\"sub\":this.permissionCpoForm.get(\"sub\").setValue(a),this.SubCpo=!0;break;case\"revenueCpo\":this.permissionCpoForm.get(\"revenueCpo\").setValue(a),this.RicCpo=!0;break;case\"webApp\":this.permissionCpoForm.get(\"webApp\").setValue(a),this.SetCpo=!0}}),this.user.permissions.forEach(a=>{if(a.includes(\"Write\"))switch(a.replace(\"AccessWrite\",\"\")){case\"chargePointOperations\":this.permissionCpoForm.get(\"chargePointOperations\").setValue(a);break;case\"cluster\":this.permissionCpoForm.get(\"cluster\").setValue(a);break;case\"coupon\":this.permissionCpoForm.get(\"coupon\").setValue(a);break;case\"map\":this.permissionCpoForm.get(\"map\").setValue(a);break;case\"product\":this.permissionCpoForm.get(\"product\").setValue(a);break;case\"recharge\":this.permissionCpoForm.get(\"recharge\").setValue(a);break;case\"reserve\":this.permissionCpoForm.get(\"reserve\").setValue(a);break;case\"config\":this.permissionCpoForm.get(\"config\").setValue(a);break;case\"settings\":this.permissionCpoForm.get(\"settings\").setValue(a);break;case\"configuration\":this.permissionCpoForm.get(\"configuration\").setValue(a);break;case\"setChargingProfile\":this.permissionCpoForm.get(\"setChargingProfile\").setValue(a);break;case\"pricing\":this.permissionCpoForm.get(\"pricing\").setValue(a);break;case\"team\":this.permissionCpoForm.get(\"team\").setValue(a);break;case\"sub\":this.permissionCpoForm.get(\"sub\").setValue(a);break;case\"roaming\":this.permissionCpoForm.get(\"roaming\").setValue(a);break;case\"priceChange\":this.permissionCpoForm.get(\"priceChange\").setValue(a);break;case\"rebrandingCpo\":this.permissionCpoForm.get(\"rebrandingCpo\").setValue(a);break;case\"revenueCpo\":this.permissionCpoForm.get(\"revenueCpo\").setValue(a);break;case\"rfidGroup\":this.permissionCpoForm.get(\"rfidGroup\").setValue(a);break;case\"webApp\":this.permissionCpoForm.get(\"webApp\").setValue(a);break;case\"events\":this.permissionCpoForm.get(\"events\").setValue(a);break;case\"fleet\":this.permissionCpoForm.get(\"fleet\").setValue(a);break;case\"department\":this.permissionCpoForm.get(\"department\").setValue(a);break;case\"vehicle\":this.permissionCpoForm.get(\"vehicle\").setValue(a);break;case\"rfidGroupFleet\":this.permissionCpoForm.get(\"rfidGroupFleet\").setValue(a)}}),this.user.permissions.forEach(a=>{if(a.includes(\"Read\"))switch(a.replace(\"AccessRead\",\"\")){case\"flat\":this.permissionEmpForm.get(\"flat\").setValue(a),this.FlEmp=!0;break;case\"payments\":this.permissionEmpForm.get(\"payments\").setValue(a),this.PayEmp=!0;break;case\"mapEmp\":this.permissionEmpForm.get(\"mapEmp\").setValue(a),this.MapEmp=!0;break;case\"rebrandingEmp\":this.permissionEmpForm.get(\"rebrandingEmp\").setValue(a),this.RebEmp=!0;break;case\"revenue\":this.permissionEmpForm.get(\"revenue\").setValue(a),this.RevEmp=!0;break;case\"support\":this.permissionEmpForm.get(\"support\").setValue(a),this.SupEmp=!0;break;case\"user\":this.permissionEmpForm.get(\"user\").setValue(a),this.UsEmp=!0;break;case\"voucher\":this.permissionEmpForm.get(\"voucher\").setValue(a),this.VouEmp=!0;break;case\"email\":this.permissionEmpForm.get(\"email\").setValue(a),this.NotEmp=!0;break;case\"firebase\":this.permissionEmpForm.get(\"firebase\").setValue(a),this.NotEmp=!0;break;case\"priceExt\":this.permissionEmpForm.get(\"priceExt\").setValue(a),this.RomExtEmp=!0;break;case\"permissionsExt\":this.permissionEmpForm.get(\"permissionsExt\").setValue(a),this.RomExtEmp=!0;break;case\"reservationsExt\":this.permissionEmpForm.get(\"reservationsExt\").setValue(a),this.RomExtEmp=!0;break;case\"rechargeExt\":this.permissionEmpForm.get(\"rechargeExt\").setValue(a),this.RomExtEmp=!0;break;case\"internalRoaming\":this.permissionEmpForm.get(\"internalRoaming\").setValue(a),this.RomIntEmp=!0;break;case\"priceInt\":this.permissionEmpForm.get(\"priceInt\").setValue(a),this.RomIntEmp=!0;break;case\"permissionsInt\":this.permissionEmpForm.get(\"permissionsInt\").setValue(a),this.RomIntEmp=!0;break;case\"reservationsInt\":this.permissionEmpForm.get(\"reservationsInt\").setValue(a),this.RomIntEmp=!0;break;case\"rechargeInt\":this.permissionEmpForm.get(\"rechargeInt\").setValue(a),this.RomIntEmp=!0;break;case\"apiKey\":this.permissionEmpForm.get(\"apiKey\").setValue(a),this.StEmp=!0;break;case\"smtp\":this.permissionEmpForm.get(\"smtp\").setValue(a),this.StEmp=!0;break;case\"gateway\":this.permissionEmpForm.get(\"gateway\").setValue(a),this.StEmp=!0;break;case\"webhook\":this.permissionEmpForm.get(\"webhook\").setValue(a),this.StEmp=!0;break;case\"firebaseSettings\":this.permissionEmpForm.get(\"firebaseSettings\").setValue(a),this.StEmp=!0;break;case\"card\":this.permissionEmpForm.get(\"card\").setValue(a),this.RDEmp=!0;break;case\"management\":this.permissionEmpForm.get(\"management\").setValue(a),this.RDEmp=!0}}),this.user.permissions.forEach(a=>{if(a.includes(\"Write\"))switch(a.replace(\"AccessWrite\",\"\")){case\"flat\":this.permissionEmpForm.get(\"flat\").setValue(a);break;case\"payments\":this.permissionEmpForm.get(\"payments\").setValue(a);break;case\"mapEmp\":this.permissionEmpForm.get(\"mapEmp\").setValue(a);break;case\"rebrandingEmp\":this.permissionEmpForm.get(\"rebrandingEmp\").setValue(a);break;case\"revenue\":this.permissionEmpForm.get(\"revenue\").setValue(a);break;case\"reviews\":this.permissionEmpForm.get(\"reviews\").setValue(a);break;case\"support\":this.permissionEmpForm.get(\"support\").setValue(a);break;case\"user\":this.permissionEmpForm.get(\"user\").setValue(a);break;case\"voucher\":this.permissionEmpForm.get(\"voucher\").setValue(a);break;case\"notifies\":this.permissionEmpForm.get(\"notifies\").setValue(a);break;case\"email\":this.permissionEmpForm.get(\"email\").setValue(a);break;case\"firebase\":this.permissionEmpForm.get(\"firebase\").setValue(a);break;case\"externalRoaming\":this.permissionEmpForm.get(\"externalRoaming\").setValue(a);break;case\"priceExt\":this.permissionEmpForm.get(\"priceExt\").setValue(a);break;case\"permissionsExt\":this.permissionEmpForm.get(\"permissionsExt\").setValue(a);break;case\"reservationsExt\":this.permissionEmpForm.get(\"reservationsExt\").setValue(a);break;case\"rechargeExt\":this.permissionEmpForm.get(\"rechargeExt\").setValue(a);break;case\"internalRoaming\":this.permissionEmpForm.get(\"internalRoaming\").setValue(a);break;case\"priceInt\":this.permissionEmpForm.get(\"priceInt\").setValue(a);break;case\"permissionsInt\":this.permissionEmpForm.get(\"permissionsInt\").setValue(a);break;case\"reservationsInt\":this.permissionEmpForm.get(\"reservationsInt\").setValue(a);break;case\"rechargeInt\":this.permissionEmpForm.get(\"rechargeInt\").setValue(a);break;case\"apiKey\":this.permissionEmpForm.get(\"apiKey\").setValue(a);break;case\"smtp\":this.permissionEmpForm.get(\"smtp\").setValue(a);break;case\"gateway\":this.permissionEmpForm.get(\"gateway\").setValue(a);break;case\"webhook\":this.permissionEmpForm.get(\"webhook\").setValue(a);break;case\"firebaseSettings\":this.permissionEmpForm.get(\"firebaseSettings\").setValue(a);break;case\"card\":this.permissionEmpForm.get(\"card\").setValue(a);break;case\"management\":this.permissionEmpForm.get(\"management\").setValue(a)}}));let e=0;Object.values(this.permissionCpoForm.controls).forEach(a=>{a.value&&\"\"!==a.value&&e++}),this.permessiCPO=0!=e,console.log(e);let o=0;Object.values(this.permissionEmpForm.controls).forEach(a=>{a.value&&\"\"!==a.value&&o++}),this.permessiEMP=0!=e,console.log(o)}isValidPassword(){return this.cpoUserForm.value.password1===this.cpoUserForm.value.password2}pswErrorMsg(){this.notifyService.showWarning(this.translate.instant(\"pass_err\"),this.translate.instant(\"att\"))}permission(){return this.authService.user.permissions}crea(){return(0,C.mG)(this,void 0,void 0,function*(){for(let e of Object.keys(this.permissionBaseForm.value)){let o=\"\";o=this.permissionBaseForm.value[e],\"\"!=o&&(this.field.push(o),o.includes(\"Write\")&&(o=o.replace(\"AccessWrite\",\"AccessRead\"),this.field.push(o)))}for(let e of Object.keys(this.permissionCpoForm.value)){let o=this.permissionCpoForm.value[e];\"\"!=o&&(this.field.push(o),o.includes(\"Write\")&&(o=o.replace(\"AccessWrite\",\"AccessRead\"),this.field.push(o)))}for(let e of Object.keys(this.permissionEmpForm.value)){let o=\"\";o=this.permissionEmpForm.value[e],\"\"!=o&&(this.field.push(o),o.includes(\"Write\")&&(o=o.replace(\"AccessWrite\",\"AccessRead\"),this.field.push(o)))}if(this.isValidPassword())if(this.update)this.dataEmpCpoService.updateOperator(this.user.id,this.field).toPromise().then(()=>{this.notifyService.showSuccess(this.translate.instant(\"up_operatore\"),this.translate.instant(\"conferma_invio\")),this.router.navigate([\"management/operator\"],{})}).catch(e=>{this.notifyService.showError(this.translate.instant(\"semplice_err\"),this.translate.instant(\"errore\")),console.error(e.message)});else{let e=this.cpoUserForm.value;e.permissions=this.field,this.isAdmin()?(console.log(\"SEI QUI - Admin\"),this.dataEmpCpoService.createOperatorCpms(e).toPromise().then(()=>{this.notifyService.showSuccess(this.translate.instant(\"crea_operatore\"),this.translate.instant(\"conferma_invio\")),this.router.navigate([\"management/operator\"],{})}).catch(o=>{this.notifyService.showError(this.translate.instant(\"semplice_err\"),this.translate.instant(\"errore\")),console.error(o.message)})):this.dataEmpCpoService.createOperator(e).toPromise().then(()=>{this.notifyService.showSuccess(this.translate.instant(\"crea_operatore\"),this.translate.instant(\"conferma_invio\")),this.router.navigate([\"management/operator\"],{})}).catch(o=>{this.notifyService.showError(this.translate.instant(\"semplice_err\"),this.translate.instant(\"errore\")),console.error(o.message)})}else this.pswErrorMsg()})}isAdmin(){return\"ADMIN\"===b().get(\"userRole\",{decrypt:!0})}rewind(){this.currentCard=!this.permessiCPO&&this.permessiEMP?this.currentCard-2:this.currentCard-1}next(){this.permessiCPO&&this.permessiEMP?alert(\"Please click the company type\"):!this.permessiCPO&&this.permessiEMP?this.currentCard=this.currentCard+2:this.currentCard++}needAnimation(e){return e===this.currentCard}profilo(e){switch(console.log(e),this.permissionCpoForm.reset(),e){case\"Tecnico\":this.permissionCpoForm.get(\"cluster\").setValue(\"clusterAccessWrite\");break;case\"Read\":this.permissionCpoForm.get(\"coupon\").setValue(\"couponAccessRead\");break;case\"Write\":this.permissionCpoForm.get(\"product\").setValue(\"productAccessRead\");break;case\"All\":this.user.permissions.forEach(o=>{})}}controlloBase(){return!(0!=this.currentCard||!this.update)}controlloCPO(){return this.update&&this.permessiCPO&&2!=this.currentCard&&0!=this.currentCard?(this.currentCard=1,!0):!(this.update||!this.permessiCPO||1!=this.currentCard)}controlloEMP(){return this.update&&this.permessiEMP&&1!=this.currentCard&&0!=this.currentCard?(this.currentCard=2,!0):!(this.update||!this.permessiEMP||2!=this.currentCard)}menuBase(){return this.cardBase=!this.cardBase}rewindOperator(){this.router.navigate([\"management/operator\"],{})}check(e){switch(e){case\"PermBase\":this.checkboxPermBase.nativeElement.checked?(console.log(this.PermBase),this.PermBase=!0):(this.PermBase=!1,this.permissionBaseForm.get(\"home\").setValue(\"\"),this.permissionBaseForm.get(\"bi\").setValue(\"\"),this.permissionBaseForm.get(\"operator\").setValue(\"\"));break;case\"CpCpo\":this.checkboxCpCpo.nativeElement.checked?this.CpCpo=!0:(this.CpCpo=!1,this.permissionCpoForm.get(\"chargePointOperations\").setValue(\"\"),this.permissionCpoForm.get(\"cluster\").setValue(\"\"),this.permissionCpoForm.get(\"coupon\").setValue(\"\"),this.permissionCpoForm.get(\"map\").setValue(\"\"),this.permissionCpoForm.get(\"product\").setValue(\"\"),this.permissionCpoForm.get(\"recharge\").setValue(\"\"),this.permissionCpoForm.get(\"reserve\").setValue(\"\"),this.permissionCpoForm.get(\"roaming\").setValue(\"\"),this.permissionCpoForm.get(\"priceChange\").setValue(\"\"),this.permissionCpoForm.get(\"rfidGroup\").setValue(\"\"),this.permissionCpoForm.get(\"settings\").setValue(\"\"),this.permissionCpoForm.get(\"configuration\").setValue(\"\"),this.permissionCpoForm.get(\"setChargingProfile\").setValue(\"\"));break;case\"FlCpo\":this.checkboxFlCpo.nativeElement.checked?this.FlCpo=!0:(this.permissionCpoForm.get(\"department\").setValue(\"\"),this.permissionCpoForm.get(\"vehicle\").setValue(\"\"),this.permissionCpoForm.get(\"rfidGroupFleet\").setValue(\"\"),this.FlCpo=!1);break;case\"AssMngmtCpo\":this.checkboxAssMngmtCpo.nativeElement.checked?this.AssMngmtCpo=!0:(this.permissionCpoForm.get(\"team\").setValue(\"\"),this.permissionCpoForm.get(\"events\").setValue(\"\"),this.AssMngmtCpo=!1);break;case\"RebCpo\":this.checkboxRebCpo.nativeElement.checked?this.RebCpo=!0:(this.permissionCpoForm.get(\"rebrandingCpo\").setValue(\"\"),this.RebCpo=!1);break;case\"SubCpo\":this.checkboxSubCpo.nativeElement.checked?this.SubCpo=!0:(this.permissionCpoForm.get(\"sub\").setValue(\"\"),this.SubCpo=!1);break;case\"RicCpo\":this.checkboxRicCpo.nativeElement.checked?this.RicCpo=!0:(this.permissionCpoForm.get(\"revenueCpo\").setValue(\"\"),this.RicCpo=!1);break;case\"SetCpo\":this.checkboxRicCpo.nativeElement.checked?(this.permissionCpoForm.get(\"revenueCpo\").setValue(\"revenueCpoAccessWrite\"),this.SetCpo=!0):(this.permissionCpoForm.get(\"webApp\").setValue(\"\"),this.SetCpo=!1);break;case\"FlEmp\":this.checkboxFlEmp.nativeElement.checked?this.FlEmp=!0:(this.permissionEmpForm.get(\"flat\").setValue(\"\"),this.FlEmp=!1);break;case\"MapEmp\":this.checkboxMapEmp.nativeElement.checked?this.MapEmp=!0:(this.permissionEmpForm.get(\"mapEmp\").setValue(\"\"),this.MapEmp=!1);break;case\"RevEmp\":this.checkboxRevEmp.nativeElement.checked?this.RevEmp=!0:(this.permissionEmpForm.get(\"revenue\").setValue(\"\"),this.RevEmp=!1);break;case\"SupEmp\":this.checkboxSupEmp.nativeElement.checked?this.SupEmp=!0:(this.permissionEmpForm.get(\"support\").setValue(\"\"),this.SupEmp=!1);break;case\"UsEmp\":this.checkboxUsEmp.nativeElement.checked?this.UsEmp=!0:(this.permissionEmpForm.get(\"user\").setValue(\"\"),this.UsEmp=!1);break;case\"VouEmp\":this.checkboxVouEmp.nativeElement.checked?this.VouEmp=!0:(this.permissionEmpForm.get(\"voucher\").setValue(\"\"),this.VouEmp=!1);break;case\"RomExtEmp\":this.checkboxRomExtEmp.nativeElement.checked?this.RomExtEmp=!0:(this.permissionEmpForm.get(\"priceExt\").setValue(\"\"),this.permissionEmpForm.get(\"permissionsExt\").setValue(\"\"),this.permissionEmpForm.get(\"reservationsExt\").setValue(\"\"),this.permissionEmpForm.get(\"rechargeExt\").setValue(\"\"),this.RomExtEmp=!1);break;case\"RomIntEmp\":this.checkboxRomIntEmp.nativeElement.checked?this.RomIntEmp=!0:(this.permissionEmpForm.get(\"priceInt\").setValue(\"\"),this.permissionEmpForm.get(\"permissionsInt\").setValue(\"\"),this.permissionEmpForm.get(\"reservationsInt\").setValue(\"\"),this.permissionEmpForm.get(\"rechargeInt\").setValue(\"\"),this.RomIntEmp=!1);break;case\"StEmp\":this.checkboxStEmp.nativeElement.checked?this.StEmp=!0:(this.permissionEmpForm.get(\"apiKey\").setValue(\"\"),this.permissionEmpForm.get(\"smtp\").setValue(\"\"),this.permissionEmpForm.get(\"gateway\").setValue(\"\"),this.permissionEmpForm.get(\"webhook\").setValue(\"\"),this.permissionEmpForm.get(\"firebaseSettings\").setValue(\"\"),this.StEmp=!1);break;case\"RDEmp\":this.checkboxRDEmp.nativeElement.checked?this.RDEmp=!0:(this.permissionEmpForm.get(\"card\").setValue(\"\"),this.permissionEmpForm.get(\"management\").setValue(\"\"),this.RDEmp=!1);break;case\"NotEmp\":this.checkboxNotEmp.nativeElement.checked?this.NotEmp=!0:(this.permissionEmpForm.get(\"email\").setValue(\"\"),this.permissionEmpForm.get(\"firebase\").setValue(\"\"),this.NotEmp=!1);break;case\"PayEmp\":this.checkboxPayEmp.nativeElement.checked?this.PayEmp=!0:(this.permissionEmpForm.get(\"payments\").setValue(\"\"),this.PayEmp=!1);break;case\"RebEmp\":this.checkboxRebEmp.nativeElement.checked?this.RebEmp=!0:(this.permissionEmpForm.get(\"rebrandingEmp\").setValue(\"\"),this.RebEmp=!1)}}selectCompany(){this.update=!1,this.dialog.open(sg,{disableClose:!0,height:\"55vh\",width:\"80vh\",data:{permessiCPO:this.permessiCPO,permessiEMP:this.permessiEMP}}).afterClosed().subscribe(o=>{console.log(o),o.conferma&&(this.permessiCPO=o.cpo,this.permessiEMP=o.emp,this.next())})}}return n.\\u0275fac=function(e){return new(e||n)(t.Y36(ie.c),t.Y36(U.sK),t.Y36(F.e),t.Y36(N.F0),t.Y36(O.uw),t.Y36(K.m))},n.\\u0275cmp=t.Xpm({type:n,selectors:[[\"app-add-operator-cpms\"]],viewQuery:function(e,o){if(1&e&&(t.Gf(lg,5),t.Gf(cg,5),t.Gf(pg,5),t.Gf(dg,5),t.Gf(gg,5),t.Gf(mg,5),t.Gf(ug,5),t.Gf(_g,5),t.Gf(hg,5),t.Gf(fg,5),t.Gf(Zg,5),t.Gf(Cg,5),t.Gf(vg,5),t.Gf(bg,5),t.Gf(Ag,5),t.Gf(xg,5),t.Gf(Tg,5),t.Gf(Pg,5),t.Gf(Og,5),t.Gf(yg,5),t.Gf(qg,5)),2&e){let a;t.iGM(a=t.CRH())&&(o.checkboxPermBase=a.first),t.iGM(a=t.CRH())&&(o.checkboxCpCpo=a.first),t.iGM(a=t.CRH())&&(o.checkboxFlCpo=a.first),t.iGM(a=t.CRH())&&(o.checkboxAssMngmtCpo=a.first),t.iGM(a=t.CRH())&&(o.checkboxRebCpo=a.first),t.iGM(a=t.CRH())&&(o.checkboxSubCpo=a.first),t.iGM(a=t.CRH())&&(o.checkboxRicCpo=a.first),t.iGM(a=t.CRH())&&(o.checkboxSetCpo=a.first),t.iGM(a=t.CRH())&&(o.checkboxFlEmp=a.first),t.iGM(a=t.CRH())&&(o.checkboxMapEmp=a.first),t.iGM(a=t.CRH())&&(o.checkboxRevEmp=a.first),t.iGM(a=t.CRH())&&(o.checkboxSupEmp=a.first),t.iGM(a=t.CRH())&&(o.checkboxUsEmp=a.first),t.iGM(a=t.CRH())&&(o.checkboxVouEmp=a.first),t.iGM(a=t.CRH())&&(o.checkboxRomExtEmp=a.first),t.iGM(a=t.CRH())&&(o.checkboxRomIntEmp=a.first),t.iGM(a=t.CRH())&&(o.checkboxStEmp=a.first),t.iGM(a=t.CRH())&&(o.checkboxRDEmp=a.first),t.iGM(a=t.CRH())&&(o.checkboxNotEmp=a.first),t.iGM(a=t.CRH())&&(o.checkboxPayEmp=a.first),t.iGM(a=t.CRH())&&(o.checkboxRebEmp=a.first)}},decls:6,vars:2,consts:[[\"rel\",\"stylesheet\",\"href\",\"https://cdnjs.cloudflare.com/ajax/libs/animate.css/4.1.1/animate.min.css\"],[4,\"ngIf\",\"ngIfElse\"],[\"main\",\"\"],[1,\"content-body\"],[1,\"container-fluid\",\"default-mt-btn\",\"default-mt-table\",\"default-mt-select\",\"default-autocomplete\",\"default-mt-spinner\"],[1,\"header-cell\",\"top\"],[\"ngbDropdown\",\"\",1,\"d\"],[\"class\",\"grid-double\",3,\"ngClass\",4,\"ngIf\"],[3,\"ngClass\",4,\"ngIf\"],[1,\"grid-double\",3,\"ngClass\"],[1,\"div1\"],[1,\"card\"],[1,\"card-header\",\"d-block\"],[1,\"fs-32\",\"card-title\",\"left\",\"text-black\"],[1,\"card-body\",2,\"padding-top\",\"5rem\"],[3,\"formGroup\"],[1,\"center\"],[1,\"fas\",\"fa-id-badge\"],[\"appearance\",\"outline\",1,\"w70\"],[\"type\",\"text\",\"matInput\",\"\",\"formControlName\",\"user\",\"autocomplete\",\"off\",\"readonly\",\"\",\"onfocus\",\"this.removeAttribute('readonly');\",\"required\",\"\"],[4,\"ngIf\"],[1,\"grid33\"],[1,\"fas\",\"fa-address-card\"],[\"type\",\"text\",\"matInput\",\"\",\"formControlName\",\"name\",\"required\",\"\"],[\"type\",\"text\",\"matInput\",\"\",\"formControlName\",\"surname\",\"required\",\"\"],[1,\"fas\",\"fa-phone\"],[\"matInput\",\"\",\"type\",\"tel\",\"formControlName\",\"phone\"],[1,\"fas\",\"fa-mail-bulk\"],[\"matInput\",\"\",\"type\",\"email\",\"formControlName\",\"email\",\"required\",\"\"],[1,\"fas\",\"fa-key\"],[\"appearance\",\"outline\",1,\"w70\",3,\"formGroup\"],[\"matInput\",\"\",\"formControlName\",\"password1\",\"autocomplete\",\"off\",\"readonly\",\"\",\"onfocus\",\"this.removeAttribute('readonly');\",\"required\",\"\",3,\"type\"],[\"matSuffix\",\"\",1,\"click\",3,\"click\"],[\"matInput\",\"\",\"formControlName\",\"password2\",\"autocomplete\",\"off\",\"readonly\",\"\",\"onfocus\",\"this.removeAttribute('readonly');\",\"required\",\"\",3,\"type\"],[2,\"text-align\",\"-webkit-right\"],[1,\"buttonDatiUtente\",3,\"click\"],[1,\"arrow-wrapper\"],[1,\"arrow\"],[1,\"div3\"],[1,\"card\",2,\"height\",\"fit-content\"],[1,\"endCard\"],[1,\"switch\"],[\"type\",\"checkbox\",3,\"checked\",\"click\"],[\"checkboxPermBase\",\"\"],[1,\"slider\"],[1,\"card-body\"],[1,\"table\",3,\"ngClass\"],[1,\"padding_32\"],[1,\"radio-label\"],[\"type\",\"radio\",\"formControlName\",\"home\",\"value\",\"\"],[1,\"checkmark\"],[\"type\",\"radio\",\"formControlName\",\"home\",\"value\",\"homeAccessRead\"],[\"type\",\"radio\",\"formControlName\",\"bi\",\"value\",\"\"],[\"type\",\"radio\",\"formControlName\",\"bi\",\"value\",\"biAccessRead\"],[\"type\",\"radio\",\"formControlName\",\"operator\",\"value\",\"\"],[\"type\",\"radio\",\"formControlName\",\"operator\",\"value\",\"operatorAccessRead\"],[\"type\",\"radio\",\"formControlName\",\"operator\",\"value\",\"operatorAccessWrite\"],[3,\"ngClass\"],[2,\"font-size\",\"60px\",\"color\",\"#009999\",\"text-align\",\"initial\"],[1,\"divButtonRewindNextCPO\"],[1,\"buttonRewindNextCPO\"],[1,\"button2\",3,\"click\"],[\"class\",\"next_crea\",4,\"ngIf\"],[\"type\",\"radio\",\"formControlName\",\"bi\",\"value\",\"biAccessWrite\"],[1,\"next_crea\"],[3,\"click\"],[1,\"grid_permCPO\"],[\"class\",\"div4\",4,\"ngIf\"],[\"class\",\"div5\",4,\"ngIf\"],[1,\"div6\"],[\"checkboxAssMngmtCpo\",\"\"],[\"type\",\"radio\",\"formControlName\",\"team\",\"value\",\"\"],[\"type\",\"radio\",\"formControlName\",\"team\",\"value\",\"teamAccessRead\"],[\"type\",\"radio\",\"formControlName\",\"team\",\"value\",\"teamAccessWrite\"],[\"type\",\"radio\",\"formControlName\",\"events\",\"value\",\"\"],[\"type\",\"radio\",\"formControlName\",\"events\",\"value\",\"eventsAccessRead\"],[\"type\",\"radio\",\"formControlName\",\"events\",\"value\",\"eventsAccessWrite\"],[\"class\",\"div7\",4,\"ngIf\"],[\"class\",\"div8\",4,\"ngIf\"],[\"class\",\"div9\",4,\"ngIf\"],[\"class\",\"div10\",4,\"ngIf\"],[1,\"div4\"],[\"checkboxCpCpo\",\"\"],[\"type\",\"radio\",\"formControlName\",\"chargePointOperations\",\"value\",\"\"],[\"type\",\"radio\",\"formControlName\",\"chargePointOperations\",\"value\",\"chargePointOperationsAccessRead\"],[\"type\",\"radio\",\"formControlName\",\"chargePointOperations\",\"value\",\"chargePointOperationsAccessWrite\"],[\"type\",\"radio\",\"formControlName\",\"product\",\"value\",\"\"],[\"type\",\"radio\",\"formControlName\",\"product\",\"value\",\"productAccessRead\"],[\"type\",\"radio\",\"formControlName\",\"product\",\"value\",\"productAccessWrite\"],[\"type\",\"radio\",\"formControlName\",\"priceChange\",\"value\",\"\"],[\"type\",\"radio\",\"formControlName\",\"priceChange\",\"value\",\"priceChangeAccessRead\"],[\"type\",\"radio\",\"formControlName\",\"priceChange\",\"value\",\"priceChangeAccessWrite\"],[\"type\",\"radio\",\"formControlName\",\"configuration\",\"value\",\"\"],[\"type\",\"radio\",\"formControlName\",\"configuration\",\"value\",\"configurationAccessRead\"],[\"type\",\"radio\",\"formControlName\",\"configuration\",\"value\",\"configurationAccessWrite\"],[\"type\",\"radio\",\"formControlName\",\"setChargingProfile\",\"value\",\"\"],[\"type\",\"radio\",\"formControlName\",\"setChargingProfile\",\"value\",\"setChargingProfileAccessRead\"],[\"type\",\"radio\",\"formControlName\",\"setChargingProfile\",\"value\",\"setChargingProfileAccessWrite\"],[\"type\",\"radio\",\"formControlName\",\"cluster\",\"value\",\"\"],[\"type\",\"radio\",\"formControlName\",\"cluster\",\"value\",\"clusterAccessRead\"],[\"type\",\"radio\",\"formControlName\",\"cluster\",\"value\",\"clusterAccessWrite\"],[\"type\",\"radio\",\"formControlName\",\"coupon\",\"value\",\"\"],[\"type\",\"radio\",\"formControlName\",\"coupon\",\"value\",\"couponAccessRead\"],[\"type\",\"radio\",\"formControlName\",\"coupon\",\"value\",\"couponAccessWrite\"],[\"type\",\"radio\",\"formControlName\",\"map\",\"value\",\"\"],[\"type\",\"radio\",\"formControlName\",\"map\",\"value\",\"mapAccessRead\"],[\"type\",\"radio\",\"formControlName\",\"map\",\"value\",\"mapAccessWrite\"],[\"type\",\"radio\",\"formControlName\",\"recharge\",\"value\",\"\"],[\"type\",\"radio\",\"formControlName\",\"recharge\",\"value\",\"rechargeAccessRead\"],[\"type\",\"radio\",\"formControlName\",\"recharge\",\"value\",\"rechargeAccessWrite\"],[\"type\",\"radio\",\"formControlName\",\"reserve\",\"value\",\"\"],[\"type\",\"radio\",\"formControlName\",\"reserve\",\"value\",\"reserveAccessRead\"],[\"type\",\"radio\",\"formControlName\",\"reserve\",\"value\",\"reserveAccessWrite\"],[\"type\",\"radio\",\"formControlName\",\"rfidGroup\",\"value\",\"\"],[\"type\",\"radio\",\"formControlName\",\"rfidGroup\",\"value\",\"rfidGroupAccessRead\"],[\"type\",\"radio\",\"formControlName\",\"rfidGroup\",\"value\",\"rfidGroupAccessWrite\"],[\"type\",\"radio\",\"formControlName\",\"settings\",\"value\",\"\"],[\"type\",\"radio\",\"formControlName\",\"settings\",\"value\",\"settingsAccessRead\"],[\"type\",\"radio\",\"formControlName\",\"settings\",\"value\",\"settingsAccessWrite\"],[1,\"div5\"],[\"checkboxFlCpo\",\"\"],[\"type\",\"radio\",\"formControlName\",\"fleet\",\"value\",\"\"],[\"type\",\"radio\",\"formControlName\",\"fleet\",\"value\",\"fleetAccessRead\"],[\"type\",\"radio\",\"formControlName\",\"fleet\",\"value\",\"fleetAccessWrite\"],[\"type\",\"radio\",\"formControlName\",\"department\",\"value\",\"\"],[\"type\",\"radio\",\"formControlName\",\"department\",\"value\",\"departmentAccessRead\"],[\"type\",\"radio\",\"formControlName\",\"department\",\"value\",\"departmentAccessWrite\"],[\"type\",\"radio\",\"formControlName\",\"vehicle\",\"value\",\"\"],[\"type\",\"radio\",\"formControlName\",\"vehicle\",\"value\",\"vehicleAccessRead\"],[\"type\",\"radio\",\"formControlName\",\"vehicle\",\"value\",\"vehicleAccessWrite\"],[\"type\",\"radio\",\"formControlName\",\"rfidGroupFleet\",\"value\",\"\"],[\"type\",\"radio\",\"formControlName\",\"rfidGroupFleet\",\"value\",\"rfidGroupFleetAccessRead\"],[\"type\",\"radio\",\"formControlName\",\"rfidGroupFleet\",\"value\",\"rfidGroupFleetAccessWrite\"],[1,\"div7\"],[\"checkboxRebCpo\",\"\"],[\"type\",\"radio\",\"formControlName\",\"rebrandingCpo\",\"value\",\"\"],[\"type\",\"radio\",\"formControlName\",\"rebrandingCpo\",\"value\",\"rebrandingCpoAccessRead\"],[\"type\",\"radio\",\"formControlName\",\"rebrandingCpo\",\"value\",\"rebrandingCpoAccessWrite\"],[1,\"div8\"],[\"checkboxSubCpo\",\"\"],[\"type\",\"radio\",\"formControlName\",\"sub\",\"value\",\"\"],[\"type\",\"radio\",\"formControlName\",\"sub\",\"value\",\"subAccessRead\"],[\"type\",\"radio\",\"formControlName\",\"sub\",\"value\",\"subAccessWrite\"],[1,\"div9\"],[\"checkboxRicCpo\",\"\"],[\"type\",\"radio\",\"formControlName\",\"revenueCpo\",\"value\",\"\"],[\"type\",\"radio\",\"formControlName\",\"revenueCpo\",\"value\",\"revenueCpoAccessRead\"],[\"type\",\"radio\",\"formControlName\",\"revenueCpo\",\"value\",\"revenueCpoAccessWrite\"],[1,\"div10\"],[\"checkboxSetCpo\",\"\"],[\"type\",\"radio\",\"formControlName\",\"webApp\",\"value\",\"\"],[\"type\",\"radio\",\"formControlName\",\"webApp\",\"value\",\"webAppAccessRead\"],[\"type\",\"radio\",\"formControlName\",\"webApp\",\"value\",\"webAppAccessWrite\"],[1,\"grid_permEmp\"],[\"class\",\"div11\",4,\"ngIf\"],[\"class\",\"div12\",4,\"ngIf\"],[\"class\",\"div13\",4,\"ngIf\"],[\"class\",\"div14\",4,\"ngIf\"],[\"class\",\"div15\",4,\"ngIf\"],[\"class\",\"div16\",4,\"ngIf\"],[\"class\",\"div17\",4,\"ngIf\"],[\"class\",\"div18\",4,\"ngIf\"],[\"class\",\"div19\",4,\"ngIf\"],[\"class\",\"div20\",4,\"ngIf\"],[\"class\",\"div21\",4,\"ngIf\"],[\"class\",\"div22\",4,\"ngIf\"],[\"class\",\"div23\",4,\"ngIf\"],[1,\"div11\"],[\"checkboxFlEmp\",\"\"],[\"type\",\"radio\",\"formControlName\",\"flat\",\"value\",\"\"],[\"type\",\"radio\",\"formControlName\",\"flat\",\"value\",\"flatAccessRead\"],[\"type\",\"radio\",\"formControlName\",\"flat\",\"value\",\"flatAccessWrite\"],[1,\"div12\"],[\"checkboxMapEmp\",\"\"],[\"type\",\"radio\",\"formControlName\",\"mapEmp\",\"value\",\"\"],[\"type\",\"radio\",\"formControlName\",\"mapEmp\",\"value\",\"mapEmpAccessRead\"],[\"type\",\"radio\",\"formControlName\",\"mapEmp\",\"value\",\"mapEmpAccessWrite\"],[1,\"div13\"],[\"checkboxRevEmp\",\"\"],[\"type\",\"radio\",\"formControlName\",\"revenue\",\"value\",\"\"],[\"type\",\"radio\",\"formControlName\",\"revenue\",\"value\",\"revenueAccessRead\"],[\"type\",\"radio\",\"formControlName\",\"revenue\",\"value\",\"revenueAccessWrite\"],[1,\"div14\"],[\"checkboxSupEmp\",\"\"],[\"type\",\"radio\",\"formControlName\",\"support\",\"value\",\"\"],[\"type\",\"radio\",\"formControlName\",\"support\",\"value\",\"supportAccessRead\"],[\"type\",\"radio\",\"formControlName\",\"support\",\"value\",\"supportAccessWrite\"],[1,\"div15\"],[\"checkboxUsEmp\",\"\"],[\"type\",\"radio\",\"formControlName\",\"user\",\"value\",\"\"],[\"type\",\"radio\",\"formControlName\",\"user\",\"value\",\"userAccessRead\"],[\"type\",\"radio\",\"formControlName\",\"user\",\"value\",\"userAccessWrite\"],[1,\"div16\"],[\"checkboxVouEmp\",\"\"],[\"type\",\"radio\",\"formControlName\",\"voucher\",\"value\",\"\"],[\"type\",\"radio\",\"formControlName\",\"voucher\",\"value\",\"voucherAccessRead\"],[\"type\",\"radio\",\"formControlName\",\"voucher\",\"value\",\"voucherAccessWrite\"],[1,\"div17\"],[\"checkboxRomExtEmp\",\"\"],[\"type\",\"radio\",\"formControlName\",\"priceExt\",\"value\",\"\"],[\"type\",\"radio\",\"formControlName\",\"priceExt\",\"value\",\"priceExtAccessRead\"],[\"type\",\"radio\",\"formControlName\",\"priceExt\",\"value\",\"priceExtAccessWrite\"],[\"type\",\"radio\",\"formControlName\",\"permissionsExt\",\"value\",\"\"],[\"type\",\"radio\",\"formControlName\",\"permissionsExt\",\"value\",\"permissionsExtAccessRead\"],[\"type\",\"radio\",\"formControlName\",\"permissionsExt\",\"value\",\"permissionsExtAccessWrite\"],[\"type\",\"radio\",\"formControlName\",\"reservationsExt\",\"value\",\"\"],[\"type\",\"radio\",\"formControlName\",\"reservationsExt\",\"value\",\"reservationsExtAccessRead\"],[\"type\",\"radio\",\"formControlName\",\"reservationsExt\",\"value\",\"reservationsExtAccessWrite\"],[\"type\",\"radio\",\"formControlName\",\"rechargeExt\",\"value\",\"\"],[\"type\",\"radio\",\"formControlName\",\"rechargeExt\",\"value\",\"rechargeExtAccessRead\"],[\"type\",\"radio\",\"formControlName\",\"rechargeExt\",\"value\",\"rechargeExtAccessWrite\"],[1,\"div18\"],[\"checkboxRomIntEmp\",\"\"],[\"type\",\"radio\",\"formControlName\",\"priceInt\",\"value\",\"\"],[\"type\",\"radio\",\"formControlName\",\"priceInt\",\"value\",\"priceIntAccessRead\"],[\"type\",\"radio\",\"formControlName\",\"priceInt\",\"value\",\"priceIntAccessWrite\"],[\"type\",\"radio\",\"formControlName\",\"permissionsInt\",\"value\",\"\"],[\"type\",\"radio\",\"formControlName\",\"permissionsInt\",\"value\",\"permissionsIntAccessRead\"],[\"type\",\"radio\",\"formControlName\",\"permissionsInt\",\"value\",\"permissionsIntAccessWrite\"],[\"type\",\"radio\",\"formControlName\",\"reservationsInt\",\"value\",\"\"],[\"type\",\"radio\",\"formControlName\",\"reservationsInt\",\"value\",\"reservationsIntAccessRead\"],[\"type\",\"radio\",\"formControlName\",\"reservationsInt\",\"value\",\"reservationsIntAccessWrite\"],[\"type\",\"radio\",\"formControlName\",\"rechargeInt\",\"value\",\"\"],[\"type\",\"radio\",\"formControlName\",\"rechargeInt\",\"value\",\"rechargeIntAccessRead\"],[\"type\",\"radio\",\"formControlName\",\"rechargeInt\",\"value\",\"rechargeIntAccessWrite\"],[1,\"div19\"],[\"checkboxStEmp\",\"\"],[\"type\",\"radio\",\"formControlName\",\"apiKey\",\"value\",\"\"],[\"type\",\"radio\",\"formControlName\",\"apiKey\",\"value\",\"apiKeyAccessRead\"],[\"type\",\"radio\",\"formControlName\",\"apiKey\",\"value\",\"apiKeyAccessWrite\"],[\"type\",\"radio\",\"formControlName\",\"smtp\",\"value\",\"\"],[\"type\",\"radio\",\"formControlName\",\"smtp\",\"value\",\"smtpAccessRead\"],[\"type\",\"radio\",\"formControlName\",\"smtp\",\"value\",\"smtpAccessWrite\"],[\"type\",\"radio\",\"formControlName\",\"gateway\",\"value\",\"\"],[\"type\",\"radio\",\"formControlName\",\"gateway\",\"value\",\"gatewayAccessRead\"],[\"type\",\"radio\",\"formControlName\",\"gateway\",\"value\",\"gatewayAccessWrite\"],[\"type\",\"radio\",\"formControlName\",\"webhook\",\"value\",\"\"],[\"type\",\"radio\",\"formControlName\",\"webhook\",\"value\",\"webhookAccessRead\"],[\"type\",\"radio\",\"formControlName\",\"webhook\",\"value\",\"webhookAccessWrite\"],[\"type\",\"radio\",\"formControlName\",\"firebaseSettings\",\"value\",\"\"],[\"type\",\"radio\",\"formControlName\",\"firebaseSettings\",\"value\",\"firebaseSettingsAccessRead\"],[\"type\",\"radio\",\"formControlName\",\"firebaseSettings\",\"value\",\"firebaseSettingsAccessWrite\"],[1,\"div20\"],[\"checkboxRDEmp\",\"\"],[\"type\",\"radio\",\"formControlName\",\"card\",\"value\",\"\"],[\"type\",\"radio\",\"formControlName\",\"card\",\"value\",\"cardAccessRead\"],[\"type\",\"radio\",\"formControlName\",\"card\",\"value\",\"cardAccessWrite\"],[\"type\",\"radio\",\"formControlName\",\"management\",\"value\",\"\"],[\"type\",\"radio\",\"formControlName\",\"management\",\"value\",\"managementAccessRead\"],[\"type\",\"radio\",\"formControlName\",\"management\",\"value\",\"managementAccessWrite\"],[1,\"div21\"],[\"checkboxNotEmp\",\"\"],[\"type\",\"radio\",\"formControlName\",\"email\",\"value\",\"\"],[\"type\",\"radio\",\"formControlName\",\"email\",\"value\",\"emailAccessRead\"],[\"type\",\"radio\",\"formControlName\",\"email\",\"value\",\"emailAccessWrite\"],[\"type\",\"radio\",\"formControlName\",\"firebase\",\"value\",\"\"],[\"type\",\"radio\",\"formControlName\",\"firebase\",\"value\",\"firebaseAccessRead\"],[\"type\",\"radio\",\"formControlName\",\"firebase\",\"value\",\"firebaseAccessWrite\"],[1,\"div22\"],[\"checkboxPayEmp\",\"\"],[\"type\",\"radio\",\"formControlName\",\"payments\",\"value\",\"\"],[\"type\",\"radio\",\"formControlName\",\"payments\",\"value\",\"paymentsAccessRead\"],[\"type\",\"radio\",\"formControlName\",\"payments\",\"value\",\"paymentsAccessWrite\"],[1,\"div23\"],[\"checkboxRebEmp\",\"\"],[\"type\",\"radio\",\"formControlName\",\"rebrandingEmp\",\"value\",\"\"],[\"type\",\"radio\",\"formControlName\",\"rebrandingEmp\",\"value\",\"rebrandingEmpAccessRead\"],[\"type\",\"radio\",\"formControlName\",\"rebrandingEmp\",\"value\",\"rebrandingEmpAccessWrite\"]],template:function(e,o){if(1&e&&(t.TgZ(0,\"p\"),t._uU(1,\"add-operator-cpms works!\"),t.qZA(),t._UZ(2,\"link\",0),t.YNc(3,Mg,1,0,\"app-loading-screen\",1),t.YNc(4,Am,8,4,\"ng-template\",null,2,t.W1O)),2&e){const a=t.MAs(5);t.xp6(3),t.Q6J(\"ngIf\",o.isLoading)(\"ngIfElse\",a)}},directives:[v.O5,w.g,yt.jt,v.mk,H.oO,l._Y,l.JL,l.sg,_t.KE,_t.hX,Nt.Nt,l.Fj,l.JJ,l.u,l.Q7,ae.Hw,_t.R9,l._,_t.TO],pipes:[U.X$],styles:['*[_ngcontent-%COMP%]{-webkit-user-select:none;user-select:none}th[_ngcontent-%COMP%]{text-align:center}.mat-dialog-container[_ngcontent-%COMP%]{align-self:center;overflow:unset}.padding_32[_ngcontent-%COMP%]{padding-left:32px}.card-body[_ngcontent-%COMP%]{padding-top:0}.grid33[_ngcontent-%COMP%]{display:grid;grid-template-columns:repeat(2,1fr);grid-gap:1em;gap:1em}.grid-double[_ngcontent-%COMP%]{display:grid;grid-template-columns:repeat(2,1fr);grid-template-rows:repeat(2,.5fr);grid-column-gap:0px;grid-row-gap:0px;grid-gap:1em;gap:1em}.buttonDatiUtente[_ngcontent-%COMP%]{right:20px;top:120px}.grid_permCPO[_ngcontent-%COMP%]{display:grid;grid-template-columns:repeat(2,1fr);grid-template-rows:repeat(2,.5fr) repeat(2,.1fr);grid-column-gap:0px;grid-row-gap:0px;grid-gap:1em;gap:1em}.divButtonRewindNextCPO[_ngcontent-%COMP%], .div25[_ngcontent-%COMP%]{align-items:end;display:flex;padding-top:3%;flex-direction:row-reverse}.buttonRewindNextCPO[_ngcontent-%COMP%]{display:inline-flex;flex-direction:row;flex-wrap:wrap;align-content:stretch;justify-content:space-evenly}.next_crea[_ngcontent-%COMP%]{padding-bottom:23%;padding-left:10px}.grid_permEmp[_ngcontent-%COMP%]{display:grid;grid-template-columns:repeat(2,1fr);grid-template-rows:repeat(7,.2fr);grid-column-gap:0px;grid-row-gap:0px;grid-gap:1em;gap:1em}#disable[_ngcontent-%COMP%]{cursor:not-allowed}.multi[_ngcontent-%COMP%]{display:grid;grid-template-columns:repeat(3,1fr);grid-template-rows:repeat(2,1fr);grid-column-gap:0px;grid-row-gap:0px}.nu-table-body[_ngcontent-%COMP%]{overflow-y:auto;max-height:500px}.disabled[_ngcontent-%COMP%]{pointer-events:none;opacity:60%}.container-fluid[_ngcontent-%COMP%]{height:-moz-fit-content;height:fit-content}.select[_ngcontent-%COMP%]{width:40%}.animate__backInRight[_ngcontent-%COMP%]{animation-duration:.5s}.actions[_ngcontent-%COMP%]{padding-top:1em;padding-bottom:1em}.actions2[_ngcontent-%COMP%]{padding-bottom:1em}.header-cell[_ngcontent-%COMP%], td[_ngcontent-%COMP%]{text-align:center;align-items:center;justify-content:center}.mat-form-field[_ngcontent-%COMP%]{font-size:14px;width:100%}.top[_ngcontent-%COMP%]{padding-bottom:2em}.left[_ngcontent-%COMP%]{float:left;font-size:2vw}.btn-toolbar[_ngcontent-%COMP%]{display:inline;flex-wrap:wrap;justify-content:flex-start}.button2[_ngcontent-%COMP%]{flex-direction:row-reverse}.button2[_ngcontent-%COMP%] .arrow[_ngcontent-%COMP%]:before{content:\"\";box-sizing:border-box;position:absolute;border:solid var(--secondary-color);border-width:0 var(--arrow-stroke) var(--arrow-stroke) 0;display:inline-block;top:-3px;right:-5px;transition:.2s;padding:3px;transform:rotate(130deg)}button[_ngcontent-%COMP%]{--primary-color: #009999;--secondary-color: #fff;--hover-color: #99FF66;--arrow-width: 8px;--arrow-stroke: 2px;box-sizing:border-box;border:0;border-radius:20px;color:var(--secondary-color);padding:1em 1.8em;background:var(--primary-color);display:flex;transition:.2s background;align-items:center;grid-gap:.6em;gap:.6em;font-weight:bold}button[_ngcontent-%COMP%] .arrow-wrapper[_ngcontent-%COMP%]{display:flex;justify-content:center;align-items:center}button[_ngcontent-%COMP%] .arrow[_ngcontent-%COMP%]{margin-top:1px;width:var(--arrow-width);background:var(--primary-color);height:var(--arrow-stroke);position:relative;transition:.2s}button[_ngcontent-%COMP%] .arrow[_ngcontent-%COMP%]:before{content:\"\";box-sizing:border-box;position:absolute;border:solid var(--secondary-color);border-width:0 var(--arrow-stroke) var(--arrow-stroke) 0;display:inline-block;top:-3px;right:3px;transition:.2s;padding:3px;transform:rotate(-45deg)}button[_ngcontent-%COMP%]:hover{background-color:var(--hover-color);--secondary-color: black}button[_ngcontent-%COMP%]:hover .arrow[_ngcontent-%COMP%]{background:var(--secondary-color)}button[_ngcontent-%COMP%]:hover .arrow[_ngcontent-%COMP%]:before{right:0}.table[_ngcontent-%COMP%]{border-collapse:collapse;width:100%;margin-top:20px}.table[_ngcontent-%COMP%] th[_ngcontent-%COMP%], .table[_ngcontent-%COMP%] td[_ngcontent-%COMP%]{text-align:center;border-bottom:1px solid #ddd}.table[_ngcontent-%COMP%] th[_ngcontent-%COMP%]{background-color:#f2f2f2;font-weight:bold}.radio-label[_ngcontent-%COMP%]{display:block;position:relative;padding-left:28px;margin-bottom:12px;cursor:pointer}.endCard[_ngcontent-%COMP%]{text-align:end}.switch[_ngcontent-%COMP%]{font-size:17px;position:relative;display:inline-block;width:3.5em;height:2em}.switch[_ngcontent-%COMP%] input[_ngcontent-%COMP%]{opacity:0;width:0;height:0}.slider[_ngcontent-%COMP%]{position:absolute;cursor:pointer;top:0;left:0;right:0;bottom:0;background-color:#ccc;transition:.4s;border-radius:30px}.slider[_ngcontent-%COMP%]:before{position:absolute;content:\"\";height:1.4em;width:1.4em;border-radius:20px;left:.3em;bottom:.3em;background-color:#fff;transition:.4s}input[_ngcontent-%COMP%]:checked + .slider[_ngcontent-%COMP%]{background-color:#00dd50}input[_ngcontent-%COMP%]:focus + .slider[_ngcontent-%COMP%]{box-shadow:0 0 1px #00dd50}input[_ngcontent-%COMP%]:checked + .slider[_ngcontent-%COMP%]:before{transform:translate(1.5em)}@media (min-width: 1090px){.div1[_ngcontent-%COMP%]{grid-area:1/1/3/2}.div2[_ngcontent-%COMP%]{grid-area:1/2/2/3}.div3[_ngcontent-%COMP%]{grid-area:2/2/3/3}.div4[_ngcontent-%COMP%]{grid-area:1/1/3/2}.div5[_ngcontent-%COMP%]{grid-area:1/2/2/3}.div6[_ngcontent-%COMP%]{grid-area:2/2/3/3}.div7[_ngcontent-%COMP%]{grid-area:3/1/4/2}.div8[_ngcontent-%COMP%]{grid-area:3/2/4/3}.div9[_ngcontent-%COMP%]{grid-area:4/1/5/2}.div10[_ngcontent-%COMP%]{grid-area:4/2/5/3}.div11[_ngcontent-%COMP%]{grid-area:1/1/2/2}.div12[_ngcontent-%COMP%]{grid-area:1/2/2/3}.div13[_ngcontent-%COMP%]{grid-area:2/1/3/2}.div14[_ngcontent-%COMP%]{grid-area:2/2/3/3}.div15[_ngcontent-%COMP%]{grid-area:3/1/4/2}.div16[_ngcontent-%COMP%]{grid-area:3/2/4/3}.div17[_ngcontent-%COMP%]{grid-area:4/1/5/2}.div18[_ngcontent-%COMP%]{grid-area:4/2/5/3}.div19[_ngcontent-%COMP%]{grid-area:5/1/6/2}.div20[_ngcontent-%COMP%]{grid-area:5/2/6/3}.div21[_ngcontent-%COMP%]{grid-area:6/1/7/2}.div22[_ngcontent-%COMP%]{grid-area:6/2/7/3}.div23[_ngcontent-%COMP%]{grid-area:7/1/8/2}.div24[_ngcontent-%COMP%]{grid-area:7/2/8/3}}@media (max-width: 1090px){.grid-double[_ngcontent-%COMP%]{display:grid;grid-template-columns:100%}.grid33[_ngcontent-%COMP%]{display:grid;grid-template-columns:1fr;grid-gap:1em;gap:1em}.grid_permEmp[_ngcontent-%COMP%]{display:grid;grid-template-columns:100%}.grid_permCPO[_ngcontent-%COMP%]{display:grid;grid-template-columns:100%}.buttonDatiUtente[_ngcontent-%COMP%]{position:initial;right:20px;top:120px}.divButtonRewindNextCPO[_ngcontent-%COMP%]{align-items:end;display:flex;justify-content:space-around}.card-body[_ngcontent-%COMP%]{padding-top:0;overflow-wrap:anywhere}}input[type=color][_ngcontent-%COMP%], input[type=date][_ngcontent-%COMP%], input[type=datetime][_ngcontent-%COMP%], input[type=datetime-local][_ngcontent-%COMP%], input[type=email][_ngcontent-%COMP%], input[type=month][_ngcontent-%COMP%], input[type=number][_ngcontent-%COMP%], input[type=password][_ngcontent-%COMP%], input[type=search][_ngcontent-%COMP%], input[type=tel][_ngcontent-%COMP%], input[type=text][_ngcontent-%COMP%], input[type=time][_ngcontent-%COMP%], input[type=url][_ngcontent-%COMP%], input[type=week][_ngcontent-%COMP%], select[_ngcontent-%COMP%]:focus, textarea[_ngcontent-%COMP%]{font-size:16px}']}),n})();var wt=c(11494),Tm=c(16738),Pm=c(12736),Rt=c(12178),Ft=c(21816);function Om(n,s){1&n&&t._UZ(0,\"app-loading-screen\")}function ym(n,s){if(1&n&&(t.TgZ(0,\"mat-option\",33),t.TgZ(1,\"span\"),t._uU(2),t.qZA(),t.qZA()),2&n){const e=s.$implicit;t.Q6J(\"value\",e),t.xp6(2),t.Oqu(e.name)}}function qm(n,s){1&n&&(t.TgZ(0,\"th\",34),t._uU(1),t.ALo(2,\"translate\"),t.qZA()),2&n&&(t.xp6(1),t.hij(\" \",t.lcZ(2,1,\"evento\"),\" \"))}function Mm(n,s){if(1&n&&(t.TgZ(0,\"td\",35),t._uU(1),t.qZA()),2&n){const e=s.$implicit;t.xp6(1),t.hij(\" \",e.name,\" \")}}function wm(n,s){1&n&&(t.TgZ(0,\"th\",36),t._uU(1),t.ALo(2,\"translate\"),t.qZA()),2&n&&(t.xp6(1),t.hij(\" \",t.lcZ(2,1,\"azioni\"),\" \"))}function Em(n,s){if(1&n){const e=t.EpF();t.TgZ(0,\"td\",35),t.TgZ(1,\"button\",37),t.NdJ(\"click\",function(){const d=t.CHM(e).$implicit;return t.oxw(2).removeEv(d)}),t._UZ(2,\"i\",38),t._uU(3,\"\\xa0 \"),t.TgZ(4,\"span\",32),t._uU(5),t.ALo(6,\"translate\"),t.qZA(),t.qZA(),t.qZA()}2&n&&(t.xp6(5),t.Oqu(t.lcZ(6,1,\"rimuovi\")))}function km(n,s){1&n&&t._UZ(0,\"tr\",39)}function Um(n,s){1&n&&t._UZ(0,\"tr\",40)}function Im(n,s){if(1&n){const e=t.EpF();t.TgZ(0,\"div\"),t.TgZ(1,\"div\",2),t._UZ(2,\"mat-progress-bar\",3),t.qZA(),t.TgZ(3,\"div\",4),t.TgZ(4,\"div\"),t.TgZ(5,\"div\",5),t.TgZ(6,\"a\"),t._uU(7),t.ALo(8,\"translate\"),t.qZA(),t.qZA(),t.qZA(),t.TgZ(9,\"div\",6),t._UZ(10,\"img\",7),t._UZ(11,\"br\"),t.qZA(),t.TgZ(12,\"div\",8),t.TgZ(13,\"button\",9),t.NdJ(\"click\",function(){return t.CHM(e),t.oxw().closeDialog()}),t.O4$(),t.TgZ(14,\"svg\",10),t._UZ(15,\"g\",11),t._UZ(16,\"g\",12),t.TgZ(17,\"g\",13),t._UZ(18,\"path\",14),t._UZ(19,\"path\",15),t._UZ(20,\"path\",16),t.qZA(),t.qZA(),t.qZA(),t.qZA(),t.qZA(),t.kcU(),t.TgZ(21,\"div\",17),t.TgZ(22,\"div\",18),t.TgZ(23,\"mat-form-field\",19),t.TgZ(24,\"mat-label\"),t._uU(25),t.ALo(26,\"translate\"),t.qZA(),t.TgZ(27,\"mat-select\",20),t.NdJ(\"ngModelChange\",function(){t.CHM(e);const a=t.oxw();return a.selectedEv(a.chosenEvent.value)}),t.YNc(28,ym,3,2,\"mat-option\",21),t.qZA(),t.qZA(),t.qZA(),t.TgZ(29,\"div\",22),t.TgZ(30,\"table\",23),t.ynx(31,24),t.YNc(32,qm,3,3,\"th\",25),t.YNc(33,Mm,2,1,\"td\",26),t.BQk(),t.ynx(34,27),t.YNc(35,wm,3,3,\"th\",28),t.YNc(36,Em,7,3,\"td\",26),t.BQk(),t.YNc(37,km,1,0,\"tr\",29),t.YNc(38,Um,1,0,\"tr\",30),t.qZA(),t.qZA(),t.qZA(),t.TgZ(39,\"div\",6),t.TgZ(40,\"button\",31),t.NdJ(\"click\",function(){return t.CHM(e),t.oxw().subscribeEvent()}),t.TgZ(41,\"span\",32),t._uU(42),t.ALo(43,\"translate\"),t.qZA(),t.qZA(),t.qZA(),t.qZA()}if(2&n){const e=t.oxw();t.xp6(2),t.Q6J(\"color\",\"primary\")(\"mode\",\"determinate\")(\"value\",100)(\"bufferValue\",30),t.xp6(5),t.Oqu(t.lcZ(8,13,\"ins_eventi\")),t.xp6(18),t.Oqu(t.lcZ(26,15,\"ins_nuovo_evento\")),t.xp6(2),t.Q6J(\"formControl\",e.chosenEvent)(\"matAutocomplete\",e.ev),t.xp6(1),t.Q6J(\"ngForOf\",e.listEl),t.xp6(2),t.Q6J(\"dataSource\",e.source),t.xp6(7),t.Q6J(\"matHeaderRowDef\",e.displayedColumns),t.xp6(1),t.Q6J(\"matRowDefColumns\",e.displayedColumns),t.xp6(4),t.Oqu(t.lcZ(43,17,\"conferma\"))}}let Nm=(()=>{class n{constructor(e,o,a,d,h){this.dialogRef=e,this.cpoService=o,this.input=a,this.translate=d,this.notifyService=h,this.source=new M.by,this.isLoading=!0,this.displayedColumns=[\"event\",\"elimina\"],this.whitelabelInfo=JSON.parse(b().get(\"whitelabelInfo\",{decrypt:!0})),this.chosenEvent=new l.NI(\"\"),this.listEl=[],this.eventsForm=new l.cw({rfidRequest:new l.NI(!1),supportRequest:new l.NI(!1),feedback:new l.NI(!1),cpFaulted:new l.NI(!1),cpDosconnected:new l.NI(!1),cpStart:new l.NI(!1),cpStop:new l.NI(!1),sdlmIssue:new l.NI(!1),dataplaneIssue:new l.NI(!1),controlplaneIssue:new l.NI(!1),requiresAction:new l.NI(!1),uncaptured:new l.NI(!1),paymentIssue:new l.NI(!1),oicpIssue:new l.NI(!1)})}ngOnInit(){return(0,C.mG)(this,void 0,void 0,function*(){this.isLoading=!0,this.get(),this.eventsList(),console.log(\"lunghezza: \"+this.source.data.length),this.isLoading=!1})}isEventPresent(e){if(null==this.source.data)return!0;if(this.source.data.length>=1)for(let o of this.source.data)if(e==o)return!0;return!1}eventsList(){return(0,C.mG)(this,void 0,void 0,function*(){this.list=yield this.cpoService.getListEvents().toPromise(),console.log(this.list),this.list.events.forEach(e=>{console.log(e),this.listEl.push(e)}),console.log(this.listEl)})}selectedEv(e){return(0,C.mG)(this,void 0,void 0,function*(){this.source.data.filter(o=>o.name===e.name).length>0?this.notifyService.showWarning(this.translate.instant(\"att_ev\")+e.name+this.translate.instant(\"gia_lis\"),this.translate.instant(\"att\")):(this.source.data.push(e),this.notifyService.showSuccess(this.translate.instant(\"evento\")+e.name+this.translate.instant(\"aggiunto\"),this.translate.instant(\"ok\")),this.source.data=this.source.data)})}closeDialog(){this.dialogRef.close(!1)}removeEv(e){this.source.data=this.source.data.filter(o=>o!=e),this.source.data=this.source.data}subscribeEvent(){console.log(\"lista: \"+this.source.data);let e=this.source.data.map(o=>o.value);this.cpoService.subscribe(this.input.utente.idCpo,this.input.utente.email,e).toPromise().then(o=>{console.log(o),this.notifyService.showSuccess(this.translate.instant(\"ev_imp\"),this.translate.instant(\"ok\")),this.dialogRef.close()})}get(){try{this.cpoService.getEvents(this.input.utente.idCpo,this.input.utente.email).toPromise().then(e=>{if(console.log(e),null!=e){for(let o of e)this.source.data.push(o),console.log(o);this.source.data=this.source.data,console.log(this.source.data)}})}catch(e){this.notifyService.showError(this.translate.instant(\"semplice_err\"),this.translate.instant(\"errore\")),console.error(e.message)}}}return n.\\u0275fac=function(e){return new(e||n)(t.Y36(O.so),t.Y36(ut.j),t.Y36(O.WI),t.Y36(U.sK),t.Y36(K.m))},n.\\u0275cmp=t.Xpm({type:n,selectors:[[\"app-events-management\"]],decls:3,vars:2,consts:[[4,\"ngIf\",\"ngIfElse\"],[\"main\",\"\"],[2,\"padding\",\"1em\"],[3,\"color\",\"mode\",\"value\",\"bufferValue\"],[2,\"display\",\"grid\",\"grid-template-columns\",\"33% 33% 33%\"],[2,\"padding\",\"1em\",\"font-size\",\"2em\",\"font-weight\",\"200\",\"color\",\"#1b00b1a1\"],[2,\"text-align\",\"center\"],[\"src\",\"https://cdn0.iconfinder.com/data/icons/interface-set-vol-2/50/Calendar_Agenda_Upcoming_Events_Communication_UI_UX-512.png\",\"height\",\"100\"],[2,\"justify-self\",\"flex-end\"],[1,\"buttonX\",3,\"click\"],[\"width\",\"45px\",\"height\",\"45px\",\"viewBox\",\"0 0 24 24\",\"fill\",\"none\",\"xmlns\",\"http://www.w3.org/2000/svg\"],[\"id\",\"SVGRepo_bgCarrier\",\"stroke-width\",\"0\"],[\"id\",\"SVGRepo_tracerCarrier\",\"stroke-linecap\",\"round\",\"stroke-linejoin\",\"round\",\"stroke\",\"#CCCCCC\",\"stroke-width\",\"0.9120000000000001\"],[\"id\",\"SVGRepo_iconCarrier\"],[\"d\",\"M9.16998 14.83L14.83 9.17004\",\"stroke\",\"#ff0000\",\"stroke-width\",\"1.5\",\"stroke-linecap\",\"round\",\"stroke-linejoin\",\"round\"],[\"d\",\"M14.83 14.83L9.16998 9.17004\",\"stroke\",\"#ff0000\",\"stroke-width\",\"1.5\",\"stroke-linecap\",\"round\",\"stroke-linejoin\",\"round\"],[\"d\",\"M9 22H15C20 22 22 20 22 15V9C22 4 20 2 15 2H9C4 2 2 4 2 9V15C2 20 4 22 9 22Z\",\"stroke\",\"#ff0000\",\"stroke-width\",\"1.5\",\"stroke-linecap\",\"round\",\"stroke-linejoin\",\"round\"],[1,\"center\",2,\"padding-top\",\"1em\",\"width\",\"100%\",\"display\",\"block\",\"margin-left\",\"auto\",\"margin-right\",\"auto\"],[1,\"center\"],[\"appearance\",\"outline\",1,\"w35\"],[\"matInput\",\"\",\"aria-label\",\"Evento\",3,\"formControl\",\"matAutocomplete\",\"ngModelChange\"],[3,\"value\",4,\"ngFor\",\"ngForOf\"],[2,\"background-color\",\"rgb(248, 248, 248)\"],[\"matTableResponsive\",\"\",\"mat-table\",\"\",3,\"dataSource\"],[\"matColumnDef\",\"event\"],[\"mat-header-cell\",\"\",\"style\",\"text-align: center\",4,\"matHeaderCellDef\"],[\"mat-cell\",\"\",4,\"matCellDef\"],[\"matColumnDef\",\"elimina\"],[\"mat-header-cell\",\"\",\"style\",\"text-align: center\",\"translate\",\"\",4,\"matHeaderCellDef\"],[\"mat-header-row\",\"\",4,\"matHeaderRowDef\"],[\"mat-row\",\"\",4,\"matRowDef\",\"matRowDefColumns\"],[\"mat-raised-button\",\"\",\"color\",\"primary\",2,\"background-color\",\"#99FF66\",\"color\",\"black\",\"margin-top\",\"2%\",3,\"click\"],[\"translate\",\"\"],[3,\"value\"],[\"mat-header-cell\",\"\",2,\"text-align\",\"center\"],[\"mat-cell\",\"\"],[\"mat-header-cell\",\"\",\"translate\",\"\",2,\"text-align\",\"center\"],[\"mat-stroked-button\",\"\",\"color\",\"warn\",1,\"btn-red\",3,\"click\"],[1,\"fas\",\"fa-trash\"],[\"mat-header-row\",\"\"],[\"mat-row\",\"\"]],template:function(e,o){if(1&e&&(t.YNc(0,Om,1,0,\"app-loading-screen\",0),t.YNc(1,Im,44,19,\"ng-template\",null,1,t.W1O)),2&e){const a=t.MAs(2);t.Q6J(\"ngIf\",o.isLoading)(\"ngIfElse\",a)}},directives:[v.O5,w.g,Rt.pW,_t.KE,_t.hX,W.gD,l.JJ,l.oH,v.sg,M.BZ,Ft.F,M.w1,M.fO,M.Dz,M.as,M.nj,z.lW,U.Pi,zt.ey,M.ge,M.ev,M.XQ,M.Gk],pipes:[U.X$],styles:[\"button[_ngcontent-%COMP%]:focus{outline:none!important;box-shadow:none!important;background-color:transparent!important}.content[_ngcontent-%COMP%]{width:70rem;height:40rem}.center[_ngcontent-%COMP%], td[_ngcontent-%COMP%], th[_ngcontent-%COMP%], .header-cell[_ngcontent-%COMP%]{text-align:center;align-items:center;justify-content:center}table[_ngcontent-%COMP%]{width:100%}.click[_ngcontent-%COMP%]{cursor:pointer}.gridCont[_ngcontent-%COMP%]{display:grid;grid-template-columns:50% 50%}@media (max-width: 1090px){.table[_ngcontent-%COMP%] thead[_ngcontent-%COMP%]{display:none}.table[_ngcontent-%COMP%], .table[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%], .table[_ngcontent-%COMP%] tr[_ngcontent-%COMP%], .table[_ngcontent-%COMP%] td[_ngcontent-%COMP%]{display:block;width:100%}.table[_ngcontent-%COMP%] tr[_ngcontent-%COMP%]{margin-bottom:15px}.table[_ngcontent-%COMP%] td[_ngcontent-%COMP%]{padding-left:50%;text-align:right;position:relative}.table[_ngcontent-%COMP%] td[_ngcontent-%COMP%]:before{content:attr(data-label);position:absolute;left:0;width:50%;padding-left:15px;font-size:15px;font-weight:bold;text-align:left}.mat-table[matTableResponsive][_ngcontent-%COMP%] .mat-header-row[_ngcontent-%COMP%]{display:block;flex-wrap:wrap;height:auto;position:sticky;top:0;z-index:2}.mat-table[matTableResponsive][_ngcontent-%COMP%] .mat-header-row[_ngcontent-%COMP%] th.mat-header-cell[_ngcontent-%COMP%]{display:flex;flex:1;align-items:center;padding:1rem .5rem;justify-content:left}.mat-table[matTableResponsive][_ngcontent-%COMP%] .mat-header-row[_ngcontent-%COMP%] th.mat-header-cell[_ngcontent-%COMP%] > .mat-sort-header-container[_ngcontent-%COMP%]{padding-left:15px}.mat-table[matTableResponsive][_ngcontent-%COMP%] .mat-header-row[_ngcontent-%COMP%] th.mat-header-cell[_ngcontent-%COMP%]:not([mat-sort-header]), .mat-table[matTableResponsive][_ngcontent-%COMP%] .mat-header-row[_ngcontent-%COMP%] th.mat-header-cell.mat-sort-header-disabled[_ngcontent-%COMP%], .mat-table[matTableResponsive][_ngcontent-%COMP%] .mat-header-row[_ngcontent-%COMP%] th.mat-header-cell.mat-column-actions[_ngcontent-%COMP%]{display:none}.mat-table[matTableResponsive][_ngcontent-%COMP%] .mat-row[_ngcontent-%COMP%]{height:auto}.mat-table[matTableResponsive][_ngcontent-%COMP%] .mat-row[_ngcontent-%COMP%] td.mat-cell[_ngcontent-%COMP%]:not(.mat-column-actions){display:grid;grid-template-columns:50% 50%;padding:.5rem;text-align:right;word-break:break-word}.mat-table[matTableResponsive][_ngcontent-%COMP%] .mat-row[_ngcontent-%COMP%] td.mat-cell[_ngcontent-%COMP%]:not(.mat-column-actions) > *[_ngcontent-%COMP%]{grid-column:2}.mat-table[matTableResponsive][_ngcontent-%COMP%] .mat-row[_ngcontent-%COMP%] td.mat-cell[_ngcontent-%COMP%]:not(.mat-column-actions):before{content:attr(data-column-name);text-align:left}.mat-table[matTableResponsive][_ngcontent-%COMP%] .mat-row[_ngcontent-%COMP%] td.mat-column-actions[_ngcontent-%COMP%]{display:flex;justify-content:center;padding:0 .5rem}.mat-table[matTableResponsive][_ngcontent-%COMP%] .mat-row[_ngcontent-%COMP%] td.mat-column-actions[_ngcontent-%COMP%] > button[_ngcontent-%COMP%]{margin:.5rem 0}.mat-table[matTableResponsive][_ngcontent-%COMP%] .mat-row[_ngcontent-%COMP%]:last-of-type td[_ngcontent-%COMP%]:last-of-type{border:none}.mat-table[matTableResponsive][_ngcontent-%COMP%] .mat-row[_ngcontent-%COMP%]:not(:last-of-type) td[_ngcontent-%COMP%]:last-of-type{border-bottom:.5rem solid #fafafa}.mat-card[_ngcontent-%COMP%] .mat-table[matTableResponsive][_ngcontent-%COMP%], .mat-expansion-panel[_ngcontent-%COMP%] .mat-table[matTableResponsive][_ngcontent-%COMP%]{border:.5rem solid #fafafa}img[_ngcontent-%COMP%]{width:0em;height:0em}.px[_ngcontent-%COMP%]{height:200px;width:200px}.grid[_ngcontent-%COMP%]{display:grid;width:100%;grid-template-columns:100%}.w70[_ngcontent-%COMP%]{width:95%}.w35[_ngcontent-%COMP%]{width:95%}}@media (min-width: 1090px){.grid[_ngcontent-%COMP%]{display:grid;width:100%;grid-template-columns:50% 50%}.grid33[_ngcontent-%COMP%]{display:grid;width:100%;grid-template-columns:33% 33% 33%}.grid25[_ngcontent-%COMP%]{display:grid;width:100%;grid-template-columns:25% 25% 25% 25%}.grid20[_ngcontent-%COMP%]{display:grid;width:100%;grid-template-columns:20% 20% 20% 20% 20%}.w70[_ngcontent-%COMP%]{width:70%}.w35[_ngcontent-%COMP%]{width:35%}table[_ngcontent-%COMP%]{table-layout:fixed;width:100%;border-collapse:separate;border-spacing:0 2px}.px[_ngcontent-%COMP%]{height:320px;width:320px}}\"]}),n})();var le=c(80574),Gt=c(40845),Jt=c(25787);function Sm(n,s){if(1&n){const e=t.EpF();t.TgZ(0,\"button\",31),t.NdJ(\"click\",function(){return t.CHM(e),t.oxw().createCpoUser()}),t.ALo(1,\"translate\"),t.qZA()}2&n&&t.s9C(\"label\",t.lcZ(1,1,\"add_cpouser\"))}function Lm(n,s){1&n&&(t.TgZ(0,\"div\",32),t._UZ(1,\"app-loading-screen\"),t.qZA())}function Dm(n,s){1&n&&(t.TgZ(0,\"th\",33),t._uU(1),t.ALo(2,\"translate\"),t.qZA()),2&n&&(t.xp6(1),t.hij(\" \",t.lcZ(2,1,\"nome\"),\" \"))}function Rm(n,s){if(1&n&&(t.TgZ(0,\"td\",34),t._uU(1),t.qZA()),2&n){const e=s.$implicit;t.xp6(1),t.hij(\" \",e.name,\" \")}}function Fm(n,s){1&n&&(t.TgZ(0,\"th\",33),t._uU(1),t.ALo(2,\"translate\"),t.qZA()),2&n&&(t.xp6(1),t.hij(\" \",t.lcZ(2,1,\"cognome\"),\" \"))}function Gm(n,s){if(1&n&&(t.TgZ(0,\"td\",34),t._uU(1),t.qZA()),2&n){const e=s.$implicit;t.xp6(1),t.hij(\" \",e.surname,\" \")}}function Jm(n,s){1&n&&(t.TgZ(0,\"th\",35),t._uU(1),t.ALo(2,\"translate\"),t.qZA()),2&n&&(t.xp6(1),t.hij(\" \",t.lcZ(2,1,\"email\"),\" \"))}function Bm(n,s){if(1&n&&(t.TgZ(0,\"td\",34),t._uU(1),t.qZA()),2&n){const e=s.$implicit;t.xp6(1),t.hij(\" \",e.email,\" \")}}function Qm(n,s){1&n&&(t.TgZ(0,\"th\",35),t._uU(1),t.ALo(2,\"translate\"),t.qZA()),2&n&&(t.xp6(1),t.hij(\" \",t.lcZ(2,1,\"username\"),\" \"))}function zm(n,s){if(1&n&&(t.TgZ(0,\"td\",34),t._uU(1),t.qZA()),2&n){const e=s.$implicit;t.xp6(1),t.hij(\" \",e.username,\" \")}}function $m(n,s){1&n&&(t.TgZ(0,\"th\",33),t._uU(1),t.ALo(2,\"translate\"),t.qZA()),2&n&&(t.xp6(1),t.hij(\" \",t.lcZ(2,1,\"id_utente\"),\" \"))}function Ym(n,s){if(1&n&&(t.TgZ(0,\"td\",34),t._uU(1),t.qZA()),2&n){const e=s.$implicit;t.xp6(1),t.hij(\" \",e.id,\" \")}}function Vm(n,s){1&n&&(t.TgZ(0,\"th\",36),t._uU(1),t.ALo(2,\"translate\"),t.qZA()),2&n&&(t.xp6(1),t.hij(\" \",t.lcZ(2,1,\"azioni\"),\" \"))}function jm(n,s){if(1&n){const e=t.EpF();t.TgZ(0,\"button\",42),t.NdJ(\"click\",function(){t.CHM(e);const a=t.oxw().$implicit;return t.oxw().updateCpoUser(a)}),t.ALo(1,\"translate\"),t.qZA()}2&n&&t.s9C(\"pTooltip\",t.lcZ(1,1,\"modifica\"))}function Wm(n,s){if(1&n){const e=t.EpF();t.TgZ(0,\"button\",43),t.NdJ(\"click\",function(){t.CHM(e);const a=t.oxw().$implicit;return t.oxw().confirmDialog(a)}),t.ALo(1,\"translate\"),t.qZA()}2&n&&t.s9C(\"pTooltip\",t.lcZ(1,1,\"elimina\"))}function Hm(n,s){if(1&n&&(t.TgZ(0,\"td\",34),t.TgZ(1,\"div\",37),t.TgZ(2,\"div\",38),t.TgZ(3,\"div\",39),t.YNc(4,jm,2,3,\"button\",40),t.YNc(5,Wm,2,3,\"button\",41),t.qZA(),t.qZA(),t.qZA(),t.qZA()),2&n){const e=s.$implicit,o=t.oxw();t.xp6(4),t.Q6J(\"ngIf\",!o.viewPermission(e)),t.xp6(1),t.Q6J(\"ngIf\",!o.viewPermission(e))}}function Km(n,s){1&n&&t._UZ(0,\"tr\",44)}function Xm(n,s){1&n&&t._UZ(0,\"tr\",45)}const tu=function(){return[5,10,25,50,100]};let Uc=(()=>{class n{constructor(e,o,a,d,h,E){this.cpoService=e,this.dialog=o,this.authService=a,this.translate=d,this.router=h,this.notifyService=E,this.isLoading=!1,this.userListEmail=[],this.userList=[],this.date=new Date,this.dataSource=new M.by,this.displayedColumns=[\"name\",\"surname\",\"email\",\"username\",\"id\",\"actions\"],this.displayedColumnsAccess=[\"name\",\"surname\",\"email\",\"username\",\"id\"]}applyFilter(e){this.dataSource.filter=e.target.value.trim().toLowerCase(),this.dataSource.paginator&&this.dataSource.paginator.firstPage()}ngOnInit(){return(0,C.mG)(this,void 0,void 0,function*(){yield this.refresh()})}refresh(){return(0,C.mG)(this,void 0,void 0,function*(){this.isLoading=!0,this.dataSource.data=yield this.cpoService.getAllAssociatedUsers().toPromise(),this.dataSource.paginator=this.paginator,this.dataSource.sortingDataAccessor=(e,o)=>{switch(o){case\"ocppIdTag\":return e.ocppTag?e.ocppTag.ocppIdTag:\"\";case\"inTransaction\":return e.ocppTag?e.ocppTag.inTransaction:\"\";default:return e[o]}},this.dataSource.sort=this.sort,this.isLoading=!1,console.log(yield this.cpoService.getAllAssociatedUsers().toPromise())})}downloadCSV(){return(0,C.mG)(this,void 0,void 0,function*(){let e=[];return e=this.dataSource.data.map(o=>({Nome:o.name,Cognome:o.surname,\"E-mail\":o.email,Username:o.username,\"ID Utente\":o.id,\"OCPP ID Tag\":o.ocppTag?o.ocppTag.ocppIdTag:\"\",Marketing:o.authorizeMarketing?\"Si\":\"No\",Privacy:o.hasAuthorizedPrivacy?\"Si\":\"No\",Tester:o.isBeagleTester?\"Si\":\"No\"})),Pm.A.exportToCsv(\"BeaglePlugUserList_\"+Tm(this.date).format(\"DD-MM-YYYY\")+\"_.csv\",e)})}createCpoUser(){this.router.navigate([\"management/add-operator\"],{state:{update:!1,userRegistrationCpo:{}}})}createCpmsOperator(){this.router.navigate([\"management/add-operator-cpms\"],{state:{update:!1,userRegistrationCpo:{}}})}updateCpoUser(e){console.log(e),this.router.navigate([\"management/add-operator\"],{state:{update:!0,userRegistrationCpo:e}})}eventsManagement(e){this.dialog.open(Nm,{maxHeight:\"100vh\",width:\"65vw\",disableClose:!0,data:{update:!0,utente:e}}).afterClosed().subscribe(a=>{a&&this.notifyService.showSuccess(this.translate.instant(\"ev_mod\"),this.translate.instant(\"ok\")),this.refresh()})}confirmDialog(e){const o=this.translate.instant(\"del_user\"),a=new ht.f(this.translate.instant(\"conf_az\"),o);this.dialog.open(ht.z,{maxWidth:\"400px\",data:a}).afterClosed().subscribe(h=>{h&&this.cpoService.deleteAssUsers(e.id).toPromise().then(()=>{this.refresh()})})}permission(){var e;return null===(e=this.authService.user)||void 0===e?void 0:e.permissions}viewPermission(e){if(e.email===b().get(\"email\",{decrypt:!0}))return!0}excel(){let e=[];e=this.dataSource.data.map(h=>({Nome:h.name,Cognome:h.surname,\"E-mail\":h.email,Username:h.username,\"ID Utente\":h.id,\"OCPP ID Tag\":h.ocppTag?h.ocppTag.ocppIdTag:\"\",Marketing:h.authorizeMarketing?\"Si\":\"No\",Privacy:h.hasAuthorizedPrivacy?\"Si\":\"No\",Tester:h.isBeagleTester?\"Si\":\"No\"}));const a=le.utils.json_to_sheet(e),d=le.utils.book_new();le.utils.book_append_sheet(d,a,\"Lista Utenti Associati\"),le.writeFile(d,\"Lista Utenti Associati.xlsx\")}getDisplay(){var e;return(null===(e=this.permission())||void 0===e?void 0:e.includes(\"operatorAccessWrite\"))?this.displayedColumns:this.displayedColumnsAccess}isAdmin(){return\"ADMIN\"===b().get(\"userRole\",{decrypt:!0})}}return n.\\u0275fac=function(e){return new(e||n)(t.Y36(ut.j),t.Y36(O.uw),t.Y36(F.e),t.Y36(U.sK),t.Y36(N.F0),t.Y36(K.m))},n.\\u0275cmp=t.Xpm({type:n,selectors:[[\"app-operator\"]],viewQuery:function(e,o){if(1&e&&(t.Gf(X.NW,5),t.Gf(wt.YE,5)),2&e){let a;t.iGM(a=t.CRH())&&(o.paginator=a.first),t.iGM(a=t.CRH())&&(o.sort=a.first)}},decls:45,vars:12,consts:[[1,\"default-mt-btn\",\"default-mt-table\",\"default-mt-select\",\"default-autocomplete\",\"default-mt-spinner\"],[2,\"padding\",\"20px\"],[1,\"float\"],[\"icon\",\"fas fa-plus\",\"style\",\"font-family: 'Baloo 2',serif; font-size: 16px; background-color: white; border-color: #1ab394; color: #1ab394\",\"type\",\"button\",\"pButton\",\"\",\"pRipple\",\"\",\"class\",\"mr-2\",3,\"label\",\"click\",4,\"ngIf\"],[1,\"row\"],[1,\"col-xl-12\",\"col-xxl-12\"],[1,\"card\"],[1,\"card-body\"],[1,\"col-sm-5\"],[1,\"group\"],[\"aria-hidden\",\"true\",\"viewBox\",\"0 0 24 24\",1,\"icon-Search\"],[\"d\",\"M21.53 20.47l-3.66-3.66C19.195 15.24 20 13.214 20 11c0-4.97-4.03-9-9-9s-9 4.03-9 9 4.03 9 9 9c2.215 0 4.24-.804 5.808-2.13l3.66 3.66c.147.146.34.22.53.22s.385-.073.53-.22c.295-.293.295-.767.002-1.06zM3.5 11c0-4.135 3.365-7.5 7.5-7.5s7.5 3.365 7.5 7.5-3.365 7.5-7.5 7.5-7.5-3.365-7.5-7.5z\"],[\"type\",\"search\",1,\"input\",3,\"placeholder\",\"keyup\"],[\"input\",\"\"],[1,\"mat-elevation-z8\",\"table-responsive\"],[\"class\",\"loading\",4,\"ngIf\"],[\"matTableResponsive\",\"\",\"mat-table\",\"\",\"matSort\",\"\",3,\"hidden\",\"dataSource\"],[\"matColumnDef\",\"name\"],[\"mat-header-cell\",\"\",\"class\",\"header-cell\",\"mat-sort-header\",\"\",\"translate\",\"\",4,\"matHeaderCellDef\"],[\"mat-cell\",\"\",4,\"matCellDef\"],[\"matColumnDef\",\"surname\"],[\"matColumnDef\",\"email\"],[\"mat-header-cell\",\"\",\"mat-sort-header\",\"\",\"class\",\"header-cell\",4,\"matHeaderCellDef\"],[\"matColumnDef\",\"username\"],[\"matColumnDef\",\"id\"],[\"matColumnDef\",\"actions\"],[\"mat-header-cell\",\"\",\"class\",\"header-cell\",4,\"matHeaderCellDef\"],[\"mat-header-row\",\"\",4,\"matHeaderRowDef\"],[\"mat-row\",\"\",4,\"matRowDef\",\"matRowDefColumns\"],[\"showFirstLastButtons\",\"\",3,\"pageSizeOptions\",\"pageSize\"],[1,\"header-cell\",\"top\"],[\"icon\",\"fas fa-plus\",\"type\",\"button\",\"pButton\",\"\",\"pRipple\",\"\",1,\"mr-2\",2,\"font-family\",\"'Baloo 2',serif\",\"font-size\",\"16px\",\"background-color\",\"white\",\"border-color\",\"#1ab394\",\"color\",\"#1ab394\",3,\"label\",\"click\"],[1,\"loading\"],[\"mat-header-cell\",\"\",\"mat-sort-header\",\"\",\"translate\",\"\",1,\"header-cell\"],[\"mat-cell\",\"\"],[\"mat-header-cell\",\"\",\"mat-sort-header\",\"\",1,\"header-cell\"],[\"mat-header-cell\",\"\",1,\"header-cell\"],[1,\"actions\"],[1,\"btn-toolbar\"],[1,\"btn-group\"],[\"style\",\"background-color: white; border-color: #1C84C6; color:#1C84C6\",\"type\",\"button\",\"pButton\",\"\",\"pRipple\",\"\",\"icon\",\"fas fa-pen\",\"class\",\"mr-2\",\"tooltipPosition\",\"bottom\",3,\"pTooltip\",\"click\",4,\"ngIf\"],[\"style\",\"background-color: white; border-color: red; color:red\",\"type\",\"button\",\"pButton\",\"\",\"pRipple\",\"\",\"icon\",\"fas fa-trash\",\"class\",\"mr-2\",\"tooltipPosition\",\"bottom\",3,\"pTooltip\",\"click\",4,\"ngIf\"],[\"type\",\"button\",\"pButton\",\"\",\"pRipple\",\"\",\"icon\",\"fas fa-pen\",\"tooltipPosition\",\"bottom\",1,\"mr-2\",2,\"background-color\",\"white\",\"border-color\",\"#1C84C6\",\"color\",\"#1C84C6\",3,\"pTooltip\",\"click\"],[\"type\",\"button\",\"pButton\",\"\",\"pRipple\",\"\",\"icon\",\"fas fa-trash\",\"tooltipPosition\",\"bottom\",1,\"mr-2\",2,\"background-color\",\"white\",\"border-color\",\"red\",\"color\",\"red\",3,\"pTooltip\",\"click\"],[\"mat-header-row\",\"\"],[\"mat-row\",\"\"]],template:function(e,o){if(1&e&&(t.TgZ(0,\"div\"),t.TgZ(1,\"div\",0),t.TgZ(2,\"div\",1),t.TgZ(3,\"div\",2),t.YNc(4,Sm,2,3,\"button\",3),t.qZA(),t.qZA(),t._uU(5,\"\\xa0 \"),t.TgZ(6,\"div\",1),t.TgZ(7,\"div\",4),t.TgZ(8,\"div\",5),t.TgZ(9,\"div\",6),t.TgZ(10,\"div\",7),t.TgZ(11,\"div\",4),t.TgZ(12,\"div\",8),t.TgZ(13,\"div\",9),t.O4$(),t.TgZ(14,\"svg\",10),t.TgZ(15,\"g\"),t._UZ(16,\"path\",11),t.qZA(),t.qZA(),t.kcU(),t.TgZ(17,\"input\",12,13),t.NdJ(\"keyup\",function(d){return o.applyFilter(d)}),t.ALo(19,\"translate\"),t.qZA(),t.qZA(),t.qZA(),t.qZA(),t.TgZ(20,\"div\",14),t.YNc(21,Lm,2,0,\"div\",15),t.TgZ(22,\"table\",16),t.ynx(23,17),t.YNc(24,Dm,3,3,\"th\",18),t.YNc(25,Rm,2,1,\"td\",19),t.BQk(),t.ynx(26,20),t.YNc(27,Fm,3,3,\"th\",18),t.YNc(28,Gm,2,1,\"td\",19),t.BQk(),t.ynx(29,21),t.YNc(30,Jm,3,3,\"th\",22),t.YNc(31,Bm,2,1,\"td\",19),t.BQk(),t.ynx(32,23),t.YNc(33,Qm,3,3,\"th\",22),t.YNc(34,zm,2,1,\"td\",19),t.BQk(),t.ynx(35,24),t.YNc(36,$m,3,3,\"th\",18),t.YNc(37,Ym,2,1,\"td\",19),t.BQk(),t.ynx(38,25),t.YNc(39,Vm,3,3,\"th\",26),t.YNc(40,Hm,6,2,\"td\",19),t.BQk(),t.YNc(41,Km,1,0,\"tr\",27),t.YNc(42,Xm,1,0,\"tr\",28),t.qZA(),t._UZ(43,\"mat-paginator\",29),t.qZA(),t.qZA(),t.qZA(),t.qZA(),t.qZA(),t._UZ(44,\"div\",30),t.qZA(),t.qZA(),t.qZA()),2&e){let a;t.xp6(4),t.Q6J(\"ngIf\",null==(a=o.permission())?null:a.includes(\"operatorAccessWrite\")),t.xp6(13),t.s9C(\"placeholder\",t.lcZ(19,9,\"key_res\")),t.xp6(4),t.Q6J(\"ngIf\",o.isLoading),t.xp6(1),t.Q6J(\"hidden\",o.isLoading)(\"dataSource\",o.dataSource),t.xp6(19),t.Q6J(\"matHeaderRowDef\",o.getDisplay()),t.xp6(1),t.Q6J(\"matRowDefColumns\",o.getDisplay()),t.xp6(1),t.Q6J(\"pageSizeOptions\",t.DdM(11,tu))(\"pageSize\",25)}},directives:[v.O5,M.BZ,Ft.F,wt.YE,M.w1,M.fO,M.Dz,M.as,M.nj,X.NW,Gt.Hq,Jt.H,w.g,M.ge,wt.nU,U.Pi,M.ev,Qt.u,M.XQ,M.Gk],pipes:[U.X$],styles:['table[_ngcontent-%COMP%]{width:100%}.actions[_ngcontent-%COMP%]{padding-top:1em;padding-bottom:1em}[_nghost-%COMP%] .mat-sort-header-container{display:flex;justify-content:center;padding-left:18px}.float[_ngcontent-%COMP%]{cursor:pointer;float:left}.header-cell[_ngcontent-%COMP%], td[_ngcontent-%COMP%]{text-align:center;align-items:center;justify-content:center}.mat-form-field[_ngcontent-%COMP%]{font-size:14px;width:100%}.top[_ngcontent-%COMP%]{padding-bottom:2em}.btn-toolbar[_ngcontent-%COMP%]{display:inline;flex-wrap:wrap;justify-content:flex-start}.padding[_ngcontent-%COMP%]{padding-top:1%;padding-left:3%;padding-right:3%}.buttonExp[_ngcontent-%COMP%]{--width: 125px;--height: 41px;--gap-between-tooltip-to-button: 18px;--button-color: #1163ff;width:var(--width);height:var(--height);background:var(--button-color);position:relative;text-align:center;border-radius:.45em;font-family:\"Arial\";transition:background .3s}.buttonExp[_ngcontent-%COMP%]:before{position:absolute;font-size:.9rem;color:#111;border-radius:.25em;line-height:var(--tooltip-height);bottom:calc(var(--height) + var(--gap-between-tooltip-to-button) + 10px);left:calc(50% - var(--tooltip-width) / 2)}.buttonExp[_ngcontent-%COMP%]:after{position:absolute;content:\"\";width:0;height:0;border:10px solid transparent;left:calc(50% - 10px)}.buttonExp[_ngcontent-%COMP%]:after, .buttonExp[_ngcontent-%COMP%]:before{opacity:0;visibility:hidden;transition:all .5s}.textExp[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:center}.buttonExp-wrapper[_ngcontent-%COMP%], .textExp[_ngcontent-%COMP%], .iconExp[_ngcontent-%COMP%]{overflow:hidden;position:absolute;width:100%;height:100%;left:0;color:#fff}.textExp[_ngcontent-%COMP%]{top:0}.textExp[_ngcontent-%COMP%], .iconExp[_ngcontent-%COMP%]{transition:top .5s}.iconExp[_ngcontent-%COMP%]{color:#fff;top:100%;display:flex;align-items:center;justify-content:center}.buttonExp[_ngcontent-%COMP%]:hover{background:#5a73ffec}.buttonExp[_ngcontent-%COMP%]:hover .textExp[_ngcontent-%COMP%]{top:-100%}.buttonExp[_ngcontent-%COMP%]:hover .iconExp[_ngcontent-%COMP%]{top:0}.buttonExp[_ngcontent-%COMP%]:hover:before, .buttonExp[_ngcontent-%COMP%]:hover:after{opacity:1;visibility:visible}.buttonExp[_ngcontent-%COMP%]:hover:after{bottom:calc(var(--height) + var(--gap-between-tooltip-to-buttonExp) - 20px)}.buttonExp[_ngcontent-%COMP%]:hover:before{bottom:calc(var(--height) + var(--gap-between-tooltip-to-buttonExp))}.group[_ngcontent-%COMP%]{padding-bottom:13px;display:flex;line-height:28px;align-items:center;position:relative;max-width:289px}.input[_ngcontent-%COMP%]{width:100%;height:40px;line-height:28px;padding:0 1rem 0 2.5rem;border:2px solid transparent;border-radius:8px;outline:none;background-color:#f3f3f4;color:#0d0c22;transition:.3s ease}.input[_ngcontent-%COMP%]::placeholder{color:#9e9ea7}.input[_ngcontent-%COMP%]:focus, input[_ngcontent-%COMP%]:hover{outline:none;border-color:#4d363e66;background-color:#fff;box-shadow:0 0 0 4px #ea4c891a}.icon-Search[_ngcontent-%COMP%]{position:absolute;left:1rem;fill:#9e9ea7;width:1rem;height:1rem}@media (max-width: 1090px){.mat-table[matTableResponsive][_ngcontent-%COMP%] .mat-header-row[_ngcontent-%COMP%]{display:block;flex-wrap:wrap;height:auto;position:sticky;top:0;z-index:2}.mat-table[matTableResponsive][_ngcontent-%COMP%] .mat-header-row[_ngcontent-%COMP%] th.mat-header-cell[_ngcontent-%COMP%]{display:none;flex:1;align-items:center;padding:1rem .5rem;justify-content:left}.mat-table[matTableResponsive][_ngcontent-%COMP%] .mat-header-row[_ngcontent-%COMP%] th.mat-header-cell[_ngcontent-%COMP%] > .mat-sort-header-container[_ngcontent-%COMP%]{padding-left:15px}.mat-table[matTableResponsive][_ngcontent-%COMP%] .mat-header-row[_ngcontent-%COMP%] th.mat-header-cell[_ngcontent-%COMP%]:not([mat-sort-header]), .mat-table[matTableResponsive][_ngcontent-%COMP%] .mat-header-row[_ngcontent-%COMP%] th.mat-header-cell.mat-sort-header-disabled[_ngcontent-%COMP%], .mat-table[matTableResponsive][_ngcontent-%COMP%] .mat-header-row[_ngcontent-%COMP%] th.mat-header-cell.mat-column-actions[_ngcontent-%COMP%]{display:none}.mat-table[matTableResponsive][_ngcontent-%COMP%] .mat-row[_ngcontent-%COMP%]{height:auto}.mat-table[matTableResponsive][_ngcontent-%COMP%] .mat-row[_ngcontent-%COMP%] td.mat-cell[_ngcontent-%COMP%]:not(.mat-column-actions){display:grid;grid-template-columns:50% 50%;padding:.5rem;text-align:right;word-break:break-word}.mat-table[matTableResponsive][_ngcontent-%COMP%] .mat-row[_ngcontent-%COMP%] td.mat-cell[_ngcontent-%COMP%]:not(.mat-column-actions) > *[_ngcontent-%COMP%]{grid-column:2}.mat-table[matTableResponsive][_ngcontent-%COMP%] .mat-row[_ngcontent-%COMP%] td.mat-cell[_ngcontent-%COMP%]:not(.mat-column-actions):before{content:attr(data-column-name);text-align:left}.mat-table[matTableResponsive][_ngcontent-%COMP%] .mat-row[_ngcontent-%COMP%] td.mat-column-actions[_ngcontent-%COMP%]{display:flex;justify-content:center;padding:0 .5rem}.mat-table[matTableResponsive][_ngcontent-%COMP%] .mat-row[_ngcontent-%COMP%] td.mat-column-actions[_ngcontent-%COMP%] > button[_ngcontent-%COMP%]{margin:.5rem 0}.mat-table[matTableResponsive][_ngcontent-%COMP%] .mat-row[_ngcontent-%COMP%]:last-of-type td[_ngcontent-%COMP%]:last-of-type{border:none}.mat-table[matTableResponsive][_ngcontent-%COMP%] .mat-row[_ngcontent-%COMP%]:not(:last-of-type) td[_ngcontent-%COMP%]:last-of-type{border-bottom:.5rem solid #fafafa}.mat-card[_ngcontent-%COMP%] .mat-table[matTableResponsive][_ngcontent-%COMP%], .mat-expansion-panel[_ngcontent-%COMP%] .mat-table[matTableResponsive][_ngcontent-%COMP%]{border:.5rem solid #fafafa}}input[type=color][_ngcontent-%COMP%], input[type=date][_ngcontent-%COMP%], input[type=datetime][_ngcontent-%COMP%], input[type=datetime-local][_ngcontent-%COMP%], input[type=email][_ngcontent-%COMP%], input[type=month][_ngcontent-%COMP%], input[type=number][_ngcontent-%COMP%], input[type=password][_ngcontent-%COMP%], input[type=search][_ngcontent-%COMP%], input[type=tel][_ngcontent-%COMP%], input[type=text][_ngcontent-%COMP%], input[type=time][_ngcontent-%COMP%], input[type=url][_ngcontent-%COMP%], input[type=week][_ngcontent-%COMP%], select[_ngcontent-%COMP%]:focus, textarea[_ngcontent-%COMP%]{font-size:16px}']}),n})();var eu=c(85458),nu=c(12232),ou=c(73796),iu=c(49479),au=c(31584);let ru=(()=>{class n{constructor(e,o,a,d,h,E){this.translate=e,this.dialog=o,this.router=a,this.cookieService=d,this.authService=h,this.notifyService=E,this.dataempcpo=JSON.parse(b().get(\"dataEmpCpo\",{decrypt:!0})),this.TENANT=\"beagleplug.eu.qlikcloud.com\",this.JWTENDPOINT=\"https://426wdijnlaapacanddd5qmkgmq0zkwvw.lambda-url.us-east-2.on.aws/\",this.WEBINTEGRATIONID=\"6Okr8NbXjKWHA3PWjZ-lWxUDlv-oS9Xh\",this.APPID=\"5bac03ac-d716-458c-9f85-5838b3db6c3c\",this.SHEETID=\"a8a5a4c6-a45d-4d60-b114-facdef8ad673\",this.result=\"\",this.testQlik=new l.cw({name1:new l.NI(\"\",l.kI.required)})}ngOnInit(){return(0,C.mG)(this,void 0,void 0,function*(){if(this.cookieService.get(\"qlikCookie\")&&null!=this.cookieService.get(\"qlikCookie\"))this.main();else{const e=this.translate.instant(\"qlik_login\"),o=new ht.f(this.translate.instant(\"conf_az\"),e,\"warning\");this.dialog.open(ht.z,{maxWidth:\"400px\",data:o}).afterClosed().subscribe(d=>{this.result=d,d?this.main():(this.router.navigate([\"management\"]),this.isAdmin()?this.router.navigate([\"management/cpms/data-emp-cpo\"]):this.isAdmin()||this.isCpo()||!this.isEmp()?this.isAdmin()||!this.isCpo()||this.isEmp()?!this.isAdmin()&&this.isCpo()&&this.isEmp()&&this.router.navigate([\"management/cpo\"]):this.router.navigate([\"management/cpo\"]):this.router.navigate([\"management/emp\"]))})}})}isAdmin(){var e;return\"ADMIN\"==(null===(e=this.authService.user)||void 0===e?void 0:e.role)}isCpo(){var e;if(!this.isAdmin())return this.dataempcpo=JSON.parse(b().get(\"dataEmpCpo\",{decrypt:!0})),null===(e=this.dataempcpo)||void 0===e?void 0:e.cpoActive}isEmp(){if(!this.isAdmin())return this.dataempcpo=JSON.parse(b().get(\"dataEmpCpo\",{decrypt:!0})),this.dataempcpo.empActive}DatiInterni(){this.SHEETID=localStorage.getItem(\"QlikSheet\")}Roaming(){this.SHEETID=\"d8f2b62d-9eab-4ec1-aa8c-4f877d5aa41c\"}main(){return(0,C.mG)(this,void 0,void 0,function*(){yield this.qlikLogin();const e=yield this.getQCSHeaders(),[o,a]=yield this.connectEnigma(e,this.APPID);this.handleDisconnect(o);const d=yield this.getTheme(a),h=(yield this.getApp(this.APPID)).spaceId,E=yield this.getSpaceType(h),y=yield this.getSheetList(a,E);console.log(y),this.renderSingleIframe(\"qlik_frame\",this.APPID,y[0].qInfo.qId,d)})}qlikLogin(){return(0,C.mG)(this,void 0,void 0,function*(){const e=yield fetch(`https://${this.TENANT}/api/v1/users/me`,{mode:\"cors\",credentials:\"include\",headers:{\"qlik-web-integration-id\":this.WEBINTEGRATIONID}});if(200!==e.status){if(null===sessionStorage.getItem(\"tryQlikAuth\"))return sessionStorage.setItem(\"tryQlikAuth\",\"1\"),window.location=`https://${this.TENANT}/login?qlik-web-integration-id=${this.WEBINTEGRATIONID}&returnto=${location.href}`,this.cookieService.set(\"qlikCookie\",\"true\"),yield new Promise(o=>setTimeout(o,1e4));{sessionStorage.removeItem(\"tryQlikAuth\");const o=\"Third-party cookies are not enabled in your browser settings and/or browser mode.\";throw this.notifyService.showError(this.translate.instant(\"semplice_err\"),this.translate.instant(\"errore\")),this.isAdmin()?this.router.navigate([\"management/cpms/data-emp-cpo\"],{}):this.isCpo()?this.router.navigate([\"management/cpo\"],{}):this.isEmp()&&this.router.navigate([\"management/emp\"],{}),new Error(o)}}return console.log(e.status),this.cookieService.set(\"qlikCookie\",\"true\"),console.log(\"Logged in!\"),!0})}getQCSHeaders(){return(0,C.mG)(this,void 0,void 0,function*(){const e=yield fetch(`https://${this.TENANT}/api/v1/csrf-token`,{mode:\"cors\",credentials:\"include\",headers:{\"qlik-web-integration-id\":this.WEBINTEGRATIONID}}),o=new Map(e.headers).get(\"qlik-csrf-token\");return{\"qlik-web-integration-id\":this.WEBINTEGRATIONID,\"qlik-csrf-token\":o}})}connectEnigma(e,o){return(0,C.mG)(this,void 0,void 0,function*(){const[a,d]=yield this.getEnigmaSessionAndApp(o,e);return[a,d]})}getEnigmaSessionAndApp(e,o){return(0,C.mG)(this,void 0,void 0,function*(){const a=Object.keys(o).map(d=>`${d}=${o[d]}`).join(\"&\");return(()=>(0,C.mG)(this,void 0,void 0,function*(){const d=yield(yield fetch(\"https://unpkg.com/enigma.js@2.7.0/schemas/12.612.0.json\")).json();try{return yield this.createEnigmaAppSession(d,e,a)}catch(h){yield new Promise(E=>setTimeout(E,1500));try{return yield this.createEnigmaAppSession(d,e,a)}catch(E){throw new Error(E)}}}))()})}createEnigmaAppSession(e,o,a){return(0,C.mG)(this,void 0,void 0,function*(){const d=iu.create({schema:e,url:`wss://${this.TENANT}/app/${o}?${a}`}),E=yield(yield d.open()).openDoc(o);return[d,E]})}handleDisconnect(e){e.on(\"closed\",()=>{console.log(\"Due to inactivity or loss of connection, this session has ended.\")}),e.on(\"suspended\",()=>{console.log(\"Due to loss of connection, this session has been suspended.\")}),window.addEventListener(\"offline\",()=>{e.close()})}getApp(e){return(0,C.mG)(this,void 0,void 0,function*(){var o=new URL(`https://${this.TENANT}/api/v1/items?resourceType=app&resourceId=${e}`);const a=yield fetch(o,{method:\"GET\",mode:\"cors\",credentials:\"include\",headers:{\"Content-Type\":\"application/json\",\"qlik-web-integration-id\":this.WEBINTEGRATIONID}});return this.responseJson=yield a.json(),this.responseJson.data[0]})}getSpaceType(e){return(0,C.mG)(this,void 0,void 0,function*(){var o=new URL(`https://${this.TENANT}/api/v1/spaces/${e}`);const a=yield fetch(o,{method:\"GET\",mode:\"cors\",credentials:\"include\",headers:{\"Content-Type\":\"application/json\",\"qlik-web-integration-id\":this.WEBINTEGRATIONID}});return this.responseJson=yield a.json(),this.responseJson.type})}getTheme(e){return(0,C.mG)(this,void 0,void 0,function*(){return yield e.createSessionObject({qInfo:{qId:\"AppPropsList\",qType:\"AppPropsList\"},qAppObjectListDef:{qType:\"appprops\",qData:{theme:\"/theme\"}}}),(yield(yield e.getObject(\"AppPropsList\")).getLayout()).qAppObjectList.qItems[0].qData.theme})}getSheetList(e,o){var a,d;return(0,C.mG)(this,void 0,void 0,function*(){var h=yield e.getObjects({qOptions:{qTypes:[\"sheet\"],qIncludeSessionObjects:!1,qData:{}}});this.sheetsIncludingType=[];try{for(var y,E=(0,C.KL)(h);!(y=yield E.next()).done;){const Ct=y.value,kt=yield(yield e.getObject(Ct.qInfo.qId)).getLayout();var V=1,ft=Ct.qMeta.approved,Tt=Ct.qMeta.published;ft||Tt?!ft&&Tt&&\"managed\"===o&&(V=2):V=3;const Lt={sheetType:{1:\"Base\",2:\"Community\",3:\"Private\"}[V],sheetTypeEnum:V},Dt=Object.assign(Object.assign({},kt),Lt);this.sheetsIncludingType.push(Dt)}}catch(Ct){a={error:Ct}}finally{try{y&&!y.done&&(d=E.return)&&(yield d.call(E))}finally{if(a)throw a.error}}return this.sheetsIncludingType.sort((Ct,xt)=>Ct.sheetTypeEnum-xt.sheetTypeEnum||Ct.rank-xt.rank),console.log(this.sheetsIncludingType),this.sheetsIncludingType})}renderSingleIframe(e,o,a,d){const h=`https://${this.TENANT}/single/?appid=${o}&sheet=${a}&theme=${d}&opt=ctxmenu,currsel`;document.getElementById(e).setAttribute(\"src\",h)}}return n.\\u0275fac=function(e){return new(e||n)(t.Y36(U.sK),t.Y36(O.uw),t.Y36(N.F0),t.Y36(au.N),t.Y36(F.e),t.Y36(K.m))},n.\\u0275cmp=t.Xpm({type:n,selectors:[[\"app-qlik\"]],decls:10,vars:0,consts:[[1,\"content-body\"],[1,\"container-fluid\",\"default-mt-btn\",\"default-mt-table\",\"default-mt-select\",\"default-autocomplete\",\"default-mt-spinner\"],[1,\"header-cell\",\"top\"],[\"ngbDropdown\",\"\",1,\"d\"],[2,\"padding-bottom\",\"0.2%\"],[\"id\",\"main\"],[\"id\",\"message\"],[\"id\",\"qlik_frame\",2,\"border\",\"none\",\"width\",\"100%\",\"height\",\"900px\"]],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._UZ(4,\"h1\",4),t._UZ(5,\"head\"),t.TgZ(6,\"body\"),t.TgZ(7,\"div\",5),t._UZ(8,\"div\",6),t._UZ(9,\"iframe\",7),t.qZA(),t.qZA(),t.qZA(),t.qZA(),t.qZA(),t.qZA())},directives:[yt.jt],styles:[\"body[_ngcontent-%COMP%]{margin:0}.parent[_ngcontent-%COMP%]{display:flex;flex-direction:column;min-height:100vh}.parent[_ngcontent-%COMP%] .banner[_ngcontent-%COMP%]{background:#f00;width:100%;height:30px}.parent[_ngcontent-%COMP%] iframe[_ngcontent-%COMP%]{background:#000;border:none;flex-grow:1}.center[_ngcontent-%COMP%], td[_ngcontent-%COMP%], th[_ngcontent-%COMP%]{text-align:center;align-items:center;justify-content:center}\"]}),n})();var Ic=c(93264),Nc=c(34256);let Sc=(()=>{class n{constructor(){}initChartData(){let e=[];for(let o of this.chartStats)e.push([o.date,(o.value/this.divisionValue).toFixed(this.decimalNumbers)]);this.series=[{name:this.name,data:e}],this.chart={type:\"area\",stacked:!1,height:350,zoom:{type:\"x\",enabled:!0,autoScaleYaxis:!0},toolbar:{autoSelected:\"zoom\"}},this.dataLabels={enabled:!1},this.markers={size:0},this.title={text:\"\",align:\"center\"},this.fill={type:\"gradient\",gradient:{shadeIntensity:1,inverseColors:!1,opacityFrom:.5,opacityTo:0,stops:[0,90,100]}},this.yaxis={labels:{},title:{text:\"\"}},this.xaxis={type:\"datetime\"},this.tooltip={shared:!1,y:{}}}ngOnInit(){this.initChartData()}}return n.\\u0275fac=function(e){return new(e||n)},n.\\u0275cmp=t.Xpm({type:n,selectors:[[\"app-zoomable-timeseries\"]],inputs:{chartStats:\"chartStats\",name:\"name\",divisionValue:\"divisionValue\",decimalNumbers:\"decimalNumbers\"},decls:1,vars:10,consts:[[3,\"series\",\"chart\",\"dataLabels\",\"markers\",\"title\",\"fill\",\"yaxis\",\"xaxis\",\"tooltip\",\"autoUpdateSeries\"]],template:function(e,o){1&e&&t._UZ(0,\"apx-chart\",0),2&e&&t.Q6J(\"series\",o.series)(\"chart\",o.chart)(\"dataLabels\",o.dataLabels)(\"markers\",o.markers)(\"title\",o.title)(\"fill\",o.fill)(\"yaxis\",o.yaxis)(\"xaxis\",o.xaxis)(\"tooltip\",o.tooltip)(\"autoUpdateSeries\",!0)},directives:[Nc.x],styles:[\"\"]}),n})();function su(n,s){if(1&n){const e=t.EpF();t.TgZ(0,\"div\",8),t.TgZ(1,\"div\",9),t.TgZ(2,\"div\",11),t.TgZ(3,\"div\",12),t.NdJ(\"click\",function(){return t.CHM(e),t.oxw().navigate(\"management/session\")}),t._UZ(4,\"div\",13),t.TgZ(5,\"div\",14),t.TgZ(6,\"div\",15),t.TgZ(7,\"div\",16),t.TgZ(8,\"h2\",17),t._uU(9),t.qZA(),t.TgZ(10,\"span\",18),t._uU(11),t.ALo(12,\"translate\"),t.qZA(),t.qZA(),t._UZ(13,\"img\",19),t.qZA(),t.qZA(),t.qZA(),t.qZA(),t.TgZ(14,\"div\",11),t.TgZ(15,\"div\",12),t.NdJ(\"click\",function(){return t.CHM(e),t.oxw().navigate(\"management/session/date/LastMonth\")}),t._UZ(16,\"div\",13),t.TgZ(17,\"div\",14),t.TgZ(18,\"div\",15),t.TgZ(19,\"div\",16),t.TgZ(20,\"h2\",17),t._uU(21),t.qZA(),t.TgZ(22,\"span\",18),t._uU(23),t.ALo(24,\"translate\"),t.qZA(),t.qZA(),t._UZ(25,\"img\",19),t.qZA(),t.qZA(),t.qZA(),t.qZA(),t.TgZ(26,\"div\",11),t.TgZ(27,\"div\",12),t.NdJ(\"click\",function(){return t.CHM(e),t.oxw().navigate(\"management/session/date/LastWeek\")}),t._UZ(28,\"div\",13),t.TgZ(29,\"div\",14),t.TgZ(30,\"div\",15),t.TgZ(31,\"div\",16),t.TgZ(32,\"h2\",17),t._uU(33),t.qZA(),t.TgZ(34,\"span\",18),t._uU(35),t.ALo(36,\"translate\"),t.qZA(),t.qZA(),t._UZ(37,\"img\",19),t.qZA(),t.qZA(),t.qZA(),t.qZA(),t.TgZ(38,\"div\",11),t.TgZ(39,\"div\",12),t.NdJ(\"click\",function(){return t.CHM(e),t.oxw().navigate(\"management/session/date/LastDay\")}),t._UZ(40,\"div\",13),t.TgZ(41,\"div\",14),t.TgZ(42,\"div\",15),t.TgZ(43,\"div\",16),t.TgZ(44,\"h2\",17),t._uU(45),t.qZA(),t.TgZ(46,\"span\",18),t._uU(47),t.ALo(48,\"translate\"),t.qZA(),t.qZA(),t._UZ(49,\"img\",19),t.qZA(),t.qZA(),t.qZA(),t.qZA(),t.TgZ(50,\"div\",11),t.TgZ(51,\"div\",20),t._UZ(52,\"div\",13),t.TgZ(53,\"div\",14),t.TgZ(54,\"div\",15),t.TgZ(55,\"div\",16),t.TgZ(56,\"h2\",17),t._uU(57),t.qZA(),t.TgZ(58,\"span\",18),t._uU(59),t.ALo(60,\"translate\"),t.qZA(),t.qZA(),t._UZ(61,\"img\",21),t.qZA(),t.qZA(),t.qZA(),t.qZA(),t.TgZ(62,\"div\",11),t.TgZ(63,\"div\",20),t._UZ(64,\"div\",13),t.TgZ(65,\"div\",14),t.TgZ(66,\"div\",15),t.TgZ(67,\"div\",16),t.TgZ(68,\"h2\",17),t._uU(69),t.qZA(),t.TgZ(70,\"span\",18),t._uU(71),t.ALo(72,\"translate\"),t.qZA(),t.qZA(),t._UZ(73,\"img\",21),t.qZA(),t.qZA(),t.qZA(),t.qZA(),t.TgZ(74,\"div\",11),t.TgZ(75,\"div\",20),t._UZ(76,\"div\",13),t.TgZ(77,\"div\",14),t.TgZ(78,\"div\",15),t.TgZ(79,\"div\",16),t.TgZ(80,\"h2\",17),t._uU(81),t.qZA(),t.TgZ(82,\"span\",18),t._uU(83),t.ALo(84,\"translate\"),t.qZA(),t.qZA(),t._UZ(85,\"img\",21),t.qZA(),t.qZA(),t.qZA(),t.qZA(),t.TgZ(86,\"div\",11),t.TgZ(87,\"div\",20),t._UZ(88,\"div\",13),t.TgZ(89,\"div\",14),t.TgZ(90,\"div\",15),t.TgZ(91,\"div\",16),t.TgZ(92,\"h2\",17),t._uU(93),t.qZA(),t.TgZ(94,\"span\",18),t._uU(95),t.ALo(96,\"translate\"),t.qZA(),t.qZA(),t._UZ(97,\"img\",21),t.qZA(),t.qZA(),t.qZA(),t.qZA(),t.qZA(),t.qZA()}if(2&n){const e=t.oxw();t.Q6J(\"hidden\",e.isLoading),t.xp6(9),t.Oqu(e.home.numRoamingTransactions),t.xp6(2),t.Oqu(t.lcZ(12,17,\"ric_tot\")),t.xp6(10),t.Oqu(e.home.numRoamingTransactionsLastMonth),t.xp6(2),t.Oqu(t.lcZ(24,19,\"ric_ult_30g\")),t.xp6(10),t.Oqu(e.home.numRoamingTransactionsLastWeek),t.xp6(2),t.Oqu(t.lcZ(36,21,\"ric_ult_7g\")),t.xp6(10),t.Oqu(e.home.numRoamingTransactionsLastDay),t.xp6(2),t.Oqu(t.lcZ(48,23,\"ric_gior\")),t.xp6(10),t.Oqu(e.toMwh(e.home.totalPowerRoaming)),t.xp6(2),t.Oqu(t.lcZ(60,25,\"mwh_tot\")),t.xp6(10),t.Oqu(e.toMwh(e.home.totalPowerRoamingLastMonth)),t.xp6(2),t.Oqu(t.lcZ(72,27,\"mwh_mese\")),t.xp6(10),t.Oqu(e.toMwh(e.home.totalPowerRoamingLastWeek)),t.xp6(2),t.Oqu(t.lcZ(84,29,\"mwh_settimana\")),t.xp6(10),t.Oqu(e.toMwh(e.home.totalPowerRoamingLastday)),t.xp6(2),t.Oqu(t.lcZ(96,31,\"mwh_gior\"))}}function lu(n,s){if(1&n&&(t.TgZ(0,\"div\",22),t.TgZ(1,\"div\",23),t.TgZ(2,\"div\",24),t.TgZ(3,\"h4\",25),t._uU(4),t.ALo(5,\"translate\"),t.ALo(6,\"translate\"),t.qZA(),t.qZA(),t.TgZ(7,\"div\",14),t._UZ(8,\"app-zoomable-timeseries\",26),t.qZA(),t.qZA(),t.qZA()),2&n){const e=t.oxw();t.xp6(4),t.AsE(\"\",t.lcZ(5,6,\"ricariche\"),\" \",t.lcZ(6,8,\"cumulativo\"),\"\"),t.xp6(4),t.Q6J(\"chartStats\",e.transactionStats)(\"name\",\"Ricariche\")(\"divisionValue\",1)(\"decimalNumbers\",0)}}function cu(n,s){if(1&n&&(t.TgZ(0,\"div\",22),t.TgZ(1,\"div\",23),t.TgZ(2,\"div\",24),t.TgZ(3,\"h4\",25),t._uU(4),t.ALo(5,\"translate\"),t.ALo(6,\"translate\"),t.qZA(),t.qZA(),t.TgZ(7,\"div\",14),t._UZ(8,\"app-zoomable-timeseries\",26),t.qZA(),t.qZA(),t.qZA()),2&n){const e=t.oxw();t.xp6(4),t.AsE(\"\",t.lcZ(5,6,\"ricariche\"),\" \",t.lcZ(6,8,\"incrementale\"),\"\"),t.xp6(4),t.Q6J(\"chartStats\",e.transactionStatsIn)(\"name\",\"Ricariche\")(\"divisionValue\",1)(\"decimalNumbers\",0)}}function pu(n,s){if(1&n&&(t.TgZ(0,\"div\",22),t.TgZ(1,\"div\",23),t.TgZ(2,\"div\",24),t.TgZ(3,\"h4\",25),t._uU(4),t.ALo(5,\"translate\"),t.ALo(6,\"translate\"),t.qZA(),t.qZA(),t.TgZ(7,\"div\",14),t._UZ(8,\"app-zoomable-timeseries\",26),t.qZA(),t.qZA(),t.qZA()),2&n){const e=t.oxw();t.xp6(4),t.AsE(\"\",t.lcZ(5,6,\"mwh\"),\" \",t.lcZ(6,8,\"cumulativo\"),\"\"),t.xp6(4),t.Q6J(\"chartStats\",e.energyStats)(\"name\",\"MWh\")(\"divisionValue\",1e3)(\"decimalNumbers\",3)}}function du(n,s){if(1&n&&(t.TgZ(0,\"div\",22),t.TgZ(1,\"div\",23),t.TgZ(2,\"div\",24),t.TgZ(3,\"h4\",25),t._uU(4),t.ALo(5,\"translate\"),t.ALo(6,\"translate\"),t.qZA(),t.qZA(),t.TgZ(7,\"div\",14),t._UZ(8,\"app-zoomable-timeseries\",26),t.qZA(),t.qZA(),t.qZA()),2&n){const e=t.oxw();t.xp6(4),t.AsE(\"\",t.lcZ(5,6,\"mwh\"),\" \",t.lcZ(6,8,\"incrementale\"),\"\"),t.xp6(4),t.Q6J(\"chartStats\",e.energyStatsIn)(\"name\",\"MWh\")(\"divisionValue\",1e3)(\"decimalNumbers\",3)}}let gu=(()=>{class n{constructor(e,o){this.homeService=e,this.router=o,this.isLoading=!0,this.isLoadingGraph=!0}ngOnInit(){return(0,C.mG)(this,void 0,void 0,function*(){this.isLoading=!0,yield this.read(),yield this.readGraph(),this.isLoading=!1})}read(){return(0,C.mG)(this,void 0,void 0,function*(){this.isLoading=!0,this.home=yield this.homeService.getRoaming().toPromise(),this.isLoading=!1})}readGraph(){return(0,C.mG)(this,void 0,void 0,function*(){this.isLoadingGraph=!0;let e=yield this.homeService.getRoamingStats().toPromise();this.transactionStats=e.cumulativeCount,this.energyStats=e.cumulativeEnergy,this.transactionStatsIn=e.incrementalCount,this.energyStatsIn=e.incrementalEnergy,this.isLoadingGraph=!1})}refreshPage(){return(0,C.mG)(this,void 0,void 0,function*(){yield this.read()})}refreshGraph(){return(0,C.mG)(this,void 0,void 0,function*(){yield this.readGraph()})}toMwh(e){return Math.trunc(e/1e3*1e3)/1e3}navigate(e){this.router.navigate([e],{})}}return n.\\u0275fac=function(e){return new(e||n)(t.Y36(Ic.Y),t.Y36(N.F0))},n.\\u0275cmp=t.Xpm({type:n,selectors:[[\"app-stats\"]],decls:22,vars:8,consts:[[1,\"content-body\"],[1,\"default-mt-btn\",\"default-mt-table\",\"default-mt-select\",\"default-autocomplete\",\"default-mt-spinner\"],[1,\"header-cell\",\"top\"],[\"ngbDropdown\",\"\"],[\"mat-raised-button\",\"\",3,\"hidden\",\"click\"],[1,\"fas\",\"fa-redo\",2,\"color\",\"#6C757D\"],[\"class\",\"container-fluid\",3,\"hidden\",4,\"ngIf\"],[1,\"header-cell\"],[1,\"container-fluid\",3,\"hidden\"],[1,\"row\"],[\"class\",\"col-xl-6 col-xxl-12\",4,\"ngIf\"],[1,\"col-xl-3\"],[1,\"card\",\"card-bd\",\"click\",3,\"click\"],[1,\"bg\",\"card-border\"],[1,\"card-body\"],[1,\"media\",\"align-items-center\"],[1,\"media-body\",\"mr-3\"],[1,\"fs-32\",\"carddescription\",\"text-black\",\"font-w700\"],[1,\"fs-14\",\"carddescription\"],[\"src\",\"assets/images/carchargingicon.png\"],[1,\"card\",\"card-bd\"],[\"src\",\"assets/images/energyicon.png\"],[1,\"col-xl-6\",\"col-xxl-12\"],[1,\"card\"],[1,\"card-header\",\"d-block\"],[1,\"card-title\"],[3,\"chartStats\",\"name\",\"divisionValue\",\"decimalNumbers\"]],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._UZ(4,\"br\"),t.TgZ(5,\"button\",4),t.NdJ(\"click\",function(){return o.refreshPage()}),t._UZ(6,\"i\",5),t._uU(7,\"\\xa0 \"),t.qZA(),t._uU(8,\"\\xa0 \"),t.qZA(),t.qZA(),t.YNc(9,su,98,33,\"div\",6),t.TgZ(10,\"div\",7),t.TgZ(11,\"div\",3),t.TgZ(12,\"button\",4),t.NdJ(\"click\",function(){return o.refreshGraph()}),t._UZ(13,\"i\",5),t._uU(14,\"\\xa0 \"),t.qZA(),t._uU(15,\"\\xa0 \"),t.qZA(),t.qZA(),t.TgZ(16,\"div\",8),t.TgZ(17,\"div\",9),t.YNc(18,lu,9,10,\"div\",10),t.YNc(19,cu,9,10,\"div\",10),t.YNc(20,pu,9,10,\"div\",10),t.YNc(21,du,9,10,\"div\",10),t.qZA(),t.qZA(),t.qZA(),t.qZA()),2&e&&(t.xp6(5),t.Q6J(\"hidden\",o.isLoading),t.xp6(4),t.Q6J(\"ngIf\",o.home),t.xp6(3),t.Q6J(\"hidden\",o.isLoadingGraph),t.xp6(4),t.Q6J(\"hidden\",o.isLoadingGraph),t.xp6(2),t.Q6J(\"ngIf\",!o.isLoadingGraph&&o.transactionStats),t.xp6(1),t.Q6J(\"ngIf\",!o.isLoadingGraph&&o.transactionStatsIn),t.xp6(1),t.Q6J(\"ngIf\",!o.isLoadingGraph&&o.energyStats),t.xp6(1),t.Q6J(\"ngIf\",!o.isLoadingGraph&&o.energyStatsIn))},directives:[yt.jt,z.lW,v.O5,Sc],pipes:[U.X$],styles:[\".carddescription[_ngcontent-%COMP%]{font-weight:bold}.click[_ngcontent-%COMP%]{cursor:pointer}small[_ngcontent-%COMP%]{font-size:13px}.custom-num-text[_ngcontent-%COMP%]{font-size:2.1vw}.center[_ngcontent-%COMP%]{align-items:center;justify-content:center;display:flex}.bg[_ngcontent-%COMP%]{background-color:#9f6!important}.header-cell[_ngcontent-%COMP%], td[_ngcontent-%COMP%], th[_ngcontent-%COMP%]{text-align:center;align-items:center;justify-content:center}.top[_ngcontent-%COMP%]{padding-bottom:.2em}\"]}),n})(),fe=(()=>{class n{constructor(e,o){this.http=e,this.errorsService=o}getOffersCpo(){return this.http.get(`${x.N.apiUrl}/offers/api/subscriptions/offers`).pipe((0,g.K)(this.errorsService.handleError))}deleteOffersCpo(e){return this.http.delete(`${x.N.apiUrl}/offers/api/subscriptions/offers/${e}`).pipe((0,g.K)(this.errorsService.handleError))}createOffersCpo(e){return this.http.post(`${x.N.apiUrl}/offers/api/subscriptions/offers`,e).pipe((0,g.K)(this.errorsService.handleError))}updateOffersCpo(e){return this.http.put(`${x.N.apiUrl}/offers/api/subscriptions/offers`,e).pipe((0,g.K)(this.errorsService.handleError))}getAllOffersEmp(){return this.http.get(`${x.N.apiUrl}/offers/api/subscriptions/offers/all`).pipe((0,g.K)(this.errorsService.handleError))}getOffersEmp(){return this.http.get(`${x.N.apiUrl}/offers/api/subscriptions/contracts`).pipe((0,g.K)(this.errorsService.handleError))}updateoffersEmp(e){return this.http.put(`${x.N.apiUrl}/offers/api/subscriptions/contracts`,e).pipe((0,g.K)(this.errorsService.handleError))}deleteOffersEmp(e){return this.http.delete(`${x.N.apiUrl}/offers/api/subscriptions/contracts/${e}`).pipe((0,g.K)(this.errorsService.handleError))}subscribeOffer(e){return this.http.post(`${x.N.apiUrl}/offers/api/subscriptions/contracts`,e).pipe((0,g.K)(this.errorsService.handleError))}activateOffer(e){return this.http.put(`${x.N.apiUrl}/offers/api/subscriptions/offers/activate/${e.id}`,{}).pipe((0,g.K)(this.errorsService.handleError))}deactivateOffer(e){return this.http.put(`${x.N.apiUrl}/offers/api/subscriptions/offers/deactivate/${e.id}`,{}).pipe((0,g.K)(this.errorsService.handleError))}}return n.\\u0275fac=function(e){return new(e||n)(t.LFG(i.eN),t.LFG(f.r))},n.\\u0275prov=t.Yz7({token:n,factory:n.\\u0275fac,providedIn:\"root\"}),n})();var ce=c(43220),Ze=c(7539),Xt=c(21554);function mu(n,s){1&n&&t._UZ(0,\"app-loading-screen\")}function uu(n,s){1&n&&(t.TgZ(0,\"a\"),t._uU(1),t.ALo(2,\"translate\"),t.qZA()),2&n&&(t.xp6(1),t.Oqu(t.lcZ(2,1,\"add_offer\")))}function _u(n,s){1&n&&(t.TgZ(0,\"a\"),t._uU(1),t.ALo(2,\"translate\"),t.qZA()),2&n&&(t.xp6(1),t.Oqu(t.lcZ(2,1,\"mod_offer\")))}function hu(n,s){1&n&&(t.TgZ(0,\"a\"),t._uU(1),t.ALo(2,\"translate\"),t.qZA()),2&n&&(t.xp6(1),t.Oqu(t.lcZ(2,1,\"rinnova\")))}function fu(n,s){1&n&&(t.TgZ(0,\"div\"),t._UZ(1,\"i\",26),t._UZ(2,\"br\"),t.TgZ(3,\"mat-form-field\",27),t.TgZ(4,\"mat-label\"),t.TgZ(5,\"span\"),t._uU(6),t.ALo(7,\"translate\"),t.qZA(),t.qZA(),t._UZ(8,\"input\",28),t.qZA(),t.qZA()),2&n&&(t.xp6(6),t.hij(\" \",t.lcZ(7,1,\"nome\"),\" \"))}function Zu(n,s){1&n&&(t.TgZ(0,\"div\"),t._UZ(1,\"i\",26),t._UZ(2,\"br\"),t.TgZ(3,\"mat-form-field\",27),t.TgZ(4,\"mat-label\"),t.TgZ(5,\"span\"),t._uU(6),t.ALo(7,\"translate\"),t.qZA(),t.qZA(),t._UZ(8,\"input\",29),t.qZA(),t.qZA()),2&n&&(t.xp6(6),t.hij(\" \",t.lcZ(7,1,\"des\"),\" \"))}function Cu(n,s){if(1&n&&(t.TgZ(0,\"div\",30),t._UZ(1,\"i\",31),t._UZ(2,\"br\"),t.TgZ(3,\"mat-form-field\",27),t.TgZ(4,\"mat-label\"),t._uU(5),t.ALo(6,\"translate\"),t.qZA(),t._UZ(7,\"mat-datepicker-toggle\",32),t._UZ(8,\"mat-datepicker\",null,33),t._UZ(10,\"input\",34),t.qZA(),t.qZA()),2&n){const e=t.MAs(9);t.xp6(5),t.Oqu(t.lcZ(6,3,\"data_rilascio\")),t.xp6(2),t.Q6J(\"for\",e),t.xp6(3),t.Q6J(\"matDatepicker\",e)}}function vu(n,s){if(1&n&&(t.TgZ(0,\"div\",30),t._UZ(1,\"i\",31),t._UZ(2,\"br\"),t.TgZ(3,\"mat-form-field\",27),t.TgZ(4,\"mat-label\"),t._uU(5),t.ALo(6,\"translate\"),t.qZA(),t._UZ(7,\"mat-datepicker-toggle\",32),t._UZ(8,\"mat-datepicker\",null,35),t._UZ(10,\"input\",36),t.qZA(),t.qZA()),2&n){const e=t.MAs(9);t.xp6(5),t.Oqu(t.lcZ(6,3,\"data_scadenza\")),t.xp6(2),t.Q6J(\"for\",e),t.xp6(3),t.Q6J(\"matDatepicker\",e)}}const bu=function(){return{standalone:!0}};function Au(n,s){1&n&&(t.TgZ(0,\"div\",23),t._uU(1),t.ALo(2,\"translate\"),t.TgZ(3,\"div\",37),t._UZ(4,\"mat-checkbox\",38),t.qZA(),t.qZA()),2&n&&(t.xp6(1),t.hij(\" \",t.lcZ(2,2,\"valid_all\"),\" \"),t.xp6(3),t.Q6J(\"ngModelOptions\",t.DdM(4,bu)))}function xu(n,s){if(1&n&&(t.TgZ(0,\"div\",30),t._UZ(1,\"i\",31),t._UZ(2,\"br\"),t.TgZ(3,\"mat-form-field\",27),t.TgZ(4,\"mat-label\"),t._uU(5),t.ALo(6,\"translate\"),t.qZA(),t._UZ(7,\"mat-datepicker-toggle\",32),t._UZ(8,\"mat-datepicker\",null,35),t._UZ(10,\"input\",36),t.qZA(),t.qZA()),2&n){const e=t.MAs(9);t.xp6(5),t.Oqu(t.lcZ(6,3,\"data_scadenza\")),t.xp6(2),t.Q6J(\"for\",e),t.xp6(3),t.Q6J(\"matDatepicker\",e)}}function Tu(n,s){if(1&n&&(t.TgZ(0,\"mat-option\",42),t.TgZ(1,\"span\"),t._uU(2),t.qZA(),t.qZA()),2&n){const e=s.$implicit;t.Q6J(\"value\",e.ragioneSociale),t.xp6(2),t.Oqu(e.ragioneSociale)}}function Pu(n,s){if(1&n){const e=t.EpF();t.TgZ(0,\"div\",23),t._UZ(1,\"i\",26),t._UZ(2,\"br\"),t.TgZ(3,\"mat-form-field\",27),t.TgZ(4,\"mat-label\"),t.TgZ(5,\"span\"),t._uU(6),t.ALo(7,\"translate\"),t.qZA(),t.qZA(),t.TgZ(8,\"input\",39),t.NdJ(\"ngModelChange\",function(){t.CHM(e);const a=t.oxw(2);return a.addSubscriber(a.chosenSubscriber.value)}),t.qZA(),t.qZA(),t.TgZ(9,\"mat-autocomplete\",null,40),t.YNc(11,Tu,3,2,\"mat-option\",41),t.qZA(),t.qZA()}if(2&n){const e=t.MAs(10),o=t.oxw(2);t.xp6(6),t.hij(\" \",t.lcZ(7,4,\"subscriber\"),\" \"),t.xp6(2),t.Q6J(\"formControl\",o.chosenSubscriber)(\"matAutocomplete\",e),t.xp6(3),t.Q6J(\"ngForOf\",o.listEmp)}}function Ou(n,s){if(1&n){const e=t.EpF();t.TgZ(0,\"div\"),t.TgZ(1,\"div\",2),t._UZ(2,\"mat-progress-bar\",3),t.qZA(),t.TgZ(3,\"div\",4),t.TgZ(4,\"div\"),t.TgZ(5,\"div\",5),t.YNc(6,uu,3,3,\"a\",6),t.YNc(7,_u,3,3,\"a\",6),t.YNc(8,hu,3,3,\"a\",6),t.qZA(),t.qZA(),t.TgZ(9,\"div\",7),t._UZ(10,\"img\",8),t._UZ(11,\"br\"),t.qZA(),t.TgZ(12,\"div\",9),t.TgZ(13,\"button\",10),t.NdJ(\"click\",function(){return t.CHM(e),t.oxw().closeDialog()}),t.O4$(),t.TgZ(14,\"svg\",11),t._UZ(15,\"g\",12),t._UZ(16,\"g\",13),t.TgZ(17,\"g\",14),t._UZ(18,\"path\",15),t._UZ(19,\"path\",16),t._UZ(20,\"path\",17),t.qZA(),t.qZA(),t.qZA(),t.qZA(),t.qZA(),t.kcU(),t.TgZ(21,\"form\",18),t.TgZ(22,\"table\",19),t.TgZ(23,\"div\",20),t.YNc(24,fu,9,3,\"div\",6),t.YNc(25,Zu,9,3,\"div\",6),t.YNc(26,Cu,11,5,\"div\",21),t.YNc(27,vu,11,5,\"div\",21),t.qZA(),t.YNc(28,Au,5,5,\"div\",22),t.YNc(29,xu,11,5,\"div\",21),t.qZA(),t.qZA(),t.YNc(30,Pu,12,6,\"div\",22),t.TgZ(31,\"div\",23),t.TgZ(32,\"button\",24),t.NdJ(\"click\",function(){return t.CHM(e),t.oxw().create()}),t.TgZ(33,\"span\",25),t._uU(34),t.ALo(35,\"translate\"),t.qZA(),t.qZA(),t.qZA(),t.qZA()}if(2&n){const e=t.oxw();t.xp6(2),t.Q6J(\"color\",e.color)(\"mode\",e.mode)(\"value\",e.value)(\"bufferValue\",e.bufferValue),t.xp6(4),t.Q6J(\"ngIf\",!e.input.update),t.xp6(1),t.Q6J(\"ngIf\",e.input.update&&2==e.input.val),t.xp6(1),t.Q6J(\"ngIf\",e.input.update&&3==e.input.val),t.xp6(13),t.Q6J(\"formGroup\",e.offerForm),t.xp6(3),t.Q6J(\"ngIf\",1==e.input.val||2==e.input.val),t.xp6(1),t.Q6J(\"ngIf\",1==e.input.val||2==e.input.val),t.xp6(1),t.Q6J(\"ngIf\",1==e.input.val),t.xp6(1),t.Q6J(\"ngIf\",1==e.input.val),t.xp6(1),t.Q6J(\"ngIf\",1==e.input.val),t.xp6(1),t.Q6J(\"ngIf\",3==e.input.val),t.xp6(1),t.Q6J(\"ngIf\",!e.offerForm.value.valid_for_all&&(1==e.input.val||2==e.input.val)),t.xp6(4),t.Oqu(t.lcZ(35,16,\"conferma\"))}}let te=(()=>{class n{constructor(e,o,a,d,h,E){this.dialogRef=e,this.input=o,this.offerService=a,this.translate=d,this.cpoService=h,this.notifyService=E,this.chosenSubscriber=new l.NI(\"\"),this.listEmp=[],this.dataSource=new M.by,this.displayedColumns=[\"name\",\"elimina\"],this.offerForm=new l.cw({alias:new l.NI(\"\",l.kI.required),description:new l.NI(\"\",l.kI.required),valid_from:new l.NI(\"\",l.kI.required),valid_to:new l.NI(\"\",l.kI.required),valid_for_all:new l.NI(!1,l.kI.required)})}ngOnInit(){return(0,C.mG)(this,void 0,void 0,function*(){let e;e=yield this.cpoService.getAll().toPromise(),console.log(e),e.forEach(o=>{o.empActive&&this.listEmp.push(o)}),this.input.update&&(this.offerForm.get(\"alias\").setValue(this.input.offer.alias),this.offerForm.get(\"description\").setValue(this.input.offer.description),this.offerForm.get(\"valid_from\").setValue(this.input.offer.valid_from),this.offerForm.get(\"valid_to\").setValue(this.input.offer.valid_to),this.offerForm.get(\"valid_for_all\").setValue(this.input.offer.valid_for_all),this.listEmp.forEach(o=>{o.tenantId==this.input.offer.subscriber_tenant_id&&(console.log(o.ragioneSociale),this.chosenSubscriber.setValue(o.ragioneSociale))}),this.offerForm.get(\"valid_for_all\").disable(),this.chosenSubscriber.disable()),console.log(this.listEmp),console.log(this.chosenSubscriber)})}closeDialog(){this.dialogRef.close(!1)}create(){this.input.update||(this.input.offer={},this.input.offer.valid_from=this.offerForm.value.valid_from.getTime(),this.input.offer.valid_to=this.offerForm.value.valid_to.getTime()),this.input.offer.alias=this.offerForm.value.alias,this.input.offer.description=this.offerForm.value.description,this.input.offer.valid_for_all=this.offerForm.value.valid_for_all,console.log(this.dataSource.data),this.listEmp.forEach(this.offerForm.value.valid_for_all?()=>{this.input.offer.subscriber_tenant_id=\"\"}:e=>{this.dataSource.data.find(o=>o===e.ragioneSociale)&&(this.input.offer.subscriber_tenant_id=e.tenantId,this.ragSoc=e.ragioneSociale)}),console.log(this.input),this.input.update?this.input.update&&2==this.input.val?this.offerService.updateOffersCpo(this.input.offer).toPromise().then(()=>{this.dialogRef.close(!0)}):this.input.update&&3==this.input.val?(this.input.offer.valid_to=this.offerForm.value.valid_to.getTime(),this.offerService.updateOffersCpo(this.input.offer).toPromise().then(()=>{this.dialogRef.close(!0)})):this.input.update&&this.input.emp&&this.offerService.updateoffersEmp(this.input.offer).toPromise().then(()=>{this.dialogRef.close(!0)}):this.offerService.createOffersCpo(this.input.offer).toPromise().then(()=>{this.dialogRef.close(!0)})}addSubscriber(e){return(0,C.mG)(this,void 0,void 0,function*(){this.dataSource.data=[],console.log(e),console.log(this.dataSource.data),null!=e&&(this.dataSource.data.find(o=>o===e)?this.notifyService.showWarning(this.translate.instant(\"att_sub\"),this.translate.instant(\"att\")):(this.dataSource.data.push(e),this.dataSource.data=this.dataSource.data)),console.log(this.dataSource.data)})}removeCp(e){this.dataSource.data=this.dataSource.data.filter(o=>o!=e),this.dataSource.data=this.dataSource.data}}return n.\\u0275fac=function(e){return new(e||n)(t.Y36(O.so),t.Y36(O.WI),t.Y36(fe),t.Y36(U.sK),t.Y36(ut.j),t.Y36(K.m))},n.\\u0275cmp=t.Xpm({type:n,selectors:[[\"app-add-offer-cpo\"]],decls:3,vars:2,consts:[[4,\"ngIf\",\"ngIfElse\"],[\"main\",\"\"],[2,\"padding\",\"1em\"],[3,\"color\",\"mode\",\"value\",\"bufferValue\"],[1,\"grid33\"],[2,\"padding\",\"1em\",\"font-size\",\"2em\",\"font-weight\",\"200\",\"color\",\"#1b00b1a1\"],[4,\"ngIf\"],[2,\"text-align\",\"center\"],[\"src\",\"https://cdn0.iconfinder.com/data/icons/business-953/42/signature-512.png\",\"height\",\"100\"],[2,\"justify-self\",\"flex-end\"],[1,\"buttonX\",3,\"click\"],[\"width\",\"45px\",\"height\",\"45px\",\"viewBox\",\"0 0 24 24\",\"fill\",\"none\",\"xmlns\",\"http://www.w3.org/2000/svg\"],[\"id\",\"SVGRepo_bgCarrier\",\"stroke-width\",\"0\"],[\"id\",\"SVGRepo_tracerCarrier\",\"stroke-linecap\",\"round\",\"stroke-linejoin\",\"round\",\"stroke\",\"#CCCCCC\",\"stroke-width\",\"0.9120000000000001\"],[\"id\",\"SVGRepo_iconCarrier\"],[\"d\",\"M9.16998 14.83L14.83 9.17004\",\"stroke\",\"#ff0000\",\"stroke-width\",\"1.5\",\"stroke-linecap\",\"round\",\"stroke-linejoin\",\"round\"],[\"d\",\"M14.83 14.83L9.16998 9.17004\",\"stroke\",\"#ff0000\",\"stroke-width\",\"1.5\",\"stroke-linecap\",\"round\",\"stroke-linejoin\",\"round\"],[\"d\",\"M9 22H15C20 22 22 20 22 15V9C22 4 20 2 15 2H9C4 2 2 4 2 9V15C2 20 4 22 9 22Z\",\"stroke\",\"#ff0000\",\"stroke-width\",\"1.5\",\"stroke-linecap\",\"round\",\"stroke-linejoin\",\"round\"],[3,\"formGroup\"],[2,\"text-align\",\"center\",\"justify-content\",\"center\",\"align-items\",\"center\",\"padding-bottom\",\"2em\"],[1,\"gridCont\"],[\"style\",\"text-align: center; justify-content: center; align-items: center;\",4,\"ngIf\"],[\"class\",\"center\",4,\"ngIf\"],[1,\"center\"],[\"mat-raised-button\",\"\",\"color\",\"primary\",2,\"background-color\",\"#99FF66\",\"color\",\"black\",\"margin-top\",\"2%\",3,\"click\"],[\"translate\",\"\"],[1,\"fas\",\"fa-address-card\"],[\"appearance\",\"outline\",1,\"w70\"],[\"matInput\",\"\",\"type\",\"text\",\"formControlName\",\"alias\"],[\"matInput\",\"\",\"type\",\"text\",\"formControlName\",\"description\"],[2,\"text-align\",\"center\",\"justify-content\",\"center\",\"align-items\",\"center\"],[1,\"fas\",\"fa-calendar-alt\"],[\"matSuffix\",\"\",2,\"color\",\"black\",3,\"for\"],[\"picker\",\"\"],[\"matInput\",\"\",\"formControlName\",\"valid_from\",\"min\",\"2020-01-01\",\"required\",\"\",3,\"matDatepicker\"],[\"picker2\",\"\"],[\"matInput\",\"\",\"formControlName\",\"valid_to\",\"min\",\"2020-01-01\",\"required\",\"\",3,\"matDatepicker\"],[2,\"padding-top\",\"0.3em\"],[\"formControlName\",\"valid_for_all\",1,\"example-margin\",3,\"ngModelOptions\"],[\"matInput\",\"\",\"type\",\"text\",3,\"formControl\",\"matAutocomplete\",\"ngModelChange\"],[\"sub\",\"matAutocomplete\"],[3,\"value\",4,\"ngFor\",\"ngForOf\"],[3,\"value\"]],template:function(e,o){if(1&e&&(t.YNc(0,mu,1,0,\"app-loading-screen\",0),t.YNc(1,Ou,36,18,\"ng-template\",null,1,t.W1O)),2&e){const a=t.MAs(2);t.Q6J(\"ngIf\",o.isLoading)(\"ngIfElse\",a)}},directives:[v.O5,w.g,Rt.pW,l._Y,l.JL,l.sg,z.lW,U.Pi,_t.KE,_t.hX,Nt.Nt,l.Fj,l.JJ,l.u,ce.nW,_t.R9,ce.Mq,ce.hl,l.Q7,Ze.oG,Xt.ZL,l.oH,Xt.XC,v.sg,zt.ey],pipes:[U.X$],styles:[\"button[_ngcontent-%COMP%]:focus{outline:none!important;box-shadow:none!important;background-color:transparent!important}.content[_ngcontent-%COMP%]{width:70rem;height:40rem}.center[_ngcontent-%COMP%], td[_ngcontent-%COMP%], th[_ngcontent-%COMP%]{text-align:center;align-items:center;justify-content:center}table[_ngcontent-%COMP%]{width:100%}.click[_ngcontent-%COMP%]{cursor:pointer} .mat-calendar{background:linear-gradient(45deg,#A8A8A8,white)} .mat-calendar-body-cell-content{color:#000} .mat-calendar-body-label{color:#000} .mat-calendar-arrow{color:#000} .mat-calendar-body-today{background-color:#d2d5d6} .mat-calendar-body-selected{background-color:#7e8080;color:#fff}.gridCont[_ngcontent-%COMP%]{display:grid;grid-template-columns:50% 50%}.online[_ngcontent-%COMP%]{color:#fff;background-color:#43a7b5;padding:5px 10px 5px 7px;border-radius:10px;font-weight:bold}.offline[_ngcontent-%COMP%]{color:#fff;background-color:#d1156c;padding:5px 10px 5px 7px;border-radius:10px;font-weight:bold}@media (min-width: 1090px){.grid[_ngcontent-%COMP%]{display:grid;width:100%;grid-template-columns:50% 50%}.grid33[_ngcontent-%COMP%]{display:grid;width:100%;grid-template-columns:33% 33% 33%}.grid25[_ngcontent-%COMP%]{display:grid;width:100%;grid-template-columns:25% 25% 25% 25%}.grid20[_ngcontent-%COMP%]{display:grid;width:100%;grid-template-columns:20% 20% 20% 20% 20%}.w70[_ngcontent-%COMP%]{width:70%}.w35[_ngcontent-%COMP%]{width:35%}table[_ngcontent-%COMP%]{table-layout:fixed;width:100%;border-collapse:separate;border-spacing:0 2px}}@media (max-width: 1090px){.table[_ngcontent-%COMP%] thead[_ngcontent-%COMP%]{display:none}.table[_ngcontent-%COMP%], .table[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%], .table[_ngcontent-%COMP%] tr[_ngcontent-%COMP%], .table[_ngcontent-%COMP%] td[_ngcontent-%COMP%]{display:block;width:100%}.table[_ngcontent-%COMP%] tr[_ngcontent-%COMP%]{margin-bottom:15px}.table[_ngcontent-%COMP%] td[_ngcontent-%COMP%]{padding-left:40%;text-align:right;position:relative}.table[_ngcontent-%COMP%] td[_ngcontent-%COMP%]:before{content:attr(data-label);position:absolute;left:0;width:50%;padding-left:15px;font-size:15px;font-weight:bold;text-align:left}.mat-table[matTableResponsive][_ngcontent-%COMP%] .mat-header-row[_ngcontent-%COMP%]{display:block;flex-wrap:wrap;height:auto;position:sticky;top:0;z-index:2}.mat-table[matTableResponsive][_ngcontent-%COMP%] .mat-header-row[_ngcontent-%COMP%] th.mat-header-cell[_ngcontent-%COMP%]{display:flex;flex:1;align-items:center;padding:1rem .5rem;justify-content:left}.mat-table[matTableResponsive][_ngcontent-%COMP%] .mat-header-row[_ngcontent-%COMP%] th.mat-header-cell[_ngcontent-%COMP%] > .mat-sort-header-container[_ngcontent-%COMP%]{padding-left:15px}.mat-table[matTableResponsive][_ngcontent-%COMP%] .mat-header-row[_ngcontent-%COMP%] th.mat-header-cell[_ngcontent-%COMP%]:not([mat-sort-header]), .mat-table[matTableResponsive][_ngcontent-%COMP%] .mat-header-row[_ngcontent-%COMP%] th.mat-header-cell.mat-sort-header-disabled[_ngcontent-%COMP%], .mat-table[matTableResponsive][_ngcontent-%COMP%] .mat-header-row[_ngcontent-%COMP%] th.mat-header-cell.mat-column-actions[_ngcontent-%COMP%]{display:none}.mat-table[matTableResponsive][_ngcontent-%COMP%] .mat-row[_ngcontent-%COMP%]{height:auto}.mat-table[matTableResponsive][_ngcontent-%COMP%] .mat-row[_ngcontent-%COMP%] td.mat-cell[_ngcontent-%COMP%]:not(.mat-column-actions){display:grid;grid-template-columns:50% 50%;padding:.5rem;text-align:right;word-break:break-word}.mat-table[matTableResponsive][_ngcontent-%COMP%] .mat-row[_ngcontent-%COMP%] td.mat-cell[_ngcontent-%COMP%]:not(.mat-column-actions) > *[_ngcontent-%COMP%]{grid-column:2}.mat-table[matTableResponsive][_ngcontent-%COMP%] .mat-row[_ngcontent-%COMP%] td.mat-cell[_ngcontent-%COMP%]:not(.mat-column-actions):before{content:attr(data-column-name);text-align:left}.mat-table[matTableResponsive][_ngcontent-%COMP%] .mat-row[_ngcontent-%COMP%] td.mat-column-actions[_ngcontent-%COMP%]{display:flex;justify-content:center;padding:0 .5rem}.mat-table[matTableResponsive][_ngcontent-%COMP%] .mat-row[_ngcontent-%COMP%] td.mat-column-actions[_ngcontent-%COMP%] > button[_ngcontent-%COMP%]{margin:.5rem 0}.mat-table[matTableResponsive][_ngcontent-%COMP%] .mat-row[_ngcontent-%COMP%]:last-of-type td[_ngcontent-%COMP%]:last-of-type{border:none}.mat-table[matTableResponsive][_ngcontent-%COMP%] .mat-row[_ngcontent-%COMP%]:not(:last-of-type) td[_ngcontent-%COMP%]:last-of-type{border-bottom:.5rem solid #fafafa}.mat-card[_ngcontent-%COMP%] .mat-table[matTableResponsive][_ngcontent-%COMP%], .mat-expansion-panel[_ngcontent-%COMP%] .mat-table[matTableResponsive][_ngcontent-%COMP%]{border:.5rem solid #fafafa}img[_ngcontent-%COMP%]{width:0em;height:0em}.grid[_ngcontent-%COMP%]{display:grid;width:100%;grid-template-columns:100%}.w70[_ngcontent-%COMP%]{width:95%}.w35[_ngcontent-%COMP%]{width:95%}.grid33[_ngcontent-%COMP%]{display:grid;width:100%;grid-template-columns:100%}}input[type=color][_ngcontent-%COMP%], input[type=date][_ngcontent-%COMP%], input[type=datetime][_ngcontent-%COMP%], input[type=datetime-local][_ngcontent-%COMP%], input[type=email][_ngcontent-%COMP%], input[type=month][_ngcontent-%COMP%], input[type=number][_ngcontent-%COMP%], input[type=password][_ngcontent-%COMP%], input[type=search][_ngcontent-%COMP%], input[type=tel][_ngcontent-%COMP%], input[type=text][_ngcontent-%COMP%], input[type=time][_ngcontent-%COMP%], input[type=url][_ngcontent-%COMP%], input[type=week][_ngcontent-%COMP%], select[_ngcontent-%COMP%]:focus, textarea[_ngcontent-%COMP%]{font-size:16px}\"]}),n})();function yu(n,s){1&n&&t._UZ(0,\"app-loading-screen\")}function qu(n,s){1&n&&(t.TgZ(0,\"th\",39),t._uU(1),t.ALo(2,\"translate\"),t.qZA()),2&n&&(t.xp6(1),t.hij(\" \",t.lcZ(2,1,\"rag_soc\"),\" \"))}function Mu(n,s){if(1&n&&(t.TgZ(0,\"td\",40),t._uU(1),t.qZA()),2&n){const e=s.$implicit;t.xp6(1),t.hij(\" \",e.billing.business_name,\" \")}}function wu(n,s){1&n&&(t.TgZ(0,\"th\",39),t._uU(1),t.ALo(2,\"translate\"),t.qZA()),2&n&&(t.xp6(1),t.Oqu(t.lcZ(2,1,\"contact_email\")))}function Eu(n,s){if(1&n&&(t.TgZ(0,\"td\",40),t._uU(1),t.qZA()),2&n){const e=s.$implicit;t.xp6(1),t.hij(\" \",e.billing.contact_email,\" \")}}function ku(n,s){1&n&&(t.TgZ(0,\"th\",39),t._uU(1),t.ALo(2,\"translate\"),t.qZA()),2&n&&(t.xp6(1),t.hij(\" \",t.lcZ(2,1,\"codice_fiscale\"),\" \"))}function Uu(n,s){if(1&n&&(t.TgZ(0,\"td\",40),t._uU(1),t.qZA()),2&n){const e=s.$implicit;t.xp6(1),t.hij(\" \",e.billing.fiscal_code,\" \")}}function Iu(n,s){1&n&&(t.TgZ(0,\"th\",39),t._uU(1),t.ALo(2,\"translate\"),t.qZA()),2&n&&(t.xp6(1),t.hij(\" \",t.lcZ(2,1,\"indirizzo\"),\" \"))}function Nu(n,s){if(1&n&&(t.TgZ(0,\"td\",40),t._uU(1),t.qZA()),2&n){const e=s.$implicit;t.xp6(1),t.hij(\" \",e.billing.address.street+\" \"+e.billing.address.houseNumber+\" - \"+e.billing.address.city+\", \"+e.billing.address.province+\" \"+e.billing.address.zipCode+\" - \"+e.billing.address.country,\" \")}}function Su(n,s){1&n&&(t.TgZ(0,\"th\",39),t._uU(1),t.ALo(2,\"translate\"),t.qZA()),2&n&&(t.xp6(1),t.hij(\" \",t.lcZ(2,1,\"pec\"),\" \"))}function Lu(n,s){if(1&n&&(t.TgZ(0,\"td\",40),t._uU(1),t.qZA()),2&n){const e=s.$implicit;t.xp6(1),t.hij(\" \",e.billing.pec,\" \")}}function Du(n,s){1&n&&(t.TgZ(0,\"th\",39),t._uU(1),t.ALo(2,\"translate\"),t.qZA()),2&n&&(t.xp6(1),t.hij(\" \",t.lcZ(2,1,\"sdi\"),\" \"))}function Ru(n,s){if(1&n&&(t.TgZ(0,\"td\",40),t._uU(1),t.qZA()),2&n){const e=s.$implicit;t.xp6(1),t.hij(\" \",e.billing.sdi,\" \")}}function Fu(n,s){1&n&&(t.TgZ(0,\"th\",39),t._uU(1),t.ALo(2,\"translate\"),t.qZA()),2&n&&(t.xp6(1),t.hij(\" \",t.lcZ(2,1,\"tenant_id\"),\" \"))}function Gu(n,s){if(1&n&&(t.TgZ(0,\"td\",40),t._uU(1),t.qZA()),2&n){const e=s.$implicit;t.xp6(1),t.hij(\" \",e.billing.tenant_id,\" \")}}function Ju(n,s){1&n&&(t.TgZ(0,\"th\",39),t._uU(1),t.ALo(2,\"translate\"),t.qZA()),2&n&&(t.xp6(1),t.hij(\" \",t.lcZ(2,1,\"partita_iva\"),\" \"))}function Bu(n,s){if(1&n&&(t.TgZ(0,\"td\",40),t._uU(1),t.qZA()),2&n){const e=s.$implicit;t.xp6(1),t.hij(\" \",e.billing.vat,\" \")}}function Qu(n,s){1&n&&t._UZ(0,\"tr\",41)}function zu(n,s){1&n&&t._UZ(0,\"tr\",42)}const $u=function(){return[5,10,25,50,100]};function Yu(n,s){if(1&n){const e=t.EpF();t.TgZ(0,\"div\"),t.TgZ(1,\"div\",2),t._UZ(2,\"mat-progress-bar\",3),t.qZA(),t.TgZ(3,\"div\",4),t.TgZ(4,\"div\"),t.TgZ(5,\"div\",5),t.TgZ(6,\"a\"),t._uU(7),t.qZA(),t.qZA(),t.qZA(),t.TgZ(8,\"div\",6),t._UZ(9,\"img\",7),t._UZ(10,\"br\"),t.qZA(),t.TgZ(11,\"div\",8),t.TgZ(12,\"button\",9),t.NdJ(\"click\",function(){return t.CHM(e),t.oxw().dialog.close()}),t.O4$(),t.TgZ(13,\"svg\",10),t._UZ(14,\"g\",11),t._UZ(15,\"g\",12),t.TgZ(16,\"g\",13),t._UZ(17,\"path\",14),t._UZ(18,\"path\",15),t._UZ(19,\"path\",16),t.qZA(),t.qZA(),t.qZA(),t.qZA(),t.qZA(),t.kcU(),t.TgZ(20,\"div\",17),t.TgZ(21,\"div\",18),t.TgZ(22,\"div\",19),t.TgZ(23,\"div\",20),t.TgZ(24,\"div\",21),t.TgZ(25,\"h4\",22),t._uU(26),t.ALo(27,\"translate\"),t.qZA(),t.qZA(),t.TgZ(28,\"div\",23),t.TgZ(29,\"div\",24),t.TgZ(30,\"table\",25),t.ynx(31,26),t.YNc(32,qu,3,3,\"th\",27),t.YNc(33,Mu,2,1,\"td\",28),t.BQk(),t.ynx(34,29),t.YNc(35,wu,3,3,\"th\",27),t.YNc(36,Eu,2,1,\"td\",28),t.BQk(),t.ynx(37,30),t.YNc(38,ku,3,3,\"th\",27),t.YNc(39,Uu,2,1,\"td\",28),t.BQk(),t.ynx(40,31),t.YNc(41,Iu,3,3,\"th\",27),t.YNc(42,Nu,2,1,\"td\",28),t.BQk(),t.ynx(43,32),t.YNc(44,Su,3,3,\"th\",27),t.YNc(45,Lu,2,1,\"td\",28),t.BQk(),t.ynx(46,33),t.YNc(47,Du,3,3,\"th\",27),t.YNc(48,Ru,2,1,\"td\",28),t.BQk(),t.ynx(49,34),t.YNc(50,Fu,3,3,\"th\",27),t.YNc(51,Gu,2,1,\"td\",28),t.BQk(),t.ynx(52,35),t.YNc(53,Ju,3,3,\"th\",27),t.YNc(54,Bu,2,1,\"td\",28),t.BQk(),t.YNc(55,Qu,1,0,\"tr\",36),t.YNc(56,zu,1,0,\"tr\",37),t.qZA(),t.TgZ(57,\"mat-paginator\",38),t.NdJ(\"page\",function(a){return t.CHM(e),t.oxw().handlePageCp(a)}),t.qZA(),t.qZA(),t.qZA(),t.qZA(),t.qZA(),t.qZA(),t.qZA(),t.qZA()}if(2&n){const e=t.oxw();t.xp6(2),t.Q6J(\"color\",\"primary\")(\"mode\",\"determinate\")(\"value\",100)(\"bufferValue\",30),t.xp6(5),t.Oqu(e.input.offer.alias),t.xp6(19),t.Oqu(t.lcZ(27,12,\"dati_fatt\")),t.xp6(4),t.Q6J(\"dataSource\",e.dataSource),t.xp6(25),t.Q6J(\"matHeaderRowDef\",e.displayedColumns),t.xp6(1),t.Q6J(\"matRowDefColumns\",e.displayedColumns),t.xp6(1),t.Q6J(\"pageSize\",e.pageSizeCp)(\"pageSizeOptions\",t.DdM(14,$u))(\"length\",e.lengthCp)}}let Vu=(()=>{class n{constructor(e,o){this.input=e,this.dialog=o,this.dataSource=new M.by,this.subscribers=[],this.isLoading=!0,this.displayedColumns=[\"business_name\",\"contact_email\",\"fiscal_code\",\"address\",\"pec\",\"sdi\",\"tenant_id\",\"vat\"]}ngOnInit(){this.isLoading=!0,console.log(this.input.offer),this.input.offer.subscribers.forEach(e=>{this.dataSource.data.push(e)}),console.log(this.dataSource.data),this.isLoading=!1}}return n.\\u0275fac=function(e){return new(e||n)(t.Y36(O.WI),t.Y36(O.so))},n.\\u0275cmp=t.Xpm({type:n,selectors:[[\"app-info-pub-offers\"]],decls:4,vars:2,consts:[[4,\"ngIf\",\"ngIfElse\"],[\"main\",\"\"],[2,\"padding-top\",\"1em\",\"padding-bottom\",\"1em\"],[3,\"color\",\"mode\",\"value\",\"bufferValue\"],[2,\"display\",\"grid\",\"grid-template-columns\",\"33.33% 33.33% 33.33%\"],[2,\"padding\",\"1em\",\"font-size\",\"2em\",\"font-weight\",\"200\",\"color\",\"#1b00b1a1\"],[2,\"text-align\",\"center\"],[\"src\",\"https://cdn0.iconfinder.com/data/icons/social-productivity-line-art-2/128/payment-2-512.png\",\"height\",\"100\"],[2,\"justify-self\",\"flex-end\"],[1,\"buttonX\",3,\"click\"],[\"width\",\"45px\",\"height\",\"45px\",\"viewBox\",\"0 0 24 24\",\"fill\",\"none\",\"xmlns\",\"http://www.w3.org/2000/svg\"],[\"id\",\"SVGRepo_bgCarrier\",\"stroke-width\",\"0\"],[\"id\",\"SVGRepo_tracerCarrier\",\"stroke-linecap\",\"round\",\"stroke-linejoin\",\"round\",\"stroke\",\"#CCCCCC\",\"stroke-width\",\"0.9120000000000001\"],[\"id\",\"SVGRepo_iconCarrier\"],[\"d\",\"M9.16998 14.83L14.83 9.17004\",\"stroke\",\"#ff0000\",\"stroke-width\",\"1.5\",\"stroke-linecap\",\"round\",\"stroke-linejoin\",\"round\"],[\"d\",\"M14.83 14.83L9.16998 9.17004\",\"stroke\",\"#ff0000\",\"stroke-width\",\"1.5\",\"stroke-linecap\",\"round\",\"stroke-linejoin\",\"round\"],[\"d\",\"M9 22H15C20 22 22 20 22 15V9C22 4 20 2 15 2H9C4 2 2 4 2 9V15C2 20 4 22 9 22Z\",\"stroke\",\"#ff0000\",\"stroke-width\",\"1.5\",\"stroke-linecap\",\"round\",\"stroke-linejoin\",\"round\"],[1,\"container-fluid\",\"default-mt-btn\",\"default-mt-table\",\"default-mt-select\",\"default-autocomplete\",\"default-mt-spinner\"],[1,\"row\"],[1,\"col-xl-12\",\"col-xxl-12\"],[1,\"card\"],[1,\"card-header\",\"d-block\"],[1,\"card-title\"],[1,\"card-body\"],[1,\"mat-elevation-z8\",\"table-responsive\"],[\"matTableResponsive\",\"\",\"mat-table\",\"\",3,\"dataSource\"],[\"matColumnDef\",\"business_name\"],[\"mat-header-cell\",\"\",\"class\",\"header-cell\",4,\"matHeaderCellDef\"],[\"mat-cell\",\"\",4,\"matCellDef\"],[\"matColumnDef\",\"contact_email\"],[\"matColumnDef\",\"fiscal_code\"],[\"matColumnDef\",\"address\"],[\"matColumnDef\",\"pec\"],[\"matColumnDef\",\"sdi\"],[\"matColumnDef\",\"tenant_id\"],[\"matColumnDef\",\"vat\"],[\"mat-header-row\",\"\",4,\"matHeaderRowDef\"],[\"mat-row\",\"\",4,\"matRowDef\",\"matRowDefColumns\"],[\"showFirstLastButtons\",\"\",3,\"pageSize\",\"pageSizeOptions\",\"length\",\"page\"],[\"mat-header-cell\",\"\",1,\"header-cell\"],[\"mat-cell\",\"\"],[\"mat-header-row\",\"\"],[\"mat-row\",\"\"]],template:function(e,o){if(1&e&&(t.TgZ(0,\"body\"),t.YNc(1,yu,1,0,\"app-loading-screen\",0),t.YNc(2,Yu,58,15,\"ng-template\",null,1,t.W1O),t.qZA()),2&e){const a=t.MAs(3);t.xp6(1),t.Q6J(\"ngIf\",o.isLoading)(\"ngIfElse\",a)}},directives:[v.O5,w.g,Rt.pW,M.BZ,Ft.F,M.w1,M.fO,M.Dz,M.as,M.nj,X.NW,M.ge,M.ev,M.XQ,M.Gk],pipes:[U.X$],styles:[\"table[_ngcontent-%COMP%]{width:100%}body[_ngcontent-%COMP%]{background-color:#eef1f3!important}.header-cell[_ngcontent-%COMP%], td[_ngcontent-%COMP%], th[_ngcontent-%COMP%]{text-align:center;align-items:center;justify-content:center}.title[_ngcontent-%COMP%]{font-size:32px;font-weight:bold}.detail[_ngcontent-%COMP%]{font-size:16px}ol[_ngcontent-%COMP%]{padding-top:1em}.online[_ngcontent-%COMP%]{color:#fff;background-color:#43a7b5;font-weight:bold;padding:5px 10px 5px 7px;border-radius:10px}.offline[_ngcontent-%COMP%]{color:#fff;background-color:#d1156c;font-weight:bold;padding:5px 10px 5px 7px;border-radius:10px}.onlineCon[_ngcontent-%COMP%]{color:#43a7b5}.offlineCon[_ngcontent-%COMP%]{color:#d1156c}.chargingCon[_ngcontent-%COMP%]{color:#f29f1d}.reservedCon[_ngcontent-%COMP%]{color:#2c626a}@media (max-width: 1090px){.table[_ngcontent-%COMP%] thead[_ngcontent-%COMP%]{display:none}.table[_ngcontent-%COMP%], .table[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%], .table[_ngcontent-%COMP%] tr[_ngcontent-%COMP%], .table[_ngcontent-%COMP%] td[_ngcontent-%COMP%]{display:block;width:100%}.table[_ngcontent-%COMP%] tr[_ngcontent-%COMP%]{margin-bottom:15px}.table[_ngcontent-%COMP%] td[_ngcontent-%COMP%]{padding-left:50%;text-align:right;position:relative}.table[_ngcontent-%COMP%] td[_ngcontent-%COMP%]:before{content:attr(data-label);position:absolute;left:0;width:50%;padding-left:15px;font-size:15px;font-weight:bold;text-align:left}.mat-table[matTableResponsive][_ngcontent-%COMP%] .mat-header-row[_ngcontent-%COMP%]{display:block;flex-wrap:wrap;height:auto;position:sticky;top:0;z-index:2}.mat-table[matTableResponsive][_ngcontent-%COMP%] .mat-header-row[_ngcontent-%COMP%] th.mat-header-cell[_ngcontent-%COMP%]{display:flex;flex:1;align-items:center;padding:1rem .5rem;justify-content:left}.mat-table[matTableResponsive][_ngcontent-%COMP%] .mat-header-row[_ngcontent-%COMP%] th.mat-header-cell[_ngcontent-%COMP%] > .mat-sort-header-container[_ngcontent-%COMP%]{padding-left:15px}.mat-table[matTableResponsive][_ngcontent-%COMP%] .mat-header-row[_ngcontent-%COMP%] th.mat-header-cell[_ngcontent-%COMP%]:not([mat-sort-header]), .mat-table[matTableResponsive][_ngcontent-%COMP%] .mat-header-row[_ngcontent-%COMP%] th.mat-header-cell.mat-sort-header-disabled[_ngcontent-%COMP%], .mat-table[matTableResponsive][_ngcontent-%COMP%] .mat-header-row[_ngcontent-%COMP%] th.mat-header-cell.mat-column-actions[_ngcontent-%COMP%]{display:none}.mat-table[matTableResponsive][_ngcontent-%COMP%] .mat-row[_ngcontent-%COMP%]{height:auto}.mat-table[matTableResponsive][_ngcontent-%COMP%] .mat-row[_ngcontent-%COMP%] td.mat-cell[_ngcontent-%COMP%]:not(.mat-column-actions){display:grid;grid-template-columns:50% 50%;padding:.5rem;text-align:right;word-break:break-word}.mat-table[matTableResponsive][_ngcontent-%COMP%] .mat-row[_ngcontent-%COMP%] td.mat-cell[_ngcontent-%COMP%]:not(.mat-column-actions) > *[_ngcontent-%COMP%]{grid-column:2}.mat-table[matTableResponsive][_ngcontent-%COMP%] .mat-row[_ngcontent-%COMP%] td.mat-cell[_ngcontent-%COMP%]:not(.mat-column-actions):before{content:attr(data-column-name);text-align:left}.mat-table[matTableResponsive][_ngcontent-%COMP%] .mat-row[_ngcontent-%COMP%] td.mat-column-actions[_ngcontent-%COMP%]{display:flex;justify-content:center;padding:0 .5rem}.mat-table[matTableResponsive][_ngcontent-%COMP%] .mat-row[_ngcontent-%COMP%] td.mat-column-actions[_ngcontent-%COMP%] > button[_ngcontent-%COMP%]{margin:.5rem 0}.mat-table[matTableResponsive][_ngcontent-%COMP%] .mat-row[_ngcontent-%COMP%]:last-of-type td[_ngcontent-%COMP%]:last-of-type{border:none}.mat-table[matTableResponsive][_ngcontent-%COMP%] .mat-row[_ngcontent-%COMP%]:not(:last-of-type) td[_ngcontent-%COMP%]:last-of-type{border-bottom:.5rem solid #6C757D}.mat-card[_ngcontent-%COMP%] .mat-table[matTableResponsive][_ngcontent-%COMP%], .mat-expansion-panel[_ngcontent-%COMP%] .mat-table[matTableResponsive][_ngcontent-%COMP%]{border:.5rem solid #6C757D}img[_ngcontent-%COMP%]{width:0em;height:0em}.grid[_ngcontent-%COMP%]{display:grid;width:100%;grid-template-columns:100%}.w70[_ngcontent-%COMP%]{width:95%}.w35[_ngcontent-%COMP%]{width:95%}.padding[_ngcontent-%COMP%]{padding-bottom:15%}}@media (min-width: 1090px){.grid[_ngcontent-%COMP%]{display:grid;width:100%;grid-template-columns:50% 50%}.grid33[_ngcontent-%COMP%]{display:grid;width:100%;grid-template-columns:33% 33% 33%}.grid25[_ngcontent-%COMP%]{display:grid;width:100%;grid-template-columns:25% 25% 25% 25%}.grid20[_ngcontent-%COMP%]{display:grid;width:100%;grid-template-columns:20% 20% 20% 20% 20%}.w70[_ngcontent-%COMP%]{width:70%}.w35[_ngcontent-%COMP%]{width:35%}table[_ngcontent-%COMP%]{table-layout:fixed;width:100%;border-collapse:separate;border-spacing:0 2px}.padding[_ngcontent-%COMP%]{padding-bottom:0%}}\"]}),n})();function ju(n,s){1&n&&(t.TgZ(0,\"div\",35),t._UZ(1,\"app-loading-screen\"),t.qZA())}function Wu(n,s){1&n&&(t.TgZ(0,\"th\",36),t._uU(1),t.ALo(2,\"translate\"),t.qZA()),2&n&&(t.xp6(1),t.hij(\" \",t.lcZ(2,1,\"des\"),\" \"))}function Hu(n,s){if(1&n){const e=t.EpF();t.TgZ(0,\"td\",37),t.NdJ(\"click\",function(){const d=t.CHM(e).$implicit;return t.oxw().infoOffer(d)}),t._uU(1),t.qZA()}if(2&n){const e=s.$implicit;t.xp6(1),t.hij(\" \",e.description,\" \")}}function Ku(n,s){1&n&&(t.TgZ(0,\"th\",36),t._uU(1),t.ALo(2,\"translate\"),t.qZA()),2&n&&(t.xp6(1),t.hij(\" \",t.lcZ(2,1,\"nome\"),\" \"))}function Xu(n,s){if(1&n){const e=t.EpF();t.TgZ(0,\"td\",37),t.NdJ(\"click\",function(){const d=t.CHM(e).$implicit;return t.oxw().infoOffer(d)}),t._uU(1),t.qZA()}if(2&n){const e=s.$implicit;t.xp6(1),t.hij(\" \",e.alias,\" \")}}function t_(n,s){1&n&&(t.TgZ(0,\"th\",36),t._uU(1),t.ALo(2,\"translate\"),t.qZA()),2&n&&(t.xp6(1),t.hij(\" \",t.lcZ(2,1,\"stato\"),\" \"))}function e_(n,s){if(1&n){const e=t.EpF();t.TgZ(0,\"td\",37),t.NdJ(\"click\",function(){const d=t.CHM(e).$implicit;return t.oxw().infoOffer(d)}),t._uU(1),t.qZA()}if(2&n){const e=s.$implicit;t.xp6(1),t.hij(\" \",e.status,\" \")}}function n_(n,s){1&n&&(t.TgZ(0,\"th\",36),t._uU(1),t.ALo(2,\"translate\"),t.qZA()),2&n&&(t.xp6(1),t.hij(\" \",t.lcZ(2,1,\"offerer_tenant_id\"),\" \"))}function o_(n,s){if(1&n){const e=t.EpF();t.TgZ(0,\"td\",37),t.NdJ(\"click\",function(){const d=t.CHM(e).$implicit;return t.oxw().infoOffer(d)}),t._uU(1),t.qZA()}if(2&n){const e=s.$implicit;t.xp6(1),t.hij(\" \",e.offerer_tenant_id,\" \")}}function i_(n,s){1&n&&(t.TgZ(0,\"th\",36),t._uU(1),t.ALo(2,\"translate\"),t.qZA()),2&n&&(t.xp6(1),t.hij(\" \",t.lcZ(2,1,\"valid_all\"),\" \"))}const a_=function(n,s){return{yes:n,no:s}};function r_(n,s){if(1&n){const e=t.EpF();t.TgZ(0,\"td\",37),t.NdJ(\"click\",function(){const d=t.CHM(e).$implicit;return t.oxw().infoOffer(d)}),t.TgZ(1,\"div\",38),t._uU(2),t.ALo(3,\"translate\"),t.ALo(4,\"translate\"),t.qZA(),t.qZA()}if(2&n){const e=s.$implicit;t.xp6(1),t.Q6J(\"ngClass\",t.WLB(6,a_,e.valid_for_all,!e.valid_for_all)),t.xp6(1),t.hij(\" \",e.valid_for_all?t.lcZ(3,2,\"si\"):t.lcZ(4,4,\"no\"),\" \")}}function s_(n,s){1&n&&(t.TgZ(0,\"th\",36),t._uU(1),t.ALo(2,\"translate\"),t.qZA()),2&n&&(t.xp6(1),t.hij(\" \",t.lcZ(2,1,\"data_rilascio\"),\" \"))}function l_(n,s){if(1&n){const e=t.EpF();t.TgZ(0,\"td\",37),t.NdJ(\"click\",function(){const d=t.CHM(e).$implicit;return t.oxw().infoOffer(d)}),t._uU(1),t.ALo(2,\"date\"),t.qZA()}if(2&n){const e=s.$implicit;t.xp6(1),t.hij(\" \",t.xi3(2,1,e.valid_from,\"dd/MM/yyyy\"),\" \")}}function c_(n,s){1&n&&(t.TgZ(0,\"th\",36),t._uU(1),t.ALo(2,\"translate\"),t.qZA()),2&n&&(t.xp6(1),t.hij(\" \",t.lcZ(2,1,\"data_scadenza\"),\" \"))}function p_(n,s){if(1&n){const e=t.EpF();t.TgZ(0,\"td\",37),t.NdJ(\"click\",function(){const d=t.CHM(e).$implicit;return t.oxw().infoOffer(d)}),t._uU(1),t.ALo(2,\"date\"),t.qZA()}if(2&n){const e=s.$implicit;t.xp6(1),t.hij(\" \",t.xi3(2,1,e.valid_to,\"dd/MM/yyyy\"),\" \")}}function d_(n,s){1&n&&(t.TgZ(0,\"th\",39),t._uU(1),t.ALo(2,\"translate\"),t.qZA()),2&n&&(t.xp6(1),t.hij(\" \",t.lcZ(2,1,\"azioni\"),\" \"))}function g_(n,s){if(1&n){const e=t.EpF();t.TgZ(0,\"button\",9),t.NdJ(\"click\",function(){t.CHM(e);const a=t.oxw().$implicit;return t.oxw().enable(a)}),t._UZ(1,\"i\",49),t._uU(2,\"\\xa0 \"),t.TgZ(3,\"span\",45),t._uU(4),t.ALo(5,\"translate\"),t.qZA(),t.qZA()}2&n&&(t.xp6(4),t.Oqu(t.lcZ(5,1,\"attiva\")))}function m_(n,s){if(1&n){const e=t.EpF();t.TgZ(0,\"button\",9),t.NdJ(\"click\",function(){t.CHM(e);const a=t.oxw().$implicit;return t.oxw().enable(a)}),t._UZ(1,\"i\",50),t._uU(2,\"\\xa0 \"),t.TgZ(3,\"span\",45),t._uU(4),t.ALo(5,\"translate\"),t.qZA(),t.qZA()}2&n&&(t.xp6(4),t.Oqu(t.lcZ(5,1,\"disattiva\")))}function u_(n,s){if(1&n){const e=t.EpF();t.TgZ(0,\"td\",40),t.TgZ(1,\"div\",41),t.TgZ(2,\"div\",42),t.TgZ(3,\"div\",43),t.TgZ(4,\"button\",9),t.NdJ(\"click\",function(){const d=t.CHM(e).$implicit;return t.oxw().confirmDialog(d.id)}),t._UZ(5,\"i\",44),t._uU(6,\"\\xa0 \"),t.TgZ(7,\"span\",45),t._uU(8),t.ALo(9,\"translate\"),t.qZA(),t.qZA(),t._uU(10,\"\\xa0 \"),t.TgZ(11,\"button\",9),t.NdJ(\"click\",function(){const d=t.CHM(e).$implicit;return t.oxw().updateOffer(d)}),t._UZ(12,\"i\",46),t._uU(13,\"\\xa0 \"),t.TgZ(14,\"span\",45),t._uU(15),t.ALo(16,\"translate\"),t.qZA(),t.qZA(),t._uU(17,\"\\xa0 \"),t.TgZ(18,\"button\",9),t.NdJ(\"click\",function(){const d=t.CHM(e).$implicit;return t.oxw().renew(d)}),t._UZ(19,\"i\",47),t._uU(20,\"\\xa0 \"),t.TgZ(21,\"span\",45),t._uU(22),t.ALo(23,\"translate\"),t.qZA(),t.qZA(),t._uU(24,\"\\xa0 \"),t.YNc(25,g_,6,3,\"button\",48),t._uU(26,\"\\xa0 \"),t.YNc(27,m_,6,3,\"button\",48),t._uU(28,\"\\xa0 \"),t.qZA(),t.qZA(),t.qZA(),t.qZA()}if(2&n){const e=s.$implicit,o=t.oxw();t.xp6(8),t.Oqu(t.lcZ(9,5,\"elimina\")),t.xp6(7),t.Oqu(t.lcZ(16,7,\"modifica\")),t.xp6(7),t.Oqu(t.lcZ(23,9,\"rinnova\")),t.xp6(3),t.Q6J(\"ngIf\",!o.isActive(e.status)),t.xp6(2),t.Q6J(\"ngIf\",o.isActive(e.status))}}function __(n,s){1&n&&t._UZ(0,\"tr\",51)}function h_(n,s){1&n&&t._UZ(0,\"tr\",52)}const f_=function(){return[5,10,25,50,100]};let Z_=(()=>{class n{constructor(e,o,a,d){this.offerService=e,this.dialog=o,this.translate=a,this.notifyService=d,this.dataSource=new M.by,this.isLoading=!0,this.data=JSON.parse(b().get(\"dataEmpCpo\",{decrypt:!0})),this.displayedColumns=[\"name\",\"alias\",\"status\",\"offerer_tenant\",\"valid_all\",\"valid_from\",\"valid_to\",\"actions\"],this.result=\"\"}ngOnInit(){return(0,C.mG)(this,void 0,void 0,function*(){this.isLoading=!0,yield this.refresh().then(()=>{this.isLoading=!1})})}refreshPage(){return(0,C.mG)(this,void 0,void 0,function*(){yield this.refresh()})}refresh(){return(0,C.mG)(this,void 0,void 0,function*(){this.isLoading=!0,this.dataSource.data=yield this.offerService.getOffersCpo().toPromise(),console.log(this.dataSource.data),this.isLoading=!1})}confirmDialog(e){const o=this.translate.instant(\"del_offer\"),a=new ht.f(this.translate.instant(\"conf_az\"),o);this.dialog.open(ht.z,{maxWidth:\"400px\",data:a}).afterClosed().subscribe(h=>{this.result=h,h&&this.delete(e)})}delete(e){try{this.offerService.deleteOffersCpo(e).toPromise().then(()=>{this.refresh(),this.notifyService.showSuccess(this.translate.instant(\"del_offer_message\"),this.translate.instant(\"ok\"))})}catch(o){this.notifyService.showError(this.translate.instant(\"semplice_err\"),this.translate.instant(\"errore\")),console.error(o.message)}}add(){this.update=!1,this.dialog.open(te,{maxHeight:\"100vh\",minWidth:\"65vw\",disableClose:!0,data:{update:this.update,offer:null,val:1}}).afterClosed().toPromise().then(()=>this.refresh())}updateOffer(e){this.update=!0,this.dialog.open(te,{maxHeight:\"100vh\",minWidth:\"65vw\",disableClose:!0,data:{update:this.update,offer:e,val:2}}).afterClosed().toPromise().then(()=>this.refresh())}renew(e){this.update=!0,this.dialog.open(te,{maxHeight:\"100vh\",minWidth:\"65vw\",disableClose:!0,data:{update:this.update,offer:e,val:3}}).afterClosed().toPromise().then(()=>this.refresh())}infoOffer(e){this.dialog.open(Vu,{height:\"80vh\",data:{offer:e}})}isActive(e){return\"ACTIVE\"==e}enable(e){if(\"ACTIVE\"==e.status){const o=this.translate.instant(\"deactive_offer\"),a=new ht.f(this.translate.instant(\"conf_az\"),o);this.dialog.open(ht.z,{maxWidth:\"400px\",data:a}).afterClosed().subscribe(h=>{this.result=h,h&&this.offerService.deactivateOffer(e).toPromise().then(()=>this.refresh())})}else{const o=this.translate.instant(\"active_offer\"),a=new ht.f(this.translate.instant(\"conf_az\"),o);this.dialog.open(ht.z,{maxWidth:\"400px\",data:a}).afterClosed().subscribe(h=>{this.result=h,h&&this.offerService.activateOffer(e).toPromise().then(()=>this.refresh())})}}}return n.\\u0275fac=function(e){return new(e||n)(t.Y36(fe),t.Y36(O.uw),t.Y36(U.sK),t.Y36(K.m))},n.\\u0275cmp=t.Xpm({type:n,selectors:[[\"app-pub-offers\"]],decls:56,vars:14,consts:[[1,\"content-body\"],[1,\"container-fluid\",\"default-mt-btn\",\"default-mt-table\",\"default-mt-select\",\"default-autocomplete\",\"default-mt-spinner\"],[1,\"header-cell\",\"top\"],[\"testDiv\",\"\"],[\"mat-raised-button\",\"\",1,\"button\",3,\"click\"],[1,\"flaticon-067-plus\",2,\"color\",\"#6C757D\"],[\"translate\",\"\",2,\"color\",\"#6C757D\"],[2,\"padding-bottom\",\"1%\"],[\"ngbDropdown\",\"\"],[\"mat-raised-button\",\"\",3,\"click\"],[1,\"fas\",\"fa-redo\",2,\"color\",\"#6C757D\"],[1,\"row\"],[1,\"col-xl-12\",\"col-xxl-12\"],[1,\"card\"],[1,\"card-header\",\"d-block\"],[1,\"fs-32\",\"card-title\",\"left\",\"text-black\"],[1,\"card-body\"],[1,\"mat-elevation-z8\",\"table-responsive\"],[\"class\",\"loading\",4,\"ngIf\"],[\"matTableResponsive\",\"\",\"mat-table\",\"\",\"matSort\",\"\",3,\"hidden\",\"dataSource\"],[\"matColumnDef\",\"name\"],[\"mat-header-cell\",\"\",\"mat-sort-header\",\"\",\"class\",\"header-cell\",4,\"matHeaderCellDef\"],[\"mat-cell\",\"\",3,\"click\",4,\"matCellDef\"],[\"matColumnDef\",\"alias\"],[\"matColumnDef\",\"status\"],[\"matColumnDef\",\"offerer_tenant\"],[\"matColumnDef\",\"valid_all\"],[\"matColumnDef\",\"valid_from\"],[\"matColumnDef\",\"valid_to\"],[\"matColumnDef\",\"actions\"],[\"mat-header-cell\",\"\",\"class\",\"header-cell\",4,\"matHeaderCellDef\"],[\"mat-cell\",\"\",4,\"matCellDef\"],[\"mat-header-row\",\"\",4,\"matHeaderRowDef\"],[\"mat-row\",\"\",4,\"matRowDef\",\"matRowDefColumns\"],[\"showFirstLastButtons\",\"\",3,\"pageSizeOptions\",\"pageSize\"],[1,\"loading\"],[\"mat-header-cell\",\"\",\"mat-sort-header\",\"\",1,\"header-cell\"],[\"mat-cell\",\"\",3,\"click\"],[3,\"ngClass\"],[\"mat-header-cell\",\"\",1,\"header-cell\"],[\"mat-cell\",\"\"],[1,\"actions\"],[1,\"btn-toolbar\"],[1,\"btn-group\"],[1,\"flaticon-381-trash\",2,\"color\",\"#6C757D\"],[2,\"color\",\"#6C757D\"],[1,\"flaticon-062-pencil\",2,\"color\",\"#6C757D\"],[1,\"fas\",\"fa-file-contract\",2,\"color\",\"#6C757D\"],[\"mat-raised-button\",\"\",3,\"click\",4,\"ngIf\"],[1,\"fas\",\"fa-check\",2,\"color\",\"#6C757D\"],[1,\"fas\",\"fa-minus\",2,\"color\",\"#6C757D\"],[\"mat-header-row\",\"\"],[\"mat-row\",\"\"]],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\",null,3),t.TgZ(5,\"button\",4),t.NdJ(\"click\",function(){return o.add()}),t._UZ(6,\"i\",5),t._uU(7,\"\\xa0 \"),t.TgZ(8,\"span\",6),t._uU(9),t.ALo(10,\"translate\"),t.qZA(),t.qZA(),t.qZA(),t._UZ(11,\"div\",7),t._UZ(12,\"div\",7),t.TgZ(13,\"div\",8),t.TgZ(14,\"button\",9),t.NdJ(\"click\",function(){return o.refreshPage()}),t._UZ(15,\"i\",10),t._uU(16,\"\\xa0 \"),t.qZA(),t._uU(17,\"\\xa0 \"),t.qZA(),t.qZA(),t.TgZ(18,\"div\",11),t.TgZ(19,\"div\",12),t.TgZ(20,\"div\",13),t.TgZ(21,\"div\",14),t.TgZ(22,\"h4\",15),t._uU(23),t.ALo(24,\"translate\"),t.qZA(),t.qZA(),t.TgZ(25,\"div\",16),t.TgZ(26,\"div\",17),t.YNc(27,ju,2,0,\"div\",18),t.TgZ(28,\"table\",19),t.ynx(29,20),t.YNc(30,Wu,3,3,\"th\",21),t.YNc(31,Hu,2,1,\"td\",22),t.BQk(),t.ynx(32,23),t.YNc(33,Ku,3,3,\"th\",21),t.YNc(34,Xu,2,1,\"td\",22),t.BQk(),t.ynx(35,24),t.YNc(36,t_,3,3,\"th\",21),t.YNc(37,e_,2,1,\"td\",22),t.BQk(),t.ynx(38,25),t.YNc(39,n_,3,3,\"th\",21),t.YNc(40,o_,2,1,\"td\",22),t.BQk(),t.ynx(41,26),t.YNc(42,i_,3,3,\"th\",21),t.YNc(43,r_,5,9,\"td\",22),t.BQk(),t.ynx(44,27),t.YNc(45,s_,3,3,\"th\",21),t.YNc(46,l_,3,4,\"td\",22),t.BQk(),t.ynx(47,28),t.YNc(48,c_,3,3,\"th\",21),t.YNc(49,p_,3,4,\"td\",22),t.BQk(),t.ynx(50,29),t.YNc(51,d_,3,3,\"th\",30),t.YNc(52,u_,29,11,\"td\",31),t.BQk(),t.YNc(53,__,1,0,\"tr\",32),t.YNc(54,h_,1,0,\"tr\",33),t.qZA(),t._UZ(55,\"mat-paginator\",34),t.qZA(),t.qZA(),t.qZA(),t.qZA(),t.qZA(),t.qZA(),t.qZA()),2&e&&(t.xp6(9),t.Oqu(t.lcZ(10,9,\"add_offer\")),t.xp6(14),t.Oqu(t.lcZ(24,11,\"pub_offers\")),t.xp6(4),t.Q6J(\"ngIf\",o.isLoading),t.xp6(1),t.Q6J(\"hidden\",o.isLoading)(\"dataSource\",o.dataSource),t.xp6(25),t.Q6J(\"matHeaderRowDef\",o.displayedColumns),t.xp6(1),t.Q6J(\"matRowDefColumns\",o.displayedColumns),t.xp6(1),t.Q6J(\"pageSizeOptions\",t.DdM(13,f_))(\"pageSize\",25))},directives:[z.lW,U.Pi,yt.jt,v.O5,M.BZ,Ft.F,wt.YE,M.w1,M.fO,M.Dz,M.as,M.nj,X.NW,w.g,M.ge,wt.nU,M.ev,v.mk,H.oO,M.XQ,M.Gk],pipes:[U.X$,v.uU],styles:[\"table[_ngcontent-%COMP%]{width:100%}.actions[_ngcontent-%COMP%]{padding-top:1em;padding-bottom:1em}[_nghost-%COMP%] .mat-sort-header-container{display:flex;justify-content:center;padding-left:18px}button[_ngcontent-%COMP%]{color:#5c8548!important}.header-cell[_ngcontent-%COMP%], td[_ngcontent-%COMP%], th[_ngcontent-%COMP%]{text-align:center;align-items:center;justify-content:center}.mat-form-field[_ngcontent-%COMP%]{font-size:14px;width:100%}.yes[_ngcontent-%COMP%]{color:#099}.no[_ngcontent-%COMP%]{color:#b40053}.top[_ngcontent-%COMP%]{padding-bottom:2em}.left[_ngcontent-%COMP%]{float:left;font-size:2vw}.detail[_ngcontent-%COMP%]{font-size:16px}.input[_ngcontent-%COMP%]{height:4vh;border-color:#000;background-color:#e8f0fe}@media (max-width: 1090px){.table[_ngcontent-%COMP%] thead[_ngcontent-%COMP%]{display:none}.table[_ngcontent-%COMP%], .table[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%], .table[_ngcontent-%COMP%] tr[_ngcontent-%COMP%], .table[_ngcontent-%COMP%] td[_ngcontent-%COMP%]{display:block;width:100%}.table[_ngcontent-%COMP%] tr[_ngcontent-%COMP%]{margin-bottom:15px}.table[_ngcontent-%COMP%] td[_ngcontent-%COMP%]{padding-left:50%;text-align:right;position:relative}.table[_ngcontent-%COMP%] td[_ngcontent-%COMP%]:before{content:attr(data-label);position:absolute;left:0;width:50%;padding-left:15px;font-size:15px;font-weight:bold;text-align:left}.padding[_ngcontent-%COMP%]{padding-bottom:15%}}\"]}),n})();function C_(n,s){1&n&&(t.TgZ(0,\"div\",31),t._UZ(1,\"app-loading-screen\"),t.qZA())}function v_(n,s){1&n&&(t.TgZ(0,\"th\",32),t._uU(1),t.ALo(2,\"translate\"),t.qZA()),2&n&&(t.xp6(1),t.hij(\" \",t.lcZ(2,1,\"des\"),\" \"))}function b_(n,s){if(1&n&&(t.TgZ(0,\"td\",33),t._uU(1),t.qZA()),2&n){const e=s.$implicit;t.xp6(1),t.hij(\" \",e.description,\" \")}}function A_(n,s){1&n&&(t.TgZ(0,\"th\",32),t._uU(1),t.ALo(2,\"translate\"),t.qZA()),2&n&&(t.xp6(1),t.hij(\" \",t.lcZ(2,1,\"nome\"),\" \"))}function x_(n,s){if(1&n&&(t.TgZ(0,\"td\",33),t._uU(1),t.qZA()),2&n){const e=s.$implicit;t.xp6(1),t.hij(\" \",e.alias,\" \")}}function T_(n,s){1&n&&(t.TgZ(0,\"th\",32),t._uU(1),t.ALo(2,\"translate\"),t.qZA()),2&n&&(t.xp6(1),t.hij(\" \",t.lcZ(2,1,\"attivo\"),\" \"))}const pe=function(n,s){return{yes:n,no:s}};function P_(n,s){if(1&n&&(t.TgZ(0,\"td\",33),t.TgZ(1,\"div\",34),t._uU(2),t.ALo(3,\"translate\"),t.ALo(4,\"translate\"),t.qZA(),t.qZA()),2&n){const e=s.$implicit;t.xp6(1),t.Q6J(\"ngClass\",t.WLB(6,pe,e.active,!e.active)),t.xp6(1),t.hij(\" \",e.active?t.lcZ(3,2,\"si\"):t.lcZ(4,4,\"no\"),\" \")}}function O_(n,s){1&n&&(t.TgZ(0,\"th\",32),t._uU(1),t.ALo(2,\"translate\"),t.qZA()),2&n&&(t.xp6(1),t.hij(\" \",t.lcZ(2,1,\"stato\"),\" \"))}function y_(n,s){if(1&n&&(t.TgZ(0,\"td\",33),t._uU(1),t.qZA()),2&n){const e=s.$implicit;t.xp6(1),t.hij(\" \",e.status,\" \")}}function q_(n,s){1&n&&(t.TgZ(0,\"th\",32),t._uU(1),t.ALo(2,\"translate\"),t.qZA()),2&n&&(t.xp6(1),t.hij(\" \",t.lcZ(2,1,\"offerer_tenant_id\"),\" \"))}function M_(n,s){if(1&n&&(t.TgZ(0,\"td\",33),t._uU(1),t.qZA()),2&n){const e=s.$implicit;t.xp6(1),t.hij(\" \",e.offerer_tenant_id,\" \")}}function w_(n,s){1&n&&(t.TgZ(0,\"th\",32),t._uU(1),t.ALo(2,\"translate\"),t.qZA()),2&n&&(t.xp6(1),t.hij(\" \",t.lcZ(2,1,\"valid_all\"),\" \"))}function E_(n,s){if(1&n&&(t.TgZ(0,\"td\",33),t.TgZ(1,\"div\",34),t._uU(2),t.ALo(3,\"translate\"),t.ALo(4,\"translate\"),t.qZA(),t.qZA()),2&n){const e=s.$implicit;t.xp6(1),t.Q6J(\"ngClass\",t.WLB(6,pe,e.valid_for_all,!e.valid_for_all)),t.xp6(1),t.hij(\" \",e.valid_for_all?t.lcZ(3,2,\"si\"):t.lcZ(4,4,\"no\"),\" \")}}function k_(n,s){1&n&&(t.TgZ(0,\"th\",32),t._uU(1),t.ALo(2,\"translate\"),t.qZA()),2&n&&(t.xp6(1),t.hij(\" \",t.lcZ(2,1,\"data_rilascio\"),\" \"))}function U_(n,s){if(1&n&&(t.TgZ(0,\"td\",33),t._uU(1),t.ALo(2,\"date\"),t.qZA()),2&n){const e=s.$implicit;t.xp6(1),t.hij(\" \",t.xi3(2,1,e.valid_from,\"dd/MM/yyyy\"),\" \")}}function I_(n,s){1&n&&(t.TgZ(0,\"th\",32),t._uU(1),t.ALo(2,\"translate\"),t.qZA()),2&n&&(t.xp6(1),t.hij(\" \",t.lcZ(2,1,\"data_scadenza\"),\" \"))}function N_(n,s){if(1&n&&(t.TgZ(0,\"td\",33),t._uU(1),t.ALo(2,\"date\"),t.qZA()),2&n){const e=s.$implicit;t.xp6(1),t.hij(\" \",t.xi3(2,1,e.valid_to,\"dd/MM/yyyy\"),\" \")}}function S_(n,s){1&n&&(t.TgZ(0,\"th\",35),t._uU(1),t.ALo(2,\"translate\"),t.qZA()),2&n&&(t.xp6(1),t.hij(\" \",t.lcZ(2,1,\"azioni\"),\" \"))}function L_(n,s){if(1&n){const e=t.EpF();t.TgZ(0,\"td\",33),t.TgZ(1,\"div\",36),t.TgZ(2,\"div\",37),t.TgZ(3,\"div\",38),t.TgZ(4,\"button\",5),t.NdJ(\"click\",function(){const d=t.CHM(e).$implicit;return t.oxw().confirmSubscribe(d)}),t._UZ(5,\"i\",39),t._uU(6,\"\\xa0 \"),t.TgZ(7,\"span\",40),t._uU(8),t.ALo(9,\"translate\"),t.qZA(),t.qZA(),t._uU(10,\"\\xa0 \"),t.qZA(),t.qZA(),t.qZA(),t.qZA()}2&n&&(t.xp6(8),t.Oqu(t.lcZ(9,1,\"sottoscrivi\")))}function D_(n,s){1&n&&t._UZ(0,\"tr\",41)}function R_(n,s){1&n&&t._UZ(0,\"tr\",42)}function F_(n,s){1&n&&(t.TgZ(0,\"div\",31),t._UZ(1,\"app-loading-screen\"),t.qZA())}function G_(n,s){1&n&&(t.TgZ(0,\"th\",32),t._uU(1),t.ALo(2,\"translate\"),t.qZA()),2&n&&(t.xp6(1),t.hij(\" \",t.lcZ(2,1,\"des\"),\" \"))}function J_(n,s){if(1&n&&(t.TgZ(0,\"td\",33),t._uU(1),t.qZA()),2&n){const e=s.$implicit;t.xp6(1),t.hij(\" \",e.description,\" \")}}function B_(n,s){1&n&&(t.TgZ(0,\"th\",32),t._uU(1),t.ALo(2,\"translate\"),t.qZA()),2&n&&(t.xp6(1),t.hij(\" \",t.lcZ(2,1,\"nome\"),\" \"))}function Q_(n,s){if(1&n&&(t.TgZ(0,\"td\",33),t._uU(1),t.qZA()),2&n){const e=s.$implicit;t.xp6(1),t.hij(\" \",e.alias,\" \")}}function z_(n,s){1&n&&(t.TgZ(0,\"th\",32),t._uU(1),t.ALo(2,\"translate\"),t.qZA()),2&n&&(t.xp6(1),t.hij(\" \",t.lcZ(2,1,\"attivo\"),\" \"))}function $_(n,s){if(1&n&&(t.TgZ(0,\"td\",33),t.TgZ(1,\"div\",34),t._uU(2),t.ALo(3,\"translate\"),t.ALo(4,\"translate\"),t.qZA(),t.qZA()),2&n){const e=s.$implicit;t.xp6(1),t.Q6J(\"ngClass\",t.WLB(6,pe,e.active,!e.active)),t.xp6(1),t.hij(\" \",e.active?t.lcZ(3,2,\"si\"):t.lcZ(4,4,\"no\"),\" \")}}function Y_(n,s){1&n&&(t.TgZ(0,\"th\",32),t._uU(1),t.ALo(2,\"translate\"),t.qZA()),2&n&&(t.xp6(1),t.hij(\" \",t.lcZ(2,1,\"stato\"),\" \"))}function V_(n,s){if(1&n&&(t.TgZ(0,\"td\",33),t._uU(1),t.qZA()),2&n){const e=s.$implicit;t.xp6(1),t.hij(\" \",e.status,\" \")}}function j_(n,s){1&n&&(t.TgZ(0,\"th\",32),t._uU(1),t.ALo(2,\"translate\"),t.qZA()),2&n&&(t.xp6(1),t.hij(\" \",t.lcZ(2,1,\"offerer_tenant_id\"),\" \"))}function W_(n,s){if(1&n&&(t.TgZ(0,\"td\",33),t._uU(1),t.qZA()),2&n){const e=s.$implicit;t.xp6(1),t.hij(\" \",e.offerer_tenant_id,\" \")}}function H_(n,s){1&n&&(t.TgZ(0,\"th\",32),t._uU(1),t.ALo(2,\"translate\"),t.qZA()),2&n&&(t.xp6(1),t.hij(\" \",t.lcZ(2,1,\"valid_all\"),\" \"))}function K_(n,s){if(1&n&&(t.TgZ(0,\"td\",33),t.TgZ(1,\"div\",34),t._uU(2),t.ALo(3,\"translate\"),t.ALo(4,\"translate\"),t.qZA(),t.qZA()),2&n){const e=s.$implicit;t.xp6(1),t.Q6J(\"ngClass\",t.WLB(6,pe,e.valid_for_all,!e.valid_for_all)),t.xp6(1),t.hij(\" \",e.valid_for_all?t.lcZ(3,2,\"si\"):t.lcZ(4,4,\"no\"),\" \")}}function X_(n,s){1&n&&(t.TgZ(0,\"th\",32),t._uU(1),t.ALo(2,\"translate\"),t.qZA()),2&n&&(t.xp6(1),t.hij(\" \",t.lcZ(2,1,\"data_rilascio\"),\" \"))}function th(n,s){if(1&n&&(t.TgZ(0,\"td\",33),t._uU(1),t.ALo(2,\"date\"),t.qZA()),2&n){const e=s.$implicit;t.xp6(1),t.hij(\" \",t.xi3(2,1,e.valid_from,\"dd/MM/yyyy\"),\" \")}}function eh(n,s){1&n&&(t.TgZ(0,\"th\",32),t._uU(1),t.ALo(2,\"translate\"),t.qZA()),2&n&&(t.xp6(1),t.hij(\" \",t.lcZ(2,1,\"data_scadenza\"),\" \"))}function nh(n,s){if(1&n&&(t.TgZ(0,\"td\",33),t._uU(1),t.ALo(2,\"date\"),t.qZA()),2&n){const e=s.$implicit;t.xp6(1),t.hij(\" \",t.xi3(2,1,e.valid_to,\"dd/MM/yyyy\"),\" \")}}function oh(n,s){1&n&&(t.TgZ(0,\"th\",35),t._uU(1),t.ALo(2,\"translate\"),t.qZA()),2&n&&(t.xp6(1),t.hij(\" \",t.lcZ(2,1,\"azioni\"),\" \"))}function ih(n,s){if(1&n){const e=t.EpF();t.TgZ(0,\"td\",33),t.TgZ(1,\"div\",36),t.TgZ(2,\"div\",37),t.TgZ(3,\"div\",38),t.TgZ(4,\"button\",5),t.NdJ(\"click\",function(){const d=t.CHM(e).$implicit;return t.oxw().confirmDialog(d.id)}),t._UZ(5,\"i\",43),t._uU(6,\"\\xa0 \"),t.TgZ(7,\"span\",40),t._uU(8),t.ALo(9,\"translate\"),t.qZA(),t.qZA(),t._uU(10,\"\\xa0 \"),t.TgZ(11,\"button\",5),t.NdJ(\"click\",function(){const d=t.CHM(e).$implicit;return t.oxw().updateOffer(d)}),t._UZ(12,\"i\",44),t._uU(13,\"\\xa0 \"),t.TgZ(14,\"span\",40),t._uU(15),t.ALo(16,\"translate\"),t.qZA(),t.qZA(),t._uU(17,\"\\xa0 \"),t.TgZ(18,\"button\",5),t.NdJ(\"click\",function(){const d=t.CHM(e).$implicit;return t.oxw().renew(d)}),t._UZ(19,\"i\",45),t._uU(20,\"\\xa0 \"),t.TgZ(21,\"span\",40),t._uU(22),t.ALo(23,\"translate\"),t.qZA(),t.qZA(),t._uU(24,\"\\xa0 \"),t.qZA(),t.qZA(),t.qZA(),t.qZA()}2&n&&(t.xp6(8),t.Oqu(t.lcZ(9,3,\"elimina\")),t.xp6(7),t.Oqu(t.lcZ(16,5,\"modifica\")),t.xp6(7),t.Oqu(t.lcZ(23,7,\"rinnova\")))}function ah(n,s){1&n&&t._UZ(0,\"tr\",41)}function rh(n,s){1&n&&t._UZ(0,\"tr\",42)}const Lc=function(){return[5,10,25,50,100]};let sh=(()=>{class n{constructor(e,o,a,d){this.offerService=e,this.dialog=o,this.translate=a,this.notifyService=d,this.displayedColumns=[\"name\",\"alias\",\"active\",\"status\",\"offerer_tenant\",\"valid_all\",\"valid_from\",\"valid_to\",\"actions\"],this.dataSourceOffer=new M.by,this.dataSourceContract=new M.by,this.isLoading=!0,this.result=\"\",this.resultSub=\"\"}ngOnInit(){return(0,C.mG)(this,void 0,void 0,function*(){this.isLoading=!0,yield this.refresh().then(()=>{this.isLoading=!1})})}refreshPage(){return(0,C.mG)(this,void 0,void 0,function*(){yield this.refresh()})}refresh(){return(0,C.mG)(this,void 0,void 0,function*(){this.isLoading=!0,this.dataSourceOffer.data=yield this.offerService.getAllOffersEmp().toPromise(),this.dataSourceContract.data=yield this.offerService.getOffersEmp().toPromise(),console.log(this.dataSourceOffer.data),console.log(this.dataSourceContract.data),this.isLoading=!1})}updateOffer(e){this.update=!0,this.dialog.open(te,{maxHeight:\"100vh\",minWidth:\"65vw\",disableClose:!0,data:{update:this.update,offer:e,val:2,emp:!0}}).afterClosed().toPromise().then(()=>this.refresh())}renew(e){this.update=!0,this.dialog.open(te,{maxHeight:\"100vh\",minWidth:\"65vw\",disableClose:!0,data:{update:this.update,offer:e,val:3}}).afterClosed().toPromise().then(()=>this.refresh())}confirmDialog(e){const o=this.translate.instant(\"del_offer\"),a=new ht.f(this.translate.instant(\"conf_az\"),o);this.dialog.open(ht.z,{maxWidth:\"400px\",data:a}).afterClosed().subscribe(h=>{this.result=h,h&&this.delete(e)})}delete(e){try{this.offerService.deleteOffersEmp(e).toPromise().then(()=>{this.refresh(),this.notifyService.showSuccess(this.translate.instant(\"del_offer_message\"),this.translate.instant(\"ok\"))})}catch(o){this.notifyService.showError(this.translate.instant(\"semplice_err\"),this.translate.instant(\"errore\")),console.error(o.message)}}confirmSubscribe(e){const o=this.translate.instant(\"sub_contract\"),a=new ht.f(this.translate.instant(\"conf_az\"),o);this.dialog.open(ht.z,{maxWidth:\"400px\",data:a}).afterClosed().subscribe(h=>{this.resultSub=h,h&&this.subscribe(e)})}subscribe(e){try{this.offerService.subscribeOffer(e).toPromise().then(()=>{this.refresh(),this.notifyService.showSuccess(this.translate.instant(\"confirm_contract_sub\"),this.translate.instant(\"ok\"))})}catch(o){this.notifyService.showError(this.translate.instant(\"semplice_err\"),this.translate.instant(\"errore\")),console.error(o.message)}}}return n.\\u0275fac=function(e){return new(e||n)(t.Y36(fe),t.Y36(O.uw),t.Y36(U.sK),t.Y36(K.m))},n.\\u0275cmp=t.Xpm({type:n,selectors:[[\"app-sub-offers\"]],decls:91,vars:22,consts:[[1,\"content-body\"],[1,\"container-fluid\",\"default-mt-btn\",\"default-mt-table\",\"default-mt-select\",\"default-autocomplete\",\"default-mt-spinner\"],[1,\"header-cell\",\"top\"],[2,\"padding-bottom\",\"1%\"],[\"ngbDropdown\",\"\"],[\"mat-raised-button\",\"\",3,\"click\"],[1,\"fas\",\"fa-redo\",2,\"color\",\"#6C757D\"],[1,\"row\"],[1,\"col-xl-12\",\"col-xxl-12\"],[1,\"card\"],[1,\"card-header\",\"d-block\"],[1,\"fs-32\",\"card-title\",\"left\",\"text-black\"],[1,\"card-body\"],[1,\"mat-elevation-z8\",\"table-responsive\"],[\"class\",\"loading\",4,\"ngIf\"],[\"matTableResponsive\",\"\",\"mat-table\",\"\",\"matSort\",\"\",3,\"hidden\",\"dataSource\"],[\"matColumnDef\",\"name\"],[\"mat-header-cell\",\"\",\"mat-sort-header\",\"\",\"class\",\"header-cell\",4,\"matHeaderCellDef\"],[\"mat-cell\",\"\",4,\"matCellDef\"],[\"matColumnDef\",\"alias\"],[\"matColumnDef\",\"active\"],[\"matColumnDef\",\"status\"],[\"matColumnDef\",\"offerer_tenant\"],[\"matColumnDef\",\"valid_all\"],[\"matColumnDef\",\"valid_from\"],[\"matColumnDef\",\"valid_to\"],[\"matColumnDef\",\"actions\"],[\"mat-header-cell\",\"\",\"class\",\"header-cell\",4,\"matHeaderCellDef\"],[\"mat-header-row\",\"\",4,\"matHeaderRowDef\"],[\"mat-row\",\"\",4,\"matRowDef\",\"matRowDefColumns\"],[\"showFirstLastButtons\",\"\",3,\"pageSizeOptions\",\"pageSize\"],[1,\"loading\"],[\"mat-header-cell\",\"\",\"mat-sort-header\",\"\",1,\"header-cell\"],[\"mat-cell\",\"\"],[3,\"ngClass\"],[\"mat-header-cell\",\"\",1,\"header-cell\"],[1,\"actions\"],[1,\"btn-toolbar\"],[1,\"btn-group\"],[1,\"fas\",\"fa-subscript\",2,\"color\",\"#6C757D\"],[2,\"color\",\"#6C757D\"],[\"mat-header-row\",\"\"],[\"mat-row\",\"\"],[1,\"flaticon-381-trash\",2,\"color\",\"#6C757D\"],[1,\"flaticon-062-pencil\",2,\"color\",\"#6C757D\"],[1,\"fas\",\"fa-file-contract\",2,\"color\",\"#6C757D\"]],template:function(e,o){1&e&&(t.TgZ(0,\"div\",0),t.TgZ(1,\"div\",1),t.TgZ(2,\"div\",2),t._UZ(3,\"div\",3),t.TgZ(4,\"div\",4),t.TgZ(5,\"button\",5),t.NdJ(\"click\",function(){return o.refreshPage()}),t._UZ(6,\"i\",6),t._uU(7,\"\\xa0 \"),t.qZA(),t._uU(8,\"\\xa0 \"),t.qZA(),t.qZA(),t.TgZ(9,\"div\",7),t.TgZ(10,\"div\",8),t.TgZ(11,\"div\",9),t.TgZ(12,\"div\",10),t.TgZ(13,\"h4\",11),t._uU(14),t.ALo(15,\"translate\"),t.qZA(),t.qZA(),t.TgZ(16,\"div\",12),t.TgZ(17,\"div\",13),t.YNc(18,C_,2,0,\"div\",14),t.TgZ(19,\"table\",15),t.ynx(20,16),t.YNc(21,v_,3,3,\"th\",17),t.YNc(22,b_,2,1,\"td\",18),t.BQk(),t.ynx(23,19),t.YNc(24,A_,3,3,\"th\",17),t.YNc(25,x_,2,1,\"td\",18),t.BQk(),t.ynx(26,20),t.YNc(27,T_,3,3,\"th\",17),t.YNc(28,P_,5,9,\"td\",18),t.BQk(),t.ynx(29,21),t.YNc(30,O_,3,3,\"th\",17),t.YNc(31,y_,2,1,\"td\",18),t.BQk(),t.ynx(32,22),t.YNc(33,q_,3,3,\"th\",17),t.YNc(34,M_,2,1,\"td\",18),t.BQk(),t.ynx(35,23),t.YNc(36,w_,3,3,\"th\",17),t.YNc(37,E_,5,9,\"td\",18),t.BQk(),t.ynx(38,24),t.YNc(39,k_,3,3,\"th\",17),t.YNc(40,U_,3,4,\"td\",18),t.BQk(),t.ynx(41,25),t.YNc(42,I_,3,3,\"th\",17),t.YNc(43,N_,3,4,\"td\",18),t.BQk(),t.ynx(44,26),t.YNc(45,S_,3,3,\"th\",27),t.YNc(46,L_,11,3,\"td\",18),t.BQk(),t.YNc(47,D_,1,0,\"tr\",28),t.YNc(48,R_,1,0,\"tr\",29),t.qZA(),t._UZ(49,\"mat-paginator\",30),t.qZA(),t.qZA(),t.qZA(),t.qZA(),t.qZA(),t.TgZ(50,\"div\",7),t.TgZ(51,\"div\",8),t.TgZ(52,\"div\",9),t.TgZ(53,\"div\",10),t.TgZ(54,\"h4\",11),t._uU(55),t.ALo(56,\"translate\"),t.qZA(),t.qZA(),t.TgZ(57,\"div\",12),t.TgZ(58,\"div\",13),t.YNc(59,F_,2,0,\"div\",14),t.TgZ(60,\"table\",15),t.ynx(61,16),t.YNc(62,G_,3,3,\"th\",17),t.YNc(63,J_,2,1,\"td\",18),t.BQk(),t.ynx(64,19),t.YNc(65,B_,3,3,\"th\",17),t.YNc(66,Q_,2,1,\"td\",18),t.BQk(),t.ynx(67,20),t.YNc(68,z_,3,3,\"th\",17),t.YNc(69,$_,5,9,\"td\",18),t.BQk(),t.ynx(70,21),t.YNc(71,Y_,3,3,\"th\",17),t.YNc(72,V_,2,1,\"td\",18),t.BQk(),t.ynx(73,22),t.YNc(74,j_,3,3,\"th\",17),t.YNc(75,W_,2,1,\"td\",18),t.BQk(),t.ynx(76,23),t.YNc(77,H_,3,3,\"th\",17),t.YNc(78,K_,5,9,\"td\",18),t.BQk(),t.ynx(79,24),t.YNc(80,X_,3,3,\"th\",17),t.YNc(81,th,3,4,\"td\",18),t.BQk(),t.ynx(82,25),t.YNc(83,eh,3,3,\"th\",17),t.YNc(84,nh,3,4,\"td\",18),t.BQk(),t.ynx(85,26),t.YNc(86,oh,3,3,\"th\",27),t.YNc(87,ih,25,9,\"td\",18),t.BQk(),t.YNc(88,ah,1,0,\"tr\",28),t.YNc(89,rh,1,0,\"tr\",29),t.qZA(),t._UZ(90,\"mat-paginator\",30),t.qZA(),t.qZA(),t.qZA(),t.qZA(),t.qZA(),t.qZA(),t.qZA()),2&e&&(t.xp6(14),t.Oqu(t.lcZ(15,16,\"offerte_cpo\")),t.xp6(4),t.Q6J(\"ngIf\",o.isLoading),t.xp6(1),t.Q6J(\"hidden\",o.isLoading)(\"dataSource\",o.dataSourceOffer),t.xp6(28),t.Q6J(\"matHeaderRowDef\",o.displayedColumns),t.xp6(1),t.Q6J(\"matRowDefColumns\",o.displayedColumns),t.xp6(1),t.Q6J(\"pageSizeOptions\",t.DdM(20,Lc))(\"pageSize\",25),t.xp6(6),t.Oqu(t.lcZ(56,18,\"contratti\")),t.xp6(4),t.Q6J(\"ngIf\",o.isLoading),t.xp6(1),t.Q6J(\"hidden\",o.isLoading)(\"dataSource\",o.dataSourceContract),t.xp6(28),t.Q6J(\"matHeaderRowDef\",o.displayedColumns),t.xp6(1),t.Q6J(\"matRowDefColumns\",o.displayedColumns),t.xp6(1),t.Q6J(\"pageSizeOptions\",t.DdM(21,Lc))(\"pageSize\",25))},directives:[yt.jt,z.lW,v.O5,M.BZ,Ft.F,wt.YE,M.w1,M.fO,M.Dz,M.as,M.nj,X.NW,w.g,M.ge,wt.nU,M.ev,v.mk,H.oO,M.XQ,M.Gk],pipes:[U.X$,v.uU],styles:[\"table[_ngcontent-%COMP%]{width:100%}.actions[_ngcontent-%COMP%]{padding-top:1em;padding-bottom:1em}[_nghost-%COMP%] .mat-sort-header-container{display:flex;justify-content:center;padding-left:18px}button[_ngcontent-%COMP%]{color:#5c8548!important}.header-cell[_ngcontent-%COMP%], td[_ngcontent-%COMP%], th[_ngcontent-%COMP%]{text-align:center;align-items:center;justify-content:center}.mat-form-field[_ngcontent-%COMP%]{font-size:14px;width:100%}.yes[_ngcontent-%COMP%]{color:#099}.no[_ngcontent-%COMP%]{color:#b40053}.top[_ngcontent-%COMP%]{padding-bottom:2em}.left[_ngcontent-%COMP%]{float:left;font-size:2vw}.detail[_ngcontent-%COMP%]{font-size:16px}.input[_ngcontent-%COMP%]{height:4vh;border-color:#000;background-color:#e8f0fe}@media (max-width: 1090px){.table[_ngcontent-%COMP%] thead[_ngcontent-%COMP%]{display:none}.table[_ngcontent-%COMP%], .table[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%], .table[_ngcontent-%COMP%] tr[_ngcontent-%COMP%], .table[_ngcontent-%COMP%] td[_ngcontent-%COMP%]{display:block;width:100%}.table[_ngcontent-%COMP%] tr[_ngcontent-%COMP%]{margin-bottom:15px}.table[_ngcontent-%COMP%] td[_ngcontent-%COMP%]{padding-left:50%;text-align:right;position:relative}.table[_ngcontent-%COMP%] td[_ngcontent-%COMP%]:before{content:attr(data-label);position:absolute;left:0;width:50%;padding-left:15px;font-size:15px;font-weight:bold;text-align:left}.padding[_ngcontent-%COMP%]{padding-bottom:15%}}\"]}),n})();var de=c(94553),ge=c(35394);const lh=[\"passwordWithValidation1\"];function ch(n,s){1&n&&t._UZ(0,\"app-loading-screen\")}function ph(n,s){if(1&n&&(t.TgZ(0,\"mat-step\",43),t.ALo(1,\"translate\"),t.TgZ(2,\"form\",13),t.TgZ(3,\"div\",44),t.TgZ(4,\"div\",14),t._UZ(5,\"i\",45),t._UZ(6,\"br\"),t.TgZ(7,\"mat-form-field\",16),t.TgZ(8,\"mat-label\"),t._uU(9),t.ALo(10,\"translate\"),t.qZA(),t._UZ(11,\"input\",46),t.qZA(),t.qZA(),t.TgZ(12,\"div\",14),t._UZ(13,\"i\",45),t._UZ(14,\"br\"),t.TgZ(15,\"mat-form-field\",16),t.TgZ(16,\"mat-label\"),t._uU(17),t.ALo(18,\"translate\"),t.qZA(),t._UZ(19,\"input\",47),t.qZA(),t.qZA(),t.qZA(),t.qZA(),t.TgZ(20,\"div\",7),t.TgZ(21,\"button\",48),t._uU(22),t.ALo(23,\"translate\"),t.TgZ(24,\"div\",39),t._UZ(25,\"div\",40),t.qZA(),t.qZA(),t.qZA(),t.qZA()),2&n){const e=t.oxw();t.Q6J(\"stepControl\",!0)(\"errorMessage\",t.lcZ(1,6,\"inserire_manc\")),t.xp6(2),t.Q6J(\"formGroup\",e.permissionCpo),t.xp6(7),t.Oqu(t.lcZ(10,8,\"quota_fissa\")),t.xp6(8),t.Oqu(t.lcZ(18,10,\"quota_variabile\")),t.xp6(5),t.hij(\" \",t.lcZ(23,12,\"prosegui\"),\" \")}}function dh(n,s){1&n&&(t.TgZ(0,\"mat-error\"),t._uU(1,\" Password is required \"),t.qZA())}function gh(n,s){1&n&&(t.TgZ(0,\"mat-error\"),t._uU(1,\" Password is not valid \"),t.qZA())}function mh(n,s){1&n&&(t.TgZ(0,\"mat-error\"),t._uU(1,\" Passwords do not match \"),t.qZA())}function uh(n,s){if(1&n){const e=t.EpF();t.TgZ(0,\"mat-step\",11),t.TgZ(1,\"div\"),t.TgZ(2,\"mat-form-field\",49),t.TgZ(3,\"mat-label\"),t._uU(4,\"Password\"),t.qZA(),t._UZ(5,\"mat-pass-toggle-visibility\",50,51),t._UZ(7,\"input\",52,53),t.TgZ(9,\"mat-hint\",54),t._uU(10),t.qZA(),t.YNc(11,dh,2,0,\"mat-error\",1),t.YNc(12,gh,2,0,\"mat-error\",1),t.qZA(),t.TgZ(13,\"mat-password-strength\",55,56),t.NdJ(\"onStrengthChanged\",function(){t.CHM(e);const a=t.MAs(14);return t.oxw().onStrengthChanged(a.passwordFormControl.value)}),t.qZA(),t._UZ(15,\"mat-password-strength-info\",57),t.ALo(16,\"translate\"),t.ALo(17,\"translate\"),t.ALo(18,\"translate\"),t.ALo(19,\"translate\"),t.ALo(20,\"translate\"),t.qZA(),t.TgZ(21,\"div\",58),t.TgZ(22,\"form\",13),t.TgZ(23,\"mat-form-field\",49),t.TgZ(24,\"mat-label\"),t._uU(25,\"Confirm Password\"),t.qZA(),t._UZ(26,\"mat-pass-toggle-visibility\",50,59),t._UZ(28,\"input\",60,61),t.YNc(30,mh,2,0,\"mat-error\",1),t.qZA(),t.qZA(),t.qZA(),t.TgZ(31,\"div\",7),t.TgZ(32,\"button\",62),t.NdJ(\"click\",function(){return t.CHM(e),t.oxw().confirmCpo()}),t.TgZ(33,\"span\",63),t._uU(34),t.ALo(35,\"translate\"),t.qZA(),t.qZA(),t.qZA(),t._UZ(36,\"mat-dialog-content\",null,12),t.qZA()}if(2&n){const e=t.MAs(6),o=t.MAs(8),a=t.MAs(14),d=t.MAs(27),h=t.oxw();t.Q6J(\"stepControl\",!1)(\"errorMessage\",\"Inserisci i dati mancanti!\")(\"optional\",!1),t.xp6(7),t.Q6J(\"type\",e.type)(\"formControl\",a.passwordFormControl),t.xp6(3),t.hij(\" \",o.value.length,\" / 8 \"),t.xp6(1),t.Q6J(\"ngIf\",a.passwordFormControl.hasError(\"required\")),t.xp6(1),t.Q6J(\"ngIf\",a.passwordFormControl.hasError(\"pattern\")),t.xp6(1),t.Q6J(\"password\",o.value),t.xp6(2),t.Q6J(\"lowerCaseCriteriaMsg\",t.lcZ(16,19,\"pass_lower\"))(\"upperCaseCriteriaMsg\",t.lcZ(17,21,\"pass_upper\"))(\"digitsCriteriaMsg\",t.lcZ(18,23,\"pass_number\"))(\"specialCharsCriteriaMsg\",t.lcZ(19,25,\"pass_special\"))(\"minCharsCriteriaMsg\",t.lcZ(20,27,\"pass_min\"))(\"passwordComponent\",a),t.xp6(7),t.Q6J(\"formGroup\",h.confirmForm),t.xp6(6),t.Q6J(\"type\",d.type),t.xp6(2),t.Q6J(\"ngIf\",!0),t.xp6(4),t.Oqu(t.lcZ(35,29,\"conf_psw\"))}}let _h=(()=>{class n{constructor(e,o,a,d,h,E){this.formBuilder=e,this.router=o,this.cpoService=a,this.authService=d,this.translate=h,this.notifyService=E,this.dataEmpCpo=JSON.parse(b().get(\"dataEmpCpo\",{decrypt:!0})),this.isConfirmedData=!1,this.hide1=!0,this.hide2=!0,this.lang=b().get(\"lang\",{decrypt:!0}),this.confirmForm=new l.cw({psw1:new l.NI(\"\",l.kI.required),psw2:new l.NI(\"\",l.kI.required)}),this.addForm=this.formBuilder.group({ragioneSociale:[\"\",[l.kI.required]],iva:[\"\",[l.kI.required]],stato:[\"\",[l.kI.required]],street:[\"\",[l.kI.required]],houseNumber:[\"\",[l.kI.required]],city:[\"\",[l.kI.required]],province:[\"\",[l.kI.required]],zipCode:[\"\",[l.kI.required]],codiceSdi:[\"\",[l.kI.required]],pec:[\"\",[l.kI.required]],email:[\"\",[l.kI.required]],telefono:[null,[l.kI.required,l.kI.pattern(\"[- +()0-9]+\")]],fiscalCode:[\"\",[l.kI.required]]}),this.formEmp=this.formBuilder.group({descrizione:[\"\",[l.kI.required]],nameApp:[\"\",[l.kI.required]],urlSite:[\"\",[l.kI.required]],providerId:[\"\",[l.kI.required]],tenandId:[\"\",[l.kI.required]]}),this.permissionEmp=this.formBuilder.group({rfidEnabled:[!1],supportEnabled:[!1],feedbackEnabled:[!1],notifiesEnabled:[!1],oicpRoaming:[!1],flatEnabled:[!1],reserveEnabled:[!1],vehicleEnabled:[!1],connectEnabled:[!1],userCreationEnabled:[!1],internalRoamingEnabled:[!1],billingEnabled:[!1],walletEnabled:[!1],biEnabled:[!1],networkEnabled:[!1],vouchersEnabled:[!1]}),this.permissionCpo=this.formBuilder.group({logoName:[\"\",[l.kI.required]],quotaFissa:[,[l.kI.required]],quotaVariabile:[,[l.kI.required]],operatorId:[\"\",[l.kI.required]],description:[\"\",[l.kI.required]],tenandId:[\"\",[l.kI.required]],clusterEnabled:[!1],createSubCpoEnabled:[!1],rfidGroupEnabled:[!1],fleetEnabled:[!1],couponsEnabled:[!1],roamingEnabled:[!1],connectEnabled:[!1],userCreationEnabled:[!1],billingEnabled:[!1],walletEnabled:[!1],webAppEnabled:[!1],biEnabled:[!1],networkEnabled:[!1],vouchersEnabled:[!1]})}onStrengthChanged(e){console.log(e),this.confirmForm.get(\"psw1\").setValue(e)}ngOnInit(){return(0,C.mG)(this,void 0,void 0,function*(){this.innerWidth=window.innerWidth,this.isLoading=!0,console.log(this.dataEmpCpo),this.dataEmpCpo.confirmedData&&this.router.navigate([\"management\"]),this.addForm.get(\"ragioneSociale\").setValue(this.dataEmpCpo.ragioneSociale),this.addForm.get(\"iva\").setValue(this.dataEmpCpo.iva),this.addForm.get(\"stato\").setValue(this.dataEmpCpo.address.country),this.addForm.get(\"street\").setValue(this.dataEmpCpo.address.street),this.addForm.get(\"houseNumber\").setValue(this.dataEmpCpo.address.houseNumber),this.addForm.get(\"city\").setValue(this.dataEmpCpo.address.city),this.addForm.get(\"province\").setValue(this.dataEmpCpo.address.province),this.addForm.get(\"zipCode\").setValue(this.dataEmpCpo.address.zipCode),this.addForm.get(\"codiceSdi\").setValue(this.dataEmpCpo.codiceSdi),this.addForm.get(\"pec\").setValue(this.dataEmpCpo.pec),this.addForm.get(\"email\").setValue(this.dataEmpCpo.email),this.addForm.get(\"telefono\").setValue(this.dataEmpCpo.telefono),this.addForm.get(\"fiscalCode\").setValue(this.dataEmpCpo.fiscalCode),this.formEmp.get(\"descrizione\").setValue(this.dataEmpCpo.emp.description),this.formEmp.get(\"nameApp\").setValue(this.dataEmpCpo.emp.appName),this.formEmp.get(\"urlSite\").setValue(this.dataEmpCpo.emp.siteUrl),this.addForm.disable(),this.formEmp.disable(),this.permissionEmp.disable(),this.permissionCpo.disable(),$(\"#buttonCpo\").attr(\"disabled\",\"disabled\"),$(\"#buttonEmp\").attr(\"disabled\",\"disabled\"),this.isLoading=!1})}confirmData(e){this.isConfirmedData=!0,this.delay(250).then(()=>{e.next()})}confirmCpo(){var e=new RegExp(\"^(?=.*[a-z])(?=.*[A-Z])(?=.*\\\\d)(?=.*[-+_!@#$%^&*.,?]).+$\");this.confirmForm.value.psw1!=this.confirmForm.value.psw2?this.notifyService.showError(this.translate.instant(\"pass_err\"),this.translate.instant(\"att\")):this.confirmForm.value.psw1.length<6?this.notifyService.showWarning(this.translate.instant(\"pass_corta\"),this.translate.instant(\"att\")):e.test(this.confirmForm.value.psw1)?this.cpoService.confirm(this.dataEmpCpo.id,this.confirmForm.value.psw1,this.confirmForm.value.psw2).toPromise().then(()=>(0,C.mG)(this,void 0,void 0,function*(){this.notifyService.showSuccess(this.translate.instant(\"nuova_pass_imp\"),this.translate.instant(\"ok\")),this.authService.logout()})):this.notifyService.showWarning(this.translate.instant(\"pass_sbagliata\"),this.translate.instant(\"att\"))}delay(e){return(0,C.mG)(this,void 0,void 0,function*(){return new Promise(o=>setTimeout(o,e))})}responsive(){if(this.innerWidth<1500)return!0}}return n.\\u0275fac=function(e){return new(e||n)(t.Y36(l.qu),t.Y36(N.F0),t.Y36(ut.j),t.Y36(F.e),t.Y36(U.sK),t.Y36(K.m))},n.\\u0275cmp=t.Xpm({type:n,selectors:[[\"app-confirm-cpo\"]],viewQuery:function(e,o){if(1&e&&t.Gf(lh,5),2&e){let a;t.iGM(a=t.CRH())&&(o.passwordInputRef=a.first)}},decls:135,vars:58,consts:[[1,\"content-body\"],[4,\"ngIf\"],[2,\"padding\",\"2em\"],[2,\"padding\",\"1em\"],[3,\"color\",\"mode\",\"value\",\"bufferValue\"],[1,\"grid33\"],[2,\"padding\",\"1em\",\"font-size\",\"2em\",\"font-weight\",\"200\",\"color\",\"#1b00b1a1\"],[2,\"text-align\",\"center\"],[\"src\",\"assets/images/icone/Office.png\",\"alt\",\"\",2,\"width\",\"8em\",\"height\",\"8em\"],[\"linear\",\"\"],[\"stepper\",\"\"],[3,\"stepControl\",\"errorMessage\",\"optional\"],[\"main\",\"\"],[3,\"formGroup\"],[1,\"center\"],[1,\"fas\",\"fa-id-card\"],[\"appearance\",\"outline\",1,\"w70\"],[\"matInput\",\"\",\"formControlName\",\"ragioneSociale\"],[1,\"fas\",\"fa-address-card\"],[\"matInput\",\"\",\"formControlName\",\"iva\"],[\"src\",\"../../../assets/icone/card-image.svg\",1,\"'bootstrap_active'\"],[\"type\",\"text\",\"matInput\",\"\",\"formControlName\",\"fiscalCode\"],[1,\"fas\",\"fa-globe-europe\"],[\"matInput\",\"\",\"formControlName\",\"stato\"],[\"matInput\",\"\",\"formControlName\",\"street\"],[\"matInput\",\"\",\"formControlName\",\"houseNumber\"],[1,\"fas\",\"fa-city\"],[\"matInput\",\"\",\"formControlName\",\"city\"],[\"matInput\",\"\",\"formControlName\",\"province\"],[1,\"fas\",\"fa-envelope\"],[\"matInput\",\"\",\"formControlName\",\"zipCode\"],[1,\"fas\",\"fa-envelope-open-text\"],[\"matInput\",\"\",\"formControlName\",\"codiceSdi\"],[1,\"fas\",\"fa-mail-bulk\"],[\"matInput\",\"\",\"formControlName\",\"pec\"],[\"matInput\",\"\",\"formControlName\",\"email\"],[1,\"fas\",\"fa-phone\"],[\"type\",\"tel\",\"matInput\",\"\",\"formControlName\",\"telefono\"],[1,\"buttonNext\",3,\"click\"],[1,\"arrow-wrapper\"],[1,\"arrow\"],[3,\"stepControl\",\"errorMessage\",4,\"ngIf\"],[3,\"stepControl\",\"errorMessage\",\"optional\",4,\"ngIf\"],[3,\"stepControl\",\"errorMessage\"],[1,\"grid\"],[1,\"far\",\"fa-newspaper\"],[\"matInput\",\"\",\"formControlName\",\"quotaFissa\"],[\"matInput\",\"\",\"formControlName\",\"quotaVariabile\"],[\"matStepperNext\",\"\",1,\"buttonNext\"],[\"appearance\",\"outline\",2,\"width\",\"100%\"],[\"matSuffix\",\"\"],[\"toggleVisbility\",\"\"],[\"matInput\",\"\",\"required\",\"\",\"placeholder\",\"Password\",3,\"type\",\"formControl\"],[\"passwordWithValidation1\",\"\"],[\"align\",\"end\",\"aria-live\",\"polite\"],[1,\"green\",3,\"password\",\"onStrengthChanged\"],[\"passwordComponentWithValidation\",\"\"],[3,\"lowerCaseCriteriaMsg\",\"upperCaseCriteriaMsg\",\"digitsCriteriaMsg\",\"specialCharsCriteriaMsg\",\"minCharsCriteriaMsg\",\"passwordComponent\"],[2,\"padding-top\",\"4%\"],[\"toggleVisbility2\",\"\"],[\"matInput\",\"\",\"required\",\"\",\"formControlName\",\"psw2\",\"placeholder\",\"Confirm Password\",3,\"type\"],[\"confirmPassword\",\"\"],[1,\"buttonConfirm\",3,\"click\"],[\"translate\",\"\"]],template:function(e,o){if(1&e){const a=t.EpF();t.TgZ(0,\"div\",0),t.YNc(1,ch,1,0,\"app-loading-screen\",1),t.TgZ(2,\"div\",2),t.TgZ(3,\"div\",3),t._UZ(4,\"mat-progress-bar\",4),t.qZA(),t.TgZ(5,\"div\",5),t.TgZ(6,\"div\"),t.TgZ(7,\"div\",6),t.TgZ(8,\"a\"),t._uU(9),t.ALo(10,\"translate\"),t.qZA(),t.qZA(),t.qZA(),t.TgZ(11,\"div\",7),t._UZ(12,\"img\",8),t._UZ(13,\"br\"),t.qZA(),t.qZA(),t.TgZ(14,\"mat-horizontal-stepper\",9,10),t.TgZ(16,\"mat-step\",11),t.ALo(17,\"translate\"),t.TgZ(18,\"mat-dialog-content\",null,12),t.TgZ(20,\"form\",13),t.TgZ(21,\"div\",5),t.TgZ(22,\"div\",14),t._UZ(23,\"i\",15),t._UZ(24,\"br\"),t.TgZ(25,\"mat-form-field\",16),t.TgZ(26,\"mat-label\"),t._uU(27),t.ALo(28,\"translate\"),t.qZA(),t._UZ(29,\"input\",17),t.qZA(),t.qZA(),t.TgZ(30,\"div\",14),t._UZ(31,\"i\",18),t._UZ(32,\"br\"),t.TgZ(33,\"mat-form-field\",16),t.TgZ(34,\"mat-label\"),t._uU(35),t.ALo(36,\"translate\"),t.qZA(),t._UZ(37,\"input\",19),t.qZA(),t.qZA(),t.TgZ(38,\"div\",14),t._UZ(39,\"img\",20),t._UZ(40,\"br\"),t.TgZ(41,\"mat-form-field\",16),t.TgZ(42,\"mat-label\"),t._uU(43),t.ALo(44,\"translate\"),t.qZA(),t._UZ(45,\"input\",21),t.qZA(),t.qZA(),t.TgZ(46,\"div\",14),t._UZ(47,\"i\",22),t._UZ(48,\"br\"),t.TgZ(49,\"mat-form-field\",16),t.TgZ(50,\"mat-label\"),t._uU(51),t.ALo(52,\"translate\"),t.qZA(),t._UZ(53,\"input\",23),t.qZA(),t.qZA(),t.TgZ(54,\"div\",14),t._UZ(55,\"i\",18),t._UZ(56,\"br\"),t.TgZ(57,\"mat-form-field\",16),t.TgZ(58,\"mat-label\"),t._uU(59),t.ALo(60,\"translate\"),t.qZA(),t._UZ(61,\"input\",24),t.qZA(),t.qZA(),t.TgZ(62,\"div\",14),t._UZ(63,\"i\",18),t._UZ(64,\"br\"),t.TgZ(65,\"mat-form-field\",16),t.TgZ(66,\"mat-label\"),t._uU(67),t.ALo(68,\"translate\"),t.qZA(),t._UZ(69,\"input\",25),t.qZA(),t.qZA(),t.TgZ(70,\"div\",14),t._UZ(71,\"i\",26),t._UZ(72,\"br\"),t.TgZ(73,\"mat-form-field\",16),t.TgZ(74,\"mat-label\"),t._uU(75),t.ALo(76,\"translate\"),t.qZA(),t._UZ(77,\"input\",27),t.qZA(),t.qZA(),t.TgZ(78,\"div\",14),t._UZ(79,\"i\",26),t._UZ(80,\"br\"),t.TgZ(81,\"mat-form-field\",16),t.TgZ(82,\"mat-label\"),t._uU(83),t.ALo(84,\"translate\"),t.qZA(),t._UZ(85,\"input\",28),t.qZA(),t.qZA(),t.TgZ(86,\"div\",14),t._UZ(87,\"i\",29),t._UZ(88,\"br\"),t.TgZ(89,\"mat-form-field\",16),t.TgZ(90,\"mat-label\"),t._uU(91),t.ALo(92,\"translate\"),t.qZA(),t._UZ(93,\"input\",30),t.qZA(),t.qZA(),t.TgZ(94,\"div\",14),t._UZ(95,\"i\",31),t._UZ(96,\"br\"),t.TgZ(97,\"mat-form-field\",16),t.TgZ(98,\"mat-label\"),t._uU(99),t.ALo(100,\"translate\"),t.qZA(),t._UZ(101,\"input\",32),t.qZA(),t.qZA(),t.TgZ(102,\"div\",14),t._UZ(103,\"i\",33),t._UZ(104,\"br\"),t.TgZ(105,\"mat-form-field\",16),t.TgZ(106,\"mat-label\"),t._uU(107),t.ALo(108,\"translate\"),t.qZA(),t._UZ(109,\"input\",34),t.qZA(),t.qZA(),t.TgZ(110,\"div\",14),t._UZ(111,\"i\",33),t._UZ(112,\"br\"),t.TgZ(113,\"mat-form-field\",16),t.TgZ(114,\"mat-label\"),t._uU(115),t.ALo(116,\"translate\"),t.qZA(),t._UZ(117,\"input\",35),t.qZA(),t.qZA(),t._UZ(118,\"div\"),t.TgZ(119,\"div\",14),t._UZ(120,\"i\",36),t._UZ(121,\"br\"),t.TgZ(122,\"mat-form-field\",16),t.TgZ(123,\"mat-label\"),t._uU(124),t.ALo(125,\"translate\"),t.qZA(),t._UZ(126,\"input\",37),t.qZA(),t.qZA(),t.qZA(),t.qZA(),t.TgZ(127,\"div\",7),t.TgZ(128,\"button\",38),t.NdJ(\"click\",function(){t.CHM(a);const h=t.MAs(15);return o.confirmData(h)}),t._uU(129),t.ALo(130,\"translate\"),t.TgZ(131,\"div\",39),t._UZ(132,\"div\",40),t.qZA(),t.qZA(),t.qZA(),t.qZA(),t.qZA(),t.YNc(133,ph,26,14,\"mat-step\",41),t.YNc(134,uh,38,31,\"mat-step\",42),t.qZA(),t.qZA(),t.qZA()}2&e&&(t.xp6(1),t.Q6J(\"ngIf\",o.isLoading),t.xp6(3),t.Q6J(\"color\",\"primary\")(\"mode\",\"determinate\")(\"value\",100)(\"bufferValue\",30),t.xp6(5),t.Oqu(t.lcZ(10,26,\"rev_azienda\")),t.xp6(7),t.Q6J(\"stepControl\",!1)(\"errorMessage\",t.lcZ(17,28,\"inserire_manc\"))(\"optional\",!1),t.xp6(4),t.Q6J(\"formGroup\",o.addForm),t.xp6(7),t.Oqu(t.lcZ(28,30,\"ins_rag\")),t.xp6(8),t.Oqu(t.lcZ(36,32,\"partita_iva\")),t.xp6(8),t.Oqu(t.lcZ(44,34,\"codice_fiscale\")),t.xp6(8),t.Oqu(t.lcZ(52,36,\"stato\")),t.xp6(8),t.Oqu(t.lcZ(60,38,\"indirizzo\")),t.xp6(8),t.Oqu(t.lcZ(68,40,\"num_civ\")),t.xp6(8),t.Oqu(t.lcZ(76,42,\"citta\")),t.xp6(8),t.Oqu(t.lcZ(84,44,\"provincia\")),t.xp6(8),t.Oqu(t.lcZ(92,46,\"cod_pos\")),t.xp6(8),t.Oqu(t.lcZ(100,48,\"sdi\")),t.xp6(8),t.Oqu(t.lcZ(108,50,\"pec\")),t.xp6(8),t.Oqu(t.lcZ(116,52,\"email\")),t.xp6(9),t.Oqu(t.lcZ(125,54,\"telefono\")),t.xp6(5),t.hij(\" \",t.lcZ(130,56,\"prosegui\"),\" \"),t.xp6(4),t.Q6J(\"ngIf\",null==o.dataEmpCpo?null:o.dataEmpCpo.cpo.cpoGroup.subCpo),t.xp6(1),t.Q6J(\"ngIf\",o.isConfirmedData))},directives:[v.O5,Rt.pW,de.Vq,de.C0,O.xY,l._Y,l.JL,l.sg,_t.KE,_t.hX,Nt.Nt,l.Fj,l.JJ,l.u,w.g,de.Ic,ge.rU,_t.R9,l.Q7,l.oH,_t.bx,ge.ne,ge.Xy,U.Pi,_t.TO],pipes:[U.X$],styles:[\".content[_ngcontent-%COMP%]{width:70rem;height:40rem} .mat-horizontal-stepper-header{pointer-events:none!important}.gridPassword[_ngcontent-%COMP%]{display:grid;grid-template-columns:repeat(2,1fr);grid-template-rows:1fr;grid-column-gap:0px;grid-row-gap:0px;grid-gap:6%;gap:6%}.click[_ngcontent-%COMP%]{cursor:pointer}.center[_ngcontent-%COMP%]{text-align:center;align-items:center;justify-content:center}table[_ngcontent-%COMP%]{table-layout:fixed;width:100%;border-collapse:separate;border-spacing:0 2px}th[_ngcontent-%COMP%]{font-weight:400}td[_ngcontent-%COMP%]{width:25%}.gridCont[_ngcontent-%COMP%]{display:grid;grid-template-columns:50% 50%}.mat-progress-bar-fill[_ngcontent-%COMP%]:after{background-color:#4cb32b!important}.mat-icon.mat-primary[_ngcontent-%COMP%]{color:#4cb32b!important}@media (max-width: 1090px){.table[_ngcontent-%COMP%] thead[_ngcontent-%COMP%]{display:none}.table[_ngcontent-%COMP%], .table[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%], .table[_ngcontent-%COMP%] tr[_ngcontent-%COMP%], .table[_ngcontent-%COMP%] td[_ngcontent-%COMP%]{display:block;width:100%}.table[_ngcontent-%COMP%] tr[_ngcontent-%COMP%]{margin-bottom:15px}.table[_ngcontent-%COMP%] td[_ngcontent-%COMP%]{padding-left:50%;text-align:right;position:relative}.table[_ngcontent-%COMP%] td[_ngcontent-%COMP%]:before{content:attr(data-label);position:absolute;left:0;width:50%;padding-left:15px;font-size:15px;font-weight:bold;text-align:left}.mat-table[matTableResponsive][_ngcontent-%COMP%] .mat-header-row[_ngcontent-%COMP%]{display:block;flex-wrap:wrap;height:auto;position:sticky;top:0;z-index:2}.mat-table[matTableResponsive][_ngcontent-%COMP%] .mat-header-row[_ngcontent-%COMP%] th.mat-header-cell[_ngcontent-%COMP%]{display:flex;flex:1;align-items:center;padding:1rem .5rem;justify-content:left}.mat-table[matTableResponsive][_ngcontent-%COMP%] .mat-header-row[_ngcontent-%COMP%] th.mat-header-cell[_ngcontent-%COMP%] > .mat-sort-header-container[_ngcontent-%COMP%]{padding-left:15px}.mat-table[matTableResponsive][_ngcontent-%COMP%] .mat-header-row[_ngcontent-%COMP%] th.mat-header-cell[_ngcontent-%COMP%]:not([mat-sort-header]), .mat-table[matTableResponsive][_ngcontent-%COMP%] .mat-header-row[_ngcontent-%COMP%] th.mat-header-cell.mat-sort-header-disabled[_ngcontent-%COMP%], .mat-table[matTableResponsive][_ngcontent-%COMP%] .mat-header-row[_ngcontent-%COMP%] th.mat-header-cell.mat-column-actions[_ngcontent-%COMP%]{display:none}.mat-table[matTableResponsive][_ngcontent-%COMP%] .mat-row[_ngcontent-%COMP%]{height:auto}.mat-table[matTableResponsive][_ngcontent-%COMP%] .mat-row[_ngcontent-%COMP%] td.mat-cell[_ngcontent-%COMP%]:not(.mat-column-actions){display:grid;grid-template-columns:50% 50%;padding:.5rem;text-align:right;word-break:break-word}.mat-table[matTableResponsive][_ngcontent-%COMP%] .mat-row[_ngcontent-%COMP%] td.mat-cell[_ngcontent-%COMP%]:not(.mat-column-actions) > *[_ngcontent-%COMP%]{grid-column:2}.mat-table[matTableResponsive][_ngcontent-%COMP%] .mat-row[_ngcontent-%COMP%] td.mat-cell[_ngcontent-%COMP%]:not(.mat-column-actions):before{content:attr(data-column-name);text-align:left}.mat-table[matTableResponsive][_ngcontent-%COMP%] .mat-row[_ngcontent-%COMP%] td.mat-column-actions[_ngcontent-%COMP%]{display:flex;justify-content:center;padding:0 .5rem}.mat-table[matTableResponsive][_ngcontent-%COMP%] .mat-row[_ngcontent-%COMP%] td.mat-column-actions[_ngcontent-%COMP%] > button[_ngcontent-%COMP%]{margin:.5rem 0}.mat-table[matTableResponsive][_ngcontent-%COMP%] .mat-row[_ngcontent-%COMP%]:last-of-type td[_ngcontent-%COMP%]:last-of-type{border:none}.mat-table[matTableResponsive][_ngcontent-%COMP%] .mat-row[_ngcontent-%COMP%]:not(:last-of-type) td[_ngcontent-%COMP%]:last-of-type{border-bottom:.5rem solid #fafafa}.mat-card[_ngcontent-%COMP%] .mat-table[matTableResponsive][_ngcontent-%COMP%], .mat-expansion-panel[_ngcontent-%COMP%] .mat-table[matTableResponsive][_ngcontent-%COMP%]{border:.5rem solid #fafafa}.px[_ngcontent-%COMP%]{height:200px;width:200px}.grid[_ngcontent-%COMP%]{display:grid;width:100%;grid-template-columns:100%}.w70[_ngcontent-%COMP%]{width:95%}.w35[_ngcontent-%COMP%]{width:95%}.padding[_ngcontent-%COMP%]{padding-bottom:15%}}@media (min-width: 1090px){.grid[_ngcontent-%COMP%]{display:grid;width:100%;grid-template-columns:50% 50%}.grid33[_ngcontent-%COMP%]{display:grid;width:100%;grid-template-columns:33% 33% 33%}.grid25[_ngcontent-%COMP%]{display:grid;width:100%;grid-template-columns:25% 25% 25% 25%}.grid20[_ngcontent-%COMP%]{display:grid;width:100%;grid-template-columns:20% 20% 20% 20% 20%}.w70[_ngcontent-%COMP%]{width:70%}.w35[_ngcontent-%COMP%]{width:35%}table[_ngcontent-%COMP%]{table-layout:fixed;width:100%;border-collapse:separate;border-spacing:0 2px}.px[_ngcontent-%COMP%]{height:320px;width:320px}.padding[_ngcontent-%COMP%]{padding-bottom:0%}}\"]}),n})(),Dc=(()=>{class n{constructor(e,o){this.http=e,this.errorsService=o}getAll(){return this.http.get(`${x.N.apiUrl}/${x.N.managementPath}/${x.N.managementPathVeicolo}/all`).pipe((0,g.K)(this.errorsService.handleError))}getAutoById(e){return this.http.get(`${x.N.apiUrl}/${x.N.managementPath}/${x.N.managementPathVeicolo}/`+e).pipe((0,g.K)(this.errorsService.handleError))}add(e){return this.http.post(`${x.N.apiUrl}/${x.N.managementPath}/${x.N.managementPathVeicolo}/add`,e).pipe((0,g.K)(this.errorsService.handleError))}delete(e){return this.http.delete(`${x.N.apiUrl}/${x.N.managementPath}/${x.N.managementPathVeicolo}/delete/`+e).pipe((0,g.K)(this.errorsService.handleError))}update(e,o){return this.http.put(`${x.N.apiUrl}/${x.N.managementPath}/${x.N.managementPathVeicolo}/update/`+e,o).pipe((0,g.K)(this.errorsService.handleError))}}return n.\\u0275fac=function(e){return new(e||n)(t.LFG(i.eN),t.LFG(f.r))},n.\\u0275prov=t.Yz7({token:n,factory:n.\\u0275fac,providedIn:\"root\"}),n})();function hh(n,s){1&n&&t._UZ(0,\"app-loading-screen\")}function fh(n,s){1&n&&t.YNc(0,hh,1,0,\"ng-template\")}function Zh(n,s){1&n&&(t.TgZ(0,\"a\"),t._uU(1,\"Registra nuovo veicolo\"),t.qZA())}function Ch(n,s){1&n&&(t.TgZ(0,\"a\"),t._uU(1,\"Modifica veicolo\"),t.qZA())}function vh(n,s){1&n&&(t.TgZ(0,\"mat-form-field\",24),t.TgZ(1,\"mat-label\"),t._uU(2,\"Targa\"),t.qZA(),t._UZ(3,\"input\",30),t.qZA())}function bh(n,s){1&n&&(t.TgZ(0,\"mat-form-field\",24),t.TgZ(1,\"mat-label\"),t._uU(2,\"Targa\"),t.qZA(),t._UZ(3,\"input\",31),t.qZA())}function Ah(n,s){1&n&&(t.TgZ(0,\"span\"),t._uU(1,\"Errore, inserire la targa\"),t.qZA())}function xh(n,s){1&n&&(t.TgZ(0,\"span\"),t._uU(1,\" Errore, inserire il modello \"),t.qZA())}function Th(n,s){1&n&&(t.TgZ(0,\"span\"),t._uU(1,\" Errore, inserire la marca \"),t.qZA())}function Ph(n,s){1&n&&(t.TgZ(0,\"span\"),t._uU(1,\" Errore, inserire la Partita IVA Aziendale \"),t.qZA())}function Oh(n,s){if(1&n){const e=t.EpF();t.TgZ(0,\"div\",2),t.TgZ(1,\"div\",3),t.TgZ(2,\"div\",4),t.YNc(3,Zh,2,0,\"a\",5),t.YNc(4,Ch,2,0,\"a\",5),t.qZA(),t.TgZ(5,\"div\",6),t._UZ(6,\"img\",7),t._UZ(7,\"br\"),t.TgZ(8,\"a\",8),t._uU(9,'Inserisci i dati del veicolo e clicca su \"Conferma\" per concludere l\\'operazione'),t.qZA(),t.qZA(),t.TgZ(10,\"div\",9),t.TgZ(11,\"button\",10),t.NdJ(\"click\",function(){return t.CHM(e),t.oxw().closeDialog()}),t.O4$(),t.TgZ(12,\"svg\",11),t._UZ(13,\"g\",12),t._UZ(14,\"g\",13),t.TgZ(15,\"g\",14),t._UZ(16,\"path\",15),t._UZ(17,\"path\",16),t._UZ(18,\"path\",17),t.qZA(),t.qZA(),t.qZA(),t.qZA(),t.kcU(),t.TgZ(19,\"div\",18),t.TgZ(20,\"form\",19),t.TgZ(21,\"div\",20),t.TgZ(22,\"div\",21),t.YNc(23,vh,4,0,\"mat-form-field\",22),t.YNc(24,bh,4,0,\"ng-template\",null,23,t.W1O),t._UZ(26,\"br\"),t.YNc(27,Ah,2,0,\"span\",5),t.qZA(),t.TgZ(28,\"div\",21),t.TgZ(29,\"mat-form-field\",24),t.TgZ(30,\"mat-label\"),t._uU(31,\"Modello\"),t.qZA(),t._UZ(32,\"input\",25),t.qZA(),t._UZ(33,\"br\"),t.YNc(34,xh,2,0,\"span\",5),t.qZA(),t.TgZ(35,\"div\",21),t.TgZ(36,\"mat-form-field\",24),t.TgZ(37,\"mat-label\"),t._uU(38,\"Marca\"),t.qZA(),t._UZ(39,\"input\",26),t.qZA(),t._UZ(40,\"br\"),t.YNc(41,Th,2,0,\"span\",5),t.qZA(),t.TgZ(42,\"div\",21),t.TgZ(43,\"mat-form-field\",24),t.TgZ(44,\"mat-label\"),t._uU(45,\"Partita IVA Aziendale\"),t.qZA(),t._UZ(46,\"input\",27),t.qZA(),t._UZ(47,\"br\"),t.YNc(48,Ph,2,0,\"span\",5),t.qZA(),t.qZA(),t.qZA(),t.TgZ(49,\"button\",28),t.NdJ(\"click\",function(){t.CHM(e);const a=t.oxw();return a.add(a.addForm.value)}),t._UZ(50,\"i\",29),t._uU(51,\"\\xa0 Conferma \"),t.qZA(),t.qZA(),t.qZA(),t.qZA()}if(2&n){const e=t.MAs(25),o=t.oxw();t.xp6(3),t.Q6J(\"ngIf\",!o.verify),t.xp6(1),t.Q6J(\"ngIf\",o.verify),t.xp6(16),t.Q6J(\"formGroup\",o.addForm),t.xp6(3),t.Q6J(\"ngIf\",o.modifica)(\"ngIfElse\",e),t.xp6(4),t.Q6J(\"ngIf\",o.addForm.get(\"targa\").touched&&o.addForm.get(\"targa\").invalid),t.xp6(7),t.Q6J(\"ngIf\",o.addForm.get(\"modello\").touched&&o.addForm.get(\"modello\").invalid),t.xp6(7),t.Q6J(\"ngIf\",o.addForm.get(\"marca\").touched&&o.addForm.get(\"marca\").invalid),t.xp6(7),t.Q6J(\"ngIf\",o.addForm.get(\"ivaAzienda\").touched&&o.addForm.get(\"ivaAzienda\").invalid),t.xp6(1),t.Q6J(\"disabled\",o.addForm.invalid)}}let Ce=(()=>{class n{constructor(e,o,a,d,h,E,y,D){this.veicoloService=e,this.formBuilder=o,this.authService=a,this.snackBar=d,this.cpoService=h,this.dialogRef=E,this.verify=y,this.translate=D,this.isLoading=!1,this.addForm=this.formBuilder.group({targa:[,[l.kI.required]],modello:[,[l.kI.required]],marca:[,[l.kI.required]],ivaAzienda:[{value:\"Caricamento...\",disabled:!0}]})}ngOnInit(){return(0,C.mG)(this,void 0,void 0,function*(){this.isLoading=!0,this.verify&&(this.modifica=!0,this.addForm.get(\"targa\").setValue(this.verify.veicolo.targa),this.addForm.get(\"modello\").setValue(this.verify.veicolo.modello),this.addForm.get(\"marca\").setValue(this.verify.veicolo.marca)),this.authService.userObservable.subscribe(e=>{null!=e&&this.getMyCpo().then(()=>{this.addForm.get(\"ivaAzienda\").setValue(this.myDataEmpCpo.iva),this.isLoading=!1})})})}getMyCpo(){return(0,C.mG)(this,void 0,void 0,function*(){this.myDataEmpCpo=yield this.cpoService.getMyCpoById(this.authService.user.idCpo[0]).toPromise()})}add(e){if(this.verify&&this.addForm.valid){this.verify.veicolo.modello=e.modello,this.verify.veicolo.marca=e.marca;try{this.veicoloService.update(this.verify.veicolo.targa,this.verify.veicolo).toPromise().then(()=>{const o=this.translate.instant(\"mod_sal\");this.snackBar.open(o,\"Ok\",{duration:5e3})}),this.verify.update=!0}catch(o){this.snackBar.open(o)}finally{this.dialogRef.close()}}else this.addForm.valid&&(e.ivaAzienda=this.myDataEmpCpo.iva,this.veicoloService.add(this.addForm.value).toPromise(),this.dialogRef.close())}closeDialog(){this.dialogRef.close()}clearErrors(){this.addForm.get(\"targa\").errors&&this.addForm.get(\"targa\").markAsUntouched(),this.addForm.get(\"modello\").errors&&this.addForm.get(\"modello\").markAsUntouched(),this.addForm.get(\"marca\").errors&&this.addForm.get(\"marca\").markAsUntouched(),this.addForm.get(\"ivaAzienda\").errors&&this.addForm.get(\"ivaAzienda\").markAsUntouched()}}return n.\\u0275fac=function(e){return new(e||n)(t.Y36(Dc),t.Y36(l.qu),t.Y36(F.e),t.Y36(he.ux),t.Y36(ut.j),t.Y36(O.so),t.Y36(O.WI),t.Y36(U.sK))},n.\\u0275cmp=t.Xpm({type:n,selectors:[[\"app-add-veicolo\"]],decls:3,vars:2,consts:[[4,\"ngIf\",\"ngIfElse\"],[\"main\",\"\"],[2,\"width\",\"65rem\",\"height\",\"23rem\"],[2,\"display\",\"grid\",\"grid-template-columns\",\"33% 33% 33%\"],[2,\"padding\",\"1em\",\"font-size\",\"2em\",\"font-weight\",\"200\",\"color\",\"rgb(2, 162, 171)\"],[4,\"ngIf\"],[2,\"text-align\",\"center\"],[\"src\",\"https://cdn2.iconfinder.com/data/icons/rcons-car/512/car-512.png\",\"alt\",\"\",2,\"width\",\"8em\",\"height\",\"8em\"],[2,\"font-size\",\"0.7em\",\"font-weight\",\"bold\"],[2,\"justify-self\",\"flex-end\"],[1,\"buttonX\",3,\"click\"],[\"width\",\"45px\",\"height\",\"45px\",\"viewBox\",\"0 0 24 24\",\"fill\",\"none\",\"xmlns\",\"http://www.w3.org/2000/svg\"],[\"id\",\"SVGRepo_bgCarrier\",\"stroke-width\",\"0\"],[\"id\",\"SVGRepo_tracerCarrier\",\"stroke-linecap\",\"round\",\"stroke-linejoin\",\"round\",\"stroke\",\"#CCCCCC\",\"stroke-width\",\"0.9120000000000001\"],[\"id\",\"SVGRepo_iconCarrier\"],[\"d\",\"M9.16998 14.83L14.83 9.17004\",\"stroke\",\"#ff0000\",\"stroke-width\",\"1.5\",\"stroke-linecap\",\"round\",\"stroke-linejoin\",\"round\"],[\"d\",\"M14.83 14.83L9.16998 9.17004\",\"stroke\",\"#ff0000\",\"stroke-width\",\"1.5\",\"stroke-linecap\",\"round\",\"stroke-linejoin\",\"round\"],[\"d\",\"M9 22H15C20 22 22 20 22 15V9C22 4 20 2 15 2H9C4 2 2 4 2 9V15C2 20 4 22 9 22Z\",\"stroke\",\"#ff0000\",\"stroke-width\",\"1.5\",\"stroke-linecap\",\"round\",\"stroke-linejoin\",\"round\"],[2,\"width\",\"65rem\",\"height\",\"15rem\"],[3,\"formGroup\"],[2,\"display\",\"grid\",\"grid-template-columns\",\"auto auto auto auto\"],[1,\"gridCol\"],[\"appearance\",\"outline\",4,\"ngIf\",\"ngIfElse\"],[\"temp\",\"\"],[\"appearance\",\"outline\"],[\"matInput\",\"\",\"formControlName\",\"modello\",\"placeholder\",\"Modello\"],[\"matInput\",\"\",\"formControlName\",\"marca\",\"placeholder\",\"Marca\"],[\"matInput\",\"\",\"formControlName\",\"ivaAzienda\",\"placeholder\",\"Partita IVA Aziendale\"],[\"mat-raised-button\",\"\",2,\"background-color\",\"#38b336\",\"color\",\"white\",3,\"disabled\",\"click\"],[1,\"fas\",\"fa-plus\"],[\"readonly\",\"\",\"matInput\",\"\",\"formControlName\",\"targa\",\"placeholder\",\"Targa\",\"cdkFocusInitial\",\"\"],[\"matInput\",\"\",\"formControlName\",\"targa\",\"placeholder\",\"Targa\"]],template:function(e,o){if(1&e&&(t.YNc(0,fh,1,0,void 0,0),t.YNc(1,Oh,52,10,\"ng-template\",null,1,t.W1O)),2&e){const a=t.MAs(2);t.Q6J(\"ngIf\",o.isLoading)(\"ngIfElse\",a)}},directives:[v.O5,w.g,l._Y,l.JL,l.sg,_t.KE,_t.hX,Nt.Nt,l.Fj,l.JJ,l.u,z.lW],styles:[\"[_nghost-%COMP%] .mat-sort-header-container{display:flex;justify-content:center;padding-left:18px}table[_ngcontent-%COMP%]{width:100%}button[_ngcontent-%COMP%]{color:#5c8548!important}.header-cell[_ngcontent-%COMP%], td[_ngcontent-%COMP%]{text-align:center;align-items:center;justify-content:center}.mat-form-field[_ngcontent-%COMP%]{font-size:14px;width:100%}.top[_ngcontent-%COMP%]{padding-bottom:2em}.left[_ngcontent-%COMP%]{float:left;font-size:2vw}.group[_ngcontent-%COMP%]{padding-bottom:13px;display:flex;line-height:28px;align-items:center;position:relative;max-width:289px}.input[_ngcontent-%COMP%]{width:100%;height:40px;line-height:28px;padding:0 1rem 0 2.5rem;border:2px solid transparent;border-radius:8px;outline:none;background-color:#f3f3f4;color:#0d0c22;transition:.3s ease}.input[_ngcontent-%COMP%]::placeholder{color:#9e9ea7}.input[_ngcontent-%COMP%]:focus, input[_ngcontent-%COMP%]:hover{outline:none;border-color:#ea4c8966;background-color:#fff;box-shadow:0 0 0 4px #ea4c891a}.icon-Search[_ngcontent-%COMP%]{position:absolute;left:1rem;fill:#9e9ea7;width:1rem;height:1rem}@media (max-width: 1090px){.mat-table[matTableResponsive][_ngcontent-%COMP%] .mat-header-row[_ngcontent-%COMP%]{display:flex;flex-wrap:wrap;height:auto;position:sticky;top:0;z-index:2}.mat-table[matTableResponsive][_ngcontent-%COMP%] .mat-header-row[_ngcontent-%COMP%] th.mat-header-cell[_ngcontent-%COMP%]{display:flex;flex:1;align-items:center;padding:1rem .5rem;justify-content:space-around}.mat-table[matTableResponsive][_ngcontent-%COMP%] .mat-header-row[_ngcontent-%COMP%] th.mat-header-cell[_ngcontent-%COMP%] > .mat-sort-header-container[_ngcontent-%COMP%]{padding-left:15px}.mat-table[matTableResponsive][_ngcontent-%COMP%] .mat-header-row[_ngcontent-%COMP%] th.mat-header-cell[_ngcontent-%COMP%]:not([mat-sort-header]), .mat-table[matTableResponsive][_ngcontent-%COMP%] .mat-header-row[_ngcontent-%COMP%] th.mat-header-cell.mat-sort-header-disabled[_ngcontent-%COMP%], .mat-table[matTableResponsive][_ngcontent-%COMP%] .mat-header-row[_ngcontent-%COMP%] th.mat-header-cell.mat-column-actions[_ngcontent-%COMP%]{display:none}.mat-table[matTableResponsive][_ngcontent-%COMP%] .mat-row[_ngcontent-%COMP%]{height:auto}.mat-table[matTableResponsive][_ngcontent-%COMP%] .mat-row[_ngcontent-%COMP%] td.mat-cell[_ngcontent-%COMP%]:not(.mat-column-actions){display:grid;grid-template-columns:50% 50%;padding:.5rem;text-align:right;word-break:break-word}.mat-table[matTableResponsive][_ngcontent-%COMP%] .mat-row[_ngcontent-%COMP%] td.mat-cell[_ngcontent-%COMP%]:not(.mat-column-actions) > *[_ngcontent-%COMP%]{grid-column:2}.mat-table[matTableResponsive][_ngcontent-%COMP%] .mat-row[_ngcontent-%COMP%] td.mat-cell[_ngcontent-%COMP%]:not(.mat-column-actions):before{content:attr(data-column-name);text-align:left}.mat-table[matTableResponsive][_ngcontent-%COMP%] .mat-row[_ngcontent-%COMP%] td.mat-column-actions[_ngcontent-%COMP%]{display:flex;justify-content:center;padding:0 .5rem}.mat-table[matTableResponsive][_ngcontent-%COMP%] .mat-row[_ngcontent-%COMP%] td.mat-column-actions[_ngcontent-%COMP%] > button[_ngcontent-%COMP%]{margin:.5rem 0}.mat-table[matTableResponsive][_ngcontent-%COMP%] .mat-row[_ngcontent-%COMP%]:last-of-type td[_ngcontent-%COMP%]:last-of-type{border:none}.mat-table[matTableResponsive][_ngcontent-%COMP%] .mat-row[_ngcontent-%COMP%]:not(:last-of-type) td[_ngcontent-%COMP%]:last-of-type{border-bottom:.5rem solid #fafafa}.mat-card[_ngcontent-%COMP%] .mat-table[matTableResponsive][_ngcontent-%COMP%], .mat-expansion-panel[_ngcontent-%COMP%] .mat-table[matTableResponsive][_ngcontent-%COMP%]{border:.5rem solid #fafafa}}\"]}),n})();function yh(n,s){1&n&&(t.TgZ(0,\"div\",28),t._UZ(1,\"app-loading-screen\"),t.qZA())}function qh(n,s){1&n&&(t.TgZ(0,\"th\",29),t._uU(1),t.ALo(2,\"translate\"),t.qZA()),2&n&&(t.xp6(1),t.hij(\" \",t.lcZ(2,1,\"targa\"),\" \"))}function Mh(n,s){if(1&n&&(t.TgZ(0,\"td\",30),t._uU(1),t.qZA()),2&n){const e=s.$implicit;t.xp6(1),t.hij(\" \",e.targa,\" \")}}function wh(n,s){1&n&&(t.TgZ(0,\"th\",29),t._uU(1),t.ALo(2,\"translate\"),t.qZA()),2&n&&(t.xp6(1),t.hij(\" \",t.lcZ(2,1,\"modello\"),\" \"))}function Eh(n,s){if(1&n&&(t.TgZ(0,\"td\",30),t._uU(1),t.qZA()),2&n){const e=s.$implicit;t.xp6(1),t.Oqu(e.modello)}}function kh(n,s){1&n&&(t.TgZ(0,\"th\",29),t._uU(1),t.ALo(2,\"translate\"),t.qZA()),2&n&&(t.xp6(1),t.hij(\" \",t.lcZ(2,1,\"marca\"),\" \"))}function Uh(n,s){if(1&n&&(t.TgZ(0,\"td\",30),t._uU(1),t.qZA()),2&n){const e=s.$implicit;t.xp6(1),t.Oqu(e.marca)}}function Ih(n,s){1&n&&(t.TgZ(0,\"th\",29),t._uU(1),t.ALo(2,\"translate\"),t.qZA()),2&n&&(t.xp6(1),t.hij(\" \",t.lcZ(2,1,\"piva_aziendale\"),\" \"))}function Nh(n,s){if(1&n&&(t.TgZ(0,\"td\",30),t._uU(1),t.qZA()),2&n){const e=s.$implicit;t.xp6(1),t.Oqu(e.ivaAzienda)}}function Sh(n,s){1&n&&(t.TgZ(0,\"th\",33),t._uU(1),t.ALo(2,\"translate\"),t.qZA()),2&n&&(t.xp6(1),t.hij(\" \",t.lcZ(2,1,\"cpo\"),\" \"))}function Lh(n,s){if(1&n&&(t.TgZ(0,\"td\",30),t._uU(1),t.qZA()),2&n){const e=s.$implicit,o=t.oxw(2);t.xp6(1),t.hij(\" \",o.getCpoAuto(e.ivaAzienda),\" \")}}function Dh(n,s){1&n&&(t.ynx(0,31),t.YNc(1,Sh,3,3,\"th\",32),t.YNc(2,Lh,2,1,\"td\",19),t.BQk())}function Rh(n,s){1&n&&(t.TgZ(0,\"th\",29),t._uU(1),t.ALo(2,\"translate\"),t.qZA()),2&n&&(t.xp6(1),t.hij(\" \",t.lcZ(2,1,\"azioni\"),\" \"))}function Fh(n,s){if(1&n){const e=t.EpF();t.TgZ(0,\"td\",30),t.TgZ(1,\"button\",34),t.NdJ(\"click\",function(){const d=t.CHM(e).$implicit;return t.oxw().startUpdate(d)}),t._UZ(2,\"i\",35),t._uU(3,\"\\xa0 \"),t.TgZ(4,\"span\",36),t._uU(5),t.ALo(6,\"translate\"),t.qZA(),t.qZA(),t.TgZ(7,\"button\",34),t.NdJ(\"click\",function(){const d=t.CHM(e).$implicit;return t.oxw().confirmDialog(d.targa)}),t._UZ(8,\"i\",37),t._uU(9,\"\\xa0 \"),t.TgZ(10,\"span\",36),t._uU(11),t.ALo(12,\"translate\"),t.qZA(),t.qZA(),t.qZA()}2&n&&(t.xp6(5),t.Oqu(t.lcZ(6,2,\"modifica\")),t.xp6(6),t.Oqu(t.lcZ(12,4,\"elimina\")))}function Gh(n,s){1&n&&t._UZ(0,\"tr\",38)}function Jh(n,s){1&n&&t._UZ(0,\"tr\",39)}const Bh=function(){return[5,10,25,50,100]};let Qh=(()=>{class n{constructor(e,o,a,d,h){this.veicoloService=e,this.cpoService=o,this.authService=a,this.dialog=d,this.translate=h,this.dataSource=new M.by,this.displayedColumns=[\"targa\",\"modello\",\"marca\",\"ivaAzienda\",\"action\"],this.displayedColumnsA=[\"targa\",\"modello\",\"marca\",\"ivaAzienda\",\"ragioneSociale\"],this.isLoading=!1,this.result=\"\"}applyFilter(e){this.dataSource.filter=e.target.value.trim().toLowerCase(),this.dataSource.paginator&&this.dataSource.paginator.firstPage()}ngOnInit(){return(0,C.mG)(this,void 0,void 0,function*(){this.isLoading=!0,this.authService.userObservable.subscribe(e=>{null!=e&&(\"ADMIN\"==e.role?this.getAllAuto().then(()=>this.isLoading=!1):(\"CPOCONFIRM\"==e.role||\"CPO\"==e.role)&&this.authService.cpoObservable.subscribe(o=>{null!=o&&this.getAutoOfCpo().then(()=>this.isLoading=!1),console.log(o)}),this.dataSource.paginator=this.paginator)})})}addAuto(){this.dialog.open(Ce,{}).afterClosed().toPromise().then(()=>{this.getAutoOfCpo()})}startUpdate(e){this.update=!0,this.dialog.open(Ce,{disableClose:!0,data:{update:this.update,veicolo:e}}).afterClosed().toPromise()}getCpoAuto(e){return this.cpoList.filter(o=>o.iva==e)[0].ragioneSociale}isAdmin(){return\"ADMIN\"===b().get(\"userRole\")}isCpo(){return\"CPO\"===b().get(\"userRole\")}getAutoOfCpo(){return(0,C.mG)(this,void 0,void 0,function*(){null!=this.authService.dataEmpCpo.cpo.auto&&(this.dataSource.data=yield this.veicoloService.getAll().toPromise())})}getAllAuto(){return(0,C.mG)(this,void 0,void 0,function*(){this.cpoList=yield this.cpoService.getAll().toPromise(),this.dataSource.data=yield this.veicoloService.getAll().toPromise()})}confirmDialog(e){const o=this.translate.instant(\"sic_veicolo\"),a=new ht.f(this.translate.instant(\"conf_az\"),o);this.dialog.open(ht.z,{maxWidth:\"400px\",data:a}).afterClosed().subscribe(h=>{this.result=h,h&&this.veicoloService.delete(e).toPromise().then(()=>{this.getAutoOfCpo()})})}}return n.\\u0275fac=function(e){return new(e||n)(t.Y36(Dc),t.Y36(ut.j),t.Y36(F.e),t.Y36(O.uw),t.Y36(U.sK))},n.\\u0275cmp=t.Xpm({type:n,selectors:[[\"app-veicoli\"]],viewQuery:function(e,o){if(1&e&&t.Gf(X.NW,5),2&e){let a;t.iGM(a=t.CRH())&&(o.paginator=a.first)}},decls:41,vars:15,consts:[[1,\"content-body\"],[1,\"container-fluid\",\"default-mt-btn\",\"default-mt-table\",\"default-mt-select\",\"default-autocomplete\",\"default-mt-spinner\"],[1,\"row\"],[1,\"col-xl-12\",\"col-xxl-12\"],[1,\"card\"],[1,\"card-header\",\"d-block\"],[1,\"fs-32\",\"card-title\",\"left\",\"text-black\"],[1,\"card-body\"],[1,\"col-sm-5\"],[1,\"group\"],[\"aria-hidden\",\"true\",\"viewBox\",\"0 0 24 24\",1,\"icon-Search\"],[\"d\",\"M21.53 20.47l-3.66-3.66C19.195 15.24 20 13.214 20 11c0-4.97-4.03-9-9-9s-9 4.03-9 9 4.03 9 9 9c2.215 0 4.24-.804 5.808-2.13l3.66 3.66c.147.146.34.22.53.22s.385-.073.53-.22c.295-.293.295-.767.002-1.06zM3.5 11c0-4.135 3.365-7.5 7.5-7.5s7.5 3.365 7.5 7.5-3.365 7.5-7.5 7.5-7.5-3.365-7.5-7.5z\"],[\"type\",\"search\",1,\"input\",3,\"placeholder\",\"keyup\"],[\"input\",\"\"],[1,\"mat-elevation-z8\",\"table-responsive\"],[\"class\",\"loading\",4,\"ngIf\"],[\"mat-table\",\"\",\"matTableResponsive\",\"\",\"matSort\",\"\",3,\"hidden\",\"dataSource\"],[\"matColumnDef\",\"targa\"],[\"mat-header-cell\",\"\",\"class\",\"header-cell\",\"translate\",\"\",4,\"matHeaderCellDef\"],[\"mat-cell\",\"\",4,\"matCellDef\"],[\"matColumnDef\",\"modello\"],[\"matColumnDef\",\"marca\"],[\"matColumnDef\",\"ivaAzienda\"],[\"matColumnDef\",\"ragioneSociale\",4,\"ngIf\"],[\"matColumnDef\",\"action\"],[\"mat-header-row\",\"\",4,\"matHeaderRowDef\"],[\"mat-row\",\"\",4,\"matRowDef\",\"matRowDefColumns\"],[\"showFirstLastButtons\",\"\",3,\"pageSizeOptions\",\"pageSize\"],[1,\"loading\"],[\"mat-header-cell\",\"\",\"translate\",\"\",1,\"header-cell\"],[\"mat-cell\",\"\"],[\"matColumnDef\",\"ragioneSociale\"],[\"mat-header-cell\",\"\",\"class\",\"header-cell\",4,\"matHeaderCellDef\"],[\"mat-header-cell\",\"\",1,\"header-cell\"],[\"mat-stroked-button\",\"\",1,\"btn-green\",3,\"click\"],[1,\"fas\",\"fa-edit\"],[\"translate\",\"\"],[1,\"fas\",\"fa-trash\"],[\"mat-header-row\",\"\"],[\"mat-row\",\"\"]],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.TgZ(5,\"div\",5),t.TgZ(6,\"h4\",6),t._uU(7),t.ALo(8,\"translate\"),t.qZA(),t.qZA(),t.TgZ(9,\"div\",7),t.TgZ(10,\"div\",2),t.TgZ(11,\"div\",8),t.TgZ(12,\"div\",9),t.O4$(),t.TgZ(13,\"svg\",10),t.TgZ(14,\"g\"),t._UZ(15,\"path\",11),t.qZA(),t.qZA(),t.kcU(),t.TgZ(16,\"input\",12,13),t.NdJ(\"keyup\",function(d){return o.applyFilter(d)}),t.ALo(18,\"translate\"),t.qZA(),t.qZA(),t.qZA(),t.qZA(),t.TgZ(19,\"div\",14),t.YNc(20,yh,2,0,\"div\",15),t.TgZ(21,\"table\",16),t.ynx(22,17),t.YNc(23,qh,3,3,\"th\",18),t.YNc(24,Mh,2,1,\"td\",19),t.BQk(),t.ynx(25,20),t.YNc(26,wh,3,3,\"th\",18),t.YNc(27,Eh,2,1,\"td\",19),t.BQk(),t.ynx(28,21),t.YNc(29,kh,3,3,\"th\",18),t.YNc(30,Uh,2,1,\"td\",19),t.BQk(),t.ynx(31,22),t.YNc(32,Ih,3,3,\"th\",18),t.YNc(33,Nh,2,1,\"td\",19),t.BQk(),t.YNc(34,Dh,3,0,\"ng-container\",23),t.ynx(35,24),t.YNc(36,Rh,3,3,\"th\",18),t.YNc(37,Fh,13,6,\"td\",19),t.BQk(),t.YNc(38,Gh,1,0,\"tr\",25),t.YNc(39,Jh,1,0,\"tr\",26),t.qZA(),t._UZ(40,\"mat-paginator\",27),t.qZA(),t.qZA(),t.qZA(),t.qZA(),t.qZA(),t.qZA(),t.qZA()),2&e&&(t.xp6(7),t.Oqu(t.lcZ(8,10,\"veicoli\")),t.xp6(9),t.s9C(\"placeholder\",t.lcZ(18,12,\"key_res\")),t.xp6(4),t.Q6J(\"ngIf\",o.isLoading),t.xp6(1),t.Q6J(\"hidden\",o.isLoading)(\"dataSource\",o.dataSource),t.xp6(13),t.Q6J(\"ngIf\",o.isAdmin()),t.xp6(4),t.Q6J(\"matHeaderRowDef\",o.displayedColumns),t.xp6(1),t.Q6J(\"matRowDefColumns\",o.displayedColumns),t.xp6(1),t.Q6J(\"pageSizeOptions\",t.DdM(14,Bh))(\"pageSize\",25))},directives:[v.O5,M.BZ,Ft.F,wt.YE,M.w1,M.fO,M.Dz,M.as,M.nj,X.NW,w.g,M.ge,U.Pi,M.ev,z.lW,M.XQ,M.Gk],pipes:[U.X$],styles:[\"[_nghost-%COMP%] .mat-sort-header-container{display:flex;justify-content:center;padding-left:18px}table[_ngcontent-%COMP%]{width:100%}button[_ngcontent-%COMP%]{color:#5c8548!important}.header-cell[_ngcontent-%COMP%], td[_ngcontent-%COMP%]{text-align:center;align-items:center;justify-content:center}.mat-form-field[_ngcontent-%COMP%]{font-size:14px;width:100%}.top[_ngcontent-%COMP%]{padding-bottom:2em}.left[_ngcontent-%COMP%]{float:left;font-size:2vw}.group[_ngcontent-%COMP%]{padding-bottom:13px;display:flex;line-height:28px;align-items:center;position:relative;max-width:289px}.input[_ngcontent-%COMP%]{width:100%;height:40px;line-height:28px;padding:0 1rem 0 2.5rem;border:2px solid transparent;border-radius:8px;outline:none;background-color:#f3f3f4;color:#0d0c22;transition:.3s ease}.input[_ngcontent-%COMP%]::placeholder{color:#9e9ea7}.input[_ngcontent-%COMP%]:focus, input[_ngcontent-%COMP%]:hover{outline:none;border-color:#ea4c8966;background-color:#fff;box-shadow:0 0 0 4px #ea4c891a}.icon-Search[_ngcontent-%COMP%]{position:absolute;left:1rem;fill:#9e9ea7;width:1rem;height:1rem}@media (max-width: 1090px){.mat-table[matTableResponsive][_ngcontent-%COMP%] .mat-header-row[_ngcontent-%COMP%]{display:flex;flex-wrap:wrap;height:auto;position:sticky;top:0;z-index:2}.mat-table[matTableResponsive][_ngcontent-%COMP%] .mat-header-row[_ngcontent-%COMP%] th.mat-header-cell[_ngcontent-%COMP%]{display:flex;flex:1;align-items:center;padding:1rem .5rem;justify-content:space-around}.mat-table[matTableResponsive][_ngcontent-%COMP%] .mat-header-row[_ngcontent-%COMP%] th.mat-header-cell[_ngcontent-%COMP%] > .mat-sort-header-container[_ngcontent-%COMP%]{padding-left:15px}.mat-table[matTableResponsive][_ngcontent-%COMP%] .mat-header-row[_ngcontent-%COMP%] th.mat-header-cell[_ngcontent-%COMP%]:not([mat-sort-header]), .mat-table[matTableResponsive][_ngcontent-%COMP%] .mat-header-row[_ngcontent-%COMP%] th.mat-header-cell.mat-sort-header-disabled[_ngcontent-%COMP%], .mat-table[matTableResponsive][_ngcontent-%COMP%] .mat-header-row[_ngcontent-%COMP%] th.mat-header-cell.mat-column-actions[_ngcontent-%COMP%]{display:none}.mat-table[matTableResponsive][_ngcontent-%COMP%] .mat-row[_ngcontent-%COMP%]{height:auto}.mat-table[matTableResponsive][_ngcontent-%COMP%] .mat-row[_ngcontent-%COMP%] td.mat-cell[_ngcontent-%COMP%]:not(.mat-column-actions){display:grid;grid-template-columns:50% 50%;padding:.5rem;text-align:right;word-break:break-word}.mat-table[matTableResponsive][_ngcontent-%COMP%] .mat-row[_ngcontent-%COMP%] td.mat-cell[_ngcontent-%COMP%]:not(.mat-column-actions) > *[_ngcontent-%COMP%]{grid-column:2}.mat-table[matTableResponsive][_ngcontent-%COMP%] .mat-row[_ngcontent-%COMP%] td.mat-cell[_ngcontent-%COMP%]:not(.mat-column-actions):before{content:attr(data-column-name);text-align:left}.mat-table[matTableResponsive][_ngcontent-%COMP%] .mat-row[_ngcontent-%COMP%] td.mat-column-actions[_ngcontent-%COMP%]{display:flex;justify-content:center;padding:0 .5rem}.mat-table[matTableResponsive][_ngcontent-%COMP%] .mat-row[_ngcontent-%COMP%] td.mat-column-actions[_ngcontent-%COMP%] > button[_ngcontent-%COMP%]{margin:.5rem 0}.mat-table[matTableResponsive][_ngcontent-%COMP%] .mat-row[_ngcontent-%COMP%]:last-of-type td[_ngcontent-%COMP%]:last-of-type{border:none}.mat-table[matTableResponsive][_ngcontent-%COMP%] .mat-row[_ngcontent-%COMP%]:not(:last-of-type) td[_ngcontent-%COMP%]:last-of-type{border-bottom:.5rem solid #fafafa}.mat-card[_ngcontent-%COMP%] .mat-table[matTableResponsive][_ngcontent-%COMP%], .mat-expansion-panel[_ngcontent-%COMP%] .mat-table[matTableResponsive][_ngcontent-%COMP%]{border:.5rem solid #fafafa}}\"]}),n})();var Rc=c(72342);const zh=[\"search\"],$h=function(){return{minimumFractionDigits:2,maximumFractionDigits:2}};function Yh(n,s){if(1&n&&(t.TgZ(0,\"div\",11),t.TgZ(1,\"div\",12),t._UZ(2,\"div\",13),t.TgZ(3,\"div\",14),t.TgZ(4,\"div\",15),t.TgZ(5,\"div\",16),t.TgZ(6,\"h2\",17),t._uU(7),t.qZA(),t.TgZ(8,\"span\",18),t._uU(9),t.ALo(10,\"translate\"),t.qZA(),t.qZA(),t._UZ(11,\"img\",19),t.qZA(),t.qZA(),t.qZA(),t.qZA()),2&n){const e=t.oxw();let o;t.xp6(7),t.hij(\"\",null!==(o=e.truncToDecimal(null==e.datiCruscotto?null:e.datiCruscotto.totalRevenues).toLocaleString(\"it-IT\",t.DdM(4,$h)))&&void 0!==o?o:0,\" \\u20ac\"),t.xp6(2),t.Oqu(t.lcZ(10,2,\"inc_tot\"))}}function Vh(n,s){if(1&n){const e=t.EpF();t.TgZ(0,\"div\",11),t.TgZ(1,\"div\",20),t.NdJ(\"click\",function(){return t.CHM(e),t.oxw().navigate(\"subcpo\")}),t._UZ(2,\"div\",13),t.TgZ(3,\"div\",14),t.TgZ(4,\"div\",15),t.TgZ(5,\"div\",21),t.TgZ(6,\"h2\",22),t._uU(7),t.qZA(),t.TgZ(8,\"span\",18),t._uU(9),t.ALo(10,\"translate\"),t.qZA(),t.qZA(),t._UZ(11,\"img\",23),t.qZA(),t.qZA(),t.qZA(),t.qZA()}if(2&n){const e=t.oxw();t.xp6(7),t.Oqu(null!=(null==e.datiCruscotto?null:e.datiCruscotto.numCpo)?null==e.datiCruscotto?null:e.datiCruscotto.numCpo:0),t.xp6(2),t.Oqu(t.lcZ(10,2,\"subcpo\"))}}function jh(n,s){if(1&n){const e=t.EpF();t.TgZ(0,\"div\",11),t.TgZ(1,\"div\",20),t.NdJ(\"click\",function(){return t.CHM(e),t.oxw().navigate(\"data-emp-cpo\")}),t._UZ(2,\"div\",13),t.TgZ(3,\"div\",14),t.TgZ(4,\"div\",15),t.TgZ(5,\"div\",21),t.TgZ(6,\"h2\",22),t._uU(7),t.qZA(),t.TgZ(8,\"span\",18),t._uU(9),t.qZA(),t.qZA(),t._UZ(10,\"img\",23),t.qZA(),t.qZA(),t.qZA(),t.qZA()}if(2&n){const e=t.oxw();let o;t.xp6(7),t.Oqu(null!==(o=null==e.datiCruscotto?null:e.datiCruscotto.numDec)&&void 0!==o?o:0),t.xp6(2),t.Oqu(\"Aziende\")}}function Wh(n,s){if(1&n){const e=t.EpF();t.TgZ(0,\"div\",11),t.TgZ(1,\"div\",20),t.NdJ(\"click\",function(){return t.CHM(e),t.oxw().navigate(\"mainCPO\")}),t._UZ(2,\"div\",13),t.TgZ(3,\"div\",14),t.TgZ(4,\"div\",15),t.TgZ(5,\"div\",21),t.TgZ(6,\"h2\",22),t._uU(7),t.qZA(),t.TgZ(8,\"span\",18),t._uU(9),t.qZA(),t.qZA(),t._UZ(10,\"img\",23),t.qZA(),t.qZA(),t.qZA(),t.qZA()}if(2&n){const e=t.oxw();let o;t.xp6(7),t.Oqu(null!==(o=null==e.datiCruscotto?null:e.datiCruscotto.numCpo)&&void 0!==o?o:0),t.xp6(2),t.Oqu(\"Numero-CPO\")}}function Hh(n,s){if(1&n){const e=t.EpF();t.TgZ(0,\"div\",11),t.TgZ(1,\"div\",20),t.NdJ(\"click\",function(){return t.CHM(e),t.oxw().navigate(\"mainEMP\")}),t._UZ(2,\"div\",13),t.TgZ(3,\"div\",14),t.TgZ(4,\"div\",15),t.TgZ(5,\"div\",21),t.TgZ(6,\"h2\",22),t._uU(7),t.qZA(),t.TgZ(8,\"span\",18),t._uU(9),t.qZA(),t.qZA(),t._UZ(10,\"img\",23),t.qZA(),t.qZA(),t.qZA(),t.qZA()}if(2&n){const e=t.oxw();let o;t.xp6(7),t.Oqu(null!==(o=null==e.datiCruscotto?null:e.datiCruscotto.numEmp)&&void 0!==o?o:0),t.xp6(2),t.Oqu(\"Numero-EMP\")}}function Kh(n,s){if(1&n){const e=t.EpF();t.TgZ(0,\"div\",11),t.TgZ(1,\"div\",20),t.NdJ(\"click\",function(){return t.CHM(e),t.oxw().navigate(\"subcpo\")}),t._UZ(2,\"div\",13),t.TgZ(3,\"div\",14),t.TgZ(4,\"div\",15),t.TgZ(5,\"div\",21),t.TgZ(6,\"h2\",22),t._uU(7),t.qZA(),t.TgZ(8,\"span\",18),t._uU(9),t.ALo(10,\"translate\"),t.qZA(),t.qZA(),t._UZ(11,\"img\",23),t.qZA(),t.qZA(),t.qZA(),t.qZA()}if(2&n){const e=t.oxw();let o;t.xp6(7),t.Oqu(null!==(o=null==e.datiCruscotto?null:e.datiCruscotto.numSubCpo)&&void 0!==o?o:0),t.xp6(2),t.Oqu(t.lcZ(10,2,\"subcpo\"))}}function Xh(n,s){if(1&n){const e=t.EpF();t.TgZ(0,\"div\",11),t.TgZ(1,\"div\",20),t.NdJ(\"click\",function(){return t.CHM(e),t.oxw().navigate(\"users\")}),t._UZ(2,\"div\",13),t.TgZ(3,\"div\",14),t.TgZ(4,\"div\",15),t.TgZ(5,\"div\",21),t.TgZ(6,\"h2\",22),t._uU(7),t.qZA(),t.TgZ(8,\"span\",18),t._uU(9),t.ALo(10,\"translate\"),t.qZA(),t.qZA(),t._UZ(11,\"img\",24),t.qZA(),t.qZA(),t.qZA(),t.qZA()}if(2&n){const e=t.oxw();let o;t.xp6(7),t.Oqu(void 0===(null==e.datiCruscotto?null:e.datiCruscotto.numUsers)?0:null!==(o=null==e.datiCruscotto?null:e.datiCruscotto.numUsers)&&void 0!==o?o:0),t.xp6(2),t.Oqu(t.lcZ(10,2,\"utenti\"))}}function t1(n,s){if(1&n){const e=t.EpF();t.TgZ(0,\"div\",11),t.TgZ(1,\"div\",20),t.NdJ(\"click\",function(){return t.CHM(e),t.oxw().navigate(\"reservations\")}),t._UZ(2,\"div\",13),t.TgZ(3,\"div\",14),t.TgZ(4,\"div\",15),t.TgZ(5,\"div\",21),t.TgZ(6,\"h2\",22),t._uU(7),t.qZA(),t.TgZ(8,\"span\",18),t._uU(9),t.ALo(10,\"translate\"),t.qZA(),t.qZA(),t._UZ(11,\"img\",25),t.qZA(),t.qZA(),t.qZA(),t.qZA()}if(2&n){const e=t.oxw();let o;t.xp6(7),t.Oqu(null!==(o=null==e.datiCruscotto?null:e.datiCruscotto.numReservations)&&void 0!==o?o:0),t.xp6(2),t.Oqu(t.lcZ(10,2,\"pren\"))}}function e1(n,s){if(1&n){const e=t.EpF();t.TgZ(0,\"div\",11),t.TgZ(1,\"div\",20),t.NdJ(\"click\",function(){return t.CHM(e),t.oxw().navigate(\"chargepoints\")}),t._UZ(2,\"div\",13),t.TgZ(3,\"div\",14),t.TgZ(4,\"div\",15),t.TgZ(5,\"div\",21),t.TgZ(6,\"h2\",22),t._uU(7),t.qZA(),t.TgZ(8,\"span\",18),t._uU(9),t.ALo(10,\"translate\"),t.qZA(),t.qZA(),t._UZ(11,\"img\",26),t.qZA(),t.qZA(),t.qZA(),t.qZA()}if(2&n){const e=t.oxw();let o;t.xp6(7),t.Oqu(null!==(o=null==e.datiCruscotto?null:e.datiCruscotto.numChargepoint)&&void 0!==o?o:0),t.xp6(2),t.Oqu(t.lcZ(10,2,\"staz_tot\"))}}function n1(n,s){if(1&n){const e=t.EpF();t.TgZ(0,\"div\",11),t.TgZ(1,\"div\",20),t.NdJ(\"click\",function(){return t.CHM(e),t.oxw().navigate(\"chargepoints\")}),t._UZ(2,\"div\",13),t.TgZ(3,\"div\",14),t.TgZ(4,\"div\",15),t.TgZ(5,\"div\",21),t.TgZ(6,\"h2\",22),t._uU(7),t.qZA(),t.TgZ(8,\"span\",18),t._uU(9),t.ALo(10,\"translate\"),t.qZA(),t.qZA(),t._UZ(11,\"img\",26),t.qZA(),t.qZA(),t.qZA(),t.qZA()}if(2&n){const e=t.oxw();let o;t.xp6(7),t.Oqu(null!==(o=null==e.datiCruscotto?null:e.datiCruscotto.numIsPublic)&&void 0!==o?o:0),t.xp6(2),t.Oqu(t.lcZ(10,2,\"station_publ\"))}}function o1(n,s){if(1&n){const e=t.EpF();t.TgZ(0,\"div\",11),t.TgZ(1,\"div\",20),t.NdJ(\"click\",function(){return t.CHM(e),t.oxw().navigate(\"chargepoints\")}),t._UZ(2,\"div\",13),t.TgZ(3,\"div\",14),t.TgZ(4,\"div\",15),t.TgZ(5,\"div\",21),t.TgZ(6,\"h2\",22),t._uU(7),t.qZA(),t.TgZ(8,\"span\",18),t._uU(9),t.ALo(10,\"translate\"),t.qZA(),t.qZA(),t._UZ(11,\"img\",26),t.qZA(),t.qZA(),t.qZA(),t.qZA()}if(2&n){const e=t.oxw();let o;t.xp6(7),t.Oqu(null!==(o=null==e.datiCruscotto?null:e.datiCruscotto.numIsPrivate)&&void 0!==o?o:0),t.xp6(2),t.Oqu(t.lcZ(10,2,\"station_priv\"))}}function i1(n,s){if(1&n){const e=t.EpF();t.TgZ(0,\"div\",11),t.TgZ(1,\"div\",20),t.NdJ(\"click\",function(){return t.CHM(e),t.oxw().navigate(\"chargepoints/status/Available\")}),t._UZ(2,\"div\",13),t.TgZ(3,\"div\",14),t.TgZ(4,\"div\",15),t.TgZ(5,\"div\",21),t.TgZ(6,\"h2\",22),t._uU(7),t.qZA(),t.TgZ(8,\"span\",18),t._uU(9),t.ALo(10,\"translate\"),t.qZA(),t.qZA(),t._UZ(11,\"img\",26),t.qZA(),t.qZA(),t.qZA(),t.qZA()}if(2&n){const e=t.oxw();let o;t.xp6(7),t.Oqu(null!==(o=null==e.datiCruscotto?null:e.datiCruscotto.numAvailableChargeBoxes)&&void 0!==o?o:0),t.xp6(2),t.Oqu(t.lcZ(10,2,\"staz_disp\"))}}function a1(n,s){if(1&n){const e=t.EpF();t.TgZ(0,\"div\",11),t.TgZ(1,\"div\",20),t.NdJ(\"click\",function(){return t.CHM(e),t.oxw().navigate(\"chargepoints/status/Unavailable\")}),t._UZ(2,\"div\",13),t.TgZ(3,\"div\",14),t.TgZ(4,\"div\",15),t.TgZ(5,\"div\",21),t.TgZ(6,\"h2\",22),t._uU(7),t.qZA(),t.TgZ(8,\"span\",18),t._uU(9),t.ALo(10,\"translate\"),t.qZA(),t.qZA(),t._UZ(11,\"img\",26),t.qZA(),t.qZA(),t.qZA(),t.qZA()}if(2&n){const e=t.oxw();let o;t.xp6(7),t.Oqu(null!==(o=null==e.datiCruscotto?null:e.datiCruscotto.numOfflineChargeBoxes)&&void 0!==o?o:0),t.xp6(2),t.Oqu(t.lcZ(10,2,\"staz_off\"))}}function r1(n,s){if(1&n){const e=t.EpF();t.TgZ(0,\"div\",11),t.TgZ(1,\"div\",20),t.NdJ(\"click\",function(){return t.CHM(e),t.oxw().navigate(\"chargepoints/status/Faulted\")}),t._UZ(2,\"div\",13),t.TgZ(3,\"div\",14),t.TgZ(4,\"div\",15),t.TgZ(5,\"div\",21),t.TgZ(6,\"h2\",22),t._uU(7),t.qZA(),t.TgZ(8,\"span\",18),t._uU(9),t.ALo(10,\"translate\"),t.qZA(),t.qZA(),t._UZ(11,\"img\",26),t.qZA(),t.qZA(),t.qZA(),t.qZA()}if(2&n){const e=t.oxw();let o;t.xp6(7),t.Oqu(null!==(o=null==e.datiCruscotto?null:e.datiCruscotto.numErrorChargeBoxes)&&void 0!==o?o:0),t.xp6(2),t.Oqu(t.lcZ(10,2,\"staz_err\"))}}function s1(n,s){if(1&n){const e=t.EpF();t.TgZ(0,\"div\",11),t.TgZ(1,\"div\",20),t.NdJ(\"click\",function(){return t.CHM(e),t.oxw().navigate(\"transactions\")}),t._UZ(2,\"div\",13),t.TgZ(3,\"div\",14),t.TgZ(4,\"div\",15),t.TgZ(5,\"div\",21),t.TgZ(6,\"h2\",22),t._uU(7),t.qZA(),t.TgZ(8,\"span\",18),t._uU(9),t.ALo(10,\"translate\"),t.qZA(),t.qZA(),t._UZ(11,\"img\",27),t.qZA(),t.qZA(),t.qZA(),t.qZA()}if(2&n){const e=t.oxw();let o;t.xp6(7),t.Oqu(null!==(o=null==e.datiCruscotto?null:e.datiCruscotto.numTransactions)&&void 0!==o?o:0),t.xp6(2),t.Oqu(t.lcZ(10,2,\"ric_tot\"))}}function l1(n,s){if(1&n){const e=t.EpF();t.TgZ(0,\"div\",11),t.TgZ(1,\"div\",20),t.NdJ(\"click\",function(){return t.CHM(e),t.oxw().navigate(\"transactions/date/LastMonth\")}),t._UZ(2,\"div\",13),t.TgZ(3,\"div\",14),t.TgZ(4,\"div\",15),t.TgZ(5,\"div\",21),t.TgZ(6,\"h2\",22),t._uU(7),t.qZA(),t.TgZ(8,\"span\",18),t._uU(9),t.ALo(10,\"translate\"),t.qZA(),t.qZA(),t._UZ(11,\"img\",27),t.qZA(),t.qZA(),t.qZA(),t.qZA()}if(2&n){const e=t.oxw();let o;t.xp6(7),t.Oqu(null!==(o=null==e.datiCruscotto?null:e.datiCruscotto.numTransactionsLastMonth)&&void 0!==o?o:0),t.xp6(2),t.Oqu(t.lcZ(10,2,\"ric_ult_30g\"))}}function c1(n,s){if(1&n){const e=t.EpF();t.TgZ(0,\"div\",11),t.TgZ(1,\"div\",20),t.NdJ(\"click\",function(){return t.CHM(e),t.oxw().navigate(\"transactions/date/LastWeek\")}),t._UZ(2,\"div\",13),t.TgZ(3,\"div\",14),t.TgZ(4,\"div\",15),t.TgZ(5,\"div\",21),t.TgZ(6,\"h2\",22),t._uU(7),t.qZA(),t.TgZ(8,\"span\",18),t._uU(9),t.ALo(10,\"translate\"),t.qZA(),t.qZA(),t._UZ(11,\"img\",27),t.qZA(),t.qZA(),t.qZA(),t.qZA()}if(2&n){const e=t.oxw();let o;t.xp6(7),t.Oqu(null!==(o=null==e.datiCruscotto?null:e.datiCruscotto.numTransactionsLastWeek)&&void 0!==o?o:0),t.xp6(2),t.Oqu(t.lcZ(10,2,\"ric_ult_7g\"))}}function p1(n,s){if(1&n){const e=t.EpF();t.TgZ(0,\"div\",11),t.TgZ(1,\"div\",20),t.NdJ(\"click\",function(){return t.CHM(e),t.oxw().navigate(\"transactions/date/LastDay\")}),t._UZ(2,\"div\",13),t.TgZ(3,\"div\",14),t.TgZ(4,\"div\",15),t.TgZ(5,\"div\",21),t.TgZ(6,\"h2\",22),t._uU(7),t.qZA(),t.TgZ(8,\"span\",18),t._uU(9),t.ALo(10,\"translate\"),t.qZA(),t.qZA(),t._UZ(11,\"img\",27),t.qZA(),t.qZA(),t.qZA(),t.qZA()}if(2&n){const e=t.oxw();let o;t.xp6(7),t.Oqu(null!==(o=null==e.datiCruscotto?null:e.datiCruscotto.numTransactionsLastDay)&&void 0!==o?o:0),t.xp6(2),t.Oqu(t.lcZ(10,2,\"ric_gior\"))}}const me=function(){return{minimumFractionDigits:3,maximumFractionDigits:3}};function d1(n,s){if(1&n&&(t.TgZ(0,\"div\",11),t.TgZ(1,\"div\",28),t._UZ(2,\"div\",13),t.TgZ(3,\"div\",14),t.TgZ(4,\"div\",15),t.TgZ(5,\"div\",21),t.TgZ(6,\"h2\",22),t._uU(7),t.qZA(),t.TgZ(8,\"span\",18),t._uU(9),t.ALo(10,\"translate\"),t.qZA(),t.qZA(),t._UZ(11,\"img\",29),t.qZA(),t.qZA(),t.qZA(),t.qZA()),2&n){const e=t.oxw();let o;t.xp6(7),t.Oqu(null!==(o=e.toMwh(null==e.datiCruscotto?null:e.datiCruscotto.kwh).toLocaleString(\"it-IT\",t.DdM(4,me)))&&void 0!==o?o:0),t.xp6(2),t.Oqu(t.lcZ(10,2,\"mwh_tot\"))}}function g1(n,s){if(1&n&&(t.TgZ(0,\"div\",11),t.TgZ(1,\"div\",28),t._UZ(2,\"div\",13),t.TgZ(3,\"div\",14),t.TgZ(4,\"div\",15),t.TgZ(5,\"div\",21),t.TgZ(6,\"h2\",22),t._uU(7),t.qZA(),t.TgZ(8,\"span\",18),t._uU(9),t.ALo(10,\"translate\"),t.qZA(),t.qZA(),t._UZ(11,\"img\",29),t.qZA(),t.qZA(),t.qZA(),t.qZA()),2&n){const e=t.oxw();let o;t.xp6(7),t.Oqu(null!==(o=e.toMwh(null==e.datiCruscotto?null:e.datiCruscotto.totalPowerLastMonth).toLocaleString(\"it-IT\",t.DdM(4,me)))&&void 0!==o?o:0),t.xp6(2),t.Oqu(t.lcZ(10,2,\"mwh_ult_30g\"))}}function m1(n,s){if(1&n&&(t.TgZ(0,\"div\",11),t.TgZ(1,\"div\",28),t._UZ(2,\"div\",13),t.TgZ(3,\"div\",14),t.TgZ(4,\"div\",15),t.TgZ(5,\"div\",21),t.TgZ(6,\"h2\",22),t._uU(7),t.qZA(),t.TgZ(8,\"span\",18),t._uU(9),t.ALo(10,\"translate\"),t.qZA(),t.qZA(),t._UZ(11,\"img\",29),t.qZA(),t.qZA(),t.qZA(),t.qZA()),2&n){const e=t.oxw();let o;t.xp6(7),t.Oqu(null!==(o=e.toMwh(null==e.datiCruscotto?null:e.datiCruscotto.totalPowerLastWeek).toLocaleString(\"it-IT\",t.DdM(4,me)))&&void 0!==o?o:0),t.xp6(2),t.Oqu(t.lcZ(10,2,\"mwh_ult_7g\"))}}function u1(n,s){if(1&n&&(t.TgZ(0,\"div\",11),t.TgZ(1,\"div\",28),t._UZ(2,\"div\",13),t.TgZ(3,\"div\",14),t.TgZ(4,\"div\",15),t.TgZ(5,\"div\",21),t.TgZ(6,\"h2\",22),t._uU(7),t.qZA(),t.TgZ(8,\"span\",18),t._uU(9),t.ALo(10,\"translate\"),t.qZA(),t.qZA(),t._UZ(11,\"img\",29),t.qZA(),t.qZA(),t.qZA(),t.qZA()),2&n){const e=t.oxw();let o;t.xp6(7),t.Oqu(null!==(o=e.toMwh(null==e.datiCruscotto?null:e.datiCruscotto.totalPowerLastDay).toLocaleString(\"it-IT\",t.DdM(4,me)))&&void 0!==o?o:0),t.xp6(2),t.Oqu(t.lcZ(10,2,\"mwh_gior\"))}}function _1(n,s){if(1&n&&(t.TgZ(0,\"div\",30),t.TgZ(1,\"div\",31),t.TgZ(2,\"div\",32),t.TgZ(3,\"h4\",33),t._uU(4),t.ALo(5,\"translate\"),t.ALo(6,\"translate\"),t.qZA(),t.qZA(),t.TgZ(7,\"div\",14),t._UZ(8,\"app-zoomable-timeseries\",34),t.qZA(),t.qZA(),t.qZA()),2&n){const e=t.oxw();t.xp6(4),t.AsE(\"\",t.lcZ(5,6,\"utenti\"),\" \",t.lcZ(6,8,\"cumulativo\"),\"\"),t.xp6(4),t.Q6J(\"chartStats\",e.userStats)(\"name\",\"Utenti\")(\"divisionValue\",1)(\"decimalNumbers\",0)}}function h1(n,s){if(1&n&&(t.TgZ(0,\"div\",30),t.TgZ(1,\"div\",31),t.TgZ(2,\"div\",32),t.TgZ(3,\"h4\",33),t._uU(4),t.ALo(5,\"translate\"),t.ALo(6,\"translate\"),t.qZA(),t.qZA(),t.TgZ(7,\"div\",14),t._UZ(8,\"app-zoomable-timeseries\",34),t.qZA(),t.qZA(),t.qZA()),2&n){const e=t.oxw();t.xp6(4),t.AsE(\"\",t.lcZ(5,6,\"utenti\"),\" \",t.lcZ(6,8,\"incrementale\"),\"\"),t.xp6(4),t.Q6J(\"chartStats\",e.userStatsIn)(\"name\",\"Utenti\")(\"divisionValue\",1)(\"decimalNumbers\",0)}}function f1(n,s){if(1&n&&(t.TgZ(0,\"div\",30),t.TgZ(1,\"div\",31),t.TgZ(2,\"div\",32),t.TgZ(3,\"h4\",33),t._uU(4),t.ALo(5,\"translate\"),t.ALo(6,\"translate\"),t.qZA(),t.qZA(),t.TgZ(7,\"div\",14),t._UZ(8,\"app-zoomable-timeseries\",34),t.qZA(),t.qZA(),t.qZA()),2&n){const e=t.oxw();t.xp6(4),t.AsE(\"\",t.lcZ(5,6,\"subcpo\"),\" \",t.lcZ(6,8,\"cumulativo\"),\"\"),t.xp6(4),t.Q6J(\"chartStats\",e.cpoStats)(\"name\",\"CPO\")(\"divisionValue\",1)(\"decimalNumbers\",0)}}function Z1(n,s){if(1&n&&(t.TgZ(0,\"div\",30),t.TgZ(1,\"div\",31),t.TgZ(2,\"div\",32),t.TgZ(3,\"h4\",33),t._uU(4),t.ALo(5,\"translate\"),t.ALo(6,\"translate\"),t.qZA(),t.qZA(),t.TgZ(7,\"div\",14),t._UZ(8,\"app-zoomable-timeseries\",34),t.qZA(),t.qZA(),t.qZA()),2&n){const e=t.oxw();t.xp6(4),t.AsE(\"\",t.lcZ(5,6,\"subcpo\"),\" \",t.lcZ(6,8,\"incrementale\"),\"\"),t.xp6(4),t.Q6J(\"chartStats\",e.cpoStatsIn)(\"name\",\"CPO\")(\"divisionValue\",1)(\"decimalNumbers\",0)}}function C1(n,s){if(1&n&&(t.TgZ(0,\"div\",30),t.TgZ(1,\"div\",31),t.TgZ(2,\"div\",32),t.TgZ(3,\"h4\",33),t._uU(4),t.ALo(5,\"translate\"),t.ALo(6,\"translate\"),t.qZA(),t.qZA(),t.TgZ(7,\"div\",14),t._UZ(8,\"app-zoomable-timeseries\",34),t.qZA(),t.qZA(),t.qZA()),2&n){const e=t.oxw();t.xp6(4),t.AsE(\"\",t.lcZ(5,6,\"ricariche\"),\" \",t.lcZ(6,8,\"cumulativo\"),\"\"),t.xp6(4),t.Q6J(\"chartStats\",e.transactionStats)(\"name\",\"Ricariche\")(\"divisionValue\",1)(\"decimalNumbers\",0)}}function v1(n,s){if(1&n&&(t.TgZ(0,\"div\",30),t.TgZ(1,\"div\",31),t.TgZ(2,\"div\",32),t.TgZ(3,\"h4\",33),t._uU(4),t.ALo(5,\"translate\"),t.ALo(6,\"translate\"),t.qZA(),t.qZA(),t.TgZ(7,\"div\",14),t._UZ(8,\"app-zoomable-timeseries\",34),t.qZA(),t.qZA(),t.qZA()),2&n){const e=t.oxw();t.xp6(4),t.AsE(\"\",t.lcZ(5,6,\"ricariche\"),\" \",t.lcZ(6,8,\"incrementale\"),\"\"),t.xp6(4),t.Q6J(\"chartStats\",e.transactionStatsIn)(\"name\",\"Ricariche\")(\"divisionValue\",1)(\"decimalNumbers\",0)}}function b1(n,s){if(1&n&&(t.TgZ(0,\"div\",30),t.TgZ(1,\"div\",31),t.TgZ(2,\"div\",32),t.TgZ(3,\"h4\",33),t._uU(4),t.ALo(5,\"translate\"),t.ALo(6,\"translate\"),t.qZA(),t.qZA(),t.TgZ(7,\"div\",14),t._UZ(8,\"app-zoomable-timeseries\",34),t.qZA(),t.qZA(),t.qZA()),2&n){const e=t.oxw();t.xp6(4),t.AsE(\"\",t.lcZ(5,6,\"ricariche\"),\" \",t.lcZ(6,8,\"cumulativo\"),\"\"),t.xp6(4),t.Q6J(\"chartStats\",e.transactionStatsInEmp)(\"name\",\"Ricariche\")(\"divisionValue\",1)(\"decimalNumbers\",0)}}function A1(n,s){if(1&n&&(t.TgZ(0,\"div\",30),t.TgZ(1,\"div\",31),t.TgZ(2,\"div\",32),t.TgZ(3,\"h4\",33),t._uU(4),t.ALo(5,\"translate\"),t.ALo(6,\"translate\"),t.qZA(),t.qZA(),t.TgZ(7,\"div\",14),t._UZ(8,\"app-zoomable-timeseries\",34),t.qZA(),t.qZA(),t.qZA()),2&n){const e=t.oxw();t.xp6(4),t.AsE(\"\",t.lcZ(5,6,\"ricariche\"),\" \",t.lcZ(6,8,\"incrementale\"),\"\"),t.xp6(4),t.Q6J(\"chartStats\",e.transactionStatsInEmp)(\"name\",\"Ricariche\")(\"divisionValue\",1)(\"decimalNumbers\",0)}}function x1(n,s){if(1&n&&(t.TgZ(0,\"div\",30),t.TgZ(1,\"div\",31),t.TgZ(2,\"div\",32),t.TgZ(3,\"h4\",33),t._uU(4),t.ALo(5,\"translate\"),t.ALo(6,\"translate\"),t.qZA(),t.qZA(),t.TgZ(7,\"div\",14),t._UZ(8,\"app-zoomable-timeseries\",34),t.qZA(),t.qZA(),t.qZA()),2&n){const e=t.oxw();t.xp6(4),t.AsE(\"\",t.lcZ(5,6,\"mwh\"),\" \",t.lcZ(6,8,\"cumulativo\"),\"\"),t.xp6(4),t.Q6J(\"chartStats\",e.energyStats)(\"name\",\"MWh\")(\"divisionValue\",1e3)(\"decimalNumbers\",3)}}function T1(n,s){if(1&n&&(t.TgZ(0,\"div\",30),t.TgZ(1,\"div\",31),t.TgZ(2,\"div\",32),t.TgZ(3,\"h4\",33),t._uU(4),t.ALo(5,\"translate\"),t.ALo(6,\"translate\"),t.qZA(),t.qZA(),t.TgZ(7,\"div\",14),t._UZ(8,\"app-zoomable-timeseries\",34),t.qZA(),t.qZA(),t.qZA()),2&n){const e=t.oxw();t.xp6(4),t.AsE(\"\",t.lcZ(5,6,\"mwh\"),\" \",t.lcZ(6,8,\"incrementale\"),\"\"),t.xp6(4),t.Q6J(\"chartStats\",e.energyStatsIn)(\"name\",\"MWh\")(\"divisionValue\",1e3)(\"decimalNumbers\",3)}}function P1(n,s){if(1&n&&(t.TgZ(0,\"div\",30),t.TgZ(1,\"div\",31),t.TgZ(2,\"div\",32),t.TgZ(3,\"h4\",33),t._uU(4),t.ALo(5,\"translate\"),t.ALo(6,\"translate\"),t.qZA(),t.qZA(),t.TgZ(7,\"div\",14),t._UZ(8,\"app-zoomable-timeseries\",34),t.qZA(),t.qZA(),t.qZA()),2&n){const e=t.oxw();t.xp6(4),t.AsE(\"\",t.lcZ(5,6,\"mwh\"),\" \",t.lcZ(6,8,\"cumulativo\"),\"\"),t.xp6(4),t.Q6J(\"chartStats\",e.energyStatsEmp)(\"name\",\"MWh\")(\"divisionValue\",1e3)(\"decimalNumbers\",3)}}function O1(n,s){if(1&n&&(t.TgZ(0,\"div\",30),t.TgZ(1,\"div\",31),t.TgZ(2,\"div\",32),t.TgZ(3,\"h4\",33),t._uU(4),t.ALo(5,\"translate\"),t.ALo(6,\"translate\"),t.qZA(),t.qZA(),t.TgZ(7,\"div\",14),t._UZ(8,\"app-zoomable-timeseries\",34),t.qZA(),t.qZA(),t.qZA()),2&n){const e=t.oxw();t.xp6(4),t.AsE(\"\",t.lcZ(5,6,\"mwh\"),\" \",t.lcZ(6,8,\"incrementale\"),\"\"),t.xp6(4),t.Q6J(\"chartStats\",e.energyStatsInEmp)(\"name\",\"MWh\")(\"divisionValue\",1e3)(\"decimalNumbers\",3)}}let y1=(()=>{class n{constructor(e,o,a,d,h,E,y,D){this.homeService=e,this.dialog=o,this.cpService=a,this.router=d,this.route=h,this.translate=E,this.location=y,this.notifyService=D,this.latlongs=[],this.latlong={},this.isLoading=!0,this.isLoadingGraph=!0,this.zoom=6,this.mapLoaded=!1,this.startPosition={lat:42.102782,lng:12.496366},this.listTs=[],this.listCp=[],this.listFiltered=[],this.dashboardWidgets=[],this.lang=b().get(\"lang\",{decrypt:!0}),this.dataEmpCpo=JSON.parse(b().get(\"dataEmpCpo\",{decrypt:!0})),this.user=b().get(\"user\",{decrypt:!0}),this.appEnab=!0,this.createSubCpoEnabled=!0,this.dataempcpo=JSON.parse(b().get(\"dataEmpCpo\",{decrypt:!0})),this.count=0,this.imgMarker=\"/assets/images/markerStazioni/marker-tradizionale-map\",this.showDetail=!1,this.geoCoder=new google.maps.Geocoder,this.whitelabelInfo=JSON.parse(b().get(\"whitelabelInfo\",{decrypt:!0}))}ngOnInit(){var e;return(0,C.mG)(this,void 0,void 0,function*(){console.log(this.dataempcpo),(!this.isAdmin()||null!=(null===(e=this.dataempcpo)||void 0===e?void 0:e.tenantId))&&this.loadCSS(),this.isLoading=!0,this.isLoadingGraph=!0,this.isAdmin()||this.dataempcpo.confirmedData?(yield this.loadHome().then(()=>{this.isLoading=!1}),yield this.loadGraph().then(()=>{this.isLoadingGraph=!1})):this.router.navigate([\"./management/confirmcpo\"])})}path(){return\"/management/emp\"==this.location.path()?1:\"/management/cpo\"==this.location.path()?2:\"/management/cpms\"==this.location.path()?3:void 0}truncToDecimal(e){return Math.trunc(1*e)/1}toMwh(e){return Math.trunc(e/1e3*1e3)/1e3}refreshPage(){return(0,C.mG)(this,void 0,void 0,function*(){yield this.loadHome()})}refreshGraph(){return(0,C.mG)(this,void 0,void 0,function*(){yield this.loadGraph()})}loadHome(){return(0,C.mG)(this,void 0,void 0,function*(){if(this.isLoading=!0,this.mapLoaded=!0,\"/management/cpms\"==this.location.path())try{this.datiCruscotto=yield this.homeService.get().toPromise()}catch(e){console.error(e.message)}else if(\"/management/cpo\"==this.location.path())try{this.datiCruscotto=yield this.homeService.getDshCpo().toPromise()}catch(e){console.error(e.message)}else if(\"/management/emp\"==this.location.path())try{this.datiCruscotto=yield this.homeService.getDshEmp().toPromise()}catch(e){console.error(e.message)}console.log(this.datiCruscotto),this.isLoading=!1})}loadGraph(){return(0,C.mG)(this,void 0,void 0,function*(){if(this.isLoadingGraph=!0,\"/management/cpo\"==this.location.path())try{let e=yield this.homeService.getTransactionStats().toPromise();this.transactionStats=e.cumulativeCount,this.energyStats=e.cumulativeEnergy,this.transactionStatsIn=e.incrementalCount,this.energyStatsIn=e.incrementalEnergy}catch(e){console.error(e.message)}else if(\"/management/emp\"==this.location.path())try{let e=yield this.homeService.getTransactionStatsEmp().toPromise();this.transactionStatsEmp=e.cumulativeCount,this.energyStatsEmp=e.cumulativeEnergy,this.transactionStatsInEmp=e.incrementalCount,this.energyStatsInEmp=e.incrementalEnergy}catch(e){console.error(e.message)}\"/management/emp\"==this.location.path()&&this.homeService.getUserStats().toPromise().then(e=>{this.userStats=e.cumulative,this.userStatsIn=e.incremental}),\"/management/cpo\"==this.location.path()&&this.homeService.getCpoStats().toPromise().then(e=>{this.cpoStats=e.cumulative,this.cpoStatsIn=e.incremental}),this.isLoadingGraph=!1})}visibilityImage(e){if(e.privato||!e.privato)return\"/assets/images/markerStazioni/marker-tradizionale-map\"}loadError(){this.notifyService.showError(this.translate.instant(\"err_pag\"),this.translate.instant(\"errore\"))}detailCard(e){this.cpDetail=null,this.tSDetail=null,this.isAdmin()&&(1==e.chargepoints.length?(this.cpDetail=e.chargepoints[0],this.showDetail=!0):e.chargepoints.length>=2&&(this.tSDetail=e,this.getAddress(e.position.y,e.position.x),this.showDetail=!0)),this.isCpo()&&(this.getAddress(e.position.y,e.position.x),this.showDetail=!0,this.cpDetail=e)}closeDetail(){this.showDetail=!1,this.tSDetail=null,this.cpDetail=null}cpCard(){return null!=this.cpDetail}tsCard(){return null!=this.tSDetail}filterOnlyTs(){this.onlyTs?(this.onlyCp=!1,this.listFiltered=this.listTs.filter(e=>e.chargepoints.length>1)):this.listFiltered=this.listTs}filterOnlyCp(){this.onlyCp?(this.onlyTs=!1,this.listFiltered=this.listTs.filter(e=>1==e.chargepoints.length)):this.listFiltered=this.listTs}navigate(e){if(this.isAdmin)switch(e){case\"subcpo\":case\"mainCPO\":case\"mainEMP\":break;default:this.router.navigate([e],{relativeTo:this.route})}}addCpo(){this.dialog.open(kc,{})}isAzienda(){return\"AZIENDA\"==this.cpoType}isAdmin(){return\"ADMIN\"===b().get(\"userRole\",{decrypt:!0})}isTech(){return\"TECHNICIAN\"===b().get(\"userRole\",{decrypt:!0})}isCpo(){var e;if(!this.isAdmin())return this.dataempcpo=JSON.parse(b().get(\"dataEmpCpo\",{decrypt:!0})),null===(e=this.dataempcpo)||void 0===e?void 0:e.cpoActive}isEmp(){if(!this.isAdmin())return this.dataempcpo=JSON.parse(b().get(\"dataEmpCpo\",{decrypt:!0})),this.dataempcpo.empActive}userCpo(){return\"AZIENDA\"==this.cpoType||\"CONDOMINIO\"==this.cpoType||\"STRUTTURA_RECETTIVA\"==this.cpoType}getDistance(){const e=new google.maps.LatLng(this.startPosition.lat,this.startPosition.lng),o=new google.maps.LatLng(this.startPosition.lat,this.startPosition.lng);return google.maps.geometry.spherical.computeDistanceBetween(o,e)/1e3}getMyPosition(){return(0,C.mG)(this,void 0,void 0,function*(){try{this.listTs=yield this.cpService.getCpTeamStation(this.startPosition.lat,this.startPosition.lng,2e3).toPromise(),(this.isAdmin()||this.isTech())&&(this.listFiltered=this.listTs)}catch(e){console.error(e.message)}})}getAddress(e,o){let a=\"Non presente\";return this.geoCoder.geocode({location:{lat:Number(e),lng:Number(o)}},(d,h)=>{\"OK\"===h&&(d[0]?a=d[0].formatted_address:(this.getAddress(e,o),this.notifyService.showError(this.translate.instant(\"No results found\"),this.translate.instant(\"errore\"))))}),a}enabled(){return!(!this.isAdmin()&&!this.isTech())}appEnabled(){if(this.isCpo())return!0===this.appEnab}subEnabled(){if(this.isCpo())return!0===this.createSubCpoEnabled}choseColorDash(){switch((0,et.zf)()){case\"energinaio\":return 0;case\"eyes\":case\"beagleplug\":return 1;case\"electricgasoline\":return 2;case\"miacharge\":return 3;case\"electriease\":return 4}}loadCSS(){const e=JSON.parse(b().get(\"dataEmpCpo\",{decrypt:!0}));let o;o=document.createElement(\"link\"),o.setAttribute(\"rel\",\"stylesheet\"),o.setAttribute(\"type\",\"text/css\"),o.setAttribute(\"href\",`../../assets/whitelabel/${e.tenantId}/${e.tenantId}.css`),o.onload=function(){console.log(\"File loaded successfully\")},o.onerror=function(){console.log(\"Error loading file\"),o.setAttribute(\"href\",\"../../assets/whitelabel/DEFAULT/default.css\")},void 0!==o&&document.getElementsByTagName(\"head\")[0].appendChild(o)}permission(){return this.user.permissions}controlViewCard(e){var o,a,d,h,E,y,D,V,ft,Tt,Ct,xt,kt,Zt,Lt,Dt,$t,Yt,Vt,jt,Wt,Ht,Kt;let Ut=!1;if(\"/management/cpms\"!==this.router.url)switch(e){case\"user\":((null===(a=null===(o=this.dataEmpCpo)||void 0===o?void 0:o.emp.permissionEmp)||void 0===a?void 0:a.users.enabled)||(null===(h=null===(d=this.dataEmpCpo)||void 0===d?void 0:d.permission)||void 0===h?void 0:h.easeApp.user.enabled))&&(null===(E=this.permission())||void 0===E?void 0:E.includes(\"userAccessRead\"))&&(Ut=!0);break;case\"subCpo\":((null===(D=null===(y=this.dataEmpCpo)||void 0===y?void 0:y.cpo.permissionCpo)||void 0===D?void 0:D.chargepoint.subCpo.enabled)||(null===(ft=null===(V=this.dataEmpCpo)||void 0===V?void 0:V.permission)||void 0===ft?void 0:ft.easeMonitor.subCpo.enabled))&&(null===(Tt=this.permission())||void 0===Tt?void 0:Tt.includes(\"subAccessRead\"))&&(Ut=!0);break;case\"recharge\":((null===(xt=null===(Ct=this.dataEmpCpo)||void 0===Ct?void 0:Ct.cpo.permissionCpo)||void 0===xt?void 0:xt.chargepoint.recharge.enabled)||(null===(Zt=null===(kt=this.dataEmpCpo)||void 0===kt?void 0:kt.permission)||void 0===Zt?void 0:Zt.easeMonitor.recharge.enabled))&&(null===(Lt=this.permission())||void 0===Lt?void 0:Lt.includes(\"rechargeAccessRead\"))&&(Ut=!0);break;case\"reservation\":((null===($t=null===(Dt=this.dataEmpCpo)||void 0===Dt?void 0:Dt.cpo.permissionCpo)||void 0===$t?void 0:$t.chargepoint.reservation.enabled)||(null===(Vt=null===(Yt=this.dataEmpCpo)||void 0===Yt?void 0:Yt.permission)||void 0===Vt?void 0:Vt.easeMonitor.reservation.enabled))&&(Ut=!0);break;case\"chargepoint\":((null===(Wt=null===(jt=this.dataEmpCpo)||void 0===jt?void 0:jt.cpo.permissionCpo)||void 0===Wt?void 0:Wt.chargepoint.enabled)||(null===(Kt=null===(Ht=this.dataEmpCpo)||void 0===Ht?void 0:Ht.permission)||void 0===Kt?void 0:Kt.easeMonitor.chargepoint.enabled))&&(Ut=!0)}else Ut=!0;return Ut}}return n.\\u0275fac=function(e){return new(e||n)(t.Y36(Ic.Y),t.Y36(O.uw),t.Y36(Rc.K),t.Y36(N.F0),t.Y36(N.gz),t.Y36(U.sK),t.Y36(v.Ye),t.Y36(K.m))},n.\\u0275cmp=t.Xpm({type:n,selectors:[[\"app-cruscotto\"]],viewQuery:function(e,o){if(1&e&&(t.Gf(zh,5),t.Gf(m.SA,5)),2&e){let a;t.iGM(a=t.CRH())&&(o.searchElementRef=a.first),t.iGM(a=t.CRH())&&(o.agmMap=a.first)}},decls:49,vars:42,consts:[[1,\"content-body\"],[1,\"default-mt-btn\",\"default-mt-table\",\"default-mt-select\",\"default-autocomplete\",\"default-mt-spinner\"],[1,\"header-cell\",\"top\"],[\"ngbDropdown\",\"\"],[1,\"container\"],[\"type\",\"button\",\"pButton\",\"\",\"pRipple\",\"\",\"icon\",\"fas fa-redo\",\"tooltipPosition\",\"bottom\",1,\"mr-2\",2,\"background-color\",\"white\",\"border-color\",\"black\",\"color\",\"black\",3,\"pTooltip\",\"click\"],[1,\"container-fluid\",3,\"hidden\"],[1,\"row\"],[\"class\",\"col-xl-3\",4,\"ngIf\"],[1,\"header-cell\"],[\"class\",\"col-xl-6 col-xxl-12\",4,\"ngIf\"],[1,\"col-xl-3\"],[1,\"card\",\"card-bd\",\"click\"],[1,\"card-borderW\"],[1,\"card-body\"],[1,\"media\",\"align-items-center\"],[1,\"media-body\",\"mr-3\",2,\"max-width\",\"70%\"],[1,\"fs-28\",\"carddescription\",\"text-black\",\"font-w700\"],[1,\"fs-14\",\"carddescription\"],[\"alt\",\"card cruscotto\",\"src\",\"assets/images/revenuesicon.png\"],[1,\"card\",\"card-bd\",\"click\",3,\"click\"],[1,\"media-body\",\"mr-3\"],[1,\"fs-32\",\"carddescription\",\"text-black\",\"font-w700\"],[\"alt\",\"card cruscotto\",\"src\",\"assets/images/cpoicon.png\"],[\"alt\",\"card cruscotto\",\"src\",\"assets/images/usericon.png\"],[\"alt\",\"card cruscotto\",\"src\",\"assets/images/reservationicon.png\"],[\"alt\",\"card cruscotto\",\"src\",\"assets/images/chargepointicon.png\"],[\"alt\",\"card cruscotto\",\"src\",\"assets/images/carchargingicon.png\"],[1,\"card\",\"card-bd\"],[\"alt\",\"card cruscotto\",\"src\",\"assets/images/energyicon.png\"],[1,\"col-xl-6\",\"col-xxl-12\"],[1,\"card\"],[1,\"card-header\",\"d-block\"],[1,\"card-title\"],[3,\"chartStats\",\"name\",\"divisionValue\",\"decimalNumbers\"]],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.TgZ(5,\"button\",5),t.NdJ(\"click\",function(){return o.refreshPage()}),t.ALo(6,\"translate\"),t.qZA(),t.qZA(),t.qZA(),t.qZA(),t.TgZ(7,\"div\",6),t.TgZ(8,\"div\",7),t.YNc(9,Yh,12,5,\"div\",8),t.YNc(10,Vh,12,4,\"div\",8),t.YNc(11,jh,11,2,\"div\",8),t.YNc(12,Wh,11,2,\"div\",8),t.YNc(13,Hh,11,2,\"div\",8),t.YNc(14,Kh,12,4,\"div\",8),t.YNc(15,Xh,12,4,\"div\",8),t.YNc(16,t1,12,4,\"div\",8),t.YNc(17,e1,12,4,\"div\",8),t.YNc(18,n1,12,4,\"div\",8),t.YNc(19,o1,12,4,\"div\",8),t.YNc(20,i1,12,4,\"div\",8),t.YNc(21,a1,12,4,\"div\",8),t.YNc(22,r1,12,4,\"div\",8),t.YNc(23,s1,12,4,\"div\",8),t.YNc(24,l1,12,4,\"div\",8),t.YNc(25,c1,12,4,\"div\",8),t.YNc(26,p1,12,4,\"div\",8),t.YNc(27,d1,12,5,\"div\",8),t.YNc(28,g1,12,5,\"div\",8),t.YNc(29,m1,12,5,\"div\",8),t.YNc(30,u1,12,5,\"div\",8),t.qZA(),t.qZA(),t.TgZ(31,\"div\",9),t.TgZ(32,\"div\",4),t.TgZ(33,\"button\",5),t.NdJ(\"click\",function(){return o.refreshGraph()}),t.ALo(34,\"translate\"),t.qZA(),t.qZA(),t.qZA(),t.TgZ(35,\"div\",6),t.TgZ(36,\"div\",7),t.YNc(37,_1,9,10,\"div\",10),t.YNc(38,h1,9,10,\"div\",10),t.YNc(39,f1,9,10,\"div\",10),t.YNc(40,Z1,9,10,\"div\",10),t.YNc(41,C1,9,10,\"div\",10),t.YNc(42,v1,9,10,\"div\",10),t.YNc(43,b1,9,10,\"div\",10),t.YNc(44,A1,9,10,\"div\",10),t.YNc(45,x1,9,10,\"div\",10),t.YNc(46,T1,9,10,\"div\",10),t.YNc(47,P1,9,10,\"div\",10),t.YNc(48,O1,9,10,\"div\",10),t.qZA(),t.qZA(),t.qZA(),t.qZA()),2&e&&(t.xp6(5),t.s9C(\"pTooltip\",t.lcZ(6,38,\"aggiorna\")),t.xp6(2),t.Q6J(\"hidden\",o.isLoading),t.xp6(2),t.Q6J(\"ngIf\",1==o.path()||2==o.path()),t.xp6(1),t.Q6J(\"ngIf\",o.controlViewCard(\"subCpo\")&&2==o.path()),t.xp6(1),t.Q6J(\"ngIf\",3==o.path()),t.xp6(1),t.Q6J(\"ngIf\",3==o.path()),t.xp6(1),t.Q6J(\"ngIf\",3==o.path()),t.xp6(1),t.Q6J(\"ngIf\",3==o.path()),t.xp6(1),t.Q6J(\"ngIf\",1==o.path()),t.xp6(1),t.Q6J(\"ngIf\",o.controlViewCard(\"reservation\")&&2==o.path()||1==o.path()||3==o.path()),t.xp6(1),t.Q6J(\"ngIf\",o.controlViewCard(\"chargepoint\")&&2==o.path()||3==o.path()),t.xp6(1),t.Q6J(\"ngIf\",o.controlViewCard(\"chargepoint\")&&2==o.path()||3==o.path()),t.xp6(1),t.Q6J(\"ngIf\",o.controlViewCard(\"chargepoint\")&&2==o.path()||3==o.path()),t.xp6(1),t.Q6J(\"ngIf\",o.controlViewCard(\"chargepoint\")&&2==o.path()),t.xp6(1),t.Q6J(\"ngIf\",o.controlViewCard(\"chargepoint\")&&2==o.path()),t.xp6(1),t.Q6J(\"ngIf\",o.controlViewCard(\"chargepoint\")&&2==o.path()),t.xp6(1),t.Q6J(\"ngIf\",o.controlViewCard(\"recharge\")&&2==o.path()||1==o.path()||3==o.path()),t.xp6(1),t.Q6J(\"ngIf\",o.controlViewCard(\"recharge\")&&2==o.path()||1==o.path()),t.xp6(1),t.Q6J(\"ngIf\",o.controlViewCard(\"recharge\")&&2==o.path()||1==o.path()),t.xp6(1),t.Q6J(\"ngIf\",o.controlViewCard(\"recharge\")&&2==o.path()||1==o.path()),t.xp6(1),t.Q6J(\"ngIf\",2==o.path()||1==o.path()||3==o.path()),t.xp6(1),t.Q6J(\"ngIf\",2==o.path()||1==o.path()),t.xp6(1),t.Q6J(\"ngIf\",2==o.path()||1==o.path()),t.xp6(1),t.Q6J(\"ngIf\",2==o.path()||1==o.path()),t.xp6(3),t.s9C(\"pTooltip\",t.lcZ(34,40,\"aggiorna\")),t.xp6(2),t.Q6J(\"hidden\",o.isLoadingGraph),t.xp6(2),t.Q6J(\"ngIf\",!o.isLoadingGraph&&o.userStats&&1==o.path()),t.xp6(1),t.Q6J(\"ngIf\",!o.isLoadingGraph&&o.userStatsIn&&1==o.path()),t.xp6(1),t.Q6J(\"ngIf\",!o.isLoadingGraph&&o.cpoStats&&2==o.path()),t.xp6(1),t.Q6J(\"ngIf\",!o.isLoadingGraph&&o.cpoStatsIn&&2==o.path()),t.xp6(1),t.Q6J(\"ngIf\",!o.isLoadingGraph&&o.transactionStats&&2==o.path()),t.xp6(1),t.Q6J(\"ngIf\",!o.isLoadingGraph&&o.transactionStatsIn&&2==o.path()),t.xp6(1),t.Q6J(\"ngIf\",!o.isLoadingGraph&&o.transactionStatsInEmp&&1==o.path()),t.xp6(1),t.Q6J(\"ngIf\",!o.isLoadingGraph&&o.transactionStatsInEmp&&1==o.path()),t.xp6(1),t.Q6J(\"ngIf\",!o.isLoadingGraph&&o.energyStats&&2==o.path()),t.xp6(1),t.Q6J(\"ngIf\",!o.isLoadingGraph&&o.energyStatsIn&&2==o.path()),t.xp6(1),t.Q6J(\"ngIf\",!o.isLoadingGraph&&o.energyStatsEmp&&1==o.path()),t.xp6(1),t.Q6J(\"ngIf\",!o.isLoadingGraph&&o.energyStatsInEmp&&1==o.path()))},directives:[yt.jt,Gt.Hq,Jt.H,Qt.u,v.O5,Sc],pipes:[U.X$],styles:['.buttonView[_ngcontent-%COMP%]{--primary-color: #808080;--secondary-color: #fff;--hover-color: #CECECE;--arrow-width: 8px;--arrow-stroke: 2px;box-sizing:border-box;border:0;border-radius:10px;color:var(--secondary-color);padding:8px 6px;background:var(--primary-color);display:flex;transition:.2s background;align-items:center;grid-gap:.2em;font-weight:bold}.buttonView[_ngcontent-%COMP%]:hover{background-color:var(--hover-color);--secondary-color: rgb(255, 255, 255);right:0}.buttonCre[_ngcontent-%COMP%]{--primary-color: #1ab394;--secondary-color: #fff;--hover-color: #74dcc7;--arrow-width: 8px;--arrow-stroke: 2px;box-sizing:border-box;border:0;border-radius:10px;color:var(--secondary-color);padding:8px 6px;background:var(--primary-color);display:flex;transition:.2s background;align-items:center;grid-gap:.2em;font-weight:bold}.dropdown-toggle[_ngcontent-%COMP%]:after{content:unset!important}.box[_ngcontent-%COMP%]{padding:1.5rem 1.875rem 1.25rem;display:grid;grid-template-columns:repeat(2,1fr);grid-template-rows:1fr;grid-column-gap:0px;grid-row-gap:0px}.buttonCre[_ngcontent-%COMP%]:hover{background-color:var(--hover-color);--secondary-color: rgb(255, 255, 255)}.buttonCre[_ngcontent-%COMP%]:hover{right:0}.buttonMod[_ngcontent-%COMP%]{width:138px;height:45px;--primary-color: #1c84c6;--secondary-color: #fff;--hover-color: #46adee;--arrow-width: 8px;--arrow-stroke: 2px;box-sizing:border-box;border:0;border-radius:10px;color:var(--secondary-color);padding:1em 1.8em;background:var(--primary-color);display:flex;transition:.2s background;align-items:center;grid-gap:.6em;gap:.6em;font-weight:bold}.buttonMod[_ngcontent-%COMP%]:hover{background-color:var(--hover-color);--secondary-color: rgb(255, 255, 255);right:0}.customize-customer[_ngcontent-%COMP%]{height:45px;--primary-color: #1ab394;--secondary-color: #fff;--hover-color: #74dcc7;--arrow-width: 8px;--arrow-stroke: 2px;box-sizing:border-box;border:0;border-radius:10px;color:var(--secondary-color);padding:1em 1.8em;background:var(--primary-color);display:flex;transition:.2s background;align-items:center;grid-gap:.6em;gap:.6em;font-weight:bold;width:156px}.customize-customer[_ngcontent-%COMP%]:hover{background-color:var(--hover-color);--secondary-color: rgb(255, 255, 255);right:0}.buttonDelete[_ngcontent-%COMP%]{height:45px;cursor:pointer;display:flex;align-items:center;background:red;border:none;border-radius:10px;box-shadow:1px 1px 3px #00000026;background:#ed5565;width:156px}.buttonDelete[_ngcontent-%COMP%], .buttonDelete[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{transition:.2s}.buttonDelete[_ngcontent-%COMP%] .text[_ngcontent-%COMP%]{transform:translate(25px);color:#fff;font-weight:bold}.buttonDelete[_ngcontent-%COMP%] .icon[_ngcontent-%COMP%]{position:relative;border-left:1px solid #e77e88;transform:translate(63px);height:40px;width:40px;display:flex;align-items:center;justify-content:center;left:-9%}.buttonDelete[_ngcontent-%COMP%] svg[_ngcontent-%COMP%]{width:15px;fill:#eee}.buttonDelete[_ngcontent-%COMP%]:hover{background:#e77e88}.buttonDelete[_ngcontent-%COMP%]:hover .text[_ngcontent-%COMP%]{color:transparent}.buttonDelete[_ngcontent-%COMP%]:hover .icon[_ngcontent-%COMP%]{width:150px;border-left:none;transform:translate(-8px)}.buttonDelete[_ngcontent-%COMP%]:focus{outline:none}.buttonDelete[_ngcontent-%COMP%]:active .icon[_ngcontent-%COMP%] svg[_ngcontent-%COMP%]{transform:scale(.8)}.addDay[_ngcontent-%COMP%]{background-color:#fff;color:#020202;margin-top:2%;border-bottom:solid;border-radius:0}.buttonNext[_ngcontent-%COMP%]{--primary-color: #009999;--secondary-color: #fff;--hover-color: #99FF66;--arrow-width: 8px;--arrow-stroke: 2px;box-sizing:border-box;border:0;border-radius:20px;color:var(--secondary-color);padding:1em 1.8em;background:var(--primary-color);display:flex;transition:.2s background;align-items:center;grid-gap:.6em;gap:.6em;font-weight:bold}.buttonNext[_ngcontent-%COMP%] .arrow-wrapper[_ngcontent-%COMP%]{display:flex;justify-content:center;align-items:center}.buttonNext[_ngcontent-%COMP%] .arrow[_ngcontent-%COMP%]{margin-top:1px;width:var(--arrow-width);background:var(--primary-color);height:var(--arrow-stroke);position:relative;transition:.2s}.buttonNext[_ngcontent-%COMP%] .arrow[_ngcontent-%COMP%]:before{content:\"\";box-sizing:border-box;position:absolute;border:solid var(--secondary-color);border-width:0 var(--arrow-stroke) var(--arrow-stroke) 0;display:inline-block;top:-3px;right:3px;transition:.2s;padding:3px;transform:rotate(-45deg)}.buttonNext[_ngcontent-%COMP%]:hover{background-color:var(--hover-color);--secondary-color: black}.buttonNext[_ngcontent-%COMP%]:hover .arrow[_ngcontent-%COMP%]{background:var(--secondary-color)}.buttonNext[_ngcontent-%COMP%]:hover .arrow[_ngcontent-%COMP%]:before{right:0}input[_ngcontent-%COMP%]:checked + .slider[_ngcontent-%COMP%]{background-color:#00dd50}input[_ngcontent-%COMP%]:focus + .slider[_ngcontent-%COMP%]{box-shadow:0 0 1px #00dd50}input[_ngcontent-%COMP%]:checked + .slider[_ngcontent-%COMP%]:before{transform:translate(1.5em)}.buttonRewind[_ngcontent-%COMP%]{--primary-color: #009999;--secondary-color: #fff;--hover-color: #99FF66;--arrow-width: 8px;--arrow-stroke: 2px;box-sizing:border-box;border:0;border-radius:20px;color:var(--secondary-color);padding:1em 1.8em;background:var(--primary-color);display:flex;transition:.2s background;align-items:center;grid-gap:.6em;gap:.6em;font-weight:bold}.buttonRewind[_ngcontent-%COMP%] .arrow-wrapper[_ngcontent-%COMP%]{display:flex;justify-content:center;align-items:center}.buttonRewind[_ngcontent-%COMP%] .arrow[_ngcontent-%COMP%]{margin-top:1px;width:var(--arrow-width);background:var(--primary-color);height:var(--arrow-stroke);position:relative;transition:.2s}.buttonRewind[_ngcontent-%COMP%] .arrow[_ngcontent-%COMP%]:before{content:\"\";box-sizing:border-box;position:absolute;border:solid var(--secondary-color);border-width:0 var(--arrow-stroke) var(--arrow-stroke) 0;display:inline-block;top:-3px;right:-5px;transition:.2s;padding:3px;transform:rotate(130deg)}.buttonRewind[_ngcontent-%COMP%]:hover{background-color:var(--hover-color);--secondary-color: black}.buttonRewind[_ngcontent-%COMP%]:hover .arrow[_ngcontent-%COMP%]{background:var(--secondary-color)}.buttonRewind[_ngcontent-%COMP%]:hover .arrow[_ngcontent-%COMP%]:before{right:0}.buttonRewind[_ngcontent-%COMP%]{flex-direction:row-reverse}.buttonConfirm[_ngcontent-%COMP%]{--primary-color: #009999;--secondary-color: #fff;--hover-color: #99FF66;--arrow-width: 8px;--arrow-stroke: 2px;box-sizing:border-box;border:0;border-radius:20px;color:var(--secondary-color);padding:1em 1.8em;background:var(--primary-color);display:flex;transition:.2s background;align-items:center;grid-gap:.6em;gap:.6em;font-weight:bold}.buttonConfirm[_ngcontent-%COMP%]:hover{background-color:var(--hover-color);--secondary-color: rgb(0, 0, 0)}.buttonX[_ngcontent-%COMP%]{background-color:#fff;padding:0;height:40px;border:none}@supports (-webkit-appearance: none) or (-moz-appearance: none){.checkbox-wrapper-13[_ngcontent-%COMP%] input[type=checkbox][_ngcontent-%COMP%]{--active: #275EFE;--active-inner: #fff;--focus: 2px rgba(39, 94, 254, .3);--border: #BBC1E1;--border-hover: #275EFE;--background: #fff;--disabled: #F6F8FF;--disabled-inner: #E1E6F9;height:21px;outline:none;display:inline-block;vertical-align:top;position:relative;margin:0;cursor:pointer;border:1px solid var(--bc, var(--border));background:var(--b, var(--background));transition:background .3s,border-color .3s,box-shadow .2s}.checkbox-wrapper-13[_ngcontent-%COMP%] input[type=checkbox][_ngcontent-%COMP%]:after{content:\"\";display:block;left:0;top:0;position:absolute;transition:transform var(--d-t, .3s) var(--d-t-e, ease),opacity var(--d-o, .2s)}.checkbox-wrapper-13[_ngcontent-%COMP%] input[type=checkbox][_ngcontent-%COMP%]:checked{--b: var(--active);--bc: var(--active);--d-o: .3s;--d-t: .6s;--d-t-e: cubic-bezier(.2, .85, .32, 1.2)}.checkbox-wrapper-13[_ngcontent-%COMP%] input[type=checkbox][_ngcontent-%COMP%]:disabled{--b: var(--disabled);cursor:not-allowed;opacity:.9}.checkbox-wrapper-13[_ngcontent-%COMP%] input[type=checkbox][_ngcontent-%COMP%]:disabled:checked{--b: var(--disabled-inner);--bc: var(--border)}.checkbox-wrapper-13[_ngcontent-%COMP%] input[type=checkbox][_ngcontent-%COMP%]:disabled + label[_ngcontent-%COMP%]{cursor:not-allowed}.checkbox-wrapper-13[_ngcontent-%COMP%] input[type=checkbox][_ngcontent-%COMP%]:hover:not(:checked):not(:disabled){--bc: var(--border-hover)}.checkbox-wrapper-13[_ngcontent-%COMP%] input[type=checkbox][_ngcontent-%COMP%]:focus{box-shadow:0 0 0 var(--focus)}.checkbox-wrapper-13[_ngcontent-%COMP%] input[type=checkbox][_ngcontent-%COMP%]:not(.switch){width:21px}.checkbox-wrapper-13[_ngcontent-%COMP%] input[type=checkbox][_ngcontent-%COMP%]:not(.switch):after{opacity:var(--o, 0)}.checkbox-wrapper-13[_ngcontent-%COMP%] input[type=checkbox][_ngcontent-%COMP%]:not(.switch):checked{--o: 1}.checkbox-wrapper-13[_ngcontent-%COMP%] input[type=checkbox][_ngcontent-%COMP%] + label[_ngcontent-%COMP%]{display:inline-block;vertical-align:middle;cursor:pointer;margin-left:4px}.checkbox-wrapper-13[_ngcontent-%COMP%] input[type=checkbox][_ngcontent-%COMP%]:not(.switch){border-radius:7px}.checkbox-wrapper-13[_ngcontent-%COMP%] input[type=checkbox][_ngcontent-%COMP%]:not(.switch):after{width:5px;height:9px;border:2px solid var(--active-inner);border-top:0;border-left:0;left:7px;top:4px;transform:rotate(var(--r, 20deg))}.checkbox-wrapper-13[_ngcontent-%COMP%] input[type=checkbox][_ngcontent-%COMP%]:not(.switch):checked{--r: 43deg}}.buttonDet[_ngcontent-%COMP%]{width:138px;height:45px;--primary-color: #808080;--secondary-color: #fff;--hover-color: #CECECE;--arrow-width: 8px;--arrow-stroke: 2px;box-sizing:border-box;border:0;border-radius:10px;color:var(--secondary-color);padding:1em 1.8em;background:var(--primary-color);display:flex;transition:.2s background;align-items:center;grid-gap:.6em;gap:.6em;font-weight:bold}.buttonDet[_ngcontent-%COMP%]:hover{background-color:var(--hover-color);--secondary-color: rgb(255, 255, 255);right:0}.buttonWallet[_ngcontent-%COMP%]{width:138px;height:45px;--primary-color: #EABF00;--secondary-color: #fff;--hover-color: #FFCC00;--arrow-width: 8px;--arrow-stroke: 2px;box-sizing:border-box;border:0;border-radius:10px;color:var(--secondary-color);padding:1em 1.8em;background:var(--primary-color);display:flex;transition:.2s background;align-items:center;grid-gap:.6em;gap:.6em;font-weight:bold}.buttonWallet[_ngcontent-%COMP%]:hover{background-color:var(--hover-color);--secondary-color: rgb(255, 255, 255);right:0}.buttonExp[_ngcontent-%COMP%]{--width: 125px;--height: 41px;--gap-between-tooltip-to-button: 18px;--button-color: #1163ff;width:var(--width);height:var(--height);background:var(--button-color);position:relative;text-align:center;border-radius:.45em;font-family:\"Arial\";transition:background .3s}.buttonExp[_ngcontent-%COMP%]:before{position:absolute;font-size:.9rem;color:#111;border-radius:.25em;line-height:var(--tooltip-height);bottom:calc(var(--height) + var(--gap-between-tooltip-to-button) + 10px);left:calc(50% - var(--tooltip-width) / 2)}.buttonExp[_ngcontent-%COMP%]:after{position:absolute;content:\"\";width:0;height:0;border:10px solid transparent;left:calc(50% - 10px)}.buttonExp[_ngcontent-%COMP%]:after, .buttonExp[_ngcontent-%COMP%]:before{opacity:0;visibility:hidden;transition:all .5s}.textExp[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:center}.buttonExp-wrapper[_ngcontent-%COMP%], .textExp[_ngcontent-%COMP%], .iconExp[_ngcontent-%COMP%]{overflow:hidden;position:absolute;width:100%;height:100%;left:0;color:#fff}.textExp[_ngcontent-%COMP%]{top:0}.textExp[_ngcontent-%COMP%], .iconExp[_ngcontent-%COMP%]{transition:top .5s}.iconExp[_ngcontent-%COMP%]{color:#fff;top:100%;display:flex;align-items:center;justify-content:center}.buttonExp[_ngcontent-%COMP%]:hover{background:#5a73ffec}.buttonExp[_ngcontent-%COMP%]:hover .textExp[_ngcontent-%COMP%]{top:-100%}.buttonExp[_ngcontent-%COMP%]:hover .iconExp[_ngcontent-%COMP%]{top:0}.buttonExp[_ngcontent-%COMP%]:hover:before, .buttonExp[_ngcontent-%COMP%]:hover:after{opacity:1;visibility:visible}.buttonExp[_ngcontent-%COMP%]:hover:after{bottom:calc(var(--height) + var(--gap-between-tooltip-to-buttonExp) - 20px)}.buttonExp[_ngcontent-%COMP%]:hover:before{bottom:calc(var(--height) + var(--gap-between-tooltip-to-buttonExp))}.social-links[_ngcontent-%COMP%], .flex-center[_ngcontent-%COMP%]{display:flex;justify-content:center;align-items:center;border:0;padding-left:8;background-color:unset}.social-btn[_ngcontent-%COMP%]{cursor:pointer;height:40px;width:50px;font-family:\"Titillium Web\",sans-serif;border-radius:10px;box-shadow:0 10px 10px #0000001a;background:white;transition:.3s;justify-content:center;border:0}.social-btn[_ngcontent-%COMP%] svg[_ngcontent-%COMP%]{height:24px;width:24px}.social-btn[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{width:0px;overflow:hidden;transition:.3s;text-align:center;margin-left:5px}.social-btn[_ngcontent-%COMP%]:hover{width:150px;border-radius:5px}.social-btn[_ngcontent-%COMP%]:hover span[_ngcontent-%COMP%]{padding:2px;width:80px}.float[_ngcontent-%COMP%]{cursor:pointer;float:left}.buttonConferma[_ngcontent-%COMP%]{--primary-color: #009999;--secondary-color: #fff;--hover-color: #99FF66;--arrow-width: 8px;--arrow-stroke: 2px;box-sizing:border-box;border:0;border-radius:20px;color:var(--secondary-color);padding:1em 1.8em;background:var(--primary-color);display:flex;transition:.2s background;align-items:center;grid-gap:.6em;gap:.6em;font-weight:bold}@supports (-webkit-appearance: none) or (-moz-appearance: none){.checkbox-wrapper-13[_ngcontent-%COMP%] input[type=checkbox][_ngcontent-%COMP%]{--active: #275EFE;--active-inner: #fff;--focus: 2px rgba(39, 94, 254, .3);--border: #BBC1E1;--border-hover: #275EFE;--background: #fff;--disabled: #F6F8FF;--disabled-inner: #E1E6F9;-webkit-appearance:none;-moz-appearance:none;height:21px;outline:none;display:inline-block;vertical-align:top;position:relative;margin:0;cursor:pointer;border:1px solid var(--bc, var(--border));background:var(--b, var(--background));transition:background .3s,border-color .3s,box-shadow .2s}.checkbox-wrapper-13[_ngcontent-%COMP%] input[type=checkbox][_ngcontent-%COMP%]:after{content:\"\";display:block;left:0;top:0;position:absolute;transition:transform var(--d-t, .3s) var(--d-t-e, ease),opacity var(--d-o, .2s)}.checkbox-wrapper-13[_ngcontent-%COMP%] input[type=checkbox][_ngcontent-%COMP%]:checked{--b: var(--active);--bc: var(--active);--d-o: .3s;--d-t: .6s;--d-t-e: cubic-bezier(.2, .85, .32, 1.2)}.checkbox-wrapper-13[_ngcontent-%COMP%] input[type=checkbox][_ngcontent-%COMP%]:disabled{--b: var(--disabled);cursor:not-allowed;opacity:.9}.checkbox-wrapper-13[_ngcontent-%COMP%] input[type=checkbox][_ngcontent-%COMP%]:disabled:checked{--b: var(--disabled-inner);--bc: var(--border)}.checkbox-wrapper-13[_ngcontent-%COMP%] input[type=checkbox][_ngcontent-%COMP%]:disabled + label[_ngcontent-%COMP%]{cursor:not-allowed}.checkbox-wrapper-13[_ngcontent-%COMP%] input[type=checkbox][_ngcontent-%COMP%]:hover:not(:checked):not(:disabled){--bc: var(--border-hover)}.checkbox-wrapper-13[_ngcontent-%COMP%] input[type=checkbox][_ngcontent-%COMP%]:focus{box-shadow:0 0 0 var(--focus)}.checkbox-wrapper-13[_ngcontent-%COMP%] input[type=checkbox][_ngcontent-%COMP%]:not(.switch){width:21px}.checkbox-wrapper-13[_ngcontent-%COMP%] input[type=checkbox][_ngcontent-%COMP%]:not(.switch):after{opacity:var(--o, 0)}.checkbox-wrapper-13[_ngcontent-%COMP%] input[type=checkbox][_ngcontent-%COMP%]:not(.switch):checked{--o: 1}.checkbox-wrapper-13[_ngcontent-%COMP%] input[type=checkbox][_ngcontent-%COMP%] + label[_ngcontent-%COMP%]{display:inline-block;vertical-align:middle;cursor:pointer;margin-left:4px}.checkbox-wrapper-13[_ngcontent-%COMP%] input[type=checkbox][_ngcontent-%COMP%]:not(.switch){border-radius:7px}.checkbox-wrapper-13[_ngcontent-%COMP%] input[type=checkbox][_ngcontent-%COMP%]:not(.switch):after{width:5px;height:9px;border:2px solid var(--active-inner);border-top:0;border-left:0;left:7px;top:4px;transform:rotate(var(--r, 20deg))}.checkbox-wrapper-13[_ngcontent-%COMP%] input[type=checkbox][_ngcontent-%COMP%]:not(.switch):checked{--r: 43deg}}.checkbox-wrapper-13[_ngcontent-%COMP%] *[_ngcontent-%COMP%]{box-sizing:inherit}.checkbox-wrapper-13[_ngcontent-%COMP%] *[_ngcontent-%COMP%]:before, .checkbox-wrapper-13[_ngcontent-%COMP%] *[_ngcontent-%COMP%]:after{box-sizing:inherit}.button2[_ngcontent-%COMP%]{flex-direction:row-reverse}.button2[_ngcontent-%COMP%] .arrow[_ngcontent-%COMP%]:before{content:\"\";box-sizing:border-box;position:absolute;border:solid var(--secondary-color);border-width:0 var(--arrow-stroke) var(--arrow-stroke) 0;display:inline-block;top:-3px;right:-5px;transition:.2s;padding:3px;transform:rotate(130deg)}.dialogFitandCenter[_ngcontent-%COMP%] mat-dialog-container[_ngcontent-%COMP%]{height:-moz-fit-content;height:fit-content;align-self:center}.buttonAction[_ngcontent-%COMP%]{color:#090909;padding:.6em 1em;font-size:18px;border-radius:.5em;background:#ffffff;border:1px solid #e8e8e8;transition:all .3s;box-shadow:3px 3px 12px #c5c5c5,-6px -6px 12px #fff}.buttonAction[_ngcontent-%COMP%]:active{color:#eee;box-shadow:inset 4px 4px 12px #c5c5c5,inset -4px -4px 12px #fff}.card-body[_ngcontent-%COMP%]{overflow:hidden}.click[_ngcontent-%COMP%]{cursor:pointer}.top[_ngcontent-%COMP%]{padding-bottom:.2em}.container[_ngcontent-%COMP%]{display:flex;justify-content:center;align-items:center}.header-cell[_ngcontent-%COMP%], td[_ngcontent-%COMP%], th[_ngcontent-%COMP%]{text-align:center;align-items:center;justify-content:center}.carddescription[_ngcontent-%COMP%]{font-weight:bold}.center[_ngcontent-%COMP%]{align-items:center;justify-content:center;display:flex}button[_ngcontent-%COMP%]:active, .bCerca[_ngcontent-%COMP%]:focus{border-style:outset;border:1px solid lightseagreen;outline:none}small[_ngcontent-%COMP%]{font-size:13px}']}),n})();var ue=c(72284);let q1=(()=>{class n{constructor(e,o){this.data=e,this.dialogRef=o,this.chargeCode=\"\",this.primaryColor=\"#009999\",this.primaryColorTransparent=\"#009999\",this.primaryFontFamily=\"Jost-Bold, serif\",this.secondaryFontFamily=\"RobotoCondensed-Bold, serif\",this.tertiaryFontFamily=\"RobotoCondensed-Regular, serif\"}ngOnInit(){this.primaryColor=this.data.primaryColor,this.hexToHexWithAlpha(),this.primaryFontFamily=this.data.primaryFontFamily,this.secondaryFontFamily=this.data.secondaryFontFamily,this.tertiaryFontFamily=this.data.tertiaryFontFamily}submitChargeCode(){this.chargeCode.length>3&&this.dialogRef.close(this.chargeCode)}closeDialog(){this.dialogRef.close()}hexToHexWithAlpha(){this.primaryColorTransparent=this.primaryColor.replace(\"#\",\"\");const e=Math.round(51).toString(16).padStart(2,\"0\").toUpperCase();this.primaryColorTransparent=`#${this.primaryColorTransparent}${e}`}}return n.\\u0275fac=function(e){return new(e||n)(t.Y36(O.WI),t.Y36(O.so))},n.\\u0275cmp=t.Xpm({type:n,selectors:[[\"app-search-charge-dialog\"]],hostVars:10,hostBindings:function(e,o){2&e&&t.Udp(\"--primaryColor\",o.primaryColor)(\"--primaryColorTransparent\",o.primaryColorTransparent)(\"--primaryFontFamily\",o.primaryFontFamily)(\"--secondaryFontFamily\",o.secondaryFontFamily)(\"--tertiaryFontFamily\",o.tertiaryFontFamily)},decls:25,vars:16,consts:[[1,\"imageConfWarn\"],[\"aria-hidden\",\"true\",\"stroke\",\"currentColor\",\"stroke-width\",\"1.5\",\"viewBox\",\"0 0 24 24\",\"fill\",\"none\",1,\"svgWarn\"],[\"d\",\"M12 9v3.75m-9.303 3.376c-.866 1.5.217 3.374 1.948 3.374h14.71c1.73 0 2.813-1.874 1.948-3.374L13.949 3.378c-.866-1.5-3.032-1.5-3.898 0L2.697 16.126zM12 15.75h.007v.008H12v-.008z\",\"stroke-linejoin\",\"round\",\"stroke-linecap\",\"round\"],[1,\"secondary-font-family\",2,\"color\",\"black\",\"font-size\",\"100%\",\"text-align\",\"center\",\"margin-bottom\",\"4px\"],[1,\"tertiary-font-family\",2,\"color\",\"grey\",\"font-size\",\"100%\",\"text-align\",\"center\"],[\"type\",\"text\",1,\"tertiary-font-family\",3,\"ngModel\",\"placeholder\",\"ngModelChange\"],[1,\"sr-result\",\"stop1\"],[1,\"button\",\"confirm\",\"secondary-font-family\",3,\"click\"],[2,\"color\",\"white\"],[1,\"button\",\"back\",\"secondary-font-family\",3,\"click\"]],template:function(e,o){1&e&&(t.TgZ(0,\"div\"),t.TgZ(1,\"div\",0),t.O4$(),t.TgZ(2,\"svg\",1),t._UZ(3,\"path\",2),t.qZA(),t.qZA(),t.kcU(),t.TgZ(4,\"p\",3),t.TgZ(5,\"a\"),t._uU(6),t.ALo(7,\"translate\"),t.qZA(),t._UZ(8,\"br\"),t.qZA(),t.TgZ(9,\"p\",4),t.TgZ(10,\"a\"),t._uU(11),t.ALo(12,\"translate\"),t.qZA(),t._UZ(13,\"br\"),t.qZA(),t.TgZ(14,\"input\",5),t.NdJ(\"ngModelChange\",function(d){return o.chargeCode=d}),t.ALo(15,\"translate\"),t.qZA(),t.TgZ(16,\"div\",6),t.TgZ(17,\"button\",7),t.NdJ(\"click\",function(){return o.submitChargeCode()}),t.TgZ(18,\"span\",8),t._uU(19),t.ALo(20,\"translate\"),t.qZA(),t.qZA(),t.TgZ(21,\"button\",9),t.NdJ(\"click\",function(){return o.closeDialog()}),t.TgZ(22,\"span\",8),t._uU(23),t.ALo(24,\"translate\"),t.qZA(),t.qZA(),t.qZA(),t.qZA()),2&e&&(t.xp6(6),t.Oqu(t.lcZ(7,6,\"Ricarica in corso\")),t.xp6(5),t.Oqu(t.lcZ(12,8,\"Se hai una ricarica in corso inserisci il codice della ricarica\")),t.xp6(3),t.Q6J(\"ngModel\",o.chargeCode)(\"placeholder\",t.lcZ(15,10,\"Codice Ricarica\")),t.xp6(5),t.Oqu(t.lcZ(20,12,\"invia\")),t.xp6(4),t.Oqu(t.lcZ(24,14,\"ESCI\")))},directives:[l.Fj,l.JJ,l.On],pipes:[U.X$],styles:[\".mat-dialog-container{border-radius:25px}.primary-font-family[_ngcontent-%COMP%]{font-family:var(--primaryFontFamily);font-weight:700}.secondary-font-family[_ngcontent-%COMP%]{font-family:var(--secondaryFontFamily);font-weight:700}.tertiary-font-family[_ngcontent-%COMP%]{font-family:var(--tertiaryFontFamily)}a[_ngcontent-%COMP%]{font-size:17px}.input[_ngcontent-%COMP%]{height:30px}.button[_ngcontent-%COMP%]{border-radius:10px;color:#fff;border:0;padding:12px 16px;margin-top:16px;font-weight:600;cursor:pointer;transition:all .2s ease;display:block;box-shadow:4px 5px 5.5px #0009;width:100%}.confirm[_ngcontent-%COMP%]{background:var(--primaryColor)}.back[_ngcontent-%COMP%]{background:grey}.imageConfWarn[_ngcontent-%COMP%]{display:flex;margin-left:auto;margin-right:auto;flex-shrink:0;justify-content:center;align-items:center;width:3rem;height:3rem;border-radius:9999px}.svgWarn[_ngcontent-%COMP%]{color:var(--primaryColor);width:1.5rem;height:1.5rem}.imageConfWarn[_ngcontent-%COMP%]{background-color:var(--primaryColorTransparent)}.sr-result.stop1[_ngcontent-%COMP%]{position:relative}.button-close[_ngcontent-%COMP%]{right:0px;position:absolute}.sr-input[_ngcontent-%COMP%], input[type=text][_ngcontent-%COMP%]{border-radius:10px;border:1px solid gray;padding:10px 12px;height:44px;width:100%;transition:box-shadow .2s ease;background:white;-webkit-appearance:none;appearance:none}\"]}),n})();var M1=c(79765),Fc=c(46797),Gc=c(25917),Jc=c(43190),Bc=c(45435),Qc=c(39761),zc=c(88002),ve=c(16602);function w1(n,s){if(1&n&&(t.ynx(0),t.TgZ(1,\"strong\"),t._uU(2),t.ALo(3,\"translate\"),t.qZA(),t._uU(4),t._UZ(5,\"br\"),t.TgZ(6,\"strong\"),t._uU(7),t.ALo(8,\"translate\"),t.qZA(),t._uU(9),t._UZ(10,\"br\"),t.BQk()),2&n){const e=t.oxw(2);t.xp6(2),t.hij(\"\",t.lcZ(3,4,\"Nome\"),\":\"),t.xp6(2),t.hij(\" \",e.data.newCustomer.name,\"\"),t.xp6(3),t.hij(\"\",t.lcZ(8,6,\"Cognome\"),\":\"),t.xp6(2),t.hij(\" \",e.data.newCustomer.surname,\"\")}}function E1(n,s){if(1&n&&(t.ynx(0),t.TgZ(1,\"strong\"),t._uU(2),t.ALo(3,\"translate\"),t.qZA(),t._uU(4),t._UZ(5,\"br\"),t.BQk()),2&n){const e=t.oxw(2);t.xp6(2),t.hij(\"\",t.lcZ(3,2,\"Ragione Sociale\"),\":\"),t.xp6(2),t.hij(\" \",e.data.newCustomer.business_name,\"\")}}function k1(n,s){if(1&n&&(t.ynx(0),t.TgZ(1,\"strong\"),t._uU(2),t.ALo(3,\"translate\"),t.qZA(),t._uU(4),t._UZ(5,\"br\"),t.BQk()),2&n){const e=t.oxw(2);t.xp6(2),t.hij(\"\",t.lcZ(3,2,\"Codice Fiscale\"),\":\"),t.xp6(2),t.hij(\" \",e.data.newCustomer.fiscalCode,\"\")}}function U1(n,s){if(1&n&&(t.ynx(0),t.TgZ(1,\"strong\"),t._uU(2),t.ALo(3,\"translate\"),t.qZA(),t._uU(4),t._UZ(5,\"br\"),t.BQk()),2&n){const e=t.oxw(2);t.xp6(2),t.hij(\"\",t.lcZ(3,2,\"E-Mail\"),\":\"),t.xp6(2),t.hij(\" \",e.data.newCustomer.email,\"\")}}function I1(n,s){if(1&n&&(t.ynx(0),t.TgZ(1,\"strong\"),t._uU(2),t.ALo(3,\"translate\"),t.qZA(),t._uU(4),t._UZ(5,\"br\"),t.BQk()),2&n){const e=t.oxw(2);t.xp6(2),t.hij(\"\",t.lcZ(3,2,\"Targa\"),\":\"),t.xp6(2),t.hij(\" \",e.data.newCustomer.license_plate,\"\")}}function N1(n,s){if(1&n&&(t.ynx(0),t.TgZ(1,\"strong\"),t._uU(2),t.ALo(3,\"translate\"),t.qZA(),t._uU(4),t._UZ(5,\"br\"),t.BQk()),2&n){const e=t.oxw(2);t.xp6(2),t.hij(\"\",t.lcZ(3,2,\"P.IVA\"),\":\"),t.xp6(2),t.hij(\" \",e.data.newCustomer.p_iva,\"\")}}function S1(n,s){if(1&n&&(t.ynx(0),t.TgZ(1,\"strong\"),t._uU(2),t.ALo(3,\"translate\"),t.qZA(),t._uU(4),t._UZ(5,\"br\"),t.BQk()),2&n){const e=t.oxw(2);t.xp6(2),t.hij(\"\",t.lcZ(3,2,\"PEC\"),\":\"),t.xp6(2),t.hij(\" \",e.data.newCustomer.pec,\"\")}}function L1(n,s){if(1&n&&(t.ynx(0),t.TgZ(1,\"strong\"),t._uU(2),t.ALo(3,\"translate\"),t.qZA(),t._uU(4),t._UZ(5,\"br\"),t.BQk()),2&n){const e=t.oxw(2);t.xp6(2),t.hij(\"\",t.lcZ(3,2,\"SDI\"),\":\"),t.xp6(2),t.hij(\" \",e.data.newCustomer.sdi,\"\")}}function D1(n,s){if(1&n&&(t.TgZ(0,\"span\"),t._uU(1),t._UZ(2,\"br\"),t.qZA()),2&n){const e=t.oxw(3);t.xp6(1),t.AsE(\" \",e.data.newCustomer.address.street,\", \",e.data.newCustomer.address.houseNumber,\"\")}}function R1(n,s){if(1&n&&(t.TgZ(0,\"span\"),t._uU(1),t.qZA()),2&n){const e=t.oxw(3);t.xp6(1),t.AsE(\" \",e.data.newCustomer.address.city,\", \",e.data.newCustomer.address.zipCode,\" \")}}function F1(n,s){if(1&n&&(t.TgZ(0,\"span\"),t._uU(1),t._UZ(2,\"br\"),t.qZA()),2&n){const e=t.oxw(3);t.xp6(1),t.AsE(\" , \",e.data.newCustomer.address.province,\", \",e.data.newCustomer.address.country,\"\")}}function G1(n,s){if(1&n&&(t.ynx(0),t.TgZ(1,\"strong\"),t._uU(2),t.ALo(3,\"translate\"),t.qZA(),t._UZ(4,\"br\"),t.TgZ(5,\"div\",12),t.YNc(6,D1,3,2,\"span\",11),t.YNc(7,R1,2,2,\"span\",11),t.YNc(8,F1,3,2,\"span\",11),t.qZA(),t.BQk()),2&n){const e=t.oxw(2);t.xp6(2),t.hij(\"\",t.lcZ(3,4,\"Indirizzo\"),\":\"),t.xp6(4),t.Q6J(\"ngIf\",e.data.newCustomer.address.street),t.xp6(1),t.Q6J(\"ngIf\",e.data.newCustomer.address.city),t.xp6(1),t.Q6J(\"ngIf\",e.data.newCustomer.address.province)}}function J1(n,s){if(1&n&&(t.TgZ(0,\"div\",10),t.TgZ(1,\"p\"),t.YNc(2,w1,11,8,\"ng-container\",11),t.YNc(3,E1,6,4,\"ng-container\",11),t.YNc(4,k1,6,4,\"ng-container\",11),t.YNc(5,U1,6,4,\"ng-container\",11),t.YNc(6,I1,6,4,\"ng-container\",11),t.YNc(7,N1,6,4,\"ng-container\",11),t.YNc(8,S1,6,4,\"ng-container\",11),t.YNc(9,L1,6,4,\"ng-container\",11),t.YNc(10,G1,9,6,\"ng-container\",11),t.qZA(),t.qZA()),2&n){const e=t.oxw();t.xp6(2),t.Q6J(\"ngIf\",e.data.newCustomer.isIndividual),t.xp6(1),t.Q6J(\"ngIf\",e.data.newCustomer.business_name),t.xp6(1),t.Q6J(\"ngIf\",e.data.newCustomer.fiscalCode),t.xp6(1),t.Q6J(\"ngIf\",e.data.newCustomer.email),t.xp6(1),t.Q6J(\"ngIf\",e.data.newCustomer.license_plate),t.xp6(1),t.Q6J(\"ngIf\",e.data.newCustomer.p_iva),t.xp6(1),t.Q6J(\"ngIf\",e.data.newCustomer.pec),t.xp6(1),t.Q6J(\"ngIf\",e.data.newCustomer.sdi),t.xp6(1),t.Q6J(\"ngIf\",e.data.newCustomer.address)}}let be=(()=>{class n{constructor(e,o){this.data=e,this.dialogRef=o,this.chargeCode=\"\",this.primaryColor=\"#009999\",this.primaryColorTransparent=\"#009999\",this.primaryFontFamily=\"Jost-Bold, serif\",this.secondaryFontFamily=\"RobotoCondensed-Bold, serif\",this.tertiaryFontFamily=\"RobotoCondensed-Regular, serif\"}ngOnInit(){this.primaryColor=this.data.primaryColor,this.hexToHexWithAlpha(),this.primaryFontFamily=this.data.primaryFontFamily,this.secondaryFontFamily=this.data.secondaryFontFamily,this.tertiaryFontFamily=this.data.tertiaryFontFamily}submitDialog(){this.dialogRef.close(!0)}closeDialog(){this.dialogRef.close(!1)}hexToHexWithAlpha(){this.primaryColorTransparent=this.primaryColor.replace(\"#\",\"\");const e=Math.round(51).toString(16).padStart(2,\"0\").toUpperCase();this.primaryColorTransparent=`#${this.primaryColorTransparent}${e}`}}return n.\\u0275fac=function(e){return new(e||n)(t.Y36(O.WI),t.Y36(O.so))},n.\\u0275cmp=t.Xpm({type:n,selectors:[[\"app-qr-confirmation-dialog\"]],hostVars:10,hostBindings:function(e,o){2&e&&t.Udp(\"--primaryColor\",o.primaryColor)(\"--primaryColorTransparent\",o.primaryColorTransparent)(\"--primaryFontFamily\",o.primaryFontFamily)(\"--secondaryFontFamily\",o.secondaryFontFamily)(\"--tertiaryFontFamily\",o.tertiaryFontFamily)},decls:24,vars:13,consts:[[1,\"imageConfWarn\"],[\"aria-hidden\",\"true\",\"stroke\",\"currentColor\",\"stroke-width\",\"1.5\",\"viewBox\",\"0 0 24 24\",\"fill\",\"none\",1,\"svgWarn\"],[\"d\",\"M12 9v3.75m-9.303 3.376c-.866 1.5.217 3.374 1.948 3.374h14.71c1.73 0 2.813-1.874 1.948-3.374L13.949 3.378c-.866-1.5-3.032-1.5-3.898 0L2.697 16.126zM12 15.75h.007v.008H12v-.008z\",\"stroke-linejoin\",\"round\",\"stroke-linecap\",\"round\"],[1,\"secondary-font-family\",2,\"color\",\"black\",\"font-size\",\"100%\",\"text-align\",\"center\",\"margin-bottom\",\"4px\"],[1,\"tertiary-font-family\",2,\"color\",\"grey\",\"font-size\",\"100%\",\"text-align\",\"center\"],[\"class\",\"customer-summary\",\"style\",\"margin: -5px 10px 0px 10px;\",4,\"ngIf\"],[1,\"sr-result\",\"stop1\"],[1,\"button\",\"confirm\",\"secondary-font-family\",3,\"click\"],[2,\"color\",\"white\"],[1,\"button\",\"back\",\"secondary-font-family\",3,\"click\"],[1,\"customer-summary\",2,\"margin\",\"-5px 10px 0px 10px\"],[4,\"ngIf\"],[2,\"margin-left\",\"10px\"]],template:function(e,o){1&e&&(t.TgZ(0,\"div\"),t.TgZ(1,\"div\",0),t.O4$(),t.TgZ(2,\"svg\",1),t._UZ(3,\"path\",2),t.qZA(),t.qZA(),t.kcU(),t.TgZ(4,\"p\",3),t.TgZ(5,\"a\"),t._uU(6),t.ALo(7,\"translate\"),t.qZA(),t._UZ(8,\"br\"),t.qZA(),t.TgZ(9,\"p\",4),t.TgZ(10,\"a\"),t._uU(11),t.ALo(12,\"translate\"),t.qZA(),t._UZ(13,\"br\"),t.qZA(),t.YNc(14,J1,11,9,\"div\",5),t.TgZ(15,\"div\",6),t.TgZ(16,\"button\",7),t.NdJ(\"click\",function(){return o.submitDialog()}),t.TgZ(17,\"span\",8),t._uU(18),t.ALo(19,\"translate\"),t.qZA(),t.qZA(),t.TgZ(20,\"button\",9),t.NdJ(\"click\",function(){return o.closeDialog()}),t.TgZ(21,\"span\",8),t._uU(22),t.ALo(23,\"translate\"),t.qZA(),t.qZA(),t.qZA(),t.qZA()),2&e&&(t.xp6(6),t.Oqu(t.lcZ(7,5,o.data.title)),t.xp6(5),t.Oqu(t.lcZ(12,7,o.data.message)),t.xp6(3),t.Q6J(\"ngIf\",o.data.newCustomer),t.xp6(4),t.Oqu(t.lcZ(19,9,\"ACCETTO\")),t.xp6(4),t.Oqu(t.lcZ(23,11,\"ESCI\")))},directives:[v.O5],pipes:[U.X$],styles:[\".mat-dialog-container{border-radius:25px}.primary-font-family[_ngcontent-%COMP%]{font-family:var(--primaryFontFamily);font-weight:700}.secondary-font-family[_ngcontent-%COMP%]{font-family:var(--secondaryFontFamily);font-weight:700}.tertiary-font-family[_ngcontent-%COMP%]{font-family:var(--tertiaryFontFamily)}a[_ngcontent-%COMP%]{font-size:17px}.input[_ngcontent-%COMP%]{height:30px}.button[_ngcontent-%COMP%]{border-radius:10px;color:#fff;border:0;padding:12px 16px;margin-top:16px;font-weight:600;cursor:pointer;transition:all .2s ease;display:block;box-shadow:4px 5px 5.5px #0009;width:100%}.confirm[_ngcontent-%COMP%]{background:var(--primaryColor)}.back[_ngcontent-%COMP%]{background:grey}.imageConfWarn[_ngcontent-%COMP%]{display:flex;margin-left:auto;margin-right:auto;flex-shrink:0;justify-content:center;align-items:center;width:3rem;height:3rem;border-radius:9999px}.svgWarn[_ngcontent-%COMP%]{color:var(--primaryColor);width:1.5rem;height:1.5rem}.imageConfWarn[_ngcontent-%COMP%]{background-color:var(--primaryColorTransparent)}.sr-result.stop1[_ngcontent-%COMP%]{position:relative}.button-close[_ngcontent-%COMP%]{right:0px;position:absolute}.sr-input[_ngcontent-%COMP%], input[type=text][_ngcontent-%COMP%]{border-radius:10px;border:1px solid gray;padding:10px 12px;height:44px;width:100%;transition:box-shadow .2s ease;background:white;-webkit-appearance:none;appearance:none}.customer-summary[_ngcontent-%COMP%]{word-wrap:break-word;word-break:break-all}\"]}),n})();var Ae=c(42542);function B1(n,s){if(1&n&&(t.TgZ(0,\"p\",16),t.TgZ(1,\"a\",17),t._uU(2),t.ALo(3,\"translate\"),t.qZA(),t.qZA()),2&n){const e=t.oxw();t.xp6(2),t.hij(\" \",t.lcZ(3,1,!1===e.isInvoice?\"Inserisci al tua E-Mail\":\"Inserisci i dati di fatturazione\"),\"\")}}function Q1(n,s){1&n&&(t.TgZ(0,\"p\",16),t.TgZ(1,\"a\",17),t._uU(2),t.ALo(3,\"translate\"),t.qZA(),t.qZA()),2&n&&(t.xp6(2),t.Oqu(t.lcZ(3,1,\"Se desideri ricevere un documento fiscale scegli una delle due opzioni, altrimenti chiudi questo pop-up\")))}function z1(n,s){if(1&n){const e=t.EpF();t.TgZ(0,\"div\",18),t.TgZ(1,\"button\",19),t.NdJ(\"click\",function(){return t.CHM(e),t.oxw().choose(!1)}),t._UZ(2,\"i\",20),t.TgZ(3,\"span\",17),t._uU(4),t.ALo(5,\"translate\"),t.qZA(),t.qZA(),t.TgZ(6,\"button\",19),t.NdJ(\"click\",function(){return t.CHM(e),t.oxw().choose(!0)}),t._UZ(7,\"i\",21),t.TgZ(8,\"span\",17),t._uU(9),t.ALo(10,\"translate\"),t.qZA(),t.qZA(),t.qZA()}2&n&&(t.xp6(4),t.hij(\" \",t.lcZ(5,2,\"Ricevuta\"),\" \"),t.xp6(5),t.hij(\" \",t.lcZ(10,4,\"Fattura\"),\" \"))}const $c=function(n){return{color:n}};function $1(n,s){if(1&n){const e=t.EpF();t.TgZ(0,\"mat-button-toggle-group\",22),t.NdJ(\"ngModelChange\",function(a){return t.CHM(e),t.oxw().formType=a}),t.TgZ(1,\"mat-button-toggle\",23),t.TgZ(2,\"i\",24),t._uU(3,\"person_outline\"),t.qZA(),t._uU(4),t.ALo(5,\"translate\"),t.qZA(),t.TgZ(6,\"mat-button-toggle\",25),t.TgZ(7,\"i\",24),t._uU(8,\"business_center\"),t.qZA(),t._uU(9),t.ALo(10,\"translate\"),t.qZA(),t._UZ(11,\"br\"),t._UZ(12,\"br\"),t.qZA()}if(2&n){const e=t.oxw();t.Q6J(\"ngModel\",e.formType),t.xp6(2),t.Q6J(\"ngStyle\",t.VKq(9,$c,\"privato\"===e.formType?\"var(--primaryColor)\":\"black\")),t.xp6(2),t.hij(\" \",t.lcZ(5,5,\"Privato\"),\" \"),t.xp6(3),t.Q6J(\"ngStyle\",t.VKq(11,$c,\"piva\"===e.formType?\"var(--primaryColor)\":\"black\")),t.xp6(2),t.hij(\" \",t.lcZ(10,7,\"P.IVA\"),\" \")}}const qt=function(n){return{error:n}};function Y1(n,s){if(1&n&&(t._UZ(0,\"input\",49),t.ALo(1,\"translate\")),2&n){const e=t.oxw(2);t.Q6J(\"ngClass\",t.VKq(4,qt,e.invalidControls.includes(\"name\")))(\"placeholder\",t.lcZ(1,2,\"Nome *\"))}}function V1(n,s){if(1&n&&(t._UZ(0,\"input\",50),t.ALo(1,\"translate\")),2&n){const e=t.oxw(2);t.Q6J(\"ngClass\",t.VKq(4,qt,e.invalidControls.includes(\"surname\")))(\"placeholder\",t.lcZ(1,2,\"Cognome *\"))}}function j1(n,s){if(1&n&&(t.TgZ(0,\"mat-option\",51),t.TgZ(1,\"span\"),t._uU(2),t.qZA(),t.qZA()),2&n){const e=s.$implicit;t.Q6J(\"value\",e.alpha2),t.xp6(2),t.Oqu(e.country+\" - \"+e.alpha2)}}function W1(n,s){if(1&n&&(t._UZ(0,\"input\",52),t.ALo(1,\"translate\")),2&n){const e=t.oxw(2);t.Q6J(\"ngClass\",t.VKq(4,qt,e.invalidControls.includes(\"fiscalCode\")))(\"placeholder\",t.lcZ(1,2,\"Codice Fiscale *\"))}}function H1(n,s){if(1&n&&(t.TgZ(0,\"mat-option\",51),t.TgZ(1,\"span\"),t._uU(2),t.qZA(),t.qZA()),2&n){const e=s.$implicit;t.Q6J(\"value\",e.sigla),t.xp6(2),t.Oqu(e.sigla+\" - \"+e.nome+\", \"+e.regione)}}function K1(n,s){if(1&n&&(t._UZ(0,\"input\",53),t.ALo(1,\"translate\")),2&n){const e=t.oxw(2);t.Q6J(\"ngClass\",t.VKq(4,qt,e.invalidControls.includes(\"zipCode\")))(\"placeholder\",t.lcZ(1,2,\"Zip code *\"))}}function X1(n,s){if(1&n&&(t._UZ(0,\"input\",54),t.ALo(1,\"translate\")),2&n){const e=t.oxw(2);t.Q6J(\"required\",\"piva\"===e.formType)(\"ngClass\",t.VKq(5,qt,e.invalidControls.includes(\"companyName\")))(\"placeholder\",t.lcZ(1,3,\"Ragione Sociale *\"))}}function tf(n,s){if(1&n&&(t._UZ(0,\"input\",55),t.ALo(1,\"translate\")),2&n){const e=t.oxw(2);t.Q6J(\"required\",\"piva\"===e.formType)(\"ngClass\",t.VKq(5,qt,e.invalidControls.includes(\"vatNumber\")))(\"placeholder\",t.lcZ(1,3,\"P.IVA *\"))}}function ef(n,s){1&n&&(t.TgZ(0,\"label\",17),t._uU(1),t.ALo(2,\"translate\"),t.qZA()),2&n&&(t.xp6(1),t.Oqu(t.lcZ(2,1,\"\\xc8 obbligatorio inserire la PEC o il codice SDI\")))}function nf(n,s){if(1&n&&(t._UZ(0,\"input\",56),t.ALo(1,\"translate\")),2&n){const e=t.oxw(2);t.Q6J(\"ngClass\",t.VKq(5,qt,e.invalidControls.includes(\"PEC\")))(\"placeholder\",t.lcZ(1,3,\"PEC *\"))(\"required\",\"\"===e.form.controls.SDI.value)}}function of(n,s){if(1&n&&(t._UZ(0,\"input\",57),t.ALo(1,\"translate\")),2&n){const e=t.oxw(2);t.Q6J(\"ngClass\",t.VKq(5,qt,e.invalidControls.includes(\"SDI\")))(\"placeholder\",t.lcZ(1,3,\"SDI *\"))(\"required\",\"\"===e.form.controls.PEC.value)}}const af=function(n,s){return{error:n,\"city-width\":s}},Yc=function(n){return{\"error-checkbox\":n}};function rf(n,s){if(1&n&&(t.TgZ(0,\"form\",26),t.TgZ(1,\"p\"),t.YNc(2,Y1,2,6,\"input\",27),t.YNc(3,V1,2,6,\"input\",28),t._UZ(4,\"input\",29),t.ALo(5,\"translate\"),t._UZ(6,\"input\",30),t.ALo(7,\"translate\"),t.TgZ(8,\"mat-autocomplete\",null,31),t.YNc(10,j1,3,2,\"mat-option\",32),t.ALo(11,\"async\"),t.qZA(),t.YNc(12,W1,2,6,\"input\",33),t._UZ(13,\"input\",34),t.ALo(14,\"translate\"),t.TgZ(15,\"mat-autocomplete\",null,35),t.YNc(17,H1,3,2,\"mat-option\",32),t.ALo(18,\"async\"),t.qZA(),t._UZ(19,\"input\",36),t.ALo(20,\"translate\"),t.YNc(21,K1,2,6,\"input\",37),t._UZ(22,\"input\",38),t.ALo(23,\"translate\"),t._UZ(24,\"input\",39),t.ALo(25,\"translate\"),t.YNc(26,X1,2,7,\"input\",40),t.YNc(27,tf,2,7,\"input\",41),t._UZ(28,\"input\",42),t.ALo(29,\"translate\"),t.YNc(30,ef,3,3,\"label\",43),t.YNc(31,nf,2,7,\"input\",44),t.YNc(32,of,2,7,\"input\",45),t._UZ(33,\"br\"),t.TgZ(34,\"mat-checkbox\",46),t.TgZ(35,\"label\",47),t._uU(36),t.ALo(37,\"translate\"),t.TgZ(38,\"a\",48),t._uU(39),t.ALo(40,\"translate\"),t.qZA(),t._uU(41),t.ALo(42,\"translate\"),t.qZA(),t.qZA(),t.qZA(),t.qZA()),2&n){const e=t.MAs(9),o=t.MAs(16),a=t.oxw();t.Q6J(\"formGroup\",a.form),t.xp6(2),t.Q6J(\"ngIf\",\"piva\"!==a.formType),t.xp6(1),t.Q6J(\"ngIf\",\"piva\"!==a.formType),t.xp6(1),t.Q6J(\"ngClass\",t.VKq(58,qt,a.invalidControls.includes(\"email\")))(\"placeholder\",t.lcZ(5,34,\"E-Mail *\")),t.xp6(2),t.Q6J(\"ngClass\",t.VKq(60,qt,a.invalidControls.includes(\"chosenCountry\")))(\"matAutocomplete\",e)(\"placeholder\",t.lcZ(7,36,\"Stato *\")),t.xp6(4),t.Q6J(\"ngForOf\",t.lcZ(11,38,a.filteredCountry)),t.xp6(2),t.Q6J(\"ngIf\",\"piva\"!==a.formType&&\"IT\"===a.form.controls.chosenCountry.value),t.xp6(1),t.Q6J(\"ngClass\",t.VKq(62,qt,a.invalidControls.includes(\"chosenItalianProvince\")))(\"hidden\",\"IT\"!==a.form.controls.chosenCountry.value)(\"matAutocomplete\",o)(\"placeholder\",t.lcZ(14,40,\"Provincia *\"))(\"required\",\"IT\"===a.form.controls.chosenCountry.value),t.xp6(4),t.Q6J(\"ngForOf\",t.lcZ(18,42,a.filteredItalianProvince)),t.xp6(2),t.Q6J(\"ngClass\",t.WLB(64,af,a.invalidControls.includes(\"city\"),\"IT\"===a.form.controls.chosenCountry.value))(\"placeholder\",t.lcZ(20,44,\"Citt\\xe0 *\")),t.xp6(2),t.Q6J(\"ngIf\",\"IT\"===a.form.controls.chosenCountry.value),t.xp6(1),t.Q6J(\"ngClass\",t.VKq(67,qt,a.invalidControls.includes(\"address\")))(\"placeholder\",t.lcZ(23,46,\"Indirizzo *\")),t.xp6(2),t.Q6J(\"ngClass\",t.VKq(69,qt,a.invalidControls.includes(\"houseNumber\")))(\"placeholder\",t.lcZ(25,48,\"Number *\")),t.xp6(2),t.Q6J(\"ngIf\",\"piva\"===a.formType),t.xp6(1),t.Q6J(\"ngIf\",\"piva\"===a.formType),t.xp6(1),t.Q6J(\"placeholder\",t.lcZ(29,50,\"Targa\")),t.xp6(2),t.Q6J(\"ngIf\",\"piva\"===a.formType&&\"IT\"===a.form.controls.chosenCountry.value),t.xp6(1),t.Q6J(\"ngIf\",\"piva\"===a.formType&&\"IT\"===a.form.controls.chosenCountry.value),t.xp6(1),t.Q6J(\"ngIf\",\"piva\"===a.formType&&\"IT\"===a.form.controls.chosenCountry.value),t.xp6(2),t.Q6J(\"ngClass\",t.VKq(71,Yc,a.invalidControls.includes(\"privacy\"))),t.xp6(2),t.hij(\" \",t.lcZ(37,52,\"Ho letto, compreso e accettato i\"),\" \"),t.xp6(2),t.MGl(\"href\",\"http://20.67.200.135:9000/documents/\",a.data.tenantId,\"/app/Privacy.pdf\",t.LSH),t.xp6(1),t.Oqu(t.lcZ(40,54,\"termini e condizioni\")),t.xp6(2),t.hij(\" \",t.lcZ(42,56,\"(obbligatorio)\"),\" \")}}function sf(n,s){if(1&n&&(t.TgZ(0,\"form\",26),t._UZ(1,\"input\",29),t.ALo(2,\"translate\"),t._UZ(3,\"br\"),t._UZ(4,\"br\"),t.TgZ(5,\"mat-checkbox\",46),t.TgZ(6,\"label\",47),t._uU(7),t.ALo(8,\"translate\"),t.TgZ(9,\"a\",48),t._uU(10),t.ALo(11,\"translate\"),t.qZA(),t._uU(12),t.ALo(13,\"translate\"),t.qZA(),t.qZA(),t.qZA()),2&n){const e=t.oxw();t.Q6J(\"formGroup\",e.form),t.xp6(1),t.Q6J(\"ngClass\",t.VKq(16,qt,e.invalidControls.includes(\"email\")))(\"placeholder\",t.lcZ(2,8,\"E-Mail *\")),t.xp6(4),t.Q6J(\"ngClass\",t.VKq(18,Yc,e.invalidControls.includes(\"privacy\"))),t.xp6(2),t.hij(\" \",t.lcZ(8,10,\"Ho letto, compreso e accettato i\"),\" \"),t.xp6(2),t.MGl(\"href\",\"http://20.67.200.135:9000/documents/\",e.data.tenantId,\"/app/Privacy.pdf\",t.LSH),t.xp6(1),t.Oqu(t.lcZ(11,12,\"termini e condizioni\")),t.xp6(2),t.hij(\" \",t.lcZ(13,14,\"(obbligatorio)\"),\" \")}}function lf(n,s){if(1&n){const e=t.EpF();t.TgZ(0,\"div\",1),t.TgZ(1,\"button\",58),t.NdJ(\"click\",function(){return t.CHM(e),t.oxw().submitData()}),t.TgZ(2,\"span\",59),t._uU(3),t.ALo(4,\"translate\"),t.qZA(),t.qZA(),t.qZA()}2&n&&(t.xp6(3),t.Oqu(t.lcZ(4,1,\"INVIA\")))}function cf(n,s){1&n&&(t.TgZ(0,\"div\",60),t._UZ(1,\"mat-spinner\",61),t.qZA()),2&n&&(t.xp6(1),t.Q6J(\"diameter\",40))}let pf=(()=>{class n{constructor(e,o,a,d,h){this.formBuilder=e,this.dialogRef=o,this.dialogService=a,this.translate=d,this.data=h,this.primaryColor=\"#009999\",this.primaryFontFamily=\"Jost-Bold, serif\",this.secondaryFontFamily=\"RobotoCondensed-Bold, serif\",this.tertiaryFontFamily=\"RobotoCondensed-Regular, serif\",this.formType=\"privato\",this.invalidControls=[],this.loading=!1,this.isInvoice=void 0,this.iso=c(67459),this.allCountry=this.iso.all()}ngOnInit(){this.primaryColor=this.data.primaryColor,this.primaryFontFamily=this.data.primaryFontFamily,this.secondaryFontFamily=this.data.secondaryFontFamily,this.tertiaryFontFamily=this.data.tertiaryFontFamily}submitData(){return(0,C.mG)(this,void 0,void 0,function*(){if(this.loading=!0,!0===this.isInvoice){\"piva\"===this.formType&&(this.form.controls.name.setValidators([]),this.form.controls.surname.setValidators([]),this.form.controls.fiscalCode.setValidators([]),\"IT\"===this.form.controls.chosenCountry.value&&(this.form.controls.SDI.setValidators(\"\"===this.form.controls.PEC.value||null===this.form.controls.PEC.value?[l.kI.required]:[]),this.form.controls.PEC.setValidators(\"\"===this.form.controls.SDI.value||null===this.form.controls.SDI.value?[l.kI.required]:[]))),\"IT\"!==this.form.controls.chosenCountry.value&&(this.form.controls.zipCode.setValidators([]),this.form.controls.fiscalCode.setValidators([])),this.invalidControls=[],this.form.controls.name.updateValueAndValidity(),this.form.controls.surname.updateValueAndValidity(),this.form.controls.fiscalCode.updateValueAndValidity(),this.form.controls.SDI.updateValueAndValidity(),this.form.controls.PEC.updateValueAndValidity(),this.form.controls.companyName.updateValueAndValidity(),this.form.controls.zipCode.updateValueAndValidity(),this.form.controls.houseNumber.updateValueAndValidity(),this.form.controls.vatNumber.updateValueAndValidity(),this.form.controls.chosenCountry.setErrors({}),this.form.controls.chosenCountry.updateValueAndValidity(),this.form.controls.chosenItalianProvince.setErrors({}),this.form.controls.chosenItalianProvince.updateValueAndValidity();const e=this.form.controls;for(const o in e)\"chosenCountry\"===o&&-1===this.allCountry.findIndex(a=>a.alpha2===this.form.controls.chosenCountry.value)?this.form.controls.chosenCountry.setErrors({incorrect:!0}):\"IT\"===this.form.controls.chosenCountry.value&&\"chosenItalianProvince\"===o&&-1===ve.R.findIndex(a=>a.sigla===this.form.controls.chosenItalianProvince.value)&&this.form.controls.chosenItalianProvince.setErrors({incorrect:!0}),e[o].invalid&&this.invalidControls.push(o);if(0===this.invalidControls.length){const o={name:\"piva\"===this.formType?this.form.controls.companyName.value:this.form.controls.name.value,surname:\"piva\"===this.formType?\"\":this.form.controls.surname.value,fiscalCode:\"piva\"===this.formType||\"IT\"!==this.form.controls.chosenCountry.value?\"\":this.form.controls.fiscalCode.value.toString().toUpperCase(),isIndividual:\"piva\"!==this.formType,license_plate:this.form.controls.plateNumber.value,email:this.form.controls.email.value,address:{country:this.form.controls.chosenCountry.value,city:this.form.controls.city.value,street:this.form.controls.address.value,houseNumber:this.form.controls.houseNumber.value,zipCode:\"IT\"!==this.form.controls.chosenCountry.value?\"\":this.form.controls.zipCode.value,province:\"IT\"===this.form.controls.chosenCountry.value?this.form.controls.chosenItalianProvince.value:\"\"},p_iva:\"piva\"===this.formType?this.form.controls.vatNumber.value:\"\",business_name:\"piva\"===this.formType?this.form.controls.companyName.value:\"\",sdi:\"piva\"===this.formType&&\"IT\"===this.form.controls.chosenCountry.value?this.form.controls.SDI.value:\"\",pec:\"piva\"===this.formType&&\"IT\"===this.form.controls.chosenCountry.value?this.form.controls.PEC.value:\"\"};!0===(yield this.openDialogCheckData(o))&&this.dialogRef.close({newCustomer:o})}}else{const e=this.form.controls;for(const o in e)e[o].invalid&&this.invalidControls.push(o);if(0===this.invalidControls.length){const o={email:this.form.controls.email.value};!0===(yield this.openDialogCheckData(o))&&this.dialogRef.close({newCustomer:o})}}this.loading=!1})}openDialogCheckData(e){return(0,C.mG)(this,void 0,void 0,function*(){return yield this.dialogService.open(be,{width:\"900px\",data:{title:\"Fatturazione\",message:this.translate.instant(\"Ricontrolla i dati prima di inviare\"),primaryColor:this.primaryColor,newCustomer:e}}).afterClosed().toPromise()})}_filterCoutries(e){const o=e.toLowerCase();return this.allCountry.filter(a=>0===a.country.toLowerCase().indexOf(o))}_filterItalianProvinces(e){const o=e.toLowerCase();return ve.R.filter(a=>0===a.sigla.toLowerCase().indexOf(o))}closeDialog(){this.dialogRef.close()}choose(e){var o,a,d,h,E,y,D,V;return(0,C.mG)(this,void 0,void 0,function*(){if(!0===(yield this.openDialogMinimumToBill()))if(this.isInvoice=e,!0===e){let Tt,Ct;!1===(null===(o=this.data.customer)||void 0===o?void 0:o.isIndividual)&&(this.formType=\"piva\"),(null===(a=this.data.customer)||void 0===a?void 0:a.address)&&(\"IT\"===(null===(d=this.data.customer)||void 0===d?void 0:d.address.country)&&(Ct=this.data.customer.address.province),Tt=this.data.customer.address.city),this.form=this.formBuilder.group({chosenCountry:[(null===(h=this.data.customer)||void 0===h?void 0:h.address)?null===(E=this.data.customer)||void 0===E?void 0:E.address.country:\"\",[l.kI.required]],chosenItalianProvince:[this.data.customer.address&&\"IT\"===(null===(y=this.data.customer)||void 0===y?void 0:y.address.country)?Ct:\"\"],name:[this.data.customer&&\"Guest\"!==this.data.customer.name&&this.data.customer.isIndividual?this.data.customer.name:\"\",[l.kI.required]],surname:[this.data.customer?this.data.customer.surname:\"\",[l.kI.required]],email:[this.data.customer?this.data.customer.email:\"\",[l.kI.required,l.kI.email]],fiscalCode:[this.data.customer?this.data.customer.fiscalCode:\"\",[l.kI.required]],city:[this.data.customer?Tt:\"\",[l.kI.required]],zipCode:[(null===(D=this.data.customer.address)||void 0===D?void 0:D.zipCode)?this.data.customer.address.zipCode:\"\",[l.kI.required]],address:[this.data.customer.address?this.data.customer.address.street:\"\",[l.kI.required]],houseNumber:[(null===(V=this.data.customer.address)||void 0===V?void 0:V.houseNumber)?this.data.customer.address.houseNumber:\"\",[l.kI.required]],companyName:[this.data.customer?this.data.customer.business_name:\"\"],vatNumber:[this.data.customer?this.data.customer.p_iva:\"\"],plateNumber:[this.data.customer?this.data.customer.license_plate:\"\"],PEC:[this.data.customer?this.data.customer.pec:\"\"],SDI:[this.data.customer&&\"0000000\"!==this.data.customer.sdi&&\"XXXXXXX\"!==this.data.customer.sdi?this.data.customer.sdi:\"\"],privacy:[\"\",[l.kI.requiredTrue]]}),this.filteredCountry=this.form.controls.chosenCountry.valueChanges.pipe((0,Qc.O)(\"\"),(0,zc.U)(xt=>xt?this._filterCoutries(xt):this.allCountry.slice())),this.filteredItalianProvince=this.form.controls.chosenItalianProvince.valueChanges.pipe((0,Qc.O)(\"\"),(0,zc.U)(xt=>xt?this._filterItalianProvinces(xt):ve.R.slice()))}else this.form=this.formBuilder.group({email:[this.data.customer?this.data.customer.email:\"\",[l.kI.required,l.kI.email]],privacy:[\"\",[l.kI.requiredTrue]]})})}openDialogMinimumToBill(){return(0,C.mG)(this,void 0,void 0,function*(){return yield this.dialogService.open(be,{width:\"900px\",data:{title:this.translate.instant(\"Costo minimo\"),message:this.translate.instant(\"Per ricevere il documento \\xe8 necessario spendere un minimo di 0.50 \\u20ac\"),primaryColor:this.primaryColor}}).afterClosed().toPromise()})}}return n.\\u0275fac=function(e){return new(e||n)(t.Y36(l.qu),t.Y36(O.so),t.Y36(O.uw),t.Y36(U.sK),t.Y36(O.WI))},n.\\u0275cmp=t.Xpm({type:n,selectors:[[\"app-add-billing-data-dialog\"]],hostVars:8,hostBindings:function(e,o){2&e&&t.Udp(\"--primaryColor\",o.primaryColor)(\"--primaryFontFamily\",o.primaryFontFamily)(\"--secondaryFontFamily\",o.secondaryFontFamily)(\"--tertiaryFontFamily\",o.tertiaryFontFamily)},decls:20,vars:8,consts:[[1,\"dialog-container\"],[1,\"sr-result\",\"stop1\"],[1,\"buttonX\",\"button-close\",3,\"click\"],[\"width\",\"45px\",\"height\",\"45px\",\"viewBox\",\"0 0 24 24\",\"fill\",\"none\",\"xmlns\",\"http://www.w3.org/2000/svg\"],[\"id\",\"SVGRepo_bgCarrier\",\"stroke-width\",\"0\"],[\"id\",\"SVGRepo_tracerCarrier\",\"stroke-linecap\",\"round\",\"stroke-linejoin\",\"round\",\"stroke\",\"#CCCCCC\",\"stroke-width\",\"0.9120000000000001\"],[\"id\",\"SVGRepo_iconCarrier\"],[\"d\",\"M9.16998 14.83L14.83 9.17004\",\"stroke\",\"#ff0000\",\"stroke-width\",\"1.5\",\"stroke-linecap\",\"round\",\"stroke-linejoin\",\"round\"],[\"d\",\"M14.83 14.83L9.16998 9.17004\",\"stroke\",\"#ff0000\",\"stroke-width\",\"1.5\",\"stroke-linecap\",\"round\",\"stroke-linejoin\",\"round\"],[\"d\",\"M9 22H15C20 22 22 20 22 15V9C22 4 20 2 15 2H9C4 2 2 4 2 9V15C2 20 4 22 9 22Z\",\"stroke\",\"#ff0000\",\"stroke-width\",\"1.5\",\"stroke-linecap\",\"round\",\"stroke-linejoin\",\"round\"],[\"style\",\"color: black; text-align: center; margin-top: 20px\",4,\"ngIf\"],[\"class\",\"invoice-receipt-options-container\",4,\"ngIf\"],[\"class\",\"mat-button-group\",3,\"ngModel\",\"ngModelChange\",4,\"ngIf\"],[3,\"formGroup\",4,\"ngIf\"],[\"class\",\"sr-result stop1\",4,\"ngIf\"],[\"class\",\"spinner sr-result\",4,\"ngIf\"],[2,\"color\",\"black\",\"text-align\",\"center\",\"margin-top\",\"20px\"],[1,\"secondary-font-family\"],[1,\"invoice-receipt-options-container\"],[1,\"invoice-receipt-options\",3,\"click\"],[1,\"fas\",\"fa-receipt\",\"billing-options-icon\"],[1,\"fas\",\"fa-file-invoice\",\"billing-options-icon\"],[1,\"mat-button-group\",3,\"ngModel\",\"ngModelChange\"],[\"value\",\"privato\",1,\"mat-button\",\"tertiary-font-family\"],[1,\"material-icons\",\"icon-button\",3,\"ngStyle\"],[\"value\",\"piva\",1,\"mat-button\",\"tertiary-font-family\"],[3,\"formGroup\"],[\"formControlName\",\"name\",\"class\",\"tertiary-font-family error\",\"type\",\"text\",3,\"ngClass\",\"placeholder\",4,\"ngIf\"],[\"formControlName\",\"surname\",\"class\",\"tertiary-font-family\",\"type\",\"text\",3,\"ngClass\",\"placeholder\",4,\"ngIf\"],[\"formControlName\",\"email\",\"type\",\"email\",1,\"tertiary-font-family\",3,\"ngClass\",\"placeholder\"],[\"formControlName\",\"chosenCountry\",\"type\",\"text\",1,\"tertiary-font-family\",3,\"ngClass\",\"matAutocomplete\",\"placeholder\"],[\"countries\",\"matAutocomplete\"],[3,\"value\",4,\"ngFor\",\"ngForOf\"],[\"formControlName\",\"fiscalCode\",\"class\",\"tertiary-font-family\",\"type\",\"text\",3,\"ngClass\",\"placeholder\",4,\"ngIf\"],[\"formControlName\",\"chosenItalianProvince\",\"type\",\"text\",1,\"tertiary-font-family\",3,\"ngClass\",\"hidden\",\"matAutocomplete\",\"placeholder\",\"required\"],[\"italianProvinces\",\"matAutocomplete\"],[\"formControlName\",\"city\",\"type\",\"text\",1,\"tertiary-font-family\",3,\"ngClass\",\"placeholder\"],[\"formControlName\",\"zipCode\",\"class\",\"tertiary-font-family\",\"type\",\"text\",\"style\",\"width: 27.5%\",3,\"ngClass\",\"placeholder\",4,\"ngIf\"],[\"formControlName\",\"address\",\"type\",\"text\",1,\"tertiary-font-family\",2,\"width\",\"67.5%\",\"margin-right\",\"5%\",3,\"ngClass\",\"placeholder\"],[\"formControlName\",\"houseNumber\",\"type\",\"text\",1,\"tertiary-font-family\",2,\"width\",\"27.5%\",3,\"ngClass\",\"placeholder\"],[\"formControlName\",\"companyName\",\"class\",\"tertiary-font-family\",\"type\",\"text\",3,\"required\",\"ngClass\",\"placeholder\",4,\"ngIf\"],[\"formControlName\",\"vatNumber\",\"class\",\"tertiary-font-family\",\"type\",\"text\",3,\"required\",\"ngClass\",\"placeholder\",4,\"ngIf\"],[\"formControlName\",\"plateNumber\",\"type\",\"text\",1,\"tertiary-font-family\",3,\"placeholder\"],[\"class\",\"secondary-font-family\",4,\"ngIf\"],[\"formControlName\",\"PEC\",\"class\",\"tertiary-font-family\",\"type\",\"text\",3,\"ngClass\",\"placeholder\",\"required\",4,\"ngIf\"],[\"formControlName\",\"SDI\",\"class\",\"tertiary-font-family\",\"type\",\"text\",3,\"ngClass\",\"placeholder\",\"required\",4,\"ngIf\"],[\"formControlName\",\"privacy\",1,\"checkbox\",3,\"ngClass\"],[1,\"checkbox-label\"],[\"target\",\"_blank\",3,\"href\"],[\"formControlName\",\"name\",\"type\",\"text\",1,\"tertiary-font-family\",\"error\",3,\"ngClass\",\"placeholder\"],[\"formControlName\",\"surname\",\"type\",\"text\",1,\"tertiary-font-family\",3,\"ngClass\",\"placeholder\"],[3,\"value\"],[\"formControlName\",\"fiscalCode\",\"type\",\"text\",1,\"tertiary-font-family\",3,\"ngClass\",\"placeholder\"],[\"formControlName\",\"zipCode\",\"type\",\"text\",1,\"tertiary-font-family\",2,\"width\",\"27.5%\",3,\"ngClass\",\"placeholder\"],[\"formControlName\",\"companyName\",\"type\",\"text\",1,\"tertiary-font-family\",3,\"required\",\"ngClass\",\"placeholder\"],[\"formControlName\",\"vatNumber\",\"type\",\"text\",1,\"tertiary-font-family\",3,\"required\",\"ngClass\",\"placeholder\"],[\"formControlName\",\"PEC\",\"type\",\"text\",1,\"tertiary-font-family\",3,\"ngClass\",\"placeholder\",\"required\"],[\"formControlName\",\"SDI\",\"type\",\"text\",1,\"tertiary-font-family\",3,\"ngClass\",\"placeholder\",\"required\"],[1,\"button\",\"secondary-font-family\",3,\"click\"],[2,\"color\",\"white\"],[1,\"spinner\",\"sr-result\"],[3,\"diameter\"]],template:function(e,o){1&e&&(t.TgZ(0,\"div\",0),t.TgZ(1,\"div\",1),t.TgZ(2,\"button\",2),t.NdJ(\"click\",function(){return o.closeDialog()}),t.O4$(),t.TgZ(3,\"svg\",3),t._UZ(4,\"g\",4),t._UZ(5,\"g\",5),t.TgZ(6,\"g\",6),t._UZ(7,\"path\",7),t._UZ(8,\"path\",8),t._UZ(9,\"path\",9),t.qZA(),t.qZA(),t.qZA(),t.kcU(),t._UZ(10,\"br\"),t._UZ(11,\"br\"),t.qZA(),t.YNc(12,B1,4,3,\"p\",10),t.YNc(13,Q1,4,3,\"p\",10),t.YNc(14,z1,11,6,\"div\",11),t.YNc(15,$1,13,13,\"mat-button-toggle-group\",12),t.YNc(16,rf,43,73,\"form\",13),t.YNc(17,sf,14,20,\"form\",13),t.YNc(18,lf,5,3,\"div\",14),t.YNc(19,cf,2,1,\"div\",15),t.qZA()),2&e&&(t.xp6(12),t.Q6J(\"ngIf\",void 0!==o.isInvoice),t.xp6(1),t.Q6J(\"ngIf\",void 0===o.isInvoice),t.xp6(1),t.Q6J(\"ngIf\",void 0===o.isInvoice),t.xp6(1),t.Q6J(\"ngIf\",!0===o.isInvoice),t.xp6(1),t.Q6J(\"ngIf\",!0===o.isInvoice),t.xp6(1),t.Q6J(\"ngIf\",!1===o.isInvoice),t.xp6(1),t.Q6J(\"ngIf\",!o.loading&&void 0!==o.isInvoice),t.xp6(1),t.Q6J(\"ngIf\",o.loading))},directives:[v.O5,Ae.A9,l.JJ,l.On,Ae.Yi,v.PC,H.Zl,l._Y,l.JL,l.sg,l.Fj,l.u,v.mk,H.oO,Xt.ZL,Xt.XC,v.sg,l.Q7,Ze.oG,zt.ey,j.$g],pipes:[U.X$,v.Ov],styles:['.mat-button-group[_ngcontent-%COMP%]{width:100%}.mat-button[_ngcontent-%COMP%]{width:50%}.invoice-receipt-options-container[_ngcontent-%COMP%]{width:100%;margin-bottom:10px;justify-content:space-around;display:flex}.invoice-receipt-options[_ngcontent-%COMP%]{border-radius:15px;border-style:none;justify-content:center;align-items:center;width:45%;height:100px;background-color:#dbdbdb8c;display:flex;flex-direction:column;box-shadow:4px 5px 5.5px #0009}.billing-options-icon[_ngcontent-%COMP%]{color:var(--primaryColor);font-size:2.7rem;margin-bottom:10px}.icon-button[_ngcontent-%COMP%]{padding-right:10px}.sr-input[_ngcontent-%COMP%], input[type=text][_ngcontent-%COMP%], input[type=email][_ngcontent-%COMP%]{margin-top:10px;border-radius:10px;border:1px solid gray;padding:10px 12px;height:44px;width:100%;transition:box-shadow .2s ease;background:white;-webkit-appearance:none;appearance:none}.dialog-container[_ngcontent-%COMP%]{height:100%;overflow:overlay;border-radius:15px} .mat-autocomplete-panel-above .mat-autocomplete-panel{border-radius:15px!important} .mat-option{font-family:\"RobotoCondensed-Regular\",serif!important;font-size:15px}.dialog-container[_ngcontent-%COMP%]::-webkit-scrollbar{display:none}.input-small[_ngcontent-%COMP%]{width:47.5%!important}.input-x-small[_ngcontent-%COMP%]{width:27.5%!important}.input-medium[_ngcontent-%COMP%]{width:67.5%!important}.margin-right[_ngcontent-%COMP%]{margin-right:2.5%}.margin-left[_ngcontent-%COMP%]{margin-left:2.5%} .mat-button-toggle-appearance-standard .mat-button-toggle-label-content{padding:0 12px;justify-content:center;display:flex!important;align-items:center!important} .mat-dialog-container{border-radius:25px}a[_ngcontent-%COMP%]{font-size:17px}.error[_ngcontent-%COMP%]{border:1px solid red!important}.error-checkbox[_ngcontent-%COMP%]{color:red}p[_ngcontent-%COMP%] label[_ngcontent-%COMP%]{margin-top:20px;width:100%;text-align:center}.input[_ngcontent-%COMP%]{height:30px}.spinner[_ngcontent-%COMP%]{display:flex;justify-content:center;align-items:center;height:50px}.button[_ngcontent-%COMP%]{border-radius:10px;background:var(--primaryColor);color:#fff;border:0;padding:12px 16px;margin-top:16px;font-weight:600;cursor:pointer;transition:all .2s ease;display:block;box-shadow:4px 5px 5.5px #0009;width:100%} .button-close .mat-icon{color:red}.button-close[_ngcontent-%COMP%]{right:10px;position:absolute}.sr-result.stop1[_ngcontent-%COMP%]{position:relative}.primary-font-family[_ngcontent-%COMP%]{font-family:var(--primaryFontFamily);font-weight:700}.secondary-font-family[_ngcontent-%COMP%]{font-family:var(--secondaryFontFamily);font-weight:700}.tertiary-font-family[_ngcontent-%COMP%]{font-family:var(--tertiaryFontFamily)}a[_ngcontent-%COMP%]{color:#007bff;font-family:\"RobotoCondensed-Regular\",serif;text-decoration:underline;font-size:15px} mat-checkbox{width:100%;display:flex!important;justify-content:center!important;align-items:center!important} .checkbox-label{margin-left:20px;display:flex;font-size:15px;width:180px!important;white-space:normal;overflow-wrap:break-word;flex-direction:column;font-family:\"RobotoCondensed-Regular\",serif} .mat-checkbox-checked.mat-accent .mat-checkbox-ripple .mat-ripple-element{opacity:.03!important;background-color:var(--primaryColor)!important} .mat-checkbox-checked.mat-accent .mat-checkbox-background, .mat-checkbox-indeterminate.mat-accent[_ngcontent-%COMP%] .mat-checkbox-background[_ngcontent-%COMP%]{background-color:var(--primaryColor)}.sr-input[_ngcontent-%COMP%], input[type=text][_ngcontent-%COMP%], input[type=email][_ngcontent-%COMP%]{border-radius:10px;border:1px solid gray;padding:10px 12px;height:44px;width:100%;transition:box-shadow .2s ease;background:white;-webkit-appearance:none;appearance:none}.city-width[_ngcontent-%COMP%]{width:67.5%!important;margin-right:5%!important}']}),n})();var Et=c(2527),df=c(77448),gf=c(57038),mf=c(25823);function uf(n,s){1&n&&(t.TgZ(0,\"div\",1),t.TgZ(1,\"div\",2),t._UZ(2,\"img\",3),t.qZA(),t.qZA())}let _f=(()=>{class n{constructor(){this.pageReady=!1}ngOnInit(){}}return n.\\u0275fac=function(e){return new(e||n)},n.\\u0275cmp=t.Xpm({type:n,selectors:[[\"app-main-loading-screen\"]],inputs:{pageReady:\"pageReady\"},decls:1,vars:1,consts:[[\"id\",\"text\",4,\"ngIf\"],[\"id\",\"text\"],[\"id\",\"container\"],[\"alt\",\"loading_screen\",\"id\",\"loading_screen\",\"src\",\"assets\\\\images\\\\loading\\\\beagle.gif\"]],template:function(e,o){1&e&&t.YNc(0,uf,3,0,\"div\",0),2&e&&t.Q6J(\"ngIf\",!1===o.pageReady)},directives:[v.O5],styles:[\"\"]}),n})();function hf(n,s){1&n&&(t.TgZ(0,\"li\",9),t._uU(1,\"Italiano\"),t.qZA())}function ff(n,s){if(1&n&&(t.TgZ(0,\"div\",7),t.YNc(1,hf,2,0,\"li\",8),t.qZA()),2&n){const e=t.oxw();t.xp6(1),t.Q6J(\"ngIf\",!0===e.showLanguageName)}}function Zf(n,s){1&n&&(t.TgZ(0,\"li\",9),t._uU(1,\"English\"),t.qZA())}function Cf(n,s){if(1&n&&(t.TgZ(0,\"div\",10),t.YNc(1,Zf,2,0,\"li\",8),t.qZA()),2&n){const e=t.oxw();t.xp6(1),t.Q6J(\"ngIf\",!0===e.showLanguageName)}}function vf(n,s){1&n&&(t.TgZ(0,\"li\",9),t._uU(1,\"Espa\\xf1ol\"),t.qZA())}function bf(n,s){if(1&n&&(t.TgZ(0,\"div\",11),t.YNc(1,vf,2,0,\"li\",8),t.qZA()),2&n){const e=t.oxw();t.xp6(1),t.Q6J(\"ngIf\",!0===e.showLanguageName)}}function Af(n,s){1&n&&(t.TgZ(0,\"li\",9),t._uU(1,\"Fran\\xe7ais\"),t.qZA())}function xf(n,s){if(1&n&&(t.TgZ(0,\"div\",12),t.YNc(1,Af,2,0,\"li\",8),t.qZA()),2&n){const e=t.oxw();t.xp6(1),t.Q6J(\"ngIf\",!0===e.showLanguageName)}}function Tf(n,s){1&n&&(t.TgZ(0,\"li\",9),t._uU(1,\"Deutsch\"),t.qZA())}function Pf(n,s){if(1&n&&(t.TgZ(0,\"div\",13),t.YNc(1,Tf,2,0,\"li\",8),t.qZA()),2&n){const e=t.oxw();t.xp6(1),t.Q6J(\"ngIf\",!0===e.showLanguageName)}}function Of(n,s){if(1&n){const e=t.EpF();t.TgZ(0,\"ul\",14),t.TgZ(1,\"li\"),t.TgZ(2,\"a\",15),t.NdJ(\"click\",function(){return t.CHM(e),t.oxw().changeLang(\"en\")}),t._uU(3,\"English\"),t.qZA(),t.qZA(),t.TgZ(4,\"li\"),t.TgZ(5,\"a\",16),t.NdJ(\"click\",function(){return t.CHM(e),t.oxw().changeLang(\"it\")}),t._uU(6,\"Italiano\"),t.qZA(),t.qZA(),t.TgZ(7,\"li\"),t.TgZ(8,\"a\",17),t.NdJ(\"click\",function(){return t.CHM(e),t.oxw().changeLang(\"es\")}),t._uU(9,\"Espa\\xf1ol\"),t.qZA(),t.qZA(),t.TgZ(10,\"li\"),t.TgZ(11,\"a\",18),t.NdJ(\"click\",function(){return t.CHM(e),t.oxw().changeLang(\"fr\")}),t._uU(12,\"Fran\\xe7ais\"),t.qZA(),t.qZA(),t.TgZ(13,\"li\"),t.TgZ(14,\"a\",19),t.NdJ(\"click\",function(){return t.CHM(e),t.oxw().changeLang(\"de\")}),t._uU(15,\"Deutsch\"),t.qZA(),t.qZA(),t.qZA()}}let yf=(()=>{class n{constructor(e){this.translate=e,this.showMenu=!1,this.showLanguageName=!0,this.defaultLanguage=\"it\",this.color=\"white\",this.textColor=\"white\"}ngOnInit(){const e=b().get(\"lang\",{decrypt:!0});this.textColor=this.color,(null===e||e!==this.defaultLanguage&&\"it\"!==this.defaultLanguage)&&this.changeLang(this.defaultLanguage)}clickMenu(){this.showMenu=!this.showMenu}lingua(){switch(this.translate.currentLang){case\"it\":default:return\"Italiano\";case\"en\":return\"English\";case\"es\":return\"Espa\\xf1ol\";case\"fr\":return\"Fran\\xe7ais\";case\"de\":return\"Deutsch\"}}changeLang(e){if(this.translate.currentLang!==e){b().set(\"lang\",e,{encrypt:!0});const o=window.location.href,[a,d]=o.split(\"?\");window.location.href=a+(d?\"?\"+d:\"\")}else this.showMenu=!1}}return n.\\u0275fac=function(e){return new(e||n)(t.Y36(U.sK))},n.\\u0275cmp=t.Xpm({type:n,selectors:[[\"app-language-selector\"]],hostVars:2,hostBindings:function(e,o){2&e&&t.Udp(\"--textColor\",o.textColor)},inputs:{showLanguageName:\"showLanguageName\",defaultLanguage:\"defaultLanguage\",color:\"color\"},decls:7,vars:6,consts:[[1,\"lang-menu\",3,\"click\"],[\"class\",\"selected-lang selected-lang-it\",\"style\",\" font-size: 15px;\\n color: var(--textColor); text-shadow: 1px 1px 10px black;\",4,\"ngIf\"],[\"class\",\"selected-lang selected-lang-en\",\"style\",\" font-size: 15px;\\n color: var(--textColor); text-shadow: 1px 1px 10px black;\",4,\"ngIf\"],[\"class\",\"selected-lang selected-lang-es\",\"style\",\" font-size: 15px;\\n color: var(--textColor); text-shadow: 1px 1px 10px black;\",4,\"ngIf\"],[\"class\",\"selected-lang selected-lang-fr\",\"style\",\" font-size: 15px;\\n color: var(--textColor); text-shadow: 1px 1px 10px black;\",4,\"ngIf\"],[\"class\",\"selected-lang selected-lang-de\",\"style\",\" font-size: 15px;\\n color: var(--textColor); text-shadow: 1px 1px 10px black;\",4,\"ngIf\"],[\"id\",\"menu\",4,\"ngIf\"],[1,\"selected-lang\",\"selected-lang-it\",2,\"font-size\",\"15px\",\"color\",\"var(--textColor)\",\"text-shadow\",\"1px 1px 10px black\"],[\"class\",\"roboto-medium padding-left\",4,\"ngIf\"],[1,\"roboto-medium\",\"padding-left\"],[1,\"selected-lang\",\"selected-lang-en\",2,\"font-size\",\"15px\",\"color\",\"var(--textColor)\",\"text-shadow\",\"1px 1px 10px black\"],[1,\"selected-lang\",\"selected-lang-es\",2,\"font-size\",\"15px\",\"color\",\"var(--textColor)\",\"text-shadow\",\"1px 1px 10px black\"],[1,\"selected-lang\",\"selected-lang-fr\",2,\"font-size\",\"15px\",\"color\",\"var(--textColor)\",\"text-shadow\",\"1px 1px 10px black\"],[1,\"selected-lang\",\"selected-lang-de\",2,\"font-size\",\"15px\",\"color\",\"var(--textColor)\",\"text-shadow\",\"1px 1px 10px black\"],[\"id\",\"menu\"],[1,\"en\",\"roboto-bold\",3,\"click\"],[1,\"it\",\"roboto-bold\",3,\"click\"],[1,\"es\",\"roboto-bold\",3,\"click\"],[1,\"fr\",\"roboto-bold\",3,\"click\"],[1,\"de\",\"roboto-bold\",3,\"click\"]],template:function(e,o){1&e&&(t.TgZ(0,\"div\",0),t.NdJ(\"click\",function(){return o.clickMenu()}),t.YNc(1,ff,2,1,\"div\",1),t.YNc(2,Cf,2,1,\"div\",2),t.YNc(3,bf,2,1,\"div\",3),t.YNc(4,xf,2,1,\"div\",4),t.YNc(5,Pf,2,1,\"div\",5),t.YNc(6,Of,16,0,\"ul\",6),t.qZA()),2&e&&(t.xp6(1),t.Q6J(\"ngIf\",\"Italiano\"==o.lingua()),t.xp6(1),t.Q6J(\"ngIf\",\"English\"==o.lingua()),t.xp6(1),t.Q6J(\"ngIf\",\"Espa\\xf1ol\"==o.lingua()),t.xp6(1),t.Q6J(\"ngIf\",\"Fran\\xe7ais\"==o.lingua()),t.xp6(1),t.Q6J(\"ngIf\",\"Deutsch\"==o.lingua()),t.xp6(1),t.Q6J(\"ngIf\",!0===o.showMenu))},directives:[v.O5],styles:['.lang-menu[_ngcontent-%COMP%]{text-align:right;position:relative;float:right;margin-right:13px}.lang-menu[_ngcontent-%COMP%]:hover ul[_ngcontent-%COMP%]{display:block;z-index:1}.roboto-medium[_ngcontent-%COMP%]{font-family:\"RobotoCondensed-Regular\",serif}.roboto-bold[_ngcontent-%COMP%]{font-family:\"RobotoCondensed-Bold\",serif}.click[_ngcontent-%COMP%]{cursor:pointer}.padding-left[_ngcontent-%COMP%]{padding-left:10px}.selected-lang-login[_ngcontent-%COMP%]{cursor:pointer;display:flex;justify-content:space-between;line-height:2;width:100px}.selected-lang-login[_ngcontent-%COMP%]:before{content:\"\";display:block;width:28px;height:28px;background-image:url(https://cdn1.iconfinder.com/data/icons/rcons-basic-work-and-office/16/internet_world_network_web_planet_earth_globe-28.png)}.lang-menu[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%] option[_ngcontent-%COMP%]{width:130px;display:inline-block;padding:5px 10px}.lang-menu[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%] option[_ngcontent-%COMP%]:hover{background-color:#f2f2f2}.lang-menu[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%] option[_ngcontent-%COMP%]:before{content:\"\";display:inline-block;width:28px;height:28px;margin-right:10px;vertical-align:middle}.en[_ngcontent-%COMP%]:before{background-image:url(https://cdn1.iconfinder.com/data/icons/world-flags-circular/1000/Flag_of_United_Kingdom_-_Circle-28.png)}.it[_ngcontent-%COMP%]:before{background-image:url(https://cdn1.iconfinder.com/data/icons/european-country-flags/83/italy-28.png)}.es[_ngcontent-%COMP%]:before{background-image:url(https://cdn4.iconfinder.com/data/icons/world-flags-12/512/Untitled-2-05-512.png)}.fr[_ngcontent-%COMP%]:before{background-image:url(https://cdn1.iconfinder.com/data/icons/european-country-flags/83/france-256.png)}.de[_ngcontent-%COMP%]:before{background-image:url(https://cdn1.iconfinder.com/data/icons/flags-of-the-world-2/128/germany-circle-256.png)}.lang-menu[_ngcontent-%COMP%]:hover ul[_ngcontent-%COMP%]{display:block}.lang-menu[_ngcontent-%COMP%] .selected-lang[_ngcontent-%COMP%]{display:flex;justify-content:space-between;line-height:2;cursor:pointer}.lang-menu[_ngcontent-%COMP%] .selected-lang[_ngcontent-%COMP%]:before{content:\"\";display:inline-block;width:32px;height:32px;background-size:contain;background-repeat:no-repeat}.selected-lang-it[_ngcontent-%COMP%]:before{background-image:url(italy-flag.ed5ff5f5e23ee78fcfe6.svg)}.selected-lang-en[_ngcontent-%COMP%]:before{background-image:url(united-kingdom-flag.b0dfd1b28c2885d778c6.svg)}.selected-lang-es[_ngcontent-%COMP%]:before{background-image:url(spain-flag.9ba4edfcc26ee1b29717.svg)}.selected-lang-fr[_ngcontent-%COMP%]:before{background-image:url(france-flag.74bb6942716087200cfa.svg)}.selected-lang-de[_ngcontent-%COMP%]:before{background-image:url(german-flag.ecd52a39fc34d6c95963.png)}.lang-menu[_ngcontent-%COMP%] ul[_ngcontent-%COMP%]{margin:0;padding:0;display:none;background-color:#fff;border:1px solid #f8f8f8;position:absolute;top:45px;right:0px;width:110px;border-radius:5px;box-shadow:0 1px 10px #0003}.lang-menu[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%]{list-style:none;text-align:left;display:flex;justify-content:space-between}.lang-menu[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{text-decoration:none;width:125px;padding:5px 10px;display:block}.lang-menu[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%]:hover{background-color:#f2f2f2}.lang-menu[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%] a[_ngcontent-%COMP%]:before{content:\"\";display:inline-block;width:25px;height:25px;vertical-align:middle;margin-right:10px;background-size:contain;background-repeat:no-repeat}']}),n})();var Vc=c(14785);function qf(n,s){if(1&n&&t._UZ(0,\"app-main-loading-screen\",15),2&n){const e=t.oxw();t.Q6J(\"pageReady\",e.pageReady)}}function Mf(n,s){1&n&&t._UZ(0,\"i\",16)}function wf(n,s){if(1&n&&(t.TgZ(0,\"a\",17),t._uU(1),t.ALo(2,\"translate\"),t.qZA()),2&n){const e=t.oxw();t.Q6J(\"href\",\"tel:\"+e.qrCodeSettings.supportNumber,t.LSH),t.xp6(1),t.Oqu(t.lcZ(2,2,\"Assistenza\"))}}function Ef(n,s){if(1&n&&t._UZ(0,\"app-language-selector\",18),2&n){const e=t.oxw();t.Q6J(\"showLanguageName\",!0)(\"defaultLanguage\",e.language)(\"color\",e.secondaryColor)}}function kf(n,s){if(1&n&&(t.TgZ(0,\"div\"),t._UZ(1,\"div\",24),t.TgZ(2,\"div\",48),t.TgZ(3,\"a\",49),t._UZ(4,\"img\",50),t.qZA(),t.TgZ(5,\"a\",51),t._UZ(6,\"img\",52),t.qZA(),t.qZA(),t._UZ(7,\"div\",53),t.qZA()),2&n){const e=t.oxw(2);t.xp6(3),t.Q6J(\"href\",null==e.qrCodeSettings?null:e.qrCodeSettings.urlAppAppStore,t.LSH),t.xp6(2),t.Q6J(\"href\",null==e.qrCodeSettings?null:e.qrCodeSettings.urlAppPlayStore,t.LSH)}}function Uf(n,s){1&n&&(t.TgZ(0,\"div\"),t.TgZ(1,\"p\",54),t.TgZ(2,\"b\"),t._uU(3),t.ALo(4,\"translate\"),t.qZA(),t.qZA(),t.TgZ(5,\"p\",55),t.TgZ(6,\"a\"),t._uU(7),t.ALo(8,\"translate\"),t.qZA(),t.qZA(),t.qZA()),2&n&&(t.xp6(3),t.Oqu(t.lcZ(4,2,\"ATTENZIONE\")),t.xp6(4),t.Oqu(t.lcZ(8,4,\"QUALORA NON FOSSE PI\\xd9 DISPONIBILE IL PULSANTE STOP, STOPPARE LA RICARICA DAL VEICOLO\")))}function If(n,s){1&n&&(t.TgZ(0,\"mat-icon\",79),t._uU(1,\"battery_alert\"),t.qZA())}function Nf(n,s){1&n&&(t.TgZ(0,\"mat-icon\",79),t._uU(1,\"battery_0_bar\"),t.qZA())}function Sf(n,s){1&n&&(t.TgZ(0,\"mat-icon\",79),t._uU(1,\"battery_1_bar\"),t.qZA())}function Lf(n,s){1&n&&(t.TgZ(0,\"mat-icon\",79),t._uU(1,\"battery_2_bar\"),t.qZA())}function Df(n,s){1&n&&(t.TgZ(0,\"mat-icon\",79),t._uU(1,\"battery_3_bar\"),t.qZA())}function Rf(n,s){1&n&&(t.TgZ(0,\"mat-icon\",79),t._uU(1,\"battery_4_bar\"),t.qZA())}function Ff(n,s){1&n&&(t.TgZ(0,\"mat-icon\",79),t._uU(1,\"battery_5_bar\"),t.qZA())}function Gf(n,s){1&n&&(t.TgZ(0,\"mat-icon\",79),t._uU(1,\"battery_6_bar\"),t.qZA())}function Jf(n,s){1&n&&(t.TgZ(0,\"mat-icon\",79),t._uU(1,\"battery_charging_full\"),t.qZA())}function Bf(n,s){if(1&n&&(t.TgZ(0,\"div\",57),t.TgZ(1,\"div\",74),t.TgZ(2,\"div\"),t.TgZ(3,\"a\",62),t._uU(4),t.ALo(5,\"translate\"),t.qZA(),t._UZ(6,\"br\"),t._UZ(7,\"div\",63),t.TgZ(8,\"a\",75),t._uU(9),t.qZA(),t.TgZ(10,\"a\",65),t._uU(11,\" %\"),t.qZA(),t.qZA(),t.TgZ(12,\"div\",76),t.YNc(13,If,2,0,\"mat-icon\",77),t.YNc(14,Nf,2,0,\"mat-icon\",77),t.YNc(15,Sf,2,0,\"mat-icon\",77),t.YNc(16,Lf,2,0,\"mat-icon\",77),t.YNc(17,Df,2,0,\"mat-icon\",77),t.YNc(18,Rf,2,0,\"mat-icon\",77),t.YNc(19,Ff,2,0,\"mat-icon\",77),t.YNc(20,Gf,2,0,\"mat-icon\",77),t.YNc(21,Jf,2,0,\"mat-icon\",78),t.qZA(),t.qZA(),t.qZA()),2&n){const e=t.oxw(3);t.xp6(4),t.Oqu(t.lcZ(5,11,\"percentuale_batteria\")),t.xp6(5),t.Oqu(null==e.transaction?null:e.transaction.soC),t.xp6(4),t.Q6J(\"ngIf\",(null==e.transaction?null:e.transaction.soC)>0&&(null==e.transaction?null:e.transaction.soC)<10),t.xp6(1),t.Q6J(\"ngIf\",(null==e.transaction?null:e.transaction.soC)>=10&&(null==e.transaction?null:e.transaction.soC)<20),t.xp6(1),t.Q6J(\"ngIf\",(null==e.transaction?null:e.transaction.soC)>=20&&(null==e.transaction?null:e.transaction.soC)<30),t.xp6(1),t.Q6J(\"ngIf\",(null==e.transaction?null:e.transaction.soC)>=30&&(null==e.transaction?null:e.transaction.soC)<40),t.xp6(1),t.Q6J(\"ngIf\",(null==e.transaction?null:e.transaction.soC)>=40&&(null==e.transaction?null:e.transaction.soC)<50),t.xp6(1),t.Q6J(\"ngIf\",(null==e.transaction?null:e.transaction.soC)>=50&&(null==e.transaction?null:e.transaction.soC)<60),t.xp6(1),t.Q6J(\"ngIf\",(null==e.transaction?null:e.transaction.soC)>=60&&(null==e.transaction?null:e.transaction.soC)<70),t.xp6(1),t.Q6J(\"ngIf\",(null==e.transaction?null:e.transaction.soC)>=70&&(null==e.transaction?null:e.transaction.soC)<100),t.xp6(1),t.Q6J(\"ngIf\",100===(null==e.transaction?null:e.transaction.soC))}}function Qf(n,s){if(1&n&&(t.TgZ(0,\"div\",56),t._UZ(1,\"br\"),t.TgZ(2,\"div\",57),t.TgZ(3,\"div\",58),t.TgZ(4,\"div\"),t.TgZ(5,\"div\",59),t.TgZ(6,\"div\",60),t._UZ(7,\"i\",61),t.qZA(),t.TgZ(8,\"div\"),t.TgZ(9,\"a\",62),t._uU(10),t.ALo(11,\"translate\"),t.qZA(),t._UZ(12,\"br\"),t._UZ(13,\"div\",63),t.TgZ(14,\"a\",64),t._uU(15),t.qZA(),t.TgZ(16,\"a\",65),t._uU(17,\" kW\"),t.qZA(),t.qZA(),t.qZA(),t.qZA(),t._UZ(18,\"div\"),t.TgZ(19,\"div\"),t.TgZ(20,\"div\",59),t.TgZ(21,\"div\",60),t._UZ(22,\"i\",66),t.qZA(),t.TgZ(23,\"div\"),t.TgZ(24,\"a\",62),t._uU(25),t.ALo(26,\"translate\"),t.qZA(),t._UZ(27,\"br\"),t._UZ(28,\"div\",63),t.TgZ(29,\"a\",67),t._uU(30),t.qZA(),t.TgZ(31,\"a\",65),t._uU(32,\" kWh\"),t.qZA(),t.qZA(),t.qZA(),t.qZA(),t.qZA(),t.qZA(),t._UZ(33,\"div\",68),t.TgZ(34,\"div\",57),t.TgZ(35,\"div\",58),t.TgZ(36,\"div\"),t.TgZ(37,\"div\",59),t.TgZ(38,\"div\",60),t._UZ(39,\"i\",69),t.qZA(),t.TgZ(40,\"div\"),t.TgZ(41,\"a\",62),t._uU(42),t.ALo(43,\"translate\"),t.qZA(),t._UZ(44,\"br\"),t._UZ(45,\"div\",63),t.TgZ(46,\"a\",70),t._uU(47),t.ALo(48,\"date\"),t.qZA(),t.qZA(),t.qZA(),t.qZA(),t._UZ(49,\"div\"),t.TgZ(50,\"div\"),t.TgZ(51,\"div\",59),t.TgZ(52,\"div\",60),t._UZ(53,\"i\",71),t.qZA(),t.TgZ(54,\"div\"),t.TgZ(55,\"a\",62),t._uU(56),t.ALo(57,\"translate\"),t.qZA(),t._UZ(58,\"br\"),t._UZ(59,\"div\",63),t.TgZ(60,\"a\",72),t._uU(61),t.qZA(),t.TgZ(62,\"a\",65),t._uU(63,\" \\u20ac\"),t.qZA(),t.qZA(),t.qZA(),t.qZA(),t.qZA(),t.qZA(),t._UZ(64,\"div\",68),t.YNc(65,Bf,22,13,\"div\",73),t._UZ(66,\"div\",63),t.qZA()),2&n){const e=t.oxw(2);t.xp6(10),t.Oqu(t.lcZ(11,9,\"potenza_erogata\")),t.xp6(5),t.Oqu(null==e.transaction?null:e.transaction.power),t.xp6(10),t.Oqu(t.lcZ(26,11,\"energia_ricaricata\")),t.xp6(5),t.Oqu(null==e.transaction?null:e.transaction.energy),t.xp6(12),t.Oqu(t.lcZ(43,13,\"tempo_di_ricarica\")),t.xp6(5),t.Oqu(t.Dn7(48,15,1e3*(null==e.transaction?null:e.transaction.timeInSeconds),\"H:mm:ss\",\"UTC\")),t.xp6(9),t.Oqu(t.lcZ(57,19,\"costo_stimato\")),t.xp6(5),t.Oqu(null==e.transaction?null:e.transaction.estimatedCost),t.xp6(4),t.Q6J(\"ngIf\",0!==(null==e.transaction?null:e.transaction.soC))}}function zf(n,s){if(1&n&&(t.TgZ(0,\"div\"),t._UZ(1,\"br\"),t.TgZ(2,\"a\",36),t._UZ(3,\"br\"),t._uU(4),t.ALo(5,\"translate\"),t.qZA(),t.qZA()),2&n){const e=t.oxw(2);t.xp6(4),t.Oqu(t.lcZ(5,1,e.customer?\"In attesa dei dati dalla stazione\":\"In attesa dei dati dalla stazione, dopo la ricezione sar\\xe0 possibile inserire i dati di fatturazione\"))}}function $f(n,s){1&n&&(t.TgZ(0,\"div\",80),t._UZ(1,\"mat-spinner\",81),t.qZA()),2&n&&(t.xp6(1),t.Q6J(\"diameter\",40))}function Yf(n,s){if(1&n){const e=t.EpF();t.TgZ(0,\"button\",82),t.NdJ(\"click\",function(){return t.CHM(e),t.oxw(2).confirmCard()}),t.TgZ(1,\"span\",83),t._uU(2),t.ALo(3,\"translate\"),t.qZA(),t.qZA()}2&n&&(t.xp6(2),t.Oqu(t.lcZ(3,1,\"CONFERMA CARTA\")))}function Vf(n,s){if(1&n){const e=t.EpF();t.TgZ(0,\"button\",84),t.NdJ(\"click\",function(){return t.CHM(e),t.oxw(2).startCharge()}),t.TgZ(1,\"span\",83),t._uU(2),t.ALo(3,\"translate\"),t.qZA(),t.qZA()}2&n&&(t.xp6(2),t.Oqu(t.lcZ(3,1,\"AVVIA RICARICA\")))}function jf(n,s){if(1&n){const e=t.EpF();t.TgZ(0,\"button\",84),t.NdJ(\"click\",function(){return t.CHM(e),t.oxw(2).openDialogSearchCharge()}),t.TgZ(1,\"span\",83),t._uU(2),t.ALo(3,\"translate\"),t.qZA(),t.qZA()}2&n&&(t.xp6(2),t.Oqu(t.lcZ(3,1,\"HO UNA RICARICA IN CORSO\")))}function Wf(n,s){if(1&n){const e=t.EpF();t.TgZ(0,\"div\",85),t.TgZ(1,\"button\",86),t.NdJ(\"click\",function(){return t.CHM(e),t.oxw(2).openDialogBillingData()}),t._UZ(2,\"i\",87),t.TgZ(3,\"span\",88),t._uU(4),t.ALo(5,\"translate\"),t.qZA(),t.qZA(),t.TgZ(6,\"button\",89),t.NdJ(\"click\",function(){return t.CHM(e),t.oxw(2).copied()}),t._UZ(7,\"i\",90),t.TgZ(8,\"span\",91),t._uU(9),t.ALo(10,\"translate\"),t.qZA(),t.qZA(),t.qZA()}if(2&n){const e=t.oxw(2);t.xp6(4),t.hij(\"\",t.lcZ(5,3,\"Guest\"===e.customer.customer.name?\"RICHIEDI FATTURA O SCONTRINO\":\"MODIFICA DATI PERSONALI\"),\" \"),t.xp6(4),t.Q6J(\"cdkCopyToClipboard\",e.chargeCode),t.xp6(1),t.hij(\" \",t.lcZ(10,5,\"COPIA CODICE RICARICA\"),\" \")}}function Hf(n,s){if(1&n){const e=t.EpF();t.TgZ(0,\"div\",92),t.TgZ(1,\"button\",93),t.NdJ(\"click\",function(){return t.CHM(e),t.oxw(2).stopCharge()}),t.TgZ(2,\"span\",83),t._uU(3),t.ALo(4,\"translate\"),t.qZA(),t.qZA(),t.qZA()}2&n&&(t.xp6(3),t.Oqu(t.lcZ(4,1,\"STOP RICARICA\")))}function Kf(n,s){if(1&n){const e=t.EpF();t.TgZ(0,\"div\",94),t.TgZ(1,\"div\"),t.TgZ(2,\"a\",95),t._uU(3),t.ALo(4,\"translate\"),t.qZA(),t.qZA(),t._UZ(5,\"br\"),t.TgZ(6,\"a\",96),t._uU(7),t.ALo(8,\"translate\"),t.qZA(),t.TgZ(9,\"button\",97),t.NdJ(\"click\",function(){return t.CHM(e),t.oxw(2).reload()}),t.TgZ(10,\"span\",83),t._uU(11),t.ALo(12,\"translate\"),t.qZA(),t.qZA(),t.qZA()}2&n&&(t.xp6(3),t.Oqu(t.lcZ(4,3,\"Grazie per aver ricaricato con noi!\")),t.xp6(4),t.Oqu(t.lcZ(8,5,\"Attenzione i dati mostrati sono puramente indicativi, verr\\xe0 addebitato il costo effettivo\")),t.xp6(4),t.Oqu(t.lcZ(12,7,\"ESCI\")))}const Xf=function(n){return{color:n}},tZ=function(n){return{\"border-bottom\":n}};function eZ(n,s){if(1&n&&(t.TgZ(0,\"div\",19),t.YNc(1,kf,8,2,\"div\",20),t.TgZ(2,\"div\",21),t.TgZ(3,\"mat-card\",22),t.YNc(4,Uf,9,6,\"div\",20),t.TgZ(5,\"div\"),t.TgZ(6,\"a\",23),t._uU(7),t.qZA(),t.qZA(),t._UZ(8,\"div\",24),t.TgZ(9,\"div\",25),t.TgZ(10,\"div\",26),t.TgZ(11,\"div\",27),t.TgZ(12,\"mat-card-header\"),t._UZ(13,\"br\"),t.TgZ(14,\"div\",28),t._UZ(15,\"img\",29),t.qZA(),t.TgZ(16,\"div\",30),t._uU(17),t.ALo(18,\"translate\"),t.qZA(),t.qZA(),t.qZA(),t.TgZ(19,\"div\",27),t.TgZ(20,\"ol\"),t.TgZ(21,\"li\",31),t._uU(22),t.qZA(),t.TgZ(23,\"li\",32),t._uU(24),t.qZA(),t.TgZ(25,\"li\",31),t._uU(26),t.ALo(27,\"translate\"),t.qZA(),t.TgZ(28,\"li\",33),t._uU(29),t.ALo(30,\"translate\"),t.qZA(),t.qZA(),t.qZA(),t.qZA(),t.TgZ(31,\"div\",34),t.TgZ(32,\"div\",35),t.TgZ(33,\"a\",36),t._uU(34),t.ALo(35,\"translate\"),t.qZA(),t._UZ(36,\"br\"),t.TgZ(37,\"a\",37),t._uU(38),t.ALo(39,\"number\"),t.qZA(),t.qZA(),t.TgZ(40,\"div\",35),t.TgZ(41,\"a\",36),t._uU(42),t.ALo(43,\"translate\"),t.qZA(),t._UZ(44,\"br\"),t.TgZ(45,\"a\",37),t._uU(46),t.ALo(47,\"number\"),t.qZA(),t.qZA(),t.TgZ(48,\"div\",35),t.TgZ(49,\"a\",36),t._uU(50,\"kWh\"),t.qZA(),t._UZ(51,\"br\"),t.TgZ(52,\"a\",37),t._uU(53),t.ALo(54,\"number\"),t.qZA(),t.qZA(),t.TgZ(55,\"div\",38),t.TgZ(56,\"a\",36),t._uU(57),t.ALo(58,\"translate\"),t.qZA(),t._UZ(59,\"br\"),t.TgZ(60,\"a\",37),t._uU(61),t.ALo(62,\"number\"),t.qZA(),t.qZA(),t.qZA(),t.YNc(63,Qf,67,21,\"div\",39),t.qZA(),t.TgZ(64,\"div\",40),t.TgZ(65,\"div\",41),t._UZ(66,\"br\"),t.TgZ(67,\"label\",36),t._uU(68),t.ALo(69,\"translate\"),t.qZA(),t._UZ(70,\"br\"),t._UZ(71,\"br\"),t.ynx(72),t._UZ(73,\"ngx-stripe-card\"),t.BQk(),t.qZA(),t.YNc(74,zf,6,3,\"div\",20),t._UZ(75,\"br\"),t.YNc(76,$f,2,1,\"div\",42),t.YNc(77,Yf,4,3,\"button\",43),t.YNc(78,Vf,4,3,\"button\",44),t.YNc(79,jf,4,3,\"button\",44),t.YNc(80,Wf,11,7,\"div\",45),t.YNc(81,Hf,5,3,\"div\",46),t.qZA(),t.YNc(82,Kf,13,9,\"div\",47),t.qZA(),t.qZA(),t.qZA()),2&n){const e=t.oxw();t.xp6(1),t.Q6J(\"ngIf\",null==e.qrCodeSettings?null:e.qrCodeSettings.isEmp),t.xp6(3),t.Q6J(\"ngIf\",e.qrCodeSettings.showAlertMessage),t.xp6(3),t.Oqu(null==e.chargePoint?null:e.chargePoint.description),t.xp6(8),t.s9C(\"src\",e.connectorIconSource,t.LSH),t.xp6(2),t.AsE(\" \",t.lcZ(18,32,\"connettore n\"),\" \",null==e.chargePoint?null:e.chargePoint.connectorId,\" \"),t.xp6(5),t.Oqu(null==e.chargePoint?null:e.chargePoint.chargeBoxId),t.xp6(2),t.AsE(\"\",null==e.chargePoint?null:e.chargePoint.typeConnector,\" - \",null==e.chargePoint?null:e.chargePoint.currentType,\"\"),t.xp6(2),t.AsE(\"\",t.lcZ(27,34,\"limitato a\"),\" \",null==e.chargePoint?null:e.chargePoint.limit,\" kW \"),t.xp6(2),t.Q6J(\"ngStyle\",t.VKq(58,Xf,\"Available\"===(null==e.chargePoint?null:e.chargePoint.status)?\"#a5c159\":\"Charging\"===(null==e.chargePoint?null:e.chargePoint.status)||\"Finishing\"===(null==e.chargePoint?null:e.chargePoint.status)||\"SuspendedEVSE\"===(null==e.chargePoint?null:e.chargePoint.status)||\"SuspendedEV\"===(null==e.chargePoint?null:e.chargePoint.status)||\"Preparing\"===(null==e.chargePoint?null:e.chargePoint.status)?\"#d4a468\":\"Faulted\"===(null==e.chargePoint?null:e.chargePoint.status)||\"Unavailable\"===(null==e.chargePoint?null:e.chargePoint.status)?\"#b40053\":\"Reserved\"===(null==e.chargePoint?null:e.chargePoint.status)?\"#8caeb7\":\"black\")),t.xp6(1),t.hij(\" \",t.lcZ(30,36,null==e.chargePoint?null:e.chargePoint.status),\" \"),t.xp6(2),t.Q6J(\"ngStyle\",t.VKq(60,tZ,null!==(null==e.transaction?null:e.transaction.timeInSeconds)?\"3px solid white\":\"none\")),t.xp6(3),t.Oqu(t.lcZ(35,38,\"Parcheggio\")),t.xp6(4),t.hij(\"\",t.xi3(39,40,null==e.prices?null:e.prices.parkingEur_MIN,\"1.2-2\"),\" \\u20ac/min\"),t.xp6(4),t.Oqu(t.lcZ(43,43,\"avvio\")),t.xp6(4),t.hij(\"\",t.xi3(47,45,null==e.prices?null:e.prices.startingEur,\"1.2-2\"),\" \\u20ac\"),t.xp6(7),t.hij(\"\",t.xi3(54,48,null==e.prices?null:e.prices.eur_KWH,\"1.2-2\"),\" \\u20ac\"),t.xp6(4),t.Oqu(t.lcZ(58,51,\"al_minuto\")),t.xp6(4),t.hij(\"\",t.xi3(62,53,null==e.prices?null:e.prices.eur_MIN,\"1.2-2\"),\" \\u20ac\"),t.xp6(2),t.Q6J(\"ngIf\",e.connectorStatus===e.environment.connectorStatus.CHARGING&&e.associated&&!e.loading||e.chargeCompleted),t.xp6(2),t.Q6J(\"hidden\",e.loading||!((e.connectorStatus===e.environment.connectorStatus.AVAILABLE||e.connectorStatus===e.environment.connectorStatus.PREPARING)&&!e.customer)),t.xp6(3),t.Oqu(t.lcZ(69,56,\"Inserire dati carta\")),t.xp6(6),t.Q6J(\"ngIf\",e.loading&&e.connectorStatus===e.environment.connectorStatus.CHARGING&&!e.chargeCompleted),t.xp6(2),t.Q6J(\"ngIf\",e.loading&&!(e.chargeCompleted&&e.connectorStatus!==e.environment.connectorStatus.CHARGING)),t.xp6(1),t.Q6J(\"ngIf\",!(e.connectorStatus!==e.environment.connectorStatus.AVAILABLE&&e.connectorStatus!==e.environment.connectorStatus.PREPARING||e.customer||e.loading)),t.xp6(1),t.Q6J(\"ngIf\",(e.connectorStatus===e.environment.connectorStatus.AVAILABLE||e.connectorStatus===e.environment.connectorStatus.PREPARING)&&e.customer&&!e.loading&&!e.chargeCompleted),t.xp6(1),t.Q6J(\"ngIf\",e.connectorStatus===e.environment.connectorStatus.CHARGING&&!e.associated&&!e.loading),t.xp6(1),t.Q6J(\"ngIf\",e.connectorStatus===e.environment.connectorStatus.CHARGING&&e.customer&&!e.chargeCompleted&&!e.loading),t.xp6(1),t.Q6J(\"ngIf\",e.connectorStatus===e.environment.connectorStatus.CHARGING&&e.customer&&!e.chargeCompleted&&!e.loading),t.xp6(1),t.Q6J(\"ngIf\",e.connectorStatus!==e.environment.connectorStatus.CHARGING&&e.chargeCompleted)}}let nZ=(()=>{class n{constructor(e,o,a,d,h,E,y,D){this.qrCodeService=e,this.route=o,this.localStorage=a,this.stripeService=d,this.dialogService=h,this.notifyService=E,this.translate=y,this.router=D,this.primaryColor=\"#009999\",this.secondaryColor=\"#009999\",this.primaryFontFamily=\"Jost-Bold, serif\",this.secondaryFontFamily=\"RobotoCondensed-Bold, serif\",this.tertiaryFontFamily=\"RobotoCondensed-Regular, serif\",this.evseId=\"\",this.chargePoint=null,this.prices=null,this.connectorIconSource=\"\",this.loading=!1,this.chargeCompleted=!1,this.email=\"\",this.pageReady=!1,this.refreshRateMeterValue=3e4,this.sseDataSubject=new M1.xQ,this.environment=x.N,this.hideCookieBanner=!1}ngOnInit(){return(0,C.mG)(this,void 0,void 0,function*(){!0===b().get(\"cookie-hidden\")&&(this.hideCookieBanner=!0),x.N.apiUrl.includes(\"test\")&&(this.refreshRateMeterValue=3e3),yield this.qrCodeService.qrCodeLogin(\"guest\",\"guest\"),this.qrCodeSettings=yield this.qrCodeService.getDataQrCodeSettings().toPromise(),this.stripeService.changeKey(this.qrCodeSettings.stripeKey);const e=document.getElementsByTagName(\"head\")[0],o=document.querySelector('link[rel=\"icon\"]')||document.createElement(\"link\");o.setAttribute(\"type\",\"image/x-icon\"),o.setAttribute(\"rel\",\"icon\"),o.setAttribute(\"href\",`${x.N.domainUrl}/api/brand/images/images/qrCodeSettings*`+this.localStorage.getTenantId()+\"*favicon/\"+this.qrCodeSettings.faviconFileName),o.getAttribute(\"id\")?document.getElementById(\"dynamic-favicon\").setAttribute(\"href\",x.N.domainUrl+\"/api/brand/images/images/qrCodeSettings*\"+this.localStorage.getTenantId()+\"*favicon/\"+this.qrCodeSettings.faviconFileName):(o.setAttribute(\"id\",\"dynamic-favicon\"),e.appendChild(o)),document.getElementById(\"background\").style.backgroundImage=\"url(\"+x.N.domainUrl+\"/api/brand/images/images/qrCodeSettings*\"+this.localStorage.getTenantId()+\"*background/\"+this.qrCodeSettings.backgroundFileName+\")\",document.getElementById(\"logo\").setAttribute(\"src\",x.N.domainUrl+\"/api/brand/images/images/qrCodeSettings*\"+this.localStorage.getTenantId()+\"*logo/\"+this.qrCodeSettings.logoFileName),this.qrCodeSettings.primaryColor&&\"\"!==this.qrCodeSettings.primaryColor&&(this.primaryColor=this.qrCodeSettings.primaryColor),this.qrCodeSettings.secondaryColor&&\"\"!==this.qrCodeSettings.secondaryColor&&(this.secondaryColor=this.qrCodeSettings.secondaryColor),this.qrCodeSettings.primaryFontFamily&&\"\"!==this.qrCodeSettings.primaryFontFamily&&(this.primaryFontFamily=this.qrCodeSettings.primaryFontFamily),this.qrCodeSettings.secondaryFontFamily&&\"\"!==this.qrCodeSettings.secondaryFontFamily&&(this.secondaryFontFamily=this.qrCodeSettings.secondaryFontFamily),this.qrCodeSettings.tertiaryFontFamily&&\"\"!==this.qrCodeSettings.tertiaryFontFamily&&(this.tertiaryFontFamily=this.qrCodeSettings.tertiaryFontFamily),this.language=null!=this.route.snapshot.queryParamMap.get(\"lan\")?this.route.snapshot.queryParamMap.get(\"lan\"):this.qrCodeSettings.defaultLanguage,this.evseId=this.route.snapshot.queryParamMap.get(\"evseId\"),this.qrCodeService.getByEvseId(this.evseId,this.qrCodeSettings.qrCodeServiceEnabled?\"QR\":\"POS\").subscribe(a=>(0,C.mG)(this,void 0,void 0,function*(){if(a)if(this.chargePoint=a,this.prices=a.costsProfile,this.connectorStatus=this.chargePoint.status,this.subscribeToChargePointStatus(this.chargePoint.chargeBoxId),this.connectorIconSource=\"../../assets/images/conettori/\"+this.chargePoint.typeConnector+\"/\"+this.chargePoint.status+\".png\",this.chargeCode=b().get(\"charge-code\"),null!==this.chargeCode||null!=this.route.snapshot.queryParamMap.get(\"charge-code\")){null!=this.route.snapshot.queryParamMap.get(\"charge-code\")&&(this.chargeCode=this.route.snapshot.queryParamMap.get(\"charge-code\").replace(/ /g,\"+\"));try{const d=this.decrypt(this.chargeCode);this.ocppIdTagCharge=d.split(\":guest-\")[1].replace('\"',\"\"),this.username=d.split(\":guest-\")[0].replace('\"',\"\"),this.password=d.split(\":\")[1].replace('\"',\"\"),this.chargePoint.status===x.N.connectorStatus.CHARGING||this.chargePoint.status===x.N.connectorStatus.PREPARING?(this.loading=!0,this.reloaded=!0,this.loadCharge(this.ocppIdTagCharge),this.pageReady=!0):(b().remove(\"charge-code\"),this.router.navigate([\"/webapp\"],{queryParams:{evseId:this.evseId}}),this.pageReady=!0)}catch(d){this.notifyService.showError(this.translate.instant(\"Ricarica non trovata\"),this.translate.instant(\"Attenzione\")),this.router.navigate([\"/webapp\"],{queryParams:{evseId:this.evseId}}),this.pageReady=!0}}else\"Charging\"===this.chargePoint.status&&null===this.chargeCode?(this.openDialogSearchCharge(),this.pageReady=!0):\"Charging\"!==this.chargePoint.status&&null!==this.chargeCode?(b().remove(\"charge-code\"),this.pageReady=!0):this.pageReady=!0;else this.notifyService.showError(this.translate.instant(\"Errore nella ricerca del connettore, controllare anagrafica, costi e markups\"),this.translate.instant(\"Attenzione\")),this.qrCodeSettings.qrCodeServiceEnabled=!1,this.pageReady=!0,this.loading=!1}))})}confirmCard(){return(0,C.mG)(this,void 0,void 0,function*(){this.loading=!0;const e=yield this.qrCodeService.getGuestAccessToken().toPromise();this.localStorage.setToken(e);const o=yield this.qrCodeService.createCustomer(this.email).toPromise();try{const a=yield this.stripeService.createPaymentMethod({type:\"card\",card:this.card.element}).toPromise(),d=yield this.qrCodeService.createSetupIntent(a.paymentMethod.id,this.stripeService.key).toPromise();if(null!=d.next_action&&(yield this.stripeService.confirmCardSetup(d.client_secret).toPromise()).error)throw new Error;this.user=yield this.qrCodeService.getUser().toPromise(),this.customer=o}catch(a){this.localStorage.removeToken(),yield this.qrCodeService.qrCodeLogin(\"guest\",\"guest\"),this.notifyService.showError(this.translate.instant(\"Errore nell'inserimento del metodo di pagamento, riprovare\"),this.translate.instant(\"Errore\"))}this.loading=!1})}startCharge(){return(0,C.mG)(this,void 0,void 0,function*(){!0===(yield this.openDialogPreauthorization())&&(this.loading=!0,\"Accepted\"===(yield this.qrCodeService.startCharge(this.chargePoint.chargeBoxId,this.user.ocppTag.ocppIdTag,this.chargePoint.connectorId,this.qrCodeSettings.preAuthorizationAmount).toPromise()).response?this.subscriptionMeterValue=(0,Fc.H)(0,this.refreshRateMeterValue).pipe((0,Jc.w)(()=>this.qrCodeService.getChargeTransaction(this.user.ocppTag.ocppIdTag).pipe((0,g.K)(a=>(console.error(a),(0,Gc.of)(void 0))))),(0,Bc.h)(a=>void 0!==a)).subscribe(a=>{null!=a&&null===this.transaction&&(this.associated=!0,this.transaction=a,this.ocppIdTagCharge=this.user.ocppTag.ocppIdTag,this.chargeCode=this.encrypt(this.user.username+\":guest-\"+this.user.ocppTag.ocppIdTag),b().set(\"charge-code\",this.chargeCode),this.router.navigate([\"/webapp\"],{queryParams:Object.assign(Object.assign({},this.route.snapshot.queryParams),{\"charge-code\":this.chargeCode})}),this.openDialogBillingData()),this.transaction=a,null!=a&&(null!==this.transaction.soC&&x.N.apiUrl.includes(\"test\")&&(this.transaction.soC=Math.floor(100*Math.random()+1)),this.chargePoint.status===x.N.connectorStatus.CHARGING&&(this.loading=!1))}):(this.notifyService.showError(this.translate.instant(\"Errore nell'avvio della ricarica, riprovare\"),this.translate.instant(\"Attenzione\")),this.loading=!1))})}stopCharge(){return(0,C.mG)(this,void 0,void 0,function*(){this.loading=!0,yield this.qrCodeService.stopCharge(this.chargePoint.chargeBoxId,this.ocppIdTagCharge,this.transaction.transactionId).toPromise(),this.chargeCompleted=!0,this.subscriptionMeterValue.unsubscribe(),b().remove(\"charge-code\"),this.router.navigate([\"/webapp\"],{queryParams:{evseId:this.evseId}})})}loadCharge(e){this.subscriptionMeterValue=(0,Fc.H)(0,this.refreshRateMeterValue).pipe((0,Jc.w)(()=>this.qrCodeService.getChargeTransaction(e).pipe((0,g.K)(o=>(console.error(o),(0,Gc.of)(void 0))))),(0,Bc.h)(o=>void 0!==o)).subscribe(o=>(0,C.mG)(this,void 0,void 0,function*(){if(null!=o&&!0===this.reloaded){if(this.transaction=o,this.transaction.chargeBoxId===this.chargePoint.chargeBoxId){if(this.associated=!0,this.reloaded=!1,yield this.qrCodeService.qrCodeLogin(this.username,this.password),this.user=yield this.qrCodeService.getUser().toPromise(),this.customer=yield this.qrCodeService.getCustomerSelf().toPromise(),b().set(\"charge-code\",this.chargeCode),\"QR\"!==this.transaction.authorizationRequest.startedFrom){const a=yield this.qrCodeService.getByEvseId(this.evseId,this.transaction.authorizationRequest.startedFrom).toPromise();this.prices=a.costsProfile}this.router.navigate([\"/webapp\"],{queryParams:Object.assign(Object.assign({},this.route.snapshot.queryParams),{\"charge-code\":this.chargeCode})}),this.notifyService.showSuccess(this.translate.instant(\"Ricarica in corso trovata\"),this.translate.instant(\"Attenzione\"))}this.loading=!1}else!0===this.reloaded&&this.chargePoint.status!==x.N.connectorStatus.PREPARING&&(this.loading=!1,this.subscriptionMeterValue.unsubscribe());this.transaction=o,null!==this.transaction.soC&&x.N.apiUrl.includes(\"test\")&&(this.transaction.soC=Math.floor(100*Math.random()+1))}))}copied(){this.notifyService.showSuccess(this.translate.instant(\"Codice di ricarica copiato\"),this.translate.instant(\"Attenzione\"))}openDialogSearchCharge(){this.dialogService.open(q1,{width:\"900px\",data:{primaryColor:this.primaryColor,primaryFontFamily:this.primaryFontFamily,secondaryFontFamily:this.secondaryFontFamily,tertiaryFontFamily:this.tertiaryFontFamily}}).afterClosed().subscribe(o=>{if(\"\"!==o&&void 0!==o){this.loading=!0,this.chargeCode=o;try{const a=this.decrypt(this.chargeCode);this.ocppIdTagCharge=a.split(\":guest-\")[1].replace('\"',\"\"),this.username=a.split(\":guest-\")[0].replace('\"',\"\"),this.password=a.split(\":\")[1].replace('\"',\"\"),this.reloaded=!0,this.loadCharge(this.ocppIdTagCharge)}catch(a){this.loading=!1,this.notifyService.showError(this.translate.instant(\"Ricarica non trovata\"),this.translate.instant(\"Attenzione\"))}}})}openDialogBillingData(){this.dialogService.open(pf,{width:\"900px\",maxHeight:\"500px\",data:{customer:this.customer.customer,tenantId:this.localStorage.getTenantId(),primaryColor:this.primaryColor,primaryFontFamily:this.primaryFontFamily,secondaryFontFamily:this.secondaryFontFamily,tertiaryFontFamily:this.tertiaryFontFamily}}).afterClosed().subscribe(o=>(0,C.mG)(this,void 0,void 0,function*(){if(\"\"!==o&&void 0!==o)if(null!==(yield this.qrCodeService.getChargeTransaction(this.user.ocppTag.ocppIdTag).toPromise())){if(!this.isObjectContained(o.newCustomer,this.customer.customer)&&JSON.stringify(o.newCustomer)!==JSON.stringify(this.customer.customer)){const d=yield this.qrCodeService.updateCustomerBillingInformations(o.newCustomer).toPromise();this.customer.customer=d.data.details,this.notifyService.showSuccess(this.translate.instant(\"I dati sono stati aggiornati\"),this.translate.instant(\"Notifica\"))}}else this.notifyService.showError(this.translate.instant(\"La ricarica \\xe8 terminata, i dati non sono stati aggiornati\"),this.translate.instant(\"Attenzione\"))}))}openDialogPreauthorization(){return(0,C.mG)(this,void 0,void 0,function*(){return yield this.dialogService.open(be,{width:\"900px\",data:{title:\"Preautorizzazione\",message:this.translate.instant(\"Verr\\xe0 effettuata una preautorizzazione di \")+(this.qrCodeSettings.preAuthorizationAmount/100).toFixed(2)+\"\\u20ac\"+this.translate.instant(\" sulla tua carta. L'importo effettivo addebitato sar\\xe0 quello corrispondente ai Kw/h erogati.\"),primaryColor:this.primaryColor,primaryFontFamily:this.primaryFontFamily,secondaryFontFamily:this.secondaryFontFamily,tertiaryFontFamily:this.tertiaryFontFamily}}).afterClosed().toPromise()})}encrypt(e){const o=Et.enc.Utf8.parse(\"qrCodeSecretProd\"),a=Et.enc.Utf8.parse(\"qrCodeSecretIvIv\");return Et.AES.encrypt(e,o,{keySize:16,iv:a,mode:Et.mode.CBC,padding:Et.pad.Pkcs7})}decrypt(e){const o=Et.enc.Utf8.parse(\"qrCodeSecretProd\"),a=Et.enc.Utf8.parse(\"qrCodeSecretIvIv\");return Et.AES.decrypt(e,o,{keySize:16,iv:a,mode:Et.mode.CBC,padding:Et.pad.Pkcs7}).toString(Et.enc.Utf8)}isObjectContained(e,o){for(const a in e)if(e.hasOwnProperty(a)&&(!o.hasOwnProperty(a)||JSON.stringify(e[a])!==JSON.stringify(o[a])))return!1;return!0}reload(){const e=this.localStorage.getLang();this.localStorage.clear(),this.localStorage.setLang(e),window.location.reload()}subscribeToChargePointStatus(e){return(0,C.mG)(this,void 0,void 0,function*(){return this.eventSource||(this.chargePoint=yield this.qrCodeService.getByEvseId(this.evseId,\"QR\").toPromise(),this.connectorStatus=this.chargePoint.status,this.connectorIconSource=\"../../assets/images/conettori/\"+this.chargePoint.typeConnector+\"/\"+this.chargePoint.status+\".png\",(0,df.L)(`${x.N.qrCodeApiUrl}/${x.N.ocppPath}/chargepoints/live/chargepoint/${e}`,{method:\"GET\",headers:{Authorization:this.localStorage.getToken(),\"x-tenant-id\":this.localStorage.getTenantId()},openWhenHidden:!0,onopen:o=>(0,C.mG)(this,void 0,void 0,function*(){if(!o.ok&&o.status>=400&&o.status<500&&429!==o.status)throw new Error(\"Client error: \"+o.status)}),onmessage:o=>{if(\"Error\"===o.event)throw new Error(o.data);console.log(\"Questo log mostra i dati che arrivano dall'evento di cambio di stato della chargepoint, vengono mostrati qui perch\\xe8 il browser non mostra i datastream nella diagnostica\"),console.log(JSON.parse(o.data)),this.chargePoint.status=JSON.parse(o.data).connectorStatus.find(a=>a.connectorId===this.chargePoint.connectorId).status,this.connectorStatus=this.chargePoint.status,this.connectorIconSource=\"../../assets/images/conettori/\"+this.chargePoint.typeConnector+\"/\"+this.chargePoint.status+\".png\",this.sseDataSubject.next(JSON.parse(o.data))},onclose:()=>{throw new Error(\"Connection closed unexpectedly\")}})),this.sseDataSubject.asObservable()})}animate(){this.animationState=!1,setTimeout(()=>{this.animationState=!0},3),setTimeout(()=>{this.hideCookieBanner=!0,b().set(\"cookie-hidden\",!0)},1e3)}}return n.\\u0275fac=function(e){return new(e||n)(t.Y36(mf.D),t.Y36(N.gz),t.Y36(u.n),t.Y36(ue.tJ),t.Y36(O.uw),t.Y36(K.m),t.Y36(U.sK),t.Y36(N.F0))},n.\\u0275cmp=t.Xpm({type:n,selectors:[[\"app-qr-code\"]],viewQuery:function(e,o){if(1&e&&t.Gf(ue.fy,5),2&e){let a;t.iGM(a=t.CRH())&&(o.card=a.first)}},hostVars:10,hostBindings:function(e,o){2&e&&t.Udp(\"--primaryColor\",o.primaryColor)(\"--secondaryColor\",o.secondaryColor)(\"--primaryFontFamily\",o.primaryFontFamily)(\"--secondaryFontFamily\",o.secondaryFontFamily)(\"--tertiaryFontFamily\",o.tertiaryFontFamily)},decls:25,vars:15,consts:[[3,\"pageReady\",4,\"ngIf\",\"ngIfElse\"],[\"id\",\"background\",1,\"parent\",3,\"hidden\"],[\"page\",\"\"],[1,\"scrollable\"],[1,\"top-content\"],[1,\"help-number\"],[\"class\",\"pi pi-phone\",\"style\",\"font-size: 1.5rem; color: var(--secondaryColor)\",4,\"ngIf\"],[\"class\",\"tertiary-font-family\",\"id\",\"help-number-label\",3,\"href\",4,\"ngIf\"],[3,\"showLanguageName\",\"defaultLanguage\",\"color\",4,\"ngIf\"],[1,\"logo-container\"],[\"id\",\"logo\",1,\"logo\"],[\"class\",\"centro\",4,\"ngIf\"],[1,\"cookiebanner\",3,\"hidden\"],[2,\"float\",\"right\",\"padding-left\",\"5px\",\"cursor\",\"pointer\",\"font-size\",\"20px\",\"color\",\"white\",3,\"click\"],[\"href\",\"http://aboutcookies.org\",\"target\",\"_blank\",2,\"text-decoration\",\"none\",\"color\",\"rgb(170, 170, 170)\"],[3,\"pageReady\"],[1,\"pi\",\"pi-phone\",2,\"font-size\",\"1.5rem\",\"color\",\"var(--secondaryColor)\"],[\"id\",\"help-number-label\",1,\"tertiary-font-family\",3,\"href\"],[3,\"showLanguageName\",\"defaultLanguage\",\"color\"],[1,\"centro\"],[4,\"ngIf\"],[2,\"border-radius\",\"5%\"],[1,\"example-card\",2,\"height\",\"fit-content\",\"background-color\",\"rgba(255, 255, 255, 0.92)\",\"border-radius\",\"20px\",\"box-shadow\",\"4px 5px 5.5px 0px rgb(0 0 0 / 60%)\"],[\"id\",\"description\",1,\"primary-font-family\",2,\"font-weight\",\"bolder\",\"font-size\",\"x-large\",\"color\",\"var(--primaryColor)\"],[2,\"padding-top\",\"3%\"],[2,\"background-color\",\"#dbdbdb\",\"border-radius\",\"20px\"],[2,\"padding-top\",\"10px\",\"display\",\"grid\",\"grid-template-columns\",\"40% 60%\"],[1,\"connector-info\"],[\"mat-card-avatar\",\"\",1,\"example-header-image\"],[\"id\",\"statusIcon\",\"height\",\"50\",3,\"src\"],[1,\"secondary-font-family\",2,\"padding-bottom\",\"13px\",\"font-size\",\"13px\",\"color\",\"#1D474D\"],[1,\"tertiary-font-family\",2,\"display\",\"flex\"],[1,\"secondary-font-family\",2,\"display\",\"flex\"],[1,\"secondary-font-family\",2,\"display\",\"flex\",3,\"ngStyle\"],[1,\"price-container\",3,\"ngStyle\"],[2,\"padding\",\"10px\",\"font-size\",\"12px\",\"border-right\",\"3px solid white\"],[1,\"secondary-font-family\"],[1,\"tertiary-font-family\"],[2,\"padding\",\"10px\",\"font-size\",\"12px\"],[\"style\",\"padding:5px\",\"id\",\"meterPanel\",4,\"ngIf\"],[1,\"card\",2,\"background-color\",\"rgba(255, 255, 255, 0)\",\"margin-top\",\"-20px\"],[1,\"sr-form-row\",2,\"margin-top\",\"25px\",3,\"hidden\"],[\"class\",\"spinner\",4,\"ngIf\"],[\"id\",\"submit-1\",\"class\",\"button\",3,\"click\",4,\"ngIf\"],[\"id\",\"submit-2\",\"class\",\"button\",3,\"click\",4,\"ngIf\"],[\"style\",\"display: flex\",4,\"ngIf\"],[\"class\",\"sr-result stop1\",4,\"ngIf\"],[\"id\",\"final\",4,\"ngIf\"],[1,\"app-banners-container\"],[\"target\",\"_blank\",\"rel\",\"noopener\",\"data-type\",\"image\",\"data-rsp_ch\",\"on\",\"data-xy\",\"xo:0,0,30px,31px;y:m;yo:230px,230px,153px,100px;\",\"data-text\",\"w:normal;s:20,20,13,7;l:0,0,16,9;\",\"data-dim\",\"w:258px,258px,171px,150px;h:77px,77px,50px,45px;\",\"data-frame_1\",\"e:power4.inOut;st:2500;sp:1500;\",\"data-frame_999\",\"o:0;st:w;\",1,\"app-banner-image-container\",2,\"z-index\",\"8\",\"padding\",\"2px\",3,\"href\"],[\"src\",\"https://www.beagleplug.com/wp-content/uploads/2022/03/app_store.png\",\"alt\",\"\",\"data-no-retina\",\"\",1,\"tp-rs-img\",\"rs-lazyload\",\"app-banner\"],[\"target\",\"_blank\",\"rel\",\"noopener\",\"data-type\",\"image\",\"data-rsp_ch\",\"on\",\"data-xy\",\"xo:270px,270px,211px,200px;y:m;yo:230px,230px,153px,100px;\",\"data-text\",\"w:normal;s:20,20,13,7;l:0,0,16,9;\",\"data-dim\",\"w:256px,256px,170px,150px;h:75px,75px,50px,44px;\",\"data-frame_1\",\"e:power4.inOut;st:2500;sp:1500;\",\"data-frame_999\",\"o:0;st:w;\",1,\"app-banner-image-container\",2,\"z-index\",\"7\",\"padding\",\"2px\",3,\"href\"],[\"src\",\"https://www.beagleplug.com/wp-content/uploads/2022/03/google_play.png\",\"alt\",\"\",\"data-no-retina\",\"\",1,\"tp-rs-img\",\"rs-lazyload\",\"app-banner\"],[2,\"padding-top\",\"6%\"],[1,\"primary-font-family\",2,\"color\",\"black\",\"font-size\",\"150%\"],[1,\"secondary-font-family\",2,\"color\",\"black\",\"font-size\",\"100%\"],[\"id\",\"meterPanel\",2,\"padding\",\"5px\"],[1,\"meter-button\"],[2,\"display\",\"grid\",\"grid-template-columns\",\"45% 10% 45%\"],[2,\"display\",\"grid\",\"grid-template-columns\",\"25% 75%\"],[2,\"display\",\"flex\",\"align-items\",\"center\",\"justify-content\",\"center\"],[1,\"bi\",\"bi-plug\",2,\"color\",\"var(--primaryColor)\",\"transform\",\"scale(2.2)\"],[1,\"secondary-font-family\",2,\"color\",\"var(--primaryColor)\"],[2,\"padding\",\"5px\"],[\"id\",\"power\",1,\"rob-regular\",2,\"color\",\"var(--primaryColor)\"],[1,\"rob-regular\",2,\"color\",\"var(--primaryColor)\"],[1,\"pi\",\"pi-bolt\",\"meter-value-icon\"],[\"id\",\"energy\",1,\"rob-regular\",2,\"color\",\"var(--primaryColor)\"],[2,\"padding\",\"10px\"],[1,\"pi\",\"pi-stopwatch\",\"meter-value-icon\"],[\"id\",\"time\",1,\"rob-regular\",2,\"color\",\"var(--primaryColor)\"],[1,\"pi\",\"pi-wallet\",\"meter-value-icon\"],[\"id\",\"cost\",1,\"rob-regular\",2,\"color\",\"var(--primaryColor)\"],[\"class\",\"meter-button\",4,\"ngIf\"],[2,\"display\",\"grid\",\"grid-template-columns\",\"60% 40%\"],[\"id\",\"battery\",1,\"rob-regular\",2,\"color\",\"var(--primaryColor)\"],[1,\"icon-container\"],[\"class\",\"battery-icon\",4,\"ngIf\"],[\"class\",\"battery-icon\",\"class\",\"battery-icon\",4,\"ngIf\"],[1,\"battery-icon\"],[1,\"spinner\"],[3,\"diameter\"],[\"id\",\"submit-1\",1,\"button\",3,\"click\"],[1,\"secondary-font-family\",2,\"color\",\"white\"],[\"id\",\"submit-2\",1,\"button\",3,\"click\"],[2,\"display\",\"flex\"],[1,\"button-inverted\",2,\"margin-right\",\"5%\",3,\"click\"],[1,\"fas\",\"fa-file-invoice\",\"billing-options-icon\",2,\"font-size\",\"1.7rem\",\"color\",\"var(--primaryColor)\"],[1,\"secondary-font-family\",2,\"color\",\"var(--primaryColor)\",\"padding-left\",\"7px\"],[1,\"button-inverted\",3,\"click\"],[1,\"pi\",\"pi-copy\",2,\"font-size\",\"1.7rem\",\"color\",\"var(--primaryColor)\"],[\"cdkCopyToClipboard\",\"\",1,\"secondary-font-family\",2,\"color\",\"var(--primaryColor)\",\"padding-left\",\"7px\",3,\"cdkCopyToClipboard\"],[1,\"sr-result\",\"stop1\"],[1,\"button\",\"submitStop\",3,\"click\"],[\"id\",\"final\"],[1,\"primary-font-family\",2,\"font-size\",\"150%\"],[2,\"color\",\"black\"],[1,\"button\",3,\"click\"]],template:function(e,o){if(1&e&&(t.YNc(0,qf,1,1,\"app-main-loading-screen\",0),t.TgZ(1,\"body\",1,2),t.TgZ(3,\"div\",3),t.TgZ(4,\"div\",4),t.TgZ(5,\"div\",5),t.YNc(6,Mf,1,0,\"i\",6),t.YNc(7,wf,3,4,\"a\",7),t.qZA(),t.YNc(8,Ef,1,3,\"app-language-selector\",8),t.qZA(),t._UZ(9,\"br\"),t._UZ(10,\"br\"),t.TgZ(11,\"div\",9),t._UZ(12,\"img\",10),t.qZA(),t._UZ(13,\"br\"),t._UZ(14,\"br\"),t.YNc(15,eZ,83,62,\"div\",11),t.qZA(),t.TgZ(16,\"div\",12),t.TgZ(17,\"div\",13),t.NdJ(\"click\",function(){return o.animate()}),t._uU(18,\"\\u2716 \"),t.qZA(),t.TgZ(19,\"span\"),t._uU(20),t.ALo(21,\"translate\"),t.TgZ(22,\"a\",14),t._uU(23),t.ALo(24,\"translate\"),t.qZA(),t.qZA(),t.qZA(),t.qZA()),2&e){const a=t.MAs(2);t.Q6J(\"ngIf\",o.pageReady)(\"ngIfElse\",a),t.xp6(1),t.Q6J(\"hidden\",!1===o.pageReady),t.xp6(5),t.Q6J(\"ngIf\",null==o.qrCodeSettings?null:o.qrCodeSettings.supportNumber),t.xp6(1),t.Q6J(\"ngIf\",null==o.qrCodeSettings?null:o.qrCodeSettings.supportNumber),t.xp6(1),t.Q6J(\"ngIf\",o.language),t.xp6(7),t.Q6J(\"ngIf\",(null==o.qrCodeSettings?null:o.qrCodeSettings.qrCodeServiceEnabled)||o.associated),t.xp6(1),t.Q6J(\"@slideOutDown\",o.animationState)(\"hidden\",o.hideCookieBanner),t.xp6(4),t.hij(\"\",t.lcZ(21,11,\"Questo sito web utilizza solo cookie tecnici necessari al funzionamento. Continuando a visitare questo sito l'utente accetta di utilizzare i cookie. Se vuoi saperne di pi\\xf9\"),\" \"),t.xp6(3),t.Oqu(t.lcZ(24,13,\"clicca qui\"))}},directives:[v.O5,_f,yf,B.a8,B.dk,B.kc,v.PC,H.Zl,ue.fy,ae.Hw,j.$g,Vc.i3],pipes:[U.X$,v.JJ,v.uU],styles:['#charge-code-label[_ngcontent-%COMP%]{font-size:14px;padding-right:10px}.charge-code-label[_ngcontent-%COMP%]{font-size:20px}#help-number-label[_ngcontent-%COMP%]{font-size:15px;padding-left:10px;color:var(--secondaryColor);margin-bottom:3px;text-shadow:1px 1px 10px black}.help-number[_ngcontent-%COMP%]{margin-left:13px;display:flex;align-items:center}.icon-display[_ngcontent-%COMP%]{transform:scale(1);margin-bottom:7px}.container[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:center}body[_ngcontent-%COMP%]{height:100%;display:flex;flex-direction:column} .mat-progress-spinner circle, .mat-spinner[_ngcontent-%COMP%] circle[_ngcontent-%COMP%]{stroke:var(--primaryColor)}.spinner[_ngcontent-%COMP%]{display:flex;justify-content:center;align-items:center;height:50px;margin-top:10px}.jost-bold[_ngcontent-%COMP%]{font-family:\"Jost-Bold\",serif}.roboto-bold[_ngcontent-%COMP%]{font-family:\"RobotoCondensed-Bold\",serif}.roboto-medium[_ngcontent-%COMP%]{font-family:\"RobotoCondensed-Regular\",serif}.primary-font-family[_ngcontent-%COMP%]{font-family:var(--primaryFontFamily);font-weight:700}.secondary-font-family[_ngcontent-%COMP%]{font-family:var(--secondaryFontFamily);font-weight:700}.tertiary-font-family[_ngcontent-%COMP%]{font-family:var(--tertiaryFontFamily)}.top-content[_ngcontent-%COMP%]{margin-top:10px;display:flex;justify-content:space-between;align-items:center}li[_ngcontent-%COMP%]{color:#1d474d}.button[_ngcontent-%COMP%], input[_ngcontent-%COMP%], optgroup[_ngcontent-%COMP%], select[_ngcontent-%COMP%], textarea[_ngcontent-%COMP%]{font-size:100%;line-height:1.15;margin:0}.link-sottolineato[_ngcontent-%COMP%]{color:#000!important;font-size:16px;text-decoration:underline!important}#background[_ngcontent-%COMP%]{background-size:cover}.button[_ngcontent-%COMP%]{border-radius:10px;background:var(--primaryColor);color:#133d14;border:0;padding:12px 16px;margin-top:16px;font-weight:600;cursor:pointer;transition:all .2s ease;display:block;box-shadow:4px 5px 5.5px #0009;width:100%}.button-inverted[_ngcontent-%COMP%]{border-radius:10px;background:#dbdbdb;color:var(--primaryColor);border:0;padding:12px 10px;margin-top:16px;font-weight:600;cursor:pointer;transition:all .2s ease;display:flex;align-items:center;box-shadow:4px 5px 5.5px #0009;width:100%}.app-banners-container[_ngcontent-%COMP%]{display:flex;justify-content:space-around}.app-banner-image-container[_ngcontent-%COMP%]{width:47%;max-width:350px}.app-banner[_ngcontent-%COMP%]{width:100%}.cookiebanner[_ngcontent-%COMP%]{border-radius:10px 10px 0 0;position:fixed;left:5%;right:5%;height:auto;min-height:21px;z-index:255;background:black;color:#fff;line-height:21px;padding:5px 16px;font-family:arial,sans-serif;font-size:14px;text-align:center;bottom:0px;opacity:1;width:90%;position:center}.sr-input[_ngcontent-%COMP%], input[type=text][_ngcontent-%COMP%]{border-radius:10px;border:1px solid gray;padding:10px 12px;height:44px;width:100%;transition:box-shadow .2s ease;background:white;-webkit-appearance:none;appearance:none}label[_ngcontent-%COMP%]{font-weight:bold;width:100%} .mat-card-avatar{width:100px!important;border-radius:50%!important;flex-shrink:0!important;object-fit:cover!important}p[_ngcontent-%COMP%]{text-align:center}.connector-info[_ngcontent-%COMP%]{display:flex;justify-content:center;align-items:center}.mat-card-header[_ngcontent-%COMP%]{display:flex;flex-direction:column;width:100px}.scrollable[_ngcontent-%COMP%]{overflow-y:scroll}#logo[_ngcontent-%COMP%]{width:85%}.scrollable[_ngcontent-%COMP%]::-webkit-scrollbar{display:none}.battery-icon[_ngcontent-%COMP%]{color:var(--primaryColor);transform:rotate(90deg) scale(2)}.meter-value-icon[_ngcontent-%COMP%]{color:var(--primaryColor);font-size:1.7rem}.price-container[_ngcontent-%COMP%]{border-top:3px solid white;color:#1d474d;display:grid;grid-template-columns:25% 25% 25% 25%}.logo-container[_ngcontent-%COMP%]{width:100%;display:flex;justify-content:center}.icon-container[_ngcontent-%COMP%]{display:flex;justify-content:center;align-items:center}.centro[_ngcontent-%COMP%]{position:relative;top:0;right:0;bottom:100px;left:0;margin:auto;width:100%;height:100%;text-align:center;padding:20px}'],data:{animation:[(0,gf.qx)()]}}),n})();var oZ=c(10834),iZ=c(62761);const aZ=[\"search\"];let rZ=(()=>{class n{constructor(e,o,a,d,h){this.mapsAPILoader=e,this.ngZone=o,this.dialog=a,this.route=d,this.mapComponent=h,this.isLoading=!0,this.startPosition={lat:42.102782,lng:12.496366},this.zoom=6,this.listFiltered=[],this.listTs=[],this.mapLoaded=!1,this.statisticConnector={availableConnector:0,unavailableConnector:0,faultedConnector:0,chargingConnector:0},this.geoCoder=new google.maps.Geocoder,this.OnlyOne=!1,this.showDetail=!1,this.cpDetail=[],this.pageIndex=0,this.size=100,this.statusChosen=new l.NI,this.statusList=[\"Available\",\"Unavailable\",\"Preparing\",\"Charging\",\"SuspendedEV\",\"Finishing\",\"Reserved\",\"Faulted\",\"SuspendedEVSE\"]}ngOnInit(){return(0,C.mG)(this,void 0,void 0,function*(){this.isLoading=!0,this.route.queryParams.subscribe(e=>{console.log(e),this.chargeBoxID=e.chargeBoxID,console.log(this.chargeBoxID)}),yield this.loadHome().then(()=>{this.isLoading=!1})})}loadHome(){return(0,C.mG)(this,void 0,void 0,function*(){this.isLoading=!0,this.getMyPosition(),this.mapLoaded=!0,this.isLoading=!1})}searchOnMap(){this.OnlyOne||this.mapsAPILoader.load().then(()=>{this.setCurrentPosition(),this.geoCoder=new google.maps.Geocoder;let e=new google.maps.places.Autocomplete(this.searchElementRef.nativeElement);console.log(e),e.addListener(\"place_changed\",()=>{this.ngZone.run(()=>{let o=e.getPlace();null==o.geometry||(this.startPosition.lat=o.geometry.location.lat(),this.startPosition.lng=o.geometry.location.lng(),this.zoom=31)})})}),this.OnlyOne=!0}getMyPosition(){return(0,C.mG)(this,void 0,void 0,function*(){this.listCp=c(48302),console.log(this.listCp),this.selectedCP=this.listCp.find(e=>e.chargeBoxId==this.chargeBoxID),console.log(this.listCp),this.startPosition.lat=this.selectedCP.position.y,this.startPosition.lng=this.selectedCP.position.x,this.zoom=10})}setCurrentPosition(){\"geolocation\"in navigator&&navigator.geolocation.getCurrentPosition(e=>{this.startPosition.lat=e.coords.latitude,this.startPosition.lng=e.coords.longitude,this.zoom=30})}detailCard(e){return(0,C.mG)(this,void 0,void 0,function*(){console.log(e),this.statusChosen.setValue(this.statusList),this.cpDetail=null,this.tSDetail=null,this.getAddress(e.position.y,e.position.x),this.showDetail=!0,this.dialog.open(oZ.u,{maxWidth:\"400px\",panelClass:\"removePadding\",data:{cP:e,isGuest:!0}})})}getAddress(e,o){let a=\"Non presente\";return this.geoCoder.geocode({location:{lat:Number(e),lng:Number(o)}},(d,h)=>{\"OK\"===h&&(d[0]?a=d[0].formatted_address:(this.getAddress(e,o),window.alert(\"No results found\")))}),a}}return n.\\u0275fac=function(e){return new(e||n)(t.Y36(m.W7),t.Y36(t.R0b),t.Y36(O.uw),t.Y36(N.gz),t.Y36(iZ.G))},n.\\u0275cmp=t.Xpm({type:n,selectors:[[\"app-guest-map\"]],viewQuery:function(e,o){if(1&e&&(t.Gf(m.SA,5),t.Gf(aZ,5)),2&e){let a;t.iGM(a=t.CRH())&&(o.agmMap=a.first),t.iGM(a=t.CRH())&&(o.searchElementRef=a.first)}},decls:9,vars:8,consts:[[2,\"padding-top\",\"5px\"],[1,\"card\",2,\"height\",\"62px\",\"position\",\"relative\"],[2,\"align-self\",\"center\",\"font-size\",\"20px\",\"padding-top\",\"5px\"],[2,\"align-self\",\"center\",\"font-size\",\"20px\"],[2,\"border-radius\",\"10%\",\"padding\",\"2%\"],[3,\"zoom\",\"latitude\",\"longitude\",\"scrollwheel\"],[3,\"iconUrl\",\"latitude\",\"longitude\",\"markerClick\"]],template:function(e,o){1&e&&(t._UZ(0,\"div\",0),t.TgZ(1,\"div\",1),t.TgZ(2,\"p\",2),t._uU(3,\"chargeBoxId\"),t.qZA(),t.TgZ(4,\"p\",3),t._uU(5),t.qZA(),t.qZA(),t.TgZ(6,\"div\",4),t.TgZ(7,\"agm-map\",5),t.TgZ(8,\"agm-marker\",6),t.NdJ(\"markerClick\",function(){return o.detailCard(o.selectedCP)}),t.qZA(),t.qZA(),t.qZA()),2&e&&(t.xp6(5),t.Oqu(null==o.selectedCP?null:o.selectedCP.chargeBoxId),t.xp6(2),t.Q6J(\"zoom\",o.zoom)(\"latitude\",o.startPosition.lat)(\"longitude\",o.startPosition.lng)(\"scrollwheel\",null),t.xp6(1),t.Q6J(\"iconUrl\",o.mapComponent.choseMarker(o.selectedCP))(\"latitude\",o.selectedCP.position.y)(\"longitude\",o.selectedCP.position.x))},directives:[m.SA,m.pt],styles:[\".content-body[_ngcontent-%COMP%]{padding-bottom:10px}p[_ngcontent-%COMP%]{line-height:.8}.padding[_ngcontent-%COMP%]{padding-left:40px}.positionConnector[_ngcontent-%COMP%]{position:absolute;right:0;top:21px}.padding-body[_ngcontent-%COMP%]{padding-right:16%}.card-body[_ngcontent-%COMP%]{padding:1rem}agm-map-container-inner[_ngcontent-%COMP%]{border-radius:10%}.gridMapAndCard[_ngcontent-%COMP%]{display:grid;grid-template-columns:1.6fr .4fr;grid-template-rows:repeat(5,1fr);grid-column-gap:0;grid-row-gap:0}.div1[_ngcontent-%COMP%]{grid-area:1/1/6/2}.div2[_ngcontent-%COMP%]{grid-area:1/2/2/3}.div3[_ngcontent-%COMP%]{grid-area:2/2/3/3}.div4[_ngcontent-%COMP%]{grid-area:3/2/4/3}.div5[_ngcontent-%COMP%]{grid-area:4/2/5/3}.div6[_ngcontent-%COMP%]{grid-area:5/2/6/3}agm-map[_ngcontent-%COMP%]{width:100%;height:720px;position:relative;z-index:1}.removePadding[_ngcontent-%COMP%] mat-dialog-container[_ngcontent-%COMP%]{padding:1px!important}.click[_ngcontent-%COMP%]{cursor:pointer}.header-cell[_ngcontent-%COMP%], td[_ngcontent-%COMP%], th[_ngcontent-%COMP%]{text-align:center;align-items:center;justify-content:center}.carddescription[_ngcontent-%COMP%]{font-weight:bold}.center[_ngcontent-%COMP%]{align-items:center;justify-content:center;display:flex}.map[_ngcontent-%COMP%]{width:100%;height:-moz-fit-content;height:fit-content}.blueMapBar[_ngcontent-%COMP%]{width:100%;background-color:#e0ffff;height:8%;position:relative;z-index:9}button[_ngcontent-%COMP%]:active, .bCerca[_ngcontent-%COMP%]:focus{border-style:outset;border:1px solid lightseagreen;outline:none}.bCerca[_ngcontent-%COMP%]{height:30px;border:none;border-radius:3px;background-color:#20b2aa;color:#fff}.cerca[_ngcontent-%COMP%]{bottom:13.5%;position:absolute;z-index:10}.grid[_ngcontent-%COMP%]{display:grid;grid-gap:1rem;gap:1rem;grid-template-columns:repeat(auto-fit,minmax(250px,1fr))}.mapTitle[_ngcontent-%COMP%]{margin-top:20px;position:relative;z-index:10}.second[_ngcontent-%COMP%]{border-spacing:0;border:2px solid #0099cc;width:100%;height:100%;font-size:20px;background-color:#fff;top:0;left:0;overflow:hidden;position:relative}small[_ngcontent-%COMP%]{font-size:13px}.blue[_ngcontent-%COMP%]{background-color:#3f5af5!important;border-radius:150px;padding:7px;width:164px;height:164px;margin:0 auto}.orange[_ngcontent-%COMP%]{background-color:#f58e07!important;border-radius:150px;padding:7px;width:164px;height:164px;margin:0 auto}.grey[_ngcontent-%COMP%]{background-color:#8b8b8b!important;border-radius:150px;padding:7px;width:164px;height:164px;margin:0 auto}.green[_ngcontent-%COMP%]{background-color:#accc3f!important;border-radius:150px;padding:7px;width:164px;height:164px;margin:0 auto}.azzurro[_ngcontent-%COMP%]{background-color:#3195cd!important;border-radius:150px;padding:7px;width:164px;height:164px;margin:0 auto}.onlineCon[_ngcontent-%COMP%]{box-shadow:0 4px 5px 5px #08a000}.offlineCon[_ngcontent-%COMP%]{box-shadow:0 4px 5px 5px #df2100}.chargingCon[_ngcontent-%COMP%]{box-shadow:0 4px 5px 5px #c5b913}.reservedCon[_ngcontent-%COMP%]{box-shadow:0 4px 5px 5px #0d1994}.custom-num-text[_ngcontent-%COMP%]{font-size:2vw}.bg[_ngcontent-%COMP%]{background-color:#9f6!important}.group[_ngcontent-%COMP%]{padding-bottom:13px;display:flex;line-height:28px;align-items:center;position:relative;max-width:289px}.input[_ngcontent-%COMP%]{width:100%;height:40px;line-height:28px;padding:0 1rem 0 2.5rem;border:2px solid transparent;border-radius:8px;outline:none;color:#0d0c22;transition:.3s ease}.input[_ngcontent-%COMP%]::placeholder{color:#9e9ea7}.input[_ngcontent-%COMP%]:focus, input[_ngcontent-%COMP%]:hover{outline:none;border-color:#4d363e66;background-color:#fff;box-shadow:0 0 0 4px #ea4c891a}.icon-Search[_ngcontent-%COMP%]{position:absolute;left:1rem;fill:#9e9ea7;width:1rem;height:1rem}input[type=color][_ngcontent-%COMP%], input[type=date][_ngcontent-%COMP%], input[type=datetime][_ngcontent-%COMP%], input[type=datetime-local][_ngcontent-%COMP%], input[type=email][_ngcontent-%COMP%], input[type=month][_ngcontent-%COMP%], input[type=number][_ngcontent-%COMP%], input[type=password][_ngcontent-%COMP%], input[type=search][_ngcontent-%COMP%], input[type=tel][_ngcontent-%COMP%], input[type=text][_ngcontent-%COMP%], input[type=time][_ngcontent-%COMP%], input[type=url][_ngcontent-%COMP%], input[type=week][_ngcontent-%COMP%], select[_ngcontent-%COMP%]:focus, textarea[_ngcontent-%COMP%]{font-size:16px}\"]}),n})();var xe=c(47650),Te=c(14036);function sZ(n,s){1&n&&(t.TgZ(0,\"div\",15),t.O4$(),t.TgZ(1,\"svg\",16),t._UZ(2,\"circle\",17),t._UZ(3,\"circle\",18),t._UZ(4,\"circle\",19),t._UZ(5,\"circle\",20),t.qZA(),t.qZA())}function lZ(n,s){1&n&&(t.TgZ(0,\"div\",15),t.O4$(),t.TgZ(1,\"svg\",16),t._UZ(2,\"circle\",17),t._UZ(3,\"circle\",18),t._UZ(4,\"circle\",19),t._UZ(5,\"circle\",20),t.qZA(),t.qZA())}const cZ=function(){return{width:\"250px\"}};function pZ(n,s){if(1&n){const e=t.EpF();t.TgZ(0,\"div\",21),t.TgZ(1,\"div\",8),t.TgZ(2,\"input\",9),t.NdJ(\"ngModelChange\",function(a){t.CHM(e);const d=t.oxw();return(null==d.dataEmpCpo?null:d.dataEmpCpo.shareCPInformations).enabled=a}),t.qZA(),t.TgZ(3,\"mat-label\"),t._uU(4),t.ALo(5,\"translate\"),t.qZA(),t._UZ(6,\"br\"),t.qZA(),t.TgZ(7,\"div\",22),t.TgZ(8,\"div\",8),t.TgZ(9,\"input\",23),t.NdJ(\"ngModelChange\",function(a){t.CHM(e);const d=t.oxw();return(null==d.dataEmpCpo?null:d.dataEmpCpo.shareCPInformations).shareAllCP=a}),t.qZA(),t.TgZ(10,\"mat-label\"),t._uU(11),t.ALo(12,\"translate\"),t.qZA(),t._UZ(13,\"br\"),t.qZA(),t.TgZ(14,\"div\"),t.TgZ(15,\"p-dropdown\",24),t.NdJ(\"ngModelChange\",function(a){return t.CHM(e),t.oxw().selectedChargepointsGroup=a})(\"onChange\",function(){return t.CHM(e),t.oxw().onDropdownChange()}),t.ALo(16,\"translate\"),t.qZA(),t.qZA(),t.TgZ(17,\"div\",10),t.TgZ(18,\"button\",11),t.NdJ(\"click\",function(){return t.CHM(e),t.oxw().add()}),t.ALo(19,\"translate\"),t.qZA(),t._UZ(20,\"div\",12),t.qZA(),t.qZA(),t.qZA()}if(2&n){const e=t.oxw();t.xp6(2),t.Q6J(\"ngModel\",null==e.dataEmpCpo?null:e.dataEmpCpo.shareCPInformations.enabled),t.xp6(2),t.Oqu(t.lcZ(5,13,\"Abilita condivisione colonnine\")),t.xp6(5),t.Q6J(\"disabled\",!(null!=e.dataEmpCpo&&e.dataEmpCpo.shareCPInformations.enabled))(\"ngModel\",null==e.dataEmpCpo?null:e.dataEmpCpo.shareCPInformations.shareAllCP),t.xp6(2),t.Oqu(t.lcZ(12,15,\"Abilita tutte le cp\")),t.xp6(4),t.Akn(t.DdM(21,cZ)),t.s9C(\"placeholder\",t.lcZ(16,17,\"Gruppi Stazioni Proprietarie\")),t.Q6J(\"disabled\",null==e.dataEmpCpo||null==e.dataEmpCpo.shareCPInformations?null:e.dataEmpCpo.shareCPInformations.shareAllCP)(\"options\",e.chargepointsGroups)(\"ngModel\",e.selectedChargepointsGroup)(\"filter\",!0),t.xp6(3),t.s9C(\"label\",t.lcZ(19,19,\"Conferma\"))}}let jc=(()=>{class n{constructor(e,o,a,d){this.dataEmpCpoService=e,this.notifyService=o,this.translate=a,this.groupsService=d,this.isLoading=!1}ngOnInit(){return(0,C.mG)(this,void 0,void 0,function*(){yield this.refresh()})}refresh(){var e,o,a;return(0,C.mG)(this,void 0,void 0,function*(){this.isLoading=!0,this.dataEmpCpo=yield this.dataEmpCpoService.getDataEmpCpoById().toPromise(),this.chargepointsGroups=yield this.groupsService.getChargepointGroupsByType(this.dataEmpCpo.id,\"owner\").toPromise(),this.chargepointsGroups=this.chargepointsGroups.sort((d,h)=>d.name.toLowerCase()>h.name.toLowerCase()?1:h.name.toLowerCase()>d.name.toLowerCase()?-1:0),this.isLoading=!1,void 0!==(null===(e=this.dataEmpCpo)||void 0===e?void 0:e.shareCPInformations)?null!=(null===(a=null===(o=this.dataEmpCpo)||void 0===o?void 0:o.shareCPInformations)||void 0===a?void 0:a.groupToShare)&&(this.selectedChargepointsGroup=this.chargepointsGroups.find(d=>d.id===this.dataEmpCpo.shareCPInformations.groupToShare)):this.dataEmpCpo=Object.assign(Object.assign({},this.dataEmpCpo),{shareCPInformations:Object.assign(Object.assign({},this.dataEmpCpo.shareCPInformations),{enabled:!1})})})}add(){var e;null!=(null===(e=this.dataEmpCpo)||void 0===e?void 0:e.shareCPInformations.groupToShare)&&(this.dataEmpCpo.shareCPInformations.groupToShare=this.selectedChargepointsGroup.id),this.dataEmpCpoService.changeShareCPInformations(this.dataEmpCpo).toPromise().then(o=>{this.dataEmpCpo=o,this.notifyService.showSuccess(this.translate.instant(\"azienda_agg\"),this.translate.instant(\"ok\"))})}onDropdownChange(){this.selectedChargepointsGroup&&(this.dataEmpCpo.shareCPInformations.shareAllCP=!1)}onCheckboxChangeLogs(){var e;this.dataEmpCpoService.updateDataEmpCpoLogs(this.dataEmpCpo.id,null===(e=this.dataEmpCpo)||void 0===e?void 0:e.cpo.portalSettings.logEnabledByDefault).toPromise().then(()=>{this.notifyService.showSuccess(this.translate.instant(\"azienda_agg\"),this.translate.instant(\"ok\")),this.refresh()})}}return n.\\u0275fac=function(e){return new(e||n)(t.Y36(ie.c),t.Y36(K.m),t.Y36(U.sK),t.Y36(xe.J))},n.\\u0275cmp=t.Xpm({type:n,selectors:[[\"app-general\"]],decls:32,vars:16,consts:[[2,\"padding\",\"20px\"],[1,\"row\"],[1,\"col-xl-12\",\"col-xxl-12\"],[1,\"card\",2,\"height\",\"260px\"],[1,\"card-header\",\"d-block\"],[1,\"fs-32\",\"card-title\",\"left\",\"text-black\",2,\"font-family\",\"'Baloo 2',serif\"],[\"class\",\"loader-container\",4,\"ngIf\"],[1,\"col-xl-12\",\"col-xxl-12\",2,\"padding\",\"0px 40px\"],[2,\"margin-top\",\"20px\",\"margin-bottom\",\"20px\"],[\"type\",\"checkbox\",\"id\",\"c1-13\",2,\"margin-right\",\"30px\",3,\"ngModel\",\"ngModelChange\"],[2,\"float\",\"right\",\"padding-bottom\",\"10px\"],[\"icon\",\"fas fa-check\",\"type\",\"button\",\"pButton\",\"\",\"pRipple\",\"\",1,\"mr-2\",\"conferma\",3,\"label\",\"click\"],[2,\"padding-bottom\",\"10px\"],[1,\"card\",2,\"height\",\"375px\"],[\"class\",\"card-body\",4,\"ngIf\"],[1,\"loader-container\"],[\"viewBox\",\"0 0 240 240\",\"height\",\"240\",\"width\",\"240\",1,\"pl\"],[\"stroke-linecap\",\"round\",\"stroke-dashoffset\",\"-330\",\"stroke-dasharray\",\"0 660\",\"stroke-width\",\"20\",\"stroke\",\"#000\",\"fill\",\"none\",\"r\",\"105\",\"cy\",\"120\",\"cx\",\"120\",1,\"pl__ring\",\"pl__ring--a\"],[\"stroke-linecap\",\"round\",\"stroke-dashoffset\",\"-110\",\"stroke-dasharray\",\"0 220\",\"stroke-width\",\"20\",\"stroke\",\"#000\",\"fill\",\"none\",\"r\",\"35\",\"cy\",\"120\",\"cx\",\"120\",1,\"pl__ring\",\"pl__ring--b\"],[\"stroke-linecap\",\"round\",\"stroke-dasharray\",\"0 440\",\"stroke-width\",\"20\",\"stroke\",\"#000\",\"fill\",\"none\",\"r\",\"70\",\"cy\",\"120\",\"cx\",\"85\",1,\"pl__ring\",\"pl__ring--c\"],[\"stroke-linecap\",\"round\",\"stroke-dasharray\",\"0 440\",\"stroke-width\",\"20\",\"stroke\",\"#000\",\"fill\",\"none\",\"r\",\"70\",\"cy\",\"120\",\"cx\",\"155\",1,\"pl__ring\",\"pl__ring--d\"],[1,\"card-body\"],[1,\"flex-between\"],[\"type\",\"checkbox\",\"id\",\"c1-14\",2,\"margin-right\",\"30px\",3,\"disabled\",\"ngModel\",\"ngModelChange\"],[\"filterBy\",\"name\",\"optionLabel\",\"name\",\"appendTo\",\"body\",3,\"disabled\",\"options\",\"ngModel\",\"placeholder\",\"filter\",\"ngModelChange\",\"onChange\"]],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.TgZ(5,\"h4\",5),t._uU(6),t.ALo(7,\"translate\"),t.qZA(),t.qZA(),t.YNc(8,sZ,6,0,\"div\",6),t.TgZ(9,\"div\",0),t.TgZ(10,\"div\",1),t.TgZ(11,\"div\",7),t.TgZ(12,\"div\",8),t.TgZ(13,\"input\",9),t.NdJ(\"ngModelChange\",function(d){return(null==o.dataEmpCpo?null:o.dataEmpCpo.cpo.portalSettings).logEnabledByDefault=d}),t.qZA(),t.TgZ(14,\"mat-label\"),t._uU(15),t.ALo(16,\"translate\"),t.qZA(),t._UZ(17,\"br\"),t.qZA(),t.TgZ(18,\"div\",10),t.TgZ(19,\"button\",11),t.NdJ(\"click\",function(){return o.onCheckboxChangeLogs()}),t.ALo(20,\"translate\"),t.qZA(),t._UZ(21,\"div\",12),t.qZA(),t.qZA(),t.qZA(),t.qZA(),t.qZA(),t.TgZ(22,\"div\",13),t.TgZ(23,\"div\",4),t.TgZ(24,\"h4\",5),t._uU(25),t.ALo(26,\"translate\"),t.qZA(),t.qZA(),t.TgZ(27,\"div\"),t.YNc(28,lZ,6,0,\"div\",6),t.TgZ(29,\"div\",1),t.TgZ(30,\"div\",2),t.YNc(31,pZ,21,22,\"div\",14),t.qZA(),t.qZA(),t.qZA(),t.qZA(),t.qZA(),t.qZA(),t.qZA()),2&e&&(t.xp6(6),t.Oqu(t.lcZ(7,8,\"logs\")),t.xp6(2),t.Q6J(\"ngIf\",o.isLoading),t.xp6(5),t.Q6J(\"ngModel\",null==o.dataEmpCpo?null:o.dataEmpCpo.cpo.portalSettings.logEnabledByDefault),t.xp6(2),t.Oqu(t.lcZ(16,10,\"Abilita logs alla creazione di nuove colonnine\")),t.xp6(4),t.s9C(\"label\",t.lcZ(20,12,\"Conferma\")),t.xp6(6),t.Oqu(t.lcZ(26,14,\"Esposizione Delle Colonnine sul portale E015\")),t.xp6(3),t.Q6J(\"ngIf\",o.isLoading),t.xp6(3),t.Q6J(\"ngIf\",!o.isLoading))},directives:[v.O5,l.Wl,l.JJ,l.On,_t.hX,Gt.Hq,Jt.H,Te.Lt],pipes:[U.X$],styles:[\"\"]}),n})(),dZ=(()=>{class n{constructor(e,o,a,d){this.data=e,this.dialogRef=o,this.translate=a,this.notifyService=d}ngOnInit(){this.name=this.data.name,this.description=this.data.description}submitChanges(){\"\"===this.name?this.notifyService.showError(this.translate.instant(\"Inserire il nome del gruppo\"),this.translate.instant(\"Attenzione\")):this.dialogRef.close({name:this.name,description:this.description})}closeDialog(){this.dialogRef.close()}}return n.\\u0275fac=function(e){return new(e||n)(t.Y36(O.WI),t.Y36(O.so),t.Y36(U.sK),t.Y36(K.m))},n.\\u0275cmp=t.Xpm({type:n,selectors:[[\"app-create-groups-dialog\"]],decls:22,vars:14,consts:[[1,\"sr-result\",\"stop1\"],[\"icon\",\"fas fa-times\",\"type\",\"button\",\"pButton\",\"\",\"pRipple\",\"\",1,\"buttonX\",\"button-close\",\"mr-2\",2,\"width\",\"50px\",\"font-family\",\"'Baloo 2',serif\",\"font-size\",\"16px\",\"background-color\",\"white\",\"border-color\",\"red\",\"color\",\"red\",3,\"click\"],[1,\"roboto-bold\",2,\"color\",\"black\",\"font-size\",\"100%\",\"text-align\",\"center\"],[\"type\",\"text\",1,\"roboto-medium\",3,\"ngModel\",\"placeholder\",\"ngModelChange\"],[1,\"roboto-medium\",2,\"padding\",\"10px\",\"border-radius\",\"10px\",\"width\",\"400px\",\"height\",\"150px\",\"overflow-y\",\"scroll\",\"overflow-x\",\"hidden\",\"resize\",\"none\",3,\"ngModel\",\"placeholder\",\"ngModelChange\"],[\"icon\",\"fas fa-check\",\"type\",\"button\",\"pButton\",\"\",\"pRipple\",\"\",1,\"mr-2\",2,\"border-radius\",\"10px\",\"width\",\"400px\",\"font-family\",\"'Baloo 2',serif\",\"font-size\",\"16px\",\"background-color\",\"white\",\"border-color\",\"#1ab394\",\"color\",\"#1ab394\",3,\"label\",\"click\"]],template:function(e,o){1&e&&(t.TgZ(0,\"div\"),t.TgZ(1,\"div\",0),t.TgZ(2,\"button\",1),t.NdJ(\"click\",function(){return o.closeDialog()}),t.qZA(),t._UZ(3,\"br\"),t._UZ(4,\"br\"),t.qZA(),t.TgZ(5,\"p\",2),t.TgZ(6,\"a\"),t._uU(7),t.ALo(8,\"translate\"),t.qZA(),t._UZ(9,\"br\"),t.qZA(),t.TgZ(10,\"input\",3),t.NdJ(\"ngModelChange\",function(d){return o.name=d}),t.ALo(11,\"translate\"),t.qZA(),t._UZ(12,\"br\"),t._UZ(13,\"br\"),t.TgZ(14,\"textarea\",4),t.NdJ(\"ngModelChange\",function(d){return o.description=d}),t.ALo(15,\"translate\"),t._uU(16,\" \"),t.qZA(),t._UZ(17,\"br\"),t._UZ(18,\"br\"),t.TgZ(19,\"div\",0),t.TgZ(20,\"button\",5),t.NdJ(\"click\",function(){return o.submitChanges()}),t.ALo(21,\"translate\"),t.qZA(),t.qZA(),t.qZA()),2&e&&(t.xp6(7),t.Oqu(t.lcZ(8,6,\"Crea gruppo\")),t.xp6(3),t.Q6J(\"ngModel\",o.name)(\"placeholder\",t.lcZ(11,8,\"Nome\")),t.xp6(4),t.Q6J(\"ngModel\",o.description)(\"placeholder\",t.lcZ(15,10,\"Descrizione\")),t.xp6(6),t.s9C(\"label\",t.lcZ(21,12,\"Conferma\")))},directives:[Gt.Hq,Jt.H,l.Fj,l.JJ,l.On],pipes:[U.X$],styles:['.mat-dialog-container{border-radius:25px}.jost-bold[_ngcontent-%COMP%]{font-family:\"Jost-Bold\",serif}.roboto-bold[_ngcontent-%COMP%]{font-family:\"RobotoCondensed-Bold\",serif}.roboto-medium[_ngcontent-%COMP%]{font-family:\"RobotoCondensed-Regular\",serif}a[_ngcontent-%COMP%]{font-size:17px}.input[_ngcontent-%COMP%]{height:30px}.button[_ngcontent-%COMP%]{border-radius:10px;background:var(--primaryColor);color:#fff;border:0;padding:12px 16px;margin-top:16px;font-weight:600;cursor:pointer;transition:all .2s ease;display:block;box-shadow:0 4px 5.5px #00000012;width:100%}.sr-result.stop1[_ngcontent-%COMP%]{position:relative}.button-close[_ngcontent-%COMP%]{right:0px;position:absolute}.sr-input[_ngcontent-%COMP%], input[type=text][_ngcontent-%COMP%]{border-radius:10px;border:1px solid gray;padding:10px 12px;height:44px;width:100%;transition:box-shadow .2s ease;background:white;-webkit-appearance:none;appearance:none}']}),n})(),Wc=(()=>{class n{constructor(e,o){this.http=e,this.errorsService=o}getAllAlerts(){return this.http.get(`${x.N.apiUrl}/lang/api/alert-type`).pipe((0,g.K)(this.errorsService.handleError))}getAllUserChargeboxAlertGroups(e){return this.http.get(`${x.N.apiUrl}/lang/api/users-chargebox-alerts-groups/${e}`).pipe((0,g.K)(this.errorsService.handleError))}deleteUserChargeboxAlertGroups(e,o){return this.http.delete(`${x.N.apiUrl}/lang/api/users-chargebox-alerts-groups/${e}/${o}`).pipe((0,g.K)(this.errorsService.handleError))}addUserChargeboxAlertGroup(e){return this.http.post(`${x.N.apiUrl}/lang/api/users-chargebox-alerts-groups`,e).pipe((0,g.K)(this.errorsService.handleError))}}return n.\\u0275fac=function(e){return new(e||n)(t.LFG(i.eN),t.LFG(f.r))},n.\\u0275prov=t.Yz7({token:n,factory:n.\\u0275fac,providedIn:\"root\"}),n})();var Pe=c(15055),Oe=c(59783),Hc=c(31424),Kc=c(61208);function gZ(n,s){if(1&n){const e=t.EpF();t.TgZ(0,\"button\",18),t.NdJ(\"click\",function(){return t.CHM(e),t.oxw().selectDeselectAllUsers()}),t.qZA()}if(2&n){const e=t.oxw();t.s9C(\"label\",e.selectDeselectUsersCpoLabel)}}function mZ(n,s){if(1&n){const e=t.EpF();t.TgZ(0,\"button\",19),t.NdJ(\"click\",function(){return t.CHM(e),t.oxw().confirmAddUsers()}),t.ALo(1,\"translate\"),t.qZA()}2&n&&t.s9C(\"label\",t.lcZ(1,1,\"Conferma\"))}function uZ(n,s){if(1&n&&(t.TgZ(0,\"span\"),t._uU(1),t.qZA()),2&n){const e=t.oxw().$implicit;t.xp6(1),t.hij(\" : \",e.description,\" \")}}function _Z(n,s){if(1&n){const e=t.EpF();t.TgZ(0,\"div\",20),t.TgZ(1,\"div\",21),t.TgZ(2,\"span\",22),t._uU(3),t.qZA(),t.YNc(4,uZ,2,1,\"span\",23),t.qZA(),t.TgZ(5,\"div\"),t.TgZ(6,\"button\",24),t.NdJ(\"click\",function(){const d=t.CHM(e).$implicit;return t.oxw().deleteUserCpoGroup(d.id)}),t.ALo(7,\"translate\"),t.qZA(),t.TgZ(8,\"button\",25),t.NdJ(\"click\",function(){const d=t.CHM(e).$implicit;return t.oxw().openDialogCreateGroup(d.name,d.description,d.id,\"usercpo\")}),t.ALo(9,\"translate\"),t.qZA(),t.TgZ(10,\"button\",26),t.NdJ(\"click\",function(){const d=t.CHM(e).$implicit;return t.oxw().duplicateUserCpoGroup(d)}),t.ALo(11,\"translate\"),t.qZA(),t.qZA(),t.qZA()}if(2&n){const e=s.$implicit;t.xp6(3),t.hij(\" \",e.name,\" \"),t.xp6(1),t.Q6J(\"ngIf\",e.description),t.xp6(2),t.s9C(\"pTooltip\",t.lcZ(7,5,\"Elimina\")),t.xp6(2),t.s9C(\"pTooltip\",t.lcZ(9,7,\"Modifica\")),t.xp6(2),t.s9C(\"pTooltip\",t.lcZ(11,9,\"Duplica\"))}}function hZ(n,s){if(1&n){const e=t.EpF();t.TgZ(0,\"div\",31),t.TgZ(1,\"p-checkbox\",32),t.NdJ(\"ngModelChange\",function(a){return t.CHM(e),t.oxw(2).selectedUsersCpo=a}),t.qZA(),t.qZA()}if(2&n){const e=s.$implicit,o=t.oxw(2);t.xp6(1),t.Q6J(\"ngModel\",o.selectedUsersCpo)(\"label\",e.email)(\"value\",e.id)}}function fZ(n,s){if(1&n){const e=t.EpF();t.TgZ(0,\"div\",27),t.TgZ(1,\"input\",28),t.NdJ(\"input\",function(a){return t.CHM(e),t.oxw().onSearchUserChange(a)})(\"ngModelChange\",function(a){return t.CHM(e),t.oxw().searchUserString=a}),t.ALo(2,\"translate\"),t.qZA(),t.TgZ(3,\"div\",29),t.YNc(4,hZ,2,3,\"div\",30),t.qZA(),t.qZA()}if(2&n){const e=t.oxw();t.xp6(1),t.s9C(\"placeholder\",t.lcZ(2,3,\"Cerca\")),t.Q6J(\"ngModel\",e.searchUserString),t.xp6(3),t.Q6J(\"ngForOf\",e.filteredUsersCpo)}}function ZZ(n,s){if(1&n){const e=t.EpF();t.TgZ(0,\"button\",33),t.NdJ(\"click\",function(){return t.CHM(e),t.oxw(2).changeDisplayModeNetwork()}),t.ALo(1,\"translate\"),t.qZA()}if(2&n){const e=t.oxw(2);t.s9C(\"pTooltip\",t.lcZ(1,2,\"Cambia campo visualizzato\")),t.s9C(\"label\",e.displayModeNetworkLabel)}}function CZ(n,s){if(1&n){const e=t.EpF();t.TgZ(0,\"button\",34),t.NdJ(\"click\",function(){return t.CHM(e),t.oxw(2).selectDeselectAllChargepointsNetwork()}),t.qZA()}if(2&n){const e=t.oxw(2);t.s9C(\"label\",e.selectDeselectChargepointsNetworkLabel)}}function vZ(n,s){if(1&n){const e=t.EpF();t.TgZ(0,\"button\",19),t.NdJ(\"click\",function(){return t.CHM(e),t.oxw(2).confirmAddChargepointsNetwork()}),t.ALo(1,\"translate\"),t.qZA()}2&n&&t.s9C(\"label\",t.lcZ(1,1,\"Conferma\"))}function bZ(n,s){if(1&n&&(t.TgZ(0,\"span\"),t._uU(1),t.qZA()),2&n){const e=t.oxw().$implicit;t.xp6(1),t.hij(\" : \",e.description,\" \")}}function AZ(n,s){if(1&n){const e=t.EpF();t.TgZ(0,\"div\",20),t.TgZ(1,\"div\",21),t.TgZ(2,\"span\",22),t._uU(3),t.qZA(),t.YNc(4,bZ,2,1,\"span\",23),t.qZA(),t.TgZ(5,\"div\"),t.TgZ(6,\"button\",35),t.NdJ(\"click\",function(){const d=t.CHM(e).$implicit;return t.oxw(2).deleteChargepointGroup(d.id)}),t.ALo(7,\"translate\"),t.qZA(),t.TgZ(8,\"button\",25),t.NdJ(\"click\",function(){const d=t.CHM(e).$implicit;return t.oxw(2).openDialogCreateGroup(d.name,d.description,d.id,\"chargepointNetwork\")}),t.ALo(9,\"translate\"),t.qZA(),t.TgZ(10,\"button\",26),t.NdJ(\"click\",function(){const d=t.CHM(e).$implicit;return t.oxw(2).duplicateChargepointGroup(d)}),t.ALo(11,\"translate\"),t.qZA(),t.qZA(),t.qZA()}if(2&n){const e=s.$implicit;t.xp6(3),t.hij(\" \",e.name,\" \"),t.xp6(1),t.Q6J(\"ngIf\",e.description),t.xp6(2),t.s9C(\"pTooltip\",t.lcZ(7,5,\"Elimina\")),t.xp6(2),t.s9C(\"pTooltip\",t.lcZ(9,7,\"Modifica\")),t.xp6(2),t.s9C(\"pTooltip\",t.lcZ(11,9,\"Duplica\"))}}function xZ(n,s){if(1&n){const e=t.EpF();t.TgZ(0,\"div\",31),t.TgZ(1,\"p-checkbox\",36),t.NdJ(\"ngModelChange\",function(a){return t.CHM(e),t.oxw(3).selectedChargepointsNetwork=a}),t.qZA(),t.qZA()}if(2&n){const e=s.$implicit,o=t.oxw(3);t.xp6(1),t.s9C(\"pTooltip\",\"chargeBoxId\"===o.displayMode?e.description:e.chargeBoxId),t.Q6J(\"ngModel\",o.selectedChargepointsNetwork)(\"label\",\"chargeBoxId\"===o.displayModeNetwork?e.chargeBoxId:e.description)(\"value\",e.chargeBoxId)}}function TZ(n,s){if(1&n){const e=t.EpF();t.TgZ(0,\"div\",27),t.TgZ(1,\"input\",28),t.NdJ(\"input\",function(a){return t.CHM(e),t.oxw(2).onSearchChargepointsChange(a)})(\"ngModelChange\",function(a){return t.CHM(e),t.oxw(2).searchChargepointNetworkString=a}),t.ALo(2,\"translate\"),t.qZA(),t.TgZ(3,\"div\",29),t.YNc(4,xZ,2,4,\"div\",30),t.qZA(),t.qZA()}if(2&n){const e=t.oxw(2);t.xp6(1),t.s9C(\"placeholder\",t.lcZ(2,3,\"Cerca\")),t.Q6J(\"ngModel\",e.searchChargepointNetworkString),t.xp6(3),t.Q6J(\"ngForOf\",e.filteredChargepointsNetwork)}}const ee=function(){return{width:\"600px\",height:\"300px\"}},ne=function(){return{\"max-height\":\"300px\"}};function PZ(n,s){if(1&n){const e=t.EpF();t.TgZ(0,\"div\",3),t.TgZ(1,\"div\",4),t.TgZ(2,\"h4\",5),t._uU(3),t.ALo(4,\"translate\"),t.qZA(),t.qZA(),t.TgZ(5,\"div\",6),t.TgZ(6,\"div\",7),t.TgZ(7,\"div\"),t.TgZ(8,\"button\",8),t.NdJ(\"click\",function(){return t.CHM(e),t.oxw().openDialogCreateGroup(\"\",\"\",\"\",\"chargepointNetwork\")}),t.ALo(9,\"translate\"),t.qZA(),t.qZA(),t.TgZ(10,\"div\"),t.YNc(11,ZZ,2,4,\"button\",16),t.YNc(12,CZ,1,1,\"button\",17),t.YNc(13,vZ,2,3,\"button\",10),t.qZA(),t.qZA(),t.TgZ(14,\"div\",11),t.TgZ(15,\"p-listbox\",12),t.NdJ(\"ngModelChange\",function(a){return t.CHM(e),t.oxw().selectedChargepointsNetworkGroup=a})(\"onChange\",function(){return t.CHM(e),t.oxw().selectedChargepointNetworkGroup()})(\"onClick\",function(){return t.CHM(e),t.oxw().selectedChargepointNetworkGroup()}),t.YNc(16,AZ,12,11,\"ng-template\",13),t.qZA(),t.YNc(17,TZ,5,5,\"div\",14),t.qZA(),t.qZA(),t.qZA()}if(2&n){const e=t.oxw();t.xp6(3),t.Oqu(t.lcZ(4,11,\"Stazioni Network\")),t.xp6(5),t.s9C(\"label\",t.lcZ(9,13,\"Crea gruppo\")),t.xp6(3),t.Q6J(\"ngIf\",e.selectedChargepointsNetworkGroup),t.xp6(1),t.Q6J(\"ngIf\",e.selectedChargepointsNetworkGroup),t.xp6(1),t.Q6J(\"ngIf\",e.selectedChargepointsNetworkGroup),t.xp6(2),t.Akn(t.DdM(15,ee)),t.Q6J(\"options\",e.chargepointsNetworkGroups)(\"ngModel\",e.selectedChargepointsNetworkGroup)(\"listStyle\",t.DdM(16,ne)),t.xp6(2),t.Q6J(\"ngIf\",e.selectedChargepointsNetworkGroup)}}function OZ(n,s){if(1&n){const e=t.EpF();t.TgZ(0,\"button\",33),t.NdJ(\"click\",function(){return t.CHM(e),t.oxw().changeDisplayMode()}),t.ALo(1,\"translate\"),t.qZA()}if(2&n){const e=t.oxw();t.s9C(\"pTooltip\",t.lcZ(1,2,\"Cambia campo visualizzato\")),t.s9C(\"label\",e.displayModeLabel)}}function yZ(n,s){if(1&n){const e=t.EpF();t.TgZ(0,\"button\",34),t.NdJ(\"click\",function(){return t.CHM(e),t.oxw().selectDeselectAllChargepoints()}),t.qZA()}if(2&n){const e=t.oxw();t.s9C(\"label\",e.selectDeselectChargepointsLabel)}}function qZ(n,s){if(1&n){const e=t.EpF();t.TgZ(0,\"button\",19),t.NdJ(\"click\",function(){return t.CHM(e),t.oxw().confirmAddChargepoints()}),t.ALo(1,\"translate\"),t.qZA()}2&n&&t.s9C(\"label\",t.lcZ(1,1,\"Conferma\"))}function MZ(n,s){if(1&n&&(t.TgZ(0,\"span\"),t._uU(1),t.qZA()),2&n){const e=t.oxw().$implicit;t.xp6(1),t.hij(\" : \",e.description,\" \")}}function wZ(n,s){if(1&n){const e=t.EpF();t.TgZ(0,\"div\",20),t.TgZ(1,\"div\",21),t.TgZ(2,\"span\",22),t._uU(3),t.qZA(),t.YNc(4,MZ,2,1,\"span\",23),t.qZA(),t.TgZ(5,\"div\"),t.TgZ(6,\"button\",35),t.NdJ(\"click\",function(){const d=t.CHM(e).$implicit;return t.oxw().deleteChargepointGroup(d.id)}),t.ALo(7,\"translate\"),t.qZA(),t.TgZ(8,\"button\",25),t.NdJ(\"click\",function(){const d=t.CHM(e).$implicit;return t.oxw().openDialogCreateGroup(d.name,d.description,d.id,\"chargepoint\")}),t.ALo(9,\"translate\"),t.qZA(),t.TgZ(10,\"button\",26),t.NdJ(\"click\",function(){const d=t.CHM(e).$implicit;return t.oxw().duplicateChargepointGroup(d)}),t.ALo(11,\"translate\"),t.qZA(),t.qZA(),t.qZA()}if(2&n){const e=s.$implicit;t.xp6(3),t.hij(\" \",e.name,\" \"),t.xp6(1),t.Q6J(\"ngIf\",e.description),t.xp6(2),t.s9C(\"pTooltip\",t.lcZ(7,5,\"Elimina\")),t.xp6(2),t.s9C(\"pTooltip\",t.lcZ(9,7,\"Modifica\")),t.xp6(2),t.s9C(\"pTooltip\",t.lcZ(11,9,\"Duplica\"))}}function EZ(n,s){if(1&n){const e=t.EpF();t.TgZ(0,\"div\",31),t.TgZ(1,\"p-checkbox\",36),t.NdJ(\"ngModelChange\",function(a){return t.CHM(e),t.oxw(2).selectedChargepoints=a}),t.qZA(),t.qZA()}if(2&n){const e=s.$implicit,o=t.oxw(2);t.xp6(1),t.s9C(\"pTooltip\",\"chargeBoxId\"===o.displayMode?e.description:e.chargeBoxId),t.Q6J(\"ngModel\",o.selectedChargepoints)(\"label\",\"chargeBoxId\"===o.displayMode?e.chargeBoxId:e.description)(\"value\",e.chargeBoxId)}}function kZ(n,s){if(1&n){const e=t.EpF();t.TgZ(0,\"div\",27),t.TgZ(1,\"input\",28),t.NdJ(\"input\",function(a){return t.CHM(e),t.oxw().onSearchChargepointsChange(a)})(\"ngModelChange\",function(a){return t.CHM(e),t.oxw().searchChargepointString=a}),t.ALo(2,\"translate\"),t.qZA(),t.TgZ(3,\"div\",29),t.YNc(4,EZ,2,4,\"div\",30),t.qZA(),t.qZA()}if(2&n){const e=t.oxw();t.xp6(1),t.s9C(\"placeholder\",t.lcZ(2,3,\"Cerca\")),t.Q6J(\"ngModel\",e.searchChargepointString),t.xp6(3),t.Q6J(\"ngForOf\",e.filteredChargepoints)}}function UZ(n,s){if(1&n){const e=t.EpF();t.TgZ(0,\"button\",34),t.NdJ(\"click\",function(){return t.CHM(e),t.oxw().selectDeselectAllAlerts(\"OCPP_CP\")}),t.qZA()}if(2&n){const e=t.oxw();t.s9C(\"label\",e.selectDeselectAlertsOCPPCPLabel)}}function IZ(n,s){if(1&n){const e=t.EpF();t.TgZ(0,\"button\",19),t.NdJ(\"click\",function(){return t.CHM(e),t.oxw().confirmAddAlerts(\"OCPP_CP\")}),t.ALo(1,\"translate\"),t.qZA()}2&n&&t.s9C(\"label\",t.lcZ(1,1,\"Conferma\"))}function NZ(n,s){if(1&n&&(t.TgZ(0,\"span\"),t._uU(1),t.qZA()),2&n){const e=t.oxw().$implicit;t.xp6(1),t.hij(\" : \",e.description,\" \")}}function SZ(n,s){if(1&n){const e=t.EpF();t.TgZ(0,\"div\",20),t.TgZ(1,\"div\",21),t.TgZ(2,\"span\",22),t._uU(3),t.qZA(),t.YNc(4,NZ,2,1,\"span\",23),t.qZA(),t.TgZ(5,\"div\"),t.TgZ(6,\"button\",37),t.NdJ(\"click\",function(){const d=t.CHM(e).$implicit;return t.oxw().deleteAlertGroup(d._id,\"OCPP_CP\")}),t.ALo(7,\"translate\"),t.qZA(),t.TgZ(8,\"button\",25),t.NdJ(\"click\",function(){const d=t.CHM(e).$implicit;return t.oxw().openDialogCreateGroup(d.name,d.description,d._id,\"alert_OCPP_CP\")}),t.ALo(9,\"translate\"),t.qZA(),t.TgZ(10,\"button\",26),t.NdJ(\"click\",function(){const d=t.CHM(e).$implicit;return t.oxw().duplicateAlertGroup(d,\"OCPP_CP\")}),t.ALo(11,\"translate\"),t.qZA(),t.qZA(),t.qZA()}if(2&n){const e=s.$implicit;t.xp6(3),t.hij(\" \",e.name,\" \"),t.xp6(1),t.Q6J(\"ngIf\",e.description),t.xp6(2),t.s9C(\"pTooltip\",t.lcZ(7,5,\"Elimina\")),t.xp6(2),t.s9C(\"pTooltip\",t.lcZ(9,7,\"Modifica\")),t.xp6(2),t.s9C(\"pTooltip\",t.lcZ(11,9,\"Duplica\"))}}function LZ(n,s){if(1&n){const e=t.EpF();t.TgZ(0,\"div\",31),t.TgZ(1,\"p-checkbox\",36),t.NdJ(\"ngModelChange\",function(a){return t.CHM(e),t.oxw(2).selectedAlertsOCPPCP=a}),t.qZA(),t.qZA()}if(2&n){const e=s.$implicit,o=t.oxw(2);t.xp6(1),t.s9C(\"pTooltip\",e.description),t.Q6J(\"ngModel\",o.selectedAlertsOCPPCP)(\"label\",e.name)(\"value\",e._id)}}function DZ(n,s){if(1&n){const e=t.EpF();t.TgZ(0,\"div\",27),t.TgZ(1,\"input\",28),t.NdJ(\"input\",function(a){return t.CHM(e),t.oxw().onSearchAlertChange(a)})(\"ngModelChange\",function(a){return t.CHM(e),t.oxw().searchAlertsString=a}),t.ALo(2,\"translate\"),t.qZA(),t.TgZ(3,\"div\",29),t.YNc(4,LZ,2,4,\"div\",30),t.qZA(),t.qZA()}if(2&n){const e=t.oxw();t.xp6(1),t.s9C(\"placeholder\",t.lcZ(2,3,\"Cerca\")),t.Q6J(\"ngModel\",e.searchAlertsString),t.xp6(3),t.Q6J(\"ngForOf\",e.filteredAlertsOCPPCP)}}function RZ(n,s){if(1&n){const e=t.EpF();t.TgZ(0,\"button\",34),t.NdJ(\"click\",function(){return t.CHM(e),t.oxw(2).selectDeselectAllAlerts(\"SERVICE_EMAIL\")}),t.qZA()}if(2&n){const e=t.oxw(2);t.s9C(\"label\",e.selectDeselectAlertsServiceEmailLabel)}}function FZ(n,s){if(1&n){const e=t.EpF();t.TgZ(0,\"button\",39),t.NdJ(\"click\",function(){return t.CHM(e),t.oxw(2).confirmAddAlerts(\"SERVICE_EMAIL\")}),t.ALo(1,\"translate\"),t.qZA()}2&n&&t.s9C(\"label\",t.lcZ(1,1,\"Conferma\"))}function GZ(n,s){if(1&n&&(t.TgZ(0,\"span\"),t._uU(1),t.qZA()),2&n){const e=t.oxw().$implicit;t.xp6(1),t.hij(\" : \",e.description,\" \")}}function JZ(n,s){if(1&n){const e=t.EpF();t.TgZ(0,\"div\",20),t.TgZ(1,\"div\",21),t.TgZ(2,\"span\",22),t._uU(3),t.qZA(),t.YNc(4,GZ,2,1,\"span\",23),t.qZA(),t.TgZ(5,\"div\"),t.TgZ(6,\"button\",37),t.NdJ(\"click\",function(){const d=t.CHM(e).$implicit;return t.oxw(2).deleteAlertGroup(d._id,\"SERVICE_EMAIL\")}),t.ALo(7,\"translate\"),t.qZA(),t.TgZ(8,\"button\",25),t.NdJ(\"click\",function(){const d=t.CHM(e).$implicit;return t.oxw(2).openDialogCreateGroup(d.name,d.description,d._id,\"alert_SERVICE_EMAIL\")}),t.ALo(9,\"translate\"),t.qZA(),t.TgZ(10,\"button\",26),t.NdJ(\"click\",function(){const d=t.CHM(e).$implicit;return t.oxw(2).duplicateAlertGroup(d,\"SERVICE_EMAIL\")}),t.ALo(11,\"translate\"),t.qZA(),t.qZA(),t.qZA()}if(2&n){const e=s.$implicit;t.xp6(3),t.hij(\" \",e.name,\" \"),t.xp6(1),t.Q6J(\"ngIf\",e.description),t.xp6(2),t.s9C(\"pTooltip\",t.lcZ(7,5,\"Elimina\")),t.xp6(2),t.s9C(\"pTooltip\",t.lcZ(9,7,\"Modifica\")),t.xp6(2),t.s9C(\"pTooltip\",t.lcZ(11,9,\"Duplica\"))}}function BZ(n,s){if(1&n){const e=t.EpF();t.TgZ(0,\"div\",31),t.TgZ(1,\"p-checkbox\",36),t.NdJ(\"ngModelChange\",function(a){return t.CHM(e),t.oxw(3).selectedAlertsServiceEmail=a}),t.qZA(),t.qZA()}if(2&n){const e=s.$implicit,o=t.oxw(3);t.xp6(1),t.s9C(\"pTooltip\",e.description),t.Q6J(\"ngModel\",o.selectedAlertsServiceEmail)(\"label\",e.name)(\"value\",e._id)}}function QZ(n,s){if(1&n){const e=t.EpF();t.TgZ(0,\"div\",27),t.TgZ(1,\"input\",28),t.NdJ(\"input\",function(a){return t.CHM(e),t.oxw(2).onSearchServiceEmailChange(a)})(\"ngModelChange\",function(a){return t.CHM(e),t.oxw(2).searchServiceEmailString=a}),t.ALo(2,\"translate\"),t.qZA(),t.TgZ(3,\"div\",29),t.YNc(4,BZ,2,4,\"div\",30),t.qZA(),t.qZA()}if(2&n){const e=t.oxw(2);t.xp6(1),t.s9C(\"placeholder\",t.lcZ(2,3,\"Cerca\")),t.Q6J(\"ngModel\",e.searchServiceEmailString),t.xp6(3),t.Q6J(\"ngForOf\",e.filteredAlertsServiceEmail)}}function zZ(n,s){if(1&n){const e=t.EpF();t.TgZ(0,\"div\",3),t.TgZ(1,\"div\",4),t.TgZ(2,\"h4\",5),t._uU(3),t.ALo(4,\"translate\"),t.qZA(),t.qZA(),t.TgZ(5,\"div\",6),t.TgZ(6,\"div\",7),t.TgZ(7,\"div\"),t.TgZ(8,\"button\",8),t.NdJ(\"click\",function(){return t.CHM(e),t.oxw().openDialogCreateGroup(\"\",\"\",\"\",\"alert_SERVICE_EMAIL\")}),t.ALo(9,\"translate\"),t.qZA(),t.qZA(),t.TgZ(10,\"div\"),t.YNc(11,RZ,1,1,\"button\",17),t.YNc(12,FZ,2,3,\"button\",38),t.qZA(),t.qZA(),t.TgZ(13,\"div\",11),t.TgZ(14,\"p-listbox\",12),t.NdJ(\"ngModelChange\",function(a){return t.CHM(e),t.oxw().selectedAlertsGroupServiceEmail=a})(\"onChange\",function(){return t.CHM(e),t.oxw().selectedAlertGroup(\"SERVICE_EMAIL\")})(\"onClick\",function(){return t.CHM(e),t.oxw().selectedAlertGroup(\"SERVICE_EMAIL\")}),t.YNc(15,JZ,12,11,\"ng-template\",13),t.qZA(),t.YNc(16,QZ,5,5,\"div\",14),t.qZA(),t.qZA(),t.qZA()}if(2&n){const e=t.oxw();t.xp6(3),t.Oqu(t.lcZ(4,10,\"Email di servizio\")),t.xp6(5),t.s9C(\"label\",t.lcZ(9,12,\"Crea gruppo\")),t.xp6(3),t.Q6J(\"ngIf\",e.selectedAlertsGroupServiceEmail),t.xp6(1),t.Q6J(\"ngIf\",e.selectedAlertsGroupServiceEmail),t.xp6(2),t.Akn(t.DdM(14,ee)),t.Q6J(\"options\",e.alertsGroupsServiceEmail)(\"ngModel\",e.selectedAlertsGroupServiceEmail)(\"listStyle\",t.DdM(15,ne)),t.xp6(2),t.Q6J(\"ngIf\",e.selectedAlertsGroupServiceEmail)}}let $Z=(()=>{class n{constructor(e,o,a,d,h,E,y){this.groupsService=e,this.chargePointsService=o,this.cpoService=a,this.translate=d,this.dialogService=h,this.notifyService=E,this.alertService=y,this.displayMode=\"description\",this.displayModeLabel=this.translate.instant(\"Descrizione\"),this.displayModeNetwork=\"description\",this.displayModeNetworkLabel=this.translate.instant(\"Descrizione\")}ngOnInit(){return(0,C.mG)(this,void 0,void 0,function*(){const e=JSON.parse(b().get(\"dataEmpCpo\",{decrypt:!0}));this.dataEmpCpoId=e.id,this.tenantId=e.tenantId,this.isSub=e.cpo.cpoGroup.subCpo,this.userCpoGroups=yield this.groupsService.getAllUserCpoGroups(this.dataEmpCpoId).toPromise(),this.userCpoGroups=this.userCpoGroups.sort((d,h)=>d.name.toLowerCase()>h.name.toLowerCase()?1:h.name.toLowerCase()>d.name.toLowerCase()?-1:0),this.chargepointsGroups=yield this.groupsService.getChargepointGroupsByType(this.dataEmpCpoId,\"owner\").toPromise(),this.chargepointsGroups=this.chargepointsGroups.sort((d,h)=>d.name.toLowerCase()>h.name.toLowerCase()?1:h.name.toLowerCase()>d.name.toLowerCase()?-1:0),this.chargepointsNetworkGroups=yield this.groupsService.getChargepointGroupsByType(this.dataEmpCpoId,\"network\").toPromise(),this.chargepointsNetworkGroups=this.chargepointsNetworkGroups.sort((d,h)=>d.name.toLowerCase()>h.name.toLowerCase()?1:h.name.toLowerCase()>d.name.toLowerCase()?-1:0);const o=yield this.groupsService.getAllAlertGroups(this.dataEmpCpoId).toPromise();this.alertsGroupsServiceEmail=o.filter(d=>\"SERVICE_EMAIL\"===d.type).sort((d,h)=>d.name.toLowerCase()>h.name.toLowerCase()?1:h.name.toLowerCase()>d.name.toLowerCase()?-1:0),this.alertsGroupsOCPPCP=o.filter(d=>\"OCPP_CP\"===d.type).sort((d,h)=>d.name.toLowerCase()>h.name.toLowerCase()?1:h.name.toLowerCase()>d.name.toLowerCase()?-1:0),this.usersCpo=yield this.cpoService.getAllAssociatedUsers().toPromise(),this.usersCpo=this.usersCpo.sort((d,h)=>d.email.toLowerCase()>h.email.toLowerCase()?1:h.email.toLowerCase()>d.email.toLowerCase()?-1:0),this.filteredUsersCpo=this.usersCpo,this.chargepoints=yield this.chargePointsService.getAllCpsByIdCpoNP(this.dataEmpCpoId).toPromise(),this.chargepoints=this.chargepoints.filter(d=>\"DELETE\"!==d.description).sort((d,h)=>d.description>h.description?1:h.description>d.description?-1:0),this.filteredChargepoints=this.chargepoints,this.chargepointsNetwork=yield this.chargePointsService.getAll().toPromise(),this.chargepointsNetwork=this.chargepointsNetwork.filter(d=>\"DELETE\"!==d.description).sort((d,h)=>d.description>h.description?1:h.description>d.description?-1:0),this.filteredChargepointsNetwork=this.chargepointsNetwork;const a=yield this.alertService.getAllAlerts().toPromise();this.alertsOCPPCP=a.filter(d=>\"OCPP_CP\"===d.type).sort((d,h)=>d.name.toLowerCase()>h.name.toLowerCase()?1:h.name.toLowerCase()>d.name.toLowerCase()?-1:0),this.filteredAlertsOCPPCP=this.alertsOCPPCP,this.alertsServiceEmail=a.filter(d=>\"SERVICE_EMAIL\"===d.type).sort((d,h)=>d.name.toLowerCase()>h.name.toLowerCase()?1:h.name.toLowerCase()>d.name.toLowerCase()?-1:0),this.filteredAlertsServiceEmail=this.alertsServiceEmail,this.isLoading=!1})}confirmAddUsers(){return(0,C.mG)(this,void 0,void 0,function*(){try{const e=yield this.groupsService.editUserCpoGroup({dataEmpCpoId:this.dataEmpCpoId,name:this.selectedUserCpoGroup.name,description:this.selectedUserCpoGroup.description,type:this.selectedUserCpoGroup.type,usersId:this.selectedUsersCpo},this.selectedUserCpoGroup.id).toPromise();this.userCpoGroups=this.userCpoGroups.map(o=>o.id===e.id?e:o),this.notifyService.showSuccess(this.translate.instant(\"Utenti associati al gruppo: \")+e.name,this.translate.instant(\"Attenzione\"))}catch(e){this.notifyService.showError(this.translate.instant(\"Errore, nell'aggiunta degli utenti\"),this.translate.instant(\"Attenzione\"))}})}confirmAddChargepoints(){return(0,C.mG)(this,void 0,void 0,function*(){try{const e=yield this.groupsService.editChargepointGroup({dataEmpCpoId:this.dataEmpCpoId,name:this.selectedChargepointsGroup.name,description:this.selectedChargepointsGroup.description,chargeboxIdList:this.selectedChargepoints,type:this.selectedChargepointsGroup.type},this.selectedChargepointsGroup.id).toPromise();this.chargepointsGroups=this.chargepointsGroups.map(o=>o.id===e.id?e:o),this.notifyService.showSuccess(this.translate.instant(\"Stazioni associati al gruppo: \")+e.name,this.translate.instant(\"Attenzione\"))}catch(e){this.notifyService.showError(this.translate.instant(\"Errore, nell'aggiunta delle stazioni\"),this.translate.instant(\"Attenzione\"))}})}confirmAddChargepointsNetwork(){return(0,C.mG)(this,void 0,void 0,function*(){try{const e=yield this.groupsService.editChargepointGroup({dataEmpCpoId:this.dataEmpCpoId,name:this.selectedChargepointsNetworkGroup.name,description:this.selectedChargepointsNetworkGroup.description,chargeboxIdList:this.selectedChargepointsNetwork,type:this.selectedChargepointsNetworkGroup.type},this.selectedChargepointsNetworkGroup.id).toPromise();this.chargepointsNetworkGroups=this.chargepointsNetworkGroups.map(o=>o.id===e.id?e:o),this.notifyService.showSuccess(this.translate.instant(\"Stazioni associati al gruppo: \")+e.name,this.translate.instant(\"Attenzione\"))}catch(e){this.notifyService.showError(this.translate.instant(\"Errore, nell'aggiunta delle stazioni\"),this.translate.instant(\"Attenzione\"))}})}confirmAddAlerts(e){return(0,C.mG)(this,void 0,void 0,function*(){try{if(\"OCPP_CP\"===e){const o=yield this.groupsService.editAlertGroup({dataEmpCpoId:this.dataEmpCpoId,name:this.selectedAlertsGroupOCPPCP.name,description:this.selectedAlertsGroupOCPPCP.description,type:e,alertsId:this.selectedAlertsOCPPCP},this.selectedAlertsGroupOCPPCP._id).toPromise();this.alertsGroupsOCPPCP=this.alertsGroupsOCPPCP.map(a=>a._id===o._id?o:a),this.notifyService.showSuccess(this.translate.instant(\"Alert associati al gruppo: \")+o.name,this.translate.instant(\"Attenzione\"))}else if(\"SERVICE_EMAIL\"===e){const o=yield this.groupsService.editAlertGroup({dataEmpCpoId:this.dataEmpCpoId,name:this.selectedAlertsGroupServiceEmail.name,description:this.selectedAlertsGroupServiceEmail.description,type:e,alertsId:this.selectedAlertsServiceEmail},this.selectedAlertsGroupServiceEmail._id).toPromise();this.alertsGroupsServiceEmail=this.alertsGroupsServiceEmail.map(a=>a._id===o._id?o:a),this.notifyService.showSuccess(this.translate.instant(\"Email di servizio associate al gruppo: \")+o.name,this.translate.instant(\"Attenzione\"))}}catch(o){this.notifyService.showError(this.translate.instant(\"Errore, nell'aggiunta delle notifiche\"),this.translate.instant(\"Attenzione\"))}})}selectedUserGroup(){this.selectedUsersCpo=this.selectedUserCpoGroup.usersDetails.map(e=>e.id),this.selectDeselectUsersCpoLabel=this.translate.instant(this.selectedUsersCpo.length!==this.usersCpo.length?\"Seleziona tutti\":\"Deseleziona tutti\")}selectedChargepointGroup(){this.selectedChargepoints=this.selectedChargepointsGroup.chargepointsDetails?this.selectedChargepointsGroup.chargepointsDetails.map(e=>e.chargeBoxId):[],this.selectDeselectChargepointsLabel=this.translate.instant(this.selectedChargepoints.length!==this.chargepoints.length?\"Seleziona tutti\":\"Deseleziona tutti\")}selectedChargepointNetworkGroup(){this.selectedChargepointsNetwork=this.selectedChargepointsNetworkGroup.chargepointsDetails?this.selectedChargepointsNetworkGroup.chargepointsDetails.map(e=>e.chargeBoxId):[],this.selectDeselectChargepointsNetworkLabel=this.translate.instant(this.selectedChargepointsNetwork.length!==this.chargepointsNetwork.length?\"Seleziona tutti\":\"Deseleziona tutti\")}selectedAlertGroup(e){\"OCPP_CP\"===e?(this.selectedAlertsOCPPCP=this.selectedAlertsGroupOCPPCP.alertsDetails?this.selectedAlertsGroupOCPPCP.alertsDetails.map(o=>o._id):[],this.selectDeselectAlertsOCPPCPLabel=this.translate.instant(this.selectedAlertsOCPPCP.length!==this.alertsOCPPCP.length?\"Seleziona tutti\":\"Deseleziona tutti\")):\"SERVICE_EMAIL\"===e&&(this.selectedAlertsServiceEmail=this.selectedAlertsGroupServiceEmail.alertsDetails?this.selectedAlertsGroupServiceEmail.alertsDetails.map(o=>o._id):[],this.selectDeselectAlertsServiceEmailLabel=this.translate.instant(this.selectedAlertsServiceEmail.length!==this.alertsServiceEmail.length?\"Seleziona tutti\":\"Deseleziona tutti\"))}changeDisplayMode(){\"chargeBoxId\"===this.displayMode?(this.displayMode=\"description\",this.chargepoints=this.chargepoints.sort((e,o)=>e.description>o.description?1:o.description>e.description?-1:0),this.chargepoints=this.chargepoints.slice(),this.displayModeLabel=this.translate.instant(\"ID Stazione\")):\"description\"===this.displayMode&&(this.displayMode=\"chargeBoxId\",this.chargepoints=this.chargepoints.sort((e,o)=>e.chargeBoxId.toLowerCase()>o.chargeBoxId.toLowerCase()?1:o.chargeBoxId.toLowerCase()>e.chargeBoxId.toLowerCase()?-1:0),this.chargepoints=this.chargepoints.slice(),this.displayModeLabel=this.translate.instant(\"Descrizione\"))}changeDisplayModeNetwork(){\"chargeBoxId\"===this.displayModeNetwork?(this.displayModeNetwork=\"description\",this.chargepointsNetwork=this.chargepointsNetwork.sort((e,o)=>e.description>o.description?1:o.description>e.description?-1:0),this.chargepointsNetwork=this.chargepointsNetwork.slice(),this.displayModeNetworkLabel=this.translate.instant(\"ID Stazione\")):\"description\"===this.displayModeNetwork&&(this.displayModeNetwork=\"chargeBoxId\",this.chargepointsNetwork=this.chargepointsNetwork.sort((e,o)=>e.chargeBoxId.toLowerCase()>o.chargeBoxId.toLowerCase()?1:o.chargeBoxId.toLowerCase()>e.chargeBoxId.toLowerCase()?-1:0),this.chargepointsNetwork=this.chargepointsNetwork.slice(),this.displayModeNetworkLabel=this.translate.instant(\"Descrizione\"))}selectDeselectAllUsers(){this.selectedUsersCpo.length!==this.usersCpo.length?(this.selectedUsersCpo=this.usersCpo.map(e=>e.id),this.selectDeselectUsersCpoLabel=this.translate.instant(\"Deseleziona tutti\")):(this.selectedUsersCpo=[],this.selectDeselectUsersCpoLabel=this.translate.instant(\"Seleziona tutti\"))}selectDeselectAllChargepoints(){this.selectedChargepoints.length!==this.chargepoints.length?(this.selectedChargepoints=this.chargepoints.map(e=>e.chargeBoxId),this.selectDeselectChargepointsLabel=this.translate.instant(\"Deseleziona tutti\")):(this.selectedChargepoints=[],this.selectDeselectChargepointsLabel=this.translate.instant(\"Seleziona tutti\"))}selectDeselectAllChargepointsNetwork(){this.selectedChargepointsNetwork.length!==this.chargepointsNetwork.length?(this.selectedChargepointsNetwork=this.chargepointsNetwork.map(e=>e.chargeBoxId),this.selectDeselectChargepointsNetworkLabel=this.translate.instant(\"Deseleziona tutti\")):(this.selectedChargepointsNetwork=[],this.selectDeselectChargepointsNetworkLabel=this.translate.instant(\"Seleziona tutti\"))}selectDeselectAllAlerts(e){\"OCPP_CP\"===e?this.selectedAlertsOCPPCP.length!==this.alertsOCPPCP.length?(this.selectedAlertsOCPPCP=this.alertsOCPPCP.map(o=>o._id),this.selectDeselectAlertsOCPPCPLabel=this.translate.instant(\"Deseleziona tutti\")):(this.selectedAlertsOCPPCP=[],this.selectDeselectAlertsOCPPCPLabel=this.translate.instant(\"Seleziona tutti\")):\"SERVICE_EMAIL\"===e&&(this.selectedAlertsServiceEmail.length!==this.alertsServiceEmail.length?(this.selectedAlertsServiceEmail=this.alertsServiceEmail.map(o=>o._id),this.selectDeselectAlertsServiceEmailLabel=this.translate.instant(\"Deseleziona tutti\")):(this.selectedAlertsServiceEmail=[],this.selectDeselectAlertsServiceEmailLabel=this.translate.instant(\"Seleziona tutti\")))}openDialogCreateGroup(e,o,a,d){this.dialogService.open(dZ,{width:\"450px\",height:\"450px\",data:{name:e,description:o}}).afterClosed().subscribe(E=>(0,C.mG)(this,void 0,void 0,function*(){\"\"===e&&\"\"===o&&\"\"===a?\"usercpo\"===d?(E.type=d,E.dataEmpCpoId=this.dataEmpCpoId,E.usersId=[],this.groupsService.addUserCpoGroup(E).subscribe({next:y=>{this.userCpoGroups.push(y),this.userCpoGroups.sort((D,V)=>D.name.toLowerCase()>V.name.toLowerCase()?1:V.name.toLowerCase()>D.name.toLowerCase()?-1:0),this.userCpoGroups=[...this.userCpoGroups],this.notifyService.showSuccess(this.translate.instant(\"Gruppo creato: \"+y.name),this.translate.instant(\"Attenzione\"))},error:y=>{this.notifyService.showError(this.translate.instant(409===y.status?\"Errore, nome gi\\xe0 esistente\":\"Errore, nella creazione del gruppo\"),this.translate.instant(\"Attenzione\"))}})):\"chargepoint\"===d?(E.chargeboxIdList=[],E.dataEmpCpoId=this.dataEmpCpoId,E.tenantId=this.tenantId,E.type=\"owner\",this.groupsService.addChargepointGroup(E).subscribe({next:y=>{this.chargepointsGroups.push(y),this.chargepointsGroups=this.chargepointsGroups.sort((D,V)=>D.name.toLowerCase()>V.name.toLowerCase()?1:V.name.toLowerCase()>D.name.toLowerCase()?-1:0),this.chargepointsGroups=this.chargepointsGroups.slice(),this.notifyService.showSuccess(this.translate.instant(\"Gruppo creato: \"+y.name),this.translate.instant(\"Attenzione\"))},error:y=>{this.notifyService.showError(this.translate.instant(409===y.status?\"Errore, nome gi\\xe0 esistente\":\"Errore, nella creazione del gruppo\"),this.translate.instant(\"Attenzione\"))}})):\"chargepointNetwork\"===d?(E.chargeboxIdList=[],E.tenantId=this.tenantId,E.dataEmpCpoId=this.dataEmpCpoId,E.type=\"network\",this.groupsService.addChargepointGroup(E).subscribe({next:y=>{this.chargepointsNetworkGroups.push(y),this.chargepointsNetworkGroups=this.chargepointsNetworkGroups.sort((D,V)=>D.name.toLowerCase()>V.name.toLowerCase()?1:V.name.toLowerCase()>D.name.toLowerCase()?-1:0),this.chargepointsNetworkGroups=this.chargepointsNetworkGroups.slice(),this.notifyService.showSuccess(this.translate.instant(\"Gruppo creato: \"+y.name),this.translate.instant(\"Attenzione\"))},error:y=>{this.notifyService.showError(this.translate.instant(409===y.status?\"Errore, nome gi\\xe0 esistente\":\"Errore, nella creazione del gruppo\"),this.translate.instant(\"Attenzione\"))}})):\"alert_OCPP_CP\"===d?(E.alertsId=[],E.dataEmpCpoId=this.dataEmpCpoId,E.type=\"OCPP_CP\",this.groupsService.addAlertGroup(E).subscribe({next:y=>{this.alertsGroupsOCPPCP.push(y),this.alertsGroupsOCPPCP=this.alertsGroupsOCPPCP.sort((D,V)=>D.name.toLowerCase()>V.name.toLowerCase()?1:V.name.toLowerCase()>D.name.toLowerCase()?-1:0),this.alertsGroupsOCPPCP=this.alertsGroupsOCPPCP.slice(),this.notifyService.showSuccess(this.translate.instant(\"Gruppo creato: \"+y.name),this.translate.instant(\"Attenzione\"))},error:y=>{this.notifyService.showError(this.translate.instant(409===y.status?\"Errore, nome gi\\xe0 esistente\":\"Errore, nella creazione del gruppo\"),this.translate.instant(\"Attenzione\"))}})):\"alert_SERVICE_EMAIL\"===d&&(E.alertsId=[],E.dataEmpCpoId=this.dataEmpCpoId,E.type=\"SERVICE_EMAIL\",this.groupsService.addAlertGroup(E).subscribe({next:y=>{this.alertsGroupsServiceEmail.push(y),this.alertsGroupsServiceEmail=this.alertsGroupsServiceEmail.sort((D,V)=>D.name.toLowerCase()>V.name.toLowerCase()?1:V.name.toLowerCase()>D.name.toLowerCase()?-1:0),this.alertsGroupsServiceEmail=this.alertsGroupsServiceEmail.slice(),this.notifyService.showSuccess(this.translate.instant(\"Gruppo creato: \"+y.name),this.translate.instant(\"Attenzione\"))},error:y=>{this.notifyService.showError(this.translate.instant(409===y.status?\"Errore, nome gi\\xe0 esistente\":\"Errore, nella creazione del gruppo\"),this.translate.instant(\"Attenzione\"))}})):\"usercpo\"===d?this.groupsService.editUserCpoGroup({dataEmpCpoId:this.dataEmpCpoId,name:E.name,description:E.description,type:\"usercpo\",usersId:this.userCpoGroups.find(y=>y.id===a).usersDetails.map(y=>y.id)},a).subscribe({next:y=>{this.userCpoGroups=this.userCpoGroups.map(D=>D.id===y.id?y:D),this.userCpoGroups=this.userCpoGroups.sort((D,V)=>D.name.toLowerCase()>V.name.toLowerCase()?1:V.name.toLowerCase()>D.name.toLowerCase()?-1:0),this.notifyService.showSuccess(this.translate.instant(\"Gruppo modificato\"),this.translate.instant(\"Attenzione\")),this.selectedUserCpoGroup=null},error:y=>{this.notifyService.showError(this.translate.instant(409===y.status?\"Errore, nome gi\\xe0 esistente\":\"Errore, nella modifica del gruppo\"),this.translate.instant(\"Attenzione\")),this.selectedUserCpoGroup=null}}):\"chargepoint\"===d?this.groupsService.editChargepointGroup({dataEmpCpoId:this.dataEmpCpoId,name:E.name,description:E.description,type:\"owner\",chargeboxIdList:this.chargepointsGroups.find(y=>y.id===a).chargepointsDetails.map(y=>y.chargeBoxId)},a).subscribe({next:y=>{this.chargepointsGroups=this.chargepointsGroups.map(D=>D.id===y.id?y:D),this.chargepointsGroups=this.chargepointsGroups.sort((D,V)=>D.name.toLowerCase()>V.name.toLowerCase()?1:V.name.toLowerCase()>D.name.toLowerCase()?-1:0),this.notifyService.showSuccess(this.translate.instant(\"Gruppo modificato\"),this.translate.instant(\"Attenzione\"))},error:y=>{this.notifyService.showError(this.translate.instant(409===y.status?\"Errore, nome gi\\xe0 esistente\":\"Errore, nella modifica del gruppo\"),this.translate.instant(\"Attenzione\"))}}):\"chargepointNetwork\"===d?this.groupsService.editChargepointGroup({dataEmpCpoId:this.dataEmpCpoId,name:E.name,type:\"network\",description:E.description,chargeboxIdList:this.chargepointsNetworkGroups.find(y=>y.id===a).chargepointsDetails.map(y=>y.chargeBoxId)},a).subscribe({next:y=>{this.chargepointsNetworkGroups=this.chargepointsNetworkGroups.map(D=>D.id===y.id?y:D),this.chargepointsNetworkGroups=this.chargepointsNetworkGroups.sort((D,V)=>D.name.toLowerCase()>V.name.toLowerCase()?1:V.name.toLowerCase()>D.name.toLowerCase()?-1:0),this.notifyService.showSuccess(this.translate.instant(\"Gruppo modificato\"),this.translate.instant(\"Attenzione\"))},error:y=>{this.notifyService.showError(this.translate.instant(409===y.status?\"Errore, nome gi\\xe0 esistente\":\"Errore, nella modifica del gruppo\"),this.translate.instant(\"Attenzione\"))}}):\"alert_OCPP_CP\"===d?this.groupsService.editAlertGroup({dataEmpCpoId:this.dataEmpCpoId,name:E.name,type:\"OCPP_CP\",description:E.description,alertsId:this.alertsGroupsOCPPCP.find(y=>y._id===a).alertsDetails.map(y=>y._id)},a).subscribe({next:y=>{this.alertsGroupsOCPPCP=this.alertsGroupsOCPPCP.map(D=>D._id===y._id?y:D),this.alertsGroupsOCPPCP=this.alertsGroupsOCPPCP.sort((D,V)=>D.name.toLowerCase()>V.name.toLowerCase()?1:V.name.toLowerCase()>D.name.toLowerCase()?-1:0),this.notifyService.showSuccess(this.translate.instant(\"Gruppo modificato\"),this.translate.instant(\"Attenzione\"))},error:y=>{this.notifyService.showError(this.translate.instant(409===y.status?\"Errore, nome gi\\xe0 esistente\":\"Errore, nella modifica del gruppo\"),this.translate.instant(\"Attenzione\"))}}):\"alert_SERVICE_EMAIL\"===d&&this.groupsService.editAlertGroup({dataEmpCpoId:this.dataEmpCpoId,name:E.name,type:\"SERVICE_EMAIL\",description:E.description,alertsId:this.alertsGroupsServiceEmail.find(y=>y._id===a).alertsDetails.map(y=>y._id)},a).subscribe({next:y=>{this.alertsGroupsServiceEmail=this.alertsGroupsServiceEmail.map(D=>D._id===y._id?y:D),this.alertsGroupsServiceEmail=this.alertsGroupsServiceEmail.sort((D,V)=>D.name.toLowerCase()>V.name.toLowerCase()?1:V.name.toLowerCase()>D.name.toLowerCase()?-1:0),this.notifyService.showSuccess(this.translate.instant(\"Gruppo modificato\"),this.translate.instant(\"Attenzione\"))},error:y=>{this.notifyService.showError(this.translate.instant(409===y.status?\"Errore, nome gi\\xe0 esistente\":\"Errore, nella modifica del gruppo\"),this.translate.instant(\"Attenzione\"))}})}))}deleteUserCpoGroup(e){return(0,C.mG)(this,void 0,void 0,function*(){const o=new ht.f(this.translate.instant(\"Vuoi eliminare il gruppo?\"),this.translate.instant(\"Anche le associazioni di cui fa parte questo gruppo verranno eliminate\"),\"warning\");this.dialogService.open(ht.z,{maxWidth:\"400px\",data:o}).afterClosed().subscribe(d=>(0,C.mG)(this,void 0,void 0,function*(){if(d)try{yield this.groupsService.deleteUserCpoGroup(this.dataEmpCpoId,e).toPromise(),this.userCpoGroups=this.userCpoGroups.filter(h=>h.id!==e),this.selectedUserCpoGroup=null,this.notifyService.showSuccess(this.translate.instant(\"Gruppo eliminato\"),this.translate.instant(\"Attenzione\"))}catch(h){this.notifyService.showError(this.translate.instant(\"Errore, nell'eliminazione del gruppo\"),this.translate.instant(\"Attenzione\"))}}))})}deleteChargepointGroup(e){return(0,C.mG)(this,void 0,void 0,function*(){const o=new ht.f(this.translate.instant(\"Vuoi eliminare il gruppo?\"),this.translate.instant(\"Anche le associazioni di cui fa parte questo gruppo verranno eliminate\"),\"warning\");this.dialogService.open(ht.z,{maxWidth:\"400px\",data:o}).afterClosed().subscribe(d=>(0,C.mG)(this,void 0,void 0,function*(){if(d)try{yield this.groupsService.deleteChargepointGroup(this.dataEmpCpoId,e).toPromise(),this.chargepointsGroups=this.chargepointsGroups.filter(h=>h.id!==e),this.chargepointsNetworkGroups=this.chargepointsNetworkGroups.filter(h=>h.id!==e),this.selectedChargepointsGroup=null,this.selectedChargepointsNetworkGroup=null,this.notifyService.showSuccess(this.translate.instant(\"Gruppo eliminato\"),this.translate.instant(\"Attenzione\"))}catch(h){this.notifyService.showError(this.translate.instant(\"Errore, nell'eliminazione del gruppo\"),this.translate.instant(\"Attenzione\"))}}))})}deleteAlertGroup(e,o){return(0,C.mG)(this,void 0,void 0,function*(){const a=new ht.f(this.translate.instant(\"Vuoi eliminare il gruppo?\"),this.translate.instant(\"Anche le associazioni di cui fa parte questo gruppo verranno eliminate\"),\"warning\");this.dialogService.open(ht.z,{maxWidth:\"400px\",data:a}).afterClosed().subscribe(h=>(0,C.mG)(this,void 0,void 0,function*(){if(h)try{yield this.groupsService.deleteAlertGroup(this.dataEmpCpoId,e).toPromise(),\"OCPP_CP\"===o?(this.alertsGroupsOCPPCP=this.alertsGroupsOCPPCP.filter(E=>E._id!==e),this.selectedAlertsGroupOCPPCP=null):\"SERVICE_EMAIL\"===o&&(this.alertsGroupsServiceEmail=this.alertsGroupsServiceEmail.filter(E=>E._id!==e),this.selectedAlertsGroupServiceEmail=null),this.notifyService.showSuccess(this.translate.instant(\"Gruppo eliminato\"),this.translate.instant(\"Attenzione\"))}catch(E){this.notifyService.showError(this.translate.instant(\"Errore, nell'eliminazione del gruppo\"),this.translate.instant(\"Attenzione\"))}}))})}duplicateUserCpoGroup(e){return(0,C.mG)(this,void 0,void 0,function*(){const o={name:e.name+\" - Copia\",description:e.description,usersId:e.usersDetails.map(a=>a.id),type:e.type,dataEmpCpoId:this.dataEmpCpoId};this.groupsService.addUserCpoGroup(o).subscribe({next:a=>{this.userCpoGroups.push(a),this.userCpoGroups=this.userCpoGroups.sort((d,h)=>d.name.toLowerCase()>h.name.toLowerCase()?1:h.name.toLowerCase()>d.name.toLowerCase()?-1:0),this.userCpoGroups=this.userCpoGroups.slice(),this.notifyService.showSuccess(this.translate.instant(\"Gruppo duplicato: \"+a.name),this.translate.instant(\"Attenzione\"))},error:a=>{this.notifyService.showError(this.translate.instant(409===a.status?\"Errore, nome gi\\xe0 esistente\":\"Errore, nella creazione del gruppo\"),this.translate.instant(\"Attenzione\"))}})})}duplicateChargepointGroup(e){return(0,C.mG)(this,void 0,void 0,function*(){let o;console.log(e),o={dataEmpCpoId:this.dataEmpCpoId,name:e.name+\" - Copia\",type:e.type,description:e.description,chargeboxIdList:e.chargepointsDetails?e.chargepointsDetails.map(a=>a.chargeBoxId):[]},this.groupsService.addChargepointGroup(o).subscribe({next:a=>{\"owner\"===a.type?(this.chargepointsGroups.push(a),this.chargepointsGroups=this.chargepointsGroups.sort((d,h)=>d.name.toLowerCase()>h.name.toLowerCase()?1:h.name.toLowerCase()>d.name.toLowerCase()?-1:0),this.chargepointsGroups=this.chargepointsGroups.slice()):\"network\"===a.type&&(this.chargepointsNetworkGroups.push(a),this.chargepointsNetworkGroups=this.chargepointsNetworkGroups.sort((d,h)=>d.name.toLowerCase()>h.name.toLowerCase()?1:h.name.toLowerCase()>d.name.toLowerCase()?-1:0),this.chargepointsNetworkGroups=this.chargepointsNetworkGroups.slice()),this.notifyService.showSuccess(this.translate.instant(\"Gruppo duplicato: \"+a.name),this.translate.instant(\"Attenzione\"))},error:a=>{this.notifyService.showError(this.translate.instant(409===a.status?\"Errore, nome gi\\xe0 esistente\":\"Errore, nella creazione del gruppo\"),this.translate.instant(\"Attenzione\"))}})})}duplicateAlertGroup(e,o){return(0,C.mG)(this,void 0,void 0,function*(){let a;a={dataEmpCpoId:this.dataEmpCpoId,name:e.name+\" - Copia\",type:o,description:e.description,alertsId:e.alertsDetails?e.alertsDetails.map(d=>d._id):[]},this.groupsService.addAlertGroup(a).subscribe({next:d=>{\"OCPP_CP\"===o?(this.alertsGroupsOCPPCP.push(d),this.alertsGroupsOCPPCP=this.alertsGroupsOCPPCP.sort((h,E)=>h.name.toLowerCase()>E.name.toLowerCase()?1:E.name.toLowerCase()>h.name.toLowerCase()?-1:0),this.alertsGroupsOCPPCP=this.alertsGroupsOCPPCP.slice()):\"SERVICE_EMAIL\"===o&&(this.alertsGroupsServiceEmail.push(d),this.alertsGroupsServiceEmail=this.alertsGroupsServiceEmail.sort((h,E)=>h.name.toLowerCase()>E.name.toLowerCase()?1:E.name.toLowerCase()>h.name.toLowerCase()?-1:0),this.alertsGroupsServiceEmail=this.alertsGroupsServiceEmail.slice()),this.notifyService.showSuccess(this.translate.instant(\"Gruppo duplicato: \"+d.name),this.translate.instant(\"Attenzione\"))},error:d=>{this.notifyService.showError(this.translate.instant(409===d.status?\"Errore, nome gi\\xe0 esistente\":\"Errore, nella creazione del gruppo\"),this.translate.instant(\"Attenzione\"))}})})}onSearchUserChange(e){this.filteredUsersCpo=this.usersCpo.filter(o=>o.email.toLowerCase().includes(this.searchUserString.toLowerCase()))}onSearchChargepointsChange(e){\"chargeBoxId\"===this.displayMode?this.filteredChargepoints=this.chargepoints.filter(o=>o.chargeBoxId.toLowerCase().includes(this.searchChargepointString.toLowerCase())):\"description\"===this.displayMode&&(this.filteredChargepoints=this.chargepoints.filter(o=>!o.description||o.description.toLowerCase().includes(this.searchChargepointString.toLowerCase())))}onSearchAlertChange(e){this.filteredAlertsOCPPCP=this.alertsOCPPCP.filter(o=>o.name.toLowerCase().includes(this.searchAlertsString.toLowerCase()))}onSearchServiceEmailChange(e){this.filteredAlertsServiceEmail=this.alertsServiceEmail.filter(o=>o.name.toLowerCase().includes(this.searchServiceEmailString.toLowerCase()))}}return n.\\u0275fac=function(e){return new(e||n)(t.Y36(xe.J),t.Y36(Rc.K),t.Y36(ut.j),t.Y36(U.sK),t.Y36(O.uw),t.Y36(K.m),t.Y36(Wc))},n.\\u0275cmp=t.Xpm({type:n,selectors:[[\"app-groups\"]],decls:57,vars:51,consts:[[2,\"padding\",\"20px\"],[1,\"row\"],[1,\"col-xl-12\",\"col-xxl-12\"],[1,\"card\",2,\"height\",\"500px\"],[1,\"card-header\",\"d-block\"],[1,\"fs-32\",\"card-title\",\"left\",\"text-black\",2,\"font-family\",\"'Baloo 2',serif\"],[1,\"container\"],[2,\"display\",\"flex\",\"justify-content\",\"space-between\"],[\"icon\",\"fas fa-plus\",\"type\",\"button\",\"pButton\",\"\",\"pRipple\",\"\",1,\"mr-2\",2,\"width\",\"191px\",\"font-family\",\"'Baloo 2',serif\",\"font-size\",\"16px\",\"background-color\",\"white\",\"border-color\",\"#1ab394\",\"color\",\"#1ab394\",3,\"label\",\"click\"],[\"icon\",\"fa fa-users\",\"style\",\"width: 191px; font-family: 'Baloo 2',serif; font-size: 16px; background-color: white; border-color: #3B82F6; color: #3B82F6\",\"type\",\"button\",\"pButton\",\"\",\"pRipple\",\"\",\"class\",\"mr-2\",3,\"label\",\"click\",4,\"ngIf\"],[\"icon\",\"fas fa-check\",\"style\",\"width: 191px; font-family: 'Baloo 2',serif; font-size: 16px; background-color: white; border-color: #1ab394; color: #1ab394\",\"type\",\"button\",\"pButton\",\"\",\"pRipple\",\"\",3,\"label\",\"click\",4,\"ngIf\"],[2,\"margin-top\",\"20px\",\"display\",\"flex\",\"justify-content\",\"space-between\"],[3,\"options\",\"ngModel\",\"listStyle\",\"ngModelChange\",\"onChange\",\"onClick\"],[\"pTemplate\",\"item\"],[\"class\",\"checkbox-filter-container\",4,\"ngIf\"],[\"class\",\"card\",\"style\",\"height: 500px\",4,\"ngIf\"],[\"icon\",\"fas fa-eye\",\"style\",\"width: 191px; font-family: 'Baloo 2',serif; font-size: 16px; background-color: white; border-color: #f7ae5c; color: #f7ae5c\",\"type\",\"button\",\"pButton\",\"\",\"pRipple\",\"\",\"class\",\"mr-2\",\"tooltipStyleClass\",\"tooltip\",3,\"pTooltip\",\"label\",\"click\",4,\"ngIf\"],[\"icon\",\"fas fa-charging-station\",\"style\",\"width: 192px; font-family: 'Baloo 2',serif; font-size: 16px; background-color: white; border-color: #3B82F6; color: #3B82F6\",\"type\",\"button\",\"pButton\",\"\",\"pRipple\",\"\",\"class\",\"mr-2\",3,\"label\",\"click\",4,\"ngIf\"],[\"icon\",\"fa fa-users\",\"type\",\"button\",\"pButton\",\"\",\"pRipple\",\"\",1,\"mr-2\",2,\"width\",\"191px\",\"font-family\",\"'Baloo 2',serif\",\"font-size\",\"16px\",\"background-color\",\"white\",\"border-color\",\"#3B82F6\",\"color\",\"#3B82F6\",3,\"label\",\"click\"],[\"icon\",\"fas fa-check\",\"type\",\"button\",\"pButton\",\"\",\"pRipple\",\"\",2,\"width\",\"191px\",\"font-family\",\"'Baloo 2',serif\",\"font-size\",\"16px\",\"background-color\",\"white\",\"border-color\",\"#1ab394\",\"color\",\"#1ab394\",3,\"label\",\"click\"],[1,\"flex\",\"align-items-center\",\"gap-2\",2,\"display\",\"flex\",\"justify-content\",\"space-between\",\"width\",\"600px\"],[2,\"max-width\",\"350px\"],[2,\"font-weight\",\"bold\"],[4,\"ngIf\"],[\"icon\",\"fas fa-trash\",\"tooltipStyleClass\",\"tooltip\",\"tooltipPosition\",\"bottom\",\"type\",\"button\",\"pButton\",\"\",\"pRipple\",\"\",1,\"mr-2\",2,\"font-family\",\"'Baloo 2',serif\",\"font-size\",\"16px\",\"background-color\",\"white\",\"border-color\",\"red\",\"color\",\"red\",3,\"pTooltip\",\"click\"],[\"type\",\"button\",\"pButton\",\"\",\"pRipple\",\"\",\"icon\",\"fas fa-pen\",\"tooltipStyleClass\",\"tooltip\",\"tooltipPosition\",\"bottom\",1,\"mr-2\",2,\"background-color\",\"white\",\"border-color\",\"#3B82F6\",\"color\",\"#3B82F6\",3,\"pTooltip\",\"click\"],[\"type\",\"button\",\"pButton\",\"\",\"pRipple\",\"\",\"icon\",\"fas fa-copy\",\"tooltipStyleClass\",\"tooltip\",\"tooltipPosition\",\"bottom\",1,\"mr-2\",2,\"background-color\",\"white\",\"border-color\",\"#f7ae5c\",\"color\",\"#f7ae5c\",3,\"pTooltip\",\"click\"],[1,\"checkbox-filter-container\"],[\"type\",\"text\",\"pInputText\",\"\",1,\"search-input\",3,\"placeholder\",\"ngModel\",\"input\",\"ngModelChange\"],[1,\"checkbox-container\"],[\"class\",\"field-checkbox\",4,\"ngFor\",\"ngForOf\"],[1,\"field-checkbox\"],[\"name\",\"group\",3,\"ngModel\",\"label\",\"value\",\"ngModelChange\"],[\"icon\",\"fas fa-eye\",\"type\",\"button\",\"pButton\",\"\",\"pRipple\",\"\",\"tooltipStyleClass\",\"tooltip\",1,\"mr-2\",2,\"width\",\"191px\",\"font-family\",\"'Baloo 2',serif\",\"font-size\",\"16px\",\"background-color\",\"white\",\"border-color\",\"#f7ae5c\",\"color\",\"#f7ae5c\",3,\"pTooltip\",\"label\",\"click\"],[\"icon\",\"fas fa-charging-station\",\"type\",\"button\",\"pButton\",\"\",\"pRipple\",\"\",1,\"mr-2\",2,\"width\",\"192px\",\"font-family\",\"'Baloo 2',serif\",\"font-size\",\"16px\",\"background-color\",\"white\",\"border-color\",\"#3B82F6\",\"color\",\"#3B82F6\",3,\"label\",\"click\"],[\"icon\",\"fas fa-trash\",\"tooltipStyleClass\",\"tooltip\",\"type\",\"button\",\"pButton\",\"\",\"pRipple\",\"\",\"tooltipPosition\",\"bottom\",1,\"mr-2\",2,\"font-family\",\"'Baloo 2',serif\",\"font-size\",\"16px\",\"background-color\",\"white\",\"border-color\",\"red\",\"color\",\"red\",3,\"pTooltip\",\"click\"],[\"tooltipStyleClass\",\"tooltip\",\"name\",\"group\",3,\"pTooltip\",\"ngModel\",\"label\",\"value\",\"ngModelChange\"],[\"icon\",\"fas fa-trash\",\"tooltipStyleClass\",\"tooltip\",\"type\",\"button\",\"tooltipPosition\",\"bottom\",\"pButton\",\"\",\"pRipple\",\"\",1,\"mr-2\",2,\"font-family\",\"'Baloo 2',serif\",\"font-size\",\"16px\",\"background-color\",\"white\",\"border-color\",\"red\",\"color\",\"red\",3,\"pTooltip\",\"click\"],[\"icon\",\"fas fa-check\",\"style\",\"width: 191px; font-family: 'Baloo 2',serif; font-size: 16px; background-color: white; border-color: #1ab394; color: #1ab394\",\"type\",\"button\",\"pButton\",\"\",\"pRipple\",\"\",\"class\",\"mr-2\",3,\"label\",\"click\",4,\"ngIf\"],[\"icon\",\"fas fa-check\",\"type\",\"button\",\"pButton\",\"\",\"pRipple\",\"\",1,\"mr-2\",2,\"width\",\"191px\",\"font-family\",\"'Baloo 2',serif\",\"font-size\",\"16px\",\"background-color\",\"white\",\"border-color\",\"#1ab394\",\"color\",\"#1ab394\",3,\"label\",\"click\"]],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.TgZ(5,\"h4\",5),t._uU(6),t.ALo(7,\"translate\"),t.qZA(),t.qZA(),t.TgZ(8,\"div\",6),t.TgZ(9,\"div\",7),t.TgZ(10,\"div\"),t.TgZ(11,\"button\",8),t.NdJ(\"click\",function(){return o.openDialogCreateGroup(\"\",\"\",\"\",\"usercpo\")}),t.ALo(12,\"translate\"),t.qZA(),t.qZA(),t.TgZ(13,\"div\"),t.YNc(14,gZ,1,1,\"button\",9),t.YNc(15,mZ,2,3,\"button\",10),t.qZA(),t.qZA(),t.TgZ(16,\"div\",11),t.TgZ(17,\"p-listbox\",12),t.NdJ(\"ngModelChange\",function(d){return o.selectedUserCpoGroup=d})(\"onChange\",function(){return o.selectedUserGroup()})(\"onClick\",function(){return o.selectedUserGroup()}),t.YNc(18,_Z,12,11,\"ng-template\",13),t.qZA(),t.YNc(19,fZ,5,5,\"div\",14),t.qZA(),t.qZA(),t.qZA(),t.YNc(20,PZ,18,17,\"div\",15),t.TgZ(21,\"div\",3),t.TgZ(22,\"div\",4),t.TgZ(23,\"h4\",5),t._uU(24),t.ALo(25,\"translate\"),t.qZA(),t.qZA(),t.TgZ(26,\"div\",6),t.TgZ(27,\"div\",7),t.TgZ(28,\"div\"),t.TgZ(29,\"button\",8),t.NdJ(\"click\",function(){return o.openDialogCreateGroup(\"\",\"\",\"\",\"chargepoint\")}),t.ALo(30,\"translate\"),t.qZA(),t.qZA(),t.TgZ(31,\"div\"),t.YNc(32,OZ,2,4,\"button\",16),t.YNc(33,yZ,1,1,\"button\",17),t.YNc(34,qZ,2,3,\"button\",10),t.qZA(),t.qZA(),t.TgZ(35,\"div\",11),t.TgZ(36,\"p-listbox\",12),t.NdJ(\"ngModelChange\",function(d){return o.selectedChargepointsGroup=d})(\"onChange\",function(){return o.selectedChargepointGroup()})(\"onClick\",function(){return o.selectedChargepointGroup()}),t.YNc(37,wZ,12,11,\"ng-template\",13),t.qZA(),t.YNc(38,kZ,5,5,\"div\",14),t.qZA(),t.qZA(),t.qZA(),t.TgZ(39,\"div\",3),t.TgZ(40,\"div\",4),t.TgZ(41,\"h4\",5),t._uU(42),t.ALo(43,\"translate\"),t.qZA(),t.qZA(),t.TgZ(44,\"div\",6),t.TgZ(45,\"div\",7),t.TgZ(46,\"div\"),t.TgZ(47,\"button\",8),t.NdJ(\"click\",function(){return o.openDialogCreateGroup(\"\",\"\",\"\",\"alert_OCPP_CP\")}),t.ALo(48,\"translate\"),t.qZA(),t.qZA(),t.TgZ(49,\"div\"),t.YNc(50,UZ,1,1,\"button\",17),t.YNc(51,IZ,2,3,\"button\",10),t.qZA(),t.qZA(),t.TgZ(52,\"div\",11),t.TgZ(53,\"p-listbox\",12),t.NdJ(\"ngModelChange\",function(d){return o.selectedAlertsGroupOCPPCP=d})(\"onChange\",function(){return o.selectedAlertGroup(\"OCPP_CP\")})(\"onClick\",function(){return o.selectedAlertGroup(\"OCPP_CP\")}),t.YNc(54,SZ,12,11,\"ng-template\",13),t.qZA(),t.YNc(55,DZ,5,5,\"div\",14),t.qZA(),t.qZA(),t.qZA(),t.YNc(56,zZ,17,16,\"div\",15),t.qZA(),t.qZA(),t.qZA()),2&e&&(t.xp6(6),t.Oqu(t.lcZ(7,33,\"Operatori\")),t.xp6(5),t.s9C(\"label\",t.lcZ(12,35,\"Crea gruppo\")),t.xp6(3),t.Q6J(\"ngIf\",o.selectedUserCpoGroup),t.xp6(1),t.Q6J(\"ngIf\",o.selectedUserCpoGroup),t.xp6(2),t.Akn(t.DdM(45,ee)),t.Q6J(\"options\",o.userCpoGroups)(\"ngModel\",o.selectedUserCpoGroup)(\"listStyle\",t.DdM(46,ne)),t.xp6(2),t.Q6J(\"ngIf\",o.selectedUserCpoGroup),t.xp6(1),t.Q6J(\"ngIf\",!1===o.isSub),t.xp6(4),t.Oqu(t.lcZ(25,37,\"Stazioni Proprietarie\")),t.xp6(5),t.s9C(\"label\",t.lcZ(30,39,\"Crea gruppo\")),t.xp6(3),t.Q6J(\"ngIf\",o.selectedChargepointsGroup),t.xp6(1),t.Q6J(\"ngIf\",o.selectedChargepointsGroup),t.xp6(1),t.Q6J(\"ngIf\",o.selectedChargepointsGroup),t.xp6(2),t.Akn(t.DdM(47,ee)),t.Q6J(\"options\",o.chargepointsGroups)(\"ngModel\",o.selectedChargepointsGroup)(\"listStyle\",t.DdM(48,ne)),t.xp6(2),t.Q6J(\"ngIf\",o.selectedChargepointsGroup),t.xp6(4),t.Oqu(t.lcZ(43,41,\"Eventi\")),t.xp6(5),t.s9C(\"label\",t.lcZ(48,43,\"Crea gruppo\")),t.xp6(3),t.Q6J(\"ngIf\",o.selectedAlertsGroupOCPPCP),t.xp6(1),t.Q6J(\"ngIf\",o.selectedAlertsGroupOCPPCP),t.xp6(2),t.Akn(t.DdM(49,ee)),t.Q6J(\"options\",o.alertsGroupsOCPPCP)(\"ngModel\",o.selectedAlertsGroupOCPPCP)(\"listStyle\",t.DdM(50,ne)),t.xp6(2),t.Q6J(\"ngIf\",o.selectedAlertsGroupOCPPCP),t.xp6(1),t.Q6J(\"ngIf\",!1===o.isSub))},directives:[Gt.Hq,Jt.H,v.O5,Pe.Ri,l.JJ,l.On,Oe.jx,Qt.u,l.Fj,Hc.o,v.sg,Kc.XZ],pipes:[U.X$],styles:['.container[_ngcontent-%COMP%]{display:flex;flex-direction:column;margin-top:20px}.checkbox-container[_ngcontent-%COMP%]{display:flex;flex-wrap:wrap;height:240px;overflow-y:scroll;border:1px solid #8080806b;border-radius:6px;width:600px;padding:10px;margin-top:10px;align-content:baseline}.field-checkbox[_ngcontent-%COMP%]{flex:1 1 50%;box-sizing:border-box;padding:5px}@media (min-width: 1200px){.container[_ngcontent-%COMP%]{max-width:none}} .tooltip{font-family:\"Baloo 2\",serif!important}.checkbox-filter-container[_ngcontent-%COMP%]{display:flex;flex-direction:column;align-items:flex-end}.search-input[_ngcontent-%COMP%]{width:191px}']}),n})();var Xc=c(92794);function YZ(n,s){1&n&&(t.TgZ(0,\"div\",6),t.O4$(),t.TgZ(1,\"svg\",7),t._UZ(2,\"circle\",8),t._UZ(3,\"circle\",9),t._UZ(4,\"circle\",10),t._UZ(5,\"circle\",11),t.qZA(),t.qZA())}function VZ(n,s){if(1&n&&(t.TgZ(0,\"th\"),t._uU(1),t.ALo(2,\"translate\"),t.qZA()),2&n){const e=s.$implicit;t.xp6(1),t.hij(\" \",t.lcZ(2,1,e.header),\" \")}}function jZ(n,s){if(1&n&&(t.TgZ(0,\"tr\"),t.YNc(1,VZ,3,3,\"th\",19),t.TgZ(2,\"th\"),t.TgZ(3,\"span\"),t._uU(4),t.ALo(5,\"translate\"),t.qZA(),t.qZA(),t.qZA()),2&n){const e=s.$implicit;t.xp6(1),t.Q6J(\"ngForOf\",e),t.xp6(3),t.hij(\" \",t.lcZ(5,2,\"Azioni\"),\" \")}}function WZ(n,s){if(1&n&&(t._uU(0),t.ALo(1,\"translate\")),2&n){const e=s.$implicit;t.AsE(\" \",e.name,\" (\",t.lcZ(1,2,e.type),\") \")}}function HZ(n,s){if(1&n&&(t._uU(0),t.ALo(1,\"translate\")),2&n){const e=s.$implicit;t.AsE(\" \",e.name,\" (\",t.lcZ(1,2,e.type),\") \")}}const ye=function(){return{width:\"250px\"}};function KZ(n,s){if(1&n){const e=t.EpF();t.TgZ(0,\"td\"),t.TgZ(1,\"p-dropdown\",23),t.NdJ(\"ngModelChange\",function(a){return t.CHM(e),t.oxw(4).selectedChargepointsGroup=a}),t.ALo(2,\"translate\"),t.YNc(3,WZ,2,4,\"ng-template\",24),t.YNc(4,HZ,2,4,\"ng-template\",25),t.qZA(),t.qZA()}if(2&n){const e=t.oxw(4);t.xp6(1),t.Akn(t.DdM(8,ye)),t.s9C(\"placeholder\",t.lcZ(2,6,\"Gruppi Stazioni\")),t.Q6J(\"options\",e.chargepointsGroups)(\"ngModel\",e.selectedChargepointsGroup)(\"filter\",!0)}}function XZ(n,s){if(1&n){const e=t.EpF();t.TgZ(0,\"tr\"),t.TgZ(1,\"td\"),t.TgZ(2,\"p-dropdown\",21),t.NdJ(\"ngModelChange\",function(a){return t.CHM(e),t.oxw(3).selectedUserCpoGroup=a}),t.ALo(3,\"translate\"),t.qZA(),t.qZA(),t.YNc(4,KZ,5,9,\"td\",20),t.TgZ(5,\"td\"),t.TgZ(6,\"p-dropdown\",21),t.NdJ(\"ngModelChange\",function(a){return t.CHM(e),t.oxw(3).selectedAlertsGroup=a}),t.ALo(7,\"translate\"),t.qZA(),t.qZA(),t.TgZ(8,\"td\"),t.TgZ(9,\"button\",22),t.NdJ(\"click\",function(){return t.CHM(e),t.oxw(3).addUserChargeboxAlertGroup()}),t.ALo(10,\"translate\"),t.qZA(),t.qZA(),t.qZA()}if(2&n){const e=t.oxw(3);t.xp6(2),t.Akn(t.DdM(20,ye)),t.s9C(\"placeholder\",t.lcZ(3,14,\"Gruppi Operatori\")),t.Q6J(\"options\",e.userCpoGroups)(\"ngModel\",e.selectedUserCpoGroup)(\"filter\",!0),t.xp6(2),t.Q6J(\"ngIf\",\"OCPP_CP\"===e.alertType),t.xp6(2),t.Akn(t.DdM(21,ye)),t.s9C(\"placeholder\",\"OCPP_CP\"===e.alertType?\"Gruppi Eventi\":t.lcZ(7,16,\"Gruppi E-Mail\")),t.Q6J(\"options\",e.alertsGroups)(\"ngModel\",e.selectedAlertsGroup)(\"filter\",!0),t.xp6(3),t.s9C(\"pTooltip\",t.lcZ(10,18,\"Aggiungi associazione\"))}}function tC(n,s){if(1&n&&(t.ynx(0),t._uU(1),t.BQk()),2&n){const e=t.oxw().$implicit,o=t.oxw(2).$implicit;t.xp6(1),t.AsE(\" \",null==o[e.field]?null:o[e.field].name,\" (\",null==o[e.field]?null:o[e.field].type,\") \")}}function eC(n,s){if(1&n&&t._uU(0),2&n){const e=t.oxw().$implicit,o=t.oxw(2).$implicit;t.hij(\" \",null==o[e.field]?null:o[e.field].name,\" \")}}function nC(n,s){if(1&n&&(t.TgZ(0,\"td\"),t.YNc(1,tC,2,2,\"ng-container\",27),t.YNc(2,eC,1,1,\"ng-template\",null,28,t.W1O),t.qZA()),2&n){const e=s.$implicit,o=t.MAs(3);t.xp6(1),t.Q6J(\"ngIf\",\"chargepointGroups\"===e.field)(\"ngIfElse\",o)}}function oC(n,s){if(1&n){const e=t.EpF();t.TgZ(0,\"tr\"),t.YNc(1,nC,4,2,\"td\",19),t.TgZ(2,\"td\"),t.TgZ(3,\"button\",26),t.NdJ(\"click\",function(){t.CHM(e);const a=t.oxw().$implicit;return t.oxw(2).deleteUserChargeboxAlertGroup(a._id)}),t.ALo(4,\"translate\"),t.qZA(),t.qZA(),t.qZA()}if(2&n){const e=t.oxw().columns;t.xp6(1),t.Q6J(\"ngForOf\",e),t.xp6(2),t.s9C(\"pTooltip\",t.lcZ(4,2,\"Elimina\"))}}function iC(n,s){if(1&n&&(t.YNc(0,XZ,11,22,\"tr\",20),t.YNc(1,oC,5,4,\"tr\",20)),2&n){const e=s.rowIndex,o=t.oxw(2);t.Q6J(\"ngIf\",0===e||0===o.userChargeboxAlertsGroups.length),t.xp6(1),t.Q6J(\"ngIf\",0!==o.userChargeboxAlertsGroups.length)}}const aC=function(){return[]},rC=function(n){return[n]},sC=function(){return{\"min-width\":\"50rem\",width:\"100%\"}};function lC(n,s){if(1&n&&(t.TgZ(0,\"div\",12),t._UZ(1,\"span\",13),t.ALo(2,\"translate\"),t.TgZ(3,\"div\",14),t.TgZ(4,\"div\"),t.TgZ(5,\"div\",15),t.TgZ(6,\"p-table\",16),t.YNc(7,jZ,6,4,\"ng-template\",17),t.YNc(8,iC,2,2,\"ng-template\",18),t.qZA(),t.qZA(),t.qZA(),t.qZA(),t.qZA()),2&n){const e=t.oxw();t.xp6(1),t.s9C(\"pTooltip\",t.lcZ(2,4,e.tooltip)),t.xp6(5),t.Q6J(\"columns\",e.cols)(\"value\",0===(null==e.userChargeboxAlertsGroups?null:e.userChargeboxAlertsGroups.length)?t.VKq(7,rC,t.DdM(6,aC)):e.userChargeboxAlertsGroups)(\"tableStyle\",t.DdM(9,sC))}}let tp=(()=>{class n{constructor(e,o,a,d,h){this.alertService=e,this.groupsService=o,this.notifyService=a,this.translate=d,this.dialogService=h,this.alertType=\"\",this.cols=[]}ngOnInit(){return(0,C.mG)(this,void 0,void 0,function*(){const e=JSON.parse(b().get(\"dataEmpCpo\",{decrypt:!0}));this.dataEmpCpoId=e.id,this.tenantId=e.tenantId,\"SERVICE_EMAIL\"===this.alertType?(this.tooltip=\"Questa pagina permette di gestire le e-mail di servizio che vengono ricevute dagli operatori creando un'associazione tra gruppi di operatori e gruppi di e-mail di servizio\",this.cols=[{field:\"usersGroup\",header:\"Operatori\"},{field:\"alertGroup\",header:\"E-Mail\"}]):\"OCPP_CP\"===this.alertType&&(this.tooltip=\"Questa pagina permette di gestire le notifiche che vengono ricevute dagli operatori creando un'associazione tra gruppi di operatori, gruppi di colonnine e gruppi di notifiche\",this.cols=[{field:\"usersGroup\",header:\"Operatori\"},{field:\"chargepointGroups\",header:\"Stazioni\"},{field:\"alertGroup\",header:\"Notifiche\"}]),yield this.loadData()})}loadData(){return(0,C.mG)(this,void 0,void 0,function*(){const e=b().get(\"cpo\",{decrypt:!0});this.userChargeboxAlertsGroups=yield this.alertService.getAllUserChargeboxAlertGroups(e).toPromise(),this.userChargeboxAlertsGroups=this.userChargeboxAlertsGroups.filter(o=>o.alertGroup.type===this.alertType),this.userCpoGroups=yield this.groupsService.getAllUserCpoGroups(e).toPromise(),this.userCpoGroups=this.userCpoGroups.sort((o,a)=>o.name.toLowerCase()>a.name.toLowerCase()?1:a.name.toLowerCase()>o.name.toLowerCase()?-1:0),this.chargepointsGroups=yield this.groupsService.getAllChargepointGroups(e).toPromise(),this.chargepointsGroups=this.chargepointsGroups.sort((o,a)=>o.name.toLowerCase()>a.name.toLowerCase()?1:a.name.toLowerCase()>o.name.toLowerCase()?-1:0),this.alertsGroups=yield this.groupsService.getAllAlertGroups(e).toPromise(),this.alertsGroups=this.alertsGroups.filter(o=>o.type===this.alertType),this.alertsGroups=this.alertsGroups.sort((o,a)=>o.name.toLowerCase()>a.name.toLowerCase()?1:a.name.toLowerCase()>o.name.toLowerCase()?-1:0),this.isLoading=!1})}deleteUserChargeboxAlertGroup(e){return(0,C.mG)(this,void 0,void 0,function*(){const o=new ht.f(this.translate.instant(\"Confermare l'azione?\"),this.translate.instant(\"Questa associazione verr\\xe0 eliminata\"),\"warning\");this.dialogService.open(ht.z,{maxWidth:\"400px\",data:o}).afterClosed().subscribe(d=>(0,C.mG)(this,void 0,void 0,function*(){if(d)try{yield this.alertService.deleteUserChargeboxAlertGroups(this.dataEmpCpoId,e).toPromise(),this.userChargeboxAlertsGroups=this.userChargeboxAlertsGroups.filter(h=>h._id!==e),this.selectedUserCpoGroup=null,this.notifyService.showSuccess(this.translate.instant(\"Gruppo eliminato\"),this.translate.instant(\"Attenzione\"))}catch(h){this.notifyService.showError(this.translate.instant(\"Errore, nell'eliminazione del gruppo\"),this.translate.instant(\"Attenzione\"))}}))})}addUserChargeboxAlertGroup(){return(0,C.mG)(this,void 0,void 0,function*(){if(null===this.selectedAlertsGroup||null===this.selectedUserCpoGroup||null===this.selectedChargepointsGroup&&\"OCPP_CP\"===this.alertType)this.notifyService.showError(this.translate.instant(\"Seleziona tutti i gruppi dai men\\xf9 a tendina!\"),this.translate.instant(\"Attenzione\"));else try{let e;\"OCPP_CP\"===this.alertType?e=yield this.alertService.addUserChargeboxAlertGroup({dataEmpCpoId:this.dataEmpCpoId,tenantId:this.tenantId,usersGroupId:this.selectedUserCpoGroup.id,chargeboxsGroupId:this.selectedChargepointsGroup.id,alertsGroupId:this.selectedAlertsGroup._id}).toPromise():\"SERVICE_EMAIL\"===this.alertType&&(e=yield this.alertService.addUserChargeboxAlertGroup({tenantId:this.tenantId,dataEmpCpoId:this.dataEmpCpoId,usersGroupId:this.selectedUserCpoGroup.id,alertsGroupId:this.selectedAlertsGroup._id}).toPromise()),this.userChargeboxAlertsGroups.push(e),this.userChargeboxAlertsGroups.sort((o,a)=>o._id.toLowerCase()>a._id.toLowerCase()?1:a._id.toLowerCase()>o._id.toLowerCase()?-1:0),this.userChargeboxAlertsGroups=[...this.userChargeboxAlertsGroups],this.notifyService.showSuccess(this.translate.instant(\"Gruppo creato\"),this.translate.instant(\"Attenzione\")),this.selectedAlertsGroup=null,this.selectedUserCpoGroup=null,this.selectedChargepointsGroup=null}catch(e){this.notifyService.showError(this.translate.instant(\"Errore, nella creazione del gruppo\"),this.translate.instant(\"Attenzione\"))}})}}return n.\\u0275fac=function(e){return new(e||n)(t.Y36(Wc),t.Y36(xe.J),t.Y36(K.m),t.Y36(U.sK),t.Y36(O.uw))},n.\\u0275cmp=t.Xpm({type:n,selectors:[[\"app-alerts\"]],inputs:{alertType:\"alertType\"},decls:6,vars:2,consts:[[\"class\",\"loader-container\",4,\"ngIf\"],[2,\"padding\",\"20px\"],[1,\"row\"],[1,\"col-xl-12\",\"col-xxl-12\"],[1,\"card\"],[\"class\",\"card-body\",4,\"ngIf\"],[1,\"loader-container\"],[\"viewBox\",\"0 0 240 240\",\"height\",\"240\",\"width\",\"240\",1,\"pl\"],[\"stroke-linecap\",\"round\",\"stroke-dashoffset\",\"-330\",\"stroke-dasharray\",\"0 660\",\"stroke-width\",\"20\",\"stroke\",\"#000\",\"fill\",\"none\",\"r\",\"105\",\"cy\",\"120\",\"cx\",\"120\",1,\"pl__ring\",\"pl__ring--a\"],[\"stroke-linecap\",\"round\",\"stroke-dashoffset\",\"-110\",\"stroke-dasharray\",\"0 220\",\"stroke-width\",\"20\",\"stroke\",\"#000\",\"fill\",\"none\",\"r\",\"35\",\"cy\",\"120\",\"cx\",\"120\",1,\"pl__ring\",\"pl__ring--b\"],[\"stroke-linecap\",\"round\",\"stroke-dasharray\",\"0 440\",\"stroke-width\",\"20\",\"stroke\",\"#000\",\"fill\",\"none\",\"r\",\"70\",\"cy\",\"120\",\"cx\",\"85\",1,\"pl__ring\",\"pl__ring--c\"],[\"stroke-linecap\",\"round\",\"stroke-dasharray\",\"0 440\",\"stroke-width\",\"20\",\"stroke\",\"#000\",\"fill\",\"none\",\"r\",\"70\",\"cy\",\"120\",\"cx\",\"155\",1,\"pl__ring\",\"pl__ring--d\"],[1,\"card-body\"],[\"tooltipStyleClass\",\"tooltip\",1,\"pi\",\"pi-info-circle\",2,\"color\",\"black\",3,\"pTooltip\"],[2,\"height\",\"500px\",\"overflow-y\",\"scroll\"],[2,\"margin-top\",\"20px\",\"margin-bottom\",\"20px\"],[3,\"columns\",\"value\",\"tableStyle\"],[\"pTemplate\",\"header\"],[\"pTemplate\",\"body\"],[4,\"ngFor\",\"ngForOf\"],[4,\"ngIf\"],[\"filterBy\",\"name\",\"optionLabel\",\"name\",3,\"options\",\"ngModel\",\"placeholder\",\"filter\",\"ngModelChange\"],[\"icon\",\"fas fa-plus\",\"type\",\"button\",\"pButton\",\"\",\"pRipple\",\"\",\"tooltipPosition\",\"bottom\",1,\"mr-2\",2,\"font-family\",\"'Baloo 2',serif\",\"font-size\",\"16px\",\"background-color\",\"white\",\"border-color\",\"#1ab394\",\"color\",\"#1ab394\",3,\"pTooltip\",\"click\"],[\"filterBy\",\"name\",3,\"options\",\"ngModel\",\"placeholder\",\"filter\",\"ngModelChange\"],[\"pTemplate\",\"item\"],[\"pTemplate\",\"selectedItem\"],[\"icon\",\"fas fa-trash\",\"type\",\"button\",\"tooltipPosition\",\"bottom\",\"pButton\",\"\",\"pRipple\",\"\",1,\"mr-2\",2,\"font-family\",\"'Baloo 2',serif\",\"font-size\",\"16px\",\"background-color\",\"white\",\"border-color\",\"red\",\"color\",\"red\",3,\"pTooltip\",\"click\"],[4,\"ngIf\",\"ngIfElse\"],[\"defaultField\",\"\"]],template:function(e,o){1&e&&(t.YNc(0,YZ,6,0,\"div\",0),t.TgZ(1,\"div\",1),t.TgZ(2,\"div\",2),t.TgZ(3,\"div\",3),t.TgZ(4,\"div\",4),t.YNc(5,lC,9,10,\"div\",5),t.qZA(),t.qZA(),t.qZA(),t.qZA()),2&e&&(t.Q6J(\"ngIf\",o.isLoading),t.xp6(5),t.Q6J(\"ngIf\",!o.isLoading))},directives:[v.O5,Qt.u,Xc.iA,Oe.jx,v.sg,Te.Lt,l.JJ,l.On,Gt.Hq,Jt.H],pipes:[U.X$],styles:['.p-datatable .p-datatable-thead>tr>th, td[_ngcontent-%COMP%]{text-align:center!important;background:white!important} .p-dropdown .p-dropdown-label{text-align:center!important} .tooltip{font-family:\"Baloo 2\",serif!important;max-width:450px!important}']}),n})();const cC=[\"ocppAlerts\"],pC=[\"serviceEmailAlerts\"];function dC(n,s){if(1&n&&(t.TgZ(0,\"mat-tab\",9),t.ALo(1,\"translate\"),t._UZ(2,\"app-alerts\",6,10),t.qZA()),2&n){const e=t.oxw();t.s9C(\"label\",t.lcZ(1,2,\"E-Mail di servizio\")),t.xp6(2),t.Q6J(\"alertType\",e.SERVICE_EMAIL)}}let gC=(()=>{class n{constructor(e,o,a){this.translate=e,this.route=o,this.router=a,this.selectedIndex=0,this.SERVICE_EMAIL=\"SERVICE_EMAIL\",this.OCPP_CP=\"OCPP_CP\"}ngOnInit(){const e=JSON.parse(b().get(\"dataEmpCpo\",{decrypt:!0}));this.dataEmpCpoId=e.id,this.isSub=e.cpo.cpoGroup.subCpo,console.log(e.cpo.cpoGroup),this.route.queryParams.subscribe(o=>{const a=o.tab;a&&this.setTabFromPath(a)})}onTabChange(e){switch(e.tab.textLabel){case this.translate.instant(\"Notifiche\"):this.ocppAlerts.loadData();break;case this.translate.instant(\"E-Mail di servizio\"):this.serviceEmailAlerts.loadData();break;case this.translate.instant(\"Generale\"):this.generalComponent.refresh()}this.router.navigate([],{relativeTo:this.route,queryParams:{tab:e.tab.textLabel.toLowerCase()},queryParamsHandling:\"merge\"})}setTabFromPath(e){const a=[\"utenti_ass\",\"logs\",\"gruppi\",\"notifiche\",\"service_email\"].indexOf(e.toLowerCase());-1!==a&&(this.selectedIndex=a)}}return n.\\u0275fac=function(e){return new(e||n)(t.Y36(U.sK),t.Y36(N.gz),t.Y36(N.F0))},n.\\u0275cmp=t.Xpm({type:n,selectors:[[\"app-portal-settings\"]],viewQuery:function(e,o){if(1&e&&(t.Gf(cC,5),t.Gf(pC,5),t.Gf(jc,5)),2&e){let a;t.iGM(a=t.CRH())&&(o.ocppAlerts=a.first),t.iGM(a=t.CRH())&&(o.serviceEmailAlerts=a.first),t.iGM(a=t.CRH())&&(o.generalComponent=a.first)}},decls:17,vars:15,consts:[[1,\"content-body\"],[1,\"container-fluid\",\"default-mt-btn\",\"default-mt-table\",\"default-mt-select\",\"default-autocomplete\",\"default-mt-spinner\"],[3,\"selectedIndex\",\"selectedIndexChange\",\"selectedTabChange\"],[2,\"padding-bottom\",\"20%\",3,\"label\"],[3,\"label\"],[\"id\",\"notifiche\",3,\"label\"],[3,\"alertType\"],[\"ocppAlerts\",\"\"],[\"id\",\"service_email\",3,\"label\",4,\"ngIf\"],[\"id\",\"service_email\",3,\"label\"],[\"serviceEmailAlerts\",\"\"]],template:function(e,o){1&e&&(t.TgZ(0,\"div\",0),t.TgZ(1,\"div\",1),t.TgZ(2,\"mat-tab-group\",2),t.NdJ(\"selectedIndexChange\",function(d){return o.selectedIndex=d})(\"selectedTabChange\",function(d){return o.onTabChange(d)}),t.TgZ(3,\"mat-tab\",3),t.ALo(4,\"translate\"),t._UZ(5,\"app-operator\"),t.qZA(),t.TgZ(6,\"mat-tab\",4),t.ALo(7,\"translate\"),t._UZ(8,\"app-general\"),t.qZA(),t.TgZ(9,\"mat-tab\",4),t.ALo(10,\"translate\"),t._UZ(11,\"app-groups\"),t.qZA(),t.TgZ(12,\"mat-tab\",5),t.ALo(13,\"translate\"),t._UZ(14,\"app-alerts\",6,7),t.qZA(),t.YNc(16,dC,4,4,\"mat-tab\",8),t.qZA(),t.qZA(),t.qZA()),2&e&&(t.xp6(2),t.Q6J(\"selectedIndex\",o.selectedIndex),t.xp6(1),t.s9C(\"label\",t.lcZ(4,7,\"utenti_ass\")),t.xp6(3),t.s9C(\"label\",t.lcZ(7,9,\"Generale\")),t.xp6(3),t.s9C(\"label\",t.lcZ(10,11,\"Gruppi\")),t.xp6(3),t.s9C(\"label\",t.lcZ(13,13,\"Notifiche\")),t.xp6(2),t.Q6J(\"alertType\",o.OCPP_CP),t.xp6(2),t.Q6J(\"ngIf\",!1===o.isSub))},directives:[pt.SP,pt.uX,Uc,jc,$Z,tp,v.O5],pipes:[U.X$],styles:[\"\"]}),n})();var mC=c(11191);function uC(n,s){if(1&n&&(t.TgZ(0,\"p\",16),t._uU(1),t.qZA()),2&n){const e=t.oxw();t.xp6(1),t.Oqu(e.errorMessage)}}function _C(n,s){if(1&n){const e=t.EpF();t.TgZ(0,\"div\",17),t.TgZ(1,\"div\",18),t.TgZ(2,\"span\",19),t._uU(3),t.qZA(),t.qZA(),t.TgZ(4,\"div\"),t.TgZ(5,\"button\",20),t.NdJ(\"click\",function(){const d=t.CHM(e).$implicit;return t.oxw().deleteErrorVendor(d)}),t.ALo(6,\"translate\"),t.qZA(),t.qZA(),t.qZA()}if(2&n){const e=s.$implicit;t.xp6(3),t.hij(\" \",e,\" \"),t.xp6(2),t.s9C(\"pTooltip\",t.lcZ(6,2,\"Elimina\"))}}function hC(n,s){if(1&n&&(t.TgZ(0,\"span\"),t._uU(1),t.qZA()),2&n){const e=t.oxw().$implicit;t.xp6(1),t.hij(\" : \",e.errorDescription,\" \")}}function fC(n,s){if(1&n){const e=t.EpF();t.TgZ(0,\"div\",17),t.TgZ(1,\"div\",18),t.TgZ(2,\"span\",19),t._uU(3),t.qZA(),t.YNc(4,hC,2,1,\"span\",21),t.qZA(),t.TgZ(5,\"div\"),t.TgZ(6,\"button\",20),t.NdJ(\"click\",function(){const d=t.CHM(e).$implicit;return t.oxw().deleteErrorCode(d.vendor,d.errorCode)}),t.ALo(7,\"translate\"),t.qZA(),t.qZA(),t.qZA()}if(2&n){const e=s.$implicit;t.xp6(3),t.hij(\" \",e.errorCode,\" \"),t.xp6(1),t.Q6J(\"ngIf\",e.errorDescription),t.xp6(2),t.s9C(\"pTooltip\",t.lcZ(7,3,\"Elimina\"))}}const ep=function(){return{width:\"600px\",height:\"300px\"}},np=function(){return{\"max-height\":\"300px\"}};let ZC=(()=>{class n{constructor(e,o,a,d){this.errorCodeErrorDescriptionService=e,this.translate=o,this.dialogService=a,this.notifyService=d,this.errorsCodeErrorsDescription=[],this.filteredErrorsCodeErrorDescriptions=[]}ngOnInit(){return(0,C.mG)(this,void 0,void 0,function*(){this.errorsCodeErrorsDescription=yield this.errorCodeErrorDescriptionService.getAllErrorCodeErrorDescription().toPromise(),this.vendorList=Array.from(new Set(this.errorsCodeErrorsDescription.map(e=>e.vendor)))})}uploadErrors(){return(0,C.mG)(this,void 0,void 0,function*(){if(!this.errorMessage){const e=JSON.parse(this.errorsToAddString);this.errorsToAdd=e.map(a=>({errorCode:a.errorCode,errorDescription:a.errorDescription,vendor:a.vendor,troubleShooting:a.troubleShooting}));const o=yield this.errorCodeErrorDescriptionService.addErrorCodeErrorDescription(this.errorsToAdd).toPromise();o&&(this.errorsCodeErrorsDescription=this.errorsCodeErrorsDescription.concat(o),this.vendorList=Array.from(new Set(this.errorsCodeErrorsDescription.map(a=>a.vendor))),this.errorsToAdd=[],this.errorsToAddString=\"\",this.notifyService.showSuccess(this.translate.instant(\"Errori aggiunti\"),this.translate.instant(\"Attenzione\")))}})}deleteErrorCode(e,o){return(0,C.mG)(this,void 0,void 0,function*(){const a=new ht.f(this.translate.instant(\"Vuoi eliminare il gruppo?\"),this.translate.instant(\"Anche le associazioni di cui fa parte questo gruppo verranno eliminate\"),\"warning\");this.dialogService.open(ht.z,{maxWidth:\"400px\",data:a}).afterClosed().subscribe(h=>(0,C.mG)(this,void 0,void 0,function*(){if(h)try{yield this.errorCodeErrorDescriptionService.deleteAllErrorCodeErrorDescriptionByVendorAndErrorCode(e,o).toPromise(),this.errorsCodeErrorsDescription=this.errorsCodeErrorsDescription.filter(E=>!(E.vendor===e&&E.errorCode===o)),this.filteredErrorsCodeErrorDescriptions=this.errorsCodeErrorsDescription.filter(E=>E.vendor===this.selectedVendor),this.notifyService.showSuccess(this.translate.instant(\"Errore eliminato\"),this.translate.instant(\"Attenzione\"))}catch(E){this.notifyService.showError(this.translate.instant(\"Errore, nell'eliminazione dell'errore\"),this.translate.instant(\"Attenzione\"))}}))})}onSelectedVendor(){this.filteredErrorsCodeErrorDescriptions=this.errorsCodeErrorsDescription.filter(e=>e.vendor===this.selectedVendor)}deleteErrorVendor(e){return(0,C.mG)(this,void 0,void 0,function*(){const o=new ht.f(this.translate.instant(\"Vuoi eliminare il gruppo?\"),this.translate.instant(\"Anche le associazioni di cui fa parte questo gruppo verranno eliminate\"),\"warning\");this.dialogService.open(ht.z,{maxWidth:\"400px\",data:o}).afterClosed().subscribe(d=>(0,C.mG)(this,void 0,void 0,function*(){if(d)try{yield this.errorCodeErrorDescriptionService.deleteAllErrorCodeErrorDescriptionByVendor(e).toPromise(),this.errorsCodeErrorsDescription=this.errorsCodeErrorsDescription.filter(h=>h.vendor!==e),this.vendorList=Array.from(new Set(this.errorsCodeErrorsDescription.map(h=>h.vendor))),this.filteredErrorsCodeErrorDescriptions=[],this.notifyService.showSuccess(this.translate.instant(\"Errore eliminato\"),this.translate.instant(\"Attenzione\"))}catch(h){this.notifyService.showError(this.translate.instant(\"Errore, nell'eliminazione dell'errore\"),this.translate.instant(\"Attenzione\"))}}))})}validateJson(){try{const e=JSON.parse(this.errorsToAddString);if(!Array.isArray(e))throw new Error(\"Il JSON deve essere un array.\");e.forEach((o,a)=>{if(!o.hasOwnProperty(\"errorCode\")||!o.hasOwnProperty(\"errorDescription\")||!o.hasOwnProperty(\"vendor\"))throw new Error(`Oggetto alla posizione ${a} non valido: manca una delle propriet\\xe0 richieste.`);if(\"string\"!=typeof o.errorCode||\"string\"!=typeof o.errorDescription||\"string\"!=typeof o.vendor)throw new Error(`Oggetto alla posizione ${a} contiene propriet\\xe0 con valori non validi.`)}),this.errorMessage=null}catch(e){this.errorMessage=e.message}}}return n.\\u0275fac=function(e){return new(e||n)(t.Y36(mC.o),t.Y36(U.sK),t.Y36(O.uw),t.Y36(K.m))},n.\\u0275cmp=t.Xpm({type:n,selectors:[[\"app-error-code-error-description\"]],decls:27,vars:27,consts:[[2,\"padding\",\"20px\"],[1,\"row\"],[1,\"col-xl-12\",\"col-xxl-12\"],[1,\"card\",2,\"height\",\"500px\"],[1,\"card-header\",\"d-block\"],[1,\"fs-32\",\"card-title\",\"left\",\"text-black\",2,\"font-family\",\"'Baloo 2',serif\"],[2,\"display\",\"flex\",\"width\",\"100%\",\"height\",\"100%\",\"justify-content\",\"space-between\"],[2,\"height\",\"100%\",\"width\",\"100%\",\"padding\",\"30px\"],[1,\"roboto-medium\",2,\"padding\",\"10px\",\"border-radius\",\"10px\",\"width\",\"100%\",\"height\",\"95%\",\"overflow-y\",\"scroll\",\"overflow-x\",\"hidden\",\"resize\",\"none\",3,\"ngModel\",\"placeholder\",\"ngModelChange\",\"input\"],[\"style\",\"color:red\",4,\"ngIf\"],[2,\"height\",\"100%\",\"width\",\"100%\",\"position\",\"relative\"],[\"icon\",\"fas fa-check\",\"type\",\"button\",\"pButton\",\"\",\"pRipple\",\"\",1,\"mr-2\",2,\"position\",\"absolute\",\"bottom\",\"30px\",\"right\",\"10px\",\"border-radius\",\"10px\",\"width\",\"200px\",\"font-family\",\"'Baloo 2', serif\",\"font-size\",\"16px\",\"background-color\",\"white\",\"border-color\",\"#1ab394\",\"color\",\"#1ab394\",3,\"label\",\"click\"],[2,\"padding\",\"30px\",\"display\",\"flex\",\"justify-content\",\"space-between\"],[3,\"options\",\"ngModel\",\"listStyle\",\"ngModelChange\",\"onChange\",\"onClick\"],[\"pTemplate\",\"item\"],[3,\"options\",\"listStyle\"],[2,\"color\",\"red\"],[1,\"flex\",\"align-items-center\",\"gap-2\",2,\"display\",\"flex\",\"justify-content\",\"space-between\",\"width\",\"600px\"],[2,\"max-width\",\"350px\"],[2,\"font-weight\",\"bold\"],[\"icon\",\"fas fa-trash\",\"tooltipStyleClass\",\"tooltip\",\"type\",\"button\",\"tooltipPosition\",\"bottom\",\"pButton\",\"\",\"pRipple\",\"\",1,\"mr-2\",2,\"font-family\",\"'Baloo 2',serif\",\"font-size\",\"16px\",\"background-color\",\"white\",\"border-color\",\"red\",\"color\",\"red\",3,\"pTooltip\",\"click\"],[4,\"ngIf\"]],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.TgZ(5,\"h4\",5),t._uU(6),t.ALo(7,\"translate\"),t.qZA(),t.qZA(),t.TgZ(8,\"div\",6),t.TgZ(9,\"div\",7),t.TgZ(10,\"textarea\",8),t.NdJ(\"ngModelChange\",function(d){return o.errorsToAddString=d})(\"input\",function(){return o.validateJson()}),t.ALo(11,\"translate\"),t._uU(12,\" \"),t.qZA(),t.YNc(13,uC,2,1,\"p\",9),t.qZA(),t.TgZ(14,\"div\",10),t.TgZ(15,\"button\",11),t.NdJ(\"click\",function(){return o.uploadErrors()}),t.ALo(16,\"translate\"),t.qZA(),t.qZA(),t.qZA(),t.qZA(),t.TgZ(17,\"div\",3),t.TgZ(18,\"div\",4),t.TgZ(19,\"h4\",5),t._uU(20),t.ALo(21,\"translate\"),t.qZA(),t.qZA(),t.TgZ(22,\"div\",12),t.TgZ(23,\"p-listbox\",13),t.NdJ(\"ngModelChange\",function(d){return o.selectedVendor=d})(\"onChange\",function(){return o.onSelectedVendor()})(\"onClick\",function(){return o.onSelectedVendor()}),t.YNc(24,_C,7,4,\"ng-template\",14),t.qZA(),t.TgZ(25,\"p-listbox\",15),t.YNc(26,fC,8,5,\"ng-template\",14),t.qZA(),t.qZA(),t.qZA(),t.qZA(),t.qZA(),t.qZA()),2&e&&(t.xp6(6),t.Oqu(t.lcZ(7,15,\"Aggiungi codici di errore\")),t.xp6(4),t.Q6J(\"ngModel\",o.errorsToAddString)(\"placeholder\",t.lcZ(11,17,\"Incolla qui l'array JSON con gli errori che vuoi inserire: \\nEsempio: \\n[\\n\\t{\\n\\t\\t\\t'errorCode': '0x002',\\n \\t\\t\\t'vendor': 'pt.abb',\\n \\t\\t\\t'errorDescription': 'Errore generico.'\\n\\t},\\n\\t{\\n\\t\\t\\t'errorCode': '0x003',\\n \\t\\t\\t'vendor': 'Smartbit',\\n \\t\\t\\t'errorDescription': 'Rilevata corrente residua nel circuito di ricarica.',\\n \\t\\t\\t'troubleShooting': 'Riavviare la stazione.' (Opzionale)\\n\\t}\\n]\")),t.xp6(3),t.Q6J(\"ngIf\",o.errorMessage),t.xp6(2),t.s9C(\"label\",t.lcZ(16,19,\"Conferma\")),t.xp6(5),t.Oqu(t.lcZ(21,21,\"Elimina codici di errore\")),t.xp6(3),t.Akn(t.DdM(23,ep)),t.Q6J(\"options\",o.vendorList)(\"ngModel\",o.selectedVendor)(\"listStyle\",t.DdM(24,np)),t.xp6(2),t.Akn(t.DdM(25,ep)),t.Q6J(\"options\",o.filteredErrorsCodeErrorDescriptions)(\"listStyle\",t.DdM(26,np)))},directives:[l.Fj,l.JJ,l.On,v.O5,Gt.Hq,Jt.H,Pe.Ri,Oe.jx,Qt.u],pipes:[U.X$],styles:[\".top[_ngcontent-%COMP%]{padding-bottom:2em} .mat-form-field-appearance-outline .mat-form-field-prefix, .mat-form-field-appearance-outline[_ngcontent-%COMP%] .mat-form-field-suffix[_ngcontent-%COMP%]{top:.25em;align-self:center!important} input.mat-input-element{margin-top:-5px!important}.lan-icon[_ngcontent-%COMP%]{height:20px;margin-right:20px}.uploader[_ngcontent-%COMP%]{display:flex;flex-direction:column}.inputfile[_ngcontent-%COMP%]{display:none}.img-container[_ngcontent-%COMP%]{display:flex;justify-content:center}.upload-shower[_ngcontent-%COMP%]{justify-content:space-between;display:flex;flex-direction:row}.smartphone-simulator[_ngcontent-%COMP%]{height:400px;width:200px;border-style:solid;border-width:4px;border-color:#000;border-radius:5%;overflow:hidden;background-size:cover;background-position:center}.connector-simulator[_ngcontent-%COMP%]{height:90px;margin-top:30px;width:173px;border-radius:5%;overflow:hidden;background-color:#ffffffc9;margin-right:10px;margin-left:10px;display:flex;justify-content:center}.button-simulator[_ngcontent-%COMP%]{height:20px;margin-top:10px;width:173px;border-radius:5%;overflow:hidden;background-color:var(--primaryColor);margin-right:10px;margin-left:10px}.header-simulator[_ngcontent-%COMP%]{font-weight:bold;font-size:12px;display:flex;flex-direction:row;justify-content:space-between;height:20px;margin-top:5px;width:173px;border-radius:5%;overflow:hidden;color:var(--secondaryColor);margin-right:10px;margin-left:10px}.cp-name-simulator[_ngcontent-%COMP%]{font-weight:bold;font-size:12px;height:20px;margin-top:5px;color:var(--primaryColor)}.confirm[_ngcontent-%COMP%]{display:flex;justify-content:right;margin-right:120px;margin-top:-80px}.custum-file-upload[_ngcontent-%COMP%]{height:100px;width:150px;display:flex;flex-direction:column;align-items:space-between;grid-gap:10px;gap:10px;cursor:pointer;align-items:center;justify-content:center;border:1px dashed #cacaca;background-color:#fff;border-radius:5px;box-shadow:0 48px 35px -48px #0000001a}.custum-file-upload[_ngcontent-%COMP%] .icon[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:center}.custum-file-upload[_ngcontent-%COMP%] .icon[_ngcontent-%COMP%] svg[_ngcontent-%COMP%]{height:40px;fill:#4b5563}.custum-file-upload[_ngcontent-%COMP%] .text[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:center}.custum-file-upload[_ngcontent-%COMP%] .text[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{font-weight:200;color:#4b5563}.custum-file-upload[_ngcontent-%COMP%] input[_ngcontent-%COMP%]{display:none}.disclaimer[_ngcontent-%COMP%]{font-size:12px;width:200px;margin-top:10px}.img-preview[_ngcontent-%COMP%]{max-width:100px;max-height:100px;object-fit:contain}.preview-container[_ngcontent-%COMP%]{display:flex;flex-direction:column;align-items:center}@media (max-width: 1300px){.outer-container[_ngcontent-%COMP%]{display:flex;flex-direction:column}.confirm[_ngcontent-%COMP%]{display:flex;justify-content:right;margin-right:0;margin-top:0}.img-preview[_ngcontent-%COMP%]{max-width:100px;max-height:100px;object-fit:contain}}.pl[_ngcontent-%COMP%]{width:6em;height:6em}.pl__ring[_ngcontent-%COMP%]{animation:ringA 2s linear infinite}.pl__ring--a[_ngcontent-%COMP%]{stroke:#4b3275}.pl__ring--b[_ngcontent-%COMP%]{animation-name:ringB;stroke:#86af4e}.pl__ring--c[_ngcontent-%COMP%]{animation-name:ringC;stroke:#95c121}.pl__ring--d[_ngcontent-%COMP%]{animation-name:ringD;stroke:#654a98}@keyframes ringA{0%,4%{stroke-dasharray:0 660;stroke-width:20;stroke-dashoffset:-330}12%{stroke-dasharray:60 600;stroke-width:30;stroke-dashoffset:-335}32%{stroke-dasharray:60 600;stroke-width:30;stroke-dashoffset:-595}40%,54%{stroke-dasharray:0 660;stroke-width:20;stroke-dashoffset:-660}62%{stroke-dasharray:60 600;stroke-width:30;stroke-dashoffset:-665}82%{stroke-dasharray:60 600;stroke-width:30;stroke-dashoffset:-925}90%,to{stroke-dasharray:0 660;stroke-width:20;stroke-dashoffset:-990}}@keyframes ringB{0%,12%{stroke-dasharray:0 220;stroke-width:20;stroke-dashoffset:-110}20%{stroke-dasharray:20 200;stroke-width:30;stroke-dashoffset:-115}40%{stroke-dasharray:20 200;stroke-width:30;stroke-dashoffset:-195}48%,62%{stroke-dasharray:0 220;stroke-width:20;stroke-dashoffset:-220}70%{stroke-dasharray:20 200;stroke-width:30;stroke-dashoffset:-225}90%{stroke-dasharray:20 200;stroke-width:30;stroke-dashoffset:-305}98%,to{stroke-dasharray:0 220;stroke-width:20;stroke-dashoffset:-330}}@keyframes ringC{0%{stroke-dasharray:0 440;stroke-width:20;stroke-dashoffset:0}8%{stroke-dasharray:40 400;stroke-width:30;stroke-dashoffset:-5}28%{stroke-dasharray:40 400;stroke-width:30;stroke-dashoffset:-175}36%,58%{stroke-dasharray:0 440;stroke-width:20;stroke-dashoffset:-220}66%{stroke-dasharray:40 400;stroke-width:30;stroke-dashoffset:-225}86%{stroke-dasharray:40 400;stroke-width:30;stroke-dashoffset:-395}94%,to{stroke-dasharray:0 440;stroke-width:20;stroke-dashoffset:-440}}@keyframes ringD{0%,8%{stroke-dasharray:0 440;stroke-width:20;stroke-dashoffset:0}16%{stroke-dasharray:40 400;stroke-width:30;stroke-dashoffset:-5}36%{stroke-dasharray:40 400;stroke-width:30;stroke-dashoffset:-175}44%,50%{stroke-dasharray:0 440;stroke-width:20;stroke-dashoffset:-220}58%{stroke-dasharray:40 400;stroke-width:30;stroke-dashoffset:-225}78%{stroke-dasharray:40 400;stroke-width:30;stroke-dashoffset:-395}86%,to{stroke-dasharray:0 440;stroke-width:20;stroke-dashoffset:-440}}.loader-container[_ngcontent-%COMP%]{position:fixed;top:50%;left:50%;z-index:9999}.pl[_ngcontent-%COMP%]{display:block;margin:0 auto}\"]}),n})();const CC=[{matcher:n=>location.origin.includes(x.N.qrCodePath)&&location.pathname.includes(\"/webapp\")?{consumed:n}:null,component:nZ},{path:\"viewMap\",component:rZ},{path:\"\",component:rt},{path:\"selectCpo\",component:G},{path:\"confirmRegister/:token \",component:vt},{path:\"management\",canActivate:[$p],component:zp,children:[{path:\"\",component:y1},{path:\"cpms\",loadChildren:()=>Promise.all([c.e(364),c.e(139),c.e(805),c.e(66),c.e(26)]).then(c.bind(c,17026)).then(n=>n.CpmsRoutingModule)},{path:\"cpo\",loadChildren:()=>Promise.all([c.e(364),c.e(139),c.e(805),c.e(627),c.e(266),c.e(65)]).then(c.bind(c,19065)).then(n=>n.CpoRoutingModule)},{path:\"emp\",loadChildren:()=>Promise.all([c.e(364),c.e(139),c.e(627),c.e(66),c.e(925),c.e(130)]).then(c.bind(c,23130)).then(n=>n.EmpRoutingModule)},{path:\"fleet\",loadChildren:()=>Promise.all([c.e(364),c.e(266),c.e(925),c.e(167)]).then(c.bind(c,30167)).then(n=>n.FleetRoutingModule)},{path:\"profilo\",component:Hp},{path:\"authentication\",component:kc},{path:\"add-operator\",component:ig},{path:\"add-operator-cpms\",component:xm},{path:\"operator\",component:Uc,children:[]},{path:\"portal-settings\",component:gC,children:[]},{path:\"tools\",component:(()=>{class n{constructor(e,o){this.route=e,this.router=o,this.selectedIndex=0}ngOnInit(){this.route.queryParams.subscribe(e=>{const o=e.tab;o&&this.setTabFromPath(o)})}onTabChange(e){this.router.navigate([],{relativeTo:this.route,queryParams:{tab:e.tab.textLabel.toLowerCase()},queryParamsHandling:\"merge\"})}setTabFromPath(e){const a=[\"Errori\"].indexOf(e.toLowerCase());-1!==a&&(this.selectedIndex=a)}}return n.\\u0275fac=function(e){return new(e||n)(t.Y36(N.gz),t.Y36(N.F0))},n.\\u0275cmp=t.Xpm({type:n,selectors:[[\"app-tools\"]],viewQuery:function(e,o){if(1&e&&t.Gf(tp,5),2&e){let a;t.iGM(a=t.CRH())&&(o.alertsComponent=a.first)}},decls:6,vars:4,consts:[[1,\"content-body\"],[1,\"container-fluid\",\"default-mt-btn\",\"default-mt-table\",\"default-mt-select\",\"default-autocomplete\",\"default-mt-spinner\"],[3,\"selectedIndex\",\"selectedIndexChange\",\"selectedTabChange\"],[2,\"padding-bottom\",\"20%\",3,\"label\"]],template:function(e,o){1&e&&(t.TgZ(0,\"div\",0),t.TgZ(1,\"div\",1),t.TgZ(2,\"mat-tab-group\",2),t.NdJ(\"selectedIndexChange\",function(d){return o.selectedIndex=d})(\"selectedTabChange\",function(d){return o.onTabChange(d)}),t.TgZ(3,\"mat-tab\",3),t.ALo(4,\"translate\"),t._UZ(5,\"app-error-code-error-description\"),t.qZA(),t.qZA(),t.qZA(),t.qZA()),2&e&&(t.xp6(2),t.Q6J(\"selectedIndex\",o.selectedIndex),t.xp6(1),t.s9C(\"label\",t.lcZ(4,2,\"Errori\")))},directives:[pt.SP,pt.uX,ZC],pipes:[U.X$],styles:[\"\"]}),n})(),children:[]},{path:\"product\",component:eu.F},{path:\"cdr\",component:nu.K},{path:\"add-product\",component:ou.e},{path:\"bi\",component:ru},{path:\"stats\",component:gu},{path:\"pub-offers\",component:Z_},{path:\"sub-offers\",component:sh},{path:\"confirmcpo\",component:_h},{path:\"vehicles\",children:[{path:\"\",component:Qh},{path:\"addVeicolo\",component:Ce}]},{path:\"**\",component:Pc}]},{path:\"forbidden\",component:_e},{path:\"**\",component:Pc}];let vC=(()=>{class n{}return n.\\u0275fac=function(e){return new(e||n)},n.\\u0275mod=t.oAB({type:n}),n.\\u0275inj=t.cJS({imports:[[N.Bz.forRoot(CC)],N.Bz]}),n})();var bC=c(20945),op=c(12910);let AC=(()=>{class n{constructor(e,o){this.translateService=e,this.swUpdate=o}ngOnInit(){this.swUpdate.isEnabled&&(0,bC.F)(6e4).subscribe(()=>this.swUpdate.checkForUpdate().then(()=>{})),this.swUpdate.available.subscribe(()=>{location.reload()}),this.translateService.setDefaultLang(\"it\"),null===b().get(\"lang\",{decrypt:!0})?this.translateService.use(\"it\"):this.translateService.use(b().get(\"lang\",{decrypt:!0}))}}return n.\\u0275fac=function(e){return new(e||n)(t.Y36(U.sK),t.Y36(op.yO))},n.\\u0275cmp=t.Xpm({type:n,selectors:[[\"app-root\"]],decls:1,vars:0,template:function(e,o){1&e&&t._UZ(0,\"router-outlet\")},directives:[N.lC],styles:[\"\"]}),n})();var xC=c(4666),qe=c(93104);function TC(n,s){1&n&&(t.TgZ(0,\"div\",2),t._UZ(1,\"mat-progress-bar\",3),t.qZA())}function PC(n,s){if(1&n&&t._UZ(0,\"div\",4),2&n){const e=t.oxw();t.Q6J(\"options\",e.options)}}let OC=(()=>{class n{constructor(e,o){this.ricService=e,this.translate=o,this.transactionData={transaction:null,loadIt:!1},this.alreadyLoaded=!1,this.options={tooltip:{trigger:\"axis\",axisPointer:{type:\"cross\",label:{backgroundColor:\"#6a7985\"}}},legend:{data:[this.translate.instant(\"kwh_erogati\"),this.translate.instant(\"pot_erogata\"),this.translate.instant(\"s_o_c\")]},grid:{left:\"3%\",right:\"4%\",bottom:\"3%\",containLabel:!0},xAxis:[{type:\"category\",boundaryGap:!1,data:[]}],yAxis:[{type:\"value\",name:this.translate.instant(\"kwh_erogati\")+\"\\n\"+this.translate.instant(\"pot_erogata\")},{type:\"value\",name:this.translate.instant(\"s_o_c\")+\" (%)\",min:0,max:100}],series:[{name:this.translate.instant(\"pot_erogata\"),type:\"line\",yAxisIndex:0,lineStyle:{width:5},data:[]},{name:this.translate.instant(\"kwh_erogati\"),type:\"line\",yAxisIndex:0,label:{normal:{show:!1}},lineStyle:{width:5},data:[]},{name:this.translate.instant(\"s_o_c\"),type:\"line\",yAxisIndex:1,areaStyle:{normal:{color:\"#ffedc8\"}},lineStyle:{width:5},data:[],z:1}]}}ngOnInit(){this.isLoading=!0,console.log(this.transactionData),this.transaction=Object.assign({},this.transactionData.transaction),console.log(this.transaction)}ngDoCheck(){1==this.transactionData.loadIt&&0==this.alreadyLoaded&&(this.getValues().then(()=>{let e=new Date(this.values[0].timestamp).getTime(),o=new Date(this.values[0].timestamp).getMinutes()>=10?new Date(this.values[0].timestamp).getMinutes():\"0\"+new Date(this.values[0].timestamp).getMinutes();this.options.xAxis[0].data.push(new Date(this.values[0].timestamp).getHours()+\":\"+o);var a=0;let d=0;this.values[0].sampledValue.forEach(h=>{\"ENERGY_ACTIVE_IMPORT_REGISTER\"===h.measurand&&!h.phase&&(a+=Number(h.value)),\"SO_C\"===h.measurand&&!h.phase&&(d+=Number(h.value))}),console.log(d),console.log(a),console.log(this.transaction);for(let h of this.values)if(new Date(h.timestamp).getTime()-e>=3e5){let y=new Date(h.timestamp).getMinutes()>=10?new Date(h.timestamp).getMinutes():\"0\"+new Date(h.timestamp).getMinutes();e=new Date(h.timestamp).getTime();let D=new Date(h.timestamp).getHours()+\":\"+y;if(h.sampledValue.length<=1)continue;let Tt,Ct,V=0,ft=0,xt=0,kt=h.sampledValue.filter(Zt=>Zt.phase);h.sampledValue.forEach(Zt=>{\"ENERGY_ACTIVE_IMPORT_REGISTER\"===Zt.measurand&&!Zt.phase&&(V+=Number(Zt.value),\"W\"===Zt.unit&&(Tt=!0)),\"SO_C\"===Zt.measurand&&!Zt.phase&&(xt+=Number(Zt.value)),kt.length>0?\"POWER_ACTIVE_IMPORT\"===Zt.measurand&&Zt.phase&&(ft+=Number(Zt.value),\"WH\"===Zt.unit&&(Ct=!0)):\"POWER_ACTIVE_IMPORT\"===Zt.measurand&&!Zt.phase&&(ft+=Number(Zt.value),\"WH\"===Zt.unit&&(Ct=!0))}),Tt?V=(V-a)/1e3:V-=a,ft=Number(Ct?(ft/1e3).toFixed(2):ft.toFixed(2)),this.options.xAxis[0].data.push(D),this.options.series[1].data.push(V),this.options.series[0].data.push(ft),this.options.series[2].data.push(xt)}this.isLoading=!1}),this.alreadyLoaded=!0)}getValues(){return(0,C.mG)(this,void 0,void 0,function*(){console.log(this.transactionData.transactionId),this.values=yield this.ricService.getByTransactionId(this.transactionData.transactionId).toPromise(),console.log(this.values)})}}return n.\\u0275fac=function(e){return new(e||n)(t.Y36(xC.p),t.Y36(U.sK))},n.\\u0275cmp=t.Xpm({type:n,selectors:[[\"line-chart-graph\"]],inputs:{transactionData:\"transactionData\"},decls:2,vars:2,consts:[[\"class\",\"button-groups\",4,\"ngIf\"],[\"echarts\",\"\",\"theme\",\"macarons\",\"class\",\"demo-chart\",3,\"options\",4,\"ngIf\"],[1,\"button-groups\"],[\"mode\",\"indeterminate\"],[\"echarts\",\"\",\"theme\",\"macarons\",1,\"demo-chart\",3,\"options\"]],template:function(e,o){1&e&&(t.YNc(0,TC,2,0,\"div\",0),t.YNc(1,PC,1,1,\"div\",1)),2&e&&(t.Q6J(\"ngIf\",o.isLoading),t.xp6(1),t.Q6J(\"ngIf\",!o.isLoading))},directives:[v.O5,Rt.pW,qe._w],styles:[\"\"]}),n})();var yC=c(77310),qC=c(74937),MC=c(20552),wC=c(52796),EC=c(1933),kC=c(58341),UC=c(70346),IC=c(90171),NC=c(4929),SC=c(94935),LC=c(54436),DC=c(45396),RC=c(12522),FC=c(11436),GC=c(87587),JC=c(32472),BC=c(40053),QC=c(93036),zC=c(40898);function $C(n,s){1&n&&(t.TgZ(0,\"div\",2),t._UZ(1,\"mat-progress-bar\",3),t.qZA())}function YC(n,s){if(1&n&&(t.TgZ(0,\"div\"),t._UZ(1,\"div\",4),t.TgZ(2,\"div\",5),t.TgZ(3,\"table\"),t.TgZ(4,\"tr\"),t.TgZ(5,\"th\"),t._uU(6),t.ALo(7,\"translate\"),t.qZA(),t.TgZ(8,\"th\"),t._uU(9),t.ALo(10,\"translate\"),t.qZA(),t.TgZ(11,\"th\"),t._uU(12),t.ALo(13,\"translate\"),t.qZA(),t.TgZ(14,\"th\"),t._uU(15),t.ALo(16,\"translate\"),t.qZA(),t.qZA(),t.TgZ(17,\"tr\"),t.TgZ(18,\"td\"),t._uU(19),t.qZA(),t.TgZ(20,\"td\"),t._uU(21),t.qZA(),t.TgZ(22,\"td\"),t._uU(23),t.qZA(),t.TgZ(24,\"td\"),t._uU(25),t.qZA(),t.qZA(),t.qZA(),t.qZA(),t._UZ(26,\"div\",4),t.TgZ(27,\"div\",5),t.TgZ(28,\"table\"),t.TgZ(29,\"tr\"),t.TgZ(30,\"th\"),t._uU(31),t.ALo(32,\"translate\"),t.qZA(),t.TgZ(33,\"th\"),t._uU(34),t.ALo(35,\"translate\"),t.qZA(),t.TgZ(36,\"th\"),t._uU(37),t.ALo(38,\"translate\"),t.qZA(),t.TgZ(39,\"th\"),t._uU(40),t.ALo(41,\"translate\"),t.qZA(),t.qZA(),t.TgZ(42,\"tr\"),t.TgZ(43,\"td\"),t._uU(44),t.qZA(),t.TgZ(45,\"td\"),t._uU(46),t.qZA(),t.TgZ(47,\"td\"),t._uU(48),t.qZA(),t.TgZ(49,\"td\"),t._uU(50),t.qZA(),t.qZA(),t.TgZ(51,\"tr\"),t.TgZ(52,\"td\"),t._uU(53),t.qZA(),t.TgZ(54,\"td\"),t._uU(55),t.qZA(),t.TgZ(56,\"td\"),t._uU(57),t.qZA(),t.TgZ(58,\"td\"),t._uU(59),t.qZA(),t.qZA(),t.qZA(),t.qZA(),t._UZ(60,\"div\",4),t.qZA()),2&n){const e=t.oxw();t.xp6(1),t.Q6J(\"options\",e.options),t.xp6(5),t.Oqu(t.lcZ(7,23,\"riferimento\")),t.xp6(3),t.Oqu(t.lcZ(10,25,\"valore_min\")),t.xp6(3),t.Oqu(t.lcZ(13,27,\"valore_med\")),t.xp6(3),t.Oqu(t.lcZ(16,29,\"valore_max\")),t.xp6(4),t.Oqu(e.clusterDataStat.avg.dataLoggerData.label),t.xp6(2),t.Oqu(e.clusterDataStat.min.dataLoggerData.value),t.xp6(2),t.Oqu(e.clusterDataStat.avg.dataLoggerData.value),t.xp6(2),t.Oqu(e.clusterDataStat.max.dataLoggerData.value),t.xp6(1),t.Q6J(\"options\",e.options2),t.xp6(5),t.Oqu(t.lcZ(32,31,\"riferimento\")),t.xp6(3),t.Oqu(t.lcZ(35,33,\"valore_min\")),t.xp6(3),t.Oqu(t.lcZ(38,35,\"valore_med\")),t.xp6(3),t.Oqu(t.lcZ(41,37,\"valore_max\")),t.xp6(4),t.Oqu(e.clusterDataStat.avg.calculatedValuesPhase.label),t.xp6(2),t.Oqu(e.clusterDataStat.min.calculatedValuesPhase.value),t.xp6(2),t.Oqu(e.clusterDataStat.avg.calculatedValuesPhase.value),t.xp6(2),t.Oqu(e.clusterDataStat.max.calculatedValuesPhase.value),t.xp6(3),t.Oqu(e.clusterDataStat.avg.calculatedValuesPlant.label),t.xp6(2),t.Oqu(e.clusterDataStat.min.calculatedValuesPlant.value),t.xp6(2),t.Oqu(e.clusterDataStat.avg.calculatedValuesPlant.value),t.xp6(2),t.Oqu(e.clusterDataStat.max.calculatedValuesPlant.value),t.xp6(1),t.Q6J(\"options\",e.options3)}}let VC=(()=>{class n{constructor(e){this.clusterDataService=e,this.clustGraph={clusterData:null,loadIt:!1},this.alreadyLoaded=!1,this.options={tooltip:{trigger:\"axis\",axisPointer:{type:\"cross\",label:{backgroundColor:\"#6a7985\"}}},legend:{data:[\"A_L1\",\"A_L2\",\"A_L3\"]},grid:{left:\"3%\",right:\"4%\",bottom:\"3%\",containLabel:!0},xAxis:[{type:\"category\",boundaryGap:!1,data:[]}],yAxis:[{type:\"value\"}],series:[{name:\"A_L1\",type:\"line\",label:{normal:{show:!1}},areaStyle:{normal:{}},data:[]},{name:\"A_L2\",type:\"line\",areaStyle:{normal:{}},data:[]},{name:\"A_L3\",type:\"line\",areaStyle:{normal:{}},data:[]}]},this.options2={tooltip:{trigger:\"axis\",axisPointer:{type:\"cross\",label:{backgroundColor:\"#6a7985\"}}},legend:{data:[\"Power_Available_PerPhase_W\",\"Power_Total_Plant_W\"]},grid:{left:\"3%\",right:\"4%\",bottom:\"3%\",containLabel:!0},xAxis:[{type:\"category\",boundaryGap:!1,data:[]}],yAxis:[{type:\"value\"}],series:[{name:\"Power_Available_PerPhase_W\",type:\"line\",label:{normal:{show:!1}},areaStyle:{normal:{}},data:[]},{name:\"Power_Total_Plant_W\",type:\"line\",areaStyle:{normal:{}},data:[]}]},this.options3={tooltip:{trigger:\"axis\",axisPointer:{type:\"cross\",label:{backgroundColor:\"#6a7985\"}}},legend:{data:[\"ChargeBox Limits\"]},grid:{left:\"3%\",right:\"4%\",bottom:\"3%\",containLabel:!0},xAxis:[{type:\"category\",boundaryGap:!1,data:[]}],yAxis:[{type:\"value\"}],series:[{name:\"ChargeBox Limits\",type:\"line\",label:{normal:{show:!1}},areaStyle:{normal:{}},data:[]}]}}ngOnInit(){this.isLoading=!0,this.clusterData=this.clustGraph.clusterData}getValues(){return(0,C.mG)(this,void 0,void 0,function*(){this.clusterData=yield this.clusterDataService.getById(this.clusterData._id).toPromise(),console.log(this.clusterData),this.clusterDataStat=yield this.clusterDataService.getStatData(this.clusterData._id).toPromise()})}idToDate(e){return new Date(1e3*parseInt(e.toString().substring(0,8),16))}truncToDecimal(e){return Math.trunc(100*e)/100}sessionTime(e,o){return e.getTime()-o.getTime()}freqDataInTime(e){return e>=18e6?3e5:e<18e6&&e>=12e5?e/60:e<12e5?2e4:void 0}ngDoCheck(){1==this.clustGraph.loadIt&&0==this.alreadyLoaded&&(this.getValues().then(()=>{{let e=new Date(this.idToDate(this.clusterData.outputData[0].dataLoggerData[0]._id)).getTime(),o=new Date(this.idToDate(this.clusterData.outputData[0].dataLoggerData[0]._id)).getMinutes()>=10?new Date(this.idToDate(this.clusterData.outputData[0].dataLoggerData[0]._id)).getMinutes():\"0\"+new Date(this.idToDate(this.clusterData.outputData[0].dataLoggerData[0]._id)).getMinutes();this.options.xAxis[0].data.push(new Date(this.idToDate(this.clusterData.outputData[0].dataLoggerData[0]._id)).getHours()+\":\"+o),this.options.series[0].data.push(Number(this.truncToDecimal(this.clusterData.outputData[0].dataLoggerData[0].value))),this.clusterData.outputData[0].dataLoggerData.length>1&&(this.options.series[1].data.push(Number(this.truncToDecimal(this.clusterData.outputData[0].dataLoggerData[1].value))),this.options.series[2].data.push(Number(this.truncToDecimal(this.clusterData.outputData[0].dataLoggerData[2].value)))),console.log(this.clusterData.outputData);let a=this.sessionTime(this.idToDate(this.clusterData.outputData[this.clusterData.outputData.length-1].dataLoggerData[0]._id),this.idToDate(this.clusterData.outputData[0].dataLoggerData[0]._id)),d=this.freqDataInTime(a);for(let h of this.clusterData.outputData)if(new Date(this.idToDate(h.dataLoggerData[0]._id)).getTime()-e>=d){let y=new Date(this.idToDate(h.dataLoggerData[0]._id)).getMinutes()>=10?new Date(this.idToDate(h.dataLoggerData[0]._id)).getMinutes():\"0\"+new Date(this.idToDate(h.dataLoggerData[0]._id)).getMinutes();e=new Date(this.idToDate(h.dataLoggerData[0]._id)).getTime();let D=new Date(this.idToDate(h.dataLoggerData[0]._id)).getHours()+\":\"+y,V=this.truncToDecimal(h.dataLoggerData[0].value);if(this.clusterData.outputData[0].dataLoggerData.length>1){let ft=this.truncToDecimal(h.dataLoggerData[1].value),Tt=this.truncToDecimal(h.dataLoggerData[2].value);this.options.series[1].data.push(ft),this.options.series[2].data.push(Tt)}this.options.xAxis[0].data.push(D),this.options.series[0].data.push(V)}}{let e=new Date(this.idToDate(this.clusterData.outputData[0].calculatedValues[0]._id)).getTime(),o=new Date(this.idToDate(this.clusterData.outputData[0].calculatedValues[0]._id)).getMinutes()>=10?new Date(this.idToDate(this.clusterData.outputData[0].calculatedValues[0]._id)).getMinutes():\"0\"+new Date(this.idToDate(this.clusterData.outputData[0].calculatedValues[0]._id)).getMinutes();this.options2.xAxis[0].data.push(new Date(this.idToDate(this.clusterData.outputData[0].calculatedValues[0]._id)).getHours()+\":\"+o),this.options2.series[0].data.push(Number(this.truncToDecimal(this.clusterData.outputData[0].calculatedValues[0].value))),this.options2.series[1].data.push(Number(this.truncToDecimal(this.clusterData.outputData[0].calculatedValues[1].value)));let a=this.sessionTime(this.idToDate(this.clusterData.outputData[this.clusterData.outputData.length-1].calculatedValues[0]._id),this.idToDate(this.clusterData.outputData[0].calculatedValues[0]._id)),d=this.freqDataInTime(a);for(let h of this.clusterData.outputData)if(new Date(this.idToDate(h.calculatedValues[0]._id)).getTime()-e>=d){let y=new Date(this.idToDate(h.calculatedValues[0]._id)).getMinutes()>=10?new Date(this.idToDate(h.calculatedValues[0]._id)).getMinutes():\"0\"+new Date(this.idToDate(h.calculatedValues[0]._id)).getMinutes();e=new Date(this.idToDate(h.calculatedValues[0]._id)).getTime();let D=new Date(this.idToDate(h.calculatedValues[0]._id)).getHours()+\":\"+y,V=this.truncToDecimal(h.calculatedValues[0].value),ft=this.truncToDecimal(h.calculatedValues[1].value);this.options2.xAxis[0].data.push(D),this.options2.series[0].data.push(V),this.options2.series[1].data.push(ft)}}{let e=new Date(this.idToDate(this.clusterData.chargeBoxLimits[0]._id)).getTime(),o=new Date(this.idToDate(this.clusterData.chargeBoxLimits[0]._id)).getMinutes()>=10?new Date(this.idToDate(this.clusterData.chargeBoxLimits[0]._id)).getMinutes():\"0\"+new Date(this.idToDate(this.clusterData.chargeBoxLimits[0]._id)).getMinutes();this.options3.xAxis[0].data.push(new Date(this.idToDate(this.clusterData.chargeBoxLimits[0]._id)).getHours()+\":\"+o),this.options3.series[0].data.push(Number(this.truncToDecimal(this.clusterData.chargeBoxLimits[0].limit)));let a=this.sessionTime(this.idToDate(this.clusterData.chargeBoxLimits[this.clusterData.chargeBoxLimits.length-1]._id),this.idToDate(this.clusterData.chargeBoxLimits[0]._id)),d=this.freqDataInTime(a);for(let h of this.clusterData.chargeBoxLimits)if(new Date(this.idToDate(h._id)).getTime()-e>=d){let y=new Date(this.idToDate(h._id)).getMinutes()>=10?new Date(this.idToDate(h._id)).getMinutes():\"0\"+new Date(this.idToDate(h._id)).getMinutes();e=new Date(this.idToDate(h._id)).getTime();let V,D=new Date(this.idToDate(h._id)).getHours()+\":\"+y;V=this.truncToDecimal(h.limit),this.options3.xAxis[0].data.push(D),this.options3.series[0].data.push(V)}}this.isLoading=!1}),this.alreadyLoaded=!0)}}return n.\\u0275fac=function(e){return new(e||n)(t.Y36(zC.e))},n.\\u0275cmp=t.Xpm({type:n,selectors:[[\"cluster-data-graph\"]],inputs:{clustGraph:\"clustGraph\"},decls:2,vars:2,consts:[[\"class\",\"button-groups\",4,\"ngIf\"],[4,\"ngIf\"],[1,\"button-groups\"],[\"mode\",\"indeterminate\"],[\"echarts\",\"\",\"theme\",\"macarons\",1,\"demo-chart\",3,\"options\"],[1,\"table\"]],template:function(e,o){1&e&&(t.YNc(0,$C,2,0,\"div\",0),t.YNc(1,YC,61,39,\"div\",1)),2&e&&(t.Q6J(\"ngIf\",o.isLoading),t.xp6(1),t.Q6J(\"ngIf\",!o.isLoading))},directives:[v.O5,Rt.pW,qe._w],pipes:[U.X$],styles:[\"table[_ngcontent-%COMP%]{font-family:arial,sans-serif;border-collapse:collapse;width:100%;text-align:center}.table[_ngcontent-%COMP%]{padding-top:20px;padding-bottom:50px}td[_ngcontent-%COMP%], th[_ngcontent-%COMP%]{border:1px solid #dddddd;padding:8px}tr[_ngcontent-%COMP%]:nth-child(even){background-color:#ddd}\"]}),n})();var jC=c(93127),WC=c(87528),HC=c(34323),KC=c(69688),XC=c(71399);let t0=(()=>{class n{}return n.\\u0275fac=function(e){return new(e||n)},n.\\u0275mod=t.oAB({type:n}),n.\\u0275inj=t.cJS({}),n})();var e0=c(99800),n0=c(22290),o0=c(87744),a0=c(14776),r0=c(51580),s0=c(65685),l0=c(75652),c0=c(33725),p0=c(10930),d0=c(79866),g0=c(79142),m0=c(48185),u0=c(86526),_0=c(31575),Me=c(96710),h0=c(55819),f0=c(49603),Z0=c(7010),C0=c(30405),v0=c(7376),b0=c(32434),A0=c(52472),x0=c(42939),T0=c(53787),P0=c(19544),O0=c(85132),y0=c(80422),q0=c(70085),M0=c(46001),w0=c(61381);function E0(n){return new JC.w(n)}let k0=(()=>{class n{}return n.\\u0275fac=function(e){return new(e||n)},n.\\u0275mod=t.oAB({type:n,bootstrap:[AC]}),n.\\u0275inj=t.cJS({providers:[v.uU,oe,r,{provide:Me.KU,useValue:Me.OP},{provide:zt.Ad,useValue:\"it-IT\"},{provide:i.TP,useClass:_,multi:!0},i.eN],imports:[[h0.QG,Me.v3,Xc.U$,ge.tw.forRoot(),n0.Rh.forRoot({positionClass:\"toast-top-right\",preventDuplicates:!0}),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W,U.Pi,yt.jt,v.O5,w.g,M.BZ,Ft.F,wt.YE,M.w1,M.fO,M.ge,wt.nU,M.Dz,M.ev,HC.h,M.as,M.XQ,M.nj,M.Gk,X.NW],[U.X$]),t.B6R(e0.U,[OC],[U.X$]),x.N.production&&((0,t.G48)(),window.console.log=function(){}),p.q6().bootstrapModule(k0).catch(n=>console.error(n))},87889:(st,J,c)=>{\"use strict\";c.d(J,{zf:()=>_,p4:()=>x,GJ:()=>i});var p=c(64841),t=c.n(p);function _(){return window.location.href.includes(\"energinaio.edificioincloud.it\")?\"energinaio\":window.location.href.includes(\"test.beagleplug.com\")||window.location.href.includes(\"management.beagleplug.com\")?\"beagleplug\":window.location.href.includes(\"eyes.beagleplug.com\")?\"eyes\":window.location.href.includes(\"www.miacharge.com\")?\"miacharge\":window.location.href.includes(\"easygreen.electriease.com\")?\"easygreen\":window.location.href.includes(\"electriease.com\")||location.origin.includes(\"qrtest\")||window.location.href.includes(\"electriease.cloud\")||window.location.href.includes(\"192.168.1.52\")?\"electriease\":window.location.href.includes(\"gestione.electricgasoline.it\")?\"electricgasoline\":window.location.href.includes(\"manager.sagelio.com\")?\"sagelio\":window.location.href.includes(\"manager.ekomobil.it\")||location.origin.includes(\"qrtestwl\")?\"ekomobil\":window.location.href.includes(\"emobility.aquilaenergie.it\")?\"aquila\":window.location.href.includes(\"monitor.charge.to.it\")?\"silla\":window.location.href.includes(\"monitor.tcarica.com\")||window.location.href.includes(\"localhost\")?\"t-carica\":void 0}function x(Z){switch(Z){case\"beagleplug\":return\"86683c77-cef7-4b5f-8033-f685a3b32d8f\";case\"electriease\":return\"electriease\";case\"eyes\":return\"52fc6d5b-4a2f-4337-ab47-bbe42445b857\";case\"energinaio\":return\"a3a38334-6b79-4da1-bcbc-b42699fe322c\";case\"miacharge\":return\"a5bf3fd0-45ac-4f99-9401-6d5ff7e3a5ce\";case\"electricgasoline\":return\"42dc2c7e-3dc2-4ed6-8a05-1219e6289537\";case\"sagelio\":return\"aaa227a3-47bd-4dbc-8696-50dedad74452\";case\"ekomobil\":return\"9903f777-fea3-462c-aca6-8c4c87291e66\";case\"aquila\":return\"1026a933-437d-499c-af09-b2a298ff67ba\";case\"silla\":return\"004d0745-ce25-4133-bc9d-d2c3d5154bc6\";case\"easygreen\":return\"4a9c2b1d-75e8-43f1-b64f-b6f4d4901962\";case\"t-carica\":return\"bbe2837b-1717-4f44-8aa1-7466af71358a\"}}function i(){return\"ADMIN\"===t().get(\"userRole\",{decrypt:!0})}JSON.parse(t().get(\"dataEmpCpo\",{decrypt:!0}))},46700:(st,J,c)=>{var p={\"./af\":26431,\"./af.js\":26431,\"./ar\":81286,\"./ar-dz\":1616,\"./ar-dz.js\":1616,\"./ar-kw\":9759,\"./ar-kw.js\":9759,\"./ar-ly\":43160,\"./ar-ly.js\":43160,\"./ar-ma\":62551,\"./ar-ma.js\":62551,\"./ar-ps\":51500,\"./ar-ps.js\":51500,\"./ar-sa\":79989,\"./ar-sa.js\":79989,\"./ar-tn\":6962,\"./ar-tn.js\":6962,\"./ar.js\":81286,\"./az\":15887,\"./az.js\":15887,\"./be\":14572,\"./be.js\":14572,\"./bg\":3276,\"./bg.js\":3276,\"./bm\":93344,\"./bm.js\":93344,\"./bn\":58985,\"./bn-bd\":83990,\"./bn-bd.js\":83990,\"./bn.js\":58985,\"./bo\":94391,\"./bo.js\":94391,\"./br\":46728,\"./br.js\":46728,\"./bs\":5536,\"./bs.js\":5536,\"./ca\":41043,\"./ca.js\":41043,\"./cs\":70420,\"./cs.js\":70420,\"./cv\":33513,\"./cv.js\":33513,\"./cy\":6771,\"./cy.js\":6771,\"./da\":47978,\"./da.js\":47978,\"./de\":46061,\"./de-at\":25204,\"./de-at.js\":25204,\"./de-ch\":2653,\"./de-ch.js\":2653,\"./de.js\":46061,\"./dv\":85,\"./dv.js\":85,\"./el\":8579,\"./el.js\":8579,\"./en-au\":25724,\"./en-au.js\":25724,\"./en-ca\":10525,\"./en-ca.js\":10525,\"./en-gb\":52847,\"./en-gb.js\":52847,\"./en-ie\":67216,\"./en-ie.js\":67216,\"./en-il\":39305,\"./en-il.js\":39305,\"./en-in\":73364,\"./en-in.js\":73364,\"./en-nz\":79130,\"./en-nz.js\":79130,\"./en-sg\":11161,\"./en-sg.js\":11161,\"./eo\":50802,\"./eo.js\":50802,\"./es\":40328,\"./es-do\":45551,\"./es-do.js\":45551,\"./es-mx\":75615,\"./es-mx.js\":75615,\"./es-us\":64790,\"./es-us.js\":64790,\"./es.js\":40328,\"./et\":96389,\"./et.js\":96389,\"./eu\":52961,\"./eu.js\":52961,\"./fa\":26151,\"./fa.js\":26151,\"./fi\":7997,\"./fi.js\":7997,\"./fil\":58898,\"./fil.js\":58898,\"./fo\":37779,\"./fo.js\":37779,\"./fr\":28174,\"./fr-ca\":3287,\"./fr-ca.js\":3287,\"./fr-ch\":38867,\"./fr-ch.js\":38867,\"./fr.js\":28174,\"./fy\":50452,\"./fy.js\":50452,\"./ga\":45014,\"./ga.js\":45014,\"./gd\":74127,\"./gd.js\":74127,\"./gl\":72124,\"./gl.js\":72124,\"./gom-deva\":6444,\"./gom-deva.js\":6444,\"./gom-latn\":37953,\"./gom-latn.js\":37953,\"./gu\":76604,\"./gu.js\":76604,\"./he\":1222,\"./he.js\":1222,\"./hi\":74235,\"./hi.js\":74235,\"./hr\":622,\"./hr.js\":622,\"./hu\":37735,\"./hu.js\":37735,\"./hy-am\":90402,\"./hy-am.js\":90402,\"./id\":59187,\"./id.js\":59187,\"./is\":30536,\"./is.js\":30536,\"./it\":35007,\"./it-ch\":94667,\"./it-ch.js\":94667,\"./it.js\":35007,\"./ja\":62093,\"./ja.js\":62093,\"./jv\":80059,\"./jv.js\":80059,\"./ka\":66870,\"./ka.js\":66870,\"./kk\":80880,\"./kk.js\":80880,\"./km\":1083,\"./km.js\":1083,\"./kn\":68785,\"./kn.js\":68785,\"./ko\":21721,\"./ko.js\":21721,\"./ku\":37851,\"./ku-kmr\":31385,\"./ku-kmr.js\":31385,\"./ku.js\":37851,\"./ky\":1727,\"./ky.js\":1727,\"./lb\":40346,\"./lb.js\":40346,\"./lo\":93002,\"./lo.js\":93002,\"./lt\":64035,\"./lt.js\":64035,\"./lv\":56927,\"./lv.js\":56927,\"./me\":5634,\"./me.js\":5634,\"./mi\":94173,\"./mi.js\":94173,\"./mk\":86320,\"./mk.js\":86320,\"./ml\":11705,\"./ml.js\":11705,\"./mn\":31062,\"./mn.js\":31062,\"./mr\":92805,\"./mr.js\":92805,\"./ms\":11341,\"./ms-my\":59900,\"./ms-my.js\":59900,\"./ms.js\":11341,\"./mt\":37734,\"./mt.js\":37734,\"./my\":19034,\"./my.js\":19034,\"./nb\":9324,\"./nb.js\":9324,\"./ne\":46495,\"./ne.js\":46495,\"./nl\":70673,\"./nl-be\":76272,\"./nl-be.js\":76272,\"./nl.js\":70673,\"./nn\":72486,\"./nn.js\":72486,\"./oc-lnc\":46219,\"./oc-lnc.js\":46219,\"./pa-in\":2829,\"./pa-in.js\":2829,\"./pl\":78444,\"./pl.js\":78444,\"./pt\":53170,\"./pt-br\":66117,\"./pt-br.js\":66117,\"./pt.js\":53170,\"./ro\":96587,\"./ro.js\":96587,\"./ru\":39264,\"./ru.js\":39264,\"./sd\":42135,\"./sd.js\":42135,\"./se\":95366,\"./se.js\":95366,\"./si\":93379,\"./si.js\":93379,\"./sk\":46143,\"./sk.js\":46143,\"./sl\":196,\"./sl.js\":196,\"./sq\":21082,\"./sq.js\":21082,\"./sr\":91621,\"./sr-cyrl\":98963,\"./sr-cyrl.js\":98963,\"./sr.js\":91621,\"./ss\":41404,\"./ss.js\":41404,\"./sv\":55685,\"./sv.js\":55685,\"./sw\":3872,\"./sw.js\":3872,\"./ta\":54106,\"./ta.js\":54106,\"./te\":39204,\"./te.js\":39204,\"./tet\":83692,\"./tet.js\":83692,\"./tg\":86361,\"./tg.js\":86361,\"./th\":31735,\"./th.js\":31735,\"./tk\":1568,\"./tk.js\":1568,\"./tl-ph\":96129,\"./tl-ph.js\":96129,\"./tlh\":13759,\"./tlh.js\":13759,\"./tr\":81644,\"./tr.js\":81644,\"./tzl\":90875,\"./tzl.js\":90875,\"./tzm\":16878,\"./tzm-latn\":11041,\"./tzm-latn.js\":11041,\"./tzm.js\":16878,\"./ug-cn\":74357,\"./ug-cn.js\":74357,\"./uk\":74810,\"./uk.js\":74810,\"./ur\":86794,\"./ur.js\":86794,\"./uz\":28966,\"./uz-latn\":77959,\"./uz-latn.js\":77959,\"./uz.js\":28966,\"./vi\":35386,\"./vi.js\":35386,\"./x-pseudo\":23156,\"./x-pseudo.js\":23156,\"./yo\":68028,\"./yo.js\":68028,\"./zh-cn\":9330,\"./zh-cn.js\":9330,\"./zh-hk\":89380,\"./zh-hk.js\":89380,\"./zh-mo\":60874,\"./zh-mo.js\":60874,\"./zh-tw\":96508,\"./zh-tw.js\":96508};function t(_){var x=u(_);return c(x)}function u(_){if(!c.o(p,_)){var x=new Error(\"Cannot find module '\"+_+\"'\");throw x.code=\"MODULE_NOT_FOUND\",x}return p[_]}t.keys=function(){return Object.keys(p)},t.resolve=u,st.exports=t,t.id=46700},42480:()=>{},48302:st=>{\"use strict\";st.exports=JSON.parse('[{\"id\":\"65c4eb16741c437a32dc54b4\",\"chargeBoxId\":\"GASGAS-00074\",\"description\":\"Arteni_DC\",\"stationDescription\":\"Arteni_Tavagnacco\",\"ocppProtocol\":\"ocpp1.6J\",\"connectorStatus\":[{\"chargeBoxId\":\"GASGAS-00074\",\"status\":\"Available\",\"errorCode\":\"NoError\",\"connectorId\":\"1\",\"statusTimestamp\":1708605917384,\"typeConnector\":\"CCSCOMBO2\",\"currentType\":\"DC\",\"costsProfile\":{\"parkingEur_MIN\":0.18,\"startingEur\":0,\"reservationCost\":0,\"eur_KWH\":0.92,\"eur_MIN\":0.01,\"minimumFee\":0,\"maximumFee\":0,\"fixedFee\":0},\"productID\":\"DC_50-120\",\"limit\":120,\"evseID\":\"IT*BPA*EAC24\",\"chargingProgrammingEnabled\":false,\"voltage\":0,\"amperage\":0,\"format\":\"CABLE\"},{\"chargeBoxId\":\"GASGAS-00074\",\"status\":\"Available\",\"errorCode\":\"NoError\",\"connectorId\":\"2\",\"statusTimestamp\":1708522066849,\"typeConnector\":\"CCSCOMBO2\",\"currentType\":\"DC\",\"costsProfile\":{\"parkingEur_MIN\":0.18,\"startingEur\":0,\"reservationCost\":0,\"eur_KWH\":0.92,\"eur_MIN\":0.01,\"minimumFee\":0,\"maximumFee\":0,\"fixedFee\":0},\"productID\":\"DC_50-120\",\"limit\":120,\"evseID\":\"IT*BPA*EAC61\",\"chargingProgrammingEnabled\":false,\"voltage\":0,\"amperage\":0},{\"chargeBoxId\":\"GASGAS-00074\",\"status\":\"Available\",\"errorCode\":\"NoError\",\"connectorId\":\"0\",\"statusTimestamp\":1708394616153,\"chargingProgrammingEnabled\":false,\"voltage\":0,\"amperage\":0}],\"position\":{\"x\":13.223028446445646,\"y\":46.129118202180706},\"associated\":false,\"insertConnectorStatusAfterTransactionMSG\":true,\"privato\":false,\"prenota\":false,\"couponsEnabled\":false,\"chargingProgrammingEnabled\":false,\"websocketConnected\":true,\"toPay\":false,\"eco\":false,\"microMobility\":false,\"eboat\":false,\"highWay\":false,\"restaurant\":false,\"hotel\":false,\"fleet\":false,\"condo\":false,\"mapVisible\":false,\"freeChargeMode\":false,\"roamingInfo\":{\"ocpiEnabled\":false,\"oicpEnabled\":true,\"internalEnabled\":true},\"info\":{\"openingTimes\":[{\"period\":[{\"begin\":\"00:01\",\"end\":\"23:59\"}],\"on\":\"Everyday\"}],\"siteUrl\":\"www.gasgas.fun\",\"email\":\"assistenza@gasgas.fun\",\"hotlineNumber\":\"0280889455\"},\"idCpo\":\"649c132d09f6dc6b2523d38c\",\"tenantId\":\"e5d37f3b-d4bc-4769-a842-f3136a5bce1a\",\"markerType\":\"DEFAULT\",\"charging_profiles_disabled\":false,\"trigger_status_internal_disabled\":false,\"send_vendor_config_on_boot\":false,\"chargingProfilesDisabled\":true,\"status\":\"Available\",\"statsStatus\":\"Available\",\"_gprs\":false},{\"id\":\"65c4ffae741c437a32dc5506\",\"chargeBoxId\":\"GASGAS-00195\",\"description\":\"Arteni_AC\",\"stationDescription\":\"Arteni_Tavagnacco\",\"ocppProtocol\":\"ocpp1.6J\",\"connectorStatus\":[{\"chargeBoxId\":\"GASGAS-00195\",\"status\":\"Available\",\"errorCode\":\"NoError\",\"connectorId\":\"1\",\"statusTimestamp\":1708503984000,\"typeConnector\":\"TIPO2\",\"currentType\":\"AC3\",\"costsProfile\":{\"parkingEur_MIN\":0.09,\"startingEur\":0,\"reservationCost\":0,\"eur_KWH\":0.66,\"eur_MIN\":0.01,\"minimumFee\":0,\"maximumFee\":0,\"fixedFee\":0},\"productID\":\"AC_11-22_kW\",\"limit\":11,\"evseID\":\"IT*BPA*EAC28\",\"chargingProgrammingEnabled\":false,\"voltage\":0,\"amperage\":0,\"format\":\"SOCKET\"},{\"chargeBoxId\":\"GASGAS-00195\",\"status\":\"Available\",\"errorCode\":\"NoError\",\"connectorId\":\"2\",\"statusTimestamp\":1708503985000,\"typeConnector\":\"TIPO2\",\"currentType\":\"AC3\",\"costsProfile\":{\"parkingEur_MIN\":0.09,\"startingEur\":0,\"reservationCost\":0,\"eur_KWH\":0.66,\"eur_MIN\":0.01,\"minimumFee\":0,\"maximumFee\":0,\"fixedFee\":0},\"productID\":\"AC_11-22_kW\",\"limit\":11,\"evseID\":\"IT*BPA*EAC25\",\"chargingProgrammingEnabled\":false,\"voltage\":0,\"amperage\":0,\"format\":\"SOCKET\"}],\"position\":{\"x\":13.223028446445646,\"y\":46.129118202180706},\"associated\":false,\"insertConnectorStatusAfterTransactionMSG\":true,\"privato\":false,\"prenota\":false,\"couponsEnabled\":false,\"chargingProgrammingEnabled\":false,\"websocketConnected\":true,\"toPay\":false,\"eco\":false,\"microMobility\":false,\"eboat\":false,\"highWay\":false,\"restaurant\":false,\"hotel\":false,\"fleet\":false,\"condo\":false,\"mapVisible\":false,\"freeChargeMode\":false,\"roamingInfo\":{\"ocpiEnabled\":false,\"oicpEnabled\":true,\"internalEnabled\":true},\"info\":{\"openingTimes\":[{\"period\":[{\"begin\":\"00:01\",\"end\":\"23:59\"}],\"on\":\"Everyday\"}],\"siteUrl\":\"www.gasgas.fun\",\"email\":\"assistenza@gasgas.fun\",\"hotlineNumber\":\"0280889455\"},\"idCpo\":\"649c132d09f6dc6b2523d38c\",\"tenantId\":\"e5d37f3b-d4bc-4769-a842-f3136a5bce1a\",\"markerType\":\"DEFAULT\",\"charging_profiles_disabled\":false,\"trigger_status_internal_disabled\":false,\"send_vendor_config_on_boot\":false,\"chargingProfilesDisabled\":true,\"status\":\"Available\",\"statsStatus\":\"Available\",\"_gprs\":false},{\"id\":\"651eab6a9d923f1bda0bb919\",\"chargeBoxId\":\"GASGAS-00068\",\"description\":\"SOM Lignano DC\",\"stationDescription\":\"GASGAS Lignano Sabbiadoro\",\"ocppProtocol\":\"ocpp1.6J\",\"connectorStatus\":[{\"chargeBoxId\":\"GASGAS-00068\",\"status\":\"Available\",\"errorCode\":\"NoError\",\"connectorId\":\"1\",\"statusTimestamp\":1708507240824,\"typeConnector\":\"CCSCOMBO2\",\"currentType\":\"DC\",\"costsProfile\":{\"parkingEur_MIN\":0.18,\"startingEur\":0,\"reservationCost\":0,\"eur_KWH\":0.84,\"eur_MIN\":0.01,\"minimumFee\":0,\"maximumFee\":0,\"fixedFee\":0},\"productID\":\"DC_0-50kW\",\"limit\":47,\"evseID\":\"IT*BPA*EAC65\",\"chargingProgrammingEnabled\":false,\"voltage\":0,\"amperage\":0},{\"chargeBoxId\":\"GASGAS-00068\",\"status\":\"Available\",\"errorCode\":\"NoError\",\"connectorId\":\"2\",\"statusTimestamp\":1708609943603,\"typeConnector\":\"CCSCOMBO2\",\"currentType\":\"DC\",\"costsProfile\":{\"parkingEur_MIN\":0.18,\"startingEur\":0,\"reservationCost\":0,\"eur_KWH\":0.84,\"eur_MIN\":0.01,\"minimumFee\":0,\"maximumFee\":0,\"fixedFee\":0},\"productID\":\"DC_0-50kW\",\"limit\":47,\"evseID\":\"IT*BPA*EAC64\",\"chargingProgrammingEnabled\":false,\"voltage\":0,\"amperage\":0},{\"chargeBoxId\":\"GASGAS-00068\",\"status\":\"Available\",\"errorCode\":\"NoError\",\"connectorId\":\"0\",\"statusTimestamp\":1708084893639,\"chargingProgrammingEnabled\":false,\"voltage\":0,\"amperage\":0}],\"position\":{\"x\":13.13272182470777,\"y\":45.68926923294571},\"associated\":false,\"insertConnectorStatusAfterTransactionMSG\":true,\"privato\":false,\"prenota\":false,\"couponsEnabled\":false,\"chargingProgrammingEnabled\":false,\"websocketConnected\":true,\"toPay\":false,\"eco\":false,\"microMobility\":false,\"eboat\":false,\"highWay\":false,\"restaurant\":true,\"hotel\":false,\"fleet\":false,\"condo\":false,\"mapVisible\":false,\"freeChargeMode\":false,\"roamingInfo\":{\"ocpiEnabled\":false,\"oicpEnabled\":true,\"internalEnabled\":true},\"info\":{\"openingTimes\":[{\"period\":[{\"begin\":\"00:01\",\"end\":\"23:59\"}],\"on\":\"Everyday\"}],\"siteUrl\":\"https://www.gasgas.fun/\",\"email\":\"assistenza@gasgas.fun\",\"hotlineNumber\":\"280889455\"},\"idCpo\":\"649c132d09f6dc6b2523d38c\",\"tenantId\":\"e5d37f3b-d4bc-4769-a842-f3136a5bce1a\",\"markerType\":\"DEFAULT\",\"charging_profiles_disabled\":false,\"trigger_status_internal_disabled\":false,\"send_vendor_config_on_boot\":false,\"chargingProfilesDisabled\":true,\"status\":\"Available\",\"statsStatus\":\"Available\",\"_gprs\":false}]')}},st=>{st.O(0,[736],()=>st(st.s=3654)),st.O()}]);"],"names":[],"sourceRoot":""}