!function(){function r(n,t,i){var u=new Date,f=i?u.getTime()+864e5*i:u.getTime(),r=[];u.setTime(f);r.push(n);r.push("=");r.push(t);r.push(i?"; expires="+u.toGMTString():"");r.push("; path=/");document.cookie=r.join("")}function t(n){for(var r=n+"=",u=document.cookie.split(";"),e=u.length,t="",f=null,i=e-1;i>=0;i--){for(t=u[i];" "===t.charAt(0);)t=t.slice(1);if(0===t.indexOf(r)){f=t.slice(r.length);break}}return f}function f(n){n&&r(n,"",-1)}var e,u,n;!function(t){function s(n,t){var f,c,e,o,i,s,l,u=t&&t.split("/"),h=r.map,a=h&&h["*"]||{};if(n&&"."===n.charAt(0)&&t){for(u=u.slice(0,u.length-1),n=u.concat(n.split("/")),i=0;l=n[i];i++)if("."===l)n.splice(i,1),i-=1;else if(".."===l){if(1===i&&(".."===n[2]||".."===n[0]))return!0;i>0&&(n.splice(i-1,2),i-=2)}n=n.join("/")}if((u||a)&&h)for(f=n.split("/"),i=f.length;i>0;i-=1){if(c=f.slice(0,i).join("/"),u)for(s=u.length;s>0;s-=1)if(e=h[u.slice(0,s).join("/")],e&&(e=e[c])){o=e;break}if(o=o||a[c]){f.splice(0,i,o);n=f.join("/");break}}return n}function l(n,i){return function(){return f.apply(t,b.call(arguments,0).concat([n,i]))}}function y(n){return function(t){return s(t,n)}}function p(n){return function(t){i[n]=t}}function c(n){if(o.hasOwnProperty(n)){var r=o[n];delete o[n];v[n]=!0;h.apply(t,r)}if(!i.hasOwnProperty(n))throw new Error("No "+n);return i[n]}function a(n,t){var r,i,u=n.indexOf("!");return-1!==u?(r=s(n.slice(0,u),t),n=n.slice(u+1),i=c(r),n=i&&i.normalize?i.normalize(n,y(t)):s(n,t)):n=s(n,t),{f:r?r+"!"+n:n,n:n,p:i}}function w(n){return function(){return r&&r.config&&r.config[n]||{}}}var h,f,i={},o={},r={},v={},b=[].slice;h=function(n,r,u,f){var d,y,e,k,b,s,h=[];if(f=f||n,"function"==typeof u){for(r=!r.length&&u.length?["require","exports","module"]:r,s=0;s<r.length;s++)if(b=a(r[s],f),e=b.f,"require"===e)h[s]=l(n);else if("exports"===e)h[s]=i[n]={},d=!0;else if("module"===e)y=h[s]={id:n,uri:"",exports:i[n],config:w(n)};else if(i.hasOwnProperty(e)||o.hasOwnProperty(e))h[s]=c(e);else if(b.p)b.p.load(b.n,l(f,!0),p(e),{}),h[s]=i[e];else if(!v[e])throw new Error(n+" missing "+e);k=u.apply(i[n],h);n&&(y&&y.exports!==t&&y.exports!==i[n]?i[n]=y.exports:k===t&&d||(i[n]=k))}else n&&(i[n]=u)};e=u=f=function(n,i,u,e){return"string"==typeof n?c(a(n,i).f):(n.splice||(r=n,i.splice?(n=i,i=u,u=null):n=t),i=i||function(){},e?h(t,n,i,u):setTimeout(function(){h(t,n,i,u)},15),f)};f.config=function(n){return r=n,f};n=function(n,t,i){t.splice||(i=t,t=[]);o[n]=[n,t,i]};n.amd={jQuery:!0}}();n("../vendor/almond",function(){});"object"!=typeof JSON&&(JSON={}),function(){function i(n){return 10>n?"0"+n:n}function f(n){return o.lastIndex=0,o.test(n)?'"'+n.replace(o,function(n){var t=s[n];return"string"==typeof t?t:"\\u"+("0000"+n.charCodeAt(0).toString(16)).slice(-4)})+'"':'"'+n+'"'}function r(i,e){var s,l,h,a,c,v=n,o=e[i];switch(o&&"object"==typeof o&&"function"==typeof o.toJSON&&(o=o.toJSON(i)),"function"==typeof t&&(o=t.call(e,i,o)),typeof o){case"string":return f(o);case"number":return isFinite(o)?String(o):"null";case"boolean":case"null":return String(o);case"object":if(!o)return"null";if(n+=u,c=[],"[object Array]"===Object.prototype.toString.apply(o)){for(a=o.length,s=0;a>s;s+=1)c[s]=r(s,o)||"null";return h=0===c.length?"[]":n?"[\n"+n+c.join(",\n"+n)+"\n"+v+"]":"["+c.join(",")+"]",n=v,h}if(t&&"object"==typeof t)for(a=t.length,s=0;a>s;s+=1)"string"==typeof t[s]&&(l=t[s],h=r(l,o),h&&c.push(f(l)+(n?": ":":")+h));else for(l in o)Object.prototype.hasOwnProperty.call(o,l)&&(h=r(l,o),h&&c.push(f(l)+(n?": ":":")+h));return h=0===c.length?"{}":n?"{\n"+n+c.join(",\n"+n)+"\n"+v+"}":"{"+c.join(",")+"}",n=v,h}}"function"!=typeof Date.prototype.toJSON&&(Date.prototype.toJSON=function(){return isFinite(this.valueOf())?this.getUTCFullYear()+"-"+i(this.getUTCMonth()+1)+"-"+i(this.getUTCDate())+"T"+i(this.getUTCHours())+":"+i(this.getUTCMinutes())+":"+i(this.getUTCSeconds())+"Z":null},String.prototype.toJSON=Number.prototype.toJSON=Boolean.prototype.toJSON=function(){return this.valueOf()});var e=/[\u0000\u00ad\u0600-\u0604\u070f\u17b4\u17b5\u200c-\u200f\u2028-\u202f\u2060-\u206f\ufeff\ufff0-\uffff]/g,o=/[\\\"\x00-\x1f\x7f-\x9f\u00ad\u0600-\u0604\u070f\u17b4\u17b5\u200c-\u200f\u2028-\u202f\u2060-\u206f\ufeff\ufff0-\uffff]/g,n,u,s={"\b":"\\b","\t":"\\t","\n":"\\n","\f":"\\f","\r":"\\r",'"':'\\"',"\\":"\\\\"},t;"function"!=typeof JSON.stringify&&(JSON.stringify=function(i,f,e){var o;if(n="",u="","number"==typeof e)for(o=0;e>o;o+=1)u+=" ";else"string"==typeof e&&(u=e);if(t=f,!f||"function"==typeof f||"object"==typeof f&&"number"==typeof f.length)return r("",{"":i});throw new Error("JSON.stringify");});"function"!=typeof JSON.parse&&(JSON.parse=function(text,reviver){function walk(n,t){var r,u,i=n[t];if(i&&"object"==typeof i)for(r in i)Object.prototype.hasOwnProperty.call(i,r)&&(u=walk(i,r),void 0!==u?i[r]=u:delete i[r]);return reviver.call(n,t,i)}var j;if(text=String(text),e.lastIndex=0,e.test(text)&&(text=text.replace(e,function(n){return"\\u"+("0000"+n.charCodeAt(0).toString(16)).slice(-4)})),/^[\],:{}\s]*$/.test(text.replace(/\\(?:["\\\/bfnrt]|u[0-9a-fA-F]{4})/g,"@").replace(/"[^"\\\n\r]*"|true|false|null|-?\d+(?:\.\d*)?(?:[eE][+\-]?\d+)?/g,"]").replace(/(?:^|:|,)(?:\s*\[)+/g,"")))return j=eval("("+text+")"),"function"==typeof reviver?walk({"":j},""):j;throw new SyntaxError("JSON.parse");})}();n("../vendor/json2",function(){});n("../src/bootstrap",[],function(){var n=function(n,t){for(var u=t.split("."),r=n,f=u.length,i=0;f>i;i++)"undefined"==typeof r[u[i]]&&(r[u[i]]={}),r=r[u[i]];return r},t;return"undefined"==typeof BKTAG&&n(window,"BKTAG"),BKTAG.ns=n,t={createFrame:function(n){var t=document.createElement("iframe");return t.setAttribute("name",n),t.setAttribute("id",n),t.setAttribute("title","bk"),t.style.border="0px",t.style.width="0px",t.style.height="0px","function"==typeof bk_frameLoad&&(t.onload=bk_frameLoad),t.src="javascript:void(0)",t},checkFrame:function(n){var i="__bkframe",u,r;("undefined"==typeof frames[i]||"undefined"==typeof document.getElementById(i))&&(u=t.createFrame(i),r=document.getElementsByTagName("body")[0],r&&r.appendChild(u));"function"==typeof n&&n()}}});n("../vendor/htmlparser",[],function(){var t=function(n){for(var i={},r=n.split(","),t=0;t<r.length;t++)i[r[t]]=!0;return i},n={leftTrim:function(n){return n.replace(/^\s+/,"")},startTag:/^<(\w+)((?:\s+\w+(?:\s*=\s*(?:(?:"[^"]*")|(?:'[^']*')|[^>\s]+))?)*)\s*(\/?)>/,endTag:/^<\/(\w+)[^>]*>/,attr:/(\w+)(?:\s*=\s*(?:(?:"((?:\\.|[^"])*)")|(?:'((?:\\.|[^'])*)')|([^>\s]+)))?/g,empty:t("area,base,basefont,br,col,frame,hr,img,input,isindex,link,meta,param,embed"),block:t("address,applet,blockquote,button,center,dd,del,dir,div,dl,dt,fieldset,form,frameset,hr,iframe,ins,isindex,li,map,menu,noframes,noscript,NOSCRIPT,object,ol,p,pre,script,SCRIPT,table,tbody,td,tfoot,th,thead,tr,ul"),inline:t("a,abbr,acronym,applet,b,basefont,bdo,big,br,button,cite,code,del,dfn,em,font,i,iframe,img,input,ins,kbd,label,map,object,q,s,samp,script,SCRIPT,select,small,span,strike,strong,sub,sup,textarea,tt,u,var"),closeSelf:t("colgroup,dd,dt,li,options,p,td,tfoot,th,thead,tr"),fillAttrs:t("checked,compact,declare,defer,disabled,ismap,multiple,nohref,noresize,noshade,nowrap,readonly,selected"),special:t("script,SCRIPT,style"),one:t("html,head,body,title"),structure:{link:"head",base:"head"},htmlParser:function(t,i){function a(t,u,f,o){if(n.block[u])for(;r.last()&&n.inline[r.last()];)e("",r.last());if(n.closeSelf[u]&&r.last()==u&&e("",u),o=n.empty[u]||!!o,o||r.push(u),i.start){var s=[];f.replace(n.attr,function(t,i){var r=arguments[2]?arguments[2]:arguments[3]?arguments[3]:arguments[4]?arguments[4]:n.fillAttrs[i]?i:"";s.push({name:i,value:r,escaped:r.replace(/(^|[^\\])"/g,'$1\\"')})});i.start&&i.start(u,s,o)}}function e(n,t){var u,f;if(t)for(u=r.length-1;u>=0&&r[u]!=t;u--);else u=0;if(u>=0){for(f=r.length-1;f>=u;f--)i.end&&i.end(r[f]);r.length=u}}var u,o,f,r=[],h=t,l;for(r.last=function(){return this[this.length-1]};t;){if(o=!0,t=n.leftTrim(t),r.last()&&n.special[r.last()]){var c=new RegExp("<\/"+r.last()+">","i"),u=t.search(c),s=t.substring(0,u);s.length>0&&(i.chars&&i.chars(s),t=t.replace(s,""));t=t.replace(c,"");e("",r.last())}else(0==t.indexOf("<!--")?(u=t.indexOf("-->"),u>=0&&(i.comment&&i.comment(t.substring(4,u)),t=t.substring(u+3),o=!1)):0==t.indexOf("<\/")?(f=t.match(n.endTag),f&&(t=t.substring(f[0].length),f[0].replace(n.endTag,e),o=!1)):0==t.indexOf("<")&&(f=t.match(n.startTag),f&&(t=t.substring(f[0].length),f[0].replace(n.startTag,a),o=!1)),o)&&(u=t.indexOf("<"),l=0>u?t:t.substring(0,u),t=0>u?"":t.substring(u),i.chars&&i.chars(l));if(t==h)throw"Parse Error: "+t;h=t}e()},htmlToDom:function(t,i){var u=[],e=i.documentElement||i.getOwnerDocument&&i.getOwnerDocument()||i,f,r;if(!e&&i.createElement&&function(){var n=i.createElement("html"),t=i.createElement("head");t.appendChild(i.createElement("title"));n.appendChild(t);n.appendChild(i.createElement("body"));i.appendChild(n)}(),i.getElementsByTagName)for(f in n.one)n.one[f]=i.getElementsByTagName(f)[0];r=n.one.body;n.htmlParser(t,{start:function(t,f,e){if(n.one[t])return void(r=n.one[t]);for(var o=i.createElement(t),s=0;s<f.length;s++)o.setAttribute(f[s].name,f[s].value);n.structure[t]&&"boolean"!=typeof _one[n.structure[t]]?n.one[n.structure[t]].appendChild(o):r&&r.appendChild&&(window.addEventListener||"NOSCRIPT"!=r.tagName)&&r.appendChild(o);e||(u.push(o),r=o)},end:function(){u.length-=1;r=u.length>0?u[u.length-1]:n.one.body},chars:function(n){if(window.addEventListener){var t=i.createTextNode(n);r.appendChild(t)}else r.text=n},comment:function(){}})}};return n});n("../src/utils",["../src/bootstrap","../vendor/htmlparser"],function(n,t){var i={getKwds:function(){for(var t=document.getElementsByTagName("meta"),i=[],r=t.length,n=0;r>n;n++)t[n].name&&"keywords"===t[n].name.toLowerCase()&&""!==t[n].content&&i.push(t[n].content);return i.join(",")},getMeta:function(n){for(var t,r=document.getElementsByTagName("meta"),u=r.length,i=0;u>i;i++)if(t=r[i],t.name.toLowerCase()===n.toLowerCase()&&""!==t.content)return t.content;return null},scriptWithOnload:function(n,t){var i=document.createElement("script");return i.src=n,i.onloadDone=!1,i.onload=function(){i.onloadDone||(i.onloadDone=!0,"function"==typeof t&&t())},i.onreadystatechange=function(){"loaded"!==i.readyState&&"complete"!==i.readyState||i.onloadDone||(i.onloadDone=!0,"function"==typeof t&&t())},i},isMobile:function(){var n=!1,t=["Mobile","Tablet","Handheld","Android","iPhone","Kindle","Silk","Nokia","Symbian","BlackBerry"],i;for(i in t)if(-1!==navigator.userAgent.indexOf(t[i])){n=!0;break}return n},isDebug:function(){var n=!1;return"undefined"!=typeof window.location&&"undefined"!=typeof window.location.search&&-1!==window.location.search.indexOf("debug=1")&&(n=!0),n},addEvent:function(n,t,i){n.addEventListener?n.addEventListener(t,i,!1):n.attachEvent("on"+t,function(t){return i.call(n,t)})},normalizeEmail:function(n){var r=[],t=[],i=n;try{i=n.trim().toLowerCase();r=i.split("@");t=r[0];t.indexOf("+")>-1&&(t=t.substr(0,t.indexOf("+")));i=t+"@"+r[1]}catch(u){}return i},normalizePhone:function(n){var t=n;try{t=t.trim().replace(/^[0]+/g,"").replace(/\D/g,"")}catch(i){}return t}};return window.BKTAG.htmlToDom=t.htmlToDom,window.BKTAG.util=i,i});n("../vendor/cookies",function(){});var i={java:function(n){for(var t=0,i=0;i<n.length;i++)t=31*t+n.charCodeAt(i)<<0;return t},javaHex:function(n){return Math.abs(i.java(n)).toString(16)}},o={1:"dtzpmk".split("")},s={indexed_comma:function(n){for(var i,r=[n],u=o[n],t=0;t<u.length;t++)i=h[u[t]][0],r.push(encodeURIComponent(i?i:""));return r.join(",")}},h={a:[navigator.userAgent,"userAgent"],e:[function(){return i.javaHex(navigator.userAgent)}(),"userAgent hashed"],d:[[screen.width,screen.height,screen.colorDepth].join(""),"Screen concat"],t:[(new Date).getTime(),"Time"],z:[(new Date).getTimezoneOffset(),"Timezone"],n:[function(){var n,t;for(n in navigator)return t=[],"string"==typeof navigator[n]&&t.push(navigator[n]),t.join("")}(),"Navigator"],p:[function(){for(var t=[],n=0,r=navigator.plugins;n<r.length;n++)t.push(r[n].name);return i.javaHex(t.join(","))}(),"Plugins hashed"],pv:[function(){for(var t,i=0,n=0,r=navigator.plugins;n<r.length;n++)t=r[n].description.match(/\d+(.\d+){1,3}/),t&&(i+=t[0]);return i}(),"Plugin version concat"],m:[function(){for(var t=[],n=0,r=navigator.mimeTypes;n<r.length;n++)t.push(r[n].description);return i.javaHex(t.join(","))}(),"mimeTypes hashed"],l:[navigator.language,"language"],k:[navigator.cookieEnabled?1:0,"cookies"],ps:[navigator.productSub,"productSub"],u:[navigator.cpuClass,"cpuClass"],g:[navigator.browserLanguage,"browserLanguage"],s:[document.defaultCharset,"charset"]},c={collect:function(n,t){var i=n||"indexed_comma",r=t||1;return s[i](r)}};n("../vendor/numis",function(){});n("../vendor/md5",[],function(){function a(n){return y(v(p(n)))}function v(n){return c(f(o(n),8*n.length))}function y(n){try{}catch(f){s=0}for(var t,r=s?"0123456789ABCDEF":"0123456789abcdef",u="",i=0;i<n.length;i++)t=n.charCodeAt(i),u+=r.charAt(t>>>4&15)+r.charAt(15&t);return u}function p(n){for(var t,u,i="",r=-1;++r<n.length;)t=n.charCodeAt(r),u=r+1<n.length?n.charCodeAt(r+1):0,t>=55296&&56319>=t&&u>=56320&&57343>=u&&(t=65536+((1023&t)<<10)+(1023&u),r++),127>=t?i+=String.fromCharCode(t):2047>=t?i+=String.fromCharCode(192|t>>>6&31,128|63&t):65535>=t?i+=String.fromCharCode(224|t>>>12&15,128|t>>>6&63,128|63&t):2097151>=t&&(i+=String.fromCharCode(240|t>>>18&7,128|t>>>12&63,128|t>>>6&63,128|63&t));return i}function o(n){for(var i=Array(n.length>>2),t=0;t<i.length;t++)i[t]=0;for(t=0;t<8*n.length;t+=8)i[t>>5]|=(255&n.charCodeAt(t/8))<<t%32;return i}function c(n){for(var i="",t=0;t<32*n.length;t+=8)i+=String.fromCharCode(n[t>>5]>>>t%32&255);return i}function f(f,e){f[e>>5]|=128<<e%32;f[(e+64>>>9<<4)+14]=e;for(var o=1732584193,s=-271733879,h=-1732584194,c=271733878,l=0;l<f.length;l+=16){var a=o,v=s,y=h,p=c;o=n(o,s,h,c,f[l+0],7,-680876936);c=n(c,o,s,h,f[l+1],12,-389564586);h=n(h,c,o,s,f[l+2],17,606105819);s=n(s,h,c,o,f[l+3],22,-1044525330);o=n(o,s,h,c,f[l+4],7,-176418897);c=n(c,o,s,h,f[l+5],12,1200080426);h=n(h,c,o,s,f[l+6],17,-1473231341);s=n(s,h,c,o,f[l+7],22,-45705983);o=n(o,s,h,c,f[l+8],7,1770035416);c=n(c,o,s,h,f[l+9],12,-1958414417);h=n(h,c,o,s,f[l+10],17,-42063);s=n(s,h,c,o,f[l+11],22,-1990404162);o=n(o,s,h,c,f[l+12],7,1804603682);c=n(c,o,s,h,f[l+13],12,-40341101);h=n(h,c,o,s,f[l+14],17,-1502002290);s=n(s,h,c,o,f[l+15],22,1236535329);o=t(o,s,h,c,f[l+1],5,-165796510);c=t(c,o,s,h,f[l+6],9,-1069501632);h=t(h,c,o,s,f[l+11],14,643717713);s=t(s,h,c,o,f[l+0],20,-373897302);o=t(o,s,h,c,f[l+5],5,-701558691);c=t(c,o,s,h,f[l+10],9,38016083);h=t(h,c,o,s,f[l+15],14,-660478335);s=t(s,h,c,o,f[l+4],20,-405537848);o=t(o,s,h,c,f[l+9],5,568446438);c=t(c,o,s,h,f[l+14],9,-1019803690);h=t(h,c,o,s,f[l+3],14,-187363961);s=t(s,h,c,o,f[l+8],20,1163531501);o=t(o,s,h,c,f[l+13],5,-1444681467);c=t(c,o,s,h,f[l+2],9,-51403784);h=t(h,c,o,s,f[l+7],14,1735328473);s=t(s,h,c,o,f[l+12],20,-1926607734);o=i(o,s,h,c,f[l+5],4,-378558);c=i(c,o,s,h,f[l+8],11,-2022574463);h=i(h,c,o,s,f[l+11],16,1839030562);s=i(s,h,c,o,f[l+14],23,-35309556);o=i(o,s,h,c,f[l+1],4,-1530992060);c=i(c,o,s,h,f[l+4],11,1272893353);h=i(h,c,o,s,f[l+7],16,-155497632);s=i(s,h,c,o,f[l+10],23,-1094730640);o=i(o,s,h,c,f[l+13],4,681279174);c=i(c,o,s,h,f[l+0],11,-358537222);h=i(h,c,o,s,f[l+3],16,-722521979);s=i(s,h,c,o,f[l+6],23,76029189);o=i(o,s,h,c,f[l+9],4,-640364487);c=i(c,o,s,h,f[l+12],11,-421815835);h=i(h,c,o,s,f[l+15],16,530742520);s=i(s,h,c,o,f[l+2],23,-995338651);o=r(o,s,h,c,f[l+0],6,-198630844);c=r(c,o,s,h,f[l+7],10,1126891415);h=r(h,c,o,s,f[l+14],15,-1416354905);s=r(s,h,c,o,f[l+5],21,-57434055);o=r(o,s,h,c,f[l+12],6,1700485571);c=r(c,o,s,h,f[l+3],10,-1894986606);h=r(h,c,o,s,f[l+10],15,-1051523);s=r(s,h,c,o,f[l+1],21,-2054922799);o=r(o,s,h,c,f[l+8],6,1873313359);c=r(c,o,s,h,f[l+15],10,-30611744);h=r(h,c,o,s,f[l+6],15,-1560198380);s=r(s,h,c,o,f[l+13],21,1309151649);o=r(o,s,h,c,f[l+4],6,-145523070);c=r(c,o,s,h,f[l+11],10,-1120210379);h=r(h,c,o,s,f[l+2],15,718787259);s=r(s,h,c,o,f[l+9],21,-343485551);o=u(o,a);s=u(s,v);h=u(h,y);c=u(c,p)}return Array(o,s,h,c)}function e(n,t,i,r,f,e){return u(w(u(u(t,n),u(r,e)),f),i)}function n(n,t,i,r,u,f,o){return e(t&i|~t&r,n,t,u,f,o)}function t(n,t,i,r,u,f,o){return e(t&r|i&~r,n,t,u,f,o)}function i(n,t,i,r,u,f,o){return e(t^i^r,n,t,u,f,o)}function r(n,t,i,r,u,f,o){return e(i^(t|~r),n,t,u,f,o)}function u(n,t){var i=(65535&n)+(65535&t),r=(n>>16)+(t>>16)+(i>>16);return r<<16|65535&i}function w(n,t){return n<<t|n>>>32-t}var l={},s,h;return l.hex_md5=a,s=0,h="",l});n("../vendor/sha256",[],function(){function h(n){return l(c(a(n)))}function c(n){return u(i(r(n),8*n.length))}function l(n){try{}catch(f){o=0}for(var t,r=o?"0123456789ABCDEF":"0123456789abcdef",u="",i=0;i<n.length;i++)t=n.charCodeAt(i),u+=r.charAt(t>>>4&15)+r.charAt(15&t);return u}function a(n){for(var t,u,i="",r=-1;++r<n.length;)t=n.charCodeAt(r),u=r+1<n.length?n.charCodeAt(r+1):0,t>=55296&&56319>=t&&u>=56320&&57343>=u&&(t=65536+((1023&t)<<10)+(1023&u),r++),127>=t?i+=String.fromCharCode(t):2047>=t?i+=String.fromCharCode(192|t>>>6&31,128|63&t):65535>=t?i+=String.fromCharCode(224|t>>>12&15,128|t>>>6&63,128|63&t):2097151>=t&&(i+=String.fromCharCode(240|t>>>18&7,128|t>>>12&63,128|t>>>6&63,128|63&t));return i}function r(n){for(var i=Array(n.length>>2),t=0;t<i.length;t++)i[t]=0;for(t=0;t<8*n.length;t+=8)i[t>>5]|=(255&n.charCodeAt(t/8))<<24-t%32;return i}function u(n){for(var i="",t=0;t<32*n.length;t+=8)i+=String.fromCharCode(n[t>>5]>>>24-t%32&255);return i}function t(n,t){return n>>>t|n<<32-t}function f(n,t){return n>>>t}function v(n,t,i){return n&t^~n&i}function y(n,t,i){return n&t^n&i^t&i}function p(n){return t(n,2)^t(n,13)^t(n,22)}function w(n){return t(n,6)^t(n,11)^t(n,25)}function b(n){return t(n,7)^t(n,18)^f(n,3)}function k(n){return t(n,17)^t(n,19)^f(n,10)}function i(t,i){var f,s,h,a,e,c,l,g,nt,u,tt,it,r=[1779033703,-1150833019,1013904242,-1521486534,1359893119,-1694144372,528734635,1541459225],o=new Array(64);for(t[i>>5]|=128<<24-i%32,t[(i+64>>9<<4)+15]=i,nt=0;nt<t.length;nt+=16){for(f=r[0],s=r[1],h=r[2],a=r[3],e=r[4],c=r[5],l=r[6],g=r[7],u=0;64>u;u++)o[u]=16>u?t[u+nt]:n(n(n(k(o[u-2]),o[u-7]),b(o[u-15])),o[u-16]),tt=n(n(n(n(g,w(e)),v(e,c,l)),d[u]),o[u]),it=n(p(f),y(f,s,h)),g=l,l=c,c=e,e=n(a,tt),a=h,h=s,s=f,f=n(tt,it);r[0]=n(f,r[0]);r[1]=n(s,r[1]);r[2]=n(h,r[2]);r[3]=n(a,r[3]);r[4]=n(e,r[4]);r[5]=n(c,r[5]);r[6]=n(l,r[6]);r[7]=n(g,r[7])}return r}function n(n,t){var i=(65535&n)+(65535&t),r=(n>>16)+(t>>16)+(i>>16);return r<<16|65535&i}var e={};e.hex_sha256=h;var o=0,s="",d=[1116352408,1899447441,-1245643825,-373957723,961987163,1508970993,-1841331548,-1424204075,-670586216,310598401,607225278,1426881987,1925078388,-2132889090,-1680079193,-1046744716,-459576895,-272742522,264347078,604807628,770255983,1249150122,1555081692,1996064986,-1740746414,-1473132947,-1341970488,-1084653625,-958395405,-710438585,113926993,338241895,666307205,773529912,1294757372,1396182291,1695183700,1986661051,-2117940946,-1838011259,-1564481375,-1474664885,-1035236496,-949202525,-778901479,-694614492,-200395387,275423344,430227734,506948616,659060556,883997877,958139571,1322822218,1537002063,1747873779,1955562222,2024104815,-2067236844,-1933114872,-1866530822,-1538233109,-1090935817,-965641998];return e});n("../src/core",["../src/bootstrap","../src/utils","../vendor/cookies","../vendor/numis","../vendor/md5","../vendor/sha256"],function(n,i,u,e,o,s){var l=[],a=!1,c={site:"site_id",limit:"pixel_limit",excludeBkParams:"ignore_meta",excludeTitle:"exclude_title",excludeKeywords:"exclude_keywords",excludeReferrer:"exclude_referrer",excludeLocation:"exclude_location",partnerID:"partner_id",allowMultipleCalls:"allow_multiple_calls",suppressMultipleCalls:"suppress_multiple_calls",callback:"callback",useImage:"use_image",useMultipleIframes:"use_multiple_iframes",allData:"all_data",timeOut:"timeout",ignoreOutsideIframe:"ignore_outside_iframe",eventScheduling:"event_scheduling",suppressEventScheduling:"suppress_event_scheduling",suppressCacheBusting:"suppress_cache_busting",pixelUrl:"pixel_url",pixelSecure:"pixel_secure",useFirstParty:"use_first_party",suppressFirstParty:"suppress_first_party",sendStatidPayload:"send_statid_payload",suppressStatidPayload:"suppress_statid_payload",metaVars:"meta_vars",jsList:"js_list",paramList:"param_list",useMobile:"use_mobile",disableMobile:"disable_mobile",isDebug:"is_debug",limitGetLength:"limit_get_length"},h={readCookie:t,createCookie:r,eraseCookie:f,_dest:null,addParam:function(n,t,i){return"undefined"!=typeof varMap&&varMap[t]&&(t=varMap[t]),l.push("undefined"!=typeof i?n+"="+encodeURIComponent(t+"="+i):n+"="+t),BKTAG},addBkParam:function(n,t){if("string"==typeof n&&"string"==typeof t)h.addParam("phint","__bk_"+n,t);else for(var i in n)n.hasOwnProperty(i)&&"string"==typeof n[i]&&h.addParam("phint","__bk_"+i,n[i]);return BKTAG},addHash:function(n,t,i){return h.addParam("phint",n,i&&""!==i?o.hex_md5(i):""),h.addParam("phint",t,i&&""!==i?s.hex_sha256(i):""),BKTAG},addEmailHash:function(n){return n?"string"!=typeof n&&(n=n.toString()):n="",n=BKTAG.util.normalizeEmail(n),h.addHash("e_id_m","e_id_s",n)},addPhoneHash:function(n){return n?"string"!=typeof n&&(n=n.toString()):n="",n=BKTAG.util.normalizePhone(n),h.addHash("p_id_m","p_id_s",n)},_reset:function(){var n,t;a=!1;l=[];for(n in c)if(c.hasOwnProperty(n)){t="bk_"+c[n];window[t]=void 0;try{delete window[t]}catch(i){}}return BKTAG},params:function(){return l},getGlobals:function(n){var r,i,t;if(n.length)for(r=0;r<n.length;r++)i=n[r],"undefined"!=typeof window[i]&&""!==i&&""!==window[i]&&bk_addPageCtx(i,window[i]);else for(t in n)n.hasOwnProperty(t)&&"string"==typeof t&&("string"==typeof n[t]||"number"==typeof n[t]||"boolean"==typeof n[t])&&bk_addPageCtx(t,n[t])},doTag:function(u,f,o,s,v,y,p,w,b){var k={site:u,limit:f,excludeBkParams:o,partnerID:s,allowMultipleCalls:v,callback:y,allData:p,timeOut:w,ignoreOutsideIframe:b},g,nt,ft,st,tt,et,rt,ct,ot,it,ut;for(g in c)c.hasOwnProperty(g)&&"undefined"!=typeof window["bk_"+c[g]]&&(k[g]=window["bk_"+c[g]]);if("object"==typeof u)for(nt in c)c.hasOwnProperty(nt)&&"undefined"!=typeof u[c[nt]]&&(k[nt]=u[c[nt]]);if(!(k.suppressMultipleCalls===!0||"undefined"!=typeof a&&a&&k.allowMultipleCalls!==!0)){if(a=!0,void 0===k.timeOut&&(k.timeOut=1e3),l.unshift("ret="+(k.callback?"js":"html")),ft="undefined"!=typeof k.partnerID&&null!==k.partnerID,ft&&l.unshift("partner="+encodeURIComponent(k.partnerID)),st={2607:1,2834:1,2894:1,3316:1,3317:1,3318:1,3319:1,3321:1,3322:1,3323:1,3324:1,3325:1,3326:1,3327:1,3328:1,3329:1,3330:1,3331:1,3332:1,3333:1,3334:1,3338:1,3339:1,3340:1,3341:1,3344:1,3345:1,3346:1,3348:1},!k.excludeBkParams&&!k.excludeTitle&&""!==document.title&&h.addBkParam("t",document.title),!k.excludeBkParams&&!k.excludeKeywords&&h.addBkParam("k",i.getKwds()),!k.excludeBkParams&&!k.excludeReferrer&&"referrer"in document&&""!==document.referrer&&h.addBkParam("pr",document.referrer),!k.excludeBkParams&&!k.excludeLocation&&h.addBkParam("l",window.location.toString()),k.callback?h.addParam("jscb",encodeURIComponent(k.callback)):"undefined"!=typeof k.limit&&h.addParam("limit",encodeURIComponent(k.limit)),k.allData===!0&&h.addParam("data","all"),k.disableMobile!==!0&&k.suppressStatidPayload!==!0&&(i.isMobile()||k.sendStatidPayload)&&"undefined"!=typeof e&&h.addParam("bknms",e.collect()),k.suppressEventScheduling!==!0&&k.eventScheduling===!0&&i.addEvent("message",function(n){var u,i,f;if("http://tags.bluekai.com"===n.origin){var r=document.getElementById("__bkframe"),e=function(n){return function(){r.contentWindow.postMessage(JSON.stringify({event:n}),"*");r.contentWindow.postMessage(JSON.stringify({schedule:"run"}),"*")}},t=JSON.parse(n.data);if(t.status&&"loaded"===t.status&&r.contentWindow.postMessage(JSON.stringify({get:"events"}),"*"),t.scheduled){u=JSON.parse(t.scheduled);for(i in u)f="window"===u[i]?window:document.getElementById(u[i]),f.addEventListener(i,e(i),!1)}t.status&&"complete"===t.status&&r.contentWindow.postMessage(JSON.stringify({status:"ack"}),"*")}},!1),k.suppressFirstParty!==!0&&k.useFirstParty&&(t("bkrid")||r("bkrid",Math.floor(Math.random()*Math.pow(2,31)),180),t("bkrid")&&h.addParam("bkrid",encodeURIComponent(t("bkrid")))),(i.isDebug()||k.isDebug)&&h.addParam("debug","1"),!k.excludeBkParams&&"undefined"!=typeof k.paramList&&h.getGlobals(k.paramList),!k.excludeBkParams&&"undefined"!=typeof k.jsList&&h.getGlobals(k.jsList),!k.excludeBkParams&&"undefined"!=typeof k.metaVars)for(tt=0;tt<k.metaVars.length;tt++)et=i.getMeta(k.metaVars[tt]),null!==et&&h.addBkParam(k.metaVars[tt],et);k.suppressCacheBusting!==!0&&h.addParam("r",parseInt(99999999*Math.random(),10));var ht=("https:"===document.location.protocol?k.pixelSecure?k.pixelSecure:"https://stags.bluekai.com/":k.pixelUrl?k.pixelUrl:"http://tags.bluekai.com/")+(ft?"psite":"site")+"/"+k.site,d=ht+"?"+l.join("&");(k.limitGetLength&&(d=d.substr(0,2e3)),BKTAG._dest=h._dest=d,k.callback)?k.useImage?(rt=document.createElement("span"),rt.style.display="none",ct=document.getElementsByTagName("body")[0],ct.appendChild(rt),ot=document.createElement("img"),ot.src=h._dest,rt.appendChild(ot)):(it=document.createElement("script"),it.type="text/javascript",it.src=h._dest,it.id="__bk_script__",st[""+u]&&setTimeout(function(){var n=document.getElementById("__bk_script__");n&&(n.removeNode?n.removeNode(!0):n.parentNode.removeChild(n))},k.timeOut),document.getElementsByTagName("head")[0].appendChild(it)):(n.checkFrame(function(){var t,i;k.useMultipleIframes?(t=n.createFrame("__bkframe_"+k.site+"_"+(new Date).valueOf()),t.className="__bkframe_site_"+k.site,t.src=d,document.getElementsByTagName("body")[0].appendChild(t)):frames&&frames.__bkframe?frames.__bkframe.location.replace(d):(i=n.createFrame("__bkframe"),document.getElementsByTagName("body")[0].appendChild(i),frames.__bkframe.location.replace(d))}),l.shift(),"undefined"!=typeof k.ignoreOutsideIframe&&k.ignoreOutsideIframe===!1)&&(l.unshift("ret=jsht"),d=ht+"?"+l.join("&"),d=d.substr(0,2e3),ut=document.createElement("script"),ut.src=d,ut.type="text/javascript",document.getElementsByTagName("body").item(0).appendChild(ut));"function"==typeof f&&f();l=[]}}},v;for(v in h)h.hasOwnProperty(v)&&(window.BKTAG[v]=h[v]);return"function"==typeof window.bk_async&&window.setTimeout(function(){bk_async()},0),h});n("../src/aliases",["../src/core"],function(){window.BKTAG.addCtxParam=function(n,t){return BKTAG.addParam("phint",n,t),BKTAG};window.BKTAG.addBkParam=function(n,t){return BKTAG.addParam("phint","__bk_"+n,t),BKTAG};window.BKTAG.addPageCtx=window.bk_addPageCtx=window.BKTAG.addUserCtx=window.bk_addUserCtx=function(n,t){return BKTAG.addParam("phint",n,t),BKTAG};window.bk_addEmailHash=function(n){return BKTAG.addEmailHash(n),BKTAG};window.bk_addPhoneHash=function(n){return BKTAG.addPhoneHash(n),BKTAG};window.BKTAG.doJSTag=window.bk_doJSTag=function(n,t,i){BKTAG.doTag(n,t,!1,null,i)};window.BKTAG.doJSTag2=window.bk_doJSTag2=function(n,t){BKTAG.doTag(n,t)};window.BKTAG.doCarsJSTag=window.bk_doCarsJSTag=function(n,t){BKTAG.doTag(n,t,!0)};window.BKTAG.doPartnerAltTag=window.bk_doPartnerAltTag=function(n,t,i){("undefined"==typeof i||null===i)&&(i=0);BKTAG.doTag(n,t,!1,i)};window.BKTAG.doCallbackTag=window.bk_doCallbackTag=function(n,t,i,r){BKTAG.doTag(n,0,!1,null,i,t,r)};window.BKTAG.doCallbackTagWithTimeOut=window.bk_doCallbackTagWithTimeOut=function(n,t,i,r,u){BKTAG.doTag(n,0,!1,null,i,t,r,u)};window.BKTAG.sendData=function(n){BKTAG.doTag(n)}});n("mobile",["../vendor/json2","../src/core","../src/aliases"],function(){});u("mobile")}();BKTAG.version="3.0.21"