Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

analytics-utils

Package Overview
Dependencies
Maintainers
1
Versions
53
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

analytics-utils - npm Package Compare versions

Comparing version 1.0.12 to 1.0.13

11

CHANGELOG.md

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

## [1.0.13](https://github.com/DavidWells/analytics/compare/analytics-utils@1.0.12...analytics-utils@1.0.13) (2024-12-11)
### Bug Fixes
* [#453](https://github.com/DavidWells/analytics/issues/453) param parser ([18c3671](https://github.com/DavidWells/analytics/commit/18c36712219957942ec6fdc98718caa6582461c9))
## [1.0.12](https://github.com/DavidWells/analytics/compare/analytics-utils@1.0.11...analytics-utils@1.0.12) (2023-05-27)

@@ -8,0 +19,0 @@

2

dist/analytics-utils.js

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

var e=require("dlv"),r=require("@analytics/type-utils");function t(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var n=t(e);function o(e){try{return decodeURIComponent(e.replace(/\+/g," "))}catch(e){return null}}function i(e){if(!r.isBrowser)return!1;var t=e||document.referrer;if(t){var n=window.document.location.port,o=t.split("/")[2];return n&&(o=o.replace(":"+n,"")),o!==window.location.hostname}return!1}function a(e,r){var t=(e.split("?")||[,])[1];if(!t||-1===t.indexOf(r))return e;var n=new RegExp("(\\&|\\?)"+r+'([_A-Za-z0-9"+=.\\/\\-@%]+)',"g"),o=("?"+t).replace(n,"").replace(/^&/,"?");return e.replace("?"+t,o)}function u(e){return function(e){for(var r,t=Object.create(null),n=/([^&=]+)=?([^&]*)/g;r=n.exec(e);){var i=o(r[1]),a=o(r[2]);"[]"===i.substring(i.length-2)?(t[i=i.substring(0,i.length-2)]||(t[i]=[])).push(a):t[i]=""===a||a}for(var u in t){var s=u.split("[");s.length>1&&(c(t,s.map(function(e){return e.replace(/[?[\]\\ ]/g,"")}),t[u]),delete t[u])}return t}(function(e){if(e){var t=e.match(/\?(.*)/);return t&&t[1]?t[1].split("#")[0]:""}return r.isBrowser&&window.location.search.substring(1)}(e))}function c(e,r,t){for(var n=r.length-1,o=0;o<n;++o){var i=r[o];if("__proto__"===i||"constructor"===i)break;i in e||(e[i]={}),e=e[i]}e[r[n]]=t}function s(e){if(!r.isBrowser)return null;var t=document.createElement("a");return t.setAttribute("href",e),t.hostname}function l(e){return(s(e)||"").split(".").slice(-2).join(".")}function m(e){var r=e.split(".");return r.length>1?r.slice(0,-1).join("."):e}var f={trimTld:m,getDomainBase:l,getDomainHost:s},p="q",x={"daum.net":p,"eniro.se":"search_word","naver.com":"query","yahoo.com":"p","msn.com":p,"aol.com":p,"ask.com":p,"baidu.com":"wd","yandex.com":"text","rambler.ru":"words",google:p,"bing.com":{p:p,n:"live"}};Object.defineProperty(exports,"dotProp",{enumerable:!0,get:function(){return n.default}}),exports.decodeUri=o,exports.getBrowserLocale=function(){if(r.isBrowser){var e=navigator,t=e.languages;return e.userLanguage||(t&&t.length?t[0]:e.language)}},exports.getTimeZone=function(){try{return Intl.DateTimeFormat().resolvedOptions().timeZone}catch(e){}},exports.isExternalReferrer=i,exports.isScriptLoaded=function(e){if(!r.isBrowser)return!0;var t=document.getElementsByTagName("script");return!!Object.keys(t).filter(function(n){var o=t[n].src;return r.isString(e)?-1!==o.indexOf(e):!!r.isRegex(e)&&o.match(e)}).length},exports.paramsClean=a,exports.paramsGet=function(e,r){return o((RegExp(e+"=(.+?)(&|$)").exec(r)||[,""])[1])},exports.paramsParse=u,exports.paramsRemove=function(e,t){return r.isBrowser?new Promise(function(r,n){if(window.history&&window.history.replaceState){var o=window.location.href,i=a(o,e);o!==i&&history.replaceState({},"",i)}return t&&t(),r()}):Promise.resolve()},exports.parseReferrer=function(e,t){if(!r.isBrowser)return!1;var n={source:"(direct)",medium:"(none)",campaign:"(not set)"};e&&i(e)&&(n.referrer=e);var o=function(e){if(!e||!r.isBrowser)return!1;var t=l(e),n=document.createElement("a");if(n.href=e,n.hostname.indexOf("google")>-1&&(t="google"),x[t]){var o=x[t],a=new RegExp(("string"==typeof o?o:o.p)+"=.*?([^&#]*|$)","gi"),u=n.search.match(a);return{source:o.n||m(t),medium:"organic",term:(u?u[0].split("=")[1]:"")||"(not provided)"}}var c=i(e)?"referral":"internal";return{source:n.hostname,medium:c}}(e);o&&Object.keys(o).length&&(n=Object.assign({},n,o));var a=u(t),c=Object.keys(a);if(!c.length)return n;var s=c.reduce(function(e,r){return r.match(/^utm_/)&&(e[""+r.replace(/^utm_/,"")]=a[r]),r.match(/^(d|g)clid/)&&(e.source="google",e.medium=a.gclid?"cpc":"cpm",e[r]=a[r]),e},{});return Object.assign({},n,s)},exports.throttle=function(e,r){var t,n,o,i=null,a=0,u=function(){a=new Date,i=null,o=e.apply(t,n)};return function(){var c=new Date;a||(a=c);var s=r-(c-a);return t=this,n=arguments,s<=0?(clearTimeout(i),i=null,a=c,o=e.apply(t,n)):i||(i=setTimeout(u,s)),o}},exports.url=f,exports.uuid=function(){for(var e="",r=0,t=4294967295*Math.random()|0;r++<36;){var n="xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx"[r-1],o=15&t;e+="-"==n||"4"==n?n:("x"==n?o:3&o|8).toString(16),t=r%8==0?4294967295*Math.random()|0:t>>4}return e};
var e=require("dlv"),r=require("@analytics/type-utils");function t(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var n=t(e);function o(e){try{return decodeURIComponent(e.replace(/\+/g," "))}catch(e){return null}}function i(e){if(!r.isBrowser)return!1;var t=e||document.referrer;if(t){var n=window.document.location.port,o=t.split("/")[2];return n&&(o=o.replace(":"+n,"")),o!==window.location.hostname}return!1}function a(e,r){var t=(e.split("?")||[,])[1];if(!t||-1===t.indexOf(r))return e;var n=new RegExp("(\\&|\\?)"+r+'([_A-Za-z0-9"+=.\\/\\-@%]+)',"g"),o=("?"+t).replace(n,"").replace(/^&/,"?");return e.replace("?"+t,o)}function u(e){return function(e){for(var r,t=Object.create(null),n=/([^&=]+)=?([^&]*)/g;r=n.exec(e);){var i=o(r[1]),a=o(r[2]);if("[]"===i.substring(i.length-2)){var u=t[i=i.substring(0,i.length-2)]||(t[i]=[]);t[i]=Array.isArray(u)?u:[],t[i].push(a)}else t[i]=""===a||a}for(var c in t){var l=c.split("[");l.length>1&&(s(t,l.map(function(e){return e.replace(/[?[\]\\ ]/g,"")}),t[c]),delete t[c])}return t}(function(e){if(e){var t=e.match(/\?(.*)/);return t&&t[1]?t[1].split("#")[0]:""}return r.isBrowser&&window.location.search.substring(1)}(e))}function s(e,r,t){for(var n=r.length-1,o=0;o<n;++o){var i=r[o];if("__proto__"===i||"constructor"===i)break;i in e||(e[i]={}),e=e[i]}e[r[n]]=t}function c(e){if(!r.isBrowser)return null;var t=document.createElement("a");return t.setAttribute("href",e),t.hostname}function l(e){return(c(e)||"").split(".").slice(-2).join(".")}function f(e){var r=e.split(".");return r.length>1?r.slice(0,-1).join("."):e}var m={trimTld:f,getDomainBase:l,getDomainHost:c},p="q",x={"daum.net":p,"eniro.se":"search_word","naver.com":"query","yahoo.com":"p","msn.com":p,"aol.com":p,"ask.com":p,"baidu.com":"wd","yandex.com":"text","rambler.ru":"words",google:p,"bing.com":{p:p,n:"live"}};Object.defineProperty(exports,"dotProp",{enumerable:!0,get:function(){return n.default}}),exports.decodeUri=o,exports.getBrowserLocale=function(){if(r.isBrowser){var e=navigator,t=e.languages;return e.userLanguage||(t&&t.length?t[0]:e.language)}},exports.getTimeZone=function(){try{return Intl.DateTimeFormat().resolvedOptions().timeZone}catch(e){}},exports.isExternalReferrer=i,exports.isScriptLoaded=function(e){if(!r.isBrowser)return!0;var t=document.getElementsByTagName("script");return!!Object.keys(t).filter(function(n){var o=t[n].src;return r.isString(e)?-1!==o.indexOf(e):!!r.isRegex(e)&&o.match(e)}).length},exports.paramsClean=a,exports.paramsGet=function(e,r){return o((RegExp(e+"=(.+?)(&|$)").exec(r)||[,""])[1])},exports.paramsParse=u,exports.paramsRemove=function(e,t){return r.isBrowser?new Promise(function(r,n){if(window.history&&window.history.replaceState){var o=window.location.href,i=a(o,e);o!==i&&history.replaceState({},"",i)}return t&&t(),r()}):Promise.resolve()},exports.parseReferrer=function(e,t){if(!r.isBrowser)return!1;var n={source:"(direct)",medium:"(none)",campaign:"(not set)"};e&&i(e)&&(n.referrer=e);var o=function(e){if(!e||!r.isBrowser)return!1;var t=l(e),n=document.createElement("a");if(n.href=e,n.hostname.indexOf("google")>-1&&(t="google"),x[t]){var o=x[t],a=new RegExp(("string"==typeof o?o:o.p)+"=.*?([^&#]*|$)","gi"),u=n.search.match(a);return{source:o.n||f(t),medium:"organic",term:(u?u[0].split("=")[1]:"")||"(not provided)"}}var s=i(e)?"referral":"internal";return{source:n.hostname,medium:s}}(e);o&&Object.keys(o).length&&(n=Object.assign({},n,o));var a=u(t),s=Object.keys(a);if(!s.length)return n;var c=s.reduce(function(e,r){return r.match(/^utm_/)&&(e[""+r.replace(/^utm_/,"")]=a[r]),r.match(/^(d|g)clid/)&&(e.source="google",e.medium=a.gclid?"cpc":"cpm",e[r]=a[r]),e},{});return Object.assign({},n,c)},exports.throttle=function(e,r){var t,n,o,i=null,a=0,u=function(){a=new Date,i=null,o=e.apply(t,n)};return function(){var s=new Date;a||(a=s);var c=r-(s-a);return t=this,n=arguments,c<=0?(clearTimeout(i),i=null,a=s,o=e.apply(t,n)):i||(i=setTimeout(u,c)),o}},exports.url=m,exports.uuid=function(){for(var e="",r=0,t=4294967295*Math.random()|0;r++<36;){var n="xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx"[r-1],o=15&t;e+="-"==n||"4"==n?n:("x"==n?o:3&o|8).toString(16),t=r%8==0?4294967295*Math.random()|0:t>>4}return e};
//# sourceMappingURL=analytics-utils.js.map

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

export{default as dotProp}from"dlv";import{isBrowser as e,isString as t,isRegex as n}from"@analytics/type-utils";function r(e){try{return decodeURIComponent(e.replace(/\+/g," "))}catch(e){return null}}function o(){if(!e)return;const{language:t,languages:n,userLanguage:r}=navigator;return r||(n&&n.length?n[0]:t)}function c(){try{return Intl.DateTimeFormat().resolvedOptions().timeZone}catch(e){}}function i(t){if(!e)return!1;const n=t||document.referrer;if(n){const e=window.document.location.port;let t=n.split("/")[2];return e&&(t=t.replace(`:${e}`,"")),t!==window.location.hostname}return!1}function u(r){if(!e)return!0;const o=document.getElementsByTagName("script");return!!Object.keys(o).filter(e=>{const{src:c}=o[e];return t(r)?-1!==c.indexOf(r):!!n(r)&&c.match(r)}).length}function a(e,t){const n=(e.split("?")||[,])[1];if(!n||-1===n.indexOf(t))return e;const r=new RegExp(`(\\&|\\?)${t}([_A-Za-z0-9"+=.\\/\\-@%]+)`,"g"),o=`?${n}`.replace(r,"").replace(/^&/,"?");return e.replace(`?${n}`,o)}function s(e,t){return r((RegExp(`${e}=(.+?)(&|$)`).exec(t)||[,""])[1])}function l(t){return function(e){let t,n=Object.create(null);const o=/([^&=]+)=?([^&]*)/g;for(;t=o.exec(e);){var c=r(t[1]),i=r(t[2]);"[]"===c.substring(c.length-2)?(n[c=c.substring(0,c.length-2)]||(n[c]=[])).push(i):n[c]=""===i||i}for(var u in n){var a=u.split("[");a.length>1&&(m(n,a.map(e=>e.replace(/[?[\]\\ ]/g,"")),n[u]),delete n[u])}return n}(function(t){if(t){const e=t.match(/\?(.*)/);return e&&e[1]?e[1].split("#")[0]:""}return e&&window.location.search.substring(1)}(t))}function m(e,t,n){for(var r=t.length-1,o=0;o<r;++o){var c=t[o];if("__proto__"===c||"constructor"===c)break;c in e||(e[c]={}),e=e[c]}e[t[r]]=n}function f(t,n){return e?new Promise((e,r)=>{if(window.history&&window.history.replaceState){const e=window.location.href,n=a(e,t);e!==n&&history.replaceState({},"",n)}return n&&n(),e()}):Promise.resolve()}function g(t){if(!e)return null;const n=document.createElement("a");return n.setAttribute("href",t),n.hostname}function p(e){return(g(e)||"").split(".").slice(-2).join(".")}function x(e){const t=e.split(".");return t.length>1?t.slice(0,-1).join("."):e}var d={trimTld:x,getDomainBase:p,getDomainHost:g};function h(t,n){if(!e)return!1;let r={source:"(direct)",medium:"(none)",campaign:"(not set)"};t&&i(t)&&(r.referrer=t);const o=function(t){if(!t||!e)return!1;let n=p(t);const r=document.createElement("a");if(r.href=t,r.hostname.indexOf("google")>-1&&(n="google"),v[n]){const e=v[n],t=new RegExp(("string"==typeof e?e:e.p)+"=.*?([^&#]*|$)","gi"),o=r.search.match(t);return{source:e.n||x(n),medium:"organic",term:(o?o[0].split("=")[1]:"")||"(not provided)"}}const o=i(t)?"referral":"internal";return{source:r.hostname,medium:o}}(t);o&&Object.keys(o).length&&(r=Object.assign({},r,o));const c=l(n),u=Object.keys(c);if(!u.length)return r;const a=u.reduce((e,t)=>(t.match(/^utm_/)&&(e[`${t.replace(/^utm_/,"")}`]=c[t]),t.match(/^(d|g)clid/)&&(e.source="google",e.medium=c.gclid?"cpc":"cpm",e[t]=c[t]),e),{});return Object.assign({},r,a)}const w="q",v={"daum.net":w,"eniro.se":"search_word","naver.com":"query","yahoo.com":"p","msn.com":w,"aol.com":w,"ask.com":w,"baidu.com":"wd","yandex.com":"text","rambler.ru":"words",google:w,"bing.com":{p:w,n:"live"}};function y(){for(var e="",t=0,n=4294967295*Math.random()|0;t++<36;){var r="xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx"[t-1],o=15&n;e+="-"==r||"4"==r?r:("x"==r?o:3&o|8).toString(16),n=t%8==0?4294967295*Math.random()|0:n>>4}return e}function b(e,t){var n,r,o,c=null,i=0,u=function(){i=new Date,c=null,o=e.apply(n,r)};return function(){var a=new Date;i||(i=a);var s=t-(a-i);return n=this,r=arguments,s<=0?(clearTimeout(c),c=null,i=a,o=e.apply(n,r)):c||(c=setTimeout(u,s)),o}}export{r as decodeUri,o as getBrowserLocale,c as getTimeZone,i as isExternalReferrer,u as isScriptLoaded,a as paramsClean,s as paramsGet,l as paramsParse,f as paramsRemove,h as parseReferrer,b as throttle,d as url,y as uuid};
export{default as dotProp}from"dlv";import{isBrowser as e,isString as t,isRegex as n}from"@analytics/type-utils";function r(e){try{return decodeURIComponent(e.replace(/\+/g," "))}catch(e){return null}}function o(){if(!e)return;const{language:t,languages:n,userLanguage:r}=navigator;return r||(n&&n.length?n[0]:t)}function c(){try{return Intl.DateTimeFormat().resolvedOptions().timeZone}catch(e){}}function i(t){if(!e)return!1;const n=t||document.referrer;if(n){const e=window.document.location.port;let t=n.split("/")[2];return e&&(t=t.replace(`:${e}`,"")),t!==window.location.hostname}return!1}function a(r){if(!e)return!0;const o=document.getElementsByTagName("script");return!!Object.keys(o).filter(e=>{const{src:c}=o[e];return t(r)?-1!==c.indexOf(r):!!n(r)&&c.match(r)}).length}function u(e,t){const n=(e.split("?")||[,])[1];if(!n||-1===n.indexOf(t))return e;const r=new RegExp(`(\\&|\\?)${t}([_A-Za-z0-9"+=.\\/\\-@%]+)`,"g"),o=`?${n}`.replace(r,"").replace(/^&/,"?");return e.replace(`?${n}`,o)}function s(e,t){return r((RegExp(`${e}=(.+?)(&|$)`).exec(t)||[,""])[1])}function l(t){return function(e){let t,n=Object.create(null);const o=/([^&=]+)=?([^&]*)/g;for(;t=o.exec(e);){var c=r(t[1]),i=r(t[2]);if("[]"===c.substring(c.length-2)){var a=n[c=c.substring(0,c.length-2)]||(n[c]=[]);n[c]=Array.isArray(a)?a:[],n[c].push(i)}else n[c]=""===i||i}for(var u in n){var s=u.split("[");s.length>1&&(m(n,s.map(e=>e.replace(/[?[\]\\ ]/g,"")),n[u]),delete n[u])}return n}(function(t){if(t){const e=t.match(/\?(.*)/);return e&&e[1]?e[1].split("#")[0]:""}return e&&window.location.search.substring(1)}(t))}function m(e,t,n){for(var r=t.length-1,o=0;o<r;++o){var c=t[o];if("__proto__"===c||"constructor"===c)break;c in e||(e[c]={}),e=e[c]}e[t[r]]=n}function f(t,n){return e?new Promise((e,r)=>{if(window.history&&window.history.replaceState){const e=window.location.href,n=u(e,t);e!==n&&history.replaceState({},"",n)}return n&&n(),e()}):Promise.resolve()}function g(t){if(!e)return null;const n=document.createElement("a");return n.setAttribute("href",t),n.hostname}function p(e){return(g(e)||"").split(".").slice(-2).join(".")}function x(e){const t=e.split(".");return t.length>1?t.slice(0,-1).join("."):e}var d={trimTld:x,getDomainBase:p,getDomainHost:g};function h(t,n){if(!e)return!1;let r={source:"(direct)",medium:"(none)",campaign:"(not set)"};t&&i(t)&&(r.referrer=t);const o=function(t){if(!t||!e)return!1;let n=p(t);const r=document.createElement("a");if(r.href=t,r.hostname.indexOf("google")>-1&&(n="google"),y[n]){const e=y[n],t=new RegExp(("string"==typeof e?e:e.p)+"=.*?([^&#]*|$)","gi"),o=r.search.match(t);return{source:e.n||x(n),medium:"organic",term:(o?o[0].split("=")[1]:"")||"(not provided)"}}const o=i(t)?"referral":"internal";return{source:r.hostname,medium:o}}(t);o&&Object.keys(o).length&&(r=Object.assign({},r,o));const c=l(n),a=Object.keys(c);if(!a.length)return r;const u=a.reduce((e,t)=>(t.match(/^utm_/)&&(e[`${t.replace(/^utm_/,"")}`]=c[t]),t.match(/^(d|g)clid/)&&(e.source="google",e.medium=c.gclid?"cpc":"cpm",e[t]=c[t]),e),{});return Object.assign({},r,u)}const w="q",y={"daum.net":w,"eniro.se":"search_word","naver.com":"query","yahoo.com":"p","msn.com":w,"aol.com":w,"ask.com":w,"baidu.com":"wd","yandex.com":"text","rambler.ru":"words",google:w,"bing.com":{p:w,n:"live"}};function v(){for(var e="",t=0,n=4294967295*Math.random()|0;t++<36;){var r="xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx"[t-1],o=15&n;e+="-"==r||"4"==r?r:("x"==r?o:3&o|8).toString(16),n=t%8==0?4294967295*Math.random()|0:n>>4}return e}function b(e,t){var n,r,o,c=null,i=0,a=function(){i=new Date,c=null,o=e.apply(n,r)};return function(){var u=new Date;i||(i=u);var s=t-(u-i);return n=this,r=arguments,s<=0?(clearTimeout(c),c=null,i=u,o=e.apply(n,r)):c||(c=setTimeout(a,s)),o}}export{r as decodeUri,o as getBrowserLocale,c as getTimeZone,i as isExternalReferrer,a as isScriptLoaded,u as paramsClean,s as paramsGet,l as paramsParse,f as paramsRemove,h as parseReferrer,b as throttle,d as url,v as uuid};
//# sourceMappingURL=analytics-utils.modern.js.map

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

export{default as dotProp}from"dlv";import{isBrowser as e,isString as r,isRegex as t}from"@analytics/type-utils";function n(e){try{return decodeURIComponent(e.replace(/\+/g," "))}catch(e){return null}}function o(){if(e){var r=navigator,t=r.languages;return r.userLanguage||(t&&t.length?t[0]:r.language)}}function a(){try{return Intl.DateTimeFormat().resolvedOptions().timeZone}catch(e){}}function i(r){if(!e)return!1;var t=r||document.referrer;if(t){var n=window.document.location.port,o=t.split("/")[2];return n&&(o=o.replace(":"+n,"")),o!==window.location.hostname}return!1}function u(n){if(!e)return!0;var o=document.getElementsByTagName("script");return!!Object.keys(o).filter(function(e){var a=o[e].src;return r(n)?-1!==a.indexOf(n):!!t(n)&&a.match(n)}).length}function c(e,r){var t=(e.split("?")||[,])[1];if(!t||-1===t.indexOf(r))return e;var n=new RegExp("(\\&|\\?)"+r+'([_A-Za-z0-9"+=.\\/\\-@%]+)',"g"),o=("?"+t).replace(n,"").replace(/^&/,"?");return e.replace("?"+t,o)}function l(e,r){return n((RegExp(e+"=(.+?)(&|$)").exec(r)||[,""])[1])}function s(r){return function(e){for(var r,t=Object.create(null),o=/([^&=]+)=?([^&]*)/g;r=o.exec(e);){var a=n(r[1]),i=n(r[2]);"[]"===a.substring(a.length-2)?(t[a=a.substring(0,a.length-2)]||(t[a]=[])).push(i):t[a]=""===i||i}for(var u in t){var c=u.split("[");c.length>1&&(m(t,c.map(function(e){return e.replace(/[?[\]\\ ]/g,"")}),t[u]),delete t[u])}return t}(function(r){if(r){var t=r.match(/\?(.*)/);return t&&t[1]?t[1].split("#")[0]:""}return e&&window.location.search.substring(1)}(r))}function m(e,r,t){for(var n=r.length-1,o=0;o<n;++o){var a=r[o];if("__proto__"===a||"constructor"===a)break;a in e||(e[a]={}),e=e[a]}e[r[n]]=t}function f(r,t){return e?new Promise(function(e,n){if(window.history&&window.history.replaceState){var o=window.location.href,a=c(o,r);o!==a&&history.replaceState({},"",a)}return t&&t(),e()}):Promise.resolve()}function g(r){if(!e)return null;var t=document.createElement("a");return t.setAttribute("href",r),t.hostname}function p(e){return(g(e)||"").split(".").slice(-2).join(".")}function x(e){var r=e.split(".");return r.length>1?r.slice(0,-1).join("."):e}var d={trimTld:x,getDomainBase:p,getDomainHost:g};function v(r,t){if(!e)return!1;var n={source:"(direct)",medium:"(none)",campaign:"(not set)"};r&&i(r)&&(n.referrer=r);var o=function(r){if(!r||!e)return!1;var t=p(r),n=document.createElement("a");if(n.href=r,n.hostname.indexOf("google")>-1&&(t="google"),w[t]){var o=w[t],a=new RegExp(("string"==typeof o?o:o.p)+"=.*?([^&#]*|$)","gi"),u=n.search.match(a);return{source:o.n||x(t),medium:"organic",term:(u?u[0].split("=")[1]:"")||"(not provided)"}}var c=i(r)?"referral":"internal";return{source:n.hostname,medium:c}}(r);o&&Object.keys(o).length&&(n=Object.assign({},n,o));var a=s(t),u=Object.keys(a);if(!u.length)return n;var c=u.reduce(function(e,r){return r.match(/^utm_/)&&(e[""+r.replace(/^utm_/,"")]=a[r]),r.match(/^(d|g)clid/)&&(e.source="google",e.medium=a.gclid?"cpc":"cpm",e[r]=a[r]),e},{});return Object.assign({},n,c)}var h="q",w={"daum.net":h,"eniro.se":"search_word","naver.com":"query","yahoo.com":"p","msn.com":h,"aol.com":h,"ask.com":h,"baidu.com":"wd","yandex.com":"text","rambler.ru":"words",google:h,"bing.com":{p:h,n:"live"}};function y(){for(var e="",r=0,t=4294967295*Math.random()|0;r++<36;){var n="xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx"[r-1],o=15&t;e+="-"==n||"4"==n?n:("x"==n?o:3&o|8).toString(16),t=r%8==0?4294967295*Math.random()|0:t>>4}return e}function b(e,r){var t,n,o,a=null,i=0,u=function(){i=new Date,a=null,o=e.apply(t,n)};return function(){var c=new Date;i||(i=c);var l=r-(c-i);return t=this,n=arguments,l<=0?(clearTimeout(a),a=null,i=c,o=e.apply(t,n)):a||(a=setTimeout(u,l)),o}}export{n as decodeUri,o as getBrowserLocale,a as getTimeZone,i as isExternalReferrer,u as isScriptLoaded,c as paramsClean,l as paramsGet,s as paramsParse,f as paramsRemove,v as parseReferrer,b as throttle,d as url,y as uuid};
export{default as dotProp}from"dlv";import{isBrowser as e,isString as r,isRegex as t}from"@analytics/type-utils";function n(e){try{return decodeURIComponent(e.replace(/\+/g," "))}catch(e){return null}}function o(){if(e){var r=navigator,t=r.languages;return r.userLanguage||(t&&t.length?t[0]:r.language)}}function a(){try{return Intl.DateTimeFormat().resolvedOptions().timeZone}catch(e){}}function i(r){if(!e)return!1;var t=r||document.referrer;if(t){var n=window.document.location.port,o=t.split("/")[2];return n&&(o=o.replace(":"+n,"")),o!==window.location.hostname}return!1}function u(n){if(!e)return!0;var o=document.getElementsByTagName("script");return!!Object.keys(o).filter(function(e){var a=o[e].src;return r(n)?-1!==a.indexOf(n):!!t(n)&&a.match(n)}).length}function c(e,r){var t=(e.split("?")||[,])[1];if(!t||-1===t.indexOf(r))return e;var n=new RegExp("(\\&|\\?)"+r+'([_A-Za-z0-9"+=.\\/\\-@%]+)',"g"),o=("?"+t).replace(n,"").replace(/^&/,"?");return e.replace("?"+t,o)}function l(e,r){return n((RegExp(e+"=(.+?)(&|$)").exec(r)||[,""])[1])}function s(r){return function(e){for(var r,t=Object.create(null),o=/([^&=]+)=?([^&]*)/g;r=o.exec(e);){var a=n(r[1]),i=n(r[2]);if("[]"===a.substring(a.length-2)){var u=t[a=a.substring(0,a.length-2)]||(t[a]=[]);t[a]=Array.isArray(u)?u:[],t[a].push(i)}else t[a]=""===i||i}for(var c in t){var l=c.split("[");l.length>1&&(m(t,l.map(function(e){return e.replace(/[?[\]\\ ]/g,"")}),t[c]),delete t[c])}return t}(function(r){if(r){var t=r.match(/\?(.*)/);return t&&t[1]?t[1].split("#")[0]:""}return e&&window.location.search.substring(1)}(r))}function m(e,r,t){for(var n=r.length-1,o=0;o<n;++o){var a=r[o];if("__proto__"===a||"constructor"===a)break;a in e||(e[a]={}),e=e[a]}e[r[n]]=t}function f(r,t){return e?new Promise(function(e,n){if(window.history&&window.history.replaceState){var o=window.location.href,a=c(o,r);o!==a&&history.replaceState({},"",a)}return t&&t(),e()}):Promise.resolve()}function g(r){if(!e)return null;var t=document.createElement("a");return t.setAttribute("href",r),t.hostname}function p(e){return(g(e)||"").split(".").slice(-2).join(".")}function x(e){var r=e.split(".");return r.length>1?r.slice(0,-1).join("."):e}var d={trimTld:x,getDomainBase:p,getDomainHost:g};function v(r,t){if(!e)return!1;var n={source:"(direct)",medium:"(none)",campaign:"(not set)"};r&&i(r)&&(n.referrer=r);var o=function(r){if(!r||!e)return!1;var t=p(r),n=document.createElement("a");if(n.href=r,n.hostname.indexOf("google")>-1&&(t="google"),w[t]){var o=w[t],a=new RegExp(("string"==typeof o?o:o.p)+"=.*?([^&#]*|$)","gi"),u=n.search.match(a);return{source:o.n||x(t),medium:"organic",term:(u?u[0].split("=")[1]:"")||"(not provided)"}}var c=i(r)?"referral":"internal";return{source:n.hostname,medium:c}}(r);o&&Object.keys(o).length&&(n=Object.assign({},n,o));var a=s(t),u=Object.keys(a);if(!u.length)return n;var c=u.reduce(function(e,r){return r.match(/^utm_/)&&(e[""+r.replace(/^utm_/,"")]=a[r]),r.match(/^(d|g)clid/)&&(e.source="google",e.medium=a.gclid?"cpc":"cpm",e[r]=a[r]),e},{});return Object.assign({},n,c)}var h="q",w={"daum.net":h,"eniro.se":"search_word","naver.com":"query","yahoo.com":"p","msn.com":h,"aol.com":h,"ask.com":h,"baidu.com":"wd","yandex.com":"text","rambler.ru":"words",google:h,"bing.com":{p:h,n:"live"}};function y(){for(var e="",r=0,t=4294967295*Math.random()|0;r++<36;){var n="xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx"[r-1],o=15&t;e+="-"==n||"4"==n?n:("x"==n?o:3&o|8).toString(16),t=r%8==0?4294967295*Math.random()|0:t>>4}return e}function b(e,r){var t,n,o,a=null,i=0,u=function(){i=new Date,a=null,o=e.apply(t,n)};return function(){var c=new Date;i||(i=c);var l=r-(c-i);return t=this,n=arguments,l<=0?(clearTimeout(a),a=null,i=c,o=e.apply(t,n)):a||(a=setTimeout(u,l)),o}}export{n as decodeUri,o as getBrowserLocale,a as getTimeZone,i as isExternalReferrer,u as isScriptLoaded,c as paramsClean,l as paramsGet,s as paramsParse,f as paramsRemove,v as parseReferrer,b as throttle,d as url,y as uuid};
//# sourceMappingURL=analytics-utils.module.js.map

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

!function(e,r){"object"==typeof exports&&"undefined"!=typeof module?r(exports,require("dlv"),require("@analytics/type-utils")):"function"==typeof define&&define.amd?define(["exports","dlv","@analytics/type-utils"],r):r((e||self).analyticUtil={},e.dlv,e.typeUtils)}(this,function(e,r,t){function n(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var i=n(r);function o(e){try{return decodeURIComponent(e.replace(/\+/g," "))}catch(e){return null}}function a(e){if(!t.isBrowser)return!1;var r=e||document.referrer;if(r){var n=window.document.location.port,i=r.split("/")[2];return n&&(i=i.replace(":"+n,"")),i!==window.location.hostname}return!1}function u(e,r){var t=(e.split("?")||[,])[1];if(!t||-1===t.indexOf(r))return e;var n=new RegExp("(\\&|\\?)"+r+'([_A-Za-z0-9"+=.\\/\\-@%]+)',"g"),i=("?"+t).replace(n,"").replace(/^&/,"?");return e.replace("?"+t,i)}function c(e){return function(e){for(var r,t=Object.create(null),n=/([^&=]+)=?([^&]*)/g;r=n.exec(e);){var i=o(r[1]),a=o(r[2]);"[]"===i.substring(i.length-2)?(t[i=i.substring(0,i.length-2)]||(t[i]=[])).push(a):t[i]=""===a||a}for(var u in t){var c=u.split("[");c.length>1&&(s(t,c.map(function(e){return e.replace(/[?[\]\\ ]/g,"")}),t[u]),delete t[u])}return t}(function(e){if(e){var r=e.match(/\?(.*)/);return r&&r[1]?r[1].split("#")[0]:""}return t.isBrowser&&window.location.search.substring(1)}(e))}function s(e,r,t){for(var n=r.length-1,i=0;i<n;++i){var o=r[i];if("__proto__"===o||"constructor"===o)break;o in e||(e[o]={}),e=e[o]}e[r[n]]=t}function l(e){if(!t.isBrowser)return null;var r=document.createElement("a");return r.setAttribute("href",e),r.hostname}function f(e){return(l(e)||"").split(".").slice(-2).join(".")}function m(e){var r=e.split(".");return r.length>1?r.slice(0,-1).join("."):e}var d={trimTld:m,getDomainBase:f,getDomainHost:l},p="google",g="q",x={"daum.net":g,"eniro.se":"search_word","naver.com":"query","yahoo.com":"p","msn.com":g,"aol.com":g,"ask.com":g,"baidu.com":"wd","yandex.com":"text","rambler.ru":"words",google:g,"bing.com":{p:g,n:"live"}};Object.defineProperty(e,"dotProp",{enumerable:!0,get:function(){return i.default}}),e.decodeUri=o,e.getBrowserLocale=function(){if(t.isBrowser){var e=navigator,r=e.languages;return e.userLanguage||(r&&r.length?r[0]:e.language)}},e.getTimeZone=function(){try{return Intl.DateTimeFormat().resolvedOptions().timeZone}catch(e){}},e.isExternalReferrer=a,e.isScriptLoaded=function(e){if(!t.isBrowser)return!0;var r=document.getElementsByTagName("script");return!!Object.keys(r).filter(function(n){var i=r[n].src;return t.isString(e)?-1!==i.indexOf(e):!!t.isRegex(e)&&i.match(e)}).length},e.paramsClean=u,e.paramsGet=function(e,r){return o((RegExp(e+"=(.+?)(&|$)").exec(r)||[,""])[1])},e.paramsParse=c,e.paramsRemove=function(e,r){return t.isBrowser?new Promise(function(t,n){if(window.history&&window.history.replaceState){var i=window.location.href,o=u(i,e);i!==o&&history.replaceState({},"",o)}return r&&r(),t()}):Promise.resolve()},e.parseReferrer=function(e,r){if(!t.isBrowser)return!1;var n={source:"(direct)",medium:"(none)",campaign:"(not set)"};e&&a(e)&&(n.referrer=e);var i=function(e){if(!e||!t.isBrowser)return!1;var r=f(e),n=document.createElement("a");if(n.href=e,n.hostname.indexOf(p)>-1&&(r=p),x[r]){var i=x[r],o=new RegExp(("string"==typeof i?i:i.p)+"=.*?([^&#]*|$)","gi"),u=n.search.match(o);return{source:i.n||m(r),medium:"organic",term:(u?u[0].split("=")[1]:"")||"(not provided)"}}var c=a(e)?"referral":"internal";return{source:n.hostname,medium:c}}(e);i&&Object.keys(i).length&&(n=Object.assign({},n,i));var o=c(r),u=Object.keys(o);if(!u.length)return n;var s=u.reduce(function(e,r){return r.match(/^utm_/)&&(e[""+r.replace(/^utm_/,"")]=o[r]),r.match(/^(d|g)clid/)&&(e.source=p,e.medium=o.gclid?"cpc":"cpm",e[r]=o[r]),e},{});return Object.assign({},n,s)},e.throttle=function(e,r){var t,n,i,o=null,a=0,u=function(){a=new Date,o=null,i=e.apply(t,n)};return function(){var c=new Date;a||(a=c);var s=r-(c-a);return t=this,n=arguments,s<=0?(clearTimeout(o),o=null,a=c,i=e.apply(t,n)):o||(o=setTimeout(u,s)),i}},e.url=d,e.uuid=function(){for(var e="",r=0,t=4294967295*Math.random()|0;r++<36;){var n="xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx"[r-1],i=15&t;e+="-"==n||"4"==n?n:("x"==n?i:3&i|8).toString(16),t=r%8==0?4294967295*Math.random()|0:t>>4}return e}});
!function(e,r){"object"==typeof exports&&"undefined"!=typeof module?r(exports,require("dlv"),require("@analytics/type-utils")):"function"==typeof define&&define.amd?define(["exports","dlv","@analytics/type-utils"],r):r((e||self).analyticUtil={},e.dlv,e.typeUtils)}(this,function(e,r,t){function n(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var i=n(r);function o(e){try{return decodeURIComponent(e.replace(/\+/g," "))}catch(e){return null}}function a(e){if(!t.isBrowser)return!1;var r=e||document.referrer;if(r){var n=window.document.location.port,i=r.split("/")[2];return n&&(i=i.replace(":"+n,"")),i!==window.location.hostname}return!1}function u(e,r){var t=(e.split("?")||[,])[1];if(!t||-1===t.indexOf(r))return e;var n=new RegExp("(\\&|\\?)"+r+'([_A-Za-z0-9"+=.\\/\\-@%]+)',"g"),i=("?"+t).replace(n,"").replace(/^&/,"?");return e.replace("?"+t,i)}function c(e){return function(e){for(var r,t=Object.create(null),n=/([^&=]+)=?([^&]*)/g;r=n.exec(e);){var i=o(r[1]),a=o(r[2]);if("[]"===i.substring(i.length-2)){var u=t[i=i.substring(0,i.length-2)]||(t[i]=[]);t[i]=Array.isArray(u)?u:[],t[i].push(a)}else t[i]=""===a||a}for(var c in t){var l=c.split("[");l.length>1&&(s(t,l.map(function(e){return e.replace(/[?[\]\\ ]/g,"")}),t[c]),delete t[c])}return t}(function(e){if(e){var r=e.match(/\?(.*)/);return r&&r[1]?r[1].split("#")[0]:""}return t.isBrowser&&window.location.search.substring(1)}(e))}function s(e,r,t){for(var n=r.length-1,i=0;i<n;++i){var o=r[i];if("__proto__"===o||"constructor"===o)break;o in e||(e[o]={}),e=e[o]}e[r[n]]=t}function l(e){if(!t.isBrowser)return null;var r=document.createElement("a");return r.setAttribute("href",e),r.hostname}function f(e){return(l(e)||"").split(".").slice(-2).join(".")}function m(e){var r=e.split(".");return r.length>1?r.slice(0,-1).join("."):e}var d={trimTld:m,getDomainBase:f,getDomainHost:l},p="google",g="q",x={"daum.net":g,"eniro.se":"search_word","naver.com":"query","yahoo.com":"p","msn.com":g,"aol.com":g,"ask.com":g,"baidu.com":"wd","yandex.com":"text","rambler.ru":"words",google:g,"bing.com":{p:g,n:"live"}};Object.defineProperty(e,"dotProp",{enumerable:!0,get:function(){return i.default}}),e.decodeUri=o,e.getBrowserLocale=function(){if(t.isBrowser){var e=navigator,r=e.languages;return e.userLanguage||(r&&r.length?r[0]:e.language)}},e.getTimeZone=function(){try{return Intl.DateTimeFormat().resolvedOptions().timeZone}catch(e){}},e.isExternalReferrer=a,e.isScriptLoaded=function(e){if(!t.isBrowser)return!0;var r=document.getElementsByTagName("script");return!!Object.keys(r).filter(function(n){var i=r[n].src;return t.isString(e)?-1!==i.indexOf(e):!!t.isRegex(e)&&i.match(e)}).length},e.paramsClean=u,e.paramsGet=function(e,r){return o((RegExp(e+"=(.+?)(&|$)").exec(r)||[,""])[1])},e.paramsParse=c,e.paramsRemove=function(e,r){return t.isBrowser?new Promise(function(t,n){if(window.history&&window.history.replaceState){var i=window.location.href,o=u(i,e);i!==o&&history.replaceState({},"",o)}return r&&r(),t()}):Promise.resolve()},e.parseReferrer=function(e,r){if(!t.isBrowser)return!1;var n={source:"(direct)",medium:"(none)",campaign:"(not set)"};e&&a(e)&&(n.referrer=e);var i=function(e){if(!e||!t.isBrowser)return!1;var r=f(e),n=document.createElement("a");if(n.href=e,n.hostname.indexOf(p)>-1&&(r=p),x[r]){var i=x[r],o=new RegExp(("string"==typeof i?i:i.p)+"=.*?([^&#]*|$)","gi"),u=n.search.match(o);return{source:i.n||m(r),medium:"organic",term:(u?u[0].split("=")[1]:"")||"(not provided)"}}var c=a(e)?"referral":"internal";return{source:n.hostname,medium:c}}(e);i&&Object.keys(i).length&&(n=Object.assign({},n,i));var o=c(r),u=Object.keys(o);if(!u.length)return n;var s=u.reduce(function(e,r){return r.match(/^utm_/)&&(e[""+r.replace(/^utm_/,"")]=o[r]),r.match(/^(d|g)clid/)&&(e.source=p,e.medium=o.gclid?"cpc":"cpm",e[r]=o[r]),e},{});return Object.assign({},n,s)},e.throttle=function(e,r){var t,n,i,o=null,a=0,u=function(){a=new Date,o=null,i=e.apply(t,n)};return function(){var c=new Date;a||(a=c);var s=r-(c-a);return t=this,n=arguments,s<=0?(clearTimeout(o),o=null,a=c,i=e.apply(t,n)):o||(o=setTimeout(u,s)),i}},e.url=d,e.uuid=function(){for(var e="",r=0,t=4294967295*Math.random()|0;r++<36;){var n="xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx"[r-1],i=15&t;e+="-"==n||"4"==n?n:("x"==n?i:3&i|8).toString(16),t=r%8==0?4294967295*Math.random()|0:t>>4}return e}});
//# sourceMappingURL=analytics-utils.umd.js.map

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

var analyticUtil=function(e){var n,r,t=(n=function(e,n){e.exports=function(e,n,r,t,o){for(n=n.split?n.split("."):n,t=0;t<n.length;t++)e=e?e[n[t]]:o;return e===o?r:e}},n(r={exports:{}}),r.exports);function o(e){try{return decodeURIComponent(e.replace(/\+/g," "))}catch(e){return null}}"undefined"==typeof process||process;var i="undefined"!=typeof document;function u(e,n){return n.charAt(0)[e]()+n.slice(1)}"undefined"!=typeof Deno&&Deno,i&&"nodejs"===window.name||"undefined"!=typeof navigator&&void 0!==navigator.userAgent&&(navigator.userAgent.includes("Node.js")||navigator.userAgent.includes("jsdom"));var a=u.bind(null,"toUpperCase"),c=u.bind(null,"toLowerCase");function l(e,n){void 0===n&&(n=!0);var r=function(e){return m(e)?a("null"):"object"==typeof e?function(e){return f(e.constructor)?e.constructor.name:null}(e):Object.prototype.toString.call(e).slice(8,-1)}(e);return n?c(r):r}function s(e,n){return typeof n===e}var f=s.bind(null,"function"),d=s.bind(null,"string");function m(e){return null===e}function p(e,n){if("object"!=typeof n||m(n))return!1;if(n instanceof e)return!0;var r=l(new e(""));if(function(e){return e instanceof Error||d(e.message)&&e.constructor&&function(e){return"number"===l(e)&&!isNaN(e)}(e.constructor.stackTraceLimit)}(n))for(;n;){if(l(n)===r)return!0;n=Object.getPrototypeOf(n)}return!1}function g(e,n){var r=e instanceof Element||e instanceof HTMLDocument;return r&&n?function(e,n){return void 0===n&&(n=""),e&&e.nodeName===n.toUpperCase()}(e,n):r}function v(e){var n=[].slice.call(arguments,1);return function(){return e.apply(void 0,[].slice.call(arguments).concat(n))}}function x(e){if(!i)return!1;var n=e||document.referrer;if(n){var r=window.document.location.port,t=n.split("/")[2];return r&&(t=t.replace(":"+r,"")),t!==window.location.hostname}return!1}function h(e,n){var r=(e.split("?")||[,])[1];if(!r||-1===r.indexOf(n))return e;var t=new RegExp("(\\&|\\?)"+n+'([_A-Za-z0-9"+=.\\/\\-@%]+)',"g"),o=("?"+r).replace(t,"").replace(/^&/,"?");return e.replace("?"+r,o)}function b(e){return function(e){for(var n,r=Object.create(null),t=/([^&=]+)=?([^&]*)/g;n=t.exec(e);){var i=o(n[1]),u=o(n[2]);"[]"===i.substring(i.length-2)?(r[i=i.substring(0,i.length-2)]||(r[i]=[])).push(u):r[i]=""===u||u}for(var a in r){var c=a.split("[");c.length>1&&(y(r,c.map(function(e){return e.replace(/[?[\]\\ ]/g,"")}),r[a]),delete r[a])}return r}(function(e){if(e){var n=e.match(/\?(.*)/);return n&&n[1]?n[1].split("#")[0]:""}return i&&window.location.search.substring(1)}(e))}function y(e,n,r){for(var t=n.length-1,o=0;o<t;++o){var i=n[o];if("__proto__"===i||"constructor"===i)break;i in e||(e[i]={}),e=e[i]}e[n[t]]=r}function w(e){if(!i)return null;var n=document.createElement("a");return n.setAttribute("href",e),n.hostname}function j(e){return(w(e)||"").split(".").slice(-2).join(".")}function O(e){var n=e.split(".");return n.length>1?n.slice(0,-1).join("."):e}s.bind(null,"undefined"),s.bind(null,"boolean"),s.bind(null,"symbol"),p.bind(null,TypeError),p.bind(null,SyntaxError),v(g,"form"),v(g,"button"),v(g,"input"),v(g,"select");var E={trimTld:O,getDomainBase:j,getDomainHost:w},T="google",D="q",R={"daum.net":D,"eniro.se":"search_word","naver.com":"query","yahoo.com":"p","msn.com":D,"aol.com":D,"ask.com":D,"baidu.com":"wd","yandex.com":"text","rambler.ru":"words",google:D,"bing.com":{p:D,n:"live"}};return e.decodeUri=o,e.dotProp=t,e.getBrowserLocale=function(){if(i){var e=navigator,n=e.languages;return e.userLanguage||(n&&n.length?n[0]:e.language)}},e.getTimeZone=function(){try{return Intl.DateTimeFormat().resolvedOptions().timeZone}catch(e){}},e.isExternalReferrer=x,e.isScriptLoaded=function(e){if(!i)return!0;var n=document.getElementsByTagName("script");return!!Object.keys(n).filter(function(r){var t=n[r].src;return d(e)?-1!==t.indexOf(e):e instanceof RegExp&&t.match(e)}).length},e.paramsClean=h,e.paramsGet=function(e,n){return o((RegExp(e+"=(.+?)(&|$)").exec(n)||[,""])[1])},e.paramsParse=b,e.paramsRemove=function(e,n){return i?new Promise(function(r,t){if(window.history&&window.history.replaceState){var o=window.location.href,i=h(o,e);o!==i&&history.replaceState({},"",i)}return n&&n(),r()}):Promise.resolve()},e.parseReferrer=function(e,n){if(!i)return!1;var r={source:"(direct)",medium:"(none)",campaign:"(not set)"};e&&x(e)&&(r.referrer=e);var t=function(e){if(!e||!i)return!1;var n=j(e),r=document.createElement("a");if(r.href=e,r.hostname.indexOf(T)>-1&&(n=T),R[n]){var t=R[n],o=new RegExp(("string"==typeof t?t:t.p)+"=.*?([^&#]*|$)","gi"),u=r.search.match(o);return{source:t.n||O(n),medium:"organic",term:(u?u[0].split("=")[1]:"")||"(not provided)"}}var a=x(e)?"referral":"internal";return{source:r.hostname,medium:a}}(e);t&&Object.keys(t).length&&(r=Object.assign({},r,t));var o=b(n),u=Object.keys(o);if(!u.length)return r;var a=u.reduce(function(e,n){return n.match(/^utm_/)&&(e[""+n.replace(/^utm_/,"")]=o[n]),n.match(/^(d|g)clid/)&&(e.source=T,e.medium=o.gclid?"cpc":"cpm",e[n]=o[n]),e},{});return Object.assign({},r,a)},e.throttle=function(e,n){var r,t,o,i=null,u=0,a=function(){u=new Date,i=null,o=e.apply(r,t)};return function(){var c=new Date;u||(u=c);var l=n-(c-u);return r=this,t=arguments,l<=0?(clearTimeout(i),i=null,u=c,o=e.apply(r,t)):i||(i=setTimeout(a,l)),o}},e.url=E,e.uuid=function(){for(var e="",n=0,r=4294967295*Math.random()|0;n++<36;){var t="xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx"[n-1],o=15&r;e+="-"==t||"4"==t?t:("x"==t?o:3&o|8).toString(16),r=n%8==0?4294967295*Math.random()|0:r>>4}return e},e}({});
var analyticUtil=function(e){var n,r,t=(n=function(e,n){e.exports=function(e,n,r,t,o){for(n=n.split?n.split("."):n,t=0;t<n.length;t++)e=e?e[n[t]]:o;return e===o?r:e}},n(r={exports:{}}),r.exports);function o(e){try{return decodeURIComponent(e.replace(/\+/g," "))}catch(e){return null}}"undefined"==typeof process||process;var i="undefined"!=typeof document;function u(e,n){return n.charAt(0)[e]()+n.slice(1)}"undefined"!=typeof Deno&&Deno,i&&"nodejs"===window.name||"undefined"!=typeof navigator&&void 0!==navigator.userAgent&&(navigator.userAgent.includes("Node.js")||navigator.userAgent.includes("jsdom"));var a=u.bind(null,"toUpperCase"),c=u.bind(null,"toLowerCase");function l(e,n){void 0===n&&(n=!0);var r=function(e){return m(e)?a("null"):"object"==typeof e?function(e){return f(e.constructor)?e.constructor.name:null}(e):Object.prototype.toString.call(e).slice(8,-1)}(e);return n?c(r):r}function s(e,n){return typeof n===e}var f=s.bind(null,"function"),d=s.bind(null,"string");function m(e){return null===e}function p(e,n){if("object"!=typeof n||m(n))return!1;if(n instanceof e)return!0;var r=l(new e(""));if(function(e){return e instanceof Error||d(e.message)&&e.constructor&&function(e){return"number"===l(e)&&!isNaN(e)}(e.constructor.stackTraceLimit)}(n))for(;n;){if(l(n)===r)return!0;n=Object.getPrototypeOf(n)}return!1}function g(e,n){var r=e instanceof Element||e instanceof HTMLDocument;return r&&n?function(e,n){return void 0===n&&(n=""),e&&e.nodeName===n.toUpperCase()}(e,n):r}function v(e){var n=[].slice.call(arguments,1);return function(){return e.apply(void 0,[].slice.call(arguments).concat(n))}}function x(e){if(!i)return!1;var n=e||document.referrer;if(n){var r=window.document.location.port,t=n.split("/")[2];return r&&(t=t.replace(":"+r,"")),t!==window.location.hostname}return!1}function h(e,n){var r=(e.split("?")||[,])[1];if(!r||-1===r.indexOf(n))return e;var t=new RegExp("(\\&|\\?)"+n+'([_A-Za-z0-9"+=.\\/\\-@%]+)',"g"),o=("?"+r).replace(t,"").replace(/^&/,"?");return e.replace("?"+r,o)}function y(e){return function(e){for(var n,r=Object.create(null),t=/([^&=]+)=?([^&]*)/g;n=t.exec(e);){var i=o(n[1]),u=o(n[2]);if("[]"===i.substring(i.length-2)){var a=r[i=i.substring(0,i.length-2)]||(r[i]=[]);r[i]=Array.isArray(a)?a:[],r[i].push(u)}else r[i]=""===u||u}for(var c in r){var l=c.split("[");l.length>1&&(b(r,l.map(function(e){return e.replace(/[?[\]\\ ]/g,"")}),r[c]),delete r[c])}return r}(function(e){if(e){var n=e.match(/\?(.*)/);return n&&n[1]?n[1].split("#")[0]:""}return i&&window.location.search.substring(1)}(e))}function b(e,n,r){for(var t=n.length-1,o=0;o<t;++o){var i=n[o];if("__proto__"===i||"constructor"===i)break;i in e||(e[i]={}),e=e[i]}e[n[t]]=r}function w(e){if(!i)return null;var n=document.createElement("a");return n.setAttribute("href",e),n.hostname}function j(e){return(w(e)||"").split(".").slice(-2).join(".")}function O(e){var n=e.split(".");return n.length>1?n.slice(0,-1).join("."):e}s.bind(null,"undefined"),s.bind(null,"boolean"),s.bind(null,"symbol"),p.bind(null,TypeError),p.bind(null,SyntaxError),v(g,"form"),v(g,"button"),v(g,"input"),v(g,"select");var E={trimTld:O,getDomainBase:j,getDomainHost:w},T="google",A="q",D={"daum.net":A,"eniro.se":"search_word","naver.com":"query","yahoo.com":"p","msn.com":A,"aol.com":A,"ask.com":A,"baidu.com":"wd","yandex.com":"text","rambler.ru":"words",google:A,"bing.com":{p:A,n:"live"}};return e.decodeUri=o,e.dotProp=t,e.getBrowserLocale=function(){if(i){var e=navigator,n=e.languages;return e.userLanguage||(n&&n.length?n[0]:e.language)}},e.getTimeZone=function(){try{return Intl.DateTimeFormat().resolvedOptions().timeZone}catch(e){}},e.isExternalReferrer=x,e.isScriptLoaded=function(e){if(!i)return!0;var n=document.getElementsByTagName("script");return!!Object.keys(n).filter(function(r){var t=n[r].src;return d(e)?-1!==t.indexOf(e):e instanceof RegExp&&t.match(e)}).length},e.paramsClean=h,e.paramsGet=function(e,n){return o((RegExp(e+"=(.+?)(&|$)").exec(n)||[,""])[1])},e.paramsParse=y,e.paramsRemove=function(e,n){return i?new Promise(function(r,t){if(window.history&&window.history.replaceState){var o=window.location.href,i=h(o,e);o!==i&&history.replaceState({},"",i)}return n&&n(),r()}):Promise.resolve()},e.parseReferrer=function(e,n){if(!i)return!1;var r={source:"(direct)",medium:"(none)",campaign:"(not set)"};e&&x(e)&&(r.referrer=e);var t=function(e){if(!e||!i)return!1;var n=j(e),r=document.createElement("a");if(r.href=e,r.hostname.indexOf(T)>-1&&(n=T),D[n]){var t=D[n],o=new RegExp(("string"==typeof t?t:t.p)+"=.*?([^&#]*|$)","gi"),u=r.search.match(o);return{source:t.n||O(n),medium:"organic",term:(u?u[0].split("=")[1]:"")||"(not provided)"}}var a=x(e)?"referral":"internal";return{source:r.hostname,medium:a}}(e);t&&Object.keys(t).length&&(r=Object.assign({},r,t));var o=y(n),u=Object.keys(o);if(!u.length)return r;var a=u.reduce(function(e,n){return n.match(/^utm_/)&&(e[""+n.replace(/^utm_/,"")]=o[n]),n.match(/^(d|g)clid/)&&(e.source=T,e.medium=o.gclid?"cpc":"cpm",e[n]=o[n]),e},{});return Object.assign({},r,a)},e.throttle=function(e,n){var r,t,o,i=null,u=0,a=function(){u=new Date,i=null,o=e.apply(r,t)};return function(){var c=new Date;u||(u=c);var l=n-(c-u);return r=this,t=arguments,l<=0?(clearTimeout(i),i=null,u=c,o=e.apply(r,t)):i||(i=setTimeout(a,l)),o}},e.url=E,e.uuid=function(){for(var e="",n=0,r=4294967295*Math.random()|0;n++<36;){var t="xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx"[n-1],o=15&r;e+="-"==t||"4"==t?t:("x"==t?o:3&o|8).toString(16),r=n%8==0?4294967295*Math.random()|0:r>>4}return e},e}({});
//# sourceMappingURL=analytics-utils.js.map

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

!function(e,n){"object"==typeof exports&&"undefined"!=typeof module?n(exports):"function"==typeof define&&define.amd?define(["exports"],n):n((e||self).analyticUtil={})}(this,function(e){var n=function(e){var n={exports:{}};return function(e,n){e.exports=function(e,n,r,t,o){for(n=n.split?n.split("."):n,t=0;t<n.length;t++)e=e?e[n[t]]:o;return e===o?r:e}}(n),n.exports}();function r(e){try{return decodeURIComponent(e.replace(/\+/g," "))}catch(e){return null}}"undefined"==typeof process||process;var t="undefined"!=typeof document;function o(e,n){return n.charAt(0)[e]()+n.slice(1)}"undefined"!=typeof Deno&&Deno,t&&"nodejs"===window.name||"undefined"!=typeof navigator&&void 0!==navigator.userAgent&&(navigator.userAgent.includes("Node.js")||navigator.userAgent.includes("jsdom"));var i=o.bind(null,"toUpperCase"),u=o.bind(null,"toLowerCase");function a(e,n){void 0===n&&(n=!0);var r=function(e){return f(e)?i("null"):"object"==typeof e?function(e){return l(e.constructor)?e.constructor.name:null}(e):Object.prototype.toString.call(e).slice(8,-1)}(e);return n?u(r):r}function c(e,n){return typeof n===e}var l=c.bind(null,"function"),s=c.bind(null,"string");function f(e){return null===e}function d(e,n){if("object"!=typeof n||f(n))return!1;if(n instanceof e)return!0;var r=a(new e(""));if(function(e){return e instanceof Error||s(e.message)&&e.constructor&&function(e){return"number"===a(e)&&!isNaN(e)}(e.constructor.stackTraceLimit)}(n))for(;n;){if(a(n)===r)return!0;n=Object.getPrototypeOf(n)}return!1}function p(e,n){var r=e instanceof Element||e instanceof HTMLDocument;return r&&n?function(e,n){return void 0===n&&(n=""),e&&e.nodeName===n.toUpperCase()}(e,n):r}function m(e){var n=[].slice.call(arguments,1);return function(){return e.apply(void 0,[].slice.call(arguments).concat(n))}}function g(e){if(!t)return!1;var n=e||document.referrer;if(n){var r=window.document.location.port,o=n.split("/")[2];return r&&(o=o.replace(":"+r,"")),o!==window.location.hostname}return!1}function v(e,n){var r=(e.split("?")||[,])[1];if(!r||-1===r.indexOf(n))return e;var t=new RegExp("(\\&|\\?)"+n+'([_A-Za-z0-9"+=.\\/\\-@%]+)',"g"),o=("?"+r).replace(t,"").replace(/^&/,"?");return e.replace("?"+r,o)}function x(e){return function(e){for(var n,t=Object.create(null),o=/([^&=]+)=?([^&]*)/g;n=o.exec(e);){var i=r(n[1]),u=r(n[2]);"[]"===i.substring(i.length-2)?(t[i=i.substring(0,i.length-2)]||(t[i]=[])).push(u):t[i]=""===u||u}for(var a in t){var c=a.split("[");c.length>1&&(h(t,c.map(function(e){return e.replace(/[?[\]\\ ]/g,"")}),t[a]),delete t[a])}return t}(function(e){if(e){var n=e.match(/\?(.*)/);return n&&n[1]?n[1].split("#")[0]:""}return t&&window.location.search.substring(1)}(e))}function h(e,n,r){for(var t=n.length-1,o=0;o<t;++o){var i=n[o];if("__proto__"===i||"constructor"===i)break;i in e||(e[i]={}),e=e[i]}e[n[t]]=r}function b(e){if(!t)return null;var n=document.createElement("a");return n.setAttribute("href",e),n.hostname}function y(e){return(b(e)||"").split(".").slice(-2).join(".")}function w(e){var n=e.split(".");return n.length>1?n.slice(0,-1).join("."):e}c.bind(null,"undefined"),c.bind(null,"boolean"),c.bind(null,"symbol"),d.bind(null,TypeError),d.bind(null,SyntaxError),m(p,"form"),m(p,"button"),m(p,"input"),m(p,"select");var j={trimTld:w,getDomainBase:y,getDomainHost:b},O="google",E="q",T={"daum.net":E,"eniro.se":"search_word","naver.com":"query","yahoo.com":"p","msn.com":E,"aol.com":E,"ask.com":E,"baidu.com":"wd","yandex.com":"text","rambler.ru":"words",google:E,"bing.com":{p:E,n:"live"}};e.decodeUri=r,e.dotProp=n,e.getBrowserLocale=function(){if(t){var e=navigator,n=e.languages;return e.userLanguage||(n&&n.length?n[0]:e.language)}},e.getTimeZone=function(){try{return Intl.DateTimeFormat().resolvedOptions().timeZone}catch(e){}},e.isExternalReferrer=g,e.isScriptLoaded=function(e){if(!t)return!0;var n=document.getElementsByTagName("script");return!!Object.keys(n).filter(function(r){var t=n[r].src;return s(e)?-1!==t.indexOf(e):e instanceof RegExp&&t.match(e)}).length},e.paramsClean=v,e.paramsGet=function(e,n){return r((RegExp(e+"=(.+?)(&|$)").exec(n)||[,""])[1])},e.paramsParse=x,e.paramsRemove=function(e,n){return t?new Promise(function(r,t){if(window.history&&window.history.replaceState){var o=window.location.href,i=v(o,e);o!==i&&history.replaceState({},"",i)}return n&&n(),r()}):Promise.resolve()},e.parseReferrer=function(e,n){if(!t)return!1;var r={source:"(direct)",medium:"(none)",campaign:"(not set)"};e&&g(e)&&(r.referrer=e);var o=function(e){if(!e||!t)return!1;var n=y(e),r=document.createElement("a");if(r.href=e,r.hostname.indexOf(O)>-1&&(n=O),T[n]){var o=T[n],i=new RegExp(("string"==typeof o?o:o.p)+"=.*?([^&#]*|$)","gi"),u=r.search.match(i);return{source:o.n||w(n),medium:"organic",term:(u?u[0].split("=")[1]:"")||"(not provided)"}}var a=g(e)?"referral":"internal";return{source:r.hostname,medium:a}}(e);o&&Object.keys(o).length&&(r=Object.assign({},r,o));var i=x(n),u=Object.keys(i);if(!u.length)return r;var a=u.reduce(function(e,n){return n.match(/^utm_/)&&(e[""+n.replace(/^utm_/,"")]=i[n]),n.match(/^(d|g)clid/)&&(e.source=O,e.medium=i.gclid?"cpc":"cpm",e[n]=i[n]),e},{});return Object.assign({},r,a)},e.throttle=function(e,n){var r,t,o,i=null,u=0,a=function(){u=new Date,i=null,o=e.apply(r,t)};return function(){var c=new Date;u||(u=c);var l=n-(c-u);return r=this,t=arguments,l<=0?(clearTimeout(i),i=null,u=c,o=e.apply(r,t)):i||(i=setTimeout(a,l)),o}},e.url=j,e.uuid=function(){for(var e="",n=0,r=4294967295*Math.random()|0;n++<36;){var t="xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx"[n-1],o=15&r;e+="-"==t||"4"==t?t:("x"==t?o:3&o|8).toString(16),r=n%8==0?4294967295*Math.random()|0:r>>4}return e}});
!function(e,n){"object"==typeof exports&&"undefined"!=typeof module?n(exports):"function"==typeof define&&define.amd?define(["exports"],n):n((e||self).analyticUtil={})}(this,function(e){var n=function(e){var n={exports:{}};return function(e,n){e.exports=function(e,n,r,t,o){for(n=n.split?n.split("."):n,t=0;t<n.length;t++)e=e?e[n[t]]:o;return e===o?r:e}}(n),n.exports}();function r(e){try{return decodeURIComponent(e.replace(/\+/g," "))}catch(e){return null}}"undefined"==typeof process||process;var t="undefined"!=typeof document;function o(e,n){return n.charAt(0)[e]()+n.slice(1)}"undefined"!=typeof Deno&&Deno,t&&"nodejs"===window.name||"undefined"!=typeof navigator&&void 0!==navigator.userAgent&&(navigator.userAgent.includes("Node.js")||navigator.userAgent.includes("jsdom"));var i=o.bind(null,"toUpperCase"),u=o.bind(null,"toLowerCase");function a(e,n){void 0===n&&(n=!0);var r=function(e){return f(e)?i("null"):"object"==typeof e?function(e){return l(e.constructor)?e.constructor.name:null}(e):Object.prototype.toString.call(e).slice(8,-1)}(e);return n?u(r):r}function c(e,n){return typeof n===e}var l=c.bind(null,"function"),s=c.bind(null,"string");function f(e){return null===e}function d(e,n){if("object"!=typeof n||f(n))return!1;if(n instanceof e)return!0;var r=a(new e(""));if(function(e){return e instanceof Error||s(e.message)&&e.constructor&&function(e){return"number"===a(e)&&!isNaN(e)}(e.constructor.stackTraceLimit)}(n))for(;n;){if(a(n)===r)return!0;n=Object.getPrototypeOf(n)}return!1}function p(e,n){var r=e instanceof Element||e instanceof HTMLDocument;return r&&n?function(e,n){return void 0===n&&(n=""),e&&e.nodeName===n.toUpperCase()}(e,n):r}function m(e){var n=[].slice.call(arguments,1);return function(){return e.apply(void 0,[].slice.call(arguments).concat(n))}}function g(e){if(!t)return!1;var n=e||document.referrer;if(n){var r=window.document.location.port,o=n.split("/")[2];return r&&(o=o.replace(":"+r,"")),o!==window.location.hostname}return!1}function v(e,n){var r=(e.split("?")||[,])[1];if(!r||-1===r.indexOf(n))return e;var t=new RegExp("(\\&|\\?)"+n+'([_A-Za-z0-9"+=.\\/\\-@%]+)',"g"),o=("?"+r).replace(t,"").replace(/^&/,"?");return e.replace("?"+r,o)}function x(e){return function(e){for(var n,t=Object.create(null),o=/([^&=]+)=?([^&]*)/g;n=o.exec(e);){var i=r(n[1]),u=r(n[2]);if("[]"===i.substring(i.length-2)){var a=t[i=i.substring(0,i.length-2)]||(t[i]=[]);t[i]=Array.isArray(a)?a:[],t[i].push(u)}else t[i]=""===u||u}for(var c in t){var l=c.split("[");l.length>1&&(h(t,l.map(function(e){return e.replace(/[?[\]\\ ]/g,"")}),t[c]),delete t[c])}return t}(function(e){if(e){var n=e.match(/\?(.*)/);return n&&n[1]?n[1].split("#")[0]:""}return t&&window.location.search.substring(1)}(e))}function h(e,n,r){for(var t=n.length-1,o=0;o<t;++o){var i=n[o];if("__proto__"===i||"constructor"===i)break;i in e||(e[i]={}),e=e[i]}e[n[t]]=r}function y(e){if(!t)return null;var n=document.createElement("a");return n.setAttribute("href",e),n.hostname}function b(e){return(y(e)||"").split(".").slice(-2).join(".")}function w(e){var n=e.split(".");return n.length>1?n.slice(0,-1).join("."):e}c.bind(null,"undefined"),c.bind(null,"boolean"),c.bind(null,"symbol"),d.bind(null,TypeError),d.bind(null,SyntaxError),m(p,"form"),m(p,"button"),m(p,"input"),m(p,"select");var j={trimTld:w,getDomainBase:b,getDomainHost:y},O="google",E="q",T={"daum.net":E,"eniro.se":"search_word","naver.com":"query","yahoo.com":"p","msn.com":E,"aol.com":E,"ask.com":E,"baidu.com":"wd","yandex.com":"text","rambler.ru":"words",google:E,"bing.com":{p:E,n:"live"}};e.decodeUri=r,e.dotProp=n,e.getBrowserLocale=function(){if(t){var e=navigator,n=e.languages;return e.userLanguage||(n&&n.length?n[0]:e.language)}},e.getTimeZone=function(){try{return Intl.DateTimeFormat().resolvedOptions().timeZone}catch(e){}},e.isExternalReferrer=g,e.isScriptLoaded=function(e){if(!t)return!0;var n=document.getElementsByTagName("script");return!!Object.keys(n).filter(function(r){var t=n[r].src;return s(e)?-1!==t.indexOf(e):e instanceof RegExp&&t.match(e)}).length},e.paramsClean=v,e.paramsGet=function(e,n){return r((RegExp(e+"=(.+?)(&|$)").exec(n)||[,""])[1])},e.paramsParse=x,e.paramsRemove=function(e,n){return t?new Promise(function(r,t){if(window.history&&window.history.replaceState){var o=window.location.href,i=v(o,e);o!==i&&history.replaceState({},"",i)}return n&&n(),r()}):Promise.resolve()},e.parseReferrer=function(e,n){if(!t)return!1;var r={source:"(direct)",medium:"(none)",campaign:"(not set)"};e&&g(e)&&(r.referrer=e);var o=function(e){if(!e||!t)return!1;var n=b(e),r=document.createElement("a");if(r.href=e,r.hostname.indexOf(O)>-1&&(n=O),T[n]){var o=T[n],i=new RegExp(("string"==typeof o?o:o.p)+"=.*?([^&#]*|$)","gi"),u=r.search.match(i);return{source:o.n||w(n),medium:"organic",term:(u?u[0].split("=")[1]:"")||"(not provided)"}}var a=g(e)?"referral":"internal";return{source:r.hostname,medium:a}}(e);o&&Object.keys(o).length&&(r=Object.assign({},r,o));var i=x(n),u=Object.keys(i);if(!u.length)return r;var a=u.reduce(function(e,n){return n.match(/^utm_/)&&(e[""+n.replace(/^utm_/,"")]=i[n]),n.match(/^(d|g)clid/)&&(e.source=O,e.medium=i.gclid?"cpc":"cpm",e[n]=i[n]),e},{});return Object.assign({},r,a)},e.throttle=function(e,n){var r,t,o,i=null,u=0,a=function(){u=new Date,i=null,o=e.apply(r,t)};return function(){var c=new Date;u||(u=c);var l=n-(c-u);return r=this,t=arguments,l<=0?(clearTimeout(i),i=null,u=c,o=e.apply(r,t)):i||(i=setTimeout(a,l)),o}},e.url=j,e.uuid=function(){for(var e="",n=0,r=4294967295*Math.random()|0;n++<36;){var t="xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx"[n-1],o=15&r;e+="-"==t||"4"==t?t:("x"==t?o:3&o|8).toString(16),r=n%8==0?4294967295*Math.random()|0:r>>4}return e}});
//# sourceMappingURL=analytics-utils.umd.js.map
{
"name": "analytics-utils",
"version": "1.0.12",
"version": "1.0.13",
"description": "Analytics utility functions used by 'analytics' module",

@@ -29,2 +29,3 @@ "author": "David Wells <hello@davidwells.io>",

"scripts": {
"test": "uvu tests -r esm",
"start": "npm run sync && concurrently 'npm:watch:dev' 'npm:copy' 'npm:serve'",

@@ -46,5 +47,7 @@ "serve": "servor dist index.html 8081 --reload --browse",

"concurrently": "^6.1.0",
"esm": "^3.2.25",
"microbundle": "^0.13.0",
"servor": "^4.0.2",
"typescript": "^4.2.3",
"uvu": "^0.5.1",
"watchlist": "^0.2.3"

@@ -59,3 +62,3 @@ },

},
"gitHead": "904e8bc88a9de0d9e55ecbe1e87ac2ee2a454e32"
"gitHead": "a9e0fdc6c9c264228a4a14ef8a1a2153f7a5b736"
}

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

import dotProp from "dlv";
import { decodeUri } from "./decodeUri";

@@ -2,0 +3,0 @@ import { getBrowserLocale } from "./getBrowserLocale";

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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