var _a,_b,_c,_d;let nativeInsertBefore=Node.prototype.insertBefore,nativeGetParentNode=null!=(_b=null==(_a=Object.getOwnPropertyDescriptor(Node.prototype,"parentNode"))?void 0:_a.get)?_b:function(){return this.parentNode},nativeGetNextSibling=null!=(_d=null==(_c=Object.getOwnPropertyDescriptor(Node.prototype,"nextSibling"))?void 0:_c.get)?_d:function(){return this.nextSibling},installAfter=e=>{let t=e.prototype;t.hasOwnProperty("after")||Object.defineProperty(t,"after",{configurable:!0,enumerable:!0,writable:!0,value:function(...e){let t=nativeGetParentNode.call(this);if(null===t)return;let r=nativeGetNextSibling.call(this);for(let n of e)nativeInsertBefore.call(t,"string"==typeof n?document.createTextNode(n):n,r)}})};installAfter(CharacterData),installAfter(Element);export{};