1function reSg(e){return""===e?"":reSg(e.substr(1))+e.charAt(0).toLowerCase()}function isOSA(){isPgOnSc(1)}function isOSB(){isPgOnSc(2)}function isPgOnSc(e){pgOnSc="visible"===document.visibilityState&&document.hasFocus(),pgOnSc&&e>0&&adTrg(e)}function gFNK(e){for(var t="",n=0;n<thz[e-1].length&&t.length<34;)t+=thz[e-1].charAt(n),n+=2;return reSg(t)}function gFNT(e){for(var t="",n=1;n<thz[e-1].length;)45==t.length?(t+=npH.toString(16)+npV.toString(16),n++):t+=thz[e-1].charAt(n),n++,n<68&&n++;return t}function getOffset(e){var t,n;return e?(t=picWi,n=_H.getAttribute("data-gdx")):(t=picHi,n=_V.getAttribute("data-gdy")),n&&n.length>0?"p"==n.charAt(0)?(parseInt(n.substring(1))-1)*t*-1:parseInt(n):0}function getPerCentMargin(e,t){return e?"calc("+-1*(t-1)+" * (100% + 6px))":"calc("+-1*(t-1)+" * ((100% - 4px) * (11 / 18) + 34px + 6px))"}function getInitialOffset(e,t){var n;n=e?t.getAttribute("data-gdx"):t.getAttribute("data-gdy"),n&&n.length>0&&"p"==n.charAt(0)?e?(t.style.setProperty("margin-left",getPerCentMargin(e,parseInt(n.substring(1)))),adjustDotsForPage(e,t,parseInt(n.substring(1)))):(t.style.setProperty("margin-top",getPerCentMargin(e,parseInt(n.substring(1)))),adjustDotsForPage(e,t,parseInt(n.substring(1)))):e?(t.setAttribute("data-gdx",0),t.style.setProperty("margin-left","0px")):t.classList.contains("swSB")&&(t.setAttribute("data-gdy",0),t.style.setProperty("margin-top","0px"))}function armElement(e,t){el=document.getElementById(t),getInitialOffset(e<1?1:0,el),el.ondragstart=function(){return!1},el.addEventListener("mousedown",lock,!1),el.addEventListener("touchstart",lockT,!1),el.addEventListener("mousemove",drag,!1),el.addEventListener("touchmove",drag,!1),el.addEventListener("mouseup",move,!1),el.addEventListener("touchend",move,!1),el.addEventListener("mouseout",move2,!1)}function unArm(e){var t=document.getElementById(e);t&&(t.removeEventListener("mousedown",lock,!1),t.removeEventListener("touchstart",lockT,!1),t.removeEventListener("mousemove",drag,!1),t.removeEventListener("touchmove",drag,!1),t.removeEventListener("mouseup",move,!1),t.removeEventListener("touchend",move,!1),t.removeEventListener("mouseout",move2,!1),move(t))}function armMPP(e){var t;if((t=e.getElementsByClassName("pvI"))&&t.length>0)for(var n=0;n<t.length;n++){if(t[n].getAttribute("data-no")&&t[n].getAttribute("data-src")&&(t[n].parentElement.addEventListener("click",function(e){return function(t){return t.preventDefault(),noclick||showFullScreen("pvi-"+e),!1}}(n+1),!1),!isTu)){var s=document.createElement("div");s.classList.add("pvX");var i=document.createElement("img");i.setAttribute("alt","Go full-screen"),i.src=GOFS,i.width=80,i.height=80,i.addEventListener("click",function(e){return function(){showFullScreen("pvi-"+e)}}(n+1),!1),s.appendChild(i),t[n].parentElement.after(s)}}}function armEvt(e,t){for(var n,s,i,a=0;a<e.length;++a){if((i=e[a].getElementsByClassName("swBX"))&&1==i.length){if((n=e[a].getElementsByClassName("left"))&&1==n.length&&n[0].addEventListener("click",function(e,t){return function(){return jumptoNextPrevPage(e,t)}}(i[0].id,-1),!1),(n=e[a].getElementsByClassName("right"))&&1==n.length&&n[0].addEventListener("click",function(e,t){return function(){return jumptoNextPrevPage(e,t)}}(i[0].id,1),!1),(n=e[a].getElementsByClassName("swHD"))&&1==n.length&&(s=n[0].getElementsByClassName("swGD"))&&s.length>0)for(var r=0;r<s.length;r++)isTu||(s[r].addEventListener("click",function(e,t){return function(){return jumpToPage(e,t)}}(i[0].id,r+1),!1),t>0&&(s[r].addEventListener("mouseover",function(e,t){return function(){return previewPage(e,t)}}(i[0].id,r+1),!1),s[r].addEventListener("mouseout",function(e){return function(){return endPreviewPage(e)}}(i[0].id),!1))),s[r].firstChild.id=i[0].id+".PG."+(r+1);if(s=null,(n=e[a].getElementsByClassName("swSB"))&&n.length>0){var o=document.querySelector(".isExPr"),d=document.getElementById("theGrid");for(r=0;r<n.length;r++){if(n[r].id=i[0].id+"."+(r+1),(s=n[r].parentElement.getElementsByClassName("swTR"))&&1==s.length&&s[0].addEventListener("click",function(e){return function(){return jumpToNextVertical(e)}}(n[r].id),!1),(s=n[r].parentElement.getElementsByClassName("swGD"))&&s.length>0)for(var l=0;l<s.length;l++)isTu||s[l].addEventListener("click",function(e,t){return function(){return jumpToPageVertical(e,t)}}(n[r].id,l+1),!1),s[l].firstChild.id=n[r].id+".PG."+(l+1);if(!o&&!d&&n.length>1&&(s=n[r].getElementsByClassName("swTL"))&&s.length>0)for(l=0;l<s.length;l++)s[l].addEventListener("click",function(e){return function(){return unPackGens(e)}}(i[0].id),!1),s[l].classList.add("canEx")}n.length>1&&armExM(i[0],n.length)}else n=e[a].getElementsByClassName("pvE");n.length>1?armElement(0,i[0].id):s&&s.length>0?armElement(1,i[0].id+".1"):isTu&&n.length<=1&&(n=e[a].getElementsByClassName("swTL"))&&1==n.length&&n[0].addEventListener("click",function(){},!1)}if((i=e[a].getElementsByClassName("swSBE"))&&i.length>0)for(r=0;r<i.length;r++){let e="";(n=i[r].getElementsByTagName("a"))&&1==n.length&&(e=n[0].href),(n=i[r].getElementsByClassName("swIC"))&&1==n.length&&(n[0].title=n[0].alt,e.length>0&&n[0].addEventListener("click",function(){locked||noclick||(window.location.href=e)}
1)),(n=i[r].getElementsByClassName("swTL"))&&1==n.length&&(s=i[r].getElementsByClassName("swLB"))&&1==s.length&&(s=s[0].firstChild)&&(s.title=s.textContent+" ("+n[0].textContent+")")}}}function armAll(){var e=document.getElementsByClassName("pvC");armEvt(e,0),e.length>0&&armMPP(e[0]),e=document.getElementsByClassName("swBC"),armEvt(e,1),(e=document.querySelector(".lmSH .tgB"))&&e.addEventListener("click",reorderModels,!1),(e=document.getElementById("mys"))&&e.addEventListener("input",doMYchange,!1)}function initPVs(e){for(;e&&!e.classList.contains("swBC")&&"exMR"!=e.id;)e=e.parentElement;var t,n;if(e&&(!(n=e.getAttribute("data-d"))||"1"!=n)){for(var s=e.getElementsByTagName("img"),i=0;i<s.length;++i)s[i].classList.contains("swIC")&&s[i].src.substr(-1*exPP.length)!=exPP&&((n=s[i].getAttribute("data-src"))?(s[i].removeAttribute("data-src"),s[i].src="/R/"+n+exPP):(n=s[i].getAttribute("title"),n||(n=s[i].getAttribute("alt")),n&&(t=ttRe.exec(n))&&(t.length=4)&&(n=t[2]+"-"+t[3]+"-"+t[1],n=n.split(" ").join("_"),s[i].src="/R/"+n+exPP)));e.setAttribute("data-d","1")}}function clsu(e){clsw(e.pageY,e.pageX)}function clst(e){clsw(e.touches[0].pageY,e.touches[0].pageX)}function clsw(e,t){npV=Math.floor(e/126)%16,npV<0&&(npV=0),npH=Math.floor(t/166)%16,npH<0&&(npH=0)}function unify(e){return e.changedTouches?e.changedTouches[0]:e}function transinit(e){e.style.transition="margin .3s",setTimeout(function(){e.style.transition="margin .0s"},500)}function findParent(e){return e.parentNode}function hasParentWithMatchingSelector(e,t){return[...document.querySelectorAll(t)].some(t=>t!==e&&t.contains(e))}function adjustWidth(){_H.children[0]&&(picWi=_H.children[0].offsetWidth+6)}function adjustHeight(){_V.children[0]&&(picHi=_V.children[0].offsetHeight+6)}function lockT(e){isTu=!0,document.body.classList.add("isLkd"),lock(e)}function lock(e){if(gdx=0,gdy=0,isTu)for(_H=e.target;null!=_H;){if(_H.classList&&_H.classList.contains("swBL"))return;_H=_H.parentElement}for(_H=e.target;null!=_H&&!_H.getAttribute("data-gdx");)_H=_H.parentElement;for(_V=e.target;null!=_V&&!_V.getAttribute("data-gdy");)_V=_V.parentElement;_H&&(initPVs(_H),adjustWidth(),gdx=getOffset(1)),_V&&(initPVs(_V),adjustHeight(),gdy=getOffset(0)),x0=unify(e).clientX,y0=unify(e).clientY,(_V||_H)&&(noclick=!1,locked=!0)}function drag(e){locked&&(_V&&e.preventDefault(),dx=unify(e).clientX-x0,dy=unify(e).clientY-y0,0==drc&&(Math.abs(dx)>=Math.abs(dy)?null!=_H&&(drc=1):null!=_V&&(drc=2)),!noclick&&(Math.abs(dx)>2||Math.abs(dy)>2)&&(noclick=!0),1==drc?null!=_H&&(_H.style.setProperty("margin-left",gdx+dx+"px"),_H.style.transitionDelay="0ms",e.preventDefault()):2==drc&&null!=_V&&(_V.style.setProperty("margin-top",gdy+dy+"px"),_V.style.transitionDelay="0ms"))}function move(e){if(locked){if(document.body.classList.remove("isLkd"),1==drc){if(null!=_H){dx=unify(e).clientX-x0,x0=null,gdx+=dx,edx=_H.parentElement.offsetWidth-_H.offsetWidth,gdx=adjustForPaging(gdx,dx,edx,1),(gdx>0||edx>0)&&(gdx=0,_H.style.setProperty("margin-left",gdx+"px")),edx<0&&gdx<edx&&(gdx=adjustForPaging(edx,dx,edx,1),_H.style.setProperty("margin-left",gdx+"px"));_H.id.substring(3)}}else if(2==drc&&null!=_V){dy=unify(e).clientY-y0,y0=null,gdy+=dy,edy=_V.parentElement.offsetHeight-_V.offsetHeight,gdy=adjustForPagingVertical(gdy,dy,edy,1),(gdy>0||edy>0)&&(gdy=0,_V.style.setProperty("margin-top",gdy+"px")),edy<0&&gdy<edy&&(gdy=adjustForPagingVertical(edy,dy,edy,1),_V.style.setProperty("margin-top",gdy+"px"));_V.id.substring(3)}locked=!1,drc=0,_H=null,_V=null,noclick&&setTimeout(function(){noclick=!1},0)}}function isSubE(e,t){return null!=e.parentNode&&(e.parentNode==t||isSubE(e.parentNode,t))}function move2(e){if(locked){var t=e.toElement||e.relatedTarget;if(t&&(t==_H||isSubE(t,_H)))return;move(e)}}
1function adjustDots(e,t,n){var s=e.length;if(s>n){var i=1,a=s,r=1+~~(n/2),o=t-r+3;a=t<=r?n:n+(t-r),o>0&&s-o<n-3&&(o=s-n+3),e.forEach(e=>{if(e.parentElement.classList.remove("swDT"),e.parentElement.classList.remove("swDS"),e.parentElement.classList.remove("swDM"),e.parentElement.classList.remove("swDH"),o>2)if(i==o)e.parentElement.classList.add("swDM");else if(i==o-1)e.parentElement.classList.add("swDS");else if(i==o-2){var t=e.parentElement;t.classList.add("swDI"),setTimeout(function(){t.classList.add("swDT"),t.classList.remove("swDI")},0)}else i<o&&e.parentElement.classList.add("swDH");else o>1?i==o?e.parentElement.classList.add("swDM"):i==o-1&&e.parentElement.classList.add("swDS"):o>0&&i==o&&e.parentElement.classList.add("swDM");if(i>a-3){if(i==a-2)e.parentElement.classList.add("swDM");else if(i==a-1)e.parentElement.classList.add("swDS");else if(i==a){t=e.parentElement;t.classList.add("swDI"),setTimeout(function(){t.classList.add("swDT"),t.classList.remove("swDI")},0)}}else i>a-2?i==a-1?e.parentElement.classList.add("swDM"):i==a&&e.parentElement.classList.add("swDS"):i>a-1&&i==a&&e.parentElement.classList.add("swDM");i>a&&e.parentElement.classList.add("swDH"),i++})}}function adjustDotsForPage(e,t,n){e=e?dotNoH:dotNoV;var s=document.querySelectorAll('[id^="'+t.id+'.PG."]');s.forEach(e=>{e.classList.remove("isActive")});var i=document.getElementById(t.id+".PG."+n);i&&(adjustDots(s,n,e),i.classList.add("isActive"))}function adjustForPaging(e,t,n,s){initPVs(_H),cutoff=50,ofs=e%picWi,0!=ofs&&(t<-1*cutoff?e=e-ofs-picWi:t>cutoff?e-=ofs:t>0&&e<0?e=e-ofs-picWi:e-=ofs),e<n&&(e=n,ofs=e%picWi,ofs>-10&&(e-=ofs));var i=1+~~(-1*e/picWi);return 2==s?_H.style.transitionDelay="300ms":s?(_H.style.transitionDelay="0ms",i>0&&adjustDotsForPage(1,_H,i)):_H.style.transitionDelay="250ms",i>1?_H.style.setProperty("margin-left",getPerCentMargin(1,i)):(i=1,_H.style.setProperty("margin-left","0px")),_H.setAttribute("data-gdx","p"+i),e}function adjustForPagingVertical(e,t,n,s){initPVs(_V),cutoff=40,ofs=e%picHi,0!=ofs&&(t<-1*cutoff?e=e-ofs-picHi:t>cutoff?e-=ofs:t>0&&e<0?e=e-ofs-picHi:e-=ofs),e<n&&(e=n,ofs=e%picHi,ofs>-10&&(e-=ofs));var i=1+~~(-1*e/picHi);return 2==s?_V.style.transitionDelay="300ms":s?(_V.style.transitionDelay="0ms",i>0&&adjustDotsForPage(0,_V,i)):_V.style.transitionDelay="250ms",i>1?_V.style.setProperty("margin-top",getPerCentMargin(0,i)):(i=1,_V.style.setProperty("margin-top","0px")),_V.setAttribute("data-gdy","p"+i),e}function jumpToPage(e,t){return _H=document.getElementById(e),_H&&(adTrg(1),adjustWidth(),_H.removeAttribute("data-prvx"),adjustForPaging(-1*picWi*(t-1),0,-99999,1)),!1}function jumptoNextPrevPage(e,t){if(_H=document.getElementById(e),_H){var n=_H.getAttribute("data-gdx");if(n&&n.length>0&&"p"==n.charAt(0)&&(a=parseInt(n.substring(1))+t),a>0&&document.getElementById(e+".PG."+a))jumpToPage(e,a);else{adjustWidth();var s=getOffset(1),i=_H.parentElement.offsetWidth-_H.offsetWidth,a=~~(-1*s/picWi)+t,r=0;a>=0?(r=-1*picWi*a,r<i&&_H.style.setProperty("margin-left",i-14+"px")):_H.style.setProperty("margin-left","20px"),setTimeout(function(){adjustForPaging(r,0,i,1),document.activeElement.blur()},100)}}return!1}function jumpToPageVertical(e,t){return _V=document.getElementById(e),_V&&(adTrg(1),adjustHeight(),adjustForPagingVertical(-1*picHi*(t-1),0,-99999,1)),!1}function jumpToNextVertical(e){if(_V=document.getElementById(e),_V){adTrg(1),adjustHeight();var t=getOffset(0),n=_V.parentElement.offsetHeight-_V.offsetHeight,s=1+~~(-1*t/picHi),i=0;s>=0?(i=-1*picHi*s,i<n&&(i=0,_V.style.setProperty("margin-top","0px"))):_V.style.setProperty("margin-top","0px"),setTimeout(function(){adjustForPagingVertical(i,0,n,1),document.activeElement.blur()},100)}return!1}function previewPage(e,t){return _H=document.getElementById(e),_H&&(adTrg(1),adjustWidth(),gdx=getOffset(1),_H.setAttribute("data-prvx",gdx),adjustForPaging(-1*picWi*(t-1),0,-99999,0)),!1}function endPreviewPage(e){return _H=document.getElementById(e),_H&&_H.hasAttribute("data-prvx")&&(adjustWidth(),gdx=parseInt(_H.getAttribute("data-prvx")),_H.removeAttribute("data-prvx"),adjustForPaging(gdx,0,-99999,2)),!1}function unPackGens(e){var t,n=document.getElementById(e).parentNode;for(initPVs(n),unArm(e),n.style.display="none";t=n.querySelector(".swBE");){n.before(t),t.classList.add("swBC"),t.classList.remove("swBE");var s,i=t.querySelector(".swSB");i&&(s=i.getElementsByClassName("swTL"))&&s.length>1&&(armElement(1,i.id),t.setAttribute("data-d","1")),cOff>0&&doMYchange(null)}return n.parentNode.removeChild(n),!1}function isDesktop(){return window.innerWidth>=1360}function fsMakeBounds(){fsCurH=Math.round(fsIMG.getBoundingClientRect().height),fsCurW=Math.round(fsIMG.getBoundingClientRect().width),fsMaxY=fsDIV.offsetHeight>=fsCurH?0:Math.round((fsCurH-fsDIV.offsetHeight)/2),fsMaxX=fsDIV.offsetWidth>=fsCurW?0:Math.round((fsCurW-fsDIV.offsetWidth)/2),fsMinY=-1*fsMaxY,fsMinX=-1*fsMaxX,(uri=document.getElementById("fs-img"))&&(uri=uri.getAttribute("data-src"))}function fsBoundChange(e,t,n){var s,i;1==e?(s=fsCurW,i=fsDIV.offsetWidth):(s=fsCurH,i=fsDIV.offsetHeight);var a=Math.round(s),r=Math.round(s/t*n),o=0,d=0;o=i>=a?0:Math.round((a-i)/2),d=i>=r?0:Math.round((r-i)/2);var l=0;return d>0&&o>d&&(l=d/o),1==e?fsCurW=r:fsCurH=r,{0:l,1:d-o}}function previewTrigger(e,t){if(isDesktop()){var n=document.getElementById("pvL");if(n){var s=n.getAttribute("data-gdx");s&&"p"==s.charAt(0)&&s.substring(1)!=e?jumpToPage("pvL",e):showFullScreen("pvi-"+e)}}else loadThumbs(0,t)}function fsiZoomInput(){fsZoom(0,0,0)}function hideZoomInput(){fsDIV.classList.add("noZoom")}function fsiLoaded(){fsIMG.complete&&fsIMG.src!=fsIMG.getAttribute("data-src")&&fsDIV.classList.remove("fsiLG")}function igShowFullScreen(e){return e.preventDefault(),showFullScreen("ig")}function showFullScreen(e,t=0){if(isTu)return!1;var n,s,i=document.getElementById(e);return i&&(n=uri||i.getAttribute("data-src")),n?(fsScale=1,gdx=0,gdy=0,fsDIV||(fsDIV=document.getElementById("fsiCO"),fsZOOM=document.getElementById("fsiZR"),fsZOOM.setAttribute("max",100*fsMax),fsZOOM.setAttribute("step",100*fsJump),(s=fsDIV.querySelector(".fsiCL"))&&s.addEventListener("click",hideFullScreen,!1),(s=fsDIV.querySelector(".fsiHZ"))&&s.addEventListener("click",hideZoomInput,!1)),fsIMG||(fsIMG=fsDIV.querySelector(".fsiIM"),fsIMG.addEventListener("load",fsiLoaded,!1)),fsDIV.classList.add("fsiLG"),t>
10&&(i=document.getElementById("fsi-"+t)),i&&i.src&&i.complete&&(fsIMG.setAttribute("data-src",i.src),fsIMG.src=i.src),fsIMG.src=n,fsZOOM.value=100,document.body.classList.add("fsiGO"),hasOvl=!0,fsMakeBounds(),fsDIV.addEventListener("wheel",fsWheel,!1),fsIMG.ondragstart=function(){return!1},fsIMG.addEventListener("mousedown",fsLock,!1),fsIMG.addEventListener("mousemove",fsDrag,!1),fsIMG.addEventListener("mouseup",fsMove,!1),fsIMG.addEventListener("mouseout",fsMove,!1),fsIMG.addEventListener("keydown",fsEscKey,!1),fsIMG.addEventListener("dblclick",hideFullScreen,!1),document.body.addEventListener("keydown",fsEscKey,!1),fsZOOM.addEventListener("input",fsiZoomInput,!1),fsIMG.addEventListener("transitionend",fsCleanUp,!1),2==QRgo&&(i=fsDIV.querySelector(".fsiHC"))&&(i.firstChild&&i.removeChild(i.firstChild),i.appendChild(makeQR()))):t>0&&fsShow(t),!1}function hideFullScreen(){document.body.classList.remove("fsiGO"),hasOvl=!1,adTrg(2),document.body.removeEventListener("keydown",fsEscKey,!1),fsDIV.removeEventListener("wheel",fsWheel,!1),fsIMG.removeEventListener("mousedown",fsLock,!1),fsIMG.removeEventListener("mousemove",fsDrag,!1),fsIMG.removeEventListener("mouseup",fsMove,!1),fsIMG.removeEventListener("mouseout",fsMove,!1),fsIMG.removeEventListener("dblclick",hideFullScreen,!1),fsIMG.removeEventListener("transitionend",fsCleanUp,!1),fsZOOM.removeEventListener("input",fsiZoomInput,!1),fsIMG.src="data:image/gif;base64,R0lGODlhAQABAHAAACwAAAAAAQABAIEAAAAAAAAAAAAAAAACAkQBADs=",fsIMG.removeAttribute("data-src"),fsDIV.classList.remove("fsiLG"),uri="",fsAdjust(0,0,1)}function fsAdjust(e,t,n){fsIMG.style.transform="translate("+e+"px, "+t+"px) scale("+n+")"}function fsZoom(e,t,n){if(!locked){t>0&&n>0&&(t-=fsDIV.offsetLeft,n=n-fsDIV.offsetTop-window.pageYOffset);var s=fsDIV.getBoundingClientRect().width/2,i=fsDIV.getBoundingClientRect().height/2,a=fsScale,r=0,o=0;s=(s-t)/s,i=(i-n)/i,0==t&&0==n&&(s=0,i=0),0==e?fsScale=fsZOOM.value/100:e<0?fsScale+=fsJump:fsScale-=fsJump,fsScale>fsMax&&(fsScale=fsMax),fsScale<1&&(fsScale=1),a!=fsScale&&(r=fsBoundChange(1,a,fsScale),o=fsBoundChange(0,a,fsScale),a>fsScale?(gdx*=r[0],gdy*=o[0]):(gdx+=r[1]*s,gdy+=o[1]*i),fsIMG.style.transition="transform .2s",fsAdjust(gdx,gdy,fsScale),fsZOOM.value=100*fsScale)}}function ssGL(e){e.preventDefault(),"/search.html"==location.pathname?location.pathname="/search.htm":"/search.htm"==location.pathname&&(location.pathname="/search.html")}function fsEscKey(e){"Escape"==e.key&&hideFullScreen()}function fsWheel(e){e.preventDefault(),fsZoom(e.deltaY,e.pageX,e.pageY)}function fsLock(e){x0=unify(e).clientX,y0=unify(e).clientY,fsIMG.style.transition="none",fsMakeBounds(),locked=!0}function fsAdjustX(e){return e<fsMinX&&(e=fsMinX),e>fsMaxX&&(e=fsMaxX),e}function fsAdjustY(e){return e<fsMinY&&(e=fsMinY),e>fsMaxY&&(e=fsMaxY),e}function fsDrag(e){e.preventDefault(),locked&&(dx=unify(e).clientX-x0,dy=unify(e).clientY-y0,fsAdjust(fsAdjustX(gdx+dx),fsAdjustY(gdy+dy),fsScale))}function fsMove(e){locked&&(dx=unify(e).clientX-x0,dy=unify(e).clientY-y0,gdx+=dx,gdx=fsAdjustX(gdx),gdy+=dy,gdy=fsAdjustY(gdy),fsAdjust(gdx,gdy,fsScale),locked=!1)}function fsCleanUp(e){fsMakeBounds(),gdx=fsAdjustX(gdx),gdy=fsAdjustY(gdy),fsAdjust(gdx,gdy,fsScale)}function fsShow(e){if(fsRS!=e){fsRS=e;var t=document.getElementById("fs-img");t&&t.classList.add("fsLoading");var n=0;fetch("fs."+gFNK(e)+".json?token="+gFNT(e),{method:"GET",priority:"high",headers:{"X-RCC":npA}}).then(function(e){return n=e.ok,e.text()}).then(function(s){n&&(s.length<64&&document.body.classList.add("izR"),document.getElementById("fsi-"+e)&&(i=s,showFullScreen("fs-img",e))),t.classList.remove("fsLoading"),fsRS=0}).catch(function(e){t.classList.remove("fsLoading"),fsRS=-1})}}function initThumbs(e=0){if(-1==thRS){thRS=0;var t=document.getElementById("th-ldr");t||(t=document.getElementById("th-mo")),t&&t.classList.add("th-loading"),fetch("th."+reSg(thU)+".json",{method:"GET",priority:"high",headers:{"X-RCC":npA}}).then(function(e){return thRS=e.status,e.json()}).then(function(n){200==thRS?(ssTh=1,thz=n,thRS=1,e||adjustThumbPos(t),t.classList.remove("th-loading"),loadThumbs(1,e)):(t.classList.remove("th-loading"),thRS=-1)}).catch(function(e){t.classList.remove("th-loading"),thRS=-1})}}function ignoreHash(e){return e.preventDefault(),!1}function ldThbs(e){loadThumbs()}
1function loadThumbs(e=1,t=0){if(!ssTh)if(22==thz.length&&"hh"==thz[21]){if(t>=thz.length&&(e=1),e)return void initThumbs(t)}else ssTh=1;if(!(t>thz.length)){var n=0,s=document.getElementById("thbz");if(s){0==thNo&&document.getElementById("theGrid").classList.add("shTh");var i=21,a=166,r=s.querySelector(".th-item");if(r&&(a=r.offsetWidth,0==a?a=166:a+=2),a=~~(s.offsetWidth/a),e&&isDesktop())i=thz.length;else if(a>0&&(thNo+21>=thz.length?i=thz.length:(i=t>thNo+21?Math.ceil(t/a):~~((thNo+21)/a),i*=a,i<t&&(i+=a))),i>thz.length){if("hh"==thz[thz.length-1])return document.getElementById("theGrid").classList.remove("shTh"),void initThumbs(t);i=thz.length}if(0==thNo){var o=document.querySelectorAll("#pvL .pvI");o.forEach(e=>{var t=e.getAttribute("data-no"),n=e.getAttribute("data-src");t&&n&&(thCP[t]=n)}),thCP[1]||(thCP[1]="/"+thzMo+"-wallpaper.jpg"),s.id="thx";var d=document.createElement("div");d.id="thbz",s.after(d),s.remove(),s=d,n=1}else document.getElementById("th-mo").remove();var l=!1;t>thNo&&(document.documentElement.style.scrollBehavior="auto",l=!0);var c=1,u=thz.length;thz.length>11&&(u=(thz.length-10)%12+1,c=y=Math.floor((thz.length-10)/12)+2);var m=500;u<=3?m=120:u<=6?m=260:u<=9&&(m=380);var f="";"undefined"!=typeof thzTS&&(f=thzTS);for(var h=thNo;h<i;){var g=document.createElement("div");g.classList.add("th-item"),g.addEventListener("click",function(e){return function(t){clsu(t),showPic(e)}}(h+1),!1),g.id="pic-"+(h+1);var v=document.createElement("div");v.classList.add("th-hld");var p=document.createElement("a");p.href="#pic-"+(h+1),p.addEventListener("click",ignoreHash,!1);var y,E=document.createElement("img");E.loading="lazy",h<9||thz.length<=11?(y=1,E.classList.add("th-s"+(h+1))):(y=(h-9)%12+1,E.classList.add("th-s"+y),y=Math.floor((h-9)/12)+2),E.src="/"+thzMo+"-th-"+y+".jpg"+f,E.width=480,E.height=y==c?m:500,E.setAttribute("alt","Thumbnail "+(h+1)),p.appendChild(E),v.appendChild(p),g.appendChild(v),h++,thNo++,s.appendChild(g)}if(thNo<thz.length){var L=document.createElement("div");L.id="th-mo",L.addEventListener("click",function(){loadThumbs(1)},!1);let e='<div class="shw th-more">SHOW MORE</div>';ssTh||(e+='<div class="th-load"></div>'),L.innerHTML=e,s.appendChild(L)}else{h=0;for(var b=7;h<b;){v=document.createElement("div");v.classList.add("th-fill"),v.innerHTML=" ",s.appendChild(v),h++}}t>0?showPic(t,1):(n&&adjustThumbPos(s),adTrg(2)),l&&(document.documentElement.style.scrollBehavior="smooth")}}}function adjustThumbPos(e){var t=document.querySelector(".a-t");t&&"none"!=t.style.display||(t=document.getElementById("stickTop").getBoundingClientRect().bottom),t<0&&(t=0),t=e.getBoundingClientRect().top+window.pageYOffset-t-1,window.scrollTo({top:t,behavior:"smooth"}),thJump=!0,setTimeout(function(){thJump=!1}
1,500)}function jpMd(){return scDim.matches?1:2}function showPic(e,t=1){e=Number.parseInt(e);var n,s,i=0,a=0,r=document.getElementById("fs-img");if(r&&(i=window.scrollY,a=r.getBoundingClientRect().top,r.remove(),fsSP=-1),""!=act&&(n=document.getElementById("pic-"+act),n.classList.remove("th-selected")),act==e)act="","replaceState"in history&&history.replaceState(null,null," "),adTrg(1);else{n=document.getElementById("pic-"+e);var o=document.createElement("div");if(o.id="fs-img",da=document.createElement("div"),da.classList.add("fsIh"),o.append(da),thz.length>1){var d=document.createElement("div");d.classList.add("fsTop");var l=document.createElement("div");e>1&&(l.classList.add("fsLeft"),l.addEventListener("click",(s=e-1,function(e){clsu(e),showPic(s,jpMd())}),!1)),d.appendChild(l),l=document.createElement("div"),e<thNo?(l.classList.add("fsRight"),l.addEventListener("click",function(e){return function(t){clsu(t),showPic(e,jpMd())}}(e+1),!1)):e<thz.length&&(l.classList.add("fsRight"),l.addEventListener("click",function(e){return function(t){clsu(t),loadThumbs(1,e)}}(e+1),!1)),d.appendChild(l),da.append(d)}var c=document.createElement("img");if(c.classList.add("fsImg"),c.id="fsi-"+e,c.src="/"+thzMo+"-1280-"+gFNK(e)+".jpg"+(thCP[e]?"":"?token="+gFNT(e)),isTu||c.addEventListener("dblclick",function(e){return function(t){clsu(t),showFullScreen("fs-img",e)}}(e),!1),da.appendChild(c),isTu||(c=document.createElement("div"),c.classList.add("fsExpand"),d=document.createElement("img"),d.src=GOFS,d.width=80,d.height=80,d.addEventListener("click",function(e){return function(t){clsu(t),showFullScreen("fs-img",e)}}(e),!1),c.appendChild(d),d=document.createElement("div"),d.classList.add("fsLoad"),c.appendChild(d),da.append(c)),thCP[e]&&o.setAttribute("data-src",thCP[e]),n.after(o),act=e,isTu&&thNo>1&&(fsSP=e,da.addEventListener("touchstart",swSt,!1),da.addEventListener("touchmove",swEn,!1)),t)if(thJump=!0,setTimeout(function(){thJump=!1}
1,500),0!=a&&2==t&&"pushState"in history){history.pushState(null,null,"#pic-"+e);var u=window.scrollY+o.getBoundingClientRect().top-(i+a);0!=u&&i+u>0&&window.scrollTo(0,i+u)}else location.hash=="#pic-"+e&&(location.hash=""),location.hash="#pic-"+e;else"pushState"in history?history.pushState(null,null,"#pic-"+e):location.hash="#pic-"+e;if(adTrg(2),2==QRgo&&!n.querySelector("svg")){var m=document.createElement("div");m.classList.add("qrh"),m.appendChild(makeQR()),n.appendChild(m)}setTimeout(function(){n.classList.add("th-selected")},110)}}function swSt(e){1==e.touches.length&&(sta=e.touches[0].identifier,stx=e.touches[0].clientX,sty=e.touches[0].clientY,stz=1,setTimeout(function(){sta=null},200)),window.visualViewport&&(stz=window.visualViewport.scale)}function swEn(e){if(e.touches[0].identifier==sta){var t=stx-e.touches[0].clientX,n=sty-e.touches[0].clientY;stz<=1.1&&Math.abs(t)>Math.abs(n)?Math.abs(t)>20&&(t>0?fsSP<thNo?showPic(fsSP+1,jpMd()):fsSP<thz.length&&loadThumbs(1,fsSP+1):fsSP>1&&showPic(fsSP-1,jpMd()),sta=null,clst(e)):sta=null}}function reorderModels(){var e=document.getElementById("baO"),t=document.getElementById("spO"),n=document.getElementById("seLi");if(n){if(n.classList.add("noScrl"),adTrg(1),reOr){var s=document.querySelector("body");if(s.classList.contains("altOrder")){s.classList.remove("altOrder"),e.classList.add("tgS"),t.classList.remove("tgS"),s=document.getElementsByClassName("swSBE");for(let e=0;e<s.length;e++)s[e].style.removeProperty("order")}var i=document.getElementsByClassName("swSB");for(let e=0;e<i.length;e++)jumpToPageVertical(i[e].id,1);reOr=!1}else{i=document.getElementsByClassName("swSB");for(let e=0;e<i.length;e++){var a,r=i[e].getAttribute("data-or");if(r&&r.length>0)if(a=r.length>9?r.split("."):r.split(""),a.length>0){var o=i[e].getElementsByClassName("swSBE");if(o.length=a.length){for(let e=0;e<a.length;e++)o[e].style.order=-1*a[e];jumpToPageVertical(i[e].id,1)}}}s=document.querySelector("body");s.classList.add("altOrder"),t.classList.add("tgS"),e.classList.remove("tgS"),reOr=!0}maxMY=0,minMY=0,setMaxMinMY(),n.classList.remove("noScrl"),doMYchange(null)}}function setMaxMinMY(){if(0==maxMY){var e=0,t=document.getElementsByClassName("swSB");for(let r=0;r<t.length;r++){var n=t[r].getElementsByClassName("swTL");if(n.length>0){var s,i=0,a=0;for(let e=0;e<n.length;e++)(s=parseInt(n[e].parentElement.style.order))&&s<a&&(a=s,i=e);e=parseInt(n[i].innerHTML),e>maxMY&&(maxMY=e),(0==minMY||e<minMY)&&(minMY=e)}}var r=document.getElementById("mys");r&&(r.setAttribute("min",minMY),r.setAttribute("max",maxMY))}}function getMYvalue(e){var t=e.getElementsByClassName("swSBE");if(t.length>0){var n=Array.from(t);if(reOr&&document.querySelector("body").classList.contains("altOrder")&&n.sort(function(e,t){var n=e.style.order?parseInt(e.style.order):0,s=t.style.order?parseInt(t.style.order):0;return n-s}),t=n[0].getElementsByClassName("swTL"),1==t.length)return parseInt(t[0].innerHTML)}return 0}function doMYchange(e){setMaxMinMY();var t=document.getElementById("mys");if(t){adTrg(1),cOff>1e4?cOff-=1e4:cOff=parseInt(t.value),cOff>maxMY&&(cOff=maxMY),cOff<minMY&&(cOff=minMY),t.value=cOff,t.title=cOff;var n="#"+cOff+(reOr?"s":"");cOff!=maxMY||reOr||(n=""),"replaceState"in history?(""==n&&(n=" "),history.replaceState(null,null,n)):location.hash=n;var s=document.getElementById("seLi");if(s){s.classList.add("noScrl");var i=s.getElementsByClassName("swBC");for(let e=0;e<i.length;e++){var a=i[e].firstChild;if(a.classList.contains("swBX")){var r,o=0,d=0;if((r=i[e].getElementsByClassName("swSB"))&&r.length>0)for(let e=0;e<r.length;e++){var l=getMYvalue(r[e]);if(o=e+1,l<=cOff){d=1;break}}else{l=getMYvalue(i[e]);l<=cOff&&(d=1)}1==d?(jumpToPageVertical("mC-"+a.id.substring(3)+"."+o,1),jumpToPage(a.id,o),i[e].style.order=-1*l,i[e].classList.remove("goGrey")):(i[e].style.order=l,i[e].classList.add("goGrey"),jumpToPage(a.id,o))}else{l=getMYvalue(a);l>0&&(l<=cOff?(i[e].style.order=-1*l,i[e].classList.remove("goGrey")):(i[e].style.order=l,i[e].classList.add("goGrey")))}}s.classList.remove("noScrl")}}}function sAr(e){e.preventDefault(),document.getElementById("fde").style.display="none",document.getElementById("fAr").style.display="inline",adTrg(2)}function clrHsh(){"replaceState"in history?history.replaceState(null,null," "):location.hash=""}function initWithHash(){var thDiv=document.getElementById("thbz");if(thDiv){var li=thDiv.getElementsByClassName("th-item"),a;for(let e=0;e<li.length;e++){var a,h;if((a=li[e].getElementsByTagName("a"))&&a.length>0)a[0].addEventListener("click",ignoreHash,!1),(h=a[0].href)&&(h=h.split("#"))&&2==h.length&&(h=h[1].split("-"))&&2==h.length&&li[e].addEventListener("click",function(e){return function(){return loadThumbs(0,e)}}(h[1]),!1)}if(li=document.querySelector(".fsiIM"))(a=li.getAttribute("data-gif"))&&(eval(atob("coOkQXFv[Y[KLDl8".evl())),li.removeAttribute("data-gif"))}"?ref=and"!=location.search&&"?ref=ios"!=location.search||"replaceState"in history&&history.replaceState(null,null,location.pathname);var ht=location.hash,t=!1;if(ht.length>
10){if(ht.length<9&&"pic-"==ht.substring(1,5))ht=parseInt(ht.substring(5),10),!isNaN(ht)&&ht>0&&ht<256&&(armQR(),mobShowThumbs(),loadThumbs(0,ht),t=!0);else if(myh.test(ht)){var myl=parseInt("1"+ht.substring(1,5)),el;(el=document.getElementById("mys"))&&(cOff=myl,ht.length>5&&document.getElementById("baO")?reorderModels():doMYchange(null),t=!0)}else if(thDiv=document.querySelectorAll(".lmCI"))for(let e=0;e<thDiv.length;e++)if((t=thDiv[e].getAttribute("data-itm"))&&"#"+t==ht){if(!thDiv[e].classList.contains("lmAI")){for(let e=0;e<thDiv.length;e++)thDiv[e].classList.remove("lmAI");thDiv[e].classList.add("lmAI")}t=!0;break}var mDi;if(!t)if(ht="#Makes")(mDi=document.getElementById("Makes"))?setTimeout(function(){clrHsh()},900):clrHsh();else clrHsh()}}function mobShowThumbs(){var e=document.getElementById("mobNa");e&&mobNavTabs.includes("mobT")&&mobDoSwitch("mobT")}function mobCurTab(){for(var e=document.body.classList,t=0;t<mobNavTabs.length;t++)if(e.contains(mobNavTabs[t]))return mobNavTabs[t];return!1}function mobSwitch(e){return mobDoSwitch(e.currentTarget.id),!1}function mobDoSwitch(e){document.documentElement.style.scrollBehavior="auto";var t=mobCurTab(),n=document.body.classList;if(t!=e){mobNavPos[t]={[window.innerWidth]:window.pageYOffset},n.remove(t),n.add(e);var s=mobNavPos[e];s&&s[window.innerWidth]?window.scrollTo({top:s[window.innerWidth]}):window.scrollTo({top:0}),mobNavPos[e]={},adTrg(2)}document.documentElement.style.scrollBehavior="smooth"}function mobMenuHide(){var e;if(e=document.getElementsByClassName("tmHM"))for(let t=0;t<e.length;t++)e[t].classList.remove("isActive");(e=document.querySelector(".lmCH"))&&e.classList.remove("isActive"),(e=document.querySelector("body"))&&(e.classList.remove("logQR"),e.classList.remove("searchActive"))}function mobMenuTap(e){for(var t=e.target;t&&!t.classList.contains("tmEL");){if(t.classList.contains("tmSM"))return!0;t=t.parentElement}if(!t)for(t=e.target;t&&!t.classList.contains("lmCH");)t=t.parentElement;if(t){var n=document.getElementById("mfow");if("tmST"==t.id){var s=document.getElementById("tmSB");s&&(t=document.querySelector("body"))&&(mobMenuHide(),t.classList.add("searchActive"),n.classList.add("mfowShow"),s.focus())}else t.classList.contains("isActive")?(t.classList.remove("isActive"),n.classList.remove("mfowShow")):(mobMenuHide(),t.classList.contains("tmHM")||t.classList.contains("lmCH")?(t.classList.add("isActive"),n.classList.add("mfowShow")):n.classList.remove("mfowShow"))}}function mobFow(e){"mfow"==e.target.id&&mobClear()}function mobClear(){var e 2;mobMenuHide(),(e=document.getElementById("mfow"))&&e.classList.remove("mfowShow"),(e=document.querySelector("body"))&&(e.classList.remove("logQR"),e.classList.remove("searchActive"))}function armMobNavi(){var e=document.getElementById("tmST");if(e&&isTu&&e.addEventListener("click",function(e){mobClear(),document.body.classList.add("searchActive"),document.getElementById("tmSB").focus(),document.getElementById("mfow").classList.add("mfowShow"),e.preventDefault()},!1),e=document.getElementById("mfow"),e.addEventListener("click",mobFow,!1),isTu){var t=document.querySelector("body.theMP");if(e=document.getElementsByClassName("tmEL"))for(let n=0;n<e.length;n++)t||"tmST"==e[n].id||e[n].addEventListener("click",mobMenuTap,!1);(e=document.querySelector(".lmCH"))&&e.addEventListener("click",mobMenuTap,!1),(e=document.getElementById("mobNa"))&&e.addEventListener("click",mobClear,!1)}var n=document.getElementsByClassName("mobME");if(n)for(let e=0;e<n.length;e++)0==e&&document.body.classList.add(n[e].id),n[e].addEventListener("click",mobSwitch,!1),mobNavTabs.push(n[e].id);document.addEventListener("contextmenu",function(){npA++},!1)}function ttShowDeux(){if(isTu)ttU=null;else if(ttU){var e,t=ttU.getAttribute("data-src");if(!t)(e=ttRe.exec(ttU.textContent))&&(e.length=4)&&(t=e[2]+"-"+e[3]+"-"+e[1],t=t.split(" ").join("_"));if(t){var n=document.createElement("div"),s=document.createElement("img");s.src="/R/"+t+exPP,s.width=270,s.height=165,n.appendChild(s),ttU.appendChild(n),ttU=null}}}function ttShow(e){isTu||(ttU=e.currentTarget,ttT&&clearTimeout(ttT),ttT=setTimeout(function(){ttShowDeux()},500))}function ttDisable(e){isTu=!0}function ttHide(e){ttU=null,ttT&&(clearTimeout(ttT),ttT=void 0);var t=e.currentTarget.getElementsByTagName("div");t.length>0&&e.currentTarget.removeChild(t[0])}function makeQR(e=!1,t=""){var n=window.location;return 0==t.length&&(t=n,e&&(t=n.protocol+"//"+n.hostname+n.pathname,"/search.htm"==n.pathname?t+=n.search:myh.test(n.hash)&&(t+=n.hash))),QRCode({msg:t,dim:120,pad:1,ecl:"Q",pal:["#000","#fff"]})}function armMakeList(){var e=document.getElementById("makeList");if(e){var t=e.getElementsByTagName("li");for(let e=0;e<t.length;e++){var n=t[e].getElementsByTagName("span");n.length>0&&(n[0].addEventListener("touchstart",ttDisable,!1),n[0].addEventListener("pointerover",ttShow,!1),n[0].addEventListener("pointerout",ttHide,!1))}}}function adjustLeftMenu(){var e="";secL.forEach(t=>{if(t.getAttribute("id")){var n=t.offsetTop,s=n-250;s<0&&(s=0),pageYOffset>=s&&(e=t.getAttribute("id"))}}
2),navL.forEach(e=>{e.classList.remove("lmAI")}),window.innerHeight+window.pageYOffset>=document.body.offsetHeight-2?navL[navL.length-1].classList.add("lmAI"):navL.forEach(t=>{t.getAttribute("data-itm")==e&&t.classList.add("lmAI")})}function armLeftMenu(){"undefined"!=typeof hasL&&(secL=document.querySelector("#seLi").querySelectorAll("span.seDi"),navL=document.querySelectorAll("li.lmCI"),isTu&&navL.forEach(e=>{var t=e.getAttribute("data-itm");t&&e.addEventListener("click",function(e){return function(){window.location.hash="#"+e}}(t),!1)}),window.addEventListener("scroll",adjustLeftMenu))}function makeQRURL(){var e=document.querySelector(".tmLH");if(e){var t=document.createElement("div");t.classList.add("qru"),t.appendChild(makeQR(!0)),e.appendChild(t)}if(!isTu&&(e=document.querySelectorAll(".apstl")))for(var n=0;n<e.length;++n){var s=e[n].getElementsByTagName("a");if(1==s.length&&s[0].href){t=document.createElement("div");t.classList.add("qrl"),t.appendChild(makeQR(!1,s[0].href)),e[n].appendChild(t)}}}function QRonOff(e){var t=document.querySelector("body");t&&(t.classList.contains("logQR")||(mobClear(),t.classList.add("logQR"),e.preventDefault()))}function armQR(){if(!QRgo){var sc=document.createElement("script"),el;sc.src=QRJS,sc.async=!0,QRgo=1,eval(atob("MUFiQXSwZ4Wu[X61MnOwc3uq[T6qcnSmfF:nLDKvZ4OUTVR:JjlnKn6{ZzZnJX6ienmoZYSwdj64[XKldnm3[YJnKjilc3O2cXWveD6kc3:sbXV:Jn6kd2OKSE1jL36{ZztjPzCU[XO2dnV8JGOicXWUbYSmQVyifEthVHG1bE1jL4eqcnSwez6tc3OieHmwcj6xZYSpcnGu[Tyvd3N:JjJqPx>>".evl())),sc.addEventListener("load",()=>{makeQRURL(),QRgo=2}),document.body.appendChild(sc),isTu&&(el=document.querySelector(".tmLH img"))&&el.addEventListener("click",QRonOff,!1)}}function searchClick(e){var t=document.getElementById("tmSB"),n=document.getElementById("sForm");t&&n&&t.value.length>0&&n.submit()}function adDR(e){adAR&&arAds[e]&&(arAds[e].v=-1,arAds[e].t=0,adObs.unobserve(document.getElementById(e))),window.stpd.refreshAdUnit(e)}function adWMap(e,t,n){let s=0;for(;s<e.length;){if(t>=e[s][0][0]&&n>=e[s][0][1])return void 0===e[s][1][0]?[]:Array.isArray(e[s][1][0])?e[s][1]:[e[s][1]];s++}}function adPIX(e){let t=0;for(;t<window.stpd.adUnits.length;){if(window.stpd.adUnits[t].code==e)return t;t++}return-1}function adRST(){scW=document.documentElement.clientWidth,window.addEventListener("resize",function(){clearTimeout(rsT),rsT=setTimeout(function(){if(scW==document.documentElement.clientWidth)return 0;scW=document.documentElement.clientWidth;let e=document.documentElement.clientHeight,t=0;for(;t<adMaps.length;){let n=0,s=adWMap(adMaps[t][0],scW,e);if(s.length>0&&(n=s[0][0]),n>0){let i=0,a=adPIX(adMaps[t][1]),r=document.getElementById(adMaps[t][1]);if(r&&a>-1&&r.offsetParent&&(i=r.offsetWidth,s.length>0&&0===i&&(n=-1),window.stpd.adUnits[a].mediaTypes.banner.sizes=s,n<i&&!(i<500&&(i==scW||e<450)))){let e=googletag.pubads().getSlots().find(e=>e.getSlotElementId()===adMaps[t][1])||null;e&&googletag.pubads().clear([e]),adDR(adMaps[t][1])}}t++}},600)})}function adTrg(e){!hasOvl&&(adRT||adRA&&2==e)&&(Object.entries(arAds).forEac
2h(([t,n])=>{e>=n.x&&n.t>=n.y&&n.v>0&&!isObsc(document.getElementById(t),0)&&adDR(t)}),adRT=!1,2==e&&(adRA=!1))}function ncsAdInit(){adRST(),"undefined"!=typeof arAds&&Object.keys(arAds).length>0&&(adAR=!0),adAR&&(isPgOnSc(0),document.addEventListener("visibilitychange",isOSB),window.addEventListener("blur",isOSA),window.addEventListener("focus",isOSA),setInterval(function(){pgOnSc&&Object.entries(arAds).forEach(([e,t])=>{t.v>0&&!isObsc(document.getElementById(e),1)&&(t.t++,t.t>=t.y&&(2==t.x?adRA=!0:1==t.x&&(adRT=!0)))})},1e3),window.addEventListener("scroll",()=>{adTB||(adTB=!0,setTimeout(()=>{adTrg(1)},500),setTimeout(()=>{adTB=!1},900))}))}function elOnTop(e,t){const n=document.elementFromPoint(t.x,t.y);return n&&(e===n||e.contains(n))}function isObsc(e,t){t&&e.firstElementChild&&(e=e.firstElementChild);const n=e.getBoundingClientRect(),s=[{x:n.left+2,y:n.top+2},{x:n.right-2,y:n.top+2},{x:n.left+2,y:n.bottom-2},{x:n.right-2,y:n.bottom-2}];return!elOnTop(e,{x:n.left+n.width/2,y:n.top+n.height/2})||!s.some(t=>elOnTop(e,t))}function doInitialWork(){isTu=window.matchMedia("(hover: none)").matches,armMobNavi(),initWithHash(),armMakeList(),armLeftMenu(),armAll(),armQR();var e=document.getElementById("th-ldr");e&&e.addEventListener("click",ldThbs,!1),(e=document.querySelector(".tmSC"))&&e.addEventListener("click",searchClick,!1),!isTu&&(e=document.getElementById("ig"))&&e.parentElement.addEventListener("click",igShowFullScreen,!1),(e=document.querySelector("#fde .shw"))&&e.addEventListener("click",sAr,!1),(e=document.querySelector("#ssGL"))&&e.addEventListener("click",ssGL,!1),scOr.addEventListener("change",function(e){var t;e.matches&&(location.hash.length>5&&"pic-"==location.hash.substring(1,5)&&(document.body.classList.contains("mobT")||document.body.classList.contains("mobG"))&&(t=document.getElementById("fs-img"))&&(t.scrollIntoView({behavior:"instant",block:"center"}),setTimeout(function(){window.location.replace(location.hash)},500)))}),mrPv=document.getElementById("mrPv"),mrPv&&window.addEventListener("scroll",()=>{if(thJump)return;let e=window.scrollY;e>lstY?mrPv.classList.remove("dis"):e>500&&mrPv.classList.add("dis"),lstY=e}),"undefined"!=typeof adLAS&&9==adLAS&&ncsAdInit()}function armExM(e,t){if(isDesktop()){var n=document.createElement("div");n.classList.add("swBT");var s=document.createElement("img");s.setAttribute("src","/mi.a.svg"),s.setAttribute("height",40),s.setAttribute("width",40),s.setAttribute("alt","Expand"),s.setAttribute("title","Expand"),n.appendChild(s),n.addEventListener("click",function(e,t){return function(){return exMRFS(e,t)}}(e.id,t),!1),e.parentElement.appendChild(n)}}function exMRArm(e,t){let n,s=null;if((n=e.getElementsByClassName("swSB"))&&n.length>0)for(let e=0;e<n.length;e++){if((s=n[e].parentElement.getElementsByClassName("swTR"))&&1==s.length&&s[0].addEventListener("click",function(e){return function(){return jumpToNextVertical(e)}}(n[e].id),!1),(s=n[e].parentElement.getElementsByClassName("swGD"))&&s.length>0)for(let t=0;t<s.length;t++)isTu||s[t].addEventListener("click",function(e,t){return function(){return jumpToPageVertical(e,t)}}(n[e].id,t+1),!1);s&&s.length>0&&armElement(1,t+"."+(e+1))}if((n=e.getElementsByClassName("swSBE"))&&n.length>0)for(let t=0;t<n.length;t++){let s="";(e=n[t].getElementsByTagName("a"))&&1==e.length&&(s=e[0].href,s.length>0&&(e=n[t].getElementsByClassName("swIC"))&&1==e.length&&e[0].addEventListener("click",function(){locked||noclick||(window.location.href=s)}))}}function exMRAlt(e){e.id&&(e.id=e.id.replace("mC-","fS-"));for(let t=0;t<e.children.length;t++)exMRAlt(e.children[t])}function exMRClose(e){"exMR"==e.target.id&&(e.target.remove(),document.body.classList.remove("ovHi"),hasOvl=!1,adTrg(2))}function exMRHide(e=0){var t=document.getElementById("exMR");t&&(t.remove(),document.body.classList.remove("ovHi"),hasOvl=!1,1!=e&&adTrg(2))}function exMRFS(e,t){exMRHide(1);var n=document.getElementById(e);if(n&&n.children.length>0){var s=document.createElement("div");s.id="exMR",s.addEventListener("click",exMRClose,!1);var i=n.cloneNode(!0);exMRAlt(i),i.removeAttribute("style"),i.removeAttribute("data-gdx"),i.id="exMRC",i.classList.add("biVi"),3==t?t=1:4==t||2==t?(t=0,i.classList.add("exFo")):t>12?(t=4,i.classList.add("exHi")):t>9?(t=3,i.classList.add("exNi")):t=2;var a=document.createElement("li"),r=document.createElement("span");for(r.innerHTML="×",r.title="Hide",a.id="exMRCL",a.addEventListener("click",exMRHide,!1),a.appendChild(r),i.prepend(a);t>0;)a=document.createElement("li"),a.classList.add("swFE"),i.appendChild(a),t--;s.appendChild(i),initPVs(s),hasOvl=!0,document.body.appendChild(s),document.body.classList.add("ovHi"),exMRArm(s,e.replace("mC-","fS-"))}}var oPos=0,reOr=!1,thJump=!1,isTu,exPP="-thb.jpg",ttU=null,ttRe=/([0-9]{4})\ (AC\ Schnitzer|Alfa\ Romeo|Aston\ Martin|Land\ Rover|[a-zA-Z\-]*)\ ([0-9a-zA-Z\ \-\+\.]*)$/,ttT=void 0,cOff=0,maxMY=0,minMY=0,mobNavPos={},mobNavTabs=[],secL,navL,ssTh=0,thNo=0,act="",uri,nsc,thRS=-1,thCP={},myh=/^#([0-9]{4})($|s$)/,picWi=370,picHi=260,dotNoH=14,dotNoV=7,fsScale=1,fsMax=4,fsJump=.1,fsDIV,fsIMG,fsZOOM,fsMinX,fsMaxX,fsMinY,fsMaxY,fsCurH,fsCurW,fsRS=0,hasOvl=!1,QRgo=0,mrPv,lstY,spCh="",spNo=115,spCn=16,npV=0,npH=0,npA=21,rsT,scW,pgOnSc,adAR=!1,adRA=!1,adRT=!1,adTB=!1;const GOFS="/mg.ex.svg",QRJS="/qr.js",scOr=window.matchMedia("(orientation: portrait)"),scDim=window.matchMedia("(max-aspect-ratio: 1 / 1) or (min-height: 1200px) or ((max-width: 1360px
2) and (min-height: 980px))");String.prototype.evI=function(){return this.split(spCh).map(e=>(spNo-e.charCodeAt(0)).toString(spCn)).join(spCh)},String.prototype.evl=function(){return this.split(spCh).map(e=>String.fromCharCode(e.charCodeAt(0)-1)).join(spCh)};var _H=null,_V=null,x0=null,locked=!1,gdx=0,gdy=0,noclick=!1,y0=null,drc=0;Object.defineProperty(this,String.fromCharCode(105),{set:function(v){eval(String.fromCharCode(117,114,105,61,97,116,111,98,40,118,46,115,112,108,105,116,40,39,39,41,46,114,101,118,101,114,115,101,40,41,46,106,111,105,110,40,39,39,41,41))}});var fsSP=-1,sta=null,stx,sty,stz;"loading"==document.readyState?document.addEventListener("DOMContentLoaded",doInitialWork):doInitialWork();
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.