forked from segmentio/analytics.js
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathanalytics.min.js
2 lines (2 loc) · 40.6 KB
/
analytics.min.js
1
2
(function(){function require(e,t,n){var r=require.resolve(e);if(null==r){n=n||e,t=t||"root";var i=new Error('Failed to require "'+n+'" from "'+t+'"');throw i.path=n,i.parent=t,i.require=!0,i}var s=require.modules[r];return s.exports||(s.exports={},s.client=s.component=!0,s.call(this,s.exports,require.relative(r),s)),s.exports}var has=Object.prototype.hasOwnProperty;require.modules={},require.aliases={},require.resolve=function(e){e.charAt(0)==="/"&&(e=e.slice(1));var t=e+"/index.js",n=[e,e+".js",e+".json",e+"/index.js",e+"/index.json"];for(var r=0;r<n.length;r++){var e=n[r];if(has.call(require.modules,e))return e}if(has.call(require.aliases,t))return require.aliases[t]},require.normalize=function(e,t){var n=[];if("."!=t.charAt(0))return t;e=e.split("/"),t=t.split("/");for(var r=0;r<t.length;++r)".."==t[r]?e.pop():"."!=t[r]&&""!=t[r]&&n.push(t[r]);return e.concat(n).join("/")},require.register=function(e,t){require.modules[e]=t},require.alias=function(e,t){if(!has.call(require.modules,e))throw new Error('Failed to alias "'+e+'", it does not exist');require.aliases[t]=e},require.relative=function(e){function n(e,t){var n=e.length;while(n--)if(e[n]===t)return n;return-1}function r(t){var n=r.resolve(t);return require(n,e,t)}var t=require.normalize(e,"..");return r.resolve=function(r){var i=r.charAt(0);if("/"==i)return r.slice(1);if("."==i)return require.normalize(t,r);var s=e.split("/"),o=n(s,"deps")+1;return o||(o=0),r=s.slice(0,o+1).join("/")+"/deps/"+r,r},r.exists=function(e){return has.call(require.modules,r.resolve(e))},r},require.register("component-clone/index.js",function(e,t,n){function s(e){switch(r(e)){case"object":var t={};for(var n in e)e.hasOwnProperty(n)&&(t[n]=s(e[n]));return t;case"array":var t=new Array(e.length);for(var i=0,o=e.length;i<o;i++)t[i]=s(e[i]);return t;case"regexp":var u="";return u+=e.multiline?"m":"",u+=e.global?"g":"",u+=e.ignoreCase?"i":"",new RegExp(e.source,u);case"date":return new Date(e.getTime());default:return e}}var r;try{r=t("type")}catch(i){r=t("type-component")}n.exports=s}),require.register("component-cookie/index.js",function(e,t,n){function s(e,t,n){n=n||{};var i=r(e)+"="+r(t);null==t&&(n.maxage=-1),n.maxage&&(n.expires=new Date(+(new Date)+n.maxage)),n.path&&(i+="; path="+n.path),n.domain&&(i+="; domain="+n.domain),n.expires&&(i+="; expires="+n.expires.toUTCString()),n.secure&&(i+="; secure"),document.cookie=i}function o(){return a(document.cookie)}function u(e){return o()[e]}function a(e){var t={},n=e.split(/ *; */),r;if(""==n[0])return t;for(var s=0;s<n.length;++s)r=n[s].split("="),t[i(r[0])]=i(r[1]);return t}var r=encodeURIComponent,i=decodeURIComponent;n.exports=function(e,t,n){switch(arguments.length){case 3:case 2:return s(e,t,n);case 1:return u(e);default:return o()}}}),require.register("component-each/index.js",function(e,t,n){function s(e,t){for(var n=0;n<e.length;++n)t(e.charAt(n),n)}function o(e,t){for(var n in e)i.call(e,n)&&t(n,e[n])}function u(e,t){for(var n=0;n<e.length;++n)t(e[n],n)}var r=t("type"),i=Object.prototype.hasOwnProperty;n.exports=function(e,t){switch(r(e)){case"array":return u(e,t);case"object":if("number"==typeof e.length)return u(e,t);return o(e,t);case"string":return s(e,t)}}}),require.register("component-event/index.js",function(e,t,n){e.bind=function(e,t,n,r){return e.addEventListener?e.addEventListener(t,n,r||!1):e.attachEvent("on"+t,n),n},e.unbind=function(e,t,n,r){return e.removeEventListener?e.removeEventListener(t,n,r||!1):e.detachEvent("on"+t,n),n}}),require.register("component-json/index.js",function(e,t,n){n.exports="undefined"==typeof JSON?t("json-fallback"):JSON}),require.register("component-json-fallback/index.js",function(exports,require,module){var JSON={};(function(){"use strict";function f(e){return e<10?"0"+e:e}function quote(e){return escapable.lastIndex=0,escapable.test(e)?'"'+e.replace(escapable,function(e){var t=meta[e];return typeof t=="string"?t:"\\u"+("0000"+e.charCodeAt(0).toString(16)).slice(-4)})+'"':'"'+e+'"'}function str(e,t){var n,r,i,s,o=gap,u,a=t[e];a&&typeof a=="object"&&typeof a.toJSON=="function"&&(a=a.toJSON(e)),typeof rep=="function"&&(a=rep.call(t,e,a));switch(typeof a){case"string":return quote(a);case"number":return isFinite(a)?String(a):"null";case"boolean":case"null":return String(a);case"object":if(!a)return"null";gap+=indent,u=[];if(Object.prototype.toString.apply(a)==="[object Array]"){s=a.length;for(n=0;n<s;n+=1)u[n]=str(n,a)||"null";return i=u.length===0?"[]":gap?"[\n"+gap+u.join(",\n"+gap)+"\n"+o+"]":"["+u.join(",")+"]",gap=o,i}if(rep&&typeof rep=="object"){s=rep.length;for(n=0;n<s;n+=1)typeof rep[n]=="string"&&(r=rep[n],i=str(r,a),i&&u.push(quote(r)+(gap?": ":":")+i))}else for(r in a)Object.prototype.hasOwnProperty.call(a,r)&&(i=str(r,a),i&&u.push(quote(r)+(gap?": ":":")+i));return i=u.length===0?"{}":gap?"{\n"+gap+u.join(",\n"+gap)+"\n"+o+"}":"{"+u.join(",")+"}",gap=o,i}}typeof Date.prototype.toJSON!="function"&&(Date.prototype.toJSON=function(e){return isFinite(this.valueOf())?this.getUTCFullYear()+"-"+f(this.getUTCMonth()+1)+"-"+f(this.getUTCDate())+"T"+f(this.getUTCHours())+":"+f(this.getUTCMinutes())+":"+f(this.getUTCSeconds())+"Z":null},String.prototype.toJSON=Number.prototype.toJSON=Boolean.prototype.toJSON=function(e){return this.valueOf()});var cx=/[\u0000\u00ad\u0600-\u0604\u070f\u17b4\u17b5\u200c-\u200f\u2028-\u202f\u2060-\u206f\ufeff\ufff0-\uffff]/g,escapable=/[\\\"\x00-\x1f\x7f-\x9f\u00ad\u0600-\u0604\u070f\u17b4\u17b5\u200c-\u200f\u2028-\u202f\u2060-\u206f\ufeff\ufff0-\uffff]/g,gap,indent,meta={"\b":"\\b"," ":"\\t","\n":"\\n","\f":"\\f","\r":"\\r",'"':'\\"',"\\":"\\\\"},rep;typeof JSON.stringify!="function"&&(JSON.stringify=function(e,t,n){var r;gap="",indent="";if(typeof n=="number")for(r=0;r<n;r+=1)indent+=" ";else typeof n=="string"&&(indent=n);rep=t;if(!t||typeof t=="function"||typeof t=="object"&&typeof t.length=="number")return str("",{"":e});throw new Error("JSON.stringify")}),typeof JSON.parse!="function"&&(JSON.parse=function(text,reviver){function walk(e,t){var n,r,i=e[t];if(i&&typeof i=="object")for(n in i)Object.prototype.hasOwnProperty.call(i,n)&&(r=walk(i,n),r!==undefined?i[n]=r:delete i[n]);return reviver.call(e,t,i)}var j;text=String(text),cx.lastIndex=0,cx.test(text)&&(text=text.replace(cx,function(e){return"\\u"+("0000"+e.charCodeAt(0).toString(16)).slice(-4)}));if(/^[\],:{}\s]*$/.test(text.replace(/\\(?:["\\\/bfnrt]|u[0-9a-fA-F]{4})/g,"@").replace(/"[^"\\\n\r]*"|true|false|null|-?\d+(?:\.\d*)?(?:[eE][+\-]?\d+)?/g,"]").replace(/(?:^|:|,)(?:\s*\[)+/g,"")))return j=eval("("+text+")"),typeof reviver=="function"?walk({"":j},""):j;throw new SyntaxError("JSON.parse")})})(),module.exports=JSON}),require.register("component-object/index.js",function(e,t,n){var r=Object.prototype.hasOwnProperty;e.keys=Object.keys||function(e){var t=[];for(var n in e)r.call(e,n)&&t.push(n);return t},e.values=function(e){var t=[];for(var n in e)r.call(e,n)&&t.push(e[n]);return t},e.merge=function(e,t){for(var n in t)r.call(t,n)&&(e[n]=t[n]);return e},e.length=function(t){return e.keys(t).length},e.isEmpty=function(t){return 0==e.length(t)}}),require.register("component-trim/index.js",function(e,t,n){function r(e){return e.replace(/^\s*|\s*$/g,"")}e=n.exports=r,e.left=function(e){return e.replace(/^\s*/,"")},e.right=function(e){return e.replace(/\s*$/,"")}}),require.register("component-querystring/index.js",function(e,t,n){var r=t("trim");e.parse=function(e){if("string"!=typeof e)return{};e=r(e);if(""==e)return{};var t={},n=e.split("&");for(var i=0;i<n.length;i++){var s=n[i].split("=");t[s[0]]=null==s[1]?"":decodeURIComponent(s[1])}return t},e.stringify=function(e){if(!e)return"";var t=[];for(var n in e)t.push(encodeURIComponent(n)+"="+encodeURIComponent(e[n]));return t.join("&")}}),require.register("component-type/index.js",function(e,t,n){var r=Object.prototype.toString;n.exports=function(e){switch(r.call(e)){case"[object Function]":return"function";case"[object Date]":return"date";case"[object RegExp]":return"regexp";case"[object Arguments]":return"arguments";case"[object Array]":return"array";case"[object String]":return"string"}return e===null?"null":e===undefined?"undefined":e&&e.nodeType===1?"element":e===Object(e)?"object":typeof e}}),require.register("component-url/index.js",function(e,t,n){e.parse=function(e){var t=document.createElement("a");return t.href=e,{href:t.href,host:t.host||location.host,port:t.port||location.port,hash:t.hash,hostname:t.hostname||location.hostname,pathname:t.pathname.charAt(0)!="/"?"/"+t.pathname:t.pathname,protocol:!t.protocol||":"==t.protocol?location.protocol:t.protocol,search:t.search,query:t.search.slice(1)}},e.isAbsolute=function(e){return 0==e.indexOf("//")||!!~e.indexOf("://")},e.isRelative=function(t){return!e.isAbsolute(t)},e.isCrossDomain=function(t){return t=e.parse(t),t.hostname!==location.hostname||t.port!==location.port||t.protocol!==location.protocol}}),require.register("segmentio-after/index.js",function(e,t,n){n.exports=function(t,n){return t<=0?n():function(){if(--t<1)return n.apply(this,arguments)}}}),require.register("segmentio-alias/index.js",function(e,t,n){n.exports=function(t,n){for(var r in n){var i=n[r];t[r]!==undefined&&(t[i]=t[r],delete t[r])}}}),require.register("segmentio-canonical/index.js",function(e,t,n){n.exports=function(){var t=document.getElementsByTagName("link");for(var n=0,r;r=t[n];n++)if("canonical"==r.getAttribute("rel"))return r.getAttribute("href")}}),require.register("segmentio-extend/index.js",function(e,t,n){n.exports=function(t){var n=Array.prototype.slice.call(arguments,1);for(var r=0,i;i=n[r];r++){if(!i)continue;for(var s in i)t[s]=i[s]}return t}}),require.register("segmentio-is-email/index.js",function(e,t,n){n.exports=function(t){return/.+\@.+\..+/.test(t)}}),require.register("segmentio-load-date/index.js",function(e,t,n){var r=new Date,i=window.performance;i&&i.timing&&i.timing.responseEnd&&(r=new Date(i.timing.responseEnd)),n.exports=r}),require.register("segmentio-load-script/index.js",function(e,t,n){var r=t("type");n.exports=function(t,n){if(!t)throw new Error("Cant load nothing...");r(t)==="string"&&(t={src:t});var i=document.location.protocol==="https:";t.src&&t.src.indexOf("//")===0&&(t.src=i?"https:"+t.src:"http:"+t.src),i&&t.https?t.src=t.https:!i&&t.http&&(t.src=t.http);var s=document.createElement("script");s.type="text/javascript",s.async=!0,s.src=t.src;var o=document.getElementsByTagName("script")[0];return o.parentNode.insertBefore(s,o),n&&r(n)==="function"&&(s.addEventListener?s.addEventListener("load",n,!1):s.attachEvent&&s.attachEvent("onreadystatechange",function(){/complete|loaded/.test(s.readyState)&&n()})),s}}),require.register("yields-prevent/index.js",function(e,t,n){n.exports=function(e){return e=e||window.event,e.preventDefault?e.preventDefault():e.returnValue=!1}}),require.register("analytics/src/index.js",function(e,t,n){var r=t("./analytics"),i=t("./providers");n.exports=new r(i)}),require.register("analytics/src/analytics.js",function(e,t,n){function g(e){this.VERSION="0.8.8";var t=this;o(e,function(e,n){t.addProvider(e,n)});var n=window.onload;window.onload=function(){t.loaded=!0,p(n)==="function"&&n()}}var r=t("after"),i=t("event").bind,s=t("clone"),o=t("each"),u=t("extend"),a=t("object").length,f=t("prevent"),l=t("./provider"),c=t("./providers"),h=t("querystring"),p=t("type"),d=t("url"),v=t("./user"),m=t("./utils");n.exports=g,u(g.prototype,{initializableProviders:{},date:new Date,loaded:!1,initialized:!1,isReady:!1,readyCallbacks:[],timeout:300,user:v,providers:[],Provider:l,addProvider:function(e,t){this.initializableProviders[e]=t,t.prototype.name=e},initialize:function(e,t){var n=this;this.providers=[],this.initialized=!1,this.isReady=!1,v.options(t),v.load();var i=r(a(e),function(){n.isReady=!0;var e;while(e=n.readyCallbacks.shift())e()});o(e,function(e,t){var r=n.initializableProviders[e];if(!r)throw new Error('Could not find a provider named "'+e+'"');n.providers.push(new r(t,i))});var s=d.parse(window.location.href).query,u=h.parse(s);u.ajs_uid&&this.identify(u.ajs_uid),u.ajs_event&&this.track(u.ajs_event),this.initialized=!0},ready:function(e){if(p(e)!=="function")return;this.isReady?e():this.readyCallbacks.push(e)},identify:function(e,t,n,r){if(!this.initialized)return;p(n)==="function"&&(r=n,n=null),p(t)==="function"&&(r=t,t=null),p(e)==="object"&&(t&&p(t)==="function"&&(r=t),t=e,e=null),e===null&&(e=v.id());var i=v.update(e,t);t=s(t),t&&t.created&&(p(t.created)==="string"&&Date.parse(t.created)?t.created=new Date(t.created):p(t.created)==="number"&&(t.created<315576e5?t.created=new Date(t.created*1e3):t.created=new Date(t.created))),o(this.providers,function(r){if(r.identify&&m.isEnabled(r,n)){var i=[e,s(t),s(n)];r.ready?r.identify.apply(r,i):r.enqueue("identify",i)}}),r&&p(r)==="function"&&setTimeout(r,this.timeout)},track:function(e,t,n,r){if(!this.initialized)return;p(n)==="function"&&(r=n,n=null),p(t)==="function"&&(r=t,t=null),o(this.providers,function(r){if(r.track&&m.isEnabled(r,n)){var i=[e,s(t),s(n)];r.ready?r.track.apply(r,i):r.enqueue("track",i)}}),r&&p(r)==="function"&&setTimeout(r,this.timeout)},trackLink:function(e,t,n){if(!e)return;m.isElement(e)&&(e=[e]);var r=this,s="function"===p(n);o(e,function(e){i(e,"click",function(i){var o=s?n(e):n;r.track(t,o),e.href&&e.target!=="_blank"&&!m.isMeta(i)&&(f(i),setTimeout(function(){window.location.href=e.href},r.timeout))})})},trackForm:function(e,t,n){if(!e)return;m.isElement(e)&&(e=[e]);var r=this,s="function"===p(n);o(e,function(e){var o=function(i){var o=s?n(e):n;r.track(t,o),f(i),setTimeout(function(){e.submit()},r.timeout)},u=window.jQuery||window.Zepto;u?u(e).submit(o):i(e,"submit",o)})},pageview:function(e){if(!this.initialized)return;o(this.providers,function(t){t.pageview&&(t.ready?t.pageview(e):t.enqueue("pageview",[e]))})},alias:function(e,t){if(!this.initialized)return;o(this.providers,function(n){n.alias&&(n.ready?n.alias(e,t):n.enqueue("alias",[e,t]))})}}),g.prototype.trackClick=g.prototype.trackLink,g.prototype.trackSubmit=g.prototype.trackForm}),require.register("analytics/src/provider.js",function(e,t,n){function o(e,t){var n=this;this.queue=[],this.ready=!1;if(s(e)!=="object"){if(s(e)!=="string"||!this.key)throw new Error("Could not resolve options.");var o=e;e={},e[this.key]=o}i(this.options,e);var u=function(){r(n.queue,function(e){var t=e.method,r=e.args;n[t].apply(n,r)}),n.ready=!0,n.queue=[],t()};this.initialize.call(this,this.options,u)}var r=t("each"),i=t("extend"),s=t("type");n.exports=o,o.extend=function(e){var t=this,n=function(){return t.apply(this,arguments)},r=function(){this.constructor=n};return r.prototype=t.prototype,n.prototype=new r,i(n.prototype,e),n},i(o.prototype,{options:{},key:undefined,initialize:function(e,t){t()},enqueue:function(e,t){this.queue.push({method:e,args:t})}})}),require.register("analytics/src/user.js",function(e,t,n){function c(){return{id:null,traits:{}}}var r=t("cookie"),i=t("clone"),s=t("extend"),o=t("json"),u=t("type"),a=c(),f=e.cookie={name:"ajs_user",maxage:31536e6,enabled:!0,path:"/"};e.options=function(e){e||(e={}),u(e.cookie)==="boolean"?f.enabled=e.cookie:u(e.cookie)==="object"&&(f.enabled=!0,e.cookie.name&&(f.name=e.cookie.name),e.cookie.maxage&&(f.maxage=e.cookie.maxage),e.cookie.domain&&(f.domain=e.cookie.domain),e.cookie.path&&(f.path=e.cookie.path),f.domain&&f.domain.charAt(0)!=="."&&(f.domain="."+f.domain))},e.id=function(){return a.id},e.traits=function(){return i(a.traits)},e.update=function(e,t){var n=!a.id&&e&&f.enabled;return t||(t={}),a.id&&e&&a.id!==e?a.traits=t:s(a.traits,t),e&&(a.id=e),f.enabled&&l(a),n},e.clear=function(){f.enabled&&r(f.name,null,i(f)),a=c()};var l=function(e){try{return r(f.name,o.stringify(e),i(f)),!0}catch(t){return!1}};e.load=function(){if(!f.enabled)return a;var e=r(f.name);if(e)try{a=o.parse(e)}catch(t){a=c()}return a}}),require.register("analytics/src/utils.js",function(e,t,n){var r=t("type"),i=t("each"),s=t("clone");e.clone=s,e.alias=function(e,t){if(o(e))return;i(t,function(t,n){e[t]!==undefined&&(e[n]=e[t],delete e[t])})},e.bind=function(e,t,n){e.addEventListener?e.addEventListener(t,n,!1):e.attachEvent&&e.attachEvent("on"+t,n)},e.isMeta=function(e){if(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)return!0;var t=e.which,n=e.button;return!t&&n!==undefined?!n&1&&!n&2&&n&4:t===2?!0:!1},e.getSeconds=function(e){return Math.floor(+(new Date(e))/1e3)},e.extend=function(e){if(!o(e))return;var t=Array.prototype.slice.call(arguments,1);return i(t,function(t){if(!o(t))return;i(t,function(t,n){e[t]=n})}),e},e.isElement=function(e){return!!e&&e.nodeType===1},e.isArray=Array.isArray||function(e){return Object.prototype.toString.call(e)==="[object Array]"};var o=e.isObject=function(e){return e===Object(e)},u=e.isString=function(e){return Object.prototype.toString.call(e)==="[object String]"};e.isFunction=function(e){return Object.prototype.toString.call(e)==="[object Function]"},e.isNumber=function(e){return Object.prototype.toString.call(e)==="[object Number]"};var a=e.isBoolean=function(e){return e===!0||e===!1||toString.call(e)=="[object Boolean]"};e.isEmail=function(e){return/.+\@.+\..+/.test(e)},e.resolveSettings=function(e,t){if(!u(e)&&!o(e))throw new Error("Could not resolve settings.");if(!t)throw new Error("You must provide an api key field name.");if(u(e)){var n=e;e={},e[t]=n}return e},e.getUrlParameter=function(e,t){var n=e.replace("?","").split("&");for(var r=0;r<n.length;r+=1){var i=n[r].split("=");if(i.length===2&&i[0]===t)return decodeURIComponent(i[1])}},e.isEnabled=function(e,t){if(!o(t))return!0;if(!o(t.providers))return!0;var n=t.providers,r=!0;return a(n.all)&&(r=n.all),a(n.All)&&(r=n.All),a(n[e.name])?n[e.name]:r}}),require.register("analytics/src/providers/bitdeli.js",function(e,t,n){var r=t("../provider"),i=t("type"),s=t("load-script");n.exports=r.extend({options:{inputId:null,authToken:null,initialPageview:!0},initialize:function(e,t){window._bdq=window._bdq||[],window._bdq.push(["setAccount",e.inputId,e.authToken]),e.initialPageview&&this.pageview(),s("//d2flrkr957qc5j.cloudfront.net/bitdeli.min.js"),t()},identify:function(e,t){e&&window._bdq.push(["identify",e]),t&&window._bdq.push(["set",t])},track:function(e,t){window._bdq.push(["track",e,t])},pageview:function(e){window._bdq.push(["trackPageview",e])}})}),require.register("analytics/src/providers/bugherd.js",function(e,t,n){var r=t("../provider"),i=t("load-script");n.exports=r.extend({key:"apiKey",options:{apiKey:null},initialize:function(e,t){i("//www.bugherd.com/sidebarv2.js?apikey="+e.apiKey,t)}})}),require.register("analytics/src/providers/chartbeat.js",function(e,t,n){var r=t("../provider"),i=t("load-script");n.exports=r.extend({options:{domain:null,uid:null},initialize:function(e,t){window._sf_async_config=e;var n=function(){if(!document.body)return setTimeout(n,5);window._sf_endpt=(new Date).getTime(),i({https:"https://a248.e.akamai.net/chartbeat.download.akamai.com/102508/js/chartbeat.js",http:"http://static.chartbeat.com/js/chartbeat.js"},t)};n()},pageview:function(e){if(!window.pSUPERFLY)return;window.pSUPERFLY.virtualPage(e||window.location.pathname)}})}),require.register("analytics/src/providers/clicktale.js",function(e,t,n){var r=t("load-date"),i=t("../provider"),s=t("load-script");n.exports=i.extend({key:"projectId",options:{httpCdnUrl:"http://s.clicktale.net/WRe0.js",httpsCdnUrl:null,projectId:null,recordingRatio:.01,partitionId:null},initialize:function(e,t){window.WRInitTime=r.getTime();var n=function(){if(!document.body)return setTimeout(n,5);var e=document.createElement("div");e.setAttribute("id","ClickTaleDiv"),e.setAttribute("style","display: none;"),document.body.appendChild(e)};n();var i=function(){window.ClickTale(e.projectId,e.recordingRatio,e.partitionId),t()};s({http:e.httpCdnUrl,https:e.httpsCdnUrl},i)},identify:function(e,t){window.ClickTaleSetUID&&window.ClickTaleSetUID(e);if(window.ClickTaleField)for(var n in t)window.ClickTaleField(n,t[n])},track:function(e,t){window.ClickTaleEvent&&window.ClickTaleEvent(e)}})}),require.register("analytics/src/providers/clicky.js",function(e,t,n){var r=t("../provider"),i=t("../user"),s=t("extend"),o=t("load-script");n.exports=r.extend({key:"siteId",options:{siteId:null},initialize:function(e,t){window.clicky_site_ids=window.clicky_site_ids||[],window.clicky_site_ids.push(e.siteId);var n=i.id(),r=i.traits(),u={};n&&(u.username=n),s(u,r),window.clicky_custom={session:u},o("//static.getclicky.com/js",t)},track:function(e,t){if(!window.clicky)return;window.clicky.log(window.location.href,e)}})}),require.register("analytics/src/providers/comscore.js",function(e,t,n){var r=t("../provider"),i=t("load-script");n.exports=r.extend({key:"c2",options:{c1:"2",c2:null},initialize:function(e,t){window._comscore=window._comscore||[],window._comscore.push(e),i({http:"http://b.scorecardresearch.com/beacon.js",https:"https://sb.scorecardresearch.com/beacon.js"},t)}})}),require.register("analytics/src/providers/crazyegg.js",function(e,t,n){var r=t("../provider"),i=t("load-script");n.exports=r.extend({key:"accountNumber",options:{accountNumber:null},initialize:function(e,t){var n=e.accountNumber.slice(0,4)+"/"+e.accountNumber.slice(4);i("//dnn506yrbagrg.cloudfront.net/pages/scripts/"+n+".js?"+Math.floor((new Date).getTime()/36e5),t)}})}),require.register("analytics/src/providers/customerio.js",function(e,t,n){var r=t("../provider"),i=t("is-email"),s=t("load-script");n.exports=r.extend({key:"siteId",options:{siteId:null},initialize:function(e,t){var n=window._cio=window._cio||[];(function(){var e,t,r;e=function(e){return function(){n.push([e].concat(Array.prototype.slice.call(arguments,0)))}},t=["identify","track"];for(r=0;r<t.length;r++)n[t[r]]=e(t[r])})();var r=s("https://assets.customer.io/assets/track.js");r.id="cio-tracker",r.setAttribute("data-site-id",e.siteId),t()},identify:function(e,t){if(!e)return;t||(t={}),t.id=e,!t.email&&i(e)&&(t.email=e),t.created&&(t.created_at=Math.floor(t.created/1e3),delete t.created),window._cio.identify(t)},track:function(e,t){window._cio.track(e,t)}})}),require.register("analytics/src/providers/errorception.js",function(e,t,n){var r=t("../provider"),i=t("extend"),s=t("load-script");n.exports=r.extend({key:"projectId",options:{projectId:null,meta:!0},initialize:function(e,t){window._errs=window._errs||[e.projectId],s("//d15qhc0lu1ghnk.cloudfront.net/beacon.js"),window.onerror=function(){window._errs.push(arguments)},t()},identify:function(e,t){if(!this.options.meta)return;window._errs.meta||(window._errs.meta={}),t||(t={}),e&&(t.id=e),i(window._errs.meta,t)}})}),require.register("analytics/src/providers/foxmetrics.js",function(e,t,n){var r=t("../provider"),i=t("load-script");n.exports=r.extend({key:"appId",options:{appId:null},initialize:function(e,t){var n=window._fxm||{};window._fxm=n.events||[],i("//d35tca7vmefkrc.cloudfront.net/scripts/"+e.appId+".js"),t()},identify:function(e,t){if(!e)return;var n=null,r=null,i=null;t&&t.name&&(n=t.name.split(" ")[0],r=t.name.split(" ")[1]),t&&t.email&&(i=t.email),window._fxm.push(["_fxm.visitor.profile",e,n,r,i,null,null,null,t||null])},track:function(e,t){window._fxm.push([e,null,t])},pageview:function(e){window._fxm.push(["_fxm.pages.view",null,null,null,e||null,null])}})}),require.register("analytics/src/providers/gauges.js",function(e,t,n){var r=t("../provider"),i=t("load-script");n.exports=r.extend({key:"siteId",options:{siteId:null},initialize:function(e,t){window._gauges=window._gauges||[];var n=i("//secure.gaug.es/track.js");n.id="gauges-tracker",n.setAttribute("data-site-id",e.siteId),t()},pageview:function(e){window._gauges.push(["track"])}})}),require.register("analytics/src/providers/google-analytics.js",function(e,t,n){var r=t("../provider"),i=t("load-script"),s=t("type"),o=t("url"),u=t("canonical");n.exports=r.extend({key:"trackingId",options:{trackingId:null,initialPageview:!0,domain:null,anonymizeIp:!1,enhancedLinkAttribution:!1,siteSpeedSampleRate:null,doubleClick:!1},initialize:function(e,t){window._gaq=window._gaq||[],window._gaq.push(["_setAccount",e.trackingId]),e.domain&&window._gaq.push(["_setDomainName",e.domain]);if(e.enhancedLinkAttribution){var n="https:"===document.location.protocol?"https:":"http:",r=n+"//www.google-analytics.com/plugins/ga/inpage_linkid.js";window._gaq.push(["_require","inpage_linkid",r])}s(e.siteSpeedSampleRate)==="number"&&window._gaq.push(["_setSiteSpeedSampleRate",e.siteSpeedSampleRate]),e.anonymizeIp&&window._gaq.push(["_gat._anonymizeIp"]);if(e.initialPageview){var a,f=u();f&&(a=o.parse(f).pathname),this.pageview(a)}e.doubleClick?i("//stats.g.doubleclick.net/dc.js"):i({http:"http://www.google-analytics.com/ga.js",https:"https://ssl.google-analytics.com/ga.js"}),t()},track:function(e,t){t||(t={});var n;s(t.value)==="number"&&(n=t.value),window._gaq.push(["_trackEvent",t.category||"All",e,t.label,Math.round(t.revenue)||n,t.noninteraction])},pageview:function(e){window._gaq.push(["_trackPageview",e])}})}),require.register("analytics/src/providers/gosquared.js",function(e,t,n){var r=t("../provider"),i=t("../user"),s=t("load-script");n.exports=r.extend({key:"siteToken",options:{siteToken:null},initialize:function(e,t){var n=window.GoSquared={};n.acct=e.siteToken,n.q=[],window._gstc_lt=+(new Date),n.VisitorName=i.id(),n.Visitor=i.traits(),s("//d1l6p2sc9645hc.cloudfront.net/tracker.js"),t()},identify:function(e,t){e&&(window.GoSquared.UserName=e),t&&(window.GoSquared.Visitor=t)},track:function(e,t){window.GoSquared.q.push(["TrackEvent",e,t||{}])},pageview:function(e){window.GoSquared.q.push(["TrackView",e])}})}),require.register("analytics/src/providers/hittail.js",function(e,t,n){var r=t("../provider"),i=t("load-script");n.exports=r.extend({key:"siteId",options:{siteId:null},initialize:function(e,t){i("//"+e.siteId+".hittail.com/mlt.js",t)}})}),require.register("analytics/src/providers/hubspot.js",function(e,t,n){var r=t("../provider"),i=t("is-email"),s=t("load-script");n.exports=r.extend({key:"portalId",options:{portalId:null},initialize:function(e,t){if(!document.getElementById("hs-analytics")){window._hsq=window._hsq||[];var n=s("https://js.hubspot.com/analytics/"+Math.ceil(new Date/3e5)*3e5+"/"+e.portalId+".js");n.id="hs-analytics"}t()},identify:function(e,t){(!t||!t.email)&&i(e)&&(t||(t={}),t.email=e);if(!t)return;window._hsq.push(["identify",t])},track:function(e,t){window._hsq.push(["trackEvent",e,t])},pageview:function(e){window._hsq.push(["_trackPageview"])}})}),require.register("analytics/src/providers/index.js",function(e,t,n){e.Bitdeli=t("./bitdeli"),e.BugHerd=t("./bugherd"),e.Chartbeat=t("./chartbeat"),e.ClickTale=t("./clicktale"),e.Clicky=t("./clicky"),e.comScore=t("./comscore"),e.CrazyEgg=t("./crazyegg"),e["Customer.io"]=t("./customerio"),e.Errorception=t("./errorception"),e.FoxMetrics=t("./foxmetrics"),e.Gauges=t("./gauges"),e["Google Analytics"]=t("./google-analytics"),e.GoSquared=t("./gosquared"),e.HitTail=t("./hittail"),e.HubSpot=t("./hubspot"),e.Intercom=t("./intercom"),e["Keen IO"]=t("./keen-io"),e.KISSmetrics=t("./kissmetrics"),e.Klaviyo=t("./klaviyo"),e.LiveChat=t("./livechat"),e.Mixpanel=t("./mixpanel"),e.Olark=t("./olark"),e["Perfect Audience"]=t("./perfect-audience"),e.Qualaroo=t("./qualaroo"),e.Quantcast=t("./quantcast"),e.Sentry=t("./sentry"),e.SnapEngage=t("./snapengage"),e.Storyberg=t("./storyberg"),e.USERcycle=t("./usercycle"),e.UserVoice=t("./uservoice"),e.Vero=t("./vero"),e.Woopra=t("./woopra")}),require.register("analytics/src/providers/intercom.js",function(e,t,n){var r=t("../provider"),i=t("extend"),s=t("load-script"),o=t("is-email");n.exports=r.extend({booted:!1,key:"appId",options:{appId:null,activator:null,counter:!0},initialize:function(e,t){s("https://api.intercom.io/api/js/library.js",t)},identify:function(e,t){if(!e)return;if(!this.booted&&!e)return;var n={custom_data:t||{}};t&&t.created&&(n.created_at=Math.floor(t.created/1e3),delete t.created),t&&t.email?(n.email=t.email,delete t.email):o(e)&&(n.email=e),t&&t.name?(n.name=t.name,delete t.name):t&&t.firstName&&t.lastName&&(n.name=t.firstName+" "+t.lastName),t&&t.company&&(n.company=t.company,delete t.company),this.options.activator&&(n.widget={activator:this.options.activator,use_counter:this.options.counter}),this.booted?window.Intercom("update",n):(i(n,{app_id:this.options.appId,user_hash:this.options.userHash,user_id:e}),window.Intercom("boot",n)),this.booted=!0}})}),require.register("analytics/src/providers/keen-io.js",function(e,t,n){var r=t("../provider"),i=t("load-script");n.exports=r.extend({options:{projectId:null,apiKey:null,pageview:!1,initialPageview:!1},initialize:function(e,t){window.Keen=window.Keen||{configure:function(e,t,n){this._pId=e,this._ak=t,this._op=n},addEvent:function(e,t,n,r){this._eq=this._eq||[],this._eq.push([e,t,n,r])},setGlobalProperties:function(e){this._gp=e},onChartsReady:function(e){this._ocrq=this._ocrq||[],this._ocrq.push(e)}},window.Keen.configure(e.projectId,e.apiKey),i("//dc8na2hxrj29i.cloudfront.net/code/keen-2.0.0-min.js"),e.initialPageview&&this.pageview(),t()},identify:function(e,t){var n={};e&&(n.userId=e),t&&(n.traits=t),(e||t)&&window.Keen.setGlobalProperties(function(e){return{user:n}})},track:function(e,t){window.Keen.addEvent(e,t)},pageview:function(e){if(!this.options.pageview)return;var t;e&&(t={url:e}),this.track("Loaded a Page",t)}})}),require.register("analytics/src/providers/kissmetrics.js",function(e,t,n){var r=t("../provider"),i=t("alias"),s=t("load-script");n.exports=r.extend({key:"apiKey",options:{apiKey:null},initialize:function(e,t){window._kmq=window._kmq||[],s("//i.kissmetrics.com/i.js"),s("//doug1izaerwt3.cloudfront.net/"+e.apiKey+".1.js"),t()},identify:function(e,t){e&&window._kmq.push(["identify",e]),t&&window._kmq.push(["set",t])},track:function(e,t){t&&i(t,{revenue:"Billing Amount"}),window._kmq.push(["record",e,t])},alias:function(e,t){window._kmq.push(["alias",e,t])}})}),require.register("analytics/src/providers/klaviyo.js",function(e,t,n){var r=t("../provider"),i=t("load-script");n.exports=r.extend({key:"apiKey",options:{apiKey:null},initialize:function(e,t){window._learnq=window._learnq||[],window._learnq.push(["account",e.apiKey]),i("//a.klaviyo.com/media/js/learnmarklet.js"),t()},identify:function(e,t){if(!e&&!t)return;t||(t={}),e&&(t.$id=e),window._learnq.push(["identify",t])},track:function(e,t){window._learnq.push(["track",e,t])}})}),require.register("analytics/src/providers/livechat.js",function(e,t,n){var r=t("../provider"),i=t("each"),s=t("load-script");n.exports=r.extend({key:"license",options:{license:null},initialize:function(e,t){window.__lc={license:e.license},s("//cdn.livechatinc.com/tracking.js",t)},identify:function(e,t){if(!window.LC_API)return;if(!e&&!t)return;var n=[];e&&n.push({name:"User ID",value:e}),t&&i(t,function(e,t){n.push({name:e,value:t})}),window.LC_API.set_custom_variables(n)}})}),require.register("analytics/src/providers/mixpanel.js",function(e,t,n){var r=t("../provider"),i=t("alias"),s=t("is-email");n.exports=r.extend({key:"token",options:{nameTag:!0,people:!1,token:null,pageview:!1,initialPageview:!1},initialize:function(e,t){(function(e,t){window.mixpanel=t;var n,r,i,s;n=e.createElement("script"),n.type="text/javascript",n.async=!0,n.src=("https:"===e.location.protocol?"https:":"http:")+"//cdn.mxpnl.com/libs/mixpanel-2.2.min.js",r=e.getElementsByTagName("script")[0],r.parentNode.insertBefore(n,r),t._i=[],t.init=function(e,n,r){function o(e,t){var n=t.split(".");2==n.length&&(e=e[n[0]],t=n[1]),e[t]=function(){e.push([t].concat(Array.prototype.slice.call(arguments,0)))}}var u=t;"undefined"!=typeof r?u=t[r]=[]:r="mixpanel",u.people=u.people||[],i=["disable","track","track_pageview","track_links","track_forms","register","register_once","unregister","identify","alias","name_tag","set_config","people.set","people.increment","people.track_charge","people.append"];for(s=0;s<i.length;s++)o(u,i[s]);t._i.push([e,n,r])},t.__SV=1.2})(document,window.mixpanel||[]),window.mixpanel.init(e.token,e),e.initialPageview&&this.pageview(),t()},identify:function(e,t){e&&s(e)&&t&&!t.email&&(t||(t={}),t.email=e),t&&i(t,{created:"$created",email:"$email",firstName:"$first_name",lastName:"$last_name",lastSeen:"$last_seen",name:"$name",username:"$username"}),e&&(window.mixpanel.identify(e),this.options.nameTag&&window.mixpanel.name_tag(t&&t.$email||e)),t&&(window.mixpanel.register(t),this.options.people&&window.mixpanel.people.set(t))},track:function(e,t){window.mixpanel.track(e,t),t&&t.revenue&&this.options.people&&window.mixpanel.people.track_charge(t.revenue)},pageview:function(e){window.mixpanel.track_pageview(e);if(!this.options.pageview)return;var t;e&&(t={url:e}),this.track("Loaded a Page",t)},alias:function(e,t){if(window.mixpanel.get_distinct_id&&window.mixpanel.get_distinct_id()===e)return;if(window
.mixpanel.get_property&&window.mixpanel.get_property("$people_distinct_id"))return;window.mixpanel.alias(e,t)}})}),require.register("analytics/src/providers/olark.js",function(e,t,n){var r=t("../provider");n.exports=r.extend({key:"siteId",options:{siteId:null,identify:!0,track:!1,pageview:!0},initialize:function(e,t){window.olark||function(e){var t=window,n=document,r=t.location.protocol=="https:"?"https:":"http:",i=e.name,s="load",o=function(){function h(){u.P(s),t[i](s)}t[i]=function(){(u.s=u.s||[]).push(arguments)};var u=t[i]._={},a=e.methods.length;while(a--)(function(e){t[i][e]=function(){t[i]("call",e,arguments)}})(e.methods[a]);u.l=e.loader,u.i=o,u.p={0:+(new Date)},u.P=function(e){u.p[e]=new Date-u.p[0]},t.addEventListener?t.addEventListener(s,h,!1):t.attachEvent("on"+s,h);var p=function(){function t(e){return e="head",["<",e,"></",e,"><",s,' onload="var d=',y,";d.getElementsByTagName('head')[0].",a,"(d.",f,"('script')).",h,"='",r,"//",u.l,"'",'"',"></",s,">"].join("")}var s="body",o=n[s];if(!o)return setTimeout(p,100);u.P(1);var a="appendChild",f="createElement",h="src",v=n[f]("div"),m=v[a](n[f](i)),g=n[f]("iframe"),y="document",b="domain",w;v.style.display="none",o.insertBefore(v,o.firstChild).id=i,g.frameBorder="0",g.id=i+"-loader",/MSIE[ ]+6/.test(navigator.userAgent)&&(g.src="javascript:false"),g.allowTransparency="true",m[a](g);try{g.contentWindow[y].open()}catch(E){e[b]=n[b],w="javascript:var d="+y+".open();d.domain='"+n.domain+"';",g[h]=w+"void(0);"}try{var S=g.contentWindow[y];S.write(t()),S.close()}catch(x){g[h]=w+'d.write("'+t().replace(/"/g,String.fromCharCode(92)+'"')+'");d.close();'}u.P(2)};p()};o()}({loader:"static.olark.com/jsclient/loader0.js",name:"olark",methods:["configure","extend","declare","identify"]}),window.olark.identify(e.siteId),t()},identify:function(e,t){if(!this.options.identify)return;var n=e;t&&t.email&&(n=t.email),t&&t.name&&(n=t.name),t&&t.name&&t.email&&(n+=" ("+t.email+")");if(!n)return;window.olark("api.chat.updateVisitorNickname",{snippet:n})},track:function(e,t){if(!this.options.track)return;window.olark("api.chat.sendNotificationToOperator",{body:'visitor triggered "'+e+'"'})},pageview:function(e){if(!this.options.pageview)return;window.olark("api.chat.sendNotificationToOperator",{body:"looking at "+window.location.href})}})}),require.register("analytics/src/providers/perfect-audience.js",function(e,t,n){var r=t("../provider"),i=t("load-script");n.exports=r.extend({key:"siteId",options:{siteId:null},initialize:function(e,t){window._pa=window._pa||{},i("//tag.perfectaudience.com/serve/"+e.siteId+".js",t)},track:function(e,t){if(!window._pa.track)return;window._pa.track(e,t)}})}),require.register("analytics/src/providers/qualaroo.js",function(e,t,n){var r=t("../provider"),i=t("load-script");n.exports=r.extend({options:{customerId:null,siteToken:null,track:!1},initialize:function(e,t){window._kiq=window._kiq||[],i("//s3.amazonaws.com/ki.js/"+e.customerId+"/"+e.siteToken+".js"),t()},identify:function(e,t){e&&window._kiq.push(["identify",e]),t&&window._kiq.push(["set",t])},track:function(e,t){if(!this.options.track)return;var n={};n["Triggered: "+e]=!0,this.identify(null,n)}})}),require.register("analytics/src/providers/quantcast.js",function(e,t,n){var r=t("../provider"),i=t("load-script");n.exports=r.extend({key:"pCode",options:{pCode:null},initialize:function(e,t){window._qevents=window._qevents||[],window._qevents.push({qacct:e.pCode}),i({http:"http://edge.quantserve.com/quant.js",https:"https://secure.quantserve.com/quant.js"},t)}})}),require.register("analytics/src/providers/sentry.js",function(e,t,n){var r=t("../provider"),i=t("load-script");n.exports=r.extend({key:"config",options:{config:null},initialize:function(e,t){i("//d3nslu0hdya83q.cloudfront.net/dist/1.0/raven.min.js",function(){window.Raven.config(e.config).install(),t()})},identify:function(e,t){t||(t={}),e&&(t.id=e),window.Raven.setUser(t)}})}),require.register("analytics/src/providers/snapengage.js",function(e,t,n){var r=t("../provider"),i=t("load-script");n.exports=r.extend({key:"apiKey",options:{apiKey:null},initialize:function(e,t){i("//commondatastorage.googleapis.com/code.snapengage.com/js/"+e.apiKey+".js",t)}})}),require.register("analytics/src/providers/storyberg.js",function(e,t,n){var r=t("../provider"),i=t("is-email"),s=t("load-script");n.exports=r.extend({key:"apiKey",options:{apiKey:null},initialize:function(e,t){window._sbq=window._sbq||[],window._sbk=e.apiKey,s("//storyberg.com/analytics.js"),t()},identify:function(e,t){if(!e)return;t||(t={}),t.user_id=e,!t.email&&i(e)&&(t.email=e),window._sbq.push(["identify",t])},track:function(e,t){t||(t={}),t.name&&(t._name=t.name),t.name=e,window._sbq.push(["event",t])}})}),require.register("analytics/src/providers/usercycle.js",function(e,t,n){var r=t("../provider"),i=t("load-script"),s=t("../user");n.exports=r.extend({key:"key",options:{key:null},initialize:function(e,t){window._uc=window._uc||[],window._uc.push(["_key",e.key]),i("//api.usercycle.com/javascripts/track.js"),t()},identify:function(e,t){e&&window._uc.push(["uid",e])},track:function(e,t){var n=s.traits();window._uc.push(["action",e,n])}})}),require.register("analytics/src/providers/uservoice.js",function(e,t,n){var r=t("../provider"),i=t("load-script");n.exports=r.extend({key:"widgetId",options:{widgetId:null},initialize:function(e,t){window.uvOptions={},i("//widget.uservoice.com/"+e.widgetId+".js",t)}})}),require.register("analytics/src/providers/vero.js",function(e,t,n){var r=t("../provider"),i=t("is-email"),s=t("load-script");n.exports=r.extend({key:"apiKey",options:{apiKey:null},initialize:function(e,t){window._veroq=window._veroq||[],window._veroq.push(["init",{api_key:e.apiKey}]),s("//www.getvero.com/assets/m.js"),t()},identify:function(e,t){if(!e)return;t||(t={}),t.id=e,!t.email&&i(e)&&(t.email=e);if(!t.id||!t.email)return;window._veroq.push(["user",t])},track:function(e,t){window._veroq.push(["track",e,t])}})}),require.register("analytics/src/providers/woopra.js",function(e,t,n){var r=t("../provider"),i=t("each"),s=t("extend"),o=t("is-email"),u=t("load-script"),a=t("type"),f=t("../user");n.exports=r.extend({key:"domain",options:{domain:null},initialize:function(e,t){var n=this;window.woopraReady=function(e){e.setDomain(n.options.domain),e.setIdleTimeout(3e5);var r=f.id(),i=f.traits();return n.addTraits(r,i,e),e.track(),t(),!1},u("//static.woopra.com/js/woopra.js")},identify:function(e,t){if(!window.woopraTracker)return;this.addTraits(e,t,window.woopraTracker),window.woopraTracker.track()},addTraits:function(e,t,n){var r=n.addVisitorProperty;e&&r("id",e),o(e)&&r("email",e),i(t,function(e,t){a(t)==="string"&&r(e,t)})},track:function(e,t){if(!window.woopraTracker)return;var n={};n.name=e,t&&(n=s({},t,n)),window.woopraTracker.pushEvent(n)}})}),require.alias("component-clone/index.js","analytics/deps/clone/index.js"),require.alias("component-type/index.js","component-clone/deps/type/index.js"),require.alias("component-cookie/index.js","analytics/deps/cookie/index.js"),require.alias("component-each/index.js","analytics/deps/each/index.js"),require.alias("component-type/index.js","component-each/deps/type/index.js"),require.alias("component-event/index.js","analytics/deps/event/index.js"),require.alias("component-json/index.js","analytics/deps/json/index.js"),require.alias("component-json-fallback/index.js","analytics/deps/json-fallback/index.js"),require.alias("component-object/index.js","analytics/deps/object/index.js"),require.alias("component-querystring/index.js","analytics/deps/querystring/index.js"),require.alias("component-trim/index.js","component-querystring/deps/trim/index.js"),require.alias("component-type/index.js","analytics/deps/type/index.js"),require.alias("component-url/index.js","analytics/deps/url/index.js"),require.alias("segmentio-after/index.js","analytics/deps/after/index.js"),require.alias("segmentio-alias/index.js","analytics/deps/alias/index.js"),require.alias("segmentio-canonical/index.js","analytics/deps/canonical/index.js"),require.alias("segmentio-extend/index.js","analytics/deps/extend/index.js"),require.alias("segmentio-is-email/index.js","analytics/deps/is-email/index.js"),require.alias("segmentio-load-date/index.js","analytics/deps/load-date/index.js"),require.alias("segmentio-load-script/index.js","analytics/deps/load-script/index.js"),require.alias("component-type/index.js","segmentio-load-script/deps/type/index.js"),require.alias("yields-prevent/index.js","analytics/deps/prevent/index.js"),require.alias("analytics/src/index.js","analytics/index.js"),typeof exports=="object"?module.exports=require("analytics"):typeof define=="function"&&define.amd?define(function(){return require("analytics")}):window.analytics=require("analytics")})();