YUI.add("datatable-highlight",function(i,e){var t=i.ClassNameManager.getClassName;function l(){}l.ATTRS={highlightRows:{value:!1,setter:"_setHighlightRows",validator:i.Lang.isBoolean},highlightCols:{value:!1,setter:"_setHighlightCols",validator:i.Lang.isBoolean},highlightCells:{value:!1,setter:"_setHighlightCells",validator:i.Lang.isBoolean}},l.prototype={highlightClassNames:{row:t(e,"row"),col:t(e,"col"),cell:t(e,"cell")},_colSelector:".{prefix}-data .{prefix}-col-{col}",_colNameRegex:"{prefix}-col-(\\S*)",_highlightDelegates:{},_setHighlightRows:function(e){var t=this._highlightDelegates;return t.row&&t.row.detach(),!0===e&&(t.row=this.delegate("hover",i.bind(this._highlightRow,this),i.bind(this._highlightRow,this),"tbody tr")),e},_setHighlightCols:function(e){var t=this._highlightDelegates;t.col&&t.col.detach(),!0===e&&(this._buildColSelRegex(),t.col=this.delegate("hover",i.bind(this._highlightCol,this),i.bind(this._highlightCol,this),"tr td"))},_setHighlightCells:function(e){var t=this._highlightDelegates;return t.cell&&t.cell.detach(),!0===e&&(t.cell=this.delegate("hover",i.bind(this._highlightCell,this),i.bind(this._highlightCell,this),"tbody td")),e},_highlightRow:function(e){e.currentTarget.toggleClass(this.highlightClassNames.row,"over"===e.phase)},_highlightCol:function(e){var t=this._colNameRegex.exec(e.currentTarget.getAttribute("class")),t=i.Lang.sub(this._colSelector,{prefix:this._cssPrefix,col:t[1]});this.view.tableNode.all(t).toggleClass(this.highlightClassNames.col,"over"===e.phase)},_highlightCell:function(e){e.currentTarget.toggleClass(this.highlightClassNames.cell,"over"===e.phase)},_buildColSelRegex:function(){var e=this._colNameRegex;"string"==typeof e&&(this._colNameRegex=new RegExp(i.Lang.sub(e,{prefix:this._cssPrefix})))}},i.DataTable.Highlight=l,i.Base.mix(i.DataTable,[i.DataTable.Highlight])},"patched-v3.18.4",{requires:["datatable-base","event-hover"],skinnable:!0});