Edit File by line

Deprecated: str_replace(): Passing null to parameter #2 ($replace) of type array|string is deprecated in /home/sportsfever/public_html/filemanger/function.php on line 93

Deprecated: str_replace(): Passing null to parameter #2 ($replace) of type array|string is deprecated in /home/sportsfever/public_html/filemanger/function.php on line 93
/home/sportsfe.../httpdocs/wp-conte.../plugins/themify-.../js/editor/componen...
File: wrap_start.mjs
(($,Themify,window, doc, Object, requestAnimationFrame,cancelAnimationFrame,setTimeout,clearTimeout,Promise,parseInt,parseFloat,JSON,getComputedStyle,localStorage,Set,Map,Math,themifyBuilder,i18n, undefined) => {
[0] Fix | Delete
"use strict";
[1] Fix | Delete
window.tb_createElement=(tag='',props,text)=>{
[2] Fix | Delete
if(tag===''){
[3] Fix | Delete
tag='div';
[4] Fix | Delete
}
[5] Fix | Delete
const el= Themify.createElement(tag,props);
[6] Fix | Delete
if(text!==undefined){
[7] Fix | Delete
el.innerHTML=text;
[8] Fix | Delete
}
[9] Fix | Delete
return el;
[10] Fix | Delete
};
[11] Fix | Delete
window.tb_createDocumentFragment=()=>{
[12] Fix | Delete
return doc.createDocumentFragment();
[13] Fix | Delete
};
[14] Fix | Delete
window.tb_createElementNS=(tag='',props='')=>{
[15] Fix | Delete
if(tag===''){
[16] Fix | Delete
tag='svg';
[17] Fix | Delete
}
[18] Fix | Delete
const el = doc.createElementNS( 'http://www.w3.org/2000/svg',tag);
[19] Fix | Delete
if(props!==''){
[20] Fix | Delete
if(typeof props==='string'){
[21] Fix | Delete
props={class:props};
[22] Fix | Delete
}
[23] Fix | Delete
for(let k in props){
[24] Fix | Delete
el.setAttribute(k,props[k]);
[25] Fix | Delete
}
[26] Fix | Delete
}
[27] Fix | Delete
return el;
[28] Fix | Delete
};
[29] Fix | Delete
const body=doc.body,
[30] Fix | Delete
bodyCl=body.classList,
[31] Fix | Delete
topWindow=bodyCl.contains('wp-admin')?window:window.top,
[32] Fix | Delete
{Themify:topThemify,document:topWindowDoc}=topWindow,
[33] Fix | Delete
topBody=topWindowDoc.body,
[34] Fix | Delete
topBodyCl=topBody.classList,
[35] Fix | Delete
_CLICK_=Themify.click,
[36] Fix | Delete
createDocumentFragment=tb_createDocumentFragment,
[37] Fix | Delete
createElement=tb_createElement,
[38] Fix | Delete
createElementNS=tb_createElementNS;
[39] Fix | Delete
It is recommended that you Edit text format, this type of Fix handles quite a lot in one request
Function