1Type.registerNamespace("Telerik.Web.UI"); 2Telerik.Web.UI.PasswordStrengthChecker=function(a){Telerik.Web.UI.PasswordStrengthChecker.initializeBase(this,[a]); 3}; 4Telerik.Web.UI.PasswordStrengthChecker.prototype={initialize:function(){Telerik.Web.UI.PasswordStrengthChecker.callBaseMethod(this,"initialize"); 5},dispose:function(){},_getPasswordStrength:function(e,p){var m=e; 6var n=""; 7var l=0; 8var s=p.CalculationWeightings.split(";"); 9var b=parseInt(s[0],10); 10var c=parseInt(s[1],10); 11var a=parseInt(s[2],10); 12var d=parseInt(s[3],10); 13var o=m.length/p.PreferredPasswordLength; 14if(o>1){o=1; 15}var f=(o*b); 16l+=f; 17if(o<1){n=String.format("Remaining characters",p.PreferredPasswordLength-m.length); 18}var i; 19if(p.MinimumNumericCharacters>0){var h=new RegExp("[0-9]","g"); 20i=this._getRegexCount(h,m); 21if(i>=p.MinimumNumericCharacters){l+=c; 22}if(i<p.MinimumNumericCharacters){if(n!=""){n+=", "; 23}n+=String.format("Remaining numbers",p.MinimumNumericCharacters-i); 24}}else{l+=(o*c); 25}if(p.RequiresUpperAndLowerCaseCharacters==true||(typeof(p.RequiresUpperAndLowerCaseCharacters)=="string"&&Boolean.parse(p.RequiresUpperAndLowerCaseCharacters)==true)){var g=new RegExp("[a-z]","g"); 26var r=new RegExp("[A-Z]","g"); 27var j=this._getRegexCount(g,m); 28var k=this._getRegexCount(r,m); 29if(j>0||k>0){if(j>=p.MinLowerCaseChars&&k>=p.MinUpperCaseChars){l+=a; 30}else{if(p.MinLowerCaseChars>0&&(p.MinLowerCaseChars-j)>0){if(n!=""){n+=", "; 31}n+=String.format("Remaining lower case",p.MinLowerCaseChars-j); 32}if(p.MinUpperCaseChars>0&&(p.MinUpperCaseChars-k)>0){if(n!=""){n+=", "; 33}n+=String.format("Remaining upper case",p.MinUpperCaseChars-k); 34}}}else{if(n!=""){n+=", "; 35}n+="Mixed case characters"; 36}}else{l+=(o*a); 37}if(p.MinimumSymbolCharacters>0){var q=new RegExp("[^a-zA-Z0-9\x20]","g"); 38i=this._getRegexCount(q,m); 39if(i>=p.MinimumSymbolCharacters){l+=d; 40}if(i<p.MinimumSymbolCharacters){if(n!=""){n+=", "; 41}n+=String.format("Remaining symbols",p.MinimumSymbolCharacters-i); 42}}else{l+=(o*d); 43}return l; 44},showStrength:function(e,a,h){var g=this._getPasswordStrength(a.value,h); 45var b=new Telerik.Web.UI.PasswordStrengthCalculatingEventArgs(a.value,g,""); 46e.raise_passwordStrengthCalculating(b); 47var c=null; 48if(b._strengthScore>0&&b._strengthScore<=100){c=Math.floor(b._strengthScore/25); 49}var d=""; 50if(b._indicatorText){d=b._indicatorText; 51}else{if(h._IndicatorWords==undefined){h._IndicatorWords=h.TextStrengthDescriptions.split(";"); 52while(h._IndicatorWords.length<5){h._IndicatorWords[h._IndicatorWords.length]=""; 53}}if(c!=null){d=h._IndicatorWords[c]; 54}}if(h._IndicatorStyles==undefined){h._IndicatorStyles=h.TextStrengthDescriptionStyles.split(";"); 55}var f=null; 56if(h.IndicatorElementID==""){if(e.get_element){f=$get(e.get_element().id+"_passwordStrengthIndicator"); 57}else{f=$get(a.id+"_passwordStrengthIndicator"); 58}}else{f=$get(h.IndicatorElementID); 59}if(f){f.innerHTML=d; 60if(c!=null){f.className=h.IndicatorElementBaseStyle+" "+h._IndicatorStyles[c+1]; 61}else{f.className=h.IndicatorElementBaseStyle+" "+h._IndicatorStyles[0]; 62}}},_getRegexCount:function(b,d){var a=0; 63if(d!=null&&d!=""){var c=d.match(b); 64if(c!=null){a=c.length; 65}}return a; 66}}; 67Telerik.Web.UI.PasswordStrengthChecker.registerClass("Telerik.Web.UI.PasswordStrengthChecker",Telerik.Web.UI.RadWebControl); 68Type.registerNamespace("Telerik.Web.UI"); 69Telerik.Web.UI.RadInputControl=function(a){Telerik.Web.UI.RadInputControl.initializeBase(this,[a]); 70this._autoPostBack=false; 71this._enabled=true; 72this._showButton=false; 73this._invalidStyleDuration=100; 74this._selectionOnFocus=Telerik.Web.UI.SelectionOnFocus.None; 75this._postBackEventReferenceScript=""; 76this._styles=null; 77this._skin=null; 78this._enableAriaSupport=false; 79this._causesValidation=false; 80this._validationGroup=""; 81this._isEnterPressed=false; 82this._isDropped=false; 83this._enableOldBoxModel=false; 84this._shouldResetWidthInPixels=true; 85this._reducedPixelWidthFlag=false; 86this._originalTextBoxWidth=null; 87this._originalCellPadding=null; 88this._originalDisplay=null; 89this._onTextBoxKeyUpDelegate=null; 90this._onTextBoxKeyPressDelegate=null; 91this._onTextBoxBlurDelegate=null; 92this._onTextBoxFocusDelegate=null; 93this._onTextBoxDragEnterDelegate=null; 94this._onTextBoxDragLeaveDelegate=null; 95this._onTextBoxDragDropDelegate=null; 96this._onTextBoxMouseOutDelegate=null; 97this._onTextBoxMouseOverDelegate=null; 98this._onTextBoxKeyDownDelegate=null; 99this._onTextBoxMouseWheelDelegate=null; 100this._onFormResetDelegate=null; 101this._emptyMessage=""; 102this._initialValueAsText=null; 103this._originalInitialValueAsText="";
104this._validationText=""; 105this._displayText=""; 106this._value=""; 107this._text=""; 108this._holdsValidValue=true; 109this._lastSetTextBoxValue=""; 110this._onTextBoxMouseUpDelegate=null; 111this._focused=false; 112this._isRtl=false; 113this._nonTableLayout=true; 114}; 115Telerik.Web.UI.RadInputControl.prototype={initialize:function(){Telerik.Web.UI.RadInputControl.OverrideValidatorFunctions(); 116Telerik.Web.UI.RadInputControl.callBaseMethod(this,"initialize"); 117this._clientID=this.get_id(); 118this._wrapperElementID=this.get_id()+"_wrapper"; 119this._nonTableLayout=this.get_wrapperElement().className.indexOf("riSingle")>-1; 120this._textBoxElement=$get(this._clientID); 121this._textBoxElement.RadInputValidationValue=this._validationText; 122if(this._initialValueAsText!==null){this._value=this._constructValueFromInitialText(this._initialValueAsText); 123this._text=this._constructEditText(this._value); 124this._originalInitialValueAsText=this._initialValueAsText; 125}this._lastSetTextBoxValue=this._displayText; 126this._textBoxElement.RadInputLastSetTextBoxValue=this._displayText; 127this._initialValueAsText=this._text; 128if(this._nonTableLayout&&$telerik.isIE7){this._textBoxElement.style.width="100%"; 129this._enableOldBoxModel=true; 130}this._originalTextBoxCssText=this._textBoxElement.style.cssText; 131if(this._originalTextBoxCssText.lastIndexOf(";")!=this._originalTextBoxCssText.length-1){this._originalTextBoxCssText+=";"; 132}var c=this.get_wrapperElement(); 133if(c.style.display=="none"){this._originalDisplay=""; 134}else{this._originalDisplay=c.style.display; 135}if($telerik.isIE7||$telerik.quirksMode){if(this._originalDisplay=="inline-block"){this._originalDisplay="inline"; 136c.style.zoom=1; 137}else{if(document.documentMode&&document.documentMode>7&&this._originalDisplay=="inline"){this._originalDisplay="inline-block"; 138}}}if(c.style.display!="none"){c.style.display=this._originalDisplay; 139}if($telerik.getCurrentStyle(c,"direction")=="rtl"){var a=this._skin!=""?String.format(" RadInputRTL_{0}",this._skin):""; 140c.className+=String.format(" RadInputRTL{0}",a); 141this._isRtl=true; 142}this.repaint(); 143this._originalMaxLength=this._textBoxElement.maxLength; 144if(this._originalMaxLength==-1){this._originalMaxLength=2147483647; 145}this._selectionEnd=0; 146this._selectionStart=0; 147this._hovered=false; 148this._invalid=false; 149this._attachEventHandlers(); 150if(this._focused){this.updateDisplayValue(); 151var b=this; 152setTimeout(function(){b._updateSelectionOnFocus(); 153},0); 154}else{if(($telerik.isFirefox2||$telerik.isSafari)&&this.isEmpty()&&this.get_emptyMessage().length>this._originalMaxLength){this.updateDisplayValue(); 155}}this.updateCssClass(); 156this._initializeButtons(); 157if(this.get_enableAriaSupport()){this._initializeAriaSupport(); 158}this.updateClientState(); 159this.raise_load(Sys.EventArgs.Empty); 160},dispose:function(){Telerik.Web.UI.RadInputControl.callBaseMethod(this,"dispose"); 161if(this.Button){if(this._onButtonClickDelegate){window.$removeHandler(this.Button,"click",this._onButtonClickDelegate); 162this._onButtonClickDelegate=null; 163}}if(this._onTextBoxPasteDelegate){window.$removeHandler(this._textBoxElement,"paste",this._onTextBoxPasteDelegate); 164this._onTextBoxPasteDelegate=null; 165}if(this._onTextBoxKeyDownDelegate){window.$removeHandler(this._textBoxElement,"keydown",this._onTextBoxKeyDownDelegate); 166this._onTextBoxKeyDownDelegate=null; 167}if(this._onTextBoxKeyPressDelegate){window.$removeHandler(this._textBoxElement,"keypress",this._onTextBoxKeyPressDelegate); 168this._onTextBoxKeyPressDelegate=null; 169}if(this._onTextBoxKeyUpDelegate){window.$removeHandler(this._textBoxElement,"keyup",this._onTextBoxKeyUpDelegate); 170this._onTextBoxKeyUpDelegate=null; 171}if(this._onTextBoxBlurDelegate){window.$removeHandler(this._textBoxElement,"blur",this._onTextBoxBlurDelegate); 172this._onTextBoxBlurDelegate=null; 173}if(this._onTextBoxFocusDelegate){window.$removeHandler(this._textBoxElement,"focus",this._onTextBoxFocusDelegate); 174this._onTextBoxFocusDelegate=null; 175}if(this._onTextBoxDragEnterDelegate){window.$removeHandler(this._textBoxElement,"dragenter",this._onTextBoxDragEnterDelegate); 176this._onTextBoxDragEnterDelegate=null; 177}if(this._onTextBoxDragLeaveDelegate){window.$removeHandler(this._textBoxElement,"dragleave",this._onTextBoxDragLeaveDelegate); 178this._onTextBoxDragLeaveDelegate=null; 179}if(this._onTextBoxMouseOutDelegate){window.$removeHandler(this._textBoxElement,"mouseout",this._onTextBoxMouseOutDelegate); 180this._onTextBoxMouseOutDelegate=null; 181}if(this._onTextBoxMouseOverDelegate){window.$removeHandler(this._textBoxElement,"mouseover",this._onTextBoxMouseOverDelegate); 182this._onTextBoxMouseOverDelegate=null; 183}if(this._onTextBoxMouseUpDelegate){window.$removeHandler(this._textBoxElement,"mouseup",this._onTextBoxMouseUpDelegate); 184this._onTextBoxMouseUpDelegate=null; 185}if(this._onFormResetDelegate){if(this._textBoxElement.form){window.$removeHandler(this._textBoxElement.form,"reset",this._onFormResetDelegate); 186}this._onFormResetDelegate=null; 187}if(!$telerik.isIE){if(this._onTextBoxMouseWheelDelegate){if($telerik.isSafari||$telerik.isOpera){window.$removeHandler(this._textBoxElement,"mousewheel",this._onTextBoxMouseWheelDelegate); 188}else{window.$removeHandler(this._textBoxElement,"DOMMouseScroll",this._onTextBoxMouseWheelDelegate); 189}this._onTextBoxMouseWheelDelegate=null; 190}}else{if(this._onTextBoxMouseWheelDelegate){window.$removeHandler(this._textBoxElement,"mousewheel",this._onTextBoxMouseWheelDelegate); 191this._onTextBoxMouseWheelDelegate=null; 192}}if(this._onTextBoxDragDropDelegate){window.$removeHandler(this._textBoxElement,"drop",this._onTextBoxDragDropDelegate); 193this._onTextBoxDragDropDelegate=null; 194}if(this._textBoxElement){this._textBoxElement._events=null; 195}},clear:function(){this.set_value(""); 196},disable:function(){this.set_enabled(false); 197this._textBoxElement.disabled="disabled"; 198this.updateCssClass(); 199this.updateClientState(); 200this.raise_disable(Sys.EventArgs.Empty); 201},enable:function(){this.set_enabled(true); 202this._textBoxElement.disabled=""; 203this.updateCssClass(); 204this.updateClientState(); 205this.raise_enable(Sys.EventArgs.Empty); 206},focus:function(){if(!this._textBoxElement.disabled){this._textBoxElement.focus(); 207}},blur:function(){this._textBoxElement.blur(); 208}
208,isEmpty:function(){return this._validationText==""; 209},isNegative:function(){return false; 210},isReadOnly:function(){return this._textBoxElement.readOnly||!this._enabled; 211},isMultiLine:function(){return this._textBoxElement&&this._textBoxElement.tagName.toUpperCase()=="TEXTAREA"; 212},updateDisplayValue:function(){if(this._focused){if(!this._holdsValidValue){this._holdsValidValue=true; 213}else{this.set_textBoxValue(this.get_editValue()); 214}}else{if(this._isEmptyMessage()){this.set_textBoxValue(this.get_emptyMessage()); 215}else{this.set_textBoxValue(this.get_displayValue()); 216}}},_isEmptyMessage:function(){return this.isEmpty()&&this.get_emptyMessage(); 217},repaint:function(){if(!this.canRepaint()){this.add_parentShown(this.get_element()); 218return; 219}else{this._clearParentShowHandlers(); 220}this._updatePercentageHeight(); 221if(!this._reducedPixelWidthFlag&&this._enableOldBoxModel){var a=this; 222setTimeout(function(){a._reducePixelWidthByPaddings(); 223},0); 224}},updateCssClass:function(b){if(!this._holdsValidValue&&!b){this._textBoxElement.style.cssText=this._originalTextBoxCssText+this.updateCssText(this.get_styles()["InvalidStyle"][0]); 225this._textBoxElement.className=this.get_styles()["InvalidStyle"][1]; 226Sys.UI.DomElement.addCssClass(this.get_wrapperElement(),"RadInputError"); 227return; 228}var c=""; 229var a=""; 230if(this._enabled&&(!this._isEmptyMessage())&&(!this.isNegative())){a=this._originalTextBoxCssText+this.updateCssText(this.get_styles()["EnabledStyle"][0]); 231if(!this._compareStyles(this._textBoxElement.style.cssText,a)){this._textBoxElement.style.cssText=a; 232}c=this.get_styles()["EnabledStyle"][1]; 233}if(this._enabled&&(!this._isEmptyMessage())&&this.isNegative()){a=this._originalTextBoxCssText+this.updateCssText(this.get_styles()["NegativeStyle"][0]); 234if(!this._compareStyles(this._textBoxElement.style.cssText,a)){this._textBoxElement.style.cssText=a; 235}c=this.get_styles()["NegativeStyle"][1]; 236}if(this._enabled&&this._isEmptyMessage()){a=this._originalTextBoxCssText+this.updateCssText(this.get_styles()["EmptyMessageStyle"][0]); 237if(!this._compareStyles(this._textBoxElement.style.cssText,a)){this._textBoxElement.style.cssText=a; 238}c=this.get_styles()["EmptyMessageStyle"][1]; 239}var d=this.get_wrapperElement(); 240var e=d.className.replace("RadInputHovered","").replace("RadInputDisabled","").replace("RadInputFocused","").replace("RadInputError","").trim(); 241if(this._focused){a=this._originalTextBoxCssText+this.updateCssText(this.get_styles()["FocusedStyle"][0]); 242if(!this._compareStyles(this._textBoxElement.style.cssText,a)){this._textBoxElement.style.cssText=a; 243}c=this.get_styles()["FocusedStyle"][1]; 244e+=" RadInputFocused"; 245}if(this._invalid){a=this._originalTextBoxCssText+this.updateCssText(this.get_styles()["InvalidStyle"][0]); 246if(!this._compareStyles(this._textBoxElement.style.cssText,a)){this._textBoxElement.style.cssText=a; 247}c=this.get_styles()["InvalidStyle"][1]; 248e+=" RadInputError"; 249}if(this._textBoxElement.readOnly&&this._isEmptyMessage()){a=this._originalTextBoxCssText+this.updateCssText(this.get_styles()["EmptyMessageStyle"][0]); 250if(!this._compareStyles(this._textBoxElement.style.cssText,a)){this._textBoxElement.style.cssText=a; 251}c=this.get_styles()["EmptyMessageStyle"][1]; 252}else{if(this._textBoxElement.readOnly){a=this._originalTextBoxCssText+this.updateCssText(this.get_styles()["ReadOnlyStyle"][0]); 253if(!this._compareStyles(this._textBoxElement.style.cssText,a)){this._textBoxElement.style.cssText=a; 254}c=this.get_styles()["ReadOnlyStyle"][1]; 255}}if(!this._enabled){a=this._originalTextBoxCssText+this.updateCssText(this.get_styles()["DisabledStyle"][0]); 256if(!this._compareStyles(this._textBoxElement.style.cssText,a)){this._textBoxElement.style.cssText=a; 257}c=this.get_styles()["DisabledStyle"][1]; 258e+=" RadInputDisabled"; 259}if(this._hovered&&this._enabled){a=this._originalTextBoxCssText+this.updateCssText(this.get_styles()["HoveredStyle"][0]); 260if(!this._compareStyles(this._textBoxElement.style.cssText,a)){this._textBoxElement.style.cssText=a; 261}c=c.trim()+" "+this.get_styles()["HoveredStyle"][1].replace("riTextBox","").trim(); 262e+=" RadInputHovered"; 263}d.className=e.replace(/ /g," "); 264if(c!=""&&!this._compareStyles(this._textBoxElement.className,c)){this._textBoxElement.className=c; 265}if(c==""&&this._textBoxElement.className&&this._textBoxElement.className==""){this._textBoxElement.removeAttribute("class"); 266}},_compareStyles:function(){if(arguments.length>=2){var a=arguments[0].replace(/ /g,"").replace(/;/g,""); 267var b=arguments[1].replace(/ /g,"").replace(/;/g,""); 268return a===b; 269}return false;
270},updateCssText:function(f){var e=f.split(";"); 271var a; 272var c=""; 273for(a=0; 274a<e.length; 275a++){var d=e[a].split(":"); 276if(d.length==2){var b=""+d[0].toLowerCase(); 277if(b!="width"&&b!="height"){c+=e[a]+";"; 278}}}return c; 279},selectText:function(b,a){this._selectionStart=b; 280this._selectionEnd=a; 281this._applySelection(); 282},selectAllText:function(){if(this._textBoxElement.value.length>0){this.selectText(0,this._textBoxElement.value.length); 283return true; 284}return false; 285},get_value:function(){return this._value; 286},get_valueAsString:function(){if(this._value){return this._value.toString(); 287}else{return""; 288}},_setNewValue:function(a){this._holdsValidValue=this._setHiddenValue(a)||this._holdsValidValue; 289this._textBoxElement.RadInputLastSetTextBoxValue=this._lastSetTextBoxValue=this._textBoxElement.value; 290this._triggerDomEvent("change",this._textBoxElement); 291if(this._holdsValidValue){this.set_displayValue(this._constructDisplayText(this._value)); 292this.updateClientState(); 293var b=this._initialValueAsText; 294this._initialValueAsText=this._textBoxElement.value; 295this.raise_valueChanged(this.get_editValue(),b); 296this.updateCssClass(); 297}else{this.updateClientState(); 298}this._initialValueAsText=this.get_editValue(); 299},set_value:function(b){var a=new Telerik.Web.UI.InputValueChangingEventArgs(b,this._initialValueAsText); 300this.raise_valueChanging(a); 301if(a.get_cancel()){this.set_textBoxValue(this.get_element().RadInputLastSetTextBoxValue); 302}else{b=a.get_newValue(); 303this._setNewValue(b); 304}},get_displayValue:function(){return this._displayText; 305},set_displayValue:function(a){this._displayText=a; 306this.updateDisplayValue(); 307},get_editValue:function(){return this._text; 308},set_caretPosition:function(a){if(this._textBoxElement.tagName.toLowerCase()=="textarea"&&this._textBoxElement.value.length<a){return; 309}this._selectionStart=a; 310this._selectionEnd=a; 311this._applySelection(); 312},get_caretPosition:function(){this._calculateSelection(); 313if(this._selectionStart!=this._selectionEnd){return new Array(this._selectionStart,this._selectionEnd); 314}else{if(this._textBoxElement.selectionStart){return this._textBoxElement.selectionStart; 315}else{return this._selectionStart; 316}}},raisePostBackEvent:function(){eval(this._postBackEventReferenceScript); 317},get_wrapperElement:function(){return $get(this._wrapperElementID); 318},get_textBoxValue:function(){return this._textBoxElement.value; 319},set_textBoxValue:function(a){if(this._textBoxElement.value!=a){this._textBoxElement.value=a; 320}this._lastSetTextBoxValue=a; 321this._textBoxElement.RadInputLastSetTextBoxValue=a; 322},get_autoPostBack:function(){return this._autoPostBack; 323},set_autoPostBack:function(a){if(this._autoPostBack!==a){this._autoPostBack=a; 324this.raisePropertyChanged("autoPostBack"); 325}},get_emptyMessage:function(){return this._emptyMessage; 326},set_emptyMessage:function(a){if(this._emptyMessage!==a){this._emptyMessage=a; 327if(this._textBoxElement){this.updateDisplayValue(); 328this.updateCssClass(); 329this.updateClientState(); 330this.raisePropertyChanged("emptyMessage"); 331}}},get_selectionOnFocus:function(){return this._selectionOnFocus; 332},set_selectionOnFocus:function(a){if(this._selectionOnFocus!==a){this._selectionOnFocus=a; 333this.raisePropertyChanged("selectionOnFocus"); 334}},get_showButton:function(){return this._showButton; 335},set_showButton:function(a){if(this._showButton!==a){this._showButton=a; 336this.raisePropertyChanged("showButton"); 337}},get_invalidStyleDuration:function(){return this._invalidStyleDuration; 338},set_invalidStyleDuration:function(a){if(this._invalidStyleDuration!==a){this._invalidStyleDuration=a; 339this.raisePropertyChanged("invalidStyleDuration"); 340}},get_enabled:function(){return this._enabled; 341},set_enabled:function(a){if(this._enabled!==a){this._enabled=a; 342this.updateClientState(); 343if(this.get_enableAriaSupport()){this._applyAriaStateChange("disabled",!a); 344}this.raisePropertyChanged("enabled"); 345}},get_styles:function(){return this._styles; 346},set_styles:function(a){if(this._styles!==a){this._styles=a; 347this.raisePropertyChanged("styles"); 348}},get_rippleZonesConfiguration:function(){return[{element:this.get_wrapperElement(),rippleConfigurations:[{containerSelector:".riSelect .riButton"}]}]; 349},saveClientState:function(a){var d=["enabled","emptyMessage","validationText","valueAsString"]; 350var b; 351var c;
352if(a){for(b=0,c=a.length; 353b<c; 354b++){d[d.length]=a[b]; 355}}var e={}; 356for(b=0; 357b<d.length; 358b++){e[d[b]]=this["get_"+d[b]](); 359}this.saveCustomClientStateValues(e); 360return Sys.Serialization.JavaScriptSerializer.serialize(e); 361},saveCustomClientStateValues:function(a){a.lastSetTextBoxValue=this._lastSetTextBoxValue; 362},get_visible:function(){if(this.get_wrapperElement().style.display=="none"){return false; 363}else{return true; 364}},set_visible:function(a){if(a==true&&this._originalDisplay!=null){this.get_wrapperElement().style.display=this._originalDisplay; 365this.repaint(); 366}else{if(a==false&&this.get_visible()){this._originalDisplay=this.get_wrapperElement().style.display; 367this.get_wrapperElement().style.display="none"; 368}}},get_shouldResetWidthInPixels:function(){return this._shouldResetWidthInPixels; 369},set_shouldResetWidthInPixels:function(a){this._shouldResetWidthInPixels=a; 370},get_enableOldBoxModel:function(){return this._enableOldBoxModel; 371},set_enableOldBoxModel:function(a){this._enableOldBoxModel=a; 372},get_enableAriaSupport:function(){return this._enableAriaSupport; 373},set_enableAriaSupport:function(a){if(this._enableAriaSupport!=a){this._enableAriaSupport=a; 374}},get_causesValidation:function(){return this._causesValidation; 375},get_validationGroup:function(){return this._validationGroup; 376},_reducePixelWidthByPaddings:function(){if(this._textBoxElement.offsetWidth>0&&this._textBoxElement.parentNode.tagName.toLowerCase()=="span"&&this._textBoxElement.style.width&&(this._nonTableLayout||(this._textBoxElement.parentNode.parentNode.className!="rcInputCell"&&this._textBoxElement.style.width.indexOf("%")==-1&&(!this._originalTextBoxWidth||this._originalTextBoxWidth.indexOf("%")==-1)))&&!this._reducedPixelWidthFlag){var f=0; 377var a=0; 378if(document.defaultView&&document.defaultView.getComputedStyle){f=parseInt(document.defaultView.getComputedStyle(this._textBoxElement,null).getPropertyValue("border-left-width"),10)+parseInt(document.defaultView.getComputedStyle(this._textBoxElement,null).getPropertyValue("padding-left"),10)+parseInt(document.defaultView.getComputedStyle(this._textBoxElement,null).getPropertyValue("padding-right"),10)+parseInt(document.defaultView.getComputedStyle(this._textBoxElement,null).getPropertyValue("border-right-width"),10); 379a=parseInt(document.defaultView.getComputedStyle(this._textBoxElement,null).getPropertyValue("border-top-width"),10)+parseInt(document.defaultView.getComputedStyle(this._textBoxElement,null).getPropertyValue("padding-top"),10)+parseInt(document.defaultView.getComputedStyle(this._textBoxElement,null).getPropertyValue("padding-bottom"),10)+parseInt(document.defaultView.getComputedStyle(this._textBoxElement,null).getPropertyValue("border-bottom-width"),10); 380}else{if(this._textBoxElement.currentStyle){if(document.compatMode&&document.compatMode!="BackCompat"){f=parseInt(this._textBoxElement.currentStyle.borderLeftWidth,10)+parseInt(this._textBoxElement.currentStyle.paddingLeft,10)+parseInt(this._textBoxElement.currentStyle.paddingRight,10)+parseInt(this._textBoxElement.currentStyle.borderRightWidth,10); 381a=parseInt(this._textBoxElement.currentStyle.borderTopWidth,10)+parseInt(this._textBoxElement.currentStyle.paddingTop,10)+parseInt(this._textBoxElement.currentStyle.paddingBottom,10)+parseInt(this._textBoxElement.currentStyle.borderBottomWidth,10); 382}}}var j=parseInt(this._textBoxElement.style.width,10); 383if(this._nonTableLayout&&this._textBoxElement.parentNode.style.width&&this._textBoxElement.parentNode.style.width.indexOf("%")==-1){j=parseInt(this._textBoxElement.parentNode.currentStyle.width,10); 384}var k=j-f; 385var b=parseInt(this._textBoxElement.offsetHeight,10)-a; 386if(f==0||k<=0){return; 387}this._textBoxElement.style.width=k+"px"; 388var e=""; 389var h=this._originalTextBoxCssText.split(";"); 390if(h==[]){for(var c=0; 391c<h.length; 392c++){var g=h[c].split(":"); 393if(g.length==2){var d=""+g[0].toLowerCase(); 394if(d!="width"||d!="height"){e+=h[c]+";"; 395}else{if(d=="width"){e+="width:"+k+"px;"; 396if(!this._originalTextBoxWidth){this._originalTextBoxWidth=h[c].split(":")[1].trim(); 397}}else{e+="height:"+k+"px;"; 398}}}}}else{e+="width:"+k+"px;"; 399e+="height:"+b+"px;"; 400}this._originalTextBoxCssText=e; 401this._reducedPixelWidthFlag=true; 402}},_updatePercentageHeight:function(){var b=$get(this._wrapperElementID); 403if(b.style.height.indexOf("%")!=-1&&b.offsetHeight>0){var a=0; 404if(this._textBoxElement.currentStyle){a=parseInt(this._textBoxElement.currentStyle.borderTopWidth,10)+parseInt(this._textBoxElement.currentStyle.borderBottomWidth,10)+parseInt(this._textBoxElement.currentStyle.paddingTop,10)+parseInt(this._textBoxElement.currentStyle.paddingBottom,10); 405}else{if(window.getComputedStyle){a=parseInt(window.getComputedStyle(this._textBoxElement,null).getPropertyValue("border-top-width"),10)+parseInt(window.getComputedStyle(this._textBoxElement,null).getPropertyValue("border-bottom-width"),10)+parseInt(window.getComputedStyle(this._textBoxElement,null).getPropertyValue("padding-top"),10)+parseInt(window.getComputedStyle(this._textBoxElement,null).getPropertyValue("padding-bottom"),10); 406}}this._textBoxElement.style.height="1px"; 407this._textBoxElement.style.cssText=this._textBoxElement.style.cssText; 408this._textBoxElement.style.height=b.offsetHeight-a+"px"; 409if(this._originalTextBoxCssText.search(/(^|[^-])height/)!=-1){this._originalTextBoxCssText=this._originalTextBoxCssText.replace(/(^|[^-])height(\s*):(\s*)([^;]+);/i,"$1height:"+(b.offsetHeight-a)+"px;"); 410}else{this._originalTextBoxCssText+="height:"+(b.offsetHeight-a)+"px;"; 411}}},_initializeButtons:function(){this._onButtonClickDelegate=Function.createDelegate(this,this._onButtonClickHandler); 412this.Button=null; 413var b=$get(this._wrapperElementID); 414var a=b.getElementsByTagName("a"); 415for(var c=0; 416c<a.length; 417c++){if(a[c].className.indexOf("riButton")!=(-1)){this.Button=a[c]; 418window.$addHandler(this.Button,"click",this._onButtonClickDelegate); 419}}},_initializeAriaSupport:function(){var a=this.get_wrapperElement(); 420a.setAttribute("role","textbox"); 421a.setAttribute("aria-atomic","true"); 422a.setAttribute("aria-disabled",(!this.get_enabled())+""); 423if(this.isMultiLine()){a.setAttribute("aria-multiline","true"); 424}if(this.isReadOnly()){a.setAttribute("aria-readonly","true"); 425}if(this.Button){this.Button.setAttribute("role","button"); 426this.Button.setAttribute("aria-label","Go"); 427}},_applyAriaStateChange:function(a,b){var c=$get(this.get_id()+"_wrapper"); 428if(c){c.setAttribute("aria-"+a,b+""); 429}},_attachEventHandlers:function(){this._onTextBoxKeyUpDelegate=Function.createDelegate(this,this._onTextBoxKeyUpHandler); 430this._onTextBoxKeyPressDelegate=Function.createDelegate(this,this._onTextBoxKeyPressHandler); 431this._onTextBoxBlurDelegate=Function.createDelegate(this,this._onTextBoxBlurHandler); 432this._onTextBoxFocusDelegate=Function.createDelegate(this,this._onTextBoxFocusHandler); 433this._onTextBoxKeyDownDelegate=Function.createDelegate(this,this._onTextBoxKeyDownHandler); 434window.$addHandler(this._textBoxElement,"keydown",this._onTextBoxKeyDownDelegate); 435window.$addHandler(this._textBoxElement,"keypress",this._onTextBoxKeyPressDelegate); 436window.$addHandler(this._textBoxElement,"keyup",this._onTextBoxKeyUpDelegate); 437window.$addHandler(this._textBoxElement,"blur",this._onTextBoxBlurDelegate); 438window.$addHandler(this._textBoxElement,"focus",this._onTextBoxFocusDelegate); 439this._onTextBoxPasteDelegate=Function.createDelegate(this,this._onTextBoxPasteHandler); 440window.$addHandler(this._textBoxElement,"paste",this._onTextBoxPasteDelegate); 441if(this._textBoxElement&&this._textBoxElement.form){this._onFormResetDelegate=Function.createDelegate(this,this._onFormResetHandler); 442window.$addHandler(this._textBoxElement.form,"reset",this._onFormResetDelegate); 443}this._attachMouseEventHandlers(); 444},_onTextBoxPasteHandler:function(d){var l=this; 445var k=l._textBoxElement; 446var c; 447if(l.isMultiLine()&&l._maxLength>0){if($telerik.isSafari){window.setTimeout(function(){k.value=k.value.substr(0,l._maxLength); 448},1); 449}
449else{if($telerik.isIE||$telerik.isFirefox){if(!d){d=window.event; 450}var a=true; 451var b=""; 452try{if($telerik.isFirefox){b=d.rawEvent.clipboardData.getData("text/plain"); 453}else{b=window.clipboardData.getData("Text"); 454}}catch(f){a=false; 455}if(a&&b!=""){if(d.preventDefault){d.preventDefault(); 456}var i=(document.selection)?document.selection.createRange():null; 457var h=(i)?i.text:k.value.substring(k.selectionStart,k.selectionEnd); 458var g=l._maxLength-l._escapeNewLineChars(k.value,"\r\n").length+l._escapeNewLineChars(h,"\r\n").length; 459var j=l._escapeNewLineChars(b,"\r\n").substr(0,g); 460if(j.length>0&&j.charAt(j.length-1)=="\r"){j=j.substr(0,j.length-1); 461}if(i){i.text=j; 462}else{if(h){k.value=k.value.replace(h,j); 463}else{c=k.value.substr(0,k.selectionStart)+j+k.value.substr(k.selectionStart); 464k.value=c.substr(0,l._maxLength); 465}}}else{window.setTimeout(function(){k.value=k.value.substr(0,l._maxLength); 466},1); 467}}}}},_attachMouseEventHandlers:function(){if(!$telerik.isIE){this._onTextBoxMouseUpDelegate=Function.createDelegate(this,this._onTextBoxMouseUpHandler); 468window.$addHandler(this._textBoxElement,"mouseup",this._onTextBoxMouseUpDelegate); 469}this._onTextBoxMouseOutDelegate=Function.createDelegate(this,this._onTextBoxMouseOutHandler); 470this._onTextBoxMouseOverDelegate=Function.createDelegate(this,this._onTextBoxMouseOverHandler); 471this._onTextBoxMouseWheelDelegate=Function.createDelegate(this,this._onTextBoxMouseWheelHandler); 472this._onTextBoxDragEnterDelegate=Function.createDelegate(this,this._onTextBoxDragEnterHandler); 473this._onTextBoxDragLeaveDelegate=Function.createDelegate(this,this._onTextBoxDragLeaveHandler); 474this._onTextBoxDragDropDelegate=Function.createDelegate(this,this._onTextBoxDragDropHandler); 475window.$addHandler(this._textBoxElement,"mouseout",this._onTextBoxMouseOutDelegate); 476window.$addHandler(this._textBoxElement,"mouseover",this._onTextBoxMouseOverDelegate); 477window.$addHandler(this._textBoxElement,"dragenter",this._onTextBoxDragEnterDelegate); 478window.$addHandler(this._textBoxElement,"dragleave",this._onTextBoxDragLeaveDelegate); 479window.$addHandler(this._textBoxElement,"drop",this._onTextBoxDragDropDelegate); 480if(!$telerik.isIE){if(($telerik.isSafari)||$telerik.isOpera){window.$addHandler(this._textBoxElement,"mousewheel",this._onTextBoxMouseWheelDelegate); 481}else{window.$addHandler(this._textBoxElement,"DOMMouseScroll",this._onTextBoxMouseWheelDelegate); 482}}else{window.$addHandler(this._textBoxElement,"mousewheel",this._onTextBoxMouseWheelDelegate); 483}},_onTextBoxMouseUpHandler:function(a){},_cancelKeyPressEventIfMaxLengthReached:function(b){var f=this._escapeNewLineChars(this._textBoxElement.value,"\r\n"); 484var d=this._maxLength; 485if(d>0&&f.length+(b.charCode==13)>=d&&((b.charCode==13)||this._isNormalChar(b))){var c=false; 486if(document.selection){if(document.selection.createRange().text){c=true; 487}}else{var a=this.get_caretPosition(); 488if(a[0]||a[1]){c=true; 489}}if(!c){b.stopPropagation(); 490b.preventDefault(); 491return false; 492}}},_onTextBoxKeyPressHandler:function(a){this._isEnterPressed=false; 493var b=new Telerik.Web.UI.InputKeyPressEventArgs(a,a.charCode,String.fromCharCode(a.charCode)); 494this.raise_keyPress(b); 495if(b.get_cancel()){a.stopPropagation(); 496a.preventDefault(); 497return false; 498}if((a.charCode==13)&&!this.isMultiLine()){var c=this._textBoxElement.value; 499this._isEnterPressed=true; 500this.set_value(c); 501this._isEnterPressed=false; 502if(this.get_autoPostBack()){a.stopPropagation(); 503a.preventDefault(); 504return false; 505}return true; 506}if(this.isMultiLine()){return(this._cancelKeyPressEventIfMaxLengthReached(a)); 507}},_onTextBoxKeyUpHandler:function(a){if(a&&a.keyCode===9){this._updateSelectionOnFocus(); 508}},_onTextBoxBlurHandler:function(a){this._focused=false; 509if(this.isReadOnly()){return; 510}var b=this._textBoxElement.value; 511if(this._initialValueAsText+""!==b){this.set_value(b); 512}else{this.updateDisplayValue(); 513this.updateClientState(); 514this.updateCssClass(); 515}this.raise_blur(Sys.EventArgs.Empty); 516},_onTextBoxFocusHandler:function(a){if(!this.isReadOnly()){this._updateStateOnFocus(); 517}if(($telerik.isSafari||$telerik.isFirefox)&&this.get_selectionOnFocus()!=Telerik.Web.UI.SelectionOnFocus.None&&this.get_selectionOnFocus()!=Telerik.Web.UI.SelectionOnFocus.SelectAll){var b=this; 518window.setTimeout(function(){b._updateSelectionOnFocus(); 519},0); 520}}
520,_onTextBoxDragEnterHandler:function(a){if(this.isEmpty()&&this.get_emptyMessage()!=""){this.set_textBoxValue(""); 521}},_onTextBoxDragLeaveHandler:function(a){if(this.isEmpty()&&this.get_emptyMessage()!=""&&!$telerik.isMouseOverElement(this._textBoxElement,a)){this.set_textBoxValue(this.get_emptyMessage()); 522}},_updateStateOnFocus:function(){if(this._isDropped||this._lastSetTextBoxValue!==this._textBoxElement.value){this._updateHiddenValue(); 523this._isDropped=false; 524}this._focused=true; 525this.updateDisplayValue(); 526this.updateCssClass(); 527this._updateSelectionOnFocus(); 528this.raise_focus(Sys.EventArgs.Empty); 529},_onTextBoxMouseOutHandler:function(a){this._hovered=false; 530this.updateCssClass(); 531this.raise_mouseOut(Sys.EventArgs.Empty); 532},_onTextBoxMouseOverHandler:function(a){this._hovered=true; 533this.updateCssClass(); 534this.raise_mouseOver(Sys.EventArgs.Empty); 535},_onTextBoxKeyDownHandler:function(a){if(a.keyCode==27&&!$telerik.isIE){var b=this; 536window.setTimeout(function(){b.set_textBoxValue(b.get_editValue()); 537},0); 538}},_onTextBoxMouseWheelHandler:function(b){var a; 539if(this._focused){if(b.rawEvent.wheelDelta){a=b.rawEvent.wheelDelta/120; 540if(window.opera){a=-a; 541}}else{if(b.detail){a=-b.rawEvent.detail/3; 542}else{if(b.rawEvent&&b.rawEvent.detail){a=-b.rawEvent.detail/3; 543}}}if(a>0){this._handleWheel(false); 544}else{this._handleWheel(true); 545}b.stopPropagation(); 546b.preventDefault(); 547}},_onButtonClickHandler:function(a){var b=new Telerik.Web.UI.InputButtonClickEventArgs(Telerik.Web.UI.InputButtonType.Button); 548this.raise_buttonClick(b); 549},_onTextBoxDragDropHandler:function(a){this._isDropped=true; 550if($telerik.isFirefox){var b=this; 551window.setTimeout(function(){b._textBoxElement.focus(); 552},1); 553}},_onFormResetHandler:function(a){if(this.get_element().form===a.target){var b=this._constructValueFromInitialText(this._originalInitialValueAsText); 554this._setHiddenValue(b); 555this._initialValueAsText=this._text; 556this.set_displayValue(this._constructDisplayText(this._value)); 557this.updateClientState(); 558this.updateCssClass(); 559}},_calculateSelection:function(){if((Sys.Browser.agent==Sys.Browser.Opera)||!document.selection){var d=this._supportSelection(); 560if(d){this._selectionEnd=this._textBoxElement.selectionEnd; 561this._selectionStart=this._textBoxElement.selectionStart; 562}return; 563}var c=0; 564var b=0; 565try{c=Math.abs(document.selection.createRange().moveStart("character",-10000000)); 566if(c>0){c=this._calculateSelectionInternal(c); 567}b=Math.abs(document.selection.createRange().moveEnd("character",-10000000)); 568if(b>0){b=this._calculateSelectionInternal(b); 569}}catch(a){}this._selectionEnd=b; 570this._selectionStart=c; 571},_calculateSelectionInternal:function(e){if(!this.isMultiLine()){return e; 572}var b=Math.abs(this._textBoxElement.createTextRange().moveEnd("character",-10000000)); 573var c=document.body.createTextRange(); 574c.moveToElementText(this._textBoxElement); 575var d=Math.abs(c.moveStart("character",-10000000)); 576var a=Math.abs(c.moveEnd("character",-10000000)); 577if(a-b==d){e-=d; 578}return e; 579},_SetValue:function(a){var b=this._setHiddenValue(a); 580if(typeof(b)=="undefined"||b==true){this.set_textBoxValue(this.get_editValue()); 581this.updateClientState(); 582}},_triggerDomEvent:function(a,c){if(!a||a==""||!c){return; 583}if(a=="change"){this._textBoxElement.RadInputChangeFired=true; 584}var b; 585if(c.fireEvent&&document.createEventObject){b=document.createEventObject(); 586c.fireEvent(String.format("on{0}",a),b); 587}else{if(c.dispatchEvent){b=document.createEvent("HTMLEvents"); 588b.initEvent(a,true,true); 589c.dispatchEvent(b); 590}}if(a=="change"){this._textBoxElement.RadInputChangeFired=false; 591}},_updateSelectionOnFocus:function(){if(!this._textBoxElement.value){this.set_caretPosition(0); 592}switch(this.get_selectionOnFocus()){case Telerik.Web.UI.SelectionOnFocus.None:break; 593case Telerik.Web.UI.SelectionOnFocus.CaretToBeginning:this.set_caretPosition(0); 594break; 595case Telerik.Web.UI.SelectionOnFocus.CaretToEnd:if(this._textBoxElement.value.length>0){if($telerik.isIE){var a=this._textBoxElement.value.replace(/\r/g,"").length; 596if(a!=this.get_caretPosition()){this.set_caretPosition(a); 597}}else{this.set_caretPosition(this._textBoxElement.value.length); 598}}break; 599case Telerik.Web.UI.SelectionOnFocus.SelectAll:this.selectAllText(); 600break; 601default:this.set_caretPosition(0); 602break; 603}},_isInVisibleContainer:function(b){var a=b; 604while((typeof(a)!="undefined")&&(a!=null)){if((a.disabled==true)||(typeof(a.style)!="undefined"&&((typeof(a.style.display)!="undefined"&&a.style.display=="none")||(typeof(a.style.visibility)!="undefined"&&a.style.visibility=="hidden")))){return false;
605}if(typeof(a.parentNode)!="undefined"&&a.parentNode!=null&&a.parentNode!=a&&a.parentNode.tagName.toLowerCase()!="body"){a=a.parentNode; 606}else{return true; 607}}return true; 608},_supportSelection:function(){if(!!this.get_inputType){var a=this.get_inputType(); 609if(a==Telerik.Web.UI.InputType.Date||a==Telerik.Web.UI.InputType.DateTime||a==Telerik.Web.UI.InputType.DateTimeLocal||a==Telerik.Web.UI.InputType.Month||a==Telerik.Web.UI.InputType.Week||a==Telerik.Web.UI.InputType.Time||a==Telerik.Web.UI.InputType.Number||a==Telerik.Web.UI.InputType.Email){return false; 610}}return true; 611},_applySelection:function(){if(!this._isInVisibleContainer(this._textBoxElement)){return; 612}var b=this; 613var d; 614if((Sys.Browser.agent==Sys.Browser.Opera)||!document.selection){var f=this._supportSelection(); 615if(f){this._textBoxElement.selectionStart=b._selectionStart; 616this._textBoxElement.selectionEnd=b._selectionEnd; 617}return; 618}try{this._textBoxElement.select(); 619d=document.selection.createRange(); 620d.collapse(); 621d.moveStart("character",this._selectionStart); 622d.collapse(); 623d.moveEnd("character",this._selectionEnd-this._selectionStart); 624d.select(); 625}catch(c){var a=this; 626window.setTimeout(function(){document.body.focus(); 627a._textBoxElement.select(); 628d=document.selection.createRange(); 629d.collapse(); 630d.moveStart("character",a._selectionStart); 631d.collapse(); 632d.moveEnd("character",a._selectionEnd-a._selectionStart); 633d.select(); 634},1); 635}},set_invalid:function(a){if(this._holdsValidValue==a){this._holdsValidValue=!a; 636this.updateCssClass(); 637}},get_invalid:function(){return !this._holdsValidValue; 638},_invalidate:function(){if(this._holdsValidValue){this._holdsValidValue=false; 639this._initialValueAsText=""; 640this._displayText=""; 641this._clearHiddenValue(); 642return false; 643}},_clearHiddenValue:function(){var a=this._errorHandlingCanceled; 644this._errorHandlingCanceled=true; 645this._setHiddenValue(""); 646this.updateClientState(); 647this._errorHandlingCanceled=a; 648},_handleWheel:function(a){},_setHiddenValue:function(a){if(a){a=a.toString(); 649}else{a=""; 650}if(a==this._value){return false; 651}else{this._value=a; 652this._text=this._constructEditText(a); 653this.set_validationText(this._constructValidationText(a)); 654return true; 655}},get_validationText:function(a){return this._validationText; 656},set_validationText:function(a){this._validationText=a; 657this._textBoxElement.RadInputValidationValue=a; 658},_updateHiddenValue:function(){if(!this._textBoxElement.readOnly){if(this._setHiddenValue(this._textBoxElement.value)){this.updateClientState(); 659return true; 660}else{return false; 661}}else{return false; 662}},_escapeNewLineChars:function(b,a){return b.replace(/\r\n/g,"\n").replace(/\n/g,a); 663},_isNormalChar:function(a){if(($telerik.isFirefox&&(a.rawEvent.keyCode!=0&&a.rawEvent.keyCode!=13)||a.ctrlKey)||($telerik.isOpera&&a.rawEvent.which==0)||($telerik.isSafari&&(a.charCode<Sys.UI.Key.space||a.charCode>60000))){return false; 664}return true; 665},_constructEditText:function(a){return a; 666},_constructDisplayText:function(a){return a; 667},_constructValidationText:function(a){return a; 668},_constructValueFromInitialText:function(a){return a; 669},_canAutoPostBackAfterValidation:function(){if(!this.get_causesValidation()||!window.Page_ValidationActive){return true; 670}return window.Page_ClientValidate(this.get_validationGroup()); 671},add_blur:function(a){this.get_events().addHandler("blur",a); 672},remove_blur:function(a){this.get_events().removeHandler("blur",a); 673},raise_blur:function(a){this.raiseEvent("blur",a); 674},add_mouseOut:function(a){this.get_events().addHandler("mouseOut",a); 675},remove_mouseOut:function(a){this.get_events().removeHandler("mouseOut",a); 676},raise_mouseOut:function(a){this.raiseEvent("mouseOut",a); 677},add_valueChanged:function(a){this.get_events().addHandler("valueChanged",a); 678},remove_valueChanged:function(a){this.get_events().removeHandler("valueChanged",a); 679},raise_valueChanged:function(b,c){if(typeof(b)!="undefined"&&b!=null&&typeof(c)!="undefined"&&c!=null&&b.toString()==c.toString()){if(!this._isEnterPressed){return false; 680}}var d=false; 681if(typeof(b)!="undefined"&&b!=null&&typeof(c)!="undefined"&&c!=null){if(b.toString()!=c.toString()){var a=new Telerik.Web.UI.InputValueChangedEventArgs(b,c); 682this.raiseEvent("valueChanged",a); 683d=!a.get_cancel(); 684}else{d=this._isEnterPressed; 685}}if(this.get_autoPostBack()&&d&&this._canAutoPostBackAfterValidation()){this.raisePostBackEvent(); 686}},add_error:function(a){this.get_events().addHandler("error",a); 687},remove_error:function(a){this.get_events().removeHandler("error",a); 688}
688,raise_error:function(a){if(this.InEventRaise){return; 689}this.InEventRaise=true; 690this.raiseEvent("error",a); 691if(!a.get_cancel()){this._invalid=true; 692this._errorHandlingCanceled=false; 693this.updateCssClass(); 694if(this.get_enableAriaSupport()){this._applyAriaStateChange("invalid",true); 695}var c=this._isIncrementing?true:false; 696var b=this; 697var d=function(){b._invalid=false; 698b.updateCssClass(c); 699if(b.get_enableAriaSupport()){b._applyAriaStateChange("invalid",false); 700}}; 701setTimeout(function(){d(); 702},this.get_invalidStyleDuration()); 703}else{this._errorHandlingCanceled=true; 704this._invalid=false; 705this.updateCssClass(); 706}this.InEventRaise=false; 707},add_load:function(a){this.get_events().addHandler("load",a); 708},remove_load:function(a){this.get_events().removeHandler("load",a); 709},raise_load:function(a){this.raiseEvent("load",a); 710},add_mouseOver:function(a){this.get_events().addHandler("mouseOver",a); 711},remove_mouseOver:function(a){this.get_events().removeHandler("mouseOver",a); 712},raise_mouseOver:function(a){this.raiseEvent("mouseOver",a); 713},add_focus:function(a){this.get_events().addHandler("focus",a); 714},remove_focus:function(a){this.get_events().removeHandler("focus",a); 715},raise_focus:function(a){this.raiseEvent("focus",a); 716},add_disable:function(a){this.get_events().addHandler("disable",a); 717},remove_disable:function(a){this.get_events().removeHandler("disable",a); 718},raise_disable:function(a){this.raiseEvent("disable",a); 719},add_enable:function(a){this.get_events().addHandler("enable",a); 720},remove_enable:function(a){this.get_events().removeHandler("enable",a); 721},raise_enable:function(a){this.raiseEvent("enable",a); 722},add_keyPress:function(a){this.get_events().addHandler("keyPress",a); 723},remove_keyPress:function(a){this.get_events().removeHandler("keyPress",a); 724},raise_keyPress:function(a){this.raiseEvent("keyPress",a); 725},add_enumerationChanged:function(a){this.get_events().addHandler("enumerationChanged",a); 726},remove_enumerationChanged:function(a){this.get_events().removeHandler("enumerationChanged",a); 727},raise_enumerationChanged:function(a){this.raiseEvent("enumerationChanged",a); 728},add_moveUp:function(a){this.get_events().addHandler("moveUp",a); 729},remove_moveUp:function(a){this.get_events().removeHandler("moveUp",a); 730},raise_moveUp:function(a){this.raiseEvent("moveUp",a); 731},add_moveDown:function(a){this.get_events().addHandler("moveDown",a); 732},remove_moveDown:function(a){this.get_events().removeHandler("moveDown",a); 733},raise_moveDown:function(a){this.raiseEvent("moveDown",a); 734},add_buttonClick:function(a){this.get_events().addHandler("buttonClick",a); 735},remove_buttonClick:function(a){this.get_events().removeHandler("buttonClick",a); 736},raise_buttonClick:function(a){this.raiseEvent("buttonClick",a); 737},add_valueChanging:function(a){this.get_events().addHandler("valueChanging",a); 738},remove_valueChanging:function(a){this.get_events().removeHandler("valueChanging",a); 739},raise_valueChanging:function(a){this.raiseEvent("valueChanging",a); 740}}; 741Telerik.Web.UI.RadInputControl.OverrideValidatorFunctions=function(){if(typeof(window.ValidatorGetValue)=="function"&&typeof(window.ValidatorGetValue_Original)=="undefined"){window.ValidatorGetValue_Original=window.ValidatorGetValue; 742window.ValidatorGetValue=function(b){var a=document.getElementById(b); 743if(typeof(a.RadInputValidationValue)=="string"){if(a.RadInputLastSetTextBoxValue==a.value){return a.RadInputValidationValue; 744}else{return a.value; 745}}else{return window.ValidatorGetValue_Original(b); 746}}; 747}if(typeof(ValidatorOnChange)=="function"&&typeof(window.ValidatorOnChange_Original)=="undefined"){window.ValidatorOnChange_Original=window.ValidatorOnChange; 748window.ValidatorOnChange=function(b){b=b||window.event; 749var a; 750if((typeof(b.srcElement)!="undefined")&&(b.srcElement!=null)){a=b.srcElement; 751}else{a=b.target; 752}if(typeof(a.RadInputValidationValue)!="string"||(typeof(a.RadInputChangeFired)=="boolean"&&a.RadInputChangeFired)){return window.ValidatorOnChange_Original(b); 753}}; 754}if(typeof(window.ValidatedTextBoxOnKeyPress)=="function"&&typeof(window.ValidatedTextBoxOnKeyPress_Original)=="undefined"){window.ValidatedTextBoxOnKeyPress_Original=window.ValidatedTextBoxOnKeyPress; 755window.ValidatedTextBoxOnKeyPress=function(b){b=b||window.event; 756if(b.keyCode==13){window.ValidatorOnChange(b); 757var a; 758if((typeof(b.srcElement)!="undefined")&&(b.srcElement!=null)){a=b.srcElement; 759}else{a=b.target; 760}if(typeof(a.RadInputValidationValue)!="string"){return window.AllValidatorsValid(a.Validators); 761}}return true; 762}; 763}}; 764Telerik.Web.UI.RadInputControl.registerClass("Telerik.Web.UI.RadInputControl",Telerik.Web.UI.RadWebControl); 765Telerik.Web.UI.RadInputControl.CancelRawEventOnEnterKey=function(b,a){if(a.get_keyCode()==13){return $telerik.cancelRawEvent(a.get_domEvent()); 766}}; 767Telerik.Web.UI.RadInputControl.OverrideValidatorFunctions(); 768Type.registerNamespace("Telerik.Web.UI"); 769Telerik.Web.UI.InputErrorReason=function(){}; 770Telerik.Web.UI.InputErrorReason.prototype={ParseError:1,OutOfRange:2}; 771Telerik.Web.UI.InputErrorReason.registerEnum("Telerik.Web.UI.InputErrorReason",fal
771se); 772Telerik.Web.UI.SelectionOnFocus=function(){}; 773Telerik.Web.UI.SelectionOnFocus.prototype={None:0,CaretToBeginning:1,CaretToEnd:2,SelectAll:3}; 774Telerik.Web.UI.SelectionOnFocus.registerEnum("Telerik.Web.UI.SelectionOnFocus",false); 775Telerik.Web.UI.InputButtonType=function(){}; 776Telerik.Web.UI.InputButtonType.prototype={Button:1,MoveUpButton:2,MoveDownButton:3}; 777Telerik.Web.UI.InputButtonType.registerEnum("Telerik.Web.UI.InputButtonType",false); 778Telerik.Web.UI.DisplayFormatPosition=function(){}; 779Telerik.Web.UI.DisplayFormatPosition.prototype={Left:1,Right:2}; 780Telerik.Web.UI.DisplayFormatPosition.registerEnum("Telerik.Web.UI.DisplayFormatPosition",false); 781Telerik.Web.UI.InputSettingValidateOnEvent=function(){}; 782Telerik.Web.UI.InputSettingValidateOnEvent.prototype={Blur:0,Submit:1,All:2}; 783Telerik.Web.UI.InputSettingValidateOnEvent.registerEnum("Telerik.Web.UI.InputSettingValidateOnEvent",false); 784Telerik.Web.UI.InputType=function(){}; 785Telerik.Web.UI.InputType.prototype={Text:0,Date:1,DateTime:2,Number:3,Time:4,DateTimeLocal:5,Month:6,Week:7,Range:8,Email:9,Url:10,Search:11,Tel:12,Color:13}; 786Telerik.Web.UI.InputType.registerEnum("Telerik.Web.UI.InputType",false); 787Type.registerNamespace("Telerik.Web.UI"); 788Telerik.Web.UI.InputValueChangedEventArgs=function(a,b){Telerik.Web.UI.InputValueChangedEventArgs.initializeBase(this); 789this._newValue=a; 790this._oldValue=b; 791}; 792Telerik.Web.UI.InputValueChangedEventArgs.prototype={get_oldValue:function(){return this._oldValue; 793},get_newValue:function(){return this._newValue; 794}}; 795Telerik.Web.UI.InputValueChangedEventArgs.registerClass("Telerik.Web.UI.InputValueChangedEventArgs",Sys.CancelEventArgs); 796Telerik.Web.UI.InputValueChangingEventArgs=function(a,b){Telerik.Web.UI.InputValueChangingEventArgs.initializeBase(this,[a,b]); 797}; 798Telerik.Web.UI.InputValueChangingEventArgs.prototype={set_newValue:function(a){if(this._newValue!==a){this._newValue=a; 799}}}; 800Telerik.Web.UI.InputValueChangingEventArgs.registerClass("Telerik.Web.UI.InputValueChangingEventArgs",Telerik.Web.UI.InputValueChangedEventArgs); 801Telerik.Web.UI.MaskedTextBoxEventArgs=function(b,c,a){Telerik.Web.UI.MaskedTextBoxEventArgs.initializeBase(this); 802this._newValue=b; 803this._oldValue=c; 804this._chunk=a; 805}; 806Telerik.Web.UI.MaskedTextBoxEventArgs.prototype={get_oldValue:function(){return this._oldValue; 807},get_newValue:function(){return this._newValue; 808},get_currentPart:function(){return this._chunk; 809}}; 810Telerik.Web.UI.MaskedTextBoxEventArgs.registerClass("Telerik.Web.UI.MaskedTextBoxEventArgs",Sys.CancelEventArgs); 811Telerik.Web.UI.InputKeyPressEventArgs=function(a,c,b){Telerik.Web.UI.InputKeyPressEventArgs.initializeBase(this); 812this._domEvent=a; 813this._keyCode=c; 814this._keyCharacter=b; 815}; 816Telerik.Web.UI.InputKeyPressEventArgs.prototype={get_domEvent:function(){return this._domEvent; 817},get_keyCode:function(){return this._keyCode; 818},get_keyCharacter:function(){return this._keyCharacter; 819}}; 820Telerik.Web.UI.InputKeyPressEventArgs.registerClass("Telerik.Web.UI.InputKeyPressEventArgs",Sys.CancelEventArgs); 821Telerik.Web.UI.InputButtonClickEventArgs=function(a){Telerik.Web.UI.InputButtonClickEventArgs.initializeBase(this); 822this._buttonType=a; 823}; 824Telerik.Web.UI.InputButtonClickEventArgs.prototype={get_buttonType:function(){return this._buttonType; 825}}; 826Telerik.Web.UI.InputButtonClickEventArgs.registerClass("Telerik.Web.UI.InputButtonClickEventArgs",Sys.CancelEventArgs); 827Telerik.Web.UI.InputErrorEventArgs=function(b,a){Telerik.Web.UI.InputErrorEventArgs.initializeBase(this); 828this._reason=b; 829this._inputText=a; 830}; 831Telerik.Web.UI.InputErrorEventArgs.prototype={get_reason:function(){return this._reason; 832},get_inputText:function(){return this._inputText; 833}}; 834Telerik.Web.UI.InputErrorEventArgs.registerClass("Telerik.Web.UI.InputErrorEventArgs",Sys.CancelEventArgs); 835Telerik.Web.UI.NumericInputErrorEventArgs=function(d,a,c,b){Telerik.Web.UI.NumericInputErrorEventArgs.initializeBase(this,[d,a]); 836this._keyCode=c; 837this._keyCharacter=b; 838}; 839Telerik.Web.UI.NumericInputErrorEventArgs.prototype={get_reason:function(){return this._reason; 840},get_inputText:function(){return this._inputText; 841},get_keyCode:function(){return this._keyCode; 842},get_keyCharacter:function(){return this._keyCharacter; 843}}; 844Telerik.Web.UI.NumericInputErrorEventArgs.registerClass("Telerik.Web.UI.NumericInputErrorEventArgs",Telerik.Web.UI.InputErrorEventArgs); 845Telerik.Web.UI.InputManagerKeyPressEventArgs=function(a,c,b,d){Telerik.Web.UI.InputManagerKeyPressEventArgs.initializeBase(this,[a,c,b]); 846this._targetInput=d; 847}; 848Telerik.Web.UI.InputManagerKeyPressEventArgs.prototype={get_targetInput:function(){return this._targetInput; 849}}; 850Telerik.Web.UI.InputManagerKeyPressEventArgs.registerClass("Telerik.Web.UI.InputManagerKeyPressEventArgs",Telerik.Web.UI.InputKeyPressEventArgs); 851Telerik.Web.UI.InputManagerEventArgs=function(b,a){Telerik.Web.UI.InputManagerEventArgs.initializeBase(this); 852this._targetInput=b; 853this._domEvent=a; 854}; 855Telerik.Web.UI.InputManagerEventArgs.prototype={get_targetInput:function(){return this._targetInput; 856},get_domEvent:function(){return this._domEvent; 857}}; 858Telerik.Web.UI.InputManagerEventArgs.registerClass("Telerik.Web.UI.InputManagerEventArgs",Sys.EventArgs); 859Telerik.Web.UI.InputManagerErrorEventArgs=function(b,a,c){Telerik.Web.UI.InputManagerErrorEventArgs.initializeBase(this,[b,a]); 860this._targetInput=c; 861}; 862Telerik.Web.UI.InputManagerErrorEventArgs.prototype={get_targetInput:function(){return this._targetInput; 863},set_inputText:function(a){this._inputText=a; 864}}; 865Telerik.Web.UI.InputManagerErrorEventArgs.registerClass("Telerik.Web.UI.InputManagerErrorEventArgs",Telerik.Web.UI.InputErrorEventArgs); 866Telerik.Web.UI.NumericInputManagerErrorEventArgs=function(d,a,c,b,e){Telerik.Web.UI.NumericInputManagerErrorEventArgs.initializeBase(this,[d,a,c,b]); 867this._targetInput=e;
868}; 869Telerik.Web.UI.NumericInputManagerErrorEventArgs.prototype={get_targetInput:function(){return this._targetInput; 870}}; 871Telerik.Web.UI.NumericInputManagerErrorEventArgs.registerClass("Telerik.Web.UI.NumericInputManagerErrorEventArgs",Telerik.Web.UI.NumericInputErrorEventArgs); 872Telerik.Web.UI.InputManagerValidatingEventArgs=function(a){Telerik.Web.UI.InputManagerValidatingEventArgs.initializeBase(this); 873this._input=a; 874this._isValid=true; 875this._context=null; 876}; 877Telerik.Web.UI.InputManagerValidatingEventArgs.prototype={get_input:function(){return this._input; 878},get_isValid:function(){return this._isValid; 879},set_isValid:function(a){this._isValid=a; 880},get_context:function(){return this._context; 881},set_context:function(a){this._context=a; 882}}; 883Telerik.Web.UI.InputManagerValidatingEventArgs.registerClass("Telerik.Web.UI.InputManagerValidatingEventArgs",Sys.CancelEventArgs); 884Telerik.Web.UI.PasswordStrengthCalculatingEventArgs=function(b,c,a){Telerik.Web.UI.PasswordStrengthCalculatingEventArgs.initializeBase(this); 885this._passwordText=b; 886this._strengthScore=c; 887this._indicatorText=a; 888}; 889Telerik.Web.UI.PasswordStrengthCalculatingEventArgs.prototype={get_passwordText:function(){return this._passwordText; 890},get_strengthScore:function(){return this._strengthScore; 891},set_strengthScore:function(a){if(typeof a=="number"){a=Math.ceil(a); 892if(a>100){a=100; 893}if(a<0){a=0; 894}this._strengthScore=a; 895}},set_indicatorText:function(a){this._indicatorText=a; 896}}; 897Telerik.Web.UI.PasswordStrengthCalculatingEventArgs.registerClass("Telerik.Web.UI.PasswordStrengthCalculatingEventArgs",Sys.EventArgs); 898Telerik.Web.UI.InputManagerValueChangedEventArgs=function(b,a,d,c){this._domEvent=a; 899this._oldValue=d; 900this._newValue=c; 901this._inputExtender=b; 902}; 903Telerik.Web.UI.InputManagerValueChangedEventArgs.prototype={get_domEvent:function(){return this._domEvent; 904},get_oldValue:function(){return this._oldValue; 905},get_newValue:function(){return this._newValue; 906},get_inputExtender:function(){return this._inputExtender; 907}}; 908Telerik.Web.UI.InputManagerValueChangedEventArgs.registerClass("Telerik.Web.UI.InputManagerValueChangedEventArgs",Sys.EventArgs); 909$telerik.findTextBox=$find; 910$telerik.toTextBox=function(a){return a; 911}; 912Telerik.Web.UI.RadTextBox=function(a){Telerik.Web.UI.RadTextBox.initializeBase(this,[a]); 913this._maxLength=0; 914this._inputType=Telerik.Web.UI.InputType.Text; 915this._passwordSettings=null; 916this._resizeMode="none"; 917this._resizeVertical=false; 918this._resizeHorizontal=false; 919this._onTextBoxMouseMoveDelegate=null; 920this._onResizeIconMouseDownDelegate=null; 921this._resizeIconSpan=null; 922this._onMouseMoveDelegate=null; 923this._onMouseUpDelegate=null; 924this._wrapperElementExtraWidth=0; 925this._parentElementExtraWidth=0; 926this._wrapperElementExtraHeight=0; 927this._parentElementExtraHeight=0; 928this._minWidth=75; 929this._minHeight=35; 930}; 931Telerik.Web.UI.RadTextBox.prototype={initialize:function(){Telerik.Web.UI.RadTextBox.callBaseMethod(this,"initialize"); 932if(this._passwordSettings&&this._passwordSettings.ShowIndicator){Telerik.Web.UI.PasswordStrengthChecker.prototype.showStrength(this,this._textBoxElement,this._passwordSettings); 933}if(this._resizeMode!="none"){if(this._resizeMode=="vertical"){this._resizeVertical=true; 934}else{if(this._resizeMode=="horizontal"){this._resizeHorizontal=true; 935}else{if(this._resizeMode=="both"){this._resizeVertical=true; 936this._resizeHorizontal=true; 937}}}this._wrapperElementExtraWidth=this._textBoxElement.parentNode.offsetWidth-this._textBoxElement.offsetWidth; 938this._parentElementExtraWidth=this.get_wrapperElement().offsetWidth-this._textBoxElement.offsetWidth; 939this._wrapperElementExtraHeight=this._textBoxElement.parentNode.offsetHeight-this._textBoxElement.offsetHeight; 940this._parentElementExtraHeight=this.get_wrapperElement().offsetHeight-this._textBoxElement.offsetHeight; 941this._onTextBoxMouseMoveDelegate=Function.createDelegate(this,this._onTextBoxMouseMoveHandler); 942window.$addHandler(this._textBoxElement,"mousemove",this._onTextBoxMouseMoveDelegate); 943if($telerik.isIE){var a=document.createElement("span"); 944a.className="riResizeIcon"; 945this._textBoxElement.parentNode.appendChild(a); 946this._onResizeIconMouseDownDelegate=Function.createDelegate(this,this._onResizeIconMouseDownHandler); 947this._resizeIconSpan=a; 948window.$addHandler(this._resizeIconSpan,"mousedown",this._onResizeIconMouseDownDelegate); 949if(this._resizeVertical){if(this._resizeHorizontal){if(this._isRtl){this._resizeIconSpan.style.cursor="sw-resize"; 950}else{this._resizeIconSpan.style.cursor="se-resize"; 951}}else{this._resizeIconSpan.style.cursor="s-resize"; 952}}else{this._resizeIconSpan.style.cursor="w-resize"; 953}}else{this.get_wrapperElement().style.backgroundImage="none"; 954}}},dispose:function(){if(this._onTextBoxMouseMoveDelegate){window.$removeHandler(this._textBoxElement,"mousemove",this._onTextBoxMouseMoveDelegate); 955this._onTextBoxMouseMoveDelegate=null; 956}if(this._onResizeIconMouseDownDelegate){window.$removeHandler(this._resizeIconSpan,"mousedown",this._onResizeIconMouseDownDelegate); 957this._onResizeIconMouseDownDelegate=null; 958}this._onMouseUpHandler(null); 959Telerik.Web.UI.RadTextBox.callBaseMethod(this,"dispose"); 960},_onTextBoxMouseWheelHandler:function(a){return true; 961},_onTextBoxKeyUpHandler:function(a){Telerik.Web.UI.RadTextBox.callBaseMethod(this,"_onTextBoxKeyUpHandler",[a]); 962if(this._passwordSettings&&this._passwordSettings.ShowIndicator){Telerik.Web.UI.PasswordStrengthChecker.prototype.showStrength(this,this._textBoxElement,this._passwordSettings); 963}},_onTextBoxPasteHandler:function(a){Telerik.Web.UI.RadTextBox.callBaseMethod(this,"_onTextBoxPasteHandler",[a]); 964var b=this; 965if(b._passwordSettings&&b._passwordSettings.ShowIndicator){window.setTimeout(function(){if(b&&b._passwordSettings&&b._passwordSettings.ShowIndicator){Telerik.Web.UI.PasswordStrengthChecker.prototype.showStrength(b,b._textBoxElement,b._passwordSettings); 966}},0); 967}},_adjustWrappersDimensions:function(){var a=false; 968var c=this._parentElementExtraWidth+this._textBoxElement.offsetWidth; 969var b=this._parentElementExtraHeight+this._textBoxElement.offsetHeight; 970if(c!=this.get_wrapperElement().offsetWidth){this.get_wrapperElement().style.width=c+"px"; 971this._textBoxElement.parentNode.style.width=this._wrapperElementExtraWidth+this._textBoxElement.offsetWidth+"px"; 972a=true; 973}if(b!=this.get_wrapperElement().offsetHeight){this.get_wrapperElement().style.height=b+"px"; 974this._textBoxElement.parentNode.style.height=this._wrapperElementExtraHeight+this._textBoxElement.offsetHeight+"px"; 975a=true; 976}return a; 977},_onTextBoxMouseMoveHandler:function(b){if(!$telerik.isIE){var a=this._adjustWrappersDimensions(); 978if(a&&!$telerik.isFirefox&&!this._onMouseMoveDelegate){this._onMouseMoveDelegate=Function.createDelegate(this,this._onMouseMoveHandler); 979window.$addHandler(document,"mousemove",this._onMouseMoveDelegate); 980this._onMouseUpDelegate=Function.createDelegate(this,this._onMouseUpHandler); 981window.$addHandler(document,"mouseup",this._onMouseUpDelegate); 982}}},_onResizeIconMouseDownHandler:function(a){$telerik.cancelRawEvent(a); 983if(!this._onMouseUpDelegate&&!this._onMouseMoveDelegate){this._onMouseMoveDelegate=Function.createDelegate(this,this._onMouseMoveHandler); 984window.$addHandler(document,"mousemove",this._onMouseMoveDelegate); 985this._onMouseUpDelegate=Function.createDelegate(this,this._onMouseUpHandler); 986window.$addHandler(document,"mouseup",this._onMouseUpDelegate); 987}},_onTextBoxMouseUpHandler:function(a){this._onMouseUpHandler(a); 988Telerik.Web.UI.RadTextBox.callBaseMethod(this,"_onTextBoxMouseUpHandler",[a]); 989}
989,_onMouseUpHandler:function(a){if(this._onMouseMoveDelegate){window.$removeHandler(document,"mousemove",this._onMouseMoveDelegate); 990this._onMouseMoveDelegate=null; 991}if(this._onMouseUpDelegate){window.$removeHandler(document,"mouseup",this._onMouseUpDelegate); 992this._onMouseUpDelegate=null; 993}},_onMouseMoveHandler:function(c){if($telerik.isIE){var f=$telerik.getLocation(this._textBoxElement); 994var g; 995var h; 996if(c.rawEvent.pageX==null){var d=c.target.ownerDocument||document; 997var b=d.documentElement; 998var a=d.body; 999g=c.clientX+(b&&b.scrollLeft||a&&a.scrollLeft||0)-(b&&b.clientLeft||a&&a.clientLeft||0); 1000h=c.clientY+(b&&b.scrollTop||a&&a.scrollTop||0)-(b&&b.clientTop||a&&a.clientTop||0); 1001}else{g=c.rawEvent.pageX; 1002h=c.rawEvent.pageY; 1003}if(this._resizeHorizontal){var j; 1004if(this._isRtl){j=(f.x-g)+this._textBoxElement.clientWidth+5; 1005}else{j=g-f.x+5; 1006}if(j>=this._minWidth){this._textBoxElement.style.width=j+"px"; 1007}}if(this._resizeVertical){var i=5+h-f.y; 1008if(i>=this._minHeight){this._textBoxElement.style.height=i+"px"; 1009}}}this._adjustWrappersDimensions(); 1010},updateCssClass:function(a){if(this._resizeMode!="none"){this._originalTextBoxCssText="height: "+this._textBoxElement.style.height+"; width: "+this._textBoxElement.style.width+";"; 1011}Telerik.Web.UI.RadTextBox.callBaseMethod(this,"updateCssClass",[a]); 1012},get_inputType:function(){return this._inputType; 1013},set_inputType:function(a){if(this._inputType!==a){this._inputType=a; 1014this.raisePropertyChanged("inputType"); 1015}},get_maxLength:function(){return this._maxLength; 1016},set_maxLength:function(a){if(this._maxLength!==a){this._maxLength=a; 1017this.get_element().maxLength=a; 1018this.raisePropertyChanged("maxLength"); 1019}},get_passwordSettings:function(){return this._passwordSettings; 1020},set_passwordSettings:function(a){if(this._passwordSettings!==a){this._passwordSettings=a; 1021}},raise_passwordStrengthCalculating:function(a){this.raiseEvent("passwordStrengthCalculating",a); 1022},add_passwordStrengthCalculating:function(a){this.get_events().addHandler("passwordStrengthCalculating",a); 1023},remove_passwordStrengthCalculating:function(a){this.get_events().removeHandler("passwordStrengthCalculating",a); 1024}}; 1025Telerik.Web.UI.RadTextBox.registerClass("Telerik.Web.UI.RadTextBox",Telerik.Web.UI.RadInputControl);
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.