(function() {
var m=void 0,n=!0,s=null,C=!1;function G(){return function(){}}
(function(){function la(){function a(){if(!a.rd)ea=a.rd=n,fa=C,c.a(D,function(a){a.Kc()})}function b(){try{o.documentElement.doScroll("left")}catch(d){setTimeout(b,1);return}a()}if(o.addEventListener)"complete"===o.readyState?a():o.addEventListener("DOMContentLoaded",a,C);else if(o.attachEvent){o.attachEvent("onreadystatechange",a);var d=C;try{d=t.frameElement===s}catch(e){}o.documentElement.doScroll&&d&&b()}c.G(t,"load",a,n)}function ma(){w.init=function(a,b,d){if(d)return w[d]||(w[d]=D[d]=Q(a,b,
d),w[d].ya()),w[d];d=w;if(D.mixpanel)d=D.mixpanel;else if(a)d=Q(a,b,"mixpanel"),d.ya(),D.mixpanel=d;w=d;1===$&&(t.mixpanel=w);na()}}function na(){c.a(D,function(a,b){"mixpanel"!==b&&(w[b]=a)});w._=c}function Q(a,b,d){var e,g="mixpanel"===d?w:w[d];if(g&&0===$)e=g;else{if(g&&!c.isArray(g)){r.error("You have already initialized "+d);return}e=new f}e.ea(a,b,d);e.people=new l;e.people.ea(e);e.vb={};E=E||e.c("debug");e.__autotrack_enabled=e.c("autotrack");if(e.c("autotrack"))N.sd(e.c("token"),100,100)?
N.yd()?N.Y(e):(e.__autotrack_enabled=C,r.log("Disabling Automatic Event Collection because this browser is not supported")):(e.__autotrack_enabled=C,r.log("Not in active bucket: disabling Automatic Event Collection."));!c.e(g)&&c.isArray(g)&&(e.Ra.call(e.people,g.people),e.Ra(g));return e}function l(){}function f(){}function p(a){this.props={};this.Nb=C;this.name=a.persistence_name?"mp_"+a.persistence_name:"mp_"+a.token+"_mixpanel";var b=a.persistence;if("cookie"!==b&&"localStorage"!==b)r.X("Unknown persistence type "+
b+"; falling back to cookie"),b=a.persistence="cookie";this.w="localStorage"===b&&c.localStorage.mb()?c.localStorage:c.cookie;this.load();this.xc(a);this.ae(a);this.save()}function R(){this.hc="submit"}function H(){this.hc="click"}function B(){}function u(){}function S(a){switch(typeof a.className){case "string":return a.className;case "object":return a.className.he||a.getAttribute("class")||"";default:return""}}function oa(a){var b="";T(a)&&a.childNodes&&a.childNodes.length&&c.a(a.childNodes,function(a){a&&
3===a.nodeType&&a.textContent&&(b+=c.trim(a.textContent).split(/(\s+)/).filter(U).join("").replace(/[\r\n]/g," ").replace(/[ ]+/g," ").substring(0,255))});return c.trim(b)}function I(a,b){return a&&a.tagName&&a.tagName.toLowerCase()===b.toLowerCase()}function pa(a,b){if(!a||I(a,"html")||!(a&&1===a.nodeType))return C;switch(a.tagName.toLowerCase()){case "html":return C;case "form":return"submit"===b.type;case "input":return-1===["button","submit"].indexOf(a.getAttribute("type"))?"change"===b.type:
"click"===b.type;case "select":case "textarea":return"change"===b.type;default:return"click"===b.type}}function T(a){for(var b=a;b.parentNode&&!I(b,"body");b=b.parentNode){var d=S(b).split(" ");if(c.g(d,"mp-sensitive")||c.g(d,"mp-no-track"))return C}if(c.g(S(a).split(" "),"mp-include"))return n;if(I(a,"input")||I(a,"select")||I(a,"textarea")||"true"===a.getAttribute("contenteditable"))return C;b=a.type||"";if("string"===typeof b)switch(b.toLowerCase()){case "hidden":return C;case "password":return C}a=
a.name||a.id||"";return"string"===typeof a&&/^cc|cardnum|ccnum|creditcard|csc|cvc|cvv|exp|pass|pwd|routing|seccode|securitycode|securitynum|socialsec|socsec|ssn/i.test(a.replace(/[^a-zA-Z0-9]/g,""))?C:n}function U(a){if(a===s||c.e(a)||"string"===typeof a&&(a=c.trim(a),/^(?:(4[0-9]{12}(?:[0-9]{3})?)|(5[1-5][0-9]{14})|(6(?:011|5[0-9]{2})[0-9]{12})|(3[47][0-9]{13})|(3(?:0[0-5]|[68][0-9])[0-9]{11})|((?:2131|1800|35[0-9]{3})[0-9]{11}))$/.test((a||"").replace(/[\- ]/g,""))||/(^\d{3}-?\d{2}-?\d{4}$)/.test(a)))return C;
return n}function qa(a,b){ga(n,a,b)}function ra(a,b){ga(C,a,b)}function sa(a,b){return"1"===V(b).get(W(a,b))}function ha(a,b){return t.navigator&&"1"===t.navigator.ke?n:"0"===V(b).get(W(a,b))}function J(a){return aa(a,function(a){return this.c(a)})}function F(a){return aa(a,function(a){return this.K(a)})}function K(a){return aa(a,function(a){return this.K(a)})}function ta(a,b){b=b||{};V(b).remove(W(a,b),!!b.Sb)}function V(a){a=a||{};return"localStorage"===a.jc?c.localStorage:c.cookie}function W(a,
b){b=b||{};return(b.ic||ua)+a}function ga(a,b,d){!c.Ea(b)||!b.length?console.error("gdpr."+(a?"optIn":"optOut")+" called with an invalid token"):(d=d||{},V(d).set(W(b,d),a?1:0,c.bc(d.Rb)?d.Rb:s,!!d.Sb,!!d.Ld),d.p&&a&&d.p(d.Ud||"$opt_in",d.Vd))}function aa(a,b){return function(){var d=C;try{var c=b.call(this,"token"),g=b.call(this,"opt_out_tracking_persistence_type"),j=b.call(this,"opt_out_tracking_cookie_prefix");c&&(d=ha(c,{jc:g,ic:j}))}catch(k){console.error("Unexpected error when checking tracking opt-out status: "+
k)}if(!d)return a.apply(this,arguments);d=arguments[arguments.length-1];"function"===typeof d&&d(0)}}var E=C,t;if("undefined"===typeof window){var z={hostname:""};t={navigator:{userAgent:""},document:{location:z,referrer:""},screen:{width:0,height:0},location:z}}else t=window;var z=Array.prototype,ia=Object.prototype,L=z.slice,O=ia.toString,X=ia.hasOwnProperty,y=t.console,M=t.navigator,o=t.document,P=t.opera,Y=t.screen,x=M.userAgent,ba=Function.prototype.bind,ja=z.forEach,ka=z.indexOf,z=Array.isArray,
ca={},c={trim:function(a){return a.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"")}},r={log:function(){if(E&&!c.e(y)&&y)try{y.log.apply(y,arguments)}catch(a){c.a(arguments,function(a){y.log(a)})}},error:function(){if(E&&!c.e(y)&&y){var a=["Mixpanel error:"].concat(c.pa(arguments));try{y.error.apply(y,a)}catch(b){c.a(a,function(a){y.error(a)})}}},X:function(){if(!c.e(y)&&y){var a=["Mixpanel error:"].concat(c.pa(arguments));try{y.error.apply(y,a)}catch(b){c.a(a,function(a){y.error(a)})}}}};c.bind=
function(a,b){var d,e;if(ba&&a.bind===ba)return ba.apply(a,L.call(arguments,1));if(!c.lb(a))throw new TypeError;d=L.call(arguments,2);return e=function(){if(!(this instanceof e))return a.apply(b,d.concat(L.call(arguments)));var c={};c.prototype=a.prototype;var j=new c;c.prototype=s;c=a.apply(j,d.concat(L.call(arguments)));return Object(c)===c?c:j}};c.Lb=function(a){for(var b in a)"function"===typeof a[b]&&(a[b]=c.bind(a[b],a))};c.a=function(a,b,d){if(!(a===s||a===m))if(ja&&a.forEach===ja)a.forEach(b,
d);else if(a.length===+a.length)for(var c=0,g=a.length;c<g&&!(c in a&&b.call(d,a[c],c,a)===ca);c++);else for(c in a)if(X.call(a,c)&&b.call(d,a[c],c,a)===ca)break};c.P=function(a){a&&c.Ea(a)&&(a=a.replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/"/g,"&quot;").replace(/'/g,"&#039;"));return a};c.extend=function(a){c.a(L.call(arguments,1),function(b){for(var d in b)b[d]!==m&&(a[d]=b[d])});return a};c.isArray=z||function(a){return"[object Array]"===O.call(a)};c.lb=function(a){try{return/^\s*\bfunction\b/.test(a)}catch(b){return C}};
c.xd=function(a){return!(!a||!X.call(a,"callee"))};c.pa=function(a){return!a?[]:a.pa?a.pa():c.isArray(a)||c.xd(a)?L.call(a):c.ce(a)};c.keys=function(a){var b=[];if(a===s)return b;c.a(a,function(a,c){b[b.length]=c});return b};c.ce=function(a){var b=[];if(a===s)return b;c.a(a,function(a){b[b.length]=a});return b};c.me=function(a){return a};c.Yb=function(a,b){var d=C;if(a===s)return d;if(ka&&a.indexOf===ka)return-1!=a.indexOf(b);c.a(a,function(a){if(d||(d=a===b))return ca});return d};c.g=function(a,
b){return-1!==a.indexOf(b)};c.$b=function(a,b){a.prototype=new b;a.Sd=b.prototype};c.h=function(a){return a===Object(a)&&!c.isArray(a)};c.la=function(a){if(c.h(a)){for(var b in a)if(X.call(a,b))return C;return n}return C};c.e=function(a){return a===m};c.Ea=function(a){return"[object String]"==O.call(a)};c.zd=function(a){return"[object Date]"==O.call(a)};c.bc=function(a){return"[object Number]"==O.call(a)};c.Ad=function(a){return!!(a&&1===a.nodeType)};c.cb=function(a){c.a(a,function(b,d){c.zd(b)?a[d]=
c.td(b):c.h(b)&&(a[d]=c.cb(b))});return a};c.timestamp=function(){Date.now=Date.now||function(){return+new Date};return Date.now()};c.td=function(a){function b(a){return 10>a?"0"+a:a}return a.getUTCFullYear()+"-"+b(a.getUTCMonth()+1)+"-"+b(a.getUTCDate())+"T"+b(a.getUTCHours())+":"+b(a.getUTCMinutes())+":"+b(a.getUTCSeconds())};c.m=function(a){return function(){try{return a.apply(this,arguments)}catch(b){r.X("Implementation error. Please turn on debug and contact support@mixpanel.com."),E&&r.X(b)}}};
c.Hd=function(a){for(var b=["identify","_check_and_handle_notifications","_show_notification"],d=0;d<b.length;d++)a.prototype[b[d]]=c.m(a.prototype[b[d]])};c.Id=function(a){for(var b in a)"function"===typeof a[b]&&(a[b]=c.m(a[b]))};c.Ga=function(a){var b={};c.a(a,function(a,e){c.Ea(a)&&0<a.length&&(b[e]=a)});return b};c.truncate=function(a,b){var d;"string"===typeof a?d=a.slice(0,b):c.isArray(a)?(d=[],c.a(a,function(a){d.push(c.truncate(a,b))})):c.h(a)?(d={},c.a(a,function(a,g){d[g]=c.truncate(a,
b)})):d=a;return d};c.aa=function(){return function(a){function b(a,c){var j="",k=0,i=k="",i=0,f=j,h=[],q=c[a];q&&"object"===typeof q&&"function"===typeof q.toJSON&&(q=q.toJSON(a));switch(typeof q){case "string":return d(q);case "number":return isFinite(q)?""+q:"null";case "boolean":case "null":return""+q;case "object":if(!q)return"null";j+="    ";h=[];if("[object Array]"===O.apply(q)){i=q.length;for(k=0;k<i;k+=1)h[k]=b(k,q)||"null";return i=0===h.length?"[]":j?"[\n"+j+h.join(",\n"+j)+"\n"+f+"]":
"["+h.join(",")+"]"}for(k in q)X.call(q,k)&&(i=b(k,q))&&h.push(d(k)+(j?": ":":")+i);return i=0===h.length?"{}":j?"{"+h.join(",")+""+f+"}":"{"+h.join(",")+"}"}}function d(a){var b=/[\\\"\x00-\x1f\x7f-\x9f\u00ad\u0600-\u0604\u070f\u17b4\u17b5\u200c-\u200f\u2028-\u202f\u2060-\u206f\ufeff\ufff0-\uffff]/g,d={"\u0008":"\\b","\t":"\\t","\n":"\\n","\u000c":"\\f","\r":"\\r",'"':'\\"',"\\":"\\\\"};b.lastIndex=0;return b.test(a)?'"'+a.replace(b,function(a){var b=d[a];return"string"===typeof b?b:"\\u"+("0000"+
a.charCodeAt(0).toString(16)).slice(-4)})+'"':'"'+a+'"'}return b("",{"":a})}}();c.ua=function(){function a(){switch(i){case "t":return g("t"),g("r"),g("u"),g("e"),n;case "f":return g("f"),g("a"),g("l"),g("s"),g("e"),C;case "n":return g("n"),g("u"),g("l"),g("l"),s}j('Unexpected "'+i+'"')}function b(){for(;i&&" ">=i;)g()}function d(){var a,b,d="",c;if('"'===i)for(;g();){if('"'===i)return g(),d;if("\\"===i)if(g(),"u"===i){for(b=c=0;4>b;b+=1){a=parseInt(g(),16);if(!isFinite(a))break;c=16*c+a}d+=String.fromCharCode(c)}else if("string"===
typeof f[i])d+=f[i];else break;else d+=i}j("Bad string")}function c(){var a;a="";"-"===i&&(a="-",g("-"));for(;"0"<=i&&"9">=i;)a+=i,g();if("."===i)for(a+=".";g()&&"0"<=i&&"9">=i;)a+=i;if("e"===i||"E"===i){a+=i;g();if("-"===i||"+"===i)a+=i,g();for(;"0"<=i&&"9">=i;)a+=i,g()}a=+a;if(isFinite(a))return a;j("Bad number")}function g(a){a&&a!==i&&j("Expected '"+a+"' instead of '"+i+"'");i=h.charAt(k);k+=1;return i}function j(a){a=new SyntaxError(a);a.ge=k;a.text=h;throw a;}var k,i,f={'"':'"',"\\":"\\","/":"/",
b:"\u0008",f:"\u000c",n:"\n",r:"\r",t:"\t"},h,q;q=function(){b();switch(i){case "{":var k;a:{var f,h={};if("{"===i){g("{");b();if("}"===i){g("}");k=h;break a}for(;i;){f=d();b();g(":");Object.hasOwnProperty.call(h,f)&&j('Duplicate key "'+f+'"');h[f]=q();b();if("}"===i){g("}");k=h;break a}g(",");b()}}j("Bad object")}return k;case "[":a:{k=[];if("["===i){g("[");b();if("]"===i){g("]");f=k;break a}for(;i;){k.push(q());b();if("]"===i){g("]");f=k;break a}g(",");b()}}j("Bad array")}return f;case '"':return d();
case "-":return c();default:return"0"<=i&&"9">=i?c():a()}};return function(a){h=a;k=0;i=" ";a=q();b();i&&j("Syntax error");return a}}();c.Za=function(a){var b,d,e,g,j=0,k=0,i="",i=[];if(!a)return a;a=c.be(a);do b=a.charCodeAt(j++),d=a.charCodeAt(j++),e=a.charCodeAt(j++),g=b<<16|d<<8|e,b=g>>18&63,d=g>>12&63,e=g>>6&63,g&=63,i[k++]="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=".charAt(b)+"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=".charAt(d)+"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=".charAt(e)+
"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=".charAt(g);while(j<a.length);i=i.join("");switch(a.length%3){case 1:i=i.slice(0,-2)+"==";break;case 2:i=i.slice(0,-1)+"="}return i};c.be=function(a){var a=(a+"").replace(/\r\n/g,"\n").replace(/\r/g,"\n"),b="",d,c,g=0,j;d=c=0;g=a.length;for(j=0;j<g;j++){var k=a.charCodeAt(j),i=s;128>k?c++:i=127<k&&2048>k?String.fromCharCode(k>>6|192,k&63|128):String.fromCharCode(k>>12|224,k>>6&63|128,k&63|128);i!==s&&(c>d&&(b+=a.substring(d,c)),b+=
i,d=c=j+1)}c>d&&(b+=a.substring(d,a.length));return b};c.ub=function(){function a(){function a(b,d){var c,e=0;for(c=0;c<d.length;c++)e|=j[c]<<8*c;return b^e}var b,c,j=[],k=0;for(b=0;b<x.length;b++)c=x.charCodeAt(b),j.unshift(c&255),4<=j.length&&(k=a(k,j),j=[]);0<j.length&&(k=a(k,j));return k.toString(16)}function b(){for(var a=1*new Date,b=0;a==1*new Date;)b++;return a.toString(16)+b.toString(16)}return function(){var d=(Y.height*Y.width).toString(16);return b()+"-"+Math.random().toString(16).replace(".",
"")+"-"+a()+"-"+d+"-"+b()}}();c.ac=function(a){return/(google web preview|baiduspider|yandexbot|bingbot|googlebot|yahoo! slurp)/i.test(a)?n:C};c.Dc=function(a){var b,d,e,g=[];c.e(b)&&(b="&");c.a(a,function(a,b){d=encodeURIComponent(a.toString());e=encodeURIComponent(b);g[g.length]=e+"="+d});return g.join(b)};c.Wb=function(a,b){var b=b.replace(/[\[]/,"\\[").replace(/[\]]/,"\\]"),d=RegExp("[\\?&]"+b+"=([^&#]*)").exec(a);return d===s||d&&"string"!==typeof d[1]&&d[1].length?"":decodeURIComponent(d[1]).replace(/\+/g,
" ")};c.ja=function(a,b){var d=a.match(RegExp(b+"=([^&]*)"));return d?d[1]:s};c.cookie={get:function(a){for(var a=a+"=",b=o.cookie.split(";"),d=0;d<b.length;d++){for(var c=b[d];" "==c.charAt(0);)c=c.substring(1,c.length);if(0===c.indexOf(a))return decodeURIComponent(c.substring(a.length,c.length))}return s},parse:function(a){var b;try{b=c.ua(c.cookie.get(a))||{}}catch(d){}return b},ne:function(a,b,d,c,g){var e;var j="",k="",i="";c&&(e=(j=(j=o.location.hostname.match(/[a-z0-9][a-z0-9\-]+\.[a-z\.]{2,6}$/i))?
j[0]:"")?"; domain=."+j:"",j=e);d&&(k=new Date,k.setTime(k.getTime()+1E3*d),k="; expires="+k.toGMTString());g&&(i="; secure");o.cookie=a+"="+encodeURIComponent(b)+k+"; path=/"+j+i},set:function(a,b,d,c,g){var e;var j="",k="",i="";c&&(e=(j=(j=o.location.hostname.match(/[a-z0-9][a-z0-9\-]+\.[a-z\.]{2,6}$/i))?j[0]:"")?"; domain=."+j:"",j=e);d&&(k=new Date,k.setTime(k.getTime()+864E5*d),k="; expires="+k.toGMTString());g&&(i="; secure");a=a+"="+encodeURIComponent(b)+k+"; path=/"+j+i;return o.cookie=a},
remove:function(a,b){c.cookie.set(a,"",-1,b)}};var da=s;c.localStorage={mb:function(){if(da!==s)return da;var a=n;try{c.localStorage.set("__mplssupport__","xyz"),"xyz"!==c.localStorage.get("__mplssupport__")&&(a=C),c.localStorage.remove("__mplssupport__")}catch(b){a=C}a||r.error("localStorage unsupported; falling back to cookie store");return da=a},error:function(a){r.error("localStorage error: "+a)},get:function(a){try{return window.localStorage.getItem(a)}catch(b){c.localStorage.error(b)}return s},
parse:function(a){try{return c.ua(c.localStorage.get(a))||{}}catch(b){}return s},set:function(a,b){try{window.localStorage.setItem(a,b)}catch(d){c.localStorage.error(d)}},remove:function(a){try{window.localStorage.removeItem(a)}catch(b){c.localStorage.error(b)}}};c.G=function(){function a(a,e,g){return function(j){if(j=j||b(window.event)){var k=n,i;c.lb(g)&&(i=g(j));j=e.call(a,j);if(C===i||C===j)k=C;return k}}}function b(a){if(a)a.preventDefault=b.preventDefault,a.stopPropagation=b.stopPropagation;
return a}b.preventDefault=function(){this.returnValue=C};b.stopPropagation=function(){this.cancelBubble=n};return function(b,c,g,j,k){b?b.addEventListener&&!j?b.addEventListener(c,g,!!k):(c="on"+c,b[c]=a(b,g,b[c])):r.error("No valid element provided to register_event")}}();c.qd=function(){function a(a,b){return 0<=(" "+a.className+" ").replace(d," ").indexOf(" "+b+" ")}function b(b){if(!o.getElementsByTagName)return[];var b=b.split(" "),d,j,k,i,f,h,q,v=[o];for(i=0;i<b.length;i++)if(d=b[i].replace(/^\s+/,
"").replace(/\s+$/,""),-1<d.indexOf("#")){j=d.split("#");d=j[0];v=o.getElementById(j[1]);if(!v||d&&v.nodeName.toLowerCase()!=d)return[];v=[v]}else if(-1<d.indexOf(".")){j=d.split(".");d=j[0];var A=j[1];d||(d="*");j=[];for(f=k=0;f<v.length;f++){q="*"==d?v[f].all?v[f].all:v[f].getElementsByTagName("*"):v[f].getElementsByTagName(d);for(h=0;h<q.length;h++)j[k++]=q[h]}v=[];for(f=d=0;f<j.length;f++)j[f].className&&c.Ea(j[f].className)&&a(j[f],A)&&(v[d++]=j[f])}else if(j=d.match(/^(\w*)\[(\w+)([=~\|\^\$\*]?)=?"?([^\]"]*)"?\]$/)){d=
j[1];var l=j[2],A=j[3],p=j[4];d||(d="*");j=[];for(f=k=0;f<v.length;f++){q="*"==d?v[f].all?v[f].all:v[f].getElementsByTagName("*"):v[f].getElementsByTagName(d);for(h=0;h<q.length;h++)j[k++]=q[h]}v=[];d=0;switch(A){case "=":A=function(a){return a.getAttribute(l)==p};break;case "~":A=function(a){return a.getAttribute(l).match(RegExp("\\b"+p+"\\b"))};break;case "|":A=function(a){return a.getAttribute(l).match(RegExp("^"+p+"-?"))};break;case "^":A=function(a){return 0===a.getAttribute(l).indexOf(p)};break;
case "$":A=function(a){return a.getAttribute(l).lastIndexOf(p)==a.getAttribute(l).length-p.length};break;case "*":A=function(a){return-1<a.getAttribute(l).indexOf(p)};break;default:A=function(a){return a.getAttribute(l)}}v=[];for(f=d=0;f<j.length;f++)A(j[f])&&(v[d++]=j[f])}else{j=[];for(f=k=0;f<v.length;f++){q=v[f].getElementsByTagName(d);for(h=0;h<q.length;h++)j[k++]=q[h]}v=j}return v}var d=/[\t\r\n]/g;return function(a){return c.Ad(a)?[a]:c.h(a)&&!c.e(a.length)?a:b.call(this,a)}}();c.info={ld:function(){var a=
"",b={};c.a("utm_source utm_medium utm_campaign utm_content utm_term".split(" "),function(d){a=c.Wb(o.URL,d);a.length&&(b[d]=a)});return b},Jd:function(a){return 0===a.search("https?://(.*)google.([^/?]*)")?"google":0===a.search("https?://(.*)bing.com")?"bing":0===a.search("https?://(.*)yahoo.com")?"yahoo":0===a.search("https?://(.*)duckduckgo.com")?"duckduckgo":s},Kd:function(a){var b=c.info.Jd(a),d={};if(b!==s)d.$search_engine=b,a=c.Wb(a,"yahoo"!=b?"q":"p"),a.length&&(d.mp_keyword=a);return d},
ha:function(a,b,d){return d||c.g(a," OPR/")?c.g(a,"Mini")?"Opera Mini":"Opera":/(BlackBerry|PlayBook|BB10)/i.test(a)?"BlackBerry":c.g(a,"IEMobile")||c.g(a,"WPDesktop")?"Internet Explorer Mobile":c.g(a,"Edge")?"Microsoft Edge":c.g(a,"FBIOS")?"Facebook Mobile":c.g(a,"Chrome")?"Chrome":c.g(a,"CriOS")?"Chrome iOS":c.g(a,"UCWEB")||c.g(a,"UCBrowser")?"UC Browser":c.g(a,"FxiOS")?"Firefox iOS":c.g(b||"","Apple")?c.g(a,"Mobile")?"Mobile Safari":"Safari":c.g(a,"Android")?"Android Mobile":c.g(a,"Konqueror")?
"Konqueror":c.g(a,"Firefox")?"Firefox":c.g(a,"MSIE")||c.g(a,"Trident/")?"Internet Explorer":c.g(a,"Gecko")?"Mozilla":""},Mb:function(a,b,d){b={"Internet Explorer Mobile":/rv:(\d+(\.\d+)?)/,"Microsoft Edge":/Edge\/(\d+(\.\d+)?)/,Chrome:/Chrome\/(\d+(\.\d+)?)/,"Chrome iOS":/CriOS\/(\d+(\.\d+)?)/,"UC Browser":/(UCBrowser|UCWEB)\/(\d+(\.\d+)?)/,Safari:/Version\/(\d+(\.\d+)?)/,"Mobile Safari":/Version\/(\d+(\.\d+)?)/,Opera:/(Opera|OPR)\/(\d+(\.\d+)?)/,Firefox:/Firefox\/(\d+(\.\d+)?)/,"Firefox iOS":/FxiOS\/(\d+(\.\d+)?)/,
Konqueror:/Konqueror:(\d+(\.\d+)?)/,BlackBerry:/BlackBerry (\d+(\.\d+)?)/,"Android Mobile":/android\s(\d+(\.\d+)?)/,"Internet Explorer":/(rv:|MSIE )(\d+(\.\d+)?)/,Mozilla:/rv:(\d+(\.\d+)?)/}[c.info.ha(a,b,d)];if(b===m)return s;a=a.match(b);return!a?s:parseFloat(a[a.length-2])},qb:function(){return/Windows/i.test(x)?/Phone/.test(x)||/WPDesktop/.test(x)?"Windows Phone":"Windows":/(iPhone|iPad|iPod)/.test(x)?"iOS":/Android/.test(x)?"Android":/(BlackBerry|PlayBook|BB10)/i.test(x)?"BlackBerry":/Mac/i.test(x)?
"Mac OS X":/Linux/.test(x)?"Linux":/CrOS/.test(x)?"Chrome OS":""},Vb:function(a){return/Windows Phone/i.test(a)||/WPDesktop/.test(a)?"Windows Phone":/iPad/.test(a)?"iPad":/iPod/.test(a)?"iPod Touch":/iPhone/.test(a)?"iPhone":/(BlackBerry|PlayBook|BB10)/i.test(a)?"BlackBerry":/Android/.test(a)?"Android":""},kc:function(a){a=a.split("/");return 3<=a.length?a[2]:""},oa:function(){return c.extend(c.Ga({$os:c.info.qb(),$browser:c.info.ha(x,M.vendor,P),$referrer:o.referrer,$referring_domain:c.info.kc(o.referrer),
$device:c.info.Vb(x)}),{$current_url:t.location.href,$browser_version:c.info.Mb(x,M.vendor,P),$screen_height:Y.height,$screen_width:Y.width,mp_lib:"web",$lib_version:"2.24.0",time:c.timestamp()/1E3})},Ed:function(){return c.extend(c.Ga({$os:c.info.qb(),$browser:c.info.ha(x,M.vendor,P)}),{$browser_version:c.info.Mb(x,M.vendor,P)})},Dd:function(a){return c.Ga({mp_page:a,mp_referrer:o.referrer,mp_browser:c.info.ha(x,M.vendor,P),mp_platform:c.info.qb()})}};c.toArray=c.pa;c.isObject=c.h;c.JSONEncode=c.aa;
c.JSONDecode=c.ua;c.isBlockedUA=c.ac;c.isEmptyObject=c.la;c.info=c.info;c.info.device=c.info.Vb;c.info.browser=c.info.ha;c.info.properties=c.info.oa;var N={Cb:[],ad:function(a){if(a.previousElementSibling)return a.previousElementSibling;do a=a.previousSibling;while(a&&!(a&&1===a.nodeType));return a},Yc:function(a,b){var d=document.createElement("script");d.type="text/javascript";d.src=a;d.onload=b;var c=document.getElementsByTagName("script");0<c.length?c[0].parentNode.insertBefore(d,c[0]):document.body.appendChild(d)},
Rc:function(a){var b={classes:S(a).split(" "),tag_name:a.tagName.toLowerCase()};T(a)&&c.a(a.attributes,function(a){if(U(a.value))b["attr__"+a.name]=a.value});for(var d=1,e=1,g=a;g=this.ad(g);)d++,g.tagName===a.tagName&&e++;b.nth_child=d;b.nth_of_type=e;return b},Ab:function(a){return{$event_type:a,$ce_version:1,$host:window.location.host,$pathname:window.location.pathname}},Nc:function(a){var b=[];c.a(document.querySelectorAll(a.css_selector),function(a){var c;-1<["input","select"].indexOf(a.tagName.toLowerCase())?
c=a.value:a.textContent&&(c=a.textContent);U(c)&&b.push(c)});return b.join(", ")},Pc:function(a){var b={};c.a(this.xb,function(d){c.a(d.event_selectors,function(e){e=document.querySelectorAll(e);c.a(e,function(e){c.g(a,e)&&T(e)&&(b[d.name]=this.Nc(d))},this)},this)},this);return b},Qc:function(a){return"undefined"===typeof a.target?a.srcElement:a.target},dd:function(a,b){var d=this.Qc(a);if(d&&3===d.nodeType)d=d.parentNode;if(pa(d,a)){for(var e=[d],g=d;g.parentNode&&!I(g,"body");)e.push(g.parentNode),
g=g.parentNode;var j=[],f,i=C;c.a(e,function(a){var b=T(a);"a"===a.tagName.toLowerCase()&&(f=a.getAttribute("href"),f=b&&U(f)&&f);b=S(a).split(" ");c.g(b,"mp-no-track")&&(i=n);j.push(this.Rc(a))},this);if(i)return C;var h;(d=oa(d))&&d.length&&(h=d);e=c.extend(this.Ab(a.type),{$elements:j,$el_attr__href:f,$el_text:h},this.Pc(e));b.p("$web_event",e);return n}},fe:function(a){window.location.href=a},Hc:function(a){var b=c.bind(function(b){b=b||window.event;this.dd(b,a)},this);c.G(document,"submit",b,
C,n);c.G(document,"change",b,C,n);c.G(document,"click",b,C,n)},xb:{},Y:function(a){if(!document||!document.body){console.log("document not ready yet, trying again in 500 milliseconds...");var b=this;setTimeout(function(){b.Y(a)},500)}else{var d=a.c("token");if(-1<this.Cb.indexOf(d))console.log('autotrack already initialized for token "'+d+'"');else if(this.Cb.push(d),!this.Zc(a)){var e=c.bind(function(b){if(b&&b.config&&b.config.enable_collect_everything===n){if(b.custom_properties)this.xb=b.custom_properties;
a.p("$web_event",c.extend({$title:document.title},this.Ab("pageview")));this.Hc(a)}else a.__autotrack_enabled=C},this);a.i(a.c("api_host")+"/decide/",{verbose:n,version:"1",lib:"web",token:d},a.fa(e))}}},yb:function(a,b){var d;try{var e=c.ja(b,"state"),e=JSON.parse(decodeURIComponent(e)),g=c.ja(b,"expires_in");d={accessToken:c.ja(b,"access_token"),accessTokenExpiresAt:(new Date).getTime()+1E3*Number(g),bookmarkletMode:!!e.bookmarkletMode,projectId:e.projectId,projectOwnerId:e.projectOwnerId,projectToken:e.token,
readOnly:e.readOnly,userFlags:e.userFlags,userId:e.userId};window.sessionStorage.setItem("editorParams",JSON.stringify(d));e.desiredHash?window.location.hash=e.desiredHash:window.history?history.replaceState("",document.title,window.location.pathname+window.location.search):window.location.hash=""}catch(j){console.error("Unable to parse data from hash",j)}return d},Zc:function(a){try{var b=C;if(c.ja(window.location.hash,"state"))var d=c.ja(window.location.hash,"state"),d=JSON.parse(decodeURIComponent(d)),
b="mpeditor"===d.action;var e=!!window.sessionStorage.getItem("_mpcehash"),g;b?g=this.yb(a,window.location.hash):e?(g=this.yb(a,window.sessionStorage.getItem("_mpcehash")),window.sessionStorage.removeItem("_mpcehash")):g=JSON.parse(window.sessionStorage.getItem("editorParams")||"{}");return g.projectToken&&a.c("token")===g.projectToken?(this.Xc(a,g),n):C}catch(j){return C}},Xc:function(a,b){return!window._mpEditorLoaded?(window._mpEditorLoaded=n,this.Yc(a.c("app_host")+"/js-bundle/reports/collect-everything/editor.js?_ts="+
(new Date).getTime(),function(){window.mp_load_editor(b)}),n):C},sd:function(a,b,d){for(var b=!c.e(b)?b:10,d=!c.e(d)?d:10,e=0,g=0;g<a.length;g++)e+=a.charCodeAt(g);return e%b<d},yd:function(){return c.lb(document.querySelectorAll)}};c.Lb(N);c.Id(N);var ua="__mp_opt_in_out_",z={nc:function(a,b){var d={},e={};c.h(a)?c.a(a,function(a,b){this.L(b)||(e[b]=a)},this):e[a]=b;d.$set=e;return d},wc:function(a){var b={},d=[];c.isArray(a)||(a=[a]);c.a(a,function(a){this.L(a)||d.push(a)},this);b.$unset=d;return b},
qc:function(a,b){var d={},e={};c.h(a)?c.a(a,function(a,b){this.L(b)||(e[b]=a)},this):e[a]=b;d.$set_once=e;return d},vc:function(a,b){var d={},e={};c.h(a)?c.a(a,function(a,b){this.L(b)||(e[b]=c.isArray(a)?a:[a])},this):e[a]=c.isArray(b)?b:[b];d.$union=e;return d},hd:function(a,b){var d={},e={};c.h(a)?c.a(a,function(a,b){this.L(b)||(e[b]=a)},this):e[a]=b;d.$append=e;return d},lc:function(a,b){var d={},e={};c.h(a)?c.a(a,function(a,b){this.L(b)||(e[b]=a)},this):e[a]=b;d.$remove=e;return d},je:function(){return{$delete:""}}};
c.extend(u.prototype,z);u.prototype.ea=function(a,b,c){this.d=a;this.Ua=b;this.Ta=c};u.prototype.set=K(function(a,b,d){var e=this.nc(a,b);c.h(a)&&(d=b);return this.i(e,d)});u.prototype.Fa=K(function(a,b,d){var e=this.qc(a,b);c.h(a)&&(d=b);return this.i(e,d)});u.prototype.Ja=K(function(a,b){return this.i(this.wc(a),b)});u.prototype.qa=K(function(a,b,d){c.h(a)&&(d=b);return this.i(this.vc(a,b),d)});u.prototype["delete"]=K(function(a){return this.i({$delete:""},a)});u.prototype.remove=K(function(a,b,
c){return this.i(this.lc(a,b),c)});u.prototype.i=function(a,b){a.$group_key=this.Ua;a.$group_id=this.Ta;a.$token=this.K("token");var d=c.cb(a),e=c.truncate(d,255),d=c.aa(d),d=c.Za(d);console.log(a);this.d.i(this.d.c("api_host")+"/groups/",{data:d},this.d.fa(b,e));return e};u.prototype.L=function(a){return"$group_key"===a||"$group_id"===a};u.prototype.K=function(a){return this.d.c(a)};u.prototype.toString=function(){return this.d.toString()+".group."+this.Ua+"."+this.Ta};u.prototype.remove=u.prototype.remove;
u.prototype.set=u.prototype.set;u.prototype.set_once=u.prototype.Fa;u.prototype.union=u.prototype.qa;u.prototype.unset=u.prototype.Ja;u.prototype.toString=u.prototype.toString;var $,w,va="__mps,__mpso,__mpus,__mpa,__mpap,__mpr,__mpu,$people_distinct_id,__alias,__cmpns,__timers".split(","),Z=t.XMLHttpRequest&&"withCredentials"in new XMLHttpRequest,fa=!Z&&-1===x.indexOf("MSIE")&&-1===x.indexOf("Mozilla"),wa={api_host:"https://api.mixpanel.com",app_host:"https://mixpanel.com",autotrack:n,cdn:"https://cdn.mxpnl.com",
cross_subdomain_cookie:n,persistence:"cookie",persistence_name:"",cookie_name:"",loaded:G(),store_google:n,save_referrer:n,test:C,verbose:C,img:C,track_pageview:n,debug:C,track_links_timeout:300,cookie_expiration:365,upgrade:C,disable_persistence:C,disable_cookie:C,secure_cookie:C,ip:n,opt_out_tracking_by_default:C,opt_out_tracking_persistence_type:"localStorage",opt_out_tracking_cookie_prefix:s,property_blacklist:[],xhr_headers:{}},ea=C;B.prototype.Ca=G();B.prototype.eb=G();B.prototype.Ya=G();B.prototype.Y=
function(a){this.ec=a;return this};B.prototype.p=function(a,b,d,e){var g=this,j=c.qd(a);if(0===j.length)r.error("The DOM query ("+a+") returned 0 elements");else return c.a(j,function(a){c.G(a,this.hc,function(a){var c={},j=g.Ca(d,this),f=g.ec.c("track_links_timeout");g.eb(a,this,c);t.setTimeout(g.tc(e,j,c,n),f);g.ec.p(b,j,g.tc(e,j,c))})},this),n};B.prototype.tc=function(a,b,c,e){var e=e||C,g=this;return function(){if(!c.kd)c.kd=n,a&&a(e,b)===C||g.Ya(b,c,e)}};B.prototype.Ca=function(a,b){return"function"===
typeof a?a(b):c.extend({},a)};c.$b(H,B);H.prototype.Ca=function(a,b){var c=H.Sd.Ca.apply(this,arguments);if(b.href)c.url=b.href;return c};H.prototype.eb=function(a,b,c){c.fc=2===a.which||a.metaKey||a.ctrlKey||"_blank"===b.target;c.href=b.href;c.fc||a.preventDefault()};H.prototype.Ya=function(a,b){b.fc||setTimeout(function(){t.location=b.href},0)};c.$b(R,B);R.prototype.eb=function(a,b,c){c.element=b;a.preventDefault()};R.prototype.Ya=function(a,b){setTimeout(function(){b.element.submit()},0)};p.prototype.oa=
function(){var a={};c.a(this.props,function(b,d){c.Yb(va,d)||(a[d]=b)});return a};p.prototype.load=function(){if(!this.disabled){var a=this.w.parse(this.name);a&&(this.props=c.extend({},a))}};p.prototype.ae=function(a){var b=a.upgrade,d;if(b)d="mp_super_properties","string"===typeof b&&(d=b),b=this.w.parse(d),this.w.remove(d),this.w.remove(d,n),b&&(this.props=c.extend(this.props,b.all,b.events));if(!a.cookie_name&&"mixpanel"!==a.name&&(d="mp_"+a.token+"_"+a.name,b=this.w.parse(d)))this.w.remove(d),
this.w.remove(d,n),this.H(b);this.w===c.localStorage&&(b=c.cookie.parse(this.name),c.cookie.remove(this.name),c.cookie.remove(this.name,n),b&&this.H(b))};p.prototype.save=function(){this.disabled||(this.Mc(),this.w.set(this.name,c.aa(this.props),this.fb,this.ab,this.mc))};p.prototype.remove=function(){this.w.remove(this.name,C);this.w.remove(this.name,n)};p.prototype.clear=function(){this.remove();this.props={}};p.prototype.H=function(a,b,d){return c.h(a)?("undefined"===typeof b&&(b="None"),this.fb=
"undefined"===typeof d?this.Tb:d,c.a(a,function(a,c){if(!this.props.hasOwnProperty(c)||this.props[c]===b)this.props[c]=a},this),this.save(),n):C};p.prototype.v=function(a,b){return c.h(a)?(this.fb="undefined"===typeof b?this.Tb:b,c.extend(this.props,a),this.save(),n):C};p.prototype.ra=function(a){a in this.props&&(delete this.props[a],this.save())};p.prototype.Mc=c.m(function(){var a=this.props.__cmpns,b=E?6E4:36E5;if(a){for(var d in a)1*new Date-a[d]>b&&delete a[d];c.la(a)&&delete this.props.__cmpns}});
p.prototype.$d=function(){if(!this.Nb)this.H(c.info.ld()),this.Nb=n};p.prototype.yc=function(a){this.v(c.info.Kd(a))};p.prototype.tb=function(a){this.H({$initial_referrer:a||"$direct",$initial_referring_domain:c.info.kc(a)||"$direct"},"")};p.prototype.wd=function(){return c.Ga({$initial_referrer:this.props.$initial_referrer,$initial_referring_domain:this.props.$initial_referring_domain})};p.prototype.xc=function(a){this.Tb=this.fb=a.cookie_expiration;this.pc(a.disable_persistence);this.Md(a.cross_subdomain_cookie);
this.Pd(a.secure_cookie)};p.prototype.pc=function(a){(this.disabled=a)?this.remove():this.save()};p.prototype.Md=function(a){if(a!==this.ab)this.ab=a,this.remove(),this.save()};p.prototype.ud=function(){return this.ab};p.prototype.Pd=function(a){if(a!==this.mc)this.mc=a?n:C,this.remove(),this.save()};p.prototype.B=function(a,b){var d=this.Sa(a),e=b[a],g=this.O("$set"),j=this.O("$set_once"),f=this.O("$unset"),i=this.O("$add"),h=this.O("$union"),l=this.O("$remove",[]),q=this.O("$append",[]);"__mps"===
d?(c.extend(g,e),this.D("$add",e),this.D("$union",e),this.D("$unset",e)):"__mpso"===d?(c.a(e,function(a,b){b in j||(j[b]=a)}),this.D("$unset",e)):"__mpus"===d?c.a(e,function(a){c.a([g,j,i,h],function(b){a in b&&delete b[a]});c.a(q,function(b){a in b&&delete b[a]});f[a]=n}):"__mpa"===d?(c.a(e,function(a,b){b in g?g[b]+=a:(b in i||(i[b]=0),i[b]+=a)},this),this.D("$unset",e)):"__mpu"===d?(c.a(e,function(a,b){c.isArray(a)&&(b in h||(h[b]=[]),h[b]=h[b].concat(a))}),this.D("$unset",e)):"__mpr"===d?(l.push(e),
this.D("$append",e)):"__mpap"===d&&(q.push(e),this.D("$unset",e));r.log("MIXPANEL PEOPLE REQUEST (QUEUED, PENDING IDENTIFY):");r.log(b);this.save()};p.prototype.D=function(a,b){var d=this.xa(a);c.e(d)||(c.a(b,function(b,g){"$append"===a||"$remove"===a?c.a(d,function(a){a[g]===b&&delete a[g]}):delete d[g]},this),this.save())};p.prototype.Sa=function(a){if("$set"===a)return"__mps";if("$set_once"===a)return"__mpso";if("$unset"===a)return"__mpus";if("$add"===a)return"__mpa";if("$append"===a)return"__mpap";
if("$remove"===a)return"__mpr";if("$union"===a)return"__mpu";r.error("Invalid queue:",a)};p.prototype.xa=function(a){return this.props[this.Sa(a)]};p.prototype.O=function(a,b){var d=this.Sa(a),b=c.e(b)?{}:b;return this.props[d]||(this.props[d]=b)};p.prototype.Nd=function(a){var b=this.props.__timers||{};b[a]=(new Date).getTime();this.props.__timers=b;this.save()};p.prototype.Fd=function(a){var b=(this.props.__timers||{})[a];c.e(b)||(delete this.props.__timers[a],this.save());return b};var h;c.extend(l.prototype,
z);f.prototype.Y=function(a,b,d){if(c.e(d))r.error("You must name your new library: init(token, config, name)");else if("mixpanel"===d)r.error("You must initialize the main mixpanel object right after you include the Mixpanel js snippet");else return a=Q(a,b,d),w[d]=a,a.ya(),a};f.prototype.ea=function(a,b,d){this.__loaded=n;this.config={};this.oc(c.extend({},wa,b,{name:d,token:a,callback_fn:("mixpanel"===d?d:"mixpanel."+d)+"._jsc"}));this._jsc=G();this.Pa=[];this.Qa=[];this.Oa=[];this.V={disable_all_events:C,
identify_called:C};this.persistence=this.cookie=new p(this.config);this.Sc();a=c.ub();this.Q()||this.H({distinct_id:a,$device_id:a},"")};f.prototype.za=function(){var a=this.c("disable_persistence")||this.ka();this.persistence.disabled!==a&&this.persistence.pc(a)};f.prototype.ya=function(){this.c("loaded")(this);this.c("track_pageview")&&this.uc()};f.prototype.Kc=function(){c.a(this.Pa,function(a){this.Wa.apply(this,a)},this);this.ka()||c.a(this.Qa,function(a){this.i.apply(this,a)},this);delete this.Pa;
delete this.Qa};f.prototype.Wa=function(a,b){if(this.c("img"))return r.error("You can't use DOM tracking functions with img = true."),C;if(!ea)return this.Pa.push([a,b]),C;var c=(new a).Y(this);return c.p.apply(c,b)};f.prototype.fa=function(a,b){if(c.e(a))return s;if(Z)return function(c){a(c,b)};var d=this._jsc,e=""+Math.floor(1E8*Math.random()),g=this.c("callback_fn")+"["+e+"]";d[e]=function(c){delete d[e];a(c,b)};return g};f.prototype.i=function(a,b,d){if(fa)this.Qa.push(arguments);else{var e=this.c("verbose");
b.verbose&&(e=n);this.c("test")&&(b.test=1);e&&(b.verbose=1);this.c("img")&&(b.img=1);if(!Z)if(d)b.callback=d;else if(e||this.c("test"))b.callback="(function(){})";b.ip=this.c("ip")?1:0;b._=(new Date).getTime().toString();a+="?"+c.Dc(b);if("img"in b){var g=o.createElement("img");g.src=a;o.body.appendChild(g)}else if(Z)try{var j=new XMLHttpRequest;j.open("GET",a,n);c.a(this.c("xhr_headers"),function(a,b){j.setRequestHeader(b,a)});j.withCredentials=n;j.onreadystatechange=function(){if(4===j.readyState)if(200===
j.status){if(d)if(e){var a;try{a=c.ua(j.responseText)}catch(b){r.error(b);return}d(a)}else d(Number(j.responseText))}else a="Bad HTTP status: "+j.status+" "+j.statusText,r.error(a),d&&(e?d({status:0,error:a}):d(0))};j.send(s)}catch(f){r.error(f)}else{g=o.createElement("script");g.type="text/javascript";g.async=n;g.defer=n;g.src=a;var i=o.getElementsByTagName("script")[0];i.parentNode.insertBefore(g,i)}}};f.prototype.Ra=function(a){function b(a,b){c.a(a,function(a){if(c.isArray(a[0])){var d=b;c.a(a,
function(a){d=d[a[0]].apply(d,a.slice(1))})}else this[a[0]].apply(this,a.slice(1))},b)}var d,e=[],g=[],f=[];c.a(a,function(a){a&&(d=a[0],c.isArray(d)?f.push(a):"function"===typeof a?a.call(this):c.isArray(a)&&"alias"===d?e.push(a):c.isArray(a)&&-1!==d.indexOf("track")&&"function"===typeof this[d]?f.push(a):g.push(a))},this);b(e,this);b(g,this);b(f,this)};f.prototype.push=function(a){this.Ra([a])};f.prototype.disable=function(a){"undefined"===typeof a?this.V.nd=n:this.Oa=this.Oa.concat(a)};f.prototype.p=
J(function(a,b,d){"function"!==typeof d&&(d=G());if(c.e(a))r.error("No event name provided to mixpanel.track");else if(this.zb(a))d(0);else{b=b||{};b.token=this.c("token");var e=this.persistence.Fd(a);c.e(e)||(b.$duration=parseFloat((((new Date).getTime()-e)/1E3).toFixed(3)));this.persistence.yc(o.referrer);this.c("store_google")&&this.persistence.$d();this.c("save_referrer")&&this.persistence.tb(o.referrer);b=c.extend({},c.info.oa(),this.persistence.oa(),b);e=this.c("property_blacklist");c.isArray(e)?
c.a(e,function(a){delete b[a]}):r.error("Invalid value for property_blacklist config: "+e);a=c.truncate({event:a,properties:b},255);e=c.aa(a);e=c.Za(e);r.log("MIXPANEL REQUEST:");r.log(a);this.i(this.c("api_host")+"/track/",{data:e},this.fa(d,a));return a}});f.prototype.Od=J(function(a,b,d){c.isArray(b)||(b=[b]);var e={};e[a]=b;this.v(e);return this.people.set(a,b,d)});f.prototype.fd=J(function(a,b,c){var e=this.M(a);if(e===m){var g={};g[a]=[b];this.v(g)}else-1===e.indexOf(b)&&(e.push(b),this.v(g));
return this.people.qa(a,b,c)});f.prototype.Gd=J(function(a,b,c){var e=this.M(a);if(e!==m){var g=e.indexOf(b);-1<g&&(e.splice(g,1),this.v({le:e}));0===e.length&&this.ra(a)}return this.people.remove(a,b,c)});f.prototype.Zd=J(function(a,b,d,e){var g=c.extend({},b||{});c.a(d,function(a,b){a!==s&&a!==m&&(g[b]=a)});return this.p(a,g,e)});f.prototype.Jc=function(a,b){return a+"_"+JSON.stringify(b)};f.prototype.vd=function(a,b){var c=this.Jc(a,b),e=this.vb[c];if(e===m||e.Ua!==a||e.Ta!==b)e=new u,e.ea(this,
a,b),this.vb[c]=e;return e};f.prototype.uc=function(a){if(c.e(a))a=o.location.href;this.p("mp_page_view",c.info.Dd(a))};f.prototype.Yd=function(){return this.Wa.call(this,H,arguments)};f.prototype.Xd=function(){return this.Wa.call(this,R,arguments)};f.prototype.Td=function(a){c.e(a)?r.error("No event name provided to mixpanel.time_event"):this.zb(a)||this.persistence.Nd(a)};f.prototype.v=function(a,b){this.persistence.v(a,b)};f.prototype.H=function(a,b,c){this.persistence.H(a,b,c)};f.prototype.ra=
function(a){this.persistence.ra(a)};f.prototype.Fb=function(a,b){var c={};c[a]=b;this.v(c)};f.prototype.ib=function(a,b,c,e,g,f,h,i){var l=this.Q();this.v({$user_id:a});a!==l&&a!==this.M("__alias")&&(this.ra("__alias"),this.v({distinct_id:a}));this.wb(this.Q());this.V.jb=n;this.people.Oc(b,c,e,g,f,h,i)};f.prototype.reset=function(){this.persistence.clear();this.V.jb=C;var a=c.ub();this.H({distinct_id:a,$device_id:a},"")};f.prototype.Q=function(){return this.M("distinct_id")};f.prototype.gd=function(a,
b){if(a===this.M("$people_distinct_id"))return r.X("Attempting to create alias for existing People user - aborting."),-2;var d=this;c.e(b)&&(b=this.Q());if(a!==b)return this.Fb("__alias",a),this.p("$create_alias",{alias:a,distinct_id:b},function(){d.ib(a)});r.error("alias matches current distinct_id - skipping api call.");this.ib(a);return-1};f.prototype.Bd=function(a){this.Fb("mp_name_tag",a)};f.prototype.oc=function(a){if(c.h(a))c.extend(this.config,a),this.c("persistence_name")||(this.config.persistence_name=
this.config.cookie_name),this.c("disable_persistence")||(this.config.disable_persistence=this.config.disable_cookie),this.persistence&&this.persistence.xc(this.config),E=E||this.c("debug")};f.prototype.c=function(a){return this.config[a]};f.prototype.M=function(a){return this.persistence.props[a]};f.prototype.toString=function(){var a=this.c("name");"mixpanel"!==a&&(a="mixpanel."+a);return a};f.prototype.zb=function(a){return c.ac(x)||this.V.nd||c.Yb(this.Oa,a)};f.prototype.wb=J(function(a){if(a&&
!this.V.jb&&!this.c("disable_notifications")){r.log("MIXPANEL NOTIFICATION CHECK");var b=this;this.i(this.c("api_host")+"/decide/",{verbose:n,version:"2",lib:"web",token:this.c("token"),distinct_id:a},this.fa(function(a){a.notifications&&0<a.notifications.length&&b.Ib.call(b,a.notifications[0])}))}});f.prototype.Ib=function(a){(new h(a,this)).show()};f.prototype.Sc=function(){"localStorage"===this.c("opt_out_tracking_persistence_type")&&c.localStorage.mb()&&(!this.hb()&&this.hb({persistence_type:"cookie"})&&
this.gc(),!this.ka()&&this.ka({persistence_type:"cookie"})&&this.pb(),this.Qb({persistence_type:"cookie"}));if(this.c("opt_out_tracking_by_default")||c.cookie.get("mp_optout"))c.cookie.remove("mp_optout"),this.pb();this.za()};f.prototype.ca=function(a,b){b=c.extend({track:c.bind(this.p,this),persistence_type:this.c("opt_out_tracking_persistence_type"),cookie_prefix:this.c("opt_out_tracking_cookie_prefix"),cookie_expiration:this.c("cookie_expiration"),cross_subdomain_cookie:this.c("cross_subdomain_cookie"),
secure_cookie:this.c("secure_cookie")},b);c.localStorage.mb()||(b.persistence_type="cookie");return a(this.c("token"),{p:b.track,Ud:b.track_event_name,Vd:b.track_properties,jc:b.persistence_type,ic:b.cookie_prefix,Rb:b.cookie_expiration,Sb:b.cross_subdomain_cookie,Ld:b.secure_cookie})};f.prototype.gc=function(a){this.ca(qa,a);this.za()};f.prototype.pb=function(a){a=c.extend({delete_user:n},a);a.delete_user&&this.people&&this.people.Va()&&(this.people.Ub(),this.people.Pb());this.ca(ra,a);this.za()};
f.prototype.hb=function(a){return this.ca(sa,a)};f.prototype.ka=function(a){return this.ca(ha,a)};f.prototype.Qb=function(a){this.ca(ta,a);this.za()};l.prototype.ea=function(a){this.d=a};l.prototype.set=F(function(a,b,d){var e=this.nc(a,b);c.h(a)&&(d=b);this.K("save_referrer")&&this.d.persistence.tb(o.referrer);e.$set=c.extend({},c.info.Ed(),this.d.persistence.wd(),e.$set);return this.i(e,d)});l.prototype.Fa=F(function(a,b,d){var e=this.qc(a,b);c.h(a)&&(d=b);return this.i(e,d)});l.prototype.Ja=F(function(a,
b){return this.i(this.wc(a),b)});l.prototype.Zb=F(function(a,b,d){var e={},g={};c.h(a)?(c.a(a,function(a,b){this.L(b)||(isNaN(parseFloat(a))?r.error("Invalid increment value passed to mixpanel.people.increment - must be a number"):g[b]=a)},this),d=b):(c.e(b)&&(b=1),g[a]=b);e.$add=g;return this.i(e,d)});l.prototype.append=F(function(a,b,d){c.h(a)&&(d=b);return this.i(this.hd(a,b),d)});l.prototype.remove=F(function(a,b,d){c.h(a)&&(d=b);return this.i(this.lc(a,b),d)});l.prototype.qa=F(function(a,b,d){c.h(a)&&
(d=b);return this.i(this.vc(a,b),d)});l.prototype.Wd=F(function(a,b,d){if(!c.bc(a)&&(a=parseFloat(a),isNaN(a))){r.error("Invalid value passed to mixpanel.people.track_charge - must be a number");return}return this.append("$transactions",c.extend({$amount:a},b),d)});l.prototype.Pb=function(a){return this.set("$transactions",[],a)};l.prototype.Ub=function(){if(this.Va())return this.i({$delete:this.d.Q()});r.error("mixpanel.people.delete_user() requires you to call identify() first")};l.prototype.toString=
function(){return this.d.toString()+".people"};l.prototype.i=function(a,b){a.$token=this.K("token");a.$distinct_id=this.d.Q();var d=this.d.M("$device_id"),e=this.d.M("$user_id");d&&(a.$device_id=d);e&&(a.$user_id=e);e=c.cb(a);d=c.truncate(e,255);e=c.aa(e);e=c.Za(e);if(!this.Va())return this.Lc(a),c.e(b)||(this.K("verbose")?b({status:-1,error:s}):b(-1)),d;r.log("MIXPANEL PEOPLE REQUEST:");r.log(d);this.d.i(this.K("api_host")+"/engage/",{data:e},this.d.fa(b,d));return d};l.prototype.K=function(a){return this.d.c(a)};
l.prototype.Va=function(){return this.d.V.jb===n};l.prototype.Lc=function(a){"$set"in a?this.d.persistence.B("$set",a):"$set_once"in a?this.d.persistence.B("$set_once",a):"$unset"in a?this.d.persistence.B("$unset",a):"$add"in a?this.d.persistence.B("$add",a):"$append"in a?this.d.persistence.B("$append",a):"$remove"in a?this.d.persistence.B("$remove",a):"$union"in a?this.d.persistence.B("$union",a):r.error("Invalid call to _enqueue():",a)};l.prototype.da=function(a,b,d,e){var g=this,f=c.extend({},
this.d.persistence.xa(a)),h=f;!c.e(f)&&c.h(f)&&!c.la(f)&&(g.d.persistence.D(a,f),e&&(h=e(f)),b.call(g,h,function(b,e){0===b&&g.d.persistence.B(a,f);c.e(d)||d(b,e)}))};l.prototype.Oc=function(a,b,d,e,g,f,h){var i=this,l=this.d.persistence.xa("$append"),o=this.d.persistence.xa("$remove");this.da("$set",this.set,a);this.da("$set_once",this.Fa,e);this.da("$unset",this.Ja,f,function(a){return c.keys(a)});this.da("$add",this.Zb,b);this.da("$union",this.qa,g);if(!c.e(l)&&c.isArray(l)&&l.length){for(var q,
a=function(a,b){0===a&&i.d.persistence.B("$append",q);c.e(d)||d(a,b)},b=l.length-1;0<=b;b--)q=l.pop(),c.la(q)||i.append(q,a);i.d.persistence.save()}if(!c.e(o)&&c.isArray(o)&&o.length){for(var p,l=function(a,b){0===a&&i.d.persistence.B("$remove",p);c.e(h)||h(a,b)},a=o.length-1;0<=a;a--)p=o.pop(),c.la(p)||i.remove(p,l);i.d.persistence.save()}};l.prototype.L=function(a){return"$distinct_id"===a||"$token"===a||"$device_id"===a||"$user_id"===a};f.Gc=function(a,b){c.Lb(this);this.ob=b;this.rb=this.ob.persistence;
this.F=c.P(a.id);this.dc=c.P(a.message_id);this.body=(c.P(a.body)||"").replace(/\n/g,"<br/>");this.md=c.P(a.cta)||"Close";this.ma=c.P(a.type)||"takeover";this.style=c.P(a.style)||"light";this.title=c.P(a.title)||"";this.sa=h.Fc;this.$=h.Ec;this.ia=a.cta_url||s;this.kb=a.image_url||s;this.R=a.thumb_image_url||s;this.Ka=a.video_url||s;this.Ba=n;if(!this.ia)this.ia="#dismiss",this.Ba=C;this.u="mini"===this.ma;if(!this.u)this.ma="takeover";this.Cd=!this.u?h.ba:h.La;this.Hb();this.Da=this.Tc();this.Wc()};
h=f.Gc;h.S=200;h.z="mixpanel-notification";h.ta=0.6;h.J=25;h.va=200;h.ba=388;h.La=420;h.A=85;h.Ma=5;h.N=60;h.Na=Math.round(h.N/2);h.Fc=595;h.Ec=334;h.prototype.show=function(){var a=this;this.Hb();this.q?(this.Vc(),this.Uc(),this.$c(this.Ic)):setTimeout(function(){a.show()},300)};h.prototype.bb=c.m(function(){this.cc||this.Eb({invisible:n});var a=this.Qd?this.k("video"):this.W();if(this.zc)this.bd("bg","visible"),this.T(a,"exiting"),setTimeout(this.Gb,h.S);else{var b,c,e;this.u?(b="right",c=20,e=
-100):(b="top",c=h.J,e=h.va+h.J);this.wa([{s:this.k("bg"),o:"opacity",start:h.ta,l:0},{s:a,o:"opacity",start:1,l:0},{s:a,o:b,start:c,l:e}],h.S,this.Gb)}});h.prototype.T=c.m(function(a,b){b=h.z+"-"+b;"string"===typeof a&&(a=this.k(a));a.className?~(" "+a.className+" ").indexOf(" "+b+" ")||(a.className+=" "+b):a.className=b});h.prototype.bd=c.m(function(a,b){b=h.z+"-"+b;"string"===typeof a&&(a=this.k(a));if(a.className)a.className=(" "+a.className+" ").replace(" "+b+" ","").replace(/^[\s\xA0]+/,"").replace(/[\s\xA0]+$/,
"")});h.prototype.wa=c.m(function(a,b,c,e){var g=this,f=C,h,i;h=1*new Date;var l,e=e||h;l=h-e;for(h=0;h<a.length;h++){i=a[h];if("undefined"===typeof i.I)i.I=i.start;if(i.I!==i.l){var f=n,o=i.l>=i.start?1:-1;i.I=i.start+(i.l-i.start)*l/b;if("opacity"!==i.o)i.I=Math.round(i.I);if(0<o&&i.I>=i.l||0>o&&i.I<=i.l)i.I=i.l}}if(f){for(h=0;h<a.length;h++)i=a[h],i.s&&(i.s.style[i.o]=""+i.I+("opacity"===i.o?"":"px"));setTimeout(function(){g.wa(a,b,c,e)},10)}else c&&c()});h.prototype.Ic=c.m(function(){var a=this;
if(!this.Rd&&!this.Bb()[this.F])this.Rd=n,this.q.appendChild(this.na),setTimeout(function(){var b=a.W();if(a.zc)a.u||a.T("bg","visible"),a.T(b,"visible"),a.Db();else{var c,e,g;a.u?(c="right",e=-100,g=20):(c="top",e=h.va+h.J,g=h.J);a.wa([{s:a.k("bg"),o:"opacity",start:0,l:h.ta},{s:b,o:"opacity",start:0,l:1},{s:b,o:c,start:e,l:g}],h.S,a.Db)}},100),c.G(a.k("cancel"),"click",function(b){b.preventDefault();a.bb()}),c.G(a.k("button")||a.k("mini-content"),"click",function(b){b.preventDefault();a.Z?(a.Xa("$campaign_open",
{$resource_type:"video"}),a.cd()):(a.bb(),a.Ba&&a.Xa("$campaign_open",{$resource_type:"link"},function(){t.location.href=a.ia}))})});h.prototype.k=function(a){return o.getElementById(h.z+"-"+a)};h.prototype.W=function(){return this.k(this.ma)};h.prototype.Bb=function(){return this.rb.props.__cmpns||(this.rb.props.__cmpns={})};h.prototype.U=function(a,b){return this.C[a]&&this.C[a]<=b};h.prototype.Tc=function(){var a=[];this.u?(this.R=this.R||"//cdn.mxpnl.com/site_media/images/icons/notifications/mini-news-dark.png",
a.push(this.R)):(this.kb?(a.push(this.kb),this.Xb='<img id="img" src="'+this.kb+'"/>'):this.Xb="",this.R?(a.push(this.R),this.sc='<div id="thumbborder-wrapper"><div id="thumbborder"></div></div><img id="thumbnail" src="'+this.R+'" width="'+h.N+'" height="'+h.N+'"/><div id="thumbspacer"></div>'):this.sc="");return a};h.prototype.Uc=function(){var a="",b="",c="";this.na=o.createElement("div");this.na.id=h.z+"-wrapper";if(this.u)a='<div id="mini"><div id="mainbox"><div id="cancel"><div id="cancel-icon"></div></div><div id="mini-content"><div id="mini-icon"><div id="mini-icon-img"></div></div><div id="body"><div id="body-text"><div>'+
this.body+'</div></div></div></div></div><div id="mini-border"></div></div>';else{var a=this.Ba||this.Z?"":'<div id="button-close"></div>',e=this.Z?'<div id="button-play"></div>':"";this.U("ie",7)&&(e=a="");a='<div id="takeover">'+this.sc+'<div id="mainbox"><div id="cancel"><div id="cancel-icon"></div></div><div id="content">'+this.Xb+'<div id="title">'+this.title+'</div><div id="body">'+this.body+'</div><div id="tagline"><a href="http://mixpanel.com?from=inapp" target="_blank">POWERED BY MIXPANEL</a></div></div><div id="button">'+
a+'<a id="button-link" href="'+this.ia+'">'+this.md+"</a>"+e+"</div></div></div>"}this.Bc?(b="//www.youtube.com/embed/"+this.Bc+"?wmode=transparent&showinfo=0&modestbranding=0&rel=0&autoplay=1&loop=0&vq=hd1080",this.Cc&&(b+="&enablejsapi=1&html5=1&controls=0",c='<div id="video-controls"><div id="video-progress" class="video-progress-el"><div id="video-progress-total" class="video-progress-el"></div><div id="video-elapsed" class="video-progress-el"></div></div><div id="video-time" class="video-progress-el"></div></div>')):
this.Ac&&(b="//player.vimeo.com/video/"+this.Ac+"?autoplay=1&title=0&byline=0&portrait=0");if(this.Z)this.de='<iframe id="'+h.z+'-video-frame" width="'+this.sa+'" height="'+this.$+'"  src="'+b+'" frameborder="0" webkitallowfullscreen mozallowfullscreen allowfullscreen="1" scrolling="no"></iframe>',c='<div id="video-'+(this.gb?"":"no")+'flip"><div id="video"><div id="video-holder"></div>'+c+"</div></div>";b=c+a;this.gb&&(b=(this.u?a:"")+'<div id="flipcontainer"><div id="flipper">'+(this.u?c:b)+"</div></div>");
this.na.innerHTML=('<div id="overlay" class="'+this.ma+'"><div id="campaignid-'+this.F+'"><div id="bgwrapper"><div id="bg"></div>'+b+"</div></div></div>").replace(/class=\"/g,'class="'+h.z+"-").replace(/id=\"/g,'id="'+h.z+"-")};h.prototype.Vc=function(){this.j="dark"===this.style?{$a:"#1d1f25",ga:"#282b32",Aa:"#3a4147",Kb:"#4a5157",jd:"#32353c",Ob:"0.4",nb:"#2a3137",Ia:"#fff",sb:"#9498a3",rc:"#464851",Ha:"#ddd"}:{$a:"#fff",ga:"#e7eaee",Aa:"#eceff3",Kb:"#f5f5f5",jd:"#e4ecf2",Ob:"1.0",nb:"#fafafa",
Ia:"#5c6578",sb:"#8b949b",rc:"#ced9e6",Ha:"#7c8598"};var a="0px 0px 35px 0px rgba(45, 49, 56, 0.7)",b=a,d=a,e=h.N+2*h.Ma,g=h.S/1E3+"s";this.u&&(a="none");var f={};f["@media only screen and (max-width: "+(h.La+20-1)+"px)"]={"#overlay":{display:"none"}};a={".flipped":{transform:"rotateY(180deg)"},"#overlay":{position:"fixed",top:"0",left:"0",width:"100%",height:"100%",overflow:"auto","text-align":"center","z-index":"10000","font-family":'"Helvetica", "Arial", sans-serif',"-webkit-font-smoothing":"antialiased",
"-moz-osx-font-smoothing":"grayscale"},"#overlay.mini":{height:"0",overflow:"visible"},"#overlay a":{width:"initial",padding:"0","text-decoration":"none","text-transform":"none",color:"inherit"},"#bgwrapper":{position:"relative",width:"100%",height:"100%"},"#bg":{position:"fixed",top:"0",left:"0",width:"100%",height:"100%","min-width":4*this.pd+"px","min-height":4*this.od+"px","background-color":"black",opacity:"0.0","-ms-filter":"progid:DXImageTransform.Microsoft.Alpha(Opacity=60)",filter:"alpha(opacity=60)",
transition:"opacity "+g},"#bg.visible":{opacity:h.ta},".mini #bg":{width:"0",height:"0","min-width":"0"},"#flipcontainer":{perspective:"1000px",position:"absolute",width:"100%"},"#flipper":{position:"relative","transform-style":"preserve-3d",transition:"0.3s"},"#takeover":{position:"absolute",left:"50%",width:h.ba+"px","margin-left":Math.round(-h.ba/2)+"px","backface-visibility":"hidden",transform:"rotateY(0deg)",opacity:"0.0",top:h.va+"px",transition:"opacity "+g+", top "+g},"#takeover.visible":{opacity:"1.0",
top:h.J+"px"},"#takeover.exiting":{opacity:"0.0",top:h.va+"px"},"#thumbspacer":{height:h.Na+"px"},"#thumbborder-wrapper":{position:"absolute",top:-h.Ma+"px",left:h.ba/2-h.Na-h.Ma+"px",width:e+"px",height:e/2+"px",overflow:"hidden"},"#thumbborder":{position:"absolute",width:e+"px",height:e+"px","border-radius":e+"px","background-color":this.j.ga,opacity:"0.5"},"#thumbnail":{position:"absolute",top:"0px",left:h.ba/2-h.Na+"px",width:h.N+"px",height:h.N+"px",overflow:"hidden","z-index":"100","border-radius":h.N+
"px"},"#mini":{position:"absolute",right:"20px",top:h.J+"px",width:this.Cd+"px",height:2*h.A+"px","margin-top":20-h.A+"px","backface-visibility":"hidden",opacity:"0.0",transform:"rotateX(90deg)",transition:"opacity 0.3s, transform 0.3s, right 0.3s"},"#mini.visible":{opacity:"1.0",transform:"rotateX(0deg)"},"#mini.exiting":{opacity:"0.0",right:"-150px"},"#mainbox":{"border-radius":"4px","box-shadow":a,"text-align":"center","background-color":this.j.$a,"font-size":"14px",color:this.j.sb},"#mini #mainbox":{height:h.A+
"px","margin-top":h.A+"px","border-radius":"3px",transition:"background-color "+g},"#mini-border":{height:h.A+6+"px",width:h.La+6+"px",position:"absolute",top:"-3px",left:"-3px","margin-top":h.A+"px","border-radius":"6px",opacity:"0.25","background-color":"#fff","z-index":"-1","box-shadow":d},"#mini-icon":{position:"relative",display:"inline-block",width:"75px",height:h.A+"px","border-radius":"3px 0 0 3px","background-color":this.j.ga,background:"linear-gradient(135deg, "+this.j.Kb+" 0%, "+this.j.ga+
" 100%)",transition:"background-color "+g},"#mini:hover #mini-icon":{"background-color":this.j.nb},"#mini:hover #mainbox":{"background-color":this.j.nb},"#mini-icon-img":{position:"absolute","background-image":"url("+this.R+")",width:"48px",height:"48px",top:"20px",left:"12px"},"#content":{padding:"30px 20px 0px 20px"},"#mini-content":{"text-align":"left",height:h.A+"px",cursor:"pointer"},"#img":{width:"328px","margin-top":"30px","border-radius":"5px"},"#title":{"max-height":"600px",overflow:"hidden",
"word-wrap":"break-word",padding:"25px 0px 20px 0px","font-size":"19px","font-weight":"bold",color:this.j.Ia},"#body":{"max-height":"600px","margin-bottom":"25px",overflow:"hidden","word-wrap":"break-word","line-height":"21px","font-size":"15px","font-weight":"normal","text-align":"left"},"#mini #body":{display:"inline-block","max-width":"250px",margin:"0 0 0 30px",height:h.A+"px","font-size":"16px","letter-spacing":"0.8px",color:this.j.Ia},"#mini #body-text":{display:"table",height:h.A+"px"},"#mini #body-text div":{display:"table-cell",
"vertical-align":"middle"},"#tagline":{"margin-bottom":"15px","font-size":"10px","font-weight":"600","letter-spacing":"0.8px",color:"#ccd7e0","text-align":"left"},"#tagline a":{color:this.j.rc,transition:"color "+g},"#tagline a:hover":{color:this.j.Ha},"#cancel":{position:"absolute",right:"0",width:"8px",height:"8px",padding:"10px","border-radius":"20px",margin:"12px 12px 0 0","box-sizing":"content-box",cursor:"pointer",transition:"background-color "+g},"#mini #cancel":{margin:"7px 7px 0 0"},"#cancel-icon":{width:"8px",
height:"8px",overflow:"hidden","background-image":"url(//cdn.mxpnl.com/site_media/images/icons/notifications/cancel-x.png)",opacity:this.j.Ob},"#cancel:hover":{"background-color":this.j.Aa},"#button":{display:"block",height:"60px","line-height":"60px","text-align":"center","background-color":this.j.ga,"border-radius":"0 0 4px 4px",overflow:"hidden",cursor:"pointer",transition:"background-color "+g},"#button-close":{display:"inline-block",width:"9px",height:"60px","margin-right":"8px","vertical-align":"top",
"background-image":"url(//cdn.mxpnl.com/site_media/images/icons/notifications/close-x-"+this.style+".png)","background-repeat":"no-repeat","background-position":"0px 25px"},"#button-play":{display:"inline-block",width:"30px",height:"60px","margin-left":"15px","background-image":"url(//cdn.mxpnl.com/site_media/images/icons/notifications/play-"+this.style+"-small.png)","background-repeat":"no-repeat","background-position":"0px 15px"},"a#button-link":{display:"inline-block","vertical-align":"top","text-align":"center",
"font-size":"17px","font-weight":"bold",overflow:"hidden","word-wrap":"break-word",color:this.j.Ia,transition:"color "+g},"#button:hover":{"background-color":this.j.Aa,color:this.j.Ha},"#button:hover a":{color:this.j.Ha},"#video-noflip":{position:"relative",top:2*-this.$+"px"},"#video-flip":{"backface-visibility":"hidden",transform:"rotateY(180deg)"},"#video":{position:"absolute",width:this.sa-1+"px",height:this.$+"px",top:h.J+"px","margin-top":"100px",left:"50%","margin-left":Math.round(-this.sa/
2)+"px",overflow:"hidden","border-radius":"5px","box-shadow":b,transform:"translateZ(1px)",transition:"opacity "+g+", top "+g},"#video.exiting":{opacity:"0.0",top:this.$+"px"},"#video-holder":{position:"absolute",width:this.sa-1+"px",height:this.$+"px",overflow:"hidden","border-radius":"5px"},"#video-frame":{"margin-left":"-1px",width:this.sa+"px"},"#video-controls":{opacity:"0",transition:"opacity 0.5s"},"#video:hover #video-controls":{opacity:"1.0"},"#video .video-progress-el":{position:"absolute",
bottom:"0",height:"25px","border-radius":"0 0 0 5px"},"#video-progress":{width:"90%"},"#video-progress-total":{width:"100%","background-color":this.j.$a,opacity:"0.7"},"#video-elapsed":{width:"0","background-color":"#6cb6f5",opacity:"0.9"},"#video #video-time":{width:"10%",right:"0","font-size":"11px","line-height":"25px",color:this.j.sb,"background-color":"#666","border-radius":"0 0 5px 0"}};this.U("ie",8)&&c.extend(a,{"* html #overlay":{position:"absolute"},"* html #bg":{position:"absolute"},"html, body":{height:"100%"}});
this.U("ie",7)&&c.extend(a,{"#mini #body":{display:"inline",zoom:"1",border:"1px solid "+this.j.Aa},"#mini #body-text":{padding:"20px"},"#mini #mini-icon":{display:"none"}});var b="backface-visibility,border-radius,box-shadow,opacity,perspective,transform,transform-style,transition".split(","),d=["khtml","moz","ms","o","webkit"],k;for(k in a)for(e=0;e<b.length;e++)if(g=b[e],g in a[k])for(var i=a[k][g],l=0;l<d.length;l++)a[k]["-"+d[l]+"-"+g]=i;(function(a,b){function c(a){var b="",d;for(d in a){var e=
d.replace(/#/g,"#"+h.z+"-").replace(/\./g,"."+h.z+"-"),b=b+("\n"+e+" {"),e=a[d],g;for(g in e)b+=g+":"+e[g]+";";b+="}"}return b}var d=c(a)+function(a){var b="",d;for(d in a)b+="\n"+d+" {"+c(a[d])+"\n}";return b}(b),e=o.head||o.getElementsByTagName("head")[0]||o.documentElement,g=o.createElement("style");e.appendChild(g);g.setAttribute("type","text/css");g.styleSheet?g.styleSheet.cssText=d:g.textContent=d})(a,f)};h.prototype.Wc=c.m(function(){if(this.Ka){var a=this;a.Cc="postMessage"in t;a.ia=a.Ka;
var b=a.Ka.match(/(?:youtube(?:-nocookie)?\.com\/(?:[^\/]+\/.+\/|(?:v|e(?:mbed)?)\/|.*[?&]v=)|youtu\.be\/)([^"&?\/ ]{11})/i),c=a.Ka.match(/vimeo\.com\/.*?(\d+)/i);if(b){if(a.Z=n,a.Bc=b[1],a.Cc)t.onYouTubeIframeAPIReady=function(){a.k("video-frame")&&a.Jb()},b=o.createElement("script"),b.src="//www.youtube.com/iframe_api",c=o.getElementsByTagName("script")[0],c.parentNode.insertBefore(b,c)}else if(c)a.Z=n,a.Ac=c[1];if(a.U("ie",7)||a.U("firefox",3))a.Z=C,a.Ba=n}});h.prototype.Db=c.m(function(){function a(a,
b){var c={};if(o.defaultView&&o.defaultView.getComputedStyle)c=o.defaultView.getComputedStyle(a,s);else if(a.currentStyle)c=a.currentStyle;return c[b]}var b=this;c.G(b.k("bg"),"click",function(){b.bb()});if(this.F){var d=this.k("overlay");d&&"hidden"!==a(d,"visibility")&&"none"!==a(d,"display")&&this.Eb()}});h.prototype.Eb=c.m(function(a){if(!this.cc)this.cc=n,this.F&&(this.Bb()[this.F]=1*new Date,this.rb.save()),this.Xa("$campaign_delivery",a),this.ob.people.append({$campaigns:this.F,$notifications:{campaign_id:this.F,
message_id:this.dc,type:"web",time:new Date}})});h.prototype.$c=function(a){var b=this;if(0===this.Da.length)a();else{for(var c=0,e=[],g=function(){c++;c===b.Da.length&&a&&(a(),a=s)},f=0;f<this.Da.length;f++){var h=new Image;h.onload=g;h.src=this.Da[f];h.complete&&g();e.push(h)}this.U("ie",7)&&setTimeout(function(){var b=n;for(f=0;f<e.length;f++)e[f].complete||(b=C);b&&a&&(a(),a=s)},500)}};h.prototype.Gb=c.m(function(){t.clearInterval(this.ed);this.na.style.visibility="hidden";this.q.removeChild(this.na)});
h.prototype.Hb=function(){function a(a){if(a in e)return n;if(!c)for(var a=a[0].toUpperCase()+a.slice(1),a=["O"+a,"Webkit"+a,"Moz"+a],b=0;b<a.length;b++)if(a[b]in e)return n;return C}function b(a){return(a=navigator.userAgent.match(a))&&a[1]}this.C={};this.C.chrome=b(/Chrome\/(\d+)/);this.C.firefox=b(/Firefox\/(\d+)/);this.C.ie=b(/MSIE (\d+).+/);!this.C.ie&&!t.ActiveXObject&&"ActiveXObject"in t&&(this.C.ie=11);if(this.q=o.body||o.getElementsByTagName("body")[0])this.pd=Math.max(this.q.scrollWidth,
o.documentElement.scrollWidth,this.q.offsetWidth,o.documentElement.offsetWidth,this.q.clientWidth,o.documentElement.clientWidth),this.od=Math.max(this.q.scrollHeight,o.documentElement.scrollHeight,this.q.offsetHeight,o.documentElement.offsetHeight,this.q.clientHeight,o.documentElement.clientHeight);var c=this.C.ie,e=o.createElement("div").style;this.zc=this.q&&a("transition")&&a("transform");this.gb=(33<=this.C.chrome||15<=this.C.firefox)&&this.q&&a("backfaceVisibility")&&a("perspective")&&a("transform")};
h.prototype.cd=c.m(function(){function a(){t.YT&&t.YT.loaded&&b.Jb();b.Qd=n;b.W().style.visibility="hidden"}var b=this,c=[{s:b.W(),o:"opacity",start:1,l:0},{s:b.W(),o:"top",start:h.J,l:-500},{s:b.k("video-noflip"),o:"opacity",start:0,l:1},{s:b.k("video-noflip"),o:"top",start:2*-b.$,l:0}];if(b.u){var e=b.k("bg"),f=b.k("overlay");e.style.width="100%";e.style.height="100%";f.style.width="100%";b.T(b.W(),"exiting");b.T(e,"visible");c.push({s:b.k("bg"),o:"opacity",start:0,l:h.ta})}b.k("video-holder").innerHTML=
b.de;b.gb?(b.T("flipper","flipped"),setTimeout(a,h.S)):b.wa(c,h.S,a)});h.prototype.Xa=function(a,b,d){this.F?(b=b||{},b=c.extend(b,{campaign_id:this.F,message_id:this.dc,message_type:"web_inapp",message_subtype:this.ma}),this.ob.track(a,b,d)):d&&d.call()};h.prototype.Jb=c.m(function(){var a=this;if(!a.ee){a.ee=n;var b=a.k("video-elapsed"),d=a.k("video-time"),e=a.k("video-progress");new t.YT.Player(h.z+"-video-frame",{events:{onReady:function(f){function h(a){var a=Math.round(i-a),b=Math.floor(a/60),
c=Math.floor(b/60),a=a-60*b;d.innerHTML="-"+(c?c+":":"")+("00"+(b-60*c)).slice(-2)+":"+("00"+a).slice(-2)}var k=f.target,i=k.getDuration();h(0);a.ed=t.setInterval(function(){var a=k.getCurrentTime();b.style.width=100*(a/i)+"%";h(a)},250);c.G(e,"click",function(a){a=Math.max(0,a.pageX-e.getBoundingClientRect().left);k.seekTo(i*a/e.clientWidth,n)})}}})}});f.prototype.init=f.prototype.Y;f.prototype.reset=f.prototype.reset;f.prototype.disable=f.prototype.disable;f.prototype.time_event=f.prototype.Td;
f.prototype.track=f.prototype.p;f.prototype.track_links=f.prototype.Yd;f.prototype.track_forms=f.prototype.Xd;f.prototype.track_pageview=f.prototype.uc;f.prototype.register=f.prototype.v;f.prototype.register_once=f.prototype.H;f.prototype.unregister=f.prototype.ra;f.prototype.identify=f.prototype.ib;f.prototype.alias=f.prototype.gd;f.prototype.name_tag=f.prototype.Bd;f.prototype.set_config=f.prototype.oc;f.prototype.get_config=f.prototype.c;f.prototype.get_property=f.prototype.M;f.prototype.get_distinct_id=
f.prototype.Q;f.prototype.toString=f.prototype.toString;f.prototype._check_and_handle_notifications=f.prototype.wb;f.prototype._show_notification=f.prototype.Ib;f.prototype.opt_out_tracking=f.prototype.pb;f.prototype.opt_in_tracking=f.prototype.gc;f.prototype.has_opted_out_tracking=f.prototype.ka;f.prototype.has_opted_in_tracking=f.prototype.hb;f.prototype.clear_opt_in_out_tracking=f.prototype.Qb;f.prototype.get_group=f.prototype.vd;f.prototype.set_group=f.prototype.Od;f.prototype.add_group=f.prototype.fd;
f.prototype.remove_group=f.prototype.Gd;f.prototype.track_with_groups=f.prototype.Zd;p.prototype.properties=p.prototype.oa;p.prototype.update_search_keyword=p.prototype.yc;p.prototype.update_referrer_info=p.prototype.tb;p.prototype.get_cross_subdomain=p.prototype.ud;p.prototype.clear=p.prototype.clear;l.prototype.set=l.prototype.set;l.prototype.set_once=l.prototype.Fa;l.prototype.unset=l.prototype.Ja;l.prototype.increment=l.prototype.Zb;l.prototype.append=l.prototype.append;l.prototype.remove=l.prototype.remove;
l.prototype.union=l.prototype.qa;l.prototype.track_charge=l.prototype.Wd;l.prototype.clear_charges=l.prototype.Pb;l.prototype.delete_user=l.prototype.Ub;l.prototype.toString=l.prototype.toString;c.Hd(f);var D={};(function(){$=1;w=t.mixpanel;c.e(w)?r.X('"mixpanel" object not initialized. Ensure you are using the latest version of the Mixpanel JS Library along with the snippet we provide.'):w.__loaded||w.config&&w.persistence?r.error("Mixpanel library has already been downloaded at least once."):1.1>
(w.__SV||0)?r.X("Version mismatch; please ensure you're using the latest version of the Mixpanel code snippet."):(c.a(w._i,function(a){a&&c.isArray(a)&&(D[a[a.length-1]]=Q.apply(this,a))}),ma(),w.init(),c.a(D,function(a){a.ya()}),la())})()})();
})();
