New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

analytics

Package Overview
Dependencies
Maintainers
2
Versions
99
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

analytics - npm Package Compare versions

Comparing version 0.1.14 to 0.1.15

8

CHANGELOG.md

@@ -6,2 +6,10 @@ # Change Log

## [0.1.15](https://github.com/DavidWells/analytics/compare/analytics@0.1.14...analytics@0.1.15) (2019-07-19)
**Note:** Version bump only for package analytics
## [0.1.14](https://github.com/DavidWells/analytics/compare/analytics@0.1.13...analytics@0.1.14) (2019-07-13)

@@ -8,0 +16,0 @@

2

dist/analytics.min.js

@@ -1,1 +0,1 @@

var _analytics=function(t){"use strict";var e=function(t){if(Array.isArray(t)){for(var e=0,n=new Array(t.length);e<t.length;e++)n[e]=t[e];return n}};var n=function(t){if(Symbol.iterator in Object(t)||"[object Arguments]"===Object.prototype.toString.call(t))return Array.from(t)};var r=function(){throw new TypeError("Invalid attempt to spread non-iterable instance")};var T=function(t){return e(t)||n(t)||r()};var d=function(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t};var L=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter(function(t){return Object.getOwnPropertyDescriptor(n,t).enumerable}))),r.forEach(function(t){d(e,t,n[t])})}return e};function o(t,e){return t(e={exports:{}},e.exports),e.exports}var M=o(function(e){function n(t){return(n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function r(t){return"function"==typeof Symbol&&"symbol"===n(Symbol.iterator)?e.exports=r=function(t){return n(t)}:e.exports=r=function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":n(t)},r(t)}e.exports=r}),a="object"==typeof global&&global&&global.Object===Object&&global,i="object"==typeof self&&self&&self.Object===Object&&self,c=(a||i||Function("return this")()).Symbol,u=Object.prototype,s=u.hasOwnProperty,l=u.toString,f=c?c.toStringTag:void 0;var p=Object.prototype.toString;var h="[object Null]",y="[object Undefined]",m=c?c.toStringTag:void 0;function g(t){return null==t?void 0===t?y:h:m&&m in Object(t)?function(t){var e=s.call(t,f),n=t[f];try{var r=!(t[f]=void 0)}catch(t){}var o=l.call(t);return r&&(e?t[f]=n:delete t[f]),o}(t):(e=t,p.call(e));var e}var v,b,w=(v=Object.getPrototypeOf,b=Object,function(t){return v(b(t))});var E,S="[object Object]",x=Function.prototype,I=Object.prototype,O=x.toString,A=I.hasOwnProperty,j=O.call(Object);E="undefined"!=typeof self?self:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof module?module:Function("return this")();var _,N,k=("function"==typeof(N=E.Symbol)?N.observable?_=N.observable:(_=N("observable"),N.observable=_):_="@@observable",_),P={INIT:"@@redux/INIT"};function R(t,e,n){var r;if("function"==typeof e&&void 0===n&&(n=e,e=void 0),void 0!==n){if("function"!=typeof n)throw new Error("Expected the enhancer to be a function.");return n(R)(t,e)}if("function"!=typeof t)throw new Error("Expected the reducer to be a function.");var o=t,a=e,i=[],c=i,u=!1;function s(){c===i&&(c=i.slice())}function l(){return a}function f(e){if("function"!=typeof e)throw new Error("Expected listener to be a function.");var n=!0;return s(),c.push(e),function(){if(n){n=!1,s();var t=c.indexOf(e);c.splice(t,1)}}}function p(t){if(!function(t){if(null==(e=t)||"object"!=typeof e||g(t)!=S)return!1;var e,n=w(t);if(null===n)return!0;var r=A.call(n,"constructor")&&n.constructor;return"function"==typeof r&&r instanceof r&&O.call(r)==j}(t))throw new Error("Actions must be plain objects. Use custom middleware for async actions.");if(void 0===t.type)throw new Error('Actions may not have an undefined "type" property. Have you misspelled a constant?');if(u)throw new Error("Reducers may not dispatch actions.");try{u=!0,a=o(a,t)}finally{u=!1}for(var e=i=c,n=0;n<e.length;n++){(0,e[n])()}return t}return p({type:P.INIT}),(r={dispatch:p,subscribe:f,getState:l,replaceReducer:function(t){if("function"!=typeof t)throw new Error("Expected the nextReducer to be a function.");o=t,p({type:P.INIT})}})[k]=function(){var t,n=f;return(t={subscribe:function(t){if("object"!=typeof t)throw new TypeError("Expected the observer to be an object.");function e(){t.next&&t.next(l())}return e(),{unsubscribe:n(e)}}})[k]=function(){return this},t},r}function q(t){for(var e=Object.keys(t),d={},n=0;n<e.length;n++){var r=e[n];"function"==typeof t[r]&&(d[r]=t[r])}var o,h=Object.keys(d),y=void 0;try{o=d,Object.keys(o).forEach(function(t){var e=o[t];if(void 0===e(void 0,{type:P.INIT}))throw new Error('Reducer "'+t+"\" returned undefined during initialization. If the state passed to the reducer is undefined, you must explicitly return the initial state. The initial state may not be undefined. If you don't want to set a value for this reducer, you can use null instead of undefined.");if(void 0===e(void 0,{type:"@@redux/PROBE_UNKNOWN_ACTION_"+Math.random().toString(36).substring(7).split("").join(".")}))throw new Error('Reducer "'+t+"\" returned undefined when probed with a random type. Don't try to handle "+P.INIT+' or other actions in "redux/*" namespace. They are considered private. Instead, you must return the current state for any unknown actions, unless it is undefined, in which case you must return the initial state, regardless of the action type. The initial state may not be undefined, but can be null.')})}catch(t){y=t}return function(){var t=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{},e=arguments[1];if(y)throw y;for(var n,r,o,a=!1,i={},c=0;c<h.length;c++){var u=h[c],s=d[u],l=t[u],f=s(l,e);if(void 0===f){var p=(n=u,o=void 0,"Given action "+((o=(r=e)&&r.type)&&'"'+o.toString()+'"'||"an action")+', reducer "'+n+'" returned undefined. To ignore an action, you must explicitly return the previous state. If you want this reducer to hold no value, you can return null instead of undefined.');throw new Error(p)}i[u]=f,a=a||f!==l}return a?i:t}}function C(){for(var t=arguments.length,e=Array(t),n=0;n<t;n++)e[n]=arguments[n];return 0===e.length?function(t){return t}:1===e.length?e[0]:e.reduce(function(t,e){return function(){return t(e.apply(void 0,arguments))}})}var z=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t};var F="undefined"!=typeof window;var V=function(){try{if(!F)return!1;var t="cookietest=";document.cookie="".concat(t,"1");var e=-1!==document.cookie.indexOf(t);return document.cookie="".concat(t,"1; expires=Thu, 01-Jan-1970 00:00:01 GMT"),e}catch(t){return!1}}();function $(t,e,n){if(!V)return!1;var r="";if(n){var o=new Date;o.setTime(o.getTime()+24*n*60*60*1e3),r="; expires=".concat(o.toGMTString())}document.cookie="".concat(t,"=").concat(e).concat(r,"; path=/")}function D(t){if(!V)return!1;for(var e="".concat(t,"="),n=document.cookie.split(";"),r=0;r<n.length;r++){for(var o=n[r];" "===o.charAt(0);)o=o.substring(1,o.length);if(0===o.indexOf(e))return o.substring(e.length,o.length)}return null}function G(t){return decodeURIComponent(t).replace(/\+/g," ")}function U(t){if(!F)return!1;var e=t||document.referrer;if(e){var n=window.document.location.port,r=e.split("/")[2];return n&&(r=r.replace(":".concat(n),"")),r!==window.location.hostname}return!1}function Y(t){var e=function(t){if(t){var e=t.match(/\?(.*)/);return e&&e[1]?e[1].split("#")[0]:""}return F&&window.location.search.substring(1)}(t);return e?function(t){var e,n=/([^&=]+)=?([^&]*)/g,r={};for(;e=n.exec(t);){var o=G(e[1]),a=G(e[2]);if("[]"===o.substring(o.length-2))o=o.substring(0,o.length-2),(r[o]||(r[o]=[])).push(a);else{var i=""===a||a;r[o]=i}}for(var c in r){var u=c.split("[");if(1<u.length){var s=[];u.forEach(function(t,e){var n=t.replace(/[?[\]\\ ]/g,"");s.push(n)}),B(r,s,r[c]),delete r[c]}}return r}(e):{}}function B(t,e,n){for(var r=e.length-1,o=0;o<r;++o){var a=e[o];a in t||(t[a]={}),t=t[a]}t[e[r]]=n}function J(o,a){return F?new Promise(function(t,e){if(window.history&&window.history.replaceState){var n=window.location.href,r=function(t,e){var n=(t.split("?")||[,])[1];if(!n||-1===n.indexOf(e))return t;var r=new RegExp("(\\&|\\?)".concat(e,'([_A-Za-z0-9"+=.%]+)'),"g"),o="?".concat(n).replace(r,"").replace(/^&/,"?");return t.replace("?".concat(n),o)}(n,o);n!==r&&history.replaceState({},"",r)}return a&&a(),t()}):Promise.resolve()}function H(t){return(function(t){if(!F)return null;var e=document.createElement("a");return e.setAttribute("href",t),e.hostname}(t)||"").split(".").slice(-2).join(".")}var W="google";var X={"daum.net":"q","eniro.se":"search_word","naver.com":"query","yahoo.com":"p","msn.com":"q","aol.com":"q","lycos.com":"q","ask.com":"q","cnn.com":"query","about.com":"terms","baidu.com":"wd","yandex.com":"text","seznam.cz":"q","search.com":"q","yam.com":"k","kvasir.no":"q","terra.com":"query","mynet.com":"q","rambler.ru":"words",google:"q","bing.com":{p:"q",n:"live"}};function Z(t){return(Z="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function K(e){var n;try{void 0===(n=JSON.parse(e))&&(n=e),"true"===n&&(n=!0),"false"===n&&(n=!1),parseFloat(n)===n&&"object"!==Z(n)&&(n=parseFloat(n))}catch(t){n=e}return n}var Q="undefined"!=typeof self&&self?self:"undefined"!=typeof window&&window?window:"undefined"!=typeof global&&global?global:"undefined"!=typeof globalThis&&globalThis?globalThis:void 0;var tt=function(){if(!F)return!1;try{if("undefined"==typeof localStorage||"undefined"==typeof JSON)return!1;localStorage.setItem("_test_","1"),localStorage.removeItem("_test_")}catch(t){return!1}return!0}();function et(t){return"string"==typeof t?t:t.storage}function nt(t){return tt&&(!t||"localStorage"===t)}function rt(t){return V&&(!t||"cookie"===t)}var ot={getItem:function(t){var e=1<arguments.length&&void 0!==arguments[1]?arguments[1]:{};if(!t)return null;var n=et(e);if(nt(n)){var r=localStorage.getItem(t);if(r||"localStorage"===n)return K(r)}if(rt(n)){var o=D(t);if(o||"cookie"===n)return K(o)}return Q[t]||null},setItem:function(t,e){var n=2<arguments.length&&void 0!==arguments[2]?arguments[2]:{};if(!t||!e)return!1;var r=et(n),o=JSON.stringify(e);if(nt(r)){var a=K(localStorage.getItem(t));return localStorage.setItem(t,o),{value:e,oldValue:a,type:"localStorage"}}if(rt(r)){var i=K(D(t));return $(t,o),{value:e,oldValue:i,type:"cookie"}}var c=Q[t];return{value:Q[t]=e,oldValue:c,type:"window"}},removeItem:function(t){var e=1<arguments.length&&void 0!==arguments[1]?arguments[1]:{};if(!t)return!1;var n=et(e);return nt(n)?(localStorage.removeItem(t),null):rt(n)?(r=t,V&&$(r,"",-1),null):Q[t]=null;var r}};function at(){for(var t,e,n,r,o=[],a=0;a<256;a++)o[a]=(a<16?"0":"")+a.toString(16);return t=it(),e=it(),n=it(),r=it(),"".concat(o[255&t]+o[t>>8&255]+o[t>>16&255]+o[t>>24&255],"-").concat(o[255&e]).concat(o[e>>8&255],"-").concat(o[e>>16&15|64]).concat(o[e>>24&255],"-").concat(o[63&n|128]).concat(o[n>>8&255],"-").concat(o[n>>16&255]).concat(o[n>>24&255]).concat(o[255&r]).concat(o[r>>8&255]).concat(o[r>>16&255]).concat(o[r>>24&255])}function it(){return 4294967295*Math.random()|0}var ct=["bootstrap","params","campaign","initializeStart","initialize","initializeEnd","ready","resetStart","reset","resetEnd","pageStart","page","pageEnd","pageAborted","trackStart","track","trackEnd","trackAborted","identifyStart","identify","identifyEnd","identifyAborted","userIdChanged","registerPlugins","enablePlugin","disablePlugin","loadPlugin","online","offline","setItemStart","setItem","setItemEnd","setItemAborted","removeItemStart","removeItem","removeItemEnd","removeItemAborted"],ut=["NAMESPACE","EVENTS","config","loaded"],st=ct.reduce(function(t,e){return t[e]=e,t},{registerPluginType:function(t){return"registerPlugin:".concat(t)},pluginReadyType:function(t){return"ready:".concat(t)}});var lt="__anon_id",ft="__user_id",pt="__user_traits",dt=Object.freeze({ANON_ID:lt,USER_ID:ft,USER_TRAITS:pt});var ht=o(function(P){!function(t){var u,e=Object.prototype,s=e.hasOwnProperty,n="function"==typeof Symbol?Symbol:{},o=n.iterator||"@@iterator",r=n.asyncIterator||"@@asyncIterator",a=n.toStringTag||"@@toStringTag",i=t.regeneratorRuntime;if(i)P.exports=i;else{(i=t.regeneratorRuntime=P.exports).wrap=v;var f="suspendedStart",p="suspendedYield",d="executing",h="completed",y={},c={};c[o]=function(){return this};var l=Object.getPrototypeOf,m=l&&l(l(N([])));m&&m!==e&&s.call(m,o)&&(c=m);var g=S.prototype=w.prototype=Object.create(c);E.prototype=g.constructor=S,S.constructor=E,S[a]=E.displayName="GeneratorFunction",i.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===E||"GeneratorFunction"===(e.displayName||e.name))},i.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,S):(t.__proto__=S,a in t||(t[a]="GeneratorFunction")),t.prototype=Object.create(g),t},i.awrap=function(t){return{__await:t}},x(I.prototype),I.prototype[r]=function(){return this},i.AsyncIterator=I,i.async=function(t,e,n,r){var o=new I(v(t,e,n,r));return i.isGeneratorFunction(e)?o:o.next().then(function(t){return t.done?t.value:o.next()})},x(g),g[a]="Generator",g[o]=function(){return this},g.toString=function(){return"[object Generator]"},i.keys=function(n){var r=[];for(var t in n)r.push(t);return r.reverse(),function t(){for(;r.length;){var e=r.pop();if(e in n)return t.value=e,t.done=!1,t}return t.done=!0,t}},i.values=N,_.prototype={constructor:_,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=u,this.done=!1,this.delegate=null,this.method="next",this.arg=u,this.tryEntries.forEach(j),!t)for(var e in this)"t"===e.charAt(0)&&s.call(this,e)&&!isNaN(+e.slice(1))&&(this[e]=u)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(n){if(this.done)throw n;var r=this;function t(t,e){return a.type="throw",a.arg=n,r.next=t,e&&(r.method="next",r.arg=u),!!e}for(var e=this.tryEntries.length-1;0<=e;--e){var o=this.tryEntries[e],a=o.completion;if("root"===o.tryLoc)return t("end");if(o.tryLoc<=this.prev){var i=s.call(o,"catchLoc"),c=s.call(o,"finallyLoc");if(i&&c){if(this.prev<o.catchLoc)return t(o.catchLoc,!0);if(this.prev<o.finallyLoc)return t(o.finallyLoc)}else if(i){if(this.prev<o.catchLoc)return t(o.catchLoc,!0)}else{if(!c)throw new Error("try statement without catch or finally");if(this.prev<o.finallyLoc)return t(o.finallyLoc)}}}},abrupt:function(t,e){for(var n=this.tryEntries.length-1;0<=n;--n){var r=this.tryEntries[n];if(r.tryLoc<=this.prev&&s.call(r,"finallyLoc")&&this.prev<r.finallyLoc){var o=r;break}}o&&("break"===t||"continue"===t)&&o.tryLoc<=e&&e<=o.finallyLoc&&(o=null);var a=o?o.completion:{};return a.type=t,a.arg=e,o?(this.method="next",this.next=o.finallyLoc,y):this.complete(a)},complete:function(t,e){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&e&&(this.next=e),y},finish:function(t){for(var e=this.tryEntries.length-1;0<=e;--e){var n=this.tryEntries[e];if(n.finallyLoc===t)return this.complete(n.completion,n.afterLoc),j(n),y}},catch:function(t){for(var e=this.tryEntries.length-1;0<=e;--e){var n=this.tryEntries[e];if(n.tryLoc===t){var r=n.completion;if("throw"===r.type){var o=r.arg;j(n)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(t,e,n){return this.delegate={iterator:N(t),resultName:e,nextLoc:n},"next"===this.method&&(this.arg=u),y}}}function v(t,e,n,r){var a,i,c,u,o=e&&e.prototype instanceof w?e:w,s=Object.create(o.prototype),l=new _(r||[]);return s._invoke=(a=t,i=n,c=l,u=f,function(t,e){if(u===d)throw new Error("Generator is already running");if(u===h){if("throw"===t)throw e;return k()}for(c.method=t,c.arg=e;;){var n=c.delegate;if(n){var r=O(n,c);if(r){if(r===y)continue;return r}}if("next"===c.method)c.sent=c._sent=c.arg;else if("throw"===c.method){if(u===f)throw u=h,c.arg;c.dispatchException(c.arg)}else"return"===c.method&&c.abrupt("return",c.arg);u=d;var o=b(a,i,c);if("normal"===o.type){if(u=c.done?h:p,o.arg===y)continue;return{value:o.arg,done:c.done}}"throw"===o.type&&(u=h,c.method="throw",c.arg=o.arg)}}),s}function b(t,e,n){try{return{type:"normal",arg:t.call(e,n)}}catch(t){return{type:"throw",arg:t}}}function w(){}function E(){}function S(){}function x(t){["next","throw","return"].forEach(function(e){t[e]=function(t){return this._invoke(e,t)}})}function I(u){var e;this._invoke=function(n,r){function t(){return new Promise(function(t,e){!function e(t,n,r,o){var a=b(u[t],u,n);if("throw"!==a.type){var i=a.arg,c=i.value;return c&&"object"==typeof c&&s.call(c,"__await")?Promise.resolve(c.__await).then(function(t){e("next",t,r,o)},function(t){e("throw",t,r,o)}):Promise.resolve(c).then(function(t){i.value=t,r(i)},function(t){return e("throw",t,r,o)})}o(a.arg)}(n,r,t,e)})}return e=e?e.then(t,t):t()}}function O(t,e){var n=t.iterator[e.method];if(n===u){if(e.delegate=null,"throw"===e.method){if(t.iterator.return&&(e.method="return",e.arg=u,O(t,e),"throw"===e.method))return y;e.method="throw",e.arg=new TypeError("The iterator does not provide a 'throw' method")}return y}var r=b(n,t.iterator,e.arg);if("throw"===r.type)return e.method="throw",e.arg=r.arg,e.delegate=null,y;var o=r.arg;return o?o.done?(e[t.resultName]=o.value,e.next=t.nextLoc,"return"!==e.method&&(e.method="next",e.arg=u),e.delegate=null,y):o:(e.method="throw",e.arg=new TypeError("iterator result is not an object"),e.delegate=null,y)}function A(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function j(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function _(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(A,this),this.reset(!0)}function N(e){if(e){var t=e[o];if(t)return t.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var n=-1,r=function t(){for(;++n<e.length;)if(s.call(e,n))return t.value=e[n],t.done=!1,t;return t.value=u,t.done=!0,t};return r.next=r}}return{next:k}}function k(){return{value:u,done:!0}}}(function(){return this||"object"==typeof self&&self}()||Function("return this")())}),yt=function(){return this||"object"==typeof self&&self}()||Function("return this")(),mt=yt.regeneratorRuntime&&0<=Object.getOwnPropertyNames(yt).indexOf("regeneratorRuntime"),gt=mt&&yt.regeneratorRuntime;yt.regeneratorRuntime=void 0;var vt=ht;if(mt)yt.regeneratorRuntime=gt;else try{delete yt.regeneratorRuntime}catch(t){yt.regeneratorRuntime=void 0}var bt=vt;function wt(t,e,n,r,o,a,i){try{var c=t[a](i),u=c.value}catch(t){return void n(t)}c.done?e(u):Promise.resolve(u).then(r,o)}var Et=function(c){return function(){var t=this,i=arguments;return new Promise(function(e,n){var r=c.apply(t,i);function o(t){wt(r,e,n,o,a,"next",t)}function a(t){wt(r,e,n,o,a,"throw",t)}o(void 0)})}};function St(o,a,i){return new Promise(function(e,n){return a()?e(o):i<1?n(L({},o,{queue:!0})):(r=10,new Promise(function(t){return setTimeout(t,r)})).then(function(t){return St(o,a,i-10).then(e,n)});var r})}var xt=function(t){if(Array.isArray(t))return t};var It=function(t,e){var n=[],r=!0,o=!1,a=void 0;try{for(var i,c=t[Symbol.iterator]();!(r=(i=c.next()).done)&&(n.push(i.value),!e||n.length!==e);r=!0);}catch(t){o=!0,a=t}finally{try{r||null==c.return||c.return()}finally{if(o)throw a}}return n};var Ot=function(){throw new TypeError("Invalid attempt to destructure non-iterable instance")};var At=function(t,e){return xt(t)||It(t,e)||Ot()};function jt(e){var n=1<arguments.length&&void 0!==arguments[1]?arguments[1]:{},r=2<arguments.length&&void 0!==arguments[2]?arguments[2]:{};return Object.keys(e).filter(function(t){var e=r.plugins||{};return!1!==e[t]&&(!0===e[t]||(!n[t]||!1!==n[t].enabled))}).map(function(t){return e[t]})}function _t(t,e,n,r,o){return Nt.apply(this,arguments)}function Nt(){return(Nt=Et(bt.mark(function t(e,n,r,o,a){var i,c,u,s,l,f,p,d,h,y,m,g;return bt.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:if(i="function"==typeof n?n():n,c=e.type,u=c.replace(/Start$/,""),e._&&e._.called)return t.abrupt("return",e);t.next=5;break;case 5:return s=r.getState(),l=jt(i,s.plugins,e.options),f=l.map(function(t){return t.NAMESPACE}),p=Ct(c,l,i),t.next=11,Pt({action:e,data:{exact:p.before,namespaced:p.beforeNS},state:s,allPlugins:i,allMatches:p,instance:r,store:o,EVENTS:a});case 11:if(Ft(d=t.sent,f.length))return t.abrupt("return",d);t.next=14;break;case 14:if(l.filter(function(t){return!zt(d,t.NAMESPACE)}),c!==u){t.next=19;break}h=d,t.next=22;break;case 19:return t.next=21,Pt({action:L({},d,{type:u}),data:{exact:p.during,namespaced:p.duringNS},state:s,allPlugins:i,allMatches:p,instance:r,store:o,EVENTS:a});case 21:h=t.sent;case 22:if(c.match(/Start$/))return y="".concat(u,"End"),t.next=26,Pt({action:L({},h,{type:y}),data:{exact:p.after,namespaced:p.afterNS},state:s,allPlugins:i,allMatches:p,instance:r,store:o,EVENTS:a});t.next=29;break;case 26:m=t.sent,(g=kt(m))&&g({payload:m});case 29:return t.abrupt("return",d);case 30:case"end":return t.stop()}},t,this)}))).apply(this,arguments)}function kt(r){return!!r.meta&&Object.keys(r.meta).reduce(function(t,e){var n=r.meta[e];return"function"==typeof n?n:t},!1)}function Pt(t){return Tt.apply(this,arguments)}function Tt(){return(Tt=Et(bt.mark(function t(e){var y,i,m,n,g,r,v,o,b,a,w,c,E,S,x,u;return bt.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return y=e.data,i=e.action,m=e.instance,n=e.state,g=e.allPlugins,r=e.allMatches,v=e.store,o=e.EVENTS,b=n.plugins,a=n.context,w=i.type,c=y.exact.map(function(t){return t.pluginName}),w.match(/Start$/)&&(c=r.during.map(function(t){return t.pluginName})),E=Dt(m,c),S=y.exact.reduce(function(t,e){var n=e.pluginName,r=e.methodName,o=!1;return r.match(/^initialize/)||r.match(/^reset/)||(o=!b[n].loaded),a.offline&&(r.match(/^page/)||r.match(/^track/)||r.match(/^identify/))&&(o=!0),t["".concat(n)]=o,t},{}),t.next=9,y.exact.reduce(function(){var r=Et(bt.mark(function t(e,n,r){var u,o,a;return bt.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return u=n.pluginName,t.next=3,e;case 3:if(o=t.sent,y.namespaced&&y.namespaced[u])return t.next=7,y.namespaced[u].reduce(function(){var r=Et(bt.mark(function t(e,n,r){var o,a,i,c;return bt.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return a=function(n,r,o){return function(t,e){return L({},n,{abort:{reason:t,plugins:e||[r],caller:w,from:o||r}})}},t.next=3,e;case 3:if(o=t.sent,n.method&&"function"==typeof n.method){t.next=6;break}return t.abrupt("return",o);case 6:return Gt(n.methodName,n.pluginName),t.next=9,n.method({payload:o,instance:m,abort:a(o,u,n.pluginName),config:Mt(u,b,g),plugins:b});case 9:return i=t.sent,c="object"===M(i)?i:{},t.abrupt("return",Promise.resolve(L({},o,c)));case 12:case"end":return t.stop()}},t,this)}));return function(t,e,n){return r.apply(this,arguments)}}(),Promise.resolve(i));t.next=11;break;case 7:a=t.sent,o[u]=a,t.next=12;break;case 11:o[u]=i;case 12:return t.abrupt("return",Promise.resolve(o));case 13:case"end":return t.stop()}},t,this)}));return function(t,e,n){return r.apply(this,arguments)}}(),Promise.resolve({}));case 9:return x=t.sent,t.next=12,y.exact.reduce(function(){var r=Et(bt.mark(function t(e,n,r){var o,a,i,c,u,s,l,f,p,d,h;return bt.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return o=y.exact.length===r+1,a=n.pluginName,i=g[a],t.next=5,e;case 5:if(c=t.sent,zt(u=x[a]?x[a]:{},a))return Lt({data:u,method:w,instance:m,pluginName:a,store:v}),t.abrupt("return",Promise.resolve(c));t.next=10;break;case 10:if(zt(c,a))return o&&Lt({data:c,method:w,instance:m,store:v}),t.abrupt("return",Promise.resolve(c));t.next=13;break;case 13:if(S.hasOwnProperty(a)&&!0===S[a])return v.dispatch({type:"queue",plugin:a,payload:u,_:{called:"queue",from:"queueMechanism"}}),t.abrupt("return",Promise.resolve(c));t.next=16;break;case 16:return s=E(x[a],g[a]),t.next=19,i[w]({hello:a,abort:s.abort,payload:x[a],instance:m,config:Mt(a,b,g),plugins:b});case 19:return l=t.sent,f="object"===M(l)?l:{},p=L({},c,f),zt(d=x[a],a)?Lt({data:d,method:w,instance:m,pluginName:a,store:v}):(h="".concat(w,":").concat(a),(h.match(/:/g)||[]).length<2&&!w.match(/^bootstrap/)&&!w.match(/^ready/)&&m.dispatch(L({},d,{type:h,_:{called:h,from:"submethod"}}))),t.abrupt("return",Promise.resolve(p));case 25:case"end":return t.stop()}},t,this)}));return function(t,e,n){return r.apply(this,arguments)}}(),Promise.resolve(i));case 12:if(u=t.sent,w.match(/Start$/)||w.match(/^registerPlugin/)||w.match(/^ready/)||w.match(/^bootstrap/)||w.match(/^params/)){t.next=18;break}if(o.plugins.includes(w),u._&&u._.originalAction===w)return t.abrupt("return",u);t.next=17;break;case 17:v.dispatch(L({},u,{_:{originalAction:u.type,called:u.type,from:"engineEnd"}}));case 18:return t.abrupt("return",u);case 19:case"end":return t.stop()}},t,this)}))).apply(this,arguments)}function Lt(t){var e=t.data,n=t.method,r=(t.instance,t.pluginName),o=t.store,a=r?":".concat(r):"",i="".concat(n,"Aborted").concat(a);o.dispatch(L({},e,{type:i,_:{called:i,from:"abort"}}))}function Mt(t,e,n){return e[t]&&e[t].config?e[t].config:n[t]&&n[t].config?n[t].config:{}}function Rt(n,t){return t.reduce(function(t,e){return e[n]?t.concat({methodName:n,pluginName:e.NAMESPACE,method:e[n]}):t},[])}function qt(t,e){var n=t.replace(/Start$/,""),r=e?":".concat(e):"";return["".concat(t).concat(r),"".concat(n).concat(r),"".concat(n,"End").concat(r)]}function Ct(u,s,t){var e=qt(u).map(function(t){return Rt(t,s)});return s.reduce(function(t,e){var n=e.NAMESPACE,r=qt(u,n).map(function(t){return Rt(t,s)}),o=At(r,3),a=o[0],i=o[1],c=o[2];return a.length&&(t.beforeNS[n]=a),i.length&&(t.duringNS[n]=i),c.length&&(t.afterNS[n]=c),t},{before:e[0],beforeNS:{},during:e[1],duringNS:{},after:e[2],afterNS:{}})}function zt(t,e){var n=t.abort;return!!n&&(!0===n||($t(n,e)||n&&$t(n.plugins,e)))}function Ft(t,e){var n=t.abort;if(!n)return!1;if(!0===n||"string"==typeof n)return!0;var r=n.plugins;return Vt(n)&&n.length===e||Vt(r)&&r.length===e}function Vt(t){return Array.isArray(t)}function $t(t,e){return!(!t||!Vt(t))&&t.includes(e)}function Dt(y,m){return function(t,e,n){var r=e.config,o=e.NAMESPACE,a="".concat(o,".").concat(t.type);n&&(a=n.event);var i,c,u,s,l,f,p,d,h=t.type.match(/Start$/)?(u=o,s=a,l=m,f=n,p=t,function(t,e){var n=f?f.NAMESPACE:u,r=e&&Vt(e)?e:l;if(f&&(!(r=e&&Vt(e)?e:[u]).includes(u)||1!==r.length))throw new Error('Method "'.concat(s,'" can only abort "').concat(u,'" plugin. ').concat(JSON.stringify(r)," input valid"));return L({},p,{abort:{reason:t,plugins:r,caller:s,_:n}})}):(i=t,c=a,function(){throw new Error('Action "'.concat(i.type,'" is not cancellable. Remove abort call from plugin ').concat(c))});return{payload:(d=t,Object.keys(d).reduce(function(t,e){return"type"===e||("object"===M(d[e])?t[e]=Object.assign({},d[e]):t[e]=d[e]),t},{})),instance:y,config:r||{},abort:h}}}function Gt(t,e){var n=Ut(t);if(n&&n.name===e){var r=Ut(n.method),o=r?'or "'.concat(r.method,'"'):"";throw new Error(['Plugin "'.concat(e,'" is calling method [').concat(t,"]"),"Plugins should not call their own namespace.",'Use "'.concat(n.method,'" ').concat(o,' in "').concat(e,'" plugin instead of "').concat(t,'"')].join("\n"))}}function Ut(t){var e=t.match(/(.*):(.*)/);return!!e&&{method:e[1],name:e[2]}}function Yt(){return(new Date).getTime()}var Bt=function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")},Jt=function t(){var i=this;Bt(this,t),d(this,"before",[]),d(this,"after",[]),d(this,"addMiddleware",function(t,e){i[e]=i[e].concat(t)}),d(this,"removeMiddleware",function(e,t){var n=i[t].findIndex(function(t){return t===e});-1!==n&&(i[t]=[].concat(T(i[t].slice(0,n)),T(i[t].slice(n+1))))}),d(this,"resetMiddlewares",function(t){t?i[t]=[]:(i.before=[],i.after=[])}),d(this,"dynamicMiddlewares",function(a){return function(o){return function(r){return function(t){var e={getState:o.getState,dispatch:function(t){return o.dispatch(t)}},n=i[a].map(function(t){return t(e)});return C.apply(void 0,T(n))(r)(t)}}}})},Ht={};function Wt(c){return function(){var n=0<arguments.length&&void 0!==arguments[0]?arguments[0]:Ht,t=1<arguments.length?arguments[1]:void 0,e={};if("initialize:aborted"===t.type)return n;if(/^registerPlugin:([^:]*)$/.test(t.type)){var r=t.type.split(":")[1],o=c()[r];return o&&r?(e[r]={enabled:!0,initialized:!o.initialize,loaded:Boolean(o.loaded()),config:o.config||{}},L({},n,e)):n}if(/^initialize:([^:]*)$/.test(t.type)){var a=t.type.split(":")[1],i=c()[a];return i&&a?(e[a]=L({},n[a],{initialized:!0,loaded:Boolean(i.loaded())}),L({},n,e)):n}if(/^ready:([^:]*)$/.test(t.type))return e[t.name]=L({},n[t.name],{loaded:!0}),L({},n,e);switch(t.type){case st.disablePlugin:return Array.isArray(t.name)?e=t.name.reduce(function(t,e){return t[e]=L({},n[e],{enabled:!1}),t},n):e[t.name]=L({},n[t.name],{enabled:!1}),L({},n,e);case st.enablePlugin:return Array.isArray(t.name)?e=t.name.reduce(function(t,e){return t[e]=L({},n[e],{enabled:!0}),t},n):e[t.name]=L({},n[t.name],{enabled:!0}),L({},n,e);default:return n}}}var Xt,Zt,Kt,Qt;Xt=function(){if(!F)return!1;var t=navigator.appVersion;return-1!==t.indexOf("Win")?"Windows":-1!==t.indexOf("Mac")?"MacOS":-1!==t.indexOf("X11")?"UNIX":-1!==t.indexOf("Linux")?"Linux":"Unknown OS"}(),Zt=function(t,e){if(!F)return!1;var n={source:"(direct)",medium:"(none)",campaign:"(not set)"};t&&U(t)&&(n.referrer=t);var r=function(t){if(!t||!F)return!1;var e,n,r=H(t),o=document.createElement("a");if(o.href=t,-1<o.hostname.indexOf(W)&&(r=W),X[r]){var a=X[r],i="string"==typeof a?a:a.p,c=new RegExp(i+"=.*?([^&#]*|$)","gi"),u=o.search.match(c);return{source:a.n||(e=r,n=e.split("."),1<n.length?n.slice(0,-1).join("."):e),medium:"organic",term:(u?u[0].split("=")[1]:"")||"(not provided)"}}var s=U(t)?"referral":"internal";return{source:o.hostname,medium:s}}(t);r&&Object.keys(r).length&&(n=Object.assign({},n,r));var o=Y(e),a=Object.keys(o);if(a.length){var i=a.reduce(function(t,e){return e.match(/^utm_/)&&(t["".concat(e.replace(/^utm_/,""))]=o[e]),e.match(/^(d|g)clid/)&&(t.source=W,t.medium=o.gclid?"cpc":"cpm",t[e]=o[e]),t},{});n=Object.assign({},n,i),(o.dclid||o.gclid)&&(n.source=W,n.medium=o.gclid?"cpc":"cpm")}return n}(),Kt=function(){if(!F)return null;var t=navigator,e=t.language,n=t.languages,r=t.userLanguage;return n&&n.length?n[0]:r||e}(),Qt="undefined"==typeof Intl||"function"!=typeof Intl.DateTimeFormat||"function"!=typeof Intl.DateTimeFormat().resolvedOptions?null:Intl.DateTimeFormat().resolvedOptions().timeZone;var te={initialized:!1,sessionId:at(),app:null,version:null,debug:!1,offline:!!F&&!navigator.onLine,os:{name:Xt},userAgent:F?navigator.userAgent:"node",library:{name:"analytics",version:"0.1.12"},timezone:Qt,locale:Kt,campaign:{},referrer:Zt};function ee(){var t=0<arguments.length&&void 0!==arguments[0]?arguments[0]:te,e=1<arguments.length?arguments[1]:void 0,n=t.initialized,r=e.type,o=e.campaign;switch(r){case st.campaign:return L({},t,{campaign:o});case st.offline:return L({},t,{offline:!0});case st.online:return L({},t,{offline:!1});default:return n?t:L({},te,t,{initialized:!0})}}function ne(t){var e=function(){if(F)for(var t,e=document.getElementsByTagName("link"),n=0;t=e[n];n++)if("canonical"===t.getAttribute("rel"))return t.getAttribute("href")}();return e?e.match(/\?/)?e:"".concat(e).concat(t):window.location.href.replace(/#.*$/,"")}var re=function(){var t=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{};if(!F)return t;var e,n,r,o=document,a=o.title,i=o.referrer,c=window,u=c.location,s=c.innerWidth,l=c.innerHeight,f=u.hash,p=u.search,d=ne(p),h={title:a,url:d,path:(e=d,n=/(http[s]?:\/\/)?([^\/\s]+\/)(.*)/g.exec(e),r=n&&n[3]?n[3].split("?")[0].replace(/#.*$/,""):"","/".concat(r)),hash:f,search:p,width:s,height:l};return i&&""!==i&&(h.referrer=i),L({},h,t)},oe=re();function ae(){var t=0<arguments.length&&void 0!==arguments[0]?arguments[0]:oe,e=1<arguments.length?arguments[1]:void 0;switch(e.type){case st.page:return Object.assign({},t,e.data);default:return t}}var ie={event:{},lastEvent:null,history:[]};function ce(){var t=0<arguments.length&&void 0!==arguments[0]?arguments[0]:ie,e=1<arguments.length?arguments[1]:void 0,n=e.type,r=e.payload,o=e.options,a=e.eventName;switch(n){case st.track:return L({},t,{event:{eventName:a,payload:r,options:o},lastEvent:e.eventName,history:t.history.concat(e)});default:return t}}var ue={actions:[]};function se(){var t=0<arguments.length&&void 0!==arguments[0]?arguments[0]:ue,e=1<arguments.length?arguments[1]:void 0,n=e.type,r=(e.data,e.timestamp,e.payload);switch(n){case"queue":var o;return o=r&&r.type&&"identify"===r.type?[e].concat(t.actions):t.actions.concat(e),L({},t,{actions:o});case"dequeue":return[];default:return t}}var le="object"===("undefined"==typeof self?"undefined":M(self))&&self.self===self&&self||"object"===("undefined"==typeof global?"undefined":M(global))&&global.global===global&&global||void 0;function fe(){var t=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{},e=1<arguments.length?arguments[1]:void 0;if(e&&e.type===st.setItemEnd&&e.key===lt)return Object.assign({},t,{anonymousId:e.value});switch(e.type){case st.identify:return Object.assign({},t,{userId:e.userId,traits:L({},t.traits,e.traits)});case st.reset:return Object.assign({},t,{userId:null,anonymousId:null,traits:null});default:return t}}function pe(){return{userId:ot.getItem(ft),anonymousId:ot.getItem(lt),traits:ot.getItem(pt)||{}}}var de=function(t){return"__TEMP__".concat(t)};function he(t,e,n){var r=e.getState("user")[t];if(r)return r;if(n&&"object"===M(n)&&n[t])return n[t];var o=pe()[t];return o||(le[de(t)]?le[de(t)]:void 0)}function ye(t,e,n,r){for(r=0,e=e.split?e.split("."):e;t&&r<e.length;)t=t[e[r++]];return void 0===t||r<e.length?n:t}function me(e){var n=function(t,e,n){if(!F)return!1;var r=window[(n?"add":"remove")+"EventListener"];t.split(" ").forEach(function(t){r(t,e)})}.bind(null,"online offline",function(t){return Promise.resolve(!navigator.onLine).then(e)});return n(!0),function(t){n(!1)}}function ge(){return Array.prototype.slice.call(arguments).reduce(function(t,e){return t||("function"==typeof e?e:t)},!1)}function ve(){return le.__ANALYTICS_HISTORY__=[],function(a){return function(t,e,n){var r=a(t,e,n),o=r.dispatch;return Object.assign(r,{dispatch:function(t){var e=t.action||t;return le.__ANALYTICS_HISTORY__.push(e),o(t)}})}}}function be(t){return function(){return C(C.apply(null,arguments),ve())}}function we(f,o,p){return setInterval(function(){var c=o(),t=f.getState(),u=t.plugins,e=t.context,s=t.queue,l=t.user;if(!e.offline&&s&&s.actions&&s.actions.length){var n=s.actions.reduce(function(t,e,n){return u[e.plugin].loaded?(t.process.push(e),t.processIndex.push(n)):(t.requeue.push(e),t.requeueIndex.push(n)),t},{processIndex:[],process:[],requeue:[],requeueIndex:[]});if(n.processIndex&&n.processIndex.length){n.processIndex.forEach(function(t){var e=s.actions[t],n=e.plugin,r=e.payload.type,o=c[n][r];if(o&&"function"==typeof o){var a=function(t){var r=1<arguments.length&&void 0!==arguments[1]?arguments[1]:{};return["userId","anonymousId"].reduce(function(t,e){var n=function(t,e,n){if(t.hasOwnProperty(n)&&!t[n]&&e[n])return Object.assign({},t,d({},"".concat(n),e[n]));return t}(t,r,e);return n},t)}(e.payload,l);o({payload:a,config:u[n].config,instance:p});var i="".concat(r,":").concat(n);f.dispatch(L({},a,{type:i,_:{called:i,from:"queueDrain"}}))}});var r=s.actions.filter(function(t,e){return-1===n.processIndex.indexOf(e)});s.actions=r}}},3e3)}var Ee=function(t,e,n){return{type:st.setItemStart,timestamp:Yt(),key:t,value:e,options:n}},Se=function(t,e){return{type:st.removeItemStart,timestamp:Yt(),key:t,options:e}},xe=function(t,e){return ot.getItem(t,e)};function Ie(){var t,s,i,b,w,E,S,e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{},n=e.reducers||{},r=(e.plugins||[]).reduce(function(t,e){if("function"!=typeof e&&e.NAMESPACE){var n=e.EVENTS?Object.keys(e.EVENTS).map(function(t){return e.EVENTS[t]}):[],r=Object.keys(e).concat(n),o=new Set(t.events.concat(r));if(t.events=Array.from(o),t.pluginsArray=t.pluginsArray.concat(e),t.plugins[e.NAMESPACE])throw new Error('Analytics "'.concat(e.NAMESPACE,'" loaded twice!'));return t.plugins[e.NAMESPACE]=e,t.plugins[e.NAMESPACE].loaded||(t.plugins[e.NAMESPACE].loaded=function(){return!0}),t}return t.middlewares=t.middlewares.concat(e),t},{plugins:{},pluginsArray:[],middlewares:[],events:[]}),c=r.plugins,o=r.events.filter(function(t){return!ut.includes(t)}),a=new Set(o.concat(ct).filter(function(t){return!ut.includes(t)})),u=Array.from(a).sort(),l=o.sort(),f=function(t){return t?Object.keys(c).map(function(t){return c[t]}):c},p=new Jt,d=p.addMiddleware,h=p.removeMiddleware,y=p.dynamicMiddlewares,m=function(){throw new Error("Abort not allowed from listener")},g={identify:function(t,e,n,r){var o="string"==typeof t?t:null,a="object"===M(t)?t:e,i=n||{},c=ge(e,n,r),u=g.user(),s=(le[de("userId")]=o)||a.userId||he("userId",g,a);k.dispatch(L({type:st.identifyStart,userId:s,traits:a||{},options:i,anonymousId:u.anonymousId},u.id&&u.id!==o&&{previousId:u.id},{meta:L({timestamp:Yt()},c&&{callback:c})}))},track:function(t,e,n,r){var o="object"===M(t)?t.event:t;if(!o||"string"!=typeof o)throw new Error("EventName not supplied");var a="object"===M(t)?t:e||{},i="object"===M(n)?n:{},c=ge(e,n,r),u=he("userId",g,e),s=he("anonymousId",g,e);k.dispatch({type:st.trackStart,event:o,properties:a,options:i,userId:u,anonymousId:s,meta:L({timestamp:Yt()},c&&{callback:c})})},page:function(t,e,n){var r="object"===M(t)?t:{},o="object"===M(e)?e:{},a=ge(t,e,n),i=he("userId",g,r),c=he("anonymousId",g,r);k.dispatch({type:st.pageStart,properties:re(r),options:o,userId:i,anonymousId:c,meta:L({timestamp:Yt()},a&&{callback:a})})},user:function(t){if("userId"===t||"id"===t)return he("userId",g);var e=g.getState("user");return t?ye(e,t):e},reset:function(t){var e;k.dispatch((e=t,{type:st.resetStart,timestamp:Yt(),callback:e}))},ready:function(t){return g.on(st.ready,t)},on:function(n,r){if(!n||!r||"function"!=typeof r)return!1;if("bootstrap"===n)throw new Error("Listeners not allowed for ".concat(n));var o=/Start$|Start:/;if("*"===n){var t=function(t){return function(e){return function(t){return t.type.match(o)&&r({payload:t,instance:g,plugins:c}),e(t)}}},e=function(t){return function(e){return function(t){return t.type.match(o)||r({payload:t,instance:g,plugins:c}),e(t)}}};return d(t,"before"),d(e,"after"),function(){h(t,"before"),h(e,"after")}}var a=n.match(o)?"before":"after",i=function(t){return function(e){return function(t){return t.type===n&&r({payload:t,instance:g,plugins:c,abort:m}),e(t)}}};return d(i,a),function(){return h(i,a)}},once:function(t,n){if(!t||!n||"function"!=typeof n)return!1;var r=g.on(t,function(t){var e=t.payload;n({payload:e,instance:g,plugins:c,abort:m}),r()});return r},getState:function(t){var e=k.getState();return t?ye(e,t):Object.assign({},e)},dispatch:function(t){var e,n="string"==typeof t?{type:t}:t;if(e=n.type,ct.includes(e))throw new Error('Trying to dispatch analytics reservedAction "'.concat(n.type,'"'));var r=n.meta||{},o=t._||{},a=L({},n,{meta:L({timestamp:Yt()},r),_:L({originalAction:n.type},o)});k.dispatch(a)},enablePlugin:function(t,e){var n,r;k.dispatch((n=t,r=e,{type:st.enablePlugin,name:n,callback:r,_:{originalAction:st.enablePlugin}}))},disablePlugin:function(t,e){var n,r;k.dispatch((n=t,r=e,{type:st.disablePlugin,name:n,callback:r,_:{originalAction:st.disablePlugin}}))},loadPlugin:function(t){k.dispatch({type:st.loadPlugin,plugins:t?[t]:Object.keys(f())})},storage:{getItem:xe,setItem:function(t,e,n){k.dispatch(Ee(t,e,n))},removeItem:function(t,e){k.dispatch(Se(t,e))}},setAnonymousId:function(t,e){g.storage.setItem(lt,t,e)},events:{all:u,core:ct,plugins:l}},v=r.middlewares.concat([y("before"),(b=g,w=f,E={all:u,plugins:l},S={},function(v){return function(g){return e=Et(bt.mark(function t(e){var n,r,o,a,i,c,u,s,l,f,p,d,h,y,m;return bt.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:if(n=e.type,r=e.name,o=e.callback,(a=e).abort)return t.abrupt("return",g(e));t.next=4;break;case 4:if(n!==st.disablePlugin&&n!==st.enablePlugin||o&&o(r),n===st.loadPlugin)return i=w(),c=Object.keys(i).filter(function(t){return e.plugins.includes(t)}).reduce(function(t,e){return t[e]=i[e],t},{}),u={type:st.initializeStart,plugins:e.plugins},t.next=11,_t(u,c,b,v,E);t.next=13;break;case 11:return s=t.sent,t.abrupt("return",g(s));case 13:if(n===st.initializeEnd&&(l=w(),f=Object.keys(l),p=f.filter(function(t){return e.plugins.includes(t)}).map(function(t){return l[t]}),d=[],h=[],y=p.map(function(e){var t=e.loaded,n=e.NAMESPACE;return St(e,t,1e4).then(function(t){S[n]||(v.dispatch({type:st.pluginReadyType(n),name:n,events:Object.keys(e).filter(function(t){return!ut.includes(t)})}),S[n]=!0),d=d.concat(n)}).catch(function(t){if(t instanceof Error)throw new Error(t);return h=h.concat(t.NAMESPACE),t})}),Promise.all(y).then(function(t){setTimeout(function(){f.length===y.length&&v.dispatch({type:"ready",plugins:d,failed:h})},0)})),"bootstrap"!==n)return t.next=17,_t(e,w,b,v,E);t.next=19;break;case 17:return m=t.sent,t.abrupt("return",g(m));case 19:return t.abrupt("return",g(a));case 20:case"end":return t.stop()}},t,this)})),function(t){return e.apply(this,arguments)};var e}}),function(t){return function(a){return function(t){var e=t.type,n=t.key,r=t.value,o=t.options;if(e===st.setItem||e===st.removeItem){if(t.abort)return a(t);e===st.setItem?ot.setItem(n,r,o):ot.removeItem(n,o)}return a(t)}}},(i=g,function(a){return function(o){return function(t){if(t.type===st.bootstrap){ot.getItem(lt)||i.storage.setItem(lt,at());var n=Y(),e=Object.keys(n);if(e.length){var r=e.reduce(function(t,e){return(e.match(/^utm_/)||e.match(/^(d|g)clid/))&&(t.campaign[e]=n[e]),e.match(/^an_prop_/)&&(t.props["".concat(e.replace(/^an_prop_/,""))]=n[e]),e.match(/^an_trait_/)&&(t.traits["".concat(e.replace(/^an_trait_/,""))]=n[e]),t},{campaign:{},props:{},traits:{}});a.dispatch(L({type:st.params,raw:n},r)),n.an_uid&&setTimeout(function(){i.identify(n.an_uid,r.traits)},0),n.an_event&&setTimeout(function(){i.track(n.an_event,r.props)},0),Object.keys(r.campaign).length&&a.dispatch({type:st.campaign,campaign:r.campaign}),n.an_clean&&setTimeout(function(){J("an_")},0)}}return o(t)}}}),(t=g,s=t.storage,function(u){return function(c){return function(t){var e=t.userId,n=t.traits,r=t.options,o=t.callback;if(t.type===st.reset&&(s.removeItem(ft),s.removeItem(pt),s.removeItem(lt),o&&"function"==typeof o&&o()),t.type===st.identify){var a=s.getItem(ft),i=s.getItem(pt)||{};a&&a!==e&&u.dispatch({type:st.userIdChanged,old:{userId:a,traits:i},new:{userId:e,traits:n},options:r}),e&&s.setItem(ft,e),n&&s.setItem(pt,L({},i,n))}return c(t)}}}),y("after")]),x={context:ee,user:fe,page:ae,track:ce,plugins:Wt(f),queue:se},I=C,O=C;if(F&&e.debug){var A=window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__;A&&(I=A({trace:!0,traceLimit:25})),O=function(){return 0===arguments.length?ve():"object"===M(arguments[0])?be(arguments[0]):be().apply(null,arguments)}}var j,_=(j=e,Object.keys(j).reduce(function(t,e){return"plugins"===e||"reducers"===e||(t[e]=j[e]),t},{})),N={context:_,user:pe(),plugins:r.pluginsArray.reduce(function(t,e){var n=e.NAMESPACE,r=e.config,o=e.loaded;return t[n]={enabled:!0,initialized:!e.initialize,loaded:Boolean(o()),config:r||{}},t},{})},k=R(q(L({},x,n)),N,O(I(function(){for(var t=arguments.length,u=Array(t),e=0;e<t;e++)u[e]=arguments[e];return function(c){return function(t,e,n){var r,o=c(t,e,n),a=o.dispatch,i={getState:o.getState,dispatch:function(t){return a(t)}};return r=u.map(function(t){return t(i)}),a=C.apply(void 0,r)(o.dispatch),z({},o,{dispatch:a})}}}.apply(void 0,T(v))))),P=Object.keys(c);return k.dispatch({type:st.bootstrap,plugins:P,config:_}),k.dispatch({type:st.registerPlugins,plugins:P}),r.pluginsArray.map(function(t,e){var n=t.bootstrap,r=t.config;n&&"function"==typeof n&&n({instance:g,config:r,payload:t});var o=Wt.length===e+1;k.dispatch({type:st.registerPluginType(t.NAMESPACE),name:t.NAMESPACE,plugin:t}),o&&k.dispatch({type:st.initializeStart,plugins:P})}),me(function(t){k.dispatch({type:t?st.offline:st.online})}),we(k,f,g),e.exposeRedux?Object.assign({},g,{dispatch:k.dispatch,subscribe:k.subscribe,replaceReducer:k.replaceReducer}):g}return t.default=Ie,t.init=Ie,t.Analytics=Ie,t.EVENTS=st,t.CONSTANTS=dt,t}({});
var _analytics=function(t){"use strict";var e=function(t){if(Array.isArray(t)){for(var e=0,n=new Array(t.length);e<t.length;e++)n[e]=t[e];return n}};var n=function(t){if(Symbol.iterator in Object(t)||"[object Arguments]"===Object.prototype.toString.call(t))return Array.from(t)};var r=function(){throw new TypeError("Invalid attempt to spread non-iterable instance")};var T=function(t){return e(t)||n(t)||r()};var d=function(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t};var L=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter(function(t){return Object.getOwnPropertyDescriptor(n,t).enumerable}))),r.forEach(function(t){d(e,t,n[t])})}return e};function o(t,e){return t(e={exports:{}},e.exports),e.exports}var M=o(function(e){function n(t){return(n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function r(t){return"function"==typeof Symbol&&"symbol"===n(Symbol.iterator)?e.exports=r=function(t){return n(t)}:e.exports=r=function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":n(t)},r(t)}e.exports=r}),a="object"==typeof global&&global&&global.Object===Object&&global,i="object"==typeof self&&self&&self.Object===Object&&self,c=(a||i||Function("return this")()).Symbol,u=Object.prototype,s=u.hasOwnProperty,l=u.toString,f=c?c.toStringTag:void 0;var p=Object.prototype.toString;var h="[object Null]",y="[object Undefined]",m=c?c.toStringTag:void 0;function g(t){return null==t?void 0===t?y:h:m&&m in Object(t)?function(t){var e=s.call(t,f),n=t[f];try{var r=!(t[f]=void 0)}catch(t){}var o=l.call(t);return r&&(e?t[f]=n:delete t[f]),o}(t):(e=t,p.call(e));var e}var v,b,w=(v=Object.getPrototypeOf,b=Object,function(t){return v(b(t))});var S,E="[object Object]",x=Function.prototype,j=Object.prototype,I=x.toString,_=j.hasOwnProperty,O=I.call(Object);S="undefined"!=typeof self?self:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof module?module:Function("return this")();var A,N,k=("function"==typeof(N=S.Symbol)?N.observable?A=N.observable:(A=N("observable"),N.observable=A):A="@@observable",A),P={INIT:"@@redux/INIT"};function R(t,e,n){var r;if("function"==typeof e&&void 0===n&&(n=e,e=void 0),void 0!==n){if("function"!=typeof n)throw new Error("Expected the enhancer to be a function.");return n(R)(t,e)}if("function"!=typeof t)throw new Error("Expected the reducer to be a function.");var o=t,a=e,i=[],c=i,u=!1;function s(){c===i&&(c=i.slice())}function l(){return a}function f(e){if("function"!=typeof e)throw new Error("Expected listener to be a function.");var n=!0;return s(),c.push(e),function(){if(n){n=!1,s();var t=c.indexOf(e);c.splice(t,1)}}}function p(t){if(!function(t){if(null==(e=t)||"object"!=typeof e||g(t)!=E)return!1;var e,n=w(t);if(null===n)return!0;var r=_.call(n,"constructor")&&n.constructor;return"function"==typeof r&&r instanceof r&&I.call(r)==O}(t))throw new Error("Actions must be plain objects. Use custom middleware for async actions.");if(void 0===t.type)throw new Error('Actions may not have an undefined "type" property. Have you misspelled a constant?');if(u)throw new Error("Reducers may not dispatch actions.");try{u=!0,a=o(a,t)}finally{u=!1}for(var e=i=c,n=0;n<e.length;n++){(0,e[n])()}return t}return p({type:P.INIT}),(r={dispatch:p,subscribe:f,getState:l,replaceReducer:function(t){if("function"!=typeof t)throw new Error("Expected the nextReducer to be a function.");o=t,p({type:P.INIT})}})[k]=function(){var t,n=f;return(t={subscribe:function(t){if("object"!=typeof t)throw new TypeError("Expected the observer to be an object.");function e(){t.next&&t.next(l())}return e(),{unsubscribe:n(e)}}})[k]=function(){return this},t},r}function q(t){for(var e=Object.keys(t),d={},n=0;n<e.length;n++){var r=e[n];"function"==typeof t[r]&&(d[r]=t[r])}var o,h=Object.keys(d),y=void 0;try{o=d,Object.keys(o).forEach(function(t){var e=o[t];if(void 0===e(void 0,{type:P.INIT}))throw new Error('Reducer "'+t+"\" returned undefined during initialization. If the state passed to the reducer is undefined, you must explicitly return the initial state. The initial state may not be undefined. If you don't want to set a value for this reducer, you can use null instead of undefined.");if(void 0===e(void 0,{type:"@@redux/PROBE_UNKNOWN_ACTION_"+Math.random().toString(36).substring(7).split("").join(".")}))throw new Error('Reducer "'+t+"\" returned undefined when probed with a random type. Don't try to handle "+P.INIT+' or other actions in "redux/*" namespace. They are considered private. Instead, you must return the current state for any unknown actions, unless it is undefined, in which case you must return the initial state, regardless of the action type. The initial state may not be undefined, but can be null.')})}catch(t){y=t}return function(){var t=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{},e=arguments[1];if(y)throw y;for(var n,r,o,a=!1,i={},c=0;c<h.length;c++){var u=h[c],s=d[u],l=t[u],f=s(l,e);if(void 0===f){var p=(n=u,o=void 0,"Given action "+((o=(r=e)&&r.type)&&'"'+o.toString()+'"'||"an action")+', reducer "'+n+'" returned undefined. To ignore an action, you must explicitly return the previous state. If you want this reducer to hold no value, you can return null instead of undefined.');throw new Error(p)}i[u]=f,a=a||f!==l}return a?i:t}}function C(){for(var t=arguments.length,e=Array(t),n=0;n<t;n++)e[n]=arguments[n];return 0===e.length?function(t){return t}:1===e.length?e[0]:e.reduce(function(t,e){return function(){return t(e.apply(void 0,arguments))}})}var z=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t};var F="undefined"!=typeof window;var V=function(){try{if(!F)return!1;var t="cookietest=";document.cookie="".concat(t,"1");var e=-1!==document.cookie.indexOf(t);return document.cookie="".concat(t,"1; expires=Thu, 01-Jan-1970 00:00:01 GMT"),e}catch(t){return!1}}();function $(t,e,n){if(!V)return!1;var r="";if(n){var o=new Date;o.setTime(o.getTime()+24*n*60*60*1e3),r="; expires=".concat(o.toGMTString())}document.cookie="".concat(t,"=").concat(e).concat(r,"; path=/")}function D(t){if(!V)return!1;for(var e="".concat(t,"="),n=document.cookie.split(";"),r=0;r<n.length;r++){for(var o=n[r];" "===o.charAt(0);)o=o.substring(1,o.length);if(0===o.indexOf(e))return o.substring(e.length,o.length)}return null}function G(t){return decodeURIComponent(t).replace(/\+/g," ")}function U(t){if(!F)return!1;var e=t||document.referrer;if(e){var n=window.document.location.port,r=e.split("/")[2];return n&&(r=r.replace(":".concat(n),"")),r!==window.location.hostname}return!1}function Y(t){var e=function(t){if(t){var e=t.match(/\?(.*)/);return e&&e[1]?e[1].split("#")[0]:""}return F&&window.location.search.substring(1)}(t);return e?function(t){var e,n=/([^&=]+)=?([^&]*)/g,r={};for(;e=n.exec(t);){var o=G(e[1]),a=G(e[2]);if("[]"===o.substring(o.length-2))o=o.substring(0,o.length-2),(r[o]||(r[o]=[])).push(a);else{var i=""===a||a;r[o]=i}}for(var c in r){var u=c.split("[");if(1<u.length){var s=[];u.forEach(function(t,e){var n=t.replace(/[?[\]\\ ]/g,"");s.push(n)}),B(r,s,r[c]),delete r[c]}}return r}(e):{}}function B(t,e,n){for(var r=e.length-1,o=0;o<r;++o){var a=e[o];a in t||(t[a]={}),t=t[a]}t[e[r]]=n}function J(o,a){return F?new Promise(function(t,e){if(window.history&&window.history.replaceState){var n=window.location.href,r=function(t,e){var n=(t.split("?")||[,])[1];if(!n||-1===n.indexOf(e))return t;var r=new RegExp("(\\&|\\?)".concat(e,'([_A-Za-z0-9"+=.%]+)'),"g"),o="?".concat(n).replace(r,"").replace(/^&/,"?");return t.replace("?".concat(n),o)}(n,o);n!==r&&history.replaceState({},"",r)}return a&&a(),t()}):Promise.resolve()}function H(t){return(function(t){if(!F)return null;var e=document.createElement("a");return e.setAttribute("href",t),e.hostname}(t)||"").split(".").slice(-2).join(".")}var W="google";var X={"daum.net":"q","eniro.se":"search_word","naver.com":"query","yahoo.com":"p","msn.com":"q","aol.com":"q","lycos.com":"q","ask.com":"q","cnn.com":"query","about.com":"terms","baidu.com":"wd","yandex.com":"text","seznam.cz":"q","search.com":"q","yam.com":"k","kvasir.no":"q","terra.com":"query","mynet.com":"q","rambler.ru":"words",google:"q","bing.com":{p:"q",n:"live"}};function Z(t){return(Z="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function K(e){var n;try{void 0===(n=JSON.parse(e))&&(n=e),"true"===n&&(n=!0),"false"===n&&(n=!1),parseFloat(n)===n&&"object"!==Z(n)&&(n=parseFloat(n))}catch(t){n=e}return n}var Q="undefined"!=typeof self&&self?self:"undefined"!=typeof window&&window?window:"undefined"!=typeof global&&global?global:"undefined"!=typeof globalThis&&globalThis?globalThis:void 0;var tt=function(){if(!F)return!1;try{if("undefined"==typeof localStorage||"undefined"==typeof JSON)return!1;localStorage.setItem("_test_","1"),localStorage.removeItem("_test_")}catch(t){return!1}return!0}();function et(t){return"string"==typeof t?t:t.storage}function nt(t){return tt&&(!t||"localStorage"===t)}function rt(t){return V&&(!t||"cookie"===t)}var ot={getItem:function(t){var e=1<arguments.length&&void 0!==arguments[1]?arguments[1]:{};if(!t)return null;var n=et(e);if(nt(n)){var r=localStorage.getItem(t);if(r||"localStorage"===n)return K(r)}if(rt(n)){var o=D(t);if(o||"cookie"===n)return K(o)}return Q[t]||null},setItem:function(t,e){var n=2<arguments.length&&void 0!==arguments[2]?arguments[2]:{};if(!t||!e)return!1;var r=et(n),o=JSON.stringify(e);if(nt(r)){var a=K(localStorage.getItem(t));return localStorage.setItem(t,o),{value:e,oldValue:a,type:"localStorage"}}if(rt(r)){var i=K(D(t));return $(t,o),{value:e,oldValue:i,type:"cookie"}}var c=Q[t];return{value:Q[t]=e,oldValue:c,type:"window"}},removeItem:function(t){var e=1<arguments.length&&void 0!==arguments[1]?arguments[1]:{};if(!t)return!1;var n=et(e);return nt(n)?(localStorage.removeItem(t),null):rt(n)?(r=t,V&&$(r,"",-1),null):Q[t]=null;var r}};function at(){for(var t,e,n,r,o=[],a=0;a<256;a++)o[a]=(a<16?"0":"")+a.toString(16);return t=it(),e=it(),n=it(),r=it(),"".concat(o[255&t]+o[t>>8&255]+o[t>>16&255]+o[t>>24&255],"-").concat(o[255&e]).concat(o[e>>8&255],"-").concat(o[e>>16&15|64]).concat(o[e>>24&255],"-").concat(o[63&n|128]).concat(o[n>>8&255],"-").concat(o[n>>16&255]).concat(o[n>>24&255]).concat(o[255&r]).concat(o[r>>8&255]).concat(o[r>>16&255]).concat(o[r>>24&255])}function it(){return 4294967295*Math.random()|0}var ct=["bootstrap","params","campaign","initializeStart","initialize","initializeEnd","ready","resetStart","reset","resetEnd","pageStart","page","pageEnd","pageAborted","trackStart","track","trackEnd","trackAborted","identifyStart","identify","identifyEnd","identifyAborted","userIdChanged","registerPlugins","enablePlugin","disablePlugin","loadPlugin","online","offline","setItemStart","setItem","setItemEnd","setItemAborted","removeItemStart","removeItem","removeItemEnd","removeItemAborted"],ut=["NAMESPACE","EVENTS","config","loaded"],st=ct.reduce(function(t,e){return t[e]=e,t},{registerPluginType:function(t){return"registerPlugin:".concat(t)},pluginReadyType:function(t){return"ready:".concat(t)}});var lt="__anon_id",ft="__user_id",pt="__user_traits",dt=Object.freeze({ANON_ID:lt,USER_ID:ft,USER_TRAITS:pt});var ht=o(function(P){!function(t){var u,e=Object.prototype,s=e.hasOwnProperty,n="function"==typeof Symbol?Symbol:{},o=n.iterator||"@@iterator",r=n.asyncIterator||"@@asyncIterator",a=n.toStringTag||"@@toStringTag",i=t.regeneratorRuntime;if(i)P.exports=i;else{(i=t.regeneratorRuntime=P.exports).wrap=v;var f="suspendedStart",p="suspendedYield",d="executing",h="completed",y={},c={};c[o]=function(){return this};var l=Object.getPrototypeOf,m=l&&l(l(N([])));m&&m!==e&&s.call(m,o)&&(c=m);var g=E.prototype=w.prototype=Object.create(c);S.prototype=g.constructor=E,E.constructor=S,E[a]=S.displayName="GeneratorFunction",i.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===S||"GeneratorFunction"===(e.displayName||e.name))},i.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,E):(t.__proto__=E,a in t||(t[a]="GeneratorFunction")),t.prototype=Object.create(g),t},i.awrap=function(t){return{__await:t}},x(j.prototype),j.prototype[r]=function(){return this},i.AsyncIterator=j,i.async=function(t,e,n,r){var o=new j(v(t,e,n,r));return i.isGeneratorFunction(e)?o:o.next().then(function(t){return t.done?t.value:o.next()})},x(g),g[a]="Generator",g[o]=function(){return this},g.toString=function(){return"[object Generator]"},i.keys=function(n){var r=[];for(var t in n)r.push(t);return r.reverse(),function t(){for(;r.length;){var e=r.pop();if(e in n)return t.value=e,t.done=!1,t}return t.done=!0,t}},i.values=N,A.prototype={constructor:A,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=u,this.done=!1,this.delegate=null,this.method="next",this.arg=u,this.tryEntries.forEach(O),!t)for(var e in this)"t"===e.charAt(0)&&s.call(this,e)&&!isNaN(+e.slice(1))&&(this[e]=u)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(n){if(this.done)throw n;var r=this;function t(t,e){return a.type="throw",a.arg=n,r.next=t,e&&(r.method="next",r.arg=u),!!e}for(var e=this.tryEntries.length-1;0<=e;--e){var o=this.tryEntries[e],a=o.completion;if("root"===o.tryLoc)return t("end");if(o.tryLoc<=this.prev){var i=s.call(o,"catchLoc"),c=s.call(o,"finallyLoc");if(i&&c){if(this.prev<o.catchLoc)return t(o.catchLoc,!0);if(this.prev<o.finallyLoc)return t(o.finallyLoc)}else if(i){if(this.prev<o.catchLoc)return t(o.catchLoc,!0)}else{if(!c)throw new Error("try statement without catch or finally");if(this.prev<o.finallyLoc)return t(o.finallyLoc)}}}},abrupt:function(t,e){for(var n=this.tryEntries.length-1;0<=n;--n){var r=this.tryEntries[n];if(r.tryLoc<=this.prev&&s.call(r,"finallyLoc")&&this.prev<r.finallyLoc){var o=r;break}}o&&("break"===t||"continue"===t)&&o.tryLoc<=e&&e<=o.finallyLoc&&(o=null);var a=o?o.completion:{};return a.type=t,a.arg=e,o?(this.method="next",this.next=o.finallyLoc,y):this.complete(a)},complete:function(t,e){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&e&&(this.next=e),y},finish:function(t){for(var e=this.tryEntries.length-1;0<=e;--e){var n=this.tryEntries[e];if(n.finallyLoc===t)return this.complete(n.completion,n.afterLoc),O(n),y}},catch:function(t){for(var e=this.tryEntries.length-1;0<=e;--e){var n=this.tryEntries[e];if(n.tryLoc===t){var r=n.completion;if("throw"===r.type){var o=r.arg;O(n)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(t,e,n){return this.delegate={iterator:N(t),resultName:e,nextLoc:n},"next"===this.method&&(this.arg=u),y}}}function v(t,e,n,r){var a,i,c,u,o=e&&e.prototype instanceof w?e:w,s=Object.create(o.prototype),l=new A(r||[]);return s._invoke=(a=t,i=n,c=l,u=f,function(t,e){if(u===d)throw new Error("Generator is already running");if(u===h){if("throw"===t)throw e;return k()}for(c.method=t,c.arg=e;;){var n=c.delegate;if(n){var r=I(n,c);if(r){if(r===y)continue;return r}}if("next"===c.method)c.sent=c._sent=c.arg;else if("throw"===c.method){if(u===f)throw u=h,c.arg;c.dispatchException(c.arg)}else"return"===c.method&&c.abrupt("return",c.arg);u=d;var o=b(a,i,c);if("normal"===o.type){if(u=c.done?h:p,o.arg===y)continue;return{value:o.arg,done:c.done}}"throw"===o.type&&(u=h,c.method="throw",c.arg=o.arg)}}),s}function b(t,e,n){try{return{type:"normal",arg:t.call(e,n)}}catch(t){return{type:"throw",arg:t}}}function w(){}function S(){}function E(){}function x(t){["next","throw","return"].forEach(function(e){t[e]=function(t){return this._invoke(e,t)}})}function j(u){var e;this._invoke=function(n,r){function t(){return new Promise(function(t,e){!function e(t,n,r,o){var a=b(u[t],u,n);if("throw"!==a.type){var i=a.arg,c=i.value;return c&&"object"==typeof c&&s.call(c,"__await")?Promise.resolve(c.__await).then(function(t){e("next",t,r,o)},function(t){e("throw",t,r,o)}):Promise.resolve(c).then(function(t){i.value=t,r(i)},function(t){return e("throw",t,r,o)})}o(a.arg)}(n,r,t,e)})}return e=e?e.then(t,t):t()}}function I(t,e){var n=t.iterator[e.method];if(n===u){if(e.delegate=null,"throw"===e.method){if(t.iterator.return&&(e.method="return",e.arg=u,I(t,e),"throw"===e.method))return y;e.method="throw",e.arg=new TypeError("The iterator does not provide a 'throw' method")}return y}var r=b(n,t.iterator,e.arg);if("throw"===r.type)return e.method="throw",e.arg=r.arg,e.delegate=null,y;var o=r.arg;return o?o.done?(e[t.resultName]=o.value,e.next=t.nextLoc,"return"!==e.method&&(e.method="next",e.arg=u),e.delegate=null,y):o:(e.method="throw",e.arg=new TypeError("iterator result is not an object"),e.delegate=null,y)}function _(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function O(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function A(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(_,this),this.reset(!0)}function N(e){if(e){var t=e[o];if(t)return t.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var n=-1,r=function t(){for(;++n<e.length;)if(s.call(e,n))return t.value=e[n],t.done=!1,t;return t.value=u,t.done=!0,t};return r.next=r}}return{next:k}}function k(){return{value:u,done:!0}}}(function(){return this||"object"==typeof self&&self}()||Function("return this")())}),yt=function(){return this||"object"==typeof self&&self}()||Function("return this")(),mt=yt.regeneratorRuntime&&0<=Object.getOwnPropertyNames(yt).indexOf("regeneratorRuntime"),gt=mt&&yt.regeneratorRuntime;yt.regeneratorRuntime=void 0;var vt=ht;if(mt)yt.regeneratorRuntime=gt;else try{delete yt.regeneratorRuntime}catch(t){yt.regeneratorRuntime=void 0}var bt=vt;function wt(t,e,n,r,o,a,i){try{var c=t[a](i),u=c.value}catch(t){return void n(t)}c.done?e(u):Promise.resolve(u).then(r,o)}var St=function(c){return function(){var t=this,i=arguments;return new Promise(function(e,n){var r=c.apply(t,i);function o(t){wt(r,e,n,o,a,"next",t)}function a(t){wt(r,e,n,o,a,"throw",t)}o(void 0)})}};function Et(o,a,i){return new Promise(function(e,n){return a()?e(o):i<1?n(L({},o,{queue:!0})):(r=10,new Promise(function(t){return setTimeout(t,r)})).then(function(t){return Et(o,a,i-10).then(e,n)});var r})}var xt=function(t){if(Array.isArray(t))return t};var jt=function(t,e){var n=[],r=!0,o=!1,a=void 0;try{for(var i,c=t[Symbol.iterator]();!(r=(i=c.next()).done)&&(n.push(i.value),!e||n.length!==e);r=!0);}catch(t){o=!0,a=t}finally{try{r||null==c.return||c.return()}finally{if(o)throw a}}return n};var It=function(){throw new TypeError("Invalid attempt to destructure non-iterable instance")};var _t=function(t,e){return xt(t)||jt(t,e)||It()};function Ot(e){var n=1<arguments.length&&void 0!==arguments[1]?arguments[1]:{},r=2<arguments.length&&void 0!==arguments[2]?arguments[2]:{};return Object.keys(e).filter(function(t){var e=r.plugins||{};return!1!==e[t]&&(!0===e[t]||(!n[t]||!1!==n[t].enabled))}).map(function(t){return e[t]})}function At(t,e,n,r,o){return Nt.apply(this,arguments)}function Nt(){return(Nt=St(bt.mark(function t(e,n,r,o,a){var i,c,u,s,l,f,p,d,h,y,m,g;return bt.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:if(i="function"==typeof n?n():n,c=e.type,u=c.replace(/Start$/,""),e._&&e._.called)return t.abrupt("return",e);t.next=5;break;case 5:return s=r.getState(),l=Ot(i,s.plugins,e.options),f=l.map(function(t){return t.NAMESPACE}),p=Ct(c,l,i),t.next=11,Pt({action:e,data:{exact:p.before,namespaced:p.beforeNS},state:s,allPlugins:i,allMatches:p,instance:r,store:o,EVENTS:a});case 11:if(Ft(d=t.sent,f.length))return t.abrupt("return",d);t.next=14;break;case 14:if(l.filter(function(t){return!zt(d,t.NAMESPACE)}),c!==u){t.next=19;break}h=d,t.next=22;break;case 19:return t.next=21,Pt({action:_objectSpread({},d,{type:u}),data:{exact:p.during,namespaced:p.duringNS},state:s,allPlugins:i,allMatches:p,instance:r,store:o,EVENTS:a});case 21:h=t.sent;case 22:if(c.match(/Start$/))return y="".concat(u,"End"),t.next=26,Pt({action:_objectSpread({},h,{type:y}),data:{exact:p.after,namespaced:p.afterNS},state:s,allPlugins:i,allMatches:p,instance:r,store:o,EVENTS:a});t.next=29;break;case 26:m=t.sent,(g=kt(m))&&g({payload:m});case 29:return t.abrupt("return",d);case 30:case"end":return t.stop()}},t)}))).apply(this,arguments)}function kt(r){return!!r.meta&&Object.keys(r.meta).reduce(function(t,e){var n=r.meta[e];return"function"==typeof n?n:t},!1)}function Pt(t){return Tt.apply(this,arguments)}function Tt(){return(Tt=St(bt.mark(function t(e){var y,i,m,n,g,r,v,o,b,a,w,c,S,E,x,u;return bt.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return y=e.data,i=e.action,m=e.instance,n=e.state,g=e.allPlugins,r=e.allMatches,v=e.store,o=e.EVENTS,b=n.plugins,a=n.context,w=i.type,c=y.exact.map(function(t){return t.pluginName}),w.match(/Start$/)&&(c=r.during.map(function(t){return t.pluginName})),S=Dt(m,c),E=y.exact.reduce(function(t,e){var n=e.pluginName,r=e.methodName,o=!1;return r.match(/^initialize/)||r.match(/^reset/)||(o=!b[n].loaded),a.offline&&(r.match(/^page/)||r.match(/^track/)||r.match(/^identify/))&&(o=!0),t["".concat(n)]=o,t},{}),t.next=9,y.exact.reduce(function(){var r=St(bt.mark(function t(e,n,r){var u,o,a;return bt.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return u=n.pluginName,t.next=3,e;case 3:if(o=t.sent,y.namespaced&&y.namespaced[u])return t.next=7,y.namespaced[u].reduce(function(){var r=St(bt.mark(function t(e,n,r){var o,a,i,c;return bt.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return a=function(n,r,o){return function(t,e){return _objectSpread({},n,{abort:{reason:t,plugins:e||[r],caller:w,from:o||r}})}},t.next=3,e;case 3:if(o=t.sent,n.method&&"function"==typeof n.method){t.next=6;break}return t.abrupt("return",o);case 6:return Gt(n.methodName,n.pluginName),t.next=9,n.method({payload:o,instance:m,abort:a(o,u,n.pluginName),config:Mt(u,b,g),plugins:b});case 9:return i=t.sent,c="object"===M(i)?i:{},t.abrupt("return",Promise.resolve(_objectSpread({},o,{},c)));case 12:case"end":return t.stop()}},t)}));return function(t,e,n){return r.apply(this,arguments)}}(),Promise.resolve(i));t.next=11;break;case 7:a=t.sent,o[u]=a,t.next=12;break;case 11:o[u]=i;case 12:return t.abrupt("return",Promise.resolve(o));case 13:case"end":return t.stop()}},t)}));return function(t,e,n){return r.apply(this,arguments)}}(),Promise.resolve({}));case 9:return x=t.sent,t.next=12,y.exact.reduce(function(){var r=St(bt.mark(function t(e,n,r){var o,a,i,c,u,s,l,f,p,d,h;return bt.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return o=y.exact.length===r+1,a=n.pluginName,i=g[a],t.next=5,e;case 5:if(c=t.sent,zt(u=x[a]?x[a]:{},a))return Lt({data:u,method:w,instance:m,pluginName:a,store:v}),t.abrupt("return",Promise.resolve(c));t.next=10;break;case 10:if(zt(c,a))return o&&Lt({data:c,method:w,instance:m,store:v}),t.abrupt("return",Promise.resolve(c));t.next=13;break;case 13:if(E.hasOwnProperty(a)&&!0===E[a])return v.dispatch({type:"queue",plugin:a,payload:u,_:{called:"queue",from:"queueMechanism"}}),t.abrupt("return",Promise.resolve(c));t.next=16;break;case 16:return s=S(x[a],g[a]),t.next=19,i[w]({hello:a,abort:s.abort,payload:x[a],instance:m,config:Mt(a,b,g),plugins:b});case 19:return l=t.sent,f="object"===M(l)?l:{},p=_objectSpread({},c,{},f),zt(d=x[a],a)?Lt({data:d,method:w,instance:m,pluginName:a,store:v}):(h="".concat(w,":").concat(a),(h.match(/:/g)||[]).length<2&&!w.match(/^bootstrap/)&&!w.match(/^ready/)&&m.dispatch(_objectSpread({},d,{type:h,_:{called:h,from:"submethod"}}))),t.abrupt("return",Promise.resolve(p));case 25:case"end":return t.stop()}},t)}));return function(t,e,n){return r.apply(this,arguments)}}(),Promise.resolve(i));case 12:if(u=t.sent,w.match(/Start$/)||w.match(/^registerPlugin/)||w.match(/^ready/)||w.match(/^bootstrap/)||w.match(/^params/)){t.next=18;break}if(o.plugins.includes(w),u._&&u._.originalAction===w)return t.abrupt("return",u);t.next=17;break;case 17:v.dispatch(_objectSpread({},u,{},{_:{originalAction:u.type,called:u.type,from:"engineEnd"}}));case 18:return t.abrupt("return",u);case 19:case"end":return t.stop()}},t)}))).apply(this,arguments)}function Lt(t){var e=t.data,n=t.method,r=(t.instance,t.pluginName),o=t.store,a=r?":".concat(r):"",i="".concat(n,"Aborted").concat(a);o.dispatch(L({},e,{type:i,_:{called:i,from:"abort"}}))}function Mt(t,e,n){return e[t]&&e[t].config?e[t].config:n[t]&&n[t].config?n[t].config:{}}function Rt(n,t){return t.reduce(function(t,e){return e[n]?t.concat({methodName:n,pluginName:e.NAMESPACE,method:e[n]}):t},[])}function qt(t,e){var n=t.replace(/Start$/,""),r=e?":".concat(e):"";return["".concat(t).concat(r),"".concat(n).concat(r),"".concat(n,"End").concat(r)]}function Ct(u,s,t){var e=qt(u).map(function(t){return Rt(t,s)});return s.reduce(function(t,e){var n=e.NAMESPACE,r=qt(u,n).map(function(t){return Rt(t,s)}),o=_t(r,3),a=o[0],i=o[1],c=o[2];return a.length&&(t.beforeNS[n]=a),i.length&&(t.duringNS[n]=i),c.length&&(t.afterNS[n]=c),t},{before:e[0],beforeNS:{},during:e[1],duringNS:{},after:e[2],afterNS:{}})}function zt(t,e){var n=t.abort;return!!n&&(!0===n||($t(n,e)||n&&$t(n.plugins,e)))}function Ft(t,e){var n=t.abort;if(!n)return!1;if(!0===n||"string"==typeof n)return!0;var r=n.plugins;return Vt(n)&&n.length===e||Vt(r)&&r.length===e}function Vt(t){return Array.isArray(t)}function $t(t,e){return!(!t||!Vt(t))&&t.includes(e)}function Dt(y,m){return function(t,e,n){var r=e.config,o=e.NAMESPACE,a="".concat(o,".").concat(t.type);n&&(a=n.event);var i,c,u,s,l,f,p,d,h=t.type.match(/Start$/)?(u=o,s=a,l=m,f=n,p=t,function(t,e){var n=f?f.NAMESPACE:u,r=e&&Vt(e)?e:l;if(f&&(!(r=e&&Vt(e)?e:[u]).includes(u)||1!==r.length))throw new Error('Method "'.concat(s,'" can only abort "').concat(u,'" plugin. ').concat(JSON.stringify(r)," input valid"));return _objectSpread({},p,{abort:{reason:t,plugins:r,caller:s,_:n}})}):(i=t,c=a,function(){throw new Error('Action "'.concat(i.type,'" is not cancellable. Remove abort call from plugin ').concat(c))});return{payload:(d=t,Object.keys(d).reduce(function(t,e){return"type"===e||("object"===M(d[e])?t[e]=Object.assign({},d[e]):t[e]=d[e]),t},{})),instance:y,config:r||{},abort:h}}}function Gt(t,e){var n=Ut(t);if(n&&n.name===e){var r=Ut(n.method),o=r?'or "'.concat(r.method,'"'):"";throw new Error(['Plugin "'.concat(e,'" is calling method [').concat(t,"]"),"Plugins should not call their own namespace.",'Use "'.concat(n.method,'" ').concat(o,' in "').concat(e,'" plugin instead of "').concat(t,'"')].join("\n"))}}function Ut(t){var e=t.match(/(.*):(.*)/);return!!e&&{method:e[1],name:e[2]}}function Yt(){return(new Date).getTime()}var Bt=function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")},Jt=function t(){var i=this;Bt(this,t),d(this,"before",[]),d(this,"after",[]),d(this,"addMiddleware",function(t,e){i[e]=i[e].concat(t)}),d(this,"removeMiddleware",function(e,t){var n=i[t].findIndex(function(t){return t===e});-1!==n&&(i[t]=[].concat(T(i[t].slice(0,n)),T(i[t].slice(n+1))))}),d(this,"resetMiddlewares",function(t){t?i[t]=[]:(i.before=[],i.after=[])}),d(this,"dynamicMiddlewares",function(a){return function(o){return function(r){return function(t){var e={getState:o.getState,dispatch:function(t){return o.dispatch(t)}},n=i[a].map(function(t){return t(e)});return C.apply(void 0,T(n))(r)(t)}}}})},Ht={};function Wt(c){return function(){var n=0<arguments.length&&void 0!==arguments[0]?arguments[0]:Ht,t=1<arguments.length?arguments[1]:void 0,e={};if("initialize:aborted"===t.type)return n;if(/^registerPlugin:([^:]*)$/.test(t.type)){var r=t.type.split(":")[1],o=c()[r];return o&&r?(e[r]={enabled:!0,initialized:!o.initialize,loaded:Boolean(o.loaded()),config:o.config||{}},L({},n,{},e)):n}if(/^initialize:([^:]*)$/.test(t.type)){var a=t.type.split(":")[1],i=c()[a];return i&&a?(e[a]=_objectSpread({},n[a],{},{initialized:!0,loaded:Boolean(i.loaded())}),_objectSpread({},n,{},e)):n}if(/^ready:([^:]*)$/.test(t.type))return e[t.name]=_objectSpread({},n[t.name],{},{loaded:!0}),_objectSpread({},n,{},e);switch(t.type){case st.disablePlugin:return Array.isArray(t.name)?e=t.name.reduce(function(t,e){return t[e]=_objectSpread({},n[e],{},{enabled:!1}),t},n):e[t.name]=_objectSpread({},n[t.name],{},{enabled:!1}),_objectSpread({},n,{},e);case st.enablePlugin:return Array.isArray(t.name)?e=t.name.reduce(function(t,e){return t[e]=_objectSpread({},n[e],{},{enabled:!0}),t},n):e[t.name]=_objectSpread({},n[t.name],{},{enabled:!0}),_objectSpread({},n,{},e);default:return n}}}var Xt,Zt,Kt,Qt;Xt=function(){if(!F)return!1;var t=navigator.appVersion;return-1!==t.indexOf("Win")?"Windows":-1!==t.indexOf("Mac")?"MacOS":-1!==t.indexOf("X11")?"UNIX":-1!==t.indexOf("Linux")?"Linux":"Unknown OS"}(),Zt=function(t,e){if(!F)return!1;var n={source:"(direct)",medium:"(none)",campaign:"(not set)"};t&&U(t)&&(n.referrer=t);var r=function(t){if(!t||!F)return!1;var e,n,r=H(t),o=document.createElement("a");if(o.href=t,-1<o.hostname.indexOf(W)&&(r=W),X[r]){var a=X[r],i="string"==typeof a?a:a.p,c=new RegExp(i+"=.*?([^&#]*|$)","gi"),u=o.search.match(c);return{source:a.n||(e=r,n=e.split("."),1<n.length?n.slice(0,-1).join("."):e),medium:"organic",term:(u?u[0].split("=")[1]:"")||"(not provided)"}}var s=U(t)?"referral":"internal";return{source:o.hostname,medium:s}}(t);r&&Object.keys(r).length&&(n=Object.assign({},n,r));var o=Y(e),a=Object.keys(o);if(a.length){var i=a.reduce(function(t,e){return e.match(/^utm_/)&&(t["".concat(e.replace(/^utm_/,""))]=o[e]),e.match(/^(d|g)clid/)&&(t.source=W,t.medium=o.gclid?"cpc":"cpm",t[e]=o[e]),t},{});n=Object.assign({},n,i),(o.dclid||o.gclid)&&(n.source=W,n.medium=o.gclid?"cpc":"cpm")}return n}(),Kt=function(){if(!F)return null;var t=navigator,e=t.language,n=t.languages,r=t.userLanguage;return n&&n.length?n[0]:r||e}(),Qt="undefined"==typeof Intl||"function"!=typeof Intl.DateTimeFormat||"function"!=typeof Intl.DateTimeFormat().resolvedOptions?null:Intl.DateTimeFormat().resolvedOptions().timeZone;var te={initialized:!1,sessionId:at(),app:null,version:null,debug:!1,offline:!!F&&!navigator.onLine,os:{name:Xt},userAgent:F?navigator.userAgent:"node",library:{name:"analytics",version:"0.1.14"},timezone:Qt,locale:Kt,campaign:{},referrer:Zt};function ee(){var t=0<arguments.length&&void 0!==arguments[0]?arguments[0]:te,e=1<arguments.length?arguments[1]:void 0,n=t.initialized,r=e.type,o=e.campaign;switch(r){case st.campaign:return L({},t,{},{campaign:o});case st.offline:return _objectSpread({},t,{},{offline:!0});case st.online:return _objectSpread({},t,{},{offline:!1});default:return n?t:_objectSpread({},te,{},t,{},{initialized:!0})}}function ne(t){var e=function(){if(F)for(var t,e=document.getElementsByTagName("link"),n=0;t=e[n];n++)if("canonical"===t.getAttribute("rel"))return t.getAttribute("href")}();return e?e.match(/\?/)?e:"".concat(e).concat(t):window.location.href.replace(/#.*$/,"")}var re=function(){var t=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{};if(!F)return t;var e,n,r,o=document,a=o.title,i=o.referrer,c=window,u=c.location,s=c.innerWidth,l=c.innerHeight,f=u.hash,p=u.search,d=ne(p),h={title:a,url:d,path:(e=d,n=/(http[s]?:\/\/)?([^\/\s]+\/)(.*)/g.exec(e),r=n&&n[3]?n[3].split("?")[0].replace(/#.*$/,""):"","/".concat(r)),hash:f,search:p,width:s,height:l};return i&&""!==i&&(h.referrer=i),L({},h,{},t)},oe=re();function ae(){var t=0<arguments.length&&void 0!==arguments[0]?arguments[0]:oe,e=1<arguments.length?arguments[1]:void 0;switch(e.type){case st.page:return Object.assign({},t,e.data);default:return t}}var ie={event:{},lastEvent:null,history:[]};function ce(){var t=0<arguments.length&&void 0!==arguments[0]?arguments[0]:ie,e=1<arguments.length?arguments[1]:void 0,n=e.type,r=e.payload,o=e.options,a=e.eventName;switch(n){case st.track:return L({},t,{},{event:{eventName:a,payload:r,options:o},lastEvent:e.eventName,history:t.history.concat(e)});default:return t}}var ue={actions:[]};function se(){var t=0<arguments.length&&void 0!==arguments[0]?arguments[0]:ue,e=1<arguments.length?arguments[1]:void 0,n=e.type,r=(e.data,e.timestamp,e.payload);switch(n){case"queue":var o;return o=r&&r.type&&"identify"===r.type?[e].concat(t.actions):t.actions.concat(e),L({},t,{actions:o});case"dequeue":return[];default:return t}}var le="object"===("undefined"==typeof self?"undefined":M(self))&&self.self===self&&self||"object"===("undefined"==typeof global?"undefined":M(global))&&global.global===global&&global||void 0;function fe(){var t=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{},e=1<arguments.length?arguments[1]:void 0;if(e&&e.type===st.setItemEnd&&e.key===lt)return Object.assign({},t,{anonymousId:e.value});switch(e.type){case st.identify:return Object.assign({},t,{userId:e.userId,traits:L({},t.traits,{},e.traits)});case st.reset:return Object.assign({},t,{userId:null,anonymousId:null,traits:null});default:return t}}function pe(){return{userId:ot.getItem(ft),anonymousId:ot.getItem(lt),traits:ot.getItem(pt)||{}}}var de=function(t){return"__TEMP__".concat(t)};function he(t,e,n){var r=e.getState("user")[t];if(r)return r;if(n&&"object"===M(n)&&n[t])return n[t];var o=pe()[t];return o||(le[de(t)]?le[de(t)]:void 0)}function ye(t,e,n,r){for(r=0,e=e.split?e.split("."):e;t&&r<e.length;)t=t[e[r++]];return void 0===t||r<e.length?n:t}function me(e){var n=function(t,e,n){if(!F)return!1;var r=window[(n?"add":"remove")+"EventListener"];t.split(" ").forEach(function(t){r(t,e)})}.bind(null,"online offline",function(t){return Promise.resolve(!navigator.onLine).then(e)});return n(!0),function(t){n(!1)}}function ge(){return Array.prototype.slice.call(arguments).reduce(function(t,e){return t||("function"==typeof e?e:t)},!1)}function ve(){return le.__ANALYTICS_HISTORY__=[],function(a){return function(t,e,n){var r=a(t,e,n),o=r.dispatch;return Object.assign(r,{dispatch:function(t){var e=t.action||t;return le.__ANALYTICS_HISTORY__.push(e),o(t)}})}}}function be(t){return function(){return C(C.apply(null,arguments),ve())}}function we(f,o,p){return setInterval(function(){var c=o(),t=f.getState(),u=t.plugins,e=t.context,s=t.queue,l=t.user;if(!e.offline&&s&&s.actions&&s.actions.length){var n=s.actions.reduce(function(t,e,n){return u[e.plugin].loaded?(t.process.push(e),t.processIndex.push(n)):(t.requeue.push(e),t.requeueIndex.push(n)),t},{processIndex:[],process:[],requeue:[],requeueIndex:[]});if(n.processIndex&&n.processIndex.length){n.processIndex.forEach(function(t){var e=s.actions[t],n=e.plugin,r=e.payload.type,o=c[n][r];if(o&&"function"==typeof o){var a=function(t){var r=1<arguments.length&&void 0!==arguments[1]?arguments[1]:{};return["userId","anonymousId"].reduce(function(t,e){var n=function(t,e,n){if(t.hasOwnProperty(n)&&!t[n]&&e[n])return Object.assign({},t,d({},"".concat(n),e[n]));return t}(t,r,e);return n},t)}(e.payload,l);o({payload:a,config:u[n].config,instance:p});var i="".concat(r,":").concat(n);f.dispatch(L({},a,{type:i,_:{called:i,from:"queueDrain"}}))}});var r=s.actions.filter(function(t,e){return-1===n.processIndex.indexOf(e)});s.actions=r}}},3e3)}var Se=function(t,e,n){return{type:st.setItemStart,timestamp:Yt(),key:t,value:e,options:n}},Ee=function(t,e){return{type:st.removeItemStart,timestamp:Yt(),key:t,options:e}},xe=function(t,e){return ot.getItem(t,e)};function je(){var t,s,i,b,w,S,E,e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{},n=e.reducers||{},r=(e.plugins||[]).reduce(function(t,e){if("function"!=typeof e&&e.NAMESPACE){var n=e.EVENTS?Object.keys(e.EVENTS).map(function(t){return e.EVENTS[t]}):[],r=Object.keys(e).concat(n),o=new Set(t.events.concat(r));if(t.events=Array.from(o),t.pluginsArray=t.pluginsArray.concat(e),t.plugins[e.NAMESPACE])throw new Error('Analytics "'.concat(e.NAMESPACE,'" loaded twice!'));return t.plugins[e.NAMESPACE]=e,t.plugins[e.NAMESPACE].loaded||(t.plugins[e.NAMESPACE].loaded=function(){return!0}),t}return t.middlewares=t.middlewares.concat(e),t},{plugins:{},pluginsArray:[],middlewares:[],events:[]}),c=r.plugins,o=r.events.filter(function(t){return!ut.includes(t)}),a=new Set(o.concat(ct).filter(function(t){return!ut.includes(t)})),u=Array.from(a).sort(),l=o.sort(),f=function(t){return t?Object.keys(c).map(function(t){return c[t]}):c},p=new Jt,d=p.addMiddleware,h=p.removeMiddleware,y=p.dynamicMiddlewares,m=function(){throw new Error("Abort not allowed from listener")},g={identify:function(t,e,n,r){var o="string"==typeof t?t:null,a="object"===M(t)?t:e,i=n||{},c=ge(e,n,r),u=g.user(),s=(le[de("userId")]=o)||a.userId||he("userId",g,a);k.dispatch(L({type:st.identifyStart,userId:s,traits:a||{},options:i,anonymousId:u.anonymousId},u.id&&u.id!==o&&{previousId:u.id},{meta:_objectSpread({timestamp:Yt()},c&&{callback:c})}))},track:function(t,e,n,r){var o="object"===M(t)?t.event:t;if(!o||"string"!=typeof o)throw new Error("EventName not supplied");var a="object"===M(t)?t:e||{},i="object"===M(n)?n:{},c=ge(e,n,r),u=he("userId",g,e),s=he("anonymousId",g,e);k.dispatch({type:st.trackStart,event:o,properties:a,options:i,userId:u,anonymousId:s,meta:_objectSpread({timestamp:Yt()},c&&{callback:c})})},page:function(t,e,n){var r="object"===M(t)?t:{},o="object"===M(e)?e:{},a=ge(t,e,n),i=he("userId",g,r),c=he("anonymousId",g,r);k.dispatch({type:st.pageStart,properties:re(r),options:o,userId:i,anonymousId:c,meta:_objectSpread({timestamp:Yt()},a&&{callback:a})})},user:function(t){if("userId"===t||"id"===t)return he("userId",g);var e=g.getState("user");return t?ye(e,t):e},reset:function(t){var e;k.dispatch((e=t,{type:st.resetStart,timestamp:Yt(),callback:e}))},ready:function(t){return g.on(st.ready,t)},on:function(n,r){if(!n||!r||"function"!=typeof r)return!1;if("bootstrap"===n)throw new Error("Listeners not allowed for ".concat(n));var o=/Start$|Start:/;if("*"===n){var t=function(t){return function(e){return function(t){return t.type.match(o)&&r({payload:t,instance:g,plugins:c}),e(t)}}},e=function(t){return function(e){return function(t){return t.type.match(o)||r({payload:t,instance:g,plugins:c}),e(t)}}};return d(t,"before"),d(e,"after"),function(){h(t,"before"),h(e,"after")}}var a=n.match(o)?"before":"after",i=function(t){return function(e){return function(t){return t.type===n&&r({payload:t,instance:g,plugins:c,abort:m}),e(t)}}};return d(i,a),function(){return h(i,a)}},once:function(t,n){if(!t||!n||"function"!=typeof n)return!1;var r=g.on(t,function(t){var e=t.payload;n({payload:e,instance:g,plugins:c,abort:m}),r()});return r},getState:function(t){var e=k.getState();return t?ye(e,t):Object.assign({},e)},dispatch:function(t){var e,n="string"==typeof t?{type:t}:t;if(e=n.type,ct.includes(e))throw new Error('Trying to dispatch analytics reservedAction "'.concat(n.type,'"'));var r=n.meta||{},o=t._||{},a=_objectSpread({},n,{meta:_objectSpread({timestamp:Yt()},r),_:_objectSpread({originalAction:n.type},o)});k.dispatch(a)},enablePlugin:function(t,e){var n,r;k.dispatch((n=t,r=e,{type:st.enablePlugin,name:n,callback:r,_:{originalAction:st.enablePlugin}}))},disablePlugin:function(t,e){var n,r;k.dispatch((n=t,r=e,{type:st.disablePlugin,name:n,callback:r,_:{originalAction:st.disablePlugin}}))},loadPlugin:function(t){k.dispatch({type:st.loadPlugin,plugins:t?[t]:Object.keys(f())})},storage:{getItem:xe,setItem:function(t,e,n){k.dispatch(Se(t,e,n))},removeItem:function(t,e){k.dispatch(Ee(t,e))}},setAnonymousId:function(t,e){g.storage.setItem(lt,t,e)},events:{all:u,core:ct,plugins:l}},v=r.middlewares.concat([y("before"),(b=g,w=f,S={all:u,plugins:l},E={},function(v){return function(g){return e=St(bt.mark(function t(e){var n,r,o,a,i,c,u,s,l,f,p,d,h,y,m;return bt.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:if(n=e.type,r=e.name,o=e.callback,(a=e).abort)return t.abrupt("return",g(e));t.next=4;break;case 4:if(n!==st.disablePlugin&&n!==st.enablePlugin||o&&o(r),n===st.loadPlugin)return i=w(),c=Object.keys(i).filter(function(t){return e.plugins.includes(t)}).reduce(function(t,e){return t[e]=i[e],t},{}),u={type:st.initializeStart,plugins:e.plugins},t.next=11,At(u,c,b,v,S);t.next=13;break;case 11:return s=t.sent,t.abrupt("return",g(s));case 13:if(n===st.initializeEnd&&(l=w(),f=Object.keys(l),p=f.filter(function(t){return e.plugins.includes(t)}).map(function(t){return l[t]}),d=[],h=[],y=p.map(function(e){var t=e.loaded,n=e.NAMESPACE;return Et(e,t,1e4).then(function(t){E[n]||(v.dispatch({type:st.pluginReadyType(n),name:n,events:Object.keys(e).filter(function(t){return!ut.includes(t)})}),E[n]=!0),d=d.concat(n)}).catch(function(t){if(t instanceof Error)throw new Error(t);return h=h.concat(t.NAMESPACE),t})}),Promise.all(y).then(function(t){setTimeout(function(){f.length===y.length&&v.dispatch({type:"ready",plugins:d,failed:h})},0)})),"bootstrap"!==n)return t.next=17,At(e,w,b,v,S);t.next=19;break;case 17:return m=t.sent,t.abrupt("return",g(m));case 19:return t.abrupt("return",g(a));case 20:case"end":return t.stop()}},t)})),function(t){return e.apply(this,arguments)};var e}}),function(t){return function(a){return function(t){var e=t.type,n=t.key,r=t.value,o=t.options;if(e===st.setItem||e===st.removeItem){if(t.abort)return a(t);e===st.setItem?ot.setItem(n,r,o):ot.removeItem(n,o)}return a(t)}}},(i=g,function(a){return function(o){return function(t){if(t.type===st.bootstrap){ot.getItem(lt)||i.storage.setItem(lt,at());var n=Y(),e=Object.keys(n);if(e.length){var r=e.reduce(function(t,e){return(e.match(/^utm_/)||e.match(/^(d|g)clid/))&&(t.campaign[e]=n[e]),e.match(/^an_prop_/)&&(t.props["".concat(e.replace(/^an_prop_/,""))]=n[e]),e.match(/^an_trait_/)&&(t.traits["".concat(e.replace(/^an_trait_/,""))]=n[e]),t},{campaign:{},props:{},traits:{}});a.dispatch(L({type:st.params,raw:n},r)),n.an_uid&&setTimeout(function(){i.identify(n.an_uid,r.traits)},0),n.an_event&&setTimeout(function(){i.track(n.an_event,r.props)},0),Object.keys(r.campaign).length&&a.dispatch({type:st.campaign,campaign:r.campaign}),n.an_clean&&setTimeout(function(){J("an_")},0)}}return o(t)}}}),(t=g,s=t.storage,function(u){return function(c){return function(t){var e=t.userId,n=t.traits,r=t.options,o=t.callback;if(t.type===st.reset&&(s.removeItem(ft),s.removeItem(pt),s.removeItem(lt),o&&"function"==typeof o&&o()),t.type===st.identify){var a=s.getItem(ft),i=s.getItem(pt)||{};a&&a!==e&&u.dispatch({type:st.userIdChanged,old:{userId:a,traits:i},new:{userId:e,traits:n},options:r}),e&&s.setItem(ft,e),n&&s.setItem(pt,L({},i,{},n))}return c(t)}}}),y("after")]),x={context:ee,user:fe,page:ae,track:ce,plugins:Wt(f),queue:se},j=C,I=C;if(F&&e.debug){var _=window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__;_&&(j=_({trace:!0,traceLimit:25})),I=function(){return 0===arguments.length?ve():"object"===M(arguments[0])?be(arguments[0]):be().apply(null,arguments)}}var O,A=(O=e,Object.keys(O).reduce(function(t,e){return"plugins"===e||"reducers"===e||(t[e]=O[e]),t},{})),N={context:A,user:pe(),plugins:r.pluginsArray.reduce(function(t,e){var n=e.NAMESPACE,r=e.config,o=e.loaded;return t[n]={enabled:!0,initialized:!e.initialize,loaded:Boolean(o()),config:r||{}},t},{})},k=R(q(_objectSpread({},x,{},n)),N,I(j(function(){for(var t=arguments.length,u=Array(t),e=0;e<t;e++)u[e]=arguments[e];return function(c){return function(t,e,n){var r,o=c(t,e,n),a=o.dispatch,i={getState:o.getState,dispatch:function(t){return a(t)}};return r=u.map(function(t){return t(i)}),a=C.apply(void 0,r)(o.dispatch),z({},o,{dispatch:a})}}}.apply(void 0,T(v))))),P=Object.keys(c);return k.dispatch({type:st.bootstrap,plugins:P,config:A}),k.dispatch({type:st.registerPlugins,plugins:P}),r.pluginsArray.map(function(t,e){var n=t.bootstrap,r=t.config;n&&"function"==typeof n&&n({instance:g,config:r,payload:t});var o=Wt.length===e+1;k.dispatch({type:st.registerPluginType(t.NAMESPACE),name:t.NAMESPACE,plugin:t}),o&&k.dispatch({type:st.initializeStart,plugins:P})}),me(function(t){k.dispatch({type:t?st.offline:st.online})}),we(k,f,g),e.exposeRedux?Object.assign({},g,{dispatch:k.dispatch,subscribe:k.subscribe,replaceReducer:k.replaceReducer}):g}return t.default=je,t.init=je,t.Analytics=je,t.EVENTS=st,t.CONSTANTS=dt,t}({});
{
"name": "analytics",
"version": "0.1.14",
"version": "0.1.15",
"description": "Lightweight analytics library for tracking events, page views, & identifying users. Works with any third party analytics provider via an extendable plugin system.",

@@ -27,4 +27,4 @@ "keywords": [

"scripts": {
"test": "ava --verbose",
"test:watch": "ava --verbose --watch",
"test": "ava -v",
"test:watch": "ava -v --watch",
"clean": "rimraf lib dist && mkdirp lib dist",

@@ -35,3 +35,2 @@ "prebuild": "npm run clean",

"watch": "node ../../scripts/build/_watch.js",
"oldwatch": "rollup -w -c scripts/build/rollup.config.browser.es.js",
"rollup-cjs": "rollup -c scripts/build/rollup.config.cjs.js && rollup -c scripts/build/rollup.config.browser.cjs.js",

@@ -42,3 +41,2 @@ "rollup-es": "rollup -c scripts/build/rollup.config.es.js && rollup -c scripts/build/rollup.config.browser.es.js",

"minify-dist": "uglifyjs -mc < dist/analytics.js > dist/analytics.min.js",
"oldbuild": "npm-run-all clean rollup minify-dist",
"publish": "git push origin && git push origin --tags",

@@ -63,2 +61,5 @@ "release:patch": "npm version patch && npm publish",

"ava": {
"files": [
"**/**/*.test.js"
],
"require": [

@@ -68,2 +69,4 @@ "esm",

],
"verbose": true,
"failFast": true,
"sources": [

@@ -75,9 +78,9 @@ "**/*.{js,jsx}"

"@ampproject/rollup-plugin-closure-compiler": "^0.8.5",
"@babel/core": "^7.2.2",
"@babel/core": "^7.5.4",
"@babel/plugin-proposal-class-properties": "^7.3.3",
"@babel/plugin-transform-runtime": "^7.2.0",
"@babel/preset-env": "^7.3.1",
"@babel/preset-env": "^7.5.4",
"@babel/register": "^7.0.0",
"@babel/runtime": "^7.3.1",
"ava": "^1.2.1",
"ava": "^2.2.0",
"mkdirp": "^0.5.1",

@@ -100,3 +103,3 @@ "npm-run-all": "^4.1.5",

},
"gitHead": "11794c68f29f52c7b77a819b17f97d9e291cffda"
"gitHead": "711575c124039c34730f5744999d52bc9651a666"
}

@@ -1,2 +0,4 @@

# Analytics 📊
<a href="https://getanalytics.io">
<img src="https://user-images.githubusercontent.com/532272/61419845-ab1e9a80-a8b4-11e9-8fd1-18b9e743bb6f.png" width="450" />
</a>

@@ -20,3 +22,2 @@ A lightweight, extendable analytics library designed to work with **any** third party analytics provider to track page views, custom events, & identify users.

- [Why](#why)
- [Philosophy](#philosophy)
- [Install](#install)

@@ -62,13 +63,16 @@ - [Usage](#usage)

- [x] Queues events to send when analytic libraries are loaded
- [ ] (WIP) works offline
- [x] Works offline
## Why
Companies frequently change analytics & collection requirements. This results in adding & removing analytic services a painful time consuming process.
Companies frequently change analytics requirements based on evolving needs. This results in a lot of complexity, maintenance, & extra code when adding/removing analytic services to a site or application.
This library aims to solves that with a simple pluggable abstraction layer.
## Philosophy
**Driving philosophy:**
> You should never be locked into a tool
- You should never be locked into a analytics tool
- DX is paramount. Adding & removing analytic tools from your application should be easy
- Respecting visitor privacy settings & allowing for opt out mechanisms is crucial
- A pluggable API makes adding new business requests easy

@@ -186,9 +190,18 @@ To add or remove an analytics provider adjust the `plugins` you load into `analytics`.

Below is the core API analytics expose once initialized.
The core `analytics` API is exposed once the library is initialized with [configuration](#configuration).
Typical usage:
1. Initialize with [configuration](#configuration)
2. Export the analytics instance with third party providers (Google Analytics, HubSpot, etc)
3. Use [`page`](#analyticspage), [`identify`](#analyticsidentify), [`track`](#analyticstrack) in your app
4. [Plugin custom business logic](#creating-analytics-plugins)
<!-- AUTO-GENERATED-CONTENT:START (API_DOCS) -->
### Configuration
Analytics library
Analytics library configuration.
After the library is initialized with config, the core API is exposed and ready for use in the application.
**Arguments**

@@ -205,2 +218,4 @@

import Analytics from 'analytics'
import pluginABC from 'analytics-plugin-abc'
import pluginXYZ from 'analytics-plugin-xyz'

@@ -211,3 +226,4 @@ // initialize analytics

plugins: [
...importedPlugins
pluginABC,
pluginXYZ
]

@@ -616,14 +632,14 @@ })

- [analytics-cli](https://github.com/DavidWells/analytics/tree/master/packages/analytics-cli) CLI for `analytics` pkg [npm link](https://www.npmjs.com/package/analytics-cli).
- [analytics-plugin-crazy-egg](https://github.com/DavidWells/analytics/tree/master/packages/analytics-plugin-crazy-egg) Crazy Egg integration for 'analytics' pkg [npm link](https://www.npmjs.com/package/analytics-plugin-crazy-egg).
- [analytics-plugin-customerio](https://github.com/DavidWells/analytics/tree/master/packages/analytics-plugin-customerio) Customer.io plugin for 'analytics' [npm link](https://www.npmjs.com/package/analytics-plugin-customerio).
- [analytics-plugin-do-not-track](https://github.com/DavidWells/analytics/tree/master/packages/analytics-plugin-do-not-track) Disable tracking for opted out visitors [npm link](https://www.npmjs.com/package/analytics-plugin-do-not-track).
- [analytics-plugin-ga](https://github.com/DavidWells/analytics/tree/master/packages/analytics-plugin-ga) Google analytics integration for 'analytics' pkg [npm link](https://www.npmjs.com/package/analytics-plugin-ga).
- [analytics-plugin-google-tag-manager](https://github.com/DavidWells/analytics/tree/master/packages/analytics-plugin-google-tag-manager) Google tag manager plugin for 'analytics' pkg [npm link](https://www.npmjs.com/package/analytics-plugin-google-tag-manager).
- [analytics-plugin-lifecycle-example](https://github.com/DavidWells/analytics/tree/master/packages/analytics-plugin-lifecycle-example) Example plugin with lifecycle methods [npm link](https://www.npmjs.com/package/analytics-plugin-lifecycle-example).
- [analytics-plugin-original-source](https://github.com/DavidWells/analytics/tree/master/packages/analytics-plugin-original-source) Save original referral source of visitor [npm link](https://www.npmjs.com/package/analytics-plugin-original-source).
- [analytics-plugin-crazy-egg](https://github.com/DavidWells/analytics/tree/master/packages/analytics-plugin-crazy-egg) Crazy Egg integration for 'analytics' module [npm link](https://www.npmjs.com/package/analytics-plugin-crazy-egg).
- [analytics-plugin-customerio](https://github.com/DavidWells/analytics/tree/master/packages/analytics-plugin-customerio) Customer.io integration for 'analytics' module [npm link](https://www.npmjs.com/package/analytics-plugin-customerio).
- [analytics-plugin-do-not-track](https://github.com/DavidWells/analytics/tree/master/packages/analytics-plugin-do-not-track) Disable tracking for opted out visitors plugin for 'analytics' module [npm link](https://www.npmjs.com/package/analytics-plugin-do-not-track).
- [analytics-plugin-ga](https://github.com/DavidWells/analytics/tree/master/packages/analytics-plugin-ga) Google analytics integration for 'analytics' module [npm link](https://www.npmjs.com/package/analytics-plugin-ga).
- [analytics-plugin-google-tag-manager](https://github.com/DavidWells/analytics/tree/master/packages/analytics-plugin-google-tag-manager) Google tag manager plugin for 'analytics' module [npm link](https://www.npmjs.com/package/analytics-plugin-google-tag-manager).
- [analytics-plugin-lifecycle-example](https://github.com/DavidWells/analytics/tree/master/packages/analytics-plugin-lifecycle-example) Example plugin with lifecycle methods for 'analytics' module [npm link](https://www.npmjs.com/package/analytics-plugin-lifecycle-example).
- [analytics-plugin-original-source](https://github.com/DavidWells/analytics/tree/master/packages/analytics-plugin-original-source) Save original referral source of visitor plugin for 'analytics' module [npm link](https://www.npmjs.com/package/analytics-plugin-original-source).
- [analytics-plugin-segment](https://github.com/DavidWells/analytics/tree/master/packages/analytics-plugin-segment) Segment integration for 'analytics' module for browser & node [npm link](https://www.npmjs.com/package/analytics-plugin-segment).
- [analytics-plugin-tab-events](https://github.com/DavidWells/analytics/tree/master/packages/analytics-plugin-tab-events) Expose tab visibility events for analytics [npm link](https://www.npmjs.com/package/analytics-plugin-tab-events).
- [analytics-plugin-window-events](https://github.com/DavidWells/analytics/tree/master/packages/analytics-plugin-window-events) Expose window events for analytics [npm link](https://www.npmjs.com/package/analytics-plugin-window-events).
- [analytics-utils](https://github.com/DavidWells/analytics/tree/master/packages/analytics-utils) Analytics utility functions [npm link](https://www.npmjs.com/package/analytics-utils).
- [gatsby-plugin-analytics](https://github.com/DavidWells/analytics/tree/master/packages/gatsby-plugin-analytics) Easily add analytics to your Gatsby site. [npm link](https://www.npmjs.com/package/gatsby-plugin-analytics).
- [analytics-plugin-tab-events](https://github.com/DavidWells/analytics/tree/master/packages/analytics-plugin-tab-events) Expose tab visibility events plugin for 'analytics' module [npm link](https://www.npmjs.com/package/analytics-plugin-tab-events).
- [analytics-plugin-window-events](https://github.com/DavidWells/analytics/tree/master/packages/analytics-plugin-window-events) Expose window events plugin for 'analytics' module [npm link](https://www.npmjs.com/package/analytics-plugin-window-events).
- [analytics-utils](https://github.com/DavidWells/analytics/tree/master/packages/analytics-utils) Analytics utility functions used by 'analytics' module [npm link](https://www.npmjs.com/package/analytics-utils).
- [gatsby-plugin-analytics](https://github.com/DavidWells/analytics/tree/master/packages/gatsby-plugin-analytics) Easily add analytics to your Gatsby site [npm link](https://www.npmjs.com/package/gatsby-plugin-analytics).
- [analytics-plugin-template](https://github.com/DavidWells/analytics/tree/master/packages/plugin-template) Example plugin with browser + node module build with treeshaking [npm link](https://www.npmjs.com/package/analytics-plugin-template).

@@ -630,0 +646,0 @@ - Add yours! 👇

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc