text: import{Element}from"./DomElements/DomElements.min.js";import{Debug}from"./DomFeatures/Debug.min.js";import{Inherit}from"./DomFeatures/Inherit.min.js";import{Select}from"./DomFeatures/Select.min.js";class DOM extends(Inherit(Select,Debug,Element)){constructor(){super(Select,Debug,Element),this.pick=(new Select).pick}parseSvgStringToSVG=svgString=>this.parseStringToHTML(svgString);parseStringToHTML=htmlString=>(new DOMParser).parseFromString(htmlString,"text/html").body.children[0];disableLog=()=>{this.warn("|-> Console Log Disabled."),console.log=()=>null};disableError=()=>{this.warn("|-> Console Error Disabled."),console.error=()=>null};enableLog=()=>{this.warn("|-> Console Log Enabled."),console.log=this.log};enableError=()=>{this.warn("|-> Console Error Enabled."),console.error=this.logError};clear=this.clear;copyToClipboard=str=>{const el=document.createElement("textarea");el.value=str,document.body.appendChild(el),el.select(),document.execCommand("copy"),document.body.removeChild(el)}}export{DOM,Element,Inherit,Select,Debug};