var _a,_b;let nativeRemoveChild=Node.prototype.removeChild,nativeGetParentNode=null!=(_b=null==(_a=Object.getOwnPropertyDescriptor(Node.prototype,"parentNode"))?void 0:_a.get)?_b:function(){return this.parentNode},installRemove=e=>{let t=e.prototype;t.hasOwnProperty("remove")||Object.defineProperty(t,"remove",{configurable:!0,enumerable:!0,writable:!0,value:function(){let e=nativeGetParentNode.call(this);e&&nativeRemoveChild.call(e,this)}})};installRemove(CharacterData),installRemove(Element);export{};