-
Notifications
You must be signed in to change notification settings - Fork 0
/
metrics-1.1.6.min.js
1 lines (1 loc) · 17.1 KB
/
metrics-1.1.6.min.js
1
!function e(i,n,t){function r(s,a){if(!n[s]){if(!i[s]){var u="function"==typeof require&&require;if(!a&&u)return u(s,!0);if(o)return o(s,!0);throw new Error("Cannot find module '"+s+"'")}var c=n[s]={exports:{}};i[s][0].call(c.exports,function(e){var n=i[s][1][e];return r(n?n:e)},c,c.exports,e,i,n,t)}return n[s].exports}for(var o="function"==typeof require&&require,s=0;s<t.length;s++)r(t[s]);return r}({1:[function(e,i){"use strict";function n(e){if(this.identity={},this._queue=e||[],this._queue.length){for(var i=0;i<this._queue.length;i+=1){var n=this._queue[i];"function"==typeof this[n.method]&&this[n.method].apply(this,n.arguments)}this._queue.length=0}}var t=e("./src/event"),r=e("./src/send"),o=e("./src/browser"),s=e("./src/mixpanel"),a=e("./src/utils"),u=window.metrics?window.metrics._queue:null;n.prototype.init=function(){var i=void 0!==arguments[0]?arguments[0]:{};this.options=i,this.url=(this.options.domain||"//gohone.com")+"/api/1.0/",e("./src/mixpanel")(i.mixpanel)},n.prototype.track=function(){var e=void 0!==arguments[0]?arguments[0]:"Unknown",i=void 0!==arguments[1]?arguments[1]:{},n=new t(e,i,this.identity);r(this.url+"Events",n.toObject()),window.mixpanel&&window.mixpanel.track(e,i)},n.prototype.identify=function(){var e=void 0!==arguments[0]?arguments[0]:{};this.identity=e,window.mixpanel&&(window.mixpanel.identify(e.id),window.mixpanel.name_tag(e.email))},n.prototype.register=function(){var e=void 0!==arguments[0]?arguments[0]:{};window.mixpanel&&window.mixpanel.register(e)},i.exports=window.metrics=new n(u),i.exports.Metrics=n,i.exports.Event=t,i.exports._send=r,i.exports._browser=o,i.exports._utils=a,i.exports.__mixpanel=s},{"./src/browser":10,"./src/event":11,"./src/mixpanel":12,"./src/send":13,"./src/utils":14}],2:[function(e,i,n){!function(e,t){"use strict";var r="0.7.3",o="",s="?",a="function",u="undefined",c="object",p="major",l="model",d="name",w="type",f="vendor",m="version",g="architecture",h="console",v="mobile",b="tablet",y="smarttv",x="wearable",k="embedded",S={extend:function(e,i){for(var n in i)-1!=="browser cpu device engine os".indexOf(n)&&i[n].length%2===0&&(e[n]=i[n].concat(e[n]));return e},has:function(e,i){return"string"==typeof e?-1!==i.toLowerCase().indexOf(e.toLowerCase()):void 0},lowerize:function(e){return e.toLowerCase()}},A={rgx:function(){for(var e,i,n,r,o,s,p,l=0,d=arguments;l<d.length&&!s;){var w=d[l],f=d[l+1];if(typeof e===u){e={};for(r in f)o=f[r],typeof o===c?e[o[0]]=t:e[o]=t}for(i=n=0;i<w.length&&!s;)if(s=w[i++].exec(this.getUA()))for(r=0;r<f.length;r++)p=s[++n],o=f[r],typeof o===c&&o.length>0?2==o.length?e[o[0]]=typeof o[1]==a?o[1].call(this,p):o[1]:3==o.length?e[o[0]]=typeof o[1]!==a||o[1].exec&&o[1].test?p?p.replace(o[1],o[2]):t:p?o[1].call(this,p,o[2]):t:4==o.length&&(e[o[0]]=p?o[3].call(this,p.replace(o[1],o[2])):t):e[o]=p?p:t;l+=2}return e},str:function(e,i){for(var n in i)if(typeof i[n]===c&&i[n].length>0){for(var r=0;r<i[n].length;r++)if(S.has(i[n][r],e))return n===s?t:n}else if(S.has(i[n],e))return n===s?t:n;return e}},E={browser:{oldsafari:{major:{1:["/8","/1","/3"],2:"/4","?":"/"},version:{"1.0":"/8",1.2:"/1",1.3:"/3","2.0":"/412","2.0.2":"/416","2.0.3":"/417","2.0.4":"/419","?":"/"}}},device:{amazon:{model:{"Fire Phone":["SD","KF"]}},sprint:{model:{"Evo Shift 4G":"7373KT"},vendor:{HTC:"APA",Sprint:"Sprint"}}},os:{windows:{version:{ME:"4.90","NT 3.11":"NT3.51","NT 4.0":"NT4.0",2000:"NT 5.0",XP:["NT 5.1","NT 5.2"],Vista:"NT 6.0",7:"NT 6.1",8:"NT 6.2",8.1:"NT 6.3",10:"NT 6.4",RT:"ARM"}}}},T={browser:[[/(opera\smini)\/((\d+)?[\w\.-]+)/i,/(opera\s[mobiletab]+).+version\/((\d+)?[\w\.-]+)/i,/(opera).+version\/((\d+)?[\w\.]+)/i,/(opera)[\/\s]+((\d+)?[\w\.]+)/i],[d,m,p],[/\s(opr)\/((\d+)?[\w\.]+)/i],[[d,"Opera"],m,p],[/(kindle)\/((\d+)?[\w\.]+)/i,/(lunascape|maxthon|netfront|jasmine|blazer)[\/\s]?((\d+)?[\w\.]+)*/i,/(avant\s|iemobile|slim|baidu)(?:browser)?[\/\s]?((\d+)?[\w\.]*)/i,/(?:ms|\()(ie)\s((\d+)?[\w\.]+)/i,/(rekonq)((?:\/)[\w\.]+)*/i,/(chromium|flock|rockmelt|midori|epiphany|silk|skyfire|ovibrowser|bolt|iron)\/((\d+)?[\w\.-]+)/i],[d,m,p],[/(trident).+rv[:\s]((\d+)?[\w\.]+).+like\sgecko/i],[[d,"IE"],m,p],[/(yabrowser)\/((\d+)?[\w\.]+)/i],[[d,"Yandex"],m,p],[/(comodo_dragon)\/((\d+)?[\w\.]+)/i],[[d,/_/g," "],m,p],[/(chrome|omniweb|arora|[tizenoka]{5}\s?browser)\/v?((\d+)?[\w\.]+)/i,/(uc\s?browser|qqbrowser)[\/\s]?((\d+)?[\w\.]+)/i],[d,m,p],[/(dolfin)\/((\d+)?[\w\.]+)/i],[[d,"Dolphin"],m,p],[/((?:android.+)crmo|crios)\/((\d+)?[\w\.]+)/i],[[d,"Chrome"],m,p],[/version\/((\d+)?[\w\.]+).+?mobile\/\w+\s(safari)/i],[m,p,[d,"Mobile Safari"]],[/version\/((\d+)?[\w\.]+).+?(mobile\s?safari|safari)/i],[m,p,d],[/webkit.+?(mobile\s?safari|safari)((\/[\w\.]+))/i],[d,[p,A.str,E.browser.oldsafari.major],[m,A.str,E.browser.oldsafari.version]],[/(konqueror)\/((\d+)?[\w\.]+)/i,/(webkit|khtml)\/((\d+)?[\w\.]+)/i],[d,m,p],[/(navigator|netscape)\/((\d+)?[\w\.-]+)/i],[[d,"Netscape"],m,p],[/(swiftfox)/i,/(icedragon|iceweasel|camino|chimera|fennec|maemo\sbrowser|minimo|conkeror)[\/\s]?((\d+)?[\w\.\+]+)/i,/(firefox|seamonkey|k-meleon|icecat|iceape|firebird|phoenix)\/((\d+)?[\w\.-]+)/i,/(mozilla)\/((\d+)?[\w\.]+).+rv\:.+gecko\/\d+/i,/(polaris|lynx|dillo|icab|doris|amaya|w3m|netsurf)[\/\s]?((\d+)?[\w\.]+)/i,/(links)\s\(((\d+)?[\w\.]+)/i,/(gobrowser)\/?((\d+)?[\w\.]+)*/i,/(ice\s?browser)\/v?((\d+)?[\w\._]+)/i,/(mosaic)[\/\s]((\d+)?[\w\.]+)/i],[d,m,p]],cpu:[[/(?:(amd|x(?:(?:86|64)[_-])?|wow|win)64)[;\)]/i],[[g,"amd64"]],[/(ia32(?=;))/i],[[g,S.lowerize]],[/((?:i[346]|x)86)[;\)]/i],[[g,"ia32"]],[/windows\s(ce|mobile);\sppc;/i],[[g,"arm"]],[/((?:ppc|powerpc)(?:64)?)(?:\smac|;|\))/i],[[g,/ower/,"",S.lowerize]],[/(sun4\w)[;\)]/i],[[g,"sparc"]],[/((?:avr32|ia64(?=;))|68k(?=\))|arm(?:64|(?=v\d+;))|(?=atmel\s)avr|(?:irix|mips|sparc)(?:64)?(?=;)|pa-risc)/i],[[g,S.lowerize]]],device:[[/\((ipad|playbook);[\w\s\);-]+(rim|apple)/i],[l,f,[w,b]],[/applecoremedia\/[\w\.]+ \((ipad)/],[l,[f,"Apple"],[w,b]],[/(apple\s{0,1}tv)/i],[[l,"Apple TV"],[f,"Apple"]],[/(archos)\s(gamepad2?)/i,/(hp).+(touchpad)/i,/(kindle)\/([\w\.]+)/i,/\s(nook)[\w\s]+build\/(\w+)/i,/(dell)\s(strea[kpr\s\d]*[\dko])/i],[f,l,[w,b]],[/(kf[A-z]+)\sbuild\/[\w\.]+.*silk\//i],[l,[f,"Amazon"],[w,b]],[/(sd|kf)[0349hijorstuw]+\sbuild\/[\w\.]+.*silk\//i],[[l,A.str,E.device.amazon.model],[f,"Amazon"],[w,v]],[/\((ip[honed|\s\w*]+);.+(apple)/i],[l,f,[w,v]],[/\((ip[honed|\s\w*]+);/i],[l,[f,"Apple"],[w,v]],[/(blackberry)[\s-]?(\w+)/i,/(blackberry|benq|palm(?=\-)|sonyericsson|acer|asus|dell|huawei|meizu|motorola|polytron)[\s_-]?([\w-]+)*/i,/(hp)\s([\w\s]+\w)/i,/(asus)-?(\w+)/i],[f,l,[w,v]],[/\(bb10;\s(\w+)/i],[l,[f,"BlackBerry"],[w,v]],[/android.+(transfo[prime\s]{4,10}\s\w+|eeepc|slider\s\w+|nexus 7)/i],[l,[f,"Asus"],[w,b]],[/(sony)\s(tablet\s[ps])/i],[f,l,[w,b]],[/\s(ouya)\s/i,/(nintendo)\s([wids3u]+)/i],[f,l,[w,h]],[/android.+;\s(shield)\sbuild/i],[l,[f,"Nvidia"],[w,h]],[/(playstation\s[3portablevi]+)/i],[l,[f,"Sony"],[w,h]],[/(sprint\s(\w+))/i],[[f,A.str,E.device.sprint.vendor],[l,A.str,E.device.sprint.model],[w,v]],[/(lenovo)\s?(S(?:5000|6000)+(?:[-][\w+]))/i],[f,l,[w,b]],[/(htc)[;_\s-]+([\w\s]+(?=\))|\w+)*/i,/(zte)-(\w+)*/i,/(alcatel|geeksphone|huawei|lenovo|nexian|panasonic|(?=;\s)sony)[_\s-]?([\w-]+)*/i],[f,[l,/_/g," "],[w,v]],[/[\s\(;](xbox(?:\sone)?)[\s\);]/i],[l,[f,"Microsoft"],[w,h]],[/(kin\.[onetw]{3})/i],[[l,/\./g," "],[f,"Microsoft"],[w,v]],[/\s((milestone|droid(?:[2-4x]|\s(?:bionic|x2|pro|razr))?(:?\s4g)?))[\w\s]+build\//i,/(mot)[\s-]?(\w+)*/i],[[f,"Motorola"],l,[w,v]],[/android.+\s(mz60\d|xoom[\s2]{0,2})\sbuild\//i],[l,[f,"Motorola"],[w,b]],[/android.+((sch-i[89]0\d|shw-m380s|gt-p\d{4}|gt-n8000|sgh-t8[56]9|nexus 10))/i,/((SM-T\w+))/i],[[f,"Samsung"],l,[w,b]],[/((s[cgp]h-\w+|gt-\w+|galaxy\snexus|sm-n900))/i,/(sam[sung]*)[\s-]*(\w+-?[\w-]*)*/i,/sec-((sgh\w+))/i],[[f,"Samsung"],l,[w,v]],[/(samsung);smarttv/i],[f,l,[w,y]],[/\(dtv[\);].+(aquos)/i],[l,[f,"Sharp"],[w,y]],[/sie-(\w+)*/i],[l,[f,"Siemens"],[w,v]],[/(maemo|nokia).*(n900|lumia\s\d+)/i,/(nokia)[\s_-]?([\w-]+)*/i],[[f,"Nokia"],l,[w,v]],[/android\s3\.[\s\w-;]{10}(a\d{3})/i],[l,[f,"Acer"],[w,b]],[/android\s3\.[\s\w-;]{10}(lg?)-([06cv9]{3,4})/i],[[f,"LG"],l,[w,b]],[/(lg) netcast\.tv/i],[f,l,[w,y]],[/(nexus\s[45])/i,/lg[e;\s\/-]+(\w+)*/i],[l,[f,"LG"],[w,v]],[/android.+(ideatab[a-z0-9\-\s]+)/i],[l,[f,"Lenovo"],[w,b]],[/linux;.+((jolla));/i],[f,l,[w,v]],[/((pebble))app\/[\d\.]+\s/i],[f,l,[w,x]],[/android.+;\s(glass)\s\d/i],[l,[f,"Google"],[w,x]],[/(mobile|tablet);.+rv\:.+gecko\//i],[[w,S.lowerize],f,l]],engine:[[/(presto)\/([\w\.]+)/i,/(webkit|trident|netfront|netsurf|amaya|lynx|w3m)\/([\w\.]+)/i,/(khtml|tasman|links)[\/\s]\(?([\w\.]+)/i,/(icab)[\/\s]([23]\.[\d\.]+)/i],[d,m],[/rv\:([\w\.]+).*(gecko)/i],[m,d]],os:[[/microsoft\s(windows)\s(vista|xp)/i],[d,m],[/(windows)\snt\s6\.2;\s(arm)/i,/(windows\sphone(?:\sos)*|windows\smobile|windows)[\s\/]?([ntce\d\.\s]+\w)/i],[d,[m,A.str,E.os.windows.version]],[/(win(?=3|9|n)|win\s9x\s)([nt\d\.]+)/i],[[d,"Windows"],[m,A.str,E.os.windows.version]],[/\((bb)(10);/i],[[d,"BlackBerry"],m],[/(blackberry)\w*\/?([\w\.]+)*/i,/(tizen)[\/\s]([\w\.]+)/i,/(android|webos|palm\os|qnx|bada|rim\stablet\sos|meego|contiki)[\/\s-]?([\w\.]+)*/i,/linux;.+(sailfish);/i],[d,m],[/(symbian\s?os|symbos|s60(?=;))[\/\s-]?([\w\.]+)*/i],[[d,"Symbian"],m],[/\((series40);/i],[d],[/mozilla.+\(mobile;.+gecko.+firefox/i],[[d,"Firefox OS"],m],[/(nintendo|playstation)\s([wids3portablevu]+)/i,/(mint)[\/\s\(]?(\w+)*/i,/(mageia|vectorlinux)[;\s]/i,/(joli|[kxln]?ubuntu|debian|[open]*suse|gentoo|arch|slackware|fedora|mandriva|centos|pclinuxos|redhat|zenwalk|linpus)[\/\s-]?([\w\.-]+)*/i,/(hurd|linux)\s?([\w\.]+)*/i,/(gnu)\s?([\w\.]+)*/i],[d,m],[/(cros)\s[\w]+\s([\w\.]+\w)/i],[[d,"Chromium OS"],m],[/(sunos)\s?([\w\.]+\d)*/i],[[d,"Solaris"],m],[/\s([frentopc-]{0,4}bsd|dragonfly)\s?([\w\.]+)*/i],[d,m],[/(ip[honead]+)(?:.*os\s*([\w]+)*\slike\smac|;\sopera)/i],[[d,"iOS"],[m,/_/g,"."]],[/(mac\sos\sx)\s?([\w\s\.]+\w)*/i,/(macintosh|mac(?=_powerpc)\s)/i],[[d,"Mac OS"],[m,/_/g,"."]],[/((?:open)?solaris)[\/\s-]?([\w\.]+)*/i,/(haiku)\s(\w+)/i,/(aix)\s((\d)(?=\.|\)|\s)[\w\.]*)*/i,/(plan\s9|minix|beos|os\/2|amigaos|morphos|risc\sos|openvms)/i,/(unix)\s?([\w\.]+)*/i],[d,m]]},_=function(i,n){if(!(this instanceof _))return new _(i,n).getResult();var t=i||(e&&e.navigator&&e.navigator.userAgent?e.navigator.userAgent:o),r=n?S.extend(T,n):T;this.getBrowser=function(){return A.rgx.apply(this,r.browser)},this.getCPU=function(){return A.rgx.apply(this,r.cpu)},this.getDevice=function(){return A.rgx.apply(this,r.device)},this.getEngine=function(){return A.rgx.apply(this,r.engine)},this.getOS=function(){return A.rgx.apply(this,r.os)},this.getResult=function(){return{ua:this.getUA(),browser:this.getBrowser(),engine:this.getEngine(),os:this.getOS(),device:this.getDevice(),cpu:this.getCPU()}},this.getUA=function(){return t},this.setUA=function(e){return t=e,this},this.setUA(t)};if(_.VERSION=r,_.BROWSER={NAME:d,MAJOR:p,VERSION:m},_.CPU={ARCHITECTURE:g},_.DEVICE={MODEL:l,VENDOR:f,TYPE:w,CONSOLE:h,MOBILE:v,SMARTTV:y,TABLET:b,WEARABLE:x,EMBEDDED:k},_.ENGINE={NAME:d,VERSION:m},_.OS={NAME:d,VERSION:m},typeof n!==u)typeof i!==u&&i.exports&&(n=i.exports=_),n.UAParser=_;else{e.UAParser=_,typeof define===a&&define.amd&&define(function(){return _});var O=e.jQuery||e.Zepto;if(typeof O!==u){var N=new _;O.ua=N.getResult(),O.ua.get=function(){return N.getUA()},O.ua.set=function(e){N.setUA(e);var i=N.getResult();for(var n in i)O.ua[n]=i[n]}}}}(this)},{}],3:[function(e,i){function n(e,i){function n(){4===m.readyState&&S()}function r(){var e=null;if(m.response?e=m.response:"text"!==m.responseType&&m.responseType||(e=m.responseText||m.responseXML),k)try{e=JSON.parse(e)}catch(i){}return e}function p(){return 1223===m.status?204:m.status}function l(e){var i=null;if(0===e||e>=400&&600>e){var n=("string"==typeof b?b:!1)||a[String(e).charAt(0)];i=new Error(n),i.statusCode=e}return i}function d(){var e=p(),n=l(e),t={body:r(),statusCode:e,statusText:m.statusText,raw:m};t.headers=m.getAllResponseHeaders?s(m.getAllResponseHeaders()):{},i(n,t,t.body)}function w(){var e=p(),n=l(e);m.status=m.statusCode=e,m.body=r(),m.headers=s(m.getAllResponseHeaders()),i(n,m,m.body)}function f(e){i(e,m)}"string"==typeof e&&(e={uri:e}),e=e||{},i=o(i);var m=e.xhr||null;m||(m=e.cors||e.useXDR?new c:new u);var g,h=m.url=e.uri||e.url,v=m.method=e.method||"GET",b=e.body||e.data,y=m.headers=e.headers||{},x=!!e.sync,k=!1,S=e.response?d:w;if("json"in e&&(k=!0,y.Accept="application/json","GET"!==v&&"HEAD"!==v&&(y["Content-Type"]="application/json",b=JSON.stringify(e.json))),m.onreadystatechange=n,m.onload=S,m.onerror=f,m.onprogress=function(){},m.ontimeout=t,m.open(v,h,!x),(e.withCredentials||e.cors&&e.withCredentials!==!1)&&(m.withCredentials=!0),x||(m.timeout="timeout"in e?e.timeout:5e3),m.setRequestHeader)for(g in y)y.hasOwnProperty(g)&&m.setRequestHeader(g,y[g]);else if(e.headers)throw new Error("Headers cannot be set on an XDomainRequest object");return"responseType"in e&&(m.responseType=e.responseType),"beforeSend"in e&&"function"==typeof e.beforeSend&&e.beforeSend(m),m.send(b),m}function t(){}var r=e("global/window"),o=e("once"),s=e("parse-headers"),a={0:"Internal XMLHttpRequest Error",4:"4xx Client Error",5:"5xx Server Error"},u=r.XMLHttpRequest||t,c="withCredentials"in new u?u:r.XDomainRequest;i.exports=n},{"global/window":4,once:5,"parse-headers":9}],4:[function(e,i){(function(e){i.exports="undefined"!=typeof window?window:"undefined"!=typeof e?e:"undefined"!=typeof self?self:{}}).call(this,"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{}],5:[function(e,i){function n(e){var i=!1;return function(){return i?void 0:(i=!0,e.apply(this,arguments))}}i.exports=n,n.proto=n(function(){Object.defineProperty(Function.prototype,"once",{value:function(){return n(this)},configurable:!0})})},{}],6:[function(e,i){function n(e,i,n){if(!s(i))throw new TypeError("iterator must be a function");arguments.length<3&&(n=this),"[object Array]"===a.call(e)?t(e,i,n):"string"==typeof e?r(e,i,n):o(e,i,n)}function t(e,i,n){for(var t=0,r=e.length;r>t;t++)u.call(e,t)&&i.call(n,e[t],t,e)}function r(e,i,n){for(var t=0,r=e.length;r>t;t++)i.call(n,e.charAt(t),t,e)}function o(e,i,n){for(var t in e)u.call(e,t)&&i.call(n,e[t],t,e)}var s=e("is-function");i.exports=n;var a=Object.prototype.toString,u=Object.prototype.hasOwnProperty},{"is-function":7}],7:[function(e,i){function n(e){var i=t.call(e);return"[object Function]"===i||"function"==typeof e&&"[object RegExp]"!==i||"undefined"!=typeof window&&(e===window.setTimeout||e===window.alert||e===window.confirm||e===window.prompt)}i.exports=n;var t=Object.prototype.toString},{}],8:[function(e,i,n){function t(e){return e.replace(/^\s*|\s*$/g,"")}n=i.exports=t,n.left=function(e){return e.replace(/^\s*/,"")},n.right=function(e){return e.replace(/\s*$/,"")}},{}],9:[function(e,i){var n=e("trim"),t=e("for-each"),r=function(e){return"[object Array]"===Object.prototype.toString.call(e)};i.exports=function(e){if(!e)return{};var i={};return t(n(e).split("\n"),function(e){var t=e.indexOf(":"),o=n(e.slice(0,t)).toLowerCase(),s=n(e.slice(t+1));"undefined"==typeof i[o]?i[o]=s:r(i[o])?i[o].push(s):i[o]=[i[o],s]}),i}},{"for-each":6,trim:8}],10:[function(e,i){"use strict";var n=e("ua-parser-js");i.exports.getInfo=function(){var e=new n;e.setUA(window.navigator.userAgent);var i=e.getBrowser(),t=e.getOS(),r=e.getDevice();return{browser:i.name,browserVersion:i.version,os:t.name,osVersion:t.version,device:r.model,referrer:document.referrer}}},{"ua-parser-js":2}],11:[function(e,i){"use strict";function n(e){var i=void 0!==arguments[1]?arguments[1]:{},n=void 0!==arguments[2]?arguments[2]:{};this.attributes=r({eventName:e},i,t.getInfo(),n)}var t=e("./browser"),r=e("./utils").mixin;i.exports=n,n.prototype={toObject:function(){return this.attributes}}},{"./browser":10,"./utils":14}],12:[function(e,i){"use strict";i.exports=function(e){return function(e,i){if(!i.__SV){var n,t,r,o;window.mixpanel=i,i._i=[],i.init=function(e,n,t){function s(e,i){var n=i.split(".");2==n.length&&(e=e[n[0]],i=n[1]),e[i]=function(){e.push([i].concat(Array.prototype.slice.call(arguments,0)))}}var a=i;for("undefined"!=typeof t?a=i[t]=[]:t="mixpanel",a.people=a.people||[],a.toString=function(e){var i="mixpanel";return"mixpanel"!==t&&(i+="."+t),e||(i+=" (stub)"),i},a.people.toString=function(){return a.toString(1)+".people (stub)"},r="disable track track_pageview track_links track_forms register register_once alias unregister identify name_tag set_config people.set people.set_once people.increment people.append people.track_charge people.clear_charges people.delete_user".split(" "),o=0;o<r.length;o++)s(a,r[o]);i._i.push([e,n,t])},i.__SV=1.2,n=e.createElement("script"),n.type="text/javascript",n.async=!0,n.src="//cdn.mxpnl.com/libs/mixpanel-2.2.min.js",t=e.getElementsByTagName("script")[0],t.parentNode.insertBefore(n,t)}}(document,window.mixpanel||[]),window.mixpanel.init(e),window.mixpanel}},{}],13:[function(e,i){"use strict";function n(){}var t=e("xhr");i.exports=function(e){var i=void 0!==arguments[1]?arguments[1]:{},r=void 0!==arguments[2]?arguments[2]:n,o={eventName:i.eventName};delete i.eventName,o.data=i,t({uri:e,body:JSON.stringify(o),method:"POST",headers:{"Content-Type":"application/json"}},r)}},{xhr:3}],14:[function(e,i){"use strict";var n=i.exports.makeArray=function(e){return Array.prototype.slice.call(e,0)},t=i.exports.mixin=function(){var e=n(arguments),i=e.shift(),r=e.shift();for(var o in r)i[o]=r[o];return e.length&&(e.unshift(i),t.apply(null,e)),i}},{}]},{},[1]);