diff options
Diffstat (limited to 'piwik.js')
-rw-r--r-- | piwik.js | 49 |
1 files changed, 25 insertions, 24 deletions
@@ -27,29 +27,30 @@ if(Q.hasNodeAttributeWithValue(W,"href")){X=Q.getAttributeValueFromNode(W,"href" }}}var ac=Q.findNodesByTagName(aa,"embed");if(ac&&ac.length){return this.findMediaUrlInNode(ac[0])}}},trim:function(W){if(W&&String(W)===W){return W.replace(/^\s+|\s+$/g,"")}return W},isOrWasNodeInViewport:function(ab){if(!ab||!ab.getBoundingClientRect||ab.nodeType!==1){return true}var aa=ab.getBoundingClientRect();var Z=u.documentElement||{};var Y=aa.top<0;if(Y&&ab.offsetTop){Y=(ab.offsetTop+aa.height)>0}var X=Z.clientWidth;if(G.innerWidth&&X>G.innerWidth){X=G.innerWidth}var W=Z.clientHeight;if(G.innerHeight&&W>G.innerHeight){W=G.innerHeight}return((aa.bottom>0||Y)&&aa.right>0&&aa.left<X&&((aa.top<W)||Y))},isNodeVisible:function(X){var W=g(X);var Y=this.isOrWasNodeInViewport(X);return W&&Y},buildInteractionRequestParams:function(W,X,Y,Z){var aa="";if(W){aa+="c_i="+l(W)}if(X){if(aa){aa+="&"}aa+="c_n="+l(X)}if(Y){if(aa){aa+="&"}aa+="c_p="+l(Y)}if(Z){if(aa){aa+="&"}aa+="c_t="+l(Z)}return aa},buildImpressionRequestParams:function(W,X,Y){var Z="c_n="+l(W)+"&c_p="+l(X);if(Y){Z+="&c_t="+l(Y)}return Z },buildContentBlock:function(Y){if(!Y){return}var W=this.findContentName(Y);var X=this.findContentPiece(Y);var Z=this.findContentTarget(Y);W=this.trim(W);X=this.trim(X);Z=this.trim(Z);return{name:W||"Unknown",piece:X||"Unknown",target:Z||""}},collectContent:function(Z){if(!Z||!Z.length){return[]}var Y=[];var W,X;for(W=0;W<Z.length;W++){X=this.buildContentBlock(Z[W]);if(w(X)){Y.push(X)}}return Y},setLocation:function(W){this.location=W},getLocation:function(){var W=this.location||G.location;if(!W.origin){W.origin=W.protocol+"//"+W.hostname+(W.port?":"+W.port:"")}return W},toAbsoluteUrl:function(X){if((!X||String(X)!==X)&&X!==""){return X}if(""===X){return this.getLocation().href}if(X.search(/^\/\//)!==-1){return this.getLocation().protocol+X}if(X.search(/:\/\//)!==-1){return X}if(0===X.indexOf("#")){return this.getLocation().origin+this.getLocation().pathname+X}if(0===X.indexOf("?")){return this.getLocation().origin+this.getLocation().pathname+X}if(0===X.search("^[a-zA-Z]{2,11}:")){return X }if(X.search(/^\//)!==-1){return this.getLocation().origin+X}var W="(.*/)";var Y=this.getLocation().origin+this.getLocation().pathname.match(new RegExp(W))[0];return Y+X},isUrlToCurrentDomain:function(X){var Y=this.toAbsoluteUrl(X);if(!Y){return false}var W=this.getLocation().origin;if(W===Y){return true}if(0===String(Y).indexOf(W)){if(":"===String(Y).substr(W.length,1)){return false}return true}return false},setHrefAttribute:function(X,W){if(!X||!W){return}Q.setAnyAttribute(X,"href",W)},shouldIgnoreInteraction:function(Y){var X=Q.hasNodeAttribute(Y,this.CONTENT_IGNOREINTERACTION_ATTR);var W=Q.hasNodeCssClass(Y,this.CONTENT_IGNOREINTERACTION_CLASS);return X||W}};function B(W,X){if(X){return X}if(W.slice(-9)==="piwik.php"){W=W.slice(0,W.length-9)}return W}function A(aa){var W="Piwik_Overlay";var ad=new RegExp("index\\.php\\?module=Overlay&action=startOverlaySession&idSite=([0-9]+)&period=([^&]+)&date=([^&]+)$");var Y=ad.exec(u.referrer);if(Y){var Z=Y[1];if(Z!==String(aa)){return false}var ac=Y[2],X=Y[3]; -G.name=W+"###"+ac+"###"+X}var ab=G.name.split("###");return ab.length===3&&ab[0]===W}function M(X,ac,Z){var ab=G.name.split("###"),aa=ab[1],W=ab[2],Y=B(X,ac);i(Y+"plugins/Overlay/client/client.js?v=1",function(){Piwik_Overlay_Client.initialize(Y,Z,aa,W)})}function D(aG,bq){var ad=N(u.domain,G.location.href,x()),bQ=y(ad[0]),cb=F(ad[1]),by=F(ad[2]),cf=false,bu="GET",bw=bu,bf="application/x-www-form-urlencoded; charset=UTF-8",aN=bf,aa=aG||"",ax="",bs="",bX=bq||"",aM="",a5="",ba,aV=u.title,aX=["7z","aac","apk","arc","arj","asf","asx","avi","azw3","bin","csv","deb","dmg","doc","docx","epub","exe","flv","gif","gz","gzip","hqx","ibooks","jar","jpg","jpeg","js","mobi","mp2","mp3","mp4","mpg","mpeg","mov","movie","msi","msp","odb","odf","odg","ods","odt","ogg","ogv","pdf","phps","png","ppt","pptx","qt","qtm","ra","ram","rar","rpm","sea","sit","tar","tbz","tbz2","bz","bz2","tgz","torrent","txt","wav","wma","wmv","wpd","xls","xlsx","xml","z","zip"],bt=[bQ],ai=[],bj=[],aE=[],br=500,aj,aI,ak,an,a1=["pk_campaign","piwik_campaign","utm_campaign","utm_source","utm_medium"],aS=["pk_kwd","piwik_kwd","utm_term"],b9="_pk_",aq,ca,ao=false,b1,a3,a8,aw=33955200000,aB=1800000,bd=15768000000,a4=true,aK=0,a9=false,ag=false,au,bk={},ab={},b2=200,bJ={},bY={},ah=[],az=false,bc=false,bD=false,bZ=false,bA=false,bx,bn,at,a0=T,bC; -function bL(co,cl,ck,cn,cj,cm){if(ao){return}var ci;if(ck){ci=new Date();ci.setTime(ci.getTime()+ck)}u.cookie=co+"="+l(cl)+(ck?";expires="+ci.toGMTString():"")+";path="+(cn||"/")+(cj?";domain="+cj:"")+(cm?";secure":"")}function av(ck){if(ao){return 0}var ci=new RegExp("(^|;)[ ]*"+ck+"=([^;]*)"),cj=ci.exec(u.cookie);return cj?F(cj[2]):0}function b4(ci){var cj;if(ak){cj=new RegExp("#.*");return ci.replace(cj,"")}return ci}function bP(ck,ci){var cl=k(ci),cj;if(cl){return ci}if(ci.slice(0,1)==="/"){return k(ck)+"://"+c(ck)+ci}ck=b4(ck);cj=ck.indexOf("?");if(cj>=0){ck=ck.slice(0,cj)}cj=ck.lastIndexOf("/");if(cj!==ck.length-1){ck=ck.slice(0,cj+1)}return ck+ci}function bv(cl){var cj,ci,ck;for(cj=0;cj<bt.length;cj++){ci=y(bt[cj].toLowerCase());if(cl===ci){return true}if(ci.slice(0,1)==="."){if(cl===ci.slice(1)){return true}ck=cl.length-ci.length;if((ck>0)&&(cl.slice(ck)===ci)){return true}}}return false}function ch(ci,ck){var cj=new Image(1,1);cj.onload=function(){t=0;if(typeof ck==="function"){ck() -}};cj.src=aa+(aa.indexOf("?")<0?"?":"&")+ci}function bM(cj,cm,ci){if(!w(ci)||null===ci){ci=true}try{var cl=G.XMLHttpRequest?new G.XMLHttpRequest():G.ActiveXObject?new ActiveXObject("Microsoft.XMLHTTP"):null;cl.open("POST",aa,true);cl.onreadystatechange=function(){if(this.readyState===4&&!(this.status>=200&&this.status<300)&&ci){ch(cj,cm)}else{if(typeof cm==="function"){cm()}}};cl.setRequestHeader("Content-Type",aN);cl.send(cj)}catch(ck){if(ci){ch(cj,cm)}}}function b5(cj){var ci=new Date();var ck=ci.getTime()+cj;if(!j||ck>j){j=ck}}function aF(cm){var cj=new Date();var ci=cj.getTime();if(bc&&ci<bc){var ck=bc-ci;setTimeout(cm,ck);b5(ck+50);bc+=50;return}if(bc===false){var cl=800;bc=ci+cl}cm()}function a2(cj,ci,ck){if(!b1&&cj){aF(function(){if(bw==="POST"){bM(cj,ck)}else{ch(cj,ck)}b5(ci)})}}function be(ci){if(b1){return false}return(ci&&ci.length)}function ap(ck,ci){if(!be(ck)){return}var cj='{"requests":["?'+ck.join('","?')+'"]}';aF(function(){bM(cj,null,false);b5(ci)})}function bK(ci){return b9+ci+"."+bX+"."+bC -}function ae(){if(ao){return"0"}if(!w(e.cookieEnabled)){var ci=bK("testcookie");bL(ci,"1");return av(ci)==="1"?"1":"0"}return e.cookieEnabled?"1":"0"}function bo(){bC=a0((aq||bQ)+(ca||"/")).slice(0,4)}function ar(){var cj=bK("cvar"),ci=av(cj);if(ci.length){ci=JSON2.parse(ci);if(J(ci)){return ci}}return{}}function Z(){if(ag===false){ag=ar()}}function bV(){var ci=new Date();bx=ci.getTime()}function b7(){return a0((e.userAgent||"")+(e.platform||"")+JSON2.stringify(bY)+(new Date()).getTime()+Math.random()).slice(0,16)}function Y(){var ck=new Date(),ci=Math.round(ck.getTime()/1000),cj=bK("id"),cn=av(cj),cm,cl;if(cn){cm=cn.split(".");cm.unshift("0");if(a5.length){cm[1]=a5}return cm}if(a5.length){cl=a5}else{if("0"===ae()){cl=""}else{cl=b7()}}cm=["1",cl,ci,0,ci,"",""];return cm}function bF(){var cp=Y(),cl=cp[0],cm=cp[1],cj=cp[2],ci=cp[3],cn=cp[4],ck=cp[5];if(!w(cp[6])){cp[6]=""}var co=cp[6];return{newVisitor:cl,uuid:cm,createTs:cj,visitCount:ci,currentVisitTs:cn,lastVisitTs:ck,lastEcommerceOrderTs:co} -}function aO(){var cl=new Date(),cj=cl.getTime(),cm=bF().createTs;var ci=parseInt(cm,10);var ck=(ci*1000)+aw-cj;return ck}function am(ci){if(!bX){return}var ck=new Date(),cj=Math.round(ck.getTime()/1000);if(!w(ci)){ci=bF()}var cl=ci.uuid+"."+ci.createTs+"."+ci.visitCount+"."+cj+"."+ci.lastVisitTs+"."+ci.lastEcommerceOrderTs;bL(bK("id"),cl,aO(),ca,aq)}function X(){var ci=av(bK("ref"));if(ci.length){try{ci=JSON2.parse(ci);if(J(ci)){return ci}}catch(cj){}}return["","",0,""]}function bW(ck,cj,ci){bL(ck,"",-86400,cj,ci)}function bi(cj){var ci="testvalue";bL("test",ci,10000,null,cj);if(av("test")===ci){bW("test",null,cj);return true}return false}function W(){var ck=ao;ao=false;var ci=["id","ses","cvar","ref"];var cj,cl;for(cj=0;cj<ci.length;cj++){cl=bK(ci[cj]);if(0!==av(cl)){bW(cl,ca,aq)}}ao=ck}function ce(ci){bX=ci;am()}function bU(cm){if(!cm||!J(cm)){return}var cl=[];var ck;for(ck in cm){if(Object.prototype.hasOwnProperty.call(cm,ck)){cl.push(ck)}}var cn={};cl.sort();var ci=cl.length;var cj; -for(cj=0;cj<ci;cj++){cn[cl[cj]]=cm[cl[cj]]}return cn}function a7(){bL(bK("ses"),"*",aB,ca,aq)}function aW(ck,cD,cE,cl){var cC,cj=new Date(),cr=Math.round(cj.getTime()/1000),co,cB,cm=1024,cI,cs,cz=ag,cn=bK("ses"),cx=bK("ref"),cu=bK("cvar"),cv=av(cn),cA=X(),cG=ba||cb,cp,ci;if(ao){W()}if(b1){return""}var cw=bF();if(!w(cl)){cl=""}var ct=u.characterSet||u.charset;if(!ct||ct.toLowerCase()==="utf-8"){ct=null}cp=cA[0];ci=cA[1];co=cA[2];cB=cA[3];if(!cv){var cF=aB/1000;if(!cw.lastVisitTs||(cr-cw.lastVisitTs)>cF){cw.visitCount++;cw.lastVisitTs=cw.currentVisitTs}if(!a8||!cp.length){for(cC in a1){if(Object.prototype.hasOwnProperty.call(a1,cC)){cp=I(cG,a1[cC]);if(cp.length){break}}}for(cC in aS){if(Object.prototype.hasOwnProperty.call(aS,cC)){ci=I(cG,aS[cC]);if(ci.length){break}}}}cI=c(by);cs=cB.length?c(cB):"";if(cI.length&&!bv(cI)&&(!a8||!cs.length||bv(cs))){cB=by}if(cB.length||cp.length){co=cr;cA=[cp,ci,co,b4(cB.slice(0,cm))];bL(cx,JSON2.stringify(cA),bd,ca,aq)}}ck+="&idsite="+bX+"&rec=1&r="+String(Math.random()).slice(2,8)+"&h="+cj.getHours()+"&m="+cj.getMinutes()+"&s="+cj.getSeconds()+"&url="+l(b4(cG))+(by.length?"&urlref="+l(b4(by)):"")+((aM&&aM.length)?"&uid="+l(aM):"")+"&_id="+cw.uuid+"&_idts="+cw.createTs+"&_idvc="+cw.visitCount+"&_idn="+cw.newVisitor+(cp.length?"&_rcn="+l(cp):"")+(ci.length?"&_rck="+l(ci):"")+"&_refts="+co+"&_viewts="+cw.lastVisitTs+(String(cw.lastEcommerceOrderTs).length?"&_ects="+cw.lastEcommerceOrderTs:"")+(String(cB).length?"&_ref="+l(b4(cB.slice(0,cm))):"")+(ct?"&cs="+l(ct):"")+"&send_image=0"; -for(cC in bY){if(Object.prototype.hasOwnProperty.call(bY,cC)){ck+="&"+cC+"="+bY[cC]}}if(cD){ck+="&data="+l(JSON2.stringify(cD))}else{if(an){ck+="&data="+l(JSON2.stringify(an))}}function cq(cJ,cK){var cL=JSON2.stringify(cJ);if(cL.length>2){return"&"+cK+"="+l(cL)}return""}var cH=bU(bk);var cy=bU(ab);ck+=cq(cH,"cvar");ck+=cq(cy,"e_cvar");if(ag){ck+=cq(ag,"_cvar");for(cC in cz){if(Object.prototype.hasOwnProperty.call(cz,cC)){if(ag[cC][0]===""||ag[cC][1]===""){delete ag[cC]}}}if(a9){bL(cu,JSON2.stringify(ag),aB,ca,aq)}}if(a4){if(aK){ck+=">_ms="+aK}else{if(f&&f.timing&&f.timing.requestStart&&f.timing.responseEnd){ck+=">_ms="+(f.timing.responseEnd-f.timing.requestStart)}}}cw.lastEcommerceOrderTs=w(cl)&&String(cl).length?cl:cw.lastEcommerceOrderTs;am(cw);a7();ck+=O(cE);if(bs.length){ck+="&"+bs}if(q(au)){ck=au(ck)}return ck}function bO(cl,ck,cp,cm,ci,cs){var cn="idgoal=0",co,cj=new Date(),cq=[],cr;if(String(cl).length){cn+="&ec_id="+l(cl);co=Math.round(cj.getTime()/1000)}cn+="&revenue="+ck;if(String(cp).length){cn+="&ec_st="+cp -}if(String(cm).length){cn+="&ec_tx="+cm}if(String(ci).length){cn+="&ec_sh="+ci}if(String(cs).length){cn+="&ec_dt="+cs}if(bJ){for(cr in bJ){if(Object.prototype.hasOwnProperty.call(bJ,cr)){if(!w(bJ[cr][1])){bJ[cr][1]=""}if(!w(bJ[cr][2])){bJ[cr][2]=""}if(!w(bJ[cr][3])||String(bJ[cr][3]).length===0){bJ[cr][3]=0}if(!w(bJ[cr][4])||String(bJ[cr][4]).length===0){bJ[cr][4]=1}cq.push(bJ[cr])}}cn+="&ec_items="+l(JSON2.stringify(cq))}cn=aW(cn,an,"ecommerce",co);a2(cn,br)}function bN(ci,cm,cl,ck,cj,cn){if(String(ci).length&&w(cm)){bO(ci,cm,cl,ck,cj,cn)}}function b8(ci){if(w(ci)){bO("",ci,"","","","")}}function bh(cl,cm){var ci=new Date(),ck=aW("action_name="+l(V(cl||aV)),cm,"log");a2(ck,br);if(aj&&aI&&!bA){bA=true;U(u,"click",bV);U(u,"mouseup",bV);U(u,"mousedown",bV);U(u,"mousemove",bV);U(u,"mousewheel",bV);U(G,"DOMMouseScroll",bV);U(G,"scroll",bV);U(u,"keypress",bV);U(u,"keydown",bV);U(u,"keyup",bV);U(G,"resize",bV);U(G,"focus",bV);U(G,"blur",bV);bx=ci.getTime();setTimeout(function cj(){var cn;ci=new Date(); -if((bx+aI)>ci.getTime()){if(aj<ci.getTime()){cn=aW("ping=1",cm,"ping");a2(cn,br)}setTimeout(cj,aI)}},aI)}}function aJ(ck,cj){var cl,ci="(^| )(piwik[_-]"+cj;if(ck){for(cl=0;cl<ck.length;cl++){ci+="|"+ck[cl]}}ci+=")( |$)";return new RegExp(ci)}function bH(ci){return(aa&&ci&&0===String(ci).indexOf(aa))}function bT(cm,ci,cn,cj){if(bH(ci)){return 0}var cl=aJ(bj,"download"),ck=aJ(aE,"link"),co=new RegExp("\\.("+aX.join("|")+")([?&#]|$)","i");if(ck.test(cm)){return"link"}if(cj||cl.test(cm)||co.test(ci)){return"download"}if(cn){return 0}return"link"}function bb(cj){var ci;ci=cj.parentNode;while(ci!==null&&w(ci)){if(Q.isLinkElement(cj)){break}cj=ci;ci=cj.parentNode}return cj}function bm(cm){cm=bb(cm);if(!Q.hasNodeAttribute(cm,"href")){return}if(!w(cm.href)){return}var cl=Q.getAttributeValueFromNode(cm,"href");if(bH(cl)){return}var cn=cm.hostname||c(cm.href);var co=cn.toLowerCase();var cj=cm.href.replace(cn,co);var ck=new RegExp("^(javascript|vbscript|jscript|mocha|livescript|ecmascript|mailto):","i"); -if(!ck.test(cj)){var ci=bT(cm.className,cj,bv(co),Q.hasNodeAttribute(cm,"download"));if(ci){return{type:ci,href:cj}}}}function cd(ci,cj,ck,cl){var cm=m.buildInteractionRequestParams(ci,cj,ck,cl);if(!cm){return}return aW(cm,null,"contentInteraction")}function cc(ck,cl,cp,ci,cj){if(!w(ck)){return}if(bH(ck)){return ck}var cn=m.toAbsoluteUrl(ck);var cm="redirecturl="+l(cn)+"&";cm+=cd(cl,cp,ci,(cj||ck));var co="&";if(aa.indexOf("?")<0){co="?"}return aa+co+cm}function a6(ci,cj){if(!ci||!cj){return false}var ck=m.findTargetNode(ci);if(m.shouldIgnoreInteraction(ck)){return false}ck=m.findTargetNodeNoDefault(ci);if(ck&&!H(ck,cj)){return false}return true}function aU(ck,cj,cm){if(!ck){return}var ci=m.findParentContentNode(ck);if(!ci){return}if(!a6(ci,ck)){return}var cl=m.buildContentBlock(ci);if(!cl){return}if(!cl.target&&cm){cl.target=cm}return m.buildInteractionRequestParams(cj,cl.name,cl.piece,cl.target)}function aR(cj){if(!ah||!ah.length){return false}var ci,ck;for(ci=0;ci<ah.length;ci++){ck=ah[ci]; -if(ck&&ck.name===cj.name&&ck.piece===cj.piece&&ck.target===cj.target){return true}}return false}function ac(cl){if(!cl){return false}var co=m.findTargetNode(cl);if(!co||m.shouldIgnoreInteraction(co)){return false}var cp=bm(co);if(bZ&&cp&&cp.type){return false}if(Q.isLinkElement(co)&&Q.hasNodeAttributeWithValue(co,"href")){var ci=String(Q.getAttributeValueFromNode(co,"href"));if(0===ci.indexOf("#")){return false}if(bH(ci)){return true}if(!m.isUrlToCurrentDomain(ci)){return false}var cm=m.buildContentBlock(cl);if(!cm){return}var ck=cm.name;var cq=cm.piece;var cn=cm.target;if(!Q.hasNodeAttributeWithValue(co,m.CONTENT_TARGET_ATTR)||co.wasContentTargetAttrReplaced){co.wasContentTargetAttrReplaced=true;cn=m.toAbsoluteUrl(ci);Q.setAnyAttribute(co,m.CONTENT_TARGET_ATTR,cn)}var cj=cc(ci,"click",ck,cq,cn);m.setHrefAttribute(co,cj);return true}return false}function af(cj){if(!cj||!cj.length){return}var ci;for(ci=0;ci<cj.length;ci++){ac(cj[ci])}}function bl(ci){return function(cj){if(!ci){return}var cm=m.findParentContentNode(ci); -var cn;if(cj){cn=cj.target||cj.srcElement}if(!cn){cn=ci}if(!a6(cm,cn)){return}b5(br);if(Q.isLinkElement(ci)&&Q.hasNodeAttributeWithValue(ci,"href")&&Q.hasNodeAttributeWithValue(ci,m.CONTENT_TARGET_ATTR)){var ck=Q.getAttributeValueFromNode(ci,"href");if(!bH(ck)&&ci.wasContentTargetAttrReplaced){Q.setAnyAttribute(ci,m.CONTENT_TARGET_ATTR,"")}}var cr=bm(ci);if(bD&&cr&&cr.type){return cr.type}if(ac(cm)){return"href"}var co=m.buildContentBlock(cm);if(!co){return}var cl=co.name;var cs=co.piece;var cq=co.target;var cp=cd("click",cl,cs,cq);a2(cp,br);return cp}}function aH(ck){if(!ck||!ck.length){return}var ci,cj;for(ci=0;ci<ck.length;ci++){cj=m.findTargetNode(ck[ci]);if(cj&&!cj.contentInteractionTrackingSetupDone){cj.contentInteractionTrackingSetupDone=true;U(cj,"click",bl(cj))}}}function aD(ck,cl){if(!ck||!ck.length){return[]}var ci,cj;for(ci=0;ci<ck.length;ci++){if(aR(ck[ci])){ck.splice(ci,1);ci--}else{ah.push(ck[ci])}}if(!ck||!ck.length){return[]}af(cl);aH(cl);var cm=[];for(ci=0;ci<ck.length; -ci++){cj=aW(m.buildImpressionRequestParams(ck[ci].name,ck[ci].piece,ck[ci].target),undefined,"contentImpressions");cm.push(cj)}return cm}function aZ(cj){var ci=m.collectContent(cj);return aD(ci,cj)}function bG(cj){if(!cj||!cj.length){return[]}var ci;for(ci=0;ci<cj.length;ci++){if(!m.isNodeVisible(cj[ci])){cj.splice(ci,1);ci--}}if(!cj||!cj.length){return[]}return aZ(cj)}function bR(ck,ci,cj){var cl=m.buildImpressionRequestParams(ck,ci,cj);return aW(cl,null,"contentImpression")}function aY(cl,cj){if(!cl){return}var ci=m.findParentContentNode(cl);var ck=m.buildContentBlock(ci);if(!ck){return}if(!cj){cj="Unknown"}return cd(cj,ck.name,ck.piece,ck.target)}function bB(cj,cl,ci,ck){return"e_c="+l(cj)+"&e_a="+l(cl)+(w(ci)?"&e_n="+l(ci):"")+(w(ck)?"&e_v="+l(ck):"")}function al(ck,cm,ci,cl,cn){if(String(ck).length===0||String(cm).length===0){return false}var cj=aW(bB(ck,cm,ci,cl),cn,"event");a2(cj,br)}function aQ(ci,cl,cj,cm){var ck=aW("search="+l(ci)+(cl?"&search_cat="+l(cl):"")+(w(cj)?"&search_count="+cj:""),cm,"sitesearch"); -a2(ck,br)}function bp(ci,cl,ck){var cj=aW("idgoal="+ci+(cl?"&revenue="+cl:""),ck,"goal");a2(cj,br)}function bS(cl,ci,cp,co,ck){var cn=ci+"="+l(b4(cl));var cj=aU(ck,"click",cl);if(cj){cn+="&"+cj}var cm=aW(cn,cp,"link");a2(cm,(co?0:br),co)}function b0(cj,ci){if(cj!==""){return cj+ci.charAt(0).toUpperCase()+ci.slice(1)}return ci}function aP(cn){var cm,ci,cl=["","webkit","ms","moz"],ck;if(!a3){for(ci=0;ci<cl.length;ci++){ck=cl[ci];if(Object.prototype.hasOwnProperty.call(u,b0(ck,"hidden"))){if(u[b0(ck,"visibilityState")]==="prerender"){cm=true}break}}}if(cm){U(u,ck+"visibilitychange",function cj(){u.removeEventListener(ck+"visibilitychange",cj,false);cn()});return}cn()}function aT(ci){if(u.readyState==="complete"){ci()}else{if(G.addEventListener){G.addEventListener("load",ci)}else{if(G.attachEvent){G.attachEvent("onLoad",ci)}}}}function aC(cj){var ci=false;if(u.attachEvent){ci=u.readyState==="complete"}else{ci=u.readyState!=="loading"}if(ci){cj()}else{if(u.addEventListener){u.addEventListener("DOMContentLoaded",cj) -}else{if(u.attachEvent){u.attachEvent("onreadystatechange",cj)}}}}function bI(ci){var cj=bm(ci);if(cj&&cj.type){cj.href=F(cj.href);bS(cj.href,cj.type,undefined,null,ci)}}function aL(){return u.all&&!u.addEventListener}function aA(ci){var ck=ci.which;var cj=(typeof ci.button);if(!ck&&cj!=="undefined"){if(aL()){if(ci.button&1){ck=1}else{if(ci.button&2){ck=3}else{if(ci.button&4){ck=2}}}}else{if(ci.button===0||ci.button==="0"){ck=1}else{if(ci.button&1){ck=2}else{if(ci.button&2){ck=3}}}}}return ck}function ay(ci){switch(aA(ci)){case 1:return"left";case 2:return"middle";case 3:return"right"}}function b3(ci){return ci.target||ci.srcElement}function cg(ci){return function(cl){cl=cl||G.event;var ck=ay(cl);var cm=b3(cl);if(cl.type==="click"){var cj=false;if(ci&&ck==="middle"){cj=true}if(cm&&!cj){bI(cm)}}else{if(cl.type==="mousedown"){if(ck==="middle"&&cm){bn=ck;at=cm}else{bn=at=null}}else{if(cl.type==="mouseup"){if(ck===bn&&cm===at){bI(cm)}bn=at=null}else{if(cl.type==="contextmenu"){bI(cm)}}}}}}function bE(cj,ci){U(cj,"click",cg(ci),false); -if(ci){U(cj,"mouseup",cg(ci),false);U(cj,"mousedown",cg(ci),false);U(cj,"contextmenu",cg(ci),false)}}function bg(cj){if(!bD){bD=true;var ck,ci=aJ(ai,"ignore"),cl=u.links;if(cl){for(ck=0;ck<cl.length;ck++){if(!ci.test(cl[ck].className)){bE(cl[ck],cj)}}}}}function bz(ck,cm,cn){if(az){return true}az=true;var co=false;var cl,cj;function ci(){co=true}aT(function(){function cp(cr){setTimeout(function(){if(!az){return}co=false;cn.trackVisibleContentImpressions();cp(cr)},cr)}function cq(cr){setTimeout(function(){if(!az){return}if(co){co=false;cn.trackVisibleContentImpressions()}cq(cr)},cr)}if(ck){cl=["scroll","resize"];for(cj=0;cj<cl.length;cj++){if(u.addEventListener){u.addEventListener(cl[cj],ci)}else{G.attachEvent("on"+cl[cj],ci)}}cq(100)}if(cm&&cm>0){cm=parseInt(cm,10);cp(cm)}})}function b6(){var cj,ck,cl={pdf:"application/pdf",qt:"video/quicktime",realp:"audio/x-pn-realaudio-plugin",wma:"application/x-mplayer2",dir:"application/x-director",fla:"application/x-shockwave-flash",java:"application/x-java-vm",gears:"application/x-googlegears",ag:"application/x-silverlight"},ci=G.devicePixelRatio||1; -if(!((new RegExp("MSIE")).test(e.userAgent))){if(e.mimeTypes&&e.mimeTypes.length){for(cj in cl){if(Object.prototype.hasOwnProperty.call(cl,cj)){ck=e.mimeTypes[cl[cj]];bY[cj]=(ck&&ck.enabledPlugin)?"1":"0"}}}if(typeof navigator.javaEnabled!=="unknown"&&w(e.javaEnabled)&&e.javaEnabled()){bY.java="1"}if(q(G.GearsFactory)){bY.gears="1"}bY.cookie=ae()}bY.res=K.width*ci+"x"+K.height*ci}b6();bo();am();return{getVisitorId:function(){return bF().uuid},getVisitorInfo:function(){return Y()},getAttributionInfo:function(){return X()},getAttributionCampaignName:function(){return X()[0]},getAttributionCampaignKeyword:function(){return X()[1]},getAttributionReferrerTimestamp:function(){return X()[2]},getAttributionReferrerUrl:function(){return X()[3]},setTrackerUrl:function(ci){aa=ci},getTrackerUrl:function(){return aa},getSiteId:function(){return bX},setSiteId:function(ci){ce(ci)},setUserId:function(ci){if(!w(ci)||!ci.length){return}aM=ci;a5=a0(aM).substr(0,16)},getUserId:function(){return aM},setCustomData:function(ci,cj){if(J(ci)){an=ci -}else{if(!an){an={}}an[ci]=cj}},getCustomData:function(){return an},setCustomRequestProcessing:function(ci){au=ci},appendToTrackingUrl:function(ci){bs=ci},getRequest:function(ci){return aW(ci)},addPlugin:function(ci,cj){a[ci]=cj},setCustomVariable:function(cj,ci,cm,ck){var cl;if(!w(ck)){ck="visit"}if(!w(ci)){return}if(!w(cm)){cm=""}if(cj>0){ci=!n(ci)?String(ci):ci;cm=!n(cm)?String(cm):cm;cl=[ci.slice(0,b2),cm.slice(0,b2)];if(ck==="visit"||ck===2){Z();ag[cj]=cl}else{if(ck==="page"||ck===3){bk[cj]=cl}else{if(ck==="event"){ab[cj]=cl}}}}},getCustomVariable:function(cj,ck){var ci;if(!w(ck)){ck="visit"}if(ck==="page"||ck===3){ci=bk[cj]}else{if(ck==="event"){ci=ab[cj]}else{if(ck==="visit"||ck===2){Z();ci=ag[cj]}}}if(!w(ci)||(ci&&ci[0]==="")){return false}return ci},deleteCustomVariable:function(ci,cj){if(this.getCustomVariable(ci,cj)){this.setCustomVariable(ci,"","",cj)}},storeCustomVariablesInCookie:function(){a9=true},setLinkTrackingTimer:function(ci){br=ci},setDownloadExtensions:function(ci){if(n(ci)){ci=ci.split("|") -}aX=ci},addDownloadExtensions:function(cj){var ci;if(n(cj)){cj=cj.split("|")}for(ci=0;ci<cj.length;ci++){aX.push(cj[ci])}},removeDownloadExtensions:function(ck){var cj,ci=[];if(n(ck)){ck=ck.split("|")}for(cj=0;cj<aX.length;cj++){if(z(ck,aX[cj])===-1){ci.push(aX[cj])}}aX=ci},setDomains:function(ci){bt=n(ci)?[ci]:ci;bt.push(bQ)},setIgnoreClasses:function(ci){ai=n(ci)?[ci]:ci},setRequestMethod:function(ci){bw=ci||bu},setRequestContentType:function(ci){aN=ci||bf},setReferrerUrl:function(ci){by=ci},setCustomUrl:function(ci){ba=bP(cb,ci)},setDocumentTitle:function(ci){aV=ci},setAPIUrl:function(ci){ax=ci},setDownloadClasses:function(ci){bj=n(ci)?[ci]:ci},setLinkClasses:function(ci){aE=n(ci)?[ci]:ci},setCampaignNameKey:function(ci){a1=n(ci)?[ci]:ci},setCampaignKeywordKey:function(ci){aS=n(ci)?[ci]:ci},discardHashTag:function(ci){ak=ci},setCookieNamePrefix:function(ci){b9=ci;ag=ar()},setCookieDomain:function(ci){var cj=y(ci);if(bi(cj)){aq=cj;bo()}},setCookiePath:function(ci){ca=ci;bo()},setVisitorCookieTimeout:function(ci){aw=ci*1000 -},setSessionCookieTimeout:function(ci){aB=ci*1000},setReferralCookieTimeout:function(ci){bd=ci*1000},setConversionAttributionFirstReferrer:function(ci){a8=ci},disableCookies:function(){ao=true;bY.cookie="0";if(bX){W()}},deleteCookies:function(){W()},setDoNotTrack:function(cj){var ci=e.doNotTrack||e.msDoNotTrack;b1=cj&&(ci==="yes"||ci==="1");if(b1){this.disableCookies()}},addListener:function(cj,ci){bE(cj,ci)},enableLinkTracking:function(ci){bZ=true;if(p){bg(ci)}else{E.push(function(){bg(ci)})}},enableJSErrorTracking:function(){if(cf){return}cf=true;var ci=G.onerror;G.onerror=function(cn,cl,ck,cm,cj){aP(function(){var co="JavaScript Errors";var cp=cl+":"+ck;if(cm){cp+=":"+cm}al(co,cp,cn)});if(ci){return ci(cn,cl,ck,cm,cj)}return false}},disablePerformanceTracking:function(){a4=false},setGenerationTimeMs:function(ci){aK=parseInt(ci,10)},setHeartBeatTimer:function(ck,cj){var ci=new Date();aj=ci.getTime()+ck*1000;aI=cj*1000},killFrame:function(){if(G.location!==G.top.location){G.top.location=G.location -}},redirectFile:function(ci){if(G.location.protocol==="file:"){G.location=ci}},setCountPreRendered:function(ci){a3=ci},trackGoal:function(ci,ck,cj){aP(function(){bp(ci,ck,cj)})},trackLink:function(cj,ci,cl,ck){aP(function(){bS(cj,ci,cl,ck)})},trackPageView:function(ci,cj){ah=[];if(A(bX)){aP(function(){M(aa,ax,bX)})}else{aP(function(){bh(ci,cj)})}},trackAllContentImpressions:function(){if(A(bX)){return}aP(function(){aC(function(){var ci=m.findContentNodes();var cj=aZ(ci);ap(cj,br)})})},trackVisibleContentImpressions:function(ci,cj){if(A(bX)){return}if(!w(ci)){ci=true}if(!w(cj)){cj=750}bz(ci,cj,this);aP(function(){aT(function(){var ck=m.findContentNodes();var cl=bG(ck);ap(cl,br)})})},trackContentImpression:function(ck,ci,cj){if(A(bX)){return}if(!ck){return}ci=ci||"Unknown";aP(function(){var cl=bR(ck,ci,cj);a2(cl,br)})},trackContentImpressionsWithinNode:function(ci){if(A(bX)||!ci){return}aP(function(){if(az){aT(function(){var cj=m.findContentNodesWithinNode(ci);var ck=bG(cj);ap(ck,br)})}else{aC(function(){var cj=m.findContentNodesWithinNode(ci); -var ck=aZ(cj);ap(ck,br)})}})},trackContentInteraction:function(ck,cl,ci,cj){if(A(bX)){return}if(!ck||!cl){return}ci=ci||"Unknown";aP(function(){var cm=cd(ck,cl,ci,cj);a2(cm,br)})},trackContentInteractionNode:function(cj,ci){if(A(bX)||!cj){return}aP(function(){var ck=aY(cj,ci);a2(ck,br)})},trackEvent:function(cj,cl,ci,ck){aP(function(){al(cj,cl,ci,ck)})},trackSiteSearch:function(ci,ck,cj){aP(function(){aQ(ci,ck,cj)})},setEcommerceView:function(cl,ci,ck,cj){if(!w(ck)||!ck.length){ck=""}else{if(ck instanceof Array){ck=JSON2.stringify(ck)}}bk[5]=["_pkc",ck];if(w(cj)&&String(cj).length){bk[2]=["_pkp",cj]}if((!w(cl)||!cl.length)&&(!w(ci)||!ci.length)){return}if(w(cl)&&cl.length){bk[3]=["_pks",cl]}if(!w(ci)||!ci.length){ci=""}bk[4]=["_pkn",ci]},addEcommerceItem:function(cm,ci,ck,cj,cl){if(cm.length){bJ[cm]=[cm,ci,ck,cj,cl]}},trackEcommerceOrder:function(ci,cm,cl,ck,cj,cn){bN(ci,cm,cl,ck,cj,cn)},trackEcommerceCartUpdate:function(ci){b8(ci)}}}function v(){return{push:R}}function b(ab,aa){var ac={}; -var Y,Z;for(Y=0;Y<aa.length;Y++){var W=aa[Y];ac[W]=1;for(Z=0;Z<ab.length;Z++){if(ab[Z]&&ab[Z][0]){var X=ab[Z][0];if(W===X){R(ab[Z]);delete ab[Z];if(ac[X]>1){if(console!==undefined&&console&&console.error){console.error("The method "+X+' is registered more than once in "paq" variable. Only the last call has an effect. Please have a look at the multiple Piwik trackers documentation: http://developer.piwik.org/guides/tracking-javascript-guide#multiple-piwik-trackers')}}ac[X]++}}}}return ab}U(G,"beforeunload",S,false);o();Date.prototype.getTimeAlias=Date.prototype.getTime;L=new D();var r=["disableCookies","setTrackerUrl","setAPIUrl","setUserId","setSiteId","enableLinkTracking"];_paq=b(_paq,r);for(t=0;t<_paq.length;t++){if(_paq[t]){R(_paq[t])}}_paq=new v();d={addPlugin:function(W,X){a[W]=X},getTracker:function(W,X){if(!w(X)){X=this.getAsyncTracker().getSiteId()}if(!w(W)){W=this.getAsyncTracker().getTrackerUrl()}return new D(W,X)},getAsyncTracker:function(){return L}};if(typeof define==="function"&&define.amd){define("piwik",[],function(){return d -})}return d}())}if(window&&window.piwikAsyncInit){window.piwikAsyncInit()}(function(){var a=(typeof AnalyticsTracker);if(a==="undefined"){AnalyticsTracker=Piwik}}());if(typeof piwik_log!=="function"){piwik_log=function(b,f,d,g){function a(h){try{return eval("piwik_"+h)}catch(i){}return}var c,e=Piwik.getTracker(d,f);e.setDocumentTitle(b);e.setCustomData(g);c=a("tracker_pause");if(c){e.setLinkTrackingTimer(c)}c=a("download_extensions");if(c){e.setDownloadExtensions(c)}c=a("hosts_alias");if(c){e.setDomains(c)}c=a("ignore_classes");if(c){e.setIgnoreClasses(c)}e.trackPageView();if(a("install_tracker")){piwik_track=function(i,k,j,h){e.setSiteId(k);e.setTrackerUrl(j);e.trackLink(i,h)};e.enableLinkTracking()}}; +G.name=W+"###"+ac+"###"+X}var ab=G.name.split("###");return ab.length===3&&ab[0]===W}function M(X,ac,Z){var ab=G.name.split("###"),aa=ab[1],W=ab[2],Y=B(X,ac);i(Y+"plugins/Overlay/client/client.js?v=1",function(){Piwik_Overlay_Client.initialize(Y,Z,aa,W)})}function D(aI,bw){var ad=N(u.domain,G.location.href,x()),bW=y(ad[0]),cg=F(ad[1]),bE=F(ad[2]),ck=false,bA="GET",bC=bA,bi="application/x-www-form-urlencoded; charset=UTF-8",aO=bi,aa=aI||"",ay="",by="",b2=bw||"",aN="",a6="",bc,aW=u.title,aY=["7z","aac","apk","arc","arj","asf","asx","avi","azw3","bin","csv","deb","dmg","doc","docx","epub","exe","flv","gif","gz","gzip","hqx","ibooks","jar","jpg","jpeg","js","mobi","mp2","mp3","mp4","mpg","mpeg","mov","movie","msi","msp","odb","odf","odg","ods","odt","ogg","ogv","pdf","phps","png","ppt","pptx","qt","qtm","ra","ram","rar","rpm","sea","sit","tar","tbz","tbz2","bz","bz2","tgz","torrent","txt","wav","wma","wmv","wpd","xls","xlsx","xml","z","zip"],bz=[bW],aj=[],bn=[],aG=[],bx=500,ak,ah,bp,al,ao,a2=["pk_campaign","piwik_campaign","utm_campaign","utm_source","utm_medium"],aT=["pk_kwd","piwik_kwd","utm_term"],ce="_pk_",ar,cf,ap=false,b6,a4,a9,ax=33955200000,aD=1800000,bg=15768000000,a5=true,aL=0,bb=false,ag=false,av,bo={},ab={},b7=200,bP={},b3={},ai=[],aA=false,bf=false,bI=false,b4=false,bL=false,bm=null,ba,bs,au,a1=T,bH; +function bR(ct,cq,cp,cs,co,cr){if(ap){return}var cn;if(cp){cn=new Date();cn.setTime(cn.getTime()+cp)}u.cookie=ct+"="+l(cq)+(cp?";expires="+cn.toGMTString():"")+";path="+(cs||"/")+(co?";domain="+co:"")+(cr?";secure":"")}function aw(cp){if(ap){return 0}var cn=new RegExp("(^|;)[ ]*"+cp+"=([^;]*)"),co=cn.exec(u.cookie);return co?F(co[2]):0}function ca(cn){var co;if(al){co=new RegExp("#.*");return cn.replace(co,"")}return cn}function bV(cp,cn){var cq=k(cn),co;if(cq){return cn}if(cn.slice(0,1)==="/"){return k(cp)+"://"+c(cp)+cn}cp=ca(cp);co=cp.indexOf("?");if(co>=0){cp=cp.slice(0,co)}co=cp.lastIndexOf("/");if(co!==cp.length-1){cp=cp.slice(0,co+1)}return cp+cn}function bB(cq){var co,cn,cp;for(co=0;co<bz.length;co++){cn=y(bz[co].toLowerCase());if(cq===cn){return true}if(cn.slice(0,1)==="."){if(cq===cn.slice(1)){return true}cp=cq.length-cn.length;if((cp>0)&&(cq.slice(cp)===cn)){return true}}}return false}function cm(cn,cp){var co=new Image(1,1);co.onload=function(){t=0;if(typeof cp==="function"){cp() +}};co.src=aa+(aa.indexOf("?")<0?"?":"&")+cn}function bS(co,cr,cn){if(!w(cn)||null===cn){cn=true}try{var cq=G.XMLHttpRequest?new G.XMLHttpRequest():G.ActiveXObject?new ActiveXObject("Microsoft.XMLHTTP"):null;cq.open("POST",aa,true);cq.onreadystatechange=function(){if(this.readyState===4&&!(this.status>=200&&this.status<300)&&cn){cm(co,cr)}else{if(typeof cr==="function"){cr()}}};cq.setRequestHeader("Content-Type",aO);cq.send(co)}catch(cp){if(cn){cm(co,cr)}}}function b9(co){var cn=new Date();var cp=cn.getTime()+co;if(!j||cp>j){j=cp}}function aB(cn){if(ba||!ah){return}ba=setTimeout(function co(){ba=null;if(bp()){return}var cp=new Date(),cq=ah-(cp.getTime()-bm);cq=Math.min(ah,cq);aB(cq)},cn||ah)}function bd(){if(!ba){return}clearTimeout(ba);ba=null}function bD(){if(bL||!ah){return}bL=true;U(G,"focus",function co(){if(bp()){return}aB()});U(G,"blur",function cn(){bd()});aB()}function aH(cr){var co=new Date();var cn=co.getTime();bm=cn;if(bf&&cn<bf){var cp=bf-cn;setTimeout(cr,cp);b9(cp+50);bf+=50; +return}if(bf===false){var cq=800;bf=cn+cq}cr()}function a3(co,cn,cp){if(!b6&&co){aH(function(){if(bC==="POST"){bS(co,cp)}else{cm(co,cp)}b9(cn)})}if(!bL){bD()}else{aB()}}function bh(cn){if(b6){return false}return(cn&&cn.length)}function aq(cp,cn){if(!bh(cp)){return}var co='{"requests":["?'+cp.join('","?')+'"]}';aH(function(){bS(co,null,false);b9(cn)})}function bQ(cn){return ce+cn+"."+b2+"."+bH}function ae(){if(ap){return"0"}if(!w(e.cookieEnabled)){var cn=bQ("testcookie");bR(cn,"1");return aw(cn)==="1"?"1":"0"}return e.cookieEnabled?"1":"0"}function bt(){bH=a1((ar||bW)+(cf||"/")).slice(0,4)}function at(){var co=bQ("cvar"),cn=aw(co);if(cn.length){cn=JSON2.parse(cn);if(J(cn)){return cn}}return{}}function Z(){if(ag===false){ag=at()}}function cc(){return a1((e.userAgent||"")+(e.platform||"")+JSON2.stringify(b3)+(new Date()).getTime()+Math.random()).slice(0,16)}function Y(){var cp=new Date(),cn=Math.round(cp.getTime()/1000),co=bQ("id"),cs=aw(co),cr,cq;if(cs){cr=cs.split(".");cr.unshift("0");if(a6.length){cr[1]=a6 +}return cr}if(a6.length){cq=a6}else{if("0"===ae()){cq=""}else{cq=cc()}}cr=["1",cq,cn,0,cn,"",""];return cr}function bK(){var cu=Y(),cq=cu[0],cr=cu[1],co=cu[2],cn=cu[3],cs=cu[4],cp=cu[5];if(!w(cu[6])){cu[6]=""}var ct=cu[6];return{newVisitor:cq,uuid:cr,createTs:co,visitCount:cn,currentVisitTs:cs,lastVisitTs:cp,lastEcommerceOrderTs:ct}}function aP(){var cq=new Date(),co=cq.getTime(),cr=bK().createTs;var cn=parseInt(cr,10);var cp=(cn*1000)+ax-co;return cp}function an(cn){if(!b2){return}var cp=new Date(),co=Math.round(cp.getTime()/1000);if(!w(cn)){cn=bK()}var cq=cn.uuid+"."+cn.createTs+"."+cn.visitCount+"."+co+"."+cn.lastVisitTs+"."+cn.lastEcommerceOrderTs;bR(bQ("id"),cq,aP(),cf,ar)}function X(){var cn=aw(bQ("ref"));if(cn.length){try{cn=JSON2.parse(cn);if(J(cn)){return cn}}catch(co){}}return["","",0,""]}function b1(cp,co,cn){bR(cp,"",-86400,co,cn)}function bl(co){var cn="testvalue";bR("test",cn,10000,null,co);if(aw("test")===cn){b1("test",null,co);return true}return false}function W(){var cp=ap; +ap=false;var cn=["id","ses","cvar","ref"];var co,cq;for(co=0;co<cn.length;co++){cq=bQ(cn[co]);if(0!==aw(cq)){b1(cq,cf,ar)}}ap=cp}function cj(cn){b2=cn;an()}function b0(cr){if(!cr||!J(cr)){return}var cq=[];var cp;for(cp in cr){if(Object.prototype.hasOwnProperty.call(cr,cp)){cq.push(cp)}}var cs={};cq.sort();var cn=cq.length;var co;for(co=0;co<cn;co++){cs[cq[co]]=cr[cq[co]]}return cs}function a8(){bR(bQ("ses"),"*",aD,cf,ar)}function aX(cp,cI,cJ,cq){var cH,co=new Date(),cw=Math.round(co.getTime()/1000),ct,cG,cr=1024,cN,cx,cE=ag,cs=bQ("ses"),cC=bQ("ref"),cz=bQ("cvar"),cA=aw(cs),cF=X(),cL=bc||cg,cu,cn;if(ap){W()}if(b6){return""}var cB=bK();if(!w(cq)){cq=""}var cy=u.characterSet||u.charset;if(!cy||cy.toLowerCase()==="utf-8"){cy=null}cu=cF[0];cn=cF[1];ct=cF[2];cG=cF[3];if(!cA){var cK=aD/1000;if(!cB.lastVisitTs||(cw-cB.lastVisitTs)>cK){cB.visitCount++;cB.lastVisitTs=cB.currentVisitTs}if(!a9||!cu.length){for(cH in a2){if(Object.prototype.hasOwnProperty.call(a2,cH)){cu=I(cL,a2[cH]);if(cu.length){break +}}}for(cH in aT){if(Object.prototype.hasOwnProperty.call(aT,cH)){cn=I(cL,aT[cH]);if(cn.length){break}}}}cN=c(bE);cx=cG.length?c(cG):"";if(cN.length&&!bB(cN)&&(!a9||!cx.length||bB(cx))){cG=bE}if(cG.length||cu.length){ct=cw;cF=[cu,cn,ct,ca(cG.slice(0,cr))];bR(cC,JSON2.stringify(cF),bg,cf,ar)}}cp+="&idsite="+b2+"&rec=1&r="+String(Math.random()).slice(2,8)+"&h="+co.getHours()+"&m="+co.getMinutes()+"&s="+co.getSeconds()+"&url="+l(ca(cL))+(bE.length?"&urlref="+l(ca(bE)):"")+((aN&&aN.length)?"&uid="+l(aN):"")+"&_id="+cB.uuid+"&_idts="+cB.createTs+"&_idvc="+cB.visitCount+"&_idn="+cB.newVisitor+(cu.length?"&_rcn="+l(cu):"")+(cn.length?"&_rck="+l(cn):"")+"&_refts="+ct+"&_viewts="+cB.lastVisitTs+(String(cB.lastEcommerceOrderTs).length?"&_ects="+cB.lastEcommerceOrderTs:"")+(String(cG).length?"&_ref="+l(ca(cG.slice(0,cr))):"")+(cy?"&cs="+l(cy):"")+"&send_image=0";for(cH in b3){if(Object.prototype.hasOwnProperty.call(b3,cH)){cp+="&"+cH+"="+b3[cH]}}if(cI){cp+="&data="+l(JSON2.stringify(cI))}else{if(ao){cp+="&data="+l(JSON2.stringify(ao)) +}}function cv(cO,cP){var cQ=JSON2.stringify(cO);if(cQ.length>2){return"&"+cP+"="+l(cQ)}return""}var cM=b0(bo);var cD=b0(ab);cp+=cv(cM,"cvar");cp+=cv(cD,"e_cvar");if(ag){cp+=cv(ag,"_cvar");for(cH in cE){if(Object.prototype.hasOwnProperty.call(cE,cH)){if(ag[cH][0]===""||ag[cH][1]===""){delete ag[cH]}}}if(bb){bR(cz,JSON2.stringify(ag),aD,cf,ar)}}if(a5){if(aL){cp+=">_ms="+aL}else{if(f&&f.timing&&f.timing.requestStart&&f.timing.responseEnd){cp+=">_ms="+(f.timing.responseEnd-f.timing.requestStart)}}}cB.lastEcommerceOrderTs=w(cq)&&String(cq).length?cq:cB.lastEcommerceOrderTs;an(cB);a8();cp+=O(cJ);if(by.length){cp+="&"+by}if(q(av)){cp=av(cp)}return cp}bp=function bu(){var cn=new Date();if(bm+ah<=cn.getTime()){var co=aX("ping=1",null,"ping");a3(co,bx);return true}return false};function bU(cq,cp,cu,cr,cn,cx){var cs="idgoal=0",ct,co=new Date(),cv=[],cw;if(String(cq).length){cs+="&ec_id="+l(cq);ct=Math.round(co.getTime()/1000)}cs+="&revenue="+cp;if(String(cu).length){cs+="&ec_st="+cu}if(String(cr).length){cs+="&ec_tx="+cr +}if(String(cn).length){cs+="&ec_sh="+cn}if(String(cx).length){cs+="&ec_dt="+cx}if(bP){for(cw in bP){if(Object.prototype.hasOwnProperty.call(bP,cw)){if(!w(bP[cw][1])){bP[cw][1]=""}if(!w(bP[cw][2])){bP[cw][2]=""}if(!w(bP[cw][3])||String(bP[cw][3]).length===0){bP[cw][3]=0}if(!w(bP[cw][4])||String(bP[cw][4]).length===0){bP[cw][4]=1}cv.push(bP[cw])}}cs+="&ec_items="+l(JSON2.stringify(cv))}cs=aX(cs,ao,"ecommerce",ct);a3(cs,bx)}function bT(cn,cr,cq,cp,co,cs){if(String(cn).length&&w(cr)){bU(cn,cr,cq,cp,co,cs)}}function cd(cn){if(w(cn)){bU("",cn,"","","","")}}function bk(cp,cq){var cn=new Date(),co=aX("action_name="+l(V(cp||aW)),cq,"log");a3(co,bx)}function aK(cp,co){var cq,cn="(^| )(piwik[_-]"+co;if(cp){for(cq=0;cq<cp.length;cq++){cn+="|"+cp[cq]}}cn+=")( |$)";return new RegExp(cn)}function bN(cn){return(aa&&cn&&0===String(cn).indexOf(aa))}function bZ(cr,cn,cs,co){if(bN(cn)){return 0}var cq=aK(bn,"download"),cp=aK(aG,"link"),ct=new RegExp("\\.("+aY.join("|")+")([?&#]|$)","i");if(cp.test(cr)){return"link" +}if(co||cq.test(cr)||ct.test(cn)){return"download"}if(cs){return 0}return"link"}function be(co){var cn;cn=co.parentNode;while(cn!==null&&w(cn)){if(Q.isLinkElement(co)){break}co=cn;cn=co.parentNode}return co}function br(cr){cr=be(cr);if(!Q.hasNodeAttribute(cr,"href")){return}if(!w(cr.href)){return}var cq=Q.getAttributeValueFromNode(cr,"href");if(bN(cq)){return}var cs=cr.hostname||c(cr.href);var ct=cs.toLowerCase();var co=cr.href.replace(cs,ct);var cp=new RegExp("^(javascript|vbscript|jscript|mocha|livescript|ecmascript|mailto):","i");if(!cp.test(co)){var cn=bZ(cr.className,co,bB(ct),Q.hasNodeAttribute(cr,"download"));if(cn){return{type:cn,href:co}}}}function ci(cn,co,cp,cq){var cr=m.buildInteractionRequestParams(cn,co,cp,cq);if(!cr){return}return aX(cr,null,"contentInteraction")}function ch(cp,cq,cu,cn,co){if(!w(cp)){return}if(bN(cp)){return cp}var cs=m.toAbsoluteUrl(cp);var cr="redirecturl="+l(cs)+"&";cr+=ci(cq,cu,cn,(co||cp));var ct="&";if(aa.indexOf("?")<0){ct="?"}return aa+ct+cr}function a7(cn,co){if(!cn||!co){return false +}var cp=m.findTargetNode(cn);if(m.shouldIgnoreInteraction(cp)){return false}cp=m.findTargetNodeNoDefault(cn);if(cp&&!H(cp,co)){return false}return true}function aV(cp,co,cr){if(!cp){return}var cn=m.findParentContentNode(cp);if(!cn){return}if(!a7(cn,cp)){return}var cq=m.buildContentBlock(cn);if(!cq){return}if(!cq.target&&cr){cq.target=cr}return m.buildInteractionRequestParams(co,cq.name,cq.piece,cq.target)}function aS(co){if(!ai||!ai.length){return false}var cn,cp;for(cn=0;cn<ai.length;cn++){cp=ai[cn];if(cp&&cp.name===co.name&&cp.piece===co.piece&&cp.target===co.target){return true}}return false}function ac(cq){if(!cq){return false}var ct=m.findTargetNode(cq);if(!ct||m.shouldIgnoreInteraction(ct)){return false}var cu=br(ct);if(b4&&cu&&cu.type){return false}if(Q.isLinkElement(ct)&&Q.hasNodeAttributeWithValue(ct,"href")){var cn=String(Q.getAttributeValueFromNode(ct,"href"));if(0===cn.indexOf("#")){return false}if(bN(cn)){return true}if(!m.isUrlToCurrentDomain(cn)){return false}var cr=m.buildContentBlock(cq); +if(!cr){return}var cp=cr.name;var cv=cr.piece;var cs=cr.target;if(!Q.hasNodeAttributeWithValue(ct,m.CONTENT_TARGET_ATTR)||ct.wasContentTargetAttrReplaced){ct.wasContentTargetAttrReplaced=true;cs=m.toAbsoluteUrl(cn);Q.setAnyAttribute(ct,m.CONTENT_TARGET_ATTR,cs)}var co=ch(cn,"click",cp,cv,cs);m.setHrefAttribute(ct,co);return true}return false}function af(co){if(!co||!co.length){return}var cn;for(cn=0;cn<co.length;cn++){ac(co[cn])}}function bq(cn){return function(co){if(!cn){return}var cr=m.findParentContentNode(cn);var cs;if(co){cs=co.target||co.srcElement}if(!cs){cs=cn}if(!a7(cr,cs)){return}b9(bx);if(Q.isLinkElement(cn)&&Q.hasNodeAttributeWithValue(cn,"href")&&Q.hasNodeAttributeWithValue(cn,m.CONTENT_TARGET_ATTR)){var cp=Q.getAttributeValueFromNode(cn,"href");if(!bN(cp)&&cn.wasContentTargetAttrReplaced){Q.setAnyAttribute(cn,m.CONTENT_TARGET_ATTR,"")}}var cw=br(cn);if(bI&&cw&&cw.type){return cw.type}if(ac(cr)){return"href"}var ct=m.buildContentBlock(cr);if(!ct){return}var cq=ct.name;var cx=ct.piece; +var cv=ct.target;var cu=ci("click",cq,cx,cv);a3(cu,bx);return cu}}function aJ(cp){if(!cp||!cp.length){return}var cn,co;for(cn=0;cn<cp.length;cn++){co=m.findTargetNode(cp[cn]);if(co&&!co.contentInteractionTrackingSetupDone){co.contentInteractionTrackingSetupDone=true;U(co,"click",bq(co))}}}function aF(cp,cq){if(!cp||!cp.length){return[]}var cn,co;for(cn=0;cn<cp.length;cn++){if(aS(cp[cn])){cp.splice(cn,1);cn--}else{ai.push(cp[cn])}}if(!cp||!cp.length){return[]}af(cq);aJ(cq);var cr=[];for(cn=0;cn<cp.length;cn++){co=aX(m.buildImpressionRequestParams(cp[cn].name,cp[cn].piece,cp[cn].target),undefined,"contentImpressions");cr.push(co)}return cr}function a0(co){var cn=m.collectContent(co);return aF(cn,co)}function bM(co){if(!co||!co.length){return[]}var cn;for(cn=0;cn<co.length;cn++){if(!m.isNodeVisible(co[cn])){co.splice(cn,1);cn--}}if(!co||!co.length){return[]}return a0(co)}function bX(cp,cn,co){var cq=m.buildImpressionRequestParams(cp,cn,co);return aX(cq,null,"contentImpression")}function aZ(cq,co){if(!cq){return +}var cn=m.findParentContentNode(cq);var cp=m.buildContentBlock(cn);if(!cp){return}if(!co){co="Unknown"}return ci(co,cp.name,cp.piece,cp.target)}function bG(co,cq,cn,cp){return"e_c="+l(co)+"&e_a="+l(cq)+(w(cn)?"&e_n="+l(cn):"")+(w(cp)?"&e_v="+l(cp):"")}function am(cp,cr,cn,cq,cs){if(String(cp).length===0||String(cr).length===0){return false}var co=aX(bG(cp,cr,cn,cq),cs,"event");a3(co,bx)}function aR(cn,cq,co,cr){var cp=aX("search="+l(cn)+(cq?"&search_cat="+l(cq):"")+(w(co)?"&search_count="+co:""),cr,"sitesearch");a3(cp,bx)}function bv(cn,cq,cp){var co=aX("idgoal="+cn+(cq?"&revenue="+cq:""),cp,"goal");a3(co,bx)}function bY(cq,cn,cu,ct,cp){var cs=cn+"="+l(ca(cq));var co=aV(cp,"click",cq);if(co){cs+="&"+co}var cr=aX(cs,cu,"link");a3(cr,(ct?0:bx),ct)}function b5(co,cn){if(co!==""){return co+cn.charAt(0).toUpperCase()+cn.slice(1)}return cn}function aQ(cs){var cr,cn,cq=["","webkit","ms","moz"],cp;if(!a4){for(cn=0;cn<cq.length;cn++){cp=cq[cn];if(Object.prototype.hasOwnProperty.call(u,b5(cp,"hidden"))){if(u[b5(cp,"visibilityState")]==="prerender"){cr=true +}break}}}if(cr){U(u,cp+"visibilitychange",function co(){u.removeEventListener(cp+"visibilitychange",co,false);cs()});return}cs()}function aU(cn){if(u.readyState==="complete"){cn()}else{if(G.addEventListener){G.addEventListener("load",cn)}else{if(G.attachEvent){G.attachEvent("onLoad",cn)}}}}function aE(co){var cn=false;if(u.attachEvent){cn=u.readyState==="complete"}else{cn=u.readyState!=="loading"}if(cn){co()}else{if(u.addEventListener){u.addEventListener("DOMContentLoaded",co)}else{if(u.attachEvent){u.attachEvent("onreadystatechange",co)}}}}function bO(cn){var co=br(cn);if(co&&co.type){co.href=F(co.href);bY(co.href,co.type,undefined,null,cn)}}function aM(){return u.all&&!u.addEventListener}function aC(cn){var cp=cn.which;var co=(typeof cn.button);if(!cp&&co!=="undefined"){if(aM()){if(cn.button&1){cp=1}else{if(cn.button&2){cp=3}else{if(cn.button&4){cp=2}}}}else{if(cn.button===0||cn.button==="0"){cp=1}else{if(cn.button&1){cp=2}else{if(cn.button&2){cp=3}}}}}return cp}function az(cn){switch(aC(cn)){case 1:return"left"; +case 2:return"middle";case 3:return"right"}}function b8(cn){return cn.target||cn.srcElement}function cl(cn){return function(cq){cq=cq||G.event;var cp=az(cq);var cr=b8(cq);if(cq.type==="click"){var co=false;if(cn&&cp==="middle"){co=true}if(cr&&!co){bO(cr)}}else{if(cq.type==="mousedown"){if(cp==="middle"&&cr){bs=cp;au=cr}else{bs=au=null}}else{if(cq.type==="mouseup"){if(cp===bs&&cr===au){bO(cr)}bs=au=null}else{if(cq.type==="contextmenu"){bO(cr)}}}}}}function bJ(co,cn){U(co,"click",cl(cn),false);if(cn){U(co,"mouseup",cl(cn),false);U(co,"mousedown",cl(cn),false);U(co,"contextmenu",cl(cn),false)}}function bj(co){if(!bI){bI=true;var cp,cn=aK(aj,"ignore"),cq=u.links;if(cq){for(cp=0;cp<cq.length;cp++){if(!cn.test(cq[cp].className)){bJ(cq[cp],co)}}}}}function bF(cp,cr,cs){if(aA){return true}aA=true;var ct=false;var cq,co;function cn(){ct=true}aU(function(){function cu(cw){setTimeout(function(){if(!aA){return}ct=false;cs.trackVisibleContentImpressions();cu(cw)},cw)}function cv(cw){setTimeout(function(){if(!aA){return +}if(ct){ct=false;cs.trackVisibleContentImpressions()}cv(cw)},cw)}if(cp){cq=["scroll","resize"];for(co=0;co<cq.length;co++){if(u.addEventListener){u.addEventListener(cq[co],cn)}else{G.attachEvent("on"+cq[co],cn)}}cv(100)}if(cr&&cr>0){cr=parseInt(cr,10);cu(cr)}})}function cb(){var co,cp,cq={pdf:"application/pdf",qt:"video/quicktime",realp:"audio/x-pn-realaudio-plugin",wma:"application/x-mplayer2",dir:"application/x-director",fla:"application/x-shockwave-flash",java:"application/x-java-vm",gears:"application/x-googlegears",ag:"application/x-silverlight"},cn=G.devicePixelRatio||1;if(!((new RegExp("MSIE")).test(e.userAgent))){if(e.mimeTypes&&e.mimeTypes.length){for(co in cq){if(Object.prototype.hasOwnProperty.call(cq,co)){cp=e.mimeTypes[cq[co]];b3[co]=(cp&&cp.enabledPlugin)?"1":"0"}}}if(typeof navigator.javaEnabled!=="unknown"&&w(e.javaEnabled)&&e.javaEnabled()){b3.java="1"}if(q(G.GearsFactory)){b3.gears="1"}b3.cookie=ae()}b3.res=K.width*cn+"x"+K.height*cn}cb();bt();an();return{getVisitorId:function(){return bK().uuid +},getVisitorInfo:function(){return Y()},getAttributionInfo:function(){return X()},getAttributionCampaignName:function(){return X()[0]},getAttributionCampaignKeyword:function(){return X()[1]},getAttributionReferrerTimestamp:function(){return X()[2]},getAttributionReferrerUrl:function(){return X()[3]},setTrackerUrl:function(cn){aa=cn},getTrackerUrl:function(){return aa},getSiteId:function(){return b2},setSiteId:function(cn){cj(cn)},setUserId:function(cn){if(!w(cn)||!cn.length){return}aN=cn;a6=a1(aN).substr(0,16)},getUserId:function(){return aN},setCustomData:function(cn,co){if(J(cn)){ao=cn}else{if(!ao){ao={}}ao[cn]=co}},getCustomData:function(){return ao},setCustomRequestProcessing:function(cn){av=cn},appendToTrackingUrl:function(cn){by=cn},getRequest:function(cn){return aX(cn)},addPlugin:function(cn,co){a[cn]=co},setCustomVariable:function(co,cn,cr,cp){var cq;if(!w(cp)){cp="visit"}if(!w(cn)){return}if(!w(cr)){cr=""}if(co>0){cn=!n(cn)?String(cn):cn;cr=!n(cr)?String(cr):cr;cq=[cn.slice(0,b7),cr.slice(0,b7)]; +if(cp==="visit"||cp===2){Z();ag[co]=cq}else{if(cp==="page"||cp===3){bo[co]=cq}else{if(cp==="event"){ab[co]=cq}}}}},getCustomVariable:function(co,cp){var cn;if(!w(cp)){cp="visit"}if(cp==="page"||cp===3){cn=bo[co]}else{if(cp==="event"){cn=ab[co]}else{if(cp==="visit"||cp===2){Z();cn=ag[co]}}}if(!w(cn)||(cn&&cn[0]==="")){return false}return cn},deleteCustomVariable:function(cn,co){if(this.getCustomVariable(cn,co)){this.setCustomVariable(cn,"","",co)}},storeCustomVariablesInCookie:function(){bb=true},setLinkTrackingTimer:function(cn){bx=cn},setDownloadExtensions:function(cn){if(n(cn)){cn=cn.split("|")}aY=cn},addDownloadExtensions:function(co){var cn;if(n(co)){co=co.split("|")}for(cn=0;cn<co.length;cn++){aY.push(co[cn])}},removeDownloadExtensions:function(cp){var co,cn=[];if(n(cp)){cp=cp.split("|")}for(co=0;co<aY.length;co++){if(z(cp,aY[co])===-1){cn.push(aY[co])}}aY=cn},setDomains:function(cn){bz=n(cn)?[cn]:cn;bz.push(bW)},setIgnoreClasses:function(cn){aj=n(cn)?[cn]:cn},setRequestMethod:function(cn){bC=cn||bA +},setRequestContentType:function(cn){aO=cn||bi},setReferrerUrl:function(cn){bE=cn},setCustomUrl:function(cn){bc=bV(cg,cn)},setDocumentTitle:function(cn){aW=cn},setAPIUrl:function(cn){ay=cn},setDownloadClasses:function(cn){bn=n(cn)?[cn]:cn},setLinkClasses:function(cn){aG=n(cn)?[cn]:cn},setCampaignNameKey:function(cn){a2=n(cn)?[cn]:cn},setCampaignKeywordKey:function(cn){aT=n(cn)?[cn]:cn},discardHashTag:function(cn){al=cn},setCookieNamePrefix:function(cn){ce=cn;ag=at()},setCookieDomain:function(cn){var co=y(cn);if(bl(co)){ar=co;bt()}},setCookiePath:function(cn){cf=cn;bt()},setVisitorCookieTimeout:function(cn){ax=cn*1000},setSessionCookieTimeout:function(cn){aD=cn*1000},setReferralCookieTimeout:function(cn){bg=cn*1000},setConversionAttributionFirstReferrer:function(cn){a9=cn},disableCookies:function(){ap=true;b3.cookie="0";if(b2){W()}},deleteCookies:function(){W()},setDoNotTrack:function(co){var cn=e.doNotTrack||e.msDoNotTrack;b6=co&&(cn==="yes"||cn==="1");if(b6){this.disableCookies()}},addListener:function(co,cn){bJ(co,cn) +},enableLinkTracking:function(cn){b4=true;if(p){bj(cn)}else{E.push(function(){bj(cn)})}},enableJSErrorTracking:function(){if(ck){return}ck=true;var cn=G.onerror;G.onerror=function(cs,cq,cp,cr,co){aQ(function(){var ct="JavaScript Errors";var cu=cq+":"+cp;if(cr){cu+=":"+cr}am(ct,cu,cs)});if(cn){return cn(cs,cq,cp,cr,co)}return false}},disablePerformanceTracking:function(){a5=false},setGenerationTimeMs:function(cn){aL=parseInt(cn,10)},enableHeartBeatTimer:function(cn){cn=Math.max(cn,1);ah=(cn||15)*1000;if(bm!==null){bD()}},killFrame:function(){if(G.location!==G.top.location){G.top.location=G.location}},redirectFile:function(cn){if(G.location.protocol==="file:"){G.location=cn}},setCountPreRendered:function(cn){a4=cn},trackGoal:function(cn,cp,co){aQ(function(){bv(cn,cp,co)})},trackLink:function(co,cn,cq,cp){aQ(function(){bY(co,cn,cq,cp)})},trackPageView:function(cn,co){ai=[];if(A(b2)){aQ(function(){M(aa,ay,b2)})}else{aQ(function(){bk(cn,co)})}},trackAllContentImpressions:function(){if(A(b2)){return +}aQ(function(){aE(function(){var cn=m.findContentNodes();var co=a0(cn);aq(co,bx)})})},trackVisibleContentImpressions:function(cn,co){if(A(b2)){return}if(!w(cn)){cn=true}if(!w(co)){co=750}bF(cn,co,this);aQ(function(){aU(function(){var cp=m.findContentNodes();var cq=bM(cp);aq(cq,bx)})})},trackContentImpression:function(cp,cn,co){if(A(b2)){return}if(!cp){return}cn=cn||"Unknown";aQ(function(){var cq=bX(cp,cn,co);a3(cq,bx)})},trackContentImpressionsWithinNode:function(cn){if(A(b2)||!cn){return}aQ(function(){if(aA){aU(function(){var co=m.findContentNodesWithinNode(cn);var cp=bM(co);aq(cp,bx)})}else{aE(function(){var co=m.findContentNodesWithinNode(cn);var cp=a0(co);aq(cp,bx)})}})},trackContentInteraction:function(cp,cq,cn,co){if(A(b2)){return}if(!cp||!cq){return}cn=cn||"Unknown";aQ(function(){var cr=ci(cp,cq,cn,co);a3(cr,bx)})},trackContentInteractionNode:function(co,cn){if(A(b2)||!co){return}aQ(function(){var cp=aZ(co,cn);a3(cp,bx)})},trackEvent:function(co,cq,cn,cp){aQ(function(){am(co,cq,cn,cp) +})},trackSiteSearch:function(cn,cp,co){aQ(function(){aR(cn,cp,co)})},setEcommerceView:function(cq,cn,cp,co){if(!w(cp)||!cp.length){cp=""}else{if(cp instanceof Array){cp=JSON2.stringify(cp)}}bo[5]=["_pkc",cp];if(w(co)&&String(co).length){bo[2]=["_pkp",co]}if((!w(cq)||!cq.length)&&(!w(cn)||!cn.length)){return}if(w(cq)&&cq.length){bo[3]=["_pks",cq]}if(!w(cn)||!cn.length){cn=""}bo[4]=["_pkn",cn]},addEcommerceItem:function(cr,cn,cp,co,cq){if(cr.length){bP[cr]=[cr,cn,cp,co,cq]}},trackEcommerceOrder:function(cn,cr,cq,cp,co,cs){bT(cn,cr,cq,cp,co,cs)},trackEcommerceCartUpdate:function(cn){cd(cn)}}}function v(){return{push:R}}function b(ab,aa){var ac={};var Y,Z;for(Y=0;Y<aa.length;Y++){var W=aa[Y];ac[W]=1;for(Z=0;Z<ab.length;Z++){if(ab[Z]&&ab[Z][0]){var X=ab[Z][0];if(W===X){R(ab[Z]);delete ab[Z];if(ac[X]>1){if(console!==undefined&&console&&console.error){console.error("The method "+X+' is registered more than once in "paq" variable. Only the last call has an effect. Please have a look at the multiple Piwik trackers documentation: http://developer.piwik.org/guides/tracking-javascript-guide#multiple-piwik-trackers') +}}ac[X]++}}}}return ab}U(G,"beforeunload",S,false);o();Date.prototype.getTimeAlias=Date.prototype.getTime;L=new D();var r=["disableCookies","setTrackerUrl","setAPIUrl","setUserId","setSiteId","enableLinkTracking"];_paq=b(_paq,r);for(t=0;t<_paq.length;t++){if(_paq[t]){R(_paq[t])}}_paq=new v();d={addPlugin:function(W,X){a[W]=X},getTracker:function(W,X){if(!w(X)){X=this.getAsyncTracker().getSiteId()}if(!w(W)){W=this.getAsyncTracker().getTrackerUrl()}return new D(W,X)},getAsyncTracker:function(){return L}};if(typeof define==="function"&&define.amd){define("piwik",[],function(){return d})}return d}())}if(window&&window.piwikAsyncInit){window.piwikAsyncInit()}(function(){var a=(typeof AnalyticsTracker);if(a==="undefined"){AnalyticsTracker=Piwik}}());if(typeof piwik_log!=="function"){piwik_log=function(b,f,d,g){function a(h){try{return eval("piwik_"+h)}catch(i){}return}var c,e=Piwik.getTracker(d,f);e.setDocumentTitle(b);e.setCustomData(g);c=a("tracker_pause");if(c){e.setLinkTrackingTimer(c) +}c=a("download_extensions");if(c){e.setDownloadExtensions(c)}c=a("hosts_alias");if(c){e.setDomains(c)}c=a("ignore_classes");if(c){e.setIgnoreClasses(c)}e.trackPageView();if(a("install_tracker")){piwik_track=function(i,k,j,h){e.setSiteId(k);e.setTrackerUrl(j);e.trackLink(i,h)};e.enableLinkTracking()}}; /*! @license-end */ };
\ No newline at end of file |