1Type.registerNamespace("Sys.Extended.UI.HTMLEditor.ToolbarButton");Sys.Extended.UI.HTMLEditor.ToolbarButton.ImageButton=function(n){Sys.Extended.UI.HTMLEditor.ToolbarButton.ImageButton.initializeBase(this,[n]);this._normalSrc="";this._hoverSrc="";this._downSrc="";this._activeSrc="";this._downTimer=null};Sys.Extended.UI.HTMLEditor.ToolbarButton.ImageButton.prototype={get_normalSrc:function(){return this._normalSrc},set_normalSrc:function(n){this._normalSrc=n;var t=this.get_element();/none$/.test(t.src)&&(t.src=n)},get_hoverSrc:function(){return this._hoverSrc},set_hoverSrc:function(n){this._hoverSrc=n},get_downSrc:function(){return this._downSrc},set_downSrc:function(n){this._downSrc=n},get_activeSrc:function(){return this._activeSrc},set_activeSrc:function(n){this._activeSrc=n},isImage:function(){return!0},_onmouseover:function(){return Sys.Extended.UI.HTMLEditor.ToolbarButton.ImageButton.callBaseMethod(this,"_onmouseover")?(this._hoverSrc.length>0&&(this.get_element().src=this._hoverSrc),!0):!1},_onmouseout:function(){var n=this.get_element();return Sys.Extended.UI.HTMLEditor.ToolbarButton.ImageButton.callBaseMethod(this,"_onmouseout")?(this._hoverSrc.length>0&&(n.src=Sys.UI.DomElement.containsCssClass(n,this._cssClass+"_mousedown")&&this._downSrc.length>0?this._downSrc:Sys.UI.DomElement.containsCssClass(n,this._cssClass+"_active")&&this._activeSrc.length>0?this._activeSrc:this._normalSrc),!0):!1},_onmousedown:function(){return Sys.Extended.UI.HTMLEditor.ToolbarButton.ImageButton.callBaseMethod(this,"_onmousedown")===null?null:(this._downSrc.length>0&&(this.get_element().src=this._downSrc,this._downTimer=setTimeout(Function.createDelegate(this,this._onmouseup),1e3)),!0)},_onmouseup:function(){var n=this.get_element();return Sys.Extended.UI.HTMLEditor.ToolbarButton.ImageButton.callBaseMethod(this,"_onmouseup")?(this._downSrc.length>0&&(n.src=Sys.UI.DomElement.containsCssClass(n,this._cssClass+"_hover")&&this._hoverSrc.length>0?this._hoverSrc:Sys.UI.DomElement.containsCssClass(n,this._cssClass+"_active")&&this._activeSrc.length>0?this._activeSrc:this._normalSrc,this._downTimer!=null&&(clearTimeout(this._downTimer),this._downTimer=null)),!0):!1},setActivity:function(n){var t=this.get_element();this._activeSrc.length>0&&(n?Sys.UI.DomElement.containsCssClass(t,this._cssClass+"_active")||(t.src=this._activeSrc):Sys.UI.DomElement.containsCssClass(t,this._cssClass+"_active")&&(t.src=Sys.UI.DomElement.containsCssClass(t,this._cssClass+"_mousedown")&&this._downSrc.length>0?this._downSrc:Sys.UI.DomElement.containsCssClass(t,this._cssClass+"_hover")&&this._hoverSrc.length>0?this._hoverSrc:this._normalSrc));Sys.Extended.UI.HTMLEditor.ToolbarButton.ImageButton.callBaseMethod(this,"setActivity",[n])}};Sys.Extended.UI.HTMLEditor.ToolbarButton.ImageButton.registerClass("Sys.Extended.UI.HTMLEditor.ToolbarButton.ImageButton",Sys.Extended.UI.HTMLEditor.ToolbarButton.CommonButton);
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.