YUI.add("attribute-extras",function(e,t){var n={readOnly:1,writeOnce:1,getter:1,broadcast:1};function r(){}r.prototype={modifyAttr:function(t,e){var r,a,i=this;if(i.attrAdded(t))for(r in i._isLazyAttr(t)&&i._addLazyAttr(t),a=i._state,e)n[r]&&e.hasOwnProperty(r)&&(a.add(t,r,e[r]),"broadcast"===r)&&a.remove(t,"published")},removeAttr:function(t){this._state.removeAll(t)},reset:function(t){var r=this;return t?(r._isLazyAttr(t)&&r._addLazyAttr(t),r.set(t,r._state.get(t,"initValue"))):e.Object.each(r._state.data,function(t,e){r.reset(e)}),r},_getAttrCfg:function(t){var r,a=this._state;return t?r=a.getAll(t)||{}:(r={},e.each(a.data,function(t,e){r[e]=a.getAll(e)})),r}},e.AttributeExtras=r},"patched-v3.18.7",{requires:["oop"]});