1import{a as L}from"./chunk-3IRW6MAO.js";import{a as j}from"./chunk-AWTSZHSK.js";import{g as q}from"./chunk-3OSB33KW.js";import{G as Q,b as B,e as H,p as b}from"./chunk-LJH5OBMW.js";import{Cb as D,Eb as l,Gb as c,Jc as S,Kc as z,Lb as m,Mb as a,Mh as R,Nb as d,Nh as V,Ob as x,Pa as O,Qa as y,Tc as i,Uc as k,Vb as I,Xb as C,Zb as p,cb as r,fc as T,gc as A,jc as E,lc as h,mc as s,nc as _,ob as P,oc as F,qb as w,sb as N,ua as v,ya as f,za as g,zc as M}from"./chunk-PMSJWPYZ.js";var U=(()=>{class n{element=v(y);formControlDirective=v(b,{optional:!0});trnOnlyNumber=i();onInput(e){if(this.trnOnlyNumber()){e.preventDefault();let o=e.target;this.element.nativeElement.value=o.value.replace(/\D/g,""),this.formControlDirective&&this.formControlDirective.control.setValue(this.element?.nativeElement.value)}}static \u0275fac=function(o){return new(o||n)};static \u0275dir=w({type:n,selectors:[["","trnOnlyNumber",""]],hostBindings:function(o,t){o&1&&C("input",function(G){return t.onInput(G)})},inputs:{trnOnlyNumber:[1,"trnOnlyNumber"]}})}return n})();var K=["textInput"];function W(n,u){n&1&&(s(0),S(1,"cxTranslate")),n&2&&F(" (",z(1,1,"common.optional"),") ")}function X(n,u){n&1&&(a(0,"span",6),s(1,"*"),d())}function Y(n,u){if(n&1&&(a(0,"label",2)(1,"span"),s(2),d(),l(3,W,2,3),l(4,X,2,0,"span",6),d()),n&2){let e=p();m("for",e.name()),r(2),_(e.label()),r(),c(e.isRequired()?-1:3),r(),c(e.showRequiredMarker()?4:-1)}}function Z(n,u){if(n&1&&(a(0,"div",7)(1,"span"),s(2),d()()),n&2){let e=p(2);r(2),_(e.prefix())}}function $(n,u){if(n&1&&x(0,"trn-icon",9),n&2){let e=p(2);m("icon",e.icon())}}function ee(n,u){if(n&1&&(a(0,"div"),l(1,Z,3,1,"div",7),a(2,"div",8),l(3,$,1,1,"trn-icon",9),a(4,"span"),s(5),d()()()),n&2){let e=p();h(M("input-wrapper ",e.size()," disabled")),r(),c(e.prefix()?1:-1),r(2),c(e.icon()?3:-1),r(2),_(e.formControl().value)}}function ne(n,u){if(n&1&&x(0,"trn-icon",9),n&2){let e=p(2);m("icon",e.icon())}}function te(n,u){if(n&1){let e=I();a(0,"div")(1,"div",8),l(2,ne,1,1,"trn-icon",9),a(3,"input",10,0),C("input",function(){f(e);let t=p();return g(t.hideErrorsOnFocus()&&t.clearErrors())})("focusin",function(){f(e);let t=p();return g(t.onFocusIn.emit())})("focusout",function(){f(e);let t=p();return g(t.onFocusOut.emit())}),d()()()}if(n&2){let e=p();h(M("input-wrapper ",e.size())),E("invalid",e.formControl().invalid)("touched",e.formControl().touched),r(2),c(e.icon()?2:-1),r(),m("type",e.type())("name",e.name())("id",e.name())("placeholder",e.placeholder())("formControl",e.formControl())("trnOnlyNumber",e.onlyNumber())("tabindex",e.tabindex())("autofocus",e.autofocus()),D("role",e.inputRole())("aria-controls",e.ariaControls())("aria-activedescendant",e.ariaActivedescendant())("autocomplete",e.inputAutocomplete())("aria-autocomplete",e.ariaAutocomplete())("aria-required",e.isRequired())("aria-invalid",e.isErrorShown())("aria-errormessage",e.isErrorShown()?e.errorId:null)}}var _e=(()=>{class n extends j{input=k("textInput");label=i();placeholder=i("");icon=i();prefix=i();inputRole=i();type=i("text");onlyNumber=i(!1);hideErrorsOnFocus=i(!1);tabindex=i(0);autofocus=i(!1);inputAutocomplete=i();ariaAutocomplete=i();ariaControls=i();ariaActivedescendant=i();clearErrors(){this.formControl().markAsPristine(),this.formControl().markAsUntouched()}static \u0275fac=(()=>{let e;return function(t){return(e||(e=O(n)))(t||n)}})();static \u0275cmp=P({type:n,selectors:[["trn-input-text"]],viewQuery:function(o,t){o&1&&T(t.input,K,5),o&2&&A()},inputs:{label:[1,"label"],placeholder:[1,"placeholder"],icon:[1,"icon"],prefix:[1,"prefix"],inputRole:[1,"inputRole"],type:[1,"type"],onlyNumber:[1,"onlyNumber"],hideErrorsOnFocus:[1,"hideErrorsOnFocus"],tabindex:[1,"tabindex"],autofocus:[1,"autofocus"],inputAutocomplete:[1,"inputAutocomplete"],ariaAutocomplete:[1,"ariaAutocomplete"],ariaControls:[1,"ariaControls"],ariaActivedescendant:[1,"ariaActivedescendant"]},features:[N],decls:5,vars:5,consts:[["textInput",""],[1,"from-field"],[1,"label",3,"for"],[3,"class"],[3,"class","invalid","touched"],[3,"control","id","fieldLabel"],["aria-hidden","true"],[1,"prefix"],[1,"input-container"],[3,"icon"],[1,"input",3,"input","focusin","focusout","type","name","id","placeholder","formControl","trnOnlyNumber","tabindex","autofocus"]],template:function(o,t){o&1&&(a(0,"div",1),l(1,Y,5,4,"label",2),l(2,ee,6,6,"div",3)(3,te,5,24,"div",4),x(4,"trn-input-error",5),d()),o&2&&(r(),c(t.label()?1:-1),r(),c(t.disabled()?2:3),r(2),m("control",t.formControl())("id",t.errorId)("fieldLabel",t.label()))},dependencies:[q,Q,B,H,b,L,U,V,R],styles:[".label[_ngcontent-%COMP%]{font-size:14px;line-height:20px;letter-spacing:normal;font-family:Source Sans Pro,sans-serif;font-weight:600;-webkit-font-smoothing:antialiased;color:#000000bf;padding:0;margin-bottom:4px;display:block}@media all and (min-width:992px){.label[_ngcontent-%COMP%]{margin-bottom:8px}}.input-wrapper[_ngcontent-%COMP%]{position:relative;transition:all .15s cubic-bezier(.35,0,0,1);display:flex;flex-direction:row;padding:0 23px;
1height:56px;border:1px solid #5d5c5b;border-radius:6px}.input-wrapper.touched.invalid[_ngcontent-%COMP%]{border-color:#e3000f}.input-wrapper.touched.invalid[_ngcontent-%COMP%] input[_ngcontent-%COMP%]{color:#e3000f}.input-wrapper.small[_ngcontent-%COMP%]{padding:0 11px;height:40px}.input-wrapper.medium[_ngcontent-%COMP%]{padding:0 15px;height:48px}.input-wrapper.large[_ngcontent-%COMP%]{padding:0 23px;height:56px}.input-wrapper[_ngcontent-%COMP%]:focus-within{border-color:#000}.input-wrapper.disabled[_ngcontent-%COMP%]{border-color:#a8a7a5;pointer-events:none}.input-wrapper.disabled[_ngcontent-%COMP%] > *[_ngcontent-%COMP%]{opacity:.5}.input-wrapper[_ngcontent-%COMP%]:has(.input-container input:focus-visible,mat-select:focus-visible){outline-style:solid;outline-width:3px;outline-color:#003ab8;outline-offset:2px}@media(hover:hover){.input-wrapper[_ngcontent-%COMP%]:has(.input-container input:focus-visible,mat-select:focus-visible):hover{outline:none!important}}@media(hover:hover){.input-wrapper[_ngcontent-%COMP%]:hover{border-color:#000}}.input-container[_ngcontent-%COMP%]{display:flex;flex-direction:row;align-items:center;gap:4px;flex:1}.input-container[_ngcontent-%COMP%] trn-icon[_ngcontent-%COMP%]{height:18px;width:auto;font-size:18px}.input-container[_ngcontent-%COMP%] trn-icon[_ngcontent-%COMP%] img{height:18px;width:auto}.input-container[_ngcontent-%COMP%] trn-icon[_ngcontent-%COMP%]{color:#0000008c}@media all and (min-width:576px){.input-container[_ngcontent-%COMP%]{gap:6px}}.input[_ngcontent-%COMP%]{font-size:16px;line-height:22px;letter-spacing:normal;height:100%;width:100%;margin:0;padding:0;border:none;flex:1;caret-color:#000}.input[_ngcontent-%COMP%]:focus{outline:none}.input[_ngcontent-%COMP%]::-webkit-input-placeholder{color:#0000008c}.input[_ngcontent-%COMP%]::-moz-placeholder{color:#0000008c}.input[_ngcontent-%COMP%]:-moz-placeholder{color:#0000008c}.input[_ngcontent-%COMP%]:-ms-input-placeholder{color:#0000008c}@media all and (min-width:576px){.input[_ngcontent-%COMP%]{font-size:16px;line-height:28px;letter-spacing:normal}}.prefix[_ngcontent-%COMP%]{margin:7px 16px 7px 0;padding-right:12px;border-right:1px solid #5d5c5b}.prefix[_ngcontent-%COMP%] > *[_ngcontent-%COMP%]{padding:0;margin:0}@media all and (min-width:576px){.prefix[_ngcontent-%COMP%]{padding-right:16px}}.suffix[_ngcontent-%COMP%]{margin:7px 0 7px 16px;padding-left:12px;border-left:1px solid #5d5c5b}.suffix[_ngcontent-%COMP%] > *[_ngcontent-%COMP%]{padding:0;margin:0}@media all and (min-width:576px){.suffix[_ngcontent-%COMP%]{padding-left:16px}}input[_ngcontent-%COMP%]{appearance:none;-webkit-appearance:none;-moz-appearance:none;border:none;outline:none;box-shadow:none}input[_ngcontent-%COMP%]::-ms-expand{display:none}input[_ngcontent-%COMP%]::-ms-clear{display:none}input[type=number][_ngcontent-%COMP%]::-webkit-outer-spin-button, input[type=number][_ngcontent-%COMP%]::-webkit-inner-spin-button{appearance:none;margin:0}input[type=number][_ngcontent-%COMP%]{-moz-appearance:textfield}",".prefix[_ngcontent-%COMP%]{align-items:center;display:flex}.input-wrapper[_ngcontent-%COMP%]{background:#fff}"]})}return n})();export{_e as a};
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.