UNPKG

1.06 kBJavaScriptView Raw
1!function(e,o){if("object"==typeof exports&&"object"==typeof module)module.exports=o();else if("function"==typeof define&&define.amd)define([],o);else{var t=o();for(var n in t)("object"==typeof exports?exports:e)[n]=t[n]}}(this,function(){return function(e){function o(n){if(t[n])return t[n].exports;var r=t[n]={exports:{},id:n,loaded:!1};return e[n].call(r.exports,r,r.exports,o),r.loaded=!0,r.exports}var t={};return o.m=e,o.c=t,o.p="",o(0)}({0:function(e,o,t){"use strict";e.exports=t(13)},13:function(e,o){"use strict";var t=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},o=e.dataLayerName,t=void 0===o?"dataLayer":o;return function(e){if("undefined"!=typeof window){if(!window[t]||"function"!=typeof window[t].push)throw Error("redux-beacon error: window."+t+" is not defined. Have you forgotten to include Google Tag Manager and dataLayer?");e.forEach(function(e){var o=function(){return void 0===e.event&&void 0!==e.hitType?Object.assign({},e,{event:e.hitType}):e}();window[t].push(o)})}}};e.exports={GoogleTagManager:t}}})});
\No newline at end of file