1(window.webpackJsonp=window.webpackJsonp||[]).push([["component-flutter-web-components-lugas-lugas-limit-component"],{gaCo:function(t,i,e){e.r(i),function(t){e.d(i,"LugasLimitComponent",(function(){return d}));var n=e("JJbp"),o=e("/jWx"),s=e("UHzu"),r=function(t,i,e,n){var o,s=arguments.length,r=s<3?i:null===n?n=Object.getOwnPropertyDescriptor(i,e):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(t,i,e,n);else for(var a=t.length-1;a>=0;a--)(o=t[a])&&(r=(s<3?o(r):s>3?o(i,e,r):o(i,e))||r);return s>3&&r&&Object.defineProperty(i,e,r),r},a=function(t,i){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(t,i)},d=function(){function i(t){this.$root=t,this.INVALID_CLASSNAME="c-text-field-primary--invalid",this.VALID_CLASSNAME="c-text-field-primary--valid"}return i.prototype.onInit=function(){this.initElements(),this.initEventListeners(),this.toggleUI(),this.setUpValueValidation(),this.$newLimitInput.prop("disabled",!0),this.$submitButton.prop("disabled",!0),this.hasInvalidInputs()&&this.$newLimitInputContainer.show()},i.prototype.initElements=function(){this.$setNewLimitRadio=this.$root.find("#new_limit"),this.$keepOldLimitRadio=this.$root.find("#old_limit"),this.$newLimitInputContainer=this.$root.find("#register-lugas-limit-txt-field"),this.$newLimitInput=this.$root.find("#newLimit"),this.$submitButton=this.$root.find("#btnSubmit")},i.prototype.initEventListeners=function(){var i=this;this.$keepOldLimitRadio.on("click",(function(){return i.toggleUI()})),this.$keepOldLimitRadio.on("keydown",(function(i){"Enter"!==i.key&&" "!==i.key||t(i.currentTarget).trigger("click")})),this.$setNewLimitRadio.on("click",(function(){return i.toggleUI()})),this.$setNewLimitRadio.on("keydown",(function(i){"Enter"!==i.key&&" "!==i.key||t(i.currentTarget).trigger("click")})),this.$newLimitInput.on("input",(function(){i.$setNewLimitRadio.prop("checked",!0)}))},i.prototype.setUpValueValidation=function(){var t=this;Object(s.createFieldValidator)(this.$root.find("form#lugas-customerdata-limit-form"),o.ValueValidationService.getFieldValidatorOptions({errorElementSelector:"p.error-text",errorElementHTML:'<p class="error-text"></p>',errorClassOnContainer:this.INVALID_CLASSNAME,validityClassOnContainer:this.VALID_CLASSNAME,listenerType:"input",validationCompleteCallback:function(){t.updateSubmitButton(),t.toggleUI()}}),o.RuleSet.LUGAS_LIMIT)},i.prototype.hasInvalidInputs=function(){return this.$root.find(".c-text-field-primary--invalid").length>0},i.prototype.updateSubmitButton=function(){this.hasInvalidInputs()||""===this.$newLimitInput.val()?this.$submitButton.prop("disabled",!0):this.$submitButton.prop("disabled",!1)},i.prototype.toggleUI=function(){var t=this.$setNewLimitRadio.is(":checked"),i=this.$keepOldLimitRadio.is(":checked");(t||i)&&(i?(this.$newLimitInput.prop("disabled",!0),this.$newLimitInputContainer.hide(),this.$newLimitInputContainer.attr("aria-hidden","true"),this.$newLimitInputContainer.find(".mdc-text-field").removeClass("mdc-text-field--focused").find(".mdc-floating-label").removeClass("mdc-floating-label--float-above"),this.$newLimitInputContainer.find(".mdc-notched-outline").removeClass("mdc-notched-outline--notched"),this.$submitButton.prop("disabled",!1)):(this.$newLimitInput.prop("disabled",!1),this.$newLimitInputContainer.show(),this.$newLimitInputContainer.removeAttr("aria-hidden"),this.$newLimitInput.trigger("focus"),this.$newLimitInputContainer.find(".mdc-text-field").addClass("mdc-text-field--focused").find(".mdc-floating-label").addClass("mdc-floating-label--float-above"),this.$newLimitInputContainer.find(".mdc-notched-outline").addClass("mdc-notched-outline--notched"),this.updateSubmitButton()))},i=r([Object(n.ViewComponent)(),a("design:paramtypes",[Object])],i)}()}.call(this,e("8dy7"))}}]);
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.