Khutbah Idul Fitri

Contoh Khutbah Idul Fitri di LDII Sampit

'; this.classList.add('LDII_THEME__video-loaded'); }); }); observeAll(c); }).catch(function(){c.style.display='none';}); } function setupArticleAnim(){var body=$('#LDII_THEME__postBody');if(!body)return;var els=body.querySelectorAll('p,h2,h3,h4,blockquote,ul,ol,img,.separator'),types=['LDII_THEME__anim-up','LDII_THEME__anim-up','LDII_THEME__anim-left','LDII_THEME__anim-up','LDII_THEME__anim-right'];els.forEach(function(el,i){el.classList.add('LDII_THEME__anim',types[i%types.length],'LDII_THEME__anim-med');el.style.transitionDelay=Math.min(i*30,300)+'ms';});observeAll(body);} function generateTOC(){if(!isPost)return;var pb=$('#LDII_THEME__postBody'),tc=$('#LDII_THEME__toc'),tl=$('#LDII_THEME__tocList');if(!pb||!tc||!tl)return;var hs=$$('h2,h3',pb);if(hs.length<3)return;var h='';hs.forEach(function(head,i){var id='LDII_THEME__hd_'+i;head.id=id;var pad=head.tagName.toLowerCase()==='h3'?' style="padding-left:2.75rem"':'';h+='
  • '+head.textContent+'
  • ';});tl.innerHTML=h;tc.style.display='block';tc.classList.add('LDII_THEME__anim','LDII_THEME__anim-up','LDII_THEME__anim-med');observeAll(tc);if('IntersectionObserver' in window){var links=$$('a',tl),sObs=new IntersectionObserver(function(entries){entries.forEach(function(e){if(e.isIntersecting){links.forEach(function(a){a.classList.remove('active');});var al=tl.querySelector('a[href="#'+e.target.id+'"]');if(al)al.classList.add('active');}});},{rootMargin:'-80px 0px -70% 0px'});hs.forEach(function(head){sObs.observe(head);});}} function loadRelated(){if(!isPost||!_PD)return;var grid=$('#LDII_THEME__relatedGrid');if(!grid||!_PD.label)return;fetch(blogUrl+'/feeds/posts/default/-/'+encodeURIComponent(_PD.label)+'?alt=json&max-results=6').then(function(r){return r.json();}).then(function(d){if(!d.feed||!d.feed.entry)return;var posts=d.feed.entry.filter(function(e){var link='';e.link.forEach(function(l){if(l.rel==='alternate')link=l.href;});return link!==currentUrl;}).slice(0,3);if(!posts.length)return;var h='';posts.forEach(function(e,i){var p=getP(e);h+='
    '+esc(p.title)+'

    '+p.title+'

    ';});grid.innerHTML=h;observeAll(grid);}).catch(function(){grid.innerHTML='';});} function internalLink(){if(!isPost)return;var pb=$('#LDII_THEME__postBody');if(!pb)return;var exHrefs=$$('a',pb).map(function(a){return a.href;});fetch(blogUrl+'/feeds/posts/default?alt=json&max-results=50').then(function(r){return r.json();}).then(function(d){if(!d.feed||!d.feed.entry)return;var posts=[];d.feed.entry.forEach(function(e){var t=e.title.$t,link='';e.link.forEach(function(l){if(l.rel==='alternate')link=l.href;});if(link!==currentUrl&&exHrefs.indexOf(link)===-1)posts.push({title:t,url:link,words:t.toLowerCase().split(/\s+/).filter(function(w){return w.length>3;})});});if(!posts.length)return;var linked=0,paras=$$('p',pb),idx=paras.map(function(_,i){return i;});for(var i=idx.length-1;i>0;i--){var j=Math.floor(Math.random()*(i+1)),t=idx[i];idx[i]=idx[j];idx[j]=t;}idx.forEach(function(pi){if(linked>=3)return;var p=paras[pi];if(!p||p.querySelector('a'))return;var text=p.textContent,tl=text.toLowerCase();for(var k=0;k4){kw=sw[r];break;}}}if(!kw)continue;var fi=tl.indexOf(kw);if(fi===-1)continue;var before=fi>0?text[fi-1]:' ',after=fi+kw.length'+text.substr(fi,kw.length)+''+text.substr(fi+kw.length);linked++;break;}});}).catch(function(){});} function loadTicker(){var tl=$('#LDII_THEME__tickerList');if(!tl)return;fetch(blogUrl+'/feeds/posts/default?alt=json&max-results=10').then(function(r){return r.json();}).then(function(d){if(!d.feed||!d.feed.entry)return;var h='';d.feed.entry.forEach(function(e){var t=e.title.$t,link='';e.link.forEach(function(l){if(l.rel==='alternate')link=l.href;});h+=''+t+'';});tl.innerHTML=h+h;}).catch(function(){});} function loadRecent(){var c=$('#LDII_THEME__recentPosts');if(!c)return;fetch(blogUrl+'/feeds/posts/default?alt=json&max-results=6').then(function(r){return r.json();}).then(function(d){if(!d.feed||!d.feed.entry)return;var h='';d.feed.entry.forEach(function(e){var p=getP(e);h+='
    '+esc(p.title)+'
    '+p.title+'
    '+fmtDate(p.date)+'
    ';});c.innerHTML=h;}).catch(function(){});} function autoAlt(){if(!isPost)return;var pb=$('#LDII_THEME__postBody');if(!pb)return;$$('img',pb).forEach(function(img){if(!img.getAttribute('alt')||img.getAttribute('alt').trim()===''){var src=img.src||'',m=src.match(/\/([^\/\?\#]+)(?:\.\w+)?(?:\?|\#|$)/);img.setAttribute('alt',m?m[1].replace(/[-_]/g,' ').replace(/\b\w/g,function(c){return c.toUpperCase()}):currentTitle);}});} function aiMeta(){if(!isPost)return;var pb=$('#LDII_THEME__postBody');if(!pb)return;var txt=pb.textContent||'',wds=txt.toLowerCase().replace(/[^\w\s]/g,'').split(/\s+/).filter(function(w){return w.length>4;}),freq={};wds.forEach(function(w){freq[w]=(freq[w]||0)+1;});var sorted=Object.keys(freq).sort(function(a,b){return freq[b]-freq[a];});pb.setAttribute('data-keywords',sorted.slice(0,10).join(', '));pb.setAttribute('data-word-count',String(wds.length));pb.setAttribute('data-reading-time',String(Math.max(1,Math.ceil(wds.length/200)))+' menit');} function init(){ observeAll(document); if(isPost){ _PD=readPD(); if(_PD){setPostMeta();injectBreadcrumb();injectLDJson();} setupArticleAnim();generateTOC();loadRelated();internalLink();autoAlt();aiMeta(); } else if(isLabelSearch){ loadLabelPage(); } if(isHome){loadHeroSlider();loadSections();loadYouTube();} loadTicker();loadRecent(); } if(document.readyState==='loading'){document.addEventListener('DOMContentLoaded',init);}else{init();} })(); //]]>