diff options
-rw-r--r-- | js/piwik.js | 25 | ||||
-rw-r--r-- | js/piwik.min.js | 24 | ||||
-rw-r--r-- | matomo.js | 24 | ||||
-rw-r--r-- | piwik.js | 24 |
4 files changed, 56 insertions, 41 deletions
diff --git a/js/piwik.js b/js/piwik.js index f3183c67a5..e8fa4b4760 100644 --- a/js/piwik.js +++ b/js/piwik.js @@ -3472,7 +3472,11 @@ if (typeof window.Matomo !== 'object') { return request; } - var performanceData = (typeof performanceAlias.getEntriesByType === 'function') && performanceAlias.getEntriesByType('navigation') ? performanceAlias.getEntriesByType('navigation')[0] : performanceAlias.timing; + var performanceData = (typeof performanceAlias.timing === 'object') && performanceAlias.timing ? performanceAlias.timing : undefined; + + if (!performanceData) { + performanceData = (typeof performanceAlias.getEntriesByType === 'function') && performanceAlias.getEntriesByType('navigation') ? performanceAlias.getEntriesByType('navigation')[0] : undefined; + } if (!performanceData) { return request; @@ -3508,13 +3512,24 @@ if (typeof window.Matomo !== 'object') { timings += '&pf_tfr=' + Math.round(performanceData.responseEnd - performanceData.responseStart); } - if (performanceData.domInteractive && performanceData.domLoading) { + if (isDefined(performanceData.domLoading)) { + if (performanceData.domInteractive && performanceData.domLoading) { - if (performanceData.domInteractive < performanceData.domLoading) { - return; + if (performanceData.domInteractive < performanceData.domLoading) { + return; + } + + timings += '&pf_dm1=' + Math.round(performanceData.domInteractive - performanceData.domLoading); } + } else { + if (performanceData.domInteractive && performanceData.responseEnd) { + + if (performanceData.domInteractive < performanceData.responseEnd) { + return; + } - timings += '&pf_dm1=' + Math.round(performanceData.domInteractive - performanceData.domLoading); + timings += '&pf_dm1=' + Math.round(performanceData.domInteractive - performanceData.responseEnd); + } } if (performanceData.domComplete && performanceData.domInteractive) { diff --git a/js/piwik.min.js b/js/piwik.min.js index e2c3cabad8..a70dd520b9 100644 --- a/js/piwik.min.js +++ b/js/piwik.min.js @@ -38,18 +38,18 @@ an(S,"blur",az);ab++;t.addPlugin("HeartBeat"+ab,{unload:function(){if(aO&&dd()){ })}function aU(dj){return bl+dj+"."+b7+"."+bq}function bZ(dl,dk,dj){de(dl,"",-86400,dk,dj)}function b6(){if(bn){return"0"}if(!J(S.showModalDialog)&&J(g.cookieEnabled)){return g.cookieEnabled?"1":"0"}var dj=bl+"testcookie";de(dj,"1",undefined,br,cY,bT,aJ);var dk=aD(dj)==="1"?"1":"0";bZ(dj);return dk}function bj(){bq=b8((cY||cV)+(br||"/")).slice(0,4)}function cJ(){if(J(c8.res)){return c8}var dk,dm,dn={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(dk in dn){if(Object.prototype.hasOwnProperty.call(dn,dk)){dm=g.mimeTypes[dn[dk]];c8[dk]=(dm&&dm.enabledPlugin)?"1":"0"}}}if(!((new RegExp("Edge[ /](\\d+[\\.\\d]+)")).test(g.userAgent))&&typeof navigator.javaEnabled!=="unknown"&&J(g.javaEnabled)&&g.javaEnabled()){c8.java="1"}if(!J(S.showModalDialog)&&J(g.cookieEnabled)){c8.cookie=g.cookieEnabled?"1":"0" }else{c8.cookie=b6()}}var dl=parseInt(X.width,10);var dj=parseInt(X.height,10);c8.res=parseInt(dl,10)+"x"+parseInt(dj,10);return c8}function bY(){var dk=aU("cvar"),dj=aD(dk);if(dj&&dj.length){dj=S.JSON.parse(dj);if(V(dj)){return dj}}return{}}function cG(){if(aR===false){aR=bY()}}function cS(){var dj=cJ();return b8((g.userAgent||"")+(g.platform||"")+S.JSON.stringify(dj)+(new Date()).getTime()+Math.random()).slice(0,16)}function aB(){var dj=cJ();return b8((g.userAgent||"")+(g.platform||"")+S.JSON.stringify(dj)).slice(0,6)}function bg(){return Math.floor((new Date()).getTime()/1000)}function aK(){var dk=bg();var dl=aB();var dj=String(dk)+dl;return dj}function c3(dl){dl=String(dl);var dp=aB();var dm=dp.length;var dn=dl.substr(-1*dm,dm);var dk=parseInt(dl.substr(0,dl.length-dm),10);if(dk&&dn&&dn===dp){var dj=bg();if(a0<=0){return true}if(dj>=dk&&dj<=(dk+a0)){return true}}return false}function dh(dj){if(!cO){return""}var dn=e(dj,av);if(!dn){return""}dn=String(dn);var dl=new RegExp("^[a-zA-Z0-9]+$"); if(dn.length===32&&dl.test(dn)){var dk=dn.substr(16,32);if(c3(dk)){var dm=dn.substr(0,16);return dm}}return""}function cP(){if(!bP){bP=dh(bO)}var dl=new Date(),dj=Math.round(dl.getTime()/1000),dk=aU("id"),dp=aD(dk),dn,dm;if(dp){dn=dp.split(".");dn.unshift("0");if(bP.length){dn[1]=bP}return dn}if(bP.length){dm=bP}else{if("0"===b6()){dm=""}else{dm=cS()}}dn=["1",dm,dj];return dn}function aZ(){var dm=cP(),dk=dm[0],dl=dm[1],dj=dm[2];return{newVisitor:dk,uuid:dl,createTs:dj}}function aH(){var dm=new Date(),dk=dm.getTime(),dn=aZ().createTs;var dj=parseInt(dn,10);var dl=(dj*1000)+cL-dk;return dl}function aN(dj){if(!b7){return}var dl=new Date(),dk=Math.round(dl.getTime()/1000);if(!J(dj)){dj=aZ()}var dm=dj.uuid+"."+dj.createTs+".";de(aU("id"),dm,aH(),br,cY,bT,aJ)}function bN(){var dj=aD(aU("ref"));if(dj.length){try{dj=S.JSON.parse(dj);if(V(dj)){return dj}}catch(dk){}}return["","",0,""]}function by(dl){var dk=bl+"testcookie_domain";var dj="testvalue";de(dk,dj,10000,null,dl,bT,aJ);if(aD(dk)===dj){bZ(dk,null,dl); -return true}return false}function aF(){var dk=bn;bn=false;var dj,dl;for(dj=0;dj<bw.length;dj++){dl=aU(bw[dj]);if(dl!==cN&&dl!==be&&0!==aD(dl)){bZ(dl,br,cY)}}bn=dk}function b4(dj){b7=dj}function di(dn){if(!dn||!V(dn)){return}var dm=[];var dl;for(dl in dn){if(Object.prototype.hasOwnProperty.call(dn,dl)){dm.push(dl)}}var dp={};dm.sort();var dj=dm.length;var dk;for(dk=0;dk<dj;dk++){dp[dm[dk]]=dn[dm[dk]]}return dp}function cd(){de(aU("ses"),"1",cn,br,cY,bT,aJ)}function bh(){var dm="";var dk="abcdefghijklmnopqrstuvwxyz0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ";var dl=dk.length;var dj;for(dj=0;dj<6;dj++){dm+=dk.charAt(Math.floor(Math.random()*dl))}return dm}function aA(dk){if(!h){return dk}var dl=(typeof h.getEntriesByType==="function")&&h.getEntriesByType("navigation")?h.getEntriesByType("navigation")[0]:h.timing;if(!dl){return dk}var dj="";if(dl.connectEnd&&dl.fetchStart){if(dl.connectEnd<dl.fetchStart){return}dj+="&pf_net="+Math.round(dl.connectEnd-dl.fetchStart)}if(dl.responseStart&&dl.requestStart){if(dl.responseStart<dl.requestStart){return -}dj+="&pf_srv="+Math.round(dl.responseStart-dl.requestStart)}if(dl.responseStart&&dl.responseEnd){if(dl.responseEnd<dl.responseStart){return}dj+="&pf_tfr="+Math.round(dl.responseEnd-dl.responseStart)}if(dl.domInteractive&&dl.domLoading){if(dl.domInteractive<dl.domLoading){return}dj+="&pf_dm1="+Math.round(dl.domInteractive-dl.domLoading)}if(dl.domComplete&&dl.domInteractive){if(dl.domComplete<dl.domInteractive){return}dj+="&pf_dm2="+Math.round(dl.domComplete-dl.domInteractive)}if(dl.loadEventEnd&&dl.loadEventStart){if(dl.loadEventEnd<dl.loadEventStart){return}dj+="&pf_onl="+Math.round(dl.loadEventEnd-dl.loadEventStart)}return dk+dj}function cr(dl,dG,dH){var dF,dk=new Date(),dt=Math.round(dk.getTime()/1000),dq,dD,dm=1024,dM,du,dC=aR,dn=aU("ses"),dA=aU("ref"),dx=aU("cvar"),dy=aD(dn),dE=bN(),dI=a5||bO,dr,dj;if(bn){aF()}if(cR){return""}var dz=aZ();var dw=G.characterSet||G.charset;if(!dw||dw.toLowerCase()==="utf-8"){dw=null}dr=dE[0];dj=dE[1];dq=dE[2];dD=dE[3];if(!dy){if(!bx||!dr.length){for(dF in cp){if(Object.prototype.hasOwnProperty.call(cp,dF)){dr=e(dI,cp[dF]); -if(dr.length){break}}}for(dF in bI){if(Object.prototype.hasOwnProperty.call(bI,dF)){dj=e(dI,bI[dF]);if(dj.length){break}}}}dM=d(bp);du=dD.length?d(dD):"";if(dM.length&&!aW(dM)&&(!bx||!du.length||aW(du))){dD=bp}if(dD.length||dr.length){dq=dt;dE=[dr,dj,dq,b3(dD.slice(0,dm))];de(dA,S.JSON.stringify(dE),c6,br,cY,bT,aJ)}}dl+="&idsite="+b7+"&rec=1&r="+String(Math.random()).slice(2,8)+"&h="+dk.getHours()+"&m="+dk.getMinutes()+"&s="+dk.getSeconds()+"&url="+s(b3(dI))+(bp.length?"&urlref="+s(b3(bp)):"")+(Y(bA)?"&uid="+s(bA):"")+"&_id="+dz.uuid+"&_idn="+dz.newVisitor+(dr.length?"&_rcn="+s(dr):"")+(dj.length?"&_rck="+s(dj):"")+"&_refts="+dq+(String(dD).length?"&_ref="+s(b3(dD.slice(0,dm))):"")+(dw?"&cs="+s(dw):"")+"&send_image=0";var dL=cJ();for(dF in dL){if(Object.prototype.hasOwnProperty.call(dL,dF)){dl+="&"+dF+"="+dL[dF]}}var dK=[];if(dG){for(dF in dG){if(Object.prototype.hasOwnProperty.call(dG,dF)&&/^dimension\d+$/.test(dF)){var dp=dF.replace("dimension","");dK.push(parseInt(dp,10));dK.push(String(dp)); -dl+="&"+dF+"="+s(dG[dF]);delete dG[dF]}}}if(dG&&B(dG)){dG=null}for(dF in ct){if(Object.prototype.hasOwnProperty.call(ct,dF)){dl+="&"+dF+"="+s(ct[dF])}}for(dF in bo){if(Object.prototype.hasOwnProperty.call(bo,dF)){var dv=(-1===M(dK,dF));if(dv){dl+="&dimension"+dF+"="+s(bo[dF])}}}if(dG){dl+="&data="+s(S.JSON.stringify(dG))}else{if(ao){dl+="&data="+s(S.JSON.stringify(ao))}}function ds(dN,dO){var dP=S.JSON.stringify(dN);if(dP.length>2){return"&"+dO+"="+s(dP)}return""}var dJ=di(bX);var dB=di(cm);dl+=ds(dJ,"cvar");dl+=ds(dB,"e_cvar");if(aR){dl+=ds(aR,"_cvar");for(dF in dC){if(Object.prototype.hasOwnProperty.call(dC,dF)){if(aR[dF][0]===""||aR[dF][1]===""){delete aR[dF]}}}if(bR){de(dx,S.JSON.stringify(aR),cn,br,cY,bT,aJ)}}if(a3&&bG&&!bi){dl=aA(dl);bi=true}if(aM){dl+="&pv_id="+aM}aN(dz);cd();dl+=ac(dH,{tracker:bK,request:dl});if(c0.length){dl+="&"+c0}if(A(cc)){dl=cc(dl)}return dl}bS=function a8(){var dj=new Date();dj=dj.getTime();if(!cZ){return false}if(cZ+a6<=dj){bK.ping();return true}return false -};function bs(dm,dl,dr,dn,dj,du){var dq="idgoal=0",dk=new Date(),ds=[],dt,dp=String(dm).length;if(dp){dq+="&ec_id="+s(dm)}dq+="&revenue="+dl;if(String(dr).length){dq+="&ec_st="+dr}if(String(dn).length){dq+="&ec_tx="+dn}if(String(dj).length){dq+="&ec_sh="+dj}if(String(du).length){dq+="&ec_dt="+du}if(c1){for(dt in c1){if(Object.prototype.hasOwnProperty.call(c1,dt)){if(!J(c1[dt][1])){c1[dt][1]=""}if(!J(c1[dt][2])){c1[dt][2]=""}if(!J(c1[dt][3])||String(c1[dt][3]).length===0){c1[dt][3]=0}if(!J(c1[dt][4])||String(c1[dt][4]).length===0){c1[dt][4]=1}ds.push(c1[dt])}}dq+="&ec_items="+s(S.JSON.stringify(ds))}dq=cr(dq,ao,"ecommerce");bH(dq,bL);if(dp){c1={}}}function b0(dj,dn,dm,dl,dk,dp){if(String(dj).length&&J(dn)){bs(dj,dn,dm,dl,dk,dp)}}function bu(dj){if(J(dj)){bs("",dj,"","","","")}}function b1(dk,dm,dl){aM=bh();var dj=cr("action_name="+s(al(dk||bk)),dm,"log");if(a3&&!bi){dj=aA(dj)}bH(dj,bL,dl)}function a1(dl,dk){var dm,dj="(^| )(piwik[_-]"+dk+"|matomo[_-]"+dk;if(dl){for(dm=0;dm<dl.length;dm++){dj+="|"+dl[dm] -}}dj+=")( |$)";return new RegExp(dj)}function aV(dj){return(aE&&dj&&0===String(dj).indexOf(aE))}function cv(dn,dj,dp,dk){if(aV(dj)){return 0}var dm=a1(bM,"download"),dl=a1(a9,"link"),dq=new RegExp("\\.("+c7.join("|")+")([?&#]|$)","i");if(dl.test(dn)){return"link"}if(dk||dm.test(dn)||dq.test(dj)){return"download"}if(dp){return 0}return"link"}function au(dk){var dj;dj=dk.parentNode;while(dj!==null&&J(dj)){if(ae.isLinkElement(dk)){break}dk=dj;dj=dk.parentNode}return dk}function dc(dp){dp=au(dp);if(!ae.hasNodeAttribute(dp,"href")){return}if(!J(dp.href)){return}var dn=ae.getAttributeValueFromNode(dp,"href");var dk=dp.pathname||cl(dp.href);var dq=dp.hostname||d(dp.href);var dr=dq.toLowerCase();var dl=dp.href.replace(dq,dr);var dm=new RegExp("^(javascript|vbscript|jscript|mocha|livescript|ecmascript|mailto|tel):","i");if(!dm.test(dl)){var dj=cv(dp.className,dl,ar(dr,dk),ae.hasNodeAttribute(dp,"download"));if(dj){return{type:dj,href:dl}}}}function aQ(dj,dk,dl,dm){var dn=v.buildInteractionRequestParams(dj,dk,dl,dm); -if(!dn){return}return cr(dn,null,"contentInteraction")}function bc(dj,dk){if(!dj||!dk){return false}var dl=v.findTargetNode(dj);if(v.shouldIgnoreInteraction(dl)){return false}dl=v.findTargetNodeNoDefault(dj);if(dl&&!U(dl,dk)){return false}return true}function cu(dl,dk,dn){if(!dl){return}var dj=v.findParentContentNode(dl);if(!dj){return}if(!bc(dj,dl)){return}var dm=v.buildContentBlock(dj);if(!dm){return}if(!dm.target&&dn){dm.target=dn}return v.buildInteractionRequestParams(dk,dm.name,dm.piece,dm.target)}function aX(dk){if(!cb||!cb.length){return false}var dj,dl;for(dj=0;dj<cb.length;dj++){dl=cb[dj];if(dl&&dl.name===dk.name&&dl.piece===dk.piece&&dl.target===dk.target){return true}}return false}function aY(dj){return function(dn){if(!dj){return}var dl=v.findParentContentNode(dj);var dk;if(dn){dk=dn.target||dn.srcElement}if(!dk){dk=dj}if(!bc(dl,dk)){return}if(!dl){return false}var dp=v.findTargetNode(dl);if(!dp||v.shouldIgnoreInteraction(dp)){return false}var dm=dc(dp);if(c9&&dm&&dm.type){return dm.type -}return bK.trackContentInteractionNode(dk,"click")}}function b2(dl){if(!dl||!dl.length){return}var dj,dk;for(dj=0;dj<dl.length;dj++){dk=v.findTargetNode(dl[dj]);if(dk&&!dk.contentInteractionTrackingSetupDone){dk.contentInteractionTrackingSetupDone=true;an(dk,"click",aY(dk))}}}function bz(dl,dm){if(!dl||!dl.length){return[]}var dj,dk;for(dj=0;dj<dl.length;dj++){if(aX(dl[dj])){dl.splice(dj,1);dj--}else{cb.push(dl[dj])}}if(!dl||!dl.length){return[]}b2(dm);var dn=[];for(dj=0;dj<dl.length;dj++){dk=cr(v.buildImpressionRequestParams(dl[dj].name,dl[dj].piece,dl[dj].target),undefined,"contentImpressions");if(dk){dn.push(dk)}}return dn}function cA(dk){var dj=v.collectContent(dk);return bz(dj,dk)}function ba(dk){if(!dk||!dk.length){return[]}var dj;for(dj=0;dj<dk.length;dj++){if(!v.isNodeVisible(dk[dj])){dk.splice(dj,1);dj--}}if(!dk||!dk.length){return[]}return cA(dk)}function aG(dl,dj,dk){var dm=v.buildImpressionRequestParams(dl,dj,dk);return cr(dm,null,"contentImpression")}function db(dm,dk){if(!dm){return -}var dj=v.findParentContentNode(dm);var dl=v.buildContentBlock(dj);if(!dl){return}if(!dk){dk="Unknown"}return aQ(dk,dl.name,dl.piece,dl.target)}function cQ(dk,dm,dj,dl){return"e_c="+s(dk)+"&e_a="+s(dm)+(J(dj)?"&e_n="+s(dj):"")+(J(dl)?"&e_v="+s(dl):"")+"&ca=1"}function at(dl,dn,dj,dm,dq,dp){if(!Y(dl)||!Y(dn)){ak("Error while logging event: Parameters `category` and `action` must not be empty or filled with whitespaces");return false}var dk=cr(cQ(dl,dn,dj,dm),dq,"event");bH(dk,bL,dp)}function b9(dj,dm,dk,dn){var dl=cr("search="+s(dj)+(dm?"&search_cat="+s(dm):"")+(J(dk)?"&search_count="+dk:""),dn,"sitesearch");bH(dl,bL)}function cU(dj,dn,dm,dl){var dk=cr("idgoal="+dj+(dn?"&revenue="+dn:""),dm,"goal");bH(dk,bL,dl)}function c2(dm,dj,dr,dq,dl){var dp=dj+"="+s(b3(dm));var dk=cu(dl,"click",dm);if(dk){dp+="&"+dk}var dn=cr(dp,dr,"link");bH(dn,bL,dq)}function bV(dk,dj){if(dk!==""){return dk+dj.charAt(0).toUpperCase()+dj.slice(1)}return dj}function ch(dp){var dn,dj,dm=["","webkit","ms","moz"],dl;if(!bf){for(dj=0; -dj<dm.length;dj++){dl=dm[dj];if(Object.prototype.hasOwnProperty.call(G,bV(dl,"hidden"))){if(G[bV(dl,"visibilityState")]==="prerender"){dn=true}break}}}if(dn){an(G,dl+"visibilitychange",function dk(){G.removeEventListener(dl+"visibilitychange",dk,false);dp()});return}dp()}function bt(){var dk=bK.getVisitorId();var dj=aK();return dk+dj}function cj(dj){if(!dj){return}if(!ae.hasNodeAttribute(dj,"href")){return}var dk=ae.getAttributeValueFromNode(dj,"href");if(!dk||aV(dk)){return}if(!bK.getVisitorId()){return}dk=j(dk,av);var dl=bt();dk=F(dk,av,dl);ae.setAnyAttribute(dj,"href",dk)}function bm(dm){var dn=ae.getAttributeValueFromNode(dm,"href");if(!dn){return false}dn=String(dn);var dk=dn.indexOf("//")===0||dn.indexOf("http://")===0||dn.indexOf("https://")===0;if(!dk){return false}var dj=dm.pathname||cl(dm.href);var dl=(dm.hostname||d(dm.href)).toLowerCase();if(ar(dl,dj)){if(!cI(cV,L(dl))){return true}return false}return false}function cH(dj){var dk=dc(dj);if(dk&&dk.type){dk.href=o(dk.href);c2(dk.href,dk.type,undefined,null,dj); -return}if(cO){dj=au(dj);if(bm(dj)){cj(dj)}}}function cw(){return G.all&&!G.addEventListener}function cW(dj){var dl=dj.which;var dk=(typeof dj.button);if(!dl&&dk!=="undefined"){if(cw()){if(dj.button&1){dl=1}else{if(dj.button&2){dl=3}else{if(dj.button&4){dl=2}}}}else{if(dj.button===0||dj.button==="0"){dl=1}else{if(dj.button&1){dl=2}else{if(dj.button&2){dl=3}}}}}return dl}function bU(dj){switch(cW(dj)){case 1:return"left";case 2:return"middle";case 3:return"right"}}function a2(dj){return dj.target||dj.srcElement}function aC(dj){return function(dm){dm=dm||S.event;var dl=bU(dm);var dn=a2(dm);if(dm.type==="click"){var dk=false;if(dj&&dl==="middle"){dk=true}if(dn&&!dk){cH(dn)}}else{if(dm.type==="mousedown"){if(dl==="middle"&&dn){aS=dl;bC=dn}else{aS=bC=null}}else{if(dm.type==="mouseup"){if(dl===aS&&dn===bC){cH(dn)}aS=bC=null}else{if(dm.type==="contextmenu"){cH(dn)}}}}}}function aq(dl,dk){var dj=typeof dk;if(dj==="undefined"){dk=true}an(dl,"click",aC(dk),false);if(dk){an(dl,"mouseup",aC(dk),false); -an(dl,"mousedown",aC(dk),false);an(dl,"contextmenu",aC(dk),false)}}function bF(dl,dn){ap=true;var dm,dk=a1(bB,"ignore"),dp=G.links,dj=null,dq=null;if(dp){for(dm=0;dm<dp.length;dm++){dj=dp[dm];if(!dk.test(dj.className)){dq=typeof dj.matomoTrackers;if("undefined"===dq){dj.matomoTrackers=[]}if(-1===M(dj.matomoTrackers,dn)){dj.matomoTrackers.push(dn);aq(dj,dl)}}}}}function aT(dk,dn,dp){if(cf){return true}cf=true;var dq=false;var dm,dl;function dj(){dq=true}m(function(){function dr(dt){setTimeout(function(){if(!cf){return}dq=false;dp.trackVisibleContentImpressions();dr(dt)},dt)}function ds(dt){setTimeout(function(){if(!cf){return}if(dq){dq=false;dp.trackVisibleContentImpressions()}ds(dt)},dt)}if(dk){dm=["scroll","resize"];for(dl=0;dl<dm.length;dl++){if(G.addEventListener){G.addEventListener(dm[dl],dj,false)}else{S.attachEvent("on"+dm[dl],dj)}}ds(100)}if(dn&&dn>0){dn=parseInt(dn,10);dr(dn)}})}var bE={enabled:true,requests:[],timeout:null,interval:2500,sendRequests:function(){var dj=this.requests; +return true}return false}function aF(){var dk=bn;bn=false;var dj,dl;for(dj=0;dj<bw.length;dj++){dl=aU(bw[dj]);if(dl!==cN&&dl!==be&&0!==aD(dl)){bZ(dl,br,cY)}}bn=dk}function b4(dj){b7=dj}function di(dn){if(!dn||!V(dn)){return}var dm=[];var dl;for(dl in dn){if(Object.prototype.hasOwnProperty.call(dn,dl)){dm.push(dl)}}var dp={};dm.sort();var dj=dm.length;var dk;for(dk=0;dk<dj;dk++){dp[dm[dk]]=dn[dm[dk]]}return dp}function cd(){de(aU("ses"),"1",cn,br,cY,bT,aJ)}function bh(){var dm="";var dk="abcdefghijklmnopqrstuvwxyz0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ";var dl=dk.length;var dj;for(dj=0;dj<6;dj++){dm+=dk.charAt(Math.floor(Math.random()*dl))}return dm}function aA(dk){if(!h){return dk}var dl=(typeof h.timing==="object")&&h.timing?h.timing:undefined;if(!dl){dl=(typeof h.getEntriesByType==="function")&&h.getEntriesByType("navigation")?h.getEntriesByType("navigation")[0]:undefined}if(!dl){return dk}var dj="";if(dl.connectEnd&&dl.fetchStart){if(dl.connectEnd<dl.fetchStart){return}dj+="&pf_net="+Math.round(dl.connectEnd-dl.fetchStart) +}if(dl.responseStart&&dl.requestStart){if(dl.responseStart<dl.requestStart){return}dj+="&pf_srv="+Math.round(dl.responseStart-dl.requestStart)}if(dl.responseStart&&dl.responseEnd){if(dl.responseEnd<dl.responseStart){return}dj+="&pf_tfr="+Math.round(dl.responseEnd-dl.responseStart)}if(J(dl.domLoading)){if(dl.domInteractive&&dl.domLoading){if(dl.domInteractive<dl.domLoading){return}dj+="&pf_dm1="+Math.round(dl.domInteractive-dl.domLoading)}}else{if(dl.domInteractive&&dl.responseEnd){if(dl.domInteractive<dl.responseEnd){return}dj+="&pf_dm1="+Math.round(dl.domInteractive-dl.responseEnd)}}if(dl.domComplete&&dl.domInteractive){if(dl.domComplete<dl.domInteractive){return}dj+="&pf_dm2="+Math.round(dl.domComplete-dl.domInteractive)}if(dl.loadEventEnd&&dl.loadEventStart){if(dl.loadEventEnd<dl.loadEventStart){return}dj+="&pf_onl="+Math.round(dl.loadEventEnd-dl.loadEventStart)}return dk+dj}function cr(dl,dG,dH){var dF,dk=new Date(),dt=Math.round(dk.getTime()/1000),dq,dD,dm=1024,dM,du,dC=aR,dn=aU("ses"),dA=aU("ref"),dx=aU("cvar"),dy=aD(dn),dE=bN(),dI=a5||bO,dr,dj; +if(bn){aF()}if(cR){return""}var dz=aZ();var dw=G.characterSet||G.charset;if(!dw||dw.toLowerCase()==="utf-8"){dw=null}dr=dE[0];dj=dE[1];dq=dE[2];dD=dE[3];if(!dy){if(!bx||!dr.length){for(dF in cp){if(Object.prototype.hasOwnProperty.call(cp,dF)){dr=e(dI,cp[dF]);if(dr.length){break}}}for(dF in bI){if(Object.prototype.hasOwnProperty.call(bI,dF)){dj=e(dI,bI[dF]);if(dj.length){break}}}}dM=d(bp);du=dD.length?d(dD):"";if(dM.length&&!aW(dM)&&(!bx||!du.length||aW(du))){dD=bp}if(dD.length||dr.length){dq=dt;dE=[dr,dj,dq,b3(dD.slice(0,dm))];de(dA,S.JSON.stringify(dE),c6,br,cY,bT,aJ)}}dl+="&idsite="+b7+"&rec=1&r="+String(Math.random()).slice(2,8)+"&h="+dk.getHours()+"&m="+dk.getMinutes()+"&s="+dk.getSeconds()+"&url="+s(b3(dI))+(bp.length?"&urlref="+s(b3(bp)):"")+(Y(bA)?"&uid="+s(bA):"")+"&_id="+dz.uuid+"&_idn="+dz.newVisitor+(dr.length?"&_rcn="+s(dr):"")+(dj.length?"&_rck="+s(dj):"")+"&_refts="+dq+(String(dD).length?"&_ref="+s(b3(dD.slice(0,dm))):"")+(dw?"&cs="+s(dw):"")+"&send_image=0";var dL=cJ();for(dF in dL){if(Object.prototype.hasOwnProperty.call(dL,dF)){dl+="&"+dF+"="+dL[dF] +}}var dK=[];if(dG){for(dF in dG){if(Object.prototype.hasOwnProperty.call(dG,dF)&&/^dimension\d+$/.test(dF)){var dp=dF.replace("dimension","");dK.push(parseInt(dp,10));dK.push(String(dp));dl+="&"+dF+"="+s(dG[dF]);delete dG[dF]}}}if(dG&&B(dG)){dG=null}for(dF in ct){if(Object.prototype.hasOwnProperty.call(ct,dF)){dl+="&"+dF+"="+s(ct[dF])}}for(dF in bo){if(Object.prototype.hasOwnProperty.call(bo,dF)){var dv=(-1===M(dK,dF));if(dv){dl+="&dimension"+dF+"="+s(bo[dF])}}}if(dG){dl+="&data="+s(S.JSON.stringify(dG))}else{if(ao){dl+="&data="+s(S.JSON.stringify(ao))}}function ds(dN,dO){var dP=S.JSON.stringify(dN);if(dP.length>2){return"&"+dO+"="+s(dP)}return""}var dJ=di(bX);var dB=di(cm);dl+=ds(dJ,"cvar");dl+=ds(dB,"e_cvar");if(aR){dl+=ds(aR,"_cvar");for(dF in dC){if(Object.prototype.hasOwnProperty.call(dC,dF)){if(aR[dF][0]===""||aR[dF][1]===""){delete aR[dF]}}}if(bR){de(dx,S.JSON.stringify(aR),cn,br,cY,bT,aJ)}}if(a3&&bG&&!bi){dl=aA(dl);bi=true}if(aM){dl+="&pv_id="+aM}aN(dz);cd();dl+=ac(dH,{tracker:bK,request:dl}); +if(c0.length){dl+="&"+c0}if(A(cc)){dl=cc(dl)}return dl}bS=function a8(){var dj=new Date();dj=dj.getTime();if(!cZ){return false}if(cZ+a6<=dj){bK.ping();return true}return false};function bs(dm,dl,dr,dn,dj,du){var dq="idgoal=0",dk=new Date(),ds=[],dt,dp=String(dm).length;if(dp){dq+="&ec_id="+s(dm)}dq+="&revenue="+dl;if(String(dr).length){dq+="&ec_st="+dr}if(String(dn).length){dq+="&ec_tx="+dn}if(String(dj).length){dq+="&ec_sh="+dj}if(String(du).length){dq+="&ec_dt="+du}if(c1){for(dt in c1){if(Object.prototype.hasOwnProperty.call(c1,dt)){if(!J(c1[dt][1])){c1[dt][1]=""}if(!J(c1[dt][2])){c1[dt][2]=""}if(!J(c1[dt][3])||String(c1[dt][3]).length===0){c1[dt][3]=0}if(!J(c1[dt][4])||String(c1[dt][4]).length===0){c1[dt][4]=1}ds.push(c1[dt])}}dq+="&ec_items="+s(S.JSON.stringify(ds))}dq=cr(dq,ao,"ecommerce");bH(dq,bL);if(dp){c1={}}}function b0(dj,dn,dm,dl,dk,dp){if(String(dj).length&&J(dn)){bs(dj,dn,dm,dl,dk,dp)}}function bu(dj){if(J(dj)){bs("",dj,"","","","")}}function b1(dk,dm,dl){aM=bh();var dj=cr("action_name="+s(al(dk||bk)),dm,"log"); +if(a3&&!bi){dj=aA(dj)}bH(dj,bL,dl)}function a1(dl,dk){var dm,dj="(^| )(piwik[_-]"+dk+"|matomo[_-]"+dk;if(dl){for(dm=0;dm<dl.length;dm++){dj+="|"+dl[dm]}}dj+=")( |$)";return new RegExp(dj)}function aV(dj){return(aE&&dj&&0===String(dj).indexOf(aE))}function cv(dn,dj,dp,dk){if(aV(dj)){return 0}var dm=a1(bM,"download"),dl=a1(a9,"link"),dq=new RegExp("\\.("+c7.join("|")+")([?&#]|$)","i");if(dl.test(dn)){return"link"}if(dk||dm.test(dn)||dq.test(dj)){return"download"}if(dp){return 0}return"link"}function au(dk){var dj;dj=dk.parentNode;while(dj!==null&&J(dj)){if(ae.isLinkElement(dk)){break}dk=dj;dj=dk.parentNode}return dk}function dc(dp){dp=au(dp);if(!ae.hasNodeAttribute(dp,"href")){return}if(!J(dp.href)){return}var dn=ae.getAttributeValueFromNode(dp,"href");var dk=dp.pathname||cl(dp.href);var dq=dp.hostname||d(dp.href);var dr=dq.toLowerCase();var dl=dp.href.replace(dq,dr);var dm=new RegExp("^(javascript|vbscript|jscript|mocha|livescript|ecmascript|mailto|tel):","i");if(!dm.test(dl)){var dj=cv(dp.className,dl,ar(dr,dk),ae.hasNodeAttribute(dp,"download")); +if(dj){return{type:dj,href:dl}}}}function aQ(dj,dk,dl,dm){var dn=v.buildInteractionRequestParams(dj,dk,dl,dm);if(!dn){return}return cr(dn,null,"contentInteraction")}function bc(dj,dk){if(!dj||!dk){return false}var dl=v.findTargetNode(dj);if(v.shouldIgnoreInteraction(dl)){return false}dl=v.findTargetNodeNoDefault(dj);if(dl&&!U(dl,dk)){return false}return true}function cu(dl,dk,dn){if(!dl){return}var dj=v.findParentContentNode(dl);if(!dj){return}if(!bc(dj,dl)){return}var dm=v.buildContentBlock(dj);if(!dm){return}if(!dm.target&&dn){dm.target=dn}return v.buildInteractionRequestParams(dk,dm.name,dm.piece,dm.target)}function aX(dk){if(!cb||!cb.length){return false}var dj,dl;for(dj=0;dj<cb.length;dj++){dl=cb[dj];if(dl&&dl.name===dk.name&&dl.piece===dk.piece&&dl.target===dk.target){return true}}return false}function aY(dj){return function(dn){if(!dj){return}var dl=v.findParentContentNode(dj);var dk;if(dn){dk=dn.target||dn.srcElement}if(!dk){dk=dj}if(!bc(dl,dk)){return}if(!dl){return false}var dp=v.findTargetNode(dl); +if(!dp||v.shouldIgnoreInteraction(dp)){return false}var dm=dc(dp);if(c9&&dm&&dm.type){return dm.type}return bK.trackContentInteractionNode(dk,"click")}}function b2(dl){if(!dl||!dl.length){return}var dj,dk;for(dj=0;dj<dl.length;dj++){dk=v.findTargetNode(dl[dj]);if(dk&&!dk.contentInteractionTrackingSetupDone){dk.contentInteractionTrackingSetupDone=true;an(dk,"click",aY(dk))}}}function bz(dl,dm){if(!dl||!dl.length){return[]}var dj,dk;for(dj=0;dj<dl.length;dj++){if(aX(dl[dj])){dl.splice(dj,1);dj--}else{cb.push(dl[dj])}}if(!dl||!dl.length){return[]}b2(dm);var dn=[];for(dj=0;dj<dl.length;dj++){dk=cr(v.buildImpressionRequestParams(dl[dj].name,dl[dj].piece,dl[dj].target),undefined,"contentImpressions");if(dk){dn.push(dk)}}return dn}function cA(dk){var dj=v.collectContent(dk);return bz(dj,dk)}function ba(dk){if(!dk||!dk.length){return[]}var dj;for(dj=0;dj<dk.length;dj++){if(!v.isNodeVisible(dk[dj])){dk.splice(dj,1);dj--}}if(!dk||!dk.length){return[]}return cA(dk)}function aG(dl,dj,dk){var dm=v.buildImpressionRequestParams(dl,dj,dk); +return cr(dm,null,"contentImpression")}function db(dm,dk){if(!dm){return}var dj=v.findParentContentNode(dm);var dl=v.buildContentBlock(dj);if(!dl){return}if(!dk){dk="Unknown"}return aQ(dk,dl.name,dl.piece,dl.target)}function cQ(dk,dm,dj,dl){return"e_c="+s(dk)+"&e_a="+s(dm)+(J(dj)?"&e_n="+s(dj):"")+(J(dl)?"&e_v="+s(dl):"")+"&ca=1"}function at(dl,dn,dj,dm,dq,dp){if(!Y(dl)||!Y(dn)){ak("Error while logging event: Parameters `category` and `action` must not be empty or filled with whitespaces");return false}var dk=cr(cQ(dl,dn,dj,dm),dq,"event");bH(dk,bL,dp)}function b9(dj,dm,dk,dn){var dl=cr("search="+s(dj)+(dm?"&search_cat="+s(dm):"")+(J(dk)?"&search_count="+dk:""),dn,"sitesearch");bH(dl,bL)}function cU(dj,dn,dm,dl){var dk=cr("idgoal="+dj+(dn?"&revenue="+dn:""),dm,"goal");bH(dk,bL,dl)}function c2(dm,dj,dr,dq,dl){var dp=dj+"="+s(b3(dm));var dk=cu(dl,"click",dm);if(dk){dp+="&"+dk}var dn=cr(dp,dr,"link");bH(dn,bL,dq)}function bV(dk,dj){if(dk!==""){return dk+dj.charAt(0).toUpperCase()+dj.slice(1) +}return dj}function ch(dp){var dn,dj,dm=["","webkit","ms","moz"],dl;if(!bf){for(dj=0;dj<dm.length;dj++){dl=dm[dj];if(Object.prototype.hasOwnProperty.call(G,bV(dl,"hidden"))){if(G[bV(dl,"visibilityState")]==="prerender"){dn=true}break}}}if(dn){an(G,dl+"visibilitychange",function dk(){G.removeEventListener(dl+"visibilitychange",dk,false);dp()});return}dp()}function bt(){var dk=bK.getVisitorId();var dj=aK();return dk+dj}function cj(dj){if(!dj){return}if(!ae.hasNodeAttribute(dj,"href")){return}var dk=ae.getAttributeValueFromNode(dj,"href");if(!dk||aV(dk)){return}if(!bK.getVisitorId()){return}dk=j(dk,av);var dl=bt();dk=F(dk,av,dl);ae.setAnyAttribute(dj,"href",dk)}function bm(dm){var dn=ae.getAttributeValueFromNode(dm,"href");if(!dn){return false}dn=String(dn);var dk=dn.indexOf("//")===0||dn.indexOf("http://")===0||dn.indexOf("https://")===0;if(!dk){return false}var dj=dm.pathname||cl(dm.href);var dl=(dm.hostname||d(dm.href)).toLowerCase();if(ar(dl,dj)){if(!cI(cV,L(dl))){return true}return false +}return false}function cH(dj){var dk=dc(dj);if(dk&&dk.type){dk.href=o(dk.href);c2(dk.href,dk.type,undefined,null,dj);return}if(cO){dj=au(dj);if(bm(dj)){cj(dj)}}}function cw(){return G.all&&!G.addEventListener}function cW(dj){var dl=dj.which;var dk=(typeof dj.button);if(!dl&&dk!=="undefined"){if(cw()){if(dj.button&1){dl=1}else{if(dj.button&2){dl=3}else{if(dj.button&4){dl=2}}}}else{if(dj.button===0||dj.button==="0"){dl=1}else{if(dj.button&1){dl=2}else{if(dj.button&2){dl=3}}}}}return dl}function bU(dj){switch(cW(dj)){case 1:return"left";case 2:return"middle";case 3:return"right"}}function a2(dj){return dj.target||dj.srcElement}function aC(dj){return function(dm){dm=dm||S.event;var dl=bU(dm);var dn=a2(dm);if(dm.type==="click"){var dk=false;if(dj&&dl==="middle"){dk=true}if(dn&&!dk){cH(dn)}}else{if(dm.type==="mousedown"){if(dl==="middle"&&dn){aS=dl;bC=dn}else{aS=bC=null}}else{if(dm.type==="mouseup"){if(dl===aS&&dn===bC){cH(dn)}aS=bC=null}else{if(dm.type==="contextmenu"){cH(dn)}}}}}}function aq(dl,dk){var dj=typeof dk; +if(dj==="undefined"){dk=true}an(dl,"click",aC(dk),false);if(dk){an(dl,"mouseup",aC(dk),false);an(dl,"mousedown",aC(dk),false);an(dl,"contextmenu",aC(dk),false)}}function bF(dl,dn){ap=true;var dm,dk=a1(bB,"ignore"),dp=G.links,dj=null,dq=null;if(dp){for(dm=0;dm<dp.length;dm++){dj=dp[dm];if(!dk.test(dj.className)){dq=typeof dj.matomoTrackers;if("undefined"===dq){dj.matomoTrackers=[]}if(-1===M(dj.matomoTrackers,dn)){dj.matomoTrackers.push(dn);aq(dj,dl)}}}}}function aT(dk,dn,dp){if(cf){return true}cf=true;var dq=false;var dm,dl;function dj(){dq=true}m(function(){function dr(dt){setTimeout(function(){if(!cf){return}dq=false;dp.trackVisibleContentImpressions();dr(dt)},dt)}function ds(dt){setTimeout(function(){if(!cf){return}if(dq){dq=false;dp.trackVisibleContentImpressions()}ds(dt)},dt)}if(dk){dm=["scroll","resize"];for(dl=0;dl<dm.length;dl++){if(G.addEventListener){G.addEventListener(dm[dl],dj,false)}else{S.attachEvent("on"+dm[dl],dj)}}ds(100)}if(dn&&dn>0){dn=parseInt(dn,10);dr(dn)}})}var bE={enabled:true,requests:[],timeout:null,interval:2500,sendRequests:function(){var dj=this.requests; this.requests=[];if(dj.length===1){bH(dj[0],bL)}else{df(dj,bL)}},canQueue:function(){return !l&&this.enabled},pushMultiple:function(dk){if(!this.canQueue()){df(dk,bL);return}var dj;for(dj=0;dj<dk.length;dj++){this.push(dk[dj])}},push:function(dj){if(!dj){return}if(!this.canQueue()){bH(dj,bL);return}bE.requests.push(dj);if(this.timeout){clearTimeout(this.timeout);this.timeout=null}this.timeout=setTimeout(function(){bE.timeout=null;bE.sendRequests()},bE.interval);var dk="RequestQueue"+ax;if(!Object.prototype.hasOwnProperty.call(b,dk)){b[dk]={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 cP()};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(dj){aE=dj};this.getTrackerUrl=function(){return aE};this.getMatomoUrl=function(){return W(this.getTrackerUrl(),bJ)};this.getPiwikUrl=function(){return this.getMatomoUrl()};this.addTracker=function(dl,dk){if(!J(dl)||null===dl){dl=this.getTrackerUrl()}var dj=new P(dl,dk);I.push(dj);t.trigger("TrackerAdded",[this]);return dj};this.getSiteId=function(){return b7};this.setSiteId=function(dj){b4(dj)};this.resetUserId=function(){bA=""};this.setUserId=function(dj){if(Y(dj)){bA=dj}};this.setVisitorId=function(dk){var dj=/[0-9A-Fa-f]{16}/g;if(w(dk)&&dj.test(dk)){bP=dk}else{ak("Invalid visitorId set"+dk)}};this.getUserId=function(){return bA};this.setCustomData=function(dj,dk){if(V(dj)){ao=dj}else{if(!ao){ao={}}ao[dj]=dk}};this.getCustomData=function(){return ao};this.setCustomRequestProcessing=function(dj){cc=dj};this.appendToTrackingUrl=function(dj){c0=dj};this.getRequest=function(dj){return cr(dj)};this.addPlugin=function(dj,dk){b[dj]=dk};this.setCustomDimension=function(dj,dk){dj=parseInt(dj,10); if(dj>0){if(!J(dk)){dk=""}if(!w(dk)){dk=String(dk)}bo[dj]=dk}};this.getCustomDimension=function(dj){dj=parseInt(dj,10);if(dj>0&&Object.prototype.hasOwnProperty.call(bo,dj)){return bo[dj]}};this.deleteCustomDimension=function(dj){dj=parseInt(dj,10);if(dj>0){delete bo[dj]}};this.setCustomVariable=function(dk,dj,dn,dl){var dm;if(!J(dl)){dl="visit"}if(!J(dj)){return}if(!J(dn)){dn=""}if(dk>0){dj=!w(dj)?String(dj):dj;dn=!w(dn)?String(dn):dn;dm=[dj.slice(0,bv),dn.slice(0,bv)];if(dl==="visit"||dl===2){cG();aR[dk]=dm}else{if(dl==="page"||dl===3){bX[dk]=dm}else{if(dl==="event"){cm[dk]=dm}}}}};this.getCustomVariable=function(dk,dl){var dj;if(!J(dl)){dl="visit"}if(dl==="page"||dl===3){dj=bX[dk]}else{if(dl==="event"){dj=cm[dk]}else{if(dl==="visit"||dl===2){cG();dj=aR[dk]}}}if(!J(dj)||(dj&&dj[0]==="")){return false}return dj};this.deleteCustomVariable=function(dj,dk){if(this.getCustomVariable(dj,dk)){this.setCustomVariable(dj,"","",dk)}};this.deleteCustomVariables=function(dj){if(dj==="page"||dj===3){bX={} @@ -38,18 +38,18 @@ an(S,"blur",az);ab++;t.addPlugin("HeartBeat"+ab,{unload:function(){if(aO&&dd()){ })}function aU(dj){return bl+dj+"."+b7+"."+bq}function bZ(dl,dk,dj){de(dl,"",-86400,dk,dj)}function b6(){if(bn){return"0"}if(!J(S.showModalDialog)&&J(g.cookieEnabled)){return g.cookieEnabled?"1":"0"}var dj=bl+"testcookie";de(dj,"1",undefined,br,cY,bT,aJ);var dk=aD(dj)==="1"?"1":"0";bZ(dj);return dk}function bj(){bq=b8((cY||cV)+(br||"/")).slice(0,4)}function cJ(){if(J(c8.res)){return c8}var dk,dm,dn={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(dk in dn){if(Object.prototype.hasOwnProperty.call(dn,dk)){dm=g.mimeTypes[dn[dk]];c8[dk]=(dm&&dm.enabledPlugin)?"1":"0"}}}if(!((new RegExp("Edge[ /](\\d+[\\.\\d]+)")).test(g.userAgent))&&typeof navigator.javaEnabled!=="unknown"&&J(g.javaEnabled)&&g.javaEnabled()){c8.java="1"}if(!J(S.showModalDialog)&&J(g.cookieEnabled)){c8.cookie=g.cookieEnabled?"1":"0" }else{c8.cookie=b6()}}var dl=parseInt(X.width,10);var dj=parseInt(X.height,10);c8.res=parseInt(dl,10)+"x"+parseInt(dj,10);return c8}function bY(){var dk=aU("cvar"),dj=aD(dk);if(dj&&dj.length){dj=S.JSON.parse(dj);if(V(dj)){return dj}}return{}}function cG(){if(aR===false){aR=bY()}}function cS(){var dj=cJ();return b8((g.userAgent||"")+(g.platform||"")+S.JSON.stringify(dj)+(new Date()).getTime()+Math.random()).slice(0,16)}function aB(){var dj=cJ();return b8((g.userAgent||"")+(g.platform||"")+S.JSON.stringify(dj)).slice(0,6)}function bg(){return Math.floor((new Date()).getTime()/1000)}function aK(){var dk=bg();var dl=aB();var dj=String(dk)+dl;return dj}function c3(dl){dl=String(dl);var dp=aB();var dm=dp.length;var dn=dl.substr(-1*dm,dm);var dk=parseInt(dl.substr(0,dl.length-dm),10);if(dk&&dn&&dn===dp){var dj=bg();if(a0<=0){return true}if(dj>=dk&&dj<=(dk+a0)){return true}}return false}function dh(dj){if(!cO){return""}var dn=e(dj,av);if(!dn){return""}dn=String(dn);var dl=new RegExp("^[a-zA-Z0-9]+$"); if(dn.length===32&&dl.test(dn)){var dk=dn.substr(16,32);if(c3(dk)){var dm=dn.substr(0,16);return dm}}return""}function cP(){if(!bP){bP=dh(bO)}var dl=new Date(),dj=Math.round(dl.getTime()/1000),dk=aU("id"),dp=aD(dk),dn,dm;if(dp){dn=dp.split(".");dn.unshift("0");if(bP.length){dn[1]=bP}return dn}if(bP.length){dm=bP}else{if("0"===b6()){dm=""}else{dm=cS()}}dn=["1",dm,dj];return dn}function aZ(){var dm=cP(),dk=dm[0],dl=dm[1],dj=dm[2];return{newVisitor:dk,uuid:dl,createTs:dj}}function aH(){var dm=new Date(),dk=dm.getTime(),dn=aZ().createTs;var dj=parseInt(dn,10);var dl=(dj*1000)+cL-dk;return dl}function aN(dj){if(!b7){return}var dl=new Date(),dk=Math.round(dl.getTime()/1000);if(!J(dj)){dj=aZ()}var dm=dj.uuid+"."+dj.createTs+".";de(aU("id"),dm,aH(),br,cY,bT,aJ)}function bN(){var dj=aD(aU("ref"));if(dj.length){try{dj=S.JSON.parse(dj);if(V(dj)){return dj}}catch(dk){}}return["","",0,""]}function by(dl){var dk=bl+"testcookie_domain";var dj="testvalue";de(dk,dj,10000,null,dl,bT,aJ);if(aD(dk)===dj){bZ(dk,null,dl); -return true}return false}function aF(){var dk=bn;bn=false;var dj,dl;for(dj=0;dj<bw.length;dj++){dl=aU(bw[dj]);if(dl!==cN&&dl!==be&&0!==aD(dl)){bZ(dl,br,cY)}}bn=dk}function b4(dj){b7=dj}function di(dn){if(!dn||!V(dn)){return}var dm=[];var dl;for(dl in dn){if(Object.prototype.hasOwnProperty.call(dn,dl)){dm.push(dl)}}var dp={};dm.sort();var dj=dm.length;var dk;for(dk=0;dk<dj;dk++){dp[dm[dk]]=dn[dm[dk]]}return dp}function cd(){de(aU("ses"),"1",cn,br,cY,bT,aJ)}function bh(){var dm="";var dk="abcdefghijklmnopqrstuvwxyz0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ";var dl=dk.length;var dj;for(dj=0;dj<6;dj++){dm+=dk.charAt(Math.floor(Math.random()*dl))}return dm}function aA(dk){if(!h){return dk}var dl=(typeof h.getEntriesByType==="function")&&h.getEntriesByType("navigation")?h.getEntriesByType("navigation")[0]:h.timing;if(!dl){return dk}var dj="";if(dl.connectEnd&&dl.fetchStart){if(dl.connectEnd<dl.fetchStart){return}dj+="&pf_net="+Math.round(dl.connectEnd-dl.fetchStart)}if(dl.responseStart&&dl.requestStart){if(dl.responseStart<dl.requestStart){return -}dj+="&pf_srv="+Math.round(dl.responseStart-dl.requestStart)}if(dl.responseStart&&dl.responseEnd){if(dl.responseEnd<dl.responseStart){return}dj+="&pf_tfr="+Math.round(dl.responseEnd-dl.responseStart)}if(dl.domInteractive&&dl.domLoading){if(dl.domInteractive<dl.domLoading){return}dj+="&pf_dm1="+Math.round(dl.domInteractive-dl.domLoading)}if(dl.domComplete&&dl.domInteractive){if(dl.domComplete<dl.domInteractive){return}dj+="&pf_dm2="+Math.round(dl.domComplete-dl.domInteractive)}if(dl.loadEventEnd&&dl.loadEventStart){if(dl.loadEventEnd<dl.loadEventStart){return}dj+="&pf_onl="+Math.round(dl.loadEventEnd-dl.loadEventStart)}return dk+dj}function cr(dl,dG,dH){var dF,dk=new Date(),dt=Math.round(dk.getTime()/1000),dq,dD,dm=1024,dM,du,dC=aR,dn=aU("ses"),dA=aU("ref"),dx=aU("cvar"),dy=aD(dn),dE=bN(),dI=a5||bO,dr,dj;if(bn){aF()}if(cR){return""}var dz=aZ();var dw=G.characterSet||G.charset;if(!dw||dw.toLowerCase()==="utf-8"){dw=null}dr=dE[0];dj=dE[1];dq=dE[2];dD=dE[3];if(!dy){if(!bx||!dr.length){for(dF in cp){if(Object.prototype.hasOwnProperty.call(cp,dF)){dr=e(dI,cp[dF]); -if(dr.length){break}}}for(dF in bI){if(Object.prototype.hasOwnProperty.call(bI,dF)){dj=e(dI,bI[dF]);if(dj.length){break}}}}dM=d(bp);du=dD.length?d(dD):"";if(dM.length&&!aW(dM)&&(!bx||!du.length||aW(du))){dD=bp}if(dD.length||dr.length){dq=dt;dE=[dr,dj,dq,b3(dD.slice(0,dm))];de(dA,S.JSON.stringify(dE),c6,br,cY,bT,aJ)}}dl+="&idsite="+b7+"&rec=1&r="+String(Math.random()).slice(2,8)+"&h="+dk.getHours()+"&m="+dk.getMinutes()+"&s="+dk.getSeconds()+"&url="+s(b3(dI))+(bp.length?"&urlref="+s(b3(bp)):"")+(Y(bA)?"&uid="+s(bA):"")+"&_id="+dz.uuid+"&_idn="+dz.newVisitor+(dr.length?"&_rcn="+s(dr):"")+(dj.length?"&_rck="+s(dj):"")+"&_refts="+dq+(String(dD).length?"&_ref="+s(b3(dD.slice(0,dm))):"")+(dw?"&cs="+s(dw):"")+"&send_image=0";var dL=cJ();for(dF in dL){if(Object.prototype.hasOwnProperty.call(dL,dF)){dl+="&"+dF+"="+dL[dF]}}var dK=[];if(dG){for(dF in dG){if(Object.prototype.hasOwnProperty.call(dG,dF)&&/^dimension\d+$/.test(dF)){var dp=dF.replace("dimension","");dK.push(parseInt(dp,10));dK.push(String(dp)); -dl+="&"+dF+"="+s(dG[dF]);delete dG[dF]}}}if(dG&&B(dG)){dG=null}for(dF in ct){if(Object.prototype.hasOwnProperty.call(ct,dF)){dl+="&"+dF+"="+s(ct[dF])}}for(dF in bo){if(Object.prototype.hasOwnProperty.call(bo,dF)){var dv=(-1===M(dK,dF));if(dv){dl+="&dimension"+dF+"="+s(bo[dF])}}}if(dG){dl+="&data="+s(S.JSON.stringify(dG))}else{if(ao){dl+="&data="+s(S.JSON.stringify(ao))}}function ds(dN,dO){var dP=S.JSON.stringify(dN);if(dP.length>2){return"&"+dO+"="+s(dP)}return""}var dJ=di(bX);var dB=di(cm);dl+=ds(dJ,"cvar");dl+=ds(dB,"e_cvar");if(aR){dl+=ds(aR,"_cvar");for(dF in dC){if(Object.prototype.hasOwnProperty.call(dC,dF)){if(aR[dF][0]===""||aR[dF][1]===""){delete aR[dF]}}}if(bR){de(dx,S.JSON.stringify(aR),cn,br,cY,bT,aJ)}}if(a3&&bG&&!bi){dl=aA(dl);bi=true}if(aM){dl+="&pv_id="+aM}aN(dz);cd();dl+=ac(dH,{tracker:bK,request:dl});if(c0.length){dl+="&"+c0}if(A(cc)){dl=cc(dl)}return dl}bS=function a8(){var dj=new Date();dj=dj.getTime();if(!cZ){return false}if(cZ+a6<=dj){bK.ping();return true}return false -};function bs(dm,dl,dr,dn,dj,du){var dq="idgoal=0",dk=new Date(),ds=[],dt,dp=String(dm).length;if(dp){dq+="&ec_id="+s(dm)}dq+="&revenue="+dl;if(String(dr).length){dq+="&ec_st="+dr}if(String(dn).length){dq+="&ec_tx="+dn}if(String(dj).length){dq+="&ec_sh="+dj}if(String(du).length){dq+="&ec_dt="+du}if(c1){for(dt in c1){if(Object.prototype.hasOwnProperty.call(c1,dt)){if(!J(c1[dt][1])){c1[dt][1]=""}if(!J(c1[dt][2])){c1[dt][2]=""}if(!J(c1[dt][3])||String(c1[dt][3]).length===0){c1[dt][3]=0}if(!J(c1[dt][4])||String(c1[dt][4]).length===0){c1[dt][4]=1}ds.push(c1[dt])}}dq+="&ec_items="+s(S.JSON.stringify(ds))}dq=cr(dq,ao,"ecommerce");bH(dq,bL);if(dp){c1={}}}function b0(dj,dn,dm,dl,dk,dp){if(String(dj).length&&J(dn)){bs(dj,dn,dm,dl,dk,dp)}}function bu(dj){if(J(dj)){bs("",dj,"","","","")}}function b1(dk,dm,dl){aM=bh();var dj=cr("action_name="+s(al(dk||bk)),dm,"log");if(a3&&!bi){dj=aA(dj)}bH(dj,bL,dl)}function a1(dl,dk){var dm,dj="(^| )(piwik[_-]"+dk+"|matomo[_-]"+dk;if(dl){for(dm=0;dm<dl.length;dm++){dj+="|"+dl[dm] -}}dj+=")( |$)";return new RegExp(dj)}function aV(dj){return(aE&&dj&&0===String(dj).indexOf(aE))}function cv(dn,dj,dp,dk){if(aV(dj)){return 0}var dm=a1(bM,"download"),dl=a1(a9,"link"),dq=new RegExp("\\.("+c7.join("|")+")([?&#]|$)","i");if(dl.test(dn)){return"link"}if(dk||dm.test(dn)||dq.test(dj)){return"download"}if(dp){return 0}return"link"}function au(dk){var dj;dj=dk.parentNode;while(dj!==null&&J(dj)){if(ae.isLinkElement(dk)){break}dk=dj;dj=dk.parentNode}return dk}function dc(dp){dp=au(dp);if(!ae.hasNodeAttribute(dp,"href")){return}if(!J(dp.href)){return}var dn=ae.getAttributeValueFromNode(dp,"href");var dk=dp.pathname||cl(dp.href);var dq=dp.hostname||d(dp.href);var dr=dq.toLowerCase();var dl=dp.href.replace(dq,dr);var dm=new RegExp("^(javascript|vbscript|jscript|mocha|livescript|ecmascript|mailto|tel):","i");if(!dm.test(dl)){var dj=cv(dp.className,dl,ar(dr,dk),ae.hasNodeAttribute(dp,"download"));if(dj){return{type:dj,href:dl}}}}function aQ(dj,dk,dl,dm){var dn=v.buildInteractionRequestParams(dj,dk,dl,dm); -if(!dn){return}return cr(dn,null,"contentInteraction")}function bc(dj,dk){if(!dj||!dk){return false}var dl=v.findTargetNode(dj);if(v.shouldIgnoreInteraction(dl)){return false}dl=v.findTargetNodeNoDefault(dj);if(dl&&!U(dl,dk)){return false}return true}function cu(dl,dk,dn){if(!dl){return}var dj=v.findParentContentNode(dl);if(!dj){return}if(!bc(dj,dl)){return}var dm=v.buildContentBlock(dj);if(!dm){return}if(!dm.target&&dn){dm.target=dn}return v.buildInteractionRequestParams(dk,dm.name,dm.piece,dm.target)}function aX(dk){if(!cb||!cb.length){return false}var dj,dl;for(dj=0;dj<cb.length;dj++){dl=cb[dj];if(dl&&dl.name===dk.name&&dl.piece===dk.piece&&dl.target===dk.target){return true}}return false}function aY(dj){return function(dn){if(!dj){return}var dl=v.findParentContentNode(dj);var dk;if(dn){dk=dn.target||dn.srcElement}if(!dk){dk=dj}if(!bc(dl,dk)){return}if(!dl){return false}var dp=v.findTargetNode(dl);if(!dp||v.shouldIgnoreInteraction(dp)){return false}var dm=dc(dp);if(c9&&dm&&dm.type){return dm.type -}return bK.trackContentInteractionNode(dk,"click")}}function b2(dl){if(!dl||!dl.length){return}var dj,dk;for(dj=0;dj<dl.length;dj++){dk=v.findTargetNode(dl[dj]);if(dk&&!dk.contentInteractionTrackingSetupDone){dk.contentInteractionTrackingSetupDone=true;an(dk,"click",aY(dk))}}}function bz(dl,dm){if(!dl||!dl.length){return[]}var dj,dk;for(dj=0;dj<dl.length;dj++){if(aX(dl[dj])){dl.splice(dj,1);dj--}else{cb.push(dl[dj])}}if(!dl||!dl.length){return[]}b2(dm);var dn=[];for(dj=0;dj<dl.length;dj++){dk=cr(v.buildImpressionRequestParams(dl[dj].name,dl[dj].piece,dl[dj].target),undefined,"contentImpressions");if(dk){dn.push(dk)}}return dn}function cA(dk){var dj=v.collectContent(dk);return bz(dj,dk)}function ba(dk){if(!dk||!dk.length){return[]}var dj;for(dj=0;dj<dk.length;dj++){if(!v.isNodeVisible(dk[dj])){dk.splice(dj,1);dj--}}if(!dk||!dk.length){return[]}return cA(dk)}function aG(dl,dj,dk){var dm=v.buildImpressionRequestParams(dl,dj,dk);return cr(dm,null,"contentImpression")}function db(dm,dk){if(!dm){return -}var dj=v.findParentContentNode(dm);var dl=v.buildContentBlock(dj);if(!dl){return}if(!dk){dk="Unknown"}return aQ(dk,dl.name,dl.piece,dl.target)}function cQ(dk,dm,dj,dl){return"e_c="+s(dk)+"&e_a="+s(dm)+(J(dj)?"&e_n="+s(dj):"")+(J(dl)?"&e_v="+s(dl):"")+"&ca=1"}function at(dl,dn,dj,dm,dq,dp){if(!Y(dl)||!Y(dn)){ak("Error while logging event: Parameters `category` and `action` must not be empty or filled with whitespaces");return false}var dk=cr(cQ(dl,dn,dj,dm),dq,"event");bH(dk,bL,dp)}function b9(dj,dm,dk,dn){var dl=cr("search="+s(dj)+(dm?"&search_cat="+s(dm):"")+(J(dk)?"&search_count="+dk:""),dn,"sitesearch");bH(dl,bL)}function cU(dj,dn,dm,dl){var dk=cr("idgoal="+dj+(dn?"&revenue="+dn:""),dm,"goal");bH(dk,bL,dl)}function c2(dm,dj,dr,dq,dl){var dp=dj+"="+s(b3(dm));var dk=cu(dl,"click",dm);if(dk){dp+="&"+dk}var dn=cr(dp,dr,"link");bH(dn,bL,dq)}function bV(dk,dj){if(dk!==""){return dk+dj.charAt(0).toUpperCase()+dj.slice(1)}return dj}function ch(dp){var dn,dj,dm=["","webkit","ms","moz"],dl;if(!bf){for(dj=0; -dj<dm.length;dj++){dl=dm[dj];if(Object.prototype.hasOwnProperty.call(G,bV(dl,"hidden"))){if(G[bV(dl,"visibilityState")]==="prerender"){dn=true}break}}}if(dn){an(G,dl+"visibilitychange",function dk(){G.removeEventListener(dl+"visibilitychange",dk,false);dp()});return}dp()}function bt(){var dk=bK.getVisitorId();var dj=aK();return dk+dj}function cj(dj){if(!dj){return}if(!ae.hasNodeAttribute(dj,"href")){return}var dk=ae.getAttributeValueFromNode(dj,"href");if(!dk||aV(dk)){return}if(!bK.getVisitorId()){return}dk=j(dk,av);var dl=bt();dk=F(dk,av,dl);ae.setAnyAttribute(dj,"href",dk)}function bm(dm){var dn=ae.getAttributeValueFromNode(dm,"href");if(!dn){return false}dn=String(dn);var dk=dn.indexOf("//")===0||dn.indexOf("http://")===0||dn.indexOf("https://")===0;if(!dk){return false}var dj=dm.pathname||cl(dm.href);var dl=(dm.hostname||d(dm.href)).toLowerCase();if(ar(dl,dj)){if(!cI(cV,L(dl))){return true}return false}return false}function cH(dj){var dk=dc(dj);if(dk&&dk.type){dk.href=o(dk.href);c2(dk.href,dk.type,undefined,null,dj); -return}if(cO){dj=au(dj);if(bm(dj)){cj(dj)}}}function cw(){return G.all&&!G.addEventListener}function cW(dj){var dl=dj.which;var dk=(typeof dj.button);if(!dl&&dk!=="undefined"){if(cw()){if(dj.button&1){dl=1}else{if(dj.button&2){dl=3}else{if(dj.button&4){dl=2}}}}else{if(dj.button===0||dj.button==="0"){dl=1}else{if(dj.button&1){dl=2}else{if(dj.button&2){dl=3}}}}}return dl}function bU(dj){switch(cW(dj)){case 1:return"left";case 2:return"middle";case 3:return"right"}}function a2(dj){return dj.target||dj.srcElement}function aC(dj){return function(dm){dm=dm||S.event;var dl=bU(dm);var dn=a2(dm);if(dm.type==="click"){var dk=false;if(dj&&dl==="middle"){dk=true}if(dn&&!dk){cH(dn)}}else{if(dm.type==="mousedown"){if(dl==="middle"&&dn){aS=dl;bC=dn}else{aS=bC=null}}else{if(dm.type==="mouseup"){if(dl===aS&&dn===bC){cH(dn)}aS=bC=null}else{if(dm.type==="contextmenu"){cH(dn)}}}}}}function aq(dl,dk){var dj=typeof dk;if(dj==="undefined"){dk=true}an(dl,"click",aC(dk),false);if(dk){an(dl,"mouseup",aC(dk),false); -an(dl,"mousedown",aC(dk),false);an(dl,"contextmenu",aC(dk),false)}}function bF(dl,dn){ap=true;var dm,dk=a1(bB,"ignore"),dp=G.links,dj=null,dq=null;if(dp){for(dm=0;dm<dp.length;dm++){dj=dp[dm];if(!dk.test(dj.className)){dq=typeof dj.matomoTrackers;if("undefined"===dq){dj.matomoTrackers=[]}if(-1===M(dj.matomoTrackers,dn)){dj.matomoTrackers.push(dn);aq(dj,dl)}}}}}function aT(dk,dn,dp){if(cf){return true}cf=true;var dq=false;var dm,dl;function dj(){dq=true}m(function(){function dr(dt){setTimeout(function(){if(!cf){return}dq=false;dp.trackVisibleContentImpressions();dr(dt)},dt)}function ds(dt){setTimeout(function(){if(!cf){return}if(dq){dq=false;dp.trackVisibleContentImpressions()}ds(dt)},dt)}if(dk){dm=["scroll","resize"];for(dl=0;dl<dm.length;dl++){if(G.addEventListener){G.addEventListener(dm[dl],dj,false)}else{S.attachEvent("on"+dm[dl],dj)}}ds(100)}if(dn&&dn>0){dn=parseInt(dn,10);dr(dn)}})}var bE={enabled:true,requests:[],timeout:null,interval:2500,sendRequests:function(){var dj=this.requests; +return true}return false}function aF(){var dk=bn;bn=false;var dj,dl;for(dj=0;dj<bw.length;dj++){dl=aU(bw[dj]);if(dl!==cN&&dl!==be&&0!==aD(dl)){bZ(dl,br,cY)}}bn=dk}function b4(dj){b7=dj}function di(dn){if(!dn||!V(dn)){return}var dm=[];var dl;for(dl in dn){if(Object.prototype.hasOwnProperty.call(dn,dl)){dm.push(dl)}}var dp={};dm.sort();var dj=dm.length;var dk;for(dk=0;dk<dj;dk++){dp[dm[dk]]=dn[dm[dk]]}return dp}function cd(){de(aU("ses"),"1",cn,br,cY,bT,aJ)}function bh(){var dm="";var dk="abcdefghijklmnopqrstuvwxyz0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ";var dl=dk.length;var dj;for(dj=0;dj<6;dj++){dm+=dk.charAt(Math.floor(Math.random()*dl))}return dm}function aA(dk){if(!h){return dk}var dl=(typeof h.timing==="object")&&h.timing?h.timing:undefined;if(!dl){dl=(typeof h.getEntriesByType==="function")&&h.getEntriesByType("navigation")?h.getEntriesByType("navigation")[0]:undefined}if(!dl){return dk}var dj="";if(dl.connectEnd&&dl.fetchStart){if(dl.connectEnd<dl.fetchStart){return}dj+="&pf_net="+Math.round(dl.connectEnd-dl.fetchStart) +}if(dl.responseStart&&dl.requestStart){if(dl.responseStart<dl.requestStart){return}dj+="&pf_srv="+Math.round(dl.responseStart-dl.requestStart)}if(dl.responseStart&&dl.responseEnd){if(dl.responseEnd<dl.responseStart){return}dj+="&pf_tfr="+Math.round(dl.responseEnd-dl.responseStart)}if(J(dl.domLoading)){if(dl.domInteractive&&dl.domLoading){if(dl.domInteractive<dl.domLoading){return}dj+="&pf_dm1="+Math.round(dl.domInteractive-dl.domLoading)}}else{if(dl.domInteractive&&dl.responseEnd){if(dl.domInteractive<dl.responseEnd){return}dj+="&pf_dm1="+Math.round(dl.domInteractive-dl.responseEnd)}}if(dl.domComplete&&dl.domInteractive){if(dl.domComplete<dl.domInteractive){return}dj+="&pf_dm2="+Math.round(dl.domComplete-dl.domInteractive)}if(dl.loadEventEnd&&dl.loadEventStart){if(dl.loadEventEnd<dl.loadEventStart){return}dj+="&pf_onl="+Math.round(dl.loadEventEnd-dl.loadEventStart)}return dk+dj}function cr(dl,dG,dH){var dF,dk=new Date(),dt=Math.round(dk.getTime()/1000),dq,dD,dm=1024,dM,du,dC=aR,dn=aU("ses"),dA=aU("ref"),dx=aU("cvar"),dy=aD(dn),dE=bN(),dI=a5||bO,dr,dj; +if(bn){aF()}if(cR){return""}var dz=aZ();var dw=G.characterSet||G.charset;if(!dw||dw.toLowerCase()==="utf-8"){dw=null}dr=dE[0];dj=dE[1];dq=dE[2];dD=dE[3];if(!dy){if(!bx||!dr.length){for(dF in cp){if(Object.prototype.hasOwnProperty.call(cp,dF)){dr=e(dI,cp[dF]);if(dr.length){break}}}for(dF in bI){if(Object.prototype.hasOwnProperty.call(bI,dF)){dj=e(dI,bI[dF]);if(dj.length){break}}}}dM=d(bp);du=dD.length?d(dD):"";if(dM.length&&!aW(dM)&&(!bx||!du.length||aW(du))){dD=bp}if(dD.length||dr.length){dq=dt;dE=[dr,dj,dq,b3(dD.slice(0,dm))];de(dA,S.JSON.stringify(dE),c6,br,cY,bT,aJ)}}dl+="&idsite="+b7+"&rec=1&r="+String(Math.random()).slice(2,8)+"&h="+dk.getHours()+"&m="+dk.getMinutes()+"&s="+dk.getSeconds()+"&url="+s(b3(dI))+(bp.length?"&urlref="+s(b3(bp)):"")+(Y(bA)?"&uid="+s(bA):"")+"&_id="+dz.uuid+"&_idn="+dz.newVisitor+(dr.length?"&_rcn="+s(dr):"")+(dj.length?"&_rck="+s(dj):"")+"&_refts="+dq+(String(dD).length?"&_ref="+s(b3(dD.slice(0,dm))):"")+(dw?"&cs="+s(dw):"")+"&send_image=0";var dL=cJ();for(dF in dL){if(Object.prototype.hasOwnProperty.call(dL,dF)){dl+="&"+dF+"="+dL[dF] +}}var dK=[];if(dG){for(dF in dG){if(Object.prototype.hasOwnProperty.call(dG,dF)&&/^dimension\d+$/.test(dF)){var dp=dF.replace("dimension","");dK.push(parseInt(dp,10));dK.push(String(dp));dl+="&"+dF+"="+s(dG[dF]);delete dG[dF]}}}if(dG&&B(dG)){dG=null}for(dF in ct){if(Object.prototype.hasOwnProperty.call(ct,dF)){dl+="&"+dF+"="+s(ct[dF])}}for(dF in bo){if(Object.prototype.hasOwnProperty.call(bo,dF)){var dv=(-1===M(dK,dF));if(dv){dl+="&dimension"+dF+"="+s(bo[dF])}}}if(dG){dl+="&data="+s(S.JSON.stringify(dG))}else{if(ao){dl+="&data="+s(S.JSON.stringify(ao))}}function ds(dN,dO){var dP=S.JSON.stringify(dN);if(dP.length>2){return"&"+dO+"="+s(dP)}return""}var dJ=di(bX);var dB=di(cm);dl+=ds(dJ,"cvar");dl+=ds(dB,"e_cvar");if(aR){dl+=ds(aR,"_cvar");for(dF in dC){if(Object.prototype.hasOwnProperty.call(dC,dF)){if(aR[dF][0]===""||aR[dF][1]===""){delete aR[dF]}}}if(bR){de(dx,S.JSON.stringify(aR),cn,br,cY,bT,aJ)}}if(a3&&bG&&!bi){dl=aA(dl);bi=true}if(aM){dl+="&pv_id="+aM}aN(dz);cd();dl+=ac(dH,{tracker:bK,request:dl}); +if(c0.length){dl+="&"+c0}if(A(cc)){dl=cc(dl)}return dl}bS=function a8(){var dj=new Date();dj=dj.getTime();if(!cZ){return false}if(cZ+a6<=dj){bK.ping();return true}return false};function bs(dm,dl,dr,dn,dj,du){var dq="idgoal=0",dk=new Date(),ds=[],dt,dp=String(dm).length;if(dp){dq+="&ec_id="+s(dm)}dq+="&revenue="+dl;if(String(dr).length){dq+="&ec_st="+dr}if(String(dn).length){dq+="&ec_tx="+dn}if(String(dj).length){dq+="&ec_sh="+dj}if(String(du).length){dq+="&ec_dt="+du}if(c1){for(dt in c1){if(Object.prototype.hasOwnProperty.call(c1,dt)){if(!J(c1[dt][1])){c1[dt][1]=""}if(!J(c1[dt][2])){c1[dt][2]=""}if(!J(c1[dt][3])||String(c1[dt][3]).length===0){c1[dt][3]=0}if(!J(c1[dt][4])||String(c1[dt][4]).length===0){c1[dt][4]=1}ds.push(c1[dt])}}dq+="&ec_items="+s(S.JSON.stringify(ds))}dq=cr(dq,ao,"ecommerce");bH(dq,bL);if(dp){c1={}}}function b0(dj,dn,dm,dl,dk,dp){if(String(dj).length&&J(dn)){bs(dj,dn,dm,dl,dk,dp)}}function bu(dj){if(J(dj)){bs("",dj,"","","","")}}function b1(dk,dm,dl){aM=bh();var dj=cr("action_name="+s(al(dk||bk)),dm,"log"); +if(a3&&!bi){dj=aA(dj)}bH(dj,bL,dl)}function a1(dl,dk){var dm,dj="(^| )(piwik[_-]"+dk+"|matomo[_-]"+dk;if(dl){for(dm=0;dm<dl.length;dm++){dj+="|"+dl[dm]}}dj+=")( |$)";return new RegExp(dj)}function aV(dj){return(aE&&dj&&0===String(dj).indexOf(aE))}function cv(dn,dj,dp,dk){if(aV(dj)){return 0}var dm=a1(bM,"download"),dl=a1(a9,"link"),dq=new RegExp("\\.("+c7.join("|")+")([?&#]|$)","i");if(dl.test(dn)){return"link"}if(dk||dm.test(dn)||dq.test(dj)){return"download"}if(dp){return 0}return"link"}function au(dk){var dj;dj=dk.parentNode;while(dj!==null&&J(dj)){if(ae.isLinkElement(dk)){break}dk=dj;dj=dk.parentNode}return dk}function dc(dp){dp=au(dp);if(!ae.hasNodeAttribute(dp,"href")){return}if(!J(dp.href)){return}var dn=ae.getAttributeValueFromNode(dp,"href");var dk=dp.pathname||cl(dp.href);var dq=dp.hostname||d(dp.href);var dr=dq.toLowerCase();var dl=dp.href.replace(dq,dr);var dm=new RegExp("^(javascript|vbscript|jscript|mocha|livescript|ecmascript|mailto|tel):","i");if(!dm.test(dl)){var dj=cv(dp.className,dl,ar(dr,dk),ae.hasNodeAttribute(dp,"download")); +if(dj){return{type:dj,href:dl}}}}function aQ(dj,dk,dl,dm){var dn=v.buildInteractionRequestParams(dj,dk,dl,dm);if(!dn){return}return cr(dn,null,"contentInteraction")}function bc(dj,dk){if(!dj||!dk){return false}var dl=v.findTargetNode(dj);if(v.shouldIgnoreInteraction(dl)){return false}dl=v.findTargetNodeNoDefault(dj);if(dl&&!U(dl,dk)){return false}return true}function cu(dl,dk,dn){if(!dl){return}var dj=v.findParentContentNode(dl);if(!dj){return}if(!bc(dj,dl)){return}var dm=v.buildContentBlock(dj);if(!dm){return}if(!dm.target&&dn){dm.target=dn}return v.buildInteractionRequestParams(dk,dm.name,dm.piece,dm.target)}function aX(dk){if(!cb||!cb.length){return false}var dj,dl;for(dj=0;dj<cb.length;dj++){dl=cb[dj];if(dl&&dl.name===dk.name&&dl.piece===dk.piece&&dl.target===dk.target){return true}}return false}function aY(dj){return function(dn){if(!dj){return}var dl=v.findParentContentNode(dj);var dk;if(dn){dk=dn.target||dn.srcElement}if(!dk){dk=dj}if(!bc(dl,dk)){return}if(!dl){return false}var dp=v.findTargetNode(dl); +if(!dp||v.shouldIgnoreInteraction(dp)){return false}var dm=dc(dp);if(c9&&dm&&dm.type){return dm.type}return bK.trackContentInteractionNode(dk,"click")}}function b2(dl){if(!dl||!dl.length){return}var dj,dk;for(dj=0;dj<dl.length;dj++){dk=v.findTargetNode(dl[dj]);if(dk&&!dk.contentInteractionTrackingSetupDone){dk.contentInteractionTrackingSetupDone=true;an(dk,"click",aY(dk))}}}function bz(dl,dm){if(!dl||!dl.length){return[]}var dj,dk;for(dj=0;dj<dl.length;dj++){if(aX(dl[dj])){dl.splice(dj,1);dj--}else{cb.push(dl[dj])}}if(!dl||!dl.length){return[]}b2(dm);var dn=[];for(dj=0;dj<dl.length;dj++){dk=cr(v.buildImpressionRequestParams(dl[dj].name,dl[dj].piece,dl[dj].target),undefined,"contentImpressions");if(dk){dn.push(dk)}}return dn}function cA(dk){var dj=v.collectContent(dk);return bz(dj,dk)}function ba(dk){if(!dk||!dk.length){return[]}var dj;for(dj=0;dj<dk.length;dj++){if(!v.isNodeVisible(dk[dj])){dk.splice(dj,1);dj--}}if(!dk||!dk.length){return[]}return cA(dk)}function aG(dl,dj,dk){var dm=v.buildImpressionRequestParams(dl,dj,dk); +return cr(dm,null,"contentImpression")}function db(dm,dk){if(!dm){return}var dj=v.findParentContentNode(dm);var dl=v.buildContentBlock(dj);if(!dl){return}if(!dk){dk="Unknown"}return aQ(dk,dl.name,dl.piece,dl.target)}function cQ(dk,dm,dj,dl){return"e_c="+s(dk)+"&e_a="+s(dm)+(J(dj)?"&e_n="+s(dj):"")+(J(dl)?"&e_v="+s(dl):"")+"&ca=1"}function at(dl,dn,dj,dm,dq,dp){if(!Y(dl)||!Y(dn)){ak("Error while logging event: Parameters `category` and `action` must not be empty or filled with whitespaces");return false}var dk=cr(cQ(dl,dn,dj,dm),dq,"event");bH(dk,bL,dp)}function b9(dj,dm,dk,dn){var dl=cr("search="+s(dj)+(dm?"&search_cat="+s(dm):"")+(J(dk)?"&search_count="+dk:""),dn,"sitesearch");bH(dl,bL)}function cU(dj,dn,dm,dl){var dk=cr("idgoal="+dj+(dn?"&revenue="+dn:""),dm,"goal");bH(dk,bL,dl)}function c2(dm,dj,dr,dq,dl){var dp=dj+"="+s(b3(dm));var dk=cu(dl,"click",dm);if(dk){dp+="&"+dk}var dn=cr(dp,dr,"link");bH(dn,bL,dq)}function bV(dk,dj){if(dk!==""){return dk+dj.charAt(0).toUpperCase()+dj.slice(1) +}return dj}function ch(dp){var dn,dj,dm=["","webkit","ms","moz"],dl;if(!bf){for(dj=0;dj<dm.length;dj++){dl=dm[dj];if(Object.prototype.hasOwnProperty.call(G,bV(dl,"hidden"))){if(G[bV(dl,"visibilityState")]==="prerender"){dn=true}break}}}if(dn){an(G,dl+"visibilitychange",function dk(){G.removeEventListener(dl+"visibilitychange",dk,false);dp()});return}dp()}function bt(){var dk=bK.getVisitorId();var dj=aK();return dk+dj}function cj(dj){if(!dj){return}if(!ae.hasNodeAttribute(dj,"href")){return}var dk=ae.getAttributeValueFromNode(dj,"href");if(!dk||aV(dk)){return}if(!bK.getVisitorId()){return}dk=j(dk,av);var dl=bt();dk=F(dk,av,dl);ae.setAnyAttribute(dj,"href",dk)}function bm(dm){var dn=ae.getAttributeValueFromNode(dm,"href");if(!dn){return false}dn=String(dn);var dk=dn.indexOf("//")===0||dn.indexOf("http://")===0||dn.indexOf("https://")===0;if(!dk){return false}var dj=dm.pathname||cl(dm.href);var dl=(dm.hostname||d(dm.href)).toLowerCase();if(ar(dl,dj)){if(!cI(cV,L(dl))){return true}return false +}return false}function cH(dj){var dk=dc(dj);if(dk&&dk.type){dk.href=o(dk.href);c2(dk.href,dk.type,undefined,null,dj);return}if(cO){dj=au(dj);if(bm(dj)){cj(dj)}}}function cw(){return G.all&&!G.addEventListener}function cW(dj){var dl=dj.which;var dk=(typeof dj.button);if(!dl&&dk!=="undefined"){if(cw()){if(dj.button&1){dl=1}else{if(dj.button&2){dl=3}else{if(dj.button&4){dl=2}}}}else{if(dj.button===0||dj.button==="0"){dl=1}else{if(dj.button&1){dl=2}else{if(dj.button&2){dl=3}}}}}return dl}function bU(dj){switch(cW(dj)){case 1:return"left";case 2:return"middle";case 3:return"right"}}function a2(dj){return dj.target||dj.srcElement}function aC(dj){return function(dm){dm=dm||S.event;var dl=bU(dm);var dn=a2(dm);if(dm.type==="click"){var dk=false;if(dj&&dl==="middle"){dk=true}if(dn&&!dk){cH(dn)}}else{if(dm.type==="mousedown"){if(dl==="middle"&&dn){aS=dl;bC=dn}else{aS=bC=null}}else{if(dm.type==="mouseup"){if(dl===aS&&dn===bC){cH(dn)}aS=bC=null}else{if(dm.type==="contextmenu"){cH(dn)}}}}}}function aq(dl,dk){var dj=typeof dk; +if(dj==="undefined"){dk=true}an(dl,"click",aC(dk),false);if(dk){an(dl,"mouseup",aC(dk),false);an(dl,"mousedown",aC(dk),false);an(dl,"contextmenu",aC(dk),false)}}function bF(dl,dn){ap=true;var dm,dk=a1(bB,"ignore"),dp=G.links,dj=null,dq=null;if(dp){for(dm=0;dm<dp.length;dm++){dj=dp[dm];if(!dk.test(dj.className)){dq=typeof dj.matomoTrackers;if("undefined"===dq){dj.matomoTrackers=[]}if(-1===M(dj.matomoTrackers,dn)){dj.matomoTrackers.push(dn);aq(dj,dl)}}}}}function aT(dk,dn,dp){if(cf){return true}cf=true;var dq=false;var dm,dl;function dj(){dq=true}m(function(){function dr(dt){setTimeout(function(){if(!cf){return}dq=false;dp.trackVisibleContentImpressions();dr(dt)},dt)}function ds(dt){setTimeout(function(){if(!cf){return}if(dq){dq=false;dp.trackVisibleContentImpressions()}ds(dt)},dt)}if(dk){dm=["scroll","resize"];for(dl=0;dl<dm.length;dl++){if(G.addEventListener){G.addEventListener(dm[dl],dj,false)}else{S.attachEvent("on"+dm[dl],dj)}}ds(100)}if(dn&&dn>0){dn=parseInt(dn,10);dr(dn)}})}var bE={enabled:true,requests:[],timeout:null,interval:2500,sendRequests:function(){var dj=this.requests; this.requests=[];if(dj.length===1){bH(dj[0],bL)}else{df(dj,bL)}},canQueue:function(){return !l&&this.enabled},pushMultiple:function(dk){if(!this.canQueue()){df(dk,bL);return}var dj;for(dj=0;dj<dk.length;dj++){this.push(dk[dj])}},push:function(dj){if(!dj){return}if(!this.canQueue()){bH(dj,bL);return}bE.requests.push(dj);if(this.timeout){clearTimeout(this.timeout);this.timeout=null}this.timeout=setTimeout(function(){bE.timeout=null;bE.sendRequests()},bE.interval);var dk="RequestQueue"+ax;if(!Object.prototype.hasOwnProperty.call(b,dk)){b[dk]={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 cP()};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(dj){aE=dj};this.getTrackerUrl=function(){return aE};this.getMatomoUrl=function(){return W(this.getTrackerUrl(),bJ)};this.getPiwikUrl=function(){return this.getMatomoUrl()};this.addTracker=function(dl,dk){if(!J(dl)||null===dl){dl=this.getTrackerUrl()}var dj=new P(dl,dk);I.push(dj);t.trigger("TrackerAdded",[this]);return dj};this.getSiteId=function(){return b7};this.setSiteId=function(dj){b4(dj)};this.resetUserId=function(){bA=""};this.setUserId=function(dj){if(Y(dj)){bA=dj}};this.setVisitorId=function(dk){var dj=/[0-9A-Fa-f]{16}/g;if(w(dk)&&dj.test(dk)){bP=dk}else{ak("Invalid visitorId set"+dk)}};this.getUserId=function(){return bA};this.setCustomData=function(dj,dk){if(V(dj)){ao=dj}else{if(!ao){ao={}}ao[dj]=dk}};this.getCustomData=function(){return ao};this.setCustomRequestProcessing=function(dj){cc=dj};this.appendToTrackingUrl=function(dj){c0=dj};this.getRequest=function(dj){return cr(dj)};this.addPlugin=function(dj,dk){b[dj]=dk};this.setCustomDimension=function(dj,dk){dj=parseInt(dj,10); if(dj>0){if(!J(dk)){dk=""}if(!w(dk)){dk=String(dk)}bo[dj]=dk}};this.getCustomDimension=function(dj){dj=parseInt(dj,10);if(dj>0&&Object.prototype.hasOwnProperty.call(bo,dj)){return bo[dj]}};this.deleteCustomDimension=function(dj){dj=parseInt(dj,10);if(dj>0){delete bo[dj]}};this.setCustomVariable=function(dk,dj,dn,dl){var dm;if(!J(dl)){dl="visit"}if(!J(dj)){return}if(!J(dn)){dn=""}if(dk>0){dj=!w(dj)?String(dj):dj;dn=!w(dn)?String(dn):dn;dm=[dj.slice(0,bv),dn.slice(0,bv)];if(dl==="visit"||dl===2){cG();aR[dk]=dm}else{if(dl==="page"||dl===3){bX[dk]=dm}else{if(dl==="event"){cm[dk]=dm}}}}};this.getCustomVariable=function(dk,dl){var dj;if(!J(dl)){dl="visit"}if(dl==="page"||dl===3){dj=bX[dk]}else{if(dl==="event"){dj=cm[dk]}else{if(dl==="visit"||dl===2){cG();dj=aR[dk]}}}if(!J(dj)||(dj&&dj[0]==="")){return false}return dj};this.deleteCustomVariable=function(dj,dk){if(this.getCustomVariable(dj,dk)){this.setCustomVariable(dj,"","",dk)}};this.deleteCustomVariables=function(dj){if(dj==="page"||dj===3){bX={} @@ -38,18 +38,18 @@ an(S,"blur",az);ab++;t.addPlugin("HeartBeat"+ab,{unload:function(){if(aO&&dd()){ })}function aU(dj){return bl+dj+"."+b7+"."+bq}function bZ(dl,dk,dj){de(dl,"",-86400,dk,dj)}function b6(){if(bn){return"0"}if(!J(S.showModalDialog)&&J(g.cookieEnabled)){return g.cookieEnabled?"1":"0"}var dj=bl+"testcookie";de(dj,"1",undefined,br,cY,bT,aJ);var dk=aD(dj)==="1"?"1":"0";bZ(dj);return dk}function bj(){bq=b8((cY||cV)+(br||"/")).slice(0,4)}function cJ(){if(J(c8.res)){return c8}var dk,dm,dn={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(dk in dn){if(Object.prototype.hasOwnProperty.call(dn,dk)){dm=g.mimeTypes[dn[dk]];c8[dk]=(dm&&dm.enabledPlugin)?"1":"0"}}}if(!((new RegExp("Edge[ /](\\d+[\\.\\d]+)")).test(g.userAgent))&&typeof navigator.javaEnabled!=="unknown"&&J(g.javaEnabled)&&g.javaEnabled()){c8.java="1"}if(!J(S.showModalDialog)&&J(g.cookieEnabled)){c8.cookie=g.cookieEnabled?"1":"0" }else{c8.cookie=b6()}}var dl=parseInt(X.width,10);var dj=parseInt(X.height,10);c8.res=parseInt(dl,10)+"x"+parseInt(dj,10);return c8}function bY(){var dk=aU("cvar"),dj=aD(dk);if(dj&&dj.length){dj=S.JSON.parse(dj);if(V(dj)){return dj}}return{}}function cG(){if(aR===false){aR=bY()}}function cS(){var dj=cJ();return b8((g.userAgent||"")+(g.platform||"")+S.JSON.stringify(dj)+(new Date()).getTime()+Math.random()).slice(0,16)}function aB(){var dj=cJ();return b8((g.userAgent||"")+(g.platform||"")+S.JSON.stringify(dj)).slice(0,6)}function bg(){return Math.floor((new Date()).getTime()/1000)}function aK(){var dk=bg();var dl=aB();var dj=String(dk)+dl;return dj}function c3(dl){dl=String(dl);var dp=aB();var dm=dp.length;var dn=dl.substr(-1*dm,dm);var dk=parseInt(dl.substr(0,dl.length-dm),10);if(dk&&dn&&dn===dp){var dj=bg();if(a0<=0){return true}if(dj>=dk&&dj<=(dk+a0)){return true}}return false}function dh(dj){if(!cO){return""}var dn=e(dj,av);if(!dn){return""}dn=String(dn);var dl=new RegExp("^[a-zA-Z0-9]+$"); if(dn.length===32&&dl.test(dn)){var dk=dn.substr(16,32);if(c3(dk)){var dm=dn.substr(0,16);return dm}}return""}function cP(){if(!bP){bP=dh(bO)}var dl=new Date(),dj=Math.round(dl.getTime()/1000),dk=aU("id"),dp=aD(dk),dn,dm;if(dp){dn=dp.split(".");dn.unshift("0");if(bP.length){dn[1]=bP}return dn}if(bP.length){dm=bP}else{if("0"===b6()){dm=""}else{dm=cS()}}dn=["1",dm,dj];return dn}function aZ(){var dm=cP(),dk=dm[0],dl=dm[1],dj=dm[2];return{newVisitor:dk,uuid:dl,createTs:dj}}function aH(){var dm=new Date(),dk=dm.getTime(),dn=aZ().createTs;var dj=parseInt(dn,10);var dl=(dj*1000)+cL-dk;return dl}function aN(dj){if(!b7){return}var dl=new Date(),dk=Math.round(dl.getTime()/1000);if(!J(dj)){dj=aZ()}var dm=dj.uuid+"."+dj.createTs+".";de(aU("id"),dm,aH(),br,cY,bT,aJ)}function bN(){var dj=aD(aU("ref"));if(dj.length){try{dj=S.JSON.parse(dj);if(V(dj)){return dj}}catch(dk){}}return["","",0,""]}function by(dl){var dk=bl+"testcookie_domain";var dj="testvalue";de(dk,dj,10000,null,dl,bT,aJ);if(aD(dk)===dj){bZ(dk,null,dl); -return true}return false}function aF(){var dk=bn;bn=false;var dj,dl;for(dj=0;dj<bw.length;dj++){dl=aU(bw[dj]);if(dl!==cN&&dl!==be&&0!==aD(dl)){bZ(dl,br,cY)}}bn=dk}function b4(dj){b7=dj}function di(dn){if(!dn||!V(dn)){return}var dm=[];var dl;for(dl in dn){if(Object.prototype.hasOwnProperty.call(dn,dl)){dm.push(dl)}}var dp={};dm.sort();var dj=dm.length;var dk;for(dk=0;dk<dj;dk++){dp[dm[dk]]=dn[dm[dk]]}return dp}function cd(){de(aU("ses"),"1",cn,br,cY,bT,aJ)}function bh(){var dm="";var dk="abcdefghijklmnopqrstuvwxyz0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ";var dl=dk.length;var dj;for(dj=0;dj<6;dj++){dm+=dk.charAt(Math.floor(Math.random()*dl))}return dm}function aA(dk){if(!h){return dk}var dl=(typeof h.getEntriesByType==="function")&&h.getEntriesByType("navigation")?h.getEntriesByType("navigation")[0]:h.timing;if(!dl){return dk}var dj="";if(dl.connectEnd&&dl.fetchStart){if(dl.connectEnd<dl.fetchStart){return}dj+="&pf_net="+Math.round(dl.connectEnd-dl.fetchStart)}if(dl.responseStart&&dl.requestStart){if(dl.responseStart<dl.requestStart){return -}dj+="&pf_srv="+Math.round(dl.responseStart-dl.requestStart)}if(dl.responseStart&&dl.responseEnd){if(dl.responseEnd<dl.responseStart){return}dj+="&pf_tfr="+Math.round(dl.responseEnd-dl.responseStart)}if(dl.domInteractive&&dl.domLoading){if(dl.domInteractive<dl.domLoading){return}dj+="&pf_dm1="+Math.round(dl.domInteractive-dl.domLoading)}if(dl.domComplete&&dl.domInteractive){if(dl.domComplete<dl.domInteractive){return}dj+="&pf_dm2="+Math.round(dl.domComplete-dl.domInteractive)}if(dl.loadEventEnd&&dl.loadEventStart){if(dl.loadEventEnd<dl.loadEventStart){return}dj+="&pf_onl="+Math.round(dl.loadEventEnd-dl.loadEventStart)}return dk+dj}function cr(dl,dG,dH){var dF,dk=new Date(),dt=Math.round(dk.getTime()/1000),dq,dD,dm=1024,dM,du,dC=aR,dn=aU("ses"),dA=aU("ref"),dx=aU("cvar"),dy=aD(dn),dE=bN(),dI=a5||bO,dr,dj;if(bn){aF()}if(cR){return""}var dz=aZ();var dw=G.characterSet||G.charset;if(!dw||dw.toLowerCase()==="utf-8"){dw=null}dr=dE[0];dj=dE[1];dq=dE[2];dD=dE[3];if(!dy){if(!bx||!dr.length){for(dF in cp){if(Object.prototype.hasOwnProperty.call(cp,dF)){dr=e(dI,cp[dF]); -if(dr.length){break}}}for(dF in bI){if(Object.prototype.hasOwnProperty.call(bI,dF)){dj=e(dI,bI[dF]);if(dj.length){break}}}}dM=d(bp);du=dD.length?d(dD):"";if(dM.length&&!aW(dM)&&(!bx||!du.length||aW(du))){dD=bp}if(dD.length||dr.length){dq=dt;dE=[dr,dj,dq,b3(dD.slice(0,dm))];de(dA,S.JSON.stringify(dE),c6,br,cY,bT,aJ)}}dl+="&idsite="+b7+"&rec=1&r="+String(Math.random()).slice(2,8)+"&h="+dk.getHours()+"&m="+dk.getMinutes()+"&s="+dk.getSeconds()+"&url="+s(b3(dI))+(bp.length?"&urlref="+s(b3(bp)):"")+(Y(bA)?"&uid="+s(bA):"")+"&_id="+dz.uuid+"&_idn="+dz.newVisitor+(dr.length?"&_rcn="+s(dr):"")+(dj.length?"&_rck="+s(dj):"")+"&_refts="+dq+(String(dD).length?"&_ref="+s(b3(dD.slice(0,dm))):"")+(dw?"&cs="+s(dw):"")+"&send_image=0";var dL=cJ();for(dF in dL){if(Object.prototype.hasOwnProperty.call(dL,dF)){dl+="&"+dF+"="+dL[dF]}}var dK=[];if(dG){for(dF in dG){if(Object.prototype.hasOwnProperty.call(dG,dF)&&/^dimension\d+$/.test(dF)){var dp=dF.replace("dimension","");dK.push(parseInt(dp,10));dK.push(String(dp)); -dl+="&"+dF+"="+s(dG[dF]);delete dG[dF]}}}if(dG&&B(dG)){dG=null}for(dF in ct){if(Object.prototype.hasOwnProperty.call(ct,dF)){dl+="&"+dF+"="+s(ct[dF])}}for(dF in bo){if(Object.prototype.hasOwnProperty.call(bo,dF)){var dv=(-1===M(dK,dF));if(dv){dl+="&dimension"+dF+"="+s(bo[dF])}}}if(dG){dl+="&data="+s(S.JSON.stringify(dG))}else{if(ao){dl+="&data="+s(S.JSON.stringify(ao))}}function ds(dN,dO){var dP=S.JSON.stringify(dN);if(dP.length>2){return"&"+dO+"="+s(dP)}return""}var dJ=di(bX);var dB=di(cm);dl+=ds(dJ,"cvar");dl+=ds(dB,"e_cvar");if(aR){dl+=ds(aR,"_cvar");for(dF in dC){if(Object.prototype.hasOwnProperty.call(dC,dF)){if(aR[dF][0]===""||aR[dF][1]===""){delete aR[dF]}}}if(bR){de(dx,S.JSON.stringify(aR),cn,br,cY,bT,aJ)}}if(a3&&bG&&!bi){dl=aA(dl);bi=true}if(aM){dl+="&pv_id="+aM}aN(dz);cd();dl+=ac(dH,{tracker:bK,request:dl});if(c0.length){dl+="&"+c0}if(A(cc)){dl=cc(dl)}return dl}bS=function a8(){var dj=new Date();dj=dj.getTime();if(!cZ){return false}if(cZ+a6<=dj){bK.ping();return true}return false -};function bs(dm,dl,dr,dn,dj,du){var dq="idgoal=0",dk=new Date(),ds=[],dt,dp=String(dm).length;if(dp){dq+="&ec_id="+s(dm)}dq+="&revenue="+dl;if(String(dr).length){dq+="&ec_st="+dr}if(String(dn).length){dq+="&ec_tx="+dn}if(String(dj).length){dq+="&ec_sh="+dj}if(String(du).length){dq+="&ec_dt="+du}if(c1){for(dt in c1){if(Object.prototype.hasOwnProperty.call(c1,dt)){if(!J(c1[dt][1])){c1[dt][1]=""}if(!J(c1[dt][2])){c1[dt][2]=""}if(!J(c1[dt][3])||String(c1[dt][3]).length===0){c1[dt][3]=0}if(!J(c1[dt][4])||String(c1[dt][4]).length===0){c1[dt][4]=1}ds.push(c1[dt])}}dq+="&ec_items="+s(S.JSON.stringify(ds))}dq=cr(dq,ao,"ecommerce");bH(dq,bL);if(dp){c1={}}}function b0(dj,dn,dm,dl,dk,dp){if(String(dj).length&&J(dn)){bs(dj,dn,dm,dl,dk,dp)}}function bu(dj){if(J(dj)){bs("",dj,"","","","")}}function b1(dk,dm,dl){aM=bh();var dj=cr("action_name="+s(al(dk||bk)),dm,"log");if(a3&&!bi){dj=aA(dj)}bH(dj,bL,dl)}function a1(dl,dk){var dm,dj="(^| )(piwik[_-]"+dk+"|matomo[_-]"+dk;if(dl){for(dm=0;dm<dl.length;dm++){dj+="|"+dl[dm] -}}dj+=")( |$)";return new RegExp(dj)}function aV(dj){return(aE&&dj&&0===String(dj).indexOf(aE))}function cv(dn,dj,dp,dk){if(aV(dj)){return 0}var dm=a1(bM,"download"),dl=a1(a9,"link"),dq=new RegExp("\\.("+c7.join("|")+")([?&#]|$)","i");if(dl.test(dn)){return"link"}if(dk||dm.test(dn)||dq.test(dj)){return"download"}if(dp){return 0}return"link"}function au(dk){var dj;dj=dk.parentNode;while(dj!==null&&J(dj)){if(ae.isLinkElement(dk)){break}dk=dj;dj=dk.parentNode}return dk}function dc(dp){dp=au(dp);if(!ae.hasNodeAttribute(dp,"href")){return}if(!J(dp.href)){return}var dn=ae.getAttributeValueFromNode(dp,"href");var dk=dp.pathname||cl(dp.href);var dq=dp.hostname||d(dp.href);var dr=dq.toLowerCase();var dl=dp.href.replace(dq,dr);var dm=new RegExp("^(javascript|vbscript|jscript|mocha|livescript|ecmascript|mailto|tel):","i");if(!dm.test(dl)){var dj=cv(dp.className,dl,ar(dr,dk),ae.hasNodeAttribute(dp,"download"));if(dj){return{type:dj,href:dl}}}}function aQ(dj,dk,dl,dm){var dn=v.buildInteractionRequestParams(dj,dk,dl,dm); -if(!dn){return}return cr(dn,null,"contentInteraction")}function bc(dj,dk){if(!dj||!dk){return false}var dl=v.findTargetNode(dj);if(v.shouldIgnoreInteraction(dl)){return false}dl=v.findTargetNodeNoDefault(dj);if(dl&&!U(dl,dk)){return false}return true}function cu(dl,dk,dn){if(!dl){return}var dj=v.findParentContentNode(dl);if(!dj){return}if(!bc(dj,dl)){return}var dm=v.buildContentBlock(dj);if(!dm){return}if(!dm.target&&dn){dm.target=dn}return v.buildInteractionRequestParams(dk,dm.name,dm.piece,dm.target)}function aX(dk){if(!cb||!cb.length){return false}var dj,dl;for(dj=0;dj<cb.length;dj++){dl=cb[dj];if(dl&&dl.name===dk.name&&dl.piece===dk.piece&&dl.target===dk.target){return true}}return false}function aY(dj){return function(dn){if(!dj){return}var dl=v.findParentContentNode(dj);var dk;if(dn){dk=dn.target||dn.srcElement}if(!dk){dk=dj}if(!bc(dl,dk)){return}if(!dl){return false}var dp=v.findTargetNode(dl);if(!dp||v.shouldIgnoreInteraction(dp)){return false}var dm=dc(dp);if(c9&&dm&&dm.type){return dm.type -}return bK.trackContentInteractionNode(dk,"click")}}function b2(dl){if(!dl||!dl.length){return}var dj,dk;for(dj=0;dj<dl.length;dj++){dk=v.findTargetNode(dl[dj]);if(dk&&!dk.contentInteractionTrackingSetupDone){dk.contentInteractionTrackingSetupDone=true;an(dk,"click",aY(dk))}}}function bz(dl,dm){if(!dl||!dl.length){return[]}var dj,dk;for(dj=0;dj<dl.length;dj++){if(aX(dl[dj])){dl.splice(dj,1);dj--}else{cb.push(dl[dj])}}if(!dl||!dl.length){return[]}b2(dm);var dn=[];for(dj=0;dj<dl.length;dj++){dk=cr(v.buildImpressionRequestParams(dl[dj].name,dl[dj].piece,dl[dj].target),undefined,"contentImpressions");if(dk){dn.push(dk)}}return dn}function cA(dk){var dj=v.collectContent(dk);return bz(dj,dk)}function ba(dk){if(!dk||!dk.length){return[]}var dj;for(dj=0;dj<dk.length;dj++){if(!v.isNodeVisible(dk[dj])){dk.splice(dj,1);dj--}}if(!dk||!dk.length){return[]}return cA(dk)}function aG(dl,dj,dk){var dm=v.buildImpressionRequestParams(dl,dj,dk);return cr(dm,null,"contentImpression")}function db(dm,dk){if(!dm){return -}var dj=v.findParentContentNode(dm);var dl=v.buildContentBlock(dj);if(!dl){return}if(!dk){dk="Unknown"}return aQ(dk,dl.name,dl.piece,dl.target)}function cQ(dk,dm,dj,dl){return"e_c="+s(dk)+"&e_a="+s(dm)+(J(dj)?"&e_n="+s(dj):"")+(J(dl)?"&e_v="+s(dl):"")+"&ca=1"}function at(dl,dn,dj,dm,dq,dp){if(!Y(dl)||!Y(dn)){ak("Error while logging event: Parameters `category` and `action` must not be empty or filled with whitespaces");return false}var dk=cr(cQ(dl,dn,dj,dm),dq,"event");bH(dk,bL,dp)}function b9(dj,dm,dk,dn){var dl=cr("search="+s(dj)+(dm?"&search_cat="+s(dm):"")+(J(dk)?"&search_count="+dk:""),dn,"sitesearch");bH(dl,bL)}function cU(dj,dn,dm,dl){var dk=cr("idgoal="+dj+(dn?"&revenue="+dn:""),dm,"goal");bH(dk,bL,dl)}function c2(dm,dj,dr,dq,dl){var dp=dj+"="+s(b3(dm));var dk=cu(dl,"click",dm);if(dk){dp+="&"+dk}var dn=cr(dp,dr,"link");bH(dn,bL,dq)}function bV(dk,dj){if(dk!==""){return dk+dj.charAt(0).toUpperCase()+dj.slice(1)}return dj}function ch(dp){var dn,dj,dm=["","webkit","ms","moz"],dl;if(!bf){for(dj=0; -dj<dm.length;dj++){dl=dm[dj];if(Object.prototype.hasOwnProperty.call(G,bV(dl,"hidden"))){if(G[bV(dl,"visibilityState")]==="prerender"){dn=true}break}}}if(dn){an(G,dl+"visibilitychange",function dk(){G.removeEventListener(dl+"visibilitychange",dk,false);dp()});return}dp()}function bt(){var dk=bK.getVisitorId();var dj=aK();return dk+dj}function cj(dj){if(!dj){return}if(!ae.hasNodeAttribute(dj,"href")){return}var dk=ae.getAttributeValueFromNode(dj,"href");if(!dk||aV(dk)){return}if(!bK.getVisitorId()){return}dk=j(dk,av);var dl=bt();dk=F(dk,av,dl);ae.setAnyAttribute(dj,"href",dk)}function bm(dm){var dn=ae.getAttributeValueFromNode(dm,"href");if(!dn){return false}dn=String(dn);var dk=dn.indexOf("//")===0||dn.indexOf("http://")===0||dn.indexOf("https://")===0;if(!dk){return false}var dj=dm.pathname||cl(dm.href);var dl=(dm.hostname||d(dm.href)).toLowerCase();if(ar(dl,dj)){if(!cI(cV,L(dl))){return true}return false}return false}function cH(dj){var dk=dc(dj);if(dk&&dk.type){dk.href=o(dk.href);c2(dk.href,dk.type,undefined,null,dj); -return}if(cO){dj=au(dj);if(bm(dj)){cj(dj)}}}function cw(){return G.all&&!G.addEventListener}function cW(dj){var dl=dj.which;var dk=(typeof dj.button);if(!dl&&dk!=="undefined"){if(cw()){if(dj.button&1){dl=1}else{if(dj.button&2){dl=3}else{if(dj.button&4){dl=2}}}}else{if(dj.button===0||dj.button==="0"){dl=1}else{if(dj.button&1){dl=2}else{if(dj.button&2){dl=3}}}}}return dl}function bU(dj){switch(cW(dj)){case 1:return"left";case 2:return"middle";case 3:return"right"}}function a2(dj){return dj.target||dj.srcElement}function aC(dj){return function(dm){dm=dm||S.event;var dl=bU(dm);var dn=a2(dm);if(dm.type==="click"){var dk=false;if(dj&&dl==="middle"){dk=true}if(dn&&!dk){cH(dn)}}else{if(dm.type==="mousedown"){if(dl==="middle"&&dn){aS=dl;bC=dn}else{aS=bC=null}}else{if(dm.type==="mouseup"){if(dl===aS&&dn===bC){cH(dn)}aS=bC=null}else{if(dm.type==="contextmenu"){cH(dn)}}}}}}function aq(dl,dk){var dj=typeof dk;if(dj==="undefined"){dk=true}an(dl,"click",aC(dk),false);if(dk){an(dl,"mouseup",aC(dk),false); -an(dl,"mousedown",aC(dk),false);an(dl,"contextmenu",aC(dk),false)}}function bF(dl,dn){ap=true;var dm,dk=a1(bB,"ignore"),dp=G.links,dj=null,dq=null;if(dp){for(dm=0;dm<dp.length;dm++){dj=dp[dm];if(!dk.test(dj.className)){dq=typeof dj.matomoTrackers;if("undefined"===dq){dj.matomoTrackers=[]}if(-1===M(dj.matomoTrackers,dn)){dj.matomoTrackers.push(dn);aq(dj,dl)}}}}}function aT(dk,dn,dp){if(cf){return true}cf=true;var dq=false;var dm,dl;function dj(){dq=true}m(function(){function dr(dt){setTimeout(function(){if(!cf){return}dq=false;dp.trackVisibleContentImpressions();dr(dt)},dt)}function ds(dt){setTimeout(function(){if(!cf){return}if(dq){dq=false;dp.trackVisibleContentImpressions()}ds(dt)},dt)}if(dk){dm=["scroll","resize"];for(dl=0;dl<dm.length;dl++){if(G.addEventListener){G.addEventListener(dm[dl],dj,false)}else{S.attachEvent("on"+dm[dl],dj)}}ds(100)}if(dn&&dn>0){dn=parseInt(dn,10);dr(dn)}})}var bE={enabled:true,requests:[],timeout:null,interval:2500,sendRequests:function(){var dj=this.requests; +return true}return false}function aF(){var dk=bn;bn=false;var dj,dl;for(dj=0;dj<bw.length;dj++){dl=aU(bw[dj]);if(dl!==cN&&dl!==be&&0!==aD(dl)){bZ(dl,br,cY)}}bn=dk}function b4(dj){b7=dj}function di(dn){if(!dn||!V(dn)){return}var dm=[];var dl;for(dl in dn){if(Object.prototype.hasOwnProperty.call(dn,dl)){dm.push(dl)}}var dp={};dm.sort();var dj=dm.length;var dk;for(dk=0;dk<dj;dk++){dp[dm[dk]]=dn[dm[dk]]}return dp}function cd(){de(aU("ses"),"1",cn,br,cY,bT,aJ)}function bh(){var dm="";var dk="abcdefghijklmnopqrstuvwxyz0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ";var dl=dk.length;var dj;for(dj=0;dj<6;dj++){dm+=dk.charAt(Math.floor(Math.random()*dl))}return dm}function aA(dk){if(!h){return dk}var dl=(typeof h.timing==="object")&&h.timing?h.timing:undefined;if(!dl){dl=(typeof h.getEntriesByType==="function")&&h.getEntriesByType("navigation")?h.getEntriesByType("navigation")[0]:undefined}if(!dl){return dk}var dj="";if(dl.connectEnd&&dl.fetchStart){if(dl.connectEnd<dl.fetchStart){return}dj+="&pf_net="+Math.round(dl.connectEnd-dl.fetchStart) +}if(dl.responseStart&&dl.requestStart){if(dl.responseStart<dl.requestStart){return}dj+="&pf_srv="+Math.round(dl.responseStart-dl.requestStart)}if(dl.responseStart&&dl.responseEnd){if(dl.responseEnd<dl.responseStart){return}dj+="&pf_tfr="+Math.round(dl.responseEnd-dl.responseStart)}if(J(dl.domLoading)){if(dl.domInteractive&&dl.domLoading){if(dl.domInteractive<dl.domLoading){return}dj+="&pf_dm1="+Math.round(dl.domInteractive-dl.domLoading)}}else{if(dl.domInteractive&&dl.responseEnd){if(dl.domInteractive<dl.responseEnd){return}dj+="&pf_dm1="+Math.round(dl.domInteractive-dl.responseEnd)}}if(dl.domComplete&&dl.domInteractive){if(dl.domComplete<dl.domInteractive){return}dj+="&pf_dm2="+Math.round(dl.domComplete-dl.domInteractive)}if(dl.loadEventEnd&&dl.loadEventStart){if(dl.loadEventEnd<dl.loadEventStart){return}dj+="&pf_onl="+Math.round(dl.loadEventEnd-dl.loadEventStart)}return dk+dj}function cr(dl,dG,dH){var dF,dk=new Date(),dt=Math.round(dk.getTime()/1000),dq,dD,dm=1024,dM,du,dC=aR,dn=aU("ses"),dA=aU("ref"),dx=aU("cvar"),dy=aD(dn),dE=bN(),dI=a5||bO,dr,dj; +if(bn){aF()}if(cR){return""}var dz=aZ();var dw=G.characterSet||G.charset;if(!dw||dw.toLowerCase()==="utf-8"){dw=null}dr=dE[0];dj=dE[1];dq=dE[2];dD=dE[3];if(!dy){if(!bx||!dr.length){for(dF in cp){if(Object.prototype.hasOwnProperty.call(cp,dF)){dr=e(dI,cp[dF]);if(dr.length){break}}}for(dF in bI){if(Object.prototype.hasOwnProperty.call(bI,dF)){dj=e(dI,bI[dF]);if(dj.length){break}}}}dM=d(bp);du=dD.length?d(dD):"";if(dM.length&&!aW(dM)&&(!bx||!du.length||aW(du))){dD=bp}if(dD.length||dr.length){dq=dt;dE=[dr,dj,dq,b3(dD.slice(0,dm))];de(dA,S.JSON.stringify(dE),c6,br,cY,bT,aJ)}}dl+="&idsite="+b7+"&rec=1&r="+String(Math.random()).slice(2,8)+"&h="+dk.getHours()+"&m="+dk.getMinutes()+"&s="+dk.getSeconds()+"&url="+s(b3(dI))+(bp.length?"&urlref="+s(b3(bp)):"")+(Y(bA)?"&uid="+s(bA):"")+"&_id="+dz.uuid+"&_idn="+dz.newVisitor+(dr.length?"&_rcn="+s(dr):"")+(dj.length?"&_rck="+s(dj):"")+"&_refts="+dq+(String(dD).length?"&_ref="+s(b3(dD.slice(0,dm))):"")+(dw?"&cs="+s(dw):"")+"&send_image=0";var dL=cJ();for(dF in dL){if(Object.prototype.hasOwnProperty.call(dL,dF)){dl+="&"+dF+"="+dL[dF] +}}var dK=[];if(dG){for(dF in dG){if(Object.prototype.hasOwnProperty.call(dG,dF)&&/^dimension\d+$/.test(dF)){var dp=dF.replace("dimension","");dK.push(parseInt(dp,10));dK.push(String(dp));dl+="&"+dF+"="+s(dG[dF]);delete dG[dF]}}}if(dG&&B(dG)){dG=null}for(dF in ct){if(Object.prototype.hasOwnProperty.call(ct,dF)){dl+="&"+dF+"="+s(ct[dF])}}for(dF in bo){if(Object.prototype.hasOwnProperty.call(bo,dF)){var dv=(-1===M(dK,dF));if(dv){dl+="&dimension"+dF+"="+s(bo[dF])}}}if(dG){dl+="&data="+s(S.JSON.stringify(dG))}else{if(ao){dl+="&data="+s(S.JSON.stringify(ao))}}function ds(dN,dO){var dP=S.JSON.stringify(dN);if(dP.length>2){return"&"+dO+"="+s(dP)}return""}var dJ=di(bX);var dB=di(cm);dl+=ds(dJ,"cvar");dl+=ds(dB,"e_cvar");if(aR){dl+=ds(aR,"_cvar");for(dF in dC){if(Object.prototype.hasOwnProperty.call(dC,dF)){if(aR[dF][0]===""||aR[dF][1]===""){delete aR[dF]}}}if(bR){de(dx,S.JSON.stringify(aR),cn,br,cY,bT,aJ)}}if(a3&&bG&&!bi){dl=aA(dl);bi=true}if(aM){dl+="&pv_id="+aM}aN(dz);cd();dl+=ac(dH,{tracker:bK,request:dl}); +if(c0.length){dl+="&"+c0}if(A(cc)){dl=cc(dl)}return dl}bS=function a8(){var dj=new Date();dj=dj.getTime();if(!cZ){return false}if(cZ+a6<=dj){bK.ping();return true}return false};function bs(dm,dl,dr,dn,dj,du){var dq="idgoal=0",dk=new Date(),ds=[],dt,dp=String(dm).length;if(dp){dq+="&ec_id="+s(dm)}dq+="&revenue="+dl;if(String(dr).length){dq+="&ec_st="+dr}if(String(dn).length){dq+="&ec_tx="+dn}if(String(dj).length){dq+="&ec_sh="+dj}if(String(du).length){dq+="&ec_dt="+du}if(c1){for(dt in c1){if(Object.prototype.hasOwnProperty.call(c1,dt)){if(!J(c1[dt][1])){c1[dt][1]=""}if(!J(c1[dt][2])){c1[dt][2]=""}if(!J(c1[dt][3])||String(c1[dt][3]).length===0){c1[dt][3]=0}if(!J(c1[dt][4])||String(c1[dt][4]).length===0){c1[dt][4]=1}ds.push(c1[dt])}}dq+="&ec_items="+s(S.JSON.stringify(ds))}dq=cr(dq,ao,"ecommerce");bH(dq,bL);if(dp){c1={}}}function b0(dj,dn,dm,dl,dk,dp){if(String(dj).length&&J(dn)){bs(dj,dn,dm,dl,dk,dp)}}function bu(dj){if(J(dj)){bs("",dj,"","","","")}}function b1(dk,dm,dl){aM=bh();var dj=cr("action_name="+s(al(dk||bk)),dm,"log"); +if(a3&&!bi){dj=aA(dj)}bH(dj,bL,dl)}function a1(dl,dk){var dm,dj="(^| )(piwik[_-]"+dk+"|matomo[_-]"+dk;if(dl){for(dm=0;dm<dl.length;dm++){dj+="|"+dl[dm]}}dj+=")( |$)";return new RegExp(dj)}function aV(dj){return(aE&&dj&&0===String(dj).indexOf(aE))}function cv(dn,dj,dp,dk){if(aV(dj)){return 0}var dm=a1(bM,"download"),dl=a1(a9,"link"),dq=new RegExp("\\.("+c7.join("|")+")([?&#]|$)","i");if(dl.test(dn)){return"link"}if(dk||dm.test(dn)||dq.test(dj)){return"download"}if(dp){return 0}return"link"}function au(dk){var dj;dj=dk.parentNode;while(dj!==null&&J(dj)){if(ae.isLinkElement(dk)){break}dk=dj;dj=dk.parentNode}return dk}function dc(dp){dp=au(dp);if(!ae.hasNodeAttribute(dp,"href")){return}if(!J(dp.href)){return}var dn=ae.getAttributeValueFromNode(dp,"href");var dk=dp.pathname||cl(dp.href);var dq=dp.hostname||d(dp.href);var dr=dq.toLowerCase();var dl=dp.href.replace(dq,dr);var dm=new RegExp("^(javascript|vbscript|jscript|mocha|livescript|ecmascript|mailto|tel):","i");if(!dm.test(dl)){var dj=cv(dp.className,dl,ar(dr,dk),ae.hasNodeAttribute(dp,"download")); +if(dj){return{type:dj,href:dl}}}}function aQ(dj,dk,dl,dm){var dn=v.buildInteractionRequestParams(dj,dk,dl,dm);if(!dn){return}return cr(dn,null,"contentInteraction")}function bc(dj,dk){if(!dj||!dk){return false}var dl=v.findTargetNode(dj);if(v.shouldIgnoreInteraction(dl)){return false}dl=v.findTargetNodeNoDefault(dj);if(dl&&!U(dl,dk)){return false}return true}function cu(dl,dk,dn){if(!dl){return}var dj=v.findParentContentNode(dl);if(!dj){return}if(!bc(dj,dl)){return}var dm=v.buildContentBlock(dj);if(!dm){return}if(!dm.target&&dn){dm.target=dn}return v.buildInteractionRequestParams(dk,dm.name,dm.piece,dm.target)}function aX(dk){if(!cb||!cb.length){return false}var dj,dl;for(dj=0;dj<cb.length;dj++){dl=cb[dj];if(dl&&dl.name===dk.name&&dl.piece===dk.piece&&dl.target===dk.target){return true}}return false}function aY(dj){return function(dn){if(!dj){return}var dl=v.findParentContentNode(dj);var dk;if(dn){dk=dn.target||dn.srcElement}if(!dk){dk=dj}if(!bc(dl,dk)){return}if(!dl){return false}var dp=v.findTargetNode(dl); +if(!dp||v.shouldIgnoreInteraction(dp)){return false}var dm=dc(dp);if(c9&&dm&&dm.type){return dm.type}return bK.trackContentInteractionNode(dk,"click")}}function b2(dl){if(!dl||!dl.length){return}var dj,dk;for(dj=0;dj<dl.length;dj++){dk=v.findTargetNode(dl[dj]);if(dk&&!dk.contentInteractionTrackingSetupDone){dk.contentInteractionTrackingSetupDone=true;an(dk,"click",aY(dk))}}}function bz(dl,dm){if(!dl||!dl.length){return[]}var dj,dk;for(dj=0;dj<dl.length;dj++){if(aX(dl[dj])){dl.splice(dj,1);dj--}else{cb.push(dl[dj])}}if(!dl||!dl.length){return[]}b2(dm);var dn=[];for(dj=0;dj<dl.length;dj++){dk=cr(v.buildImpressionRequestParams(dl[dj].name,dl[dj].piece,dl[dj].target),undefined,"contentImpressions");if(dk){dn.push(dk)}}return dn}function cA(dk){var dj=v.collectContent(dk);return bz(dj,dk)}function ba(dk){if(!dk||!dk.length){return[]}var dj;for(dj=0;dj<dk.length;dj++){if(!v.isNodeVisible(dk[dj])){dk.splice(dj,1);dj--}}if(!dk||!dk.length){return[]}return cA(dk)}function aG(dl,dj,dk){var dm=v.buildImpressionRequestParams(dl,dj,dk); +return cr(dm,null,"contentImpression")}function db(dm,dk){if(!dm){return}var dj=v.findParentContentNode(dm);var dl=v.buildContentBlock(dj);if(!dl){return}if(!dk){dk="Unknown"}return aQ(dk,dl.name,dl.piece,dl.target)}function cQ(dk,dm,dj,dl){return"e_c="+s(dk)+"&e_a="+s(dm)+(J(dj)?"&e_n="+s(dj):"")+(J(dl)?"&e_v="+s(dl):"")+"&ca=1"}function at(dl,dn,dj,dm,dq,dp){if(!Y(dl)||!Y(dn)){ak("Error while logging event: Parameters `category` and `action` must not be empty or filled with whitespaces");return false}var dk=cr(cQ(dl,dn,dj,dm),dq,"event");bH(dk,bL,dp)}function b9(dj,dm,dk,dn){var dl=cr("search="+s(dj)+(dm?"&search_cat="+s(dm):"")+(J(dk)?"&search_count="+dk:""),dn,"sitesearch");bH(dl,bL)}function cU(dj,dn,dm,dl){var dk=cr("idgoal="+dj+(dn?"&revenue="+dn:""),dm,"goal");bH(dk,bL,dl)}function c2(dm,dj,dr,dq,dl){var dp=dj+"="+s(b3(dm));var dk=cu(dl,"click",dm);if(dk){dp+="&"+dk}var dn=cr(dp,dr,"link");bH(dn,bL,dq)}function bV(dk,dj){if(dk!==""){return dk+dj.charAt(0).toUpperCase()+dj.slice(1) +}return dj}function ch(dp){var dn,dj,dm=["","webkit","ms","moz"],dl;if(!bf){for(dj=0;dj<dm.length;dj++){dl=dm[dj];if(Object.prototype.hasOwnProperty.call(G,bV(dl,"hidden"))){if(G[bV(dl,"visibilityState")]==="prerender"){dn=true}break}}}if(dn){an(G,dl+"visibilitychange",function dk(){G.removeEventListener(dl+"visibilitychange",dk,false);dp()});return}dp()}function bt(){var dk=bK.getVisitorId();var dj=aK();return dk+dj}function cj(dj){if(!dj){return}if(!ae.hasNodeAttribute(dj,"href")){return}var dk=ae.getAttributeValueFromNode(dj,"href");if(!dk||aV(dk)){return}if(!bK.getVisitorId()){return}dk=j(dk,av);var dl=bt();dk=F(dk,av,dl);ae.setAnyAttribute(dj,"href",dk)}function bm(dm){var dn=ae.getAttributeValueFromNode(dm,"href");if(!dn){return false}dn=String(dn);var dk=dn.indexOf("//")===0||dn.indexOf("http://")===0||dn.indexOf("https://")===0;if(!dk){return false}var dj=dm.pathname||cl(dm.href);var dl=(dm.hostname||d(dm.href)).toLowerCase();if(ar(dl,dj)){if(!cI(cV,L(dl))){return true}return false +}return false}function cH(dj){var dk=dc(dj);if(dk&&dk.type){dk.href=o(dk.href);c2(dk.href,dk.type,undefined,null,dj);return}if(cO){dj=au(dj);if(bm(dj)){cj(dj)}}}function cw(){return G.all&&!G.addEventListener}function cW(dj){var dl=dj.which;var dk=(typeof dj.button);if(!dl&&dk!=="undefined"){if(cw()){if(dj.button&1){dl=1}else{if(dj.button&2){dl=3}else{if(dj.button&4){dl=2}}}}else{if(dj.button===0||dj.button==="0"){dl=1}else{if(dj.button&1){dl=2}else{if(dj.button&2){dl=3}}}}}return dl}function bU(dj){switch(cW(dj)){case 1:return"left";case 2:return"middle";case 3:return"right"}}function a2(dj){return dj.target||dj.srcElement}function aC(dj){return function(dm){dm=dm||S.event;var dl=bU(dm);var dn=a2(dm);if(dm.type==="click"){var dk=false;if(dj&&dl==="middle"){dk=true}if(dn&&!dk){cH(dn)}}else{if(dm.type==="mousedown"){if(dl==="middle"&&dn){aS=dl;bC=dn}else{aS=bC=null}}else{if(dm.type==="mouseup"){if(dl===aS&&dn===bC){cH(dn)}aS=bC=null}else{if(dm.type==="contextmenu"){cH(dn)}}}}}}function aq(dl,dk){var dj=typeof dk; +if(dj==="undefined"){dk=true}an(dl,"click",aC(dk),false);if(dk){an(dl,"mouseup",aC(dk),false);an(dl,"mousedown",aC(dk),false);an(dl,"contextmenu",aC(dk),false)}}function bF(dl,dn){ap=true;var dm,dk=a1(bB,"ignore"),dp=G.links,dj=null,dq=null;if(dp){for(dm=0;dm<dp.length;dm++){dj=dp[dm];if(!dk.test(dj.className)){dq=typeof dj.matomoTrackers;if("undefined"===dq){dj.matomoTrackers=[]}if(-1===M(dj.matomoTrackers,dn)){dj.matomoTrackers.push(dn);aq(dj,dl)}}}}}function aT(dk,dn,dp){if(cf){return true}cf=true;var dq=false;var dm,dl;function dj(){dq=true}m(function(){function dr(dt){setTimeout(function(){if(!cf){return}dq=false;dp.trackVisibleContentImpressions();dr(dt)},dt)}function ds(dt){setTimeout(function(){if(!cf){return}if(dq){dq=false;dp.trackVisibleContentImpressions()}ds(dt)},dt)}if(dk){dm=["scroll","resize"];for(dl=0;dl<dm.length;dl++){if(G.addEventListener){G.addEventListener(dm[dl],dj,false)}else{S.attachEvent("on"+dm[dl],dj)}}ds(100)}if(dn&&dn>0){dn=parseInt(dn,10);dr(dn)}})}var bE={enabled:true,requests:[],timeout:null,interval:2500,sendRequests:function(){var dj=this.requests; this.requests=[];if(dj.length===1){bH(dj[0],bL)}else{df(dj,bL)}},canQueue:function(){return !l&&this.enabled},pushMultiple:function(dk){if(!this.canQueue()){df(dk,bL);return}var dj;for(dj=0;dj<dk.length;dj++){this.push(dk[dj])}},push:function(dj){if(!dj){return}if(!this.canQueue()){bH(dj,bL);return}bE.requests.push(dj);if(this.timeout){clearTimeout(this.timeout);this.timeout=null}this.timeout=setTimeout(function(){bE.timeout=null;bE.sendRequests()},bE.interval);var dk="RequestQueue"+ax;if(!Object.prototype.hasOwnProperty.call(b,dk)){b[dk]={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 cP()};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(dj){aE=dj};this.getTrackerUrl=function(){return aE};this.getMatomoUrl=function(){return W(this.getTrackerUrl(),bJ)};this.getPiwikUrl=function(){return this.getMatomoUrl()};this.addTracker=function(dl,dk){if(!J(dl)||null===dl){dl=this.getTrackerUrl()}var dj=new P(dl,dk);I.push(dj);t.trigger("TrackerAdded",[this]);return dj};this.getSiteId=function(){return b7};this.setSiteId=function(dj){b4(dj)};this.resetUserId=function(){bA=""};this.setUserId=function(dj){if(Y(dj)){bA=dj}};this.setVisitorId=function(dk){var dj=/[0-9A-Fa-f]{16}/g;if(w(dk)&&dj.test(dk)){bP=dk}else{ak("Invalid visitorId set"+dk)}};this.getUserId=function(){return bA};this.setCustomData=function(dj,dk){if(V(dj)){ao=dj}else{if(!ao){ao={}}ao[dj]=dk}};this.getCustomData=function(){return ao};this.setCustomRequestProcessing=function(dj){cc=dj};this.appendToTrackingUrl=function(dj){c0=dj};this.getRequest=function(dj){return cr(dj)};this.addPlugin=function(dj,dk){b[dj]=dk};this.setCustomDimension=function(dj,dk){dj=parseInt(dj,10); if(dj>0){if(!J(dk)){dk=""}if(!w(dk)){dk=String(dk)}bo[dj]=dk}};this.getCustomDimension=function(dj){dj=parseInt(dj,10);if(dj>0&&Object.prototype.hasOwnProperty.call(bo,dj)){return bo[dj]}};this.deleteCustomDimension=function(dj){dj=parseInt(dj,10);if(dj>0){delete bo[dj]}};this.setCustomVariable=function(dk,dj,dn,dl){var dm;if(!J(dl)){dl="visit"}if(!J(dj)){return}if(!J(dn)){dn=""}if(dk>0){dj=!w(dj)?String(dj):dj;dn=!w(dn)?String(dn):dn;dm=[dj.slice(0,bv),dn.slice(0,bv)];if(dl==="visit"||dl===2){cG();aR[dk]=dm}else{if(dl==="page"||dl===3){bX[dk]=dm}else{if(dl==="event"){cm[dk]=dm}}}}};this.getCustomVariable=function(dk,dl){var dj;if(!J(dl)){dl="visit"}if(dl==="page"||dl===3){dj=bX[dk]}else{if(dl==="event"){dj=cm[dk]}else{if(dl==="visit"||dl===2){cG();dj=aR[dk]}}}if(!J(dj)||(dj&&dj[0]==="")){return false}return dj};this.deleteCustomVariable=function(dj,dk){if(this.getCustomVariable(dj,dk)){this.setCustomVariable(dj,"","",dk)}};this.deleteCustomVariables=function(dj){if(dj==="page"||dj===3){bX={} |