var uuid = function (a) { // https://github.com/amplitude/Amplitude-Javascript/blob/master/src/uuid.js return a // if the placeholder was passed, return ? // a random number from 0 to 15 ( a ^ // unless b is 8, ((Math.random() * // in which case 16) >> // a random number from (a / 4)) ) // 8 to 11 .toString(16) // in hexadecimal : // or otherwise a concatenated string: ( [1e7] + // 10000000 + -1e3 + // -1000 + -4e3 + // -4000 + -8e3 + // -80000000 + -1e11 ) // -100000000000, .replace( // replacing /[018]/g, // zeroes, ones, and eights with uuid, // random hex digits ); }; (function(e,t){var n=e.amplitude||{_q:[],_iq:{}};var r=t.createElement("script") ;r.type="text/javascript" ;r.integrity="sha384-tzcaaCH5+KXD4sGaDozev6oElQhsVfbJvdi3//c2YvbY02LrNlbpGdt3Wq4rWonS" ;r.crossOrigin="anonymous";r.async=true ;r.src="https://cdn.amplitude.com/libs/amplitude-8.5.0-min.gz.js" ;r.onload=function(){if(!e.amplitude.runQueuedFunctions){ console.log("[Amplitude] Error: could not load SDK")}} ;var i=t.getElementsByTagName("script")[0];i.parentNode.insertBefore(r,i) ;function s(e,t){e.prototype[t]=function(){ this._q.push([t].concat(Array.prototype.slice.call(arguments,0)));return this}} var o=function(){this._q=[];return this} ;var a=["add","append","clearAll","prepend","set","setOnce","unset","preInsert","postInsert","remove"] ;for(var c=0;c