أكادير24 | Agadir24
أقدم المغرب على رفع درجة اليقظة للحيلولة دون ولوج فيروس إنفلونزا الطيور الطيور إلى داخل البلاد عبر الطيور المهاجرة.
هذا، و شددت تعليمات مركز القيادة والتنسيق لمواجهة إنفلونزا الطيور بالمغرب، الذي تترأسه القوات المسلحة الملكية، على تحسيس مندوبيات المياه والغابات الجهوية من أجل مضاعفة عملها الميداني في مجال المراقبة على مستوى المناطق الرطبة، والإشعار بكل حالة وفاة في صفوف الطيور المهاجرة يمكن رصدها.
و بحسب الأحداث، فإنه تم توجيه تعليمات لمصالح الجمارك في النقاط الحدودية المختلفة للرفع من درجات اليقظة، لتفادي تهريب الطيور والدواجن إلى داخل البلاد بعيدا عن الرقابة المعمول بها.
function handleSidebarAd(){
const sidebarAd=document.getElementById('sidebar-ad');
if(!sidebarAd) return;
const overlapping=[
document.querySelector('.sticky-header'),
document.querySelector('.floating-elements'),
document.querySelector('.fixed-bottom-bar')
].filter(Boolean);
if(overlapping.length===0) return;
sidebarAd.style.position='sticky';
sidebarAd.style.top='20px';
sidebarAd.style.zIndex='99';
sidebarAd.style.transition='all .3s ease';
const io=new IntersectionObserver((entries)=>{
entries.forEach(entry=>{
if(entry.isIntersecting){
sidebarAd.style.opacity='0';
sidebarAd.style.pointerEvents='none';
sidebarAd.style.transform='translateY(20px)';
}else{
sidebarAd.style.opacity='1';
sidebarAd.style.pointerEvents='auto';
sidebarAd.style.transform='translateY(0)';
}
})
},{threshold:.1,rootMargin:'0px 0px -50px 0px'});
overlapping.forEach(el=>io.observe(el));
}function lazyLoadAds(){
const containers=document.querySelectorAll('.ad-container:not(.loaded),.in-content-ad:not(.loaded),.end-of-content-ad:not(.loaded)');
const io=new IntersectionObserver((entries,obs)=>{
entries.forEach(entry=>{
if(entry.isIntersecting){
const box=entry.target;
box.classList.add('loaded');
const ins=box.querySelector('ins.adsbygoogle');
if(ins && typeof window.adsbygoogle!=='undefined'){
(adsbygoogle=window.adsbygoogle||[]).push({});
}
obs.unobserve(box);
}
})
},{rootMargin:'200px 0px',threshold:.1});
containers.forEach(c=>io.observe(c));
}document.addEventListener('DOMContentLoaded',function(){
// دفع أولي للإعلانات الظاهرة فورًا
document.querySelectorAll('.ad-container.ad-leaderboard .adsbygoogle,#sidebar-ad .adsbygoogle').forEach(el=>{
if(typeof window.adsbygoogle!=='undefined'){(adsbygoogle=window.adsbygoogle||[]).push({});}
});
handleSidebarAd();
lazyLoadAds();
window.addEventListener('scroll',lazyLoadAds);
});
التعاليق (0)
التعاليق مغلقة.