function createCookie(n,t,i){var r,u;i?(r=new Date,r.setTime(r.getTime()+i*864e5),u="; expires="+r.toGMTString()):u="";document.cookie=n+"="+t+u+"; path=/"}function readCookie(n){for(var t,r=n+"=",u=document.cookie.split(";"),i=0;i<u.length;i++){for(t=u[i];t.charAt(0)==" ";)t=t.substring(1,t.length);if(t.indexOf(r)==0)return t.substring(r.length,t.length)}return null}function eraseCookie(n){createCookie(n,"",-1)}var GAFirebase,firebase;(function(n){var t=function(){function n(){}return n.prototype.ga=function(n,t,i,r,u,f,e){var o=window,s,h;o.AnalyticsWebInterface?typeof t=="string"?o.AnalyticsWebInterface.logEvent(n,t,i,r,u,f,JSON.stringify(e)):o.AnalyticsWebInterface.logEvent(n,null,null,null,null,null,JSON.stringify(e)):o.webkit&&o.webkit.messageHandlers&&o.webkit.messageHandlers.firebase?typeof t=="string"?(s={command:n,hitType:t,eventCategory:i,eventAction:r,eventLabel:u,eventValue:f,fieldsObject:e},o.webkit.messageHandlers.firebase.postMessage(s)):(h={command:n,fieldsObject:t},o.webkit.messageHandlers.firebase.postMessage(h)):(ga(n,t,i,r,u,f,e),console.log(ga.q))},n.prototype.push=function(n){var t=window;t.AnalyticsWebInterface?t.AnalyticsWebInterface.push(JSON.stringify(n)):t.webkit&&t.webkit.messageHandlers&&t.webkit.messageHandlers.firebase?t.webkit.messageHandlers.firebase.postMessage(JSON.stringify(n)):dataLayer.push(n)},n.prototype.updateFirebasePushNotificationIdentifier=function(n){var t=window,i;t.AnalyticsWebInterface?t.AnalyticsWebInterface.updateFirebasePushNotificationIdentifier(n):t.webkit&&t.webkit.messageHandlers&&t.webkit.messageHandlers.firebase&&(i={pushNotificationIdentifier:n},t.webkit.messageHandlers.firebase.postMessage(JSON.stringify(i)))},n}();n.GAFirebaseAnalytics=t})(GAFirebase||(GAFirebase={}));firebase=new GAFirebase.GAFirebaseAnalytics