You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

10 lines
294 KiB

7 years ago
!function(e){"function"==typeof e&&e.amd&&(e=undefined);!function(){function e(t,n,o){function i(a,s){if(!n[a]){if(!t[a]){var c="function"==typeof require&&require;if(!s&&c)return c(a,!0);if(r)return r(a,!0);var p=new Error("Cannot find module '"+a+"'");throw p.code="MODULE_NOT_FOUND",p}var u=n[a]={exports:{}};t[a][0].call(u.exports,function(e){return i(t[a][1][e]||e)},u,u.exports,e,t,n,o)}return n[a].exports}for(var r="function"==typeof require&&require,a=0;a<o.length;a++)i(o[a]);return i}return e}()({1:[function(e,t,n){"use strict";var o=e("@segment/analytics.js-core"),i=e("@ndhoule/each");t.exports=function(e){i(function(e){o.use(e)},e);return o}},{"@ndhoule/each":10,"@segment/analytics.js-core":27}],2:[function(e,t,n){(function(n){"use strict";var o=e("@segment/send-json");t.exports=function(){for(var e=!1,t=!1,i=/.*\/analytics\.js\/v1\/([^\/]*)(\/platform)?\/analytics.*/,r=n.document.getElementsByTagName("script"),a=0;a<r.length;a++){var s=r[a].src,c=i.exec(s);if(c){e=!0;var p=c[1];if("RduLzmQ1vSH5aeNrSDKWimFrivogTANI"===p){t=!0;break}}}if(e&&!t){var u={"Content-Type":"text/plain"},d={userId:"segment",event:"Invalid WriteKey Loaded",properties:{hostname:n.window.location.hostname,href:n.window.location.href,loadedKey:"RduLzmQ1vSH5aeNrSDKWimFrivogTANI",requestedKey:p,userAgent:n.navigator.userAgent,bailed:!0},writeKey:"fkTyC7tQ4NxYVrfdUOVENwWgoJe8hXKA"};o("https://api.segment.io/v1/t",d,u,function(){});return!0}return!1}}).call(this,"undefined"!=typeof window&&window.document&&window.document.implementation?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{})},{"@segment/send-json":811}],3:[function(e,t,n){(function(t){"use strict";if(!e("./bot")()){var n=e("./integrations"),o=e("./analytics")(n),i=e("extend"),r=t.analytics||[],a=r&&r.SNIPPET_VERSION?parseFloat(r.SNIPPET_VERSION,10):0;o._VERSIONS={"core":"3.6.0","cdn":"AJS-Renderer (master) (1.6.1) (Wed, 04 Jul 2018 14:37:13 GMT)","integrations":{"Segment.io":"3.6.3"}};var s,c={"Segment.io":{"apiKey":"RduLzmQ1vSH5aeNrSDKWimFrivogTANI","unbundledIntegrations":["Mixpanel"],"addBundledMetadata":true}};if(r._loadOptions&&r._loadOptions.integrations){var p=r._loadOptions.integrations;s={};var u;for(u in p)if(p.hasOwnProperty(u)){s[u]=Boolean(p[u]);"object"==typeof c[u]&&"object"==typeof p[u]&&i(!0,c[u],p[u])}}o.initialize(c,{initialPageview:0===a,plan:{"track":{}},integrations:s,metrics:{"sampleRate":0.1}});for(;r&&r.length>0;){var d=r.shift(),l=d.shift();"function"==typeof o[l]&&o[l].apply(o,d)}r=null;t.analytics=o}}).call(this,"undefined"!=typeof window&&window.document&&window.document.implementation?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{})},{"./analytics":1,"./bot":2,"./integrations":4,"extend":838}],4:[function(e,t,n){"use strict";t.exports={"adlearn-open-platform":e("@segment/analytics.js-integration-adlearn-open-platform"),"adobe-analytics":e("@segment/analytics.js-integration-adobe-analytics"),"adobe-target":e("@segment/analytics.js-integration-adobe-target"),"adometry":e("@segment/analytics.js-integration-adometry"),"adroll":e("@segment/analytics.js-integration-adroll"),"adwords":e("@segment/analytics.js-integration-adwords"),"alexa":e("@segment/analytics.js-integration-alexa"),"ambassador":e("@segment/analytics.js-integration-ambassador"),"amplitude":e("@segment/analytics.js-integration-amplitude"),"appboy":e("@segment/analytics.js-integration-appboy"),"appcues":e("@segment/analytics.js-integration-appcues"),"appnexus":e("@segment/analytics.js-integration-appnexus"),"aptrinsic":e("@segment/analytics.js-integration-aptrinsic"),"atatus":e("@segment/analytics.js-integration-atatus"),"autosend":e("@segment/analytics.js-integration-autosend"),"awesm":e("@segment/analytics.js-integration-awesm"),"bing-ads":e("@segment/analytics.js-integration-bing-ads"),"blueshift":e("@segment/analytics.js-integration-blueshift"),"boomtrain":e("@segment/analytics.js-integration-boomtrain"),"bronto":e("@segment/analytics.js-integration-bronto"),"bugherd":e("@segment/analytics.js-integration-bugherd"),"bugsnag":e("@segment/analyti
k.fn(e)&&(this._timeout?setTimeout(e,this._timeout):A(e));return this};o.prototype._invoke=function(e,t){var n=this;h.increment("analytics_js.invoke",{method:e});this.emit("invoke",t);var o=n.failedInitializations||[];w(function(i,r){if(t.enabled(r))if(o.indexOf(r)>=0)n.log("Skipping invokation of .%s method of %s integration. Integation failed to initialize properly.",e,r);else try{h.increment("analytics_js.integration.invoke",{method:e,integration_name:i.name});i.invoke.call(i,e,t)}catch(a){h.increment("analytics_js.integration.invoke.error",{method:e,integration_name:i.name});n.log("Error invoking .%s method of %s integration: %o",e,r,a)}},this._integrations);return this};o.prototype.push=function(e){var t=e.shift();this[t]&&this[t].apply(this,e)};o.prototype.reset=function(){this.user().logout();this.group().logout()};o.prototype._parseQuery=function(e){function t(e,t){var n,o=e.length;return b(function(t,i,r){if(r.substr(0,o)===e){n=r.substr(o);t[n]=i}return t},{},t)}var n=q.parse(e),o=t("ajs_trait_",n),i=t("ajs_prop_",n);n.ajs_uid&&this.identify(n.ajs_uid,o);n.ajs_event&&this.track(n.ajs_event,i);n.ajs_aid&&N.anonymousId(n.ajs_aid);return this};o.prototype.normalize=function(e){e=C(e,j(this._integrations));e.anonymousId&&N.anonymousId(e.anonymousId);e.anonymousId=N.anonymousId();e.context.page=v(e.context.page||{},E());return e};o.prototype._mergeInitializeAndPlanIntegrations=function(e){if(!this.options.integrations)return e;var t,n=m({},this.options.integrations);!1===e.All&&(n={All:!1});for(t in e)e.hasOwnProperty(t)&&!1!==this.options.integrations[t]&&(n[t]=e[t]);return n};o.prototype.noConflict=function(){window.analytics=i;return this};t.exports=o;t.exports.cookie=g;t.exports.memory=I;t.exports.store=M;t.exports.metrics=h}).call(this,"undefined"!=typeof window&&window.document&&window.document.implementation?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{})},{"./cookie":24,"./group":26,"./memory":28,"./metrics":29,"./normalize":30,"./pageDefaults":31,"./store":32,"./user":33,"@ndhoule/after":5,"@ndhoule/clone":7,"@ndhoule/defaults":8,"@ndhoule/each":10,"@ndhoule/foldl":14,"@ndhoule/keys":16,"@ndhoule/pick":18,"@segment/is-meta":796,"@segment/prevent-default":809,"bind-all":818,"component-emitter":825,"component-event":826,"component-querystring":829,"component-type":831,"debug":835,"extend":838,"is":846,"next-tick":862,"segmentio-facade":878}],24:[function(e,t,n){"use strict";function o(e){this.options(e)}var i=e("bind-all"),r=e("@ndhoule/clone"),a=e("component-cookie"),s=e("debug")("analytics.js:cookie"),c=e("@ndhoule/defaults"),p=e("json3"),u=e("@segment/top-domain");o.prototype.options=function(e){if(0===arguments.length)return this._options;e=e||{};var t="."+u(window.location.href);"."===t&&(t=null);this._options=c(e,{maxage:31536e6,path:"/",domain:t});this.set("ajs:test",!0);if(!this.get("ajs:test")){s("fallback to domain=null");this._options.domain=null}this.remove("ajs:test")};o.prototype.set=function(e,t){try{t=p.stringify(t);a(e,t,r(this._options));return!0}catch(n){return!1}};o.prototype.get=function(e){try{var t=a(e);t=t?p.parse(t):null;return t}catch(n){return null}};o.prototype.remove=function(e){try{a(e,null,r(this._options));return!0}catch(t){return!1}};t.exports=i(new o);t.exports.Cookie=o},{"@ndhoule/clone":7,"@ndhoule/defaults":8,"@segment/top-domain":814,"bind-all":818,"component-cookie":822,"debug":835,"json3":851}],25:[function(e,t,n){"use strict";function o(e){this.options(e);this.initialize()}var i=e("@ndhoule/clone"),r=e("./cookie"),a=e("debug")("analytics:entity"),s=e("@ndhoule/defaults"),c=e("@ndhoule/extend"),p=e("./memory"),u=e("./store"),d=e("@segment/isodate-traverse");t.exports=o;o.prototype.initialize=function(){r.set("ajs:cookies",!0);if(r.get("ajs:cookies")){r.remove("ajs:cookies");this._storage=r}else if(u.enabled)this._storage=u;else{a("warning using memory store both cookies and localStorage are disabled");this._storage=p}};o.prototype.storage=function(){return this._storage};o.prototype.options=function(e){if(0===arguments.length)return this._opt
function c(e){return e instanceof Error?e.stack||e.message:e}n=t.exports=i.debug=i["default"]=i;n.coerce=c;n.disable=a;n.enable=r;n.enabled=s;n.humanize=e("ms");n.names=[];n.skips=[];n.formatters={};var p},{"ms":857}],42:[function(e,t,n){;var z=e("@segment/analytics.js-integration");t.exports=function(){};t.exports.Integration=z("empty");},{"@ndhoule/each":10,"@segment/analytics.js-integration":787,"@segment/to-iso-string":813,"@segment/trample":815,"obj-case":863,"segmentio-facade":878}],43:[function(e,t,n){;var i=e("@segment/analytics.js-integration");t.exports=function(){};t.exports.Integration=i("empty");},{"@segment/analytics.js-integration":44}],44:[function(e,t,n){arguments[4][36][0].apply(n,arguments)},{"./protos":45,"./statics":46,"@ndhoule/clone":7,"@ndhoule/defaults":8,"@ndhoule/extend":13,"component-bind":820,"debug":48,"dup":36,"slug-component":884}],45:[function(e,t,n){arguments[4][37][0].apply(n,arguments)},{"@ndhoule/after":5,"@ndhoule/each":10,"@ndhoule/every":12,"@ndhoule/foldl":14,"@segment/fmt":795,"@segment/load-script":799,"analytics-events":47,"component-emitter":825,"dup":37,"is":846,"load-iframe":855,"next-tick":862,"to-no-case":890}],46:[function(e,t,n){arguments[4][38][0].apply(n,arguments)},{"@ndhoule/each":10,"@ndhoule/includes":15,"component-emitter":825,"domify":837,"dup":38}],47:[function(e,t,n){arguments[4][39][0].apply(n,arguments)},{"dup":39}],48:[function(e,t,n){arguments[4][40][0].apply(n,arguments)},{"./debug":49,"_process":869,"dup":40}],49:[function(e,t,n){arguments[4][41][0].apply(n,arguments)},{"dup":41,"ms":857}],50:[function(e,t,n){;var a=e("@segment/analytics.js-integration");t.exports=function(){};t.exports.Integration=a("empty");},{"@ndhoule/each":10,"@ndhoule/entries":11,"@ndhoule/extend":13,"@ndhoule/map":17,"@ndhoule/pick":18,"@ndhoule/values":20,"@segment/analytics.js-integration":51}],51:[function(e,t,n){arguments[4][36][0].apply(n,arguments)},{"./protos":52,"./statics":53,"@ndhoule/clone":7,"@ndhoule/defaults":8,"@ndhoule/extend":13,"component-bind":820,"debug":55,"dup":36,"slug-component":884}],52:[function(e,t,n){arguments[4][37][0].apply(n,arguments)},{"@ndhoule/after":5,"@ndhoule/each":10,"@ndhoule/every":12,"@ndhoule/foldl":14,"@segment/fmt":795,"@segment/load-script":799,"analytics-events":54,"component-emitter":825,"dup":37,"is":846,"load-iframe":855,"next-tick":862,"to-no-case":890}],53:[function(e,t,n){arguments[4][38][0].apply(n,arguments)},{"@ndhoule/each":10,"@ndhoule/includes":15,"component-emitter":825,"domify":837,"dup":38}],54:[function(e,t,n){arguments[4][39][0].apply(n,arguments)},{"dup":39}],55:[function(e,t,n){arguments[4][40][0].apply(n,arguments)},{"./debug":56,"_process":869,"dup":40}],56:[function(e,t,n){arguments[4][41][0].apply(n,arguments)},{"dup":41,"ms":857}],57:[function(e,t,n){;var s=e("@segment/analytics.js-integration");t.exports=function(){};t.exports.Integration=s("empty");},{"@ndhoule/each":10,"@ndhoule/foldl":14,"@ndhoule/map":17,"@segment/analytics.js-integration":787,"to-snake-case":891,"use-https":899}],58:[function(e,t,n){;var o=e("@segment/analytics.js-integration");t.exports=function(){};t.exports.Integration=o("empty");},{"@segment/analytics.js-integration":59,"do-when":836}],59:[function(e,t,n){arguments[4][36][0].apply(n,arguments)},{"./protos":60,"./statics":61,"@ndhoule/clone":7,"@ndhoule/defaults":8,"@ndhoule/extend":13,"component-bind":820,"debug":63,"dup":36,"slug-component":884}],60:[function(e,t,n){arguments[4][37][0].apply(n,arguments)},{"@ndhoule/after":5,"@ndhoule/each":10,"@ndhoule/every":12,"@ndhoule/foldl":14,"@segment/fmt":795,"@segment/load-script":799,"analytics-events":62,"component-emitter":825,"dup":37,"is":846,"load-iframe":855,"next-tick":862,"to-no-case":890}],61:[function(e,t,n){arguments[4][38][0].apply(n,arguments)},{"@ndhoule/each":10,"@ndhoule/includes":15,"component-emitter":825,"domify":837,"dup":38}],62:[function(e,t,n){arguments[4][39][0].apply(n,arguments)},{"dup":39}],63:[function(e,t,n){arguments[4][40][0].apply(n,arguments)},{"./debug":64,"_process":869,"dup":40}],64:[function(e,t,n){argu
"./debug":375,"_process":869,"dup":40}],375:[function(e,t,n){arguments[4][41][0].apply(n,arguments)},{"dup":41,"ms":857}],376:[function(e,t,n){;var i=e("@segment/analytics.js-integration");t.exports=function(){};t.exports.Integration=i("empty");},{"@segment/analytics.js-integration":787,"segmentio-facade":878,"use-https":899}],377:[function(e,t,n){;var i=e("@segment/analytics.js-integration");t.exports=function(){};t.exports.Integration=i("empty");},{"@segment/alias":22,"@segment/analytics.js-integration":378}],378:[function(e,t,n){arguments[4][36][0].apply(n,arguments)},{"./protos":379,"./statics":380,"@ndhoule/clone":7,"@ndhoule/defaults":8,"@ndhoule/extend":13,"component-bind":820,"debug":382,"dup":36,"slug-component":884}],379:[function(e,t,n){arguments[4][37][0].apply(n,arguments)},{"@ndhoule/after":5,"@ndhoule/each":10,"@ndhoule/every":12,"@ndhoule/foldl":14,"@segment/fmt":795,"@segment/load-script":799,"analytics-events":381,"component-emitter":825,"dup":37,"is":846,"load-iframe":855,"next-tick":862,"to-no-case":890}],380:[function(e,t,n){arguments[4][38][0].apply(n,arguments)},{"@ndhoule/each":10,"@ndhoule/includes":15,"component-emitter":825,"domify":837,"dup":38}],381:[function(e,t,n){arguments[4][39][0].apply(n,arguments)},{"dup":39}],382:[function(e,t,n){arguments[4][40][0].apply(n,arguments)},{"./debug":383,"_process":869,"dup":40}],383:[function(e,t,n){arguments[4][41][0].apply(n,arguments)},{"dup":41,"ms":857}],384:[function(e,t,n){;var o=e("@segment/analytics.js-integration");t.exports=function(){};t.exports.Integration=o("empty");},{"@segment/analytics.js-integration":385}],385:[function(e,t,n){arguments[4][36][0].apply(n,arguments)},{"./protos":386,"./statics":387,"@ndhoule/clone":7,"@ndhoule/defaults":8,"@ndhoule/extend":13,"component-bind":820,"debug":389,"dup":36,"slug-component":884}],386:[function(e,t,n){arguments[4][37][0].apply(n,arguments)},{"@ndhoule/after":5,"@ndhoule/each":10,"@ndhoule/every":12,"@ndhoule/foldl":14,"@segment/fmt":795,"@segment/load-script":799,"analytics-events":388,"component-emitter":825,"dup":37,"is":846,"load-iframe":855,"next-tick":862,"to-no-case":890}],387:[function(e,t,n){arguments[4][38][0].apply(n,arguments)},{"@ndhoule/each":10,"@ndhoule/includes":15,"component-emitter":825,"domify":837,"dup":38}],388:[function(e,t,n){arguments[4][39][0].apply(n,arguments)},{"dup":39}],389:[function(e,t,n){arguments[4][40][0].apply(n,arguments)},{"./debug":390,"_process":869,"dup":40}],390:[function(e,t,n){arguments[4][41][0].apply(n,arguments)},{"dup":41,"ms":857}],391:[function(e,t,n){;var i=e("@segment/analytics.js-integration");t.exports=function(){};t.exports.Integration=i("empty");},{"@ndhoule/each":10,"@segment/analytics.js-integration":392,"@segment/fmt":795,"component-url":832,"do-when":836,"is":846,"jsonp":852}],392:[function(e,t,n){arguments[4][36][0].apply(n,arguments)},{"./protos":393,"./statics":394,"@ndhoule/clone":7,"@ndhoule/defaults":8,"@ndhoule/extend":13,"component-bind":820,"debug":396,"dup":36,"slug-component":884}],393:[function(e,t,n){arguments[4][37][0].apply(n,arguments)},{"@ndhoule/after":5,"@ndhoule/each":10,"@ndhoule/every":12,"@ndhoule/foldl":14,"@segment/fmt":795,"@segment/load-script":799,"analytics-events":395,"component-emitter":825,"dup":37,"is":846,"load-iframe":855,"next-tick":862,"to-no-case":890}],394:[function(e,t,n){arguments[4][38][0].apply(n,arguments)},{"@ndhoule/each":10,"@ndhoule/includes":15,"component-emitter":825,"domify":837,"dup":38}],395:[function(e,t,n){arguments[4][39][0].apply(n,arguments)},{"dup":39}],396:[function(e,t,n){arguments[4][40][0].apply(n,arguments)},{"./debug":397,"_process":869,"dup":40}],397:[function(e,t,n){arguments[4][41][0].apply(n,arguments)},{"dup":41,"ms":857}],398:[function(e,t,n){;var i=e("@segment/analytics.js-integration");t.exports=function(){};t.exports.Integration=i("empty");},{"@segment/analytics.js-integration":399,"@segment/fmt":795,"component-url":832,"do-when":836,"is":846,"jsonp":852}],399:[function(e,t,n){arguments[4][36][0].apply(n,arguments)},{"./protos":400,"./statics":401,"@ndhoule/clone
"@segment/analytics.js-integration":787,"component-each":823,"global-queue":839}],429:[function(e,t,n){;var i=e("@segment/analytics.js-integration");t.exports=function(){};t.exports.Integration=i("empty");},{"@segment/analytics.js-integration":430,"component-each":823,"is":846,"use-https":899}],430:[function(e,t,n){arguments[4][36][0].apply(n,arguments)},{"./protos":431,"./statics":432,"@ndhoule/clone":7,"@ndhoule/defaults":8,"@ndhoule/extend":13,"component-bind":820,"debug":434,"dup":36,"slug-component":884}],431:[function(e,t,n){arguments[4][37][0].apply(n,arguments)},{"@ndhoule/after":5,"@ndhoule/each":10,"@ndhoule/every":12,"@ndhoule/foldl":14,"@segment/fmt":795,"@segment/load-script":799,"analytics-events":433,"component-emitter":825,"dup":37,"is":846,"load-iframe":855,"next-tick":862,"to-no-case":890}],432:[function(e,t,n){arguments[4][38][0].apply(n,arguments)},{"@ndhoule/each":10,"@ndhoule/includes":15,"component-emitter":825,"domify":837,"dup":38}],433:[function(e,t,n){arguments[4][39][0].apply(n,arguments)},{"dup":39}],434:[function(e,t,n){arguments[4][40][0].apply(n,arguments)},{"./debug":435,"_process":869,"dup":40}],435:[function(e,t,n){arguments[4][41][0].apply(n,arguments)},{"dup":41,"ms":857}],436:[function(e,t,n){;var c=e("@segment/analytics.js-integration");t.exports=function(){};t.exports.Integration=c("empty");},{"@segment/analytics.js-integration":437,"component-querystring":829,"js-sha256":850,"segmentio-facade":878,"to-no-case":444}],437:[function(e,t,n){arguments[4][36][0].apply(n,arguments)},{"./protos":438,"./statics":439,"@ndhoule/clone":7,"@ndhoule/defaults":8,"@ndhoule/extend":13,"component-bind":820,"debug":442,"dup":36,"slug-component":884}],438:[function(e,t,n){arguments[4][37][0].apply(n,arguments)},{"@ndhoule/after":5,"@ndhoule/each":10,"@ndhoule/every":12,"@ndhoule/foldl":14,"@segment/fmt":795,"@segment/load-script":799,"analytics-events":441,"component-emitter":825,"dup":37,"is":846,"load-iframe":855,"next-tick":862,"to-no-case":440}],439:[function(e,t,n){arguments[4][38][0].apply(n,arguments)},{"@ndhoule/each":10,"@ndhoule/includes":15,"component-emitter":825,"domify":837,"dup":38}],440:[function(e,t,n){function o(e){return a.test(e)?e.toLowerCase():s.test(e)?(i(e)||e).toLowerCase():r(e).toLowerCase()}function i(e){return e.replace(c,function(e,t){return t?" "+t:""})}function r(e){return e.replace(p,function(e,t,n){return t+" "+n.toLowerCase().split("").join(" ")})}t.exports=o;var a=/\s/,s=/[\W_]/,c=/[\W_]+(.|$)/g,p=/(.)([A-Z]+)/g},{}],441:[function(e,t,n){arguments[4][39][0].apply(n,arguments)},{"dup":39}],442:[function(e,t,n){arguments[4][40][0].apply(n,arguments)},{"./debug":443,"_process":869,"dup":40}],443:[function(e,t,n){arguments[4][41][0].apply(n,arguments)},{"dup":41,"ms":857}],444:[function(e,t,n){arguments[4][266][0].apply(n,arguments)},{"dup":266}],445:[function(e,t,n){;var o=e("@segment/analytics.js-integration");t.exports=function(){};t.exports.Integration=o("empty");},{"@segment/analytics.js-integration":446,"global-queue":839}],446:[function(e,t,n){arguments[4][36][0].apply(n,arguments)},{"./protos":447,"./statics":448,"@ndhoule/clone":7,"@ndhoule/defaults":8,"@ndhoule/extend":13,"component-bind":820,"debug":450,"dup":36,"slug-component":884}],447:[function(e,t,n){arguments[4][37][0].apply(n,arguments)},{"@ndhoule/after":5,"@ndhoule/each":10,"@ndhoule/every":12,"@ndhoule/foldl":14,"@segment/fmt":795,"@segment/load-script":799,"analytics-events":449,"component-emitter":825,"dup":37,"is":846,"load-iframe":855,"next-tick":862,"to-no-case":890}],448:[function(e,t,n){arguments[4][38][0].apply(n,arguments)},{"@ndhoule/each":10,"@ndhoule/includes":15,"component-emitter":825,"domify":837,"dup":38}],449:[function(e,t,n){arguments[4][39][0].apply(n,arguments)},{"dup":39}],450:[function(e,t,n){arguments[4][40][0].apply(n,arguments)},{"./debug":451,"_process":869,"dup":40}],451:[function(e,t,n){arguments[4][41][0].apply(n,arguments)},{"dup":41,"ms":857}],452:[function(e,t,n){;var o=e("@segment/analytics.js-integration");t.exports=function(){};t.exports.Integration=o("empty");},{
7 years ago
"@segment/fmt":795,"@segment/load-script":799,"analytics-events":545,"component-emitter":825,"dup":37,"is":846,"load-iframe":855,"next-tick":862,"to-no-case":890}],544:[function(e,t,n){arguments[4][38][0].apply(n,arguments)},{"@ndhoule/each":10,"@ndhoule/includes":15,"component-emitter":825,"domify":837,"dup":38}],545:[function(e,t,n){arguments[4][39][0].apply(n,arguments)},{"dup":39}],546:[function(e,t,n){arguments[4][40][0].apply(n,arguments)},{"./debug":547,"_process":869,"dup":40}],547:[function(e,t,n){arguments[4][41][0].apply(n,arguments)},{"dup":41,"ms":857}],548:[function(e,t,n){;var o=e("@segment/analytics.js-integration");t.exports=function(){};t.exports.Integration=o("empty");},{"@segment/analytics.js-integration":549}],549:[function(e,t,n){arguments[4][36][0].apply(n,arguments)},{"./protos":550,"./statics":551,"@ndhoule/clone":7,"@ndhoule/defaults":8,"@ndhoule/extend":13,"component-bind":820,"debug":553,"dup":36,"slug-component":884}],550:[function(e,t,n){arguments[4][37][0].apply(n,arguments)},{"@ndhoule/after":5,"@ndhoule/each":10,"@ndhoule/every":12,"@ndhoule/foldl":14,"@segment/fmt":795,"@segment/load-script":799,"analytics-events":552,"component-emitter":825,"dup":37,"is":846,"load-iframe":855,"next-tick":862,"to-no-case":890}],551:[function(e,t,n){arguments[4][38][0].apply(n,arguments)},{"@ndhoule/each":10,"@ndhoule/includes":15,"component-emitter":825,"domify":837,"dup":38}],552:[function(e,t,n){arguments[4][39][0].apply(n,arguments)},{"dup":39}],553:[function(e,t,n){arguments[4][40][0].apply(n,arguments)},{"./debug":554,"_process":869,"dup":40}],554:[function(e,t,n){arguments[4][41][0].apply(n,arguments)},{"dup":41,"ms":857}],555:[function(e,t,n){;var o=e("@segment/analytics.js-integration");t.exports=function(){};t.exports.Integration=o("empty");},{"@segment/alias":22,"@segment/analytics.js-integration":556,"@segment/convert-dates":794,"obj-case":863}],556:[function(e,t,n){arguments[4][36][0].apply(n,arguments)},{"./protos":557,"./statics":558,"@ndhoule/clone":7,"@ndhoule/defaults":8,"@ndhoule/extend":13,"component-bind":820,"debug":560,"dup":36,"slug-component":884}],557:[function(e,t,n){arguments[4][37][0].apply(n,arguments)},{"@ndhoule/after":5,"@ndhoule/each":10,"@ndhoule/every":12,"@ndhoule/foldl":14,"@segment/fmt":795,"@segment/load-script":799,"analytics-events":559,"component-emitter":825,"dup":37,"is":846,"load-iframe":855,"next-tick":862,"to-no-case":890}],558:[function(e,t,n){arguments[4][38][0].apply(n,arguments)},{"@ndhoule/each":10,"@ndhoule/includes":15,"component-emitter":825,"domify":837,"dup":38}],559:[function(e,t,n){arguments[4][39][0].apply(n,arguments)},{"dup":39}],560:[function(e,t,n){arguments[4][40][0].apply(n,arguments)},{"./debug":561,"_process":869,"dup":40}],561:[function(e,t,n){arguments[4][41][0].apply(n,arguments)},{"dup":41,"ms":857}],562:[function(e,t,n){;var a=e("@segment/analytics.js-integration");t.exports=function(){};t.exports.Integration=a("empty");},{"@segment/analytics.js-integration":563,"component-each":823,"segmentio-facade":878}],563:[function(e,t,n){arguments[4][36][0].apply(n,arguments)},{"./protos":564,"./statics":565,"@ndhoule/clone":7,"@ndhoule/defaults":8,"@ndhoule/extend":13,"component-bind":820,"debug":567,"dup":36,"slug-component":884}],564:[function(e,t,n){arguments[4][37][0].apply(n,arguments)},{"@ndhoule/after":5,"@ndhoule/each":10,"@ndhoule/every":12,"@ndhoule/foldl":14,"@segment/fmt":795,"@segment/load-script":799,"analytics-events":566,"component-emitter":825,"dup":37,"is":846,"load-iframe":855,"next-tick":862,"to-no-case":890}],565:[function(e,t,n){arguments[4][38][0].apply(n,arguments)},{"@ndhoule/each":10,"@ndhoule/includes":15,"component-emitter":825,"domify":837,"dup":38}],566:[function(e,t,n){arguments[4][39][0].apply(n,arguments)},{"dup":39}],567:[function(e,t,n){arguments[4][40][0].apply(n,arguments)},{"./debug":568,"_process":869,"dup":40}],568:[function(e,t,n){arguments[4][41][0].apply(n,arguments)},{"dup":41,"ms":857}],569:[function(e,t,n){;var i=e("@segment/analytics.js-integration");t.exports=function(){};t.exports.Integration
},{}],799:[function(e,t,n){"use strict";function o(e,t){if(!e)throw new Error("Can't load nothing...");"string"===a(e)&&(e={src:e});var n="https:"===document.location.protocol||"chrome-extension:"===document.location.protocol;e.src&&0===e.src.indexOf("//")&&(e.src=(n?"https:":"http:")+e.src);n&&e.https?e.src=e.https:!n&&e.http&&(e.src=e.http);var o=document.createElement("script");o.type="text/javascript";o.async=!0;o.src=e.src;"function"===a(t)&&i(o,t);r(function(){var e=document.getElementsByTagName("script")[0];e.parentNode.insertBefore(o,e)});return o}var i=e("script-onload"),r=e("next-tick"),a=e("component-type");t.exports=o},{"component-type":831,"next-tick":862,"script-onload":871}],800:[function(e,t,n){"use strict";function o(){try{if(!window.localStorage)return!1;var e=r();window.localStorage.setItem(e,"test_value");var t=window.localStorage.getItem(e);window.localStorage.removeItem(e);return"test_value"===t}catch(n){return!1}}var i=e("@ndhoule/keys"),r=e("uuid").v4,a={_data:{},length:0,setItem:function(e,t){this._data[e]=t;this.length=i(this._data).length;return t},getItem:function(e){return e in this._data?this._data[e]:null},removeItem:function(e){e in this._data&&delete this._data[e];this.length=i(this._data).length;return null},clear:function(){this._data={};this.length=0},key:function(e){return i(this._data)[e]}};t.exports.defaultEngine=function(){return o()?window.localStorage:a}();t.exports.inMemoryEngine=a},{"@ndhoule/keys":16,"uuid":804}],801:[function(e,t,n){"use strict";function o(e,t){return function(){return e.apply(t,arguments)}}function i(e,t,n){"function"==typeof t&&(n=t);this.name=e;this.id=r();this.fn=n;this.maxItems=t.maxItems||Infinity;this.maxAttempts=t.maxAttempts||Infinity;this.backoff={MIN_RETRY_DELAY:t.minRetryDelay||1e3,MAX_RETRY_DELAY:t.maxRetryDelay||3e4,FACTOR:t.backoffFactor||2,JITTER:t.backoffJitter||0};this.timeouts={ACK_TIMER:1e3,RECLAIM_TIMER:3e3,RECLAIM_TIMEOUT:1e4,RECLAIM_WAIT:500};this.keys={IN_PROGRESS:"inProgress",QUEUE:"queue",ACK:"ack",RECLAIM_START:"reclaimStart",RECLAIM_END:"reclaimEnd"};this._schedule=new c;this._processId=0;this._store=new a(this.name,this.id,this.keys);this._store.set(this.keys.IN_PROGRESS,{});this._store.set(this.keys.QUEUE,[]);this._ack=o(this._ack,this);this._checkReclaim=o(this._checkReclaim,this);this._processHead=o(this._processHead,this);this._running=!1}var r=e("uuid").v4,a=e("./store"),s=e("@ndhoule/each"),c=e("./schedule"),p=e("debug")("localstorage-retry");e("component-emitter")(i.prototype);i.prototype.start=function(){this._running&&this.stop();this._running=!0;this._ack();this._checkReclaim();this._processHead()};i.prototype.stop=function(){this._schedule.cancelAll();this._running=!1};i.prototype.shouldRetry=function(e,t){return!(t>this.maxAttempts)};i.prototype.getDelay=function(e){var t=this.backoff.MIN_RETRY_DELAY*Math.pow(this.backoff.FACTOR,e);if(this.backoff.JITTER){var n=Math.random(),o=Math.floor(n*this.backoff.JITTER*t);Math.floor(10*n)<5?t-=o:t+=o}return Number(Math.min(t,this.backoff.MAX_RETRY_DELAY).toPrecision(1))};i.prototype.addItem=function(e){this._enqueue({item:e,attemptNumber:0,time:this._schedule.now()})};i.prototype.requeue=function(e,t,n){this.shouldRetry(e,t,n)?this._enqueue({item:e,attemptNumber:t,time:this._schedule.now()+this.getDelay(t)}):this.emit("discard",e,t)};i.prototype._enqueue=function(e){var t=this._store.get(this.keys.QUEUE)||[];t=t.slice(-(this.maxItems-1));t.push(e);t=t.sort(function(e,t){return e.time-t.time});this._store.set(this.keys.QUEUE,t);this._running&&this._processHead()};i.prototype._processHead=function(){var e=this,t=this._store;this._schedule.cancel(this._processId);for(var n=t.get(this.keys.QUEUE)||[],o=t.get(this.keys.IN_PROGRESS)||{},i=this._schedule.now(),a=[];n.length&&n[0].time<=i;){var c=n.shift(),u=r();o[u]={item:c.item,attemptNumber:c.attemptNumber,time:this._schedule.now()};a.push({item:c.item,done:function(n,o){var i=t.get(e.keys.IN_PROGRESS)||{};delete i[u];t.set(e.keys.IN_PROGRESS,i);e.emit("processed",n,o,c.item);n&&e.requeue(c.item,c.attemptNumber+1,n)}})}t.set(this.ke
"longDate":"mmmm d, yyyy","fullDate":"dddd, mmmm d, yyyy","shortTime":"h:MM TT","mediumTime":"h:MM:ss TT","longTime":"h:MM:ss TT Z","isoDate":"yyyy-mm-dd","isoTime":"HH:MM:ss","isoDateTime":"yyyy-mm-dd'T'HH:MM:sso","isoUtcDateTime":"UTC:yyyy-mm-dd'T'HH:MM:ss'Z'","expiresHeaderFormat":"ddd, dd mmm yyyy HH:MM:ss Z"};c.i18n={dayNames:["Sun","Mon","Tue","Wed","Thu","Fri","Sat","Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],monthNames:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec","January","February","March","April","May","June","July","August","September","October","November","December"]};"function"==typeof e&&e.amd?e(function(){return c}):"object"==typeof o?n.exports=c:t.dateFormat=c}(this)},{}],835:[function(e,t,n){function o(e){return o.enabled(e)?function(t){t=i(t);var n=new Date,r=n-(o[e]||n);o[e]=n;t=e+" "+t+" +"+o.humanize(r);window.console&&console.log&&Function.prototype.apply.call(console.log,console,arguments)}:function(){}}function i(e){return e instanceof Error?e.stack||e.message:e}t.exports=o;o.names=[];o.skips=[];o.enable=function(e){try{localStorage.debug=e}catch(r){}for(var t=(e||"").split(/[\s,]+/),n=t.length,i=0;i<n;i++){e=t[i].replace("*",".*?");"-"===e[0]?o.skips.push(new RegExp("^"+e.substr(1)+"$")):o.names.push(new RegExp("^"+e+"$"))}};o.disable=function(){o.enable("")};o.humanize=function(e){return e>=36e5?(e/36e5).toFixed(1)+"h":e>=6e4?(e/6e4).toFixed(1)+"m":e>=1e3?(e/1e3|0)+"s":e+"ms"};o.enabled=function(e){for(var t=0,n=o.skips.length;t<n;t++)if(o.skips[t].test(e))return!1;for(var t=0,n=o.names.length;t<n;t++)if(o.names[t].test(e))return!0;return!1};try{window.localStorage&&o.enable(localStorage.debug)}catch(r){}},{}],836:[function(e,t,n){function o(e,t,n){if("function"!=typeof e)throw new Error("condition must be a function");if("function"!=typeof t)throw new Error("fn must be a function");if(e())return i(t);var o=setInterval(function(){if(e()){i(t);clearInterval(o)}},n||10)}var i=e("next-tick");t.exports=o},{"next-tick":862}],837:[function(e,t,n){function o(e,t){if("string"!=typeof e)throw new TypeError("String expected");t||(t=document);var n=/<([\w:]+)/.exec(e);if(!n)return t.createTextNode(e);e=e.replace(/^\s+|\s+$/g,"");var o=n[1];if("body"==o){var i=t.createElement("html");i.innerHTML=e;return i.removeChild(i.lastChild)}var r=a[o]||a._default,s=r[0],c=r[1],p=r[2],i=t.createElement("div");i.innerHTML=c+e+p;for(;s--;)i=i.lastChild;if(i.firstChild==i.lastChild)return i.removeChild(i.firstChild);for(var u=t.createDocumentFragment();i.firstChild;)u.appendChild(i.removeChild(i.firstChild));return u}t.exports=o;var i,r=!1;if("undefined"!=typeof document){i=document.createElement("div");i.innerHTML=' <link/><table></table><a href="/a">a</a><input type="checkbox"/>';r=!i.getElementsByTagName("link").length;i=undefined}var a={legend:[1,"<fieldset>","</fieldset>"],tr:[2,"<table><tbody>","</tbody></table>"],col:[2,"<table><tbody></tbody><colgroup>","</colgroup></table>"],_default:r?[1,"X<div>","</div>"]:[0,"",""]};a.td=a.th=[3,"<table><tbody><tr>","</tr></tbody></table>"];a.option=a.optgroup=[1,'<select multiple="multiple">',"</select>"];a.thead=a.tbody=a.colgroup=a.caption=a.tfoot=[1,"<table>","</table>"];a.polyline=a.ellipse=a.polygon=a.circle=a.text=a.line=a.path=a.rect=a.g=[1,'<svg xmlns="http://www.w3.org/2000/svg" version="1.1">',"</svg>"]},{}],838:[function(e,t,n){"use strict";var o=Object.prototype.hasOwnProperty,i=Object.prototype.toString,r=function(e){return"function"==typeof Array.isArray?Array.isArray(e):"[object Array]"===i.call(e)},a=function(e){if(!e||"[object Object]"!==i.call(e))return!1;var t=o.call(e,"constructor"),n=e.constructor&&e.constructor.prototype&&o.call(e.constructor.prototype,"isPrototypeOf");if(e.constructor&&!t&&!n)return!1;var r;for(r in e);return void 0===r||o.call(e,r)};t.exports=function s(){var e,t,n,o,i,c,p=arguments[0],u=1,d=arguments.length,l=!1;if("boolean"==typeof p){l=p;p=arguments[1]||{};u=2}(null==p||"object"!=typeof p&&"function"!=typeof p)&&(p={});for(;u<d;++u){e=arguments[u];if(null!=e)for(t in e){n=p[
;n.merge=function(e,t){for(var n in t)o.call(t,n)&&(e[n]=t[n]);return e};n.length=function(e){return n.keys(e).length};n.isEmpty=function(e){return 0==n.length(e)}},{}],865:[function(e,t,n){function o(e,t){var n={};for(var o in t)n[o]=t[o];for(var i=0;i<e.length;i++)delete n[e[i]];return n}t.exports=o},{}],866:[function(e,t,n){function o(e){e(document.body)}var i=!1,r=[];t.exports=function(e){i?o(e):r.push(e)};var a=setInterval(function(){if(document.body){i=!0;for(var e=0;e<r.length;e++)o(r[e]);clearInterval(a)}},5)},{}],867:[function(e,t,n){function o(e){e(document.body)}var i=e("each"),r=!1,a=[];t.exports=function(e){r?o(e):a.push(e)};var s=setInterval(function(){if(document.body){r=!0;i(a,o);clearInterval(s)}},5)},{"each":823}],868:[function(e,t,n){function o(e){for(var t,n=[].slice.call(arguments,1),o={},i=0;t=n[i];i++)t in e&&(o[t]=e[t]);return o}t.exports=o},{}],869:[function(e,t,n){function o(){if(l&&u){l=!1;u.length?d=u.concat(d):f=-1;d.length&&i()}}function i(){if(!l){var e=s(o);l=!0;for(var t=d.length;t;){u=d;d=[];for(;++f<t;)u&&u[f].run();f=-1;t=d.length}u=null;l=!1;c(e)}}function r(e,t){this.fun=e;this.array=t}function a(){}var s,c,p=t.exports={};!function(){try{s=setTimeout}catch(e){s=function(){throw new Error("setTimeout is not defined")}}try{c=clearTimeout}catch(e){c=function(){throw new Error("clearTimeout is not defined")}}}();var u,d=[],l=!1,f=-1;p.nextTick=function(e){var t=new Array(arguments.length-1);if(arguments.length>1)for(var n=1;n<arguments.length;n++)t[n-1]=arguments[n];d.push(new r(e,t));1!==d.length||l||s(i,0)};r.prototype.run=function(){this.fun.apply(null,this.array)};p.title="browser";p.browser=!0;p.env={};p.argv=[];p.version="";p.versions={};p.on=a;p.addListener=a;p.once=a;p.off=a;p.removeListener=a;p.removeAllListeners=a;p.emit=a;p.binding=function(e){throw new Error("process.binding is not supported")};p.cwd=function(){return"/"};p.chdir=function(e){throw new Error("process.chdir is not supported")};p.umask=function(){return 0}},{}],870:[function(e,t,n){function o(e,t){t=t||i;return"array"==r(e)?o.array(e,t):o.object(e,t)}function i(e){return null==e}var r=e("type-component");t.exports=o;o.array=function(e,t){for(var n=[],o=0;o<e.length;++o)t(e[o],o)||(n[n.length]=e[o]);return n};o.object=function(e,t){var n={};for(var o in e)e.hasOwnProperty(o)&&!t(e[o],o)&&(n[o]=e[o]);return n};o.types=o.type=function(e,t){Array.isArray(t)||(t=[t]);return o(e,function(e){return-1!=t.indexOf(r(e))})}},{"type-component":896}],871:[function(e,t,n){function o(e,t){e.addEventListener("load",function(e,n){t(null,n)},!1);e.addEventListener("error",function(n){var o=new Error('script error "'+e.src+'"');o.event=n;t(o)},!1)}function i(e,t){e.attachEvent("onreadystatechange",function(n){/complete|loaded/.test(e.readyState)&&t(null,n)});e.attachEvent("onerror",function(n){var o=new Error('failed to load the script "'+e.src+'"');o.event=n||window.event;t(o)})}t.exports=function(e,t){return e.addEventListener?o(e,t):i(e,t)}},{}],872:[function(e,t,n){"use strict";var o=e("obj-case");t.exports=function(e){function t(e,t){return function(){var n=this.traits(),i=this.properties?this.properties():{};return o(n,"address."+e)||o(n,e)||(t?o(n,"address."+t):null)||(t?o(n,t):null)||o(i,"address."+e)||o(i,e)||(t?o(i,"address."+t):null)||(t?o(i,t):null)}}e.zip=t("postalCode","zip");e.country=t("country");e.street=t("street");e.state=t("state");e.city=t("city");e.region=t("region")}},{"obj-case":863}],873:[function(e,t,n){"use strict";function o(e,t){r.call(this,e,t)}var i=e("./utils").inherit,r=e("./facade");i(o,r);o.prototype.action=function(){return"alias"};o.prototype.type=o.prototype.action;o.prototype.previousId=function(){return this.field("previousId")||this.field("from")};o.prototype.from=o.prototype.previousId;o.prototype.userId=function(){return this.field("userId")||this.field("to")};o.prototype.to=o.prototype.userId;t.exports=o},{"./facade":875,"./utils":883}],874:[function(e,t,n){"use strict";function o(e,t){r.call(this,e,t)}var i=e("./utils").inherit,r=e("./facade");i(o,r);o.prototype.type=function(){return"
;var r=e.random||(e.rng||s)();r[6]=15&r[6]|64;r[8]=63&r[8]|128;if(t)for(var a=0;a<16;a++)t[o+a]=r[a];return t||i(r)}for(var s=e("./rng"),c=[],p={},u=0;u<256;u++){c[u]=(u+256).toString(16).substr(1);p[c[u]]=u}var d=s(),l=[1|d[0],d[1],d[2],d[3],d[4],d[5]],f=16383&(d[6]<<8|d[7]),m=0,g=0,h=a;h.v1=r;h.v4=a;h.parse=o;h.unparse=i;t.exports=h},{"./rng":901}],903:[function(e,t,n){function o(e,t){var n=arguments.length;return 0==n?a():2<=n?i(e,t):1==n?null==e?s.clear():"string"==typeof e?r(e):"object"==typeof e?p(e,i):void 0:void 0}function i(e,t){return null==t?s.removeItem(e):s.setItem(e,JSON.stringify(t))}function r(e){return c(s.getItem(e))}function a(){for(var e,t=s.length,n={};0<=--t;){e=s.key(t);n[e]=r(e)}return n}var s,c=e("unserialize"),p=e("each");try{s=window.localStorage}catch(u){s=null}t.exports=o;o.supported=!!s},{"each":823,"unserialize":904}],904:[function(e,t,n){t.exports=function(e){try{return JSON.parse(e)}catch(t){return e||undefined}}},{}]},{},[3])}(window.define);