!function(h){var t=null==h.c?"":h.c,n=null==h.mc?"":h.mc,o=[{pattern:"^https?://example.com[/?]",click_key:"click",mcv_key:"mcv"},{pattern:"^https?://mobee2.jp[/?]",click_key:"_xuid",mcv_key:"sad"}],e=function(a){var b=document.cookie;if(""===b)return"";a=b.match(RegExp("(?:^|;)\\s*"+a+"\\s*\x3d\\s*([^;\\s]+)"));return null===a?"":decodeURIComponent(a[1])};h=function(a,b){var f="";if(""!==b){e(a)&&(document.cookie=k(a,"",0,"/",""));for(var c=1;c<=document.domain.split(".").length;c++)if(f=document.domain.split(".").slice(-c).join("."),
e(a)&&(document.cookie=k(a,"",0,"/",f)),!e(a)&&(document.cookie=k(a,b,7776E3,"/",f),e(a)))return;document.cookie=k(a,b,7776E3,"/","")}};var k=function(a,b,f,c,g){return""===g?a+"\x3d"+encodeURIComponent(b)+"; max-age\x3d"+f+"; path\x3d"+c+";":a+"\x3d"+encodeURIComponent(b)+"; max-age\x3d"+f+"; path\x3d"+c+"; domain\x3d"+g+";"},p=function(a){var b;try{b=window.top.location.href}catch(f){b=document.referrer}var c=new XMLHttpRequest;a="https://k.zucks.net/ce/?c\x3d"+encodeURIComponent(t)+"\x26t\x3dlp\x26m\x3d"+
encodeURIComponent(a)+"\x26loc\x3d"+encodeURIComponent(b)+"\x26suuid\x3d"+encodeURIComponent(e("_ZUCKSUUID"))+"\x26suid\x3d"+encodeURIComponent(e("_ZUCKSSUID"));c.open("GET",a,!0);"withCredentials"in c&&(document.location.origin&&"null"!==document.location.origin&&"file://"!==document.location.origin)&&(c.withCredentials=!0);c.send()},q=function(a){if("string"!==typeof a)return"";a=a.match(/(?:\?|&)_zucks_suid=([^&#]+)/);return null===a?"":a[1]},r=function(a){return a.key+"\x3d"+a.value},l=function(a,
b,f,c){if(a&&"body"!==a.nodeName.toLowerCase()&&b)if(a.href){var g=a.href;if(/^https?:\/\//.test(g)){var d=[{key:"_zucks_suid",value:encodeURIComponent(b)}];f&&(d=d.concat(c.filter(function(a){try{return RegExp(a.pattern).test(g)}catch(b){return p(b.message),!1}}).map(function(a){return[{key:a.click_key,value:encodeURIComponent(b)},{key:a.mcv_key,value:f}]}).flat()));if(0!==d.filter(function(a){return-1===g.indexOf(r(a))}).length){c=d.map(r).join("\x26");var d=-1===g.indexOf("?")?"?":"\x26",e=g.indexOf("#");
a.href=-1===e?g+d+c:g.slice(0,e)+d+c+g.slice(e)}}}else return l(a.parentNode,b,f,c)};try{var j,d;try{d=q(window.top.location.search)}catch(v){d=""}var i=d||q(document.referrer);j=decodeURIComponent(i)||e("_ZUCKSSUID");if(""!==j){h("_ZUCKSSUID",j);var m=e("_ZUCKSUUID");if(""===m){d="xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".split("");for(var i=0,u=d.length;i<u;i++)switch(d[i]){case "x":d[i]=Math.floor(16*Math.random()).toString(16);break;case "y":d[i]=(Math.floor(4*Math.random())+8).toString(16)}m=d.join("")}h("_ZUCKSUUID",
m);window.addEventListener("click",function(a){l(a.target,j,n,o)},!1);try{window!=window.top&&window.top.addEventListener("click",function(a){l(a.target,j,n,o)},!1)}catch(w){}}}catch(s){throw p(s.message),s;}}({"c":"_4bad1bbb26"});