(function(Z,g,B,Y,i,aa,M){var R={},E=false,J="other",n=false,x=0,q={},G=null,r=false,X=false,b=null,s=undefined,A="landscape",N=false,S=false,ab=null,af=false,d=false,ag=false,F=undefined,l=false,m=function(){var ah=Z.innerWidth;J="other";if(ah<=720){J="smartphone"}else{if(ah<=1024){J="tablet"}}},P=function(){var aj="",ai=Z.location.host,ak=ai.toString().split(".".toString());if(ak.length<3){aj=ai}else{for(var ah=1;ah<=(ak.length-1);ah++){if(ah>1){aj+="."}aj+=ak[ah]}}if(aa.indexOf(aj)>-1){N=true}},e=function(){if(!(typeof R.retina==="boolean"&&R.retina===false)){var ah="(-webkit-min-device-pixel-ratio: 1.3),(min--moz-device-pixel-ratio: 1.3),(min-resolution: 128.8dpi),(min-resolution: 1.3dppx)";if(typeof Z.devicePixelRatio!=="undefined"&&Z.devicePixelRatio>1){S=true}else{if(typeof Z.matchMedia!=="undefined"&&Z.matchMedia&&Z.matchMedia(ah).matches){S=true}}}},ae=function(){A="landscape";if(Z.innerHeight>Z.innerWidth){A="portrait"}},W=function(){d=g.implementation.hasFeature("http://www.w3.org/TR/SVG11/feature#Image","1.1")},p=function(){try{var ah=g.createElement("object");ah.type="image/webp";ah.innerHTML="!";g.body.appendChild(ah);ag=!ah.offsetWidth;g.body.removeChild(ah)}catch(ai){}},ac=function(ah){if(typeof aa!=="object"){}else{if(typeof M!=="object"){}else{if(typeof i!=="string"){}else{if(n===true){}else{if(typeof ah.name==="string"&&ah.name!==""){s=ah.name.replace(/\s/g,"_").replace(/[^A-Za-z0-9_]/g,"").replace(/_{2,}/g,"_").toLowerCase()}if(typeof ah.config==="object"){R=ah.config}y();l=(navigator.userAgent.match(/WuKi/i)!==null);P();p();W();e();Q();Z.addEventListener("resize",a,false);if(s!==undefined&&s!==""){n=true}}}}}},h=function(){c(D("logo"));return false},K=function(){return false},L=function(){c(D("more_button"));return false},c=function(ah){if(N!==true){if(!E){E=true;setTimeout(function(){E=false},300);Z.open(ah,"_top")}}else{}},I=function(){var ah="";if(q.align.x==="left"){ah="left: "+(0+q.offset.x)+"px;"}else{if(q.align.x==="center"){ah="left: 50%; margin-left: "+(parseInt((b/2)-q.offset.x)*-1)+"px;"}else{if(q.align.x==="right"){ah="right: "+(0+q.offset.x)+"px;"}}}return ah},H=function(){var ah="";if(q.align.y==="top"){ah="top: "+(0+q.offset.y)+"px;"}else{if(q.align.y==="center"){ah="top: 50%; margin-top: "+(parseInt((b/4)-q.offset.y)*-1)+"px;"}else{if(q.align.y==="bottom"){ah="bottom: "+(0+q.offset.y)+"px;"}}}return ah},V=function(ak,aj){var ah=JSON.parse(JSON.stringify(ak));for(var ai in aj){if(typeof aj[ai]==="object"){ah[ai]=V(ah[ai],aj[ai])}else{ah[ai]=aj[ai]}}return ah},a=function(){clearTimeout(F);F=setTimeout(function(){Q();if(r){o();if(d===false){j()}if(X===false){u.hideLogo()}}},250)},y=function(){if(typeof R.logo!=="undefined"&&typeof R.logo.all!=="undefined"){M.logo.other=V(M.logo.other,R.logo.all);M.logo.tablet.landscape=V(M.logo.tablet.landscape,R.logo.all);M.logo.tablet.portrait=V(M.logo.tablet.portrait,R.logo.all);M.logo.smartphone.landscape=V(M.logo.smartphone.landscape,R.logo.all);M.logo.smartphone.portrait=V(M.logo.smartphone.portrait,R.logo.all);R.logo.all=undefined}R=V(M,R);Q()},Q=function(){m();ae();q=R.logo.other;if(J!=="other"){q=R.logo[J][A]}v()},v=function(){b=q.width},o=function(ah){if(ah===undefined){ah="default"}var ak=I(),aj=H(),ai="width: "+b+"px; "+ak+" "+aj;G.setAttribute("style","position: absolute; z-index: 9999; "+ai)},j=function(){if(d===false){U()}},D=function(ai){var ah="#";if(N===false){ah=i+"link.php?utm_source="+s+"&utm_content="+ai}return ah},C=function(){var ah="image."+((ag)?"webp":"png");ah+="?width="+b;if(S===true){ah+="&dppx=2.0"}ah=i+ah;return ah},k=function(){var ah="splash.png";if(S===true){ah+="?dppx=2.0"}ah=i+ah;return ah},ad=function(){var ah=g.createElement("img");G=g.createElement("div");o();U(ah);ah.id="wukiApiLogo";ah.style.width="100%";ah.addEventListener("click",h,false);ah.addEventListener("touchend",h,false);G.appendChild(ah);g.body.insertBefore(G,g.body.childNodes[0])},T=function(aj){ab=g.createElement("div");var ah=g.createElement("img"),ai="position:absolute;top:0;right:0;bottom:0;left:0;width:100%;height:100%;z-index:99999;background-repeat:no-repeat;background-position: center center;";ab.style.cssText=ai;ab.style.backgroundColor=R.splash.background.color;g.body.insertBefore(ab,g.body.childNodes[0]);ah.crossOrigin="Anonymous";ah.onload=function(){ab.style.backgroundImage="url("+this.src+")";ab.style.backgroundSize="100% auto";ab.addEventListener("click",K);ab.addEventListener("touchend",K);setTimeout(function(){ab.style.display="none";ab.style.visibility="hidden";ab.parentNode.removeChild(ab);if(typeof aj==="function"){aj()}},3000)};ah.src=k()},U=function(ah){if(x!==b){if(ah===undefined){ah=g.getElementById("wukiApiLogo")}var ai=i+"image.svg";if(d===false){ai=C()}ah.src=ai;x=b}},w=undefined,t=function(ai){if(typeof w==="object"){O(ai)}else{var ah=g.createElement("img");ah.crossOrigin="Anonymous";ah.onload=function(){var ak=g.createElement("canvas"),aj=ak.getContext("2d");ak.width=ah.width;ak.height=ah.height;aj.drawImage(ah,0,0);try{var am=ak.toDataURL();f(am,ai)}catch(al){}};ah.onerror=function(){};ah.src=C()}},f=function(ah,ai){w=new Image();w.onload=function(){w.width=b;O(ai)};w.src=ah},O=function(ai){if(typeof ai==="function"){var ah={enabled:true,imageObj:w,action:h};ai(ah)}},z=function(ai){var ah=false;if(ai[0]==="init"){ac(ai[1]);ah=true}else{if(n===true){if(typeof u[ai[0]]!=="function"){}else{ah=u[ai[0]].apply(this,Array.prototype.slice.call(ai,1))}}else{}}return ah},u={showLogo:function(){if(!l){if(r!==true){ad();r=true}G.style.display="block";G.style.visibility="visible";X=true}},hideLogo:function(){if(!l){if(r===true){G.style.display="none";G.style.visibility="hidden"}X=false}},getMoreButton:function(){var ah={enabled:(!N&&!l),url:D("more_button"),action:L};return ah},getLogo:function(){var ah={enabled:!l,url:C(),action:h};return ah},getCanvasLogo:function(ah){if(typeof ah!=="function"){}else{t(ah)}},getSplash:function(){var ah={action:K,backgroundColor:R.splash.background.color,enabled:true,url:k()};return ah},showSplash:function(ah){if(!l){if(af!==true){T(ah);af=true}}}};Z[Y]=Z[Y]||function(){if(arguments!==undefined&&arguments.length>0){return z(arguments)}}})(window,document,console,"admeen","./",["1001hry.cz","1001jogos.pt","1001pelit.com","1001spiele.de","elkspel.nl","gamesxl.com","giochixl.it","grajteraz.pl","igrixl.ru","isladejuegos.es","jatekokxl.hu","jeuxdelajungle.fr","paixnidiaxl.gr","spelo.se","spillespill.no","spilxl.dk"],{retina:true,logo:{other:{align:{x:"right",y:"top"},offset:{x:3,y:3},width:100},smartphone:{portrait:{align:{x:"right",y:"top"},offset:{x:3,y:3},width:60},landscape:{align:{x:"right",y:"top"},offset:{x:3,y:3},width:60}},tablet:{portrait:{align:{x:"right",y:"top"},offset:{x:3,y:3},width:80},landscape:{align:{x:"right",y:"top"},offset:{x:3,y:3},width:80}}},splash:{background:{color:"#3B2B1E"}}});