موقع الكتروني:Bota Sotالمحتوى
BotaSot window.dataLayer=window.dataLayer||[]; functiongt(){dataLayer.push(arguments);} gt('js',newDate()); gt('config','G-3Q3NDX737B'); if(_showAds){ (function(){ varhost=''; varelement=document.createElement('script'); varfirstScript=document.getElementsByTName('script')[0]; varurl='cmp.quantcast.com' .concat('/choice/','6Fv0cGNfc_bw8','/',host,'/choice.js?t_version=V2'); varuspTries=0; varuspTriesLimit=3; element.async=true; element.type='text/jascript'; element.src=url; firstScript.parentNode.insertBefore(element,firstScript); functionmakeStub(){ varTCF_LOCATOR_NAME='__tcfapiLocator'; varqueue=[]; varwin=window; varcmpFrame; functionaddFrame(){ vardoc=win.document; varotherCMP=!!(win.frames[TCF_LOCATOR_NAME]); if(!otherCMP){ if(doc.body){ variframe=doc.createElement('iframe'); iframe.style.cssText='display:none'; iframe.name=TCF_LOCATOR_NAME; doc.body.appendChild(iframe); }else{ setTimeout(addFrame,5); } } return!otherCMP; } functiontcfAPIHandler(){ vargdprApplies; varargs=arguments; if(!args.length){ returnqueue; }elseif(args[0]==='setGdprApplies'){ if( args.length>3&& args[2]===2&& typeofargs[3]==='boolean' ){ gdprApplies=args[3]; if(typeofargs[2]==='function'){ args[2]('set',true); } } }elseif(args[0]==='ping'){ varretr={ gdprApplies:gdprApplies, cmpLoaded:false, cmpStatus:'stub' }; if(typeofargs[2]==='function'){ args[2](retr); } }else{ if(args[0]==='init'&&typeofargs[3]==='object'){ args[3]=Object.assign(args[3],{ t_version:'V2' }); } queue.push(args); } } functionpostMesseEventHandler(event){ varmsgIsString=typeofevent.data==='string'; varjson={}; try{ if(msgIsString){ json=JSON.parse(event.data); }else{ json=event.data; } }catch(ignore){} varpayload=json.__tcfapiCall; if(payload){ window.__tcfapi( payload.command, payload.version, function(retValue,success){ varreturnMsg={ __tcfapiReturn:{ returnValue:retValue, success:success, callId:payload.callId } }; if(msgIsString){ returnMsg=JSON.stringify(returnMsg); } if(event&&event.source&&event.source.postMesse){ event.source.postMesse(returnMsg,'*'); } }, payload.parameter ); } } while(win){ try{ if(win.frames[TCF_LOCATOR_NAME]){ cmpFrame=win; break; } }catch(ignore){} if(win===window.top){ break; } win=win.parent; } if(!cmpFrame){ addFrame(); win.__tcfapi=tcfAPIHandler; win.addEventListener('messe',postMesseEventHandler,false); } }; makeStub(); varuspStubFunction=function(){ vararg=arguments; if(typeofwindow.__uspapi!==uspStubFunction){ setTimeout(function(){ if(typeofwindow.__uspapi!=='undefined'){ window.__uspapi.apply(window.__uspapi,arg); } },500); } }; varcheckIfUspIsReady=function(){ uspTries++; if(window.__uspapi===uspStubFunction&&uspTries20){ padi.addClass('on-pad'); }else{ padi.removeClass('on-pad'); } }); $(".mobile-ads.primo").each(function(){ varmargi=$(this); if(margi.outerHeight()>20){ margi.addClass('on-marg'); }else{ margi.removeClass('on-marg')Bota Sot; } }); /*$(".megaTop").each(function(){ varmrg=$(this); if(mrg.outerHeight()>20){ mrg.addClass('on-margBota Sot'); }else{ mrg.removeClass('on-marg'); } });*/ functioncheckSize(){ if($('.top-leader').height()>=20){ $('.right-sky,.left-sky').addClass('on-fire'); } else{ $('.right-sky,.left-sky').removeClass('on-fire'); } } checkSize(); lightbox.option({ 'resizeDuration':700, 'wrapAround':true }); $('ul.media-lista.more').click(function(){ $(this).toggleClass('active'); $('ul.sub-media-list').toggleClass('active'); }); //STICKYTITLE functioninit(){ window.addEventListener('scroll',function(e){ varx=400; vardistanceY=window.peYOffset||document.documentElement.scrollTop, shrinkOn=x var header=$(".sticky-holder"); if(distanceY>shrinkOn){ $(header).slideDown(300); }else{ $(header).slideUp(300); } }); } window.onload=init(); }); if(!_showAds){ varitems=document.querySelectorAll('.__bs-ads'); items.forEach(function(item){ item.remove(); }); } (function(src){vara=document.createElement("script");a.type="text/jascript";a.async=true;a.src=src;varb=document.getElementsByTName("script")[0];b.parentNode.insertBefore(a,b)})("experience.tinypass.com/xbuilder/experience/load?aid=LR0su2R8pu"); tp=window["tp"]||[]; tp.push(["setUseTinypassAccounts",true]); tp.push(['setPianoIdUrl','id.piano.io']); tp.push(["setUsePianoIdUserProvider",true]); letu={ status:false, isUser:null, isSubscribed:false, isAdFBota Sotree:false, init:function(){ this.isUserValid(); }, isUserValid:function(){ if(this.status){ varul=document.getElementById('pianoLoggedOut'); if(ul){ ul.remove(); } varloggedN=document.getElementById('pianoLoggedIn'); if(loggedN){ loggedN.style.display='flex'; } this.privilege(false); //ifloggedshowthecontainer tp.push(["init",function(){ tp.myaccount.show({ displayMode:"inline", containerSelector:"#my-account-container" }); }]); }else{ Cookies.remove('adfree'); } }, showArticle:function(){ if(this.isSubscribed){ varlocked=document.getElementById('_locked'); if(locked){ locked.remove(); } varunlocked=document.getElementById('_unlocked'); if(unlocked){ unlocked.style.display='block'; } //removetemplatecontainer vartmp=document.getElementById('template-container'); if(tmp){ tmp.remove(); } } }, ads:function(){ if(this.isAdFree){ Cookies.set('adfree',true,{expires:365}); } }, getisLogged(){ returnthis.status }, setisLogged(val){ this.status=val; this.isUserValid(); }, getuser(){ returnthis.isUser; }, setuser(val){ this.isUser=val; if(this.isUser){ varusername=document.getElementById('piano-user-name'); username.innerText=this.isUser.firstName?this.isUser.firstName:this.isUser.email } }, getsubscribed(){ returnthis.isSubscribed; }, setsubscribed(val){ this.isSubscribed=val; this.showArticle(); }, getadFree(){ returnthis.isAdFree; }, setadFree(val){ this.isAdFree=val; this.ads(); }, privilege:function(reload){ letrid=['R5JBM90']; letthat=this; tp.api.callApi("/access/list",{},function(response){ if(response.data){ //console.log(response.data); for(iinresponse.data){ if(response.data[i].granted){ that.subscribed=true; } if(response.data[i].granted&&rid.includes(response.data[i].resource.rid)){ that.adFree=true; } } if(that.subscribed&&reload){ window.location.reload(true); returnfalse; } } }); } } tp.push(["init",function(){ u.isLogged=tp.pianoId.isUserValid(); u.user=tp.pianoId.getUser(); $(document).on('click','#pianoLogin',function(e){ e.preventDefault(); tp.pianoId.show({ loggedIn:function(event){ u.user=event.user; u.isLogged=true; } }); }); $(document).on('click','#pianoRegister',function(e){ tp.pianoId.show({ displayMode:'modal', screen:'register', }); }); $(document).on('click','#pianoLogout',function(e){ tp.pianoId.logout(function(){ u.user=null; u.isLogged=false; u.subscribed=false; window.location.reload(true); returnfalse; }); }); tp.push(["addHandler","loginSuccess",function(data){ u.privilege(true); }]); tp.push(["addHandler","checkoutClose",function(event){ switch(event.state){ case'checkoutCompleted': location.reload(true); break; case'alreadyHasAccess': location.reload(true); break; } }]); }]); if(_showAds){ varmydiv=document.getElementById("sticky-banner-infolinks"); varscript1=document.createElement('script'); script1.innerHTML='varinfolinks_pid=;varinfolinks_wsid=0;' mydiv.appendChild(script1); varmycontent=document.createElement("script"); mycontent.setAttribute('src','resources.infolinks.com/js/infolinks_main.js'); mydiv.appendChild(mycontent); } //thenthesolutiontoreloaddisquscommentcountsafely if(typeofDISQUSWIDGETS!="undefined"){ DISQUSWIDGETS.getCount({reset:true}); }