1"use strict";(self.webpackChunkszerzi_front=self.webpackChunkszerzi_front||[]).push([[6225],{80163:(X,S,s)=>{s.d(S,{b:()=>N});var t=s(94650),f=s(71997),v=s(36895),O=s(47044),M=s(73325),P=s(32925); 2/* 3 * @license 4 * Szerzi UG (haftungsbeschränkt) CONFIDENTIAL 5 * Unpublished Copyright (c) 2021 Szerzi UG (haftungsbeschränkt), All Rights Reserved. 6 * 7 * NOTICE: All information contained herein is, and remains the property of Szerzi UG (haftungsbeschränkt) 8 * The intellectual and technical concepts contained herein are proprietary to Szerzi UG (haftungsbeschränkt) 9 * and may be covered by E.U. and Foreign Patents, patents in process, and are protected by 10 * trade secret or copyright law. 11 * 12 * Dissemination of this information or reproduction of this material is strictly forbidden 13 * unless prior written permission is obtained from Szerzi UG (haftungsbeschränkt). Access to the source code 14 * obtained herein is hereby forbidden to anyone except current Szerzi UG (haftungsbeschränkt) employees, 15 * managers or contractors who have executed Confidentiality and Non-disclosure agreements 16 * explicitly covering such access. 17 * 18 * The copyright notice above does not evidence any actual or intended publication or disclosure 19 * of this source code, which includes information that is confidential and/or proprietary, 20 * and is a trade secret, of Szerzi UG (haftungsbeschränkt) ANY REPRODUCTION, MODIFICATION, DISTRIBUTION, 21 * PUBLIC PERFORMANCE, OR PUBLIC DISPLAY OF OR THROUGH USE OF THIS SOURCE CODE WITHOUT THE 22 * EXPRESS WRITTEN CONSENT OF Szerzi UG (haftungsbeschränkt) IS STRICTLY PROHIBITED, AND IN VIOLATION OF 23 * APPLICABLE LAWS AND INTERNATIONAL TREATIES. THE RECEIPT OR POSSESSION OF THIS SOURCE CODE 24 * AND/OR RELATED INFORMATION DOES NOT CONVEY OR IMPLY ANY RIGHTS TO REPRODUCE, DISCLOSE OR 25 * DISTRIBUTE ITS CONTENTS, OR TO MANUFACTURE, USE, OR SELL ANYTHING THAT IT MAY DESCRIBE, 26 * IN WHOLE OR IN PART. 27 */const e=function(m){return{disabled:m}};function R(m,A){if(1&m){const _=t.EpF();t.TgZ(0,"li",5),t.NdJ("click",function(){t.CHM(_);const T=t.oxw(3).$implicit,h=t.oxw();return t.KtG(h.contractFolder&&h.contractFolder.ID&&T.ID===h.contractFolder.ID?"":h.addingToFolderEvent(T))}),t._uU(1),t.ALo(2,"translate"),t.qZA()}if(2&m){const _=t.oxw(3).$implicit,u=t.oxw();t.Q6J("ngClass",t.VKq(4,e,u.contractFolder&&u.contractFolder.ID&&_.ID===u.contractFolder.ID)),t.xp6(1),t.hij(" ",t.lcZ(2,2,"CLIENT.CONTRACTS.PROGRESSES.FOLDER_INFO.STARTING_FOLDER")," ")}}function n(m,A){if(1&m){const _=t.EpF();t.TgZ(0,"li",6),t.NdJ("click",function(){t.CHM(_);const T=t.oxw(3).$implicit,h=t.oxw();return t.KtG(h.contractFolder&&h.contractFolder.ID&&T.ID===h.contractFolder.ID?"":h.addingToFolderEvent(T))}),t.TgZ(1,"app-folder-moving-submenu",7),t.NdJ("addingToFolder",function(T){t.CHM(_);const h=t.oxw(4);return t.KtG(h.onClickChild(T))}),t.qZA()()}if(2&m){const _=t.oxw(3).$implicit,u=t.oxw();t.Q6J("nzTitle",_.name)("ngClass",t.VKq(6,e,u.contractFolder&&u.contractFolder.ID&&_.ID===u.contractFolder.ID)),t.xp6(1),t.Q6J("folderSettings",u.folderSettings)("folderListStripped",u.folderContains(_))("contractFolderString",u.contractFolder.ID)("first",!1)}}function b(m,A){if(1&m&&(t.ynx(0),t.YNc(1,R,3,6,"li",3),t.YNc(2,n,2,8,"li",4),t.BQk()),2&m){const _=t.oxw(2).$implicit,u=t.oxw();
27t.xp6(1),t.Q6J("ngIf",_.kind===u.Kind.ROOT),t.xp6(1),t.Q6J("ngIf",_.kind!==u.Kind.ROOT)}}function L(m,A){if(1&m){const _=t.EpF();t.TgZ(0,"li",5),t.NdJ("click",function(){t.CHM(_);const T=t.oxw(3).$implicit,h=t.oxw();return t.KtG(h.contractFolder&&h.contractFolder.ID&&T.ID===h.contractFolder.ID?"":h.addingToFolderEvent(T))}),t._uU(1),t.ALo(2,"translate"),t.qZA()}if(2&m){const _=t.oxw(3).$implicit,u=t.oxw();t.Q6J("ngClass",t.VKq(4,e,u.contractFolder&&u.contractFolder.ID&&_.ID===u.contractFolder.ID)),t.xp6(1),t.hij(" ",t.lcZ(2,2,"CLIENT.CONTRACTS.PROGRESSES.FOLDER_INFO.STARTING_FOLDER")," ")}}function x(m,A){if(1&m){const _=t.EpF();t.TgZ(0,"li",5),t.NdJ("click",function(){t.CHM(_);const T=t.oxw(3).$implicit,h=t.oxw();return t.KtG(h.contractFolder&&h.contractFolder.ID&&T.ID===h.contractFolder.ID?"":h.addingToFolderEvent(T))}),t._uU(1),t.qZA()}if(2&m){const _=t.oxw(3).$implicit,u=t.oxw();t.Q6J("ngClass",t.VKq(2,e,u.contractFolder&&u.contractFolder.ID&&_.ID===u.contractFolder.ID)),t.xp6(1),t.hij(" ",_.name," ")}}function F(m,A){if(1&m&&(t.ynx(0),t.YNc(1,L,3,6,"li",3),t.YNc(2,x,2,4,"li",3),t.BQk()),2&m){const _=t.oxw(2).$implicit,u=t.oxw();
27t.xp6(1),t.Q6J("ngIf",_.kind===u.Kind.ROOT),t.xp6(1),t.Q6J("ngIf",_.kind!==u.Kind.ROOT)}}function U(m,A){if(1&m&&(t.ynx(0),t.YNc(1,b,3,2,"ng-container",2),t.YNc(2,F,3,2,"ng-container",2),t.BQk()),2&m){const _=t.oxw().$implicit;t.xp6(1),t.Q6J("ngIf",0!==_.childRoutes.length),t.xp6(1),t.Q6J("ngIf",0===_.childRoutes.length)}}function z(m,A){if(1&m&&(t.ynx(0),t.YNc(1,U,3,2,"ng-container",2),t.BQk()),2&m){const _=A.$implicit,u=t.oxw();t.xp6(1),t.Q6J("ngIf",u.folderListStripped.includes(_.ID))}}let N=(()=>{class m{constructor(){this.first=!0,this.addingToFolder=new t.vpe,this.Kind=f.hYY}ngOnInit(){this.init()}ngOnChanges(_){_&&_.folderSettings&&(this.folderSettings=structuredClone(_.folderSettings.currentValue),this.init())}init(){if(this.contractFolderString&&(this.contractFolder=this.folderSettings.folders.find(_=>_.ID===this.contractFolderString)),this.first){const _=this.folderSettings.folders.find(u=>u.kind===f.hYY.ROOT);this.folderListStripped=[_.ID,...this.folderContains(_)]}}addingToFolderEvent(_){this.addingToFolder.emit(_)}onClickChild(_){this.addingToFolder.emit(_)}folderContains(_){return _?this.folderSettings.folders.filter(u=>_.childRoutes.includes(u.ID)).map(u=>u.ID):[]}trackByID(_,u){return u.ID}}return m.\u0275fac=function(_){return new(_||m)},m.\u0275cmp=t.Xpm({type:m,selectors:[["app-folder-moving-submenu"]],inputs:{folderSettings:"folderSettings",contractFolderString:"contractFolderString",first:"first",folderListStripped:"folderListStripped"},outputs:{addingToFolder:"addingToFolder"},features:[t.TTD],decls:2,vars:2,consts:[[2,"margin-bottom","0px"],[4,"ngFor","ngForOf","ngForTrackBy"],[4,"ngIf"],["nz-menu-item","",3,"ngClass","click",4,"ngIf"],["nz-submenu","",3,"nzTitle","ngClass","click",4,"ngIf"],["nz-menu-item","",3,"ngClass","click"],["nz-submenu","",3,"nzTitle","ngClass","click"],[3,"folderSettings","folderListStripped","contractFolderString","first","addingToFolder"]],template:function(_,u){1&_&&(t.TgZ(0,"ul",0),t.YNc(1,z,2,1,"ng-container",1),t.qZA()),2&_&&(t.xp6(1),t.Q6J("ngForOf",u.folderSettings.folders)("ngForTrackBy",u.trackByID))},dependencies:[v.mk,v.sg,v.O5,O.w,M.r9,M.rY,m,P.X$],styles:[".disabled[_ngcontent-%COMP%]{color:#00000040;cursor:not-allowed}.disabled[_ngcontent-%COMP%] > div{color:#00000040;cursor:not-allowed}.disabled[_ngcontent-%COMP%] > div span[nz-icon]{color:#00000040}"],changeDetection:0}),m})()},26536:(X,S,s)=>{s.d(S,{a:()=>d});var t=s(97582),f=s(71997),v=s(36057),O=s(44224),M=s(78321),P=s(92961),e=s(94650),R=s(81664),n=s(14206),b=s(54584),L=s(36895),x=s(66616),F=s(47044),U=s(21811),z=s(73325),N=s(29562),m=s(47423),A=s(46581),_=s(6672),u=s(32925);const T=function(l){return{count:l}};function h(l,r){if(1&l&&(e.TgZ(0,"span",10),e._uU(1),e.ALo(2,"translate"),e.qZA()),2&l){const o=e.oxw(2);e.xp6(1),e.hij(" ",e.xi3(2,1,"COMMON.HEADER.LAWYER_MATCHMAKER.PENDING_CANDIDATE_FOR",e.VKq(4,T,o.matchmakerService.pendingCandidateFor))," ")}}function K(l,r){if(1&l&&(e.TgZ(0,"span"),e._uU(1),e.ALo(2,"translate"),e.qZA()),2&l){const o=r.$implicit,p=r.last;e.xp6(1),e.hij(" ",e.lcZ(2,1,"COMMON.HEADER.LAWYER_MATCHMAKER.MISSING_VERIFICATION_STEPS."+o[0])+(p?".":",")," ")}}function J(l,r){if(1&l&&(e.TgZ(0,"div"),e._uU(1),e.ALo(2,"translate"),e.YNc(3,K,3,3,"span",12),e.qZA()),2&l){const o=e.oxw(3);e.xp6(1),e.hij(" ",e.lcZ(2,2,"COMMON.HEADER.LAWYER_MATCHMAKER.MISSING_VERIFICATION")," "),e.xp6(2),e.Q6J("ngForOf",o.missingSteps)}}function I(l,r){if(1&l&&(e.TgZ(0,"span"),e._uU(1),e.ALo(2,"translate"),e.qZA()),2&l){const o=r.$implicit,p=r.last;e.xp6(1),e.hij(" ",e.lcZ(2,1,"COMMON.HEADER.LAWYER_MATCHMAKER.MISSING_VERIFICATION_STEPS."+o[0])+(p?".":",")," ")}}function Q(l,r){if(1&l){const o=e.EpF();e.TgZ(0,"div"),e._uU(1),e.ALo(2,"translate"),e.YNc(3,I,3,3,"span",12),e.TgZ(4,"div")(5,"button",13),e.NdJ("click",function(){e.CHM(o);const C=e.oxw(3);return e.KtG(C.lawyerValidationService.runCheck())}),e._uU(6),e.ALo(7,"translate"),e.qZA()()()}if(2&l){const o=e.oxw(3);e.xp6(1),e.hij(" ",e.lcZ(2,3,"COMMON.HEADER.LAWYER_MATCHMAKER.VERIFICATION_LOADING_ERROR")," "),e.xp6(2),e.Q6J("ngForOf",o.stepsWithError),e.xp6(3),e.hij(" ",e.lcZ(7,5,"COMMON.HEADER.LAWYER_MATCHMAKER.VERIFICATION_LOADING_REFRESH")," ")}}function W(l,r){if(1&l&&(e.YNc(0,J,4,4,"div",11),e.YNc(1,Q,8,7,"div",11)),2&l){const o=e.oxw(2);e.Q6J("ngIf",o.missingSteps&&o.missingSteps.length>0),e.xp6(1),e.Q6J("ngIf",o.stepsWithError&&o.stepsWithError.length>0)}}function w(l,r){if(1&l&&(e.TgZ(0,"nz-tag",14),e._uU(1),e.ALo(2,"translate"),e.ALo(3,"translate"),e.qZA()),2&l){const o=e.oxw(2);e.Q6J("nzColor",o.ColorSettings.Tertiary),e.xp6(1),e.hij(" ",1===o.matchmakerService.pendingCandidateFor?e.xi3(2,2,"COMMON.HEADER.LAWYER_MATCHMAKER.BADGE",e.VKq(8,T,o.matchmakerService.pendingCandidateFor)):e.xi3(3,5,"COMMON.HEADER.LAWYER_MATCHMAKER.BADGE_MULTIPLE",e.VKq(10,T,o.matchmakerService.pendingCandidateFor))," ")}}const Y=function(){return{width:"300px","max-width":"90vw"}};function H(l,r){if(1&l){const o=e.EpF();e.TgZ(0,"button",15),e.NdJ("click",function(){e.CHM(o);const C=e.oxw(2);return e.KtG(C.openLawyerMatchmakerModal())}),e._uU(1),e.ALo(2,"translate"),e.qZA()}if(2&l){e.oxw();const o=e.MAs(3),p=e.oxw();e.Q6J("nzGhost",p.missingSteps&&p.missingSteps.length>0||p.stepsWithError&&p.stepsWithError.length>0)("nzPopoverContent",p.missingSteps&&p.missingSteps.length>0||p.stepsWithError&&p.stepsWithError.length>
270?o:null)("nzPopoverOverlayStyle",e.DdM(6,Y)),e.xp6(1),e.hij(" ",e.lcZ(2,4,"COMMON.HEADER.LAWYER_MATCHMAKER.SERVE_BUTTON")," ")}}function V(l,r){if(1&l&&(e.TgZ(0,"span"),e._uU(1),e.ALo(2,"date"),e.ALo(3,"date"),e.qZA()),2&l){const o=e.oxw(4);e.xp6(1),e.AsE(" (",e.xi3(2,2,o.schedule.startInMillis,"HH:mm")," - ",e.xi3(3,5,o.schedule.endInMillis,"HH:mm"),") ")}}function G(l,r){if(1&l&&(e.TgZ(0,"span",23),e._uU(1),e.ALo(2,"translate"),e.ALo(3,"translate"),e.qZA()),2&l){const o=e.oxw(4);e.xp6(1),e.hij(" (",1===o.matchmakerService.pendingCandidateFor?e.xi3(2,1,"COMMON.HEADER.LAWYER_MATCHMAKER.PENDING_CANDIDATE_FOR_SHORT_SINGLE",e.VKq(7,T,o.matchmakerService.pendingCandidateFor)):e.xi3(3,4,"COMMON.HEADER.LAWYER_MATCHMAKER.PENDING_CANDIDATE_FOR_SHORT_MULTIPLE",e.VKq(9,T,o.matchmakerService.pendingCandidateFor)),") ")}}function j(l,r){if(1&l&&(e.TgZ(0,"a",19),e._UZ(1,"i",20),e.TgZ(2,"span",21),e._uU(3),e.ALo(4,"translate"),e.YNc(5,V,4,8,"span",11),e.YNc(6,G,4,11,"span",22),e.qZA()()),2&l){const o=e.oxw(3);e.xp6(3),e.hij("",e.lcZ(4,3,"COMMON.HEADER.LAWYER_MATCHMAKER.SERVE_SPINNER")," "),e.xp6(2),e.Q6J("ngIf",o.schedule),e.xp6(1),e.Q6J("ngIf",o.matchmakerService.pendingCandidateFor>0)}}function D(l,r){if(1&l){const o=e.EpF();e.TgZ(0,"div",16),e.NdJ("nzVisibleChange",function(C){e.CHM(o);const q=e.oxw(2);return e.KtG(q.dropdownVisible=C)}),e.YNc(1,j,7,5,"a",17),e._UZ(2,"app-multi-state-button",18),e.qZA()}if(2&l){e.oxw();const o=e.MAs(8),p=e.oxw();e.Q6J("nzDropdownMenu",o)("nzVisible",p.dropdownVisible),e.xp6(1),e.Q6J("ngIf",!p.showBadge||p.showBadge&&p.matchmakerService.pendingCandidateFor<=0),e.xp6(1),e.Gre("multiLineButton d-none ",p.showBadge?"":"d-sm-inline-block",""),e.Q6J("nzType","primary")("runFunction",p.exitMatchmakerFunction)("stickResult",!1)("nzTextKeys",p.exitText)}}function Z(l,r){if(1&l){const o=e.EpF();e.TgZ(0,"div",1),e.YNc(1,h,3,6,"span",2),e.YNc(2,W,2,2,"ng-template",null,3,e.W1O),e.YNc(4,w,4,12,"nz-tag",4),e.YNc(5,H,3,7,"button",5),e.YNc(6,D,3,10,"div",6),e.TgZ(7,"nz-dropdown-menu",null,7)(9,"ul",8)(10,"li",9),e.NdJ("click",function(){e.CHM(o);const C=e.oxw();return e.KtG(C.exitMatchmaker())}),e._uU(11),e.ALo(12,"translate"),e.qZA()()()()}if(2&l){const o=e.oxw();e.xp6(1),e.Q6J("ngIf",o.matchmakerService.pendingCandidateFor>0&&!o.showBadge),e.xp6(3),e.Q6J("ngIf",o.matchmakerService.pendingCandidateFor>0&&o.showBadge),e.xp6(1),e.Q6J("ngIf",!o.inMatchmaking),e.xp6(1),e.Q6J("ngIf",o.inMatchmaking),e.xp6(5),e.hij(" ",e.lcZ(12,5,"COMMON.HEADER.LAWYER_MATCHMAKER.DROPDOWN.EXIT")," ")}}let d=class{constructor(r,o,p){this.modalService=r,this.matchmakerService=o,this.lawyerValidationService=p,this.ColorSettings=M.y,this.inMatchmaking=!1,this.exitText=new P.PR("COMMON.HEADER.LAWYER_MATCHMAKER.EXIT_BUTTON_STATE.DEFAULT","COMMON.HEADER.LAWYER_MATCHMAKER.EXIT_BUTTON_STATE.WORKING","COMMON.HEADER.LAWYER_MATCHMAKER.EXIT_BUTTON_STATE.SUCCESS","COMMON.HEADER.LAWYER_MATCHMAKER.EXIT_BUTTON_STATE.FAILED"),this.dropdownVisible=!1,this.showAlert=!1,this.isLawyerVerified=!1,this.isLawyerVerifiedLoading=!0}ngOnInit(){this.matchmakerService.statusEmitter.subscribe(r=>{this.inMatchmaking=r.type===f.JM_.Participating,this.schedule=this.inMatchmaking&&r.schedule?r.schedule:null}),this.lawyerValidationService.changed.subscribe(r=>{this.isLawyerVerified=r.get(v.xr.VERIFIED).value,this.isLawyerVerifiedLoading=r.get(v.xr.VERIFIED).isLoading,this.missingSteps=Array.from(r.entries()).filter(o=>!o[1].value&&!o[1].hasError&&o[0]!==v.xr.VERIFIED),this.stepsWithError=Array.from(r.entries()).filter(o=>!o[1].value&&o[1].hasError&&o[0]!==v.xr.VERIFIED)})}openLawyerMatchmakerModal(){(!this.missingSteps||0===this.missingSteps.length)&&(!this.stepsWithError||0===this.stepsWithError.length)&&(this.exitMatchmakerFunction=null,this.modalService.openLawyerMatchmakerModal())}exitMatchmaker(){this.setDropdownVisible(!1),this.exitMatchmakerFunction=()=>this.matchmakerService.exitMatchmaker().then(()=>{this.exitMatchmakerFunction=null})}setDropdownVisible(r){this.dropdownVisible=r}};d.\u0275fac=function(r){return new(r||d)(e.Y36(R.Z),e.Y36(n.$),e.Y36(b.w))},d.\u0275cmp=e.Xpm({type:d,selectors:[["app-matchmaker"]],inputs:{showBadge:"showBadge"},decls:1,vars:1,consts:[["class","position-relative",4,"ngIf"],[1,"position-relative"],["class","m-r-10 font-size-smaller d-none d-xl-inline-block",4,"ngIf"],["missingTooltip",""],["class","countBadge",3,"nzColor",4,"ngIf"],["nz-button","","nzType","primary","nzSize","small","class","multiLineButton","
27nz-popover","",3,"nzGhost","nzPopoverContent","nzPopoverOverlayStyle","click",4,"ngIf"],["class","cursor-pointer inline-block","nz-dropdown","","nzTrigger","click","nzClickHide","false",3,"nzDropdownMenu","nzVisible","nzVisibleChange",4,"ngIf"],["menu","nzDropdownMenu"],["nz-menu",""],["nz-menu-item","",3,"click"],[1,"m-r-10","font-size-smaller","d-none","d-xl-inline-block"],[4,"ngIf"],[4,"ngFor","ngForOf"],["nz-button","","nzType","link",1,"link-like-button",3,"click"],[1,"countBadge",3,"nzColor"],["nz-button","","nzType","primary","nzSize","small","nz-popover","",1,"multiLineButton",3,"nzGhost","nzPopoverContent","nzPopoverOverlayStyle","click"],["nz-dropdown","","nzTrigger","click","nzClickHide","false",1,"cursor-pointer","inline-block",3,"nzDropdownMenu","nzVisible","nzVisibleChange"],["class","mr-0 mr-sm-2",4,"ngIf"],["nzSize","small",3,"nzType","runFunction","stickResult","nzTextKeys"],[1,"mr-0","mr-sm-2"],["nz-icon","","nzType","loading","nzTheme","outline",1,"m-r-10"],[1,"font-size-smaller"],["class","mr-0 mr-sm-2 font-size-smaller d-inline-block d-xl-none",4,"ngIf"],[1,"mr-0","mr-sm-2","font-size-smaller","d-inline-block","d-xl-none"]],template:function(r,o){1&r&&e.YNc(0,Z,13,7,"div",0),2&r&&e.Q6J("ngIf",!o.isLawyerVerifiedLoading&&o.isLawyerVerified)},dependencies:[L.sg,L.O5,P.P4,x.ix,F.w,U.dQ,z.wO,z.r9,N.cm,N.RR,m.Ls,A.lU,_.j,L.uU,u.X$],styles:['@charset "UTF-8";.countBadge[_ngcontent-%COMP%]{position:absolute;z-index:2;top:-10px;right:-20px;margin:0}']}),d=(0,t.gn)([(0,O.c)()],d)},90877:(X,S,s)=>{s.d(S,{Y:()=>Z});var t=s(94650),f=s(24006),v=s(22971),O=s(87689),M=s(59166),P=s(36895),e=s(66616),R=s(47044),n=s(21811),b=s(2577),L=s(73679),x=s(36704),F=s(35635),U=s(58800),z=s(41766),N=s(32925),m=s(45144); 28/* 29 * @license 30 * Szerzi UG (haftungsbeschränkt) CONFIDENTIAL 31 * Unpublished Copyright (c) 2021 Szerzi UG (haftungsbeschränkt), All Rights Reserved. 32 *
33 * NOTICE: All information contained herein is, and remains the property of Szerzi UG (haftungsbeschränkt) 34 * The intellectual and technical concepts contained herein are proprietary to Szerzi UG (haftungsbeschränkt) 35 * and may be covered by E.U. and Foreign Patents, patents in process, and are protected by 36 * trade secret or copyright law. 37 * 38 * Dissemination of this information or reproduction of this material is strictly forbidden 39 * unless prior written permission is obtained from Szerzi UG (haftungsbeschränkt). Access to the source code 40 * obtained herein is hereby forbidden to anyone except current Szerzi UG (haftungsbeschränkt) employees, 41 * managers or contractors who have executed Confidentiality and Non-disclosure agreements 42 * explicitly covering such access. 43 * 44 * The copyright notice above does not evidence any actual or intended publication or disclosure 45 * of this source code, which includes information that is confidential and/or proprietary, 46 * and is a trade secret, of Szerzi UG (haftungsbeschränkt) ANY REPRODUCTION, MODIFICATION, DISTRIBUTION, 47 * PUBLIC PERFORMANCE, OR PUBLIC DISPLAY OF OR THROUGH USE OF THIS SOURCE CODE WITHOUT THE 48 * EXPRESS WRITTEN CONSENT OF Szerzi UG (haftungsbeschränkt) IS STRICTLY PROHIBITED, AND IN VIOLATION OF 49 * APPLICABLE LAWS AND INTERNATIONAL TREATIES. THE RECEIPT OR POSSESSION OF THIS SOURCE CODE 50 * AND/OR RELATED INFORMATION DOES NOT CONVEY OR IMPLY ANY RIGHTS TO REPRODUCE, DISCLOSE OR 51 * DISTRIBUTE ITS CONTENTS, OR TO MANUFACTURE, USE, OR SELL ANYTHING THAT IT MAY DESCRIBE, 52 * IN WHOLE OR IN PART. 53 */function A(d,l){1&d&&(t.TgZ(0,"span",7),t._UZ(1,"br"),t._uU(2),t.ALo(3,"translate"),t.qZA()),2&d&&(t.xp6(2),t.hij(" ",t.lcZ(3,1,"CLIENT.CONTRACTS.FIELD.OPTIONAL")," "))}const _=function(){return{}};function u(d,l){if(1&d&&t.YNc(0,A,4,3,"span",16),2&d){const r=l.controlName,o=t.oxw();t.Q6J("ngIf",!(o.form&&o.form.controls[r].validator&&o.form.controls[r].validator(t.DdM(1,_))&&o.form.controls[r].validator(t.DdM(2,_)).required))}}function T(d,l){1&d&&t.GkF(0,17)}function h(d,l){1&d&&(t.ynx(0),t._uU(1),t.ALo(2,"translate"),t.BQk()),2&d&&(t.xp6(1),t.hij(" ",t.lcZ(2,1,"COMMON.FORM.BANK_ACCOUNT_VALIDATION.NUMBER.REQUIRED")," "))}function K(d,l){1&d&&(t.ynx(0),t._uU(1),t.ALo(2,"translate"),t.BQk()),2&d&&(t.xp6(1),t.hij(" ",t.lcZ(2,1,"COMMON.FORM.BANK_ACCOUNT_VALIDATION.NUMBER.INVALID")," "))}function J(d,l){if(1&d&&(t.YNc(0,h,3,3,"ng-container",18),t.YNc(1,K,3,3,"ng-container",18)),2&d){const r=l.$implicit;t.Q6J("ngIf",r.hasError("required")),t.xp6(1),t.Q6J("ngIf",r.hasError("pattern"))}}function I(d,l){1&d&&(t.TgZ(0,"span",7),t._UZ(1,"br"),t._uU(2),t.ALo(3,"translate"),t.qZA()),2&d&&(t.xp6(2),t.hij(" ",t.lcZ(3,1,"CLIENT.CONTRACTS.FIELD.OPTIONAL")," "))}function Q(d,l){if(1&d&&t.YNc(0,I,4,3,"span",16),2&d){const r=l.controlName,o=t.oxw();t.Q6J("ngIf",!(o.bankForm&&o.bankForm.controls[r]&&o.bankForm.controls[r].validator&&o.bankForm.controls[r].validator(t.DdM(1,_))&&o.bankForm.controls[r].validator(t.DdM(2,_)).required))}}function W(d,l){1&d&&t.GkF(0,17)}function w(d,l){1&d&&(t.ynx(0),t._uU(1),t.ALo(2,"translate"),t.BQk()),2&d&&(t.xp6(1),t.hij(" ",t.lcZ(2,1,"COMMON.FORM.BANK_ACCOUNT_VALIDATION.NAME.REQUIRED")," "))}function Y(d,l){1&d&&t.YNc(0,w,3,3,"ng-container",18),2&d&&t.Q6J("ngIf",l.$implicit.hasError("required"))}function H(d,l){if(1&d){const r=t.EpF();t.TgZ(0,"div",19)(1,"button",20),t.NdJ("click",function(){t.CHM(r);const p=t.oxw();return t.KtG(p.addAddress())}),t.TgZ(2,"span",21),t._uU(3),t.ALo(4,"translate"),t._UZ(5,"br"),t._uU(6),t.ALo(7,"translate"),t.qZA()()()}2&d&&(t.xp6(3),t.hij(" ",t.lcZ(4,2,"COMMON.FORM.BANK_ACCOUNT.FUNCTIONS.PROVIDE")," "),t.xp6(3),t.hij(" ",t.lcZ(7,4,"CLIENT.CONTRACTS.FIELD.OPTIONAL")," "))}function V(d,l){if(1&d){const r=t.EpF();t.TgZ(0,"div",10)(1,"div",11)(2,"nz-form-item")(3,"app-address-editor",22),t.NdJ("saveEmitter",function(){t.CHM(r);const p=t.oxw();return t.KtG(p.save())}),t.ALo(4,"as"),t.ALo(5,"translate"),t.ALo(6,"translate"),t.qZA()()()()}if(2&d){const r=t.oxw();
53t.xp6(3),t.Q6J("form",t.xi3(4,4,r.bankForm.controls.address,r.FormGroup))("address",r.account.bank.address)("description",t.lcZ(5,7,"COMMON.FORM.ADDRESS.DESCRIPTION_BANK"))("title",t.lcZ(6,9,"COMMON.FORM.ADDRESS.TITLE_BANK"))}}function G(d,l){if(1&d){const r=t.EpF();t.TgZ(0,"div",19)(1,"button",23),t.NdJ("click",function(){t.CHM(r);const p=t.oxw();return t.KtG(p.removeAddress())}),t.TgZ(2,"span",21),t._uU(3),t.ALo(4,"translate"),t.qZA()()()}2&d&&(t.xp6(3),t.hij(" ",t.lcZ(4,1,"COMMON.FORM.BANK_ACCOUNT.FUNCTIONS.REMOVE")," "))}const j=function(){return{controlName:"number"}},D=function(){return{controlName:"name"}};let Z=(()=>{class d{constructor(r){this.formService=r,this.saveEmitter=new t.vpe,this.unstickTrigger=new t.vpe,this.FormControl=f.p4,this.FormGroup=f.nJ}ngOnChanges(r){r.form&&(this.bankForm=this.form.get("bank"))}addAddress(){this.bankForm.setControl("address",this.formService.addressFormGroup(new v.kL)),this.bankForm.markAsDirty(),this.save()}removeAddress(){this.bankForm.removeControl("address"),this.bankForm.markAsDirty(),this.save()}save(){this.form.valid&&this.form.dirty?this.saveEmitter.emit():this.unstickTrigger.emit()}}return d.\u0275fac=function(r){return new(r||d)(t.Y36(O.o))},d.\u0275cmp=t.Xpm({type:d,selectors:[["app-bank-account-editor"]],inputs:{form:"form",account:"account"},outputs:{saveEmitter:"saveEmitter",unstickTrigger:"unstickTrigger"},features:[t.TTD],decls:48,vars:73,consts:[["nzOrientation","left",3,"nzText"],["optionalLabel",""],[1,"multiLineLabel","p-0",3,"nzLg","nzMd","nzSm","nzXs","nzRequired"],["class","template",4,"ngTemplateOutlet","ngTemplateOutletContext"],[3,"nzLg","nzMd","nzSm","nzXs","nzValidateStatus","nzErrorTip"],["id","number","nz-input","","trim","blur",3,"placeholder","formControl","blur"],["numberErrorTip",""],[1,"optionalLabel"],["nz-typography",""],["bankOptionalLabel",""],[1,"row"],[1,"col-md-12"],["id","name","nz-input","","trim","blur",3,"placeholder","formControl","blur"],["nameErrorTip",""],["class","text-right m-t-30",4,"ngIf"],["class","row",4,"ngIf"],["class","optionalLabel",4,"ngIf"],[1,"template"],[4,"ngIf"],[1,"text-right","m-t-30"],["nz-button","","nzType","primary","nzGhost","","nzSize","small",1,"multiLineButton",3,"click"],[1,"m-l-5"],[1,"col-md-12","p-h-0",3,"form","address","description","title","saveEmitter"],["nz-button","","nzType","primary","nzGhost","","nzSize","small",3,"click"]],template:function(r,o){if(1&r&&(t._UZ(0,"nz-divider",0),t.ALo(1,"translate"),t.TgZ(2,"p"),t._uU(3),t.ALo(4,"translate"),t.qZA(),t.YNc(5,u,1,3,"ng-template",null,1,t.W1O),t.TgZ(7,"div")(8,"nz-form-item")(9,"nz-form-label",2)(10,"span"),t._uU(11),t.ALo(12,"translate"),t.YNc(13,T,1,0,"ng-container",3),t.qZA()(),t.TgZ(14,"nz-form-control",4)(15,"input",5),t.NdJ("blur",function(){return o.save()}),t.ALo(16,"translate"),t.ALo(17,"as"),t.qZA(),t.YNc(18,J,2,2,"ng-template",null,6,t.W1O),t.TgZ(20,"span",7)(21,"span",8),t._uU(22),t.ALo(23,"translate"),t.TgZ(24,"code"),t._uU(25),t.ALo(26,"translate"),t.ALo(27,"translate"),t.ALo(28,"translate"),t.qZA()()()()()(),t.YNc(29,Q,1,3,"ng-template",null,9,t.W1O),t.TgZ(31,"div",10)(32,"div",11)(33,"nz-form-item")(34,"nz-form-label",2)(35,"span"),t._uU(36),t.ALo(37,"translate"),t.YNc(38,W,1,0,"ng-container",3),t.qZA()(),t.TgZ(39,"nz-form-control",4)(40,"input",12),t.NdJ("blur",function(){return o.save()}),t.ALo(41,"translate"),t.ALo(42,"as"),t.qZA(),t.YNc(43,Y,1,1,"ng-template",null,13,t.W1O),t.qZA()()()(),t.YNc(45,H,8,6,"div",14),t.YNc(46,V,7,11,"div",15),t.YNc(47,G,5,3,"div",14)),2&r){const p=t.MAs(6),C=t.MAs(19),q=t.MAs(30),nn=t.MAs(44);t.Q6J("nzText",t.lcZ(1,41,"COMMON.FORM.BANK_ACCOUNT.TITLE")),t.xp6(3),t.hij(" ",t.lcZ(4,43,"COMMON.FORM.BANK_ACCOUNT.DESCRIPTION"),"\n"),t.xp6(6),t.Q6J("nzLg",6)("nzMd",6)("nzSm",8)("nzXs",24)("nzRequired",o.form&&o.form.controls.number&&o.form.controls.number.validator&&o.form.controls.number.validator(t.DdM(67,_))&&o.form.controls.number.validator(t.DdM(68,_)).required),t.xp6(2),t.hij(" ",t.lcZ(12,45,"COMMON.FORM.BANK_ACCOUNT.NUMBER")," "),t.xp6(2),t.Q6J("ngTemplateOutlet",p)("ngTemplateOutletContext",t.DdM(69,j)),t.xp6(1),t.Q6J("nzLg",14)("nzMd",14)("nzSm",12)("nzXs",24)("nzValidateStatus",o.form.controls.number)("nzErrorTip",C),t.xp6(1),t.Q6J("placeholder",t.lcZ(16,47,"COMMON.FORM.BANK_ACCOUNT.PLACEHOLDER.NUM
53BER"))("formControl",t.xi3(17,49,o.form.controls.number,o.FormControl)),t.xp6(7),t.hij(" ",t.lcZ(23,52,"COMMON.FORM.BANK_ACCOUNT.PLACEHOLDER.NUMBER_DESCRIPTION.DESCRIPTION")," "),t.xp6(3),t.lnq(" ",t.lcZ(26,54,"COMMON.FORM.BANK_ACCOUNT.PLACEHOLDER.NUMBER_DESCRIPTION.EXAMPLES.1"),", ",t.lcZ(27,56,"COMMON.FORM.BANK_ACCOUNT.PLACEHOLDER.NUMBER_DESCRIPTION.EXAMPLES.2"),", ",t.lcZ(28,58,"COMMON.FORM.BANK_ACCOUNT.PLACEHOLDER.NUMBER_DESCRIPTION.EXAMPLES.3")," "),t.xp6(9),t.Q6J("nzLg",6)("nzMd",6)("nzSm",8)("nzXs",24)("nzRequired",o.bankForm&&o.bankForm.controls&&o.bankForm.controls.name&&o.bankForm.controls.name.validator&&o.bankForm.controls.name.validator(t.DdM(70,_))&&o.bankForm.controls.name.validator(t.DdM(71,_)).required),t.xp6(2),t.hij(" ",t.lcZ(37,60,"COMMON.FORM.BANK_ACCOUNT.NAME")," "),t.xp6(2),t.Q6J("ngTemplateOutlet",q)("ngTemplateOutletContext",t.DdM(72,D)),t.xp6(1),t.Q6J("nzLg",14)("nzMd",14)("nzSm",12)("nzXs",24)("nzValidateStatus",o.bankForm.controls.name)("nzErrorTip",nn),t.xp6(1),t.Q6J("placeholder",t.lcZ(41,62,"COMMON.FORM.BANK_ACCOUNT.PLACEHOLDER.NAME"))("formControl",t.xi3(42,64,o.bankForm.controls.name,o.FormControl)),t.xp6(5),t.Q6J("ngIf",o.form&&o.bankForm&&(!o.bankForm.controls.address||!o.bankForm.controls.address.value)),t.xp6(1),t.Q6J("ngIf",o.bankForm.controls.address&&o.bankForm.controls.address.value),t.xp6(1),t.Q6J("ngIf",o.form&&o.bankForm&&o.bankForm.controls.address&&o.bankForm.controls.address.value)}},dependencies:[f.Fj,f.JJ,M.P,P.O5,P.tP,f.oH,e.ix,R.w,n.dQ,b.g,L.t3,L.SK,x.Nx,x.iK,x.Fd,F.Zp,U.ZU,z.w,N.X$,m.j],styles:['@charset "UTF-8";']}),d})()},15951:(X,S,s)=>{s.d(S,{l:()=>k});var t=s(97582),f=s(28736),v=s(71997),O=s(44224),M=s(44569),P=s(52835),e=s(45218),R=s(6947),n=s(94650),b=s(49651),L=s(25156),x=s(32925),F=s(50211),U=s(47959),z=s(75489),N=s(3417),m=s(81664),A=s(81404),_=s(31495),u=s(61479),T=s(39889),h=s(52632),K=s(30144),J=s(52033),I=s(36895),Q=s(47216),W=s(79647),w=s(66616),Y=s(47044),H=s(21811),V=s(51971),G=s(4788),j=s(47423),D=s(66152),Z=s(20545),d=s(75775),l=s(12987),r=s(5233),o=s(81801);const p=["contentTemplate"],C=["bundlesDiv"];function q(a,c){1&a&&(n.TgZ(0,"div",10)(1,"h2",11),n._UZ(2,"nz-skeleton-element",12),n.qZA(),n.TgZ(3,"p",13),n._UZ(4,"nz-skeleton-element",14)(5,"nz-skeleton-element",14)(6,"nz-skeleton-element",15),n.qZA(),n._UZ(7,"nz-skeleton-element",16),n.qZA()),2&a&&(n.Q6J("@skeletonPosAbsLeave",void 0),n.xp6(2),n.Q6J("nzActive",!0),n.xp6(2),n.Q6J("nzActive",!0),n.xp6(1),n.Q6J("nzActive",!0),n.xp6(1),n.Q6J("nzActive",!0),n.xp6(1),n.Q6J("nzActive",!0))}function nn(a,c){1&a&&n.GkF(0)}function en(a,c){if(1&a&&(n.ynx(0),n.YNc(1,nn,1,0,"ng-container",17),n.BQk()),2&a){n.oxw();const i=n.MAs(12);n.xp6(1),n.Q6J("ngTemplateOutlet",i)}}function on(a,c){if(1&a&&n._UZ(0,"img",27),2&a){const i=n.oxw().index,E=n.oxw(2);n.MGl("src","assets/images/bundles/bundle-quota-",E.purchasedBundleKeys[i],".svg",n.LSH)}}const tn=function(a){return{time:a}};function sn(a,c){if(1&a&&(n.TgZ(0,"nz-list-item",20)(1,"nz-list-item-meta",21)(2,"nz-list-item-meta-title"),n.YNc(3,on,1,1,"ng-template",null,22,n.W1O),n.TgZ(5,"p",23),n._uU(6),n.ALo(7,"translate"),n.qZA()()(),n.TgZ(8,"ul",24)(9,"nz-list-item-action",25)(10,"p",26),n._uU(11),n.ALo(12,"translate"),n.ALo(13,"date"),n.qZA()(),n.TgZ(14,"nz-list-item-action",25)(15,"p",26),n._uU(16),n.ALo(17,"translate"),n.ALo(18,"date"),n.qZA()()()()),2&a){const i=c.$implicit,E=n.MAs(4),g=n.oxw(2);n.xp6(1),n.Q6J("nzAvatar",E)("nzDescription",g.bundleTranslations[i.key]?i.displayName:null),n.xp6(5),n.AsE(" ",n.lcZ(7,6,"CLIENT.CONTRACTS.FINALIZATION.BENEFITSLIST.AVAILABLE_POINTS"),": ",i.quota," "),n.xp6(5),n.hij(" ",n.xi3(12,8,"CLIENT.PROFILE.BUNDLES.BOUGHT_DATE",n.VKq(20,tn,n.xi3(13,11,i.created,"y-MM-dd")))," "),n.xp6(5),n.hij(" ",n.xi3(17,14,"CLIENT.PROFILE.BUNDLES.LAST_PURCHASE",n.VKq(22,tn,n.xi3(18,17,i.updated,"y-MM-dd")))," ")}}function an(a,c){if(1&a&&(n.TgZ(0,"nz-list",18)(1,"div"),n.YNc(2,sn,19,24,"nz-list-item",19),n.qZA()()),2&a){const i=n.oxw();n.Q6J("nzLoading",i.loadingPurchasedBundles),n.xp6(2),n.Q6J("ngForOf",i.purchasedBundles)}}function rn(a,c){1&a&&(n.TgZ(0,"div",10)(1,"h2",11),n._UZ(2,"nz-skeleton-element",28),n.qZA(),n.TgZ(3,"p",13),n._UZ(4,"nz-skeleton-element",14)(5,"nz-skeleton-element",14)(6,"nz-skeleton-element",14)(7,"nz-skeleton-element",14)(8,"nz-skeleton-element",15),n.qZA()()),2&a&&(n.Q6J("@skeletonPosAbsLeave",void 0),n.xp6(2),n.Q6J("nzActive",!0),n.xp6(2),n.Q6J("nzActive",!0),n.xp6(1),n.Q6J("nzActive",!0),n.xp6(1),n.Q6J("nzActive",!0),n.xp6(1),n.Q6J("nzActive",!0),n.xp6(1),n.Q6J("nzActive",!0))}function ln(a,c){1&a&&(n._UZ(0,"nz-empty",33),n.ALo(1,"translate")),2&a&&n.Q6J("@skeletonPosAbsLeave",void 0)("nzNotFoundImage","assets/images/empty-icon.svg")("nzNotFoundContent",n.lcZ(1,3,"CLIENT.PROFILE.BUNDLES.COMING_SOON"))}
53function cn(a,c){1&a&&(n.TgZ(0,"div")(1,"p",34),n._uU(2),n.ALo(3,"translate"),n.qZA()()),2&a&&(n.xp6(2),n.hij(" ",n.lcZ(3,1,"CLIENT.PROFILE.BUNDLES.LOAD_FAILED")," "))}function _n(a,c){if(1&a&&(n.TgZ(0,"div",29,30)(2,"h2"),n._uU(3),n.ALo(4,"translate"),n.qZA(),n._UZ(5,"p",31),n.ALo(6,"safe"),n.ALo(7,"translate"),n.YNc(8,ln,2,5,"nz-empty",32),n.YNc(9,cn,4,3,"div",2),n.qZA()),2&a){const i=n.oxw();n.Q6J("@skeletonPosAbsLeave",void 0),n.xp6(3),n.Oqu(n.lcZ(4,5,"CLIENT.PROFILE.BUNDLES.TITLE")),n.xp6(2),n.Q6J("innerHTML",n.xi3(6,7,n.lcZ(7,10,"CLIENT.PROFILE.BUNDLES.DESC"),"html"),n.oJD),n.xp6(3),n.Q6J("ngIf",!i.EnvironmentService.config.bundlesEnabled),n.xp6(1),n.Q6J("ngIf",!i.bundles&&!i.purchasedBundles&&i.EnvironmentService.config.bundlesEnabled)}}function dn(a,c){1&a&&(n.ynx(0),n.TgZ(1,"li",57)(2,"div",58),n._UZ(3,"nz-skeleton-element",59)(4,"nz-skeleton-element",60),n.qZA()(),n.BQk()),2&a&&(n.xp6(3),n.Q6J("nzActive",!0),n.xp6(1),n.Q6J("nzActive",!0))}function un(a,c){1&a&&(n.TgZ(0,"div",44)(1,"nz-card",45)(2,"div",46)(3,"div",47),n._UZ(4,"nz-skeleton-element",48),n.TgZ(5,"div",49),n._UZ(6,"nz-skeleton-element",50)(7,"nz-skeleton-element",51)(8,"nz-skeleton-element",52),n.qZA()()(),n.TgZ(9,"ul",53),n.YNc(10,dn,5,2,"ng-container",54),n.ALo(11,"numberArray"),n.qZA(),n.TgZ(12,"div",55),n._UZ(13,"nz-skeleton-element",56),n.qZA()()()),2&a&&(n.xp6(4),n.Q6J("nzActive",!0)("nzSize",50),n.xp6(2),n.Q6J("nzActive",!0),n.xp6(1),n.Q6J("nzActive",!0),n.xp6(1),n.Q6J("nzActive",!0),n.xp6(2),n.Q6J("ngForOf",n.lcZ(11,7,3)),n.xp6(3),n.Q6J("nzActive",!0))}function mn(a,c){1&a&&(n.TgZ(0,"div",42),n.YNc(1,un,14,9,"div",43),n.ALo(2,"numberArray"),n.qZA()),2&a&&(n.Q6J("@skeletonPosAbsLeave",void 0),n.xp6(1),n.Q6J("ngForOf",n.lcZ(2,2,5)))}function pn(a,c){if(1&a&&n._UZ(0,"app-feedback",78),2&a){const i=n.oxw(4);n.Q6J("feature",i.FeedbackFeature.Settings)("unit",i.FeedbackUnit.Bundles)("title","COMMON.FEEDBACK.TITLES.BUNDLES")}}const $=function(a){return{quota:a}};function gn(a,c){if(1&a){const i=n.EpF();n.TgZ(0,"div",44)(1,"nz-card",45)(2,"div",62)(3,"div",63),n._UZ(4,"img",64),n.TgZ(5,"div",65)(6,"h2",66),n._uU(7),n.ALo(8,"formatCurrencyName"),n.qZA(),n._UZ(9,"br"),n.TgZ(10,"span",67),n._uU(11),n.ALo(12,"currency"),n.ALo(13,"formatCurrencyName"),n.ALo(14,"translate"),n.qZA(),n.TgZ(15,"h4",68),n._uU(16),n.qZA()()()(),n.TgZ(17,"ul",69)(18,"li",70)(19,"div",71)(20,"span",72),n._uU(21),n.ALo(22,"translate"),n.qZA()()(),n.TgZ(23,"li",70)(24,"div",71)(25,"span",72),n._uU(26),n.ALo(27,"number"),n.ALo(28,"translate"),n.qZA()()(),n.TgZ(29,"li",70)(30,"p",73),n.NdJ("click",function(){const B=n.CHM(i).$implicit,y=n.oxw(3);return n.KtG(y.modalService.contractsForQuotaModal(B.quota))}),n._UZ(31,"i",74),n._uU(32),n.ALo(33,"translate"),n.qZA()()(),n.TgZ(34,"div",75)(35,"button",76),n.NdJ("click",function(){const B=n.CHM(i).$implicit,y=n.oxw(3);return n.KtG(y.buyBundle(B))}),n._uU(36),n.ALo(37,"translate"),n.qZA()(),n.YNc(38,pn,1,3,"app-feedback",77),n.qZA()()}if(2&a){const i=c.$implicit,E=c.last,g=n.oxw(3);n.xp6(4),n.MGl("src","assets/images/bundles/bundle-quota-",i.quota,".svg",n.LSH),n.xp6(3),n.AsE(" ",g.clientStatus&&g.clientStatus.valueAddedTax!==g.VATValue.Standard?i.netPrice:i.grossPrice,"\xa0",n.lcZ(8,13,i.currency)," * "),n.xp6(4),n.lnq("",n.lcZ(12,15,(g.clientStatus&&g.clientStatus.valueAddedTax!==g.VATValue.Standard?i.netPrice:i.grossPrice)/i.quota),"\xa0",n.lcZ(13,17,i.currency)," / ",n.lcZ(14,19,"CLIENT.PROFILE.BUNDLES.POINTS"),""),n.xp6(5),n.Oqu(i.translations[g.currentLanguageDashedServerFormat]),n.xp6(5),n.hij(" ",n.xi3(22,21,"CLIENT.PROFILE.BUNDLES.QUOTA",n.VKq(36,$,i.quota)),""),n.xp6(5),n.AsE(" ",n.xi3(27,24,100*(1-(g.clientStatus&&g.clientStatus.valueAddedTax!==g.VATValue.Standard?i.netPrice:i.grossPrice)/i.quota/g.quotaPrice),"1.0-0"),"",n.xi3(28,27,"CLIENT.PROFILE.BUNDLES.SAVING",n.VKq(38,$,i.quota)),""),n.xp6(6),n.hij(" ",n.xi3(33,30,"CLIENT.PROFILE.BUNDLES.INFO",n.VKq(40,$,i.quota))," "),n.xp6(4),n.hij(" ",n.xi3(37,33,"CLIENT.PROFILE.BUNDLES.BUY",n.VKq(42,$,i.quota))," "),n.xp6(2),n.Q6J("ngIf",E)}}function En(a,c){if(1&a&&(n.TgZ(0,"div",61),n.YNc(1,gn,39,44,"div",43),n.qZA()),2&a){const i=n.oxw(2);n.Q6J("@skeletonPosAbsLeave",void 0),n.xp6(1),n.Q6J("ngForOf",i.activeBundles)}}function hn(a,c){if(1&a&&(n.TgZ(0,"div",35),n.YNc(1,mn,3,4,"div",36),n.YNc(2,En,2,2,"div",37),n.TgZ(3,"div",38)(4,"p",39),n._uU(5),n.ALo(6,"translate"),n.ALo(7,"translate"),n.ALo(8,"translate"),n.qZA(),n.TgZ(9,"div",40),n._UZ(10,"app-accepted-cards",41),n.qZA()()()),2&a){const i=n.oxw();n.Q6J("@skeletonPosAbsLeave",void 0),n.xp6(1),n.Q6J("ngIf",i.loadingBundles||i.loadingPurchasedBundles),n.xp6(1),n.Q6J("ngIf",!i.loadingBundles&&!i.loadingPurchasedBundles),n.xp6(3),n.hij(" * ",i.clientStatus?i.clientStatus.valueAddedTax===i.VATValue.Standard?n.lcZ(7,7,"CLIENT.PROFILE.BUNDLES.VAT_INFO_27"):n.lcZ(8,9,"CLIENT.PROFILE.BUNDLES.VAT_INFO_0"):n.lcZ(6,5,"CLIENT.CONTRACTS.FINALIZATION.BENEFIT
53SLIST.MODAL_FOOTER_TEMP_PRICE")," "),n.xp6(5),n.Q6J("alternateStyle",!0)}}function Tn(a,c){1&a&&n.GkF(0)}function vn(a,c){if(1&a&&(n.ynx(0),n.YNc(1,Tn,1,0,"ng-container",17),n.BQk()),2&a){n.oxw();const i=n.MAs(12);n.xp6(1),n.Q6J("ngTemplateOutlet",i)}}function An(a,c){if(1&a&&(n.TgZ(0,"nz-list",79),n._UZ(1,"nz-empty",80),n.ALo(2,"translate"),n.qZA()),2&a){const i=n.oxw();n.Q6J("nzLoading",i.loadingPurchasedBundles),n.xp6(1),n.s9C("nzNotFoundContent",n.lcZ(2,4,"CLIENT.PROFILE.BUNDLES.NOT_FOUND")),n.Q6J("@skeletonPosAbsLeave",void 0)("nzNotFoundImage","assets/images/empty-icon.svg")}}const fn=function(a){return{"mt-4":a}};function On(a,c){if(1&a){const i=n.EpF();n.TgZ(0,"div",81)(1,"h2"),n._uU(2),n.ALo(3,"translate"),n.qZA(),n.TgZ(4,"p",13),n._uU(5),n.ALo(6,"translate"),n.qZA(),n.TgZ(7,"button",82),n.NdJ("click",function(){n.CHM(i);const g=n.oxw();return n.KtG(g.jumpToBundles())}),n._uU(8),n.ALo(9,"translate"),n.qZA()()}if(2&a){const i=n.oxw();n.Q6J("ngClass",n.VKq(10,fn,i.purchasedBundles&&0===i.purchasedBundles.length)),n.xp6(2),n.Oqu(n.lcZ(3,4,"CLIENT.PROFILE.BUNDLES.BOUGHT_BUNDLES_HEADER")),n.xp6(3),n.hij(" ",n.lcZ(6,6,"CLIENT.PROFILE.BUNDLES.BOUGHT_BUNDLES_SUBHEADER")," "),n.xp6(3),n.hij(" ",n.lcZ(9,8,"CLIENT.PROFILE.BUNDLES.GO_TO_BUY")," ")}}let k=class{constructor(c,i,E,g,B,y,Mn,Cn,Ln,xn,In,Dn,Pn,Bn,zn){this.nzMessage=c,this.nzModal=i,this.translate=E,this.clientService=g,this.contractService=B,this.eventService=y,this.languageService=Mn,this.modalService=Cn,this.paymentModalService=Ln,this.onePageService=xn,this.resizeService=In,this.routerService=Dn,this.paymentService=Pn,this.route=Bn,this.packNameService=zn,this.bundleTranslations={},this.loadingPurchasedBundles=!0,this.loadingBundles=!0,this.phoneView=!1,this.quotaPrice=0,this.shouldCheckUnicreditPayment=!1,this.currentPaymentProvider=e.L.config.unicreditEnabled?v.OHy.Unicredit:e.L.config.currentPaymentProvider,this.ClientRoutes=f.i,this.EnvironmentService=e.L,this.PageRoutes=M.d,this.BundleTypes=v.R$p,this.VATValue=v.di5,this.FeedbackFeature=v.lrp,this.FeedbackUnit=v._0Z}ngOnInit(){if(this.navigatorLinks=[{text:"COMMON.NAVIGATOR.ROUTE.INVOICES",href:this.routerService.getRouteToSettingsTab(M.d.settingsInvoicesTab),action:()=>this.routerService.routeToSettingsTab(M.d.settingsInvoicesTab)},{text:"COMMON.NAVIGATOR.ROUTE.ORDERS",href:this.routerService.getRouteToSettingsTab(M.d.settingsOrdersTab),action:()=>this.routerService.routeToSettingsTab(M.d.settingsOrdersTab)}],e.L.config.bundlesEnabled){this.resizeService.width.subscribe(g=>{this.phoneView=g<1185}),this.currentLanguageDashedServerFormat=this.languageService.dashedServerLanguageFromLanguageKey(this.languageService.currentLanguage),this.translate.onLangChange.subscribe(g=>{this.currentLanguageDashedServerFormat=this.languageService.dashedServerLanguageFromLanguageKey(g.lang)}),this.clientService.getContracts().pipe((0,O.t)(this)).subscribe(g=>{this.contracts=g.sort((B,y)=>B.quota>y.quota?1:-1)}),this.currentlySelected=null;let c,i,E=new Promise((g,B)=>{c=g,i=B});this.bundleLoadingPromiseData={loadingPromise:E,loadingResolve:c,loadingReject:i},this.getQuotaPrices(),window.innerWidth<1185&&(this.phoneView=!0),this.onePageService.bundleBought.subscribe(g=>{this.refreshBoughtBundles()}),this.clientStatus=this.eventService.clientStatus,this.eventService.changedClientStatus.subscribe(g=>{this.clientStatus=g}),this.route.queryParams.subscribe(g=>{g.check&&(this.shouldCheckUnicreditPayment="true"===g.check,this.shouldCheckUnicreditPayment&&this.bundleLoadingPromiseData&&this.bundleLoadingPromiseData.loadingPromise.then(()=>{this.checkUnicreditPayment()}))})}}getQuotaPrices(){this.clientService.getQuotaPrices().pipe((0,O.t)(this)).subscribe(c=>{this.quotaPrice=c[0].price,this.getBundles(),this.getPurchasedBundles()},c=>{this.loadingPurchasedBundles=!1,this.loadingBundles=!1})}getBundles(){this.loadingBundles=!0,this.clientService.getBundles().pipe((0,O.t)(this)).subscribe(c=>{c.forEach(i=>{this.bundleTranslations[i.ID]=i.translations}),this.bundles=[...c],this.bundles.sort((i,E)=>i.quota>E.quota?1:-1),this.activeBundles=this.bundles.filter(i=>i.type===v.R$p.ACTIVE),this.loadingBundles=!1,this.bundleLoadingPromiseData&&this.bundleLoadingPromiseData.loadingResolve()},c=>{console.log(c),this.loadingBundles=!1,this.bundleLoadingPromiseData&&this.bundleLoadingPromiseData.loadingReject()})}getPurchasedBundles(){this.loadingPurchasedBundles=!0,this.clientService.getBenefits().pipe((0,O.t)(this)).subscribe(c=>{this.purchasedBundles=[...c.packs],this.purchasedBundles.sort((i,E)=>
53i.created<E.created?1:-1),this.purchasedBundles.forEach((i,E)=>{0===i.quota&&this.purchasedBundles.splice(this.purchasedBundles.length-1,0,this.purchasedBundles.splice(E,1)[0])}),this.purchasedBundles=this.packNameService.setPackNames(this.purchasedBundles,this.bundles),this.purchasedBundleKeys=this.setPurchasedBundleKeys(),this.loadingPurchasedBundles=!1},c=>{console.log(c),this.loadingPurchasedBundles=!1})}refreshBoughtBundles(){this.loadingPurchasedBundles=!0,this.eventService.quotaChanged.emit(),this.eventService.setHasOrders(!0),this.clientService.getBenefits().pipe((0,O.t)(this)).subscribe(c=>{this.purchasedBundles.length===c.packs.length?setTimeout(()=>this.refreshBoughtBundles(),500):(this.purchasedBundles=[...c.packs],this.purchasedBundles.sort((i,E)=>i.created<E.created?1:-1),this.purchasedBundles.forEach((i,E)=>{0===i.quota&&this.purchasedBundles.splice(this.purchasedBundles.length-1,0,this.purchasedBundles.splice(E,1)[0])}),this.purchasedBundles=this.packNameService.setPackNames(this.purchasedBundles,this.bundles),this.purchasedBundleKeys=this.setPurchasedBundleKeys(),this.loadingPurchasedBundles=!1)})}setPurchasedBundleKeys(){return this.purchasedBundles.map(c=>{const i=c.key.split("-")[1].split("_")[0].toLowerCase();return this.packNameService.isGift(i)?this.packNameService.giftKey:i})}buyBundle(c){this.currentlySelected=c,!this.hasBilling||!this.hasPayment&&this.currentPaymentProvider!==v.OHy.Unicredit?this.paymentModalService.onepagecheckoutModalForBundle(!this.hasBilling,!this.hasPayment,this.phoneView,this.clientStatus&&this.clientStatus.valueAddedTax!==v.di5.Standard?c.netPrice:c.grossPrice,c.currency,c,c,()=>this.nzModal.closeAll(),this.currentPaymentProvider):this.paymentModalService.choosePaymentModalForBundle(c,this.bundleTranslations[c.ID][this.currentLanguageDashedServerFormat],this.clientStatus&&this.clientStatus.valueAddedTax?this.clientStatus.valueAddedTax:null,!1,null,this.currentPaymentProvider)}jumpToBundles(){if(this.bundlesDiv){const i=this.bundlesDiv.nativeElement.getBoundingClientRect().top+document.documentElement.scrollTop-100;window.scrollTo({top:i,behavior:"smooth"})}}checkUnicreditPayment(){const c=localStorage.getItem(R.B.pendingPayment);if(c&&this.bundles){const i=JSON.parse(c),E=this.bundles.find(g=>g.ID===i.productID);E&&this.paymentModalService.choosePaymentModalForBundle(E,this.bundleTranslations[E.ID][this.currentLanguageDashedServerFormat],this.clientStatus&&this.clientStatus.valueAddedTax?this.clientStatus.valueAddedTax:null,!0,i.transactionID,this.currentPaymentProvider)}}};k.\u0275fac=function(c){return new(c||k)(n.Y36(b.dD),n.Y36(L.Sf),n.Y36(x.sK),n.Y36(F.y),n.Y36(U.W),n.Y36(z.P),n.Y36(N.T),n.Y36(m.Z),n.Y36(A.u),n.Y36(_.g),n.Y36(u._),n.Y36(T.c),n.Y36(h.t),n.Y36(K.gz),n.Y36(J.S))},k.\u0275cmp=n.Xpm({type:k,selectors:[["app-bundles"]],viewQuery:function(c,i){if(1&c&&(n.Gf(p,5),n.Gf(C,5)),2&c){let E;n.iGM(E=n.CRH())&&(i.contentTemplate=E.first),n.iGM(E=n.CRH())&&(i.bundles
vendor: 4,138 bytes, line 53
53Div=E.first)}},inputs:{hasBilling:"hasBilling",hasPayment:"hasPayment"},decls:13,vars:9,consts:[[1,"container","p-t-30"],["class","text-center m-b-40 w-100",4,"ngIf"],[4,"ngIf"],["class","mb-4 purchasedBundlesList","nzItemLayout","horizontal","style","margin: auto; padding: 15px 30px; border: 1px solid #edf2f9; border-radius: 0.25rem; background: #fff",3,"nzLoading",4,"ngIf"],["class","text-center m-b-40",4,"ngIf"],["class","container padding-compensation",4,"ngIf"],["nzItemLayout","horizontal","class","mb-4","style","margin: auto; padding: 15px 30px; border: 1px solid #edf2f9; border-radius: 0.25rem; background: #fff",3,"nzLoading",4,"ngIf"],[1,"container","mt-4"],[3,"links"],["boughtBundlesHeader",""],[1,"text-center","m-b-40","w-100"],[1,"w-100"],["nzType","input","nzSize","default",1,"w-80",3,"nzActive"],[1,"w-45","m-h-auto","m-b-30"],["nzType","input","nzSize","small",1,"w-100",3,"nzActive"],["nzType","input","nzSize","small",1,"w-80",3,"nzActive"],["nzType","input","nzSize","small",1,"p-b-10","w-30","buttonSkeleton",3,"nzActive"],[4,"ngTemplateOutlet"],["nzItemLayout","horizontal",1,"mb-4","purchasedBundlesList",2,"margin","auto","padding","15px 30px","border","1px solid #edf2f9","border-radius","0.25rem","background","#fff",3,"nzLoading"],["class","justify-content-center justify-content-md-between flex-wrap",4,"ngFor","ngForOf"],[1,"justify-content-center","justify-content-md-between","flex-wrap"],[3,"nzAvatar","nzDescription"],["bundleImage",""],[1,"mb-0","mb-lg-3","available-quota"],["nz-list-item-actions","",1,"mb-0"],[1,"action-margin"],[2,"word-break","break-all","white-space","normal"],["alt","Szerzi-points bundle icon",2,"width","40px","height","40px",3,"src"],["nzType","input","nzSize","default",1,"w-30",3,"nzActive"],[1,"text-center","m-b-40"],["bundlesDiv",""],[1,"w-45","m-h-auto","m-b-30",3,"innerHTML"],["class","emptyBox",3,"nzNotFoundImage","nzNotFoundContent",4,"ngIf"],[1,"emptyBox",3,"nzNotFoundImage","nzNotFoundContent"],[1,"text-danger"],[1,"container","padding-compensation"],["class","row justify-content-center w-100",4,"ngIf"],["class","row justify-content-center",4,"ngIf"],[1,"d-flex","flex-wrap"],[1,"font-size-smaller","text-left","m-b-0","mt-4"],[1,"accepted-cards-container","ml-sm-auto","cursor-pointer","mr-sm-0","mr-auto","ml-auto","mt-4"],[3,"alternateStyle"],[1,"row","justify-content-center","w-100"],["class","col-xl-4 col-md-6 col-12 card-padding",4,"ngFor","ngForOf"],[1,"col-xl-4","col-md-6","col-12","card-padding"],[2,"height","100%"],[1,"d-flex","justify-content-between","p-b-20","border-bottom","w-100"],[1,"media","align-items-center","w-100"],["nzType","avatar",1,"p-b-15",3,"nzActive","nzSize"],[1,"m-l-15","w-100"],["nzType","input",1,"p-b-10","w-70",3,"nzActive"],["nzType","input","nzSize","small",1,"p-b-10","w-40","smallHeightSkeleton",3,"nzActive"],["nzType","input","nzSize","small",1,"w-70",3,"nzActive"],[1,"list-unstyled","m-v-30","w-100"],[4,"ngFor","ngForOf"],[1,"text-center","w-100"],["nzType","input","nzSize","small",1,"p-b-10","w-60","buttonSkeleton",3,"nzActive"],[1,"m-b-20","w-100"],[1,"d-flex","justify-content-between","flex-wrap"],["nzType","input","nzSize","small",1,"w-100","skeleton-h-20px",3,"nzActive"],["nzType","input","nzSize","small",1,"w-80","skeleton-h-20px",3,"nzActive"],[1,"row","justify-content-center"],[1,"d-flex","justify-content-between","p-b-20","border-bottom"],[1,"media","align-items-center"],["alt","Szerzi-points bundle icon",1,"bundle-img",3,"src"],[1,"m-l-15"],[1,"font-weight-bold","responsive-h2-size","m-b-0","inline-block"],[1,"font-size-13","font-weight-semibold","inline-block"],[1,"m-b-0","responsive-h4-size"],[1,"list-unstyled","m-v-30"],[1,"m-b-20"],[1,"d-flex","justify-content-between"],[1,"text-dark","font-weight-semibold"],[1,"cursor-pointer","font-size-13",3,"click"],["nz-icon","","nzType","info-circle","nzTheme","outline"],[1,"text-center"],["nz-button","","nzType","primary",2,"white-space","normal","height","100%",3,"click"],["class","feedback-positioning","style","bottom: 5px",3,"feature","unit","title",4,"ngIf"],[1,"feedback-positioning",2,"bottom","5px",3,"feature","unit","t
53itle"],["nzItemLayout","horizontal",1,"mb-4",2,"margin","auto","padding","15px 30px","border","1px solid #edf2f9","border-radius","0.25rem","background","#fff",3,"nzLoading"],[3,"nzNotFoundImage","nzNotFoundContent"],[1,"text-center","m-b-40",3,"ngClass"],["nz-button","","nzType","primary",3,"click"]],template:function(c,i){1&c&&(n.TgZ(0,"div",0),n.YNc(1,q,8,6,"div",1),n.YNc(2,en,2,1,"ng-container",2),n.YNc(3,an,3,2,"nz-list",3),n.YNc(4,rn,9,7,"div",1),n.YNc(5,_n,10,12,"div",4),n.YNc(6,hn,11,11,"div",5),n.YNc(7,vn,2,1,"ng-container",2),n.YNc(8,An,3,6,"nz-list",6),n.qZA(),n.TgZ(9,"div",7),n._UZ(10,"app-navigator",8),n.qZA(),n.YNc(11,On,10,12,"ng-template",null,9,n.W1O)),2&c&&(n.xp6(1),n.Q6J("ngIf",(i.loadingBundles||i.loadingPurchasedBundles)&&i.EnvironmentService.config.bundlesEnabled),n.xp6(1),n.Q6J("ngIf",!i.loadingBundles&&!i.loadingPurchasedBundles&&i.purchasedBundles&&i.purchasedBundles.length>0&&i.EnvironmentService.config.bundlesEnabled),n.xp6(1),n.Q6J("ngIf",!i.loadingBundles&&!i.loadingPurchasedBundles&&i.purchasedBundles&&i.purchasedBundles.length>0&&i.EnvironmentService.config.bundlesEnabled),n.xp6(1),n.Q6J("ngIf",(i.loadingBundles||i.loadingPurchasedBundles)&&i.EnvironmentService.config.bundlesEnabled),n.xp6(1),n.Q6J("ngIf",!i.loadingBundles&&!i.loadingPurchasedBundles||!i.EnvironmentService.config.bundlesEnabled),n.xp6(1),n.Q6J("ngIf",i.EnvironmentService.config.bundlesEnabled),n.xp6(1),n.Q6J("ngIf",!i.loadingBundles&&!i.loadingPurchasedBundles&&i.purchasedBundles&&0===i.purchasedBundles.length&&i.EnvironmentService.config.bundlesEnabled),n.xp6(1),n.Q6J("ngIf",!i.loadingBundles&&!i.loadingPurchasedBundles&&i.purchasedBundles&&0===i.purchasedBundles.length&&i.EnvironmentService.config.bundlesEnabled),n.xp6(2),n.Q6J("links",i.navigatorLinks))},dependencies:[I.mk,I.sg,I.O5,I.tP,Q.X,W.x,w.ix,Y.w,H.dQ,V.bd,G.p9,j.Ls,D.n_,D.AA,D.yi,D.IO,D.nk,D.KC,Z.Xw,Z.yx,Z.yg,d.S,I.JJ,I.uU,x.X$,l.H9,l.U2,r.y,o.A],styles:["nz-list.bundles-list[_ngcontent-%COMP%]{height:calc(100% - 50px)} nz-list.bundles-list .ant-spin-nested-loading{height:100%} nz-list.bundles-list .ant-spin-nested-loading .ant-spin-container{height:100%}nz-list.bundles-list[_ngcontent-%COMP%] .bundle-details[_ngcontent-%COMP%]{width:calc(100% - 120px);text-align:right}nz-list.bundles-list[_ngcontent-%COMP%] .bundle-credits[_ngcontent-%COMP%]{display:table;width:120px}.card-padding[_ngcontent-%COMP%]{margin-top:18px}.padding-compensation[_ngcontent-%COMP%]{margin-top:-18px}.bundle-img[_ngcontent-%COMP%]{width:50px!important}.smallHeightSkeleton[_ngcontent-%COMP%]{height:12px}[_nghost-%COMP%] .smallHeightSkeleton[_ngcontent-%COMP%] .ant-skeleton-input{height:12px}.buttonSkeleton[_ngcontent-%COMP%]{height:40px}[_nghost-%COMP%] .buttonSkeleton[_ngcontent-%COMP%] .ant-skeleton-input{height:40px}@media (max-width: 991.98px){.purchasedBundlesList[_ngcontent-%COMP%] .available-quota[_ngcontent-%COMP%]{flex:1 0 100%}}@media (max-width: 767.98px){.purchasedBundlesList[_ngcontent-%COMP%] .ant-list-item-meta[_ngcontent-%COMP%]{flex:1 0 100%;text-align:center}.purchasedBundlesList[_ngcontent-%COMP%] .action-margin[_ngcontent-%COMP%]{margin-left:32px!important}.purchasedBundlesList[_ngcontent-%COMP%] .ant-list-item-action[_ngcontent-%COMP%]{padding-left:44px;flex:initial;text-align:center}[_nghost-%COMP%] .purchasedBundlesList .ant-list-item-action li:first-child{padding-left:3px}[_nghost-%COMP%] .purchasedBundlesList .ant-list-item-action li:first-child p{margin-bottom:0}[_nghost-%COMP%] .purchasedBundlesList .ant-list-item-action li:first-child em{display:none}[_nghost-%COMP%] .purchasedBundlesList .ant-list-item-action li:not(:first-child){padding-left:5px}}"],data:{animation:[P.Ln]}}),k=(0,t.gn)([(0,O.c)()],k)}}]);
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.