var _a,_b;let nativeInsertBefore=Node.prototype.insertBefore,nativeGetFirstChild=null!=(_b=null==(_a=Object.getOwnPropertyDescriptor(Node.prototype,"firstChild"))?void 0:_a.get)?_b:function(){return this.firstChild},installPrepend=e=>{let t=e.prototype;t.hasOwnProperty("prepend")||Object.defineProperty(t,"prepend",{configurable:!0,enumerable:!0,writable:!0,value:function(...e){let t=nativeGetFirstChild.call(this);for(let r of e){let e="string"==typeof r?document.createTextNode(r):r;nativeInsertBefore.call(this,e,t)}}})};installPrepend(Document),installPrepend(DocumentFragment),installPrepend(Element);export{};