diff options
Diffstat (limited to 'matomo.js')
-rw-r--r-- | matomo.js | 79 |
1 files changed, 40 insertions, 39 deletions
@@ -29,44 +29,45 @@ ao=ae.findFirstNodeHavingAttribute(ap,this.CONTENT_PIECE_ATTR);if(!ao){ao=ae.fin }if(ar){ar+="&ca=1"}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||S.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(ao){if(ae.hasNodeAttribute(ao,this.CONTENT_IGNOREINTERACTION_ATTR)){return true}if(ae.hasNodeCssClass(ao,this.CONTENT_IGNOREINTERACTION_CLASS)){return true}if(ae.hasNodeCssClass(ao,this.LEGACY_CONTENT_IGNOREINTERACTION_CLASS)){return true}return false}};function W(ap,at){if(at){return at}ap=v.toAbsoluteUrl(ap);if(z(ap,"?")){var ar=ap.indexOf("?");ap=ap.slice(0,ar)}if(Q(ap,"matomo.php")){ap=f(ap,"matomo.php".length) }else{if(Q(ap,"piwik.php")){ap=f(ap,"piwik.php".length)}else{if(Q(ap,".php")){var ao=ap.lastIndexOf("/");var aq=1;ap=ap.slice(0,ao+aq)}}}if(Q(ap,"/js/")){ap=f(ap,"js/".length)}return ap}function N(av){var ax="Matomo_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)}}S.name=ax+"###"+au+"###"+ao+"###"+ar}var aw=S.name.split("###");return aw.length===4&&aw[0]===ax}function Z(ap,av,aq){var au=S.name.split("###"),at=au[1],ao=au[2],ar=au[3],aw=W(ap,av);n(aw+"plugins/Overlay/client/client.js?v=1",function(){Matomo_Overlay_Client.initialize(aw,aq,at,ao,ar)})}function u(){var aq;try{aq=S.frameElement}catch(ap){return true}if(J(aq)){return(aq&&String(aq.nodeName).toLowerCase()==="iframe")?true:false}try{return S.self!==S.top -}catch(ao){return true}}function P(cd,b9){var bJ=this,bd="mtm_consent",cC="mtm_cookie_consent",cL="mtm_consent_removed",b4=aa(G.domain,S.location.href,K()),cT=L(b4[0]),bN=o(b4[1]),bo=o(b4[2]),cR=false,ch="GET",c8=ch,aI="application/x-www-form-urlencoded; charset=UTF-8",cv=aI,aE=cd||"",bI="",cY="",b6=b9||"",bz="",bO="",a4,bj="",c5=["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","rtf","sea","sit","tar","tbz","tbz2","bz","bz2","tgz","torrent","txt","wav","wma","wmv","wpd","xls","xlsx","xml","z","zip"],ay=[cT],bA=[],bL=[],a8=[],bK=500,cV=true,cI,a5,bR,bP,ao,co=["pk_campaign","mtm_campaign","piwik_campaign","matomo_campaign","utm_campaign","utm_source","utm_medium"],bH=["pk_kwd","mtm_kwd","piwik_kwd","matomo_kwd","utm_term"],bk="_pk_",av="pk_vid",aZ=180,cW,bq,bS=false,bm=false,cP,be,bw,cJ=33955200000,cm=1800000,c4=15768000000,a2=true,bF=false,bh=false,bQ=false,aQ=false,cb,bW={},cl={},bn={},bu=200,cr={},cZ={},c6={},ca=[],ce=false,cA=false,ap=false,c7=false,cM=false,aN=false,bc=u(),cw=null,cX=null,aR,bB,b7=am,bp,aL,cp=0,bv=["id","ses","cvar","ref"],cz=false,bC=null,cK=[],ax=T++,aw=false; -try{bj=G.title}catch(cx){bj=""}function dc(dn,dl,dk,dm,dj,di){if(bm&&dn!==cL){return}var dh;if(dk){dh=new Date();dh.setTime(dh.getTime()+dk)}G.cookie=dn+"="+s(dl)+(dk?";expires="+dh.toGMTString():"")+";path="+(dm||"/")+(dj?";domain="+dj:"")+(di?";secure":"")+";SameSite=Lax"}function aD(dj){if(bm){return 0}var dh=new RegExp("(^|;)[ ]*"+dj+"=([^;]*)"),di=dh.exec(G.cookie);return di?R(di[2]):0}bC=!aD(cL);function b2(dh){var di;dh=j(dh,av);if(bP){di=new RegExp("#.*");return dh.replace(di,"")}return dh}function bV(dj,dh){var dk=r(dh),di;if(dk){return dh}if(dh.slice(0,1)==="/"){return r(dj)+"://"+d(dj)+dh}dj=b2(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 cG(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 ck(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 a3(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(Q(dh,"*")){dh=dh.slice(0,-1);dj=(!dh||dh==="/");if(dj){return true}if(di===dh){return true}return di.indexOf(dh)===0}if(!Q(di,"/")){di+="/"}if(!Q(dh,"/")){dh+="/"}return di.indexOf(dh)===0}function ar(dl,dn){var di,dh,dj,dk,dm;for(di=0;di<ay.length;di++){dk=L(ay[di]);dm=ck(ay[di]);if(cG(dl,dk)&&a3(dn,dm)){return true}}return false}function aV(dk){var di,dh,dj;for(di=0;di<ay.length;di++){dh=L(ay[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 cn(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:aE,success:true})}};di.onerror=function(){if(typeof dj==="function"){dj({request:dh,trackerUrl:aE,success:false})}};di.src=aE+(aE.indexOf("?")<0?"?":"&")+dh}function cD(dh){if(c8==="POST"){return true}return dh&&(dh.length>2000||dh.indexOf('{"requests"')===0)}function aK(){return"object"===typeof g&&"function"===typeof g.sendBeacon&&"function"===typeof Blob}function a6(dl,dp,dn){var dj=aK();if(!dj){return false}var dk={type:"application/x-www-form-urlencoded; charset=UTF-8"};var dq=false;var di=aE;try{var dh=new Blob([dl],dk);if(dn&&!cD(dl)){dh=new Blob([],dk);di=di+(di.indexOf("?")<0?"?":"&")+dl}dq=g.sendBeacon(di,dh)}catch(dm){return false}if(dq&&typeof dp==="function"){dp({request:dl,trackerUrl:aE,success:true,isSendBeacon:true})}return dq}function c3(di,dj,dh){if(!J(dh)||null===dh){dh=true}if(l&&a6(di,dj,dh)){return}setTimeout(function(){if(l&&a6(di,dj,dh)){return}var dm;try{var dl=S.XMLHttpRequest?new S.XMLHttpRequest():S.ActiveXObject?new ActiveXObject("Microsoft.XMLHTTP"):null; -dl.open("POST",aE,true);dl.onreadystatechange=function(){if(this.readyState===4&&!(this.status>=200&&this.status<300)){var dn=l&&a6(di,dj,dh);if(!dn&&dh){cn(di,dj)}else{if(typeof dj==="function"){dj({request:di,trackerUrl:aE,success:false,xhr:this})}}}else{if(this.readyState===4&&(typeof dj==="function")){dj({request:di,trackerUrl:aE,success:true,xhr:this})}}};dl.setRequestHeader("Content-Type",cv);dl.withCredentials=true;dl.send(di)}catch(dk){dm=l&&a6(di,dj,dh);if(!dm&&dh){cn(di,dj)}else{if(typeof dj==="function"){dj({request:di,trackerUrl:aE,success:false})}}}},50)}function cf(di){var dh=new Date();var dj=dh.getTime()+di;if(!q||dj>q){q=dj}}function ba(){bc=true;cw=new Date().getTime()}function db(){var dh=new Date().getTime();return !cw||(dh-cw)>a5}function az(){if(db()){bR()}}function de(){if(aN||!a5){return}aN=true;an(S,"focus",ba);an(S,"blur",az);ab++;t.addPlugin("HeartBeat"+ab,{unload:function(){if(aN&&db()){bR()}}})}function cB(dl){var di=new Date();var dh=di.getTime();cX=dh;if(cA&&dh<cA){var dj=cA-dh; -setTimeout(dl,dj);cf(dj+50);cA+=50;return}if(cA===false){var dk=800;cA=dh+dk}dl()}function aO(){if(aD(cL)){bC=false}else{if(aD(bd)){bC=true}}}function bG(di,dh,dj){aO();if(!bC){cK.push(di);return}aw=true;if(!cP&&di){if(cz&&bC){di+="&consent=1"}cB(function(){if(cV&&a6(di,dj,true)){cf(100);return}if(cD(di)){c3(di,dj)}else{cn(di,dj)}cf(dh)})}if(!aN){de()}}function cj(dh){if(cP){return false}return(dh&&dh.length)}function c2(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(!cj(di)){return}if(!bC){cK.push(di);return}aw=true;cB(function(){var dl=c2(di,50);var dj=0,dk;for(dj;dj<dl.length;dj++){dk='{"requests":["?'+dl[dj].join('","?')+'"]}';if(cV&&a6(dk,null,false)){cf(100)}else{c3(dk,null,false)}}cf(dh)})}function aT(dh){return bk+dh+"."+b6+"."+bp}function bY(dj,di,dh){dc(dj,"",-86400,di,dh)}function b5(){if(bm){return"0"}if(!J(S.showModalDialog)&&J(g.cookieEnabled)){return g.cookieEnabled?"1":"0" -}var dh=bk+"testcookie";dc(dh,"1",undefined,bq,cW,bS);var di=aD(dh)==="1"?"1":"0";bY(dh);return di}function bi(){bp=b7((cW||cT)+(bq||"/")).slice(0,4)}function cH(){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",fla:"application/x-shockwave-flash",java:"application/x-java-vm",ag:"application/x-silverlight"};if(!((new RegExp("MSIE")).test(g.userAgent))){if(g.mimeTypes&&g.mimeTypes.length){for(di in dl){if(Object.prototype.hasOwnProperty.call(dl,di)){dk=g.mimeTypes[dl[di]];c6[di]=(dk&&dk.enabledPlugin)?"1":"0"}}}if(!((new RegExp("Edge[ /](\\d+[\\.\\d]+)")).test(g.userAgent))&&typeof navigator.javaEnabled!=="unknown"&&J(g.javaEnabled)&&g.javaEnabled()){c6.java="1"}if(!J(S.showModalDialog)&&J(g.cookieEnabled)){c6.cookie=g.cookieEnabled?"1":"0"}else{c6.cookie=b5()}}var dj=parseInt(X.width,10);var dh=parseInt(X.height,10);c6.res=parseInt(dj,10)+"x"+parseInt(dh,10);return c6}function bX(){var di=aT("cvar"),dh=aD(di); -if(dh&&dh.length){dh=S.JSON.parse(dh);if(V(dh)){return dh}}return{}}function cE(){if(aQ===false){aQ=bX()}}function cQ(){var dh=cH();return b7((g.userAgent||"")+(g.platform||"")+S.JSON.stringify(dh)+(new Date()).getTime()+Math.random()).slice(0,16)}function aB(){var dh=cH();return b7((g.userAgent||"")+(g.platform||"")+S.JSON.stringify(dh)).slice(0,6)}function bf(){return Math.floor((new Date()).getTime()/1000)}function aJ(){var di=bf();var dj=aB();var dh=String(di)+dj;return dh}function c1(dj){dj=String(dj);var dm=aB();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=bf();if(aZ<=0){return true}if(dh>=di&&dh<=(di+aZ)){return true}}return false}function df(dh){if(!cM){return""}var dl=e(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(c1(di)){var dk=dl.substr(0,16);return dk}}return""}function cN(){if(!bO){bO=df(bN)}var dj=new Date(),dh=Math.round(dj.getTime()/1000),di=aT("id"),dm=aD(di),dl,dk; -if(dm){dl=dm.split(".");dl.unshift("0");if(bO.length){dl[1]=bO}return dl}if(bO.length){dk=bO}else{if("0"===b5()){dk=""}else{dk=cQ()}}dl=["1",dk,dh];return dl}function aY(){var dk=cN(),di=dk[0],dj=dk[1],dh=dk[2];return{newVisitor:di,uuid:dj,createTs:dh}}function aH(){var dk=new Date(),di=dk.getTime(),dl=aY().createTs;var dh=parseInt(dl,10);var dj=(dh*1000)+cJ-di;return dj}function aM(dh){if(!b6){return}var dj=new Date(),di=Math.round(dj.getTime()/1000);if(!J(dh)){dh=aY()}var dk=dh.uuid+"."+dh.createTs+".";dc(aT("id"),dk,aH(),bq,cW,bS)}function bM(){var dh=aD(aT("ref"));if(dh.length){try{dh=S.JSON.parse(dh);if(V(dh)){return dh}}catch(di){}}return["","",0,""]}function bx(di){var dh="testvalue";dc("test",dh,10000,null,di);if(aD("test")===dh){bY("test",null,di);return true}return false}function aF(){var di=bm;bm=false;var dh,dj;for(dh=0;dh<bv.length;dh++){dj=aT(bv[dh]);if(dj!==cL&&dj!==bd&&0!==aD(dj)){bY(dj,bq,cW)}}bm=di}function b3(dh){b6=dh}function dg(dl){if(!dl||!V(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 cc(){dc(aT("ses"),"1",cm,bq,cW,bS)}function bg(){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 aA(di){var dh="";if(h&&h.timing&&h&&h.timing.connectEnd&&h.timing.fetchStart){if(h.timing.connectEnd<h.timing.fetchStart){return}dh+="&pf_net="+(h.timing.connectEnd-h.timing.fetchStart)}if(h&&h.timing&&h&&h.timing.responseStart&&h.timing.requestStart){if(h.timing.responseStart<h.timing.requestStart){return}dh+="&pf_srv="+(h.timing.responseStart-h.timing.requestStart)}if(h&&h.timing&&h&&h.timing.responseStart&&h.timing.responseEnd){if(h.timing.responseEnd<h.timing.responseStart){return}dh+="&pf_tfr="+(h.timing.responseEnd-h.timing.responseStart)}if(h&&h.timing&&h&&h.timing.domInteractive&&h.timing.domLoading){if(h.timing.domInteractive<h.timing.domLoading){return -}dh+="&pf_dm1="+(h.timing.domInteractive-h.timing.domLoading)}if(h&&h.timing&&h&&h.timing.domComplete&&h.timing.domInteractive){if(h.timing.domComplete<h.timing.domInteractive){return}dh+="&pf_dm2="+(h.timing.domComplete-h.timing.domInteractive)}if(h&&h.timing&&h&&h.timing.loadEventEnd&&h.timing.loadEventStart){if(h.timing.loadEventEnd<h.timing.loadEventStart){return}dh+="&pf_onl="+(h.timing.loadEventEnd-h.timing.loadEventStart)}return di+dh}function cq(dj,dE,dF){var dD,di=new Date(),dr=Math.round(di.getTime()/1000),dn,dB,dk=1024,dK,ds,dA=aQ,dl=aT("ses"),dy=aT("ref"),dv=aT("cvar"),dw=aD(dl),dC=bM(),dG=a4||bN,dp,dh;if(bm){aF()}if(cP){return""}var dx=aY();var du=G.characterSet||G.charset;if(!du||du.toLowerCase()==="utf-8"){du=null}dp=dC[0];dh=dC[1];dn=dC[2];dB=dC[3];if(!dw){if(!bw||!dp.length){for(dD in co){if(Object.prototype.hasOwnProperty.call(co,dD)){dp=e(dG,co[dD]);if(dp.length){break}}}for(dD in bH){if(Object.prototype.hasOwnProperty.call(bH,dD)){dh=e(dG,bH[dD]);if(dh.length){break}}}}dK=d(bo); -ds=dB.length?d(dB):"";if(dK.length&&!aV(dK)&&(!bw||!ds.length||aV(ds))){dB=bo}if(dB.length||dp.length){dn=dr;dC=[dp,dh,dn,b2(dB.slice(0,dk))];dc(dy,S.JSON.stringify(dC),c4,bq,cW,bS)}}dj+="&idsite="+b6+"&rec=1&r="+String(Math.random()).slice(2,8)+"&h="+di.getHours()+"&m="+di.getMinutes()+"&s="+di.getSeconds()+"&url="+s(b2(dG))+(bo.length?"&urlref="+s(b2(bo)):"")+((bz&&bz.length)?"&uid="+s(bz):"")+"&_id="+dx.uuid+"&_idn="+dx.newVisitor+(dp.length?"&_rcn="+s(dp):"")+(dh.length?"&_rck="+s(dh):"")+"&_refts="+dn+(String(dB).length?"&_ref="+s(b2(dB.slice(0,dk))):"")+(du?"&cs="+s(du):"")+"&send_image=0";var dJ=cH();for(dD in dJ){if(Object.prototype.hasOwnProperty.call(dJ,dD)){dj+="&"+dD+"="+dJ[dD]}}var dI=[];if(dE){for(dD in dE){if(Object.prototype.hasOwnProperty.call(dE,dD)&&/^dimension\d+$/.test(dD)){var dm=dD.replace("dimension","");dI.push(parseInt(dm,10));dI.push(String(dm));dj+="&"+dD+"="+s(dE[dD]);delete dE[dD]}}}if(dE&&B(dE)){dE=null}for(dD in cr){if(Object.prototype.hasOwnProperty.call(cr,dD)){dj+="&"+dD+"="+s(cr[dD]) -}}for(dD in bn){if(Object.prototype.hasOwnProperty.call(bn,dD)){var dt=(-1===M(dI,dD));if(dt){dj+="&dimension"+dD+"="+s(bn[dD])}}}if(dE){dj+="&data="+s(S.JSON.stringify(dE))}else{if(ao){dj+="&data="+s(S.JSON.stringify(ao))}}function dq(dL,dM){var dN=S.JSON.stringify(dL);if(dN.length>2){return"&"+dM+"="+s(dN)}return""}var dH=dg(bW);var dz=dg(cl);dj+=dq(dH,"cvar");dj+=dq(dz,"e_cvar");if(aQ){dj+=dq(aQ,"_cvar");for(dD in dA){if(Object.prototype.hasOwnProperty.call(dA,dD)){if(aQ[dD][0]===""||aQ[dD][1]===""){delete aQ[dD]}}}if(bQ){dc(dv,S.JSON.stringify(aQ),cm,bq,cW,bS)}}if(a2&&bF&&!bh){dj=aA(dj);bh=true}if(aL){dj+="&pv_id="+aL}aM(dx);cc();dj+=ac(dF,{tracker:bJ,request:dj});if(cY.length){dj+="&"+cY}if(A(cb)){dj=cb(dj)}return dj}bR=function a7(){var dh=new Date();dh=dh.getTime();if(!cX){return false}if(cX+a5<=dh){bJ.ping();return true}return false};function br(dk,dj,dp,dl,dh,ds){var dn="idgoal=0",di=new Date(),dq=[],dr,dm=String(dk).length;if(dm){dn+="&ec_id="+s(dk)}dn+="&revenue="+dj;if(String(dp).length){dn+="&ec_st="+dp -}if(String(dl).length){dn+="&ec_tx="+dl}if(String(dh).length){dn+="&ec_sh="+dh}if(String(ds).length){dn+="&ec_dt="+ds}if(cZ){for(dr in cZ){if(Object.prototype.hasOwnProperty.call(cZ,dr)){if(!J(cZ[dr][1])){cZ[dr][1]=""}if(!J(cZ[dr][2])){cZ[dr][2]=""}if(!J(cZ[dr][3])||String(cZ[dr][3]).length===0){cZ[dr][3]=0}if(!J(cZ[dr][4])||String(cZ[dr][4]).length===0){cZ[dr][4]=1}dq.push(cZ[dr])}}dn+="&ec_items="+s(S.JSON.stringify(dq))}dn=cq(dn,ao,"ecommerce");bG(dn,bK);if(dm){cZ={}}}function bZ(dh,dl,dk,dj,di,dm){if(String(dh).length&&J(dl)){br(dh,dl,dk,dj,di,dm)}}function bt(dh){if(J(dh)){br("",dh,"","","","")}}function b0(di,dk,dj){aL=bg();var dh=cq("action_name="+s(al(di||bj)),dk,"log");if(!bh){dh=aA(dh)}bG(dh,bK,dj)}function a0(dj,di){var dk,dh="(^| )(piwik[_-]"+di+"|matomo[_-]"+di;if(dj){for(dk=0;dk<dj.length;dk++){dh+="|"+dj[dk]}}dh+=")( |$)";return new RegExp(dh)}function aU(dh){return(aE&&dh&&0===String(dh).indexOf(aE))}function ct(dl,dh,dm,di){if(aU(dh)){return 0}var dk=a0(bL,"download"),dj=a0(a8,"link"),dn=new RegExp("\\.("+c5.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");var di=dm.pathname||ck(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 aP(dh,di,dj,dk){var dl=v.buildInteractionRequestParams(dh,di,dj,dk);if(!dl){return}return cq(dl,null,"contentInteraction")}function bb(dh,di){if(!dh||!di){return false}var dj=v.findTargetNode(dh);if(v.shouldIgnoreInteraction(dj)){return false}dj=v.findTargetNodeNoDefault(dh);if(dj&&!U(dj,di)){return false -}return true}function cs(dj,di,dl){if(!dj){return}var dh=v.findParentContentNode(dj);if(!dh){return}if(!bb(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 aW(di){if(!ca||!ca.length){return false}var dh,dj;for(dh=0;dh<ca.length;dh++){dj=ca[dh];if(dj&&dj.name===di.name&&dj.piece===di.piece&&dj.target===di.target){return true}}return false}function aX(dh){return function(dl){if(!dh){return}var dj=v.findParentContentNode(dh);var di;if(dl){di=dl.target||dl.srcElement}if(!di){di=dh}if(!bb(dj,di)){return}if(!dj){return false}var dm=v.findTargetNode(dj);if(!dm||v.shouldIgnoreInteraction(dm)){return false}var dk=da(dm);if(c7&&dk&&dk.type){return dk.type}return bJ.trackContentInteractionNode(di,"click")}}function b1(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",aX(di))}}}function by(dj,dk){if(!dj||!dj.length){return[]}var dh,di;for(dh=0;dh<dj.length;dh++){if(aW(dj[dh])){dj.splice(dh,1);dh--}else{ca.push(dj[dh])}}if(!dj||!dj.length){return[]}b1(dk);var dl=[];for(dh=0;dh<dj.length;dh++){di=cq(v.buildImpressionRequestParams(dj[dh].name,dj[dh].piece,dj[dh].target),undefined,"contentImpressions");if(di){dl.push(di)}}return dl}function cy(di){var dh=v.collectContent(di);return by(dh,di)}function a9(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 cy(di)}function aG(dj,dh,di){var dk=v.buildImpressionRequestParams(dj,dh,di);return cq(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 aP(di,dj.name,dj.piece,dj.target)}function cO(di,dk,dh,dj){return"e_c="+s(di)+"&e_a="+s(dk)+(J(dh)?"&e_n="+s(dh):"")+(J(dj)?"&e_v="+s(dj):"")+"&ca=1" -}function at(dj,dl,dh,dk,dn,dm){if(!Y(dj)||!Y(dl)){ak("Error while logging event: Parameters `category` and `action` must not be empty or filled with whitespaces");return false}var di=cq(cO(dj,dl,dh,dk),dn,"event");bG(di,bK,dm)}function b8(dh,dk,di,dl){var dj=cq("search="+s(dh)+(dk?"&search_cat="+s(dk):"")+(J(di)?"&search_count="+di:""),dl,"sitesearch");bG(dj,bK)}function cS(dh,dl,dk,dj){var di=cq("idgoal="+dh+(dl?"&revenue="+dl:""),dk,"goal");bG(di,bK,dj)}function c0(dk,dh,dp,dn,dj){var dm=dh+"="+s(b2(dk));var di=cs(dj,"click",dk);if(di){dm+="&"+di}var dl=cq(dm,dp,"link");bG(dl,bK,dn)}function bU(di,dh){if(di!==""){return di+dh.charAt(0).toUpperCase()+dh.slice(1)}return dh}function cg(dm){var dl,dh,dk=["","webkit","ms","moz"],dj;if(!be){for(dh=0;dh<dk.length;dh++){dj=dk[dh];if(Object.prototype.hasOwnProperty.call(G,bU(dj,"hidden"))){if(G[bU(dj,"visibilityState")]==="prerender"){dl=true}break}}}if(dl){an(G,dj+"visibilitychange",function di(){G.removeEventListener(dj+"visibilitychange",di,false); -dm()});return}dm()}function bs(){var di=bJ.getVisitorId();var dh=aJ();return di+dh}function ci(dh){if(!dh){return}if(!ae.hasNodeAttribute(dh,"href")){return}var di=ae.getAttributeValueFromNode(dh,"href");if(!di||aU(di)){return}if(!bJ.getVisitorId()){return}di=j(di,av);var dj=bs();di=F(di,av,dj);ae.setAnyAttribute(dh,"href",di)}function bl(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||ck(dk.href);var dj=(dk.hostname||d(dk.href)).toLowerCase();if(ar(dj,dh)){if(!cG(cT,L(dj))){return true}return false}return false}function cF(dh){var di=da(dh);if(di&&di.type){di.href=o(di.href);c0(di.href,di.type,undefined,null,dh);return}if(cM){dh=au(dh);if(bl(dh)){ci(dh)}}}function cu(){return G.all&&!G.addEventListener}function cU(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 bT(dh){switch(cU(dh)){case 1:return"left";case 2:return"middle";case 3:return"right"}}function a1(dh){return dh.target||dh.srcElement}function aC(dh){return function(dk){dk=dk||S.event;var dj=bT(dk);var dl=a1(dk);if(dk.type==="click"){var di=false;if(dh&&dj==="middle"){di=true}if(dl&&!di){cF(dl)}}else{if(dk.type==="mousedown"){if(dj==="middle"&&dl){aR=dj;bB=dl}else{aR=bB=null}}else{if(dk.type==="mouseup"){if(dj===aR&&dl===bB){cF(dl)}aR=bB=null}else{if(dk.type==="contextmenu"){cF(dl)}}}}}}function aq(dj,di){var dh=typeof di;if(dh==="undefined"){di=true}an(dj,"click",aC(di),false);if(di){an(dj,"mouseup",aC(di),false);an(dj,"mousedown",aC(di),false);an(dj,"contextmenu",aC(di),false)}}function bE(dj,dl){ap=true;var dk,di=a0(bA,"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.matomoTrackers; -if("undefined"===dn){dh.matomoTrackers=[]}if(-1===M(dh.matomoTrackers,dl)){dh.matomoTrackers.push(dl);aq(dh,dj)}}}}}function aS(di,dl,dm){if(ce){return true}ce=true;var dn=false;var dk,dj;function dh(){dn=true}m(function(){function dp(dr){setTimeout(function(){if(!ce){return}dn=false;dm.trackVisibleContentImpressions();dp(dr)},dr)}function dq(dr){setTimeout(function(){if(!ce){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{S.attachEvent("on"+dk[dj],dh)}}dq(100)}if(dl&&dl>0){dl=parseInt(dl,10);dp(dl)}})}var bD={enabled:true,requests:[],timeout:null,interval:2500,sendRequests:function(){var dh=this.requests;this.requests=[];if(dh.length===1){bG(dh[0],bK)}else{dd(dh,bK)}},canQueue:function(){return !l&&this.enabled},pushMultiple:function(di){if(!this.canQueue()){dd(di,bK);return}var dh;for(dh=0;dh<di.length;dh++){this.push(di[dh])}},push:function(dh){if(!dh){return -}if(!this.canQueue()){bG(dh,bK);return}bD.requests.push(dh);if(this.timeout){clearTimeout(this.timeout);this.timeout=null}this.timeout=setTimeout(function(){bD.timeout=null;bD.sendRequests()},bD.interval);var di="RequestQueue"+ax;if(!Object.prototype.hasOwnProperty.call(b,di)){b[di]={unload:function(){if(bD.timeout){clearTimeout(bD.timeout)}bD.sendRequests()}}}}};bi();aM();this.hasConsent=function(){return bC};this.getVisitorId=function(){return aY().uuid};this.getVisitorInfo=function(){return cN()};this.getAttributionInfo=function(){return bM()};this.getAttributionCampaignName=function(){return bM()[0]};this.getAttributionCampaignKeyword=function(){return bM()[1]};this.getAttributionReferrerTimestamp=function(){return bM()[2]};this.getAttributionReferrerUrl=function(){return bM()[3]};this.setTrackerUrl=function(dh){aE=dh};this.getTrackerUrl=function(){return aE};this.getMatomoUrl=function(){return W(this.getTrackerUrl(),bI)};this.getPiwikUrl=function(){return this.getMatomoUrl()};this.addTracker=function(dj,di){if(!J(dj)||null===dj){dj=this.getTrackerUrl() -}var dh=new P(dj,di);I.push(dh);t.trigger("TrackerAdded",[this]);return dh};this.getSiteId=function(){return b6};this.setSiteId=function(dh){b3(dh)};this.resetUserId=function(){bz=""};this.setUserId=function(dh){if(Y(dh)){bz=dh}};this.setVisitorId=function(di){var dh=/[0-9A-Fa-f]{16}/g;if(w(di)&&dh.test(di)){bO=di}else{ak("Invalid visitorId set"+di)}};this.getUserId=function(){return bz};this.setCustomData=function(dh,di){if(V(dh)){ao=dh}else{if(!ao){ao={}}ao[dh]=di}};this.getCustomData=function(){return ao};this.setCustomRequestProcessing=function(dh){cb=dh};this.appendToTrackingUrl=function(dh){cY=dh};this.getRequest=function(dh){return cq(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)}bn[dh]=di}};this.getCustomDimension=function(dh){dh=parseInt(dh,10);if(dh>0&&Object.prototype.hasOwnProperty.call(bn,dh)){return bn[dh]}};this.deleteCustomDimension=function(dh){dh=parseInt(dh,10); -if(dh>0){delete bn[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,bu),dl.slice(0,bu)];if(dj==="visit"||dj===2){cE();aQ[di]=dk}else{if(dj==="page"||dj===3){bW[di]=dk}else{if(dj==="event"){cl[di]=dk}}}}};this.getCustomVariable=function(di,dj){var dh;if(!J(dj)){dj="visit"}if(dj==="page"||dj===3){dh=bW[di]}else{if(dj==="event"){dh=cl[di]}else{if(dj==="visit"||dj===2){cE();dh=aQ[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){bW={}}else{if(dh==="event"){cl={}}else{if(dh==="visit"||dh===2){aQ={}}}}};this.storeCustomVariablesInCookie=function(){bQ=true};this.setLinkTrackingTimer=function(dh){bK=dh};this.getLinkTrackingTimer=function(){return bK};this.setDownloadExtensions=function(dh){if(w(dh)){dh=dh.split("|") -}c5=dh};this.addDownloadExtensions=function(di){var dh;if(w(di)){di=di.split("|")}for(dh=0;dh<di.length;dh++){c5.push(di[dh])}};this.removeDownloadExtensions=function(dj){var di,dh=[];if(w(dj)){dj=dj.split("|")}for(di=0;di<c5.length;di++){if(M(dj,c5[di])===-1){dh.push(c5[di])}}c5=dh};this.setDomains=function(dh){ay=w(dh)?[dh]:dh;var dl=false,dj=0,di;for(dj;dj<ay.length;dj++){di=String(ay[dj]);if(cG(cT,L(di))){dl=true;break}var dk=ck(di);if(dk&&dk!=="/"&&dk!=="/*"){dl=true;break}}if(!dl){ay.push(cT)}};this.enableCrossDomainLinking=function(){cM=true};this.disableCrossDomainLinking=function(){cM=false};this.isCrossDomainLinkingEnabled=function(){return cM};this.setCrossDomainLinkingTimeout=function(dh){aZ=dh};this.getCrossDomainLinkingUrlParameter=function(){return s(av)+"="+s(bs())};this.setIgnoreClasses=function(dh){bA=w(dh)?[dh]:dh};this.setRequestMethod=function(dh){c8=dh||ch};this.setRequestContentType=function(dh){cv=dh||aI};this.setReferrerUrl=function(dh){bo=dh};this.setCustomUrl=function(dh){a4=bV(bN,dh) -};this.getCurrentUrl=function(){return a4||bN};this.setDocumentTitle=function(dh){bj=dh};this.setAPIUrl=function(dh){bI=dh};this.setDownloadClasses=function(dh){bL=w(dh)?[dh]:dh};this.setLinkClasses=function(dh){a8=w(dh)?[dh]:dh};this.setCampaignNameKey=function(dh){co=w(dh)?[dh]:dh};this.setCampaignKeywordKey=function(dh){bH=w(dh)?[dh]:dh};this.discardHashTag=function(dh){bP=dh};this.setCookieNamePrefix=function(dh){bk=dh;if(aQ){aQ=bX()}};this.setCookieDomain=function(dh){var di=L(dh);if(bx(di)){cW=di;bi()}};this.getCookieDomain=function(){return cW};this.hasCookies=function(){return"1"===b5()};this.setSessionCookie=function(dj,di,dh){if(!dj){throw new Error("Missing cookie name")}if(!J(dh)){dh=cm}bv.push(dj);dc(aT(dj),di,dh,bq,cW)};this.getCookie=function(di){var dh=aD(aT(di));if(dh===0){return null}return dh};this.setCookiePath=function(dh){bq=dh;bi()};this.getCookiePath=function(dh){return bq};this.setVisitorCookieTimeout=function(dh){cJ=dh*1000};this.setSessionCookieTimeout=function(dh){cm=dh*1000 -};this.getSessionCookieTimeout=function(){return cm};this.setReferralCookieTimeout=function(dh){c4=dh*1000};this.setConversionAttributionFirstReferrer=function(dh){bw=dh};this.setSecureCookie=function(dh){bS=dh};this.disableCookies=function(){bm=true;if(b6){aF()}};this.areCookiesEnabled=function(){return !bm};this.setCookieConsentGiven=function(){if(bm&&!cP){bm=false;if(b6&&aw){aM();var dh=cq("ping=1",null,"ping");bG(dh,bK)}}};this.requireCookieConsent=function(){if(this.getRememberedCookieConsent()){return false}this.disableCookies();return true};this.getRememberedCookieConsent=function(){return aD(cC)};this.forgetCookieConsentGiven=function(){bY(cC,bq,cW);this.disableCookies()};this.rememberCookieConsentGiven=function(di){if(di){di=di*60*60*1000}else{di=30*365*24*60*60*1000}this.setCookieConsentGiven();var dh=new Date().getTime();dc(cC,dh,di,bq,cW,bS)};this.deleteCookies=function(){aF()};this.setDoNotTrack=function(di){var dh=g.doNotTrack||g.msDoNotTrack;cP=di&&(dh==="yes"||dh==="1"); -if(cP){this.disableCookies()}};this.alwaysUseSendBeacon=function(){cV=true};this.disableAlwaysUseSendBeacon=function(){cV=false};this.addListener=function(di,dh){aq(di,dh)};this.enableLinkTracking=function(di){c7=true;var dh=this;cg(function(){p(function(){bE(di,dh)});m(function(){bE(di,dh)})})};this.enableJSErrorTracking=function(){if(cR){return}cR=true;var dh=S.onerror;S.onerror=function(dm,dk,dj,dl,di){cg(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(){a2=false};this.enableHeartBeatTimer=function(dh){dh=Math.max(dh||15,5);a5=dh*1000;if(cX!==null){de()}};this.disableHeartBeatTimer=function(){if(a5||aN){if(S.removeEventListener){S.removeEventListener("focus",ba);S.removeEventListener("blur",az)}else{if(S.detachEvent){S.detachEvent("onfocus",ba);S.detachEvent("onblur",az)}}}a5=null;aN=false};this.killFrame=function(){if(S.location!==S.top.location){S.top.location=S.location -}};this.redirectFile=function(dh){if(S.location.protocol==="file:"){S.location=dh}};this.setCountPreRendered=function(dh){be=dh};this.trackGoal=function(dh,dk,dj,di){cg(function(){cS(dh,dk,dj,di)})};this.trackLink=function(di,dh,dk,dj){cg(function(){c0(di,dh,dk,dj)})};this.getNumTrackedPageViews=function(){return cp};this.trackPageView=function(dh,dj,di){ca=[];cK=[];if(N(b6)){cg(function(){Z(aE,bI,b6)})}else{cg(function(){cp++;b0(dh,dj,di)})}};this.trackAllContentImpressions=function(){if(N(b6)){return}cg(function(){p(function(){var dh=v.findContentNodes();var di=cy(dh);bD.pushMultiple(di)})})};this.trackVisibleContentImpressions=function(dh,di){if(N(b6)){return}if(!J(dh)){dh=true}if(!J(di)){di=750}aS(dh,di,this);cg(function(){m(function(){var dj=v.findContentNodes();var dk=a9(dj);bD.pushMultiple(dk)})})};this.trackContentImpression=function(dj,dh,di){if(N(b6)){return}dj=a(dj);dh=a(dh);di=a(di);if(!dj){return}dh=dh||"Unknown";cg(function(){var dk=aG(dj,dh,di);bD.push(dk)})};this.trackContentImpressionsWithinNode=function(dh){if(N(b6)||!dh){return -}cg(function(){if(ce){m(function(){var di=v.findContentNodesWithinNode(dh);var dj=a9(di);bD.pushMultiple(dj)})}else{p(function(){var di=v.findContentNodesWithinNode(dh);var dj=cy(di);bD.pushMultiple(dj)})}})};this.trackContentInteraction=function(dj,dk,dh,di){if(N(b6)){return}dj=a(dj);dk=a(dk);dh=a(dh);di=a(di);if(!dj||!dk){return}dh=dh||"Unknown";cg(function(){var dl=aP(dj,dk,dh,di);if(dl){bD.push(dl)}})};this.trackContentInteractionNode=function(dj,di){if(N(b6)||!dj){return}var dh=null;cg(function(){dh=c9(dj,di);if(dh){bD.push(dh)}});return dh};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){cg(function(){at(di,dk,dh,dj,dm,dl)})};this.trackSiteSearch=function(dh,dj,di,dk){ca=[];cg(function(){b8(dh,dj,di,dk)})};this.setEcommerceView=function(dl,dh,dj,di){cr={};if(Y(dj)){dj=String(dj)}if(!J(dj)||dj===null||dj===false||!dj.length){dj="" -}else{if(dj instanceof Array){dj=S.JSON.stringify(dj)}}var dk="_pkc";cr[dk]=dj;if(J(di)&&di!==null&&di!==false&&String(di).length){dk="_pkp";cr[dk]=di}if(!Y(dl)&&!Y(dh)){return}if(Y(dl)){dk="_pks";cr[dk]=dl}if(!Y(dh)){dh=""}dk="_pkn";cr[dk]=dh};this.getEcommerceItems=function(){return JSON.parse(JSON.stringify(cZ))};this.addEcommerceItem=function(dl,dh,dj,di,dk){if(Y(dl)){cZ[dl]=[String(dl),dh,dj,di,dk]}};this.removeEcommerceItem=function(dh){if(Y(dh)){dh=String(dh);delete cZ[dh]}};this.clearEcommerceCart=function(){cZ={}};this.trackEcommerceOrder=function(dh,dl,dk,dj,di,dm){bZ(dh,dl,dk,dj,di,dm)};this.trackEcommerceCartUpdate=function(dh){bt(dh)};this.trackRequest=function(di,dk,dj,dh){cg(function(){var dl=cq(di,dk,dh);bG(dl,bK,dj)})};this.ping=function(){this.trackRequest("ping=1",null,null,"ping")};this.disableQueueRequest=function(){bD.enabled=false};this.setRequestQueueInterval=function(dh){if(dh<1000){throw new Error("Request queue interval needs to be at least 1000ms")}bD.interval=dh -};this.queueRequest=function(dh){cg(function(){var di=cq(dh);bD.push(di)})};this.isConsentRequired=function(){return cz};this.getRememberedConsent=function(){var dh=aD(bd);if(aD(cL)){if(dh){bY(bd,bq,cW)}return null}if(!dh||dh===0){return null}return dh};this.hasRememberedConsent=function(){return !!this.getRememberedConsent()};this.requireConsent=function(){cz=true;bC=this.hasRememberedConsent();if(!bC){bm=true}x++;b["CoreConsent"+x]={unload:function(){if(!bC){aF()}}}};this.setConsentGiven=function(di){bC=true;bY(cL,bq,cW);var dj,dh;for(dj=0;dj<cK.length;dj++){dh=typeof cK[dj];if(dh==="string"){bG(cK[dj],bK)}else{if(dh==="object"){dd(cK[dj],bK)}}}cK=[];if(!J(di)||di){this.setCookieConsentGiven()}};this.rememberConsentGiven=function(dj){if(dj){dj=dj*60*60*1000}else{dj=30*365*24*60*60*1000}var dh=true;this.setConsentGiven(dh);var di=new Date().getTime();dc(bd,di,dj,bq,cW,bS)};this.forgetConsentGiven=function(){var dh=30*365*24*60*60*1000;bY(bd,bq,cW);dc(cL,new Date().getTime(),dh,bq,cW,bS); -this.forgetCookieConsentGiven();this.requireConsent()};this.isUserOptedOut=function(){return !bC};this.optUserOut=this.forgetConsentGiven;this.forgetUserOptOut=function(){this.setConsentGiven(false)};m(function(){setTimeout(function(){bF=true},0)});t.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 Matomo trackers documentation: https://developer.matomo.org/guides/tracking-javascript-guide#multiple-piwik-trackers')}av[ap]++}}}}return au}var C=["addTracker","forgetCookieConsentGiven","requireCookieConsent","disableCookies","setTrackerUrl","setAPIUrl","enableCrossDomainLinking","setCrossDomainLinkingTimeout","setSessionCookieTimeout","setVisitorCookieTimeout","setCookieNamePrefix","setSecureCookie","setCookiePath","setCookieDomain","setDomains","setUserId","setVisitorId","setSiteId","alwaysUseSendBeacon","enableLinkTracking","setCookieConsentGiven","requireConsent","setConsentGiven"]; -function ad(aq,ap){var ao=new P(aq,ap);I.push(ao);_paq=c(_paq,C);for(E=0;E<_paq.length;E++){if(_paq[E]){af(_paq[E])}}_paq=new H();t.trigger("TrackerAdded",[ao]);return ao}an(S,"beforeunload",ai,false);an(S,"online",function(){if(J(g.serviceWorker)&&J(g.serviceWorker.ready)){g.serviceWorker.ready.then(function(ao){return ao.sync.register("matomoSync")})}},false);an(S,"message",function(au){if(!au||!au.origin){return}var aw,ar,ap;var ax=d(au.origin);var at=t.getAsyncTrackers();for(ar=0;ar<at.length;ar++){ap=d(at[ar].getMatomoUrl());if(ap===ax){aw=at[ar];break}}if(!aw){return}var aq=null;try{aq=JSON.parse(au.data)}catch(av){return}if(!aq){return}function ao(aA){var aC=G.getElementsByTagName("iframe");for(ar=0;ar<aC.length;ar++){var aB=aC[ar];var ay=d(aB.src);if(aB.contentWindow&&J(aB.contentWindow.postMessage)&&ay===ax){var az=JSON.stringify(aA);aB.contentWindow.postMessage(az,"*")}}}if(J(aq.maq_initial_value)){ao({maq_opted_in:aq.maq_initial_value&&aw.hasConsent(),maq_url:aw.getMatomoUrl(),maq_optout_by_default:aw.isConsentRequired()}) -}else{if(J(aq.maq_opted_in)){at=t.getAsyncTrackers();for(ar=0;ar<at.length;ar++){aw=at[ar];if(aq.maq_opted_in){aw.rememberConsentGiven()}else{aw.forgetConsentGiven()}}ao({maq_confirm_opted_in:aw.hasConsent(),maq_url:aw.getMatomoUrl(),maq_optout_by_default:aw.isConsentRequired()})}}},false);Date.prototype.getTimeAlias=Date.prototype.getTime;t={initialized:false,JSON:S.JSON,DOM:{addEventListener:function(ar,aq,ap,ao){var at=typeof ao;if(at==="undefined"){ao=false}an(ar,aq,ap,ao)},onLoad:m,onReady:p,isNodeVisible:i,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||S,ar)}},addPlugin:function(ao,ap){b[ao]=ap},getTracker:function(ap,ao){if(!J(ao)){ao=this.getAsyncTracker().getSiteId()}if(!J(ap)){ap=this.getAsyncTracker().getTrackerUrl() -}return new P(ap,ao)},getAsyncTrackers:function(){return I},addTracker:function(aq,ap){var ao;if(!I.length){ao=ad(aq,ap)}else{ao=I[0].addTracker(aq,ap)}return ao},getAsyncTracker:function(at,ar){var aq;if(I&&I.length&&I[0]){aq=I[0]}else{return ad(at,ar)}if(!ar&&!at){return aq}if((!J(ar)||null===ar)&&aq){ar=aq.getSiteId()}if((!J(at)||null===at)&&aq){at=aq.getTrackerUrl()}var ap,ao=0;for(ao;ao<I.length;ao++){ap=I[ao];if(ap&&String(ap.getSiteId())===String(ar)&&ap.getTrackerUrl()===at){return ap}}},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 t});define("matomo",[],function(){return t})}return t}())} +}catch(ao){return true}}function P(ce,ca){var bK=this,be="mtm_consent",cD="mtm_cookie_consent",cM="mtm_consent_removed",b5=aa(G.domain,S.location.href,K()),cU=L(b5[0]),bO=o(b5[1]),bp=o(b5[2]),cS=false,ci="GET",c9=ci,aI="application/x-www-form-urlencoded; charset=UTF-8",cw=aI,aE=ce||"",bJ="",cZ="",b7=ca||"",bA="",bP="",a5,bk="",c6=["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","rtf","sea","sit","tar","tbz","tbz2","bz","bz2","tgz","torrent","txt","wav","wma","wmv","wpd","xls","xlsx","xml","z","zip"],ay=[cU],bB=[],bM=[],a9=[],bL=500,cW=true,cJ,a6,bS,bQ,ao,cp=["pk_campaign","mtm_campaign","piwik_campaign","matomo_campaign","utm_campaign","utm_source","utm_medium"],bI=["pk_kwd","mtm_kwd","piwik_kwd","matomo_kwd","utm_term"],bl="_pk_",av="pk_vid",a0=180,cX,br,bT=false,aJ="Lax",bn=false,cQ,bf,bx,cK=33955200000,cn=1800000,c5=15768000000,a3=true,bG=false,bi=false,bR=false,aR=false,cc,bX={},cm={},bo={},bv=200,cs={},c0={},c7={},cb=[],cf=false,cB=false,ap=false,c8=false,cN=false,aO=false,bd=u(),cx=null,cY=null,aS,bC,b8=am,bq,aM,cq=0,bw=["id","ses","cvar","ref"],cA=false,bD=null,cL=[],ax=T++,aw=false; +try{bk=G.title}catch(cy){bk=""}function dd(dq,dn,dm,dp,dl,dk,dj){if(bn&&dq!==cM){return}var di;if(dm){di=new Date();di.setTime(di.getTime()+dm)}if(!dj){dj="Lax"}G.cookie=dq+"="+s(dn)+(dm?";expires="+di.toGMTString():"")+";path="+(dp||"/")+(dl?";domain="+dl:"")+(dk?";secure":"")+";SameSite="+dj}function aD(dk){if(bn){return 0}var di=new RegExp("(^|;)[ ]*"+dk+"=([^;]*)"),dj=di.exec(G.cookie);return dj?R(dj[2]):0}bD=!aD(cM);function b3(di){var dj;di=j(di,av);if(bQ){dj=new RegExp("#.*");return di.replace(dj,"")}return di}function bW(dk,di){var dl=r(di),dj;if(dl){return di}if(di.slice(0,1)==="/"){return r(dk)+"://"+d(dk)+di}dk=b3(dk);dj=dk.indexOf("?");if(dj>=0){dk=dk.slice(0,dj)}dj=dk.lastIndexOf("/");if(dj!==dk.length-1){dk=dk.slice(0,dj+1)}return dk+di}function cH(dk,di){var dj;dk=String(dk).toLowerCase();di=String(di).toLowerCase();if(dk===di){return true}if(di.slice(0,1)==="."){if(dk===di.slice(1)){return true}dj=dk.length-di.length;if((dj>0)&&(dk.slice(dj)===di)){return true}}return false +}function cl(di){var dj=document.createElement("a");if(di.indexOf("//")!==0&&di.indexOf("http")!==0){if(di.indexOf("*")===0){di=di.substr(1)}if(di.indexOf(".")===0){di=di.substr(1)}di="http://"+di}dj.href=v.toAbsoluteUrl(di);if(dj.pathname){return dj.pathname}return""}function a4(dj,di){if(!aj(di,"/")){di="/"+di}if(!aj(dj,"/")){dj="/"+dj}var dk=(di==="/"||di==="/*");if(dk){return true}if(dj===di){return true}di=String(di).toLowerCase();dj=String(dj).toLowerCase();if(Q(di,"*")){di=di.slice(0,-1);dk=(!di||di==="/");if(dk){return true}if(dj===di){return true}return dj.indexOf(di)===0}if(!Q(dj,"/")){dj+="/"}if(!Q(di,"/")){di+="/"}return dj.indexOf(di)===0}function ar(dm,dp){var dj,di,dk,dl,dn;for(dj=0;dj<ay.length;dj++){dl=L(ay[dj]);dn=cl(ay[dj]);if(cH(dm,dl)&&a4(dp,dn)){return true}}return false}function aW(dl){var dj,di,dk;for(dj=0;dj<ay.length;dj++){di=L(ay[dj].toLowerCase());if(dl===di){return true}if(di.slice(0,1)==="."){if(dl===di.slice(1)){return true}dk=dl.length-di.length;if((dk>0)&&(dl.slice(dk)===di)){return true +}}}return false}function co(di,dk){di=di.replace("send_image=0","send_image=1");var dj=new Image(1,1);dj.onload=function(){E=0;if(typeof dk==="function"){dk({request:di,trackerUrl:aE,success:true})}};dj.onerror=function(){if(typeof dk==="function"){dk({request:di,trackerUrl:aE,success:false})}};dj.src=aE+(aE.indexOf("?")<0?"?":"&")+di}function cE(di){if(c9==="POST"){return true}return di&&(di.length>2000||di.indexOf('{"requests"')===0)}function aL(){return"object"===typeof g&&"function"===typeof g.sendBeacon&&"function"===typeof Blob}function a7(dm,dq,dp){var dk=aL();if(!dk){return false}var dl={type:"application/x-www-form-urlencoded; charset=UTF-8"};var dr=false;var dj=aE;try{var di=new Blob([dm],dl);if(dp&&!cE(dm)){di=new Blob([],dl);dj=dj+(dj.indexOf("?")<0?"?":"&")+dm}dr=g.sendBeacon(dj,di)}catch(dn){return false}if(dr&&typeof dq==="function"){dq({request:dm,trackerUrl:aE,success:true,isSendBeacon:true})}return dr}function c4(dj,dk,di){if(!J(di)||null===di){di=true}if(l&&a7(dj,dk,di)){return +}setTimeout(function(){if(l&&a7(dj,dk,di)){return}var dn;try{var dm=S.XMLHttpRequest?new S.XMLHttpRequest():S.ActiveXObject?new ActiveXObject("Microsoft.XMLHTTP"):null;dm.open("POST",aE,true);dm.onreadystatechange=function(){if(this.readyState===4&&!(this.status>=200&&this.status<300)){var dp=l&&a7(dj,dk,di);if(!dp&&di){co(dj,dk)}else{if(typeof dk==="function"){dk({request:dj,trackerUrl:aE,success:false,xhr:this})}}}else{if(this.readyState===4&&(typeof dk==="function")){dk({request:dj,trackerUrl:aE,success:true,xhr:this})}}};dm.setRequestHeader("Content-Type",cw);dm.withCredentials=true;dm.send(dj)}catch(dl){dn=l&&a7(dj,dk,di);if(!dn&&di){co(dj,dk)}else{if(typeof dk==="function"){dk({request:dj,trackerUrl:aE,success:false})}}}},50)}function cg(dj){var di=new Date();var dk=di.getTime()+dj;if(!q||dk>q){q=dk}}function bb(){bd=true;cx=new Date().getTime()}function dc(){var di=new Date().getTime();return !cx||(di-cx)>a6}function az(){if(dc()){bS()}}function df(){if(aO||!a6){return}aO=true;an(S,"focus",bb); +an(S,"blur",az);ab++;t.addPlugin("HeartBeat"+ab,{unload:function(){if(aO&&dc()){bS()}}})}function cC(dm){var dj=new Date();var di=dj.getTime();cY=di;if(cB&&di<cB){var dk=cB-di;setTimeout(dm,dk);cg(dk+50);cB+=50;return}if(cB===false){var dl=800;cB=di+dl}dm()}function aP(){if(aD(cM)){bD=false}else{if(aD(be)){bD=true}}}function bH(dj,di,dk){aP();if(!bD){cL.push(dj);return}aw=true;if(!cQ&&dj){if(cA&&bD){dj+="&consent=1"}cC(function(){if(cW&&a7(dj,dk,true)){cg(100);return}if(cE(dj)){c4(dj,dk)}else{co(dj,dk)}cg(di)})}if(!aO){df()}}function ck(di){if(cQ){return false}return(di&&di.length)}function c3(di,dm){if(!dm||dm>=di.length){return[di]}var dj=0;var dk=di.length;var dl=[];for(dj;dj<dk;dj+=dm){dl.push(di.slice(dj,dj+dm))}return dl}function de(dj,di){if(!ck(dj)){return}if(!bD){cL.push(dj);return}aw=true;cC(function(){var dm=c3(dj,50);var dk=0,dl;for(dk;dk<dm.length;dk++){dl='{"requests":["?'+dm[dk].join('","?')+'"]}';if(cW&&a7(dl,null,false)){cg(100)}else{c4(dl,null,false)}}cg(di)})}function aU(di){return bl+di+"."+b7+"."+bq +}function bZ(dk,dj,di){dd(dk,"",-86400,dj,di)}function b6(){if(bn){return"0"}if(!J(S.showModalDialog)&&J(g.cookieEnabled)){return g.cookieEnabled?"1":"0"}var di=bl+"testcookie";dd(di,"1",undefined,br,cX,bT,aJ);var dj=aD(di)==="1"?"1":"0";bZ(di);return dj}function bj(){bq=b8((cX||cU)+(br||"/")).slice(0,4)}function cI(){if(J(c7.res)){return c7}var dj,dl,dm={pdf:"application/pdf",qt:"video/quicktime",realp:"audio/x-pn-realaudio-plugin",wma:"application/x-mplayer2",fla:"application/x-shockwave-flash",java:"application/x-java-vm",ag:"application/x-silverlight"};if(!((new RegExp("MSIE")).test(g.userAgent))){if(g.mimeTypes&&g.mimeTypes.length){for(dj in dm){if(Object.prototype.hasOwnProperty.call(dm,dj)){dl=g.mimeTypes[dm[dj]];c7[dj]=(dl&&dl.enabledPlugin)?"1":"0"}}}if(!((new RegExp("Edge[ /](\\d+[\\.\\d]+)")).test(g.userAgent))&&typeof navigator.javaEnabled!=="unknown"&&J(g.javaEnabled)&&g.javaEnabled()){c7.java="1"}if(!J(S.showModalDialog)&&J(g.cookieEnabled)){c7.cookie=g.cookieEnabled?"1":"0" +}else{c7.cookie=b6()}}var dk=parseInt(X.width,10);var di=parseInt(X.height,10);c7.res=parseInt(dk,10)+"x"+parseInt(di,10);return c7}function bY(){var dj=aU("cvar"),di=aD(dj);if(di&&di.length){di=S.JSON.parse(di);if(V(di)){return di}}return{}}function cF(){if(aR===false){aR=bY()}}function cR(){var di=cI();return b8((g.userAgent||"")+(g.platform||"")+S.JSON.stringify(di)+(new Date()).getTime()+Math.random()).slice(0,16)}function aB(){var di=cI();return b8((g.userAgent||"")+(g.platform||"")+S.JSON.stringify(di)).slice(0,6)}function bg(){return Math.floor((new Date()).getTime()/1000)}function aK(){var dj=bg();var dk=aB();var di=String(dj)+dk;return di}function c2(dk){dk=String(dk);var dn=aB();var dl=dn.length;var dm=dk.substr(-1*dl,dl);var dj=parseInt(dk.substr(0,dk.length-dl),10);if(dj&&dm&&dm===dn){var di=bg();if(a0<=0){return true}if(di>=dj&&di<=(dj+a0)){return true}}return false}function dg(di){if(!cN){return""}var dm=e(di,av);if(!dm){return""}dm=String(dm);var dk=new RegExp("^[a-zA-Z0-9]+$"); +if(dm.length===32&&dk.test(dm)){var dj=dm.substr(16,32);if(c2(dj)){var dl=dm.substr(0,16);return dl}}return""}function cO(){if(!bP){bP=dg(bO)}var dk=new Date(),di=Math.round(dk.getTime()/1000),dj=aU("id"),dn=aD(dj),dm,dl;if(dn){dm=dn.split(".");dm.unshift("0");if(bP.length){dm[1]=bP}return dm}if(bP.length){dl=bP}else{if("0"===b6()){dl=""}else{dl=cR()}}dm=["1",dl,di];return dm}function aZ(){var dl=cO(),dj=dl[0],dk=dl[1],di=dl[2];return{newVisitor:dj,uuid:dk,createTs:di}}function aH(){var dl=new Date(),dj=dl.getTime(),dm=aZ().createTs;var di=parseInt(dm,10);var dk=(di*1000)+cK-dj;return dk}function aN(di){if(!b7){return}var dk=new Date(),dj=Math.round(dk.getTime()/1000);if(!J(di)){di=aZ()}var dl=di.uuid+"."+di.createTs+".";dd(aU("id"),dl,aH(),br,cX,bT,aJ)}function bN(){var di=aD(aU("ref"));if(di.length){try{di=S.JSON.parse(di);if(V(di)){return di}}catch(dj){}}return["","",0,""]}function by(dj){var di="testvalue";dd("test",di,10000,null,dj,bT,aJ);if(aD("test")===di){bZ("test",null,dj);return true +}return false}function aF(){var dj=bn;bn=false;var di,dk;for(di=0;di<bw.length;di++){dk=aU(bw[di]);if(dk!==cM&&dk!==be&&0!==aD(dk)){bZ(dk,br,cX)}}bn=dj}function b4(di){b7=di}function dh(dm){if(!dm||!V(dm)){return}var dl=[];var dk;for(dk in dm){if(Object.prototype.hasOwnProperty.call(dm,dk)){dl.push(dk)}}var dn={};dl.sort();var di=dl.length;var dj;for(dj=0;dj<di;dj++){dn[dl[dj]]=dm[dl[dj]]}return dn}function cd(){dd(aU("ses"),"1",cn,br,cX,bT,aJ)}function bh(){var dl="";var dj="abcdefghijklmnopqrstuvwxyz0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ";var dk=dj.length;var di;for(di=0;di<6;di++){dl+=dj.charAt(Math.floor(Math.random()*dk))}return dl}function aA(dj){var di="";if(h&&h.timing&&h&&h.timing.connectEnd&&h.timing.fetchStart){if(h.timing.connectEnd<h.timing.fetchStart){return}di+="&pf_net="+(h.timing.connectEnd-h.timing.fetchStart)}if(h&&h.timing&&h&&h.timing.responseStart&&h.timing.requestStart){if(h.timing.responseStart<h.timing.requestStart){return}di+="&pf_srv="+(h.timing.responseStart-h.timing.requestStart) +}if(h&&h.timing&&h&&h.timing.responseStart&&h.timing.responseEnd){if(h.timing.responseEnd<h.timing.responseStart){return}di+="&pf_tfr="+(h.timing.responseEnd-h.timing.responseStart)}if(h&&h.timing&&h&&h.timing.domInteractive&&h.timing.domLoading){if(h.timing.domInteractive<h.timing.domLoading){return}di+="&pf_dm1="+(h.timing.domInteractive-h.timing.domLoading)}if(h&&h.timing&&h&&h.timing.domComplete&&h.timing.domInteractive){if(h.timing.domComplete<h.timing.domInteractive){return}di+="&pf_dm2="+(h.timing.domComplete-h.timing.domInteractive)}if(h&&h.timing&&h&&h.timing.loadEventEnd&&h.timing.loadEventStart){if(h.timing.loadEventEnd<h.timing.loadEventStart){return}di+="&pf_onl="+(h.timing.loadEventEnd-h.timing.loadEventStart)}return dj+di}function cr(dk,dF,dG){var dE,dj=new Date(),ds=Math.round(dj.getTime()/1000),dp,dC,dl=1024,dL,dt,dB=aR,dm=aU("ses"),dz=aU("ref"),dw=aU("cvar"),dx=aD(dm),dD=bN(),dH=a5||bO,dq,di;if(bn){aF()}if(cQ){return""}var dy=aZ();var dv=G.characterSet||G.charset;if(!dv||dv.toLowerCase()==="utf-8"){dv=null +}dq=dD[0];di=dD[1];dp=dD[2];dC=dD[3];if(!dx){if(!bx||!dq.length){for(dE in cp){if(Object.prototype.hasOwnProperty.call(cp,dE)){dq=e(dH,cp[dE]);if(dq.length){break}}}for(dE in bI){if(Object.prototype.hasOwnProperty.call(bI,dE)){di=e(dH,bI[dE]);if(di.length){break}}}}dL=d(bp);dt=dC.length?d(dC):"";if(dL.length&&!aW(dL)&&(!bx||!dt.length||aW(dt))){dC=bp}if(dC.length||dq.length){dp=ds;dD=[dq,di,dp,b3(dC.slice(0,dl))];dd(dz,S.JSON.stringify(dD),c5,br,cX,bT,aJ)}}dk+="&idsite="+b7+"&rec=1&r="+String(Math.random()).slice(2,8)+"&h="+dj.getHours()+"&m="+dj.getMinutes()+"&s="+dj.getSeconds()+"&url="+s(b3(dH))+(bp.length?"&urlref="+s(b3(bp)):"")+((bA&&bA.length)?"&uid="+s(bA):"")+"&_id="+dy.uuid+"&_idn="+dy.newVisitor+(dq.length?"&_rcn="+s(dq):"")+(di.length?"&_rck="+s(di):"")+"&_refts="+dp+(String(dC).length?"&_ref="+s(b3(dC.slice(0,dl))):"")+(dv?"&cs="+s(dv):"")+"&send_image=0";var dK=cI();for(dE in dK){if(Object.prototype.hasOwnProperty.call(dK,dE)){dk+="&"+dE+"="+dK[dE]}}var dJ=[];if(dF){for(dE in dF){if(Object.prototype.hasOwnProperty.call(dF,dE)&&/^dimension\d+$/.test(dE)){var dn=dE.replace("dimension",""); +dJ.push(parseInt(dn,10));dJ.push(String(dn));dk+="&"+dE+"="+s(dF[dE]);delete dF[dE]}}}if(dF&&B(dF)){dF=null}for(dE in cs){if(Object.prototype.hasOwnProperty.call(cs,dE)){dk+="&"+dE+"="+s(cs[dE])}}for(dE in bo){if(Object.prototype.hasOwnProperty.call(bo,dE)){var du=(-1===M(dJ,dE));if(du){dk+="&dimension"+dE+"="+s(bo[dE])}}}if(dF){dk+="&data="+s(S.JSON.stringify(dF))}else{if(ao){dk+="&data="+s(S.JSON.stringify(ao))}}function dr(dM,dN){var dO=S.JSON.stringify(dM);if(dO.length>2){return"&"+dN+"="+s(dO)}return""}var dI=dh(bX);var dA=dh(cm);dk+=dr(dI,"cvar");dk+=dr(dA,"e_cvar");if(aR){dk+=dr(aR,"_cvar");for(dE in dB){if(Object.prototype.hasOwnProperty.call(dB,dE)){if(aR[dE][0]===""||aR[dE][1]===""){delete aR[dE]}}}if(bR){dd(dw,S.JSON.stringify(aR),cn,br,cX,bT,aJ)}}if(a3&&bG&&!bi){dk=aA(dk);bi=true}if(aM){dk+="&pv_id="+aM}aN(dy);cd();dk+=ac(dG,{tracker:bK,request:dk});if(cZ.length){dk+="&"+cZ}if(A(cc)){dk=cc(dk)}return dk}bS=function a8(){var di=new Date();di=di.getTime();if(!cY){return false}if(cY+a6<=di){bK.ping(); +return true}return false};function bs(dl,dk,dq,dm,di,dt){var dp="idgoal=0",dj=new Date(),dr=[],ds,dn=String(dl).length;if(dn){dp+="&ec_id="+s(dl)}dp+="&revenue="+dk;if(String(dq).length){dp+="&ec_st="+dq}if(String(dm).length){dp+="&ec_tx="+dm}if(String(di).length){dp+="&ec_sh="+di}if(String(dt).length){dp+="&ec_dt="+dt}if(c0){for(ds in c0){if(Object.prototype.hasOwnProperty.call(c0,ds)){if(!J(c0[ds][1])){c0[ds][1]=""}if(!J(c0[ds][2])){c0[ds][2]=""}if(!J(c0[ds][3])||String(c0[ds][3]).length===0){c0[ds][3]=0}if(!J(c0[ds][4])||String(c0[ds][4]).length===0){c0[ds][4]=1}dr.push(c0[ds])}}dp+="&ec_items="+s(S.JSON.stringify(dr))}dp=cr(dp,ao,"ecommerce");bH(dp,bL);if(dn){c0={}}}function b0(di,dm,dl,dk,dj,dn){if(String(di).length&&J(dm)){bs(di,dm,dl,dk,dj,dn)}}function bu(di){if(J(di)){bs("",di,"","","","")}}function b1(dj,dl,dk){aM=bh();var di=cr("action_name="+s(al(dj||bk)),dl,"log");if(!bi){di=aA(di)}bH(di,bL,dk)}function a1(dk,dj){var dl,di="(^| )(piwik[_-]"+dj+"|matomo[_-]"+dj;if(dk){for(dl=0; +dl<dk.length;dl++){di+="|"+dk[dl]}}di+=")( |$)";return new RegExp(di)}function aV(di){return(aE&&di&&0===String(di).indexOf(aE))}function cu(dm,di,dn,dj){if(aV(di)){return 0}var dl=a1(bM,"download"),dk=a1(a9,"link"),dp=new RegExp("\\.("+c6.join("|")+")([?&#]|$)","i");if(dk.test(dm)){return"link"}if(dj||dl.test(dm)||dp.test(di)){return"download"}if(dn){return 0}return"link"}function au(dj){var di;di=dj.parentNode;while(di!==null&&J(di)){if(ae.isLinkElement(dj)){break}dj=di;di=dj.parentNode}return dj}function db(dn){dn=au(dn);if(!ae.hasNodeAttribute(dn,"href")){return}if(!J(dn.href)){return}var dm=ae.getAttributeValueFromNode(dn,"href");var dj=dn.pathname||cl(dn.href);var dp=dn.hostname||d(dn.href);var dq=dp.toLowerCase();var dk=dn.href.replace(dp,dq);var dl=new RegExp("^(javascript|vbscript|jscript|mocha|livescript|ecmascript|mailto|tel):","i");if(!dl.test(dk)){var di=cu(dn.className,dk,ar(dq,dj),ae.hasNodeAttribute(dn,"download"));if(di){return{type:di,href:dk}}}}function aQ(di,dj,dk,dl){var dm=v.buildInteractionRequestParams(di,dj,dk,dl); +if(!dm){return}return cr(dm,null,"contentInteraction")}function bc(di,dj){if(!di||!dj){return false}var dk=v.findTargetNode(di);if(v.shouldIgnoreInteraction(dk)){return false}dk=v.findTargetNodeNoDefault(di);if(dk&&!U(dk,dj)){return false}return true}function ct(dk,dj,dm){if(!dk){return}var di=v.findParentContentNode(dk);if(!di){return}if(!bc(di,dk)){return}var dl=v.buildContentBlock(di);if(!dl){return}if(!dl.target&&dm){dl.target=dm}return v.buildInteractionRequestParams(dj,dl.name,dl.piece,dl.target)}function aX(dj){if(!cb||!cb.length){return false}var di,dk;for(di=0;di<cb.length;di++){dk=cb[di];if(dk&&dk.name===dj.name&&dk.piece===dj.piece&&dk.target===dj.target){return true}}return false}function aY(di){return function(dm){if(!di){return}var dk=v.findParentContentNode(di);var dj;if(dm){dj=dm.target||dm.srcElement}if(!dj){dj=di}if(!bc(dk,dj)){return}if(!dk){return false}var dn=v.findTargetNode(dk);if(!dn||v.shouldIgnoreInteraction(dn)){return false}var dl=db(dn);if(c8&&dl&&dl.type){return dl.type +}return bK.trackContentInteractionNode(dj,"click")}}function b2(dk){if(!dk||!dk.length){return}var di,dj;for(di=0;di<dk.length;di++){dj=v.findTargetNode(dk[di]);if(dj&&!dj.contentInteractionTrackingSetupDone){dj.contentInteractionTrackingSetupDone=true;an(dj,"click",aY(dj))}}}function bz(dk,dl){if(!dk||!dk.length){return[]}var di,dj;for(di=0;di<dk.length;di++){if(aX(dk[di])){dk.splice(di,1);di--}else{cb.push(dk[di])}}if(!dk||!dk.length){return[]}b2(dl);var dm=[];for(di=0;di<dk.length;di++){dj=cr(v.buildImpressionRequestParams(dk[di].name,dk[di].piece,dk[di].target),undefined,"contentImpressions");if(dj){dm.push(dj)}}return dm}function cz(dj){var di=v.collectContent(dj);return bz(di,dj)}function ba(dj){if(!dj||!dj.length){return[]}var di;for(di=0;di<dj.length;di++){if(!v.isNodeVisible(dj[di])){dj.splice(di,1);di--}}if(!dj||!dj.length){return[]}return cz(dj)}function aG(dk,di,dj){var dl=v.buildImpressionRequestParams(dk,di,dj);return cr(dl,null,"contentImpression")}function da(dl,dj){if(!dl){return +}var di=v.findParentContentNode(dl);var dk=v.buildContentBlock(di);if(!dk){return}if(!dj){dj="Unknown"}return aQ(dj,dk.name,dk.piece,dk.target)}function cP(dj,dl,di,dk){return"e_c="+s(dj)+"&e_a="+s(dl)+(J(di)?"&e_n="+s(di):"")+(J(dk)?"&e_v="+s(dk):"")+"&ca=1"}function at(dk,dm,di,dl,dp,dn){if(!Y(dk)||!Y(dm)){ak("Error while logging event: Parameters `category` and `action` must not be empty or filled with whitespaces");return false}var dj=cr(cP(dk,dm,di,dl),dp,"event");bH(dj,bL,dn)}function b9(di,dl,dj,dm){var dk=cr("search="+s(di)+(dl?"&search_cat="+s(dl):"")+(J(dj)?"&search_count="+dj:""),dm,"sitesearch");bH(dk,bL)}function cT(di,dm,dl,dk){var dj=cr("idgoal="+di+(dm?"&revenue="+dm:""),dl,"goal");bH(dj,bL,dk)}function c1(dl,di,dq,dp,dk){var dn=di+"="+s(b3(dl));var dj=ct(dk,"click",dl);if(dj){dn+="&"+dj}var dm=cr(dn,dq,"link");bH(dm,bL,dp)}function bV(dj,di){if(dj!==""){return dj+di.charAt(0).toUpperCase()+di.slice(1)}return di}function ch(dn){var dm,di,dl=["","webkit","ms","moz"],dk;if(!bf){for(di=0; +di<dl.length;di++){dk=dl[di];if(Object.prototype.hasOwnProperty.call(G,bV(dk,"hidden"))){if(G[bV(dk,"visibilityState")]==="prerender"){dm=true}break}}}if(dm){an(G,dk+"visibilitychange",function dj(){G.removeEventListener(dk+"visibilitychange",dj,false);dn()});return}dn()}function bt(){var dj=bK.getVisitorId();var di=aK();return dj+di}function cj(di){if(!di){return}if(!ae.hasNodeAttribute(di,"href")){return}var dj=ae.getAttributeValueFromNode(di,"href");if(!dj||aV(dj)){return}if(!bK.getVisitorId()){return}dj=j(dj,av);var dk=bt();dj=F(dj,av,dk);ae.setAnyAttribute(di,"href",dj)}function bm(dl){var dm=ae.getAttributeValueFromNode(dl,"href");if(!dm){return false}dm=String(dm);var dj=dm.indexOf("//")===0||dm.indexOf("http://")===0||dm.indexOf("https://")===0;if(!dj){return false}var di=dl.pathname||cl(dl.href);var dk=(dl.hostname||d(dl.href)).toLowerCase();if(ar(dk,di)){if(!cH(cU,L(dk))){return true}return false}return false}function cG(di){var dj=db(di);if(dj&&dj.type){dj.href=o(dj.href);c1(dj.href,dj.type,undefined,null,di); +return}if(cN){di=au(di);if(bm(di)){cj(di)}}}function cv(){return G.all&&!G.addEventListener}function cV(di){var dk=di.which;var dj=(typeof di.button);if(!dk&&dj!=="undefined"){if(cv()){if(di.button&1){dk=1}else{if(di.button&2){dk=3}else{if(di.button&4){dk=2}}}}else{if(di.button===0||di.button==="0"){dk=1}else{if(di.button&1){dk=2}else{if(di.button&2){dk=3}}}}}return dk}function bU(di){switch(cV(di)){case 1:return"left";case 2:return"middle";case 3:return"right"}}function a2(di){return di.target||di.srcElement}function aC(di){return function(dl){dl=dl||S.event;var dk=bU(dl);var dm=a2(dl);if(dl.type==="click"){var dj=false;if(di&&dk==="middle"){dj=true}if(dm&&!dj){cG(dm)}}else{if(dl.type==="mousedown"){if(dk==="middle"&&dm){aS=dk;bC=dm}else{aS=bC=null}}else{if(dl.type==="mouseup"){if(dk===aS&&dm===bC){cG(dm)}aS=bC=null}else{if(dl.type==="contextmenu"){cG(dm)}}}}}}function aq(dk,dj){var di=typeof dj;if(di==="undefined"){dj=true}an(dk,"click",aC(dj),false);if(dj){an(dk,"mouseup",aC(dj),false); +an(dk,"mousedown",aC(dj),false);an(dk,"contextmenu",aC(dj),false)}}function bF(dk,dm){ap=true;var dl,dj=a1(bB,"ignore"),dn=G.links,di=null,dp=null;if(dn){for(dl=0;dl<dn.length;dl++){di=dn[dl];if(!dj.test(di.className)){dp=typeof di.matomoTrackers;if("undefined"===dp){di.matomoTrackers=[]}if(-1===M(di.matomoTrackers,dm)){di.matomoTrackers.push(dm);aq(di,dk)}}}}}function aT(dj,dm,dn){if(cf){return true}cf=true;var dp=false;var dl,dk;function di(){dp=true}m(function(){function dq(ds){setTimeout(function(){if(!cf){return}dp=false;dn.trackVisibleContentImpressions();dq(ds)},ds)}function dr(ds){setTimeout(function(){if(!cf){return}if(dp){dp=false;dn.trackVisibleContentImpressions()}dr(ds)},ds)}if(dj){dl=["scroll","resize"];for(dk=0;dk<dl.length;dk++){if(G.addEventListener){G.addEventListener(dl[dk],di,false)}else{S.attachEvent("on"+dl[dk],di)}}dr(100)}if(dm&&dm>0){dm=parseInt(dm,10);dq(dm)}})}var bE={enabled:true,requests:[],timeout:null,interval:2500,sendRequests:function(){var di=this.requests; +this.requests=[];if(di.length===1){bH(di[0],bL)}else{de(di,bL)}},canQueue:function(){return !l&&this.enabled},pushMultiple:function(dj){if(!this.canQueue()){de(dj,bL);return}var di;for(di=0;di<dj.length;di++){this.push(dj[di])}},push:function(di){if(!di){return}if(!this.canQueue()){bH(di,bL);return}bE.requests.push(di);if(this.timeout){clearTimeout(this.timeout);this.timeout=null}this.timeout=setTimeout(function(){bE.timeout=null;bE.sendRequests()},bE.interval);var dj="RequestQueue"+ax;if(!Object.prototype.hasOwnProperty.call(b,dj)){b[dj]={unload:function(){if(bE.timeout){clearTimeout(bE.timeout)}bE.sendRequests()}}}}};bj();aN();this.hasConsent=function(){return bD};this.getVisitorId=function(){return aZ().uuid};this.getVisitorInfo=function(){return cO()};this.getAttributionInfo=function(){return bN()};this.getAttributionCampaignName=function(){return bN()[0]};this.getAttributionCampaignKeyword=function(){return bN()[1]};this.getAttributionReferrerTimestamp=function(){return bN()[2]};this.getAttributionReferrerUrl=function(){return bN()[3] +};this.setTrackerUrl=function(di){aE=di};this.getTrackerUrl=function(){return aE};this.getMatomoUrl=function(){return W(this.getTrackerUrl(),bJ)};this.getPiwikUrl=function(){return this.getMatomoUrl()};this.addTracker=function(dk,dj){if(!J(dk)||null===dk){dk=this.getTrackerUrl()}var di=new P(dk,dj);I.push(di);t.trigger("TrackerAdded",[this]);return di};this.getSiteId=function(){return b7};this.setSiteId=function(di){b4(di)};this.resetUserId=function(){bA=""};this.setUserId=function(di){if(Y(di)){bA=di}};this.setVisitorId=function(dj){var di=/[0-9A-Fa-f]{16}/g;if(w(dj)&&di.test(dj)){bP=dj}else{ak("Invalid visitorId set"+dj)}};this.getUserId=function(){return bA};this.setCustomData=function(di,dj){if(V(di)){ao=di}else{if(!ao){ao={}}ao[di]=dj}};this.getCustomData=function(){return ao};this.setCustomRequestProcessing=function(di){cc=di};this.appendToTrackingUrl=function(di){cZ=di};this.getRequest=function(di){return cr(di)};this.addPlugin=function(di,dj){b[di]=dj};this.setCustomDimension=function(di,dj){di=parseInt(di,10); +if(di>0){if(!J(dj)){dj=""}if(!w(dj)){dj=String(dj)}bo[di]=dj}};this.getCustomDimension=function(di){di=parseInt(di,10);if(di>0&&Object.prototype.hasOwnProperty.call(bo,di)){return bo[di]}};this.deleteCustomDimension=function(di){di=parseInt(di,10);if(di>0){delete bo[di]}};this.setCustomVariable=function(dj,di,dm,dk){var dl;if(!J(dk)){dk="visit"}if(!J(di)){return}if(!J(dm)){dm=""}if(dj>0){di=!w(di)?String(di):di;dm=!w(dm)?String(dm):dm;dl=[di.slice(0,bv),dm.slice(0,bv)];if(dk==="visit"||dk===2){cF();aR[dj]=dl}else{if(dk==="page"||dk===3){bX[dj]=dl}else{if(dk==="event"){cm[dj]=dl}}}}};this.getCustomVariable=function(dj,dk){var di;if(!J(dk)){dk="visit"}if(dk==="page"||dk===3){di=bX[dj]}else{if(dk==="event"){di=cm[dj]}else{if(dk==="visit"||dk===2){cF();di=aR[dj]}}}if(!J(di)||(di&&di[0]==="")){return false}return di};this.deleteCustomVariable=function(di,dj){if(this.getCustomVariable(di,dj)){this.setCustomVariable(di,"","",dj)}};this.deleteCustomVariables=function(di){if(di==="page"||di===3){bX={} +}else{if(di==="event"){cm={}}else{if(di==="visit"||di===2){aR={}}}}};this.storeCustomVariablesInCookie=function(){bR=true};this.setLinkTrackingTimer=function(di){bL=di};this.getLinkTrackingTimer=function(){return bL};this.setDownloadExtensions=function(di){if(w(di)){di=di.split("|")}c6=di};this.addDownloadExtensions=function(dj){var di;if(w(dj)){dj=dj.split("|")}for(di=0;di<dj.length;di++){c6.push(dj[di])}};this.removeDownloadExtensions=function(dk){var dj,di=[];if(w(dk)){dk=dk.split("|")}for(dj=0;dj<c6.length;dj++){if(M(dk,c6[dj])===-1){di.push(c6[dj])}}c6=di};this.setDomains=function(di){ay=w(di)?[di]:di;var dm=false,dk=0,dj;for(dk;dk<ay.length;dk++){dj=String(ay[dk]);if(cH(cU,L(dj))){dm=true;break}var dl=cl(dj);if(dl&&dl!=="/"&&dl!=="/*"){dm=true;break}}if(!dm){ay.push(cU)}};this.enableCrossDomainLinking=function(){cN=true};this.disableCrossDomainLinking=function(){cN=false};this.isCrossDomainLinkingEnabled=function(){return cN};this.setCrossDomainLinkingTimeout=function(di){a0=di};this.getCrossDomainLinkingUrlParameter=function(){return s(av)+"="+s(bt()) +};this.setIgnoreClasses=function(di){bB=w(di)?[di]:di};this.setRequestMethod=function(di){c9=di||ci};this.setRequestContentType=function(di){cw=di||aI};this.setReferrerUrl=function(di){bp=di};this.setCustomUrl=function(di){a5=bW(bO,di)};this.getCurrentUrl=function(){return a5||bO};this.setDocumentTitle=function(di){bk=di};this.setAPIUrl=function(di){bJ=di};this.setDownloadClasses=function(di){bM=w(di)?[di]:di};this.setLinkClasses=function(di){a9=w(di)?[di]:di};this.setCampaignNameKey=function(di){cp=w(di)?[di]:di};this.setCampaignKeywordKey=function(di){bI=w(di)?[di]:di};this.discardHashTag=function(di){bQ=di};this.setCookieNamePrefix=function(di){bl=di;if(aR){aR=bY()}};this.setCookieDomain=function(di){var dj=L(di);if(by(dj)){cX=dj;bj()}};this.getCookieDomain=function(){return cX};this.hasCookies=function(){return"1"===b6()};this.setSessionCookie=function(dk,dj,di){if(!dk){throw new Error("Missing cookie name")}if(!J(di)){di=cn}bw.push(dk);dd(aU(dk),dj,di,br,cX,bT,aJ)};this.getCookie=function(dj){var di=aD(aU(dj)); +if(di===0){return null}return di};this.setCookiePath=function(di){br=di;bj()};this.getCookiePath=function(di){return br};this.setVisitorCookieTimeout=function(di){cK=di*1000};this.setSessionCookieTimeout=function(di){cn=di*1000};this.getSessionCookieTimeout=function(){return cn};this.setReferralCookieTimeout=function(di){c5=di*1000};this.setConversionAttributionFirstReferrer=function(di){bx=di};this.setSecureCookie=function(di){if(di&&location.protocol!=="https:"){ak("Error in setSecureCookie: You cannot use `Secure` on http.");return}bT=di};this.setCookieSameSite=function(di){di=String(di);di=di.charAt(0).toUpperCase()+di.toLowerCase().slice(1);if(di!=="None"&&di!=="Lax"&&di!=="Strict"){ak("Ignored value for sameSite. Please use either Lax, None, or Strict.");return}if(di==="None"){if(location.protocol==="https:"){this.setSecureCookie(true)}else{ak("sameSite=None cannot be used on http, reverted to sameSite=Lax.");di="Lax"}}aJ=di};this.disableCookies=function(){bn=true;if(b7){aF()}};this.areCookiesEnabled=function(){return !bn +};this.setCookieConsentGiven=function(){if(bn&&!cQ){bn=false;if(b7&&aw){aN();var di=cr("ping=1",null,"ping");bH(di,bL)}}};this.requireCookieConsent=function(){if(this.getRememberedCookieConsent()){return false}this.disableCookies();return true};this.getRememberedCookieConsent=function(){return aD(cD)};this.forgetCookieConsentGiven=function(){bZ(cD,br,cX);this.disableCookies()};this.rememberCookieConsentGiven=function(dj){if(dj){dj=dj*60*60*1000}else{dj=30*365*24*60*60*1000}this.setCookieConsentGiven();var di=new Date().getTime();dd(cD,di,dj,br,cX,bT,aJ)};this.deleteCookies=function(){aF()};this.setDoNotTrack=function(dj){var di=g.doNotTrack||g.msDoNotTrack;cQ=dj&&(di==="yes"||di==="1");if(cQ){this.disableCookies()}};this.alwaysUseSendBeacon=function(){cW=true};this.disableAlwaysUseSendBeacon=function(){cW=false};this.addListener=function(dj,di){aq(dj,di)};this.enableLinkTracking=function(dj){c8=true;var di=this;ch(function(){p(function(){bF(dj,di)});m(function(){bF(dj,di)})})};this.enableJSErrorTracking=function(){if(cS){return +}cS=true;var di=S.onerror;S.onerror=function(dn,dl,dk,dm,dj){ch(function(){var dp="JavaScript Errors";var dq=dl+":"+dk;if(dm){dq+=":"+dm}at(dp,dq,dn)});if(di){return di(dn,dl,dk,dm,dj)}return false}};this.disablePerformanceTracking=function(){a3=false};this.enableHeartBeatTimer=function(di){di=Math.max(di||15,5);a6=di*1000;if(cY!==null){df()}};this.disableHeartBeatTimer=function(){if(a6||aO){if(S.removeEventListener){S.removeEventListener("focus",bb);S.removeEventListener("blur",az)}else{if(S.detachEvent){S.detachEvent("onfocus",bb);S.detachEvent("onblur",az)}}}a6=null;aO=false};this.killFrame=function(){if(S.location!==S.top.location){S.top.location=S.location}};this.redirectFile=function(di){if(S.location.protocol==="file:"){S.location=di}};this.setCountPreRendered=function(di){bf=di};this.trackGoal=function(di,dl,dk,dj){ch(function(){cT(di,dl,dk,dj)})};this.trackLink=function(dj,di,dl,dk){ch(function(){c1(dj,di,dl,dk)})};this.getNumTrackedPageViews=function(){return cq};this.trackPageView=function(di,dk,dj){cb=[]; +cL=[];if(N(b7)){ch(function(){Z(aE,bJ,b7)})}else{ch(function(){cq++;b1(di,dk,dj)})}};this.trackAllContentImpressions=function(){if(N(b7)){return}ch(function(){p(function(){var di=v.findContentNodes();var dj=cz(di);bE.pushMultiple(dj)})})};this.trackVisibleContentImpressions=function(di,dj){if(N(b7)){return}if(!J(di)){di=true}if(!J(dj)){dj=750}aT(di,dj,this);ch(function(){m(function(){var dk=v.findContentNodes();var dl=ba(dk);bE.pushMultiple(dl)})})};this.trackContentImpression=function(dk,di,dj){if(N(b7)){return}dk=a(dk);di=a(di);dj=a(dj);if(!dk){return}di=di||"Unknown";ch(function(){var dl=aG(dk,di,dj);bE.push(dl)})};this.trackContentImpressionsWithinNode=function(di){if(N(b7)||!di){return}ch(function(){if(cf){m(function(){var dj=v.findContentNodesWithinNode(di);var dk=ba(dj);bE.pushMultiple(dk)})}else{p(function(){var dj=v.findContentNodesWithinNode(di);var dk=cz(dj);bE.pushMultiple(dk)})}})};this.trackContentInteraction=function(dk,dl,di,dj){if(N(b7)){return}dk=a(dk);dl=a(dl);di=a(di); +dj=a(dj);if(!dk||!dl){return}di=di||"Unknown";ch(function(){var dm=aQ(dk,dl,di,dj);if(dm){bE.push(dm)}})};this.trackContentInteractionNode=function(dk,dj){if(N(b7)||!dk){return}var di=null;ch(function(){di=da(dk,dj);if(di){bE.push(di)}});return di};this.logAllContentBlocksOnPage=function(){var dk=v.findContentNodes();var di=v.collectContent(dk);var dj=typeof console;if(dj!=="undefined"&&console&&console.log){console.log(di)}};this.trackEvent=function(dj,dl,di,dk,dn,dm){ch(function(){at(dj,dl,di,dk,dn,dm)})};this.trackSiteSearch=function(di,dk,dj,dl){cb=[];ch(function(){b9(di,dk,dj,dl)})};this.setEcommerceView=function(dm,di,dk,dj){cs={};if(Y(dk)){dk=String(dk)}if(!J(dk)||dk===null||dk===false||!dk.length){dk=""}else{if(dk instanceof Array){dk=S.JSON.stringify(dk)}}var dl="_pkc";cs[dl]=dk;if(J(dj)&&dj!==null&&dj!==false&&String(dj).length){dl="_pkp";cs[dl]=dj}if(!Y(dm)&&!Y(di)){return}if(Y(dm)){dl="_pks";cs[dl]=dm}if(!Y(di)){di=""}dl="_pkn";cs[dl]=di};this.getEcommerceItems=function(){return JSON.parse(JSON.stringify(c0)) +};this.addEcommerceItem=function(dm,di,dk,dj,dl){if(Y(dm)){c0[dm]=[String(dm),di,dk,dj,dl]}};this.removeEcommerceItem=function(di){if(Y(di)){di=String(di);delete c0[di]}};this.clearEcommerceCart=function(){c0={}};this.trackEcommerceOrder=function(di,dm,dl,dk,dj,dn){b0(di,dm,dl,dk,dj,dn)};this.trackEcommerceCartUpdate=function(di){bu(di)};this.trackRequest=function(dj,dl,dk,di){ch(function(){var dm=cr(dj,dl,di);bH(dm,bL,dk)})};this.ping=function(){this.trackRequest("ping=1",null,null,"ping")};this.disableQueueRequest=function(){bE.enabled=false};this.setRequestQueueInterval=function(di){if(di<1000){throw new Error("Request queue interval needs to be at least 1000ms")}bE.interval=di};this.queueRequest=function(di){ch(function(){var dj=cr(di);bE.push(dj)})};this.isConsentRequired=function(){return cA};this.getRememberedConsent=function(){var di=aD(be);if(aD(cM)){if(di){bZ(be,br,cX)}return null}if(!di||di===0){return null}return di};this.hasRememberedConsent=function(){return !!this.getRememberedConsent() +};this.requireConsent=function(){cA=true;bD=this.hasRememberedConsent();if(!bD){bn=true}x++;b["CoreConsent"+x]={unload:function(){if(!bD){aF()}}}};this.setConsentGiven=function(dj){bD=true;bZ(cM,br,cX);var dk,di;for(dk=0;dk<cL.length;dk++){di=typeof cL[dk];if(di==="string"){bH(cL[dk],bL)}else{if(di==="object"){de(cL[dk],bL)}}}cL=[];if(!J(dj)||dj){this.setCookieConsentGiven()}};this.rememberConsentGiven=function(dk){if(dk){dk=dk*60*60*1000}else{dk=30*365*24*60*60*1000}var di=true;this.setConsentGiven(di);var dj=new Date().getTime();dd(be,dj,dk,br,cX,bT,aJ)};this.forgetConsentGiven=function(){var di=30*365*24*60*60*1000;bZ(be,br,cX);dd(cM,new Date().getTime(),di,br,cX,bT,aJ);this.forgetCookieConsentGiven();this.requireConsent()};this.isUserOptedOut=function(){return !bD};this.optUserOut=this.forgetConsentGiven;this.forgetUserOptOut=function(){this.setConsentGiven(false)};m(function(){setTimeout(function(){bG=true},0)});t.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 Matomo trackers documentation: https://developer.matomo.org/guides/tracking-javascript-guide#multiple-piwik-trackers')}av[ap]++}}}}return au}var C=["addTracker","forgetCookieConsentGiven","requireCookieConsent","disableCookies","setTrackerUrl","setAPIUrl","enableCrossDomainLinking","setCrossDomainLinkingTimeout","setSessionCookieTimeout","setVisitorCookieTimeout","setCookieNamePrefix","setCookieSameSite","setSecureCookie","setCookiePath","setCookieDomain","setDomains","setUserId","setVisitorId","setSiteId","alwaysUseSendBeacon","enableLinkTracking","setCookieConsentGiven","requireConsent","setConsentGiven"];function ad(aq,ap){var ao=new P(aq,ap);I.push(ao); +_paq=c(_paq,C);for(E=0;E<_paq.length;E++){if(_paq[E]){af(_paq[E])}}_paq=new H();t.trigger("TrackerAdded",[ao]);return ao}an(S,"beforeunload",ai,false);an(S,"online",function(){if(J(g.serviceWorker)&&J(g.serviceWorker.ready)){g.serviceWorker.ready.then(function(ao){return ao.sync.register("matomoSync")})}},false);an(S,"message",function(au){if(!au||!au.origin){return}var aw,ar,ap;var ax=d(au.origin);var at=t.getAsyncTrackers();for(ar=0;ar<at.length;ar++){ap=d(at[ar].getMatomoUrl());if(ap===ax){aw=at[ar];break}}if(!aw){return}var aq=null;try{aq=JSON.parse(au.data)}catch(av){return}if(!aq){return}function ao(aA){var aC=G.getElementsByTagName("iframe");for(ar=0;ar<aC.length;ar++){var aB=aC[ar];var ay=d(aB.src);if(aB.contentWindow&&J(aB.contentWindow.postMessage)&&ay===ax){var az=JSON.stringify(aA);aB.contentWindow.postMessage(az,"*")}}}if(J(aq.maq_initial_value)){ao({maq_opted_in:aq.maq_initial_value&&aw.hasConsent(),maq_url:aw.getMatomoUrl(),maq_optout_by_default:aw.isConsentRequired()})}else{if(J(aq.maq_opted_in)){at=t.getAsyncTrackers(); +for(ar=0;ar<at.length;ar++){aw=at[ar];if(aq.maq_opted_in){aw.rememberConsentGiven()}else{aw.forgetConsentGiven()}}ao({maq_confirm_opted_in:aw.hasConsent(),maq_url:aw.getMatomoUrl(),maq_optout_by_default:aw.isConsentRequired()})}}},false);Date.prototype.getTimeAlias=Date.prototype.getTime;t={initialized:false,JSON:S.JSON,DOM:{addEventListener:function(ar,aq,ap,ao){var at=typeof ao;if(at==="undefined"){ao=false}an(ar,aq,ap,ao)},onLoad:m,onReady:p,isNodeVisible:i,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||S,ar)}},addPlugin:function(ao,ap){b[ao]=ap},getTracker:function(ap,ao){if(!J(ao)){ao=this.getAsyncTracker().getSiteId()}if(!J(ap)){ap=this.getAsyncTracker().getTrackerUrl()}return new P(ap,ao)},getAsyncTrackers:function(){return I +},addTracker:function(aq,ap){var ao;if(!I.length){ao=ad(aq,ap)}else{ao=I[0].addTracker(aq,ap)}return ao},getAsyncTracker:function(at,ar){var aq;if(I&&I.length&&I[0]){aq=I[0]}else{return ad(at,ar)}if(!ar&&!at){return aq}if((!J(ar)||null===ar)&&aq){ar=aq.getSiteId()}if((!J(at)||null===at)&&aq){at=aq.getTrackerUrl()}var ap,ao=0;for(ao;ao<I.length;ao++){ap=I[ao];if(ap&&String(ap.getSiteId())===String(ar)&&ap.getTrackerUrl()===at){return ap}}},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 t});define("matomo",[],function(){return t})}return t}())} /*!!! 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.matomoPluginAsyncInit&&window.matomoPluginAsyncInit.length){var a=0; -for(a;a<window.matomoPluginAsyncInit.length;a++){if(typeof window.matomoPluginAsyncInit[a]==="function"){window.matomoPluginAsyncInit[a]()}}}if(window&&window.piwikAsyncInit){window.piwikAsyncInit()}if(window&&window.matomoAsyncInit){window.matomoAsyncInit()}if(!window.Matomo.getAsyncTrackers().length){if(b()){window.Matomo.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.Matomo.trigger("MatomoInitialized",[]);window.Matomo.initialized=true}());(function(){var a=(typeof window.AnalyticsTracker);if(a==="undefined"){window.AnalyticsTracker=window.Matomo}}()); -if(typeof window.piwik_log!=="function"){window.piwik_log=function(c,e,g,f){function b(h){try{if(window["piwik_"+h]){return window["piwik_"+h]}}catch(i){}return}var d,a=window.Matomo.getTracker(g,e);a.setDocumentTitle(c);a.setCustomData(f);d=b("tracker_pause");if(d){a.setLinkTrackingTimer(d)}d=b("download_extensions");if(d){a.setDownloadExtensions(d)}d=b("hosts_alias");if(d){a.setDomains(d)}d=b("ignore_classes");if(d){a.setIgnoreClasses(d)}a.trackPageView();if(b("install_tracker")){piwik_track=function(i,j,k,h){a.setSiteId(j);a.setTrackerUrl(k);a.trackLink(i,h)};a.enableLinkTracking()}}} +(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.matomoPluginAsyncInit&&window.matomoPluginAsyncInit.length){var a=0;for(a;a<window.matomoPluginAsyncInit.length;a++){if(typeof window.matomoPluginAsyncInit[a]==="function"){window.matomoPluginAsyncInit[a]() +}}}if(window&&window.piwikAsyncInit){window.piwikAsyncInit()}if(window&&window.matomoAsyncInit){window.matomoAsyncInit()}if(!window.Matomo.getAsyncTrackers().length){if(b()){window.Matomo.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.Matomo.trigger("MatomoInitialized",[]);window.Matomo.initialized=true}());(function(){var a=(typeof window.AnalyticsTracker);if(a==="undefined"){window.AnalyticsTracker=window.Matomo}}());if(typeof window.piwik_log!=="function"){window.piwik_log=function(c,e,g,f){function b(h){try{if(window["piwik_"+h]){return window["piwik_"+h] +}}catch(i){}return}var d,a=window.Matomo.getTracker(g,e);a.setDocumentTitle(c);a.setCustomData(f);d=b("tracker_pause");if(d){a.setLinkTrackingTimer(d)}d=b("download_extensions");if(d){a.setDownloadExtensions(d)}d=b("hosts_alias");if(d){a.setDomains(d)}d=b("ignore_classes");if(d){a.setIgnoreClasses(d)}a.trackPageView();if(b("install_tracker")){piwik_track=function(i,j,k,h){a.setSiteId(j);a.setTrackerUrl(k);a.trackLink(i,h)};a.enableLinkTracking()}}} /*!! @license-end */;
\ No newline at end of file |