YUI.add("node-style",function(t,e){(i=t).mix(i.Node.prototype,{setStyle:function(t,e){return i.DOM.setStyle(this._node,t,e),this},setStyles:function(t){return i.DOM.setStyles(this._node,t),this},getStyle:function(t){return i.DOM.getStyle(this._node,t)},getComputedStyle:function(t){return i.DOM.getComputedStyle(this._node,t)}}),i.NodeList.importMethod(i.Node.prototype,["getStyle","getComputedStyle","setStyle","setStyles"]);var i,o=t.Node;t.mix(o.prototype,{show:function(t){return t=arguments[arguments.length-1],this.toggleView(!0,t),this},_show:function(){this.removeAttribute("hidden"),this.setStyle("display","")},_isHidden:function(){return this.hasAttribute("hidden")||"none"===t.DOM.getComputedStyle(this._node,"display")},toggleView:function(t,e){return this._toggleView.apply(this,arguments),this},_toggleView:function(t,e){return e=arguments[arguments.length-1],(t="boolean"!=typeof t?this._isHidden()?1:0:t)?this._show():this._hide(),"function"==typeof e&&e.call(this),this},hide:function(t){return t=arguments[arguments.length-1],this.toggleView(!1,t),this},_hide:function(){this.setAttribute("hidden","hidden"),this.setStyle("display","none")}}),t.NodeList.importMethod(t.Node.prototype,["show","hide","toggleView"])},"patched-v3.18.7",{requires:["dom-style","node-base"]});