Commit 8fa80713 authored by Mike Greiling's avatar Mike Greiling

Merge branch...

Merge branch '8432-switch-snowplow-storage-strategy-back-to-localstorage-pending-upstream-fix' into 'master'

Resolve "Switch snowplow storage strategy back to localStorage pending upstream fix"

Closes #8432

See merge request gitlab-org/gitlab-ee!9223
parents a18f0ba4 c037c4eb
......@@ -11,5 +11,3 @@
/vendor/
karma.config.js
webpack.config.js
ee/app/assets/javascripts/shared/snowplow/sp.js
......@@ -175,7 +175,9 @@ module Gitlab
%w[images javascripts stylesheets].each do |path|
config.assets.paths << "#{config.root}/ee/app/assets/#{path}"
end
config.assets.precompile << "shared/snowplow/sp.js"
config.assets.paths << "#{config.root}/vendor/assets/javascripts/"
config.assets.precompile << "snowplow/sp.js"
# Compile non-JS/CSS assets in the ee/app/assets folder by default
# Mimic sprockets-rails default: https://github.com/rails/sprockets-rails/blob/v3.2.1/lib/sprockets/railtie.rb#L84-L87
......
/* eslint-disable */
/*! * Snowplow - The world's most powerful web analytics platform
*
* @description JavaScript tracker for Snowplow
* @version 2.9.2
* @author Alex Dean, Simon Andersson, Anthon Pang, Fred Blundun, Joshua Beemster
* @copyright Anthon Pang, Snowplow Analytics Ltd
* @license Simplified BSD
*/
/* prettier-ignore */
(function(){function a(c,g,e){function d(m,j){if(!g[m]){if(!c[m]){var i=typeof require=="function"&&require;if(!j&&i){return i(m,!0)}if(b){return b(m,!0)}var k=new Error("Cannot find module '"+m+"'");throw k.code="MODULE_NOT_FOUND",k}var h=g[m]={exports:{}};c[m][0].call(h.exports,function(l){var o=c[m][1][l];return d(o?o:l)},h,h.exports,a,c,g,e)}return g[m].exports}var b=typeof require=="function"&&require;for(var f=0;f<e.length;f++){d(e[f])}return d}return a})()({1:[function(b,c,a){this.cookie=function(e,g,d,i,f,h){if(arguments.length>1){return document.cookie=e+"="+escape(g)+(d?"; expires="+new Date(+new Date()+(d*1000)).toUTCString():"")+(i?"; path="+i:"")+(f?"; domain="+f:"")+(h?"; secure":"")}return unescape((("; "+document.cookie).split("; "+e+"=")[1]||"").split(";")[0])}},{}],2:[function(c,d,b){var a={utf8:{stringToBytes:function(e){return a.bin.stringToBytes(unescape(encodeURIComponent(e)))},bytesToString:function(e){return decodeURIComponent(escape(a.bin.bytesToString(e)))}},bin:{stringToBytes:function(g){for(var e=[],f=0;f<g.length;f++){e.push(g.charCodeAt(f)&255)}return e},bytesToString:function(e){for(var g=[],f=0;f<e.length;f++){g.push(String.fromCharCode(e[f]))}return g.join("")}}};d.exports=a},{}],3:[function(b,c,a){(function(){var d="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",e={rotl:function(g,f){return(g<<f)|(g>>>(32-f))},rotr:function(g,f){return(g<<(32-f))|(g>>>f)},endian:function(g){if(g.constructor==Number){return e.rotl(g,8)&16711935|e.rotl(g,24)&4278255360}for(var f=0;f<g.length;f++){g[f]=e.endian(g[f])}return g},randomBytes:function(g){for(var f=[];g>0;g--){f.push(Math.floor(Math.random()*256))}return f},bytesToWords:function(g){for(var j=[],h=0,f=0;h<g.length;h++,f+=8){j[f>>>5]|=g[h]<<(24-f%32)}return j},wordsToBytes:function(h){for(var g=[],f=0;f<h.length*32;f+=8){g.push((h[f>>>5]>>>(24-f%32))&255)}return g},bytesToHex:function(f){for(var h=[],g=0;g<f.length;g++){h.push((f[g]>>>4).toString(16));h.push((f[g]&15).toString(16))}return h.join("")},hexToBytes:function(g){for(var f=[],h=0;h<g.length;h+=2){f.push(parseInt(g.substr(h,2),16))}return f},bytesToBase64:function(g){for(var f=[],k=0;k<g.length;k+=3){var l=(g[k]<<16)|(g[k+1]<<8)|g[k+2];for(var h=0;h<4;h++){if(k*8+h*6<=g.length*8){f.push(d.charAt((l>>>6*(3-h))&63))}else{f.push("=")}}}return f.join("")},base64ToBytes:function(g){g=g.replace(/[^A-Z0-9+\/]/ig,"");for(var f=[],h=0,j=0;h<g.length;j=++h%4){if(j==0){continue}f.push(((d.indexOf(g.charAt(h-1))&(Math.pow(2,-2*j+8)-1))<<(j*2))|(d.indexOf(g.charAt(h))>>>(6-j*2)))}return f}};c.exports=e})()},{}],4:[function(b,c,a){(function(d){var e=(function(){var g="s",h=function(o){var p=-o.getTimezoneOffset();return(p!==null?p:0)},k=function(p,q,o){var r=new Date();if(p!==undefined){r.setFullYear(p)}r.setMonth(q);r.setDate(o);return r},i=function(o){return h(k(o,0,2))},l=function(o){return h(k(o,5,2))},f=function(p){var q=p.getMonth()>7,t=q?l(p.getFullYear()):i(p.getFullYear()),o=h(p),s=t<0,r=t-o;if(!s&&!q){return r<0}return r!==0},j=function(){var o=i(),p=l(),q=o-p;if(q<0){return o+",1"}else{if(q>0){return p+",1,"+g}}return o+",0"},m=function(){var o=j();return new e.TimeZone(e.olson.timezones[o])},n=function(o){var p=new Date(2010,6,15,1,0,0,0),q={"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":p,"Asia/Amman":new Date(2013,2,29,1,0,0,0),"Asia/Beirut":new Date(2013,2,31,2,0,0,0),"Asia/Damascus":new Date(2013,3,6,2,0,0,0),"Asia/Jerusalem":new Date(2013,2,29,5,0,0,0),"Asia/Yekaterinburg":p,"Asia/Omsk":p,"Asia/Krasnoyarsk":p,"Asia/Irkutsk":p,"Asia/Yakutsk":p,"Asia/Vladivostok":p,"Asia/Baku":new Date(2013,2,31,4,0,0),"Asia/Yerevan":new Date(2013,2,31,3,0,0),"Asia/Kamchatka":p,"Asia/Gaza":new Date(2010,2,27,4,0,0),"Africa/Cairo":new Date(2010,4,1,3,0,0),"Europe/Minsk":p,"Pacific/Apia":new Date(2010,10,1,1,0,0,0),"Pacific/Fiji":new Date(2010,11,1,0,0,0),"Australia/Perth":new Date(2008,10,1,1,0,0,0)};return q[o]};return{determine:m,date_is_dst:f,dst_start_for:n}}());e.TimeZone=function(f){var g={"America/Denver":["America/Denver","America/Mazatlan"],"America/Chicago":["America/Chicago","America/Mexico_City"],"America/Santiago":["America/Santiago","America/Asuncion","America/Campo_Grande"],"America/Montevideo":["America/Montevideo","America/Sao_Paulo"],"Asia/Beirut":["Asia/Amman","Asia/Jerusalem","Asia/Beirut","Europe/Helsinki","Asia/Damascus"],"Pacific/Auckland":["Pacific/Auckland","Pacific/Fiji"],"America/Los_Angeles":["America/Los_Angeles","America/Santa_Isabel"],"America/New_York":["America/Havana","America/New_York"],"America/Halifax":["America/Goose_Bay","America/Halifax"],"America/Godthab":["America/Miquelon","America/Godthab"],"Asia/Dubai":["Europe/Moscow"],"Asia/Dhaka":["Asia/Yekaterinburg"],"Asia/Jakarta":["Asia/Omsk"],"Asia/Shanghai":["Asia/Krasnoyarsk","Australia/Perth"],"Asia/Tokyo":["Asia/Irkutsk"],"Australia/Brisbane":["Asia/Yakutsk"],"Pacific/Noumea":["Asia/Vladivostok"],"Pacific/Tarawa":["Asia/Kamchatka","Pacific/Fiji"],"Pacific/Tongatapu":["Pacific/Apia"],"Asia/Baghdad":["Europe/Minsk"],"Asia/Baku":["Asia/Yerevan","Asia/Baku"],"Africa/Johannesburg":["Asia/Gaza","Africa/Cairo"]},h=f,j=function(){var k=g[h],m=k.length,l=0,n=k[0];for(;l<m;l+=1){n=k[l];if(e.date_is_dst(e.dst_start_for(n))){h=n;return}}},i=function(){return typeof(g[h])!=="undefined"};if(i()){j()}return{name:function(){return h}}};e.olson={};e.olson.timezones={"-720,0":"Pacific/Majuro","-660,0":"Pacific/Pago_Pago","-600,1":"America/Adak","-600,0":"Pacific/Honolulu","-570,0":"Pacific/Marquesas","-540,0":"Pacific/Gambier","-540,1":"America/Anchorage","-480,1":"America/Los_Angeles","-480,0":"Pacific/Pitcairn","-420,0":"America/Phoenix","-420,1":"America/Denver","-360,0":"America/Guatemala","-360,1":"America/Chicago","-360,1,s":"Pacific/Easter","-300,0":"America/Bogota","-300,1":"America/New_York","-270,0":"America/Caracas","-240,1":"America/Halifax","-240,0":"America/Santo_Domingo","-240,1,s":"America/Santiago","-210,1":"America/St_Johns","-180,1":"America/Godthab","-180,0":"America/Argentina/Buenos_Aires","-180,1,s":"America/Montevideo","-120,0":"America/Noronha","-120,1":"America/Noronha","-60,1":"Atlantic/Azores","-60,0":"Atlantic/Cape_Verde","0,0":"UTC","0,1":"Europe/London","60,1":"Europe/Berlin","60,0":"Africa/Lagos","60,1,s":"Africa/Windhoek","120,1":"Asia/Beirut","120,0":"Africa/Johannesburg","180,0":"Asia/Baghdad","180,1":"Europe/Moscow","210,1":"Asia/Tehran","240,0":"Asia/Dubai","240,1":"Asia/Baku","270,0":"Asia/Kabul","300,1":"Asia/Yekaterinburg","300,0":"Asia/Karachi","330,0":"Asia/Kolkata","345,0":"Asia/Kathmandu","360,0":"Asia/Dhaka","360,1":"Asia/Omsk","390,0":"Asia/Rangoon","420,1":"Asia/Krasnoyarsk","420,0":"Asia/Jakarta","480,0":"Asia/Shanghai","480,1":"Asia/Irkutsk","525,0":"Australia/Eucla","525,1,s":"Australia/Eucla","540,1":"Asia/Yakutsk","540,0":"Asia/Tokyo","570,0":"Australia/Darwin","570,1,s":"Australia/Adelaide","600,0":"Australia/Brisbane","600,1":"Asia/Vladivostok","600,1,s":"Australia/Sydney","630,1,s":"Australia/Lord_Howe","660,1":"Asia/Kamchatka","660,0":"Pacific/Noumea","690,0":"Pacific/Norfolk","720,1,s":"Pacific/Auckland","720,0":"Pacific/Tarawa","765,1,s":"Pacific/Chatham","780,0":"Pacific/Tongatapu","780,1,s":"Pacific/Apia","840,0":"Pacific/Kiritimati"};if(typeof a!=="undefined"){a.jstz=e}else{d.jstz=e}})(this)},{}],5:[function(b,c,a){(function(){var h=this;function f(q,m){var j=q.length,p=m^j,o=0,n;while(j>=4){n=((q.charCodeAt(o)&255))|((q.charCodeAt(++o)&255)<<8)|((q.charCodeAt(++o)&255)<<16)|((q.charCodeAt(++o)&255)<<24);n=(((n&65535)*1540483477)+((((n>>>16)*1540483477)&65535)<<16));n^=n>>>24;n=(((n&65535)*1540483477)+((((n>>>16)*1540483477)&65535)<<16));p=(((p&65535)*1540483477)+((((p>>>16)*1540483477)&65535)<<16))^n;j-=4;++o}switch(j){case 3:p^=(q.charCodeAt(o+2)&255)<<16;case 2:p^=(q.charCodeAt(o+1)&255)<<8;case 1:p^=(q.charCodeAt(o)&255);p=(((p&65535)*1540483477)+((((p>>>16)*1540483477)&65535)<<16))}p^=p>>>13;p=(((p&65535)*1540483477)+((((p>>>16)*1540483477)&65535)<<16));p^=p>>>15;return p>>>0}function e(s,o){var t,u,q,k,n,j,l,r,p,m;t=s.length&3;u=s.length-t;q=o;n=3432918353;l=461845907;m=0;while(m<u){p=((s.charCodeAt(m)&255))|((s.charCodeAt(++m)&255)<<8)|((s.charCodeAt(++m)&255)<<16)|((s.charCodeAt(++m)&255)<<24);++m;p=((((p&65535)*n)+((((p>>>16)*n)&65535)<<16)))&4294967295;p=(p<<15)|(p>>>17);p=((((p&65535)*l)+((((p>>>16)*l)&65535)<<16)))&4294967295;q^=p;q=(q<<13)|(q>>>19);k=((((q&65535)*5)+((((q>>>16)*5)&65535)<<16)))&4294967295;q=(((k&65535)+27492)+((((k>>>16)+58964)&65535)<<16))}p=0;switch(t){case 3:p^=(s.charCodeAt(m+2)&255)<<16;case 2:p^=(s.charCodeAt(m+1)&255)<<8;case 1:p^=(s.charCodeAt(m)&255);p=(((p&65535)*n)+((((p>>>16)*n)&65535)<<16))&4294967295;p=(p<<15)|(p>>>17);p=(((p&65535)*l)+((((p>>>16)*l)&65535)<<16))&4294967295;q^=p}q^=s.length;q^=q>>>16;q=(((q&65535)*2246822507)+((((q>>>16)*2246822507)&65535)<<16))&4294967295;q^=q>>>13;q=((((q&65535)*3266489909)+((((q>>>16)*3266489909)&65535)<<16)))&4294967295;q^=q>>>16;return q>>>0}var d=e;d.v2=f;d.v3=e;if(typeof(c)!="undefined"){c.exports=d}else{var g=h.murmur;d.noConflict=function(){h.murmur=g;return d};h.murmur=d}}())},{}],6:[function(b,c,a){(function(){var g=b("crypt"),d=b("charenc").utf8,e=b("charenc").bin,h=function(q){if(q.constructor==String){q=d.stringToBytes(q)}var y=g.bytesToWords(q),z=q.length*8,r=[],u=1732584193,s=-271733879,p=-1732584194,o=271733878,k=-1009589776;y[z>>5]|=128<<(24-z%32);y[((z+64>>>9)<<4)+15]=z;for(var B=0;B<y.length;B+=16){var G=u,F=s,E=p,D=o,C=k;for(var A=0;A<80;A++){if(A<16){r[A]=y[B+A]}else{var x=r[A-3]^r[A-8]^r[A-14]^r[A-16];r[A]=(x<<1)|(x>>>31)}var v=((u<<5)|(u>>>27))+k+(r[A]>>>0)+(A<20?(s&p|~s&o)+1518500249:A<40?(s^p^o)+1859775393:A<60?(s&p|s&o|p&o)-1894007588:(s^p^o)-899497514);k=o;o=p;p=(s<<30)|(s>>>2);s=u;u=v}u+=G;s+=F;p+=E;o+=D;k+=C}return[u,s,p,o,k]},f=function(k,i){var j=g.wordsToBytes(h(k));return i&&i.asBytes?j:i&&i.asString?e.bytesToString(j):g.bytesToHex(j)};f._blocksize=16;f._digestsize=20;c.exports=f})()},{charenc:2,crypt:3}],7:[function(b,c,a){Object.defineProperty(a,"__esModule",{value:true});var d=b("./lib/core");a.trackerCore=d.trackerCore},{"./lib/core":9}],8:[function(c,d,a){Object.defineProperty(a,"__esModule",{value:true});function b(n){var j="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=";var h,g,f,s,q,p,o,t,m=0,u=0,l,k=[];if(!n){return n}n=unescape(encodeURIComponent(n));do{h=n.charCodeAt(m++);g=n.charCodeAt(m++);f=n.charCodeAt(m++);t=h<<16|g<<8|f;s=t>>18&63;q=t>>12&63;p=t>>6&63;o=t&63;k[u++]=j.charAt(s)+j.charAt(q)+j.charAt(p)+j.charAt(o)}while(m<n.length);l=k.join("");var e=n.length%3;return(e?l.slice(0,e-3):l)+"===".slice(e||3)}a.base64encode=b},{}],9:[function(b,d,a){Object.defineProperty(a,"__esModule",{value:true});var e=b("uuid");var g=b("./payload");function c(h){if(h==null){return{type:"dtm",value:new Date().getTime()}}else{if(typeof h==="number"){return{type:"dtm",value:h}}else{if(h.type==="ttm"){return{type:"ttm",value:h.value}}else{return{type:"dtm",value:(h.value||new Date().getTime())}}}}}function f(j,o){if(typeof j==="undefined"){j=true}var h={};function l(p,q){h[p]=q}function k(r,s){var q={};s=s||{};for(var p in r){if(s[p]||(r[p]!==null&&typeof r[p]!=="undefined")){q[p]=r[p]}}return q}function n(p){if(p&&p.length){return{schema:"iglu:com.snowplowanalytics.snowplow/contexts/jsonschema/1-0-0",data:p}}}function i(t,q,p){t.addDict(h);t.add("eid",e.v4());var s=c(p);t.add(s.type,s.value.toString());var r=n(q);if(r!==undefined){t.addJson("cx","co",r)}if(typeof o==="function"){o(t)}return t}function m(r,q,p){var t=g.payloadBuilder(j);var s={schema:"iglu:com.snowplowanalytics.snowplow/unstruct_event/jsonschema/1-0-0",data:r};t.add("e","ue");t.addJson("ue_px","ue_pr",s);return i(t,q,p)}return{setBase64Encoding:function(p){j=p},addPayloadPair:l,addPayloadDict:function(q){for(var p in q){if(q.hasOwnProperty(p)){h[p]=q[p]}}},resetPayloadPairs:function(p){h=g.isJson(p)?p:{}},setTrackerVersion:function(p){l("tv",p)},setTrackerNamespace:function(p){l("tna",p)},setAppId:function(p){l("aid",p)},setPlatform:function(p){l("p",p)},setUserId:function(p){l("uid",p)},setScreenResolution:function(q,p){l("res",q+"x"+p)},setViewport:function(q,p){l("vp",q+"x"+p)},setColorDepth:function(p){l("cd",p)},setTimezone:function(p){l("tz",p)},setLang:function(p){l("lang",p)},setIpAddress:function(p){l("ip",p)},trackUnstructEvent:m,trackSelfDescribingEvent:m,trackPageView:function(t,s,r,q,p){var u=g.payloadBuilder(j);u.add("e","pv");u.add("url",t);u.add("page",s);u.add("refr",r);return i(u,q,p)},trackPagePing:function(r,s,w,x,t,q,y,p,u){var v=g.payloadBuilder(j);v.add("e","pp");v.add("url",r);v.add("page",s);v.add("refr",w);v.add("pp_mix",x.toString());v.add("pp_max",t.toString());v.add("pp_miy",q.toString());v.add("pp_may",y.toString());return i(v,p,u)},trackStructEvent:function(s,v,q,u,t,r,p){var w=g.payloadBuilder(j);w.add("e","se");w.add("se_ca",s);w.add("se_ac",v);w.add("se_la",q);w.add("se_pr",u);w.add("se_va",(t==null?undefined:t.toString()));return i(w,r,p)},trackEcommerceTransaction:function(w,v,t,s,p,x,q,u,z,r,y){var A=g.payloadBuilder(j);A.add("e","tr");A.add("tr_id",w);A.add("tr_af",v);A.add("tr_tt",t);A.add("tr_tx",s);A.add("tr_sh",p);A.add("tr_ci",x);A.add("tr_st",q);A.add("tr_co",u);A.add("tr_cu",z);return i(A,r,y)},trackEcommerceTransactionItem:function(s,w,p,q,u,t,x,r,v){var y=g.payloadBuilder(j);y.add("e","ti");y.add("ti_id",s);y.add("ti_sk",w);y.add("ti_nm",p);y.add("ti_ca",q);y.add("ti_pr",u);y.add("ti_qu",t);y.add("ti_cu",x);return i(y,r,v)},trackScreenView:function(q,s,r,p){return m({schema:"iglu:com.snowplowanalytics.snowplow/screen_view/jsonschema/1-0-0",data:k({name:q,id:s})},r,p)},trackLinkClick:function(w,r,t,q,v,u,p){var s={schema:"iglu:com.snowplowanalytics.snowplow/link_click/jsonschema/1-0-1",data:k({targetUrl:w,elementId:r,elementClasses:t,elementTarget:q,elementContent:v})};return m(s,u,p)},trackAdImpression:function(t,p,r,s,z,u,v,y,q,x){var w={schema:"iglu:com.snowplowanalytics.snowplow/ad_impression/jsonschema/1-0-0",data:k({impressionId:t,costModel:p,cost:r,targetUrl:s,bannerId:z,zoneId:u,advertiserId:v,campaignId:y})};return m(w,q,x)},trackAdClick:function(r,x,p,s,A,u,t,v,z,q,y){var w={schema:"iglu:com.snowplowanalytics.snowplow/ad_click/jsonschema/1-0-0",data:k({targetUrl:r,clickId:x,costModel:p,cost:s,bannerId:A,zoneId:u,impressionId:t,advertiserId:v,campaignId:z})};return m(w,q,y)},trackAdConversion:function(A,p,s,r,u,y,z,t,x,q,w){var v={schema:"iglu:com.snowplowanalytics.snowplow/ad_conversion/jsonschema/1-0-0",data:k({conversionId:A,costModel:p,cost:s,category:r,action:u,property:y,initialValue:z,advertiserId:t,campaignId:x})};return m(v,q,w)},trackSocialInteraction:function(t,s,u,r,p){var q={schema:"iglu:com.snowplowanalytics.snowplow/social_interaction/jsonschema/1-0-0",data:k({action:t,network:s,target:u})};return m(q,r,p)},trackAddToCart:function(w,r,t,u,v,q,s,p){return m({schema:"iglu:com.snowplowanalytics.snowplow/add_to_cart/jsonschema/1-0-0",data:k({sku:w,name:r,category:t,unitPrice:u,quantity:v,currency:q})},s,p)},trackRemoveFromCart:function(w,r,t,u,v,q,s,p){return m({schema:"iglu:com.snowplowanalytics.snowplow/remove_from_cart/jsonschema/1-0-0",data:k({sku:w,name:r,category:t,unitPrice:u,quantity:v,currency:q})},s,p)},trackFormChange:function(v,q,w,t,r,u,s,p){return m({schema:"iglu:com.snowplowanalytics.snowplow/change_form/jsonschema/1-0-0",data:k({formId:v,elementId:q,nodeName:w,type:t,elementClasses:r,value:u},{value:true})},s,p)},trackFormSubmission:function(t,r,s,q,p){return m({schema:"iglu:com.snowplowanalytics.snowplow/submit_form/jsonschema/1-0-0",data:k({formId:t,formClasses:r,elements:s})},q,p)},trackSiteSearch:function(u,t,q,r,s,p){return m({schema:"iglu:com.snowplowanalytics.snowplow/site_search/jsonschema/1-0-0",data:k({terms:u,filters:t,totalResults:q,pageResults:r})},s,p)},trackConsentWithdrawn:function(t,w,q,r,u,s,p){var v={schema:"iglu:com.snowplowanalytics.snowplow/consent_document/jsonschema/1-0-0",data:k({id:w,version:q,name:r,description:u})};return m({schema:"iglu:com.snowplowanalytics.snowplow/consent_withdrawn/jsonschema/1-0-0",data:k({all:t})},v.data&&s?s.concat([v]):s,p)},trackConsentGranted:function(w,q,r,u,t,s,p){var v={schema:"iglu:com.snowplowanalytics.snowplow/consent_document/jsonschema/1-0-0",data:k({id:w,version:q,name:r,description:u,})};return m({schema:"iglu:com.snowplowanalytics.snowplow/consent_granted/jsonschema/1-0-0",data:k({expiry:t,})},s?s.concat([v]):[v],p)}}}a.trackerCore=f},{"./payload":10,uuid:12}],10:[function(f,g,c){Object.defineProperty(c,"__esModule",{value:true});var a=f("./base64");function e(j){if(!j){return j}var i=a.base64encode(j);return i.replace(/=/g,"").replace(/\+/g,"-").replace(/\//g,"_")}function d(j){if(!h(j)){return false}for(var i in j){if(j.hasOwnProperty(i)){return true}}return false}c.isNonEmptyJson=d;function h(i){return(typeof i!=="undefined"&&i!==null&&(i.constructor==={}.constructor||i.constructor===[].constructor))}c.isJson=h;function b(j){var m={};var l=function(n,o){if(o!=null&&o!==""){m[n]=o}};var i=function(o){for(var n in o){if(o.hasOwnProperty(n)){l(n,o[n])}}};var k=function(n,o,p){if(d(p)){var q=JSON.stringify(p);if(j){l(n,e(q))}else{l(o,q)}}};return{add:l,addDict:i,addJson:k,build:function(){return m}}}c.payloadBuilder=b},{"./base64":8}],11:[function(b,c,a){(function(i){var e;var h=i.crypto||i.msCrypto;if(h&&h.getRandomValues){var d=new Uint8Array(16);e=function f(){h.getRandomValues(d);return d}}if(!e){var g=new Array(16);e=function(){for(var j=0,k;j<16;j++){if((j&3)===0){k=Math.random()*4294967296}g[j]=k>>>((j&3)<<3)&255}return g}}c.exports=e}).call(this,typeof global!=="undefined"?global:typeof self!=="undefined"?self:typeof window!=="undefined"?window:{})},{}],12:[function(c,b,g){var d=c("./rng");var p=[];var h={};for(var j=0;j<256;j++){p[j]=(j+256).toString(16).substr(1);h[p[j]]=j}function e(w,t,x){var u=(t&&x)||0,v=0;t=t||[];w.toLowerCase().replace(/[0-9a-f]{2}/g,function(i){if(v<16){t[u+v++]=h[i]}});while(v<16){t[u+v++]=0}return t}function l(s,u){var t=u||0,v=p;return v[s[t++]]+v[s[t++]]+v[s[t++]]+v[s[t++]]+"-"+v[s[t++]]+v[s[t++]]+"-"+v[s[t++]]+v[s[t++]]+"-"+v[s[t++]]+v[s[t++]]+"-"+v[s[t++]]+v[s[t++]]+v[s[t++]]+v[s[t++]]+v[s[t++]]+v[s[t++]]}var r=d();var o=[r[0]|1,r[1],r[2],r[3],r[4],r[5]];var f=(r[6]<<8|r[7])&16383;var m=0,k=0;function q(E,u,y){var z=u&&y||0;var A=u||[];E=E||{};var x=E.clockseq!==undefined?E.clockseq:f;var s=E.msecs!==undefined?E.msecs:new Date().getTime();var D=E.nsecs!==undefined?E.nsecs:k+1;var t=(s-m)+(D-k)/10000;if(t<0&&E.clockseq===undefined){x=x+1&16383}if((t<0||s>m)&&E.nsecs===undefined){D=0}if(D>=10000){throw new Error("uuid.v1(): Can't create more than 10M uuids/sec")}m=s;k=D;f=x;s+=12219292800000;var C=((s&268435455)*10000+D)%4294967296;A[z++]=C>>>24&255;A[z++]=C>>>16&255;A[z++]=C>>>8&255;A[z++]=C&255;var B=(s/4294967296*10000)&268435455;A[z++]=B>>>8&255;A[z++]=B&255;A[z++]=B>>>24&15|16;A[z++]=B>>>16&255;A[z++]=x>>>8|128;A[z++]=x&255;var w=E.node||o;for(var v=0;v<6;v++){A[z+v]=w[v]}return u?u:l(A)}function n(t,s,x){var u=s&&x||0;if(typeof(t)=="string"){s=t=="binary"?new Array(16):null;t=null}t=t||{};var w=t.random||(t.rng||d)();w[6]=(w[6]&15)|64;w[8]=(w[8]&63)|128;if(s){for(var v=0;v<16;v++){s[u+v]=w[v]}}return s||l(w)}var a=n;a.v1=q;a.v4=n;a.parse=e;a.unparse=l;b.exports=a},{"./rng":11}],13:[function(d,e,a){var g=d("./lib_managed/lodash"),f=d("./lib/helpers"),c=typeof a!=="undefined"?a:this,b=window;c.errorManager=function(i){function h(o,l,p,n,m,q){var k=(m&&m.stack)?m.stack:null;i.trackSelfDescribingEvent({schema:"iglu:com.snowplowanalytics.snowplow/application_error/jsonschema/1-0-1",data:{programmingLanguage:"JAVASCRIPT",message:o||"JS Exception. Browser doesn't support ErrorEvent API",stackTrace:k,lineNumber:p,lineColumn:n,fileName:l}},q)}function j(n,k,m){var l;if(g.isFunction(m)){l=k.concat(m(n))}else{l=k}h(n.message,n.filename,n.lineno,n.colno,n.error,l)}return{trackError:h,enableErrorTracking:function(k,n,m){function l(o){if(g.isFunction(k)&&k(o)||k==null){j(o,m,n)}}f.addEventListener(b,"error",l,true)}}}},{"./lib/helpers":18,"./lib_managed/lodash":20}],14:[function(c,d,a){var f=c("./lib_managed/lodash"),e=c("./lib/helpers"),b=typeof a!=="undefined"?a:this;b.getFormTrackingManager=function(k,j,m){var q=["textarea","input","select"];var g=j+"form";var r=function(){return true};var i=function(){return true};var p=function(t){return t};function o(t){return t[f.find(["name","id","type","nodeName"],function(u){return t[u]&&typeof t[u]==="string"})]}function s(t){while(t&&t.nodeName&&t.nodeName.toUpperCase()!=="HTML"&&t.nodeName.toUpperCase()!=="FORM"){t=t.parentNode}if(t&&t.nodeName&&t.nodeName.toUpperCase()==="FORM"){return o(t)}}function h(u){var t=[];f.forEach(q,function(v){var w=f.filter(u.getElementsByTagName(v),function(x){return x.hasOwnProperty(g)});f.forEach(w,function(y){if(y.type==="submit"){return}var x={name:o(y),value:y.value,nodeName:y.nodeName};if(y.type&&y.nodeName.toUpperCase()==="INPUT"){x.type=y.type}if((y.type==="checkbox"||y.type==="radio")&&!y.checked){x.value=null}t.push(x)})});return t}function l(t){return function(x){var u=x.target;var v=(u.nodeName&&u.nodeName.toUpperCase()==="INPUT")?u.type:null;var w=(u.type==="checkbox"&&!u.checked)?null:p(u.value);k.trackFormChange(s(u),o(u),u.nodeName,v,e.getCssClasses(u),w,m(t))}}function n(t){return function(w){var v=w.target;var u=h(v);f.forEach(u,function(x){x.value=p(x.value)});k.trackFormSubmission(o(v),e.getCssClasses(v),u,m(t))}}return{configureFormTracking:function(t){if(t){r=e.getFilter(t.forms,true);i=e.getFilter(t.fields,false);p=e.getTransform(t.fields)}},addFormListeners:function(t){f.forEach(document.getElementsByTagName("form"),function(u){if(r(u)&&!u[g]){f.forEach(q,function(v){f.forEach(u.getElementsByTagName(v),function(w){if(i(w)&&!w[g]&&w.type.toLowerCase()!=="password"){e.addEventListener(w,"change",l(t),false);w[g]=true}})});e.addEventListener(u,"submit",n(t));u[g]=true}})}}}},{"./lib/helpers":18,"./lib_managed/lodash":20}],15:[function(b,c,a){(function(){var f=b("./lib_managed/lodash"),e=b("./lib/helpers"),d=typeof a!=="undefined"?a:this;d.InQueueManager=function(g,n,m,j,o){var h={};function q(u){var v=[];if(!u||u.length===0){v=f.map(h)}else{for(var t=0;t<u.length;t++){if(h.hasOwnProperty(u[t])){v.push(h[u[t]])}else{e.warn('Warning: Tracker namespace "'+u[t]+'" not configured')}}}if(v.length===0){e.warn("Warning: No tracker configured")}return v}function k(u,v,t){e.warn(u+" is deprecated. Set the collector when a new tracker instance using newTracker.");var i;if(f.isUndefined(t)){i="sp"}else{i=t}p(i);h[i][u](v)}function p(t,u,i){i=i||{};if(!h.hasOwnProperty(t)){h[t]=new g(o,t,n,m,i);h[t].setCollectorUrl(u)}else{e.warn("Tracker namespace "+t+" already exists.")}}function s(v){var u=v.split(":"),i=u[0],t=(u.length>1)?u[1].split(";"):[];return[i,t]}function r(){var v,u,x,w,t,A,y,z;for(v=0;v<arguments.length;v+=1){w=arguments[v];t=Array.prototype.shift.call(w);if(f.isFunction(t)){t.apply(h,w);continue}A=s(t);x=A[0];y=A[1];if(x==="newTracker"){p(w[0],w[1],w[2]);continue}if((x==="setCollectorCf"||x==="setCollectorUrl")&&(!y||y.length===0)){k(x,w[0],w[1]);continue}z=q(y);for(u=0;u<z.length;u++){z[u][x].apply(z[u],w)}}}for(var l=0;l<j.length;l++){r(j[l])}return{push:r}}}())},{"./lib/helpers":18,"./lib_managed/lodash":20}],16:[function(d,e,b){var g=d("./snowplow"),f,a,c=window;if(c.GlobalSnowplowNamespace&&c.GlobalSnowplowNamespace.length>0){f=c.GlobalSnowplowNamespace.shift();a=c[f];a.q=new g.Snowplow(a.q,f)}else{c._snaq=c._snaq||[];c._snaq=new g.Snowplow(c._snaq,"_snaq")}},{"./snowplow":23}],17:[function(b,c,a){(function(){var l=b("../lib_managed/lodash"),k=b("murmurhash").v3,g=b("jstimezonedetect").jstz.determine(),e=b("browser-cookie-lite"),h=typeof a!=="undefined"?a:this,j=window,d=navigator,i=screen,f=document;h.hasSessionStorage=function(){try{return !!j.sessionStorage}catch(m){return true}};h.hasLocalStorage=function(){try{return !!j.localStorage}catch(m){return true}};h.localStorageAccessible=function(){var m="modernizr";if(!h.hasLocalStorage()){return false}try{j.localStorage.setItem(m,m);j.localStorage.removeItem(m);return true}catch(n){return false}};h.hasCookies=function(m){var n=m||"testcookie";if(l.isUndefined(d.cookieEnabled)){e.cookie(n,"1");return e.cookie(n)==="1"?"1":"0"}return d.cookieEnabled?"1":"0"};h.detectSignature=function(r){var p=[d.userAgent,[i.height,i.width,i.colorDepth].join("x"),(new Date()).getTimezoneOffset(),h.hasSessionStorage(),h.hasLocalStorage()];var m=[];if(d.plugins){for(var q=0;q<d.plugins.length;q++){if(d.plugins[q]){var n=[];for(var o=0;o<d.plugins[q].length;o++){n.push([d.plugins[q][o].type,d.plugins[q][o].suffixes])}m.push([d.plugins[q].name+"::"+d.plugins[q].description,n.join("~")])}}}return k(p.join("###")+"###"+m.sort().join(";"),r)};h.detectTimezone=function(){return(typeof(g)==="undefined")?"":g.name()};h.detectViewport=function(){var p=j,n="inner";if(!("innerWidth" in j)){n="client";p=f.documentElement||f.body}var o=p[n+"Width"];var m=p[n+"Height"];if(o>=0&&m>=0){return o+"x"+m}else{return null}};h.detectDocumentSize=function(){var q=f.documentElement,o=f.body,p=o?Math.max(o.offsetHeight,o.scrollHeight):0;var m=Math.max(q.clientWidth,q.offsetWidth,q.scrollWidth);var n=Math.max(q.clientHeight,q.offsetHeight,q.scrollHeight,p);return isNaN(m)||isNaN(n)?"":m+"x"+n};h.detectBrowserFeatures=function(o,n){var m,q,r={pdf:"application/pdf",qt:"video/quicktime",realp:"audio/x-pn-realaudio-plugin",wma:"application/x-mplayer2",dir:"application/x-director",fla:"application/x-shockwave-flash",java:"application/x-java-vm",gears:"application/x-googlegears",ag:"application/x-silverlight"},p={};if(d.mimeTypes&&d.mimeTypes.length){for(m in r){if(Object.prototype.hasOwnProperty.call(r,m)){q=d.mimeTypes[r[m]];p[m]=(q&&q.enabledPlugin)?"1":"0"}}}if(d.constructor===window.Navigator&&typeof d.javaEnabled!=="unknown"&&!l.isUndefined(d.javaEnabled)&&d.javaEnabled()){p.java="1"}if(l.isFunction(j.GearsFactory)){p.gears="1"}p.res=i.width+"x"+i.height;p.cd=i.colorDepth;if(o){p.cookie=h.hasCookies(n)}return p}}())},{"../lib_managed/lodash":20,"browser-cookie-lite":1,jstimezonedetect:4,murmurhash:5}],18:[function(b,c,a){(function(){var g=b("../lib_managed/lodash"),e=b("browser-cookie-lite"),d=typeof a!=="undefined"?a:this;d.fixupTitle=function(i){if(!g.isString(i)){i=i.text||"";var h=document.getElementsByTagName("title");if(h&&!g.isUndefined(h[0])){i=h[0].text}}return i};d.getHostName=function(h){var j=new RegExp("^(?:(?:https?|ftp):)/*(?:[^@]+@)?([^:/#]+)"),i=j.exec(h);return i?i[1]:h};d.fixupDomain=function(i){var h=i.length;if(i.charAt(--h)==="."){i=i.slice(0,h)}if(i.slice(0,2)==="*."){i=i.slice(1)}return i};d.getReferrer=function(j){var i="";var h=d.fromQuerystring("referrer",window.location.href)||d.fromQuerystring("referer",window.location.href);if(h){return h}if(j){return j}try{i=window.top.document.referrer}catch(l){if(window.parent){try{i=window.parent.document.referrer}catch(k){i=""}}}if(i===""){i=document.referrer}return i};d.addEventListener=function(k,j,i,h){if(k.addEventListener){k.addEventListener(j,i,h);return true}if(k.attachEvent){return k.attachEvent("on"+j,i)}k["on"+j]=i};d.fromQuerystring=function(j,i){var h=new RegExp("^[^#]*[?&]"+j+"=([^&#]*)").exec(i);if(!h){return null}return decodeURIComponent(h[1].replace(/\+/g," "))};d.warn=function(h){if(typeof console!=="undefined"){console.warn("Snowplow: "+h)}};d.getCssClasses=function(h){return h.className.match(/\S+/g)||[]};function f(h,l){var k=d.getCssClasses(h),j;for(j=0;j<k.length;j++){if(l[k[j]]){return true}}return false}d.getFilter=function(m,n){if(g.isArray(m)||!g.isObject(m)){return function(){return true}}if(m.hasOwnProperty("filter")){return m.filter}else{var j=m.hasOwnProperty("whitelist");var l=m.whitelist||m.blacklist;if(!g.isArray(l)){l=[l]}var h={};for(var k=0;k<l.length;k++){h[l[k]]=true}if(n){return function(i){return f(i,h)===j}}else{return function(i){return i.name in h===j}}}};d.getTransform=function(h){if(!g.isObject(h)){return function(i){return i}}if(h.hasOwnProperty("transform")){return h.transform}else{return function(i){return i}}return function(i){return i}};d.decorateQuerystring=function(h,j,r){var p=j+"="+r;var o=h.split("#");var k=o[0].split("?");var n=k.shift();var s=k.join("?");if(!s){s=p}else{var l=true;var q=s.split("&");for(var m=0;m<q.length;m++){if(q[m].substr(0,j.length+1)===j+"="){l=false;q[m]=p;s=q.join("&");break}}if(l){s=p+"&"+s}}o[0]=n+"?"+s;return o.join("#")};d.attemptGetLocalStorage=function(h){try{return localStorage.getItem(h)}catch(i){}};d.attemptWriteLocalStorage=function(h,i){try{localStorage.setItem(h,i);return true}catch(j){return false}};d.findRootDomain=function(){var j="_sp_root_domain_test_";var p=j+new Date().getTime();var n="_test_value_"+new Date().getTime();var l=window.location.hostname.split(".");var h=l.length-1;while(h>=0){var m=l.slice(h,l.length).join(".");e.cookie(p,n,0,"/",m);if(e.cookie(p)===n){d.deleteCookie(p,m);var o=d.getCookiesWithPrefix(j);for(var k=0;k<o.length;k++){d.deleteCookie(o[k],m)}return m}h-=1}return window.location.hostname};d.isValueInArray=function(j,k){for(var h=0;h<k.length;h++){if(k[h]===j){return true}}return false};d.deleteCookie=function(i,h){e.cookie(i,"",-1,"/",h)};d.getCookiesWithPrefix=function(h){var k=document.cookie.split("; ");var l=[];for(var j=0;j<k.length;j++){if(k[j].substring(0,h.length)===h){l.push(k[j])}}return l};d.parseInt=function(i){var h=parseInt(i);return isNaN(h)?undefined:h};d.parseFloat=function(i){var h=parseFloat(i);return isNaN(h)?undefined:h}}())},{"../lib_managed/lodash":20,"browser-cookie-lite":1}],19:[function(b,c,a){(function(){var f=b("./helpers"),d=typeof a!=="undefined"?a:this;function h(j){var i=new RegExp("^(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\.(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\.(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\.(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)$");return i.test(j)}function e(l){var j,i;if(h(l)){try{j=document.body.children[0].children[0].children[0].children[0].children[0].children[0].innerHTML;i="You have reached the cached page for";return j.slice(0,i.length)===i}catch(k){return false}}}function g(k,j){var m=new RegExp("^(?:https?|ftp)(?::/*(?:[^?]+))([?][^#]+)"),l=m.exec(k),i=f.fromQuerystring(j,l[1]);return i}d.fixupUrl=function(k,i,j){if(k==="translate.googleusercontent.com"){if(j===""){j=i}i=g(i,"u");k=f.getHostName(i)}else{if(k==="cc.bingj.com"||k==="webcache.googleusercontent.com"||e(k)){i=document.links[0].href;k=f.getHostName(i)}}return[k,i,j]}}())},{"./helpers":18}],20:[function(b,c,a){(function(d){(function(){var I;var aB="3.10.1";var B="[object Arguments]",aI="[object Array]",aZ="[object Boolean]",D="[object Date]",aS="[object Error]",f="[object Function]",aU="[object Map]",n="[object Number]",l="[object Object]",aa="[object RegExp]",i="[object Set]",C="[object String]",A="[object WeakMap]";var a2="[object ArrayBuffer]",bv="[object Float32Array]",ad="[object Float64Array]",y="[object Int8Array]",aM="[object Int16Array]",H="[object Int32Array]",aY="[object Uint8Array]",ar="[object Uint8ClampedArray]",ax="[object Uint16Array]",u="[object Uint32Array]";var bl=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\n\\]|\\.)*?\1)\]/,w=/^\w*$/,at=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\n\\]|\\.)*?)\2)\]/g;var by=/\\(\\)?/g;var aK=/\w*$/;var k=/^\[object .+?Constructor\]$/;var W=/^\d+$/;var bq=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"];var aq={};aq[bv]=aq[ad]=aq[y]=aq[aM]=aq[H]=aq[aY]=aq[ar]=aq[ax]=aq[u]=true;aq[B]=aq[aI]=aq[a2]=aq[aZ]=aq[D]=aq[aS]=aq[f]=aq[aU]=aq[n]=aq[l]=aq[aa]=aq[i]=aq[C]=aq[A]=false;var aw={};aw[B]=aw[aI]=aw[a2]=aw[aZ]=aw[D]=aw[bv]=aw[ad]=aw[y]=aw[aM]=aw[H]=aw[n]=aw[l]=aw[aa]=aw[C]=aw[aY]=aw[ar]=aw[ax]=aw[u]=true;aw[aS]=aw[f]=aw[aU]=aw[i]=aw[A]=false;var aN={"function":true,object:true};var F=aN[typeof a]&&a&&!a.nodeType&&a;var ak=aN[typeof c]&&c&&!c.nodeType&&c;var aT=F&&ak&&typeof d=="object"&&d&&d.Object&&d;var bo=aN[typeof self]&&self&&self.Object&&self;var ab=aN[typeof window]&&window&&window.Object&&window;var bw=ak&&ak.exports===F&&F;var bk=aT||((ab!==(this&&this.window))&&ab)||bo||this;function K(bG,bC,bF){var bE=bG.length,bD=bF?bE:-1;while((bF?bD--:++bD<bE)){if(bC(bG[bD],bD,bG)){return bD}}return -1}function aH(bC){return bC==null?"":(bC+"")}var X=(function(){try{Object({toString:0}+"")}catch(bC){return function(){return false}}return function(bD){return typeof bD.toString!="function"&&typeof(bD+"")=="string"}}());function m(bC){return !!bC&&typeof bC=="object"}var al=Array.prototype,o=Error.prototype,bp=Object.prototype,az=String.prototype;var L=Function.prototype.toString;var aE=bp.hasOwnProperty;var q=bp.toString;var v=RegExp("^"+L.call(aE).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");var bg=bk.ArrayBuffer,aD=bp.propertyIsEnumerable,a1=al.splice,Y=bk.Uint8Array;var z=aC(Array,"isArray"),bx=aC(Object,"keys");var ap=9007199254740991;var Q={};Q[bv]=bk.Float32Array;Q[ad]=bk.Float64Array;Q[y]=bk.Int8Array;Q[aM]=bk.Int16Array;Q[H]=bk.Int32Array;Q[aY]=Y;Q[ar]=bk.Uint8ClampedArray;Q[ax]=bk.Uint16Array;Q[u]=bk.Uint32Array;var a3={};a3[aI]=a3[D]=a3[n]={constructor:true,toLocaleString:true,toString:true,valueOf:true};a3[aZ]=a3[C]={constructor:true,toString:true,valueOf:true};a3[aS]=a3[f]=a3[aa]={constructor:true,toString:true};a3[l]={constructor:true};a4(bq,function(bD){for(var bC in a3){if(aE.call(a3,bC)){var bE=a3[bC];bE[bD]=aE.call(bE,bD)}}});function P(){}var bs=P.support={};(function(bC){var bE=function(){this.x=bC},bD={"0":bC,length:bC},bG=[];bE.prototype={valueOf:bC,y:bC};for(var bF in new bE){bG.push(bF)}bs.enumErrorProps=aD.call(o,"message")||aD.call(o,"name");bs.enumPrototypes=aD.call(bE,"prototype");bs.nonEnumShadows=!/valueOf/.test(bG);bs.spliceObjects=(a1.call(bD,0,1),!bD[0]);bs.unindexedChars=("x"[0]+Object("x")[0])!="xx"}(1,0));function s(bE,bF){var bC=-1,bD=bE.length;bF||(bF=Array(bD));while(++bC<bD){bF[bC]=bE[bC]}return bF}function a4(bF,bE){var bC=-1,bD=bF.length;while(++bC<bD){if(bE(bF[bC],bC,bF)===false){break}}return bF}function bB(bI,bD){var bE=-1,bG=bI.length,bF=-1,bC=[];while(++bE<bG){var bH=bI[bE];if(bD(bH,bE,bI)){bC[++bF]=bH}}return bC}function bb(bG,bF){var bD=-1,bE=bG.length,bC=Array(bE);while(++bD<bE){bC[bD]=bF(bG[bD],bD,bG)}return bC}function t(bF,bC){var bD=-1,bE=bF.length;while(++bD<bE){if(bC(bF[bD],bD,bF)){return true}}return false}function a9(bC,bD){return bD==null?bC:aX(bD,Z(bD),bC)}function aX(bH,bF,bD){bD||(bD={});var bC=-1,bG=bF.length;while(++bC<bG){var bE=bF[bC];bD[bE]=bH[bE]}return bD}function E(bE,bC,bF){var bD=typeof bE;if(bD=="function"){return bC===I?bE:R(bE,bC,bF)}if(bE==null){return an}if(bD=="object"){return bm(bE)}return bC===I?aV(bE):aW(bE,bC)}function aQ(bK,bI,bD,bL,bF,bG,bE){var bN;if(bD){bN=bF?bD(bK,bL,bF):bD(bK)}if(bN!==I){return bN}if(!T(bK)){return bK}var bH=h(bK);if(bH){bN=av(bK);if(!bI){return s(bK,bN)}}else{var bM=q.call(bK),bJ=bM==f;if(bM==l||bM==B||(bJ&&!bF)){if(X(bK)){return bF?bK:{}}bN=bz(bJ?{}:bK);if(!bI){return a9(bN,bK)}}else{return aw[bM]?ay(bK,bM,bI):(bF?bK:{})}}bG||(bG=[]);bE||(bE=[]);var bC=bG.length;while(bC--){if(bG[bC]==bK){return bE[bC]}}bG.push(bK);bE.push(bN);(bH?a4:au)(bK,function(bP,bO){bN[bO]=aQ(bP,bI,bD,bO,bK,bG,bE)});return bN}var af=U(au);function M(bE,bD){var bC=[];af(bE,function(bG,bF,bH){if(bD(bG,bF,bH)){bC.push(bG)}});return bC}function ag(bG,bD,bF,bE){var bC;bF(bG,function(bI,bH,bJ){if(bD(bI,bH,bJ)){bC=bE?bH:bI;return false}});return bC}var bf=ah();function au(bC,bD){return bf(bC,bD,Z)}function ae(bE,bG,bC){if(bE==null){return}bE=r(bE);if(bC!==I&&bC in bE){bG=[bC]}var bD=0,bF=bG.length;while(bE!=null&&bD<bF){bE=r(bE)[bG[bD++]]}return(bD&&bD==bF)?bE:I}function bh(bG,bD,bF,bE,bC,bH){if(bG===bD){return true}if(bG==null||bD==null||(!T(bG)&&!m(bD))){return bG!==bG&&bD!==bD}return a8(bG,bD,bh,bF,bE,bC,bH)}function a8(bT,bG,bN,bK,bM,bQ,bO){var bJ=h(bT),bL=h(bG),bE=aI,bR=aI;if(!bJ){bE=q.call(bT);if(bE==B){bE=l}else{if(bE!=l){bJ=N(bT)}}}if(!bL){bR=q.call(bG);if(bR==B){bR=l}else{if(bR!=l){bL=N(bG)}}}var bC=bE==l&&!X(bT),bD=bR==l&&!X(bG),bI=bE==bR;if(bI&&!(bJ||bC)){return O(bT,bG,bE)}if(!bM){var bS=bC&&aE.call(bT,"__wrapped__"),bP=bD&&aE.call(bG,"__wrapped__");if(bS||bP){return bN(bS?bT.value():bT,bP?bG.value():bG,bK,bM,bQ,bO)}}if(!bI){return false}bQ||(bQ=[]);bO||(bO=[]);var bF=bQ.length;while(bF--){if(bQ[bF]==bT){return bO[bF]==bG}}bQ.push(bT);bO.push(bG);var bH=(bJ?bn:bj)(bT,bG,bN,bK,bM,bQ,bO);bQ.pop();bO.pop();return bH}function aG(bG,bK,bF){var bJ=bK.length,bD=bJ,bE=!bF;if(bG==null){return !bD}bG=r(bG);while(bJ--){var bH=bK[bJ];if((bE&&bH[2])?bH[1]!==bG[bH[0]]:!(bH[0] in bG)){return false}}while(++bJ<bD){bH=bK[bJ];var bL=bH[0],bI=bG[bL],bC=bH[1];if(bE&&bH[2]){if(bI===I&&!(bL in bG)){return false}}else{var bM=bF?bF(bI,bC,bL):I;if(!(bM===I?bh(bC,bI,bF,true):bM)){return false}}}return true}function br(bF,bE){var bD=-1,bC=a0(bF)?Array(bF.length):[];af(bF,function(bH,bG,bI){bC[++bD]=bE(bH,bG,bI)});return bC}function bm(bF){var bC=aR(bF);if(bC.length==1&&bC[0][2]){var bD=bC[0][0],bE=bC[0][1];return function(bG){if(bG==null){return false}bG=r(bG);return bG[bD]===bE&&(bE!==I||(bD in bG))}}return function(bG){return aG(bG,bC)}}function aW(bG,bF){var bE=h(bG),bD=bd(bG)&&aF(bF),bC=(bG+"");bG=bi(bG);return function(bH){if(bH==null){return false}var bI=bC;bH=r(bH);if((bE||!bD)&&!(bI in bH)){bH=bG.length==1?bH:ae(bH,aL(bG,0,-1));if(bH==null){return false}bI=am(bG);bH=r(bH)}return bH[bI]===bF?(bF!==I||(bI in bH)):bh(bF,bH[bI],I,true)}}function aP(bC){return function(bD){return bD==null?I:r(bD)[bC]}}function aO(bD){var bC=(bD+"");bD=bi(bD);return function(bE){return ae(bE,bD,bC)}}function aL(bH,bG,bD){var bE=-1,bF=bH.length;bG=bG==null?0:(+bG||0);if(bG<0){bG=-bG>bF?0:(bF+bG)}bD=(bD===I||bD>bF)?bF:(+bD||0);if(bD<0){bD+=bF}bF=bG>bD?0:((bD-bG)>>>0);bG>>>=0;var bC=Array(bF);while(++bE<bF){bC[bE]=bH[bE+bG]}return bC}function R(bD,bC,bE){if(typeof bD!="function"){return an}if(bC===I){return bD}switch(bE){case 1:return function(bF){return bD.call(bC,bF)};case 3:return function(bG,bF,bH){return bD.call(bC,bG,bF,bH)};case 4:return function(bF,bH,bG,bI){return bD.call(bC,bF,bH,bG,bI)};case 5:return function(bJ,bF,bH,bG,bI){return bD.call(bC,bJ,bF,bH,bG,bI)}}return function(){return bD.apply(bC,arguments)}}function p(bE){var bC=new bg(bE.byteLength),bD=new Y(bC);bD.set(new Y(bE));return bC}function U(bD,bC){return function(bI,bH){var bF=bI?a7(bI):0;if(!aA(bF)){return bD(bI,bH)}var bE=bC?bF:-1,bG=r(bI);while((bC?bE--:++bE<bF)){if(bH(bG[bE],bE,bG)===false){break}}return bI}}function ah(bC){return function(bE,bK,bI){var bJ=r(bE),bG=bI(bE),bH=bG.length,bD=bC?bH:-1;while((bC?bD--:++bD<bH)){var bF=bG[bD];if(bK(bJ[bF],bF,bJ)===false){break}}return bE}}function be(bD,bC){return function(bH,bE,bF){bE=ba(bE,bF,3);if(h(bH)){var bG=K(bH,bE,bC);return bG>-1?bH[bG]:I}return ag(bH,bE,bD)}}function ac(bC,bD){return function(bG,bF,bE){return(typeof bF=="function"&&bE===I&&h(bG))?bC(bG,bF):bD(bG,R(bF,bE,3))}}function bu(bC){return function(bF,bG,bE){var bD={};bG=ba(bG,bE,3);au(bF,function(bK,bJ,bI){var bH=bG(bK,bJ,bI);bJ=bC?bH:bJ;bK=bC?bK:bH;bD[bJ]=bK});return bD}}function bn(bJ,bK,bN,bD,bF,bG,bE){var bI=-1,bL=bJ.length,bM=bK.length;if(bL!=bM&&!(bF&&bM>bL)){return false}while(++bI<bL){var bC=bJ[bI],bH=bK[bI],bO=bD?bD(bF?bH:bC,bF?bC:bH,bI):I;if(bO!==I){if(bO){continue}return false}if(bF){if(!t(bK,function(bP){return bC===bP||bN(bC,bP,bD,bF,bG,bE)})){return false}}else{if(!(bC===bH||bN(bC,bH,bD,bF,bG,bE))){return false}}}return true}function O(bE,bD,bC){switch(bC){case aZ:case D:return +bE==+bD;case aS:return bE.name==bD.name&&bE.message==bD.message;case n:return(bE!=+bE)?bD!=+bD:bE==+bD;case aa:case C:return bE==(bD+"")}return false}function bj(bS,bE,bP,bK,bM,bR,bQ){var bH=Z(bS),bJ=bH.length,bI=Z(bE),bN=bI.length;if(bJ!=bN&&!bM){return false}var bF=bJ;while(bF--){var bT=bH[bF];if(!(bM?bT in bE:aE.call(bE,bT))){return false}}var bC=bM;while(++bF<bJ){bT=bH[bF];var bU=bS[bT],bD=bE[bT],bG=bK?bK(bM?bD:bU,bM?bU:bD,bT):I;if(!(bG===I?bP(bU,bD,bK,bM,bR,bQ):bG)){return false}bC||(bC=bT=="constructor")}if(!bC){var bL=bS.constructor,bO=bE.constructor;if(bL!=bO&&("constructor" in bS&&"constructor" in bE)&&!(typeof bL=="function"&&bL instanceof bL&&typeof bO=="function"&&bO instanceof bO)){return false}}return true}function ba(bE,bD,bF){var bC=P.callback||V;bC=bC===V?E:bC;return bF?bC(bE,bD,bF):bC}var a7=aP("length");function aR(bD){var bC=g(bD),bE=bC.length;while(bE--){bC[bE][2]=aF(bC[bE][1])}return bC}function aC(bC,bD){var bE=bC==null?I:bC[bD];return aj(bE)?bE:I}function av(bE){var bD=bE.length,bC=new bE.constructor(bD);if(bD&&typeof bE[0]=="string"&&aE.call(bE,"index")){bC.index=bE.index;bC.input=bE.input}return bC}function bz(bD){var bC=bD.constructor;if(!(typeof bC=="function"&&bC instanceof bC)){bC=Object}return new bC}function ay(bH,bD,bF){var bG=bH.constructor;switch(bD){case a2:return p(bH);case aZ:case D:return new bG(+bH);case bv:case ad:case y:case aM:case H:case aY:case ar:case ax:case u:if(bG instanceof bG){bG=Q[bD]}var bE=bH.buffer;return new bG(bF?p(bE):bE,bH.byteOffset,bH.length);case n:case C:return new bG(bH);case aa:var bC=new bG(bH.source,aK.exec(bH));bC.lastIndex=bH.lastIndex}return bC}function a0(bC){return bC!=null&&aA(a7(bC))}function G(bD,bC){bD=(typeof bD=="number"||W.test(bD))?+bD:-1;bC=bC==null?ap:bC;return bD>-1&&bD%1==0&&bD<bC}function e(bG,bE,bD){if(!T(bD)){return false}var bF=typeof bE;if(bF=="number"?(a0(bD)&&G(bE,bD.length)):(bF=="string"&&bE in bD)){var bC=bD[bE];return bG===bG?(bG===bC):(bC!==bC)}return false}function bd(bF,bD){var bE=typeof bF;if((bE=="string"&&w.test(bF))||bE=="number"){return true}if(h(bF)){return false}var bC=!bl.test(bF);return bC||(bD!=null&&bF in r(bD))}function aA(bC){return typeof bC=="number"&&bC>-1&&bC%1==0&&bC<=ap}function aF(bC){return bC===bC&&!T(bC)}function ao(bF){var bI=a5(bF),bH=bI.length,bJ=bH&&bF.length;var bD=!!bJ&&aA(bJ)&&(h(bF)||j(bF)||bt(bF));var bE=-1,bC=[];while(++bE<bH){var bG=bI[bE];if((bD&&G(bG,bJ))||aE.call(bF,bG)){bC.push(bG)}}return bC}function r(bF){if(P.support.unindexedChars&&bt(bF)){var bD=-1,bE=bF.length,bC=Object(bF);while(++bD<bE){bC[bD]=bF.charAt(bD)}return bC}return T(bF)?bF:Object(bF)}function bi(bD){if(h(bD)){return bD}var bC=[];aH(bD).replace(at,function(bG,bH,bE,bF){bC.push(bE?bF.replace(by,"$1"):(bH||bG))});return bC}function am(bD){var bC=bD?bD.length:0;return bC?bD[bC-1]:I}function S(bF,bC,bD){var bE=h(bF)?bB:M;bC=ba(bC,bD,3);return bE(bF,bC)}var bA=be(af);var a6=ac(a4,af);function J(bF,bE,bC){var bD=h(bF)?bb:br;bE=ba(bE,bC,3);return bD(bF,bE)}function j(bC){return m(bC)&&a0(bC)&&aE.call(bC,"callee")&&!aD.call(bC,"callee")}var h=z||function(bC){return m(bC)&&aA(bC.length)&&q.call(bC)==aI};function bc(bC){return T(bC)&&q.call(bC)==f}function T(bD){var bC=typeof bD;return !!bD&&(bC=="object"||bC=="function")}function aj(bC){if(bC==null){return false}if(bc(bC)){return v.test(L.call(bC))}return m(bC)&&(X(bC)?v:k).test(bC)}function bt(bC){return typeof bC=="string"||(m(bC)&&q.call(bC)==C)}function N(bC){return m(bC)&&aA(bC.length)&&!!aq[q.call(bC)]}function ai(bC){return bC===I}var Z=!bx?ao:function(bD){var bC=bD==null?I:bD.constructor;if((typeof bC=="function"&&bC.prototype===bD)||(typeof bD=="function"?P.support.enumPrototypes:a0(bD))){return ao(bD)}return T(bD)?bx(bD):[]};function a5(bE){if(bE==null){return[]}if(!T(bE)){bE=Object(bE)}var bC=bE.length,bM=P.support;bC=(bC&&aA(bC)&&(h(bE)||j(bE)||bt(bE))&&bC)||0;var bD=bE.constructor,bJ=-1,bG=(bc(bD)&&bD.prototype)||bp,bF=bG===bE,bQ=Array(bC),bI=bC>0,bK=bM.enumErrorProps&&(bE===o||bE instanceof Error),bP=bM.enumPrototypes&&bc(bE);while(++bJ<bC){bQ[bJ]=(bJ+"")}for(var bL in bE){if(!(bP&&bL=="prototype")&&!(bK&&(bL=="message"||bL=="name"))&&!(bI&&G(bL,bC))&&!(bL=="constructor"&&(bF||!aE.call(bE,bL)))){bQ.push(bL)}}if(bM.nonEnumShadows&&bE!==bp){var bO=bE===az?C:(bE===o?aS:q.call(bE)),bN=a3[bO]||a3[l];if(bO==l){bG=bp}bC=bq.length;while(bC--){bL=bq[bC];var bH=bN[bL];if(!(bF&&bH)&&(bH?aE.call(bE,bL):bE[bL]!==bG[bL])){bQ.push(bL)}}}return bQ}var aJ=bu();function g(bE){bE=r(bE);var bD=-1,bG=Z(bE),bH=bG.length,bC=Array(bH);while(++bD<bH){var bF=bG[bD];bC[bD]=[bF,bE[bF]]}return bC}function V(bE,bC,bD){if(bD&&e(bE,bC,bD)){bC=I}return m(bE)?x(bE):E(bE,bC)}function an(bC){return bC}function x(bC){return bm(aQ(bC,true))}function aV(bC){return bd(bC)?aP(bC):aO(bC)}P.callback=V;P.filter=S;P.forEach=a6;P.keys=Z;P.keysIn=a5;P.map=J;P.mapValues=aJ;P.matches=x;P.pairs=g;P.property=aV;P.collect=J;P.each=a6;P.iteratee=V;P.select=S;P.find=bA;P.identity=an;P.isArguments=j;P.isArray=h;P.isFunction=bc;P.isNative=aj;P.isObject=T;P.isString=bt;P.isTypedArray=N;P.isUndefined=ai;P.last=am;P.detect=bA;P.VERSION=aB;if(F&&ak){if(bw){(ak.exports=P)._=P}}}.call(this))}).call(this,typeof global!=="undefined"?global:typeof self!=="undefined"?self:typeof window!=="undefined"?window:{})},{}],21:[function(c,d,a){var f=c("./lib_managed/lodash"),e=c("./lib/helpers"),b=typeof a!=="undefined"?a:this;b.getLinkTrackingManager=function(m,i,p){var h,g,l,q,k,n;function r(u,t){var B,D,z,A,y,C;while((B=u.parentNode)!==null&&!f.isUndefined(B)&&((D=u.tagName.toUpperCase())!=="A"&&D!=="AREA")){u=B}if(!f.isUndefined(u.href)){var x=u.hostname||e.getHostName(u.href),v=x.toLowerCase(),s=u.href.replace(x,v),w=new RegExp("^(javascript|vbscript|jscript|mocha|livescript|ecmascript|mailto):","i");if(!w.test(s)){z=u.id;A=e.getCssClasses(u);y=u.target;C=l?u.innerHTML:null;s=unescape(s);m.trackLinkClick(s,z,A,y,C,p(t))}}}function o(s){return function(t){var u,v;t=t||window.event;u=t.which||t.button;v=t.target||t.srcElement;if(t.type==="click"){if(v){r(v,s)}}else{if(t.type==="mousedown"){if((u===1||u===2)&&v){k=u;n=v}else{k=n=null}}else{if(t.type==="mouseup"){if(u===k&&v===n){r(v,s)}k=n=null}}}}}function j(s){if(g){e.addEventListener(s,"mouseup",o(q),false);e.addEventListener(s,"mousedown",o(q),false)}else{e.addEventListener(s,"click",o(q),false)}}return{configureLinkClickTracking:function(u,s,v,t){l=v;q=t;g=s;h=e.getFilter(u,true)},addClickListeners:function(){var t=document.links,s;for(s=0;s<t.length;s++){if(h(t[s])&&!t[s][i]){j(t[s]);t[s][i]=true}}}}}},{"./lib/helpers":18,"./lib_managed/lodash":20}],22:[function(b,c,a){(function(){var g=b("./lib_managed/lodash"),e=b("./lib/detectors").localStorageAccessible,f=b("./lib/helpers"),d=typeof a!=="undefined"?a:this;d.OutQueueManager=function(x,q,s,z,w,m,j){var k,h=false,v,i;w=w&&window.XMLHttpRequest&&("withCredentials" in new XMLHttpRequest());var r=w?"/com.snowplowanalytics.snowplow/tp2":"/i";m=(e()&&z&&w&&m)||1;k=["snowplowOutQueue",x,q,w?"post2":"get"].join("_");if(z){try{i=JSON.parse(localStorage.getItem(k))}catch(u){}}if(!g.isArray(i)){i=[]}s.outQueues.push(i);if(w&&m>1){s.bufferFlushers.push(function(){if(!h){y()}})}function o(H){var D="?",E={co:true,cx:true},C=true;for(var G in H){if(H.hasOwnProperty(G)&&!(E.hasOwnProperty(G))){if(!C){D+="&"}else{C=false}D+=encodeURIComponent(G)+"="+encodeURIComponent(H[G])}}for(var F in E){if(H.hasOwnProperty(F)&&E.hasOwnProperty(F)){D+="&"+F+"="+encodeURIComponent(H[F])}}return D}function A(C){var D=g.mapValues(C,function(E){return E.toString()});return{evt:D,bytes:B(JSON.stringify(D))}}function B(E){var C=0;for(var D=0;D<E.length;D++){var F=E.charCodeAt(D);if(F<=127){C+=1}else{if(F<=2047){C+=2}else{if(F>=55296&&F<=57343){C+=4;D++}else{if(F<65535){C+=3}else{C+=4}}}}}return C}function t(F,E){v=E+r;if(w){var C=A(F);if(C.bytes>=j){f.warn("Event of size "+C.bytes+" is too long - the maximum size is "+j);var G=n(v);G.send(p(l([C.evt])));return}else{i.push(C)}}else{i.push(o(F))}var D=false;if(z){D=f.attemptWriteLocalStorage(k,JSON.stringify(i))}if(!h&&(!D||i.length>=m)){y()}}function y(){while(i.length&&typeof i[0]!=="string"&&typeof i[0]!=="object"){i.shift()}if(i.length<1){h=false;return}if(!g.isString(v)){throw"No Snowplow collector configured, cannot track"}h=true;var G=i[0];if(w){var H=n(v);var C=setTimeout(function(){H.abort();h=false},5000);function D(J){var L=0;var K=0;while(L<J.length){K+=J[L].bytes;if(K>=j){break}else{L+=1}}return L}var I=D(i);H.onreadystatechange=function(){if(H.readyState===4&&H.status>=200&&H.status<400){for(var J=0;J<I;J++){i.shift()}if(z){f.attemptWriteLocalStorage(k,JSON.stringify(i))}clearTimeout(C);y()}else{if(H.readyState===4&&H.status>=400){clearTimeout(C);h=false}}};var E=g.map(i.slice(0,I),function(J){return J.evt});if(E.length>0){H.send(p(l(E)))}}else{var F=new Image(1,1);F.onload=function(){i.shift();if(z){f.attemptWriteLocalStorage(k,JSON.stringify(i))}y()};F.onerror=function(){h=false};F.src=v+G.replace("?","?stm="+new Date().getTime()+"&")}}function n(C){var D=new XMLHttpRequest();D.open("POST",C,true);D.withCredentials=true;D.setRequestHeader("Content-Type","application/json; charset=UTF-8");return D}function p(C){return JSON.stringify({schema:"iglu:com.snowplowanalytics.snowplow/payload_data/jsonschema/1-0-4",data:C})}function l(E){var C=new Date().getTime().toString();for(var D=0;D<E.length;D++){E[D]["stm"]=C}return E}return{enqueueRequest:t,executeQueue:y}}}())},{"./lib/detectors":17,"./lib/helpers":18,"./lib_managed/lodash":20}],23:[function(b,c,a){(function(){var f=b("uuid"),i=b("./lib_managed/lodash"),h=b("./lib/helpers"),d=b("./in_queue"),g=b("./tracker"),e=typeof a!=="undefined"?a:this;e.Snowplow=function(l,q){var k=document,m=window,o="js-2.9.2",n={outQueues:[],bufferFlushers:[],expireDateTime:null,hasLoaded:false,registeredOnLoadHandlers:[],pageViewId:null};function p(){var s;i.forEach(n.bufferFlushers,function(t){t()});if(n.expireDateTime){do{s=new Date();if(i.filter(n.outQueues,function(t){return t.length>0}).length===0){break}}while(s.getTime()<n.expireDateTime)}}function r(){var s;if(!n.hasLoaded){n.hasLoaded=true;for(s=0;s<n.registeredOnLoadHandlers.length;s++){n.registeredOnLoadHandlers[s]()}}return true}function j(){var t;if(k.addEventListener){h.addEventListener(k,"DOMContentLoaded",function s(){k.removeEventListener("DOMContentLoaded",s,false);r()})}else{if(k.attachEvent){k.attachEvent("onreadystatechange",function s(){if(k.readyState==="complete"){k.detachEvent("onreadystatechange",s);r()}});if(k.documentElement.doScroll&&m===m.top){(function s(){if(!n.hasLoaded){try{k.documentElement.doScroll("left")}catch(u){setTimeout(s,0);return}r()}}())}}}if((new RegExp("WebKit")).test(navigator.userAgent)){t=setInterval(function(){if(n.hasLoaded||/loaded|complete/.test(k.readyState)){clearInterval(t);r()}},10)}h.addEventListener(m,"load",r,false)}m.Snowplow={getTrackerCf:function(u){var s=new g.Tracker(q,"",o,n,{});s.setCollectorCf(u);return s},getTrackerUrl:function(s){var u=new g.Tracker(q,"",o,n,{});u.setCollectorUrl(s);return u},getAsyncTracker:function(){return new g.Tracker(q,"",o,n,{})}};h.addEventListener(m,"beforeunload",p,false);j();return new d.InQueueManager(g.Tracker,o,n,l,q)}}())},{"./in_queue":15,"./lib/helpers":18,"./lib_managed/lodash":20,"./tracker":24,uuid:12}],24:[function(b,c,a){(function(){var q=b("./lib_managed/lodash"),f=b("./lib/helpers"),i=b("./lib/proxies"),g=b("browser-cookie-lite"),n=b("./lib/detectors"),m=b("sha1"),p=b("./links"),e=b("./forms"),o=b("./errors"),k=b("./out_queue"),l=b("snowplow-tracker-core").trackerCore,d=b("uuid"),h=typeof a!=="undefined"?a:this;h.Tracker=function j(bw,a3,U,C,aJ){var z=l(true,function(bF){N(bF);an(bF,aS)}),ax=document,al=window,W=navigator,v=i.fixupUrl(ax.domain,al.location.href,f.getReferrer()),bf=f.fixupDomain(v[0]),bv=v[1],aW=v[2],bE,ao,aJ=aJ||{},aU="GET",L=aJ.hasOwnProperty("platform")?aJ.platform:"web",x,bi=aJ.hasOwnProperty("appId")?aJ.appId:"",aD,a0=ax.title,D,aS=aJ.hasOwnProperty("pageUnloadTimer")?aJ.pageUnloadTimer:500,P=false,F,V,G,bs=aJ.hasOwnProperty("cookieName")?aJ.cookieName:"_sp_",I=aJ.hasOwnProperty("cookieDomain")?aJ.cookieDomain:null,bt="/",ac=W.doNotTrack||W.msDoNotTrack||al.doNotTrack,bm=aJ.hasOwnProperty("respectDoNotTrack")?aJ.respectDoNotTrack&&(ac==="yes"||ac==="1"):false,av,ar,M=aJ.hasOwnProperty("cookieLifetime")?aJ.cookieLifetime:63072000,R=aJ.hasOwnProperty("sessionCookieTimeout")?aJ.sessionCookieTimeout:1800,X=aJ.hasOwnProperty("userFingerprintSeed")?aJ.userFingerprintSeed:123412414,bk=ax.characterSet||ax.charset,a4=aJ.hasOwnProperty("forceSecureTracker")?(aJ.forceSecureTracker===true):false,ag=!a4&&aJ.hasOwnProperty("forceUnsecureTracker")?(aJ.forceUnsecureTracker===true):false,aq=aJ.hasOwnProperty("useLocalStorage")?(f.warn("argmap.useLocalStorage is deprecated. Use argmap.stateStorageStrategy instead."),aJ.useLocalStorage):true,aM=aJ.hasOwnProperty("useCookies")?(f.warn("argmap.useCookies is deprecated. Use argmap.stateStorageStrategy instead."),aJ.useCookies):true,aY=aJ.hasOwnProperty("stateStorageStrategy")?aJ.stateStorageStrategy:(!aM&&!aq?"none":(aM&&aq?"cookieAndLocalStorage":(aM?"cookie":"localStorage"))),K=W.userLanguage||W.language,bj=n.detectBrowserFeatures(aY=="cookie"||aY=="cookieAndLocalStorage",Q("testcookie")),y=(aJ.userFingerprint===false)?"":n.detectSignature(X),O=bw+"_"+a3,aZ=false,aV,br=new Date().getTime(),aQ,aE,ay,af,ak=m,a1,at,ab,aa=1,bD,E=bc(),u=p.getLinkTrackingManager(z,O,bp),az=e.getFormTrackingManager(z,O,bp),aT=o.errorManager(z),bo=new k.OutQueueManager(bw,a3,C,aY=="localStorage"||aY=="cookieAndLocalStorage",aJ.post,aJ.bufferSize,aJ.maxPostBytes||40000),a9=false,bx=aJ.contexts||{},bz=[],t=[],aL=false,J=false;if(aJ.hasOwnProperty("discoverRootDomain")&&aJ.discoverRootDomain){I=f.findRootDomain()}if(bx.gaCookies){bz.push(H())}if(bx.geolocation){bu()}z.setBase64Encoding(aJ.hasOwnProperty("encodeBase64")?aJ.encodeBase64:true);z.setTrackerVersion(U);z.setTrackerNamespace(a3);z.setAppId(bi);z.setPlatform(L);z.setTimezone(n.detectTimezone());z.addPayloadPair("lang",K);z.addPayloadPair("cs",bk);for(var ai in bj){if(Object.prototype.hasOwnProperty.call(bj,ai)){if(ai==="res"||ai==="cd"||ai==="cookie"){z.addPayloadPair(ai,bj[ai])}else{z.addPayloadPair("f_"+ai,bj[ai])}}}function bB(){v=i.fixupUrl(ax.domain,al.location.href,f.getReferrer());if(v[1]!==bv){aW=f.getReferrer(bv)}bf=f.fixupDomain(v[0]);bv=v[1]}function au(){var bF=new Date().getTime();if(this.href){this.href=f.decorateQuerystring(this.href,"_sp",at+"."+bF)}}function w(bH){for(var bG=0;bG<ax.links.length;bG++){var bF=ax.links[bG];if(!bF.spDecorationEnabled&&bH(bF)){f.addEventListener(bF,"click",au,true);f.addEventListener(bF,"mousedown",au,true);bF.spDecorationEnabled=true}}}function bc(){return{transaction:{},items:[]}}function bn(bF){var bG;if(G){bG=new RegExp("#.*");return bF.replace(bG,"")}return bF}function by(bF){var bH=new RegExp("^([a-z]+):"),bG=bH.exec(bF);return bG?bG[1]:null}function be(bH,bF){var bI=by(bF),bG;if(bI){return bF}if(bF.slice(0,1)==="/"){return by(bH)+"://"+f.getHostName(bH)+bF}bH=bn(bH);if((bG=bH.indexOf("?"))>=0){bH=bH.slice(0,bG)}if((bG=bH.lastIndexOf("/"))!==bH.length-1){bH=bH.slice(0,bG+1)}return bH+bF}function an(bH,bG){var bF=new Date();var bI=!!g.cookie(av);if(!(bm||bI)){bo.enqueueRequest(bH.build(),x);C.expireDateTime=bF.getTime()+bG}}function Q(bF){return bs+bF+"."+a1}function ap(bG){var bF=Q(bG);if(aY=="localStorage"){return f.attemptGetLocalStorage(bF)}else{if(aY=="cookie"||aY=="cookieAndLocalStorage"){return g.cookie(bF)}}}function aO(){bB();a1=ak((I||bf)+(bt||"/")).slice(0,4)}function bg(){var bF=new Date();aV=bF.getTime()}function a6(){aB();bg()}function aH(){var bF=(ax.compatMode&&ax.compatMode!=="BackCompat")?ax.documentElement:ax.body;return[bF.scrollLeft||al.pageXOffset,bF.scrollTop||al.pageYOffset]}function aN(){var bG=aH();var bF=bG[0];aQ=bF;aE=bF;var bH=bG[1];ay=bH;af=bH}function aB(){var bG=aH();var bF=bG[0];if(bF<aQ){aQ=bF}else{if(bF>aE){aE=bF}}var bH=bG[1];if(bH<ay){ay=bH}else{if(bH>af){af=bH}}}function Y(bG){var bF=Math.round(bG);if(!isNaN(bF)){return bF}}function aw(){var bG=Q("ses");var bF="*";ba(bG,bF,R)}function bq(bH,bG,bF,bJ,bI,bL){var bM=Q("id");var bK=bH+"."+bG+"."+bF+"."+bJ+"."+bI+"."+bL;ba(bM,bK,M)}function ba(bF,bH,bG){if(aY=="localStorage"){f.attemptWriteLocalStorage(bF,bH)}else{if(aY=="cookie"||aY=="cookieAndLocalStorage"){g.cookie(bF,bH,bG,bt,I)}}}function aP(){return d.v4()}function B(){var bG=aY!="none"&&!!ap("ses");var bF=a8();if(bF[1]){at=bF[1]}else{at=aP();bF[1]=at}ab=bF[6];if(!bG){bF[3]++;ab=d.v4();bF[6]=ab;bF[5]=bF[4]}if(aY!="none"){aw();bF[4]=Math.round(new Date().getTime()/1000);bF.shift();bq.apply(null,bF)}}function a8(){if(aY=="none"){return[]}var bG=new Date(),bF=Math.round(bG.getTime()/1000),bI=ap("id"),bH;if(bI){bH=bI.split(".");bH.unshift("0")}else{bH=["1",at,bF,0,bF,""]}if(!bH[6]){bH[6]=d.v4()}return bH}function N(bM){var bH=Math.round(new Date().getTime()/1000),bK=Q("id"),bJ=Q("ses"),bO=ap("ses"),bG=a8(),bP=bG[0],bN=bG[1],bS=bG[2],bI=bG[3],bR=bG[4],bF=bG[5],bL=bG[6];var bQ=!!g.cookie(av);if((bm||bQ)&&aY!="none"){if(aY=="localStorage"){f.attemptWriteLocalStorage(bK,"");f.attemptWriteLocalStorage(sesName,"")}else{if(aY=="cookie"||aY=="cookieAndLocalStorage"){g.cookie(bK,"",-1,bt,I);g.cookie(bJ,"",-1,bt,I)}}return}if(bP==="0"){ab=bL;if(!bO&&aY!="none"){bI++;bF=bR;ab=d.v4()}aa=bI}else{if((new Date().getTime()-br)>R*1000){ab=d.v4();aa++}}bM.add("vp",n.detectViewport());bM.add("ds",n.detectDocumentSize());bM.add("vid",aa);bM.add("sid",ab);bM.add("duid",bN);bM.add("fp",y);bM.add("uid",bD);bB();bM.add("refr",bn(ao||aW));bM.add("url",bn(aD||bv));if(aY!="none"){bq(bN,bS,aa,bH,bF,ab);aw()}br=new Date().getTime()}function am(bF){return bd(bF+".cloudfront.net")}function bd(bF){if(a4){return("https://"+bF)}if(ag){return("http://"+bF)}return("https:"===ax.location.protocol?"https":"http")+"://"+bF}function bp(bM){var bJ=bz.concat(bM||[]);if(bx.webPage){bJ.push(bh())}if(bx.performanceTiming){var bO=S();if(bO){bJ.push(bO)}}if(al.optimizely){if(bx.optimizelySummary){var bL=aj();q.each(bL,function(bS){bJ.push(bS)})}if(bx.optimizelyXSummary){var bL=a2();q.each(bL,function(bS){bJ.push(bS)})}if(bx.optimizelyExperiments){var bF=ah();for(var bK=0;bK<bF.length;bK++){bJ.push(bF[bK])}}if(bx.optimizelyStates){var bQ=r();for(var bK=0;bK<bQ.length;bK++){bJ.push(bQ[bK])}}if(bx.optimizelyVariations){var bR=bA();for(var bK=0;bK<bR.length;bK++){bJ.push(bR[bK])}}if(bx.optimizelyVisitor){var bI=a7();if(bI){bJ.push(bI)}}if(bx.optimizelyAudiences){var bG=T();for(var bK=0;bK<bG.length;bK++){bJ.push(bG[bK])}}if(bx.optimizelyDimensions){var bH=aX();for(var bK=0;bK<bH.length;bK++){bJ.push(bH[bK])}}}if(bx.augurIdentityLite){var bP=aG();if(bP){bJ.push(bP)}}if(bx.parrable){var bN=bC();if(bN){bJ.push(bN)}}return bJ}function aA(){if(!aL||C.pageViewId==null){C.pageViewId=d.v4()}}function aC(){if(C.pageViewId==null){C.pageViewId=d.v4()}return C.pageViewId}function bh(){return{schema:"iglu:com.snowplowanalytics.snowplow/web_page/jsonschema/1-0-0",data:{id:aC()}}}function S(){var bF=["navigationStart","redirectStart","redirectEnd","fetchStart","domainLookupStart","domainLookupEnd","connectStart","secureConnectionStart","connectEnd","requestStart","responseStart","responseEnd","unloadEventStart","unloadEventEnd","domLoading","domInteractive","domContentLoadedEventStart","domContentLoadedEventEnd","domComplete","loadEventStart","loadEventEnd","msFirstPaint","chromeFirstPaint","requestEnd","proxyStart","proxyEnd"];var bI=al.performance||al.mozPerformance||al.msPerformance||al.webkitPerformance;if(bI){var bH={};for(var bG in bI.timing){if(f.isValueInArray(bG,bF)&&(bI.timing[bG]!==null)){bH[bG]=bI.timing[bG]}}delete bH.requestEnd;if(al.chrome&&al.chrome.loadTimes&&typeof al.chrome.loadTimes().firstPaintTime==="number"){bH.chromeFirstPaint=Math.round(al.chrome.loadTimes().firstPaintTime*1000)}return{schema:"iglu:org.w3/PerformanceTiming/jsonschema/1-0-0",data:bH}}}function A(bH,bF){var bG;if(al.optimizely&&al.optimizely.data){bG=al.optimizely.data[bH];if(typeof bF!=="undefined"&&bG!==undefined){bG=bG[bF]}}return bG}function aI(bH,bF){var bG;if(al.optimizely){bG=al.optimizely.get(bH);if(typeof bF!=="undefined"&&bG!==undefined){bG=bG[bF]}}return bG}function bb(){var bG=A("state");var bF=A("experiments");return q.map(bG&&bF&&bG.activeExperiments,function(bH){var bI=bF[bH];return{activeExperimentId:bH.toString(),variation:bG.variationIdsMap[bH][0].toString(),conditional:bI&&bI.conditional,manual:bI&&bI.manual,name:bI&&bI.name}})}function Z(){var bI=aI("state");var bH=bI.getActiveExperimentIds();var bF=aI("data","experiments");var bG=aI("visitor");return q.map(bH,function(bJ){variation=bI.getVariationMap()[bJ];variationName=variation.name;variationId=variation.id;visitorId=bG.visitorId;return{experimentId:parseInt(bJ),variationName:variationName,variation:parseInt(variationId),visitorId:visitorId}})}function ah(){var bI=A("experiments");if(bI){var bJ=[];for(var bH in bI){if(bI.hasOwnProperty(bH)){var bG={};bG.id=bH;var bF=bI[bH];bG.code=bF.code;bG.manual=bF.manual;bG.conditional=bF.conditional;bG.name=bF.name;bG.variationIds=bF.variation_ids;bJ.push({schema:"iglu:com.optimizely/experiment/jsonschema/1-0-0",data:bG})}}return bJ}return[]}function r(){var bG=[];var bQ=A("experiments");if(bQ){for(var bO in bQ){if(bQ.hasOwnProperty(bO)){bG.push(bO)}}}var bH=A("state");if(bH){var bJ=[];var bL=bH.activeExperiments||[];for(var bK=0;bK<bG.length;bK++){var bM=bG[bK];var bI={};bI.experimentId=bM;bI.isActive=f.isValueInArray(bG[bK],bL);var bP=bH.variationMap||{};bI.variationIndex=bP[bM];var bF=bH.variationNamesMap||{};bI.variationName=bF[bM];var bN=bH.variationIdsMap||{};if(bN[bM]&&bN[bM].length===1){bI.variationId=bN[bM][0]}bJ.push({schema:"iglu:com.optimizely/state/jsonschema/1-0-0",data:bI})}return bJ}return[]}function bA(){var bI=A("variations");if(bI){var bJ=[];for(var bH in bI){if(bI.hasOwnProperty(bH)){var bG={};bG.id=bH;var bF=bI[bH];bG.name=bF.name;bG.code=bF.code;bJ.push({schema:"iglu:com.optimizely/variation/jsonschema/1-0-0",data:bG})}}return bJ}return[]}function a7(){var bI=A("visitor");if(bI){var bH={};bH.browser=bI.browser;bH.browserVersion=bI.browserVersion;bH.device=bI.device;bH.deviceType=bI.deviceType;bH.ip=bI.ip;var bF=bI.platform||{};bH.platformId=bF.id;bH.platformVersion=bF.version;var bG=bI.location||{};bH.locationCity=bG.city;bH.locationRegion=bG.region;bH.locationCountry=bG.country;bH.mobile=bI.mobile;bH.mobileId=bI.mobileId;bH.referrer=bI.referrer;bH.os=bI.os;return{schema:"iglu:com.optimizely/visitor/jsonschema/1-0-0",data:bH}}}function T(){var bI=A("visitor","audiences");if(bI){var bH=[];for(var bG in bI){if(bI.hasOwnProperty(bG)){var bF={id:bG,isMember:bI[bG]};bH.push({schema:"iglu:com.optimizely/visitor_audience/jsonschema/1-0-0",data:bF})}}return bH}return[]}function aX(){var bF=A("visitor","dimensions");if(bF){var bI=[];for(var bH in bF){if(bF.hasOwnProperty(bH)){var bG={id:bH,value:bF[bH]};bI.push({schema:"iglu:com.optimizely/visitor_dimension/jsonschema/1-0-0",data:bG})}}return bI}return[]}function aj(){return q.map(bb(),function(bF){return{schema:"iglu:com.optimizely.snowplow/optimizely_summary/jsonschema/1-0-0",data:bF}})}function a2(){return q.map(Z(),function(bF){return{schema:"iglu:com.optimizely.optimizelyx/summary/jsonschema/1-0-0",data:bF}})}function aG(){var bI=al.augur;if(bI){var bH={consumer:{},device:{}};var bG=bI.consumer||{};bH.consumer.UUID=bG.UID;var bJ=bI.device||{};bH.device.ID=bJ.ID;bH.device.isBot=bJ.isBot;bH.device.isProxied=bJ.isProxied;bH.device.isTor=bJ.isTor;var bF=bJ.fingerprint||{};bH.device.isIncognito=bF.browserHasIncognitoEnabled;return{schema:"iglu:io.augur.snowplow/identity_lite/jsonschema/1-0-0",data:bH}}}function bC(){var bH=window._hawk;if(bH){var bG={encryptedId:null,optout:null};bG.encryptedId=bH.browserid;var bI=new RegExp("(?:^|;)\\s?"+"_parrable_hawk_optout".replace(/([.*+?^=!:${}()|[\]\/\\])/g,"\\$1")+"=(.*?)(?:;|$)","i"),bF=document.cookie.match(bI);bG.optout=(bF&&decodeURIComponent(bF[1]))?bF&&decodeURIComponent(bF[1]):"false";return{schema:"iglu:com.parrable/encrypted_payload/jsonschema/1-0-0",data:bG}}}function ae(){var bH=Math.round(new Date().getTime()/1000),bL=ap("ses"),bG=a8(),bM=bG[0],bK=bG[1],bO=bG[2],bI=bG[3],bN=bG[4],bF=bG[5],bJ=bG[6];if(bM==="0"){ab=bJ;if(aY!="none"){bI++;bF=bN;ab=d.v4()}aa=bI;aw()}else{ab=d.v4();aa++}if(aY!="none"){bq(bK,bO,aa,bH,bF,ab);aw()}br=new Date().getTime()}function bu(){if(!a9&&W.geolocation&&W.geolocation.getCurrentPosition){a9=true;W.geolocation.getCurrentPosition(function(bF){var bH=bF.coords;var bG={schema:"iglu:com.snowplowanalytics.snowplow/geolocation_context/jsonschema/1-1-0",data:{latitude:bH.latitude,longitude:bH.longitude,latitudeLongitudeAccuracy:bH.accuracy,altitude:bH.altitude,altitudeAccuracy:bH.altitudeAccuracy,bearing:bH.heading,speed:bH.speed,timestamp:Math.round(bF.timestamp)}};bz.push(bG)})}}function H(){var bF={};q.forEach(["__utma","__utmb","__utmc","__utmv","__utmz","_ga"],function(bG){var bH=g.cookie(bG);if(bH){bF[bG]=bH}});return{schema:"iglu:com.google.analytics/cookies/jsonschema/1-0-0",data:bF}}function aR(bG,bF){return(bG||[]).concat(bF?bF():[])}function aK(bJ,bF,bO,bN){bB();if(J){aA()}J=true;a0=ax.title;D=bJ;var bM=f.fixupTitle(D||a0);z.trackPageView(bn(aD||bv),bM,bn(ao||aW),bp(aR(bF,bO)),bN);var bG=new Date();if(P&&!aZ){aZ=true;var bH={update:function bI(){if(typeof window!=="undefined"&&typeof window.addEventListener==="function"){var bR=false;var bQ=Object.defineProperty({},"passive",{get:function bP(){bR=true}});var bS=function bS(){};window.addEventListener("testPassiveEventSupport",bS,bQ);window.removeEventListener("testPassiveEventSupport",bS,bQ);bH.hasSupport=bR}}};bH.update();var bL="onwheel" in document.createElement("div")?"wheel":document.onmousewheel!==undefined?"mousewheel":"DOMMouseScroll";if(Object.prototype.hasOwnProperty.call(bH,"hasSupport")){f.addEventListener(ax,bL,bg,{passive:true})}else{f.addEventListener(ax,bL,bg)}aN();f.addEventListener(ax,"click",bg);f.addEventListener(ax,"mouseup",bg);f.addEventListener(ax,"mousedown",bg);f.addEventListener(ax,"mousemove",bg);f.addEventListener(al,"scroll",a6);f.addEventListener(ax,"keypress",bg);f.addEventListener(ax,"keydown",bg);f.addEventListener(ax,"keyup",bg);f.addEventListener(al,"resize",bg);f.addEventListener(al,"focus",bg);f.addEventListener(al,"blur",bg);aV=bG.getTime();clearInterval(bE);bE=setInterval(function bK(){var bP=new Date();if((aV+V)>bP.getTime()){if(F<bP.getTime()){s(aR(bF,bO))}}},V)}}function s(bF){bB();var bG=ax.title;if(bG!==a0){a0=bG;D=null}z.trackPagePing(bn(aD||bv),f.fixupTitle(D||a0),bn(ao||aW),Y(aQ),Y(aE),Y(ay),Y(af),bp(bF));aN()}function a5(bK,bJ,bP,bL,bF,bM,bG,bI,bO,bH,bN){z.trackEcommerceTransaction(bK,bJ,bP,bL,bF,bM,bG,bI,bO,bp(bH),bN)}function aF(bI,bM,bF,bG,bK,bJ,bN,bH,bL){z.trackEcommerceTransactionItem(bI,bM,bF,bG,bK,bJ,bN,bp(bH),bL)}function bl(bG,bF){if(bG!==""){return bG+bF.charAt(0).toUpperCase()+bF.slice(1)}return bF}function ad(bK){var bJ,bF,bI=["","webkit","ms","moz"],bH;if(!ar){for(bF=0;bF<bI.length;bF++){bH=bI[bF];if(ax[bl(bH,"hidden")]){if(ax[bl(bH,"visibilityState")]==="prerender"){bJ=true}break}else{if(ax[bl(bH,"hidden")]===false){break}}}}if(bJ){f.addEventListener(ax,bH+"visibilitychange",function bG(){ax.removeEventListener(bH+"visibilitychange",bG,false);bK()});return}bK()}aO();B();if(aJ.crossDomainLinker){w(aJ.crossDomainLinker)}return{getDomainSessionIndex:function(){return aa},getPageViewId:function(){return aC()},newSession:ae,getCookieName:function(bF){return Q(bF)},getUserId:function(){return bD},getDomainUserId:function(){return(a8())[1]},getDomainUserInfo:function(){return a8()},getUserFingerprint:function(){return y},setAppId:function(bF){f.warn('setAppId is deprecated. Instead add an "appId" field to the argmap argument of newTracker.');z.setAppId(bF)},setReferrerUrl:function(bF){ao=bF},setCustomUrl:function(bF){bB();aD=be(bv,bF)},setDocumentTitle:function(bF){a0=ax.title;D=bF},discardHashTag:function(bF){G=bF},setCookieNamePrefix:function(bF){f.warn('setCookieNamePrefix is deprecated. Instead add a "cookieName" field to the argmap argument of newTracker.');bs=bF},setCookieDomain:function(bF){f.warn('setCookieDomain is deprecated. Instead add a "cookieDomain" field to the argmap argument of newTracker.');I=f.fixupDomain(bF);aO()},setCookiePath:function(bF){bt=bF;aO()},setVisitorCookieTimeout:function(bF){M=bF},setSessionCookieTimeout:function(bF){f.warn('setSessionCookieTimeout is deprecated. Instead add a "sessionCookieTimeout" field to the argmap argument of newTracker.');R=bF},setUserFingerprintSeed:function(bF){f.warn('setUserFingerprintSeed is deprecated. Instead add a "userFingerprintSeed" field to the argmap argument of newTracker.');X=bF;y=n.detectSignature(X)},enableUserFingerprint:function(bF){f.warn('enableUserFingerprintSeed is deprecated. Instead add a "userFingerprint" field to the argmap argument of newTracker.');if(!bF){y=""}},respectDoNotTrack:function(bG){f.warn('This usage of respectDoNotTrack is deprecated. Instead add a "respectDoNotTrack" field to the argmap argument of newTracker.');var bF=W.doNotTrack||W.msDoNotTrack;bm=bG&&(bF==="yes"||bF==="1")},crossDomainLinker:function(bF){w(bF)},addListener:function(bH,bF,bG){addClickListener(bH,bF,bG)},enableLinkClickTracking:function(bH,bF,bI,bG){if(C.hasLoaded){u.configureLinkClickTracking(bH,bF,bI,bG);u.addClickListeners()}else{C.registeredOnLoadHandlers.push(function(){u.configureLinkClickTracking(bH,bF,bI,bG);u.addClickListeners()})}},refreshLinkClickTracking:function(){if(C.hasLoaded){u.addClickListeners()}else{C.registeredOnLoadHandlers.push(function(){u.addClickListeners()})}},enableActivityTracking:function(bG,bF){if(bG===parseInt(bG,10)&&bF===parseInt(bF,10)){P=true;F=new Date().getTime()+bG*1000;V=bF*1000}else{f.warn("Activity tracking not enabled, please provide integer values for minimumVisitLength and heartBeatDelay.")}},updatePageActivity:function(){bg()},enableFormTracking:function(bF,bG){if(C.hasLoaded){az.configureFormTracking(bF);az.addFormListeners(bG)}else{C.registeredOnLoadHandlers.push(function(){az.configureFormTracking(bF);az.addFormListeners(bG)})}},killFrame:function(){if(al.location!==al.top.location){al.top.location=al.location}},redirectFile:function(bF){if(al.location.protocol==="file:"){al.location=bF}},setOptOutCookie:function(bF){av=bF},setCountPreRendered:function(bF){ar=bF},setUserId:function(bF){bD=bF},identifyUser:function(bF){setUserId(bF)},setUserIdFromLocation:function(bF){bB();bD=f.fromQuerystring(bF,bv)},setUserIdFromReferrer:function(bF){bB();bD=f.fromQuerystring(bF,aW)},setUserIdFromCookie:function(bF){bD=g.cookie(bF)},setCollectorCf:function(bF){x=am(bF)},setCollectorUrl:function(bF){x=bd(bF)},setPlatform:function(bF){f.warn('setPlatform is deprecated. Instead add a "platform" field to the argmap argument of newTracker.');z.setPlatform(bF)},encodeBase64:function(bF){f.warn('This usage of encodeBase64 is deprecated. Instead add an "encodeBase64" field to the argmap argument of newTracker.');z.setBase64Encoding(bF)},flushBuffer:function(){bo.executeQueue()},enableGeolocationContext:bu,trackPageView:function(bI,bH,bG,bF){ad(function(){aK(bI,bH,bG,bF)})},trackStructEvent:function(bI,bL,bG,bK,bJ,bH,bF){ad(function(){z.trackStructEvent(bI,bL,bG,bK,bJ,bp(bH),bF)})},trackSelfDescribingEvent:function(bG,bH,bF){ad(function(){z.trackSelfDescribingEvent(bG,bp(bH),bF)})},trackUnstructEvent:function(bG,bH,bF){ad(function(){z.trackSelfDescribingEvent(bG,bp(bH),bF)})},addTrans:function(bK,bJ,bP,bL,bF,bM,bG,bI,bO,bH,bN){E.transaction={orderId:bK,affiliation:bJ,total:bP,tax:bL,shipping:bF,city:bM,state:bG,country:bI,currency:bO,context:bH,tstamp:bN}},addItem:function(bI,bM,bF,bG,bK,bJ,bN,bH,bL){E.items.push({orderId:bI,sku:bM,name:bF,category:bG,price:bK,quantity:bJ,currency:bN,context:bH,tstamp:bL})},trackTrans:function(){ad(function(){a5(E.transaction.orderId,E.transaction.affiliation,E.transaction.total,E.transaction.tax,E.transaction.shipping,E.transaction.city,E.transaction.state,E.transaction.country,E.transaction.currency,E.transaction.context,E.transaction.tstamp);for(var bF=0;bF<E.items.length;bF++){var bG=E.items[bF];aF(bG.orderId,bG.sku,bG.name,bG.category,bG.price,bG.quantity,bG.currency,bG.context,bG.tstamp)}E=bc()})},trackLinkClick:function(bL,bH,bI,bG,bK,bJ,bF){ad(function(){z.trackLinkClick(bL,bH,bI,bG,bK,bp(bJ),bF)})},trackAdImpression:function(bJ,bF,bH,bI,bO,bK,bL,bN,bG,bM){ad(function(){z.trackAdImpression(bJ,bF,bH,bI,bO,bK,bL,bN,bp(bG),bM)})},trackAdClick:function(bH,bM,bF,bI,bP,bK,bJ,bL,bO,bG,bN){ad(function(){z.trackAdClick(bH,bM,bF,bI,bP,bK,bJ,bL,bO,bp(bG),bN)})},trackAdConversion:function(bP,bF,bI,bH,bK,bN,bO,bJ,bM,bG,bL){ad(function(){z.trackAdConversion(bP,bF,bI,bH,bK,bN,bO,bJ,bM,bp(bG),bL)})},trackSocialInteraction:function(bI,bH,bJ,bG,bF){ad(function(){z.trackSocialInteraction(bI,bH,bJ,bp(bG),bF)})},trackAddToCart:function(bM,bH,bJ,bK,bL,bG,bI,bF){ad(function(){z.trackAddToCart(bM,bH,bJ,bK,bL,bG,bp(bI),bF)})},trackRemoveFromCart:function(bM,bH,bJ,bK,bL,bG,bI,bF){ad(function(){z.trackRemoveFromCart(bM,bH,bJ,bK,bL,bG,bp(bI),bF)})},trackSiteSearch:function(bK,bJ,bG,bH,bI,bF){ad(function(){z.trackSiteSearch(bK,bJ,bG,bH,bp(bI),bF)})},trackTiming:function(bK,bH,bJ,bG,bI,bF){ad(function(){z.trackSelfDescribingEvent({schema:"iglu:com.snowplowanalytics.snowplow/timing/jsonschema/1-0-0",data:{category:bK,variable:bH,timing:bJ,label:bG}},bp(bI),bF)})},trackConsentWithdrawn:function(bJ,bL,bG,bH,bK,bI,bF){ad(function(){z.trackConsentWithdrawn(bJ,bL,bG,bH,bK,bp(bI),bF)})},trackConsentGranted:function(bL,bG,bH,bK,bJ,bI,bF){ad(function(){z.trackConsentGranted(bL,bG,bH,bK,bJ,bp(bI),bF)})},trackEnhancedEcommerceAction:function(bI,bG,bF){var bH=t.concat(bG||[]);t.length=0;ad(function(){z.trackSelfDescribingEvent({schema:"iglu:com.google.analytics.enhanced-ecommerce/action/jsonschema/1-0-0",data:{action:bI}},bp(bH),bF)})},addEnhancedEcommerceActionContext:function(bH,bK,bG,bL,bF,bI,bN,bJ,bM,bO){t.push({schema:"iglu:com.google.analytics.enhanced-ecommerce/actionFieldObject/jsonschema/1-0-0",data:{id:bH,affiliation:bK,revenue:f.parseFloat(bG),tax:f.parseFloat(bL),shipping:f.parseFloat(bF),coupon:bI,list:bN,step:f.parseInt(bJ),option:bM,currency:bO}})},addEnhancedEcommerceImpressionContext:function(bG,bF,bM,bI,bH,bJ,bK,bL,bN){t.push({schema:"iglu:com.google.analytics.enhanced-ecommerce/impressionFieldObject/jsonschema/1-0-0",data:{id:bG,name:bF,list:bM,brand:bI,category:bH,variant:bJ,position:f.parseInt(bK),price:f.parseFloat(bL),currency:bN}})},addEnhancedEcommerceProductContext:function(bG,bF,bO,bJ,bH,bL,bN,bK,bI,bM,bP){t.push({schema:"iglu:com.google.analytics.enhanced-ecommerce/productFieldObject/jsonschema/1-0-0",data:{id:bG,name:bF,list:bO,brand:bJ,category:bH,variant:bL,price:f.parseFloat(bN),quantity:f.parseInt(bK),coupon:bI,position:f.parseInt(bM),currency:bP}})},addEnhancedEcommercePromoContext:function(bJ,bI,bH,bF,bG){t.push({schema:"iglu:com.google.analytics.enhanced-ecommerce/promoFieldObject/jsonschema/1-0-0",data:{id:bJ,name:bI,creative:bH,position:bF,currency:bG}})},enableErrorTracking:function(bF,bG){aT.enableErrorTracking(bF,bG,bp())},trackError:function(bI,bF,bK,bH,bG,bL){var bJ=bp(bL);aT.trackError(bI,bF,bK,bH,bG,bJ)},preservePageViewId:function(){aL=true}}}}())},{"./errors":13,"./forms":14,"./lib/detectors":17,"./lib/helpers":18,"./lib/proxies":19,"./lib_managed/lodash":20,"./links":21,"./out_queue":22,"browser-cookie-lite":1,sha1:6,"snowplow-tracker-core":7,uuid:12}]},{},[16]);
......@@ -3,7 +3,7 @@
;(function(p,l,o,w,i,n,g){if(!p[i]){p.GlobalSnowplowNamespace=p.GlobalSnowplowNamespace||[];
p.GlobalSnowplowNamespace.push(i);p[i]=function(){(p[i].q=p[i].q||[]).push(arguments)
};p[i].q=p[i].q||[];n=l.createElement(o);g=l.getElementsByTagName(o)[0];n.async=1;
n.src=w;g.parentNode.insertBefore(n,g)}}(window,document,"script","#{asset_url('shared/snowplow/sp.js')}","snowplow"));
n.src=w;g.parentNode.insertBefore(n,g)}}(window,document,"script","#{asset_url('snowplow/sp.js')}","snowplow"));
window.snowplow('newTracker', 'cf', '#{Gitlab::CurrentSettings.snowplow_collector_uri}', {
appId: '#{Gitlab::CurrentSettings.snowplow_site_id}',
......@@ -14,9 +14,8 @@
post: true,
contexts: {
webPage: true,
}
// Uncomment in https://gitlab.com/gitlab-org/gitlab-ee/issues/8432
// stateStorageStrategy: "localStorage"
},
stateStorageStrategy: "localStorage"
});
window.snowplow('enableActivityTracking', 30, 30);
......
......@@ -73,7 +73,7 @@ describe 'layouts/_head' do
it 'add a snowplow script tag with asset host' do
render
expect(rendered).to match('http://test.host/assets/shared/snowplow/')
expect(rendered).to match('http://test.host/assets/snowplow/')
expect(rendered).to match('window.snowplow')
expect(rendered).to match('www.snow.plow')
end
......
/*
* Snowplow - The world's most powerful web analytics platform
*
* @description JavaScript tracker for Snowplow
* @version 2.10.0
* @author Alex Dean, Simon Andersson, Anthon Pang, Fred Blundun, Joshua Beemster, Michael Hadam
* @copyright Anthon Pang, Snowplow Analytics Ltd
* @license Simplified BSD
*
* For technical documentation:
* https://github.com/snowplow/snowplow/wiki/javascript-tracker
*
* For the setup guide:
* https://github.com/snowplow/snowplow/wiki/javascript-tracker-setup
*
* Minimum supported browsers:
* - Firefox 27
* - Chrome 32
* - IE 9
* - Safari 8
*/
"use strict";function _typeof(e){return(_typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}!function o(i,c,s){function u(t,e){if(!c[t]){if(!i[t]){var n="function"==typeof require&&require;if(!e&&n)return n(t,!0);if(l)return l(t,!0);var r=new Error("Cannot find module '"+t+"'");throw r.code="MODULE_NOT_FOUND",r}var a=c[t]={exports:{}};i[t][0].call(a.exports,function(e){return u(i[t][1][e]||e)},a,a.exports,o,i,c,s)}return c[t].exports}for(var l="function"==typeof require&&require,e=0;e<s.length;e++)u(s[e]);return u}({1:[function(e,t,n){this.cookie=function(e,t,n,r,a,o){return 1<arguments.length?document.cookie=e+"="+escape(t)+(n?"; expires="+new Date(+new Date+1e3*n).toUTCString():"")+(r?"; path="+r:"")+(a?"; domain="+a:"")+(o?"; secure":""):unescape((("; "+document.cookie).split("; "+e+"=")[1]||"").split(";")[0])}},{}],2:[function(e,t,n){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 t=[],n=0;n<e.length;n++)t.push(255&e.charCodeAt(n));return t},bytesToString:function(e){for(var t=[],n=0;n<e.length;n++)t.push(String.fromCharCode(e[n]));return t.join("")}}};t.exports=r},{}],3:[function(e,t,n){var o,r;o="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",r={rotl:function(e,t){return e<<t|e>>>32-t},rotr:function(e,t){return e<<32-t|e>>>t},endian:function(e){if(e.constructor==Number)return 16711935&r.rotl(e,8)|4278255360&r.rotl(e,24);for(var t=0;t<e.length;t++)e[t]=r.endian(e[t]);return e},randomBytes:function(e){for(var t=[];0<e;e--)t.push(Math.floor(256*Math.random()));return t},bytesToWords:function(e){for(var t=[],n=0,r=0;n<e.length;n++,r+=8)t[r>>>5]|=e[n]<<24-r%32;return t},wordsToBytes:function(e){for(var t=[],n=0;n<32*e.length;n+=8)t.push(e[n>>>5]>>>24-n%32&255);return t},bytesToHex:function(e){for(var t=[],n=0;n<e.length;n++)t.push((e[n]>>>4).toString(16)),t.push((15&e[n]).toString(16));return t.join("")},hexToBytes:function(e){for(var t=[],n=0;n<e.length;n+=2)t.push(parseInt(e.substr(n,2),16));return t},bytesToBase64:function(e){for(var t=[],n=0;n<e.length;n+=3)for(var r=e[n]<<16|e[n+1]<<8|e[n+2],a=0;a<4;a++)8*n+6*a<=8*e.length?t.push(o.charAt(r>>>6*(3-a)&63)):t.push("=");return t.join("")},base64ToBytes:function(e){e=e.replace(/[^A-Z0-9+\/]/gi,"");for(var t=[],n=0,r=0;n<e.length;r=++n%4)0!=r&&t.push((o.indexOf(e.charAt(n-1))&Math.pow(2,-2*r+8)-1)<<2*r|o.indexOf(e.charAt(n))>>>6-2*r);return t}},t.exports=r},{}],4:[function(e,t,n){var r,a,o,i,c,s;r=this,a=function(e){var t=-e.getTimezoneOffset();return null!==t?t:0},o=function(e,t,n){var r=new Date;return void 0!==e&&r.setFullYear(e),r.setMonth(t),r.setDate(n),r},i=function(e){return a(o(e,0,2))},c=function(e){return a(o(e,5,2))},(s={determine:function(){var e,t,n,r=(e=i(),t=c(),(n=e-t)<0?e+",1":0<n?t+",1,s":e+",0");return new s.TimeZone(s.olson.timezones[r])},date_is_dst:function(e){var t=7<e.getMonth(),n=t?c(e.getFullYear()):i(e.getFullYear()),r=n-a(e);return n<0||t?0!==r:r<0},dst_start_for:function(e){var t=new Date(2010,6,15,1,0,0,0);return{"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":t,"Asia/Amman":new Date(2013,2,29,1,0,0,0),"Asia/Beirut":new Date(2013,2,31,2,0,0,0),"Asia/Damascus":new Date(2013,3,6,2,0,0,0),"Asia/Jerusalem":new Date(2013,2,29,5,0,0,0),"Asia/Yekaterinburg":t,"Asia/Omsk":t,"Asia/Krasnoyarsk":t,"Asia/Irkutsk":t,"Asia/Yakutsk":t,"Asia/Vladivostok":t,"Asia/Baku":new Date(2013,2,31,4,0,0),"Asia/Yerevan":new Date(2013,2,31,3,0,0),"Asia/Kamchatka":t,"Asia/Gaza":new Date(2010,2,27,4,0,0),"Africa/Cairo":new Date(2010,4,1,3,0,0),"Europe/Minsk":t,"Pacific/Apia":new Date(2010,10,1,1,0,0,0),"Pacific/Fiji":new Date(2010,11,1,0,0,0),"Australia/Perth":new Date(2008,10,1,1,0,0,0)}[e]},TimeZone:function(e){var a={"America/Denver":["America/Denver","America/Mazatlan"],"America/Chicago":["America/Chicago","America/Mexico_City"],"America/Santiago":["America/Santiago","America/Asuncion","America/Campo_Grande"],"America/Montevideo":["America/Montevideo","America/Sao_Paulo"],"Asia/Beirut":["Asia/Amman","Asia/Jerusalem","Asia/Beirut","Europe/Helsinki","Asia/Damascus"],"Pacific/Auckland":["Pacific/Auckland","Pacific/Fiji"],"America/Los_Angeles":["America/Los_Angeles","America/Santa_Isabel"],"America/New_York":["America/Havana","America/New_York"],"America/Halifax":["America/Goose_Bay","America/Halifax"],"America/Godthab":["America/Miquelon","America/Godthab"],"Asia/Dubai":["Europe/Moscow"],"Asia/Dhaka":["Asia/Yekaterinburg"],"Asia/Jakarta":["Asia/Omsk"],"Asia/Shanghai":["Asia/Krasnoyarsk","Australia/Perth"],"Asia/Tokyo":["Asia/Irkutsk"],"Australia/Brisbane":["Asia/Yakutsk"],"Pacific/Noumea":["Asia/Vladivostok"],"Pacific/Tarawa":["Asia/Kamchatka","Pacific/Fiji"],"Pacific/Tongatapu":["Pacific/Apia"],"Asia/Baghdad":["Europe/Minsk"],"Asia/Baku":["Asia/Yerevan","Asia/Baku"],"Africa/Johannesburg":["Asia/Gaza","Africa/Cairo"]},o=e;return void 0!==a[o]&&function(){for(var e=a[o],t=e.length,n=0,r=e[0];n<t;n+=1)if(r=e[n],s.date_is_dst(s.dst_start_for(r)))return o=r}(),{name:function(){return o}}},olson:{}}).olson.timezones={"-720,0":"Pacific/Majuro","-660,0":"Pacific/Pago_Pago","-600,1":"America/Adak","-600,0":"Pacific/Honolulu","-570,0":"Pacific/Marquesas","-540,0":"Pacific/Gambier","-540,1":"America/Anchorage","-480,1":"America/Los_Angeles","-480,0":"Pacific/Pitcairn","-420,0":"America/Phoenix","-420,1":"America/Denver","-360,0":"America/Guatemala","-360,1":"America/Chicago","-360,1,s":"Pacific/Easter","-300,0":"America/Bogota","-300,1":"America/New_York","-270,0":"America/Caracas","-240,1":"America/Halifax","-240,0":"America/Santo_Domingo","-240,1,s":"America/Santiago","-210,1":"America/St_Johns","-180,1":"America/Godthab","-180,0":"America/Argentina/Buenos_Aires","-180,1,s":"America/Montevideo","-120,0":"America/Noronha","-120,1":"America/Noronha","-60,1":"Atlantic/Azores","-60,0":"Atlantic/Cape_Verde","0,0":"UTC","0,1":"Europe/London","60,1":"Europe/Berlin","60,0":"Africa/Lagos","60,1,s":"Africa/Windhoek","120,1":"Asia/Beirut","120,0":"Africa/Johannesburg","180,0":"Asia/Baghdad","180,1":"Europe/Moscow","210,1":"Asia/Tehran","240,0":"Asia/Dubai","240,1":"Asia/Baku","270,0":"Asia/Kabul","300,1":"Asia/Yekaterinburg","300,0":"Asia/Karachi","330,0":"Asia/Kolkata","345,0":"Asia/Kathmandu","360,0":"Asia/Dhaka","360,1":"Asia/Omsk","390,0":"Asia/Rangoon","420,1":"Asia/Krasnoyarsk","420,0":"Asia/Jakarta","480,0":"Asia/Shanghai","480,1":"Asia/Irkutsk","525,0":"Australia/Eucla","525,1,s":"Australia/Eucla","540,1":"Asia/Yakutsk","540,0":"Asia/Tokyo","570,0":"Australia/Darwin","570,1,s":"Australia/Adelaide","600,0":"Australia/Brisbane","600,1":"Asia/Vladivostok","600,1,s":"Australia/Sydney","630,1,s":"Australia/Lord_Howe","660,1":"Asia/Kamchatka","660,0":"Pacific/Noumea","690,0":"Pacific/Norfolk","720,1,s":"Pacific/Auckland","720,0":"Pacific/Tarawa","765,1,s":"Pacific/Chatham","780,0":"Pacific/Tongatapu","780,1,s":"Pacific/Apia","840,0":"Pacific/Kiritimati"},void 0!==n?n.jstz=s:r.jstz=s},{}],5:[function(e,t,n){var r=e("./_getNative")(e("./_root"),"DataView");t.exports=r},{"./_getNative":68,"./_root":105}],6:[function(e,t,n){var r=e("./_hashClear"),a=e("./_hashDelete"),o=e("./_hashGet"),i=e("./_hashHas"),c=e("./_hashSet");function s(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}s.prototype.clear=r,s.prototype.delete=a,s.prototype.get=o,s.prototype.has=i,s.prototype.set=c,t.exports=s},{"./_hashClear":75,"./_hashDelete":76,"./_hashGet":77,"./_hashHas":78,"./_hashSet":79}],7:[function(e,t,n){var r=e("./_listCacheClear"),a=e("./_listCacheDelete"),o=e("./_listCacheGet"),i=e("./_listCacheHas"),c=e("./_listCacheSet");function s(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}s.prototype.clear=r,s.prototype.delete=a,s.prototype.get=o,s.prototype.has=i,s.prototype.set=c,t.exports=s},{"./_listCacheClear":87,"./_listCacheDelete":88,"./_listCacheGet":89,"./_listCacheHas":90,"./_listCacheSet":91}],8:[function(e,t,n){var r=e("./_getNative")(e("./_root"),"Map");t.exports=r},{"./_getNative":68,"./_root":105}],9:[function(e,t,n){var r=e("./_mapCacheClear"),a=e("./_mapCacheDelete"),o=e("./_mapCacheGet"),i=e("./_mapCacheHas"),c=e("./_mapCacheSet");function s(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}s.prototype.clear=r,s.prototype.delete=a,s.prototype.get=o,s.prototype.has=i,s.prototype.set=c,t.exports=s},{"./_mapCacheClear":92,"./_mapCacheDelete":93,"./_mapCacheGet":94,"./_mapCacheHas":95,"./_mapCacheSet":96}],10:[function(e,t,n){var r=e("./_getNative")(e("./_root"),"Promise");t.exports=r},{"./_getNative":68,"./_root":105}],11:[function(e,t,n){var r=e("./_getNative")(e("./_root"),"Set");t.exports=r},{"./_getNative":68,"./_root":105}],12:[function(e,t,n){var r=e("./_MapCache"),a=e("./_setCacheAdd"),o=e("./_setCacheHas");function i(e){var t=-1,n=null==e?0:e.length;for(this.__data__=new r;++t<n;)this.add(e[t])}i.prototype.add=i.prototype.push=a,i.prototype.has=o,t.exports=i},{"./_MapCache":9,"./_setCacheAdd":106,"./_setCacheHas":107}],13:[function(e,t,n){var r=e("./_ListCache"),a=e("./_stackClear"),o=e("./_stackDelete"),i=e("./_stackGet"),c=e("./_stackHas"),s=e("./_stackSet");function u(e){var t=this.__data__=new r(e);this.size=t.size}u.prototype.clear=a,u.prototype.delete=o,u.prototype.get=i,u.prototype.has=c,u.prototype.set=s,t.exports=u},{"./_ListCache":7,"./_stackClear":109,"./_stackDelete":110,"./_stackGet":111,"./_stackHas":112,"./_stackSet":113}],14:[function(e,t,n){var r=e("./_root").Symbol;t.exports=r},{"./_root":105}],15:[function(e,t,n){var r=e("./_root").Uint8Array;t.exports=r},{"./_root":105}],16:[function(e,t,n){var r=e("./_getNative")(e("./_root"),"WeakMap");t.exports=r},{"./_getNative":68,"./_root":105}],17:[function(e,t,n){t.exports=function(e,t){for(var n=-1,r=null==e?0:e.length;++n<r&&!1!==t(e[n],n,e););return e}},{}],18:[function(e,t,n){t.exports=function(e,t){for(var n=-1,r=null==e?0:e.length;++n<r;)if(!t(e[n],n,e))return!1;return!0}},{}],19:[function(e,t,n){t.exports=function(e,t){for(var n=-1,r=null==e?0:e.length,a=0,o=[];++n<r;){var i=e[n];t(i,n,e)&&(o[a++]=i)}return o}},{}],20:[function(e,t,n){var l=e("./_baseTimes"),f=e("./isArguments"),d=e("./isArray"),p=e("./isBuffer"),h=e("./_isIndex"),m=e("./isTypedArray"),v=Object.prototype.hasOwnProperty;t.exports=function(e,t){var n=d(e),r=!n&&f(e),a=!n&&!r&&p(e),o=!n&&!r&&!a&&m(e),i=n||r||a||o,c=i?l(e.length,String):[],s=c.length;for(var u in e)!t&&!v.call(e,u)||i&&("length"==u||a&&("offset"==u||"parent"==u)||o&&("buffer"==u||"byteLength"==u||"byteOffset"==u)||h(u,s))||c.push(u);return c}},{"./_baseTimes":50,"./_isIndex":80,"./isArguments":128,"./isArray":129,"./isBuffer":131,"./isTypedArray":140}],21:[function(e,t,n){t.exports=function(e,t){for(var n=-1,r=null==e?0:e.length,a=Array(r);++n<r;)a[n]=t(e[n],n,e);return a}},{}],22:[function(e,t,n){t.exports=function(e,t){for(var n=-1,r=t.length,a=e.length;++n<r;)e[a+n]=t[n];return e}},{}],23:[function(e,t,n){t.exports=function(e,t){for(var n=-1,r=null==e?0:e.length;++n<r;)if(t(e[n],n,e))return!0;return!1}},{}],24:[function(e,t,n){var r=e("./eq");t.exports=function(e,t){for(var n=e.length;n--;)if(r(e[n][0],t))return n;return-1}},{"./eq":118}],25:[function(e,t,n){var r=e("./_defineProperty");t.exports=function(e,t,n){"__proto__"==t&&r?r(e,t,{configurable:!0,enumerable:!0,value:n,writable:!0}):e[t]=n}},{"./_defineProperty":60}],26:[function(e,t,n){var r=e("./_baseForOwn"),a=e("./_createBaseEach")(r);t.exports=a},{"./_baseForOwn":31,"./_createBaseEach":57}],27:[function(e,t,n){var o=e("./_baseEach");t.exports=function(e,r){var a=!0;return o(e,function(e,t,n){return a=!!r(e,t,n)}),a}},{"./_baseEach":26}],28:[function(e,t,n){var o=e("./_baseEach");t.exports=function(e,r){var a=[];return o(e,function(e,t,n){r(e,t,n)&&a.push(e)}),a}},{"./_baseEach":26}],29:[function(e,t,n){t.exports=function(e,t,n,r){for(var a=e.length,o=n+(r?1:-1);r?o--:++o<a;)if(t(e[o],o,e))return o;return-1}},{}],30:[function(e,t,n){var r=e("./_createBaseFor")();t.exports=r},{"./_createBaseFor":58}],31:[function(e,t,n){var r=e("./_baseFor"),a=e("./keys");t.exports=function(e,t){return e&&r(e,t,a)}},{"./_baseFor":30,"./keys":142}],32:[function(e,t,n){var a=e("./_castPath"),o=e("./_toKey");t.exports=function(e,t){for(var n=0,r=(t=a(t,e)).length;null!=e&&n<r;)e=e[o(t[n++])];return n&&n==r?e:void 0}},{"./_castPath":55,"./_toKey":115}],33:[function(e,t,n){var a=e("./_arrayPush"),o=e("./isArray");t.exports=function(e,t,n){var r=t(e);return o(e)?r:a(r,n(e))}},{"./_arrayPush":22,"./isArray":129}],34:[function(e,t,n){var r=e("./_Symbol"),a=e("./_getRawTag"),o=e("./_objectToString"),i=r?r.toStringTag:void 0;t.exports=function(e){return null==e?void 0===e?"[object Undefined]":"[object Null]":i&&i in Object(e)?a(e):o(e)}},{"./_Symbol":14,"./_getRawTag":70,"./_objectToString":103}],35:[function(e,t,n){var r=Object.prototype.hasOwnProperty;t.exports=function(e,t){return null!=e&&r.call(e,t)}},{}],36:[function(e,t,n){t.exports=function(e,t){return null!=e&&t in Object(e)}},{}],37:[function(e,t,n){var r=e("./_baseGetTag"),a=e("./isObjectLike");t.exports=function(e){return a(e)&&"[object Arguments]"==r(e)}},{"./_baseGetTag":34,"./isObjectLike":136}],38:[function(e,t,n){var i=e("./_baseIsEqualDeep"),c=e("./isObjectLike");t.exports=function e(t,n,r,a,o){return t===n||(null==t||null==n||!c(t)&&!c(n)?t!=t&&n!=n:i(t,n,r,a,e,o))}},{"./_baseIsEqualDeep":39,"./isObjectLike":136}],39:[function(e,t,n){var g=e("./_Stack"),y=e("./_equalArrays"),_=e("./_equalByTag"),b=e("./_equalObjects"),w=e("./_getTag"),k=e("./isArray"),A=e("./isBuffer"),x=e("./isTypedArray"),C="[object Arguments]",S="[object Array]",j="[object Object]",T=Object.prototype.hasOwnProperty;t.exports=function(e,t,n,r,a,o){var i=k(e),c=k(t),s=i?S:w(e),u=c?S:w(t),l=(s=s==C?j:s)==j,f=(u=u==C?j:u)==j,d=s==u;if(d&&A(e)){if(!A(t))return!1;l=!(i=!0)}if(d&&!l)return o||(o=new g),i||x(e)?y(e,t,n,r,a,o):_(e,t,s,n,r,a,o);if(!(1&n)){var p=l&&T.call(e,"__wrapped__"),h=f&&T.call(t,"__wrapped__");if(p||h){var m=p?e.value():e,v=h?t.value():t;return o||(o=new g),a(m,v,n,r,o)}}return!!d&&(o||(o=new g),b(e,t,n,r,a,o))}},{"./_Stack":13,"./_equalArrays":61,"./_equalByTag":62,"./_equalObjects":63,"./_getTag":72,"./isArray":129,"./isBuffer":131,"./isTypedArray":140}],40:[function(e,t,n){var p=e("./_Stack"),h=e("./_baseIsEqual");t.exports=function(e,t,n,r){var a=n.length,o=a,i=!r;if(null==e)return!o;for(e=Object(e);a--;){var c=n[a];if(i&&c[2]?c[1]!==e[c[0]]:!(c[0]in e))return!1}for(;++a<o;){var s=(c=n[a])[0],u=e[s],l=c[1];if(i&&c[2]){if(void 0===u&&!(s in e))return!1}else{var f=new p;if(r)var d=r(u,l,s,e,t,f);if(!(void 0===d?h(l,u,3,r,f):d))return!1}}return!0}},{"./_Stack":13,"./_baseIsEqual":38}],41:[function(e,t,n){var r=e("./isFunction"),a=e("./_isMasked"),o=e("./isObject"),i=e("./_toSource"),c=/^\[object .+?Constructor\]$/,s=Function.prototype,u=Object.prototype,l=s.toString,f=u.hasOwnProperty,d=RegExp("^"+l.call(f).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");t.exports=function(e){return!(!o(e)||a(e))&&(r(e)?d:c).test(i(e))}},{"./_isMasked":84,"./_toSource":116,"./isFunction":133,"./isObject":135}],42:[function(e,t,n){var r=e("./_baseGetTag"),a=e("./isLength"),o=e("./isObjectLike"),i={};i["[object Float32Array]"]=i["[object Float64Array]"]=i["[object Int8Array]"]=i["[object Int16Array]"]=i["[object Int32Array]"]=i["[object Uint8Array]"]=i["[object Uint8ClampedArray]"]=i["[object Uint16Array]"]=i["[object Uint32Array]"]=!0,i["[object Arguments]"]=i["[object Array]"]=i["[object ArrayBuffer]"]=i["[object Boolean]"]=i["[object DataView]"]=i["[object Date]"]=i["[object Error]"]=i["[object Function]"]=i["[object Map]"]=i["[object Number]"]=i["[object Object]"]=i["[object RegExp]"]=i["[object Set]"]=i["[object String]"]=i["[object WeakMap]"]=!1,t.exports=function(e){return o(e)&&a(e.length)&&!!i[r(e)]}},{"./_baseGetTag":34,"./isLength":134,"./isObjectLike":136}],43:[function(e,t,n){var r=e("./_baseMatches"),a=e("./_baseMatchesProperty"),o=e("./identity"),i=e("./isArray"),c=e("./property");t.exports=function(e){return"function"==typeof e?e:null==e?o:"object"==_typeof(e)?i(e)?a(e[0],e[1]):r(e):c(e)}},{"./_baseMatches":46,"./_baseMatchesProperty":47,"./identity":127,"./isArray":129,"./property":146}],44:[function(e,t,n){var r=e("./_isPrototype"),a=e("./_nativeKeys"),o=Object.prototype.hasOwnProperty;t.exports=function(e){if(!r(e))return a(e);var t=[];for(var n in Object(e))o.call(e,n)&&"constructor"!=n&&t.push(n);return t}},{"./_isPrototype":85,"./_nativeKeys":101}],45:[function(e,t,n){var i=e("./_baseEach"),c=e("./isArrayLike");t.exports=function(e,r){var a=-1,o=c(e)?Array(e.length):[];return i(e,function(e,t,n){o[++a]=r(e,t,n)}),o}},{"./_baseEach":26,"./isArrayLike":130}],46:[function(e,t,n){var r=e("./_baseIsMatch"),a=e("./_getMatchData"),o=e("./_matchesStrictComparable");t.exports=function(t){var n=a(t);return 1==n.length&&n[0][2]?o(n[0][0],n[0][1]):function(e){return e===t||r(e,t,n)}}},{"./_baseIsMatch":40,"./_getMatchData":67,"./_matchesStrictComparable":98}],47:[function(e,t,n){var a=e("./_baseIsEqual"),o=e("./get"),i=e("./hasIn"),c=e("./_isKey"),s=e("./_isStrictComparable"),u=e("./_matchesStrictComparable"),l=e("./_toKey");t.exports=function(n,r){return c(n)&&s(r)?u(l(n),r):function(e){var t=o(e,n);return void 0===t&&t===r?i(e,n):a(r,t,3)}}},{"./_baseIsEqual":38,"./_isKey":82,"./_isStrictComparable":86,"./_matchesStrictComparable":98,"./_toKey":115,"./get":124,"./hasIn":126}],48:[function(e,t,n){t.exports=function(t){return function(e){return null==e?void 0:e[t]}}},{}],49:[function(e,t,n){var r=e("./_baseGet");t.exports=function(t){return function(e){return r(e,t)}}},{"./_baseGet":32}],50:[function(e,t,n){t.exports=function(e,t){for(var n=-1,r=Array(e);++n<e;)r[n]=t(n);return r}},{}],51:[function(e,t,n){var r=e("./_Symbol"),a=e("./_arrayMap"),o=e("./isArray"),i=e("./isSymbol"),c=1/0,s=r?r.prototype:void 0,u=s?s.toString:void 0;t.exports=function e(t){if("string"==typeof t)return t;if(o(t))return a(t,e)+"";if(i(t))return u?u.call(t):"";var n=t+"";return"0"==n&&1/t==-c?"-0":n}},{"./_Symbol":14,"./_arrayMap":21,"./isArray":129,"./isSymbol":139}],52:[function(e,t,n){t.exports=function(t){return function(e){return t(e)}}},{}],53:[function(e,t,n){t.exports=function(e,t){return e.has(t)}},{}],54:[function(e,t,n){var r=e("./identity");t.exports=function(e){return"function"==typeof e?e:r}},{"./identity":127}],55:[function(e,t,n){var r=e("./isArray"),a=e("./_isKey"),o=e("./_stringToPath"),i=e("./toString");t.exports=function(e,t){return r(e)?e:a(e,t)?[e]:o(i(e))}},{"./_isKey":82,"./_stringToPath":114,"./isArray":129,"./toString":152}],56:[function(e,t,n){var r=e("./_root")["__core-js_shared__"];t.exports=r},{"./_root":105}],57:[function(e,t,n){var c=e("./isArrayLike");t.exports=function(o,i){return function(e,t){if(null==e)return e;if(!c(e))return o(e,t);for(var n=e.length,r=i?n:-1,a=Object(e);(i?r--:++r<n)&&!1!==t(a[r],r,a););return e}}},{"./isArrayLike":130}],58:[function(e,t,n){t.exports=function(s){return function(e,t,n){for(var r=-1,a=Object(e),o=n(e),i=o.length;i--;){var c=o[s?i:++r];if(!1===t(a[c],c,a))break}return e}}},{}],59:[function(e,t,n){var c=e("./_baseIteratee"),s=e("./isArrayLike"),u=e("./keys");t.exports=function(i){return function(e,t,n){var r=Object(e);if(!s(e)){var a=c(t,3);e=u(e),t=function(e){return a(r[e],e,r)}}var o=i(e,t,n);return-1<o?r[a?e[o]:o]:void 0}}},{"./_baseIteratee":43,"./isArrayLike":130,"./keys":142}],60:[function(e,t,n){var r=e("./_getNative"),a=function(){try{var e=r(Object,"defineProperty");return e({},"",{}),e}catch(e){}}();t.exports=a},{"./_getNative":68}],61:[function(e,t,n){var v=e("./_SetCache"),g=e("./_arraySome"),y=e("./_cacheHas");t.exports=function(e,t,n,r,a,o){var i=1&n,c=e.length,s=t.length;if(c!=s&&!(i&&c<s))return!1;var u=o.get(e);if(u&&o.get(t))return u==t;var l=-1,f=!0,d=2&n?new v:void 0;for(o.set(e,t),o.set(t,e);++l<c;){var p=e[l],h=t[l];if(r)var m=i?r(h,p,l,t,e,o):r(p,h,l,e,t,o);if(void 0!==m){if(m)continue;f=!1;break}if(d){if(!g(t,function(e,t){if(!y(d,t)&&(p===e||a(p,e,n,r,o)))return d.push(t)})){f=!1;break}}else if(p!==h&&!a(p,h,n,r,o)){f=!1;break}}return o.delete(e),o.delete(t),f}},{"./_SetCache":12,"./_arraySome":23,"./_cacheHas":53}],62:[function(e,t,n){var r=e("./_Symbol"),f=e("./_Uint8Array"),d=e("./eq"),p=e("./_equalArrays"),h=e("./_mapToArray"),m=e("./_setToArray"),a=r?r.prototype:void 0,v=a?a.valueOf:void 0;t.exports=function(e,t,n,r,a,o,i){switch(n){case"[object DataView]":if(e.byteLength!=t.byteLength||e.byteOffset!=t.byteOffset)return!1;e=e.buffer,t=t.buffer;case"[object ArrayBuffer]":return!(e.byteLength!=t.byteLength||!o(new f(e),new f(t)));case"[object Boolean]":case"[object Date]":case"[object Number]":return d(+e,+t);case"[object Error]":return e.name==t.name&&e.message==t.message;case"[object RegExp]":case"[object String]":return e==t+"";case"[object Map]":var c=h;case"[object Set]":var s=1&r;if(c||(c=m),e.size!=t.size&&!s)return!1;var u=i.get(e);if(u)return u==t;r|=2,i.set(e,t);var l=p(c(e),c(t),r,a,o,i);return i.delete(e),l;case"[object Symbol]":if(v)return v.call(e)==v.call(t)}return!1}},{"./_Symbol":14,"./_Uint8Array":15,"./_equalArrays":61,"./_mapToArray":97,"./_setToArray":108,"./eq":118}],63:[function(e,t,n){var _=e("./_getAllKeys"),b=Object.prototype.hasOwnProperty;t.exports=function(e,t,n,r,a,o){var i=1&n,c=_(e),s=c.length;if(s!=_(t).length&&!i)return!1;for(var u=s;u--;){var l=c[u];if(!(i?l in t:b.call(t,l)))return!1}var f=o.get(e);if(f&&o.get(t))return f==t;var d=!0;o.set(e,t),o.set(t,e);for(var p=i;++u<s;){var h=e[l=c[u]],m=t[l];if(r)var v=i?r(m,h,l,t,e,o):r(h,m,l,e,t,o);if(!(void 0===v?h===m||a(h,m,n,r,o):v)){d=!1;break}p||(p="constructor"==l)}if(d&&!p){var g=e.constructor,y=t.constructor;g!=y&&"constructor"in e&&"constructor"in t&&!("function"==typeof g&&g instanceof g&&"function"==typeof y&&y instanceof y)&&(d=!1)}return o.delete(e),o.delete(t),d}},{"./_getAllKeys":65}],64:[function(e,n,t){(function(e){var t="object"==_typeof(e)&&e&&e.Object===Object&&e;n.exports=t}).call(this,"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{}],65:[function(e,t,n){var r=e("./_baseGetAllKeys"),a=e("./_getSymbols"),o=e("./keys");t.exports=function(e){return r(e,o,a)}},{"./_baseGetAllKeys":33,"./_getSymbols":71,"./keys":142}],66:[function(e,t,n){var r=e("./_isKeyable");t.exports=function(e,t){var n=e.__data__;return r(t)?n["string"==typeof t?"string":"hash"]:n.map}},{"./_isKeyable":83}],67:[function(e,t,n){var o=e("./_isStrictComparable"),i=e("./keys");t.exports=function(e){for(var t=i(e),n=t.length;n--;){var r=t[n],a=e[r];t[n]=[r,a,o(a)]}return t}},{"./_isStrictComparable":86,"./keys":142}],68:[function(e,t,n){var r=e("./_baseIsNative"),a=e("./_getValue");t.exports=function(e,t){var n=a(e,t);return r(n)?n:void 0}},{"./_baseIsNative":41,"./_getValue":73}],69:[function(e,t,n){var r=e("./_overArg")(Object.getPrototypeOf,Object);t.exports=r},{"./_overArg":104}],70:[function(e,t,n){var r=e("./_Symbol"),a=Object.prototype,o=a.hasOwnProperty,i=a.toString,c=r?r.toStringTag:void 0;t.exports=function(e){var t=o.call(e,c),n=e[c];try{var r=!(e[c]=void 0)}catch(e){}var a=i.call(e);return r&&(t?e[c]=n:delete e[c]),a}},{"./_Symbol":14}],71:[function(e,t,n){var r=e("./_arrayFilter"),a=e("./stubArray"),o=Object.prototype.propertyIsEnumerable,i=Object.getOwnPropertySymbols,c=i?function(t){return null==t?[]:(t=Object(t),r(i(t),function(e){return o.call(t,e)}))}:a;t.exports=c},{"./_arrayFilter":19,"./stubArray":147}],72:[function(e,t,n){var r=e("./_DataView"),a=e("./_Map"),o=e("./_Promise"),i=e("./_Set"),c=e("./_WeakMap"),s=e("./_baseGetTag"),u=e("./_toSource"),l="[object Map]",f="[object Promise]",d="[object Set]",p="[object WeakMap]",h="[object DataView]",m=u(r),v=u(a),g=u(o),y=u(i),_=u(c),b=s;(r&&b(new r(new ArrayBuffer(1)))!=h||a&&b(new a)!=l||o&&b(o.resolve())!=f||i&&b(new i)!=d||c&&b(new c)!=p)&&(b=function(e){var t=s(e),n="[object Object]"==t?e.constructor:void 0,r=n?u(n):"";if(r)switch(r){case m:return h;case v:return l;case g:return f;case y:return d;case _:return p}return t}),t.exports=b},{"./_DataView":5,"./_Map":8,"./_Promise":10,"./_Set":11,"./_WeakMap":16,"./_baseGetTag":34,"./_toSource":116}],73:[function(e,t,n){t.exports=function(e,t){return null==e?void 0:e[t]}},{}],74:[function(e,t,n){var c=e("./_castPath"),s=e("./isArguments"),u=e("./isArray"),l=e("./_isIndex"),f=e("./isLength"),d=e("./_toKey");t.exports=function(e,t,n){for(var r=-1,a=(t=c(t,e)).length,o=!1;++r<a;){var i=d(t[r]);if(!(o=null!=e&&n(e,i)))break;e=e[i]}return o||++r!=a?o:!!(a=null==e?0:e.length)&&f(a)&&l(i,a)&&(u(e)||s(e))}},{"./_castPath":55,"./_isIndex":80,"./_toKey":115,"./isArguments":128,"./isArray":129,"./isLength":134}],75:[function(e,t,n){var r=e("./_nativeCreate");t.exports=function(){this.__data__=r?r(null):{},this.size=0}},{"./_nativeCreate":100}],76:[function(e,t,n){t.exports=function(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t}},{}],77:[function(e,t,n){var r=e("./_nativeCreate"),a=Object.prototype.hasOwnProperty;t.exports=function(e){var t=this.__data__;if(r){var n=t[e];return"__lodash_hash_undefined__"===n?void 0:n}return a.call(t,e)?t[e]:void 0}},{"./_nativeCreate":100}],78:[function(e,t,n){var r=e("./_nativeCreate"),a=Object.prototype.hasOwnProperty;t.exports=function(e){var t=this.__data__;return r?void 0!==t[e]:a.call(t,e)}},{"./_nativeCreate":100}],79:[function(e,t,n){var r=e("./_nativeCreate");t.exports=function(e,t){var n=this.__data__;return this.size+=this.has(e)?0:1,n[e]=r&&void 0===t?"__lodash_hash_undefined__":t,this}},{"./_nativeCreate":100}],80:[function(e,t,n){var r=/^(?:0|[1-9]\d*)$/;t.exports=function(e,t){var n=_typeof(e);return!!(t=null==t?9007199254740991:t)&&("number"==n||"symbol"!=n&&r.test(e))&&-1<e&&e%1==0&&e<t}},{}],81:[function(e,t,n){var a=e("./eq"),o=e("./isArrayLike"),i=e("./_isIndex"),c=e("./isObject");t.exports=function(e,t,n){if(!c(n))return!1;var r=_typeof(t);return!!("number"==r?o(n)&&i(t,n.length):"string"==r&&t in n)&&a(n[t],e)}},{"./_isIndex":80,"./eq":118,"./isArrayLike":130,"./isObject":135}],82:[function(e,t,n){var r=e("./isArray"),a=e("./isSymbol"),o=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,i=/^\w*$/;t.exports=function(e,t){if(r(e))return!1;var n=_typeof(e);return!("number"!=n&&"symbol"!=n&&"boolean"!=n&&null!=e&&!a(e))||i.test(e)||!o.test(e)||null!=t&&e in Object(t)}},{"./isArray":129,"./isSymbol":139}],83:[function(e,t,n){t.exports=function(e){var t=_typeof(e);return"string"==t||"number"==t||"symbol"==t||"boolean"==t?"__proto__"!==e:null===e}},{}],84:[function(e,t,n){var r,a=e("./_coreJsData"),o=(r=/[^.]+$/.exec(a&&a.keys&&a.keys.IE_PROTO||""))?"Symbol(src)_1."+r:"";t.exports=function(e){return!!o&&o in e}},{"./_coreJsData":56}],85:[function(e,t,n){var r=Object.prototype;t.exports=function(e){var t=e&&e.constructor;return e===("function"==typeof t&&t.prototype||r)}},{}],86:[function(e,t,n){var r=e("./isObject");t.exports=function(e){return e==e&&!r(e)}},{"./isObject":135}],87:[function(e,t,n){t.exports=function(){this.__data__=[],this.size=0}},{}],88:[function(e,t,n){var r=e("./_assocIndexOf"),a=Array.prototype.splice;t.exports=function(e){var t=this.__data__,n=r(t,e);return!(n<0||(n==t.length-1?t.pop():a.call(t,n,1),--this.size,0))}},{"./_assocIndexOf":24}],89:[function(e,t,n){var r=e("./_assocIndexOf");t.exports=function(e){var t=this.__data__,n=r(t,e);return n<0?void 0:t[n][1]}},{"./_assocIndexOf":24}],90:[function(e,t,n){var r=e("./_assocIndexOf");t.exports=function(e){return-1<r(this.__data__,e)}},{"./_assocIndexOf":24}],91:[function(e,t,n){var a=e("./_assocIndexOf");t.exports=function(e,t){var n=this.__data__,r=a(n,e);return r<0?(++this.size,n.push([e,t])):n[r][1]=t,this}},{"./_assocIndexOf":24}],92:[function(e,t,n){var r=e("./_Hash"),a=e("./_ListCache"),o=e("./_Map");t.exports=function(){this.size=0,this.__data__={hash:new r,map:new(o||a),string:new r}}},{"./_Hash":6,"./_ListCache":7,"./_Map":8}],93:[function(e,t,n){var r=e("./_getMapData");t.exports=function(e){var t=r(this,e).delete(e);return this.size-=t?1:0,t}},{"./_getMapData":66}],94:[function(e,t,n){var r=e("./_getMapData");t.exports=function(e){return r(this,e).get(e)}},{"./_getMapData":66}],95:[function(e,t,n){var r=e("./_getMapData");t.exports=function(e){return r(this,e).has(e)}},{"./_getMapData":66}],96:[function(e,t,n){var a=e("./_getMapData");t.exports=function(e,t){var n=a(this,e),r=n.size;return n.set(e,t),this.size+=n.size==r?0:1,this}},{"./_getMapData":66}],97:[function(e,t,n){t.exports=function(e){var n=-1,r=Array(e.size);return e.forEach(function(e,t){r[++n]=[t,e]}),r}},{}],98:[function(e,t,n){t.exports=function(t,n){return function(e){return null!=e&&e[t]===n&&(void 0!==n||t in Object(e))}}},{}],99:[function(e,t,n){var r=e("./memoize");t.exports=function(e){var t=r(e,function(e){return 500===n.size&&n.clear(),e}),n=t.cache;return t}},{"./memoize":145}],100:[function(e,t,n){var r=e("./_getNative")(Object,"create");t.exports=r},{"./_getNative":68}],101:[function(e,t,n){var r=e("./_overArg")(Object.keys,Object);t.exports=r},{"./_overArg":104}],102:[function(e,t,n){var r=e("./_freeGlobal"),a="object"==_typeof(n)&&n&&!n.nodeType&&n,o=a&&"object"==_typeof(t)&&t&&!t.nodeType&&t,i=o&&o.exports===a&&r.process,c=function(){try{var e=o&&o.require&&o.require("util").types;return e||i&&i.binding&&i.binding("util")}catch(e){}}();t.exports=c},{"./_freeGlobal":64}],103:[function(e,t,n){var r=Object.prototype.toString;t.exports=function(e){return r.call(e)}},{}],104:[function(e,t,n){t.exports=function(t,n){return function(e){return t(n(e))}}},{}],105:[function(e,t,n){var r=e("./_freeGlobal"),a="object"==("undefined"==typeof self?"undefined":_typeof(self))&&self&&self.Object===Object&&self,o=r||a||Function("return this")();t.exports=o},{"./_freeGlobal":64}],106:[function(e,t,n){t.exports=function(e){return this.__data__.set(e,"__lodash_hash_undefined__"),this}},{}],107:[function(e,t,n){t.exports=function(e){return this.__data__.has(e)}},{}],108:[function(e,t,n){t.exports=function(e){var t=-1,n=Array(e.size);return e.forEach(function(e){n[++t]=e}),n}},{}],109:[function(e,t,n){var r=e("./_ListCache");t.exports=function(){this.__data__=new r,this.size=0}},{"./_ListCache":7}],110:[function(e,t,n){t.exports=function(e){var t=this.__data__,n=t.delete(e);return this.size=t.size,n}},{}],111:[function(e,t,n){t.exports=function(e){return this.__data__.get(e)}},{}],112:[function(e,t,n){t.exports=function(e){return this.__data__.has(e)}},{}],113:[function(e,t,n){var a=e("./_ListCache"),o=e("./_Map"),i=e("./_MapCache");t.exports=function(e,t){var n=this.__data__;if(n instanceof a){var r=n.__data__;if(!o||r.length<199)return r.push([e,t]),this.size=++n.size,this;n=this.__data__=new i(r)}return n.set(e,t),this.size=n.size,this}},{"./_ListCache":7,"./_Map":8,"./_MapCache":9}],114:[function(e,t,n){var r=e("./_memoizeCapped"),o=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,i=/\\(\\)?/g,a=r(function(e){var a=[];return 46===e.charCodeAt(0)&&a.push(""),e.replace(o,function(e,t,n,r){a.push(n?r.replace(i,"$1"):t||e)}),a});t.exports=a},{"./_memoizeCapped":99}],115:[function(e,t,n){var r=e("./isSymbol");t.exports=function(e){if("string"==typeof e||r(e))return e;var t=e+"";return"0"==t&&1/e==-1/0?"-0":t}},{"./isSymbol":139}],116:[function(e,t,n){var r=Function.prototype.toString;t.exports=function(e){if(null!=e){try{return r.call(e)}catch(e){}try{return e+""}catch(e){}}return""}},{}],117:[function(e,t,n){t.exports=function(e){for(var t=-1,n=null==e?0:e.length,r=0,a=[];++t<n;){var o=e[t];o&&(a[r++]=o)}return a}},{}],118:[function(e,t,n){t.exports=function(e,t){return e===t||e!=e&&t!=t}},{}],119:[function(e,t,n){var a=e("./_arrayEvery"),o=e("./_baseEvery"),i=e("./_baseIteratee"),c=e("./isArray"),s=e("./_isIterateeCall");t.exports=function(e,t,n){var r=c(e)?a:o;return n&&s(e,t,n)&&(t=void 0),r(e,i(t,3))}},{"./_arrayEvery":18,"./_baseEvery":27,"./_baseIteratee":43,"./_isIterateeCall":81,"./isArray":129}],120:[function(e,t,n){var r=e("./_arrayFilter"),a=e("./_baseFilter"),o=e("./_baseIteratee"),i=e("./isArray");t.exports=function(e,t){return(i(e)?r:a)(e,o(t,3))}},{"./_arrayFilter":19,"./_baseFilter":28,"./_baseIteratee":43,"./isArray":129}],121:[function(e,t,n){var r=e("./_createFind")(e("./findIndex"));t.exports=r},{"./_createFind":59,"./findIndex":122}],122:[function(e,t,n){var o=e("./_baseFindIndex"),i=e("./_baseIteratee"),c=e("./toInteger"),s=Math.max;t.exports=function(e,t,n){var r=null==e?0:e.length;if(!r)return-1;var a=null==n?0:c(n);return a<0&&(a=s(r+a,0)),o(e,i(t,3),a)}},{"./_baseFindIndex":29,"./_baseIteratee":43,"./toInteger":150}],123:[function(e,t,n){var r=e("./_arrayEach"),a=e("./_baseEach"),o=e("./_castFunction"),i=e("./isArray");t.exports=function(e,t){return(i(e)?r:a)(e,o(t))}},{"./_arrayEach":17,"./_baseEach":26,"./_castFunction":54,"./isArray":129}],124:[function(e,t,n){var a=e("./_baseGet");t.exports=function(e,t,n){var r=null==e?void 0:a(e,t);return void 0===r?n:r}},{"./_baseGet":32}],125:[function(e,t,n){var r=e("./_baseHas"),a=e("./_hasPath");t.exports=function(e,t){return null!=e&&a(e,t,r)}},{"./_baseHas":35,"./_hasPath":74}],126:[function(e,t,n){var r=e("./_baseHasIn"),a=e("./_hasPath");t.exports=function(e,t){return null!=e&&a(e,t,r)}},{"./_baseHasIn":36,"./_hasPath":74}],127:[function(e,t,n){t.exports=function(e){return e}},{}],128:[function(e,t,n){var r=e("./_baseIsArguments"),a=e("./isObjectLike"),o=Object.prototype,i=o.hasOwnProperty,c=o.propertyIsEnumerable,s=r(function(){return arguments}())?r:function(e){return a(e)&&i.call(e,"callee")&&!c.call(e,"callee")};t.exports=s},{"./_baseIsArguments":37,"./isObjectLike":136}],129:[function(e,t,n){var r=Array.isArray;t.exports=r},{}],130:[function(e,t,n){var r=e("./isFunction"),a=e("./isLength");t.exports=function(e){return null!=e&&a(e.length)&&!r(e)}},{"./isFunction":133,"./isLength":134}],131:[function(e,t,n){var r=e("./_root"),a=e("./stubFalse"),o="object"==_typeof(n)&&n&&!n.nodeType&&n,i=o&&"object"==_typeof(t)&&t&&!t.nodeType&&t,c=i&&i.exports===o?r.Buffer:void 0,s=(c?c.isBuffer:void 0)||a;t.exports=s},{"./_root":105,"./stubFalse":148}],132:[function(e,t,n){var r=e("./_baseIsEqual");t.exports=function(e,t){return r(e,t)}},{"./_baseIsEqual":38}],133:[function(e,t,n){var r=e("./_baseGetTag"),a=e("./isObject");t.exports=function(e){if(!a(e))return!1;var t=r(e);return"[object Function]"==t||"[object GeneratorFunction]"==t||"[object AsyncFunction]"==t||"[object Proxy]"==t}},{"./_baseGetTag":34,"./isObject":135}],134:[function(e,t,n){t.exports=function(e){return"number"==typeof e&&-1<e&&e%1==0&&e<=9007199254740991}},{}],135:[function(e,t,n){t.exports=function(e){var t=_typeof(e);return null!=e&&("object"==t||"function"==t)}},{}],136:[function(e,t,n){t.exports=function(e){return null!=e&&"object"==_typeof(e)}},{}],137:[function(e,t,n){var r=e("./_baseGetTag"),a=e("./_getPrototype"),o=e("./isObjectLike"),i=Function.prototype,c=Object.prototype,s=i.toString,u=c.hasOwnProperty,l=s.call(Object);t.exports=function(e){if(!o(e)||"[object Object]"!=r(e))return!1;var t=a(e);if(null===t)return!0;var n=u.call(t,"constructor")&&t.constructor;return"function"==typeof n&&n instanceof n&&s.call(n)==l}},{"./_baseGetTag":34,"./_getPrototype":69,"./isObjectLike":136}],138:[function(e,t,n){var r=e("./_baseGetTag"),a=e("./isArray"),o=e("./isObjectLike");t.exports=function(e){return"string"==typeof e||!a(e)&&o(e)&&"[object String]"==r(e)}},{"./_baseGetTag":34,"./isArray":129,"./isObjectLike":136}],139:[function(e,t,n){var r=e("./_baseGetTag"),a=e("./isObjectLike");t.exports=function(e){return"symbol"==_typeof(e)||a(e)&&"[object Symbol]"==r(e)}},{"./_baseGetTag":34,"./isObjectLike":136}],140:[function(e,t,n){var r=e("./_baseIsTypedArray"),a=e("./_baseUnary"),o=e("./_nodeUtil"),i=o&&o.isTypedArray,c=i?a(i):r;t.exports=c},{"./_baseIsTypedArray":42,"./_baseUnary":52,"./_nodeUtil":102}],141:[function(e,t,n){t.exports=function(e){return void 0===e}},{}],142:[function(e,t,n){var r=e("./_arrayLikeKeys"),a=e("./_baseKeys"),o=e("./isArrayLike");t.exports=function(e){return o(e)?r(e):a(e)}},{"./_arrayLikeKeys":20,"./_baseKeys":44,"./isArrayLike":130}],143:[function(e,t,n){var r=e("./_arrayMap"),a=e("./_baseIteratee"),o=e("./_baseMap"),i=e("./isArray");t.exports=function(e,t){return(i(e)?r:o)(e,a(t,3))}},{"./_arrayMap":21,"./_baseIteratee":43,"./_baseMap":45,"./isArray":129}],144:[function(e,t,n){var o=e("./_baseAssignValue"),i=e("./_baseForOwn"),c=e("./_baseIteratee");t.exports=function(e,r){var a={};return r=c(r,3),i(e,function(e,t,n){o(a,t,r(e,t,n))}),a}},{"./_baseAssignValue":25,"./_baseForOwn":31,"./_baseIteratee":43}],145:[function(e,t,n){var r=e("./_MapCache"),a="Expected a function";function c(o,i){if("function"!=typeof o||null!=i&&"function"!=typeof i)throw new TypeError(a);var e=function e(){var t=arguments,n=i?i.apply(this,t):t[0],r=e.cache;if(r.has(n))return r.get(n);var a=o.apply(this,t);return e.cache=r.set(n,a)||r,a};return e.cache=new(c.Cache||r),e}c.Cache=r,t.exports=c},{"./_MapCache":9}],146:[function(e,t,n){var r=e("./_baseProperty"),a=e("./_basePropertyDeep"),o=e("./_isKey"),i=e("./_toKey");t.exports=function(e){return o(e)?r(i(e)):a(e)}},{"./_baseProperty":48,"./_basePropertyDeep":49,"./_isKey":82,"./_toKey":115}],147:[function(e,t,n){t.exports=function(){return[]}},{}],148:[function(e,t,n){t.exports=function(){return!1}},{}],149:[function(e,t,n){var r=e("./toNumber");t.exports=function(e){return e?(e=r(e))!==1/0&&e!==-1/0?e==e?e:0:17976931348623157e292*(e<0?-1:1):0===e?e:0}},{"./toNumber":151}],150:[function(e,t,n){var r=e("./toFinite");t.exports=function(e){var t=r(e),n=t%1;return t==t?n?t-n:t:0}},{"./toFinite":149}],151:[function(e,t,n){var r=e("./isObject"),a=e("./isSymbol"),o=/^\s+|\s+$/g,i=/^[-+]0x[0-9a-f]+$/i,c=/^0b[01]+$/i,s=/^0o[0-7]+$/i,u=parseInt;t.exports=function(e){if("number"==typeof e)return e;if(a(e))return NaN;if(r(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=r(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=e.replace(o,"");var n=c.test(e);return n||s.test(e)?u(e.slice(2),n?2:8):i.test(e)?NaN:+e}},{"./isObject":135,"./isSymbol":139}],152:[function(e,t,n){var r=e("./_baseToString");t.exports=function(e){return null==e?"":r(e)}},{"./_baseToString":51}],153:[function(e,a,t){!function(){var e=this;function t(e,t){var n,r,a,o,i,c,s,u;for(n=3&e.length,r=e.length-n,a=t,i=3432918353,c=461845907,u=0;u<r;)s=255&e.charCodeAt(u)|(255&e.charCodeAt(++u))<<8|(255&e.charCodeAt(++u))<<16|(255&e.charCodeAt(++u))<<24,++u,a=27492+(65535&(o=5*(65535&(a=(a^=s=(65535&(s=(s=(65535&s)*i+(((s>>>16)*i&65535)<<16)&4294967295)<<15|s>>>17))*c+(((s>>>16)*c&65535)<<16)&4294967295)<<13|a>>>19))+((5*(a>>>16)&65535)<<16)&4294967295))+((58964+(o>>>16)&65535)<<16);switch(s=0,n){case 3:s^=(255&e.charCodeAt(u+2))<<16;case 2:s^=(255&e.charCodeAt(u+1))<<8;case 1:a^=s=(65535&(s=(s=(65535&(s^=255&e.charCodeAt(u)))*i+(((s>>>16)*i&65535)<<16)&4294967295)<<15|s>>>17))*c+(((s>>>16)*c&65535)<<16)&4294967295}return a^=e.length,a=2246822507*(65535&(a^=a>>>16))+((2246822507*(a>>>16)&65535)<<16)&4294967295,a=3266489909*(65535&(a^=a>>>13))+((3266489909*(a>>>16)&65535)<<16)&4294967295,(a^=a>>>16)>>>0}var n=t;if(n.v2=function(e,t){for(var n,r=e.length,a=t^r,o=0;4<=r;)n=1540483477*(65535&(n=255&e.charCodeAt(o)|(255&e.charCodeAt(++o))<<8|(255&e.charCodeAt(++o))<<16|(255&e.charCodeAt(++o))<<24))+((1540483477*(n>>>16)&65535)<<16),a=1540483477*(65535&a)+((1540483477*(a>>>16)&65535)<<16)^(n=1540483477*(65535&(n^=n>>>24))+((1540483477*(n>>>16)&65535)<<16)),r-=4,++o;switch(r){case 3:a^=(255&e.charCodeAt(o+2))<<16;case 2:a^=(255&e.charCodeAt(o+1))<<8;case 1:a=1540483477*(65535&(a^=255&e.charCodeAt(o)))+((1540483477*(a>>>16)&65535)<<16)}return a=1540483477*(65535&(a^=a>>>13))+((1540483477*(a>>>16)&65535)<<16),(a^=a>>>15)>>>0},n.v3=t,void 0!==a)a.exports=n;else{var r=e.murmur;n.noConflict=function(){return e.murmur=r,n},e.murmur=n}}()},{}],154:[function(e,t,n){var y,_,r,a;y=e("crypt"),_=e("charenc").utf8,r=e("charenc").bin,(a=function(e,t){var n=y.wordsToBytes(function(e){e.constructor==String&&(e=_.stringToBytes(e));var t=y.bytesToWords(e),n=8*e.length,r=[],a=1732584193,o=-271733879,i=-1732584194,c=271733878,s=-1009589776;t[n>>5]|=128<<24-n%32,t[15+(n+64>>>9<<4)]=n;for(var u=0;u<t.length;u+=16){for(var l=a,f=o,d=i,p=c,h=s,m=0;m<80;m++){if(m<16)r[m]=t[u+m];else{var v=r[m-3]^r[m-8]^r[m-14]^r[m-16];r[m]=v<<1|v>>>31}var g=(a<<5|a>>>27)+s+(r[m]>>>0)+(m<20?1518500249+(o&i|~o&c):m<40?1859775393+(o^i^c):m<60?(o&i|o&c|i&c)-1894007588:(o^i^c)-899497514);s=c,c=i,i=o<<30|o>>>2,o=a,a=g}a+=l,o+=f,i+=d,c+=p,s+=h}return[a,o,i,c,s]}(e));return t&&t.asBytes?n:t&&t.asString?r.bytesToString(n):y.bytesToHex(n)})._blocksize=16,a._digestsize=20,t.exports=a},{charenc:2,crypt:3}],155:[function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0});var r=e("./lib/core");n.trackerCore=r.trackerCore},{"./lib/core":158}],156:[function(e,t,n){function r(e){var t,n,r,a,o,i,c,s="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",u=0,l=0,f="",d=[];if(!e)return e;for(e+="";t=(i=s.indexOf(e.charAt(u++))<<18|s.indexOf(e.charAt(u++))<<12|(a=s.indexOf(e.charAt(u++)))<<6|(o=s.indexOf(e.charAt(u++))))>>16&255,n=i>>8&255,r=255&i,d[l++]=64===a?String.fromCharCode(t):64===o?String.fromCharCode(t,n):String.fromCharCode(t,n,r),u<e.length;);return f=d.join(""),c=f.replace(/\0+$/,""),decodeURIComponent(c.split("").map(function(e){return"%"+("00"+e.charCodeAt(0).toString(16)).slice(-2)}).join(""))}Object.defineProperty(n,"__esModule",{value:!0}),n.base64urldecode=function(e){if(!e)return e;switch(4-e.length%4){case 2:e+="==";break;case 3:e+="="}return r(e.replace(/-/g,"+").replace(/_/g,"/"))},n.base64encode=function(e){var t,n,r,a,o,i,c="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",s=0,u=0,l=[];if(!e)return e;for(e=unescape(encodeURIComponent(e));t=(o=e.charCodeAt(s++)<<16|e.charCodeAt(s++)<<8|e.charCodeAt(s++))>>18&63,n=o>>12&63,r=o>>6&63,a=63&o,l[u++]=c.charAt(t)+c.charAt(n)+c.charAt(r)+c.charAt(a),s<e.length;);i=l.join("");var f=e.length%3;return(f?i.slice(0,f-3):i)+"===".slice(f||3)},n.base64decode=r},{}],157:[function(e,t,n){var r=this&&this.__assign||Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var a in t=arguments[n])Object.prototype.hasOwnProperty.call(t,a)&&(e[a]=t[a]);return e};Object.defineProperty(n,"__esModule",{value:!0});var a=e("./payload"),o=e("./base64"),s=e("lodash/isEqual"),i=e("lodash/has"),c=e("lodash/get"),u=e("lodash/isPlainObject"),l=e("lodash/every"),f=e("lodash/compact"),d=e("lodash/map");function p(e){var t=new RegExp("^iglu:([a-zA-Z0-9-_.]+)/([a-zA-Z0-9-_]+)/jsonschema/([1-9][0-9]*)-(0|[1-9][0-9]*)-(0|[1-9][0-9]*)$").exec(e);if(null!==t)return t.slice(1,6)}function h(e){if("*"===e[0]||"*"===e[1])return!1;if(0<e.slice(2).length){for(var t=!1,n=0,r=e.slice(2);n<r.length;n++){if("*"===r[n])t=!0;else if(t)return!1}return!0}return 2==e.length}function m(e){var t=e.split(".");return!!(t&&1<t.length)&&h(t)}function v(e){var t=new RegExp("^iglu:((?:(?:[a-zA-Z0-9-_]+|\\*).)+(?:[a-zA-Z0-9-_]+|\\*))/([a-zA-Z0-9-_.]+|\\*)/jsonschema/([1-9][0-9]*|\\*)-(0|[1-9][0-9]*|\\*)-(0|[1-9][0-9]*|\\*)$").exec(e);if(null!==t&&m(t[1]))return t.slice(1,6)}function g(e){var t=v(e);if(t){var n=t[0];return 5===t.length&&m(n)}return!1}function y(e){return Array.isArray(e)&&e.every(function(e){return"string"==typeof e})}function _(e){return y(e)?e.every(function(e){return g(e)}):"string"==typeof e&&g(e)}function b(e){return!!(a.isNonEmptyJson(e)&&"schema"in e&&"data"in e)&&("string"==typeof e.schema&&"object"===_typeof(e.data))}function w(e){return!!(a.isNonEmptyJson(e)&&"e"in e)&&"string"==typeof e.e}function k(e){var t=0;if(u(e)){if(i(e,"accept")){if(!_(e.accept))return!1;t+=1}if(i(e,"reject")){if(!_(e.reject))return!1;t+=1}return 0<t&&t<=2}return!1}function A(e){return"function"==typeof e&&e.length<=1}function x(e){return"function"==typeof e&&e.length<=1}function C(e){return A(e)||b(e)}function S(e){return!(!Array.isArray(e)||2!==e.length)&&(Array.isArray(e[1])?x(e[0])&&l(e[1],C):x(e[0])&&C(e[1]))}function j(e){return!(!Array.isArray(e)||2!==e.length)&&(!!k(e[0])&&(Array.isArray(e[1])?l(e[1],C):C(e[1])))}function T(e){return S(e)||j(e)}function O(e,t){if(!g(e))return!1;var n=v(e),r=p(t);if(n&&r){if(!P(n[0],r[0]))return!1;for(var a=1;a<5;a++)if(!I(n[a],r[a]))return!1;return!0}return!1}function P(e,t){var n=t.split("."),r=e.split(".");if(n&&r){if(n.length!==r.length)return!1;for(var a=0;a<r.length;a++)if(!I(n[a],r[a]))return!1;return!0}return!1}function I(e,t){return e&&t&&"*"===e||e===t}function E(e,t){var n=0,r=0,a=c(e,"accept");Array.isArray(a)?e.accept.some(function(e){return O(e,t)})&&r++:"string"==typeof a&&O(a,t)&&r++;var o=c(e,"reject");return Array.isArray(o)?e.reject.some(function(e){return O(e,t)})&&n++:"string"==typeof o&&O(o,t)&&n++,0<r&&0===n}function L(e){return"string"==typeof c(e,"ue_px.data.schema")?c(e,"ue_px.data.schema"):"string"==typeof c(e,"ue_pr.data.schema")?c(e,"ue_pr.data.schema"):"string"==typeof c(e,"schema")?c(e,"schema"):""}function D(e){var t=r({},e);try{i(t,"ue_px")&&(t.ue_px=JSON.parse(o.base64urldecode(c(t,["ue_px"]))))}catch(e){}return t}function M(e){return c(e,"e","")}function N(e,t,n,r){var a=void 0;try{return b(a=e({event:t,eventType:n,eventSchema:r}))?a:Array.isArray(a)&&l(a,b)?a:void 0}catch(e){a=void 0}return a}function F(e){return Array.isArray(e)?e:Array.of(e)}function z(e,n,r,a){var t=F(e),o=d(t,function(e){var t=U(e,n,r,a);if(t&&0!==t.length)return t});return[].concat.apply([],f(o))}function U(e,t,n,r){if(b(e))return[e];if(A(e)){var a=N(e,t,n,r);if(b(a))return[a];if(Array.isArray(a))return a}}function B(e,t,n,r){if(S(e)){var a=e[0],o=!1;try{o=a({event:t,eventType:n,eventSchema:r})}catch(e){o=!1}if(!0===o)return z(e[1],t,n,r)}else if(j(e)&&E(e[0],r))return z(e[1],t,n,r);return[]}function G(e,n,r,a){var t=F(e),o=d(t,function(e){var t=B(e,n,r,a);if(t&&0!==t.length)return t});return[].concat.apply([],f(o))}n.getSchemaParts=p,n.validateVendorParts=h,n.validateVendor=m,n.getRuleParts=v,n.isValidRule=g,n.isStringArray=y,n.isValidRuleSetArg=_,n.isSelfDescribingJson=b,n.isEventJson=w,n.isRuleSet=k,n.isContextGenerator=A,n.isContextFilter=x,n.isContextPrimitive=C,n.isFilterProvider=S,n.isRuleSetProvider=j,n.isConditionalContextProvider=T,n.matchSchemaAgainstRule=O,n.matchVendor=P,n.matchPart=I,n.matchSchemaAgainstRuleSet=E,n.getUsefulSchema=L,n.getDecodedEvent=D,n.getEventType=M,n.buildGenerator=N,n.normalizeToArray=F,n.generatePrimitives=z,n.evaluatePrimitive=U,n.evaluateProvider=B,n.generateConditionals=G,n.contextModule=function(){var i=[],c=[];return{getGlobalPrimitives:function(){return i},getConditionalProviders:function(){return c},addGlobalContexts:function(e){for(var t=[],n=[],r=0,a=e;r<a.length;r++){var o=a[r];T(o)?t.push(o):C(o)&&n.push(o)}i=i.concat(n),c=c.concat(t)},clearGlobalContexts:function(){c=[],i=[]},removeGlobalContexts:function(e){for(var t=function(t){T(t)?c=c.filter(function(e){return!s(e,t)}):C(t)&&(i=i.filter(function(e){return!s(e,t)}))},n=0,r=e;n<r.length;n++)t(r[n])},getApplicableContexts:function(e){var t=e.build();return w(t)?function(e){var t=L(e),n=M(e),r=[],a=z(i,e,n,t);r.push.apply(r,a);var o=G(c,e,n,t);return r.push.apply(r,o),r}(D(t)):[]}}}},{"./base64":156,"./payload":159,"lodash/compact":117,"lodash/every":119,"lodash/get":124,"lodash/has":125,"lodash/isEqual":132,"lodash/isPlainObject":137,"lodash/map":143}],158:[function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0});var u=e("uuid"),m=e("./payload"),r=e("./contexts");n.trackerCore=function(d,i){void 0===d&&(d=!0);var c={},o=r.contextModule();function n(e,t){c[e]=t}function f(e,t){var n={};for(var r in t=t||{},e)(t[r]||null!==e[r]&&void 0!==e[r])&&(n[r]=e[r]);return n}function s(e,t){var n,r=(n=e,o.getApplicableContexts(n)),a=[];return t&&t.length&&a.push.apply(a,t),r&&r.length&&a.push.apply(a,r),a}function p(e,t,n){e.addDict(c),e.add("eid",u.v4());var r,a=null==(r=n)?{type:"dtm",value:(new Date).getTime()}:"number"==typeof r?{type:"dtm",value:r}:"ttm"===r.type?{type:"ttm",value:r.value}:{type:"dtm",value:r.value||(new Date).getTime()};e.add(a.type,a.value.toString());var o=function(e){if(e&&e.length)return{schema:"iglu:com.snowplowanalytics.snowplow/contexts/jsonschema/1-0-0",data:e}}(s(e,t));return void 0!==o&&e.addJson("cx","co",o),"function"==typeof i&&i(e),e}function h(e,t,n){var r=m.payloadBuilder(d),a={schema:"iglu:com.snowplowanalytics.snowplow/unstruct_event/jsonschema/1-0-0",data:e};return r.add("e","ue"),r.addJson("ue_px","ue_pr",a),p(r,t,n)}return{setBase64Encoding:function(e){d=e},addPayloadPair:n,addPayloadDict:function(e){for(var t in e)e.hasOwnProperty(t)&&(c[t]=e[t])},resetPayloadPairs:function(e){c=m.isJson(e)?e:{}},setTrackerVersion:function(e){n("tv",e)},setTrackerNamespace:function(e){n("tna",e)},setAppId:function(e){n("aid",e)},setPlatform:function(e){n("p",e)},setUserId:function(e){n("uid",e)},setScreenResolution:function(e,t){n("res",e+"x"+t)},setViewport:function(e,t){n("vp",e+"x"+t)},setColorDepth:function(e){n("cd",e)},setTimezone:function(e){n("tz",e)},setLang:function(e){n("lang",e)},setIpAddress:function(e){n("ip",e)},trackUnstructEvent:h,trackSelfDescribingEvent:h,trackPageView:function(e,t,n,r,a){var o=m.payloadBuilder(d);return o.add("e","pv"),o.add("url",e),o.add("page",t),o.add("refr",n),p(o,r,a)},trackPagePing:function(e,t,n,r,a,o,i,c,s){var u=m.payloadBuilder(d);return u.add("e","pp"),u.add("url",e),u.add("page",t),u.add("refr",n),u.add("pp_mix",r.toString()),u.add("pp_max",a.toString()),u.add("pp_miy",o.toString()),u.add("pp_may",i.toString()),p(u,c,s)},trackStructEvent:function(e,t,n,r,a,o,i){var c=m.payloadBuilder(d);return c.add("e","se"),c.add("se_ca",e),c.add("se_ac",t),c.add("se_la",n),c.add("se_pr",r),c.add("se_va",null==a?void 0:a.toString()),p(c,o,i)},trackEcommerceTransaction:function(e,t,n,r,a,o,i,c,s,u,l){var f=m.payloadBuilder(d);return f.add("e","tr"),f.add("tr_id",e),f.add("tr_af",t),f.add("tr_tt",n),f.add("tr_tx",r),f.add("tr_sh",a),f.add("tr_ci",o),f.add("tr_st",i),f.add("tr_co",c),f.add("tr_cu",s),p(f,u,l)},trackEcommerceTransactionItem:function(e,t,n,r,a,o,i,c,s){var u=m.payloadBuilder(d);return u.add("e","ti"),u.add("ti_id",e),u.add("ti_sk",t),u.add("ti_nm",n),u.add("ti_ca",r),u.add("ti_pr",a),u.add("ti_qu",o),u.add("ti_cu",i),p(u,c,s)},trackScreenView:function(e,t,n,r){return h({schema:"iglu:com.snowplowanalytics.snowplow/screen_view/jsonschema/1-0-0",data:f({name:e,id:t})},n,r)},trackLinkClick:function(e,t,n,r,a,o,i){return h({schema:"iglu:com.snowplowanalytics.snowplow/link_click/jsonschema/1-0-1",data:f({targetUrl:e,elementId:t,elementClasses:n,elementTarget:r,elementContent:a})},o,i)},trackAdImpression:function(e,t,n,r,a,o,i,c,s,u){return h({schema:"iglu:com.snowplowanalytics.snowplow/ad_impression/jsonschema/1-0-0",data:f({impressionId:e,costModel:t,cost:n,targetUrl:r,bannerId:a,zoneId:o,advertiserId:i,campaignId:c})},s,u)},trackAdClick:function(e,t,n,r,a,o,i,c,s,u,l){return h({schema:"iglu:com.snowplowanalytics.snowplow/ad_click/jsonschema/1-0-0",data:f({targetUrl:e,clickId:t,costModel:n,cost:r,bannerId:a,zoneId:o,impressionId:i,advertiserId:c,campaignId:s})},u,l)},trackAdConversion:function(e,t,n,r,a,o,i,c,s,u,l){return h({schema:"iglu:com.snowplowanalytics.snowplow/ad_conversion/jsonschema/1-0-0",data:f({conversionId:e,costModel:t,cost:n,category:r,action:a,property:o,initialValue:i,advertiserId:c,campaignId:s})},u,l)},trackSocialInteraction:function(e,t,n,r,a){return h({schema:"iglu:com.snowplowanalytics.snowplow/social_interaction/jsonschema/1-0-0",data:f({action:e,network:t,target:n})},r,a)},trackAddToCart:function(e,t,n,r,a,o,i,c){return h({schema:"iglu:com.snowplowanalytics.snowplow/add_to_cart/jsonschema/1-0-0",data:f({sku:e,name:t,category:n,unitPrice:r,quantity:a,currency:o})},i,c)},trackRemoveFromCart:function(e,t,n,r,a,o,i,c){return h({schema:"iglu:com.snowplowanalytics.snowplow/remove_from_cart/jsonschema/1-0-0",data:f({sku:e,name:t,category:n,unitPrice:r,quantity:a,currency:o})},i,c)},trackFormFocusOrChange:function(e,t,n,r,a,o,i,c,s){var u="";return"change_form"===e?u="iglu:com.snowplowanalytics.snowplow/change_form/jsonschema/1-0-0":"focus_form"===e&&(u="iglu:com.snowplowanalytics.snowplow/focus_form/jsonschema/1-0-0"),h({schema:u,data:f({formId:t,elementId:n,nodeName:r,type:a,elementClasses:o,value:i},{value:!0})},c,s)},trackFormSubmission:function(e,t,n,r,a){return h({schema:"iglu:com.snowplowanalytics.snowplow/submit_form/jsonschema/1-0-0",data:f({formId:e,formClasses:t,elements:n})},r,a)},trackSiteSearch:function(e,t,n,r,a,o){return h({schema:"iglu:com.snowplowanalytics.snowplow/site_search/jsonschema/1-0-0",data:f({terms:e,filters:t,totalResults:n,pageResults:r})},a,o)},trackConsentWithdrawn:function(e,t,n,r,a,o,i){var c={schema:"iglu:com.snowplowanalytics.snowplow/consent_document/jsonschema/1-0-0",data:f({id:t,version:n,name:r,description:a})};return h({schema:"iglu:com.snowplowanalytics.snowplow/consent_withdrawn/jsonschema/1-0-0",data:f({all:e})},c.data&&o?o.concat([c]):o,i)},trackConsentGranted:function(e,t,n,r,a,o,i){var c={schema:"iglu:com.snowplowanalytics.snowplow/consent_document/jsonschema/1-0-0",data:f({id:e,version:t,name:n,description:r})};return h({schema:"iglu:com.snowplowanalytics.snowplow/consent_granted/jsonschema/1-0-0",data:f({expiry:a})},o?o.concat([c]):[c],i)},addGlobalContexts:function(e){o.addGlobalContexts(e)},clearGlobalContexts:function(){o.clearGlobalContexts()},removeGlobalContexts:function(e){o.removeGlobalContexts(e)}}}},{"./contexts":157,"./payload":159,uuid:161}],159:[function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0});var c=e("./base64");function s(e){if(!r(e))return!1;for(var t in e)if(e.hasOwnProperty(t))return!0;return!1}function r(e){return null!=e&&(e.constructor==={}.constructor||e.constructor===[].constructor)}n.isNonEmptyJson=s,n.isJson=r,n.payloadBuilder=function(o){var n={},i=function(e,t){null!=t&&""!==t&&(n[e]=t)};return{add:i,addDict:function(e){for(var t in e)e.hasOwnProperty(t)&&i(t,e[t])},addJson:function(e,t,n){if(s(n)){var r=JSON.stringify(n);o?i(e,(a=r)?c.base64encode(a).replace(/=/g,"").replace(/\+/g,"-").replace(/\//g,"_"):a):i(t,r)}var a},build:function(){return n}}}},{"./base64":156}],160:[function(e,o,t){(function(e){var t,n=e.crypto||e.msCrypto;if(n&&n.getRandomValues){var r=new Uint8Array(16);t=function(){return n.getRandomValues(r),r}}if(!t){var a=new Array(16);t=function(){for(var e,t=0;t<16;t++)0==(3&t)&&(e=4294967296*Math.random()),a[t]=e>>>((3&t)<<3)&255;return a}}o.exports=t}).call(this,"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{}],161:[function(e,t,n){for(var i=e("./rng"),a=[],o={},r=0;r<256;r++)a[r]=(r+256).toString(16).substr(1),o[a[r]]=r;function p(e,t){var n=t||0,r=a;return r[e[n++]]+r[e[n++]]+r[e[n++]]+r[e[n++]]+"-"+r[e[n++]]+r[e[n++]]+"-"+r[e[n++]]+r[e[n++]]+"-"+r[e[n++]]+r[e[n++]]+"-"+r[e[n++]]+r[e[n++]]+r[e[n++]]+r[e[n++]]+r[e[n++]]+r[e[n++]]}var c=i(),h=[1|c[0],c[1],c[2],c[3],c[4],c[5]],m=16383&(c[6]<<8|c[7]),v=0,g=0;function s(e,t,n){var r=t&&n||0;"string"==typeof e&&(t="binary"==e?new Array(16):null,e=null);var a=(e=e||{}).random||(e.rng||i)();if(a[6]=15&a[6]|64,a[8]=63&a[8]|128,t)for(var o=0;o<16;o++)t[r+o]=a[o];return t||p(a)}var u=s;u.v1=function(e,t,n){var r=t&&n||0,a=t||[],o=void 0!==(e=e||{}).clockseq?e.clockseq:m,i=void 0!==e.msecs?e.msecs:(new Date).getTime(),c=void 0!==e.nsecs?e.nsecs:g+1,s=i-v+(c-g)/1e4;if(s<0&&void 0===e.clockseq&&(o=o+1&16383),(s<0||v<i)&&void 0===e.nsecs&&(c=0),1e4<=c)throw new Error("uuid.v1(): Can't create more than 10M uuids/sec");v=i,m=o;var u=(1e4*(268435455&(i+=122192928e5))+(g=c))%4294967296;a[r++]=u>>>24&255,a[r++]=u>>>16&255,a[r++]=u>>>8&255,a[r++]=255&u;var l=i/4294967296*1e4&268435455;a[r++]=l>>>8&255,a[r++]=255&l,a[r++]=l>>>24&15|16,a[r++]=l>>>16&255,a[r++]=o>>>8|128,a[r++]=255&o;for(var f=e.node||h,d=0;d<6;d++)a[r+d]=f[d];return t||p(a)},u.v4=s,u.parse=function(e,t,n){var r=t&&n||0,a=0;for(t=t||[],e.toLowerCase().replace(/[0-9a-f]{2}/g,function(e){a<16&&(t[r+a++]=o[e])});a<16;)t[r+a++]=0;return t},u.unparse=p,t.exports=u},{"./rng":160}],162:[function(e,t,n){var u=e("lodash/isFunction"),r=e("./lib/helpers"),a=window;(void 0!==n?n:this).errorManager=function(c){function s(e,t,n,r,a,o){var i=a&&a.stack?a.stack:null;c.trackSelfDescribingEvent({schema:"iglu:com.snowplowanalytics.snowplow/application_error/jsonschema/1-0-1",data:{programmingLanguage:"JAVASCRIPT",message:e||"JS Exception. Browser doesn't support ErrorEvent API",stackTrace:i,lineNumber:n,lineColumn:r,fileName:t}},o)}return{trackError:s,enableErrorTracking:function(o,i,c){r.addEventListener(a,"error",function(e){var t,n,r,a;(u(o)&&o(e)||null==o)&&(t=e,n=c,a=u(r=i)?n.concat(r(t)):n,s(t.message,t.filename,t.lineno,t.colno,t.error,a))},!0)}}}},{"./lib/helpers":168,"lodash/isFunction":133}],163:[function(e,t,n){var p=e("lodash/forEach"),h=e("lodash/filter"),m=e("lodash/find"),v=e("./lib/helpers");(void 0!==n?n:this).getFormTrackingManager=function(i,e,c){var s=["textarea","input","select"],u=e+"form",r=function(){return!0},a=function(){return!0},l=function(e){return e};function f(t){return t[m(["name","id","type","nodeName"],function(e){return t[e]&&"string"==typeof t[e]})]}function o(a,o){return function(e){var t=e.target,n=t.nodeName&&"INPUT"===t.nodeName.toUpperCase()?t.type:null,r="checkbox"!==t.type||t.checked?l(t.value):null;("change_form"===a||"checkbox"!==n&&"radio"!==n)&&i.trackFormFocusOrChange(a,function(e){for(;e&&e.nodeName&&"HTML"!==e.nodeName.toUpperCase()&&"FORM"!==e.nodeName.toUpperCase();)e=e.parentNode;if(e&&e.nodeName&&"FORM"===e.nodeName.toUpperCase())return f(e)}(t),f(t),t.nodeName,n,v.getCssClasses(t),r,c(v.resolveDynamicContexts(o,t,n,r)))}}function d(o){return function(e){var n,r,t=e.target,a=(n=t,r=[],p(s,function(e){var t=h(n.getElementsByTagName(e),function(e){return e.hasOwnProperty(u)});p(t,function(e){if("submit"!==e.type){var t={name:f(e),value:e.value,nodeName:e.nodeName};e.type&&"INPUT"===e.nodeName.toUpperCase()&&(t.type=e.type),"checkbox"!==e.type&&"radio"!==e.type||e.checked||(t.value=null),r.push(t)}})}),r);p(a,function(e){e.value=l(e.value)}),i.trackFormSubmission(f(t),v.getCssClasses(t),a,c(v.resolveDynamicContexts(o,t,a)))}}return{configureFormTracking:function(e){e&&(r=v.getFilter(e.forms,!0),a=v.getFilter(e.fields,!1),l=v.getTransform(e.fields))},addFormListeners:function(n){p(document.getElementsByTagName("form"),function(t){r(t)&&!t[u]&&(p(s,function(e){p(t.getElementsByTagName(e),function(e){a(e)&&!e[u]&&"password"!==e.type.toLowerCase()&&(v.addEventListener(e,"focus",o("focus_form",n),!1),v.addEventListener(e,"change",o("change_form",n),!1),e[u]=!0)})}),v.addEventListener(t,"submit",d(n)),t[u]=!0)})}}}},{"./lib/helpers":168,"lodash/filter":120,"lodash/find":121,"lodash/forEach":123}],164:[function(e,t,n){n.productionize=function(a){var o={};return"object"===_typeof(a)&&null!==a&&Object.getOwnPropertyNames(a).forEach(function(e,t,n){var r;"function"==typeof a[e]&&(o[e]=(r=a[e],function(){try{return r.apply(this,arguments)}catch(e){}}))}),o}},{}],165:[function(e,t,n){!function(){var c=e("lodash/map"),v=e("lodash/isUndefined"),g=e("lodash/isFunction"),y=e("./lib/helpers");(void 0!==n?n:this).InQueueManager=function(r,a,o,e,i){var p={};function h(e){var t=[];if(e&&0!==e.length)for(var n=0;n<e.length;n++)p.hasOwnProperty(e[n])?t.push(p[e[n]]):y.warn('Warning: Tracker namespace "'+e[n]+'" not configured');else t=c(p);return 0===t.length&&y.warn("Warning: No tracker configured"),t}function m(e,t,n){n=n||{},p.hasOwnProperty(e)?y.warn("Tracker namespace "+e+" already exists."):(p[e]=new r(i,e,a,o,n),p[e].setCollectorUrl(t))}function t(){var e,t,n,r,a,o,i,c,s,u,l,f,d;for(e=0;e<arguments.length;e+=1)if(r=arguments[e],a=Array.prototype.shift.call(r),g(a))a.apply(p,r);else if(d=void 0,i=(o=[(d=a.split(":"))[0],1<d.length?d[1].split(";"):[]])[1],"newTracker"!==(n=o[0]))if("setCollectorCf"!==n&&"setCollectorUrl"!==n||i&&0!==i.length)for(c=h(i),t=0;t<c.length;t++)c[t][n].apply(c[t],r);else s=n,u=r[0],l=r[1],f=void 0,y.warn(s+" is deprecated. Set the collector when a new tracker instance using newTracker."),m(f=v(l)?"sp":l),p[f][s](u);else m(r[0],r[1],r[2])}for(var n=0;n<e.length;n++)t(e[n]);return{push:t}}}()},{"./lib/helpers":168,"lodash/isFunction":133,"lodash/isUndefined":141,"lodash/map":143}],166:[function(e,t,n){var r,a,o=e("./snowplow"),i=window;i.GlobalSnowplowNamespace&&0<i.GlobalSnowplowNamespace.length?(r=i.GlobalSnowplowNamespace.shift(),(a=i[r]).q=new o.Snowplow(a.q,r)):(i._snaq=i._snaq||[],i._snaq=new o.Snowplow(i._snaq,"_snaq"))},{"./snowplow":172}],167:[function(t,e,r){!function(){var i=t("lodash/isFunction"),c=t("lodash/isUndefined"),s=t("murmurhash").v3,e=t("jstimezonedetect").jstz.determine(),n=t("browser-cookie-lite"),u=void 0!==r?r:this,l=window,f=navigator,d=screen,o=document;u.hasSessionStorage=function(){try{return!!l.sessionStorage}catch(e){return!0}},u.hasLocalStorage=function(){try{return!!l.localStorage}catch(e){return!0}},u.localStorageAccessible=function(){var e="modernizr";if(!u.hasLocalStorage())return!1;try{return l.localStorage.setItem(e,e),l.localStorage.removeItem(e),!0}catch(e){return!1}},u.hasCookies=function(e){var t=e||"testcookie";return c(f.cookieEnabled)?(n.cookie(t,"1"),"1"===n.cookie(t)?"1":"0"):f.cookieEnabled?"1":"0"},u.detectSignature=function(e){var t=[f.userAgent,[d.height,d.width,d.colorDepth].join("x"),(new Date).getTimezoneOffset(),u.hasSessionStorage(),u.hasLocalStorage()],n=[];if(f.plugins)for(var r=0;r<f.plugins.length;r++)if(f.plugins[r]){for(var a=[],o=0;o<f.plugins[r].length;o++)a.push([f.plugins[r][o].type,f.plugins[r][o].suffixes]);n.push([f.plugins[r].name+"::"+f.plugins[r].description,a.join("~")])}return s(t.join("###")+"###"+n.sort().join(";"),e)},u.detectTimezone=function(){return void 0===e?"":e.name()},u.detectViewport=function(){var e=l,t="inner";"innerWidth"in l||(t="client",e=o.documentElement||o.body);var n=e[t+"Width"],r=e[t+"Height"];return 0<=n&&0<=r?n+"x"+r:null},u.detectDocumentSize=function(){var e=o.documentElement,t=o.body,n=t?Math.max(t.offsetHeight,t.scrollHeight):0,r=Math.max(e.clientWidth,e.offsetWidth,e.scrollWidth),a=Math.max(e.clientHeight,e.offsetHeight,e.scrollHeight,n);return isNaN(r)||isNaN(a)?"":r+"x"+a},u.detectBrowserFeatures=function(e,t){var n,r,a={pdf:"application/pdf",qt:"video/quicktime",realp:"audio/x-pn-realaudio-plugin",wma:"application/x-mplayer2",dir:"application/x-director",fla:"application/x-shockwave-flash",java:"application/x-java-vm",gears:"application/x-googlegears",ag:"application/x-silverlight"},o={};if(f.mimeTypes&&f.mimeTypes.length)for(n in a)Object.prototype.hasOwnProperty.call(a,n)&&(r=f.mimeTypes[a[n]],o[n]=r&&r.enabledPlugin?"1":"0");return f.constructor===window.Navigator&&"unknown"!=typeof f.javaEnabled&&!c(f.javaEnabled)&&f.javaEnabled()&&(o.java="1"),i(l.GearsFactory)&&(o.gears="1"),o.res=d.width+"x"+d.height,o.cd=d.colorDepth,e&&(o.cookie=u.hasCookies(t)),o}}()},{"browser-cookie-lite":1,jstimezonedetect:4,"lodash/isFunction":133,"lodash/isUndefined":141,murmurhash:153}],168:[function(e,t,o){!function(){var n=e("lodash/isString"),r=e("lodash/isUndefined"),i=e("lodash/isObject"),a=e("lodash/map"),s=e("browser-cookie-lite"),u=void 0!==o?o:this;u.fixupTitle=function(e){if(!n(e)){e=e.text||"";var t=document.getElementsByTagName("title");t&&!r(t[0])&&(e=t[0].text)}return e},u.getHostName=function(e){var t=new RegExp("^(?:(?:https?|ftp):)/*(?:[^@]+@)?([^:/#]+)").exec(e);return t?t[1]:e},u.fixupDomain=function(e){var t=e.length;return"."===e.charAt(--t)&&(e=e.slice(0,t)),"*."===e.slice(0,2)&&(e=e.slice(1)),e},u.getReferrer=function(e){var t="",n=u.fromQuerystring("referrer",window.location.href)||u.fromQuerystring("referer",window.location.href);if(n)return n;if(e)return e;try{t=window.top.document.referrer}catch(e){if(window.parent)try{t=window.parent.document.referrer}catch(e){t=""}}return""===t&&(t=document.referrer),t},u.addEventListener=function(e,t,n,r){return e.addEventListener?(e.addEventListener(t,n,r),!0):e.attachEvent?e.attachEvent("on"+t,n):void(e["on"+t]=n)},u.fromQuerystring=function(e,t){var n=new RegExp("^[^#]*[?&]"+e+"=([^&#]*)").exec(t);return n?decodeURIComponent(n[1].replace(/\+/g," ")):null},u.resolveDynamicContexts=function(e){var t=Array.prototype.slice.call(arguments,1);return a(e,function(e){if("function"!=typeof e)return e;try{return e.apply(null,t)}catch(e){}})},u.warn=function(e){"undefined"!=typeof console&&console.warn("Snowplow: "+e)},u.getCssClasses=function(e){return e.className.match(/\S+/g)||[]},u.getFilter=function(e,t){if(Array.isArray(e)||!i(e))return function(){return!0};if(e.hasOwnProperty("filter"))return e.filter;var n=e.hasOwnProperty("whitelist"),r=e.whitelist||e.blacklist;Array.isArray(r)||(r=[r]);for(var a={},o=0;o<r.length;o++)a[r[o]]=!0;return t?function(e){return function(e,t){var n,r=u.getCssClasses(e);for(n=0;n<r.length;n++)if(t[r[n]])return!0;return!1}(e,a)===n}:function(e){return e.name in a===n}},u.getTransform=function(e){return i(e)?e.hasOwnProperty("transform")?e.transform:function(e){return e}:function(e){return e}},u.decorateQuerystring=function(e,t,n){var r=t+"="+n,a=e.split("#"),o=a[0].split("?"),i=o.shift(),c=o.join("?");if(c){for(var s=!0,u=c.split("&"),l=0;l<u.length;l++)if(u[l].substr(0,t.length+1)===t+"="){s=!1,u[l]=r,c=u.join("&");break}s&&(c=r+"&"+c)}else c=r;return a[0]=i+"?"+c,a.join("#")},u.attemptGetLocalStorage=function(e){try{return localStorage.getItem(e)}catch(e){}},u.attemptWriteLocalStorage=function(e,t){try{return localStorage.setItem(e,t),!0}catch(e){return!1}},u.findRootDomain=function(){for(var e="_sp_root_domain_test_",t=e+(new Date).getTime(),n="_test_value_"+(new Date).getTime(),r=window.location.hostname.split("."),a=r.length-1;0<=a;){var o=r.slice(a,r.length).join(".");if(s.cookie(t,n,0,"/",o),s.cookie(t)===n){u.deleteCookie(t,o);for(var i=u.getCookiesWithPrefix(e),c=0;c<i.length;c++)u.deleteCookie(i[c],o);return o}a-=1}return window.location.hostname},u.isValueInArray=function(e,t){for(var n=0;n<t.length;n++)if(t[n]===e)return!0;return!1},u.deleteCookie=function(e,t){s.cookie(e,"",-1,"/",t)},u.getCookiesWithPrefix=function(e){for(var t=document.cookie.split("; "),n=[],r=0;r<t.length;r++)t[r].substring(0,e.length)===e&&n.push(t[r]);return n},u.parseInt=function(e){var t=parseInt(e);return isNaN(t)?void 0:t},u.parseFloat=function(e){var t=parseFloat(e);return isNaN(t)?void 0:t}}()},{"browser-cookie-lite":1,"lodash/isObject":135,"lodash/isString":138,"lodash/isUndefined":141,"lodash/map":143}],169:[function(e,t,n){!function(){var i=e("./helpers");function c(e){var t,n,r;if(r=e,new RegExp("^(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\.(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\.(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\.(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)$").test(r))try{return t=document.body.children[0].children[0].children[0].children[0].children[0].children[0].innerHTML,n="You have reached the cached page for",t.slice(0,n.length)===n}catch(e){return!1}}(void 0!==n?n:this).fixupUrl=function(e,t,n){var r,a,o;return"translate.googleusercontent.com"===e?(""===n&&(n=t),r=t,a="u",o=new RegExp("^(?:https?|ftp)(?::/*(?:[^?]+))([?][^#]+)").exec(r),t=i.fromQuerystring(a,o[1]),e=i.getHostName(t)):("cc.bingj.com"===e||"webcache.googleusercontent.com"===e||c(e))&&(t=document.links[0].href,e=i.getHostName(t)),[e,t,n]}}()},{"./helpers":168}],170:[function(e,t,n){var h=e("lodash/isUndefined"),m=e("./lib/helpers");(void 0!==n?n:this).getLinkTrackingManager=function(f,r,d){var a,o,p,i,c,s;function u(e,t){for(var n,r,a,o,i,c;null!==(n=e.parentNode)&&!h(n)&&"A"!==(r=e.tagName.toUpperCase())&&"AREA"!==r;)e=n;if(!h(e.href)){var s=e.hostname||m.getHostName(e.href),u=s.toLowerCase(),l=e.href.replace(s,u);new RegExp("^(javascript|vbscript|jscript|mocha|livescript|ecmascript|mailto):","i").test(l)||(a=e.id,o=m.getCssClasses(e),i=e.target,c=p?e.innerHTML:null,l=unescape(l),f.trackLinkClick(l,a,o,i,c,d(m.resolveDynamicContexts(t,e))))}}function l(r){return function(e){var t,n;t=(e=e||window.event).which||e.button,n=e.target||e.srcElement,"click"===e.type?n&&u(n,r):"mousedown"===e.type?1!==t&&2!==t||!n?c=s=null:(c=t,s=n):"mouseup"===e.type&&(t===c&&n===s&&u(n,r),c=s=null)}}return{configureLinkClickTracking:function(e,t,n,r){p=n,i=r,o=t,a=m.getFilter(e,!0)},addClickListeners:function(){var e,t,n=document.links;for(e=0;e<n.length;e++)a(n[e])&&!n[e][r]&&(t=n[e],o?(m.addEventListener(t,"mouseup",l(i),!1),m.addEventListener(t,"mousedown",l(i),!1)):m.addEventListener(t,"click",l(i),!1),n[e][r]=!0)}}}},{"./lib/helpers":168,"lodash/isUndefined":141}],171:[function(e,t,n){!function(){var b=e("lodash/mapValues"),w=e("lodash/isString"),k=e("lodash/map"),A=e("./lib/detectors").localStorageAccessible,x=e("./lib/helpers");(void 0!==n?n:this).OutQueueManager=function(e,t,n,s,r,a,o,u){var l,f,d,p=!1,i=null===(r=r.toLowerCase?r.toLowerCase():r)||!0===r||"beacon"===r||"true"===r,h=Boolean(i&&navigator&&navigator.sendBeacon)&&i,m=("post"===r||h)&&!("get"===r),c=(m=m&&Boolean(window.XMLHttpRequest&&"withCredentials"in new XMLHttpRequest))?a:"/i";if(o=A()&&s&&m&&o||1,l=["snowplowOutQueue",e,t,m?"post2":"get"].join("_"),s)try{d=JSON.parse(localStorage.getItem(l))}catch(e){}function v(){for(;d.length&&"string"!=typeof d[0]&&"object"!==_typeof(d[0]);)d.shift();if(d.length<1)p=!1;else{if(!w(f))throw"No Snowplow collector configured, cannot track";p=!0;var e=d[0];if(m){var t=g(f),n=setTimeout(function(){t.abort(),p=!1},5e3),r=function(e){for(var t=0,n=0;t<e.length&&(n+=e[t].bytes,!(u<=n));)t+=1;return t}(d);t.onreadystatechange=function(){if(4===t.readyState&&200<=t.status&&t.status<400){for(var e=0;e<r;e++)d.shift();s&&x.attemptWriteLocalStorage(l,JSON.stringify(d)),clearTimeout(n),v()}else 4===t.readyState&&400<=t.status&&(clearTimeout(n),p=!1)};var a=k(d.slice(0,r),function(e){return e.evt});if(0<a.length){var o;if(h){var i=new Blob([y(_(a))],{type:"application/json"});o=navigator.sendBeacon(f,i)}h&&o||t.send(y(_(a)))}}else{var c=new Image(1,1);c.onload=function(){d.shift(),s&&x.attemptWriteLocalStorage(l,JSON.stringify(d)),v()},c.onerror=function(){p=!1},c.src=f+e.replace("?","?stm="+(new Date).getTime()+"&")}}}function g(e){var t=new XMLHttpRequest;return t.open("POST",e,!0),t.withCredentials=!0,t.setRequestHeader("Content-Type","application/json; charset=UTF-8"),t}function y(e){return JSON.stringify({schema:"iglu:com.snowplowanalytics.snowplow/payload_data/jsonschema/1-0-4",data:e})}function _(e){for(var t=(new Date).getTime().toString(),n=0;n<e.length;n++)e[n].stm=t;return e}return Array.isArray(d)||(d=[]),n.outQueues.push(d),m&&1<o&&n.bufferFlushers.push(function(){p||v()}),{enqueueRequest:function(e,t){if(f=t+c,m){var n={evt:r=b(e,function(e){return e.toString()}),bytes:function(e){for(var t=0,n=0;n<e.length;n++){var r=e.charCodeAt(n);r<=127?t+=1:r<=2047?t+=2:55296<=r&&r<=57343?(t+=4,n++):t+=r<65535?3:4}return t}(JSON.stringify(r))};if(u<=n.bytes)return x.warn("Event of size "+n.bytes+" is too long - the maximum size is "+u),void g(f).send(y(_([n.evt])));d.push(n)}else d.push(function(e){var t="?",n={co:!0,cx:!0},r=!0;for(var a in e)e.hasOwnProperty(a)&&!n.hasOwnProperty(a)&&(r?r=!1:t+="&",t+=encodeURIComponent(a)+"="+encodeURIComponent(e[a]));for(var o in n)e.hasOwnProperty(o)&&n.hasOwnProperty(o)&&(t+="&"+o+"="+encodeURIComponent(e[o]));return t}(e));var r,a=!1;s&&(a=x.attemptWriteLocalStorage(l,JSON.stringify(d))),p||a&&!(d.length>=o)||v()},executeQueue:v}}}()},{"./lib/detectors":167,"./lib/helpers":168,"lodash/isString":138,"lodash/map":143,"lodash/mapValues":144}],172:[function(e,t,n){!function(){e("uuid");var s=e("lodash/forEach"),u=e("lodash/filter"),l=e("./lib/helpers"),f=e("./in_queue"),d=e("./tracker");(void 0!==n?n:this).Snowplow=function(e,n){var t,r=document,a=window,o="js-2.10.0",i={outQueues:[],bufferFlushers:[],expireDateTime:null,hasLoaded:!1,registeredOnLoadHandlers:[],pageViewId:null};function c(){var e;if(!i.hasLoaded)for(i.hasLoaded=!0,e=0;e<i.registeredOnLoadHandlers.length;e++)i.registeredOnLoadHandlers[e]();return!0}return a.Snowplow={getTrackerCf:function(e){var t=new d.Tracker(n,"",o,i,{});return t.setCollectorCf(e),t},getTrackerUrl:function(e){var t=new d.Tracker(n,"",o,i,{});return t.setCollectorUrl(e),t},getAsyncTracker:function(){return new d.Tracker(n,"",o,i,{})}},l.addEventListener(a,"beforeunload",function(){var e;if(s(i.bufferFlushers,function(e){e()}),i.expireDateTime)do{if(e=new Date,0===u(i.outQueues,function(e){return 0<e.length}).length)break}while(e.getTime()<i.expireDateTime)},!1),r.addEventListener?l.addEventListener(r,"DOMContentLoaded",function e(){r.removeEventListener("DOMContentLoaded",e,!1),c()}):r.attachEvent&&(r.attachEvent("onreadystatechange",function e(){"complete"===r.readyState&&(r.detachEvent("onreadystatechange",e),c())}),r.documentElement.doScroll&&a===a.top&&function t(){if(!i.hasLoaded){try{r.documentElement.doScroll("left")}catch(e){return void setTimeout(t,0)}c()}}()),new RegExp("WebKit").test(navigator.userAgent)&&(t=setInterval(function(){(i.hasLoaded||/loaded|complete/.test(r.readyState))&&(clearInterval(t),c())},10)),l.addEventListener(a,"load",c,!1),new f.InQueueManager(d.Tracker,o,i,e,n)}}()},{"./in_queue":165,"./lib/helpers":168,"./tracker":173,"lodash/filter":120,"lodash/forEach":123,uuid:161}],173:[function(e,t,n){!function(){var Xe=e("lodash/forEach"),et=e("lodash/map"),tt=e("./lib/helpers"),nt=e("./lib/proxies"),rt=e("browser-cookie-lite"),at=e("./lib/detectors"),ot=e("sha1"),it=e("./links"),ct=e("./forms"),st=e("./errors"),ut=e("./out_queue"),lt=e("snowplow-tracker-core").trackerCore,ft=e("./guard").productionize,dt=e("uuid");(void 0!==n?n:this).Tracker=function(e,t,n,s,r){(r=r||{}).hasOwnProperty("post")?r.eventMethod=!0===r.post?"post":"get":r.eventMethod=r.eventMethod||"beacon";var u,h,a,m,l,f,d,o,v,i,p,g,y,_,b,c,w,k,A,x,C,S,j=lt(!0,function(e){!function(e){var t,n=Math.round((new Date).getTime()/1e3),r=Pe("id"),a=Pe("ses"),o=Ie("ses"),i=Ge(),c=i[0],s=i[1],u=i[2],l=i[3],f=i[4],d=i[5],p=i[6];t=!!v&&!!rt.cookie(v);if((Q||t)&&"none"!=ae)return"localStorage"==ae?(tt.attemptWriteLocalStorage(r,""),tt.attemptWriteLocalStorage(a,"")):"cookie"!=ae&&"cookieAndLocalStorage"!=ae||(rt.cookie(r,"",-1,J,K),rt.cookie(a,"",-1,J,K));"0"===c?(k=p,o||"none"==ae||(l++,d=f,k=dt.v4()),de=l):(new Date).getTime()-le>1e3*Y&&(k=dt.v4(),de++);e.add("vp",at.detectViewport()),e.add("ds",at.detectDocumentSize()),e.add("vid",de),e.add("sid",k),e.add("duid",s),e.add("fp",ce),e.add("uid",A),Ce(),e.add("refr",Te(h||z)),e.add("url",Te(m||F)),"none"!=ae&&(Ue(s,u,de,n,d,k),ze());le=(new Date).getTime()}(e),function(e,t){var n,r=new Date;n=!!v&&!!rt.cookie(v);Q||n||(ge.enqueueRequest(e.build(),a),s.expireDateTime=r.getTime()+t)}(e,R)}),T=!1,O={},P={},I={},E=document,L=window,D=navigator,M=nt.fixupUrl(E.domain,L.location.href,tt.getReferrer()),N=tt.fixupDomain(M[0]),F=M[1],z=M[2],U=r.hasOwnProperty("platform")?r.platform:"web",B=r.hasOwnProperty("postPath")?r.postPath:"/com.snowplowanalytics.snowplow/tp2",G=r.hasOwnProperty("appId")?r.appId:"",q=E.title,R=r.hasOwnProperty("pageUnloadTimer")?r.pageUnloadTimer:500,H=!1,V=r.hasOwnProperty("cookieName")?r.cookieName:"_sp_",K=r.hasOwnProperty("cookieDomain")?r.cookieDomain:null,J="/",W=D.doNotTrack||D.msDoNotTrack||L.doNotTrack,Q=!!r.hasOwnProperty("respectDoNotTrack")&&(r.respectDoNotTrack&&("yes"===W||"1"===W)),$=r.hasOwnProperty("cookieLifetime")?r.cookieLifetime:63072e3,Y=r.hasOwnProperty("sessionCookieTimeout")?r.sessionCookieTimeout:1800,Z=r.hasOwnProperty("userFingerprintSeed")?r.userFingerprintSeed:123412414,X=E.characterSet||E.charset,ee=!!r.hasOwnProperty("forceSecureTracker")&&!0===r.forceSecureTracker,te=!(ee||!r.hasOwnProperty("forceUnsecureTracker"))&&!0===r.forceUnsecureTracker,ne=!r.hasOwnProperty("useLocalStorage")||(tt.warn("argmap.useLocalStorage is deprecated. Use argmap.stateStorageStrategy instead."),r.useLocalStorage),re=!r.hasOwnProperty("useCookies")||(tt.warn("argmap.useCookies is deprecated. Use argmap.stateStorageStrategy instead."),r.useCookies),ae=r.hasOwnProperty("stateStorageStrategy")?r.stateStorageStrategy:re||ne?re&&ne?"cookieAndLocalStorage":re?"cookie":"localStorage":"none",oe=D.userLanguage||D.language,ie=at.detectBrowserFeatures("cookie"==ae||"cookieAndLocalStorage"==ae,Pe("testcookie")),ce=!1===r.userFingerprint?"":at.detectSignature(Z),se=e+"_"+t,ue=!1,le=(new Date).getTime(),fe=ot,de=1,pe={transaction:{},items:[]},he=it.getLinkTrackingManager(j,se,Re),me=ct.getFormTrackingManager(j,se,Re),ve=st.errorManager(j),ge=new ut.OutQueueManager(e,t,s,"localStorage"==ae||"cookieAndLocalStorage"==ae,r.eventMethod,B,r.bufferSize,r.maxPostBytes||4e4),ye=!1,_e=r.contexts||{},be=[],we=[],ke=!1,Ae=!1;for(var xe in r.hasOwnProperty("discoverRootDomain")&&r.discoverRootDomain&&(K=tt.findRootDomain()),_e.gaCookies&&be.push((x={},Xe(["__utma","__utmb","__utmc","__utmv","__utmz","_ga"],function(e){var t=rt.cookie(e);t&&(x[e]=t)}),{schema:"iglu:com.google.analytics/cookies/jsonschema/1-0-0",data:x})),_e.geolocation&&Je(),j.setBase64Encoding(!r.hasOwnProperty("encodeBase64")||r.encodeBase64),j.setTrackerVersion(n),j.setTrackerNamespace(t),j.setAppId(G),j.setPlatform(U),j.setTimezone(at.detectTimezone()),j.addPayloadPair("lang",oe),j.addPayloadPair("cs",X),ie)Object.prototype.hasOwnProperty.call(ie,xe)&&("res"===xe||"cd"===xe||"cookie"===xe?j.addPayloadPair(xe,ie[xe]):j.addPayloadPair("f_"+xe,ie[xe]));function Ce(){(M=nt.fixupUrl(E.domain,L.location.href,tt.getReferrer()))[1]!==F&&(z=tt.getReferrer(F)),N=tt.fixupDomain(M[0]),F=M[1]}function Se(){var e=(new Date).getTime();this.href&&(this.href=tt.decorateQuerystring(this.href,"_sp",w+"."+e))}function je(e){for(var t=0;t<E.links.length;t++){var n=E.links[t];!n.spDecorationEnabled&&e(n)&&(tt.addEventListener(n,"click",Se,!0),tt.addEventListener(n,"mousedown",Se,!0),n.spDecorationEnabled=!0)}}function Te(e){var t;return o?(t=new RegExp("#.*"),e.replace(t,"")):e}function Oe(e){var t=new RegExp("^([a-z]+):").exec(e);return t?t[1]:null}function Pe(e){return V+e+"."+c}function Ie(e){var t=Pe(e);return"localStorage"==ae?tt.attemptGetLocalStorage(t):"cookie"==ae||"cookieAndLocalStorage"==ae?rt.cookie(t):void 0}function Ee(){Ce(),c=fe((K||N)+(J||"/")).slice(0,4)}function Le(){var e=new Date;p=e.getTime()}function De(){!function(){var e=Me(),t=e[0];t<g?g=t:y<t&&(y=t);var n=e[1];n<_?_=n:b<n&&(b=n)}(),Le()}function Me(){var e=E.compatMode&&"BackCompat"!==E.compatMode?E.documentElement:E.body;return[e.scrollLeft||L.pageXOffset,e.scrollTop||L.pageYOffset]}function Ne(){var e=Me(),t=e[0];y=g=t;var n=e[1];b=_=n}function Fe(e){var t=Math.round(e);if(!isNaN(t))return t}function ze(){Be(Pe("ses"),"*",Y)}function Ue(e,t,n,r,a,o){Be(Pe("id"),e+"."+t+"."+n+"."+r+"."+a+"."+o,$)}function Be(e,t,n){"localStorage"==ae?tt.attemptWriteLocalStorage(e,t):"cookie"!=ae&&"cookieAndLocalStorage"!=ae||rt.cookie(e,t,n,J,K)}function Ge(){if("none"==ae)return[];var e,t=new Date,n=Math.round(t.getTime()/1e3),r=Ie("id");return r?(e=r.split(".")).unshift("0"):e=["1",w,n,0,n,""],e[6]||(e[6]=dt.v4()),e}function qe(e){return ee?"https://"+e:te?"http://"+e:("https:"===E.location.protocol?"https":"http")+"://"+e}function Re(e){var t,n,r,a,o,i=be.concat(e||[]);if(_e.webPage&&i.push({schema:"iglu:com.snowplowanalytics.snowplow/web_page/jsonschema/1-0-0",data:{id:He()}}),_e.performanceTiming){var c=function(){var e=["navigationStart","redirectStart","redirectEnd","fetchStart","domainLookupStart","domainLookupEnd","connectStart","secureConnectionStart","connectEnd","requestStart","responseStart","responseEnd","unloadEventStart","unloadEventEnd","domLoading","domInteractive","domContentLoadedEventStart","domContentLoadedEventEnd","domComplete","loadEventStart","loadEventEnd","msFirstPaint","chromeFirstPaint","requestEnd","proxyStart","proxyEnd"],t=L.performance||L.mozPerformance||L.msPerformance||L.webkitPerformance;if(t){var n={};for(var r in t.timing)tt.isValueInArray(r,e)&&null!==t.timing[r]&&(n[r]=t.timing[r]);return delete n.requestEnd,L.chrome&&L.chrome.loadTimes&&"number"==typeof L.chrome.loadTimes().firstPaintTime&&(n.chromeFirstPaint=Math.round(1e3*L.chrome.loadTimes().firstPaintTime)),{schema:"iglu:org.w3/PerformanceTiming/jsonschema/1-0-0",data:n}}}();c&&i.push(c)}if(L.optimizely){if(_e.optimizelySummary){var s=et((a=Ve("state"),o=Ve("experiments"),et(a&&o&&a.activeExperiments,function(e){var t=o[e];return{activeExperimentId:e.toString(),variation:a.variationIdsMap[e][0].toString(),conditional:t&&t.conditional,manual:t&&t.manual,name:t&&t.name}})),function(e){return{schema:"iglu:com.optimizely.snowplow/optimizely_summary/jsonschema/1-0-0",data:e}});Xe(s,function(e){i.push(e)})}if(_e.optimizelyXSummary){s=et((t=Ke("state"),n=t.getActiveExperimentIds(),Ke("data","experiments"),r=Ke("visitor"),et(n,function(e){return variation=t.getVariationMap()[e],variationName=variation.name,variationId=variation.id,visitorId=r.visitorId,{experimentId:parseInt(e),variationName:variationName,variation:parseInt(variationId),visitorId:visitorId}})),function(e){return{schema:"iglu:com.optimizely.optimizelyx/summary/jsonschema/1-0-0",data:e}});Xe(s,function(e){i.push(e)})}if(_e.optimizelyExperiments)for(var u=function(){var e=Ve("experiments");if(e){var t=[];for(var n in e)if(e.hasOwnProperty(n)){var r={};r.id=n;var a=e[n];r.code=a.code,r.manual=a.manual,r.conditional=a.conditional,r.name=a.name,r.variationIds=a.variation_ids,t.push({schema:"iglu:com.optimizely/experiment/jsonschema/1-0-0",data:r})}return t}return[]}(),l=0;l<u.length;l++)i.push(u[l]);if(_e.optimizelyStates){var f=function(){var e=[],t=Ve("experiments");if(t)for(var n in t)t.hasOwnProperty(n)&&e.push(n);var r=Ve("state");if(r){for(var a=[],o=r.activeExperiments||[],i=0;i<e.length;i++){var c=e[i],s={};s.experimentId=c,s.isActive=tt.isValueInArray(e[i],o);var u=r.variationMap||{};s.variationIndex=u[c];var l=r.variationNamesMap||{};s.variationName=l[c];var f=r.variationIdsMap||{};f[c]&&1===f[c].length&&(s.variationId=f[c][0]),a.push({schema:"iglu:com.optimizely/state/jsonschema/1-0-0",data:s})}return a}return[]}();for(l=0;l<f.length;l++)i.push(f[l])}if(_e.optimizelyVariations){var d=function(){var e=Ve("variations");if(e){var t=[];for(var n in e)if(e.hasOwnProperty(n)){var r={};r.id=n;var a=e[n];r.name=a.name,r.code=a.code,t.push({schema:"iglu:com.optimizely/variation/jsonschema/1-0-0",data:r})}return t}return[]}();for(l=0;l<d.length;l++)i.push(d[l])}if(_e.optimizelyVisitor){var p=function(){var e=Ve("visitor");if(e){var t={};t.browser=e.browser,t.browserVersion=e.browserVersion,t.device=e.device,t.deviceType=e.deviceType,t.ip=e.ip;var n=e.platform||{};t.platformId=n.id,t.platformVersion=n.version;var r=e.location||{};return t.locationCity=r.city,t.locationRegion=r.region,t.locationCountry=r.country,t.mobile=e.mobile,t.mobileId=e.mobileId,t.referrer=e.referrer,t.os=e.os,{schema:"iglu:com.optimizely/visitor/jsonschema/1-0-0",data:t}}}();p&&i.push(p)}if(_e.optimizelyAudiences){var h=function(){var e=Ve("visitor","audiences");if(e){var t=[];for(var n in e)if(e.hasOwnProperty(n)){var r={id:n,isMember:e[n]};t.push({schema:"iglu:com.optimizely/visitor_audience/jsonschema/1-0-0",data:r})}return t}return[]}();for(l=0;l<h.length;l++)i.push(h[l])}if(_e.optimizelyDimensions){var m=function(){var e=Ve("visitor","dimensions");if(e){var t=[];for(var n in e)if(e.hasOwnProperty(n)){var r={id:n,value:e[n]};t.push({schema:"iglu:com.optimizely/visitor_dimension/jsonschema/1-0-0",data:r})}return t}return[]}();for(l=0;l<m.length;l++)i.push(m[l])}}if(_e.augurIdentityLite){var v=function(){var e=L.augur;if(e){var t={consumer:{},device:{}},n=e.consumer||{};t.consumer.UUID=n.UID;var r=e.device||{};t.device.ID=r.ID,t.device.isBot=r.isBot,t.device.isProxied=r.isProxied,t.device.isTor=r.isTor;var a=r.fingerprint||{};return t.device.isIncognito=a.browserHasIncognitoEnabled,{schema:"iglu:io.augur.snowplow/identity_lite/jsonschema/1-0-0",data:t}}}();v&&i.push(v)}if(_e.parrable){var g=function(){var e=window._hawk;if(e){var t={encryptedId:null,optout:null};t.encryptedId=e.browserid;var n=new RegExp("(?:^|;)\\s?"+"_parrable_hawk_optout".replace(/([.*+?^=!:${}()|[\]\/\\])/g,"\\$1")+"=(.*?)(?:;|$)","i"),r=document.cookie.match(n);return t.optout=r&&decodeURIComponent(r[1])?r&&decodeURIComponent(r[1]):"false",{schema:"iglu:com.parrable/encrypted_payload/jsonschema/1-0-0",data:t}}}();g&&i.push(g)}return i}function He(){return null==s.pageViewId&&(s.pageViewId=dt.v4()),s.pageViewId}function Ve(e,t){var n;return L.optimizely&&L.optimizely.data&&(n=L.optimizely.data[e],void 0!==t&&void 0!==n&&(n=n[t])),n}function Ke(e,t){var n;return L.optimizely&&(n=L.optimizely.get(e),void 0!==t&&void 0!==n&&(n=n[t])),n}function Je(){!ye&&D.geolocation&&D.geolocation.getCurrentPosition&&(ye=!0,D.geolocation.getCurrentPosition(function(e){var t=e.coords,n={schema:"iglu:com.snowplowanalytics.snowplow/geolocation_context/jsonschema/1-1-0",data:{latitude:t.latitude,longitude:t.longitude,latitudeLongitudeAccuracy:t.accuracy,altitude:t.altitude,altitudeAccuracy:t.altitudeAccuracy,bearing:t.heading,speed:t.speed,timestamp:Math.round(e.timestamp)}};be.push(n)}))}function We(e,t){return(e||[]).concat(t?t():[])}function Qe(e,t,n,r){Ce(),Ae&&(ke&&null!=s.pageViewId||(s.pageViewId=dt.v4())),Ae=!0,q=E.title,l=e;var a=tt.fixupTitle(l||q);j.trackPageView(Te(m||F),a,Te(h||z),Re(We(t,n)),r);var o=new Date;if(H&&!ue){ue=!0;var i={update:function(){if("undefined"!=typeof window&&"function"==typeof window.addEventListener){var e=!1,t=Object.defineProperty({},"passive",{get:function(){e=!0}}),n=function(){};window.addEventListener("testPassiveEventSupport",n,t),window.removeEventListener("testPassiveEventSupport",n,t),i.hasSupport=e}}};i.update();var c="onwheel"in document.createElement("div")?"wheel":void 0!==document.onmousewheel?"mousewheel":"DOMMouseScroll";Object.prototype.hasOwnProperty.call(i,"hasSupport")?tt.addEventListener(E,c,Le,{passive:!0}):tt.addEventListener(E,c,Le),Ne(),tt.addEventListener(E,"click",Le),tt.addEventListener(E,"mouseup",Le),tt.addEventListener(E,"mousedown",Le),tt.addEventListener(E,"mousemove",Le),tt.addEventListener(L,"scroll",De),tt.addEventListener(E,"keypress",Le),tt.addEventListener(E,"keydown",Le),tt.addEventListener(E,"keyup",Le),tt.addEventListener(L,"resize",Le),tt.addEventListener(L,"focus",Le),tt.addEventListener(L,"blur",Le),p=o.getTime(),clearInterval(u),u=setInterval(function(){var e=new Date;p+d>e.getTime()&&f<e.getTime()&&function(e){Ce();var t=E.title;t!==q&&(q=t,l=null);j.trackPagePing(Te(m||F),tt.fixupTitle(l||q),Te(h||z),Fe(g),Fe(y),Fe(_),Fe(b),Re(e)),Ne()}(We(t,n))},d)}}function $e(e,t){return""!==e?e+t.charAt(0).toUpperCase()+t.slice(1):t}function Ye(t){var e,n,r,a=["","webkit","ms","moz"];if(!i)for(n=0;n<a.length;n++){if(E[$e(r=a[n],"hidden")]){"prerender"===E[$e(r,"visibilityState")]&&(e=!0);break}if(!1===E[$e(r,"hidden")])break}e?tt.addEventListener(E,r+"visibilitychange",function e(){E.removeEventListener(r+"visibilitychange",e,!1),t()}):t()}function Ze(){I=T?O:P}return Ee(),C="none"!=ae&&!!Ie("ses"),(S=Ge())[1]?w=S[1]:(w=dt.v4(),S[1]=w),k=S[6],C||(S[3]++,k=dt.v4(),S[6]=k,S[5]=S[4]),"none"!=ae&&(ze(),S[4]=Math.round((new Date).getTime()/1e3),S.shift(),Ue.apply(null,S)),r.crossDomainLinker&&je(r.crossDomainLinker),O.getDomainSessionIndex=function(){return de},O.getPageViewId=function(){return He()},O.newSession=function(){var e=Math.round((new Date).getTime()/1e3),t=(Ie("ses"),Ge()),n=t[0],r=t[1],a=t[2],o=t[3],i=t[4],c=t[5],s=t[6];"0"===n?(k=s,"none"!=ae&&(o++,c=i,k=dt.v4()),de=o,ze()):(k=dt.v4(),de++),"none"!=ae&&(Ue(r,a,de,e,c,k),ze()),le=(new Date).getTime()},O.getCookieName=function(e){return Pe(e)},O.getUserId=function(){return A},O.getDomainUserId=function(){return Ge()[1]},O.getDomainUserInfo=function(){return Ge()},O.getUserFingerprint=function(){return ce},O.setAppId=function(e){tt.warn('setAppId is deprecated. Instead add an "appId" field to the argmap argument of newTracker.'),j.setAppId(e)},O.setReferrerUrl=function(e){h=e},O.setCustomUrl=function(e){var t,n,r;Ce(),t=F,m=Oe(n=e)?n:"/"===n.slice(0,1)?Oe(t)+"://"+tt.getHostName(t)+n:(0<=(r=(t=Te(t)).indexOf("?"))&&(t=t.slice(0,r)),(r=t.lastIndexOf("/"))!==t.length-1&&(t=t.slice(0,r+1)),t+n)},O.setDocumentTitle=function(e){q=E.title,l=e},O.discardHashTag=function(e){o=e},O.setCookieNamePrefix=function(e){tt.warn('setCookieNamePrefix is deprecated. Instead add a "cookieName" field to the argmap argument of newTracker.'),V=e},O.setCookieDomain=function(e){tt.warn('setCookieDomain is deprecated. Instead add a "cookieDomain" field to the argmap argument of newTracker.'),K=tt.fixupDomain(e),Ee()},O.setCookiePath=function(e){J=e,Ee()},O.setVisitorCookieTimeout=function(e){$=e},O.setSessionCookieTimeout=function(e){tt.warn('setSessionCookieTimeout is deprecated. Instead add a "sessionCookieTimeout" field to the argmap argument of newTracker.'),Y=e},O.setUserFingerprintSeed=function(e){tt.warn('setUserFingerprintSeed is deprecated. Instead add a "userFingerprintSeed" field to the argmap argument of newTracker.'),Z=e,ce=at.detectSignature(Z)},O.enableUserFingerprint=function(e){tt.warn('enableUserFingerprintSeed is deprecated. Instead add a "userFingerprint" field to the argmap argument of newTracker.'),e||(ce="")},O.respectDoNotTrack=function(e){tt.warn('This usage of respectDoNotTrack is deprecated. Instead add a "respectDoNotTrack" field to the argmap argument of newTracker.');var t=D.doNotTrack||D.msDoNotTrack;Q=e&&("yes"===t||"1"===t)},O.crossDomainLinker=function(e){je(e)},O.enableLinkClickTracking=function(e,t,n,r){s.hasLoaded?(he.configureLinkClickTracking(e,t,n,r),he.addClickListeners()):s.registeredOnLoadHandlers.push(function(){he.configureLinkClickTracking(e,t,n,r),he.addClickListeners()})},O.refreshLinkClickTracking=function(){s.hasLoaded?he.addClickListeners():s.registeredOnLoadHandlers.push(function(){he.addClickListeners()})},O.enableActivityTracking=function(e,t){e===parseInt(e,10)&&t===parseInt(t,10)?(H=!0,f=(new Date).getTime()+1e3*e,d=1e3*t):tt.warn("Activity tracking not enabled, please provide integer values for minimumVisitLength and heartBeatDelay.")},O.updatePageActivity=function(){Le()},O.enableFormTracking=function(e,t){s.hasLoaded?(me.configureFormTracking(e),me.addFormListeners(t)):s.registeredOnLoadHandlers.push(function(){me.configureFormTracking(e),me.addFormListeners(t)})},O.killFrame=function(){L.location!==L.top.location&&(L.top.location=L.location)},O.redirectFile=function(e){"file:"===L.location.protocol&&(L.location=e)},O.setOptOutCookie=function(e){v=e},O.setCountPreRendered=function(e){i=e},O.setUserId=function(e){A=e},O.identifyUser=function(e){setUserId(e)},O.setUserIdFromLocation=function(e){Ce(),A=tt.fromQuerystring(e,F)},O.setUserIdFromReferrer=function(e){Ce(),A=tt.fromQuerystring(e,z)},O.setUserIdFromCookie=function(e){A=rt.cookie(e)},O.setCollectorCf=function(e){a=qe(e+".cloudfront.net")},O.setCollectorUrl=function(e){a=qe(e)},O.setPlatform=function(e){tt.warn('setPlatform is deprecated. Instead add a "platform" field to the argmap argument of newTracker.'),j.setPlatform(e)},O.encodeBase64=function(e){tt.warn('This usage of encodeBase64 is deprecated. Instead add an "encodeBase64" field to the argmap argument of newTracker.'),j.setBase64Encoding(e)},O.flushBuffer=function(){ge.executeQueue()},O.enableGeolocationContext=Je,O.trackPageView=function(e,t,n,r){Ye(function(){Qe(e,t,n,r)})},O.trackStructEvent=function(e,t,n,r,a,o,i){Ye(function(){j.trackStructEvent(e,t,n,r,a,Re(o),i)})},O.trackSelfDescribingEvent=function(e,t,n){Ye(function(){j.trackSelfDescribingEvent(e,Re(t),n)})},O.trackUnstructEvent=function(e,t,n){Ye(function(){j.trackSelfDescribingEvent(e,Re(t),n)})},O.addTrans=function(e,t,n,r,a,o,i,c,s,u,l){pe.transaction={orderId:e,affiliation:t,total:n,tax:r,shipping:a,city:o,state:i,country:c,currency:s,context:u,tstamp:l}},O.addItem=function(e,t,n,r,a,o,i,c,s){pe.items.push({orderId:e,sku:t,name:n,category:r,price:a,quantity:o,currency:i,context:c,tstamp:s})},O.trackTrans=function(){Ye(function(){var e,t,n,r,a,o,i,c,s,u,l,f,d,p,h,m,v,g,y,_;e=pe.transaction.orderId,t=pe.transaction.affiliation,n=pe.transaction.total,r=pe.transaction.tax,a=pe.transaction.shipping,o=pe.transaction.city,i=pe.transaction.state,c=pe.transaction.country,s=pe.transaction.currency,u=pe.transaction.context,l=pe.transaction.tstamp,j.trackEcommerceTransaction(e,t,n,r,a,o,i,c,s,Re(u),l);for(var b=0;b<pe.items.length;b++){var w=pe.items[b];f=w.orderId,d=w.sku,p=w.name,h=w.category,m=w.price,v=w.quantity,g=w.currency,y=w.context,_=w.tstamp,j.trackEcommerceTransactionItem(f,d,p,h,m,v,g,Re(y),_)}pe={transaction:{},items:[]}})},O.trackLinkClick=function(e,t,n,r,a,o,i){Ye(function(){j.trackLinkClick(e,t,n,r,a,Re(o),i)})},O.trackAdImpression=function(e,t,n,r,a,o,i,c,s,u){Ye(function(){j.trackAdImpression(e,t,n,r,a,o,i,c,Re(s),u)})},O.trackAdClick=function(e,t,n,r,a,o,i,c,s,u,l){Ye(function(){j.trackAdClick(e,t,n,r,a,o,i,c,s,Re(u),l)})},O.trackAdConversion=function(e,t,n,r,a,o,i,c,s,u,l){Ye(function(){j.trackAdConversion(e,t,n,r,a,o,i,c,s,Re(u),l)})},O.trackSocialInteraction=function(e,t,n,r,a){Ye(function(){j.trackSocialInteraction(e,t,n,Re(r),a)})},O.trackAddToCart=function(e,t,n,r,a,o,i,c){Ye(function(){j.trackAddToCart(e,t,n,r,a,o,Re(i),c)})},O.trackRemoveFromCart=function(e,t,n,r,a,o,i,c){Ye(function(){j.trackRemoveFromCart(e,t,n,r,a,o,Re(i),c)})},O.trackSiteSearch=function(e,t,n,r,a,o){Ye(function(){j.trackSiteSearch(e,t,n,r,Re(a),o)})},O.trackTiming=function(e,t,n,r,a,o){Ye(function(){j.trackSelfDescribingEvent({schema:"iglu:com.snowplowanalytics.snowplow/timing/jsonschema/1-0-0",data:{category:e,variable:t,timing:n,label:r}},Re(a),o)})},O.trackConsentWithdrawn=function(e,t,n,r,a,o,i){Ye(function(){j.trackConsentWithdrawn(e,t,n,r,a,Re(o),i)})},O.trackConsentGranted=function(e,t,n,r,a,o,i){Ye(function(){j.trackConsentGranted(e,t,n,r,a,Re(o),i)})},O.trackEnhancedEcommerceAction=function(e,t,n){var r=we.concat(t||[]);we.length=0,Ye(function(){j.trackSelfDescribingEvent({schema:"iglu:com.google.analytics.enhanced-ecommerce/action/jsonschema/1-0-0",data:{action:e}},Re(r),n)})},O.addEnhancedEcommerceActionContext=function(e,t,n,r,a,o,i,c,s,u){we.push({schema:"iglu:com.google.analytics.enhanced-ecommerce/actionFieldObject/jsonschema/1-0-0",data:{id:e,affiliation:t,revenue:tt.parseFloat(n),tax:tt.parseFloat(r),shipping:tt.parseFloat(a),coupon:o,list:i,step:tt.parseInt(c),option:s,currency:u}})},O.addEnhancedEcommerceImpressionContext=function(e,t,n,r,a,o,i,c,s){we.push({schema:"iglu:com.google.analytics.enhanced-ecommerce/impressionFieldObject/jsonschema/1-0-0",data:{id:e,name:t,list:n,brand:r,category:a,variant:o,position:tt.parseInt(i),price:tt.parseFloat(c),currency:s}})},O.addEnhancedEcommerceProductContext=function(e,t,n,r,a,o,i,c,s,u,l){we.push({schema:"iglu:com.google.analytics.enhanced-ecommerce/productFieldObject/jsonschema/1-0-0",data:{id:e,name:t,list:n,brand:r,category:a,variant:o,price:tt.parseFloat(i),quantity:tt.parseInt(c),coupon:s,position:tt.parseInt(u),currency:l}})},O.addEnhancedEcommercePromoContext=function(e,t,n,r,a){we.push({schema:"iglu:com.google.analytics.enhanced-ecommerce/promoFieldObject/jsonschema/1-0-0",data:{id:e,name:t,creative:n,position:r,currency:a}})},O.addGlobalContexts=function(e){j.addGlobalContexts(e)},O.removeGlobalContexts=function(e){j.removeGlobalContexts(e)},O.clearGlobalContexts=function(){j.clearGlobalContexts()},O.enableErrorTracking=function(e,t){ve.enableErrorTracking(e,t,Re())},O.trackError=function(e,t,n,r,a,o){var i=Re(o);ve.trackError(e,t,n,r,a,i)},O.preservePageViewId=function(){ke=!0},O.setDebug=function(e){T=Boolean(e).valueOf(),Ze()},P=ft(O),Ze(),I}}()},{"./errors":162,"./forms":163,"./guard":164,"./lib/detectors":167,"./lib/helpers":168,"./lib/proxies":169,"./links":170,"./out_queue":171,"browser-cookie-lite":1,"lodash/forEach":123,"lodash/map":143,sha1:154,"snowplow-tracker-core":155,uuid:161}]},{},[166]);
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment