Skip to Content

JavaScript File

URL: https://munchkin.marketo.net/160/munchkin.js
HTTP Status: 200 OK
MIME Type: application/x-javascript
Last Modified: Fri, 19 Feb 2021 02:54:38 GMT
Download Time: Less than a second
Cookies: None
Size: 12 KB
HTTP Headers:  6 headers
Links In:  1 pages
  
OK Issues: No issues found

1/*

2 * Copyright (c) 2007-2018, Marketo, Inc. All rights reserved.

3 * See https://developers.marketo.com/MunchkinLicense.pdf for license terms

4 * Marketo marketing automation web activity tracking script

5 * Version: 160 r843

6 */

7 (function(h){if(!h.MunchkinTracker){var l=h.document,q=l.location,D=encodeURIComponent,A=!1,u=null,t=null,E=!1,x=null,F=[],v=function(b,a,c,d){try{var f=function(){try{c.apply(this,arguments)}

8catch(a){}

9}

10;b.addEventListener?b.addEventListener(a,f,d||!1):b.attachEvent&&b.attachEvent("on"+a,f);F.push([b,a,f,d])}

11catch(k){}

12}

13,V=function(b,a,c,d){try{b.removeEventListener?b.removeEventListener(a,c,d||!1):b.detachEvent&&b.detachEvent("on"+a,c)}

14catch(f){}

15}

16,f=function(b){return"undefined"!==typeof b&&null!==

17b}

18,G=function(b,a){return b.className.match(RegExp("(\\s|^)"+a+"(\\s|$)"))}

19,W=f(h.XMLHttpRequest)&&f((new h.XMLHttpRequest).withCredentials),r=function(b){var a=null,c;if(f(b))if(0===b.length)a="";else try{a=decodeURIComponent(b)}

20catch(d){c=b.indexOf("?");if(-1!==c)try{a=decodeURIComponent(b.substr(0,c))+b.substr(c)}

21catch(g){}

22f(a)||(a=String(b))}

23return a}

24,H=function(b,a){var c={}

25,d=f(a)?a:"=",g=b.split("&"),k=g.length,e,n,l;for(e=0;e<k;e+=1)n=g[e].split(d),f(n)&&1<n.length&&(l=n.shift(),n=n.join(d),

26c[r(l)]=r(n));return c}

27,I=function(b){try{var a=l.createElement("a");a.href=b;return H(a.search.substr(1))}

28catch(c){return null}

29}

30,J=function(b,a){var c=null,d=[];if(f(b))for(c in b)b.hasOwnProperty(c)&&"function"!==typeof b[c]&&null!==b[c]&&d.push(D(c)+(f(a)?a:"=")+D(b[c]));return d.join("&")}

31,K=function(b,a){var c=null;if(f(a)&&f(b))for(c in b)b.hasOwnProperty(c)&&f(a[c])&&(b[c]=a[c])}

32,L=function(b,a,c){var d=b.split("."),g=d.length,e=2;if(f(a))e=a;else if(f(c)&&c)"com"!==d[g-1]&&(a=RegExp("^(([0-9]|[1-9][0-9]|1[0-9]{2}

33|2[0-4][0-9]|25[0-5])\\.){3}

34([0-9]|[1-9][0-9]|1[0-9]{2}

35|2[0-4][0-9]|25[0-5])$"),

364===g&&a.test(b)?e=4:2===d[g-1].length&&1<g&&"co"===d[g-2]&&(e=3));else if(2<d[g-1].length)e=2;else if(2===d[g-1].length)e=3;else return b;for(;d.length>e&&2<d.length;)d.shift();return d.join(".")}

37,y=function(b){var a=l.cookie,c,d,g={id:null,token:null}

38;b=D(b);g.store=function(a,c,d,f){var g=b+"="+J(this,":"),e=new Date;0<a?e.setTime(e.getTime()+864E5*a):e.setTime(e.getTime()-1);g+="; expires="+e.toGMTString();c&&(g+="; path="+c);d&&-1!==d.indexOf(".")&&(g+="; domain="+d);f&&(g+="; secure");l.cookie=

39g}

40;if(""!==a)for(a=a.split(";"),c=0;c<a.length;c+=1)if(d=a[c].replace(/^\s+|\s+$/g,""),0===d.indexOf(b+"=")){a=d.substring(b.length+1);c=H(a);f(c.id)&&f(c.token)?K(g,c):K(g,H(a,":"));break}

...

</html>