PageSourceSearch

https://szerzi.hu/common-9e26d0e7.3ce5bfa38a6e415d.js

js szerzi.hu collected 2026-10-04 13:24:56 UTC 40,037 bytes, 53 lines download raw bytes

1"use strict";(self.webpackChunkszerzi_front=self.webpackChunkszerzi_front||[]).push([[1471],{14700:(at,O,o)=>{o.d(O,{Q:()=>g});var c=o(22971),t=o(44569),E=o(71997),h=o(45218);
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     */function g(T){return new Map([[t.d.settingsProfileTab,{link:t.d.settingsProfileTab,title:T.instant("CLIENT.PROFILE.TITLES.PROFILE"),index:0,userTypes:[c.FW.Client,c.FW.Lawyer]}],[t.d.settingsAccountTab,{link:t.d.settingsAccountTab,title:T.instant("CLIENT.PROFILE.TITLES.ACCOUNT"),index:1,userTypes:[c.FW.Administrator,c.FW.Client,c.FW.Lawyer]}],[t.d.settingsBillingTab,{link:t.d.settingsBillingTab,title:T.instant("CLIENT.PROFILE.TITLES.BILLING"),index:2,userTypes:[c.FW.Client]}],[t.d.settingsLicenseTab,{link:t.d.settingsLicenseTab,title:T.instant("CLIENT.PROFILE.TITLES.LICENSE"),index:3,userTypes:[c.FW.Lawyer]}],[t.d.settingsIntroductionTab,{link:t.d.settingsIntroductionTab,title:T.instant("CLIENT.PROFILE.TITLES.INTRODUCTION"),index:4,userTypes:[c.FW.Lawyer]}],[t.d.settingsInvoicingTab,{link:t.d.settingsInvoicingTab,title:T.instant("CLIENT.PROFILE.TITLES.INVOICING"),index:5,userTypes:[c.FW.Lawyer]}]].concat(h.L.config.currentPaymentProvider===E.OHy.Stripe?[[t.d.settingsPayoutTab,{link:t.d.settingsPayoutTab,title:T.instant("CLIENT.PROFILE.TITLES.PAYOUT"),index:6,userTypes:[c.FW.Lawyer],children:[t.d.settingsPayoutRefreshTab,t.d.settingsPayoutReturnTab]}]]:[]).concat([[t.d.settingsMatchmakingTab,{link:t.d.settingsMatchmakingTab,title:T.instant("CLIENT.PROFILE.TITLES.MATCHMAKING"),index:7,userTypes:[c.FW.Lawyer]}],[t.d.settingsPaymentTab,{link:t.d.settingsPaymentTab,title:T.instant("CLIENT.PROFILE.TITLES.PAYMENT"),index:8,userTypes:[c.FW.Client],children:[t.d.settingsPaymentTestCardsTab]}],[t.d.settingsSubscriptionsTab,{link:t.d.settingsSubscriptionsTab,title:T.instant("CLIENT.PROFILE.TITLES.SUBSCRIPTIONS"),index:9,userTypes:[c.FW.Client]}],[t.d.settingsBundlesTab,{link:t.d.settingsBundlesTab,title:T.instant("CLIENT.PROFILE.TITLES.BUNDLES"),index:10,userTypes:[c.FW.Client]}],[t.d.settingsInvoicesTab,{link:t.d.settingsInvoicesTab,title:T.instant("CLIENT.PROFILE.TITLES.INVOICES"),index:11,userTypes:[c.FW.Client,c.FW.Lawyer],needsLawyerVerification:!0}],[t.d.settingsOrdersTab,{link:t.d.settingsOrdersTab,title:T.instant("CLIENT.PROFILE.TITLES.ORDERS"),index:12,userTypes:[c.FW.Client]}],[t.d.settingsSocialTab,{link:t.d.settingsSocialTab,title:T.instant("CLIENT.PROFILE.TITLES.SOCIAL"),index:13,userTypes:[c.FW.Client,c.FW.Lawyer]}],[t.d.settingsPaymentResultTab,{link:t.d.settingsPaymentResultTab,title:T.instant("CLIENT.PROFILE.TITLES.PAYMENT_RESULT"),index:14,userTypes:[c.FW.Client],children:[t.d.settingsPaymentResultSuccessTab,t.d.settingsPaymentResultFailureTab]}]]))}},63693:(at,O,o)=>{o.d(O,{d:()=>d});var c=o(97582),t=o(30144),E=o(44224),h=o(77579),M=o(32053),g=o(44569),T=o(38320),N=o(45129),P=o(7500),v=o(1077),C=o(71997),I=o(78321),A=o(45218),z=o(36057),y=o(6947),L=o(93710),D=o(14700),b=o(13204),e=o(94650),R=o(32925),f=o(36895),S=o(50211),U=o(75489),F=o(81664),B=o(55089),W=o(87341),Z=o(52632),Q=o(54584),Y=o(39889),J=o(95390),K=o(72536),k=o(47216),G=o(26079),X=o(70048),V=o(51971),x=o(27830),w=o(6672),H=o(37570),j=o(1
275951),$=o(20647),q=o(61346),tt=o(80122),et=o(62028),nt=o(33804),it=o(95304),a=o(68404),m=o(77090);function l(i,s){if(1&i&&e._UZ(0,"app-tabset-tutorial",14),2&i){const n=e.oxw();e.Q6J("tabsetTutorialDirective",n.tabsetTutorialDirective)("safekeepingStorageKey","understandProfileTooltip")}}function r(i,s){if(1&i&&(e._uU(0),e._UZ(1,"nz-badge",15)),2&i){const n=e.oxw();e.hij(" ",n.navLinks.get(n.PageRoutes.settingsProfileTab).title," "),e.xp6(1),e.Q6J("nzStandalone",!0)("nzDot",n.verificationSteps.has(n.VerificationStates.PROFILE)&&n.verificationSteps.has(n.VerificationStates.IMAGE)&&(!n.verificationSteps.get(n.VerificationStates.PROFILE).isLoading&&!n.verificationSteps.get(n.VerificationStates.PROFILE).value||!n.verificationSteps.get(n.VerificationStates.IMAGE).isLoading&&!n.verificationSteps.get(n.VerificationStates.IMAGE).value))}}function p(i,s){if(1&i&&(e.TgZ(0,"nz-tab",16)(1,"div",17),e._UZ(2,"app-client-profile-data",18),e.qZA()()),2&i){const n=e.oxw(),_=e.MAs(5);e.Q6J("nzTitle",_)("nzForceRender",!0),e.xp6(2),e.Q6J("hasBilling",n.hasBilling)}}function st(i,s){if(1&i&&(e._uU(0),e._UZ(1,"nz-badge",21)),2&i){const n=e.oxw(2);e.hij(" ",n.navLinks.get(n.PageRoutes.settingsAccountTab).title," "),e.xp6(1),e.Q6J("nzDot",n.unverifiedMail)}}function rt(i,s){if(1&i){const n=e.EpF();e.TgZ(0,"nz-tab",16),e.YNc(1,st,2,2,"ng-template",null,19,e.W1O),e.TgZ(3,"div",17)(4,"app-client-profile-account",20),e.NdJ("unverifiedChange",function(u){e.CHM(n);const ot=e.oxw();return e.KtG(ot.unverifiedMail=u)}),e.qZA()()()}if(2&i){const n=e.MAs(2);e.Q6J("nzTitle",n)("nzForceRender",!0)}}function _t(i,s){if(1&i&&(e.TgZ(0,"nz-tab",22)(1,"div",17)(2,"nz-card",22),e.ALo(3,"translate"),e._UZ(4,"app-billing")(5,"app-feedback",23),e.qZA()()()),2&i){const n=e.oxw();e.Q6J("nzTitle",n.navLinks.get(n.PageRoutes.settingsBillingTab).title),e.xp6(2),e.Q6J("nzTitle",e.lcZ(3,5,"CLIENT.PROFILE.BILLING.TITLE")),e.xp6(3),e.Q6J("feature",n.FeedbackFeature.Settings)("unit",n.FeedbackUnit.Billing)("title","COMMON.FEEDBACK.TITLES.BILLING")}}function lt(i,s){if(1&i&&(e._uU(0),e._UZ(1,"nz-badge",15)),2&i){const n=e.oxw();e.hij(" ",n.navLinks.get(n.PageRoutes.settingsLicenseTab).title," "),e.xp6(1),e.Q6J("nzStandalone",!0)("nzDot",n.verificationSteps.has(n.VerificationStates.LAWYER_LICENSE)&&!n.verificationSteps.get(n.VerificationStates.LAWYER_LICENSE).isLoading&&!n.verificationSteps.get(n.VerificationStates.LAWYER_LICENSE).value)}}function ct(i,s){if(1&i&&(e.TgZ(0,"nz-tab",22)(1,"div",17),e._UZ(2,"app-lawyer-license"),e.qZA()()),2&i){e.oxw();const n=e.MAs(10);e.Q6J("nzTitle",n)}}function mt(i,s){if(1&i&&(e._uU(0),e._UZ(1,"nz-badge",15)),2&i){const n=e.oxw();e.hij(" ",n.navLinks.get(n.PageRoutes.settingsIntroductionTab).title," "),e.xp6(1),e.Q6J("nzStandalone",!0)("nzDot",n.verificationSteps.has(n.VerificationStates.INTRODUCTION)&&!n.verificationSteps.get(n.VerificationStates.INTRODUCTION).isLoading&&!n.verificationSteps.get(n.VerificationStates.INTRODUCTION).value)}}function Tt(i,s){if(1&i){const n=e.EpF();e.TgZ(0,"nz-tab",24),e.NdJ("nzClick",function(){e.CHM(n);const u=e.oxw();return e.KtG(u.triggerTextareaUpdate())}),e.TgZ(1,"div",17),e._UZ(2,"app-introduction",25),e.qZA()()}if(2&i){const n=e.oxw(),_=e.MAs(13);e.Q6J("nzTitle",_),e.xp6(2),e.Q6J("textareaUpdateTrigger",n.textareaUpdateTrigger)}}function pt(i,s){if(1&i&&(e._uU(0),e._UZ(1,"nz-badge",15)),2&i){const n=e.oxw();e.hij(" ",n.navLinks.get(n.PageRoutes.settingsInvoicingTab).title," "),e.xp6(1),e.Q6J("nzStandalone",!0)("nzDot",n.verificationSteps.has(n.VerificationStates.INVOICING)&&!n.verificationSteps.get(n.VerificationStates.INVOICING).isLoading&&!n.verificationSteps.get(n.VerificationStates.INVOICING).value)}}function ut(i,s){if(1&i&&(e.TgZ(0,"nz-tab",22)(1,"div",17),e._UZ(2,"app-invoicing",26),e.qZA()()),2&i){const n=e.oxw(),_=e.MAs(16);e.Q6J("nzTitle",_),e.xp6(2),e.Q6J("enableTooltip",n.startRefreshObservable)}}function gt(i,s){if(1&i&&(e._uU(0),e._UZ(1,"nz-badge",15)),2&i){const n=e.oxw();e.hij(" ",n.navLinks.get(n.PageRoutes.settingsPayoutTab).title," "),e.xp6(1),e.Q6J("nzStandalone",!0)("nzDot",n.verificationSteps.has(n.VerificationStates.PAYOUT)&&!n.verificationSteps.get(n.VerificationStates.PAYOUT).isLoading&&!n.verificationSteps.get(n.VerificationStates.PAYOUT).value)}}
27function ft(i,s){if(1&i&&(e.TgZ(0,"nz-tab",22)(1,"div",17),e._UZ(2,"app-payout",27),e.qZA()()),2&i){const n=e.oxw(),_=e.MAs(19);e.Q6J("nzTitle",_),e.xp6(2),e.Q6J("toRefresh",n.startRefreshObservable)}}function Et(i,s){if(1&i&&(e._uU(0),e._UZ(1,"nz-badge",15)),2&i){const n=e.oxw();e.hij(" ",n.navLinks.get(n.PageRoutes.settingsMatchmakingTab).title," "),e.xp6(1),e.Q6J("nzStandalone",!0)("nzDot",n.verificationSteps.has(n.VerificationStates.MATCHMAKING)&&!n.verificationSteps.get(n.VerificationStates.MATCHMAKING).isLoading&&!n.verificationSteps.get(n.VerificationStates.MATCHMAKING).value)}}function dt(i,s){if(1&i&&(e.TgZ(0,"nz-tab",22)(1,"div",17),e._UZ(2,"app-matchmaking-settings"),e.qZA()()),2&i){e.oxw();const n=e.MAs(22);e.Q6J("nzTitle",n)}}function Ct(i,s){if(1&i&&(e.TgZ(0,"nz-tab",16)(1,"div",17)(2,"nz-card",22),e.ALo(3,"translate"),e._UZ(4,"app-paymentcard",18)(5,"app-feedback",23),e.qZA()()()),2&i){const n=e.oxw();e.Q6J("nzTitle",n.navLinks.get(n.PageRoutes.settingsPaymentTab).title)("nzForceRender",!0),e.xp6(2),e.Q6J("nzTitle",e.lcZ(3,7,"CLIENT.PROFILE.PAYMENT.TITLE")),e.xp6(2),e.Q6J("hasBilling",n.hasBilling),e.xp6(1),e.Q6J("feature",n.FeedbackFeature.Settings)("unit",n.FeedbackUnit.Payment)("title","COMMON.FEEDBACK.TITLES.PAYMENT")}}function Ot(i,s){if(1&i&&(e.TgZ(0,"nz-tag",29),e._uU(1),e.ALo(2,"translate"),e.qZA()),2&i){const n=e.oxw(2);e.Q6J("nzColor",n.ColorSettings.Primary),e.xp6(1),e.hij(" ",e.lcZ(2,2,"COMMON.COMING_SOON")," ")}}function ht(i,s){if(1&i&&(e._uU(0),e.YNc(1,Ot,3,4,"nz-tag",28)),2&i){const n=e.oxw();e.hij(" ",n.navLinks.get(n.PageRoutes.settingsSubscriptionsTab).title," "),e.xp6(1),e.Q6J("ngIf",!n.EnvironmentService.config.subscriptionsMonthlyEnabled&&!n.EnvironmentService.config.subscriptionsAnnualEnabled)}}function Mt(i,s){if(1&i&&(e.TgZ(0,"nz-tab",16)(1,"div",17),e._UZ(2,"app-subscriptions",30),e.qZA()()),2&i){const n=e.oxw(),_=e.MAs(26);e.Q6J("nzTitle",_)("nzForceRender",!0),e.xp6(2),e.Q6J("hasBilling",n.hasBilling)("hasPayment",n.hasPayment)}}function It(i,s){if(1&i&&(e.TgZ(0,"nz-tag",29),e._uU(1),e.ALo(2,"translate"),e.qZA()),2&i){const n=e.oxw(2);e.Q6J("nzColor",n.ColorSettings.Primary),e.xp6(1),e.hij(" ",e.lcZ(2,2,"COMMON.COMING_SOON")," ")}}function Nt(i,s){if(1&i&&(e._uU(0),e.YNc(1,It,3,4,"nz-tag",28)),2&i){const n=e.oxw();e.hij(" ",n.navLinks.get(n.PageRoutes.settingsBundlesTab).title," "),e.xp6(1),e.Q6J("ngIf",!n.EnvironmentService.config.bundlesEnabled)}}function Pt(i,s){if(1&i&&(e.TgZ(0,"nz-tab",22)(1,"div",17),e._UZ(2,"app-bundles",30),e.qZA()()),2&i){const n=e.oxw(),_=e.MAs(29);e.Q6J("nzTitle",_),e.xp6(2),e.Q6J("hasBilling",n.hasBilling)("hasPayment",n.hasPayment)}}function vt(i,s){if(1&i&&(e.TgZ(0,"nz-tab",22)(1,"div",17),e._UZ(2,"app-invoices",31),e.qZA()()),2&i){const n=e.oxw();e.Q6J("nzTitle",n.navLinks.get(n.PageRoutes.settingsInvoicesTab).title),e.xp6(2),e.Q6J("startRefreshing",n.startRefreshObservable)}}function Lt(i,s){if(1&i&&(e.TgZ(0,"nz-tab",22)(1,"div",17)(2,"nz-card",22),e.ALo(3,"translate"),e._UZ(4,"app-orders",27)(5,"app-feedback",23),e.qZA()()()),2&i){const n=e.oxw();e.Q6J("nzTitle",n.navLinks.get(n.PageRoutes.settingsOrdersTab).title),e.xp6(2),e.Q6J("nzTitle",e.lcZ(3,6,"CLIENT.PROFILE.ORDERS.TITLE")),e.xp6(2),e.Q6J("toRefresh",n.startRefreshObservable),e.xp6(1),e.Q6J("feature",n.FeedbackFeature.Settings)("unit",n.FeedbackUnit.Orders)("title","COMMON.FEEDBACK.TITLES.ORDERS")}}function bt(i,s){if(1&i&&(e.TgZ(0,"nz-tab",22)(1,"div",17),e._UZ(2,"app-network"),e.qZA()()),2&i){const n=e.oxw();e.Q6J("nzTitle",n.navLinks.get(n.PageRoutes.settingsSocialTab).title)}}function Rt(i,s){if(1&i){const n=e.EpF();e.TgZ(0,"nz-tab",32),e.NdJ("nzSelect",function(){e.CHM(n);const u=e.oxw();return e.KtG(u.setShowPaymentResult(!0))})("nzDeselect",function(){e.CHM(n);const u=e.oxw();return e.KtG(u.setShowPaymentResult(!1))}),e.TgZ(1,"div",17),e._UZ(2,"app-payment-result"),e.qZA()()}if(2&i){const n=e.oxw();e.Q6J("nzTitle",n.navLinks.get(n.PageRoutes.settingsPaymentResultTab).title)}}let d=class{constructor(s,n,_,u,ot,xt,At,zt,yt,Dt,St,Ut,Ft,Bt){this.activatedRoute=s,this.router=n,this.translate=_,this.viewportScroller=u,this.clientService=ot,this.eventService=xt,this.modalService=At,this.userService=zt,this.themeService=yt,this.paymentService=Dt,this.lawyerValidationService=St,this.routerService=Ut,this.scrollService=Ft,this.nzConfigService=Bt,this.unverifiedMail=!1,this.hasBilling=null,this.hasPayment=null,this.selectedProfileTabIndex=-1,this.startRefresh=new h.x,this.isLoadingProfileInfos=!0,this.PageRoutes=g.d,this.EnvironmentService=A.L,this.FeedbackFeature=C.lrp,this.FeedbackUnit=C._0Z,this.ColorSettings=I.y,this.PaymentProvider=C.OHy,this.showPaymentResult=!0,this.verificationSteps=new Map,this.VerificationStates=z.xr,this.StorageKeys=y.B,this.keepFragment=!1}ngOnInit(){this.verificationSteps=this.lawyerValidationService.stepsMap,this.lawyerValidationService.changed.subscribe(s=>{this.verificationSteps=s}),this.activatedRoute.fragment.subscribe(s=>{s&&(this.currentFragment=s,this.scrollService.scrollToAnchor(s))}),this.clientService.getBilling().pipe((0,E.t)(this)).subscribe(s=>{this.eventService.hasBilling.emit(!!s)},s=>{this.eventService.hasBilling.emit(!1)}),this.eventService.hasBilling.subscribe(s=>{this.hasBilling=s}),this.eventService.hasPayment.subscribe(s=>{this.hasPayment=s}),this.userType=this.userService.sessionType,this.translate.onLangChange.subscribe(s=>{this.refreshNavLinks()}),this.refreshNavLinks(),this.router.url.endsWith(g.d.settingsPaymentResultTab)||this.router.url.endsWith(g.d.settingsPaymentResultSuccessTab)||this.router.url.endsWith(g.d.settingsPaymentResultFailureTab)?this.setShowPaymentResult(!0):this.setShowPaymentResult(!1),this.router.events.subscribe(s=>{if(s instanceof t.OD){this.keepFragment=!0;const n=[...this.navLinks.values()].filter(_=>_.userTypes.includes(this.userType)).findIndex(_=>s.url.split("?")[0].split("#")[0].endsWith(`/${_.link}`));s.url.endsWith(g.d.settingsPaymentResultTab)||s.url.endsWith(g.d.settingsPaymentResultSuccessTab)||s.url.endsWith(g.d.settingsPaymentResultFailureTab)?this.setShowPaymentResult(!0):(this.setShowPaymentResult(!1),s.url.endsWith(g.d.settingsMatchmakingTab)?this.nzConfigService.set("message",{nzMaxStack:1}):this.nzConfigService.set("message",{nzMaxStack:7})),-1!==n&&this.selectedProfileTabIndex!==n&&(this.selectedProfileTabIndex=n)}}),this.router.url&&(this.selectedProfileTabIndex=[...this.navLinks.values()].filter(s=>s.userTypes.includes(this.userType)).findIndex(s=>this.router.url.split("?")[0].endsWith(`/${s.link}`)||s.children&&s.children.some(n=>this.router.url.split("?")[0].endsWith(`/${n}`)))),this.startRefreshObservable=this.startRefresh.asObservable()}canDeactivate(){return!(this.profileDataComponent&&this.profileDataComponent.profileForm&&(this.profileDataComponent.profileForm.dirty||this.profileDataComponent.saveInProgress)||this.billingComponent&&this.billingComponent.billingForm&&(this.billingComponent.billingForm.dirty||this.billingComponent.saveInProgress)||this.invoicingComponent&&this.invoicingComponent.invoicingForm&&(this.invoicingComponent.invoicingForm.dirty||this.invoicingComponent.saveInProgress)||this.lawyerLicenseComponent&&this.lawyerLicenseComponent.licenseForm&&(this.lawyerLicenseComponent.licenseForm.dirty||this.lawyerLicenseComponent.saveInProgress)||this.introductionComponent&&this.introductionComponent.introductionForm&&(this.introductionComponent.introductionForm.dirty||this.introductionComponent.saveInProgress)||this.matchmakingSettingsComponent&&this.matchmakingSettingsComponent.matchmakingForm&&(this.matchmakingSettingsComponent.matchmakingForm.dirty||this.matchmakingSettingsComponent.saveInProgress))||this.showConfirmLeaveMod
27al()}refreshNavLinks(){this.navLinks=(0,D.Q)(this.translate)}routeToTabByIndex(s){const _=[...this.navLinks.values()].filter(u=>u.userTypes.includes(this.userType))[s];_&&(this.routerService.routeToSettingsTab(_.link,this.keepFragment&&this.currentFragment?this.currentFragment:null),this.keepFragment=!1,this.currentFragment=null,this.startRefresh.next(_.link))}showConfirmLeaveModal(){return this.modalService.confirmModal(this.profileDataComponent.profileForm&&(this.profileDataComponent.profileForm.dirty||this.profileDataComponent.saveInProgress)?this.profileDataComponent.isNewProfile?`<p>${this.translate.instant("CLIENT.PROFILE.DATA.WARNINGS.PROFILE_INCOMPLETE")}</p>`:`<p>${this.translate.instant("CLIENT.PROFILE.DATA.WARNINGS.PROFILE_CHANGE_INCOMPLETE")}</p>`:this.billingComponent&&this.billingComponent.billingForm&&(this.billingComponent.billingForm.dirty||this.billingComponent.saveInProgress)?this.billingComponent.hasBilling?`<p>${this.translate.instant("CLIENT.PROFILE.DATA.WARNINGS.BILLING_CHANGE_INCOMPLETE")}</p>`:`<p>${this.translate.instant("CLIENT.PROFILE.DATA.WARNINGS.BILLING_INCOMPLETE")}</p>`:this.invoicingComponent&&this.invoicingComponent.invoicingForm&&(this.invoicingComponent.invoicingForm.dirty||this.invoicingComponent.saveInProgress)?this.invoicingComponent.createdInvoicing?`<p>${this.translate.instant("CLIENT.PROFILE.DATA.WARNINGS.INVOICING_CHANGE_INCOMPLETE")}</p>`:`<p>${this.translate.instant("CLIENT.PROFILE.DATA.WARNINGS.INVOICING_INCOMPLETE")}</p>`:this.lawyerLicenseComponent&&this.lawyerLicenseComponent.licenseForm&&(this.lawyerLicenseComponent.licenseForm.dirty||this.lawyerLicenseComponent.saveInProgress)?this.lawyerLicenseComponent.createdLicense?`<p>${this.translate.instant("LAWYER.PROFILE.DATA.WARNINGS.LICENSE_CHANGE_INCOMPLETE")}</p>`:`<p class="small">${this.translate.instant("LAWYER.PROFILE.DATA.WARNINGS.LICENSE_INCOMPLETE")}</p>`:this.introductionComponent&&this.introductionComponent.introductionForm&&(this.introductionComponent.introductionForm.dirty||this.introductionComponent.saveInProgress)?this.introductionComponent.createdIntroduction?`<p>${this.translate.instant("CLIENT.PROFILE.DATA.WARNINGS.INTRODUCTION_CHANGE_INCOMPLETE")}</p>`:`<p>${this.translate.instant("CLIENT.PROFILE.DATA.WARNINGS.INTRODUCTION_INCOMPLETE")}</p>`:this.matchmakingSettingsComponent&&this.matchmakingSettingsComponent.matchmakingForm&&(this.matchmakingSettingsComponent.matchmakingForm.dirty||this.matchmakingSettingsComponent.saveInProgress)&&!this.matchmakingSettingsComponent.createdMatchmaking?`<p>${this.translate.instant("CLIENT.PROFILE.DATA.WARNINGS.MATCHMAKING_INCOMPLETE")}</p>`:`<p>${this.translate.instant("CLIENT.PROFILE.DATA.WARNINGS.MATCHMAKING_CHANGE_INCOMPLETE")}</p>`).afterClose.toPromise().then(n=>!!n)}setShowPaymentResult(s){this.showPaymentResult=s}triggerTextareaUpdate(){this.textareaUpdateTrigger=Math.random()}};d.\u0275fac=function(s){return new(s||d)(e.Y36(t.gz),e.Y36(t.F0),e.Y36(R.sK),e.Y36(f.EM),e.Y36(S.y),e.Y36(U.P),e.Y36(F.Z),e.Y36(B.K),e.Y36(W.w),e.Y36(Z.t),e.Y36(Q.w),e.Y36(Y.c),e.Y36(J.a),e.Y36(K.jY))},d.\u0275cmp=e.Xpm({type:d,selectors:[["ng-component"]],viewQuery:function(s,n){if(1&s&&(e.Gf(M.$,5),e.Gf(T.F,5),e.Gf(N.Y,5),e.Gf(P.$,5),e.Gf(v.b,5),e.Gf(b.Q,5),e.Gf(L.v,5)),2&s){let _;e.iGM(_=e.CRH())&&(n.profileDataComponent=_.first),e.iGM(_=e.CRH())&&(n.billingComponent=_.first),e.iGM(_=e.CRH())&&(n.invoicingComponent=_.first),e.iGM(_=e.CRH())&&(n.lawyerLicenseComponent=_.first),e.iGM(_=e.CRH())&&(n.introductionComponent=_.first),e.iGM(_=e.CRH())&&(n.matchmakingSettingsComponent=_.first),e.iGM(_=e.CRH())&&(n.tabsetTutorialDirective=_.first)}},decls:35,vars:21,consts:[["tutorialTitle",""],["nz-tooltip","","tabsetTutorial","",1,"profile-tabs-nav","profileTabNav","overflow-visible",3,"nzAnimated","nzSelectedIndex","nzTooltipTitle","nzTooltipTrigger","nzTooltipPlacement","safekeepingStorageKey","nzSelectedIndexChange"],["profileTitle",""],[3,"nzTitle","nzForceRender",4,"ngIf"],[3,"nzTitle",4,"ngIf"],["lawyerLicenseTitle",""],["introductionTitle",""],[3,"nzTitle","nzClick",4,"ngIf"],["invoicingTitle",""],["payoutTitle",""],["matchmakingTitle",""],["subscriptionsTitleTemplate",""],["bundlesTitleTemplate",""],[3,"nzTitle","nzSelect","nzDeselect",4,"ngIf"],[3,"tabsetTutorialDirective","safekeepingStorageKey"],[1,"verificationStepMissing",3,"nzStandalone","nzDot"],[3,"nzTitle","nzForceRender"],[1,"container","containerMobileView"],[3,"hasBilling"],["titleAccount",""],[3,"unverifiedChange"],[3,"nzDot"],[3,"nzTitle"],[1,"feedback-positioning",3,"feature","unit","t
27itle"],[3,"nzTitle","nzClick"],[3,"textareaUpdateTrigger"],[3,"enableTooltip"],[3,"toRefresh"],["class","comingSoonTag",3,"nzColor",4,"ngIf"],[1,"comingSoonTag",3,"nzColor"],[3,"hasBilling","hasPayment"],[3,"startRefreshing"],[3,"nzTitle","nzSelect","nzDeselect"]],template:function(s,n){if(1&s&&(e.TgZ(0,"div"),e.YNc(1,l,1,2,"ng-template",null,0,e.W1O),e.TgZ(3,"nz-tabset",1),e.NdJ("nzSelectedIndexChange",function(u){return n.selectedProfileTabIndex=u})("nzSelectedIndexChange",function(u){return n.routeToTabByIndex(u)}),e.YNc(4,r,2,3,"ng-template",null,2,e.W1O),e.YNc(6,p,3,3,"nz-tab",3),e.YNc(7,rt,5,2,"nz-tab",3),e.YNc(8,_t,6,7,"nz-tab",4),e.YNc(9,lt,2,3,"ng-template",null,5,e.W1O),e.YNc(11,ct,3,1,"nz-tab",4),e.YNc(12,mt,2,3,"ng-template",null,6,e.W1O),e.YNc(14,Tt,3,2,"nz-tab",7),e.YNc(15,pt,2,3,"ng-template",null,8,e.W1O),e.YNc(17,ut,3,2,"nz-tab",4),e.YNc(18,gt,2,3,"ng-template",null,9,e.W1O),e.YNc(20,ft,3,2,"nz-tab",4),e.YNc(21,Et,2,3,"ng-template",null,10,e.W1O),e.YNc(23,dt,3,1,"nz-tab",4),e.YNc(24,Ct,6,9,"nz-tab",3),e.YNc(25,ht,2,2,"ng-template",null,11,e.W1O),e.YNc(27,Mt,3,4,"nz-tab",3),e.YNc(28,Nt,2,2,"ng-template",null,12,e.W1O),e.YNc(30,Pt,3,3,"nz-tab",4),e.YNc(31,vt,3,2,"nz-tab",4),e.YNc(32,Lt,6,8,"nz-tab",4),e.YNc(33,bt,3,1,"nz-tab",4),e.YNc(34,Rt,3,1,"nz-tab",13),e.qZA()()),2&s){const _=e.MAs(2);e.xp6(3),e.Q6J("nzAnimated",!1)("nzSelectedIndex",n.selectedProfileTabIndex)("nzTooltipTitle",_)("nzTooltipTrigger",null)("nzTooltipPlacement","bottomRight")("safekeepingStorageKey","understandProfileTooltip"),e.xp6(3),e.Q6J("ngIf",n.navLinks.get(n.PageRoutes.settingsProfileTab).userTypes.includes(n.userType)),e.xp6(1),e.Q6J("ngIf",n.navLinks.get(n.PageRoutes.settingsAccountTab).userTypes.includes(n.userType)),e.xp6(1),e.Q6J("ngIf",n.navLinks.get(n.PageRoutes.settingsBillingTab).userTypes.includes(n.userType)),e.xp6(3),e.Q6J("ngIf",n.navLinks.get(n.PageRoutes.settingsLicenseTab).userTypes.includes(n.userType)),e.xp6(3),e.Q6J("ngIf",n.navLinks.get(n.PageRoutes.settingsIntroductionTab).userTypes.includes(n.userType)),e.xp6(3),e.Q6J("ngIf",n.navLinks.get(n.PageRoutes.settingsInvoicingTab).userTypes.includes(n.userType)),e.xp6(3),e.Q6J("ngIf",n.EnvironmentService.config.currentPaymentProvider===n.PaymentProvider.Stripe&&n.navLinks.get(n.PageRoutes.settingsPayoutTab).userTypes.includes(n.userType)),e.xp6(3),e.Q6J("ngIf",n.navLinks.get(n.PageRoutes.settingsMatchmakingTab).userTypes.includes(n.userType)),e.xp6(1),e.Q6J("ngIf",n.navLinks.get(n.PageRoutes.settingsPaymentTab).userTypes.includes(n.userType)),e.xp6(3),e.Q6J("ngIf",n.navLinks.get(n.PageRoutes.settingsSubscriptionsTab).userTypes.includes(n.userType)),e.xp6(3),e.Q6J("ngIf",n.navLinks.get(n.PageRoutes.settingsBundlesTab).userTypes.includes(n.userType)),e.xp6(1),e.Q6J("ngIf",n.navLinks.get(n.PageRoutes.settingsInvoicesTab).userTypes.includes(n.userType)&&(n.userService.isClient||!n.navLinks.get(n.PageRoutes.settingsInvoicesTab).needsLawyerVerification||n.lawyerValidationService&&(n.lawyerValidationService.isVerified||!n.lawyerValidationService.isInitialized))),e.xp6(1),e.Q6J("ngIf",n.navLinks.get(n.PageRoutes.settingsOrdersTab).userTypes.includes(n.userType)),e.xp6(1),e.Q6J("ngIf",n.navLinks.get(n.PageRoutes.settingsSocialTab).userTypes.includes(n.userType)),e.xp6(1),e.Q6J("ngIf",n.showPaymentResult&&n.navLinks.get(n.PageRoutes.settingsPaymentResultTab).userTypes.includes(n.userType))}},dependencies:[f.O5,k.X,G.p,L.v,X.x7,V.bd,x.xH,x.xw,w.j,H.SY,T.F,j.l,v.b,$.f,N.Y,P.$,b.Q,q.b,tt.b,et.o,nt.R,it.E,a.O,M.$,m.k,R.X$],styles:['@charset "UTF-8";.brand-success[_ngcontent-%COMP%]{color:#92ddea!important}.brand-failure[_ngcontent-%COMP%]{color:#9579d1!important}.brand-red[_ngcontent-%COMP%]{color:#de4436!important}.brand-success-bg-border[_ngcontent-%COMP%]{background-color:#92ddea!important;border-color:#92ddea!important;color:#fff!important}.brand-failure-bg-border[_ngcontent-%COMP%]{background-color:#ffa5d8!important;border-color:#ffa5d8!important;color:#fff!important}.comingSoonTag[_ngcontent-%COMP%]{position:absolute;top:-15px;right:-20px;z-index:1}.profileTabNav[_ngcontent-%COMP%]     .ant-tabs-nav-wrap{overflow-x:clip!important;overflow-y:visible!important;flex-grow:1;flex-shrink:1;width:0}.profileTabNav[_ngcontent-%COMP%]     .ant-tabs-tab{overflow:visible}.verificationStepMissing[_ngcontent-%COMP%]     .ant-badge-dot{position:absolute!important;top:-7px!important;right:-5px!important}nz-tabset.profile-tabs-nav.profileTabNav[_ngcontent-%COMP%]     .ant-tabs-nav{border-radius:15px!important;margin-bottom:25px!important}']}),d=(0,c.gn)([(0,E.c)({checkProperties:!0})],d)},33588:(at,O,o)=>{o.d(O,{M:()=>it});var c=o(37340),t=o(94650),E=o(24006),h=o(22971),M=o(59166),g=o(36895),T=o(39597),N=o(66616),P=o(47044),v=o(2577),C=o(73679),I=o(36704),A=o(47423),z=o(35635),y=o(58800),L=o(32925),D=o(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 b(a,m){1&a&&(t._UZ(0,"i",6),t._uU(1),t.ALo(2,"translate")),2&a&&(t.xp6(1),t.hij(" ",t.lcZ(2,1,"COMMON.FORM.TAX_NUMBER_FORM.INVALID_TAX_NUMBER"),"\n"))}function e(a,m){if(1&a&&(t.TgZ(0,"div",7),t._UZ(1,"nz-alert",8),t.qZA()),2&a){t.oxw();const l=t.MAs(1);t.Q6J("@inOutAlert",void 0),t.xp6(1),t.Q6J("nzMessage",l)}}function R(a,m){1&a&&(t.TgZ(0,"span",10),t._UZ(1,"br"),t._uU(2),t.ALo(3,"translate"),t.qZA()),2&a&&(t.xp6(2),t.hij(" ",t.lcZ(3,1,"CLIENT.CONTRACTS.FIELD.OPTIONAL")," "))}const f=function(){return{}};function S(a,m){if(1&a&&t.YNc(0,R,4,3,"span",9),2&a){const l=m.controlName,r=t.oxw();t.Q6J("ngIf",!(r.form&&r.form.controls&&r.form.controls[l].validator&&r.form.controls[l].validator(t.DdM(1,f))&&r.form.controls[l].validator(t.DdM(2,f)).required))}}function U(a,m){1&a&&t.GkF(0,18)}function F(a,m){if(1&a){const l=t.EpF();t.TgZ(0,"div",19)(1,"button",20),t.NdJ("click",function(){t.CHM(l);const p=t.oxw(2);return t.KtG(p.switchTaxNumberType(p.TaxNumberType.Other))}),t._uU(2),t.ALo(3,"translate"),t.qZA()()}2&a&&(t.xp6(2),t.hij(" ",t.lcZ(3,1,"COMMON.FORM.TAX_NUMBER_FORM.SWITCH_TO_OTHER")," "))}function B(a,m){1&a&&(t.ynx(0),t._uU(1),t.ALo(2,"translate"),t.BQk()),2&a&&(t.xp6(1),t.hij(" ",t.lcZ(2,1,"COMMON.FORM.TAX_NUMBER_FORM_VALIDATION.TAX_PAYER_ID_COMMUNITY.REQUIRED")," "))}function W(a,m){1&a&&(t.ynx(0),t._uU(1),t.ALo(2,"translate"),t.BQk()),2&a&&(t.xp6(1),t.hij(" ",t.lcZ(2,1,"COMMON.FORM.TAX_NUMBER_FORM_VALIDATION.TAX_PAYER_ID_COMMUNITY.PATTERN")," "))}function Z(a,m){1&a&&(t.ynx(0),t._uU(1),t.ALo(2,"translate"),t.BQk()),2&a&&(t.xp6(1),t.hij(" ",t.lcZ(2,1,"COMMON.FORM.TAX_NUMBER_FORM_VALIDATION.TAX_PAYER_ID_COMMUNITY.COUNTRY_WITH_WRONG_TAX_NUMBER")," "))}function Q(a,m){if(1&a&&(t.YNc(0,B,3,3,"ng-container",5),t.YNc(1,W,3,3,"ng-container",5),t.YNc(2,Z,3,3,"ng-container",5)),2&a){const l=m.$implicit;t.Q6J("ngIf",l.hasError("required")),t.xp6(1),t.Q6J("ngIf",l.hasError("pattern")),t.xp6(1),t.Q6J("ngIf",l.hasError("countryWithWrongTaxNumber"))}}const Y=function(){return{controlName:"communityTaxNumber"}};function J(a,m){if(1&a){const l=t.EpF();t.TgZ(0,"nz-form-item")(1,"nz-form-label",11)(2,"span"),t._uU(3),t.ALo(4,"translate"),t.YNc(5,U,1,0,"ng-container",12),t.qZA()(),t.TgZ(6,"nz-form-control",13)(7,"input",14),t.NdJ("blur",function(){t.CHM(l);const p=t.oxw();return t.KtG(p.save())}),t.ALo(8,"translate"),t.ALo(9,"as"),t.qZA(),t.TgZ(10,"span",10)(11,"span",15),t._uU(12),t.ALo(13,"translate"),t.TgZ(14,"code"),t._uU(15),t.ALo(16,"translate"),t.qZA()()(),t.YNc(17,F,4,3,"div",16),t.YNc(18,Q,3,3,"ng-template",null,17,t.W1O),t.qZA()()}if(2&a){const l=t.MAs(19),r=t.oxw(),p=t.MAs(7);t.xp6(1),t.Q6J("nzLg",6)("nzMd",6)("nzSm",8)("nzXs",24)("nzRequired",r.form&&r.form.controls&&r.form.controls.communityTaxNumber&&r.form.controls.communityTaxNumber.validator&&r.form.controls.communityTaxNumber.validator(t.DdM(29,f))&&r.form.controls.communityTaxNumber.validator(t.DdM(30,f)).required),t.xp6(2),t.hij(" ",t.lcZ(4,18,"COMMON.FORM.TAX_NUMBER_FORM.TAX_PAYER_ID_COMMUNITY")," "),t.xp6(2),t.Q6J("ngTemplateOutlet",p)("ngTemplateOutletContext",t.DdM(31,Y)),t.xp6(1),t.Q6J("nzLg",14)("nzSm",14)("nzXs",24)("nzValidateStatus",r.form.controls.communityTaxNumber)("nzErrorTip",l),t.xp6(1),t.Q6J("placeholder",t.lcZ(8,20,"COMMON.FORM.TAX_NUMBER_FORM.PLACEHOLDER.TAX_PAYER_ID_COMMUNITY"))("formControl",t.xi3(9,22,r.form.controls.communityTaxNumber,r.FormControl)),t.xp6(5),t.hij(" ",t.lcZ(13,25,"COMMON.FORM_HELPER_TEXTS.COMMUNITY_TAX_NUMBER.DESCRIPTION")," "),t.xp6(3),t.hij(" ",t.lcZ(16,27,"COMMON.FORM_HELPER_TEXTS.COMMUNITY_TAX_NUMBER.EXAMPLE")," "),t.xp6(2),t.Q6J("ngIf",r.taxNumber.type===r.TaxNumberType.Community)}}function K(a,m){1&a&&t.GkF(0,18)}function k(a,m){1&a&&(t.ynx(0),t._uU(1),t.ALo(2,"translate"),t.BQk()),2&a&&(t.xp6(1),t.hij(" ",t.lcZ(2,1,"COMMON.FORM.TAX_NUMBER_FORM_VALIDATION.TAX_PAYER_ID_HUNGARIAN.REQUIRED")," "))}function G(a,m){1&a&&(t.ynx(0),t._uU(1),t.ALo(2,"translate"),t.BQk()),2&a&&(t.xp6(1),t.hij(" ",t.lcZ(2,1,"COMMON.FORM.TAX_NUMBER_FORM_VALIDATION.TAX_PAYER_ID_HUNGARIAN.PATTERN")," "))}function X(a,m){1&a&&(t.ynx(0),t._uU(1),t.ALo(2,"translate"),t.BQk()),2&a&&(t.xp6(1),t.hij(" ",t.lcZ(2,1,"COMMON.FORM.TAX_NUMBER_FORM_VALIDATION.TAX_PAYER_ID_COMMUNITY.COUNTRY_WITH_WRONG_TAX_NUMBER")," "))}function V(a,m){if(1&a&&(t.YNc(0,k,3,3,"ng-container",5),t.YNc(1,G,3,3,"ng-container",5),t.YNc(2,X,3,3,"ng-container",5)),2&a){const l=m.$implicit;t.Q6J("ngIf",l.hasError("required")),t.xp6(1),t.Q6J("ngIf",l.hasError("pattern")),t.xp6(1),t.Q6J("ngIf",l.hasError("countryWithWrongTaxNumber"))}}const x=function(){return{controlName:"hungarianTaxNumber"}};function w(a,m){if(1&a){const l=t.EpF();
53t.TgZ(0,"nz-form-item")(1,"nz-form-label",11)(2,"span"),t._uU(3),t.ALo(4,"translate"),t.YNc(5,K,1,0,"ng-container",12),t.qZA()(),t.TgZ(6,"nz-form-control",13)(7,"input",21),t.NdJ("blur",function(){t.CHM(l);const p=t.oxw();return t.KtG(p.save())}),t.ALo(8,"translate"),t.ALo(9,"as"),t.qZA(),t.YNc(10,V,3,3,"ng-template",null,22,t.W1O),t.TgZ(12,"span",10)(13,"span",15),t._uU(14),t.ALo(15,"translate"),t.TgZ(16,"code"),t._uU(17),t.ALo(18,"translate"),t.qZA()()()()()}if(2&a){const l=t.MAs(11),r=t.oxw(),p=t.MAs(7);t.xp6(1),t.Q6J("nzLg",6)("nzMd",6)("nzSm",8)("nzXs",24)("nzRequired",r.form&&r.form.controls&&r.form.controls.hungarianTaxNumber&&r.form.controls.hungarianTaxNumber.validator&&r.form.controls.hungarianTaxNumber.validator(t.DdM(28,f))&&r.form.controls.hungarianTaxNumber.validator(t.DdM(29,f)).required),t.xp6(2),t.hij(" ",t.lcZ(4,17,"COMMON.FORM.TAX_NUMBER_FORM.TAX_PAYER_ID_HUNGARIAN")," "),t.xp6(2),t.Q6J("ngTemplateOutlet",p)("ngTemplateOutletContext",t.DdM(30,x)),t.xp6(1),t.Q6J("nzLg",14)("nzSm",14)("nzXs",24)("nzValidateStatus",r.form.controls.hungarianTaxNumber)("nzErrorTip",l),t.xp6(1),t.Q6J("placeholder",t.lcZ(8,19,"COMMON.FORM.TAX_NUMBER_FORM.PLACEHOLDER.TAX_PAYER_ID_HUNGARIAN"))("formControl",t.xi3(9,21,r.form.controls.hungarianTaxNumber,r.FormControl)),t.xp6(7),t.hij(" ",t.lcZ(15,24,"COMMON.FORM_HELPER_TEXTS.TAX_NUMBER.DESCRIPTION")," "),t.xp6(3),t.hij(" ",t.lcZ(18,26,"COMMON.FORM_HELPER_TEXTS.TAX_NUMBER.EXAMPLE")," ")}}function H(a,m){1&a&&t.GkF(0,18)}function j(a,m){if(1&a){const l=t.EpF();t.TgZ(0,"div",19)(1,"button",20),t.NdJ("click",function(){t.CHM(l);const p=t.oxw(2);return t.KtG(p.switchTaxNumberType(p.TaxNumberType.Community))}),t._uU(2),t.ALo(3,"translate"),t.qZA()()}2&a&&(t.xp6(2),t.hij(" ",t.lcZ(3,1,"COMMON.FORM.TAX_NUMBER_FORM.SWITCH_TO_COMMUNITY")," "))}function $(a,m){1&a&&(t.ynx(0),t._uU(1),t.ALo(2,"translate"),t.BQk()),2&a&&(t.xp6(1),t.hij(" ",t.lcZ(2,1,"COMMON.FORM.TAX_NUMBER_FORM_VALIDATION.TAX_NUMBER.REQUIRED")," "))}function q(a,m){1&a&&(t.ynx(0),t._uU(1),t.ALo(2,"translate"),t.BQk()),2&a&&(t.xp6(1),t.hij(" ",t.lcZ(2,1,"COMMON.FORM.TAX_NUMBER_FORM_VALIDATION.TAX_PAYER_ID_COMMUNITY.COUNTRY_WITH_WRONG_TAX_NUMBER")," "))}function tt(a,m){if(1&a&&(t.YNc(0,$,3,3,"ng-container",5),t.YNc(1,q,3,3,"ng-container",5)),2&a){const l=m.$implicit;t.Q6J("ngIf",l.hasError("required")),t.xp6(1),t.Q6J("ngIf",l.hasError("countryWithWrongTaxNumber"))}}const et=function(){return{controlName:"taxNumber"}};function nt(a,m){if(1&a){const l=t.EpF();t.TgZ(0,"nz-form-item")(1,"nz-form-label",11)(2,"span"),t._uU(3),t.ALo(4,"translate"),t.YNc(5,H,1,0,"ng-container",12),t.qZA()(),t.TgZ(6,"nz-form-control",13)(7,"input",23),t.NdJ("blur",function(){t.CHM(l);const p=t.oxw();return t.KtG(p.save())}),t.ALo(8,"translate"),t.ALo(9,"as"),t.qZA(),t.YNc(10,j,4,3,"div",16),t.YNc(11,tt,2,2,"ng-template",null,24,t.W1O),t.qZA()()}if(2&a){const l=t.MAs(12),r=t.oxw(),p=t.MAs(7);t.xp6(1),t.Q6J("nzLg",6)("nzMd",6)("nzSm",8)("nzXs",24)("nzRequired",r.form&&r.form.controls&&r.form.controls.taxNumber&&r.form.controls.taxNumber.validator&&r.form.controls.taxNumber.validator(t.DdM(23,f))&&r.form.controls.taxNumber.validator(t.DdM(24,f)).required),t.xp6(2),t.hij(" ",t.lcZ(4,16,"COMMON.FORM.TAX_NUMBER_FORM.TAX_NUMBER")," "),t.xp6(2),t.Q6J("ngTemplateOutlet",p)("ngTemplateOutletContext",t.DdM(25,et)),t.xp6(1),t.Q6J("nzLg",14)("nzSm",14)("nzXs",24)("nzValidateStatus",r.form.controls.taxNumber)("nzErrorTip",l),t.xp6(1),t.Q6J("placeholder",t.lcZ(8,18,"COMMON.FORM.TAX_NUMBER_FORM.PLACEHOLDER.TAX_NUMBER"))("formControl",t.xi3(9,20,r.form.controls.taxNumber,r.FormControl)),t.xp6(3),t.Q6J("ngIf",r.isCountryEU)}}let it=(()=>{class a{constructor(){this.saveEmitter=new t.vpe,this.unstickTrigger=new t.vpe,this.switchTaxNumberTypeEmitter=new t.vpe,this.TaxNumberType=h.z4,this.FormControl=E.p4}switchTaxNumberType(l){this.switchTaxNumberTypeEmitter.emit(l)}save(){this.form.controls.hungarianTaxNumber&&this.form.controls.hungarianTaxNumber.value?(this.form.controls.taxPayerID.patchValue(this.form.controls.hungarianTaxNumber.value.split("-")[0]),this.form.controls.vatCode.patchValue(this.form.controls.hungarianTaxNumber.value.split("-")[1]),this.form.controls.countyCode.patchValue(this.form.controls.hungarianTaxNumber.value.split("-")[2])):this.form.controls.communityTaxNumber&&(this.form.controls.communityTaxNumber.value.split(/\d/),this.form.controls.countryCode.patchValue(this.form.controls.communityTaxNumber.value.substring(0,2)),this.form.controls.taxPayerID.patchValue(this.form.controls.communityTaxNumber.value.substring(2))),this.form.valid&&this.form.dirty?this.saveEmitter.emit():this.unstickTrigger.emit()}}return a.\u0275fac=function(l){return new(l||a)},a.\u0275cmp=t.Xpm({type:a,selectors:[["app-tax-number-editor"]],inputs:{form:"form",taxNumber:"taxNumber",isCountryEU:"isCountryEU",title:"title",isTaxNumberInvalid:"isTaxNumberInvalid"},outputs:{saveEmitter:"saveEmitter",unstickTrigger:"unstickTrigger",switchTaxNumberTypeEmitter:"switchTaxNumberTypeEmitter"},decls:12,vars:8,consts:[["alertText",""],["nzOrientation","left",3,"nzText"],[1,"col-12","col-md-7","p-0",3,"innerHTML"],["class","m-b-15",4,"ngIf"],["o
53ptionalLabel",""],[4,"ngIf"],["nz-icon","","nzType","close-circle","nzTheme","outline"],[1,"m-b-15"],["nzType","error",3,"nzMessage"],["class","optionalLabel",4,"ngIf"],[1,"optionalLabel"],[1,"multiLineLabel","p-0",3,"nzLg","nzMd","nzSm","nzXs","nzRequired"],["class","template",4,"ngTemplateOutlet","ngTemplateOutletContext"],[3,"nzLg","nzSm","nzXs","nzValidateStatus","nzErrorTip"],["id","communityTaxNumber","nz-input","","trim","blur",3,"placeholder","formControl","blur"],["nz-typography",""],["class","text-right",4,"ngIf"],["communityTaxNumberErrorTip",""],[1,"template"],[1,"text-right"],["nz-button","","nzType","link",1,"link-like-button",3,"click"],["id","hungarianTaxNumber","nz-input","","trim","blur",3,"placeholder","formControl","blur"],["hungarianTaxNumberErrorTip",""],["id","taxNumber","nz-input","","trim","blur",3,"placeholder","formControl","blur"],["taxNumberErrorTip",""]],template:function(l,r){1&l&&(t.YNc(0,b,3,3,"ng-template",null,0,t.W1O),t._UZ(2,"nz-divider",1)(3,"p",2),t.ALo(4,"translate"),t.YNc(5,e,2,2,"div",3),t.YNc(6,S,1,3,"ng-template",null,4,t.W1O),t.TgZ(8,"div"),t.YNc(9,J,20,32,"nz-form-item",5),t.YNc(10,w,19,31,"nz-form-item",5),t.YNc(11,nt,13,26,"nz-form-item",5),t.qZA()),2&l&&(t.xp6(2),t.Q6J("nzText",r.title),t.xp6(1),t.Q6J("innerHTML",t.lcZ(4,6,"COMMON.FORM.TAX_NUMBER_FORM.DESCRIPTION"),t.oJD),t.xp6(2),t.Q6J("ngIf",r.isTaxNumberInvalid),t.xp6(4),t.Q6J("ngIf",r.taxNumber.type===r.TaxNumberType.Community),t.xp6(1),t.Q6J("ngIf",r.taxNumber.type===r.TaxNumberType.Hungarian),t.xp6(1),t.Q6J("ngIf",r.taxNumber.type===r.TaxNumberType.Other))},dependencies:[E.Fj,E.JJ,M.P,g.O5,g.tP,E.oH,T.r,N.ix,P.w,v.g,C.t3,C.SK,I.Nx,I.iK,I.Fd,A.Ls,z.Zp,y.ZU,L.X$,D.j],styles:['@charset "UTF-8";'],data:{animation:[(0,c.X$)("inOutAlert",[(0,c.eR)(":enter",[(0,c.oB)({opacity:0,height:"0px"}),(0,c.jt)("0.3s ease-out",(0,c.oB)({opacity:1,height:"*"}))]),(0,c.eR)(":leave",[(0,c.oB)({opacity:1,height:"*"}),(0,c.jt)("0.3s ease-in",(0,c.oB)({opacity:0,height:"0px"}))])])]}}),a})()}}]);

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.