PageSourceSearch

https://szerzi.hu/common-f8df4e83.f60e56fe10c42a7a.js

js szerzi.hu collected 2026-10-04 13:25:07 UTC 51,032 bytes, 27 lines download raw bytes

1"use strict";(self.webpackChunkszerzi_front=self.webpackChunkszerzi_front||[]).push([[2701],{31072:(Jn,D,a)=>{a.d(D,{i:()=>M});var x=a(97582),E=a(37340),t=a(94650),L=a(24006),U=a(22971),T=a(44224),N=a(44569),R=a(5963),Z=a(59166),n=a(36895),F=a(75352),y=a(39597),b=a(66616),Q=a(47044),B=a(21811),J=a(2577),v=a(73679),C=a(36704),A=a(47423),Y=a(35635),W=a(6497),w=a(21243),H=a(37570),K=a(58800),j=a(41766),k=a(90877),z=a(32925),g=a(45144);
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 V=["copyTooltip"];function G(i,l){1&i&&(t.TgZ(0,"span"),t._uU(1),t.ALo(2,"translate"),t.qZA()),2&i&&(t.xp6(1),t.Oqu(t.lcZ(2,1,"COMMON.BOOLEAN.NO")))}function S(i,l){1&i&&(t.TgZ(0,"span"),t._uU(1),t.ALo(2,"translate"),t.qZA()),2&i&&(t.xp6(1),t.Oqu(t.lcZ(2,1,"COMMON.BOOLEAN.YES")))}function X(i,l){1&i&&(t.ynx(0),t._uU(1),t.ALo(2,"translate"),t.BQk()),2&i&&(t.xp6(1),t.hij(" ",t.lcZ(2,1,"COMMON.FORM.ISSUER_VALIDATION.CASH_SETTLEMENT.REQUIRED")," "))}function q(i,l){1&i&&t.YNc(0,X,3,3,"ng-container",5),2&i&&t.Q6J("ngIf",l.$implicit.hasError("required"))}const $=function(){return{"max-width":"400px"}};function nn(i,l){if(1&i){const e=t.EpF();t.TgZ(0,"div",32,33),t.ALo(2,"translate"),t.TgZ(3,"button",34),t.NdJ("nzOnConfirm",function(){t.CHM(e);const d=t.oxw();return t.KtG(d.copy())}),t.ALo(4,"translate"),t._uU(5),t.ALo(6,"translate"),t.ALo(7,"translate"),t.qZA()()}if(2&i){const e=t.oxw();t.Q6J("nzTooltipTitle",t.lcZ(2,7,"COMMON.FORM.ISSUER.CHECK_COPY"))("nzTooltipTrigger",null)("nzTooltipPlacement","bottomRight")("nzTooltipVisible",e.copyTooltipVisible),t.xp6(3),t.s9C("nzPopconfirmTitle",t.lcZ(4,9,"COMMON.FORM.COPY_PROFILE_LAWYER")),t.Q6J("nzPopconfirmOverlayStyle",t.DdM(15,$)),t.xp6(2),t.hij(" ",e.hasLicense?t.lcZ(6,11,"COMMON.FORM.SAME_AS_PROFILE_AND_LICENSE_LAWYER"):t.lcZ(7,13,"COMMON.FORM.SAME_AS_PROFILE_LAWYER")," ")}}function tn(i,l){1&i&&(t.TgZ(0,"span",6),t._UZ(1,"br"),t._uU(2),t.ALo(3,"translate"),t.qZA()),2&i&&(t.xp6(2),t.hij(" ",t.lcZ(3,1,"CLIENT.CONTRACTS.FIELD.OPTIONAL")," "))}const u=function(){return{}};function en(i,l){if(1&i&&t.YNc(0,tn,4,3,"span",35),2&i){const e=l.controlName,c=t.oxw();t.Q6J("ngIf",!(c.form&&c.form.controls[e].validator&&c.form.controls[e].validator(t.DdM(1,u))&&c.form.controls[e].validator(t.DdM(2,u)).required))}}function on(i,l){1&i&&t.GkF(0,36)}function rn(i,l){if(1&i&&(t.ynx(0),t._uU(1),t.ALo(2,"translate"),t.ALo(3,"translate"),t.ALo(4,"translate"),t.BQk()),2&i){const e=t.oxw(2);t.xp6(1),t.hij(" ",e.profileType?e.profileType===e.ProfileType.Person?t.lcZ(2,1,"COMMON.FORM.ISSUER_VALIDATION.COMPANY.REQUIRED_LAWYER"):t.lcZ(3,3,"COMMON.FORM.ISSUER_VALIDATION.COMPANY.REQUIRED_FIRM"):t.lcZ(4,5,"COMMON.FORM.ISSUER_VALIDATION.COMPANY.REQUIRED")," ")}}function sn(i,l){1&i&&t.YNc(0,rn,5,7,"ng-container",5),2&i&&t.Q6J("ngIf",l.$implicit.hasError("required"))}function an(i,l){1&i&&t.GkF(0,36)}function ln(i,l){1&i&&(t.ynx(0),t._uU(1),t.ALo(2,"translate"),t.BQk()),2&i&&(t.xp6(1),t.hij(" ",t.lcZ(2,1,"COMMON.FORM.ISSUER_VALIDATION.TAX_NUMBER.REQUIRED")," "))}function _n(i,l){1&i&&(t.ynx(0),t._uU(1),t.ALo(2,"translate"),t.BQk()),2&i&&(t.xp6(1),t.hij(" ",t.lcZ(2,1,"COMMON.FORM.ISSUER_VALIDATION.TAX_NUMBER.INVALID")," "))}function cn(i,l){if(1&i&&(t.YNc(0,ln,3,3,"ng-container",5),t.YNc(1,_n,3,3,"ng-container",5)),2&i){const e=l.$implicit;t.Q6J("ngIf",e.hasError("required")),t.xp6(1),t.Q6J("ngIf",e.hasError("pattern"))}}function mn(i,l){1&i&&t.GkF(0,36)}function pn(i,l){1&i&&(t.ynx(0),t._uU(1),t.ALo(2,"translate"),t.BQk()),2&i&&(t.xp6(1),t.hij(" ",t.lcZ(2,1,"COMMON.FORM.ISSUER_VALIDATION.COMMUNITY_TAX_NUMBER.REQUIRED")," "))}function En(i,l){1&i&&(t.ynx(0),t._uU(1),t.ALo(2,"translate"),t.BQk()),2&i&&(t.xp6(1),t.hij(" ",t.lcZ(2,1,"COMMON.FORM.ISSUER_VALIDATION.COMMUNITY_TAX_NUMBER.INVALID")," "))}function un(i,l){if(1&i&&(t.YNc(0,pn,3,3,"ng-container",5),t.YNc(1,En,3,3,"ng-container",5)),2&i){const e=l.$implicit;t.Q6J("ngIf",e.hasError("required")),t.xp6(1),t.Q6J("ngIf",e.hasError("pattern"))}}function dn(i,l){1&i&&(t._UZ(0,"i",37),t._uU(1),t.ALo(2,"translate")),2&i&&(t.xp6(1),t.hij(" ",t.lcZ(2,1,"COMMON.FORM.TAX_NUMBER_FORM.INVALID_TAX_NUMBER")," "))}function O(i,l){if(1&i&&(t.TgZ(0,"div",38),t._UZ(1,"nz-alert",39),t.qZA()),2&i){t.oxw();const e=t.MAs(83);t.Q6J("@inOutAlert",void 0),t.xp6(1),t.Q6J("nzMessage",e)}}function On(i,l){1&i&&t.GkF(0,36)}function Ln(i,l){1&i&&(t.ynx(0),t._uU(1),t.ALo(2,"translate"),t.BQk()),2&i&&(t.xp6(1),t.hij(" ",t.lcZ(2,1,"COMMON.FORM.ISSUER_VALIDATION.REGISTRATION_NUMBER.REQUIRED")," "))}function Mn(i,l){1&i&&(t.ynx(0),t._uU(1),t.ALo(2,"translate"),t.BQk()),2&i&&(t.xp6(1),t.hij(" ",t.lcZ(2,1,"COMMON.FORM.ISSUER_VALIDATION.REGISTRATION_NUMBER.PATTERN")," "))}function Tn(i,l){if(1&i&&(t.YNc(0,Ln,3,3,"ng-container",5),t.YNc(1,Mn,3,3,"ng-container",5)),2&i){const e=l.$implicit;t.Q6J("ngIf",e.hasError("required")),t.xp6(1),t.Q6J("ngIf",!e.hasError("required")&&e.hasError("pattern"))}}function fn(i,l){1&i&&t.GkF(0,36)}function gn(i,l){1&i&&(t.ynx(0),t._uU(1),t.ALo(2,"translate"),t.BQk()),2&i&&(t.xp6(1),t.hij(" ",t.lcZ(2,1,"COMMON.FORM.ISSUER_VALIDATION.MAIL.REQUIRED")," "))}function Cn(i,l){1&i&&(t.ynx(0),t._uU(1),t.ALo(2,"translate"),t.BQk()),2&i&&(t.xp6(1),t.hij(" ",t.lcZ(2,1,"COMMON.FORM.ISSUER_VALIDATION.MAIL.PATTERN")," "))}function An(i,l){if(1&i&&(t.YNc(0,gn,3,3,"ng-container",5),t.YNc(1,Cn,3,3,"ng-container",5)),2&i){const e=l.$implicit;t.Q6J("ngIf",e.hasError("required")),t.xp6(1),t.Q6J("ngIf",e.hasError("pattern")&&!e.hasError("required"))}}function In(i,l){1&i&&t.GkF(0,36)}function hn(i,l){1&i&&(t.ynx(0),t._uU(1),t.ALo(2,"translate"),t.BQk()),2&i&&(t.xp6(1),t.hij(" ",t.lcZ(2,1,"COMMON.FORM.ISSUER_VALIDATION.PHONE.REQUIRED")," "))}function Nn(i,l){1&i&&(t.ynx(0),t._uU(1),t.ALo(2,"translate"),t.BQk()),2&i&&(t.xp6(1),t.hij(" ",t.lcZ(2,1,"COMMON.FORM.ISSUER_VALIDATION.PHONE.INVALID")," "))}function Rn(i,l){if(1&i&&(t.YNc(0,hn,3,3,"ng-container",5),t.YNc(1,Nn,3,3,"ng-container",5)),2&i){const e=l.$implicit;t.Q6J("ngIf",e.hasError("required")),t.xp6(1),t.Q6J("ngIf",e.hasError("wrongNumber")&&!e.hasError("required"))}}const vn=function(){return["click","keydown.enter"]},zn=function(){return{controlName:"company"}},Sn=function(){return{controlName:"taxNumber"}},Pn=function(){return{controlName:"communityTaxNumber"}},Dn=function(){return{controlName:"registrationNumber"}},xn=function(){return{controlName:"mail"}},Un=function(){return{controlName:"phone"}};let M=class{constructor(l){this.renderer=l,this.copyFromProfile=new t.vpe,this.saveEmitter=new t.vpe,this.unstickTrigger=new t.vpe,this.showTooltip={},this.draggingSwitch={},this.timerSubscriptions={},this.ProfileType=U.pq,this.copyTooltipVisible=!1,this.addedEventListener=!1,this.showCopyTooltipOnReOpen=!1,this.FormControl=L.p4,this.FormGroup=L.nJ}ngOnInit(){this.renderer.listen("window","mouseup",l=>
27{Object.keys(this.draggingSwitch).forEach(c=>{this.draggingSwitch[c]&&(this.draggingSwitch[c]=!1,Date.now()-this.mouseDownDate>300&&(this.setTooltip(!0,c),this.timerSubscriptions[c]=(0,R.H)(5e3).pipe((0,T.t)(this)).subscribe(P=>{this.setTooltip(!1,c)})))})}),this.enableTooltipSubscription=this.enableTooltip.pipe((0,T.t)(this)).subscribe(l=>{l!==N.d.settingsInvoicingTab&&this.copyTooltipVisible?(this.copyTooltipVisible=!1,this.showCopyTooltipOnReOpen=!0):l===N.d.settingsInvoicingTab&&this.showCopyTooltipOnReOpen&&(this.copyTooltipVisible=!0)})}ngAfterViewInit(){window.addEventListener("scroll",l=>this.checkClickTooltip(l))}ngOnDestroy(){window.removeEventListener("scroll",l=>this.checkClickTooltip(l)),this.enableTooltipSubscription.unsubscribe()}save(){this.form.valid&&this.form.dirty?this.saveEmitter.emit():this.unstickTrigger.emit()}copy(){this.copyFromProfile.emit(),this.copyTooltipVisible=!0}switchValue(l){this.form.patchValue({[l]:!(this.form.controls[l]&&this.form.controls[l].value)}),this.form.controls[l].markAsDirty(),this.save()}setTooltip(l,e){setTimeout(()=>this.showTooltip[e]=l,0)}mouseDown(l){this.mouseDownDate=Date.now(),Object.keys(this.draggingSwitch).forEach(c=>{this.draggingSwitch[c]=!1,this.timerSubscriptions[c]&&(this.timerSubscriptions[c].unsubscribe(),this.timerSubscriptions[c]=null),this.setTooltip(!1,c)}),this.draggingSwitch[l]=!0}checkClickTooltip(l){if(this.copyTooltip.length>0&&this.copyTooltipVisible){const e=this.copyTooltip.get(0);if(e){const c=this.copyTooltipVisible,d=e.nativeElement.getBoundingClientRect();this.copyTooltipVisible=window.scrollX<d.top&&d.top<window.innerHeight,c&&!this.copyTooltipVisible&&(this.showCopyTooltipOnReOpen=!1)}}}};M.\u0275fac=function(l){return new(l||M)(t.Y36(t.Qsj))},M.\u0275cmp=t.Xpm({type:M,selectors:[["app-issuer-editor"]],viewQuery:function(l,e){if(1&l&&t.Gf(V,5),2&l){let c;t.iGM(c=t.CRH())&&(e.copyTooltip=c)}},inputs:{enableTooltip:"enableTooltip",hasLicense:"hasLicense",disableSameAsProfile:"disableSameAsProfile",form:"form",issuer:"issuer",profileType:"profileType",allowCopyFromProfile:"allowCopyFromProfile",isTaxNumberInvalid:"isTaxNumberInvalid"},outputs:{copyFromProfile:"copyFromProfile",saveEmitter:"saveEmitter",unstickTrigger:"unstickTrigger"},decls:160,vars:255,consts:[[1,"multiLineLabel","p-0",3,"nzLg","nzMd","nzSm","nzXs","nzRequired"],[3,"nzLg","nzMd","nzSm","nzXs","nzErrorTip"],[1,"text-center"],["id","cashSettlement","nz-tooltip","","nzTooltipPlacement","top","appThrottleEvents","",2,"margin-top","7px",3,"formControl","nzControl","nzTooltipTitle","nzTooltipTrigger","nzTooltipVisible","eventsToThrottle","nzTooltipVisibleChange","throttledHandler","mousedown","dblclick","mouseleave"],[1,"textDiv"],[4,"ngIf"],[1,"optionalLabel"],["cashSettlementErrorTip",""],["class","text-right","nz-tooltip","",3,"nzTooltipTitle","nzTooltipTrigger","nzTooltipPlacement","nzTooltipVisible",4,"ngIf"],["nzOrientation","left",3,"nzText"],["optionalLabel",""],["class","template",4,"ngTemplateOutlet","ngTemplateOutletContext"],[3,"nzLg","nzMd","nzSm","nzXs","nzValidateStatus","nzErrorTip"],["id","company","nz-input","","trim","blur",3,"placeholder","formControl","blur"],["companyErrorTip",""],["id","taxNumber","nz-input","","trim","blur",3,"placeholder","formControl","blur"],["taxNumberErrorTip",""],["nz-typography",""],["id","communityTaxNumber","nz-input","","trim","blur",3,"placeholder","formControl","blur"],["communityTaxNumberErrorTip",""],["alertText",""],["class","m-b-15",4,"ngIf"],["id","registrationNumber","nz-input","","trim","blur",3,"placeholder","formControl","blur"],["registrationNumberErrorTip",""],["id","mail","nz-input","","trim","blur",3,"placeholder","formControl","blur"],["mailErrorTip",""],["id","phone","nz-input","","trim","blur",3,"placeholder","formControl","blur"],["phoneErrorTip",""],[1,"row"],[1,"col-md-12"],[1,"col-md-12","p-h-0",3,"form","address","description","title","saveEmitter"],[1,"col-md-12","p-h-0",3,"form","account","saveEmitter"],["nz-tooltip","",1,"text-right",3,"nzTooltipTitle","nzTooltipTrigger","nzTooltipPlacement","nzTooltipVisible"],["copyTooltip",""],["nz-button","","nzType","primary","nzGhost","","nz-popconfirm","","nzPopconfirmPlacement","bottom",1,"text-right","m-l-5","multiLineButton",3,"nzPopconfirmTitle","nzPopconfirmOverlayStyle","nzOnConfirm"],["class","optionalLabel",4,"ngIf"],[1,"template"],["nz-icon","","nzType","close-circle","nzTheme","outline"],[1,"m-b-15"],["nzType","error",3,"nzMessage"]],template:function(l,e){if(1&l&&(t.TgZ(0,"nz-form-item")(1,"nz-form-label",0)(2,"span"),t._uU(3),t.ALo(4,"translate"),t.qZA()(),t.TgZ(5,"nz-form-control",1)(6,"div",2)(7,"nz-switch",3),t.NdJ("nzTooltipVisibleChange",function(d){return e.showTooltip.cashSettlement=d})("throttledHandler",function(){return e.switchValue("cashSettlement")})("mousedown",function(){return e.mouseDown("cashSettlement")})("dblclick",function(){return e.setTooltip(!0,"cashSettlement")})("mouseleave",function(){return e.setTooltip(!1,"cashSettlement")}),t.ALo(8,"as"),t.ALo(9,"translate"),t.qZA(),t.TgZ(10,"div",4),t.YNc(11,G,3,3,"span",5),t.YNc(12,S,3,3,"span",5),t.qZA()(),t.TgZ(13,"span",6),t._uU(14),t.ALo(15,"translate"),t.qZA(),t.YNc(16,q,1,1,"ng-template",null,7,t.W1O),t.qZA()(),t.YNc(18,nn,8,16,"div",8),t._UZ(19,"nz-divider",9),t.ALo(20,"translate"),t.TgZ(21,"p"),t._uU(22),t.ALo(23,"translate"),t.qZA(),t.YNc(24,en,1,3,"ng-template",null,10,t.W1O),t.TgZ(26,"div")(27,"nz-form-item")(28,"nz-form-label",0)(29,"span"),t._uU(30),t.ALo(31,"translate"),t.ALo(32,"translate"),t.ALo(33,"translate"),t.YNc(34,on,1,0,"ng-container",11),t.qZA()(),t.TgZ(35,"nz-form-control",12)(36,"input",13),t.NdJ("blur",function(){return e.save()}),t.ALo(37,"translate"),t.ALo(38,"as"),t.qZA(),t.YNc(39,sn,1,1,"ng-template",null,14,t.W1O),t.qZA()(),t.TgZ(41,"nz-form-item")(42,"nz-form-label",0)(43,"span"),t._uU(44),t.ALo(45,"translate"),t.YNc(46,an,1,0,"ng-container",11),t.qZA()(),t.TgZ(47,"nz-form-control",12)(48,"input",15),t.NdJ("blur",function(){return e.save()}),t.ALo(49,"translate"),t.ALo(50,"as"),t.qZA(),t.YNc(51,cn,2,2,"ng-template",null,16,t.W1O),t.TgZ(53,"span",6)(54,"span",17),t._uU(55),t.ALo(56,"translate"),t.TgZ(57,"code"),t._uU(58),t.ALo(59,"translate"),t.qZA()()()()(),t.TgZ(60,"nz-form-item")(61,"nz-form-label",0)(62,"span"),t._uU(63),t.ALo(64,"translate"),t.YNc(65,mn,1,0,"ng-container",11),t.qZA()(),t.TgZ(66,"nz-form-control",12)(67,"input",18),t.NdJ("blur",function(){return e.save()}),t.ALo(68,"translate"),t.ALo(69,"as"),t.qZA(),t.YNc(70,un,2,2,"ng-template",null,19,t.W1O),t.TgZ(72,"span",6),t._uU(73),t.ALo(74,"translate"),t._UZ(75,"br"),t.TgZ(76,"span",17),t._uU(77),t.ALo(78,"translate"),t.TgZ(79,"code"),t._uU(80),t.ALo(81,"translate"),t.qZA()()()()(),t.YNc(82,dn,3,3,"ng-template",null,20,t.W1O),t.YNc(84,O,2,2,"div",21),t.TgZ(85,"nz-form-item")(86,"nz-form-label",0)(87,"span"),t._uU(88),t.ALo(89,"translate"),t.YNc(90,On,1,0,"ng-container",11),t.qZA()(),t.TgZ(91,"nz-form-control",12)(92,"input",22),t.NdJ("blur",function(){return e.save()}),t.ALo(93,"translate"),t.ALo(94,"as"),t.qZA(),t.YNc(95,Tn,2,2,"ng-template",null,23,t.W1O),t.TgZ(97,"span",6)(98,"span",17),t._uU(99),t.ALo(100,"translate"),t.TgZ(101,"code"),t._uU(102),t.ALo(103,"translate"),t.qZA()()()()(),t.TgZ(104,"nz-form-item")(105,"nz-form-label",0)(106,"span"),t._uU(107),t.ALo(108,"translate"),t.YNc(109,fn,1,0,"ng-container",11),t.qZA()(),t.TgZ(110,"nz-form-control",12)(111,"input",24),t.NdJ("blur",function(){return e.save()}),t.ALo(112,"translate"),t.ALo(113,"as"),t.qZA(),t.YNc(114,An,2,2,"ng-template",null,25,t.W1O),t.TgZ(116,"span",6),t._uU(117),t.ALo(118,"translate"),t._UZ(119,"br"),t.TgZ(120,"span",17),t._uU(121),t.ALo(122,"translate"),t.TgZ(123,"code"),t._uU(124),t.ALo(125,"translate"),t.qZA()()()()(),t.TgZ(126,"nz-form-item")(127,"nz-form-label",0)(128,"span"),t._uU(129),t.ALo(130,"translate"),t.YNc(131,In,1,0,"ng-container",11),t.qZA()(),t.TgZ(132,"nz-form-control",12)(133,"input",26),t.NdJ("blur",function(){return e.save()}),t.ALo(134,"translate"),t.ALo(135,"as"),t.qZA(),t.YNc(136,Rn,2,2,"ng-template",null,27,t.W1O),t.TgZ(138,"span",6),t._uU(139),t.ALo(140,"translate"),t._UZ(141,"br"),t.TgZ(142,"span",17),t._uU(143),t.ALo(144,"translate"),t.TgZ(145,"code"),t._uU(146),t.ALo(147,"translate"),t.qZA()()()()()(),t.TgZ(148,"div",28)(149,"div",29)(150,"nz-form-item")(151,"app-address-editor",30),t.NdJ("saveEmitter",function(){return e.save()}),t.ALo(152,"as"),t.ALo(153,"translate"),t.ALo(154,"translate"),t.qZA()()()(),t.TgZ(155,"div",28)(156,"div",29)(157,"nz-form-item")(158,"app-bank-account-editor",31),t.NdJ("saveEmitter",function(){return e.save()}),t.ALo(159,"as"),t.qZA()()()()),2&l){const c=t.MAs(17),d=t.MAs(25),P=t.MAs(40),Zn=t.MAs(52),Fn=t.MAs(71),yn=t.MAs(96),bn=t.MAs(115),Qn=t.MAs(137);
27t.xp6(1),t.Q6J("nzLg",6)("nzMd",6)("nzSm",8)("nzXs",24)("nzRequired",e.form&&e.form.controls.cashSettlement&&e.form.controls.cashSettlement.validator&&e.form.controls.cashSettlement.validator(t.DdM(234,u))&&e.form.controls.cashSettlement.validator(t.DdM(235,u)).required),t.xp6(2),t.hij(" ",t.lcZ(4,139,"COMMON.FORM.ISSUER.CASH_SETTLEMENT")," "),t.xp6(2),t.Q6J("nzLg",14)("nzMd",14)("nzSm",12)("nzXs",24)("nzErrorTip",c),t.xp6(2),t.Q6J("formControl",t.xi3(8,141,e.form.controls.cashSettlement,e.FormControl))("nzControl",!0)("nzTooltipTitle",t.lcZ(9,144,"COMMON.FORM.SWITCH.USAGE"))("nzTooltipTrigger",null)("nzTooltipVisible",e.showTooltip.cashSettlement)("eventsToThrottle",t.DdM(236,vn)),t.xp6(4),t.Q6J("ngIf",e.form.controls.cashSettlement&&(!e.form.controls.cashSettlement.value||!1===e.form.controls.cashSettlement.value)),t.xp6(1),t.Q6J("ngIf",e.form.controls.cashSettlement&&!0===e.form.controls.cashSettlement.value),t.xp6(2),t.hij(" ",t.lcZ(15,146,"COMMON.FORM.ISSUER.PLACEHOLDER.CASH_SETTLEMENT_DESC")," "),t.xp6(4),t.Q6J("ngIf",e.allowCopyFromProfile&&!e.disableSameAsProfile),t.xp6(1),t.Q6J("nzText",t.lcZ(20,148,"COMMON.FORM.ISSUER.TITLE")),t.xp6(3),t.hij(" ",t.lcZ(23,150,"COMMON.FORM.ISSUER.DESCRIPTION"),"\n"),t.xp6(6),t.Q6J("nzLg",6)("nzMd",6)("nzSm",8)("nzXs",24)("nzRequired",e.form&&e.form.controls.company&&e.form.controls.company.validator&&e.form.controls.company.validator(t.DdM(237,u))&&e.form.controls.company.validator(t.DdM(238,u)).required),t.xp6(2),t.hij(" ",e.profileType?e.profileType===e.ProfileType.Person?t.lcZ(31,152,"COMMON.FORM.ISSUER.COMPANY_LAWYER"):t.lcZ(32,154,"COMMON.FORM.ISSUER.COMPANY_FIRM"):t.lcZ(33,156,"COMMON.FORM.ISSUER.COMPANY")," "),t.xp6(4),t.Q6J("ngTemplateOutlet",d)("ngTemplateOutletContext",t.DdM(239,zn)),t.xp6(1),t.Q6J("nzLg",14)("nzMd",14)("nzSm",12)("nzXs",24)("nzValidateStatus",e.form.controls.company)("nzErrorTip",P),t.xp6(1),t.Q6J("placeholder",t.lcZ(37,158,"COMMON.FORM.ISSUER.PLACEHOLDER.COMPANY"))("formControl",t.xi3(38,160,e.form.controls.company,e.FormControl)),t.xp6(6),t.Q6J("nzLg",6)("nzMd",6)("nzSm",8)("nzXs",24)("nzRequired",e.form&&e.form.controls.taxNumber&&e.form.controls.taxNumber.validator&&e.form.controls.taxNumber.validator(t.DdM(240,u))&&e.form.controls.taxNumber.validator(t.DdM(241,u)).required),t.xp6(2),t.hij(" ",t.lcZ(45,163,"COMMON.FORM.ISSUER.TAX_NUMBER")," "),t.xp6(2),t.Q6J("ngTemplateOutlet",d)("ngTemplateOutletContext",t.DdM(242,Sn)),t.xp6(1),t.Q6J("nzLg",14)("nzMd",14)("nzSm",12)("nzXs",24)("nzValidateStatus",e.form.controls.taxNumber)("nzErrorTip",Zn),t.xp6(1),t.Q6J("placeholder",t.lcZ(49,165,"COMMON.FORM.ISSUER.PLACEHOLDER.TAX_NUMBER"))("formControl",t.xi3(50,167,e.form.controls.taxNumber,e.FormControl)),t.xp6(7),t.hij(" ",t.lcZ(56,170,"COMMON.FORM.ISSUER.PLACEHOLDER.LONG_DESCRIPTIONS.TAX_NUMBER.DESCRIPTION")," "),t.xp6(3),t.hij(" ",t.lcZ(59,172,"COMMON.FORM.ISSUER.PLACEHOLDER.LONG_DESCRIPTIONS.TAX_NUMBER.EXAMPLE")," "),t.xp6(3),t.Q6J("nzLg",6)("nzMd",6)("nzSm",8)("nzXs",24)("nzRequired",e.form&&e.form.controls.communityTaxNumber&&e.form.controls.communityTaxNumber.validator&&e.form.controls.communityTaxNumber.validator(t.DdM(243,u))&&e.form.controls.communityTaxNumber.validator(t.DdM(244,u)).required),t.xp6(2),t.hij(" ",t.lcZ(64,174,"COMMON.FORM.ISSUER.COMMUNITY_TAX_NUMBER")," "),t.xp6(2),t.Q6J("ngTemplateOutlet",d)("ngTemplateOutletContext",t.DdM(245,Pn)),t.xp6(1),t.Q6J("nzLg",14)("nzMd",14)("nzSm",12)("nzXs",24)("nzValidateStatus",e.form.controls.communityTaxNumber)("nzErrorTip",Fn),t.xp6(1),t.Q6J("placeholder",t.lcZ(68,176,"COMMON.FORM.ISSUER.PLACEHOLDER.COMMUNITY_TAX_NUMBER"))("formControl",t.xi3(69,178,e.form.controls.communityTaxNumber,e.FormControl)),t.xp6(6),t.hij(" ",t.lcZ(74,181,"COMMON.FORM.ISSUER.PLACEHOLDER.COMMUNITY_TAX_NUMBER_DESC")," "),t.xp6(4),t.hij(" ",t.lcZ(78,183,"COMMON.FORM.ISSUER.PLACEHOLDER.LONG_DESCRIPTIONS.COMMUNITY_TAX_NUMBER.DESCRIPTION")," "),t.xp6(3),t.hij(" ",t.lcZ(81,185,"COMMON.FORM.ISSUER.PLACEHOLDER.LONG_DESCRIPTIONS.COMMUNITY_TAX_NUMBER.EXAMPLE")," "),t.xp6(4),t.Q6J("ngIf",e.isTaxNumberInvalid),t.xp6(2),t.Q6J("nzLg",6)("nzMd",6)("nzSm",8)("nzXs",24)("nzRequired",e.form&&e.form.controls.registrationNumber&&e.form.controls.registrationNumber.validator&&e.form.controls.registrationNumber.validator(t.DdM(246,u))&&e.form.controls.registrationNumber.validator(t.DdM(247,u)).required),t.xp6(2),t.hij(" ",t.lcZ(89,187,"COMMON.FORM.ISSUER.REGISTRATION_NUMBER")," "),t.xp6(2),t.Q6J("ngTemplateOutlet",d)("ngTemplateOutletContext",t.DdM(248,Dn)),t.xp6(1),t.Q6J("nzLg",14)("nzMd",14)("nzSm",12)("nzXs",24)("nzValidateStatus",e.form.controls.registrationNumber)("nzErrorTip",yn),t.xp6(1),t.Q6J("placeholder",t.lcZ(93,189,"COMMON.FORM.ISSUER.PLACEHOLDER.REGISTRATION_NUMBER"))("formControl",t.xi3(94,191,e.form.controls.registrationNumber,e.FormControl)),t.xp6(7),t.hij(" ",t.lcZ(100,194,"COMMON.FORM.ISSUER.PLACEHOLDER.LONG_DESCRIPTIONS.REGISTRATION_NUMBER.DESCRIPTION")," "),t.xp6(3),t.hij(" ",t.lcZ(103,196,"COMMON.FORM.ISSUER.PLACEHOLDER.LONG_DESCRIPTIONS.REGISTRATION_NUMBER.EXAMPLE")," "),t.xp6(3),t.Q6J("nzLg",6)("nzMd",6)("nzSm",8)("nzXs",24)("nzRequired",e.form&&e.form.controls.mail&&e.form.controls.mail.validator&&e.form.controls.mail.validator(t.DdM(249,u))&&e.form.controls.mail.validator(t.DdM(250,u)).required),t.xp6(2),t.hij(" ",t.lcZ(108,198,"COMMON.FORM.ISSUER.MAIL")," "),t.xp6(2),t.Q6J("ngTemplateOutlet",d)("ngTemplateOutletContext",t.DdM(251,xn)),t.xp6(1),t.Q6J("nzLg",14)("nzMd",14)("nzSm",12)("nzXs",24)("nzValidateStatus",e.form.controls.mail)("nzErrorTip",bn),t.xp6(1),t.Q6J("placeholder",t.lcZ(112,200,"COMMON.FORM.ISSUER.PLACEHOLDER.MAIL"))("formControl",t.xi3(113,202,e.form.controls.mail,e.FormControl)),t.xp6(6),t.hij(" ",t.lcZ(118,205,"COMMON.FORM.ISSUER.PLACEHOLDER.MAIL_DESC")," "),t.xp6(4),t.hij(" ",t.lcZ(122,207,"COMMON.FORM.ISSUER.PLACEHOLDER.LONG_DESCRIPTIONS.MAIL.DESCRIPTION")," "),t.xp6(3),t.hij(" ",t.lcZ(125,209,"COMMON.FORM.ISSUER.PLACEHOLDER.LONG_DESCRIPTIONS.MAIL.EXAMPLE")," "),t.xp6(3),t.Q6J("nzLg",6)("nzMd",6)("nzSm",8)("nzXs",24)("nzRequired",e.form&&e.form.controls.phone&&e.form.controls.phone.validator&&e.form.controls.phone.validator(t.DdM(252,u))&&e.form.controls.phone.validator(t.DdM(253,u)).required),t.xp6(2),t.hij(" ",t.lcZ(130,211,"COMMON.FORM.ISSUER.PHONE")," "),t.xp6(2),t.Q6J("ngTemplateOutlet",d)("ngTemplateOutletContext",t.DdM(254,Un)),t.xp6(1),t.Q6J("nzLg",14)("nzMd",14)("nzSm",12)("nzXs",24)("nzValidateStatus",e.form.controls.phone)("nzErrorTip",Qn),t.xp6(1),t.Q6J("placeholder",t.lcZ(134,213,"COMMON.FORM.ISSUER.PLACEHOLDER.PHONE"))("formControl",t.xi3(135,215,e.form.controls.phone,e.FormControl)),t.xp6(6),t.hij(" ",t.lcZ(140,218,"COMMON.FORM.ISSUER.PLACEHOLDER.PHONE_DESC")," "),t.xp6(4),t.hij(" ",t.lcZ(144,220,"COMMON.FORM.ISSUER.PLACEHOLDER.LONG_DESCRIPTIONS.PHONE.DESCRIPTION")," "),t.xp6(3),t.hij(" ",t.lcZ(147,222,"COMMON.FORM.ISSUER.PLACEHOLDER.LONG_DESCRIPTIONS.PHONE.EXAMPLE")," "),t.xp6(5),t.Q6J("form",t.xi3(152,224,e.form.controls.address,e.FormGroup))("address",e.issuer.address)("description",t.lcZ(1
2753,227,"COMMON.FORM.ADDRESS.DESCRIPTION_INVOICING"))("title",t.lcZ(154,229,"COMMON.FORM.ADDRESS.TITLE_INVOICING")),t.xp6(7),t.Q6J("form",t.xi3(159,231,e.form.controls.account,e.FormGroup))("account",e.issuer.account)}},dependencies:[L.Fj,L.JJ,Z.P,n.O5,n.tP,L.oH,F.w,y.r,b.ix,Q.w,B.dQ,J.g,v.t3,v.SK,C.Nx,C.iK,C.Fd,A.Ls,Y.Zp,W.JW,w.i,H.SY,K.ZU,j.w,k.Y,z.X$,g.j],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}.patternRequirement[_ngcontent-%COMP%]{color:#53535f!important}'],data:{animation:[(0,E.X$)("inOutAlert",[(0,E.eR)(":enter",[(0,E.oB)({opacity:0,height:"0px"}),(0,E.jt)("0.3s ease-out",(0,E.oB)({opacity:1,height:"*"}))]),(0,E.eR)(":leave",[(0,E.oB)({opacity:1,height:"*"}),(0,E.jt)("0.3s ease-in",(0,E.oB)({opacity:0,height:"0px"}))])])]}}),M=(0,x.gn)([(0,T.c)()],M)},7500:(Jn,D,a)=>{a.d(D,{$:()=>f});var x=a(97582),E=a(24006),t=a(92961),L=a(71997),U=a(44569),T=a(44224),N=a(52835),R=a(36057),Z=a(22971),n=a(94650),F=a(50211),y=a(75489),b=a(87689),Q=a(54584),B=a(39889),J=a(55089),v=a(31494),C=a(59166),A=a(36895),Y=a(47216),W=a(66616),w=a(47044),H=a(21811),K=a(51971),j=a(4788),k=a(2577),z=a(73679),g=a(36704),V=a(47423),G=a(35635),S=a(20545),X=a(58800),q=a(1301),$=a(61350),nn=a(76038),tn=a(32925),u=a(45144),en=a(81801);const on=["licenseFormElement"];function rn(o,r){1&o&&(n.TgZ(0,"div",9)(1,"div",10),n._UZ(2,"nz-skeleton-element",11)(3,"nz-skeleton-element",12)(4,"nz-skeleton-element",13),n.qZA()()),2&o&&(n.Q6J("@skeletonPosAbsLeave",void 0),n.xp6(2),n.Q6J("nzActive",!0),n.xp6(1),n.Q6J("nzActive",!0),n.xp6(1),n.Q6J("nzActive",!0))}function sn(o,r){1&o&&(n.TgZ(0,"div")(1,"p",14),n._uU(2),n.ALo(3,"translate"),n.qZA()()),2&o&&(n.xp6(2),n.hij(" ",n.lcZ(3,1,"LAWYER.PROFILE.LICENSE.DATA_PROTECTION.LOAD_FAILED")," "))}function an(o,r){if(1&o&&(n.ynx(0),n._UZ(1,"app-data-protection",15),n.BQk()),2&o){const s=n.oxw(2);n.xp6(1),n.Q6J("has",s.hasDataProtection)("@skeletonPosAbsLeave",void 0)}}function ln(o,r){if(1&o&&(n.ynx(0),n.YNc(1,rn,5,4,"div",8),n.YNc(2,sn,4,3,"div",2),n.YNc(3,an,2,2,"ng-container",2),n.BQk()),2&o){const s=n.oxw();n.xp6(1),n.Q6J("ngIf",s.isDataProtectionLoading),n.xp6(1),n.Q6J("ngIf",!s.isDataProtectionLoading&&s.dataProtectionLoadingFailed),n.xp6(1),n.Q6J("ngIf",!s.isDataProtectionLoading&&!s.dataProtectionLoadingFailed)}}function _n(o,r){1&o&&(n.TgZ(0,"div",25)(1,"div",26),n._UZ(2,"nz-skeleton-element",27),n.qZA(),n.TgZ(3,"div",28),n._UZ(4,"nz-skeleton-element",29),n.qZA()()),2&o&&(n.Q6J("@skeletonPosAbsLeave",void 0),n.xp6(2),n.Q6J("nzActive",!0),n.xp6(2),n.Q6J("nzActive",!0))}function cn(o,r){1&o&&n._UZ(0,"nz-skeleton-element",30),2&o&&n.Q6J("nzActive",!0)}function mn(o,r){1&o&&(n.TgZ(0,"div",25)(1,"div",26),n._UZ(2,"nz-skeleton-element",27),n.qZA(),n.TgZ(3,"div",28),n._UZ(4,"nz-skeleton-element",29),n.qZA()()),2&o&&(n.Q6J("@skeletonPosAbsLeave",void 0),n.xp6(2),n.Q6J("nzActive",!0),n.xp6(2),n.Q6J("nzActive",!0))}function pn(o,r){if(1&o&&(n.TgZ(0,"div",16),n._UZ(1,"nz-skeleton-element",17)(2,"nz-skeleton-element",18)(3,"nz-skeleton-element",19),n.TgZ(4,"div",20),n.YNc(5,_n,5,3,"div",21),n.ALo(6,"numberArray"),n.YNc(7,cn,1,1,"ng-template",null,22,n.W1O),n._UZ(9,"nz-divider",23)(10,"nz-skeleton-element",18)(11,"nz-skeleton-element",24),n.YNc(12,mn,5,3,"div",21),n.ALo(13,"numberArray"),n.qZA()()),2&o){const s=n.MAs(8);n.xp6(1),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(6,8,4)),n.xp6(4),n.Q6J("nzText",s),n.xp6(1),n.Q6J("nzActive",!0),n.xp6(1),n.Q6J("nzActive",!0),n.xp6(1),n.Q6J("ngForOf",n.lcZ(13,10,2))}}function En(o,r){1&o&&(n.TgZ(0,"div",31)(1,"h5"),n._uU(2),n.ALo(3,"translate"),n.qZA(),n.TgZ(4,"p"),n._uU(5),n.ALo(6,"translate"),n.qZA()()),2&o&&(n.Q6J("@skeletonPosAbsLeave",void 0),n.xp6(2),n.hij(" ",n.lcZ(3,3,"LAWYER.PROFILE.LICENSE.TITLE")," "),n.xp6(3),n.hij(" ",n.lcZ(6,5,"LAWYER.PROFILE.LICENSE.DESC")," "))}function un(o,r){1&o&&(n.TgZ(0,"div")(1,"p",14),n._uU(2),n.ALo(3,"translate"),n.qZA()()),2&o&&(n.xp6(2),n.hij(" ",n.lcZ(3,1,"LAWYER.PROFILE.LICENSE.LOAD_FAILED")," "))}function dn(o,r){1&o&&(n.TgZ(0,"span",33),n._UZ(1,"br"),n._uU(2),n.ALo(3,"translate"),n.qZA()),2&o&&(n.xp6(2),n.hij(" ",n.lcZ(3,1,"CLIENT.CONTRACTS.FIELD.OPTIONAL")," "))}const O=function(){return{}};function On(o,r){if(1&o&&n.YNc(0,dn,4,3,"span",32),2&o){const s=r.controlName,p=n.oxw();n.Q6J("ngIf",!(p.licenseForm&&p.licenseForm.controls[s]&&p.licenseForm.controls[s].validator&&p.licenseForm.controls[s].validator(n.DdM(1,O))&&p.licenseForm.controls[s].validator(n.DdM(2,O)).required))}}function Ln(o,r){1&o&&(n.TgZ(0,"span"),n._uU(1),n.ALo(2,"translate"),n.qZA()),2&o&&(n.xp6(1),n.Oqu(n.lcZ(2,1,"COMMON.FORM.LAWYER_LICENSE.PROFILE_WARNING")))}function Mn(o,r){if(1&o){const s=n.EpF();
27n.TgZ(0,"button",38),n.NdJ("click",function(){n.CHM(s);const m=n.oxw(3);return n.KtG(m.routerService.routeToSettingsTab(m.PageRoutes.settingsProfileTab))}),n._uU(1),n.ALo(2,"translate"),n.qZA()}2&o&&(n.xp6(1),n.hij(" ",n.lcZ(2,1,"COMMON.FORM.LAWYER_LICENSE.SET_UP_PROFILE")," "))}function Tn(o,r){if(1&o&&(n.TgZ(0,"nz-empty",35),n.YNc(1,Ln,3,3,"ng-template",null,36,n.W1O),n.YNc(3,Mn,3,3,"ng-template",null,37,n.W1O),n.qZA()),2&o){const s=n.MAs(2),p=n.MAs(4);n.Q6J("nzNotFoundImage","assets/images/empty-icon.svg")("nzNotFoundContent",s)("nzNotFoundFooter",p)}}function fn(o,r){1&o&&n.GkF(0,62)}function gn(o,r){1&o&&(n.ynx(0),n._uU(1),n.ALo(2,"translate"),n.BQk()),2&o&&(n.xp6(1),n.hij(" ",n.lcZ(2,1,"COMMON.FORM.LAWYER_LICENSE_VALIDATION.CHAMBER_IDENTIFIER.REQUIRED")," "))}function Cn(o,r){1&o&&(n.ynx(0),n._uU(1),n.ALo(2,"translate"),n.BQk()),2&o&&(n.xp6(1),n.hij(" ",n.lcZ(2,1,"COMMON.FORM.LAWYER_LICENSE_VALIDATION.CHAMBER_IDENTIFIER.LENGTH")," "))}function An(o,r){if(1&o&&(n.YNc(0,gn,3,3,"ng-container",2),n.YNc(1,Cn,3,3,"ng-container",2)),2&o){const s=r.$implicit;n.Q6J("ngIf",s.hasError("required")),n.xp6(1),n.Q6J("ngIf",s.hasError("pattern")&&!s.hasError("required"))}}function In(o,r){1&o&&n.GkF(0,62)}function hn(o,r){1&o&&(n.ynx(0),n._uU(1),n.ALo(2,"translate"),n.BQk()),2&o&&(n.xp6(1),n.hij(" ",n.lcZ(2,1,"COMMON.FORM.LAWYER_LICENSE_VALIDATION.CHAMBER_NUMBER.REQUIRED")," "))}function Nn(o,r){1&o&&(n.ynx(0),n._uU(1),n.ALo(2,"translate"),n.BQk()),2&o&&(n.xp6(1),n.hij(" ",n.lcZ(2,1,"COMMON.FORM.LAWYER_LICENSE_VALIDATION.CHAMBER_NUMBER.PATTERN")," "))}function Rn(o,r){if(1&o&&(n.YNc(0,hn,3,3,"ng-container",2),n.YNc(1,Nn,3,3,"ng-container",2)),2&o){const s=r.$implicit;n.Q6J("ngIf",s.hasError("required")),n.xp6(1),n.Q6J("ngIf",!s.hasError("required")&&s.hasError("pattern"))}}function vn(o,r){1&o&&n.GkF(0,62)}function zn(o,r){1&o&&(n.ynx(0),n._uU(1),n.ALo(2,"translate"),n.BQk()),2&o&&(n.xp6(1),n.hij(" ",n.lcZ(2,1,"COMMON.FORM.LAWYER_LICENSE_VALIDATION.PHONE.REQUIRED")," "))}function Sn(o,r){1&o&&(n.ynx(0),n._uU(1),n.ALo(2,"translate"),n.BQk()),2&o&&(n.xp6(1),n.hij(" ",n.lcZ(2,1,"COMMON.FORM.LAWYER_LICENSE_VALIDATION.PHONE.INVALID")," "))}function Pn(o,r){if(1&o&&(n.YNc(0,zn,3,3,"ng-container",2),n.YNc(1,Sn,3,3,"ng-container",2)),2&o){const s=r.$implicit;n.Q6J("ngIf",s.hasError("required")),n.xp6(1),n.Q6J("ngIf",s.hasError("wrongNumber")&&!s.hasError("required"))}}function Dn(o,r){1&o&&n.GkF(0,62)}function xn(o,r){1&o&&(n.ynx(0),n._uU(1),n.ALo(2,"translate"),n.BQk()),2&o&&(n.xp6(1),n.hij(" ",n.lcZ(2,1,"COMMON.FORM.LAWYER_LICENSE_VALIDATION.TAX_NUMBER.REQUIRED")," "))}function Un(o,r){1&o&&(n.ynx(0),n._uU(1),n.ALo(2,"translate"),n.BQk()),2&o&&(n.xp6(1),n.hij(" ",n.lcZ(2,1,"COMMON.FORM.LAWYER_LICENSE_VALIDATION.TAX_NUMBER.INVALID")," "))}function M(o,r){if(1&o&&(n.YNc(0,xn,3,3,"ng-container",2),n.YNc(1,Un,3,3,"ng-container",2)),2&o){const s=r.$implicit;n.Q6J("ngIf",s.hasError("required")),n.xp6(1),n.Q6J("ngIf",s.hasError("pattern"))}}function i(o,r){1&o&&n.GkF(0,62)}function l(o,r){1&o&&(n.ynx(0),n._uU(1),n.ALo(2,"translate"),n.BQk()),2&o&&(n.xp6(1),n.hij(" ",n.lcZ(2,1,"COMMON.FORM.LAWYER_LICENSE_VALIDATION.IDENTITY_NUMBER.REQUIRED")," "))}function e(o,r){1&o&&n.YNc(0,l,3,3,"ng-container",2),2&o&&n.Q6J("ngIf",r.$implicit.hasError("required"))}const c=function(){return{controlName:"chamberIdentifier"}},d=function(){return{controlName:"chamberNumber"}},P=function(){return{controlName:"phone"}},Zn=function(){return{controlName:"taxNumber"}},Fn=function(){return{controlName:"identityNumber"}};function yn(o,r){if(1&o){const s=n.EpF();n.TgZ(0,"form",41,42),n.NdJ("keydown.enter",function(m){n.CHM(s);const I=n.oxw(3);return n.KtG(I.formService.triggerAutoSubmitWithEnter(m))}),n.TgZ(2,"nz-form-item")(3,"nz-form-label",43)(4,"span"),n._uU(5),n.ALo(6,"translate"),n.TgZ(7,"span",33),n._UZ(8,"br"),n._uU(9),n.ALo(10,"translate"),n.qZA(),n.YNc(11,fn,1,0,"ng-container",44),n.qZA()(),n.TgZ(12,"nz-form-control",45)(13,"input",46),n.NdJ("blur",function(){n.CHM(s);const m=n.oxw(3);return n.KtG(m.saveLicenseWithButton())}),n.ALo(14,"translate"),n.ALo(15,"as"),n.qZA(),n.YNc(16,An,2,2,"ng-template",null,47,n.W1O),n.TgZ(18,"span",33)(19,"span",48),n._uU(20),n.ALo(21,"translate"),n.TgZ(22,"code"),n._uU(23),n.ALo(24,"translate"),n.qZA()()()()(),n.TgZ(25,"nz-form-item")(26,"nz-form-label",43)(27,"span"),n._uU(28),n.ALo(29,"translate"),n.YNc(30,In,1,0,"ng-container",44),n.qZA()(),n.TgZ(31,"nz-form-control",45)(32,"input",49),n.NdJ("blur",function(){n.CHM(s);const m=n.oxw(3);return n.KtG(m.saveLicenseWithButton())}),n.ALo(33,"translate"),n.ALo(34,"as"),n.qZA(),n.YNc(35,Rn,2,2,"ng-template",null,50,n.W1O),n.TgZ(37,"span",33)(38,"span",48),n._uU(39),n.ALo(40,"translate"),n.TgZ(41,"code"),n._uU(42),n.ALo(43,"translate"),n.qZA()()()()(),n.TgZ(44,"nz-form-item")(45,"nz-form-label",43)(46,"span"),n._uU(47),n.ALo(48,"translate"),n.YNc(49,vn,1,0,"ng-container",44),n.qZA()(),n.TgZ(50,"nz-form-control",45)(51,"input",51),n.NdJ("blur",function(){n.CHM(s);const m=n.oxw(3);return n.KtG(m.saveLicenseWithButton())}),n.ALo(52,"translate"),n.ALo(53,"as"),n.qZA(),n.YNc(54,Pn,2,2,"ng-template",null,52,n.W1O),n.TgZ(56,"span",33)(57,"span",48),n._uU(58),n.ALo(59,"translate"),n.TgZ(60,"code"),n._uU(61),n.ALo(62,"translate"),n.qZA()(),n.TgZ(63,"div",53),n._UZ(64,"i",54),n._uU(65),n.ALo(66,"translate"),n.qZA()()()(),n.TgZ(67,"nz-form-item")(68,"nz-form-label",43)(69,"span"),n._uU(70),n.ALo(71,"translate"),n.YNc(72,Dn,1,0,"ng-container",44),n.qZA()(),n.TgZ(73,"nz-form-control",45)(74,"input",55),n.NdJ("blur",function(){n.CHM(s);const m=n.oxw(3);return n.KtG(m.saveLicenseWithButton())}),n.ALo(75,"translate"),n.ALo(76,"as"),n.qZA(),n.YNc(77,M,2,2,"ng-template",null,56,n.W1O),n.TgZ(79,"span",33)(80,"span",48),n._uU(81),n.ALo(82,"translate"),n.TgZ(83,"code"),n._uU(84),n.ALo(85,"translate"),n.qZA()()()()(),n.TgZ(86,"nz-form-item")(87,"nz-form-label",43)(88,"span"),n._uU(89),n.ALo(90,"translate"),n.YNc(91,i,1,0,"ng-container",44),n.qZA()(),n.TgZ(92,"nz-form-control",45)(93,"input",57),n.NdJ("blur",function(){n.CHM(s);const m=n.oxw(3);return n.KtG(m.saveLicenseWithButton())}),n.ALo(94,"translate"),n.ALo(95,"as"),n.qZA(),n.YNc(96,e,1,1,"ng-template",null,58,n.W1O),n.qZA()(),n.TgZ(98,"div",59)(99,"div",60)(100,"nz-form-item")(101,"app-insurance",61),n.NdJ("saveEmitter",function(){n.CHM(s);const m=n.oxw(3);return n.KtG(m.saveLicenseWithButton())})("unstickTrigger",function(){n.CHM(s);const m=n.oxw(3);return n.KtG(m.updateUnstickTrigger())}),n.ALo(102,"as"),n.qZA()()()()()}if(2&o){const s=n.MAs(17),p=n.MAs(36),m=n.MAs(55),I=n.MAs(78),Bn=n.MAs(97),_=n.oxw(3),h=n.MAs(9);n.Q6J("formGroup",_.licenseForm),n.xp6(3),n.Q6J("nzLg",6)("nzMd",6)("nzSm",8)("nzXs",24)("nzRequired",_.licenseForm&&_.licenseForm.controls.chamberIdentifier&&_.licenseForm.controls.chamberIdentifier.validator&&_.licenseForm.controls.chamberIdentifier.validator(n.DdM(151,O))&&_.licenseForm.controls.chamberIdentifier.validator(n.DdM(152,O)).required),n.xp6(2),n.hij(" ",n.lcZ(6,93,"COMMON.FORM.LAWYER_LICENSE.CHAMBER_IDENTIFIER")," "),n.xp6(4),n.hij(" (",n.lcZ(10,95,"COMMON.FORM.LAWYER_LICENSE.CHAMBER_IDENTIFIER_SHORT"),") "),n.xp6(2),n.Q6J("ngTemplateOutlet",h)("ngTemplateOutletContext",n.DdM(153,c)),n.xp6(1),n.Q6J("nzLg",14)("nzMd",14)("nzSm",12)("nzXs",24)("nzValidateStatus",_.licenseForm.controls.chamberIdentifier)("nzErrorTip",s),n.xp6(1),n.Q6J("placeholder",n.lcZ(14,97,"COMMON.FORM.LAWYER_LICENSE.PLACEHOLDER.CHAMBER_IDENTIFIER"))("formControl",n.xi3(15,99,_.licenseForm.controls.chamberIdentifier,_.FormControl)),n.xp6(7),n.hij(" ",n.lcZ(21,102,"COMMON.FORM.LAWYER_LICENSE.PLACEHOLDER.LONG_DESCRIPTIONS.CHAMBER_IDENTIFIER.DESCRIPTION")," "),n.xp6(3),n.hij(" ",n.lcZ(24,104,"COMMON.FORM.LAWYER_LICENSE.PLACEHOLDER.LONG_DESCRIPTIONS.CHAMBER_IDENTIFIER.EXAMPLE")," "),n.xp6(3),n.Q6J("nzLg",6)("nzMd",6)("nzSm",8)("nzXs",24)("nzRequired",_.licenseForm&&_.licenseForm.controls.chamberNumber&&_.licenseForm.controls.chamberNumber.validator&&_.licenseForm.controls.chamberNumber.validator(n.DdM(154,O))&&_.licenseForm.controls.chamberNumber.validator(n.DdM(155,O)).required),n.xp6(2),n.hij(" ",n.lcZ(29,106,"COMMON.FORM.LAWYER_LICENSE.CHAMBER_NUMBER")," "),n.xp6(2),n.Q6J("ngTemplateOutlet",h)("ngTemplateOutletContext",n.DdM(156,d)),n.xp6(1),n.Q6J("nzLg",14)("nzMd",14)("nzSm",12)("nzXs",24)("nzValidateStatus",_.licenseForm.controls.chamberNumber)("nzErrorTip",p),n.xp6(1),n.Q6J("placeholder",n.lcZ(33,108,"COMMON.FORM.LAWYER_LICENSE.PLACEHOLDER.CHAMBER_NUMBER"))("formControl",n.xi3(34,110,_.licenseForm.controls.chamberNumber,_.FormControl)),n.xp6(7),n.hij(" ",n.lcZ(40,113,"COMMON.FORM.LAWYER_LICENSE.PLACEHOLDER.LONG_DESCRIPTIONS.CHAMBER_NUMBER.DESCRIPTION")," "),n.xp6(3),n.hij(" ",n.lcZ(43,115,"COMMON.FORM.LAWYER_LICENSE.PLACEHOLDER.LONG_DESCRIPTIONS.CHAMBER_NUMBER.EXAMPLE")," "),n.xp6(3),n.Q6J("nzLg",6)("nzMd",6)("nzSm",8)("nzXs",24)("nzRequired",_.licenseForm&&_.licenseForm.controls.phone&&_.licenseForm.controls.phone.validator&&_.licenseForm.controls.phone.validator(n.DdM(157,O))&&_.licenseForm.controls.phone.validator(n.DdM(158,O)).required),n.xp6(2),n.hij(" ",n.lcZ(48,117,"COMMON.FORM.LAWYER_LICENSE.PHONE")," "),n.xp6(2),n.Q6J("ngTemplateOutlet",h)("ngTemplateOutletContext",n.DdM(159,P)),n.xp6(1),n.Q6J("nzLg",14)("nzMd",14)("nzSm",12)("nzXs",24)("nzValidateStatus",_.licenseForm.controls.phone)("nzErrorTip",m),n.xp6(1),n.Q6J("placeholder",n.lcZ(52,119,"COMMON.FORM.LAWYER_LICENSE.PLACEHOLDER.PHONE"))("formControl",n.xi3(53,121,_.licenseForm.controls.phone,_.FormControl)),n.xp6(7),n.hij(" ",n.lcZ(59,124,"COMMON.FORM.LAWYER_LICENSE.PLACEHOLDER.LONG_DESCRIPTIONS.PHONE.DESCRIPTION")," "),n.xp6(3),n.hij(" ",n.lcZ(62,126,"COMMON.FORM.LAWYER_LICENSE.PLACEHOLDER.LONG_DESCRIPTIONS.PHONE.EXAMPLE")," "),n.xp6(4),n.hij(" ",n.lcZ(66,128,"COMMON.FORM.LAWYER_LICENSE.PLACEHOLDER.LONG_DESCRIPTIONS.PHONE.SMS_INFO")," "),n.xp6(3),n.Q6J("nzLg",6)("nzMd",6)("nzSm",8)("nzXs",24)("nzRequired",_.licenseForm&&_.licenseForm.controls.taxNumber&&_.licenseForm.controls.taxNumber.validator&&_.licenseForm.controls.taxNumber.validator(n.DdM(160,O))&&_.licenseForm.controls.taxNumber.validator(n.DdM(161,O)).required),n.xp6(2),n.hij(" ",n.lcZ(71,130,"COMMON.FORM.LAWYER_LICENSE.TAX_NUMBER")," "),n.xp6(2),n.Q6J("ngTemplateOutlet",h)("ngTemplateOutletContext",n.DdM(162,Zn)),n.xp6(1),n.Q6J("nzLg",14)("nzMd",14)("nzSm",12)("nzXs",24)("nzValidateStatus",_.licenseForm.controls.taxNumber)("nzErrorTip",I),n.xp6(1),n.Q6J("placeholder",n.lcZ(75,132,"COMMON.FORM.LAWYER_LICENSE.PLACEHOLDER.TAX_NUMBER"))("formControl",n.xi3(76,134,_.licenseForm.controls.taxNumber,_.FormControl)),n.xp6(7),n.hij(" ",n.lcZ(82,137,"COMMON.FORM.LAWYER_LICENSE.PLACEHOLDER.LONG_DESCRIPTIONS.TAX_NUMBER.DESCRIPTION")," "),n.xp6(3),n.hij(" ",n.lcZ(85,139,"COMMON.FORM.LAWYER_LICENSE.PLACEHOLDER.LONG_DESCRIPTIONS.TAX_NUMBER.EXAMPLE")," "),n.xp6(3),n.Q6J("nzLg",6)("nzMd",6)("nzSm",8)("nzXs",24)("nzRequired",_.licenseForm&&_.licenseForm.controls.identityNumber&&_.licenseForm.controls.identityNumber.validator&&_.licenseForm.controls.identityNumber.validator(n.DdM(163,O))&&_.licenseForm.controls.identityNumber.validator(n.DdM(164,O)).required),n.xp6(2),n.hij(" ",n.lcZ(90,141,"COMMON.FORM.LAWYER_LICENSE.IDENTITY_NUMBER")," "),n.xp6(2),n.Q6J("ngTemplateOutlet",h)("ngTemplateOutletContext",n.DdM(165,Fn)),n.xp6(1),n.Q6J("nzLg",14)("nzMd",14)("nzSm",12)("nzXs",24)("nzValidateStatus",_.licenseForm.controls.identityNumber)("nzErrorTip",Bn),n.xp6(1),n.Q6J("placeholder",n.lcZ(94,143,"COMMON.FORM.LAWYER_LICENSE.PLACEHOLDER.IDENTITY_NUMBER"))("formControl",n.xi3(95,
27145,_.licenseForm.controls.identityNumber,_.FormControl)),n.xp6(8),n.Q6J("form",n.xi3(102,148,_.licenseForm.controls.insurance,_.FormGroup))("insurance",_.actLicense.insurance)}}function bn(o,r){if(1&o){const s=n.EpF();n.TgZ(0,"div",63),n._UZ(1,"app-next-verification-step-button",64),n.TgZ(2,"app-multi-state-button",65),n.NdJ("click",function(){n.CHM(s);const m=n.oxw(3);return n.KtG(m.saveManually())}),n.qZA()()}if(2&o){const s=n.oxw(3);n.xp6(1),n.Q6J("type",s.VerificationState.LAWYER_LICENSE),n.xp6(1),n.Q6J("runFunction",s.runSaveFunction)("unstickTrigger",s.unstickTrigger)("showMessage",!0)}}function Qn(o,r){if(1&o&&(n.TgZ(0,"div"),n.YNc(1,yn,103,166,"form",39),n.YNc(2,bn,3,4,"div",40),n.qZA()),2&o){const s=n.oxw(2);n.xp6(1),n.Q6J("ngIf",s.licenseForm),n.xp6(1),n.Q6J("ngIf",s.licenseForm)}}function Yn(o,r){if(1&o&&(n.TgZ(0,"div",20)(1,"div"),n.YNc(2,Tn,5,3,"nz-empty",34),n.qZA(),n.YNc(3,Qn,3,2,"div",2),n.qZA()),2&o){const s=n.oxw();n.Q6J("@skeletonPosAbsLeave",void 0),n.xp6(2),n.Q6J("ngIf",!s.actLicense&&!s.hasProfile),n.xp6(1),n.Q6J("ngIf",s.actLicense)}}let f=class{constructor(r,s,p,m,I,Bn,_){this.clientService=r,this.eventService=s,this.formService=p,this.lawyerValidationService=m,this.routerService=I,this.userService=Bn,this.validatorMessengerService=_,this.createdLicense=!1,this.dataProtectionLoadingFailed=!1,this.hasDataProtection=!1,this.hasProfile=!1,this.isDataProtectionLoading=!1,this.isLicenseLoading=!1,this.toSubmit=this.eventService.hasProfile,this.unstickTrigger=0,this.saveInProgress=!1,this.FeedbackUnit=L._0Z,this.FeedbackFeature=L.lrp,this.PageRoutes=U.d,this.VerificationState=R.xr,this.FormControl=E.p4,this.FormGroup=E.nJ}ngOnInit(){this.isDataProtectionLoading=!0,this.isLicenseLoading=!0,this.loadClientProfile(),this.loadDataProtection(),this.toSubmit.subscribe(r=>{!this.hasProfile&&r&&(this.hasProfile=r,this.loadClientProfile())})}unloadNotification(r){this.licenseForm&&this.licenseForm.dirty&&(r.returnValue=!0)}handleLicenceUpdateError(r){r.cause===Z.up.INVALID_PHONE_NUMBER&&this.licenseForm.controls.phone&&this.licenseForm.controls.phone.setErrors({wrongNumber:!0})}loadClientProfile(){this.clientService.getClientProfile().pipe((0,T.t)(this)).subscribe(r=>{this.hasProfile=!0,this.isLicenseLoading=!1,r&&r.license?(this.actLicense=r.license,this.createdLicense=!0,this.createLicenseFormService(),this.eventService.hasLicense.emit(!0)):(this.actLicense=new L.CzQ,this.actLicense.insurance=new L.iSU,this.createLicenseFormService())},r=>{this.isLicenseLoading=!1})}loadDataProtection(){this.clientService.getDataProtection(this.userService.sessionUserID).pipe((0,T.t)(this)).subscribe(r=>{this.hasDataProtection=!0,this.isDataProtectionLoading=!1,this.dataProtectionLoadingFailed=!1},r=>{404===r.status?this.hasDataProtection=!1:this.dataProtectionLoadingFailed=!0,this.isDataProtectionLoading=!1})}createLicenseFormService(){this.licenseForm=this.formService.licenseFormGroup(this.actLicense)}updateLicense(){if(this.licenseForm.valid&&this.licenseForm.dirty){if(this.actLicense=this.formService.groupToLicense(this.licenseForm),this.actLicense){this.licenseForm.markAsPristine(),this.saveInProgress=!0;const r=this.clientService.patchLawyerLicence(this.actLicense).pipe((0,T.t)(this)).toPromise();return r.then(()=>{this.saveInProgress=!1,this.createdLicense=!0,this.lawyerValidationService.runCheckForStep(R.xr.LAWYER_LICENSE),this.eventService.profileUpdated.emit(),this.eventService.hasLicense.emit(!0)},s=>(this.runSaveFunction===r&&this.licenseForm.markAsDirty(),this.saveInProgress=!1,this.handleLicenceUpdateError(s.msg),Promise.reject())),r}}else if(this.licenseForm&&this.licenseForm.valid&&!this.licenseForm.dirty)return t.P4.getSuccessfulPromise()}saveLicenseWithButton(){if(this.licenseForm.valid&&this.licenseForm.dirty){const r=this.updateLicense();return this.runSaveFunction=r,r}this.licenseForm.valid||this.updateUnstickTrigger()}saveManually(){if(this.licenseForm.valid){if(this.licenseForm.dirty)return this.saveLicenseWithButton();this.runSaveFunction=t.P4.getSuccessfulPromise()}else{const r=this.licenseForm.controls.phone&&this.licenseForm.controls.phone.hasError("wrongNumber");this.formService.markAllAsTouched(this.licenseForm),r&&this.licenseForm.controls.phone&&this.licenseForm.controls.phone.setErrors({wrongNumber:!0}
27),this.licenseForm.invalid&&this.licenseFormElement&&this.formService.jumpToFirstInvalidInput(this.licenseFormElement.nativeElement)}}updateUnstickTrigger(){this.unstickTrigger=Math.random()}};f.\u0275fac=function(r){return new(r||f)(n.Y36(F.y),n.Y36(y.P),n.Y36(b.o),n.Y36(Q.w),n.Y36(B.c),n.Y36(J.K),n.Y36(v.K))},f.\u0275cmp=n.Xpm({type:f,selectors:[["app-lawyer-license"]],viewQuery:function(r,s){if(1&r&&n.Gf(on,5),2&r){let p;n.iGM(p=n.CRH())&&(s.licenseFormElement=p.first)}},hostBindings:function(r,s){1&r&&n.NdJ("beforeunload",function(m){return s.unloadNotification(m)},!1,n.Jf7)},decls:12,vars:11,consts:[[3,"nzTitle"],[1,"position-relative"],[4,"ngIf"],["class","m-t-20 w-100",4,"ngIf"],["class","m-t-20",4,"ngIf"],["optionalLabel",""],["style","border-style: none",4,"ngIf"],[1,"feedback-positioning",3,"feature","unit","title"],["class","row w-100",4,"ngIf"],[1,"row","w-100"],[1,"col-12","text-left"],["nzType","input","nzSize","small",1,"w-100","mb-3",2,"max-width","265px",3,"nzActive"],["nzType","input","nzSize","small",1,"w-100","licenseDescSkeleton","mb-3",3,"nzActive"],["nzType","input","nzSize","small",1,"w-100","buttonSkeleton",2,"max-width","165px",3,"nzActive"],[1,"text-danger"],[3,"has"],[1,"m-t-20","w-100"],["nzType","input","nzSize","small",1,"w-100","m-b-5",3,"nzActive"],["nzType","input","nzSize","small",1,"w-100","skeleton-h-20px","m-b-1",3,"nzActive"],["nzType","input","nzSize","small",1,"w-100","skeleton-h-20px","m-b-15",3,"nzActive"],[2,"border-style","none"],["class","row ant-form-item",4,"ngFor","ngForOf"],["skeletonText",""],["nzOrientation","left",1,"p-t-15","skeletonDivider",3,"nzText"],["nzType","input","nzSize","small",1,"w-50","skeleton-h-20px","m-b-15",3,"nzActive"],[1,"row","ant-form-item"],[1,"col-md-3","col-sm-4","col-12","text-left","text-sm-right","skeleton-height","d-flex"],["nzType","input","nzSize","small",1,"skeleton-width","m-l-auto","mt-auto","mb-auto",3,"nzActive"],[1,"col-md-7","col-sm-6","col-12"],["nzType","input","nzSize","large",1,"w-100",3,"nzActive"],["nzType","input","nzSize","small",1,"w-100",3,"nzActive"],[1,"m-t-20"],["class","optionalLabel",4,"ngIf"],[1,"optionalLabel"],[3,"nzNotFoundImage","nzNotFoundContent","nzNotFoundFooter",4,"ngIf"],[3,"nzNotFoundImage","nzNotFoundContent","nzNotFoundFooter"],["contentTpl",""],["footerTpl",""],["nz-button","","nzType","primary",1,"button-text-wrap",3,"click"],["nz-form","","nzNoColon","",3,"formGroup","keydown.enter",4,"ngIf"],["class","text-right m-t-30",4,"ngIf"],["nz-form","","nzNoColon","",3,"formGroup","keydown.enter"],["licenseFormElement",""],[1,"multiLineLabel","p-0",3,"nzLg","nzMd","nzSm","nzXs","nzRequired"],["class","template",4,"ngTemplateOutlet","ngTemplateOutletContext"],[3,"nzLg","nzMd","nzSm","nzXs","nzValidateStatus","nzErrorTip"],["id","chamberIdentifier","nz-input","","trim","blur",3,"placeholder","formControl","blur"],["chamberIdentifierErrorTip",""],["nz-typography",""],["id","chamberNumber","nz-input","","trim","blur",3,"placeholder","formControl","blur"],["chamberNumberErrorTip",""],["id","phone","nz-input","","trim","blur",3,"placeholder","formControl","blur"],["phoneErrorTip",""],["nz-typography","",1,"m-t-10","m-b-0"],["nz-icon","","nzType","info-circle","nzTheme","outline"],["id","taxNumber","nz-input","","trim","blur",3,"placeholder","formControl","blur"],["taxNumberErrorTip",""],["id","identityNumber","nz-input","","trim","blur",3,"placeholder","formControl","blur"],["identityNumberErrorTip",""],[1,"row"],[1,"col-md-12"],[1,"col-md-12","p-h-0",3,"form","insurance","saveEmitter","unstickTrigger"],[1,"template"],[1,"text-right","m-t-30"],[3,"type"],["nzType","primary","nzGhost","",1,"text-right","m-t-30",3,"runFunction","unstickTrigger","showMessage","click"]],template:function(r,s){1&r&&(n.TgZ(0,"nz-card",0),n.ALo(1,"translate"),n.GkF(2),n.TgZ(3,"div",1),n.YNc(4,ln,4,3,"ng-container",2),n.YNc(5,pn,14,12,"div",3),n.YNc(6,En,7,7,"div",4),n.YNc(7,un,4,3,"div",2),n.YNc(8,On,1,3,"ng-template",null,5,n.W1O),n.YNc(10,Yn,4,3,"div",6),n.qZA(),n._UZ(11,"app-feedback",7),n.qZA()),2&r&&(n.Q6J("nzTitle",n.lcZ(1,9,"LAWYER.PROFILE.LICENSE.TITLE")),n.xp6(4),n.Q6J("ngIf",s.hasProfile),n.xp6(1),n.Q6J("ngIf",s.isLicenseLoading&&!s.actLicense),n.xp6(1),n.Q6J("ngIf",!s.isLicenseLoading&&s.actLicense),n.xp6(1),n.Q6J("ngIf",!s.isLicenseLoading&&!s.actLicense&&s.hasProfile),n.xp6(3),n.Q6J("ngIf",!s.isLicenseLoading),n.xp6(1),n.Q6J("feature",s.FeedbackFeature.Settings)("unit",s.FeedbackUnit.LawyerLicense)("title","COMMON.FEEDBACK.TITLES.LAWYER_LICENSE"))},dependencies:[E._Y,E.Fj,E.JJ,E.JL,C.P,A.sg,A.O5,A.tP,Y.X,E.oH,E.sg,t.P4,W.ix,w.w,H.dQ,K.bd,j.p9,k.g,z.t3,z.SK,g.Lr,g.Nx,g.iK,g.Fd,V.Ls,G.Zp,S.Xw,S.yg,X.ZU,q.B,$.K,nn.I,tn.X$,u.j,en.A],styles:['@charset "UTF-8";.licenseDescSkeleton[_ngcontent-%COMP%]{height:120px}[_nghost-%COMP%]   .licenseDescSkeleton[_ngcontent-%COMP%]     .ant-skeleton-input{height:120px}@media (min-width: 768px){.licenseDescSkeleton[_ngcontent-%COMP%]{height:80px}[_nghost-%COMP%]   .licenseDescSkeleton[_ngcontent-%COMP%]     .ant-skeleton-input{height:80px}}@media (min-width: 1200px){.licenseDescSkeleton[_ngcontent-%COMP%]{height:60px}[_nghost-%COMP%]   .licenseDescSkeleton[_ngcontent-%COMP%]     .ant-skeleton-input{height:60px}}.buttonSkeleton[_ngcontent-%COMP%]{height:40px}[_nghost-%COMP%]   .buttonSkeleton[_ngcontent-%COMP%]     .ant-skeleton-input{height:40px}.labelSkeleton[_ngcontent-%COMP%]{min-width:110px;max-width:170px}[_nghost-%COMP%]   .labelSkeleton[_ngcontent-%COMP%]     .ant-skeleton-input{min-width:110px;max-width:170px}'],data:{animation:[N.Ln]}}),f=(0,x.gn)([(0,T.c)()],f)}}]);

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.