/*!!
 * Piwik - free/libre analytics platform
 *
 * JavaScript tracking client
 *
 * @link https://piwik.org
 * @source https://github.com/piwik/piwik/blob/master/js/piwik.js
 * @license https://piwik.org/free-software/bsd/ BSD-3 Clause (also in js/LICENSE.txt)
 * @license magnet:?xt=urn:btih:c80d50af7d3db9be66a4d0a86db0286e4fd33292&dn=bsd-3-clause.txt BSD-3-Clause
 */
if(typeof JSON_PIWIK!=="object"&&typeof window.JSON==="object"&&window.JSON.stringify&&window.JSON.parse){JSON_PIWIK=window.JSON}else{(function(){var a={};
/*!! JSON v3.3.2 | http://bestiejs.github.io/json3 | Copyright 2012-2014, Kit Cambridge | http://kit.mit-license.org */
(function(){var c=typeof define==="function"&&define.amd;var e={"function":true,object:true};var h=e[typeof a]&&a&&!a.nodeType&&a;var i=e[typeof window]&&window||this,b=h&&e[typeof module]&&module&&!module.nodeType&&typeof global=="object"&&global;if(b&&(b.global===b||b.window===b||b.self===b)){i=b}function j(ab,V){ab||(ab=i.Object());V||(V=i.Object());
var K=ab.Number||i.Number,R=ab.String||i.String,x=ab.Object||i.Object,S=ab.Date||i.Date,T=ab.SyntaxError||i.SyntaxError,aa=ab.TypeError||i.TypeError,J=ab.Math||i.Math,Y=ab.JSON||i.JSON;if(typeof Y=="object"&&Y){V.stringify=Y.stringify;V.parse=Y.parse}var n=x.prototype,u=n.toString,r,m,L;var B=new S(-3509827334573292);try{B=B.getUTCFullYear()==-109252&&B.getUTCMonth()===0&&B.getUTCDate()===1&&B.getUTCHours()==10&&B.getUTCMinutes()==37&&B.getUTCSeconds()==6&&B.getUTCMilliseconds()==708}catch(v){}function o(ac){if(o[ac]!==L){return o[ac]}var ad;if(ac=="bug-string-char-index"){ad="a"[0]!="a"}else{if(ac=="json"){ad=o("json-stringify")&&o("json-parse")}else{var ak,ah='{"a":[1,true,false,null,"\\u0000\\b\\n\\f\\r\\t"]}';if(ac=="json-stringify"){var ai=V.stringify,aj=typeof ai=="function"&&B;if(aj){(ak=function(){return 1}).toJSON=ak;try{aj=ai(0)==="0"&&ai(new K())==="0"&&ai(new R())=='""'&&ai(u)===L&&ai(L)===L&&ai()===L&&ai(ak)==="1"&&ai([ak])=="[1]"&&ai([L])=="[null]"&&ai(null)=="null"&&ai([L,u,null])=="[null,null,null]"&&ai({a:[ak,true,false,null,"\x00\b\n\f\r\t"]})==ah&&ai(null,ak)==="1"&&ai([1,2],null,1)=="[\n 1,\n 2\n]"&&ai(new S(-8640000000000000))=='"-271821-04-20T00:00:00.000Z"'&&ai(new S(8640000000000000))=='"+275760-09-13T00:00:00.000Z"'&&ai(new S(-62198755200000))=='"-000001-01-01T00:00:00.000Z"'&&ai(new S(-1))=='"1969-12-31T23:59:59.999Z"'
}catch(ae){aj=false}}ad=aj}if(ac=="json-parse"){var ag=V.parse;if(typeof ag=="function"){try{if(ag("0")===0&&!ag(false)){ak=ag(ah);var af=ak.a.length==5&&ak.a[0]===1;if(af){try{af=!ag('"\t"')}catch(ae){}if(af){try{af=ag("01")!==1}catch(ae){}}if(af){try{af=ag("1.")!==1}catch(ae){}}}}}catch(ae){af=false}}ad=af}}}return o[ac]=!!ad}if(!o("json")){var U="[object Function]",Q="[object Date]",N="[object Number]",O="[object String]",E="[object Array]",A="[object Boolean]";var F=o("bug-string-char-index");if(!B){var s=J.floor;var Z=[0,31,59,90,120,151,181,212,243,273,304,334];var D=function(ac,ad){return Z[ad]+365*(ac-1970)+s((ac-1969+(ad=+(ad>1)))/4)-s((ac-1901+ad)/100)+s((ac-1601+ad)/400)}}if(!(r=n.hasOwnProperty)){r=function(ae){var ac={},ad;if((ac.__proto__=null,ac.__proto__={toString:1},ac).toString!=u){r=function(ah){var ag=this.__proto__,af=ah in (this.__proto__=null,this);this.__proto__=ag;return af}}else{ad=ac.constructor;r=function(ag){var af=(this.constructor||ad).prototype;return ag in this&&!(ag in af&&this[ag]===af[ag])
}}ac=null;return r.call(this,ae)}}m=function(ae,ah){var af=0,ac,ad,ag;(ac=function(){this.valueOf=0}).prototype.valueOf=0;ad=new ac();for(ag in ad){if(r.call(ad,ag)){af++}}ac=ad=null;if(!af){ad=["valueOf","toString","toLocaleString","propertyIsEnumerable","isPrototypeOf","hasOwnProperty","constructor"];m=function(aj,an){var am=u.call(aj)==U,al,ak;var ai=!am&&typeof aj.constructor!="function"&&e[typeof aj.hasOwnProperty]&&aj.hasOwnProperty||r;for(al in aj){if(!(am&&al=="prototype")&&ai.call(aj,al)){an(al)}}for(ak=ad.length;al=ad[--ak];ai.call(aj,al)&&an(al)){}}}else{if(af==2){m=function(aj,am){var ai={},al=u.call(aj)==U,ak;for(ak in aj){if(!(al&&ak=="prototype")&&!r.call(ai,ak)&&(ai[ak]=1)&&r.call(aj,ak)){am(ak)}}}}else{m=function(aj,am){var al=u.call(aj)==U,ak,ai;for(ak in aj){if(!(al&&ak=="prototype")&&r.call(aj,ak)&&!(ai=ak==="constructor")){am(ak)}}if(ai||r.call(aj,(ak="constructor"))){am(ak)}}}}return m(ae,ah)};if(!o("json-stringify")){var q={92:"\\\\",34:'\\"',8:"\\b",12:"\\f",10:"\\n",13:"\\r",9:"\\t"};
var I="000000";var t=function(ac,ad){return(I+(ad||0)).slice(-ac)};var z="\\u00";var C=function(ai){var ad='"',ag=0,ah=ai.length,ac=!F||ah>10;var af=ac&&(F?ai.split(""):ai);for(;ag<ah;ag++){var ae=ai.charCodeAt(ag);switch(ae){case 8:case 9:case 10:case 12:case 13:case 34:case 92:ad+=q[ae];break;default:if(ae<32){ad+=z+t(2,ae.toString(16));break}ad+=ac?af[ag]:ai.charAt(ag)}}return ad+'"'};var p=function(ai,aA,ag,al,ax,ac,aj){var at,ae,ap,az,ay,ak,aw,au,aq,an,ar,ad,ah,af,av,ao;try{at=aA[ai]}catch(am){}if(typeof at=="object"&&at){ae=u.call(at);if(ae==Q&&!r.call(at,"toJSON")){if(at>-1/0&&at<1/0){if(D){ay=s(at/86400000);for(ap=s(ay/365.2425)+1970-1;D(ap+1,0)<=ay;ap++){}for(az=s((ay-D(ap,0))/30.42);D(ap,az+1)<=ay;az++){}ay=1+ay-D(ap,az);ak=(at%86400000+86400000)%86400000;aw=s(ak/3600000)%24;au=s(ak/60000)%60;aq=s(ak/1000)%60;an=ak%1000}else{ap=at.getUTCFullYear();az=at.getUTCMonth();ay=at.getUTCDate();aw=at.getUTCHours();au=at.getUTCMinutes();aq=at.getUTCSeconds();an=at.getUTCMilliseconds()}at=(ap<=0||ap>=10000?(ap<0?"-":"+")+t(6,ap<0?-ap:ap):t(4,ap))+"-"+t(2,az+1)+"-"+t(2,ay)+"T"+t(2,aw)+":"+t(2,au)+":"+t(2,aq)+"."+t(3,an)+"Z"
}else{at=null}}else{if(typeof at.toJSON=="function"&&((ae!=N&&ae!=O&&ae!=E)||r.call(at,"toJSON"))){at=at.toJSON(ai)}}}if(ag){at=ag.call(aA,ai,at)}if(at===null){return"null"}ae=u.call(at);if(ae==A){return""+at}else{if(ae==N){return at>-1/0&&at<1/0?""+at:"null"}else{if(ae==O){return C(""+at)}}}if(typeof at=="object"){for(af=aj.length;af--;){if(aj[af]===at){throw aa()}}aj.push(at);ar=[];av=ac;ac+=ax;if(ae==E){for(ah=0,af=at.length;ah<af;ah++){ad=p(ah,at,ag,al,ax,ac,aj);ar.push(ad===L?"null":ad)}ao=ar.length?(ax?"[\n"+ac+ar.join(",\n"+ac)+"\n"+av+"]":("["+ar.join(",")+"]")):"[]"}else{m(al||at,function(aC){var aB=p(aC,at,ag,al,ax,ac,aj);if(aB!==L){ar.push(C(aC)+":"+(ax?" ":"")+aB)}});ao=ar.length?(ax?"{\n"+ac+ar.join(",\n"+ac)+"\n"+av+"}":("{"+ar.join(",")+"}")):"{}"}aj.pop();return ao}};V.stringify=function(ac,ae,af){var ad,al,aj,ai;if(e[typeof ae]&&ae){if((ai=u.call(ae))==U){al=ae}else{if(ai==E){aj={};for(var ah=0,ag=ae.length,ak;ah<ag;ak=ae[ah++],((ai=u.call(ak)),ai==O||ai==N)&&(aj[ak]=1)){}}}}if(af){if((ai=u.call(af))==N){if((af-=af%1)>0){for(ad="",af>10&&(af=10);
ad.length<af;ad+=" "){}}}else{if(ai==O){ad=af.length<=10?af:af.slice(0,10)}}}return p("",(ak={},ak[""]=ac,ak),al,aj,ad,"",[])}}if(!o("json-parse")){var M=R.fromCharCode;var l={92:"\\",34:'"',47:"/",98:"\b",116:"\t",110:"\n",102:"\f",114:"\r"};var G,X;var H=function(){G=X=null;throw T()};var y=function(){var ah=X,af=ah.length,ag,ae,ac,ai,ad;while(G<af){ad=ah.charCodeAt(G);switch(ad){case 9:case 10:case 13:case 32:G++;break;case 123:case 125:case 91:case 93:case 58:case 44:ag=F?ah.charAt(G):ah[G];G++;return ag;case 34:for(ag="@",G++;G<af;){ad=ah.charCodeAt(G);if(ad<32){H()}else{if(ad==92){ad=ah.charCodeAt(++G);switch(ad){case 92:case 34:case 47:case 98:case 116:case 110:case 102:case 114:ag+=l[ad];G++;break;case 117:ae=++G;for(ac=G+4;G<ac;G++){ad=ah.charCodeAt(G);if(!(ad>=48&&ad<=57||ad>=97&&ad<=102||ad>=65&&ad<=70)){H()}}ag+=M("0x"+ah.slice(ae,G));break;default:H()}}else{if(ad==34){break}ad=ah.charCodeAt(G);ae=G;while(ad>=32&&ad!=92&&ad!=34){ad=ah.charCodeAt(++G)}ag+=ah.slice(ae,G)}}}if(ah.charCodeAt(G)==34){G++;
return ag}H();default:ae=G;if(ad==45){ai=true;ad=ah.charCodeAt(++G)}if(ad>=48&&ad<=57){if(ad==48&&((ad=ah.charCodeAt(G+1)),ad>=48&&ad<=57)){H()}ai=false;for(;G<af&&((ad=ah.charCodeAt(G)),ad>=48&&ad<=57);G++){}if(ah.charCodeAt(G)==46){ac=++G;for(;ac<af&&((ad=ah.charCodeAt(ac)),ad>=48&&ad<=57);ac++){}if(ac==G){H()}G=ac}ad=ah.charCodeAt(G);if(ad==101||ad==69){ad=ah.charCodeAt(++G);if(ad==43||ad==45){G++}for(ac=G;ac<af&&((ad=ah.charCodeAt(ac)),ad>=48&&ad<=57);ac++){}if(ac==G){H()}G=ac}return +ah.slice(ae,G)}if(ai){H()}if(ah.slice(G,G+4)=="true"){G+=4;return true}else{if(ah.slice(G,G+5)=="false"){G+=5;return false}else{if(ah.slice(G,G+4)=="null"){G+=4;return null}}}H()}}return"$"};var W=function(ad){var ac,ae;if(ad=="$"){H()}if(typeof ad=="string"){if((F?ad.charAt(0):ad[0])=="@"){return ad.slice(1)}if(ad=="["){ac=[];for(;;ae||(ae=true)){ad=y();if(ad=="]"){break}if(ae){if(ad==","){ad=y();if(ad=="]"){H()}}else{H()}}if(ad==","){H()}ac.push(W(ad))}return ac}else{if(ad=="{"){ac={};for(;;ae||(ae=true)){ad=y();
if(ad=="}"){break}if(ae){if(ad==","){ad=y();if(ad=="}"){H()}}else{H()}}if(ad==","||typeof ad!="string"||(F?ad.charAt(0):ad[0])!="@"||y()!=":"){H()}ac[ad.slice(1)]=W(y())}return ac}}H()}return ad};var P=function(ae,ad,af){var ac=w(ae,ad,af);if(ac===L){delete ae[ad]}else{ae[ad]=ac}};var w=function(af,ae,ag){var ad=af[ae],ac;if(typeof ad=="object"&&ad){if(u.call(ad)==E){for(ac=ad.length;ac--;){P(ad,ac,ag)}}else{m(ad,function(ah){P(ad,ah,ag)})}}return ag.call(af,ae,ad)};V.parse=function(ae,af){var ac,ad;G=0;X=""+ae;ac=W(y());if(y()!="$"){H()}G=X=null;return af&&u.call(af)==U?w((ad={},ad[""]=ac,ad),"",af):ac}}}V.runInContext=j;return V}if(h&&!c){j(i,h)}else{var f=i.JSON,k=i.JSON3,d=false;var g=j(i,(i.JSON3={noConflict:function(){if(!d){d=true;i.JSON=f;i.JSON3=k;f=k=null}return g}}));i.JSON={parse:g.parse,stringify:g.stringify}}if(c){define(function(){return g})}}).call(this);JSON_PIWIK=a})()}if(typeof _paq!=="object"){_paq=[]}if(typeof window.Piwik!=="object"){window.Piwik=(function(){var r,b={},x={},F=document,h=navigator,V=screen,S=window,i=S.performance||S.mozPerformance||S.msPerformance||S.webkitPerformance,t=S.encodeURIComponent,R=S.decodeURIComponent,l=unescape,H=[],D,e,ac=[],m=false;
function p(aj){try{return R(aj)}catch(ak){return unescape(aj)}}function I(ak){var aj=typeof ak;return aj!=="undefined"}function z(aj){return typeof aj==="function"}function U(aj){return typeof aj==="object"}function w(aj){return typeof aj==="string"||aj instanceof String}function A(ak){if(!ak){return true}var aj;var al=true;for(aj in ak){if(Object.prototype.hasOwnProperty.call(ak,aj)){al=false}}return al}function af(aj){var ak=typeof console;if(ak!=="undefined"&&console&&console.error){console.error(aj)}}function ab(){var ao,an,aq,ak,aj;for(ao=0;ao<arguments.length;ao+=1){aj=null;if(arguments[ao]&&arguments[ao].slice){aj=arguments[ao].slice()}ak=arguments[ao];aq=ak.shift();var ap,al;var am=w(aq)&&aq.indexOf("::")>0;if(am){ap=aq.split("::");al=ap[0];aq=ap[1];if("object"===typeof e[al]&&"function"===typeof e[al][aq]){e[al][aq].apply(e[al],ak)}else{if(aj){ac.push(aj)}}}else{for(an=0;an<H.length;an++){if(w(aq)){al=H[an];var ar=aq.indexOf(".")>0;if(ar){ap=aq.split(".");if(al&&"object"===typeof al[ap[0]]){al=al[ap[0]];
aq=ap[1]}else{if(aj){ac.push(aj);break}}}if(al[aq]){al[aq].apply(al,ak)}else{var at="The method '"+aq+'\' was not found in "_paq" variable.  Please have a look at the Piwik tracker documentation: https://developer.piwik.org/api-reference/tracking-javascript';af(at);if(!ar){throw new TypeError(at)}}if(aq==="addTracker"){break}if(aq==="setTrackerUrl"||aq==="setSiteId"){break}}else{aq.apply(H[an],ak)}}}}}function ai(am,al,ak,aj){if(am.addEventListener){am.addEventListener(al,ak,aj);return true}if(am.attachEvent){return am.attachEvent("on"+al,ak)}am["on"+al]=ak}function n(aj){if(F.readyState==="complete"){aj()}else{if(S.addEventListener){S.addEventListener("load",aj)}else{if(S.attachEvent){S.attachEvent("onload",aj)}}}}function q(am){var aj=false;if(F.attachEvent){aj=F.readyState==="complete"}else{aj=F.readyState!=="loading"}if(aj){am();return}var al;if(F.addEventListener){ai(F,"DOMContentLoaded",function ak(){F.removeEventListener("DOMContentLoaded",ak,false);if(!aj){aj=true;am()}})}else{if(F.attachEvent){F.attachEvent("onreadystatechange",function ak(){if(F.readyState==="complete"){F.detachEvent("onreadystatechange",ak);
if(!aj){aj=true;am()}}});if(F.documentElement.doScroll&&S===S.top){(function ak(){if(!aj){try{F.documentElement.doScroll("left")}catch(an){setTimeout(ak,0);return}aj=true;am()}}())}}}ai(S,"load",function(){if(!aj){aj=true;am()}},false)}function Y(ak,ap,aq){if(!ak){return""}var aj="",am,al,an,ao;for(am in b){if(Object.prototype.hasOwnProperty.call(b,am)){ao=b[am]&&"function"===typeof b[am][ak];if(ao){al=b[am][ak];an=al(ap||{},aq);if(an){aj+=an}}}}return aj}function ad(){var aj;m=true;Y("unload");if(r){do{aj=new Date()}while(aj.getTimeAlias()<r)}}function o(al,ak){var aj=F.createElement("script");aj.type="text/javascript";aj.src=al;if(aj.readyState){aj.onreadystatechange=function(){var am=this.readyState;if(am==="loaded"||am==="complete"){aj.onreadystatechange=null;ak()}}}else{aj.onload=ak}F.getElementsByTagName("head")[0].appendChild(aj)}function J(){var aj="";try{aj=S.top.document.referrer}catch(al){if(S.parent){try{aj=S.parent.document.referrer}catch(ak){aj=""}}}if(aj===""){aj=F.referrer
}return aj}function s(aj){var al=new RegExp("^([a-z]+):"),ak=al.exec(aj);return ak?ak[1]:null}function d(aj){var al=new RegExp("^(?:(?:https?|ftp):)/*(?:[^@]+@)?([^:/#]+)"),ak=al.exec(aj);return ak?ak[1]:aj}function ae(ak,aj){ak=String(ak);return ak.lastIndexOf(aj,0)===0}function Q(ak,aj){ak=String(ak);return ak.indexOf(aj,ak.length-aj.length)!==-1}function y(ak,aj){ak=String(ak);return ak.indexOf(aj)!==-1}function g(ak,aj){ak=String(ak);return ak.substr(0,ak.length-aj)}function E(am,al,ao){am=String(am);if(!ao){ao=""}var aj=am.indexOf("#");var ap=am.length;if(aj===-1){aj=ap}var an=am.substr(0,aj);var ak=am.substr(aj,ap-aj);if(an.indexOf("?")===-1){an+="?"}else{if(!Q(an,"?")){an+="&"}}return an+t(al)+"="+t(ao)+ak}function k(ak,al){ak=String(ak);if(ak.indexOf("?"+al+"=")===-1&&ak.indexOf("&"+al+"=")===-1){return ak}var am=ak.indexOf("?");if(am===-1){return ak}var aj=ak.substr(am+1);var aq=ak.substr(0,am);if(aj){var ar="";var au=aj.indexOf("#");if(au!==-1){ar=aj.substr(au+1);aj=aj.substr(0,au)
}var an;var ap=aj.split("&");var ao=ap.length-1;for(ao;ao>=0;ao--){an=ap[ao].split("=")[0];if(an===al){ap.splice(ao,1)}}var at=ap.join("&");if(at){aq=aq+"?"+at}if(ar){aq+="#"+ar}}return aq}function f(al,ak){var aj="[\\?&#]"+ak+"=([^&#]*)";var an=new RegExp(aj);var am=an.exec(al);return am?R(am[1]):""}function a(aj){if(aj&&String(aj)===aj){return aj.replace(/^\s+|\s+$/g,"")}return aj}function C(aj){return unescape(t(aj))}function ah(az){var al=function(aF,aE){return(aF<<aE)|(aF>>>(32-aE))},aA=function(aH){var aF="",aG,aE;for(aG=7;aG>=0;aG--){aE=(aH>>>(aG*4))&15;aF+=aE.toString(16)}return aF},ao,aC,aB,ak=[],at=1732584193,aq=4023233417,ap=2562383102,an=271733878,am=3285377520,ay,ax,aw,av,au,aD,aj,ar=[];az=C(az);aj=az.length;for(aC=0;aC<aj-3;aC+=4){aB=az.charCodeAt(aC)<<24|az.charCodeAt(aC+1)<<16|az.charCodeAt(aC+2)<<8|az.charCodeAt(aC+3);ar.push(aB)}switch(aj&3){case 0:aC=2147483648;break;case 1:aC=az.charCodeAt(aj-1)<<24|8388608;break;case 2:aC=az.charCodeAt(aj-2)<<24|az.charCodeAt(aj-1)<<16|32768;
break;case 3:aC=az.charCodeAt(aj-3)<<24|az.charCodeAt(aj-2)<<16|az.charCodeAt(aj-1)<<8|128;break}ar.push(aC);while((ar.length&15)!==14){ar.push(0)}ar.push(aj>>>29);ar.push((aj<<3)&4294967295);for(ao=0;ao<ar.length;ao+=16){for(aC=0;aC<16;aC++){ak[aC]=ar[ao+aC]}for(aC=16;aC<=79;aC++){ak[aC]=al(ak[aC-3]^ak[aC-8]^ak[aC-14]^ak[aC-16],1)}ay=at;ax=aq;aw=ap;av=an;au=am;for(aC=0;aC<=19;aC++){aD=(al(ay,5)+((ax&aw)|(~ax&av))+au+ak[aC]+1518500249)&4294967295;au=av;av=aw;aw=al(ax,30);ax=ay;ay=aD}for(aC=20;aC<=39;aC++){aD=(al(ay,5)+(ax^aw^av)+au+ak[aC]+1859775393)&4294967295;au=av;av=aw;aw=al(ax,30);ax=ay;ay=aD}for(aC=40;aC<=59;aC++){aD=(al(ay,5)+((ax&aw)|(ax&av)|(aw&av))+au+ak[aC]+2400959708)&4294967295;au=av;av=aw;aw=al(ax,30);ax=ay;ay=aD}for(aC=60;aC<=79;aC++){aD=(al(ay,5)+(ax^aw^av)+au+ak[aC]+3395469782)&4294967295;au=av;av=aw;aw=al(ax,30);ax=ay;ay=aD}at=(at+ay)&4294967295;aq=(aq+ax)&4294967295;ap=(ap+aw)&4294967295;an=(an+av)&4294967295;am=(am+au)&4294967295}aD=aA(at)+aA(aq)+aA(ap)+aA(an)+aA(am);
return aD.toLowerCase()}function X(al,aj,ak){if(!al){al=""}if(!aj){aj=""}if(al==="translate.googleusercontent.com"){if(ak===""){ak=aj}aj=f(aj,"u");al=d(aj)}else{if(al==="cc.bingj.com"||al==="webcache.googleusercontent.com"||al.slice(0,5)==="74.6."){aj=F.links[0].href;al=d(aj)}}return[al,aj,ak]}function K(ak){var aj=ak.length;if(ak.charAt(--aj)==="."){ak=ak.slice(0,aj)}if(ak.slice(0,2)==="*."){ak=ak.slice(1)}if(ak.indexOf("/")!==-1){ak=ak.substr(0,ak.indexOf("/"))}return ak}function ag(ak){ak=ak&&ak.text?ak.text:ak;if(!w(ak)){var aj=F.getElementsByTagName("title");if(aj&&I(aj[0])){ak=aj[0].text}}return ak}function O(aj){if(!aj){return[]}if(!I(aj.children)&&I(aj.childNodes)){return aj.children}if(I(aj.children)){return aj.children}return[]}function T(ak,aj){if(!ak||!aj){return false}if(ak.contains){return ak.contains(aj)}if(ak===aj){return true}if(ak.compareDocumentPosition){return !!(ak.compareDocumentPosition(aj)&16)}return false}function L(al,am){if(al&&al.indexOf){return al.indexOf(am)
}if(!I(al)||al===null){return -1}if(!al.length){return -1}var aj=al.length;if(aj===0){return -1}var ak=0;while(ak<aj){if(al[ak]===am){return ak}ak++}return -1}function j(al){if(!al){return false}function aj(an,ao){if(S.getComputedStyle){return F.defaultView.getComputedStyle(an,null)[ao]}if(an.currentStyle){return an.currentStyle[ao]}}function am(an){an=an.parentNode;while(an){if(an===F){return true}an=an.parentNode}return false}function ak(ap,aw,an,at,aq,au,ar){var ao=ap.parentNode,av=1;if(!am(ap)){return false}if(9===ao.nodeType){return true}if("0"===aj(ap,"opacity")||"none"===aj(ap,"display")||"hidden"===aj(ap,"visibility")){return false}if(!I(aw)||!I(an)||!I(at)||!I(aq)||!I(au)||!I(ar)){aw=ap.offsetTop;aq=ap.offsetLeft;at=aw+ap.offsetHeight;an=aq+ap.offsetWidth;au=ap.offsetWidth;ar=ap.offsetHeight}if(al===ap&&(0===ar||0===au)&&"hidden"===aj(ap,"overflow")){return false}if(ao){if(("hidden"===aj(ao,"overflow")||"scroll"===aj(ao,"overflow"))){if(aq+av>ao.offsetWidth+ao.scrollLeft||aq+au-av<ao.scrollLeft||aw+av>ao.offsetHeight+ao.scrollTop||aw+ar-av<ao.scrollTop){return false
}}if(ap.offsetParent===ao){aq+=ao.offsetLeft;aw+=ao.offsetTop}return ak(ao,aw,an,at,aq,au,ar)}return true}return ak(al)}var aa={htmlCollectionToArray:function(al){var aj=[],ak;if(!al||!al.length){return aj}for(ak=0;ak<al.length;ak++){aj.push(al[ak])}return aj},find:function(aj){if(!document.querySelectorAll||!aj){return[]}var ak=document.querySelectorAll(aj);return this.htmlCollectionToArray(ak)},findMultiple:function(al){if(!al||!al.length){return[]}var ak,am;var aj=[];for(ak=0;ak<al.length;ak++){am=this.find(al[ak]);aj=aj.concat(am)}aj=this.makeNodesUnique(aj);return aj},findNodesByTagName:function(ak,aj){if(!ak||!aj||!ak.getElementsByTagName){return[]}var al=ak.getElementsByTagName(aj);return this.htmlCollectionToArray(al)},makeNodesUnique:function(aj){var ao=[].concat(aj);aj.sort(function(aq,ap){if(aq===ap){return 0}var at=L(ao,aq);var ar=L(ao,ap);if(at===ar){return 0}return at>ar?-1:1});if(aj.length<=1){return aj}var ak=0;var am=0;var an=[];var al;al=aj[ak++];while(al){if(al===aj[ak]){am=an.push(ak)
}al=aj[ak++]||null}while(am--){aj.splice(an[am],1)}return aj},getAttributeValueFromNode:function(an,al){if(!this.hasNodeAttribute(an,al)){return}if(an&&an.getAttribute){return an.getAttribute(al)}if(!an||!an.attributes){return}var am=(typeof an.attributes[al]);if("undefined"===am){return}if(an.attributes[al].value){return an.attributes[al].value}if(an.attributes[al].nodeValue){return an.attributes[al].nodeValue}var ak;var aj=an.attributes;if(!aj){return}for(ak=0;ak<aj.length;ak++){if(aj[ak].nodeName===al){return aj[ak].nodeValue}}return null},hasNodeAttributeWithValue:function(ak,aj){var al=this.getAttributeValueFromNode(ak,aj);return !!al},hasNodeAttribute:function(al,aj){if(al&&al.hasAttribute){return al.hasAttribute(aj)}if(al&&al.attributes){var ak=(typeof al.attributes[aj]);return"undefined"!==ak}return false},hasNodeCssClass:function(al,aj){if(al&&aj&&al.className){var ak=typeof al.className==="string"?al.className.split(" "):[];if(-1!==L(ak,aj)){return true}}return false},findNodesHavingAttribute:function(an,al,aj){if(!aj){aj=[]
}if(!an||!al){return aj}var am=O(an);if(!am||!am.length){return aj}var ak,ao;for(ak=0;ak<am.length;ak++){ao=am[ak];if(this.hasNodeAttribute(ao,al)){aj.push(ao)}aj=this.findNodesHavingAttribute(ao,al,aj)}return aj},findFirstNodeHavingAttribute:function(al,ak){if(!al||!ak){return}if(this.hasNodeAttribute(al,ak)){return al}var aj=this.findNodesHavingAttribute(al,ak);if(aj&&aj.length){return aj[0]}},findFirstNodeHavingAttributeWithValue:function(am,al){if(!am||!al){return}if(this.hasNodeAttributeWithValue(am,al)){return am}var aj=this.findNodesHavingAttribute(am,al);if(!aj||!aj.length){return}var ak;for(ak=0;ak<aj.length;ak++){if(this.getAttributeValueFromNode(aj[ak],al)){return aj[ak]}}},findNodesHavingCssClass:function(an,am,aj){if(!aj){aj=[]}if(!an||!am){return aj}if(an.getElementsByClassName){var ao=an.getElementsByClassName(am);return this.htmlCollectionToArray(ao)}var al=O(an);if(!al||!al.length){return[]}var ak,ap;for(ak=0;ak<al.length;ak++){ap=al[ak];if(this.hasNodeCssClass(ap,am)){aj.push(ap)
}aj=this.findNodesHavingCssClass(ap,am,aj)}return aj},findFirstNodeHavingClass:function(al,ak){if(!al||!ak){return}if(this.hasNodeCssClass(al,ak)){return al}var aj=this.findNodesHavingCssClass(al,ak);if(aj&&aj.length){return aj[0]}},isLinkElement:function(ak){if(!ak){return false}var aj=String(ak.nodeName).toLowerCase();var am=["a","area"];var al=L(am,aj);return al!==-1},setAnyAttribute:function(ak,aj,al){if(!ak||!aj){return}if(ak.setAttribute){ak.setAttribute(aj,al)}else{ak[aj]=al}}};var v={CONTENT_ATTR:"data-track-content",CONTENT_CLASS:"piwikTrackContent",CONTENT_NAME_ATTR:"data-content-name",CONTENT_PIECE_ATTR:"data-content-piece",CONTENT_PIECE_CLASS:"piwikContentPiece",CONTENT_TARGET_ATTR:"data-content-target",CONTENT_TARGET_CLASS:"piwikContentTarget",CONTENT_IGNOREINTERACTION_ATTR:"data-content-ignoreinteraction",CONTENT_IGNOREINTERACTION_CLASS:"piwikContentIgnoreInteraction",location:undefined,findContentNodes:function(){var ak="."+this.CONTENT_CLASS;var aj="["+this.CONTENT_ATTR+"]";
var al=aa.findMultiple([ak,aj]);return al},findContentNodesWithinNode:function(am){if(!am){return[]}var ak=aa.findNodesHavingCssClass(am,this.CONTENT_CLASS);var aj=aa.findNodesHavingAttribute(am,this.CONTENT_ATTR);if(aj&&aj.length){var al;for(al=0;al<aj.length;al++){ak.push(aj[al])}}if(aa.hasNodeAttribute(am,this.CONTENT_ATTR)){ak.push(am)}else{if(aa.hasNodeCssClass(am,this.CONTENT_CLASS)){ak.push(am)}}ak=aa.makeNodesUnique(ak);return ak},findParentContentNode:function(ak){if(!ak){return}var al=ak;var aj=0;while(al&&al!==F&&al.parentNode){if(aa.hasNodeAttribute(al,this.CONTENT_ATTR)){return al}if(aa.hasNodeCssClass(al,this.CONTENT_CLASS)){return al}al=al.parentNode;if(aj>1000){break}aj++}},findPieceNode:function(ak){var aj;aj=aa.findFirstNodeHavingAttribute(ak,this.CONTENT_PIECE_ATTR);if(!aj){aj=aa.findFirstNodeHavingClass(ak,this.CONTENT_PIECE_CLASS)}if(aj){return aj}return ak},findTargetNodeNoDefault:function(aj){if(!aj){return}var ak=aa.findFirstNodeHavingAttributeWithValue(aj,this.CONTENT_TARGET_ATTR);
if(ak){return ak}ak=aa.findFirstNodeHavingAttribute(aj,this.CONTENT_TARGET_ATTR);if(ak){return ak}ak=aa.findFirstNodeHavingClass(aj,this.CONTENT_TARGET_CLASS);if(ak){return ak}},findTargetNode:function(aj){var ak=this.findTargetNodeNoDefault(aj);if(ak){return ak}return aj},findContentName:function(ak){if(!ak){return}var an=aa.findFirstNodeHavingAttributeWithValue(ak,this.CONTENT_NAME_ATTR);if(an){return aa.getAttributeValueFromNode(an,this.CONTENT_NAME_ATTR)}var aj=this.findContentPiece(ak);if(aj){return this.removeDomainIfIsInLink(aj)}if(aa.hasNodeAttributeWithValue(ak,"title")){return aa.getAttributeValueFromNode(ak,"title")}var al=this.findPieceNode(ak);if(aa.hasNodeAttributeWithValue(al,"title")){return aa.getAttributeValueFromNode(al,"title")}var am=this.findTargetNode(ak);if(aa.hasNodeAttributeWithValue(am,"title")){return aa.getAttributeValueFromNode(am,"title")}},findContentPiece:function(ak){if(!ak){return}var am=aa.findFirstNodeHavingAttributeWithValue(ak,this.CONTENT_PIECE_ATTR);
if(am){return aa.getAttributeValueFromNode(am,this.CONTENT_PIECE_ATTR)}var aj=this.findPieceNode(ak);var al=this.findMediaUrlInNode(aj);if(al){return this.toAbsoluteUrl(al)}},findContentTarget:function(al){if(!al){return}var am=this.findTargetNode(al);if(aa.hasNodeAttributeWithValue(am,this.CONTENT_TARGET_ATTR)){return aa.getAttributeValueFromNode(am,this.CONTENT_TARGET_ATTR)}var ak;if(aa.hasNodeAttributeWithValue(am,"href")){ak=aa.getAttributeValueFromNode(am,"href");return this.toAbsoluteUrl(ak)}var aj=this.findPieceNode(al);if(aa.hasNodeAttributeWithValue(aj,"href")){ak=aa.getAttributeValueFromNode(aj,"href");return this.toAbsoluteUrl(ak)}},isSameDomain:function(aj){if(!aj||!aj.indexOf){return false}if(0===aj.indexOf(this.getLocation().origin)){return true}var ak=aj.indexOf(this.getLocation().host);if(8>=ak&&0<=ak){return true}return false},removeDomainIfIsInLink:function(al){var ak="^https?://[^/]+";var aj="^.*//[^/]+";if(al&&al.search&&-1!==al.search(new RegExp(ak))&&this.isSameDomain(al)){al=al.replace(new RegExp(aj),"");
if(!al){al="/"}}return al},findMediaUrlInNode:function(an){if(!an){return}var al=["img","embed","video","audio"];var aj=an.nodeName.toLowerCase();if(-1!==L(al,aj)&&aa.findFirstNodeHavingAttributeWithValue(an,"src")){var am=aa.findFirstNodeHavingAttributeWithValue(an,"src");return aa.getAttributeValueFromNode(am,"src")}if(aj==="object"&&aa.hasNodeAttributeWithValue(an,"data")){return aa.getAttributeValueFromNode(an,"data")}if(aj==="object"){var ao=aa.findNodesByTagName(an,"param");if(ao&&ao.length){var ak;for(ak=0;ak<ao.length;ak++){if("movie"===aa.getAttributeValueFromNode(ao[ak],"name")&&aa.hasNodeAttributeWithValue(ao[ak],"value")){return aa.getAttributeValueFromNode(ao[ak],"value")}}}var ap=aa.findNodesByTagName(an,"embed");if(ap&&ap.length){return this.findMediaUrlInNode(ap[0])}}},trim:function(aj){return a(aj)},isOrWasNodeInViewport:function(ao){if(!ao||!ao.getBoundingClientRect||ao.nodeType!==1){return true}var an=ao.getBoundingClientRect();var am=F.documentElement||{};var al=an.top<0;
if(al&&ao.offsetTop){al=(ao.offsetTop+an.height)>0}var ak=am.clientWidth;if(S.innerWidth&&ak>S.innerWidth){ak=S.innerWidth}var aj=am.clientHeight;if(S.innerHeight&&aj>S.innerHeight){aj=S.innerHeight}return((an.bottom>0||al)&&an.right>0&&an.left<ak&&((an.top<aj)||al))},isNodeVisible:function(ak){var aj=j(ak);var al=this.isOrWasNodeInViewport(ak);return aj&&al},buildInteractionRequestParams:function(aj,ak,al,am){var an="";if(aj){an+="c_i="+t(aj)}if(ak){if(an){an+="&"}an+="c_n="+t(ak)}if(al){if(an){an+="&"}an+="c_p="+t(al)}if(am){if(an){an+="&"}an+="c_t="+t(am)}return an},buildImpressionRequestParams:function(aj,ak,al){var am="c_n="+t(aj)+"&c_p="+t(ak);if(al){am+="&c_t="+t(al)}return am},buildContentBlock:function(al){if(!al){return}var aj=this.findContentName(al);var ak=this.findContentPiece(al);var am=this.findContentTarget(al);aj=this.trim(aj);ak=this.trim(ak);am=this.trim(am);return{name:aj||"Unknown",piece:ak||"Unknown",target:am||""}},collectContent:function(am){if(!am||!am.length){return[]
}var al=[];var aj,ak;for(aj=0;aj<am.length;aj++){ak=this.buildContentBlock(am[aj]);if(I(ak)){al.push(ak)}}return al},setLocation:function(aj){this.location=aj},getLocation:function(){var aj=this.location||S.location;if(!aj.origin){aj.origin=aj.protocol+"//"+aj.hostname+(aj.port?":"+aj.port:"")}return aj},toAbsoluteUrl:function(ak){if((!ak||String(ak)!==ak)&&ak!==""){return ak}if(""===ak){return this.getLocation().href}if(ak.search(/^\/\//)!==-1){return this.getLocation().protocol+ak}if(ak.search(/:\/\//)!==-1){return ak}if(0===ak.indexOf("#")){return this.getLocation().origin+this.getLocation().pathname+ak}if(0===ak.indexOf("?")){return this.getLocation().origin+this.getLocation().pathname+ak}if(0===ak.search("^[a-zA-Z]{2,11}:")){return ak}if(ak.search(/^\//)!==-1){return this.getLocation().origin+ak}var aj="(.*/)";var al=this.getLocation().origin+this.getLocation().pathname.match(new RegExp(aj))[0];return al+ak},isUrlToCurrentDomain:function(ak){var al=this.toAbsoluteUrl(ak);if(!al){return false
}var aj=this.getLocation().origin;if(aj===al){return true}if(0===String(al).indexOf(aj)){if(":"===String(al).substr(aj.length,1)){return false}return true}return false},setHrefAttribute:function(ak,aj){if(!ak||!aj){return}aa.setAnyAttribute(ak,"href",aj)},shouldIgnoreInteraction:function(al){var ak=aa.hasNodeAttribute(al,this.CONTENT_IGNOREINTERACTION_ATTR);var aj=aa.hasNodeCssClass(al,this.CONTENT_IGNOREINTERACTION_CLASS);return ak||aj}};function N(ak,an){if(an){return an}ak=v.toAbsoluteUrl(ak);if(y(ak,"?")){var am=ak.indexOf("?");ak=ak.slice(0,am)}if(Q(ak,"piwik.php")){ak=g(ak,"piwik.php".length)}else{if(Q(ak,".php")){var aj=ak.lastIndexOf("/");var al=1;ak=ak.slice(0,aj+al)}}if(Q(ak,"/js/")){ak=g(ak,"js/".length)}return ak}function M(ap){var ar="Piwik_Overlay";var ak=new RegExp("index\\.php\\?module=Overlay&action=startOverlaySession&idSite=([0-9]+)&period=([^&]+)&date=([^&]+)(&segment=.*)?$");var al=ak.exec(F.referrer);if(al){var an=al[1];if(an!==String(ap)){return false}var ao=al[2],aj=al[3],am=al[4];
if(!am){am=""}else{if(am.indexOf("&segment=")===0){am=am.substr("&segment=".length)}}S.name=ar+"###"+ao+"###"+aj+"###"+am}var aq=S.name.split("###");return aq.length===4&&aq[0]===ar}function W(ak,aq,am){var ap=S.name.split("###"),ao=ap[1],aj=ap[2],an=ap[3],al=N(ak,aq);o(al+"plugins/Overlay/client/client.js?v=1",function(){Piwik_Overlay_Client.initialize(al,am,ao,aj,an)})}function u(){var al;try{al=S.frameElement}catch(ak){return true}if(I(al)){return(al&&String(al.nodeName).toLowerCase()==="iframe")?true:false}try{return S.self!==S.top}catch(aj){return true}}function P(b2,bX){var bw=this,bS=X(F.domain,S.location.href,J()),cE=K(bS[0]),bB=p(bS[1]),bd=p(bS[2]),cC=false,b6="GET",cR=b6,aB="application/x-www-form-urlencoded; charset=UTF-8",cl=aB,ax=b2||"",bv="",cI="",bU=bX||"",bo="",bC="",aW,a9="",cO=["7z","aac","apk","arc","arj","asf","asx","avi","azw3","bin","csv","deb","dmg","doc","docx","epub","exe","flv","gif","gz","gzip","hqx","ibooks","jar","jpg","jpeg","js","mobi","mp2","mp3","mp4","mpg","mpeg","mov","movie","msi","msp","odb","odf","odg","ods","odt","ogg","ogv","pdf","phps","png","ppt","pptx","qt","qtm","ra","ram","rar","rpm","sea","sit","tar","tbz","tbz2","bz","bz2","tgz","torrent","txt","wav","wma","wmv","wpd","xls","xlsx","xml","z","zip"],aq=[cE],bp=[],bz=[],a0=[],bx=500,cu,aX,bF,bD,aj,cf=["pk_campaign","piwik_campaign","utm_campaign","utm_source","utm_medium"],bu=["pk_kwd","piwik_kwd","utm_term"],ba="_pk_",ap="pk_vid",aR=180,cG,bf,bG=false,bb=false,cA,a5,bl,cv=33955200000,cd=1800000,cN=15768000000,aU=true,cb=0,bE=false,aI=false,bZ,bK={},ca={},bc={},bj=200,cJ={},cP={},bY=[],b3=false,co=false,ak=false,cQ=false,cx=false,aG=false,a4=u(),cH=null,b0,aJ,bq,bV=ah,be,aD,cg=0,bk=["id","ses","cvar","ref"];
try{a9=F.title}catch(cm){a9=""}function cU(c5,c3,c2,c4,c1,c0){if(bb){return}var cZ;if(c2){cZ=new Date();cZ.setTime(cZ.getTime()+c2)}F.cookie=c5+"="+t(c3)+(c2?";expires="+cZ.toGMTString():"")+";path="+(c4||"/")+(c1?";domain="+c1:"")+(c0?";secure":"")}function aw(c1){if(bb){return 0}var cZ=new RegExp("(^|;)[ ]*"+c1+"=([^;]*)"),c0=cZ.exec(F.cookie);return c0?R(c0[2]):0}function bQ(cZ){var c0;cZ=k(cZ,ap);if(bD){c0=new RegExp("#.*");return cZ.replace(c0,"")}return cZ}function bJ(c1,cZ){var c2=s(cZ),c0;if(c2){return cZ}if(cZ.slice(0,1)==="/"){return s(c1)+"://"+d(c1)+cZ}c1=bQ(c1);c0=c1.indexOf("?");if(c0>=0){c1=c1.slice(0,c0)}c0=c1.lastIndexOf("/");if(c0!==c1.length-1){c1=c1.slice(0,c0+1)}return c1+cZ}function ct(c1,cZ){var c0;c1=String(c1).toLowerCase();cZ=String(cZ).toLowerCase();if(c1===cZ){return true}if(cZ.slice(0,1)==="."){if(c1===cZ.slice(1)){return true}c0=c1.length-cZ.length;if((c0>0)&&(c1.slice(c0)===cZ)){return true}}return false}function b9(cZ){var c0=document.createElement("a");if(cZ.indexOf("//")!==0&&cZ.indexOf("http")!==0){if(cZ.indexOf("*")===0){cZ=cZ.substr(1)
}if(cZ.indexOf(".")===0){cZ=cZ.substr(1)}cZ="http://"+cZ}c0.href=v.toAbsoluteUrl(cZ);if(c0.pathname){return c0.pathname}return""}function aV(c0,cZ){if(!ae(cZ,"/")){cZ="/"+cZ}if(!ae(c0,"/")){c0="/"+c0}var c1=(cZ==="/"||cZ==="/*");if(c1){return true}if(c0===cZ){return true}cZ=String(cZ).toLowerCase();c0=String(c0).toLowerCase();if(Q(cZ,"*")){cZ=cZ.slice(0,-1);c1=(!cZ||cZ==="/");if(c1){return true}if(c0===cZ){return true}return c0.indexOf(cZ)===0}if(!Q(c0,"/")){c0+="/"}if(!Q(cZ,"/")){cZ+="/"}return c0.indexOf(cZ)===0}function am(c3,c5){var c0,cZ,c1,c2,c4;for(c0=0;c0<aq.length;c0++){c2=K(aq[c0]);c4=b9(aq[c0]);if(ct(c3,c2)&&aV(c5,c4)){return true}}return false}function aN(c2){var c0,cZ,c1;for(c0=0;c0<aq.length;c0++){cZ=K(aq[c0].toLowerCase());if(c2===cZ){return true}if(cZ.slice(0,1)==="."){if(c2===cZ.slice(1)){return true}c1=c2.length-cZ.length;if((c1>0)&&(c2.slice(c1)===cZ)){return true}}}return false}function ce(cZ,c1){cZ=cZ.replace("send_image=0","send_image=1");var c0=new Image(1,1);c0.onload=function(){D=0;
if(typeof c1==="function"){c1()}};c0.src=ax+(ax.indexOf("?")<0?"?":"&")+cZ}function aY(c0){var c4="object"===typeof h&&"function"===typeof h.sendBeacon&&"function"===typeof Blob;if(!c4){return false}var c3={type:"application/x-www-form-urlencoded; charset=UTF-8"};var c2=false;try{var cZ=new Blob([c0],c3);c2=h.sendBeacon(ax,cZ)}catch(c1){return false}return c2}function cM(c0,c1,cZ){if(!I(cZ)||null===cZ){cZ=true}if(m&&aY(c0)){return}setTimeout(function(){if(m&&aY(c0)){return}var c4;try{var c3=S.XMLHttpRequest?new S.XMLHttpRequest():S.ActiveXObject?new ActiveXObject("Microsoft.XMLHTTP"):null;c3.open("POST",ax,true);c3.onreadystatechange=function(){if(this.readyState===4&&!(this.status>=200&&this.status<300)){var c5=m&&aY(c0);if(!c5&&cZ){ce(c0,c1)}}else{if(this.readyState===4&&(typeof c1==="function")){c1()}}};c3.setRequestHeader("Content-Type",cl);c3.send(c0)}catch(c2){c4=m&&aY(c0);if(!c4&&cZ){ce(c0,c1)}}},50)}function b4(c0){var cZ=new Date();var c1=cZ.getTime()+c0;if(!r||c1>r){r=c1}}function cc(cZ){if(b0||!aX){return
}b0=setTimeout(function c0(){b0=null;if(!a4){a4=(!F.hasFocus||F.hasFocus())}if(!a4){cc(aX);return}if(bF()){return}var c1=new Date(),c2=aX-(c1.getTime()-cH);c2=Math.min(aX,c2);cc(c2)},cZ||aX)}function by(){if(!b0){return}clearTimeout(b0);b0=null}function a2(){a4=true;if(bF()){return}cc()}function ar(){by()}function cW(){if(aG||!aX){return}aG=true;ai(S,"focus",a2);ai(S,"blur",ar);cc()}function cp(c3){var c0=new Date();var cZ=c0.getTime();cH=cZ;if(co&&cZ<co){var c1=co-cZ;setTimeout(c3,c1);b4(c1+50);co+=50;return}if(co===false){var c2=800;co=cZ+c2}c3()}function bt(c0,cZ,c1){if(!cA&&c0){cp(function(){if(cR==="POST"||String(c0).length>2000){cM(c0,c1)}else{ce(c0,c1)}b4(cZ)})}if(!aG){cW()}else{cc()}}function b8(cZ){if(cA){return false}return(cZ&&cZ.length)}function cV(c1,cZ){if(!b8(c1)){return}var c0='{"requests":["?'+c1.join('","?')+'"]}';cp(function(){cM(c0,null,false);b4(cZ)})}function aL(cZ){return ba+cZ+"."+bU+"."+be}function bT(){if(bb){return"0"}if(!I(h.cookieEnabled)){var cZ=aL("testcookie");
cU(cZ,"1");return aw(cZ)==="1"?"1":"0"}return h.cookieEnabled?"1":"0"}function a8(){be=bV((cG||cE)+(bf||"/")).slice(0,4)}function bL(){var c0=aL("cvar"),cZ=aw(c0);if(cZ.length){cZ=JSON_PIWIK.parse(cZ);if(U(cZ)){return cZ}}return{}}function cq(){if(aI===false){aI=bL()}}function cB(){return bV((h.userAgent||"")+(h.platform||"")+JSON_PIWIK.stringify(cP)+(new Date()).getTime()+Math.random()).slice(0,16)}function at(){return bV((h.userAgent||"")+(h.platform||"")+JSON_PIWIK.stringify(cP)).slice(0,6)}function a6(){return Math.floor((new Date()).getTime()/1000)}function aC(){var c0=a6();var c1=at();var cZ=String(c0)+c1;return cZ}function cL(c1){c1=String(c1);var c4=at();var c2=c4.length;var c3=c1.substr(-1*c2,c2);var c0=parseInt(c1.substr(0,c1.length-c2),10);if(c0&&c3&&c3===c4){var cZ=a6();if(aR<=0){return true}if(cZ>=c0&&cZ<=(c0+aR)){return true}}return false}function cX(cZ){if(!cx){return""}var c3=f(cZ,ap);if(!c3){return""}c3=String(c3);var c1=new RegExp("^[a-zA-Z0-9]+$");if(c3.length===32&&c1.test(c3)){var c0=c3.substr(16,32);
if(cL(c0)){var c2=c3.substr(0,16);return c2}}return""}function cy(){if(!bC){bC=cX(bB)}var c1=new Date(),cZ=Math.round(c1.getTime()/1000),c0=aL("id"),c4=aw(c0),c3,c2;if(c4){c3=c4.split(".");c3.unshift("0");if(bC.length){c3[1]=bC}return c3}if(bC.length){c2=bC}else{if("0"===bT()){c2=""}else{c2=cB()}}c3=["1",c2,cZ,0,cZ,"",""];return c3}function aP(){var c6=cy(),c2=c6[0],c3=c6[1],c0=c6[2],cZ=c6[3],c4=c6[4],c1=c6[5];if(!I(c6[6])){c6[6]=""}var c5=c6[6];return{newVisitor:c2,uuid:c3,createTs:c0,visitCount:cZ,currentVisitTs:c4,lastVisitTs:c1,lastEcommerceOrderTs:c5}}function aA(){var c2=new Date(),c0=c2.getTime(),c3=aP().createTs;var cZ=parseInt(c3,10);var c1=(cZ*1000)+cv-c0;return c1}function aE(cZ){if(!bU){return}var c1=new Date(),c0=Math.round(c1.getTime()/1000);if(!I(cZ)){cZ=aP()}var c2=cZ.uuid+"."+cZ.createTs+"."+cZ.visitCount+"."+c0+"."+cZ.lastVisitTs+"."+cZ.lastEcommerceOrderTs;cU(aL("id"),c2,aA(),bf,cG,bG)}function bA(){var cZ=aw(aL("ref"));if(cZ.length){try{cZ=JSON_PIWIK.parse(cZ);if(U(cZ)){return cZ
}}catch(c0){}}return["","",0,""]}function bM(c1,c0,cZ){cU(c1,"",-86400,c0,cZ)}function bm(c0){var cZ="testvalue";cU("test",cZ,10000,null,c0);if(aw("test")===cZ){bM("test",null,c0);return true}return false}function ay(){var c0=bb;bb=false;var cZ,c1;for(cZ=0;cZ<bk.length;cZ++){c1=aL(bk[cZ]);if(0!==aw(c1)){bM(c1,bf,cG)}}bb=c0}function bR(cZ){bU=cZ;aE()}function cY(c3){if(!c3||!U(c3)){return}var c2=[];var c1;for(c1 in c3){if(Object.prototype.hasOwnProperty.call(c3,c1)){c2.push(c1)}}var c4={};c2.sort();var cZ=c2.length;var c0;for(c0=0;c0<cZ;c0++){c4[c2[c0]]=c3[c2[c0]]}return c4}function b1(){cU(aL("ses"),"*",cd,bf,cG,bG)}function a7(){var c2="";var c0="abcdefghijklmnopqrstuvwxyz0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ";var c1=c0.length;var cZ;for(cZ=0;cZ<6;cZ++){c2+=c0.charAt(Math.floor(Math.random()*c1))}return c2}function ch(c1,dm,dn,c2){var dl,c0=new Date(),c9=Math.round(c0.getTime()/1000),c6,dk,c3=1024,dt,da,di=aI,c4=aL("ses"),dg=aL("ref"),dd=aL("cvar"),de=aw(c4),dj=bA(),dq=aW||bB,c7,cZ;if(bb){ay()
}if(cA){return""}var df=aP();if(!I(c2)){c2=""}var dc=F.characterSet||F.charset;if(!dc||dc.toLowerCase()==="utf-8"){dc=null}c7=dj[0];cZ=dj[1];c6=dj[2];dk=dj[3];if(!de){var dp=cd/1000;if(!df.lastVisitTs||(c9-df.lastVisitTs)>dp){df.visitCount++;df.lastVisitTs=df.currentVisitTs}if(!bl||!c7.length){for(dl in cf){if(Object.prototype.hasOwnProperty.call(cf,dl)){c7=f(dq,cf[dl]);if(c7.length){break}}}for(dl in bu){if(Object.prototype.hasOwnProperty.call(bu,dl)){cZ=f(dq,bu[dl]);if(cZ.length){break}}}}dt=d(bd);da=dk.length?d(dk):"";if(dt.length&&!aN(dt)&&(!bl||!da.length||aN(da))){dk=bd}if(dk.length||c7.length){c6=c9;dj=[c7,cZ,c6,bQ(dk.slice(0,c3))];cU(dg,JSON_PIWIK.stringify(dj),cN,bf,cG)}}c1+="&idsite="+bU+"&rec=1&r="+String(Math.random()).slice(2,8)+"&h="+c0.getHours()+"&m="+c0.getMinutes()+"&s="+c0.getSeconds()+"&url="+t(bQ(dq))+(bd.length?"&urlref="+t(bQ(bd)):"")+((bo&&bo.length)?"&uid="+t(bo):"")+"&_id="+df.uuid+"&_idts="+df.createTs+"&_idvc="+df.visitCount+"&_idn="+df.newVisitor+(c7.length?"&_rcn="+t(c7):"")+(cZ.length?"&_rck="+t(cZ):"")+"&_refts="+c6+"&_viewts="+df.lastVisitTs+(String(df.lastEcommerceOrderTs).length?"&_ects="+df.lastEcommerceOrderTs:"")+(String(dk).length?"&_ref="+t(bQ(dk.slice(0,c3))):"")+(dc?"&cs="+t(dc):"")+"&send_image=0";
for(dl in cP){if(Object.prototype.hasOwnProperty.call(cP,dl)){c1+="&"+dl+"="+cP[dl]}}var ds=[];if(dm){for(dl in dm){if(Object.prototype.hasOwnProperty.call(dm,dl)&&/^dimension\d+$/.test(dl)){var c5=dl.replace("dimension","");ds.push(parseInt(c5,10));ds.push(String(c5));c1+="&"+dl+"="+dm[dl];delete dm[dl]}}}if(dm&&A(dm)){dm=null}for(dl in bc){if(Object.prototype.hasOwnProperty.call(bc,dl)){var db=(-1===L(ds,dl));if(db){c1+="&dimension"+dl+"="+bc[dl]}}}if(dm){c1+="&data="+t(JSON_PIWIK.stringify(dm))}else{if(aj){c1+="&data="+t(JSON_PIWIK.stringify(aj))}}function c8(du,dv){var dw=JSON_PIWIK.stringify(du);if(dw.length>2){return"&"+dv+"="+t(dw)}return""}var dr=cY(bK);var dh=cY(ca);c1+=c8(dr,"cvar");c1+=c8(dh,"e_cvar");if(aI){c1+=c8(aI,"_cvar");for(dl in di){if(Object.prototype.hasOwnProperty.call(di,dl)){if(aI[dl][0]===""||aI[dl][1]===""){delete aI[dl]}}}if(bE){cU(dd,JSON_PIWIK.stringify(aI),cd,bf,cG)}}if(aU){if(cb){c1+="&gt_ms="+cb}else{if(i&&i.timing&&i.timing.requestStart&&i.timing.responseEnd){c1+="&gt_ms="+(i.timing.responseEnd-i.timing.requestStart)
}}}if(aD){c1+="&pv_id="+aD}df.lastEcommerceOrderTs=I(c2)&&String(c2).length?c2:df.lastEcommerceOrderTs;aE(df);b1();c1+=Y(dn,{tracker:bw,request:c1});if(cI.length){c1+="&"+cI}if(z(bZ)){c1=bZ(c1)}return c1}bF=function aZ(){var cZ=new Date();if(cH+aX<=cZ.getTime()){var c0=ch("ping=1",null,"ping");bt(c0,bx);return true}return false};function bg(c2,c1,c7,c3,cZ,da){var c5="idgoal=0",c6,c0=new Date(),c8=[],c9,c4=String(c2).length;if(c4){c5+="&ec_id="+t(c2);c6=Math.round(c0.getTime()/1000)}c5+="&revenue="+c1;if(String(c7).length){c5+="&ec_st="+c7}if(String(c3).length){c5+="&ec_tx="+c3}if(String(cZ).length){c5+="&ec_sh="+cZ}if(String(da).length){c5+="&ec_dt="+da}if(cJ){for(c9 in cJ){if(Object.prototype.hasOwnProperty.call(cJ,c9)){if(!I(cJ[c9][1])){cJ[c9][1]=""}if(!I(cJ[c9][2])){cJ[c9][2]=""}if(!I(cJ[c9][3])||String(cJ[c9][3]).length===0){cJ[c9][3]=0}if(!I(cJ[c9][4])||String(cJ[c9][4]).length===0){cJ[c9][4]=1}c8.push(cJ[c9])}}c5+="&ec_items="+t(JSON_PIWIK.stringify(c8))}c5=ch(c5,aj,"ecommerce",c6);
bt(c5,bx);if(c4){cJ={}}}function bN(cZ,c3,c2,c1,c0,c4){if(String(cZ).length&&I(c3)){bg(cZ,c3,c2,c1,c0,c4)}}function bi(cZ){if(I(cZ)){bg("",cZ,"","","","")}}function bO(c0,c2,c1){aD=a7();var cZ=ch("action_name="+t(ag(c0||a9)),c2,"log");bt(cZ,bx,c1)}function aS(c1,c0){var c2,cZ="(^| )(piwik[_-]"+c0;if(c1){for(c2=0;c2<c1.length;c2++){cZ+="|"+c1[c2]}}cZ+=")( |$)";return new RegExp(cZ)}function aM(cZ){return(ax&&cZ&&0===String(cZ).indexOf(ax))}function ci(c3,cZ,c4,c0){if(aM(cZ)){return 0}var c2=aS(bz,"download"),c1=aS(a0,"link"),c5=new RegExp("\\.("+cO.join("|")+")([?&#]|$)","i");if(c1.test(c3)){return"link"}if(c0||c2.test(c3)||c5.test(cZ)){return"download"}if(c4){return 0}return"link"}function ao(c0){var cZ;cZ=c0.parentNode;while(cZ!==null&&I(cZ)){if(aa.isLinkElement(c0)){break}c0=cZ;cZ=c0.parentNode}return c0}function cT(c4){c4=ao(c4);if(!aa.hasNodeAttribute(c4,"href")){return}if(!I(c4.href)){return}var c3=aa.getAttributeValueFromNode(c4,"href");if(aM(c3)){return}var c0=c4.pathname||b9(c4.href);
var c5=c4.hostname||d(c4.href);var c6=c5.toLowerCase();var c1=c4.href.replace(c5,c6);var c2=new RegExp("^(javascript|vbscript|jscript|mocha|livescript|ecmascript|mailto|tel):","i");if(!c2.test(c1)){var cZ=ci(c4.className,c1,am(c6,c0),aa.hasNodeAttribute(c4,"download"));if(cZ){return{type:cZ,href:c1}}}}function aH(cZ,c0,c1,c2){var c3=v.buildInteractionRequestParams(cZ,c0,c1,c2);if(!c3){return}return ch(c3,null,"contentInteraction")}function cw(c1,c2,c6,cZ,c0){if(!I(c1)){return}if(aM(c1)){return c1}var c4=v.toAbsoluteUrl(c1);var c3="redirecturl="+t(c4)+"&";c3+=aH(c2,c6,cZ,(c0||c1));var c5="&";if(ax.indexOf("?")<0){c5="?"}return ax+c5+c3}function a3(cZ,c0){if(!cZ||!c0){return false}var c1=v.findTargetNode(cZ);if(v.shouldIgnoreInteraction(c1)){return false}c1=v.findTargetNodeNoDefault(cZ);if(c1&&!T(c1,c0)){return false}return true}function cj(c1,c0,c3){if(!c1){return}var cZ=v.findParentContentNode(c1);if(!cZ){return}if(!a3(cZ,c1)){return}var c2=v.buildContentBlock(cZ);if(!c2){return}if(!c2.target&&c3){c2.target=c3
}return v.buildInteractionRequestParams(c0,c2.name,c2.piece,c2.target)}function aO(c0){if(!bY||!bY.length){return false}var cZ,c1;for(cZ=0;cZ<bY.length;cZ++){c1=bY[cZ];if(c1&&c1.name===c0.name&&c1.piece===c0.piece&&c1.target===c0.target){return true}}return false}function bs(c2){if(!c2){return false}var c5=v.findTargetNode(c2);if(!c5||v.shouldIgnoreInteraction(c5)){return false}var c6=cT(c5);if(cQ&&c6&&c6.type){return false}if(aa.isLinkElement(c5)&&aa.hasNodeAttributeWithValue(c5,"href")){var cZ=String(aa.getAttributeValueFromNode(c5,"href"));if(0===cZ.indexOf("#")){return false}if(aM(cZ)){return true}if(!v.isUrlToCurrentDomain(cZ)){return false}var c3=v.buildContentBlock(c2);if(!c3){return}var c1=c3.name;var c7=c3.piece;var c4=c3.target;if(!aa.hasNodeAttributeWithValue(c5,v.CONTENT_TARGET_ATTR)||c5.wasContentTargetAttrReplaced){c5.wasContentTargetAttrReplaced=true;c4=v.toAbsoluteUrl(cZ);aa.setAnyAttribute(c5,v.CONTENT_TARGET_ATTR,c4)}var c0=cw(cZ,"click",c1,c7,c4);v.setHrefAttribute(c5,c0);
return true}return false}function aF(c0){if(!c0||!c0.length){return}var cZ;for(cZ=0;cZ<c0.length;cZ++){bs(c0[cZ])}}function aQ(cZ){return function(c0){if(!cZ){return}var c3=v.findParentContentNode(cZ);var c4;if(c0){c4=c0.target||c0.srcElement}if(!c4){c4=cZ}if(!a3(c3,c4)){return}b4(bx);if(aa.isLinkElement(cZ)&&aa.hasNodeAttributeWithValue(cZ,"href")&&aa.hasNodeAttributeWithValue(cZ,v.CONTENT_TARGET_ATTR)){var c1=aa.getAttributeValueFromNode(cZ,"href");if(!aM(c1)&&cZ.wasContentTargetAttrReplaced){aa.setAnyAttribute(cZ,v.CONTENT_TARGET_ATTR,"")}}var c8=cT(cZ);if(ak&&c8&&c8.type){return c8.type}if(bs(c3)){return"href"}var c5=v.buildContentBlock(c3);if(!c5){return}var c2=c5.name;var c9=c5.piece;var c7=c5.target;var c6=aH("click",c2,c9,c7);bt(c6,bx);return c6}}function bP(c1){if(!c1||!c1.length){return}var cZ,c0;for(cZ=0;cZ<c1.length;cZ++){c0=v.findTargetNode(c1[cZ]);if(c0&&!c0.contentInteractionTrackingSetupDone){c0.contentInteractionTrackingSetupDone=true;ai(c0,"click",aQ(c0))}}}function bn(c1,c2){if(!c1||!c1.length){return[]
}var cZ,c0;for(cZ=0;cZ<c1.length;cZ++){if(aO(c1[cZ])){c1.splice(cZ,1);cZ--}else{bY.push(c1[cZ])}}if(!c1||!c1.length){return[]}aF(c2);bP(c2);var c3=[];for(cZ=0;cZ<c1.length;cZ++){c0=ch(v.buildImpressionRequestParams(c1[cZ].name,c1[cZ].piece,c1[cZ].target),undefined,"contentImpressions");if(c0){c3.push(c0)}}return c3}function cn(c0){var cZ=v.collectContent(c0);return bn(cZ,c0)}function a1(c0){if(!c0||!c0.length){return[]}var cZ;for(cZ=0;cZ<c0.length;cZ++){if(!v.isNodeVisible(c0[cZ])){c0.splice(cZ,1);cZ--}}if(!c0||!c0.length){return[]}return cn(c0)}function az(c1,cZ,c0){var c2=v.buildImpressionRequestParams(c1,cZ,c0);return ch(c2,null,"contentImpression")}function cS(c2,c0){if(!c2){return}var cZ=v.findParentContentNode(c2);var c1=v.buildContentBlock(cZ);if(!c1){return}if(!c0){c0="Unknown"}return aH(c0,c1.name,c1.piece,c1.target)}function cz(c0,c2,cZ,c1){return"e_c="+t(c0)+"&e_a="+t(c2)+(I(cZ)?"&e_n="+t(cZ):"")+(I(c1)?"&e_v="+t(c1):"")}function an(c1,c3,cZ,c2,c5,c4){if(a(String(c1)).length===0||a(String(c3)).length===0){af("Error while logging event: Parameters `category` and `action` must not be empty or filled with whitespaces");
return false}var c0=ch(cz(c1,c3,cZ,c2),c5,"event");bt(c0,bx,c4)}function bW(cZ,c2,c0,c3){var c1=ch("search="+t(cZ)+(c2?"&search_cat="+t(c2):"")+(I(c0)?"&search_count="+c0:""),c3,"sitesearch");bt(c1,bx)}function cD(cZ,c2,c1){var c0=ch("idgoal="+cZ+(c2?"&revenue="+c2:""),c1,"goal");bt(c0,bx)}function cK(c2,cZ,c6,c5,c1){var c4=cZ+"="+t(bQ(c2));var c0=cj(c1,"click",c2);if(c0){c4+="&"+c0}var c3=ch(c4,c6,"link");bt(c3,bx,c5)}function bI(c0,cZ){if(c0!==""){return c0+cZ.charAt(0).toUpperCase()+cZ.slice(1)}return cZ}function b5(c4){var c3,cZ,c2=["","webkit","ms","moz"],c1;if(!a5){for(cZ=0;cZ<c2.length;cZ++){c1=c2[cZ];if(Object.prototype.hasOwnProperty.call(F,bI(c1,"hidden"))){if(F[bI(c1,"visibilityState")]==="prerender"){c3=true}break}}}if(c3){ai(F,c1+"visibilitychange",function c0(){F.removeEventListener(c1+"visibilitychange",c0,false);c4()});return}c4()}function bh(){var c0=aP().uuid;var cZ=aC();return c0+cZ}function b7(cZ){if(!cZ){return}if(!aa.hasNodeAttribute(cZ,"href")){return}var c0=aa.getAttributeValueFromNode(cZ,"href");
if(!c0||aM(c0)){return}c0=k(c0,ap);if(c0.indexOf("?")>0){c0+="&"}else{c0+="?"}var c1=bh();c0=E(c0,ap,c1);aa.setAnyAttribute(cZ,"href",c0)}function au(c2){var c3=aa.getAttributeValueFromNode(c2,"href");if(!c3){return false}c3=String(c3);var c0=c3.indexOf("//")===0||c3.indexOf("http://")===0||c3.indexOf("https://")===0;if(!c0){return false}var cZ=c2.pathname||b9(c2.href);var c1=(c2.hostname||d(c2.href)).toLowerCase();if(am(c1,cZ)){if(!ct(cE,K(c1))){return true}return false}return false}function cs(cZ){var c0=cT(cZ);if(c0&&c0.type){c0.href=p(c0.href);cK(c0.href,c0.type,undefined,null,cZ);return}if(cx){cZ=ao(cZ);if(au(cZ)){b7(cZ)}}}function ck(){return F.all&&!F.addEventListener}function cF(cZ){var c1=cZ.which;var c0=(typeof cZ.button);if(!c1&&c0!=="undefined"){if(ck()){if(cZ.button&1){c1=1}else{if(cZ.button&2){c1=3}else{if(cZ.button&4){c1=2}}}}else{if(cZ.button===0||cZ.button==="0"){c1=1}else{if(cZ.button&1){c1=2}else{if(cZ.button&2){c1=3}}}}}return c1}function bH(cZ){switch(cF(cZ)){case 1:return"left";
case 2:return"middle";case 3:return"right"}}function aT(cZ){return cZ.target||cZ.srcElement}function av(cZ){return function(c2){c2=c2||S.event;var c1=bH(c2);var c3=aT(c2);if(c2.type==="click"){var c0=false;if(cZ&&c1==="middle"){c0=true}if(c3&&!c0){cs(c3)}}else{if(c2.type==="mousedown"){if(c1==="middle"&&c3){aJ=c1;bq=c3}else{aJ=bq=null}}else{if(c2.type==="mouseup"){if(c1===aJ&&c3===bq){cs(c3)}aJ=bq=null}else{if(c2.type==="contextmenu"){cs(c3)}}}}}}function al(c1,c0){var cZ=typeof c0;if(cZ==="undefined"){c0=true}ai(c1,"click",av(c0),false);if(c0){ai(c1,"mouseup",av(c0),false);ai(c1,"mousedown",av(c0),false);ai(c1,"contextmenu",av(c0),false)}}function br(c1,c3){ak=true;var c2,c0=aS(bp,"ignore"),c4=F.links,cZ=null,c5=null;if(c4){for(c2=0;c2<c4.length;c2++){cZ=c4[c2];if(!c0.test(cZ.className)){c5=typeof cZ.piwikTrackers;if("undefined"===c5){cZ.piwikTrackers=[]}if(-1===L(cZ.piwikTrackers,c3)){cZ.piwikTrackers.push(c3);al(cZ,c1)}}}}}function aK(c0,c3,c4){if(b3){return true}b3=true;var c5=false;
var c2,c1;function cZ(){c5=true}n(function(){function c6(c8){setTimeout(function(){if(!b3){return}c5=false;c4.trackVisibleContentImpressions();c6(c8)},c8)}function c7(c8){setTimeout(function(){if(!b3){return}if(c5){c5=false;c4.trackVisibleContentImpressions()}c7(c8)},c8)}if(c0){c2=["scroll","resize"];for(c1=0;c1<c2.length;c1++){if(F.addEventListener){F.addEventListener(c2[c1],cZ)}else{S.attachEvent("on"+c2[c1],cZ)}}c7(100)}if(c3&&c3>0){c3=parseInt(c3,10);c6(c3)}})}function cr(){var c0,c2,c3={pdf:"application/pdf",qt:"video/quicktime",realp:"audio/x-pn-realaudio-plugin",wma:"application/x-mplayer2",dir:"application/x-director",fla:"application/x-shockwave-flash",java:"application/x-java-vm",gears:"application/x-googlegears",ag:"application/x-silverlight"};if(!((new RegExp("MSIE")).test(h.userAgent))){if(h.mimeTypes&&h.mimeTypes.length){for(c0 in c3){if(Object.prototype.hasOwnProperty.call(c3,c0)){c2=h.mimeTypes[c3[c0]];cP[c0]=(c2&&c2.enabledPlugin)?"1":"0"}}}if(!((new RegExp("Edge[ /](\\d+[\\.\\d]+)")).test(h.userAgent))&&typeof navigator.javaEnabled!=="unknown"&&I(h.javaEnabled)&&h.javaEnabled()){cP.java="1"
}if(z(S.GearsFactory)){cP.gears="1"}cP.cookie=bT()}var c1=parseInt(V.width,10);var cZ=parseInt(V.height,10);cP.res=parseInt(c1,10)+"x"+parseInt(cZ,10)}cr();a8();aE();this.getVisitorId=function(){return aP().uuid};this.getVisitorInfo=function(){return cy()};this.getAttributionInfo=function(){return bA()};this.getAttributionCampaignName=function(){return bA()[0]};this.getAttributionCampaignKeyword=function(){return bA()[1]};this.getAttributionReferrerTimestamp=function(){return bA()[2]};this.getAttributionReferrerUrl=function(){return bA()[3]};this.setTrackerUrl=function(cZ){ax=cZ};this.getTrackerUrl=function(){return ax};this.getPiwikUrl=function(){return N(this.getTrackerUrl(),bv)};this.addTracker=function(cZ,c1){if(!c1){throw new Error("A siteId must be given to add a new tracker")}if(!I(cZ)||null===cZ){cZ=this.getTrackerUrl()}var c0=new P(cZ,c1);H.push(c0);return c0};this.getSiteId=function(){return bU};this.setSiteId=function(cZ){bR(cZ)};this.resetUserId=function(){bo="";bC=cB()};this.setUserId=function(cZ){if(!I(cZ)||!cZ.length){return
}bo=cZ;bC=bV(bo).substr(0,16)};this.getUserId=function(){return bo};this.setCustomData=function(cZ,c0){if(U(cZ)){aj=cZ}else{if(!aj){aj={}}aj[cZ]=c0}};this.getCustomData=function(){return aj};this.setCustomRequestProcessing=function(cZ){bZ=cZ};this.appendToTrackingUrl=function(cZ){cI=cZ};this.getRequest=function(cZ){return ch(cZ)};this.addPlugin=function(cZ,c0){b[cZ]=c0};this.setCustomDimension=function(cZ,c0){cZ=parseInt(cZ,10);if(cZ>0){if(!I(c0)){c0=""}if(!w(c0)){c0=String(c0)}bc[cZ]=c0}};this.getCustomDimension=function(cZ){cZ=parseInt(cZ,10);if(cZ>0&&Object.prototype.hasOwnProperty.call(bc,cZ)){return bc[cZ]}};this.deleteCustomDimension=function(cZ){cZ=parseInt(cZ,10);if(cZ>0){delete bc[cZ]}};this.setCustomVariable=function(c0,cZ,c3,c1){var c2;if(!I(c1)){c1="visit"}if(!I(cZ)){return}if(!I(c3)){c3=""}if(c0>0){cZ=!w(cZ)?String(cZ):cZ;c3=!w(c3)?String(c3):c3;c2=[cZ.slice(0,bj),c3.slice(0,bj)];if(c1==="visit"||c1===2){cq();aI[c0]=c2}else{if(c1==="page"||c1===3){bK[c0]=c2}else{if(c1==="event"){ca[c0]=c2
}}}}};this.getCustomVariable=function(c0,c1){var cZ;if(!I(c1)){c1="visit"}if(c1==="page"||c1===3){cZ=bK[c0]}else{if(c1==="event"){cZ=ca[c0]}else{if(c1==="visit"||c1===2){cq();cZ=aI[c0]}}}if(!I(cZ)||(cZ&&cZ[0]==="")){return false}return cZ};this.deleteCustomVariable=function(cZ,c0){if(this.getCustomVariable(cZ,c0)){this.setCustomVariable(cZ,"","",c0)}};this.deleteCustomVariables=function(cZ){if(cZ==="page"||cZ===3){bK={}}else{if(cZ==="event"){ca={}}else{if(cZ==="visit"||cZ===2){aI={}}}}};this.storeCustomVariablesInCookie=function(){bE=true};this.setLinkTrackingTimer=function(cZ){bx=cZ};this.getLinkTrackingTimer=function(){return bx};this.setDownloadExtensions=function(cZ){if(w(cZ)){cZ=cZ.split("|")}cO=cZ};this.addDownloadExtensions=function(c0){var cZ;if(w(c0)){c0=c0.split("|")}for(cZ=0;cZ<c0.length;cZ++){cO.push(c0[cZ])}};this.removeDownloadExtensions=function(c1){var c0,cZ=[];if(w(c1)){c1=c1.split("|")}for(c0=0;c0<cO.length;c0++){if(L(c1,cO[c0])===-1){cZ.push(cO[c0])}}cO=cZ};this.setDomains=function(cZ){aq=w(cZ)?[cZ]:cZ;
var c3=false,c1=0,c0;for(c1;c1<aq.length;c1++){c0=String(aq[c1]);if(ct(cE,K(c0))){c3=true;break}var c2=b9(c0);if(c2&&c2!=="/"&&c2!=="/*"){c3=true;break}}if(!c3){aq.push(cE)}};this.enableCrossDomainLinking=function(){cx=true};this.disableCrossDomainLinking=function(){cx=false};this.isCrossDomainLinkingEnabled=function(){return cx};this.setCrossDomainLinkingTimeout=function(cZ){aR=cZ};this.getCrossDomainLinkingUrlParameter=function(){return t(ap)+"="+t(bh())};this.setIgnoreClasses=function(cZ){bp=w(cZ)?[cZ]:cZ};this.setRequestMethod=function(cZ){cR=cZ||b6};this.setRequestContentType=function(cZ){cl=cZ||aB};this.setReferrerUrl=function(cZ){bd=cZ};this.setCustomUrl=function(cZ){aW=bJ(bB,cZ)};this.getCurrentUrl=function(){return aW||bB};this.setDocumentTitle=function(cZ){a9=cZ};this.setAPIUrl=function(cZ){bv=cZ};this.setDownloadClasses=function(cZ){bz=w(cZ)?[cZ]:cZ};this.setLinkClasses=function(cZ){a0=w(cZ)?[cZ]:cZ};this.setCampaignNameKey=function(cZ){cf=w(cZ)?[cZ]:cZ};this.setCampaignKeywordKey=function(cZ){bu=w(cZ)?[cZ]:cZ
};this.discardHashTag=function(cZ){bD=cZ};this.setCookieNamePrefix=function(cZ){ba=cZ;aI=bL()};this.setCookieDomain=function(cZ){var c0=K(cZ);if(bm(c0)){cG=c0;a8()}};this.getCookieDomain=function(){return cG};this.hasCookies=function(){return"1"===bT()};this.setSessionCookie=function(c1,c0,cZ){if(!c1){throw new Error("Missing cookie name")}if(!I(cZ)){cZ=cd}bk.push(c1);cU(aL(c1),c0,cZ,bf,cG)};this.getCookie=function(c0){var cZ=aw(aL(c0));if(cZ===0){return null}return cZ};this.setCookiePath=function(cZ){bf=cZ;a8()};this.getCookiePath=function(cZ){return bf};this.setVisitorCookieTimeout=function(cZ){cv=cZ*1000};this.setSessionCookieTimeout=function(cZ){cd=cZ*1000};this.getSessionCookieTimeout=function(){return cd};this.setReferralCookieTimeout=function(cZ){cN=cZ*1000};this.setConversionAttributionFirstReferrer=function(cZ){bl=cZ};this.setSecureCookie=function(cZ){bG=cZ};this.disableCookies=function(){bb=true;cP.cookie="0";if(bU){ay()}};this.deleteCookies=function(){ay()};this.setDoNotTrack=function(c0){var cZ=h.doNotTrack||h.msDoNotTrack;
cA=c0&&(cZ==="yes"||cZ==="1");if(cA){this.disableCookies()}};this.addListener=function(c0,cZ){al(c0,cZ)};this.enableLinkTracking=function(c0){cQ=true;var cZ=this;b5(function(){q(function(){br(c0,cZ)})})};this.enableJSErrorTracking=function(){if(cC){return}cC=true;var cZ=S.onerror;S.onerror=function(c4,c2,c1,c3,c0){b5(function(){var c5="JavaScript Errors";var c6=c2+":"+c1;if(c3){c6+=":"+c3}an(c5,c6,c4)});if(cZ){return cZ(c4,c2,c1,c3,c0)}return false}};this.disablePerformanceTracking=function(){aU=false};this.setGenerationTimeMs=function(cZ){cb=parseInt(cZ,10)};this.enableHeartBeatTimer=function(cZ){cZ=Math.max(cZ,1);aX=(cZ||15)*1000;if(cH!==null){cW()}};this.disableHeartBeatTimer=function(){by();if(aX||aG){if(S.removeEventListener){S.removeEventListener("focus",a2,true);S.removeEventListener("blur",ar,true)}else{if(S.detachEvent){S.detachEvent("onfocus",a2);S.detachEvent("onblur",ar)}}}aX=null;aG=false};this.killFrame=function(){if(S.location!==S.top.location){S.top.location=S.location}};
this.redirectFile=function(cZ){if(S.location.protocol==="file:"){S.location=cZ}};this.setCountPreRendered=function(cZ){a5=cZ};this.trackGoal=function(cZ,c1,c0){b5(function(){cD(cZ,c1,c0)})};this.trackLink=function(c0,cZ,c2,c1){b5(function(){cK(c0,cZ,c2,c1)})};this.getNumTrackedPageViews=function(){return cg};this.trackPageView=function(cZ,c1,c0){bY=[];if(M(bU)){b5(function(){W(ax,bv,bU)})}else{b5(function(){cg++;bO(cZ,c1,c0)})}};this.trackAllContentImpressions=function(){if(M(bU)){return}b5(function(){q(function(){var cZ=v.findContentNodes();var c0=cn(cZ);cV(c0,bx)})})};this.trackVisibleContentImpressions=function(cZ,c0){if(M(bU)){return}if(!I(cZ)){cZ=true}if(!I(c0)){c0=750}aK(cZ,c0,this);b5(function(){n(function(){var c1=v.findContentNodes();var c2=a1(c1);cV(c2,bx)})})};this.trackContentImpression=function(c1,cZ,c0){if(M(bU)){return}c1=a(c1);cZ=a(cZ);c0=a(c0);if(!c1){return}cZ=cZ||"Unknown";b5(function(){var c2=az(c1,cZ,c0);bt(c2,bx)})};this.trackContentImpressionsWithinNode=function(cZ){if(M(bU)||!cZ){return
}b5(function(){if(b3){n(function(){var c0=v.findContentNodesWithinNode(cZ);var c1=a1(c0);cV(c1,bx)})}else{q(function(){var c0=v.findContentNodesWithinNode(cZ);var c1=cn(c0);cV(c1,bx)})}})};this.trackContentInteraction=function(c1,c2,cZ,c0){if(M(bU)){return}c1=a(c1);c2=a(c2);cZ=a(cZ);c0=a(c0);if(!c1||!c2){return}cZ=cZ||"Unknown";b5(function(){var c3=aH(c1,c2,cZ,c0);bt(c3,bx)})};this.trackContentInteractionNode=function(c0,cZ){if(M(bU)||!c0){return}b5(function(){var c1=cS(c0,cZ);bt(c1,bx)})};this.logAllContentBlocksOnPage=function(){var c1=v.findContentNodes();var cZ=v.collectContent(c1);var c0=typeof console;if(c0!=="undefined"&&console&&console.log){console.log(cZ)}};this.trackEvent=function(c0,c2,cZ,c1,c4,c3){b5(function(){an(c0,c2,cZ,c1,c4,c3)})};this.trackSiteSearch=function(cZ,c1,c0,c2){b5(function(){bW(cZ,c1,c0,c2)})};this.setEcommerceView=function(c2,cZ,c1,c0){if(!I(c1)||!c1.length){c1=""}else{if(c1 instanceof Array){c1=JSON_PIWIK.stringify(c1)}}bK[5]=["_pkc",c1];if(I(c0)&&String(c0).length){bK[2]=["_pkp",c0]
}if((!I(c2)||!c2.length)&&(!I(cZ)||!cZ.length)){return}if(I(c2)&&c2.length){bK[3]=["_pks",c2]}if(!I(cZ)||!cZ.length){cZ=""}bK[4]=["_pkn",cZ]};this.addEcommerceItem=function(c3,cZ,c1,c0,c2){if(c3.length){cJ[c3]=[c3,cZ,c1,c0,c2]}};this.trackEcommerceOrder=function(cZ,c3,c2,c1,c0,c4){bN(cZ,c3,c2,c1,c0,c4)};this.trackEcommerceCartUpdate=function(cZ){bi(cZ)};this.trackRequest=function(c0,c2,c1,cZ){b5(function(){var c3=ch(c0,c2,cZ);bt(c3,bx,c1)})};e.trigger("TrackerSetup",[this])}function G(){return{push:ab}}function c(ao,an){var ap={};var al,am;for(al=0;al<an.length;al++){var aj=an[al];ap[aj]=1;for(am=0;am<ao.length;am++){if(ao[am]&&ao[am][0]){var ak=ao[am][0];if(aj===ak){ab(ao[am]);delete ao[am];if(ap[ak]>1&&ak!=="addTracker"){af("The method "+ak+' is registered more than once in "_paq" variable. Only the last call has an effect. Please have a look at the multiple Piwik trackers documentation: https://developer.piwik.org/guides/tracking-javascript-guide#multiple-piwik-trackers')}ap[ak]++}}}}return ao
}var B=["addTracker","disableCookies","setTrackerUrl","setAPIUrl","enableCrossDomainLinking","setCrossDomainLinkingTimeout","setSecureCookie","setCookiePath","setCookieDomain","setDomains","setUserId","setSiteId","enableLinkTracking"];function Z(aj,al){var ak=new P(aj,al);H.push(ak);_paq=c(_paq,B);for(D=0;D<_paq.length;D++){if(_paq[D]){ab(_paq[D])}}_paq=new G();return ak}ai(S,"beforeunload",ad,false);Date.prototype.getTimeAlias=Date.prototype.getTime;e={initialized:false,JSON:JSON_PIWIK,DOM:{addEventListener:function(am,al,ak,aj){var an=typeof aj;if(an==="undefined"){aj=false}ai(am,al,ak,aj)},onLoad:n,onReady:q,isNodeVisible:j,isOrWasNodeVisible:v.isNodeVisible},on:function(ak,aj){if(!x[ak]){x[ak]=[]}x[ak].push(aj)},off:function(al,ak){if(!x[al]){return}var aj=0;for(aj;aj<x[al].length;aj++){if(x[al][aj]===ak){x[al].splice(aj,1)}}},trigger:function(al,am,ak){if(!x[al]){return}var aj=0;for(aj;aj<x[al].length;aj++){x[al][aj].apply(ak||S,am)}},addPlugin:function(aj,ak){b[aj]=ak},getTracker:function(aj,ak){if(!I(ak)){ak=this.getAsyncTracker().getSiteId()
}if(!I(aj)){aj=this.getAsyncTracker().getTrackerUrl()}return new P(aj,ak)},getAsyncTrackers:function(){return H},addTracker:function(aj,al){var ak;if(!H.length){ak=Z(aj,al)}else{ak=H[0].addTracker(aj,al)}return ak},getAsyncTracker:function(ak,an){var am;if(H&&H.length&&H[0]){am=H[0]}else{return Z(ak,an)}if(!an&&!ak){return am}if((!I(an)||null===an)&&am){an=am.getSiteId()}if((!I(ak)||null===ak)&&am){ak=am.getTrackerUrl()}var al,aj=0;for(aj;aj<H.length;aj++){al=H[aj];if(al&&String(al.getSiteId())===String(an)&&al.getTrackerUrl()===ak){return al}}},retryMissedPluginCalls:function(){var ak=ac;ac=[];var aj=0;for(aj;aj<ak.length;aj++){ab(ak[aj])}}};if(typeof define==="function"&&define.amd){define("piwik",[],function(){return e})}return e}());
/*!!! pluginTrackerHook */
}(function(){function b(){if("object"!==typeof _paq){return false}var c=typeof _paq.length;if("undefined"===c){return false}return !!_paq.length}if(window&&"object"===typeof window.piwikPluginAsyncInit&&window.piwikPluginAsyncInit.length){var a=0;
for(a;a<window.piwikPluginAsyncInit.length;a++){if(typeof window.piwikPluginAsyncInit[a]==="function"){window.piwikPluginAsyncInit[a]()}}}if(window&&window.piwikAsyncInit){window.piwikAsyncInit()}if(!window.Piwik.getAsyncTrackers().length){if(b()){window.Piwik.addTracker()}else{_paq={push:function(c){var d=typeof console;if(d!=="undefined"&&console&&console.error){console.error("_paq.push() was used but Piwik tracker was not initialized before the piwik.js file was loaded. Make sure to configure the tracker via _paq.push before loading piwik.js. Alternatively, you can create a tracker via Piwik.addTracker() manually and then use _paq.push but it may not fully work as tracker methods may not be executed in the correct order.",c)}}}}}window.Piwik.trigger("PiwikInitialized",[]);window.Piwik.initialized=true}());(function(){var a=(typeof AnalyticsTracker);if(a==="undefined"){AnalyticsTracker=window.Piwik}}());if(typeof piwik_log!=="function"){piwik_log=function(b,f,d,g){function a(h){try{if(window["piwik_"+h]){return window["piwik_"+h]
}}catch(i){}return}var c,e=window.Piwik.getTracker(d,f);e.setDocumentTitle(b);e.setCustomData(g);c=a("tracker_pause");if(c){e.setLinkTrackingTimer(c)}c=a("download_extensions");if(c){e.setDownloadExtensions(c)}c=a("hosts_alias");if(c){e.setDomains(c)}c=a("ignore_classes");if(c){e.setIgnoreClasses(c)}e.trackPageView();if(a("install_tracker")){piwik_track=function(i,k,j,h){e.setSiteId(k);e.setTrackerUrl(j);e.trackLink(i,h)};e.enableLinkTracking()}};
/*!! @license-end */
};