let Element_prototype=Element.prototype,nativeHasAttribute=Element.prototype.hasAttribute,nativeSetAttribute=Element.prototype.setAttribute,nativeRemoveAttribute=Element.prototype.removeAttribute;Element_prototype.hasOwnProperty("toggleAttribute")||(Element_prototype.toggleAttribute=function(t,e){if(void 0===e)if(nativeHasAttribute.call(this,t))return nativeRemoveAttribute.call(this,t),!1;else return nativeSetAttribute.call(this,t,""),!0;return e?(nativeHasAttribute.call(this,t)||nativeSetAttribute.call(this,t,""),!0):(nativeRemoveAttribute.call(this,t),!1)});export{};