The journalist Amr Adeeb praised the steadfastness of the nationwide electrical energy community at some level of the recent summer season and the dearth of energy outages, noting that the Egyptian authorities completed spacious success, and we did not behold any cut price of loads despite the high and phenomenal consumption.
Amr Adib, the presenter of the yarn program, broadcast on the MBC Egypt channel, on Friday evening, added that the temperatures were of their worst conditions in the summertime of 2025, and what took site is a correct style administration to generate electrical energy this summer season.
The journalist Amr Adeeb explained that the authorities dealt with this in a extremely correct style system, and we did not behold the seizures of electrical energy, following that the recent 365 days crossed the nationwide electrical energy community, and our Lord blessed it, “5 and 5”.
Amr Adib continued, that: “I thank the officials who devour efficiently worked all the pieces, and we spent a safe summer season in Egypt, and the Egyptian authorities succeeded this summer season in providing vitality and electrical energy.”
characteristic replaceOembedWithHtml(component, sourceData) {
if (sourceData.source.toLowerCase() === “youtube”) {
var html=”
‘;
replaceElementWithHtml(component, html);
} else if (sourceData.source.toLowerCase() === “instagram”) {
var html=”
‘;
replaceElementWithHtml(component, html);
} else if (sourceData.source.toLowerCase() === “twitter”) {
var html=”
‘;
replaceElementWithHtml(component, html);
} else if (sourceData.source.toLowerCase() === “facebook”) {
var html=”
‘
replaceElementWithHtml(component, html);
} else {
replaceElementWithHtml(component, “”);
}
}
characteristic extractLinkFromOembed(component) {
return getUrlSource(component.getAttribute(“url”));
}
characteristic getUrlSource(url) {
var ytRegex = /http(?:s?)://(?:www.)?youtu(?:be.com/take into memoir?v=|.be/)((w-_)*)(&(amp;)?(w?=)*)?/;
var instaRegex = /(https?://www.)?instagram.com(/p/(w+)/?)/;
var twitterRegex = /twitter.com/.*/site(?:es)?/((^/?)+)/;
var fbRegex = /^https?://www.facebook.com.*/(video(s)?|take into memoir|yarn|posts)(.php?|/).+$/;
if (ytRegex.take a look at(url)) {
return {
source: “Youtube”,
url: url,
identity: ytRegex.exec(url)(1)
};
}
if (instaRegex.take a look at(url)) {
return {
source: “Instagram”,
url: url,
identity: instaRegex.exec(url)(3)
};
}
if (twitterRegex.take a look at(url)) {
return {
source: “Twitter”,
url: url,
identity: twitterRegex.exec(url)(1)
};
}
if (fbRegex.take a look at(url)) {
return {
source: “Fb”,
url: url,
identity: fbRegex.exec(url)(1)
};
}
return {
source: “Unknown”,
url: url,
identity: “”
};
}
characteristic replaceElementWithHtml(component, html) {
var str = html;
var Obj = component; //any component to be absolutely replaced
if (Obj.outerHTML) { //if outerHTML is supported
Obj.outerHTML = str; ///or not it is easy change of complete component with contents of str var
} else { //if outerHTML is not supported, there is a strange but crossbrowsered trick
var tmpObj = file.createElement(“div”);
tmpObj.innerHTML = ‘‘;
ObjParent = Obj.parentNode; //Okey, component must be parented
ObjParent.replaceChild(tmpObj, Obj); //right here we inserting our non permanent data in site of our purpose, so we’re going to internet it then and replace it into whatever we’re attempting to replace to
ObjParent.innerHTML = ObjParent.innerHTML.replace(‘
‘, str);
}
}
characteristic loadfbApi() {
var js = file.createElement(‘script’);
js.src=”
file.physique.appendChild(js);
}
characteristic runYoutubeLazyLoad() {
/// youtube lazyload
var youtube = file.querySelectorAll(“.youtube”);
for (var i = 0; i < youtube.length; i++) { var source = "https://img.youtube.com/vi/" + youtube(i).dataset.embed + "http://192.168.2.55/0.jpg"; var image = recent Portray(); image.src = "https://www.elbalad.data/themes/elbalad/assets/photography/no.jpg"; image.classList.add('lazyload'); image.setAttribute("data-src", source); image.setAttribute("alt", "youtube"); image.addEventListener("load", characteristic () { youtube(i).appendChild(image); }(i)); youtube(i).addEventListener("click", characteristic () { 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) Electricity (T) Petroleum (T) Reducing Load
Source hyperlink