5 and 5 A hair hyperlink from Amr Adib in the manager after the regularity of electricity

The journalist Amr Adeeb praised the steadfastness of the nationwide electricity network during the present summer and the shortcoming of vitality outages, noting that the Egyptian executive accomplished immense success, and we did now not be taught about any discount of loads no matter the high and unheard of consumption.

Amr Adib, the presenter of the myth program, broadcast on the MBC Egypt channel, on Friday evening, added that the temperatures had been of their worst circumstances in the summertime of 2025, and what occurred is a correct management to generate electricity this summer.

The journalist Amr Adeeb defined that the manager handled this in a with out a doubt correct plot, and we did now not be taught about the seizures of electricity, following that the present One year crossed the nationwide electricity network, and our Lord blessed it, “5 and 5”.

Amr Adib continued, that: “I thank the officials who maintain efficiently worked the entirety, and we spent a stable summer in Egypt, and the Egyptian executive succeeded this summer in providing vitality and electricity.”

feature replaceOembedWithHtml(element, sourceData) {
if (sourceData.supply.toLowerCase() === “youtube”) {
var html=”

” +

‘ +

‘ +

‘ +
‘ +

‘ +

‘;
replaceElementWithHtml(element, html);
} else if (sourceData.supply.toLowerCase() === “instagram”) {
var html=”

‘;
replaceElementWithHtml(element, html);
} else if (sourceData.supply.toLowerCase() === “twitter”) {
var html=”

‘;
replaceElementWithHtml(element, html);
} else if (sourceData.supply.toLowerCase() === “fb”) {
var html=”


replaceElementWithHtml(element, html);
} else {
replaceElementWithHtml(element, “”);
}
}

feature extractLinkFromOembed(element) {
return getUrlSource(element.getAttribute(“url”));
}

feature getUrlSource(url) {
var ytRegex = /http(?:s?)://(?:www.)?youtu(?:be.com/glimpse?v=|.be/)((w-_)*)(&(amp;)?‌​(w?‌​=)*)?/;
var instaRegex = /(https?://www.)?instagram.com(/p/(w+)/?)/;
var twitterRegex = /twitter.com/.*/plot(?:es)?/((^/?)+)/;
var fbRegex = /^https?://www.fb.com.*/(video(s)?|glimpse|myth|posts)(.php?|/).+$/;

if (ytRegex.take a look at(url)) {
return {
supply: “Youtube”,
url: url,
identification: ytRegex.exec(url)(1)
};
}

if (instaRegex.take a look at(url)) {
return {
supply: “Instagram”,
url: url,
identification: instaRegex.exec(url)(3)
};
}

if (twitterRegex.take a look at(url)) {
return {
supply: “Twitter”,
url: url,
identification: twitterRegex.exec(url)(1)
};
}

if (fbRegex.take a look at(url)) {
return {
supply: “Fb”,
url: url,
identification: fbRegex.exec(url)(1)
};

}

return {
supply: “Unknown”,
url: url,
identification: “”
};
}

feature replaceElementWithHtml(element, html) {
var str = html;
var Obj = element; //any element to be fully modified
if (Obj.outerHTML) { //if outerHTML is supported
Obj.outerHTML = str; ///or no longer it is simple replacement of whole element with contents of str var
} else { //if outerHTML is now not any longer supported, there is a recurring nonetheless crossbrowsered trick
var tmpObj = doc.createElement(“div”);
tmpObj.innerHTML = ‘‘;
ObjParent = Obj.parentNode; //Okey, element ought to quiet be parented
ObjParent.replaceChild(tmpObj, Obj); //right here we placing our momentary knowledge in desire to our target, so we can gather it then and exchange it into no matter we desire to interchange to
ObjParent.innerHTML = ObjParent.innerHTML.exchange(‘

‘, str);
}
}
feature loadfbApi() {
var js = doc.createElement(‘script’);
js.src=”
doc.body.appendChild(js);
}
feature runYoutubeLazyLoad() {
/// youtube lazyload
var youtube = doc.querySelectorAll(“.youtube”);

for (var i = 0; i < youtube.dimension; i++) { var supply = "https://img.youtube.com/vi/" + youtube(i).dataset.embed + "http://192.168.2.55/0.jpg"; var image = unusual Picture(); image.src = "https://www.elbalad.news/subject issues/elbalad/resources/footage/no.jpg"; image.classList.add('lazyload'); image.setAttribute("knowledge-src", supply); image.setAttribute("alt", "youtube"); image.addEventListener("load", feature () { youtube(i).appendChild(image); }(i)); youtube(i).addEventListener("click on", feature () { var iframe = doc.createElement("iframe"); iframe.setAttribute("frameborder", "0"); iframe.setAttribute("allowfullscreen", ""); iframe.setAttribute("src", "https://www.youtube.com/embed/" + this.dataset .embed + "?rel=0&showinfo=0&autoplay=1"); this.innerHTML = ""; this.appendChild(iframe); }); }; } (Tagstotranslate) Amr Adib (T) Electrical energy (T) Petroleum (T) Reducing Load

Offer hyperlink