3 lines
69 KiB
JavaScript
3 lines
69 KiB
JavaScript
|
!function(){function e(n,t,r){function a(i,c){if(!t[i]){if(!n[i]){var s="function"==typeof require&&require;if(!c&&s)return s(i,!0);if(o)return o(i,!0);var u=new Error("Cannot find module '"+i+"'");throw u.code="MODULE_NOT_FOUND",u}var l=t[i]={exports:{}};n[i][0].call(l.exports,function(e){var t=n[i][1][e];return a(t?t:e)},l,l.exports,e,n,t,r)}return t[i].exports}for(var o="function"==typeof require&&require,i=0;i<r.length;i++)a(r[i]);return a}return e}()({1:[function(e,n,t){this.cookie=function(e,n,t,r,a,o){return arguments.length>1?document.cookie=e+"="+escape(n)+(t?"; expires="+new Date(+new Date+1e3*t).toUTCString():"")+(r?"; path="+r:"")+(a?"; domain="+a:"")+(o?"; secure":""):unescape((("; "+document.cookie).split("; "+e+"=")[1]||"").split(";")[0])}},{}],2:[function(e,n,t){var r={utf8:{stringToBytes:function(e){return r.bin.stringToBytes(unescape(encodeURIComponent(e)))},bytesToString:function(e){return decodeURIComponent(escape(r.bin.bytesToString(e)))}},bin:{stringToBytes:function(e){for(var n=[],t=0;t<e.length;t++)n.push(255&e.charCodeAt(t));return n},bytesToString:function(e){for(var n=[],t=0;t<e.length;t++)n.push(String.fromCharCode(e[t]));return n.join("")}}};n.exports=r},{}],3:[function(e,n,t){!function(){var e="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",t={rotl:function(e,n){return e<<n|e>>>32-n},rotr:function(e,n){return e<<32-n|e>>>n},endian:function(e){if(e.constructor==Number)return 16711935&t.rotl(e,8)|4278255360&t.rotl(e,24);for(var n=0;n<e.length;n++)e[n]=t.endian(e[n]);return e},randomBytes:function(e){for(var n=[];e>0;e--)n.push(Math.floor(256*Math.random()));return n},bytesToWords:function(e){for(var n=[],t=0,r=0;t<e.length;t++,r+=8)n[r>>>5]|=e[t]<<24-r%32;return n},wordsToBytes:function(e){for(var n=[],t=0;t<32*e.length;t+=8)n.push(e[t>>>5]>>>24-t%32&255);return n},bytesToHex:function(e){for(var n=[],t=0;t<e.length;t++)n.push((e[t]>>>4).toString(16)),n.push((15&e[t]).toString(16));return n.join("")},hexToBytes:function(e){for(var n=[],t=0;t<e.length;t+=2)n.push(parseInt(e.substr(t,2),16));return n},bytesToBase64:function(n){for(var t=[],r=0;r<n.length;r+=3)for(var a=n[r]<<16|n[r+1]<<8|n[r+2],o=0;4>o;o++)8*r+6*o<=8*n.length?t.push(e.charAt(a>>>6*(3-o)&63)):t.push("=");return t.join("")},base64ToBytes:function(n){n=n.replace(/[^A-Z0-9+\/]/gi,"");for(var t=[],r=0,a=0;r<n.length;a=++r%4)0!=a&&t.push((e.indexOf(n.charAt(r-1))&Math.pow(2,-2*a+8)-1)<<2*a|e.indexOf(n.charAt(r))>>>6-2*a);return t}};n.exports=t}()},{}],4:[function(e,n,t){!function(e){var n=function(){var e="s",t=function(e){var n=-e.getTimezoneOffset();return null!==n?n:0},r=function(e,n,t){var r=new Date;return void 0!==e&&r.setFullYear(e),r.setMonth(n),r.setDate(t),r},a=function(e){return t(r(e,0,2))},o=function(e){return t(r(e,5,2))},i=function(e){var n=e.getMonth()>7,r=n?o(e.getFullYear()):a(e.getFullYear()),i=t(e),c=0>r,s=r-i;return c||n?0!==s:0>s},c=function(){var n=a(),t=o(),r=n-t;return 0>r?n+",1":r>0?t+",1,"+e:n+",0"},s=function(){var e=c();return new n.TimeZone(n.olson.timezones[e])},u=function(e){var n=new Date(2010,6,15,1,0,0,0),t={"America/Denver":new Date(2011,2,13,3,0,0,0),"America/Mazatlan":new Date(2011,3,3,3,0,0,0),"America/Chicago":new Date(2011,2,13,3,0,0,0),"America/Mexico_City":new Date(2011,3,3,3,0,0,0),"America/Asuncion":new Date(2012,9,7,3,0,0,0),"America/Santiago":new Date(2012,9,3,3,0,0,0),"America/Campo_Grande":new Date(2012,9,21,5,0,0,0),"America/Montevideo":new Date(2011,9,2,3,0,0,0),"America/Sao_Paulo":new Date(2011,9,16,5,0,0,0),"America/Los_Angeles":new Date(2011,2,13,8,0,0,0),"America/Santa_Isabel":new Date(2011,3,5,8,0,0,0),"America/Havana":new Date(2012,2,10,2,0,0,0),"America/New_York":new Date(2012,2,10,7,0,0,0),"Europe/Helsinki":new Date(2013,2,31,5,0,0,0),"Pacific/Auckland":new Date(2011,8,26,7,0,0,0),"America/Halifax":new Date(2011,2,13,6,0,0,0),"America/Goose_Bay":new Date(2011,2,13,2,1,0,0),"America/Miquelon":new Date(2011,2,13,5,0,0,0),"America/Godthab":new Date(2011,2,27,1,0,0,0),"Europe/Moscow":n,"Asia/Amman":new Date(2013,2,29,1,0,0,0),"Asia/Beirut":new Date(2013,2,31,2,0
|
||
|
}else{var l=t?t(s,u,c):he;if(!(l===he?k(u,s,t,!0):l))return!1}}return!0}function S(e,n){var t=-1,r=W(e)?Array(e.length):[];return Cn(e,function(e,a,o){r[++t]=n(e,a,o)}),r}function T(e){var n=z(e);if(1==n.length&&n[0][2]){var t=n[0][0],r=n[0][1];return function(e){return null==e?!1:(e=X(e),e[t]===r&&(r!==he||t in e))}}return function(e){return b(e,n)}}function C(e,n){var t=xn(e),r=Q(e)&&K(n),a=e+"";return e=Z(e),function(o){if(null==o)return!1;var i=a;if(o=X(o),(t||!r)&&!(i in o)){if(o=1==e.length?o:y(o,I(e,0,-1)),null==o)return!1;i=ee(e),o=X(o)}return o[i]===n?n!==he||i in o:k(n,o[i],he,!0)}}function E(e){return function(n){return null==n?he:X(n)[e]}}function _(e){var n=e+"";return e=Z(e),function(t){return y(t,e,n)}}function I(e,n,t){var r=-1,a=e.length;n=null==n?0:+n||0,0>n&&(n=-n>a?0:a+n),t=t===he||t>a?a:+t||0,0>t&&(t+=a),a=n>t?0:t-n>>>0,n>>>=0;for(var o=Array(a);++r<a;)o[r]=e[r+n];return o}function P(e,n,t){if("function"!=typeof e)return pe;if(n===he)return e;switch(t){case 1:return function(t){return e.call(n,t)};case 3:return function(t,r,a){return e.call(n,t,r,a)};case 4:return function(t,r,a,o){return e.call(n,t,r,a,o)};case 5:return function(t,r,a,o,i){return e.call(n,t,r,a,o,i)}}return function(){return e.apply(n,arguments)}}function x(e){var n=new gn(e.byteLength),t=new wn(n);return t.set(new wn(e)),n}function j(e,n){return function(t,r){var a=t?_n(t):0;if(!Y(a))return e(t,r);for(var o=n?a:-1,i=X(t);(n?o--:++o<a)&&r(i[o],o,i)!==!1;);return t}}function D(e){return function(n,t,r){for(var a=X(n),o=r(n),i=o.length,c=e?i:-1;e?c--:++c<i;){var s=o[c];if(t(a[s],s,a)===!1)break}return n}}function L(e,n){return function(t,a,o){if(a=B(a,o,3),xn(t)){var i=r(t,a,n);return i>-1?t[i]:he}return v(t,a,e)}}function O(e,n){return function(t,r,a){return"function"==typeof r&&a===he&&xn(t)?e(t,r):n(t,P(r,a,3))}}function N(e){return function(n,t,r){var a={};return t=B(t,r,3),w(n,function(n,r,o){var i=t(n,r,o);r=e?i:r,n=e?n:i,a[r]=n}),a}}function U(e,n,t,r,a,o,i){var c=-1,s=e.length,u=n.length;if(s!=u&&!(a&&u>s))return!1;for(;++c<s;){var l=e[c],d=n[c],p=r?r(a?d:l,a?l:d,c):he;if(p!==he){if(p)continue;return!1}if(a){if(!f(n,function(e){return l===e||t(l,e,r,a,o,i)}))return!1}else if(l!==d&&!t(l,d,r,a,o,i))return!1}return!0}function F(e,n,t){switch(t){case ke:case Ae:return+e==+n;case be:return e.name==n.name&&e.message==n.message;case Ce:return e!=+e?n!=+n:e==+n;case _e:case Pe:return e==n+""}return!1}function M(e,n,t,r,a,o,i){var c=jn(e),s=c.length,u=jn(n),l=u.length;if(s!=l&&!a)return!1;for(var f=s;f--;){var d=c[f];if(!(a?d in n:dn.call(n,d)))return!1}for(var p=a;++f<s;){d=c[f];var m=e[d],g=n[d],h=r?r(a?g:m,a?m:g,d):he;if(!(h===he?t(m,g,r,a,o,i):h))return!1;p||(p="constructor"==d)}if(!p){var v=e.constructor,w=n.constructor;if(v!=w&&"constructor"in e&&"constructor"in n&&!("function"==typeof v&&v instanceof v&&"function"==typeof w&&w instanceof w))return!1}return!0}function B(e,n,t){var r=i.callback||de;return r=r===de?m:r,t?r(e,n,t):r}function z(e){for(var n=fe(e),t=n.length;t--;)n[t][2]=K(n[t][1]);return n}function R(e,n){var t=null==e?he:e[n];return ie(t)?t:he}function q(e){var n=e.length,t=new e.constructor(n);return n&&"string"==typeof e[0]&&dn.call(e,"index")&&(t.index=e.index,t.input=e.input),t}function V(e){var n=e.constructor;return"function"==typeof n&&n instanceof n||(n=Object),new n}function H(e,n,t){var r=e.constructor;switch(n){case je:return x(e);case ke:case Ae:return new r(+e);case De:case Le:case Oe:case Ne:case Ue:case Fe:case Me:case Be:case ze:r instanceof r&&(r=bn[n]);var a=e.buffer;return new r(t?x(a):a,e.byteOffset,e.length);case Ce:case Pe:return new r(e);case _e:var o=new r(e.source,We.exec(e));o.lastIndex=e.lastIndex}return o}function W(e){return null!=e&&Y(_n(e))}function G(e,n){return e="number"==typeof e||Je.test(e)?+e:-1,n=null==n?An:n,e>-1&&e%1==0&&n>e}function J(e,n,t){if(!oe(t))return!1;var r=typeof n;if("number"==r?W(t)&&G(n,t.length):"string"==r&&n in t){var a=t[n];return e===e?e===a:a!==a}return!1}function Q(e,n){var t=typeof e;if("string"==t&&qe.test(e)||"number"==t)return!0;if(xn(e))return!1;var
|
||
|
Te=1e3*n):r.warn("Activity tracking not enabled, please provide integer values for minimumVisitLength and heartBeatDelay.")},updatePageActivity:function(){I()},enableFormTracking:function(e,n){g.hasLoaded?(An.configureFormTracking(e),An.addFormListeners(n)):g.registeredOnLoadHandlers.push(function(){An.configureFormTracking(e),An.addFormListeners(n)})},killFrame:function(){Be.location!==Be.top.location&&(Be.top.location=Be.location)},redirectFile:function(e){"file:"===Be.location.protocol&&(Be.location=e)},setOptOutCookie:function(e){Ee=e},setCountPreRendered:function(e){_e=e},setUserId:function(e){Ue=e},identifyUser:function(e){setUserId(e)},setUserIdFromLocation:function(e){v(),Ue=r.fromQuerystring(e,Ve)},setUserIdFromReferrer:function(e){v(),Ue=r.fromQuerystring(e,He)},setUserIdFromCookie:function(e){Ue=o.cookie(e)},setCollectorCf:function(e){ke=R(e)},setCollectorUrl:function(e){ke=q(e)},setPlatform:function(e){r.warn('setPlatform is deprecated. Instead add a "platform" field to the argmap argument of newTracker.'),Fe.setPlatform(e)},encodeBase64:function(e){r.warn('This usage of encodeBase64 is deprecated. Instead add an "encodeBase64" field to the argmap argument of newTracker.'),Fe.setBase64Encoding(e)},flushBuffer:function(){Sn.executeQueue()},enableGeolocationContext:ue,trackPageView:function(e,n,t,r){ve(function(){de(e,n,t,r)})},trackStructEvent:function(e,n,t,r,a,o,i){ve(function(){Fe.trackStructEvent(e,n,t,r,a,V(o),i)})},trackSelfDescribingEvent:function(e,n,t){ve(function(){Fe.trackSelfDescribingEvent(e,V(n),t)})},trackUnstructEvent:function(e,n,t){ve(function(){Fe.trackSelfDescribingEvent(e,V(n),t)})},addTrans:function(e,n,t,r,a,o,i,c,s,u,l){yn.transaction={orderId:e,affiliation:n,total:t,tax:r,shipping:a,city:o,state:i,country:c,currency:s,context:u,tstamp:l}},addItem:function(e,n,t,r,a,o,i,c,s){yn.items.push({orderId:e,sku:n,name:t,category:r,price:a,quantity:o,currency:i,context:c,tstamp:s})},trackTrans:function(){ve(function(){me(yn.transaction.orderId,yn.transaction.affiliation,yn.transaction.total,yn.transaction.tax,yn.transaction.shipping,yn.transaction.city,yn.transaction.state,yn.transaction.country,yn.transaction.currency,yn.transaction.context,yn.transaction.tstamp);for(var e=0;e<yn.items.length;e++){var n=yn.items[e];ge(n.orderId,n.sku,n.name,n.category,n.price,n.quantity,n.currency,n.context,n.tstamp)}yn=k()})},trackLinkClick:function(e,n,t,r,a,o,i){ve(function(){Fe.trackLinkClick(e,n,t,r,a,V(o),i)})},trackAdImpression:function(e,n,t,r,a,o,i,c,s,u){ve(function(){Fe.trackAdImpression(e,n,t,r,a,o,i,c,V(s),u)})},trackAdClick:function(e,n,t,r,a,o,i,c,s,u,l){ve(function(){Fe.trackAdClick(e,n,t,r,a,o,i,c,s,V(u),l)})},trackAdConversion:function(e,n,t,r,a,o,i,c,s,u,l){ve(function(){Fe.trackAdConversion(e,n,t,r,a,o,i,c,s,V(u),l)})},trackSocialInteraction:function(e,n,t,r,a){ve(function(){Fe.trackSocialInteraction(e,n,t,V(r),a)})},trackAddToCart:function(e,n,t,r,a,o,i,c){ve(function(){Fe.trackAddToCart(e,n,t,r,a,o,V(i),c)})},trackRemoveFromCart:function(e,n,t,r,a,o,i,c){ve(function(){Fe.trackRemoveFromCart(e,n,t,r,a,o,V(i),c)})},trackSiteSearch:function(e,n,t,r,a,o){ve(function(){Fe.trackSiteSearch(e,n,t,r,V(a),o)})},trackTiming:function(e,n,t,r,a,o){ve(function(){Fe.trackSelfDescribingEvent({schema:"iglu:com.snowplowanalytics.snowplow/timing/jsonschema/1-0-0",data:{category:e,variable:n,timing:t,label:r}},V(a),o)})},trackConsentWithdrawn:function(e,n,t,r,a,o,i){ve(function(){Fe.trackConsentWithdrawn(e,n,t,r,a,V(o),i)})},trackConsentGranted:function(e,n,t,r,a,o,i){ve(function(){Fe.trackConsentGranted(e,n,t,r,a,V(o),i)})},trackEnhancedEcommerceAction:function(e,n,t){var r=_n.concat(n||[]);_n.length=0,ve(function(){Fe.trackSelfDescribingEvent({schema:"iglu:com.google.analytics.enhanced-ecommerce/action/jsonschema/1-0-0",data:{action:e}},V(r),t)})},addEnhancedEcommerceActionContext:function(e,n,t,a,o,i,c,s,u,l){_n.push({schema:"iglu:com.google.analytics.enhanced-ecommerce/actionFieldObject/jsonschema/1-0-0",data:{id:e,affiliation:n,revenue:r.parseFloat(t),tax:r.parseFloat(a),shipping:r.parseFloat(o),coupon:
|