http://git-wip-us.apache.org/repos/asf/incubator-unomi/blob/ac325f94/extensions/web-tracker/javascript/dist/unomi-tracker.min.js
----------------------------------------------------------------------
diff --git a/extensions/web-tracker/javascript/dist/unomi-tracker.min.js 
b/extensions/web-tracker/javascript/dist/unomi-tracker.min.js
index 03681c6..9b7a5dc 100644
--- a/extensions/web-tracker/javascript/dist/unomi-tracker.min.js
+++ b/extensions/web-tracker/javascript/dist/unomi-tracker.min.js
@@ -16,8 +16,8 @@
  *
  * @license Apache-2.0
  */
-!function(t){if("object"==typeof exports&&"undefined"!=typeof 
module)module.exports=t();else if("function"==typeof 
define&&define.amd)define([],t);else{var e;e="undefined"!=typeof 
window?window:"undefined"!=typeof global?global:"undefined"!=typeof 
self?self:this,e.unomiTracker=t()}}(function(){var t;return function(){function 
t(e,n,r){function o(a,s){if(!n[a]){if(!e[a]){var c="function"==typeof 
require&&require;if(!s&&c)return c(a,!0);if(i)return i(a,!0);var u=new 
Error("Cannot find module '"+a+"'");throw u.code="MODULE_NOT_FOUND",u}var 
l=n[a]={exports:{}};e[a][0].call(l.exports,function(t){return 
o(e[a][1][t]||t)},l,l.exports,t,e,n,r)}return n[a].exports}for(var 
i="function"==typeof require&&require,a=0;a<r.length;a++)o(r[a]);return 
o}return t}()({1:[function(t,e,n){"use strict";var 
r=t("@ndhoule/arity"),o=Object.prototype.toString,i=function(t){return"function"==typeof
 t},a=function(t){var e=typeof t;return"number"===e||"object"===e&&"[object 
Number]"===o.call(t)},s=function(t,e){
 if(!a(t))throw new TypeError("Expected a number but received "+typeof 
t);if(!i(e))throw new TypeError("Expected a function but received "+typeof 
e);var n=0;return r(e.length,function(){if(!((n+=1)<t))return 
e.apply(this,arguments)})};e.exports=s},{"@ndhoule/arity":2}],2:[function(t,e,n){"use
 strict";var r=Object.prototype.toString,o=function(t){return"function"==typeof 
t},i=function(t){var e=typeof t;return"number"===e||"object"===e&&"[object 
Number]"===r.call(t)},a=function(t){for(var 
e=[],n=1;n<=t;n+=1)e.push("arg"+n);return e},s=function(t){var e=a(t).join(", 
"),n="".concat("  return function(",e,") {\n","    return func.apply(this, 
arguments);\n","  };");return new Function("func",n)},c=[function(t){return 
function(){return t.apply(this,arguments)}},function(t){return 
function(e){return t.apply(this,arguments)}},function(t){return 
function(e,n){return t.apply(this,arguments)}},function(t){return 
function(e,n,r){return t.apply(this,arguments)}},function(t){return 
function(e,n,r,o
 ){return t.apply(this,arguments)}},function(t){return 
function(e,n,r,o,i){return 
t.apply(this,arguments)}}],u=function(t,e){if(!o(e))throw new 
TypeError("Expected a function but got "+typeof e);return 
t=Math.max(i(t)?t:0,0),c[t]||(c[t]=s(t)),c[t](e)};e.exports=u},{}],3:[function(t,e,n){"use
 strict";var r=t("component-type"),o=function t(e){var 
n=r(e);if("object"===n){var o={};for(var i in 
e)e.hasOwnProperty(i)&&(o[i]=t(e[i]));return o}if("array"===n){for(var o=new 
Array(e.length),a=0,s=e.length;a<s;a++)o[a]=t(e[a]);return 
o}if("regexp"===n){var c="";return 
c+=e.multiline?"m":"",c+=e.global?"g":"",c+=e.ignoreCase?"i":"",new 
RegExp(e.source,c)}return"date"===n?new 
Date(e.getTime()):e};e.exports=o},{"component-type":56}],4:[function(t,e,n){"use
 strict";var 
r=t("@ndhoule/drop"),o=t("@ndhoule/rest"),i=Object.prototype.hasOwnProperty,a=Object.prototype.toString,s=function(t){return
 Boolean(t)&&"object"==typeof t},c=function(t){return Boolean(t)&&"[object 
Object]"===a.call(t)},u=function(t
 ,e,n,r){return i.call(e,r)&&void 
0===t[r]&&(t[r]=n),e},l=function(t,e,n,r){return 
i.call(e,r)&&(c(t[r])&&c(n)?t[r]=f(t[r],n):void 
0===t[r]&&(t[r]=n)),e},p=function(t,e){if(!s(e))return e;t=t||u;for(var 
n=r(2,arguments),o=0;o<n.length;o+=1)for(var i in 
n[o])t(e,n[o],n[o][i],i);return e},f=function(t){return 
p.apply(null,[l,t].concat(o(arguments)))},d=function(t){return 
p.apply(null,[null,t].concat(o(arguments)))};e.exports=d,e.exports.deep=f},{"@ndhoule/drop":5,"@ndhoule/rest":14}],5:[function(t,e,n){"use
 strict";var r=Math.max,o=function(t,e){var 
n=e?e.length:0;if(!n)return[];for(var o=r(Number(t)||0,0),i=r(n-o,0),a=new 
Array(i),s=0;s<i;s+=1)a[s]=e[s+o];return 
a};e.exports=o},{}],6:[function(t,e,n){"use strict";var 
r=t("@ndhoule/keys"),o=Object.prototype.toString,i=function(t){var e=typeof 
t;return"number"===e||"object"===e&&"[object 
Number]"===o.call(t)},a="function"==typeof 
Array.isArray?Array.isArray:function(t){return"[object 
Array]"===o.call(t)},s=function(t){return null!=t&&(a
 (t)||"function"!==t&&i(t.length))},c=function(t,e){for(var 
n=0;n<e.length&&!1!==t(e[n],n,e);n+=1);},u=function(t,e){for(var 
n=r(e),o=0;o<n.length&&!1!==t(e[n[o]],n[o],e);o+=1);},l=function(t,e){return(s(e)?c:u).call(this,t,e)};e.exports=l},{"@ndhoule/keys":11}],7:[function(t,e,n){"use
 strict";var r=t("@ndhoule/each"),o=function(t,e){if("function"!=typeof t)throw 
new TypeError("`predicate` must be a function but was a "+typeof t);var 
n=!0;return 
r(function(e,r,o){if(!(n=!!t(e,r,o)))return!1},e),n};e.exports=o},{"@ndhoule/each":6}],8:[function(t,e,n){"use
 strict";var r=Object.prototype.hasOwnProperty,o=function(t){for(var 
e=Array.prototype.slice.call(arguments,1),n=0;n<e.length;n+=1)for(var o in 
e[n])r.call(e[n],o)&&(t[o]=e[n][o]);return 
t};e.exports=o},{}],9:[function(t,e,n){"use strict";var 
r=t("@ndhoule/each"),o=function(t,e,n){if("function"!=typeof t)throw new 
TypeError("Expected a function but received a "+typeof t);return 
r(function(n,r,o){e=t(e,n,r,o)},n),e};e.exports=o},{"@ndh
 oule/each":6}],10:[function(t,e,n){"use strict";var 
r=t("@ndhoule/each"),o=String.prototype.indexOf,i=function(t,e){return 
t===e?0!==t||1/t==1/e:t!==t&&e!==e},a=function(t,e){var 
n=!1;return"string"==typeof e?-1!==o.call(e,t):(r(function(e){if(i(e,t))return 
n=!0,!1},e),n)};e.exports=a},{"@ndhoule/each":6}],11:[function(t,e,n){"use 
strict";var 
r=Object.prototype.hasOwnProperty,o=String.prototype.charAt,i=Object.prototype.toString,a=function(t,e){return
 o.call(t,e)},s=function(t,e){return r.call(t,e)},c=function(t){return"[object 
String]"===i.call(t)},u=function(t){return null!=t&&"function"!=typeof 
t&&"number"==typeof t.length},l=function(t,e){e=e||s;for(var 
n=[],r=0,o=t.length;r<o;r+=1)e(t,r)&&n.push(String(r));return 
n},p=function(t,e){e=e||s;var n=[];for(var r in 
t)e(t,r)&&n.push(String(r));return n},f=function(t){return 
null==t?[]:c(t)?l(t,a):u(t)?l(t,s):p(t)};e.exports=f},{}],12:[function(t,e,n){"use
 strict";var r=t("@ndhoule/each"),o=function(t,e){if("function"!=typeof t)throw 
 new TypeError("Expected a function but received a "+typeof t);var n=[];return 
r(function(e,r,o){n.push(t(e,r,o))},e),n};e.exports=o},{"@ndhoule/each":6}],13:[function(t,e,n){"use
 strict";var r=Object.prototype.toString,o=function(t){return 
null!=t},i=function(t){return"[object 
Array]"===r.call(t)},a=function(t){return"string"==typeof t||"[object 
String]"===r.call(t)},s=function(t){return null!=t&&"object"==typeof 
t},c=function(t,e){if(!o(e)||!s(e))return{};a(t)&&(t=[t]),i(t)||(t=[]);for(var 
n={},r=0;r<t.length;r+=1)a(t[r])&&t[r]in e&&(n[t[r]]=e[t[r]]);return 
n};e.exports=c},{}],14:[function(t,e,n){"use strict";var 
r=Math.max,o=function(t){if(null==t||!t.length)return[];for(var e=new 
Array(r(t.length-2,0)),n=1;n<t.length;n+=1)e[n-1]=t[n];return 
e};e.exports=o},{}],15:[function(t,e,n){(function(n){"use strict";function 
r(){this._options({}),this.Integrations={},this._integrations={},this._readied=!1,this._timeout=300,this._user=z,this.log=m("analytics.js"),f(this);var
 t=this;this.on("
 
initialize",function(e,n){n.initialPageview&&t.page(),t._parseQuery(window.location.search)})}var
 
o=n.analytics,i=t("segmentio-facade").Alias,a=t("component-emitter"),s=t("segmentio-facade").Group,c=t("segmentio-facade").Identify,u=t("segmentio-facade").Page,l=t("segmentio-facade").Track,p=t("@ndhoule/after"),f=t("bind-all"),d=t("@ndhoule/clone"),h=t("extend"),y=t("./cookie"),g=t("./metrics"),m=t("debug"),v=t("@ndhoule/defaults"),b=t("@ndhoule/each"),w=t("@ndhoule/foldl"),_=t("./group"),x=t("is"),j=t("@segment/is-meta"),k=t("@ndhoule/keys"),I=t("./memory"),T=t("next-tick"),C=t("./normalize"),O=t("component-event").bind,A=t("./pageDefaults"),E=t("@ndhoule/pick"),S=t("@segment/prevent-default"),D=t("component-querystring"),N=t("./store"),z=t("./user"),$=t("component-type");a(r.prototype),r.prototype.use=function(t){return
 t(this),this},r.prototype.addIntegration=function(t){var 
e=t.prototype.name;if(!e)throw new TypeError("attempted to add an invalid 
integration");return this.Integrat
 
ions[e]=t,this},r.prototype.init=r.prototype.initialize=function(t,e){t=t||{},e=e||{},this._options(e),this._readied=!1;var
 n=this;b(function(e,r){n.Integrations[r]||delete 
t[r]},t),b(function(t,r){if(!e.integrations||!1!==e.integrations[r]&&(!1!==e.integrations.All||e.integrations[r])){var
 o=n.Integrations[r],i={};h(!0,i,t);var a=new o(i);n.log("initialize %o - 
%o",r,t),n.add(a)}},t);var r=this._integrations;z.load(),_.load();var 
o=k(r).length,i=p(o,function(){n._readied=!0,n.emit("ready")});return 
o<=0&&i(),this.failedInitializations=[],b(function(t){e.initialPageview&&!1===t.options.initialPageview&&(t.page=p(2,t.page)),t.analytics=n,t.once("ready",i);try{g.increment("analytics_js.integration.invoke",{method:"initialize",integration_name:t.name}),t.initialize()}catch(e){var
 
r=t.name;g.increment("analytics_js.integration.invoke.error",{method:"initialize",integration_name:t.name}),n.failedInitializations.push(r),n.log("Error
 initializing %s integration: %o",r,e),t.ready()}},r),thi
 
s.initialized=!0,this.emit("initialize",t,e),this},r.prototype.setAnonymousId=function(t){return
 this.user().anonymousId(t),this},r.prototype.add=function(t){return 
this._integrations[t.name]=t,this},r.prototype.identify=function(t,e,n,r){x.fn(n)&&(r=n,n=null),x.fn(e)&&(r=e,n=null,e=null),x.object(t)&&(n=e,e=t,t=z.id()),z.identify(t,e);var
 o=this.normalize({options:n,traits:z.traits(),userId:z.id()});return 
this.options.integrations&&v(o.integrations,this.options.integrations),this._invoke("identify",new
 
c(o)),this.emit("identify",t,e,n),this._callback(r),this},r.prototype.user=function(){return
 z},r.prototype.group=function(t,e,n,r){if(!arguments.length)return 
_;x.fn(n)&&(r=n,n=null),x.fn(e)&&(r=e,n=null,e=null),x.object(t)&&(n=e,e=t,t=_.id()),_.identify(t,e);var
 o=this.normalize({options:n,traits:_.traits(),groupId:_.id()});return 
this.options.integrations&&v(o.integrations,this.options.integrations),this._invoke("group",new
 s(o)),this.emit("group",t,e,n),this._callback(r),this},r
 
.prototype.track=function(t,e,n,r){x.fn(n)&&(r=n,n=null),x.fn(e)&&(r=e,n=null,e=null);var
 
o=this.options.plan||{},i=o.track||{},a={},s=this.normalize({properties:e,options:n,event:t});if(o=i[t])this.log("plan
 %o - 
%o",t,o),a=!1===o.enabled?{All:!1,"Segment.io":!0}:o.integrations||{};else{(i.__default||{enabled:!0}).enabled||(a={All:!1,"Segment.io":!0})}return
 
v(s.integrations,this._mergeInitializeAndPlanIntegrations(a)),this._invoke("track",new
 
l(s)),this.emit("track",t,e,n),this._callback(r),this},r.prototype.trackClick=r.prototype.trackLink=function(t,e,n){if(!t)return
 this;"element"===$(t)&&(t=[t]);var r=this;return 
b(function(t){if("element"!==$(t))throw new TypeError("Must pass HTMLElement to 
`analytics.trackLink`.");O(t,"click",function(o){var 
i=x.fn(e)?e(t):e,a=x.fn(n)?n(t):n,s=t.getAttribute("href")||t.getAttributeNS("http://www.w3.org/1999/xlink","href";)||t.getAttribute("xlink:href");r.track(i,a),s&&"_blank"!==t.target&&!j(o)&&(S(o),r._callback(function(){window.location.hr
 
ef=s}))})},t),this},r.prototype.trackSubmit=r.prototype.trackForm=function(t,e,n){if(!t)return
 this;"element"===$(t)&&(t=[t]);var r=this;return b(function(t){function 
o(o){S(o);var 
i=x.fn(e)?e(t):e,a=x.fn(n)?n(t):n;r.track(i,a),r._callback(function(){t.submit()})}if("element"!==$(t))throw
 new TypeError("Must pass HTMLElement to `analytics.trackForm`.");var 
i=window.jQuery||window.Zepto;i?i(t).submit(o):O(t,"submit",o)},t),this},r.prototype.page=function(t,e,n,r,o){x.fn(r)&&(o=r,r=null),x.fn(n)&&(o=n,r=n=null),x.fn(e)&&(o=e,r=n=e=null),"object"===$(t)&&(r=e,n=t,e=t=null),"object"===$(e)&&(r=n,n=e,e=null),"string"===$(t)&&"string"!==$(e)&&(e=t,t=null),n=d(n)||{},e&&(n.name=e),t&&(n.category=t);var
 i=A();v(n,i);var 
a=E(k(i),n);x.empty(a)||(r=r||{},r.context=r.context||{},r.context.page=a);var 
s=this.normalize({properties:n,category:t,options:r,name:e});return 
this.options.integrations&&v(s.integrations,this.options.integrations),this._invoke("page",new
 u(s)),this.emit("page",t,e,n,r),t
 his._callback(o),this},r.prototype.pageview=function(t){var e={};return 
t&&(e.path=t),this.page(e),this},r.prototype.alias=function(t,e,n,r){x.fn(n)&&(r=n,n=null),x.fn(e)&&(r=e,n=null,e=null),x.object(e)&&(n=e,e=null);var
 o=this.normalize({options:n,previousId:e,userId:t});return 
this.options.integrations&&v(o.integrations,this.options.integrations),this._invoke("alias",new
 
i(o)),this.emit("alias",t,e,n),this._callback(r),this},r.prototype.ready=function(t){return
 
x.fn(t)&&(this._readied?T(t):this.once("ready",t)),this},r.prototype.timeout=function(t){this._timeout=t},r.prototype.debug=function(t){!arguments.length||t?m.enable("analytics:"+(t||"*")):m.disable()},r.prototype._options=function(t){return
 
t=t||{},this.options=t,y.options(t.cookie),g.options(t.metrics),N.options(t.localStorage),z.options(t.user),_.options(t.group),this},r.prototype._callback=function(t){return
 
x.fn(t)&&(this._timeout?setTimeout(t,this._timeout):T(t)),this},r.prototype._invoke=function(t,e){var
 n=this;g.i
 ncrement("analytics_js.invoke",{method:t}),this.emit("invoke",e);var 
r=n.failedInitializations||[];return 
b(function(o,i){if(e.enabled(i))if(r.indexOf(i)>=0)n.log("Skipping invokation 
of .%s method of %s integration. Integation failed to initialize 
properly.",t,i);else 
try{g.increment("analytics_js.integration.invoke",{method:t,integration_name:o.name}),o.invoke.call(o,t,e)}catch(e){g.increment("analytics_js.integration.invoke.error",{method:t,integration_name:o.name}),n.log("Error
 invoking .%s method of %s integration: 
%o",t,i,e)}},this._integrations),this},r.prototype.push=function(t){var 
e=t.shift();this[e]&&this[e].apply(this,t)},r.prototype.reset=function(){this.user().logout(),this.group().logout()},r.prototype._parseQuery=function(t){function
 e(t,e){var n,r=t.length;return w(function(e,o,i){return 
i.substr(0,r)===t&&(n=i.substr(r),e[n]=o),e},{},e)}var 
n=D.parse(t),r=e("ajs_trait_",n),o=e("ajs_prop_",n);return 
n.ajs_uid&&this.identify(n.ajs_uid,r),n.ajs_event&&this.track(n.ajs
 
_event,o),n.ajs_aid&&z.anonymousId(n.ajs_aid),this},r.prototype.normalize=function(t){return
 
t=C(t,k(this._integrations)),t.anonymousId&&z.anonymousId(t.anonymousId),t.anonymousId=z.anonymousId(),t.context.page=v(t.context.page||{},A()),t},r.prototype._mergeInitializeAndPlanIntegrations=function(t){if(!this.options.integrations)return
 t;var e,n=h({},this.options.integrations);!1===t.All&&(n={All:!1});for(e in 
t)t.hasOwnProperty(e)&&!1!==this.options.integrations[e]&&(n[e]=t[e]);return 
n},r.prototype.noConflict=function(){return 
window.analytics=o,this},e.exports=r,e.exports.cookie=y,e.exports.memory=I,e.exports.store=N,e.exports.metrics=g}).call(this,"undefined"!=typeof
 global?global:"undefined"!=typeof self?self:"undefined"!=typeof 
window?window:{})},{"./cookie":16,"./group":18,"./memory":20,"./metrics":21,"./normalize":22,"./pageDefaults":23,"./store":24,"./user":25,"@ndhoule/after":1,"@ndhoule/clone":3,"@ndhoule/defaults":4,"@ndhoule/each":6,"@ndhoule/foldl":9,"@ndhoule/keys":11,
 
"@ndhoule/pick":13,"@segment/is-meta":34,"@segment/prevent-default":38,"bind-all":43,"component-emitter":51,"component-event":52,"component-querystring":54,"component-type":56,debug:26,extend:61,is:65,"next-tick":74,"segmentio-facade":84}],16:[function(t,e,n){"use
 strict";function r(t){this.options(t)}var 
o=t("bind-all"),i=t("@ndhoule/clone"),a=t("component-cookie"),s=t("debug")("analytics.js:cookie"),c=t("@ndhoule/defaults"),u=t("json3"),l=t("@segment/top-domain");r.prototype.options=function(t){if(0===arguments.length)return
 this._options;t=t||{};var 
e="."+l(window.location.href);"."===e&&(e=null),this._options=c(t,{maxage:31536e6,path:"/",domain:e}),this.set("ajs:test",!0),this.get("ajs:test")||(s("fallback
 to 
domain=null"),this._options.domain=null),this.remove("ajs:test")},r.prototype.set=function(t,e){try{return
 
e=u.stringify(e),a(t,e,i(this._options)),!0}catch(t){return!1}},r.prototype.get=function(t){try{var
 e=a(t);return e=e?u.parse(e):null}catch(t){return null}},r.prototyp
 e.remove=function(t){try{return 
a(t,null,i(this._options)),!0}catch(t){return!1}},e.exports=o(new 
r),e.exports.Cookie=r},{"@ndhoule/clone":3,"@ndhoule/defaults":4,"@segment/top-domain":41,"bind-all":43,"component-cookie":45,debug:26,json3:66}],17:[function(t,e,n){"use
 strict";function r(t){this.options(t),this.initialize()}var 
o=t("@ndhoule/clone"),i=t("./cookie"),a=t("debug")("analytics:entity"),s=t("@ndhoule/defaults"),c=t("@ndhoule/extend"),u=t("./memory"),l=t("./store"),p=t("@segment/isodate-traverse");e.exports=r,r.prototype.initialize=function(){return
 
i.set("ajs:cookies",!0),i.get("ajs:cookies")?(i.remove("ajs:cookies"),void(this._storage=i)):l.enabled?void(this._storage=l):(a("warning
 using memory store both cookies and localStorage are 
disabled"),void(this._storage=u))},r.prototype.storage=function(){return 
this._storage},r.prototype.options=function(t){if(0===arguments.length)return 
this._options;this._options=s(t||{},this.defaults||{})},r.prototype.id=function(t){switch(a
 rguments.length){case 0:return this._getId();case 1:return 
this._setId(t)}},r.prototype._getId=function(){var 
t=this._options.persist?this.storage().get(this._options.cookie.key):this._id;return
 void 
0===t?null:t},r.prototype._setId=function(t){this._options.persist?this.storage().set(this._options.cookie.key,t):this._id=t},r.prototype.properties=r.prototype.traits=function(t){switch(arguments.length){case
 0:return this._getTraits();case 1:return 
this._setTraits(t)}},r.prototype._getTraits=function(){var 
t=this._options.persist?l.get(this._options.localStorage.key):this._traits;return
 
t?p(o(t)):{}},r.prototype._setTraits=function(t){t=t||{},this._options.persist?l.set(this._options.localStorage.key,t):this._traits=t},r.prototype.identify=function(t,e){e=e||{};var
 
n=this.id();null!==n&&n!==t||(e=c(this.traits(),e)),t&&this.id(t),this.debug("identify
 %o, 
%o",t,e),this.traits(e),this.save()},r.prototype.save=function(){return!!this._options.persist&&(i.set(this._options.cookie.key,this
 
.id()),l.set(this._options.localStorage.key,this.traits()),!0)},r.prototype.logout=function(){this.id(null),this.traits({}),i.remove(this._options.cookie.key),l.remove(this._options.localStorage.key)},r.prototype.reset=function(){this.logout(),this.options({})},r.prototype.load=function(){this.id(i.get(this._options.cookie.key)),this.traits(l.get(this._options.localStorage.key))}},{"./cookie":16,"./memory":20,"./store":24,"@ndhoule/clone":3,"@ndhoule/defaults":4,"@ndhoule/extend":8,"@segment/isodate-traverse":35,debug:26}],18:[function(t,e,n){"use
 strict";function r(t){this.defaults=r.defaults,this.debug=a,o.call(this,t)}var 
o=t("./entity"),i=t("bind-all"),a=t("debug")("analytics:group"),s=t("inherits");r.defaults={persist:!0,cookie:{key:"ajs_group_id"},localStorage:{key:"ajs_group_properties"}},s(r,o),e.exports=i(new
 
r),e.exports.Group=r},{"./entity":17,"bind-all":43,debug:26,inherits:63}],19:[function(t,e,n){"use
 strict";var r=t("./analytics"),o=new r;o.VERSION=t("../package.json"
 
).version,e.exports=o},{"../package.json":27,"./analytics":15}],20:[function(t,e,n){"use
 strict";function r(){this.store={}}var 
o=t("bind-all"),i=t("@ndhoule/clone"),a=Object.prototype.hasOwnProperty;e.exports=o(new
 r),r.prototype.set=function(t,e){return 
this.store[t]=i(e),!0},r.prototype.get=function(t){if(a.call(this.store,t))return
 i(this.store[t])},r.prototype.remove=function(t){return delete 
this.store[t],!0}},{"@ndhoule/clone":3,"bind-all":43}],21:[function(t,e,n){"use 
strict";function r(t){this.options(t)}var 
o=t("bind-all"),i=t("@segment/send-json"),a=t("debug")("analytics.js:metrics");r.prototype.options=function(t){if(t=t||{},this.host=t.host||"api.segment.io/v1",this.sampleRate=t.sampleRate||0,this.flushTimer=t.flushTimer||3e4,this.maxQueueSize=t.maxQueueSize||20,this.queue=[],this.sampleRate>0){var
 
e=this;setInterval(function(){e._flush()},this.flushTimer)}},r.prototype.increment=function(t,e){Math.random()>this.sampleRate||this.queue.length>=this.maxQueueSize||(this.qu
 
eue.push({type:"Counter",metric:t,value:1,tags:e}),t.indexOf("error")>0&&this._flush())},r.prototype._flush=function(){var
 t=this;if(!(t.queue.length<=0)){var 
e={series:this.queue},n={"Content-Type":"text/plain"};t.queue=[],"xhr"===i.type&&i("https://"+this.host+"/m",e,n,function(t,n){a("sent
 %O, received %O",e,[t,n])})}},e.exports=o(new 
r),e.exports.Metrics=r},{"@segment/send-json":39,"bind-all":43,debug:26}],22:[function(t,e,n){"use
 strict";function r(t,e){function 
n(t){return!(!s(t,e)&&"all"!==t.toLowerCase()&&!s(t.toLowerCase(),r))}var 
r=c(function(t){return 
t.toLowerCase()},e),f=t.options||{},d=f.integrations||{},h=f.providers||{},y=f.context||{},g={};return
 o("<-",t),a(function(t,e){n(e)&&(l.call(d,e)||(d[e]=t),delete f[e])},f),delete 
f.providers,a(function(t,e){n(e)&&"object"!==u(d[e])&&(l.call(d,e)&&"boolean"==typeof
 h[e]||(d[e]=t))},h),a(function(t,e){s(e,p)?g[e]=f[e]:y[e]=f[e]},f),delete 
t.options,g.integrations=d,g.context=y,g=i(g,t),o("->",g),g}var 
o=t("debug")("analytic
 
s.js:normalize"),i=t("@ndhoule/defaults"),a=t("@ndhoule/each"),s=t("@ndhoule/includes"),c=t("@ndhoule/map"),u=t("component-type"),l=Object.prototype.hasOwnProperty;e.exports=r;var
 
p=["integrations","anonymousId","timestamp","context"]},{"@ndhoule/defaults":4,"@ndhoule/each":6,"@ndhoule/includes":10,"@ndhoule/map":12,"component-type":56,debug:26}],23:[function(t,e,n){"use
 strict";function 
r(){return{path:o(),referrer:document.referrer,search:location.search,title:document.title,url:i(location.search)}}function
 o(){var t=a();return t?c.parse(t).pathname:window.location.pathname}function 
i(t){var e=a();if(e)return s("?",e)?e:e+t;var 
n=window.location.href,r=n.indexOf("#");return-1===r?n:n.slice(0,r)}var 
a=t("@segment/canonical"),s=t("@ndhoule/includes"),c=t("component-url");e.exports=r},{"@ndhoule/includes":10,"@segment/canonical":32,"component-url":57}],24:[function(t,e,n){"use
 strict";function r(t){this.options(t)}var 
o=t("bind-all"),i=t("@ndhoule/defaults"),a=t("@segment/store");r.p
 rototype.options=function(t){if(0===arguments.length)return 
this._options;t=t||{},i(t,{enabled:!0}),this.enabled=t.enabled&&a.enabled,this._options=t},r.prototype.set=function(t,e){return!!this.enabled&&a.set(t,e)},r.prototype.get=function(t){return
 
this.enabled?a.get(t):null},r.prototype.remove=function(t){return!!this.enabled&&a.remove(t)},e.exports=o(new
 
r),e.exports.Store=r},{"@ndhoule/defaults":4,"@segment/store":40,"bind-all":43}],25:[function(t,e,n){"use
 strict";function r(t){this.defaults=r.defaults,this.debug=s,o.call(this,t)}var 
o=t("./entity"),i=t("bind-all"),a=t("./cookie"),s=t("debug")("analytics:user"),c=t("inherits"),u=t("component-cookie"),l=t("uuid");r.defaults={persist:!0,cookie:{key:"ajs_user_id",oldKey:"ajs_user"},localStorage:{key:"ajs_user_traits"}},c(r,o),r.prototype.id=function(t){var
 e=this._getId(),n=o.prototype.id.apply(this,arguments);return 
null==e?n:(e!=t&&t&&this.anonymousId(null),n)},r.prototype.anonymousId=function(t){var
 e=this.storage();return argu
 
ments.length?(e.set("ajs_anonymous_id",t),this):(t=e.get("ajs_anonymous_id"))?t:(t=u("_sio"))?(t=t.split("----")[0],e.set("ajs_anonymous_id",t),e.remove("_sio"),t):(t=l.v4(),e.set("ajs_anonymous_id",t),e.get("ajs_anonymous_id"))},r.prototype.logout=function(){o.prototype.logout.call(this),this.anonymousId(null)},r.prototype.load=function(){this._loadOldCookie()||o.prototype.load.call(this)},r.prototype._loadOldCookie=function(){var
 
t=a.get(this._options.cookie.oldKey);return!!t&&(this.id(t.id),this.traits(t.traits),a.remove(this._options.cookie.oldKey),!0)},e.exports=i(new
 
r),e.exports.User=r},{"./cookie":16,"./entity":17,"bind-all":43,"component-cookie":45,debug:26,inherits:63,uuid:98}],26:[function(t,e,n){function
 r(t){return r.enabled(t)?function(e){e=o(e);var n=new 
Date,i=n-(r[t]||n);r[t]=n,e=t+" "+e+" 
+"+r.humanize(i),window.console&&console.log&&Function.prototype.apply.call(console.log,console,arguments)}:function(){}}function
 o(t){return t instanceof Error?t.stack||t.message
 
:t}e.exports=r,r.names=[],r.skips=[],r.enable=function(t){try{localStorage.debug=t}catch(t){}for(var
 
e=(t||"").split(/[\s,]+/),n=e.length,o=0;o<n;o++)t=e[o].replace("*",".*?"),"-"===t[0]?r.skips.push(new
 RegExp("^"+t.substr(1)+"$")):r.names.push(new 
RegExp("^"+t+"$"))},r.disable=function(){r.enable("")},r.humanize=function(t){return
 
t>=36e5?(t/36e5).toFixed(1)+"h":t>=6e4?(t/6e4).toFixed(1)+"m":t>=1e3?(t/1e3|0)+"s":t+"ms"},r.enabled=function(t){for(var
 e=0,n=r.skips.length;e<n;e++)if(r.skips[e].test(t))return!1;for(var 
e=0,n=r.names.length;e<n;e++)if(r.names[e].test(t))return!0;return!1};try{window.localStorage&&r.enable(localStorage.debug)}catch(t){}},{}],27:[function(t,e,n){e.exports={name:"@segment/analytics.js-core",author:"Segment
 <frie...@segment.com>",version:"3.7.2",description:"The hassle-free way to 
integrate analytics into any web 
application.",keywords:["analytics","analytics.js","segment","segment.io"],main:"lib/index.js",scripts:{test:"make
 test",lint:'eslint "./{lib,te
 st}/**/*.js"',format:'prettier-eslint --write --list-different 
"./{lib,test}/**/*.{js,json,md}"',precommit:"lint-staged",np:"np 
--no-publish"},"lint-staged":{linters:{"*.{js,json,md}":["prettier-eslint 
--write","git 
add"]}},repository:{type:"git",url:"https://github.com/segmentio/analytics.js-core"},license:"SEE
 LICENSE IN 
LICENSE",bugs:{url:"https://github.com/segmentio/analytics.js-core/issues"},homepage:"https://github.com/segmentio/analytics.js-core#readme",dependencies:{"@ndhoule/after":"^1.0.0","@ndhoule/clone":"^1.0.0","@ndhoule/defaults":"^2.0.1","@ndhoule/each":"^2.0.1","@ndhoule/extend":"^2.0.0","@ndhoule/foldl":"^2.0.1","@ndhoule/includes":"^2.0.1","@ndhoule/keys":"^2.0.0","@ndhoule/map":"^2.0.1","@ndhoule/pick":"^2.0.0","@segment/canonical":"^1.0.0","@segment/is-meta":"^1.0.0","@segment/isodate":"^1.0.2","@segment/isodate-traverse":"^1.0.1","@segment/prevent-default":"^1.0.0","@segment/send-json":"^3.0.0","@segment/store":"^1.3.20","@segment/top-domain":"^3.0.0","bind-al
 
l":"^1.0.0","component-cookie":"^1.1.2","component-emitter":"^1.2.1","component-event":"^0.1.4","component-querystring":"^2.0.0","component-type":"^1.2.1","component-url":"^0.2.1",debug:"^0.7.4",extend:"3.0.1",inherits:"^2.0.1",install:"^0.7.3",is:"^3.1.0",json3:"^3.3.2","new-date":"^1.0.0","next-tick":"^0.2.2","segmentio-facade":"^3.0.2",uuid:"^2.0.2"},devDependencies:{"@segment/analytics.js-integration":"^3.2.1","@segment/eslint-config":"^4.0.0",browserify:"13.0.0","browserify-istanbul":"^2.0.0",codecov:"^3.0.2","compat-trigger-event":"^1.0.0","component-each":"^0.2.6",eslint:"^4.19.1","eslint-config-prettier":"^2.9.0","eslint-plugin-mocha":"^5.0.0","eslint-plugin-react":"^7.9.1","eslint-plugin-require-path-exists":"^1.1.8",husky:"^0.14.3",istanbul:"^0.4.3",jquery:"^3.2.1",karma:"1.3.0","karma-browserify":"^5.0.4","karma-chrome-launcher":"^1.0.1","karma-coverage":"^1.0.0","karma-junit-reporter":"^1.0.0","karma-mocha":"1.0.1","karma-phantomjs-launcher":"^1.0.0","karma-sauce-launche
 
r":"^1.0.0","karma-spec-reporter":"0.0.26","karma-summary-reporter":"^1.5.0","lint-staged":"^7.2.0",mocha:"^2.2.5",np:"^3.0.4","phantomjs-prebuilt":"^2.1.7","prettier-eslint-cli":"^4.7.1",proclaim:"^3.4.1",sinon:"^1.7.3",snyk:"^1.83.0",watchify:"^3.7.0"}}},{}],28:[function(t,e,n){"use
 strict";function r(t){function e(n){if(n&&n.addIntegration)return 
n.addIntegration(e);this.debug=a("analytics:integration:"+u(t)),this.options=s(i(n)||{},this.defaults),this._queue=[],this.once("ready",o(this,this.flush)),e.emit("construct",this),this.ready=o(this,this.ready),this._wrapInitialize(),this._wrapPage(),this._wrapTrack()}return
 
e.prototype.defaults={},e.prototype.globals=[],e.prototype.templates={},e.prototype.name=t,c(e,p),c(e.prototype,l),e}var
 
o=t("component-bind"),i=t("@ndhoule/clone"),a=t("debug"),s=t("@ndhoule/defaults"),c=t("@ndhoule/extend"),u=t("slug-component"),l=t("./protos"),p=t("./statics");e.exports=r},{"./protos":29,"./statics":30,"@ndhoule/clone":3,"@ndhoule/defaults":4,"@nd
 
houle/extend":8,"component-bind":44,debug:58,"slug-component":90}],29:[function(t,e,n){"use
 strict";function r(t){return 
y.array(t)?f(o,t)?"mixed":"array":y.object(t)?"map":"unknown"}function 
o(t){return!!y.object(t)&&(!!y.string(t.key)&&!!w.call(t,"value"))}function 
i(t,e){e=e||function(){};var n=new Image;return n.onerror=a(e,"failed to load 
pixel",n),n.onload=function(){e()},n.src=t.src,n.width=1,n.height=1,n}function 
a(t,e,n){return function(r){r=r||window.event;var o=new 
Error(e);o.event=r,o.source=n,t(o)}}function s(t,e){return 
h(function(t,n,r){return t[r]=n.replace(/\{\{\ *(\w+)\ 
*\}\}/g,function(t,n){return e[n]}),t},{},t.attrs)}var 
c=t("component-emitter"),u=t("@ndhoule/after"),l=t("@ndhoule/each"),p=t("analytics-events"),f=t("@ndhoule/every"),d=t("@segment/fmt"),h=t("@ndhoule/foldl"),y=t("is"),g=t("load-iframe"),m=t("@segment/load-script"),v=t("next-tick"),b=t("to-no-case"),w=Object.prototype.hasOwnProperty,_=function(){},x=window.onerror;c(n),n.initialize=function(){var
 
 
t=this.ready;v(t)},n.loaded=function(){return!1},n.page=function(t){},n.track=function(t){},n.map=function(t,e){var
 n=b(e),o=r(t);return"unknown"===o?[]:h(function(t,e,r){var 
i,a;return"map"===o&&(i=r,a=e),"array"===o&&(i=e,a=e),"mixed"===o&&(i=e.key,a=e.value),b(i)===n&&t.push(a),t},[],t)},n.invoke=function(t){if(this[t]){var
 e=Array.prototype.slice.call(arguments,1);return this._ready?(this.debug("%s 
with 
%o",t,e),this[t].apply(this,e)):this.queue(t,e)}},n.queue=function(t,e){if("page"===t&&this._assumesPageview&&!this._initialized)return
 
this.page.apply(this,e);this._queue.push({method:t,args:e})},n.flush=function(){this._ready=!0;var
 
t=this;l(function(e){t[e.method].apply(t,e.args)},this._queue),this._queue.length=0},n.reset=function(){for(var
 t=0;t<this.globals.length;t++)window[this.globals[t]]=void 
0;window.onerror=x,window.onload=null},n.load=function(t,e,n){"function"==typeof
 t&&(n=t,e=null,t=null),t&&"object"==typeof 
t&&(n=e,e=t,t=null),"function"==typeof e&&(n=e,e=null),t
 =t||"library",e=e||{},e=this.locals(e);var r=this.templates[t];if(!r)throw new 
Error(d('template "%s" not defined.',t));var o=s(r,e);n=n||_;var 
a,c=this;switch(r.type){case"img":o.width=1,o.height=1,a=i(o,n);break;case"script":a=m(o,function(t){if(!t)return
 n();c.debug('error loading "%s" error="%s"',c.name,t)}),delete 
o.src,l(function(t,e){a.setAttribute(e,t)},o);break;case"iframe":a=g(o,n)}return
 a},n.locals=function(t){t=t||{};var e=Math.floor((new 
Date).getTime()/36e5);return 
t.hasOwnProperty("cache")||(t.cache=e),l(function(e,n){t.hasOwnProperty(n)||(t[n]=e)},this.options),t},n.ready=function(){this.emit("ready")},n._wrapInitialize=function(){var
 
t=this.initialize;this.initialize=function(){this.debug("initialize"),this._initialized=!0;var
 e=t.apply(this,arguments);return 
this.emit("initialize"),e},this._assumesPageview&&(this.initialize=u(2,this.initialize))},n._wrapPage=function(){var
 t=this.page;this.page=function(){return 
this._assumesPageview&&!this._initialized?this.initi
 
alize.apply(this,arguments):t.apply(this,arguments)}},n._wrapTrack=function(){var
 t=this.track;this.track=function(e){var n,r,o=e.event();for(var i in 
p)if(w.call(p,i)){var 
a=p[i];if(!this[i])continue;if(!a.test(o))continue;r=this[i].apply(this,arguments),n=!0;break}return
 
n||(r=t.apply(this,arguments)),r}}},{"@ndhoule/after":1,"@ndhoule/each":6,"@ndhoule/every":7,"@ndhoule/foldl":9,"@segment/fmt":33,"@segment/load-script":37,"analytics-events":42,"component-emitter":51,is:65,"load-iframe":68,"next-tick":74,"to-no-case":93}],30:[function(t,e,n){"use
 strict";function r(t){t=t.replace(' src="',' data-src="');var 
e=i(t),n={};return a(function(e){var 
r="data-src"===e.name?"src":e.name;s(e.name+"=",t)&&(n[r]=e.value)},e.attributes),{type:e.tagName.toLowerCase(),attrs:n}}var
 
o=t("component-emitter"),i=t("domify"),a=t("@ndhoule/each"),s=t("@ndhoule/includes");o(n),n.option=function(t,e){return
 this.prototype.defaults[t]=e,this},n.mapping=function(t){return 
this.option(t,[]),this.prototype[
 t]=function(e){return this.map(this.options[t],e)},this},n.global=function(t){
-return 
this.prototype.globals.push(t),this},n.assumesPageview=function(){return 
this.prototype._assumesPageview=!0,this},n.readyOnLoad=function(){return 
this.prototype._readyOnLoad=!0,this},n.readyOnInitialize=function(){return 
this.prototype._readyOnInitialize=!0,this},n.tag=function(t,e){return 
null==e&&(e=t,t="library"),this.prototype.templates[t]=r(e),this}},{"@ndhoule/each":6,"@ndhoule/includes":10,"component-emitter":51,domify:60}],31:[function(t,e,n){function
 r(t){var 
e,n,r,a,s,c,u,l="",p=0;for(t=o(t);p<t.length;)e=t.charCodeAt(p++),n=t.charCodeAt(p++),r=t.charCodeAt(p++),a=e>>2,s=(3&e)<<4|n>>4,c=(15&n)<<2|r>>6,u=63&r,isNaN(n)?c=u=64:isNaN(r)&&(u=64),l=l+i.charAt(a)+i.charAt(s)+i.charAt(c)+i.charAt(u);return
 l}var 
o=t("utf8-encode"),i="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=";e.exports=r},{"utf8-encode":96}],32:[function(t,e,n){"use
 strict";function r(){for(var 
t,e=document.getElementsByTagName("link"),n=0;t=e[n];n++)if("canonical"===t.getAttribute("
 rel"))return 
t.getAttribute("href")}e.exports=r},{}],33:[function(t,e,n){(function(t){"use 
strict";function n(t){var e=Array.prototype.slice.call(arguments,1),r=0;return 
t.replace(/%([a-z])/gi,function(t,o){return n[o]?n[o](e[r++]):t+o})}var 
r=t.JSON&&"function"==typeof 
JSON.stringify?JSON.stringify:String;n.o=r,n.s=String,n.d=parseInt,e.exports=n}).call(this,"undefined"!=typeof
 global?global:"undefined"!=typeof self?self:"undefined"!=typeof 
window?window:{})},{}],34:[function(t,e,n){"use strict";function 
r(t){if(t.metaKey||t.altKey||t.ctrlKey||t.shiftKey)return!0;var 
e=t.which,n=t.button;return e||void 
0===n?2===e:1&!n&&2&!n&&4&n}e.exports=r},{}],35:[function(t,e,n){"use 
strict";function r(t,e){return void 
0===e&&(e=!0),"object"===a(t)?o(t,e):"array"===a(t)?i(t,e):t}function 
o(t,e){return!t.length||"number"!=typeof t.length||t.length-1 in 
t||(t.lengthNonArray=t.length,delete 
t.length),s(t,function(n,o){c.is(o,e)?t[n]=c.parse(o):"object"!==a(o)&&"array"!==a(o)||r(o,e)}),t.lengthNonA
 rray&&(t.length=t.lengthNonArray,delete t.lengthNonArray),t}function 
i(t,e){return 
s(t,function(n,o){"object"===a(n)?r(n,e):c.is(n,e)&&(t[o]=c.parse(n))}),t}var 
a=t("component-type"),s=t("component-each"),c=t("@segment/isodate");e.exports=r},{"@segment/isodate":36,"component-each":49,"component-type":56}],36:[function(t,e,n){"use
 strict";var r=/^(\d{4})(?:-?(\d{2})(?:-?(\d{2}))?)?(?:([ 
T])(\d{2}):?(\d{2})(?::?(\d{2})(?:[,\.](\d{1,}))?)?(?:(Z)|([+\-])(\d{2})(?::?(\d{2}))?)?)?$/;n.parse=function(t){var
 e=[1,5,6,7,11,12],n=r.exec(t),o=0;if(!n)return new Date(t);for(var 
i,a=0;i=e[a];a++)n[i]=parseInt(n[i],10)||0;n[2]=parseInt(n[2],10)||1,n[3]=parseInt(n[3],10)||1,n[2]--,n[8]=n[8]?(n[8]+"00").substring(0,3):0,"
 "===n[4]?o=(new 
Date).getTimezoneOffset():"Z"!==n[9]&&n[10]&&(o=60*n[11]+n[12],"+"===n[10]&&(o=0-o));var
 s=Date.UTC(n[1],n[2],n[3],n[5],n[6]+o,n[7],n[8]);return new 
Date(s)},n.is=function(t,e){return"string"==typeof 
t&&((!e||!1!==/^\d{4}-\d{2}-\d{2}/.test(t))&&r.test(t))}},{}],37:
 [function(t,e,n){"use strict";function r(t,e){if(!t)throw new Error("Can't 
load nothing...");"string"===a(t)&&(t={src:t});var 
n="https:"===document.location.protocol||"chrome-extension:"===document.location.protocol;t.src&&0===t.src.indexOf("//")&&(t.src=(n?"https:":"http:")+t.src),n&&t.https?t.src=t.https:!n&&t.http&&(t.src=t.http);var
 r=document.createElement("script");return 
r.type="text/javascript",r.async=!0,r.src=t.src,"function"===a(e)&&o(r,e),i(function(){var
 
t=document.getElementsByTagName("script")[0];t.parentNode.insertBefore(r,t)}),r}var
 
o=t("script-onload"),i=t("next-tick"),a=t("component-type");e.exports=r},{"component-type":56,"next-tick":74,"script-onload":77}],38:[function(t,e,n){"use
 strict";function r(t){return 
t=t||window.event,t.preventDefault?t.preventDefault():t.returnValue=!1}e.exports=r},{}],39:[function(t,e,n){"use
 strict";function r(t,e,n,r){function o(){if(4===i.readyState)return 
r(null,i)}3===arguments.length&&(r=n,n={});var i=new XMLHttpRequest;i.onerro
 r=r,i.onreadystatechange=o,i.open("POST",t,!0);for(var s in 
n)i.setRequestHeader(s,n[s]);i.send(a.stringify(e))}function 
o(t,e,r,o){3===arguments.length&&(o=r);var 
a=n.prefix,s=i(e);t+="?"+a+"="+s,u(t,{param:n.callback},function(e,n){if(e)return
 o(e);o(null,{url:t,body:n})})}function i(t){var e="";return 
e=a.stringify(t),e=s(e),e=e.replace(/\+/g,"-").replace(/\//g,"_"),encodeURIComponent(e)}var
 
a=t("json3"),s=t("@segment/base64-encode"),c=t("has-cors"),u=t("jsonp");n=e.exports=c?r:o,n.callback="callback",n.prefix="data",n.json=r,n.base64=o,n.type=c?"xhr":"jsonp"},{"@segment/base64-encode":31,"has-cors":62,json3:66,jsonp:67}],40:[function(t,e,n){(function(n){"use
 strict";var r=t("json3");e.exports=function(){var t,e={},o="undefined"!=typeof 
window?window:n,i=o.document,a="localStorage";if(e.disabled=!1,e.version="1.3.20",e.set=function(t,e){},e.get=function(t,e){},e.has=function(t){return
 void 
0!==e.get(t)},e.remove=function(t){},e.clear=function(){},e.transact=function(t,n,r){null==
 r&&(r=n,n=null),null==n&&(n={});var 
o=e.get(t,n);r(o),e.set(t,o)},e.getAll=function(){var t={};return 
e.forEach(function(e,n){t[e]=n}),t},e.forEach=function(){},e.serialize=function(t){return
 r.stringify(t)},e.deserialize=function(t){if("string"==typeof t)try{return 
r.parse(t)}catch(e){return t||void 0}},function(){try{return a in 
o&&o[a]}catch(t){return!1}}())t=o[a],e.set=function(n,r){return void 
0===r?e.remove(n):(t.setItem(n,e.serialize(r)),r)},e.get=function(n,r){var 
o=e.deserialize(t.getItem(n));return void 
0===o?r:o},e.remove=function(e){t.removeItem(e)},e.clear=function(){t.clear()},e.forEach=function(n){for(var
 r=0;r<t.length;r++){var o=t.key(r);n(o,e.get(o))}};else 
if(i&&i.documentElement.addBehavior){var s,c;try{c=new 
ActiveXObject("htmlfile"),c.open(),c.write('<script>document.w=window<\/script><iframe
 
src="/favicon.ico"></iframe>'),c.close(),s=c.w.frames[0].document,t=s.createElement("div")}catch(e){t=i.createElement("div"),s=i.body}var
 u=function(n){return function(){v
 ar 
r=Array.prototype.slice.call(arguments,0);r.unshift(t),s.appendChild(t),t.addBehavior("#default#userData"),t.load(a);var
 o=n.apply(e,r);return s.removeChild(t),o}},l=new 
RegExp("[!\"#$%&'()*+,/\\\\:;<=>?@[\\]^`{|}~]","g"),p=function(t){return 
t.replace(/^d/,"___$&").replace(l,"___")};e.set=u(function(t,n,r){return 
n=p(n),void 
0===r?e.remove(n):(t.setAttribute(n,e.serialize(r)),t.save(a),r)}),e.get=u(function(t,n,r){n=p(n);var
 o=e.deserialize(t.getAttribute(n));return void 
0===o?r:o}),e.remove=u(function(t,e){e=p(e),t.removeAttribute(e),t.save(a)}),e.clear=u(function(t){var
 e=t.XMLDocument.documentElement.attributes;t.load(a);for(var 
n=e.length-1;n>=0;n--)t.removeAttribute(e[n].name);t.save(a)}),e.forEach=u(function(t,n){for(var
 
r,o=t.XMLDocument.documentElement.attributes,i=0;r=o[i];++i)n(r.name,e.deserialize(t.getAttribute(r.name)))})}try{var
 
f="__storejs__";e.set(f,f),e.get(f)!=f&&(e.disabled=!0),e.remove(f)}catch(t){e.disabled=!0}return
 e.enabled=!e.disabled,e}()}).call(this,"
 undefined"!=typeof global?global:"undefined"!=typeof 
self?self:"undefined"!=typeof 
window?window:{})},{json3:66}],41:[function(t,e,n){"use strict";function 
r(t){for(var e=n.cookie,r=n.levels(t),o=0;o<r.length;++o){var 
i=r[o],a={domain:"."+i};if(e("__tld__",1,a),e("__tld__"))return 
e("__tld__",null,a),i}return""}var 
o=t("component-url").parse,i=t("component-cookie");r.levels=function(t){var 
e=o(t).hostname,n=e.split("."),r=n[n.length-1],i=[];if(4===n.length&&r===parseInt(r,10))return
 i;if(n.length<=1)return i;for(var 
a=n.length-2;a>=0;--a)i.push(n.slice(a).join("."));return 
i},r.cookie=i,n=e.exports=r},{"component-cookie":45,"component-url":57}],42:[function(t,e,n){e.exports={promotionViewed:/^[
 _]?promotion[ _]?viewed?[ _]?$/i,viewedPromotion:/^[ _]?viewed[ _]?promotion?[ 
_]?$/i,promotionClicked:/^[ _]?promotion[ _]?clicked?[ 
_]?$/i,clickedPromotion:/^[ _]?clicked[ _]?promotion?[ 
_]?$/i,productsSearched:/^[ _]?products[ _]?searched[ 
_]?$/i,productListViewed:/^[ _]?product[ _]?list[ 
 _]?viewed[ _]?$/i,productListFiltered:/^[ _]?product[ _]?list[ _]?filtered[ 
_]?$/i,viewedProductCategory:/^[ _]?viewed[ _]?product[ _]?category[ 
_]?$/i,viewedProductDetails:/^[ _]?viewed[ _]?product[ _]?details?[ 
_]?$/i,productClicked:/^[ _]?product[ _]?clicked[ _]?$/i,clickedProduct:/^[ 
_]?clicked[ _]?product[ _]?$/i,productViewed:/^[ _]?product[ _]?viewed[ 
_]?$/i,viewedProduct:/^[ _]?viewed[ _]?product[ _]?$/i,productAdded:/^[ 
_]?product[ _]?added[ _]?$/i,addedProduct:/^[ _]?added[ _]?product[ 
_]?$/i,productRemoved:/^[ _]?product[ _]?removed[ _]?$/i,removedProduct:/^[ 
_]?removed[ _]?product[ _]?$/i,cartViewed:/^[ _]?cart[ _]?viewed[ 
_]?$/i,orderStarted:/^[ _]?order[ _]?started[ _]?$/i,startedOrder:/^[ 
_]?started[ _]?order[ _]?$/i,orderUpdated:/^[ _]?order[ _]?updated[ 
_]?$/i,updatedOrder:/^[ _]?updated[ _]?order[ _]?$/i,orderCompleted:/^[ 
_]?order[ _]?completed[ _]?$/i,completedOrder:/^[ _]?completed[ _]?order[ 
_]?$/i,orderRefunded:/^[ _]?order[ _]?refunded[ _]?$/i,refundedOrder:/
 ^[ _]?refunded[ _]?order[ _]?$/i,orderCancelled:/^[ _]?order[ _]?cancelled[ 
_]?$/i,paymentInfoAdded:/^[ _]?payment[ _]?info[ _]?added[ 
_]?$/i,checkoutStarted:/^[ _]?checkout[ _]?started[ 
_]?$/i,checkoutStepViewed:/^[ _]?checkout[ _]?step[ _]?viewed[ 
_]?$/i,viewedCheckoutStep:/^[ _]?viewed[ _]?checkout[ _]?step[ 
_]?$/i,checkoutStepCompleted:/^[ _]?checkout[ _]?step[ _]?completed[ 
_]?$/i,completedCheckoutStep:/^[ _]?completed[ _]?checkout[ _]?step[ 
_]?$/i,couponEntered:/^[ _]?coupon[ _]?entered[ _]?$/i,couponApplied:/^[ 
_]?coupon[ _]?applied[ _]?$/i,couponDenied:/^[ _]?coupon[ _]?denied[ 
_]?$/i,couponRemoved:/^[ _]?coupon[ _]?removed[ 
_]?$/i,productAddedToWishlist:/^[ _]?product[ _]?added[ _]?to[ _]?wishlist[ 
_]?$/i,wishlistProductRemoved:/^[ _]?wishlist[ _]?product[ _]?removed[ 
_]?$/i,wishlistProductAddedToCart:/^[ _]?wishlist[ _]?product[ _]?added[ _]?to[ 
_]?cart[ _]?$/i,productShared:/^[ _]?product[ _]?shared[ _]?$/i,cartShared:/^[ 
_]?cart[ _]?shared[ _]?$/i,productRemoved:/^[ _]?p
 roduct[ _]?removed[ _]?$/i,applicationInstalled:/^[ _]?application[ 
_]?installed[ _]?$/i,applicationUpdated:/^[ _]?application[ _]?updated[ 
_]?$/i,applicationOpened:/^[ _]?application[ _]?opened[ 
_]?$/i,applicationBackgrounded:/^[ _]?application[ _]?backgrounded[ 
_]?$/i,applicationUninstalled:/^[ _]?application[ _]?uninstalled[ 
_]?$/i,installAttributed:/^[ _]?install[ _]?attributed[ 
_]?$/i,deepLinkOpened:/^[ _]?deep[ _]?link[ _]?opened[ 
_]?$/i,pushNotificationReceived:/^[ _]?push[ _]?notification[ _]?received[ 
_]?$/i,pushNotificationTapped:/^[ _]?push[ _]?notification[ _]?received[ 
_]?$/i,pushNotificationBounced:/^[ _]?push[ _]?notification[ _]?bounced[ 
_]?$/i}},{}],43:[function(t,e,n){"use strict";function r(t){for(var e in 
t){"function"==typeof t[e]&&(t[e]=o(t,t[e]))}return t}var 
o=t("component-bind");e.exports=r},{"component-bind":44}],44:[function(t,e,n){var
 r=[].slice;e.exports=function(t,e){if("string"==typeof 
e&&(e=t[e]),"function"!=typeof e)throw new Error("bind() requires a
  function");var n=r.call(arguments,2);return function(){return 
e.apply(t,n.concat(r.call(arguments)))}}},{}],45:[function(t,e,n){function 
r(t,e,n){n=n||{};var 
r=s(t)+"="+s(e);null==e&&(n.maxage=-1),n.maxage&&(n.expires=new Date(+new 
Date+n.maxage)),n.path&&(r+="; path="+n.path),n.domain&&(r+="; 
domain="+n.domain),n.expires&&(r+="; 
expires="+n.expires.toUTCString()),n.secure&&(r+="; 
secure"),document.cookie=r}function o(){var 
t;try{t=document.cookie}catch(t){return"undefined"!=typeof 
console&&"function"==typeof console.error&&console.error(t.stack||t),{}}return 
a(t)}function i(t){return o()[t]}function a(t){var e,n={},r=t.split(/ *; 
*/);if(""==r[0])return n;for(var 
o=0;o<r.length;++o)e=r[o].split("="),n[c(e[0])]=c(e[1]);return n}function 
s(t){try{return encodeURIComponent(t)}catch(e){u("error `encode(%o)` - 
%o",t,e)}}function c(t){try{return decodeURIComponent(t)}catch(e){u("error 
`decode(%o)` - %o",t,e)}}var 
u=t("debug")("cookie");e.exports=function(t,e,n){switch(arguments.length){c
 ase 3:case 2:return r(t,e,n);case 1:return i(t);default:return 
o()}}},{debug:46}],46:[function(t,e,n){function r(){return"WebkitAppearance"in 
document.documentElement.style||window.console&&(console.firebug||console.exception&&console.table)||navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/)&&parseInt(RegExp.$1,10)>=31}function
 o(){var t=arguments,e=this.useColors;if(t[0]=(e?"%c":"")+this.namespace+(e?" 
%c":" ")+t[0]+(e?"%c ":" ")+"+"+n.humanize(this.diff),!e)return t;var r="color: 
"+this.color;t=[t[0],r,"color: 
inherit"].concat(Array.prototype.slice.call(t,1));var o=0,i=0;return 
t[0].replace(/%[a-z%]/g,function(t){"%%"!==t&&(o++,"%c"===t&&(i=o))}),t.splice(i,0,r),t}function
 i(){return"object"==typeof 
console&&console.log&&Function.prototype.apply.call(console.log,console,arguments)}function
 
a(t){try{null==t?n.storage.removeItem("debug"):n.storage.debug=t}catch(t){}}function
 s(){var t;try{t=n.storage.debug}catch(t){}return 
t}n=e.exports=t("./debug"),n.log=i,n.formatArgs=o,n.
 save=a,n.load=s,n.useColors=r,n.storage="undefined"!=typeof chrome&&void 
0!==chrome.storage?chrome.storage.local:function(){try{return 
window.localStorage}catch(t){}}(),n.colors=["lightseagreen","forestgreen","goldenrod","dodgerblue","darkorchid","crimson"],n.formatters.j=function(t){return
 JSON.stringify(t)},n.enable(s())},{"./debug":47}],47:[function(t,e,n){function 
r(){return n.colors[l++%n.colors.length]}function o(t){function e(){}function 
o(){var t=o,e=+new 
Date,i=e-(u||e);t.diff=i,t.prev=u,t.curr=e,u=e,null==t.useColors&&(t.useColors=n.useColors()),null==t.color&&t.useColors&&(t.color=r());var
 a=Array.prototype.slice.call(arguments);a[0]=n.coerce(a[0]),"string"!=typeof 
a[0]&&(a=["%o"].concat(a));var 
s=0;a[0]=a[0].replace(/%([a-z%])/g,function(e,r){if("%%"===e)return e;s++;var 
o=n.formatters[r];if("function"==typeof o){var 
i=a[s];e=o.call(t,i),a.splice(s,1),s--}return e}),"function"==typeof 
n.formatArgs&&(a=n.formatArgs.apply(t,a)),(o.log||n.log||console.log.bind(console)).app
 ly(t,a)}e.enabled=!1,o.enabled=!0;var i=n.enabled(t)?o:e;return 
i.namespace=t,i}function i(t){n.save(t);for(var 
e=(t||"").split(/[\s,]+/),r=e.length,o=0;o<r;o++)e[o]&&(t=e[o].replace(/\*/g,".*?"),"-"===t[0]?n.skips.push(new
 RegExp("^"+t.substr(1)+"$")):n.names.push(new RegExp("^"+t+"$")))}function 
a(){n.enable("")}function s(t){var 
e,r;for(e=0,r=n.skips.length;e<r;e++)if(n.skips[e].test(t))return!1;for(e=0,r=n.names.length;e<r;e++)if(n.names[e].test(t))return!0;return!1}function
 c(t){return t instanceof 
Error?t.stack||t.message:t}n=e.exports=o,n.coerce=c,n.disable=a,n.enable=i,n.enabled=s,n.humanize=t("ms"),n.names=[],n.skips=[],n.formatters={};var
 u,l=0},{ms:48}],48:[function(t,e,n){function 
r(t){if(t=""+t,!(t.length>1e4)){var e=/^((?:\d+)?\.?\d+) 
*(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|years?|yrs?|y)?$/i.exec(t);if(e){var
 
n=parseFloat(e[1]);switch((e[2]||"ms").toLowerCase()){case"years":case"year":case"yrs":case"yr":case"y":return
 n*p;case
 "days":case"day":case"d":return 
n*l;case"hours":case"hour":case"hrs":case"hr":case"h":return 
n*u;case"minutes":case"minute":case"mins":case"min":case"m":return 
n*c;case"seconds":case"second":case"secs":case"sec":case"s":return 
n*s;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return 
n}}}}function o(t){return 
t>=l?Math.round(t/l)+"d":t>=u?Math.round(t/u)+"h":t>=c?Math.round(t/c)+"m":t>=s?Math.round(t/s)+"s":t+"ms"}function
 i(t){return a(t,l,"day")||a(t,u,"hour")||a(t,c,"minute")||a(t,s,"second")||t+" 
ms"}function a(t,e,n){if(!(t<e))return t<1.5*e?Math.floor(t/e)+" 
"+n:Math.ceil(t/e)+" "+n+"s"}var 
s=1e3,c=60*s,u=60*c,l=24*u,p=365.25*l;e.exports=function(t,e){return 
e=e||{},"string"==typeof 
t?r(t):e.long?i(t):o(t)}},{}],49:[function(t,e,n){function r(t,e,n){for(var 
r=0;r<t.length;++r)e.call(n,t.charAt(r),r)}function o(t,e,n){for(var r in 
t)c.call(t,r)&&e.call(n,r,t[r])}function i(t,e,n){for(var 
r=0;r<t.length;++r)e.call(n,t[r],r)}try{var a=t("type")}catch(e){var 
 a=t("component-type")}var 
s=t("to-function"),c=Object.prototype.hasOwnProperty;e.exports=function(t,e,n){switch(e=s(e),n=n||this,a(t)){case"array":return
 i(t,e,n);case"object":return"number"==typeof 
t.length?i(t,e,n):o(t,e,n);case"string":return 
r(t,e,n)}}},{"component-type":50,"to-function":92,type:50}],50:[function(t,e,n){var
 
r=Object.prototype.toString;e.exports=function(t){switch(r.call(t)){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 
null===t?"null":void 
0===t?"undefined":t&&1===t.nodeType?"element":t===Object(t)?"object":typeof 
t}},{}],51:[function(t,e,n){function r(t){if(t)return o(t)}function 
o(t){for(var e in r.prototype)t[e]=r.prototype[e];return t}void 
0!==e&&(e.exports=r),r.prototype.on=r.prototype.addEventListener=function(t,e){return
 this._callbacks=this._callbacks||{},(this._callback
 
s["$"+t]=this._callbacks["$"+t]||[]).push(e),this},r.prototype.once=function(t,e){function
 n(){this.off(t,n),e.apply(this,arguments)}return 
n.fn=e,this.on(t,n),this},r.prototype.off=r.prototype.removeListener=r.prototype.removeAllListeners=r.prototype.removeEventListener=function(t,e){if(this._callbacks=this._callbacks||{},0==arguments.length)return
 this._callbacks={},this;var n=this._callbacks["$"+t];if(!n)return 
this;if(1==arguments.length)return delete this._callbacks["$"+t],this;for(var 
r,o=0;o<n.length;o++)if((r=n[o])===e||r.fn===e){n.splice(o,1);break}return 
this},r.prototype.emit=function(t){this._callbacks=this._callbacks||{};var 
e=[].slice.call(arguments,1),n=this._callbacks["$"+t];if(n){n=n.slice(0);for(var
 r=0,o=n.length;r<o;++r)n[r].apply(this,e)}return 
this},r.prototype.listeners=function(t){return 
this._callbacks=this._callbacks||{},this._callbacks["$"+t]||[]},r.prototype.hasListeners=function(t){return!!this.listeners(t).length}},{}],52:[function(t,e,n){var
 r=window.a
 
ddEventListener?"addEventListener":"attachEvent",o=window.removeEventListener?"removeEventListener":"detachEvent",i="addEventListener"!==r?"on":"";n.bind=function(t,e,n,o){return
 t[r](i+e,n,o||!1),n},n.unbind=function(t,e,n,r){return 
t[o](i+e,n,r||!1),n}},{}],53:[function(t,e,n){function r(t){return 
t.replace(/\.\w+|\w+ 
*\(|"[^"]*"|'[^']*'|\/([^\/]+)\//g,"").replace(s,"").match(/[a-zA-Z_]\w*/g)||[]}function
 o(t,e,n){var r=/\.\w+|\w+ 
*\(|"[^"]*"|'[^']*'|\/([^\/]+)\/|[a-zA-Z_]\w*/g;return 
t.replace(r,function(t){return"("==t[t.length-1]?n(t):~e.indexOf(t)?n(t):t})}function
 i(t){for(var e=[],n=0;n<t.length;n++)~e.indexOf(t[n])||e.push(t[n]);return 
e}function a(t){return function(e){return t+e}}var 
s=/\b(Array|Date|Object|Math|JSON)\b/g;e.exports=function(t,e){var 
n=i(r(t));return e&&"string"==typeof 
e&&(e=a(e)),e?o(t,n,e):n}},{}],54:[function(t,e,n){var 
r=t("trim"),o=t("type"),i=/(\w+)\[(\d+)\]/,a=function(t){try{return 
encodeURIComponent(t)}catch(e){return t}},s=function(t){try{return
  decodeURIComponent(t.replace(/\+/g," "))}catch(e){return 
t}};n.parse=function(t){if("string"!=typeof 
t)return{};if(""==(t=r(t)))return{};"?"==t.charAt(0)&&(t=t.slice(1));for(var 
e={},n=t.split("&"),o=0;o<n.length;o++){var 
a,c=n[o].split("="),u=s(c[0]);(a=i.exec(u))?(e[a[1]]=e[a[1]]||[],e[a[1]][a[2]]=s(c[1])):e[c[0]]=null==c[1]?"":s(c[1])}return
 e},n.stringify=function(t){if(!t)return"";var e=[];for(var n in t){var 
r=t[n];if("array"!=o(r))e.push(a(n)+"="+a(t[n]));else for(var 
i=0;i<r.length;++i)e.push(a(n+"["+i+"]")+"="+a(r[i]))}return 
e.join("&")}},{trim:94,type:55}],55:[function(t,e,n){var 
r=Object.prototype.toString;e.exports=function(t){switch(r.call(t)){case"[object
 Date]":return"date";case"[object RegExp]":return"regexp";case"[object 
Arguments]":return"arguments";case"[object Array]":return"array";case"[object 
Error]":return"error"}return null===t?"null":void 
0===t?"undefined":t!==t?"nan":t&&1===t.nodeType?"element":typeof(t=t.valueOf?t.valueOf():Object.prototype.valueOf.apply
 (t))}},{}],56:[function(t,e,n){function 
r(t){return!(null==t||!(t._isBuffer||t.constructor&&"function"==typeof 
t.constructor.isBuffer&&t.constructor.isBuffer(t)))}var 
o=Object.prototype.toString;e.exports=function(t){switch(o.call(t)){case"[object
 Date]":return"date";case"[object RegExp]":return"regexp";case"[object 
Arguments]":return"arguments";case"[object Array]":return"array";case"[object 
Error]":return"error"}return null===t?"null":void 
0===t?"undefined":t!==t?"nan":t&&1===t.nodeType?"element":r(t)?"buffer":typeof(t=t.valueOf?t.valueOf():Object.prototype.valueOf.apply(t))}},{}],57:[function(t,e,n){function
 r(t){switch(t){case"http:":return 80;case"https:":return 443;default:return 
location.port}}n.parse=function(t){var e=document.createElement("a");return 
e.href=t,{href:e.href,host:e.host||location.host,port:"0"===e.port||""===e.port?r(e.protocol):e.port,hash:e.hash,hostname:e.hostname||location.hostname,pathname:"/"!=e.pathname.charAt(0)?"/"+e.pathname:e.pathname,protocol:e.pr
 
otocol&&":"!=e.protocol?e.protocol:location.protocol,search:e.search,query:e.search.slice(1)}},n.isAbsolute=function(t){return
 
0==t.indexOf("//")||!!~t.indexOf("://")},n.isRelative=function(t){return!n.isAbsolute(t)},n.isCrossDomain=function(t){t=n.parse(t);var
 e=n.parse(window.location.href);return 
t.hostname!==e.hostname||t.port!==e.port||t.protocol!==e.protocol}},{}],58:[function(t,e,n){(function(r){function
 o(){return!("undefined"==typeof 
window||!window.process||"renderer"!==window.process.type)||("undefined"!=typeof
 
document&&document.documentElement&&document.documentElement.style&&document.documentElement.style.WebkitAppearance||"undefined"!=typeof
 
window&&window.console&&(window.console.firebug||window.console.exception&&window.console.table)||"undefined"!=typeof
 
navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/)&&parseInt(RegExp.$1,10)>=31||"undefined"!=typeof
 navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/ap
 plewebkit\/(\d+)/))}function i(t){var 
e=this.useColors;if(t[0]=(e?"%c":"")+this.namespace+(e?" %c":" ")+t[0]+(e?"%c 
":" ")+"+"+n.humanize(this.diff),e){var r="color: 
"+this.color;t.splice(1,0,r,"color: inherit");var 
o=0,i=0;t[0].replace(/%[a-zA-Z%]/g,function(t){"%%"!==t&&(o++,"%c"===t&&(i=o))}),t.splice(i,0,r)}}function
 a(){return"object"==typeof 
console&&console.log&&Function.prototype.apply.call(console.log,console,arguments)}function
 
s(t){try{null==t?n.storage.removeItem("debug"):n.storage.debug=t}catch(t){}}function
 c(){var t;try{t=n.storage.debug}catch(t){}return!t&&void 0!==r&&"env"in 
r&&(t=r.env.DEBUG),t}n=e.exports=t("./debug"),n.log=a,n.formatArgs=i,n.save=s,n.load=c,n.useColors=o,n.storage="undefined"!=typeof
 chrome&&void 0!==chrome.storage?chrome.storage.local:function(){try{return 
window.localStorage}catch(t){}}(),n.colors=["lightseagreen","forestgreen","goldenrod","dodgerblue","darkorchid","crimson"],n.formatters.j=function(t){try{return
 JSON.stringify(t)}catch(t){retu
 rn"[UnexpectedJSONParseError]: 
"+t.message}},n.enable(c())}).call(this,t("_process"))},{"./debug":59,_process:76}],59:[function(t,e,n){function
 r(t){var e,r=0;for(e in t)r=(r<<5)-r+t.charCodeAt(e),r|=0;return 
n.colors[Math.abs(r)%n.colors.length]}function o(t){function 
e(){if(e.enabled){var t=e,r=+new 
Date,o=r-(u||r);t.diff=o,t.prev=u,t.curr=r,u=r;for(var i=new 
Array(arguments.length),a=0;a<i.length;a++)i[a]=arguments[a];i[0]=n.coerce(i[0]),"string"!=typeof
 i[0]&&i.unshift("%O");var 
s=0;i[0]=i[0].replace(/%([a-zA-Z%])/g,function(e,r){if("%%"===e)return 
e;s++;var o=n.formatters[r];if("function"==typeof o){var 
a=i[s];e=o.call(t,a),i.splice(s,1),s--}return 
e}),n.formatArgs.call(t,i);(e.log||n.log||console.log.bind(console)).apply(t,i)}}return
 
e.namespace=t,e.enabled=n.enabled(t),e.useColors=n.useColors(),e.color=r(t),"function"==typeof
 n.init&&n.init(e),e}function i(t){n.save(t),n.names=[],n.skips=[];for(var 
e=("string"==typeof t?t:"").split(/[\s,]+/),r=e.length,o=0;o<r;o++)e[o]&&(t=e[
 o].replace(/\*/g,".*?"),"-"===t[0]?n.skips.push(new 
RegExp("^"+t.substr(1)+"$")):n.names.push(new RegExp("^"+t+"$")))}function 
a(){n.enable("")}function s(t){var 
e,r;for(e=0,r=n.skips.length;e<r;e++)if(n.skips[e].test(t))return!1;for(e=0,r=n.names.length;e<r;e++)if(n.names[e].test(t))return!0;return!1}function
 c(t){return t instanceof 
Error?t.stack||t.message:t}n=e.exports=o.debug=o.default=o,n.coerce=c,n.disable=a,n.enable=i,n.enabled=s,n.humanize=t("ms"),n.names=[],n.skips=[],n.formatters={};var
 u},{ms:69}],60:[function(t,e,n){function r(t,e){if("string"!=typeof t)throw 
new TypeError("String expected");e||(e=document);var 
n=/<([\w:]+)/.exec(t);if(!n)return 
e.createTextNode(t);t=t.replace(/^\s+|\s+$/g,"");var r=n[1];if("body"==r){var 
o=e.createElement("html");return o.innerHTML=t,o.removeChild(o.lastChild)}var 
i=a[r]||a._default,s=i[0],c=i[1],u=i[2],o=e.createElement("div");for(o.innerHTML=c+t+u;s--;)o=o.lastChild;if(o.firstChild==o.lastChild)return
 o.removeChild(o.firstChild);for(
 var 
l=e.createDocumentFragment();o.firstChild;)l.appendChild(o.removeChild(o.firstChild));return
 l}e.exports=r;var o,i=!1;"undefined"!=typeof 
document&&(o=document.createElement("div"),o.innerHTML='  
<link/><table></table><a href="/a">a</a><input 
type="checkbox"/>',i=!o.getElementsByTagName("link").length,o=void 0);var 
a={legend:[1,"<fieldset>","</fieldset>"],tr:[2,"<table><tbody>","</tbody></table>"],col:[2,"<table><tbody></tbody><colgroup>","</colgroup></table>"],_default:i?[1,"X<div>","</div>"]:[0,"",""]};a.td=a.th=[3,"<table><tbody><tr>","</tr></tbody></table>"],a.option=a.optgroup=[1,'<select
 
multiple="multiple">',"</select>"],a.thead=a.tbody=a.colgroup=a.caption=a.tfoot=[1,"<table>","</table>"],a.polyline=a.ellipse=a.polygon=a.circle=a.text=a.line=a.path=a.rect=a.g=[1,'<svg
 xmlns="http://www.w3.org/2000/svg"; 
version="1.1">',"</svg>"]},{}],61:[function(t,e,n){"use strict";var 
r=Object.prototype.hasOwnProperty,o=Object.prototype.toString,i=function(t){return"function"==typeof
 Ar
 ray.isArray?Array.isArray(t):"[object 
Array]"===o.call(t)},a=function(t){if(!t||"[object 
Object]"!==o.call(t))return!1;var 
e=r.call(t,"constructor"),n=t.constructor&&t.constructor.prototype&&r.call(t.constructor.prototype,"isPrototypeOf");if(t.constructor&&!e&&!n)return!1;var
 i;for(i in t);return void 0===i||r.call(t,i)};e.exports=function t(){var 
e,n,r,o,s,c,u=arguments[0],l=1,p=arguments.length,f=!1;for("boolean"==typeof 
u&&(f=u,u=arguments[1]||{},l=2),(null==u||"object"!=typeof 
u&&"function"!=typeof u)&&(u={});l<p;++l)if(null!=(e=arguments[l]))for(n in 
e)r=u[n],o=e[n],u!==o&&(f&&o&&(a(o)||(s=i(o)))?(s?(s=!1,c=r&&i(r)?r:[]):c=r&&a(r)?r:{},u[n]=t(f,c,o)):void
 0!==o&&(u[n]=o));return 
u}},{}],62:[function(t,e,n){try{e.exports="undefined"!=typeof 
XMLHttpRequest&&"withCredentials"in new 
XMLHttpRequest}catch(t){e.exports=!1}},{}],63:[function(t,e,n){"function"==typeof
 
Object.create?e.exports=function(t,e){t.super_=e,t.prototype=Object.create(e.prototype,{constructor:{value:t,enumerable:
 !1,writable:!0,configurable:!0}})}:e.exports=function(t,e){t.super_=e;var 
n=function(){};n.prototype=e.prototype,t.prototype=new 
n,t.prototype.constructor=t}},{}],64:[function(t,e,n){e.exports=function(t){return/.+\@.+\..+/.test(t)}},{}],65:[function(t,e,n){"use
 strict";/**!
+!function(t){if("object"==typeof exports&&"undefined"!=typeof 
module)module.exports=t();else if("function"==typeof 
define&&define.amd)define([],t);else{var e;e="undefined"!=typeof 
window?window:"undefined"!=typeof global?global:"undefined"!=typeof 
self?self:this,e.unomiTracker=t()}}(function(){var t;return function(){function 
t(e,n,r){function o(a,s){if(!n[a]){if(!e[a]){var c="function"==typeof 
require&&require;if(!s&&c)return c(a,!0);if(i)return i(a,!0);var u=new 
Error("Cannot find module '"+a+"'");throw u.code="MODULE_NOT_FOUND",u}var 
l=n[a]={exports:{}};e[a][0].call(l.exports,function(t){return 
o(e[a][1][t]||t)},l,l.exports,t,e,n,r)}return n[a].exports}for(var 
i="function"==typeof require&&require,a=0;a<r.length;a++)o(r[a]);return 
o}return t}()({1:[function(t,e,n){"use strict";var 
r=t("@ndhoule/arity"),o=Object.prototype.toString,i=function(t){return"function"==typeof
 t},a=function(t){var e=typeof t;return"number"===e||"object"===e&&"[object 
Number]"===o.call(t)},s=function(t,e){
 if(!a(t))throw new TypeError("Expected a number but received "+typeof 
t);if(!i(e))throw new TypeError("Expected a function but received "+typeof 
e);var n=0;return r(e.length,function(){if(!((n+=1)<t))return 
e.apply(this,arguments)})};e.exports=s},{"@ndhoule/arity":2}],2:[function(t,e,n){"use
 strict";var r=Object.prototype.toString,o=function(t){return"function"==typeof 
t},i=function(t){var e=typeof t;return"number"===e||"object"===e&&"[object 
Number]"===r.call(t)},a=function(t){for(var 
e=[],n=1;n<=t;n+=1)e.push("arg"+n);return e},s=function(t){var e=a(t).join(", 
"),n="".concat("  return function(",e,") {\n","    return func.apply(this, 
arguments);\n","  };");return new Function("func",n)},c=[function(t){return 
function(){return t.apply(this,arguments)}},function(t){return 
function(e){return t.apply(this,arguments)}},function(t){return 
function(e,n){return t.apply(this,arguments)}},function(t){return 
function(e,n,r){return t.apply(this,arguments)}},function(t){return 
function(e,n,r,o
 ){return t.apply(this,arguments)}},function(t){return 
function(e,n,r,o,i){return 
t.apply(this,arguments)}}],u=function(t,e){if(!o(e))throw new 
TypeError("Expected a function but got "+typeof e);return 
t=Math.max(i(t)?t:0,0),c[t]||(c[t]=s(t)),c[t](e)};e.exports=u},{}],3:[function(t,e,n){"use
 strict";var r=t("component-type"),o=function t(e){var 
n=r(e);if("object"===n){var o={};for(var i in 
e)e.hasOwnProperty(i)&&(o[i]=t(e[i]));return o}if("array"===n){for(var o=new 
Array(e.length),a=0,s=e.length;a<s;a++)o[a]=t(e[a]);return 
o}if("regexp"===n){var c="";return 
c+=e.multiline?"m":"",c+=e.global?"g":"",c+=e.ignoreCase?"i":"",new 
RegExp(e.source,c)}return"date"===n?new 
Date(e.getTime()):e};e.exports=o},{"component-type":57}],4:[function(t,e,n){"use
 strict";var 
r=t("@ndhoule/drop"),o=t("@ndhoule/rest"),i=Object.prototype.hasOwnProperty,a=Object.prototype.toString,s=function(t){return
 Boolean(t)&&"object"==typeof t},c=function(t){return Boolean(t)&&"[object 
Object]"===a.call(t)},u=function(t
 ,e,n,r){return i.call(e,r)&&void 
0===t[r]&&(t[r]=n),e},l=function(t,e,n,r){return 
i.call(e,r)&&(c(t[r])&&c(n)?t[r]=f(t[r],n):void 
0===t[r]&&(t[r]=n)),e},p=function(t,e){if(!s(e))return e;t=t||u;for(var 
n=r(2,arguments),o=0;o<n.length;o+=1)for(var i in 
n[o])t(e,n[o],n[o][i],i);return e},f=function(t){return 
p.apply(null,[l,t].concat(o(arguments)))},d=function(t){return 
p.apply(null,[null,t].concat(o(arguments)))};e.exports=d,e.exports.deep=f},{"@ndhoule/drop":5,"@ndhoule/rest":14}],5:[function(t,e,n){"use
 strict";var r=Math.max,o=function(t,e){var 
n=e?e.length:0;if(!n)return[];for(var o=r(Number(t)||0,0),i=r(n-o,0),a=new 
Array(i),s=0;s<i;s+=1)a[s]=e[s+o];return 
a};e.exports=o},{}],6:[function(t,e,n){"use strict";var 
r=t("@ndhoule/keys"),o=Object.prototype.toString,i=function(t){var e=typeof 
t;return"number"===e||"object"===e&&"[object 
Number]"===o.call(t)},a="function"==typeof 
Array.isArray?Array.isArray:function(t){return"[object 
Array]"===o.call(t)},s=function(t){return null!=t&&(a
 (t)||"function"!==t&&i(t.length))},c=function(t,e){for(var 
n=0;n<e.length&&!1!==t(e[n],n,e);n+=1);},u=function(t,e){for(var 
n=r(e),o=0;o<n.length&&!1!==t(e[n[o]],n[o],e);o+=1);},l=function(t,e){return(s(e)?c:u).call(this,t,e)};e.exports=l},{"@ndhoule/keys":11}],7:[function(t,e,n){"use
 strict";var r=t("@ndhoule/each"),o=function(t,e){if("function"!=typeof t)throw 
new TypeError("`predicate` must be a function but was a "+typeof t);var 
n=!0;return 
r(function(e,r,o){if(!(n=!!t(e,r,o)))return!1},e),n};e.exports=o},{"@ndhoule/each":6}],8:[function(t,e,n){"use
 strict";var r=Object.prototype.hasOwnProperty,o=function(t){for(var 
e=Array.prototype.slice.call(arguments,1),n=0;n<e.length;n+=1)for(var o in 
e[n])r.call(e[n],o)&&(t[o]=e[n][o]);return 
t};e.exports=o},{}],9:[function(t,e,n){"use strict";var 
r=t("@ndhoule/each"),o=function(t,e,n){if("function"!=typeof t)throw new 
TypeError("Expected a function but received a "+typeof t);return 
r(function(n,r,o){e=t(e,n,r,o)},n),e};e.exports=o},{"@ndh
 oule/each":6}],10:[function(t,e,n){"use strict";var 
r=t("@ndhoule/each"),o=String.prototype.indexOf,i=function(t,e){return 
t===e?0!==t||1/t==1/e:t!==t&&e!==e},a=function(t,e){var 
n=!1;return"string"==typeof e?-1!==o.call(e,t):(r(function(e){if(i(e,t))return 
n=!0,!1},e),n)};e.exports=a},{"@ndhoule/each":6}],11:[function(t,e,n){"use 
strict";var 
r=Object.prototype.hasOwnProperty,o=String.prototype.charAt,i=Object.prototype.toString,a=function(t,e){return
 o.call(t,e)},s=function(t,e){return r.call(t,e)},c=function(t){return"[object 
String]"===i.call(t)},u=function(t){return null!=t&&"function"!=typeof 
t&&"number"==typeof t.length},l=function(t,e){e=e||s;for(var 
n=[],r=0,o=t.length;r<o;r+=1)e(t,r)&&n.push(String(r));return 
n},p=function(t,e){e=e||s;var n=[];for(var r in 
t)e(t,r)&&n.push(String(r));return n},f=function(t){return 
null==t?[]:c(t)?l(t,a):u(t)?l(t,s):p(t)};e.exports=f},{}],12:[function(t,e,n){"use
 strict";var r=t("@ndhoule/each"),o=function(t,e){if("function"!=typeof t)throw 
 new TypeError("Expected a function but received a "+typeof t);var n=[];return 
r(function(e,r,o){n.push(t(e,r,o))},e),n};e.exports=o},{"@ndhoule/each":6}],13:[function(t,e,n){"use
 strict";var r=Object.prototype.toString,o=function(t){return 
null!=t},i=function(t){return"[object 
Array]"===r.call(t)},a=function(t){return"string"==typeof t||"[object 
String]"===r.call(t)},s=function(t){return null!=t&&"object"==typeof 
t},c=function(t,e){if(!o(e)||!s(e))return{};a(t)&&(t=[t]),i(t)||(t=[]);for(var 
n={},r=0;r<t.length;r+=1)a(t[r])&&t[r]in e&&(n[t[r]]=e[t[r]]);return 
n};e.exports=c},{}],14:[function(t,e,n){"use strict";var 
r=Math.max,o=function(t){if(null==t||!t.length)return[];for(var e=new 
Array(r(t.length-2,0)),n=1;n<t.length;n+=1)e[n-1]=t[n];return 
e};e.exports=o},{}],15:[function(t,e,n){(function(n){"use strict";function 
r(){this._options({}),this.Integrations={},this._integrations={},this._readied=!1,this._timeout=300,this._user=z,this.log=m("analytics.js"),f(this);var
 t=this;this.on("
 
initialize",function(e,n){n.initialPageview&&t.page(),t._parseQuery(window.location.search)})}var
 
o=n.analytics,i=t("segmentio-facade").Alias,a=t("component-emitter"),s=t("segmentio-facade").Group,c=t("segmentio-facade").Identify,u=t("segmentio-facade").Page,l=t("segmentio-facade").Track,p=t("@ndhoule/after"),f=t("bind-all"),d=t("@ndhoule/clone"),h=t("extend"),y=t("./cookie"),g=t("./metrics"),m=t("debug"),v=t("@ndhoule/defaults"),b=t("@ndhoule/each"),w=t("@ndhoule/foldl"),_=t("./group"),x=t("is"),j=t("@segment/is-meta"),k=t("@ndhoule/keys"),I=t("./memory"),T=t("next-tick"),O=t("./normalize"),C=t("component-event").bind,A=t("./pageDefaults"),E=t("@ndhoule/pick"),S=t("@segment/prevent-default"),D=t("component-querystring"),N=t("./store"),z=t("./user"),$=t("component-type");a(r.prototype),r.prototype.use=function(t){return
 t(this),this},r.prototype.addIntegration=function(t){var 
e=t.prototype.name;if(!e)throw new TypeError("attempted to add an invalid 
integration");return this.Integrat
 
ions[e]=t,this},r.prototype.init=r.prototype.initialize=function(t,e){t=t||{},e=e||{},this._options(e),this._readied=!1;var
 n=this;b(function(e,r){n.Integrations[r]||delete 
t[r]},t),b(function(t,r){if(!e.integrations||!1!==e.integrations[r]&&(!1!==e.integrations.All||e.integrations[r])){var
 o=n.Integrations[r],i={};h(!0,i,t);var a=new o(i);n.log("initialize %o - 
%o",r,t),n.add(a)}},t);var r=this._integrations;z.load(),_.load();var 
o=k(r).length,i=p(o,function(){n._readied=!0,n.emit("ready")});return 
o<=0&&i(),this.failedInitializations=[],b(function(t){e.initialPageview&&!1===t.options.initialPageview&&(t.page=p(2,t.page)),t.analytics=n,t.once("ready",i);try{g.increment("analytics_js.integration.invoke",{method:"initialize",integration_name:t.name}),t.initialize()}catch(e){var
 
r=t.name;g.increment("analytics_js.integration.invoke.error",{method:"initialize",integration_name:t.name}),n.failedInitializations.push(r),n.log("Error
 initializing %s integration: %o",r,e),t.ready()}},r),thi
 
s.initialized=!0,this.emit("initialize",t,e),this},r.prototype.setAnonymousId=function(t){return
 this.user().anonymousId(t),this},r.prototype.add=function(t){return 
this._integrations[t.name]=t,this},r.prototype.identify=function(t,e,n,r){x.fn(n)&&(r=n,n=null),x.fn(e)&&(r=e,n=null,e=null),x.object(t)&&(n=e,e=t,t=z.id()),z.identify(t,e);var
 o=this.normalize({options:n,traits:z.traits(),userId:z.id()});return 
this.options.integrations&&v(o.integrations,this.options.integrations),this._invoke("identify",new
 
c(o)),this.emit("identify",t,e,n),this._callback(r),this},r.prototype.user=function(){return
 z},r.prototype.group=function(t,e,n,r){if(!arguments.length)return 
_;x.fn(n)&&(r=n,n=null),x.fn(e)&&(r=e,n=null,e=null),x.object(t)&&(n=e,e=t,t=_.id()),_.identify(t,e);var
 o=this.normalize({options:n,traits:_.traits(),groupId:_.id()});return 
this.options.integrations&&v(o.integrations,this.options.integrations),this._invoke("group",new
 s(o)),this.emit("group",t,e,n),this._callback(r),this},r
 
.prototype.track=function(t,e,n,r){x.fn(n)&&(r=n,n=null),x.fn(e)&&(r=e,n=null,e=null);var
 
o=this.options.plan||{},i=o.track||{},a={},s=this.normalize({properties:e,options:n,event:t});if(o=i[t])this.log("plan
 %o - 
%o",t,o),a=!1===o.enabled?{All:!1,"Segment.io":!0}:o.integrations||{};else{(i.__default||{enabled:!0}).enabled||(a={All:!1,"Segment.io":!0})}return
 
v(s.integrations,this._mergeInitializeAndPlanIntegrations(a)),this._invoke("track",new
 
l(s)),this.emit("track",t,e,n),this._callback(r),this},r.prototype.trackClick=r.prototype.trackLink=function(t,e,n){if(!t)return
 this;"element"===$(t)&&(t=[t]);var r=this;return 
b(function(t){if("element"!==$(t))throw new TypeError("Must pass HTMLElement to 
`analytics.trackLink`.");C(t,"click",function(o){var 
i=x.fn(e)?e(t):e,a=x.fn(n)?n(t):n,s=t.getAttribute("href")||t.getAttributeNS("http://www.w3.org/1999/xlink","href";)||t.getAttribute("xlink:href");r.track(i,a),s&&"_blank"!==t.target&&!j(o)&&(S(o),r._callback(function(){window.location.hr
 
ef=s}))})},t),this},r.prototype.trackSubmit=r.prototype.trackForm=function(t,e,n){if(!t)return
 this;"element"===$(t)&&(t=[t]);var r=this;return b(function(t){function 
o(o){S(o);var 
i=x.fn(e)?e(t):e,a=x.fn(n)?n(t):n;r.track(i,a),r._callback(function(){t.submit()})}if("element"!==$(t))throw
 new TypeError("Must pass HTMLElement to `analytics.trackForm`.");var 
i=window.jQuery||window.Zepto;i?i(t).submit(o):C(t,"submit",o)},t),this},r.prototype.page=function(t,e,n,r,o){x.fn(r)&&(o=r,r=null),x.fn(n)&&(o=n,r=n=null),x.fn(e)&&(o=e,r=n=e=null),"object"===$(t)&&(r=e,n=t,e=t=null),"object"===$(e)&&(r=n,n=e,e=null),"string"===$(t)&&"string"!==$(e)&&(e=t,t=null),n=d(n)||{},e&&(n.name=e),t&&(n.category=t);var
 i=A();v(n,i);var 
a=E(k(i),n);x.empty(a)||(r=r||{},r.context=r.context||{},r.context.page=a);var 
s=this.normalize({properties:n,category:t,options:r,name:e});return 
this.options.integrations&&v(s.integrations,this.options.integrations),this._invoke("page",new
 u(s)),this.emit("page",t,e,n,r),t
 his._callback(o),this},r.prototype.pageview=function(t){var e={};return 
t&&(e.path=t),this.page(e),this},r.prototype.alias=function(t,e,n,r){x.fn(n)&&(r=n,n=null),x.fn(e)&&(r=e,n=null,e=null),x.object(e)&&(n=e,e=null);var
 o=this.normalize({options:n,previousId:e,userId:t});return 
this.options.integrations&&v(o.integrations,this.options.integrations),this._invoke("alias",new
 
i(o)),this.emit("alias",t,e,n),this._callback(r),this},r.prototype.ready=function(t){return
 
x.fn(t)&&(this._readied?T(t):this.once("ready",t)),this},r.prototype.timeout=function(t){this._timeout=t},r.prototype.debug=function(t){!arguments.length||t?m.enable("analytics:"+(t||"*")):m.disable()},r.prototype._options=function(t){return
 
t=t||{},this.options=t,y.options(t.cookie),g.options(t.metrics),N.options(t.localStorage),z.options(t.user),_.options(t.group),this},r.prototype._callback=function(t){return
 
x.fn(t)&&(this._timeout?setTimeout(t,this._timeout):T(t)),this},r.prototype._invoke=function(t,e){var
 n=this;g.i
 ncrement("analytics_js.invoke",{method:t}),this.emit("invoke",e);var 
r=n.failedInitializations||[];return 
b(function(o,i){if(e.enabled(i))if(r.indexOf(i)>=0)n.log("Skipping invokation 
of .%s method of %s integration. Integation failed to initialize 
properly.",t,i);else 
try{g.increment("analytics_js.integration.invoke",{method:t,integration_name:o.name}),o.invoke.call(o,t,e)}catch(e){g.increment("analytics_js.integration.invoke.error",{method:t,integration_name:o.name}),n.log("Error
 invoking .%s method of %s integration: 
%o",t,i,e)}},this._integrations),this},r.prototype.push=function(t){var 
e=t.shift();this[e]&&this[e].apply(this,t)},r.prototype.reset=function(){this.user().logout(),this.group().logout()},r.prototype._parseQuery=function(t){function
 e(t,e){var n,r=t.length;return w(function(e,o,i){return 
i.substr(0,r)===t&&(n=i.substr(r),e[n]=o),e},{},e)}var 
n=D.parse(t),r=e("ajs_trait_",n),o=e("ajs_prop_",n);return 
n.ajs_uid&&this.identify(n.ajs_uid,r),n.ajs_event&&this.track(n.ajs
 
_event,o),n.ajs_aid&&z.anonymousId(n.ajs_aid),this},r.prototype.normalize=function(t){return
 
t=O(t,k(this._integrations)),t.anonymousId&&z.anonymousId(t.anonymousId),t.anonymousId=z.anonymousId(),t.context.page=v(t.context.page||{},A()),t},r.prototype._mergeInitializeAndPlanIntegrations=function(t){if(!this.options.integrations)return
 t;var e,n=h({},this.options.integrations);!1===t.All&&(n={All:!1});for(e in 
t)t.hasOwnProperty(e)&&!1!==this.options.integrations[e]&&(n[e]=t[e]);return 
n},r.prototype.noConflict=function(){return 
window.analytics=o,this},e.exports=r,e.exports.cookie=y,e.exports.memory=I,e.exports.store=N,e.exports.metrics=g}).call(this,"undefined"!=typeof
 global?global:"undefined"!=typeof self?self:"undefined"!=typeof 
window?window:{})},{"./cookie":16,"./group":18,"./memory":20,"./metrics":21,"./normalize":22,"./pageDefaults":23,"./store":24,"./user":25,"@ndhoule/after":1,"@ndhoule/clone":3,"@ndhoule/defaults":4,"@ndhoule/each":6,"@ndhoule/foldl":9,"@ndhoule/keys":11,
 
"@ndhoule/pick":13,"@segment/is-meta":35,"@segment/prevent-default":39,"bind-all":44,"component-emitter":52,"component-event":53,"component-querystring":55,"component-type":57,debug:26,extend:27,is:66,"next-tick":75,"segmentio-facade":85}],16:[function(t,e,n){"use
 strict";function r(t){this.options(t)}var 
o=t("bind-all"),i=t("@ndhoule/clone"),a=t("component-cookie"),s=t("debug")("analytics.js:cookie"),c=t("@ndhoule/defaults"),u=t("json3"),l=t("@segment/top-domain");r.prototype.options=function(t){if(0===arguments.length)return
 this._options;t=t||{};var 
e="."+l(window.location.href);"."===e&&(e=null),this._options=c(t,{maxage:31536e6,path:"/",domain:e}),this.set("ajs:test",!0),this.get("ajs:test")||(s("fallback
 to 
domain=null"),this._options.domain=null),this.remove("ajs:test")},r.prototype.set=function(t,e){try{return
 
e=u.stringify(e),a(t,e,i(this._options)),!0}catch(t){return!1}},r.prototype.get=function(t){try{var
 e=a(t);return e=e?u.parse(e):null}catch(t){return null}},r.prototyp
 e.remove=function(t){try{return 
a(t,null,i(this._options)),!0}catch(t){return!1}},e.exports=o(new 
r),e.exports.Cookie=r},{"@ndhoule/clone":3,"@ndhoule/defaults":4,"@segment/top-domain":42,"bind-all":44,"component-cookie":46,debug:26,json3:67}],17:[function(t,e,n){"use
 strict";function r(t){this.options(t),this.initialize()}var 
o=t("@ndhoule/clone"),i=t("./cookie"),a=t("debug")("analytics:entity"),s=t("@ndhoule/defaults"),c=t("@ndhoule/extend"),u=t("./memory"),l=t("./store"),p=t("@segment/isodate-traverse");e.exports=r,r.prototype.initialize=function(){return
 
i.set("ajs:cookies",!0),i.get("ajs:cookies")?(i.remove("ajs:cookies"),void(this._storage=i)):l.enabled?void(this._storage=l):(a("warning
 using memory store both cookies and localStorage are 
disabled"),void(this._storage=u))},r.prototype.storage=function(){return 
this._storage},r.prototype.options=function(t){if(0===arguments.length)return 
this._options;this._options=s(t||{},this.defaults||{})},r.prototype.id=function(t){switch(a
 rguments.length){case 0:return this._getId();case 1:return 
this._setId(t)}},r.prototype._getId=function(){var 
t=this._options.persist?this.storage().get(this._options.cookie.key):this._id;return
 void 
0===t?null:t},r.prototype._setId=function(t){this._options.persist?this.storage().set(this._options.cookie.key,t):this._id=t},r.prototype.properties=r.prototype.traits=function(t){switch(arguments.length){case
 0:return this._getTraits();case 1:return 
this._setTraits(t)}},r.prototype._getTraits=function(){var 
t=this._options.persist?l.get(this._options.localStorage.key):this._traits;return
 
t?p(o(t)):{}},r.prototype._setTraits=function(t){t=t||{},this._options.persist?l.set(this._options.localStorage.key,t):this._traits=t},r.prototype.identify=function(t,e){e=e||{};var
 
n=this.id();null!==n&&n!==t||(e=c(this.traits(),e)),t&&this.id(t),this.debug("identify
 %o, 
%o",t,e),this.traits(e),this.save()},r.prototype.save=function(){return!!this._options.persist&&(i.set(this._options.cookie.key,this
 
.id()),l.set(this._options.localStorage.key,this.traits()),!0)},r.prototype.logout=function(){this.id(null),this.traits({}),i.remove(this._options.cookie.key),l.remove(this._options.localStorage.key)},r.prototype.reset=function(){this.logout(),this.options({})},r.prototype.load=function(){this.id(i.get(this._options.cookie.key)),this.traits(l.get(this._options.localStorage.key))}},{"./cookie":16,"./memory":20,"./store":24,"@ndhoule/clone":3,"@ndhoule/defaults":4,"@ndhoule/extend":8,"@segment/isodate-traverse":36,debug:26}],18:[function(t,e,n){"use
 strict";function r(t){this.defaults=r.defaults,this.debug=a,o.call(this,t)}var 
o=t("./entity"),i=t("bind-all"),a=t("debug")("analytics:group"),s=t("inherits");r.defaults={persist:!0,cookie:{key:"ajs_group_id"},localStorage:{key:"ajs_group_properties"}},s(r,o),e.exports=i(new
 
r),e.exports.Group=r},{"./entity":17,"bind-all":44,debug:26,inherits:64}],19:[function(t,e,n){"use
 strict";var r=t("./analytics"),o=new r;o.VERSION=t("../package.json"
 
).version,e.exports=o},{"../package.json":28,"./analytics":15}],20:[function(t,e,n){"use
 strict";function r(){this.store={}}var 
o=t("bind-all"),i=t("@ndhoule/clone"),a=Object.prototype.hasOwnProperty;e.exports=o(new
 r),r.prototype.set=function(t,e){return 
this.store[t]=i(e),!0},r.prototype.get=function(t){if(a.call(this.store,t))return
 i(this.store[t])},r.prototype.remove=function(t){return delete 
this.store[t],!0}},{"@ndhoule/clone":3,"bind-all":44}],21:[function(t,e,n){"use 
strict";function r(t){this.options(t)}var 
o=t("bind-all"),i=t("@segment/send-json"),a=t("debug")("analytics.js:metrics");r.prototype.options=function(t){if(t=t||{},this.host=t.host||"api.segment.io/v1",this.sampleRate=t.sampleRate||0,this.flushTimer=t.flushTimer||3e4,this.maxQueueSize=t.maxQueueSize||20,this.queue=[],this.sampleRate>0){var
 
e=this;setInterval(function(){e._flush()},this.flushTimer)}},r.prototype.increment=function(t,e){Math.random()>this.sampleRate||this.queue.length>=this.maxQueueSize||(this.qu
 
eue.push({type:"Counter",metric:t,value:1,tags:e}),t.indexOf("error")>0&&this._flush())},r.prototype._flush=function(){var
 t=this;if(!(t.queue.length<=0)){var 
e={series:this.queue},n={"Content-Type":"text/plain"};t.queue=[],"xhr"===i.type&&i("https://"+this.host+"/m",e,n,function(t,n){a("sent
 %O, received %O",e,[t,n])})}},e.exports=o(new 
r),e.exports.Metrics=r},{"@segment/send-json":40,"bind-all":44,debug:26}],22:[function(t,e,n){"use
 strict";function r(t,e){function 
n(t){return!(!s(t,e)&&"all"!==t.toLowerCase()&&!s(t.toLowerCase(),r))}var 
r=c(function(t){return 
t.toLowerCase()},e),f=t.options||{},d=f.integrations||{},h=f.providers||{},y=f.context||{},g={};return
 o("<-",t),a(function(t,e){n(e)&&(l.call(d,e)||(d[e]=t),delete f[e])},f),delete 
f.providers,a(function(t,e){n(e)&&"object"!==u(d[e])&&(l.call(d,e)&&"boolean"==typeof
 h[e]||(d[e]=t))},h),a(function(t,e){s(e,p)?g[e]=f[e]:y[e]=f[e]},f),delete 
t.options,g.integrations=d,g.context=y,g=i(g,t),o("->",g),g}var 
o=t("debug")("analytic
 
s.js:normalize"),i=t("@ndhoule/defaults"),a=t("@ndhoule/each"),s=t("@ndhoule/includes"),c=t("@ndhoule/map"),u=t("component-type"),l=Object.prototype.hasOwnProperty;e.exports=r;var
 
p=["integrations","anonymousId","timestamp","context"]},{"@ndhoule/defaults":4,"@ndhoule/each":6,"@ndhoule/includes":10,"@ndhoule/map":12,"component-type":57,debug:26}],23:[function(t,e,n){"use
 strict";function 
r(){return{path:o(),referrer:document.referrer,search:location.search,title:document.title,url:i(location.search)}}function
 o(){var t=a();return t?c.parse(t).pathname:window.location.pathname}function 
i(t){var e=a();if(e)return s("?",e)?e:e+t;var 
n=window.location.href,r=n.indexOf("#");return-1===r?n:n.slice(0,r)}var 
a=t("@segment/canonical"),s=t("@ndhoule/includes"),c=t("component-url");e.exports=r},{"@ndhoule/includes":10,"@segment/canonical":33,"component-url":58}],24:[function(t,e,n){"use
 strict";function r(t){this.options(t)}var 
o=t("bind-all"),i=t("@ndhoule/defaults"),a=t("@segment/store");r.p
 rototype.options=function(t){if(0===arguments.length)return 
this._options;t=t||{},i(t,{enabled:!0}),this.enabled=t.enabled&&a.enabled,this._options=t},r.prototype.set=function(t,e){return!!this.enabled&&a.set(t,e)},r.prototype.get=function(t){return
 
this.enabled?a.get(t):null},r.prototype.remove=function(t){return!!this.enabled&&a.remove(t)},e.exports=o(new
 
r),e.exports.Store=r},{"@ndhoule/defaults":4,"@segment/store":41,"bind-all":44}],25:[function(t,e,n){"use
 strict";function r(t){this.defaults=r.defaults,this.debug=s,o.call(this,t)}var 
o=t("./entity"),i=t("bind-all"),a=t("./cookie"),s=t("debug")("analytics:user"),c=t("inherits"),u=t("component-cookie"),l=t("uuid");r.defaults={persist:!0,cookie:{key:"ajs_user_id",oldKey:"ajs_user"},localStorage:{key:"ajs_user_traits"}},c(r,o),r.prototype.id=function(t){var
 e=this._getId(),n=o.prototype.id.apply(this,arguments);return 
null==e?n:(e!=t&&t&&this.anonymousId(null),n)},r.prototype.anonymousId=function(t){var
 e=this.storage();return argu
 
ments.length?(e.set("ajs_anonymous_id",t),this):(t=e.get("ajs_anonymous_id"))?t:(t=u("_sio"))?(t=t.split("----")[0],e.set("ajs_anonymous_id",t),e.remove("_sio"),t):(t=l.v4(),e.set("ajs_anonymous_id",t),e.get("ajs_anonymous_id"))},r.prototype.logout=function(){o.prototype.logout.call(this),this.anonymousId(null)},r.prototype.load=function(){this._loadOldCookie()||o.prototype.load.call(this)},r.prototype._loadOldCookie=function(){var
 
t=a.get(this._options.cookie.oldKey);return!!t&&(this.id(t.id),this.traits(t.traits),a.remove(this._options.cookie.oldKey),!0)},e.exports=i(new
 
r),e.exports.User=r},{"./cookie":16,"./entity":17,"bind-all":44,"component-cookie":46,debug:26,inherits:64,uuid:99}],26:[function(t,e,n){function
 r(t){return r.enabled(t)?function(e){e=o(e);var n=new 
Date,i=n-(r[t]||n);r[t]=n,e=t+" "+e+" 
+"+r.humanize(i),window.console&&console.log&&Function.prototype.apply.call(console.log,console,arguments)}:function(){}}function
 o(t){return t instanceof Error?t.stack||t.message
 
:t}e.exports=r,r.names=[],r.skips=[],r.enable=function(t){try{localStorage.debug=t}catch(t){}for(var
 
e=(t||"").split(/[\s,]+/),n=e.length,o=0;o<n;o++)t=e[o].replace("*",".*?"),"-"===t[0]?r.skips.push(new
 RegExp("^"+t.substr(1)+"$")):r.names.push(new 
RegExp("^"+t+"$"))},r.disable=function(){r.enable("")},r.humanize=function(t){return
 
t>=36e5?(t/36e5).toFixed(1)+"h":t>=6e4?(t/6e4).toFixed(1)+"m":t>=1e3?(t/1e3|0)+"s":t+"ms"},r.enabled=function(t){for(var
 e=0,n=r.skips.length;e<n;e++)if(r.skips[e].test(t))return!1;for(var 
e=0,n=r.names.length;e<n;e++)if(r.names[e].test(t))return!0;return!1};try{window.localStorage&&r.enable(localStorage.debug)}catch(t){}},{}],27:[function(t,e,n){"use
 strict";var 
r=Object.prototype.hasOwnProperty,o=Object.prototype.toString,i=function(t){return"function"==typeof
 Array.isArray?Array.isArray(t):"[object 
Array]"===o.call(t)},a=function(t){if(!t||"[object 
Object]"!==o.call(t))return!1;var 
e=r.call(t,"constructor"),n=t.constructor&&t.constructor.prototype&&r.
 
call(t.constructor.prototype,"isPrototypeOf");if(t.constructor&&!e&&!n)return!1;var
 i;for(i in t);return void 0===i||r.call(t,i)};e.exports=function t(){var 
e,n,r,o,s,c,u=arguments[0],l=1,p=arguments.length,f=!1;for("boolean"==typeof 
u&&(f=u,u=arguments[1]||{},l=2),(null==u||"object"!=typeof 
u&&"function"!=typeof u)&&(u={});l<p;++l)if(null!=(e=arguments[l]))for(n in 
e)r=u[n],o=e[n],u!==o&&(f&&o&&(a(o)||(s=i(o)))?(s?(s=!1,c=r&&i(r)?r:[]):c=r&&a(r)?r:{},u[n]=t(f,c,o)):void
 0!==o&&(u[n]=o));return 
u}},{}],28:[function(t,e,n){e.exports={name:"@segment/analytics.js-core",author:"Segment
 <frie...@segment.com>",version:"3.7.2",description:"The hassle-free way to 
integrate analytics into any web 
application.",keywords:["analytics","analytics.js","segment","segment.io"],main:"lib/index.js",scripts:{test:"make
 test",lint:'eslint "./{lib,test}/**/*.js"',format:'prettier-eslint --write 
--list-different 
"./{lib,test}/**/*.{js,json,md}"',precommit:"lint-staged",np:"np 
--no-publish"},"lint-staged"
 :{linters:{"*.{js,json,md}":["prettier-eslint --write","git 
add"]}},repository:{type:"git",url:"https://github.com/segmentio/analytics.js-core"},license:"SEE
 LICENSE IN 
LICENSE",bugs:{url:"https://github.com/segmentio/analytics.js-core/issues"},homepage:"https://github.com/segmentio/analytics.js-core#readme",dependencies:{"@ndhoule/after":"^1.0.0","@ndhoule/clone":"^1.0.0","@ndhoule/defaults":"^2.0.1","@ndhoule/each":"^2.0.1","@ndhoule/extend":"^2.0.0","@ndhoule/foldl":"^2.0.1","@ndhoule/includes":"^2.0.1","@ndhoule/keys":"^2.0.0","@ndhoule/map":"^2.0.1","@ndhoule/pick":"^2.0.0","@segment/canonical":"^1.0.0","@segment/is-meta":"^1.0.0","@segment/isodate":"^1.0.2","@segment/isodate-traverse":"^1.0.1","@segment/prevent-default":"^1.0.0","@segment/send-json":"^3.0.0","@segment/store":"^1.3.20","@segment/top-domain":"^3.0.0","bind-all":"^1.0.0","component-cookie":"^1.1.2","component-emitter":"^1.2.1","component-event":"^0.1.4","component-querystring":"^2.0.0","component-type":"^1.2.1",";
 
component-url":"^0.2.1",debug:"^0.7.4",extend:"3.0.1",inherits:"^2.0.1",install:"^0.7.3",is:"^3.1.0",json3:"^3.3.2","new-date":"^1.0.0","next-tick":"^0.2.2","segmentio-facade":"^3.0.2",uuid:"^2.0.2"},devDependencies:{"@segment/analytics.js-integration":"^3.2.1","@segment/eslint-config":"^4.0.0",browserify:"13.0.0","browserify-istanbul":"^2.0.0",codecov:"^3.0.2","compat-trigger-event":"^1.0.0","component-each":"^0.2.6",eslint:"^4.19.1","eslint-config-prettier":"^2.9.0","eslint-plugin-mocha":"^5.0.0","eslint-plugin-react":"^7.9.1","eslint-plugin-require-path-exists":"^1.1.8",husky:"^0.14.3",istanbul:"^0.4.3",jquery:"^3.2.1",karma:"1.3.0","karma-browserify":"^5.0.4","karma-chrome-launcher":"^1.0.1","karma-coverage":"^1.0.0","karma-junit-reporter":"^1.0.0","karma-mocha":"1.0.1","karma-phantomjs-launcher":"^1.0.0","karma-sauce-launcher":"^1.0.0","karma-spec-reporter":"0.0.26","karma-summary-reporter":"^1.5.0","lint-staged":"^7.2.0",mocha:"^2.2.5",np:"^3.0.4","phantomjs-prebuilt":"^2.1.7"
 
,"prettier-eslint-cli":"^4.7.1",proclaim:"^3.4.1",sinon:"^1.7.3",snyk:"^1.83.0",watchify:"^3.7.0"}}},{}],29:[function(t,e,n){"use
 strict";function r(t){function e(n){if(n&&n.addIntegration)return 
n.addIntegration(e);this.debug=a("analytics:integration:"+u(t)),this.options=s(i(n)||{},this.defaults),this._queue=[],this.once("ready",o(this,this.flush)),e.emit("construct",this),this.ready=o(this,this.ready),this._wrapInitialize(),this._wrapPage(),this._wrapTrack()}return
 
e.prototype.defaults={},e.prototype.globals=[],e.prototype.templates={},e.prototype.name=t,c(e,p),c(e.prototype,l),e}var
 
o=t("component-bind"),i=t("@ndhoule/clone"),a=t("debug"),s=t("@ndhoule/defaults"),c=t("@ndhoule/extend"),u=t("slug-component"),l=t("./protos"),p=t("./statics");e.exports=r},{"./protos":30,"./statics":31,"@ndhoule/clone":3,"@ndhoule/defaults":4,"@ndhoule/extend":8,"component-bind":45,debug:59,"slug-component":91}],30:[function(t,e,n){"use
 strict";function r(t){return y.array(t)?f(o,t)?"mixed":"array":y
 .object(t)?"map":"unknown"}function 
o(t){return!!y.object(t)&&(!!y.string(t.key)&&!!w.call(t,"value"))}function 
i(t,e){e=e||function(){};var n=new Image;return n.onerror=a(e,"failed to load 
pixel",n),n.onload=function(){e()},n.src=t.src,n.width=1,n.height=1,n}function 
a(t,e,n){return function(r){r=r||window.event;var o=new 
Error(e);o.event=r,o.source=n,t(o)}}function s(t,e){return 
h(function(t,n,r){return t[r]=n.replace(/\{\{\ *(\w+)\ 
*\}\}/g,function(t,n){return e[n]}),t},{},t.attrs)}var 
c=t("component-emitter"),u=t("@ndhoule/after"),l=t("@ndhoule/each"),p=t("analytics-events"),f=t("@ndhoule/every"),d=t("@segment/fmt"),h=t("@ndhoule/foldl"),y=t("is"),g=t("load-iframe"),m=t("@segment/load-script"),v=t("next-tick"),b=t("to-no-case"),w=Object.prototype.hasOwnProperty,_=function(){},x=window.onerror;c(n),n.initialize=function(){var
 t=thi

<TRUNCATED>

Reply via email to