!function(e){var H=function(g,a,e){var j=function(){var a=g.width*g.height;if(0>=a)return 0;var d=g.getBoundingClientRect(),e,h,j;e=d.left;h=d.top;j=d.bottom;var d=d.right,k=document.body.clientWidth,m=document.body.clientHeight;0>e&&(e=0);0>h&&(h=0);d>k&&(d=k);j>m&&(j=m);e=d-e;h=j-h;return 0>e||0>h?0:e*h/a},u=function(){return!m?!1:0.5<=j()},q=function(){window.clearInterval(n)},r=!1,m=!1,d=null,k=0,h=0,n=window.setInterval(function(){try{var a=new Date;document.hasFocus()?m&&(u()?(null==d&&(d=
a),k=a-d,1E3<k&&!r&&(e&&e(k),r=!0)):(null!=d&&(h+=a-d),d=null,k=0)):(null!=d&&(h+=a-d),d=null,k=0)}catch(g){A(g.message),q()}},100);a.addEventListener("load",function(){m=!0});a={};a.isViewable=u;a.isRenderFinished=function(){return m};a.getViewablePercent=j;a.getInViewableTime=function(){return k};a.getTotalViewableTime=function(){return h+k};a.removeTimer=q;return a},B=function(g){try{return g.top.location.href}catch(a){}return document.referrer},I=function(g){return"withCredentials"in g&&document.location.origin&&
"null"!==document.location.origin&&"file://"!==document.location.origin},A=function(g){var a=new XMLHttpRequest;g="https://k.zucks.net/e/?t\x3drefresh-only-video-complete\x26f\x3d"+e.f+"\x26m\x3d"+encodeURIComponent(g);a.open("GET",g,!0);I(a)&&(a.withCredentials=!0);a.send()},w=function(g){try{g()}catch(a){throw A(a.message),a;}};w(function(){var g=document,a=function(){},x=(new Date).getTime(),j=Math.floor(1E9*Math.random()),u="zucksadif"+j,q=e.w||320,r=e.h||50,m=screen||{height:0,width:0},d,k;if(e.eid&&
g.getElementById(e.eid))k=e.eid;else{var h="zucksad"+j;g.write("\x3cdiv style\x3d'margin:0;border:0;padding:0;text-align:center;width:100%;height:"+r+"px;overflow:hidden;' id\x3d'"+h+"'\x3e\x3c/div\x3e");k=h}var n=null,p=function(){null==n&&(n=g.createElement("div"),n.setAttribute("style","position:relative;margin:0 auto;padding:0;border:0;width:"+q+"px"),g.getElementById(k).appendChild(n));return n},h=function(){var b=window.zucksIdfa;return null==b||null==b.ida||""===b.ida?null:0!==b.lat&&1!==b.lat&&
"0"!==b.lat&&"1"!==b.lat&&null!=b.lat?(A("invalid zucksIdfa format"),null):b}(),C=function(b,v,c,l){var f=g.createElement("iframe");f.setAttribute("style","border:none;padding:0;margin:0;");f.setAttribute("id",v);f.setAttribute("width",q);f.setAttribute("height",r);f.setAttribute("allowtransparency","false");f.setAttribute("hspace","0");f.setAttribute("vspace","0");f.setAttribute("frameborder","0");f.setAttribute("scrolling","no");f.setAttribute("data-zucks-listen-video-complete","");f.srcdoc="\x3chtml /\x3e";
p().appendChild(f);H(f,f,function(){l&&s(3E4,l,a,a,{credentials:!0})});v=g.getElementById(v).contentWindow.document;v.open().write('\x3chtml\x3e\x3chead\x3e\x3c/head\x3e\x3cbody style\x3d"padding:0px;margin:0px;border:0;"\x3e'+b+"\x3c/body\x3e\x3c/html\x3e");v.close();c&&D(f,c)},D=function(b,a){var c=g.createElement("div"),l=g.createElement("a");l.setAttribute("href",a.link);l.setAttribute("style","width:100%;height:100%;border:0;margin:0;padding:0;display:none;");l.setAttribute("target","_blank");
l.setAttribute("rel","noopener");l.textContent=" ";a.admute&&l.addEventListener("click",function(){var b="",c;if(d)c=d;else{c="xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".split("");i=0;for(len=c.length;i<len;i++)switch(c[i]){case "x":c[i]=Math.floor(16*Math.random()).toString(16);break;case "y":c[i]=(Math.floor(4*Math.random())+8).toString(16)}c=c.join("")}d=c;b+="_ZUCKSUUID\x3d"+d+";";b+="path\x3d/;max-age\x3d315360000;";document.cookie=b;b=a.link+"\x26suuid\x3d"+J();l.setAttribute("href",b)},!0);var f=
!1,e=function(){c.removeEventListener("click",e);f?c.style.width="17px":(c.style.webkitTransitionProperty="width",c.style.webkitTransitionDuration="0.5s",c.style.width="85px")};c.setAttribute("style",'width:17px;height:15px;background:rgba(255, 255, 255, 0.8) url("'+a.img+'") no-repeat right top; background-size:85px 15px; position:absolute; right: 0; border-bottom-left-radius:4px;');c.addEventListener("click",e);c.addEventListener("webkitTransitionEnd",function(){l.style.display=f?"none":"block";
f=!f;c.addEventListener("click",e)});c.appendChild(l);p().insertBefore(c,b)},E=function(b){b=b.map(function(b){var a=g.createElement("img");a.setAttribute("src",b);a.setAttribute("width",1);a.setAttribute("height",1);a.setAttribute("style","border:0;padding:0;margin:0;display:none;");return a});var a=p();b.forEach(function(b){a.appendChild(b)})},F=function(b,d){var c=b[d],l=c.vi?c.vi+"\x26sw\x3d"+m.width+"\x26sh\x3d"+m.height:null,f=encodeURIComponent(B(window)),h=c.im,j=c.fb,k=j?!0:!1,f="1"===h?
{img:"https://static.zucks.net.zimg.jp/i/ads_by.png",link:(j?j:"https://zucks.co.jp/privacy/ads/?from_imark\x3d1\x26fid\x3d"+e.f)+"\x26loc\x3d"+f,admute:k}:"2"===h?{img:"https://static.zucks.net.zimg.jp/porto/i/ads_by.png",link:(j?j:"https://portodsp.co.jp/opt-out/?from_imark\x3d1\x26fid\x3d"+e.f)+"\x26loc\x3d"+f,admute:k}:null;if("html"===c.t)C(c.ht,u,f,l);else if("img"===c.t){var j=(new Date).getTime()-x,h=c.iu,n=c.r+"\x26l\x3d"+j,c=g.createElement("img"),o=H(c,c,function(){s(3E4,l,a,a,{credentials:!0})});
c.setAttribute("src",h);c.setAttribute("width",q);c.setAttribute("height",r);c.setAttribute("style","border:0;padding:0;margin:0;display:inline-block;width:"+q+"px;height:"+r+"px;-webkit-backface-visibility:visible;pointer-events:auto;vertical-align:bottom;");var t=g.createElement("a");t.setAttribute("href",n);t.setAttribute("target","_top");t.appendChild(c);p().appendChild(t);f&&D(t,f);t.addEventListener("click",function(b){var a="\x26tvt\x3d"+o.getTotalViewableTime()+"\x26vt\x3d"+o.getInViewableTime();
t.setAttribute("href",n+"\x26x\x3d"+b.offsetX+"\x26y\x3d"+b.offsetY+a);o.removeTimer()},!0)}(new Promise(function(b,a){var c=document.getElementById(u);null===c&&a();c.addEventListener("zucks_video_complete",b)})).then(function(){return new Promise(function(b){setTimeout(b,1E3)})})["catch"](function(){return Promise.reject()}).then(function(){for(var a=++d%b.length;p().lastChild;)p().removeChild(p().lastChild);F(b,a)})["catch"](function(){})},G=function(b){if("no_ad"===b.s)E(b.bc||[]),s(3E4,b.i,a,
a,{credentials:!0});else{var d=b.ads;if(void 0===d||null===d||0===d.length)y();else{F(d,0);var c=(new Date).getTime()-x,e=encodeURIComponent(B(window));s(3E4,d[0].i+"\x26l\x3d"+c+"\x26loc\x3d"+e,a,a,{credentials:!0});E(b.bc||[])}}},y=function(){var b=(new Date).getTime()-x;s(3E4,"https://k.zucks.net/f/?f\x3d"+e.f+"\x26l\x3d"+b,a,a,{credentials:!0});e.filler&&C(e.filler,u,!1)},s=function(b,a,c,d,f){f=f||{};var e=new XMLHttpRequest,g=setTimeout(function(){w(function(){e.abort();d()})},b);e.open("GET",
a,!0);e.onload=function(){w(function(){clearTimeout(g);c(JSON.parse(e.responseText||"{}"))})};e.onerror=function(){w(function(){clearTimeout(g);d()})};f.credentials&&I(e)&&(e.withCredentials=!0);e.send()},K=function(b,a){var c=[],d;for(d in a)a.hasOwnProperty(d)&&c.push(d+"\x3d"+encodeURIComponent(a[d]));return b+"?"+c.join("\x26")},J=function(){if(null!=d)return d;var b=document.cookie;if(""==b)return null;b=b.match(/(?:^|;)\s*_ZUCKSUUID\s*=\s*([^;\s]+)/);null!==b&&(d=b[1]);return d},o={f:e.f,rnd:j,
sw:m.width,sh:m.height,touch:"ontouchstart"in window?"1":"0",num:5};null!==h&&(o.ida=h.ida,o.lat=h.lat);(j=B(window))&&(o.ref=j);j=J();null!=j&&(o.suuid=j);navigator.userAgentData?(new Promise(function(b){navigator.userAgentData.getHighEntropyValues(["model","platformVersion"]).then(function(a){b(a)})["catch"](function(){b({model:"-",platformVersion:"-"})})})).then(function(b){var a=Object.assign(o,{});"model"in b&&(a.chm=b.model);"platformVersion"in b&&(a.chpv=b.platformVersion);s(5E3,K("https://sh.zucks.net/opt/multi/json/api/v1",
a),G,y,{credentials:!0})}):s(5E3,K("https://sh.zucks.net/opt/multi/json/api/v1",o),G,y,{credentials:!0})})}({"f":"624305","filler":"\u003Cdiv style=\"margin:0;padding:0;border:0;\"\u003E\r\n\u003Cdiv style=\"position:relative;margin:0 auto;padding:0;border:0;width:300px\"\u003E\r\n\u003Cdiv style=\"width:17px;height:15px;background:rgba(255, 255, 255, 0.8) url(&quot;https:\u002F\u002Fstatic.zucks.net.zimg.jp\u002Fi\u002Ficon.png&quot;) no-repeat top 1px right 2px; background-size:13px 13px; position:absolute; right: 0; border-bottom-left-radius:4px;\"\u003E\r\n\u003Ca href=\"https:\u002F\u002Fzucks.co.jp\u002Fprivacy\u002Fads\u002F?from_imark=1\" style=\"width:100%;height:100%;border:0;margin:0;padding:0;display:block;\" target=\"_top\" rel=\"noopener\"\u003E \u003C\u002Fa\u003E\r\n\u003C\u002Fdiv\u003E\r\n\r\n\u003Ca href=\"https:\u002F\u002Fsb.app-joy.info\u002Fab\u002Ffiller_rpg?aff_id=00112233\" target=\"_top\"\u003E\r\n\u003Cimg src=\"https:\u002F\u002Fstatic.zucks.net.zimg.jp\u002Fimage\u002F2023\u002F09\u002F25\u002Fc\u002F122920_phplos5qb.jpeg\" width=\"300\" height=\"250\" style=\"border:0;padding:0;margin:0;display:inline-block;width:300px;height:250px;\" \u002F\u003E\r\n\u003C\u002Fa\u003E\r\n\r\n\u003C\u002Fdiv\u003E\r\n\u003C\u002Fdiv\u003E","at":"banner","h":"250","w":"300"});