/*!!
 * Piwik - free/libre analytics platform
 *
 * JavaScript tracking client
 *
 * @link https://piwik.org
 * @source https://github.com/matomo-org/matomo/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.Matomo=window.Piwik=(function(){var r,b={},y={},G=document,h=navigator,X=screen,T=window,i=T.performance||T.mozPerformance||T.msPerformance||T.webkitPerformance,t=T.encodeURIComponent,S=T.decodeURIComponent,l=unescape,I=[],E,e,ah=[],x=0,ab=0,U=0,m=false;
function p(ao){try{return S(ao)}catch(ap){return unescape(ao)}}function J(ap){var ao=typeof ap;return ao!=="undefined"}function A(ao){return typeof ao==="function"}function W(ao){return typeof ao==="object"}function w(ao){return typeof ao==="string"||ao instanceof String}function ag(ao){return typeof ao==="number"||ao instanceof Number}function Y(ao){return J(ao)&&(ag(ao)||(w(ao)&&ao.length))}function B(ap){if(!ap){return true}var ao;var aq=true;for(ao in ap){if(Object.prototype.hasOwnProperty.call(ap,ao)){aq=false}}return aq}function ak(ao){var ap=typeof console;if(ap!=="undefined"&&console&&console.error){console.error(ao)}}function af(){var au,at,aw,ap,ao;for(au=0;au<arguments.length;au+=1){ao=null;if(arguments[au]&&arguments[au].slice){ao=arguments[au].slice()}ap=arguments[au];aw=ap.shift();var av,aq;var ar=w(aw)&&aw.indexOf("::")>0;if(ar){av=aw.split("::");aq=av[0];aw=av[1];if("object"===typeof e[aq]&&"function"===typeof e[aq][aw]){e[aq][aw].apply(e[aq],ap)}else{if(ao){ah.push(ao)}}}else{for(at=0;
at<I.length;at++){if(w(aw)){aq=I[at];var ax=aw.indexOf(".")>0;if(ax){av=aw.split(".");if(aq&&"object"===typeof aq[av[0]]){aq=aq[av[0]];aw=av[1]}else{if(ao){ah.push(ao);break}}}if(aq[aw]){aq[aw].apply(aq,ap)}else{var ay="The method '"+aw+'\' was not found in "_paq" variable.  Please have a look at the Piwik tracker documentation: https://developer.piwik.org/api-reference/tracking-javascript';ak(ay);if(!ax){throw new TypeError(ay)}}if(aw==="addTracker"){break}if(aw==="setTrackerUrl"||aw==="setSiteId"){break}}else{aw.apply(I[at],ap)}}}}}function an(ar,aq,ap,ao){if(ar.addEventListener){ar.addEventListener(aq,ap,ao);return true}if(ar.attachEvent){return ar.attachEvent("on"+aq,ap)}ar["on"+aq]=ap}function n(ao){if(G.readyState==="complete"){ao()}else{if(T.addEventListener){T.addEventListener("load",ao,false)}else{if(T.attachEvent){T.attachEvent("onload",ao)}}}}function q(ar){var ao=false;if(G.attachEvent){ao=G.readyState==="complete"}else{ao=G.readyState!=="loading"}if(ao){ar();return}var aq;if(G.addEventListener){an(G,"DOMContentLoaded",function ap(){G.removeEventListener("DOMContentLoaded",ap,false);
if(!ao){ao=true;ar()}})}else{if(G.attachEvent){G.attachEvent("onreadystatechange",function ap(){if(G.readyState==="complete"){G.detachEvent("onreadystatechange",ap);if(!ao){ao=true;ar()}}});if(G.documentElement.doScroll&&T===T.top){(function ap(){if(!ao){try{G.documentElement.doScroll("left")}catch(at){setTimeout(ap,0);return}ao=true;ar()}}())}}}an(T,"load",function(){if(!ao){ao=true;ar()}},false)}function ac(ap,av,aw){if(!ap){return""}var ao="",ar,aq,at,au;for(ar in b){if(Object.prototype.hasOwnProperty.call(b,ar)){au=b[ar]&&"function"===typeof b[ar][ap];if(au){aq=b[ar][ap];at=aq(av||{},aw);if(at){ao+=at}}}}return ao}function ai(){var ao;m=true;ac("unload");if(r){do{ao=new Date()}while(ao.getTimeAlias()<r)}}function o(aq,ap){var ao=G.createElement("script");ao.type="text/javascript";ao.src=aq;if(ao.readyState){ao.onreadystatechange=function(){var ar=this.readyState;if(ar==="loaded"||ar==="complete"){ao.onreadystatechange=null;ap()}}}else{ao.onload=ap}G.getElementsByTagName("head")[0].appendChild(ao)
}function K(){var ao="";try{ao=T.top.document.referrer}catch(aq){if(T.parent){try{ao=T.parent.document.referrer}catch(ap){ao=""}}}if(ao===""){ao=G.referrer}return ao}function s(ao){var aq=new RegExp("^([a-z]+):"),ap=aq.exec(ao);return ap?ap[1]:null}function d(ao){var aq=new RegExp("^(?:(?:https?|ftp):)/*(?:[^@]+@)?([^:/#]+)"),ap=aq.exec(ao);return ap?ap[1]:ao}function aj(ap,ao){ap=String(ap);return ap.lastIndexOf(ao,0)===0}function R(ap,ao){ap=String(ap);return ap.indexOf(ao,ap.length-ao.length)!==-1}function z(ap,ao){ap=String(ap);return ap.indexOf(ao)!==-1}function g(ap,ao){ap=String(ap);return ap.substr(0,ap.length-ao)}function F(ar,aq,au){ar=String(ar);if(!au){au=""}var ao=ar.indexOf("#");var av=ar.length;if(ao===-1){ao=av}var at=ar.substr(0,ao);var ap=ar.substr(ao,av-ao);if(at.indexOf("?")===-1){at+="?"}else{if(!R(at,"?")){at+="&"}}return at+t(aq)+"="+t(au)+ap}function k(ap,aq){ap=String(ap);if(ap.indexOf("?"+aq+"=")===-1&&ap.indexOf("&"+aq+"=")===-1){return ap}var ar=ap.indexOf("?");
if(ar===-1){return ap}var ao=ap.substr(ar+1);var aw=ap.substr(0,ar);if(ao){var ax="";var az=ao.indexOf("#");if(az!==-1){ax=ao.substr(az+1);ao=ao.substr(0,az)}var at;var av=ao.split("&");var au=av.length-1;for(au;au>=0;au--){at=av[au].split("=")[0];if(at===aq){av.splice(au,1)}}var ay=av.join("&");if(ay){aw=aw+"?"+ay}if(ax){aw+="#"+ax}}return aw}function f(aq,ap){var ao="[\\?&#]"+ap+"=([^&#]*)";var at=new RegExp(ao);var ar=at.exec(aq);return ar?S(ar[1]):""}function a(ao){if(ao&&String(ao)===ao){return ao.replace(/^\s+|\s+$/g,"")}return ao}function D(ao){return unescape(t(ao))}function am(aE){var aq=function(aK,aJ){return(aK<<aJ)|(aK>>>(32-aJ))},aF=function(aM){var aK="",aL,aJ;for(aL=7;aL>=0;aL--){aJ=(aM>>>(aL*4))&15;aK+=aJ.toString(16)}return aK},au,aH,aG,ap=[],ay=1732584193,aw=4023233417,av=2562383102,at=271733878,ar=3285377520,aD,aC,aB,aA,az,aI,ao,ax=[];aE=D(aE);ao=aE.length;for(aH=0;aH<ao-3;aH+=4){aG=aE.charCodeAt(aH)<<24|aE.charCodeAt(aH+1)<<16|aE.charCodeAt(aH+2)<<8|aE.charCodeAt(aH+3);
ax.push(aG)}switch(ao&3){case 0:aH=2147483648;break;case 1:aH=aE.charCodeAt(ao-1)<<24|8388608;break;case 2:aH=aE.charCodeAt(ao-2)<<24|aE.charCodeAt(ao-1)<<16|32768;break;case 3:aH=aE.charCodeAt(ao-3)<<24|aE.charCodeAt(ao-2)<<16|aE.charCodeAt(ao-1)<<8|128;break}ax.push(aH);while((ax.length&15)!==14){ax.push(0)}ax.push(ao>>>29);ax.push((ao<<3)&4294967295);for(au=0;au<ax.length;au+=16){for(aH=0;aH<16;aH++){ap[aH]=ax[au+aH]}for(aH=16;aH<=79;aH++){ap[aH]=aq(ap[aH-3]^ap[aH-8]^ap[aH-14]^ap[aH-16],1)}aD=ay;aC=aw;aB=av;aA=at;az=ar;for(aH=0;aH<=19;aH++){aI=(aq(aD,5)+((aC&aB)|(~aC&aA))+az+ap[aH]+1518500249)&4294967295;az=aA;aA=aB;aB=aq(aC,30);aC=aD;aD=aI}for(aH=20;aH<=39;aH++){aI=(aq(aD,5)+(aC^aB^aA)+az+ap[aH]+1859775393)&4294967295;az=aA;aA=aB;aB=aq(aC,30);aC=aD;aD=aI}for(aH=40;aH<=59;aH++){aI=(aq(aD,5)+((aC&aB)|(aC&aA)|(aB&aA))+az+ap[aH]+2400959708)&4294967295;az=aA;aA=aB;aB=aq(aC,30);aC=aD;aD=aI}for(aH=60;aH<=79;aH++){aI=(aq(aD,5)+(aC^aB^aA)+az+ap[aH]+3395469782)&4294967295;az=aA;aA=aB;aB=aq(aC,30);
aC=aD;aD=aI}ay=(ay+aD)&4294967295;aw=(aw+aC)&4294967295;av=(av+aB)&4294967295;at=(at+aA)&4294967295;ar=(ar+az)&4294967295}aI=aF(ay)+aF(aw)+aF(av)+aF(at)+aF(ar);return aI.toLowerCase()}function aa(aq,ao,ap){if(!aq){aq=""}if(!ao){ao=""}if(aq==="translate.googleusercontent.com"){if(ap===""){ap=ao}ao=f(ao,"u");aq=d(ao)}else{if(aq==="cc.bingj.com"||aq==="webcache.googleusercontent.com"||aq.slice(0,5)==="74.6."){ao=G.links[0].href;aq=d(ao)}}return[aq,ao,ap]}function L(ap){var ao=ap.length;if(ap.charAt(--ao)==="."){ap=ap.slice(0,ao)}if(ap.slice(0,2)==="*."){ap=ap.slice(1)}if(ap.indexOf("/")!==-1){ap=ap.substr(0,ap.indexOf("/"))}return ap}function al(ap){ap=ap&&ap.text?ap.text:ap;if(!w(ap)){var ao=G.getElementsByTagName("title");if(ao&&J(ao[0])){ap=ao[0].text}}return ap}function P(ao){if(!ao){return[]}if(!J(ao.children)&&J(ao.childNodes)){return ao.children}if(J(ao.children)){return ao.children}return[]}function V(ap,ao){if(!ap||!ao){return false}if(ap.contains){return ap.contains(ao)}if(ap===ao){return true
}if(ap.compareDocumentPosition){return !!(ap.compareDocumentPosition(ao)&16)}return false}function M(aq,ar){if(aq&&aq.indexOf){return aq.indexOf(ar)}if(!J(aq)||aq===null){return -1}if(!aq.length){return -1}var ao=aq.length;if(ao===0){return -1}var ap=0;while(ap<ao){if(aq[ap]===ar){return ap}ap++}return -1}function j(aq){if(!aq){return false}function ao(at,au){if(T.getComputedStyle){return G.defaultView.getComputedStyle(at,null)[au]}if(at.currentStyle){return at.currentStyle[au]}}function ar(at){at=at.parentNode;while(at){if(at===G){return true}at=at.parentNode}return false}function ap(av,aB,at,ay,aw,az,ax){var au=av.parentNode,aA=1;if(!ar(av)){return false}if(9===au.nodeType){return true}if("0"===ao(av,"opacity")||"none"===ao(av,"display")||"hidden"===ao(av,"visibility")){return false}if(!J(aB)||!J(at)||!J(ay)||!J(aw)||!J(az)||!J(ax)){aB=av.offsetTop;aw=av.offsetLeft;ay=aB+av.offsetHeight;at=aw+av.offsetWidth;az=av.offsetWidth;ax=av.offsetHeight}if(aq===av&&(0===ax||0===az)&&"hidden"===ao(av,"overflow")){return false
}if(au){if(("hidden"===ao(au,"overflow")||"scroll"===ao(au,"overflow"))){if(aw+aA>au.offsetWidth+au.scrollLeft||aw+az-aA<au.scrollLeft||aB+aA>au.offsetHeight+au.scrollTop||aB+ax-aA<au.scrollTop){return false}}if(av.offsetParent===au){aw+=au.offsetLeft;aB+=au.offsetTop}return ap(au,aB,at,ay,aw,az,ax)}return true}return ap(aq)}var ae={htmlCollectionToArray:function(aq){var ao=[],ap;if(!aq||!aq.length){return ao}for(ap=0;ap<aq.length;ap++){ao.push(aq[ap])}return ao},find:function(ao){if(!document.querySelectorAll||!ao){return[]}var ap=document.querySelectorAll(ao);return this.htmlCollectionToArray(ap)},findMultiple:function(aq){if(!aq||!aq.length){return[]}var ap,ar;var ao=[];for(ap=0;ap<aq.length;ap++){ar=this.find(aq[ap]);ao=ao.concat(ar)}ao=this.makeNodesUnique(ao);return ao},findNodesByTagName:function(ap,ao){if(!ap||!ao||!ap.getElementsByTagName){return[]}var aq=ap.getElementsByTagName(ao);return this.htmlCollectionToArray(aq)},makeNodesUnique:function(ao){var au=[].concat(ao);ao.sort(function(aw,av){if(aw===av){return 0
}var ay=M(au,aw);var ax=M(au,av);if(ay===ax){return 0}return ay>ax?-1:1});if(ao.length<=1){return ao}var ap=0;var ar=0;var at=[];var aq;aq=ao[ap++];while(aq){if(aq===ao[ap]){ar=at.push(ap)}aq=ao[ap++]||null}while(ar--){ao.splice(at[ar],1)}return ao},getAttributeValueFromNode:function(at,aq){if(!this.hasNodeAttribute(at,aq)){return}if(at&&at.getAttribute){return at.getAttribute(aq)}if(!at||!at.attributes){return}var ar=(typeof at.attributes[aq]);if("undefined"===ar){return}if(at.attributes[aq].value){return at.attributes[aq].value}if(at.attributes[aq].nodeValue){return at.attributes[aq].nodeValue}var ap;var ao=at.attributes;if(!ao){return}for(ap=0;ap<ao.length;ap++){if(ao[ap].nodeName===aq){return ao[ap].nodeValue}}return null},hasNodeAttributeWithValue:function(ap,ao){var aq=this.getAttributeValueFromNode(ap,ao);return !!aq},hasNodeAttribute:function(aq,ao){if(aq&&aq.hasAttribute){return aq.hasAttribute(ao)}if(aq&&aq.attributes){var ap=(typeof aq.attributes[ao]);return"undefined"!==ap}return false
},hasNodeCssClass:function(aq,ao){if(aq&&ao&&aq.className){var ap=typeof aq.className==="string"?aq.className.split(" "):[];if(-1!==M(ap,ao)){return true}}return false},findNodesHavingAttribute:function(at,aq,ao){if(!ao){ao=[]}if(!at||!aq){return ao}var ar=P(at);if(!ar||!ar.length){return ao}var ap,au;for(ap=0;ap<ar.length;ap++){au=ar[ap];if(this.hasNodeAttribute(au,aq)){ao.push(au)}ao=this.findNodesHavingAttribute(au,aq,ao)}return ao},findFirstNodeHavingAttribute:function(aq,ap){if(!aq||!ap){return}if(this.hasNodeAttribute(aq,ap)){return aq}var ao=this.findNodesHavingAttribute(aq,ap);if(ao&&ao.length){return ao[0]}},findFirstNodeHavingAttributeWithValue:function(ar,aq){if(!ar||!aq){return}if(this.hasNodeAttributeWithValue(ar,aq)){return ar}var ao=this.findNodesHavingAttribute(ar,aq);if(!ao||!ao.length){return}var ap;for(ap=0;ap<ao.length;ap++){if(this.getAttributeValueFromNode(ao[ap],aq)){return ao[ap]}}},findNodesHavingCssClass:function(at,ar,ao){if(!ao){ao=[]}if(!at||!ar){return ao}if(at.getElementsByClassName){var au=at.getElementsByClassName(ar);
return this.htmlCollectionToArray(au)}var aq=P(at);if(!aq||!aq.length){return[]}var ap,av;for(ap=0;ap<aq.length;ap++){av=aq[ap];if(this.hasNodeCssClass(av,ar)){ao.push(av)}ao=this.findNodesHavingCssClass(av,ar,ao)}return ao},findFirstNodeHavingClass:function(aq,ap){if(!aq||!ap){return}if(this.hasNodeCssClass(aq,ap)){return aq}var ao=this.findNodesHavingCssClass(aq,ap);if(ao&&ao.length){return ao[0]}},isLinkElement:function(ap){if(!ap){return false}var ao=String(ap.nodeName).toLowerCase();var ar=["a","area"];var aq=M(ar,ao);return aq!==-1},setAnyAttribute:function(ap,ao,aq){if(!ap||!ao){return}if(ap.setAttribute){ap.setAttribute(ao,aq)}else{ap[ao]=aq}}};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 ap="."+this.CONTENT_CLASS;
var ao="["+this.CONTENT_ATTR+"]";var aq=ae.findMultiple([ap,ao]);return aq},findContentNodesWithinNode:function(ar){if(!ar){return[]}var ap=ae.findNodesHavingCssClass(ar,this.CONTENT_CLASS);var ao=ae.findNodesHavingAttribute(ar,this.CONTENT_ATTR);if(ao&&ao.length){var aq;for(aq=0;aq<ao.length;aq++){ap.push(ao[aq])}}if(ae.hasNodeAttribute(ar,this.CONTENT_ATTR)){ap.push(ar)}else{if(ae.hasNodeCssClass(ar,this.CONTENT_CLASS)){ap.push(ar)}}ap=ae.makeNodesUnique(ap);return ap},findParentContentNode:function(ap){if(!ap){return}var aq=ap;var ao=0;while(aq&&aq!==G&&aq.parentNode){if(ae.hasNodeAttribute(aq,this.CONTENT_ATTR)){return aq}if(ae.hasNodeCssClass(aq,this.CONTENT_CLASS)){return aq}aq=aq.parentNode;if(ao>1000){break}ao++}},findPieceNode:function(ap){var ao;ao=ae.findFirstNodeHavingAttribute(ap,this.CONTENT_PIECE_ATTR);if(!ao){ao=ae.findFirstNodeHavingClass(ap,this.CONTENT_PIECE_CLASS)}if(ao){return ao}return ap},findTargetNodeNoDefault:function(ao){if(!ao){return}var ap=ae.findFirstNodeHavingAttributeWithValue(ao,this.CONTENT_TARGET_ATTR);
if(ap){return ap}ap=ae.findFirstNodeHavingAttribute(ao,this.CONTENT_TARGET_ATTR);if(ap){return ap}ap=ae.findFirstNodeHavingClass(ao,this.CONTENT_TARGET_CLASS);if(ap){return ap}},findTargetNode:function(ao){var ap=this.findTargetNodeNoDefault(ao);if(ap){return ap}return ao},findContentName:function(ap){if(!ap){return}var at=ae.findFirstNodeHavingAttributeWithValue(ap,this.CONTENT_NAME_ATTR);if(at){return ae.getAttributeValueFromNode(at,this.CONTENT_NAME_ATTR)}var ao=this.findContentPiece(ap);if(ao){return this.removeDomainIfIsInLink(ao)}if(ae.hasNodeAttributeWithValue(ap,"title")){return ae.getAttributeValueFromNode(ap,"title")}var aq=this.findPieceNode(ap);if(ae.hasNodeAttributeWithValue(aq,"title")){return ae.getAttributeValueFromNode(aq,"title")}var ar=this.findTargetNode(ap);if(ae.hasNodeAttributeWithValue(ar,"title")){return ae.getAttributeValueFromNode(ar,"title")}},findContentPiece:function(ap){if(!ap){return}var ar=ae.findFirstNodeHavingAttributeWithValue(ap,this.CONTENT_PIECE_ATTR);
if(ar){return ae.getAttributeValueFromNode(ar,this.CONTENT_PIECE_ATTR)}var ao=this.findPieceNode(ap);var aq=this.findMediaUrlInNode(ao);if(aq){return this.toAbsoluteUrl(aq)}},findContentTarget:function(aq){if(!aq){return}var ar=this.findTargetNode(aq);if(ae.hasNodeAttributeWithValue(ar,this.CONTENT_TARGET_ATTR)){return ae.getAttributeValueFromNode(ar,this.CONTENT_TARGET_ATTR)}var ap;if(ae.hasNodeAttributeWithValue(ar,"href")){ap=ae.getAttributeValueFromNode(ar,"href");return this.toAbsoluteUrl(ap)}var ao=this.findPieceNode(aq);if(ae.hasNodeAttributeWithValue(ao,"href")){ap=ae.getAttributeValueFromNode(ao,"href");return this.toAbsoluteUrl(ap)}},isSameDomain:function(ao){if(!ao||!ao.indexOf){return false}if(0===ao.indexOf(this.getLocation().origin)){return true}var ap=ao.indexOf(this.getLocation().host);if(8>=ap&&0<=ap){return true}return false},removeDomainIfIsInLink:function(aq){var ap="^https?://[^/]+";var ao="^.*//[^/]+";if(aq&&aq.search&&-1!==aq.search(new RegExp(ap))&&this.isSameDomain(aq)){aq=aq.replace(new RegExp(ao),"");
if(!aq){aq="/"}}return aq},findMediaUrlInNode:function(at){if(!at){return}var aq=["img","embed","video","audio"];var ao=at.nodeName.toLowerCase();if(-1!==M(aq,ao)&&ae.findFirstNodeHavingAttributeWithValue(at,"src")){var ar=ae.findFirstNodeHavingAttributeWithValue(at,"src");return ae.getAttributeValueFromNode(ar,"src")}if(ao==="object"&&ae.hasNodeAttributeWithValue(at,"data")){return ae.getAttributeValueFromNode(at,"data")}if(ao==="object"){var au=ae.findNodesByTagName(at,"param");if(au&&au.length){var ap;for(ap=0;ap<au.length;ap++){if("movie"===ae.getAttributeValueFromNode(au[ap],"name")&&ae.hasNodeAttributeWithValue(au[ap],"value")){return ae.getAttributeValueFromNode(au[ap],"value")}}}var av=ae.findNodesByTagName(at,"embed");if(av&&av.length){return this.findMediaUrlInNode(av[0])}}},trim:function(ao){return a(ao)},isOrWasNodeInViewport:function(au){if(!au||!au.getBoundingClientRect||au.nodeType!==1){return true}var at=au.getBoundingClientRect();var ar=G.documentElement||{};var aq=at.top<0;
if(aq&&au.offsetTop){aq=(au.offsetTop+at.height)>0}var ap=ar.clientWidth;if(T.innerWidth&&ap>T.innerWidth){ap=T.innerWidth}var ao=ar.clientHeight;if(T.innerHeight&&ao>T.innerHeight){ao=T.innerHeight}return((at.bottom>0||aq)&&at.right>0&&at.left<ap&&((at.top<ao)||aq))},isNodeVisible:function(ap){var ao=j(ap);var aq=this.isOrWasNodeInViewport(ap);return ao&&aq},buildInteractionRequestParams:function(ao,ap,aq,ar){var at="";if(ao){at+="c_i="+t(ao)}if(ap){if(at){at+="&"}at+="c_n="+t(ap)}if(aq){if(at){at+="&"}at+="c_p="+t(aq)}if(ar){if(at){at+="&"}at+="c_t="+t(ar)}return at},buildImpressionRequestParams:function(ao,ap,aq){var ar="c_n="+t(ao)+"&c_p="+t(ap);if(aq){ar+="&c_t="+t(aq)}return ar},buildContentBlock:function(aq){if(!aq){return}var ao=this.findContentName(aq);var ap=this.findContentPiece(aq);var ar=this.findContentTarget(aq);ao=this.trim(ao);ap=this.trim(ap);ar=this.trim(ar);return{name:ao||"Unknown",piece:ap||"Unknown",target:ar||""}},collectContent:function(ar){if(!ar||!ar.length){return[]
}var aq=[];var ao,ap;for(ao=0;ao<ar.length;ao++){ap=this.buildContentBlock(ar[ao]);if(J(ap)){aq.push(ap)}}return aq},setLocation:function(ao){this.location=ao},getLocation:function(){var ao=this.location||T.location;if(!ao.origin){ao.origin=ao.protocol+"//"+ao.hostname+(ao.port?":"+ao.port:"")}return ao},toAbsoluteUrl:function(ap){if((!ap||String(ap)!==ap)&&ap!==""){return ap}if(""===ap){return this.getLocation().href}if(ap.search(/^\/\//)!==-1){return this.getLocation().protocol+ap}if(ap.search(/:\/\//)!==-1){return ap}if(0===ap.indexOf("#")){return this.getLocation().origin+this.getLocation().pathname+ap}if(0===ap.indexOf("?")){return this.getLocation().origin+this.getLocation().pathname+ap}if(0===ap.search("^[a-zA-Z]{2,11}:")){return ap}if(ap.search(/^\//)!==-1){return this.getLocation().origin+ap}var ao="(.*/)";var aq=this.getLocation().origin+this.getLocation().pathname.match(new RegExp(ao))[0];return aq+ap},isUrlToCurrentDomain:function(ap){var aq=this.toAbsoluteUrl(ap);if(!aq){return false
}var ao=this.getLocation().origin;if(ao===aq){return true}if(0===String(aq).indexOf(ao)){if(":"===String(aq).substr(ao.length,1)){return false}return true}return false},setHrefAttribute:function(ap,ao){if(!ap||!ao){return}ae.setAnyAttribute(ap,"href",ao)},shouldIgnoreInteraction:function(aq){var ap=ae.hasNodeAttribute(aq,this.CONTENT_IGNOREINTERACTION_ATTR);var ao=ae.hasNodeCssClass(aq,this.CONTENT_IGNOREINTERACTION_CLASS);return ap||ao}};function O(ap,at){if(at){return at}ap=v.toAbsoluteUrl(ap);if(z(ap,"?")){var ar=ap.indexOf("?");ap=ap.slice(0,ar)}if(R(ap,"matomo.php")){ap=g(ap,"matomo.php".length)}else{if(R(ap,"piwik.php")){ap=g(ap,"piwik.php".length)}else{if(R(ap,".php")){var ao=ap.lastIndexOf("/");var aq=1;ap=ap.slice(0,ao+aq)}}}if(R(ap,"/js/")){ap=g(ap,"js/".length)}return ap}function N(av){var ax="Piwik_Overlay";var ap=new RegExp("index\\.php\\?module=Overlay&action=startOverlaySession&idSite=([0-9]+)&period=([^&]+)&date=([^&]+)(&segment=.*)?$");var aq=ap.exec(G.referrer);if(aq){var at=aq[1];
if(at!==String(av)){return false}var au=aq[2],ao=aq[3],ar=aq[4];if(!ar){ar=""}else{if(ar.indexOf("&segment=")===0){ar=ar.substr("&segment=".length)}}T.name=ax+"###"+au+"###"+ao+"###"+ar}var aw=T.name.split("###");return aw.length===4&&aw[0]===ax}function Z(ap,aw,ar){var av=T.name.split("###"),au=av[1],ao=av[2],at=av[3],aq=O(ap,aw);o(aq+"plugins/Overlay/client/client.js?v=1",function(){Piwik_Overlay_Client.initialize(aq,ar,au,ao,at)})}function u(){var aq;try{aq=T.frameElement}catch(ap){return true}if(J(aq)){return(aq&&String(aq.nodeName).toLowerCase()==="iframe")?true:false}try{return T.self!==T.top}catch(ao){return true}}function Q(cc,b7){var bG=this,bc="mtm_consent",cJ="mtm_consent_removed",b2=aa(G.domain,T.location.href,K()),cS=L(b2[0]),bL=p(b2[1]),bl=p(b2[2]),cQ=false,cg="GET",c8=cg,aH="application/x-www-form-urlencoded; charset=UTF-8",cv=aH,aD=cc||"",bF="",cX="",b4=b7||"",bw="",bM="",a3,bh="",c4=["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"],ax=[cS],bx=[],bJ=[],a7=[],bH=500,cU=false,cF,a4,bP,c5=1800,bN,ao,cp=["pk_campaign","piwik_campaign","utm_campaign","utm_source","utm_medium"],bE=["pk_kwd","piwik_kwd","utm_term"],bi="_pk_",av="pk_vid",aY=180,cV,bn,bQ=false,bj=false,cN,bd,bt,cG=33955200000,cn=1800000,c3=15768000000,a1=true,cl=0,bO=false,aP=false,b9,bU={},ck={},bk={},br=200,cY={},c6={},b8=[],cd=false,cz=false,ap=false,c7=false,cK=false,aN=false,bb=u(),cP=null,cW=null,ca,aQ,by,b5=am,bm,aK,cq=0,bs=["id","ses","cvar","ref"],cy=false,bz=null,cH=[],aw=U++;
try{bh=G.title}catch(cw){bh=""}function dc(dn,dl,dk,dm,dj,di){if(bj){return}var dh;if(dk){dh=new Date();dh.setTime(dh.getTime()+dk)}G.cookie=dn+"="+t(dl)+(dk?";expires="+dh.toGMTString():"")+";path="+(dm||"/")+(dj?";domain="+dj:"")+(di?";secure":"")}function aC(dj){if(bj){return 0}var dh=new RegExp("(^|;)[ ]*"+dj+"=([^;]*)"),di=dh.exec(G.cookie);return di?S(di[2]):0}bz=!aC(cJ);function b0(dh){var di;dh=k(dh,av);if(bN){di=new RegExp("#.*");return dh.replace(di,"")}return dh}function bT(dj,dh){var dk=s(dh),di;if(dk){return dh}if(dh.slice(0,1)==="/"){return s(dj)+"://"+d(dj)+dh}dj=b0(dj);di=dj.indexOf("?");if(di>=0){dj=dj.slice(0,di)}di=dj.lastIndexOf("/");if(di!==dj.length-1){dj=dj.slice(0,di+1)}return dj+dh}function cD(dj,dh){var di;dj=String(dj).toLowerCase();dh=String(dh).toLowerCase();if(dj===dh){return true}if(dh.slice(0,1)==="."){if(dj===dh.slice(1)){return true}di=dj.length-dh.length;if((di>0)&&(dj.slice(di)===dh)){return true}}return false}function cj(dh){var di=document.createElement("a");
if(dh.indexOf("//")!==0&&dh.indexOf("http")!==0){if(dh.indexOf("*")===0){dh=dh.substr(1)}if(dh.indexOf(".")===0){dh=dh.substr(1)}dh="http://"+dh}di.href=v.toAbsoluteUrl(dh);if(di.pathname){return di.pathname}return""}function a2(di,dh){if(!aj(dh,"/")){dh="/"+dh}if(!aj(di,"/")){di="/"+di}var dj=(dh==="/"||dh==="/*");if(dj){return true}if(di===dh){return true}dh=String(dh).toLowerCase();di=String(di).toLowerCase();if(R(dh,"*")){dh=dh.slice(0,-1);dj=(!dh||dh==="/");if(dj){return true}if(di===dh){return true}return di.indexOf(dh)===0}if(!R(di,"/")){di+="/"}if(!R(dh,"/")){dh+="/"}return di.indexOf(dh)===0}function ar(dl,dn){var di,dh,dj,dk,dm;for(di=0;di<ax.length;di++){dk=L(ax[di]);dm=cj(ax[di]);if(cD(dl,dk)&&a2(dn,dm)){return true}}return false}function aU(dk){var di,dh,dj;for(di=0;di<ax.length;di++){dh=L(ax[di].toLowerCase());if(dk===dh){return true}if(dh.slice(0,1)==="."){if(dk===dh.slice(1)){return true}dj=dk.length-dh.length;if((dj>0)&&(dk.slice(dj)===dh)){return true}}}return false}function co(dh,dj){dh=dh.replace("send_image=0","send_image=1");
var di=new Image(1,1);di.onload=function(){E=0;if(typeof dj==="function"){dj({request:dh,trackerUrl:aD,success:true})}};di.onerror=function(){if(typeof dj==="function"){dj({request:dh,trackerUrl:aD,success:false})}};di.src=aD+(aD.indexOf("?")<0?"?":"&")+dh}function aJ(){return"object"===typeof h&&"function"===typeof h.sendBeacon&&"function"===typeof Blob}function a5(dk,dp){var dj=aJ();if(!dj){return false}var dn={type:"application/x-www-form-urlencoded; charset=UTF-8"};var dm=false;var di=aD;try{var dh=new Blob([dk],dn);if(dk.length<=2000){dh=new Blob([],dn);di=di+(di.indexOf("?")<0?"?":"&")+dk}dm=h.sendBeacon(di,dh)}catch(dl){return false}if(dm&&typeof dp==="function"){dp({request:dk,trackerUrl:aD,success:true,isSendBeacon:true})}return dm}function c2(di,dj,dh){if(!J(dh)||null===dh){dh=true}if(m&&a5(di,dj)){return}setTimeout(function(){if(m&&a5(di,dj)){return}var dm;try{var dl=T.XMLHttpRequest?new T.XMLHttpRequest():T.ActiveXObject?new ActiveXObject("Microsoft.XMLHTTP"):null;dl.open("POST",aD,true);
dl.onreadystatechange=function(){if(this.readyState===4&&!(this.status>=200&&this.status<300)){var dn=m&&a5(di,dj);if(!dn&&dh){co(di,dj)}else{if(typeof dj==="function"){dj({request:di,trackerUrl:aD,success:false,xhr:this})}}}else{if(this.readyState===4&&(typeof dj==="function")){dj({request:di,trackerUrl:aD,success:true,xhr:this})}}};dl.setRequestHeader("Content-Type",cv);dl.withCredentials=true;dl.send(di)}catch(dk){dm=m&&a5(di,dj);if(!dm&&dh){co(di,dj)}else{if(typeof dj==="function"){dj({request:di,trackerUrl:aD,success:false})}}}},50)}function ce(di){var dh=new Date();var dj=dh.getTime()+di;if(!r||dj>r){r=dj}}function cm(dh){if(ca||!a4||!bz){return}ca=setTimeout(function di(){ca=null;if(!bb){bb=(!G.hasFocus||G.hasFocus())}if(!bb){cm(a4);return}if(bP()){return}var dj=new Date(),dk=a4-(dj.getTime()-cW);dk=Math.min(a4,dk);cm(dk)},dh||a4)}function bI(){if(!ca){return}clearTimeout(ca);ca=null}function a9(){bb=true;cP=new Date().getTime()}function db(){var dh=new Date().getTime();return !cP||(dh-cP)>a4
}function ay(){if(db()){bP()}bI()}function de(){if(aN||!a4){return}aN=true;an(T,"focus",a9);an(T,"blur",ay);ab++;e.addPlugin("HeartBeat"+ab,{unload:function(){if(aN&&db()){bP()}}})}function cA(dl){var di=new Date();var dh=di.getTime();cW=dh;if(cz&&dh<cz){var dj=cz-dh;setTimeout(dl,dj);ce(dj+50);cz+=50;return}if(cz===false){var dk=800;cz=dh+dk}dl()}function bD(di,dh,dj){if(!bz){cH.push(di);return}if(!cN&&di){if(cy&&bz){di+="&consent=1"}cA(function(){if(cU&&a5(di,dj)){ce(100);return}if(c8==="POST"||String(di).length>2000){c2(di,dj)}else{co(di,dj)}ce(dh)})}if(!aN){de()}}function ci(dh){if(cN){return false}return(dh&&dh.length)}function c1(dh,dl){if(!dl||dl>=dh.length){return[dh]}var di=0;var dj=dh.length;var dk=[];for(di;di<dj;di+=dl){dk.push(dh.slice(di,di+dl))}return dk}function dd(di,dh){if(!ci(di)){return}if(!bz){cH.push(di);return}cA(function(){var dl=c1(di,50);var dj=0,dk;for(dj;dj<dl.length;dj++){dk='{"requests":["?'+dl[dj].join('","?')+'"]}';c2(dk,null,false)}ce(dh)})}function aS(dh){return bi+dh+"."+b4+"."+bm
}function b3(){if(bj){return"0"}var dh=aS("testcookie");dc(dh,"1");return aC(dh)==="1"?"1":"0"}function bg(){bm=b5((cV||cS)+(bn||"/")).slice(0,4)}function cE(){if(J(c6.res)){return c6}var di,dk,dl={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(di in dl){if(Object.prototype.hasOwnProperty.call(dl,di)){dk=h.mimeTypes[dl[di]];c6[di]=(dk&&dk.enabledPlugin)?"1":"0"}}}if(!((new RegExp("Edge[ /](\\d+[\\.\\d]+)")).test(h.userAgent))&&typeof navigator.javaEnabled!=="unknown"&&J(h.javaEnabled)&&h.javaEnabled()){c6.java="1"}if(A(T.GearsFactory)){c6.gears="1"}c6.cookie=b3()}var dj=parseInt(X.width,10);var dh=parseInt(X.height,10);c6.res=parseInt(dj,10)+"x"+parseInt(dh,10);return c6}function bV(){var di=aS("cvar"),dh=aC(di);
if(dh.length){dh=JSON_PIWIK.parse(dh);if(W(dh)){return dh}}return{}}function cB(){if(aP===false){aP=bV()}}function cO(){var dh=cE();return b5((h.userAgent||"")+(h.platform||"")+JSON_PIWIK.stringify(dh)+(new Date()).getTime()+Math.random()).slice(0,16)}function az(){var dh=cE();return b5((h.userAgent||"")+(h.platform||"")+JSON_PIWIK.stringify(dh)).slice(0,6)}function be(){return Math.floor((new Date()).getTime()/1000)}function aI(){var di=be();var dj=az();var dh=String(di)+dj;return dh}function c0(dj){dj=String(dj);var dm=az();var dk=dm.length;var dl=dj.substr(-1*dk,dk);var di=parseInt(dj.substr(0,dj.length-dk),10);if(di&&dl&&dl===dm){var dh=be();if(aY<=0){return true}if(dh>=di&&dh<=(di+aY)){return true}}return false}function df(dh){if(!cK){return""}var dl=f(dh,av);if(!dl){return""}dl=String(dl);var dj=new RegExp("^[a-zA-Z0-9]+$");if(dl.length===32&&dj.test(dl)){var di=dl.substr(16,32);if(c0(di)){var dk=dl.substr(0,16);return dk}}return""}function cL(){if(!bM){bM=df(bL)}var dj=new Date(),dh=Math.round(dj.getTime()/1000),di=aS("id"),dm=aC(di),dl,dk;
if(dm){dl=dm.split(".");dl.unshift("0");if(bM.length){dl[1]=bM}return dl}if(bM.length){dk=bM}else{if("0"===b3()){dk=""}else{dk=cO()}}dl=["1",dk,dh,0,dh,"",""];return dl}function aX(){var dp=cL(),dk=dp[0],dl=dp[1],di=dp[2],dh=dp[3],dm=dp[4],dj=dp[5];if(!J(dp[6])){dp[6]=""}var dn=dp[6];return{newVisitor:dk,uuid:dl,createTs:di,visitCount:dh,currentVisitTs:dm,lastVisitTs:dj,lastEcommerceOrderTs:dn}}function aG(){var dk=new Date(),di=dk.getTime(),dl=aX().createTs;var dh=parseInt(dl,10);var dj=(dh*1000)+cG-di;return dj}function aL(dh){if(!b4){return}var dj=new Date(),di=Math.round(dj.getTime()/1000);if(!J(dh)){dh=aX()}var dk=dh.uuid+"."+dh.createTs+"."+dh.visitCount+"."+di+"."+dh.lastVisitTs+"."+dh.lastEcommerceOrderTs;dc(aS("id"),dk,aG(),bn,cV,bQ)}function bK(){var dh=aC(aS("ref"));if(dh.length){try{dh=JSON_PIWIK.parse(dh);if(W(dh)){return dh}}catch(di){}}return["","",0,""]}function bW(dj,di,dh){dc(dj,"",-86400,di,dh)}function bu(di){var dh="testvalue";dc("test",dh,10000,null,di);if(aC("test")===dh){bW("test",null,di);
return true}return false}function aE(){var di=bj;bj=false;var dh,dj;for(dh=0;dh<bs.length;dh++){dj=aS(bs[dh]);if(dj!==cJ&&dj!==bc&&0!==aC(dj)){bW(dj,bn,cV)}}bj=di}function b1(dh){b4=dh;aL()}function dg(dl){if(!dl||!W(dl)){return}var dk=[];var dj;for(dj in dl){if(Object.prototype.hasOwnProperty.call(dl,dj)){dk.push(dj)}}var dm={};dk.sort();var dh=dk.length;var di;for(di=0;di<dh;di++){dm[dk[di]]=dl[dk[di]]}return dm}function cb(){dc(aS("ses"),"1",cn,bn,cV,bQ)}function bf(){var dk="";var di="abcdefghijklmnopqrstuvwxyz0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ";var dj=di.length;var dh;for(dh=0;dh<6;dh++){dk+=di.charAt(Math.floor(Math.random()*dj))}return dk}function cr(dj,dF,dG,dk){var dE,di=new Date(),ds=Math.round(di.getTime()/1000),dp,dD,dl=1024,dM,dt,dB=aP,dm=aS("ses"),dz=aS("ref"),dw=aS("cvar"),dx=aC(dm),dC=bK(),dI=a3||bL,dq,dh;if(bj){aE()}if(cN){return""}var dy=aX();if(!J(dk)){dk=""}var dv=G.characterSet||G.charset;if(!dv||dv.toLowerCase()==="utf-8"){dv=null}dq=dC[0];dh=dC[1];dp=dC[2];dD=dC[3];
if(!dx){var dH=cn/1000;if(!dy.lastVisitTs||(ds-dy.lastVisitTs)>dH){dy.visitCount++;dy.lastVisitTs=dy.currentVisitTs}if(!bt||!dq.length){for(dE in cp){if(Object.prototype.hasOwnProperty.call(cp,dE)){dq=f(dI,cp[dE]);if(dq.length){break}}}for(dE in bE){if(Object.prototype.hasOwnProperty.call(bE,dE)){dh=f(dI,bE[dE]);if(dh.length){break}}}}dM=d(bl);dt=dD.length?d(dD):"";if(dM.length&&!aU(dM)&&(!bt||!dt.length||aU(dt))){dD=bl}if(dD.length||dq.length){dp=ds;dC=[dq,dh,dp,b0(dD.slice(0,dl))];dc(dz,JSON_PIWIK.stringify(dC),c3,bn,cV)}}dj+="&idsite="+b4+"&rec=1&r="+String(Math.random()).slice(2,8)+"&h="+di.getHours()+"&m="+di.getMinutes()+"&s="+di.getSeconds()+"&url="+t(b0(dI))+(bl.length?"&urlref="+t(b0(bl)):"")+((bw&&bw.length)?"&uid="+t(bw):"")+"&_id="+dy.uuid+"&_idts="+dy.createTs+"&_idvc="+dy.visitCount+"&_idn="+dy.newVisitor+(dq.length?"&_rcn="+t(dq):"")+(dh.length?"&_rck="+t(dh):"")+"&_refts="+dp+"&_viewts="+dy.lastVisitTs+(String(dy.lastEcommerceOrderTs).length?"&_ects="+dy.lastEcommerceOrderTs:"")+(String(dD).length?"&_ref="+t(b0(dD.slice(0,dl))):"")+(dv?"&cs="+t(dv):"")+"&send_image=0";
var dL=cE();for(dE in dL){if(Object.prototype.hasOwnProperty.call(dL,dE)){dj+="&"+dE+"="+dL[dE]}}var dK=[];if(dF){for(dE in dF){if(Object.prototype.hasOwnProperty.call(dF,dE)&&/^dimension\d+$/.test(dE)){var dn=dE.replace("dimension","");dK.push(parseInt(dn,10));dK.push(String(dn));dj+="&"+dE+"="+t(dF[dE]);delete dF[dE]}}}if(dF&&B(dF)){dF=null}for(dE in bk){if(Object.prototype.hasOwnProperty.call(bk,dE)){var du=(-1===M(dK,dE));if(du){dj+="&dimension"+dE+"="+t(bk[dE])}}}if(dF){dj+="&data="+t(JSON_PIWIK.stringify(dF))}else{if(ao){dj+="&data="+t(JSON_PIWIK.stringify(ao))}}function dr(dN,dO){var dP=JSON_PIWIK.stringify(dN);if(dP.length>2){return"&"+dO+"="+t(dP)}return""}var dJ=dg(bU);var dA=dg(ck);dj+=dr(dJ,"cvar");dj+=dr(dA,"e_cvar");if(aP){dj+=dr(aP,"_cvar");for(dE in dB){if(Object.prototype.hasOwnProperty.call(dB,dE)){if(aP[dE][0]===""||aP[dE][1]===""){delete aP[dE]}}}if(bO){dc(dw,JSON_PIWIK.stringify(aP),cn,bn,cV)}}if(a1){if(cl){dj+="&gt_ms="+cl}else{if(i&&i.timing&&i.timing.requestStart&&i.timing.responseEnd){dj+="&gt_ms="+(i.timing.responseEnd-i.timing.requestStart)
}}}if(aK){dj+="&pv_id="+aK}dy.lastEcommerceOrderTs=J(dk)&&String(dk).length?dk:dy.lastEcommerceOrderTs;aL(dy);cb();dj+=ac(dG,{tracker:bG,request:dj});if(cX.length){dj+="&"+cX}if(A(b9)){dj=b9(dj)}return dj}bP=function a6(){var dh=new Date();dh=dh.getTime();if(!cW){return false}if((cW+(1000*c5))<=dh){return false}if(cW+a4<=dh){bG.ping();return true}return false};function bo(dk,dj,dq,dl,dh,dt){var dn="idgoal=0",dp,di=new Date(),dr=[],ds,dm=String(dk).length;if(dm){dn+="&ec_id="+t(dk);dp=Math.round(di.getTime()/1000)}dn+="&revenue="+dj;if(String(dq).length){dn+="&ec_st="+dq}if(String(dl).length){dn+="&ec_tx="+dl}if(String(dh).length){dn+="&ec_sh="+dh}if(String(dt).length){dn+="&ec_dt="+dt}if(cY){for(ds in cY){if(Object.prototype.hasOwnProperty.call(cY,ds)){if(!J(cY[ds][1])){cY[ds][1]=""}if(!J(cY[ds][2])){cY[ds][2]=""}if(!J(cY[ds][3])||String(cY[ds][3]).length===0){cY[ds][3]=0}if(!J(cY[ds][4])||String(cY[ds][4]).length===0){cY[ds][4]=1}dr.push(cY[ds])}}dn+="&ec_items="+t(JSON_PIWIK.stringify(dr))
}dn=cr(dn,ao,"ecommerce",dp);bD(dn,bH);if(dm){cY={}}}function bX(dh,dl,dk,dj,di,dm){if(String(dh).length&&J(dl)){bo(dh,dl,dk,dj,di,dm)}}function bq(dh){if(J(dh)){bo("",dh,"","","","")}}function bY(di,dk,dj){aK=bf();var dh=cr("action_name="+t(al(di||bh)),dk,"log");bD(dh,bH,dj)}function aZ(dj,di){var dk,dh="(^| )(piwik[_-]"+di;if(dj){for(dk=0;dk<dj.length;dk++){dh+="|"+dj[dk]}}dh+=")( |$)";return new RegExp(dh)}function aT(dh){return(aD&&dh&&0===String(dh).indexOf(aD))}function ct(dl,dh,dm,di){if(aT(dh)){return 0}var dk=aZ(bJ,"download"),dj=aZ(a7,"link"),dn=new RegExp("\\.("+c4.join("|")+")([?&#]|$)","i");if(dj.test(dl)){return"link"}if(di||dk.test(dl)||dn.test(dh)){return"download"}if(dm){return 0}return"link"}function au(di){var dh;dh=di.parentNode;while(dh!==null&&J(dh)){if(ae.isLinkElement(di)){break}di=dh;dh=di.parentNode}return di}function da(dm){dm=au(dm);if(!ae.hasNodeAttribute(dm,"href")){return}if(!J(dm.href)){return}var dl=ae.getAttributeValueFromNode(dm,"href");if(aT(dl)){return
}var di=dm.pathname||cj(dm.href);var dn=dm.hostname||d(dm.href);var dp=dn.toLowerCase();var dj=dm.href.replace(dn,dp);var dk=new RegExp("^(javascript|vbscript|jscript|mocha|livescript|ecmascript|mailto|tel):","i");if(!dk.test(dj)){var dh=ct(dm.className,dj,ar(dp,di),ae.hasNodeAttribute(dm,"download"));if(dh){return{type:dh,href:dj}}}}function aO(dh,di,dj,dk){var dl=v.buildInteractionRequestParams(dh,di,dj,dk);if(!dl){return}return cr(dl,null,"contentInteraction")}function cI(dj,dk,dp,dh,di){if(!J(dj)){return}if(aT(dj)){return dj}var dm=v.toAbsoluteUrl(dj);var dl="redirecturl="+t(dm)+"&";dl+=aO(dk,dp,dh,(di||dj));var dn="&";if(aD.indexOf("?")<0){dn="?"}return aD+dn+dl}function ba(dh,di){if(!dh||!di){return false}var dj=v.findTargetNode(dh);if(v.shouldIgnoreInteraction(dj)){return false}dj=v.findTargetNodeNoDefault(dh);if(dj&&!V(dj,di)){return false}return true}function cs(dj,di,dl){if(!dj){return}var dh=v.findParentContentNode(dj);if(!dh){return}if(!ba(dh,dj)){return}var dk=v.buildContentBlock(dh);
if(!dk){return}if(!dk.target&&dl){dk.target=dl}return v.buildInteractionRequestParams(di,dk.name,dk.piece,dk.target)}function aV(di){if(!b8||!b8.length){return false}var dh,dj;for(dh=0;dh<b8.length;dh++){dj=b8[dh];if(dj&&dj.name===di.name&&dj.piece===di.piece&&dj.target===di.target){return true}}return false}function bC(dk){if(!dk){return false}var dn=v.findTargetNode(dk);if(!dn||v.shouldIgnoreInteraction(dn)){return false}var dp=da(dn);if(c7&&dp&&dp.type){return false}if(ae.isLinkElement(dn)&&ae.hasNodeAttributeWithValue(dn,"href")){var dh=String(ae.getAttributeValueFromNode(dn,"href"));if(0===dh.indexOf("#")){return false}if(aT(dh)){return true}if(!v.isUrlToCurrentDomain(dh)){return false}var dl=v.buildContentBlock(dk);if(!dl){return}var dj=dl.name;var dq=dl.piece;var dm=dl.target;if(!ae.hasNodeAttributeWithValue(dn,v.CONTENT_TARGET_ATTR)||dn.wasContentTargetAttrReplaced){dn.wasContentTargetAttrReplaced=true;dm=v.toAbsoluteUrl(dh);ae.setAnyAttribute(dn,v.CONTENT_TARGET_ATTR,dm)}var di=cI(dh,"click",dj,dq,dm);
v.setHrefAttribute(dn,di);return true}return false}function aM(di){if(!di||!di.length){return}var dh;for(dh=0;dh<di.length;dh++){bC(di[dh])}}function aW(dh){return function(di){if(!dh){return}var dl=v.findParentContentNode(dh);var dm;if(di){dm=di.target||di.srcElement}if(!dm){dm=dh}if(!ba(dl,dm)){return}ce(bH);if(ae.isLinkElement(dh)&&ae.hasNodeAttributeWithValue(dh,"href")&&ae.hasNodeAttributeWithValue(dh,v.CONTENT_TARGET_ATTR)){var dj=ae.getAttributeValueFromNode(dh,"href");if(!aT(dj)&&dh.wasContentTargetAttrReplaced){ae.setAnyAttribute(dh,v.CONTENT_TARGET_ATTR,"")}}var dr=da(dh);if(ap&&dr&&dr.type){return dr.type}if(bC(dl)){return"href"}var dn=v.buildContentBlock(dl);if(!dn){return}var dk=dn.name;var ds=dn.piece;var dq=dn.target;var dp=aO("click",dk,ds,dq);if(dp){bD(dp,bH)}return dp}}function bZ(dj){if(!dj||!dj.length){return}var dh,di;for(dh=0;dh<dj.length;dh++){di=v.findTargetNode(dj[dh]);if(di&&!di.contentInteractionTrackingSetupDone){di.contentInteractionTrackingSetupDone=true;an(di,"click",aW(di))
}}}function bv(dj,dk){if(!dj||!dj.length){return[]}var dh,di;for(dh=0;dh<dj.length;dh++){if(aV(dj[dh])){dj.splice(dh,1);dh--}else{b8.push(dj[dh])}}if(!dj||!dj.length){return[]}aM(dk);bZ(dk);var dl=[];for(dh=0;dh<dj.length;dh++){di=cr(v.buildImpressionRequestParams(dj[dh].name,dj[dh].piece,dj[dh].target),undefined,"contentImpressions");if(di){dl.push(di)}}return dl}function cx(di){var dh=v.collectContent(di);return bv(dh,di)}function a8(di){if(!di||!di.length){return[]}var dh;for(dh=0;dh<di.length;dh++){if(!v.isNodeVisible(di[dh])){di.splice(dh,1);dh--}}if(!di||!di.length){return[]}return cx(di)}function aF(dj,dh,di){var dk=v.buildImpressionRequestParams(dj,dh,di);return cr(dk,null,"contentImpression")}function c9(dk,di){if(!dk){return}var dh=v.findParentContentNode(dk);var dj=v.buildContentBlock(dh);if(!dj){return}if(!di){di="Unknown"}return aO(di,dj.name,dj.piece,dj.target)}function cM(di,dk,dh,dj){return"e_c="+t(di)+"&e_a="+t(dk)+(J(dh)?"&e_n="+t(dh):"")+(J(dj)?"&e_v="+t(dj):"")}function at(dj,dl,dh,dk,dn,dm){if(a(String(dj)).length===0||a(String(dl)).length===0){ak("Error while logging event: Parameters `category` and `action` must not be empty or filled with whitespaces");
return false}var di=cr(cM(dj,dl,dh,dk),dn,"event");bD(di,bH,dm)}function b6(dh,dk,di,dl){var dj=cr("search="+t(dh)+(dk?"&search_cat="+t(dk):"")+(J(di)?"&search_count="+di:""),dl,"sitesearch");bD(dj,bH)}function cR(dh,dl,dk,dj){var di=cr("idgoal="+dh+(dl?"&revenue="+dl:""),dk,"goal");bD(di,bH,dj)}function cZ(dk,dh,dp,dn,dj){var dm=dh+"="+t(b0(dk));var di=cs(dj,"click",dk);if(di){dm+="&"+di}var dl=cr(dm,dp,"link");bD(dl,bH,dn)}function bS(di,dh){if(di!==""){return di+dh.charAt(0).toUpperCase()+dh.slice(1)}return dh}function cf(dm){var dl,dh,dk=["","webkit","ms","moz"],dj;if(!bd){for(dh=0;dh<dk.length;dh++){dj=dk[dh];if(Object.prototype.hasOwnProperty.call(G,bS(dj,"hidden"))){if(G[bS(dj,"visibilityState")]==="prerender"){dl=true}break}}}if(dl){an(G,dj+"visibilitychange",function di(){G.removeEventListener(dj+"visibilitychange",di,false);dm()});return}dm()}function bp(){var di=aX().uuid;var dh=aI();return di+dh}function ch(dh){if(!dh){return}if(!ae.hasNodeAttribute(dh,"href")){return}var di=ae.getAttributeValueFromNode(dh,"href");
if(!di||aT(di)){return}di=k(di,av);var dj=bp();di=F(di,av,dj);ae.setAnyAttribute(dh,"href",di)}function aA(dk){var dl=ae.getAttributeValueFromNode(dk,"href");if(!dl){return false}dl=String(dl);var di=dl.indexOf("//")===0||dl.indexOf("http://")===0||dl.indexOf("https://")===0;if(!di){return false}var dh=dk.pathname||cj(dk.href);var dj=(dk.hostname||d(dk.href)).toLowerCase();if(ar(dj,dh)){if(!cD(cS,L(dj))){return true}return false}return false}function cC(dh){var di=da(dh);if(di&&di.type){di.href=p(di.href);cZ(di.href,di.type,undefined,null,dh);return}if(cK){dh=au(dh);if(aA(dh)){ch(dh)}}}function cu(){return G.all&&!G.addEventListener}function cT(dh){var dj=dh.which;var di=(typeof dh.button);if(!dj&&di!=="undefined"){if(cu()){if(dh.button&1){dj=1}else{if(dh.button&2){dj=3}else{if(dh.button&4){dj=2}}}}else{if(dh.button===0||dh.button==="0"){dj=1}else{if(dh.button&1){dj=2}else{if(dh.button&2){dj=3}}}}}return dj}function bR(dh){switch(cT(dh)){case 1:return"left";case 2:return"middle";case 3:return"right"
}}function a0(dh){return dh.target||dh.srcElement}function aB(dh){return function(dk){dk=dk||T.event;var dj=bR(dk);var dl=a0(dk);if(dk.type==="click"){var di=false;if(dh&&dj==="middle"){di=true}if(dl&&!di){cC(dl)}}else{if(dk.type==="mousedown"){if(dj==="middle"&&dl){aQ=dj;by=dl}else{aQ=by=null}}else{if(dk.type==="mouseup"){if(dj===aQ&&dl===by){cC(dl)}aQ=by=null}else{if(dk.type==="contextmenu"){cC(dl)}}}}}}function aq(dj,di){var dh=typeof di;if(dh==="undefined"){di=true}an(dj,"click",aB(di),false);if(di){an(dj,"mouseup",aB(di),false);an(dj,"mousedown",aB(di),false);an(dj,"contextmenu",aB(di),false)}}function bB(dj,dl){ap=true;var dk,di=aZ(bx,"ignore"),dm=G.links,dh=null,dn=null;if(dm){for(dk=0;dk<dm.length;dk++){dh=dm[dk];if(!di.test(dh.className)){dn=typeof dh.piwikTrackers;if("undefined"===dn){dh.piwikTrackers=[]}if(-1===M(dh.piwikTrackers,dl)){dh.piwikTrackers.push(dl);aq(dh,dj)}}}}}function aR(di,dl,dm){if(cd){return true}cd=true;var dn=false;var dk,dj;function dh(){dn=true}n(function(){function dp(dr){setTimeout(function(){if(!cd){return
}dn=false;dm.trackVisibleContentImpressions();dp(dr)},dr)}function dq(dr){setTimeout(function(){if(!cd){return}if(dn){dn=false;dm.trackVisibleContentImpressions()}dq(dr)},dr)}if(di){dk=["scroll","resize"];for(dj=0;dj<dk.length;dj++){if(G.addEventListener){G.addEventListener(dk[dj],dh,false)}else{T.attachEvent("on"+dk[dj],dh)}}dq(100)}if(dl&&dl>0){dl=parseInt(dl,10);dp(dl)}})}var bA={enabled:true,requests:[],timeout:null,interval:2500,sendRequests:function(){var dh=this.requests;this.requests=[];if(dh.length===1){bD(dh[0],bH)}else{dd(dh,bH)}},push:function(dh){if(!dh){return}if(m||!this.enabled){bD(dh,bH);return}bA.requests.push(dh);if(this.timeout){clearTimeout(this.timeout);this.timeout=null}this.timeout=setTimeout(function(){bA.timeout=null;bA.sendRequests()},bA.interval);var di="RequestQueue"+aw;if(!Object.prototype.hasOwnProperty.call(b,di)){b[di]={unload:function(){if(bA.timeout){clearTimeout(bA.timeout)}bA.sendRequests()}}}}};bg();aL();this.getVisitorId=function(){return aX().uuid
};this.getVisitorInfo=function(){return cL()};this.getAttributionInfo=function(){return bK()};this.getAttributionCampaignName=function(){return bK()[0]};this.getAttributionCampaignKeyword=function(){return bK()[1]};this.getAttributionReferrerTimestamp=function(){return bK()[2]};this.getAttributionReferrerUrl=function(){return bK()[3]};this.setTrackerUrl=function(dh){aD=dh};this.getTrackerUrl=function(){return aD};this.getPiwikUrl=function(){return O(this.getTrackerUrl(),bF)};this.addTracker=function(dh,dj){if(!J(dh)||null===dh){dh=this.getTrackerUrl()}var di=new Q(dh,dj);I.push(di);e.trigger("TrackerAdded",[this]);return di};this.getSiteId=function(){return b4};this.setSiteId=function(dh){b1(dh)};this.resetUserId=function(){bw=""};this.setUserId=function(dh){if(Y(dh)){bw=dh}};this.getUserId=function(){return bw};this.setCustomData=function(dh,di){if(W(dh)){ao=dh}else{if(!ao){ao={}}ao[dh]=di}};this.getCustomData=function(){return ao};this.setCustomRequestProcessing=function(dh){b9=dh};this.appendToTrackingUrl=function(dh){cX=dh
};this.getRequest=function(dh){return cr(dh)};this.addPlugin=function(dh,di){b[dh]=di};this.setCustomDimension=function(dh,di){dh=parseInt(dh,10);if(dh>0){if(!J(di)){di=""}if(!w(di)){di=String(di)}bk[dh]=di}};this.getCustomDimension=function(dh){dh=parseInt(dh,10);if(dh>0&&Object.prototype.hasOwnProperty.call(bk,dh)){return bk[dh]}};this.deleteCustomDimension=function(dh){dh=parseInt(dh,10);if(dh>0){delete bk[dh]}};this.setCustomVariable=function(di,dh,dl,dj){var dk;if(!J(dj)){dj="visit"}if(!J(dh)){return}if(!J(dl)){dl=""}if(di>0){dh=!w(dh)?String(dh):dh;dl=!w(dl)?String(dl):dl;dk=[dh.slice(0,br),dl.slice(0,br)];if(dj==="visit"||dj===2){cB();aP[di]=dk}else{if(dj==="page"||dj===3){bU[di]=dk}else{if(dj==="event"){ck[di]=dk}}}}};this.getCustomVariable=function(di,dj){var dh;if(!J(dj)){dj="visit"}if(dj==="page"||dj===3){dh=bU[di]}else{if(dj==="event"){dh=ck[di]}else{if(dj==="visit"||dj===2){cB();dh=aP[di]}}}if(!J(dh)||(dh&&dh[0]==="")){return false}return dh};this.deleteCustomVariable=function(dh,di){if(this.getCustomVariable(dh,di)){this.setCustomVariable(dh,"","",di)
}};this.deleteCustomVariables=function(dh){if(dh==="page"||dh===3){bU={}}else{if(dh==="event"){ck={}}else{if(dh==="visit"||dh===2){aP={}}}}};this.storeCustomVariablesInCookie=function(){bO=true};this.setLinkTrackingTimer=function(dh){bH=dh};this.getLinkTrackingTimer=function(){return bH};this.setDownloadExtensions=function(dh){if(w(dh)){dh=dh.split("|")}c4=dh};this.addDownloadExtensions=function(di){var dh;if(w(di)){di=di.split("|")}for(dh=0;dh<di.length;dh++){c4.push(di[dh])}};this.removeDownloadExtensions=function(dj){var di,dh=[];if(w(dj)){dj=dj.split("|")}for(di=0;di<c4.length;di++){if(M(dj,c4[di])===-1){dh.push(c4[di])}}c4=dh};this.setDomains=function(dh){ax=w(dh)?[dh]:dh;var dl=false,dj=0,di;for(dj;dj<ax.length;dj++){di=String(ax[dj]);if(cD(cS,L(di))){dl=true;break}var dk=cj(di);if(dk&&dk!=="/"&&dk!=="/*"){dl=true;break}}if(!dl){ax.push(cS)}};this.enableCrossDomainLinking=function(){cK=true};this.disableCrossDomainLinking=function(){cK=false};this.isCrossDomainLinkingEnabled=function(){return cK
};this.setCrossDomainLinkingTimeout=function(dh){aY=dh};this.getCrossDomainLinkingUrlParameter=function(){return t(av)+"="+t(bp())};this.setIgnoreClasses=function(dh){bx=w(dh)?[dh]:dh};this.setRequestMethod=function(dh){c8=dh||cg};this.setRequestContentType=function(dh){cv=dh||aH};this.setReferrerUrl=function(dh){bl=dh};this.setCustomUrl=function(dh){a3=bT(bL,dh)};this.getCurrentUrl=function(){return a3||bL};this.setDocumentTitle=function(dh){bh=dh};this.setAPIUrl=function(dh){bF=dh};this.setDownloadClasses=function(dh){bJ=w(dh)?[dh]:dh};this.setLinkClasses=function(dh){a7=w(dh)?[dh]:dh};this.setCampaignNameKey=function(dh){cp=w(dh)?[dh]:dh};this.setCampaignKeywordKey=function(dh){bE=w(dh)?[dh]:dh};this.discardHashTag=function(dh){bN=dh};this.setCookieNamePrefix=function(dh){bi=dh;aP=bV()};this.setCookieDomain=function(dh){var di=L(dh);if(bu(di)){cV=di;bg()}};this.getCookieDomain=function(){return cV};this.hasCookies=function(){return"1"===b3()};this.setSessionCookie=function(dj,di,dh){if(!dj){throw new Error("Missing cookie name")
}if(!J(dh)){dh=cn}bs.push(dj);dc(aS(dj),di,dh,bn,cV)};this.getCookie=function(di){var dh=aC(aS(di));if(dh===0){return null}return dh};this.setCookiePath=function(dh){bn=dh;bg()};this.getCookiePath=function(dh){return bn};this.setVisitorCookieTimeout=function(dh){cG=dh*1000};this.setSessionCookieTimeout=function(dh){cn=dh*1000};this.getSessionCookieTimeout=function(){return cn};this.setReferralCookieTimeout=function(dh){c3=dh*1000};this.setConversionAttributionFirstReferrer=function(dh){bt=dh};this.setSecureCookie=function(dh){bQ=dh};this.disableCookies=function(){bj=true;c6.cookie="0";if(b4){aE()}};this.deleteCookies=function(){aE()};this.setDoNotTrack=function(di){var dh=h.doNotTrack||h.msDoNotTrack;cN=di&&(dh==="yes"||dh==="1");if(cN){this.disableCookies()}};this.alwaysUseSendBeacon=function(){cU=true};this.addListener=function(di,dh){aq(di,dh)};this.enableLinkTracking=function(di){c7=true;var dh=this;cf(function(){q(function(){bB(di,dh)})})};this.enableJSErrorTracking=function(){if(cQ){return
}cQ=true;var dh=T.onerror;T.onerror=function(dm,dk,dj,dl,di){cf(function(){var dn="JavaScript Errors";var dp=dk+":"+dj;if(dl){dp+=":"+dl}at(dn,dp,dm)});if(dh){return dh(dm,dk,dj,dl,di)}return false}};this.disablePerformanceTracking=function(){a1=false};this.setGenerationTimeMs=function(dh){cl=parseInt(dh,10)};this.setVisitStandardLength=function(dh){dh=Math.max(dh,5);c5=dh};this.enableHeartBeatTimer=function(dh){dh=Math.max(dh,5);a4=(dh||15)*1000;if(cW!==null){de()}};this.disableHeartBeatTimer=function(){bI();if(a4||aN){if(T.removeEventListener){T.removeEventListener("focus",a9);T.removeEventListener("blur",ay)}else{if(T.detachEvent){T.detachEvent("onfocus",a9);T.detachEvent("onblur",ay)}}}a4=null;aN=false};this.killFrame=function(){if(T.location!==T.top.location){T.top.location=T.location}};this.redirectFile=function(dh){if(T.location.protocol==="file:"){T.location=dh}};this.setCountPreRendered=function(dh){bd=dh};this.trackGoal=function(dh,dk,dj,di){cf(function(){cR(dh,dk,dj,di)})};this.trackLink=function(di,dh,dk,dj){cf(function(){cZ(di,dh,dk,dj)
})};this.getNumTrackedPageViews=function(){return cq};this.trackPageView=function(dh,dj,di){b8=[];cH=[];if(N(b4)){cf(function(){Z(aD,bF,b4)})}else{cf(function(){cq++;bY(dh,dj,di)})}};this.trackAllContentImpressions=function(){if(N(b4)){return}cf(function(){q(function(){var dh=v.findContentNodes();var di=cx(dh);dd(di,bH)})})};this.trackVisibleContentImpressions=function(dh,di){if(N(b4)){return}if(!J(dh)){dh=true}if(!J(di)){di=750}aR(dh,di,this);cf(function(){n(function(){var dj=v.findContentNodes();var dk=a8(dj);dd(dk,bH)})})};this.trackContentImpression=function(dj,dh,di){if(N(b4)){return}dj=a(dj);dh=a(dh);di=a(di);if(!dj){return}dh=dh||"Unknown";cf(function(){var dk=aF(dj,dh,di);bD(dk,bH)})};this.trackContentImpressionsWithinNode=function(dh){if(N(b4)||!dh){return}cf(function(){if(cd){n(function(){var di=v.findContentNodesWithinNode(dh);var dj=a8(di);dd(dj,bH)})}else{q(function(){var di=v.findContentNodesWithinNode(dh);var dj=cx(di);dd(dj,bH)})}})};this.trackContentInteraction=function(dj,dk,dh,di){if(N(b4)){return
}dj=a(dj);dk=a(dk);dh=a(dh);di=a(di);if(!dj||!dk){return}dh=dh||"Unknown";cf(function(){var dl=aO(dj,dk,dh,di);if(dl){bD(dl,bH)}})};this.trackContentInteractionNode=function(di,dh){if(N(b4)||!di){return}cf(function(){var dj=c9(di,dh);if(dj){bD(dj,bH)}})};this.logAllContentBlocksOnPage=function(){var dj=v.findContentNodes();var dh=v.collectContent(dj);var di=typeof console;if(di!=="undefined"&&console&&console.log){console.log(dh)}};this.trackEvent=function(di,dk,dh,dj,dm,dl){cf(function(){at(di,dk,dh,dj,dm,dl)})};this.trackSiteSearch=function(dh,dj,di,dk){b8=[];cf(function(){b6(dh,dj,di,dk)})};this.setEcommerceView=function(dk,dh,dj,di){if(Y(dj)){dj=String(dj)}if(!J(dj)||dj===null||dj===false||!dj.length){dj=""}else{if(dj instanceof Array){dj=JSON_PIWIK.stringify(dj)}}bU[5]=["_pkc",dj];if(J(di)&&di!==null&&di!==false&&String(di).length){bU[2]=["_pkp",di]}if(!Y(dk)&&!Y(dh)){return}if(Y(dk)){bU[3]=["_pks",dk]}if(!Y(dh)){dh=""}bU[4]=["_pkn",dh]};this.getEcommerceItems=function(){return JSON.parse(JSON.stringify(cY))
};this.addEcommerceItem=function(dl,dh,dj,di,dk){if(Y(dl)){cY[dl]=[String(dl),dh,dj,di,dk]}};this.removeEcommerceItem=function(dh){if(Y(dh)){dh=String(dh);delete cY[dh]}};this.clearEcommerceCart=function(){cY={}};this.trackEcommerceOrder=function(dh,dl,dk,dj,di,dm){bX(dh,dl,dk,dj,di,dm)};this.trackEcommerceCartUpdate=function(dh){bq(dh)};this.trackRequest=function(di,dk,dj,dh){cf(function(){var dl=cr(di,dk,dh);bD(dl,bH,dj)})};this.ping=function(){this.trackRequest("ping=1",null,null,"ping")};this.disableQueueRequest=function(){bA.enabled=false};this.setRequestQueueInterval=function(dh){if(dh<1000){throw new Error("Request queue interval needs to be at least 1000ms")}bA.interval=dh};this.queueRequest=function(dh){cf(function(){var di=cr(dh);bA.push(di)})};this.getRememberedConsent=function(){var dh=aC(bc);if(aC(cJ)){if(dh){bW(bc,bn,cV)}return null}if(!dh||dh===0){return null}return dh};this.hasRememberedConsent=function(){return !!this.getRememberedConsent()};this.requireConsent=function(){cy=true;
bz=this.hasRememberedConsent();x++;b["CoreConsent"+x]={unload:function(){if(!bz){aE()}}}};this.setConsentGiven=function(){bz=true;bW(cJ,bn,cV);var di,dh;for(di=0;di<cH.length;di++){dh=typeof cH[di];if(dh==="string"){bD(cH[di],bH)}else{if(dh==="object"){dd(cH[di],bH)}}}cH=[]};this.rememberConsentGiven=function(di){if(bj){ak("rememberConsentGiven is called but cookies are disabled, consent will not be remembered");return}if(di){di=di*60*60*1000}this.setConsentGiven();var dh=new Date().getTime();dc(bc,dh,di,bn,cV,bQ)};this.forgetConsentGiven=function(){if(bj){ak("forgetConsentGiven is called but cookies are disabled, consent will not be forgotten");return}var dh=30*365*24*60*60*1000;bW(bc,bn,cV);dc(cJ,new Date().getTime(),dh,bn,cV,bQ);this.requireConsent()};this.isUserOptedOut=function(){return !bz};this.optUserOut=this.forgetConsentGiven;this.forgetUserOptOut=this.rememberConsentGiven;e.trigger("TrackerSetup",[this])}function H(){return{push:af}}function c(au,at){var av={};var aq,ar;for(aq=0;
aq<at.length;aq++){var ao=at[aq];av[ao]=1;for(ar=0;ar<au.length;ar++){if(au[ar]&&au[ar][0]){var ap=au[ar][0];if(ao===ap){af(au[ar]);delete au[ar];if(av[ap]>1&&ap!=="addTracker"){ak("The method "+ap+' 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')}av[ap]++}}}}return au}var C=["addTracker","disableCookies","setTrackerUrl","setAPIUrl","enableCrossDomainLinking","setCrossDomainLinkingTimeout","setSessionCookieTimeout","setVisitorCookieTimeout","setSecureCookie","setCookiePath","setCookieDomain","setDomains","setUserId","setSiteId","alwaysUseSendBeacon","enableLinkTracking","requireConsent","setConsentGiven"];function ad(ao,aq){var ap=new Q(ao,aq);I.push(ap);_paq=c(_paq,C);for(E=0;E<_paq.length;E++){if(_paq[E]){af(_paq[E])}}_paq=new H();e.trigger("TrackerAdded",[ap]);return ap}an(T,"beforeunload",ai,false);
Date.prototype.getTimeAlias=Date.prototype.getTime;e={initialized:false,JSON:JSON_PIWIK,DOM:{addEventListener:function(ar,aq,ap,ao){var at=typeof ao;if(at==="undefined"){ao=false}an(ar,aq,ap,ao)},onLoad:n,onReady:q,isNodeVisible:j,isOrWasNodeVisible:v.isNodeVisible},on:function(ap,ao){if(!y[ap]){y[ap]=[]}y[ap].push(ao)},off:function(aq,ap){if(!y[aq]){return}var ao=0;for(ao;ao<y[aq].length;ao++){if(y[aq][ao]===ap){y[aq].splice(ao,1)}}},trigger:function(aq,ar,ap){if(!y[aq]){return}var ao=0;for(ao;ao<y[aq].length;ao++){y[aq][ao].apply(ap||T,ar)}},addPlugin:function(ao,ap){b[ao]=ap},getTracker:function(ao,ap){if(!J(ap)){ap=this.getAsyncTracker().getSiteId()}if(!J(ao)){ao=this.getAsyncTracker().getTrackerUrl()}return new Q(ao,ap)},getAsyncTrackers:function(){return I},addTracker:function(ao,aq){var ap;if(!I.length){ap=ad(ao,aq)}else{ap=I[0].addTracker(ao,aq)}return ap},getAsyncTracker:function(ap,at){var ar;if(I&&I.length&&I[0]){ar=I[0]}else{return ad(ap,at)}if(!at&&!ap){return ar}if((!J(at)||null===at)&&ar){at=ar.getSiteId()
}if((!J(ap)||null===ap)&&ar){ap=ar.getTrackerUrl()}var aq,ao=0;for(ao;ao<I.length;ao++){aq=I[ao];if(aq&&String(aq.getSiteId())===String(at)&&aq.getTrackerUrl()===ap){return aq}}},retryMissedPluginCalls:function(){var ap=ah;ah=[];var ao=0;for(ao;ao<ap.length;ao++){af(ap[ao])}}};if(typeof define==="function"&&define.amd){define("piwik",[],function(){return e});define("matomo",[],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 Matomo tracker was not initialized before the matomo.js file was loaded. Make sure to configure the tracker via _paq.push before loading matomo.js. Alternatively, you can create a tracker via Matomo.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 */;