1import{$ as re,E as te,S as ie,T as ne,ca as se,ea as S,o as Q,q as m,u as ee}from"./chunk-H7FVFE2T.js";import{C as N,G as A,J,f as v,h as M,i as H,ka as oe,l as R,y as Y}from"./chunk-C5UI45FE.js";import{Aa as O,Bb as q,Cb as I,Da as g,Db as u,Eb as w,Gc as $,Ia as L,Ja as P,Jb as U,K as F,Ma as l,Ub as Z,Wc as W,e as _,ja as V,jb as z,k as T,ka as x,ma as E,md as X,nd as p,oa as o,oc as G,pb as K,sb as j,sc as c,tb as C,za as B,zd as D}from"./chunk-4HCLS3C5.js";var ae=(()=>{class i{static \u0275fac=function(t){return new(t||i)};static \u0275cmp=q({type:i,selectors:[["ng-component"]],hostAttrs:["cdk-text-field-style-loader",""],decls:0,vars:0,template:function(t,n){},styles:[`textarea.cdk-textarea-autosize { 2 resize: none; 3} 4 5textarea.cdk-textarea-autosize-measuring { 6 padding: 2px 0 !important; 7 box-sizing: content-box !important; 8 height: auto !important; 9 overflow: hidden !important; 10} 11 12textarea.cdk-textarea-autosize-measuring-firefox { 13 padding: 2px 0 !important; 14 box-sizing: content-box !important; 15 height: 0 !important; 16} 17 18@keyframes cdk-text-field-autofill-start { /*!*/ } 19@keyframes cdk-text-field-autofill-end { /*!*/ } 20.cdk-text-field-autofill-monitored:-webkit-autofill { 21 animation: cdk-text-field-autofill-start 0s 1ms; 22} 23 24.cdk-text-field-autofill-monitored:not(:-webkit-autofill) { 25 animation: cdk-text-field-autofill-end 0s 1ms; 26} 27`],encapsulation:2,changeDetection:0})}return i})(),he={passive:!0},le=(()=>{class i{_platform=o(v);_ngZone=o(g);_renderer=o(j).createRenderer(null,null);_styleLoader=o(R);_monitoredElements=new Map;constructor(){}monitor(e){if(!this._platform.isBrowser)return T;this._styleLoader.load(ae);let t=H(e),n=this._monitoredElements.get(t);if(n)return n.subject;let r=new _,s="cdk-text-field-autofilled",a=h=>{h.animationName==="cdk-text-field-autofill-start"&&!t.classList.contains(s)?(t.classList.add(s),this._ngZone.run(()=>r.next({target:h.target,isAutofilled:!0}))):h.animationName==="cdk-text-field-autofill-end"&&t.classList.contains(s)&&(t.classList.remove(s),this._ngZone.run(()=>r.next({target:h.target,isAutofilled:!1})))},d=this._ngZone.runOutsideAngular(()=>(t.classList.add("cdk-text-field-autofill-monitored"),this._renderer.listen(t,"animationstart",a,he)));return this._monitoredElements.set(t,{subject:r,unlisten:d}),r}stopMonitoring(e){let t=H(e),n=this._monitoredElements.get(t);n&&(n.unlisten(),n.subject.complete(),t.classList.remove("cdk-text-field-autofill-monitored"),t.classList.remove("cdk-text-field-autofilled"),this._monitoredElements.delete(t))}ngOnDestroy(){this._monitoredElements.forEach((e,t)=>this.stopMonitoring(t))}static \u0275fac=function(t){return new(t||i)};static \u0275prov=V({token:i,factory:i.\u0275fac,providedIn:"root"})}return i})();var Te=(()=>{class i{_elementRef=o(l);_platform=o(v);_ngZone=o(g);_renderer=o(C);_resizeEvents=new _;_previousValue;_initialHeight;_destroyed=new _;_listenerCleanups;_minRows;_maxRows;_enabled=!0;_previousMinRows=-1;_textareaElement;get minRows(){return this._minRows}set minRows(e){this._minRows=M(e),this._setMinHeight()}get maxRows(){return this._maxRows}set maxRows(e){this._maxRows=M(e),this._setMaxHeight()}get enabled(){return this._enabled}set enabled(e){this._enabled!==e&&((this._enabled=e)?this.resizeToFitContent(!0):this.reset())}get placeholder(){return this._textareaElement.placeholder}set placeholder(e){this._cachedPlaceholderHeight=void 0,e?this._textareaElement.setAttribute("placeholder",e):this._textareaElement.removeAttribute("placeholder"),this._cacheTextareaPlaceholderHeight()}_cachedLineHeight;_cachedPlaceholderHeight;_document=o(B);_hasFocus=!1;_isViewInited=!1;constructor(){o(R).load(ae),this._textareaElement=this._elementRef.nativeElement}_setMinHeight(){let e=this.minRows&&this._cachedLineHeight?`${this.minRows*this._cachedLineHeight}px`:null;e&&(this._textareaElement.style.minHeight=e)}_setMaxHeight(){let e=this.maxRows&&this._cachedLineHeight?`${this.maxRows*this._cachedLineHeight}px`:null;e&&(this._textareaElement.style.maxHeight=e)}ngAfterViewInit(){this._platform.isBrowser&&(this._initialHeight=this._textareaElement.style.height,this.resizeToFitContent(),this._ngZone.runOutsideAngular(()=>{this._listenerCleanups=[this._renderer.listen("window","resize",()=>this._resizeEvents.next()),this._renderer.listen(this._textareaElement,"focus",this._handleFocusEvent),this._renderer.listen(this._textareaElement,"blur",this._handleFocusEvent)],this._resizeEvents.pipe(F(16)).subscribe(()=>{this._cachedLineHeight=this._cachedPlaceholderHeight=void 0,this.resizeToFitContent(!0)})}),this._isViewInited=!0,this.resizeToFitContent(!0))}
27ngOnDestroy(){this._listenerCleanups?.forEach(e=>e()),this._resizeEvents.complete(),this._destroyed.next(),this._destroyed.complete()}_cacheTextareaLineHeight(){if(this._cachedLineHeight)return;let e=this._textareaElement.cloneNode(!1),t=e.style;e.rows=1,t.position="absolute",t.visibility="hidden",t.border="none",t.padding="0",t.height="",t.minHeight="",t.maxHeight="",t.top=t.bottom=t.left=t.right="auto",t.overflow="hidden",this._textareaElement.parentNode.appendChild(e),this._cachedLineHeight=e.clientHeight,e.remove(),this._setMinHeight(),this._setMaxHeight()}_measureScrollHeight(){let e=this._textareaElement,t=e.style.marginBottom||"",n=this._platform.FIREFOX,r=this._hasFocus,s=n?"cdk-textarea-autosize-measuring-firefox":"cdk-textarea-autosize-measuring";r&&(e.style.marginBottom=`${e.clientHeight}px`),e.classList.add(s);let a=e.scrollHeight-4;return e.classList.remove(s),r&&(e.style.marginBottom=t),a}_cacheTextareaPlaceholderHeight(){if(!this._isViewInited||this._cachedPlaceholderHeight!=null)return;if(!this.placeholder){this._cachedPlaceholderHeight=0;return}let e=this._textareaElement.value;this._textareaElement.value=this._textareaElement.placeholder,this._cachedPlaceholderHeight=this._measureScrollHeight(),this._textareaElement.value=e}_handleFocusEvent=e=>{this._hasFocus=e.type==="focus"};ngDoCheck(){this._platform.isBrowser&&this.resizeToFitContent()}resizeToFitContent(e=!1){if(!this._enabled||(this._cacheTextareaLineHeight(),this._cacheTextareaPlaceholderHeight(),!this._cachedLineHeight))return;let t=this._elementRef.nativeElement,n=t.value;if(!e&&this._minRows===this._previousMinRows&&n===this._previousValue)return;let r=this._measureScrollHeight(),s=Math.max(r,this._cachedPlaceholderHeight||0);t.style.height=`${s}px`,this._ngZone.runOutsideAngular(()=>{typeof requestAnimationFrame<"u"?requestAnimationFrame(()=>this._scrollToCaretPosition(t)):setTimeout(()=>this._scrollToCaretPosition(t))}),this._previousValue=n,this._previousMinRows=this._minRows}reset(){this._initialHeight!==void 0&&(this._textareaElement.style.height=this._initialHeight)}_noopInputHandler(){}_scrollToCaretPosition(e){let{selectionStart:t,selectionEnd:n}=e;!this._destroyed.isStopped&&this._hasFocus&&e.setSelectionRange(t,n)}static \u0275fac=function(t){return new(t||i)};static \u0275dir=u({type:i,selectors:[["textarea","cdkTextareaAutosize",""]],hostAttrs:["rows","1",1,"cdk-textarea-autosize"],hostBindings:function(t,n){t&1&&c("input",function(){return n._noopInputHandler()})},inputs:{minRows:[0,"cdkAutosizeMinRows","minRows"],maxRows:[0,"cdkAutosizeMaxRows","maxRows"],enabled:[2,"cdkTextareaAutosize","enabled",D],placeholder:"placeholder"},exportAs:["cdkTextareaAutosize"]})}return i})(),ue=(()=>{class i{static \u0275fac=function(t){return new(t||i)};static \u0275mod=I({type:i});static \u0275inj=x({})}return i})();var ce=new E("MAT_INPUT_VALUE_ACCESSOR");var me=["button","checkbox","file","hidden","image","radio","range","reset","submit"],fe=new E("MAT_INPUT_CONFIG"),et=(()=>{class i{_elementRef=o(l);_platform=o(v);ngControl=o(m,{optional:!0,self:!0});_autofillMonitor=o(le);_ngZone=o(g);_formField=o(ne,{optional:!0});_renderer=o(C);_uid=o(Y).getId("mat-input-");_previousNativeValue;_inputValueAccessor;_signalBasedValueAccessor;_previousPlaceholder=null;_errorStateTracker;_config=o(fe,{optional:!0});_cleanupIosKeyup;_cleanupWebkitWheel;_isServer=!1;_isNativeSelect=!1;_isTextarea=!1;_isInFormField=!1;focused=!1;stateChanges=new _;controlType="mat-input";autofilled=!1;get disabled(){return this._disabled}set disabled(e){this._disabled=A(e),this.focused&&(this.focused=!1,this.stateChanges.next())}_disabled=!1;get id(){return this._id}set id(e){this._id=e||this._uid}_id;placeholder;name;get required(){return this._required??this.ngControl?.control?.hasValidator(Q.required)??!1}set required(e){this._required=A(e)}_required;get type(){return this._type}set type(e){this._type=e||"text",this._validateType(),!this._isTextarea&&N().has(this._type)&&(this._elementRef.nativeElement.type=this._type)}_type="text";get errorStateMatcher(){return this._errorStateTracker.matcher}set errorStateMatcher(e){this._errorStateTracker.matcher=e}userAriaDescribedBy;get value(){return this._signalBasedValueAccessor?this._signalBasedValueAccessor.value():this._inputValueAccessor.value}set value(e){e!==this.value&&(this._signalBasedValueAccessor?this._signalBasedValueAccessor.value.set(e):this._inputValueAccessor.value=e,this.stateChanges.next())}get readonly(){return this._readonly}set readonly(e){this._readonly=A(e)}_readonly=!1;disabledInteractive;get errorState(){return this._errorStateTracker.errorState}set errorState(e){this._errorStateTracker.errorState=e}_neverEmptyInputTypes=["date","datetime","datetime-local","month","time","week"].filter(e=>N().has(e));constructor(){let e=o(ee,{optional:!0}),t=o(te,{optional:!0}),n=o(re),r=o(ce,{optional:!0,self:!0}),s=this._elementRef.nativeElement,a=s.nodeName.toLowerCase();r?U(r.value)?this._signalBasedValueAccessor=r:this._inputValueAccessor=r:this._inputValueAccessor=s,this._previousNativeValue=this.value,this.id=this.id,this._platform.IOS&&this._ngZone.runOutsideAngular(()=>{this._cleanupIosKeyup=this._renderer.listen(s,"keyup",this._iOSKeyupListener)}),this._errorStateTracker=new se(n,this.ngControl,t,e,this.stateChanges),this._isServer=!this._platform.isBrowser,this._isNativeSelect=a==="select",this._isTextarea=a==="textarea",this._isInFormField=!!this._formField,this.disabledInteractive=this._config?.disabledInteractive||!1,this._isNativeSelect&&(this.controlType=s.multiple?"mat-native-select-multiple":"mat-native-select"),this._signalBasedValueAccessor&&L(()=>{this._signalBasedValueAccessor.value(),this.stateChanges.next()})}ngAfterViewInit(){this._platform.isBrowser&&this._autofillMonitor.monitor(this._elementRef.nativeElement).subscribe(e=>{this.autofilled=e.isAutofilled,this.stateChanges.next()})}ngOnChanges(){this.stateChanges.next()}ngOnDestroy(){this.stateChanges.complete(),this._platform.isBrowser&&this._autofillMonitor.stopMonitoring(this._elementRef.nativeElement),this._cleanupIosKeyup?.(),this._cleanupWebkitWheel?.()}ngDoCheck(){this.ngControl&&(this.updateErrorState(),this.ngControl.disabled!==null&&this.ngControl.disabled!==this.disabled&&(this.disabled=this.ngControl.disabled,this.stateChanges.next())),this._dirtyCheckNativeValue(),this._dirtyCheckPlaceholder()}focus(e){this._elementRef.nativeElement.focus(e)}updateErrorState(){this._errorStateTracker.updateErrorState()}_focusChanged(e){if(e!==this.focused){if(!this._isNativeSelect&&e&&this.disabled&&this.disabledInteractive){let t=this._elementRef.nativeElement;t.type==="number"?(t.type="text",t.setSelectionRange(0,0),t.type="number"):t.setSelectionRange(0,0)}this.focused=e,this.stateChanges.next()}}_onInput(){}_dirtyCheckNativeValue(){let e=this._elementRef.nativeElement.value;this._previousNativeValue!==e&&(this._previousNativeValue=e,this.stateChanges.next())}_dirtyCheckPlaceholder(){let e=this._getPlaceholder();if(e!==this._previousPlaceholder){let t=this._elementRef.nativeElement;this._previousPlaceholder=e,e?t.setAttribute("placeholder",e):t.removeAttribute("placeholder")}}_getPlaceholder(){return this.placeholder||null}_validateType(){me.indexOf(this._type)>-1}_isNeverEmpty(){return this._neverEmptyInputTypes.indexOf(this._type)>-1}_isBadInput(){let e=this._elementRef.nativeElement.validity;return e&&e.badInput}get empty(){return!this._isNeverEmpty()&&!this._elementRef.nativeElement.value&&!this._isBadInput()&&!this.autofilled}get shouldLabelFloat(){if(this._isNativeSelect){let e=this._elementRef.nativeElement,t=e.options[0];return this.focused||e.multiple||!this.empty||!!(e.selectedIndex>-1&&t&&t.label)}else return this.focused&&!this.disabled||!this.empty}get describedByIds(){return this._elementRef.nativeElement.getAttribute("aria-describedby")?.split(" ")||[]}setDescribedByIds(e){let t=this._elementRef.nativeElement;e.length?t.setAttribute("aria-describedby",e.join(" ")):t.removeAttribute("aria-describedby")}onContainerClick(){this.focused||this.focus()}_isInlineSelect(){let e=this._elementRef.nativeElement;return this._isNativeSelect&&(e.multiple||e.size>1)}_iOSKeyupListener=e=>{let t=e.target;!t.value&&t.selectionStart===0&&t.selectionEnd===0&&(t.setSelectionRange(1,1),t.setSelectionRange(0,0))};_getReadonlyAttribute(){return this._isNativeSelect?null:this.readonly||this.disabled&&this.disabledInteractive?"true":null}static \u0275fac=function(t){return new(t||i)};static \u0275dir=u({type:i,selectors:[["input","matInput",""],["textarea","matInput",""],["select","matNativeControl",""],["input","matNativeControl",""],["textarea","matNativeControl",""]],hostAttrs:[1,"mat-mdc-input-element"],hostVars:21,hostBindings:function(t,n){t&1&&c("focus",function(){return n._focusChanged(!0)})("blur",function(){return n._focusChanged(!1)})("input",function(){return n._onInput()}),t&2&&(G("id",n.id)("disabled",n.disabled&&!n.disabledInteractive)("required",n.required),Z("name",n.name||null)("readonly",n._getReadonlyAttribute())("aria-disabled",n.disabled&&n.disabledInteractive?"true":null)("aria-invalid",n.empty&&n.required?null:n.errorState)("aria-required",n.required)("id",n.id),$("mat-input-server",n._isServer)("mat-mdc-form-field-textarea-control",n._isInFormField&&n._isTextarea)("mat-mdc-form-field-input-control",n._isInFormField)("mat-mdc-input-disabled-interactive",n.disabledInteractive)("mdc-text-field__input",n._isInFormField)("mat-mdc-native-select-inline",n._isInlineSelect()))},inputs:{disabled:"disabled",id:"id",placeholder:"placeholder",name:"name",required:"required",type:"type",errorStateMatcher:"errorStateMatcher",userAriaDescribedBy:[0,"aria-describedby","userAriaDescribedBy"],value:"value",readonly:"readonly",disabledInteractive:[2,"disabledInteractive","disabledInteractive",D]},exportAs:["matInput"],features:[W([{provide:ie,useExisting:i}]),P]})}return i})(),tt=(()=>
27{class i{static \u0275fac=function(t){return new(t||i)};static \u0275mod=I({type:i});static \u0275inj=x({imports:[S,S,ue,J]})}return i})();var st=(()=>{class i{constructor(){this.el=o(l),this.autofocus=p(!0,{alias:"stbyAutofocus",transform:e=>e!==!1&&e!==null&&e!==void 0})}ngAfterViewInit(){this.autofocus()&&setTimeout(()=>{this.el.nativeElement.hidden||this.el.nativeElement.focus(),this.observer=new MutationObserver(e=>{for(let t of e)t.type==="attributes"&&t.attributeName==="hidden"&&(this.el.nativeElement.hidden||this.el.nativeElement.focus())}),this.observer.observe(this.el.nativeElement,{attributes:!0})},100)}ngOnDestroy(){this.observer&&this.observer.disconnect()}static{this.\u0275fac=function(t){return new(t||i)}}static{this.\u0275dir=u({type:i,selectors:[["","stbyAutofocus",""]],inputs:{autofocus:[1,"stbyAutofocus","autofocus"]}})}}return i})();var at=(()=>{class i{transform(){return"\u20AC"}static{this.\u0275fac=function(t){return new(t||i)}}static{this.\u0275pipe=w({name:"stbyCurrencySymbol",type:i,pure:!0})}}return i})();var pt=(()=>{class i{constructor(){this.el=o(l),this.ngControl=o(m,{optional:!0}),this.destroyRef=o(O),this.lastRenderedValue="",K(()=>{let e=this.el.nativeElement;e.setAttribute("autocomplete","off"),e.setAttribute("spellcheck","false");let t=this.ngControl?.control;t&&(t.valueChanges.pipe(oe(this.destroyRef)).subscribe(n=>{let r=y(n??""),s=k(r);e.value!==s&&(e.value=s),n!==r&&t.setValue(r,{emitEvent:!1}),this.lastRenderedValue=e.value}),e.value&&(e.value=k(y(e.value))),this.lastRenderedValue=e.value)})}ngDoCheck(){let e=this.el.nativeElement;if(e.value===this.lastRenderedValue)return;let t=k(y(e.value));t!==e.value&&(e.value=t),this.lastRenderedValue=e.value}onInput(){let e=this.el.nativeElement,t=e.selectionStart??0,n=y(e.value.slice(0,t)).length,r=y(e.value),s=k(r);e.value=s;let a=_e(s,n);e.setSelectionRange(a,a),this.lastRenderedValue=s,queueMicrotask(()=>{let d=this.ngControl?.control;!d||d.value===r||d.setValue(r,{emitEvent:!1})})}onKeyDown(e){ge(e)||/^[A-Za-z0-9]$/.test(e.key)||e.preventDefault()}static{this.\u0275fac=function(t){return new(t||i)}}static{this.\u0275dir=u({type:i,selectors:[["input","stbyIbanInput",""]],hostBindings:function(t,n){t&1&&c("input",function(){return n.onInput()})("keydown",function(s){return n.onKeyDown(s)})}})}}return i})();function y(i){return(i??"").replace(/[^A-Za-z0-9]/g,"").toUpperCase().slice(0,34)}function k(i){return i.replace(/(.{4})(?=.)/g,"$1 ")}function _e(i,b){if(b===0)return 0;let e=0;for(let t=0;t<i.length;t++)if(i[t]!==" "&&(e++,e===b))return t+1;return i.length}function ge(i){return["ArrowLeft","ArrowRight","Backspace","Delete","Tab","Home","End","Enter"].includes(i.key)?!0:(i.ctrlKey||i.metaKey)&&["a","c","v","x","z"].includes(i.key.toLowerCase())}var xt=(()=>{class i{constructor(){this.el=o(l),this.ngControl=o(m,{optional:!0}),this.allowNegative=p(!0),this.integerOnly=p(!1),this.min=p(null),this.max=p(null)}ngOnInit(){let e=this.el.nativeElement;e.inputMode=this.integerOnly()?"numeric":"decimal";let t=this.min();t!==null&&e.setAttribute("min",t.toString());let n=this.max();n!==null&&e.setAttribute("max",n.toString())}onInput(e){if(e==="-"&&this.allowNegative())return;let t=this.sanitizeValue(e);t!==e&&this.updateValue(t)}onBlur(){let e=this.el.nativeElement.value;if(e===""){this.updateValue("");return}if(e==="-"){if(document.activeElement===this.el.nativeElement)return;this.updateValue("");return}let t=this.parseValue(e);this.integerOnly()&&(t=Math.round(t));let n=this.min();n!==null&&t<n&&(t=n);let r=this.max();r!==null&&t>r&&(t=r);let s=this.formatValue(t);this.updateValue(s)}onKeyDown(e){let t=["ArrowLeft","ArrowRight","ArrowUp","ArrowDown","Backspace","Delete","Tab","Home","End","Enter"],n=["a","c","v","x","z"];if(!(t.includes(e.key)||(e.ctrlKey||e.metaKey)&&n.includes(e.key.toLowerCase()))){if(e.key==="-"&&this.allowNegative()){let s=this.el.nativeElement,a=s.selectionStart||0,d=(s.selectionEnd||0)-a;if(a===0&&(!s.value.includes("-")||s.value.startsWith("-")&&d>0))return;e.preventDefault();return}if(e.key==="."||e.key===","){if(this.integerOnly()){e.preventDefault();return}let s=this.el.nativeElement;(s.value.includes(".")||s.value.includes(","))&&e.preventDefault();return}/^\d$/.test(e.key)||e.preventDefault()}}
27sanitizeValue(e){let t=this.allowNegative();if(e==="-"&&t)return"-";let n=!1,r=e;if(t&&e.startsWith("-")&&(n=!0,r=e.substring(1)),this.integerOnly())r=r.replace(/[^0-9]/g,"");else{r=r.replace(/[^0-9.,]/g,"");let s=!1,a="";for(let d=0;d<r.length;d++){let h=r[d];(h==="."||h===",")&&!s?(a+=h,s=!0):h!=="."&&h!==","&&(a+=h)}r=a}return n&&t&&(r="-"+r),r}parseValue(e){return parseFloat(e.replace(/,/g,"."))}formatValue(e){if(isNaN(e))return"";if(this.integerOnly())return Math.round(e).toString();{let n=this.el.nativeElement.value.includes(",")?",":".";return e.toString().replace(".",n)}}updateValue(e){if(this.el.nativeElement.value=e,this.ngControl&&this.ngControl.control){let n=e===""||e==="-"?null:this.parseValue(e);this.ngControl.control.setValue(n,{emitEvent:!0})}let t=new Event("input",{bubbles:!0});this.el.nativeElement.dispatchEvent(t)}static{this.\u0275fac=function(t){return new(t||i)}}static{this.\u0275dir=u({type:i,selectors:[["input","type","text","stbyNumericInput",""]],hostBindings:function(t,n){t&1&&c("input",function(s){return n.onInput(s.target.value)})("blur",function(){return n.onBlur()})("keydown",function(s){return n.onKeyDown(s)})},inputs:{allowNegative:[1,"allowNegative"],integerOnly:[1,"integerOnly"],min:[1,"min"],max:[1,"max"]}})}}return i})();var kt=(()=>{class i{constructor(){this._elementRef=o(l),this.clickOutside=X()}onClick(e,t){if(!t)return;this._elementRef.nativeElement.contains(t)||this.clickOutside.emit(e)}static{this.\u0275fac=function(t){return new(t||i)}}static{this.\u0275dir=u({type:i,selectors:[["","stbyClickOutside",""]],hostBindings:function(t,n){t&1&&c("click",function(s){return n.onClick(s,s.target)},z)},outputs:{clickOutside:"clickOutside"}})}}return i})();var Ot=(()=>{class i{constructor(){this.el=o(l),this.ngControl=o(m,{optional:!0}),this.el.nativeElement.inputMode="numeric",this.el.nativeElement.maxLength=11}onInput(){let e=this.el.nativeElement,t=e.value.replace(/[^0-9]/g,"").slice(0,11);t!==e.value&&(e.value=t,this.ngControl?.control?.setValue(t,{emitEvent:!0}))}onKeyDown(e){ve(e)||/^\d$/.test(e.key)||e.preventDefault()}static{this.\u0275fac=function(t){return new(t||i)}}static{this.\u0275dir=u({type:i,selectors:[["input","stbyIdCodeInput",""]],hostBindings:function(t,n){t&1&&c("input",function(){return n.onInput()})("keydown",function(s){return n.onKeyDown(s)})}})}}return i})();function ve(i){return["ArrowLeft","ArrowRight","Backspace","Delete","Tab","Home","End","Enter"].includes(i.key)?!0:(i.ctrlKey||i.metaKey)&&["a","c","v","x","z"].includes(i.key.toLowerCase())}var Xt=(()=>{class i{transform(e){return e}static{this.\u0275fac=function(t){return new(t||i)}}static{this.\u0275pipe=w({name:"stbyFormGroup",type:i,pure:!0})}}return i})();export{ce as a,Te as b,et as c,tt as d,st as e,at as f,Xt as g,kt as h,pt as i,k as j,Ot as k,xt as l};
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.