c4eb7652c256901a0f4e9f790bea471abcb063c60d8b6915b268be594ce86cbd

Source Code:

// 2018-06-11 17:03:42 Version 1 (Tag Template v3) Created
(function(){var C=new Date,d=document,l=window,D=d.URL,w={getUrl:function(){return d.URL.split("?")[0]},getUrlIncludeQuery:function(){return d.URL},getQueryString:function(){return d.URL.split("?")[1]?d.URL.split("?")[1]:""},getQueryParam:function(a){var b=d.URL.split("?")[1];if(b){if(!a)return b;for(var b=b.split("&"),c=0;b.length>c;c++){var e=b[c].split("=");if(e[0]===a)return e[1]}}return""},getTitle:function(){return d.title},getReferrer:function(){return d.referrer},getDomText:function(a,b){return b?
d.getElementById(a)?d.getElementById(a).getAttribute(b)?d.getElementById(a).getAttribute(b):"":"":d.getElementById(a)?d.getElementById(a).innerText?d.getElementById(a).innerText:d.getElementById(a).textContent.replace(/\n/g,""):""},getRandom:function(){return Math.floor(1E8*Math.random())},getGlobalVar:function(a){return eval("window."+a)?eval("window."+a):""},getCookie:function(a){var b=d.cookie;if(b)for(var c=b.split("; "),e=0;e<c.length;e++)if(b=c[e].split("="),b[0]===a)return b[1];return""},getUA:function(){return l.navigator.userAgent},
getJS:function(a){var b;try{b=eval.call(window,"("+a+")();")}catch(c){}if("undefined"===typeof b||"object"===typeof b||"function"===typeof b)b="";return b},isWindowInactive:function(){var a=!1;"undefined"!=typeof d.hidden?a=d.hidden:"undefined"!=typeof d.mozHidden?a=d.mozHidden:"undefined"!=typeof d.msHidden?a=d.msHidden:"undefined"!=typeof d.webkitHidden&&(a=d.webkitHidden);return a}},x={};(function(){function a(){}function b(a,b,c){var g,d=a&&a.length||0;for(g=0;g<d;g++)b.call(c,a[g],g)}function c(a,
b,c){for(var g in a)a.hasOwnProperty(g)&&b.call(c,g,a[g])}function d(a,b){c(b,function(b,g){a[b]=g});return a}function f(a,b){a=a||{};c(b,function(b,g){null==a[b]&&(a[b]=g)});return a}function l(a){try{return m.call(a)}catch(c){var d=[];b(a,function(a){d.push(a)});return d}}var r=function(){function a(h,e){h=h||"";e=e||{};for(var p in b)b.hasOwnProperty(p)&&(e.autoFix&&(e["fix_"+p]=!0),e.fix=e.fix||e["fix_"+p]);var f={comment:/^\x3c!--/,endTag:/^<\//,atomicTag:/^<\s*(script|style|noscript|iframe|textarea)[\s>]/i,
startTag:/^</,chars:/^[^<]/},l={comment:function(){var a=h.indexOf("--\x3e");if(0<=a)return{content:h.substr(4,a),length:a+3}},endTag:function(){var a=h.match(g);if(a)return{tagName:a[1],length:a[0].length}},atomicTag:function(){var a=l.startTag();if(a){var b=h.slice(a.length);if(b.match(RegExp("</\\s*"+a.tagName+"\\s*>","i"))&&(b=b.match(RegExp("([\\s\\S]*?)</\\s*"+a.tagName+"\\s*>","i"))))return{tagName:a.tagName,attrs:a.attrs,content:b[1],length:b[0].length+a.length}}},startTag:function(){var a=
h.match(c);if(a){var b={};a[2].replace(d,function(a,g,c,d,h){a=c||d||h||k.test(g)&&g||null;b[g]=a});return{tagName:a[1],attrs:b,unary:!!a[3],length:a[0].length}}},chars:function(){var a=h.indexOf("<");return{length:0<=a?a:h.length}}},u=function(){for(var a in f)if(f[a].test(h)){q&&console.log("suspected "+a);var b=l[a]();return b?(q&&console.log("parsed "+a,b),b.type=b.type||a,b.text=h.substr(0,b.length),h=h.slice(b.length),b):null}};e.fix&&function(){var a=/^(AREA|BASE|BASEFONT|BR|COL|FRAME|HR|IMG|INPUT|ISINDEX|LINK|META|PARAM|EMBED)$/i,
b=/^(COLGROUP|DD|DT|LI|OPTIONS|P|TD|TFOOT|TH|THEAD|TR)$/i,g=[];g.last=function(){return this[this.length-1]};g.lastTagNameEq=function(a){var b=this.last();return b&&b.tagName&&b.tagName.toUpperCase()===a.toUpperCase()};g.containsTagName=function(a){for(var b=0,g;g=this[b];b++)if(g.tagName===a)return!0;return!1};var c=function(b){b&&"startTag"===b.type&&(b.unary=a.test(b.tagName)||b.unary);return b},d=u,k=function(){h="</"+g.pop().tagName+">"+h},y={startTag:function(a){var c=a.tagName;"TR"===c.toUpperCase()&&
g.lastTagNameEq("TABLE")?(h="<TBODY>"+h,q()):e.fix_selfClose&&b.test(c)&&g.containsTagName(c)?g.lastTagNameEq(c)?k():(h="</"+a.tagName+">"+h,q()):a.unary||g.push(a)},endTag:function(a){g.last()?e.fix_tagSoup&&!g.lastTagNameEq(a.tagName)?k():g.pop():e.fix_tagSoup&&(d(),q())}},q=function(){var a=h,b=c(d());h=a;if(b&&y[b.type])y[b.type](b)};u=function(){q();return c(d())}}();return{append:function(a){h+=a},readToken:u,readTokens:function(a){for(var b;(b=u())&&(!a[b.type]||!1!==a[b.type](b)););},clear:function(){var a=
h;h="";return a},rest:function(){return h},stack:[]}}var b=function(){var a={},b=this.document.createElement("div");try{b.innerHTML="<P><I></P></I>",a.tagSoup="<P><I></P></I>"!==b.innerHTML}catch(g){a.tagSoup=!1}b.innerHTML="<P><i><P></P></i></P>";a.selfClose=2===b.childNodes.length;return a}(),c=/^<([\-A-Za-z0-9_]+)((?:\s+[\w\-]+(?:\s*=\s*(?:(?:"[^"]*")|(?:'[^']*')|[^>\s]+))?)*)\s*(\/?)>/,g=/^<\/([\-A-Za-z0-9_]+)[^>]*>/,d=/([\-A-Za-z0-9_]+)(?:\s*=\s*(?:(?:"((?:\\.|[^"])*)")|(?:'((?:\\.|[^'])*)')|([^>\s]+)))?/g,
k=/^(checked|compact|declare|defer|disabled|ismap|multiple|nohref|noresize|noshade|nowrap|readonly|selected)$/i,q=!1;a.supports=b;a.tokenToString=function(a){var b={comment:function(a){return"<--"+a.content+"--\x3e"},endTag:function(a){return"</"+a.tagName+">"},atomicTag:function(a){console.log(a);return b.startTag(a)+a.content+b.endTag(a)},startTag:function(a){var b="<"+a.tagName,g;for(g in a.attrs)var c=a.attrs[g],b=b+(" "+g+'="'+(c?c.replace(/(^|[^\\])"/g,'$1\\"'):"")+'"');return b+(a.unary?"/>":
">")},chars:function(a){return a.text}};return b[a.type](a)};a.escapeAttributes=function(a){var b={},g;for(g in a){var c=a[g];b[g]=c&&c.replace(/(^|[^\\])"/g,'$1\\"')}return b};for(var e in b)a.browserHasFlaw=a.browserHasFlaw||!b[e]&&e;return a}(),m=Array.prototype.slice,z=function(){function a(b,c,d){var e=m+c;if(2===arguments.length)return e=b.getAttribute(e),null==e?e:String(e);null!=d&&""!==d?b.setAttribute(e,d):b.removeAttribute(e)}function f(b,c){var k=b.ownerDocument;d(this,{root:b,options:c,
win:k.defaultView||k.parentWindow,doc:k,parser:r("",{autoFix:!0}),actuals:[b],proxyHistory:"",proxyRoot:k.createElement(b.nodeName),scriptStack:[],writeQueue:[]});a(this.proxyRoot,"proxyof",0)}var m="data-ps-";f.prototype.write=function(){[].push.apply(this.writeQueue,arguments);for(var a;!this.deferredRemote&&this.writeQueue.length;)a=this.writeQueue.shift(),"function"===typeof a?this.callFunction(a):this.writeImpl(a)};f.prototype.callFunction=function(a){var b={type:"function",value:a.name||a.toString()};
this.onScriptStart(b);a.call(this.win,this.doc);this.onScriptDone(b)};f.prototype.writeImpl=function(a){this.parser.append(a);var b;for(a=[];(b=this.parser.readToken())&&!/^script$/i.test(b.tagName);)a.push(b);this.writeStaticTokens(a);b&&this.handleScriptToken(b)};f.prototype.writeStaticTokens=function(a){a=this.buildChunk(a);if(a.actual)return a.html=this.proxyHistory+a.actual,this.proxyHistory+=a.proxy,this.proxyRoot.innerHTML=a.html,this.walkChunk(),a};f.prototype.buildChunk=function(a){var c=
this.actuals.length,d=[],e=[],f=[];b(a,function(a){d.push(a.text);if(a.attrs){if(!/^noscript$/i.test(a.tagName)){var b=c++;e.push(a.text.replace(/(\/?>)/," "+m+'id="'+b+'" $1'));"ps-script"!==a.attrs.id&&f.push("atomicTag"===a.type?"":"<"+a.tagName+" "+m+'proxyof="'+b+(a.unary?'" />':'">'))}}else e.push(a.text),f.push("endTag"===a.type?a.text:"")});return{tokens:a,raw:d.join(""),actual:e.join(""),proxy:f.join("")}};f.prototype.walkChunk=function(){for(var b,c=[this.proxyRoot];null!=(b=c.shift());){var d=
1===b.nodeType;d&&a(b,"proxyof")||(d&&(this.actuals[a(b,"id")]=b,a(b,"id",null)),(d=b.parentNode&&a(b.parentNode,"proxyof"))&&this.actuals[d].appendChild(b));c.unshift.apply(c,l(b.childNodes))}};f.prototype.handleScriptToken=function(a){var b=this.parser.clear();b&&this.writeQueue.unshift(b);a.src=a.attrs.src||a.attrs.SRC;if(a.src&&this.scriptStack.length)this.deferredRemote=a;else this.onScriptStart(a);var c=this;this.writeScriptToken(a,function(){c.onScriptDone(a)})};f.prototype.onScriptStart=function(a){a.outerWrites=
this.writeQueue;this.writeQueue=[];this.scriptStack.unshift(a)};f.prototype.onScriptDone=function(a){a!==this.scriptStack[0]?this.options.error({message:"Bad script nesting or script finished twice"}):(this.scriptStack.shift(),this.write.apply(this,a.outerWrites),!this.scriptStack.length&&this.deferredRemote&&(this.onScriptStart(this.deferredRemote),this.deferredRemote=null))};f.prototype.writeScriptToken=function(a,b){var c=this.buildScript(a),d=this.shouldRelease(c),e=this.options.afterAsync;a.src&&
(c.src=a.src,this.scriptLoadHandler(c,d?e:function(){b();e()}));try{this.insertScript(c),a.src&&!d||b()}catch(f){this.options.error(f),b()}};f.prototype.buildScript=function(a){var b=this.doc.createElement(a.tagName);c(a.attrs,function(a,c){b.setAttribute(a,c)});a.content&&(b.text=a.content);return b};f.prototype.insertScript=function(a){this.writeImpl('<span id="ps-script"/>');var b=this.doc.getElementById("ps-script");b.parentNode.replaceChild(a,b)};f.prototype.scriptLoadHandler=function(a,b){function c(){a=
a.onload=a.onreadystatechange=a.onerror=null;b()}var f=this.options.error;d(a,{onload:function(){c()},onreadystatechange:function(){/^(loaded|complete)$/.test(a.readyState)&&c()},onerror:function(){f({message:"remote script failed "+a.src});c()}})};f.prototype.shouldRelease=function(a){return!/^script$/i.test(a.nodeName)||!!(this.options.releaseAsync&&a.src&&a.hasAttribute("async"))};return f}(),n=function(){function b(){var a=r.shift();a&&(a.stream=c.apply(null,a))}function c(f,r,h){function n(a){a=
h.beforeWrite(a);k.write(a);h.afterWrite(a)}k=new z(f,h);k.id=g++;k.name=h.name||k.id;m.streams[k.name]=k;var p=f.ownerDocument,s={write:p.write,writeln:p.writeln,open:p.open,close:p.close};d(p,{write:function(){return n(l(arguments).join(""))},writeln:function(){return n(l(arguments).join("")+"\n")},open:function(){},close:function(){}});var t=k.win.onerror||a;k.win.onerror=function(a,b,c){h.error({msg:a,url:b,line:c});t.apply(k.win,arguments)};k.write(r,function(){d(p,s);k.win.onerror=t;h.done();
k=null;b()});return k}function m(c,d,e){"function"===typeof e&&(e={done:e});e=f(e,{releaseAsync:!1,afterAsync:a,done:a,error:function(a){throw a;},beforeWrite:function(a){return a},afterWrite:a});c=/^#/.test(c)?global.document.getElementById(c.substr(1)):c.jquery?c[0]:c;var g=[c,d,e];c.postscribe={cancel:function(){g.stream?g.stream.abort():g[1]=a}};r.push(g);k||b();return c.postscribe}var g=0,r=[],k=null;return d(m,{streams:{},queue:r,WriteStream:z})}();x.add=n})();/* postscribe.js 1.2.0 (c) Copyright 2012 to the present, Krux postscribe is freely distributable under the MIT license. For all details and documentation: http://krux.github.io/postscribe An html paser written in JavaScript Based on http://ejohn.org/blog/pure-javascript-html-parser/ */"undefined"==typeof d.getElementsByClassName&&
(d.getElementsByClassName=function(a){for(var b=[],c=d.all?d.all:d.getElementsByTagName("*"),e=j=0,f=c.length;e<f;e++)for(var l=c[e].className.split(/\s/),m=l.length-1;0<=m;m--)if(l[m]===a){b[j]=c[e];j++;break}return b});var E=function(a){return a.replace(/&(gt|lt|#039|quot|amp);/ig,function(a,c){if(/^gt$/i.test(c))return">";if(/^lt$/i.test(c))return"<";if(/^#039$/.test(c))return"'";if(/^quot$/i.test(c))return'"';if(/^amp$/i.test(c))return"&"})},t={img:function(a){var b=d.createElement("img");b.style.width=
1;b.style.height=1;b.style.display="none";b.src=a;d.body.appendChild(b)},iframe:function(a){var b=d.createElement("iframe");b.style.width=1;b.style.height=1;b.style.display="none";b.src=a;d.body.appendChild(b)},script_src:function(a){var b=d.getElementsByTagName("script")[0],c=d.createElement("script");c.async=!0;c.src=a;b.parentNode.insertBefore(c,b)},script:function(a){var b=d.getElementsByTagName("script")[0],c=d.createElement("script");c.async=!0;c.text=a;b.parentNode.insertBefore(c,b)},doc_write:function(a,
b){x.add(n,a,{beforeWrite:E,error:function(a){}})},exec_loaded:function(a){try{var b=a[0],c=eval("(function(){return "+a[1]+"})()"),e=d.getElementsByTagName("script")[0],f=d.createElement("script");f.async=!0;f.src=b;f.addEventListener?f.onload=function(){c()}:f.onreadystatechange=function(){if("loaded"==f.readyState||"complete"==f.readyState)f.onreadystatechange=null,c()};e.parentNode.insertBefore(f,e)}catch(l){}}},F={fwd_match:function(a,b){return 0==a.indexOf(b,0)},fwd_match_not:function(a,b){return 0!=
a.indexOf(b,0)},part_match:function(a,b){return-1!=a.indexOf(b)},part_match_not:function(a,b){return-1==a.indexOf(b)},last_match:function(a,b){return-1==a.lastIndexOf(b,a.length)?!1:a.length-b.length==a.lastIndexOf(b,a.length)},last_match_not:function(a,b){return-1==a.lastIndexOf(b,a.length)?!0:a.length-b.length!=a.lastIndexOf(b,a.length)},full_match:function(a,b){return a==b},full_match_not:function(a,b){return a!=b},regexp:function(a,b){return a.match(RegExp(b))},regexp_not:function(a,b){return!a.match(RegExp(b))}},
m=function(a,b,c){a.addEventListener?a.addEventListener(b,c,!1):a.attachEvent&&a.attachEvent("on"+b,c)},G=function(a){for(var b=0;a.length>b;b++)if(!F[a[b].op](a[b].tgt,a[b].rule))return!1;return!0},H={click:function(a,b){if(a.target_type)if("id"===a.target_type){var c=d.getElementById(a.name);c&&m(c,"click",b)}else if("class"===a.target_type)for(var c=d.getElementsByClassName(a.name),e=0;e<c.length;e++)m(c[e],"click",b);else"cssselector"===a.target_type&&(c=d.querySelector(a.name))&&m(c,"click",
b)},mouseover:function(a,b){if(a.target_type)if("id"===a.target_type){var c=d.getElementById(a.name);c&&m(c,"mouseover",b)}else if("class"===a.target_type)for(var c=d.getElementsByClassName(a.name),e=0;e<c.length;e++)m(c[e],"mouseover",b);else"cssselector"===a.target_type&&(c=d.querySelector(a.name))&&m(c,"mouseover",b)},scroll:function(a,b){m(l,"scroll",function(){var c=("undefined"!==typeof l.innerHeight?l.innerHeight:d.documentElement.clientHeight)+("undefined"!==typeof l.pageYOffset?l.pageYOffset:
d.documentElement.scrollTop),e=Math.max.apply(null,[d.body.clientHeight,d.body.scrollHeight,d.documentElement.scrollHeight,d.documentElement.clientHeight]);100*(c/e)>=a.ratio&&b()})},duration:function(a,b){if(a.time)var c=0,d=l.setInterval(function(){w.isWindowInactive()||(c+=500,c>=1E3*a.time&&(b(),l.clearInterval(d)))},500)}},I=function(a){for(var b=0;a.rules.length>b;b++)if(a.rules[b]){var c=a.rules[b];if(G(c.details)){if(c.up)for(var d in c.up)"exec_loaded"===a.type?a.src[1]=a.src[1].replace(RegExp("{{{"+
d+"}}}","g"),c.up[d]):a.src=a.src.replace(RegExp("{{{"+d+"}}}","g"),c.up[d]);if(c.st)if(c.event){var f=1;H[c.event.type](c.event.attrs,function(){1>=f&&(t[a.type](a.src),f++)})}else t[a.type](a.src);break}}},v=function(a){a={u:4071,v:1,r:D,t:(new Date).getTime()-C.getTime()};var b=[],c;for(c in a)b.push(c+"="+encodeURIComponent(a[c]));t.img("//aw.dw.impact-ad.jp/ut/rep?"+b.join("&"))};l.addEventListener?l.addEventListener("load",v,!1):window.attachEvent?l.attachEvent("onload",v):l.onload=v;!function(a,
b,c,d){if(!a.a1tracker){var f=a.a1tracker={};f.VERSION="v0.3.0";f.queue=f.queue||[];for(a=0;a<c.length;a++)d=c[a],f[d]=f[d]||function(a){return function(){for(var b=arguments.length,c=Array(b),d=0;d<b;d++)c[d]=arguments[d];f.queue.push({name:a,arguments:c.slice()})}}(d);c=b.createElement("script");b=b.getElementsByTagName("script")[0];c.async=!0;c.src="//img.ak.impact-ad.jp/ut/a1/tracking.min.js";b.parentNode.insertBefore(c,b)}}(window,document,"ready send sendEvent setParams initParams sendCustomerId getSegments getUserId".split(" "));
var n,A=!1,s=function(){A||(A=!0,n=d.createElement("div"),n.style.visibility="hidden",n.style.display="none",n.id="itm_4071",d.body.appendChild(n),I({id:"36495",type:"script",src:'window.a1tracker&&a1tracker.ready(function(tracker){var doh="47c9d2583fadf098";if(!doh)return;var params={"event":"","url":"","referrer":"","metakeywords":"","callback":""};if(params.url)tracker.setParams(doh,"url",params.url);if(params.referrer)tracker.setParams(doh,"referrer",params.referrer);if(params.metakeywords){var mk=tracker.getParams(doh,"metakeywords");Array.prototype.push.apply(mk,params.metakeywords.split(","));tracker.setParams(doh,"metakeywords",mk)}tracker.setParams(doh,"tagsource","itm_a1common");var callback=params.callback&&typeof window[params.callback]==="function"?function(err,data){if(!err&&data.segments.length>0)window[params.callback](data.segments);return}:function(){};if(params.event)tracker.send(doh,params.event.split(","),callback);else tracker.send(doh,callback)});',
rules:[{details:[{tgt:w.getUrl(),rule:".*",op:"regexp"}],st:1,up:{},event:!1}]}))};if("interactive"==d.readyState||"complete"==d.readyState)s();else if(d.addEventListener)d.addEventListener("readystatechange",function(){"interactive"!=d.readyState&&"complete"!=d.readyState||s()},!1),d.addEventListener("DOMContentLoaded",function(){s()},!1);else{d.attachEvent("onreadystatechange",function(){"interactive"!=d.readyState&&"complete"!=d.readyState||s()});var B=function(){try{d.documentElement.doScroll("left"),
s()}catch(a){l.setTimeout(B,50)}};B()}})();