PageSourceSearch

https://www.palmettoclub.org/ScriptResource.axd?d=axW7rWHOSCLTkUpP…s9tcurohLZTwP_XrNmXMXFm3o-mtcaQ2&t=261f9587

js palmettoclub.org collected 2026-09-28 08:06:19 UTC 61,745 bytes, 1,038 lines download raw bytes

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){if(Telerik.Web.Browser.edge){var c=this;
280setTimeout(function(){c._selectionStart=b;
281c._selectionEnd=a;
282c._applySelection();
283});
284}else{this._selectionStart=b;
285this._selectionEnd=a;
286this._applySelection();
287}},selectAllText:function(){if(this._textBoxElement.value.length>0){this.selectText(0,this._textBoxElement.value.length);
288return true;
289}return false;
290},get_value:function(){return this._value;
291},get_valueAsString:function(){if(this._value){return this._value.toString();
292}else{return"";
293}},_setNewValue:function(a){this._holdsValidValue=this._setHiddenValue(a)||this._holdsValidValue;
294this._textBoxElement.RadInputLastSetTextBoxValue=this._lastSetTextBoxValue=this._textBoxElement.value;
295this._triggerDomEvent("change",this._textBoxElement);
296if(this._holdsValidValue){this.set_displayValue(this._constructDisplayText(this._value));
297this.updateClientState();
298var b=this._initialValueAsText;
299this._initialValueAsText=this._textBoxElement.value;
300this.raise_valueChanged(this.get_editValue(),b);
301this.updateCssClass();
302}else{this.updateClientState();
303}this._initialValueAsText=this.get_editValue();
304},set_value:function(b){var a=new Telerik.Web.UI.InputValueChangingEventArgs(b,this._initialValueAsText);
305this.raise_valueChanging(a);
306if(a.get_cancel()){this.set_textBoxValue(this.get_element().RadInputLastSetTextBoxValue);
307}else{b=a.get_newValue();
308this._setNewValue(b);
309}},get_displayValue:function(){return this._displayText;
310},set_displayValue:function(a){this._displayText=a;
311this.updateDisplayValue();
312},get_editValue:function(){return this._text;
313},set_caretPosition:function(a){if(this._textBoxElement.tagName.toLowerCase()=="textarea"&&this._textBoxElement.value.length<a){return;
314}this._selectionStart=a;
315this._selectionEnd=a;
316this._applySelection();
317},get_caretPosition:function(){this._calculateSelection();
318if(this._selectionStart!=this._selectionEnd){return new Array(this._selectionStart,this._selectionEnd);
319}else{if(this._textBoxElement.selectionStart){return this._textBoxElement.selectionStart;
320}else{return this._selectionStart;
321}}},raisePostBackEvent:function(){eval(this._postBackEventReferenceScript);
322},get_wrapperElement:function(){return $get(this._wrapperElementID);
323},get_textBoxValue:function(){return this._textBoxElement.value;
324},set_textBoxValue:function(a){if(this._textBoxElement.value!=a){this._textBoxElement.value=a;
325}this._lastSetTextBoxValue=a;
326this._textBoxElement.RadInputLastSetTextBoxValue=a;
327},get_autoPostBack:function(){return this._autoPostBack;
328},set_autoPostBack:function(a){if(this._autoPostBack!==a){this._autoPostBack=a;
329this.raisePropertyChanged("autoPostBack");
330}},get_emptyMessage:function(){return this._emptyMessage;
331},set_emptyMessage:function(a){if(this._emptyMessage!==a){this._emptyMessage=a;
332if(this._textBoxElement){this.updateDisplayValue();
333this.updateCssClass();
334this.updateClientState();
335this.raisePropertyChanged("emptyMessage");
336}}},get_selectionOnFocus:function(){return this._selectionOnFocus;
337},set_selectionOnFocus:function(a){if(this._selectionOnFocus!==a){this._selectionOnFocus=a;
338this.raisePropertyChanged("selectionOnFocus");
339}},get_showButton:function(){return this._showButton;
340},set_showButton:function(a){if(this._showButton!==a){this._showButton=a;
341this.raisePropertyChanged("showButton");
342}},get_invalidStyleDuration:function(){return this._invalidStyleDuration;
343},set_invalidStyleDuration:function(a){if(this._invalidStyleDuration!==a){this._invalidStyleDuration=a;
344this.raisePropertyChanged("invalidStyleDuration");
345}},get_enabled:function(){return this._enabled;
346},set_enabled:function(a){if(this._enabled!==a){this._enabled=a;
347this.updateClientState();
348if(this.get_enableAriaSupport()){this._applyAriaStateChange("disabled",!a);
349}this.raisePropertyChanged("enabled");
350}},get_styles:function(){return this._styles;
351},set_styles:function(a){if(this._styles!==a){this._styles=a;
352this.raisePropertyChanged("styles");
353}},get_rippleZonesConfiguration:function(){return[{element:this.get_wrapperElement(),rippleConfigurations:[{containerSelector:".riSelect .riButton"}]}];
354},saveClientState:function(a){var d=["enabled","emptyMessage","validationText","valueAsString"];
355var b;
356var c;
357if(a){for(b=0,c=a.length;
358b<c;
359b++){d[d.length]=a[b];
360}}var e={};
361for(b=0;
362b<d.length;
363b++){e[d[b]]=this["get_"+d[b]]();
364}this.saveCustomClientStateValues(e);
365return Sys.Serialization.JavaScriptSerializer.serialize(e);
366},saveCustomClientStateValues:function(a){a.lastSetTextBoxValue=this._lastSetTextBoxValue;
367},get_visible:function(){if(this.get_wrapperElement().style.display=="none"){return false;
368}else{return true;
369}},set_visible:function(a){if(a==true&&this._originalDisplay!=null){this.get_wrapperElement().style.display=this._originalDisplay;
370this.repaint();
371}else{if(a==false&&this.get_visible()){this._originalDisplay=this.get_wrapperElement().style.display;
372this.get_wrapperElement().style.display="none";
373}}},get_shouldResetWidthInPixels:function(){return this._shouldResetWidthInPixels;
374},set_shouldResetWidthInPixels:function(a){this._shouldResetWidthInPixels=a;
375},get_enableOldBoxModel:function(){return this._enableOldBoxModel;
376},set_enableOldBoxModel:function(a){this._enableOldBoxModel=a;
377},get_enableAriaSupport:function(){return this._enableAriaSupport;
378},set_enableAriaSupport:function(a){if(this._enableAriaSupport!=a){this._enableAriaSupport=a;
379}},get_causesValidation:function(){return this._causesValidation;
380},get_validationGroup:function(){return this._validationGroup;
381},_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;
382var a=0;
383if(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);
384a=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);
385}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);
386a=parseInt(this._textBoxElement.currentStyle.borderTopWidth,10)+parseInt(this._textBoxElement.currentStyle.paddingTop,10)+parseInt(this._textBoxElement.currentStyle.paddingBottom,10)+parseInt(this._textBoxElement.currentStyle.borderBottomWidth,10);
387}}}var j=parseInt(this._textBoxElement.style.width,10);
388if(this._nonTableLayout&&this._textBoxElement.parentNode.style.width&&this._textBoxElement.parentNode.style.width.indexOf("%")==-1){j=parseInt(this._textBoxElement.parentNode.currentStyle.width,10);
389}var k=j-f;
390var b=parseInt(this._textBoxElement.offsetHeight,10)-a;
391if(f==0||k<=0){return;
392}this._textBoxElement.style.width=k+"px";
393var e="";
394var h=this._originalTextBoxCssText.split(";");
395if(h==[]){for(var c=0;
396c<h.length;
397c++){var g=h[c].split(":");
398if(g.length==2){var d=""+g[0].toLowerCase();
399if(d!="width"||d!="height"){e+=h[c]+";";
400}else{if(d=="width"){e+="width:"+k+"px;";
401if(!this._originalTextBoxWidth){this._originalTextBoxWidth=h[c].split(":")[1].trim();
402}}else{e+="height:"+k+"px;";
403}}}}}else{e+="width:"+k+"px;";
404e+="height:"+b+"px;";
405}this._originalTextBoxCssText=e;
406this._reducedPixelWidthFlag=true;
407}},_updatePercentageHeight:function(){var b=$get(this._wrapperElementID);
408if(b.style.height.indexOf("%")!=-1&&b.offsetHeight>0){var a=0;
409if(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);
410}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);
411}}this._textBoxElement.style.height="1px";
412this._textBoxElement.style.cssText=this._textBoxElement.style.cssText;
413this._textBoxElement.style.height=b.offsetHeight-a+"px";
414if(this._originalTextBoxCssText.search(/(^|[^-])height/)!=-1){this._originalTextBoxCssText=this._originalTextBoxCssText.replace(/(^|[^-])height(\s*):(\s*)([^;]+);/i,"$1height:"+(b.offsetHeight-a)+"px;");
415}else{this._originalTextBoxCssText+="height:"+(b.offsetHeight-a)+"px;";
416}}},_initializeButtons:function(){this._onButtonClickDelegate=Function.createDelegate(this,this._onButtonClickHandler);
417this.Button=null;
418var b=$get(this._wrapperElementID);
419var a=b.getElementsByTagName("a");
420for(var c=0;
421c<a.length;
422c++){if(a[c].className.indexOf("riButton")!=(-1)){this.Button=a[c];
423window.$addHandler(this.Button,"click",this._onButtonClickDelegate);
424}}},_initializeAriaSupport:function(){var a=this._textBoxElement;
425a.setAttribute("role","textbox");
426a.setAttribute("aria-atomic","true");
427a.setAttribute("aria-disabled",(!this.get_enabled())+"");
428if(this.isMultiLine()){a.setAttribute("aria-multiline","true");
429}if(this.isReadOnly()){a.setAttribute("aria-readonly","true");
430}if(this.Button){this.Button.setAttribute("role","button");
431this.Button.setAttribute("aria-label","Go");
432}},_applyAriaStateChange:function(b,c){var a=this._textBoxElement;
433if(a){a.setAttribute("aria-"+b,c+"");
434}},_attachEventHandlers:function(){this._onTextBoxKeyUpDelegate=Function.createDelegate(this,this._onTextBoxKeyUpHandler);
435this._onTextBoxKeyPressDelegate=Function.createDelegate(this,this._onTextBoxKeyPressHandler);
436this._onTextBoxBlurDelegate=Function.createDelegate(this,this._onTextBoxBlurHandler);
437this._onTextBoxFocusDelegate=Function.createDelegate(this,this._onTextBoxFocusHandler);
438this._onTextBoxKeyDownDelegate=Function.createDelegate(this,this._onTextBoxKeyDownHandler);
439window.$addHandler(this._textBoxElement,"keydown",this._onTextBoxKeyDownDelegate);
440window.$addHandler(this._textBoxElement,"keypress",this._onTextBoxKeyPressDelegate);
441window.$addHandler(this._textBoxElement,"keyup",this._onTextBoxKeyUpDelegate);
442window.$addHandler(this._textBoxElement,"blur",this._onTextBoxBlurDelegate);
443window.$addHandler(this._textBoxElement,"focus",this._onTextBoxFocusDelegate);
444this._onTextBoxPasteDelegate=Function.createDelegate(this,this._onTextBoxPasteHandler);
445window.$addHandler(this._textBoxElement,"paste",this._onTextBoxPasteDelegate);
446if(this._textBoxElement&&this._textBoxElement.form){this._onFormResetDelegate=Function.createDelegate(this,this._onFormResetHandler);
447window.$addHandler(this._textBoxElement.form,"reset",this._onFormResetDelegate);
448}this._attachMouseEventHandlers();
449},_onTextBoxPasteHandler:function(d){var l=this;
450var k=l._textBoxElement;
451var c;
452var i;
453var h;
454if(l.isMultiLine()&&l._maxLength>0){if($telerik.isSafari){window.setTimeout(function(){k.value=k.value.substr(0,l._maxLength);
455},1);
456}
456else{if($telerik.isIE||$telerik.isFirefox){if(!d){d=window.event;
457}var a=true;
458var b="";
459try{if($telerik.isFirefox){b=d.rawEvent.clipboardData.getData("text/plain");
460}else{b=window.clipboardData.getData("Text");
461}}catch(f){a=false;
462}if(a&&b!=""){if(d.preventDefault&&!$telerik.isIE&&!$telerik.isFirefox){d.preventDefault();
463}if(document.getSelection){i=document.getSelection();
464h=window.getSelection().toString();
465}else{if(document.selection){i=document.selection.createRange();
466h=i.text;
467}else{i=null;
468h=k.value.substring(k.selectionStart,k.selectionEnd);
469}}var g=l._maxLength-l._escapeNewLineChars(k.value,"\r\n").length+l._escapeNewLineChars(h,"\r\n").length;
470var j=l._escapeNewLineChars(b,"\r\n").substr(0,g);
471if(j.length>0&&j.charAt(j.length-1)=="\r"){j=j.substr(0,j.length-1);
472}if(i){i.text=j;
473}else{if(h){k.value=k.value.replace(h,j);
474}else{c=k.value.substr(0,k.selectionStart)+j+k.value.substr(k.selectionStart);
475k.value=c.substr(0,l._maxLength);
476}}}else{window.setTimeout(function(){k.value=k.value.substr(0,l._maxLength);
477},1);
478}}}}},_attachMouseEventHandlers:function(){if(!$telerik.isIE){this._onTextBoxMouseUpDelegate=Function.createDelegate(this,this._onTextBoxMouseUpHandler);
479window.$addHandler(this._textBoxElement,"mouseup",this._onTextBoxMouseUpDelegate);
480}this._onTextBoxMouseOutDelegate=Function.createDelegate(this,this._onTextBoxMouseOutHandler);
481this._onTextBoxMouseOverDelegate=Function.createDelegate(this,this._onTextBoxMouseOverHandler);
482this._onTextBoxMouseWheelDelegate=Function.createDelegate(this,this._onTextBoxMouseWheelHandler);
483this._onTextBoxDragEnterDelegate=Function.createDelegate(this,this._onTextBoxDragEnterHandler);
484this._onTextBoxDragLeaveDelegate=Function.createDelegate(this,this._onTextBoxDragLeaveHandler);
485this._onTextBoxDragDropDelegate=Function.createDelegate(this,this._onTextBoxDragDropHandler);
486window.$addHandler(this._textBoxElement,"mouseout",this._onTextBoxMouseOutDelegate);
487window.$addHandler(this._textBoxElement,"mouseover",this._onTextBoxMouseOverDelegate);
488window.$addHandler(this._textBoxElement,"dragenter",this._onTextBoxDragEnterDelegate);
489window.$addHandler(this._textBoxElement,"dragleave",this._onTextBoxDragLeaveDelegate);
490window.$addHandler(this._textBoxElement,"drop",this._onTextBoxDragDropDelegate);
491if(!$telerik.isIE){if(Telerik.Web.Browser.edge){window.$addHandler(this._textBoxElement,"mousewheel",this._onTextBoxMouseWheelDelegate);
492}if($telerik.isSafari||$telerik.isOpera){window.$addHandler(this._textBoxElement,"mousewheel",this._onTextBoxMouseWheelDelegate);
493}else{window.$addHandler(this._textBoxElement,"DOMMouseScroll",this._onTextBoxMouseWheelDelegate);
494}}else{window.$addHandler(this._textBoxElement,"mousewheel",this._onTextBoxMouseWheelDelegate);
495}},_onTextBoxMouseUpHandler:function(a){},_cancelKeyPressEventIfMaxLengthReached:function(b){var f=this._escapeNewLineChars(this._textBoxElement.value,"\r\n");
496var d=this._maxLength;
497if(d>0&&f.length+(b.charCode==13)>=d&&((b.charCode==13)||this._isNormalChar(b))){var c=false;
498if(document.selection){if(document.selection.createRange().text){c=true;
499}}else{var a=this.get_caretPosition();
500if(a[0]||a[1]){c=true;
501}}if(!c){b.stopPropagation();
502b.preventDefault();
503return false;
504}}},_onTextBoxKeyPressHandler:function(a){this._isEnterPressed=false;
505var b=new Telerik.Web.UI.InputKeyPressEventArgs(a,a.charCode,String.fromCharCode(a.charCode));
506this.raise_keyPress(b);
507if(b.get_cancel()){a.stopPropagation();
508a.preventDefault();
509return false;
510}if((a.charCode==13)&&!this.isMultiLine()){var c=this._textBoxElement.value;
511this._isEnterPressed=true;
512this.set_value(c);
513this._isEnterPressed=false;
514if(this.get_autoPostBack()){a.stopPropagation();
515a.preventDefault();
516return false;
517}return true;
518}if(this.isMultiLine()){return(this._cancelKeyPressEventIfMaxLengthReached(a));
519}},_onTextBoxKeyUpHandler:function(a){if(a&&a.keyCode===9){this._updateSelectionOnFocus();
520}},_onTextBoxBlurHandler:function(a){this._focused=false;
521if(this.isReadOnly()){return;
522}var b=this._textBoxElement.value;
523if(this._initialValueAsText+""!==b){this.set_value(b);
524}else{this.updateDisplayValue();
525this.updateClientState();
526this.updateCssClass();
527}this.raise_blur(Sys.EventArgs.Empty);
528}
528,_onTextBoxFocusHandler:function(a){if(!this.isReadOnly()){this._updateStateOnFocus();
529}if(($telerik.isSafari||$telerik.isFirefox)&&this.get_selectionOnFocus()!=Telerik.Web.UI.SelectionOnFocus.None&&this.get_selectionOnFocus()!=Telerik.Web.UI.SelectionOnFocus.SelectAll){var b=this;
530window.setTimeout(function(){b._updateSelectionOnFocus();
531},0);
532}},_onTextBoxDragEnterHandler:function(a){if(this.get_element().value==""&&this.isEmpty()&&this.get_emptyMessage()!=""){this.set_textBoxValue("");
533}},_onTextBoxDragLeaveHandler:function(a){if(this.isEmpty()&&this.get_emptyMessage()!=""&&!$telerik.isMouseOverElement(this._textBoxElement,a)){this.set_textBoxValue(this.get_emptyMessage());
534}},_updateStateOnFocus:function(){if(this._isDropped||this._lastSetTextBoxValue!==this._textBoxElement.value){this._updateHiddenValue();
535this._isDropped=false;
536}this._focused=true;
537this.updateDisplayValue();
538this.updateCssClass();
539this._updateSelectionOnFocus();
540this.raise_focus(Sys.EventArgs.Empty);
541},_onTextBoxMouseOutHandler:function(a){this._hovered=false;
542this.updateCssClass();
543this.raise_mouseOut(Sys.EventArgs.Empty);
544},_onTextBoxMouseOverHandler:function(a){this._hovered=true;
545this.updateCssClass();
546this.raise_mouseOver(Sys.EventArgs.Empty);
547},_onTextBoxKeyDownHandler:function(a){if(a.keyCode==27&&!$telerik.isIE){var b=this;
548window.setTimeout(function(){b.set_textBoxValue(b.get_editValue());
549},0);
550}},_onTextBoxMouseWheelHandler:function(b){var a;
551if(this._focused){if(b.rawEvent.wheelDelta){a=b.rawEvent.wheelDelta/120;
552if(window.opera){a=-a;
553}}else{if(b.detail){a=-b.rawEvent.detail/3;
554}else{if(b.rawEvent&&b.rawEvent.detail){a=-b.rawEvent.detail/3;
555}}}if(a>0){this._handleWheel(false);
556}else{this._handleWheel(true);
557}b.stopPropagation();
558b.preventDefault();
559}},_onButtonClickHandler:function(a){var b=new Telerik.Web.UI.InputButtonClickEventArgs(Telerik.Web.UI.InputButtonType.Button);
560this.raise_buttonClick(b);
561},_onTextBoxDragDropHandler:function(a){this._isDropped=true;
562if($telerik.isFirefox){var b=this;
563window.setTimeout(function(){b._textBoxElement.focus();
564},1);
565}},_onFormResetHandler:function(a){if(this.get_element().form===a.target){var b=this._constructValueFromInitialText(this._originalInitialValueAsText);
566this._setHiddenValue(b);
567this._initialValueAsText=this._text;
568this.set_displayValue(this._constructDisplayText(this._value));
569this.updateClientState();
570this.updateCssClass();
571}},_calculateSelection:function(){if((Sys.Browser.agent==Sys.Browser.Opera)||!document.selection){var d=this._supportSelection();
572if(d){this._selectionEnd=this._textBoxElement.selectionEnd;
573this._selectionStart=this._textBoxElement.selectionStart;
574}return;
575}var c=0;
576var b=0;
577try{c=Math.abs(document.selection.createRange().moveStart("character",-10000000));
578if(c>0){c=this._calculateSelectionInternal(c);
579}b=Math.abs(document.selection.createRange().moveEnd("character",-10000000));
580if(b>0){b=this._calculateSelectionInternal(b);
581}}catch(a){}this._selectionEnd=b;
582this._selectionStart=c;
583},_calculateSelectionInternal:function(e){if(!this.isMultiLine()){return e;
584}var b=Math.abs(this._textBoxElement.createTextRange().moveEnd("character",-10000000));
585var c=document.body.createTextRange();
586c.moveToElementText(this._textBoxElement);
587var d=Math.abs(c.moveStart("character",-10000000));
588var a=Math.abs(c.moveEnd("character",-10000000));
589if(a-b==d){e-=d;
590}return e;
591},_SetValue:function(a){var b=this._setHiddenValue(a);
592if(typeof(b)=="undefined"||b==true){this.set_textBoxValue(this.get_editValue());
593this.updateClientState();
594}},_triggerDomEvent:function(a,c){if(!a||a==""||!c){return;
595}if(a=="change"){this._textBoxElement.RadInputChangeFired=true;
596}var b;
597if(c.fireEvent&&document.createEventObject){b=document.createEventObject();
598c.fireEvent(String.format("on{0}",a),b);
599}else{if(c.dispatchEvent){b=document.createEvent("HTMLEvents");
600b.initEvent(a,true,true);
601c.dispatchEvent(b);
602}}if(a=="change"){this._textBoxElement.RadInputChangeFired=false;
603}},_updateSelectionOnFocus:function(){if(!this._textBoxElement.value){this.set_caretPosition(0);
604}switch(this.get_selectionOnFocus()){case Telerik.Web.UI.SelectionOnFocus.None:break;
605case Telerik.Web.UI.SelectionOnFocus.CaretToBeginning:this.set_caretPosition(0);
606break;
607case Telerik.Web.UI.SelectionOnFocus.CaretToEnd:if(this._textBoxElement.value.length>0){if($telerik.isIE){var a=this._textBoxElement.value.replace(/\r/g,"").length;
608if(a!=this.get_caretPosition()){this.set_caretPosition(a);
609}}else{this.set_caretPosition(this._textBoxElement.value.length);
610}}break;
611case Telerik.Web.UI.SelectionOnFocus.SelectAll:this.selectAllText();
612break;
613default:this.set_caretPosition(0);
614break;
615}},_isInVisibleContainer:function(b){var a=b;
616while((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;
617}if(typeof(a.parentNode)!="undefined"&&a.parentNode!=null&&a.parentNode!=a&&a.parentNode.tagName.toLowerCase()!="body"){a=a.parentNode;
618}else{return true;
619}}return true;
620},_supportSelection:function(){if(!!this.get_inputType){var a=this.get_inputType();
621if(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;
622}}return true;
623},_applySelection:function(){if(!this._isInVisibleContainer(this._textBoxElement)){return;
624}var b=this;
625var d;
626if((Sys.Browser.agent==Sys.Browser.Opera)||!document.selection){var f=this._supportSelection();
627if(f){this._textBoxElement.focus();
628this._textBoxElement.selectionStart=b._selectionStart;
629this._textBoxElement.selectionEnd=b._selectionEnd;
630}return;
631}try{this._textBoxElement.select();
632d=document.selection.createRange();
633d.collapse();
634d.moveStart("character",this._selectionStart);
635d.collapse();
636d.moveEnd("character",this._selectionEnd-this._selectionStart);
637d.select();
638}catch(c){var a=this;
639window.setTimeout(function(){document.body.focus();
640a._textBoxElement.select();
641d=document.selection.createRange();
642d.collapse();
643d.moveStart("character",a._selectionStart);
644d.collapse();
645d.moveEnd("character",a._selectionEnd-a._selectionStart);
646d.select();
647},1);
648}},set_invalid:function(a){if(this._holdsValidValue==a){this._holdsValidValue=!a;
649this.updateCssClass();
650}},get_invalid:function(){return !this._holdsValidValue;
651},_invalidate:function(){if(this._holdsValidValue){this._holdsValidValue=false;
652this._initialValueAsText="";
653this._displayText="";
654this._clearHiddenValue();
655return false;
656}},_clearHiddenValue:function(){var a=this._errorHandlingCanceled;
657this._errorHandlingCanceled=true;
658this._setHiddenValue("");
659this.updateClientState();
660this._errorHandlingCanceled=a;
661},_handleWheel:function(a){},_setHiddenValue:function(a){if(a){a=a.toString();
662}else{a="";
663}if(a==this._value){return false;
664}else{this._value=a;
665this._text=this._constructEditText(a);
666this.set_validationText(this._constructValidationText(a));
667return true;
668}},get_validationText:function(a){return this._validationText;
669},set_validationText:function(a){this._validationText=a;
670this._textBoxElement.RadInputValidationValue=a;
671},_updateHiddenValue:function(){if(!this._textBoxElement.readOnly){if(this._setHiddenValue(this._textBoxElement.value)){this.updateClientState();
672return true;
673}else{return false;
674}}else{return false;
675}},_escapeNewLineChars:function(b,a){return b.replace(/\r\n/g,"\n").replace(/\n/g,a);
676},_isNormalChar:function(a){if(($telerik.isOpera&&a.rawEvent.which==0)||($telerik.isSafari&&(a.charCode<Sys.UI.Key.space||a.charCode>60000))){return false;
677}return true;
678},_constructEditText:function(a){return a;
679},_constructDisplayText:function(a){return a;
680},_constructValidationText:function(a){return a;
681},_constructValueFromInitialText:function(a){return a;
682},_canAutoPostBackAfterValidation:function(){if(!this.get_causesValidation()||!window.Page_ValidationActive){return true;
683}return window.Page_ClientValidate(this.get_validationGroup());
684},add_blur:function(a){this.get_events().addHandler("blur",a);
685},remove_blur:function(a){this.get_events().removeHandler("blur",a);
686},raise_blur:function(a){this.raiseEvent("blur",a);
687},add_mouseOut:function(a){this.get_events().addHandler("mouseOut",a);
688},remove_mouseOut:function(a){this.get_events().removeHandler("mouseOut",a);
689},raise_mouseOut:function(a){this.raiseEvent("mouseOut",a);
690},add_valueChanged:function(a){this.get_events().addHandler("valueChanged",a);
691},remove_valueChanged:function(a){this.get_events().removeHandler("valueChanged",a);
692},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;
693}}var d=false;
694if(typeof(b)!="undefined"&&b!=null&&typeof(c)!="undefined"&&c!=null){if(b.toString()!=c.toString()){var a=new Telerik.Web.UI.InputValueChangedEventArgs(b,c);
695this.raiseEvent("valueChanged",a);
696d=!a.get_cancel();
697}else{d=this._isEnterPressed;
698}}if(this.get_autoPostBack()&&d&&this._canAutoPostBackAfterValidation()){this.raisePostBackEvent();
699}},add_error:function(a){this.get_events().addHandler("error",a);
700},remove_error:function(a){this.get_events().removeHandler("error",a);
701}
701,raise_error:function(a){if(this.InEventRaise){return;
702}this.InEventRaise=true;
703this.raiseEvent("error",a);
704if(!a.get_cancel()){this._invalid=true;
705this._errorHandlingCanceled=false;
706this.updateCssClass();
707if(this.get_enableAriaSupport()){this._applyAriaStateChange("invalid",true);
708}var c=this._isIncrementing?true:false;
709var b=this;
710var d=function(){b._invalid=false;
711b.updateCssClass(c);
712if(b.get_enableAriaSupport()){b._applyAriaStateChange("invalid",false);
713}};
714setTimeout(function(){d();
715},this.get_invalidStyleDuration());
716}else{this._errorHandlingCanceled=true;
717this._invalid=false;
718this.updateCssClass();
719}this.InEventRaise=false;
720},add_load:function(a){this.get_events().addHandler("load",a);
721},remove_load:function(a){this.get_events().removeHandler("load",a);
722},raise_load:function(a){this.raiseEvent("load",a);
723},add_mouseOver:function(a){this.get_events().addHandler("mouseOver",a);
724},remove_mouseOver:function(a){this.get_events().removeHandler("mouseOver",a);
725},raise_mouseOver:function(a){this.raiseEvent("mouseOver",a);
726},add_focus:function(a){this.get_events().addHandler("focus",a);
727},remove_focus:function(a){this.get_events().removeHandler("focus",a);
728},raise_focus:function(a){this.raiseEvent("focus",a);
729},add_disable:function(a){this.get_events().addHandler("disable",a);
730},remove_disable:function(a){this.get_events().removeHandler("disable",a);
731},raise_disable:function(a){this.raiseEvent("disable",a);
732},add_enable:function(a){this.get_events().addHandler("enable",a);
733},remove_enable:function(a){this.get_events().removeHandler("enable",a);
734},raise_enable:function(a){this.raiseEvent("enable",a);
735},add_keyPress:function(a){this.get_events().addHandler("keyPress",a);
736},remove_keyPress:function(a){this.get_events().removeHandler("keyPress",a);
737},raise_keyPress:function(a){this.raiseEvent("keyPress",a);
738},add_enumerationChanged:function(a){this.get_events().addHandler("enumerationChanged",a);
739},remove_enumerationChanged:function(a){this.get_events().removeHandler("enumerationChanged",a);
740},raise_enumerationChanged:function(a){this.raiseEvent("enumerationChanged",a);
741},add_moveUp:function(a){this.get_events().addHandler("moveUp",a);
742},remove_moveUp:function(a){this.get_events().removeHandler("moveUp",a);
743},raise_moveUp:function(a){this.raiseEvent("moveUp",a);
744},add_moveDown:function(a){this.get_events().addHandler("moveDown",a);
745},remove_moveDown:function(a){this.get_events().removeHandler("moveDown",a);
746},raise_moveDown:function(a){this.raiseEvent("moveDown",a);
747},add_buttonClick:function(a){this.get_events().addHandler("buttonClick",a);
748},remove_buttonClick:function(a){this.get_events().removeHandler("buttonClick",a);
749},raise_buttonClick:function(a){this.raiseEvent("buttonClick",a);
750},add_valueChanging:function(a){this.get_events().addHandler("valueChanging",a);
751},remove_valueChanging:function(a){this.get_events().removeHandler("valueChanging",a);
752},raise_valueChanging:function(a){this.raiseEvent("valueChanging",a);
753}};
754Telerik.Web.UI.RadInputControl.OverrideValidatorFunctions=function(){if(typeof(window.ValidatorGetValue)=="function"&&typeof(window.ValidatorGetValue_Original)=="undefined"){window.ValidatorGetValue_Original=window.ValidatorGetValue;
755window.ValidatorGetValue=function(b){var a=document.getElementById(b);
756if(typeof(a.RadInputValidationValue)=="string"){if(a.RadInputLastSetTextBoxValue==a.value){return a.RadInputValidationValue;
757}else{return a.value;
758}}else{return window.ValidatorGetValue_Original(b);
759}};
760}if(typeof(ValidatorOnChange)=="function"&&typeof(window.ValidatorOnChange_Original)=="undefined"){window.ValidatorOnChange_Original=window.ValidatorOnChange;
761window.ValidatorOnChange=function(b){b=b||window.event;
762var a;
763if((typeof(b.srcElement)!="undefined")&&(b.srcElement!=null)){a=b.srcElement;
764}else{a=b.target;
765}if(typeof(a.RadInputValidationValue)!="string"||(typeof(a.RadInputChangeFired)=="boolean"&&a.RadInputChangeFired)){return window.ValidatorOnChange_Original(b);
766}};
767}if(typeof(window.ValidatedTextBoxOnKeyPress)=="function"&&typeof(window.ValidatedTextBoxOnKeyPress_Original)=="undefined"){window.ValidatedTextBoxOnKeyPress_Original=window.ValidatedTextBoxOnKeyPress;
768window.ValidatedTextBoxOnKeyPress=function(b){b=b||window.event;
769if(b.keyCode==13){window.ValidatorOnChange(b);
770var a;
771if((typeof(b.srcElement)!="undefined")&&(b.srcElement!=null)){a=b.srcElement;
772}else{a=b.target;
773}if(typeof(a.RadInputValidationValue)!="string"){return window.AllValidatorsValid(a.Validators);
774}}return true;
775};
776}};
777Telerik.Web.UI.RadInputControl.registerClass("Telerik.Web.UI.RadInputControl",Telerik.Web.UI.RadWebControl);
778Telerik.Web.UI.RadInputControl.CancelRawEventOnEnterKey=function(b,a){if(a.get_keyCode()==13){return $telerik.cancelRawEvent(a.get_domEvent());
779}};
780Telerik.Web.UI.RadInputControl.OverrideValidatorFunctions();
781Type.registerNamespace("Telerik.Web.UI");
782Telerik.Web.UI.InputErrorReason=function(){};
783Telerik.Web.UI.InputErrorReason.prototype={ParseError:1,OutOfRange:2};
784Telerik.Web.UI.InputErrorReason.registerEnum("Telerik.Web.UI.InputErrorReason",fal
784se);
785Telerik.Web.UI.SelectionOnFocus=function(){};
786Telerik.Web.UI.SelectionOnFocus.prototype={None:0,CaretToBeginning:1,CaretToEnd:2,SelectAll:3};
787Telerik.Web.UI.SelectionOnFocus.registerEnum("Telerik.Web.UI.SelectionOnFocus",false);
788Telerik.Web.UI.InputButtonType=function(){};
789Telerik.Web.UI.InputButtonType.prototype={Button:1,MoveUpButton:2,MoveDownButton:3};
790Telerik.Web.UI.InputButtonType.registerEnum("Telerik.Web.UI.InputButtonType",false);
791Telerik.Web.UI.DisplayFormatPosition=function(){};
792Telerik.Web.UI.DisplayFormatPosition.prototype={Left:1,Right:2};
793Telerik.Web.UI.DisplayFormatPosition.registerEnum("Telerik.Web.UI.DisplayFormatPosition",false);
794Telerik.Web.UI.InputSettingValidateOnEvent=function(){};
795Telerik.Web.UI.InputSettingValidateOnEvent.prototype={Blur:0,Submit:1,All:2};
796Telerik.Web.UI.InputSettingValidateOnEvent.registerEnum("Telerik.Web.UI.InputSettingValidateOnEvent",false);
797Telerik.Web.UI.InputType=function(){};
798Telerik.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};
799Telerik.Web.UI.InputType.registerEnum("Telerik.Web.UI.InputType",false);
800Type.registerNamespace("Telerik.Web.UI");
801Telerik.Web.UI.InputValueChangedEventArgs=function(a,b){Telerik.Web.UI.InputValueChangedEventArgs.initializeBase(this);
802this._newValue=a;
803this._oldValue=b;
804};
805Telerik.Web.UI.InputValueChangedEventArgs.prototype={get_oldValue:function(){return this._oldValue;
806},get_newValue:function(){return this._newValue;
807}};
808Telerik.Web.UI.InputValueChangedEventArgs.registerClass("Telerik.Web.UI.InputValueChangedEventArgs",Sys.CancelEventArgs);
809Telerik.Web.UI.InputValueChangingEventArgs=function(a,b){Telerik.Web.UI.InputValueChangingEventArgs.initializeBase(this,[a,b]);
810};
811Telerik.Web.UI.InputValueChangingEventArgs.prototype={set_newValue:function(a){if(this._newValue!==a){this._newValue=a;
812}}};
813Telerik.Web.UI.InputValueChangingEventArgs.registerClass("Telerik.Web.UI.InputValueChangingEventArgs",Telerik.Web.UI.InputValueChangedEventArgs);
814Telerik.Web.UI.MaskedTextBoxEventArgs=function(b,c,a){Telerik.Web.UI.MaskedTextBoxEventArgs.initializeBase(this);
815this._newValue=b;
816this._oldValue=c;
817this._chunk=a;
818};
819Telerik.Web.UI.MaskedTextBoxEventArgs.prototype={get_oldValue:function(){return this._oldValue;
820},get_newValue:function(){return this._newValue;
821},get_currentPart:function(){return this._chunk;
822}};
823Telerik.Web.UI.MaskedTextBoxEventArgs.registerClass("Telerik.Web.UI.MaskedTextBoxEventArgs",Sys.CancelEventArgs);
824Telerik.Web.UI.InputKeyPressEventArgs=function(a,c,b){Telerik.Web.UI.InputKeyPressEventArgs.initializeBase(this);
825this._domEvent=a;
826this._keyCode=c;
827this._keyCharacter=b;
828};
829Telerik.Web.UI.InputKeyPressEventArgs.prototype={get_domEvent:function(){return this._domEvent;
830},get_keyCode:function(){return this._keyCode;
831},get_keyCharacter:function(){return this._keyCharacter;
832}};
833Telerik.Web.UI.InputKeyPressEventArgs.registerClass("Telerik.Web.UI.InputKeyPressEventArgs",Sys.CancelEventArgs);
834Telerik.Web.UI.InputButtonClickEventArgs=function(a){Telerik.Web.UI.InputButtonClickEventArgs.initializeBase(this);
835this._buttonType=a;
836};
837Telerik.Web.UI.InputButtonClickEventArgs.prototype={get_buttonType:function(){return this._buttonType;
838}};
839Telerik.Web.UI.InputButtonClickEventArgs.registerClass("Telerik.Web.UI.InputButtonClickEventArgs",Sys.CancelEventArgs);
840Telerik.Web.UI.InputErrorEventArgs=function(b,a){Telerik.Web.UI.InputErrorEventArgs.initializeBase(this);
841this._reason=b;
842this._inputText=a;
843};
844Telerik.Web.UI.InputErrorEventArgs.prototype={get_reason:function(){return this._reason;
845},get_inputText:function(){return this._inputText;
846}};
847Telerik.Web.UI.InputErrorEventArgs.registerClass("Telerik.Web.UI.InputErrorEventArgs",Sys.CancelEventArgs);
848Telerik.Web.UI.NumericInputErrorEventArgs=function(d,a,c,b){Telerik.Web.UI.NumericInputErrorEventArgs.initializeBase(this,[d,a]);
849this._keyCode=c;
850this._keyCharacter=b;
851};
852Telerik.Web.UI.NumericInputErrorEventArgs.prototype={get_reason:function(){return this._reason;
853},get_inputText:function(){return this._inputText;
854},get_keyCode:function(){return this._keyCode;
855},get_keyCharacter:function(){return this._keyCharacter;
856}};
857Telerik.Web.UI.NumericInputErrorEventArgs.registerClass("Telerik.Web.UI.NumericInputErrorEventArgs",Telerik.Web.UI.InputErrorEventArgs);
858Telerik.Web.UI.InputManagerKeyPressEventArgs=function(a,c,b,d){Telerik.Web.UI.InputManagerKeyPressEventArgs.initializeBase(this,[a,c,b]);
859this._targetInput=d;
860};
861Telerik.Web.UI.InputManagerKeyPressEventArgs.prototype={get_targetInput:function(){return this._targetInput;
862}};
863Telerik.Web.UI.InputManagerKeyPressEventArgs.registerClass("Telerik.Web.UI.InputManagerKeyPressEventArgs",Telerik.Web.UI.InputKeyPressEventArgs);
864Telerik.Web.UI.InputManagerEventArgs=function(b,a){Telerik.Web.UI.InputManagerEventArgs.initializeBase(this);
865this._targetInput=b;
866this._domEvent=a;
867};
868Telerik.Web.UI.InputManagerEventArgs.prototype={get_targetInput:function(){return this._targetInput;
869},get_domEvent:function(){return this._domEvent;
870}};
871Telerik.Web.UI.InputManagerEventArgs.registerClass("Telerik.Web.UI.InputManagerEventArgs",Sys.EventArgs);
872Telerik.Web.UI.InputManagerErrorEventArgs=function(b,a,c){Telerik.Web.UI.InputManagerErrorEventArgs.initializeBase(this,[b,a]);
873this._targetInput=c;
874};
875Telerik.Web.UI.InputManagerErrorEventArgs.prototype={get_targetInput:function(){return this._targetInput;
876},set_inputText:function(a){this._inputText=a;
877}};
878Telerik.Web.UI.InputManagerErrorEventArgs.registerClass("Telerik.Web.UI.InputManagerErrorEventArgs",Telerik.Web.UI.InputErrorEventArgs);
879Telerik.Web.UI.NumericInputManagerErrorEventArgs=function(d,a,c,b,e){Telerik.Web.UI.NumericInputManagerErrorEventArgs.initializeBase(this,[d,a,c,b]);
880this._targetInput=e;
881};
882Telerik.Web.UI.NumericInputManagerErrorEventArgs.prototype={get_targetInput:function(){return this._targetInput;
883}};
884Telerik.Web.UI.NumericInputManagerErrorEventArgs.registerClass("Telerik.Web.UI.NumericInputManagerErrorEventArgs",Telerik.Web.UI.NumericInputErrorEventArgs);
885Telerik.Web.UI.InputManagerValidatingEventArgs=function(a){Telerik.Web.UI.InputManagerValidatingEventArgs.initializeBase(this);
886this._input=a;
887this._isValid=true;
888this._context=null;
889};
890Telerik.Web.UI.InputManagerValidatingEventArgs.prototype={get_input:function(){return this._input;
891},get_isValid:function(){return this._isValid;
892},set_isValid:function(a){this._isValid=a;
893},get_context:function(){return this._context;
894},set_context:function(a){this._context=a;
895}};
896Telerik.Web.UI.InputManagerValidatingEventArgs.registerClass("Telerik.Web.UI.InputManagerValidatingEventArgs",Sys.CancelEventArgs);
897Telerik.Web.UI.PasswordStrengthCalculatingEventArgs=function(b,c,a){Telerik.Web.UI.PasswordStrengthCalculatingEventArgs.initializeBase(this);
898this._passwordText=b;
899this._strengthScore=c;
900this._indicatorText=a;
901};
902Telerik.Web.UI.PasswordStrengthCalculatingEventArgs.prototype={get_passwordText:function(){return this._passwordText;
903},get_strengthScore:function(){return this._strengthScore;
904},set_strengthScore:function(a){if(typeof a=="number"){a=Math.ceil(a);
905if(a>100){a=100;
906}if(a<0){a=0;
907}this._strengthScore=a;
908}},set_indicatorText:function(a){this._indicatorText=a;
909}};
910Telerik.Web.UI.PasswordStrengthCalculatingEventArgs.registerClass("Telerik.Web.UI.PasswordStrengthCalculatingEventArgs",Sys.EventArgs);
911Telerik.Web.UI.InputManagerValueChangedEventArgs=function(b,a,d,c){this._domEvent=a;
912this._oldValue=d;
913this._newValue=c;
914this._inputExtender=b;
915};
916Telerik.Web.UI.InputManagerValueChangedEventArgs.prototype={get_domEvent:function(){return this._domEvent;
917},get_oldValue:function(){return this._oldValue;
918},get_newValue:function(){return this._newValue;
919},get_inputExtender:function(){return this._inputExtender;
920}};
921Telerik.Web.UI.InputManagerValueChangedEventArgs.registerClass("Telerik.Web.UI.InputManagerValueChangedEventArgs",Sys.EventArgs);
922$telerik.findTextBox=$find;
923$telerik.toTextBox=function(a){return a;
924};
925Telerik.Web.UI.RadTextBox=function(a){Telerik.Web.UI.RadTextBox.initializeBase(this,[a]);
926this._maxLength=0;
927this._inputType=Telerik.Web.UI.InputType.Text;
928this._passwordSettings=null;
929this._resizeMode="none";
930this._resizeVertical=false;
931this._resizeHorizontal=false;
932this._onTextBoxMouseMoveDelegate=null;
933this._onResizeIconMouseDownDelegate=null;
934this._resizeIconSpan=null;
935this._onMouseMoveDelegate=null;
936this._onMouseUpDelegate=null;
937this._wrapperElementExtraWidth=0;
938this._parentElementExtraWidth=0;
939this._wrapperElementExtraHeight=0;
940this._parentElementExtraHeight=0;
941this._minWidth=75;
942this._minHeight=35;
943};
944Telerik.Web.UI.RadTextBox.prototype={initialize:function(){Telerik.Web.UI.RadTextBox.callBaseMethod(this,"initialize");
945if(this._passwordSettings&&this._passwordSettings.ShowIndicator){Telerik.Web.UI.PasswordStrengthChecker.prototype.showStrength(this,this._textBoxElement,this._passwordSettings);
946}if(this._resizeMode!="none"){if(this._resizeMode=="vertical"){this._resizeVertical=true;
947}else{if(this._resizeMode=="horizontal"){this._resizeHorizontal=true;
948}else{if(this._resizeMode=="both"){this._resizeVertical=true;
949this._resizeHorizontal=true;
950}}}this._wrapperElementExtraWidth=this._textBoxElement.parentNode.offsetWidth-this._textBoxElement.offsetWidth;
951this._parentElementExtraWidth=this.get_wrapperElement().offsetWidth-this._textBoxElement.offsetWidth;
952this._wrapperElementExtraHeight=this._textBoxElement.parentNode.offsetHeight-this._textBoxElement.offsetHeight;
953this._parentElementExtraHeight=this.get_wrapperElement().offsetHeight-this._textBoxElement.offsetHeight;
954this._onTextBoxMouseMoveDelegate=Function.createDelegate(this,this._onTextBoxMouseMoveHandler);
955window.$addHandler(this._textBoxElement,"mousemove",this._onTextBoxMouseMoveDelegate);
956if($telerik.isIE){var a=document.createElement("span");
957a.className="riResizeIcon";
958this._textBoxElement.parentNode.appendChild(a);
959this._onResizeIconMouseDownDelegate=Function.createDelegate(this,this._onResizeIconMouseDownHandler);
960this._resizeIconSpan=a;
961window.$addHandler(this._resizeIconSpan,"mousedown",this._onResizeIconMouseDownDelegate);
962if(this._resizeVertical){if(this._resizeHorizontal){if(this._isRtl){this._resizeIconSpan.style.cursor="sw-resize";
963}else{this._resizeIconSpan.style.cursor="se-resize";
964}}else{this._resizeIconSpan.style.cursor="s-resize";
965}}else{this._resizeIconSpan.style.cursor="w-resize";
966}}else{this.get_wrapperElement().style.backgroundImage="none";
967}}},dispose:function(){if(this._onTextBoxMouseMoveDelegate){window.$removeHandler(this._textBoxElement,"mousemove",this._onTextBoxMouseMoveDelegate);
968this._onTextBoxMouseMoveDelegate=null;
969}if(this._onResizeIconMouseDownDelegate){window.$removeHandler(this._resizeIconSpan,"mousedown",this._onResizeIconMouseDownDelegate);
970this._onResizeIconMouseDownDelegate=null;
971}this._onMouseUpHandler(null);
972Telerik.Web.UI.RadTextBox.callBaseMethod(this,"dispose");
973},_onTextBoxMouseWheelHandler:function(a){return true;
974},_onTextBoxKeyUpHandler:function(a){Telerik.Web.UI.RadTextBox.callBaseMethod(this,"_onTextBoxKeyUpHandler",[a]);
975if(this._passwordSettings&&this._passwordSettings.ShowIndicator){Telerik.Web.UI.PasswordStrengthChecker.prototype.showStrength(this,this._textBoxElement,this._passwordSettings);
976}},_onTextBoxPasteHandler:function(a){Telerik.Web.UI.RadTextBox.callBaseMethod(this,"_onTextBoxPasteHandler",[a]);
977var b=this;
978if(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);
979}},0);
980}},_adjustWrappersDimensions:function(){var a=false;
981var c=this._parentElementExtraWidth+this._textBoxElement.offsetWidth;
982var b=this._parentElementExtraHeight+this._textBoxElement.offsetHeight;
983if(c!=this.get_wrapperElement().offsetWidth){this.get_wrapperElement().style.width=c+"px";
984this._textBoxElement.parentNode.style.width=this._wrapperElementExtraWidth+this._textBoxElement.offsetWidth+"px";
985a=true;
986}if(b!=this.get_wrapperElement().offsetHeight){this.get_wrapperElement().style.height=b+"px";
987this._textBoxElement.parentNode.style.height=this._wrapperElementExtraHeight+this._textBoxElement.offsetHeight+"px";
988a=true;
989}return a;
990},_onTextBoxMouseMoveHandler:function(b){if(!$telerik.isIE){var a=this._adjustWrappersDimensions();
991if(a&&!$telerik.isFirefox&&!this._onMouseMoveDelegate){this._onMouseMoveDelegate=Function.createDelegate(this,this._onMouseMoveHandler);
992window.$addHandler(document,"mousemove",this._onMouseMoveDelegate);
993this._onMouseUpDelegate=Function.createDelegate(this,this._onMouseUpHandler);
994window.$addHandler(document,"mouseup",this._onMouseUpDelegate);
995}}},_onResizeIconMouseDownHandler:function(a){$telerik.cancelRawEvent(a);
996if(!this._onMouseUpDelegate&&!this._onMouseMoveDelegate){this._onMouseMoveDelegate=Function.createDelegate(this,this._onMouseMoveHandler);
997window.$addHandler(document,"mousemove",this._onMouseMoveDelegate);
998this._onMouseUpDelegate=Function.createDelegate(this,this._onMouseUpHandler);
999window.$addHandler(document,"mouseup",this._onMouseUpDelegate);
1000}},_onTextBoxMouseUpHandler:function(a){this._onMouseUpHandler(a);
1001Telerik.Web.UI.RadTextBox.callBaseMethod(this,"_onTextBoxMouseUpHandler",[a]);
1002}
1002,_onMouseUpHandler:function(a){if(this._onMouseMoveDelegate){window.$removeHandler(document,"mousemove",this._onMouseMoveDelegate);
1003this._onMouseMoveDelegate=null;
1004}if(this._onMouseUpDelegate){window.$removeHandler(document,"mouseup",this._onMouseUpDelegate);
1005this._onMouseUpDelegate=null;
1006}},_onMouseMoveHandler:function(c){if($telerik.isIE){var f=$telerik.getLocation(this._textBoxElement);
1007var g;
1008var h;
1009if(c.rawEvent.pageX==null){var d=c.target.ownerDocument||document;
1010var b=d.documentElement;
1011var a=d.body;
1012g=c.clientX+(b&&b.scrollLeft||a&&a.scrollLeft||0)-(b&&b.clientLeft||a&&a.clientLeft||0);
1013h=c.clientY+(b&&b.scrollTop||a&&a.scrollTop||0)-(b&&b.clientTop||a&&a.clientTop||0);
1014}else{g=c.rawEvent.pageX;
1015h=c.rawEvent.pageY;
1016}if(this._resizeHorizontal){var j;
1017if(this._isRtl){j=(f.x-g)+this._textBoxElement.clientWidth+5;
1018}else{j=g-f.x+5;
1019}if(j>=this._minWidth){this._textBoxElement.style.width=j+"px";
1020}}if(this._resizeVertical){var i=5+h-f.y;
1021if(i>=this._minHeight){this._textBoxElement.style.height=i+"px";
1022}}}this._adjustWrappersDimensions();
1023},updateCssClass:function(a){if(this._resizeMode!="none"){this._originalTextBoxCssText="height: "+this._textBoxElement.style.height+"; width: "+this._textBoxElement.style.width+";";
1024}Telerik.Web.UI.RadTextBox.callBaseMethod(this,"updateCssClass",[a]);
1025},get_inputType:function(){return this._inputType;
1026},set_inputType:function(a){if(this._inputType!==a){this._inputType=a;
1027this.raisePropertyChanged("inputType");
1028}},get_maxLength:function(){return this._maxLength;
1029},set_maxLength:function(a){if(this._maxLength!==a){this._maxLength=a;
1030this.get_element().maxLength=a;
1031this.raisePropertyChanged("maxLength");
1032}},get_passwordSettings:function(){return this._passwordSettings;
1033},set_passwordSettings:function(a){if(this._passwordSettings!==a){this._passwordSettings=a;
1034}},raise_passwordStrengthCalculating:function(a){this.raiseEvent("passwordStrengthCalculating",a);
1035},add_passwordStrengthCalculating:function(a){this.get_events().addHandler("passwordStrengthCalculating",a);
1036},remove_passwordStrengthCalculating:function(a){this.get_events().removeHandler("passwordStrengthCalculating",a);
1037}};
1038Telerik.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.