The journalist Amr Adeeb praised the steadfastness of the national electricity network at some stage within the hot summer and the shortcoming of energy outages, noting that the Egyptian authorities performed monumental success, and we did no longer behold any discount of hundreds despite the excessive and unprecedented consumption.
Amr Adib, the presenter of the legend program, broadcast on the MBC Egypt channel, on Friday evening, added that the temperatures were of their worst stipulations within the summertime of 2025, and what came about is a true administration to generate electricity this summer.
The journalist Amr Adeeb explained that the authorities handled this in a extremely true plan, and we did no longer behold the seizures of electricity, following that the hot year crossed the national electricity network, and our Lord blessed it, “5 and 5”.
Amr Adib persisted, that: “I thank the officers who’ve efficiently worked everything, and we spent a protected summer in Egypt, and the Egyptian authorities succeeded this summer in offering energy and electricity.”
feature replaceOembedWithHtml(ingredient, sourceData) {
if (sourceData.offer.toLowerCase() === “youtube”) {
var html=”
‘;
replaceElementWithHtml(ingredient, html);
} else if (sourceData.offer.toLowerCase() === “instagram”) {
var html=”
‘;
replaceElementWithHtml(ingredient, html);
} else if (sourceData.offer.toLowerCase() === “twitter”) {
var html=”
‘;
replaceElementWithHtml(ingredient, html);
} else if (sourceData.offer.toLowerCase() === “facebook”) {
var html=”
‘
replaceElementWithHtml(ingredient, html);
} else {
replaceElementWithHtml(ingredient, “”);
}
}
feature extractLinkFromOembed(ingredient) {
return getUrlSource(ingredient.getAttribute(“url”));
}
feature getUrlSource(url) {
var ytRegex = /http(?:s?)://(?:www.)?youtu(?:be.com/seek for?v=|.be/)((w-_)*)(&(amp;)?(w?=)*)?/;
var instaRegex = /(https?://www.)?instagram.com(/p/(w+)/?)/;
var twitterRegex = /twitter.com/.*/jam(?:es)?/((^/?)+)/;
var fbRegex = /^https?://www.facebook.com.*/(video(s)?|seek for|legend|posts)(.php?|/).+$/;
if (ytRegex.test(url)) {
return {
offer: “Youtube”,
url: url,
id: ytRegex.exec(url)(1)
};
}
if (instaRegex.test(url)) {
return {
offer: “Instagram”,
url: url,
id: instaRegex.exec(url)(3)
};
}
if (twitterRegex.test(url)) {
return {
offer: “Twitter”,
url: url,
id: twitterRegex.exec(url)(1)
};
}
if (fbRegex.test(url)) {
return {
offer: “Facebook”,
url: url,
id: fbRegex.exec(url)(1)
};
}
return {
offer: “Unknown”,
url: url,
id: “”
};
}
feature replaceElementWithHtml(ingredient, html) {
var str = html;
var Obj = ingredient; //any ingredient to be fully replaced
if (Obj.outerHTML) { //if outerHTML is supported
Obj.outerHTML = str; ///it be easy replacement of complete ingredient with contents of str var
} else { //if outerHTML is no longer supported, there is a odd nonetheless crossbrowsered trick
var tmpObj = file.createElement(“div”);
tmpObj.innerHTML = ‘‘;
ObjParent = Obj.parentNode; //Okey, ingredient ought to be parented
ObjParent.replaceChild(tmpObj, Obj); //right here we inserting our immediate-term records as a replacement of our target, so we can bring collectively it then and replace it into regardless of we are looking for to replace to
ObjParent.innerHTML = ObjParent.innerHTML.replace(‘
‘, str);
}
}
feature loadfbApi() {
var js = file.createElement(‘script’);
js.src=”
file.physique.appendChild(js);
}
feature runYoutubeLazyLoad() {
/// youtube lazyload
var youtube = file.querySelectorAll(“.youtube”);
for (var i = 0; i < youtube.length; i++) { var offer = "https://img.youtube.com/vi/" + youtube(i).dataset.embed + "http://192.168.2.55/0.jpg"; var image = new Portray(); image.src = "https://www.elbalad.news/issues/elbalad/assets/photos/no.jpg"; image.classList.add('lazyload'); image.setAttribute("records-src", offer); image.setAttribute("alt", "youtube"); image.addEventListener("load", feature () { youtube(i).appendChild(image); }(i)); youtube(i).addEventListener("click", feature () { var iframe = file.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
Supply link