1"use strict";(self.webpackChunknfj=self.webpackChunknfj||[]).push([[6976],{7854(P,I,s){s.d(I,["k",0,{name:"close",data:'<svg viewBox="0 0 16 16" xmlns="http://www.w3.org/2000/svg"><path d="M16 1.611 14.389 0 8 6.389 1.611 0 0 1.611 6.389 8 0 14.389 1.611 16 8 9.611 14.389 16 16 14.389 9.611 8z"/></svg>'}])},8494(P,I,s){s.d(I,["k",0,{name:"info",data:'<svg viewBox="0 0 7 18" xmlns="http://www.w3.org/2000/svg"><path d="M.43 6.955V6.16c.257-.076.6-.19 1.073-.302.43-.114.902-.19 1.417-.265.516-.076.988-.151 1.46-.189.473-.038.902-.076 1.289-.076l.472.265L3.736 15.61h1.847v.832c-.215.15-.516.264-.816.415-.3.114-.644.227-.988.34a5.042 5.042 0 0 1-1.03.227 9.501 9.501 0 0 1-.988.076c-.687 0-1.117-.113-1.374-.34-.258-.227-.387-.492-.387-.756 0-.302.043-.605.086-.907.043-.303.129-.605.215-.983l1.803-7.22-1.675-.34ZM2.662 1.7c0-.53.214-.945.6-1.247C3.65.15 4.167 0 4.81 0c.687 0 1.202.151 1.589.454C6.785.756 7 1.172 7 1.7c0 .491-.215.907-.601 1.172-.387.302-.945.453-1.59.453-.6 0-1.116-.151-1.545-.453-.387-.265-.601-.643-.601-1.172Z"/></svg>'}])},87785(P,I,s){s.d(I,["Z",0,{name:"tick",data:'<svg viewBox="0 0 18 13" xmlns="http://www.w3.org/2000/svg"><path d="M6.727 10.075 1.432 4.687 0 6.149 6.727 13 18 1.463 16.568 0z"/></svg>'}])},45341(P,I,s){s.d(I,{U:()=>t});var m=s(42822),O=s(816),c=s(58588),l=s(8494),g=s(35547);let t=(()=>{var y;class p{constructor(){this.icon="info",(0,c.N)([l.k])}static#t=y=()=>(this.\u0275fac=function(b){return new(b||p)},this.\u0275cmp=g.VBU({type:p,selectors:[["common-circle-info"]],inputs:{icon:"icon"},decls:1,vars:1,consts:[[3,"commonIcon"]],template:function(b,f){1&b&&g.nrm(0,"inline-icon",0),2&b&&g.Y8G("commonIcon",f.icon)},dependencies:[m.W,O.I],styles:["[_nghost-%COMP%]{width:20px;height:20px;border-radius:50%;border:2px solid #eee;position:relative;display:inline-flex;vertical-align:middle;margin-left:.35rem;justify-content:center;align-items:center}[_nghost-%COMP%] .common-icon{opacity:.5;color:#9da7ac;--%NS%width: .625rem;--%NS%height: .625rem}"]}))}return y(),p})()},47007(P,I,s){s.d(I,{D:()=>p});var m=s(49769),O=s(68018),c=s(35547);const l=u=>({value:u});function g(u,C){1&u&&(c.j41(0,"span",5),c.EFF(1,"!"),c.k0s())}function t(u,C){if(1&u&&(c.j41(0,"div",2),c.DNE(1,g,2,0,"span",3),c.nrm(2,"span",4),c.nI1(3,"translate"),c.k0s()),2&u){const b=c.XpG().$implicit,f=c.XpG();c.R7$(),c.Y8G("ngIf",f.showIcon),c.R7$(),c.Y8G("innerHTML",c.i5U(3,2,f.getError(b.key),c.eq3(5,l,b.value)),c.npT)}}function y(u,C){if(1&u&&(c.qex(0),c.DNE(1,t,4,7,"div",1),c.bVm()),2&u){const b=C.index;c.R7$(),c.Y8G("ngIf",0===b)}}let p=(()=>{var u;class C{constructor(){this.showIcon=!0,this.customErrorsMsg={},this.notification=!1}get inputError(){return!this.notification}getError(f){return this.customErrorsMsg&&this.customErrorsMsg[f]||C[f]||this.errorText||f}static#t=u=()=>(this.required="GLOBAL.FIELD_REQUIRED",this.email="GLOBAL.INVALID_EMAIL",this.phone="GLOBAL.INFO_INVALID",this.externalLinks="GLOBAL.EXTERNAL_LINKS",this.badEmails="GLOBAL.BAD_EMAILS",this.semicolonInEmails="GLOBAL.SEMICOLON_IN_EMAILS",this.notValidLink="COMPANY.VIDEO_URL_NOT_VALID",this.notValidDataLink="GLOBAL.WRONG_URL",this.notValidVat="COMPANY.VAT_NOT_VALID",this.notValidUrl="GLOBAL.NOT_VALID_URL",this.signInFailed="GLOBAL.SIGN_IN_FAILED",this.somethingFailed="GLOBAL.SOMETHING_FAILED",this.strongPassword="GLOBAL.STRONG_PASSWORD",this.max="GLOBAL.MAX",this.min="GLOBAL.MIN",this.maxlength="GLOBAL.N_MAX_CHARACTERS",this.pattern="GLOBAL.INVALID_CHARACTERS",this.minlength="GLOBAL.N_MIN_CHARACTERS",this.notValidVideoLink="COMPANY.VIDEO_URL_NOT_VALID",this.passwordsNotMatch="GLOBAL.PASSWORDS_NOT_MATCH",this.mismatchedPasswords="GLOBAL.PASSWORDS_NOT_MATCH",this.passwordMinCharacters="GLOBAL.PASSWORD_MIN_CHARACTERS",this.wrongGithubUrl="GLOBAL.WRONG_GITHUB_URL",this.url="GLOBAL.WRONG_URL",this.numberWithDot="GLOBAL.NUMBER_WITH_DOT_ONLY",this.passwordSpecialCharacter="GLOBAL.PASSWORD_SPECIAL_CHARACTER",this.passwordCapitalCharacter="GLOBAL.PASSWORD_CAPITAL_CHARACTER",this.inputMonthInvalid="GLOBAL.INPUT_MONTH_INVALID",this.inputMonthRangeInvalid="GLOBAL.INPUT_MONTH_RANGE_INVALID",this.inputMonthMinInvalid="GLOBAL.INPUT_MONTH_MIN_INVALID",this.inputMonthMaxInvalid="GLOBAL.INPUT_MONTH_MAX_INVA
1LID",this.invoiceId="INVOICE_PATTERN_INVALID",this.matDatepickerParse="GLOBAL.MAT_INVALID_DATE",this.matDatepickerMin="GLOBAL.MAT_INVALID_DATE",this.matDatepickerMax="GLOBAL.MAT_INVALID_DATE",this.duplicated="GLOBAL.DUPLICATED",this.wrongDomain="GLOBAL.WRONG_DOMAIN",this.lineBreaksExceeded="GLOBAL.LINE_BREAKS_EXCEEDED",this.invoiceReplacedBy="GLOBAL.INVOICE_REPLACED_BY",this.maxValue="GLOBAL.MAX_VALUE",this.\u0275fac=function(_){return new(_||C)},this.\u0275cmp=c.VBU({type:C,selectors:[["common-field-errors"]],hostVars:4,hostBindings:function(_,T){2&_&&c.AVh("notification",T.notification)("inputError",T.inputError)},inputs:{showIcon:"showIcon",errors:"errors",errorText:"errorText",customErrorsMsg:"customErrorsMsg",notification:"notification"},decls:2,vars:3,consts:[[4,"ngFor","ngForOf"],["class","alert alert-danger invalid-label",4,"ngIf"],[1,"alert","alert-danger","invalid-label"],["class","icon",4,"ngIf"],[3,"innerHTML"],[1,"icon"]],template:function(_,T){1&_&&(c.DNE(0,y,2,1,"ng-container",0),c.nI1(1,"keyvalue")),2&_&&c.Y8G("ngForOf",c.bMT(1,1,T.errors))},dependencies:[m.Sq,m.bT,O.h,m.lG,O.D9],styles:[".invalid-label[_ngcontent-%COMP%]{border-radius:0;text-align:center;color:#f45958;background-color:#fdeeee;border:none;padding:2.5px 5px;margin-top:5px;margin-bottom:0;display:inline-block}.invalid-label[_ngcontent-%COMP%] > span.icon[_ngcontent-%COMP%]{background-color:#f45958;width:20px;height:20px;display:inline-flex;justify-content:center;align-items:center;border-radius:50%;color:#fff!important;font-weight:600}
1.notification[_nghost-%COMP%] .invalid-label[_ngcontent-%COMP%], .notification [_nghost-%COMP%] .invalid-label[_ngcontent-%COMP%]{display:flex;padding:10px}.notification[_nghost-%COMP%] .invalid-label[_ngcontent-%COMP%] > span.icon[_ngcontent-%COMP%], .notification [_nghost-%COMP%] .invalid-label[_ngcontent-%COMP%] > span.icon[_ngcontent-%COMP%]{margin-right:10px;width:18px;height:18px;min-width:18px;background-color:#f45958;font-size:12px}.inputError[_nghost-%COMP%] .invalid-label[_ngcontent-%COMP%], .inputError [_nghost-%COMP%] .invalid-label[_ngcontent-%COMP%]{font-size:11px;font-weight:500;display:inline-flex;text-align:right}.inputError[_nghost-%COMP%] .invalid-label[_ngcontent-%COMP%] > span.icon[_ngcontent-%COMP%], .inputError [_nghost-%COMP%] .invalid-label[_ngcontent-%COMP%] > span.icon[_ngcontent-%COMP%]{position:absolute;right:10px;top:-30px}"]}))}return u(),C})()},16976(P,I,s){s.d(I,{f:()=>G});var m=s(15215),O=s(45984),c=s(49769),l=s(47266),g=s(89417),t=s(35547),y=s(65157),p=s(19863),u=s(21413),C=s(33726),b=s(84412),f=s(7673),_=s(96354),T=s(88141),A=s(25558);function D(a,r){if(1&a&&(t.rj2(0,"span"),t.EFF(1),t.eux()),2&a){const o=t.XpG().$implicit,n=t.XpG();t.HbH(n.highlightClass),t.R7$(),t.JRh(o)}}function Q(a,r){if(1&a&&(t.iHH(0),t.EFF(1),t.Zht()),2&a){const o=t.XpG().$implicit;t.R7$(),t.JRh(o)}}function w(a,r){1&a&&t.nVh(0,D,2,3,"span",0)(1,Q,2,1,"ng-container"),2&a&&t.vxM(r.$index%2!=0?0:1)}const L=(a,r,o)=>({result:a,term:r,formatter:o});function z(a,r){if(1&a&&t.nrm(0,"ngb-highlight",2),2&a){const n=r.term;t.Y8G("result",(0,r.formatter)(r.result))("term",n)}}function Z(a,r){}function J(a,r){if(1&a){const o=t.RV6();t.j41(0,"button",3),t.bIt("mouseenter",function(){const e=l.eBV(o).$index,i=t.XpG();return l.Njj(i.markActive(e))})("click",function(){const e=l.eBV(o).$implicit,i=t.XpG();return l.Njj(i.select(e))}),t.DNE(1,Z,0,0,"ng-template",4),t.k0s()}if(2&a){const o=r.$implicit,n=r.$index,e=t.XpG(),i=t.sdS(1);t.AVh("active",n===e.activeIdx),t.Y8G("id",e.id+"-"+n),t.R7$(),t.Y8G("ngTemplateOutlet",e.resultTemplate||i)("ngTemplateOutletContext",t.sMw(5,L,o,e.term,e.formatter))}}let U=(()=>{var a;class r{constructor(){this.highlightClass="ngb-highlight",this.accentSensitive=!0}ngOnChanges(n){!this.accentSensitive&&!String.prototype.normalize&&(console.warn("The `accentSensitive` input in `ngb-highlight` cannot be set to `false` in a browser that does not implement the `String.normalize` function. You will have to include a polyfill in your application to use this feature in the current browser."),this.accentSensitive=!0);const e=(0,p.dI)(this.result),i=Array.isArray(this.term)?this.term:[this.term],h=v=>this.accentSensitive?v:(0,p.Oo)(v),d=i.map(v=>(0,p.fI)(h((0,p.dI)(v)))).filter(v=>v),x=this.accentSensitive?e:(0,p.Oo)(e),M=d.length?x.split(new RegExp(`(${d.join("|")})`,"gmi")):[e];if(this.accentSensitive)this.parts=M;else{let v=0;this.parts=M.map(E=>e.substring(v,v+=E.length))}}static#t=a=()=>(this.\u0275fac=function(e){return new(e||r)},this.\u0275cmp=t.VBU({type:r,selectors:[["ngb-highlight"]],inputs:{highlightClass:"highlightClass",result:"result",term:"term",accentSensitive:"accentSensitive"},features:[t.OA$],decls:2,vars:0,consts:[[3,"class"]],template:function(e,i){1&e&&t.Z7z(0,w,2,1,null,null,t.Vm6),2&e&&t.Dyx(i.parts)},styles:[".ngb-highlight{font-weight:700}\n"],encapsulation:2}))}return a(),r})(),q=(()=>{var a;class r{constructor(){this.editable=!0,this.focusFirst=!0,this.selectOnExact=!1,this.showHint=!1,this.placement=["bottom-start","bottom-end","top-start","top-end"],this.popperOptions=n=>n}static#t=a=()=>(this.\u0275fac=function(e){return new(e||r)},this.\u0275prov=t.tV_({token:r,factory:r.\u0275fac}))}return a(),r})(),tt=(()=>{var a;class r{constructor(){this.activeIdx=0,this.focusFirst=!0,this.formatter=p.dI,this.selectEvent=new l.bkB,this.activeChangeEvent=ne
1w l.bkB}hasActive(){return this.activeIdx>-1&&this.activeIdx<this.results.length}getActive(){return this.results[this.activeIdx]}markActive(n){this.activeIdx=n,this._activeChanged()}next(){this.activeIdx===this.results.length-1?this.activeIdx=this.focusFirst?(this.activeIdx+1)%this.results.length:-1:this.activeIdx++,this._activeChanged()}prev(){this.activeIdx<0?this.activeIdx=this.results.length-1:0===this.activeIdx?this.activeIdx=this.focusFirst?this.results.length-1:-1:this.activeIdx--,this._activeChanged()}resetActive(){this.activeIdx=this.focusFirst?0:-1,this._activeChanged()}select(n){this.selectEvent.emit(n)}ngOnInit(){this.resetActive()}_activeChanged(){this.activeChangeEvent.emit(this.activeIdx>=0?this.id+"-"+this.activeIdx:void 0)}static#t=a=()=>(this.\u0275fac=function(e){return new(e||r)},this.\u0275cmp=t.VBU({type:r,selectors:[["ngb-typeahead-window"]],hostAttrs:["role","listbox"],hostVars:3,hostBindings:function(e,i){1&e&&t.bIt("mousedown",function(d){return d.preventDefault()}),2&e&&(t.Avn("id",i.id),t.HbH("dropdown-menu show"+(i.popupClass?" "+i.popupClass:"")))},inputs:{id:"id",focusFirst:"focusFirst",results:"results",term:"term",formatter:"formatter",resultTemplate:"resultTemplate",popupClass:"popupClass"},outputs:{selectEvent:"select",activeChangeEvent:"activeChange"},exportAs:["ngbTypeaheadWindow"],decls:4,vars:0,consts:[["rt",""],["type","button","role","option",1,"dropdown-item",3,"id","active"],[3,"result","term"],["type","button","role","option",1,"dropdown-item",3,"mouseenter","click","id"],[3,"ngTemplateOutlet","ngTemplateOutletContext"]],template:function(e,i){1&e&&(t.DNE(0,z,1,2,"ng-template",null,0,t.C5r),t.Z7z(2,J,2,9,"button",1,t.Vm6)),2&e&&(t.R7$(2),t.Dyx(i.results))},dependencies:[U,c.T3],encapsulation:2,changeDetection:1}))}return a(),r})(),et=0,nt=(()=>{var a;class r{constructor(){this._nativeElement=(0,l.WQX)(t.aKT).nativeElement,this._config=(0,l.WQX)(q),this._live=(0,l.WQX)(p.ve),this._document=(0,l.WQX)(l.qQL),this._ngZone=(0,l.WQX)(l.SKi),this._changeDetector=(0,l.WQX)(y.gRc),this._injector=(0,l.WQX)(l.zZn),this._popupService=new p.OQ(tt),this._positioning=(0,p.F)(),this._subscription=null,this._closed$=new u.B,this._inputValueBackup=null,this._inputValueForSelectOnExact=null,this._valueChanges$=(0,C.R)(this._nativeElement,"input").pipe((0,_.T)(n=>n.target.value)),this._resubscribeTypeahead$=new b.t(null),this._windowRef=null,this.autocomplete="off",this.container=this._config.container,this.editable=this._config.editable,this.focusFirst=this._config.focusFirst,this.selectOnExact=this._config.selectOnExact,this.showHint=this._config.showHint,this.placement=this._config.placement,this.popperOptions=this._config.popperOptions,this.selectItem=new l.bkB,this.activeDescendant=null,this.popupId="ngb-typeahead-"+et++,this._onTouched=()=>{},this._onChange=n=>{}}ngOnInit(){this._subscribeToUserInput()}ngOnChanges({ngbTypeahead:n}){n&&!n.firstChange&&(this._unsubscribeFromUserInput(),this._subscribeToUserInput())}ngOnDestroy(){this._closePopup(),this._unsubscribeFromUserInput()}registerOnChange(n){this._onChange=n}registerOnTouched(n){this._onTouched=n}writeValue(n){this._writeInputValue(this._formatItemForInput(n)),this.showHint&&(this._inputValueBackup=n)}setDisabledState(n){this._nativeElement.disabled=n}dismissPopup(){this.isPopupOpen()&&(this._resubscribeTypeahead$.next(null),this._closePopup(),this.showHint&&null!==this._inputValueBackup&&this._writeInputValue(this._inputValueBackup),this._changeDetector.markForCheck())}isPopupOpen(){return null!=this._windowRef}handleBlur(){this._resubscribeTypeahead$.next(null),this._onTouched()}handleKeyDown(n){if(this.isPopupOpen())switch(n.key){case"ArrowDown":n.preventDefault(),this._windowRef.instance.next(),this._showHint();break;case"ArrowUp":n.preventDefault(),this._windowRef.instance.prev(),this._showHint();break;case"Enter":case"Tab":{const e=this._windowRef.instance.getActive();(0,p.O9)(e)&&(n.preventDefault(),n.stopPropagation(),this._selectResult(e)),this._closePopup();break}}}_openPopup(){if(!this.isPopupOpen()){this._inputValueBackup=this._nativeElement.value;const{windowRef:n}=this._popupService.open();this._windowRef=n,this._windowRef.setInput("id",this.popupId),this._windowRef.setInput("popupClass",this.popupClass),this._windowRef.instance.selectEvent.subscribe(e=>this._selectResultClosePopup(e)),this._windowRef.instance.activeChangeEvent.subscribe(e=>this.activeDescendant=e),"body"===this.container&&(this._windowRef.location.nativeElement.style.zIndex="1055",this._document.body.appendChild(this._windowRef.location.nativeElement)),this._changeDetector.markForCheck(),this._ngZone.runOutsideAngular(()=>{this._windowRef&&(this._positioning.createPopper({hostElement:this._nativeElement,targetElement:this._windowRef.location.nativeElement,placement:this.placement,updatePopperOptions:e=>this.popperOptions((0,p.Lt)([0,2])(e))}),this._afterRenderRef=(0,t.WeM)({mixedReadWrite:()=>
1{this._positioning.update()}},{injector:this._injector}))}),(0,p.$d)(this._ngZone,this._document,"outside",()=>this.dismissPopup(),this._closed$,[this._nativeElement,this._windowRef.location.nativeElement])}}_closePopup(){this._popupService.close().subscribe(()=>{this._positioning.destroy(),this._afterRenderRef?.destroy(),this._closed$.next(),this._windowRef=null,this.activeDescendant=null})}_selectResult(n){let e=!1;this.selectItem.emit({item:n,preventDefault:()=>{e=!0}}),this._resubscribeTypeahead$.next(null),e||(this.writeValue(n),this._onChange(n))}_selectResultClosePopup(n){this._selectResult(n),this._closePopup()}_showHint(){if(this.showHint&&this._windowRef?.instance.hasActive()&&null!=this._inputValueBackup){const n=this._inputValueBackup.toLowerCase(),e=this._formatItemForInput(this._windowRef.instance.getActive());n===e.substring(0,this._inputValueBackup.length).toLowerCase()?(this._writeInputValue(this._inputValueBackup+e.substring(this._inputValueBackup.length)),this._nativeElement.setSelectionRange.apply(this._nativeElement,[this._inputValueBackup.length,e.length])):this._writeInputValue(e)}}_formatItemForInput(n){return null!=n&&this.inputFormatter?this.inputFormatter(n):(0,p.dI)(n)}_writeInputValue(n){this._nativeElement.value=(0,p.dI)(n)}_subscribeToUserInput(){const n=this._valueChanges$.pipe((0,T.M)(e=>{this._inputValueBackup=this.showHint?e:null,this._inputValueForSelectOnExact=this.selectOnExact?e:null,this._onChange(this.editable?e:null)}),this.ngbTypeahead?this.ngbTypeahead:()=>(0,f.of)([]));this._subscription=this._resubscribeTypeahead$.pipe((0,A.n)(()=>n)).subscribe(e=>{e&&0!==e.length?this.selectOnExact&&1===e.length&&this._formatItemForInput(e[0])===this._inputValueForSelectOnExact?(this._selectResult(e[0]),this._closePopup()):(this._openPopup(),this._windowRef.setInput("focusFirst",this.focusFirst),this._windowRef.setInput("results",e),this._windowRef.setInput("term",this._nativeElement.value),this.resultFormatter&&this._windowRef.setInput("formatter",this.resultFormatter),this.resultTemplate&&this._windowRef.setInput("resultTemplate",this.resultTemplate),this._windowRef.instance.resetActive(),this._windowRef.changeDetectorRef.detectChanges(),this._showHint()):this._closePopup();const i=e?e.length:0;this._live.say(0===i?"No results available":`${i} result${1===i?"":"s"} available`)})}_unsubscribeFromUserInput(){this._subscription&&this._subscription.unsubscribe(),this._subscription=null}static#t=a=()=>(this.\u0275fac=function(e){return new(e||r)},this.\u0275dir=t.FsC({type:r,selectors:[["input","ngbTypeahead",""]],hostAttrs:["autocapitalize","off","autocorrect","off","role","combobox"],hostVars:7,hostBindings:function(e,i){1&e&&t.bIt("blur",function(){return i.handleBlur()})("keydown",function(d){return i.handleKeyDown(d)}),2&e&&(t.Avn("autocomplete",i.autocomplete),t.BMQ("aria-autocomplete",i.showHint?"both":"list")("aria-activedescendant",i.activeDescendant)("aria-controls",i.isPopupOpen()?i.popupId:null)("aria-expanded",i.isPopupOpen()),t.AVh("open",i.isPopupOpen()))},inputs:{autocomplete:"autocomplete",container:"container",editable:"editable",focusFirst:"focusFirst",inputFormatter:"inputFormatter",ngbTypeahead:"ngbTypeahead",resultFormatter:"resultFormatter",resultTemplate:"resultTemplate",selectOnExact:"selectOnExact",showHint:"showHint",placement:"placement",popperOptions:"popperOptions",popupClass:"popupClass"},outputs:{selectItem:"selectItem"},exportAs:["ngbTypeahead"],features:[t.Jv_([{provide:g.kq,useExisting:(0,l.Rfq)(()=>r),multi:!0}]),t.OA$]}))}return a(),r})();var R=s(49894),F=s(68018),W=s(97324),H=s(53565),X=s(57786),it=s(71985),ot=s(73703),st=s(5964),at=s(99172),rt=s(44668),lt=s(23294),ct=s(96697),pt=s(65943),ht=s(58588),ut=s(87785);const dt={name:"spinner",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100" preserveAspectRatio="xMidYMid" class="lds-rolling" style="background:0 0"><circle cx="50" cy="50" fill="none" stroke="#1d3f72" stroke-width="10" r="35" stroke-dasharray="164.93361431346415 56.97787143782138" transform="rotate(179.921 50 50)"><animateTransform attributeName="transform" type="rotate" calcMode="linear" values="0 50 50;360 50 50" keyTimes="0;
11" dur="1s" begin="0s" repeatCount="indefinite"/></circle></svg>'};var gt=s(7854),ft=s(8494),mt=s(42822),_t=s(28776),vt=s(816),Ct=s(47642),Ot=s(9308),It=s(77238),Tt=s(45341),xt=s(47007);let V=(()=>{var a;class r{transform(n,e,i){const M=n&&("string"==typeof n?n:n[e.bindTranslateField||e.bindResultField]);return M?i+M:""}static#t=a=()=>(this.\u0275fac=function(e){return new(e||r)},this.\u0275pipe=t.EJ8({name:"datalistResult",type:r,pure:!0}))}return a(),r})();var j,bt=s(91413);function K(a,r,o,n,e,i,h){try{var d=a[i](h),x=d.value}catch(M){return void o(M)}d.done?r(x):Promise.resolve(x).then(n,e)}const Mt=["input"],yt=["*"];function Et(a,r){1&a&&(t.j41(0,"span",22),t.EFF(1,"*"),t.k0s())}function Pt(a,r){if(1&a&&(t.j41(0,"label",20),t.EFF(1),t.nI1(2,"translate"),t.DNE(3,Et,2,0,"span",21),t.k0s()),2&a){const o=t.XpG();t.BMQ("for",o.config.cy?o.config.cy:o.uniqueId),t.R7$(),t.SpI(" ",t.bMT(2,3,o.label||o.config.label)," "),t.R7$(2),t.Y8G("ngIf",o.config.required)}}function At(a,r){if(1&a&&(t.nrm(0,"common-circle-info",23),t.nI1(1,"translate")),2&a){const o=t.XpG();t.AVh("cursor-pointer",o.config.popover.text),t.Y8G("popover",t.bMT(1,4,o.config.popover.text))("popoverPlacement",o.config.popover.placement)}}function Dt(a,r){if(1&a&&(t.j41(0,"div",24),t.nrm(1,"inline-icon",25),t.k0s()),2&a){const o=t.XpG();t.R7$(),t.Y8G("matIcon",o.config.prependIcon)}}function Lt(a,r){if(1&a){const o=t.RV6();t.j41(0,"input",26,2),t.nI1(2,"async"),t.nI1(3,"translate"),t.nI1(4,"datalistResult"),t.nI1(5,"translate"),t.bIt("input",function(e){l.eBV(o);const i=t.XpG();return l.Njj(i.onDatalistInput(e))})("blur",function(e){l.eBV(o);const i=t.XpG();return l.Njj(i.blurEvent(e))})("keydown",function(e){l.eBV(o);const i=t.XpG();return l.Njj(i.onKeydown(e))})("change",function(e){l.eBV(o);const i=t.XpG();return l.Njj(i.changed.emit(e))})("focus",function(e){l.eBV(o);const i=t.XpG();return l.Njj(i.focused.emit(e))})("click",function(){l.eBV(o);const e=t.XpG();return l.Njj(e.click$.next())})("selectItem",function(e){l.eBV(o);const i=t.XpG();return l.Njj(i.selectedItem(e))}),t.k0s()}if(2&a){const o=t.XpG(),n=t.sdS(24);t.AVh("invalid",t.bMT(2,16,o.showErrors$)),t.Y8G("commonDataCyClick",o.config.cy)("disabled",o.disabled)("ngClass",o.config.inputClass)("placeholder",t.bMT(3,18,o.config.placeholder||""))("type",o.config.inputType||"text")("inputFormatter",o.inputFormatter)("value",t.bMT(5,24,t.brH(4,20,o.innerControl.value,o.config,o.dataListValueTranslationPrefix)))("angularticsAction",o.config.eventName)("ngbTypeahead",o.search)("resultTemplate",n)("readonly",o.config?.readonly),t.BMQ("id",o.config.cy?o.config.cy:o.uniqueId)("maxlength",o.config.maxChars)("name",o.config?.name)}}function Rt(a,r){if(1&a){const o=t.RV6();t.j41(0,"input",27,2),t.nI1(2,"translate"),t.bIt("keydown",function(e){l.eBV(o);const i=t.XpG();return l.Njj(i.onKeydown(e))})("input",function(){l.eBV(o);const e=t.XpG();return l.Njj(e.propagateChange(e.innerControl.value))})("change",function(e){l.eBV(o);const i=t.XpG();return l.Njj(i.changed.emit(e))})("focus",function(e){l.eBV(o);const i=t.XpG();return l.Njj(i.focused.emit(e))})("blur",function(e){l.eBV(o);const i=t.XpG();return i.onTouched(),l.Njj(i.blurEvent(e))}),t.k0s(),t.qAN()}if(2&a){const o=t.XpG();t.AVh("with-max-chars",o.showMaxChar),t.Y8G("ngClass",o.config.inputClass)("commonDataCyClick",o.config.cy)("placeholder",t.bMT(2,12,o.config.placeholder||""))("type",o.config.inputType||"text")("maxlength",o.config.maxChars)("formControl",o.innerControl)("angularticsAction",o.config.eventName)("readonly",o.config?.readonly),t.BMQ("id",o.config.cy?o.config.cy:o.uniqueId)("name",o.config?.name),t.QXe()}}function Nt(a,r){1&a&&(t.j41(0,"div",28),t.nrm(1,"inline-icon",29),t.k0s())}function Bt(a,r){1&a&&(t.j41(0,"div",30),t.nrm(1,"inline-icon",31),t.k0s())}function Ft(a,r){if(1&a&&(t.j41(0,"span",32)(1,"span",33),t.EFF(2),t.k0s()()),2&a){const o=t.XpG();t.R7$(2),t.Lme(" ",o.control.value?.length||0," / ",o.config.maxChars," ")}}function Vt(a,r){if(1&a){const o=t.RV6();t.j41(0,"div",34)(1,"inline-icon",35),t.bIt("click",function(){l.eBV(o);const e=t.XpG();return l.Njj(e.cleared.next())}),t.k0s()()}}function jt(a,r){if(1&a&&(t.j41(0,"div",36),t.nrm(1,"inline-icon",37),t.k0s()),2&a){t.XpG();const o=t.sdS(17);t.Y8G("popover",o)}}function Gt(a,r){if(1&a&&(t.nrm(0,"ngb-highlight",38),t.nI1(1,"datalistResult"),t.nI1(2,"translate")),2&a){const o=r.result,n=r.term,e=t.XpG();t.Y8G("result",t.bMT(2,6,t.brH(1,2,o,e.config,e.dataListValueTranslationPrefix)))("term",n.length<(e.config?.datalistOptions?.minLengthToStart
1Search||2)?"":n)}}let G=(()=>{var a;let r=(class S{constructor(n,e,i,h,d,x,M){this.parentForm=n,this.control=e,this.http=i,this.cdr=h,this.baseHref=d,this.translate=x,this.resultPipe=M,this.dataListSubject=new b.t([]),this.dataListValueTranslationPrefix="",this.focused=new l.bkB,this.blurred=new l.bkB,this.changed=new l.bkB,this.cleared=new l.bkB,this.queryChanged=new l.bkB,this.queryCleared=new l.bkB,this.innerControl=new g.hs,this.uniqueId=`control${(new Date).getTime()+Math.random()}`,this.click$=new u.B,this.propagateChange=v=>{},this.search=v=>{const E=this.click$.asObservable().pipe((0,ot.u)("")),N=this.config.datalistOptions?.maxResults||5,kt=this.config.datalistOptions?.filterFn||this.filterFn;return(0,X.h)(v,E).pipe((0,A.n)(Y=>this.inputSuggestions$.pipe((0,_.T)(Y.length<(this.config?.datalistOptions?.minLengthToStartSearch||2)?k=>k.slice(0,N):k=>k.filter(St=>kt(Y,this.getViewValue(St))).slice(0,N)))),(0,R.s)(this))},this.inputFormatter=v=>this.getViewValue(v),(0,ht.N)([ut.Z,dt,gt.k,ft.k]),e.valueAccessor=this}get showMaxChar(){return this.config?.maxChars&&this.config?.showMaxCharInfo}static isNumberKey(n){const e=n.which?n.which:n.keyCode;return e>31&&(e>=48&&e<=57||e>=96&&e<=105||192===e)}ngOnInit(){const n=this.config?.datalistOptions?.loading$||(0,f.of)(!1);this.showSpinner$=(0,X.h)(n,this.control.statusChanges?this.control.statusChanges.pipe((0,st.p)(()=>!!this.control.asyncValidator),(0,_.T)(e=>"PENDING"===e)):(0,f.of)(!1)),this.showErrors$=this.parentForm?this.parentForm.ngSubmit.pipe((0,A.n)(()=>this.parentForm.valueChanges?this.parentForm.valueChanges.pipe((0,at.Z)(!!this.control.invalid),(0,_.T)(()=>!(!this.control.invalid||this.config.disableErrors))):(0,f.of)(!1)),(0,rt.t)({refCount:!0,bufferSize:1})):(0,f.of)(!1),this.control.statusChanges?.pipe((0,lt.F)(),(0,T.M)(()=>{this.cdr.detectChanges()}),(0,R.s)(this)).subscribe(),this.cdr.detectChanges()}prepareInputSuggestions(){this.datalist&&(this.datalist instanceof it.c?(this.inputSuggestions$=this.dataListSubject,this.datalist.pipe((0,T.M)(n=>this.dataListSubject.next(n)),(0,T.M)(()=>this.cdr.markForCheck()),(0,R.s)(this)).subscribe()):this.inputSuggestions$=this.getInputSuggestions(this.datalist))}getInputSuggestions(n){return this.http.get("assets/mock/input-suggestions.json").pipe((0,_.T)(e=>e[n]||[]))}ngAfterViewInit(){this.config.setFocus&&this.inputField.nativeElement.focus()}ngOnChanges(n){n.datalist&&this.prepareInputSuggestions()}getModelValue(n){return n||"string"!=typeof this.innerControl.value?this.config.bindValueField?(n||this.innerControl.value)[this.config.bindValueField]:n||this.innerControl.value:this.innerControl.value}getViewValue(n){return this.translate.instant(this.resultPipe.transform(n||this.innerControl.value,this.config,this.dataListValueTranslationPrefix))}selectedItem(n){this.click$.next(),this.innerControl.patchValue(n.item),this.propagateChange(this.getModelValue()),this.wasSelected=!0}filterFn(n,e){return e.toLowerCase().startsWith(n.toLocaleLowerCase())}get showValidIndicator(){return!this.config.hideValidIndicator&&(this.parentForm&&this.parentForm.submitted||this.submitted)&&this.control.valid&&this.control.value}blurEvent(n){var e=this;return function wt(a){return function(){var r=this,o=arguments;return new Promise(function(n,e){var i=a.apply(r,o);function h(x){K(i,n,e,h,d,"next",x)}function d(x){K(i,n,e,h,d,"throw",x)}h(void 0)})}}(function*(){if(e.config.disallowCustom&&!e.wasSelected){const v=n.target.value,E=yield e.search((0,f.of)(v)).pipe((0,ct.s)(1)).toPromise();if(v&&1===E?.length){const N=e.config.bindResultField?E[0][e.config.bindResultField]:E[0];return e.innerControl.patchValue(E[0]),n.target.value=N,void e.propagateChange(E[0])}if(!e.isValueChanged(v))return;return e.innerControl.patchValue(""),n.target.value="",e.propagateChange(""),void e.queryCleared.emit()}if("object"==typeof e.innerControl.value&&!e.config.custom)return;const i=e.innerControl.value?.trim()??"",h=i.replace(/\s/g,""),d=e.config.regexTrim?i.replace(e.config.regexTrim,""):i;(e.config.maxChars&&e.config.maxChars<=h.length||e.innerControl.value!==d)&&e.innerControl.patchValue(d.substring(0,e.config.maxChars)),e.config.numericOnly&&e.innerControl.value.startsWith(0)&&e.innerControl.patchValue(+e.innerControl.value),e.propagateChange(e.getModelValue()),e.blurred.emit(n)})()}onKeydown(n){const e=this.config.bindResultField?n.target.value:this.control.value??"",i=(this.config.numericOnly?""+e:e).replace(/\s/g,"").length,h=["Delete","Escape","Backspace","Enter","ArrowRight","ArrowLeft","Tab"],d=this.config.numericOnly&&!j.isNumberKey(n)&&!(h.includes(n.key)||n.ctrlKey),x=Number(this.config.maxChars)<=i&&!(h.includes(n.key)||n.ctrlKey)&&!this.isTextSelected();(d||x)&&n.preventDefault()}
1registerOnChange(n){this.propagateChange=n}registerOnTouched(n){this.onTouched=n}writeValue(n){this.innerControl.patchValue(n),this.lastValue=n,this.cdr.detectChanges()}setDisabledState(n){this.disabled=n,n?this.innerControl.disabled?(0,H.A)():this.innerControl.disable():this.innerControl.enabled?(0,H.A)():this.innerControl.enable()}isTextSelected(){return this.inputField.nativeElement.selectionStart!==this.inputField.nativeElement.selectionEnd}onDatalistInput(n){this.wasSelected=!1,this.queryChanged.next(n.target.value),this.config.disallowCustom||(this.innerControl.patchValue(n.target.value),this.propagateChange(this.getModelValue()))}isValueChanged(n){return!this.lastValue||this.getViewValue()!==n}static#t=a=()=>(j=this,this.\u0275fac=function(e){return new(e||S)(t.rXU(g.j4,8),t.rXU(g.vO),t.rXU(bt.Qq),t.rXU(y.gRc),t.rXU(O.kB),t.rXU(F.c$),t.rXU(V))},this.\u0275cmp=t.VBU({type:S,selectors:[["common-text-field"]],viewQuery:function(e,i){if(1&e&&t.GBs(Mt,5),2&e){let h;t.mGM(h=t.lsd())&&(i.inputField=h.first)}},inputs:{disabled:"disabled",config:"config",datalist:"datalist",label:"label",submitted:"submitted",dataListValueTranslationPrefix:"dataListValueTranslationPrefix"},outputs:{focused:"focused",blurred:"blurred",changed:"changed",cleared:"cleared",queryChanged:"queryChanged",queryCleared:"queryCleared"},features:[t.Jv_([V]),t.OA$],ngContentSelectors:yt,decls:25,vars:26,consts:[["popoverContent",""],["rt",""],["input",""],[1,"tw-form-group"],["class","tw-mb-1 tw-text-sm",4,"ngIf"],[3,"cursor-pointer","popover","popoverPlacement",4,"ngIf"],[1,"input-container"],[1,"tw-relative","tw-grow"],["class","left-container",4,"ngIf"],["class","tw-form-control","angulartics2On","input","autocomplete","off",3,"commonDataCyClick","disabled","ngClass","invalid","placeholder","type","inputFormatter","value","angularticsAction","ngbTypeahead","resultTemplate","readonly","input","blur","keydown","change","focus","click","selectItem",4,"ngIf"],["class","tw-form-control","autocomplete","off","autocorrect","off","autocapitalize","off","spellcheck","false","angulartics2On","input",3,"ngClass","commonDataCyClick","placeholder","type","maxlength","formControl","angularticsAction","with-max-chars","readonly","keydown","input","change","focus","blur",4,"ngIf"],[1,"right-container"],["class","valid-indicator",4,"ngIf"],["class","pending tw-mr-2",4,"ngIf"],["class","max-char-info",4,"ngIf"],["class","remove",4,"ngIf"],["class","tooltip-info tw-items-center tw-justify-center cursor-pointer","popoverPlacement","bottom",3,"popover",4,"ngIf"],[3,"innerHTML"],[1,"errors-container"],[3,"errorText","customErrorsMsg","errors"],[1,"tw-mb-1","tw-text-sm"],["class","star",4,"ngIf"],[1,"star"],[3,"popover","popoverPlacement"],[1,"left-container"],[3,"matIcon"],["angulartics2On","input","autocomplete","off",1,"tw-form-control",3,"input","blur","keydown","change","focus","click","selectItem","commonDataCyClick","disabled","ngClass","placeholder","type","inputFormatter","value","angularticsAction","ngbTypeahead","resultTemplate","readonly"],["autocomplete","off","autocorrect","off","autocapitalize","off","spellcheck","false","angulartics2On","input",1,"tw-form-control",3,"keydown","input","change","focus","blur","ngClass","commonDataCyClick","placeholder","type","maxlength","formControl","angularticsAction","readonly"],[1,"valid-indicator"],["commonIcon","tick",1,"icon","tick"],[1,"pending","tw-mr-2"],["commonIcon","spinner"],[1,"max-char-info"],[1,"tw-block","tw-text-right"],[1,"remove"],["commonIcon","close",3,"click"],["popoverPlacement","bottom",1,"tooltip-info","tw-items-center","tw-justify-center","cursor-pointer",3,"popover"],["commonIcon","info",2,"--width","12px","--height","12px","color","#9da7ac"],[3,"result","term"]],template:function(e,i){1&e&&(t.NAR(),t.j41(0,"div",3),t.nI1(1,"async"),t.DNE(2,Pt,4,5,"label",4)(3,At,2,6,"common-circle-info",5),t.j41(4,"div",6)(5,"div",7),t.DNE(6,Dt,2,1,"div",8)(7,Lt,6,26,"input",9)(8,Rt,3,14,"input",10),t.j41(9,"div",11),t.DNE(10,Nt,2,0,"div",12)(11,Bt,2,0,"div",13),t.nI1(12,"async"),t.DNE(13,Ft,3,2,"span",14)(14,Vt,2,0,"div",15)(15,jt,2,1,"div",16),t.j41(16,"popover-content",null,0),t.nrm(18,"div",17),t.nI1(19,"translate"),t.k0s()(),t.j41(20,"div",18),t.nrm(21,"common-field-errors",19),t.k0s()(),t.SdG(22),t.k0s(),t.DNE(23,Gt,3,8,"ng-template",null,1,t.C5r),t.k0s()),2&e&&(t.AVh("errors",(t.bMT(1,20,i.showErrors$)||i.submitted)&&i.control.errors),t.R7$(2),t.Y8G("ngIf",i.label||i.config.label),t.R7$(),t.Y8G("ngIf",i.config.circle),t.R7$(2),t.AVh("data-list",i.datalist)("prependIcon",i.config.prepe
1ndIcon),t.R7$(),t.Y8G("ngIf",i.config.prependIcon),t.R7$(),t.Y8G("ngIf",i.datalist),t.R7$(),t.Y8G("ngIf",!i.datalist),t.R7$(2),t.Y8G("ngIf",i.showValidIndicator),t.R7$(),t.Y8G("ngIf",t.bMT(12,22,i.showSpinner$)),t.R7$(2),t.Y8G("ngIf",i.showMaxChar),t.R7$(),t.Y8G("ngIf",i.config.removeIcon&&i.control.value),t.R7$(),t.Y8G("ngIf",i.config.tooltip&&!i.showValidIndicator),t.R7$(3),t.Y8G("innerHTML",t.bMT(19,24,i.config.tooltip),t.npT),t.R7$(3),t.Y8G("errorText",i.config?.errorText)("customErrorsMsg",i.config?.errorsMsg)("errors",i.control.errors))},dependencies:[c.bT,Ct.H,mt.W,_t.w,nt,W.v_,W.l$,It.z,c.YU,g.X1,g.me,g.BC,g.tU,g.l_,vt.I,Ot.O,xt.D,U,F.h,Tt.U,c.Jj,F.D9,V],styles:['[_nghost-%COMP%]{display:block}[_nghost-%COMP%] .tooltip-info[_ngcontent-%COMP%]{width:20px;height:20px;border-radius:50%;border:2px solid #adb5bd;padding:4px}[_nghost-%COMP%] popover-content[_ngcontent-%COMP%] .popover-content{max-width:none;width:210px;padding:20px}[_nghost-%COMP%] popover-content[_ngcontent-%COMP%] .available-formats-list{padding:0;margin:0;list-style-position:inside}.mb-0[_nghost-%COMP%] .tw-form-group[_ngcontent-%COMP%]{margin-bottom:0!important}.tw-form-control[_ngcontent-%COMP%]::placeholder{color:#757575}.prependIcon[_ngcontent-%COMP%] .tw-form-control[_ngcontent-%COMP%]{padding-left:30px}.tooltip-info[_ngcontent-%COMP%]{display:flex}.tw-form-group[_ngcontent-%COMP%]{position:relative;margin-bottom:0}.tw-form-group[_ngcontent-%COMP%] > label[_ngcontent-%COMP%]{cursor:pointer;color:#888;margin-bottom:3px}.tw-form-group[_ngcontent-%COMP%] > label[_ngcontent-%COMP%] .star[_ngcontent-%COMP%]{color:#f45958}.tw-form-group[_ngcontent-%COMP%] .errors-container[_ngcontent-%COMP%]{display:none;justify-content:flex-end}.tw-form-group.errors[_ngcontent-%COMP%]{margin-bottom:12px}.tw-form-group.errors[_ngcontent-%COMP%] .errors-container[_ngcontent-%COMP%]{display:flex;position:relative}.tw-form-group.errors[_ngcontent-%COMP%] .tooltip-info[_ngcontent-%COMP%]{display:none}.tw-form-group[_ngcontent-%COMP%] .left-container[_ngcontent-%COMP%]{position:absolute;left:8px;top:0;height:100%;display:flex;justify-content:center;align-items:center}.tw-form-group[_ngcontent-%COMP%] .right-container[_ngcontent-%COMP%]{position:absolute;right:8px;top:2px;bottom:2px;display:flex;justify-content:center;align-items:center;background-color:transparent}.tw-form-group[_ngcontent-%COMP%] .right-container[_ngcontent-%COMP%] > *[_ngcontent-%COMP%]{margin-left:3px}.tw-form-group[_ngcontent-%COMP%] .pending[_ngcontent-%COMP%]{width:20px;height:20px}.tw-form-group[_ngcontent-%COMP%] .valid-indicator[_ngcontent-%COMP%]{background-color:#09a59a;width:20px;height:20px;display:flex;justify-content:center;align-items:center;border-radius:50%;color:#fff!important;font-weight:600}.tw-form-group[_ngcontent-%COMP%] .valid-indicator[_ngcontent-%COMP%] inline-icon[_ngcontent-%COMP%]{color:#fff;padding:4px}.tw-form-group[_ngcontent-%COMP%] .remove[_ngcontent-%COMP%]{cursor:pointer}.tw-form-group[_ngcontent-%COMP%] .remove[_ngcontent-%COMP%] svg{width:13px;height:13px}[_nghost-%COMP%] ngb-typeahead-window{max-height:250px;width:100%}[_nghost-%COMP%] ngb-typeahead-window .dropdown-item{cursor:pointer;border:none!important;font-size:14px;padding:5px 10px!important;color:#495057;white-space:normal}[_nghost-%COMP%] ngb-typeahead-window .dropdown-item:hover, [_nghost-%COMP%] ngb-typeahead-window .dropdown-item.active{background-color:#f7f8f9}.max-char-info[_ngcontent-%COMP%]{opacity:.5;color:#888;font-size:12px}.with-max-chars[_ngcontent-%COMP%]{padding-right:80px}.input-container[_ngcontent-%COMP%]{display:flex;align-items:flex-start}.data-list[_ngcontent-%COMP%] .tw-form-control[_ngcontent-%COMP%]{padding-right:20px}.data-list[_ngcontent-%COMP%]:after{content:"";position:absolute;right:15px;top:50%;margin-top:-2px;width:0;height:0;border-left:5px solid transparent;border-right:5px solid transparent;border-top:5px solid #adb5bd;clear:both;pointer-events:none}.data-list[_ngcontent-%COMP%] .errors-container[_ngcontent-%COMP%] .icon{right:23px!important}.data-list[_ngcontent-%COMP%] .right-container[_ngcontent-%COMP%]{right:20px}']}),this)},a());return(0,m.Cg)([(0,pt.R)({maxAge:6e5,async:!0})],r.prototype,"getInputSuggestions",null),r})();G=j=(0,m.Cg)([(0,R.d)()],G)},77238(P,I,s){s.d(I,{z:()=>l});var m=s(88510),O=s(35547),c=s(47697);let l=(()=>{var g;class t extends m.l{set commonDataCyClick(p){p&&this.renderer2.setAttribute(this.elementRef.nativeElement,"data-cy",p)}constructor(p,u,C){super(p,u),this.commonEvents=C}measure(p){this.commonEvents.dataCyElementClicked(p)}static#t=g=()=>(this.\u0275fac=function(u){return new(u||t)(O.rXU(O.aKT),O.rXU(O.sFG),O.rXU(c.L))},this.\u0275dir=O.FsC({type:t,selectors:[["","commonDataCyClick",""]],inputs:{commonDataCyClick:"commonDataCyClick"},features:[O.Vt3]}))}return g(),t})()},88510(P,I,s){s.d(I,{l:()=>A});var m=s(15215),O=s(47266),c=s(49894),l=s(21413),g=s(84412),t=s(33726),y=s(35335),p=s(23294),u=s(5964),C=s(56977),b=s(23386),f=s(3576),_=s(73674),T=s(35547);let A=(()=>{var B;let D=(class ${set dataCyDisabled(w){this.dataCyDisabledSubject.next(w)}constructor(w,L){this.elementRef=w,this.renderer2=L,this.viewName=(0,_.zq)(),this.measureClickDirective=(0,O.WQX)(f.m,{optional:!0}),this.forceAttachLocalHandler=!0,this.destroy$=new l.B,this.dataCyDisabledSubject=ne
1w g.t(!1),this.dataCyDisabled$=this.dataCyDisabledSubject.asObservable().pipe((0,p.F)())}ngOnInit(){this.dataCyDisabled$.pipe((0,c.s)(this)).subscribe(w=>{w||this.forceAttachLocalHandler?this.renderer2.setAttribute(this.elementRef.nativeElement,_.x,"true"):this.renderer2.removeAttribute(this.elementRef.nativeElement,_.x)}),(0,t.R)(this.elementRef.nativeElement,"click").pipe((0,b.c)(3e3),(0,u.p)(()=>!this.dataCyDisabledSubject.getValue()&&(this.forceAttachLocalHandler||!this.measureClickDirective)),(0,C.Q)(this.destroy$.pipe((0,y.c)(0)))).subscribe(()=>{const w=(0,_.km)(this.elementRef.nativeElement);w.dataCy&&this.measure({...w,view:this.viewName})})}ngOnDestroy(){this.destroy$.next()}static#t=B=()=>(this.\u0275fac=function(L){return new(L||$)(T.rXU(T.aKT),T.rXU(T.sFG))},this.\u0275dir=T.FsC({type:$,inputs:{dataCyDisabled:"dataCyDisabled",forceAttachLocalHandler:"forceAttachLocalHandler"}}),this)},B());return D=(0,m.Cg)([(0,c.d)()],D),D})()}}]);
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.