1import{B as JC,Kr as pw,Li as zV,Lt as WT,Sr as mD,Ut as XC,Wr as pm,Xt as YC,_t as QC,a as $w,ii as ru,in as ZC,lr as j$1,vr as lo,zr as ou}from"./chunk-3TaYuyAv.js";import{t as E}from"./chunk-C8n7MLs4.js";function O(r,i){if(r&1&&(ru(0,`div`,0),$w(1),ou()),r&2){let t=i.$implicit;mD(),pm(t)}}function T(r,i){if(r&1&&JC(0,O,2,1,`div`,0,ZC),r&2)XC(pw().errors)}var j=(()=>{class r{constructor(t){this.formErrors=t,this.abstractControl=zV.required(),this.errors=[],this.subscription=new j$1}ngOnInit(){let t=this.abstractControl();t&&(this.subscription=t.valueChanges.subscribe(()=>{this.verifyTypeError()}))}ngOnDestroy(){this.subscription.unsubscribe()}clearErrors(){this.errors=[]}verifyTypeError(){let t=this.abstractControl();if(t){this.clearErrors();let o=t.errors;o&&Object.keys(o).map(n=>{let g=this.formErrors[n],x=g(o[n]);this.errors.push(x)})}}static{this.ɵfac=function(o){return new(o||r)(lo(E))}}static{this.ɵcmp=WT({type:r,selectors:[[`app-validation-errors`]],inputs:{abstractControl:[1,`abstractControl`]},decls:1,vars:1,consts:[[`data-cy`,`form-error`,1,`error-show`]],template:function(o,e){o&1&&QC(0,T,2,0),o&2&&YC(e.abstractControl()?.dirty||e.abstractControl()?.touched?0:-1)},styles:[`.error-show[_ngcontent-%COMP%]{width:100%;margin-top:.25rem;font-size:80%;color:#b02a37}`]})}}return r})();export{j as t}; 2//# debugId=0fdcb149-7b9e-575a-836e-cae88a0e3ee5
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.