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

/* GENERATED: tracker.min.js */
/*!!
 * Piwik - free/libre analytics platform
 *
 * @link http://piwik.org
 * @license http://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
 */
(function(){function a(){if("object"===typeof window&&!window.Piwik){return}Piwik.addPlugin("DevicePixelRatio",{log:function(){devicePixelRatio=window.devicePixelRatio;if(devicePixelRatio===null){return""}return"&devicePixelRatio="+devicePixelRatio}})}if("object"===typeof window.Piwik){a()}else{if("object"!==typeof window.piwikPluginAsyncInit){window.piwikPluginAsyncInit=[]}window.piwikPluginAsyncInit.push(a)}})();
/* END GENERATED: tracker.min.js */

(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 */;