Created
October 2, 2018 19:05
-
-
Save i8ramin/a16c00eb095d106d722c059cadb0260d to your computer and use it in GitHub Desktop.
This file has been truncated, but you can view the full file.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
! function(define) { | |
"function" == typeof define && define.amd && (define = undefined); | |
! function() { | |
function e(t, n, o) { | |
function i(r, s) { | |
if (!n[r]) { | |
if (!t[r]) { | |
var c = "function" == typeof require && require; | |
if (!s && c) return c(r, !0); | |
if (a) return a(r, !0); | |
var p = new Error("Cannot find module '" + r + "'"); | |
throw p.code = "MODULE_NOT_FOUND", p | |
} | |
var u = n[r] = { | |
exports: {} | |
}; | |
t[r][0].call(u.exports, function(e) { | |
return i(t[r][1][e] || e) | |
}, u, u.exports, e, t, n, o) | |
} | |
return n[r].exports | |
} | |
for (var a = "function" == typeof require && require, r = 0; r < o.length; r++) i(o[r]); | |
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.*/, a = n.document.getElementsByTagName("script"), r = 0; r < a.length; r++) { | |
var s = a[r].src, | |
c = i.exec(s); | |
if (c) { | |
e = !0; | |
var p = c[1]; | |
if ("h9Z4ewnWf83L60TdwjeJcDW8mFBKnbZO" === p) { | |
t = !0; | |
break | |
} | |
} | |
} | |
if (e && !t) { | |
var u = { | |
"Content-Type": "text/plain" | |
}, | |
l = { | |
userId: "segment", | |
event: "Invalid WriteKey Loaded", | |
properties: { | |
hostname: n.window.location.hostname, | |
href: n.window.location.href, | |
loadedKey: "h9Z4ewnWf83L60TdwjeJcDW8mFBKnbZO", | |
requestedKey: p, | |
userAgent: n.navigator.userAgent, | |
bailed: !0 | |
}, | |
writeKey: "fkTyC7tQ4NxYVrfdUOVENwWgoJe8hXKA" | |
}; | |
o("https://api.segment.io/v1/t", l, 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": 815 | |
}], | |
3: [function(e, t, n) { | |
(function(t) { | |
"use strict"; | |
if (!e("./bot")()) { | |
var n = e("./integrations"), | |
o = e("./analytics")(n), | |
i = e("extend"), | |
a = t.analytics || [], | |
r = a && a.SNIPPET_VERSION ? parseFloat(a.SNIPPET_VERSION, 10) : 0; | |
o._VERSIONS = { | |
"core": "3.7.2", | |
"cdn": "AJS-Renderer 1.9.0 (AJS 3.15.41 master) (Tue, 02 Oct 2018 16:07:06 GMT)", | |
"integrations": { | |
"Google Tag Manager": "2.5.0", | |
"Hotjar": "1.0.1", | |
"Google Analytics": "2.15.0", | |
"Heap": "2.1.1", | |
"Segment.io": "3.7.0" | |
} | |
}; | |
o.plugins = {}; | |
i(o.plugins, e("@segment/analytics.js-video-plugins/dist")); | |
var s, c = { | |
"Google Tag Manager": { | |
"containerId": "GTM-NCSKSB", | |
"trackAllPages": true, | |
"trackCategorizedPages": true, | |
"trackNamedPages": true | |
}, | |
"Hotjar": { | |
"hjPlaceholderPolyfill": true, | |
"hjid": "10122" | |
}, | |
"Google Analytics": { | |
"anonymizeIp": false, | |
"classic": false, | |
"contentGroupings": {}, | |
"dimensions": {}, | |
"domain": "", | |
"doubleClick": true, | |
"enableServerIdentify": false, | |
"enhancedEcommerce": false, | |
"enhancedLinkAttribution": true, | |
"identifyCategory": "", | |
"identifyEventName": "", | |
"ignoredReferrers": "", | |
"includeSearch": false, | |
"metrics": {}, | |
"mobileTrackingId": "", | |
"nameTracker": false, | |
"nonInteraction": false, | |
"optimize": "", | |
"protocolMappings": {}, | |
"reportUncaughtExceptions": false, | |
"sampleRate": 100, | |
"sendUserId": false, | |
"setAllMappedProps": true, | |
"siteSpeedSampleRate": 1, | |
"trackCategorizedPages": true, | |
"trackNamedPages": true, | |
"trackingId": "UA-4260314-5", | |
"useGoogleAmpClientId": false | |
}, | |
"Heap": { | |
"appId": "1897198508" | |
}, | |
"Segment.io": { | |
"apiKey": "h9Z4ewnWf83L60TdwjeJcDW8mFBKnbZO", | |
"unbundledIntegrations": [], | |
"addBundledMetadata": true | |
} | |
}; | |
if (a._loadOptions && a._loadOptions.integrations) { | |
var p = a._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 === r, | |
plan: { | |
"track": { | |
"enrichment_provider": { | |
"enabled": false, | |
"integrations": {} | |
}, | |
"Viewed Home Page": { | |
"enabled": false, | |
"integrations": {} | |
}, | |
"Bucket": { | |
"enabled": true, | |
"integrations": { | |
"Google Tag Manager": false, | |
"Optimizely": false, | |
"Olark": false, | |
"Google Analytics": false, | |
"Clearbit Reveal": false, | |
"Drift": false | |
} | |
}, | |
"Live Chat Conversation Started": { | |
"enabled": true, | |
"integrations": { | |
"Optimizely": false | |
} | |
}, | |
"Live Chat Message Received": { | |
"enabled": true, | |
"integrations": { | |
"Optimizely": false | |
} | |
}, | |
"Live Chat Message Sent": { | |
"enabled": true, | |
"integrations": { | |
"Optimizely": false | |
} | |
}, | |
"Timing": { | |
"enabled": true, | |
"integrations": { | |
"Optimizely": false, | |
"Olark": false, | |
"Clearbit Reveal": false, | |
"Google Tag Manager": false, | |
"Google Analytics": false, | |
"Drift": false | |
} | |
}, | |
"Form Submission": { | |
"enabled": true, | |
"integrations": { | |
"Olark": false | |
} | |
}, | |
"Interaction": { | |
"enabled": true, | |
"integrations": { | |
"Drift": false | |
} | |
}, | |
"Signup Activity": { | |
"enabled": true, | |
"integrations": { | |
"Olark": false, | |
"Drift": false | |
} | |
} | |
} | |
}, | |
integrations: s, | |
metrics: { | |
"sampleRate": 0.1 | |
} | |
}); | |
for (; a && a.length > 0;) { | |
var l = a.shift(), | |
d = l.shift(); | |
"function" == typeof o[d] && o[d].apply(o, l) | |
} | |
a = 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, | |
"@segment/analytics.js-video-plugins/dist": 795, | |
"extend": 843 | |
}], | |
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"), | |
"appboy-ibm": e("@segment/analytics.js-integration-appboy-ibm"), | |
"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/analytics.js-integration-bugsnag"), | |
"castle": e("@segment/analytics.js-integration-castle"), | |
"chameleon": e("@segment/analytics.js-integration-chameleon"), | |
"chartbeat": e("@segment/analytics.js-integration-chartbeat"), | |
"clevertap": e("@segment/analytics.js-integration-clevertap"), | |
"clicky": e("@segment/analytics.js-integration-clicky"), | |
"comscore": e("@segment/analytics.js-integration-comscore"), | |
"convertro": e("@segment/analytics.js-integration-convertro"), | |
"crazy-egg": e("@segment/analytics.js-integration-crazy-egg"), | |
"criteo": e("@segment/analytics.js-integration-criteo"), | |
"curebit": e("@segment/analytics.js-integration-curebit"), | |
"customerio": e("@segment/analytics.js-integration-customerio"), | |
"cxense": e("@segment/analytics.js-integration-cxense"), | |
"doubleclick-floodlight": e("@segment/analytics.js-integration-doubleclick-floodlight"), | |
"drift": e("@segment/analytics.js-integration-drift"), | |
"drip": e("@segment/analytics.js-integration-drip"), | |
"elevio": e("@segment/analytics.js-integration-elevio"), | |
"eloqua": e("@segment/analytics.js-integration-eloqua"), | |
"email-aptitude": e("@segment/analytics.js-integration-email-aptitude"), | |
"errorception": e("@segment/analytics.js-integration-errorception"), | |
"evergage": e("@segment/analytics.js-integration-evergage"), | |
"extole": e("@segment/analytics.js-integration-extole"), | |
"facebook-conversion-tracking": e("@segment/analytics.js-integration-facebook-conversion-tracking"), | |
"facebook-custom-audiences": e("@segment/analytics.js-integration-facebook-custom-audiences"), | |
"facebook-pixel": e("@segment/analytics.js-integration-facebook-pixel"), | |
"foxmetrics": e("@segment/analytics.js-integration-foxmetrics"), | |
"friendbuy": e("@segment/analytics.js-integration-friendbuy"), | |
"fullstory": e("@segment/analytics.js-integration-fullstory"), | |
"gauges": e("@segment/analytics.js-integration-gauges"), | |
"get-satisfaction": e("@segment/analytics.js-integration-get-satisfaction"), | |
"google-adwords-new": e("@segment/analytics.js-integration-google-adwords-new"), | |
"google-analytics": e("@segment/analytics.js-integration-google-analytics"), | |
"google-tag-manager": e("@segment/analytics.js-integration-google-tag-manager"), | |
"gosquared": e("@segment/analytics.js-integration-gosquared"), | |
"heap": e("@segment/analytics.js-integration-heap"), | |
"hellobar": e("@segment/analytics.js-integration-hellobar"), | |
"hindsight": e("@segment/analytics.js-integration-hindsight"), | |
"hittail": e("@segment/analytics.js-integration-hittail"), | |
"hotjar": e("@segment/analytics.js-integration-hotjar"), | |
"hubspot": e("@segment/analytics.js-integration-hubspot"), | |
"improvely": e("@segment/analytics.js-integration-improvely"), | |
"inspectlet": e("@segment/analytics.js-integration-inspectlet"), | |
"intercom": e("@segment/analytics.js-integration-intercom"), | |
"keen-io": e("@segment/analytics.js-integration-keen-io"), | |
"kenshoo": e("@segment/analytics.js-integration-kenshoo"), | |
"kenshoo-infinity": e("@segment/analytics.js-integration-kenshoo-infinity"), | |
"kissmetrics": e("@segment/analytics.js-integration-kissmetrics"), | |
"klaviyo": e("@segment/analytics.js-integration-klaviyo"), | |
"linkedin-insight-tag": e("@segment/analytics.js-integration-linkedin-insight-tag"), | |
"livechat": e("@segment/analytics.js-integration-livechat"), | |
"localytics": e("@segment/analytics.js-integration-localytics"), | |
"lucky-orange": e("@segment/analytics.js-integration-lucky-orange"), | |
"lytics": e("@segment/analytics.js-integration-lytics"), | |
"madkudu": e("@segment/analytics.js-integration-madkudu"), | |
"marketo": e("@segment/analytics.js-integration-marketo"), | |
"marketo-v2": e("@segment/analytics.js-integration-marketo-v2"), | |
"mediamath": e("@segment/analytics.js-integration-mediamath"), | |
"mixpanel": e("@segment/analytics.js-integration-mixpanel"), | |
"moengage": e("@segment/analytics.js-integration-moengage"), | |
"mojn": e("@segment/analytics.js-integration-mojn"), | |
"monetate": e("@segment/analytics.js-integration-monetate"), | |
"mouseflow": e("@segment/analytics.js-integration-mouseflow"), | |
"mousestats": e("@segment/analytics.js-integration-mousestats"), | |
"nanigans": e("@segment/analytics.js-integration-nanigans"), | |
"navilytics": e("@segment/analytics.js-integration-navilytics"), | |
"nielsen-dcr": e("@segment/analytics.js-integration-nielsen-dcr"), | |
"nudgespot": e("@segment/analytics.js-integration-nudgespot"), | |
"olark": e("@segment/analytics.js-integration-olark"), | |
"omniture": e("@segment/analytics.js-integration-omniture"), | |
"onespot": e("@segment/analytics.js-integration-onespot"), | |
"optimizely": e("@segment/analytics.js-integration-optimizely"), | |
"outbound": e("@segment/analytics.js-integration-outbound"), | |
"pardot": e("@segment/analytics.js-integration-pardot"), | |
"parsely": e("@segment/analytics.js-integration-parsely"), | |
"pendo": e("@segment/analytics.js-integration-pendo"), | |
"perfect-audience": e("@segment/analytics.js-integration-perfect-audience"), | |
"perimeterx": e("@segment/analytics.js-integration-perimeterx"), | |
"pingdom": e("@segment/analytics.js-integration-pingdom"), | |
"pinterest-tag": e("@segment/analytics.js-integration-pinterest-tag"), | |
"piwik": e("@segment/analytics.js-integration-piwik"), | |
"qualaroo": e("@segment/analytics.js-integration-qualaroo"), | |
"quantcast": e("@segment/analytics.js-integration-quantcast"), | |
"quanticmind": e("@segment/analytics.js-integration-quanticmind"), | |
"quora-conversion-pixel": e("@segment/analytics.js-integration-quora-conversion-pixel"), | |
"ramen": e("@segment/analytics.js-integration-ramen"), | |
"rockerbox": e("@segment/analytics.js-integration-rockerbox"), | |
"rocket-fuel": e("@segment/analytics.js-integration-rocket-fuel"), | |
"rollbar": e("@segment/analytics.js-integration-rollbar"), | |
"route": e("@segment/analytics.js-integration-route"), | |
"saasquatch": e("@segment/analytics.js-integration-saasquatch"), | |
"salesforce-dmp": e("@segment/analytics.js-integration-salesforce-dmp"), | |
"salesforce-live-agent": e("@segment/analytics.js-integration-salesforce-live-agent"), | |
"satismeter": e("@segment/analytics.js-integration-satismeter"), | |
"segmentio": e("@segment/analytics.js-integration-segmentio"), | |
"sentry": e("@segment/analytics.js-integration-sentry"), | |
"shareasale": e("@segment/analytics.js-integration-shareasale"), | |
"simplereach": e("@segment/analytics.js-integration-simplereach"), | |
"simplifi": e("@segment/analytics.js-integration-simplifi"), | |
"snapengage": e("@segment/analytics.js-integration-snapengage"), | |
"spinnakr": e("@segment/analytics.js-integration-spinnakr"), | |
"steelhouse": e("@segment/analytics.js-integration-steelhouse"), | |
"stripe-radar": e("@segment/analytics.js-integration-stripe-radar"), | |
"supporthero": e("@segment/analytics.js-integration-supporthero"), | |
"tag-injector": e("@segment/analytics.js-integration-tag-injector"), | |
"taplytics": e("@segment/analytics.js-integration-taplytics"), | |
"tapstream": e("@segment/analytics.js-integration-tapstream"), | |
"tell-apart": e("@segment/analytics.js-integration-tell-apart"), | |
"totango": e("@segment/analytics.js-integration-totango"), | |
"trackjs": e("@segment/analytics.js-integration-trackjs"), | |
"tvsquared": e("@segment/analytics.js-integration-tvsquared"), | |
"twitter-ads": e("@segment/analytics.js-integration-twitter-ads"), | |
"userlike": e("@segment/analytics.js-integration-userlike"), | |
"uservoice": e("@segment/analytics.js-integration-uservoice"), | |
"vero": e("@segment/analytics.js-integration-vero"), | |
"visual-website-optimizer": e("@segment/analytics.js-integration-visual-website-optimizer"), | |
"webengage": e("@segment/analytics.js-integration-webengage"), | |
"wigzo": e("@segment/analytics.js-integration-wigzo"), | |
"wishpond": e("@segment/analytics.js-integration-wishpond"), | |
"woopra": e("@segment/analytics.js-integration-woopra"), | |
"wootric": e("@segment/analytics.js-integration-wootric"), | |
"yandex-metrica": e("@segment/analytics.js-integration-yandex-metrica"), | |
"yellowhammer": e("@segment/analytics.js-integration-yellowhammer"), | |
"youbora": e("@segment/analytics.js-integration-youbora"), | |
"zopim": e("@segment/analytics.js-integration-zopim") | |
} | |
}, { | |
"@segment/analytics.js-integration-adlearn-open-platform": 36, | |
"@segment/analytics.js-integration-adobe-analytics": 43, | |
"@segment/analytics.js-integration-adobe-target": 44, | |
"@segment/analytics.js-integration-adometry": 51, | |
"@segment/analytics.js-integration-adroll": 58, | |
"@segment/analytics.js-integration-adwords": 59, | |
"@segment/analytics.js-integration-alexa": 66, | |
"@segment/analytics.js-integration-ambassador": 73, | |
"@segment/analytics.js-integration-amplitude": 80, | |
"@segment/analytics.js-integration-appboy": 88, | |
"@segment/analytics.js-integration-appboy-ibm": 87, | |
"@segment/analytics.js-integration-appcues": 89, | |
"@segment/analytics.js-integration-appnexus": 96, | |
"@segment/analytics.js-integration-aptrinsic": 103, | |
"@segment/analytics.js-integration-atatus": 110, | |
"@segment/analytics.js-integration-autosend": 117, | |
"@segment/analytics.js-integration-awesm": 124, | |
"@segment/analytics.js-integration-bing-ads": 131, | |
"@segment/analytics.js-integration-blueshift": 138, | |
"@segment/analytics.js-integration-boomtrain": 145, | |
"@segment/analytics.js-integration-bronto": 152, | |
"@segment/analytics.js-integration-bugherd": 153, | |
"@segment/analytics.js-integration-bugsnag": 160, | |
"@segment/analytics.js-integration-castle": 167, | |
"@segment/analytics.js-integration-chameleon": 168, | |
"@segment/analytics.js-integration-chartbeat": 175, | |
"@segment/analytics.js-integration-clevertap": 176, | |
"@segment/analytics.js-integration-clicky": 177, | |
"@segment/analytics.js-integration-comscore": 184, | |
"@segment/analytics.js-integration-convertro": 191, | |
"@segment/analytics.js-integration-crazy-egg": 192, | |
"@segment/analytics.js-integration-criteo": 199, | |
"@segment/analytics.js-integration-curebit": 201, | |
"@segment/analytics.js-integration-customerio": 202, | |
"@segment/analytics.js-integration-cxense": 209, | |
"@segment/analytics.js-integration-doubleclick-floodlight": 210, | |
"@segment/analytics.js-integration-drift": 211, | |
"@segment/analytics.js-integration-drip": 218, | |
"@segment/analytics.js-integration-elevio": 219, | |
"@segment/analytics.js-integration-eloqua": 221, | |
"@segment/analytics.js-integration-email-aptitude": 228, | |
"@segment/analytics.js-integration-errorception": 235, | |
"@segment/analytics.js-integration-evergage": 243, | |
"@segment/analytics.js-integration-extole": 250, | |
"@segment/analytics.js-integration-facebook-conversion-tracking": 257, | |
"@segment/analytics.js-integration-facebook-custom-audiences": 264, | |
"@segment/analytics.js-integration-facebook-pixel": 265, | |
"@segment/analytics.js-integration-foxmetrics": 266, | |
"@segment/analytics.js-integration-friendbuy": 267, | |
"@segment/analytics.js-integration-fullstory": 269, | |
"@segment/analytics.js-integration-gauges": 277, | |
"@segment/analytics.js-integration-get-satisfaction": 284, | |
"@segment/analytics.js-integration-google-adwords-new": 291, | |
"@segment/analytics.js-integration-google-analytics": 292, | |
"@segment/analytics.js-integration-google-tag-manager": 293, | |
"@segment/analytics.js-integration-gosquared": 294, | |
"@segment/analytics.js-integration-heap": 295, | |
"@segment/analytics.js-integration-hellobar": 296, | |
"@segment/analytics.js-integration-hindsight": 303, | |
"@segment/analytics.js-integration-hittail": 304, | |
"@segment/analytics.js-integration-hotjar": 311, | |
"@segment/analytics.js-integration-hubspot": 312, | |
"@segment/analytics.js-integration-improvely": 313, | |
"@segment/analytics.js-integration-inspectlet": 320, | |
"@segment/analytics.js-integration-intercom": 327, | |
"@segment/analytics.js-integration-keen-io": 334, | |
"@segment/analytics.js-integration-kenshoo": 342, | |
"@segment/analytics.js-integration-kenshoo-infinity": 341, | |
"@segment/analytics.js-integration-kissmetrics": 349, | |
"@segment/analytics.js-integration-klaviyo": 356, | |
"@segment/analytics.js-integration-linkedin-insight-tag": 357, | |
"@segment/analytics.js-integration-livechat": 364, | |
"@segment/analytics.js-integration-localytics": 371, | |
"@segment/analytics.js-integration-lucky-orange": 378, | |
"@segment/analytics.js-integration-lytics": 379, | |
"@segment/analytics.js-integration-madkudu": 386, | |
"@segment/analytics.js-integration-marketo": 400, | |
"@segment/analytics.js-integration-marketo-v2": 393, | |
"@segment/analytics.js-integration-mediamath": 407, | |
"@segment/analytics.js-integration-mixpanel": 414, | |
"@segment/analytics.js-integration-moengage": 421, | |
"@segment/analytics.js-integration-mojn": 422, | |
"@segment/analytics.js-integration-monetate": 429, | |
"@segment/analytics.js-integration-mouseflow": 430, | |
"@segment/analytics.js-integration-mousestats": 431, | |
"@segment/analytics.js-integration-nanigans": 438, | |
"@segment/analytics.js-integration-navilytics": 447, | |
"@segment/analytics.js-integration-nielsen-dcr": 454, | |
"@segment/analytics.js-integration-nudgespot": 455, | |
"@segment/analytics.js-integration-olark": 462, | |
"@segment/analytics.js-integration-omniture": 469, | |
"@segment/analytics.js-integration-onespot": 476, | |
"@segment/analytics.js-integration-optimizely": 483, | |
"@segment/analytics.js-integration-outbound": 492, | |
"@segment/analytics.js-integration-pardot": 501, | |
"@segment/analytics.js-integration-parsely": 510, | |
"@segment/analytics.js-integration-pendo": 511, | |
"@segment/analytics.js-integration-perfect-audience": 512, | |
"@segment/analytics.js-integration-perimeterx": 513, | |
"@segment/analytics.js-integration-pingdom": 514, | |
"@segment/analytics.js-integration-pinterest-tag": 521, | |
"@segment/analytics.js-integration-piwik": 528, | |
"@segment/analytics.js-integration-qualaroo": 535, | |
"@segment/analytics.js-integration-quantcast": 542, | |
"@segment/analytics.js-integration-quanticmind": 543, | |
"@segment/analytics.js-integration-quora-conversion-pixel": 550, | |
"@segment/analytics.js-integration-ramen": 557, | |
"@segment/analytics.js-integration-rockerbox": 564, | |
"@segment/analytics.js-integration-rocket-fuel": 571, | |
"@segment/analytics.js-integration-rollbar": 578, | |
"@segment/analytics.js-integration-route": 585, | |
"@segment/analytics.js-integration-saasquatch": 592, | |
"@segment/analytics.js-integration-salesforce-dmp": 599, | |
"@segment/analytics.js-integration-salesforce-live-agent": 606, | |
"@segment/analytics.js-integration-satismeter": 613, | |
"@segment/analytics.js-integration-segmentio": 620, | |
"@segment/analytics.js-integration-sentry": 627, | |
"@segment/analytics.js-integration-shareasale": 634, | |
"@segment/analytics.js-integration-simplereach": 635, | |
"@segment/analytics.js-integration-simplifi": 642, | |
"@segment/analytics.js-integration-snapengage": 649, | |
"@segment/analytics.js-integration-spinnakr": 656, | |
"@segment/analytics.js-integration-steelhouse": 663, | |
"@segment/analytics.js-integration-stripe-radar": 670, | |
"@segment/analytics.js-integration-supporthero": 671, | |
"@segment/analytics.js-integration-tag-injector": 678, | |
"@segment/analytics.js-integration-taplytics": 679, | |
"@segment/analytics.js-integration-tapstream": 686, | |
"@segment/analytics.js-integration-tell-apart": 693, | |
"@segment/analytics.js-integration-totango": 694, | |
"@segment/analytics.js-integration-trackjs": 701, | |
"@segment/analytics.js-integration-tvsquared": 708, | |
"@segment/analytics.js-integration-twitter-ads": 715, | |
"@segment/analytics.js-integration-userlike": 716, | |
"@segment/analytics.js-integration-uservoice": 723, | |
"@segment/analytics.js-integration-vero": 730, | |
"@segment/analytics.js-integration-visual-website-optimizer": 737, | |
"@segment/analytics.js-integration-webengage": 738, | |
"@segment/analytics.js-integration-wigzo": 745, | |
"@segment/analytics.js-integration-wishpond": 746, | |
"@segment/analytics.js-integration-woopra": 753, | |
"@segment/analytics.js-integration-wootric": 760, | |
"@segment/analytics.js-integration-yandex-metrica": 767, | |
"@segment/analytics.js-integration-yellowhammer": 774, | |
"@segment/analytics.js-integration-youbora": 781, | |
"@segment/analytics.js-integration-zopim": 782 | |
}], | |
5: [function(e, t, n) { | |
"use strict"; | |
var o = e("@ndhoule/arity"), | |
i = Object.prototype.toString, | |
a = function(e) { | |
return "function" == typeof e | |
}, | |
r = function(e) { | |
var t = typeof e; | |
return "number" === t || "object" === t && "[object Number]" === i.call(e) | |
}, | |
s = function(e, t) { | |
if (!r(e)) throw new TypeError("Expected a number but received " + typeof e); | |
if (!a(t)) throw new TypeError("Expected a function but received " + typeof t); | |
var n = 0; | |
return o(t.length, function() { | |
n += 1; | |
if (!(n < e)) return t.apply(this, arguments) | |
}) | |
}; | |
t.exports = s | |
}, { | |
"@ndhoule/arity": 6 | |
}], | |
6: [function(e, t, n) { | |
"use strict"; | |
var o = Object.prototype.toString, | |
i = function(e) { | |
return "function" == typeof e | |
}, | |
a = function(e) { | |
var t = typeof e; | |
return "number" === t || "object" === t && "[object Number]" === o.call(e) | |
}, | |
r = function(e) { | |
for (var t = [], n = 1; n <= e; n += 1) t.push("arg" + n); | |
return t | |
}, | |
s = function(e) { | |
var t = r(e).join(", "), | |
n = "".concat(" return function(", t, ") {\n", " return func.apply(this, arguments);\n", " };"); | |
return new Function("func", n) | |
}, | |
c = [function(e) { | |
return function() { | |
return e.apply(this, arguments) | |
} | |
}, function(e) { | |
return function(t) { | |
return e.apply(this, arguments) | |
} | |
}, function(e) { | |
return function(t, n) { | |
return e.apply(this, arguments) | |
} | |
}, function(e) { | |
return function(t, n, o) { | |
return e.apply(this, arguments) | |
} | |
}, function(e) { | |
return function(t, n, o, i) { | |
return e.apply(this, arguments) | |
} | |
}, function(e) { | |
return function(t, n, o, i, a) { | |
return e.apply(this, arguments) | |
} | |
}], | |
p = function(e, t) { | |
if (!i(t)) throw new TypeError("Expected a function but got " + typeof t); | |
e = Math.max(a(e) ? e : 0, 0); | |
c[e] || (c[e] = s(e)); | |
return c[e](t) | |
}; | |
t.exports = p | |
}, {}], | |
7: [function(e, t, n) { | |
"use strict"; | |
var o = e("component-type"), | |
i = function a(e) { | |
var t = o(e); | |
if ("object" === t) { | |
var n = {}; | |
for (var i in e) e.hasOwnProperty(i) && (n[i] = a(e[i])); | |
return n | |
} | |
if ("array" === t) { | |
for (var n = new Array(e.length), r = 0, s = e.length; r < s; r++) n[r] = a(e[r]); | |
return n | |
} | |
if ("regexp" === t) { | |
var c = ""; | |
c += e.multiline ? "m" : ""; | |
c += e.global ? "g" : ""; | |
c += e.ignoreCase ? "i" : ""; | |
return new RegExp(e.source, c) | |
} | |
return "date" === t ? new Date(e.getTime()) : e | |
}; | |
t.exports = i | |
}, { | |
"component-type": 836 | |
}], | |
8: [function(e, t, n) { | |
"use strict"; | |
var o = e("@ndhoule/drop"), | |
i = e("@ndhoule/rest"), | |
a = Object.prototype.hasOwnProperty, | |
r = Object.prototype.toString, | |
s = function(e) { | |
return Boolean(e) && "object" == typeof e | |
}, | |
c = function(e) { | |
return Boolean(e) && "[object Object]" === r.call(e) | |
}, | |
p = function(e, t, n, o) { | |
a.call(t, o) && e[o] === undefined && (e[o] = n); | |
return t | |
}, | |
u = function(e, t, n, o) { | |
a.call(t, o) && (c(e[o]) && c(n) ? e[o] = d(e[o], n) : e[o] === undefined && (e[o] = n)); | |
return t | |
}, | |
l = function(e, t) { | |
if (!s(t)) return t; | |
e = e || p; | |
for (var n = o(2, arguments), i = 0; i < n.length; i += 1) | |
for (var a in n[i]) e(t, n[i], n[i][a], a); | |
return t | |
}, | |
d = function(e) { | |
return l.apply(null, [u, e].concat(i(arguments))) | |
}, | |
f = function(e) { | |
return l.apply(null, [null, e].concat(i(arguments))) | |
}; | |
t.exports = f; | |
t.exports.deep = d | |
}, { | |
"@ndhoule/drop": 9, | |
"@ndhoule/rest": 19 | |
}], | |
9: [function(e, t, n) { | |
"use strict"; | |
var o = Math.max, | |
i = function(e, t) { | |
var n = t ? t.length : 0; | |
if (!n) return []; | |
for (var i = o(Number(e) || 0, 0), a = o(n - i, 0), r = new Array(a), s = 0; s < a; s += 1) r[s] = t[s + i]; | |
return r | |
}; | |
t.exports = i | |
}, {}], | |
10: [function(e, t, n) { | |
"use strict"; | |
var o = e("@ndhoule/keys"), | |
i = Object.prototype.toString, | |
a = function(e) { | |
var t = typeof e; | |
return "number" === t || "object" === t && "[object Number]" === i.call(e) | |
}, | |
r = "function" == typeof Array.isArray ? Array.isArray : function(e) { | |
return "[object Array]" === i.call(e) | |
}, | |
s = function(e) { | |
return null != e && (r(e) || "function" !== e && a(e.length)) | |
}, | |
c = function(e, t) { | |
for (var n = 0; n < t.length && !1 !== e(t[n], n, t); n += 1); | |
}, | |
p = function(e, t) { | |
for (var n = o(t), i = 0; i < n.length && !1 !== e(t[n[i]], n[i], t); i += 1); | |
}, | |
u = function(e, t) { | |
return (s(t) ? c : p).call(this, e, t) | |
}; | |
t.exports = u | |
}, { | |
"@ndhoule/keys": 16 | |
}], | |
11: [function(e, t, n) { | |
"use strict"; | |
var o = Object.prototype.hasOwnProperty, | |
i = function(e) { | |
var t = []; | |
for (var n in e) o.call(e, n) && t.push([n, e[n]]); | |
return t | |
}; | |
t.exports = i | |
}, {}], | |
12: [function(e, t, n) { | |
"use strict"; | |
var o = e("@ndhoule/each"), | |
i = function(e, t) { | |
if ("function" != typeof e) throw new TypeError("`predicate` must be a function but was a " + typeof e); | |
var n = !0; | |
o(function(t, o, i) { | |
n = !!e(t, o, i); | |
if (!n) return !1 | |
}, t); | |
return n | |
}; | |
t.exports = i | |
}, { | |
"@ndhoule/each": 10 | |
}], | |
13: [function(e, t, n) { | |
"use strict"; | |
var o = Object.prototype.hasOwnProperty, | |
i = function(e) { | |
for (var t = Array.prototype.slice.call(arguments, 1), n = 0; n < t.length; n += 1) | |
for (var i in t[n]) o.call(t[n], i) && (e[i] = t[n][i]); | |
return e | |
}; | |
t.exports = i | |
}, {}], | |
14: [function(e, t, n) { | |
"use strict"; | |
var o = e("@ndhoule/each"), | |
i = function(e, t, n) { | |
if ("function" != typeof e) throw new TypeError("Expected a function but received a " + typeof e); | |
o(function(n, o, i) { | |
t = e(t, n, o, i) | |
}, n); | |
return t | |
}; | |
t.exports = i | |
}, { | |
"@ndhoule/each": 10 | |
}], | |
15: [function(e, t, n) { | |
"use strict"; | |
var o = e("@ndhoule/each"), | |
i = String.prototype.indexOf, | |
a = function(e, t) { | |
return e === t ? 0 !== e || 1 / e == 1 / t : e !== e && t !== t | |
}, | |
r = function(e, t) { | |
var n = !1; | |
if ("string" == typeof t) return -1 !== i.call(t, e); | |
o(function(t) { | |
if (a(t, e)) { | |
n = !0; | |
return !1 | |
} | |
}, t); | |
return n | |
}; | |
t.exports = r | |
}, { | |
"@ndhoule/each": 10 | |
}], | |
16: [function(e, t, n) { | |
"use strict"; | |
var o = Object.prototype.hasOwnProperty, | |
i = String.prototype.charAt, | |
a = Object.prototype.toString, | |
r = function(e, t) { | |
return i.call(e, t) | |
}, | |
s = function(e, t) { | |
return o.call(e, t) | |
}, | |
c = function(e) { | |
return "[object String]" === a.call(e) | |
}, | |
p = function(e) { | |
return null != e && "function" != typeof e && "number" == typeof e.length | |
}, | |
u = function(e, t) { | |
t = t || s; | |
for (var n = [], o = 0, i = e.length; o < i; o += 1) t(e, o) && n.push(String(o)); | |
return n | |
}, | |
l = function(e, t) { | |
t = t || s; | |
var n = []; | |
for (var o in e) t(e, o) && n.push(String(o)); | |
return n | |
}, | |
d = function(e) { | |
return null == e ? [] : c(e) ? u(e, r) : p(e) ? u(e, s) : l(e) | |
}; | |
t.exports = d | |
}, {}], | |
17: [function(e, t, n) { | |
"use strict"; | |
var o = e("@ndhoule/each"), | |
i = function(e, t) { | |
if ("function" != typeof e) throw new TypeError("Expected a function but received a " + typeof e); | |
var n = []; | |
o(function(t, o, i) { | |
n.push(e(t, o, i)) | |
}, t); | |
return n | |
}; | |
t.exports = i | |
}, { | |
"@ndhoule/each": 10 | |
}], | |
18: [function(e, t, n) { | |
"use strict"; | |
var o = Object.prototype.toString, | |
i = function(e) { | |
return null != e | |
}, | |
a = function(e) { | |
return "[object Array]" === o.call(e) | |
}, | |
r = function(e) { | |
return "string" == typeof e || "[object String]" === o.call(e) | |
}, | |
s = function(e) { | |
return null != e && "object" == typeof e | |
}, | |
c = function(e, t) { | |
if (!i(t) || !s(t)) return {}; | |
r(e) && (e = [e]); | |
a(e) || (e = []); | |
for (var n = {}, o = 0; o < e.length; o += 1) r(e[o]) && e[o] in t && (n[e[o]] = t[e[o]]); | |
return n | |
}; | |
t.exports = c | |
}, {}], | |
19: [function(e, t, n) { | |
"use strict"; | |
var o = Math.max, | |
i = function(e) { | |
if (null == e || !e.length) return []; | |
for (var t = new Array(o(e.length - 2, 0)), n = 1; n < e.length; n += 1) t[n - 1] = e[n]; | |
return t | |
}; | |
t.exports = i | |
}, {}], | |
20: [function(e, t, n) { | |
"use strict"; | |
var o = e("@ndhoule/keys"), | |
i = function(e) { | |
for (var t = o(e), n = new Array(t.length), i = 0; i < t.length; i += 1) n[i] = e[t[i]]; | |
return n | |
}; | |
t.exports = i | |
}, { | |
"@ndhoule/keys": 16 | |
}], | |
21: [function(e, t, n) { | |
"use strict"; | |
function o(e) { | |
var t = i(e); | |
for (var n in t) | |
if (t.hasOwnProperty(n)) | |
for (var o in a) | |
if (a.hasOwnProperty(o) && n === o) return { | |
id: t[n], | |
type: a[o] | |
} | |
} | |
var i = e("component-querystring").parse, | |
a = { | |
btid: "dataxu", | |
urid: "millennial-media" | |
}; | |
t.exports = o | |
}, { | |
"component-querystring": 834 | |
}], | |
22: [function(e, t, n) { | |
function o(e, t) { | |
switch (r(t)) { | |
case "object": | |
return i(s(e), t); | |
case "function": | |
return a(s(e), t) | |
} | |
} | |
function i(e, t) { | |
for (var n in t) | |
if (undefined !== e[n]) { | |
e[t[n]] = e[n]; | |
delete e[n] | |
} return e | |
} | |
function a(e, t) { | |
var n = {}; | |
for (var o in e) n[t(o)] = e[o]; | |
return n | |
} | |
var r = e("component-type"), | |
s = e("component-clone"); | |
t.exports = o | |
}, { | |
"component-clone": 826, | |
"component-type": 836 | |
}], | |
23: [function(e, t, n) { | |
(function(n) { | |
"use strict"; | |
function o() { | |
this._options({}); | |
this.Integrations = {}; | |
this._integrations = {}; | |
this._readied = !1; | |
this._timeout = 300; | |
this._user = O; | |
this.log = y("analytics.js"); | |
d(this); | |
var e = this; | |
this.on("initialize", function(t, n) { | |
n.initialPageview && e.page(); | |
e._parseQuery(window.location.search) | |
}) | |
} | |
var i = n.analytics, | |
a = e("segmentio-facade").Alias, | |
r = e("component-emitter"), | |
s = e("segmentio-facade").Group, | |
c = e("segmentio-facade").Identify, | |
p = e("segmentio-facade").Page, | |
u = e("segmentio-facade").Track, | |
l = e("@ndhoule/after"), | |
d = e("bind-all"), | |
f = e("@ndhoule/clone"), | |
m = e("extend"), | |
h = e("./cookie"), | |
g = e("./metrics"), | |
y = e("debug"), | |
b = e("@ndhoule/defaults"), | |
v = e("@ndhoule/each"), | |
w = e("@ndhoule/foldl"), | |
k = e("./group"), | |
_ = e("is"), | |
x = e("@segment/is-meta"), | |
j = e("@ndhoule/keys"), | |
I = e("./memory"), | |
A = e("next-tick"), | |
C = e("./normalize"), | |
S = e("component-event").bind, | |
E = e("./pageDefaults"), | |
T = e("@ndhoule/pick"), | |
P = e("@segment/prevent-default"), | |
N = e("component-querystring"), | |
M = e("./store"), | |
O = e("./user"), | |
D = e("component-type"); | |
r(o.prototype); | |
o.prototype.use = function(e) { | |
e(this); | |
return this | |
}; | |
o.prototype.addIntegration = function(e) { | |
var t = e.prototype.name; | |
if (!t) throw new TypeError("attempted to add an invalid integration"); | |
this.Integrations[t] = e; | |
return this | |
}; | |
o.prototype.init = o.prototype.initialize = function(e, t) { | |
e = e || {}; | |
t = t || {}; | |
this._options(t); | |
this._readied = !1; | |
var n = this; | |
v(function(t, o) { | |
n.Integrations[o] || delete e[o] | |
}, e); | |
v(function(e, o) { | |
if (!t.integrations || !1 !== t.integrations[o] && (!1 !== t.integrations.All || t.integrations[o])) { | |
var i = n.Integrations[o], | |
a = {}; | |
m(!0, a, e); | |
var r = new i(a); | |
n.log("initialize %o - %o", o, e); | |
n.add(r) | |
} | |
}, e); | |
var o = this._integrations; | |
O.load(); | |
k.load(); | |
var i = j(o).length, | |
a = l(i, function() { | |
n._readied = !0; | |
n.emit("ready") | |
}); | |
i <= 0 && a(); | |
this.failedInitializations = []; | |
v(function(e) { | |
t.initialPageview && !1 === e.options.initialPageview && (e.page = l(2, e.page)); | |
e.analytics = n; | |
e.once("ready", a); | |
try { | |
g.increment("analytics_js.integration.invoke", { | |
method: "initialize", | |
integration_name: e.name | |
}); | |
e.initialize() | |
} catch (i) { | |
var o = e.name; | |
g.increment("analytics_js.integration.invoke.error", { | |
method: "initialize", | |
integration_name: e.name | |
}); | |
n.failedInitializations.push(o); | |
n.log("Error initializing %s integration: %o", o, i); | |
e.ready() | |
} | |
}, o); | |
this.initialized = !0; | |
this.emit("initialize", e, t); | |
return this | |
}; | |
o.prototype.setAnonymousId = function(e) { | |
this.user().anonymousId(e); | |
return this | |
}; | |
o.prototype.add = function(e) { | |
this._integrations[e.name] = e; | |
return this | |
}; | |
o.prototype.identify = function(e, t, n, o) { | |
_.fn(n) && (o = n, n = null); | |
_.fn(t) && (o = t, n = null, t = null); | |
_.object(e) && (n = t, t = e, e = O.id()); | |
O.identify(e, t); | |
var i = this.normalize({ | |
options: n, | |
traits: O.traits(), | |
userId: O.id() | |
}); | |
this.options.integrations && b(i.integrations, this.options.integrations); | |
this._invoke("identify", new c(i)); | |
this.emit("identify", e, t, n); | |
this._callback(o); | |
return this | |
}; | |
o.prototype.user = function() { | |
return O | |
}; | |
o.prototype.group = function(e, t, n, o) { | |
if (!arguments.length) return k; | |
_.fn(n) && (o = n, n = null); | |
_.fn(t) && (o = t, n = null, t = null); | |
_.object(e) && (n = t, t = e, e = k.id()); | |
k.identify(e, t); | |
var i = this.normalize({ | |
options: n, | |
traits: k.traits(), | |
groupId: k.id() | |
}); | |
this.options.integrations && b(i.integrations, this.options.integrations); | |
this._invoke("group", new s(i)); | |
this.emit("group", e, t, n); | |
this._callback(o); | |
return this | |
}; | |
o.prototype.track = function(e, t, n, o) { | |
_.fn(n) && (o = n, n = null); | |
_.fn(t) && (o = t, n = null, t = null); | |
var i = this.options.plan || {}, | |
a = i.track || {}, | |
r = {}, | |
s = this.normalize({ | |
properties: t, | |
options: n, | |
event: e | |
}); | |
i = a[e]; | |
if (i) { | |
this.log("plan %o - %o", e, i); | |
r = !1 === i.enabled ? { | |
All: !1, | |
"Segment.io": !0 | |
} : i.integrations || {} | |
} else { | |
(a.__default || { | |
enabled: !0 | |
}).enabled || (r = { | |
All: !1, | |
"Segment.io": !0 | |
}) | |
} | |
b(s.integrations, this._mergeInitializeAndPlanIntegrations(r)); | |
this._invoke("track", new u(s)); | |
this.emit("track", e, t, n); | |
this._callback(o); | |
return this | |
}; | |
o.prototype.trackClick = o.prototype.trackLink = function(e, t, n) { | |
if (!e) return this; | |
"element" === D(e) && (e = [e]); | |
var o = this; | |
v(function(e) { | |
if ("element" !== D(e)) throw new TypeError("Must pass HTMLElement to `analytics.trackLink`."); | |
S(e, "click", function(i) { | |
var a = _.fn(t) ? t(e) : t, | |
r = _.fn(n) ? n(e) : n, | |
s = e.getAttribute("href") || e.getAttributeNS("http://www.w3.org/1999/xlink", "href") || e.getAttribute("xlink:href"); | |
o.track(a, r); | |
if (s && "_blank" !== e.target && !x(i)) { | |
P(i); | |
o._callback(function() { | |
window.location.href = s | |
}) | |
} | |
}) | |
}, e); | |
return this | |
}; | |
o.prototype.trackSubmit = o.prototype.trackForm = function(e, t, n) { | |
if (!e) return this; | |
"element" === D(e) && (e = [e]); | |
var o = this; | |
v(function(e) { | |
function i(i) { | |
P(i); | |
var a = _.fn(t) ? t(e) : t, | |
r = _.fn(n) ? n(e) : n; | |
o.track(a, r); | |
o._callback(function() { | |
e.submit() | |
}) | |
} | |
if ("element" !== D(e)) throw new TypeError("Must pass HTMLElement to `analytics.trackForm`."); | |
var a = window.jQuery || window.Zepto; | |
a ? a(e).submit(i) : S(e, "submit", i) | |
}, e); | |
return this | |
}; | |
o.prototype.page = function(e, t, n, o, i) { | |
_.fn(o) && (i = o, o = null); | |
_.fn(n) && (i = n, o = n = null); | |
_.fn(t) && (i = t, o = n = t = null); | |
"object" === D(e) && (o = t, n = e, t = e = null); | |
"object" === D(t) && (o = n, n = t, t = null); | |
"string" === D(e) && "string" !== D(t) && (t = e, e = null); | |
n = f(n) || {}; | |
t && (n.name = t); | |
e && (n.category = e); | |
var a = E(); | |
b(n, a); | |
var r = T(j(a), n); | |
if (!_.empty(r)) { | |
o = o || {}; | |
o.context = o.context || {}; | |
o.context.page = r | |
} | |
var s = this.normalize({ | |
properties: n, | |
category: e, | |
options: o, | |
name: t | |
}); | |
this.options.integrations && b(s.integrations, this.options.integrations); | |
this._invoke("page", new p(s)); | |
this.emit("page", e, t, n, o); | |
this._callback(i); | |
return this | |
}; | |
o.prototype.pageview = function(e) { | |
var t = {}; | |
e && (t.path = e); | |
this.page(t); | |
return this | |
}; | |
o.prototype.alias = function(e, t, n, o) { | |
_.fn(n) && (o = n, n = null); | |
_.fn(t) && (o = t, n = null, t = null); | |
_.object(t) && (n = t, t = null); | |
var i = this.normalize({ | |
options: n, | |
previousId: t, | |
userId: e | |
}); | |
this.options.integrations && b(i.integrations, this.options.integrations); | |
this._invoke("alias", new a(i)); | |
this.emit("alias", e, t, n); | |
this._callback(o); | |
return this | |
}; | |
o.prototype.ready = function(e) { | |
_.fn(e) && (this._readied ? A(e) : this.once("ready", e)); | |
return this | |
}; | |
o.prototype.timeout = function(e) { | |
this._timeout = e | |
}; | |
o.prototype.debug = function(e) { | |
!arguments.length || e ? y.enable("analytics:" + (e || "*")) : y.disable() | |
}; | |
o.prototype._options = function(e) { | |
e = e || {}; | |
this.options = e; | |
h.options(e.cookie); | |
g.options(e.metrics); | |
M.options(e.localStorage); | |
O.options(e.user); | |
k.options(e.group); | |
return this | |
}; | |
o.prototype._callback = function(e) { | |
_.fn(e) && (this._timeout ? setTimeout(e, this._timeout) : A(e)); | |
return this | |
}; | |
o.prototype._invoke = function(e, t) { | |
var n = this; | |
g.increment("analytics_js.invoke", { | |
method: e | |
}); | |
this.emit("invoke", t); | |
var o = n.failedInitializations || []; | |
v(function(i, a) { | |
if (t.enabled(a)) | |
if (o.indexOf(a) >= 0) n.log("Skipping invokation of .%s method of %s integration. Integation failed to initialize properly.", e, a); | |
else try { | |
g.increment("analytics_js.integration.invoke", { | |
method: e, | |
integration_name: i.name | |
}); | |
i.invoke.call(i, e, t) | |
} catch (r) { | |
g.increment("analytics_js.integration.invoke.error", { | |
method: e, | |
integration_name: i.name | |
}); | |
n.log("Error invoking .%s method of %s integration: %o", e, a, r) | |
} | |
}, 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 w(function(t, i, a) { | |
if (a.substr(0, o) === e) { | |
n = a.substr(o); | |
t[n] = i | |
} | |
return t | |
}, {}, t) | |
} | |
var n = N.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 && O.anonymousId(n.ajs_aid); | |
return this | |
}; | |
o.prototype.normalize = function(e) { | |
e = C(e, j(this._integrations)); | |
e.anonymousId && O.anonymousId(e.anonymousId); | |
e.anonymousId = O.anonymousId(); | |
e.context.page = b(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 = h; | |
t.exports.memory = I; | |
t.exports.store = M; | |
t.exports.metrics = g | |
}).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": 800, | |
"@segment/prevent-default": 813, | |
"bind-all": 823, | |
"component-emitter": 830, | |
"component-event": 831, | |
"component-querystring": 834, | |
"component-type": 836, | |
"debug": 840, | |
"extend": 34, | |
"is": 851, | |
"next-tick": 867, | |
"segmentio-facade": 883 | |
}], | |
24: [function(e, t, n) { | |
"use strict"; | |
function o(e) { | |
this.options(e) | |
} | |
var i = e("bind-all"), | |
a = e("@ndhoule/clone"), | |
r = 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); | |
r(e, t, a(this._options)); | |
return !0 | |
} catch (n) { | |
return !1 | |
} | |
}; | |
o.prototype.get = function(e) { | |
try { | |
var t = r(e); | |
t = t ? p.parse(t) : null; | |
return t | |
} catch (n) { | |
return null | |
} | |
}; | |
o.prototype.remove = function(e) { | |
try { | |
r(e, null, a(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": 818, | |
"bind-all": 823, | |
"component-cookie": 827, | |
"debug": 840, | |
"json3": 856 | |
}], | |
25: [function(e, t, n) { | |
"use strict"; | |
function o(e) { | |
this.options(e); | |
this.initialize() | |
} | |
var i = e("@ndhoule/clone"), | |
a = e("./cookie"), | |
r = e("debug")("analytics:entity"), | |
s = e("@ndhoule/defaults"), | |
c = e("@ndhoule/extend"), | |
p = e("./memory"), | |
u = e("./store"), | |
l = e("@segment/isodate-traverse"); | |
t.exports = o; | |
o.prototype.initialize = function() { | |
a.set("ajs:cookies", !0); | |
if (a.get("ajs:cookies")) { | |
a.remove("ajs:cookies"); | |
this._storage = a | |
} else if (u.enabled) this._storage = u; | |
else { | |
r("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._options; | |
this._options = s(e || {}, this.defaults || {}) | |
}; | |
o.prototype.id = function(e) { | |
switch (arguments.length) { | |
case 0: | |
return this._getId(); | |
case 1: | |
return this._setId(e) | |
} | |
}; | |
o.prototype._getId = function() { | |
var e = this._options.persist ? this.storage().get(this._options.cookie.key) : this._id; | |
return e === undefined ? null : e | |
}; | |
o.prototype._setId = function(e) { | |
this._options.persist ? this.storage().set(this._options.cookie.key, e) : this._id = e | |
}; | |
o.prototype.properties = o.prototype.traits = function(e) { | |
switch (arguments.length) { | |
case 0: | |
return this._getTraits(); | |
case 1: | |
return this._setTraits(e) | |
} | |
}; | |
o.prototype._getTraits = function() { | |
var e = this._options.persist ? u.get(this._options.localStorage.key) : this._traits; | |
return e ? l(i(e)) : {} | |
}; | |
o.prototype._setTraits = function(e) { | |
e = e || {}; | |
this._options.persist ? u.set(this._options.localStorage.key, e) : this._traits = e | |
}; | |
o.prototype.identify = function(e, t) { | |
t = t || {}; | |
var n = this.id(); | |
null !== n && n !== e || (t = c(this.traits(), t)); | |
e && this.id(e); | |
this.debug("identify %o, %o", e, t); | |
this.traits(t); | |
this.save() | |
}; | |
o.prototype.save = function() { | |
if (!this._options.persist) return !1; | |
a.set(this._options.cookie.key, this.id()); | |
u.set(this._options.localStorage.key, this.traits()); | |
return !0 | |
}; | |
o.prototype.logout = function() { | |
this.id(null); | |
this.traits({}); | |
a.remove(this._options.cookie.key); | |
u.remove(this._options.localStorage.key) | |
}; | |
o.prototype.reset = function() { | |
this.logout(); | |
this.options({}) | |
}; | |
o.prototype.load = function() { | |
this.id(a.get(this._options.cookie.key)); | |
this.traits(u.get(this._options.localStorage.key)) | |
} | |
}, { | |
"./cookie": 24, | |
"./memory": 28, | |
"./store": 32, | |
"@ndhoule/clone": 7, | |
"@ndhoule/defaults": 8, | |
"@ndhoule/extend": 13, | |
"@segment/isodate-traverse": 801, | |
"debug": 840 | |
}], | |
26: [function(e, t, n) { | |
"use strict"; | |
function o(e) { | |
this.defaults = o.defaults; | |
this.debug = r; | |
i.call(this, e) | |
} | |
var i = e("./entity"), | |
a = e("bind-all"), | |
r = e("debug")("analytics:group"), | |
s = e("inherits"); | |
o.defaults = { | |
persist: !0, | |
cookie: { | |
key: "ajs_group_id" | |
}, | |
localStorage: { | |
key: "ajs_group_properties" | |
} | |
}; | |
s(o, i); | |
t.exports = a(new o); | |
t.exports.Group = o | |
}, { | |
"./entity": 25, | |
"bind-all": 823, | |
"debug": 840, | |
"inherits": 848 | |
}], | |
27: [function(e, t, n) { | |
"use strict"; | |
var o = e("./analytics"), | |
i = new o; | |
i.require = e; | |
i.VERSION = e("../package.json").version; | |
t.exports = i | |
}, { | |
"../package.json": 35, | |
"./analytics": 23 | |
}], | |
28: [function(e, t, n) { | |
"use strict"; | |
function o() { | |
this.store = {} | |
} | |
var i = e("bind-all"), | |
a = e("@ndhoule/clone"), | |
r = Object.prototype.hasOwnProperty; | |
t.exports = i(new o); | |
o.prototype.set = function(e, t) { | |
this.store[e] = a(t); | |
return !0 | |
}; | |
o.prototype.get = function(e) { | |
if (r.call(this.store, e)) return a(this.store[e]) | |
}; | |
o.prototype.remove = function(e) { | |
delete this.store[e]; | |
return !0 | |
} | |
}, { | |
"@ndhoule/clone": 7, | |
"bind-all": 823 | |
}], | |
29: [function(e, t, n) { | |
"use strict"; | |
function o(e) { | |
this.options(e) | |
} | |
var i = e("bind-all"), | |
a = e("@segment/send-json"), | |
r = e("debug")("analytics.js:metrics"); | |
o.prototype.options = function(e) { | |
e = e || {}; | |
this.host = e.host || "api.segment.io/v1"; | |
this.sampleRate = e.sampleRate || 0; | |
this.flushTimer = e.flushTimer || 3e4; | |
this.maxQueueSize = e.maxQueueSize || 20; | |
this.queue = []; | |
if (this.sampleRate > 0) { | |
var t = this; | |
setInterval(function() { | |
t._flush() | |
}, this.flushTimer) | |
} | |
}; | |
o.prototype.increment = function(e, t) { | |
if (!(Math.random() > this.sampleRate || this.queue.length >= this.maxQueueSize)) { | |
this.queue.push({ | |
type: "Counter", | |
metric: e, | |
value: 1, | |
tags: t | |
}); | |
e.indexOf("error") > 0 && this._flush() | |
} | |
}; | |
o.prototype._flush = function() { | |
var e = this; | |
if (!(e.queue.length <= 0)) { | |
var t = { | |
series: this.queue | |
}, | |
n = { | |
"Content-Type": "text/plain" | |
}; | |
e.queue = []; | |
"xhr" === a.type && a("https://" + this.host + "/m", t, n, function(e, n) { | |
r("sent %O, received %O", t, [e, n]) | |
}) | |
} | |
}; | |
t.exports = i(new o); | |
t.exports.Metrics = o | |
}, { | |
"@segment/send-json": 815, | |
"bind-all": 823, | |
"debug": 840 | |
}], | |
30: [function(e, t, n) { | |
"use strict"; | |
function o(e, t) { | |
function n(e) { | |
return !(!s(e, t) && "all" !== e.toLowerCase() && !s(e.toLowerCase(), o)) | |
} | |
var o = c(function(e) { | |
return e.toLowerCase() | |
}, t), | |
d = e.options || {}, | |
f = d.integrations || {}, | |
m = d.providers || {}, | |
h = d.context || {}, | |
g = {}; | |
i("<-", e); | |
r(function(e, t) { | |
if (n(t)) { | |
u.call(f, t) || (f[t] = e); | |
delete d[t] | |
} | |
}, d); | |
delete d.providers; | |
r(function(e, t) { | |
n(t) && "object" !== p(f[t]) && (u.call(f, t) && "boolean" == typeof m[t] || (f[t] = e)) | |
}, m); | |
r(function(e, t) { | |
s(t, l) ? g[t] = d[t] : h[t] = d[t] | |
}, d); | |
delete e.options; | |
g.integrations = f; | |
g.context = h; | |
g = a(g, e); | |
i("->", g); | |
return g | |
} | |
var i = e("debug")("analytics.js:normalize"), | |
a = e("@ndhoule/defaults"), | |
r = e("@ndhoule/each"), | |
s = e("@ndhoule/includes"), | |
c = e("@ndhoule/map"), | |
p = e("component-type"), | |
u = Object.prototype.hasOwnProperty; | |
t.exports = o; | |
var l = ["integrations", "anonymousId", "timestamp", "context"] | |
}, { | |
"@ndhoule/defaults": 8, | |
"@ndhoule/each": 10, | |
"@ndhoule/includes": 15, | |
"@ndhoule/map": 17, | |
"component-type": 836, | |
"debug": 840 | |
}], | |
31: [function(e, t, n) { | |
"use strict"; | |
function o() { | |
return { | |
path: i(), | |
referrer: document.referrer, | |
search: location.search, | |
title: document.title, | |
url: a(location.search) | |
} | |
} | |
function i() { | |
var e = r(); | |
return e ? c.parse(e).pathname : window.location.pathname | |
} | |
function a(e) { | |
var t = r(); | |
if (t) return s("?", t) ? t : t + e; | |
var n = window.location.href, | |
o = n.indexOf("#"); | |
return -1 === o ? n : n.slice(0, o) | |
} | |
var r = e("@segment/canonical"), | |
s = e("@ndhoule/includes"), | |
c = e("component-url"); | |
t.exports = o | |
}, { | |
"@ndhoule/includes": 15, | |
"@segment/canonical": 797, | |
"component-url": 837 | |
}], | |
32: [function(e, t, n) { | |
"use strict"; | |
function o(e) { | |
this.options(e) | |
} | |
var i = e("bind-all"), | |
a = e("@ndhoule/defaults"), | |
r = e("@segment/store"); | |
o.prototype.options = function(e) { | |
if (0 === arguments.length) return this._options; | |
e = e || {}; | |
a(e, { | |
enabled: !0 | |
}); | |
this.enabled = e.enabled && r.enabled; | |
this._options = e | |
}; | |
o.prototype.set = function(e, t) { | |
return !!this.enabled && r.set(e, t) | |
}; | |
o.prototype.get = function(e) { | |
return this.enabled ? r.get(e) : null | |
}; | |
o.prototype.remove = function(e) { | |
return !!this.enabled && r.remove(e) | |
}; | |
t.exports = i(new o); | |
t.exports.Store = o | |
}, { | |
"@ndhoule/defaults": 8, | |
"@segment/store": 816, | |
"bind-all": 823 | |
}], | |
33: [function(e, t, n) { | |
"use strict"; | |
function o(e) { | |
this.defaults = o.defaults; | |
this.debug = s; | |
i.call(this, e) | |
} | |
var i = e("./entity"), | |
a = e("bind-all"), | |
r = e("./cookie"), | |
s = e("debug")("analytics:user"), | |
c = e("inherits"), | |
p = e("component-cookie"), | |
u = e("uuid"); | |
o.defaults = { | |
persist: !0, | |
cookie: { | |
key: "ajs_user_id", | |
oldKey: "ajs_user" | |
}, | |
localStorage: { | |
key: "ajs_user_traits" | |
} | |
}; | |
c(o, i); | |
o.prototype.id = function(e) { | |
var t = this._getId(), | |
n = i.prototype.id.apply(this, arguments); | |
if (null == t) return n; | |
t != e && e && this.anonymousId(null); | |
return n | |
}; | |
o.prototype.anonymousId = function(e) { | |
var t = this.storage(); | |
if (arguments.length) { | |
t.set("ajs_anonymous_id", e); | |
return this | |
} | |
e = t.get("ajs_anonymous_id"); | |
if (e) return e; | |
e = p("_sio"); | |
if (e) { | |
e = e.split("----")[0]; | |
t.set("ajs_anonymous_id", e); | |
t.remove("_sio"); | |
return e | |
} | |
e = u.v4(); | |
t.set("ajs_anonymous_id", e); | |
return t.get("ajs_anonymous_id") | |
}; | |
o.prototype.logout = function() { | |
i.prototype.logout.call(this); | |
this.anonymousId(null) | |
}; | |
o.prototype.load = function() { | |
this._loadOldCookie() || i.prototype.load.call(this) | |
}; | |
o.prototype._loadOldCookie = function() { | |
var e = r.get(this._options.cookie.oldKey); | |
if (!e) return !1; | |
this.id(e.id); | |
this.traits(e.traits); | |
r.remove(this._options.cookie.oldKey); | |
return !0 | |
}; | |
t.exports = a(new o); | |
t.exports.User = o | |
}, { | |
"./cookie": 24, | |
"./entity": 25, | |
"bind-all": 823, | |
"component-cookie": 827, | |
"debug": 840, | |
"inherits": 848, | |
"uuid": 907 | |
}], | |
34: [function(e, t, n) { | |
"use strict"; | |
var o = Object.prototype.hasOwnProperty, | |
i = Object.prototype.toString, | |
a = function(e) { | |
return "function" == typeof Array.isArray ? Array.isArray(e) : "[object Array]" === i.call(e) | |
}, | |
r = 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 a; | |
for (a in e); | |
return void 0 === a || o.call(e, a) | |
}; | |
t.exports = function s() { | |
var e, t, n, o, i, c, p = arguments[0], | |
u = 1, | |
l = arguments.length, | |
d = !1; | |
if ("boolean" == typeof p) { | |
d = p; | |
p = arguments[1] || {}; | |
u = 2 | |
}(null == p || "object" != typeof p && "function" != typeof p) && (p = {}); | |
for (; u < l; ++u) { | |
e = arguments[u]; | |
if (null != e) | |
for (t in e) { | |
n = p[t]; | |
o = e[t]; | |
if (p !== o) | |
if (d && o && (r(o) || (i = a(o)))) { | |
if (i) { | |
i = !1; | |
c = n && a(n) ? n : [] | |
} else c = n && r(n) ? n : {}; | |
p[t] = s(d, c, o) | |
} else void 0 !== o && (p[t] = o) | |
} | |
} | |
return p | |
} | |
}, {}], | |
35: [function(e, t, n) { | |
t.exports = { | |
"_args": [ | |
[{ | |
"raw": "@segment/[email protected]", | |
"scope": "@segment", | |
"escapedName": "@segment%2fanalytics.js-core", | |
"name": "@segment/analytics.js-core", | |
"rawSpec": "3.7.2", | |
"spec": "3.7.2", | |
"type": "version" | |
}, "/home/circleci/project"] | |
], | |
"_from": "@segment/[email protected]", | |
"_hasShrinkwrap": !1, | |
"_id": "@segment/[email protected]", | |
"_inCache": !0, | |
"_location": "/@segment/analytics.js-core", | |
"_nodeVersion": "8.11.3", | |
"_npmOperationalInternal": { | |
"host": "s3://npm-registry-packages", | |
"tmp": "tmp/analytics.js-core_3.7.2_1532984206353_0.43287702783300386" | |
}, | |
"_npmUser": { | |
"name": "segment-admin", | |
"email": "[email protected]" | |
}, | |
"_npmVersion": "5.6.0", | |
"_phantomChildren": {}, | |
"_requested": { | |
"raw": "@segment/[email protected]", | |
"scope": "@segment", | |
"escapedName": "@segment%2fanalytics.js-core", | |
"name": "@segment/analytics.js-core", | |
"rawSpec": "3.7.2", | |
"spec": "3.7.2", | |
"type": "version" | |
}, | |
"_requiredBy": ["#DEV:/", "#USER"], | |
"_resolved": "https://registry.npmjs.org/@segment/analytics.js-core/-/analytics.js-core-3.7.2.tgz", | |
"_shasum": "4e663b49ec5c9cb6baf40394ba798a6d84075a1f", | |
"_shrinkwrap": null, | |
"_spec": "@segment/[email protected]", | |
"_where": "/home/circleci/project", | |
"author": { | |
"name": "Segment", | |
"email": "[email protected]" | |
}, | |
"bugs": { | |
"url": "https://github.com/segmentio/analytics.js-core/issues" | |
}, | |
"dependencies": { | |
"@ndhoule/after": "^1.0.0", | |
"@ndhoule/clone": "^1.0.0", | |
"@ndhoule/defaults": "^2.0.1", | |
"@ndhoule/each": "^2.0.1", | |
"@ndhoule/extend": "^2.0.0", | |
"@ndhoule/foldl": "^2.0.1", | |
"@ndhoule/includes": "^2.0.1", | |
"@ndhoule/keys": "^2.0.0", | |
"@ndhoule/map": "^2.0.1", | |
"@ndhoule/pick": "^2.0.0", | |
"@segment/canonical": "^1.0.0", | |
"@segment/is-meta": "^1.0.0", | |
"@segment/isodate": "^1.0.2", | |
"@segment/isodate-traverse": "^1.0.1", | |
"@segment/prevent-default": "^1.0.0", | |
"@segment/send-json": "^3.0.0", | |
"@segment/store": "^1.3.20", | |
"@segment/top-domain": "^3.0.0", | |
"bind-all": "^1.0.0", | |
"component-cookie": "^1.1.2", | |
"component-emitter": "^1.2.1", | |
"component-event": "^0.1.4", | |
"component-querystring": "^2.0.0", | |
"component-type": "^1.2.1", | |
"component-url": "^0.2.1", | |
"debug": "^0.7.4", | |
"extend": "3.0.1", | |
"inherits": "^2.0.1", | |
"install": "^0.7.3", | |
"is": "^3.1.0", | |
"json3": "^3.3.2", | |
"new-date": "^1.0.0", | |
"next-tick": "^0.2.2", | |
"segmentio-facade": "^3.0.2", | |
"uuid": "^2.0.2" | |
}, | |
"description": "The hassle-free way to integrate analytics into any web application.", | |
"devDependencies": { | |
"@segment/analytics.js-integration": "^3.2.1", | |
"@segment/eslint-config": "^4.0.0", | |
"browserify": "13.0.0", | |
"browserify-istanbul": "^2.0.0", | |
"codecov": "^3.0.2", | |
"compat-trigger-event": "^1.0.0", | |
"component-each": "^0.2.6", | |
"eslint": "^4.19.1", | |
"eslint-config-prettier": "^2.9.0", | |
"eslint-plugin-mocha": "^5.0.0", | |
"eslint-plugin-react": "^7.9.1", | |
"eslint-plugin-require-path-exists": "^1.1.8", | |
"husky": "^0.14.3", | |
"istanbul": "^0.4.3", | |
"jquery": "^3.2.1", | |
"karma": "1.3.0", | |
"karma-browserify": "^5.0.4", | |
"karma-chrome-launcher": "^1.0.1", | |
"karma-coverage": "^1.0.0", | |
"karma-junit-reporter": "^1.0.0", | |
"karma-mocha": "1.0.1", | |
"karma-phantomjs-launcher": "^1.0.0", | |
"karma-sauce-launcher": "^1.0.0", | |
"karma-spec-reporter": "0.0.26", | |
"karma-summary-reporter": "^1.5.0", | |
"lint-staged": "^7.2.0", | |
"mocha": "^2.2.5", | |
"np": "^3.0.4", | |
"phantomjs-prebuilt": "^2.1.7", | |
"prettier-eslint-cli": "^4.7.1", | |
"proclaim": "^3.4.1", | |
"sinon": "^1.7.3", | |
"snyk": "^1.83.0", | |
"watchify": "^3.7.0" | |
}, | |
"directories": {}, | |
"dist": { | |
"integrity": "sha512-+I0jGiZka4oZVZCXCYmTdG0h0kebcqXLVWTgDp/ZiXGwUeVjT6yfk2H69j7NbAJDMUg09db0nEMbZcyjltX/Zw==", | |
"shasum": "4e663b49ec5c9cb6baf40394ba798a6d84075a1f", | |
"tarball": "https://registry.npmjs.org/@segment/analytics.js-core/-/analytics.js-core-3.7.2.tgz", | |
"fileCount": 37, | |
"unpackedSize": 421728, | |
"npm-signature": "-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbX3uOCRA9TVsSAnZWagAAKdIP/AmpWM38cQxry0BhNfrH\nBzpKUIxTALZjPn+Y8/DU1RXp7Wn37HBhKApTS+4Mx9VcnSAWNDty2hI6InqD\npPbX3Hbq38KHWHqojA18WpN4pWiTCeizZdQq/TbJkZFDi+DNXcbDj+DmJtdW\n6n0zIopMOhwyPxWh5YxS/JtP5uLtfZMQRupZnxg0PK+cYBEmmIWAVbg1WNSi\nR38GialSvVjQnUEQKkzD/QItUkN7rhJbSEuU8CHcOzL3Rx1QvI2kQNwJe//y\ngZ4UujBEBgowCM08ZlVISKkfGDjHft0NWrokvvzkuO35MwsnPWZpf5ul6UzB\nIhq55iGAdK45mUlLA2I/8ajnAbustB4L2+//NTbZ++o1MX5e7zdbKndIyRDE\n9RBJNwtGmT/pqPJIGlaz3VMWHRIGy3+wd8GO3v02g1hkHT+9idf1EdIwOIkT\nT76xvwhX9OM+eMfW1KkSVSceZfh44skyNJuBavugTb6HlhOzlqgi2BYOBVmI\ndXnLkVS/o9lmL34czA2Jq3auFqGVH6r+Afo3hurZ5Fo9L9syoaXy/ybfGfwn\nBt7HrsgCbh0eHp/oKrhAW9M8HFgEhs6/vrFozigRaOMlJViMwRBl2AHjBQis\nk/KjZD1tti8zSdIhJuE9c4Rlm9ce7ViNrsIwxfM4rCFbQyJ6Eq/O7LSbArro\nw2pZ\r\n=SjFM\r\n-----END PGP SIGNATURE-----\r\n" | |
}, | |
"gitHead": "a2ad22ca8df361ac7439510fe468c1fa9bf5f3ab", | |
"homepage": "https://github.com/segmentio/analytics.js-core#readme", | |
"keywords": ["analytics", "analytics.js", "segment", "segment.io"], | |
"license": "SEE LICENSE IN LICENSE", | |
"lint-staged": { | |
"linters": { | |
"*.{js,json,md}": ["prettier-eslint --write", "git add"] | |
} | |
}, | |
"main": "lib/index.js", | |
"maintainers": [{ | |
"name": "achille-roussel", | |
"email": "[email protected]" | |
}, { | |
"name": "alan-segment", | |
"email": "[email protected]" | |
}, { | |
"name": "albert.segment", | |
"email": "[email protected]" | |
}, { | |
"name": "amillet89", | |
"email": "[email protected]" | |
}, { | |
"name": "andreiko_ru", | |
"email": "[email protected]" | |
}, { | |
"name": "anoonan", | |
"email": "[email protected]" | |
}, { | |
"name": "atrivedi1", | |
"email": "[email protected]" | |
}, { | |
"name": "bgamwell", | |
"email": "[email protected]" | |
}, { | |
"name": "boggsboggs", | |
"email": "[email protected]" | |
}, { | |
"name": "calvinfo", | |
"email": "[email protected]" | |
}, { | |
"name": "carlosmecha", | |
"email": "[email protected]" | |
}, { | |
"name": "ccnixon", | |
"email": "[email protected]" | |
}, { | |
"name": "chenpengcheng", | |
"email": "[email protected]" | |
}, { | |
"name": "chrisbuttery", | |
"email": "[email protected]" | |
}, { | |
"name": "colinking", | |
"email": "[email protected]" | |
}, { | |
"name": "cyrusroshan", | |
"email": "[email protected]" | |
}, { | |
"name": "dfuentes", | |
"email": "[email protected]" | |
}, { | |
"name": "dominicbarnes", | |
"email": "[email protected]" | |
}, { | |
"name": "dscrobonia", | |
"email": "[email protected]" | |
}, { | |
"name": "eesegment", | |
"email": "[email protected]" | |
}, { | |
"name": "emilio-gomez-lavin", | |
"email": "[email protected]" | |
}, { | |
"name": "emily.luckette", | |
"email": "[email protected]" | |
}, { | |
"name": "erickimsegment", | |
"email": "[email protected]" | |
}, { | |
"name": "estela-diaz", | |
"email": "[email protected]" | |
}, { | |
"name": "f2prateek", | |
"email": "[email protected]" | |
}, { | |
"name": "fathyb", | |
"email": "[email protected]" | |
}, { | |
"name": "fforres", | |
"email": "[email protected]" | |
}, { | |
"name": "flaque", | |
"email": "[email protected]" | |
}, { | |
"name": "gnijor", | |
"email": "[email protected]" | |
}, { | |
"name": "hanothan", | |
"email": "[email protected]" | |
}, { | |
"name": "ivolo", | |
"email": "[email protected]" | |
}, { | |
"name": "jamesmcguinness", | |
"email": "[email protected]" | |
}, { | |
"name": "jeroenransijn", | |
"email": "[email protected]" | |
}, { | |
"name": "jfabre-segment", | |
"email": "[email protected]" | |
}, { | |
"name": "jfarah", | |
"email": "[email protected]" | |
}, { | |
"name": "jfmaggie", | |
"email": "[email protected]" | |
}, { | |
"name": "jlee9595", | |
"email": "[email protected]" | |
}, { | |
"name": "joeybloggs", | |
"email": "[email protected]" | |
}, { | |
"name": "josh_segment", | |
"email": "[email protected]" | |
}, { | |
"name": "joshwget", | |
"email": "[email protected]" | |
}, { | |
"name": "ladanazita", | |
"email": "[email protected]" | |
}, { | |
"name": "lauramunozjimenez", | |
"email": "[email protected]" | |
}, { | |
"name": "leifdreizler", | |
"email": "[email protected]" | |
}, { | |
"name": "mag" | |
}, { | |
"name": "maxence-charriere", | |
"email": "[email protected]" | |
}, { | |
"name": "monicadamborenea", | |
"email": "[email protected]" | |
}, { | |
"name": "msanterre", | |
"email": "[email protected]" | |
}, { | |
"name": "mshwery", | |
"email": "[email protected]" | |
}, { | |
"name": "n2parko", | |
"email": "[email protected]" | |
}, { | |
"name": "nettofarah", | |
"email": "[email protected]" | |
}, { | |
"name": "notfelineit", | |
"email": "[email protected]" | |
}, { | |
"name": "nucleartide", | |
"email": "[email protected]" | |
}, { | |
"name": "nzoschke", | |
"email": "[email protected]" | |
}, { | |
"name": "peripheral", | |
"email": "[email protected]" | |
}, { | |
"name": "rarchana2001asu", | |
"email": "[email protected]" | |
}, { | |
"name": "rlc4", | |
"email": "[email protected]" | |
}, { | |
"name": "rowno", | |
"email": "[email protected]" | |
}, { | |
"name": "rpaul80", | |
"email": "[email protected]" | |
}, { | |
"name": "sahilp", | |
"email": "[email protected]" | |
}, { | |
"name": "segment-admin", | |
"email": "[email protected]" | |
}, { | |
"name": "segment-anastassia", | |
"email": "[email protected]" | |
}, { | |
"name": "segment-andy-yeo", | |
"email": "[email protected]" | |
}, { | |
"name": "segment-cyammine", | |
"email": "[email protected]" | |
}, { | |
"name": "segment-danielstjules", | |
"email": "[email protected]" | |
}, { | |
"name": "segment-scott", | |
"email": "[email protected]" | |
}, { | |
"name": "segment-ulysse", | |
"email": "[email protected]" | |
}, { | |
"name": "segmentaimee", | |
"email": "[email protected]" | |
}, { | |
"name": "segmentio", | |
"email": "[email protected]" | |
}, { | |
"name": "segmentmfischer", | |
"email": "[email protected]" | |
}, { | |
"name": "sperand-io", | |
"email": "[email protected]" | |
}, { | |
"name": "srthurman", | |
"email": "[email protected]" | |
}, { | |
"name": "systemizer", | |
"email": "[email protected]" | |
}, { | |
"name": "tamarrow", | |
"email": "[email protected]" | |
}, { | |
"name": "tejasmanohar", | |
"email": "[email protected]" | |
}, { | |
"name": "tyson_segment", | |
"email": "[email protected]" | |
}, { | |
"name": "vdemedes", | |
"email": "[email protected]" | |
}, { | |
"name": "willallison", | |
"email": "[email protected]" | |
}, { | |
"name": "williams-blake", | |
"email": "[email protected]" | |
}, { | |
"name": "xagos", | |
"email": "[email protected]" | |
}, { | |
"name": "yields", | |
"email": "[email protected]" | |
}], | |
"name": "@segment/analytics.js-core", | |
"optionalDependencies": {}, | |
"readme": "ERROR: No README data found!", | |
"repository": { | |
"type": "git", | |
"url": "git+https://github.com/segmentio/analytics.js-core.git" | |
}, | |
"scripts": { | |
"format": 'prettier-eslint --write --list-different "./{lib,test}/**/*.{js,json,md}"', | |
"lint": 'eslint "./{lib,test}/**/*.js"', | |
"np": "np --no-publish", | |
"precommit": "lint-staged", | |
"test": "make test" | |
}, | |
"version": "3.7.2" | |
} | |
}, {}], | |
36: [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": 37 | |
}], | |
37: [function(e, t, n) { | |
"use strict"; | |
function o(e) { | |
function t(n) { | |
if (n && n.addIntegration) return n.addIntegration(t); | |
this.debug = r("analytics:integration:" + p(e)); | |
this.options = s(a(n) || {}, this.defaults); | |
this._queue = []; | |
this.once("ready", i(this, this.flush)); | |
t.emit("construct", this); | |
this.ready = i(this, this.ready); | |
this._wrapInitialize(); | |
this._wrapPage(); | |
this._wrapTrack() | |
} | |
t.prototype.defaults = {}; | |
t.prototype.globals = []; | |
t.prototype.templates = {}; | |
t.prototype.name = e; | |
c(t, l); | |
c(t.prototype, u); | |
return t | |
} | |
var i = e("component-bind"), | |
a = e("@ndhoule/clone"), | |
r = e("debug"), | |
s = e("@ndhoule/defaults"), | |
c = e("@ndhoule/extend"), | |
p = e("slug-component"), | |
u = e("./protos"), | |
l = e("./statics"); | |
t.exports = o | |
}, { | |
"./protos": 38, | |
"./statics": 39, | |
"@ndhoule/clone": 7, | |
"@ndhoule/defaults": 8, | |
"@ndhoule/extend": 13, | |
"component-bind": 825, | |
"debug": 41, | |
"slug-component": 889 | |
}], | |
38: [function(e, t, n) { | |
"use strict"; | |
function o(e) { | |
return h.array(e) ? d(i, e) ? "mixed" : "array" : h.object(e) ? "map" : "unknown" | |
} | |
function i(e) { | |
return !!h.object(e) && (!!h.string(e.key) && !!w.call(e, "value")) | |
} | |
function a(e, t) { | |
t = t || function() {}; | |
var n = new Image; | |
n.onerror = r(t, "failed to load pixel", n); | |
n.onload = function() { | |
t() | |
}; | |
n.src = e.src; | |
n.width = 1; | |
n.height = 1; | |
return n | |
} | |
function r(e, t, n) { | |
return function(o) { | |
o = o || window.event; | |
var i = new Error(t); | |
i.event = o; | |
i.source = n; | |
e(i) | |
} | |
} | |
function s(e, t) { | |
return m(function(e, n, o) { | |
e[o] = n.replace(/\{\{\ *(\w+)\ *\}\}/g, function(e, n) { | |
return t[n] | |
}); | |
return e | |
}, {}, e.attrs) | |
} | |
var c = e("component-emitter"), | |
p = e("@ndhoule/after"), | |
u = e("@ndhoule/each"), | |
l = e("analytics-events"), | |
d = e("@ndhoule/every"), | |
f = e("@segment/fmt"), | |
m = e("@ndhoule/foldl"), | |
h = e("is"), | |
g = e("load-iframe"), | |
y = e("@segment/load-script"), | |
b = e("next-tick"), | |
v = e("to-no-case"), | |
w = Object.prototype.hasOwnProperty, | |
k = function() {}, | |
_ = window.onerror; | |
c(n); | |
n.initialize = function() { | |
var e = this.ready; | |
b(e) | |
}; | |
n.loaded = function() { | |
return !1 | |
}; | |
n.page = function(e) {}; | |
n.track = function(e) {}; | |
n.map = function(e, t) { | |
var n = v(t), | |
i = o(e); | |
return "unknown" === i ? [] : m(function(e, t, o) { | |
var a, r; | |
if ("map" === i) { | |
a = o; | |
r = t | |
} | |
if ("array" === i) { | |
a = t; | |
r = t | |
} | |
if ("mixed" === i) { | |
a = t.key; | |
r = t.value | |
} | |
v(a) === n && e.push(r); | |
return e | |
}, [], e) | |
}; | |
n.invoke = function(e) { | |
if (this[e]) { | |
var t = Array.prototype.slice.call(arguments, 1); | |
if (!this._ready) return this.queue(e, t); | |
this.debug("%s with %o", e, t); | |
return this[e].apply(this, t) | |
} | |
}; | |
n.queue = function(e, t) { | |
if ("page" === e && this._assumesPageview && !this._initialized) return this.page.apply(this, t); | |
this._queue.push({ | |
method: e, | |
args: t | |
}) | |
}; | |
n.flush = function() { | |
this._ready = !0; | |
var e = this; | |
u(function(t) { | |
e[t.method].apply(e, t.args) | |
}, this._queue); | |
this._queue.length = 0 | |
}; | |
n.reset = function() { | |
for (var e = 0; e < this.globals.length; e++) window[this.globals[e]] = undefined; | |
window.onerror = _; | |
window.onload = null | |
}; | |
n.load = function(e, t, n) { | |
if ("function" == typeof e) { | |
n = e; | |
t = null; | |
e = null | |
} | |
if (e && "object" == typeof e) { | |
n = t; | |
t = e; | |
e = null | |
} | |
if ("function" == typeof t) { | |
n = t; | |
t = null | |
} | |
e = e || "library"; | |
t = t || {}; | |
t = this.locals(t); | |
var o = this.templates[e]; | |
if (!o) throw new Error(f('template "%s" not defined.', e)); | |
var i = s(o, t); | |
n = n || k; | |
var r, c = this; | |
switch (o.type) { | |
case "img": | |
i.width = 1; | |
i.height = 1; | |
r = a(i, n); | |
break; | |
case "script": | |
r = y(i, function(e) { | |
if (!e) return n(); | |
c.debug('error loading "%s" error="%s"', c.name, e) | |
}); | |
delete i.src; | |
u(function(e, t) { | |
r.setAttribute(t, e) | |
}, i); | |
break; | |
case "iframe": | |
r = g(i, n) | |
} | |
return r | |
}; | |
n.locals = function(e) { | |
e = e || {}; | |
var t = Math.floor((new Date).getTime() / 36e5); | |
e.hasOwnProperty("cache") || (e.cache = t); | |
u(function(t, n) { | |
e.hasOwnProperty(n) || (e[n] = t) | |
}, this.options); | |
return e | |
}; | |
n.ready = function() { | |
this.emit("ready") | |
}; | |
n._wrapInitialize = function() { | |
var e = this.initialize; | |
this.initialize = function() { | |
this.debug("initialize"); | |
this._initialized = !0; | |
var t = e.apply(this, arguments); | |
this.emit("initialize"); | |
return t | |
}; | |
this._assumesPageview && (this.initialize = p(2, this.initialize)) | |
}; | |
n._wrapPage = function() { | |
var e = this.page; | |
this.page = function() { | |
return this._assumesPageview && !this._initialized ? this.initialize.apply(this, arguments) : e.apply(this, arguments) | |
} | |
}; | |
n._wrapTrack = function() { | |
var e = this.track; | |
this.track = function(t) { | |
var n, o, i = t.event(); | |
for (var a in l) | |
if (w.call(l, a)) { | |
var r = l[a]; | |
if (!this[a]) continue; | |
if (!r.test(i)) continue; | |
o = this[a].apply(this, arguments); | |
n = !0; | |
break | |
} n || (o = e.apply(this, arguments)); | |
return o | |
} | |
} | |
}, { | |
"@ndhoule/after": 5, | |
"@ndhoule/each": 10, | |
"@ndhoule/every": 12, | |
"@ndhoule/foldl": 14, | |
"@segment/fmt": 799, | |
"@segment/load-script": 803, | |
"analytics-events": 40, | |
"component-emitter": 830, | |
"is": 851, | |
"load-iframe": 860, | |
"next-tick": 867, | |
"to-no-case": 895 | |
}], | |
39: [function(e, t, n) { | |
"use strict"; | |
function o(e) { | |
e = e.replace(' src="', ' data-src="'); | |
var t = a(e), | |
n = {}; | |
r(function(t) { | |
var o = "data-src" === t.name ? "src" : t.name; | |
s(t.name + "=", e) && (n[o] = t.value) | |
}, t.attributes); | |
return { | |
type: t.tagName.toLowerCase(), | |
attrs: n | |
} | |
} | |
var i = e("component-emitter"), | |
a = e("domify"), | |
r = e("@ndhoule/each"), | |
s = e("@ndhoule/includes"); | |
i(n); | |
n.option = function(e, t) { | |
this.prototype.defaults[e] = t; | |
return this | |
}; | |
n.mapping = function(e) { | |
this.option(e, []); | |
this.prototype[e] = function(t) { | |
return this.map(this.options[e], t) | |
}; | |
return this | |
}; | |
n.global = function(e) { | |
this.prototype.globals.push(e); | |
return this | |
}; | |
n.assumesPageview = function() { | |
this.prototype._assumesPageview = !0; | |
return this | |
}; | |
n.readyOnLoad = function() { | |
this.prototype._readyOnLoad = !0; | |
return this | |
}; | |
n.readyOnInitialize = function() { | |
this.prototype._readyOnInitialize = !0; | |
return this | |
}; | |
n.tag = function(e, t) { | |
if (null == t) { | |
t = e; | |
e = "library" | |
} | |
this.prototype.templates[e] = o(t); | |
return this | |
} | |
}, { | |
"@ndhoule/each": 10, | |
"@ndhoule/includes": 15, | |
"component-emitter": 830, | |
"domify": 842 | |
}], | |
40: [function(e, t, n) { | |
t.exports = { | |
promotionViewed: /^[ _]?promotion[ _]?viewed?[ _]?$/i, | |
viewedPromotion: /^[ _]?viewed[ _]?promotion?[ _]?$/i, | |
promotionClicked: /^[ _]?promotion[ _]?clicked?[ _]?$/i, | |
clickedPromotion: /^[ _]?clicked[ _]?promotion?[ _]?$/i, | |
productsSearched: /^[ _]?products[ _]?searched[ _]?$/i, | |
productListViewed: /^[ _]?product[ _]?list[ _]?viewed[ _]?$/i, | |
productListFiltered: /^[ _]?product[ _]?list[ _]?filtered[ _]?$/i, | |
viewedProductCategory: /^[ _]?viewed[ _]?product[ _]?category[ _]?$/i, | |
viewedProductDetails: /^[ _]?viewed[ _]?product[ _]?details?[ _]?$/i, | |
productClicked: /^[ _]?product[ _]?clicked[ _]?$/i, | |
clickedProduct: /^[ _]?clicked[ _]?product[ _]?$/i, | |
productViewed: /^[ _]?product[ _]?viewed[ _]?$/i, | |
viewedProduct: /^[ _]?viewed[ _]?product[ _]?$/i, | |
productAdded: /^[ _]?product[ _]?added[ _]?$/i, | |
addedProduct: /^[ _]?added[ _]?product[ _]?$/i, | |
productRemoved: /^[ _]?product[ _]?removed[ _]?$/i, | |
removedProduct: /^[ _]?removed[ _]?product[ _]?$/i, | |
cartViewed: /^[ _]?cart[ _]?viewed[ _]?$/i, | |
orderStarted: /^[ _]?order[ _]?started[ _]?$/i, | |
startedOrder: /^[ _]?started[ _]?order[ _]?$/i, | |
orderUpdated: /^[ _]?order[ _]?updated[ _]?$/i, | |
updatedOrder: /^[ _]?updated[ _]?order[ _]?$/i, | |
orderCompleted: /^[ _]?order[ _]?completed[ _]?$/i, | |
completedOrder: /^[ _]?completed[ _]?order[ _]?$/i, | |
orderRefunded: /^[ _]?order[ _]?refunded[ _]?$/i, | |
refundedOrder: /^[ _]?refunded[ _]?order[ _]?$/i, | |
orderCancelled: /^[ _]?order[ _]?cancelled[ _]?$/i, | |
paymentInfoAdded: /^[ _]?payment[ _]?info[ _]?added[ _]?$/i, | |
checkoutStarted: /^[ _]?checkout[ _]?started[ _]?$/i, | |
checkoutStepViewed: /^[ _]?checkout[ _]?step[ _]?viewed[ _]?$/i, | |
viewedCheckoutStep: /^[ _]?viewed[ _]?checkout[ _]?step[ _]?$/i, | |
checkoutStepCompleted: /^[ _]?checkout[ _]?step[ _]?completed[ _]?$/i, | |
completedCheckoutStep: /^[ _]?completed[ _]?checkout[ _]?step[ _]?$/i, | |
couponEntered: /^[ _]?coupon[ _]?entered[ _]?$/i, | |
couponApplied: /^[ _]?coupon[ _]?applied[ _]?$/i, | |
couponDenied: /^[ _]?coupon[ _]?denied[ _]?$/i, | |
couponRemoved: /^[ _]?coupon[ _]?removed[ _]?$/i, | |
productAddedToWishlist: /^[ _]?product[ _]?added[ _]?to[ _]?wishlist[ _]?$/i, | |
wishlistProductRemoved: /^[ _]?wishlist[ _]?product[ _]?removed[ _]?$/i, | |
wishlistProductAddedToCart: /^[ _]?wishlist[ _]?product[ _]?added[ _]?to[ _]?cart[ _]?$/i, | |
productShared: /^[ _]?product[ _]?shared[ _]?$/i, | |
cartShared: /^[ _]?cart[ _]?shared[ _]?$/i, | |
productRemoved: /^[ _]?product[ _]?removed[ _]?$/i, | |
applicationInstalled: /^[ _]?application[ _]?installed[ _]?$/i, | |
applicationUpdated: /^[ _]?application[ _]?updated[ _]?$/i, | |
applicationOpened: /^[ _]?application[ _]?opened[ _]?$/i, | |
applicationBackgrounded: /^[ _]?application[ _]?backgrounded[ _]?$/i, | |
applicationUninstalled: /^[ _]?application[ _]?uninstalled[ _]?$/i, | |
installAttributed: /^[ _]?install[ _]?attributed[ _]?$/i, | |
deepLinkOpened: /^[ _]?deep[ _]?link[ _]?opened[ _]?$/i, | |
pushNotificationReceived: /^[ _]?push[ _]?notification[ _]?received[ _]?$/i, | |
pushNotificationTapped: /^[ _]?push[ _]?notification[ _]?received[ _]?$/i, | |
pushNotificationBounced: /^[ _]?push[ _]?notification[ _]?bounced[ _]?$/i | |
} | |
}, {}], | |
41: [function(e, t, n) { | |
(function(o) { | |
function i() { | |
return !("undefined" == typeof window || !window.process || "renderer" !== window.process.type) || ("undefined" != typeof document && document.documentElement && document.documentElement.style && document.documentElement.style.WebkitAppearance || "undefined" != typeof window && window.console && (window.console.firebug || window.console.exception && window.console.table) || "undefined" != typeof navigator && navigator.userAgent && navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/) && parseInt(RegExp.$1, 10) >= 31 || "undefined" != typeof navigator && navigator.userAgent && navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/)) | |
} | |
function a(e) { | |
var t = this.useColors; | |
e[0] = (t ? "%c" : "") + this.namespace + (t ? " %c" : " ") + e[0] + (t ? "%c " : " ") + "+" + n.humanize(this.diff); | |
if (t) { | |
var o = "color: " + this.color; | |
e.splice(1, 0, o, "color: inherit"); | |
var i = 0, | |
a = 0; | |
e[0].replace(/%[a-zA-Z%]/g, function(e) { | |
if ("%%" !== e) { | |
i++; | |
"%c" === e && (a = i) | |
} | |
}); | |
e.splice(a, 0, o) | |
} | |
} | |
function r() { | |
return "object" == typeof console && console.log && Function.prototype.apply.call(console.log, console, arguments) | |
} | |
function s(e) { | |
try { | |
null == e ? n.storage.removeItem("debug") : n.storage.debug = e | |
} catch (t) {} | |
} | |
function c() { | |
var e; | |
try { | |
e = n.storage.debug | |
} catch (t) {}!e && void 0 !== o && "env" in o && (e = o.env.DEBUG); | |
return e | |
} | |
n = t.exports = e("./debug"); | |
n.log = r; | |
n.formatArgs = a; | |
n.save = s; | |
n.load = c; | |
n.useColors = i; | |
n.storage = "undefined" != typeof chrome && "undefined" != typeof chrome.storage ? chrome.storage.local : function() { | |
try { | |
return window.localStorage | |
} catch (e) {} | |
}(); | |
n.colors = ["lightseagreen", "forestgreen", "goldenrod", "dodgerblue", "darkorchid", "crimson"]; | |
n.formatters.j = function(e) { | |
try { | |
return JSON.stringify(e) | |
} catch (t) { | |
return "[UnexpectedJSONParseError]: " + t.message | |
} | |
}; | |
n.enable(c()) | |
}).call(this, e("_process")) | |
}, { | |
"./debug": 42, | |
"_process": 874 | |
}], | |
42: [function(e, t, n) { | |
function o(e) { | |
var t, o = 0; | |
for (t in e) { | |
o = (o << 5) - o + e.charCodeAt(t); | |
o |= 0 | |
} | |
return n.colors[Math.abs(o) % n.colors.length] | |
} | |
function i(e) { | |
function t() { | |
if (t.enabled) { | |
var e = t, | |
o = +new Date, | |
i = o - (p || o); | |
e.diff = i; | |
e.prev = p; | |
e.curr = o; | |
p = o; | |
for (var a = new Array(arguments.length), r = 0; r < a.length; r++) a[r] = arguments[r]; | |
a[0] = n.coerce(a[0]); | |
"string" != typeof a[0] && a.unshift("%O"); | |
var s = 0; | |
a[0] = a[0].replace(/%([a-zA-Z%])/g, function(t, o) { | |
if ("%%" === t) return t; | |
s++; | |
var i = n.formatters[o]; | |
if ("function" == typeof i) { | |
var r = a[s]; | |
t = i.call(e, r); | |
a.splice(s, 1); | |
s-- | |
} | |
return t | |
}); | |
n.formatArgs.call(e, a); | |
(t.log || n.log || console.log.bind(console)).apply(e, a) | |
} | |
} | |
t.namespace = e; | |
t.enabled = n.enabled(e); | |
t.useColors = n.useColors(); | |
t.color = o(e); | |
"function" == typeof n.init && n.init(t); | |
return t | |
} | |
function a(e) { | |
n.save(e); | |
n.names = []; | |
n.skips = []; | |
for (var t = ("string" == typeof e ? e : "").split(/[\s,]+/), o = t.length, i = 0; i < o; i++) | |
if (t[i]) { | |
e = t[i].replace(/\*/g, ".*?"); | |
"-" === e[0] ? n.skips.push(new RegExp("^" + e.substr(1) + "$")) : n.names.push(new RegExp("^" + e + "$")) | |
} | |
} | |
function r() { | |
n.enable("") | |
} | |
function s(e) { | |
var t, o; | |
for (t = 0, o = n.skips.length; t < o; t++) | |
if (n.skips[t].test(e)) return !1; | |
for (t = 0, o = n.names.length; t < o; t++) | |
if (n.names[t].test(e)) return !0; | |
return !1 | |
} | |
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 = r; | |
n.enable = a; | |
n.enabled = s; | |
n.humanize = e("ms"); | |
n.names = []; | |
n.skips = []; | |
n.formatters = {}; | |
var p | |
}, { | |
"ms": 862 | |
}], | |
43: [function(e, t, n) {; | |
var q = e("@segment/analytics.js-integration"); | |
t.exports = function() {}; | |
t.exports.Integration = q("empty"); | |
}, { | |
"@ndhoule/each": 10, | |
"@segment/analytics.js-integration": 789, | |
"@segment/to-iso-string": 817, | |
"@segment/trample": 819, | |
"obj-case": 868, | |
"segmentio-facade": 883 | |
}], | |
44: [function(e, t, n) {; | |
var i = e("@segment/analytics.js-integration"); | |
t.exports = function() {}; | |
t.exports.Integration = i("empty"); | |
}, { | |
"@segment/analytics.js-integration": 45 | |
}], | |
45: [function(e, t, n) { | |
arguments[4][37][0].apply(n, arguments) | |
}, { | |
"./protos": 46, | |
"./statics": 47, | |
"@ndhoule/clone": 7, | |
"@ndhoule/defaults": 8, | |
"@ndhoule/extend": 13, | |
"component-bind": 825, | |
"debug": 49, | |
"dup": 37, | |
"slug-component": 889 | |
}], | |
46: [function(e, t, n) { | |
arguments[4][38][0].apply(n, arguments) | |
}, { | |
"@ndhoule/after": 5, | |
"@ndhoule/each": 10, | |
"@ndhoule/every": 12, | |
"@ndhoule/foldl": 14, | |
"@segment/fmt": 799, | |
"@segment/load-script": 803, | |
"analytics-events": 48, | |
"component-emitter": 830, | |
"dup": 38, | |
"is": 851, | |
"load-iframe": 860, | |
"next-tick": 867, | |
"to-no-case": 895 | |
}], | |
47: [function(e, t, n) { | |
arguments[4][39][0].apply(n, arguments) | |
}, { | |
"@ndhoule/each": 10, | |
"@ndhoule/includes": 15, | |
"component-emitter": 830, | |
"domify": 842, | |
"dup": 39 | |
}], | |
48: [function(e, t, n) { | |
arguments[4][40][0].apply(n, arguments) | |
}, { | |
"dup": 40 | |
}], | |
49: [function(e, t, n) { | |
arguments[4][41][0].apply(n, arguments) | |
}, { | |
"./debug": 50, | |
"_process": 874, | |
"dup": 41 | |
}], | |
50: [function(e, t, n) { | |
arguments[4][42][0].apply(n, arguments) | |
}, { | |
"dup": 42, | |
"ms": 862 | |
}], | |
51: [function(e, t, n) {; | |
var r = e("@segment/analytics.js-integration"); | |
t.exports = function() {}; | |
t.exports.Integration = r("empty"); | |
}, { | |
"@ndhoule/each": 10, | |
"@ndhoule/entries": 11, | |
"@ndhoule/extend": 13, | |
"@ndhoule/map": 17, | |
"@ndhoule/pick": 18, | |
"@ndhoule/values": 20, | |
"@segment/analytics.js-integration": 52 | |
}], | |
52: [function(e, t, n) { | |
arguments[4][37][0].apply(n, arguments) | |
}, { | |
"./protos": 53, | |
"./statics": 54, | |
"@ndhoule/clone": 7, | |
"@ndhoule/defaults": 8, | |
"@ndhoule/extend": 13, | |
"component-bind": 825, | |
"debug": 56, | |
"dup": 37, | |
"slug-component": 889 | |
}], | |
53: [function(e, t, n) { | |
arguments[4][38][0].apply(n, arguments) | |
}, { | |
"@ndhoule/after": 5, | |
"@ndhoule/each": 10, | |
"@ndhoule/every": 12, | |
"@ndhoule/foldl": 14, | |
"@segment/fmt": 799, | |
"@segment/load-script": 803, | |
"analytics-events": 55, | |
"component-emitter": 830, | |
"dup": 38, | |
"is": 851, | |
"load-iframe": 860, | |
"next-tick": 867, | |
"to-no-case": 895 | |
}], | |
54: [function(e, t, n) { | |
arguments[4][39][0].apply(n, arguments) | |
}, { | |
"@ndhoule/each": 10, | |
"@ndhoule/includes": 15, | |
"component-emitter": 830, | |
"domify": 842, | |
"dup": 39 | |
}], | |
55: [function(e, t, n) { | |
arguments[4][40][0].apply(n, arguments) | |
}, { | |
"dup": 40 | |
}], | |
56: [function(e, t, n) { | |
arguments[4][41][0].apply(n, arguments) | |
}, { | |
"./debug": 57, | |
"_process": 874, | |
"dup": 41 | |
}], | |
57: [function(e, t, n) { | |
arguments[4][42][0].apply(n, arguments) | |
}, { | |
"dup": 42, | |
"ms": 862 | |
}], | |
58: [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": 789, | |
"to-snake-case": 896, | |
"use-https": 904 | |
}], | |
59: [function(e, t, n) {; | |
var o = e("@segment/analytics.js-integration"); | |
t.exports = function() {}; | |
t.exports.Integration = o("empty"); | |
}, { | |
"@segment/analytics.js-integration": 60, | |
"do-when": 841 | |
}], | |
60: [function(e, t, n) { | |
arguments[4][37][0].apply(n, arguments) | |
}, { | |
"./protos": 61, | |
"./statics": 62, | |
"@ndhoule/clone": 7, | |
"@ndhoule/defaults": 8, | |
"@ndhoule/extend": 13, | |
"component-bind": 825, | |
"debug": 64, | |
"dup": 37, | |
"slug-component": 889 | |
}], | |
61: [function(e, t, n) { | |
arguments[4][38][0].apply(n, arguments) | |
}, { | |
"@ndhoule/after": 5, | |
"@ndhoule/each": 10, | |
"@ndhoule/every": 12, | |
"@ndhoule/foldl": 14, | |
"@segment/fmt": 799, | |
"@segment/load-script": 803, | |
"analytics-events": 63, | |
"component-emitter": 830, | |
"dup": 38, | |
"is": 851, | |
"load-iframe": 860, | |
"next-tick": 867, | |
"to-no-case": 895 | |
}], | |
62: [function(e, t, n) { | |
arguments[4][39][0].apply(n, arguments) | |
}, { | |
"@ndhoule/each": 10, | |
"@ndhoule/includes": 15, | |
"component-emitter": 830, | |
"domify": 842, | |
"dup": 39 | |
}], | |
63: [function(e, t, n) { | |
arguments[4][40][0].apply(n, arguments) | |
}, { | |
"dup": 40 | |
}], | |
64: [function(e, t, n) { | |
arguments[4][41][0].apply(n, arguments) | |
}, { | |
"./debug": 65, | |
"_process": 874, | |
"dup": 41 | |
}], | |
65: [function(e, t, n) { | |
arguments[4][42][0].apply(n, arguments) | |
}, { | |
"dup": 42, | |
"ms": 862 | |
}], | |
66: [function(e, t, n) {; | |
var o = e("@segment/analytics.js-integration"); | |
t.exports = function() {}; | |
t.exports.Integration = o("empty"); | |
}, { | |
"@segment/analytics.js-integration": 67 | |
}], | |
67: [function(e, t, n) { | |
arguments[4][37][0].apply(n, arguments) | |
}, { | |
"./protos": 68, | |
"./statics": 69, | |
"@ndhoule/clone": 7, | |
"@ndhoule/defaults": 8, | |
"@ndhoule/extend": 13, | |
"component-bind": 825, | |
"debug": 71, | |
"dup": 37, | |
"slug-component": 889 | |
}], | |
68: [function(e, t, n) { | |
arguments[4][38][0].apply(n, arguments) | |
}, { | |
"@ndhoule/after": 5, | |
"@ndhoule/each": 10, | |
"@ndhoule/every": 12, | |
"@ndhoule/foldl": 14, | |
"@segment/fmt": 799, | |
"@segment/load-script": 803, | |
"analytics-events": 70, | |
"component-emitter": 830, | |
"dup": 38, | |
"is": 851, | |
"load-iframe": 860, | |
"next-tick": 867, | |
"to-no-case": 895 | |
}], | |
69: [function(e, t, n) { | |
arguments[4][39][0].apply(n, arguments) | |
}, { | |
"@ndhoule/each": 10, | |
"@ndhoule/includes": 15, | |
"component-emitter": 830, | |
"domify": 842, | |
"dup": 39 | |
}], | |
70: [function(e, t, n) { | |
arguments[4][40][0].apply(n, arguments) | |
}, { | |
"dup": 40 | |
}], | |
71: [function(e, t, n) { | |
arguments[4][41][0].apply(n, arguments) | |
}, { | |
"./debug": 72, | |
"_process": 874, | |
"dup": 41 | |
}], | |
72: [function(e, t, n) { | |
arguments[4][42][0].apply(n, arguments) | |
}, { | |
"dup": 42, | |
"ms": 862 | |
}], | |
73: [function(e, t, n) {; | |
var c = e("@segment/analytics.js-integration"); | |
t.exports = function() {}; | |
t.exports.Integration = c("empty"); | |
}, { | |
"@segment/analytics.js-integration": 74 | |
}], | |
74: [function(e, t, n) { | |
arguments[4][37][0].apply(n, arguments) | |
}, { | |
"./protos": 75, | |
"./statics": 76, | |
"@ndhoule/clone": 7, | |
"@ndhoule/defaults": 8, | |
"@ndhoule/extend": 13, | |
"component-bind": 825, | |
"debug": 78, | |
"dup": 37, | |
"slug-component": 889 | |
}], | |
75: [function(e, t, n) { | |
arguments[4][38][0].apply(n, arguments) | |
}, { | |
"@ndhoule/after": 5, | |
"@ndhoule/each": 10, | |
"@ndhoule/every": 12, | |
"@ndhoule/foldl": 14, | |
"@segment/fmt": 799, | |
"@segment/load-script": 803, | |
"analytics-events": 77, | |
"component-emitter": 830, | |
"dup": 38, | |
"is": 851, | |
"load-iframe": 860, | |
"next-tick": 867, | |
"to-no-case": 895 | |
}], | |
76: [function(e, t, n) { | |
arguments[4][39][0].apply(n, arguments) | |
}, { | |
"@ndhoule/each": 10, | |
"@ndhoule/includes": 15, | |
"component-emitter": 830, | |
"domify": 842, | |
"dup": 39 | |
}], | |
77: [function(e, t, n) { | |
arguments[4][40][0].apply(n, arguments) | |
}, { | |
"dup": 40 | |
}], | |
78: [function(e, t, n) { | |
arguments[4][41][0].apply(n, arguments) | |
}, { | |
"./debug": 79, | |
"_process": 874, | |
"dup": 41 | |
}], | |
79: [function(e, t, n) { | |
arguments[4][42][0].apply(n, arguments) | |
}, { | |
"dup": 42, | |
"ms": 862 | |
}], | |
80: [function(e, t, n) {; | |
var r = e("@segment/analytics.js-integration"); | |
t.exports = function() {}; | |
t.exports.Integration = r("empty"); | |
}, { | |
"@ndhoule/each": 10, | |
"@segment/analytics.js-integration": 81, | |
"@segment/top-domain": 818, | |
"component-bind": 825, | |
"do-when": 841, | |
"is": 851, | |
"segmentio-facade": 883 | |
}], | |
81: [function(e, t, n) { | |
arguments[4][37][0].apply(n, arguments) | |
}, { | |
"./protos": 82, | |
"./statics": 83, | |
"@ndhoule/clone": 7, | |
"@ndhoule/defaults": 8, | |
"@ndhoule/extend": 13, | |
"component-bind": 825, | |
"debug": 85, | |
"dup": 37, | |
"slug-component": 889 | |
}], | |
82: [function(e, t, n) { | |
arguments[4][38][0].apply(n, arguments) | |
}, { | |
"@ndhoule/after": 5, | |
"@ndhoule/each": 10, | |
"@ndhoule/every": 12, | |
"@ndhoule/foldl": 14, | |
"@segment/fmt": 799, | |
"@segment/load-script": 803, | |
"analytics-events": 84, | |
"component-emitter": 830, | |
"dup": 38, | |
"is": 851, | |
"load-iframe": 860, | |
"next-tick": 867, | |
"to-no-case": 895 | |
}], | |
83: [function(e, t, n) { | |
arguments[4][39][0].apply(n, arguments) | |
}, { | |
"@ndhoule/each": 10, | |
"@ndhoule/includes": 15, | |
"component-emitter": 830, | |
"domify": 842, | |
"dup": 39 | |
}], | |
84: [function(e, t, n) { | |
arguments[4][40][0].apply(n, arguments) | |
}, { | |
"dup": 40 | |
}], | |
85: [function(e, t, n) { | |
arguments[4][41][0].apply(n, arguments) | |
}, { | |
"./debug": 86, | |
"_process": 874, | |
"dup": 41 | |
}], | |
86: [function(e, t, n) { | |
arguments[4][42][0].apply(n, arguments) | |
}, { | |
"dup": 42, | |
"ms": 862 | |
}], | |
87: [function(e, t, n) {; | |
var i = e("@segment/analytics.js-integration"); | |
t.exports = function() {}; | |
t.exports.Integration = i("empty"); | |
}, { | |
"@ndhoule/clone": 7, | |
"@ndhoule/each": 10, | |
"@segment/analytics.js-integration": 789, | |
"appboy-web-sdk": 822, | |
"obj-case": 868, | |
"segmentio-facade": 883 | |
}], | |
88: [function(e, t, n) {; | |
var i = e("@segment/analytics.js-integration"); | |
t.exports = function() {}; | |
t.exports.Integration = i("empty"); | |
}, { | |
"@ndhoule/clone": 7, | |
"@ndhoule/each": 10, | |
"@segment/analytics.js-integration": 789, | |
"obj-case": 868, | |
"segmentio-facade": 883 | |
}], | |
89: [function(e, t, n) {; | |
var o = e("@segment/analytics.js-integration"); | |
t.exports = function() {}; | |
t.exports.Integration = o("empty"); | |
}, { | |
"@segment/analytics.js-integration": 90, | |
"@segment/load-script": 803, | |
"isobject": 853 | |
}], | |
90: [function(e, t, n) { | |
arguments[4][37][0].apply(n, arguments) | |
}, { | |
"./protos": 91, | |
"./statics": 92, | |
"@ndhoule/clone": 7, | |
"@ndhoule/defaults": 8, | |
"@ndhoule/extend": 13, | |
"component-bind": 825, | |
"debug": 94, | |
"dup": 37, | |
"slug-component": 889 | |
}], | |
91: [function(e, t, n) { | |
arguments[4][38][0].apply(n, arguments) | |
}, { | |
"@ndhoule/after": 5, | |
"@ndhoule/each": 10, | |
"@ndhoule/every": 12, | |
"@ndhoule/foldl": 14, | |
"@segment/fmt": 799, | |
"@segment/load-script": 803, | |
"analytics-events": 93, | |
"component-emitter": 830, | |
"dup": 38, | |
"is": 851, | |
"load-iframe": 860, | |
"next-tick": 867, | |
"to-no-case": 895 | |
}], | |
92: [function(e, t, n) { | |
arguments[4][39][0].apply(n, arguments) | |
}, { | |
"@ndhoule/each": 10, | |
"@ndhoule/includes": 15, | |
"component-emitter": 830, | |
"domify": 842, | |
"dup": 39 | |
}], | |
93: [function(e, t, n) { | |
arguments[4][40][0].apply(n, arguments) | |
}, { | |
"dup": 40 | |
}], | |
94: [function(e, t, n) { | |
arguments[4][41][0].apply(n, arguments) | |
}, { | |
"./debug": 95, | |
"_process": 874, | |
"dup": 41 | |
}], | |
95: [function(e, t, n) { | |
arguments[4][42][0].apply(n, arguments) | |
}, { | |
"dup": 42, | |
"ms": 862 | |
}], | |
96: [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": 97, | |
"component-querystring": 834, | |
"to-no-case": 895, | |
"use-https": 904 | |
}], | |
97: [function(e, t, n) { | |
arguments[4][37][0].apply(n, arguments) | |
}, { | |
"./protos": 98, | |
"./statics": 99, | |
"@ndhoule/clone": 7, | |
"@ndhoule/defaults": 8, | |
"@ndhoule/extend": 13, | |
"component-bind": 825, | |
"debug": 101, | |
"dup": 37, | |
"slug-component": 889 | |
}], | |
98: [function(e, t, n) { | |
arguments[4][38][0].apply(n, arguments) | |
}, { | |
"@ndhoule/after": 5, | |
"@ndhoule/each": 10, | |
"@ndhoule/every": 12, | |
"@ndhoule/foldl": 14, | |
"@segment/fmt": 799, | |
"@segment/load-script": 803, | |
"analytics-events": 100, | |
"component-emitter": 830, | |
"dup": 38, | |
"is": 851, | |
"load-iframe": 860, | |
"next-tick": 867, | |
"to-no-case": 895 | |
}], | |
99: [function(e, t, n) { | |
arguments[4][39][0].apply(n, arguments) | |
}, { | |
"@ndhoule/each": 10, | |
"@ndhoule/includes": 15, | |
"component-emitter": 830, | |
"domify": 842, | |
"dup": 39 | |
}], | |
100: [function(e, t, n) { | |
arguments[4][40][0].apply(n, arguments) | |
}, { | |
"dup": 40 | |
}], | |
101: [function(e, t, n) { | |
arguments[4][41][0].apply(n, arguments) | |
}, { | |
"./debug": 102, | |
"_process": 874, | |
"dup": 41 | |
}], | |
102: [function(e, t, n) { | |
arguments[4][42][0].apply(n, arguments) | |
}, { | |
"dup": 42, | |
"ms": 862 | |
}], | |
103: [function(e, t, n) {; | |
var r = e("@segment/analytics.js-integration"); | |
t.exports = function() {}; | |
t.exports.Integration = r("empty"); | |
}, { | |
"@segment/analytics.js-integration": 104, | |
"segmentio-facade": 883 | |
}], | |
104: [function(e, t, n) { | |
arguments[4][37][0].apply(n, arguments) | |
}, { | |
"./protos": 105, | |
"./statics": 106, | |
"@ndhoule/clone": 7, | |
"@ndhoule/defaults": 8, | |
"@ndhoule/extend": 13, | |
"component-bind": 825, | |
"debug": 108, | |
"dup": 37, | |
"slug-component": 889 | |
}], | |
105: [function(e, t, n) { | |
arguments[4][38][0].apply(n, arguments) | |
}, { | |
"@ndhoule/after": 5, | |
"@ndhoule/each": 10, | |
"@ndhoule/every": 12, | |
"@ndhoule/foldl": 14, | |
"@segment/fmt": 799, | |
"@segment/load-script": 803, | |
"analytics-events": 107, | |
"component-emitter": 830, | |
"dup": 38, | |
"is": 851, | |
"load-iframe": 860, | |
"next-tick": 867, | |
"to-no-case": 895 | |
}], | |
106: [function(e, t, n) { | |
arguments[4][39][0].apply(n, arguments) | |
}, { | |
"@ndhoule/each": 10, | |
"@ndhoule/includes": 15, | |
"component-emitter": 830, | |
"domify": 842, | |
"dup": 39 | |
}], | |
107: [function(e, t, n) { | |
arguments[4][40][0].apply(n, arguments) | |
}, { | |
"dup": 40 | |
}], | |
108: [function(e, t, n) { | |
arguments[4][41][0].apply(n, arguments) | |
}, { | |
"./debug": 109, | |
"_process": 874, | |
"dup": 41 | |
}], | |
109: [function(e, t, n) { | |
arguments[4][42][0].apply(n, arguments) | |
}, { | |
"dup": 42, | |
"ms": 862 | |
}], | |
110: [function(e, t, n) {; | |
var o = e("@segment/analytics.js-integration"); | |
t.exports = function() {}; | |
t.exports.Integration = o("empty"); | |
}, { | |
"@segment/analytics.js-integration": 111, | |
"isobject": 853 | |
}], | |
111: [function(e, t, n) { | |
arguments[4][37][0].apply(n, arguments) | |
}, { | |
"./protos": 112, | |
"./statics": 113, | |
"@ndhoule/clone": 7, | |
"@ndhoule/defaults": 8, | |
"@ndhoule/extend": 13, | |
"component-bind": 825, | |
"debug": 115, | |
"dup": 37, | |
"slug-component": 889 | |
}], | |
112: [function(e, t, n) { | |
arguments[4][38][0].apply(n, arguments) | |
}, { | |
"@ndhoule/after": 5, | |
"@ndhoule/each": 10, | |
"@ndhoule/every": 12, | |
"@ndhoule/foldl": 14, | |
"@segment/fmt": 799, | |
"@segment/load-script": 803, | |
"analytics-events": 114, | |
"component-emitter": 830, | |
"dup": 38, | |
"is": 851, | |
"load-iframe": 860, | |
"next-tick": 867, | |
"to-no-case": 895 | |
}], | |
113: [function(e, t, n) { | |
arguments[4][39][0].apply(n, arguments) | |
}, { | |
"@ndhoule/each": 10, | |
"@ndhoule/includes": 15, | |
"component-emitter": 830, | |
"domify": 842, | |
"dup": 39 | |
}], | |
114: [function(e, t, n) { | |
arguments[4][40][0].apply(n, arguments) | |
}, { | |
"dup": 40 | |
}], | |
115: [function(e, t, n) { | |
arguments[4][41][0].apply(n, arguments) | |
}, { | |
"./debug": 116, | |
"_process": 874, | |
"dup": 41 | |
}], | |
116: [function(e, t, n) { | |
arguments[4][42][0].apply(n, arguments) | |
}, { | |
"dup": 42, | |
"ms": 862 | |
}], | |
117: [function(e, t, n) {; | |
var o = e("@segment/analytics.js-integration"); | |
t.exports = function() {}; | |
t.exports.Integration = o("empty"); | |
}, { | |
"@segment/analytics.js-integration": 118 | |
}], | |
118: [function(e, t, n) { | |
arguments[4][37][0].apply(n, arguments) | |
}, { | |
"./protos": 119, | |
"./statics": 120, | |
"@ndhoule/clone": 7, | |
"@ndhoule/defaults": 8, | |
"@ndhoule/extend": 13, | |
"component-bind": 825, | |
"debug": 122, | |
"dup": 37, | |
"slug-component": 889 | |
}], | |
119: [function(e, t, n) { | |
arguments[4][38][0].apply(n, arguments) | |
}, { | |
"@ndhoule/after": 5, | |
"@ndhoule/each": 10, | |
"@ndhoule/every": 12, | |
"@ndhoule/foldl": 14, | |
"@segment/fmt": 799, | |
"@segment/load-script": 803, | |
"analytics-events": 121, | |
"component-emitter": 830, | |
"dup": 38, | |
"is": 851, | |
"load-iframe": 860, | |
"next-tick": 867, | |
"to-no-case": 895 | |
}], | |
120: [function(e, t, n) { | |
arguments[4][39][0].apply(n, arguments) | |
}, { | |
"@ndhoule/each": 10, | |
"@ndhoule/includes": 15, | |
"component-emitter": 830, | |
"domify": 842, | |
"dup": 39 | |
}], | |
121: [function(e, t, n) { | |
arguments[4][40][0].apply(n, arguments) | |
}, { | |
"dup": 40 | |
}], | |
122: [function(e, t, n) { | |
arguments[4][41][0].apply(n, arguments) | |
}, { | |
"./debug": 123, | |
"_process": 874, | |
"dup": 41 | |
}], | |
123: [function(e, t, n) { | |
arguments[4][42][0].apply(n, arguments) | |
}, { | |
"dup": 42, | |
"ms": 862 | |
}], | |
124: [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": 125 | |
}], | |
125: [function(e, t, n) { | |
arguments[4][37][0].apply(n, arguments) | |
}, { | |
"./protos": 126, | |
"./statics": 127, | |
"@ndhoule/clone": 7, | |
"@ndhoule/defaults": 8, | |
"@ndhoule/extend": 13, | |
"component-bind": 825, | |
"debug": 129, | |
"dup": 37, | |
"slug-component": 889 | |
}], | |
126: [function(e, t, n) { | |
arguments[4][38][0].apply(n, arguments) | |
}, { | |
"@ndhoule/after": 5, | |
"@ndhoule/each": 10, | |
"@ndhoule/every": 12, | |
"@ndhoule/foldl": 14, | |
"@segment/fmt": 799, | |
"@segment/load-script": 803, | |
"analytics-events": 128, | |
"component-emitter": 830, | |
"dup": 38, | |
"is": 851, | |
"load-iframe": 860, | |
"next-tick": 867, | |
"to-no-case": 895 | |
}], | |
127: [function(e, t, n) { | |
arguments[4][39][0].apply(n, arguments) | |
}, { | |
"@ndhoule/each": 10, | |
"@ndhoule/includes": 15, | |
"component-emitter": 830, | |
"domify": 842, | |
"dup": 39 | |
}], | |
128: [function(e, t, n) { | |
arguments[4][40][0].apply(n, arguments) | |
}, { | |
"dup": 40 | |
}], | |
129: [function(e, t, n) { | |
arguments[4][41][0].apply(n, arguments) | |
}, { | |
"./debug": 130, | |
"_process": 874, | |
"dup": 41 | |
}], | |
130: [function(e, t, n) { | |
arguments[4][42][0].apply(n, arguments) | |
}, { | |
"dup": 42, | |
"ms": 862 | |
}], | |
131: [function(e, t, n) {; | |
var o = e("@segment/analytics.js-integration"); | |
t.exports = function() {}; | |
t.exports.Integration = o("empty"); | |
}, { | |
"@segment/analytics.js-integration": 132 | |
}], | |
132: [function(e, t, n) { | |
arguments[4][37][0].apply(n, arguments) | |
}, { | |
"./protos": 133, | |
"./statics": 134, | |
"@ndhoule/clone": 7, | |
"@ndhoule/defaults": 8, | |
"@ndhoule/extend": 13, | |
"component-bind": 825, | |
"debug": 136, | |
"dup": 37, | |
"slug-component": 889 | |
}], | |
133: [function(e, t, n) { | |
arguments[4][38][0].apply(n, arguments) | |
}, { | |
"@ndhoule/after": 5, | |
"@ndhoule/each": 10, | |
"@ndhoule/every": 12, | |
"@ndhoule/foldl": 14, | |
"@segment/fmt": 799, | |
"@segment/load-script": 803, | |
"analytics-events": 135, | |
"component-emitter": 830, | |
"dup": 38, | |
"is": 851, | |
"load-iframe": 860, | |
"next-tick": 867, | |
"to-no-case": 895 | |
}], | |
134: [function(e, t, n) { | |
arguments[4][39][0].apply(n, arguments) | |
}, { | |
"@ndhoule/each": 10, | |
"@ndhoule/includes": 15, | |
"component-emitter": 830, | |
"domify": 842, | |
"dup": 39 | |
}], | |
135: [function(e, t, n) { | |
arguments[4][40][0].apply(n, arguments) | |
}, { | |
"dup": 40 | |
}], | |
136: [function(e, t, n) { | |
arguments[4][41][0].apply(n, arguments) | |
}, { | |
"./debug": 137, | |
"_process": 874, | |
"dup": 41 | |
}], | |
137: [function(e, t, n) { | |
arguments[4][42][0].apply(n, arguments) | |
}, { | |
"dup": 42, | |
"ms": 862 | |
}], | |
138: [function(e, t, n) {; | |
var i = e("@segment/analytics.js-integration"); | |
t.exports = function() {}; | |
t.exports.Integration = i("empty"); | |
}, { | |
"@ndhoule/foldl": 14, | |
"@segment/analytics.js-integration": 139 | |
}], | |
139: [function(e, t, n) { | |
arguments[4][37][0].apply(n, arguments) | |
}, { | |
"./protos": 140, | |
"./statics": 141, | |
"@ndhoule/clone": 7, | |
"@ndhoule/defaults": 8, | |
"@ndhoule/extend": 13, | |
"component-bind": 825, | |
"debug": 143, | |
"dup": 37, | |
"slug-component": 889 | |
}], | |
140: [function(e, t, n) { | |
arguments[4][38][0].apply(n, arguments) | |
}, { | |
"@ndhoule/after": 5, | |
"@ndhoule/each": 10, | |
"@ndhoule/every": 12, | |
"@ndhoule/foldl": 14, | |
"@segment/fmt": 799, | |
"@segment/load-script": 803, | |
"analytics-events": 142, | |
"component-emitter": 830, | |
"dup": 38, | |
"is": 851, | |
"load-iframe": 860, | |
"next-tick": 867, | |
"to-no-case": 895 | |
}], | |
141: [function(e, t, n) { | |
arguments[4][39][0].apply(n, arguments) | |
}, { | |
"@ndhoule/each": 10, | |
"@ndhoule/includes": 15, | |
"component-emitter": 830, | |
"domify": 842, | |
"dup": 39 | |
}], | |
142: [function(e, t, n) { | |
arguments[4][40][0].apply(n, arguments) | |
}, { | |
"dup": 40 | |
}], | |
143: [function(e, t, n) { | |
arguments[4][41][0].apply(n, arguments) | |
}, { | |
"./debug": 144, | |
"_process": 874, | |
"dup": 41 | |
}], | |
144: [function(e, t, n) { | |
arguments[4][42][0].apply(n, arguments) | |
}, { | |
"dup": 42, | |
"ms": 862 | |
}], | |
145: [function(e, t, n) {; | |
var r = e("@segment/analytics.js-integration"); | |
t.exports = function() {}; | |
t.exports.Integration = r("empty"); | |
}, { | |
"@segment/analytics.js-integration": 146, | |
"@segment/convert-dates": 798, | |
"spark-md5": 890 | |
}], | |
146: [function(e, t, n) { | |
arguments[4][37][0].apply(n, arguments) | |
}, { | |
"./protos": 147, | |
"./statics": 148, | |
"@ndhoule/clone": 7, | |
"@ndhoule/defaults": 8, | |
"@ndhoule/extend": 13, | |
"component-bind": 825, | |
"debug": 150, | |
"dup": 37, | |
"slug-component": 889 | |
}], | |
147: [function(e, t, n) { | |
arguments[4][38][0].apply(n, arguments) | |
}, { | |
"@ndhoule/after": 5, | |
"@ndhoule/each": 10, | |
"@ndhoule/every": 12, | |
"@ndhoule/foldl": 14, | |
"@segment/fmt": 799, | |
"@segment/load-script": 803, | |
"analytics-events": 149, | |
"component-emitter": 830, | |
"dup": 38, | |
"is": 851, | |
"load-iframe": 860, | |
"next-tick": 867, | |
"to-no-case": 895 | |
}], | |
148: [function(e, t, n) { | |
arguments[4][39][0].apply(n, arguments) | |
}, { | |
"@ndhoule/each": 10, | |
"@ndhoule/includes": 15, | |
"component-emitter": 830, | |
"domify": 842, | |
"dup": 39 | |
}], | |
149: [function(e, t, n) { | |
arguments[4][40][0].apply(n, arguments) | |
}, { | |
"dup": 40 | |
}], | |
150: [function(e, t, n) { | |
arguments[4][41][0].apply(n, arguments) | |
}, { | |
"./debug": 151, | |
"_process": 874, | |
"dup": 41 | |
}], | |
151: [function(e, t, n) { | |
arguments[4][42][0].apply(n, arguments) | |
}, { | |
"dup": 42, | |
"ms": 862 | |
}], | |
152: [function(e, t, n) {; | |
var r = e("@segment/analytics.js-integration"); | |
t.exports = function() {}; | |
t.exports.Integration = r("empty"); | |
}, { | |
"@ndhoule/each": 10, | |
"@segment/analytics.js-integration": 789, | |
"component-querystring": 834, | |
"segmentio-facade": 883 | |
}], | |
153: [function(e, t, n) {; | |
var o = e("@segment/analytics.js-integration"); | |
t.exports = function() {}; | |
t.exports.Integration = o("empty"); | |
}, { | |
"@segment/analytics.js-integration": 154, | |
"next-tick": 867 | |
}], | |
154: [function(e, t, n) { | |
arguments[4][37][0].apply(n, arguments) | |
}, { | |
"./protos": 155, | |
"./statics": 156, | |
"@ndhoule/clone": 7, | |
"@ndhoule/defaults": 8, | |
"@ndhoule/extend": 13, | |
"component-bind": 825, | |
"debug": 158, | |
"dup": 37, | |
"slug-component": 889 | |
}], | |
155: [function(e, t, n) { | |
arguments[4][38][0].apply(n, arguments) | |
}, { | |
"@ndhoule/after": 5, | |
"@ndhoule/each": 10, | |
"@ndhoule/every": 12, | |
"@ndhoule/foldl": 14, | |
"@segment/fmt": 799, | |
"@segment/load-script": 803, | |
"analytics-events": 157, | |
"component-emitter": 830, | |
"dup": 38, | |
"is": 851, | |
"load-iframe": 860, | |
"next-tick": 867, | |
"to-no-case": 895 | |
}], | |
156: [function(e, t, n) { | |
arguments[4][39][0].apply(n, arguments) | |
}, { | |
"@ndhoule/each": 10, | |
"@ndhoule/includes": 15, | |
"component-emitter": 830, | |
"domify": 842, | |
"dup": 39 | |
}], | |
157: [function(e, t, n) { | |
arguments[4][40][0].apply(n, arguments) | |
}, { | |
"dup": 40 | |
}], | |
158: [function(e, t, n) { | |
arguments[4][41][0].apply(n, arguments) | |
}, { | |
"./debug": 159, | |
"_process": 874, | |
"dup": 41 | |
}], | |
159: [function(e, t, n) { | |
arguments[4][42][0].apply(n, arguments) | |
}, { | |
"dup": 42, | |
"ms": 862 | |
}], | |
160: [function(e, t, n) {; | |
var o = e("@segment/analytics.js-integration"); | |
t.exports = function() {}; | |
t.exports.Integration = o("empty"); | |
}, { | |
"@ndhoule/extend": 13, | |
"@segment/analytics.js-integration": 161, | |
"isobject": 853 | |
}], | |
161: [function(e, t, n) { | |
arguments[4][37][0].apply(n, arguments) | |
}, { | |
"./protos": 162, | |
"./statics": 163, | |
"@ndhoule/clone": 7, | |
"@ndhoule/defaults": 8, | |
"@ndhoule/extend": 13, | |
"component-bind": 825, | |
"debug": 165, | |
"dup": 37, | |
"slug-component": 889 | |
}], | |
162: [function(e, t, n) { | |
arguments[4][38][0].apply(n, arguments) | |
}, { | |
"@ndhoule/after": 5, | |
"@ndhoule/each": 10, | |
"@ndhoule/every": 12, | |
"@ndhoule/foldl": 14, | |
"@segment/fmt": 799, | |
"@segment/load-script": 803, | |
"analytics-events": 164, | |
"component-emitter": 830, | |
"dup": 38, | |
"is": 851, | |
"load-iframe": 860, | |
"next-tick": 867, | |
"to-no-case": 895 | |
}], | |
163: [function(e, t, n) { | |
arguments[4][39][0].apply(n, arguments) | |
}, { | |
"@ndhoule/each": 10, | |
"@ndhoule/includes": 15, | |
"component-emitter": 830, | |
"domify": 842, | |
"dup": 39 | |
}], | |
164: [function(e, t, n) { | |
arguments[4][40][0].apply(n, arguments) | |
}, { | |
"dup": 40 | |
}], | |
165: [function(e, t, n) { | |
arguments[4][41][0].apply(n, arguments) | |
}, { | |
"./debug": 166, | |
"_process": 874, | |
"dup": 41 | |
}], | |
166: [function(e, t, n) { | |
arguments[4][42][0].apply(n, arguments) | |
}, { | |
"dup": 42, | |
"ms": 862 | |
}], | |
167: [function(e, t, n) {; | |
var o = e("@segment/analytics.js-integration"); | |
t.exports = function() {}; | |
t.exports.Integration = o("empty"); | |
}, { | |
"@segment/analytics.js-integration": 789 | |
}], | |
168: [function(e, t, n) {; | |
var o = e("@segment/analytics.js-integration"); | |
t.exports = function() {}; | |
t.exports.Integration = o("empty"); | |
}, { | |
"@segment/analytics.js-integration": 169 | |
}], | |
169: [function(e, t, n) { | |
arguments[4][37][0].apply(n, arguments) | |
}, { | |
"./protos": 170, | |
"./statics": 171, | |
"@ndhoule/clone": 7, | |
"@ndhoule/defaults": 8, | |
"@ndhoule/extend": 13, | |
"component-bind": 825, | |
"debug": 173, | |
"dup": 37, | |
"slug-component": 889 | |
}], | |
170: [function(e, t, n) { | |
arguments[4][38][0].apply(n, arguments) | |
}, { | |
"@ndhoule/after": 5, | |
"@ndhoule/each": 10, | |
"@ndhoule/every": 12, | |
"@ndhoule/foldl": 14, | |
"@segment/fmt": 799, | |
"@segment/load-script": 803, | |
"analytics-events": 172, | |
"component-emitter": 830, | |
"dup": 38, | |
"is": 851, | |
"load-iframe": 860, | |
"next-tick": 867, | |
"to-no-case": 895 | |
}], | |
171: [function(e, t, n) { | |
arguments[4][39][0].apply(n, arguments) | |
}, { | |
"@ndhoule/each": 10, | |
"@ndhoule/includes": 15, | |
"component-emitter": 830, | |
"domify": 842, | |
"dup": 39 | |
}], | |
172: [function(e, t, n) { | |
arguments[4][40][0].apply(n, arguments) | |
}, { | |
"dup": 40 | |
}], | |
173: [function(e, t, n) { | |
arguments[4][41][0].apply(n, arguments) | |
}, { | |
"./debug": 174, | |
"_process": 874, | |
"dup": 41 | |
}], | |
174: [function(e, t, n) { | |
arguments[4][42][0].apply(n, arguments) | |
}, { | |
"dup": 42, | |
"ms": 862 | |
}], | |
175: [function(e, t, n) {; | |
var i = e("@segment/analytics.js-integration"); | |
t.exports = function() {}; | |
t.exports.Integration = i("empty"); | |
}, { | |
"@ndhoule/defaults": 8, | |
"@segment/analytics.js-integration": 789, | |
"on-body": 872 | |
}], | |
176: [function(e, t, n) {; | |
var o = e("@segment/analytics.js-integration"); | |
t.exports = function() {}; | |
t.exports.Integration = o("empty"); | |
}, { | |
"@ndhoule/each": 10, | |
"@segment/analytics.js-integration": 789, | |
"is": 851, | |
"use-https": 904 | |
}], | |
177: [function(e, t, n) {; | |
var a = e("@segment/analytics.js-integration"); | |
t.exports = function() {}; | |
t.exports.Integration = a("empty"); | |
}, { | |
"@ndhoule/extend": 13, | |
"@segment/analytics.js-integration": 178, | |
"isobject": 853, | |
"segmentio-facade": 883 | |
}], | |
178: [function(e, t, n) { | |
arguments[4][37][0].apply(n, arguments) | |
}, { | |
"./protos": 179, | |
"./statics": 180, | |
"@ndhoule/clone": 7, | |
"@ndhoule/defaults": 8, | |
"@ndhoule/extend": 13, | |
"component-bind": 825, | |
"debug": 182, | |
"dup": 37, | |
"slug-component": 889 | |
}], | |
179: [function(e, t, n) { | |
arguments[4][38][0].apply(n, arguments) | |
}, { | |
"@ndhoule/after": 5, | |
"@ndhoule/each": 10, | |
"@ndhoule/every": 12, | |
"@ndhoule/foldl": 14, | |
"@segment/fmt": 799, | |
"@segment/load-script": 803, | |
"analytics-events": 181, | |
"component-emitter": 830, | |
"dup": 38, | |
"is": 851, | |
"load-iframe": 860, | |
"next-tick": 867, | |
"to-no-case": 895 | |
}], | |
180: [function(e, t, n) { | |
arguments[4][39][0].apply(n, arguments) | |
}, { | |
"@ndhoule/each": 10, | |
"@ndhoule/includes": 15, | |
"component-emitter": 830, | |
"domify": 842, | |
"dup": 39 | |
}], | |
181: [function(e, t, n) { | |
arguments[4][40][0].apply(n, arguments) | |
}, { | |
"dup": 40 | |
}], | |
182: [function(e, t, n) { | |
arguments[4][41][0].apply(n, arguments) | |
}, { | |
"./debug": 183, | |
"_process": 874, | |
"dup": 41 | |
}], | |
183: [function(e, t, n) { | |
arguments[4][42][0].apply(n, arguments) | |
}, { | |
"dup": 42, | |
"ms": 862 | |
}], | |
184: [function(e, t, n) {; | |
var o = e("@segment/analytics.js-integration"); | |
t.exports = function() {}; | |
t.exports.Integration = o("empty"); | |
}, { | |
"@segment/analytics.js-integration": 185, | |
"use-https": 904 | |
}], | |
185: [function(e, t, n) { | |
arguments[4][37][0].apply(n, arguments) | |
}, { | |
"./protos": 186, | |
"./statics": 187, | |
"@ndhoule/clone": 7, | |
"@ndhoule/defaults": 8, | |
"@ndhoule/extend": 13, | |
"component-bind": 825, | |
"debug": 189, | |
"dup": 37, | |
"slug-component": 889 | |
}], | |
186: [function(e, t, n) { | |
arguments[4][38][0].apply(n, arguments) | |
}, { | |
"@ndhoule/after": 5, | |
"@ndhoule/each": 10, | |
"@ndhoule/every": 12, | |
"@ndhoule/foldl": 14, | |
"@segment/fmt": 799, | |
"@segment/load-script": 803, | |
"analytics-events": 188, | |
"component-emitter": 830, | |
"dup": 38, | |
"is": 851, | |
"load-iframe": 860, | |
"next-tick": 867, | |
"to-no-case": 895 | |
}], | |
187: [function(e, t, n) { | |
arguments[4][39][0].apply(n, arguments) | |
}, { | |
"@ndhoule/each": 10, | |
"@ndhoule/includes": 15, | |
"component-emitter": 830, | |
"domify": 842, | |
"dup": 39 | |
}], | |
188: [function(e, t, n) { | |
arguments[4][40][0].apply(n, arguments) | |
}, { | |
"dup": 40 | |
}], | |
189: [function(e, t, n) { | |
arguments[4][41][0].apply(n, arguments) | |
}, { | |
"./debug": 190, | |
"_process": 874, | |
"dup": 41 | |
}], | |
190: [function(e, t, n) { | |
arguments[4][42][0].apply(n, arguments) | |
}, { | |
"dup": 42, | |
"ms": 862 | |
}], | |
191: [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": 789, | |
"global-queue": 844 | |
}], | |
192: [function(e, t, n) {; | |
var o = e("@segment/analytics.js-integration"); | |
t.exports = function() {}; | |
t.exports.Integration = o("empty"); | |
}, { | |
"@segment/analytics.js-integration": 193 | |
}], | |
193: [function(e, t, n) { | |
arguments[4][37][0].apply(n, arguments) | |
}, { | |
"./protos": 194, | |
"./statics": 195, | |
"@ndhoule/clone": 7, | |
"@ndhoule/defaults": 8, | |
"@ndhoule/extend": 13, | |
"component-bind": 825, | |
"debug": 197, | |
"dup": 37, | |
"slug-component": 889 | |
}], | |
194: [function(e, t, n) { | |
arguments[4][38][0].apply(n, arguments) | |
}, { | |
"@ndhoule/after": 5, | |
"@ndhoule/each": 10, | |
"@ndhoule/every": 12, | |
"@ndhoule/foldl": 14, | |
"@segment/fmt": 799, | |
"@segment/load-script": 803, | |
"analytics-events": 196, | |
"component-emitter": 830, | |
"dup": 38, | |
"is": 851, | |
"load-iframe": 860, | |
"next-tick": 867, | |
"to-no-case": 895 | |
}], | |
195: [function(e, t, n) { | |
arguments[4][39][0].apply(n, arguments) | |
}, { | |
"@ndhoule/each": 10, | |
"@ndhoule/includes": 15, | |
"component-emitter": 830, | |
"domify": 842, | |
"dup": 39 | |
}], | |
196: [function(e, t, n) { | |
arguments[4][40][0].apply(n, arguments) | |
}, { | |
"dup": 40 | |
}], | |
197: [function(e, t, n) { | |
arguments[4][41][0].apply(n, arguments) | |
}, { | |
"./debug": 198, | |
"_process": 874, | |
"dup": 41 | |
}], | |
198: [function(e, t, n) { | |
arguments[4][42][0].apply(n, arguments) | |
}, { | |
"dup": 42, | |
"ms": 862 | |
}], | |
199: [function(e, t, n) {; | |
var f = e("@segment/analytics.js-integration"); | |
t.exports = function() {}; | |
t.exports.Integration = f("empty"); | |
}, { | |
"@ndhoule/each": 10, | |
"@ndhoule/extend": 13, | |
"@ndhoule/pick": 18, | |
"@ndhoule/values": 20, | |
"@segment/analytics.js-integration": 789, | |
"is": 851, | |
"is-email": 200, | |
"md5": 861, | |
"obj-case": 868, | |
"use-https": 904 | |
}], | |
200: [function(e, t, n) { | |
"use strict"; | |
function o(e) { | |
return i.test(e) | |
} | |
var i = /.+\@.+\..+/; | |
t.exports = o | |
}, {}], | |
201: [function(e, t, n) {; | |
var s = e("@segment/analytics.js-integration"); | |
t.exports = function() {}; | |
t.exports.Integration = s("empty"); | |
}, { | |
"@ndhoule/each": 10, | |
"@segment/analytics.js-integration": 789, | |
"@segment/to-iso-string": 817, | |
"component-bind": 825, | |
"do-when": 841, | |
"global-queue": 844, | |
"segmentio-facade": 883, | |
"throttleit": 891 | |
}], | |
202: [function(e, t, n) {; | |
var s = e("@segment/analytics.js-integration"); | |
t.exports = function() {}; | |
t.exports.Integration = s("empty"); | |
}, { | |
"@segment/alias": 22, | |
"@segment/analytics.js-integration": 203, | |
"@segment/convert-dates": 798, | |
"segmentio-facade": 883 | |
}], | |
203: [function(e, t, n) { | |
arguments[4][37][0].apply(n, arguments) | |
}, { | |
"./protos": 204, | |
"./statics": 205, | |
"@ndhoule/clone": 7, | |
"@ndhoule/defaults": 8, | |
"@ndhoule/extend": 13, | |
"component-bind": 825, | |
"debug": 207, | |
"dup": 37, | |
"slug-component": 889 | |
}], | |
204: [function(e, t, n) { | |
arguments[4][38][0].apply(n, arguments) | |
}, { | |
"@ndhoule/after": 5, | |
"@ndhoule/each": 10, | |
"@ndhoule/every": 12, | |
"@ndhoule/foldl": 14, | |
"@segment/fmt": 799, | |
"@segment/load-script": 803, | |
"analytics-events": 206, | |
"component-emitter": 830, | |
"dup": 38, | |
"is": 851, | |
"load-iframe": 860, | |
"next-tick": 867, | |
"to-no-case": 895 | |
}], | |
205: [function(e, t, n) { | |
arguments[4][39][0].apply(n, arguments) | |
}, { | |
"@ndhoule/each": 10, | |
"@ndhoule/includes": 15, | |
"component-emitter": 830, | |
"domify": 842, | |
"dup": 39 | |
}], | |
206: [function(e, t, n) { | |
arguments[4][40][0].apply(n, arguments) | |
}, { | |
"dup": 40 | |
}], | |
207: [function(e, t, n) { | |
arguments[4][41][0].apply(n, arguments) | |
}, { | |
"./debug": 208, | |
"_process": 874, | |
"dup": 41 | |
}], | |
208: [function(e, t, n) { | |
arguments[4][42][0].apply(n, arguments) | |
}, { | |
"dup": 42, | |
"ms": 862 | |
}], | |
209: [function(e, t, n) {; | |
var o = e("@segment/analytics.js-integration"); | |
t.exports = function() {}; | |
t.exports.Integration = o("empty"); | |
}, { | |
"@segment/analytics.js-integration": 789, | |
"is": 851 | |
}], | |
210: [function(e, t, n) {; | |
var o = e("@segment/analytics.js-integration"); | |
t.exports = function() {}; | |
t.exports.Integration = o("empty"); | |
}, { | |
"@ndhoule/each": 10, | |
"@ndhoule/foldl": 14, | |
"@segment/analytics.js-integration": 789, | |
"component-querystring": 834, | |
"obj-case": 868, | |
"to-no-case": 895 | |
}], | |
211: [function(e, t, n) {; | |
var r = e("@segment/analytics.js-integration"); | |
t.exports = function() {}; | |
t.exports.Integration = r("empty"); | |
}, { | |
"@ndhoule/each": 10, | |
"@segment/analytics.js-integration": 212, | |
"@segment/convert-dates": 798 | |
}], | |
212: [function(e, t, n) { | |
arguments[4][37][0].apply(n, arguments) | |
}, { | |
"./protos": 213, | |
"./statics": 214, | |
"@ndhoule/clone": 7, | |
"@ndhoule/defaults": 8, | |
"@ndhoule/extend": 13, | |
"component-bind": 825, | |
"debug": 216, | |
"dup": 37, | |
"slug-component": 889 | |
}], | |
213: [function(e, t, n) { | |
arguments[4][38][0].apply(n, arguments) | |
}, { | |
"@ndhoule/after": 5, | |
"@ndhoule/each": 10, | |
"@ndhoule/every": 12, | |
"@ndhoule/foldl": 14, | |
"@segment/fmt": 799, | |
"@segment/load-script": 803, | |
"analytics-events": 215, | |
"component-emitter": 830, | |
"dup": 38, | |
"is": 851, | |
"load-iframe": 860, | |
"next-tick": 867, | |
"to-no-case": 895 | |
}], | |
214: [function(e, t, n) { | |
arguments[4][39][0].apply(n, arguments) | |
}, { | |
"@ndhoule/each": 10, | |
"@ndhoule/includes": 15, | |
"component-emitter": 830, | |
"domify": 842, | |
"dup": 39 | |
}], | |
215: [function(e, t, n) { | |
arguments[4][40][0].apply(n, arguments) | |
}, { | |
"dup": 40 | |
}], | |
216: [function(e, t, n) { | |
arguments[4][41][0].apply(n, arguments) | |
}, { | |
"./debug": 217, | |
"_process": 874, | |
"dup": 41 | |
}], | |
217: [function(e, t, n) { | |
arguments[4][42][0].apply(n, arguments) | |
}, { | |
"dup": 42, | |
"ms": 862 | |
}], | |
218: [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": 789, | |
"global-queue": 844, | |
"isobject": 853, | |
"obj-case": 868 | |
}], | |
219: [function(e, t, n) {; | |
var o = e("@segment/analytics.js-integration"); | |
t.exports = function() {}; | |
t.exports.Integration = o("empty"); | |
}, { | |
"@ndhoule/each": 10, | |
"@ndhoule/keys": 16, | |
"@segment/analytics.js-integration": 789, | |
"next-tick": 220, | |
"obj-case": 868 | |
}], | |
220: [function(e, t, n) { | |
(function(e, n) { | |
"use strict"; | |
var o, i; | |
o = function(e) { | |
if ("function" != typeof e) throw new TypeError(e + " is not a function"); | |
return e | |
}; | |
i = function(e) { | |
var t, n, i = document.createTextNode(""), | |
a = 0; | |
new e(function() { | |
var e; | |
if (t) n && (t = n.concat(t)); | |
else { | |
if (!n) return; | |
t = n | |
} | |
n = t; | |
t = null; | |
if ("function" != typeof n) { | |
i.data = a = ++a % 2; | |
for (; n;) { | |
e = n.shift(); | |
n.length || (n = null); | |
e() | |
} | |
} else { | |
e = n; | |
n = null; | |
e() | |
} | |
}).observe(i, { | |
characterData: !0 | |
}); | |
return function(e) { | |
o(e); | |
if (t) "function" == typeof t ? t = [t, e] : t.push(e); | |
else { | |
t = e; | |
i.data = a = ++a % 2 | |
} | |
} | |
}; | |
t.exports = function() { | |
if ("object" == typeof e && e && "function" == typeof e.nextTick) return e.nextTick; | |
if ("object" == typeof document && document) { | |
if ("function" == typeof MutationObserver) return i(MutationObserver); | |
if ("function" == typeof WebKitMutationObserver) return i(WebKitMutationObserver) | |
} | |
return "function" == typeof n ? function(e) { | |
n(o(e)) | |
} : "function" == typeof setTimeout || "object" == typeof setTimeout ? function(e) { | |
setTimeout(o(e), 0) | |
} : null | |
}() | |
}).call(this, e("_process"), e("timers").setImmediate) | |
}, { | |
"_process": 874, | |
"timers": 892 | |
}], | |
221: [function(e, t, n) {; | |
var i = e("@segment/analytics.js-integration"); | |
t.exports = function() {}; | |
t.exports.Integration = i("empty"); | |
}, { | |
"@segment/analytics.js-integration": 222, | |
"global-queue": 844 | |
}], | |
222: [function(e, t, n) { | |
arguments[4][37][0].apply(n, arguments) | |
}, { | |
"./protos": 223, | |
"./statics": 224, | |
"@ndhoule/clone": 7, | |
"@ndhoule/defaults": 8, | |
"@ndhoule/extend": 13, | |
"component-bind": 825, | |
"debug": 226, | |
"dup": 37, | |
"slug-component": 889 | |
}], | |
223: [function(e, t, n) { | |
arguments[4][38][0].apply(n, arguments) | |
}, { | |
"@ndhoule/after": 5, | |
"@ndhoule/each": 10, | |
"@ndhoule/every": 12, | |
"@ndhoule/foldl": 14, | |
"@segment/fmt": 799, | |
"@segment/load-script": 803, | |
"analytics-events": 225, | |
"component-emitter": 830, | |
"dup": 38, | |
"is": 851, | |
"load-iframe": 860, | |
"next-tick": 867, | |
"to-no-case": 895 | |
}], | |
224: [function(e, t, n) { | |
arguments[4][39][0].apply(n, arguments) | |
}, { | |
"@ndhoule/each": 10, | |
"@ndhoule/includes": 15, | |
"component-emitter": 830, | |
"domify": 842, | |
"dup": 39 | |
}], | |
225: [function(e, t, n) { | |
arguments[4][40][0].apply(n, arguments) | |
}, { | |
"dup": 40 | |
}], | |
226: [function(e, t, n) { | |
arguments[4][41][0].apply(n, arguments) | |
}, { | |
"./debug": 227, | |
"_process": 874, | |
"dup": 41 | |
}], | |
227: [function(e, t, n) { | |
arguments[4][42][0].apply(n, arguments) | |
}, { | |
"dup": 42, | |
"ms": 862 | |
}], | |
228: [function(e, t, n) {; | |
var o = e("@segment/analytics.js-integration"); | |
t.exports = function() {}; | |
t.exports.Integration = o("empty"); | |
}, { | |
"@segment/analytics.js-integration": 229 | |
}], | |
229: [function(e, t, n) { | |
arguments[4][37][0].apply(n, arguments) | |
}, { | |
"./protos": 230, | |
"./statics": 231, | |
"@ndhoule/clone": 7, | |
"@ndhoule/defaults": 8, | |
"@ndhoule/extend": 13, | |
"component-bind": 825, | |
"debug": 233, | |
"dup": 37, | |
"slug-component": 889 | |
}], | |
230: [function(e, t, n) { | |
arguments[4][38][0].apply(n, arguments) | |
}, { | |
"@ndhoule/after": 5, | |
"@ndhoule/each": 10, | |
"@ndhoule/every": 12, | |
"@ndhoule/foldl": 14, | |
"@segment/fmt": 799, | |
"@segment/load-script": 803, | |
"analytics-events": 232, | |
"component-emitter": 830, | |
"dup": 38, | |
"is": 851, | |
"load-iframe": 860, | |
"next-tick": 867, | |
"to-no-case": 895 | |
}], | |
231: [function(e, t, n) { | |
arguments[4][39][0].apply(n, arguments) | |
}, { | |
"@ndhoule/each": 10, | |
"@ndhoule/includes": 15, | |
"component-emitter": 830, | |
"domify": 842, | |
"dup": 39 | |
}], | |
232: [function(e, t, n) { | |
arguments[4][40][0].apply(n, arguments) | |
}, { | |
"dup": 40 | |
}], | |
233: [function(e, t, n) { | |
arguments[4][41][0].apply(n, arguments) | |
}, { | |
"./debug": 234, | |
"_process": 874, | |
"dup": 41 | |
}], | |
234: [function(e, t, n) { | |
arguments[4][42][0].apply(n, arguments) | |
}, { | |
"dup": 42, | |
"ms": 862 | |
}], | |
235: [function(e, t, n) {; | |
var i = e("@segment/analytics.js-integration"); | |
t.exports = function() {}; | |
t.exports.Integration = i("empty"); | |
}, { | |
"@ndhoule/extend": 236, | |
"@segment/analytics.js-integration": 237, | |
"global-queue": 844 | |
}], | |
236: [function(e, t, n) { | |
arguments[4][13][0].apply(n, arguments) | |
}, { | |
"dup": 13 | |
}], | |
237: [function(e, t, n) { | |
arguments[4][37][0].apply(n, arguments) | |
}, { | |
"./protos": 238, | |
"./statics": 239, | |
"@ndhoule/clone": 7, | |
"@ndhoule/defaults": 8, | |
"@ndhoule/extend": 236, | |
"component-bind": 825, | |
"debug": 241, | |
"dup": 37, | |
"slug-component": 889 | |
}], | |
238: [function(e, t, n) { | |
arguments[4][38][0].apply(n, arguments) | |
}, { | |
"@ndhoule/after": 5, | |
"@ndhoule/each": 10, | |
"@ndhoule/every": 12, | |
"@ndhoule/foldl": 14, | |
"@segment/fmt": 799, | |
"@segment/load-script": 803, | |
"analytics-events": 240, | |
"component-emitter": 830, | |
"dup": 38, | |
"is": 851, | |
"load-iframe": 860, | |
"next-tick": 867, | |
"to-no-case": 895 | |
}], | |
239: [function(e, t, n) { | |
arguments[4][39][0].apply(n, arguments) | |
}, { | |
"@ndhoule/each": 10, | |
"@ndhoule/includes": 15, | |
"component-emitter": 830, | |
"domify": 842, | |
"dup": 39 | |
}], | |
240: [function(e, t, n) { | |
arguments[4][40][0].apply(n, arguments) | |
}, { | |
"dup": 40 | |
}], | |
241: [function(e, t, n) { | |
arguments[4][41][0].apply(n, arguments) | |
}, { | |
"./debug": 242, | |
"_process": 874, | |
"dup": 41 | |
}], | |
242: [function(e, t, n) { | |
arguments[4][42][0].apply(n, arguments) | |
}, { | |
"dup": 42, | |
"ms": 862 | |
}], | |
243: [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": 244, | |
"global-queue": 844 | |
}], | |
244: [function(e, t, n) { | |
arguments[4][37][0].apply(n, arguments) | |
}, { | |
"./protos": 245, | |
"./statics": 246, | |
"@ndhoule/clone": 7, | |
"@ndhoule/defaults": 8, | |
"@ndhoule/extend": 13, | |
"component-bind": 825, | |
"debug": 248, | |
"dup": 37, | |
"slug-component": 889 | |
}], | |
245: [function(e, t, n) { | |
arguments[4][38][0].apply(n, arguments) | |
}, { | |
"@ndhoule/after": 5, | |
"@ndhoule/each": 10, | |
"@ndhoule/every": 12, | |
"@ndhoule/foldl": 14, | |
"@segment/fmt": 799, | |
"@segment/load-script": 803, | |
"analytics-events": 247, | |
"component-emitter": 830, | |
"dup": 38, | |
"is": 851, | |
"load-iframe": 860, | |
"next-tick": 867, | |
"to-no-case": 895 | |
}], | |
246: [function(e, t, n) { | |
arguments[4][39][0].apply(n, arguments) | |
}, { | |
"@ndhoule/each": 10, | |
"@ndhoule/includes": 15, | |
"component-emitter": 830, | |
"domify": 842, | |
"dup": 39 | |
}], | |
247: [function(e, t, n) { | |
arguments[4][40][0].apply(n, arguments) | |
}, { | |
"dup": 40 | |
}], | |
248: [function(e, t, n) { | |
arguments[4][41][0].apply(n, arguments) | |
}, { | |
"./debug": 249, | |
"_process": 874, | |
"dup": 41 | |
}], | |
249: [function(e, t, n) { | |
arguments[4][42][0].apply(n, arguments) | |
}, { | |
"dup": 42, | |
"ms": 862 | |
}], | |
250: [function(e, t, n) {; | |
var r = e("@segment/analytics.js-integration"); | |
t.exports = function() {}; | |
t.exports.Integration = r("empty"); | |
}, { | |
"@ndhoule/each": 10, | |
"@ndhoule/extend": 13, | |
"@segment/analytics.js-integration": 251, | |
"domify": 842, | |
"json3": 856 | |
}], | |
251: [function(e, t, n) { | |
arguments[4][37][0].apply(n, arguments) | |
}, { | |
"./protos": 252, | |
"./statics": 253, | |
"@ndhoule/clone": 7, | |
"@ndhoule/defaults": 8, | |
"@ndhoule/extend": 13, | |
"component-bind": 825, | |
"debug": 255, | |
"dup": 37, | |
"slug-component": 889 | |
}], | |
252: [function(e, t, n) { | |
arguments[4][38][0].apply(n, arguments) | |
}, { | |
"@ndhoule/after": 5, | |
"@ndhoule/each": 10, | |
"@ndhoule/every": 12, | |
"@ndhoule/foldl": 14, | |
"@segment/fmt": 799, | |
"@segment/load-script": 803, | |
"analytics-events": 254, | |
"component-emitter": 830, | |
"dup": 38, | |
"is": 851, | |
"load-iframe": 860, | |
"next-tick": 867, | |
"to-no-case": 895 | |
}], | |
253: [function(e, t, n) { | |
arguments[4][39][0].apply(n, arguments) | |
}, { | |
"@ndhoule/each": 10, | |
"@ndhoule/includes": 15, | |
"component-emitter": 830, | |
"domify": 842, | |
"dup": 39 | |
}], | |
254: [function(e, t, n) { | |
arguments[4][40][0].apply(n, arguments) | |
}, { | |
"dup": 40 | |
}], | |
255: [function(e, t, n) { | |
arguments[4][41][0].apply(n, arguments) | |
}, { | |
"./debug": 256, | |
"_process": 874, | |
"dup": 41 | |
}], | |
256: [function(e, t, n) { | |
arguments[4][42][0].apply(n, arguments) | |
}, { | |
"dup": 42, | |
"ms": 862 | |
}], | |
257: [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": 258, | |
"global-queue": 844 | |
}], | |
258: [function(e, t, n) { | |
arguments[4][37][0].apply(n, arguments) | |
}, { | |
"./protos": 259, | |
"./statics": 260, | |
"@ndhoule/clone": 7, | |
"@ndhoule/defaults": 8, | |
"@ndhoule/extend": 13, | |
"component-bind": 825, | |
"debug": 262, | |
"dup": 37, | |
"slug-component": 889 | |
}], | |
259: [function(e, t, n) { | |
arguments[4][38][0].apply(n, arguments) | |
}, { | |
"@ndhoule/after": 5, | |
"@ndhoule/each": 10, | |
"@ndhoule/every": 12, | |
"@ndhoule/foldl": 14, | |
"@segment/fmt": 799, | |
"@segment/load-script": 803, | |
"analytics-events": 261, | |
"component-emitter": 830, | |
"dup": 38, | |
"is": 851, | |
"load-iframe": 860, | |
"next-tick": 867, | |
"to-no-case": 895 | |
}], | |
260: [function(e, t, n) { | |
arguments[4][39][0].apply(n, arguments) | |
}, { | |
"@ndhoule/each": 10, | |
"@ndhoule/includes": 15, | |
"component-emitter": 830, | |
"domify": 842, | |
"dup": 39 | |
}], | |
261: [function(e, t, n) { | |
arguments[4][40][0].apply(n, arguments) | |
}, { | |
"dup": 40 | |
}], | |
262: [function(e, t, n) { | |
arguments[4][41][0].apply(n, arguments) | |
}, { | |
"./debug": 263, | |
"_process": 874, | |
"dup": 41 | |
}], | |
263: [function(e, t, n) { | |
arguments[4][42][0].apply(n, arguments) | |
}, { | |
"dup": 42, | |
"ms": 862 | |
}], | |
264: [function(e, t, n) {; | |
var o = e("@segment/analytics.js-integration"); | |
t.exports = function() {}; | |
t.exports.Integration = o("empty"); | |
}, { | |
"@ndhoule/foldl": 14, | |
"@segment/analytics.js-integration": 789, | |
"global-queue": 844, | |
"segmentio-facade": 883 | |
}], | |
265: [function(e, t, n) {; | |
var a = e("@segment/analytics.js-integration"); | |
t.exports = function() {}; | |
t.exports.Integration = a("empty"); | |
}, { | |
"@ndhoule/each": 10, | |
"@ndhoule/foldl": 14, | |
"@segment/analytics.js-integration": 789, | |
"dateformat": 839, | |
"is": 851, | |
"reject": 875, | |
"segmentio-facade": 883, | |
"to-camel-case": 893 | |
}], | |
266: [function(e, t, n) {; | |
var r = e("@segment/analytics.js-integration"); | |
t.exports = function() {}; | |
t.exports.Integration = r("empty"); | |
}, { | |
"@segment/analytics.js-integration": 789, | |
"component-each": 828, | |
"global-queue": 844, | |
"segmentio-facade": 883 | |
}], | |
267: [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": 789, | |
"is": 851, | |
"obj-case": 868, | |
"reject": 875, | |
"segmentio-facade": 883, | |
"to-no-case": 268 | |
}], | |
268: [function(e, t, n) { | |
function o(e) { | |
return r.test(e) ? e.toLowerCase() : s.test(e) ? (i(e) || e).toLowerCase() : c.test(e) ? a(e).toLowerCase() : e.toLowerCase() | |
} | |
function i(e) { | |
return e.replace(p, function(e, t) { | |
return t ? " " + t : "" | |
}) | |
} | |
function a(e) { | |
return e.replace(u, function(e, t, n) { | |
return t + " " + n.toLowerCase().split("").join(" ") | |
}) | |
} | |
t.exports = o; | |
var r = /\s/, | |
s = /(_|-|\.|:)/, | |
c = /([a-z][A-Z]|[A-Z][a-z])/, | |
p = /[\W_]+(.|$)/g, | |
u = /(.)([A-Z]+)/g | |
}, {}], | |
269: [function(e, t, n) {; | |
var c = e("@segment/analytics.js-integration"); | |
t.exports = function() {}; | |
t.exports.Integration = c("empty"); | |
}, { | |
"@ndhoule/foldl": 14, | |
"@segment/analytics.js-integration": 270, | |
"camelcase": 274, | |
"is": 851 | |
}], | |
270: [function(e, t, n) { | |
arguments[4][37][0].apply(n, arguments) | |
}, { | |
"./protos": 271, | |
"./statics": 272, | |
"@ndhoule/clone": 7, | |
"@ndhoule/defaults": 8, | |
"@ndhoule/extend": 13, | |
"component-bind": 825, | |
"debug": 275, | |
"dup": 37, | |
"slug-component": 889 | |
}], | |
271: [function(e, t, n) { | |
arguments[4][38][0].apply(n, arguments) | |
}, { | |
"@ndhoule/after": 5, | |
"@ndhoule/each": 10, | |
"@ndhoule/every": 12, | |
"@ndhoule/foldl": 14, | |
"@segment/fmt": 799, | |
"@segment/load-script": 803, | |
"analytics-events": 273, | |
"component-emitter": 830, | |
"dup": 38, | |
"is": 851, | |
"load-iframe": 860, | |
"next-tick": 867, | |
"to-no-case": 895 | |
}], | |
272: [function(e, t, n) { | |
arguments[4][39][0].apply(n, arguments) | |
}, { | |
"@ndhoule/each": 10, | |
"@ndhoule/includes": 15, | |
"component-emitter": 830, | |
"domify": 842, | |
"dup": 39 | |
}], | |
273: [function(e, t, n) { | |
arguments[4][40][0].apply(n, arguments) | |
}, { | |
"dup": 40 | |
}], | |
274: [function(e, t, n) { | |
"use strict"; | |
function o(e) { | |
for (var t = !1, n = 0; n < e.length; n++) { | |
var o = e.charAt(n); | |
if (t && /[a-zA-Z]/.test(o) && o.toUpperCase() === o) { | |
e = e.substr(0, n) + "-" + e.substr(n); | |
t = !1; | |
n++ | |
} else t = o.toLowerCase() === o | |
} | |
return e | |
} | |
t.exports = function() { | |
var e = [].map.call(arguments, function(e) { | |
return e.trim() | |
}).filter(function(e) { | |
return e.length | |
}).join("-"); | |
if (!e.length) return ""; | |
if (1 === e.length) return e.toLowerCase(); | |
if (!/[_.\- ]+/.test(e)) return e === e.toUpperCase() ? e.toLowerCase() : e[0] !== e[0].toLowerCase() ? e[0].toLowerCase() + e.slice(1) : e; | |
e = o(e); | |
return e.replace(/^[_.\- ]+/, "").toLowerCase().replace(/[_.\- ]+(\w|$)/g, function(e, t) { | |
return t.toUpperCase() | |
}) | |
} | |
}, {}], | |
275: [function(e, t, n) { | |
arguments[4][41][0].apply(n, arguments) | |
}, { | |
"./debug": 276, | |
"_process": 874, | |
"dup": 41 | |
}], | |
276: [function(e, t, n) { | |
arguments[4][42][0].apply(n, arguments) | |
}, { | |
"dup": 42, | |
"ms": 862 | |
}], | |
277: [function(e, t, n) {; | |
var o = e("@segment/analytics.js-integration"); | |
t.exports = function() {}; | |
t.exports.Integration = o("empty"); | |
}, { | |
"@segment/analytics.js-integration": 278, | |
"global-queue": 844 | |
}], | |
278: [function(e, t, n) { | |
arguments[4][37][0].apply(n, arguments) | |
}, { | |
"./protos": 279, | |
"./statics": 280, | |
"@ndhoule/clone": 7, | |
"@ndhoule/defaults": 8, | |
"@ndhoule/extend": 13, | |
"component-bind": 825, | |
"debug": 282, | |
"dup": 37, | |
"slug-component": 889 | |
}], | |
279: [function(e, t, n) { | |
arguments[4][38][0].apply(n, arguments) | |
}, { | |
"@ndhoule/after": 5, | |
"@ndhoule/each": 10, | |
"@ndhoule/every": 12, | |
"@ndhoule/foldl": 14, | |
"@segment/fmt": 799, | |
"@segment/load-script": 803, | |
"analytics-events": 281, | |
"component-emitter": 830, | |
"dup": 38, | |
"is": 851, | |
"load-iframe": 860, | |
"next-tick": 867, | |
"to-no-case": 895 | |
}], | |
280: [function(e, t, n) { | |
arguments[4][39][0].apply(n, arguments) | |
}, { | |
"@ndhoule/each": 10, | |
"@ndhoule/includes": 15, | |
"component-emitter": 830, | |
"domify": 842, | |
"dup": 39 | |
}], | |
281: [function(e, t, n) { | |
arguments[4][40][0].apply(n, arguments) | |
}, { | |
"dup": 40 | |
}], | |
282: [function(e, t, n) { | |
arguments[4][41][0].apply(n, arguments) | |
}, { | |
"./debug": 283, | |
"_process": 874, | |
"dup": 41 | |
}], | |
283: [function(e, t, n) { | |
arguments[4][42][0].apply(n, arguments) | |
}, { | |
"dup": 42, | |
"ms": 862 | |
}], | |
284: [function(e, t, n) {; | |
var o = e("@segment/analytics.js-integration"); | |
t.exports = function() {}; | |
t.exports.Integration = o("empty"); | |
}, { | |
"@segment/analytics.js-integration": 285, | |
"on-body-ready": 871 | |
}], | |
285: [function(e, t, n) { | |
arguments[4][37][0].apply(n, arguments) | |
}, { | |
"./protos": 286, | |
"./statics": 287, | |
"@ndhoule/clone": 7, | |
"@ndhoule/defaults": 8, | |
"@ndhoule/extend": 13, | |
"component-bind": 825, | |
"debug": 289, | |
"dup": 37, | |
"slug-component": 889 | |
}], | |
286: [function(e, t, n) { | |
arguments[4][38][0].apply(n, arguments) | |
}, { | |
"@ndhoule/after": 5, | |
"@ndhoule/each": 10, | |
"@ndhoule/every": 12, | |
"@ndhoule/foldl": 14, | |
"@segment/fmt": 799, | |
"@segment/load-script": 803, | |
"analytics-events": 288, | |
"component-emitter": 830, | |
"dup": 38, | |
"is": 851, | |
"load-iframe": 860, | |
"next-tick": 867, | |
"to-no-case": 895 | |
}], | |
287: [function(e, t, n) { | |
arguments[4][39][0].apply(n, arguments) | |
}, { | |
"@ndhoule/each": 10, | |
"@ndhoule/includes": 15, | |
"component-emitter": 830, | |
"domify": 842, | |
"dup": 39 | |
}], | |
288: [function(e, t, n) { | |
arguments[4][40][0].apply(n, arguments) | |
}, { | |
"dup": 40 | |
}], | |
289: [function(e, t, n) { | |
arguments[4][41][0].apply(n, arguments) | |
}, { | |
"./debug": 290, | |
"_process": 874, | |
"dup": 41 | |
}], | |
290: [function(e, t, n) { | |
arguments[4][42][0].apply(n, arguments) | |
}, { | |
"dup": 42, | |
"ms": 862 | |
}], | |
291: [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": 789, | |
"extend": 843, | |
"obj-case": 868, | |
"reject": 875 | |
}], | |
292: [function(e, t, n) {; | |
"use strict"; | |
function o(e, t) { | |
if (e) { | |
var n = e.path; | |
t.includeSearch && e.search && (n += e.search); | |
return n | |
} | |
} | |
function i(e, t, n) { | |
var o = {}, | |
i = r(e, t); | |
if (b(i)) { | |
if (!t.setAllMappedProps) { | |
h(i, function(e, t) { | |
o[e] = t | |
}); | |
return o | |
} | |
window.ga(n + "set", i) | |
} | |
} | |
function a(e) { | |
return !e || e < 0 ? 0 : Math.round(e) | |
} | |
function r(e, t) { | |
var n = t.dimensions, | |
o = t.metrics, | |
i = t.contentGroupings, | |
a = {}; | |
h([o, n, i], function(t) { | |
h(t, function(t, n) { | |
var o = m(e, t) || e[t]; | |
y.bool(o) && (o = o.toString()); | |
(o || 0 === o) && (a[n] = o) | |
}) | |
}); | |
return a | |
} | |
function s(e, t, n) { | |
var o = e.properties(), | |
i = { | |
id: e.productId() || e.id() || e.sku(), | |
name: e.name(), | |
category: e.category(), | |
quantity: e.quantity(), | |
price: e.price(), | |
brand: o.brand, | |
variant: o.variant, | |
currency: e.currency() | |
}; | |
null != o.position && (i.position = Math.round(o.position)); | |
var a = e.proxy("properties.coupon"); | |
a && (i.coupon = a); | |
i = _(i, r(o, n)); | |
window.ga(t + "ec:addProduct", i) | |
} | |
function c(e, t, n, o, i) { | |
s(e, o, i); | |
window.ga(o + "ec:setAction", t, n || {}) | |
} | |
function p(e) { | |
var t = [e.paymentMethod, e.shippingMethod], | |
n = w(t); | |
return n.length > 0 ? n.join(", ") : null | |
} | |
function u(e, t) { | |
t.currency = t.currency || e.currency(); | |
return new d({ | |
properties: t | |
}) | |
} | |
var l, d = e("segmentio-facade").Track, | |
f = e("@ndhoule/defaults"), | |
m = e("obj-case"), | |
h = e("component-each"), | |
g = e("@segment/analytics.js-integration"), | |
y = e("is"), | |
b = e("object-component").length, | |
v = e("global-queue")("_gaq"), | |
w = e("reject"), | |
k = e("use-https"), | |
_ = e("extend"); | |
t.exports = n = function(e) { | |
e.addIntegration(x); | |
l = e.user() | |
}; | |
var x = n.Integration = g("Google Analytics").readyOnLoad().global("ga").global("gaplugins").global("_gaq").global("GoogleAnalyticsObject").option("anonymizeIp", !1).option("useGoogleAmpClientId", !1).option("classic", !1).option("contentGroupings", {}).option("dimensions", {}).option("domain", "auto").option("doubleClick", !1).option("enhancedEcommerce", !1).option("enhancedLinkAttribution", !1).option("ignoredReferrers", null).option("includeSearch", !1).option("setAllMappedProps", !0).option("metrics", {}).option("nonInteraction", !1).option("sendUserId", !1).option("siteSpeedSampleRate", 1).option("sampleRate", 100).option("trackCategorizedPages", !0).option("trackNamedPages", !0).option("trackingId", "").option("optimize", "").option("nameTracker", !1).tag("library", '<script src="//www.google-analytics.com/analytics.js">').tag("double click", '<script src="//stats.g.doubleclick.net/dc.js">').tag("http", '<script src="http://www.google-analytics.com/ga.js">').tag("https", '<script src="https://ssl.google-analytics.com/ga.js">'); | |
x.on("construct", function(e) { | |
if (e.options.classic) { | |
e.initialize = e.initializeClassic; | |
e.loaded = e.loadedClassic; | |
e.page = e.pageClassic; | |
e.track = e.trackClassic; | |
e.orderCompleted = e.completedOrderClassic | |
} else if (e.options.enhancedEcommerce) { | |
e.productViewed = e.productViewedEnhanced; | |
e.productClicked = e.productClickedEnhanced; | |
e.productAdded = e.productAddedEnhanced; | |
e.productRemoved = e.productRemovedEnhanced; | |
e.checkoutStarted = e.checkoutStartedEnhanced; | |
e.checkoutStepViewed = e.checkoutStepViewedEnhanced; | |
e.checkoutStepCompleted = e.checkoutStepCompletedEnhanced; | |
e.orderUpdated = e.orderUpdatedEnhanced; | |
e.orderCompleted = e.orderCompletedEnhanced; | |
e.orderRefunded = e.orderRefundedEnhanced; | |
e.promotionViewed = e.promotionViewedEnhanced; | |
e.promotionClicked = e.promotionClickedEnhanced; | |
e.productListViewed = e.productListViewedEnhanced; | |
e.productListFiltered = e.productListFilteredEnhanced | |
} | |
}); | |
x.prototype.initialize = function() { | |
this.pageCalled = !1; | |
var e = this.options; | |
window.GoogleAnalyticsObject = "ga"; | |
window.ga = window.ga || function() { | |
window.ga.q = window.ga.q || []; | |
window.ga.q.push(arguments) | |
}; | |
window.ga.l = (new Date).getTime(); | |
"localhost" === window.location.hostname && (e.domain = "none"); | |
var t = { | |
cookieDomain: e.domain || x.prototype.defaults.domain, | |
siteSpeedSampleRate: e.siteSpeedSampleRate, | |
sampleRate: e.sampleRate, | |
allowLinker: !0, | |
useAmpClientId: e.useGoogleAmpClientId | |
}; | |
if (e.nameTracker) { | |
t.name = "segmentGATracker"; | |
this._trackerName = "segmentGATracker." | |
} else this._trackerName = ""; | |
window.ga("create", e.trackingId, t); | |
e.optimize && window.ga(this._trackerName + "require", e.optimize); | |
e.doubleClick && window.ga(this._trackerName + "require", "displayfeatures"); | |
e.enhancedLinkAttribution && window.ga(this._trackerName + "require", "linkid", "linkid.js"); | |
e.sendUserId && l.id() && window.ga(this._trackerName + "set", "userId", l.id()); | |
e.anonymizeIp && window.ga(this._trackerName + "set", "anonymizeIp", !0); | |
var n = l.traits(); | |
l.id() && (n.id = l.id()); | |
var o = r(n, e); | |
b(o) && window.ga(this._trackerName + "set", o); | |
this.load("library", this.ready) | |
}; | |
x.prototype.loaded = function() { | |
return !!window.gaplugins | |
}; | |
x.prototype.page = function(e) { | |
var t, n = e.category(), | |
a = e.properties(), | |
r = e.fullName(), | |
s = this.options, | |
c = e.proxy("context.campaign") || {}, | |
p = {}, | |
u = o(a, this.options), | |
l = r || a.title, | |
d = e.referrer() || "", | |
f = this; | |
this._category = n; | |
p.page = u; | |
p.title = l; | |
p.location = a.url; | |
c.name && (p.campaignName = c.name); | |
c.source && (p.campaignSource = c.source); | |
c.medium && (p.campaignMedium = c.medium); | |
c.content && (p.campaignContent = c.content); | |
c.term && (p.campaignKeyword = c.term); | |
var m = { | |
page: u, | |
title: l | |
}; | |
p = _(p, i(a, s, f._trackerName)); | |
d !== document.referrer && (m.referrer = d); | |
window.ga(this._trackerName + "set", m); | |
this.pageCalled && delete p.location; | |
window.ga(this._trackerName + "send", "pageview", p); | |
if (n && this.options.trackCategorizedPages) { | |
t = e.track(n); | |
this.track(t, { | |
nonInteraction: 1 | |
}) | |
} | |
if (r && this.options.trackNamedPages) { | |
t = e.track(r); | |
this.track(t, { | |
nonInteraction: 1 | |
}) | |
} | |
this.pageCalled = !0 | |
}; | |
x.prototype.identify = function(e) { | |
var t = this.options; | |
t.sendUserId && e.userId() && window.ga(this._trackerName + "set", "userId", e.userId()); | |
var n = r(e.traits(), t); | |
b(n) && window.ga(this._trackerName + "set", n) | |
}; | |
x.prototype.track = function(e, t) { | |
var n = e.options(this.name), | |
o = this.options, | |
r = f(t || {}, n); | |
r = f(r, o); | |
var s = e.properties(), | |
c = e.proxy("context.campaign") || {}, | |
p = this, | |
u = { | |
eventAction: e.event(), | |
eventCategory: e.category() || this._category || "All", | |
eventLabel: s.label, | |
eventValue: a(s.value || e.revenue()), | |
nonInteraction: s.nonInteraction !== undefined ? !!s.nonInteraction : !!r.nonInteraction | |
}; | |
c.name && (u.campaignName = c.name); | |
c.source && (u.campaignSource = c.source); | |
c.medium && (u.campaignMedium = c.medium); | |
c.content && (u.campaignContent = c.content); | |
c.term && (u.campaignKeyword = c.term); | |
u = _(u, i(s, o, p._trackerName)); | |
window.ga(this._trackerName + "send", "event", u) | |
}; | |
x.prototype.orderCompleted = function(e) { | |
var t = e.total() || e.revenue() || 0, | |
n = e.orderId(), | |
o = e.products(), | |
i = e.properties(), | |
a = this; | |
if (n) { | |
if (!this.ecommerce) { | |
window.ga(this._trackerName + "require", "ecommerce"); | |
this.ecommerce = !0 | |
} | |
window.ga(this._trackerName + "ecommerce:addTransaction", { | |
affiliation: i.affiliation, | |
shipping: e.shipping(), | |
revenue: t, | |
tax: e.tax(), | |
id: n, | |
currency: e.currency() | |
}); | |
h(o, function(t) { | |
var o = u(e, t); | |
window.ga(a._trackerName + "ecommerce:addItem", { | |
category: o.category(), | |
quantity: o.quantity(), | |
price: o.price(), | |
name: o.name(), | |
sku: o.sku(), | |
id: n, | |
currency: o.currency() | |
}) | |
}); | |
window.ga(this._trackerName + "ecommerce:send") | |
} | |
}; | |
x.prototype.initializeClassic = function() { | |
var e = this.options, | |
t = e.anonymizeIp, | |
n = e.domain, | |
o = e.enhancedLinkAttribution, | |
i = e.ignoredReferrers, | |
a = e.siteSpeedSampleRate; | |
window._gaq = window._gaq || []; | |
v("_setAccount", e.trackingId); | |
v("_setAllowLinker", !0); | |
t && v("_gat._anonymizeIp"); | |
n && v("_setDomainName", n); | |
a && v("_setSiteSpeedSampleRate", a); | |
if (o) { | |
var r = "https:" === document.location.protocol ? "https:" : "http:"; | |
v("_require", "inpage_linkid", r + "//www.google-analytics.com/plugins/ga/inpage_linkid.js") | |
} | |
if (i) { | |
y.array(i) || (i = [i]); | |
h(i, function(e) { | |
v("_addIgnoredRef", e) | |
}) | |
} | |
if (this.options.doubleClick) this.load("double click", this.ready); | |
else { | |
var s = k() ? "https" : "http"; | |
this.load(s, this.ready) | |
} | |
}; | |
x.prototype.loadedClassic = function() { | |
return !(!window._gaq || window._gaq.push === Array.prototype.push) | |
}; | |
x.prototype.pageClassic = function(e) { | |
var t, n = e.category(), | |
i = e.properties(), | |
a = e.fullName(); | |
v("_trackPageview", o(i, this.options)); | |
if (n && this.options.trackCategorizedPages) { | |
t = e.track(n); | |
this.track(t, { | |
nonInteraction: 1 | |
}) | |
} | |
if (a && this.options.trackNamedPages) { | |
t = e.track(a); | |
this.track(t, { | |
nonInteraction: 1 | |
}) | |
} | |
}; | |
x.prototype.trackClassic = function(e, t) { | |
var n = t || e.options(this.name), | |
o = e.properties(), | |
i = e.revenue(), | |
r = e.event(), | |
s = this._category || e.category() || "All", | |
c = o.label, | |
p = a(i || o.value), | |
u = !(!o.nonInteraction && !n.nonInteraction); | |
v("_trackEvent", s, r, c, p, u) | |
}; | |
x.prototype.completedOrderClassic = function(e) { | |
var t = e.total() || e.revenue() || 0, | |
n = e.orderId(), | |
o = e.products() || [], | |
i = e.properties(), | |
a = e.currency(); | |
if (n) { | |
v("_addTrans", n, i.affiliation, t, e.tax(), e.shipping(), e.city(), e.state(), e.country()); | |
h(o, function(e) { | |
var t = new d({ | |
properties: e | |
}); | |
v("_addItem", n, t.sku(), t.name(), t.category(), t.price(), t.quantity()) | |
}); | |
v("_set", "currencyCode", a); | |
v("_trackTrans") | |
} | |
}; | |
x.prototype.loadEnhancedEcommerce = function(e) { | |
var t = this; | |
if (!this.enhancedEcommerceLoaded) { | |
window.ga(t._trackerName + "require", "ec"); | |
this.enhancedEcommerceLoaded = !0 | |
} | |
window.ga(t._trackerName + "set", "&cu", e.currency()) | |
}; | |
x.prototype.pushEnhancedEcommerce = function(e, t, n) { | |
var o = this, | |
a = w([o._trackerName + "send", "event", e.category() || "EnhancedEcommerce", e.event() || "Action not defined", e.properties().label, _({ | |
nonInteraction: 1 | |
}, i(e.properties(), t, n))]); | |
window.ga.apply(window, a) | |
}; | |
x.prototype.checkoutStartedEnhanced = function(e) { | |
this.checkoutStepViewed(e) | |
}; | |
x.prototype.orderUpdatedEnhanced = function(e) { | |
this.checkoutStartedEnhanced(e) | |
}; | |
x.prototype.checkoutStepViewedEnhanced = function(e) { | |
var t = e.products(), | |
n = e.properties(), | |
o = p(n), | |
i = this, | |
a = this.options; | |
this.loadEnhancedEcommerce(e); | |
h(t, function(t) { | |
s(u(e, t), i._trackerName, a) | |
}); | |
window.ga(i._trackerName + "ec:setAction", "checkout", { | |
step: n.step || 1, | |
option: o || undefined | |
}); | |
this.pushEnhancedEcommerce(e, a, i._trackerName) | |
}; | |
x.prototype.checkoutStepCompletedEnhanced = function(e) { | |
var t = e.properties(), | |
n = p(t), | |
o = this; | |
if (t.step && n) { | |
this.loadEnhancedEcommerce(e); | |
window.ga(o._trackerName + "ec:setAction", "checkout_option", { | |
step: t.step || 1, | |
option: n | |
}); | |
window.ga(o._trackerName + "send", "event", "Checkout", "Option") | |
} | |
}; | |
x.prototype.orderCompletedEnhanced = function(e) { | |
var t = e.total() || e.revenue() || 0, | |
n = e.orderId(), | |
o = e.products(), | |
i = e.properties(), | |
a = this.options, | |
r = this; | |
if (n) { | |
this.loadEnhancedEcommerce(e); | |
h(o, function(t) { | |
s(u(e, t), r._trackerName, a) | |
}); | |
window.ga(r._trackerName + "ec:setAction", "purchase", { | |
id: n, | |
affiliation: i.affiliation, | |
revenue: t, | |
tax: e.tax(), | |
shipping: e.shipping(), | |
coupon: e.coupon() | |
}); | |
this.pushEnhancedEcommerce(e, a, r._trackerName) | |
} | |
}; | |
x.prototype.orderRefundedEnhanced = function(e) { | |
var t = e.orderId(), | |
n = e.products(), | |
o = this, | |
i = this.options; | |
if (t) { | |
this.loadEnhancedEcommerce(e); | |
h(n, function(e) { | |
var t = new d({ | |
properties: e | |
}); | |
window.ga(o._trackerName + "ec:addProduct", { | |
id: t.productId() || t.id() || t.sku(), | |
quantity: t.quantity() | |
}) | |
}); | |
window.ga(o._trackerName + "ec:setAction", "refund", { | |
id: t | |
}); | |
this.pushEnhancedEcommerce(e, i, o._trackerName) | |
} | |
}; | |
x.prototype.productAddedEnhanced = function(e) { | |
var t = this, | |
n = this.options; | |
this.loadEnhancedEcommerce(e); | |
c(e, "add", null, t._trackerName, n); | |
this.pushEnhancedEcommerce(e, n, t._trackerName) | |
}; | |
x.prototype.productRemovedEnhanced = function(e) { | |
var t = this, | |
n = this.options; | |
this.loadEnhancedEcommerce(e); | |
c(e, "remove", null, t._trackerName, n); | |
this.pushEnhancedEcommerce(e, n, t._trackerName) | |
}; | |
x.prototype.productViewedEnhanced = function(e) { | |
var t = e.properties(), | |
n = {}, | |
o = this, | |
i = this.options; | |
this.loadEnhancedEcommerce(e); | |
t.list && (n.list = t.list); | |
c(e, "detail", n, o._trackerName, i); | |
this.pushEnhancedEcommerce(e, i, o._trackerName) | |
}; | |
x.prototype.productClickedEnhanced = function(e) { | |
var t = e.properties(), | |
n = {}, | |
o = this, | |
i = this.options; | |
this.loadEnhancedEcommerce(e); | |
t.list && (n.list = t.list); | |
c(e, "click", n, o._trackerName, i); | |
this.pushEnhancedEcommerce(e, i, o._trackerName) | |
}; | |
x.prototype.promotionViewedEnhanced = function(e) { | |
var t = e.properties(), | |
n = this, | |
o = this.options; | |
this.loadEnhancedEcommerce(e); | |
window.ga(n._trackerName + "ec:addPromo", { | |
id: e.promotionId() || e.id(), | |
name: e.name(), | |
creative: t.creative, | |
position: t.position | |
}); | |
this.pushEnhancedEcommerce(e, o, n._trackerName) | |
}; | |
x.prototype.promotionClickedEnhanced = function(e) { | |
var t = e.properties(), | |
n = this, | |
o = this.options; | |
this.loadEnhancedEcommerce(e); | |
window.ga(n._trackerName + "ec:addPromo", { | |
id: e.promotionId() || e.id(), | |
name: e.name(), | |
creative: t.creative, | |
position: t.position | |
}); | |
window.ga(n._trackerName + "ec:setAction", "promo_click", {}); | |
this.pushEnhancedEcommerce(e, o, n._trackerName) | |
}; | |
x.prototype.productListViewedEnhanced = function(e) { | |
var t = e.properties(), | |
n = e.products(), | |
o = this, | |
i = this.options; | |
this.loadEnhancedEcommerce(e); | |
h(n, function(i) { | |
var a = new d({ | |
properties: i | |
}); | |
if (a.productId() || a.sku() || a.name()) { | |
var r = { | |
id: a.productId() || a.sku(), | |
name: a.name(), | |
category: a.category() || e.category(), | |
list: t.list_id || e.category() || "products", | |
brand: a.properties().brand, | |
variant: a.properties().variant, | |
price: a.price(), | |
position: n.map(function(e) { | |
return e.product_id | |
}).indexOf(a.productId()) + 1 | |
}; | |
for (var s in r) r[s] === undefined && delete r[s]; | |
window.ga(o._trackerName + "ec:addImpression", r) | |
} | |
}); | |
this.pushEnhancedEcommerce(e, i, o._trackerName) | |
}; | |
x.prototype.productListFilteredEnhanced = function(e) { | |
var t = e.properties(), | |
n = e.products(); | |
t.filters = t.filters || []; | |
t.sorters = t.sorters || []; | |
var o = t.filters.map(function(e) { | |
return e.type + ":" + e.value | |
}).join(), | |
i = t.sorts.map(function(e) { | |
return e.type + ":" + e.value | |
}).join(), | |
a = this, | |
r = this.options; | |
this.loadEnhancedEcommerce(e); | |
h(n, function(r) { | |
var s = new d({ | |
properties: r | |
}); | |
if (s.productId() || s.sku() || s.name()) { | |
var c = { | |
id: s.productId() || s.sku(), | |
name: s.name(), | |
category: s.category() || e.category(), | |
list: t.list_id || e.category() || "search results", | |
brand: s.properties().brand, | |
variant: o + "::" + i, | |
price: s.price(), | |
position: n.map(function(e) { | |
return e.product_id | |
}).indexOf(s.productId()) + 1 | |
}; | |
for (var p in c) c[p] === undefined && delete c[p]; | |
window.ga(a._trackerName + "ec:addImpression", c) | |
} | |
}); | |
this.pushEnhancedEcommerce(e, r, a._trackerName) | |
}; | |
}, { | |
"@ndhoule/defaults": 8, | |
"@segment/analytics.js-integration": 789, | |
"component-each": 828, | |
"extend": 843, | |
"global-queue": 844, | |
"is": 851, | |
"obj-case": 868, | |
"object-component": 869, | |
"reject": 875, | |
"segmentio-facade": 883, | |
"use-https": 904 | |
}], | |
293: [function(e, t, n) {; | |
"use strict"; | |
var o = e("@segment/analytics.js-integration"), | |
i = e("global-queue")("dataLayer", { | |
wrap: !1 | |
}), | |
a = t.exports = o("Google Tag Manager").global("dataLayer").global("google_tag_manager").option("containerId", "").option("environment", "").option("trackNamedPages", !0).option("trackCategorizedPages", !0).tag("no-env", '<script src="//www.googletagmanager.com/gtm.js?id={{ containerId }}&l=dataLayer">').tag("with-env", '<script src="//www.googletagmanager.com/gtm.js?id={{ containerId }}&l=dataLayer>m_preview={{ environment }}">'); | |
a.prototype.initialize = function() { | |
i({ | |
"gtm.start": Number(new Date), | |
event: "gtm.js" | |
}); | |
this.options.environment.length ? this.load("with-env", this.options, this.ready) : this.load("no-env", this.options, this.ready) | |
}; | |
a.prototype.loaded = function() { | |
return !(!window.dataLayer || Array.prototype.push === window.dataLayer.push) | |
}; | |
a.prototype.page = function(e) { | |
var t = e.category(), | |
n = e.fullName(), | |
o = this.options; | |
o.trackAllPages && this.track(e.track()); | |
t && o.trackCategorizedPages && this.track(e.track(t)); | |
n && o.trackNamedPages && this.track(e.track(n)) | |
}; | |
a.prototype.track = function(e) { | |
var t = e.properties(), | |
n = this.analytics.user().id(), | |
o = this.analytics.user().anonymousId(); | |
n && (t.userId = n); | |
o && (t.segmentAnonymousId = o); | |
t.event = e.event(); | |
i(t) | |
}; | |
}, { | |
"@segment/analytics.js-integration": 789, | |
"global-queue": 844 | |
}], | |
294: [function(e, t, n) {; | |
var s = e("@segment/analytics.js-integration"); | |
t.exports = function() {}; | |
t.exports.Integration = s("empty"); | |
}, { | |
"@segment/analytics.js-integration": 789, | |
"component-each": 828, | |
"omit": 870, | |
"pick": 873, | |
"segmentio-facade": 883 | |
}], | |
295: [function(e, t, n) {; | |
"use strict"; | |
function o(e) { | |
function t(e, t) { | |
var n = {}; | |
n[e] = t; | |
var o = i(n, { | |
safe: !0 | |
}); | |
for (var a in o) s.array(o[a]) && (o[a] = JSON.stringify(o[a])); | |
return o | |
} | |
var n = {}; | |
for (var o in e) | |
if (e.hasOwnProperty(o)) { | |
var a = e[o]; | |
if (null === a || a === undefined) continue; | |
if (s.date(a)) { | |
n[o] = p(a); | |
continue | |
} | |
if (s.bool(a)) { | |
n[o] = a; | |
continue | |
} | |
if (s.number(a)) { | |
n[o] = a; | |
continue | |
} | |
if ("[object Array]" === u.call(a)) { | |
n = c(n, t(o, a)); | |
continue | |
} | |
if ("[object Object]" !== u.call(a)) { | |
n[o] = a.toString(); | |
continue | |
} | |
n = c(n, t(o, a)) | |
} return n | |
} | |
function i(e, t) { | |
function n(e, s) { | |
Object.keys(e).forEach(function(c) { | |
var p = e[c], | |
u = t.safe && Array.isArray(p), | |
l = Object.prototype.toString.call(p), | |
d = "[object Object]" === l || "[object Array]" === l, | |
f = s ? s + o + c : c; | |
t.maxDepth || (i = a + 1); | |
if (!u && d && Object.keys(p).length && a < i) { | |
++a; | |
return n(p, f) | |
} | |
r[f] = p | |
}) | |
} | |
t = t || {}; | |
var o = t.delimiter || ".", | |
i = t.maxDepth, | |
a = 1, | |
r = {}; | |
n(e); | |
return r | |
} | |
var a = e("@segment/analytics.js-integration"), | |
r = e("component-each"), | |
s = e("is"), | |
c = e("@ndhoule/extend"), | |
p = e("@segment/to-iso-string"), | |
u = Object.prototype.toString, | |
l = t.exports = a("Heap").global("heap").option("appId", "").tag('<script src="//cdn.heapanalytics.com/js/heap-{{ appId }}.js">'); | |
l.prototype.initialize = function() { | |
window.heap = window.heap || []; | |
window.heap.load = function(e, t) { | |
window.heap.appid = e; | |
window.heap.config = t; | |
var n = function(e) { | |
return function() { | |
window.heap.push([e].concat(Array.prototype.slice.call(arguments, 0))) | |
} | |
}; | |
r(["addEventProperties", "addUserProperties", "clearEventProperties", "identify", "removeEventProperty", "setEventProperties", "track", "unsetEventProperty", "resetIdentity"], function(e) { | |
window.heap[e] = n(e) | |
}) | |
}; | |
window.heap.load(this.options.appId); | |
this.load(this.ready) | |
}; | |
l.prototype.loaded = function() { | |
return !(!window.heap || !window.heap.appid) | |
}; | |
l.prototype.identify = function(e) { | |
var t = e.traits({ | |
email: "_email" | |
}), | |
n = e.userId(); | |
n && window.heap.identify(n); | |
window.heap.addUserProperties(o(t)) | |
}; | |
l.prototype.track = function(e) { | |
window.heap.track(e.event(), o(e.properties())) | |
}; | |
Object.keys || (Object.keys = function(e) { | |
if (e !== Object(e)) throw new TypeError("Object.keys called on a non-object"); | |
var t, n = []; | |
for (t in e) Object.prototype.hasOwnProperty.call(e, t) && n.push(t); | |
return n | |
}); | |
}, { | |
"@ndhoule/extend": 13, | |
"@segment/analytics.js-integration": 789, | |
"@segment/to-iso-string": 817, | |
"component-each": 828, | |
"is": 851 | |
}], | |
296: [function(e, t, n) {; | |
var o = e("@segment/analytics.js-integration"); | |
t.exports = function() {}; | |
t.exports.Integration = o("empty"); | |
}, { | |
"@segment/analytics.js-integration": 297 | |
}], | |
297: [function(e, t, n) { | |
arguments[4][37][0].apply(n, arguments) | |
}, { | |
"./protos": 298, | |
"./statics": 299, | |
"@ndhoule/clone": 7, | |
"@ndhoule/defaults": 8, | |
"@ndhoule/extend": 13, | |
"component-bind": 825, | |
"debug": 301, | |
"dup": 37, | |
"slug-component": 889 | |
}], | |
298: [function(e, t, n) { | |
arguments[4][38][0].apply(n, arguments) | |
}, { | |
"@ndhoule/after": 5, | |
"@ndhoule/each": 10, | |
"@ndhoule/every": 12, | |
"@ndhoule/foldl": 14, | |
"@segment/fmt": 799, | |
"@segment/load-script": 803, | |
"analytics-events": 300, | |
"component-emitter": 830, | |
"dup": 38, | |
"is": 851, | |
"load-iframe": 860, | |
"next-tick": 867, | |
"to-no-case": 895 | |
}], | |
299: [function(e, t, n) { | |
arguments[4][39][0].apply(n, arguments) | |
}, { | |
"@ndhoule/each": 10, | |
"@ndhoule/includes": 15, | |
"component-emitter": 830, | |
"domify": 842, | |
"dup": 39 | |
}], | |
300: [function(e, t, n) { | |
arguments[4][40][0].apply(n, arguments) | |
}, { | |
"dup": 40 | |
}], | |
301: [function(e, t, n) { | |
arguments[4][41][0].apply(n, arguments) | |
}, { | |
"./debug": 302, | |
"_process": 874, | |
"dup": 41 | |
}], | |
302: [function(e, t, n) { | |
arguments[4][42][0].apply(n, arguments) | |
}, { | |
"dup": 42, | |
"ms": 862 | |
}], | |
303: [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": 789, | |
"is": 851, | |
"use-https": 904 | |
}], | |
304: [function(e, t, n) {; | |
var i = e("@segment/analytics.js-integration"); | |
t.exports = function() {}; | |
t.exports.Integration = i("empty"); | |
}, { | |
"@segment/analytics.js-integration": 305 | |
}], | |
305: [function(e, t, n) { | |
arguments[4][37][0].apply(n, arguments) | |
}, { | |
"./protos": 306, | |
"./statics": 307, | |
"@ndhoule/clone": 7, | |
"@ndhoule/defaults": 8, | |
"@ndhoule/extend": 13, | |
"component-bind": 825, | |
"debug": 309, | |
"dup": 37, | |
"slug-component": 889 | |
}], | |
306: [function(e, t, n) { | |
arguments[4][38][0].apply(n, arguments) | |
}, { | |
"@ndhoule/after": 5, | |
"@ndhoule/each": 10, | |
"@ndhoule/every": 12, | |
"@ndhoule/foldl": 14, | |
"@segment/fmt": 799, | |
"@segment/load-script": 803, | |
"analytics-events": 308, | |
"component-emitter": 830, | |
"dup": 38, | |
"is": 851, | |
"load-iframe": 860, | |
"next-tick": 867, | |
"to-no-case": 895 | |
}], | |
307: [function(e, t, n) { | |
arguments[4][39][0].apply(n, arguments) | |
}, { | |
"@ndhoule/each": 10, | |
"@ndhoule/includes": 15, | |
"component-emitter": 830, | |
"domify": 842, | |
"dup": 39 | |
}], | |
308: [function(e, t, n) { | |
arguments[4][40][0].apply(n, arguments) | |
}, { | |
"dup": 40 | |
}], | |
309: [function(e, t, n) { | |
arguments[4][41][0].apply(n, arguments) | |
}, { | |
"./debug": 310, | |
"_process": 874, | |
"dup": 41 | |
}], | |
310: [function(e, t, n) { | |
arguments[4][42][0].apply(n, arguments) | |
}, { | |
"dup": 42, | |
"ms": 862 | |
}], | |
311: [function(e, t, n) {; | |
"use strict"; | |
var o = e("@segment/analytics.js-integration"), | |
i = e("is"); | |
(t.exports = o("Hotjar").option("hjid", null).option("hjPlaceholderPolyfill", !0)).prototype.initialize = function() { | |
this.options.hjid = Number(this.options.hjid); | |
if (function(e) { | |
var t = { | |
isHjidValid: i.number(e.hjid) && !i.nan(e.hjid) && 0 !== e.hjid, | |
isPlaceholderPolyfillValid: i.bool(e.hjPlaceholderPolyfill) | |
}; | |
for (var n in t) | |
if (!t[n]) { | |
console.warn("Hotjar Integration - " + n + " returned false, not loading."); | |
return !1 | |
} return !0 | |
}(this.options)) { | |
window._hjSelf = this; | |
! function(e, t, n, o, i, a) { | |
e.hj = e.hj || function() { | |
(e.hj.q = e.hj.q || []).push(arguments) | |
}; | |
e._hjSettings = { | |
hjid: e._hjSelf.options.hjid, | |
hjsv: 5, | |
hjPlaceholderPolyfill: e._hjSelf.options.hjPlaceholderPolyfill | |
}; | |
i = t.getElementsByTagName("head")[0]; | |
a = t.createElement("script"); | |
a.async = 1; | |
a.src = "https://static.hotjar.com/c/hotjar-" + e._hjSettings.hjid + ".js?sv=" + e._hjSettings.hjsv; | |
i.appendChild(a) | |
}(window, document); | |
this.ready() | |
} | |
}; | |
}, { | |
"@segment/analytics.js-integration": 789, | |
"is": 851 | |
}], | |
312: [function(e, t, n) {; | |
var s = e("@segment/analytics.js-integration"); | |
t.exports = function() {}; | |
t.exports.Integration = s("empty"); | |
}, { | |
"@ndhoule/each": 10, | |
"@segment/analytics.js-integration": 789, | |
"@segment/convert-dates": 798, | |
"global-queue": 844, | |
"segmentio-facade": 883 | |
}], | |
313: [function(e, t, n) {; | |
var o = e("@segment/analytics.js-integration"); | |
t.exports = function() {}; | |
t.exports.Integration = o("empty"); | |
}, { | |
"@segment/analytics.js-integration": 314 | |
}], | |
314: [function(e, t, n) { | |
arguments[4][37][0].apply(n, arguments) | |
}, { | |
"./protos": 315, | |
"./statics": 316, | |
"@ndhoule/clone": 7, | |
"@ndhoule/defaults": 8, | |
"@ndhoule/extend": 13, | |
"component-bind": 825, | |
"debug": 318, | |
"dup": 37, | |
"slug-component": 889 | |
}], | |
315: [function(e, t, n) { | |
arguments[4][38][0].apply(n, arguments) | |
}, { | |
"@ndhoule/after": 5, | |
"@ndhoule/each": 10, | |
"@ndhoule/every": 12, | |
"@ndhoule/foldl": 14, | |
"@segment/fmt": 799, | |
"@segment/load-script": 803, | |
"analytics-events": 317, | |
"component-emitter": 830, | |
"dup": 38, | |
"is": 851, | |
"load-iframe": 860, | |
"next-tick": 867, | |
"to-no-case": 895 | |
}], | |
316: [function(e, t, n) { | |
arguments[4][39][0].apply(n, arguments) | |
}, { | |
"@ndhoule/each": 10, | |
"@ndhoule/includes": 15, | |
"component-emitter": 830, | |
"domify": 842, | |
"dup": 39 | |
}], | |
317: [function(e, t, n) { | |
arguments[4][40][0].apply(n, arguments) | |
}, { | |
"dup": 40 | |
}], | |
318: [function(e, t, n) { | |
arguments[4][41][0].apply(n, arguments) | |
}, { | |
"./debug": 319, | |
"_process": 874, | |
"dup": 41 | |
}], | |
319: [function(e, t, n) { | |
arguments[4][42][0].apply(n, arguments) | |
}, { | |
"dup": 42, | |
"ms": 862 | |
}], | |
320: [function(e, t, n) {; | |
var o = e("@segment/analytics.js-integration"); | |
t.exports = function() {}; | |
t.exports.Integration = o("empty"); | |
}, { | |
"@segment/analytics.js-integration": 321, | |
"global-queue": 844 | |
}], | |
321: [function(e, t, n) { | |
arguments[4][37][0].apply(n, arguments) | |
}, { | |
"./protos": 322, | |
"./statics": 323, | |
"@ndhoule/clone": 7, | |
"@ndhoule/defaults": 8, | |
"@ndhoule/extend": 13, | |
"component-bind": 825, | |
"debug": 325, | |
"dup": 37, | |
"slug-component": 889 | |
}], | |
322: [function(e, t, n) { | |
arguments[4][38][0].apply(n, arguments) | |
}, { | |
"@ndhoule/after": 5, | |
"@ndhoule/each": 10, | |
"@ndhoule/every": 12, | |
"@ndhoule/foldl": 14, | |
"@segment/fmt": 799, | |
"@segment/load-script": 803, | |
"analytics-events": 324, | |
"component-emitter": 830, | |
"dup": 38, | |
"is": 851, | |
"load-iframe": 860, | |
"next-tick": 867, | |
"to-no-case": 895 | |
}], | |
323: [function(e, t, n) { | |
arguments[4][39][0].apply(n, arguments) | |
}, { | |
"@ndhoule/each": 10, | |
"@ndhoule/includes": 15, | |
"component-emitter": 830, | |
"domify": 842, | |
"dup": 39 | |
}], | |
324: [function(e, t, n) { | |
arguments[4][40][0].apply(n, arguments) | |
}, { | |
"dup": 40 | |
}], | |
325: [function(e, t, n) { | |
arguments[4][41][0].apply(n, arguments) | |
}, { | |
"./debug": 326, | |
"_process": 874, | |
"dup": 41 | |
}], | |
326: [function(e, t, n) { | |
arguments[4][42][0].apply(n, arguments) | |
}, { | |
"dup": 42, | |
"ms": 862 | |
}], | |
327: [function(e, t, n) {; | |
var u = e("@segment/analytics.js-integration"); | |
t.exports = function() {}; | |
t.exports.Integration = u("empty"); | |
}, { | |
"@ndhoule/clone": 7, | |
"@ndhoule/defaults": 8, | |
"@ndhoule/each": 10, | |
"@ndhoule/extend": 13, | |
"@ndhoule/pick": 18, | |
"@segment/analytics.js-integration": 328, | |
"@segment/convert-dates": 798, | |
"is": 851, | |
"obj-case": 868 | |
}], | |
328: [function(e, t, n) { | |
arguments[4][37][0].apply(n, arguments) | |
}, { | |
"./protos": 329, | |
"./statics": 330, | |
"@ndhoule/clone": 7, | |
"@ndhoule/defaults": 8, | |
"@ndhoule/extend": 13, | |
"component-bind": 825, | |
"debug": 332, | |
"dup": 37, | |
"slug-component": 889 | |
}], | |
329: [function(e, t, n) { | |
arguments[4][38][0].apply(n, arguments) | |
}, { | |
"@ndhoule/after": 5, | |
"@ndhoule/each": 10, | |
"@ndhoule/every": 12, | |
"@ndhoule/foldl": 14, | |
"@segment/fmt": 799, | |
"@segment/load-script": 803, | |
"analytics-events": 331, | |
"component-emitter": 830, | |
"dup": 38, | |
"is": 851, | |
"load-iframe": 860, | |
"next-tick": 867, | |
"to-no-case": 895 | |
}], | |
330: [function(e, t, n) { | |
arguments[4][39][0].apply(n, arguments) | |
}, { | |
"@ndhoule/each": 10, | |
"@ndhoule/includes": 15, | |
"component-emitter": 830, | |
"domify": 842, | |
"dup": 39 | |
}], | |
331: [function(e, t, n) { | |
arguments[4][40][0].apply(n, arguments) | |
}, { | |
"dup": 40 | |
}], | |
332: [function(e, t, n) { | |
arguments[4][41][0].apply(n, arguments) | |
}, { | |
"./debug": 333, | |
"_process": 874, | |
"dup": 41 | |
}], | |
333: [function(e, t, n) { | |
arguments[4][42][0].apply(n, arguments) | |
}, { | |
"dup": 42, | |
"ms": 862 | |
}], | |
334: [function(e, t, n) {; | |
var o = e("@segment/analytics.js-integration"); | |
t.exports = function() {}; | |
t.exports.Integration = o("empty"); | |
}, { | |
"@ndhoule/clone": 7, | |
"@segment/analytics.js-integration": 335 | |
}], | |
335: [function(e, t, n) { | |
arguments[4][37][0].apply(n, arguments) | |
}, { | |
"./protos": 336, | |
"./statics": 337, | |
"@ndhoule/clone": 7, | |
"@ndhoule/defaults": 8, | |
"@ndhoule/extend": 13, | |
"component-bind": 825, | |
"debug": 339, | |
"dup": 37, | |
"slug-component": 889 | |
}], | |
336: [function(e, t, n) { | |
arguments[4][38][0].apply(n, arguments) | |
}, { | |
"@ndhoule/after": 5, | |
"@ndhoule/each": 10, | |
"@ndhoule/every": 12, | |
"@ndhoule/foldl": 14, | |
"@segment/fmt": 799, | |
"@segment/load-script": 803, | |
"analytics-events": 338, | |
"component-emitter": 830, | |
"dup": 38, | |
"is": 851, | |
"load-iframe": 860, | |
"next-tick": 867, | |
"to-no-case": 895 | |
}], | |
337: [function(e, t, n) { | |
arguments[4][39][0].apply(n, arguments) | |
}, { | |
"@ndhoule/each": 10, | |
"@ndhoule/includes": 15, | |
"component-emitter": 830, | |
"domify": 842, | |
"dup": 39 | |
}], | |
338: [function(e, t, n) { | |
arguments[4][40][0].apply(n, arguments) | |
}, { | |
"dup": 40 | |
}], | |
339: [function(e, t, n) { | |
arguments[4][41][0].apply(n, arguments) | |
}, { | |
"./debug": 340, | |
"_process": 874, | |
"dup": 41 | |
}], | |
340: [function(e, t, n) { | |
arguments[4][42][0].apply(n, arguments) | |
}, { | |
"dup": 42, | |
"ms": 862 | |
}], | |
341: [function(e, t, n) {; | |
var a = e("@segment/analytics.js-integration"); | |
t.exports = function() {}; | |
t.exports.Integration = a("empty"); | |
}, { | |
"@ndhoule/each": 10, | |
"@ndhoule/extend": 13, | |
"@ndhoule/keys": 16, | |
"@segment/analytics.js-integration": 789, | |
"@segment/trample": 819, | |
"obj-case": 868, | |
"reject": 875 | |
}], | |
342: [function(e, t, n) {; | |
var i = e("@segment/analytics.js-integration"); | |
t.exports = function() {}; | |
t.exports.Integration = i("empty"); | |
}, { | |
"@ndhoule/includes": 15, | |
"@segment/analytics.js-integration": 343, | |
"is": 851 | |
}], | |
343: [function(e, t, n) { | |
arguments[4][37][0].apply(n, arguments) | |
}, { | |
"./protos": 344, | |
"./statics": 345, | |
"@ndhoule/clone": 7, | |
"@ndhoule/defaults": 8, | |
"@ndhoule/extend": 13, | |
"component-bind": 825, | |
"debug": 347, | |
"dup": 37, | |
"slug-component": 889 | |
}], | |
344: [function(e, t, n) { | |
arguments[4][38][0].apply(n, arguments) | |
}, { | |
"@ndhoule/after": 5, | |
"@ndhoule/each": 10, | |
"@ndhoule/every": 12, | |
"@ndhoule/foldl": 14, | |
"@segment/fmt": 799, | |
"@segment/load-script": 803, | |
"analytics-events": 346, | |
"component-emitter": 830, | |
"dup": 38, | |
"is": 851, | |
"load-iframe": 860, | |
"next-tick": 867, | |
"to-no-case": 895 | |
}], | |
345: [function(e, t, n) { | |
arguments[4][39][0].apply(n, arguments) | |
}, { | |
"@ndhoule/each": 10, | |
"@ndhoule/includes": 15, | |
"component-emitter": 830, | |
"domify": 842, | |
"dup": 39 | |
}], | |
346: [function(e, t, n) { | |
arguments[4][40][0].apply(n, arguments) | |
}, { | |
"dup": 40 | |
}], | |
347: [function(e, t, n) { | |
arguments[4][41][0].apply(n, arguments) | |
}, { | |
"./debug": 348, | |
"_process": 874, | |
"dup": 41 | |
}], | |
348: [function(e, t, n) { | |
arguments[4][42][0].apply(n, arguments) | |
}, { | |
"dup": 42, | |
"ms": 862 | |
}], | |
349: [function(e, t, n) {; | |
var c = e("@segment/analytics.js-integration"); | |
t.exports = function() {}; | |
t.exports.Integration = c("empty"); | |
}, { | |
"@ndhoule/extend": 13, | |
"@segment/analytics.js-integration": 350, | |
"component-each": 828, | |
"global-queue": 844, | |
"is": 851, | |
"obj-case": 868 | |
}], | |
350: [function(e, t, n) { | |
arguments[4][37][0].apply(n, arguments) | |
}, { | |
"./protos": 351, | |
"./statics": 352, | |
"@ndhoule/clone": 7, | |
"@ndhoule/defaults": 8, | |
"@ndhoule/extend": 13, | |
"component-bind": 825, | |
"debug": 354, | |
"dup": 37, | |
"slug-component": 889 | |
}], | |
351: [function(e, t, n) { | |
arguments[4][38][0].apply(n, arguments) | |
}, { | |
"@ndhoule/after": 5, | |
"@ndhoule/each": 10, | |
"@ndhoule/every": 12, | |
"@ndhoule/foldl": 14, | |
"@segment/fmt": 799, | |
"@segment/load-script": 803, | |
"analytics-events": 353, | |
"component-emitter": 830, | |
"dup": 38, | |
"is": 851, | |
"load-iframe": 860, | |
"next-tick": 867, | |
"to-no-case": 895 | |
}], | |
352: [function(e, t, n) { | |
arguments[4][39][0].apply(n, arguments) | |
}, { | |
"@ndhoule/each": 10, | |
"@ndhoule/includes": 15, | |
"component-emitter": 830, | |
"domify": 842, | |
"dup": 39 | |
}], | |
353: [function(e, t, n) { | |
arguments[4][40][0].apply(n, arguments) | |
}, { | |
"dup": 40 | |
}], | |
354: [function(e, t, n) { | |
arguments[4][41][0].apply(n, arguments) | |
}, { | |
"./debug": 355, | |
"_process": 874, | |
"dup": 41 | |
}], | |
355: [function(e, t, n) { | |
arguments[4][42][0].apply(n, arguments) | |
}, { | |
"dup": 42, | |
"ms": 862 | |
}], | |
356: [function(e, t, n) {; | |
var s = e("@segment/analytics.js-integration"); | |
t.exports = function() {}; | |
t.exports.Integration = s("empty"); | |
}, { | |
"@ndhoule/extend": 13, | |
"@ndhoule/foldl": 14, | |
"@segment/analytics.js-integration": 789, | |
"global-queue": 844, | |
"next-tick": 867, | |
"obj-case": 868, | |
"segmentio-facade": 883 | |
}], | |
357: [function(e, t, n) {; | |
var o = e("@segment/analytics.js-integration"); | |
t.exports = function() {}; | |
t.exports.Integration = o("empty"); | |
}, { | |
"@segment/analytics.js-integration": 358 | |
}], | |
358: [function(e, t, n) { | |
arguments[4][37][0].apply(n, arguments) | |
}, { | |
"./protos": 359, | |
"./statics": 360, | |
"@ndhoule/clone": 7, | |
"@ndhoule/defaults": 8, | |
"@ndhoule/extend": 13, | |
"component-bind": 825, | |
"debug": 362, | |
"dup": 37, | |
"slug-component": 889 | |
}], | |
359: [function(e, t, n) { | |
arguments[4][38][0].apply(n, arguments) | |
}, { | |
"@ndhoule/after": 5, | |
"@ndhoule/each": 10, | |
"@ndhoule/every": 12, | |
"@ndhoule/foldl": 14, | |
"@segment/fmt": 799, | |
"@segment/load-script": 803, | |
"analytics-events": 361, | |
"component-emitter": 830, | |
"dup": 38, | |
"is": 851, | |
"load-iframe": 860, | |
"next-tick": 867, | |
"to-no-case": 895 | |
}], | |
360: [function(e, t, n) { | |
arguments[4][39][0].apply(n, arguments) | |
}, { | |
"@ndhoule/each": 10, | |
"@ndhoule/includes": 15, | |
"component-emitter": 830, | |
"domify": 842, | |
"dup": 39 | |
}], | |
361: [function(e, t, n) { | |
arguments[4][40][0].apply(n, arguments) | |
}, { | |
"dup": 40 | |
}], | |
362: [function(e, t, n) { | |
arguments[4][41][0].apply(n, arguments) | |
}, { | |
"./debug": 363, | |
"_process": 874, | |
"dup": 41 | |
}], | |
363: [function(e, t, n) { | |
arguments[4][42][0].apply(n, arguments) | |
}, { | |
"dup": 42, | |
"ms": 862 | |
}], | |
364: [function(e, t, n) {; | |
var s = e("@segment/analytics.js-integration"); | |
t.exports = function() {}; | |
t.exports.Integration = s("empty"); | |
}, { | |
"@segment/analytics.js-integration": 365, | |
"component-clone": 826, | |
"component-each": 828, | |
"do-when": 841, | |
"next-tick": 867, | |
"segmentio-facade": 883 | |
}], | |
365: [function(e, t, n) { | |
arguments[4][37][0].apply(n, arguments) | |
}, { | |
"./protos": 366, | |
"./statics": 367, | |
"@ndhoule/clone": 7, | |
"@ndhoule/defaults": 8, | |
"@ndhoule/extend": 13, | |
"component-bind": 825, | |
"debug": 369, | |
"dup": 37, | |
"slug-component": 889 | |
}], | |
366: [function(e, t, n) { | |
arguments[4][38][0].apply(n, arguments) | |
}, { | |
"@ndhoule/after": 5, | |
"@ndhoule/each": 10, | |
"@ndhoule/every": 12, | |
"@ndhoule/foldl": 14, | |
"@segment/fmt": 799, | |
"@segment/load-script": 803, | |
"analytics-events": 368, | |
"component-emitter": 830, | |
"dup": 38, | |
"is": 851, | |
"load-iframe": 860, | |
"next-tick": 867, | |
"to-no-case": 895 | |
}], | |
367: [function(e, t, n) { | |
arguments[4][39][0].apply(n, arguments) | |
}, { | |
"@ndhoule/each": 10, | |
"@ndhoule/includes": 15, | |
"component-emitter": 830, | |
"domify": 842, | |
"dup": 39 | |
}], | |
368: [function(e, t, n) { | |
arguments[4][40][0].apply(n, arguments) | |
}, { | |
"dup": 40 | |
}], | |
369: [function(e, t, n) { | |
arguments[4][41][0].apply(n, arguments) | |
}, { | |
"./debug": 370, | |
"_process": 874, | |
"dup": 41 | |
}], | |
370: [function(e, t, n) { | |
arguments[4][42][0].apply(n, arguments) | |
}, { | |
"dup": 42, | |
"ms": 862 | |
}], | |
371: [function(e, t, n) {; | |
var o = e("@segment/analytics.js-integration"); | |
t.exports = function() {}; | |
t.exports.Integration = o("empty"); | |
}, { | |
"@segment/analytics.js-integration": 372, | |
"component-each": 828 | |
}], | |
372: [function(e, t, n) { | |
arguments[4][37][0].apply(n, arguments) | |
}, { | |
"./protos": 373, | |
"./statics": 374, | |
"@ndhoule/clone": 7, | |
"@ndhoule/defaults": 8, | |
"@ndhoule/extend": 13, | |
"component-bind": 825, | |
"debug": 376, | |
"dup": 37, | |
"slug-component": 889 | |
}], | |
373: [function(e, t, n) { | |
arguments[4][38][0].apply(n, arguments) | |
}, { | |
"@ndhoule/after": 5, | |
"@ndhoule/each": 10, | |
"@ndhoule/every": 12, | |
"@ndhoule/foldl": 14, | |
"@segment/fmt": 799, | |
"@segment/load-script": 803, | |
"analytics-events": 375, | |
"component-emitter": 830, | |
"dup": 38, | |
"is": 851, | |
"load-iframe": 860, | |
"next-tick": 867, | |
"to-no-case": 895 | |
}], | |
374: [function(e, t, n) { | |
arguments[4][39][0].apply(n, arguments) | |
}, { | |
"@ndhoule/each": 10, | |
"@ndhoule/includes": 15, | |
"component-emitter": 830, | |
"domify": 842, | |
"dup": 39 | |
}], | |
375: [function(e, t, n) { | |
arguments[4][40][0].apply(n, arguments) | |
}, { | |
"dup": 40 | |
}], | |
376: [function(e, t, n) { | |
arguments[4][41][0].apply(n, arguments) | |
}, { | |
"./debug": 377, | |
"_process": 874, | |
"dup": 41 | |
}], | |
377: [function(e, t, n) { | |
arguments[4][42][0].apply(n, arguments) | |
}, { | |
"dup": 42, | |
"ms": 862 | |
}], | |
378: [function(e, t, n) {; | |
var i = e("@segment/analytics.js-integration"); | |
t.exports = function() {}; | |
t.exports.Integration = i("empty"); | |
}, { | |
"@segment/analytics.js-integration": 789, | |
"segmentio-facade": 883, | |
"use-https": 904 | |
}], | |
379: [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": 380 | |
}], | |
380: [function(e, t, n) { | |
arguments[4][37][0].apply(n, arguments) | |
}, { | |
"./protos": 381, | |
"./statics": 382, | |
"@ndhoule/clone": 7, | |
"@ndhoule/defaults": 8, | |
"@ndhoule/extend": 13, | |
"component-bind": 825, | |
"debug": 384, | |
"dup": 37, | |
"slug-component": 889 | |
}], | |
381: [function(e, t, n) { | |
arguments[4][38][0].apply(n, arguments) | |
}, { | |
"@ndhoule/after": 5, | |
"@ndhoule/each": 10, | |
"@ndhoule/every": 12, | |
"@ndhoule/foldl": 14, | |
"@segment/fmt": 799, | |
"@segment/load-script": 803, | |
"analytics-events": 383, | |
"component-emitter": 830, | |
"dup": 38, | |
"is": 851, | |
"load-iframe": 860, | |
"next-tick": 867, | |
"to-no-case": 895 | |
}], | |
382: [function(e, t, n) { | |
arguments[4][39][0].apply(n, arguments) | |
}, { | |
"@ndhoule/each": 10, | |
"@ndhoule/includes": 15, | |
"component-emitter": 830, | |
"domify": 842, | |
"dup": 39 | |
}], | |
383: [function(e, t, n) { | |
arguments[4][40][0].apply(n, arguments) | |
}, { | |
"dup": 40 | |
}], | |
384: [function(e, t, n) { | |
arguments[4][41][0].apply(n, arguments) | |
}, { | |
"./debug": 385, | |
"_process": 874, | |
"dup": 41 | |
}], | |
385: [function(e, t, n) { | |
arguments[4][42][0].apply(n, arguments) | |
}, { | |
"dup": 42, | |
"ms": 862 | |
}], | |
386: [function(e, t, n) {; | |
var o = e("@segment/analytics.js-integration"); | |
t.exports = function() {}; | |
t.exports.Integration = o("empty"); | |
}, { | |
"@segment/analytics.js-integration": 387 | |
}], | |
387: [function(e, t, n) { | |
arguments[4][37][0].apply(n, arguments) | |
}, { | |
"./protos": 388, | |
"./statics": 389, | |
"@ndhoule/clone": 7, | |
"@ndhoule/defaults": 8, | |
"@ndhoule/extend": 13, | |
"component-bind": 825, | |
"debug": 391, | |
"dup": 37, | |
"slug-component": 889 | |
}], | |
388: [function(e, t, n) { | |
arguments[4][38][0].apply(n, arguments) | |
}, { | |
"@ndhoule/after": 5, | |
"@ndhoule/each": 10, | |
"@ndhoule/every": 12, | |
"@ndhoule/foldl": 14, | |
"@segment/fmt": 799, | |
"@segment/load-script": 803, | |
"analytics-events": 390, | |
"component-emitter": 830, | |
"dup": 38, | |
"is": 851, | |
"load-iframe": 860, | |
"next-tick": 867, | |
"to-no-case": 895 | |
}], | |
389: [function(e, t, n) { | |
arguments[4][39][0].apply(n, arguments) | |
}, { | |
"@ndhoule/each": 10, | |
"@ndhoule/includes": 15, | |
"component-emitter": 830, | |
"domify": 842, | |
"dup": 39 | |
}], | |
390: [function(e, t, n) { | |
arguments[4][40][0].apply(n, arguments) | |
}, { | |
"dup": 40 | |
}], | |
391: [function(e, t, n) { | |
arguments[4][41][0].apply(n, arguments) | |
}, { | |
"./debug": 392, | |
"_process": 874, | |
"dup": 41 | |
}], | |
392: [function(e, t, n) { | |
arguments[4][42][0].apply(n, arguments) | |
}, { | |
"dup": 42, | |
"ms": 862 | |
}], | |
393: [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": 394, | |
"@segment/fmt": 799, | |
"component-url": 837, | |
"do-when": 841, | |
"is": 851, | |
"jsonp": 857 | |
}], | |
394: [function(e, t, n) { | |
arguments[4][37][0].apply(n, arguments) | |
}, { | |
"./protos": 395, | |
"./statics": 396, | |
"@ndhoule/clone": 7, | |
"@ndhoule/defaults": 8, | |
"@ndhoule/extend": 13, | |
"component-bind": 825, | |
"debug": 398, | |
"dup": 37, | |
"slug-component": 889 | |
}], | |
395: [function(e, t, n) { | |
arguments[4][38][0].apply(n, arguments) | |
}, { | |
"@ndhoule/after": 5, | |
"@ndhoule/each": 10, | |
"@ndhoule/every": 12, | |
"@ndhoule/foldl": 14, | |
"@segment/fmt": 799, | |
"@segment/load-script": 803, | |
"analytics-events": 397, | |
"component-emitter": 830, | |
"dup": 38, | |
"is": 851, | |
"load-iframe": 860, | |
"next-tick": 867, | |
"to-no-case": 895 | |
}], | |
396: [function(e, t, n) { | |
arguments[4][39][0].apply(n, arguments) | |
}, { | |
"@ndhoule/each": 10, | |
"@ndhoule/includes": 15, | |
"component-emitter": 830, | |
"domify": 842, | |
"dup": 39 | |
}], | |
397: [function(e, t, n) { | |
arguments[4][40][0].apply(n, arguments) | |
}, { | |
"dup": 40 | |
}], | |
398: [function(e, t, n) { | |
arguments[4][41][0].apply(n, arguments) | |
}, { | |
"./debug": 399, | |
"_process": 874, | |
"dup": 41 | |
}], | |
399: [function(e, t, n) { | |
arguments[4][42][0].apply(n, arguments) | |
}, { | |
"dup": 42, | |
"ms": 862 | |
}], | |
400: [function(e, t, n) {; | |
var i = e("@segment/analytics.js-integration"); | |
t.exports = function() {}; | |
t.exports.Integration = i("empty"); | |
}, { | |
"@segment/analytics.js-integration": 401, | |
"@segment/fmt": 799, | |
"component-url": 837, | |
"do-when": 841, | |
"is": 851, | |
"jsonp": 857 | |
}], | |
401: [function(e, t, n) { | |
arguments[4][37][0].apply(n, arguments) | |
}, { | |
"./protos": 402, | |
"./statics": 403, | |
"@ndhoule/clone": 7, | |
"@ndhoule/defaults": 8, | |
"@ndhoule/extend": 13, | |
"component-bind": 825, | |
"debug": 405, | |
"dup": 37, | |
"slug-component": 889 | |
}], | |
402: [function(e, t, n) { | |
arguments[4][38][0].apply(n, arguments) | |
}, { | |
"@ndhoule/after": 5, | |
"@ndhoule/each": 10, | |
"@ndhoule/every": 12, | |
"@ndhoule/foldl": 14, | |
"@segment/fmt": 799, | |
"@segment/load-script": 803, | |
"analytics-events": 404, | |
"component-emitter": 830, | |
"dup": 38, | |
"is": 851, | |
"load-iframe": 860, | |
"next-tick": 867, | |
"to-no-case": 895 | |
}], | |
403: [function(e, t, n) { | |
arguments[4][39][0].apply(n, arguments) | |
}, { | |
"@ndhoule/each": 10, | |
"@ndhoule/includes": 15, | |
"component-emitter": 830, | |
"domify": 842, | |
"dup": 39 | |
}], | |
404: [function(e, t, n) { | |
arguments[4][40][0].apply(n, arguments) | |
}, { | |
"dup": 40 | |
}], | |
405: [function(e, t, n) { | |
arguments[4][41][0].apply(n, arguments) | |
}, { | |
"./debug": 406, | |
"_process": 874, | |
"dup": 41 | |
}], | |
406: [function(e, t, n) { | |
arguments[4][42][0].apply(n, arguments) | |
}, { | |
"dup": 42, | |
"ms": 862 | |
}], | |
407: [function(e, t, n) {; | |
var o = e("@segment/analytics.js-integration"); | |
t.exports = function() {}; | |
t.exports.Integration = o("empty"); | |
}, { | |
"@ndhoule/foldl": 14, | |
"@segment/analytics.js-integration": 408, | |
"component-each": 828, | |
"component-querystring": 834, | |
"to-no-case": 895 | |
}], | |
408: [function(e, t, n) { | |
arguments[4][37][0].apply(n, arguments) | |
}, { | |
"./protos": 409, | |
"./statics": 410, | |
"@ndhoule/clone": 7, | |
"@ndhoule/defaults": 8, | |
"@ndhoule/extend": 13, | |
"component-bind": 825, | |
"debug": 412, | |
"dup": 37, | |
"slug-component": 889 | |
}], | |
409: [function(e, t, n) { | |
arguments[4][38][0].apply(n, arguments) | |
}, { | |
"@ndhoule/after": 5, | |
"@ndhoule/each": 10, | |
"@ndhoule/every": 12, | |
"@ndhoule/foldl": 14, | |
"@segment/fmt": 799, | |
"@segment/load-script": 803, | |
"analytics-events": 411, | |
"component-emitter": 830, | |
"dup": 38, | |
"is": 851, | |
"load-iframe": 860, | |
"next-tick": 867, | |
"to-no-case": 895 | |
}], | |
410: [function(e, t, n) { | |
arguments[4][39][0].apply(n, arguments) | |
}, { | |
"@ndhoule/each": 10, | |
"@ndhoule/includes": 15, | |
"component-emitter": 830, | |
"domify": 842, | |
"dup": 39 | |
}], | |
411: [function(e, t, n) { | |
arguments[4][40][0].apply(n, arguments) | |
}, { | |
"dup": 40 | |
}], | |
412: [function(e, t, n) { | |
arguments[4][41][0].apply(n, arguments) | |
}, { | |
"./debug": 413, | |
"_process": 874, | |
"dup": 41 | |
}], | |
413: [function(e, t, n) { | |
arguments[4][42][0].apply(n, arguments) | |
}, { | |
"dup": 42, | |
"ms": 862 | |
}], | |
414: [function(e, t, n) {; | |
var m = e("@segment/analytics.js-integration"); | |
t.exports = function() {}; | |
t.exports.Integration = m("empty"); | |
}, { | |
"@ndhoule/includes": 15, | |
"@ndhoule/pick": 18, | |
"@segment/alias": 22, | |
"@segment/analytics.js-integration": 415, | |
"@segment/convert-dates": 798, | |
"@segment/to-iso-string": 817, | |
"component-indexof": 832, | |
"is": 851, | |
"obj-case": 868 | |
}], | |
415: [function(e, t, n) { | |
arguments[4][37][0].apply(n, arguments) | |
}, { | |
"./protos": 416, | |
"./statics": 417, | |
"@ndhoule/clone": 7, | |
"@ndhoule/defaults": 8, | |
"@ndhoule/extend": 13, | |
"component-bind": 825, | |
"debug": 419, | |
"dup": 37, | |
"slug-component": 889 | |
}], | |
416: [function(e, t, n) { | |
arguments[4][38][0].apply(n, arguments) | |
}, { | |
"@ndhoule/after": 5, | |
"@ndhoule/each": 10, | |
"@ndhoule/every": 12, | |
"@ndhoule/foldl": 14, | |
"@segment/fmt": 799, | |
"@segment/load-script": 803, | |
"analytics-events": 418, | |
"component-emitter": 830, | |
"dup": 38, | |
"is": 851, | |
"load-iframe": 860, | |
"next-tick": 867, | |
"to-no-case": 895 | |
}], | |
417: [function(e, t, n) { | |
arguments[4][39][0].apply(n, arguments) | |
}, { | |
"@ndhoule/each": 10, | |
"@ndhoule/includes": 15, | |
"component-emitter": 830, | |
"domify": 842, | |
"dup": 39 | |
}], | |
418: [function(e, t, n) { | |
arguments[4][40][0].apply(n, arguments) | |
}, { | |
"dup": 40 | |
}], | |
419: [function(e, t, n) { | |
arguments[4][41][0].apply(n, arguments) | |
}, { | |
"./debug": 420, | |
"_process": 874, | |
"dup": 41 | |
}], | |
420: [function(e, t, n) { | |
arguments[4][42][0].apply(n, arguments) | |
}, { | |
"dup": 42, | |
"ms": 862 | |
}], | |
421: [function(e, t, n) {; | |
var o = e("@segment/analytics.js-integration"); | |
t.exports = function() {}; | |
t.exports.Integration = o("empty"); | |
}, { | |
"@ndhoule/each": 10, | |
"@segment/analytics.js-integration": 789, | |
"do-when": 841, | |
"obj-case": 868, | |
"reject": 875 | |
}], | |
422: [function(e, t, n) {; | |
var i = e("@segment/analytics.js-integration"); | |
t.exports = function() {}; | |
t.exports.Integration = i("empty"); | |
}, { | |
"@segment/analytics.js-integration": 423, | |
"component-bind": 825, | |
"do-when": 841, | |
"is": 851 | |
}], | |
423: [function(e, t, n) { | |
arguments[4][37][0].apply(n, arguments) | |
}, { | |
"./protos": 424, | |
"./statics": 425, | |
"@ndhoule/clone": 7, | |
"@ndhoule/defaults": 8, | |
"@ndhoule/extend": 13, | |
"component-bind": 825, | |
"debug": 427, | |
"dup": 37, | |
"slug-component": 889 | |
}], | |
424: [function(e, t, n) { | |
arguments[4][38][0].apply(n, arguments) | |
}, { | |
"@ndhoule/after": 5, | |
"@ndhoule/each": 10, | |
"@ndhoule/every": 12, | |
"@ndhoule/foldl": 14, | |
"@segment/fmt": 799, | |
"@segment/load-script": 803, | |
"analytics-events": 426, | |
"component-emitter": 830, | |
"dup": 38, | |
"is": 851, | |
"load-iframe": 860, | |
"next-tick": 867, | |
"to-no-case": 895 | |
}], | |
425: [function(e, t, n) { | |
arguments[4][39][0].apply(n, arguments) | |
}, { | |
"@ndhoule/each": 10, | |
"@ndhoule/includes": 15, | |
"component-emitter": 830, | |
"domify": 842, | |
"dup": 39 | |
}], | |
426: [function(e, t, n) { | |
arguments[4][40][0].apply(n, arguments) | |
}, { | |
"dup": 40 | |
}], | |
427: [function(e, t, n) { | |
arguments[4][41][0].apply(n, arguments) | |
}, { | |
"./debug": 428, | |
"_process": 874, | |
"dup": 41 | |
}], | |
428: [function(e, t, n) { | |
arguments[4][42][0].apply(n, arguments) | |
}, { | |
"dup": 42, | |
"ms": 862 | |
}], | |
429: [function(e, t, n) {; | |
var s = e("@segment/analytics.js-integration"); | |
t.exports = function() {}; | |
t.exports.Integration = s("empty"); | |
}, { | |
"@segment/analytics.js-integration": 789, | |
"component-each": 828, | |
"global-queue": 844, | |
"segmentio-facade": 883 | |
}], | |
430: [function(e, t, n) {; | |
var a = e("@segment/analytics.js-integration"); | |
t.exports = function() {}; | |
t.exports.Integration = a("empty"); | |
}, { | |
"@segment/analytics.js-integration": 789, | |
"component-each": 828, | |
"global-queue": 844 | |
}], | |
431: [function(e, t, n) {; | |
var i = e("@segment/analytics.js-integration"); | |
t.exports = function() {}; | |
t.exports.Integration = i("empty"); | |
}, { | |
"@segment/analytics.js-integration": 432, | |
"component-each": 828, | |
"is": 851, | |
"use-https": 904 | |
}], | |
432: [function(e, t, n) { | |
arguments[4][37][0].apply(n, arguments) | |
}, { | |
"./protos": 433, | |
"./statics": 434, | |
"@ndhoule/clone": 7, | |
"@ndhoule/defaults": 8, | |
"@ndhoule/extend": 13, | |
"component-bind": 825, | |
"debug": 436, | |
"dup": 37, | |
"slug-component": 889 | |
}], | |
433: [function(e, t, n) { | |
arguments[4][38][0].apply(n, arguments) | |
}, { | |
"@ndhoule/after": 5, | |
"@ndhoule/each": 10, | |
"@ndhoule/every": 12, | |
"@ndhoule/foldl": 14, | |
"@segment/fmt": 799, | |
"@segment/load-script": 803, | |
"analytics-events": 435, | |
"component-emitter": 830, | |
"dup": 38, | |
"is": 851, | |
"load-iframe": 860, | |
"next-tick": 867, | |
"to-no-case": 895 | |
}], | |
434: [function(e, t, n) { | |
arguments[4][39][0].apply(n, arguments) | |
}, { | |
"@ndhoule/each": 10, | |
"@ndhoule/includes": 15, | |
"component-emitter": 830, | |
"domify": 842, | |
"dup": 39 | |
}], | |
435: [function(e, t, n) { | |
arguments[4][40][0].apply(n, arguments) | |
}, { | |
"dup": 40 | |
}], | |
436: [function(e, t, n) { | |
arguments[4][41][0].apply(n, arguments) | |
}, { | |
"./debug": 437, | |
"_process": 874, | |
"dup": 41 | |
}], | |
437: [function(e, t, n) { | |
arguments[4][42][0].apply(n, arguments) | |
}, { | |
"dup": 42, | |
"ms": 862 | |
}], | |
438: [function(e, t, n) {; | |
var c = e("@segment/analytics.js-integration"); | |
t.exports = function() {}; | |
t.exports.Integration = c("empty"); | |
}, { | |
"@segment/analytics.js-integration": 439, | |
"component-querystring": 834, | |
"js-sha256": 855, | |
"segmentio-facade": 883, | |
"to-no-case": 446 | |
}], | |
439: [function(e, t, n) { | |
arguments[4][37][0].apply(n, arguments) | |
}, { | |
"./protos": 440, | |
"./statics": 441, | |
"@ndhoule/clone": 7, | |
"@ndhoule/defaults": 8, | |
"@ndhoule/extend": 13, | |
"component-bind": 825, | |
"debug": 444, | |
"dup": 37, | |
"slug-component": 889 | |
}], | |
440: [function(e, t, n) { | |
arguments[4][38][0].apply(n, arguments) | |
}, { | |
"@ndhoule/after": 5, | |
"@ndhoule/each": 10, | |
"@ndhoule/every": 12, | |
"@ndhoule/foldl": 14, | |
"@segment/fmt": 799, | |
"@segment/load-script": 803, | |
"analytics-events": 443, | |
"component-emitter": 830, | |
"dup": 38, | |
"is": 851, | |
"load-iframe": 860, | |
"next-tick": 867, | |
"to-no-case": 442 | |
}], | |
441: [function(e, t, n) { | |
arguments[4][39][0].apply(n, arguments) | |
}, { | |
"@ndhoule/each": 10, | |
"@ndhoule/includes": 15, | |
"component-emitter": 830, | |
"domify": 842, | |
"dup": 39 | |
}], | |
442: [function(e, t, n) { | |
function o(e) { | |
return r.test(e) ? e.toLowerCase() : s.test(e) ? (i(e) || e).toLowerCase() : a(e).toLowerCase() | |
} | |
function i(e) { | |
return e.replace(c, function(e, t) { | |
return t ? " " + t : "" | |
}) | |
} | |
function a(e) { | |
return e.replace(p, function(e, t, n) { | |
return t + " " + n.toLowerCase().split("").join(" ") | |
}) | |
} | |
t.exports = o; | |
var r = /\s/, | |
s = /[\W_]/, | |
c = /[\W_]+(.|$)/g, | |
p = /(.)([A-Z]+)/g | |
}, {}], | |
443: [function(e, t, n) { | |
arguments[4][40][0].apply(n, arguments) | |
}, { | |
"dup": 40 | |
}], | |
444: [function(e, t, n) { | |
arguments[4][41][0].apply(n, arguments) | |
}, { | |
"./debug": 445, | |
"_process": 874, | |
"dup": 41 | |
}], | |
445: [function(e, t, n) { | |
arguments[4][42][0].apply(n, arguments) | |
}, { | |
"dup": 42, | |
"ms": 862 | |
}], | |
446: [function(e, t, n) { | |
arguments[4][268][0].apply(n, arguments) | |
}, { | |
"dup": 268 | |
}], | |
447: [function(e, t, n) {; | |
var o = e("@segment/analytics.js-integration"); | |
t.exports = function() {}; | |
t.exports.Integration = o("empty"); | |
}, { | |
"@segment/analytics.js-integration": 448, | |
"global-queue": 844 | |
}], | |
448: [function(e, t, n) { | |
arguments[4][37][0].apply(n, arguments) | |
}, { | |
"./protos": 449, | |
"./statics": 450, | |
"@ndhoule/clone": 7, | |
"@ndhoule/defaults": 8, | |
"@ndhoule/extend": 13, | |
"component-bind": 825, | |
"debug": 452, | |
"dup": 37, | |
"slug-component": 889 | |
}], | |
449: [function(e, t, n) { | |
arguments[4][38][0].apply(n, arguments) | |
}, { | |
"@ndhoule/after": 5, | |
"@ndhoule/each": 10, | |
"@ndhoule/every": 12, | |
"@ndhoule/foldl": 14, | |
"@segment/fmt": 799, | |
"@segment/load-script": 803, | |
"analytics-events": 451, | |
"component-emitter": 830, | |
"dup": 38, | |
"is": 851, | |
"load-iframe": 860, | |
"next-tick": 867, | |
"to-no-case": 895 | |
}], | |
450: [function(e, t, n) { | |
arguments[4][39][0].apply(n, arguments) | |
}, { | |
"@ndhoule/each": 10, | |
"@ndhoule/includes": 15, | |
"component-emitter": 830, | |
"domify": 842, | |
"dup": 39 | |
}], | |
451: [function(e, t, n) { | |
arguments[4][40][0].apply(n, arguments) | |
}, { | |
"dup": 40 | |
}], | |
452: [function(e, t, n) { | |
arguments[4][41][0].apply(n, arguments) | |
}, { | |
"./debug": 453, | |
"_process": 874, | |
"dup": 41 | |
}], | |
453: [function(e, t, n) { | |
arguments[4][42][0].apply(n, arguments) | |
}, { | |
"dup": 42, | |
"ms": 862 | |
}], | |
454: [function(e, t, n) {; | |
var o = e("@segment/analytics.js-integration"); | |
t.exports = function() {}; | |
t.exports.Integration = o("empty"); | |
}, { | |
"@segment/analytics.js-integration": 789, | |
"obj-case": 868, | |
"reject": 875, | |
"use-https": 904 | |
}], | |
455: [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": 456 | |
}], | |
456: [function(e, t, n) { | |
arguments[4][37][0].apply(n, arguments) | |
}, { | |
"./protos": 457, | |
"./statics": 458, | |
"@ndhoule/clone": 7, | |
"@ndhoule/defaults": 8, | |
"@ndhoule/extend": 13, | |
"component-bind": 825, | |
"debug": 460, | |
"dup": 37, | |
"slug-component": 889 | |
}], | |
457: [function(e, t, n) { | |
arguments[4][38][0].apply(n, arguments) | |
}, { | |
"@ndhoule/after": 5, | |
"@ndhoule/each": 10, | |
"@ndhoule/every": 12, | |
"@ndhoule/foldl": 14, | |
"@segment/fmt": 799, | |
"@segment/load-script": 803, | |
"analytics-events": 459, | |
"component-emitter": 830, | |
"dup": 38, | |
"is": 851, | |
"load-iframe": 860, | |
"next-tick": 867, | |
"to-no-case": 895 | |
}], | |
458: [function(e, t, n) { | |
arguments[4][39][0].apply(n, arguments) | |
}, { | |
"@ndhoule/each": 10, | |
"@ndhoule/includes": 15, | |
"component-emitter": 830, | |
"domify": 842, | |
"dup": 39 | |
}], | |
459: [function(e, t, n) { | |
arguments[4][40][0].apply(n, arguments) | |
}, { | |
"dup": 40 | |
}], | |
460: [function(e, t, n) { | |
arguments[4][41][0].apply(n, arguments) | |
}, { | |
"./debug": 461, | |
"_process": 874, | |
"dup": 41 | |
}], | |
461: [function(e, t, n) { | |
arguments[4][42][0].apply(n, arguments) | |
}, { | |
"dup": 42, | |
"ms": 862 | |
}], | |
462: [function(e, t, n) {; | |
var r = e("@segment/analytics.js-integration"); | |
t.exports = function() {}; | |
t.exports.Integration = r("empty"); | |
}, { | |
"@segment/analytics.js-integration": 463, | |
"next-tick": 867, | |
"use-https": 904 | |
}], | |
463: [function(e, t, n) { | |
arguments[4][37][0].apply(n, arguments) | |
}, { | |
"./protos": 464, | |
"./statics": 465, | |
"@ndhoule/clone": 7, | |
"@ndhoule/defaults": 8, | |
"@ndhoule/extend": 13, | |
"component-bind": 825, | |
"debug": 467, | |
"dup": 37, | |
"slug-component": 889 | |
}], | |
464: [function(e, t, n) { | |
arguments[4][38][0].apply(n, arguments) | |
}, { | |
"@ndhoule/after": 5, | |
"@ndhoule/each": 10, | |
"@ndhoule/every": 12, | |
"@ndhoule/foldl": 14, | |
"@segment/fmt": 799, | |
"@segment/load-script": 803, | |
"analytics-events": 466, | |
"component-emitter": 830, | |
"dup": 38, | |
"is": 851, | |
"load-iframe": 860, | |
"next-tick": 867, | |
"to-no-case": 895 | |
}], | |
465: [function(e, t, n) { | |
arguments[4][39][0].apply(n, arguments) | |
}, { | |
"@ndhoule/each": 10, | |
"@ndhoule/includes": 15, | |
"component-emitter": 830, | |
"domify": 842, | |
"dup": 39 | |
}], | |
466: [function(e, t, n) { | |
arguments[4][40][0].apply(n, arguments) | |
}, { | |
"dup": 40 | |
}], | |
467: [function(e, t, n) { | |
arguments[4][41][0].apply(n, arguments) | |
}, { | |
"./debug": 468, | |
"_process": 874, | |
"dup": 41 | |
}], | |
468: [function(e, t, n) { | |
arguments[4][42][0].apply(n, arguments) | |
}, { | |
"dup": 42, | |
"ms": 862 | |
}], | |
469: [function(e, t, n) {; | |
var l = e("@segment/analytics.js-integration"); | |
t.exports = function() {}; | |
t.exports.Integration = l("empty"); | |
}, { | |
"@ndhoule/each": 10, | |
"@ndhoule/map": 17, | |
"@segment/analytics.js-integration": 470, | |
"@segment/to-iso-string": 817, | |
"obj-case": 868, | |
"type-of": 902 | |
}], | |
470: [function(e, t, n) { | |
arguments[4][37][0].apply(n, arguments) | |
}, { | |
"./protos": 471, | |
"./statics": 472, | |
"@ndhoule/clone": 7, | |
"@ndhoule/defaults": 8, | |
"@ndhoule/extend": 13, | |
"component-bind": 825, | |
"debug": 474, | |
"dup": 37, | |
"slug-component": 889 | |
}], | |
471: [function(e, t, n) { | |
arguments[4][38][0].apply(n, arguments) | |
}, { | |
"@ndhoule/after": 5, | |
"@ndhoule/each": 10, | |
"@ndhoule/every": 12, | |
"@ndhoule/foldl": 14, | |
"@segment/fmt": 799, | |
"@segment/load-script": 803, | |
"analytics-events": 473, | |
"component-emitter": 830, | |
"dup": 38, | |
"is": 851, | |
"load-iframe": 860, | |
"next-tick": 867, | |
"to-no-case": 895 | |
}], | |
472: [function(e, t, n) { | |
arguments[4][39][0].apply(n, arguments) | |
}, { | |
"@ndhoule/each": 10, | |
"@ndhoule/includes": 15, | |
"component-emitter": 830, | |
"domify": 842, | |
"dup": 39 | |
}], | |
473: [function(e, t, n) { | |
arguments[4][40][0].apply(n, arguments) | |
}, { | |
"dup": 40 | |
}], | |
474: [function(e, t, n) { | |
arguments[4][41][0].apply(n, arguments) | |
}, { | |
"./debug": 475, | |
"_process": 874, | |
"dup": 41 | |
}], | |
475: [function(e, t, n) { | |
arguments[4][42][0].apply(n, arguments) | |
}, { | |
"dup": 42, | |
"ms": 862 | |
}], | |
476: [function(e, t, n) {; | |
var o = e("@segment/analytics.js-integration"); | |
t.exports = function() {}; | |
t.exports.Integration = o("empty"); | |
}, { | |
"@segment/analytics.js-integration": 477 | |
}], | |
477: [function(e, t, n) { | |
arguments[4][37][0].apply(n, arguments) | |
}, { | |
"./protos": 478, | |
"./statics": 479, | |
"@ndhoule/clone": 7, | |
"@ndhoule/defaults": 8, | |
"@ndhoule/extend": 13, | |
"component-bind": 825, | |
"debug": 481, | |
"dup": 37, | |
"slug-component": 889 | |
}], | |
478: [function(e, t, n) { | |
arguments[4][38][0].apply(n, arguments) | |
}, { | |
"@ndhoule/after": 5, | |
"@ndhoule/each": 10, | |
"@ndhoule/every": 12, | |
"@ndhoule/foldl": 14, | |
"@segment/fmt": 799, | |
"@segment/load-script": 803, | |
"analytics-events": 480, | |
"component-emitter": 830, | |
"dup": 38, | |
"is": 851, | |
"load-iframe": 860, | |
"next-tick": 867, | |
"to-no-case": 895 | |
}], | |
479: [function(e, t, n) { | |
arguments[4][39][0].apply(n, arguments) | |
}, { | |
"@ndhoule/each": 10, | |
"@ndhoule/includes": 15, | |
"component-emitter": 830, | |
"domify": 842, | |
"dup": 39 | |
}], | |
480: [function(e, t, n) { | |
arguments[4][40][0].apply(n, arguments) | |
}, { | |
"dup": 40 | |
}], | |
481: [function(e, t, n) { | |
arguments[4][41][0].apply(n, arguments) | |
}, { | |
"./debug": 482, | |
"_process": 874, | |
"dup": 41 | |
}], | |
482: [function(e, t, n) { | |
arguments[4][42][0].apply(n, arguments) | |
}, { | |
"dup": 42, | |
"ms": 862 | |
}], | |
483: [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/keys": 16, | |
"@ndhoule/values": 20, | |
"@segment/analytics.js-integration": 484, | |
"global-queue": 844, | |
"next-tick": 491 | |
}], | |
484: [function(e, t, n) { | |
arguments[4][37][0].apply(n, arguments) | |
}, { | |
"./protos": 485, | |
"./statics": 486, | |
"@ndhoule/clone": 7, | |
"@ndhoule/defaults": 8, | |
"@ndhoule/extend": 13, | |
"component-bind": 825, | |
"debug": 489, | |
"dup": 37, | |
"slug-component": 889 | |
}], | |
485: [function(e, t, n) { | |
arguments[4][38][0].apply(n, arguments) | |
}, { | |
"@ndhoule/after": 5, | |
"@ndhoule/each": 10, | |
"@ndhoule/every": 12, | |
"@ndhoule/foldl": 14, | |
"@segment/fmt": 799, | |
"@segment/load-script": 803, | |
"analytics-events": 488, | |
"component-emitter": 830, | |
"dup": 38, | |
"is": 851, | |
"load-iframe": 860, | |
"next-tick": 487, | |
"to-no-case": 895 | |
}], | |
486: [function(e, t, n) { | |
arguments[4][39][0].apply(n, arguments) | |
}, { | |
"@ndhoule/each": 10, | |
"@ndhoule/includes": 15, | |
"component-emitter": 830, | |
"domify": 842, | |
"dup": 39 | |
}], | |
487: [function(e, t, n) { | |
(function(e, n) { | |
"use strict"; | |
var o, i; | |
o = function(e) { | |
if ("function" != typeof e) throw new TypeError(e + " is not a function"); | |
return e | |
}; | |
i = function(e) { | |
var t, n = document.createTextNode(""), | |
i = 0; | |
new e(function() { | |
var e; | |
if (t) { | |
e = t; | |
t = null; | |
"function" != typeof e ? e.forEach(function(e) { | |
e() | |
}) : e() | |
} | |
}).observe(n, { | |
characterData: !0 | |
}); | |
return function(e) { | |
o(e); | |
if (t) "function" == typeof t ? t = [t, e] : t.push(e); | |
else { | |
t = e; | |
n.data = i = ++i % 2 | |
} | |
} | |
}; | |
t.exports = function() { | |
if (void 0 !== e && e && "function" == typeof e.nextTick) return e.nextTick; | |
if ("object" == typeof document && document) { | |
if ("function" == typeof MutationObserver) return i(MutationObserver); | |
if ("function" == typeof WebKitMutationObserver) return i(WebKitMutationObserver) | |
} | |
return "function" == typeof n ? function(e) { | |
n(o(e)) | |
} : "function" == typeof setTimeout ? function(e) { | |
setTimeout(o(e), 0) | |
} : null | |
}() | |
}).call(this, e("_process"), e("timers").setImmediate) | |
}, { | |
"_process": 874, | |
"timers": 892 | |
}], | |
488: [function(e, t, n) { | |
arguments[4][40][0].apply(n, arguments) | |
}, { | |
"dup": 40 | |
}], | |
489: [function(e, t, n) { | |
arguments[4][41][0].apply(n, arguments) | |
}, { | |
"./debug": 490, | |
"_process": 874, | |
"dup": 41 | |
}], | |
490: [function(e, t, n) { | |
arguments[4][42][0].apply(n, arguments) | |
}, { | |
"dup": 42, | |
"ms": 862 | |
}], | |
491: [function(e, t, n) { | |
arguments[4][220][0].apply(n, arguments) | |
}, { | |
"_process": 874, | |
"dup": 220, | |
"timers": 892 | |
}], | |
492: [function(e, t, n) {; | |
var o = e("@segment/analytics.js-integration"); | |
t.exports = function() {}; | |
t.exports.Integration = o("empty"); | |
}, { | |
"@ndhoule/foldl": 14, | |
"@segment/analytics.js-integration": 493, | |
"segmentio-facade": 883, | |
"to-no-case": 500 | |
}], | |
493: [function(e, t, n) { | |
arguments[4][37][0].apply(n, arguments) | |
}, { | |
"./protos": 494, | |
"./statics": 495, | |
"@ndhoule/clone": 7, | |
"@ndhoule/defaults": 8, | |
"@ndhoule/extend": 13, | |
"component-bind": 825, | |
"debug": 498, | |
"dup": 37, | |
"slug-component": 889 | |
}], | |
494: [function(e, t, n) { | |
arguments[4][38][0].apply(n, arguments) | |
}, { | |
"@ndhoule/after": 5, | |
"@ndhoule/each": 10, | |
"@ndhoule/every": 12, | |
"@ndhoule/foldl": 14, | |
"@segment/fmt": 799, | |
"@segment/load-script": 803, | |
"analytics-events": 497, | |
"component-emitter": 830, | |
"dup": 38, | |
"is": 851, | |
"load-iframe": 860, | |
"next-tick": 867, | |
"to-no-case": 496 | |
}], | |
495: [function(e, t, n) { | |
arguments[4][39][0].apply(n, arguments) | |
}, { | |
"@ndhoule/each": 10, | |
"@ndhoule/includes": 15, | |
"component-emitter": 830, | |
"domify": 842, | |
"dup": 39 | |
}], | |
496: [function(e, t, n) { | |
arguments[4][442][0].apply(n, arguments) | |
}, { | |
"dup": 442 | |
}], | |
497: [function(e, t, n) { | |
arguments[4][40][0].apply(n, arguments) | |
}, { | |
"dup": 40 | |
}], | |
498: [function(e, t, n) { | |
arguments[4][41][0].apply(n, arguments) | |
}, { | |
"./debug": 499, | |
"_process": 874, | |
"dup": 41 | |
}], | |
499: [function(e, t, n) { | |
arguments[4][42][0].apply(n, arguments) | |
}, { | |
"dup": 42, | |
"ms": 862 | |
}], | |
500: [function(e, t, n) { | |
arguments[4][268][0].apply(n, arguments) | |
}, { | |
"dup": 268 | |
}], | |
501: [function(e, t, n) {; | |
var s = e("@segment/analytics.js-integration"); | |
t.exports = function() {}; | |
t.exports.Integration = s("empty"); | |
}, { | |
"@ndhoule/each": 10, | |
"@segment/analytics.js-integration": 502, | |
"@segment/load-script": 803, | |
"component-cookie": 827, | |
"component-querystring": 506, | |
"use-https": 904 | |
}], | |
502: [function(e, t, n) { | |
arguments[4][37][0].apply(n, arguments) | |
}, { | |
"./protos": 503, | |
"./statics": 504, | |
"@ndhoule/clone": 7, | |
"@ndhoule/defaults": 8, | |
"@ndhoule/extend": 13, | |
"component-bind": 825, | |
"debug": 508, | |
"dup": 37, | |
"slug-component": 889 | |
}], | |
503: [function(e, t, n) { | |
arguments[4][38][0].apply(n, arguments) | |
}, { | |
"@ndhoule/after": 5, | |
"@ndhoule/each": 10, | |
"@ndhoule/every": 12, | |
"@ndhoule/foldl": 14, | |
"@segment/fmt": 799, | |
"@segment/load-script": 803, | |
"analytics-events": 505, | |
"component-emitter": 830, | |
"dup": 38, | |
"is": 851, | |
"load-iframe": 860, | |
"next-tick": 867, | |
"to-no-case": 895 | |
}], | |
504: [function(e, t, n) { | |
arguments[4][39][0].apply(n, arguments) | |
}, { | |
"@ndhoule/each": 10, | |
"@ndhoule/includes": 15, | |
"component-emitter": 830, | |
"domify": 842, | |
"dup": 39 | |
}], | |
505: [function(e, t, n) { | |
arguments[4][40][0].apply(n, arguments) | |
}, { | |
"dup": 40 | |
}], | |
506: [function(e, t, n) { | |
var o = encodeURIComponent, | |
i = decodeURIComponent, | |
a = e("trim"), | |
r = e("type"), | |
s = /(\w+)\[(\d+)\]/; | |
n.parse = function(e) { | |
if ("string" != typeof e) return {}; | |
e = a(e); | |
if ("" == e) return {}; | |
"?" == e.charAt(0) && (e = e.slice(1)); | |
for (var t = {}, n = e.split("&"), o = 0; o < n.length; o++) { | |
var r, c = n[o].split("="), | |
p = i(c[0]); | |
if (r = s.exec(p)) { | |
t[r[1]] = t[r[1]] || []; | |
t[r[1]][r[2]] = i(c[1]) | |
} else t[c[0]] = null == c[1] ? "" : i(c[1]) | |
} | |
return t | |
}; | |
n.stringify = function(e) { | |
if (!e) return ""; | |
var t = []; | |
for (var n in e) { | |
var i = e[n]; | |
if ("array" != r(i)) t.push(o(n) + "=" + o(e[n])); | |
else | |
for (var a = 0; a < i.length; ++a) t.push(o(n + "[" + a + "]") + "=" + o(i[a])) | |
} | |
return t.join("&") | |
} | |
}, { | |
"trim": 900, | |
"type": 507 | |
}], | |
507: [function(e, t, n) { | |
var o = Object.prototype.toString; | |
t.exports = function(e) { | |
switch (o.call(e)) { | |
case "[object Date]": | |
return "date"; | |
case "[object RegExp]": | |
return "regexp"; | |
case "[object Arguments]": | |
return "arguments"; | |
case "[object Array]": | |
return "array"; | |
case "[object Error]": | |
return "error" | |
} | |
if (null === e) return "null"; | |
if (e === undefined) return "undefined"; | |
if (e !== e) return "nan"; | |
if (e && 1 === e.nodeType) return "element"; | |
e = e.valueOf ? e.valueOf() : Object.prototype.valueOf.apply(e); | |
return typeof e | |
} | |
}, {}], | |
508: [function(e, t, n) { | |
arguments[4][41][0].apply(n, arguments) | |
}, { | |
"./debug": 509, | |
"_process": 874, | |
"dup": 41 | |
}], | |
509: [function(e, t, n) { | |
arguments[4][42][0].apply(n, arguments) | |
}, { | |
"dup": 42, | |
"ms": 862 | |
}], | |
510: [function(e, t, n) {; | |
var o = e("@segment/analytics.js-integration"); | |
t.exports = function() {}; | |
t.exports.Integration = o("empty"); | |
}, { | |
"@ndhoule/defaults": 8, | |
"@segment/analytics.js-integration": 789, | |
"do-when": 841, | |
"is": 851, | |
"json3": 856, | |
"reject": 875 | |
}], | |
511: [function(e, t, n) {; | |
var s = e("@segment/analytics.js-integration"); | |
t.exports = function() {}; | |
t.exports.Integration = s("empty"); | |
}, { | |
"@ndhoule/extend": 13, | |
"@segment/analytics.js-integration": 789, | |
"obj-case": 868, | |
"segmentio-facade": 883 | |
}], | |
512: [function(e, t, n) {; | |
var o = e("@segment/analytics.js-integration"); | |
t.exports = function() {}; | |
t.exports.Integration = o("empty"); | |
}, { | |
"@segment/analytics.js-integration": 789, | |
"global-queue": 844 | |
}], | |
513: [function(e, t, n) {; | |
var o = e("@segment/analytics.js-integration"); | |
t.exports = function() {}; | |
t.exports.Integration = o("empty"); | |
}, { | |
"@ndhoule/each": 10, | |
"@segment/analytics.js-integration": 789 | |
}], | |
514: [function(e, t, n) {; | |
var o = e("@segment/analytics.js-integration"); | |
t.exports = function() {}; | |
t.exports.Integration = o("empty"); | |
}, { | |
"@segment/analytics.js-integration": 515, | |
"global-queue": 844 | |
}], | |
515: [function(e, t, n) { | |
arguments[4][37][0].apply(n, arguments) | |
}, { | |
"./protos": 516, | |
"./statics": 517, | |
"@ndhoule/clone": 7, | |
"@ndhoule/defaults": 8, | |
"@ndhoule/extend": 13, | |
"component-bind": 825, | |
"debug": 519, | |
"dup": 37, | |
"slug-component": 889 | |
}], | |
516: [function(e, t, n) { | |
arguments[4][38][0].apply(n, arguments) | |
}, { | |
"@ndhoule/after": 5, | |
"@ndhoule/each": 10, | |
"@ndhoule/every": 12, | |
"@ndhoule/foldl": 14, | |
"@segment/fmt": 799, | |
"@segment/load-script": 803, | |
"analytics-events": 518, | |
"component-emitter": 830, | |
"dup": 38, | |
"is": 851, | |
"load-iframe": 860, | |
"next-tick": 867, | |
"to-no-case": 895 | |
}], | |
517: [function(e, t, n) { | |
arguments[4][39][0].apply(n, arguments) | |
}, { | |
"@ndhoule/each": 10, | |
"@ndhoule/includes": 15, | |
"component-emitter": 830, | |
"domify": 842, | |
"dup": 39 | |
}], | |
518: [function(e, t, n) { | |
arguments[4][40][0].apply(n, arguments) | |
}, { | |
"dup": 40 | |
}], | |
519: [function(e, t, n) { | |
arguments[4][41][0].apply(n, arguments) | |
}, { | |
"./debug": 520, | |
"_process": 874, | |
"dup": 41 | |
}], | |
520: [function(e, t, n) { | |
arguments[4][42][0].apply(n, arguments) | |
}, { | |
"dup": 42, | |
"ms": 862 | |
}], | |
521: [function(e, t, n) {; | |
var o = e("@segment/analytics.js-integration"); | |
t.exports = function() {}; | |
t.exports.Integration = o("empty"); | |
}, { | |
"@segment/analytics.js-integration": 522, | |
"analytics-events": 821 | |
}], | |
522: [function(e, t, n) { | |
arguments[4][37][0].apply(n, arguments) | |
}, { | |
"./protos": 523, | |
"./statics": 524, | |
"@ndhoule/clone": 7, | |
"@ndhoule/defaults": 8, | |
"@ndhoule/extend": 13, | |
"component-bind": 825, | |
"debug": 526, | |
"dup": 37, | |
"slug-component": 889 | |
}], | |
523: [function(e, t, n) { | |
arguments[4][38][0].apply(n, arguments) | |
}, { | |
"@ndhoule/after": 5, | |
"@ndhoule/each": 10, | |
"@ndhoule/every": 12, | |
"@ndhoule/foldl": 14, | |
"@segment/fmt": 799, | |
"@segment/load-script": 803, | |
"analytics-events": 525, | |
"component-emitter": 830, | |
"dup": 38, | |
"is": 851, | |
"load-iframe": 860, | |
"next-tick": 867, | |
"to-no-case": 895 | |
}], | |
524: [function(e, t, n) { | |
arguments[4][39][0].apply(n, arguments) | |
}, { | |
"@ndhoule/each": 10, | |
"@ndhoule/includes": 15, | |
"component-emitter": 830, | |
"domify": 842, | |
"dup": 39 | |
}], | |
525: [function(e, t, n) { | |
arguments[4][40][0].apply(n, arguments) | |
}, { | |
"dup": 40 | |
}], | |
526: [function(e, t, n) { | |
arguments[4][41][0].apply(n, arguments) | |
}, { | |
"./debug": 527, | |
"_process": 874, | |
"dup": 41 | |
}], | |
527: [function(e, t, n) { | |
arguments[4][42][0].apply(n, arguments) | |
}, { | |
"dup": 42, | |
"ms": 862 | |
}], | |
528: [function(e, t, n) {; | |
var i = e("@segment/analytics.js-integration"); | |
t.exports = function() {}; | |
t.exports.Integration = i("empty"); | |
}, { | |
"@segment/analytics.js-integration": 529, | |
"component-each": 828, | |
"global-queue": 844, | |
"is": 851 | |
}], | |
529: [function(e, t, n) { | |
arguments[4][37][0].apply(n, arguments) | |
}, { | |
"./protos": 530, | |
"./statics": 531, | |
"@ndhoule/clone": 7, | |
"@ndhoule/defaults": 8, | |
"@ndhoule/extend": 13, | |
"component-bind": 825, | |
"debug": 533, | |
"dup": 37, | |
"slug-component": 889 | |
}], | |
530: [function(e, t, n) { | |
arguments[4][38][0].apply(n, arguments) | |
}, { | |
"@ndhoule/after": 5, | |
"@ndhoule/each": 10, | |
"@ndhoule/every": 12, | |
"@ndhoule/foldl": 14, | |
"@segment/fmt": 799, | |
"@segment/load-script": 803, | |
"analytics-events": 532, | |
"component-emitter": 830, | |
"dup": 38, | |
"is": 851, | |
"load-iframe": 860, | |
"next-tick": 867, | |
"to-no-case": 895 | |
}], | |
531: [function(e, t, n) { | |
arguments[4][39][0].apply(n, arguments) | |
}, { | |
"@ndhoule/each": 10, | |
"@ndhoule/includes": 15, | |
"component-emitter": 830, | |
"domify": 842, | |
"dup": 39 | |
}], | |
532: [function(e, t, n) { | |
arguments[4][40][0].apply(n, arguments) | |
}, { | |
"dup": 40 | |
}], | |
533: [function(e, t, n) { | |
arguments[4][41][0].apply(n, arguments) | |
}, { | |
"./debug": 534, | |
"_process": 874, | |
"dup": 41 | |
}], | |
534: [function(e, t, n) { | |
arguments[4][42][0].apply(n, arguments) | |
}, { | |
"dup": 42, | |
"ms": 862 | |
}], | |
535: [function(e, t, n) {; | |
var i = e("@segment/analytics.js-integration"); | |
t.exports = function() {}; | |
t.exports.Integration = i("empty"); | |
}, { | |
"@segment/analytics.js-integration": 536, | |
"do-when": 841, | |
"global-queue": 844, | |
"segmentio-facade": 883 | |
}], | |
536: [function(e, t, n) { | |
arguments[4][37][0].apply(n, arguments) | |
}, { | |
"./protos": 537, | |
"./statics": 538, | |
"@ndhoule/clone": 7, | |
"@ndhoule/defaults": 8, | |
"@ndhoule/extend": 13, | |
"component-bind": 825, | |
"debug": 540, | |
"dup": 37, | |
"slug-component": 889 | |
}], | |
537: [function(e, t, n) { | |
arguments[4][38][0].apply(n, arguments) | |
}, { | |
"@ndhoule/after": 5, | |
"@ndhoule/each": 10, | |
"@ndhoule/every": 12, | |
"@ndhoule/foldl": 14, | |
"@segment/fmt": 799, | |
"@segment/load-script": 803, | |
"analytics-events": 539, | |
"component-emitter": 830, | |
"dup": 38, | |
"is": 851, | |
"load-iframe": 860, | |
"next-tick": 867, | |
"to-no-case": 895 | |
}], | |
538: [function(e, t, n) { | |
arguments[4][39][0].apply(n, arguments) | |
}, { | |
"@ndhoule/each": 10, | |
"@ndhoule/includes": 15, | |
"component-emitter": 830, | |
"domify": 842, | |
"dup": 39 | |
}], | |
539: [function(e, t, n) { | |
arguments[4][40][0].apply(n, arguments) | |
}, { | |
"dup": 40 | |
}], | |
540: [function(e, t, n) { | |
arguments[4][41][0].apply(n, arguments) | |
}, { | |
"./debug": 541, | |
"_process": 874, | |
"dup": 41 | |
}], | |
541: [function(e, t, n) { | |
arguments[4][42][0].apply(n, arguments) | |
}, { | |
"dup": 42, | |
"ms": 862 | |
}], | |
542: [function(e, t, n) {; | |
var a = e("@segment/analytics.js-integration"); | |
t.exports = function() {}; | |
t.exports.Integration = a("empty"); | |
}, { | |
"@segment/analytics.js-integration": 789, | |
"global-queue": 844, | |
"is": 851, | |
"obj-case": 868, | |
"use-https": 904 | |
}], | |
543: [function(e, t, n) {; | |
var i = e("@segment/analytics.js-integration"); | |
t.exports = function() {}; | |
t.exports.Integration = i("empty"); | |
}, { | |
"@segment/analytics.js-integration": 544, | |
"component-each": 828, | |
"global-queue": 844 | |
}], | |
544: [function(e, t, n) { | |
arguments[4][37][0].apply(n, arguments) | |
}, { | |
"./protos": 545, | |
"./statics": 546, | |
"@ndhoule/clone": 7, | |
"@ndhoule/defaults": 8, | |
"@ndhoule/extend": 13, | |
"component-bind": 825, | |
"debug": 548, | |
"dup": 37, | |
"slug-component": 889 | |
}], | |
545: [function(e, t, n) { | |
arguments[4][38][0].apply(n, arguments) | |
}, { | |
"@ndhoule/after": 5, | |
"@ndhoule/each": 10, | |
"@ndhoule/every": 12, | |
"@ndhoule/foldl": 14, | |
"@segment/fmt": 799, | |
"@segment/load-script": 803, | |
"analytics-events": 547, | |
"component-emitter": 830, | |
"dup": 38, | |
"is": 851, | |
"load-iframe": 860, | |
"next-tick": 867, | |
"to-no-case": 895 | |
}], | |
546: [function(e, t, n) { | |
arguments[4][39][0].apply(n, arguments) | |
}, { | |
"@ndhoule/each": 10, | |
"@ndhoule/includes": 15, | |
"component-emitter": 830, | |
"domify": 842, | |
"dup": 39 | |
}], | |
547: [function(e, t, n) { | |
arguments[4][40][0].apply(n, arguments) | |
}, { | |
"dup": 40 | |
}], | |
548: [function(e, t, n) { | |
arguments[4][41][0].apply(n, arguments) | |
}, { | |
"./debug": 549, | |
"_process": 874, | |
"dup": 41 | |
}], | |
549: [function(e, t, n) { | |
arguments[4][42][0].apply(n, arguments) | |
}, { | |
"dup": 42, | |
"ms": 862 | |
}], | |
550: [function(e, t, n) {; | |
var o = e("@segment/analytics.js-integration"); | |
t.exports = function() {}; | |
t.exports.Integration = o("empty"); | |
}, { | |
"@segment/analytics.js-integration": 551 | |
}], | |
551: [function(e, t, n) { | |
arguments[4][37][0].apply(n, arguments) | |
}, { | |
"./protos": 552, | |
"./statics": 553, | |
"@ndhoule/clone": 7, | |
"@ndhoule/defaults": 8, | |
"@ndhoule/extend": 13, | |
"component-bind": 825, | |
"debug": 555, | |
"dup": 37, | |
"slug-component": 889 | |
}], | |
552: [function(e, t, n) { | |
arguments[4][38][0].apply(n, arguments) | |
}, { | |
"@ndhoule/after": 5, | |
"@ndhoule/each": 10, | |
"@ndhoule/every": 12, | |
"@ndhoule/foldl": 14, | |
"@segment/fmt": 799, | |
"@segment/load-script": 803, | |
"analytics-events": 554, | |
"component-emitter": 830, | |
"dup": 38, | |
"is": 851, | |
"load-iframe": 860, | |
"next-tick": 867, | |
"to-no-case": 895 | |
}], | |
553: [function(e, t, n) { | |
arguments[4][39][0].apply(n, arguments) | |
}, { | |
"@ndhoule/each": 10, | |
"@ndhoule/includes": 15, | |
"component-emitter": 830, | |
"domify": 842, | |
"dup": 39 | |
}], | |
554: [function(e, t, n) { | |
arguments[4][40][0].apply(n, arguments) | |
}, { | |
"dup": 40 | |
}], | |
555: [function(e, t, n) { | |
arguments[4][41][0].apply(n, arguments) | |
}, { | |
"./debug": 556, | |
"_process": 874, | |
"dup": 41 | |
}], | |
556: [function(e, t, n) { | |
arguments[4][42][0].apply(n, arguments) | |
}, { | |
"dup": 42, | |
"ms": 862 | |
}], | |
557: [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": 558, | |
"@segment/convert-dates": 798, | |
"obj-case": 868 | |
}], | |
558: [function(e, t, n) { | |
arguments[4][37][0].apply(n, arguments) | |
}, { | |
"./protos": 559, | |
"./statics": 560, | |
"@ndhoule/clone": 7, | |
"@ndhoule/defaults": 8, | |
"@ndhoule/extend": 13, | |
"component-bind": 825, | |
"debug": 562, | |
"dup": 37, | |
"slug-component": 889 | |
}], | |
559: [function(e, t, n) { | |
arguments[4][38][0].apply(n, arguments) | |
}, { | |
"@ndhoule/after": 5, | |
"@ndhoule/each": 10, | |
"@ndhoule/every": 12, | |
"@ndhoule/foldl": 14, | |
"@segment/fmt": 799, | |
"@segment/load-script": 803, | |
"analytics-events": 561, | |
"component-emitter": 830, | |
"dup": 38, | |
"is": 851, | |
"load-iframe": 860, | |
"next-tick": 867, | |
"to-no-case": 895 | |
}], | |
560: [function(e, t, n) { | |
arguments[4][39][0].apply(n, arguments) | |
}, { | |
"@ndhoule/each": 10, | |
"@ndhoule/includes": 15, | |
"component-emitter": 830, | |
"domify": 842, | |
"dup": 39 | |
}], | |
561: [function(e, t, n) { | |
arguments[4][40][0].apply(n, arguments) | |
}, { | |
"dup": 40 | |
}], | |
562: [function(e, t, n) { | |
arguments[4][41][0].apply(n, arguments) | |
}, { | |
"./debug": 563, | |
"_process": 874, | |
"dup": 41 | |
}], | |
563: [function(e, t, n) { | |
arguments[4][42][0].apply(n, arguments) | |
}, { | |
"dup": 42, | |
"ms": 862 | |
}], | |
564: [function(e, t, n) {; | |
var r = e("@segment/analytics.js-integration"); | |
t.exports = function() {}; | |
t.exports.Integration = r("empty"); | |
}, { | |
"@segment/analytics.js-integration": 565, | |
"component-each": 828, | |
"segmentio-facade": 883 | |
}], | |
565: [function(e, t, n) { | |
arguments[4][37][0].apply(n, arguments) | |
}, { | |
"./protos": 566, | |
"./statics": 567, | |
"@ndhoule/clone": 7, | |
"@ndhoule/defaults": 8, | |
"@ndhoule/extend": 13, | |
"component-bind": 825, | |
"debug": 569, | |
"dup": 37, | |
"slug-component": 889 | |
}], | |
566: [function(e, t, n) { | |
arguments[4][38][0].apply(n, arguments) | |
}, { | |
"@ndhoule/after": 5, | |
"@ndhoule/each": 10, | |
"@ndhoule/every": 12, | |
"@ndhoule/foldl": 14, | |
"@segment/fmt": 799, | |
"@segment/load-script": 803, | |
"analytics-events": 568, | |
"component-emitter": 830, | |
"dup": 38, | |
"is": 851, | |
"load-iframe": 860, | |
"next-tick": 867, | |
"to-no-case": 895 | |
}], | |
567: [function(e, t, n) { | |
arguments[4][39][0].apply(n, arguments) | |
}, { | |
"@ndhoule/each": 10, | |
"@ndhoule/includes": 15, | |
"component-emitter": 830, | |
"domify": 842, | |
"dup": 39 | |
}], | |
568: [function(e, t, n) { | |
arguments[4][40][0].apply(n, arguments) | |
}, { | |
"dup": 40 | |
}], | |
569: [function(e, t, n) { | |
arguments[4][41][0].apply(n, arguments) | |
}, { | |
"./debug": 570, | |
"_process": 874, | |
"dup": 41 | |
}], | |
570: [function(e, t, n) { | |
arguments[4][42][0].apply(n, arguments) | |
}, { | |
"dup": 42, | |
"ms": 862 | |
}], | |
571: [function(e, t, n) {; | |
var i = e("@segment/analytics.js-integration"); | |
t.exports = function() {}; | |
t.exports.Integration = i("empty"); | |
}, { | |
"@segment/analytics.js-integration": 572, | |
"component-each": 828 | |
}], | |
572: [function(e, t, n) { | |
arguments[4][37][0].apply(n, arguments) | |
}, { | |
"./protos": 573, | |
"./statics": 574, | |
"@ndhoule/clone": 7, | |
"@ndhoule/defaults": 8, | |
"@ndhoule/extend": 13, | |
"component-bind": 825, | |
"debug": 576, | |
"dup": 37, | |
"slug-component": 889 | |
}], | |
573: [function(e, t, n) { | |
arguments[4][38][0].apply(n, arguments) | |
}, { | |
"@ndhoule/after": 5, | |
"@ndhoule/each": 10, | |
"@ndhoule/every": 12, | |
"@ndhoule/foldl": 14, | |
"@segment/fmt": 799, | |
"@segment/load-script": 803, | |
"analytics-events": 575, | |
"component-emitter": 830, | |
"dup": 38, | |
"is": 851, | |
"load-iframe": 860, | |
"next-tick": 867, | |
"to-no-case": 895 | |
}], | |
574: [function(e, t, n) { | |
arguments[4][39][0].apply(n, arguments) | |
}, { | |
"@ndhoule/each": 10, | |
"@ndhoule/includes": 15, | |
"component-emitter": 830, | |
"domify": 842, | |
"dup": 39 | |
}], | |
575: [function(e, t, n) { | |
arguments[4][40][0].apply(n, arguments) | |
}, { | |
"dup": 40 | |
}], | |
576: [function(e, t, n) { | |
arguments[4][41][0].apply(n, arguments) | |
}, { | |
"./debug": 577, | |
"_process": 874, | |
"dup": 41 | |
}], | |
577: [function(e, t, n) { | |
arguments[4][42][0].apply(n, arguments) | |
}, { | |
"dup": 42, | |
"ms": 862 | |
}], | |
578: [function(e, t, n) {; | |
var i = e("@segment/analytics.js-integration"); | |
t.exports = function() {}; | |
t.exports.Integration = i("empty"); | |
}, { | |
"@ndhoule/extend": 13, | |
"@segment/analytics.js-integration": 579 | |
}], | |
579: [function(e, t, n) { | |
arguments[4][37][0].apply(n, arguments) | |
}, { | |
"./protos": 580, | |
"./statics": 581, | |
"@ndhoule/clone": 7, | |
"@ndhoule/defaults": 8, | |
"@ndhoule/extend": 13, | |
"component-bind": 825, | |
"debug": 583, | |
"dup": 37, | |
"slug-component": 889 | |
}], | |
580: [function(e, t, n) { | |
arguments[4][38][0].apply(n, arguments) | |
}, { | |
"@ndhoule/after": 5, | |
"@ndhoule/each": 10, | |
"@ndhoule/every": 12, | |
"@ndhoule/foldl": 14, | |
"@segment/fmt": 799, | |
"@segment/load-script": 803, | |
"analytics-events": 582, | |
"component-emitter": 830, | |
"dup": 38, | |
"is": 851, | |
"load-iframe": 860, | |
"next-tick": 867, | |
"to-no-case": 895 | |
}], | |
581: [function(e, t, n) { | |
arguments[4][39][0].apply(n, arguments) | |
}, { | |
"@ndhoule/each": 10, | |
"@ndhoule/includes": 15, | |
"component-emitter": 830, | |
"domify": 842, | |
"dup": 39 | |
}], | |
582: [function(e, t, n) { | |
arguments[4][40][0].apply(n, arguments) | |
}, { | |
"dup": 40 | |
}], | |
583: [function(e, t, n) { | |
arguments[4][41][0].apply(n, arguments) | |
}, { | |
"./debug": 584, | |
"_process": 874, | |
"dup": 41 | |
}], | |
584: [function(e, t, n) { | |
arguments[4][42][0].apply(n, arguments) | |
}, { | |
"dup": 42, | |
"ms": 862 | |
}], | |
585: [function(e, t, n) {; | |
var o = e("@segment/analytics.js-integration"); | |
t.exports = function() {}; | |
t.exports.Integration = o("empty"); | |
}, { | |
"@segment/analytics.js-integration": 586 | |
}], | |
586: [function(e, t, n) { | |
arguments[4][37][0].apply(n, arguments) | |
}, { | |
"./protos": 587, | |
"./statics": 588, | |
"@ndhoule/clone": 7, | |
"@ndhoule/defaults": 8, | |
"@ndhoule/extend": 13, | |
"component-bind": 825, | |
"debug": 590, | |
"dup": 37, | |
"slug-component": 889 | |
}], | |
587: [function(e, t, n) { | |
arguments[4][38][0].apply(n, arguments) | |
}, { | |
"@ndhoule/after": 5, | |
"@ndhoule/each": 10, | |
"@ndhoule/every": 12, | |
"@ndhoule/foldl": 14, | |
"@segment/fmt": 799, | |
"@segment/load-script": 803, | |
"analytics-events": 589, | |
"component-emitter": 830, | |
"dup": 38, | |
"is": 851, | |
"load-iframe": 860, | |
"next-tick": 867, | |
"to-no-case": 895 | |
}], | |
588: [function(e, t, n) { | |
arguments[4][39][0].apply(n, arguments) | |
}, { | |
"@ndhoule/each": 10, | |
"@ndhoule/includes": 15, | |
"component-emitter": 830, | |
"domify": 842, | |
"dup": 39 | |
}], | |
589: [function(e, t, n) { | |
arguments[4][40][0].apply(n, arguments) | |
}, { | |
"dup": 40 | |
}], | |
590: [function(e, t, n) { | |
arguments[4][41][0].apply(n, arguments) | |
}, { | |
"./debug": 591, | |
"_process": 874, | |
"dup": 41 | |
}], | |
591: [function(e, t, n) { | |
arguments[4][42][0].apply(n, arguments) | |
}, { | |
"dup": 42, | |
"ms": 862 | |
}], | |
592: [function(e, t, n) {; | |
var o = e("@segment/analytics.js-integration"); | |
t.exports = function() {}; | |
t.exports.Integration = o("empty"); | |
}, { | |
"@segment/analytics.js-integration": 593, | |
"obj-case": 868 | |
}], | |
593: [function(e, t, n) { | |
arguments[4][37][0].apply(n, arguments) | |
}, { | |
"./protos": 594, | |
"./statics": 595, | |
"@ndhoule/clone": 7, | |
"@ndhoule/defaults": 8, | |
"@ndhoule/extend": 13, | |
"component-bind": 825, | |
"debug": 597, | |
"dup": 37, | |
"slug-component": 889 | |
}], | |
594: [function(e, t, n) { | |
arguments[4][38][0].apply(n, arguments) | |
}, { | |
"@ndhoule/after": 5, | |
"@ndhoule/each": 10, | |
"@ndhoule/every": 12, | |
"@ndhoule/foldl": 14, | |
"@segment/fmt": 799, | |
"@segment/load-script": 803, | |
"analytics-events": 596, | |
"component-emitter": 830, | |
"dup": 38, | |
"is": 851, | |
"load-iframe": 860, | |
"next-tick": 867, | |
"to-no-case": 895 | |
}], | |
595: [function(e, t, n) { | |
arguments[4][39][0].apply(n, arguments) | |
}, { | |
"@ndhoule/each": 10, | |
"@ndhoule/includes": 15, | |
"component-emitter": 830, | |
"domify": 842, | |
"dup": 39 | |
}], | |
596: [function(e, t, n) { | |
arguments[4][40][0].apply(n, arguments) | |
}, { | |
"dup": 40 | |
}], | |
597: [function(e, t, n) { | |
arguments[4][41][0].apply(n, arguments) | |
}, { | |
"./debug": 598, | |
"_process": 874, | |
"dup": 41 | |
}], | |
598: [function(e, t, n) { | |
arguments[4][42][0].apply(n, arguments) | |
}, { | |
"dup": 42, | |
"ms": 862 | |
}], | |
599: [function(e, t, n) {; | |
var i = e("@segment/analytics.js-integration"); | |
t.exports = function() {}; | |
t.exports.Integration = i("empty"); | |
}, { | |
"@segment/analytics.js-integration": 600 | |
}], | |
600: [function(e, t, n) { | |
arguments[4][37][0].apply(n, arguments) | |
}, { | |
"./protos": 601, | |
"./statics": 602, | |
"@ndhoule/clone": 7, | |
"@ndhoule/defaults": 8, | |
"@ndhoule/extend": 13, | |
"component-bind": 825, | |
"debug": 604, | |
"dup": 37, | |
"slug-component": 889 | |
}], | |
601: [function(e, t, n) { | |
arguments[4][38][0].apply(n, arguments) | |
}, { | |
"@ndhoule/after": 5, | |
"@ndhoule/each": 10, | |
"@ndhoule/every": 12, | |
"@ndhoule/foldl": 14, | |
"@segment/fmt": 799, | |
"@segment/load-script": 803, | |
"analytics-events": 603, | |
"component-emitter": 830, | |
"dup": 38, | |
"is": 851, | |
"load-iframe": 860, | |
"next-tick": 867, | |
"to-no-case": 895 | |
}], | |
602: [function(e, t, n) { | |
arguments[4][39][0].apply(n, arguments) | |
}, { | |
"@ndhoule/each": 10, | |
"@ndhoule/includes": 15, | |
"component-emitter": 830, | |
"domify": 842, | |
"dup": 39 | |
}], | |
603: [function(e, t, n) { | |
arguments[4][40][0].apply(n, arguments) | |
}, { | |
"dup": 40 | |
}], | |
604: [function(e, t, n) { | |
arguments[4][41][0].apply(n, arguments) | |
}, { | |
"./debug": 605, | |
"_process": 874, | |
"dup": 41 | |
}], | |
605: [function(e, t, n) { | |
arguments[4][42][0].apply(n, arguments) | |
}, { | |
"dup": 42, | |
"ms": 862 | |
}], | |
606: [function(e, t, n) {; | |
var o = e("@segment/analytics.js-integration"); | |
t.exports = function() {}; | |
t.exports.Integration = o("empty"); | |
}, { | |
"@segment/analytics.js-integration": 607 | |
}], | |
607: [function(e, t, n) { | |
arguments[4][37][0].apply(n, arguments) | |
}, { | |
"./protos": 608, | |
"./statics": 609, | |
"@ndhoule/clone": 7, | |
"@ndhoule/defaults": 8, | |
"@ndhoule/extend": 13, | |
"component-bind": 825, | |
"debug": 611, | |
"dup": 37, | |
"slug-component": 889 | |
}], | |
608: [function(e, t, n) { | |
arguments[4][38][0].apply(n, arguments) | |
}, { | |
"@ndhoule/after": 5, | |
"@ndhoule/each": 10, | |
"@ndhoule/every": 12, | |
"@ndhoule/foldl": 14, | |
"@segment/fmt": 799, | |
"@segment/load-script": 803, | |
"analytics-events": 610, | |
"component-emitter": 830, | |
"dup": 38, | |
"is": 851, | |
"load-iframe": 860, | |
"next-tick": 867, | |
"to-no-case": 895 | |
}], | |
609: [function(e, t, n) { | |
arguments[4][39][0].apply(n, arguments) | |
}, { | |
"@ndhoule/each": 10, | |
"@ndhoule/includes": 15, | |
"component-emitter": 830, | |
"domify": 842, | |
"dup": 39 | |
}], | |
610: [function(e, t, n) { | |
arguments[4][40][0].apply(n, arguments) | |
}, { | |
"dup": 40 | |
}], | |
611: [function(e, t, n) { | |
arguments[4][41][0].apply(n, arguments) | |
}, { | |
"./debug": 612, | |
"_process": 874, | |
"dup": 41 | |
}], | |
612: [function(e, t, n) { | |
arguments[4][42][0].apply(n, arguments) | |
}, { | |
"dup": 42, | |
"ms": 862 | |
}], | |
613: [function(e, t, n) {; | |
var o = e("@segment/analytics.js-integration"); | |
t.exports = function() {}; | |
t.exports.Integration = o("empty"); | |
}, { | |
"@segment/analytics.js-integration": 614, | |
"do-when": 841 | |
}], | |
614: [function(e, t, n) { | |
arguments[4][37][0].apply(n, arguments) | |
}, { | |
"./protos": 615, | |
"./statics": 616, | |
"@ndhoule/clone": 7, | |
"@ndhoule/defaults": 8, | |
"@ndhoule/extend": 13, | |
"component-bind": 825, | |
"debug": 618, | |
"dup": 37, | |
"slug-component": 889 | |
}], | |
615: [function(e, t, n) { | |
arguments[4][38][0].apply(n, arguments) | |
}, { | |
"@ndhoule/after": 5, | |
"@ndhoule/each": 10, | |
"@ndhoule/every": 12, | |
"@ndhoule/foldl": 14, | |
"@segment/fmt": 799, | |
"@segment/load-script": 803, | |
"analytics-events": 617, | |
"component-emitter": 830, | |
"dup": 38, | |
"is": 851, | |
"load-iframe": 860, | |
"next-tick": 867, | |
"to-no-case": 895 | |
}], | |
616: [function(e, t, n) { | |
arguments[4][39][0].apply(n, arguments) | |
}, { | |
"@ndhoule/each": 10, | |
"@ndhoule/includes": 15, | |
"component-emitter": 830, | |
"domify": 842, | |
"dup": 39 | |
}], | |
617: [function(e, t, n) { | |
arguments[4][40][0].apply(n, arguments) | |
}, { | |
"dup": 40 | |
}], | |
618: [function(e, t, n) { | |
arguments[4][41][0].apply(n, arguments) | |
}, { | |
"./debug": 619, | |
"_process": 874, | |
"dup": 41 | |
}], | |
619: [function(e, t, n) { | |
arguments[4][42][0].apply(n, arguments) | |
}, { | |
"dup": 42, | |
"ms": 862 | |
}], | |
620: [function(e, t, n) {; | |
"use strict"; | |
function o(e, t, n) { | |
0 === e.length && n(null, null); | |
for (var o = !1, a = 0, r = null, s = 0; s < e.length; s++) { | |
i(e[s], t, function(t, i) { | |
a++; | |
if (t) r = t; | |
else if (i && i.id && !o) { | |
o = !0; | |
n(null, i) | |
} | |
a !== e.length || o || n(r, null) | |
}) | |
} | |
} | |
function i(e, t, n) { | |
a("https://" + e + "/v1/id/" + t, function(t, o) { | |
t ? n(t, null) : n(null, { | |
domain: e, | |
id: o && o.id || null | |
}) | |
}) | |
} | |
function a(e, t) { | |
var n = new XMLHttpRequest; | |
n.open("GET", e, !0); | |
n.withCredentials = !0; | |
n.onreadystatechange = function() { | |
n.readyState === XMLHttpRequest.DONE && (n.status >= 200 && n.status < 300 ? t(null, n.responseText ? d.parse(n.responseText) : null) : t(n.statusText || "Unknown Error", null)) | |
}; | |
n.send() | |
} | |
function r(e) { | |
return e.split(".").splice(-2).join(".") | |
} | |
var s = e("@segment/ad-params"), | |
c = e("component-clone"), | |
p = e("component-cookie"), | |
u = e("@ndhoule/extend"), | |
l = e("@segment/analytics.js-integration"), | |
d = e("json3"), | |
f = e("@ndhoule/keys"), | |
m = e("yields-store"), | |
h = e("spark-md5").hash, | |
g = e("@segment/protocol"), | |
y = e("@segment/send-json"), | |
b = e("@segment/top-domain"), | |
v = e("@segment/utm-params"), | |
w = e("uuid").v4, | |
k = e("@segment/localstorage-retry"), | |
_ = { | |
maxage: 31536e6, | |
secure: !1, | |
path: "/" | |
}, | |
x = { | |
maxRetryDelay: 36e4, | |
minRetryDelay: 1e3, | |
backoffFactor: 2, | |
maxAttempts: 10, | |
maxItems: 100 | |
}, | |
j = n = t.exports = l("Segment.io").option("apiKey", "").option("apiHost", "api.segment.io/v1").option("crossDomainIdServers", []).option("retryQueue", !1).option("addBundledMetadata", !1).option("unbundledIntegrations", []); | |
n.storage = function() { | |
return "file:" === g() || "chrome-extension:" === g() ? m : p | |
}; | |
n.global = window; | |
n.sendJsonWithTimeout = function(e, t, n, o, i) { | |
function a() { | |
4 === r.readyState && (429 === r.status || r.status >= 500 && r.status < 600 ? i(new Error("HTTP Error " + r.status + " (" + r.statusText + ")")) : i(null, r)) | |
} | |
if ("xhr" === y.type) { | |
var r = new XMLHttpRequest; | |
r.onerror = i; | |
r.onreadystatechange = a; | |
r.open("POST", e, !0); | |
r.timeout = o; | |
r.ontimeout = i; | |
for (var s in n) r.setRequestHeader(s, n[s]); | |
r.send(d.stringify(t)) | |
} else y(e, t, n, i) | |
}; | |
j.prototype.initialize = function() { | |
var e = this; | |
if (this.options.retryQueue) { | |
this._lsqueue = new k("segmentio", x, function(t, n) { | |
t.msg.sentAt = new Date; | |
j.sendJsonWithTimeout(t.url, t.msg, t.headers, 1e4, function(o, i) { | |
e.debug("sent %O, received %O", t.msg, [o, i]); | |
if (o) return n(o); | |
n(null, i) | |
}) | |
}); | |
this._lsqueue.start() | |
} | |
this.ready(); | |
this.analytics.on("invoke", function(t) { | |
var n = t.action(), | |
o = "on" + t.action(); | |
e.debug("%s %o", n, t); | |
e[o] && e[o](t); | |
e.ready() | |
}); | |
if (this.cookie("segment_cross_domain_id")) { | |
this.cookie("seg_xid", this.cookie("segment_cross_domain_id")); | |
this.cookie("seg_xid_fd", this.cookie("segment_cross_domain_id_from_domain")); | |
this.cookie("seg_xid_ts", this.cookie("segment_cross_domain_id_timestamp")); | |
this.cookie("segment_cross_domain_id", null); | |
this.cookie("segment_cross_domain_id_from_domain", null); | |
this.cookie("segment_cross_domain_id_timestamp", null) | |
} | |
this.options.crossDomainIdServers && this.options.crossDomainIdServers.length > 0 && this.retrieveCrossDomainId() | |
}; | |
j.prototype.loaded = function() { | |
return !0 | |
}; | |
j.prototype.onpage = function(e) { | |
this.enqueue("/p", e.json()) | |
}; | |
j.prototype.onidentify = function(e) { | |
this.enqueue("/i", e.json()) | |
}; | |
j.prototype.ongroup = function(e) { | |
this.enqueue("/g", e.json()) | |
}; | |
j.prototype.ontrack = function(e) { | |
var t = e.json(); | |
delete t.traits; | |
this.enqueue("/t", t) | |
}; | |
j.prototype.onalias = function(e) { | |
var t = e.json(), | |
n = this.analytics.user(); | |
t.previousId = t.previousId || t.from || n.id() || n.anonymousId(); | |
t.userId = t.userId || t.to; | |
delete t.from; | |
delete t.to; | |
this.enqueue("/a", t) | |
}; | |
j.prototype.normalize = function(e) { | |
this.debug("normalize %o", e); | |
var t = this.analytics.user(), | |
o = n.global, | |
i = o.location.search, | |
a = e.context = e.context || e.options || {}; | |
delete e.options; | |
e.writeKey = this.options.apiKey; | |
a.userAgent = navigator.userAgent; | |
a.library || (a.library = { | |
name: "analytics.js", | |
version: this.analytics.VERSION | |
}); | |
var r = this.cookie("seg_xid"); | |
r && (a.traits ? a.traits.crossDomainId || (a.traits.crossDomainId = r) : a.traits = { | |
crossDomainId: r | |
}); | |
i && !a.campaign && (a.campaign = v(i)); | |
this.referrerId(i, a); | |
e.userId = e.userId || t.id(); | |
e.anonymousId = t.anonymousId(); | |
e.sentAt = new Date; | |
var s = this.analytics.failedInitializations || []; | |
s.length > 0 && (e._metadata = { | |
failedInitializations: s | |
}); | |
if (this.options.addBundledMetadata) { | |
var c = f(this.analytics.Integrations); | |
e._metadata = e._metadata || {}; | |
e._metadata.bundled = c; | |
e._metadata.unbundled = this.options.unbundledIntegrations | |
} | |
e.messageId = "ajs-" + h(d.stringify(e) + w()); | |
this.debug("normalized %o", e); | |
this.ampId(a); | |
return e | |
}; | |
j.prototype.ampId = function(e) { | |
var t = this.cookie("segment_amp_id"); | |
t && (e.amp = { | |
id: t | |
}) | |
}; | |
j.prototype.enqueue = function(e, t, n) { | |
var o = "https://" + this.options.apiHost + e, | |
i = { | |
"Content-Type": "text/plain" | |
}; | |
t = this.normalize(t); | |
d.stringify(t).length > 32e3 && this.debug("message must be less than 32kb %O", t); | |
this.debug("enqueueing %O", t); | |
var a = this; | |
this.options.retryQueue ? this._lsqueue.addItem({ | |
url: o, | |
headers: i, | |
msg: t | |
}) : y(o, t, i, function(e, o) { | |
a.debug("sent %O, received %O", t, [e, o]); | |
if (n) { | |
if (e) return n(e); | |
n(null, o) | |
} | |
}) | |
}; | |
j.prototype.cookie = function(e, t) { | |
var o = j.storage(); | |
if (1 === arguments.length) return o(e); | |
var i = n.global, | |
a = i.location.href, | |
r = "." + b(a); | |
"." === r && (r = ""); | |
this.debug("store domain %s -> %s", a, r); | |
var s = c(_); | |
s.domain = r; | |
this.debug("store %s, %s, %o", e, t, s); | |
o(e, t, s); | |
if (!o(e)) { | |
delete s.domain; | |
this.debug("fallback store %s, %s, %o", e, t, s); | |
o(e, t, s) | |
} | |
}; | |
j.prototype.referrerId = function(e, t) { | |
var n, o = this.cookie("s:context.referrer"); | |
o && (o = d.parse(o)); | |
e && (n = s(e)); | |
n = n || o; | |
if (n) { | |
t.referrer = u(t.referrer || {}, n); | |
this.cookie("s:context.referrer", d.stringify(n)) | |
} | |
}; | |
j.prototype.retrieveCrossDomainId = function(e) { | |
if (this.options.crossDomainIdServers) { | |
if (!this.cookie("seg_xid")) { | |
for (var t = this, n = this.options.apiKey, i = r(window.location.hostname), a = [], s = 0; s < this.options.crossDomainIdServers.length; s++) { | |
var c = this.options.crossDomainIdServers[s]; | |
r(c) !== i && a.push(c) | |
} | |
o(a, n, function(n, o) { | |
if (n) e && e(n, null); | |
else { | |
var i = null, | |
a = null; | |
if (o) { | |
i = o.id; | |
a = o.domain | |
} else { | |
i = w(); | |
a = window.location.hostname | |
} | |
var r = (new Date).getTime(); | |
t.cookie("seg_xid", i); | |
t.cookie("seg_xid_fd", a); | |
t.cookie("seg_xid_ts", r); | |
t.analytics.identify({ | |
crossDomainId: i | |
}); | |
e && e(null, { | |
crossDomainId: i, | |
fromDomain: a, | |
timestamp: r | |
}) | |
} | |
}) | |
} | |
} else e && e("crossDomainId not enabled", null) | |
}; | |
}, { | |
"@ndhoule/extend": 13, | |
"@ndhoule/keys": 16, | |
"@segment/ad-params": 21, | |
"@segment/analytics.js-integration": 621, | |
"@segment/localstorage-retry": 805, | |
"@segment/protocol": 814, | |
"@segment/send-json": 815, | |
"@segment/top-domain": 818, | |
"@segment/utm-params": 820, | |
"component-clone": 826, | |
"component-cookie": 827, | |
"json3": 856, | |
"spark-md5": 890, | |
"uuid": 907, | |
"yields-store": 908 | |
}], | |
621: [function(e, t, n) { | |
arguments[4][37][0].apply(n, arguments) | |
}, { | |
"./protos": 622, | |
"./statics": 623, | |
"@ndhoule/clone": 7, | |
"@ndhoule/defaults": 8, | |
"@ndhoule/extend": 13, | |
"component-bind": 825, | |
"debug": 625, | |
"dup": 37, | |
"slug-component": 889 | |
}], | |
622: [function(e, t, n) { | |
arguments[4][38][0].apply(n, arguments) | |
}, { | |
"@ndhoule/after": 5, | |
"@ndhoule/each": 10, | |
"@ndhoule/every": 12, | |
"@ndhoule/foldl": 14, | |
"@segment/fmt": 799, | |
"@segment/load-script": 803, | |
"analytics-events": 624, | |
"component-emitter": 830, | |
"dup": 38, | |
"is": 851, | |
"load-iframe": 860, | |
"next-tick": 867, | |
"to-no-case": 895 | |
}], | |
623: [function(e, t, n) { | |
arguments[4][39][0].apply(n, arguments) | |
}, { | |
"@ndhoule/each": 10, | |
"@ndhoule/includes": 15, | |
"component-emitter": 830, | |
"domify": 842, | |
"dup": 39 | |
}], | |
624: [function(e, t, n) { | |
arguments[4][40][0].apply(n, arguments) | |
}, { | |
"dup": 40 | |
}], | |
625: [function(e, t, n) { | |
arguments[4][41][0].apply(n, arguments) | |
}, { | |
"./debug": 626, | |
"_process": 874, | |
"dup": 41 | |
}], | |
626: [function(e, t, n) { | |
arguments[4][42][0].apply(n, arguments) | |
}, { | |
"dup": 42, | |
"ms": 862 | |
}], | |
627: [function(e, t, n) {; | |
var i = e("@segment/analytics.js-integration"); | |
t.exports = function() {}; | |
t.exports.Integration = i("empty"); | |
}, { | |
"@ndhoule/foldl": 14, | |
"@segment/analytics.js-integration": 628, | |
"is": 851 | |
}], | |
628: [function(e, t, n) { | |
arguments[4][37][0].apply(n, arguments) | |
}, { | |
"./protos": 629, | |
"./statics": 630, | |
"@ndhoule/clone": 7, | |
"@ndhoule/defaults": 8, | |
"@ndhoule/extend": 13, | |
"component-bind": 825, | |
"debug": 632, | |
"dup": 37, | |
"slug-component": 889 | |
}], | |
629: [function(e, t, n) { | |
arguments[4][38][0].apply(n, arguments) | |
}, { | |
"@ndhoule/after": 5, | |
"@ndhoule/each": 10, | |
"@ndhoule/every": 12, | |
"@ndhoule/foldl": 14, | |
"@segment/fmt": 799, | |
"@segment/load-script": 803, | |
"analytics-events": 631, | |
"component-emitter": 830, | |
"dup": 38, | |
"is": 851, | |
"load-iframe": 860, | |
"next-tick": 867, | |
"to-no-case": 895 | |
}], | |
630: [function(e, t, n) { | |
arguments[4][39][0].apply(n, arguments) | |
}, { | |
"@ndhoule/each": 10, | |
"@ndhoule/includes": 15, | |
"component-emitter": 830, | |
"domify": 842, | |
"dup": 39 | |
}], | |
631: [function(e, t, n) { | |
arguments[4][40][0].apply(n, arguments) | |
}, { | |
"dup": 40 | |
}], | |
632: [function(e, t, n) { | |
arguments[4][41][0].apply(n, arguments) | |
}, { | |
"./debug": 633, | |
"_process": 874, | |
"dup": 41 | |
}], | |
633: [function(e, t, n) { | |
arguments[4][42][0].apply(n, arguments) | |
}, { | |
"dup": 42, | |
"ms": 862 | |
}], | |
634: [function(e, t, n) {; | |
var a = e("@segment/analytics.js-integration"); | |
t.exports = function() {}; | |
t.exports.Integration = a("empty"); | |
}, { | |
"@segment/analytics.js-integration": 789, | |
"component-each": 828, | |
"segmentio-facade": 883 | |
}], | |
635: [function(e, t, n) {; | |
var i = e("@segment/analytics.js-integration"); | |
t.exports = function() {}; | |
t.exports.Integration = i("empty"); | |
}, { | |
"@ndhoule/defaults": 8, | |
"@segment/analytics.js-integration": 636 | |
}], | |
636: [function(e, t, n) { | |
arguments[4][37][0].apply(n, arguments) | |
}, { | |
"./protos": 637, | |
"./statics": 638, | |
"@ndhoule/clone": 7, | |
"@ndhoule/defaults": 8, | |
"@ndhoule/extend": 13, | |
"component-bind": 825, | |
"debug": 640, | |
"dup": 37, | |
"slug-component": 889 | |
}], | |
637: [function(e, t, n) { | |
arguments[4][38][0].apply(n, arguments) | |
}, { | |
"@ndhoule/after": 5, | |
"@ndhoule/each": 10, | |
"@ndhoule/every": 12, | |
"@ndhoule/foldl": 14, | |
"@segment/fmt": 799, | |
"@segment/load-script": 803, | |
"analytics-events": 639, | |
"component-emitter": 830, | |
"dup": 38, | |
"is": 851, | |
"load-iframe": 860, | |
"next-tick": 867, | |
"to-no-case": 895 | |
}], | |
638: [function(e, t, n) { | |
arguments[4][39][0].apply(n, arguments) | |
}, { | |
"@ndhoule/each": 10, | |
"@ndhoule/includes": 15, | |
"component-emitter": 830, | |
"domify": 842, | |
"dup": 39 | |
}], | |
639: [function(e, t, n) { | |
arguments[4][40][0].apply(n, arguments) | |
}, { | |
"dup": 40 | |
}], | |
640: [function(e, t, n) { | |
arguments[4][41][0].apply(n, arguments) | |
}, { | |
"./debug": 641, | |
"_process": 874, | |
"dup": 41 | |
}], | |
641: [function(e, t, n) { | |
arguments[4][42][0].apply(n, arguments) | |
}, { | |
"dup": 42, | |
"ms": 862 | |
}], | |
642: [function(e, t, n) {; | |
var i = e("@segment/analytics.js-integration"); | |
t.exports = function() {}; | |
t.exports.Integration = i("empty"); | |
}, { | |
"@segment/analytics.js-integration": 643, | |
"component-each": 828 | |
}], | |
643: [function(e, t, n) { | |
arguments[4][37][0].apply(n, arguments) | |
}, { | |
"./protos": 644, | |
"./statics": 645, | |
"@ndhoule/clone": 7, | |
"@ndhoule/defaults": 8, | |
"@ndhoule/extend": 13, | |
"component-bind": 825, | |
"debug": 647, | |
"dup": 37, | |
"slug-component": 889 | |
}], | |
644: [function(e, t, n) { | |
arguments[4][38][0].apply(n, arguments) | |
}, { | |
"@ndhoule/after": 5, | |
"@ndhoule/each": 10, | |
"@ndhoule/every": 12, | |
"@ndhoule/foldl": 14, | |
"@segment/fmt": 799, | |
"@segment/load-script": 803, | |
"analytics-events": 646, | |
"component-emitter": 830, | |
"dup": 38, | |
"is": 851, | |
"load-iframe": 860, | |
"next-tick": 867, | |
"to-no-case": 895 | |
}], | |
645: [function(e, t, n) { | |
arguments[4][39][0].apply(n, arguments) | |
}, { | |
"@ndhoule/each": 10, | |
"@ndhoule/includes": 15, | |
"component-emitter": 830, | |
"domify": 842, | |
"dup": 39 | |
}], | |
646: [function(e, t, n) { | |
arguments[4][40][0].apply(n, arguments) | |
}, { | |
"dup": 40 | |
}], | |
647: [function(e, t, n) { | |
arguments[4][41][0].apply(n, arguments) | |
}, { | |
"./debug": 648, | |
"_process": 874, | |
"dup": 41 | |
}], | |
648: [function(e, t, n) { | |
arguments[4][42][0].apply(n, arguments) | |
}, { | |
"dup": 42, | |
"ms": 862 | |
}], | |
649: [function(e, t, n) {; | |
var o = e("@segment/analytics.js-integration"); | |
t.exports = function() {}; | |
t.exports.Integration = o("empty"); | |
}, { | |
"@segment/analytics.js-integration": 650, | |
"is": 851, | |
"next-tick": 867 | |
}], | |
650: [function(e, t, n) { | |
arguments[4][37][0].apply(n, arguments) | |
}, { | |
"./protos": 651, | |
"./statics": 652, | |
"@ndhoule/clone": 7, | |
"@ndhoule/defaults": 8, | |
"@ndhoule/extend": 13, | |
"component-bind": 825, | |
"debug": 654, | |
"dup": 37, | |
"slug-component": 889 | |
}], | |
651: [function(e, t, n) { | |
arguments[4][38][0].apply(n, arguments) | |
}, { | |
"@ndhoule/after": 5, | |
"@ndhoule/each": 10, | |
"@ndhoule/every": 12, | |
"@ndhoule/foldl": 14, | |
"@segment/fmt": 799, | |
"@segment/load-script": 803, | |
"analytics-events": 653, | |
"component-emitter": 830, | |
"dup": 38, | |
"is": 851, | |
"load-iframe": 860, | |
"next-tick": 867, | |
"to-no-case": 895 | |
}], | |
652: [function(e, t, n) { | |
arguments[4][39][0].apply(n, arguments) | |
}, { | |
"@ndhoule/each": 10, | |
"@ndhoule/includes": 15, | |
"component-emitter": 830, | |
"domify": 842, | |
"dup": 39 | |
}], | |
653: [function(e, t, n) { | |
arguments[4][40][0].apply(n, arguments) | |
}, { | |
"dup": 40 | |
}], | |
654: [function(e, t, n) { | |
arguments[4][41][0].apply(n, arguments) | |
}, { | |
"./debug": 655, | |
"_process": 874, | |
"dup": 41 | |
}], | |
655: [function(e, t, n) { | |
arguments[4][42][0].apply(n, arguments) | |
}, { | |
"dup": 42, | |
"ms": 862 | |
}], | |
656: [function(e, t, n) {; | |
var i = e("@segment/analytics.js-integration"); | |
t.exports = function() {}; | |
t.exports.Integration = i("empty"); | |
}, { | |
"@segment/analytics.js-integration": 657, | |
"component-bind": 825, | |
"do-when": 841 | |
}], | |
657: [function(e, t, n) { | |
arguments[4][37][0].apply(n, arguments) | |
}, { | |
"./protos": 658, | |
"./statics": 659, | |
"@ndhoule/clone": 7, | |
"@ndhoule/defaults": 8, | |
"@ndhoule/extend": 13, | |
"component-bind": 825, | |
"debug": 661, | |
"dup": 37, | |
"slug-component": 889 | |
}], | |
658: [function(e, t, n) { | |
arguments[4][38][0].apply(n, arguments) | |
}, { | |
"@ndhoule/after": 5, | |
"@ndhoule/each": 10, | |
"@ndhoule/every": 12, | |
"@ndhoule/foldl": 14, | |
"@segment/fmt": 799, | |
"@segment/load-script": 803, | |
"analytics-events": 660, | |
"component-emitter": 830, | |
"dup": 38, | |
"is": 851, | |
"load-iframe": 860, | |
"next-tick": 867, | |
"to-no-case": 895 | |
}], | |
659: [function(e, t, n) { | |
arguments[4][39][0].apply(n, arguments) | |
}, { | |
"@ndhoule/each": 10, | |
"@ndhoule/includes": 15, | |
"component-emitter": 830, | |
"domify": 842, | |
"dup": 39 | |
}], | |
660: [function(e, t, n) { | |
arguments[4][40][0].apply(n, arguments) | |
}, { | |
"dup": 40 | |
}], | |
661: [function(e, t, n) { | |
arguments[4][41][0].apply(n, arguments) | |
}, { | |
"./debug": 662, | |
"_process": 874, | |
"dup": 41 | |
}], | |
662: [function(e, t, n) { | |
arguments[4][42][0].apply(n, arguments) | |
}, { | |
"dup": 42, | |
"ms": 862 | |
}], | |
663: [function(e, t, n) {; | |
var i = e("@segment/analytics.js-integration"); | |
t.exports = function() {}; | |
t.exports.Integration = i("empty"); | |
}, { | |
"@ndhoule/foldl": 14, | |
"@segment/analytics.js-integration": 664, | |
"component-each": 828, | |
"segmentio-facade": 883 | |
}], | |
664: [function(e, t, n) { | |
arguments[4][37][0].apply(n, arguments) | |
}, { | |
"./protos": 665, | |
"./statics": 666, | |
"@ndhoule/clone": 7, | |
"@ndhoule/defaults": 8, | |
"@ndhoule/extend": 13, | |
"component-bind": 825, | |
"debug": 668, | |
"dup": 37, | |
"slug-component": 889 | |
}], | |
665: [function(e, t, n) { | |
arguments[4][38][0].apply(n, arguments) | |
}, { | |
"@ndhoule/after": 5, | |
"@ndhoule/each": 10, | |
"@ndhoule/every": 12, | |
"@ndhoule/foldl": 14, | |
"@segment/fmt": 799, | |
"@segment/load-script": 803, | |
"analytics-events": 667, | |
"component-emitter": 830, | |
"dup": 38, | |
"is": 851, | |
"load-iframe": 860, | |
"next-tick": 867, | |
"to-no-case": 895 | |
}], | |
666: [function(e, t, n) { | |
arguments[4][39][0].apply(n, arguments) | |
}, { | |
"@ndhoule/each": 10, | |
"@ndhoule/includes": 15, | |
"component-emitter": 830, | |
"domify": 842, | |
"dup": 39 | |
}], | |
667: [function(e, t, n) { | |
arguments[4][40][0].apply(n, arguments) | |
}, { | |
"dup": 40 | |
}], | |
668: [function(e, t, n) { | |
arguments[4][41][0].apply(n, arguments) | |
}, { | |
"./debug": 669, | |
"_process": 874, | |
"dup": 41 | |
}], | |
669: [function(e, t, n) { | |
arguments[4][42][0].apply(n, arguments) | |
}, { | |
"dup": 42, | |
"ms": 862 | |
}], | |
670: [function(e, t, n) {; | |
var o = e("@segment/analytics.js-integration"); | |
t.exports = function() {}; | |
t.exports.Integration = o("empty"); | |
}, { | |
"@segment/analytics.js-integration": 789, | |
"do-when": 841 | |
}], | |
671: [function(e, t, n) {; | |
var o = e("@segment/analytics.js-integration"); | |
t.exports = function() {}; | |
t.exports.Integration = o("empty"); | |
}, { | |
"@segment/analytics.js-integration": 672 | |
}], | |
672: [function(e, t, n) { | |
arguments[4][37][0].apply(n, arguments) | |
}, { | |
"./protos": 673, | |
"./statics": 674, | |
"@ndhoule/clone": 7, | |
"@ndhoule/defaults": 8, | |
"@ndhoule/extend": 13, | |
"component-bind": 825, | |
"debug": 676, | |
"dup": 37, | |
"slug-component": 889 | |
}], | |
673: [function(e, t, n) { | |
arguments[4][38][0].apply(n, arguments) | |
}, { | |
"@ndhoule/after": 5, | |
"@ndhoule/each": 10, | |
"@ndhoule/every": 12, | |
"@ndhoule/foldl": 14, | |
"@segment/fmt": 799, | |
"@segment/load-script": 803, | |
"analytics-events": 675, | |
"component-emitter": 830, | |
"dup": 38, | |
"is": 851, | |
"load-iframe": 860, | |
"next-tick": 867, | |
"to-no-case": 895 | |
}], | |
674: [function(e, t, n) { | |
arguments[4][39][0].apply(n, arguments) | |
}, { | |
"@ndhoule/each": 10, | |
"@ndhoule/includes": 15, | |
"component-emitter": 830, | |
"domify": 842, | |
"dup": 39 | |
}], | |
675: [function(e, t, n) { | |
arguments[4][40][0].apply(n, arguments) | |
}, { | |
"dup": 40 | |
}], | |
676: [function(e, t, n) { | |
arguments[4][41][0].apply(n, arguments) | |
}, { | |
"./debug": 677, | |
"_process": 874, | |
"dup": 41 | |
}], | |
677: [function(e, t, n) { | |
arguments[4][42][0].apply(n, arguments) | |
}, { | |
"dup": 42, | |
"ms": 862 | |
}], | |
678: [function(e, t, n) {; | |
var a = e("@segment/analytics.js-integration"); | |
t.exports = function() {}; | |
t.exports.Integration = a("empty"); | |
}, { | |
"@segment/analytics.js-integration": 789 | |
}], | |
679: [function(e, t, n) {; | |
var o = e("@segment/analytics.js-integration"); | |
t.exports = function() {}; | |
t.exports.Integration = o("empty"); | |
}, { | |
"@ndhoule/keys": 16, | |
"@segment/analytics.js-integration": 680, | |
"global-queue": 844, | |
"is": 851 | |
}], | |
680: [function(e, t, n) { | |
arguments[4][37][0].apply(n, arguments) | |
}, { | |
"./protos": 681, | |
"./statics": 682, | |
"@ndhoule/clone": 7, | |
"@ndhoule/defaults": 8, | |
"@ndhoule/extend": 13, | |
"component-bind": 825, | |
"debug": 684, | |
"dup": 37, | |
"slug-component": 889 | |
}], | |
681: [function(e, t, n) { | |
arguments[4][38][0].apply(n, arguments) | |
}, { | |
"@ndhoule/after": 5, | |
"@ndhoule/each": 10, | |
"@ndhoule/every": 12, | |
"@ndhoule/foldl": 14, | |
"@segment/fmt": 799, | |
"@segment/load-script": 803, | |
"analytics-events": 683, | |
"component-emitter": 830, | |
"dup": 38, | |
"is": 851, | |
"load-iframe": 860, | |
"next-tick": 867, | |
"to-no-case": 895 | |
}], | |
682: [function(e, t, n) { | |
arguments[4][39][0].apply(n, arguments) | |
}, { | |
"@ndhoule/each": 10, | |
"@ndhoule/includes": 15, | |
"component-emitter": 830, | |
"domify": 842, | |
"dup": 39 | |
}], | |
683: [function(e, t, n) { | |
arguments[4][40][0].apply(n, arguments) | |
}, { | |
"dup": 40 | |
}], | |
684: [function(e, t, n) { | |
arguments[4][41][0].apply(n, arguments) | |
}, { | |
"./debug": 685, | |
"_process": 874, | |
"dup": 41 | |
}], | |
685: [function(e, t, n) { | |
arguments[4][42][0].apply(n, arguments) | |
}, { | |
"dup": 42, | |
"ms": 862 | |
}], | |
686: [function(e, t, n) {; | |
var o = e("@segment/analytics.js-integration"); | |
t.exports = function() {}; | |
t.exports.Integration = o("empty"); | |
}, { | |
"@segment/analytics.js-integration": 687, | |
"global-queue": 844, | |
"slug-component": 889 | |
}], | |
687: [function(e, t, n) { | |
arguments[4][37][0].apply(n, arguments) | |
}, { | |
"./protos": 688, | |
"./statics": 689, | |
"@ndhoule/clone": 7, | |
"@ndhoule/defaults": 8, | |
"@ndhoule/extend": 13, | |
"component-bind": 825, | |
"debug": 691, | |
"dup": 37, | |
"slug-component": 889 | |
}], | |
688: [function(e, t, n) { | |
arguments[4][38][0].apply(n, arguments) | |
}, { | |
"@ndhoule/after": 5, | |
"@ndhoule/each": 10, | |
"@ndhoule/every": 12, | |
"@ndhoule/foldl": 14, | |
"@segment/fmt": 799, | |
"@segment/load-script": 803, | |
"analytics-events": 690, | |
"component-emitter": 830, | |
"dup": 38, | |
"is": 851, | |
"load-iframe": 860, | |
"next-tick": 867, | |
"to-no-case": 895 | |
}], | |
689: [function(e, t, n) { | |
arguments[4][39][0].apply(n, arguments) | |
}, { | |
"@ndhoule/each": 10, | |
"@ndhoule/includes": 15, | |
"component-emitter": 830, | |
"domify": 842, | |
"dup": 39 | |
}], | |
690: [function(e, t, n) { | |
arguments[4][40][0].apply(n, arguments) | |
}, { | |
"dup": 40 | |
}], | |
691: [function(e, t, n) { | |
arguments[4][41][0].apply(n, arguments) | |
}, { | |
"./debug": 692, | |
"_process": 874, | |
"dup": 41 | |
}], | |
692: [function(e, t, n) { | |
arguments[4][42][0].apply(n, arguments) | |
}, { | |
"dup": 42, | |
"ms": 862 | |
}], | |
693: [function(e, t, n) {; | |
var s = e("@segment/analytics.js-integration"); | |
t.exports = function() {}; | |
t.exports.Integration = s("empty"); | |
}, { | |
"@segment/analytics.js-integration": 789, | |
"component-each": 828, | |
"segmentio-facade": 883, | |
"use-https": 904 | |
}], | |
694: [function(e, t, n) {; | |
var r = e("@segment/analytics.js-integration"); | |
t.exports = function() {}; | |
t.exports.Integration = r("empty"); | |
}, { | |
"@ndhoule/extend": 13, | |
"@segment/analytics.js-integration": 695, | |
"@segment/convert-dates": 798, | |
"@segment/to-iso-string": 817, | |
"segmentio-facade": 883 | |
}], | |
695: [function(e, t, n) { | |
arguments[4][37][0].apply(n, arguments) | |
}, { | |
"./protos": 696, | |
"./statics": 697, | |
"@ndhoule/clone": 7, | |
"@ndhoule/defaults": 8, | |
"@ndhoule/extend": 13, | |
"component-bind": 825, | |
"debug": 699, | |
"dup": 37, | |
"slug-component": 889 | |
}], | |
696: [function(e, t, n) { | |
arguments[4][38][0].apply(n, arguments) | |
}, { | |
"@ndhoule/after": 5, | |
"@ndhoule/each": 10, | |
"@ndhoule/every": 12, | |
"@ndhoule/foldl": 14, | |
"@segment/fmt": 799, | |
"@segment/load-script": 803, | |
"analytics-events": 698, | |
"component-emitter": 830, | |
"dup": 38, | |
"is": 851, | |
"load-iframe": 860, | |
"next-tick": 867, | |
"to-no-case": 895 | |
}], | |
697: [function(e, t, n) { | |
arguments[4][39][0].apply(n, arguments) | |
}, { | |
"@ndhoule/each": 10, | |
"@ndhoule/includes": 15, | |
"component-emitter": 830, | |
"domify": 842, | |
"dup": 39 | |
}], | |
698: [function(e, t, n) { | |
arguments[4][40][0].apply(n, arguments) | |
}, { | |
"dup": 40 | |
}], | |
699: [function(e, t, n) { | |
arguments[4][41][0].apply(n, arguments) | |
}, { | |
"./debug": 700, | |
"_process": 874, | |
"dup": 41 | |
}], | |
700: [function(e, t, n) { | |
arguments[4][42][0].apply(n, arguments) | |
}, { | |
"dup": 42, | |
"ms": 862 | |
}], | |
701: [function(e, t, n) {; | |
var i = e("@segment/analytics.js-integration"); | |
t.exports = function() {}; | |
t.exports.Integration = i("empty"); | |
}, { | |
"@ndhoule/defaults": 8, | |
"@segment/analytics.js-integration": 702, | |
"is": 851 | |
}], | |
702: [function(e, t, n) { | |
arguments[4][37][0].apply(n, arguments) | |
}, { | |
"./protos": 703, | |
"./statics": 704, | |
"@ndhoule/clone": 7, | |
"@ndhoule/defaults": 8, | |
"@ndhoule/extend": 13, | |
"component-bind": 825, | |
"debug": 706, | |
"dup": 37, | |
"slug-component": 889 | |
}], | |
703: [function(e, t, n) { | |
arguments[4][38][0].apply(n, arguments) | |
}, { | |
"@ndhoule/after": 5, | |
"@ndhoule/each": 10, | |
"@ndhoule/every": 12, | |
"@ndhoule/foldl": 14, | |
"@segment/fmt": 799, | |
"@segment/load-script": 803, | |
"analytics-events": 705, | |
"component-emitter": 830, | |
"dup": 38, | |
"is": 851, | |
"load-iframe": 860, | |
"next-tick": 867, | |
"to-no-case": 895 | |
}], | |
704: [function(e, t, n) { | |
arguments[4][39][0].apply(n, arguments) | |
}, { | |
"@ndhoule/each": 10, | |
"@ndhoule/includes": 15, | |
"component-emitter": 830, | |
"domify": 842, | |
"dup": 39 | |
}], | |
705: [function(e, t, n) { | |
arguments[4][40][0].apply(n, arguments) | |
}, { | |
"dup": 40 | |
}], | |
706: [function(e, t, n) { | |
arguments[4][41][0].apply(n, arguments) | |
}, { | |
"./debug": 707, | |
"_process": 874, | |
"dup": 41 | |
}], | |
707: [function(e, t, n) { | |
arguments[4][42][0].apply(n, arguments) | |
}, { | |
"dup": 42, | |
"ms": 862 | |
}], | |
708: [function(e, t, n) {; | |
var i = e("@segment/analytics.js-integration"); | |
t.exports = function() {}; | |
t.exports.Integration = i("empty"); | |
}, { | |
"@segment/analytics.js-integration": 709, | |
"json3": 856, | |
"use-https": 904 | |
}], | |
709: [function(e, t, n) { | |
arguments[4][37][0].apply(n, arguments) | |
}, { | |
"./protos": 710, | |
"./statics": 711, | |
"@ndhoule/clone": 7, | |
"@ndhoule/defaults": 8, | |
"@ndhoule/extend": 13, | |
"component-bind": 825, | |
"debug": 713, | |
"dup": 37, | |
"slug-component": 889 | |
}], | |
710: [function(e, t, n) { | |
arguments[4][38][0].apply(n, arguments) | |
}, { | |
"@ndhoule/after": 5, | |
"@ndhoule/each": 10, | |
"@ndhoule/every": 12, | |
"@ndhoule/foldl": 14, | |
"@segment/fmt": 799, | |
"@segment/load-script": 803, | |
"analytics-events": 712, | |
"component-emitter": 830, | |
"dup": 38, | |
"is": 851, | |
"load-iframe": 860, | |
"next-tick": 867, | |
"to-no-case": 895 | |
}], | |
711: [function(e, t, n) { | |
arguments[4][39][0].apply(n, arguments) | |
}, { | |
"@ndhoule/each": 10, | |
"@ndhoule/includes": 15, | |
"component-emitter": 830, | |
"domify": 842, | |
"dup": 39 | |
}], | |
712: [function(e, t, n) { | |
arguments[4][40][0].apply(n, arguments) | |
}, { | |
"dup": 40 | |
}], | |
713: [function(e, t, n) { | |
arguments[4][41][0].apply(n, arguments) | |
}, { | |
"./debug": 714, | |
"_process": 874, | |
"dup": 41 | |
}], | |
714: [function(e, t, n) { | |
arguments[4][42][0].apply(n, arguments) | |
}, { | |
"dup": 42, | |
"ms": 862 | |
}], | |
715: [function(e, t, n) {; | |
var i = e("@segment/analytics.js-integration"); | |
t.exports = function() {}; | |
t.exports.Integration = i("empty"); | |
}, { | |
"@ndhoule/defaults": 8, | |
"@ndhoule/extend": 13, | |
"@ndhoule/foldl": 14, | |
"@segment/analytics.js-integration": 789, | |
"component-each": 828, | |
"obj-case": 868, | |
"segmentio-facade": 883 | |
}], | |
716: [function(e, t, n) {; | |
var a = e("@segment/analytics.js-integration"); | |
t.exports = function() {}; | |
t.exports.Integration = a("empty"); | |
}, { | |
"@segment/analytics.js-integration": 717, | |
"component-clone": 826, | |
"segmentio-facade": 883 | |
}], | |
717: [function(e, t, n) { | |
arguments[4][37][0].apply(n, arguments) | |
}, { | |
"./protos": 718, | |
"./statics": 719, | |
"@ndhoule/clone": 7, | |
"@ndhoule/defaults": 8, | |
"@ndhoule/extend": 13, | |
"component-bind": 825, | |
"debug": 721, | |
"dup": 37, | |
"slug-component": 889 | |
}], | |
718: [function(e, t, n) { | |
arguments[4][38][0].apply(n, arguments) | |
}, { | |
"@ndhoule/after": 5, | |
"@ndhoule/each": 10, | |
"@ndhoule/every": 12, | |
"@ndhoule/foldl": 14, | |
"@segment/fmt": 799, | |
"@segment/load-script": 803, | |
"analytics-events": 720, | |
"component-emitter": 830, | |
"dup": 38, | |
"is": 851, | |
"load-iframe": 860, | |
"next-tick": 867, | |
"to-no-case": 895 | |
}], | |
719: [function(e, t, n) { | |
arguments[4][39][0].apply(n, arguments) | |
}, { | |
"@ndhoule/each": 10, | |
"@ndhoule/includes": 15, | |
"component-emitter": 830, | |
"domify": 842, | |
"dup": 39 | |
}], | |
720: [function(e, t, n) { | |
arguments[4][40][0].apply(n, arguments) | |
}, { | |
"dup": 40 | |
}], | |
721: [function(e, t, n) { | |
arguments[4][41][0].apply(n, arguments) | |
}, { | |
"./debug": 722, | |
"_process": 874, | |
"dup": 41 | |
}], | |
722: [function(e, t, n) { | |
arguments[4][42][0].apply(n, arguments) | |
}, { | |
"dup": 42, | |
"ms": 862 | |
}], | |
723: [function(e, t, n) {; | |
var c = e("@segment/analytics.js-integration"); | |
t.exports = function() {}; | |
t.exports.Integration = c("empty"); | |
}, { | |
"@segment/alias": 22, | |
"@segment/analytics.js-integration": 724, | |
"@segment/convert-dates": 798, | |
"global-queue": 844, | |
"to-unix-timestamp": 899 | |
}], | |
724: [function(e, t, n) { | |
arguments[4][37][0].apply(n, arguments) | |
}, { | |
"./protos": 725, | |
"./statics": 726, | |
"@ndhoule/clone": 7, | |
"@ndhoule/defaults": 8, | |
"@ndhoule/extend": 13, | |
"component-bind": 825, | |
"debug": 728, | |
"dup": 37, | |
"slug-component": 889 | |
}], | |
725: [function(e, t, n) { | |
arguments[4][38][0].apply(n, arguments) | |
}, { | |
"@ndhoule/after": 5, | |
"@ndhoule/each": 10, | |
"@ndhoule/every": 12, | |
"@ndhoule/foldl": 14, | |
"@segment/fmt": 799, | |
"@segment/load-script": 803, | |
"analytics-events": 727, | |
"component-emitter": 830, | |
"dup": 38, | |
"is": 851, | |
"load-iframe": 860, | |
"next-tick": 867, | |
"to-no-case": 895 | |
}], | |
726: [function(e, t, n) { | |
arguments[4][39][0].apply(n, arguments) | |
}, { | |
"@ndhoule/each": 10, | |
"@ndhoule/includes": 15, | |
"component-emitter": 830, | |
"domify": 842, | |
"dup": 39 | |
}], | |
727: [function(e, t, n) { | |
arguments[4][40][0].apply(n, arguments) | |
}, { | |
"dup": 40 | |
}], | |
728: [function(e, t, n) { | |
arguments[4][41][0].apply(n, arguments) | |
}, { | |
"./debug": 729, | |
"_process": 874, | |
"dup": 41 | |
}], | |
729: [function(e, t, n) { | |
arguments[4][42][0].apply(n, arguments) | |
}, { | |
"dup": 42, | |
"ms": 862 | |
}], | |
730: [function(e, t, n) {; | |
var i = e("@segment/analytics.js-integration"); | |
t.exports = function() {}; | |
t.exports.Integration = i("empty"); | |
}, { | |
"@segment/analytics.js-integration": 731, | |
"component-cookie": 827, | |
"global-queue": 844 | |
}], | |
731: [function(e, t, n) { | |
arguments[4][37][0].apply(n, arguments) | |
}, { | |
"./protos": 732, | |
"./statics": 733, | |
"@ndhoule/clone": 7, | |
"@ndhoule/defaults": 8, | |
"@ndhoule/extend": 13, | |
"component-bind": 825, | |
"debug": 735, | |
"dup": 37, | |
"slug-component": 889 | |
}], | |
732: [function(e, t, n) { | |
arguments[4][38][0].apply(n, arguments) | |
}, { | |
"@ndhoule/after": 5, | |
"@ndhoule/each": 10, | |
"@ndhoule/every": 12, | |
"@ndhoule/foldl": 14, | |
"@segment/fmt": 799, | |
"@segment/load-script": 803, | |
"analytics-events": 734, | |
"component-emitter": 830, | |
"dup": 38, | |
"is": 851, | |
"load-iframe": 860, | |
"next-tick": 867, | |
"to-no-case": 895 | |
}], | |
733: [function(e, t, n) { | |
arguments[4][39][0].apply(n, arguments) | |
}, { | |
"@ndhoule/each": 10, | |
"@ndhoule/includes": 15, | |
"component-emitter": 830, | |
"domify": 842, | |
"dup": 39 | |
}], | |
734: [function(e, t, n) { | |
arguments[4][40][0].apply(n, arguments) | |
}, { | |
"dup": 40 | |
}], | |
735: [function(e, t, n) { | |
arguments[4][41][0].apply(n, arguments) | |
}, { | |
"./debug": 736, | |
"_process": 874, | |
"dup": 41 | |
}], | |
736: [function(e, t, n) { | |
arguments[4][42][0].apply(n, arguments) | |
}, { | |
"dup": 42, | |
"ms": 862 | |
}], | |
737: [function(e, t, n) {; | |
var c = e("@segment/analytics.js-integration"); | |
t.exports = function() {}; | |
t.exports.Integration = c("empty"); | |
}, { | |
"@segment/analytics.js-integration": 789, | |
"component-each": 828, | |
"next-tick": 867 | |
}], | |
738: [function(e, t, n) {; | |
var a = e("@segment/analytics.js-integration"); | |
t.exports = function() {}; | |
t.exports.Integration = a("empty"); | |
}, { | |
"@segment/analytics.js-integration": 739, | |
"obj-case": 868, | |
"use-https": 904 | |
}], | |
739: [function(e, t, n) { | |
arguments[4][37][0].apply(n, arguments) | |
}, { | |
"./protos": 740, | |
"./statics": 741, | |
"@ndhoule/clone": 7, | |
"@ndhoule/defaults": 8, | |
"@ndhoule/extend": 13, | |
"component-bind": 825, | |
"debug": 743, | |
"dup": 37, | |
"slug-component": 889 | |
}], | |
740: [function(e, t, n) { | |
arguments[4][38][0].apply(n, arguments) | |
}, { | |
"@ndhoule/after": 5, | |
"@ndhoule/each": 10, | |
"@ndhoule/every": 12, | |
"@ndhoule/foldl": 14, | |
"@segment/fmt": 799, | |
"@segment/load-script": 803, | |
"analytics-events": 742, | |
"component-emitter": 830, | |
"dup": 38, | |
"is": 851, | |
"load-iframe": 860, | |
"next-tick": 867, | |
"to-no-case": 895 | |
}], | |
741: [function(e, t, n) { | |
arguments[4][39][0].apply(n, arguments) | |
}, { | |
"@ndhoule/each": 10, | |
"@ndhoule/includes": 15, | |
"component-emitter": 830, | |
"domify": 842, | |
"dup": 39 | |
}], | |
742: [function(e, t, n) { | |
arguments[4][40][0].apply(n, arguments) | |
}, { | |
"dup": 40 | |
}], | |
743: [function(e, t, n) { | |
arguments[4][41][0].apply(n, arguments) | |
}, { | |
"./debug": 744, | |
"_process": 874, | |
"dup": 41 | |
}], | |
744: [function(e, t, n) { | |
arguments[4][42][0].apply(n, arguments) | |
}, { | |
"dup": 42, | |
"ms": 862 | |
}], | |
745: [function(e, t, n) {; | |
var o = e("@segment/analytics.js-integration"); | |
t.exports = function() {}; | |
t.exports.Integration = o("empty"); | |
}, { | |
"@segment/analytics.js-integration": 789, | |
"do-when": 841, | |
"reject": 875 | |
}], | |
746: [function(e, t, n) {; | |
var o = e("@segment/analytics.js-integration"); | |
t.exports = function() {}; | |
t.exports.Integration = o("empty"); | |
}, { | |
"@segment/analytics.js-integration": 747 | |
}], | |
747: [function(e, t, n) { | |
arguments[4][37][0].apply(n, arguments) | |
}, { | |
"./protos": 748, | |
"./statics": 749, | |
"@ndhoule/clone": 7, | |
"@ndhoule/defaults": 8, | |
"@ndhoule/extend": 13, | |
"component-bind": 825, | |
"debug": 751, | |
"dup": 37, | |
"slug-component": 889 | |
}], | |
748: [function(e, t, n) { | |
arguments[4][38][0].apply(n, arguments) | |
}, { | |
"@ndhoule/after": 5, | |
"@ndhoule/each": 10, | |
"@ndhoule/every": 12, | |
"@ndhoule/foldl": 14, | |
"@segment/fmt": 799, | |
"@segment/load-script": 803, | |
"analytics-events": 750, | |
"component-emitter": 830, | |
"dup": 38, | |
"is": 851, | |
"load-iframe": 860, | |
"next-tick": 867, | |
"to-no-case": 895 | |
}], | |
749: [function(e, t, n) { | |
arguments[4][39][0].apply(n, arguments) | |
}, { | |
"@ndhoule/each": 10, | |
"@ndhoule/includes": 15, | |
"component-emitter": 830, | |
"domify": 842, | |
"dup": 39 | |
}], | |
750: [function(e, t, n) { | |
arguments[4][40][0].apply(n, arguments) | |
}, { | |
"dup": 40 | |
}], | |
751: [function(e, t, n) { | |
arguments[4][41][0].apply(n, arguments) | |
}, { | |
"./debug": 752, | |
"_process": 874, | |
"dup": 41 | |
}], | |
752: [function(e, t, n) { | |
arguments[4][42][0].apply(n, arguments) | |
}, { | |
"dup": 42, | |
"ms": 862 | |
}], | |
753: [function(e, t, n) {; | |
var a = e("@segment/analytics.js-integration"); | |
t.exports = function() {}; | |
t.exports.Integration = a("empty"); | |
}, { | |
"@ndhoule/foldl": 14, | |
"@segment/analytics.js-integration": 754, | |
"component-each": 828, | |
"is": 851, | |
"isostring": 854, | |
"json3": 856, | |
"to-snake-case": 896, | |
"unix-time": 903 | |
}], | |
754: [function(e, t, n) { | |
arguments[4][37][0].apply(n, arguments) | |
}, { | |
"./protos": 755, | |
"./statics": 756, | |
"@ndhoule/clone": 7, | |
"@ndhoule/defaults": 8, | |
"@ndhoule/extend": 13, | |
"component-bind": 825, | |
"debug": 758, | |
"dup": 37, | |
"slug-component": 889 | |
}], | |
755: [function(e, t, n) { | |
arguments[4][38][0].apply(n, arguments) | |
}, { | |
"@ndhoule/after": 5, | |
"@ndhoule/each": 10, | |
"@ndhoule/every": 12, | |
"@ndhoule/foldl": 14, | |
"@segment/fmt": 799, | |
"@segment/load-script": 803, | |
"analytics-events": 757, | |
"component-emitter": 830, | |
"dup": 38, | |
"is": 851, | |
"load-iframe": 860, | |
"next-tick": 867, | |
"to-no-case": 895 | |
}], | |
756: [function(e, t, n) { | |
arguments[4][39][0].apply(n, arguments) | |
}, { | |
"@ndhoule/each": 10, | |
"@ndhoule/includes": 15, | |
"component-emitter": 830, | |
"domify": 842, | |
"dup": 39 | |
}], | |
757: [function(e, t, n) { | |
arguments[4][40][0].apply(n, arguments) | |
}, { | |
"dup": 40 | |
}], | |
758: [function(e, t, n) { | |
arguments[4][41][0].apply(n, arguments) | |
}, { | |
"./debug": 759, | |
"_process": 874, | |
"dup": 41 | |
}], | |
759: [function(e, t, n) { | |
arguments[4][42][0].apply(n, arguments) | |
}, { | |
"dup": 42, | |
"ms": 862 | |
}], | |
760: [function(e, t, n) {; | |
var c = e("@segment/analytics.js-integration"); | |
t.exports = function() {}; | |
t.exports.Integration = c("empty"); | |
}, { | |
"@ndhoule/foldl": 14, | |
"@segment/analytics.js-integration": 761, | |
"is": 851, | |
"omit": 870 | |
}], | |
761: [function(e, t, n) { | |
arguments[4][37][0].apply(n, arguments) | |
}, { | |
"./protos": 762, | |
"./statics": 763, | |
"@ndhoule/clone": 7, | |
"@ndhoule/defaults": 8, | |
"@ndhoule/extend": 13, | |
"component-bind": 825, | |
"debug": 765, | |
"dup": 37, | |
"slug-component": 889 | |
}], | |
762: [function(e, t, n) { | |
arguments[4][38][0].apply(n, arguments) | |
}, { | |
"@ndhoule/after": 5, | |
"@ndhoule/each": 10, | |
"@ndhoule/every": 12, | |
"@ndhoule/foldl": 14, | |
"@segment/fmt": 799, | |
"@segment/load-script": 803, | |
"analytics-events": 764, | |
"component-emitter": 830, | |
"dup": 38, | |
"is": 851, | |
"load-iframe": 860, | |
"next-tick": 867, | |
"to-no-case": 895 | |
}], | |
763: [function(e, t, n) { | |
arguments[4][39][0].apply(n, arguments) | |
}, { | |
"@ndhoule/each": 10, | |
"@ndhoule/includes": 15, | |
"component-emitter": 830, | |
"domify": 842, | |
"dup": 39 | |
}], | |
764: [function(e, t, n) { | |
arguments[4][40][0].apply(n, arguments) | |
}, { | |
"dup": 40 | |
}], | |
765: [function(e, t, n) { | |
arguments[4][41][0].apply(n, arguments) | |
}, { | |
"./debug": 766, | |
"_process": 874, | |
"dup": 41 | |
}], | |
766: [function(e, t, n) { | |
arguments[4][42][0].apply(n, arguments) | |
}, { | |
"dup": 42, | |
"ms": 862 | |
}], | |
767: [function(e, t, n) {; | |
var a = e("@segment/analytics.js-integration"); | |
t.exports = function() {}; | |
t.exports.Integration = a("empty"); | |
}, { | |
"@segment/analytics.js-integration": 768, | |
"component-bind": 825, | |
"do-when": 841, | |
"next-tick": 867 | |
}], | |
768: [function(e, t, n) { | |
arguments[4][37][0].apply(n, arguments) | |
}, { | |
"./protos": 769, | |
"./statics": 770, | |
"@ndhoule/clone": 7, | |
"@ndhoule/defaults": 8, | |
"@ndhoule/extend": 13, | |
"component-bind": 825, | |
"debug": 772, | |
"dup": 37, | |
"slug-component": 889 | |
}], | |
769: [function(e, t, n) { | |
arguments[4][38][0].apply(n, arguments) | |
}, { | |
"@ndhoule/after": 5, | |
"@ndhoule/each": 10, | |
"@ndhoule/every": 12, | |
"@ndhoule/foldl": 14, | |
"@segment/fmt": 799, | |
"@segment/load-script": 803, | |
"analytics-events": 771, | |
"component-emitter": 830, | |
"dup": 38, | |
"is": 851, | |
"load-iframe": 860, | |
"next-tick": 867, | |
"to-no-case": 895 | |
}], | |
770: [function(e, t, n) { | |
arguments[4][39][0].apply(n, arguments) | |
}, { | |
"@ndhoule/each": 10, | |
"@ndhoule/includes": 15, | |
"component-emitter": 830, | |
"domify": 842, | |
"dup": 39 | |
}], | |
771: [function(e, t, n) { | |
arguments[4][40][0].apply(n, arguments) | |
}, { | |
"dup": 40 | |
}], | |
772: [function(e, t, n) { | |
arguments[4][41][0].apply(n, arguments) | |
}, { | |
"./debug": 773, | |
"_process": 874, | |
"dup": 41 | |
}], | |
773: [function(e, t, n) { | |
arguments[4][42][0].apply(n, arguments) | |
}, { | |
"dup": 42, | |
"ms": 862 | |
}], | |
774: [function(e, t, n) {; | |
var o = e("@segment/analytics.js-integration"); | |
t.exports = function() {}; | |
t.exports.Integration = o("empty"); | |
}, { | |
"@ndhoule/each": 10, | |
"@segment/analytics.js-integration": 775, | |
"to-no-case": 895 | |
}], | |
775: [function(e, t, n) { | |
arguments[4][37][0].apply(n, arguments) | |
}, { | |
"./protos": 776, | |
"./statics": 777, | |
"@ndhoule/clone": 7, | |
"@ndhoule/defaults": 8, | |
"@ndhoule/extend": 13, | |
"component-bind": 825, | |
"debug": 779, | |
"dup": 37, | |
"slug-component": 889 | |
}], | |
776: [function(e, t, n) { | |
arguments[4][38][0].apply(n, arguments) | |
}, { | |
"@ndhoule/after": 5, | |
"@ndhoule/each": 10, | |
"@ndhoule/every": 12, | |
"@ndhoule/foldl": 14, | |
"@segment/fmt": 799, | |
"@segment/load-script": 803, | |
"analytics-events": 778, | |
"component-emitter": 830, | |
"dup": 38, | |
"is": 851, | |
"load-iframe": 860, | |
"next-tick": 867, | |
"to-no-case": 895 | |
}], | |
777: [function(e, t, n) { | |
arguments[4][39][0].apply(n, arguments) | |
}, { | |
"@ndhoule/each": 10, | |
"@ndhoule/includes": 15, | |
"component-emitter": 830, | |
"domify": 842, | |
"dup": 39 | |
}], | |
778: [function(e, t, n) { | |
arguments[4][40][0].apply(n, arguments) | |
}, { | |
"dup": 40 | |
}], | |
779: [function(e, t, n) { | |
arguments[4][41][0].apply(n, arguments) | |
}, { | |
"./debug": 780, | |
"_process": 874, | |
"dup": 41 | |
}], | |
780: [function(e, t, n) { | |
arguments[4][42][0].apply(n, arguments) | |
}, { | |
"dup": 42, | |
"ms": 862 | |
}], | |
781: [function(e, t, n) {; | |
var o = e("@segment/analytics.js-integration"); | |
t.exports = function() {}; | |
t.exports.Integration = o("empty"); | |
}, { | |
"@segment/analytics.js-integration": 789, | |
"extend": 843, | |
"reject": 875 | |
}], | |
782: [function(e, t, n) {; | |
var i = e("@segment/analytics.js-integration"); | |
t.exports = function() {}; | |
t.exports.Integration = i("empty"); | |
}, { | |
"@segment/analytics.js-integration": 783, | |
"@segment/fmt": 799, | |
"do-when": 841, | |
"reject": 875 | |
}], | |
783: [function(e, t, n) { | |
arguments[4][37][0].apply(n, arguments) | |
}, { | |
"./protos": 784, | |
"./statics": 785, | |
"@ndhoule/clone": 7, | |
"@ndhoule/defaults": 8, | |
"@ndhoule/extend": 13, | |
"component-bind": 825, | |
"debug": 787, | |
"dup": 37, | |
"slug-component": 889 | |
}], | |
784: [function(e, t, n) { | |
arguments[4][38][0].apply(n, arguments) | |
}, { | |
"@ndhoule/after": 5, | |
"@ndhoule/each": 10, | |
"@ndhoule/every": 12, | |
"@ndhoule/foldl": 14, | |
"@segment/fmt": 799, | |
"@segment/load-script": 803, | |
"analytics-events": 786, | |
"component-emitter": 830, | |
"dup": 38, | |
"is": 851, | |
"load-iframe": 860, | |
"next-tick": 867, | |
"to-no-case": 895 | |
}], | |
785: [function(e, t, n) { | |
arguments[4][39][0].apply(n, arguments) | |
}, { | |
"@ndhoule/each": 10, | |
"@ndhoule/includes": 15, | |
"component-emitter": 830, | |
"domify": 842, | |
"dup": 39 | |
}], | |
786: [function(e, t, n) { | |
arguments[4][40][0].apply(n, arguments) | |
}, { | |
"dup": 40 | |
}], | |
787: [function(e, t, n) { | |
arguments[4][41][0].apply(n, arguments) | |
}, { | |
"./debug": 788, | |
"_process": 874, | |
"dup": 41 | |
}], | |
788: [function(e, t, n) { | |
arguments[4][42][0].apply(n, arguments) | |
}, { | |
"dup": 42, | |
"ms": 862 | |
}], | |
789: [function(e, t, n) { | |
"use strict"; | |
function o(e) { | |
function t(n) { | |
if (n && n.addIntegration) return n.addIntegration(t); | |
this.debug = a("analytics:integration:" + c(e)); | |
var o = {}; | |
s(!0, o, n); | |
this.options = r(o || {}, this.defaults); | |
this._queue = []; | |
this.once("ready", i(this, this.flush)); | |
t.emit("construct", this); | |
this.ready = i(this, this.ready); | |
this._wrapInitialize(); | |
this._wrapPage(); | |
this._wrapTrack() | |
} | |
t.prototype.defaults = {}; | |
t.prototype.globals = []; | |
t.prototype.templates = {}; | |
t.prototype.name = e; | |
s(t, u); | |
s(t.prototype, p); | |
return t | |
} | |
var i = e("component-bind"), | |
a = e("debug"), | |
r = e("@ndhoule/defaults"), | |
s = e("extend"), | |
c = e("slug-component"), | |
p = e("./protos"), | |
u = e("./statics"); | |
t.exports = o | |
}, { | |
"./protos": 790, | |
"./statics": 791, | |
"@ndhoule/defaults": 8, | |
"component-bind": 825, | |
"debug": 792, | |
"extend": 794, | |
"slug-component": 889 | |
}], | |
790: [function(e, t, n) { | |
"use strict"; | |
function o(e) { | |
return h.array(e) ? d(i, e) ? "mixed" : "array" : h.object(e) ? "map" : "unknown" | |
} | |
function i(e) { | |
return !!h.object(e) && (!!h.string(e.key) && !!w.call(e, "value")) | |
} | |
function a(e, t) { | |
t = t || function() {}; | |
var n = new Image; | |
n.onerror = r(t, "failed to load pixel", n); | |
n.onload = function() { | |
t() | |
}; | |
n.src = e.src; | |
n.width = 1; | |
n.height = 1; | |
return n | |
} | |
function r(e, t, n) { | |
return function(o) { | |
o = o || window.event; | |
var i = new Error(t); | |
i.event = o; | |
i.source = n; | |
e(i) | |
} | |
} | |
function s(e, t) { | |
return m(function(e, n, o) { | |
e[o] = n.replace(/\{\{\ *(\w+)\ *\}\}/g, function(e, n) { | |
return t[n] | |
}); | |
return e | |
}, {}, e.attrs) | |
} | |
var c = e("component-emitter"), | |
p = e("@ndhoule/after"), | |
u = e("@ndhoule/each"), | |
l = e("analytics-events"), | |
d = e("@ndhoule/every"), | |
f = e("@segment/fmt"), | |
m = e("@ndhoule/foldl"), | |
h = e("is"), | |
g = e("load-iframe"), | |
y = e("@segment/load-script"), | |
b = e("next-tick"), | |
v = e("to-no-case"), | |
w = Object.prototype.hasOwnProperty, | |
k = function() {}, | |
_ = window.onerror; | |
c(n); | |
n.initialize = function() { | |
var e = this.ready; | |
b(e) | |
}; | |
n.loaded = function() { | |
return !1 | |
}; | |
n.page = function(e) {}; | |
n.track = function(e) {}; | |
n.map = function(e, t) { | |
var n = v(t), | |
i = o(e); | |
return "unknown" === i ? [] : m(function(e, t, o) { | |
var a, r; | |
if ("map" === i) { | |
a = o; | |
r = t | |
} | |
if ("array" === i) { | |
a = t; | |
r = t | |
} | |
if ("mixed" === i) { | |
a = t.key; | |
r = t.value | |
} | |
v(a) === n && e.push(r); | |
return e | |
}, [], e) | |
}; | |
n.invoke = function(e) { | |
if (this[e]) { | |
var t = Array.prototype.slice.call(arguments, 1); | |
if (!this._ready) return this.queue(e, t); | |
this.debug("%s with %o", e, t); | |
return this[e].apply(this, t) | |
} | |
}; | |
n.queue = function(e, t) { | |
this._queue.push({ | |
method: e, | |
args: t | |
}) | |
}; | |
n.flush = function() { | |
this._ready = !0; | |
var e = this; | |
u(function(t) { | |
e[t.method].apply(e, t.args) | |
}, this._queue); | |
this._queue.length = 0 | |
}; | |
n.reset = function() { | |
for (var e = 0; e < this.globals.length; e++) window[this.globals[e]] = undefined; | |
window.onerror = _; | |
window.onload = null | |
}; | |
n.load = function(e, t, n) { | |
if ("function" == typeof e) { | |
n = e; | |
t = null; | |
e = null | |
} | |
if (e && "object" == typeof e) { | |
n = t; | |
t = e; | |
e = null | |
} | |
if ("function" == typeof t) { | |
n = t; | |
t = null | |
} | |
e = e || "library"; | |
t = t || {}; | |
t = this.locals(t); | |
var o = this.templates[e]; | |
if (!o) throw new Error(f('template "%s" not defined.', e)); | |
var i = s(o, t); | |
n = n || k; | |
var r, c = this; | |
switch (o.type) { | |
case "img": | |
i.width = 1; | |
i.height = 1; | |
r = a(i, n); | |
break; | |
case "script": | |
r = y(i, function(e) { | |
if (!e) return n(); | |
c.debug('error loading "%s" error="%s"', c.name, e) | |
}); | |
delete i.src; | |
u(function(e, t) { | |
r.setAttribute(t, e) | |
}, i); | |
break; | |
case "iframe": | |
r = g(i, n) | |
} | |
return r | |
}; | |
n.locals = function(e) { | |
e = e || {}; | |
var t = Math.floor((new Date).getTime() / 36e5); | |
e.hasOwnProperty("cache") || (e.cache = t); | |
u(function(t, n) { | |
e.hasOwnProperty(n) || (e[n] = t) | |
}, this.options); | |
return e | |
}; | |
n.ready = function() { | |
this.emit("ready") | |
}; | |
n._wrapInitialize = function() { | |
var e = this.initialize; | |
this.initialize = function() { | |
this.debug("initialize"); | |
this._initialized = !0; | |
var t = e.apply(this, arguments); | |
this.emit("initialize"); | |
return t | |
} | |
}; | |
n._wrapPage = function() { | |
if (this._assumesPageview) return this.page = p(2, this.page) | |
}; | |
n._wrapTrack = function() { | |
var e = this.track; | |
this.track = function(t) { | |
var n, o, i = t.event(); | |
for (var a in l) | |
if (w.call(l, a)) { | |
var r = l[a]; | |
if (!this[a]) continue; | |
if (!r.test(i)) continue; | |
o = this[a].apply(this, arguments); | |
n = !0; | |
break | |
} n || (o = e.apply(this, arguments)); | |
return o | |
} | |
} | |
}, { | |
"@ndhoule/after": 5, | |
"@ndhoule/each": 10, | |
"@ndhoule/every": 12, | |
"@ndhoule/foldl": 14, | |
"@segment/fmt": 799, | |
"@segment/load-script": 803, | |
"analytics-events": 821, | |
"component-emitter": 830, | |
"is": 851, | |
"load-iframe": 860, | |
"next-tick": 867, | |
"to-no-case": 895 | |
}], | |
791: [function(e, t, n) { | |
"use strict"; | |
function o(e) { | |
e = e.replace(' src="', ' data-src="'); | |
var t = a(e), | |
n = {}; | |
r(function(t) { | |
var o = "data-src" === t.name ? "src" : t.name; | |
s(t.name + "=", e) && (n[o] = t.value) | |
}, t.attributes); | |
return { | |
type: t.tagName.toLowerCase(), | |
attrs: n | |
} | |
} | |
var i = e("component-emitter"), | |
a = e("domify"), | |
r = e("@ndhoule/each"), | |
s = e("@ndhoule/includes"); | |
i(n); | |
n.option = function(e, t) { | |
this.prototype.defaults[e] = t; | |
return this | |
}; | |
n.mapping = function(e) { | |
this.option(e, []); | |
this.prototype[e] = function(t) { | |
return this.map(this.options[e], t) | |
}; | |
return this | |
}; | |
n.global = function(e) { | |
this.prototype.globals.push(e); | |
return this | |
}; | |
n.assumesPageview = function() { | |
this.prototype._assumesPageview = !0; | |
return this | |
}; | |
n.readyOnLoad = function() { | |
this.prototype._readyOnLoad = !0; | |
return this | |
}; | |
n.readyOnInitialize = function() { | |
this.prototype._readyOnInitialize = !0; | |
return this | |
}; | |
n.tag = function(e, t) { | |
if (null == t) { | |
t = e; | |
e = "library" | |
} | |
this.prototype.templates[e] = o(t); | |
return this | |
} | |
}, { | |
"@ndhoule/each": 10, | |
"@ndhoule/includes": 15, | |
"component-emitter": 830, | |
"domify": 842 | |
}], | |
792: [function(e, t, n) { | |
arguments[4][41][0].apply(n, arguments) | |
}, { | |
"./debug": 793, | |
"_process": 874, | |
"dup": 41 | |
}], | |
793: [function(e, t, n) { | |
arguments[4][42][0].apply(n, arguments) | |
}, { | |
"dup": 42, | |
"ms": 862 | |
}], | |
794: [function(e, t, n) { | |
arguments[4][34][0].apply(n, arguments) | |
}, { | |
"dup": 34 | |
}], | |
795: [function(e, t, n) {; | |
t.exports = {}; | |
}, {}], | |
796: [function(e, t, n) { | |
function o(e) { | |
var t, n, o, r, s, c, p, u = "", | |
l = 0; | |
e = i(e); | |
for (; l < e.length;) { | |
t = e.charCodeAt(l++); | |
n = e.charCodeAt(l++); | |
o = e.charCodeAt(l++); | |
r = t >> 2; | |
s = (3 & t) << 4 | n >> 4; | |
c = (15 & n) << 2 | o >> 6; | |
p = 63 & o; | |
isNaN(n) ? c = p = 64 : isNaN(o) && (p = 64); | |
u = u + a.charAt(r) + a.charAt(s) + a.charAt(c) + a.charAt(p) | |
} | |
return u | |
} | |
var i = e("utf8-encode"), | |
a = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/="; | |
t.exports = o | |
}, { | |
"utf8-encode": 905 | |
}], | |
797: [function(e, t, n) { | |
"use strict"; | |
function o() { | |
for (var e, t = document.getElementsByTagName("link"), n = 0; e = t[n]; n++) | |
if ("canonical" === e.getAttribute("rel")) return e.getAttribute("href") | |
} | |
t.exports = o | |
}, {}], | |
798: [function(e, t, n) { | |
"use strict"; | |
function o(e, t) { | |
e = i(e); | |
a(function(n, i) { | |
"date" === r(n) && (e[i] = t(n)); | |
"object" !== r(n) && "array" !== r(n) || (e[i] = o(n, t)) | |
}, e); | |
return e | |
} | |
var i = e("@ndhoule/clone"), | |
a = e("@ndhoule/each"), | |
r = e("component-type"); | |
t.exports = o | |
}, { | |
"@ndhoule/clone": 7, | |
"@ndhoule/each": 10, | |
"component-type": 836 | |
}], | |
799: [function(e, t, n) { | |
(function(e) { | |
"use strict"; | |
function n(e) { | |
var t = Array.prototype.slice.call(arguments, 1), | |
o = 0; | |
return e.replace(/%([a-z])/gi, function(e, i) { | |
return n[i] ? n[i](t[o++]) : e + i | |
}) | |
} | |
var o = e.JSON && "function" == typeof JSON.stringify ? JSON.stringify : String; | |
n.o = o; | |
n.s = String; | |
n.d = parseInt; | |
t.exports = n | |
}).call(this, "undefined" != typeof window && window.document && window.document.implementation ? window : "undefined" != typeof global ? global : "undefined" != typeof self ? self : {}) | |
}, {}], | |
800: [function(e, t, n) { | |
"use strict"; | |
function o(e) { | |
if (e.metaKey || e.altKey || e.ctrlKey || e.shiftKey) return !0; | |
var t = e.which, | |
n = e.button; | |
return t || n === undefined ? 2 === t : 1 & !n && 2 & !n && 4 & n | |
} | |
t.exports = o | |
}, {}], | |
801: [function(e, t, n) { | |
"use strict"; | |
function o(e, t) { | |
t === undefined && (t = !0); | |
return "object" === r(e) ? i(e, t) : "array" === r(e) ? a(e, t) : e | |
} | |
function i(e, t) { | |
if (e.length && "number" == typeof e.length && !(e.length - 1 in e)) { | |
e.lengthNonArray = e.length; | |
delete e.length | |
} | |
s(e, function(n, i) { | |
c.is(i, t) ? e[n] = c.parse(i) : "object" !== r(i) && "array" !== r(i) || o(i, t) | |
}); | |
if (e.lengthNonArray) { | |
e.length = e.lengthNonArray; | |
delete e.lengthNonArray | |
} | |
return e | |
} | |
function a(e, t) { | |
s(e, function(n, i) { | |
"object" === r(n) ? o(n, t) : c.is(n, t) && (e[i] = c.parse(n)) | |
}); | |
return e | |
} | |
var r = e("component-type"), | |
s = e("component-each"), | |
c = e("@segment/isodate"); | |
t.exports = o | |
}, { | |
"@segment/isodate": 802, | |
"component-each": 828, | |
"component-type": 836 | |
}], | |
802: [function(e, t, n) { | |
"use strict"; | |
var o = /^(\d{4})(?:-?(\d{2})(?:-?(\d{2}))?)?(?:([ T])(\d{2}):?(\d{2})(?::?(\d{2})(?:[,\.](\d{1,}))?)?(?:(Z)|([+\-])(\d{2})(?::?(\d{2}))?)?)?$/; | |
n.parse = function(e) { | |
var t = [1, 5, 6, 7, 11, 12], | |
n = o.exec(e), | |
i = 0; | |
if (!n) return new Date(e); | |
for (var a, r = 0; a = t[r]; r++) n[a] = parseInt(n[a], 10) || 0; | |
n[2] = parseInt(n[2], 10) || 1; | |
n[3] = parseInt(n[3], 10) || 1; | |
n[2]--; | |
n[8] = n[8] ? (n[8] + "00").substring(0, 3) : 0; | |
if (" " === n[4]) i = (new Date).getTimezoneOffset(); | |
else if ("Z" !== n[9] && n[10]) { | |
i = 60 * n[11] + n[12]; | |
"+" === n[10] && (i = 0 - i) | |
} | |
var s = Date.UTC(n[1], n[2], n[3], n[5], n[6] + i, n[7], n[8]); | |
return new Date(s) | |
}; | |
n.is = function(e, t) { | |
return "string" == typeof e && ((!t || !1 !== /^\d{4}-\d{2}-\d{2}/.test(e)) && o.test(e)) | |
} | |
}, {}], | |
803: [function(e, t, n) { | |
"use strict"; | |
function o(e, t) { | |
if (!e) throw new Error("Can't load nothing..."); | |
"string" === r(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" === r(t) && i(o, t); | |
a(function() { | |
var e = document.getElementsByTagName("script")[0]; | |
e.parentNode.insertBefore(o, e) | |
}); | |
return o | |
} | |
var i = e("script-onload"), | |
a = e("next-tick"), | |
r = e("component-type"); | |
t.exports = o | |
}, { | |
"component-type": 836, | |
"next-tick": 867, | |
"script-onload": 876 | |
}], | |
804: [function(e, t, n) { | |
"use strict"; | |
function o() { | |
try { | |
if (!window.localStorage) return !1; | |
var e = a(); | |
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"), | |
a = e("uuid").v4, | |
r = { | |
_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 : r | |
}(); | |
t.exports.inMemoryEngine = r | |
}, { | |
"@ndhoule/keys": 16, | |
"uuid": 808 | |
}], | |
805: [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 = a(); | |
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 r(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 a = e("uuid").v4, | |
r = 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(), r = [], c = Object.keys(o).length; n.length && n[0].time <= i && c++ < e.maxItems;) { | |
var u = n.shift(), | |
l = a(); | |
o[l] = { | |
item: u.item, | |
attemptNumber: u.attemptNumber, | |
time: e._schedule.now() | |
}; | |
! function(n, o) { | |
r.push({ | |
item: n.item, | |
done: function(i, a) { | |
var r = t.get(e.keys.IN_PROGRESS) || {}; | |
delete r[o]; | |
t.set(e.keys.IN_PROGRESS, r); | |
e.emit("processed", i, a, n.item); | |
i && e.requeue(n.item, n.attemptNumber + 1, i) | |
} | |
}) | |
}(u, l) | |
} | |
t.set(this.keys.QUEUE, n); | |
t.set(this.keys.IN_PROGRESS, o); | |
s(function(t) { | |
try { | |
e.fn(t.item, t.done) | |
} catch (n) { | |
p("Process function threw error: " + n) | |
} | |
}, r); | |
n = t.get(this.keys.QUEUE) || []; | |
this._schedule.cancel(this._processId); | |
n.length > 0 && (this._processId = this._schedule.run(this._processHead, n[0].time - i)) | |
}; | |
i.prototype._ack = function() { | |
this._store.set(this.keys.ACK, this._schedule.now()); | |
this._store.set(this.keys.RECLAIM_START, null); | |
this._store.set(this.keys.RECLAIM_END, null); | |
this._schedule.run(this._ack, this.timeouts.ACK_TIMER) | |
}; | |
i.prototype._checkReclaim = function() { | |
function e(e) { | |
e.set(t.keys.RECLAIM_START, t.id); | |
e.set(t.keys.ACK, t._schedule.now()); | |
t._schedule.run(function() { | |
if (e.get(t.keys.RECLAIM_START) === t.id) { | |
e.set(t.keys.RECLAIM_END, t.id); | |
t._schedule.run(function() { | |
e.get(t.keys.RECLAIM_END) === t.id && e.get(t.keys.RECLAIM_START) === t.id && t._reclaim(e.id) | |
}, t.timeouts.RECLAIM_WAIT) | |
} | |
}, t.timeouts.RECLAIM_WAIT) | |
} | |
var t = this; | |
s(function(n) { | |
n.id !== t.id && (t._schedule.now() - n.get(t.keys.ACK) < t.timeouts.RECLAIM_TIMEOUT || e(n)) | |
}, function(e) { | |
for (var n = [], o = t._store.engine, i = 0; i < o.length; i++) { | |
var a = o.key(i), | |
s = a.split("."); | |
3 === s.length && (s[0] === e && "ack" === s[2] && n.push(new r(e, s[1], t.keys))) | |
} | |
return n | |
}(this.name)); | |
this._schedule.run(this._checkReclaim, this.timeouts.RECLAIM_TIMER) | |
}; | |
i.prototype._reclaim = function(e) { | |
var t = this, | |
n = new r(this.name, e, this.keys), | |
o = { | |
queue: this._store.get(this.keys.QUEUE) || [] | |
}, | |
i = { | |
inProgress: n.get(this.keys.IN_PROGRESS) || {}, | |
queue: n.get(this.keys.QUEUE) || [] | |
}; | |
s(function(e) { | |
o.queue.push({ | |
item: e.item, | |
attemptNumber: e.attemptNumber, | |
time: t._schedule.now() | |
}) | |
}, i.queue); | |
s(function(e) { | |
o.queue.push({ | |
item: e.item, | |
attemptNumber: e.attemptNumber + 1, | |
time: t._schedule.now() | |
}) | |
}, i.inProgress); | |
o.queue = o.queue.sort(function(e, t) { | |
return e.time - t.time | |
}); | |
this._store.set(this.keys.QUEUE, o.queue); | |
n.remove(this.keys.ACK); | |
n.remove(this.keys.RECLAIM_START); | |
n.remove(this.keys.RECLAIM_END); | |
n.remove(this.keys.IN_PROGRESS); | |
n.remove(this.keys.QUEUE); | |
this._processHead() | |
}; | |
t.exports = i | |
}, { | |
"./schedule": 806, | |
"./store": 807, | |
"@ndhoule/each": 10, | |
"component-emitter": 830, | |
"debug": 840, | |
"uuid": 808 | |
}], | |
806: [function(e, t, n) { | |
"use strict"; | |
function o() { | |
this.tasks = {}; | |
this.nextId = 1 | |
} | |
var i = e("@ndhoule/each"), | |
a = { | |
setTimeout: function(e, t) { | |
return window.setTimeout(e, t) | |
}, | |
clearTimeout: function(e) { | |
return window.clearTimeout(e) | |
}, | |
Date: window.Date | |
}, | |
r = a; | |
o.prototype.now = function() { | |
return +new r.Date | |
}; | |
o.prototype.run = function(e, t) { | |
var n = this.nextId++; | |
this.tasks[n] = r.setTimeout(this._handle(n, e), t); | |
return n | |
}; | |
o.prototype.cancel = function(e) { | |
if (this.tasks[e]) { | |
r.clearTimeout(this.tasks[e]); | |
delete this.tasks[e] | |
} | |
}; | |
o.prototype.cancelAll = function() { | |
i(r.clearTimeout, this.tasks); | |
this.tasks = {} | |
}; | |
o.prototype._handle = function(e, t) { | |
var n = this; | |
return function() { | |
delete n.tasks[e]; | |
return t() | |
} | |
}; | |
o.setClock = function(e) { | |
r = e | |
}; | |
o.resetClock = function() { | |
r = a | |
}; | |
t.exports = o | |
}, { | |
"@ndhoule/each": 10 | |
}], | |
807: [function(e, t, n) { | |
"use strict"; | |
function o(e, t, n, o) { | |
this.id = t; | |
this.name = e; | |
this.keys = n || {}; | |
this.engine = o || a | |
} | |
function i(e) { | |
var t = !1; | |
if (e.code) switch (e.code) { | |
case 22: | |
t = !0; | |
break; | |
case 1014: | |
"NS_ERROR_DOM_QUOTA_REACHED" === e.name && (t = !0) | |
} else -2147024882 === e.number && (t = !0); | |
return t | |
} | |
var a = e("./engine").defaultEngine, | |
r = e("./engine").inMemoryEngine, | |
s = e("@ndhoule/each"), | |
c = e("@ndhoule/keys"), | |
p = e("json3"); | |
o.prototype.set = function(e, t) { | |
var n = this._createValidKey(e); | |
if (n) try { | |
this.engine.setItem(n, p.stringify(t)) | |
} catch (o) { | |
if (i(o)) { | |
this._swapEngine(); | |
this.set(e, t) | |
} | |
} | |
}; | |
o.prototype.get = function(e) { | |
try { | |
var t = this.engine.getItem(this._createValidKey(e)); | |
return null === t ? null : p.parse(t) | |
} catch (n) { | |
return null | |
} | |
}; | |
o.prototype.remove = function(e) { | |
this.engine.removeItem(this._createValidKey(e)) | |
}; | |
o.prototype._createValidKey = function(e) { | |
var t = this.name, | |
n = this.id; | |
if (!c(this.keys).length) return [t, n, e].join("."); | |
var o; | |
s(function(i) { | |
i === e && (o = [t, n, e].join(".")) | |
}, this.keys); | |
return o | |
}; | |
o.prototype._swapEngine = function() { | |
var e = this; | |
s(function(t) { | |
var n = e.get(t); | |
r.setItem([e.name, e.id, t].join("."), n); | |
e.remove(t) | |
}, this.keys); | |
this.engine = r | |
}; | |
t.exports = o | |
}, { | |
"./engine": 804, | |
"@ndhoule/each": 10, | |
"@ndhoule/keys": 16, | |
"json3": 856 | |
}], | |
808: [function(e, t, n) { | |
var o = e("./v1"), | |
i = e("./v4"), | |
a = i; | |
a.v1 = o; | |
a.v4 = i; | |
t.exports = a | |
}, { | |
"./v1": 811, | |
"./v4": 812 | |
}], | |
809: [function(e, t, n) { | |
function o(e, t) { | |
var n = t || 0, | |
o = i; | |
return [o[e[n++]], o[e[n++]], o[e[n++]], o[e[n++]], "-", o[e[n++]], o[e[n++]], "-", o[e[n++]], o[e[n++]], "-", o[e[n++]], o[e[n++]], "-", o[e[n++]], o[e[n++]], o[e[n++]], o[e[n++]], o[e[n++]], o[e[n++]]].join("") | |
} | |
for (var i = [], a = 0; a < 256; ++a) i[a] = (a + 256).toString(16).substr(1); | |
t.exports = o | |
}, {}], | |
810: [function(e, t, n) { | |
var o = "undefined" != typeof crypto && crypto.getRandomValues && crypto.getRandomValues.bind(crypto) || "undefined" != typeof msCrypto && "function" == typeof window.msCrypto.getRandomValues && msCrypto.getRandomValues.bind(msCrypto); | |
if (o) { | |
var i = new Uint8Array(16); | |
t.exports = function() { | |
o(i); | |
return i | |
} | |
} else { | |
var a = new Array(16); | |
t.exports = 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 | |
} | |
} | |
}, {}], | |
811: [function(e, t, n) { | |
function o(e, t, n) { | |
var o = t && n || 0, | |
u = t || []; | |
e = e || {}; | |
var l = e.node || i, | |
d = e.clockseq !== undefined ? e.clockseq : a; | |
if (null == l || null == d) { | |
var f = r(); | |
null == l && (l = i = [1 | f[0], f[1], f[2], f[3], f[4], f[5]]); | |
null == d && (d = a = 16383 & (f[6] << 8 | f[7])) | |
} | |
var m = e.msecs !== undefined ? e.msecs : (new Date).getTime(), | |
h = e.nsecs !== undefined ? e.nsecs : p + 1, | |
g = m - c + (h - p) / 1e4; | |
g < 0 && e.clockseq === undefined && (d = d + 1 & 16383); | |
(g < 0 || m > c) && e.nsecs === undefined && (h = 0); | |
if (h >= 1e4) throw new Error("uuid.v1(): Can't create more than 10M uuids/sec"); | |
c = m; | |
p = h; | |
a = d; | |
m += 122192928e5; | |
var y = (1e4 * (268435455 & m) + h) % 4294967296; | |
u[o++] = y >>> 24 & 255; | |
u[o++] = y >>> 16 & 255; | |
u[o++] = y >>> 8 & 255; | |
u[o++] = 255 & y; | |
var b = m / 4294967296 * 1e4 & 268435455; | |
u[o++] = b >>> 8 & 255; | |
u[o++] = 255 & b; | |
u[o++] = b >>> 24 & 15 | 16; | |
u[o++] = b >>> 16 & 255; | |
u[o++] = d >>> 8 | 128; | |
u[o++] = 255 & d; | |
for (var v = 0; v < 6; ++v) u[o + v] = l[v]; | |
return t || s(u) | |
} | |
var i, a, r = e("./lib/rng"), | |
s = e("./lib/bytesToUuid"), | |
c = 0, | |
p = 0; | |
t.exports = o | |
}, { | |
"./lib/bytesToUuid": 809, | |
"./lib/rng": 810 | |
}], | |
812: [function(e, t, n) { | |
function o(e, t, n) { | |
var o = t && n || 0; | |
if ("string" == typeof e) { | |
t = "binary" === e ? new Array(16) : null; | |
e = null | |
} | |
e = e || {}; | |
var r = e.random || (e.rng || i)(); | |
r[6] = 15 & r[6] | 64; | |
r[8] = 63 & r[8] | 128; | |
if (t) | |
for (var s = 0; s < 16; ++s) t[o + s] = r[s]; | |
return t || a(r) | |
} | |
var i = e("./lib/rng"), | |
a = e("./lib/bytesToUuid"); | |
t.exports = o | |
}, { | |
"./lib/bytesToUuid": 809, | |
"./lib/rng": 810 | |
}], | |
813: [function(e, t, n) { | |
"use strict"; | |
function o(e) { | |
e = e || window.event; | |
return e.preventDefault ? e.preventDefault() : e.returnValue = !1 | |
} | |
t.exports = o | |
}, {}], | |
814: [function(e, t, n) { | |
"use strict"; | |
function o() { | |
return a || window.location.protocol | |
} | |
function i(e) { | |
try { | |
r(window.location, "protocol", { | |
get: function() { | |
return e | |
} | |
}) | |
} catch (t) { | |
a = e | |
} | |
} | |
var a, r = Object.defineProperty, | |
s = window.location.protocol; | |
t.exports = function(e) { | |
return 0 === arguments.length ? o() : i(e) | |
}; | |
t.exports.http = function() { | |
i("http:") | |
}; | |
t.exports.https = function() { | |
i("https:") | |
}; | |
t.exports.reset = function() { | |
i(s) | |
} | |
}, {}], | |
815: [function(e, t, n) { | |
"use strict"; | |
function o(e, t, n, o) { | |
function i() { | |
if (4 === a.readyState) return o(null, a) | |
} | |
3 === arguments.length && (o = n, n = {}); | |
var a = new XMLHttpRequest; | |
a.onerror = o; | |
a.onreadystatechange = i; | |
a.open("POST", e, !0); | |
for (var s in n) a.setRequestHeader(s, n[s]); | |
a.send(r.stringify(t)) | |
} | |
function i(e, t, o, i) { | |
3 === arguments.length && (i = o); | |
var r = n.prefix, | |
s = a(t); | |
e += "?" + r + "=" + s; | |
p(e, { | |
param: n.callback | |
}, function(t, n) { | |
if (t) return i(t); | |
i(null, { | |
url: e, | |
body: n | |
}) | |
}) | |
} | |
function a(e) { | |
var t = ""; | |
t = r.stringify(e); | |
t = s(t); | |
t = t.replace(/\+/g, "-").replace(/\//g, "_"); | |
return encodeURIComponent(t) | |
} | |
var r = e("json3"), | |
s = e("@segment/base64-encode"), | |
c = e("has-cors"), | |
p = e("jsonp"); | |
n = t.exports = c ? o : i; | |
n.callback = "callback"; | |
n.prefix = "data"; | |
n.json = o; | |
n.base64 = i; | |
n.type = c ? "xhr" : "jsonp" | |
}, { | |
"@segment/base64-encode": 796, | |
"has-cors": 847, | |
"json3": 856, | |
"jsonp": 857 | |
}], | |
816: [function(e, t, n) { | |
(function(n) { | |
"use strict"; | |
var o = e("json3"); | |
t.exports = function() { | |
var e, t = {}, | |
i = "undefined" != typeof window ? window : n, | |
a = i.document, | |
r = "localStorage"; | |
t.disabled = !1; | |
t.version = "1.3.20"; | |
t.set = function(e, t) {}; | |
t.get = function(e, t) {}; | |
t.has = function(e) { | |
return t.get(e) !== undefined | |
}; | |
t.remove = function(e) {}; | |
t.clear = function() {}; | |
t.transact = function(e, n, o) { | |
if (null == o) { | |
o = n; | |
n = null | |
} | |
null == n && (n = {}); | |
var i = t.get(e, n); | |
o(i); | |
t.set(e, i) | |
}; | |
t.getAll = function() { | |
var e = {}; | |
t.forEach(function(t, n) { | |
e[t] = n | |
}); | |
return e | |
}; | |
t.forEach = function() {}; | |
t.serialize = function(e) { | |
return o.stringify(e) | |
}; | |
t.deserialize = function(e) { | |
if ("string" != typeof e) return undefined; | |
try { | |
return o.parse(e) | |
} catch (t) { | |
return e || undefined | |
} | |
}; | |
if (function() { | |
try { | |
return r in i && i[r] | |
} catch (e) { | |
return !1 | |
} | |
}()) { | |
e = i[r]; | |
t.set = function(n, o) { | |
if (o === undefined) return t.remove(n); | |
e.setItem(n, t.serialize(o)); | |
return o | |
}; | |
t.get = function(n, o) { | |
var i = t.deserialize(e.getItem(n)); | |
return i === undefined ? o : i | |
}; | |
t.remove = function(t) { | |
e.removeItem(t) | |
}; | |
t.clear = function() { | |
e.clear() | |
}; | |
t.forEach = function(n) { | |
for (var o = 0; o < e.length; o++) { | |
var i = e.key(o); | |
n(i, t.get(i)) | |
} | |
} | |
} else if (a && a.documentElement.addBehavior) { | |
var s, c; | |
try { | |
c = new ActiveXObject("htmlfile"); | |
c.open(); | |
c.write('<script>document.w=window<\/script><iframe src="/favicon.ico"></iframe>'); | |
c.close(); | |
s = c.w.frames[0].document; | |
e = s.createElement("div") | |
} catch (f) { | |
e = a.createElement("div"); | |
s = a.body | |
} | |
var p = function(n) { | |
return function() { | |
var o = Array.prototype.slice.call(arguments, 0); | |
o.unshift(e); | |
s.appendChild(e); | |
e.addBehavior("#default#userData"); | |
e.load(r); | |
var i = n.apply(t, o); | |
s.removeChild(e); | |
return i | |
} | |
}, | |
u = new RegExp("[!\"#$%&'()*+,/\\\\:;<=>?@[\\]^`{|}~]", "g"), | |
l = function(e) { | |
return e.replace(/^d/, "___$&").replace(u, "___") | |
}; | |
t.set = p(function(e, n, o) { | |
n = l(n); | |
if (o === undefined) return t.remove(n); | |
e.setAttribute(n, t.serialize(o)); | |
e.save(r); | |
return o | |
}); | |
t.get = p(function(e, n, o) { | |
n = l(n); | |
var i = t.deserialize(e.getAttribute(n)); | |
return i === undefined ? o : i | |
}); | |
t.remove = p(function(e, t) { | |
t = l(t); | |
e.removeAttribute(t); | |
e.save(r) | |
}); | |
t.clear = p(function(e) { | |
var t = e.XMLDocument.documentElement.attributes; | |
e.load(r); | |
for (var n = t.length - 1; n >= 0; n--) e.removeAttribute(t[n].name); | |
e.save(r) | |
}); | |
t.forEach = p(function(e, n) { | |
for (var o, i = e.XMLDocument.documentElement.attributes, a = 0; o = i[a]; ++a) n(o.name, t.deserialize(e.getAttribute(o.name))) | |
}) | |
} | |
try { | |
var d = "__storejs__"; | |
t.set(d, d); | |
t.get(d) != d && (t.disabled = !0); | |
t.remove(d) | |
} catch (f) { | |
t.disabled = !0 | |
} | |
t.enabled = !t.disabled; | |
return t | |
}() | |
}).call(this, "undefined" != typeof window && window.document && window.document.implementation ? window : "undefined" != typeof global ? global : "undefined" != typeof self ? self : {}) | |
}, { | |
"json3": 856 | |
}], | |
817: [function(e, t, n) { | |
"use strict"; | |
function o(e) { | |
var t = e.toString(); | |
return 1 === t.length ? "0" + t : t | |
} | |
function i(e) { | |
return e.getUTCFullYear() + "-" + o(e.getUTCMonth() + 1) + "-" + o(e.getUTCDate()) + "T" + o(e.getUTCHours()) + ":" + o(e.getUTCMinutes()) + ":" + o(e.getUTCSeconds()) + "." + String((e.getUTCMilliseconds() / 1e3).toFixed(3)).slice(2, 5) + "Z" | |
} | |
t.exports = i | |
}, {}], | |
818: [function(e, t, n) { | |
"use strict"; | |
function o(e) { | |
for (var t = n.cookie, o = n.levels(e), i = 0; i < o.length; ++i) { | |
var a = o[i], | |
r = { | |
domain: "." + a | |
}; | |
t("__tld__", 1, r); | |
if (t("__tld__")) { | |
t("__tld__", null, r); | |
return a | |
} | |
} | |
return "" | |
} | |
var i = e("component-url").parse, | |
a = e("component-cookie"); | |
o.levels = function(e) { | |
var t = i(e).hostname, | |
n = t.split("."), | |
o = n[n.length - 1], | |
a = []; | |
if (4 === n.length && o === parseInt(o, 10)) return a; | |
if (n.length <= 1) return a; | |
for (var r = n.length - 2; r >= 0; --r) a.push(n.slice(r).join(".")); | |
return a | |
}; | |
o.cookie = a; | |
n = t.exports = o | |
}, { | |
"component-cookie": 827, | |
"component-url": 837 | |
}], | |
819: [function(e, t, n) { | |
"use strict"; | |
function o(e) { | |
return !("object" != typeof e || e instanceof Array) | |
} | |
function i(e, t, n) { | |
n || (n = {}); | |
for (var a = !1, c = 0; c < t.input.length; c++) { | |
var p = t.input[c], | |
u = e ? e + t.options.delimiter + c : c; | |
if (o(p)) { | |
a = !1; | |
r(n, s(u, p, t.options)) | |
} else if (p instanceof Array && t.options.flattenArray) { | |
a = !1; | |
i(u, { | |
input: p, | |
options: t.options | |
}, n) | |
} else if (!t.options.flattenArray && p instanceof Array) { | |
a = !1; | |
for (var l = !1, d = 0; d < p.length; d++) { | |
var f = p[d]; | |
if (o(f) || f instanceof Array) { | |
l = !1; | |
r(n, i(u, { | |
input: p, | |
options: t.options | |
}, n)); | |
break | |
} | |
l = !0 | |
} | |
l && (n[u] = p) | |
} else { | |
a = !0; | |
n[u] = p | |
} | |
} | |
return a && !t.options.flattenArray ? t.input : n | |
} | |
function a(e, t) { | |
t || (t = {}); | |
t.delimiter || (t.delimiter = "."); | |
var n = {}; | |
r(n, s(null, e, t)); | |
return n | |
} | |
function r(e, t) { | |
for (var n in t) { | |
var o = t[n]; | |
e[n] = o | |
} | |
} | |
function s(e, t, n) { | |
var a = {}; | |
for (var c in t) | |
if (t.hasOwnProperty(c)) { | |
var p = null === e ? c : e + n.delimiter + c, | |
u = t[c]; | |
if (o(u)) r(a, s(p, u, n)); | |
else if (u instanceof Array) { | |
var l = i(p, { | |
input: u, | |
options: n | |
}); | |
l instanceof Array ? a[p] = l : r(a, l) | |
} else a[p] = u | |
} return a | |
} | |
n = t.exports = a; | |
n.flattenUntilArrayLeaf = i | |
}, {}], | |
820: [function(e, t, n) { | |
"use strict"; | |
function o(e) { | |
"?" === e.charAt(0) && (e = e.substring(1)); | |
e = e.replace(/\?/g, "&"); | |
var t, n = r(e), | |
o = {}; | |
for (var i in n) | |
if (s.call(n, i) && "utm_" === i.substr(0, 4)) { | |
t = i.substr(4); | |
"campaign" === t && (t = "name"); | |
o[t] = n[i] | |
} return o | |
} | |
function i(e) { | |
return a(function(e, t, n) { | |
s.call(c, n) && (e[n] = t); | |
return e | |
}, {}, o(e)) | |
} | |
var a = e("@ndhoule/foldl"), | |
r = e("component-querystring").parse, | |
s = Object.prototype.hasOwnProperty, | |
c = { | |
name: !0, | |
term: !0, | |
source: !0, | |
medium: !0, | |
content: !0 | |
}; | |
t.exports = o; | |
t.exports.strict = i | |
}, { | |
"@ndhoule/foldl": 14, | |
"component-querystring": 834 | |
}], | |
821: [function(e, t, n) { | |
"use strict"; | |
var o = e("@ndhoule/map"), | |
i = e("@ndhoule/foldl"), | |
a = { | |
videoPlaybackStarted: [{ | |
object: "video playback", | |
action: "started" | |
}], | |
videoPlaybackPaused: [{ | |
object: "video playback", | |
action: "paused" | |
}], | |
videoPlaybackInterrupted: [{ | |
object: "video playback", | |
action: "interrupted" | |
}], | |
videoPlaybackResumed: [{ | |
object: "video playback", | |
action: "resumed" | |
}], | |
videoPlaybackCompleted: [{ | |
object: "video playback", | |
action: "completed" | |
}], | |
videoPlaybackBufferStarted: [{ | |
object: "video playback buffer", | |
action: "started" | |
}], | |
videoPlaybackBufferCompleted: [{ | |
object: "video playback buffer", | |
action: "completed" | |
}], | |
videoPlaybackSeekStarted: [{ | |
object: "video playback seek", | |
action: "started" | |
}], | |
videoPlaybackSeekCompleted: [{ | |
object: "video playback seek", | |
action: "completed" | |
}], | |
videoContentStarted: [{ | |
object: "video content", | |
action: "started" | |
}], | |
videoContentPlaying: [{ | |
object: "video content", | |
action: "playing" | |
}], | |
videoContentCompleted: [{ | |
object: "video content", | |
action: "completed" | |
}], | |
videoAdStarted: [{ | |
object: "video ad", | |
action: "started" | |
}], | |
videoAdPlaying: [{ | |
object: "video ad", | |
action: "playing" | |
}], | |
videoAdCompleted: [{ | |
object: "video ad", | |
action: "completed" | |
}], | |
promotionViewed: [{ | |
object: "promotion", | |
action: "viewed" | |
}], | |
promotionClicked: [{ | |
object: "promotion", | |
action: "clicked" | |
}], | |
productsSearched: [{ | |
object: "products", | |
action: "searched" | |
}], | |
productListViewed: [{ | |
object: "product list", | |
action: "viewed" | |
}, { | |
object: "product category", | |
action: "viewed" | |
}], | |
productListFiltered: [{ | |
object: "product list", | |
action: "filtered" | |
}], | |
productClicked: [{ | |
object: "product", | |
action: "clicked" | |
}], | |
productViewed: [{ | |
object: "product", | |
action: "viewed" | |
}], | |
productAdded: [{ | |
object: "product", | |
action: "added" | |
}], | |
productRemoved: [{ | |
object: "product", | |
action: "removed" | |
}], | |
cartViewed: [{ | |
object: "cart", | |
action: "viewed" | |
}], | |
orderUpdated: [{ | |
object: "order", | |
action: "updated" | |
}], | |
orderCompleted: [{ | |
object: "order", | |
action: "completed" | |
}], | |
orderRefunded: [{ | |
object: "order", | |
action: "refunded" | |
}], | |
orderCancelled: [{ | |
object: "order", | |
action: "cancelled" | |
}], | |
paymentInfoEntered: [{ | |
object: "payment info", | |
action: "entered" | |
}], | |
checkoutStarted: [{ | |
object: "checkout", | |
action: "started" | |
}], | |
checkoutStepViewed: [{ | |
object: "checkout step", | |
action: "viewed" | |
}], | |
checkoutStepCompleted: [{ | |
object: "checkout step", | |
action: "completed" | |
}], | |
couponEntered: [{ | |
object: "coupon", | |
action: "entered" | |
}], | |
couponApplied: [{ | |
object: "coupon", | |
action: "applied" | |
}], | |
couponDenied: [{ | |
object: "coupon", | |
action: "denied" | |
}], | |
couponRemoved: [{ | |
object: "coupon", | |
action: "removed" | |
}], | |
productAddedToWishlist: [{ | |
object: "product", | |
action: "added to wishlist" | |
}], | |
productRemovedFromWishlist: [{ | |
object: "product", | |
action: "removed from wishlist" | |
}], | |
productAddedFromWishlistToCart: [{ | |
object: "product", | |
action: "added to cart from wishlist" | |
}, { | |
object: "product", | |
action: "added from wishlist to cart" | |
}], | |
productShared: [{ | |
object: "product", | |
action: "shared" | |
}], | |
cartShared: [{ | |
object: "cart", | |
action: "shared" | |
}], | |
productReviewed: [{ | |
object: "product", | |
action: "reviewed" | |
}], | |
applicationInstalled: [{ | |
object: "application", | |
action: "installed" | |
}], | |
applicationUpdated: [{ | |
object: "application", | |
action: "updated" | |
}], | |
applicationOpened: [{ | |
object: "application", | |
action: "opened" | |
}], | |
applicationBackgrounded: [{ | |
object: "application", | |
action: "backgrounded" | |
}], | |
applicationUninstalled: [{ | |
object: "application", | |
action: "uninstalled" | |
}], | |
applicationCrashed: [{ | |
object: "application", | |
action: "crashed" | |
}], | |
installAttributed: [{ | |
object: "install", | |
action: "attributed" | |
}], | |
deepLinkOpened: [{ | |
object: "deep link", | |
action: "opened" | |
}], | |
pushNotificationReceived: [{ | |
object: "push notification", | |
action: "received" | |
}], | |
pushNotificationTapped: [{ | |
object: "push notification", | |
action: "tapped" | |
}], | |
pushNotificationBounced: [{ | |
object: "push notification", | |
action: "bounced" | |
}], | |
emailBounced: [{ | |
object: "email", | |
action: "bounced" | |
}], | |
emailDelivered: [{ | |
object: "email", | |
action: "delivered" | |
}], | |
emailLinkClicked: [{ | |
object: "email link", | |
action: "clicked" | |
}], | |
emailMarkedAsSpam: [{ | |
object: "email", | |
action: "marked as spam" | |
}], | |
emailOpened: [{ | |
object: "email", | |
action: "opened" | |
}], | |
unsubscribed: [{ | |
object: "", | |
action: "unsubscribed" | |
}] | |
}; | |
t.exports = i(function(e, t, n) { | |
var i = o(function(e) { | |
return o(function(e) { | |
return "^[ _]?" + [].concat.apply([], o(function(e) { | |
return e.split(" ") | |
}, e)).join("[ _]?") + "[ _]?" | |
}, [ | |
[e.action, e.object], | |
[e.object, e.action] | |
]).join("|") | |
}, t), | |
a = i.join("|") + "$"; | |
e[n] = new RegExp(a, "i"); | |
return e | |
}, {}, a) | |
}, { | |
"@ndhoule/foldl": 14, | |
"@ndhoule/map": 17 | |
}], | |
822: [function(require, module, exports) { | |
(function() { | |
function L(e) { | |
function t(e, t, n, i, a, r) { | |
if (0 < e.buttons.length) { | |
var s = document.createElement("div"); | |
s.className = "ab-message-buttons"; | |
e.imageStyle !== l.h.Rd.GRAPHIC && o(s, e.backgroundColor); | |
i.insertBefore(s, i.firstChild); | |
for (var c = 0; c < e.buttons.length; c++) { | |
var p = e.buttons[c], | |
u = document.createElement("button"); | |
u.className = "ab-message-button"; | |
u.setAttribute("type", "button"); | |
var d = p.text; | |
"" === p.text && (d = " "); | |
u.appendChild(document.createTextNode(d)); | |
u.style.backgroundColor = l.Xa.ub(p.backgroundColor); | |
u.style.color = l.Xa.ub(p.textColor); | |
u.onclick = function(o) { | |
return function(s) { | |
s = s || window.event; | |
e.ga(r || i, function() { | |
t.De(o, e); | |
o.clickAction === l.h.Ab.URI ? l.oa.openUri(o.uri, s, a || e.openTarget === l.h.hd.BLANK) : o.clickAction === l.h.Ab.NEWS_FEED && n() | |
}); | |
s.stopPropagation(); | |
return !1 | |
} | |
}(p); | |
s.appendChild(u) | |
} | |
} | |
} | |
function n(e) { | |
e = e.querySelectorAll(".ab-close-button, .ab-message-button"); | |
if (0 < e.length) { | |
var t = e[0], | |
n = e[e.length - 1]; | |
n.addEventListener("keydown", function(e) { | |
e = e || window.event; | |
e.keyCode !== l.Ma.Fg || e.shiftKey || (e.preventDefault(), t.focus()) | |
}); | |
t.addEventListener("keydown", function(e) { | |
e = e || window.event; | |
e.keyCode === l.Ma.Fg && e.shiftKey && (e.preventDefault(), n.focus()) | |
}) | |
} | |
} | |
function o(e, t) { | |
var n = document.createElement("div"); | |
n.className = "ab-mask"; | |
e.appendChild(n); | |
n = document.createElement("div"); | |
n.className = "ab-background"; | |
n.style.backgroundColor = l.Xa.ub(t); | |
e.appendChild(n) | |
} | |
function i(e, t) { | |
l.Cg = ".ab-feed,.ab-feed .ab-card .ab-title,.ab-feed .ab-card .ab-url-area,.ab-in-app-message{font-family:'Helvetica Neue Light','Helvetica Neue',Helvetica,Arial,'Lucida Grande',sans-serif}.ab-centering-div:focus,.ab-feed .ab-feed-buttons-wrapper:focus,.ab-in-app-message:focus{outline:0}@-webkit-keyframes animSlideIn{0%{-webkit-transform:matrix3d(1,0,0,0,0,1,0,0,0,0,1,0,500,0,0,1);transform:matrix3d(1,0,0,0,0,1,0,0,0,0,1,0,500,0,0,1)}1.3%{-webkit-transform:matrix3d(1.207,0,0,0,0,1,0,0,0,0,1,0,395.034,0,0,1);transform:matrix3d(1.207,0,0,0,0,1,0,0,0,0,1,0,395.034,0,0,1)}2.55%{-webkit-transform:matrix3d(1.254,0,0,0,0,1,0,0,0,0,1,0,304.663,0,0,1);transform:matrix3d(1.254,0,0,0,0,1,0,0,0,0,1,0,304.663,0,0,1)}4.1%{-webkit-transform:matrix3d(1.216,0,0,0,0,1,0,0,0,0,1,0,209.854,0,0,1);transform:matrix3d(1.216,0,0,0,0,1,0,0,0,0,1,0,209.854,0,0,1)}5.71%{-webkit-transform:matrix3d(1.146,0,0,0,0,1,0,0,0,0,1,0,132.66,0,0,1);transform:matrix3d(1.146,0,0,0,0,1,0,0,0,0,1,0,132.66,0,0,1)}8.11%{-webkit-transform:matrix3d(1.059,0,0,0,0,1,0,0,0,0,1,0,52.745,0,0,1);transform:matrix3d(1.059,0,0,0,0,1,0,0,0,0,1,0,52.745,0,0,1)}8.81%{-webkit-transform:matrix3d(1.041,0,0,0,0,1,0,0,0,0,1,0,36.4,0,0,1);transform:matrix3d(1.041,0,0,0,0,1,0,0,0,0,1,0,36.4,0,0,1)}11.96%{-webkit-transform:matrix3d(1.002,0,0,0,0,1,0,0,0,0,1,0,-8.042,0,0,1);transform:matrix3d(1.002,0,0,0,0,1,0,0,0,0,1,0,-8.042,0,0,1)}12.11%{-webkit-transform:matrix3d(1.002,0,0,0,0,1,0,0,0,0,1,0,-9.217,0,0,1);transform:matrix3d(1.002,0,0,0,0,1,0,0,0,0,1,0,-9.217,0,0,1)}15.07%{-webkit-transform:matrix3d(.996,0,0,0,0,1,0,0,0,0,1,0,-21.103,0,0,1);transform:matrix3d(.996,0,0,0,0,1,0,0,0,0,1,0,-21.103,0,0,1)}16.12%{-webkit-transform:matrix3d(.996,0,0,0,0,1,0,0,0,0,1,0,-21.678,0,0,1);transform:matrix3d(.996,0,0,0,0,1,0,0,0,0,1,0,-21.678,0,0,1)}27.23%{-webkit-transform:matrix3d(1,0,0,0,0,1,0,0,0,0,1,0,-3.919,0,0,1);transform:matrix3d(1,0,0,0,0,1,0,0,0,0,1,0,-3.919,0,0,1)}27.58%{-webkit-transform:matrix3d(1,0,0,0,0,1,0,0,0,0,1,0,-3.534,0,0,1);transform:matrix3d(1,0,0,0,0,1,0,0,0,0,1,0,-3.534,0,0,1)}38.34%{-webkit-transform:matrix3d(1,0,0,0,0,1,0,0,0,0,1,0,.518,0,0,1);transform:matrix3d(1,0,0,0,0,1,0,0,0,0,1,0,.518,0,0,1)}40.09%{-webkit-transform:matrix3d(1,0,0,0,0,1,0,0,0,0,1,0,.485,0,0,1);transform:matrix3d(1,0,0,0,0,1,0,0,0,0,1,0,.485,0,0,1)}50%{-webkit-transform:matrix3d(1,0,0,0,0,1,0,0,0,0,1,0,.08,0,0,1);transform:matrix3d(1,0,0,0,0,1,0,0,0,0,1,0,.08,0,0,1)}60.56%{-webkit-transform:matrix3d(1,0,0,0,0,1,0,0,0,0,1,0,-.012,0,0,1);transform:matrix3d(1,0,0,0,0,1,0,0,0,0,1,0,-.012,0,0,1)}100%,82.78%{-webkit-transform:matrix3d(1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1);transform:matrix3d(1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1)}}@keyframes animSlideIn{0%{-webkit-transform:matrix3d(1,0,0,0,0,1,0,0,0,0,1,0,500,0,0,1);transform:matrix3d(1,0,0,0,0,1,0,0,0,0,1,0,500,0,0,1)}1.3%{-webkit-transform:matrix3d(1.207,0,0,0,0,1,0,0,0,0,1,0,395.034,0,0,1);transform:matrix3d(1.207,0,0,0,0,1,0,0,0,0,1,0,395.034,0,0,1)}2.55%{-webkit-transform:matrix3d(1.254,0,0,0,0,1,0,0,0,0,1,0,304.663,0,0,1);transform:matrix3d(1.254,0,0,0,0,1,0,0,0,0,1,0,304.663,0,0,1)}4.1%{-webkit-transform:matrix3d(1.216,0,0,0,0,1,0,0,0,0,1,0,209.854,0,0,1);transform:matrix3d(1.216,0,0,0,0,1,0,0,0,0,1,0,209.854,0,0,1)}5.71%{-webkit-transform:matrix3d(1.146,0,0,0,0,1,0,0,0,0,1,0,132.66,0,0,1);transform:matrix3d(1.146,0,0,0,0,1,0,0,0,0,1,0,132.66,0,0,1)}8.11%{-webkit-transform:matrix3d(1.059,0,0,0,0,1,0,0,0,0,1,0,52.745,0,0,1);transform:matrix3d(1.059,0,0,0,0,1,0,0,0,0,1,0,52.745,0,0,1)}8.81%{-webkit-transform:matrix3d(1.041,0,0,0,0,1,0,0,0,0,1,0,36.4,0,0,1);transform:matrix3d(1.041,0,0,0,0,1,0,0,0,0,1,0,36.4,0,0,1)}11.96%{-webkit-transform:matrix3d(1.002,0,0,0,0,1,0,0,0,0,1,0,-8.042,0,0,1);transform:matrix3d(1.002,0,0,0,0,1,0,0,0,0,1,0,-8.042,0,0,1)}12.11%{-webkit-transform:matrix3d(1.002,0,0,0,0,1,0,0,0,0,1,0,-9.217,0,0,1);transform:matrix3d(1.002,0,0,0,0,1,0,0,0,0,1,0,-9.217,0,0,1)}15.07%{-webkit-transform:matrix3d(.996,0,0,0,0,1,0,0,0,0,1,0,-21.103,0,0,1);transform:matrix3d(.996,0,0,0,0,1,0,0,0,0,1,0,-21.103,0,0,1)}16.12%{-webkit-transform:matrix3d(.996,0,0,0,0,1,0,0,0,0,1,0,-21.678,0,0,1);transform:matrix3d(.996,0,0,0,0,1,0,0,0,0,1,0,-21.678,0,0,1)}27.23%{-webkit-transform:matrix3d(1,0,0,0,0,1,0,0,0,0,1,0,-3.919,0,0,1);transform:matrix3d(1,0,0,0,0,1,0,0,0,0,1,0,-3.919,0,0,1)}27.58%{-webkit-transform:matrix3d(1,0,0,0,0,1,0,0,0,0,1,0,-3.534,0,0,1);transform:matrix3d(1,0,0,0,0,1,0,0,0,0,1,0,-3.534,0,0,1)}38.34%{-webkit-transform:matrix3d(1,0,0,0,0,1,0,0,0,0,1,0,.518,0,0,1);transform:matrix3d(1,0,0,0,0,1,0,0,0,0,1,0,.518,0,0,1)}40.09%{-webkit-transform:matrix3d(1,0,0,0,0,1,0,0,0,0,1,0,.485,0,0,1);transform:matrix3d(1,0,0,0,0,1,0,0,0,0,1,0,.485,0,0,1)}50%{-webkit-transform:matrix3d(1,0,0,0,0,1,0,0,0,0,1,0,.08,0,0,1);transform:matrix3d(1,0,0,0,0,1,0,0,0,0,1,0,.08,0,0,1)}60.56%{-webkit-transform:matrix3d(1,0,0,0,0,1,0,0,0,0,1,0,-.012,0,0,1);transform:matrix3d(1,0,0,0,0,1,0,0,0,0,1,0,-.012,0,0,1)}100%,82.78%{-webkit-transform:matrix3d(1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1);transform:matrix3d(1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1)}}@-webkit-keyframes animSlideOut{0%{-webkit-transform:translate3d(0,0,0)}100%{-webkit-transform:translate3d(300px,0,0) translate3d(100%,0,0)}}@keyframes animSlideOut{0%{-webkit-transform:translate3d(0,0,0);transform:translate3d(0,0,0)}100%{-webkit-transform:translate3d(300px,0,0) translate3d(100%,0,0);transform:translate3d(300px,0,0) translate3d(100%,0,0)}}@-webkit-keyframes animSlideLeft{0%{-webkit-transform:translate3d(0,0,0)}100%{-webkit-transform:translate3d(-300px,0,0) translate3d(-100%,0,0)}}@keyframes animSlideLeft{0%{-webkit-transform:translate3d(0,0,0);transform:translate3d(0,0,0)}100%{-webkit-transform:translate3d(-300px,0,0) translate3d(-100%,0,0);transform:translate3d(-300px,0,0) translate3d(-100%,0,0)}}@-webkit-keyframes animScale{0%{opacity:0;-webkit-transform:translate3d(0,40px,0) scale3d(.1,.6,1)}100%{opacity:1;-webkit-transform:translate3d(0,0,0) scale3d(1,1,1)}}@keyframes animScale{0%{opacity:0;-webkit-transform:translate3d(0,40px,0) scale3d(.1,.6,1);transform:translate3d(0,40px,0) scale3d(.1,.6,1)}100%{opacity:1;-webkit-transform:translate3d(0,0,0) scale3d(1,1,1);transform:translate3d(0,0,0) scale3d(1,1,1)}}@-webkit-keyframes animJelly{0%{-webkit-transform:matrix3d(.3,0,0,0,0,.3,0,0,0,0,1,0,0,0,0,1);transform:matrix3d(.3,0,0,0,0,.3,0,0,0,0,1,0,0,0,0,1)}4.5%{-webkit-transform:matrix3d(.606,0,0,0,0,.64,0,0,0,0,1,0,0,0,0,1);transform:matrix3d(.606,0,0,0,0,.64,0,0,0,0,1,0,0,0,0,1)}5.51%{-webkit-transform:matrix3d(.666,0,0,0,0,.711,0,0,0,0,1,0,0,0,0,1);transform:matrix3d(.666,0,0,0,0,.711,0,0,0,0,1,0,0,0,0,1)}9.01%{-webkit-transform:matrix3d(.843,0,0,0,0,.916,0,0,0,0,1,0,0,0,0,1);transform:matrix3d(.843,0,0,0,0,.916,0,0,0,0,1,0,0,0,0,1)}11.01%{-webkit-transform:matrix3d(.917,0,0,0,0,.997,0,0,0,0,1,0,0,0,0,1);transform:matrix3d(.917,0,0,0,0,.997,0,0,0,0,1,0,0,0,0,1)}13.51%{-webkit-transform:matrix3d(.984,0,0,0,0,1.061,0,0,0,0,1,0,0,0,0,1);transform:matrix3d(.984,0,0,0,0,1.061,0,0,0,0,1,0,0,0,0,1)}16.52%{-webkit-transform:matrix3d(1.033,0,0,0,0,1.094,0,0,0,0,1,0,0,0,0,1);transform:matrix3d(1.033,0,0,0,0,1.094,0,0,0,0,1,0,0,0,0,1)}17.92%{-webkit-transform:matrix3d(1.046,0,0,0,0,1.097,0,0,0,0,1,0,0,0,0,1);transform:matrix3d(1.046,0,0,0,0,1.097,0,0,0,0,1,0,0,0,0,1)}21.92%{-webkit-transform:matrix3d(1.059,0,0,0,0,1.08,0,0,0,0,1,0,0,0,0,1);transform:matrix3d(1.059,0,0,0,0,1.08,0,0,0,0,1,0,0,0,0,1)}29.03%{-webkit-transform:matrix3d(1.039,0,0,0,0,1.023,0,0,0,0,1,0,0,0,0,1);transform:matrix3d(1.039,0,0,0,0,1.023,0,0,0,0,1,0,0,0,0,1)}34.63%{-webkit-transform:matrix3d(1.018,0,0,0,0,.996,0,0,0,0,1,0,0,0,0,1);transform:matrix3d(1.018,0,0,0,0,.996,0,0,0,0,1,0,0,0,0,1)}36.24%{-webkit-transform:matrix3d(1.013,0,0,0,0,.992,0,0,0,0,1,0,0,0,0,1);transform:matrix3d(1.013,0,0,0,0,.992,0,0,0,0,1,0,0,0,0,1)}40.14%{-webkit-transform:matrix3d(1.004,0,0,0,0,.989,0,0,0,0,1,0,0,0,0,1);transform:matrix3d(1.004,0,0,0,0,.989,0,0,0,0,1,0,0,0,0,1)}50.55%{-webkit-transform:matrix3d(.996,0,0,0,0,.997,0,0,0,0,1,0,0,0,0,1);transform:matrix3d(.996,0,0,0,0,.997,0,0,0,0,1,0,0,0,0,1)}62.36%{-webkit-transform:matrix3d(.999,0,0,0,0,1.001,0,0,0,0,1,0,0,0,0,1);transform:matrix3d(.999,0,0,0,0,1.001,0,0,0,0,1,0,0,0,0,1)}100%,79.08%,84.68%{-webkit-transform:matrix3d(1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1);transform:matrix3d(1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1)}}@keyframes animJelly{0%{-webkit-transform:matrix3d(.3,0,0,0,0,.3,0,0,0,0,1,0,0,0,0,1);transform:matrix3d(.3,0,0,0,0,.3,0,0,0,0,1,0,0,0,0,1)}4.5%{-webkit-transform:matrix3d(.606,0,0,0,0,.64,0,0,0,0,1,0,0,0,0,1);transform:matrix3d(.606,0,0,0,0,.64,0,0,0,0,1,0,0,0,0,1)}5.51%{-webkit-transform:matrix3d(.666,0,0,0,0,.711,0,0,0,0,1,0,0,0,0,1);transform:matrix3d(.666,0,0,0,0,.711,0,0,0,0,1,0,0,0,0,1)}9.01%{-webkit-transform:matrix3d(.843,0,0,0,0,.916,0,0,0,0,1,0,0,0,0,1);transform:matrix3d(.843,0,0,0,0,.916,0,0,0,0,1,0,0,0,0,1)}11.01%{-webkit-transform:matrix3d(.917,0,0,0,0,.997,0,0,0,0,1,0,0,0,0,1);transform:matrix3d(.917,0,0,0,0,.997,0,0,0,0,1,0,0,0,0,1)}13.51%{-webkit-transform:matrix3d(.984,0,0,0,0,1.061,0,0,0,0,1,0,0,0,0,1);transform:matrix3d(.984,0,0,0,0,1.061,0,0,0,0,1,0,0,0,0,1)}16.52%{-webkit-transform:matrix3d(1.033,0,0,0,0,1.094,0,0,0,0,1,0,0,0,0,1);transform:matrix3d(1.033,0,0,0,0,1.094,0,0,0,0,1,0,0,0,0,1)}17.92%{-webkit-transform:matrix3d(1.046,0,0,0,0,1.097,0,0,0,0,1,0,0,0,0,1);transform:matrix3d(1.046,0,0,0,0,1.097,0,0,0,0,1,0,0,0,0,1)}21.92%{-webkit-transform:matrix3d(1.059,0,0,0,0,1.08,0,0,0,0,1,0,0,0,0,1);transform:matrix3d(1.059,0,0,0,0,1.08,0,0,0,0,1,0,0,0,0,1)}29.03%{-webkit-transform:matrix3d(1.039,0,0,0,0,1.023,0,0,0,0,1,0,0,0,0,1);transform:matrix3d(1.039,0,0,0,0,1.023,0,0,0,0,1,0,0,0,0,1)}34.63%{-webkit-transform:matrix3d(1.018,0,0,0,0,.996,0,0,0,0,1,0,0,0,0,1);transform:matrix3d(1.018,0,0,0,0,.996,0,0,0,0,1,0,0,0,0,1)}36.24%{-webkit-transform:matrix3d(1.013,0,0,0,0,.992,0,0,0,0,1,0,0,0,0,1);transform:matrix3d(1.013,0,0,0,0,.992,0,0,0,0,1,0,0,0,0,1)}40.14%{-webkit-transform:matrix3d(1.004,0,0,0,0,.989,0,0,0,0,1,0,0,0,0,1);transform:matrix3d(1.004,0,0,0,0,.989,0,0,0,0,1,0,0,0,0,1)}50.55%{-webkit-transform:matrix3d(.996,0,0,0,0,.997,0,0,0,0,1,0,0,0,0,1);transform:matrix3d(.996,0,0,0,0,.997,0,0,0,0,1,0,0,0,0,1)}62.36%{-webkit-transform:matrix3d(.999,0,0,0,0,1.001,0,0,0,0,1,0,0,0,0,1);transform:matrix3d(.999,0,0,0,0,1.001,0,0,0,0,1,0,0,0,0,1)}100%,79.08%,84.68%{-webkit-transform:matrix3d(1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1);transform:matrix3d(1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1)}}@-webkit-keyframes animJellyThreeQuarterScale{0%{-webkit-transform:matrix3d(.2,0,0,0,0,.2,0,0,0,0,1,0,0,0,0,1);transform:matrix3d(.2,0,0,0,0,.2,0,0,0,0,1,0,0,0,0,1)}2.4%{-webkit-transform:matrix3d(.447,0,0,0,0,.478,0,0,0,0,1,0,0,-12.759,0,1);transform:matrix3d(.447,0,0,0,0,.478,0,0,0,0,1,0,0,-12.759,0,1)}3.28%{-webkit-transform:matrix3d(.519,0,0,0,0,.565,0,0,0,0,1,0,0,-20.381,0,1);transform:matrix3d(.519,0,0,0,0,.565,0,0,0,0,1,0,0,-20.381,0,1)}4.3%{-webkit-transform:matrix3d(.589,0,0,0,0,.649,0,0,0,0,1,0,0,-30.025,0,1);transform:matrix3d(.589,0,0,0,0,.649,0,0,0,0,1,0,0,-30.025,0,1)}4.8%{-webkit-transform:matrix3d(.618,0,0,0,0,.682,0,0,0,0,1,0,0,-34.797,0,1);transform:matrix3d(.618,0,0,0,0,.682,0,0,0,0,1,0,0,-34.797,0,1)}6.49%{-webkit-transform:matrix3d(.692,0,0,0,0,.762,0,0,0,0,1,0,0,-49.647,0,1);transform:matrix3d(.692,0,0,0,0,.762,0,0,0,0,1,0,0,-49.647,0,1)}7.21%{-webkit-transform:matrix3d(.715,0,0,0,0,.782,0,0,0,0,1,0,0,-55.053,0,1);transform:matrix3d(.715,0,0,0,0,.782,0,0,0,0,1,0,0,-55.053,0,1)}8.61%{-webkit-transform:matrix3d(.746,0,0,0,0,.803,0,0,0,0,1,0,0,-63.487,0,1);transform:matrix3d(.746,0,0,0,0,.803,0,0,0,0,1,0,0,-63.487,0,1)}9.61%{-webkit-transform:matrix3d(.759,0,0,0,0,.806,0,0,0,0,1,0,0,-67.836,0,1);transform:matrix3d(.759,0,0,0,0,.806,0,0,0,0,1,0,0,-67.836,0,1)}9.69%{-webkit-transform:matrix3d(.76,0,0,0,0,.806,0,0,0,0,1,0,0,-68.128,0,1);transform:matrix3d(.76,0,0,0,0,.806,0,0,0,0,1,0,0,-68.128,0,1)}12.89%{-webkit-transform:matrix3d(.774,0,0,0,0,.786,0,0,0,0,1,0,0,-74.433,0,1);transform:matrix3d(.774,0,0,0,0,.786,0,0,0,0,1,0,0,-74.433,0,1)}12.91%{-webkit-transform:matrix3d(.774,0,0,0,0,.786,0,0,0,0,1,0,0,-74.447,0,1);transform:matrix3d(.774,0,0,0,0,.786,0,0,0,0,1,0,0,-74.447,0,1)}15.78%{-webkit-transform:matrix3d(.769,0,0,0,0,.763,0,0,0,0,1,0,0,-74.797,0,1);transform:matrix3d(.769,0,0,0,0,.763,0,0,0,0,1,0,0,-74.797,0,1)}17.22%{-webkit-transform:matrix3d(.765,0,0,0,0,.755,0,0,0,0,1,0,0,-74.255,0,1);transform:matrix3d(.765,0,0,0,0,.755,0,0,0,0,1,0,0,-74.255,0,1)}21.78%{-webkit-transform:matrix3d(.754,0,0,0,0,.746,0,0,0,0,1,0,0,-71.836,0,1);transform:matrix3d(.754,0,0,0,0,.746,0,0,0,0,1,0,0,-71.836,0,1)}21.94%{-webkit-transform:matrix3d(.754,0,0,0,0,.746,0,0,0,0,1,0,0,-71.749,0,1);transform:matrix3d(.754,0,0,0,0,.746,0,0,0,0,1,0,0,-71.749,0,1)}28.33%{-webkit-transform:matrix3d(.75,0,0,0,0,.749,0,0,0,0,1,0,0,-68.815,0,1);transform:matrix3d(.75,0,0,0,0,.749,0,0,0,0,1,0,0,-68.815,0,1)}30.67%{-webkit-transform:matrix3d(.749,0,0,0,0,.75,0,0,0,0,1,0,0,-68.09,0,1);transform:matrix3d(.749,0,0,0,0,.75,0,0,0,0,1,0,0,-68.09,0,1)}34.27%{-webkit-transform:matrix3d(.75,0,0,0,0,.75,0,0,0,0,1,0,0,-67.391,0,1);transform:matrix3d(.75,0,0,0,0,.75,0,0,0,0,1,0,0,-67.391,0,1)}39.44%{-webkit-transform:matrix3d(.75,0,0,0,0,.75,0,0,0,0,1,0,0,-67.089,0,1);transform:matrix3d(.75,0,0,0,0,.75,0,0,0,0,1,0,0,-67.089,0,1)}46.61%{-webkit-transform:matrix3d(.75,0,0,0,0,.75,0,0,0,0,1,0,0,-67.277,0,1);transform:matrix3d(.75,0,0,0,0,.75,0,0,0,0,1,0,0,-67.277,0,1)}48.45%{-webkit-transform:matrix3d(.75,0,0,0,0,.75,0,0,0,0,1,0,0,-67.342,0,1);transform:matrix3d(.75,0,0,0,0,.75,0,0,0,0,1,0,0,-67.342,0,1)}58.94%{-webkit-transform:matrix3d(.75,0,0,0,0,.75,0,0,0,0,1,0,0,-67.524,0,1);transform:matrix3d(.75,0,0,0,0,.75,0,0,0,0,1,0,0,-67.524,0,1)}61.66%{-webkit-transform:matrix3d(.75,0,0,0,0,.75,0,0,0,0,1,0,0,-67.528,0,1);transform:matrix3d(.75,0,0,0,0,.75,0,0,0,0,1,0,0,-67.528,0,1)}66.23%{-webkit-transform:matrix3d(.75,0,0,0,0,.75,0,0,0,0,1,0,0,-67.521,0,1);transform:matrix3d(.75,0,0,0,0,.75,0,0,0,0,1,0,0,-67.521,0,1)}71.19%{-webkit-transform:matrix3d(.75,0,0,0,0,.75,0,0,0,0,1,0,0,-67.509,0,1);transform:matrix3d(.75,0,0,0,0,.75,0,0,0,0,1,0,0,-67.509,0,1)}80%{-webkit-transform:matrix3d(.75,0,0,0,0,.75,0,0,0,0,1,0,0,-67.499,0,1);transform:matrix3d(.75,0,0,0,0,.75,0,0,0,0,1,0,0,-67.499,0,1)}83.98%{-webkit-transform:matrix3d(.75,0,0,0,0,.75,0,0,0,0,1,0,0,-67.498,0,1);transform:matrix3d(.75,0,0,0,0,.75,0,0,0,0,1,0,0,-67.498,0,1)}100%{-webkit-transform:matrix3d(.75,0,0,0,0,.75,0,0,0,0,1,0,0,-67.5,0,1);transform:matrix3d(.75,0,0,0,0,.75,0,0,0,0,1,0,0,-67.5,0,1)}}@keyframes animJellyThreeQuarterScale{0%{-webkit-transform:matrix3d(.2,0,0,0,0,.2,0,0,0,0,1,0,0,0,0,1);transform:matrix3d(.2,0,0,0,0,.2,0,0,0,0,1,0,0,0,0,1)}2.4%{-webkit-transform:matrix3d(.447,0,0,0,0,.478,0,0,0,0,1,0,0,-12.759,0,1);transform:matrix3d(.447,0,0,0,0,.478,0,0,0,0,1,0,0,-12.759,0,1)}3.28%{-webkit-transform:matrix3d(.519,0,0,0,0,.565,0,0,0,0,1,0,0,-20.381,0,1);transform:matrix3d(.519,0,0,0,0,.565,0,0,0,0,1,0,0,-20.381,0,1)}4.3%{-webkit-transform:matrix3d(.589,0,0,0,0,.649,0,0,0,0,1,0,0,-30.025,0,1);transform:matrix3d(.589,0,0,0,0,.649,0,0,0,0,1,0,0,-30.025,0,1)}4.8%{-webkit-transform:matrix3d(.618,0,0,0,0,.682,0,0,0,0,1,0,0,-34.797,0,1);transform:matrix3d(.618,0,0,0,0,.682,0,0,0,0,1,0,0,-34.797,0,1)}6.49%{-webkit-transform:matrix3d(.692,0,0,0,0,.762,0,0,0,0,1,0,0,-49.647,0,1);transform:matrix3d(.692,0,0,0,0,.762,0,0,0,0,1,0,0,-49.647,0,1)}7.21%{-webkit-transform:matrix3d(.715,0,0,0,0,.782,0,0,0,0,1,0,0,-55.053,0,1);transform:matrix3d(.715,0,0,0,0,.782,0,0,0,0,1,0,0,-55.053,0,1)}8.61%{-webkit-transform:matrix3d(.746,0,0,0,0,.803,0,0,0,0,1,0,0,-63.487,0,1);transform:matrix3d(.746,0,0,0,0,.803,0,0,0,0,1,0,0,-63.487,0,1)}9.61%{-webkit-transform:matrix3d(.759,0,0,0,0,.806,0,0,0,0,1,0,0,-67.836,0,1);transform:matrix3d(.759,0,0,0,0,.806,0,0,0,0,1,0,0,-67.836,0,1)}9.69%{-webkit-transform:matrix3d(.76,0,0,0,0,.806,0,0,0,0,1,0,0,-68.128,0,1);transform:matrix3d(.76,0,0,0,0,.806,0,0,0,0,1,0,0,-68.128,0,1)}12.89%{-webkit-transform:matrix3d(.774,0,0,0,0,.786,0,0,0,0,1,0,0,-74.433,0,1);transform:matrix3d(.774,0,0,0,0,.786,0,0,0,0,1,0,0,-74.433,0,1)}12.91%{-webkit-transform:matrix3d(.774,0,0,0,0,.786,0,0,0,0,1,0,0,-74.447,0,1);transform:matrix3d(.774,0,0,0,0,.786,0,0,0,0,1,0,0,-74.447,0,1)}15.78%{-webkit-transform:matrix3d(.769,0,0,0,0,.763,0,0,0,0,1,0,0,-74.797,0,1);transform:matrix3d(.769,0,0,0,0,.763,0,0,0,0,1,0,0,-74.797,0,1)}17.22%{-webkit-transform:matrix3d(.765,0,0,0,0,.755,0,0,0,0,1,0,0,-74.255,0,1);transform:matrix3d(.765,0,0,0,0,.755,0,0,0,0,1,0,0,-74.255,0,1)}21.78%{-webkit-transform:matrix3d(.754,0,0,0,0,.746,0,0,0,0,1,0,0,-71.836,0,1);transform:matrix3d(.754,0,0,0,0,.746,0,0,0,0,1,0,0,-71.836,0,1)}21.94%{-webkit-transform:matrix3d(.754,0,0,0,0,.746,0,0,0,0,1,0,0,-71.749,0,1);transform:matrix3d(.754,0,0,0,0,.746,0,0,0,0,1,0,0,-71.749,0,1)}28.33%{-webkit-transform:matrix3d(.75,0,0,0,0,.749,0,0,0,0,1,0,0,-68.815,0,1);transform:matrix3d(.75,0,0,0,0,.749,0,0,0,0,1,0,0,-68.815,0,1)}30.67%{-webkit-transform:matrix3d(.749,0,0,0,0,.75,0,0,0,0,1,0,0,-68.09,0,1);transform:matrix3d(.749,0,0,0,0,.75,0,0,0,0,1,0,0,-68.09,0,1)}34.27%{-webkit-transform:matrix3d(.75,0,0,0,0,.75,0,0,0,0,1,0,0,-67.391,0,1);transform:matrix3d(.75,0,0,0,0,.75,0,0,0,0,1,0,0,-67.391,0,1)}39.44%{-webkit-transform:matrix3d(.75,0,0,0,0,.75,0,0,0,0,1,0,0,-67.089,0,1);transform:matrix3d(.75,0,0,0,0,.75,0,0,0,0,1,0,0,-67.089,0,1)}46.61%{-webkit-transform:matrix3d(.75,0,0,0,0,.75,0,0,0,0,1,0,0,-67.277,0,1);transform:matrix3d(.75,0,0,0,0,.75,0,0,0,0,1,0,0,-67.277,0,1)}48.45%{-webkit-transform:matrix3d(.75,0,0,0,0,.75,0,0,0,0,1,0,0,-67.342,0,1);transform:matrix3d(.75,0,0,0,0,.75,0,0,0,0,1,0,0,-67.342,0,1)}58.94%{-webkit-transform:matrix3d(.75,0,0,0,0,.75,0,0,0,0,1,0,0,-67.524,0,1);transform:matrix3d(.75,0,0,0,0,.75,0,0,0,0,1,0,0,-67.524,0,1)}61.66%{-webkit-transform:matrix3d(.75,0,0,0,0,.75,0,0,0,0,1,0,0,-67.528,0,1);transform:matrix3d(.75,0,0,0,0,.75,0,0,0,0,1,0,0,-67.528,0,1)}66.23%{-webkit-transform:matrix3d(.75,0,0,0,0,.75,0,0,0,0,1,0,0,-67.521,0,1);transform:matrix3d(.75,0,0,0,0,.75,0,0,0,0,1,0,0,-67.521,0,1)}71.19%{-webkit-transform:matrix3d(.75,0,0,0,0,.75,0,0,0,0,1,0,0,-67.509,0,1);transform:matrix3d(.75,0,0,0,0,.75,0,0,0,0,1,0,0,-67.509,0,1)}80%{-webkit-transform:matrix3d(.75,0,0,0,0,.75,0,0,0,0,1,0,0,-67.499,0,1);transform:matrix3d(.75,0,0,0,0,.75,0,0,0,0,1,0,0,-67.499,0,1)}83.98%{-webkit-transform:matrix3d(.75,0,0,0,0,.75,0,0,0,0,1,0,0,-67.498,0,1);transform:matrix3d(.75,0,0,0,0,.75,0,0,0,0,1,0,0,-67.498,0,1)}100%{-webkit-transform:matrix3d(.75,0,0,0,0,.75,0,0,0,0,1,0,0,-67.5,0,1);transform:matrix3d(.75,0,0,0,0,.75,0,0,0,0,1,0,0,-67.5,0,1)}}@-webkit-keyframes fadeToThreeQuarters{0%{opacity:0}100%{opacity:.75}}@keyframes fadeToThreeQuarters{0%{opacity:0}100%{opacity:.75}}@-webkit-keyframes fadeFromThreeQuarters{0%{opacity:.75}100%{opacity:0}}@keyframes fadeFromThreeQuarters{0%{opacity:.75}100%{opacity:0}}@-webkit-keyframes slideUp{0%{-webkit-transform:matrix3d(1,0,0,0,0,1,0,0,0,0,1,0,0,3000,0,1);transform:matrix3d(1,0,0,0,0,1,0,0,0,0,1,0,0,3000,0,1)}2.1%{-webkit-transform:matrix3d(1,0,0,0,0,1,0,0,0,0,1,0,0,2097.078,0,1);transform:matrix3d(1,0,0,0,0,1,0,0,0,0,1,0,0,2097.078,0,1)}4.2%{-webkit-transform:matrix3d(1,0,0,0,0,1,0,0,0,0,1,0,0,1451.432,0,1);transform:matrix3d(1,0,0,0,0,1,0,0,0,0,1,0,0,1451.432,0,1)}8.41%{-webkit-transform:matrix3d(1,0,0,0,0,1,0,0,0,0,1,0,0,673.918,0,1);transform:matrix3d(1,0,0,0,0,1,0,0,0,0,1,0,0,673.918,0,1)}12.61%{-webkit-transform:matrix3d(1,0,0,0,0,1,0,0,0,0,1,0,0,298.665,0,1);transform:matrix3d(1,0,0,0,0,1,0,0,0,0,1,0,0,298.665,0,1)}16.72%{-webkit-transform:matrix3d(1,0,0,0,0,1,0,0,0,0,1,0,0,127.615,0,1);transform:matrix3d(1,0,0,0,0,1,0,0,0,0,1,0,0,127.615,0,1)}25.03%{-webkit-transform:matrix3d(1,0,0,0,0,1,0,0,0,0,1,0,0,17.095,0,1);transform:matrix3d(1,0,0,0,0,1,0,0,0,0,1,0,0,17.095,0,1)}33.33%{-webkit-transform:matrix3d(1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1);transform:matrix3d(1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1)}39.14%{-webkit-transform:matrix3d(1,0,0,0,0,1,0,0,0,0,1,0,0,1.13,0,1);transform:matrix3d(1,0,0,0,0,1,0,0,0,0,1,0,0,1.13,0,1)}100%{-webkit-transform:matrix3d(1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1);transform:matrix3d(1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1)}}@keyframes slideUp{0%{-webkit-transform:matrix3d(1,0,0,0,0,1,0,0,0,0,1,0,0,3000,0,1);transform:matrix3d(1,0,0,0,0,1,0,0,0,0,1,0,0,3000,0,1)}2.1%{-webkit-transform:matrix3d(1,0,0,0,0,1,0,0,0,0,1,0,0,2097.078,0,1);transform:matrix3d(1,0,0,0,0,1,0,0,0,0,1,0,0,2097.078,0,1)}4.2%{-webkit-transform:matrix3d(1,0,0,0,0,1,0,0,0,0,1,0,0,1451.432,0,1);transform:matrix3d(1,0,0,0,0,1,0,0,0,0,1,0,0,1451.432,0,1)}8.41%{-webkit-transform:matrix3d(1,0,0,0,0,1,0,0,0,0,1,0,0,673.918,0,1);transform:matrix3d(1,0,0,0,0,1,0,0,0,0,1,0,0,673.918,0,1)}12.61%{-webkit-transform:matrix3d(1,0,0,0,0,1,0,0,0,0,1,0,0,298.665,0,1);transform:matrix3d(1,0,0,0,0,1,0,0,0,0,1,0,0,298.665,0,1)}16.72%{-webkit-transform:matrix3d(1,0,0,0,0,1,0,0,0,0,1,0,0,127.615,0,1);transform:matrix3d(1,0,0,0,0,1,0,0,0,0,1,0,0,127.615,0,1)}25.03%{-webkit-transform:matrix3d(1,0,0,0,0,1,0,0,0,0,1,0,0,17.095,0,1);transform:matrix3d(1,0,0,0,0,1,0,0,0,0,1,0,0,17.095,0,1)}33.33%{-webkit-transform:matrix3d(1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1);transform:matrix3d(1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1)}39.14%{-webkit-transform:matrix3d(1,0,0,0,0,1,0,0,0,0,1,0,0,1.13,0,1);transform:matrix3d(1,0,0,0,0,1,0,0,0,0,1,0,0,1.13,0,1)}100%{-webkit-transform:matrix3d(1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1);transform:matrix3d(1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1)}}.ab-in-app-message{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;position:fixed;text-align:center;-webkit-box-shadow:0 1px 3px rgba(0,0,0,.2);-moz-box-shadow:0 1px 3px rgba(0,0,0,.2);box-shadow:0 1px 3px rgba(0,0,0,.2);line-height:normal;letter-spacing:normal;z-index:1050}.ab-in-app-message.ab-clickable{cursor:pointer}.ab-in-app-message .ab-background,.ab-in-app-message .ab-mask{position:absolute;top:0;bottom:0;left:0;right:0;z-index:-1}.ab-in-app-message .ab-mask{background-color:#cfcfcf}.ab-in-app-message .ab-close-button{display:block;cursor:pointer;position:absolute;z-index:1060}.ab-in-app-message .ab-message-text{margin:20px;overflow:hidden;vertical-align:text-bottom;word-wrap:break-word;white-space:pre-wrap;max-width:100%}.ab-in-app-message .ab-message-text.start-aligned{text-align:left;text-align:start}.ab-in-app-message .ab-message-text.end-aligned{text-align:right;text-align:end}.ab-in-app-message .ab-message-text.center-aligned{text-align:center}.ab-in-app-message .ab-message-text::-webkit-scrollbar{-webkit-appearance:none;width:9px}.ab-in-app-message .ab-message-text::-webkit-scrollbar-thumb{-webkit-appearance:none;-webkit-border-radius:8px;-moz-border-radius:8px;border-radius:8px;background-color:rgba(0,0,0,.4)}.ab-in-app-message .ab-message-header{display:block;font-weight:700;font-size:19px;margin-bottom:14px;line-height:23px}.ab-in-app-message .ab-message-header.start-aligned{text-align:left;text-align:start}.ab-in-app-message .ab-message-header.end-aligned{text-align:right;text-align:end}.ab-in-app-message .ab-message-header.center-aligned{text-align:center}.ab-in-app-message.ab-slideup{cursor:pointer;margin:20px;padding:10px;-webkit-border-radius:3px;-moz-border-radius:3px;border-radius:3px;overflow:hidden;word-wrap:break-word;text-overflow:ellipsis;right:0;font-size:13px}.ab-in-app-message.ab-slideup .ab-close-button{right:8px;top:8px;-webkit-transition:.2s;-moz-transition:.2s;-o-transition:.2s;transition:.2s}.ab-in-app-message.ab-slideup .ab-close-button:hover{font-size:18px;right:6px;top:6px}.ab-in-app-message.ab-slideup .ab-message-text{display:inline-block;margin:5px 15px 5px 10px;max-height:200px;max-width:440px}.ab-in-app-message.ab-slideup .ab-image-area{display:inline-block;width:60px;vertical-align:top;margin:5px 0 5px 5px}.ab-in-app-message.ab-slideup .ab-image-area.ab-icon-area{width:auto}.ab-in-app-message.ab-slideup .ab-image-area~.ab-message-text{max-height:60px}.ab-in-app-message.ab-slideup .ab-image-area img{width:100%}.ab-in-app-message.ab-fullscreen,.ab-in-app-message.ab-modal{right:0;left:0;margin-right:auto;margin-left:auto;font-size:14px;-webkit-border-radius:10px;-moz-border-radius:10px;border-radius:10px}.ab-in-app-message.ab-fullscreen .ab-background,.ab-in-app-message.ab-fullscreen .ab-mask,.ab-in-app-message.ab-modal .ab-background,.ab-in-app-message.ab-modal .ab-mask{-webkit-border-radius:10px;-moz-border-radius:10px;border-radius:10px;overflow:hidden}.ab-in-app-message.ab-fullscreen .ab-message-text,.ab-in-app-message.ab-modal .ab-message-text{overflow-y:auto;line-height:normal}.ab-in-app-message.ab-fullscreen .ab-close-button,.ab-in-app-message.ab-modal .ab-close-button{right:10px;top:10px;font-size:20px;width:20px;height:20px;-webkit-border-radius:10px;-moz-border-radius:10px;border-radius:10px;text-align:center}.ab-in-app-message.ab-fullscreen .ab-close-button .fa,.ab-in-app-message.ab-modal .ab-close-button .fa{line-height:20px}.ab-in-app-message.ab-fullscreen .ab-image-area,.ab-in-app-message.ab-modal .ab-image-area{position:relative;display:block;-webkit-border-radius:10px 10px 0 0;-moz-border-radius:10px 10px 0 0;border-radius:10px 10px 0 0;overflow:hidden}.ab-in-app-message.ab-fullscreen .ab-image-area img,.ab-in-app-message.ab-modal .ab-image-area img{position:relative;top:50%;-webkit-transform:translateY(-50%);-ms-transform:translateY(-50%);transform:translateY(-50%)}.ab-in-app-message.ab-fullscreen .ab-image-area .ab-center-cropped-img,.ab-in-app-message.ab-modal .ab-image-area .ab-center-cropped-img{background-size:cover;background-repeat:no-repeat;background-position:50% 50%;position:absolute;top:0;right:0;bottom:0;left:0}.ab-in-app-message.ab-fullscreen .ab-icon,.ab-in-app-message.ab-modal .ab-icon{margin-top:20px}.ab-in-app-message.ab-fullscreen.graphic,.ab-in-app-message.ab-modal.graphic{padding:0}.ab-in-app-message.ab-fullscreen.graphic .ab-message-text,.ab-in-app-message.ab-modal.graphic .ab-message-text{display:none}.ab-in-app-message.ab-fullscreen.graphic .ab-message-buttons,.ab-in-app-message.ab-modal.graphic .ab-message-buttons{bottom:0;left:0}.ab-in-app-message.ab-fullscreen.graphic .ab-message-buttons .ab-background,.ab-in-app-message.ab-fullscreen.graphic .ab-message-buttons .ab-mask,.ab-in-app-message.ab-modal.graphic .ab-message-buttons .ab-background,.ab-in-app-message.ab-modal.graphic .ab-message-buttons .ab-mask{background-color:transparent}.ab-in-app-message.ab-fullscreen.graphic .ab-image-area,.ab-in-app-message.ab-modal.graphic .ab-image-area{height:auto;margin:0;-webkit-border-radius:10px;-moz-border-radius:10px;border-radius:10px}.ab-in-app-message.ab-fullscreen .ab-message-buttons~.ab-message-text,.ab-in-app-message.ab-modal .ab-message-buttons~.ab-message-text{margin-bottom:80px}.ab-in-app-message.ab-fullscreen.graphic .ab-image-area img,.ab-in-app-message.ab-modal.graphic .ab-image-area img{display:block;top:0;-webkit-transform:none;-ms-transform:none;transform:none}.ab-in-app-message.ab-modal{padding-top:20px;top:20%;width:290px;max-width:290px;max-height:320px}.ab-in-app-message.ab-modal .ab-message-text{max-height:121px}.ab-in-app-message.ab-modal .ab-image-area{margin-top:-20px;height:100px}.ab-in-app-message.ab-modal .ab-image-area img{max-width:100%;max-height:100%}.ab-in-app-message.ab-modal .ab-image-area.ab-icon-area{height:auto}.ab-in-app-message.ab-modal.graphic{width:auto;overflow:hidden}.ab-in-app-message.ab-modal.graphic .ab-image-area{display:inline}.ab-in-app-message.ab-modal.graphic .ab-image-area img{max-height:320px;max-width:290px}.ab-in-app-message.ab-fullscreen{top:8%;-webkit-transition:top .4s;-moz-transition:top .4s;-o-transition:top .4s;transition:top .4s;width:400px;max-height:640px}.ab-in-app-message.ab-fullscreen.landscape{width:640px;max-height:400px}.ab-in-app-message.ab-fullscreen.landscape .ab-image-area{height:200px}.ab-in-app-message.ab-fullscreen.landscape.graphic .ab-image-area{height:400px}.ab-in-app-message.ab-fullscreen.landscape .ab-message-text{max-height:100px}.ab-in-app-message.ab-fullscreen .ab-message-text{max-height:220px}.ab-in-app-message.ab-fullscreen .ab-image-area{height:320px}.ab-in-app-message.ab-fullscreen.graphic .ab-image-area{height:640px}.ab-in-app-message.ab-html-message{background-color:transparent;border:none;top:0;right:0;bottom:0;left:0;width:100%;height:100%}.ab-in-app-message.ab-html-message.ab-show{-webkit-animation-name:slideUp;animation-name:slideUp;-webkit-animation-duration:1s;animation-duration:1s;-webkit-animation-timing-function:linear;animation-timing-function:linear}.ab-in-app-message.ab-html-message.ab-hide{-webkit-transition:.25s;-moz-transition:.25s;-o-transition:.25s;transition:.25s;-webkit-animation-name:none;animation-name:none;-webkit-animation-duration:0;animation-duration:0;-webkit-animation-timing-function:linear;animation-timing-function:linear;top:100%}.ab-in-app-message .ab-message-buttons{position:absolute;bottom:0;width:100%;padding:15px 20px 20px;z-index:inherit;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}.ab-in-app-message .ab-message-button{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;-webkit-border-radius:3px;-moz-border-radius:3px;border-radius:3px;-webkit-box-shadow:none;-moz-box-shadow:none;box-shadow:none;border:none;display:inline-block;font-size:12px;font-weight:700;height:auto;line-height:normal;letter-spacing:normal;padding:14px 10px;text-transform:none;margin:0;width:48%;cursor:pointer;overflow:hidden;text-overflow:ellipsis;word-wrap:normal;white-space:nowrap}.ab-feed,.ab-feed .ab-feed-body{-webkit-box-sizing:border-box;-moz-box-sizing:border-box}.ab-in-app-message .ab-message-button:first-of-type{float:left}.ab-in-app-message .ab-message-button:last-of-type{float:right}.ab-in-app-message .ab-message-button:first-of-type:last-of-type{width:100%}.ab-in-app-message .ab-message-button a{color:inherit;text-decoration:inherit}.ab-in-app-message img{display:inline-block}.ab-in-app-message .ab-icon{display:inline-block;padding:10px;-webkit-border-radius:10px;-moz-border-radius:10px;border-radius:10px}.ab-in-app-message .ab-icon .fa{font-size:30px;width:30px}.ab-start-hidden{visibility:hidden}.ab-effect-slide.ab-show{-webkit-animation-name:animSlideIn;animation-name:animSlideIn;-webkit-animation-duration:1.25s;animation-duration:1.25s;-webkit-animation-timing-function:linear;animation-timing-function:linear}.ab-effect-slide.ab-hide{-webkit-animation-name:animSlideOut;animation-name:animSlideOut;-webkit-animation-duration:.25s;animation-duration:.25s;-webkit-animation-timing-function:linear;animation-timing-function:linear}.ab-effect-fullscreen.ab-show,.ab-effect-modal.ab-show{-webkit-animation-name:animJelly;animation-name:animJelly;-webkit-animation-duration:.8s;animation-duration:.8s;-webkit-animation-timing-function:linear;animation-timing-function:linear}.ab-effect-fullscreen.ab-hide,.ab-effect-modal.ab-hide{-webkit-animation-name:animScale;animation-name:animScale;-webkit-animation-duration:.25s;animation-duration:.25s;-webkit-animation-timing-function:linear;animation-timing-function:linear;-webkit-animation-direction:reverse;animation-direction:reverse;animation-fill-mode:forwards;-webkit-transition:.25s;-moz-transition:.25s;-o-transition:.25s;transition:.25s}.ab-centering-div{position:fixed;text-align:center;z-index:1050;top:0;right:0;bottom:0;left:0;pointer-events:none}.ab-centering-div .ab-in-app-message{display:inline-block;pointer-events:all}@media (max-width:750px){.ab-in-app-message.ab-slideup{width:90%;margin:5%}.ab-in-app-message.ab-slideup .ab-message-text{margin:2%;max-width:100%}.ab-in-app-message.ab-slideup .ab-image-area{width:20%;margin:2%}.ab-in-app-message.ab-slideup .ab-image-area~.ab-message-text{max-width:72%}.ab-in-app-message.ab-slideup .ab-image-area img{width:100%}.ab-in-app-message.ab-fullscreen,.ab-in-app-message.ab-fullscreen.landscape{top:0;height:100%;width:100%;max-height:none;-webkit-border-radius:0;-moz-border-radius:0;border-radius:0}.ab-in-app-message.ab-fullscreen .ab-background,.ab-in-app-message.ab-fullscreen .ab-mask,.ab-in-app-message.ab-fullscreen.landscape .ab-background,.ab-in-app-message.ab-fullscreen.landscape .ab-mask{-webkit-border-radius:0;-moz-border-radius:0;border-radius:0}.ab-in-app-message.ab-fullscreen.ab-effect-fullscreen.ab-show,.ab-in-app-message.ab-fullscreen.landscape.ab-effect-fullscreen.ab-show{-webkit-animation-name:slideUp;animation-name:slideUp;-webkit-animation-duration:1s;animation-duration:1s;-webkit-animation-timing-function:linear;animation-timing-function:linear}.ab-in-app-message.ab-fullscreen.ab-effect-fullscreen.ab-hide,.ab-in-app-message.ab-fullscreen.landscape.ab-effect-fullscreen.ab-hide{-webkit-animation-name:none;animation-name:none;-webkit-animation-duration:0;animation-duration:0;-webkit-animation-timing-function:linear;animation-timing-function:linear;top:100%}.ab-in-app-message.ab-fullscreen .ab-image-area,.ab-in-app-message.ab-fullscreen.landscape .ab-image-area{height:50%;-webkit-border-radius:0;-moz-border-radius:0;border-radius:0}.ab-in-app-message.ab-fullscreen .ab-message-text,.ab-in-app-message.ab-fullscreen.landscape .ab-message-text{top:50%;right:0;bottom:0;left:0;position:absolute;height:auto;max-height:none}.ab-in-app-message.ab-fullscreen.graphic,.ab-in-app-message.ab-fullscreen.landscape.graphic{display:block}.ab-in-app-message.ab-fullscreen.graphic .ab-image-area,.ab-in-app-message.ab-fullscreen.landscape.graphic .ab-image-area{height:100%;-webkit-border-radius:0;-moz-border-radius:0;border-radius:0}.ab-in-app-message.ab-fullscreen .ab-close-button,.ab-in-app-message.ab-fullscreen.landscape .ab-close-button{font-size:6vw;width:6vw;height:6vw;-webkit-border-radius:3vw;-moz-border-radius:3vw;border-radius:3vw;right:3vw;top:3vw}}@media (max-device-width:750px) and (orientation:landscape){.ab-in-app-message.ab-modal{top:0;margin:0}.ab-in-app-message.ab-fullscreen .ab-close-button,.ab-in-app-message.ab-fullscreen.landscape .ab-close-button{font-size:6vh;width:6vh;height:6vh;-webkit-border-radius:3vh;-moz-border-radius:3vh;border-radius:3vh;right:3vh;top:3vh}}@media (min-device-width:321px) and (max-device-width:750px) and (orientation:landscape){.ab-in-app-message.ab-modal{margin-top:20px}}@media (min-device-width:751px) and (max-device-width:1024px) and (orientation:landscape){.ab-in-app-message.ab-fullscreen:not(.landscape){top:0;margin-top:20px}}@media (min-width:751px){.ab-in-app-message.ab-fullscreen .ab-image-area img{max-height:100%;max-width:100%}}@media (max-height:790px) and (min-width:751px){.ab-in-app-message.ab-fullscreen:not(.landscape){margin-top:2%;top:0}}@media (max-height:650px) and (min-width:751px){.ab-in-app-message.ab-fullscreen:not(.landscape).ab-effect-fullscreen.ab-show{-webkit-animation-name:animJellyThreeQuarterScale;animation-name:animJellyThreeQuarterScale;-webkit-animation-duration:.4s;animation-duration:.4s;-webkit-animation-timing-function:linear;animation-timing-function:linear;animation-fill-mode:both}.ab-in-app-message.ab-fullscreen:not(.landscape).ab-effect-fullscreen.ab-hide{-webkit-animation-name:animJellyThreeQuarterScale;animation-name:animJellyThreeQuarterScale;-webkit-animation-duration:.25s;animation-duration:.25s;-webkit-animation-timing-function:linear;animation-timing-function:linear;-webkit-animation-direction:reverse;animation-direction:reverse;animation-fill-mode:forwards;-webkit-transition:.25s;-moz-transition:.25s;-o-transition:.25s;transition:.25s}}@media (max-height:500px) and (min-width:751px){.ab-in-app-message.ab-fullscreen:not(.landscape){top:0;height:100%;max-height:none;-webkit-border-radius:0;-moz-border-radius:0;border-radius:0;width:400px}.ab-in-app-message.ab-fullscreen:not(.landscape) .ab-background,.ab-in-app-message.ab-fullscreen:not(.landscape) .ab-mask{-webkit-border-radius:0;-moz-border-radius:0;border-radius:0}.ab-in-app-message.ab-fullscreen:not(.landscape).ab-effect-fullscreen.ab-show{-webkit-animation-name:slideUp;animation-name:slideUp;-webkit-animation-duration:1s;animation-duration:1s;-webkit-animation-timing-function:linear;animation-timing-function:linear}.ab-in-app-message.ab-fullscreen:not(.landscape).ab-effect-fullscreen.ab-hide{-webkit-animation-name:none;animation-name:none;-webkit-animation-duration:0;animation-duration:0;-webkit-animation-timing-function:linear;animation-timing-function:linear;top:100%}.ab-in-app-message.ab-fullscreen:not(.landscape) .ab-image-area{height:50%;-webkit-border-radius:0;-moz-border-radius:0;border-radius:0}.ab-in-app-message.ab-fullscreen:not(.landscape) .ab-message-text{top:50%;right:0;bottom:0;left:0;position:absolute;height:auto;max-height:none}.ab-in-app-message.ab-fullscreen:not(.landscape).graphic{display:block}.ab-in-app-message.ab-fullscreen:not(.landscape).graphic .ab-image-area{height:100%;-webkit-border-radius:0;-moz-border-radius:0;border-radius:0}}@media (max-height:430px){.ab-in-app-message.ab-fullscreen.landscape{top:0}}@media (max-height:400px){.ab-in-app-message.ab-fullscreen.landscape{top:0;height:100%;width:100%;max-height:none;-webkit-border-radius:0;-moz-border-radius:0;border-radius:0}.ab-in-app-message.ab-fullscreen.landscape .ab-background,.ab-in-app-message.ab-fullscreen.landscape .ab-mask{-webkit-border-radius:0;-moz-border-radius:0;border-radius:0}.ab-in-app-message.ab-fullscreen.landscape.ab-effect-fullscreen.ab-show{-webkit-animation-name:slideUp;animation-name:slideUp;-webkit-animation-duration:1s;animation-duration:1s;-webkit-animation-timing-function:linear;animation-timing-function:linear}.ab-in-app-message.ab-fullscreen.landscape.ab-effect-fullscreen.ab-hide{-webkit-animation-name:none;animation-name:none;-webkit-animation-duration:0;animation-duration:0;-webkit-animation-timing-function:linear;animation-timing-function:linear;top:100%}.ab-in-app-message.ab-fullscreen.landscape .ab-image-area{height:50%;-webkit-border-radius:0;-moz-border-radius:0;border-radius:0}.ab-in-app-message.ab-fullscreen.landscape .ab-message-text{top:50%;right:0;bottom:0;left:0;position:absolute;height:auto;max-height:none}.ab-in-app-message.ab-fullscreen.landscape.graphic{display:block}.ab-in-app-message.ab-fullscreen.landscape.graphic .ab-image-area{height:100%;-webkit-border-radius:0;-moz-border-radius:0;border-radius:0}}.ab-page-blocker{position:fixed;top:0;left:0;width:100%;height:100%;z-index:1040}.ab-page-blocker.ab-show{-webkit-animation-name:fadeToThreeQuarters;animation-name:fadeToThreeQuarters;-webkit-animation-duration:.16666667s;animation-duration:.16666667s;-webkit-animation-timing-function:linear;animation-timing-function:linear}.ab-page-blocker.ab-hide{-webkit-animation-name:fadeFromThreeQuarters;animation-name:fadeFromThreeQuarters;-webkit-animation-duration:.5s;animation-duration:.5s;-webkit-animation-timing-function:linear;animation-timing-function:linear}.ab-feed.ab-hide,.ab-feed.ab-show{-webkit-animation-timing-function:linear}body>.ab-feed{position:fixed;top:0;right:0;bottom:0;width:421px;-webkit-border-radius:0;-moz-border-radius:0;border-radius:0}body>.ab-feed .ab-feed-body{position:absolute;top:0;left:0;right:0;border:none;border-left:1px solid #d0d0d0;padding-top:58px;min-height:100%}body>.ab-feed .ab-no-cards-message{position:absolute;width:100%;margin-left:-20px;top:40%}.ab-feed{-webkit-border-radius:3px;-moz-border-radius:3px;border-radius:3px;box-sizing:border-box;-webkit-box-shadow:0 1px 7px 1px rgba(66,82,113,.15);-moz-box-shadow:0 1px 7px 1px rgba(66,82,113,.15);box-shadow:0 1px 7px 1px rgba(66,82,113,.15);width:402px;background-color:#eee;font-size:13px;line-height:130%;letter-spacing:normal;overflow-y:auto;overflow-x:visible;-webkit-overflow-scrolling:touch;-webkit-transition:opacity .25s;-moz-transition:opacity .25s;-o-transition:opacity .25s;transition:opacity .25s}.ab-feed .ab-feed-body{box-sizing:border-box;border:1px solid #d0d0d0;border-top:none;padding:20px 20px 0}.ab-feed.ab-show{-webkit-animation-name:animSlideIn;animation-name:animSlideIn;-webkit-animation-duration:1s;animation-duration:1s;animation-timing-function:linear}.ab-feed.ab-hide{opacity:0;-webkit-animation-name:animSlideOut;animation-name:animSlideOut;-webkit-animation-duration:.25s;animation-duration:.25s;animation-timing-function:linear}.ab-feed .ab-card{position:relative;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;-webkit-border-radius:3px;-moz-border-radius:3px;border-radius:3px;width:100%;border:1px solid #d0d0d0;margin-bottom:20px;overflow:hidden;background-color:#fff}.ab-feed .ab-card .ab-pinned-indicator{position:absolute;right:0;top:0;margin-right:-1px;width:0;height:0;border-style:solid;border-width:0 24px 24px 0;border-color:transparent #1676d0 transparent transparent}.ab-feed .ab-card .ab-pinned-indicator .fa-star{position:absolute;right:-21px;top:2px;font-size:9px;color:#fff}.ab-feed .ab-card.ab-hide{-webkit-animation-name:animSlideLeft;animation-name:animSlideLeft;-webkit-animation-duration:.25s;animation-duration:.25s;-webkit-animation-timing-function:linear;animation-timing-function:linear}.ab-feed .ab-card .ab-close-button{display:block;cursor:pointer;position:absolute;z-index:1060;right:10px;top:10px;font-size:20px;width:20px;height:20px;-webkit-border-radius:10px;-moz-border-radius:10px;border-radius:10px;text-align:center;visibility:hidden;opacity:0;-webkit-transition:.5s;-moz-transition:.5s;-o-transition:.5s;transition:.5s}.ab-feed .ab-card .ab-close-button .fa{line-height:20px}.ab-feed .ab-card:hover .ab-close-button{visibility:visible;opacity:1}.ab-feed .ab-card a{color:inherit;text-decoration:none}.ab-feed .ab-card a:hover{text-decoration:underline}.ab-feed .ab-card .ab-image-area{display:inline-block;vertical-align:top;line-height:0;overflow:hidden;width:100%;-webkit-box-sizing:initial;-moz-box-sizing:initial;box-sizing:initial}.ab-feed .ab-card .ab-image-area img{height:auto;width:100%}.ab-feed .ab-card.ab-banner .ab-card-body{display:none}.ab-feed .ab-card .ab-card-body{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;display:inline-block;width:100%;position:relative}.ab-feed .ab-card .ab-unread-indicator{position:absolute;bottom:0;margin-right:-1px;width:100%;height:5px;background-color:#1676d0}.ab-feed .ab-card .ab-unread-indicator.read{background-color:transparent}.ab-feed .ab-card .ab-title{overflow:hidden;word-wrap:break-word;text-overflow:ellipsis;font-size:18px;line-height:130%;font-weight:700;padding:20px 20px 0}.ab-feed .ab-card .ab-description{color:#545454;padding:15px 20px;word-wrap:break-word;white-space:pre-wrap}.ab-feed .ab-card .ab-url-area{color:#1676d0;margin-top:15px}.ab-feed .ab-card.ab-classic-card .ab-card-body{min-height:95px;-webkit-border-radius:3px;-moz-border-radius:3px;border-radius:3px}.ab-feed .ab-card.ab-classic-card.with-image .ab-card-body{min-height:100px;padding-left:80px}.ab-feed .ab-card.ab-classic-card.with-image .ab-image-area{width:60px;height:60px;padding:20px 0 20px 20px;position:absolute}.ab-feed .ab-card.ab-classic-card.with-image .ab-image-area img{-webkit-border-radius:3px;-moz-border-radius:3px;border-radius:3px;width:60px;height:60px}.ab-feed .ab-card.ab-classic-card.with-image .ab-title{background-color:transparent;font-size:16px}.ab-feed .ab-card.ab-classic-card.with-image .ab-description{padding-top:10px}.ab-feed .ab-card.ab-control-card{height:0;width:0;margin:0;border:0}.ab-feed .ab-feed-buttons-wrapper{position:relative;background-color:#282828;height:38px;-webkit-box-shadow:0 1px 4px 1px rgba(66,82,113,.35);-moz-box-shadow:0 1px 4px 1px rgba(66,82,113,.35);box-shadow:0 1px 4px 1px rgba(66,82,113,.35);z-index:1}.ab-feed .ab-feed-buttons-wrapper .ab-close-button,.ab-feed .ab-feed-buttons-wrapper .ab-refresh-button{cursor:pointer;color:#fff;font-size:18px;margin:10px;-webkit-transition:.2s;-moz-transition:.2s;-o-transition:.2s;transition:.2s}.ab-feed .ab-feed-buttons-wrapper .ab-close-button:hover,.ab-feed .ab-feed-buttons-wrapper .ab-refresh-button:hover{font-size:22px}.ab-feed .ab-feed-buttons-wrapper .ab-close-button{float:right;margin-top:9px}.ab-feed .ab-feed-buttons-wrapper .ab-close-button:hover{margin-top:6px;margin-right:9px}.ab-feed .ab-feed-buttons-wrapper .ab-refresh-button{margin-left:12px}.ab-feed .ab-feed-buttons-wrapper .ab-refresh-button:hover{margin-top:8px;margin-left:10px}.ab-feed .ab-no-cards-message{text-align:center;margin-bottom:20px}@media (max-width:750px){body>.ab-feed{width:100%;-webkit-transition:.25s;-moz-transition:.25s;-o-transition:.25s;transition:.25s}body>.ab-feed.ab-show{-webkit-animation-name:slideUp;animation-name:slideUp;-webkit-animation-duration:1s;animation-duration:1s;-webkit-animation-timing-function:linear;animation-timing-function:linear}body>.ab-feed.ab-hide{-webkit-animation-name:none;animation-name:none;-webkit-animation-duration:0;animation-duration:0;-webkit-animation-timing-function:linear;animation-timing-function:linear;top:100%;opacity:.5}}"; | |
var n = !1, | |
o = !1, | |
i = !1, | |
a = !1, | |
r = null; | |
e.Vh(function(e) { | |
n = e.openInAppMessagesInNewTab || !1; | |
o = e.openCardsInNewTab || e.openNewsFeedCardsInNewTab || !1; | |
i = e.requireExplicitInAppMessageDismissal || !1; | |
a = e.enableHtmlInAppMessages || !1; | |
r = null; | |
e.doNotLoadFontAwesome || null !== document.querySelector('link[rel=stylesheet][href="https://use.fontawesome.com/7f85a56ba4.css"]') || (e = document.createElement("link"), e.setAttribute("rel", "stylesheet"), e.setAttribute("href", "https://use.fontawesome.com/7f85a56ba4.css"), document.getElementsByTagName("head")[0].appendChild(e)); | |
null == document.getElementById("ab-css-definitions") && (e = document.createElement("style"), e.innerHTML = l.Cg, e.id = "ab-css-definitions", document.getElementsByTagName("head")[0].appendChild(e)); | |
i || document.addEventListener("keydown", function(e) { | |
e = e || window.event; | |
if (e.keyCode === l.Ma.Ci && 0 < document.querySelectorAll(".ab-modal-interactions").length) { | |
e = document.getElementsByClassName("ab-html-message"); | |
for (var t = !1, n = 0; n < e.length; n++) { | |
var o = e[n].contentWindow.document.getElementsByClassName("ab-programmatic-close-button")[0]; | |
null != o && (l.ia.ph(o), t = !0) | |
} | |
t || (e = document.querySelectorAll(".ab-page-blocker")[0], null != e && l.ia.ph(e)) | |
} | |
}, !1) | |
}); | |
var s = { | |
Pj: function() { | |
null == r && (r = e.Wh(function(e) { | |
s.showInAppMessage(e[0]); | |
return e.slice(1) | |
})); | |
return r | |
}, | |
ll: function(o, r, s) { | |
if (null == o) return !1; | |
if (o instanceof l.Zb) return u.f.info("User received control for a multivariate test, logging to Braze servers."), e.Fd(o), !0; | |
if (!(o instanceof l.h)) return !1; | |
if (o instanceof l.Sa && !a) return u.f.error('For security reasons, HTML in-app messages are disabled by default. Use the "enableHtmlInAppMessages" configuration option for appboy.initialize to enable these messages.'), e.ya(o, l.h.Ba.Ji), !1; | |
null == r && (r = document.getElementsByTagName("body")[0]); | |
if (o.Qc() && 0 < r.querySelectorAll(".ab-modal-interactions").length) return u.f.info("Cannot show in-app message '" + o.message + "' because another message is being shown."), e.ya(o, l.h.Ba.di), !1; | |
if (l.oa.Fk()) { | |
var c = l.oa.uk(); | |
if (c === l.oa.Ga.Wd && o.orientation === l.h.Ga.LANDSCAPE || c === l.oa.Ga.Ze && o.orientation === l.h.Ga.PORTRAIT) return u.f.info("Not showing " + (o.orientation === l.h.Ga.PORTRAIT ? "portrait" : "landscape") + " in-app message '" + o.message + "' because the screen is currently " + (c === l.oa.Ga.Wd ? "portrait" : "landscape")), e.ya(o, l.h.Ba.hj), !1 | |
} | |
var p = this, | |
c = o.Pa(e, t, function() { | |
p.Rh() | |
}, function(t) { | |
if (o.Qc() && o.Zh()) { | |
var n = document.createElement("div"); | |
n.className = "ab-page-blocker"; | |
n.className += o.wd(); | |
n.style.backgroundColor = l.Xa.ub(o.frameColor); | |
r.appendChild(n); | |
if (!i) { | |
var a = Date.now(); | |
n.onclick = function(e) { | |
Date.now() - a > l.h.aj && (e = e || window.event, o.ga(t), o.Rc(), e.stopPropagation()) | |
} | |
} | |
} else if (o instanceof l.ob) { | |
for (var c = document.querySelectorAll(".ab-slideup"), n = null, p = c.length - 1; 0 <= p; p--) | |
if (c[p] !== t) { | |
n = c[p]; | |
break | |
} o.slideFrom === l.h.Zd.TOP ? (c = 0, null != n && (c = n.offsetTop + n.offsetHeight), t.style.top = Math.max(c, 0) + "px") : (c = 0, null != n && (c = (window.innerHeight || document.documentElement.clientHeight) - n.offsetTop), t.style.bottom = Math.max(c, 0) + "px") | |
} | |
e.Fd(o); | |
o.dismissType === l.h.Ac.AUTO_DISMISS && setTimeout(function() { | |
r.contains(t) && (o.ga(t), o.Rc()) | |
}, o.duration); | |
"function" == typeof s && s() | |
}, n); | |
r.appendChild(c); | |
o.Qc() && c.focus(); | |
o.Kh(c); | |
return !0 | |
}, | |
Rh: function(t, n, i) { | |
function a(t) { | |
for (var n = t.querySelectorAll(".ab-feed"), o = null, i = 0; i < n.length; i++) n[i].parentNode === t && (o = n[i]); | |
null != o ? (l.J.ga(e, o), o.parentNode.replaceChild(p, o)) : t.appendChild(p); | |
p.getElementsByClassName("ab-feed-buttons-wrapper")[0].focus(); | |
e.Fh(); | |
c.we(e, p) | |
} | |
function r(e, t) { | |
if (null == t) return e; | |
var n, o = []; | |
for (n = 0; n < t.length; n++) o.push(t[n].toLowerCase()); | |
t = []; | |
for (var i = 0; i < e.length; i++) { | |
var a = []; | |
for (n = 0; n < e[i].categories.length; n++) a.push(e[i].categories[n].toLowerCase()); | |
0 < l.G.Ck(a, o).length && t.push(e[i]) | |
} | |
return t | |
} | |
null == t && (t = document.getElementsByTagName("body")[0]); | |
var s = !1, | |
c = null; | |
null == n ? (c = e.xe(), c.Oe(r(c.cards, i), c.lastUpdated, null, e, o), s = !0) : c = new l.J(r(n, i), new Date); | |
var p = c.Pa(e, o); | |
if (s) { | |
(null == c.lastUpdated || Date.now() - c.lastUpdated.valueOf() > l.J.ed) && (u.f.info("Cached feed was older than max TTL of " + l.J.ed + " ms, requesting an update from the server."), c.Vf(e, p)); | |
var d = Date.now(); | |
n = e.Uh(function(t) { | |
var n = p.querySelectorAll(".ab-refresh-button")[0]; | |
if (null != n) { | |
var a = 500, | |
s = parseInt(p.getAttribute(l.J.Td)), | |
a = isNaN(s) ? a - (Date.now() - d) : a - (Date.now() - s); | |
setTimeout(function() { | |
n.className = n.className.replace(/fa-spin/g, "") | |
}, Math.max(a, 0)) | |
} | |
c.Oe(r(t.cards, i), t.lastUpdated, p, e, o) | |
}); | |
c.Nh(n, p) | |
} | |
null != t ? a(t) : window.onload = function(e) { | |
return function() { | |
"function" == typeof e && e(); | |
a(document.getElementsByTagName("body")[0]) | |
} | |
}(window.onload) | |
}, | |
dk: function() { | |
for (var t = document.querySelectorAll(".ab-feed"), n = 0; n < t.length; n++) l.J.ga(e, t[n]) | |
}, | |
wl: function(e, t, n) { | |
0 < document.querySelectorAll(".ab-feed").length ? s.destroyFeed() : s.showFeed(e, t, n) | |
}, | |
kl: function(t, n) { | |
function i(t) { | |
for (var n = t.querySelectorAll(".ab-feed"), o = null, i = 0; i < n.length; i++) n[i].parentNode === t && (o = n[i]); | |
null != o ? (l.ta.ga(e, o), o.parentNode.replaceChild(r, o)) : t.appendChild(r); | |
e.Eh(); | |
a.we(e, r) | |
} | |
null == t && (t = document.getElementsByTagName("body")[0]); | |
var a = null, | |
a = e.Oc(); | |
"function" == typeof n && a.Oe(n(a.cards.slice()), a.lastUpdated, null, e, o); | |
var r = a.Pa(e, o); | |
(null == a.lastUpdated || Date.now() - a.lastUpdated.valueOf() > l.ta.ed) && (u.f.info("Cached content cards were older than max TTL of " + l.ta.ed + " ms, requesting a sync from the server."), a.Vf(e, r)); | |
var s = Date.now(), | |
c = e.Sh(function(t) { | |
var i = r.querySelectorAll(".ab-refresh-button")[0]; | |
if (null != i) { | |
var c = 500, | |
p = parseInt(r.getAttribute(l.J.Td)), | |
c = isNaN(p) ? c - (Date.now() - s) : c - (Date.now() - p); | |
setTimeout(function() { | |
i.className = i.className.replace(/fa-spin/g, "") | |
}, Math.max(c, 0)) | |
} | |
c = t.cards; | |
"function" == typeof n && (c = n(c.slice())); | |
a.Oe(c, t.lastUpdated, r, e, o) | |
}); | |
a.Nh(c, r); | |
null != t ? i(t) : window.onload = function(e) { | |
return function() { | |
"function" == typeof e && e(); | |
i(document.getElementsByTagName("body")[0]) | |
} | |
}(window.onload) | |
}, | |
xk: function() { | |
for (var t = document.querySelectorAll(".ab-feed"), n = 0; n < t.length; n++) l.ta.ga(e, t[n]) | |
}, | |
vl: function(e, t) { | |
0 < document.querySelectorAll(".ab-feed").length ? s.hideContentCards() : s.showContentCards(e, t) | |
} | |
}; | |
return s | |
} | |
function a(e, t) { | |
var n, o = [e]; | |
l.G.isArray(e) && (o = e); | |
if (null === t) return null; | |
if (null == t) return t = {}, t[l.w.Ka] = o, t; | |
if (!c(t) || null == t[l.w.Ja] && null == t[l.w.Ka]) { | |
if (!l.G.isArray(t)) return u.f.error("Attempted to remove from custom attribute array but it is not an array."), !1; | |
for (n = 0; n < o.length; n++) | |
for (; - 1 !== (e = t.indexOf(o[n]));) t.splice(e, 1) | |
} else if (t[l.w.Ka] = (t[l.w.Ka] || []).concat(o), null != t[l.w.Ja]) { | |
for (n = 0; n < o.length; n++) | |
for (; - 1 !== (e = t[l.w.Ja].indexOf(o[n]));) t[l.w.Ja].splice(e, 1); | |
0 === t[l.w.Ja].length && (t[l.w.Ja] = void 0) | |
} | |
return t | |
} | |
function r(e, t) { | |
var n = [e]; | |
l.G.isArray(e) && (n = e); | |
if (null === t) return n; | |
if (null == t) return t = {}, t[l.w.Ja] = n, t; | |
if (!c(t) || null == t[l.w.Ja] && null == t[l.w.Ka]) { | |
if (!l.G.isArray(t)) return u.f.error("Attempted to add to custom attribute array but it is not an array."), !1; | |
t = t.concat(n) | |
} else if (t[l.w.Ja] = (t[l.w.Ja] || []).concat(n), null != t[l.w.Ka]) { | |
for (e = 0; e < n.length; e++) | |
for (var o; - 1 !== (o = t[l.w.Ka].indexOf(n[e]));) t[l.w.Ka].splice(o, 1); | |
0 === t[l.w.Ka].length && (t[l.w.Ka] = void 0) | |
} | |
return t | |
} | |
function s(e, t) { | |
return null === t ? e : null == t ? (t = {}, t[l.w.Xb] = e, t) : c(t) && null != t[l.w.Xb] ? (t[l.w.Xb] += e, t) : isNaN(parseInt(t)) ? (u.f.error("Attempted to increment attribute but it is not an integer."), !1) : t + e | |
} | |
function c(e) { | |
return null != e && "object" == typeof e && !l.G.isArray(e) | |
} | |
function p(e) { | |
function t(e) { | |
var t, n = {}; | |
for (t in e) { | |
var o = e[t]; | |
null == o ? delete e[t] : n[t] = l.G.tb(o) ? l.N.Xh(o) : o | |
} | |
return n | |
} | |
function n(e, t, n, o, i) { | |
null == e && (e = {}); | |
if ("object" != typeof e || l.G.isArray(e)) return u.f.error(t + " requires that " + n + " be an object. Ignoring " + i + "."), !1; | |
for (var a in e) { | |
if (!l.R.Wa(a, o, "the " + i + " property name")) return !1; | |
t = e[a]; | |
if (null != t && !l.R.Dl(t, o, "the " + i + ' property "' + a + '"')) return !1 | |
} | |
return !0 | |
} | |
function o() { | |
u.f.Bd(); | |
I && (h.clearData(!1), h = null, b.clearData(!1), b = null, m.va(), m = null, v.va(), v = null, g.va(), g = null, d.Bd(), w = d = null, k.Yf(), r = c = k = null, j = [], p = null); | |
A = I = !1 | |
} | |
function i() { | |
if (A) return !1; | |
if (!I) throw Error("Appboy must be initialized before calling methods."); | |
return !0 | |
} | |
var a = { | |
Uj: function(e) { | |
return new l.Pd(l.Lc, e) | |
}, | |
Yj: function(e, t, n, o, i, a, r, s, c) { | |
null == i && (i = {}); | |
var p = new l.jc(c, r), | |
u = new l.gc(r, p, c, i[_.qj]); | |
return new l.M(e, n, o, i[_.ei], t, u, s, p, c, r, a) | |
}, | |
Df: function() { | |
return new l.Ta | |
}, | |
Vj: function(e, t) { | |
return new l.ac(e, t) | |
}, | |
Tj: function(e, t, n) { | |
return new l.Ra(e, t, n) | |
}, | |
Zj: function(e, t, n, o) { | |
return new l.$a(e, t, n, o) | |
}, | |
Xj: function(e, t, n, o, i, a, r) { | |
return new l.PushManager(e, t, n, o + "/safari/" + t, i, a, r) | |
}, | |
Wj: function(e) { | |
return new l.Ib(e) | |
} | |
}; | |
null == e && (e = a); | |
var r, s, c, p, d, f, m, h, g, y, b, v, w, k, _ = { | |
ci: "allowCrawlerActivity", | |
Kd: "baseUrl", | |
fj: "noCookies", | |
Ai: "enableLogging", | |
Li: "minimumIntervalBetweenTriggerActionsInSeconds", | |
qj: "sessionTimeoutInSeconds", | |
ei: "appVersion", | |
pj: "serviceWorkerLocation", | |
nj: "safariWebsitePushId", | |
ug: "localization", | |
Ag: "sdkFlavor", | |
rg: "language" | |
}, | |
x = new l.Ta, | |
j = [], | |
I = !1, | |
A = !1; | |
l.Qa = {}; | |
l.Qa.vg = 100; | |
l.Qa.Ud = "inAppMessage must be an ab.InAppMessage object"; | |
l.Qa.bf = "must be an ab.Card object"; | |
return { | |
Vh: function(e) { | |
return x.hb(e) | |
}, | |
Hf: function(t, n) { | |
if (I) return u.f.info("Braze has already been initialized with an API key."), !0; | |
u.f.sc(null != n && n[_.Ai]); | |
if (null == t || "" === t || "string" != typeof t) return u.f.error("Braze requires a valid API key to be initialized."), !1; | |
r = t; | |
c = n || {}; | |
l.Lc.sc(); | |
if (l.Lc.Dk && !c[_.ci]) return u.f.info("Ignoring activity from crawler bot " + navigator.userAgent), A = !0, !1; | |
s = n = l.$d.bk(t, c[_.fj] || !1); | |
if (new l.j.gb(null, !0).Oa(l.j.B.ef)) return u.f.info("Ignoring all activity due to previous opt out"), A = !0, !1; | |
var o = ["mparticle", "wordpress"]; | |
if (null != c[_.Ag]) { | |
var i = c[_.Ag]; - 1 !== o.indexOf(i) ? p = i : u.f.error("Invalid sdk flavor passed: " + i) | |
} | |
var a = []; | |
m = e.Df(); | |
j.push(m); | |
h = e.Vj(m, n); | |
a.push(h); | |
v = e.Df(); | |
j.push(v); | |
o = null != c[_.Kd] ? c[_.Kd] : "https://dev.appboy.com/api/v3"; | |
f = e.Uj(n); | |
i = new l.nb(n); | |
d = e.Yj(r, o, "2.2.3", p, c, function(e) { | |
if (I) | |
for (var t = 0; t < a.length; t++) a[t].Dd(e) | |
}, n, f, i); | |
var C = c[_.Li]; | |
null == C && (C = 30); | |
b = e.Zj(C, v, n, d); | |
a.push(b); | |
g = e.Df(); | |
j.push(g); | |
y = e.Tj(g, d, n); | |
a.push(y); | |
d.ol(function() { | |
y.xc() | |
}); | |
d.Hf(); | |
w = e.Xj(d.Pc(), r, f, o, c[_.pj], c[_.nj], i); | |
k = e.Wj(d.Pc()); | |
n = "Initialized "; | |
c && c[_.Kd] && (n += 'for the Braze backend at "' + c[_.Kd] + '" '); | |
u.f.info(n + 'with API key "' + t + '".'); | |
t = l.Lc.language; | |
n = !1; | |
c && (c[_.rg] && (t = c[_.rg], n = !0), c[_.ug] && (t = c[_.ug], n = !0)); | |
l.Kf.sc(t, n); | |
x.Da(c); | |
return I = !0 | |
}, | |
Bd: function() { | |
u.f.info("Destroying appboy instance"); | |
s = null; | |
o() | |
}, | |
qk: function(e) { | |
i() && (null == e && u.f.error("getDeviceId must be supplied with a callback. e.g., appboy.getDeviceId(function(deviceId) {console.log('the device id is ' + deviceId)})"), "function" == typeof e && e(f.Cd().id)) | |
}, | |
$f: function() { | |
u.f.$f() | |
}, | |
Wf: function(e) { | |
u.f.Wf(e) | |
}, | |
Ge: function(e) { | |
if (i()) { | |
d.Ge(w, e); | |
var t = u.Z.kb.ec, | |
n = new u.Z(t, u.f); | |
n.vh(t.na.yg, function(e, o) { | |
function i() { | |
b.Qb(l.la.Dc, [r], s) | |
} | |
var a = o.lastClick, | |
r = o.trackingString; | |
u.f.info("Firing push click trigger from " + r + " push click at " + a); | |
var s = d.ak(a, r); | |
d.Uk(i, i); | |
n.qh(t.na.yg, e) | |
}); | |
n.lk(t.na.ii, function(e) { | |
y.wk(e) | |
}) | |
} | |
}, | |
pc: function(e, t) { | |
i() && (null == e || 0 === e.length ? (u.f.error("changeUser requires a non-empty userId."), "function" == typeof t && (u.f.info("messagingReadyCallback provided with an empty userId. Firing immediately."), t())) : d.pc(e.toString(), [h, y, b], t, w)) | |
}, | |
Pc: function() { | |
if (i()) return d.Pc() | |
}, | |
Hd: function() { | |
i() && d.Hd() | |
}, | |
Je: function() { | |
i() && d.Je() | |
}, | |
Uh: function(e) { | |
if (i()) return m.hb(e) | |
}, | |
xe: function() { | |
if (i()) return h.xe() | |
}, | |
xc: function() { | |
if (i()) return y.xc() | |
}, | |
Sh: function(e) { | |
if (i()) return g.hb(e) | |
}, | |
Oc: function() { | |
if (i()) return y.Oc() | |
}, | |
Wh: function(e) { | |
if (i()) return v.hb(e) | |
}, | |
Fd: function(e) { | |
if (i()) return e instanceof l.h || e instanceof l.Zb ? d.Fd(e).L : (u.f.error(l.Qa.Ud), !1) | |
}, | |
Ee: function(e) { | |
if (i()) { | |
if (!(e instanceof l.h)) return u.f.error(l.Qa.Ud), !1; | |
var t = d.Ee(e); | |
if (t.L) | |
for (var n = 0; n < t.K.length; n++) b.Qb(l.la.Fb, [e.triggerId], t.K[n]); | |
return t.L | |
} | |
}, | |
De: function(e, t) { | |
if (i()) { | |
if (!(e instanceof l.h.Aa)) return u.f.error("button must be an ab.InAppMessage.Button object"), !1; | |
if (!(t instanceof l.h)) return u.f.error(l.Qa.Ud), !1; | |
var n = d.De(e, t); | |
if (n.L) | |
for (var o = 0; o < n.K.length; o++) b.Qb(l.la.Fb, [t.triggerId, e.id], n.K[o]); | |
return n.L | |
} | |
}, | |
Ed: function(e, t, n) { | |
if (i()) { | |
if (!(e instanceof l.Sa)) return u.f.error("inAppMessage argument to logInAppMessageHtmlClick must be an ab.HtmlMessage object."), !1; | |
n = d.Ed(e, t, n); | |
if (n.L) | |
for (var o = 0; o < n.K.length; o++) b.Qb(l.la.Fb, [e.triggerId, t], n.K[o]); | |
return n.L | |
} | |
}, | |
ya: function(e, t) { | |
if (i()) return e instanceof l.h || e instanceof l.Zb ? !!l.G.vb(l.h.Ba, t, t + " is not a valid in-app message display failure", "ab.InAppMessage.DisplayFailures") && d.ya(e.triggerId, t).L : (u.f.error(l.Qa.Ud), !1) | |
}, | |
Tb: function(e, t) { | |
if (i()) { | |
if (!l.G.isArray(e)) return u.f.error("cards must be an array"), !1; | |
for (var n = 0; n < e.length; n++) | |
if (!(e[n] instanceof l.b)) return u.f.error("Each card in cards " + l.Qa.bf), !1; | |
return d.Tb(e, t).L | |
} | |
}, | |
Sb: function(e, t) { | |
if (i()) return e instanceof l.b ? d.Sb(e, t).L : (u.f.error("card " + l.Qa.bf), !1) | |
}, | |
Ce: function(e) { | |
if (i()) return e instanceof l.b ? d.Ce(e).L : (u.f.error("card " + l.Qa.bf), !1) | |
}, | |
Fh: function() { | |
if (i()) return d.Gh(u.qg.Gi).L | |
}, | |
Eh: function() { | |
if (i()) return d.Gh(u.qg.ri).L | |
}, | |
Ea: function(e) { | |
if (i()) { | |
for (var t = 0; t < j.length; t++) j[t].Ea(e); | |
x.Ea(e) | |
} | |
}, | |
va: function() { | |
if (i()) | |
for (var e = 0; e < j.length; e++) j[e].va() | |
}, | |
Mf: function(e, o) { | |
if (i()) { | |
if (null == e || 0 >= e.length) return u.f.error('logCustomEvent requires a non-empty eventName, got "' + e + '". Ignoring event.'), !1; | |
if (!l.R.Wa(e, "log custom event", "the event name") || !n(o, "logCustomEvent", "eventProperties", 'log custom event "' + e + '"', "event")) return !1; | |
var a = d.Mf(e, t(o)); | |
if (a.L) { | |
u.f.info('Logged custom event "' + e + '".'); | |
for (var r = 0; r < a.K.length; r++) b.Qb(l.la.Yb, [e, o], a.K[r]) | |
} | |
return a.L | |
} | |
}, | |
Nf: function(e, o, a, r, s) { | |
if (i()) { | |
null == a && (a = "USD"); | |
null == r && (r = 1); | |
if (null == e || 0 >= e.length) return u.f.error('logPurchase requires a non-empty productId, got "' + e + '", ignoring.'), !1; | |
if (!l.R.Wa(e, "log purchase", "the purchase name")) return !1; | |
var c = parseFloat(o); | |
if (isNaN(c)) return u.f.error("logPurchase requires a numeric price, got " + o + ", ignoring."), !1; | |
c = c.toFixed(2); | |
o = parseInt(r); | |
if (isNaN(o)) return u.f.error("logPurchase requires an integer quantity, got " + r + ", ignoring."), !1; | |
if (1 > o || o > l.Qa.vg) return u.f.error("logPurchase requires a quantity >1 and <" + l.Qa.vg + ", got " + o + ", ignoring."), !1; | |
a = a.toUpperCase(); | |
if (-1 === "AED AFN ALL AMD ANG AOA ARS AUD AWG AZN BAM BBD BDT BGN BHD BIF BMD BND BOB BRL BSD BTC BTN BWP BYR BZD CAD CDF CHF CLF CLP CNY COP CRC CUC CUP CVE CZK DJF DKK DOP DZD EEK EGP ERN ETB EUR FJD FKP GBP GEL GGP GHS GIP GMD GNF GTQ GYD HKD HNL HRK HTG HUF IDR ILS IMP INR IQD IRR ISK JEP JMD JOD JPY KES KGS KHR KMF KPW KRW KWD KYD KZT LAK LBP LKR LRD LSL LTL LVL LYD MAD MDL MGA MKD MMK MNT MOP MRO MTL MUR MVR MWK MXN MYR MZN NAD NGN NIO NOK NPR NZD OMR PAB PEN PGK PHP PKR PLN PYG QAR RON RSD RUB RWF SAR SBD SCR SDG SEK SGD SHP SLL SOS SRD STD SVC SYP SZL THB TJS TMT TND TOP TRY TTD TWD TZS UAH UGX USD UYU UZS VEF VND VUV WST XAF XAG XAU XCD XDR XOF XPD XPF XPT YER ZAR ZMK ZMW ZWL".split(" ").indexOf(a)) return u.f.error("logPurchase requires a valid currencyCode, got " + a + ", ignoring."), !1; | |
if (!n(s, "logPurchase", "purchaseProperties", 'log purchase "' + e + '"', "purchase")) return !1; | |
r = d.Nf(e, c, a, o, t(s)); | |
if (r.L) | |
for (u.f.info("Logged " + o + " purchase" + (1 < o ? "s" : "") + ' of "' + e + '" for ' + a + " " + c + "."), a = 0; a < r.K.length; a++) b.Qb(l.la.dc, [e, s], r.K[a]); | |
return r.L | |
} | |
}, | |
Rb: function() { | |
if (i()) return w.Rb() | |
}, | |
tc: function() { | |
if (i()) return w.tc() | |
}, | |
Jf: function(e, t, n) { | |
i() && w.Jf(e, t, n) | |
}, | |
Ae: function() { | |
if (i()) return w.Ae() | |
}, | |
Qk: function(e, t, n) { | |
if (i()) return w.subscribe(n, function(t, n, o) { | |
d.Hd(); | |
"function" == typeof e && e(t, n, o) | |
}, t) | |
}, | |
Al: function(e, t) { | |
if (i()) return w.unsubscribe(e, t) | |
}, | |
Zf: function(e, t, n, o, a) { | |
if (i()) { | |
if (!l.Qd.Cl(e, t)) return !1; | |
d.Zf(e, t, n, o, a); | |
return !0 | |
} | |
}, | |
zl: function() { | |
i() && k.watchPosition() | |
}, | |
ml: function() { | |
null != d && d.Hd(); | |
var e = new l.j.gb(null, !0); | |
e.ib(l.j.B.ef, "This-cookie-will-expire-in-" + e.rk()); | |
e = u.Z.kb.ec; | |
new u.Z(e, u.f).setItem(e.na.df, e.Yd, !0); | |
o(); | |
A = !0 | |
}, | |
Wk: function() { | |
new l.j.gb(null, !0).remove(l.j.B.ef); | |
var e = u.Z.kb.ec; | |
new u.Z(e, u.f).qh(e.na.df, e.Yd); | |
o() | |
}, | |
El: function() { | |
if (null == s) throw Error("Appboy must be initialized before calling methods."); | |
s.clearData(); | |
for (var e = l.G.keys(u.Z.kb), t = 0; t < e.length; t++) new u.Z(u.Z.kb[e[t]], u.f).clearData(); | |
I && (h.clearData(!0), b.clearData(!0)) | |
} | |
} | |
} | |
var u = { | |
ig: {} | |
}; | |
u.ig.Bl = function(e) { | |
var t = "=".repeat((4 - e.length % 4) % 4); | |
e = (e + t).replace(/\-/g, "+").replace(/_/g, "/"); | |
e = atob(e); | |
for (var t = new Uint8Array(e.length), n = 0; n < e.length; ++n) t[n] = e.charCodeAt(n); | |
return t | |
}; | |
u.$ = { | |
CustomEvent: "ce", | |
Pi: "p", | |
kj: "pc", | |
Nl: "ca", | |
Ol: "pd", | |
Ri: "i", | |
Qi: "ie", | |
pi: "cci", | |
si: "ccic", | |
ni: "ccc", | |
oi: "ccd", | |
Eg: "ss", | |
sj: "se", | |
Oi: "si", | |
pg: "sc", | |
og: "sbc", | |
Ni: "sfe", | |
ti: "iec", | |
Zi: "lr", | |
gi: "uae", | |
mi: "ci", | |
li: "cc", | |
Xi: "lcaa", | |
Yi: "lcar" | |
}; | |
u.qg = { | |
Gi: "feed_displayed", | |
ri: "content_cards_displayed" | |
}; | |
u.cd = function() {}; | |
u.cd.ye = function() { | |
function e(e) { | |
var t = (Math.random().toString(16) + "000000000").substr(2, 8); | |
return e ? "-" + t.substr(0, 4) + "-" + t.substr(4, 4) : t | |
} | |
return e() + e(!0) + e(!0) + e() | |
}; | |
u.Z = function(e, t) { | |
this.Vg = "undefined" == typeof window ? self : window; | |
this.O = e; | |
this.P = t | |
}; | |
u.Z.kb = { | |
ec: { | |
aa: "AppboyServiceWorkerAsyncStorage", | |
VERSION: 5, | |
na: { | |
ui: "data", | |
yg: "pushClicks", | |
gf: "pushSubscribed", | |
Jl: "fallbackDevice", | |
ii: "cardUpdates", | |
df: "optOut" | |
}, | |
Yd: 1 | |
} | |
}; | |
u.Z.prototype.yf = function() { | |
if ("indexedDB" in this.Vg) return this.Vg.indexedDB | |
}; | |
u.Z.prototype.Jc = function() { | |
try { | |
if (null == this.yf()) return !1; | |
this.yf().open("Braze IndexedDB Support Test"); | |
return !0 | |
} catch (e) { | |
return this.P.info("Not using IndexedDB for storage due to following error: " + e), !1 | |
} | |
}; | |
u.Z.prototype.Kc = function(e, t) { | |
var n = this.yf().open(this.O.aa, this.O.VERSION); | |
if (null == n) return "function" == typeof t && t(), !1; | |
var o = this; | |
n.onupgradeneeded = function(e) { | |
o.P.info("Upgrading indexedDB " + o.O.aa + " to v" + o.O.VERSION + "..."); | |
e = e.target.result; | |
for (var t in o.O.na) o.O.na.hasOwnProperty(t) && !e.objectStoreNames.contains(o.O.na[t]) && e.createObjectStore(o.O.na[t]) | |
}; | |
n.onsuccess = function(n) { | |
o.P.debug("Opened indexedDB " + o.O.aa + " v" + o.O.VERSION); | |
var i = n.target.result; | |
i.onversionchange = function() { | |
i.close(); | |
"function" == typeof t && t(); | |
o.P.error("Needed to close the database unexpectedly because of an upgrade in another tab") | |
}; | |
e(i) | |
}; | |
n.onerror = function(e) { | |
o.P.info("Could not open indexedDB " + o.O.aa + " v" + o.O.VERSION + ": " + e.target.errorCode); | |
"function" == typeof t && t(); | |
return !0 | |
}; | |
return !0 | |
}; | |
u.Z.prototype.setItem = function(e, t, n, o, i) { | |
if (!this.Jc()) return "function" == typeof i && i(), !1; | |
var a = this; | |
return this.Kc(function(r) { | |
r.objectStoreNames.contains(e) ? (r = r.transaction([e], "readwrite").objectStore(e).put(n, t), r.onerror = function() { | |
a.P.error("Could not store object " + t + " in " + e + " on indexedDB " + a.O.aa); | |
"function" == typeof i && i() | |
}, r.onsuccess = function() { | |
a.P.debug("Stored object " + t + " in " + e + " on indexedDB " + a.O.aa); | |
"function" == typeof o && o() | |
}) : (a.P.error("Could not store object " + t + " in " + e + " on indexedDB " + a.O.aa + " - " + e + " is not a valid objectStore"), "function" == typeof i && i()) | |
}, i) | |
}; | |
u.Z.prototype.getItem = function(e, t, n) { | |
if (!this.Jc()) return !1; | |
var o = this; | |
return this.Kc(function(i) { | |
i.objectStoreNames.contains(e) ? (i = i.transaction([e], "readonly").objectStore(e).get(t), i.onerror = function() { | |
o.P.error("Could not retrieve object " + t + " in " + e + " on indexedDB " + o.O.aa) | |
}, i.onsuccess = function(i) { | |
o.P.debug("Retrieved object " + t + " in " + e + " on indexedDB " + o.O.aa); | |
i = i.target.result; | |
null != i && n(i) | |
}) : o.P.error("Could not retrieve object " + t + " in " + e + " on indexedDB " + o.O.aa + " - " + e + " is not a valid objectStore") | |
}) | |
}; | |
u.Z.prototype.vh = function(e, t, n) { | |
if (this.Jc()) { | |
var o = this; | |
this.Kc(function(i) { | |
i.objectStoreNames.contains(e) ? (i = i.transaction([e], "readonly").objectStore(e).openCursor(null, "prev"), i.onerror = function() { | |
o.P.error("Could not open cursor for " + e + " on indexedDB " + o.O.aa); | |
"function" == typeof n && n() | |
}, i.onsuccess = function(i) { | |
i = i.target.result; | |
null != i && null != i.value && null != i.key ? (o.P.debug("Retrieved last record " + i.key + " in " + e + " on indexedDB " + o.O.aa), t(i.key, i.value)) : "function" == typeof n && n() | |
}) : (o.P.error("Could not retrieve last record from " + e + " on indexedDB " + o.O.aa + " - " + e + " is not a valid objectStore"), "function" == typeof n && n()) | |
}, n) | |
} else "function" == typeof n && n() | |
}; | |
u.Z.prototype.qh = function(e, t) { | |
if (this.Jc()) { | |
var n = this; | |
this.Kc(function(o) { | |
o.objectStoreNames.contains(e) ? (o = o.transaction([e], "readwrite").objectStore(e)["delete"](t), o.onerror = function() { | |
n.P.error("Could not delete record " + t + " from " + e + " on indexedDB " + n.O.aa) | |
}, o.onsuccess = function() { | |
n.P.debug("Deleted record " + t + " from " + e + " on indexedDB " + n.O.aa) | |
}) : n.P.error("Could not delete record " + t + " from " + e + " on indexedDB " + n.O.aa + " - " + e + " is not a valid objectStore") | |
}) | |
} | |
}; | |
u.Z.prototype.lk = function(e, t) { | |
if (this.Jc()) { | |
var n = this; | |
this.Kc(function(o) { | |
if (o.objectStoreNames.contains(e)) { | |
var i = o.transaction([e], "readwrite").objectStore(e); | |
o = i.openCursor(); | |
var a = []; | |
o.onerror = function() { | |
0 < a.length ? (n.P.info("Cursor closed midway through for " + e + " on indexedDB " + n.O.aa), t(a)) : n.P.error("Could not open cursor for " + e + " on indexedDB " + n.O.aa) | |
}; | |
o.onsuccess = function(e) { | |
var n = e.target.result; | |
null != n ? (null != n.value && null != n.key && (i["delete"](n.key).onsuccess = function() { | |
a.push(n.value) | |
}), n["continue"]()) : 0 < a.length && t(a) | |
} | |
} else n.P.error("Could not retrieve objects from " + e + " on indexedDB " + n.O.aa + " - " + e + " is not a valid objectStore") | |
}) | |
} | |
}; | |
u.Z.prototype.clearData = function() { | |
if (!this.Jc()) return !1; | |
var e, t = []; | |
for (e in this.O.na) this.O.na.hasOwnProperty(e) && this.O.na[e] !== this.O.na.df && t.push(this.O.na[e]); | |
var n = this; | |
return this.Kc(function(e) { | |
e = e.transaction(t, "readwrite"); | |
for (var o = 0; o < t.length; o++) { | |
var i = e.objectStore(t[o]).clear(); | |
i.onsuccess = function() { | |
n.P.debug("Cleared " + this.source.name + " on indexedDB " + n.O.aa) | |
}; | |
i.onerror = function() { | |
n.P.error("Could not clear " + this.source.name + " on indexedDB " + n.O.aa) | |
} | |
} | |
e.oncomplete = function() { | |
n.P.debug("Cleared all object stores on indexedDB " + n.O.aa) | |
}; | |
e.onerror = function() { | |
n.P.error("Could not clear object stores on indexedDB " + n.O.aa) | |
} | |
}) | |
}; | |
u.f = { | |
sc: function(e) { | |
void 0 === e && void 0 !== u.f.Lb || (u.f.Lb = !!e); | |
u.f.Sg || (u.f.Sg = !0) | |
}, | |
Bd: function() { | |
u.f.Sg = !1; | |
u.f.Lb = void 0; | |
u.f.P = void 0 | |
}, | |
Wf: function(e) { | |
"function" != typeof e ? u.f.info("Ignoring setLogger call since logger is not a function") : (u.f.sc(), u.f.P = e) | |
}, | |
$f: function() { | |
u.f.sc(); | |
u.f.Lb ? (console.log("Disabling Appboy logging"), u.f.Lb = !1) : (console.log("Enabled Appboy logging"), u.f.Lb = !0) | |
}, | |
debug: function(e) { | |
u.f.Lb && null != u.f.P && u.f.P("Appboy: " + e) | |
}, | |
info: function(e) { | |
u.f.Lb && (null != u.f.P ? u.f.P("Appboy: " + e) : console.log("Appboy: " + e)) | |
}, | |
error: function(e) { | |
u.f.Lb && (null != u.f.P ? u.f.P("Appboy SDK Error: " + e) : console.error("Appboy SDK Error: " + e)) | |
} | |
}; | |
var l = { | |
Va: function(e, t) { | |
e.prototype = Object.create(t.prototype); | |
e.prototype.constructor = e | |
} | |
}; | |
"undefined" == typeof console && (window.console = { | |
log: function() {} | |
}); | |
Function.prototype.bind || (Function.prototype.bind = function(e) { | |
function t() { | |
return i.apply(this.prototype && this instanceof n ? this : e, o.concat(Array.prototype.slice.call(arguments))) | |
} | |
function n() {} | |
if ("function" != typeof this) throw new TypeError("Function.prototype.bind - what is trying to be bound is not callable"); | |
var o = Array.prototype.slice.call(arguments, 1), | |
i = this; | |
n.prototype = this.prototype; | |
t.prototype = new n; | |
return t | |
}); | |
void 0 === Object.create && (Object.create = function(e) { | |
function t() {} | |
t.prototype = e; | |
return new t | |
}); | |
Array.prototype.indexOf || (Array.prototype.indexOf = function(e, t) { | |
var n = this.length >>> 0; | |
t = Number(t) || 0; | |
t = 0 > t ? Math.ceil(t) : Math.floor(t); | |
for (0 > t && (t += n); t < n; t++) | |
if (t in this && this[t] === e) return t; | |
return -1 | |
}); | |
Event.prototype.stopPropagation || (Event.prototype.stopPropagation = function() { | |
this.cancelBubble = !0 | |
}); | |
Date.now || (Date.now = function() { | |
return (new Date).valueOf() | |
}); | |
window.atob || (window.atob = function(e) { | |
var t, n, o = {}, | |
i = [], | |
a = "", | |
r = String.fromCharCode, | |
s = [ | |
[65, 91], | |
[97, 123], | |
[48, 58], | |
[43, 44], | |
[47, 48] | |
]; | |
for (n in s) | |
for (t = s[n][0]; t < s[n][1]; t++) i.push(r(t)); | |
for (t = 0; 64 > t; t++) o[i[t]] = t; | |
for (t = 0; t < e.length; t += 72) { | |
var c = i = 0, | |
p = e.substring(t, t + 72); | |
for (n = 0; n < p.length; n++) | |
for (s = o[p.charAt(n)], i = (i << 6) + s, c += 6; 8 <= c;) a += r((i >>> (c -= 8)) % 256) | |
} | |
return a | |
}); | |
l.Pd = function(e, t) { | |
this.qd = e; | |
this.A = t | |
}; | |
l.Pd.prototype.Cd = function() { | |
var e = this.A.Tc(l.j.B.La.gg); | |
null == e && (e = new l.Gb(u.cd.ye()), this.A.Le(l.j.B.La.gg, e)); | |
return new l.hg(e.sb, this.qd.xd, this.qd.version, this.qd.ij, screen.width + "x" + screen.height, this.qd.language, this.Cj(), this.qd.userAgent) | |
}; | |
l.Pd.prototype.Cj = function() { | |
var e = new Date; | |
if ("undefined" != typeof Intl && "function" == typeof Intl.DateTimeFormat) try { | |
if ("function" == typeof Intl.DateTimeFormat().resolvedOptions) { | |
var t = Intl.DateTimeFormat().resolvedOptions().timeZone; | |
if (null != t && "" !== t) return t | |
} | |
} catch (d) { | |
u.f.info("Intl.DateTimeFormat threw an error, probably https://bugs.chromium.org/p/chromium/issues/detail?id=811403, falling back to GTM offset: " + d.message) | |
} | |
return this.Aj(e.getTimezoneOffset()) | |
}; | |
l.Pd.prototype.Aj = function(e) { | |
var t = parseInt(e / 60), | |
n = parseInt(e % 60), | |
o = "GMT"; | |
0 !== e && (o = o + (0 > e ? "+" : "-") + ("00" + Math.abs(t)).slice(-2) + ":" + ("00" + Math.abs(n)).slice(-2)); | |
return o | |
}; | |
l.Ib = function(e) { | |
this.Ob = e; | |
this.le = null; | |
this.$g = "geolocation" in navigator | |
}; | |
l.Ib.fd = "Location tracking is not supported in this browser."; | |
l.Ib.prototype.Gj = function(e) { | |
if (document.hidden) { | |
this.Yf(); | |
var t = this, | |
n = function() { | |
document.hidden || (document.removeEventListener("visibilitychange", n, !1), t.watchPosition()) | |
}; | |
document.addEventListener("visibilitychange", n, !1) | |
} | |
this.Ob.Ke(e.coords.latitude, e.coords.longitude, e.coords.accuracy, e.coords.altitude, e.coords.altitudeAccuracy) | |
}; | |
l.Ib.prototype.Fj = function(e) { | |
e.code === e.PERMISSION_DENIED ? u.f.info(e.message) : u.f.error("Could not detect user location: " + e.code + " - " + e.message) | |
}; | |
l.Ib.prototype.watchPosition = function() { | |
this.$g ? (this.Yf(), this.le = navigator.geolocation.watchPosition(this.Gj.bind(this), this.Fj.bind(this)), u.f.info("Requested Geolocation")) : u.f.info(l.Ib.fd) | |
}; | |
l.Ib.prototype.Yf = function() { | |
this.$g ? null != this.le && (navigator.geolocation.clearWatch(this.le), this.le = null, u.f.info("Stopped watching Geolocation")) : u.f.info(l.Ib.fd) | |
}; | |
l.PushManager = function(e, t, n, o, i, a, r) { | |
this.Ob = e; | |
this.cb = t; | |
this.rd = n; | |
this.wj = o; | |
this.ud = i || "/service-worker.js"; | |
this.Xg = a; | |
this.Na = r; | |
this.ke = "serviceWorker" in navigator && "undefined" != typeof ServiceWorkerRegistration && "showNotification" in ServiceWorkerRegistration.prototype && "PushManager" in window; | |
this.uf = "safari" in window && "pushNotification" in window.safari | |
}; | |
l.PushManager.fd = "Push notifications are not supported in this browser."; | |
l.PushManager.xb = "catch"; | |
l.PushManager.prototype.Rb = function() { | |
return this.ke || this.uf | |
}; | |
l.PushManager.prototype.tc = function() { | |
return this.Rb() && null != Notification && null != Notification.permission && "denied" === Notification.permission | |
}; | |
l.PushManager.prototype.Ae = function() { | |
return this.Rb() && null != Notification && null != Notification.permission && "granted" === Notification.permission | |
}; | |
l.PushManager.prototype.Jf = function(e, t, n) { | |
n = this.Xg || n; | |
if (this.Rb()) | |
if (this.ke) { | |
var o = this; | |
navigator.serviceWorker.register(this.ud).then(function() { | |
o.tc() ? t() : navigator.serviceWorker.ready.then(function(n) { | |
n.pushManager.getSubscription().then(function(n) { | |
n ? e() : t() | |
})[l.PushManager.xb](function() { | |
t() | |
}) | |
}) | |
})[l.PushManager.xb](function() { | |
t() | |
}) | |
} else null == n || "" === n ? u.f.error("You must supply the safariWebsitePushId argument in order to use isPushGranted on Safari") : "granted" === window.safari.pushNotification.permission(n).permission ? e() : t(); | |
else t() | |
}; | |
l.PushManager.prototype.Af = function(e, t) { | |
var n; | |
"string" == typeof e ? n = e : 0 !== e.endpoint.indexOf("https://android.googleapis.com/gcm/send") ? n = e.endpoint : (n = e.endpoint, e.subscriptionId && -1 === e.endpoint.indexOf(e.subscriptionId) && (n = e.endpoint + "/" + e.subscriptionId)); | |
var o = null, | |
i = null; | |
if (null != e.getKey) try { | |
o = btoa(String.fromCharCode.apply(null, new Uint8Array(e.getKey("p256dh")))), i = btoa(String.fromCharCode.apply(null, new Uint8Array(e.getKey("auth")))) | |
} catch (r) { | |
if ("invalid arguments" !== r.message) throw r | |
} | |
var a; | |
e = e.options && (a = e.options.applicationServerKey) && a.byteLength && 0 < a.byteLength ? btoa(String.fromCharCode.apply(null, new Uint8Array(a))).replace(/\+/g, "-").replace(/\//g, "_") : null; | |
this.Ob.Uf(n, o, i, e); | |
n && "function" == typeof t && t(n, o, i) | |
}; | |
l.PushManager.prototype.kh = function() { | |
this.Ob.Gd(!0) | |
}; | |
l.PushManager.prototype.jh = function(e, t, n, o) { | |
if ("default" === t.permission) { | |
var i = this; | |
window.safari.pushNotification.requestPermission(this.wj, e, { | |
api_key: this.cb, | |
device_id: this.rd.Cd().id | |
}, function(t) { | |
"granted" === t.permission && i.Ob.Xf(l.w.gd.OPTED_IN); | |
i.jh(e, t, n, o) | |
}) | |
} else "denied" === t.permission ? (this.Ob.Gd(!1), u.f.info("The user has blocked notifications from this site, or Safari push is not configured in the Braze dashboard."), "function" == typeof o && o(!1)) : "granted" === t.permission && (u.f.info("Device successfully subscribed to push."), this.Af(t.deviceToken, n)) | |
}; | |
l.PushManager.prototype.dh = function(e, t, n, o) { | |
function i(t) { | |
switch (t) { | |
case "denied": | |
u.f.info("Permission for push notifications was denied."); | |
"function" == typeof o && o(!1); | |
break; | |
case "default": | |
t = "Permission for push notifications was ignored."; | |
a.tc() && (t += " The browser has automatically blocked further permission requests for a period (probably 1 week)."); | |
u.f.info(t); | |
"function" == typeof o && o(!0); | |
break; | |
case "granted": | |
e.pushManager.subscribe(r).then(function(e) { | |
u.f.info("Device successfully subscribed to push."); | |
s || a.Ob.Xf(l.w.gd.OPTED_IN); | |
a.Af(e, n) | |
})[l.PushManager.xb](function(e) { | |
a.tc() ? (u.f.info("Permission for push notifications was denied."), "function" == typeof o && o(!1)) : u.f.error("Push subscription failed. Be sure that your site is https and that your manifest file is correctly configured:" + e) | |
}); | |
break; | |
default: | |
u.f.error("Received unexpected permission result " + t) | |
} | |
} | |
var a = this, | |
r = { | |
userVisibleOnly: !0 | |
}; | |
null != t && (r.applicationServerKey = t); | |
var s = this.Ae(), | |
c = !1; | |
(t = Notification.requestPermission(function(e) { | |
c && i(e) | |
})) ? t.then(function(e) { | |
i(e) | |
}): c = !0 | |
}; | |
l.PushManager.prototype.subscribe = function(e, t, n) { | |
e = this.Xg || e; | |
if (this.Rb()) { | |
if (this.ke) | |
if (null != window.location && null != window.location.pathname && 0 !== window.location.pathname.indexOf(this.ud.substr(0, this.ud.lastIndexOf("/") + 1))) u.f.error("Cannot subscribe to push from a path higher than the service worker location (tried to subscribe from " + window.location.pathname + " but service worker is at " + this.ud + ")"); | |
else { | |
var o = this; | |
navigator.serviceWorker.register(this.ud).then(function() { | |
o.tc() ? (u.f.info("Notifications from this site are blocked. This may be a temporary embargo or a permanent denial."), o.Ob.Gd(!1), "function" == typeof n && n()) : navigator.serviceWorker.ready.then(function(e) { | |
e && "function" == typeof e.update && e.update(); | |
e.pushManager.getSubscription().then(function(i) { | |
var a = null; | |
o.Na && null != o.Na.xh() && (a = u.ig.Bl(o.Na.xh())); | |
i ? null != a && i.options && i.options.applicationServerKey && i.options.applicationServerKey.byteLength && 0 < i.options.applicationServerKey.byteLength && !l.G.isEqual(a, new Uint8Array(i.options.applicationServerKey)) ? (12 < i.options.applicationServerKey.byteLength ? u.f.info("Device was already subscribed to push using a different VAPID provider, creating new subscription.") : u.f.info("Attempting to upgrade a gcm_sender_id-based push registration to VAPID - depending on the browser this may or may not result in the same gcm_sender_id-based subscription."), i.unsubscribe().then(function(i) { | |
i ? o.dh(e, a, t, n) : (u.f.error("Failed to unsubscribe device from push while unsubscribing token from different VAPID provider."), "function" == typeof n && n(!1)) | |
})[l.PushManager.xb](function(e) { | |
u.f.error("Push unsubscription error while unsubscribing token from different VAPID provider: " + e); | |
"function" == typeof n && n(!1) | |
})) : (u.f.info("Device already subscribed to push, sending existing subscription to backend."), o.Af(i, t)) : o.dh(e, a, t, n) | |
})[l.PushManager.xb](function(e) { | |
u.f.error("Error checking current push subscriptions: " + e) | |
}) | |
}) | |
})[l.PushManager.xb](function(e) { | |
u.f.error("ServiceWorker registration failed: " + e) | |
}) | |
} | |
else if (this.uf) | |
if (null == e || "" === e) u.f.error("You must supply the safariWebsitePushId argument in order to use registerAppboyPushMessages on Safari"); | |
else { | |
var i = window.safari.pushNotification.permission(e); | |
this.jh(e, i, t, n) | |
} | |
} else u.f.info(l.PushManager.fd) | |
}; | |
l.PushManager.prototype.unsubscribe = function(e, t) { | |
if (this.Rb()) | |
if (this.ke) { | |
var n = this; | |
navigator.serviceWorker.getRegistration().then(function(o) { | |
o && o.pushManager.getSubscription().then(function(i) { | |
i && (n.kh(), i.unsubscribe().then(function(n) { | |
n ? (u.f.info("Device successfully unsubscribed from push."), "function" == typeof e && e()) : (u.f.error("Failed to unsubscribe device from push."), "function" == typeof t && t()); | |
o.unregister(); | |
u.f.info("Service worker successfully unregistered.") | |
})[l.PushManager.xb](function(e) { | |
u.f.error("Push unsubscription error: " + e); | |
"function" == typeof t && t() | |
})) | |
})[l.PushManager.xb](function(e) { | |
u.f.error("Error unsubscribing from push: " + e); | |
"function" == typeof t && t() | |
}) | |
}) | |
} else this.uf && (this.kh(), u.f.info("Device unsubscribed from push."), "function" == typeof e && e()); | |
else u.f.info(l.PushManager.fd) | |
}; | |
l.nb = function(e) { | |
this.A = e; | |
this.je = null | |
}; | |
l.nb.prototype.lc = function() { | |
if (null == this.je) { | |
var e = this.A.ma(l.j.B.C.Bg); | |
this.je = null != e ? l.Ec.qa(e) : new l.Ec | |
} | |
return this.je | |
}; | |
l.nb.prototype.sk = function() { | |
return this.lc().Lf | |
}; | |
l.nb.prototype.Pk = function(e) { | |
null != e && null != e.config && (e = e.config, e.time > this.lc().Lf && (this.je = e = new l.Ec(e.time, e.events_blacklist, e.attributes_blacklist, e.purchases_blacklist, e.messaging_session_timeout, e.vapid_public_key), this.A.fa(l.j.B.C.Bg, e.X()))) | |
}; | |
l.nb.prototype.ik = function(e) { | |
return -1 !== this.lc().sh.indexOf(e) | |
}; | |
l.nb.prototype.nh = function(e) { | |
return -1 !== this.lc().oh.indexOf(e) | |
}; | |
l.nb.prototype.Nk = function(e) { | |
return -1 !== this.lc().Mh.indexOf(e) | |
}; | |
l.nb.prototype.tk = function() { | |
return this.lc().Of | |
}; | |
l.nb.prototype.xh = function() { | |
return this.lc().$h | |
}; | |
l.gc = function(e, t, n, o) { | |
this.A = e; | |
this.H = t; | |
this.Na = n; | |
this.td = 1e3; | |
o = parseFloat(o); | |
isNaN(o) && (o = 1800); | |
o < this.td / 1e3 && (u.f.info("Specified session timeout of " + o + "s is too small, using the minimum session timeout of " + this.td / 1e3 + "s instead."), o = this.td / 1e3); | |
this.yj = o | |
}; | |
l.gc.prototype.eh = function(e, t) { | |
return new l.Event(this.H.S(), u.$.sj, e, t.sb, { | |
d: l.N.zd(e - t.Ad) | |
}) | |
}; | |
l.gc.prototype.pk = function() { | |
var e = this.A.Tc(l.j.B.La.fc); | |
return null == e ? null : e.sb | |
}; | |
l.gc.prototype.Jk = function() { | |
var e = Date.now(), | |
t = this.Na.tk(); | |
if (null == t) return !1; | |
var n = this.A.ma(l.j.B.C.wg); | |
(t = null == n || e - n > 1e3 * t) && this.A.fa(l.j.B.C.wg, e); | |
return t | |
}; | |
l.gc.prototype.Dj = function(e, t) { | |
return null == t || !(e - t.Ad < this.td) && t.Ff < e | |
}; | |
l.gc.prototype.ha = function() { | |
var e = Date.now(), | |
t = e + 1e3 * this.yj, | |
n = this.A.Tc(l.j.B.La.fc); | |
if (this.Dj(e, n)) { | |
var o = "Generating session start event with time " + e; | |
if (null != n) { | |
var i = n.Be; | |
i - n.Ad < this.td && (i = n.Ad + this.Rl); | |
this.A.Ie(this.eh(i, n)); | |
o += " (old session ended " + i + ")" | |
} | |
o += ". Will expire " + t.valueOf(); | |
u.f.info(o); | |
t = new l.Gb(u.cd.ye(), t); | |
this.A.Ie(new l.Event(this.H.S(), u.$.Eg, e, t.sb)); | |
this.A.Le(l.j.B.La.fc, t); | |
return t.sb | |
} | |
n.Be = e; | |
n.Ff = t; | |
this.A.Le(l.j.B.La.fc, n); | |
return n.sb | |
}; | |
l.gc.prototype.$j = function() { | |
var e = this.A.Tc(l.j.B.La.fc); | |
null != e && (this.A.Sk(l.j.B.La.fc), this.A.Ie(this.eh(Date.now(), e))) | |
}; | |
l.$d = function() {}; | |
l.j = function(e, t) { | |
this.sd = e; | |
this.xa = t | |
}; | |
l.$d.bk = function(e, t) { | |
var n = !1; | |
try { | |
if (localStorage && localStorage.getItem) try { | |
localStorage.setItem(l.j.B.C.lf, !0), localStorage.getItem(l.j.B.C.lf) && (localStorage.removeItem(l.j.B.C.lf), n = !0) | |
} catch (i) { | |
if ("QuotaExceededError" !== i.name && "NS_ERROR_DOM_QUOTA_REACHED" !== i.name || !(0 < localStorage.length)) throw i; | |
n = !0 | |
} | |
} catch (i) { | |
u.f.info("Local Storage not supported!") | |
} | |
var o = l.$d.zj(); | |
t = new l.j.Od(e, o && !t, n); | |
return new l.j(t, n ? new l.j.Cc(e) : new l.j.Bc) | |
}; | |
l.$d.zj = function() { | |
return navigator.cookieEnabled || "cookie" in document && (0 < document.cookie.length || -1 < (document.cookie = "test").indexOf.call(document.cookie, "test")) | |
}; | |
l.j.B = { | |
La: { | |
Lg: "ab.storage.userId", | |
gg: "ab.storage.deviceId", | |
fc: "ab.storage.sessionId" | |
}, | |
C: { | |
lf: "ab.test", | |
Id: "ab.storage.events", | |
Wb: "ab.storage.attributes", | |
Xe: "ab.storage.device", | |
hf: "ab.storage.pushToken", | |
cf: "ab.storage.newsFeed", | |
af: "ab.storage.lastNewsFeedRefresh", | |
Vc: "ab.storage.cardImpressions", | |
Si: "ab.storage.lastInAppMessageRefresh", | |
Bg: "ab.storage.serverConfig", | |
mf: "ab.storage.triggers", | |
Ui: "ab.storage.lastTriggeredTime", | |
Ti: "ab.storage.lastTriggeredTimesById", | |
Vi: "ab.storage.lastTriggerEventDataById", | |
wg: "ab.storage.messagingSessionStart", | |
Te: "ab.storage.cc", | |
Se: "ab.storage.ccLastFullSync", | |
Re: "ab.storage.ccLastCardUpdated", | |
Xc: "ab.storage.ccImpressions", | |
Wc: "ab.storage.ccDismissals", | |
Sd: "ab.storage.lastDisplayedTriggerTimesById", | |
$e: "ab.storage.lastDisplayedTriggerTime", | |
nd: "ab.storage.triggerFireInstancesById" | |
}, | |
ef: "ab.optOut" | |
}; | |
l.j.prototype.Le = function(e, t) { | |
var n = t; | |
null != t && t instanceof l.Gb && (n = t.X()); | |
this.sd.remove(e); | |
this.sd.ib(e, n) | |
}; | |
l.j.prototype.Tc = function(e) { | |
return l.Gb.qa(this.sd.Oa(e)) | |
}; | |
l.j.prototype.Sk = function(e) { | |
this.sd.remove(e) | |
}; | |
l.j.prototype.za = function(e) { | |
if (null == e || 0 === e.length) return !1; | |
l.G.isArray(e) || (e = [e]); | |
var t = this.xa.Oa(l.j.B.C.Id); | |
null != t && l.G.isArray(t) || (t = []); | |
for (var n = 0; n < e.length; n++) t.push(e[n].X()); | |
return this.xa.ib(l.j.B.C.Id, t) | |
}; | |
l.j.prototype.Ie = function(e) { | |
null == e || this.za([e]) | |
}; | |
l.j.prototype.rh = function() { | |
var e = this.xa.Oa(l.j.B.C.Id); | |
this.xa.remove(l.j.B.C.Id); | |
null == e && (e = []); | |
var t = [], | |
n = !1, | |
o = null; | |
if (l.G.isArray(e)) | |
for (var i = 0; i < e.length; i++) l.Event.Dh(e[i]) ? t.push(l.Event.qa(e[i])) : o = i; | |
else n = !0; | |
(n || null != o) && (i = "Stored events could not be deserialized as ab.Events", n && (i += ", was " + Object.prototype.toString.call(e) + " not an array"), null != o && (i += ", value at index " + o + " does not look like an event"), i += ", serialized values were of type " + typeof e + ": " + JSON.stringify(e), t.push(new l.Event(null, u.$.Qi, Date.now(), null, { | |
e: i | |
}))); | |
return t | |
}; | |
l.j.prototype.fa = function(e, t) { | |
l.G.vb(l.j.B.C, e, "StorageManager cannot store object.", "ab.StorageManager.KEYS.OBJECTS") && this.xa.ib(e, t) | |
}; | |
l.j.prototype.ma = function(e) { | |
return !!l.G.vb(l.j.B.C, e, "StorageManager cannot retrieve object.", "ab.StorageManager.KEYS.OBJECTS") && this.xa.Oa(e) | |
}; | |
l.j.prototype.ra = function(e) { | |
l.G.vb(l.j.B.C, e, "StorageManager cannot remove object.", "ab.StorageManager.KEYS.OBJECTS") && this.xa.remove(e) | |
}; | |
l.j.prototype.clearData = function() { | |
for (var e = l.G.keys(l.j.B.La), t = l.G.keys(l.j.B.C), n = 0; n < e.length; n++) this.sd.remove(l.j.B.La[e[n]]); | |
for (e = 0; e < t.length; e++) this.xa.remove(l.j.B.C[t[e]]) | |
}; | |
l.j.prototype.xf = function(e) { | |
return e || "ab.storage.attributes.anonymous_user" | |
}; | |
l.j.prototype.Ih = function(e) { | |
var t = this.xa.Oa(l.j.B.C.Wb); | |
null == t && (t = {}); | |
var n, o = this.xf(e[l.w.pd]); | |
for (n in e) n === l.w.pd || null != t[o] && null != t[o][n] || this.Qh(e[l.w.pd], n, e[n]) | |
}; | |
l.j.prototype.Qh = function(e, t, n) { | |
var o = this.xa.Oa(l.j.B.C.Wb); | |
null == o && (o = {}); | |
var i = this.xf(e), | |
p = o[i]; | |
null == p && (p = {}, null != e && (p[l.w.pd] = e)); | |
if (t === l.w.cg) { | |
null == p[t] && (p[t] = {}); | |
for (var u in n) { | |
e = n[u]; | |
var d = p[t][u], | |
f = null; | |
if (c(e)) { | |
if (void 0 !== e[l.w.Xb]) { | |
f = s(e[l.w.Xb], d); | |
if (!f && null !== f) return !1; | |
d = f | |
} | |
if (void 0 !== e[l.w.Ja]) { | |
f = r(e[l.w.Ja], d); | |
if (!f && null !== f) return !1; | |
d = f | |
} | |
if (void 0 !== e[l.w.Ka] && (f = a(e[l.w.Ka], d), !f && null !== f)) return !1 | |
} else f = n[u]; | |
p[t][u] = f | |
} | |
} else p[t] = n; | |
o[i] = p; | |
return this.xa.ib(l.j.B.C.Wb, o) | |
}; | |
l.j.prototype.hk = function() { | |
var e = this.xa.Oa(l.j.B.C.Wb); | |
this.xa.remove(l.j.B.C.Wb); | |
var t, n = []; | |
for (t in e) null != e[t] && n.push(e[t]); | |
return n | |
}; | |
l.j.prototype.Oj = function(e) { | |
var t = this.xa.Oa(l.j.B.C.Wb); | |
if (null != t) { | |
var n = this.xf(null), | |
o = t[n]; | |
null != o && (t[n] = void 0, this.xa.ib(l.j.B.C.Wb, t), o[l.w.pd] = e, this.Ih(o)) | |
} | |
n = this.Tc(l.j.B.La.fc); | |
t = null; | |
null != n && (t = n.sb); | |
n = this.rh(); | |
if (null != n) | |
for (o = 0; o < n.length; o++) { | |
var i = n[o]; | |
null == i.Ub && i.sessionId == t && (i.Ub = e); | |
this.Ie(i) | |
} | |
}; | |
l.j.Cc = function(e) { | |
this.cb = e; | |
this.uh = 10 | |
}; | |
l.j.Cc.prototype.mc = function(e) { | |
return e + "." + this.cb | |
}; | |
l.j.Cc.prototype.ib = function(e, t) { | |
t = { | |
v: t | |
}; | |
try { | |
return localStorage.setItem(this.mc(e), JSON.stringify(t)), !0 | |
} catch (d) { | |
return u.f.info("Storage failure: " + d.message), !1 | |
} | |
}; | |
l.j.Cc.prototype.Oa = function(e) { | |
try { | |
var t = JSON.parse(localStorage.getItem(this.mc(e))); | |
return null == t ? null : t.v | |
} catch (d) { | |
return u.f.info("Storage retrieval failure: " + d.message), null | |
} | |
}; | |
l.j.Cc.prototype.remove = function(e) { | |
try { | |
localStorage.removeItem(this.mc(e)) | |
} catch (t) { | |
return u.f.info("Storage removal failure: " + t.message), !1 | |
} | |
}; | |
l.j.gb = function(e, t) { | |
this.cb = e; | |
this.Wg = this.Bj(); | |
this.Pg = 10518980; | |
this.Zg = !!t | |
}; | |
l.j.gb.prototype.mc = function(e) { | |
return null != this.cb ? e + "." + this.cb : e | |
}; | |
l.j.gb.prototype.Bj = function() { | |
for (var e = 0, t = document.domain, n = t.split("."), o = "ab._gd" + Date.now(); e < n.length - 1 && -1 === document.cookie.indexOf(o + "=" + o);) e++, t = "." + n.slice(-1 - e).join("."), document.cookie = o + "=" + o + ";domain=" + t + ";"; | |
document.cookie = o + "=;expires=" + new Date(0).toGMTString() + ";domain=" + t + ";"; | |
return t | |
}; | |
l.j.gb.prototype.rk = function() { | |
var e = new Date; | |
e.setTime(e.getTime() + 6e4 * this.Pg); | |
return e.getFullYear() | |
}; | |
l.j.gb.prototype.ib = function(e, t) { | |
var n = new Date; | |
n.setTime(n.getTime() + 6e4 * this.Pg); | |
var n = "expires=" + n.toUTCString(), | |
o = "domain=" + this.Wg; | |
t = this.Zg ? t : encodeURIComponent(JSON.stringify(t)); | |
e = this.mc(e) + "=" + t + ";" + n + ";" + o + ";path=/"; | |
if (4093 <= e.length) return u.f.info("Storage failure: string is " + e.length + " chars which is too large to store as a cookie."), !1; | |
document.cookie = e; | |
return !0 | |
}; | |
l.j.gb.prototype.Oa = function(e) { | |
for (var t = [], n = this.mc(e) + "=", o = document.cookie.split(";"), i = 0; i < o.length; i++) { | |
for (var a = o[i]; | |
" " === a.charAt(0);) a = a.substring(1); | |
if (0 === a.indexOf(n)) try { | |
var r; | |
r = this.Zg ? a.substring(n.length, a.length) : JSON.parse(decodeURIComponent(a.substring(n.length, a.length))); | |
t.push(r) | |
} catch (s) { | |
return u.f.info("Storage retrieval failure: " + s.message), this.remove(e), null | |
} | |
} | |
return 0 < t.length ? t[t.length - 1] : null | |
}; | |
l.j.gb.prototype.remove = function(e) { | |
e = this.mc(e) + "=;expires=" + new Date(0).toGMTString(); | |
document.cookie = e; | |
document.cookie = e + ";path=/"; | |
document.cookie = e + ";path=" + document.location.pathname; | |
e = e + ";domain=" + this.Wg; | |
document.cookie = e; | |
document.cookie = e + ";path=/"; | |
document.cookie = e + ";path=" + document.location.pathname | |
}; | |
l.j.Bc = function() { | |
this.tf = {}; | |
this.Ug = 5242880; | |
this.uh = 3 | |
}; | |
l.j.Bc.prototype.ib = function(e, t) { | |
var n = { | |
value: t | |
}; | |
t = this.Kj(t); | |
if (t > this.Ug) return u.f.info("Storage failure: object is ≈" + t + " bytes which is greater than the max of " + this.Ug), !1; | |
this.tf[e] = n; | |
return !0 | |
}; | |
l.j.Bc.prototype.Kj = function(e) { | |
var t = []; | |
e = [e]; | |
for (var n = 0; e.length;) { | |
var o = e.pop(); | |
if ("boolean" == typeof o) n += 4; | |
else if ("string" == typeof o) n += 2 * o.length; | |
else if ("number" == typeof o) n += 8; | |
else if ("object" == typeof o && -1 === t.indexOf(o)) { | |
t.push(o); | |
for (var i in o) e.push(o[i]) | |
} | |
} | |
return n | |
}; | |
l.j.Bc.prototype.Oa = function(e) { | |
e = this.tf[e]; | |
return null == e ? null : e.value | |
}; | |
l.j.Bc.prototype.remove = function(e) { | |
this.tf[e] = null | |
}; | |
l.j.Od = function(e, t, n) { | |
this.qb = []; | |
t && this.qb.push(new l.j.gb(e)); | |
n && this.qb.push(new l.j.Cc(e)); | |
this.qb.push(new l.j.Bc) | |
}; | |
l.j.Od.prototype.ib = function(e, t) { | |
for (var n = !0, o = 0; o < this.qb.length; o++) n = this.qb[o].ib(e, t) && n; | |
return n | |
}; | |
l.j.Od.prototype.Oa = function(e) { | |
for (var t = 0; t < this.qb.length; t++) { | |
var n = this.qb[t].Oa(e); | |
if (null != n) return n | |
} | |
return null | |
}; | |
l.j.Od.prototype.remove = function(e) { | |
for (var t = 0; t < this.qb.length; t++) this.qb[t].remove(e) | |
}; | |
l.Ta = function() { | |
this.vd = {} | |
}; | |
l.Ta.prototype.hb = function(e) { | |
if ("function" != typeof e) return null; | |
var t = u.cd.ye(); | |
this.vd[t] = e; | |
return t | |
}; | |
l.Ta.prototype.Ea = function(e) { | |
delete this.vd[e] | |
}; | |
l.Ta.prototype.va = function() { | |
this.vd = {} | |
}; | |
l.Ta.prototype.Da = function(e) { | |
var t, n = []; | |
for (t in this.vd) n.push(this.vd[t](e)) | |
}; | |
l.jc = function(e, t) { | |
this.Na = e; | |
this.A = t | |
}; | |
l.jc.prototype.S = function() { | |
var e = this.A.Tc(l.j.B.La.Lg); | |
return null != e ? e.sb : null | |
}; | |
l.jc.prototype.yk = function(e) { | |
var t = null == this.S(); | |
this.A.Le(l.j.B.La.Lg, new l.Gb(e)); | |
t && this.A.Oj(e) | |
}; | |
l.jc.prototype.Uc = function(e, t) { | |
if (this.Na.nh(e)) return u.f.info('Custom Attribute "' + e + '" is blacklisted, ignoring.'), !1; | |
var n = {}; | |
n[e] = t; | |
return this.ca(l.w.cg, n) | |
}; | |
l.jc.prototype.ca = function(e, t) { | |
return this.A.Qh(this.S(), e, t) | |
}; | |
l.jc.prototype.Uf = function(e, t, n, o) { | |
this.ca("push_token", e); | |
this.ca("custom_push_public_key", t); | |
this.ca("custom_push_user_auth", n); | |
this.ca("custom_push_vapid_public_key", o); | |
var i = u.Z.kb.ec, | |
a = new u.Z(i, u.f); | |
this.A.fa(l.j.B.C.hf, [e, t, n, o]); | |
a.setItem(i.na.gf, i.Yd, !0) | |
}; | |
l.jc.prototype.Gd = function(e) { | |
this.ca("push_token", null); | |
this.ca("custom_push_public_key", null); | |
this.ca("custom_push_user_auth", null); | |
this.ca("custom_push_vapid_public_key", null); | |
if (e) { | |
e = u.Z.kb.ec; | |
var t = new u.Z(e, u.f); | |
this.A.ra(l.j.B.C.hf); | |
t.setItem(e.na.gf, e.Yd, !1) | |
} | |
}; | |
l.Qe = { | |
Mi: "invalid_api_key", | |
ji: "blacklisted", | |
gj: "no_device_identifier" | |
}; | |
l.b = function(e, t, n, o, i, a, r, s, c, p, u, l, d, f, m) { | |
this.id = e; | |
this.viewed = t || !1; | |
this.title = n || ""; | |
this.imageUrl = o; | |
this.description = i || ""; | |
this.created = a || null; | |
this.updated = r || null; | |
this.categories = s || []; | |
this.expiresAt = c || null; | |
this.url = p; | |
this.linkText = u; | |
l = parseFloat(l); | |
this.aspectRatio = isNaN(l) ? null : l; | |
this.extras = d; | |
this.pinned = f || !1; | |
this.dismissible = m || !1; | |
this.dismissed = !1; | |
this.qf = this.Ia = null | |
}; | |
l.b.xg = -1; | |
l.b.prototype.pe = function() { | |
null == this.Ia && (this.Ia = new l.Ta); | |
return this.Ia | |
}; | |
l.b.prototype.qe = function() { | |
null == this.qf && (this.qf = new l.Ta); | |
return this.qf | |
}; | |
l.b.prototype.Me = function(e) { | |
return this.pe().hb(e) | |
}; | |
l.b.prototype.Th = function(e) { | |
return this.qe().hb(e) | |
}; | |
l.b.prototype.Ea = function(e) { | |
this.pe().Ea(e); | |
this.qe().Ea(e) | |
}; | |
l.b.prototype.va = function() { | |
this.pe().va(); | |
this.qe().va() | |
}; | |
l.b.prototype.Tf = function() { | |
this.viewed = !0 | |
}; | |
l.b.prototype.wc = function() { | |
this.pe().Da(); | |
this.viewed = !0 | |
}; | |
l.b.prototype.Rc = function() { | |
return !(!this.dismissible || this.dismissed) && (this.dismissed = !0, this.qe().Da(), !0) | |
}; | |
l.b.T = { | |
Ld: "captioned_image", | |
Hg: "text_announcement", | |
Vd: "short_news", | |
Jd: "banner_image", | |
Ue: "control" | |
}; | |
l.b.I = { | |
Db: "id", | |
Kb: "v", | |
Bb: "db", | |
zg: "r", | |
bb: "ca", | |
mb: "p", | |
Za: "ea", | |
lb: "e", | |
ic: "tp", | |
Eb: "i", | |
hc: "tt", | |
$b: "ds", | |
URL: "u", | |
Hb: "dm", | |
wb: "ar" | |
}; | |
l.b.D = { | |
Db: "id", | |
Kb: "v", | |
Bb: "db", | |
Nd: "cr", | |
bb: "ca", | |
mb: "p", | |
Md: "t", | |
Za: "ea", | |
lb: "e", | |
ic: "tp", | |
Eb: "i", | |
hc: "tt", | |
$b: "ds", | |
URL: "u", | |
Hb: "dm", | |
wb: "ar" | |
}; | |
l.b.Il = { | |
Fl: "ADVERTISING", | |
Gl: "ANNOUNCEMENTS", | |
Ll: "NEWS", | |
Pl: "SOCIAL" | |
}; | |
l.yb = function(e, t, n, o, i, a, r, s, c, p, u, d, f, m, h) { | |
l.b.call(this, e, t, n, o, i, a, r, s, c, p, u, d, f, m, h) | |
}; | |
l.Va(l.yb, l.b); | |
l.yb.prototype.X = function() { | |
var e = {}; | |
e[l.b.D.ic] = l.b.T.Ld; | |
e[l.b.D.Db] = this.id; | |
e[l.b.D.Kb] = this.viewed; | |
e[l.b.D.hc] = this.title; | |
e[l.b.D.Eb] = this.imageUrl; | |
e[l.b.D.$b] = this.description; | |
e[l.b.D.bb] = this.updated; | |
e[l.b.D.Nd] = this.created; | |
e[l.b.D.Md] = this.categories; | |
e[l.b.D.Za] = this.expiresAt; | |
e[l.b.D.URL] = this.url; | |
e[l.b.D.Hb] = this.linkText; | |
e[l.b.D.wb] = this.aspectRatio; | |
e[l.b.D.lb] = this.extras; | |
e[l.b.D.mb] = this.pinned; | |
e[l.b.D.Bb] = this.dismissible; | |
return e | |
}; | |
l.zb = function(e, t, n, o, i, a, r, s, c, p, u, d, f, m, h) { | |
l.b.call(this, e, t, n, o, i, a, r, s, c, p, u, d, f, m, h) | |
}; | |
l.Va(l.zb, l.b); | |
l.zb.prototype.X = function() { | |
var e = {}; | |
e[l.b.D.ic] = l.b.T.Vd; | |
e[l.b.D.Db] = this.id; | |
e[l.b.D.Kb] = this.viewed; | |
e[l.b.D.hc] = this.title; | |
e[l.b.D.Eb] = this.imageUrl; | |
e[l.b.D.$b] = this.description; | |
e[l.b.D.bb] = this.updated; | |
e[l.b.D.Nd] = this.created; | |
e[l.b.D.Md] = this.categories; | |
e[l.b.D.Za] = this.expiresAt; | |
e[l.b.D.URL] = this.url; | |
e[l.b.D.Hb] = this.linkText; | |
e[l.b.D.wb] = this.aspectRatio; | |
e[l.b.D.lb] = this.extras; | |
e[l.b.D.mb] = this.pinned; | |
e[l.b.D.Bb] = this.dismissible; | |
return e | |
}; | |
l.Banner = function(e, t, n, o, i, a, r, s, c, p, u, d, f) { | |
l.b.call(this, e, t, null, n, null, o, i, a, r, s, c, p, u, d, f) | |
}; | |
l.Va(l.Banner, l.b); | |
l.Banner.prototype.X = function() { | |
var e = {}; | |
e[l.b.D.ic] = l.b.T.Jd; | |
e[l.b.D.Db] = this.id; | |
e[l.b.D.Kb] = this.viewed; | |
e[l.b.D.Eb] = this.imageUrl; | |
e[l.b.D.bb] = this.updated; | |
e[l.b.D.Nd] = this.created; | |
e[l.b.D.Md] = this.categories; | |
e[l.b.D.Za] = this.expiresAt; | |
e[l.b.D.URL] = this.url; | |
e[l.b.D.Hb] = this.linkText; | |
e[l.b.D.wb] = this.aspectRatio; | |
e[l.b.D.lb] = this.extras; | |
e[l.b.D.mb] = this.pinned; | |
e[l.b.D.Bb] = this.dismissible; | |
return e | |
}; | |
l.jb = function(e, t, n, o, i, a) { | |
l.b.call(this, e, t, null, null, null, null, n, null, o, null, null, null, i, a, null) | |
}; | |
l.Va(l.jb, l.b); | |
l.jb.prototype.X = function() { | |
var e = {}; | |
e[l.b.D.ic] = l.b.T.Ue; | |
e[l.b.D.Db] = this.id; | |
e[l.b.D.Kb] = this.viewed; | |
e[l.b.D.bb] = this.updated; | |
e[l.b.D.Za] = this.expiresAt; | |
e[l.b.D.lb] = this.extras; | |
e[l.b.D.mb] = this.pinned; | |
return e | |
}; | |
l.b.prototype.yh = function(e) { | |
if (null == e || e[l.b.I.Db] !== this.id) return !0; | |
if (e[l.b.I.zg]) return !1; | |
if (null != e[l.b.I.bb] && null != this.updated && e[l.b.I.bb] < l.N.zd(this.updated.valueOf())) return !0; | |
e[l.b.I.Kb] && !this.viewed && (this.viewed = !0); | |
null != e[l.b.I.hc] && (this.title = e[l.b.I.hc]); | |
null != e[l.b.I.Eb] && (this.imageUrl = e[l.b.I.Eb]); | |
null != e[l.b.I.$b] && (this.description = e[l.b.I.$b]); | |
if (null != e[l.b.I.bb]) { | |
var t = l.N.eb(e[l.b.I.bb]); | |
null != t && (this.updated = t) | |
} | |
null != e[l.b.I.Za] && (this.expiresAt = e[l.b.I.Za] === l.b.xg ? null : l.N.eb(e[l.b.I.Za])); | |
null != e[l.b.I.URL] && (this.url = e[l.b.I.URL]); | |
null != e[l.b.I.Hb] && (this.linkText = e[l.b.I.Hb]); | |
null != e[l.b.I.wb] && (t = parseFloat(e[l.b.I.wb]), this.aspectRatio = isNaN(t) ? null : t); | |
null != e[l.b.I.lb] && (this.extras = e[l.b.I.lb]); | |
null != e[l.b.I.mb] && (this.pinned = e[l.b.I.mb]); | |
null != e[l.b.I.Bb] && (this.dismissible = e[l.b.I.Bb]); | |
return !0 | |
}; | |
l.b.Gf = function(e) { | |
if (e[l.b.I.zg]) return null; | |
var t, n = e[l.b.I.Db], | |
o = e[l.b.I.ic], | |
i = e[l.b.I.Kb], | |
a = e[l.b.I.hc], | |
r = e[l.b.I.Eb], | |
s = e[l.b.I.$b], | |
c = l.N.eb(e[l.b.I.bb]); | |
t = e[l.b.I.Za] === l.b.xg ? null : l.N.eb(e[l.b.I.Za]); | |
var p = e[l.b.I.URL], | |
u = e[l.b.I.Hb], | |
d = e[l.b.I.wb], | |
f = e[l.b.I.lb], | |
m = e[l.b.I.mb]; | |
e = e[l.b.I.Bb]; | |
return o === l.b.T.Hg || o === l.b.T.Vd ? new l.zb(n, i, a, r, s, null, c, null, t, p, u, d, f, m, e) : o === l.b.T.Ld ? new l.yb(n, i, a, r, s, null, c, null, t, p, u, d, f, m, e) : o === l.b.T.Jd ? new l.Banner(n, i, r, null, c, null, t, p, u, d, f, m, e) : o === l.b.T.Ue ? new l.jb(n, i, c, t, f, m) : null | |
}; | |
l.b.kk = function(e) { | |
var t = e.id, | |
n = e.type, | |
o = e.viewed, | |
i = e.title, | |
a = e.image, | |
r = e.description, | |
s = l.N.eb(e.created), | |
c = l.N.eb(e.updated), | |
p = e.categories, | |
u = l.N.eb(e.expires_at), | |
d = e.url, | |
f = e.domain, | |
m = e.aspect_ratio; | |
e = e.extras; | |
return n === l.b.T.Hg || n === l.b.T.Vd ? new l.zb(t, o, i, a, r, s, c, p, u, d, f, m, e, !1, !1) : n === l.b.T.Ld ? new l.yb(t, o, i, a, r, s, c, p, u, d, f, m, e, !1, !1) : n === l.b.T.Jd ? new l.Banner(t, o, a, s, c, p, u, d, f, m, e, !1, !1) : null | |
}; | |
l.b.qa = function(e) { | |
var t = e[l.b.D.Db], | |
n = e[l.b.D.ic], | |
o = e[l.b.D.Kb], | |
i = e[l.b.D.hc], | |
a = e[l.b.D.Eb], | |
r = e[l.b.D.$b], | |
s = l.N.Sc(e[l.b.D.Nd]), | |
c = l.N.Sc(e[l.b.D.bb]), | |
p = e[l.b.D.Md], | |
u = l.N.Sc(e[l.b.D.Za]), | |
d = e[l.b.D.URL], | |
f = e[l.b.D.Hb], | |
m = e[l.b.D.wb], | |
h = e[l.b.D.lb], | |
g = e[l.b.D.mb]; | |
e = e[l.b.D.Bb]; | |
return n === l.b.T.Vd ? new l.zb(t, o, i, a, r, s, c, p, u, d, f, m, h, g, e) : n === l.b.T.Ld ? new l.yb(t, o, i, a, r, s, c, p, u, d, f, m, h, g, e) : n === l.b.T.Jd ? new l.Banner(t, o, a, s, c, p, u, d, f, m, h, g, e) : n === l.b.T.Ue ? new l.jb(t, o, c, u, h, g) : void 0 | |
}; | |
l.Zb = function(e) { | |
this.triggerId = e | |
}; | |
l.Zb.V = function(e) { | |
return new this(e.trigger_id) | |
}; | |
l.hg = function(e, t, n, o, i, a, r, s) { | |
this.id = e; | |
this.xd = t; | |
this.Sj = n; | |
this.Lk = o; | |
this.Vk = i; | |
this.locale = a; | |
this.sl = r; | |
this.userAgent = s | |
}; | |
l.hg.prototype.nc = function() { | |
return { | |
browser: this.xd, | |
browser_version: this.Sj, | |
os_version: this.Lk, | |
resolution: this.Vk, | |
locale: this.locale, | |
time_zone: this.sl, | |
user_agent: this.userAgent | |
} | |
}; | |
l.Event = function(e, t, n, o, i) { | |
this.Ub = e; | |
this.type = t; | |
this.time = l.N.ul(n); | |
this.sessionId = o; | |
this.data = i | |
}; | |
l.Event.prototype.nc = function() { | |
var e = { | |
name: this.type, | |
time: l.N.zd(this.time), | |
data: this.data || {}, | |
session_id: this.sessionId | |
}; | |
null != this.Ub && (e.user_id = this.Ub); | |
return e | |
}; | |
l.Event.prototype.X = function() { | |
return { | |
u: this.Ub, | |
t: this.type, | |
ts: this.time, | |
s: this.sessionId, | |
d: this.data | |
} | |
}; | |
l.Event.Dh = function(e) { | |
return null != e && l.G.Ek(e) && null != e.t && "" !== e.t | |
}; | |
l.Event.qa = function(e) { | |
return new l.Event(e.u, e.t, e.ts, e.s, e.d) | |
}; | |
l.J = function(e, t) { | |
this.cards = e; | |
this.lastUpdated = t | |
}; | |
l.J.prototype.wh = function() { | |
for (var e = 0, t = 0; t < this.cards.length; t++) this.cards[t].viewed || e++; | |
return e | |
}; | |
l.ta = function(e, t) { | |
l.J.call(this, e, t) | |
}; | |
l.Va(l.ta, l.J); | |
l.ta.prototype.vk = l.J.prototype.wh; | |
l.Qd = function(e, t, n, o, i, a) { | |
this.Ub = e; | |
this.Tk = t; | |
this.message = n; | |
this.Gk = o; | |
this.gk = i; | |
this.appVersion = a | |
}; | |
l.Qd.prototype.nc = function() { | |
var e = { | |
message: this.message, | |
is_bug: !!this.Gk, | |
reply_to: this.Tk, | |
device: this.gk, | |
app_version: this.appVersion | |
}; | |
null != this.Ub && (e.user_id = this.Ub); | |
return e | |
}; | |
l.Qd.Cl = function(e, t) { | |
return l.R.Ch(e) ? null != t && "" !== t.trim() || (u.f.error("Feedback requires a non-empty message."), !1) : (u.f.error('Feedback requires a valid RFC-5322 email address - "' + e + '" is not valid.'), !1) | |
}; | |
l.Gb = function(e, t, n) { | |
null == e && (e = u.cd.ye()); | |
n = parseInt(n); | |
(isNaN(n) || 0 === n) && (n = Date.now()); | |
this.sb = e; | |
this.Ad = n; | |
this.Be = Date.now(); | |
this.Ff = t | |
}; | |
l.Gb.prototype.X = function() { | |
return { | |
g: this.sb, | |
e: this.Ff, | |
c: this.Ad, | |
l: this.Be | |
} | |
}; | |
l.Gb.qa = function(e) { | |
if (null == e || null == e.g) return null; | |
var t = new l.Gb(e.g, e.e, e.c); | |
t.Be = e.l; | |
return t | |
}; | |
l.h = function(e, t, n, o, i, a, r, s, c, p, u, d, f, m, h, g, y, b, v, w, k, _, x, j, I, A, C, S, E) { | |
this.message = e; | |
this.messageAlignment = t || l.h.nf.CENTER; | |
this.duration = d || 5e3; | |
this.slideFrom = n || l.h.Zd.BOTTOM; | |
this.extras = o || []; | |
this.campaignId = i; | |
this.cardId = a; | |
this.triggerId = r; | |
this.clickAction = s || l.h.Ab.NONE; | |
this.uri = c; | |
this.openTarget = p || l.h.hd.NONE; | |
this.dismissType = u || l.h.Ac.AUTO_DISMISS; | |
this.icon = f; | |
this.imageUrl = m; | |
this.imageStyle = h || l.h.Rd.TOP; | |
this.iconColor = g || l.h.Ya.be; | |
this.iconBackgroundColor = y || l.h.Ya.ag; | |
this.backgroundColor = b || l.h.Ya.be; | |
this.textColor = v || l.h.Ya.Pe; | |
this.closeButtonColor = w || l.h.Ya.Pe; | |
this.animateIn = k; | |
null == this.animateIn && (this.animateIn = !0); | |
this.animateOut = _; | |
null == this.animateOut && (this.animateOut = !0); | |
this.header = x; | |
this.headerAlignment = j || l.h.nf.CENTER; | |
this.headerTextColor = I || l.h.Ya.Pe; | |
this.frameColor = A || l.h.Ya.oj; | |
this.buttons = C || []; | |
this.cropType = S || l.h.Zc.Kl; | |
this.orientation = E; | |
this.Qg = this.kc = this.Rg = !1; | |
this.Ia = new l.Ta; | |
this.ee = new l.Ta | |
}; | |
l.h.prototype.Qc = function() { | |
return !0 | |
}; | |
l.h.prototype.Zh = function() { | |
return this.Qc() | |
}; | |
l.h.prototype.Me = function(e) { | |
return this.Ia.hb(e) | |
}; | |
l.h.prototype.Th = function(e) { | |
return this.ee.hb(e) | |
}; | |
l.h.prototype.Ea = function(e) { | |
this.Ia.Ea(e); | |
this.ee.Ea(e) | |
}; | |
l.h.prototype.va = function() { | |
this.Ia.va(); | |
this.ee.va() | |
}; | |
l.h.prototype.Tf = function() { | |
return !this.Rg && (this.Rg = !0) | |
}; | |
l.h.prototype.wc = function() { | |
return !this.kc && (this.kc = !0, this.Ia.Da(), !0) | |
}; | |
l.h.prototype.Rc = function() { | |
return !this.Qg && (this.Qg = !0, this.ee.Da(), !0) | |
}; | |
l.h.Ya = { | |
Pe: 4278190080, | |
be: 4294967295, | |
ag: 4278219733, | |
cj: 3858759680, | |
oj: 3224580915 | |
}; | |
l.h.Ba = { | |
Ji: "hd", | |
di: "ias", | |
hj: "of", | |
wi: "do", | |
od: "umt", | |
ae: "tf", | |
Ki: "te" | |
}; | |
l.h.Aa = function(e, t, n, o, i, a) { | |
this.text = e || ""; | |
this.backgroundColor = t || l.h.Ya.ag; | |
this.textColor = n || l.h.Ya.be; | |
this.clickAction = o || l.h.Ab.NEWS_FEED; | |
this.uri = i; | |
null == a && (a = l.h.Aa.fg); | |
this.id = a; | |
this.kc = !1; | |
this.Ia = new l.Ta | |
}; | |
l.h.Aa.fg = -1; | |
l.h.Aa.prototype.Me = function(e) { | |
return this.Ia.hb(e) | |
}; | |
l.h.Aa.prototype.Ea = function(e) { | |
this.Ia.Ea(e) | |
}; | |
l.h.Aa.prototype.va = function() { | |
this.Ia.va() | |
}; | |
l.h.Aa.prototype.wc = function() { | |
return !this.kc && (this.kc = !0, this.Ia.Da(), !0) | |
}; | |
l.h.Aa.V = function(e) { | |
return new l.h.Aa(e.text, e.bg_color, e.text_color, e.click_action, e.uri, e.id) | |
}; | |
l.h.Zd = { | |
TOP: "TOP", | |
BOTTOM: "BOTTOM" | |
}; | |
l.h.Ab = { | |
NEWS_FEED: "NEWS_FEED", | |
URI: "URI", | |
NONE: "NONE" | |
}; | |
l.h.Ac = { | |
AUTO_DISMISS: "AUTO_DISMISS", | |
MANUAL: "SWIPE" | |
}; | |
l.h.hd = { | |
NONE: "NONE", | |
BLANK: "BLANK" | |
}; | |
l.h.Rd = { | |
TOP: "TOP", | |
GRAPHIC: "GRAPHIC" | |
}; | |
l.h.Ga = { | |
PORTRAIT: "PORTRAIT", | |
LANDSCAPE: "LANDSCAPE" | |
}; | |
l.h.nf = { | |
START: "START", | |
CENTER: "CENTER", | |
END: "END" | |
}; | |
l.h.Zc = { | |
CENTER_CROP: "CENTER_CROP", | |
FIT_CENTER: "FIT_CENTER" | |
}; | |
l.h.T = { | |
rj: "SLIDEUP", | |
bj: "MODAL", | |
Fi: "FULL", | |
Ii: "WEB_HTML" | |
}; | |
l.ob = function(e, t, n, o, i, a, r, s, c, p, u, d, f, m, h, g, y, b, v, w) { | |
b = b || l.h.Ya.be; | |
y = y || l.h.Ya.cj; | |
l.h.call(this, e, t, n, o, i, a, r, s, c, p, u, d, f, m, null, h, g, y, b, b, v, w) | |
}; | |
l.Va(l.ob, l.h); | |
l.ob.prototype.T = l.h.T.rj; | |
l.ob.prototype.Qc = function() { | |
return !1 | |
}; | |
l.cc = function(e, t, n, o, i, a, r, s, c, p, u, d, f, m, h, g, y, b, v, w, k, _, x, j, I, A, C) { | |
p = p || l.h.Ac.MANUAL; | |
C = C || l.h.Zc.FIT_CENTER; | |
l.h.call(this, e, t, null, n, o, i, a, r, s, c, p, u, d, f, m, h, g, y, b, v, w, k, _, x, j, I, A, C) | |
}; | |
l.Va(l.cc, l.h); | |
l.cc.prototype.T = l.h.T.bj; | |
l.bc = function(e, t, n, o, i, a, r, s, c, p, u, d, f, m, h, g, y, b, v, w, k, _, x, j, I, A, C, S) { | |
p = p || l.h.Ac.MANUAL; | |
S = S || l.h.Ga.PORTRAIT; | |
C = C || l.h.Zc.CENTER_CROP; | |
l.h.call(this, e, t, null, n, o, i, a, r, s, c, p, u, d, f, m, h, g, y, b, v, w, k, _, x, j, I, A, C, S) | |
}; | |
l.Va(l.bc, l.h); | |
l.bc.prototype.T = l.h.T.Fi; | |
l.Sa = function(e, t, n, o, i, a, r, s, c, p) { | |
a = a || l.h.Ac.MANUAL; | |
l.h.call(this, e, null, null, t, n, o, i, null, null, null, a, r, null, null, null, null, null, null, null, null, s, c, null, null, null, p) | |
}; | |
l.Va(l.Sa, l.h); | |
l.Sa.prototype.T = l.h.T.Ii; | |
l.Sa.prototype.Zh = function() { | |
return !1 | |
}; | |
l.Sa.prototype.wc = function(e) { | |
return !this.kc && (this.kc = !0, this.Ia.Da(e), !0) | |
}; | |
l.h.V = function(e) { | |
if (e.is_control) return l.Zb.V(e); | |
var t = e.type; | |
null != t && (t = t.toUpperCase()); | |
var n = e.message, | |
o = e.text_align_message, | |
i = e.slide_from, | |
a = e.extras, | |
r = e.campaign_id, | |
s = e.card_id, | |
c = e.trigger_id, | |
p = e.click_action, | |
d = e.uri, | |
f = e.open_target, | |
m = e.message_close, | |
h = e.duration, | |
g = e.icon, | |
y = e.image_url, | |
b = e.image_style, | |
v = e.icon_color, | |
w = e.icon_bg_color, | |
k = e.bg_color, | |
_ = e.text_color, | |
x = e.close_btn_color, | |
j = e.header, | |
I = e.text_align_header, | |
A = e.header_text_color, | |
C = e.frame_color, | |
S = [], | |
E = e.btns; | |
null == E && (E = []); | |
for (var T = 0; T < E.length; T++) S.push(l.h.Aa.V(E[T])); | |
var E = e.crop_type, | |
T = e.orientation, | |
P = e.animate_in; | |
e = e.animate_out; | |
if (t === l.cc.prototype.T) return new l.cc(n, o, a, r, s, c, p, d, f, m, h, g, y, b, v, w, k, _, x, P, e, j, I, A, C, S, E); | |
if (t === l.bc.prototype.T) return new l.bc(n, o, a, r, s, c, p, d, f, m, h, g, y, b, v, w, k, _, x, P, e, j, I, A, C, S, E, T); | |
if (t === l.ob.prototype.T) return new l.ob(n, o, i, a, r, s, c, p, d, f, m, h, g, y, v, w, k, _, P, e); | |
if (t === l.Sa.prototype.T) return new l.Sa(n, a, r, s, c, m, h, P, e, C); | |
u.f.error("Ignoring message with unknown type " + t) | |
}; | |
l.Ha = function() { | |
this.L = !1; | |
this.K = [] | |
}; | |
l.Ec = function(e, t, n, o, i, a) { | |
this.Lf = e || 0; | |
this.sh = t || []; | |
this.oh = n || []; | |
this.Mh = o || []; | |
this.Of = i; | |
null != i && "" !== i || (this.Of = null); | |
this.$h = a || null | |
}; | |
l.Ec.prototype.X = function() { | |
return { | |
s: "2.2.3", | |
l: this.Lf, | |
e: this.sh, | |
a: this.oh, | |
p: this.Mh, | |
m: this.Of, | |
v: this.$h | |
} | |
}; | |
l.Ec.qa = function(e) { | |
var t = e.l; | |
"2.2.3" !== e.s && (t = 0); | |
return new l.Ec(t, e.e, e.a, e.p, e.m, e.v) | |
}; | |
l.Kg = function(e, t) { | |
this.yc = e; | |
this.ai = t | |
}; | |
l.Kg.V = function(e, t) { | |
return null == e || null == e.trigger_id ? null : new this(e.trigger_id, t) | |
}; | |
l.o = function(e, t) { | |
this.type = e; | |
this.data = t | |
}; | |
l.o.prototype.Bh = function(e, t) { | |
return l.pb[this.type] === e && (null == this.data || this.data.fb(t)) | |
}; | |
l.o.lh = function(e, t) { | |
var n = null; | |
try { | |
n = window.atob(e) | |
} catch (o) { | |
return u.f.info("Failed to unencode analytics id " + e + ": " + o.message), !1 | |
} | |
return t === n.split("_")[0] | |
}; | |
l.o.V = function(e) { | |
var t, n = e.type; | |
switch (n) { | |
case l.o.U.OPEN: | |
t = null; | |
break; | |
case l.o.U.dc: | |
t = l.o.jd.V(e.data); | |
break; | |
case l.o.U.ff: | |
t = l.o.kd.V(e.data); | |
break; | |
case l.o.U.Dc: | |
t = l.o.md.V(e.data); | |
break; | |
case l.o.U.Yb: | |
t = l.o.$c.V(e.data); | |
break; | |
case l.o.U.Ve: | |
t = l.o.ad.V(e.data); | |
break; | |
case l.o.U.Fb: | |
t = l.o.dd.V(e.data); | |
break; | |
case l.o.U.Jb: | |
t = null | |
} | |
return new this(n, t) | |
}; | |
l.o.U = { | |
OPEN: "open", | |
dc: "purchase", | |
ff: "purchase_property", | |
Dc: "push_click", | |
Yb: "custom_event", | |
Ve: "custom_event_property", | |
Fb: "iam_click", | |
Jb: "test" | |
}; | |
l.la = { | |
OPEN: "open", | |
dc: "purchase", | |
Dc: "push_click", | |
Yb: "custom_event", | |
Fb: "iam_click", | |
Jb: "test" | |
}; | |
l.pb = {}; | |
l.pb[l.o.U.OPEN] = l.la.OPEN; | |
l.pb[l.o.U.dc] = l.la.dc; | |
l.pb[l.o.U.ff] = l.la.dc; | |
l.pb[l.o.U.Dc] = l.la.Dc; | |
l.pb[l.o.U.Yb] = l.la.Yb; | |
l.pb[l.o.U.Ve] = l.la.Yb; | |
l.pb[l.o.U.Fb] = l.la.Fb; | |
l.pb[l.o.U.Jb] = l.la.Jb; | |
l.o.Y = function(e, t, n, o) { | |
this.Lh = e; | |
this.He = t; | |
this.Mc = n; | |
this.ea = o; | |
this.He === l.o.Y.jf.We && this.Mc !== l.o.Y.wa.lg && this.Mc !== l.o.Y.wa.tg && this.Mc !== l.o.Y.wa.dg && this.Mc !== l.o.Y.wa.eg && (this.ea = l.N.eb(this.ea)) | |
}; | |
l.o.Y.V = function(e) { | |
return new this(e.property_key, e.property_type, e.comparator, e.property_value) | |
}; | |
l.o.Y.prototype.fb = function(e) { | |
var t = null; | |
null != e && (t = e[this.Lh]); | |
switch (this.Mc) { | |
case l.o.Y.wa.Bi: | |
return null != t && t.valueOf() === this.ea.valueOf(); | |
case l.o.Y.wa.dj: | |
return null == t || t.valueOf() !== this.ea.valueOf(); | |
case l.o.Y.wa.Hi: | |
return typeof t == typeof this.ea && t > this.ea; | |
case l.o.Y.wa.lg: | |
return this.He === l.o.Y.jf.We ? null != t && l.G.tb(t) && l.N.Oh(t) <= this.ea : typeof t == typeof this.ea && t >= this.ea; | |
case l.o.Y.wa.Wi: | |
return typeof t == typeof this.ea && t < this.ea; | |
case l.o.Y.wa.tg: | |
return this.He === l.o.Y.jf.We ? null != t && l.G.tb(t) && l.N.Oh(t) >= this.ea : typeof t == typeof this.ea && t <= this.ea; | |
case l.o.Y.wa.$i: | |
return null != t && "string" == typeof t && typeof t == typeof this.ea && null != t.match(this.ea); | |
case l.o.Y.wa.Di: | |
return null != t; | |
case l.o.Y.wa.xi: | |
return null == t; | |
case l.o.Y.wa.dg: | |
return null != t && l.G.tb(t) && l.N.Ph(t) < this.ea; | |
case l.o.Y.wa.eg: | |
return null != t && l.G.tb(t) && l.N.Ph(t) > this.ea; | |
case l.o.Y.wa.ej: | |
return null == t || typeof t != typeof this.ea || "string" != typeof t || null == t.match(this.ea) | |
} | |
return !1 | |
}; | |
l.o.Y.prototype.X = function() { | |
var e = this.ea; | |
l.G.tb(this.ea) && (e = l.N.zd(e.valueOf())); | |
return { | |
k: this.Lh, | |
t: this.He, | |
c: this.Mc, | |
v: e | |
} | |
}; | |
l.o.Y.qa = function(e) { | |
return new this(e.k, e.t, e.c, e.v) | |
}; | |
l.o.Y.wa = { | |
Bi: 1, | |
dj: 2, | |
Hi: 3, | |
lg: 4, | |
Wi: 5, | |
tg: 6, | |
$i: 10, | |
Di: 11, | |
xi: 12, | |
dg: 15, | |
eg: 16, | |
ej: 17 | |
}; | |
l.o.Y.jf = { | |
Hl: "boolean", | |
Ml: "number", | |
Ql: "string", | |
We: "date" | |
}; | |
l.o.Cb = function(e) { | |
this.filters = e | |
}; | |
l.o.Cb.V = function(e) { | |
if (null == e || !l.G.isArray(e)) return null; | |
for (var t = [], n = 0; n < e.length; n++) { | |
for (var o = [], i = e[n], a = 0; a < i.length; a++) o.push(l.o.Y.V(i[a])); | |
t.push(o) | |
} | |
return new this(t) | |
}; | |
l.o.Cb.prototype.fb = function(e) { | |
for (var t = !0, n = 0; n < this.filters.length; n++) { | |
for (var o = this.filters[n], i = !1, a = 0; a < o.length; a++) | |
if (o[a].fb(e)) { | |
i = !0; | |
break | |
} if (!i) { | |
t = !1; | |
break | |
} | |
} | |
return t | |
}; | |
l.o.Cb.prototype.X = function() { | |
for (var e = [], t = 0; t < this.filters.length; t++) { | |
for (var n = this.filters[t], o = [], i = 0; i < n.length; i++) o.push(n[i].X()); | |
e.push(o) | |
} | |
return e | |
}; | |
l.o.Cb.qa = function(e) { | |
for (var t = [], n = 0; n < e.length; n++) { | |
for (var o = [], i = e[n], a = 0; a < i.length; a++) o.push(l.o.Y.qa(i[a])); | |
t.push(o) | |
} | |
return new this(t) | |
}; | |
l.o.jd = function(e) { | |
this.uc = e | |
}; | |
l.o.jd.prototype.fb = function(e) { | |
return null == this.uc || e[0] === this.uc | |
}; | |
l.o.jd.V = function(e) { | |
return new this(e ? e.product_id : null) | |
}; | |
l.o.kd = function(e, t) { | |
this.uc = e; | |
this.vc = t | |
}; | |
l.o.kd.prototype.fb = function(e) { | |
if (null == this.uc || null == this.vc) return !1; | |
var t = e[1]; | |
return e[0] === this.uc && this.vc.fb(t) | |
}; | |
l.o.kd.V = function(e) { | |
return new this(e ? e.product_id : null, e ? l.o.Cb.V(e.property_filters) : null) | |
}; | |
l.o.md = function(e) { | |
this.oc = e | |
}; | |
l.o.md.prototype.fb = function(e) { | |
return null == this.oc || l.o.lh(e[0], this.oc) | |
}; | |
l.o.md.V = function(e) { | |
return new this(e ? e.campaign_id : null) | |
}; | |
l.o.$c = function(e) { | |
this.rc = e | |
}; | |
l.o.$c.prototype.fb = function(e) { | |
return null == this.rc || this.rc === e[0] | |
}; | |
l.o.$c.V = function(e) { | |
return new this(e ? e.event_name : null) | |
}; | |
l.o.ad = function(e, t) { | |
this.rc = e; | |
this.vc = t | |
}; | |
l.o.ad.prototype.fb = function(e) { | |
if (null == this.rc || null == this.vc) return !1; | |
var t = e[1]; | |
return e[0] === this.rc && this.vc.fb(t) | |
}; | |
l.o.ad.V = function(e) { | |
return new this(e ? e.event_name : null, e ? l.o.Cb.V(e.property_filters) : null) | |
}; | |
l.o.dd = function(e, t) { | |
this.oc = e; | |
this.yd = t | |
}; | |
l.o.dd.prototype.fb = function(e) { | |
if (null == this.oc) return !1; | |
var t = l.o.lh(e[0], this.oc); | |
if (!t) return !1; | |
var n = null == this.yd || 0 === this.yd.length; | |
if (null != this.yd) | |
for (var o = 0; o < this.yd.length; o++) | |
if (this.yd[o] === e[1]) { | |
n = !0; | |
break | |
} return t && n | |
}; | |
l.o.dd.V = function(e) { | |
return new this(e ? e.id : null, e ? e.buttons : null) | |
}; | |
l.o.prototype.X = function() { | |
return { | |
t: this.type, | |
d: this.data ? this.data.X() : null | |
} | |
}; | |
l.o.jd.prototype.X = function() { | |
return this.uc | |
}; | |
l.o.kd.prototype.X = function() { | |
return { | |
id: this.uc, | |
pf: this.vc.X() | |
} | |
}; | |
l.o.md.prototype.X = function() { | |
return this.oc | |
}; | |
l.o.$c.prototype.X = function() { | |
return this.rc | |
}; | |
l.o.ad.prototype.X = function() { | |
return { | |
e: this.rc, | |
pf: this.vc.X() | |
} | |
}; | |
l.o.dd.prototype.X = function() { | |
return this.oc | |
}; | |
l.o.qa = function(e) { | |
var t; | |
switch (e.t) { | |
case l.o.U.OPEN: | |
t = null; | |
break; | |
case l.o.U.dc: | |
t = new l.o.jd(e.d); | |
break; | |
case l.o.U.ff: | |
t = e.d || {}; | |
t = new l.o.kd(t.id, l.o.Cb.qa(t.pf || [])); | |
break; | |
case l.o.U.Dc: | |
t = new l.o.md(e.d); | |
break; | |
case l.o.U.Yb: | |
t = new l.o.$c(e.d); | |
break; | |
case l.o.U.Ve: | |
t = e.d || {}; | |
t = new l.o.ad(t.e, l.o.Cb.qa(t.pf || [])); | |
break; | |
case l.o.U.Fb: | |
t = new l.o.dd(e.d); | |
break; | |
case l.o.U.Jb: | |
t = null | |
} | |
return new this(e.t, t) | |
}; | |
l.ka = function(e, t, n, o, i, a, r, s, c, p, u, d) { | |
this.id = e; | |
this.Nc = t || []; | |
void 0 === n && (n = null); | |
this.startTime = n; | |
void 0 === o && (o = null); | |
this.endTime = o; | |
this.Qf = i || 0; | |
this.type = a; | |
void 0 === p && (p = null); | |
this.Ne = p; | |
this.data = r; | |
this.qc = s || 0; | |
null == c && (c = l.ka.Jg); | |
this.Sf = c; | |
this.Jh = u; | |
this.ie = d || null | |
}; | |
l.ka.prototype.Ah = function(e) { | |
return null == this.ie || this.Sf !== l.ka.Jg && e - this.ie >= 1e3 * this.Sf | |
}; | |
l.ka.prototype.Rf = function(e) { | |
this.ie = e | |
}; | |
l.ka.prototype.Kk = function(e) { | |
return Math.max(e + 1e3 * this.qc - Date.now(), 0) | |
}; | |
l.ka.prototype.tl = function(e) { | |
var t = Date.now() - e; | |
(e = null == e || isNaN(t) || null == this.Ne || t < this.Ne) || u.f.info("Trigger action " + this.type + " is no longer eligible for display - fired " + t + "ms ago and has a timeout of " + this.Ne + "ms"); | |
return !e | |
}; | |
l.ka.Jg = -1; | |
l.ka.U = { | |
ng: "inapp", | |
Gg: "templated_iam" | |
}; | |
l.ka.V = function(e) { | |
for (var t = e.id, n = [], o = 0; o < e.trigger_condition.length; o++) n.push(l.o.V(e.trigger_condition[o])); | |
var o = l.N.eb(e.start_time), | |
i = l.N.eb(e.end_time), | |
a = e.priority, | |
r = e.type, | |
s = e.delay, | |
c = e.re_eligibility, | |
p = e.timeout, | |
u = e.data; | |
e = e.min_seconds_since_last_trigger; | |
return l.G.vb(l.ka.U, r, "Could not construct Trigger from server data", "ab.Trigger.Types") ? new this(t, n, o, i, a, r, u, s, c, p, e) : null | |
}; | |
l.ka.prototype.X = function() { | |
for (var e = [], t = 0; t < this.Nc.length; t++) e.push(this.Nc[t].X()); | |
return { | |
i: this.id, | |
c: e, | |
s: this.startTime, | |
e: this.endTime, | |
p: this.Qf, | |
t: this.type, | |
da: this.data, | |
d: this.qc, | |
r: this.Sf, | |
tm: this.Ne, | |
ss: this.Jh, | |
ld: this.ie | |
} | |
}; | |
l.ka.qa = function(e) { | |
for (var t = [], n = 0; n < e.c.length; n++) t.push(l.o.qa(e.c[n])); | |
return new l.ka(e.i, t, l.N.Sc(e.s), l.N.Sc(e.e), e.p, e.t, e.da, e.d, e.r, e.tm, e.ss, e.ld) | |
}; | |
l.w = function(e, t) { | |
this.H = e; | |
this.Ca = t | |
}; | |
l.w.jj = /^[0-9 .\\(\\)\\+\\-]+$/; | |
l.w.mg = { | |
MALE: "m", | |
FEMALE: "f", | |
OTHER: "o", | |
UNKNOWN: "u", | |
NOT_APPLICABLE: "n", | |
PREFER_NOT_TO_SAY: "p" | |
}; | |
l.w.gd = { | |
OPTED_IN: "opted_in", | |
SUBSCRIBED: "subscribed", | |
UNSUBSCRIBED: "unsubscribed" | |
}; | |
l.w.pd = "user_id"; | |
l.w.cg = "custom"; | |
l.w.Xb = "inc"; | |
l.w.Ja = "add"; | |
l.w.Ka = "remove"; | |
l.w.prototype.S = function(e) { | |
null == e && u.f.error("getUserId must be supplied with a callback. e.g., appboy.getUser().getUserId(function(userId) {console.log('the user id is ' + userId)})"); | |
"function" == typeof e && e(this.H.S()) | |
}; | |
l.w.prototype.Mj = function(e, t) { | |
return !l.R.Vb(e, "add alias", "the alias", !1) || 0 >= e.length ? (u.f.error("addAlias requires a non-empty alias"), !1) : !l.R.Vb(t, "add alias", "the label", !1) || 0 >= t.length ? (u.f.error("addAlias requires a non-empty label"), !1) : this.Ca.Hk(e, t).L | |
}; | |
l.w.prototype.dl = function(e) { | |
return !!l.R.Vb(e, "set first name", "the firstName", !0) && this.H.ca("first_name", e) | |
}; | |
l.w.prototype.hl = function(e) { | |
return !!l.R.Vb(e, "set last name", "the lastName", !0) && this.H.ca("last_name", e) | |
}; | |
l.w.prototype.bl = function(e) { | |
return null === e || l.R.Ch(e) ? this.H.ca("email", e) : (u.f.error('Cannot set email address - "' + e + '" did not pass RFC-5322 validation.'), !1) | |
}; | |
l.w.prototype.el = function(e) { | |
"string" == typeof e && (e = e.toLowerCase()); | |
return !(null !== e && !l.G.vb(l.w.mg, e, 'Gender "' + e + '" is not a valid gender.', "ab.User.Genders")) && this.H.ca("gender", e) | |
}; | |
l.w.prototype.al = function(e, t, n) { | |
if (null === e && null === t && null === n) return this.H.ca("dob", null); | |
e = parseInt(e); | |
t = parseInt(t); | |
n = parseInt(n); | |
return isNaN(e) || isNaN(t) || isNaN(n) || 12 < t || 1 > t || 31 < n || 1 > n ? (u.f.error("Cannot set date of birth - parameters should comprise a valid date e.g. setDateOfBirth(1776, 7, 4);"), !1) : this.H.ca("dob", e + "-" + t + "-" + n) | |
}; | |
l.w.prototype.Zk = function(e) { | |
return !!l.R.Vb(e, "set country", "the country", !0) && this.H.ca("country", e) | |
}; | |
l.w.prototype.fl = function(e) { | |
return !!l.R.Vb(e, "set home city", "the homeCity", !0) && this.H.ca("home_city", e) | |
}; | |
l.w.prototype.gl = function(e) { | |
return !!l.R.Vb(e, "set language", "the language", !0) && this.H.ca("language", e) | |
}; | |
l.w.prototype.cl = function(e) { | |
return !!l.G.vb(l.w.gd, e, 'Email notification setting "' + e + '" is not a valid subscription type.', "ab.User.NotificationSubscriptionTypes") && this.H.ca("email_subscribe", e) | |
}; | |
l.w.prototype.Xf = function(e) { | |
return !!l.G.vb(l.w.gd, e, 'Push notification setting "' + e + '" is not a valid subscription type.', "ab.User.NotificationSubscriptionTypes") && this.H.ca("push_subscribe", e) | |
}; | |
l.w.prototype.il = function(e) { | |
return !!l.R.Vb(e, "set phone number", "the phoneNumber", !0) && (null === e || e.match(l.w.jj) ? this.H.ca("phone", e) : (u.f.error('Cannot set phone number - "' + e + '" did not pass validation.'), !1)) | |
}; | |
l.w.prototype.Yk = function(e) { | |
return this.H.ca("image_url", e) | |
}; | |
l.w.prototype.Ke = function(e, t, n, o, i) { | |
if (null == e || null == t) return u.f.error("Cannot set last-known location - latitude and longitude are required."), !1; | |
e = parseFloat(e); | |
t = parseFloat(t); | |
null != n && (n = parseFloat(n)); | |
null != o && (o = parseFloat(o)); | |
null != i && (i = parseFloat(i)); | |
return isNaN(e) || isNaN(t) || null != n && isNaN(n) || null != o && isNaN(o) || null != i && isNaN(i) ? (u.f.error("Cannot set last-known location - all supplied parameters must be numeric."), !1) : 90 < e || -90 > e || 180 < t || -180 > t ? (u.f.error("Cannot set last-known location - latitude and longitude are bounded by ±90 and ±180 respectively."), !1) : null != n && 0 > n || null != i && 0 > i ? (u.f.error("Cannot set last-known location - accuracy and altitudeAccuracy may not be negative."), !1) : this.Ca.Ke(this.H.S(), e, t, o, n, i).L | |
}; | |
l.w.prototype.Uc = function(e, t) { | |
if (!l.R.Wa(e, "set custom user attribute", "the given key")) return !1; | |
var n = typeof t, | |
o = l.G.tb(t), | |
i = l.G.isArray(t); | |
if ("number" !== n && "boolean" !== n && !o && !i && null !== t && !l.R.Wa(t, 'set custom user attribute "' + e + '"', "the given value")) return !1; | |
o && (t = l.N.Xh(t)); | |
if (i) | |
for (n = 0; n < t.length; n++) | |
if (!l.R.Wa(t[n], 'set custom user attribute "' + e + '"', "the element in the given array")) return !1; | |
return this.H.Uc(e, t) | |
}; | |
l.w.prototype.Nj = function(e, t) { | |
if (!l.R.Wa(e, "add to custom user attribute array", "the given key") || null != t && !l.R.Wa(t, "add to custom user attribute array", "the given value")) return !1; | |
var n = {}; | |
n[l.w.Ja] = t; | |
return this.H.Uc(e, n) | |
}; | |
l.w.prototype.Rk = function(e, t) { | |
if (!l.R.Wa(e, "remove from custom user attribute array", "the given key") || null != t && !l.R.Wa(t, "remove from custom user attribute array", "the given value")) return !1; | |
var n = {}; | |
n[l.w.Ka] = t; | |
return this.H.Uc(e, n) | |
}; | |
l.w.prototype.Bk = function(e, t) { | |
if (!l.R.Wa(e, "increment custom user attribute", "the given key")) return !1; | |
null == t && (t = 1); | |
var n = parseInt(t); | |
if (isNaN(n) || n !== parseFloat(t)) return u.f.error('Cannot increment custom user attribute because the given incrementValue "' + t + '" is not an integer.'), !1; | |
t = {}; | |
t[l.w.Xb] = n; | |
return this.H.Uc(e, t) | |
}; | |
l.w.prototype.Uf = function(e, t, n, o) { | |
this.H.Uf(e, t, n, o); | |
this.Ca.bi() | |
}; | |
l.w.prototype.Gd = function(e) { | |
this.H.Gd(e) | |
}; | |
l.w.prototype.$k = function(e, t, n) { | |
return !!l.R.Wa(e, "set custom location attribute", "the given key") && ((null !== t || null !== n) && (t = parseFloat(t), n = parseFloat(n), isNaN(t) || 90 < t || -90 > t || isNaN(n) || 180 < n || -180 > n) ? (u.f.error("Received invalid values for latitude and/or longitude. Latitude and longitude are bounded by ±90 and ±180 respectively, or must both be null for removal."), !1) : this.Ca.Ik(e, t, n).L) | |
}; | |
l.zc = function() {}; | |
l.zc.prototype.Dd = function() {}; | |
l.zc.prototype.pc = function() {}; | |
l.zc.prototype.clearData = function() {}; | |
l.Ra = function(e, t, n) { | |
this.rb = e; | |
this.Ca = t; | |
this.A = n; | |
e = this.A.ma(l.j.B.C.Te) || []; | |
t = []; | |
for (n = 0; n < e.length; n++) { | |
var o = l.b.qa(e[n]); | |
null != o && t.push(o) | |
} | |
this.W = this.re(this.zf(t)); | |
this.Hc = this.A.ma(l.j.B.C.Se) || 0; | |
this.Fc = this.A.ma(l.j.B.C.Re) || 0 | |
}; | |
l.Va(l.Ra, l.zc); | |
l.Ra.prototype.Ej = function(e, t, n, o) { | |
var i; | |
i = t ? [] : this.W.slice(); | |
for (var a = 0; a < e.length; a++) { | |
for (var r = e[a], s = null, c = 0; c < this.W.length; c++) | |
if (r.id === this.W[c].id) { | |
s = this.W[c]; | |
break | |
} if (t) r = l.b.Gf(r), null != s && s.viewed && (r.viewed = !0), null != r && i.push(r); | |
else if (null == s) s = l.b.Gf(r), null != s && i.push(s); | |
else if (!s.yh(r)) | |
for (c = 0; c < i.length; c++) | |
if (r.id === i[c].id) { | |
i.splice(c, 1); | |
break | |
} | |
} | |
this.W = this.re(this.zf(i)); | |
this.te(); | |
this.Hc = n || 0; | |
this.A.fa(l.j.B.C.Se, this.Hc); | |
this.Fc = o || 0; | |
this.A.fa(l.j.B.C.Re, this.Fc) | |
}; | |
l.Ra.prototype.Dd = function(e) { | |
null != e && e.cards && (this.Ej(e.cards, e.full_sync, e.last_full_sync_at, e.last_card_updated_at), this.rb.Da(this.Oc())) | |
}; | |
l.Ra.prototype.wk = function(e) { | |
var t = this.W.slice(); | |
this.Ca.Pc().S(function(n) { | |
for (var o = 0; o < e.length; o++) | |
if (n === e[o].userId || null == n && null == e[o].userId) { | |
for (var i = e[o].card, a = null, r = 0; r < this.W.length; r++) | |
if (i.id === this.W[r].id) { | |
a = this.W[r]; | |
break | |
} if (null == a) i = l.b.Gf(i), null != i && t.push(i); | |
else if (!a.yh(i)) | |
for (r = 0; r < t.length; r++) | |
if (i.id === t[r].id) { | |
t.splice(r, 1); | |
break | |
} | |
} this.W = this.re(this.zf(t)); | |
this.te(); | |
this.rb.Da(this.Oc()) | |
}.bind(this)) | |
}; | |
l.Ra.prototype.zf = function(e) { | |
for (var t = this.A.ma(l.j.B.C.Xc) || {}, n = this.A.ma(l.j.B.C.Wc) || {}, o = {}, i = {}, a = 0; a < e.length; a++) t[e[a].id] && (e[a].viewed = !0, o[e[a].id] = !0), n[e[a].id] && (e[a].dismissed = !0, i[e[a].id] = !0); | |
this.A.fa(l.j.B.C.Xc, o); | |
this.A.fa(l.j.B.C.Wc, i); | |
return e | |
}; | |
l.Ra.prototype.re = function(e) { | |
for (var t = [], n = new Date, o = 0; o < e.length; o++)(null == e[o].expiresAt || e[o].expiresAt >= n) && !e[o].dismissed && t.push(e[o]); | |
return t | |
}; | |
l.Ra.prototype.te = function() { | |
for (var e = [], t = 0; t < this.W.length; t++) e.push(this.W[t].X()); | |
this.A.fa(l.j.B.C.Te, e) | |
}; | |
l.Ra.prototype.xc = function() { | |
return this.Ca.xc(this.Hc, this.Fc, this.Dd.bind(this)) | |
}; | |
l.Ra.prototype.Oc = function() { | |
var e = this.re(this.W); | |
e.sort(function(e, t) { | |
return e.pinned && !t.pinned ? -1 : t.pinned && !e.pinned ? 1 : e.updated > t.updated ? -1 : t.updated > e.updated ? 1 : 0 | |
}); | |
var t = Math.max(this.Fc || 0, this.Hc || 0); | |
0 === t && (t = void 0); | |
return new l.ta(e, l.N.eb(t)) | |
}; | |
l.Ra.prototype.pc = function(e) { | |
e || (this.W = [], this.rb.Da(new l.ta(this.W.slice(), null)), this.A.ra(l.j.B.C.Te), this.A.ra(l.j.B.C.Xc), this.A.ra(l.j.B.C.Wc)); | |
this.Fc = this.Hc = 0; | |
this.A.ra(l.j.B.C.Se); | |
this.A.ra(l.j.B.C.Re) | |
}; | |
l.Ra.prototype.clearData = function() { | |
this.Fc = this.Hc = 0; | |
this.W = []; | |
this.rb.Da(new l.ta(this.W.slice(), null)) | |
}; | |
l.ac = function(e, t) { | |
this.rb = e; | |
this.A = t; | |
e = this.A.ma(l.j.B.C.cf) || []; | |
t = []; | |
for (var n = 0; n < e.length; n++) { | |
var o = l.b.qa(e[n]); | |
null != o && t.push(o) | |
} | |
this.W = t; | |
this.Ic = l.N.Sc(this.A.ma(l.j.B.C.af)) | |
}; | |
l.Va(l.ac, l.zc); | |
l.ac.prototype.Hj = function(e) { | |
for (var t, n = [], o = this.A.ma(l.j.B.C.Vc) || {}, i = {}, a = 0; a < e.length; a++) t = e[a], t = l.b.kk(t), null != t && (o[t.id] && (t.viewed = !0, i[t.id] = !0), n.push(t)); | |
this.A.fa(l.j.B.C.Vc, i); | |
this.W = n; | |
this.te(); | |
this.Ic = new Date; | |
this.A.fa(l.j.B.C.af, this.Ic) | |
}; | |
l.ac.prototype.te = function() { | |
for (var e = [], t = 0; t < this.W.length; t++) e.push(this.W[t].X()); | |
this.A.fa(l.j.B.C.cf, e) | |
}; | |
l.ac.prototype.Dd = function(e) { | |
null != e && e.feed && (this.Hj(e.feed), this.rb.Da(new l.J(this.W.slice(), this.Ic))) | |
}; | |
l.ac.prototype.xe = function() { | |
for (var e = [], t = new Date, n = 0; n < this.W.length; n++)(null == this.W[n].expiresAt || this.W[n].expiresAt >= t) && e.push(this.W[n]); | |
return new l.J(e, this.Ic) | |
}; | |
l.ac.prototype.clearData = function(e) { | |
null == e && (e = !1); | |
this.W = []; | |
this.Ic = null; | |
e && (this.A.ra(l.j.B.C.cf), this.A.ra(l.j.B.C.af)); | |
this.rb.Da(new l.J(this.W.slice(), this.Ic)) | |
}; | |
l.$a = function(e, t, n, o) { | |
this.vj = e; | |
this.rb = t; | |
this.A = n; | |
this.Ca = o; | |
this.Gc = this.A.ma(l.j.B.C.$e) || null; | |
this.pa = this.A.ma(l.j.B.C.nd) || {}; | |
this.Ua = this.A.ma(l.j.B.C.Sd) || {}; | |
this.Mb = []; | |
e = this.A.ma(l.j.B.C.mf) || []; | |
t = []; | |
var i = this; | |
n = !1; | |
for (o = 0; o < e.length; o++) { | |
var a = l.ka.qa(e[o]); | |
null != this.Ua[a.id] && a.Rf(this.Ua[a.id]); | |
if (null != this.pa[a.id]) { | |
for (var r = this.pa[a.id], s = [], c = 0; c < r.length; c++) { | |
var p = r[c], | |
u = a.Kk(p.jk); | |
if (0 < u) { | |
s.push(p); | |
var d, f; | |
null != p.Yh && (d = p.Yh); | |
null != p.Cf && l.Event.Dh(p.Cf) && (f = l.Event.qa(p.Cf)); | |
this.Mb.push(setTimeout(function(e, t, n) { | |
return function() { | |
i.wf(e, t, n) | |
} | |
}(a, d, f), u)) | |
} | |
} | |
this.pa[a.id].length > s.length && (this.pa[a.id] = s, n = !0, 0 === this.pa[a.id].length && delete this.pa[a.id]) | |
} | |
t.push(a) | |
} | |
this.Nb = t; | |
n && this.A.fa(l.j.B.C.nd, this.pa) | |
}; | |
l.Va(l.$a, l.zc); | |
l.$a.prototype.Lj = function() { | |
for (var e = [], t = 0; t < this.Nb.length; t++) e.push(this.Nb[t].X()); | |
this.A.fa(l.j.B.C.mf, e) | |
}; | |
l.$a.prototype.Dd = function(e) { | |
var t = !1; | |
if (null != e && e.triggers) { | |
var n = {}, | |
o = {}; | |
this.Nb = []; | |
for (var i = 0; i < e.triggers.length; i++) { | |
var a = l.ka.V(e.triggers[i]); | |
null != this.Ua[a.id] && (a.Rf(this.Ua[a.id]), n[a.id] = this.Ua[a.id]); | |
null != this.pa[a.id] && (o[a.id] = this.pa[a.id]); | |
for (var r = 0; r < a.Nc.length; r++) | |
if (a.Nc[r].Bh(l.la.Jb, null)) { | |
t = !0; | |
break | |
} null != a && this.Nb.push(a) | |
} | |
l.G.isEqual(this.Ua, n) || (this.Ua = n, this.A.fa(l.j.B.C.Sd, this.Ua)); | |
l.G.isEqual(this.pa, o) || (this.pa = o, this.A.fa(l.j.B.C.nd, this.pa)); | |
this.Lj(); | |
t && (u.f.info("Trigger with test condition found, firing test."), this.Qb(l.la.Jb)); | |
this.Qb(l.la.OPEN) | |
} | |
}; | |
l.$a.prototype.wf = function(e, t, n) { | |
function o(n) { | |
var o = Date.now(); | |
e.tl(i) ? e.type === l.ka.U.Gg ? a.Ca.ya(e.id, l.h.Ba.ae) : a.Ca.ya(e.id, l.h.Ba.Ki) : e.Ah(o) && a.fh(e, o, t) ? (a.rb.Da([n]), a.Ij(e, o)) : u.f.info("Not displaying trigger " + e.id + " because display time fell outside of the acceptable time window.") | |
} | |
var i = Date.now() - 1e3 * e.qc, | |
a = this; | |
switch (e.type) { | |
case l.ka.U.ng: | |
n = l.h.V(e.data); | |
if (null == n) { | |
u.f.error("Could not parse trigger data for trigger " + e.id + ", ignoring."); | |
this.Ca.ya(e.id, l.h.Ba.od); | |
break | |
} | |
o(n); | |
break; | |
case l.ka.U.Gg: | |
var r = l.Kg.V(e.data, o); | |
if (null == r) { | |
u.f.error("Could not parse trigger data for trigger " + e.id + ", ignoring."); | |
this.Ca.ya(e.id, l.h.Ba.od); | |
break | |
} | |
this.Ca.rl(r, t, n); | |
break; | |
default: | |
u.f.error("Trigger " + e.id + " was of unexpected type " + e.type + ", ignoring."), this.Ca.ya(e.id, l.h.Ba.od) | |
} | |
}; | |
l.$a.prototype.Qb = function(e, t, n) { | |
if (l.G.vb(l.la, e, "Cannot fire trigger action.", "ab.TriggerEvents")) { | |
for (var o = Date.now(), i = o - this.Gc, a = !0, r = !0, s = null, c = 0; c < this.Nb.length; c++) { | |
var p = this.Nb[c], | |
d = o + 1e3 * p.qc; | |
if (p.Ah(d) && (null == p.startTime || p.startTime <= o) && (null == p.endTime || p.endTime >= o) && (null == s || p.Qf > s.Qf)) { | |
for (var f = !1, m = 0; m < p.Nc.length; m++) | |
if (p.Nc[m].Bh(e, t)) { | |
f = !0; | |
break | |
} f && (a = !1, this.fh(p, d, e) && (r = !1, s = p)) | |
} | |
} | |
if (a) u.f.info("Trigger event " + e + " did not match any trigger conditions."); | |
else if (r) u.f.info("Ignoring " + e + " trigger event because a trigger was displayed " + i / 1e3 + "s ago."); | |
else if (null != s) | |
if (!1 === navigator.onLine && 0 === s.qc) u.f.info("Not firing " + s.type + " trigger action " + s.id + " due to offline state."), this.Ca.ya(s.id, l.h.Ba.wi); | |
else { | |
u.f.info("Firing " + s.type + " trigger action " + s.id); | |
var h; | |
null != n && (h = n.X()); | |
this.Jj(s, o, e, h); | |
var g = this; | |
0 === s.qc ? g.wf(s, e, n) : this.Mb.push(setTimeout(function() { | |
g.wf(s, e, n) | |
}, 1e3 * s.qc)) | |
} | |
} | |
}; | |
l.$a.prototype.pc = function(e) { | |
this.Nb = []; | |
this.A.ra(l.j.B.C.mf); | |
if (!e) { | |
this.Gc = null; | |
this.Ua = {}; | |
this.pa = {}; | |
for (e = 0; e < this.Mb.length; e++) clearTimeout(this.Mb[e]); | |
this.Mb = []; | |
this.A.ra(l.j.B.C.$e); | |
this.A.ra(l.j.B.C.Sd); | |
this.A.ra(l.j.B.C.nd); | |
this.A.ra(l.j.B.C.Ui); | |
this.A.ra(l.j.B.C.Ti); | |
this.A.ra(l.j.B.C.Vi) | |
} | |
}; | |
l.$a.prototype.clearData = function() { | |
this.Nb = []; | |
this.Gc = null; | |
this.Ua = {}; | |
this.pa = {}; | |
for (var e = 0; e < this.Mb.length; e++) clearTimeout(this.Mb[e]); | |
this.Mb = [] | |
}; | |
l.$a.prototype.fh = function(e, t, n) { | |
if (null == this.Gc) return !0; | |
if (n === l.la.Jb) return u.f.info("Ignoring minimum interval between trigger because it is a test type."), !0; | |
e = e.Jh; | |
null == e && (e = this.vj); | |
return t - this.Gc >= 1e3 * e | |
}; | |
l.$a.prototype.Jj = function(e, t, n, o) { | |
this.pa[e.id] = this.pa[e.id] || []; | |
var i = {}; | |
i.jk = t; | |
i.Yh = n; | |
i.Cf = o; | |
this.pa[e.id].push(i); | |
this.A.fa(l.j.B.C.nd, this.pa) | |
}; | |
l.$a.prototype.Ij = function(e, t) { | |
e.Rf(t); | |
this.Gc = t; | |
this.A.fa(l.j.B.C.$e, t); | |
this.Ua[e.id] = t; | |
this.A.fa(l.j.B.C.Sd, this.Ua) | |
}; | |
l.M = function(e, t, n, o, i, a, r, s, c, p, u) { | |
this.cb = e; | |
this.xj = t; | |
this.Yg = n; | |
this.Ng = o; | |
this.ce = i; | |
this.fe = p.xa.uh; | |
this.Tg = null; | |
this.ba = a; | |
this.rd = r; | |
this.H = s; | |
this.Na = c; | |
this.A = p; | |
this.uj = u; | |
this.rf = new l.Ta; | |
this.sf = [] | |
}; | |
l.M.prototype.vf = function(e) { | |
var t = this.rd.Cd(), | |
n = t.nc(), | |
o = this.A.ma(l.j.B.C.Xe); | |
l.G.isEqual(o, n) || (e.device = n); | |
e.api_key = this.cb; | |
e.time = l.N.zd(Date.now(), !0); | |
e.sdk_version = this.xj; | |
this.Yg && (e.sdk_flavor = this.Yg); | |
e.app_version = this.Ng; | |
e.device_id = t.id; | |
return e | |
}; | |
l.M.prototype.Bf = function(e, t) { | |
if (t.error) { | |
var n = t.error; | |
t.error === l.Qe.Mi ? n = 'The given API key "' + e.api_key + '" is invalid.' : t.error === l.Qe.ji ? n = "Sorry, we are not currently accepting your requests. If you think this is in error, please contact us." : t.error === l.Qe.gj && (n = "No device identifier. This should never happen. Please contact [email protected]"); | |
u.f.error("Backend error: " + n); | |
return !1 | |
} | |
return !0 | |
}; | |
l.M.prototype.Pb = function(e, t, n, o, i, a) { | |
null == n && (n = !0); | |
n && this.oe(); | |
var r, s = this.A.rh(), | |
c = this.A.hk(), | |
p = this.sf; | |
this.sf = []; | |
var d = this.ba.Jk(); | |
if (0 < s.length) | |
for (r = 0; r < s.length; r++) s[r].type === u.$.Eg && (d = !0); | |
var f = t || d; | |
"function" != typeof a || f || a(); | |
if (!n || 0 !== s.length || 0 !== c.length || 0 !== p.length || e || f) { | |
var m = this.bh(e, f); | |
if (0 < s.length) { | |
e = []; | |
for (r = 0; r < s.length; r++) e.push(s[r].nc()); | |
m.events = e | |
} | |
0 < c.length && (m.attributes = c); | |
if (0 < p.length) { | |
e = []; | |
for (r = 0; r < p.length; r++) e.push(p[r].nc()); | |
m.feedback = e | |
} | |
m = this.vf(m); | |
r = this.ah(m); | |
var h = this; | |
l.Fe.Pf({ | |
url: this.ce + "/data/", | |
data: m, | |
headers: r, | |
L: function(e) { | |
h.Bf(m, e) && (h.Na.Pk(e), null == m.respond_with || m.respond_with.user_id == h.H.S()) && (null != m.device && h.A.fa(l.j.B.C.Xe, m.device), h.uj(e), "function" == typeof o && o()) | |
}, | |
error: function() { | |
h.A.za(s); | |
for (var e = 0; e < c.length; e++) h.A.Ih(c[e]); | |
"function" == typeof i && i() | |
}, | |
ue: function(e) { | |
"function" == typeof a && f && a(); | |
if (n) | |
if (e) h.se(); | |
else { | |
e = h.Tg; | |
(null == e || e < 1e3 * h.fe) && (e = 1e3 * h.fe); | |
h.se(Math.min(3e5, l.Math.Ok(1e3 * h.fe, 3 * e))) | |
} | |
} | |
}); | |
d && this.rf.Da() | |
} else this.se() | |
}; | |
l.M.prototype.ih = function(e, t) { | |
var n = "HTTP error "; | |
null != e && (n += e + " "); | |
u.f.error(n + t) | |
}; | |
l.M.prototype.rl = function(e, t, n) { | |
var o = this.bh(!1, !1), | |
o = this.vf(o); | |
o.template = { | |
trigger_id: e.yc, | |
trigger_event_type: t | |
}; | |
null != n && (o.template.data = n.nc()); | |
t = this.ah(o); | |
var i = this; | |
l.Fe.Pf({ | |
url: this.ce + "/template/", | |
data: o, | |
headers: t, | |
L: function(t) { | |
i.Bf(o, t) && null != t && null != t.templated_message ? (t = t.templated_message, t.type !== l.ka.U.ng ? i.ya(e.yc, l.h.Ba.od) : (t = l.h.V(t.data), null == t ? i.ya(e.yc, l.h.Ba.od) : "function" == typeof e.ai ? e.ai(t) : i.ya(e.yc, l.h.Ba.ae))) : i.ya(e.yc, l.h.Ba.ae) | |
}, | |
error: function(t) { | |
i.ih(t, "retrieving user personalization for message " + e.yc); | |
i.ya(e.yc, l.h.Ba.ae) | |
} | |
}) | |
}; | |
l.M.prototype.xc = function(e, t, n) { | |
var o = this.vf({}); | |
o.last_full_sync_at = e; | |
o.last_card_updated_at = t; | |
e = this.H.S(); | |
null != e && (o.user_id = e); | |
var i = this; | |
l.Fe.Pf({ | |
url: this.ce + "/content_cards/sync", | |
data: o, | |
headers: [ | |
["X-Braze-Api-Key", this.cb], | |
["X-Braze-DataRequest", !0], | |
["X-Braze-ContentCardsRequest", !0] | |
], | |
L: function(e) { | |
i.Bf(o, e) && n(e) | |
}, | |
error: function(e) { | |
i.ih(e, "retrieving content cards") | |
} | |
}) | |
}; | |
l.M.prototype.bh = function(e, t) { | |
var n = {}; | |
e && (n.feed = !0); | |
t && (n.triggers = !0); | |
e = this.H.S(); | |
null != e && (n.user_id = e); | |
n.config = { | |
config_time: this.Na.sk() | |
}; | |
return { | |
respond_with: n | |
} | |
}; | |
l.M.prototype.ah = function(e) { | |
var t = [ | |
["X-Braze-Api-Key", this.cb] | |
], | |
n = !1; | |
null != e.respond_with && e.respond_with.triggers && (t.push(["X-Braze-TriggersRequest", !0]), n = !0); | |
null != e.respond_with && e.respond_with.feed && (t.push(["X-Braze-FeedRequest", !0]), n = !0); | |
n && t.push(["X-Braze-DataRequest", !0]); | |
return t | |
}; | |
l.M.prototype.ne = function(e) { | |
if (null == e.campaignId && null == e.cardId && null == e.triggerId) return u.f.info("The in-app message has no campaignId, cardId, or triggerId - not sending event info to Braze servers."), null; | |
var t = {}; | |
null != e.cardId && (t.card_ids = [e.cardId]); | |
null != e.campaignId && (t.campaign_ids = [e.campaignId]); | |
null != e.triggerId && (t.trigger_ids = [e.triggerId]); | |
return t | |
}; | |
l.M.prototype.me = function(e) { | |
for (var t = null, n = 0; n < e.length; n++) null != e[n].id && "" !== e[n].id && (t = t || {}, t.ids = t.ids || [], t.ids.push(e[n].id)); | |
return t | |
}; | |
l.M.prototype.se = function(e) { | |
if (!this.Og) { | |
null == e && (e = 1e3 * this.fe); | |
this.oe(); | |
var t = this; | |
this.ge = setTimeout(function() { | |
if (document.hidden) { | |
var e = function() { | |
document.hidden || (document.removeEventListener("visibilitychange", e, !1), t.Pb()) | |
}; | |
document.addEventListener("visibilitychange", e, !1) | |
} else t.Pb() | |
}, e); | |
this.Tg = e | |
} | |
}; | |
l.M.prototype.oe = function() { | |
null != this.ge && (clearTimeout(this.ge), this.ge = null) | |
}; | |
l.M.prototype.Hf = function() { | |
this.Og = !1; | |
this.se() | |
}; | |
l.M.prototype.Bd = function() { | |
this.rf.va(); | |
this.oe(); | |
this.Og = !0; | |
this.Pb(null, null, !1); | |
this.ge = null | |
}; | |
l.M.prototype.ol = function(e) { | |
this.rf.hb(e) | |
}; | |
l.M.prototype.Ge = function(e, t) { | |
var n = this.ba.pk(), | |
o = this.ba.ha(); | |
this.A.ra(l.j.B.C.Si); | |
var i = this; | |
this.bi(); | |
var a = n !== o; | |
i.Pb(null, !1, null, null, null, t); | |
t = u.Z.kb.ec; | |
new u.Z(t, u.f).vh(t.na.gf, function(t, n) { | |
a && null != e && n && e.subscribe() | |
}, function() { | |
var t = i.A.ma(l.j.B.C.hf); | |
a && null != e && null != t && e.subscribe() | |
}) | |
}; | |
l.M.prototype.pc = function(e, t, n, o) { | |
var i = this.H.S(); | |
if (i !== e) { | |
this.ba.$j(); | |
this.H.yk(e); | |
for (var a = 0; a < t.length; a++) t[a].pc(null == i); | |
null != i && this.A.ra(l.j.B.C.Vc); | |
this.A.ra(l.j.B.C.Xe); | |
this.Ge(o, n); | |
u.f.info('Changed user to "' + e + '".') | |
} else "function" == typeof n ? (u.f.info('Current user is already "' + e + '". Executing networkCallCompleteCallback.'), n()) : u.f.info('Current user is already "' + e + '". Doing nothing.') | |
}; | |
l.M.prototype.Pc = function() { | |
return new l.w(this.H, this) | |
}; | |
l.M.prototype.Hd = function() { | |
this.oe(); | |
this.ba.ha(); | |
this.Pb() | |
}; | |
l.M.prototype.Je = function() { | |
this.ba.ha(); | |
this.Pb(!0) | |
}; | |
l.M.prototype.Uk = function(e, t) { | |
this.ba.ha(); | |
u.f.info("Requesting explicit trigger refresh."); | |
this.Pb(null, !0, null, e, t) | |
}; | |
l.M.prototype.Hk = function(e, t) { | |
var n = new l.Ha, | |
o = this.ba.ha(), | |
i = u.$.gi; | |
n.K.push(new l.Event(this.H.S(), i, Date.now(), o, { | |
a: e, | |
l: t | |
})); | |
n.L = this.A.za(n.K); | |
return n | |
}; | |
l.M.prototype.Mf = function(e, t) { | |
var n = new l.Ha, | |
o = this.ba.ha(); | |
if (this.Na.ik(e)) return u.f.info('Custom Event "' + e + '" is blacklisted, ignoring.'), n; | |
n.K.push(new l.Event(this.H.S(), u.$.CustomEvent, Date.now(), o, { | |
n: e, | |
p: t | |
})); | |
n.L = this.A.za(n.K); | |
return n | |
}; | |
l.M.prototype.Nf = function(e, t, n, o, i) { | |
var a = new l.Ha, | |
r = this.ba.ha(); | |
if (this.Na.Nk(e)) return u.f.info('Purchase "' + e + '" is blacklisted, ignoring.'), a; | |
a.K.push(new l.Event(this.H.S(), u.$.Pi, Date.now(), r, { | |
pid: e, | |
c: n, | |
p: t, | |
q: o, | |
pr: i | |
})); | |
a.L = this.A.za(a.K); | |
return a | |
}; | |
l.M.prototype.Ke = function(e, t, n, o, i, a) { | |
var r = new l.Ha, | |
s = this.ba.ha(); | |
t = { | |
latitude: t, | |
longitude: n | |
}; | |
null != o && (t.altitude = o); | |
null != i && (t.ll_accuracy = i); | |
null != a && (t.alt_accuracy = a); | |
r.K.push(new l.Event(e, u.$.Zi, Date.now(), s, t)); | |
r.L = this.A.za(r.K); | |
return r | |
}; | |
l.M.prototype.Fd = function(e) { | |
var t = new l.Ha, | |
n = this.ba.ha(); | |
if (e instanceof l.Zb) t.K.push(new l.Event(this.H.S(), u.$.ti, Date.now(), n, { | |
trigger_ids: [e.triggerId] | |
})); | |
else { | |
if (!e.Tf()) return u.f.info("This in-app message has already received an impression. Ignoring analytics event."), t; | |
e = this.ne(e); | |
if (null == e) return t; | |
t.K.push(new l.Event(this.H.S(), u.$.Oi, Date.now(), n, e)) | |
} | |
t.L = this.A.za(t.K); | |
return t | |
}; | |
l.M.prototype.Ee = function(e) { | |
var t = new l.Ha, | |
n = this.ba.ha(); | |
if (!e.wc()) return u.f.info("This in-app message has already received a click. Ignoring analytics event."), t; | |
e = this.ne(e); | |
if (null == e) return t; | |
t.K.push(new l.Event(this.H.S(), u.$.pg, Date.now(), n, e)); | |
t.L = this.A.za(t.K); | |
return t | |
}; | |
l.M.prototype.De = function(e, t) { | |
var n = new l.Ha, | |
o = this.ba.ha(); | |
if (!e.wc()) return u.f.info("This in-app message button has already received a click. Ignoring analytics event."), n; | |
t = this.ne(t); | |
if (null == t) return n; | |
if (e.id === l.h.Aa.fg) return u.f.info("This in-app message button does not have a tracking id. Not logging event to Braze servers."), n; | |
null != e.id && (t.bid = e.id); | |
n.K.push(new l.Event(this.H.S(), u.$.og, Date.now(), o, t)); | |
n.L = this.A.za(n.K); | |
return n | |
}; | |
l.M.prototype.Ed = function(e, t, n) { | |
var o = new l.Ha, | |
i = this.ba.ha(); | |
if (!e.wc(n)) return u.f.info("This in-app message has already received a click. Ignoring analytics event."), o; | |
e = this.ne(e); | |
if (null == e) return o; | |
n = u.$.pg; | |
null != t && (e.bid = t, n = u.$.og); | |
o.K.push(new l.Event(this.H.S(), n, Date.now(), i, e)); | |
o.L = this.A.za(o.K); | |
return o | |
}; | |
l.M.prototype.ya = function(e, t) { | |
var n = new l.Ha, | |
o = this.ba.ha(); | |
e = { | |
trigger_ids: [e], | |
error_code: t | |
}; | |
n.K.push(new l.Event(this.H.S(), u.$.Ni, Date.now(), o, e)); | |
n.L = this.A.za(n.K); | |
return n | |
}; | |
l.M.prototype.Tb = function(e, t) { | |
var n, o = new l.Ha, | |
i = this.ba.ha(), | |
a = [], | |
r = []; | |
n = t ? this.A.ma(l.j.B.C.Xc) || {} : this.A.ma(l.j.B.C.Vc) || {}; | |
for (var s = 0; s < e.length; s++) e[s].Tf(), e[s] instanceof l.jb ? r.push(e[s]) : a.push(e[s]), n[e[s].id] = !0; | |
e = this.me(a); | |
r = this.me(r); | |
if (null == e && null == r) return o; | |
t ? this.A.fa(l.j.B.C.Xc, n) : this.A.fa(l.j.B.C.Vc, n); | |
null != e && o.K.push(new l.Event(this.H.S(), t ? u.$.pi : u.$.mi, Date.now(), i, e)); | |
null != r && t && o.K.push(new l.Event(this.H.S(), u.$.si, Date.now(), i, r)); | |
o.L = this.A.za(o.K); | |
return o | |
}; | |
l.M.prototype.Sb = function(e, t) { | |
var n = new l.Ha, | |
o = this.ba.ha(); | |
e.wc(); | |
if (null == e.url || "" === e.url) return u.f.info("Card " + e.id + " has no url. Not logging click to Braze servers."), n; | |
e = this.me([e]); | |
if (null == e) return n; | |
n.K.push(new l.Event(this.H.S(), t ? u.$.ni : u.$.li, Date.now(), o, e)); | |
n.L = this.A.za(n.K); | |
return n | |
}; | |
l.M.prototype.Ce = function(e) { | |
var t = new l.Ha, | |
n = this.ba.ha(); | |
if (!e.Rc()) return u.f.info("Card " + e.id + " refused this dismissal. Ignoring analytics event."), t; | |
var o = this.A.ma(l.j.B.C.Wc) || {}; | |
o[e.id] = !0; | |
this.A.fa(l.j.B.C.Wc, o); | |
e = this.me([e]); | |
if (null == e) return t; | |
t.K.push(new l.Event(this.H.S(), u.$.oi, Date.now(), n, e)); | |
t.L = this.A.za(t.K); | |
return t | |
}; | |
l.M.prototype.Gh = function(e) { | |
var t = new l.Ha, | |
n = this.ba.ha(); | |
t.K.push(new l.Event(this.H.S(), u.$.Ri, Date.now(), n, { | |
n: e | |
})); | |
t.L = this.A.za(t.K); | |
return t | |
}; | |
l.M.prototype.ak = function(e, t) { | |
var n = this.ba.ha(); | |
return new l.Event(this.H.S(), u.$.kj, e, n, { | |
cid: t | |
}) | |
}; | |
l.M.prototype.bi = function() { | |
var e = u.Z.kb.ec; | |
new u.Z(e, u.f).setItem(e.na.ui, 1, { | |
baseUrl: this.ce, | |
data: { | |
api_key: this.cb, | |
device_id: this.rd.Cd().id | |
}, | |
userId: this.H.S() | |
}) | |
}; | |
l.M.prototype.Zf = function(e, t, n, o, i) { | |
this.ba.ha(); | |
var a = new l.Qd(this.H.S(), e, t, n, this.rd.Cd().nc(), this.Ng); | |
this.sf.push(a); | |
this.Pb(null, null, null, function() { | |
"function" == typeof o && o(e, t, n) | |
}, function() { | |
"function" == typeof i && i(e, t, n) | |
}) | |
}; | |
l.M.prototype.Ik = function(e, t, n) { | |
var o = new l.Ha; | |
if (this.Na.nh(e)) return u.f.info('Custom Attribute "' + e + '" is blacklisted, ignoring.'), o.L = !1, o; | |
var i, a = this.ba.ha(); | |
null === t && null === n ? (i = u.$.Yi, e = { | |
key: e | |
}) : (i = u.$.Xi, e = { | |
key: e, | |
latitude: t, | |
longitude: n | |
}); | |
o.K.push(new l.Event(this.H.S(), i, Date.now(), a, e)); | |
o.L = this.A.za(o.K); | |
return o | |
}; | |
l.Lc = { | |
sc: function() { | |
var e = this.mk(navigator.userAgent || ""); | |
this.xd = e[0] || "Unknown Browser"; | |
this.version = e[1] || "Unknown Version"; | |
this.ij = this.Xk(this.ck) || navigator.platform; | |
this.language = (navigator.Xl || navigator.language || navigator.browserLanguage || navigator.Vl || "").toLowerCase(); | |
this.Dk = this.ek(navigator.userAgent); | |
this.userAgent = navigator.userAgent | |
}, | |
Xk: function(e) { | |
for (var t = 0; t < e.length; t++) { | |
var n = e[t].Fa, | |
o = e[t].Ul; | |
if (n) { | |
if (n = n.toLowerCase(), l.G.isArray(e[t].sa)) { | |
for (o = 0; o < e[t].sa.length; o++) | |
if (-1 !== n.indexOf(e[t].sa[o].toLowerCase())) return e[t].ua | |
} else if (-1 !== n.indexOf(e[t].sa.toLowerCase())) return e[t].ua | |
} else if (o) return e[t].ua | |
} | |
}, | |
mk: function(e) { | |
var t, n = e.match(/(konqueror|icab|crios|opera|chrome|safari|firefox|camino|msie|trident(?=\/))\/?\s*(\.?\d+(\.\d+)*)/i) || []; | |
if (/trident/i.test(n[1])) return t = /\brv[ :]+(\.?\d+(\.\d+)*)/g.exec(e) || [], ["Internet Explorer", t[1] || ""]; | |
if ("Chrome" === n[1] && (t = e.match(/\b(OPR|Edge|EdgA)\/(\.?\d+(\.\d+)*)/), null != t)) return t = t.slice(1), t[0] = t[0].replace("OPR", "Opera"), t[0] = t[0].replace("EdgA", "Edge"), [t[0], t[1]]; | |
if ("Safari" === n[1] && (t = e.match(/\b(EdgiOS)\/(\.?\d+(\.\d+)*)/), null != t)) return t = t.slice(1), t[0] = t[0].replace("EdgiOS", "Edge"), [t[0], t[1]]; | |
n = n[2] ? [n[1], n[2]] : [null, null]; | |
null != (t = e.match(/version\/(\.?\d+(\.\d+)*)/i)) && n.splice(1, 1, t[1]); | |
if ("Opera" === n[0] && null != (t = e.match(/mini\/(\.?\d+(\.\d+)*)/i))) return ["Opera Mini", t[1] || ""]; | |
"MSIE" === n[0] && (n[0] = "Internet Explorer"); | |
"CriOS" === n[0] && (n[0] = "Chrome"); | |
return n | |
}, | |
ql: function() { | |
return "Internet Explorer" !== this.xd || 8 < this.version | |
}, | |
ek: function(e) { | |
e = e.toLowerCase(); | |
return -1 !== e.indexOf("googlebot") || -1 !== e.indexOf("bingbot") || -1 !== e.indexOf("slurp") || -1 !== e.indexOf("duckduckbot") || -1 !== e.indexOf("baiduspider") || -1 !== e.indexOf("yandexbot") || -1 !== e.indexOf("facebookexternalhit") || -1 !== e.indexOf("sogou") || -1 !== e.indexOf("ia_archiver") || -1 !== e.indexOf("+https://github.com/prerender/prerender") | |
}, | |
ck: [{ | |
Fa: navigator.platform, | |
sa: "Win", | |
ua: "Windows" | |
}, { | |
Fa: navigator.platform, | |
sa: "Mac", | |
ua: "Mac" | |
}, { | |
Fa: navigator.platform, | |
sa: "BlackBerry", | |
ua: "BlackBerry" | |
}, { | |
Fa: navigator.platform, | |
sa: "FreeBSD", | |
ua: "FreeBSD" | |
}, { | |
Fa: navigator.platform, | |
sa: "OpenBSD", | |
ua: "OpenBSD" | |
}, { | |
Fa: navigator.platform, | |
sa: "Nintendo", | |
ua: "Nintendo" | |
}, { | |
Fa: navigator.platform, | |
sa: "SunOS", | |
ua: "SunOS" | |
}, { | |
Fa: navigator.platform, | |
sa: "PlayStation", | |
ua: "PlayStation" | |
}, { | |
Fa: navigator.platform, | |
sa: "X11", | |
ua: "X11" | |
}, { | |
Fa: navigator.userAgent, | |
sa: "iPhone", | |
ua: "iOS" | |
}, { | |
Fa: navigator.userAgent, | |
sa: "iPad", | |
ua: "iOS" | |
}, { | |
Fa: navigator.platform, | |
sa: "Pike v", | |
ua: "iOS" | |
}, { | |
Fa: navigator.platform, | |
sa: ["Linux armv7l", "Android"], | |
ua: "Android" | |
}, { | |
Fa: navigator.userAgent, | |
sa: ["Android"], | |
ua: "Android" | |
}, { | |
Fa: navigator.platform, | |
sa: "Linux", | |
ua: "Linux" | |
}] | |
}; | |
l.G = {}; | |
l.G.vb = function(e, t, n, o) { | |
var i, a = []; | |
for (i in e) a.push(e[i]); | |
return -1 !== a.indexOf(t) || (u.f.error(n + " Valid values from " + o + ' are "' + a.join('"/"') + '".'), !1) | |
}; | |
l.G.isArray = function(e) { | |
return Array.isArray ? Array.isArray(e) : "[object Array]" === Object.prototype.toString.call(e) | |
}; | |
l.G.tb = function(e) { | |
return "[object Date]" === Object.prototype.toString.call(e) | |
}; | |
l.G.Ek = function(e) { | |
return "[object Object]" === Object.prototype.toString.call(e) | |
}; | |
l.G.Ck = function(e) { | |
null == e && (e = []); | |
for (var t = [], n = arguments.length, o = 0, i = e.length; o < i; o++) { | |
var a = e[o]; | |
if (-1 === t.indexOf(a)) { | |
for (var r = 1; r < n && -1 !== arguments[r].indexOf(a); r++); | |
r === n && t.push(a) | |
} | |
} | |
return t | |
}; | |
l.G.keys = function(e) { | |
var t = []; | |
if (null != e) | |
for (var n in e) e.hasOwnProperty(n) && t.push(n); | |
return t | |
}; | |
l.G.isEqual = function(e, t) { | |
if (e === t) return 0 !== e || 1 / e == 1 / t; | |
if (null == e || null == t) return e === t; | |
var n = e.toString(); | |
if (n !== t.toString()) return !1; | |
switch (n) { | |
case "[object RegExp]": | |
case "[object String]": | |
return "" + e == "" + t; | |
case "[object Number]": | |
return +e != +e ? +t != +t : 0 == +e ? 1 / +e == 1 / t : +e == +t; | |
case "[object Date]": | |
case "[object Boolean]": | |
return +e == +t | |
} | |
n = "[object Array]" === n; | |
if (!n) { | |
if ("object" != typeof e || "object" != typeof t) return !1; | |
var o = e.constructor, | |
i = t.constructor; | |
if (o !== i && !("function" == typeof o && o instanceof o && "function" == typeof i && i instanceof i) && "constructor" in e && "constructor" in t) return !1 | |
} | |
for (var o = [], i = [], a = o.length; a--;) | |
if (o[a] === e) return i[a] === t; | |
o.push(e); | |
i.push(t); | |
if (n) { | |
a = e.length; | |
if (a !== t.length) return !1; | |
for (; a--;) | |
if (!l.G.isEqual(e[a], t[a], o, i)) return !1 | |
} else { | |
var r, n = l.G.keys(e), | |
a = n.length; | |
if (l.G.keys(t).length !== a) return !1; | |
for (; a--;) | |
if (r = n[a], !t.hasOwnProperty(r) || !l.G.isEqual(e[r], t[r], o, i)) return !1 | |
} | |
o.pop(); | |
i.pop(); | |
return !0 | |
}; | |
l.N = {}; | |
l.N.zd = function(e, t) { | |
e /= 1e3; | |
t && (e = Math.floor(e)); | |
return e | |
}; | |
l.N.eb = function(e) { | |
var t = parseInt(e); | |
return null == e || isNaN(t) ? null : new Date(1e3 * t) | |
}; | |
l.N.Xh = function(e) { | |
return null != e && l.G.tb(e) ? e.toISOString().replace(/\.[0-9]{3}Z$/, "") : e | |
}; | |
l.N.Sc = function(e) { | |
return null == e || "" === e ? null : new Date(e) | |
}; | |
l.N.ul = function(e) { | |
return null == e || "" === e ? Date.now() : e | |
}; | |
l.N.Oh = function(e) { | |
return (Date.now() - e.valueOf()) / 1e3 | |
}; | |
l.N.Ph = function(e) { | |
return (e.valueOf() - Date.now()) / 1e3 | |
}; | |
l.Ma = {}; | |
l.Ma.kf = 32; | |
l.Ma.Fg = 9; | |
l.Ma.Ye = 13; | |
l.Ma.Ci = 27; | |
l.Kf = { | |
sc: function(e, t) { | |
this.data = { | |
en: { | |
NO_CARDS_MESSAGE: "We have no updates for you at this time.<br/>Please check again later.", | |
FEED_TIMEOUT_MESSAGE: "Sorry, this refresh timed out.<br/>Please try again later." | |
}, | |
ar: { | |
NO_CARDS_MESSAGE: "ليس لدينا أي تحديث. يرجى التحقق مرة أخرى لاحقاً", | |
FEED_TIMEOUT_MESSAGE: "يرجى تكرار المحاولة لاحقا" | |
}, | |
da: { | |
NO_CARDS_MESSAGE: "Vi har ingen updates.<br/>Prøv venligst senere.", | |
FEED_TIMEOUT_MESSAGE: "Prøv venligst senere." | |
}, | |
de: { | |
NO_CARDS_MESSAGE: "Derzeit sind keine Updates verfügbar.<br/>Bitte später noch einmal versuchen.", | |
FEED_TIMEOUT_MESSAGE: "Bitte später noch einmal versuchen." | |
}, | |
es: { | |
NO_CARDS_MESSAGE: "No tenemos actualizaciones.<br/>Por favor compruébelo más tarde.", | |
FEED_TIMEOUT_MESSAGE: "Por favor inténtelo más tarde." | |
}, | |
"es-mx": { | |
NO_CARDS_MESSAGE: "No tenemos ninguna actualización.<br/>Vuelva a verificar más tarde.", | |
FEED_TIMEOUT_MESSAGE: "Por favor, vuelva a intentarlo más tarde." | |
}, | |
et: { | |
NO_CARDS_MESSAGE: "Uuendusi pole praegu saadaval.<br/>Proovige hiljem uuesti.", | |
FEED_TIMEOUT_MESSAGE: "Palun proovige hiljem uuesti." | |
}, | |
fi: { | |
NO_CARDS_MESSAGE: "Päivityksiä ei ole saatavilla.<br/>Tarkista myöhemmin uudelleen.", | |
FEED_TIMEOUT_MESSAGE: "Yritä myöhemmin uudelleen." | |
}, | |
fr: { | |
NO_CARDS_MESSAGE: "Aucune mise à jour disponible.<br/>Veuillez vérifier ultérieurement.", | |
FEED_TIMEOUT_MESSAGE: "Veuillez réessayer ultérieurement." | |
}, | |
he: { | |
NO_CARDS_MESSAGE: ".אין לנו עדכונים. בבקשה בדוק שוב בקרוב", | |
FEED_TIMEOUT_MESSAGE: ".בבקשה נסה שוב בקרוב" | |
}, | |
hi: { | |
NO_CARDS_MESSAGE: "हमारे पास कोई अपडेट नहीं हैं। कृपया बाद में फिर से जाँच करें.।", | |
FEED_TIMEOUT_MESSAGE: "कृपया बाद में दोबारा प्रयास करें।." | |
}, | |
id: { | |
NO_CARDS_MESSAGE: "Kami tidak memiliki pembaruan. Coba lagi nanti.", | |
FEED_TIMEOUT_MESSAGE: "Coba lagi nanti." | |
}, | |
it: { | |
NO_CARDS_MESSAGE: "Non ci sono aggiornamenti.<br/>Ricontrollare più tardi.", | |
FEED_TIMEOUT_MESSAGE: "Riprovare più tardi." | |
}, | |
ja: { | |
NO_CARDS_MESSAGE: "アップデートはありません。<br/>後でもう一度確認してください。", | |
FEED_TIMEOUT_MESSAGE: "後でもう一度試してください。" | |
}, | |
ko: { | |
NO_CARDS_MESSAGE: "업데이트가 없습니다. 다음에 다시 확인해 주십시오.", | |
FEED_TIMEOUT_MESSAGE: "나중에 다시 시도해 주십시오." | |
}, | |
ms: { | |
NO_CARDS_MESSAGE: "Tiada kemas kini. Sila periksa kemudian.", | |
FEED_TIMEOUT_MESSAGE: "Sila cuba kemudian." | |
}, | |
nl: { | |
NO_CARDS_MESSAGE: "Er zijn geen updates.<br/>Probeer het later opnieuw.", | |
FEED_TIMEOUT_MESSAGE: "Probeer het later opnieuw." | |
}, | |
no: { | |
NO_CARDS_MESSAGE: "Vi har ingen oppdateringer.<br/>Vennligst sjekk igjen senere.", | |
FEED_TIMEOUT_MESSAGE: "Vennligst prøv igjen senere." | |
}, | |
pl: { | |
NO_CARDS_MESSAGE: "Brak aktualizacji.<br/>Proszę sprawdzić ponownie później.", | |
FEED_TIMEOUT_MESSAGE: "Proszę spróbować ponownie później." | |
}, | |
pt: { | |
NO_CARDS_MESSAGE: "Não temos atualizações.<br/>Por favor, verifique mais tarde.", | |
FEED_TIMEOUT_MESSAGE: "Por favor, tente mais tarde." | |
}, | |
"pt-br": { | |
NO_CARDS_MESSAGE: "Não temos nenhuma atualização.<br/>Verifique novamente mais tarde.", | |
FEED_TIMEOUT_MESSAGE: "Tente novamente mais tarde." | |
}, | |
ru: { | |
NO_CARDS_MESSAGE: "Обновления недоступны.<br/>Пожалуйста, проверьте снова позже.", | |
FEED_TIMEOUT_MESSAGE: "Пожалуйста, повторите попытку позже." | |
}, | |
sv: { | |
NO_CARDS_MESSAGE: "Det finns inga uppdateringar.<br/>Försök igen senare.", | |
FEED_TIMEOUT_MESSAGE: "Försök igen senare." | |
}, | |
th: { | |
NO_CARDS_MESSAGE: "เราไม่มีการอัพเดต กรุณาตรวจสอบภายหลัง.", | |
FEED_TIMEOUT_MESSAGE: "กรุณาลองใหม่ภายหลัง." | |
}, | |
vi: { | |
NO_CARDS_MESSAGE: "Chúng tôi không có cập nhật nào.<br/>Vui lòng kiểm tra lại sau.", | |
FEED_TIMEOUT_MESSAGE: "Vui lòng thử lại sau." | |
}, | |
"zh-hk": { | |
NO_CARDS_MESSAGE: "暫時沒有更新.<br/>請稍候再試.", | |
FEED_TIMEOUT_MESSAGE: "請稍候再試." | |
}, | |
"zh-hans": { | |
NO_CARDS_MESSAGE: "暂时没有更新.<br/>请稍后再试.", | |
FEED_TIMEOUT_MESSAGE: "请稍候再试." | |
}, | |
"zh-hant": { | |
NO_CARDS_MESSAGE: "暫時沒有更新.<br/>請稍候再試.", | |
FEED_TIMEOUT_MESSAGE: "請稍候再試." | |
}, | |
"zh-tw": { | |
NO_CARDS_MESSAGE: "暫時沒有更新.<br/>請稍候再試.", | |
FEED_TIMEOUT_MESSAGE: "請稍候再試." | |
}, | |
zh: { | |
NO_CARDS_MESSAGE: "暂时没有更新.<br/>请稍后再试.", | |
FEED_TIMEOUT_MESSAGE: "请稍候再试." | |
} | |
}; | |
null != e && (e = e.toLowerCase()); | |
if (null != e && null == this.data[e]) { | |
var n = e.indexOf("-"); | |
0 < n && (e = e.substring(0, n)) | |
} | |
null == this.data[e] && (e = "Braze does not yet have a localization for language " + e + ", defaulting to English. Please contact us if you are willing and able to help us translate our SDK into this language.", t ? u.f.error(e) : u.f.info(e), e = "en"); | |
this.language = e | |
}, | |
get: function(e) { | |
return this.data[this.language][e] | |
} | |
}; | |
l.Math = {}; | |
l.Math.Ok = function(e, t) { | |
e = Math.ceil(e); | |
t = Math.floor(t); | |
return Math.floor(Math.random() * (t - e + 1)) + e | |
}; | |
l.Fe = function() {}; | |
l.Fe.Pf = function(e) { | |
var t, n, o = !1; | |
try { | |
if (window.XMLHttpRequest && (t = new XMLHttpRequest) && "undefined" != typeof t.withCredentials || ("undefined" != typeof XDomainRequest ? (t = new XDomainRequest, o = t.async = !0) : u.f.error("This browser does not have any supported ajax options!")), null != t) { | |
var i = function(t) { | |
"function" == typeof e.error && e.error(t); | |
"function" == typeof e.ue && e.ue(!1) | |
}; | |
t.onload = function() { | |
var n; | |
if (o) n = !0; | |
else { | |
if (4 !== t.readyState) return; | |
n = 200 <= t.status && 300 > t.status || 304 === t.status | |
} | |
n ? ("function" == typeof e.L && e.L(JSON.parse(t.responseText)), "function" == typeof e.ue && e.ue(!0)) : i(t.status) | |
}; | |
t.onerror = function() { | |
i() | |
}; | |
t.ontimeout = function() { | |
i() | |
}; | |
n = JSON.stringify(e.data); | |
if (o) t.onprogress = function() {}, t.open("post", e.url); | |
else { | |
t.open("POST", e.url, !0); | |
t.setRequestHeader("Content-type", "application/json"); | |
t.setRequestHeader("X-Requested-With", "XMLHttpRequest"); | |
for (var a = e.headers || [], r = 0; r < a.length; r++) t.setRequestHeader(a[r][0], a[r][1]) | |
} | |
t.send(n) | |
} | |
} catch (s) { | |
u.f.error("Network request error: " + s.message) | |
} | |
}; | |
l.R = function() {}; | |
l.R.ki = /^[^\x00-\x1F\x22]+$/; | |
l.R.zi = /(?:[a-z0-9!#$%&'*+\/=?^_`{|}~-]+(?:\.[a-z0-9!#$%&'*+\/=?^_`{|}~-]+)*|"(?:[\x01-\x08\x0b\x0c\x0e-\x1f\x21\x23-\x5b\x5d-\x7f]|\\[\x01-\x09\x0b\x0c\x0e-\x7f])*")@(?:(?:[a-z0-9](?:[a-z0-9-]*[a-z0-9])?\.)+[a-z0-9](?:[a-z0-9-]*[a-z0-9])?|\[(?:(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.){3}(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?|[a-z0-9-]*[a-z0-9]:(?:[\x01-\x08\x0b\x0c\x0e-\x1f\x21-\x5a\x53-\x7f]|\\[\x01-\x09\x0b\x0c\x0e-\x7f])+)\])/; | |
l.R.Vb = function(e, t, n, o) { | |
(o = "string" == typeof e || null === e && o) || u.f.error("Cannot " + t + " because " + n + ' "' + e + '" is invalid.'); | |
return o | |
}; | |
l.R.Wa = function(e, t, n) { | |
var o = null != e && "string" == typeof e && ("" === e || e.match(l.R.ki)); | |
o || u.f.error("Cannot " + t + " because " + n + ' "' + e + '" is invalid.'); | |
return o | |
}; | |
l.R.Dl = function(e, t, n) { | |
var o = typeof e, | |
i = l.G.tb(e); | |
(o = null != e && ("number" === o || "boolean" === o || i || "string" === o)) || u.f.error("Cannot " + t + " because " + n + ' "' + e + '" is invalid.'); | |
return o | |
}; | |
l.R.Ch = function(e) { | |
return "string" == typeof e && null != e.match(l.R.zi) | |
}; | |
l.Xa = {}; | |
l.Xa.ub = function(e) { | |
e = parseInt(e); | |
if (isNaN(e)) return ""; | |
e >>>= 0; | |
var t = 255 & e, | |
n = (65280 & e) >>> 8, | |
o = (16711680 & e) >>> 16; | |
return l.Lc.ql() ? "rgba(" + [o, n, t, ((4278190080 & e) >>> 24) / 255].join() + ")" : "rgb(" + [o, n, t].join() + ")" | |
}; | |
l.Xa.Wl = function(e) { | |
e = parseInt(e); | |
if (isNaN(e)) return ""; | |
e >>>= 0; | |
return "rgb(" + [(16711680 & e) >>> 16, (65280 & e) >>> 8, 255 & e].join() + ")" | |
}; | |
l.ia = {}; | |
l.ia.bd = { | |
tj: "up", | |
yi: "down", | |
sg: "left", | |
mj: "right" | |
}; | |
l.ia.If = function(e, t, n, o) { | |
if (null == e) return !1; | |
t = t || !1; | |
n = n || !1; | |
e = e.getBoundingClientRect(); | |
return null != e && ((0 <= e.top && e.top <= (window.innerHeight || document.documentElement.clientHeight) || !t) && (0 <= e.left || !o) && (0 <= e.bottom && e.bottom <= (window.innerHeight || document.documentElement.clientHeight) || !n) && (e.right <= (window.innerWidth || document.documentElement.clientWidth) || !o)) | |
}; | |
l.ia.yl = function(e) { | |
return l.ia.If(e, !0, !1, !1) | |
}; | |
l.ia.Rj = function(e) { | |
return l.ia.If(e, !1, !0, !1) | |
}; | |
l.ia.ph = function(e) { | |
if (e.onclick) { | |
var t = document.createEvent("MouseEvents"); | |
t.initEvent("click", !0, !0); | |
e.onclick.apply(e, [t]) | |
} | |
}; | |
l.ia.fk = function(e, t, n) { | |
var o = null, | |
i = null; | |
e.addEventListener("touchstart", function(e) { | |
o = e.touches[0].clientX; | |
i = e.touches[0].clientY | |
}, !1); | |
e.addEventListener("touchmove", function(e) { | |
if (null != o && null != i) { | |
var a = o - e.touches[0].clientX, | |
r = i - e.touches[0].clientY; | |
Math.abs(a) > Math.abs(r) && 25 <= Math.abs(a) ? (0 < a && t === l.ia.bd.sg ? n(e) : t === l.ia.bd.mj && n(e), i = o = null) : 25 <= Math.abs(r) && (0 < r && t === l.ia.bd.tj ? n(e) : t === l.ia.bd.yi && n(e), i = o = null) | |
} | |
}, !1) | |
}; | |
l.zb.prototype.ve = "ab-classic-card"; | |
l.yb.prototype.ve = "ab-captioned-image"; | |
l.Banner.prototype.ve = "ab-banner"; | |
l.jb.prototype.ve = "ab-control-card"; | |
l.zb.prototype.ze = !0; | |
l.yb.prototype.ze = !0; | |
l.Banner.prototype.ze = !1; | |
l.jb.prototype.ze = !1; | |
l.b.Ig = "data-ab-had-top-impression"; | |
l.b.bg = "data-ab-had-bottom-impression"; | |
l.b.xl = function(e) { | |
return null != e && !!e.getAttribute(l.b.Ig) | |
}; | |
l.b.Ak = function(e) { | |
null != e && e.setAttribute(l.b.Ig, !0) | |
}; | |
l.b.Qj = function(e) { | |
return null != e && !!e.getAttribute(l.b.bg) | |
}; | |
l.b.zk = function(e) { | |
null != e && e.setAttribute(l.b.bg, !0) | |
}; | |
l.b.Hh = function(e) { | |
null != e && (e = e.querySelectorAll(".ab-unread-indicator")[0], null != e && (e.className += " read")) | |
}; | |
l.b.nk = function(e) { | |
return e.getAttribute("data-ab-card-id") | |
}; | |
l.b.prototype.Pa = function(e, t, n) { | |
function o(t) { | |
t = t || window.event; | |
l.b.Hh(i); | |
a && (e(r), l.oa.openUri(r.url, t, n)); | |
return !1 | |
} | |
var i = document.createElement("div"); | |
i.className = "ab-card " + this.constructor.prototype.ve; | |
i.setAttribute("data-ab-card-id", this.id); | |
var a = this.url && "" !== this.url, | |
r = this; | |
if (this.pinned) { | |
var s = document.createElement("div"); | |
s.className = "ab-pinned-indicator"; | |
var c = document.createElement("i"); | |
c.className = "fa fa-star"; | |
s.appendChild(c); | |
i.appendChild(s) | |
} | |
this.imageUrl && "" !== this.imageUrl && (s = document.createElement("div"), s.className = "ab-image-area", c = document.createElement("img"), c.setAttribute("src", this.imageUrl), s.appendChild(c), i.className += " with-image", a && !this.constructor.prototype.ze ? (c = document.createElement("a"), c.setAttribute("href", this.url), c.onclick = o, c.appendChild(s), i.appendChild(c)) : i.appendChild(s)); | |
s = document.createElement("div"); | |
s.className = "ab-card-body"; | |
if (this.dismissible) { | |
c = document.createElement("i"); | |
c.className = "fa fa-times ab-close-button fa-times-circle"; | |
var p = function(e) { | |
e = e || window.event; | |
t(r); | |
i.className += " ab-hide"; | |
setTimeout(function() { | |
i && i.parentNode && i.parentNode.removeChild(i) | |
}, l.J.Xd); | |
e.stopPropagation() | |
}; | |
c.onclick = p; | |
i.appendChild(c); | |
l.ia.fk(s, l.ia.bd.sg, p) | |
} | |
c = document.createElement("div"); | |
c.className = "ab-title"; | |
a ? (p = document.createElement("a"), p.setAttribute("href", this.url), p.onclick = o, p.appendChild(document.createTextNode(this.title)), c.appendChild(p)) : c.appendChild(document.createTextNode(this.title)); | |
s.appendChild(c); | |
c = document.createElement("div"); | |
c.className = "ab-description"; | |
c.appendChild(document.createTextNode(this.description)); | |
if (a) { | |
p = document.createElement("div"); | |
p.className = "ab-url-area"; | |
var u = document.createElement("a"); | |
u.setAttribute("href", this.url); | |
u.appendChild(document.createTextNode(this.linkText)); | |
u.onclick = o; | |
p.appendChild(u); | |
c.appendChild(p) | |
} | |
s.appendChild(c); | |
i.appendChild(s); | |
s = document.createElement("div"); | |
s.className = "ab-unread-indicator"; | |
this.viewed && (s.className += " read"); | |
i.appendChild(s); | |
return i | |
}; | |
l.J.Xd = 240; | |
l.J.ed = 6e4; | |
l.ta.ed = 6e4; | |
l.J.Dg = "data-update-subscription-id"; | |
l.J.Td = "data-last-requested-refresh"; | |
l.J.lj = 1e4; | |
l.J.ga = function(e, t) { | |
t && (t.className = t.className.replace("ab-show", "ab-hide"), setTimeout(function() { | |
t && t.parentNode && t.parentNode.removeChild(t) | |
}, l.J.Xd)); | |
var n = t.getAttribute(l.J.Dg); | |
null != n && e.Ea(n) | |
}; | |
l.J.prototype.Tb = function(e, t) { | |
e.Tb(t) | |
}; | |
l.J.prototype.Sb = function(e, t) { | |
e.Sb(t) | |
}; | |
l.J.prototype.hh = function(e, t) { | |
var n = document.createElement("div"); | |
n.className = "ab-feed-body"; | |
if (null == this.lastUpdated) { | |
t = document.createElement("div"); | |
t.className = "ab-no-cards-message"; | |
var o = document.createElement("i"); | |
o.className = "fa fa-spinner fa-spin fa-4x ab-initial-spinner"; | |
t.appendChild(o); | |
n.appendChild(t) | |
} else { | |
for (var o = !1, i = this, a = function(t) { | |
i.Sb(e, t) | |
}, r = function(t) { | |
e.Ce(t) | |
}, s = 0; s < this.cards.length; s++) { | |
var c = this.cards[s] instanceof l.jb; | |
!c || this instanceof l.ta ? (n.appendChild(this.cards[s].Pa(a, r, t)), o = o || !c) : u.f.error("Received a control card for a legacy news feed. Control cards are only supported with content cards.") | |
} | |
o || (t = document.createElement("div"), t.className = "ab-no-cards-message", t.innerHTML = l.Kf.get("NO_CARDS_MESSAGE"), n.appendChild(t)) | |
} | |
return n | |
}; | |
l.J.prototype.we = function(e, t) { | |
if (null != t) { | |
var n = []; | |
t = t.querySelectorAll(".ab-card"); | |
for (var o = 0; o < t.length; o++) { | |
var i = l.b.xl(t[o]), | |
a = l.b.Qj(t[o]), | |
r = i, | |
s = a, | |
c = l.ia.yl(t[o]), | |
p = l.ia.Rj(t[o]); | |
!i && c && (i = !0, l.b.Ak(t[o])); | |
!a && p && (a = !0, l.b.zk(t[o])); | |
if (i && a && (c || p || l.b.Hh(t[o]), !r || !s)) | |
for (i = l.b.nk(t[o]), a = 0; a < this.cards.length; a++) | |
if (this.cards[o].id === i) { | |
n.push(this.cards[o]); | |
break | |
} | |
} | |
0 < n.length && this.Tb(e, n) | |
} | |
}; | |
l.J.prototype.gh = function(e) { | |
e.Je() | |
}; | |
l.J.prototype.Vf = function(e, t) { | |
var n = t.querySelectorAll(".ab-refresh-button")[0]; | |
null != n && (n.className += " fa-spin"); | |
var o = Date.now().toString(); | |
t.setAttribute(l.J.Td, o); | |
setTimeout(function() { | |
if (t.getAttribute(l.J.Td) === o) { | |
for (var e = t.querySelectorAll(".fa-spin"), n = 0; n < e.length; n++) e[n].className = e[n].className.replace(/fa-spin/g, ""); | |
e = t.querySelectorAll(".ab-initial-spinner")[0]; | |
null != e && (n = document.createElement("span"), n.innerHTML = l.Kf.get("FEED_TIMEOUT_MESSAGE"), e.parentNode.appendChild(n), e.parentNode.removeChild(e)) | |
} | |
}, l.J.lj); | |
this.gh(e) | |
}; | |
l.J.prototype.Pa = function(e, t) { | |
function n(t) { | |
t = t || window.event; | |
i.Vf(e, a); | |
t.stopPropagation() | |
} | |
function o(t) { | |
t = t || window.event; | |
l.J.ga(e, a); | |
t.stopPropagation() | |
} | |
var i = this, | |
a = document.createElement("div"); | |
a.className = "ab-feed ab-show"; | |
var r = document.createElement("div"); | |
r.className = "ab-feed-buttons-wrapper"; | |
r.setAttribute("tabindex", "-1"); | |
a.appendChild(r); | |
var s = document.createElement("i"); | |
s.className = "fa fa-times ab-close-button"; | |
s.setAttribute("aria-label", "Close Feed"); | |
s.setAttribute("tabindex", "0"); | |
s.setAttribute("role", "button"); | |
s.addEventListener("keydown", function(e) { | |
e = e || window.event; | |
e.keyCode !== l.Ma.kf && e.keyCode !== l.Ma.Ye || o(e) | |
}); | |
s.onclick = o; | |
var c = document.createElement("i"); | |
c.className = "fa fa-refresh ab-refresh-button"; | |
null == this.lastUpdated && (c.className += " fa-spin"); | |
c.setAttribute("aria-label", "Refresh Feed"); | |
c.setAttribute("tabindex", "0"); | |
c.setAttribute("role", "button"); | |
c.addEventListener("keydown", function(e) { | |
e = e || window.event; | |
e.keyCode !== l.Ma.kf && e.keyCode !== l.Ma.Ye || n(e) | |
}); | |
c.onclick = n; | |
r.appendChild(c); | |
r.appendChild(s); | |
a.appendChild(this.hh(e, t)); | |
a.onscroll = function() { | |
i.we(e, a) | |
}; | |
return a | |
}; | |
l.J.prototype.Nh = function(e, t) { | |
t.setAttribute(l.J.Dg, e) | |
}; | |
l.J.prototype.Oe = function(e, t, n, o, i) { | |
if (l.G.isArray(e)) { | |
for (var a = [], r = 0; r < e.length; r++) e[r] instanceof l.b && a.push(e[r]); | |
this.cards = a; | |
this.lastUpdated = t; | |
null != n && (null == this.lastUpdated ? l.J.ga(o, n) : (e = n.querySelectorAll(".ab-feed-body")[0], null != e && (i = this.hh(o, i), e.parentNode.replaceChild(i, e), this.we(o, i.parentNode)))) | |
} | |
}; | |
l.ta.ga = l.J.ga; | |
l.ta.prototype.Tb = function(e, t) { | |
e.Tb(t, !0) | |
}; | |
l.ta.prototype.Sb = function(e, t) { | |
e.Sb(t, !0) | |
}; | |
l.ta.prototype.gh = function(e) { | |
e.xc() | |
}; | |
l.h.Xd = 240; | |
l.h.Ei = 480; | |
l.h.aj = 200; | |
l.h.Yc = { | |
NONE: 0, | |
jg: 1, | |
kg: 2 | |
}; | |
l.h.prototype.wd = function() { | |
return this.animateIn ? " ab-show " : " " | |
}; | |
l.h.prototype.mh = function() { | |
return this.animateOut ? " ab-hide " : " " | |
}; | |
l.h.prototype.Ef = function(e) { | |
e.className = e.className.replace(this.wd(), this.mh()); | |
return this.animateOut | |
}; | |
l.h.prototype.ga = function(e, t) { | |
if (e) { | |
var n; | |
n = -1 === e.className.indexOf("ab-in-app-message") ? e.getElementsByClassName("ab-in-app-message")[0] : e; | |
var o = !1; | |
n && (o = this.Ef(n)); | |
var i = document.getElementsByTagName("body")[0]; | |
if (null != i) var a = i.scrollTop; | |
n = function() { | |
e && e.parentNode && e.parentNode.removeChild(e); | |
null != i && "Safari" === l.Lc.xd && (i.scrollTop = a); | |
t && t() | |
}; | |
o ? setTimeout(n, l.h.Xd) : n() | |
} | |
}; | |
l.h.prototype.Pa = function(e, t, n, i, a, r) { | |
function s() { | |
-1 !== p.className.indexOf("ab-start-hidden") && (p.className = p.className.replace("ab-start-hidden", c.wd()), n(r)) | |
} | |
var c = this, | |
p = document.createElement("div"); | |
p.className = "ab-in-app-message ab-start-hidden"; | |
this.Qc() && (p.className += " ab-modal-interactions"); | |
p.style.color = l.Xa.ub(this.textColor); | |
null != r ? r.appendChild(p) : r = p; | |
this.imageStyle === l.h.Rd.GRAPHIC && (p.className += " graphic"); | |
this.orientation === l.h.Ga.LANDSCAPE && (p.className += " landscape"); | |
0 === this.buttons.length && (c.clickAction !== l.h.Ab.NONE && (p.className += " ab-clickable"), p.onclick = function(n) { | |
n = n || window.event; | |
c.ga(r, function() { | |
e.Ee(c); | |
c.clickAction === l.h.Ab.URI ? l.oa.openUri(c.uri, n, i || c.openTarget === l.h.hd.BLANK) : c.clickAction === l.h.Ab.NEWS_FEED && t() | |
}); | |
n.stopPropagation(); | |
return !1 | |
}); | |
o(p, this.backgroundColor); | |
if (a !== l.h.Yc.NONE) { | |
var u = document.createElement("i"); | |
u.setAttribute("aria-label", "Close Message"); | |
u.setAttribute("tabindex", "0"); | |
u.setAttribute("role", "button"); | |
u.className = "fa fa-times ab-close-button"; | |
u.className = a === l.h.Yc.jg ? u.className + " fa-times" : u.className + " fa-times-circle"; | |
var d = function(e) { | |
e = e || window.event; | |
c.ga(r); | |
c.Rc(); | |
e.stopPropagation() | |
}; | |
u.addEventListener("keydown", function(e) { | |
e = e || window.event; | |
e.keyCode !== l.Ma.kf && e.keyCode !== l.Ma.Ye || d(e) | |
}); | |
u.onclick = d; | |
u.style.color = l.Xa.ub(this.closeButtonColor); | |
p.appendChild(u) | |
} | |
a = !1; | |
u = document.createElement("div"); | |
u.className = "ab-image-area"; | |
if (this.imageUrl) { | |
if (this.cropType === l.h.Zc.CENTER_CROP) { | |
var f = document.createElement("span"); | |
f.className = "ab-center-cropped-img"; | |
f.style.backgroundImage = "url(" + this.imageUrl + ")" | |
} else f = document.createElement("img"), f.setAttribute("src", this.imageUrl), a = !0, f.onload = s, setTimeout(s, 1e3); | |
u.appendChild(f); | |
p.appendChild(u) | |
} else if (this.icon) { | |
u.className += " ab-icon-area"; | |
f = document.createElement("span"); | |
f.className = "ab-icon"; | |
f.style.backgroundColor = l.Xa.ub(this.iconBackgroundColor); | |
f.style.color = l.Xa.ub(this.iconColor); | |
var m = document.createElement("i"); | |
m.className = "fa"; | |
m.appendChild(document.createTextNode(this.icon)); | |
f.appendChild(m); | |
u.appendChild(f); | |
p.appendChild(u) | |
} | |
u = document.createElement("div"); | |
u.className = "ab-message-text"; | |
u.className += " " + this.messageAlignment.toLowerCase() + "-aligned"; | |
u.addEventListener("touchstart", function() {}, { | |
passive: !0 | |
}); | |
this.header && 0 < this.header.length && (f = document.createElement("span"), f.className = "ab-message-header", f.className += " " + this.headerAlignment.toLowerCase() + "-aligned", f.style.color = l.Xa.ub(this.headerTextColor), f.appendChild(document.createTextNode(this.header)), u.appendChild(f)); | |
u.appendChild(document.createTextNode(this.message)); | |
p.appendChild(u); | |
a || s(); | |
return p | |
}; | |
l.h.prototype.Kh = function() {}; | |
l.ob.prototype.Pa = function(e, t, n, o, i) { | |
e = l.h.prototype.Pa.call(this, e, n, o, i, l.h.Yc.jg); | |
e.className += " ab-slideup ab-effect-slide"; | |
return e | |
}; | |
l.ob.prototype.Kh = function(e) { | |
l.ia.If(e, !0, !0) || (this.slideFrom === l.h.Zd.TOP ? e.style.top = "0px" : e.style.bottom = "0px") | |
}; | |
l.cc.prototype.Pa = function(e, o, i, a, r) { | |
o = document.createElement("div"); | |
o.className = "ab-centering-div ab-modal ab-modal-interactions"; | |
a = l.h.prototype.Pa.call(this, e, i, a, r, l.h.Yc.kg, o); | |
a.className += " ab-modal ab-effect-modal"; | |
o.setAttribute("tabindex", "-1"); | |
t(this, e, i, a, r, o); | |
n(a); | |
return o | |
}; | |
l.bc.prototype.Pa = function(e, o, i, a, r) { | |
o = l.h.prototype.Pa.call(this, e, i, a, r, l.h.Yc.kg); | |
o.className += " ab-fullscreen ab-effect-fullscreen"; | |
o.setAttribute("tabindex", "-1"); | |
t(this, e, i, o, r); | |
n(o); | |
return o | |
}; | |
l.Sa.prototype.Pa = function(e, t, n, o, i) { | |
function a(t) { | |
var n = t.getAttribute("href"), | |
o = t.onclick; | |
return function(a) { | |
a = a || window.event; | |
if (null == o || "function" != typeof o || !1 !== o()) { | |
var c = l.Mg.Mk(n).abButtonId; | |
null != c && "" !== c || (c = t.getAttribute("id")); | |
if (null != n && "" !== n && 0 !== n.indexOf("#")) { | |
var p = "blank" === (t.getAttribute("target") || "").toLowerCase().replace("_", ""), | |
u = i || r.openTarget === l.h.hd.BLANK || p, | |
p = function() { | |
e.Ed(r, c, n); | |
l.oa.openUri(n, a, u) | |
}; | |
u ? p() : r.ga(s, p) | |
} else e.Ed(r, c, n); | |
a.stopPropagation(); | |
return !1 | |
} | |
} | |
} | |
var r = this, | |
s = document.createElement("iframe"); | |
s.onload = function() { | |
function e(e) { | |
return function() { | |
t[e].apply(t, Array.prototype.slice.call(arguments)) | |
} | |
} | |
s.contentWindow.document.write(r.message); | |
var n = s.contentWindow.document.getElementsByTagName("head")[0]; | |
if (null != n) { | |
var i = document.createElement("style"); | |
i.innerHTML = l.Cg; | |
n.appendChild(i); | |
i = s.contentWindow.document.createElement("base"); | |
i.setAttribute("target", "_parent"); | |
n.appendChild(i) | |
} | |
for (var n = { | |
closeMessage: function() { | |
r.ga(s); | |
r.Rc() | |
}, | |
display: {}, | |
web: {} | |
}, c = ["requestImmediateDataFlush", "logCustomEvent", "logPurchase", "unregisterAppboyPushMessages"], i = 0; i < c.length; i++) n[c[i]] = e(c[i]); | |
for (var c = "setFirstName setLastName setEmail setGender setDateOfBirth setCountry setHomeCity setEmailNotificationSubscriptionType setPushNotificationSubscriptionType setPhoneNumber setCustomUserAttribute addToCustomAttributeArray removeFromCustomAttributeArray incrementCustomUserAttribute setCustomLocationAttribute".split(" "), p = {}, i = 0; i < c.length; i++) p[c[i]] = function(e) { | |
return function() { | |
var n = t.getUser(); | |
n[e].apply(n, Array.prototype.slice.call(arguments)) | |
} | |
}(c[i]); | |
n.getUser = function() { | |
return p | |
}; | |
c = ["showFeed"]; | |
for (i = 0; i < c.length; i++) n.display[c[i]] = function(e) { | |
return function() { | |
r.ga(s); | |
t.display[e].apply(t.display, Array.prototype.slice.call(arguments)) | |
} | |
}(c[i]); | |
c = ["registerAppboyPushMessages", "trackLocation"]; | |
for (i = 0; i < c.length; i++) n.web[c[i]] = e(c[i]); | |
s.contentWindow.appboyBridge = n; | |
c = s.contentWindow.document.getElementsByTagName("a"); | |
for (i = 0; i < c.length; i++) c[i].onclick = a(c[i]); | |
c = s.contentWindow.document.getElementsByTagName("button"); | |
for (i = 0; i < c.length; i++) c[i].onclick = a(c[i]); | |
i = s.contentWindow.document.body; | |
null != i && (c = document.createElement("hidden"), c.onclick = n.closeMessage, c.className = "ab-programmatic-close-button", i.appendChild(c)); - 1 !== s.className.indexOf("ab-start-hidden") && (s.className = s.className.replace("ab-start-hidden", r.wd()), o(s)) | |
}; | |
s.className = "ab-in-app-message ab-start-hidden ab-html-message ab-modal-interactions"; | |
return s | |
}; | |
l.Sa.prototype.Ef = function(e) { | |
var t = l.h.prototype.Ef.call(this, e); | |
if (!this.animateIn && !this.animateOut) { | |
e = Array.prototype.slice.call(e.contentWindow.document.body.getElementsByClassName("ab-show")); | |
for (var n = 0; n < e.length; n++) t = !0, e[n].className = e[n].className.replace("ab-show", "ab-hide") | |
} | |
return t | |
}; | |
l.cc.prototype.ga = l.bc.prototype.ga = l.Sa.prototype.ga = function(e, t) { | |
for (var n = document.querySelectorAll(".ab-page-blocker"), o = null, i = 0; i < n.length; i++) - 1 === n[i].className.indexOf("ab-hide") && (o = n[i]); | |
o && (o.className = o.className.replace(this.wd(), this.mh()), n = function() { | |
o.parentNode && o.parentNode.removeChild(o) | |
}, this.animateOut ? setTimeout(n, l.h.Ei) : n()); | |
l.h.prototype.ga.call(this, e, t) | |
}; | |
l.Mg = {}; | |
l.Mg.Mk = function(e) { | |
null == e && (e = ""); | |
var t = e.split("?").slice(1).join("?"); | |
e = {}; | |
if (null != t) | |
for (var t = t.split("&"), n = 0; n < t.length; n++) { | |
var o = t[n].split("="); | |
"" !== o[0] && (e[o[0]] = o[1]) | |
} | |
return e | |
}; | |
l.oa = {}; | |
l.oa.openUri = function(e, t, n) { | |
n || null != t && t.metaKey ? window.open(e) : window.location = e | |
}; | |
l.oa.Fk = function() { | |
return 750 >= screen.width | |
}; | |
l.oa.Ga = { | |
Wd: 0, | |
Ze: 1 | |
}; | |
l.oa.uk = function() { | |
if ("orientation" in window) return 90 === Math.abs(window.orientation) || 270 === window.orientation ? l.oa.Ga.Ze : l.oa.Ga.Wd; | |
if ("screen" in window) { | |
var e = window.screen.orientation || screen.Sl || screen.Tl; | |
null != e && "object" == typeof e && (e = e.type); | |
if ("landscape-primary" === e || "landscape-secondary" === e) return l.oa.Ga.Ze | |
} | |
return l.oa.Ga.Wd | |
}; | |
var f = new p; | |
f.F = l; | |
f.jl = u; | |
e.AF = p; | |
e.initialize = f.Hf; | |
e.destroy = f.Bd; | |
e.getDeviceId = f.qk; | |
e.toggleAppboyLogging = f.$f; | |
e.setLogger = f.Wf; | |
e.openSession = f.Ge; | |
e.changeUser = f.pc; | |
e.getUser = f.Pc; | |
e.requestImmediateDataFlush = f.Hd; | |
e.requestFeedRefresh = f.Je; | |
e.getCachedFeed = f.xe; | |
e.subscribeToFeedUpdates = f.Uh; | |
e.requestContentCardsRefresh = f.xc; | |
e.getCachedContentCards = f.Oc; | |
e.subscribeToContentCardsUpdates = f.Sh; | |
e.logCardImpressions = f.Tb; | |
e.logCardClick = f.Sb; | |
e.logCardDismissal = f.Ce; | |
e.logFeedDisplayed = f.Fh; | |
e.logContentCardsDisplayed = f.Eh; | |
e.logInAppMessageImpression = f.Fd; | |
e.logInAppMessageClick = f.Ee; | |
e.logInAppMessageButtonClick = f.De; | |
e.logInAppMessageHtmlClick = f.Ed; | |
e.subscribeToNewInAppMessages = f.Wh; | |
e.removeSubscription = f.Ea; | |
e.removeAllSubscriptions = f.va; | |
e.logCustomEvent = f.Mf; | |
e.logPurchase = f.Nf; | |
e.isPushSupported = f.Rb; | |
e.isPushBlocked = f.tc; | |
e.isPushGranted = f.Jf; | |
e.isPushPermissionGranted = f.Ae; | |
e.registerAppboyPushMessages = f.Qk; | |
e.unregisterAppboyPushMessages = f.Al; | |
e.submitFeedback = f.Zf; | |
e.trackLocation = f.zl; | |
e.stopWebTracking = f.ml; | |
e.resumeWebTracking = f.Wk; | |
e.wipeData = f.El; | |
e.ab = f.F; | |
e.ab.User = f.F.w; | |
e.ab.User.Genders = f.F.w.mg; | |
e.ab.User.NotificationSubscriptionTypes = f.F.w.gd; | |
e.ab.User.prototype.getUserId = f.F.w.prototype.S; | |
e.ab.User.prototype.setFirstName = f.F.w.prototype.dl; | |
e.ab.User.prototype.setLastName = f.F.w.prototype.hl; | |
e.ab.User.prototype.setEmail = f.F.w.prototype.bl; | |
e.ab.User.prototype.setGender = f.F.w.prototype.el; | |
e.ab.User.prototype.setDateOfBirth = f.F.w.prototype.al; | |
e.ab.User.prototype.setCountry = f.F.w.prototype.Zk; | |
e.ab.User.prototype.setHomeCity = f.F.w.prototype.fl; | |
e.ab.User.prototype.setLanguage = f.F.w.prototype.gl; | |
e.ab.User.prototype.setEmailNotificationSubscriptionType = f.F.w.prototype.cl; | |
e.ab.User.prototype.setPushNotificationSubscriptionType = f.F.w.prototype.Xf; | |
e.ab.User.prototype.setPhoneNumber = f.F.w.prototype.il; | |
e.ab.User.prototype.setAvatarImageUrl = f.F.w.prototype.Yk; | |
e.ab.User.prototype.setLastKnownLocation = f.F.w.prototype.Ke; | |
e.ab.User.prototype.setUserAttribute = f.F.w.prototype.ca; | |
e.ab.User.prototype.setCustomUserAttribute = f.F.w.prototype.Uc; | |
e.ab.User.prototype.addToCustomAttributeArray = f.F.w.prototype.Nj; | |
e.ab.User.prototype.removeFromCustomAttributeArray = f.F.w.prototype.Rk; | |
e.ab.User.prototype.incrementCustomUserAttribute = f.F.w.prototype.Bk; | |
e.ab.User.prototype.addAlias = f.F.w.prototype.Mj; | |
e.ab.User.prototype.setCustomLocationAttribute = f.F.w.prototype.$k; | |
e.ab.InAppMessage = f.F.h; | |
e.ab.InAppMessage.SlideFrom = f.F.h.Zd; | |
e.ab.InAppMessage.ClickAction = f.F.h.Ab; | |
e.ab.InAppMessage.DismissType = f.F.h.Ac; | |
e.ab.InAppMessage.OpenTarget = f.F.h.hd; | |
e.ab.InAppMessage.ImageStyle = f.F.h.Rd; | |
e.ab.InAppMessage.TextAlignment = f.F.h.nf; | |
e.ab.InAppMessage.Orientation = f.F.h.Ga; | |
e.ab.InAppMessage.CropType = f.F.h.Zc; | |
e.ab.InAppMessage.prototype.subscribeToClickedEvent = f.F.h.prototype.Me; | |
e.ab.InAppMessage.prototype.subscribeToDismissedEvent = f.F.h.prototype.Th; | |
e.ab.InAppMessage.prototype.removeSubscription = f.F.h.prototype.Ea; | |
e.ab.InAppMessage.prototype.removeAllSubscriptions = f.F.h.prototype.va; | |
e.ab.InAppMessage.Button = f.F.h.Aa; | |
e.ab.InAppMessage.Button.prototype.subscribeToClickedEvent = f.F.h.Aa.prototype.Me; | |
e.ab.InAppMessage.Button.prototype.removeSubscription = f.F.h.Aa.prototype.Ea; | |
e.ab.InAppMessage.Button.prototype.removeAllSubscriptions = f.F.h.Aa.prototype.va; | |
e.ab.SlideUpMessage = f.F.ob; | |
e.ab.ModalMessage = f.F.cc; | |
e.ab.FullScreenMessage = f.F.bc; | |
e.ab.HtmlMessage = f.F.Sa; | |
e.ab.ControlMessage = f.F.Zb; | |
e.ab.Feed = f.F.J; | |
e.ab.Feed.prototype.getUnreadCardCount = f.F.J.prototype.wh; | |
e.ab.ContentCards = f.F.ta; | |
e.ab.ContentCards.prototype.getUnviewedCardCount = f.F.ta.prototype.vk; | |
e.ab.Card = f.F.b; | |
e.ab.ClassicCard = f.F.zb; | |
e.ab.CaptionedImage = f.F.yb; | |
e.ab.Banner = f.F.Banner; | |
e.ab.ControlCard = f.F.jb; | |
e.ab.WindowUtils = f.F.oa; | |
void 0 !== i && (e.ADF = i, f.display = new i(f, e), e.display = f.display, e.display.automaticallyShowNewInAppMessages = f.display.Pj, e.display.showInAppMessage = f.display.ll, e.display.showFeed = f.display.Rh, e.display.destroyFeed = f.display.dk, e.display.toggleFeed = f.display.wl, e.display.showContentCards = f.display.kl, e.display.hideContentCards = f.display.xk, e.display.toggleContentCards = f.display.vl); | |
e.sharedLib = f.jl; | |
e.subscribeToInit = f.Vh; | |
return e | |
} | |
"function" == typeof define && define.amd ? define(["exports", "require"], L) : L("function" == typeof require && "object" == typeof exports && "object" == typeof module ? module.exports || exports : window.appboy = {}); | |
if ("undefined" != typeof appboyQueue && appboyQueue && appboyQueue.length && 0 < appboyQueue.length) { | |
var M = appboyQueue; | |
appboyQueue = null; | |
for (var N = 0; N < M.length; N++) | |
if (M[N].callee) { | |
var O = M[N].callee.name; | |
null != O && "" !== O || (O = /^function ([\w]*)\(/g.exec(M[N].callee.toString())[1]); | |
if (null != O && "" !== O) { | |
for (var P = O.split("_"), Q = appboy, R = this, X = "appboy", Y = 0; Y < P.length; Y++) { | |
if ("prototype" === P[Y]) var Z = eval({ | |
"appboy.ab.User": "appboy.getUser", | |
"appboy.ab.Feed": "appboy.getCachedFeed", | |
"appboy.ab.ContentCards": "appboy.getCachedContentCards" | |
} [X]), | |
R = Q = null != Z ? Z.apply() : new Q.constructor; | |
else Q = Q[P[Y]]; | |
X += "." + P[Y] | |
} | |
null != Q && "function" == typeof Q && Q.apply(R, M[N]) | |
} | |
} | |
} | |
}).call(window) | |
}, {}], | |
823: [function(e, t, n) { | |
"use strict"; | |
function o(e) { | |
for (var t in e) { | |
"function" == typeof e[t] && (e[t] = i(e, e[t])) | |
} | |
return e | |
} | |
var i = e("component-bind"); | |
t.exports = o | |
}, { | |
"component-bind": 825 | |
}], | |
824: [function(e, t, n) { | |
var o = { | |
utf8: { | |
stringToBytes: function(e) { | |
return o.bin.stringToBytes(unescape(encodeURIComponent(e))) | |
}, | |
bytesToString: function(e) { | |
return decodeURIComponent(escape(o.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 = o | |
}, {}], | |
825: [function(e, t, n) { | |
var o = [].slice; | |
t.exports = function(e, t) { | |
"string" == typeof t && (t = e[t]); | |
if ("function" != typeof t) throw new Error("bind() requires a function"); | |
var n = o.call(arguments, 2); | |
return function() { | |
return t.apply(e, n.concat(o.call(arguments))) | |
} | |
} | |
}, {}], | |
826: [function(e, t, n) { | |
function o(e) { | |
switch (i(e)) { | |
case "object": | |
var t = {}; | |
for (var n in e) Object.prototype.hasOwnProperty.call(e, n) && (t[n] = o(e[n])); | |
return t; | |
case "array": | |
for (var t = new Array(e.length), a = 0, r = e.length; a < r; a++) t[a] = o(e[a]); | |
return t; | |
case "regexp": | |
var s = ""; | |
s += e.multiline ? "m" : ""; | |
s += e.global ? "g" : ""; | |
s += e.ignoreCase ? "i" : ""; | |
return new RegExp(e.source, s); | |
case "date": | |
return new Date(e.getTime()); | |
default: | |
return e | |
} | |
} | |
var i; | |
try { | |
i = e("component-type") | |
} catch (a) { | |
i = e("type") | |
} | |
t.exports = o | |
}, { | |
"component-type": 836, | |
"type": 836 | |
}], | |
827: [function(e, t, n) { | |
function o(e, t, n) { | |
n = n || {}; | |
var o = s(e) + "=" + s(t); | |
null == t && (n.maxage = -1); | |
n.maxage && (n.expires = new Date(+new Date + n.maxage)); | |
n.path && (o += "; path=" + n.path); | |
n.domain && (o += "; domain=" + n.domain); | |
n.expires && (o += "; expires=" + n.expires.toUTCString()); | |
n.secure && (o += "; secure"); | |
document.cookie = o | |
} | |
function i() { | |
var e; | |
try { | |
e = document.cookie | |
} catch (t) { | |
"undefined" != typeof console && "function" == typeof console.error && console.error(t.stack || t); | |
return {} | |
} | |
return r(e) | |
} | |
function a(e) { | |
return i()[e] | |
} | |
function r(e) { | |
var t, n = {}, | |
o = e.split(/ *; */); | |
if ("" == o[0]) return n; | |
for (var i = 0; i < o.length; ++i) { | |
t = o[i].split("="); | |
n[c(t[0])] = c(t[1]) | |
} | |
return n | |
} | |
function s(e) { | |
try { | |
return encodeURIComponent(e) | |
} catch (t) { | |
p("error `encode(%o)` - %o", e, t) | |
} | |
} | |
function c(e) { | |
try { | |
return decodeURIComponent(e) | |
} catch (t) { | |
p("error `decode(%o)` - %o", e, t) | |
} | |
} | |
var p = e("debug")("cookie"); | |
t.exports = function(e, t, n) { | |
switch (arguments.length) { | |
case 3: | |
case 2: | |
return o(e, t, n); | |
case 1: | |
return a(e); | |
default: | |
return i() | |
} | |
} | |
}, { | |
"debug": 840 | |
}], | |
828: [function(e, t, n) { | |
function o(e, t, n) { | |
for (var o = 0; o < e.length; ++o) t.call(n, e.charAt(o), o) | |
} | |
function i(e, t, n) { | |
for (var o in e) c.call(e, o) && t.call(n, o, e[o]) | |
} | |
function a(e, t, n) { | |
for (var o = 0; o < e.length; ++o) t.call(n, e[o], o) | |
} | |
try { | |
var r = e("type") | |
} catch (p) { | |
var r = e("component-type") | |
} | |
var s = e("to-function"), | |
c = Object.prototype.hasOwnProperty; | |
t.exports = function(e, t, n) { | |
t = s(t); | |
n = n || this; | |
switch (r(e)) { | |
case "array": | |
return a(e, t, n); | |
case "object": | |
return "number" == typeof e.length ? a(e, t, n) : i(e, t, n); | |
case "string": | |
return o(e, t, n) | |
} | |
} | |
}, { | |
"component-type": 829, | |
"to-function": 894, | |
"type": 829 | |
}], | |
829: [function(e, t, n) { | |
var o = Object.prototype.toString; | |
t.exports = function(e) { | |
switch (o.call(e)) { | |
case "[object Function]": | |
return "function"; | |
case "[object Date]": | |
return "date"; | |
case "[object RegExp]": | |
return "regexp"; | |
case "[object Arguments]": | |
return "arguments"; | |
case "[object Array]": | |
return "array"; | |
case "[object String]": | |
return "string" | |
} | |
return null === e ? "null" : e === undefined ? "undefined" : e && 1 === e.nodeType ? "element" : e === Object(e) ? "object" : typeof e | |
} | |
}, {}], | |
830: [function(e, t, n) { | |
function o(e) { | |
if (e) return i(e) | |
} | |
function i(e) { | |
for (var t in o.prototype) e[t] = o.prototype[t]; | |
return e | |
} | |
void 0 !== t && (t.exports = o); | |
o.prototype.on = o.prototype.addEventListener = function(e, t) { | |
this._callbacks = this._callbacks || {}; | |
(this._callbacks["$" + e] = this._callbacks["$" + e] || []).push(t); | |
return this | |
}; | |
o.prototype.once = function(e, t) { | |
function n() { | |
this.off(e, n); | |
t.apply(this, arguments) | |
} | |
n.fn = t; | |
this.on(e, n); | |
return this | |
}; | |
o.prototype.off = o.prototype.removeListener = o.prototype.removeAllListeners = o.prototype.removeEventListener = function(e, t) { | |
this._callbacks = this._callbacks || {}; | |
if (0 == arguments.length) { | |
this._callbacks = {}; | |
return this | |
} | |
var n = this._callbacks["$" + e]; | |
if (!n) return this; | |
if (1 == arguments.length) { | |
delete this._callbacks["$" + e]; | |
return this | |
} | |
for (var o, i = 0; i < n.length; i++) { | |
o = n[i]; | |
if (o === t || o.fn === t) { | |
n.splice(i, 1); | |
break | |
} | |
} | |
return this | |
}; | |
o.prototype.emit = function(e) { | |
this._callbacks = this._callbacks || {}; | |
var t = [].slice.call(arguments, 1), | |
n = this._callbacks["$" + e]; | |
if (n) { | |
n = n.slice(0); | |
for (var o = 0, i = n.length; o < i; ++o) n[o].apply(this, t) | |
} | |
return this | |
}; | |
o.prototype.listeners = function(e) { | |
this._callbacks = this._callbacks || {}; | |
return this._callbacks["$" + e] || [] | |
}; | |
o.prototype.hasListeners = function(e) { | |
return !!this.listeners(e).length | |
} | |
}, {}], | |
831: [function(e, t, n) { | |
var o = window.addEventListener ? "addEventListener" : "attachEvent", | |
i = window.removeEventListener ? "removeEventListener" : "detachEvent", | |
a = "addEventListener" !== o ? "on" : ""; | |
n.bind = function(e, t, n, i) { | |
e[o](a + t, n, i || !1); | |
return n | |
}; | |
n.unbind = function(e, t, n, o) { | |
e[i](a + t, n, o || !1); | |
return n | |
} | |
}, {}], | |
832: [function(e, t, n) { | |
t.exports = function(e, t) { | |
if (e.indexOf) return e.indexOf(t); | |
for (var n = 0; n < e.length; ++n) | |
if (e[n] === t) return n; | |
return -1 | |
} | |
}, {}], | |
833: [function(e, t, n) { | |
function o(e) { | |
return e.replace(/\.\w+|\w+ *\(|"[^"]*"|'[^']*'|\/([^\/]+)\//g, "").replace(s, "").match(/[a-zA-Z_]\w*/g) || [] | |
} | |
function i(e, t, n) { | |
var o = /\.\w+|\w+ *\(|"[^"]*"|'[^']*'|\/([^\/]+)\/|[a-zA-Z_]\w*/g; | |
return e.replace(o, function(e) { | |
return "(" == e[e.length - 1] ? n(e) : ~t.indexOf(e) ? n(e) : e | |
}) | |
} | |
function a(e) { | |
for (var t = [], n = 0; n < e.length; n++) ~t.indexOf(e[n]) || t.push(e[n]); | |
return t | |
} | |
function r(e) { | |
return function(t) { | |
return e + t | |
} | |
} | |
var s = /\b(Array|Date|Object|Math|JSON)\b/g; | |
t.exports = function(e, t) { | |
var n = a(o(e)); | |
t && "string" == typeof t && (t = r(t)); | |
return t ? i(e, n, t) : n | |
} | |
}, {}], | |
834: [function(e, t, n) { | |
var o = e("trim"), | |
i = e("type"), | |
a = /(\w+)\[(\d+)\]/, | |
r = function(e) { | |
try { | |
return encodeURIComponent(e) | |
} catch (t) { | |
return e | |
} | |
}, | |
s = function(e) { | |
try { | |
return decodeURIComponent(e.replace(/\+/g, " ")) | |
} catch (t) { | |
return e | |
} | |
}; | |
n.parse = function(e) { | |
if ("string" != typeof e) return {}; | |
e = o(e); | |
if ("" == e) return {}; | |
"?" == e.charAt(0) && (e = e.slice(1)); | |
for (var t = {}, n = e.split("&"), i = 0; i < n.length; i++) { | |
var r, c = n[i].split("="), | |
p = s(c[0]); | |
if (r = a.exec(p)) { | |
t[r[1]] = t[r[1]] || []; | |
t[r[1]][r[2]] = s(c[1]) | |
} else t[c[0]] = null == c[1] ? "" : s(c[1]) | |
} | |
return t | |
}; | |
n.stringify = function(e) { | |
if (!e) return ""; | |
var t = []; | |
for (var n in e) { | |
var o = e[n]; | |
if ("array" != i(o)) t.push(r(n) + "=" + r(e[n])); | |
else | |
for (var a = 0; a < o.length; ++a) t.push(r(n + "[" + a + "]") + "=" + r(o[a])) | |
} | |
return t.join("&") | |
} | |
}, { | |
"trim": 900, | |
"type": 835 | |
}], | |
835: [function(e, t, n) { | |
arguments[4][507][0].apply(n, arguments) | |
}, { | |
"dup": 507 | |
}], | |
836: [function(e, t, n) { | |
function o(e) { | |
return !(null == e || !(e._isBuffer || e.constructor && "function" == typeof e.constructor.isBuffer && e.constructor.isBuffer(e))) | |
} | |
var i = Object.prototype.toString; | |
t.exports = function(e) { | |
switch (i.call(e)) { | |
case "[object Date]": | |
return "date"; | |
case "[object RegExp]": | |
return "regexp"; | |
case "[object Arguments]": | |
return "arguments"; | |
case "[object Array]": | |
return "array"; | |
case "[object Error]": | |
return "error" | |
} | |
if (null === e) return "null"; | |
if (e === undefined) return "undefined"; | |
if (e !== e) return "nan"; | |
if (e && 1 === e.nodeType) return "element"; | |
if (o(e)) return "buffer"; | |
e = e.valueOf ? e.valueOf() : Object.prototype.valueOf.apply(e); | |
return typeof e | |
} | |
}, {}], | |
837: [function(e, t, n) { | |
function o(e) { | |
switch (e) { | |
case "http:": | |
return 80; | |
case "https:": | |
return 443; | |
default: | |
return location.port | |
} | |
} | |
n.parse = function(e) { | |
var t = document.createElement("a"); | |
t.href = e; | |
return { | |
href: t.href, | |
host: t.host || location.host, | |
port: "0" === t.port || "" === t.port ? o(t.protocol) : t.port, | |
hash: t.hash, | |
hostname: t.hostname || location.hostname, | |
pathname: "/" != t.pathname.charAt(0) ? "/" + t.pathname : t.pathname, | |
protocol: t.protocol && ":" != t.protocol ? t.protocol : location.protocol, | |
search: t.search, | |
query: t.search.slice(1) | |
} | |
}; | |
n.isAbsolute = function(e) { | |
return 0 == e.indexOf("//") || !!~e.indexOf("://") | |
}; | |
n.isRelative = function(e) { | |
return !n.isAbsolute(e) | |
}; | |
n.isCrossDomain = function(e) { | |
e = n.parse(e); | |
var t = n.parse(window.location.href); | |
return e.hostname !== t.hostname || e.port !== t.port || e.protocol !== t.protocol | |
} | |
}, {}], | |
838: [function(e, t, n) { | |
! function() { | |
var e = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/", | |
n = { | |
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 & n.rotl(e, 8) | 4278255360 & n.rotl(e, 24); | |
for (var t = 0; t < e.length; t++) e[t] = n.endian(e[t]); | |
return e | |
}, | |
randomBytes: function(e) { | |
for (var t = []; e > 0; e--) t.push(Math.floor(256 * Math.random())); | |
return t | |
}, | |
bytesToWords: function(e) { | |
for (var t = [], n = 0, o = 0; n < e.length; n++, o += 8) t[o >>> 5] |= e[n] << 24 - o % 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(t) { | |
for (var n = [], o = 0; o < t.length; o += 3) | |
for (var i = t[o] << 16 | t[o + 1] << 8 | t[o + 2], a = 0; a < 4; a++) 8 * o + 6 * a <= 8 * t.length ? n.push(e.charAt(i >>> 6 * (3 - a) & 63)) : n.push("="); | |
return n.join("") | |
}, | |
base64ToBytes: function(t) { | |
t = t.replace(/[^A-Z0-9+\/]/gi, ""); | |
for (var n = [], o = 0, i = 0; o < t.length; i = ++o % 4) 0 != i && n.push((e.indexOf(t.charAt(o - 1)) & Math.pow(2, -2 * i + 8) - 1) << 2 * i | e.indexOf(t.charAt(o)) >>> 6 - 2 * i); | |
return n | |
} | |
}; | |
t.exports = n | |
}() | |
}, {}], | |
839: [function(e, t, n) { | |
! function(e) { | |
"use strict"; | |
function o(e, t) { | |
e = String(e); | |
t = t || 2; | |
for (; e.length < t;) e = "0" + e; | |
return e | |
} | |
function i(e) { | |
var t = new Date(e.getFullYear(), e.getMonth(), e.getDate()); | |
t.setDate(t.getDate() - (t.getDay() + 6) % 7 + 3); | |
var n = new Date(t.getFullYear(), 0, 4); | |
n.setDate(n.getDate() - (n.getDay() + 6) % 7 + 3); | |
var o = t.getTimezoneOffset() - n.getTimezoneOffset(); | |
t.setHours(t.getHours() - o); | |
var i = (t - n) / 6048e5; | |
return 1 + Math.floor(i) | |
} | |
function a(e) { | |
var t = e.getDay(); | |
0 === t && (t = 7); | |
return t | |
} | |
function r(e) { | |
return null === e ? "null" : e === undefined ? "undefined" : "object" != typeof e ? typeof e : Array.isArray(e) ? "array" : {}.toString.call(e).slice(8, -1).toLowerCase() | |
} | |
var s = function() { | |
var e = /d{1,4}|m{1,4}|yy(?:yy)?|([HhMsTt])\1?|[LloSZWN]|'[^']*'|'[^']*'/g, | |
t = /\b(?:[PMCEA][SDP]T|(?:Pacific|Mountain|Central|Eastern|Atlantic) (?:Standard|Daylight|Prevailing) Time|(?:GMT|UTC)(?:[-+]\d{4})?)\b/g, | |
n = /[^-+\dA-Z]/g; | |
return function(c, p, u, l) { | |
if (1 === arguments.length && "string" === r(c) && !/\d/.test(c)) { | |
p = c; | |
c = undefined | |
} | |
c = c || new Date; | |
c instanceof Date || (c = new Date(c)); | |
if (isNaN(c)) throw TypeError("Invalid date"); | |
p = String(s.masks[p] || p || s.masks["default"]); | |
var d = p.slice(0, 4); | |
if ("UTC:" === d || "GMT:" === d) { | |
p = p.slice(4); | |
u = !0; | |
"GMT:" === d && (l = !0) | |
} | |
var f = u ? "getUTC" : "get", | |
m = c[f + "Date"](), | |
h = c[f + "Day"](), | |
g = c[f + "Month"](), | |
y = c[f + "FullYear"](), | |
b = c[f + "Hours"](), | |
v = c[f + "Minutes"](), | |
w = c[f + "Seconds"](), | |
k = c[f + "Milliseconds"](), | |
_ = u ? 0 : c.getTimezoneOffset(), | |
x = i(c), | |
j = a(c), | |
I = { | |
d: m, | |
dd: o(m), | |
ddd: s.i18n.dayNames[h], | |
dddd: s.i18n.dayNames[h + 7], | |
m: g + 1, | |
mm: o(g + 1), | |
mmm: s.i18n.monthNames[g], | |
mmmm: s.i18n.monthNames[g + 12], | |
yy: String(y).slice(2), | |
yyyy: y, | |
h: b % 12 || 12, | |
hh: o(b % 12 || 12), | |
H: b, | |
HH: o(b), | |
M: v, | |
MM: o(v), | |
s: w, | |
ss: o(w), | |
l: o(k, 3), | |
L: o(Math.round(k / 10)), | |
t: b < 12 ? "a" : "p", | |
tt: b < 12 ? "am" : "pm", | |
T: b < 12 ? "A" : "P", | |
TT: b < 12 ? "AM" : "PM", | |
Z: l ? "GMT" : u ? "UTC" : (String(c).match(t) || [""]).pop().replace(n, ""), | |
o: (_ > 0 ? "-" : "+") + o(100 * Math.floor(Math.abs(_) / 60) + Math.abs(_) % 60, 4), | |
S: ["th", "st", "nd", "rd"][m % 10 > 3 ? 0 : (m % 100 - m % 10 != 10) * m % 10], | |
W: x, | |
N: j | |
}; | |
return p.replace(e, function(e) { | |
return e in I ? I[e] : e.slice(1, e.length - 1) | |
}) | |
} | |
}(); | |
s.masks = { | |
"default": "ddd mmm dd yyyy HH:MM:ss", | |
"shortDate": "m/d/yy", | |
"mediumDate": "mmm d, yyyy", | |
"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" | |
}; | |
s.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 define && define.amd ? define(function() { | |
return s | |
}) : "object" == typeof n ? t.exports = s : e.dateFormat = s | |
}(this) | |
}, {}], | |
840: [function(e, t, n) { | |
function o(e) { | |
return o.enabled(e) ? function(t) { | |
t = i(t); | |
var n = new Date, | |
a = n - (o[e] || n); | |
o[e] = n; | |
t = e + " " + t + " +" + o.humanize(a); | |
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 (a) {} | |
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 (a) {} | |
}, {}], | |
841: [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": 867 | |
}], | |
842: [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 a = r[o] || r._default, | |
s = a[0], | |
c = a[1], | |
p = a[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, a = !1; | |
if ("undefined" != typeof document) { | |
i = document.createElement("div"); | |
i.innerHTML = ' <link/><table></table><a href="/a">a</a><input type="checkbox"/>'; | |
a = !i.getElementsByTagName("link").length; | |
i = undefined | |
} | |
var r = { | |
legend: [1, "<fieldset>", "</fieldset>"], | |
tr: [2, "<table><tbody>", "</tbody></table>"], | |
col: [2, "<table><tbody></tbody><colgroup>", "</colgroup></table>"], | |
_default: a ? [1, "X<div>", "</div>"] : [0, "", ""] | |
}; | |
r.td = r.th = [3, "<table><tbody><tr>", "</tr></tbody></table>"]; | |
r.option = r.optgroup = [1, '<select multiple="multiple">', "</select>"]; | |
r.thead = r.tbody = r.colgroup = r.caption = r.tfoot = [1, "<table>", "</table>"]; | |
r.polyline = r.ellipse = r.polygon = r.circle = r.text = r.line = r.path = r.rect = r.g = [1, '<svg xmlns="http://www.w3.org/2000/svg" version="1.1">', "</svg>"] | |
}, {}], | |
843: [function(e, t, n) { | |
"use strict"; | |
var o = Object.prototype.hasOwnProperty, | |
i = Object.prototype.toString, | |
a = Object.defineProperty, | |
r = Object.getOwnPropertyDescriptor, | |
s = function(e) { | |
return "function" == typeof Array.isArray ? Array.isArray(e) : "[object Array]" === i.call(e) | |
}, | |
c = 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 a; | |
for (a in e); | |
return void 0 === a || o.call(e, a) | |
}, | |
p = function(e, t) { | |
a && "__proto__" === t.name ? a(e, t.name, { | |
enumerable: !0, | |
configurable: !0, | |
value: t.newValue, | |
writable: !0 | |
}) : e[t.name] = t.newValue | |
}, | |
u = function(e, t) { | |
if ("__proto__" === t) { | |
if (!o.call(e, t)) return; | |
if (r) return r(e, t).value | |
} | |
return e[t] | |
}; | |
t.exports = function l() { | |
var e, t, n, o, i, a, r = arguments[0], | |
d = 1, | |
f = arguments.length, | |
m = !1; | |
if ("boolean" == typeof r) { | |
m = r; | |
r = arguments[1] || {}; | |
d = 2 | |
}(null == r || "object" != typeof r && "function" != typeof r) && (r = {}); | |
for (; d < f; ++d) { | |
e = arguments[d]; | |
if (null != e) | |
for (t in e) { | |
n = u(r, t); | |
o = u(e, t); | |
if (r !== o) | |
if (m && o && (c(o) || (i = s(o)))) { | |
if (i) { | |
i = !1; | |
a = n && s(n) ? n : [] | |
} else a = n && c(n) ? n : {}; | |
p(r, { | |
name: t, | |
newValue: l(m, a, o) | |
}) | |
} else void 0 !== o && p(r, { | |
name: t, | |
newValue: o | |
}) | |
} | |
} | |
return r | |
} | |
}, {}], | |
844: [function(e, t, n) { | |
function o(e, t) { | |
var n = i("global-queue:" + e); | |
t = t || {}; | |
return function(o) { | |
o = [].slice.call(arguments); | |
window[e] || (window[e] = []); | |
n("%o", o); | |
!1 === t.wrap ? window[e].push.apply(window[e], o) : window[e].push(o) | |
} | |
} | |
var i = e("debug"); | |
t.exports = o | |
}, { | |
"debug": 845 | |
}], | |
845: [function(e, t, n) { | |
arguments[4][41][0].apply(n, arguments) | |
}, { | |
"./debug": 846, | |
"_process": 874, | |
"dup": 41 | |
}], | |
846: [function(e, t, n) { | |
arguments[4][42][0].apply(n, arguments) | |
}, { | |
"dup": 42, | |
"ms": 862 | |
}], | |
847: [function(e, t, n) { | |
try { | |
t.exports = "undefined" != typeof XMLHttpRequest && "withCredentials" in new XMLHttpRequest | |
} catch (o) { | |
t.exports = !1 | |
} | |
}, {}], | |
848: [function(e, t, n) { | |
"function" == typeof Object.create ? t.exports = function(e, t) { | |
e.super_ = t; | |
e.prototype = Object.create(t.prototype, { | |
constructor: { | |
value: e, | |
enumerable: !1, | |
writable: !0, | |
configurable: !0 | |
} | |
}) | |
} : t.exports = function(e, t) { | |
e.super_ = t; | |
var n = function() {}; | |
n.prototype = t.prototype; | |
e.prototype = new n; | |
e.prototype.constructor = e | |
} | |
}, {}], | |
849: [function(e, t, n) { | |
function o(e) { | |
return !!e.constructor && "function" == typeof e.constructor.isBuffer && e.constructor.isBuffer(e) | |
} | |
function i(e) { | |
return "function" == typeof e.readFloatLE && "function" == typeof e.slice && o(e.slice(0, 0)) | |
} | |
t.exports = function(e) { | |
return null != e && (o(e) || i(e) || !!e._isBuffer) | |
} | |
}, {}], | |
850: [function(e, t, n) { | |
t.exports = function(e) { | |
return /.+\@.+\..+/.test(e) | |
} | |
}, {}], | |
851: [function(e, t, n) { | |
"use strict"; | |
var o, i = Object.prototype, | |
a = i.hasOwnProperty, | |
r = i.toString; | |
"function" == typeof Symbol && (o = Symbol.prototype.valueOf); | |
var s = function(e) { | |
return e !== e | |
}, | |
c = { | |
"boolean": 1, | |
number: 1, | |
string: 1, | |
undefined: 1 | |
}, | |
p = /^([A-Za-z0-9+\/]{4})*([A-Za-z0-9+\/]{4}|[A-Za-z0-9+\/]{3}=|[A-Za-z0-9+\/]{2}==)$/, | |
u = /^[A-Fa-f0-9]+$/, | |
l = {}; | |
l.a = l.type = function(e, t) { | |
return typeof e === t | |
}; | |
l.defined = function(e) { | |
return void 0 !== e | |
}; | |
l.empty = function(e) { | |
var t, n = r.call(e); | |
if ("[object Array]" === n || "[object Arguments]" === n || "[object String]" === n) return 0 === e.length; | |
if ("[object Object]" === n) { | |
for (t in e) | |
if (a.call(e, t)) return !1; | |
return !0 | |
} | |
return !e | |
}; | |
l.equal = function(e, t) { | |
if (e === t) return !0; | |
var n, o = r.call(e); | |
if (o !== r.call(t)) return !1; | |
if ("[object Object]" === o) { | |
for (n in e) | |
if (!(l.equal(e[n], t[n]) && n in t)) return !1; | |
for (n in t) | |
if (!(l.equal(e[n], t[n]) && n in e)) return !1; | |
return !0 | |
} | |
if ("[object Array]" === o) { | |
n = e.length; | |
if (n !== t.length) return !1; | |
for (; n--;) | |
if (!l.equal(e[n], t[n])) return !1; | |
return !0 | |
} | |
return "[object Function]" === o ? e.prototype === t.prototype : "[object Date]" === o && e.getTime() === t.getTime() | |
}; | |
l.hosted = function(e, t) { | |
var n = typeof t[e]; | |
return "object" === n ? !!t[e] : !c[n] | |
}; | |
l.instance = l["instanceof"] = function(e, t) { | |
return e instanceof t | |
}; | |
l.nil = l["null"] = function(e) { | |
return null === e | |
}; | |
l.undef = l.undefined = function(e) { | |
return void 0 === e | |
}; | |
l.args = l.arguments = function(e) { | |
var t = "[object Arguments]" === r.call(e), | |
n = !l.array(e) && l.arraylike(e) && l.object(e) && l.fn(e.callee); | |
return t || n | |
}; | |
l.array = Array.isArray || function(e) { | |
return "[object Array]" === r.call(e) | |
}; | |
l.args.empty = function(e) { | |
return l.args(e) && 0 === e.length | |
}; | |
l.array.empty = function(e) { | |
return l.array(e) && 0 === e.length | |
}; | |
l.arraylike = function(e) { | |
return !!e && !l.bool(e) && a.call(e, "length") && isFinite(e.length) && l.number(e.length) && e.length >= 0 | |
}; | |
l.bool = l["boolean"] = function(e) { | |
return "[object Boolean]" === r.call(e) | |
}; | |
l["false"] = function(e) { | |
return l.bool(e) && !1 === Boolean(Number(e)) | |
}; | |
l["true"] = function(e) { | |
return l.bool(e) && !0 === Boolean(Number(e)) | |
}; | |
l.date = function(e) { | |
return "[object Date]" === r.call(e) | |
}; | |
l.date.valid = function(e) { | |
return l.date(e) && !isNaN(Number(e)) | |
}; | |
l.element = function(e) { | |
return e !== undefined && "undefined" != typeof HTMLElement && e instanceof HTMLElement && 1 === e.nodeType | |
}; | |
l.error = function(e) { | |
return "[object Error]" === r.call(e) | |
}; | |
l.fn = l["function"] = function(e) { | |
if ("undefined" != typeof window && e === window.alert) return !0; | |
var t = r.call(e); | |
return "[object Function]" === t || "[object GeneratorFunction]" === t || "[object AsyncFunction]" === t | |
}; | |
l.number = function(e) { | |
return "[object Number]" === r.call(e) | |
}; | |
l.infinite = function(e) { | |
return e === Infinity || e === -Infinity | |
}; | |
l.decimal = function(e) { | |
return l.number(e) && !s(e) && !l.infinite(e) && e % 1 != 0 | |
}; | |
l.divisibleBy = function(e, t) { | |
var n = l.infinite(e), | |
o = l.infinite(t), | |
i = l.number(e) && !s(e) && l.number(t) && !s(t) && 0 !== t; | |
return n || o || i && e % t == 0 | |
}; | |
l.integer = l["int"] = function(e) { | |
return l.number(e) && !s(e) && e % 1 == 0 | |
}; | |
l.maximum = function(e, t) { | |
if (s(e)) throw new TypeError("NaN is not a valid value"); | |
if (!l.arraylike(t)) throw new TypeError("second argument must be array-like"); | |
for (var n = t.length; --n >= 0;) | |
if (e < t[n]) return !1; | |
return !0 | |
}; | |
l.minimum = function(e, t) { | |
if (s(e)) throw new TypeError("NaN is not a valid value"); | |
if (!l.arraylike(t)) throw new TypeError("second argument must be array-like"); | |
for (var n = t.length; --n >= 0;) | |
if (e > t[n]) return !1; | |
return !0 | |
}; | |
l.nan = function(e) { | |
return !l.number(e) || e !== e | |
}; | |
l.even = function(e) { | |
return l.infinite(e) || l.number(e) && e === e && e % 2 == 0 | |
}; | |
l.odd = function(e) { | |
return l.infinite(e) || l.number(e) && e === e && e % 2 != 0 | |
}; | |
l.ge = function(e, t) { | |
if (s(e) || s(t)) throw new TypeError("NaN is not a valid value"); | |
return !l.infinite(e) && !l.infinite(t) && e >= t | |
}; | |
l.gt = function(e, t) { | |
if (s(e) || s(t)) throw new TypeError("NaN is not a valid value"); | |
return !l.infinite(e) && !l.infinite(t) && e > t | |
}; | |
l.le = function(e, t) { | |
if (s(e) || s(t)) throw new TypeError("NaN is not a valid value"); | |
return !l.infinite(e) && !l.infinite(t) && e <= t | |
}; | |
l.lt = function(e, t) { | |
if (s(e) || s(t)) throw new TypeError("NaN is not a valid value"); | |
return !l.infinite(e) && !l.infinite(t) && e < t | |
}; | |
l.within = function(e, t, n) { | |
if (s(e) || s(t) || s(n)) throw new TypeError("NaN is not a valid value"); | |
if (!l.number(e) || !l.number(t) || !l.number(n)) throw new TypeError("all arguments must be numbers"); | |
return l.infinite(e) || l.infinite(t) || l.infinite(n) || e >= t && e <= n | |
}; | |
l.object = function(e) { | |
return "[object Object]" === r.call(e) | |
}; | |
l.primitive = function(e) { | |
return !e || !("object" == typeof e || l.object(e) || l.fn(e) || l.array(e)) | |
}; | |
l.hash = function(e) { | |
return l.object(e) && e.constructor === Object && !e.nodeType && !e.setInterval | |
}; | |
l.regexp = function(e) { | |
return "[object RegExp]" === r.call(e) | |
}; | |
l.string = function(e) { | |
return "[object String]" === r.call(e) | |
}; | |
l.base64 = function(e) { | |
return l.string(e) && (!e.length || p.test(e)) | |
}; | |
l.hex = function(e) { | |
return l.string(e) && (!e.length || u.test(e)) | |
}; | |
l.symbol = function(e) { | |
return "function" == typeof Symbol && "[object Symbol]" === r.call(e) && "symbol" == typeof o.call(e) | |
}; | |
t.exports = l | |
}, {}], | |
852: [function(e, t, n) { | |
var o = {}.toString; | |
t.exports = Array.isArray || function(e) { | |
return "[object Array]" == o.call(e) | |
} | |
}, {}], | |
853: [function(e, t, n) { | |
"use strict"; | |
var o = e("isarray"); | |
t.exports = function(e) { | |
return null != e && "object" == typeof e && !1 === o(e) | |
} | |
}, { | |
"isarray": 852 | |
}], | |
854: [function(e, t, n) { | |
function o(e) { | |
return "string" == typeof e && i.test(e) && !isNaN(Date.parse(e)) | |
} | |
t.exports = o; | |
var i = new RegExp("^\\d{4}-\\d{2}-\\d{2}((T\\d{2}:\\d{2}(:\\d{2})?)(\\.\\d{1,6})?(Z|(\\+|-)\\d{2}:\\d{2})?)?$") | |
}, {}], | |
855: [function(e, t, n) { | |
(function(e, n) { | |
! function(o) { | |
"use strict"; | |
"object" == typeof e && e.versions && e.versions.node && (o = n); | |
var i = !o.JS_SHA256_TEST && "object" == typeof t && t.exports, | |
a = "0123456789abcdef".split(""), | |
r = [-2147483648, 8388608, 32768, 128], | |
s = [24, 16, 8, 0], | |
c = [1116352408, 1899447441, 3049323471, 3921009573, 961987163, 1508970993, 2453635748, 2870763221, 3624381080, 310598401, 607225278, 1426881987, 1925078388, 2162078206, 2614888103, 3248222580, 3835390401, 4022224774, 264347078, 604807628, 770255983, 1249150122, 1555081692, 1996064986, 2554220882, 2821834349, 2952996808, 3210313671, 3336571891, 3584528711, 113926993, 338241895, 666307205, 773529912, 1294757372, 1396182291, 1695183700, 1986661051, 2177026350, 2456956037, 2730485921, 2820302411, 3259730800, 3345764771, 3516065817, 3600352804, 4094571909, 275423344, 430227734, 506948616, 659060556, 883997877, 958139571, 1322822218, 1537002063, 1747873779, 1955562222, 2024104815, 2227730452, 2361852424, 2428436474, 2756734187, 3204031479, 3329325298], | |
p = [], | |
u = function(e) { | |
return l(e, !0) | |
}, | |
l = function(e, t) { | |
var n = "string" != typeof e; | |
n && e.constructor == o.ArrayBuffer && (e = new Uint8Array(e)); | |
var i, u, l, d, f, m, h, g, y, b, v, w, k, _, x, j, I, A, C, S, E, T, P = !0, | |
N = !1, | |
M = 0, | |
O = 0, | |
D = 0, | |
q = e.length; | |
if (t) { | |
i = 3238371032; | |
u = 914150663; | |
l = 812702999; | |
d = 4144912697; | |
f = 4290775857; | |
m = 1750603025; | |
h = 1694076839; | |
g = 3204075428 | |
} else { | |
i = 1779033703; | |
u = 3144134277; | |
l = 1013904242; | |
d = 2773480762; | |
f = 1359893119; | |
m = 2600822924; | |
h = 528734635; | |
g = 1541459225 | |
} | |
y = 0; | |
do { | |
p[0] = y; | |
p[16] = p[1] = p[2] = p[3] = p[4] = p[5] = p[6] = p[7] = p[8] = p[9] = p[10] = p[11] = p[12] = p[13] = p[14] = p[15] = 0; | |
if (n) | |
for (v = O; M < q && v < 64; ++M) p[v >> 2] |= e[M] << s[3 & v++]; | |
else | |
for (v = O; M < q && v < 64; ++M) { | |
b = e.charCodeAt(M); | |
if (b < 128) p[v >> 2] |= b << s[3 & v++]; | |
else if (b < 2048) { | |
p[v >> 2] |= (192 | b >> 6) << s[3 & v++]; | |
p[v >> 2] |= (128 | 63 & b) << s[3 & v++] | |
} else if (b < 55296 || b >= 57344) { | |
p[v >> 2] |= (224 | b >> 12) << s[3 & v++]; | |
p[v >> 2] |= (128 | b >> 6 & 63) << s[3 & v++]; | |
p[v >> 2] |= (128 | 63 & b) << s[3 & v++] | |
} else { | |
b = 65536 + ((1023 & b) << 10 | 1023 & e.charCodeAt(++M)); | |
p[v >> 2] |= (240 | b >> 18) << s[3 & v++]; | |
p[v >> 2] |= (128 | b >> 12 & 63) << s[3 & v++]; | |
p[v >> 2] |= (128 | b >> 6 & 63) << s[3 & v++]; | |
p[v >> 2] |= (128 | 63 & b) << s[3 & v++] | |
} | |
} | |
D += v - O; | |
O = v - 64; | |
if (M == q) { | |
p[v >> 2] |= r[3 & v]; | |
++M | |
} | |
y = p[16]; | |
if (M > q && v < 56) { | |
p[15] = D << 3; | |
N = !0 | |
} | |
var U = i, | |
R = u, | |
z = l, | |
L = d, | |
B = f, | |
F = m, | |
V = h, | |
H = g; | |
for (w = 16; w < 64; ++w) { | |
j = p[w - 15]; | |
k = (j >>> 7 | j << 25) ^ (j >>> 18 | j << 14) ^ j >>> 3; | |
j = p[w - 2]; | |
_ = (j >>> 17 | j << 15) ^ (j >>> 19 | j << 13) ^ j >>> 10; | |
p[w] = p[w - 16] + k + p[w - 7] + _ << 0 | |
} | |
T = R & z; | |
for (w = 0; w < 64; w += 4) { | |
if (P) { | |
if (t) { | |
C = 300032; | |
j = p[0] - 1413257819; | |
H = j - 150054599 << 0; | |
L = j + 24177077 << 0 | |
} else { | |
C = 704751109; | |
j = p[0] - 210244248; | |
H = j - 1521486534 << 0; | |
L = j + 143694565 << 0 | |
} | |
P = !1 | |
} else { | |
k = (U >>> 2 | U << 30) ^ (U >>> 13 | U << 19) ^ (U >>> 22 | U << 10); | |
_ = (B >>> 6 | B << 26) ^ (B >>> 11 | B << 21) ^ (B >>> 25 | B << 7); | |
C = U & R; | |
x = C ^ U & z ^ T; | |
A = B & F ^ ~B & V; | |
j = H + _ + A + c[w] + p[w]; | |
I = k + x; | |
H = L + j << 0; | |
L = j + I << 0 | |
} | |
k = (L >>> 2 | L << 30) ^ (L >>> 13 | L << 19) ^ (L >>> 22 | L << 10); | |
_ = (H >>> 6 | H << 26) ^ (H >>> 11 | H << 21) ^ (H >>> 25 | H << 7); | |
S = L & U; | |
x = S ^ L & R ^ C; | |
A = H & B ^ ~H & F; | |
j = V + _ + A + c[w + 1] + p[w + 1]; | |
I = k + x; | |
V = z + j << 0; | |
z = j + I << 0; | |
k = (z >>> 2 | z << 30) ^ (z >>> 13 | z << 19) ^ (z >>> 22 | z << 10); | |
_ = (V >>> 6 | V << 26) ^ (V >>> 11 | V << 21) ^ (V >>> 25 | V << 7); | |
E = z & L; | |
x = E ^ z & U ^ S; | |
A = V & H ^ ~V & B; | |
j = F + _ + A + c[w + 2] + p[w + 2]; | |
I = k + x; | |
F = R + j << 0; | |
R = j + I << 0; | |
k = (R >>> 2 | R << 30) ^ (R >>> 13 | R << 19) ^ (R >>> 22 | R << 10); | |
_ = (F >>> 6 | F << 26) ^ (F >>> 11 | F << 21) ^ (F >>> 25 | F << 7); | |
T = R & z; | |
x = T ^ R & L ^ E; | |
A = F & V ^ ~F & H; | |
j = B + _ + A + c[w + 3] + p[w + 3]; | |
I = k + x; | |
B = U + j << 0; | |
U = j + I << 0 | |
} | |
i = i + U << 0; | |
u = u + R << 0; | |
l = l + z << 0; | |
d = d + L << 0; | |
f = f + B << 0; | |
m = m + F << 0; | |
h = h + V << 0; | |
g = g + H << 0 | |
} while (!N); | |
var K = a[i >> 28 & 15] + a[i >> 24 & 15] + a[i >> 20 & 15] + a[i >> 16 & 15] + a[i >> 12 & 15] + a[i >> 8 & 15] + a[i >> 4 & 15] + a[15 & i] + a[u >> 28 & 15] + a[u >> 24 & 15] + a[u >> 20 & 15] + a[u >> 16 & 15] + a[u >> 12 & 15] + a[u >> 8 & 15] + a[u >> 4 & 15] + a[15 & u] + a[l >> 28 & 15] + a[l >> 24 & 15] + a[l >> 20 & 15] + a[l >> 16 & 15] + a[l >> 12 & 15] + a[l >> 8 & 15] + a[l >> 4 & 15] + a[15 & l] + a[d >> 28 & 15] + a[d >> 24 & 15] + a[d >> 20 & 15] + a[d >> 16 & 15] + a[d >> 12 & 15] + a[d >> 8 & 15] + a[d >> 4 & 15] + a[15 & d] + a[f >> 28 & 15] + a[f >> 24 & 15] + a[f >> 20 & 15] + a[f >> 16 & 15] + a[f >> 12 & 15] + a[f >> 8 & 15] + a[f >> 4 & 15] + a[15 & f] + a[m >> 28 & 15] + a[m >> 24 & 15] + a[m >> 20 & 15] + a[m >> 16 & 15] + a[m >> 12 & 15] + a[m >> 8 & 15] + a[m >> 4 & 15] + a[15 & m] + a[h >> 28 & 15] + a[h >> 24 & 15] + a[h >> 20 & 15] + a[h >> 16 & 15] + a[h >> 12 & 15] + a[h >> 8 & 15] + a[h >> 4 & 15] + a[15 & h]; | |
t || (K += a[g >> 28 & 15] + a[g >> 24 & 15] + a[g >> 20 & 15] + a[g >> 16 & 15] + a[g >> 12 & 15] + a[g >> 8 & 15] + a[g >> 4 & 15] + a[15 & g]); | |
return K | |
}; | |
if (i) { | |
l.sha256 = l; | |
l.sha224 = u; | |
t.exports = l | |
} else if (o) { | |
o.sha256 = l; | |
o.sha224 = u | |
} | |
}(this) | |
}).call(this, e("_process"), "undefined" != typeof window && window.document && window.document.implementation ? window : "undefined" != typeof global ? global : "undefined" != typeof self ? self : {}) | |
}, { | |
"_process": 874 | |
}], | |
856: [function(e, t, n) { | |
(function(e) { | |
(function() { | |
function o(e, t) { | |
function n(e) { | |
if (n[e] !== g) return n[e]; | |
var o; | |
if ("bug-string-char-index" == e) o = "a" != "a" [0]; | |
else if ("json" == e) o = n("json-stringify") && n("json-parse"); | |
else { | |
var a, s = '{"a":[1,true,false,null,"\\u0000\\b\\n\\f\\r\\t"]}'; | |
if ("json-stringify" == e) { | |
var c = t.stringify, | |
u = "function" == typeof c && v; | |
if (u) { | |
(a = function() { | |
return 1 | |
}).toJSON = a; | |
try { | |
u = "0" === c(0) && "0" === c(new i) && '""' == c(new r) && c(b) === g && c(g) === g && c() === g && "1" === c(a) && "[1]" == c([a]) && "[null]" == c([g]) && "null" == c(null) && "[null,null,null]" == c([g, b, null]) && c({ | |
"a": [a, !0, !1, null, "\0\b\n\f\r\t"] | |
}) == s && "1" === c(null, a) && "[\n 1,\n 2\n]" == c([1, 2], null, 1) && '"-271821-04-20T00:00:00.000Z"' == c(new p(-864e13)) && '"+275760-09-13T00:00:00.000Z"' == c(new p(864e13)) && '"-000001-01-01T00:00:00.000Z"' == c(new p(-621987552e5)) && '"1969-12-31T23:59:59.999Z"' == c(new p(-1)) | |
} catch (f) { | |
u = !1 | |
} | |
} | |
o = u | |
} | |
if ("json-parse" == e) { | |
var l = t.parse; | |
if ("function" == typeof l) try { | |
if (0 === l("0") && !l(!1)) { | |
a = l(s); | |
var d = 5 == a.a.length && 1 === a.a[0]; | |
if (d) { | |
try { | |
d = !l('"\t"') | |
} catch (f) {} | |
if (d) try { | |
d = 1 !== l("01") | |
} catch (f) {} | |
if (d) try { | |
d = 1 !== l("1.") | |
} catch (f) {} | |
} | |
} | |
} catch (f) { | |
d = !1 | |
} | |
o = d | |
} | |
} | |
return n[e] = !!o | |
} | |
e || (e = s.Object()); | |
t || (t = s.Object()); | |
var i = e.Number || s.Number, | |
r = e.String || s.String, | |
c = e.Object || s.Object, | |
p = e.Date || s.Date, | |
u = e.SyntaxError || s.SyntaxError, | |
l = e.TypeError || s.TypeError, | |
d = e.Math || s.Math, | |
f = e.JSON || s.JSON; | |
if ("object" == typeof f && f) { | |
t.stringify = f.stringify; | |
t.parse = f.parse | |
} | |
var m, h, g, y = c.prototype, | |
b = y.toString, | |
v = new p(-0xc782b5b800cec); | |
try { | |
v = -109252 == v.getUTCFullYear() && 0 === v.getUTCMonth() && 1 === v.getUTCDate() && 10 == v.getUTCHours() && 37 == v.getUTCMinutes() && 6 == v.getUTCSeconds() && 708 == v.getUTCMilliseconds() | |
} catch (U) {} | |
if (!n("json")) { | |
var w = n("bug-string-char-index"); | |
if (!v) var k = d.floor, | |
_ = [0, 31, 59, 90, 120, 151, 181, 212, 243, 273, 304, 334], | |
x = function(e, t) { | |
return _[t] + 365 * (e - 1970) + k((e - 1969 + (t = +(t > 1))) / 4) - k((e - 1901 + t) / 100) + k((e - 1601 + t) / 400) | |
}; | |
(m = y.hasOwnProperty) || (m = function(e) { | |
var t, n = {}; | |
if ((n.__proto__ = null, n.__proto__ = { | |
"toString": 1 | |
}, n).toString != b) m = function(e) { | |
var t = this.__proto__, | |
n = e in (this.__proto__ = null, this); | |
this.__proto__ = t; | |
return n | |
}; | |
else { | |
t = n.constructor; | |
m = function(e) { | |
var n = (this.constructor || t).prototype; | |
return e in this && !(e in n && this[e] === n[e]) | |
} | |
} | |
n = null; | |
return m.call(this, e) | |
}); | |
h = function(e, t) { | |
var n, o, i, r = 0; | |
(n = function() { | |
this.valueOf = 0 | |
}).prototype.valueOf = 0; | |
o = new n; | |
for (i in o) m.call(o, i) && r++; | |
n = o = null; | |
if (r) h = 2 == r ? function(e, t) { | |
var n, o = {}, | |
i = "[object Function]" == b.call(e); | |
for (n in e) i && "prototype" == n || m.call(o, n) || !(o[n] = 1) || !m.call(e, n) || t(n) | |
} : function(e, t) { | |
var n, o, i = "[object Function]" == b.call(e); | |
for (n in e) i && "prototype" == n || !m.call(e, n) || (o = "constructor" === n) || t(n); | |
(o || m.call(e, n = "constructor")) && t(n) | |
}; | |
else { | |
o = ["valueOf", "toString", "toLocaleString", "propertyIsEnumerable", "isPrototypeOf", "hasOwnProperty", "constructor"]; | |
h = function(e, t) { | |
var n, i, r = "[object Function]" == b.call(e), | |
s = !r && "function" != typeof e.constructor && a[typeof e.hasOwnProperty] && e.hasOwnProperty || m; | |
for (n in e) r && "prototype" == n || !s.call(e, n) || t(n); | |
for (i = o.length; n = o[--i]; s.call(e, n) && t(n)); | |
} | |
} | |
return h(e, t) | |
}; | |
if (!n("json-stringify")) { | |
var j = { | |
92: "\\\\", | |
34: '\\"', | |
8: "\\b", | |
12: "\\f", | |
10: "\\n", | |
13: "\\r", | |
9: "\\t" | |
}, | |
I = function(e, t) { | |
return ("000000" + (t || 0)).slice(-e) | |
}, | |
A = function(e) { | |
for (var t = '"', n = 0, o = e.length, i = !w || o > 10, a = i && (w ? e.split("") : e); n < o; n++) { | |
var r = e.charCodeAt(n); | |
switch (r) { | |
case 8: | |
case 9: | |
case 10: | |
case 12: | |
case 13: | |
case 34: | |
case 92: | |
t += j[r]; | |
break; | |
default: | |
if (r < 32) { | |
t += "\\u00" + I(2, r.toString(16)); | |
break | |
} | |
t += i ? a[n] : e.charAt(n) | |
} | |
} | |
return t + '"' | |
}, | |
C = function(e, t, n, o, i, a, r) { | |
var s, c, p, u, d, f, y, v, w, _, j, S, E, T, P, N; | |
try { | |
s = t[e] | |
} catch (U) {} | |
if ("object" == typeof s && s) { | |
c = b.call(s); | |
if ("[object Date]" != c || m.call(s, "toJSON")) "function" == typeof s.toJSON && ("[object Number]" != c && "[object String]" != c && "[object Array]" != c || m.call(s, "toJSON")) && (s = s.toJSON(e)); | |
else if (s > -1 / 0 && s < 1 / 0) { | |
if (x) { | |
d = k(s / 864e5); | |
for (p = k(d / 365.2425) + 1970 - 1; x(p + 1, 0) <= d; p++); | |
for (u = k((d - x(p, 0)) / 30.42); x(p, u + 1) <= d; u++); | |
d = 1 + d - x(p, u); | |
f = (s % 864e5 + 864e5) % 864e5; | |
y = k(f / 36e5) % 24; | |
v = k(f / 6e4) % 60; | |
w = k(f / 1e3) % 60; | |
_ = f % 1e3 | |
} else { | |
p = s.getUTCFullYear(); | |
u = s.getUTCMonth(); | |
d = s.getUTCDate(); | |
y = s.getUTCHours(); | |
v = s.getUTCMinutes(); | |
w = s.getUTCSeconds(); | |
_ = s.getUTCMilliseconds() | |
} | |
s = (p <= 0 || p >= 1e4 ? (p < 0 ? "-" : "+") + I(6, p < 0 ? -p : p) : I(4, p)) + "-" + I(2, u + 1) + "-" + I(2, d) + "T" + I(2, y) + ":" + I(2, v) + ":" + I(2, w) + "." + I(3, _) + "Z" | |
} else s = null | |
} | |
n && (s = n.call(t, e, s)); | |
if (null === s) return "null"; | |
c = b.call(s); | |
if ("[object Boolean]" == c) return "" + s; | |
if ("[object Number]" == c) return s > -1 / 0 && s < 1 / 0 ? "" + s : "null"; | |
if ("[object String]" == c) return A("" + s); | |
if ("object" == typeof s) { | |
for (T = r.length; T--;) | |
if (r[T] === s) throw l(); | |
r.push(s); | |
j = []; | |
P = a; | |
a += i; | |
if ("[object Array]" == c) { | |
for (E = 0, T = s.length; E < T; E++) { | |
S = C(E, s, n, o, i, a, r); | |
j.push(S === g ? "null" : S) | |
} | |
N = j.length ? i ? "[\n" + a + j.join(",\n" + a) + "\n" + P + "]" : "[" + j.join(",") + "]" : "[]" | |
} else { | |
h(o || s, function(e) { | |
var t = C(e, s, n, o, i, a, r); | |
t !== g && j.push(A(e) + ":" + (i ? " " : "") + t) | |
}); | |
N = j.length ? i ? "{\n" + a + j.join(",\n" + a) + "\n" + P + "}" : "{" + j.join(",") + "}" : "{}" | |
} | |
r.pop(); | |
return N | |
} | |
}; | |
t.stringify = function(e, t, n) { | |
var o, i, r, s; | |
if (a[typeof t] && t) | |
if ("[object Function]" == (s = b.call(t))) i = t; | |
else if ("[object Array]" == s) { | |
r = {}; | |
for (var c, p = 0, u = t.length; p < u; c = t[p++], (s = b.call(c), "[object String]" == s || "[object Number]" == s) && (r[c] = 1)); | |
} | |
if (n) | |
if ("[object Number]" == (s = b.call(n))) { | |
if ((n -= n % 1) > 0) | |
for (o = "", n > 10 && (n = 10); o.length < n; o += " "); | |
} else "[object String]" == s && (o = n.length <= 10 ? n : n.slice(0, 10)); | |
return C("", (c = {}, c[""] = e, c), i, r, o, "", []) | |
} | |
} | |
if (!n("json-parse")) { | |
var S, E, T = r.fromCharCode, | |
P = { | |
92: "\\", | |
34: '"', | |
47: "/", | |
98: "\b", | |
116: "\t", | |
110: "\n", | |
102: "\f", | |
114: "\r" | |
}, | |
N = function() { | |
S = E = null; | |
throw u() | |
}, | |
M = function() { | |
for (var e, t, n, o, i, a = E, r = a.length; S < r;) { | |
i = a.charCodeAt(S); | |
switch (i) { | |
case 9: | |
case 10: | |
case 13: | |
case 32: | |
S++; | |
break; | |
case 123: | |
case 125: | |
case 91: | |
case 93: | |
case 58: | |
case 44: | |
e = w ? a.charAt(S) : a[S]; | |
S++; | |
return e; | |
case 34: | |
for (e = "@", S++; S < r;) { | |
i = a.charCodeAt(S); | |
if (i < 32) N(); | |
else if (92 == i) { | |
i = a.charCodeAt(++S); | |
switch (i) { | |
case 92: | |
case 34: | |
case 47: | |
case 98: | |
case 116: | |
case 110: | |
case 102: | |
case 114: | |
e += P[i]; | |
S++; | |
break; | |
case 117: | |
t = ++S; | |
for (n = S + 4; S < n; S++) { | |
i = a.charCodeAt(S); | |
i >= 48 && i <= 57 || i >= 97 && i <= 102 || i >= 65 && i <= 70 || N() | |
} | |
e += T("0x" + a.slice(t, S)); | |
break; | |
default: | |
N() | |
} | |
} else { | |
if (34 == i) break; | |
i = a.charCodeAt(S); | |
t = S; | |
for (; i >= 32 && 92 != i && 34 != i;) i = a.charCodeAt(++S); | |
e += a.slice(t, S) | |
} | |
} | |
if (34 == a.charCodeAt(S)) { | |
S++; | |
return e | |
} | |
N(); | |
default: | |
t = S; | |
if (45 == i) { | |
o = !0; | |
i = a.charCodeAt(++S) | |
} | |
if (i >= 48 && i <= 57) { | |
48 == i && (i = a.charCodeAt(S + 1), i >= 48 && i <= 57) && N(); | |
o = !1; | |
for (; S < r && (i = a.charCodeAt(S), i >= 48 && i <= 57); S++); | |
if (46 == a.charCodeAt(S)) { | |
n = ++S; | |
for (; n < r && (i = a.charCodeAt(n), i >= 48 && i <= 57); n++); | |
n == S && N(); | |
S = n | |
} | |
i = a.charCodeAt(S); | |
if (101 == i || 69 == i) { | |
i = a.charCodeAt(++S); | |
43 != i && 45 != i || S++; | |
for (n = S; n < r && (i = a.charCodeAt(n), i >= 48 && i <= 57); n++); | |
n == S && N(); | |
S = n | |
} | |
return +a.slice(t, S) | |
} | |
o && N(); | |
if ("true" == a.slice(S, S + 4)) { | |
S += 4; | |
return !0 | |
} | |
if ("false" == a.slice(S, S + 5)) { | |
S += 5; | |
return !1 | |
} | |
if ("null" == a.slice(S, S + 4)) { | |
S += 4; | |
return null | |
} | |
N() | |
} | |
} | |
return "$" | |
}, | |
O = function(e) { | |
var t, n; | |
"$" == e && N(); | |
if ("string" == typeof e) { | |
if ("@" == (w ? e.charAt(0) : e[0])) return e.slice(1); | |
if ("[" == e) { | |
t = []; | |
for (;; n || (n = !0)) { | |
e = M(); | |
if ("]" == e) break; | |
if (n) | |
if ("," == e) { | |
e = M(); | |
"]" == e && N() | |
} else N(); | |
"," == e && N(); | |
t.push(O(e)) | |
} | |
return t | |
} | |
if ("{" == e) { | |
t = {}; | |
for (;; n || (n = !0)) { | |
e = M(); | |
if ("}" == e) break; | |
if (n) | |
if ("," == e) { | |
e = M(); | |
"}" == e && N() | |
} else N(); | |
"," != e && "string" == typeof e && "@" == (w ? e.charAt(0) : e[0]) && ":" == M() || N(); | |
t[e.slice(1)] = O(M()) | |
} | |
return t | |
} | |
N() | |
} | |
return e | |
}, | |
D = function(e, t, n) { | |
var o = q(e, t, n); | |
o === g ? delete e[t] : e[t] = o | |
}, | |
q = function(e, t, n) { | |
var o, i = e[t]; | |
if ("object" == typeof i && i) | |
if ("[object Array]" == b.call(i)) | |
for (o = i.length; o--;) D(i, o, n); | |
else h(i, function(e) { | |
D(i, e, n) | |
}); | |
return n.call(e, t, i) | |
}; | |
t.parse = function(e, t) { | |
var n, o; | |
S = 0; | |
E = "" + e; | |
n = O(M()); | |
"$" != M() && N(); | |
S = E = null; | |
return t && "[object Function]" == b.call(t) ? q((o = {}, o[""] = n, o), "", t) : n | |
} | |
} | |
} | |
t.runInContext = o; | |
return t | |
} | |
var i = "function" == typeof define && define.amd, | |
a = { | |
"function": !0, | |
"object": !0 | |
}, | |
r = a[typeof n] && n && !n.nodeType && n, | |
s = a[typeof window] && window || this, | |
c = r && a[typeof t] && t && !t.nodeType && "object" == typeof e && e; | |
!c || c.global !== c && c.window !== c && c.self !== c || (s = c); | |
if (r && !i) o(s, r); | |
else { | |
var p = s.JSON, | |
u = s.JSON3, | |
l = !1, | |
d = o(s, s.JSON3 = { | |
"noConflict": function() { | |
if (!l) { | |
l = !0; | |
s.JSON = p; | |
s.JSON3 = u; | |
p = u = null | |
} | |
return d | |
} | |
}); | |
s.JSON = { | |
"parse": d.parse, | |
"stringify": d.stringify | |
} | |
} | |
i && define(function() { | |
return d | |
}) | |
}).call(this) | |
}).call(this, "undefined" != typeof window && window.document && window.document.implementation ? window : "undefined" != typeof global ? global : "undefined" != typeof self ? self : {}) | |
}, {}], | |
857: [function(e, t, n) { | |
function o() {} | |
function i(e, t, n) { | |
function i() { | |
c.parentNode && c.parentNode.removeChild(c); | |
window[l] = o; | |
p && clearTimeout(p) | |
} | |
function s() { | |
window[l] && i() | |
} | |
if ("function" == typeof t) { | |
n = t; | |
t = {} | |
} | |
t || (t = {}); | |
var c, p, u = t.prefix || "__jp", | |
l = t.name || u + r++, | |
d = t.param || "callback", | |
f = null != t.timeout ? t.timeout : 6e4, | |
m = encodeURIComponent, | |
h = document.getElementsByTagName("script")[0] || document.head; | |
f && (p = setTimeout(function() { | |
i(); | |
n && n(new Error("Timeout")) | |
}, f)); | |
window[l] = function(e) { | |
a("jsonp got", e); | |
i(); | |
n && n(null, e) | |
}; | |
e += (~e.indexOf("?") ? "&" : "?") + d + "=" + m(l); | |
e = e.replace("?&", "?"); | |
a('jsonp req "%s"', e); | |
c = document.createElement("script"); | |
c.src = e; | |
h.parentNode.insertBefore(c, h); | |
return s | |
} | |
var a = e("debug")("jsonp"); | |
t.exports = i; | |
var r = 0 | |
}, { | |
"debug": 858 | |
}], | |
858: [function(e, t, n) { | |
arguments[4][41][0].apply(n, arguments) | |
}, { | |
"./debug": 859, | |
"_process": 874, | |
"dup": 41 | |
}], | |
859: [function(e, t, n) { | |
arguments[4][42][0].apply(n, arguments) | |
}, { | |
"dup": 42, | |
"ms": 862 | |
}], | |
860: [function(e, t, n) { | |
var o = e("is"), | |
i = e("script-onload"), | |
a = e("next-tick"); | |
t.exports = function(e, t) { | |
if (!e) throw new Error("Cant load nothing..."); | |
o.string(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:" + e.src : "http:" + e.src); | |
n && e.https ? e.src = e.https : !n && e.http && (e.src = e.http); | |
var r = document.createElement("iframe"); | |
r.src = e.src; | |
r.width = e.width || 1; | |
r.height = e.height || 1; | |
r.style.display = "none"; | |
o.fn(t) && i(r, t); | |
a(function() { | |
var e = document.getElementsByTagName("script")[0]; | |
e.parentNode.insertBefore(r, e) | |
}); | |
return r | |
} | |
}, { | |
"is": 851, | |
"next-tick": 867, | |
"script-onload": 876 | |
}], | |
861: [function(e, t, n) { | |
! function() { | |
var n = e("crypt"), | |
o = e("charenc").utf8, | |
i = e("is-buffer"), | |
a = e("charenc").bin, | |
r = function(e, t) { | |
e.constructor == String ? e = t && "binary" === t.encoding ? a.stringToBytes(e) : o.stringToBytes(e) : i(e) ? e = Array.prototype.slice.call(e, 0) : Array.isArray(e) || (e = e.toString()); | |
for (var s = n.bytesToWords(e), c = 8 * e.length, p = 1732584193, u = -271733879, l = -1732584194, d = 271733878, f = 0; f < s.length; f++) s[f] = 16711935 & (s[f] << 8 | s[f] >>> 24) | 4278255360 & (s[f] << 24 | s[f] >>> 8); | |
s[c >>> 5] |= 128 << c % 32; | |
s[14 + (c + 64 >>> 9 << 4)] = c; | |
for (var m = r._ff, h = r._gg, g = r._hh, y = r._ii, f = 0; f < s.length; f += 16) { | |
var b = p, | |
v = u, | |
w = l, | |
k = d; | |
p = m(p, u, l, d, s[f + 0], 7, -680876936); | |
d = m(d, p, u, l, s[f + 1], 12, -389564586); | |
l = m(l, d, p, u, s[f + 2], 17, 606105819); | |
u = m(u, l, d, p, s[f + 3], 22, -1044525330); | |
p = m(p, u, l, d, s[f + 4], 7, -176418897); | |
d = m(d, p, u, l, s[f + 5], 12, 1200080426); | |
l = m(l, d, p, u, s[f + 6], 17, -1473231341); | |
u = m(u, l, d, p, s[f + 7], 22, -45705983); | |
p = m(p, u, l, d, s[f + 8], 7, 1770035416); | |
d = m(d, p, u, l, s[f + 9], 12, -1958414417); | |
l = m(l, d, p, u, s[f + 10], 17, -42063); | |
u = m(u, l, d, p, s[f + 11], 22, -1990404162); | |
p = m(p, u, l, d, s[f + 12], 7, 1804603682); | |
d = m(d, p, u, l, s[f + 13], 12, -40341101); | |
l = m(l, d, p, u, s[f + 14], 17, -1502002290); | |
u = m(u, l, d, p, s[f + 15], 22, 1236535329); | |
p = h(p, u, l, d, s[f + 1], 5, -165796510); | |
d = h(d, p, u, l, s[f + 6], 9, -1069501632); | |
l = h(l, d, p, u, s[f + 11], 14, 643717713); | |
u = h(u, l, d, p, s[f + 0], 20, -373897302); | |
p = h(p, u, l, d, s[f + 5], 5, -701558691); | |
d = h(d, p, u, l, s[f + 10], 9, 38016083); | |
l = h(l, d, p, u, s[f + 15], 14, -660478335); | |
u = h(u, l, d, p, s[f + 4], 20, -405537848); | |
p = h(p, u, l, d, s[f + 9], 5, 568446438); | |
d = h(d, p, u, l, s[f + 14], 9, -1019803690); | |
l = h(l, d, p, u, s[f + 3], 14, -187363961); | |
u = h(u, l, d, p, s[f + 8], 20, 1163531501); | |
p = h(p, u, l, d, s[f + 13], 5, -1444681467); | |
d = h(d, p, u, l, s[f + 2], 9, -51403784); | |
l = h(l, d, p, u, s[f + 7], 14, 1735328473); | |
u = h(u, l, d, p, s[f + 12], 20, -1926607734); | |
p = g(p, u, l, d, s[f + 5], 4, -378558); | |
d = g(d, p, u, l, s[f + 8], 11, -2022574463); | |
l = g(l, d, p, u, s[f + 11], 16, 1839030562); | |
u = g(u, l, d, p, s[f + 14], 23, -35309556); | |
p = g(p, u, l, d, s[f + 1], 4, -1530992060); | |
d = g(d, p, u, l, s[f + 4], 11, 1272893353); | |
l = g(l, d, p, u, s[f + 7], 16, -155497632); | |
u = g(u, l, d, p, s[f + 10], 23, -1094730640); | |
p = g(p, u, l, d, s[f + 13], 4, 681279174); | |
d = g(d, p, u, l, s[f + 0], 11, -358537222); | |
l = g(l, d, p, u, s[f + 3], 16, -722521979); | |
u = g(u, l, d, p, s[f + 6], 23, 76029189); | |
p = g(p, u, l, d, s[f + 9], 4, -640364487); | |
d = g(d, p, u, l, s[f + 12], 11, -421815835); | |
l = g(l, d, p, u, s[f + 15], 16, 530742520); | |
u = g(u, l, d, p, s[f + 2], 23, -995338651); | |
p = y(p, u, l, d, s[f + 0], 6, -198630844); | |
d = y(d, p, u, l, s[f + 7], 10, 1126891415); | |
l = y(l, d, p, u, s[f + 14], 15, -1416354905); | |
u = y(u, l, d, p, s[f + 5], 21, -57434055); | |
p = y(p, u, l, d, s[f + 12], 6, 1700485571); | |
d = y(d, p, u, l, s[f + 3], 10, -1894986606); | |
l = y(l, d, p, u, s[f + 10], 15, -1051523); | |
u = y(u, l, d, p, s[f + 1], 21, -2054922799); | |
p = y(p, u, l, d, s[f + 8], 6, 1873313359); | |
d = y(d, p, u, l, s[f + 15], 10, -30611744); | |
l = y(l, d, p, u, s[f + 6], 15, -1560198380); | |
u = y(u, l, d, p, s[f + 13], 21, 1309151649); | |
p = y(p, u, l, d, s[f + 4], 6, -145523070); | |
d = y(d, p, u, l, s[f + 11], 10, -1120210379); | |
l = y(l, d, p, u, s[f + 2], 15, 718787259); | |
u = y(u, l, d, p, s[f + 9], 21, -343485551); | |
p = p + b >>> 0; | |
u = u + v >>> 0; | |
l = l + w >>> 0; | |
d = d + k >>> 0 | |
} | |
return n.endian([p, u, l, d]) | |
}; | |
r._ff = function(e, t, n, o, i, a, r) { | |
var s = e + (t & n | ~t & o) + (i >>> 0) + r; | |
return (s << a | s >>> 32 - a) + t | |
}; | |
r._gg = function(e, t, n, o, i, a, r) { | |
var s = e + (t & o | n & ~o) + (i >>> 0) + r; | |
return (s << a | s >>> 32 - a) + t | |
}; | |
r._hh = function(e, t, n, o, i, a, r) { | |
var s = e + (t ^ n ^ o) + (i >>> 0) + r; | |
return (s << a | s >>> 32 - a) + t | |
}; | |
r._ii = function(e, t, n, o, i, a, r) { | |
var s = e + (n ^ (t | ~o)) + (i >>> 0) + r; | |
return (s << a | s >>> 32 - a) + t | |
}; | |
r._blocksize = 16; | |
r._digestsize = 16; | |
t.exports = function(e, t) { | |
if (e === undefined || null === e) throw new Error("Illegal argument " + e); | |
var o = n.wordsToBytes(r(e, t)); | |
return t && t.asBytes ? o : t && t.asString ? a.bytesToString(o) : n.bytesToHex(o) | |
} | |
}() | |
}, { | |
"charenc": 824, | |
"crypt": 838, | |
"is-buffer": 849 | |
}], | |
862: [function(e, t, n) { | |
function o(e) { | |
e = String(e); | |
if (!(e.length > 100)) { | |
var t = /^((?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|years?|yrs?|y)?$/i.exec(e); | |
if (t) { | |
var n = parseFloat(t[1]); | |
switch ((t[2] || "ms").toLowerCase()) { | |
case "years": | |
case "year": | |
case "yrs": | |
case "yr": | |
case "y": | |
return n * l; | |
case "days": | |
case "day": | |
case "d": | |
return n * u; | |
case "hours": | |
case "hour": | |
case "hrs": | |
case "hr": | |
case "h": | |
return n * p; | |
case "minutes": | |
case "minute": | |
case "mins": | |
case "min": | |
case "m": | |
return n * c; | |
case "seconds": | |
case "second": | |
case "secs": | |
case "sec": | |
case "s": | |
return n * s; | |
case "milliseconds": | |
case "millisecond": | |
case "msecs": | |
case "msec": | |
case "ms": | |
return n; | |
default: | |
return undefined | |
} | |
} | |
} | |
} | |
function i(e) { | |
return e >= u ? Math.round(e / u) + "d" : e >= p ? Math.round(e / p) + "h" : e >= c ? Math.round(e / c) + "m" : e >= s ? Math.round(e / s) + "s" : e + "ms" | |
} | |
function a(e) { | |
return r(e, u, "day") || r(e, p, "hour") || r(e, c, "minute") || r(e, s, "second") || e + " ms" | |
} | |
function r(e, t, n) { | |
if (!(e < t)) return e < 1.5 * t ? Math.floor(e / t) + " " + n : Math.ceil(e / t) + " " + n + "s" | |
} | |
var s = 1e3, | |
c = 60 * s, | |
p = 60 * c, | |
u = 24 * p, | |
l = 365.25 * u; | |
t.exports = function(e, t) { | |
t = t || {}; | |
var n = typeof e; | |
if ("string" === n && e.length > 0) return o(e); | |
if ("number" === n && !1 === isNaN(e)) return t["long"] ? a(e) : i(e); | |
throw new Error("val is not a non-empty string or a valid number. val=" + JSON.stringify(e)) | |
} | |
}, {}], | |
863: [function(e, t, n) { | |
"use strict"; | |
function o(e) { | |
return e < 315576e5 ? 1e3 * e : e | |
} | |
var i = e("is"), | |
a = e("@segment/isodate"), | |
r = e("./milliseconds"), | |
s = e("./seconds"); | |
t.exports = function(e) { | |
return i.date(e) ? e : i.number(e) ? new Date(o(e)) : a.is(e) ? a.parse(e) : r.is(e) ? r.parse(e) : s.is(e) ? s.parse(e) : new Date(e) | |
} | |
}, { | |
"./milliseconds": 864, | |
"./seconds": 865, | |
"@segment/isodate": 866, | |
"is": 851 | |
}], | |
864: [function(e, t, n) { | |
"use strict"; | |
var o = /\d{13}/; | |
n.is = function(e) { | |
return o.test(e) | |
}; | |
n.parse = function(e) { | |
e = parseInt(e, 10); | |
return new Date(e) | |
} | |
}, {}], | |
865: [function(e, t, n) { | |
"use strict"; | |
var o = /\d{10}/; | |
n.is = function(e) { | |
return o.test(e) | |
}; | |
n.parse = function(e) { | |
var t = 1e3 * parseInt(e, 10); | |
return new Date(t) | |
} | |
}, {}], | |
866: [function(e, t, n) { | |
"use strict"; | |
var o = /^(\d{4})(?:-?(\d{2})(?:-?(\d{2}))?)?(?:([ T])(\d{2}):?(\d{2})(?::?(\d{2})(?:[,\.](\d{1,}))?)?(?:(Z)|([+\-])(\d{2})(?::?(\d{2}))?)?)?$/; | |
n.parse = function(e) { | |
var t = [1, 5, 6, 7, 11, 12], | |
n = o.exec(e), | |
i = 0; | |
if (!n) return new Date(e); | |
for (var a, r = 0; a = t[r]; r++) n[a] = parseInt(n[a], 10) || 0; | |
n[2] = parseInt(n[2], 10) || 1; | |
n[3] = parseInt(n[3], 10) || 1; | |
n[2]--; | |
n[8] = n[8] ? (n[8] + "00").substring(0, 3) : 0; | |
if (" " === n[4]) i = (new Date).getTimezoneOffset(); | |
else if ("Z" !== n[9] && n[10]) { | |
i = 60 * n[11] + n[12]; | |
"+" === n[10] && (i = 0 - i) | |
} | |
var s = Date.UTC(n[1], n[2], n[3], n[5], n[6] + i, n[7], n[8]); | |
return new Date(s) | |
}; | |
n.is = function(e, t) { | |
return (!t || !1 !== /^\d{4}-\d{2}-\d{2}/.test(e)) && o.test(e) | |
} | |
}, {}], | |
867: [function(e, t, n) { | |
arguments[4][487][0].apply(n, arguments) | |
}, { | |
"_process": 874, | |
"dup": 487, | |
"timers": 892 | |
}], | |
868: [function(e, t, n) { | |
function o(e) { | |
return function(t, n, o, i) { | |
normalize = i && c(i.normalizer) ? i.normalizer : s; | |
n = normalize(n); | |
for (var a, r = !1; !r;) ! function() { | |
for (a in t) { | |
var e = normalize(a); | |
if (0 === n.indexOf(e)) { | |
var o = n.substr(e.length); | |
if ("." === o.charAt(0) || 0 === o.length) { | |
n = o.substr(1); | |
var i = t[a]; | |
if (null == i) { | |
r = !0; | |
return | |
} | |
if (!n.length) { | |
r = !0; | |
return | |
} | |
t = i; | |
return | |
} | |
} | |
} | |
a = undefined; | |
r = !0 | |
}(); | |
if (a) return null == t ? t : e(t, a, o) | |
} | |
} | |
function i(e, t) { | |
if (e.hasOwnProperty(t)) return e[t] | |
} | |
function a(e, t) { | |
e.hasOwnProperty(t) && delete e[t]; | |
return e | |
} | |
function r(e, t, n) { | |
e.hasOwnProperty(t) && (e[t] = n); | |
return e | |
} | |
function s(e) { | |
return e.replace(/[^a-zA-Z0-9\.]+/g, "").toLowerCase() | |
} | |
function c(e) { | |
return "function" == typeof e | |
} | |
t.exports = o(i); | |
t.exports.find = t.exports; | |
t.exports.replace = function(e, t, n, i) { | |
o(r).call(this, e, t, n, i); | |
return e | |
}; | |
t.exports.del = function(e, t, n) { | |
o(a).call(this, e, t, null, n); | |
return e | |
} | |
}, {}], | |
869: [function(e, t, n) { | |
var o = Object.prototype.hasOwnProperty; | |
n.keys = Object.keys || function(e) { | |
var t = []; | |
for (var n in e) o.call(e, n) && t.push(n); | |
return t | |
}; | |
n.values = function(e) { | |
var t = []; | |
for (var n in e) o.call(e, n) && t.push(e[n]); | |
return t | |
}; | |
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) | |
} | |
}, {}], | |
870: [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 | |
}, {}], | |
871: [function(e, t, n) { | |
function o(e) { | |
e(document.body) | |
} | |
var i = !1, | |
a = []; | |
t.exports = function(e) { | |
i ? o(e) : a.push(e) | |
}; | |
var r = setInterval(function() { | |
if (document.body) { | |
i = !0; | |
for (var e = 0; e < a.length; e++) o(a[e]); | |
clearInterval(r) | |
} | |
}, 5) | |
}, {}], | |
872: [function(e, t, n) { | |
function o(e) { | |
e(document.body) | |
} | |
var i = e("each"), | |
a = !1, | |
r = []; | |
t.exports = function(e) { | |
a ? o(e) : r.push(e) | |
}; | |
var s = setInterval(function() { | |
if (document.body) { | |
a = !0; | |
i(r, o); | |
clearInterval(s) | |
} | |
}, 5) | |
}, { | |
"each": 828 | |
}], | |
873: [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 | |
}, {}], | |
874: [function(e, t, n) { | |
function o() { | |
if (d && u) { | |
d = !1; | |
u.length ? l = u.concat(l) : f = -1; | |
l.length && i() | |
} | |
} | |
function i() { | |
if (!d) { | |
var e = s(o); | |
d = !0; | |
for (var t = l.length; t;) { | |
u = l; | |
l = []; | |
for (; ++f < t;) u && u[f].run(); | |
f = -1; | |
t = l.length | |
} | |
u = null; | |
d = !1; | |
c(e) | |
} | |
} | |
function a(e, t) { | |
this.fun = e; | |
this.array = t | |
} | |
function r() {} | |
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, l = [], | |
d = !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]; | |
l.push(new a(e, t)); | |
1 !== l.length || d || s(i, 0) | |
}; | |
a.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 = r; | |
p.addListener = r; | |
p.once = r; | |
p.off = r; | |
p.removeListener = r; | |
p.removeAllListeners = r; | |
p.emit = r; | |
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 | |
} | |
}, {}], | |
875: [function(e, t, n) { | |
function o(e, t) { | |
t = t || i; | |
return "array" == a(e) ? o.array(e, t) : o.object(e, t) | |
} | |
function i(e) { | |
return null == e | |
} | |
var a = 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(a(e)) | |
}) | |
} | |
}, { | |
"type-component": 901 | |
}], | |
876: [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) | |
} | |
}, {}], | |
877: [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": 868 | |
}], | |
878: [function(e, t, n) { | |
"use strict"; | |
function o(e, t) { | |
a.call(this, e, t) | |
} | |
var i = e("./utils").inherit, | |
a = e("./facade"); | |
i(o, a); | |
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": 880, | |
"./utils": 888 | |
}], | |
879: [function(e, t, n) { | |
"use strict"; | |
function o(e, t) { | |
a.call(this, e, t) | |
} | |
var i = e("./utils").inherit, | |
a = e("./facade"); | |
i(o, a); | |
o.prototype.type = function() { | |
return "delete" | |
}; | |
t.exports = o | |
}, { | |
"./facade": 880, | |
"./utils": 888 | |
}], | |
880: [function(e, t, n) { | |
"use strict"; | |
function o(e, t) { | |
t = t || {}; | |
"clone" in t || (t.clone = !0); | |
t.clone && (e = r(e)); | |
"traverse" in t || (t.traverse = !0); | |
e.timestamp = "timestamp" in e ? c(e.timestamp) : new Date; | |
t.traverse && u(e); | |
this.opts = t; | |
this.obj = e | |
} | |
function i(e) { | |
return r(e) | |
} | |
var a = e("./address"), | |
r = e("./utils").clone, | |
s = e("./is-enabled"), | |
c = e("new-date"), | |
p = e("obj-case"), | |
u = e("@segment/isodate-traverse"), | |
l = e("./utils").type; | |
o.prototype.proxy = function(e) { | |
var t = e.split("."); | |
e = t.shift(); | |
var n = this[e] || this.field(e); | |
if (!n) return n; | |
"function" == typeof n && (n = n.call(this) || {}); | |
if (0 === t.length) return this.opts.clone ? i(n) : n; | |
n = p(n, t.join(".")); | |
return this.opts.clone ? i(n) : n | |
}; | |
o.prototype.field = function(e) { | |
var t = this.obj[e]; | |
return this.opts.clone ? i(t) : t | |
}; | |
o.proxy = function(e) { | |
return function() { | |
return this.proxy(e) | |
} | |
}; | |
o.field = function(e) { | |
return function() { | |
return this.field(e) | |
} | |
}; | |
o.multi = function(e) { | |
return function() { | |
var t = this.proxy(e + "s"); | |
if ("array" === l(t)) return t; | |
var n = this.proxy(e); | |
n && (n = [this.opts.clone ? r(n) : n]); | |
return n || [] | |
} | |
}; | |
o.one = function(e) { | |
return function() { | |
var t = this.proxy(e); | |
if (t) return t; | |
var n = this.proxy(e + "s"); | |
return "array" === l(n) ? n[0] : void 0 | |
} | |
}; | |
o.prototype.json = function() { | |
var e = this.opts.clone ? r(this.obj) : this.obj; | |
this.type && (e.type = this.type()); | |
return e | |
}; | |
o.prototype.options = function(e) { | |
var t = this.obj.options || this.obj.context || {}, | |
n = this.opts.clone ? r(t) : t; | |
if (!e) return n; | |
if (this.enabled(e)) { | |
var o = this.integrations(), | |
i = o[e] || p(o, e); | |
"object" != typeof i && (i = p(this.options(), e)); | |
return "object" == typeof i ? i : {} | |
} | |
}; | |
o.prototype.context = o.prototype.options; | |
o.prototype.enabled = function(e) { | |
var t = this.proxy("options.providers.all"); | |
"boolean" != typeof t && (t = this.proxy("options.all")); | |
"boolean" != typeof t && (t = this.proxy("integrations.all")); | |
"boolean" != typeof t && (t = !0); | |
var n = t && s(e), | |
o = this.integrations(); | |
o.providers && o.providers.hasOwnProperty(e) && (n = o.providers[e]); | |
if (o.hasOwnProperty(e)) { | |
var i = o[e]; | |
n = "boolean" != typeof i || i | |
} | |
return !!n | |
}; | |
o.prototype.integrations = function() { | |
return this.obj.integrations || this.proxy("options.providers") || this.options() | |
}; | |
o.prototype.active = function() { | |
var e = this.proxy("options.active"); | |
null !== e && e !== undefined || (e = !0); | |
return e | |
}; | |
o.prototype.anonymousId = function() { | |
return this.field("anonymousId") || this.field("sessionId") | |
}; | |
o.prototype.sessionId = o.prototype.anonymousId; | |
o.prototype.groupId = o.proxy("options.groupId"); | |
o.prototype.traits = function(e) { | |
var t = this.proxy("options.traits") || {}, | |
n = this.userId(); | |
e = e || {}; | |
n && (t.id = n); | |
for (var o in e) { | |
var i = null == this[o] ? this.proxy("options.traits." + o) : this[o](); | |
if (null != i) { | |
t[e[o]] = i; | |
delete t[o] | |
} | |
} | |
return t | |
}; | |
o.prototype.library = function() { | |
var e = this.proxy("options.library"); | |
return e ? "string" == typeof e ? { | |
name: e, | |
version: null | |
} : e : { | |
name: "unknown", | |
version: null | |
} | |
}; | |
o.prototype.device = function() { | |
var e = this.proxy("context.device"); | |
"object" !== l(e) && (e = {}); | |
var t = this.library().name; | |
if (e.type) return e; | |
t.indexOf("ios") > -1 && (e.type = "ios"); | |
t.indexOf("android") > -1 && (e.type = "android"); | |
return e | |
}; | |
o.prototype.userAgent = o.proxy("context.userAgent"); | |
o.prototype.timezone = o.proxy("context.timezone"); | |
o.prototype.timestamp = o.field("timestamp"); | |
o.prototype.channel = o.field("channel"); | |
o.prototype.ip = o.proxy("context.ip"); | |
o.prototype.userId = o.field("userId"); | |
a(o.prototype); | |
t.exports = o | |
}, { | |
"./address": 877, | |
"./is-enabled": 884, | |
"./utils": 888, | |
"@segment/isodate-traverse": 801, | |
"new-date": 863, | |
"obj-case": 868 | |
}], | |
881: [function(e, t, n) { | |
"use strict"; | |
function o(e, t) { | |
s.call(this, e, t) | |
} | |
var i = e("./utils").inherit, | |
a = e("is-email"), | |
r = e("new-date"), | |
s = e("./facade"); | |
i(o, s); | |
o.prototype.action = function() { | |
return "group" | |
}; | |
o.prototype.type = o.prototype.action; | |
o.prototype.groupId = s.field("groupId"); | |
o.prototype.created = function() { | |
var e = this.proxy("traits.createdAt") || this.proxy("traits.created") || this.proxy("properties.createdAt") || this.proxy("properties.created"); | |
if (e) return r(e) | |
}; | |
o.prototype.email = function() { | |
var e = this.proxy("traits.email"); | |
if (e) return e; | |
var t = this.groupId(); | |
return a(t) ? t : void 0 | |
}; | |
o.prototype.traits = function(e) { | |
var t = this.properties(), | |
n = this.groupId(); | |
e = e || {}; | |
n && (t.id = n); | |
for (var o in e) { | |
var i = null == this[o] ? this.proxy("traits." + o) : this[o](); | |
if (null != i) { | |
t[e[o]] = i; | |
delete t[o] | |
} | |
} | |
return t | |
}; | |
o.prototype.name = s.proxy("traits.name"); | |
o.prototype.industry = s.proxy("traits.industry"); | |
o.prototype.employees = s.proxy("traits.employees"); | |
o.prototype.properties = function() { | |
return this.field("traits") || this.field("properties") || {} | |
}; | |
t.exports = o | |
}, { | |
"./facade": 880, | |
"./utils": 888, | |
"is-email": 850, | |
"new-date": 863 | |
}], | |
882: [function(e, t, n) { | |
"use strict"; | |
function o(e, t) { | |
i.call(this, e, t) | |
} | |
var i = e("./facade"), | |
a = e("obj-case"), | |
r = e("./utils").inherit, | |
s = e("is-email"), | |
c = e("new-date"), | |
p = e("trim"), | |
u = e("./utils").type; | |
r(o, i); | |
o.prototype.action = function() { | |
return "identify" | |
}; | |
o.prototype.type = o.prototype.action; | |
o.prototype.traits = function(e) { | |
var t = this.field("traits") || {}, | |
n = this.userId(); | |
e = e || {}; | |
n && (t.id = n); | |
for (var o in e) { | |
var i = null == this[o] ? this.proxy("traits." + o) : this[o](); | |
if (null != i) { | |
t[e[o]] = i; | |
o !== e[o] && delete t[o] | |
} | |
} | |
return t | |
}; | |
o.prototype.email = function() { | |
var e = this.proxy("traits.email"); | |
if (e) return e; | |
var t = this.userId(); | |
return s(t) ? t : void 0 | |
}; | |
o.prototype.created = function() { | |
var e = this.proxy("traits.created") || this.proxy("traits.createdAt"); | |
if (e) return c(e) | |
}; | |
o.prototype.companyCreated = function() { | |
var e = this.proxy("traits.company.created") || this.proxy("traits.company.createdAt"); | |
if (e) return c(e) | |
}; | |
o.prototype.companyName = function() { | |
return this.proxy("traits.company.name") | |
}; | |
o.prototype.name = function() { | |
var e = this.proxy("traits.name"); | |
if ("string" == typeof e) return p(e); | |
var t = this.firstName(), | |
n = this.lastName(); | |
return t && n ? p(t + " " + n) : void 0 | |
}; | |
o.prototype.firstName = function() { | |
var e = this.proxy("traits.firstName"); | |
if ("string" == typeof e) return p(e); | |
var t = this.proxy("traits.name"); | |
return "string" == typeof t ? p(t).split(" ")[0] : void 0 | |
}; | |
o.prototype.lastName = function() { | |
var e = this.proxy("traits.lastName"); | |
if ("string" == typeof e) return p(e); | |
var t = this.proxy("traits.name"); | |
if ("string" == typeof t) { | |
var n = p(t).indexOf(" "); | |
if (-1 !== n) return p(t.substr(n + 1)) | |
} | |
}; | |
o.prototype.uid = function() { | |
return this.userId() || this.username() || this.email() | |
}; | |
o.prototype.description = function() { | |
return this.proxy("traits.description") || this.proxy("traits.background") | |
}; | |
o.prototype.age = function() { | |
var e = this.birthday(), | |
t = a(this.traits(), "age"); | |
if (null != t) return t; | |
if ("date" === u(e)) { | |
return (new Date).getFullYear() - e.getFullYear() | |
} | |
}; | |
o.prototype.avatar = function() { | |
var e = this.traits(); | |
return a(e, "avatar") || a(e, "photoUrl") || a(e, "avatarUrl") | |
}; | |
o.prototype.position = function() { | |
var e = this.traits(); | |
return a(e, "position") || a(e, "jobTitle") | |
}; | |
o.prototype.username = i.proxy("traits.username"); | |
o.prototype.website = i.one("traits.website"); | |
o.prototype.websites = i.multi("traits.website"); | |
o.prototype.phone = i.one("traits.phone"); | |
o.prototype.phones = i.multi("traits.phone"); | |
o.prototype.address = i.proxy("traits.address"); | |
o.prototype.gender = i.proxy("traits.gender"); | |
o.prototype.birthday = i.proxy("traits.birthday"); | |
t.exports = o | |
}, { | |
"./facade": 880, | |
"./utils": 888, | |
"is-email": 850, | |
"new-date": 863, | |
"obj-case": 868, | |
"trim": 900 | |
}], | |
883: [function(e, t, n) { | |
"use strict"; | |
var o = e("./facade"); | |
o.Alias = e("./alias"); | |
o.Group = e("./group"); | |
o.Identify = e("./identify"); | |
o.Track = e("./track"); | |
o.Page = e("./page"); | |
o.Screen = e("./screen"); | |
o.Delete = e("./delete"); | |
t.exports = o | |
}, { | |
"./alias": 878, | |
"./delete": 879, | |
"./facade": 880, | |
"./group": 881, | |
"./identify": 882, | |
"./page": 885, | |
"./screen": 886, | |
"./track": 887 | |
}], | |
884: [function(e, t, n) { | |
"use strict"; | |
var o = { | |
Salesforce: !0 | |
}; | |
t.exports = function(e) { | |
return !o[e] | |
} | |
}, {}], | |
885: [function(e, t, n) { | |
"use strict"; | |
function o(e, t) { | |
a.call(this, e, t) | |
} | |
var i = e("./utils").inherit, | |
a = e("./facade"), | |
r = e("./track"), | |
s = e("is-email"); | |
i(o, a); | |
o.prototype.action = function() { | |
return "page" | |
}; | |
o.prototype.type = o.prototype.action; | |
o.prototype.category = a.field("category"); | |
o.prototype.name = a.field("name"); | |
o.prototype.title = a.proxy("properties.title"); | |
o.prototype.path = a.proxy("properties.path"); | |
o.prototype.url = a.proxy("properties.url"); | |
o.prototype.referrer = function() { | |
return this.proxy("context.referrer.url") || this.proxy("context.page.referrer") || this.proxy("properties.referrer") | |
}; | |
o.prototype.properties = function(e) { | |
var t = this.field("properties") || {}, | |
n = this.category(), | |
o = this.name(); | |
e = e || {}; | |
n && (t.category = n); | |
o && (t.name = o); | |
for (var i in e) { | |
var a = null == this[i] ? this.proxy("properties." + i) : this[i](); | |
if (null != a) { | |
t[e[i]] = a; | |
i !== e[i] && delete t[i] | |
} | |
} | |
return t | |
}; | |
o.prototype.email = function() { | |
var e = this.proxy("context.traits.email") || this.proxy("properties.email"); | |
if (e) return e; | |
var t = this.userId(); | |
return s(t) ? t : void 0 | |
}; | |
o.prototype.fullName = function() { | |
var e = this.category(), | |
t = this.name(); | |
return t && e ? e + " " + t : t | |
}; | |
o.prototype.event = function(e) { | |
return e ? "Viewed " + e + " Page" : "Loaded a Page" | |
}; | |
o.prototype.track = function(e) { | |
var t = this.json(); | |
t.event = this.event(e); | |
t.timestamp = this.timestamp(); | |
t.properties = this.properties(); | |
return new r(t, this.opts) | |
}; | |
t.exports = o | |
}, { | |
"./facade": 880, | |
"./track": 887, | |
"./utils": 888, | |
"is-email": 850 | |
}], | |
886: [function(e, t, n) { | |
"use strict"; | |
function o(e, t) { | |
a.call(this, e, t) | |
} | |
var i = e("./utils").inherit, | |
a = e("./page"), | |
r = e("./track"); | |
i(o, a); | |
o.prototype.action = function() { | |
return "screen" | |
}; | |
o.prototype.type = o.prototype.action; | |
o.prototype.event = function(e) { | |
return e ? "Viewed " + e + " Screen" : "Loaded a Screen" | |
}; | |
o.prototype.track = function(e) { | |
var t = this.json(); | |
t.event = this.event(e); | |
t.timestamp = this.timestamp(); | |
t.properties = this.properties(); | |
return new r(t, this.opts) | |
}; | |
t.exports = o | |
}, { | |
"./page": 885, | |
"./track": 887, | |
"./utils": 888 | |
}], | |
887: [function(e, t, n) { | |
"use strict"; | |
function o(e, t) { | |
s.call(this, e, t) | |
} | |
function i(e) { | |
if (e) { | |
if ("number" == typeof e) return e; | |
if ("string" == typeof e) { | |
e = e.replace(/\$/g, ""); | |
e = parseFloat(e); | |
return isNaN(e) ? void 0 : e | |
} | |
} | |
} | |
var a = e("./utils").inherit, | |
r = e("./utils").type, | |
s = e("./facade"), | |
c = e("./identify"), | |
p = e("is-email"), | |
u = e("obj-case"); | |
a(o, s); | |
o.prototype.action = function() { | |
return "track" | |
}; | |
o.prototype.type = o.prototype.action; | |
o.prototype.event = s.field("event"); | |
o.prototype.value = s.proxy("properties.value"); | |
o.prototype.category = s.proxy("properties.category"); | |
o.prototype.id = s.proxy("properties.id"); | |
o.prototype.productId = function() { | |
return this.proxy("properties.product_id") || this.proxy("properties.productId") | |
}; | |
o.prototype.promotionId = function() { | |
return this.proxy("properties.promotion_id") || this.proxy("properties.promotionId") | |
}; | |
o.prototype.cartId = function() { | |
return this.proxy("properties.cart_id") || this.proxy("properties.cartId") | |
}; | |
o.prototype.checkoutId = function() { | |
return this.proxy("properties.checkout_id") || this.proxy("properties.checkoutId") | |
}; | |
o.prototype.paymentId = function() { | |
return this.proxy("properties.payment_id") || this.proxy("properties.paymentId") | |
}; | |
o.prototype.couponId = function() { | |
return this.proxy("properties.coupon_id") || this.proxy("properties.couponId") | |
}; | |
o.prototype.wishlistId = function() { | |
return this.proxy("properties.wishlist_id") || this.proxy("properties.wishlistId") | |
}; | |
o.prototype.reviewId = function() { | |
return this.proxy("properties.review_id") || this.proxy("properties.reviewId") | |
}; | |
o.prototype.orderId = function() { | |
return this.proxy("properties.id") || this.proxy("properties.order_id") || this.proxy("properties.orderId") | |
}; | |
o.prototype.sku = s.proxy("properties.sku"); | |
o.prototype.tax = s.proxy("properties.tax"); | |
o.prototype.name = s.proxy("properties.name"); | |
o.prototype.price = s.proxy("properties.price"); | |
o.prototype.total = s.proxy("properties.total"); | |
o.prototype.repeat = s.proxy("properties.repeat"); | |
o.prototype.coupon = s.proxy("properties.coupon"); | |
o.prototype.shipping = s.proxy("properties.shipping"); | |
o.prototype.discount = s.proxy("properties.discount"); | |
o.prototype.shippingMethod = function() { | |
return this.proxy("properties.shipping_method") || this.proxy("properties.shippingMethod") | |
}; | |
o.prototype.paymentMethod = function() { | |
return this.proxy("properties.payment_method") || this.proxy("properties.paymentMethod") | |
}; | |
o.prototype.description = s.proxy("properties.description"); | |
o.prototype.plan = s.proxy("properties.plan"); | |
o.prototype.subtotal = function() { | |
var e = u(this.properties(), "subtotal"), | |
t = this.total() || this.revenue(); | |
if (e) return e; | |
if (!t) return 0; | |
if (this.total()) { | |
var n = this.tax(); | |
n && (t -= n); | |
n = this.shipping(); | |
n && (t -= n); | |
n = this.discount(); | |
n && (t += n) | |
} | |
return t | |
}; | |
o.prototype.products = function() { | |
var e = this.properties(), | |
t = u(e, "products"); | |
return "array" === r(t) ? t : [] | |
}; | |
o.prototype.quantity = function() { | |
return (this.obj.properties || {}).quantity || 1 | |
}; | |
o.prototype.currency = function() { | |
return (this.obj.properties || {}).currency || "USD" | |
}; | |
o.prototype.referrer = function() { | |
return this.proxy("context.referrer.url") || this.proxy("context.page.referrer") || this.proxy("properties.referrer") | |
}; | |
o.prototype.query = s.proxy("options.query"); | |
o.prototype.properties = function(e) { | |
var t = this.field("properties") || {}; | |
e = e || {}; | |
for (var n in e) { | |
var o = null == this[n] ? this.proxy("properties." + n) : this[n](); | |
if (null != o) { | |
t[e[n]] = o; | |
delete t[n] | |
} | |
} | |
return t | |
}; | |
o.prototype.username = function() { | |
return this.proxy("traits.username") || this.proxy("properties.username") || this.userId() || this.sessionId() | |
}; | |
o.prototype.email = function() { | |
var e = this.proxy("traits.email") || this.proxy("properties.email") || this.proxy("options.traits.email"); | |
if (e) return e; | |
var t = this.userId(); | |
return p(t) ? t : void 0 | |
}; | |
o.prototype.revenue = function() { | |
var e = this.proxy("properties.revenue"), | |
t = this.event(), | |
n = /^[ _]?completed[ _]?order[ _]?|^[ _]?order[ _]?completed[ _]?$/i; | |
!e && t && t.match(n) && (e = this.proxy("properties.total")); | |
return i(e) | |
}; | |
o.prototype.cents = function() { | |
var e = this.revenue(); | |
return "number" != typeof e ? this.value() || 0 : 100 * e | |
}; | |
o.prototype.identify = function() { | |
var e = this.json(); | |
e.traits = this.traits(); | |
return new c(e, this.opts) | |
}; | |
t.exports = o | |
}, { | |
"./facade": 880, | |
"./identify": 882, | |
"./utils": 888, | |
"is-email": 850, | |
"obj-case": 868 | |
}], | |
888: [function(e, t, n) { | |
"use strict"; | |
n.inherit = e("inherits"); | |
n.clone = e("@ndhoule/clone"); | |
n.type = e("type-component") | |
}, { | |
"@ndhoule/clone": 7, | |
"inherits": 848, | |
"type-component": 901 | |
}], | |
889: [function(e, t, n) { | |
t.exports = function(e, t) { | |
t || (t = {}); | |
return e.toLowerCase().replace(t.replace || /[^a-z0-9]/g, " ").replace(/^ +| +$/g, "").replace(/ +/g, t.separator || "-") | |
} | |
}, {}], | |
890: [function(e, t, n) { | |
! function(e) { | |
if ("object" == typeof n) t.exports = e(); | |
else if ("function" == typeof define && define.amd) define(e); | |
else { | |
var o; | |
try { | |
o = window | |
} catch (i) { | |
o = self | |
} | |
o.SparkMD5 = e() | |
} | |
}(function(e) { | |
"use strict"; | |
function t(e, t, n, o, i, a) { | |
t = v(v(t, e), v(o, a)); | |
return v(t << i | t >>> 32 - i, n) | |
} | |
function n(e, n, o, i, a, r, s) { | |
return t(n & o | ~n & i, e, n, a, r, s) | |
} | |
function o(e, n, o, i, a, r, s) { | |
return t(n & i | o & ~i, e, n, a, r, s) | |
} | |
function i(e, n, o, i, a, r, s) { | |
return t(n ^ o ^ i, e, n, a, r, s) | |
} | |
function a(e, n, o, i, a, r, s) { | |
return t(o ^ (n | ~i), e, n, a, r, s) | |
} | |
function r(e, t) { | |
var r = e[0], | |
s = e[1], | |
c = e[2], | |
p = e[3]; | |
r = n(r, s, c, p, t[0], 7, -680876936); | |
p = n(p, r, s, c, t[1], 12, -389564586); | |
c = n(c, p, r, s, t[2], 17, 606105819); | |
s = n(s, c, p, r, t[3], 22, -1044525330); | |
r = n(r, s, c, p, t[4], 7, -176418897); | |
p = n(p, r, s, c, t[5], 12, 1200080426); | |
c = n(c, p, r, s, t[6], 17, -1473231341); | |
s = n(s, c, p, r, t[7], 22, -45705983); | |
r = n(r, s, c, p, t[8], 7, 1770035416); | |
p = n(p, r, s, c, t[9], 12, -1958414417); | |
c = n(c, p, r, s, t[10], 17, -42063); | |
s = n(s, c, p, r, t[11], 22, -1990404162); | |
r = n(r, s, c, p, t[12], 7, 1804603682); | |
p = n(p, r, s, c, t[13], 12, -40341101); | |
c = n(c, p, r, s, t[14], 17, -1502002290); | |
s = n(s, c, p, r, t[15], 22, 1236535329); | |
r = o(r, s, c, p, t[1], 5, -165796510); | |
p = o(p, r, s, c, t[6], 9, -1069501632); | |
c = o(c, p, r, s, t[11], 14, 643717713); | |
s = o(s, c, p, r, t[0], 20, -373897302); | |
r = o(r, s, c, p, t[5], 5, -701558691); | |
p = o(p, r, s, c, t[10], 9, 38016083); | |
c = o(c, p, r, s, t[15], 14, -660478335); | |
s = o(s, c, p, r, t[4], 20, -405537848); | |
r = o(r, s, c, p, t[9], 5, 568446438); | |
p = o(p, r, s, c, t[14], 9, -1019803690); | |
c = o(c, p, r, s, t[3], 14, -187363961); | |
s = o(s, c, p, r, t[8], 20, 1163531501); | |
r = o(r, s, c, p, t[13], 5, -1444681467); | |
p = o(p, r, s, c, t[2], 9, -51403784); | |
c = o(c, p, r, s, t[7], 14, 1735328473); | |
s = o(s, c, p, r, t[12], 20, -1926607734); | |
r = i(r, s, c, p, t[5], 4, -378558); | |
p = i(p, r, s, c, t[8], 11, -2022574463); | |
c = i(c, p, r, s, t[11], 16, 1839030562); | |
s = i(s, c, p, r, t[14], 23, -35309556); | |
r = i(r, s, c, p, t[1], 4, -1530992060); | |
p = i(p, r, s, c, t[4], 11, 1272893353); | |
c = i(c, p, r, s, t[7], 16, -155497632); | |
s = i(s, c, p, r, t[10], 23, -1094730640); | |
r = i(r, s, c, p, t[13], 4, 681279174); | |
p = i(p, r, s, c, t[0], 11, -358537222); | |
c = i(c, p, r, s, t[3], 16, -722521979); | |
s = i(s, c, p, r, t[6], 23, 76029189); | |
r = i(r, s, c, p, t[9], 4, -640364487); | |
p = i(p, r, s, c, t[12], 11, -421815835); | |
c = i(c, p, r, s, t[15], 16, 530742520); | |
s = i(s, c, p, r, t[2], 23, -995338651); | |
r = a(r, s, c, p, t[0], 6, -198630844); | |
p = a(p, r, s, c, t[7], 10, 1126891415); | |
c = a(c, p, r, s, t[14], 15, -1416354905); | |
s = a(s, c, p, r, t[5], 21, -57434055); | |
r = a(r, s, c, p, t[12], 6, 1700485571); | |
p = a(p, r, s, c, t[3], 10, -1894986606); | |
c = a(c, p, r, s, t[10], 15, -1051523); | |
s = a(s, c, p, r, t[1], 21, -2054922799); | |
r = a(r, s, c, p, t[8], 6, 1873313359); | |
p = a(p, r, s, c, t[15], 10, -30611744); | |
c = a(c, p, r, s, t[6], 15, -1560198380); | |
s = a(s, c, p, r, t[13], 21, 1309151649); | |
r = a(r, s, c, p, t[4], 6, -145523070); | |
p = a(p, r, s, c, t[11], 10, -1120210379); | |
c = a(c, p, r, s, t[2], 15, 718787259); | |
s = a(s, c, p, r, t[9], 21, -343485551); | |
e[0] = v(r, e[0]); | |
e[1] = v(s, e[1]); | |
e[2] = v(c, e[2]); | |
e[3] = v(p, e[3]) | |
} | |
function s(e) { | |
var t, n = []; | |
for (t = 0; t < 64; t += 4) n[t >> 2] = e.charCodeAt(t) + (e.charCodeAt(t + 1) << 8) + (e.charCodeAt(t + 2) << 16) + (e.charCodeAt(t + 3) << 24); | |
return n | |
} | |
function c(e) { | |
var t, n = []; | |
for (t = 0; t < 64; t += 4) n[t >> 2] = e[t] + (e[t + 1] << 8) + (e[t + 2] << 16) + (e[t + 3] << 24); | |
return n | |
} | |
function p(e) { | |
var t, n, o, i, a, c, p = e.length, | |
u = [1732584193, -271733879, -1732584194, 271733878]; | |
for (t = 64; t <= p; t += 64) r(u, s(e.substring(t - 64, t))); | |
e = e.substring(t - 64); | |
n = e.length; | |
o = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]; | |
for (t = 0; t < n; t += 1) o[t >> 2] |= e.charCodeAt(t) << (t % 4 << 3); | |
o[t >> 2] |= 128 << (t % 4 << 3); | |
if (t > 55) { | |
r(u, o); | |
for (t = 0; t < 16; t += 1) o[t] = 0 | |
} | |
i = 8 * p; | |
i = i.toString(16).match(/(.*?)(.{0,8})$/); | |
a = parseInt(i[2], 16); | |
c = parseInt(i[1], 16) || 0; | |
o[14] = a; | |
o[15] = c; | |
r(u, o); | |
return u | |
} | |
function u(e) { | |
var t, n, o, i, a, s, p = e.length, | |
u = [1732584193, -271733879, -1732584194, 271733878]; | |
for (t = 64; t <= p; t += 64) r(u, c(e.subarray(t - 64, t))); | |
e = t - 64 < p ? e.subarray(t - 64) : new Uint8Array(0); | |
n = e.length; | |
o = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]; | |
for (t = 0; t < n; t += 1) o[t >> 2] |= e[t] << (t % 4 << 3); | |
o[t >> 2] |= 128 << (t % 4 << 3); | |
if (t > 55) { | |
r(u, o); | |
for (t = 0; t < 16; t += 1) o[t] = 0 | |
} | |
i = 8 * p; | |
i = i.toString(16).match(/(.*?)(.{0,8})$/); | |
a = parseInt(i[2], 16); | |
s = parseInt(i[1], 16) || 0; | |
o[14] = a; | |
o[15] = s; | |
r(u, o); | |
return u | |
} | |
function l(e) { | |
var t, n = ""; | |
for (t = 0; t < 4; t += 1) n += w[e >> 8 * t + 4 & 15] + w[e >> 8 * t & 15]; | |
return n | |
} | |
function d(e) { | |
var t; | |
for (t = 0; t < e.length; t += 1) e[t] = l(e[t]); | |
return e.join("") | |
} | |
function f(e) { | |
/[\u0080-\uFFFF]/.test(e) && (e = unescape(encodeURIComponent(e))); | |
return e | |
} | |
function m(e, t) { | |
var n, o = e.length, | |
i = new ArrayBuffer(o), | |
a = new Uint8Array(i); | |
for (n = 0; n < o; n += 1) a[n] = e.charCodeAt(n); | |
return t ? a : i | |
} | |
function h(e) { | |
return String.fromCharCode.apply(null, new Uint8Array(e)) | |
} | |
function g(e, t, n) { | |
var o = new Uint8Array(e.byteLength + t.byteLength); | |
o.set(new Uint8Array(e)); | |
o.set(new Uint8Array(t), e.byteLength); | |
return n ? o : o.buffer | |
} | |
function y(e) { | |
var t, n = [], | |
o = e.length; | |
for (t = 0; t < o - 1; t += 2) n.push(parseInt(e.substr(t, 2), 16)); | |
return String.fromCharCode.apply(String, n) | |
} | |
function b() { | |
this.reset() | |
} | |
var v = function(e, t) { | |
return e + t & 4294967295 | |
}, | |
w = ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9", "a", "b", "c", "d", "e", "f"]; | |
"5d41402abc4b2a76b9719d911017c592" !== d(p("hello")) && (v = function(e, t) { | |
var n = (65535 & e) + (65535 & t); | |
return (e >> 16) + (t >> 16) + (n >> 16) << 16 | 65535 & n | |
}); | |
"undefined" == typeof ArrayBuffer || ArrayBuffer.prototype.slice || ! function() { | |
function t(e, t) { | |
e = 0 | e || 0; | |
return e < 0 ? Math.max(e + t, 0) : Math.min(e, t) | |
} | |
ArrayBuffer.prototype.slice = function(n, o) { | |
var i, a, r, s, c = this.byteLength, | |
p = t(n, c), | |
u = c; | |
o !== e && (u = t(o, c)); | |
if (p > u) return new ArrayBuffer(0); | |
i = u - p; | |
a = new ArrayBuffer(i); | |
r = new Uint8Array(a); | |
s = new Uint8Array(this, p, i); | |
r.set(s); | |
return a | |
} | |
}(); | |
b.prototype.append = function(e) { | |
this.appendBinary(f(e)); | |
return this | |
}; | |
b.prototype.appendBinary = function(e) { | |
this._buff += e; | |
this._length += e.length; | |
var t, n = this._buff.length; | |
for (t = 64; t <= n; t += 64) r(this._hash, s(this._buff.substring(t - 64, t))); | |
this._buff = this._buff.substring(t - 64); | |
return this | |
}; | |
b.prototype.end = function(e) { | |
var t, n, o = this._buff, | |
i = o.length, | |
a = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]; | |
for (t = 0; t < i; t += 1) a[t >> 2] |= o.charCodeAt(t) << (t % 4 << 3); | |
this._finish(a, i); | |
n = d(this._hash); | |
e && (n = y(n)); | |
this.reset(); | |
return n | |
}; | |
b.prototype.reset = function() { | |
this._buff = ""; | |
this._length = 0; | |
this._hash = [1732584193, -271733879, -1732584194, 271733878]; | |
return this | |
}; | |
b.prototype.getState = function() { | |
return { | |
buff: this._buff, | |
length: this._length, | |
hash: this._hash | |
} | |
}; | |
b.prototype.setState = function(e) { | |
this._buff = e.buff; | |
this._length = e.length; | |
this._hash = e.hash; | |
return this | |
}; | |
b.prototype.destroy = function() { | |
delete this._hash; | |
delete this._buff; | |
delete this._length | |
}; | |
b.prototype._finish = function(e, t) { | |
var n, o, i, a = t; | |
e[a >> 2] |= 128 << (a % 4 << 3); | |
if (a > 55) { | |
r(this._hash, e); | |
for (a = 0; a < 16; a += 1) e[a] = 0 | |
} | |
n = 8 * this._length; | |
n = n.toString(16).match(/(.*?)(.{0,8})$/); | |
o = parseInt(n[2], 16); | |
i = parseInt(n[1], 16) || 0; | |
e[14] = o; | |
e[15] = i; | |
r(this._hash, e) | |
}; | |
b.hash = function(e, t) { | |
return b.hashBinary(f(e), t) | |
}; | |
b.hashBinary = function(e, t) { | |
var n = p(e), | |
o = d(n); | |
return t ? y(o) : o | |
}; | |
b.ArrayBuffer = function() { | |
this.reset() | |
}; | |
b.ArrayBuffer.prototype.append = function(e) { | |
var t, n = g(this._buff.buffer, e, !0), | |
o = n.length; | |
this._length += e.byteLength; | |
for (t = 64; t <= o; t += 64) r(this._hash, c(n.subarray(t - 64, t))); | |
this._buff = t - 64 < o ? new Uint8Array(n.buffer.slice(t - 64)) : new Uint8Array(0); | |
return this | |
}; | |
b.ArrayBuffer.prototype.end = function(e) { | |
var t, n, o = this._buff, | |
i = o.length, | |
a = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]; | |
for (t = 0; t < i; t += 1) a[t >> 2] |= o[t] << (t % 4 << 3); | |
this._finish(a, i); | |
n = d(this._hash); | |
e && (n = y(n)); | |
this.reset(); | |
return n | |
}; | |
b.ArrayBuffer.prototype.reset = function() { | |
this._buff = new Uint8Array(0); | |
this._length = 0; | |
this._hash = [1732584193, -271733879, -1732584194, 271733878]; | |
return this | |
}; | |
b.ArrayBuffer.prototype.getState = function() { | |
var e = b.prototype.getState.call(this); | |
e.buff = h(e.buff); | |
return e | |
}; | |
b.ArrayBuffer.prototype.setState = function(e) { | |
e.buff = m(e.buff, !0); | |
return b.prototype.setState.call(this, e) | |
}; | |
b.ArrayBuffer.prototype.destroy = b.prototype.destroy; | |
b.ArrayBuffer.prototype._finish = b.prototype._finish; | |
b.ArrayBuffer.hash = function(e, t) { | |
var n = u(new Uint8Array(e)), | |
o = d(n); | |
return t ? y(o) : o | |
}; | |
return b | |
}) | |
}, {}], | |
891: [function(e, t, n) { | |
function o(e, t) { | |
var n, o = 0; | |
return function() { | |
var i = (new Date).getTime(); | |
if (i - o >= t) { | |
n = e.apply(this, arguments); | |
o = i | |
} | |
return n | |
} | |
} | |
t.exports = o | |
}, {}], | |
892: [function(e, t, n) { | |
(function(t, o) { | |
function i(e, t) { | |
this._id = e; | |
this._clearFn = t | |
} | |
var a = e("process/browser.js").nextTick, | |
r = Function.prototype.apply, | |
s = Array.prototype.slice, | |
c = {}, | |
p = 0; | |
n.setTimeout = function() { | |
return new i(r.call(setTimeout, window, arguments), clearTimeout) | |
}; | |
n.setInterval = function() { | |
return new i(r.call(setInterval, window, arguments), clearInterval) | |
}; | |
n.clearTimeout = n.clearInterval = function(e) { | |
e.close() | |
}; | |
i.prototype.unref = i.prototype.ref = function() {}; | |
i.prototype.close = function() { | |
this._clearFn.call(window, this._id) | |
}; | |
n.enroll = function(e, t) { | |
clearTimeout(e._idleTimeoutId); | |
e._idleTimeout = t | |
}; | |
n.unenroll = function(e) { | |
clearTimeout(e._idleTimeoutId); | |
e._idleTimeout = -1 | |
}; | |
n._unrefActive = n.active = function(e) { | |
clearTimeout(e._idleTimeoutId); | |
var t = e._idleTimeout; | |
t >= 0 && (e._idleTimeoutId = setTimeout(function() { | |
e._onTimeout && e._onTimeout() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment