1window.addEventListener("DOMContentLoaded",function(){function findLastElementInScroll(){for(lastElementInScroll=infiniteScrollParent.lastElementChild;lastElementInScroll.previousElementSibling&&!lastElementInScroll.classList.contains("news-item")&&!lastElementInScroll.classList.contains("post")&&!lastElementInScroll.classList.contains("news-text-item")&&!lastElementInScroll.classList.contains("review-item")&&!lastElementInScroll.classList.contains("reviews-item")&&!lastElementInScroll.classList.contains("user-thread");)lastElementInScroll=lastElementInScroll.previousElementSibling;const e=lastElementInScroll.querySelector(".news-item a:first-child")||lastElementInScroll.querySelector(".feat-item-link")||lastElementInScroll.querySelector(".review-item-title a")||lastElementInScroll.querySelector(".reviews-item a");e?lastElementInScrollID=e.href.match(/(\d+)\.php$/)[1]:MODE!=MODE_COMMENTS&&console.error("infinte scroll: can't find the last element!")}function setLoading(e){if(loadingMoreElements=e,e)$gsm.tag("div",{class:"loading-spinner"},"",infiniteScrollParent);else{const e=infiniteScrollParent.querySelector(".loading-spinner");e&&e.remove()}}function itemRenderer(item){const element=document.createElement("div"),SMALL_THUMB_FOLDER=/\/-(\d+)?x?(\d+)?(m)?(w\d)?\//,BIG_THUMB_FOLDER="/-728x314/";if(MODE==MODE_NEWS)element.className="news-item"+("true"==item.legacy?" news-item-legacy news-item-legacy-id"+legacyIDCounter:""),$gsm.isMobile?element.innerHTML='<a href="'+item.href+'"> <img src="'+item.img+'" alt="'+item.title+'"> <h2>'+item.title+'</h2> <div class="sub-hl">'+item.date+"</div></a>":(element.innerHTML='<div class="news-item-media-wrap left"> <a href="'+item.href+'"> <img src="'+item.img+'" alt="'+item.title+'"> </a></div> <a href="'+item.href+'"> <h3>'+item.title+"</h3></a><p>"+item.text+'</p><div class="meta-line"> <span class="meta-item-time"><i class="head-icon icon-clock2"></i>'+item.date+'</span> <a class="meta-item-comments" href="'+(item.comments>0?item.commentHref:"")+'">'+(item.comments>0?'<i class="head-icon icon-comments"></i>'+item.comments:"")+" </a></div> ","true"==item.legacy&&(element.innerHTML+="<style>.news-item-legacy-id"+legacyIDCounter+" .news-item-media-wrap a::after { background-image: url("+item.img+");}</style>",legacyIDCounter++));else if(MODE==MODE_REVIEWS)element.className=$gsm.isMobile?"reviews-item":"review-item","true"==item.legacy&&element.classList.add("legacy"),$gsm.isMobile?element.innerHTML='<a href="'+item.href+'"> <img src="'+item.img+'" alt="'+item.title+'"> <h2>'+item.title+'</h2> <div class="sub-hl">'+item.date+"</div></a>":element.innerHTML='<div class="review-item-media-wrap"> <a href="'+item.href+'"> <img src="'+item.img+'" alt="'+item.title+'" /> </a></div><div class="review-item-content"> <span class="review-item-subtitle">'+item.subtitle+'</span><br> <h3 class="review-item-title"><a href="'+item.href+'">'+item.title+'</a></h3> <div class="meta-line"> <span class="meta-item-time"><i class="head-icon icon-clock2"></i>'+item.date+'</span> <a class="meta-item-comments" href="'+item.commentHref+'"><i class="head-icon icon-comments"></i>'+item.comments+"</a> </div></div>";else if(MODE==MODE_COMMENTS){element.className="user-thread"+($gsm.isMobile?" material-card":""),element.id=item.id;const e=ADDITIONAL_CONFIG.endpoint;$gsm.isMobile?element.innerHTML='<ul class="uinfo2"><li class="uavatar">'+item.avatar+'</li><li class="'+item["nickname-class"]+'">'+item.nickname+'</li><li class="ulocation"><span title="Encoded anonymized location">'+item.location+'</span></li><li class="upost">'+item.date+'</li></ul><p class="uopin">'+(item.reply?item.reply:"")+item.text+'</p><ul class="uinfo">'+(loadedData.thisuserid&&loadedData.thisuserid!=item.id?'<li class="uvote button-ui">ð</li> ':"")+'<li class="ureply button-ui"><span title="Reply to this post"><a href="'+e.url+"?"+e.item+"="+commentsParamObject.idItem+"&"+e.replyTo+"="+item.id+'">Reply</a></span></li></ul><ul class="votes" data-votes="'+item.rating+'" data-reactions="'+(item.reactions||"")+'"></ul>':element.innerHTML='<div class="uavatar">'+item.avatar+'</div><ul class="uinfo2"><li class="'+item["nickname-class"]+'">'+item.nickname+'</li><li class="ulocation"><i class="head-icon icon-location"></i><span title="Encoded anonymized location">'+item.location+'</span></li><li class="upost"><time>'+item.date+'</time></li></ul><p class="uopin">'+(item.reply?item.reply:"")+item.text+'</p><ul class="uinfo">'+(loadedData.thisuserid&&loadedData.thisuserid!=item.id?'<li class="uvote button">ð</li> ':"")+'<li class="ureply button"><span title="Reply to this post"><a href="'+e.url+"?"+e.item+"="+commentsParamObject.idItem+"&"+e.replyTo+"="+item.id+'">Reply</a></span></li></ul><ul class="votes" data-votes="'+item.rating+'" data-reactions="'+(item.reactions||"")+'"></ul>',"function"==typeof searchWithinNode&&searchWithinNode(element,commentsParamObject.sSearch.toUpperCase(),commentsParamObject.sSearch.length)}else if("news"==item.type)element.className="news-item",element.innerHTML='<a href="'+item.href+'">\t<div class="news-item-media-wrap left"> \t<img src="'+item.img+'" alt="'+item.title+'">\t</div>\t<h3>'+item.title+"</h3>\t<p>"+item.text+'</p></a><div class="meta-line"> <span class="meta-item-time"><i class="head-icon icon-clock2"></i>'+item.date+'</span> <a class="meta-item-comments" href="'+(item.comments>0?item.commentHref:"")+'">'+(item.comments>0?'<i class="head-icon icon-comments"></i>'+item.comments:"")+" </a></div>";else if("promo"==item.type)element.className="post",element.innerHTML='<article class="feat-item flex-item">\t <div class="meta-line"> \t <span class="meta-item-time"><i class="head-icon icon-clock2"></i>'+item.date+'</span> <a class="meta-item-comments" href="'+(item.comments>0?item.commentHref:"")+'">'+(item.comments>0?'<i class="head-icon icon-comments"></i>'+item.comments:"")+' </a>\t </div> <header class="feat-item-header"> <h3 class="feat-item-title">'+item.title+'</h3> </header> <span class="feat-item-image" style="background-image:url(\''+item.img.replace(SMALL_THUMB_FOLDER,BIG_THUMB_FOLDER)+'\');"></span> <a href="'+item.href+'" class="feat-item-link link-faux"></a></article>';else if("text"==item.type)element.className="news-item news-item-text",element.innerHTML='<a href="'+item.href+'"> <h3>'+item.title+'</h3> <p></p></a><div class="meta-line"> <span class="meta-item-time"><i class="head-icon icon-clock2"></i>'+item.date+'</span> <a class="meta-item-comments" href="'+item.commentHref+'"><i class="head-icon icon-comments"></i>'+item.comments+"</a></div>";else if("ad"==item.type){element.classList="ad";for(var scripts=item.text.split("</script>"),i=0;i<scripts.length;i++){var match=scripts[i].match(/<script[^>]*?src="([^"]+?)"[^>]*?>/);if(match)$gsm.tag("script",{src:match[1]},"",element);else{var script=scripts[i].replace(/<script[^>]*?>/,"");eval(script)}}element.style.height="200px"}return element}const AD_TAG="undefined"!=typeof DYNAMIC_TAG?DYNAMIC_TAG:$gsm.isMobile?'<pgs-ad data-pg-ad-spot="gsmarenacom46955"></pgs-ad>':'<pgs-ad data-pg-ad-spot="gsmarenacom46956"></pgs-ad>',MAX_NUMBER_OF_LOADS=10;let numberOfLoads=0;const pageURL=new URL(location),pageURLString=pageURL.pathname.replace(/^\//,"");let pageURLStringExtension="";const pageURLStringWithoutExtension=pageURLString.replace(/(?:p\d+)?(\.\w+)$/,function(e,t){return pageURLStringExtension=t,""}),MAGIC_FUNCTIONS={},MODE_INDEX=0,MODE_NEWS=1,MODE_REVIEWS=2,MODE_COMMENTS=3;let ADDITIONAL_CONFIG={};const MODE=[[MODE_INDEX,""],[MODE_INDEX,"idx-temp.php3"],[MODE_NEWS,"news-temp.php3"],[MODE_NEWS,"news.php3"],[MODE_REVIEWS,"reviews-temp.php3"],[MODE_REVIEWS,"reviews.php3"],[MODE_COMMENTS,"opinions.php3",{magic:"desktopOpinions"}],[MODE_COMMENTS,"opinions-temp.php3",{magic:"desktopOpinions"}],[MODE_COMMENTS,/-reviews-/,{magic:"desktopOpinions",endpoint:{url:"postopinion.php3",item:"idPhone",replyTo:"idOpinion"}}],[MODE_COMMENTS,/newscomm-/,{magic:"desktopOpinions",endpoint:{url:"postcomment.php3",item:"idNews",replyTo:"idComment"}}],[MODE_COMMENTS,"newscomments-temp.php3",{magic:"desktopOpinions"}],[MODE_COMMENTS,/reviewcomm-/,{magic:"desktopOpinions",endpoint:{url:"postreviewcomment.php3",item:"idReview",replyTo:"idComment"}}],[MODE_COMMENTS,"reviewcomments-temp.php3",{magic:"desktopOpinions",endpoint:{url:"postreviewcomment.php3",item:"idReview",replyTo:"idComment"}}]].find(function(e){const t=e[1],i=e[2];return"string"==typeof t?t==pageURLString&&(i&&(ADDITIONAL_CONFIG=i),!0):t instanceof RegExp?!!pageURLString.match(t)&&(i&&(ADDITIONAL_CONFIG=i),!0):void console.error("Infinite scroll: can't determine MODE! (wrong modes list)")})[0],MORE_ITEMS_ENDPOINT=[DESKTOP_BASE_URL+"news-json.php3",DESKTOP_BASE_URL+"news2-json.php3",DESKTOP_BASE_URL+"reviews-json.php3",DESKTOP_BASE_URL+"comments-json.php3"][MODE],AD_PLACEMENT=[[7,7,9999],[5,10,9999],[8,8,8,9999],[3,7,6,9999]][MODE],ITEMS_PER_PAGE=[20,20,30,20][MODE],infiniteScrollParent=[document.querySelector("div.floating-title"),$gsm.isMobile?document.querySelector("#news-container"):document.querySelector("div.floating-title"),$gsm.isMobile?document.querySelector("#reviews-container"):document.querySelector("div.floating-title"),document.querySelector("#all-opinions")][MODE];let lastElementInScroll,lastElementInScrollID,loadingMoreElements=!1,hasMoreElementsToLoad=!0,stopLoading=!1;const PAGE_PARAM_NAME="iPage",NAV_CLASS_NAME=$gsm.isMobile?"nav-review-page-temp":"review-nav-v2",paginationContainer=$gsm.isMobile?document.querySelector("#"+NAV_CLASS_NAME):document.querySelector("."+NAV_CLASS_NAME),pagesContainer=paginationContainer&&($gsm.isMobile?null:paginationContainer.querySelector(".nav-pages"));let lastPage;if(MODE==MODE_INDEX)lastPage=0;else if(MODE==MODE_COMMENTS)if($gsm.isMobile){const e=document.querySelector("#last-button");lastPage=parseInt(e.href.match(/p(\d+)\./)[1],10)}else{const e=pagesContainer.querySelectorAll(".prevnextbutton, .prevnextbuttondis");if(2==e.length){const t=e[1],i=t.previousElementSibling;lastPage=parseInt(i.innerText,10)}}else{const e=$gsm.isMobile?paginationContainer.querySelector("#last-button"):pagesContainer.children[pagesContainer.childElementCount-2],t=new URL(e.href).searchParams;lastPage=t.has(PAGE_PARAM_NAME)?parseInt(t.get(PAGE_PARAM_NAME),10):1}const searchParams=pageURL.searchParams;let startPage;startPage=MODE==MODE_COMMENTS?parseInt(document.querySelector('.sort-comments input[name="'+PAGE_PARAM_NAME+'"]').value,10):searchParams.has(PAGE_PARAM_NAME)?parseInt(searchParams.get(PAGE_PARAM_NAME),10):1,MAGIC_FUNCTIONS.desktopOpinions=function(){if($gsm.isMobile)return;const e=document.querySelector("#user-comments"),t=e.querySelector("#all-opinions ~ .sub-footer"),i=e.querySelector("#all-opinions ~ .sub-header");t&&!infiniteScrollParent.contains(t)&&infiniteScrollParent.appendChild(t),i&&!infiniteScrollParent.contains(i)&&infiniteScrollParent.appendChild(i),infiniteScrollParent.contains(paginationContainer)||infiniteScrollParent.appendChild(paginationContainer)},ADDITIONAL_CONFIG.magic&&ADDITIONAL_CONFIG.magic in MAGIC_FUNCTIONS&&MAGIC_FUNCTIONS[ADDITIONAL_CONFIG.magic]();let searchParamString="";const searchParamObject=[];for(let e of searchParams){const t=e[0],i=e[1];t!=PAGE_PARAM_NAME&&(searchParamString+=t+"="+i,searchParamObject[t]=i)}const commentsParamObject=MODE==MODE_COMMENTS?{idType:UINREPLY_ID_TYPE||1,idItem:searchParamObject.idPhone||(document.querySelector('input[name="idPhone"]')||{value:""}).value||searchParamObject.idNews||(document.querySelector('input[name="idNews"]')||{value:""}).value||searchParamObject.idReview||(document.querySelector('input[name="idReview"]')||{value:""}).value,nSort:(document.querySelector("#sort-comments")||{value:0}).value,sSearch:searchParamObject.sSearch||(document.querySelector('.search-opinions-form [name="sSearch"]')||{value:""}).value}:null;findLastElementInScroll();const _addHeaderFooterButtons=function(e){const t=$gsm.isMobile?'<i class="head-icon icon-first-page"></i>':"To top",i=$gsm.tag("a",{href:"#",class:"scroll-to-top"},t);e.insertAdjacentElement("afterbegin",i);const n=$gsm.isMobile?'<i class="head-icon icon-last-page"></i>':"To footer",a=$gsm.tag("a",{href:"#",class:"show-footer"},n);e.appendChild(a),e.classList.add("with-header-footer-buttons")},renderPagination=function(e){const t='<a href="#">â¦</a>
1',i=function(e,t,i,n,a,s){if(t=t||""+e,i=i||pageURLString+"?"+PAGE_PARAM_NAME+"="+e+(searchParamString?"&"+searchParamString:""),n=n?' class="'+n+'"':"",a=a?' id="'+a+'"':"",s=s?' title="'+s+'"':"",MODE==MODE_COMMENTS){const i=pageURLStringWithoutExtension+"p"+e+pageURLStringExtension+(searchParamString?"?"+searchParamString:"");return'<a href="'+i+'"'+a+n+s+">"+t+"</a>"}return'<a href="'+i+'"'+a+n+s+">"+t+"</a>"};lastPageShown=e;let n="";MODE!=MODE_INDEX&&($gsm.isMobile?(n+=$gsm.isMobile?"":'<div class="nav-container">',n+=i(1,'<i class="head-icon icon-first-page"></i>',null,1==e?"disabled":"","first-button","First page"),n+=i(e-1,'<i class="head-icon icon-gallery-arrow-left"></i>',null,"prevnextbutton"+(1==e?" disabled":""),null,"Previous page"),n+='<div class="page"><span class="current">'+e+'</span><span class="count">of '+lastPage+"</span></div>",n+=i(e+1,'<i class="head-icon icon-gallery-arrow-right"></i>',null,"prevnextbutton"+(e==lastPage?" disabled":""),null,"Next page"),n+=i(lastPage,'<i class="head-icon icon-last-page"></i>',null,e==lastPage?"disabled":"","last-button","Last page"),n+=$gsm.isMobile?"":"</div>"):(n+=i(e-1,"â",1==e?"#":null,1==e?'prevnextbuttondis"':"prevnextbutton",null,"Previous page"),n+=e>1?i(1):"",n+=e>3?t:"",n+=e>2?i(e-1):"",n+=i(e,null,null,"current"),n+=e<lastPage-1?i(e+1):"",n+=e<lastPage-2?t:"",n+=e<lastPage?i(lastPage):"",n+=i(e+1,"âº",e==lastPage?"#":null,e==lastPage?" prevnextbuttondis":"prevnextbutton",null,"Next page")));const a=$gsm.tag("div",{class:NAV_CLASS_NAME},"");return $gsm.isMobile?(a.id=NAV_CLASS_NAME,a.innerHTML=n):(MODE==MODE_INDEX&&a.classList.add("simple"),$gsm.tag("div",{class:"nav-pages"},n,a)),_addHeaderFooterButtons(a),a};_addHeaderFooterButtons(paginationContainer);const removeFinalPagination=function(){infiniteScrollParent.lastElementChild.classList.contains(NAV_CLASS_NAME)&&infiniteScrollParent.lastElementChild.remove()};let moreArticlesButton;if(MODE==MODE_INDEX){const e=$gsm.tag("div",{class:"more-articles"},"",infiniteScrollParent.parentElement);moreArticlesButton=$gsm.tag("a",{class:"red-button",href:"news.php3"},"More articles »",e)}const fixMoreArticlesButton=function(){if(moreArticlesButton){const e=new URL(moreArticlesButton.href);e.searchParams.set(PAGE_PARAM_NAME,paginationCount+1),moreArticlesButton.href=e.pathname+e.search}},insertAd=function(e){const t=document.createElement("div");return t.className="d-flex flex-column justify-center align-center "+($gsm.isMobile,""),t.style.paddingBottom=$gsm.isMobile?"19px":"24px",t.style.minHeight=$gsm.isMobile?"318px":"144px",$gsm.isMobile?(t.style.margin="0 -10px 20px -10px",t.style.position="relative",t.style.background="var(--body-background, #efebe9)"):t.style.marginTop="22px",t.innerHTML=($gsm.isMobile&&MODE!=MODE_COMMENTS?'<div class="top-shadow"></div>':"")+'<span class="ad-c-label'+($gsm.isMobile?" c-gray-600":"")+'" style="'+($gsm.isMobile?"font-size: 11px; margin-top: 15px; margin-bottom: 10px; line-height: 1;":"margin-top: 2px; margin-bottom: 7px;")+'">ADVERTISEMENT</span>'+AD_TAG,e.insertAdjacentElement("afterend",t),t};let legacyIDCounter=1,paginationCount=1,loadedData={},loadedItems=[];$gsm.addEventListener(window,"scroll",function(){if(!stopLoading&&(hasMoreElementsToLoad||0!=loadedItems.length)&&lastElementInScroll.getBoundingClientRect().top<document.documentElement.clientHeight){const e=function(e){setLoading(!0);const t=[{nAfterID:lastElementInScrollID},searchParamObject,searchParamObject,commentsParamObject][MODE];MODE!=MODE_NEWS&&MODE!=MODE_REVIEWS&&MODE!=MODE_COMMENTS||(t[PAGE_PARAM_NAME]=startPage+paginationCount),numberOfLoads++,numberOfLoads>=MAX_NUMBER_OF_LOADS&&(hasMoreElementsToLoad=!1),$gsm.xhr("GET",MORE_ITEMS_ENDPOINT,function(t){setLoading(!1),loadedData=t,loadedItems=loadedItems.concat(t.news||t.items),hasMoreElementsToLoad=hasMoreElementsToLoad&&t.hasMore,e()},t,function(){hasMoreElementsToLoad=!1,setLoading(!1)},!1,!0)},t=function(i,n){if(loadingMoreElements)return;if(i>loadedItems.length)return loadedItems.length>0&&t(loadedItems.length,!0),void(hasMoreElementsToLoad&&!stopLoading?e(t.bind(null,i-loadedItems.length)):infiniteScrollParent.lastElementChild.classList.contains(NAV_CLASS_NAME)||infiniteScrollParent.lastElementChild.id==NAV_CLASS_NAME||t(0,!1));let a,s=-1,l=0;for(let e=0;e<i;e++)a=itemRenderer(loadedItems.shift()),infiniteScrollParent.appendChild(a),0==l&&(s=(s+1)%AD_PLACEMENT.length,l=AD_PLACEMENT[s]),l--,0==l&&insertAd(a);
1if(!n){if(MODE==MODE_INDEX&&!hasMoreElementsToLoad&&0==loadedItems.length)return;const e=renderPagination(startPage+paginationCount);infiniteScrollParent.appendChild(e),paginationCount++,fixMoreArticlesButton()}MODE==MODE_COMMENTS&&(doReplyOnDemand(),doEmojiReactions()),findLastElementInScroll()};t(ITEMS_PER_PAGE)}}),infiniteScrollParent.addEventListener("click",function(e){const t=e.target.closest("a");t&&(t.classList.contains("scroll-to-top")&&(e.preventDefault(),window.scrollTo({top:0,behavior:"smooth"})),t.classList.contains("show-footer")&&(e.preventDefault(),stopLoading=!0,MODE==MODE_INDEX&&(fixMoreArticlesButton(),removeFinalPagination()),window.scrollTo({top:document.body.scrollHeight,behavior:"smooth"})))})});
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.