{"version":3,"sources":["webpack:///common_base.js-head.js","webpack:///webpack/bootstrap 44c9de8707f74e17830d","webpack:///./assets/js-lib/evite.cookie.es6","webpack:///./assets/es6/common/evite/Emitter.es6","webpack:///./assets/es6/common/evite/detects.es6","webpack:///./assets/es6/common/evite/promises.es6","webpack:///./assets/es6/common/evite/index.es6","webpack:///./assets/es6/common/evite/debugging.es6","webpack:///./assets/es6/common/evite/features.es6","webpack:///./assets/es6/common/evite/experiments.es6","webpack:///./assets/es6/common/evite/dom.es6","webpack:///./assets/es6/common/evite/history.es6","webpack:///./assets/es6/common/evite/utils.es6","webpack:///./node_modules/regenerator-runtime/runtime-module.js","webpack:///./node_modules/regenerator-runtime/runtime.js","webpack:///./assets/es6/common/evite/urls.es6","webpack:///./assets/js-lib/raven.js","webpack:///./assets/js-lib/raven.jquery.js","webpack:///(webpack)/buildin/global.js"],"names":["modules","__webpack_require__","moduleId","installedModules","exports","module","i","l","call","m","c","d","name","getter","o","Object","defineProperty","configurable","enumerable","get","n","__esModule","object","property","prototype","hasOwnProperty","p","s","1130","140","cookie","value","options","cookieValue","document","cookies","split","length","trim","substring","decodeURIComponent","expires","toUTCString","date","Date","setTime","getTime","path","domain","secure","encodeURIComponent","join","default","window","evite","161","_classCallCheck","instance","Constructor","TypeError","Emitter","Error","this","delegate","createDocumentFragment","addEventListener","bind","removeEventListener","dispatchEvent","162","detects","ua","navigator","userAgent","isIE","documentMode","isIPhone","isEdge","Boolean","StyleMedia","isChrome","chrome","webstore","isFirefox","InstallTrigger","isSafari","test","HTMLElement","safari","pushNotification","toString","isIPad","isAndroid","isMobile","is_mobile_site","is_mobile","isDesktop","163","when","promises","_len","arguments","namesOrPromises","Array","_key","_iteratorNormalCompletion","_didIteratorError","_iteratorError","undefined","_step","_iterator","Symbol","iterator","next","done","nameOrPromise","promise","Promise","isArray","assert","ensurePromiseMapping","push","err","return","all","promiseMap","mapping","createPromiseMapping","set","then","debug","apply","resolvePromiseByName","catch","rejectPromiseByName","resolve","reject","msgOrError","error","opt_value","dataOrName","nameList","opt_reason","Map","commands","command","commandData","shift","params","promiseCommand","_iteratorNormalCompletion2","_didIteratorError2","_iteratorError2","_step2","_iterator2","promiseCommandData","279","global","_interopRequireDefault","obj","urls","utils","dom","experiments","features","debugging","_Emitter2","_Emitter3","_debugging2","_debugging3","_detects2","_detects3","_features2","_features3","_experiments2","_experiments3","_dom2","_dom3","_promises2","_promises3","_history2","_history3","_utils2","_utils3","_urls2","_urls3","root","require","DEFINED","assign","history","280","consoleByMethodName","methodName","args","console","log","_len2","_key2","info","_len3","_key3","_len4","_key4","trace","_len5","_key5","warn","_len6","_key6","message","assertType","type","valueType","_typeof","assertString","assertNumber","assertBoolean","assertObject","assertFunction","Function","assertInstanceOf","instanceConstructor","logAndContinue","func","e","logError","exception","Raven","captureException","constructor","onunhandledrejection","data","reason","281","isEnabled","opt_defaultValueForMissingKey","toUpperCase","keyMissing","JSON","parse","nextBitFlag","bit","bitPosition","parseOptionsFromString","str","parseFlagsFromOptions","mobile","MOBILE_FLAG","desktop","DESKTOP_FLAG","viewport","ipad","IPAD_FLAG","iphone","IPHONE_FLAG","android","ANDROID_FLAG","device","ie","IE_FLAG","edge","EDGE_FLAG","firefox","FIREFOX_FLAG","CHROME_FLAG","SAFARI_FLAG","browser","getFeaturesSwitchesForType","strOrOptions","currentFlags","matchedFeatureSwitches","highestSpecificityByFeature","key","indexOf","featureName","slice","featureFlags","viewportNotSpecified","matchesViewport","browserNotSpecified","matchesBrowser","deviceNotSpecified","matchesDevice","specificity","highestSpecificity","getFeaturesSwitches","_detects","282","setExperiment","experimentName","getExperiment","inExperiment","experiment","getVariation","variationName","variationList","variations","variation","setVariation","foundVariation","inVariation","defaultValue","283","show","subject","removeClass","hide","addClass","toggle","showElement","offsetParent","appendChild","child","append","removeChild","remove","removeChildren","lastChild","buildScriptTag","_ref","src","defer","async","onLoad","onError","className","innerText","innerHTML","scriptTag","guid","createElement","addScriptTag","_ref2","head","div","firstChild","css","el","styles","style","cssText","prop","hasClass","classList","contains","add","toggleClass","scrollTo","element","duration","easing","t","marginTop","startingY","pageYOffset","elementY","getBoundingClientRect","top","tooClose","body","scrollHeight","innerHeight","targetY","diff","start","requestAnimationFrame","step","timestamp","time","percent","Math","min","addToLoadingQueue","_ref3","url","priority","idleLoadingQueue","splice","loadingInProgress","requestIdleCallback","loadNextInQueue","pop","image","Image","completeHandler","handleQueueLoadComplete","link","setAttribute","isDomNode","nodeType","nodeName","284","_possibleConstructorReturn","self","ReferenceError","_inherits","subClass","superClass","create","writable","setPrototypeOf","__proto__","_createClass","defineProperties","target","props","descriptor","protoProps","staticProps","_history","History","_Emitter","getPrototypeOf","back","forward","index","go","CustomEvent","pushState","replaceState","state","285","_asyncToGenerator","fn","gen","arg","noop","int","globalIdDefaultPrefix","globalIdIndex","scope","liveBindException","valid","liveBind","rootNode","eventType","childQuerySelector","callback","_arguments","matches","concat","requestIdleCallbackFallBack","setTimeout","now","didTimeout","timeRemaining","max","sleep","map","arrOrNum","arr","values","lazyLoadImage","loadWhen","loadingAnimationContainerList","parentElement","getElementsByClassName","loadingAnimationContainer","loadingStatus","querySelector","preloadImage","title","hasOwn","isPlainObject","OBJECT_STRING","imageQueue","event","toJSON","attributes","debounce","wait","immediate","delay","later","context","timeout","result","debounced","clearTimeout","callNow","cancel","fetch","_promises","regeneratorRuntime","floor","random","_x2","mark","_callee","response","headers","contentType","isJsonContentType","clonedResponse","opt_config","wrap","_context","prev","sent","includes","clone","json","dataLayer","data_layer","abrupt","stop","onReadyStateChange","readyState","286","g","hadRuntime","getOwnPropertyNames","oldRuntime","287","innerFn","outerFn","tryLocsList","protoGenerator","Generator","generator","Context","_invoke","makeInvokeMethod","tryCatch","GeneratorFunction","GeneratorFunctionPrototype","defineIteratorMethods","forEach","method","AsyncIterator","invoke","record","__await","unwrapped","enqueue","callInvokeWithMethodAndArg","previousPromise","process","GenStateSuspendedStart","GenStateExecuting","GenStateCompleted","doneResult","delegateResult","maybeInvokeDelegate","ContinueSentinel","_sent","dispatchException","GenStateSuspendedYield","resultName","nextLoc","pushTryEntry","locs","entry","tryLoc","catchLoc","finallyLoc","afterLoc","tryEntries","resetTryEntry","completion","reset","iterable","iteratorMethod","iteratorSymbol","isNaN","Op","$Symbol","asyncIteratorSymbol","asyncIterator","toStringTagSymbol","toStringTag","inModule","runtime","IteratorPrototype","getProto","NativeIteratorPrototype","Gp","displayName","isGeneratorFunction","genFun","ctor","awrap","iter","keys","reverse","skipTempReset","charAt","rootEntry","rootRecord","rval","handle","loc","caught","hasCatch","hasFinally","finallyEntry","complete","finish","thrown","delegateYield","288","URLs","_instance","home","_create","forgot_password","gallery","_gallery","gallery/category","category","ajax_gallery_suggestions","search","ajax_gallery_category","ajax_gallery_template","template","ajax_gallery_category_featured","ajax_gallery_favorites","ajax_event_suggestions","ajax_event_settings","event_id","ajax_event_guestlist","gid","ajax_event_avatars","ajax_edit_guest_tags","post_id","ajax_render_event_image","ajax_event_posts","cursor","ajax_event_photos","per_page","ajax_event_guestlist_search","search_term","limit","login","login_modal","register_modal","recaptcha","sms_captcha","ad_captcha","modal_dialog","modal_warning","modal_loading","modal_ajax_error","import_contacts","ajax_user_status","modal_merge_registered","modal_merge_secondary","ajax_merge_registered","modal_contacts_edit","modal_contacts_new","modal_contacts_groups_edit","modal_contacts_groups_new","modal_contacts_add__select_group","modal_contacts_add__list","modal_recurring_event","ajax_event_schedule","ajax_cancel_one_recurring","ajax_cancel_all_recurring","modal_edit_one_recurring","old_date","ajax_edit_one_recurring","profile_events","more_past_events","ajax_remove_inbox_event","ajax_send_verify_email","modal_notification_prefs","ajax_profile_contacts","ajax_profile_multiple_contacts","ajax_delete_multiple_contacts","ajax_profile_contacts_groups","ajax_contacts_groups__add_contacts","group_id","ajax_contacts_groups__remove_contact","contact_id","ajax_remove_photo","register","forgot_modal","cstool_set_spam","status","task_name","cstool_edit_admin_user","cstool_edit_permissions","cstool_edit_admin_device_versions","cstool_edit_phone_optout","cstool_spam_mark_as_seen","cstool_spam_events","cstool_event_actions","cstool_user_actions","cstool_event","view","send_message_modal","ajax_view_profiles","ajax_view_rsvp","modal_knot_link_registry","modal_knot_find_registry","ajax_logout","ajax_knot_search","ajax_request_upload_path","ajax_fetchuyo","ajax_crop_image","image_id","ajax_content_feed","event_type","main_image","large_image","image_url","size","image_redirect","ajax_comments","guest_id","modal_add_to_calendar","invite_more","_invite_more","send","whatsnext","edit","upload_guest_csv","ajax_guestlist","event_dashboard","parse_guest","guest_list_save","guest_list_add","frp_updated","frp_message_sent","frp_sent","frp_saved","frp_canceled","ajax_preview","ajax_authenticated","facebook_connect","google_plus_connect","set_draft_guests","csv_import_contacts","ajax_subscribe","ajax_send_sms","event_map","event_map_redirect","print_event","print_event_premium","ajax_notify_items","ajax_notify_update","all_notifications","escaped","k","v","eid","$","param","uid","section","tab","chk","unescape","getInstance","370","__WEBPACK_AMD_DEFINE_ARRAY__","__WEBPACK_AMD_DEFINE_RESULT__","triggerEvent","substr","createEvent","initEvent","createEventObject","hasKey","fireEvent","toLowerCase","RavenConfigError","parseDSN","dsnPattern","exec","dsn","dsnKeys","pass","isUndefined","what","isFunction","isString","objectPrototype","isObject","isEmptyObject","isError","each","j","setAuthQueryString","authQueryString","VERSION","globalKey","handleStackInfo","stackInfo","frames","stack","frame","normalizeFrame","processException","lineno","normalized","filename","line","colno","column","function","extractContextFromFrame","in_app","globalOptions","includePaths","fetchContext","pivot","isMinified","fileurl","stacktrace","label","ignoreErrors","truncate","maxMessageLength","ignoreUrls","whitelistUrls","objectMerge","culprit","obj1","obj2","getHttpData","http","location","href","User-Agent","referrer","Referer","isSetup","project","globalProject","logger","platform","request","tags","extra","session:duration","startTime","globalUser","user","release","dataCallback","shouldSendCallback","lastEventId","uuid4","makeRequest","img","newImage","globalServer","stringify","crossOrigin","onload","onerror","onabort","hasJSON","logDebug","joinRegExp","patterns","pattern","sources","len","replace","source","RegExp","r","level","TraceKit","remoteFetching","collectWindowErrors","linesOfContext","_slice","UNKNOWN_FUNCTION","wrapped","report","subscribe","handler","installGlobalHandler","handlers","unsubscribe","unsubscribeAll","uninstallGlobalHandler","notifyHandlers","isWindowError","inner","traceKitWindowOnError","lineNo","colNo","ex","lastExceptionStack","computeStackTrace","augmentStackTraceWithInitialElement","processLastException","guessFunctionName","gatherContext","_oldOnerrorHandler","_onErrorHandlerInstalled","_lastExceptionStack","_lastArgs","lastArgs","lastException","rethrow","incomplete","uninstall","loadSource","XMLHttpRequest","ActiveXObject","open","responseText","getSource","sourceCache","reFunctionArgNames","reGuessFunction","linesBefore","linesAfter","end","escapeRegExp","text","escapeCodeAsRegExpForMatchingInsideHTML","findSourceInUrls","re","lastIndexOf","findSourceInLine","fragment","findSourceByFunctionBody","parts","scripts","getElementsByTagName","code","codeRE","eventRE","script","computeStackTraceFromStackProp","gecko","lines","reference","columnNumber","computeStackTraceFromStacktraceProp","testRE","exc","computeStackTraceFromOperaMultiLineMessage","lineRE1","lineRE2","lineRE3","inlineScriptBlocks","item","relativeLine","pos","midline","initial","unshift","partial","computeStackTraceByWalkingCallerChain","depth","functionName","funcs","recursion","curr","caller","description","sourceURL","fileName","lineNumber","lastCapturedException","_Raven","isRavenInstalled","noConflict","config","uri","lastSlash","host","port","protocol","install","deep","__raven__","__inner__","captureMessage","ex1","msg","setUserContext","setExtraContext","setTagsContext","setReleaseContext","setDataCallback","setShouldSendCallback","setUser","RavenConfig","371","_oldEventAdd","elem","types","selector","_handler","_oldReady","ready","_oldAjax","ajax","5","eval"],"mappings":"CAAS,SAAUA,GCInB,QAAAC,GAAAC,GAGA,GAAAC,EAAAD,GACA,MAAAC,GAAAD,GAAAE,OAGA,IAAAC,GAAAF,EAAAD,IACAI,EAAAJ,EACAK,GAAA,EACAH,WAUA,OANAJ,GAAAE,GAAAM,KAAAH,EAAAD,QAAAC,IAAAD,QAAAH,GAGAI,EAAAE,GAAA,EAGAF,EAAAD,QAvBA,GAAAD,KA4BAF,GAAAQ,EAAAT,EAGAC,EAAAS,EAAAP,EAGAF,EA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AAsD,KAAAsK,MAAA4Q,KAAAxE,IAGA,IAAA0jB,GAAAvP,EAAAwP,IACAxP,GAAAwP,KAAA,SAAA5mB,EAAAvV,GACA,GAAAiP,GAAAuT,GAAA,6BAaA,KATA,gBAAAjN,KACAvV,EAAAuV,EACAA,MAAA3Q,IAIA5E,QAGAiP,EAAAuT,EAAA1M,OACA6W,EAAA4B,WAAAvuB,EAAAiP,MACAjP,EAAAiP,GAAA7C,MAAA4Q,KAAAhd,EAAAiP,IAKA,KACA,MAAAitB,GAAA19B,KAAAsD,KAAAyT,EAAAvV,GACK,MAAAiM,GAEL,KADAG,OAAAC,iBAAAJ,GACAA,OjB65JMmwB,EACA,SAAU/9B,EAAQD,SkBr+JxB,GAAA0f,EAGAA,GAAA,WACA,MAAAhc,QAGA,KAEAgc,KAAAlS,SAAA,qBAAAywB,MAAA,QACC,MAAApwB,GAED,gBAAA5K,UACAyc,EAAAzc,QAOAhD,EAAAD,QAAA0f","file":"common_base.js-head.js","sourcesContent":["/******/ (function(modules) { // webpackBootstrap\n/******/ \t// The module cache\n/******/ \tvar installedModules = {};\n/******/\n/******/ \t// The require function\n/******/ \tfunction __webpack_require__(moduleId) {\n/******/\n/******/ \t\t// Check if module is in cache\n/******/ \t\tif(installedModules[moduleId]) {\n/******/ \t\t\treturn installedModules[moduleId].exports;\n/******/ \t\t}\n/******/ \t\t// Create a new module (and put it into the cache)\n/******/ \t\tvar module = installedModules[moduleId] = {\n/******/ \t\t\ti: moduleId,\n/******/ \t\t\tl: false,\n/******/ \t\t\texports: {}\n/******/ \t\t};\n/******/\n/******/ \t\t// Execute the module function\n/******/ \t\tmodules[moduleId].call(module.exports, module, module.exports, __webpack_require__);\n/******/\n/******/ \t\t// Flag the module as loaded\n/******/ \t\tmodule.l = true;\n/******/\n/******/ \t\t// Return the exports of the module\n/******/ \t\treturn module.exports;\n/******/ \t}\n/******/\n/******/\n/******/ \t// expose the modules object (__webpack_modules__)\n/******/ \t__webpack_require__.m = modules;\n/******/\n/******/ \t// expose the module cache\n/******/ \t__webpack_require__.c = installedModules;\n/******/\n/******/ \t// define getter function for harmony exports\n/******/ \t__webpack_require__.d = function(exports, name, getter) {\n/******/ \t\tif(!__webpack_require__.o(exports, name)) {\n/******/ \t\t\tObject.defineProperty(exports, name, {\n/******/ \t\t\t\tconfigurable: false,\n/******/ \t\t\t\tenumerable: true,\n/******/ \t\t\t\tget: getter\n/******/ \t\t\t});\n/******/ \t\t}\n/******/ \t};\n/******/\n/******/ \t// getDefaultExport function for compatibility with non-harmony modules\n/******/ \t__webpack_require__.n = function(module) {\n/******/ \t\tvar getter = module && module.__esModule ?\n/******/ \t\t\tfunction getDefault() { return module['default']; } :\n/******/ \t\t\tfunction getModuleExports() { return module; };\n/******/ \t\t__webpack_require__.d(getter, 'a', getter);\n/******/ \t\treturn getter;\n/******/ \t};\n/******/\n/******/ \t// Object.prototype.hasOwnProperty.call\n/******/ \t__webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };\n/******/\n/******/ \t// __webpack_public_path__\n/******/ \t__webpack_require__.p = \"/assets/_build/webpack_bundles/\";\n/******/\n/******/ \t// Load entry module and return exports\n/******/ \treturn __webpack_require__(__webpack_require__.s = 1130);\n/******/ })\n/************************************************************************/\n/******/ ({\n\n/***/ 1130:\n/***/ (function(module, exports, __webpack_require__) {\n\n__webpack_require__(279);\n__webpack_require__(370);\n__webpack_require__(371);\nmodule.exports = __webpack_require__(140);\n\n\n/***/ }),\n\n/***/ 140:\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\n\nObject.defineProperty(exports, \"__esModule\", {\n    value: true\n});\nexports.default = cookie;\n/**\n * Cookie plugin\n *\n * Copyright (c) 2006 Klaus Hartl (stilbuero.de)\n * Dual licensed under the MIT and GPL licenses:\n * http://www.opensource.org/licenses/mit-license.php\n * http://www.gnu.org/licenses/gpl.html\n *\n */\n\n/**\n * Create a cookie with the given name and value and other optional parameters.\n *\n * @example $.cookie('the_cookie', 'the_value');\n * @desc Set the value of a cookie.\n * @example $.cookie('the_cookie', 'the_value', { expires: 7, path: '/', domain: 'jquery.com', secure: true });\n * @desc Create a cookie with all available options.\n * @example $.cookie('the_cookie', 'the_value');\n * @desc Create a session cookie.\n * @example $.cookie('the_cookie', null);\n * @desc Delete a cookie by passing null as value. Keep in mind that you have to use the same path and domain\n *       used when the cookie was set.\n *\n * @param String name The name of the cookie.\n * @param String value The value of the cookie.\n * @param Object options An object literal containing key/value pairs to provide optional cookie attributes.\n * @option Number|Date expires Either an integer specifying the expiration date from now on in days or a Date object.\n *                             If a negative value is specified (e.g. a date in the past), the cookie will be deleted.\n *                             If set to null or omitted, the cookie will be a session cookie and will not be retained\n *                             when the the browser exits.\n * @option String path The value of the path atribute of the cookie (default: path of page that created the cookie).\n * @option String domain The value of the domain attribute of the cookie (default: domain of page that created the cookie).\n * @option Boolean secure If true, the secure attribute of the cookie will be set and the cookie transmission will\n *                        require a secure protocol (like HTTPS).\n * @type undefined\n *\n * @name $.cookie\n * @cat Plugins/Cookie\n * @author Klaus Hartl/klaus.hartl@stilbuero.de\n */\n\n/**\n * Get the value of a cookie with the given name.\n *\n * @example $.cookie('the_cookie');\n * @desc Get the value of a cookie.\n *\n * @param String name The name of the cookie.\n * @return The value of the cookie.\n * @type String\n *\n * @name $.cookie\n * @cat Plugins/Cookie\n * @author Klaus Hartl/klaus.hartl@stilbuero.de\n */\nfunction cookie(name, value, options) {\n    if (typeof value != 'undefined') {\n        // name and value given, set cookie\n        options = options || {};\n        if (value === null) {\n            value = '';\n            options.expires = -1;\n        }\n        var expires = '';\n        if (options.expires && (typeof options.expires == 'number' || options.expires.toUTCString)) {\n            var date;\n            if (typeof options.expires == 'number') {\n                date = new Date();\n                date.setTime(date.getTime() + options.expires * 24 * 60 * 60 * 1000);\n            } else {\n                date = options.expires;\n            }\n            expires = '; expires=' + date.toUTCString(); // use expires attribute, max-age is not supported by IE\n        }\n        // CAUTION: Needed to parenthesize options.path and options.domain\n        // in the following expressions, otherwise they evaluate to undefined\n        // in the packed version for some reason...\n        var path = options.path ? '; path=' + options.path : '';\n        var domain = options.domain ? '; domain=' + options.domain : '';\n        var secure = options.secure ? '; secure' : '';\n        document.cookie = [name, '=', encodeURIComponent(value), expires, path, domain, secure].join('');\n    } else {\n        // only name given, get cookie\n        var cookieValue = null;\n        if (document.cookie && document.cookie != '') {\n            var cookies = document.cookie.split(';');\n            for (var i = 0; i < cookies.length; i++) {\n                var cookie = cookies[i].trim();\n                // Does this cookie string begin with the name we want?\n                if (cookie.substring(0, name.length + 1) == name + '=') {\n                    cookieValue = decodeURIComponent(cookie.substring(name.length + 1));\n                    break;\n                }\n            }\n        }\n        return cookieValue;\n    }\n};\n\nwindow.evite = window.evite || {};\nwindow.evite.cookie = cookie;\n\n/***/ }),\n\n/***/ 161:\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\n\nObject.defineProperty(exports, \"__esModule\", {\n  value: true\n});\n\nfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\n\nvar evite = window.evite = window.evite || {};\nif (evite.Emitter) {\n  throw new Error('Unexpected copy of evite.Emitter module exported, you might have used an unusual import instead of the \"evite\" alias.');\n}\n\nvar Emitter = exports.Emitter = function Emitter() {\n  _classCallCheck(this, Emitter);\n\n  var delegate = document.createDocumentFragment();\n  this.addEventListener = delegate.addEventListener.bind(delegate);\n  this.removeEventListener = delegate.removeEventListener.bind(delegate);\n  this.dispatchEvent = delegate.dispatchEvent.bind(delegate);\n};\n\nexports.default = Emitter;\n\n/***/ }),\n\n/***/ 162:\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\n\nObject.defineProperty(exports, \"__esModule\", {\n  value: true\n});\nvar evite = window.evite = window.evite || {};\n\nif (evite.detects) {\n  throw new Error('Unexpected copy of evite.detects module exported, you might have used an unusual import instead of the \"evite\" alias.');\n}\nvar ua = navigator.userAgent;\n\nvar isIE = /*@cc_on!@*/exports.isIE = false || !!document.documentMode;\nvar isEdge = exports.isEdge = Boolean(!isIE && window.StyleMedia);\nvar isChrome = exports.isChrome = Boolean(window.chrome && window.chrome.webstore);\nvar isFirefox = exports.isFirefox = typeof InstallTrigger !== 'undefined';\nvar isSafari = exports.isSafari = /constructor/i.test(window.HTMLElement) || (window.safari && safari.pushNotification && safari.pushNotification.toString()) === '[object SafariRemoteNotification]';\n\nvar isIPad = exports.isIPad = /iPad/i.test(ua);\nvar isIPhone = exports.isIPhone = /iPhone/i.test(ua);\nvar isAndroid = exports.isAndroid = /Android/i.test(ua);\n\nvar isMobile = exports.isMobile = Boolean(window.is_mobile_site || window.is_mobile || isIPhone || isAndroid);\nvar isDesktop = exports.isDesktop = !isMobile;\n\nexports.default = exports;\n\n/***/ }),\n\n/***/ 163:\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\n\nObject.defineProperty(exports, \"__esModule\", {\n  value: true\n});\nexports.when = when;\nexports.resolvePromiseByName = resolvePromiseByName;\nexports.resolve = resolve;\nexports.rejectPromiseByName = rejectPromiseByName;\nexports.reject = reject;\nvar evite = window.evite = window.evite || {};\nvar promiseMap = new Map();\n\nif (evite.promises) {\n  throw new Error('Unexpected copy of evite.promises module exported, you might have used an unusual import instead of the \"evite\" alias.');\n}\n\n/**\n * @param namesOrPromises {...string|!Promise|!Array.<string|!Promise>}\n * @returns Promise\n **/\nfunction when() {\n  var promises = [];\n\n  for (var _len = arguments.length, namesOrPromises = Array(_len), _key = 0; _key < _len; _key++) {\n    namesOrPromises[_key] = arguments[_key];\n  }\n\n  var _iteratorNormalCompletion = true;\n  var _didIteratorError = false;\n  var _iteratorError = undefined;\n\n  try {\n    for (var _iterator = namesOrPromises[Symbol.iterator](), _step; !(_iteratorNormalCompletion = (_step = _iterator.next()).done); _iteratorNormalCompletion = true) {\n      var nameOrPromise = _step.value;\n\n      var promise = void 0;\n      if (nameOrPromise instanceof Promise) {\n        promise = nameOrPromise;\n      } else if (typeof nameOrPromise === 'string' || Array.isArray(nameOrPromise)) {\n        promise = ensurePromiseMapping(nameOrPromise).promise;\n      } else {\n        assert(false, 'Expected arguments to be either a promise, a string, or a list got: %O.', nameOrPromise);\n        return null;\n      }\n\n      promises.push(promise);\n    }\n  } catch (err) {\n    _didIteratorError = true;\n    _iteratorError = err;\n  } finally {\n    try {\n      if (!_iteratorNormalCompletion && _iterator.return) {\n        _iterator.return();\n      }\n    } finally {\n      if (_didIteratorError) {\n        throw _iteratorError;\n      }\n    }\n  }\n\n  if (promises.length === 1) {\n    return promises[0];\n  }\n\n  return Promise.all(promises);\n}\n\nfunction ensurePromiseMapping(name) {\n  if (!promiseMap.get(name)) {\n    var mapping = createPromiseMapping();\n    promiseMap.set(name, mapping);\n\n    if (true) {\n      mapping.promise.then(function (value) {\n        evite.debug('evite.resolve:', name);\n      });\n    }\n\n    if (Array.isArray(name)) {\n      when.apply(null, name).then(resolvePromiseByName.bind(null, name)).catch(rejectPromiseByName.bind(null, name));\n    }\n  }\n\n  return promiseMap.get(name);\n}\n\nfunction createPromiseMapping() {\n  var mapping = {};\n  mapping.promise = new Promise(function (resolve, reject) {\n    mapping.resolve = resolve;\n    mapping.reject = function (msgOrError) {\n      msgOrError = msgOrError || 'Promise rejected.';\n      var error = typeof msgOrError === 'string' ? new Error(msgOrError) : msgOrError;\n      reject(error);\n    };\n  });\n\n  return mapping;\n}\n/**\n * @param namesOrPromise {string}\n * @param opt_value {*=} The value to send to the resolved promise\n * @returns Promise\n **/\nfunction resolvePromiseByName(name, opt_value) {\n  var mapping = ensurePromiseMapping(name);\n  mapping.resolve(opt_value);\n  return mapping.promise;\n}\n\nfunction resolve(dataOrName, opt_value) {\n  if (typeof dataOrName === 'string') {\n    return resolvePromiseByName(dataOrName, opt_value);\n  } else {\n    var nameList = [];\n    for (var name in dataOrName) {\n      nameList.push(name);\n      resolvePromiseByName(dataOrName, dataOrName[name]);\n    }\n\n    return when(nameList);\n  }\n}\n\n/**\n * @param namesOrPromise {string}\n * @param opt_reason {*=} The error or message to send to the resolved promise\n * @returns Promise\n **/\nfunction rejectPromiseByName(name, opt_reason) {\n  var mapping = ensurePromiseMapping(name);\n  mapping.reject(opt_reason);\n  return mapping.promise;\n}\n\nfunction reject(dataOrName, opt_value) {\n  if (typeof dataOrName === 'string') {\n    return rejectPromiseByName(dataOrName, opt_value);\n  } else {\n    var nameList = [];\n    for (var name in dataOrName) {\n      nameList.push(name);\n      rejectPromiseByName(dataOrName, dataOrName[name]);\n    }\n\n    return when(nameList);\n  }\n}\n\nvar commands = evite.command;\nwhen('evite').then(function () {\n  if (commands) {\n    while (commands.length) {\n      var commandData = commands.shift();\n      var name = commandData.name,\n          params = commandData.params,\n          promiseCommand = commandData.promiseCommand;\n\n\n      var promise = exports[name].apply(evite, params);\n\n      var _iteratorNormalCompletion2 = true;\n      var _didIteratorError2 = false;\n      var _iteratorError2 = undefined;\n\n      try {\n        for (var _iterator2 = promiseCommand[Symbol.iterator](), _step2; !(_iteratorNormalCompletion2 = (_step2 = _iterator2.next()).done); _iteratorNormalCompletion2 = true) {\n          var promiseCommandData = _step2.value;\n          var _name = promiseCommandData.name,\n              _params = promiseCommandData.params;\n\n          promise[_name].apply(promise, _params);\n        }\n      } catch (err) {\n        _didIteratorError2 = true;\n        _iteratorError2 = err;\n      } finally {\n        try {\n          if (!_iteratorNormalCompletion2 && _iterator2.return) {\n            _iterator2.return();\n          }\n        } finally {\n          if (_didIteratorError2) {\n            throw _iteratorError2;\n          }\n        }\n      }\n    }\n  }\n});\n\nexports.default = exports;\n\n/***/ }),\n\n/***/ 279:\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n/* WEBPACK VAR INJECTION */(function(global) {\n\nObject.defineProperty(exports, \"__esModule\", {\n  value: true\n});\nexports.urls = exports.utils = exports.promises = exports.dom = exports.experiments = exports.features = exports.detects = exports.debugging = exports.Emitter = undefined;\n\nvar _Emitter2 = __webpack_require__(161);\n\nvar _Emitter3 = _interopRequireDefault(_Emitter2);\n\nvar _debugging2 = __webpack_require__(280);\n\nvar _debugging3 = _interopRequireDefault(_debugging2);\n\nvar _detects2 = __webpack_require__(162);\n\nvar _detects3 = _interopRequireDefault(_detects2);\n\nvar _features2 = __webpack_require__(281);\n\nvar _features3 = _interopRequireDefault(_features2);\n\nvar _experiments2 = __webpack_require__(282);\n\nvar _experiments3 = _interopRequireDefault(_experiments2);\n\nvar _dom2 = __webpack_require__(283);\n\nvar _dom3 = _interopRequireDefault(_dom2);\n\nvar _promises2 = __webpack_require__(163);\n\nvar _promises3 = _interopRequireDefault(_promises2);\n\nvar _history2 = __webpack_require__(284);\n\nvar _history3 = _interopRequireDefault(_history2);\n\nvar _utils2 = __webpack_require__(285);\n\nvar _utils3 = _interopRequireDefault(_utils2);\n\nvar _urls2 = __webpack_require__(288);\n\nvar _urls3 = _interopRequireDefault(_urls2);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nvar Emitter = exports.Emitter = _Emitter3.default;\nvar debugging = exports.debugging = _debugging3.default;\nvar detects = exports.detects = _detects3.default;\nvar features = exports.features = _features3.default;\nvar experiments = exports.experiments = _experiments3.default;\nvar dom = exports.dom = _dom3.default;\nvar promises = exports.promises = _promises3.default;\nvar utils = exports.utils = _utils3.default;\nvar urls = exports.urls = _urls3.default;\n\nvar root = typeof window !== 'undefined' ? window : typeof global !== 'undefined' ? global : {};\n\nvar evite = window.evite = window.evite || {};\nevite.global = root;\n\nglobal.require = function (name) {\n  return root[name];\n};\n\nif (evite.DEFINED) {\n  throw new Error('Unexpected copy of evite module exported, you might have used an unusual import instead of the \"evite\" alias.');\n}\nevite.DEFINED = true;\n\nObject.assign(evite, debugging, experiments, dom, utils, promises, exports);\nevite.history = _history3.default;\n\nexports.default = evite;\n\n\nevite.resolve('evite', evite);\n/* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(5)))\n\n/***/ }),\n\n/***/ 280:\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\n\nObject.defineProperty(exports, \"__esModule\", {\n  value: true\n});\n\nvar _typeof = typeof Symbol === \"function\" && typeof Symbol.iterator === \"symbol\" ? function (obj) { return typeof obj; } : function (obj) { return obj && typeof Symbol === \"function\" && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj; };\n\nexports.log = log;\nexports.debug = debug;\nexports.info = info;\nexports.error = error;\nexports.trace = trace;\nexports.warn = warn;\nexports.assert = assert;\nexports.assertString = assertString;\nexports.assertNumber = assertNumber;\nexports.assertBoolean = assertBoolean;\nexports.assertObject = assertObject;\nexports.assertFunction = assertFunction;\nexports.assertInstanceOf = assertInstanceOf;\nexports.logAndContinue = logAndContinue;\nexports.logError = logError;\nvar evite = window.evite = window.evite || {};\n\nif (evite.debugging) {\n  throw new Error('Unexpected copy of evite.debugging module exported, you might have used an unusual import instead of the \"evite\" alias.');\n}\n\nfunction consoleByMethodName(methodName, args) {\n  var console = evite.global.console;\n\n  if (true && console) {\n    if (console[methodName]) {\n      console[methodName].apply(console, args);\n    } else if (methodName !== 'log') {\n      consoleByMethodName('log', args);\n    }\n  }\n}\n\nfunction log() {\n  for (var _len = arguments.length, args = Array(_len), _key = 0; _key < _len; _key++) {\n    args[_key] = arguments[_key];\n  }\n\n  consoleByMethodName('log', args);\n}\n\nfunction debug() {\n  for (var _len2 = arguments.length, args = Array(_len2), _key2 = 0; _key2 < _len2; _key2++) {\n    args[_key2] = arguments[_key2];\n  }\n\n  consoleByMethodName('debug', args);\n}\n\nfunction info() {\n  for (var _len3 = arguments.length, args = Array(_len3), _key3 = 0; _key3 < _len3; _key3++) {\n    args[_key3] = arguments[_key3];\n  }\n\n  consoleByMethodName('info', args);\n}\n\nfunction error() {\n  for (var _len4 = arguments.length, args = Array(_len4), _key4 = 0; _key4 < _len4; _key4++) {\n    args[_key4] = arguments[_key4];\n  }\n\n  consoleByMethodName('error', args);\n}\n\nfunction trace() {\n  for (var _len5 = arguments.length, args = Array(_len5), _key5 = 0; _key5 < _len5; _key5++) {\n    args[_key5] = arguments[_key5];\n  }\n\n  consoleByMethodName('trace', args);\n}\n\nfunction warn() {\n  for (var _len6 = arguments.length, args = Array(_len6), _key6 = 0; _key6 < _len6; _key6++) {\n    args[_key6] = arguments[_key6];\n  }\n\n  consoleByMethodName('warn', args);\n}\n\nfunction assert(value, message) {\n  if (value) {\n    return value;\n  }\n\n  if (false) {\n    throw new Error('Assertion Error: ' + message);\n  } else {\n    consoleByMethodName('assert', [value, message || '']);\n  }\n}\n\nfunction assertType(value, type) {\n  var valueType = typeof value === 'undefined' ? 'undefined' : _typeof(value);\n  var message = 'Expected type (' + type + '), got (' + valueType + ')';\n  assert(valueType === type, message);\n  return value;\n}\n\nfunction assertString(value) {\n  return assertType(value, 'string');\n}\n\nfunction assertNumber(value) {\n  return assertType(value, 'number');\n}\n\nfunction assertBoolean(value) {\n  return assertType(value, 'boolean');\n}\n\nfunction assertObject(value) {\n  return assertType(value, 'object');\n}\n\nfunction assertFunction(value) {\n  var valueType = typeof value === 'undefined' ? 'undefined' : _typeof(value);\n  var message = 'Expected type (function), got (' + valueType + ')';\n  assert(typeof value === 'function' || value instanceof Function, message);\n  return value;\n}\n\nfunction assertInstanceOf(value, instanceConstructor) {\n  var message = 'Expected value to be a instance of ' + (instanceConstructor.name || instanceConstructor) + ', got: ' + value;\n  assert(value instanceof instanceConstructor, message);\n  return value;\n}\n\n/**\n * Execute a function and handle exceptions. This function should never throw an exception.\n *\n * @param func\n */\nfunction logAndContinue(func) {\n  if (!func) return;\n\n  try {\n    return func();\n  } catch (e) {\n    logError(e);\n  }\n}\n\n/**\n * Execute a function and handle exceptions. This function should never throw an exception.\n *\n * @param {string|Error} exception\n */\nfunction logError(exception) {\n  if (exception) {\n    if (window.Raven) {\n      Raven.captureException(exception);\n    }\n\n    error('Caught exception: ' + exception);\n    trace(exception);\n  }\n}\n\nwindow.onunhandledrejection = function (data) {\n  window.Raven && Raven.captureException(data.reason);\n  error('Unhandled promise rejection %O', data);\n};\n\nexports.default = exports;\n\n/***/ }),\n\n/***/ 281:\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\n\nObject.defineProperty(exports, \"__esModule\", {\n  value: true\n});\nexports.DEFINED = undefined;\n\nvar _typeof = typeof Symbol === \"function\" && typeof Symbol.iterator === \"symbol\" ? function (obj) { return typeof obj; } : function (obj) { return obj && typeof Symbol === \"function\" && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj; };\n\nexports.isEnabled = isEnabled;\nexports.get = get;\nexports.set = set;\nexports.parseOptionsFromString = parseOptionsFromString;\nexports.getFeaturesSwitchesForType = getFeaturesSwitchesForType;\nexports.getFeaturesSwitches = getFeaturesSwitches;\n\nvar _detects = __webpack_require__(162);\n\nvar _detects2 = _interopRequireDefault(_detects);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\n/** @fileOverview\n * Allows client side feature switches down to the device browser.\n * Notes:\n *   - Feature switches not defined in cstool are enabled by default\n *   - Android and Iphone are implicitly mobile\n *   - Tablet is considered desktop\n *\n * @code\n *  `evite.features.isEnabled('mentions');`\n *\n * CSTool: (Most specific key that matches the current environment wins)\n *  (lowest specificity)\n *    mentions - All Mentions\n *\n *    mentions|desktop - Desktop\n *    mentions|desktop|edge - Desktop Edge only\n *    mentions|desktop|ie - Desktop IE only\n *\n *    mentions|mobile - All mobile Browsers\n *    mentions|mobile|firefox - Firefox on mobile\n *\n *    mentions|mobile|android - Only Android users\n *    mentions|mobile|iphone - Only Iphone users\n *\n *  (highest specificity)\n *    mentions|mobile|android|chrome - Chrome on Android only\n *    mentions|mobile|iphone|safari - Safari on Iphone\n **/\nvar evite = window.evite = window.evite || {};\n\nvar features = evite.features = evite.features || {};\n\nif (evite.features.DEFINED) {\n  throw new Error('Unexpected copy of evite.features module exported, you might have used an unusual import instead of the \"evite\" alias.');\n}\nvar DEFINED = exports.DEFINED = true;\n\nfunction isEnabled(name, opt_defaultValueForMissingKey) {\n  name = name.toUpperCase();\n  var keyMissing = name in features === false;\n\n  return Boolean(arguments.length === 1 && keyMissing || keyMissing && opt_defaultValueForMissingKey || get(name));\n}\n\nfunction get(name) {\n  name = name.toUpperCase();\n  try {\n    return JSON.parse(features[name]);\n  } catch (error) {\n    return features[name];\n  }\n}\n\nfunction set(name, value) {\n  name = name.toUpperCase();\n  features[name] = value;\n}\n\nvar bitPosition = 0;\nfunction nextBitFlag() {\n  var bit = 1 << bitPosition;\n  bitPosition++;\n  return bit;\n}\n\nvar MOBILE_FLAG = nextBitFlag();\nvar DESKTOP_FLAG = nextBitFlag();\n\nvar IPAD_FLAG = nextBitFlag() | DESKTOP_FLAG;\nvar IPHONE_FLAG = nextBitFlag() | MOBILE_FLAG;\nvar ANDROID_FLAG = nextBitFlag() | MOBILE_FLAG;\n\nvar IE_FLAG = nextBitFlag();\nvar EDGE_FLAG = nextBitFlag();\nvar FIREFOX_FLAG = nextBitFlag();\nvar CHROME_FLAG = nextBitFlag();\nvar SAFARI_FLAG = nextBitFlag();\n\nfunction parseOptionsFromString(str) {\n  var isAndroid = /\\bAndroid\\b/i.test(str);\n  var isIPhone = /\\biPhone\\b/i.test(str);\n  var isIPad = /\\biPad\\b/i.test(str);\n  var isMobile = /\\bMobile\\b/i.test(str) || isIPhone || isAndroid;\n  var isDesktop = /\\bDesktop\\b/i.test(str) || !isMobile;\n\n  return {\n    isIPhone: isIPhone,\n    isAndroid: isAndroid,\n    isIPad: isIPad,\n    isMobile: isMobile,\n    isDesktop: isDesktop,\n    isIE: /\\bIE\\b/i.test(str),\n    isEdge: /\\bEdge\\b/i.test(str),\n    isChrome: /\\bChrome\\b/i.test(str),\n    isFirefox: /\\bFirefox\\b/i.test(str),\n    isSafari: /\\bSafari\\b/i.test(str)\n  };\n}\n\nfunction parseFlagsFromOptions(options) {\n  var mobile = options.isMobile && MOBILE_FLAG || 0;\n  var desktop = options.isDesktop && DESKTOP_FLAG || 0;\n  var viewport = mobile | desktop;\n\n  var ipad = options.isIPad && IPAD_FLAG || 0;\n  var iphone = options.isIPhone && IPHONE_FLAG || 0;\n  var android = options.isAndroid && ANDROID_FLAG || 0;\n  var device = ipad | iphone | android;\n\n  var ie = options.isIE && IE_FLAG || 0;\n  var edge = options.isEdge && EDGE_FLAG || 0;\n  var firefox = options.isFirefox && FIREFOX_FLAG || 0;\n  var chrome = options.isChrome && CHROME_FLAG || 0;\n  var safari = options.isSafari && SAFARI_FLAG || 0;\n  var browser = ie | edge | firefox | chrome | safari;\n\n  return {\n    viewport: viewport, mobile: mobile, desktop: desktop,\n    device: device, ipad: ipad, iphone: iphone, android: android,\n    browser: browser, ie: ie, edge: edge, firefox: firefox, chrome: chrome, safari: safari\n  };\n}\n/** Override the feature switch with most specific value based off of current device\n * viewport < device-vendor < browser\n */\n// TODO - Add tests when test branch is merged in\nfunction getFeaturesSwitchesForType(strOrOptions) {\n  var options = typeof strOrOptions === 'string' ? parseOptionsFromString(strOrOptions) : (typeof strOrOptions === 'undefined' ? 'undefined' : _typeof(strOrOptions)) === 'object' ? strOrOptions : _detects2.default;\n\n  var currentFlags = parseFlagsFromOptions(options);\n\n  var matchedFeatureSwitches = {};\n  var highestSpecificityByFeature = {};\n\n  for (var key in features) {\n    var value = features[key];\n    if (typeof value === 'function') {\n      continue;\n    }\n\n    if (key.indexOf('|') === -1) {\n      if (key.toUpperCase() in matchedFeatureSwitches === false) {\n        matchedFeatureSwitches[key.toUpperCase()] = value;\n      }\n      continue;\n    }\n\n    var featureName = key.slice(0, key.indexOf('|')).toUpperCase();\n    if (featureName in features && !features[featureName]) {\n      continue;\n    }\n\n    var featureFlags = parseFlagsFromOptions(parseOptionsFromString(key));\n\n    if (!featureFlags.viewport && !featureFlags.browser && !featureFlags.device) {\n      continue;\n    }\n\n    var viewportNotSpecified = !featureFlags.viewport && !currentFlags.viewport;\n    var matchesViewport = (featureFlags.viewport & currentFlags.viewport) === featureFlags.viewport;\n    if (viewportNotSpecified || matchesViewport) {\n      var browserNotSpecified = !featureFlags.browser && !currentFlags.browser;\n      var matchesBrowser = (featureFlags.browser & currentFlags.browser) === featureFlags.browser;\n      if (browserNotSpecified || matchesBrowser) {\n        var deviceNotSpecified = !featureFlags.device && !currentFlags.device;\n        var matchesDevice = (featureFlags.device & currentFlags.device) === featureFlags.device;\n        if (deviceNotSpecified || matchesDevice) {\n          var specificity = featureFlags.browser | featureFlags.device | featureFlags.viewport;\n          var highestSpecificity = highestSpecificityByFeature[featureName] = highestSpecificityByFeature[featureName] || 0;\n          if (specificity > highestSpecificity) {\n            matchedFeatureSwitches[featureName] = value;\n            highestSpecificityByFeature[featureName] = specificity;\n          }\n        }\n      }\n    }\n  }\n\n  return matchedFeatureSwitches;\n}\n\nfunction getFeaturesSwitches() {\n  return getFeaturesSwitchesForType(_detects2.default);\n}\n\n// Override the feature switch with most specific value based off of current device\nObject.assign(features, getFeaturesSwitches(_detects2.default));\nObject.assign(features, exports);\n\nexports.default = features;\n\n/***/ }),\n\n/***/ 282:\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\n\nObject.defineProperty(exports, \"__esModule\", {\n  value: true\n});\nexports.setExperiment = setExperiment;\nexports.getExperiment = getExperiment;\nexports.inExperiment = inExperiment;\nexports.getVariation = getVariation;\nexports.setVariation = setVariation;\nexports.inVariation = inVariation;\nvar evite = window.evite = window.evite || {};\nvar experiments = evite.experiments = evite.experiments || {};\n\nif (evite.experiments.DEFINED) {\n  throw new Error('Unexpected copy of evite.experiments module exported, you might have used an unusual import instead of the \"evite\" alias.');\n}\nvar DEFINED = exports.DEFINED = true;\n\nfunction setExperiment(experimentName, value) {\n  experiments[experimentName.toUpperCase()] = value;\n}\n\nfunction getExperiment(experimentName) {\n  experimentName = experimentName.toUpperCase();\n\n  if (experimentName in experiments) {\n    return experiments[experimentName];\n  }\n  return null;\n}\n\nfunction inExperiment(experimentName) {\n  var experiment = getExperiment(experimentName);\n  return Boolean(experiment);\n}\n\nfunction getVariation(experimentName, variationName) {\n  var experiment = getExperiment(experimentName);\n  variationName = variationName.toUpperCase();\n  var variationList = experiment && experiment.variations || [];\n\n  for (var i = 0; i < variationList.length; ++i) {\n    var variation = variationList[i];\n\n    if (variation.name.toUpperCase() === variationName) {\n      return variation;\n    }\n  }\n\n  return null;\n}\n\nfunction setVariation(experimentName, variationName, value) {\n  var experiment = getExperiment(experimentName);\n  if (!experiment) {\n    experiment = { variations: [] };\n    setExperiment(experimentName, experiment);\n  }\n\n  variationName = variationName.toUpperCase();\n  var variationList = experiment && experiment.variations || [];\n\n  var foundVariation = void 0;\n  for (var i = 0; i < variationList.length; ++i) {\n    foundVariation = variationList[i];\n\n    if (foundVariation.name.toUpperCase() === variationName) {\n      break;\n    }\n  }\n\n  if (!foundVariation) {\n    foundVariation = {};\n    variationList.push(foundVariation);\n  }\n\n  Object.assign(foundVariation, { name: variationName, value: value });\n}\n\nfunction inVariation(experimentName, variationName) {\n  var defaultValue = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : false;\n\n  var variation = void 0;\n  if (inExperiment(experimentName)) {\n    variation = getVariation(experimentName, variationName);\n    return Boolean(variation && variation.value);\n  }\n\n  return Boolean(variation || defaultValue);\n}\n\nexports.default = exports;\n\n/***/ }),\n\n/***/ 283:\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\n\nObject.defineProperty(exports, \"__esModule\", {\n  value: true\n});\nexports.show = show;\nexports.hide = hide;\nexports.toggle = toggle;\nexports.appendChild = appendChild;\nexports.removeChild = removeChild;\nexports.removeChildren = removeChildren;\nexports.buildScriptTag = buildScriptTag;\nexports.addScriptTag = addScriptTag;\nexports.createElement = createElement;\nexports.css = css;\nexports.hasClass = hasClass;\nexports.addClass = addClass;\nexports.removeClass = removeClass;\nexports.toggleClass = toggleClass;\nexports.scrollTo = scrollTo;\nexports.addToLoadingQueue = addToLoadingQueue;\nexports.isDomNode = isDomNode;\nvar evite = window.evite = window.evite || {};\n\nif (evite.dom) {\n  throw new Error('Unexpected copy of evite.dom module exported, you might have used an unusual import instead of the \"evite\" alias.');\n}\n\nfunction show(subject) {\n  removeClass(subject, 'hidden');\n}\n\nfunction hide(subject) {\n  addClass(subject, 'hidden');\n}\n\nfunction toggle(subject) {\n  var showElement = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : false;\n\n  if (!subject) {\n    return;\n  }\n\n  if (arguments.length === 1) {\n    if (subject.toggle) {\n      subject.toggle();\n      return;\n    }\n\n    showElement = subject.offsetParent === null;\n  }\n\n  if (showElement) {\n    show(subject);\n  } else {\n    hide(subject);\n  }\n}\n\nfunction appendChild(subject, child) {\n  if (subject && subject.appendChild) {\n    subject.appendChild(child);\n  } else if (subject && subject.append) {\n    subject.append(child);\n  }\n}\n\nfunction removeChild(subject, child) {\n  if (subject && subject.removeChild) {\n    subject.removeChild(child);\n  } else if (subject && subject.remove) {\n    subject.remove(child);\n  }\n}\n\nfunction removeChildren(subject) {\n  if (subject) {\n    while (subject.lastChild) {\n      removeChild(subject, subject.lastChild);\n    }\n  }\n}\n\nfunction buildScriptTag(_ref) {\n  var src = _ref.src,\n      type = _ref.type,\n      defer = _ref.defer,\n      async = _ref.async,\n      onLoad = _ref.onLoad,\n      onError = _ref.onError,\n      className = _ref.className,\n      innerText = _ref.innerText,\n      innerHTML = _ref.innerHTML;\n\n  defer = Boolean(defer);\n  async = Boolean(async);\n  onLoad = onLoad || '';\n  onError = onError || '';\n  className = className || '';\n  innerText = innerText || '';\n\n  var id = evite.guid('script-id');\n\n  var scriptTag = document.createElement('script');\n  scriptTag.type = type || 'text/javascript';\n  scriptTag.async = async;\n  scriptTag.defer = defer;\n  scriptTag.className = className;\n\n  scriptTag.addEventListener('load', function () {\n    evite.resolve(src);\n    onLoad();\n  });\n\n  scriptTag.addEventListener('error', function () {\n    evite.reject(src);\n    onError();\n  });\n  if (src) {\n    scriptTag.src = src;\n  } else if (innerHTML) {\n    scriptTag.innerHTML = innerHTML;\n  } else if (innerText) {\n    scriptTag.innerText = innerText;\n  }\n\n  return scriptTag;\n}\n\n// TODO - refactor\nfunction addScriptTag(_ref2) {\n  var src = _ref2.src,\n      type = _ref2.type,\n      defer = _ref2.defer,\n      async = _ref2.async,\n      onLoad = _ref2.onLoad,\n      onError = _ref2.onError,\n      className = _ref2.className;\n\n  evite.when('document.ready').then(function () {\n    var scriptTag = buildScriptTag({ src: src, type: type, defer: defer, async: async, onLoad: onLoad, onError: onError, className: className });\n\n    appendChild(document.head, scriptTag);\n  });\n}\n\nfunction createElement(str) {\n  if (str) {\n    var div = document.createElement('div');\n    div.innerHTML = str.trim();\n    return div.firstChild;\n  }\n\n  return null;\n}\n\nfunction css(el, styles) {\n  if (!el) {\n    return;\n  }\n\n  if (!styles) {\n    el.style.cssText = '';\n    return;\n  }\n\n  for (var prop in styles) {\n    var value = styles[prop];\n    if (typeof value === 'number') {\n      el.style[prop] = value + 'px';\n    } else {\n      el.style[prop] = value;\n    }\n  }\n}\n\nfunction hasClass(el, className) {\n  return el && el.classList && el.classList.contains(className) || false;\n}\n\nfunction addClass(el, className) {\n  if (el && el.classList && !el.classList.contains(className)) {\n    el.classList.add(className);\n  }\n}\n\nfunction removeClass(el, className) {\n  if (el && el.classList && el.classList.contains(className)) {\n    el.classList.remove(className);\n  }\n}\n\nfunction toggleClass(el, className, add) {\n  if (arguments.length === 2) {\n    add = !hasClass(el, className);\n  }\n\n  if (add) {\n    addClass(el, className);\n  } else {\n    removeClass(el, className);\n  }\n}\n\n/**\n * Scroll to an element on the page\n *\n * modified from https://stackoverflow.com/questions/17722497/scroll-smoothly-to-specific-element-on-page\n * https://jsfiddle.net/s61x7c4e/\n *\n * @param element dom element\n * @param duration\n * @param marginTop additional header room for fixed elements, or if you want to scroll above `element`\n */\nfunction scrollTo(element, duration) {\n  var marginTop = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : 0;\n\n  var startingY = window.pageYOffset;\n  var elementY = window.pageYOffset + element.getBoundingClientRect().top - marginTop;\n  // If element is close to page's bottom then window will scroll only to some position above the element.\n  var tooClose = document.body.scrollHeight - elementY < window.innerHeight;\n  var targetY = tooClose ? document.body.scrollHeight - window.innerHeight : elementY;\n  var diff = targetY - startingY;\n  // Easing function: easeInOutCubic\n  // From: https://gist.github.com/gre/1650294\n  function easing(t) {\n    return t < .5 ? 4 * t * t * t : (t - 1) * (2 * t - 2) * (2 * t - 2) + 1;\n  }\n  var start = void 0;\n\n  if (!diff) return;\n\n  // Bootstrap our animation - it will get called right before next frame shall be rendered.\n  window.requestAnimationFrame(function step(timestamp) {\n    if (!start) start = timestamp;\n    // Elapsed miliseconds since start of scrolling.\n    var time = timestamp - start;\n    // Get percent of completion in range [0, 1].\n    var percent = Math.min(time / duration, 1);\n    // Apply the easing.\n    // It can cause bad-looking slow frames in browser performance tool, so be careful.\n    percent = easing(percent);\n\n    window.scrollTo(0, startingY + diff * percent);\n\n    // Proceed with animation as long as we wanted it to.\n    if (time < duration) window.requestAnimationFrame(step);\n  });\n}\n\nvar idleLoadingQueue = [];\nvar loadingInProgress = void 0;\nfunction addToLoadingQueue(_ref3) {\n  var url = _ref3.url,\n      priority = _ref3.priority;\n\n  evite.when('window.load').then(function () {\n    priority = priority || 0;\n    if (url) {\n      idleLoadingQueue.splice(priority, 0, url);\n      if (!loadingInProgress) {\n        evite.requestIdleCallback(loadNextInQueue);\n      }\n    }\n  });\n\n  return evite.when(url);\n}\n\nfunction loadNextInQueue() {\n  if (!loadingInProgress && idleLoadingQueue.length) {\n    loadingInProgress = true;\n\n    var url = idleLoadingQueue.pop();\n    var isImage = /\\.(jpeg|jpg|gif|png)\\b/i.test(url);\n    if (isImage) {\n      var image = new Image();\n      var completeHandler = handleQueueLoadComplete.bind(null, url, image);\n      image.addEventListener('load', completeHandler);\n      image.addEventListener('error', completeHandler);\n      image.src = url;\n      return;\n    }\n\n    var isCss = /\\.(css)\\b/i.test(url);\n    if (isCss) {\n      var link = evite.dom.createElement('<link rel=\"stylesheet\" media=\"none\"/>');\n      var _completeHandler = handleQueueLoadComplete.bind(null, url, link);\n      link.addEventListener('load', _completeHandler);\n      link.addEventListener('error', _completeHandler);\n      link.setAttribute('href', url);\n      document.body.appendChild(link);\n      return;\n    }\n\n    handleQueueLoadComplete();\n  }\n}\n\nfunction handleQueueLoadComplete(url, value) {\n  loadingInProgress = false;\n  if (url) {\n    evite.resolve(url, value);\n  }\n\n  evite.requestIdleCallback(loadNextInQueue);\n}\n\nfunction isDomNode(o) {\n  if (!o) {\n    return false;\n  }\n  return window.HTMLElement && o instanceof HTMLElement || o.nodeType === 1 && typeof o.nodeName === 'string';\n}\n\nexports.default = exports;\n\n/***/ }),\n\n/***/ 284:\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\n\nObject.defineProperty(exports, \"__esModule\", {\n  value: true\n});\nexports.history = undefined;\n\nvar _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if (\"value\" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }();\n\nvar _Emitter2 = __webpack_require__(161);\n\nvar _Emitter3 = _interopRequireDefault(_Emitter2);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\n\nfunction _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\"); } return call && (typeof call === \"object\" || typeof call === \"function\") ? call : self; }\n\nfunction _inherits(subClass, superClass) { if (typeof superClass !== \"function\" && superClass !== null) { throw new TypeError(\"Super expression must either be null or a function, not \" + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; }\n\nvar evite = window.evite = window.evite || {};\n\n\nif (evite.history) {\n  throw new Error('Unexpected copy of evite.history module exported, you might have used an unusual import instead of the \"evite\" alias.');\n}\n\nvar _history = window.history;\n\nvar History = function (_Emitter) {\n  _inherits(History, _Emitter);\n\n  function History() {\n    _classCallCheck(this, History);\n\n    return _possibleConstructorReturn(this, (History.__proto__ || Object.getPrototypeOf(History)).apply(this, arguments));\n  }\n\n  _createClass(History, [{\n    key: 'back',\n    value: function back() {\n      _history && _history.back();\n    }\n  }, {\n    key: 'forward',\n    value: function forward() {\n      _history && _history.forward();\n    }\n  }, {\n    key: 'go',\n    value: function go(index) {\n      _history && _history.go(index);\n      this.dispatchEvent(new CustomEvent('change'));\n    }\n  }, {\n    key: 'pushState',\n    value: function pushState() {\n      for (var _len = arguments.length, args = Array(_len), _key = 0; _key < _len; _key++) {\n        args[_key] = arguments[_key];\n      }\n\n      _history && _history.pushState.apply(_history, args);\n      this.dispatchEvent(new CustomEvent('change'));\n    }\n  }, {\n    key: 'replaceState',\n    value: function replaceState() {\n      for (var _len2 = arguments.length, args = Array(_len2), _key2 = 0; _key2 < _len2; _key2++) {\n        args[_key2] = arguments[_key2];\n      }\n\n      _history && _history.replaceState.apply(_history, args);\n      this.dispatchEvent(new CustomEvent('change'));\n    }\n  }, {\n    key: 'length',\n    get: function get() {\n      return _history && _history.length || 0;\n    }\n  }, {\n    key: 'state',\n    get: function get() {\n      return _history && _history.state || null;\n    }\n  }]);\n\n  return History;\n}(_Emitter3.default);\n\nvar history = exports.history = new History();\nexports.default = history;\n\n/***/ }),\n\n/***/ 285:\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\n\nObject.defineProperty(exports, \"__esModule\", {\n  value: true\n});\nexports.fetch = undefined;\n\nvar _typeof = typeof Symbol === \"function\" && typeof Symbol.iterator === \"symbol\" ? function (obj) { return typeof obj; } : function (obj) { return obj && typeof Symbol === \"function\" && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj; };\n\nexports.noop = noop;\nexports.str = str;\nexports.int = int;\nexports.guid = guid;\nexports.scope = scope;\nexports.liveBind = liveBind;\nexports.requestIdleCallback = requestIdleCallback;\nexports.sleep = sleep;\nexports.map = map;\nexports.lazyLoadImage = lazyLoadImage;\nexports.hasOwn = hasOwn;\nexports.isPlainObject = isPlainObject;\nexports.toJSON = toJSON;\nexports.debounce = debounce;\n\nvar _promises = __webpack_require__(163);\n\nvar _promises2 = _interopRequireDefault(_promises);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nfunction _asyncToGenerator(fn) { return function () { var gen = fn.apply(this, arguments); return new Promise(function (resolve, reject) { function step(key, arg) { try { var info = gen[key](arg); var value = info.value; } catch (error) { reject(error); return; } if (info.done) { resolve(value); } else { return Promise.resolve(value).then(function (value) { step(\"next\", value); }, function (err) { step(\"throw\", err); }); } } return step(\"next\"); }); }; }\n\nvar evite = window.evite = window.evite || {};\n\n/**\n * @note imports happen at the end of the file, so async functions\n * in this file must take precautions caused from hoisting.\n **/\n// TODO - Remove once homepage branch merged in (shift to command pattern)\nwindow.regeneratorRuntime = __webpack_require__(286);\n\nif (evite.utils) {\n  throw new Error('Unexpected copy of evite.utils module exported, you might have used an unusual import instead of the \"evite\" alias.');\n}\n\nvar globalIdDefaultPrefix = Math.floor(Math.random() * 2147483647).toString(36);\nvar globalIdIndex = 0;\n\nfunction noop() {}\n\nfunction str(value) {\n  if (typeof value === 'string') {\n    return value;\n  }\n  if (value) {\n    return value.toString();\n  }\n  return '';\n}\n\nfunction int(value) {\n  return value | 0;\n}\n\nfunction guid() {\n  var opt_prefix = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : 'guid';\n\n  return opt_prefix + '-' + globalIdDefaultPrefix + '-' + globalIdIndex++;\n}\n\nfunction scope(fn) {\n  fn();\n}\n\nfunction liveBindException(arg, value, valid) {\n  this.message = 'liveBindException: ';\n  this.name = 'liveBindException';\n  if (arg) {\n    this.message += 'liveBind argument \"' + arg + '\" missing or invalid';\n  }\n  if (value) {\n    this.message += ' \\u2013\\u2013 \"' + value + '\" supplied';\n  }\n  if (valid) {\n    this.message += ', should be \"' + valid + '\"';\n  }\n}\n/**\n * Execute a function and handle exceptions. This function should never throw an exception.\n *\n * @param rootNode: a document node\n * @param eventType: a string that describes the event being bound\n * @param childQuerySelector: a query selector string '#selectorId, .selectorClass'\n * @param callback: function to call when the event is triggered -\n *                  if callback's \"thisArg\" is not bound, passes event target as first param.\n */\nfunction liveBind(rootNode, eventType, childQuerySelector, callback) {\n  var _arguments = arguments;\n\n  if (!rootNode) {\n    // if node is not on the page, do not go any further.\n    return;\n  }\n  try {\n    if (!evite.dom.isDomNode(rootNode)) {\n      throw new liveBindException('rootNode', rootNode, 'Node');\n    } else if (!eventType || typeof eventType !== 'string') {\n      throw new liveBindException('eventType', eventType, 'string');\n    } else if (!childQuerySelector || typeof childQuerySelector !== 'string') {\n      throw new liveBindException('childQuerySelector', childQuerySelector, 'string');\n    } else if (!callback || typeof callback !== 'function') {\n      throw new liveBindException('callback', callback, 'function');\n    }\n    rootNode.addEventListener(eventType, function (e) {\n      if (e.target.matches(childQuerySelector)) {\n        callback.call.apply(callback, [e.target, e].concat(Array.prototype.slice.call(_arguments)));\n      }\n    }, true);\n  } catch (exception) {\n    if (false) {\n      throw exception;\n    } else if (console && console.warn) {\n      evite.warn(exception.name + ': ' + exception.message);\n    }\n  }\n}\n\nvar fetch = exports.fetch = function () {\n  return function () {\n    var _ref = _asyncToGenerator( /*#__PURE__*/regeneratorRuntime.mark(function _callee(url) {\n      var opt_config = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};\n      var fetch, response, headers, contentType, isJsonContentType, clonedResponse;\n      return regeneratorRuntime.wrap(function _callee$(_context) {\n        while (1) {\n          switch (_context.prev = _context.next) {\n            case 0:\n              _context.next = 2;\n              return evite.when('fetch');\n\n            case 2:\n              fetch = _context.sent;\n\n              evite.info('fetch: ' + url);\n\n              _context.next = 6;\n              return fetch(url, opt_config);\n\n            case 6:\n              response = _context.sent;\n              headers = response.headers;\n              contentType = headers && (headers.get && headers.get('content-type') || headers['content-type']);\n              isJsonContentType = contentType && contentType.includes('json');\n\n\n              if (isJsonContentType) {\n                // make sure to clone before the callback so we don't accidentally wind up re-reading the body\n                clonedResponse = response.clone();\n\n                evite.when('dfp').then(function () {\n                  return clonedResponse.json();\n                }).then(function (json) {\n                  if (window.dataLayer && json && (typeof json === 'undefined' ? 'undefined' : _typeof(json)) === 'object' && json.data_layer) {\n                    window.dataLayer.push(json.data_layer);\n                  }\n                }).catch(function (e) {\n                  evite.error('Failed to update dataLayer');\n                  Raven.captureException(e);\n                });\n              }\n\n              evite.resolve(url, response);\n              return _context.abrupt('return', response);\n\n            case 13:\n            case 'end':\n              return _context.stop();\n          }\n        }\n      }, _callee, this);\n    }));\n\n    function fetch(_x2) {\n      return _ref.apply(this, arguments);\n    }\n\n    return fetch;\n  }();\n}();\n\nfunction requestIdleCallbackFallBack(callback) {\n  return setTimeout(function () {\n    var start = Date.now();\n    callback({\n      didTimeout: false,\n      timeRemaining: function timeRemaining() {\n        return Math.max(0, 50 - (Date.now() - start));\n      }\n    });\n  }, 1);\n}\n\nfunction requestIdleCallback(callback) {\n  if (evite.global.requestIdleCallback) {\n    return evite.global.requestIdleCallback(callback);\n  }\n\n  return requestIdleCallbackFallBack(callback);\n}\n\nfunction sleep(time) {\n  return new Promise(function (resolve) {\n    setTimeout(resolve, time);\n  });\n}\n\nfunction map(arrOrNum, fn) {\n  var arr = Array.isArray(arrOrNum) ? arrOrNum : new Array(arrOrNum);\n  var i = 0;\n  var length = arr.length;\n\n  var values = [];\n  for (var _i = 0; _i < length; ++_i) {\n    values.push(fn(arr[_i], _i, arr));\n  }\n  return values;\n}\n\n// TODO - move out of this file\nfunction lazyLoadImage(_ref2) {\n  var el = _ref2.el,\n      loadWhen = _ref2.loadWhen,\n      src = _ref2.src,\n      priority = _ref2.priority;\n\n  return new Promise(function (resolve, reject) {\n    el.classList.add('lazy-loader-initialize');\n    var readyToBeginLoading = loadWhen ? evite.when(loadWhen) : Promise.resolve();\n    readyToBeginLoading.then(function () {\n      el.classList.remove('lazy-loader-initialize');\n      el.classList.add('lazy-loader-loading');\n\n      var loadingAnimationContainerList = el.parentElement.getElementsByClassName('loading-animation-container');\n      var loadingAnimationContainer = loadingAnimationContainerList && loadingAnimationContainerList.length && loadingAnimationContainerList[0];\n      var loadingStatus = loadingAnimationContainer && (loadingAnimationContainer.querySelector('.loading-animation-status') || loadingAnimationContainer.querySelector('.loading-animation-spinner'));\n\n      if (loadingAnimationContainer) {\n        loadingAnimationContainer.classList.remove('hidden');\n      }\n\n      if (loadingStatus) {\n        loadingStatus.classList.add('loading-animation-status');\n        loadingStatus.classList.add('loading-animation-spinner');\n      }\n\n      preloadImage(src, priority || 0).then(function () {\n        if (loadingAnimationContainer) {\n          loadingAnimationContainer.classList.add('hidden');\n        }\n\n        el.classList.remove('lazy-loader-loading');\n        el.classList.add('lazy-loader-complete');\n        el.src = src;\n        el.classList.remove('hidden');\n\n        resolve(el);\n      }).catch(function (message) {\n        if (loadingStatus) {\n          loadingStatus.classList.remove('loading-animation-spinner');\n          loadingStatus.classList.add('loading-animation-error');\n          loadingStatus.classList.add('icon-attention-alt');\n        }\n        if (loadingAnimationContainer) {\n          loadingAnimationContainer.title = 'An error occurred downloading the image.' + (el.title ? '\\n' + el.title : '');\n          loadingAnimationContainer.classList.remove('hidden');\n        }\n\n        reject(message);\n      });\n    });\n  });\n}\n\nvar hasOwnProperty = Object.prototype.hasOwnProperty;\n\nfunction hasOwn(obj, key) {\n  return hasOwnProperty.call(obj, key);\n}\n\nvar OBJECT_STRING = '[object Object]';\nfunction isPlainObject(obj) {\n  return toString.call(obj) === OBJECT_STRING;\n}\n\nvar imageQueue = [];\nfunction preloadImage(src, priority) {\n  for (var i = 0; i <= priority; ++i) {\n    imageQueue[priority] = imageQueue[priority] || [];\n  }\n\n  return new Promise(function (resolve, reject) {\n    var image = new Image();\n    image.addEventListener('load', function () {\n      evite.resolve(src, image).then(resolve);\n    });\n    image.addEventListener('error', function (event) {\n      reject('Image failed to load: src=\"' + src + '\"\\'');\n    });\n    image.src = src;\n  });\n}\n\nfunction toJSON(value) {\n  if (!value && value === null || value === undefined) {\n    return value;\n  }\n\n  if (typeof value === 'function' || value instanceof Function) {\n    return null;\n  }\n\n  if ((typeof value === 'undefined' ? 'undefined' : _typeof(value)) === 'object' && 'toJSON' in value) {\n    value = value.toJSON();\n  }\n\n  if (Array.isArray(value)) {\n    return value.map(toJSON);\n  }\n\n  if ((typeof value === 'undefined' ? 'undefined' : _typeof(value)) === 'object') {\n    var attributes = {};\n    for (var key in value) {\n      attributes[key] = toJSON(value[key]);\n    }\n    return attributes;\n  }\n\n  try {\n    return JSON.parse(value);\n  } catch (error) {}\n\n  return value;\n}\n\nfunction debounce(func, wait, immediate) {\n  var timeout = void 0;\n  var result = void 0;\n\n  function delay(func, wait) {\n    for (var _len = arguments.length, args = Array(_len > 2 ? _len - 2 : 0), _key = 2; _key < _len; _key++) {\n      args[_key - 2] = arguments[_key];\n    }\n\n    return setTimeout(function () {\n      return func.apply(null, args);\n    }, wait);\n  }\n\n  function later(context, args) {\n    timeout = null;\n    if (args) {\n      result = func.apply(context, args);\n    }\n  }\n\n  function debounced() {\n    if (timeout) {\n      clearTimeout(timeout);\n    }\n\n    for (var _len2 = arguments.length, args = Array(_len2), _key2 = 0; _key2 < _len2; _key2++) {\n      args[_key2] = arguments[_key2];\n    }\n\n    if (immediate) {\n      var callNow = !timeout;\n      timeout = setTimeout(later, wait);\n      if (callNow) {\n        result = func.apply(this, args);\n      }\n    } else {\n      timeout = delay(later, wait, this, args);\n    }\n    return result;\n  }\n\n  debounced.cancel = function () {\n    clearTimeout(timeout);\n    timeout = null;\n  };\n  return debounced;\n}\n\n_promises2.default.when('evite').then(function (evite) {\n  function onReadyStateChange() {\n    if (document.readyState === 'interactive' || document.readyState === 'complete') {\n      evite.resolve('document.ready', document);\n    }\n\n    if (document.readyState === 'complete') {\n      evite.resolve('window.load', window);\n    }\n  }\n\n  document.addEventListener('readystatechange', onReadyStateChange);\n  document.addEventListener('DOMContentLoaded', onReadyStateChange);\n  document.addEventListener('load', onReadyStateChange);\n\n  onReadyStateChange();\n});\n\n_promises2.default.when('document.ready').then(function () {\n  window.requestAnimationFrame && window.requestAnimationFrame(function () {\n    requestAnimationFrame(function () {\n      evite.resolve('page.render');\n    });\n  });\n});\n\nexports.default = exports;\n\n/***/ }),\n\n/***/ 286:\n/***/ (function(module, exports, __webpack_require__) {\n\n/* WEBPACK VAR INJECTION */(function(global) {// This method of obtaining a reference to the global object needs to be\n// kept identical to the way it is obtained in runtime.js\nvar g =\n  typeof global === \"object\" ? global :\n  typeof window === \"object\" ? window :\n  typeof self === \"object\" ? self : this;\n\n// Use `getOwnPropertyNames` because not all browsers support calling\n// `hasOwnProperty` on the global `self` object in a worker. See #183.\nvar hadRuntime = g.regeneratorRuntime &&\n  Object.getOwnPropertyNames(g).indexOf(\"regeneratorRuntime\") >= 0;\n\n// Save the old regeneratorRuntime in case it needs to be restored later.\nvar oldRuntime = hadRuntime && g.regeneratorRuntime;\n\n// Force reevalutation of runtime.js.\ng.regeneratorRuntime = undefined;\n\nmodule.exports = __webpack_require__(287);\n\nif (hadRuntime) {\n  // Restore the original runtime.\n  g.regeneratorRuntime = oldRuntime;\n} else {\n  // Remove the global property added by runtime.js.\n  try {\n    delete g.regeneratorRuntime;\n  } catch(e) {\n    g.regeneratorRuntime = undefined;\n  }\n}\n\n/* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(5)))\n\n/***/ }),\n\n/***/ 287:\n/***/ (function(module, exports, __webpack_require__) {\n\n/* WEBPACK VAR INJECTION */(function(global) {/**\n * Copyright (c) 2014, Facebook, Inc.\n * All rights reserved.\n *\n * This source code is licensed under the BSD-style license found in the\n * https://raw.github.com/facebook/regenerator/master/LICENSE file. An\n * additional grant of patent rights can be found in the PATENTS file in\n * the same directory.\n */\n\n!(function(global) {\n  \"use strict\";\n\n  var Op = Object.prototype;\n  var hasOwn = Op.hasOwnProperty;\n  var undefined; // More compressible than void 0.\n  var $Symbol = typeof Symbol === \"function\" ? Symbol : {};\n  var iteratorSymbol = $Symbol.iterator || \"@@iterator\";\n  var asyncIteratorSymbol = $Symbol.asyncIterator || \"@@asyncIterator\";\n  var toStringTagSymbol = $Symbol.toStringTag || \"@@toStringTag\";\n\n  var inModule = typeof module === \"object\";\n  var runtime = global.regeneratorRuntime;\n  if (runtime) {\n    if (inModule) {\n      // If regeneratorRuntime is defined globally and we're in a module,\n      // make the exports object identical to regeneratorRuntime.\n      module.exports = runtime;\n    }\n    // Don't bother evaluating the rest of this file if the runtime was\n    // already defined globally.\n    return;\n  }\n\n  // Define the runtime globally (as expected by generated code) as either\n  // module.exports (if we're in a module) or a new, empty object.\n  runtime = global.regeneratorRuntime = inModule ? module.exports : {};\n\n  function wrap(innerFn, outerFn, self, tryLocsList) {\n    // If outerFn provided and outerFn.prototype is a Generator, then outerFn.prototype instanceof Generator.\n    var protoGenerator = outerFn && outerFn.prototype instanceof Generator ? outerFn : Generator;\n    var generator = Object.create(protoGenerator.prototype);\n    var context = new Context(tryLocsList || []);\n\n    // The ._invoke method unifies the implementations of the .next,\n    // .throw, and .return methods.\n    generator._invoke = makeInvokeMethod(innerFn, self, context);\n\n    return generator;\n  }\n  runtime.wrap = wrap;\n\n  // Try/catch helper to minimize deoptimizations. Returns a completion\n  // record like context.tryEntries[i].completion. This interface could\n  // have been (and was previously) designed to take a closure to be\n  // invoked without arguments, but in all the cases we care about we\n  // already have an existing method we want to call, so there's no need\n  // to create a new function object. We can even get away with assuming\n  // the method takes exactly one argument, since that happens to be true\n  // in every case, so we don't have to touch the arguments object. The\n  // only additional allocation required is the completion record, which\n  // has a stable shape and so hopefully should be cheap to allocate.\n  function tryCatch(fn, obj, arg) {\n    try {\n      return { type: \"normal\", arg: fn.call(obj, arg) };\n    } catch (err) {\n      return { type: \"throw\", arg: err };\n    }\n  }\n\n  var GenStateSuspendedStart = \"suspendedStart\";\n  var GenStateSuspendedYield = \"suspendedYield\";\n  var GenStateExecuting = \"executing\";\n  var GenStateCompleted = \"completed\";\n\n  // Returning this object from the innerFn has the same effect as\n  // breaking out of the dispatch switch statement.\n  var ContinueSentinel = {};\n\n  // Dummy constructor functions that we use as the .constructor and\n  // .constructor.prototype properties for functions that return Generator\n  // objects. For full spec compliance, you may wish to configure your\n  // minifier not to mangle the names of these two functions.\n  function Generator() {}\n  function GeneratorFunction() {}\n  function GeneratorFunctionPrototype() {}\n\n  // This is a polyfill for %IteratorPrototype% for environments that\n  // don't natively support it.\n  var IteratorPrototype = {};\n  IteratorPrototype[iteratorSymbol] = function () {\n    return this;\n  };\n\n  var getProto = Object.getPrototypeOf;\n  var NativeIteratorPrototype = getProto && getProto(getProto(values([])));\n  if (NativeIteratorPrototype &&\n      NativeIteratorPrototype !== Op &&\n      hasOwn.call(NativeIteratorPrototype, iteratorSymbol)) {\n    // This environment has a native %IteratorPrototype%; use it instead\n    // of the polyfill.\n    IteratorPrototype = NativeIteratorPrototype;\n  }\n\n  var Gp = GeneratorFunctionPrototype.prototype =\n    Generator.prototype = Object.create(IteratorPrototype);\n  GeneratorFunction.prototype = Gp.constructor = GeneratorFunctionPrototype;\n  GeneratorFunctionPrototype.constructor = GeneratorFunction;\n  GeneratorFunctionPrototype[toStringTagSymbol] =\n    GeneratorFunction.displayName = \"GeneratorFunction\";\n\n  // Helper for defining the .next, .throw, and .return methods of the\n  // Iterator interface in terms of a single ._invoke method.\n  function defineIteratorMethods(prototype) {\n    [\"next\", \"throw\", \"return\"].forEach(function(method) {\n      prototype[method] = function(arg) {\n        return this._invoke(method, arg);\n      };\n    });\n  }\n\n  runtime.isGeneratorFunction = function(genFun) {\n    var ctor = typeof genFun === \"function\" && genFun.constructor;\n    return ctor\n      ? ctor === GeneratorFunction ||\n        // For the native GeneratorFunction constructor, the best we can\n        // do is to check its .name property.\n        (ctor.displayName || ctor.name) === \"GeneratorFunction\"\n      : false;\n  };\n\n  runtime.mark = function(genFun) {\n    if (Object.setPrototypeOf) {\n      Object.setPrototypeOf(genFun, GeneratorFunctionPrototype);\n    } else {\n      genFun.__proto__ = GeneratorFunctionPrototype;\n      if (!(toStringTagSymbol in genFun)) {\n        genFun[toStringTagSymbol] = \"GeneratorFunction\";\n      }\n    }\n    genFun.prototype = Object.create(Gp);\n    return genFun;\n  };\n\n  // Within the body of any async function, `await x` is transformed to\n  // `yield regeneratorRuntime.awrap(x)`, so that the runtime can test\n  // `hasOwn.call(value, \"__await\")` to determine if the yielded value is\n  // meant to be awaited.\n  runtime.awrap = function(arg) {\n    return { __await: arg };\n  };\n\n  function AsyncIterator(generator) {\n    function invoke(method, arg, resolve, reject) {\n      var record = tryCatch(generator[method], generator, arg);\n      if (record.type === \"throw\") {\n        reject(record.arg);\n      } else {\n        var result = record.arg;\n        var value = result.value;\n        if (value &&\n            typeof value === \"object\" &&\n            hasOwn.call(value, \"__await\")) {\n          return Promise.resolve(value.__await).then(function(value) {\n            invoke(\"next\", value, resolve, reject);\n          }, function(err) {\n            invoke(\"throw\", err, resolve, reject);\n          });\n        }\n\n        return Promise.resolve(value).then(function(unwrapped) {\n          // When a yielded Promise is resolved, its final value becomes\n          // the .value of the Promise<{value,done}> result for the\n          // current iteration. If the Promise is rejected, however, the\n          // result for this iteration will be rejected with the same\n          // reason. Note that rejections of yielded Promises are not\n          // thrown back into the generator function, as is the case\n          // when an awaited Promise is rejected. This difference in\n          // behavior between yield and await is important, because it\n          // allows the consumer to decide what to do with the yielded\n          // rejection (swallow it and continue, manually .throw it back\n          // into the generator, abandon iteration, whatever). With\n          // await, by contrast, there is no opportunity to examine the\n          // rejection reason outside the generator function, so the\n          // only option is to throw it from the await expression, and\n          // let the generator function handle the exception.\n          result.value = unwrapped;\n          resolve(result);\n        }, reject);\n      }\n    }\n\n    if (typeof global.process === \"object\" && global.process.domain) {\n      invoke = global.process.domain.bind(invoke);\n    }\n\n    var previousPromise;\n\n    function enqueue(method, arg) {\n      function callInvokeWithMethodAndArg() {\n        return new Promise(function(resolve, reject) {\n          invoke(method, arg, resolve, reject);\n        });\n      }\n\n      return previousPromise =\n        // If enqueue has been called before, then we want to wait until\n        // all previous Promises have been resolved before calling invoke,\n        // so that results are always delivered in the correct order. If\n        // enqueue has not been called before, then it is important to\n        // call invoke immediately, without waiting on a callback to fire,\n        // so that the async generator function has the opportunity to do\n        // any necessary setup in a predictable way. This predictability\n        // is why the Promise constructor synchronously invokes its\n        // executor callback, and why async functions synchronously\n        // execute code before the first await. Since we implement simple\n        // async functions in terms of async generators, it is especially\n        // important to get this right, even though it requires care.\n        previousPromise ? previousPromise.then(\n          callInvokeWithMethodAndArg,\n          // Avoid propagating failures to Promises returned by later\n          // invocations of the iterator.\n          callInvokeWithMethodAndArg\n        ) : callInvokeWithMethodAndArg();\n    }\n\n    // Define the unified helper method that is used to implement .next,\n    // .throw, and .return (see defineIteratorMethods).\n    this._invoke = enqueue;\n  }\n\n  defineIteratorMethods(AsyncIterator.prototype);\n  AsyncIterator.prototype[asyncIteratorSymbol] = function () {\n    return this;\n  };\n  runtime.AsyncIterator = AsyncIterator;\n\n  // Note that simple async functions are implemented on top of\n  // AsyncIterator objects; they just return a Promise for the value of\n  // the final result produced by the iterator.\n  runtime.async = function(innerFn, outerFn, self, tryLocsList) {\n    var iter = new AsyncIterator(\n      wrap(innerFn, outerFn, self, tryLocsList)\n    );\n\n    return runtime.isGeneratorFunction(outerFn)\n      ? iter // If outerFn is a generator, return the full iterator.\n      : iter.next().then(function(result) {\n          return result.done ? result.value : iter.next();\n        });\n  };\n\n  function makeInvokeMethod(innerFn, self, context) {\n    var state = GenStateSuspendedStart;\n\n    return function invoke(method, arg) {\n      if (state === GenStateExecuting) {\n        throw new Error(\"Generator is already running\");\n      }\n\n      if (state === GenStateCompleted) {\n        if (method === \"throw\") {\n          throw arg;\n        }\n\n        // Be forgiving, per 25.3.3.3.3 of the spec:\n        // https://people.mozilla.org/~jorendorff/es6-draft.html#sec-generatorresume\n        return doneResult();\n      }\n\n      context.method = method;\n      context.arg = arg;\n\n      while (true) {\n        var delegate = context.delegate;\n        if (delegate) {\n          var delegateResult = maybeInvokeDelegate(delegate, context);\n          if (delegateResult) {\n            if (delegateResult === ContinueSentinel) continue;\n            return delegateResult;\n          }\n        }\n\n        if (context.method === \"next\") {\n          // Setting context._sent for legacy support of Babel's\n          // function.sent implementation.\n          context.sent = context._sent = context.arg;\n\n        } else if (context.method === \"throw\") {\n          if (state === GenStateSuspendedStart) {\n            state = GenStateCompleted;\n            throw context.arg;\n          }\n\n          context.dispatchException(context.arg);\n\n        } else if (context.method === \"return\") {\n          context.abrupt(\"return\", context.arg);\n        }\n\n        state = GenStateExecuting;\n\n        var record = tryCatch(innerFn, self, context);\n        if (record.type === \"normal\") {\n          // If an exception is thrown from innerFn, we leave state ===\n          // GenStateExecuting and loop back for another invocation.\n          state = context.done\n            ? GenStateCompleted\n            : GenStateSuspendedYield;\n\n          if (record.arg === ContinueSentinel) {\n            continue;\n          }\n\n          return {\n            value: record.arg,\n            done: context.done\n          };\n\n        } else if (record.type === \"throw\") {\n          state = GenStateCompleted;\n          // Dispatch the exception by looping back around to the\n          // context.dispatchException(context.arg) call above.\n          context.method = \"throw\";\n          context.arg = record.arg;\n        }\n      }\n    };\n  }\n\n  // Call delegate.iterator[context.method](context.arg) and handle the\n  // result, either by returning a { value, done } result from the\n  // delegate iterator, or by modifying context.method and context.arg,\n  // setting context.delegate to null, and returning the ContinueSentinel.\n  function maybeInvokeDelegate(delegate, context) {\n    var method = delegate.iterator[context.method];\n    if (method === undefined) {\n      // A .throw or .return when the delegate iterator has no .throw\n      // method always terminates the yield* loop.\n      context.delegate = null;\n\n      if (context.method === \"throw\") {\n        if (delegate.iterator.return) {\n          // If the delegate iterator has a return method, give it a\n          // chance to clean up.\n          context.method = \"return\";\n          context.arg = undefined;\n          maybeInvokeDelegate(delegate, context);\n\n          if (context.method === \"throw\") {\n            // If maybeInvokeDelegate(context) changed context.method from\n            // \"return\" to \"throw\", let that override the TypeError below.\n            return ContinueSentinel;\n          }\n        }\n\n        context.method = \"throw\";\n        context.arg = new TypeError(\n          \"The iterator does not provide a 'throw' method\");\n      }\n\n      return ContinueSentinel;\n    }\n\n    var record = tryCatch(method, delegate.iterator, context.arg);\n\n    if (record.type === \"throw\") {\n      context.method = \"throw\";\n      context.arg = record.arg;\n      context.delegate = null;\n      return ContinueSentinel;\n    }\n\n    var info = record.arg;\n\n    if (! info) {\n      context.method = \"throw\";\n      context.arg = new TypeError(\"iterator result is not an object\");\n      context.delegate = null;\n      return ContinueSentinel;\n    }\n\n    if (info.done) {\n      // Assign the result of the finished delegate to the temporary\n      // variable specified by delegate.resultName (see delegateYield).\n      context[delegate.resultName] = info.value;\n\n      // Resume execution at the desired location (see delegateYield).\n      context.next = delegate.nextLoc;\n\n      // If context.method was \"throw\" but the delegate handled the\n      // exception, let the outer generator proceed normally. If\n      // context.method was \"next\", forget context.arg since it has been\n      // \"consumed\" by the delegate iterator. If context.method was\n      // \"return\", allow the original .return call to continue in the\n      // outer generator.\n      if (context.method !== \"return\") {\n        context.method = \"next\";\n        context.arg = undefined;\n      }\n\n    } else {\n      // Re-yield the result returned by the delegate method.\n      return info;\n    }\n\n    // The delegate iterator is finished, so forget it and continue with\n    // the outer generator.\n    context.delegate = null;\n    return ContinueSentinel;\n  }\n\n  // Define Generator.prototype.{next,throw,return} in terms of the\n  // unified ._invoke helper method.\n  defineIteratorMethods(Gp);\n\n  Gp[toStringTagSymbol] = \"Generator\";\n\n  // A Generator should always return itself as the iterator object when the\n  // @@iterator function is called on it. Some browsers' implementations of the\n  // iterator prototype chain incorrectly implement this, causing the Generator\n  // object to not be returned from this call. This ensures that doesn't happen.\n  // See https://github.com/facebook/regenerator/issues/274 for more details.\n  Gp[iteratorSymbol] = function() {\n    return this;\n  };\n\n  Gp.toString = function() {\n    return \"[object Generator]\";\n  };\n\n  function pushTryEntry(locs) {\n    var entry = { tryLoc: locs[0] };\n\n    if (1 in locs) {\n      entry.catchLoc = locs[1];\n    }\n\n    if (2 in locs) {\n      entry.finallyLoc = locs[2];\n      entry.afterLoc = locs[3];\n    }\n\n    this.tryEntries.push(entry);\n  }\n\n  function resetTryEntry(entry) {\n    var record = entry.completion || {};\n    record.type = \"normal\";\n    delete record.arg;\n    entry.completion = record;\n  }\n\n  function Context(tryLocsList) {\n    // The root entry object (effectively a try statement without a catch\n    // or a finally block) gives us a place to store values thrown from\n    // locations where there is no enclosing try statement.\n    this.tryEntries = [{ tryLoc: \"root\" }];\n    tryLocsList.forEach(pushTryEntry, this);\n    this.reset(true);\n  }\n\n  runtime.keys = function(object) {\n    var keys = [];\n    for (var key in object) {\n      keys.push(key);\n    }\n    keys.reverse();\n\n    // Rather than returning an object with a next method, we keep\n    // things simple and return the next function itself.\n    return function next() {\n      while (keys.length) {\n        var key = keys.pop();\n        if (key in object) {\n          next.value = key;\n          next.done = false;\n          return next;\n        }\n      }\n\n      // To avoid creating an additional object, we just hang the .value\n      // and .done properties off the next function object itself. This\n      // also ensures that the minifier will not anonymize the function.\n      next.done = true;\n      return next;\n    };\n  };\n\n  function values(iterable) {\n    if (iterable) {\n      var iteratorMethod = iterable[iteratorSymbol];\n      if (iteratorMethod) {\n        return iteratorMethod.call(iterable);\n      }\n\n      if (typeof iterable.next === \"function\") {\n        return iterable;\n      }\n\n      if (!isNaN(iterable.length)) {\n        var i = -1, next = function next() {\n          while (++i < iterable.length) {\n            if (hasOwn.call(iterable, i)) {\n              next.value = iterable[i];\n              next.done = false;\n              return next;\n            }\n          }\n\n          next.value = undefined;\n          next.done = true;\n\n          return next;\n        };\n\n        return next.next = next;\n      }\n    }\n\n    // Return an iterator with no values.\n    return { next: doneResult };\n  }\n  runtime.values = values;\n\n  function doneResult() {\n    return { value: undefined, done: true };\n  }\n\n  Context.prototype = {\n    constructor: Context,\n\n    reset: function(skipTempReset) {\n      this.prev = 0;\n      this.next = 0;\n      // Resetting context._sent for legacy support of Babel's\n      // function.sent implementation.\n      this.sent = this._sent = undefined;\n      this.done = false;\n      this.delegate = null;\n\n      this.method = \"next\";\n      this.arg = undefined;\n\n      this.tryEntries.forEach(resetTryEntry);\n\n      if (!skipTempReset) {\n        for (var name in this) {\n          // Not sure about the optimal order of these conditions:\n          if (name.charAt(0) === \"t\" &&\n              hasOwn.call(this, name) &&\n              !isNaN(+name.slice(1))) {\n            this[name] = undefined;\n          }\n        }\n      }\n    },\n\n    stop: function() {\n      this.done = true;\n\n      var rootEntry = this.tryEntries[0];\n      var rootRecord = rootEntry.completion;\n      if (rootRecord.type === \"throw\") {\n        throw rootRecord.arg;\n      }\n\n      return this.rval;\n    },\n\n    dispatchException: function(exception) {\n      if (this.done) {\n        throw exception;\n      }\n\n      var context = this;\n      function handle(loc, caught) {\n        record.type = \"throw\";\n        record.arg = exception;\n        context.next = loc;\n\n        if (caught) {\n          // If the dispatched exception was caught by a catch block,\n          // then let that catch block handle the exception normally.\n          context.method = \"next\";\n          context.arg = undefined;\n        }\n\n        return !! caught;\n      }\n\n      for (var i = this.tryEntries.length - 1; i >= 0; --i) {\n        var entry = this.tryEntries[i];\n        var record = entry.completion;\n\n        if (entry.tryLoc === \"root\") {\n          // Exception thrown outside of any try block that could handle\n          // it, so set the completion value of the entire function to\n          // throw the exception.\n          return handle(\"end\");\n        }\n\n        if (entry.tryLoc <= this.prev) {\n          var hasCatch = hasOwn.call(entry, \"catchLoc\");\n          var hasFinally = hasOwn.call(entry, \"finallyLoc\");\n\n          if (hasCatch && hasFinally) {\n            if (this.prev < entry.catchLoc) {\n              return handle(entry.catchLoc, true);\n            } else if (this.prev < entry.finallyLoc) {\n              return handle(entry.finallyLoc);\n            }\n\n          } else if (hasCatch) {\n            if (this.prev < entry.catchLoc) {\n              return handle(entry.catchLoc, true);\n            }\n\n          } else if (hasFinally) {\n            if (this.prev < entry.finallyLoc) {\n              return handle(entry.finallyLoc);\n            }\n\n          } else {\n            throw new Error(\"try statement without catch or finally\");\n          }\n        }\n      }\n    },\n\n    abrupt: function(type, arg) {\n      for (var i = this.tryEntries.length - 1; i >= 0; --i) {\n        var entry = this.tryEntries[i];\n        if (entry.tryLoc <= this.prev &&\n            hasOwn.call(entry, \"finallyLoc\") &&\n            this.prev < entry.finallyLoc) {\n          var finallyEntry = entry;\n          break;\n        }\n      }\n\n      if (finallyEntry &&\n          (type === \"break\" ||\n           type === \"continue\") &&\n          finallyEntry.tryLoc <= arg &&\n          arg <= finallyEntry.finallyLoc) {\n        // Ignore the finally entry if control is not jumping to a\n        // location outside the try/catch block.\n        finallyEntry = null;\n      }\n\n      var record = finallyEntry ? finallyEntry.completion : {};\n      record.type = type;\n      record.arg = arg;\n\n      if (finallyEntry) {\n        this.method = \"next\";\n        this.next = finallyEntry.finallyLoc;\n        return ContinueSentinel;\n      }\n\n      return this.complete(record);\n    },\n\n    complete: function(record, afterLoc) {\n      if (record.type === \"throw\") {\n        throw record.arg;\n      }\n\n      if (record.type === \"break\" ||\n          record.type === \"continue\") {\n        this.next = record.arg;\n      } else if (record.type === \"return\") {\n        this.rval = this.arg = record.arg;\n        this.method = \"return\";\n        this.next = \"end\";\n      } else if (record.type === \"normal\" && afterLoc) {\n        this.next = afterLoc;\n      }\n\n      return ContinueSentinel;\n    },\n\n    finish: function(finallyLoc) {\n      for (var i = this.tryEntries.length - 1; i >= 0; --i) {\n        var entry = this.tryEntries[i];\n        if (entry.finallyLoc === finallyLoc) {\n          this.complete(entry.completion, entry.afterLoc);\n          resetTryEntry(entry);\n          return ContinueSentinel;\n        }\n      }\n    },\n\n    \"catch\": function(tryLoc) {\n      for (var i = this.tryEntries.length - 1; i >= 0; --i) {\n        var entry = this.tryEntries[i];\n        if (entry.tryLoc === tryLoc) {\n          var record = entry.completion;\n          if (record.type === \"throw\") {\n            var thrown = record.arg;\n            resetTryEntry(entry);\n          }\n          return thrown;\n        }\n      }\n\n      // The context.catch method must only be called with a location\n      // argument that corresponds to a known catch block.\n      throw new Error(\"illegal catch attempt\");\n    },\n\n    delegateYield: function(iterable, resultName, nextLoc) {\n      this.delegate = {\n        iterator: values(iterable),\n        resultName: resultName,\n        nextLoc: nextLoc\n      };\n\n      if (this.method === \"next\") {\n        // Deliberately forget the last sent value so that we don't\n        // accidentally pass it on to the delegate.\n        this.arg = undefined;\n      }\n\n      return ContinueSentinel;\n    }\n  };\n})(\n  // Among the various tricks for obtaining a reference to the global\n  // object, this seems to be the most reliable technique that does not\n  // use indirect eval (which violates Content Security Policy).\n  typeof global === \"object\" ? global :\n  typeof window === \"object\" ? window :\n  typeof self === \"object\" ? self : this\n);\n\n/* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(5)))\n\n/***/ }),\n\n/***/ 288:\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\n\nObject.defineProperty(exports, \"__esModule\", {\n    value: true\n});\n\nvar _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if (\"value\" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }();\n\nfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\n\nvar evite = window.evite = window.evite || {};\n\nif (evite.urls) throw new Error(\"URLs is already defined on window.evite!\");\n\n// TODO - switch to static class over singleton\n\nvar URLs = function () {\n    _createClass(URLs, null, [{\n        key: 'getInstance',\n        value: function getInstance() {\n            URLs._instance = URLs._instance || new URLs();\n            return URLs._instance;\n        }\n    }]);\n\n    function URLs() {\n        _classCallCheck(this, URLs);\n\n        if (URLs._instance) {\n            return URLs._instance;\n        }\n        URLs._instance = this;\n\n        this.urls = {\n            'home': '/',\n            'create': this._create,\n            'forgot_password': null,\n            'gallery': this._gallery,\n            'gallery/category': function galleryCategory(data) {\n                return '/gallery/category/' + data.category + '/';\n            },\n            'ajax_gallery_suggestions': function ajax_gallery_suggestions(data) {\n                return '/ajax/gallery/suggestions/' + data.search + '/';\n            },\n            'ajax_gallery_category': function ajax_gallery_category(data) {\n                return '/ajax/gallery/' + data.category + '/';\n            },\n            'ajax_gallery_template': function ajax_gallery_template(data) {\n                return '/services/gallery/templates/' + data.template + '/';\n            },\n            'ajax_gallery_category_featured': function ajax_gallery_category_featured(data) {\n                return '/ajax/gallery/' + data.category + '/featured/';\n            },\n            'ajax_gallery_favorites': function ajax_gallery_favorites() {\n                return '/ajax/gallery/favorites/';\n            },\n            'ajax_event_suggestions': function ajax_event_suggestions(data) {\n                return '/ajax/event/suggestions/' + data.search + '/';\n            },\n            'ajax_event_settings': function ajax_event_settings(data) {\n                return '/ajax/event/' + data.event_id + '/view/settings/';\n            },\n            'ajax_event_guestlist': function ajax_event_guestlist(data) {\n                return '/ajax/event/' + data.event_id + '/guestlist/?gid=' + data.gid;\n            },\n            'ajax_event_avatars': function ajax_event_avatars(data) {\n                return '/ajax/event/' + data.event_id + '/guestlist/avatars/?gid=' + data.gid;\n            },\n            'ajax_edit_guest_tags': function ajax_edit_guest_tags(data) {\n                return '/ajax/event/' + data.event_id + '/posts/' + data.post_id + '/tags/?gid=' + data.gid;\n            },\n            'ajax_render_event_image': function ajax_render_event_image(data) {\n                return '/ajax/event/' + data.event_id + '/renderimage/';\n            },\n            'ajax_event_posts': function ajax_event_posts(data) {\n                return '/ajax/event/' + data.event_id + '/posts/?cursor=' + (data.cursor || '') + '&gid=' + data.gid;\n            },\n            'ajax_event_photos': function ajax_event_photos(data) {\n                return '/ajax/event/' + data.event_id + '/posts/photos/?per_page=' + (data.per_page || 10) + '&cursor=' + (data.cursor || '') + '&gid=' + data.gid;\n            },\n            'ajax_event_guestlist_search': function ajax_event_guestlist_search(data) {\n                return '/ajax/event/' + data.event_id + '/guestlist/search/?q=' + data.search_term + '&gid=' + data.gid + '&limit=' + (data.limit || 10);\n            },\n            'login': '/login/',\n            'login_modal': '/modal/login/',\n            'register_modal': '/modal/register/',\n            'recaptcha': '/modal/recaptcha/',\n            'sms_captcha': '/modal/sms_captcha/',\n            'ad_captcha': '/modal/ad_captcha/',\n            'modal_dialog': '/modal/dialog',\n            'modal_warning': '/modal/warning',\n            'modal_loading': '/modal/loading',\n            'modal_ajax_error': '/modal/ajax_error/',\n            'import_contacts': '/profile/contacts/import/',\n            'ajax_user_status': '/ajax/settings/account/status/',\n            'modal_merge_registered': '/modal/settings/account/merge/registered/',\n            'modal_merge_secondary': '/modal/settings/account/merge/secondary/',\n            'ajax_merge_registered': '/ajax/settings/account/merge/registered/',\n            'modal_contacts_edit': '/modal/profile/contacts/edit',\n            'modal_contacts_new': '/modal/profile/contacts/new',\n            'modal_contacts_groups_edit': '/modal/profile/contacts/groups/edit',\n            'modal_contacts_groups_new': '/modal/profile/contacts/groups/new',\n            'modal_contacts_add__select_group': '/modal/profile/contacts/groups/select',\n            'modal_contacts_add__list': '/modal/profile/contacts/groups/list',\n            'modal_recurring_event': '/modal/event/recurring_event/',\n            'ajax_event_schedule': function ajax_event_schedule(data) {\n                return '/ajax/event/recurring_event/' + data.event_id + '/';\n            },\n            'ajax_cancel_one_recurring': function ajax_cancel_one_recurring(data) {\n                return '/ajax/event/cancel_one_recurring/' + data.event_id + '/';\n            },\n            'ajax_cancel_all_recurring': function ajax_cancel_all_recurring(data) {\n                return '/ajax/event/cancel_all_recurring/' + data.event_id + '/';\n            },\n            'modal_edit_one_recurring': function modal_edit_one_recurring(data) {\n                return '/modal/event/edit_one_recurring/' + data.event_id + '/' + data.old_date + '/';\n            },\n            'ajax_edit_one_recurring': function ajax_edit_one_recurring(data) {\n                return '/ajax/event/edit_one_recurring/' + data.event_id + '/';\n            },\n            'profile_events': '/profile/events/',\n            'more_past_events': '/profile/events/past/more/',\n            'ajax_remove_inbox_event': '/ajax/profile/events/remove/',\n            'ajax_send_verify_email': '/profile/send_verify_email/',\n            'modal_notification_prefs': '/modal/profile/notification/',\n            'ajax_profile_contacts': '/ajax/profile/contacts/',\n            'ajax_profile_multiple_contacts': '/ajax/profile/contacts/multiple/',\n            'ajax_delete_multiple_contacts': '/ajax/profile/contacts/multiple/delete/',\n            'ajax_profile_contacts_groups': '/ajax/profile/groups/',\n            'ajax_contacts_groups__add_contacts': function ajax_contacts_groups__add_contacts(data) {\n                return '/ajax/profile/groups/' + data.group_id + '/add_contacts/';\n            },\n            'ajax_contacts_groups__remove_contact': function ajax_contacts_groups__remove_contact(data) {\n                return '/ajax/profile/groups/' + data.group_id + '/remove/' + data.contact_id + '/';\n            },\n            'ajax_remove_photo': '/ajax/profile/remove_photo/',\n            'register': '/register/',\n            'forgot_modal': '/modal/forgot/',\n            // 'forgot_mobile': '/mobile/forgot/',\n            'cstool_set_spam': function cstool_set_spam(data) {\n                return '/cstool/set_spam/' + data.event_id + '/' + data.status + '/' + data.task_name + '/';\n            },\n            'cstool_edit_admin_user': '/cstool/admin/users/edit/',\n            'cstool_edit_permissions': '/cstool/admin/permissions/edit/',\n            'cstool_edit_admin_device_versions': '/cstool/admin/device-versions/edit/',\n            'cstool_edit_phone_optout': '/cstool/admin/phone_optout/edit/',\n            'cstool_spam_mark_as_seen': '/cstool/spam/event/mark_as_seen/',\n            'cstool_spam_events': '/cstool/spam/events/',\n            'cstool_event_actions': '/cstool/events/ajax_actions/',\n            'cstool_user_actions': '/cstool/users/ajax_actions/',\n            'cstool_event': '/cstool/events/event/',\n            'view': function view(data) {\n                return '/event/' + data.event_id + '/';\n            },\n            'send_message_modal': function send_message_modal(data) {\n                return '/event/' + data.event_id + '/view/send_message_modal/';\n            },\n            'ajax_view_profiles': function ajax_view_profiles(data) {\n                return '/ajax/event/' + data.event_id + '/view/profiles/';\n            },\n            'ajax_view_rsvp': function ajax_view_rsvp(data) {\n                return '/ajax/event/' + data.event_id + '/view/rsvp/';\n            },\n            'modal_knot_link_registry': '/modal/event/link_registry/',\n            'modal_knot_find_registry': '/modal/event/find_registry/',\n            'ajax_logout': '/ajax_logout',\n            'ajax_knot_search': '/ajax/knot_search/',\n            'ajax_request_upload_path': '/ajax/upload/prepare',\n            'ajax_fetchuyo': '/ajax/images/fetchuyo',\n            'ajax_crop_image': function ajax_crop_image(data) {\n                return '/ajax/images/' + data.image_id + '/crop';\n            },\n            'ajax_content_feed': function ajax_content_feed(data) {\n                return '/ajax/content/feed/' + data.event_type;\n            },\n            'main_image': function main_image(data) {\n                return '/services/images/' + data.image_id + '/main';\n            },\n            'large_image': function large_image(data) {\n                return '/services/images/' + data.image_id + '/large';\n            },\n            'image_url': function image_url(data) {\n                return '/services/image_url/' + data.image_id + '/' + data.size;\n            },\n            'image_redirect': function image_redirect(data) {\n                return '/services/image_redirect/' + data.image_id + '/' + (data.size || \"\");\n            },\n            'ajax_comments': function ajax_comments(data) {\n                return '/ajax/event/comments/' + data.event_id + '/' + window.guest_id + '/';\n            },\n            'modal_add_to_calendar': function modal_add_to_calendar(data) {\n                return '/modal/event/' + data.event_id + '/add_to_calendar/';\n            },\n            'invite_more': this._invite_more,\n            'send': '/event/send/',\n            'cancel': '/event/cancel/',\n            'whatsnext': function whatsnext(data) {\n                return '/whatsnext/' + data.event_id + '/';\n            },\n            'edit': function edit(data) {\n                return '/event/' + data.event_id + '/edit/';\n            },\n            'upload_guest_csv': function upload_guest_csv(data) {\n                return '/event/' + data.event_id + '/guests/csv/';\n            },\n            'ajax_guestlist': function ajax_guestlist(data) {\n                return '/ajax/event/' + data.event_id + '/dashboard/guestlist/';\n            },\n            'event_dashboard': function event_dashboard(data) {\n                return '/event/' + data.event_id + '/dashboard/';\n            },\n            'parse_guest': '/ajax/event/parse_guests/',\n            'guest_list_save': function guest_list_save(data) {\n                return '/ajax/event/' + data.event_id + '/replace_guests/';\n            },\n            'guest_list_add': function guest_list_add(data) {\n                return '/ajax/event/' + data.event_id + '/add_guests/';\n            },\n            'frp_updated': function frp_updated(data) {\n                return '/event/' + data.event_id + '/frp/updated/';\n            },\n            'frp_message_sent': function frp_message_sent(data) {\n                return '/event/' + data.event_id + '/frp/message_sent/';\n            },\n            'frp_sent': function frp_sent(data) {\n                return '/event/' + data.event_id + '/frp/sent/';\n            },\n            'frp_saved': function frp_saved(data) {\n                return '/event/' + data.event_id + '/frp/saved/';\n            },\n            'frp_canceled': function frp_canceled(data) {\n                return '/event/' + data.event_id + '/frp/canceled/';\n            },\n            'ajax_preview': '/event/preview/',\n            'ajax_authenticated': '/ajax/authenticated/',\n            'facebook_connect': '/services/extdata/oa2/login/facebook/login/',\n            'google_plus_connect': '/services/extdata/oa2/login/google_plus/login/',\n            'set_draft_guests': '/ajax/set_draft_guests/',\n            'csv_import_contacts': '/profile/contacts/import/csv/',\n            'ajax_subscribe': '/ajax/subscribe/',\n            'ajax_send_sms': function ajax_send_sms(data) {\n                return '/ajax/event/' + data.event_id + '/send_sms/';\n            },\n            'event_map': function event_map(data) {\n                return '/event/' + data.event_id + '/map?gid=' + data.guest_id;\n            },\n            'event_map_redirect': function event_map_redirect(data) {\n                return '/event/' + data.event_id + '/map_redirect?gid=' + data.guest_id;\n            },\n            'print_event': function print_event(data) {\n                return '/event/' + data.event_id + '/export/print';\n            },\n            'print_event_premium': function print_event_premium(data) {\n                return '/plus/view/' + data.event_id + '/' + data.guest_id + '/print_invitation/?';\n            },\n            'ajax_notify_items': '/ajax/notify/items',\n            'ajax_notify_update': '/ajax/notify/update',\n            'all_notifications': '/all-notifications'\n        };\n    }\n\n    _createClass(URLs, [{\n        key: 'get',\n        value: function get(name, params) {\n            var url = this.urls[name];\n            if (!url) {\n                throw Error('URL ' + name + ' is not mapped');\n            }\n            if (typeof url === 'function') {\n                var escaped = {};\n                if (params) {\n                    var _iteratorNormalCompletion = true;\n                    var _didIteratorError = false;\n                    var _iteratorError = undefined;\n\n                    try {\n                        for (var _iterator = Object.keys(params)[Symbol.iterator](), _step; !(_iteratorNormalCompletion = (_step = _iterator.next()).done); _iteratorNormalCompletion = true) {\n                            var k = _step.value;\n\n                            var v = params[k];\n                            escaped[k] = encodeURIComponent(v);\n                        }\n                    } catch (err) {\n                        _didIteratorError = true;\n                        _iteratorError = err;\n                    } finally {\n                        try {\n                            if (!_iteratorNormalCompletion && _iterator.return) {\n                                _iterator.return();\n                            }\n                        } finally {\n                            if (_didIteratorError) {\n                                throw _iteratorError;\n                            }\n                        }\n                    }\n                }\n                url = url(escaped);\n            }\n\n            if (/\\b(null|undefined)\\b/i.test(url)) {\n                evite.warn('URLs|Potential issue in parsed url: ' + url);\n            }\n            return url;\n        }\n    }, {\n        key: '_invite_more',\n        value: function _invite_more(params) {\n            var event_id = params.eid || params.event_id || window.event_id;\n            var p = {\n                guest_id: params.gid || window.guest_id\n            };\n            var param_str = $.param(p);\n            return '/event/' + event_id + '/invite_more/?' + param_str;\n        }\n    }, {\n        key: '_create',\n        value: function _create(params) {\n            var p = {\n                template: params.template,\n                event_type: params.event_type || params.eventType\n            };\n            var param_str = $.param(p);\n            return '/event/create/?' + param_str;\n        }\n    }, {\n        key: '_profile',\n        value: function _profile(params) {\n            if (params && params.uid) {\n                return '/profile/public/' + params.uid + '/';\n            }\n            return \"/profile/\";\n        }\n    }, {\n        key: '_profile_private',\n        value: function _profile_private(params) {\n            if (params.section) {\n                if (params.section === 'events') {\n                    if (params.tab === 'upcoming') {\n                        return this.get('profile_events');\n                    }\n                    if (params.tab === 'past') {\n                        return this.get('profile_past_events');\n                    }\n                }\n                if (params.section === 'contacts') {\n                    return this.get('profile_contacts');\n                }\n            }\n\n            return this.get('profile_edit');\n        }\n    }, {\n        key: '_account_validate',\n        value: function _account_validate(params) {\n            var k, p, url, v;\n            url = this.get('verify_email');\n            p = [];\n            for (k in params) {\n                v = params[k];\n                p.push(k + \"=\" + v);\n            }\n            return url + '?' + p.join('&');\n        }\n    }, {\n        key: '_reset_password',\n        value: function _reset_password(params) {\n            return this.get('reset_password') + (\"?token=\" + params.chk);\n        }\n    }, {\n        key: '_gallery',\n        value: function _gallery(params) {\n            if (params) {\n                var _iteratorNormalCompletion2 = true;\n                var _didIteratorError2 = false;\n                var _iteratorError2 = undefined;\n\n                try {\n                    for (var _iterator2 = Object.keys(params)[Symbol.iterator](), _step2; !(_iteratorNormalCompletion2 = (_step2 = _iterator2.next()).done); _iteratorNormalCompletion2 = true) {\n                        var k = _step2.value;\n\n                        var v = params[k];\n                        params[k] = unescape(v);\n                    }\n                } catch (err) {\n                    _didIteratorError2 = true;\n                    _iteratorError2 = err;\n                } finally {\n                    try {\n                        if (!_iteratorNormalCompletion2 && _iterator2.return) {\n                            _iterator2.return();\n                        }\n                    } finally {\n                        if (_didIteratorError2) {\n                            throw _iteratorError2;\n                        }\n                    }\n                }\n            }\n            var param_str = $.param(params);\n            return '/gallery/?' + param_str;\n        }\n    }]);\n\n    return URLs;\n}();\n\nvar instance = URLs.getInstance();\nexports.default = instance;\n\nevite.urls = instance;\n\n/***/ }),\n\n/***/ 370:\n/***/ (function(module, exports, __webpack_require__) {\n\nvar __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;/*! Raven.js 1.1.19 (b51bc89) | github.com/getsentry/raven-js */\n\n/*\n * Includes TraceKit\n * https://github.com/getsentry/TraceKit\n *\n * Copyright 2015 Matt Robenolt and other contributors\n * Released under the BSD license\n * https://github.com/getsentry/raven-js/blob/master/LICENSE\n *\n */\n;(function(window, undefined){\n'use strict';\n\n/*\n TraceKit - Cross brower stack traces - github.com/occ/TraceKit\n MIT license\n*/\n\nvar TraceKit = {\n    remoteFetching: true,\n    collectWindowErrors: false,\n    // 3 lines before, the offending line, 3 lines after\n    linesOfContext: 7\n};\n\n// global reference to slice\nvar _slice = [].slice;\nvar UNKNOWN_FUNCTION = '?';\n\n\n/**\n * TraceKit.wrap: Wrap any function in a TraceKit reporter\n * Example: func = TraceKit.wrap(func);\n *\n * @param {Function} func Function to be wrapped\n * @return {Function} The wrapped func\n */\nTraceKit.wrap = function traceKitWrapper(func) {\n    function wrapped() {\n        try {\n            return func.apply(this, arguments);\n        } catch (e) {\n            TraceKit.report(e);\n            throw e;\n        }\n    }\n    return wrapped;\n};\n\n/**\n * TraceKit.report: cross-browser processing of unhandled exceptions\n *\n * Syntax:\n *   TraceKit.report.subscribe(function(stackInfo) { ... })\n *   TraceKit.report.unsubscribe(function(stackInfo) { ... })\n *   TraceKit.report(exception)\n *   try { ...code... } catch(ex) { TraceKit.report(ex); }\n *\n * Supports:\n *   - Firefox: full stack trace with line numbers, plus column number\n *              on top frame; column number is not guaranteed\n *   - Opera:   full stack trace with line and column numbers\n *   - Chrome:  full stack trace with line and column numbers\n *   - Safari:  line and column number for the top frame only; some frames\n *              may be missing, and column number is not guaranteed\n *   - IE:      line and column number for the top frame only; some frames\n *              may be missing, and column number is not guaranteed\n *\n * In theory, TraceKit should work on all of the following versions:\n *   - IE5.5+ (only 8.0 tested)\n *   - Firefox 0.9+ (only 3.5+ tested)\n *   - Opera 7+ (only 10.50 tested; versions 9 and earlier may require\n *     Exceptions Have Stacktrace to be enabled in opera:config)\n *   - Safari 3+ (only 4+ tested)\n *   - Chrome 1+ (only 5+ tested)\n *   - Konqueror 3.5+ (untested)\n *\n * Requires TraceKit.computeStackTrace.\n *\n * Tries to catch all unhandled exceptions and report them to the\n * subscribed handlers. Please note that TraceKit.report will rethrow the\n * exception. This is REQUIRED in order to get a useful stack trace in IE.\n * If the exception does not reach the top of the browser, you will only\n * get a stack trace from the point where TraceKit.report was called.\n *\n * Handlers receive a stackInfo object as described in the\n * TraceKit.computeStackTrace docs.\n */\nTraceKit.report = (function reportModuleWrapper() {\n    var handlers = [],\n        lastArgs = null,\n        lastException = null,\n        lastExceptionStack = null;\n\n    /**\n     * Add a crash handler.\n     * @param {Function} handler\n     */\n    function subscribe(handler) {\n        installGlobalHandler();\n        handlers.push(handler);\n    }\n\n    /**\n     * Remove a crash handler.\n     * @param {Function} handler\n     */\n    function unsubscribe(handler) {\n        for (var i = handlers.length - 1; i >= 0; --i) {\n            if (handlers[i] === handler) {\n                handlers.splice(i, 1);\n            }\n        }\n    }\n\n    /**\n     * Remove all crash handlers.\n     */\n    function unsubscribeAll() {\n        uninstallGlobalHandler();\n        handlers = [];\n    }\n\n    /**\n     * Dispatch stack information to all handlers.\n     * @param {Object.<string, *>} stack\n     */\n    function notifyHandlers(stack, isWindowError) {\n        var exception = null;\n        if (isWindowError && !TraceKit.collectWindowErrors) {\n          return;\n        }\n        for (var i in handlers) {\n            if (hasKey(handlers, i)) {\n                try {\n                    handlers[i].apply(null, [stack].concat(_slice.call(arguments, 2)));\n                } catch (inner) {\n                    exception = inner;\n                }\n            }\n        }\n\n        if (exception) {\n            throw exception;\n        }\n    }\n\n    var _oldOnerrorHandler, _onErrorHandlerInstalled;\n\n    /**\n     * Ensures all global unhandled exceptions are recorded.\n     * Supported by Gecko and IE.\n     * @param {string} message Error message.\n     * @param {string} url URL of script that generated the exception.\n     * @param {(number|string)} lineNo The line number at which the error\n     * occurred.\n     * @param {?(number|string)} colNo The column number at which the error\n     * occurred.\n     * @param {?Error} ex The actual Error object.\n     */\n    function traceKitWindowOnError(message, url, lineNo, colNo, ex) {\n        var stack = null;\n\n        if (lastExceptionStack) {\n            TraceKit.computeStackTrace.augmentStackTraceWithInitialElement(lastExceptionStack, url, lineNo, message);\n            processLastException();\n        } else if (ex) {\n            // New chrome and blink send along a real error object\n            // Let's just report that like a normal error.\n            // See: https://mikewest.org/2013/08/debugging-runtime-errors-with-window-onerror\n            stack = TraceKit.computeStackTrace(ex);\n            notifyHandlers(stack, true);\n        } else {\n            var location = {\n                'url': url,\n                'line': lineNo,\n                'column': colNo\n            };\n            location.func = TraceKit.computeStackTrace.guessFunctionName(location.url, location.line);\n            location.context = TraceKit.computeStackTrace.gatherContext(location.url, location.line);\n            stack = {\n                'message': message,\n                'url': document.location.href,\n                'stack': [location]\n            };\n            notifyHandlers(stack, true);\n        }\n\n        if (_oldOnerrorHandler) {\n            return _oldOnerrorHandler.apply(this, arguments);\n        }\n\n        return false;\n    }\n\n    function installGlobalHandler ()\n    {\n        if (_onErrorHandlerInstalled) {\n            return;\n        }\n        _oldOnerrorHandler = window.onerror;\n        window.onerror = traceKitWindowOnError;\n        _onErrorHandlerInstalled = true;\n    }\n\n    function uninstallGlobalHandler ()\n    {\n        if (!_onErrorHandlerInstalled) {\n            return;\n        }\n        window.onerror = _oldOnerrorHandler;\n        _onErrorHandlerInstalled = false;\n        _oldOnerrorHandler = undefined;\n    }\n\n    function processLastException() {\n        var _lastExceptionStack = lastExceptionStack,\n            _lastArgs = lastArgs;\n        lastArgs = null;\n        lastExceptionStack = null;\n        lastException = null;\n        notifyHandlers.apply(null, [_lastExceptionStack, false].concat(_lastArgs));\n    }\n\n    /**\n     * Reports an unhandled Error to TraceKit.\n     * @param {Error} ex\n     * @param {?boolean} rethrow If false, do not re-throw the exception.\n     * Only used for window.onerror to not cause an infinite loop of\n     * rethrowing.\n     */\n    function report(ex, rethrow) {\n        var args = _slice.call(arguments, 1);\n        if (lastExceptionStack) {\n            if (lastException === ex) {\n                return; // already caught by an inner catch block, ignore\n            } else {\n              processLastException();\n            }\n        }\n\n        var stack = TraceKit.computeStackTrace(ex);\n        lastExceptionStack = stack;\n        lastException = ex;\n        lastArgs = args;\n\n        // If the stack trace is incomplete, wait for 2 seconds for\n        // slow slow IE to see if onerror occurs or not before reporting\n        // this exception; otherwise, we will end up with an incomplete\n        // stack trace\n        window.setTimeout(function () {\n            if (lastException === ex) {\n                processLastException();\n            }\n        }, (stack.incomplete ? 2000 : 0));\n\n        if (rethrow !== false) {\n            throw ex; // re-throw to propagate to the top level (and cause window.onerror)\n        }\n    }\n\n    report.subscribe = subscribe;\n    report.unsubscribe = unsubscribe;\n    report.uninstall = unsubscribeAll;\n    return report;\n}());\n\n/**\n * TraceKit.computeStackTrace: cross-browser stack traces in JavaScript\n *\n * Syntax:\n *   s = TraceKit.computeStackTrace(exception) // consider using TraceKit.report instead (see below)\n * Returns:\n *   s.name              - exception name\n *   s.message           - exception message\n *   s.stack[i].url      - JavaScript or HTML file URL\n *   s.stack[i].func     - function name, or empty for anonymous functions (if guessing did not work)\n *   s.stack[i].args     - arguments passed to the function, if known\n *   s.stack[i].line     - line number, if known\n *   s.stack[i].column   - column number, if known\n *   s.stack[i].context  - an array of source code lines; the middle element corresponds to the correct line#\n *\n * Supports:\n *   - Firefox:  full stack trace with line numbers and unreliable column\n *               number on top frame\n *   - Opera 10: full stack trace with line and column numbers\n *   - Opera 9-: full stack trace with line numbers\n *   - Chrome:   full stack trace with line and column numbers\n *   - Safari:   line and column number for the topmost stacktrace element\n *               only\n *   - IE:       no line numbers whatsoever\n *\n * Tries to guess names of anonymous functions by looking for assignments\n * in the source code. In IE and Safari, we have to guess source file names\n * by searching for function bodies inside all page scripts. This will not\n * work for scripts that are loaded cross-domain.\n * Here be dragons: some function names may be guessed incorrectly, and\n * duplicate functions may be mismatched.\n *\n * TraceKit.computeStackTrace should only be used for tracing purposes.\n * Logging of unhandled exceptions should be done with TraceKit.report,\n * which builds on top of TraceKit.computeStackTrace and provides better\n * IE support by utilizing the window.onerror event to retrieve information\n * about the top of the stack.\n *\n * Note: In IE and Safari, no stack trace is recorded on the Error object,\n * so computeStackTrace instead walks its *own* chain of callers.\n * This means that:\n *  * in Safari, some methods may be missing from the stack trace;\n *  * in IE, the topmost function in the stack trace will always be the\n *    caller of computeStackTrace.\n *\n * This is okay for tracing (because you are likely to be calling\n * computeStackTrace from the function you want to be the topmost element\n * of the stack trace anyway), but not okay for logging unhandled\n * exceptions (because your catch block will likely be far away from the\n * inner function that actually caused the exception).\n *\n */\nTraceKit.computeStackTrace = (function computeStackTraceWrapper() {\n    var debug = false,\n        sourceCache = {};\n\n    /**\n     * Attempts to retrieve source code via XMLHttpRequest, which is used\n     * to look up anonymous function names.\n     * @param {string} url URL of source code.\n     * @return {string} Source contents.\n     */\n    function loadSource(url) {\n        if (!TraceKit.remoteFetching) { //Only attempt request if remoteFetching is on.\n            return '';\n        }\n        try {\n            var getXHR = function() {\n                try {\n                    return new window.XMLHttpRequest();\n                } catch (e) {\n                    // explicitly bubble up the exception if not found\n                    return new window.ActiveXObject('Microsoft.XMLHTTP');\n                }\n            };\n\n            var request = getXHR();\n            request.open('GET', url, false);\n            request.send('');\n            return request.responseText;\n        } catch (e) {\n            return '';\n        }\n    }\n\n    /**\n     * Retrieves source code from the source code cache.\n     * @param {string} url URL of source code.\n     * @return {Array.<string>} Source contents.\n     */\n    function getSource(url) {\n        if (!isString(url)) return [];\n        if (!hasKey(sourceCache, url)) {\n            // URL needs to be able to fetched within the acceptable domain.  Otherwise,\n            // cross-domain errors will be triggered.\n            var source = '';\n            if (url.indexOf(document.domain) !== -1) {\n                source = loadSource(url);\n            }\n            sourceCache[url] = source ? source.split('\\n') : [];\n        }\n\n        return sourceCache[url];\n    }\n\n    /**\n     * Tries to use an externally loaded copy of source code to determine\n     * the name of a function by looking at the name of the variable it was\n     * assigned to, if any.\n     * @param {string} url URL of source code.\n     * @param {(string|number)} lineNo Line number in source code.\n     * @return {string} The function name, if discoverable.\n     */\n    function guessFunctionName(url, lineNo) {\n        var reFunctionArgNames = /function ([^(]*)\\(([^)]*)\\)/,\n            reGuessFunction = /['\"]?([0-9A-Za-z$_]+)['\"]?\\s*[:=]\\s*(function|eval|new Function)/,\n            line = '',\n            maxLines = 10,\n            source = getSource(url),\n            m;\n\n        if (!source.length) {\n            return UNKNOWN_FUNCTION;\n        }\n\n        // Walk backwards from the first line in the function until we find the line which\n        // matches the pattern above, which is the function definition\n        for (var i = 0; i < maxLines; ++i) {\n            line = source[lineNo - i] + line;\n\n            if (!isUndefined(line)) {\n                if ((m = reGuessFunction.exec(line))) {\n                    return m[1];\n                } else if ((m = reFunctionArgNames.exec(line))) {\n                    return m[1];\n                }\n            }\n        }\n\n        return UNKNOWN_FUNCTION;\n    }\n\n    /**\n     * Retrieves the surrounding lines from where an exception occurred.\n     * @param {string} url URL of source code.\n     * @param {(string|number)} line Line number in source code to centre\n     * around for context.\n     * @return {?Array.<string>} Lines of source code.\n     */\n    function gatherContext(url, line) {\n        var source = getSource(url);\n\n        if (!source.length) {\n            return null;\n        }\n\n        var context = [],\n            // linesBefore & linesAfter are inclusive with the offending line.\n            // if linesOfContext is even, there will be one extra line\n            //   *before* the offending line.\n            linesBefore = Math.floor(TraceKit.linesOfContext / 2),\n            // Add one extra line if linesOfContext is odd\n            linesAfter = linesBefore + (TraceKit.linesOfContext % 2),\n            start = Math.max(0, line - linesBefore - 1),\n            end = Math.min(source.length, line + linesAfter - 1);\n\n        line -= 1; // convert to 0-based index\n\n        for (var i = start; i < end; ++i) {\n            if (!isUndefined(source[i])) {\n                context.push(source[i]);\n            }\n        }\n\n        return context.length > 0 ? context : null;\n    }\n\n    /**\n     * Escapes special characters, except for whitespace, in a string to be\n     * used inside a regular expression as a string literal.\n     * @param {string} text The string.\n     * @return {string} The escaped string literal.\n     */\n    function escapeRegExp(text) {\n        return text.replace(/[\\-\\[\\]{}()*+?.,\\\\\\^$|#]/g, '\\\\$&');\n    }\n\n    /**\n     * Escapes special characters in a string to be used inside a regular\n     * expression as a string literal. Also ensures that HTML entities will\n     * be matched the same as their literal friends.\n     * @param {string} body The string.\n     * @return {string} The escaped string.\n     */\n    function escapeCodeAsRegExpForMatchingInsideHTML(body) {\n        return escapeRegExp(body).replace('<', '(?:<|&lt;)').replace('>', '(?:>|&gt;)').replace('&', '(?:&|&amp;)').replace('\"', '(?:\"|&quot;)').replace(/\\s+/g, '\\\\s+');\n    }\n\n    /**\n     * Determines where a code fragment occurs in the source code.\n     * @param {RegExp} re The function definition.\n     * @param {Array.<string>} urls A list of URLs to search.\n     * @return {?Object.<string, (string|number)>} An object containing\n     * the url, line, and column number of the defined function.\n     */\n    function findSourceInUrls(re, urls) {\n        var source, m;\n        for (var i = 0, j = urls.length; i < j; ++i) {\n            // console.log('searching', urls[i]);\n            if ((source = getSource(urls[i])).length) {\n                source = source.join('\\n');\n                if ((m = re.exec(source))) {\n                    // console.log('Found function in ' + urls[i]);\n\n                    return {\n                        'url': urls[i],\n                        'line': source.substring(0, m.index).split('\\n').length,\n                        'column': m.index - source.lastIndexOf('\\n', m.index) - 1\n                    };\n                }\n            }\n        }\n\n        // console.log('no match');\n\n        return null;\n    }\n\n    /**\n     * Determines at which column a code fragment occurs on a line of the\n     * source code.\n     * @param {string} fragment The code fragment.\n     * @param {string} url The URL to search.\n     * @param {(string|number)} line The line number to examine.\n     * @return {?number} The column number.\n     */\n    function findSourceInLine(fragment, url, line) {\n        var source = getSource(url),\n            re = new RegExp('\\\\b' + escapeRegExp(fragment) + '\\\\b'),\n            m;\n\n        line -= 1;\n\n        if (source && source.length > line && (m = re.exec(source[line]))) {\n            return m.index;\n        }\n\n        return null;\n    }\n\n    /**\n     * Determines where a function was defined within the source code.\n     * @param {(Function|string)} func A function reference or serialized\n     * function definition.\n     * @return {?Object.<string, (string|number)>} An object containing\n     * the url, line, and column number of the defined function.\n     */\n    function findSourceByFunctionBody(func) {\n        var urls = [window.location.href],\n            scripts = document.getElementsByTagName('script'),\n            body,\n            code = '' + func,\n            codeRE = /^function(?:\\s+([\\w$]+))?\\s*\\(([\\w\\s,]*)\\)\\s*\\{\\s*(\\S[\\s\\S]*\\S)\\s*\\}\\s*$/,\n            eventRE = /^function on([\\w$]+)\\s*\\(event\\)\\s*\\{\\s*(\\S[\\s\\S]*\\S)\\s*\\}\\s*$/,\n            re,\n            parts,\n            result;\n\n        for (var i = 0; i < scripts.length; ++i) {\n            var script = scripts[i];\n            if (script.src) {\n                urls.push(script.src);\n            }\n        }\n\n        if (!(parts = codeRE.exec(code))) {\n            re = new RegExp(escapeRegExp(code).replace(/\\s+/g, '\\\\s+'));\n        }\n\n        // not sure if this is really necessary, but I don’t have a test\n        // corpus large enough to confirm that and it was in the original.\n        else {\n            var name = parts[1] ? '\\\\s+' + parts[1] : '',\n                args = parts[2].split(',').join('\\\\s*,\\\\s*');\n\n            body = escapeRegExp(parts[3]).replace(/;$/, ';?'); // semicolon is inserted if the function ends with a comment.replace(/\\s+/g, '\\\\s+');\n            re = new RegExp('function' + name + '\\\\s*\\\\(\\\\s*' + args + '\\\\s*\\\\)\\\\s*{\\\\s*' + body + '\\\\s*}');\n        }\n\n        // look for a normal function definition\n        if ((result = findSourceInUrls(re, urls))) {\n            return result;\n        }\n\n        // look for an old-school event handler function\n        if ((parts = eventRE.exec(code))) {\n            var event = parts[1];\n            body = escapeCodeAsRegExpForMatchingInsideHTML(parts[2]);\n\n            // look for a function defined in HTML as an onXXX handler\n            re = new RegExp('on' + event + '=[\\\\\\'\"]\\\\s*' + body + '\\\\s*[\\\\\\'\"]', 'i');\n\n            if ((result = findSourceInUrls(re, urls[0]))) {\n                return result;\n            }\n\n            // look for ???\n            re = new RegExp(body);\n\n            if ((result = findSourceInUrls(re, urls))) {\n                return result;\n            }\n        }\n\n        return null;\n    }\n\n    // Contents of Exception in various browsers.\n    //\n    // SAFARI:\n    // ex.message = Can't find variable: qq\n    // ex.line = 59\n    // ex.sourceId = 580238192\n    // ex.sourceURL = http://...\n    // ex.expressionBeginOffset = 96\n    // ex.expressionCaretOffset = 98\n    // ex.expressionEndOffset = 98\n    // ex.name = ReferenceError\n    //\n    // FIREFOX:\n    // ex.message = qq is not defined\n    // ex.fileName = http://...\n    // ex.lineNumber = 59\n    // ex.columnNumber = 69\n    // ex.stack = ...stack trace... (see the example below)\n    // ex.name = ReferenceError\n    //\n    // CHROME:\n    // ex.message = qq is not defined\n    // ex.name = ReferenceError\n    // ex.type = not_defined\n    // ex.arguments = ['aa']\n    // ex.stack = ...stack trace...\n    //\n    // INTERNET EXPLORER:\n    // ex.message = ...\n    // ex.name = ReferenceError\n    //\n    // OPERA:\n    // ex.message = ...message... (see the example below)\n    // ex.name = ReferenceError\n    // ex.opera#sourceloc = 11  (pretty much useless, duplicates the info in ex.message)\n    // ex.stacktrace = n/a; see 'opera:config#UserPrefs|Exceptions Have Stacktrace'\n\n    /**\n     * Computes stack trace information from the stack property.\n     * Chrome and Gecko use this property.\n     * @param {Error} ex\n     * @return {?Object.<string, *>} Stack trace information.\n     */\n    function computeStackTraceFromStackProp(ex) {\n        if (!ex.stack) {\n            return null;\n        }\n\n        var chrome = /^\\s*at (.*?) ?\\(?((?:file|https?|chrome-extension):.*?):(\\d+)(?::(\\d+))?\\)?\\s*$/i,\n            gecko = /^\\s*(.*?)(?:\\((.*?)\\))?@((?:file|https?|chrome).*?):(\\d+)(?::(\\d+))?\\s*$/i,\n            lines = ex.stack.split('\\n'),\n            stack = [],\n            parts,\n            element,\n            reference = /^(.*) is undefined$/.exec(ex.message);\n\n        for (var i = 0, j = lines.length; i < j; ++i) {\n            if ((parts = gecko.exec(lines[i]))) {\n                element = {\n                    'url': parts[3],\n                    'func': parts[1] || UNKNOWN_FUNCTION,\n                    'args': parts[2] ? parts[2].split(',') : '',\n                    'line': +parts[4],\n                    'column': parts[5] ? +parts[5] : null\n                };\n            } else if ((parts = chrome.exec(lines[i]))) {\n                element = {\n                    'url': parts[2],\n                    'func': parts[1] || UNKNOWN_FUNCTION,\n                    'line': +parts[3],\n                    'column': parts[4] ? +parts[4] : null\n                };\n            } else {\n                continue;\n            }\n\n            if (!element.func && element.line) {\n                element.func = guessFunctionName(element.url, element.line);\n            }\n\n            if (element.line) {\n                element.context = gatherContext(element.url, element.line);\n            }\n\n            stack.push(element);\n        }\n\n        if (!stack.length) {\n            return null;\n        }\n\n        if (stack[0].line && !stack[0].column && reference) {\n            stack[0].column = findSourceInLine(reference[1], stack[0].url, stack[0].line);\n        } else if (!stack[0].column && !isUndefined(ex.columnNumber)) {\n            // FireFox uses this awesome columnNumber property for its top frame\n            // Also note, Firefox's column number is 0-based and everything else expects 1-based,\n            // so adding 1\n            stack[0].column = ex.columnNumber + 1;\n        }\n\n        return {\n            'name': ex.name,\n            'message': ex.message,\n            'url': document.location.href,\n            'stack': stack\n        };\n    }\n\n    /**\n     * Computes stack trace information from the stacktrace property.\n     * Opera 10 uses this property.\n     * @param {Error} ex\n     * @return {?Object.<string, *>} Stack trace information.\n     */\n    function computeStackTraceFromStacktraceProp(ex) {\n        // Access and store the stacktrace property before doing ANYTHING\n        // else to it because Opera is not very good at providing it\n        // reliably in other circumstances.\n        var stacktrace = ex.stacktrace;\n\n        var testRE = / line (\\d+), column (\\d+) in (?:<anonymous function: ([^>]+)>|([^\\)]+))\\((.*)\\) in (.*):\\s*$/i,\n            lines = stacktrace.split('\\n'),\n            stack = [],\n            parts;\n\n        for (var i = 0, j = lines.length; i < j; i += 2) {\n            if ((parts = testRE.exec(lines[i]))) {\n                var element = {\n                    'line': +parts[1],\n                    'column': +parts[2],\n                    'func': parts[3] || parts[4],\n                    'args': parts[5] ? parts[5].split(',') : [],\n                    'url': parts[6]\n                };\n\n                if (!element.func && element.line) {\n                    element.func = guessFunctionName(element.url, element.line);\n                }\n                if (element.line) {\n                    try {\n                        element.context = gatherContext(element.url, element.line);\n                    } catch (exc) {}\n                }\n\n                if (!element.context) {\n                    element.context = [lines[i + 1]];\n                }\n\n                stack.push(element);\n            }\n        }\n\n        if (!stack.length) {\n            return null;\n        }\n\n        return {\n            'name': ex.name,\n            'message': ex.message,\n            'url': document.location.href,\n            'stack': stack\n        };\n    }\n\n    /**\n     * NOT TESTED.\n     * Computes stack trace information from an error message that includes\n     * the stack trace.\n     * Opera 9 and earlier use this method if the option to show stack\n     * traces is turned on in opera:config.\n     * @param {Error} ex\n     * @return {?Object.<string, *>} Stack information.\n     */\n    function computeStackTraceFromOperaMultiLineMessage(ex) {\n        // Opera includes a stack trace into the exception message. An example is:\n        //\n        // Statement on line 3: Undefined variable: undefinedFunc\n        // Backtrace:\n        //   Line 3 of linked script file://localhost/Users/andreyvit/Projects/TraceKit/javascript-client/sample.js: In function zzz\n        //         undefinedFunc(a);\n        //   Line 7 of inline#1 script in file://localhost/Users/andreyvit/Projects/TraceKit/javascript-client/sample.html: In function yyy\n        //           zzz(x, y, z);\n        //   Line 3 of inline#1 script in file://localhost/Users/andreyvit/Projects/TraceKit/javascript-client/sample.html: In function xxx\n        //           yyy(a, a, a);\n        //   Line 1 of function script\n        //     try { xxx('hi'); return false; } catch(ex) { TraceKit.report(ex); }\n        //   ...\n\n        var lines = ex.message.split('\\n');\n        if (lines.length < 4) {\n            return null;\n        }\n\n        var lineRE1 = /^\\s*Line (\\d+) of linked script ((?:file|https?)\\S+)(?:: in function (\\S+))?\\s*$/i,\n            lineRE2 = /^\\s*Line (\\d+) of inline#(\\d+) script in ((?:file|https?)\\S+)(?:: in function (\\S+))?\\s*$/i,\n            lineRE3 = /^\\s*Line (\\d+) of function script\\s*$/i,\n            stack = [],\n            scripts = document.getElementsByTagName('script'),\n            inlineScriptBlocks = [],\n            parts,\n            i,\n            len,\n            source;\n\n        for (i in scripts) {\n            if (hasKey(scripts, i) && !scripts[i].src) {\n                inlineScriptBlocks.push(scripts[i]);\n            }\n        }\n\n        for (i = 2, len = lines.length; i < len; i += 2) {\n            var item = null;\n            if ((parts = lineRE1.exec(lines[i]))) {\n                item = {\n                    'url': parts[2],\n                    'func': parts[3],\n                    'line': +parts[1]\n                };\n            } else if ((parts = lineRE2.exec(lines[i]))) {\n                item = {\n                    'url': parts[3],\n                    'func': parts[4]\n                };\n                var relativeLine = (+parts[1]); // relative to the start of the <SCRIPT> block\n                var script = inlineScriptBlocks[parts[2] - 1];\n                if (script) {\n                    source = getSource(item.url);\n                    if (source) {\n                        source = source.join('\\n');\n                        var pos = source.indexOf(script.innerText);\n                        if (pos >= 0) {\n                            item.line = relativeLine + source.substring(0, pos).split('\\n').length;\n                        }\n                    }\n                }\n            } else if ((parts = lineRE3.exec(lines[i]))) {\n                var url = window.location.href.replace(/#.*$/, ''),\n                    line = parts[1];\n                var re = new RegExp(escapeCodeAsRegExpForMatchingInsideHTML(lines[i + 1]));\n                source = findSourceInUrls(re, [url]);\n                item = {\n                    'url': url,\n                    'line': source ? source.line : line,\n                    'func': ''\n                };\n            }\n\n            if (item) {\n                if (!item.func) {\n                    item.func = guessFunctionName(item.url, item.line);\n                }\n                var context = gatherContext(item.url, item.line);\n                var midline = (context ? context[Math.floor(context.length / 2)] : null);\n                if (context && midline.replace(/^\\s*/, '') === lines[i + 1].replace(/^\\s*/, '')) {\n                    item.context = context;\n                } else {\n                    // if (context) alert(\"Context mismatch. Correct midline:\\n\" + lines[i+1] + \"\\n\\nMidline:\\n\" + midline + \"\\n\\nContext:\\n\" + context.join(\"\\n\") + \"\\n\\nURL:\\n\" + item.url);\n                    item.context = [lines[i + 1]];\n                }\n                stack.push(item);\n            }\n        }\n        if (!stack.length) {\n            return null; // could not parse multiline exception message as Opera stack trace\n        }\n\n        return {\n            'name': ex.name,\n            'message': lines[0],\n            'url': document.location.href,\n            'stack': stack\n        };\n    }\n\n    /**\n     * Adds information about the first frame to incomplete stack traces.\n     * Safari and IE require this to get complete data on the first frame.\n     * @param {Object.<string, *>} stackInfo Stack trace information from\n     * one of the compute* methods.\n     * @param {string} url The URL of the script that caused an error.\n     * @param {(number|string)} lineNo The line number of the script that\n     * caused an error.\n     * @param {string=} message The error generated by the browser, which\n     * hopefully contains the name of the object that caused the error.\n     * @return {boolean} Whether or not the stack information was\n     * augmented.\n     */\n    function augmentStackTraceWithInitialElement(stackInfo, url, lineNo, message) {\n        var initial = {\n            'url': url,\n            'line': lineNo\n        };\n\n        if (initial.url && initial.line) {\n            stackInfo.incomplete = false;\n\n            if (!initial.func) {\n                initial.func = guessFunctionName(initial.url, initial.line);\n            }\n\n            if (!initial.context) {\n                initial.context = gatherContext(initial.url, initial.line);\n            }\n\n            var reference = / '([^']+)' /.exec(message);\n            if (reference) {\n                initial.column = findSourceInLine(reference[1], initial.url, initial.line);\n            }\n\n            if (stackInfo.stack.length > 0) {\n                if (stackInfo.stack[0].url === initial.url) {\n                    if (stackInfo.stack[0].line === initial.line) {\n                        return false; // already in stack trace\n                    } else if (!stackInfo.stack[0].line && stackInfo.stack[0].func === initial.func) {\n                        stackInfo.stack[0].line = initial.line;\n                        stackInfo.stack[0].context = initial.context;\n                        return false;\n                    }\n                }\n            }\n\n            stackInfo.stack.unshift(initial);\n            stackInfo.partial = true;\n            return true;\n        } else {\n            stackInfo.incomplete = true;\n        }\n\n        return false;\n    }\n\n    /**\n     * Computes stack trace information by walking the arguments.caller\n     * chain at the time the exception occurred. This will cause earlier\n     * frames to be missed but is the only way to get any stack trace in\n     * Safari and IE. The top frame is restored by\n     * {@link augmentStackTraceWithInitialElement}.\n     * @param {Error} ex\n     * @return {?Object.<string, *>} Stack trace information.\n     */\n    function computeStackTraceByWalkingCallerChain(ex, depth) {\n        var functionName = /function\\s+([_$a-zA-Z\\xA0-\\uFFFF][_$a-zA-Z0-9\\xA0-\\uFFFF]*)?\\s*\\(/i,\n            stack = [],\n            funcs = {},\n            recursion = false,\n            parts,\n            item,\n            source;\n\n        for (var curr = computeStackTraceByWalkingCallerChain.caller; curr && !recursion; curr = curr.caller) {\n            if (curr === computeStackTrace || curr === TraceKit.report) {\n                // console.log('skipping internal function');\n                continue;\n            }\n\n            item = {\n                'url': null,\n                'func': UNKNOWN_FUNCTION,\n                'line': null,\n                'column': null\n            };\n\n            if (curr.name) {\n                item.func = curr.name;\n            } else if ((parts = functionName.exec(curr.toString()))) {\n                item.func = parts[1];\n            }\n\n            if ((source = findSourceByFunctionBody(curr))) {\n                item.url = source.url;\n                item.line = source.line;\n\n                if (item.func === UNKNOWN_FUNCTION) {\n                    item.func = guessFunctionName(item.url, item.line);\n                }\n\n                var reference = / '([^']+)' /.exec(ex.message || ex.description);\n                if (reference) {\n                    item.column = findSourceInLine(reference[1], source.url, source.line);\n                }\n            }\n\n            if (funcs['' + curr]) {\n                recursion = true;\n            }else{\n                funcs['' + curr] = true;\n            }\n\n            stack.push(item);\n        }\n\n        if (depth) {\n            // console.log('depth is ' + depth);\n            // console.log('stack is ' + stack.length);\n            stack.splice(0, depth);\n        }\n\n        var result = {\n            'name': ex.name,\n            'message': ex.message,\n            'url': document.location.href,\n            'stack': stack\n        };\n        augmentStackTraceWithInitialElement(result, ex.sourceURL || ex.fileName, ex.line || ex.lineNumber, ex.message || ex.description);\n        return result;\n    }\n\n    /**\n     * Computes a stack trace for an exception.\n     * @param {Error} ex\n     * @param {(string|number)=} depth\n     */\n    function computeStackTrace(ex, depth) {\n        var stack = null;\n        depth = (depth == null ? 0 : +depth);\n\n        try {\n            // This must be tried first because Opera 10 *destroys*\n            // its stacktrace property if you try to access the stack\n            // property first!!\n            stack = computeStackTraceFromStacktraceProp(ex);\n            if (stack) {\n                return stack;\n            }\n        } catch (e) {\n            if (debug) {\n                throw e;\n            }\n        }\n\n        try {\n            stack = computeStackTraceFromStackProp(ex);\n            if (stack) {\n                return stack;\n            }\n        } catch (e) {\n            if (debug) {\n                throw e;\n            }\n        }\n\n        try {\n            stack = computeStackTraceFromOperaMultiLineMessage(ex);\n            if (stack) {\n                return stack;\n            }\n        } catch (e) {\n            if (debug) {\n                throw e;\n            }\n        }\n\n        try {\n            stack = computeStackTraceByWalkingCallerChain(ex, depth + 1);\n            if (stack) {\n                return stack;\n            }\n        } catch (e) {\n            if (debug) {\n                throw e;\n            }\n        }\n\n        return {};\n    }\n\n    computeStackTrace.augmentStackTraceWithInitialElement = augmentStackTraceWithInitialElement;\n    computeStackTrace.computeStackTraceFromStackProp = computeStackTraceFromStackProp;\n    computeStackTrace.guessFunctionName = guessFunctionName;\n    computeStackTrace.gatherContext = gatherContext;\n\n    return computeStackTrace;\n}());\n\n'use strict';\n\n// First, check for JSON support\n// If there is no JSON, we no-op the core features of Raven\n// since JSON is required to encode the payload\nvar _Raven = window.Raven,\n    hasJSON = !!(typeof JSON === 'object' && JSON.stringify),\n    lastCapturedException,\n    lastEventId,\n    globalServer,\n    globalUser,\n    globalKey,\n    globalProject,\n    globalOptions = {\n        logger: 'javascript',\n        ignoreErrors: [],\n        ignoreUrls: [],\n        whitelistUrls: [],\n        includePaths: [],\n        collectWindowErrors: false,\n        tags: {},\n        maxMessageLength: 100,\n        extra: {}\n    },\n    authQueryString,\n    isRavenInstalled = false,\n\n    objectPrototype = Object.prototype,\n    startTime = now();\n\n/*\n * The core Raven singleton\n *\n * @this {Raven}\n */\nvar Raven = {\n    VERSION: '1.1.19',\n\n    debug: true,\n\n    /*\n     * Allow multiple versions of Raven to be installed.\n     * Strip Raven from the global context and returns the instance.\n     *\n     * @return {Raven}\n     */\n    noConflict: function() {\n        window.Raven = _Raven;\n        return Raven;\n    },\n\n    /*\n     * Configure Raven with a DSN and extra options\n     *\n     * @param {string} dsn The public Sentry DSN\n     * @param {object} options Optional set of of global options [optional]\n     * @return {Raven}\n     */\n    config: function(dsn, options) {\n        if (globalServer) {\n            logDebug('error', 'Error: Raven has already been configured');\n            return Raven;\n        }\n        if (!dsn) return Raven;\n\n        var uri = parseDSN(dsn),\n            lastSlash = uri.path.lastIndexOf('/'),\n            path = uri.path.substr(1, lastSlash);\n\n        // merge in options\n        if (options) {\n            each(options, function(key, value){\n                globalOptions[key] = value;\n            });\n        }\n\n        // \"Script error.\" is hard coded into browsers for errors that it can't read.\n        // this is the result of a script being pulled in from an external domain and CORS.\n        globalOptions.ignoreErrors.push(/^Script error\\.?$/);\n        globalOptions.ignoreErrors.push(/^Javascript error: Script error\\.? on line 0$/);\n\n        // join regexp rules into one big rule\n        globalOptions.ignoreErrors = joinRegExp(globalOptions.ignoreErrors);\n        globalOptions.ignoreUrls = globalOptions.ignoreUrls.length ? joinRegExp(globalOptions.ignoreUrls) : false;\n        globalOptions.whitelistUrls = globalOptions.whitelistUrls.length ? joinRegExp(globalOptions.whitelistUrls) : false;\n        globalOptions.includePaths = joinRegExp(globalOptions.includePaths);\n\n        globalKey = uri.user;\n        globalProject = uri.path.substr(lastSlash + 1);\n\n        // assemble the endpoint from the uri pieces\n        globalServer = '//' + uri.host +\n                      (uri.port ? ':' + uri.port : '') +\n                      '/' + path + 'api/' + globalProject + '/store/';\n\n        if (uri.protocol) {\n            globalServer = uri.protocol + ':' + globalServer;\n        }\n\n        if (globalOptions.fetchContext) {\n            TraceKit.remoteFetching = true;\n        }\n\n        if (globalOptions.linesOfContext) {\n            TraceKit.linesOfContext = globalOptions.linesOfContext;\n        }\n\n        TraceKit.collectWindowErrors = !!globalOptions.collectWindowErrors;\n\n        setAuthQueryString();\n\n        // return for chaining\n        return Raven;\n    },\n\n    /*\n     * Installs a global window.onerror error handler\n     * to capture and report uncaught exceptions.\n     * At this point, install() is required to be called due\n     * to the way TraceKit is set up.\n     *\n     * @return {Raven}\n     */\n    install: function() {\n        if (isSetup() && !isRavenInstalled) {\n            TraceKit.report.subscribe(handleStackInfo);\n            isRavenInstalled = true;\n        }\n\n        return Raven;\n    },\n\n    /*\n     * Wrap code within a context so Raven can capture errors\n     * reliably across domains that is executed immediately.\n     *\n     * @param {object} options A specific set of options for this context [optional]\n     * @param {function} func The callback to be immediately executed within the context\n     * @param {array} args An array of arguments to be called with the callback [optional]\n     */\n    context: function(options, func, args) {\n        if (isFunction(options)) {\n            args = func || [];\n            func = options;\n            options = undefined;\n        }\n\n        return Raven.wrap(options, func).apply(this, args);\n    },\n\n    /*\n     * Wrap code within a context and returns back a new function to be executed\n     *\n     * @param {object} options A specific set of options for this context [optional]\n     * @param {function} func The function to be wrapped in a new context\n     * @return {function} The newly wrapped functions with a context\n     */\n    wrap: function(options, func) {\n        // 1 argument has been passed, and it's not a function\n        // so just return it\n        if (isUndefined(func) && !isFunction(options)) {\n            return options;\n        }\n\n        // options is optional\n        if (isFunction(options)) {\n            func = options;\n            options = undefined;\n        }\n\n        // At this point, we've passed along 2 arguments, and the second one\n        // is not a function either, so we'll just return the second argument.\n        if (!isFunction(func)) {\n            return func;\n        }\n\n        // We don't wanna wrap it twice!\n        if (func.__raven__) {\n            return func;\n        }\n\n        function wrapped() {\n            var args = [], i = arguments.length,\n                deep = !options || options && options.deep !== false;\n            // Recursively wrap all of a function's arguments that are\n            // functions themselves.\n\n            while(i--) args[i] = deep ? Raven.wrap(options, arguments[i]) : arguments[i];\n\n            try {\n                /*jshint -W040*/\n                return func.apply(this, args);\n            } catch(e) {\n                Raven.captureException(e, options);\n                throw e;\n            }\n        }\n\n        // copy over properties of the old function\n        for (var property in func) {\n            if (hasKey(func, property)) {\n                wrapped[property] = func[property];\n            }\n        }\n\n        // Signal that this function has been wrapped already\n        // for both debugging and to prevent it to being wrapped twice\n        wrapped.__raven__ = true;\n        wrapped.__inner__ = func;\n\n        return wrapped;\n    },\n\n    /*\n     * Uninstalls the global error handler.\n     *\n     * @return {Raven}\n     */\n    uninstall: function() {\n        TraceKit.report.uninstall();\n        isRavenInstalled = false;\n\n        return Raven;\n    },\n\n    /*\n     * Manually capture an exception and send it over to Sentry\n     *\n     * @param {error} ex An exception to be logged\n     * @param {object} options A specific set of options for this error [optional]\n     * @return {Raven}\n     */\n    captureException: function(ex, options) {\n        // If not an Error is passed through, recall as a message instead\n        if (!isError(ex)) return Raven.captureMessage(ex, options);\n\n        // Store the raw exception object for potential debugging and introspection\n        lastCapturedException = ex;\n\n        // TraceKit.report will re-raise any exception passed to it,\n        // which means you have to wrap it in try/catch. Instead, we\n        // can wrap it here and only re-raise if TraceKit.report\n        // raises an exception different from the one we asked to\n        // report on.\n        try {\n            TraceKit.report(ex, options);\n        } catch(ex1) {\n            if(ex !== ex1) {\n                throw ex1;\n            }\n        }\n\n        return Raven;\n    },\n\n    /*\n     * Manually send a message to Sentry\n     *\n     * @param {string} msg A plain message to be captured in Sentry\n     * @param {object} options A specific set of options for this message [optional]\n     * @return {Raven}\n     */\n    captureMessage: function(msg, options) {\n        // config() automagically converts ignoreErrors from a list to a RegExp so we need to test for an\n        // early call; we'll error on the side of logging anything called before configuration since it's\n        // probably something you should see:\n        if (!!globalOptions.ignoreErrors.test && globalOptions.ignoreErrors.test(msg)) {\n            return;\n        }\n\n        // Fire away!\n        send(\n            objectMerge({\n                message: msg + ''  // Make sure it's actually a string\n            }, options)\n        );\n\n        return Raven;\n    },\n\n    /*\n     * Set/clear a user to be sent along with the payload.\n     *\n     * @param {object} user An object representing user data [optional]\n     * @return {Raven}\n     */\n    setUserContext: function(user) {\n        globalUser = user;\n\n        return Raven;\n    },\n\n    /*\n     * Set extra attributes to be sent along with the payload.\n     *\n     * @param {object} extra An object representing extra data [optional]\n     * @return {Raven}\n     */\n    setExtraContext: function(extra) {\n        globalOptions.extra = extra || {};\n\n        return Raven;\n    },\n\n    /*\n     * Set tags to be sent along with the payload.\n     *\n     * @param {object} tags An object representing tags [optional]\n     * @return {Raven}\n     */\n    setTagsContext: function(tags) {\n        globalOptions.tags = tags || {};\n\n        return Raven;\n    },\n\n    /*\n     * Set release version of application\n     *\n     * @param {string} release Typically something like a git SHA to identify version\n     * @return {Raven}\n     */\n    setReleaseContext: function(release) {\n        globalOptions.release = release;\n\n        return Raven;\n    },\n\n    /*\n     * Set the dataCallback option\n     *\n     * @param {function} callback The callback to run which allows the\n     *                            data blob to be mutated before sending\n     * @return {Raven}\n     */\n    setDataCallback: function(callback) {\n        globalOptions.dataCallback = callback;\n\n        return Raven;\n    },\n\n    /*\n     * Set the shouldSendCallback option\n     *\n     * @param {function} callback The callback to run which allows\n     *                            introspecting the blob before sending\n     * @return {Raven}\n     */\n    setShouldSendCallback: function(callback) {\n        globalOptions.shouldSendCallback = callback;\n\n        return Raven;\n    },\n\n    /*\n     * Get the latest raw exception that was captured by Raven.\n     *\n     * @return {error}\n     */\n    lastException: function() {\n        return lastCapturedException;\n    },\n\n    /*\n     * Get the last event id\n     *\n     * @return {string}\n     */\n    lastEventId: function() {\n        return lastEventId;\n    },\n\n    /*\n     * Determine if Raven is setup and ready to go.\n     *\n     * @return {boolean}\n     */\n    isSetup: function() {\n        return isSetup();\n    }\n};\n\nRaven.setUser = Raven.setUserContext; // To be deprecated\n\nfunction triggerEvent(eventType, options) {\n    var event, key;\n\n    options = options || {};\n\n    eventType = 'raven' + eventType.substr(0,1).toUpperCase() + eventType.substr(1);\n\n    if (document.createEvent) {\n        event = document.createEvent('HTMLEvents');\n        event.initEvent(eventType, true, true);\n    } else {\n        event = document.createEventObject();\n        event.eventType = eventType;\n    }\n\n    for (key in options) if (hasKey(options, key)) {\n        event[key] = options[key];\n    }\n\n    if (document.createEvent) {\n        // IE9 if standards\n        document.dispatchEvent(event);\n    } else {\n        // IE8 regardless of Quirks or Standards\n        // IE9 if quirks\n        try {\n            document.fireEvent('on' + event.eventType.toLowerCase(), event);\n        } catch(e) {}\n    }\n}\n\nvar dsnKeys = 'source protocol user pass host port path'.split(' '),\n    dsnPattern = /^(?:(\\w+):)?\\/\\/(\\w+)(:\\w+)?@([\\w\\.-]+)(?::(\\d+))?(\\/.*)/;\n\nfunction RavenConfigError(message) {\n    this.name = 'RavenConfigError';\n    this.message = message;\n}\nRavenConfigError.prototype = new Error();\nRavenConfigError.prototype.constructor = RavenConfigError;\n\n/**** Private functions ****/\nfunction parseDSN(str) {\n    var m = dsnPattern.exec(str),\n        dsn = {},\n        i = 7;\n\n    try {\n        while (i--) dsn[dsnKeys[i]] = m[i] || '';\n    } catch(e) {\n        throw new RavenConfigError('Invalid DSN: ' + str);\n    }\n\n    if (dsn.pass)\n        throw new RavenConfigError('Do not specify your private key in the DSN!');\n\n    return dsn;\n}\n\nfunction isUndefined(what) {\n    return what === void 0;\n}\n\nfunction isFunction(what) {\n    return typeof what === 'function';\n}\n\nfunction isString(what) {\n    return objectPrototype.toString.call(what) === '[object String]';\n}\n\nfunction isObject(what) {\n    return typeof what === 'object' && what !== null;\n}\n\nfunction isEmptyObject(what) {\n    for (var k in what) return false;\n    return true;\n}\n\n// Sorta yanked from https://github.com/joyent/node/blob/aa3b4b4/lib/util.js#L560\n// with some tiny modifications\nfunction isError(what) {\n    return isObject(what) &&\n        objectPrototype.toString.call(what) === '[object Error]' ||\n        what instanceof Error;\n}\n\n/**\n * hasKey, a better form of hasOwnProperty\n * Example: hasKey(MainHostObject, property) === true/false\n *\n * @param {Object} host object to check property\n * @param {string} key to check\n */\nfunction hasKey(object, key) {\n    return objectPrototype.hasOwnProperty.call(object, key);\n}\n\nfunction each(obj, callback) {\n    var i, j;\n\n    if (isUndefined(obj.length)) {\n        for (i in obj) {\n            if (hasKey(obj, i)) {\n                callback.call(null, i, obj[i]);\n            }\n        }\n    } else {\n        j = obj.length;\n        if (j) {\n            for (i = 0; i < j; i++) {\n                callback.call(null, i, obj[i]);\n            }\n        }\n    }\n}\n\n\nfunction setAuthQueryString() {\n    authQueryString =\n        '?sentry_version=4' +\n        '&sentry_client=raven-js/' + Raven.VERSION +\n        '&sentry_key=' + globalKey;\n}\n\n\nfunction handleStackInfo(stackInfo, options) {\n    var frames = [];\n\n    if (stackInfo.stack && stackInfo.stack.length) {\n        each(stackInfo.stack, function(i, stack) {\n            var frame = normalizeFrame(stack);\n            if (frame) {\n                frames.push(frame);\n            }\n        });\n    }\n\n    triggerEvent('handle', {\n        stackInfo: stackInfo,\n        options: options\n    });\n\n    processException(\n        stackInfo.name,\n        stackInfo.message,\n        stackInfo.url,\n        stackInfo.lineno,\n        frames,\n        options\n    );\n}\n\nfunction normalizeFrame(frame) {\n    if (!frame.url) return;\n\n    // normalize the frames data\n    var normalized = {\n        filename:   frame.url,\n        lineno:     frame.line,\n        colno:      frame.column,\n        'function': frame.func || '?'\n    }, context = extractContextFromFrame(frame), i;\n\n    if (context) {\n        var keys = ['pre_context', 'context_line', 'post_context'];\n        i = 3;\n        while (i--) normalized[keys[i]] = context[i];\n    }\n\n    normalized.in_app = !( // determine if an exception came from outside of our app\n        // first we check the global includePaths list.\n        !globalOptions.includePaths.test(normalized.filename) ||\n        // Now we check for fun, if the function name is Raven or TraceKit\n        /(Raven|TraceKit)\\./.test(normalized['function']) ||\n        // finally, we do a last ditch effort and check for raven.min.js\n        /raven\\.(min\\.)?js$/.test(normalized.filename)\n    );\n\n    return normalized;\n}\n\nfunction extractContextFromFrame(frame) {\n    // immediately check if we should even attempt to parse a context\n    if (!frame.context || !globalOptions.fetchContext) return;\n\n    var context = frame.context,\n        pivot = ~~(context.length / 2),\n        i = context.length, isMinified = false;\n\n    while (i--) {\n        // We're making a guess to see if the source is minified or not.\n        // To do that, we make the assumption if *any* of the lines passed\n        // in are greater than 300 characters long, we bail.\n        // Sentry will see that there isn't a context\n        if (context[i].length > 300) {\n            isMinified = true;\n            break;\n        }\n    }\n\n    if (isMinified) {\n        // The source is minified and we don't know which column. Fuck it.\n        if (isUndefined(frame.column)) return;\n\n        // If the source is minified and has a frame column\n        // we take a chunk of the offending line to hopefully shed some light\n        return [\n            [],  // no pre_context\n            context[pivot].substr(frame.column, 50), // grab 50 characters, starting at the offending column\n            []   // no post_context\n        ];\n    }\n\n    return [\n        context.slice(0, pivot),    // pre_context\n        context[pivot],             // context_line\n        context.slice(pivot + 1)    // post_context\n    ];\n}\n\nfunction processException(type, message, fileurl, lineno, frames, options) {\n    var stacktrace, label, i;\n\n    // In some instances message is not actually a string, no idea why,\n    // so we want to always coerce it to one.\n    message += '';\n\n    // Sometimes an exception is getting logged in Sentry as\n    // <no message value>\n    // This can only mean that the message was falsey since this value\n    // is hardcoded into Sentry itself.\n    // At this point, if the message is falsey, we bail since it's useless\n    if (type === 'Error' && !message) return;\n\n    if (globalOptions.ignoreErrors.test(message)) return;\n\n    if (frames && frames.length) {\n        fileurl = frames[0].filename || fileurl;\n        // Sentry expects frames oldest to newest\n        // and JS sends them as newest to oldest\n        frames.reverse();\n        stacktrace = {frames: frames};\n    } else if (fileurl) {\n        stacktrace = {\n            frames: [{\n                filename: fileurl,\n                lineno: lineno,\n                in_app: true\n            }]\n        };\n    }\n\n    // Truncate the message to a max of characters\n    message = truncate(message, globalOptions.maxMessageLength);\n\n    if (globalOptions.ignoreUrls && globalOptions.ignoreUrls.test(fileurl)) return;\n    if (globalOptions.whitelistUrls && !globalOptions.whitelistUrls.test(fileurl)) return;\n\n    label = lineno ? message + ' at ' + lineno : message;\n\n    // Fire away!\n    send(\n        objectMerge({\n            // sentry.interfaces.Exception\n            exception: {\n                type: type,\n                value: message\n            },\n            // sentry.interfaces.Stacktrace\n            stacktrace: stacktrace,\n            culprit: fileurl,\n            message: label\n        }, options)\n    );\n}\n\nfunction objectMerge(obj1, obj2) {\n    if (!obj2) {\n        return obj1;\n    }\n    each(obj2, function(key, value){\n        obj1[key] = value;\n    });\n    return obj1;\n}\n\nfunction truncate(str, max) {\n    return str.length <= max ? str : str.substr(0, max) + '\\u2026';\n}\n\nfunction now() {\n    return +new Date();\n}\n\nfunction getHttpData() {\n    var http = {\n        url: document.location.href,\n        headers: {\n            'User-Agent': navigator.userAgent\n        }\n    };\n\n    if (document.referrer) {\n        http.headers.Referer = document.referrer;\n    }\n\n    return http;\n}\n\nfunction send(data) {\n    if (!isSetup()) return;\n\n    data = objectMerge({\n        project: globalProject,\n        logger: globalOptions.logger,\n        platform: 'javascript',\n        // sentry.interfaces.Http\n        request: getHttpData()\n    }, data);\n\n    // Merge in the tags and extra separately since objectMerge doesn't handle a deep merge\n    data.tags = objectMerge(objectMerge({}, globalOptions.tags), data.tags);\n    data.extra = objectMerge(objectMerge({}, globalOptions.extra), data.extra);\n\n    // Send along our own collected metadata with extra\n    data.extra = objectMerge({\n        'session:duration': now() - startTime\n    }, data.extra);\n\n    // If there are no tags/extra, strip the key from the payload alltogther.\n    if (isEmptyObject(data.tags)) delete data.tags;\n\n    if (globalUser) {\n        // sentry.interfaces.User\n        data.user = globalUser;\n    }\n\n    // Include the release iff it's defined in globalOptions\n    if (globalOptions.release) data.release = globalOptions.release;\n\n    if (isFunction(globalOptions.dataCallback)) {\n        data = globalOptions.dataCallback(data) || data;\n    }\n\n    // Why??????????\n    if (!data || isEmptyObject(data)) {\n        return;\n    }\n\n    // Check if the request should be filtered or not\n    if (isFunction(globalOptions.shouldSendCallback) && !globalOptions.shouldSendCallback(data)) {\n        return;\n    }\n\n    // Send along an event_id if not explicitly passed.\n    // This event_id can be used to reference the error within Sentry itself.\n    // Set lastEventId after we know the error should actually be sent\n    lastEventId = data.event_id || (data.event_id = uuid4());\n\n    makeRequest(data);\n}\n\n\nfunction makeRequest(data) {\n    var img = newImage(),\n        src = globalServer + authQueryString + '&sentry_data=' + encodeURIComponent(JSON.stringify(data));\n\n    img.crossOrigin = 'anonymous';\n    img.onload = function success() {\n        triggerEvent('success', {\n            data: data,\n            src: src\n        });\n    };\n    img.onerror = img.onabort = function failure() {\n        triggerEvent('failure', {\n            data: data,\n            src: src\n        });\n    };\n    img.src = src;\n}\n\n// Note: this is shitty, but I can't figure out how to get\n// sinon to stub document.createElement without breaking everything\n// so this wrapper is just so I can stub it for tests.\nfunction newImage() {\n    return document.createElement('img');\n}\n\nfunction isSetup() {\n    if (!hasJSON) return false;  // needs JSON support\n    if (!globalServer) {\n        logDebug('error', 'Error: Raven has not been configured.');\n        return false;\n    }\n    return true;\n}\n\nfunction joinRegExp(patterns) {\n    // Combine an array of regular expressions and strings into one large regexp\n    // Be mad.\n    var sources = [],\n        i = 0, len = patterns.length,\n        pattern;\n\n    for (; i < len; i++) {\n        pattern = patterns[i];\n        if (isString(pattern)) {\n            // If it's a string, we need to escape it\n            // Taken from: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Guide/Regular_Expressions\n            sources.push(pattern.replace(/([.*+?^=!:${}()|\\[\\]\\/\\\\])/g, \"\\\\$1\"));\n        } else if (pattern && pattern.source) {\n            // If it's a regexp already, we want to extract the source\n            sources.push(pattern.source);\n        }\n        // Intentionally skip other cases\n    }\n    return new RegExp(sources.join('|'), 'i');\n}\n\n// http://stackoverflow.com/questions/105034/how-to-create-a-guid-uuid-in-javascript/2117523#2117523\nfunction uuid4() {\n    return 'xxxxxxxxxxxx4xxxyxxxxxxxxxxxxxxx'.replace(/[xy]/g, function(c) {\n        var r = Math.random()*16|0,\n            v = c == 'x' ? r : (r&0x3|0x8);\n        return v.toString(16);\n    });\n}\n\nfunction logDebug(level, message) {\n    if (window.console && console[level] && Raven.debug) {\n        console[level](message);\n    }\n}\n\nfunction afterLoad() {\n    // Attempt to initialize Raven on load\n    var RavenConfig = window.RavenConfig;\n    if (RavenConfig) {\n        Raven.config(RavenConfig.dsn, RavenConfig.config).install();\n    }\n}\nafterLoad();\n\n// Expose Raven to the world\nif (true) {\n    // AMD\n    window.Raven = Raven;\n    !(__WEBPACK_AMD_DEFINE_ARRAY__ = [], __WEBPACK_AMD_DEFINE_RESULT__ = (function() {\n      return Raven;\n    }).apply(exports, __WEBPACK_AMD_DEFINE_ARRAY__),\n\t\t\t\t__WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));\n} else if (typeof module === 'object') {\n    // browserify\n    module.exports = Raven;\n} else if (typeof exports === 'object') {\n    // CommonJS\n    exports = Raven;\n} else {\n    // Everything else\n    window.Raven = Raven;\n}\n\n})(typeof window !== 'undefined' ? window : this);\n\n/***/ }),\n\n/***/ 371:\n/***/ (function(module, exports) {\n\n/**\n * jQuery plugin\n *\n * Patches event handler callbacks and ajax callbacks.\n */\nevite.when('jquery').then(function() {\n'use strict';\n\n// quit if jQuery isn't on the page\nif (!$) {\n    console.warn && console.warn('No jQuery for raven.jquery!');\n    return;\n}\n\nvar _oldEventAdd = $.event.add;\n$.event.add = function ravenEventAdd(elem, types, handler, data, selector) {\n    var _handler;\n\n    if (handler && handler.handler) {\n        _handler = handler.handler;\n        handler.handler = Raven.wrap(handler.handler);\n    } else {\n        _handler = handler;\n        handler = Raven.wrap(handler);\n    }\n\n    // If the handler we are attaching doesn’t have the same guid as\n    // the original, it will never be removed when someone tries to\n    // unbind the original function later. Technically as a result of\n    // this our guids are no longer globally unique, but whatever, that\n    // never hurt anybody RIGHT?!\n    if (_handler.guid) {\n        handler.guid = _handler.guid;\n    } else {\n        handler.guid = _handler.guid = $.guid++;\n    }\n\n    return _oldEventAdd.call(this, elem, types, handler, data, selector);\n};\n\nvar _oldReady = $.fn.ready;\n$.fn.ready = function ravenjQueryReadyWrapper(fn) {\n    return _oldReady.call(this, Raven.wrap(fn));\n};\n\nvar _oldAjax = $.ajax;\n$.ajax = function ravenAjaxWrapper(url, options) {\n    var keys = ['complete', 'error', 'success'], key;\n\n    // Taken from https://github.com/jquery/jquery/blob/eee2eaf1d7a189d99106423a4206c224ebd5b848/src/ajax.js#L311-L318\n    // If url is an object, simulate pre-1.5 signature\n    if (typeof url === 'object') {\n        options = url;\n        url = undefined;\n    }\n\n    // Force options to be an object\n    options = options || {};\n\n    /*jshint -W084*/\n    while(key = keys.pop()) {\n        if ($.isFunction(options[key])) {\n            options[key] = Raven.wrap(options[key]);\n        }\n    }\n    /*jshint +W084*/\n\n    try {\n        return _oldAjax.call(this, url, options);\n    } catch (e) {\n        Raven.captureException(e);\n        throw e;\n    }\n};\n\n});\n\n/***/ }),\n\n/***/ 5:\n/***/ (function(module, exports) {\n\nvar g;\r\n\r\n// This works in non-strict mode\r\ng = (function() {\r\n\treturn this;\r\n})();\r\n\r\ntry {\r\n\t// This works if eval is allowed (see CSP)\r\n\tg = g || Function(\"return this\")() || (1,eval)(\"this\");\r\n} catch(e) {\r\n\t// This works if the window reference is available\r\n\tif(typeof window === \"object\")\r\n\t\tg = window;\r\n}\r\n\r\n// g can still be undefined, but nothing to do about it...\r\n// We return undefined, instead of nothing here, so it's\r\n// easier to handle this case. if(!global) { ...}\r\n\r\nmodule.exports = g;\r\n\n\n/***/ })\n\n/******/ });\n\n\n// WEBPACK FOOTER //\n// common_base.js-head.js"," \t// The module cache\n \tvar installedModules = {};\n\n \t// The require function\n \tfunction __webpack_require__(moduleId) {\n\n \t\t// Check if module is in cache\n \t\tif(installedModules[moduleId]) {\n \t\t\treturn installedModules[moduleId].exports;\n \t\t}\n \t\t// Create a new module (and put it into the cache)\n \t\tvar module = installedModules[moduleId] = {\n \t\t\ti: moduleId,\n \t\t\tl: false,\n \t\t\texports: {}\n \t\t};\n\n \t\t// Execute the module function\n \t\tmodules[moduleId].call(module.exports, module, module.exports, __webpack_require__);\n\n \t\t// Flag the module as loaded\n \t\tmodule.l = true;\n\n \t\t// Return the exports of the module\n \t\treturn module.exports;\n \t}\n\n\n \t// expose the modules object (__webpack_modules__)\n \t__webpack_require__.m = modules;\n\n \t// expose the module cache\n \t__webpack_require__.c = installedModules;\n\n \t// define getter function for harmony exports\n \t__webpack_require__.d = function(exports, name, getter) {\n \t\tif(!__webpack_require__.o(exports, name)) {\n \t\t\tObject.defineProperty(exports, name, {\n \t\t\t\tconfigurable: false,\n \t\t\t\tenumerable: true,\n \t\t\t\tget: getter\n \t\t\t});\n \t\t}\n \t};\n\n \t// getDefaultExport function for compatibility with non-harmony modules\n \t__webpack_require__.n = function(module) {\n \t\tvar getter = module && module.__esModule ?\n \t\t\tfunction getDefault() { return module['default']; } :\n \t\t\tfunction getModuleExports() { return module; };\n \t\t__webpack_require__.d(getter, 'a', getter);\n \t\treturn getter;\n \t};\n\n \t// Object.prototype.hasOwnProperty.call\n \t__webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };\n\n \t// __webpack_public_path__\n \t__webpack_require__.p = \"/assets/_build/webpack_bundles/\";\n\n \t// Load entry module and return exports\n \treturn __webpack_require__(__webpack_require__.s = 1130);\n\n\n\n// WEBPACK FOOTER //\n// webpack/bootstrap 44c9de8707f74e17830d","/**\n * Cookie plugin\n *\n * Copyright (c) 2006 Klaus Hartl (stilbuero.de)\n * Dual licensed under the MIT and GPL licenses:\n * http://www.opensource.org/licenses/mit-license.php\n * http://www.gnu.org/licenses/gpl.html\n *\n */\n\n/**\n * Create a cookie with the given name and value and other optional parameters.\n *\n * @example $.cookie('the_cookie', 'the_value');\n * @desc Set the value of a cookie.\n * @example $.cookie('the_cookie', 'the_value', { expires: 7, path: '/', domain: 'jquery.com', secure: true });\n * @desc Create a cookie with all available options.\n * @example $.cookie('the_cookie', 'the_value');\n * @desc Create a session cookie.\n * @example $.cookie('the_cookie', null);\n * @desc Delete a cookie by passing null as value. Keep in mind that you have to use the same path and domain\n *       used when the cookie was set.\n *\n * @param String name The name of the cookie.\n * @param String value The value of the cookie.\n * @param Object options An object literal containing key/value pairs to provide optional cookie attributes.\n * @option Number|Date expires Either an integer specifying the expiration date from now on in days or a Date object.\n *                             If a negative value is specified (e.g. a date in the past), the cookie will be deleted.\n *                             If set to null or omitted, the cookie will be a session cookie and will not be retained\n *                             when the the browser exits.\n * @option String path The value of the path atribute of the cookie (default: path of page that created the cookie).\n * @option String domain The value of the domain attribute of the cookie (default: domain of page that created the cookie).\n * @option Boolean secure If true, the secure attribute of the cookie will be set and the cookie transmission will\n *                        require a secure protocol (like HTTPS).\n * @type undefined\n *\n * @name $.cookie\n * @cat Plugins/Cookie\n * @author Klaus Hartl/klaus.hartl@stilbuero.de\n */\n\n/**\n * Get the value of a cookie with the given name.\n *\n * @example $.cookie('the_cookie');\n * @desc Get the value of a cookie.\n *\n * @param String name The name of the cookie.\n * @return The value of the cookie.\n * @type String\n *\n * @name $.cookie\n * @cat Plugins/Cookie\n * @author Klaus Hartl/klaus.hartl@stilbuero.de\n */\nexport default function cookie (name, value, options) {\n    if (typeof value != 'undefined') { // name and value given, set cookie\n        options = options || {};\n        if (value === null) {\n            value = '';\n            options.expires = -1;\n        }\n        var expires = '';\n        if (options.expires && (typeof options.expires == 'number' || options.expires.toUTCString)) {\n            var date;\n            if (typeof options.expires == 'number') {\n                date = new Date();\n                date.setTime(date.getTime() + (options.expires * 24 * 60 * 60 * 1000));\n            } else {\n                date = options.expires;\n            }\n            expires = '; expires=' + date.toUTCString(); // use expires attribute, max-age is not supported by IE\n        }\n        // CAUTION: Needed to parenthesize options.path and options.domain\n        // in the following expressions, otherwise they evaluate to undefined\n        // in the packed version for some reason...\n        var path = options.path ? '; path=' + (options.path) : '';\n        var domain = options.domain ? '; domain=' + (options.domain) : '';\n        var secure = options.secure ? '; secure' : '';\n        document.cookie = [name, '=', encodeURIComponent(value), expires, path, domain, secure].join('');\n    } else { // only name given, get cookie\n        var cookieValue = null;\n        if (document.cookie && document.cookie != '') {\n            var cookies = document.cookie.split(';');\n            for (var i = 0; i < cookies.length; i++) {\n                var cookie = cookies[i].trim();\n                // Does this cookie string begin with the name we want?\n                if (cookie.substring(0, name.length + 1) == (name + '=')) {\n                    cookieValue = decodeURIComponent(cookie.substring(name.length + 1));\n                    break;\n                }\n            }\n        }\n        return cookieValue;\n    }\n};\n\nwindow.evite = window.evite || {};\nwindow.evite.cookie = cookie;\n\n\n\n// WEBPACK FOOTER //\n// ./assets/js-lib/evite.cookie.es6","const evite = window.evite = window.evite || {};\nif(evite.Emitter){\n  throw new Error('Unexpected copy of evite.Emitter module exported, you might have used an unusual import instead of the \"evite\" alias.');\n}\n\nexport class Emitter {\n  constructor() {\n    const delegate = document.createDocumentFragment();\n    this.addEventListener = delegate.addEventListener.bind(delegate);\n    this.removeEventListener = delegate.removeEventListener.bind(delegate);\n    this.dispatchEvent = delegate.dispatchEvent.bind(delegate);\n  }\n}\n\nexport default Emitter;\n\n\n\n// WEBPACK FOOTER //\n// ./assets/es6/common/evite/Emitter.es6","const evite = window.evite = window.evite || {};\n\nif(evite.detects){\n  throw new Error('Unexpected copy of evite.detects module exported, you might have used an unusual import instead of the \"evite\" alias.');\n}\nconst ua = navigator.userAgent;\n\nexport const isIE = /*@cc_on!@*/false || !!document.documentMode;\nexport const isEdge = Boolean(!isIE && window.StyleMedia);\nexport const isChrome = Boolean(window.chrome && window.chrome.webstore);\nexport const isFirefox = typeof InstallTrigger !== 'undefined';\nexport const isSafari = /constructor/i.test(window.HTMLElement) || (window.safari && safari.pushNotification && safari.pushNotification.toString()) === '[object SafariRemoteNotification]';\n\nexport const isIPad = /iPad/i.test(ua);\nexport const isIPhone = /iPhone/i.test(ua);\nexport const isAndroid = /Android/i.test(ua);\n\nexport const isMobile = Boolean(window.is_mobile_site || window.is_mobile || isIPhone || isAndroid);\nexport const isDesktop = !isMobile;\n\nexport default exports;\n\n\n\n// WEBPACK FOOTER //\n// ./assets/es6/common/evite/detects.es6","const evite = window.evite = window.evite || {};\nconst promiseMap = new Map();\n\nif(evite.promises){\n  throw new Error('Unexpected copy of evite.promises module exported, you might have used an unusual import instead of the \"evite\" alias.');\n}\n\n/**\n * @param namesOrPromises {...string|!Promise|!Array.<string|!Promise>}\n * @returns Promise\n **/\nexport function when(...namesOrPromises) {\n  const promises = [];\n  for(let nameOrPromise of namesOrPromises) {\n    let promise;\n    if (nameOrPromise instanceof Promise) {\n      promise = nameOrPromise;\n    }\n    else if (typeof nameOrPromise === 'string' || Array.isArray(nameOrPromise)) {\n      promise = ensurePromiseMapping(nameOrPromise).promise;\n    }\n    else {\n      assert(false, 'Expected arguments to be either a promise, a string, or a list got: %O.', nameOrPromise);\n      return null;\n    }\n\n    promises.push(promise);\n  }\n\n  if (promises.length === 1) {\n    return promises[0];\n  }\n\n  return Promise.all(promises);\n}\n\nfunction ensurePromiseMapping(name) {\n  if (!promiseMap.get(name)) {\n    let mapping = createPromiseMapping();\n    promiseMap.set(name, mapping);\n\n    if (process.env.LOGGING_ENABLED) {\n      mapping.promise.then((value) => {\n        evite.debug('evite.resolve:', name);\n      });\n    }\n\n    if (Array.isArray(name)) {\n      when.apply(null, name)\n        .then(resolvePromiseByName.bind(null, name))\n        .catch(rejectPromiseByName.bind(null, name));\n    }\n  }\n\n  return promiseMap.get(name);\n}\n\nfunction createPromiseMapping() {\n  let mapping = {};\n  mapping.promise = new Promise(function (resolve, reject) {\n    mapping.resolve = resolve;\n    mapping.reject = function(msgOrError){\n      msgOrError = msgOrError || 'Promise rejected.';\n      var error = typeof msgOrError === 'string'? new Error(msgOrError): msgOrError;\n      reject(error);\n    };\n  });\n\n  return mapping;\n}\n/**\n * @param namesOrPromise {string}\n * @param opt_value {*=} The value to send to the resolved promise\n * @returns Promise\n **/\nexport function resolvePromiseByName(name, opt_value) {\n  let mapping = ensurePromiseMapping(name);\n  mapping.resolve(opt_value);\n  return mapping.promise;\n}\n\nexport function resolve(dataOrName, opt_value) {\n  if (typeof dataOrName === 'string') {\n    return resolvePromiseByName(dataOrName, opt_value);\n  }\n  else {\n    const nameList = [];\n    for(let name in dataOrName) {\n      nameList.push(name);\n      resolvePromiseByName(dataOrName, dataOrName[name])\n    }\n\n    return when(nameList);\n  }\n}\n\n/**\n * @param namesOrPromise {string}\n * @param opt_reason {*=} The error or message to send to the resolved promise\n * @returns Promise\n **/\nexport function rejectPromiseByName(name, opt_reason) {\n  let mapping = ensurePromiseMapping(name);\n  mapping.reject(opt_reason);\n  return mapping.promise;\n}\n\nexport function reject(dataOrName, opt_value) {\n  if (typeof dataOrName === 'string') {\n    return rejectPromiseByName(dataOrName, opt_value);\n  }\n  else {\n    const nameList = [];\n    for(let name in dataOrName) {\n      nameList.push(name);\n      rejectPromiseByName(dataOrName, dataOrName[name])\n    }\n\n    return when(nameList);\n  }\n}\n\n\nlet commands = evite.command;\nwhen('evite').then(function(){\n  if(commands){\n    while(commands.length){\n      const commandData = commands.shift();\n      const {name, params, promiseCommand} = commandData;\n\n      var promise = exports[name].apply(evite, params);\n\n      for(let promiseCommandData of promiseCommand){\n        const {name, params} = promiseCommandData;\n        promise[name].apply(promise, params);\n      }\n    }\n  }\n});\n\nexport default exports;\n\n\n\n// WEBPACK FOOTER //\n// ./assets/es6/common/evite/promises.es6","import _Emitter from './Emitter';\nimport _debugging from './debugging';\nimport _detects from './detects';\nimport _features from './features';\nimport _experiments from './experiments';\nimport _dom from './dom';\nimport _promises from './promises';\nimport _history from './history';\nimport _utils from './utils';\nimport _urls from './urls';\n\nexport const Emitter = _Emitter;\nexport const debugging = _debugging;\nexport const detects = _detects;\nexport const features = _features;\nexport const experiments = _experiments;\nexport const dom = _dom;\nexport const promises = _promises;\nexport const utils = _utils;\nexport const urls = _urls;\n\nconst root =\n  typeof window !== 'undefined'? window:\n  typeof global !== 'undefined'? global:\n  {};\n\nconst evite = window.evite = window.evite || {};\nevite.global = root;\n\nglobal.require = function (name) {\n  return root[name];\n};\n\nif(evite.DEFINED){\n  throw new Error('Unexpected copy of evite module exported, you might have used an unusual import instead of the \"evite\" alias.');\n}\nevite.DEFINED = true;\n\nObject.assign(\n  evite,\n  debugging,\n  experiments,\n  dom,\n  utils,\n  promises,\n  exports,\n);\nevite.history = _history;\n\nexport default evite;\n\nevite.resolve('evite', evite);\n\n\n\n// WEBPACK FOOTER //\n// ./assets/es6/common/evite/index.es6","const evite = window.evite = window.evite || {};\n\nif(evite.debugging){\n  throw new Error('Unexpected copy of evite.debugging module exported, you might have used an unusual import instead of the \"evite\" alias.');\n}\n\nfunction consoleByMethodName(methodName, args) {\n  const console = evite.global.console;\n\n  if (process.env.LOGGING_ENABLED && console) {\n    if (console[methodName]) {\n      console[methodName].apply(console, args);\n    }\n    else if (methodName !== 'log') {\n      consoleByMethodName('log', args);\n    }\n  }\n}\n\nexport function log(...args) {\n  consoleByMethodName('log', args);\n}\n\nexport function debug(...args) {\n  consoleByMethodName('debug', args);\n}\n\nexport function info(...args) {\n  consoleByMethodName('info', args);\n}\n\nexport function error(...args) {\n  consoleByMethodName('error', args);\n}\n\nexport function trace(...args) {\n  consoleByMethodName('trace', args);\n}\n\nexport function warn(...args) {\n  consoleByMethodName('warn', args);\n}\n\nexport function assert(value, message) {\n  if(value){\n    return value;\n  }\n\n  if(process.env.NODE_ENV === 'develop'){\n    throw new Error('Assertion Error: ' + message);\n  } else {\n    consoleByMethodName('assert', [value, message || '']);\n  }\n}\n\nfunction assertType(value, type){\n  let valueType = typeof value;\n  let message = `Expected type (${type}), got (${valueType})`;\n  assert(valueType === type, message);\n  return value;\n}\n\nexport function assertString(value) {\n  return assertType(value, 'string');\n}\n\nexport function assertNumber(value) {\n  return assertType(value, 'number');\n}\n\nexport function assertBoolean(value) {\n  return assertType(value, 'boolean');\n}\n\nexport function assertObject(value) {\n  return assertType(value, 'object');\n}\n\nexport function assertFunction(value) {\n  let valueType = typeof value;\n  let message = `Expected type (function), got (${valueType})`;\n  assert(typeof value === 'function'|| value instanceof Function, message);\n  return value;\n}\n\nexport function assertInstanceOf(value, instanceConstructor) {\n  let message = `Expected value to be a instance of ${instanceConstructor.name || instanceConstructor}, got: ${value}`;\n  assert(value instanceof instanceConstructor, message);\n  return value;\n}\n\n/**\n * Execute a function and handle exceptions. This function should never throw an exception.\n *\n * @param func\n */\nexport function logAndContinue(func) {\n  if(!func)\n    return;\n\n  try {\n    return func();\n  }\n  catch(e) {\n    logError(e);\n  }\n}\n\n/**\n * Execute a function and handle exceptions. This function should never throw an exception.\n *\n * @param {string|Error} exception\n */\nexport function logError(exception) {\n  if (exception) {\n    if (window.Raven) {\n      Raven.captureException(exception);\n    }\n\n    error('Caught exception: ' + exception);\n    trace(exception);\n  }\n}\n\nwindow.onunhandledrejection = (data) => {\n  window.Raven && Raven.captureException(data.reason);\n  error('Unhandled promise rejection %O', data);\n};\n\nexport default exports;\n\n\n\n// WEBPACK FOOTER //\n// ./assets/es6/common/evite/debugging.es6","/** @fileOverview\n * Allows client side feature switches down to the device browser.\n * Notes:\n *   - Feature switches not defined in cstool are enabled by default\n *   - Android and Iphone are implicitly mobile\n *   - Tablet is considered desktop\n *\n * @code\n *  `evite.features.isEnabled('mentions');`\n *\n * CSTool: (Most specific key that matches the current environment wins)\n *  (lowest specificity)\n *    mentions - All Mentions\n *\n *    mentions|desktop - Desktop\n *    mentions|desktop|edge - Desktop Edge only\n *    mentions|desktop|ie - Desktop IE only\n *\n *    mentions|mobile - All mobile Browsers\n *    mentions|mobile|firefox - Firefox on mobile\n *\n *    mentions|mobile|android - Only Android users\n *    mentions|mobile|iphone - Only Iphone users\n *\n *  (highest specificity)\n *    mentions|mobile|android|chrome - Chrome on Android only\n *    mentions|mobile|iphone|safari - Safari on Iphone\n **/\nconst evite = window.evite = window.evite || {};\nimport detects from './detects';\nconst features = evite.features = evite.features || {};\n\nif(evite.features.DEFINED){\n  throw new Error('Unexpected copy of evite.features module exported, you might have used an unusual import instead of the \"evite\" alias.');\n}\nexport const DEFINED = true;\n\nexport function isEnabled(name, opt_defaultValueForMissingKey) {\n  name = name.toUpperCase();\n  const keyMissing = name in features === false;\n\n  return Boolean(\n    (arguments.length === 1 && keyMissing) ||\n    (keyMissing && opt_defaultValueForMissingKey) ||\n    get(name)\n  );\n}\n\nexport function get(name) {\n  name = name.toUpperCase();\n  try {\n    return JSON.parse(features[name]);\n  }\n  catch (error) {\n    return features[name];\n  }\n}\n\nexport function set(name, value) {\n  name = name.toUpperCase();\n  features[name] = value;\n}\n\nlet bitPosition = 0;\nfunction nextBitFlag() {\n  var bit = 1 << bitPosition;\n  bitPosition++;\n  return bit;\n}\n\nconst MOBILE_FLAG = nextBitFlag();\nconst DESKTOP_FLAG = nextBitFlag();\n\nconst IPAD_FLAG = nextBitFlag() | DESKTOP_FLAG;\nconst IPHONE_FLAG = nextBitFlag() | MOBILE_FLAG;\nconst ANDROID_FLAG = nextBitFlag() | MOBILE_FLAG;\n\nconst IE_FLAG = nextBitFlag();\nconst EDGE_FLAG = nextBitFlag();\nconst FIREFOX_FLAG = nextBitFlag();\nconst CHROME_FLAG = nextBitFlag();\nconst SAFARI_FLAG = nextBitFlag();\n\nexport function parseOptionsFromString(str) {\n  const isAndroid = /\\bAndroid\\b/i.test(str);\n  const isIPhone = /\\biPhone\\b/i.test(str);\n  const isIPad = /\\biPad\\b/i.test(str);\n  const isMobile = /\\bMobile\\b/i.test(str) || isIPhone || isAndroid;\n  const isDesktop = /\\bDesktop\\b/i.test(str) || !isMobile;\n\n  return {\n    isIPhone,\n    isAndroid,\n    isIPad,\n    isMobile,\n    isDesktop,\n    isIE: /\\bIE\\b/i.test(str),\n    isEdge: /\\bEdge\\b/i.test(str),\n    isChrome: /\\bChrome\\b/i.test(str),\n    isFirefox: /\\bFirefox\\b/i.test(str),\n    isSafari: /\\bSafari\\b/i.test(str)\n  };\n}\n\nfunction parseFlagsFromOptions(options) {\n  const mobile = options.isMobile && MOBILE_FLAG || 0;\n  const desktop = options.isDesktop && DESKTOP_FLAG || 0;\n  const viewport = mobile | desktop;\n\n  const ipad = options.isIPad && IPAD_FLAG || 0;\n  const iphone = options.isIPhone && IPHONE_FLAG || 0;\n  const android = options.isAndroid && ANDROID_FLAG || 0;\n  const device = ipad | iphone | android;\n\n  const ie = options.isIE && IE_FLAG || 0;\n  const edge = options.isEdge && EDGE_FLAG || 0;\n  const firefox = options.isFirefox && FIREFOX_FLAG || 0;\n  const chrome = options.isChrome && CHROME_FLAG || 0;\n  const safari = options.isSafari && SAFARI_FLAG || 0;\n  const browser = ie | edge | firefox | chrome | safari;\n\n  return {\n    viewport, mobile, desktop,\n    device, ipad, iphone, android,\n    browser, ie, edge, firefox, chrome, safari,\n  };\n}\n/** Override the feature switch with most specific value based off of current device\n * viewport < device-vendor < browser\n */\n// TODO - Add tests when test branch is merged in\nexport function getFeaturesSwitchesForType(strOrOptions) {\n  let options =\n    typeof strOrOptions === 'string'? parseOptionsFromString(strOrOptions):\n    typeof strOrOptions === 'object'? strOrOptions:\n    detects;\n\n  const currentFlags = parseFlagsFromOptions(options);\n\n  const matchedFeatureSwitches = {};\n  const highestSpecificityByFeature = {};\n\n  for(let key in features) {\n    var value = features[key];\n    if (typeof value === 'function') {\n      continue;\n    }\n\n    if (key.indexOf('|') === -1) {\n      if (key.toUpperCase() in matchedFeatureSwitches === false) {\n        matchedFeatureSwitches[key.toUpperCase()] = value;\n      }\n      continue;\n    }\n\n    const featureName = key.slice(0, key.indexOf('|')).toUpperCase();\n    if (featureName in features && !features[featureName]) {\n      continue;\n    }\n\n    const featureFlags = parseFlagsFromOptions(parseOptionsFromString(key));\n\n    if (!featureFlags.viewport && !featureFlags.browser && !featureFlags.device) {\n      continue;\n    }\n\n    const viewportNotSpecified = !featureFlags.viewport && !currentFlags.viewport;\n    const matchesViewport = (featureFlags.viewport & currentFlags.viewport) === featureFlags.viewport;\n    if (viewportNotSpecified || matchesViewport) {\n      const browserNotSpecified = !featureFlags.browser && !currentFlags.browser;\n      const matchesBrowser = (featureFlags.browser & currentFlags.browser) === featureFlags.browser;\n      if (browserNotSpecified || matchesBrowser) {\n        const deviceNotSpecified = !featureFlags.device && !currentFlags.device;\n        const matchesDevice = (featureFlags.device & currentFlags.device) === featureFlags.device;\n        if (deviceNotSpecified || matchesDevice) {\n          const specificity = featureFlags.browser | featureFlags.device | featureFlags.viewport;\n          const highestSpecificity = highestSpecificityByFeature[featureName] = highestSpecificityByFeature[featureName] || 0;\n          if (specificity > highestSpecificity) {\n            matchedFeatureSwitches[featureName] = value;\n            highestSpecificityByFeature[featureName] = specificity;\n          }\n        }\n      }\n    }\n  }\n\n  return matchedFeatureSwitches;\n}\n\nexport function getFeaturesSwitches() {\n  return getFeaturesSwitchesForType(detects);\n}\n\n// Override the feature switch with most specific value based off of current device\nObject.assign(features, getFeaturesSwitches(detects));\nObject.assign(features, exports);\n\nexport default features;\n\n\n\n// WEBPACK FOOTER //\n// ./assets/es6/common/evite/features.es6","const evite = window.evite = window.evite || {};\nconst experiments = evite.experiments = evite.experiments || {};\n\nif(evite.experiments.DEFINED){\n  throw new Error('Unexpected copy of evite.experiments module exported, you might have used an unusual import instead of the \"evite\" alias.');\n}\nexport const DEFINED = true;\n\nexport function setExperiment(experimentName, value) {\n  experiments[experimentName.toUpperCase()] = value;\n}\n\nexport function getExperiment(experimentName) {\n  experimentName = experimentName.toUpperCase();\n\n  if(experimentName in experiments){\n    return experiments[experimentName];\n  }\n  return null;\n}\n\nexport function inExperiment(experimentName) {\n  const experiment = getExperiment(experimentName);\n  return Boolean(experiment);\n}\n\n\nexport function getVariation(experimentName, variationName) {\n  const experiment = getExperiment(experimentName);\n  variationName = variationName.toUpperCase();\n  const variationList = experiment && experiment.variations || [];\n\n  for(var i = 0; i < variationList.length; ++i) {\n    const variation = variationList[i];\n\n    if (variation.name.toUpperCase() === variationName) {\n      return variation;\n    }\n  }\n\n  return null;\n}\n\nexport function setVariation(experimentName, variationName, value) {\n  let experiment = getExperiment(experimentName);\n  if(!experiment){\n    experiment = {variations: []};\n    setExperiment(experimentName, experiment);\n  }\n\n  variationName = variationName.toUpperCase();\n  const variationList = experiment && experiment.variations || [];\n\n  let foundVariation;\n  for(var i = 0; i < variationList.length; ++i) {\n    foundVariation = variationList[i];\n\n    if (foundVariation.name.toUpperCase() === variationName) {\n      break;\n    }\n  }\n\n  if(!foundVariation){\n    foundVariation = {};\n    variationList.push(foundVariation);\n  }\n\n  Object.assign(foundVariation, {name: variationName, value});\n}\n\nexport function inVariation(experimentName, variationName, defaultValue = false) {\n  let variation;\n  if (inExperiment(experimentName)) {\n    variation = getVariation(experimentName, variationName);\n    return Boolean(variation && variation.value)\n  }\n\n  return Boolean(variation || defaultValue);\n}\n\nexport default exports;\n\n\n\n// WEBPACK FOOTER //\n// ./assets/es6/common/evite/experiments.es6","const evite = window.evite = window.evite || {};\n\nif(evite.dom){\n  throw new Error('Unexpected copy of evite.dom module exported, you might have used an unusual import instead of the \"evite\" alias.');\n}\n\nexport function show(subject) {\n  removeClass(subject, 'hidden');\n}\n\nexport function hide(subject){\n  addClass(subject, 'hidden');\n}\n\nexport function toggle(subject, showElement = false) {\n  if(!subject){\n    return;\n  }\n\n  if(arguments.length === 1){\n    if(subject.toggle){\n      subject.toggle();\n      return;\n    }\n\n    showElement = subject.offsetParent === null;\n  }\n\n  if(showElement){\n    show(subject);\n  } else {\n    hide(subject);\n  }\n}\n\nexport function appendChild(subject, child){\n  if(subject && subject.appendChild){\n    subject.appendChild(child);\n  }\n  else if (subject && subject.append) {\n    subject.append(child);\n  }\n}\n\nexport function removeChild(subject, child){\n  if(subject && subject.removeChild) {\n    subject.removeChild(child);\n  }\n  else if (subject && subject.remove) {\n    subject.remove(child);\n  }\n}\n\nexport function removeChildren(subject) {\n  if(subject){\n    while(subject.lastChild) {\n      removeChild(subject, subject.lastChild);\n    }\n  }\n}\n\nexport function buildScriptTag({ src, type, defer, async, onLoad, onError, className, innerText, innerHTML }) {\n  defer = Boolean(defer);\n  async = Boolean(async);\n  onLoad = onLoad || '';\n  onError = onError || '';\n  className = className || '';\n  innerText = innerText || '';\n\n  const id = evite.guid('script-id');\n\n  let scriptTag = document.createElement('script');\n  scriptTag.type = type || 'text/javascript';\n  scriptTag.async = async;\n  scriptTag.defer = defer;\n  scriptTag.className = className;\n\n  scriptTag.addEventListener('load', function(){\n    evite.resolve(src);\n    onLoad();\n  });\n\n  scriptTag.addEventListener('error', function(){\n    evite.reject(src);\n    onError();\n  });\n  if (src) {\n    scriptTag.src = src;\n  } else if (innerHTML) {\n    scriptTag.innerHTML = innerHTML;\n  } else if (innerText) {\n    scriptTag.innerText = innerText;\n  }\n\n  return scriptTag\n}\n\n// TODO - refactor\nexport function addScriptTag({ src, type, defer, async, onLoad, onError, className }) {\n  evite.when('document.ready').then(function(){\n    const scriptTag = buildScriptTag({ src, type, defer, async, onLoad, onError, className });\n\n    appendChild(document.head, scriptTag);\n  });\n}\n\nexport function createElement(str) {\n  if (str) {\n    let div = document.createElement('div');\n    div.innerHTML = str.trim();\n    return div.firstChild;\n  }\n\n  return null;\n}\n\nexport function css(el, styles) {\n  if (!el) {\n    return;\n  }\n\n  if(!styles) {\n    el.style.cssText = '';\n    return;\n  }\n\n  for(let prop in styles) {\n    let value = styles[prop];\n    if (typeof value === 'number') {\n      el.style[prop] = value + 'px';\n    }\n    else {\n      el.style[prop] = value;\n    }\n  }\n}\n\nexport function hasClass(el, className) {\n  return el && el.classList && el.classList.contains(className) || false;\n}\n\nexport function addClass(el, className) {\n  if (el && el.classList && !el.classList.contains(className)) {\n    el.classList.add(className);\n  }\n}\n\nexport function removeClass(el, className) {\n  if (el && el.classList && el.classList.contains(className)) {\n    el.classList.remove(className);\n  }\n}\n\nexport function toggleClass(el, className, add) {\n  if (arguments.length === 2) {\n    add = !hasClass(el, className)\n  }\n\n  if (add) {\n    addClass(el, className);\n  }\n  else {\n    removeClass(el, className);\n  }\n}\n\n/**\n * Scroll to an element on the page\n *\n * modified from https://stackoverflow.com/questions/17722497/scroll-smoothly-to-specific-element-on-page\n * https://jsfiddle.net/s61x7c4e/\n *\n * @param element dom element\n * @param duration\n * @param marginTop additional header room for fixed elements, or if you want to scroll above `element`\n */\nexport function scrollTo(element, duration, marginTop=0) {\n  const startingY = window.pageYOffset;\n  const elementY = window.pageYOffset + element.getBoundingClientRect().top - marginTop;\n  // If element is close to page's bottom then window will scroll only to some position above the element.\n  const tooClose = document.body.scrollHeight - elementY < window.innerHeight;\n  const targetY =  tooClose ? document.body.scrollHeight - window.innerHeight : elementY;\n  const diff = targetY - startingY;\n  // Easing function: easeInOutCubic\n  // From: https://gist.github.com/gre/1650294\n  function easing(t) {\n    return t < .5 ? 4 * t * t * t : (t - 1) * (2 * t - 2) * (2 * t - 2) + 1;\n  }\n  let start;\n\n  if(!diff)\n    return;\n\n  // Bootstrap our animation - it will get called right before next frame shall be rendered.\n  window.requestAnimationFrame(function step(timestamp) {\n    if(!start)\n      start = timestamp;\n    // Elapsed miliseconds since start of scrolling.\n    let time = timestamp - start;\n    // Get percent of completion in range [0, 1].\n    let percent = Math.min(time / duration, 1);\n    // Apply the easing.\n    // It can cause bad-looking slow frames in browser performance tool, so be careful.\n    percent = easing(percent);\n\n    window.scrollTo(0, startingY + diff * percent);\n\n    // Proceed with animation as long as we wanted it to.\n    if(time < duration)\n      window.requestAnimationFrame(step)\n  });\n}\n\nlet idleLoadingQueue = [];\nlet loadingInProgress;\nexport function addToLoadingQueue({ url, priority }) {\n  evite.when('window.load').then(function () {\n    priority = priority || 0;\n    if (url) {\n      idleLoadingQueue.splice(priority, 0, url);\n      if (!loadingInProgress) {\n        evite.requestIdleCallback(loadNextInQueue);\n      }\n    }\n  });\n\n  return evite.when(url)\n}\n\nfunction loadNextInQueue() {\n  if (!loadingInProgress && idleLoadingQueue.length) {\n    loadingInProgress = true;\n\n    const url = idleLoadingQueue.pop();\n    const isImage = /\\.(jpeg|jpg|gif|png)\\b/i.test(url);\n    if(isImage){\n      const image = new Image();\n      let completeHandler = handleQueueLoadComplete.bind(null, url, image);\n      image.addEventListener('load', completeHandler);\n      image.addEventListener('error', completeHandler);\n      image.src = url;\n      return;\n    }\n\n    const isCss = /\\.(css)\\b/i.test(url);\n    if(isCss){\n      const link = evite.dom.createElement('<link rel=\"stylesheet\" media=\"none\"/>');\n      let completeHandler = handleQueueLoadComplete.bind(null, url, link);\n      link.addEventListener('load', completeHandler);\n      link.addEventListener('error', completeHandler);\n      link.setAttribute('href', url);\n      document.body.appendChild(link);\n      return;\n    }\n\n    handleQueueLoadComplete();\n  }\n}\n\nfunction handleQueueLoadComplete(url, value){\n  loadingInProgress = false;\n  if(url){\n    evite.resolve(url, value);\n  }\n\n  evite.requestIdleCallback(loadNextInQueue);\n}\n\nexport function isDomNode(o) {\n  if (!o) { return false; }\n  return (\n    (window.HTMLElement && o instanceof HTMLElement) ||\n    o.nodeType === 1 && typeof o.nodeName === 'string'\n  );\n}\n\nexport default exports;\n\n\n\n// WEBPACK FOOTER //\n// ./assets/es6/common/evite/dom.es6","const evite = window.evite = window.evite || {};\nimport Emitter from './Emitter';\n\nif(evite.history){\n  throw new Error('Unexpected copy of evite.history module exported, you might have used an unusual import instead of the \"evite\" alias.');\n}\n\nconst _history = window.history;\n\nclass History extends Emitter {\n  get length() {\n    return _history && _history.length || 0\n  }\n\n  get state() {\n    return _history && _history.state || null;\n  }\n\n  back() {\n    _history && _history.back();\n  }\n\n  forward() {\n    _history && _history.forward();\n  }\n\n  go(index) {\n    _history && _history.go(index);\n    this.dispatchEvent(new CustomEvent('change'));\n  }\n\n  pushState(...args) {\n    _history && _history.pushState.apply(_history, args);\n    this.dispatchEvent(new CustomEvent('change'));\n  }\n\n  replaceState(...args) {\n    _history && _history.replaceState.apply(_history, args);\n    this.dispatchEvent(new CustomEvent('change'));\n  }\n}\n\n\n\nexport const history = new History();\nexport default history;\n\n\n\n// WEBPACK FOOTER //\n// ./assets/es6/common/evite/history.es6","import promises from './promises';\n\nconst evite = window.evite = window.evite || {};\n\n/**\n * @note imports happen at the end of the file, so async functions\n * in this file must take precautions caused from hoisting.\n **/\n// TODO - Remove once homepage branch merged in (shift to command pattern)\nwindow.regeneratorRuntime = require(\"regenerator-runtime\");\n\nif(evite.utils){\n  throw new Error('Unexpected copy of evite.utils module exported, you might have used an unusual import instead of the \"evite\" alias.');\n}\n\n\nlet globalIdDefaultPrefix = Math.floor(Math.random() * 2147483647).toString(36);\nlet globalIdIndex = 0;\n\nexport function noop() {}\n\nexport function str(value) {\n  if(typeof value === 'string'){ return value; }\n  if(value){ return value.toString(); }\n  return '';\n}\n\nexport function int(value) { return (value|0); }\n\nexport function guid(opt_prefix = 'guid') {\n  return `${opt_prefix}-${globalIdDefaultPrefix}-${globalIdIndex++}`\n}\n\nexport function scope(fn) {\n  fn();\n}\n\nfunction liveBindException(arg, value, valid) {\n  this.message = 'liveBindException: ';\n  this.name = 'liveBindException';\n  if (arg) {\n      this.message += `liveBind argument \"${arg}\" missing or invalid`;\n  }\n  if (value) {\n      this.message += ` –– \"${value}\" supplied`\n  }\n  if (valid) {\n     this. message += `, should be \"${valid}\"`\n  }\n}\n/**\n * Execute a function and handle exceptions. This function should never throw an exception.\n *\n * @param rootNode: a document node\n * @param eventType: a string that describes the event being bound\n * @param childQuerySelector: a query selector string '#selectorId, .selectorClass'\n * @param callback: function to call when the event is triggered -\n *                  if callback's \"thisArg\" is not bound, passes event target as first param.\n */\nexport function liveBind(rootNode, eventType, childQuerySelector, callback) {\n  if (!rootNode) {\n    // if node is not on the page, do not go any further.\n    return;\n  }\n  try {\n    if (!evite.dom.isDomNode(rootNode)) {\n      throw new liveBindException('rootNode', rootNode, 'Node')\n    } else if (!eventType || typeof eventType !== 'string') {\n      throw new liveBindException('eventType', eventType, 'string')\n    } else if (!childQuerySelector || typeof childQuerySelector !== 'string') {\n      throw new liveBindException('childQuerySelector', childQuerySelector, 'string')\n    } else if (!callback || typeof callback !== 'function') {\n      throw new liveBindException('callback', callback, 'function')\n    }\n    rootNode.addEventListener(eventType, (e) => {\n      if (e.target.matches(childQuerySelector)) {\n        callback.call(e.target, e, ...arguments)\n      }\n    }, true)\n  } catch(exception) {\n    if (process.env.NODE_ENV === 'develop') {\n      throw exception;\n    } else if (console && console.warn) {\n      evite.warn(`${exception.name}: ${exception.message}`);\n    }\n  }\n}\n\nexport const fetch = (function(){\n  return async function fetch(url, opt_config = {}) {\n    const fetch = await evite.when('fetch');\n    evite.info(`fetch: ${url}`);\n\n    const response = await fetch(url, opt_config);\n    const headers = response.headers;\n    const contentType = headers && (headers.get && headers.get('content-type') || headers['content-type']);\n    const isJsonContentType = contentType && contentType.includes('json');\n\n    if(isJsonContentType) {\n      // make sure to clone before the callback so we don't accidentally wind up re-reading the body\n      const clonedResponse = response.clone();\n      evite.when('dfp')\n        .then(function(){\n          return clonedResponse.json();\n        })\n        .then(function(json){\n          if(window.dataLayer && json && typeof json ==='object' && json.data_layer) {\n            window.dataLayer.push(json.data_layer);\n          }\n        })\n        .catch(function(e){\n          evite.error('Failed to update dataLayer');\n          Raven.captureException(e);\n        });\n    }\n\n    evite.resolve(url, response);\n    return response;\n  }\n})();\n\nfunction requestIdleCallbackFallBack(callback) {\n  return setTimeout(function () {\n    var start = Date.now();\n    callback({\n      didTimeout: false,\n      timeRemaining: function () {\n        return Math.max(0, 50 - (Date.now() - start));\n      }\n    });\n  }, 1);\n}\n\nexport function requestIdleCallback(callback) {\n  if (evite.global.requestIdleCallback) {\n    return evite.global.requestIdleCallback(callback);\n  }\n\n  return requestIdleCallbackFallBack(callback);\n}\n\nexport function sleep(time) {\n  return new Promise(function(resolve){\n    setTimeout(resolve, time);\n  });\n}\n\nexport function map(arrOrNum, fn){\n  const arr = Array.isArray(arrOrNum)? arrOrNum: new Array(arrOrNum);\n  let i = 0;\n  let length = arr.length;\n\n  const values = [];\n  for(let i = 0; i < length; ++i){\n    values.push(fn(arr[i], i, arr));\n  }\n  return values;\n}\n\n// TODO - move out of this file\nexport function lazyLoadImage({ el, loadWhen, src, priority }) {\n  return new Promise(function (resolve, reject) {\n    el.classList.add('lazy-loader-initialize');\n    var readyToBeginLoading = loadWhen? evite.when(loadWhen): Promise.resolve();\n    readyToBeginLoading.then(function () {\n      el.classList.remove('lazy-loader-initialize');\n      el.classList.add('lazy-loader-loading');\n\n      let loadingAnimationContainerList = el.parentElement.getElementsByClassName('loading-animation-container');\n      let loadingAnimationContainer = loadingAnimationContainerList && loadingAnimationContainerList.length && loadingAnimationContainerList[0];\n      let loadingStatus = loadingAnimationContainer && (loadingAnimationContainer.querySelector('.loading-animation-status') || loadingAnimationContainer.querySelector('.loading-animation-spinner'));\n\n      if (loadingAnimationContainer) {\n        loadingAnimationContainer.classList.remove('hidden');\n      }\n\n      if (loadingStatus) {\n        loadingStatus.classList.add('loading-animation-status');\n        loadingStatus.classList.add('loading-animation-spinner');\n      }\n\n      preloadImage(src, priority || 0)\n        .then(function () {\n          if (loadingAnimationContainer) {\n            loadingAnimationContainer.classList.add('hidden');\n          }\n\n          el.classList.remove('lazy-loader-loading');\n          el.classList.add('lazy-loader-complete');\n          el.src = src;\n          el.classList.remove('hidden');\n\n          resolve(el);\n        })\n        .catch(function (message) {\n          if (loadingStatus) {\n            loadingStatus.classList.remove('loading-animation-spinner');\n            loadingStatus.classList.add('loading-animation-error');\n            loadingStatus.classList.add('icon-attention-alt');\n          }\n          if (loadingAnimationContainer) {\n            loadingAnimationContainer.title = 'An error occurred downloading the image.' + (el.title? '\\n' + el.title: '');\n            loadingAnimationContainer.classList.remove('hidden');\n          }\n\n          reject(message);\n        })\n    });\n  });\n}\n\nconst hasOwnProperty = Object.prototype.hasOwnProperty;\n\nexport function hasOwn (obj, key) {\n  return hasOwnProperty.call(obj, key)\n}\n\nconst OBJECT_STRING = '[object Object]';\nexport function isPlainObject (obj) {\n  return toString.call(obj) === OBJECT_STRING\n}\n\nconst imageQueue = [];\nfunction preloadImage(src, priority) {\n  for(var i = 0; i <= priority; ++i) {\n    imageQueue[priority] = imageQueue[priority] || [];\n  }\n\n  return new Promise(function (resolve, reject) {\n    var image = new Image();\n    image.addEventListener('load', function(){\n      evite.resolve(src, image).then(resolve);\n    });\n    image.addEventListener('error', function (event) {\n      reject(`Image failed to load: src=\"${src}\"'`);\n    });\n    image.src = src;\n  });\n}\n\nexport function toJSON(value){\n  if (!value && value === null || value === undefined) {\n    return value;\n  }\n\n  if (typeof value === 'function' || value instanceof Function) {\n    return null;\n  }\n\n  if (typeof value === 'object' && 'toJSON' in value) {\n    value = value.toJSON();\n  }\n\n  if (Array.isArray(value)) {\n    return value.map(toJSON);\n  }\n\n  if (typeof value === 'object') {\n    const attributes = {};\n    for(let key in value) {\n      attributes[key] = toJSON(value[key]);\n    }\n    return attributes;\n  }\n\n  try {\n    return JSON.parse(value);\n  }\n  catch (error) {\n  }\n\n  return value;\n}\n\nexport function debounce(func, wait, immediate) {\n let timeout;\n let result;\n\n function delay(func, wait, ...args) {\n   return setTimeout(function () {\n     return func.apply(null, args);\n   }, wait);\n }\n\n function later(context, args) {\n   timeout = null;\n   if (args) {\n     result = func.apply(context, args);\n   }\n }\n\n function debounced(...args) {\n   if (timeout) {\n     clearTimeout(timeout);\n   }\n   if (immediate) {\n     var callNow = !timeout;\n     timeout = setTimeout(later, wait);\n     if (callNow) {\n       result = func.apply(this, args);\n     }\n   } else {\n     timeout = delay(later, wait, this, args);\n   }\n   return result;\n }\n\n debounced.cancel = function () {\n   clearTimeout(timeout);\n   timeout = null;\n };\n return debounced;\n}\n\npromises.when('evite').then(function(evite){\n  function onReadyStateChange() {\n    if (document.readyState === 'interactive' || document.readyState === 'complete') {\n      evite.resolve('document.ready', document);\n    }\n\n    if (document.readyState === 'complete') {\n      evite.resolve('window.load', window);\n    }\n  }\n\n  document.addEventListener('readystatechange', onReadyStateChange);\n  document.addEventListener('DOMContentLoaded', onReadyStateChange);\n  document.addEventListener('load', onReadyStateChange);\n\n  onReadyStateChange();\n});\n\npromises.when('document.ready').then(function(){\n  window.requestAnimationFrame && window.requestAnimationFrame(function(){\n    requestAnimationFrame(function(){\n      evite.resolve('page.render');\n    })\n  })\n});\n\n\nexport default exports;\n\n\n\n// WEBPACK FOOTER //\n// ./assets/es6/common/evite/utils.es6","// This method of obtaining a reference to the global object needs to be\n// kept identical to the way it is obtained in runtime.js\nvar g =\n  typeof global === \"object\" ? global :\n  typeof window === \"object\" ? window :\n  typeof self === \"object\" ? self : this;\n\n// Use `getOwnPropertyNames` because not all browsers support calling\n// `hasOwnProperty` on the global `self` object in a worker. See #183.\nvar hadRuntime = g.regeneratorRuntime &&\n  Object.getOwnPropertyNames(g).indexOf(\"regeneratorRuntime\") >= 0;\n\n// Save the old regeneratorRuntime in case it needs to be restored later.\nvar oldRuntime = hadRuntime && g.regeneratorRuntime;\n\n// Force reevalutation of runtime.js.\ng.regeneratorRuntime = undefined;\n\nmodule.exports = require(\"./runtime\");\n\nif (hadRuntime) {\n  // Restore the original runtime.\n  g.regeneratorRuntime = oldRuntime;\n} else {\n  // Remove the global property added by runtime.js.\n  try {\n    delete g.regeneratorRuntime;\n  } catch(e) {\n    g.regeneratorRuntime = undefined;\n  }\n}\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./node_modules/regenerator-runtime/runtime-module.js\n// module id = 286\n// module chunks = 18 39 40 41","/**\n * Copyright (c) 2014, Facebook, Inc.\n * All rights reserved.\n *\n * This source code is licensed under the BSD-style license found in the\n * https://raw.github.com/facebook/regenerator/master/LICENSE file. An\n * additional grant of patent rights can be found in the PATENTS file in\n * the same directory.\n */\n\n!(function(global) {\n  \"use strict\";\n\n  var Op = Object.prototype;\n  var hasOwn = Op.hasOwnProperty;\n  var undefined; // More compressible than void 0.\n  var $Symbol = typeof Symbol === \"function\" ? Symbol : {};\n  var iteratorSymbol = $Symbol.iterator || \"@@iterator\";\n  var asyncIteratorSymbol = $Symbol.asyncIterator || \"@@asyncIterator\";\n  var toStringTagSymbol = $Symbol.toStringTag || \"@@toStringTag\";\n\n  var inModule = typeof module === \"object\";\n  var runtime = global.regeneratorRuntime;\n  if (runtime) {\n    if (inModule) {\n      // If regeneratorRuntime is defined globally and we're in a module,\n      // make the exports object identical to regeneratorRuntime.\n      module.exports = runtime;\n    }\n    // Don't bother evaluating the rest of this file if the runtime was\n    // already defined globally.\n    return;\n  }\n\n  // Define the runtime globally (as expected by generated code) as either\n  // module.exports (if we're in a module) or a new, empty object.\n  runtime = global.regeneratorRuntime = inModule ? module.exports : {};\n\n  function wrap(innerFn, outerFn, self, tryLocsList) {\n    // If outerFn provided and outerFn.prototype is a Generator, then outerFn.prototype instanceof Generator.\n    var protoGenerator = outerFn && outerFn.prototype instanceof Generator ? outerFn : Generator;\n    var generator = Object.create(protoGenerator.prototype);\n    var context = new Context(tryLocsList || []);\n\n    // The ._invoke method unifies the implementations of the .next,\n    // .throw, and .return methods.\n    generator._invoke = makeInvokeMethod(innerFn, self, context);\n\n    return generator;\n  }\n  runtime.wrap = wrap;\n\n  // Try/catch helper to minimize deoptimizations. Returns a completion\n  // record like context.tryEntries[i].completion. This interface could\n  // have been (and was previously) designed to take a closure to be\n  // invoked without arguments, but in all the cases we care about we\n  // already have an existing method we want to call, so there's no need\n  // to create a new function object. We can even get away with assuming\n  // the method takes exactly one argument, since that happens to be true\n  // in every case, so we don't have to touch the arguments object. The\n  // only additional allocation required is the completion record, which\n  // has a stable shape and so hopefully should be cheap to allocate.\n  function tryCatch(fn, obj, arg) {\n    try {\n      return { type: \"normal\", arg: fn.call(obj, arg) };\n    } catch (err) {\n      return { type: \"throw\", arg: err };\n    }\n  }\n\n  var GenStateSuspendedStart = \"suspendedStart\";\n  var GenStateSuspendedYield = \"suspendedYield\";\n  var GenStateExecuting = \"executing\";\n  var GenStateCompleted = \"completed\";\n\n  // Returning this object from the innerFn has the same effect as\n  // breaking out of the dispatch switch statement.\n  var ContinueSentinel = {};\n\n  // Dummy constructor functions that we use as the .constructor and\n  // .constructor.prototype properties for functions that return Generator\n  // objects. For full spec compliance, you may wish to configure your\n  // minifier not to mangle the names of these two functions.\n  function Generator() {}\n  function GeneratorFunction() {}\n  function GeneratorFunctionPrototype() {}\n\n  // This is a polyfill for %IteratorPrototype% for environments that\n  // don't natively support it.\n  var IteratorPrototype = {};\n  IteratorPrototype[iteratorSymbol] = function () {\n    return this;\n  };\n\n  var getProto = Object.getPrototypeOf;\n  var NativeIteratorPrototype = getProto && getProto(getProto(values([])));\n  if (NativeIteratorPrototype &&\n      NativeIteratorPrototype !== Op &&\n      hasOwn.call(NativeIteratorPrototype, iteratorSymbol)) {\n    // This environment has a native %IteratorPrototype%; use it instead\n    // of the polyfill.\n    IteratorPrototype = NativeIteratorPrototype;\n  }\n\n  var Gp = GeneratorFunctionPrototype.prototype =\n    Generator.prototype = Object.create(IteratorPrototype);\n  GeneratorFunction.prototype = Gp.constructor = GeneratorFunctionPrototype;\n  GeneratorFunctionPrototype.constructor = GeneratorFunction;\n  GeneratorFunctionPrototype[toStringTagSymbol] =\n    GeneratorFunction.displayName = \"GeneratorFunction\";\n\n  // Helper for defining the .next, .throw, and .return methods of the\n  // Iterator interface in terms of a single ._invoke method.\n  function defineIteratorMethods(prototype) {\n    [\"next\", \"throw\", \"return\"].forEach(function(method) {\n      prototype[method] = function(arg) {\n        return this._invoke(method, arg);\n      };\n    });\n  }\n\n  runtime.isGeneratorFunction = function(genFun) {\n    var ctor = typeof genFun === \"function\" && genFun.constructor;\n    return ctor\n      ? ctor === GeneratorFunction ||\n        // For the native GeneratorFunction constructor, the best we can\n        // do is to check its .name property.\n        (ctor.displayName || ctor.name) === \"GeneratorFunction\"\n      : false;\n  };\n\n  runtime.mark = function(genFun) {\n    if (Object.setPrototypeOf) {\n      Object.setPrototypeOf(genFun, GeneratorFunctionPrototype);\n    } else {\n      genFun.__proto__ = GeneratorFunctionPrototype;\n      if (!(toStringTagSymbol in genFun)) {\n        genFun[toStringTagSymbol] = \"GeneratorFunction\";\n      }\n    }\n    genFun.prototype = Object.create(Gp);\n    return genFun;\n  };\n\n  // Within the body of any async function, `await x` is transformed to\n  // `yield regeneratorRuntime.awrap(x)`, so that the runtime can test\n  // `hasOwn.call(value, \"__await\")` to determine if the yielded value is\n  // meant to be awaited.\n  runtime.awrap = function(arg) {\n    return { __await: arg };\n  };\n\n  function AsyncIterator(generator) {\n    function invoke(method, arg, resolve, reject) {\n      var record = tryCatch(generator[method], generator, arg);\n      if (record.type === \"throw\") {\n        reject(record.arg);\n      } else {\n        var result = record.arg;\n        var value = result.value;\n        if (value &&\n            typeof value === \"object\" &&\n            hasOwn.call(value, \"__await\")) {\n          return Promise.resolve(value.__await).then(function(value) {\n            invoke(\"next\", value, resolve, reject);\n          }, function(err) {\n            invoke(\"throw\", err, resolve, reject);\n          });\n        }\n\n        return Promise.resolve(value).then(function(unwrapped) {\n          // When a yielded Promise is resolved, its final value becomes\n          // the .value of the Promise<{value,done}> result for the\n          // current iteration. If the Promise is rejected, however, the\n          // result for this iteration will be rejected with the same\n          // reason. Note that rejections of yielded Promises are not\n          // thrown back into the generator function, as is the case\n          // when an awaited Promise is rejected. This difference in\n          // behavior between yield and await is important, because it\n          // allows the consumer to decide what to do with the yielded\n          // rejection (swallow it and continue, manually .throw it back\n          // into the generator, abandon iteration, whatever). With\n          // await, by contrast, there is no opportunity to examine the\n          // rejection reason outside the generator function, so the\n          // only option is to throw it from the await expression, and\n          // let the generator function handle the exception.\n          result.value = unwrapped;\n          resolve(result);\n        }, reject);\n      }\n    }\n\n    if (typeof global.process === \"object\" && global.process.domain) {\n      invoke = global.process.domain.bind(invoke);\n    }\n\n    var previousPromise;\n\n    function enqueue(method, arg) {\n      function callInvokeWithMethodAndArg() {\n        return new Promise(function(resolve, reject) {\n          invoke(method, arg, resolve, reject);\n        });\n      }\n\n      return previousPromise =\n        // If enqueue has been called before, then we want to wait until\n        // all previous Promises have been resolved before calling invoke,\n        // so that results are always delivered in the correct order. If\n        // enqueue has not been called before, then it is important to\n        // call invoke immediately, without waiting on a callback to fire,\n        // so that the async generator function has the opportunity to do\n        // any necessary setup in a predictable way. This predictability\n        // is why the Promise constructor synchronously invokes its\n        // executor callback, and why async functions synchronously\n        // execute code before the first await. Since we implement simple\n        // async functions in terms of async generators, it is especially\n        // important to get this right, even though it requires care.\n        previousPromise ? previousPromise.then(\n          callInvokeWithMethodAndArg,\n          // Avoid propagating failures to Promises returned by later\n          // invocations of the iterator.\n          callInvokeWithMethodAndArg\n        ) : callInvokeWithMethodAndArg();\n    }\n\n    // Define the unified helper method that is used to implement .next,\n    // .throw, and .return (see defineIteratorMethods).\n    this._invoke = enqueue;\n  }\n\n  defineIteratorMethods(AsyncIterator.prototype);\n  AsyncIterator.prototype[asyncIteratorSymbol] = function () {\n    return this;\n  };\n  runtime.AsyncIterator = AsyncIterator;\n\n  // Note that simple async functions are implemented on top of\n  // AsyncIterator objects; they just return a Promise for the value of\n  // the final result produced by the iterator.\n  runtime.async = function(innerFn, outerFn, self, tryLocsList) {\n    var iter = new AsyncIterator(\n      wrap(innerFn, outerFn, self, tryLocsList)\n    );\n\n    return runtime.isGeneratorFunction(outerFn)\n      ? iter // If outerFn is a generator, return the full iterator.\n      : iter.next().then(function(result) {\n          return result.done ? result.value : iter.next();\n        });\n  };\n\n  function makeInvokeMethod(innerFn, self, context) {\n    var state = GenStateSuspendedStart;\n\n    return function invoke(method, arg) {\n      if (state === GenStateExecuting) {\n        throw new Error(\"Generator is already running\");\n      }\n\n      if (state === GenStateCompleted) {\n        if (method === \"throw\") {\n          throw arg;\n        }\n\n        // Be forgiving, per 25.3.3.3.3 of the spec:\n        // https://people.mozilla.org/~jorendorff/es6-draft.html#sec-generatorresume\n        return doneResult();\n      }\n\n      context.method = method;\n      context.arg = arg;\n\n      while (true) {\n        var delegate = context.delegate;\n        if (delegate) {\n          var delegateResult = maybeInvokeDelegate(delegate, context);\n          if (delegateResult) {\n            if (delegateResult === ContinueSentinel) continue;\n            return delegateResult;\n          }\n        }\n\n        if (context.method === \"next\") {\n          // Setting context._sent for legacy support of Babel's\n          // function.sent implementation.\n          context.sent = context._sent = context.arg;\n\n        } else if (context.method === \"throw\") {\n          if (state === GenStateSuspendedStart) {\n            state = GenStateCompleted;\n            throw context.arg;\n          }\n\n          context.dispatchException(context.arg);\n\n        } else if (context.method === \"return\") {\n          context.abrupt(\"return\", context.arg);\n        }\n\n        state = GenStateExecuting;\n\n        var record = tryCatch(innerFn, self, context);\n        if (record.type === \"normal\") {\n          // If an exception is thrown from innerFn, we leave state ===\n          // GenStateExecuting and loop back for another invocation.\n          state = context.done\n            ? GenStateCompleted\n            : GenStateSuspendedYield;\n\n          if (record.arg === ContinueSentinel) {\n            continue;\n          }\n\n          return {\n            value: record.arg,\n            done: context.done\n          };\n\n        } else if (record.type === \"throw\") {\n          state = GenStateCompleted;\n          // Dispatch the exception by looping back around to the\n          // context.dispatchException(context.arg) call above.\n          context.method = \"throw\";\n          context.arg = record.arg;\n        }\n      }\n    };\n  }\n\n  // Call delegate.iterator[context.method](context.arg) and handle the\n  // result, either by returning a { value, done } result from the\n  // delegate iterator, or by modifying context.method and context.arg,\n  // setting context.delegate to null, and returning the ContinueSentinel.\n  function maybeInvokeDelegate(delegate, context) {\n    var method = delegate.iterator[context.method];\n    if (method === undefined) {\n      // A .throw or .return when the delegate iterator has no .throw\n      // method always terminates the yield* loop.\n      context.delegate = null;\n\n      if (context.method === \"throw\") {\n        if (delegate.iterator.return) {\n          // If the delegate iterator has a return method, give it a\n          // chance to clean up.\n          context.method = \"return\";\n          context.arg = undefined;\n          maybeInvokeDelegate(delegate, context);\n\n          if (context.method === \"throw\") {\n            // If maybeInvokeDelegate(context) changed context.method from\n            // \"return\" to \"throw\", let that override the TypeError below.\n            return ContinueSentinel;\n          }\n        }\n\n        context.method = \"throw\";\n        context.arg = new TypeError(\n          \"The iterator does not provide a 'throw' method\");\n      }\n\n      return ContinueSentinel;\n    }\n\n    var record = tryCatch(method, delegate.iterator, context.arg);\n\n    if (record.type === \"throw\") {\n      context.method = \"throw\";\n      context.arg = record.arg;\n      context.delegate = null;\n      return ContinueSentinel;\n    }\n\n    var info = record.arg;\n\n    if (! info) {\n      context.method = \"throw\";\n      context.arg = new TypeError(\"iterator result is not an object\");\n      context.delegate = null;\n      return ContinueSentinel;\n    }\n\n    if (info.done) {\n      // Assign the result of the finished delegate to the temporary\n      // variable specified by delegate.resultName (see delegateYield).\n      context[delegate.resultName] = info.value;\n\n      // Resume execution at the desired location (see delegateYield).\n      context.next = delegate.nextLoc;\n\n      // If context.method was \"throw\" but the delegate handled the\n      // exception, let the outer generator proceed normally. If\n      // context.method was \"next\", forget context.arg since it has been\n      // \"consumed\" by the delegate iterator. If context.method was\n      // \"return\", allow the original .return call to continue in the\n      // outer generator.\n      if (context.method !== \"return\") {\n        context.method = \"next\";\n        context.arg = undefined;\n      }\n\n    } else {\n      // Re-yield the result returned by the delegate method.\n      return info;\n    }\n\n    // The delegate iterator is finished, so forget it and continue with\n    // the outer generator.\n    context.delegate = null;\n    return ContinueSentinel;\n  }\n\n  // Define Generator.prototype.{next,throw,return} in terms of the\n  // unified ._invoke helper method.\n  defineIteratorMethods(Gp);\n\n  Gp[toStringTagSymbol] = \"Generator\";\n\n  // A Generator should always return itself as the iterator object when the\n  // @@iterator function is called on it. Some browsers' implementations of the\n  // iterator prototype chain incorrectly implement this, causing the Generator\n  // object to not be returned from this call. This ensures that doesn't happen.\n  // See https://github.com/facebook/regenerator/issues/274 for more details.\n  Gp[iteratorSymbol] = function() {\n    return this;\n  };\n\n  Gp.toString = function() {\n    return \"[object Generator]\";\n  };\n\n  function pushTryEntry(locs) {\n    var entry = { tryLoc: locs[0] };\n\n    if (1 in locs) {\n      entry.catchLoc = locs[1];\n    }\n\n    if (2 in locs) {\n      entry.finallyLoc = locs[2];\n      entry.afterLoc = locs[3];\n    }\n\n    this.tryEntries.push(entry);\n  }\n\n  function resetTryEntry(entry) {\n    var record = entry.completion || {};\n    record.type = \"normal\";\n    delete record.arg;\n    entry.completion = record;\n  }\n\n  function Context(tryLocsList) {\n    // The root entry object (effectively a try statement without a catch\n    // or a finally block) gives us a place to store values thrown from\n    // locations where there is no enclosing try statement.\n    this.tryEntries = [{ tryLoc: \"root\" }];\n    tryLocsList.forEach(pushTryEntry, this);\n    this.reset(true);\n  }\n\n  runtime.keys = function(object) {\n    var keys = [];\n    for (var key in object) {\n      keys.push(key);\n    }\n    keys.reverse();\n\n    // Rather than returning an object with a next method, we keep\n    // things simple and return the next function itself.\n    return function next() {\n      while (keys.length) {\n        var key = keys.pop();\n        if (key in object) {\n          next.value = key;\n          next.done = false;\n          return next;\n        }\n      }\n\n      // To avoid creating an additional object, we just hang the .value\n      // and .done properties off the next function object itself. This\n      // also ensures that the minifier will not anonymize the function.\n      next.done = true;\n      return next;\n    };\n  };\n\n  function values(iterable) {\n    if (iterable) {\n      var iteratorMethod = iterable[iteratorSymbol];\n      if (iteratorMethod) {\n        return iteratorMethod.call(iterable);\n      }\n\n      if (typeof iterable.next === \"function\") {\n        return iterable;\n      }\n\n      if (!isNaN(iterable.length)) {\n        var i = -1, next = function next() {\n          while (++i < iterable.length) {\n            if (hasOwn.call(iterable, i)) {\n              next.value = iterable[i];\n              next.done = false;\n              return next;\n            }\n          }\n\n          next.value = undefined;\n          next.done = true;\n\n          return next;\n        };\n\n        return next.next = next;\n      }\n    }\n\n    // Return an iterator with no values.\n    return { next: doneResult };\n  }\n  runtime.values = values;\n\n  function doneResult() {\n    return { value: undefined, done: true };\n  }\n\n  Context.prototype = {\n    constructor: Context,\n\n    reset: function(skipTempReset) {\n      this.prev = 0;\n      this.next = 0;\n      // Resetting context._sent for legacy support of Babel's\n      // function.sent implementation.\n      this.sent = this._sent = undefined;\n      this.done = false;\n      this.delegate = null;\n\n      this.method = \"next\";\n      this.arg = undefined;\n\n      this.tryEntries.forEach(resetTryEntry);\n\n      if (!skipTempReset) {\n        for (var name in this) {\n          // Not sure about the optimal order of these conditions:\n          if (name.charAt(0) === \"t\" &&\n              hasOwn.call(this, name) &&\n              !isNaN(+name.slice(1))) {\n            this[name] = undefined;\n          }\n        }\n      }\n    },\n\n    stop: function() {\n      this.done = true;\n\n      var rootEntry = this.tryEntries[0];\n      var rootRecord = rootEntry.completion;\n      if (rootRecord.type === \"throw\") {\n        throw rootRecord.arg;\n      }\n\n      return this.rval;\n    },\n\n    dispatchException: function(exception) {\n      if (this.done) {\n        throw exception;\n      }\n\n      var context = this;\n      function handle(loc, caught) {\n        record.type = \"throw\";\n        record.arg = exception;\n        context.next = loc;\n\n        if (caught) {\n          // If the dispatched exception was caught by a catch block,\n          // then let that catch block handle the exception normally.\n          context.method = \"next\";\n          context.arg = undefined;\n        }\n\n        return !! caught;\n      }\n\n      for (var i = this.tryEntries.length - 1; i >= 0; --i) {\n        var entry = this.tryEntries[i];\n        var record = entry.completion;\n\n        if (entry.tryLoc === \"root\") {\n          // Exception thrown outside of any try block that could handle\n          // it, so set the completion value of the entire function to\n          // throw the exception.\n          return handle(\"end\");\n        }\n\n        if (entry.tryLoc <= this.prev) {\n          var hasCatch = hasOwn.call(entry, \"catchLoc\");\n          var hasFinally = hasOwn.call(entry, \"finallyLoc\");\n\n          if (hasCatch && hasFinally) {\n            if (this.prev < entry.catchLoc) {\n              return handle(entry.catchLoc, true);\n            } else if (this.prev < entry.finallyLoc) {\n              return handle(entry.finallyLoc);\n            }\n\n          } else if (hasCatch) {\n            if (this.prev < entry.catchLoc) {\n              return handle(entry.catchLoc, true);\n            }\n\n          } else if (hasFinally) {\n            if (this.prev < entry.finallyLoc) {\n              return handle(entry.finallyLoc);\n            }\n\n          } else {\n            throw new Error(\"try statement without catch or finally\");\n          }\n        }\n      }\n    },\n\n    abrupt: function(type, arg) {\n      for (var i = this.tryEntries.length - 1; i >= 0; --i) {\n        var entry = this.tryEntries[i];\n        if (entry.tryLoc <= this.prev &&\n            hasOwn.call(entry, \"finallyLoc\") &&\n            this.prev < entry.finallyLoc) {\n          var finallyEntry = entry;\n          break;\n        }\n      }\n\n      if (finallyEntry &&\n          (type === \"break\" ||\n           type === \"continue\") &&\n          finallyEntry.tryLoc <= arg &&\n          arg <= finallyEntry.finallyLoc) {\n        // Ignore the finally entry if control is not jumping to a\n        // location outside the try/catch block.\n        finallyEntry = null;\n      }\n\n      var record = finallyEntry ? finallyEntry.completion : {};\n      record.type = type;\n      record.arg = arg;\n\n      if (finallyEntry) {\n        this.method = \"next\";\n        this.next = finallyEntry.finallyLoc;\n        return ContinueSentinel;\n      }\n\n      return this.complete(record);\n    },\n\n    complete: function(record, afterLoc) {\n      if (record.type === \"throw\") {\n        throw record.arg;\n      }\n\n      if (record.type === \"break\" ||\n          record.type === \"continue\") {\n        this.next = record.arg;\n      } else if (record.type === \"return\") {\n        this.rval = this.arg = record.arg;\n        this.method = \"return\";\n        this.next = \"end\";\n      } else if (record.type === \"normal\" && afterLoc) {\n        this.next = afterLoc;\n      }\n\n      return ContinueSentinel;\n    },\n\n    finish: function(finallyLoc) {\n      for (var i = this.tryEntries.length - 1; i >= 0; --i) {\n        var entry = this.tryEntries[i];\n        if (entry.finallyLoc === finallyLoc) {\n          this.complete(entry.completion, entry.afterLoc);\n          resetTryEntry(entry);\n          return ContinueSentinel;\n        }\n      }\n    },\n\n    \"catch\": function(tryLoc) {\n      for (var i = this.tryEntries.length - 1; i >= 0; --i) {\n        var entry = this.tryEntries[i];\n        if (entry.tryLoc === tryLoc) {\n          var record = entry.completion;\n          if (record.type === \"throw\") {\n            var thrown = record.arg;\n            resetTryEntry(entry);\n          }\n          return thrown;\n        }\n      }\n\n      // The context.catch method must only be called with a location\n      // argument that corresponds to a known catch block.\n      throw new Error(\"illegal catch attempt\");\n    },\n\n    delegateYield: function(iterable, resultName, nextLoc) {\n      this.delegate = {\n        iterator: values(iterable),\n        resultName: resultName,\n        nextLoc: nextLoc\n      };\n\n      if (this.method === \"next\") {\n        // Deliberately forget the last sent value so that we don't\n        // accidentally pass it on to the delegate.\n        this.arg = undefined;\n      }\n\n      return ContinueSentinel;\n    }\n  };\n})(\n  // Among the various tricks for obtaining a reference to the global\n  // object, this seems to be the most reliable technique that does not\n  // use indirect eval (which violates Content Security Policy).\n  typeof global === \"object\" ? global :\n  typeof window === \"object\" ? window :\n  typeof self === \"object\" ? self : this\n);\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./node_modules/regenerator-runtime/runtime.js\n// module id = 287\n// module chunks = 18 39 40 41","const evite = window.evite = window.evite || {};\n\nif(evite.urls)\n    throw new Error(\"URLs is already defined on window.evite!\");\n\n// TODO - switch to static class over singleton\nclass URLs {\n    static getInstance(){\n        URLs._instance = URLs._instance || new URLs();\n        return URLs._instance ;\n    }\n\n    constructor () {\n        if(URLs._instance){\n            return URLs._instance;\n        }\n        URLs._instance = this;\n\n        this.urls = {\n            'home': '/',\n            'create': this._create,\n            'forgot_password': null,\n            'gallery': this._gallery,\n            'gallery/category': (data) => { return `/gallery/category/${data.category}/`; },\n            'ajax_gallery_suggestions': (data) => { return `/ajax/gallery/suggestions/${data.search}/`; },\n            'ajax_gallery_category': (data) => { return `/ajax/gallery/${data.category}/`; },\n            'ajax_gallery_template': (data) => { return `/services/gallery/templates/${data.template}/`; },\n            'ajax_gallery_category_featured': (data) => { return `/ajax/gallery/${data.category}/featured/`; },\n            'ajax_gallery_favorites': () => { return `/ajax/gallery/favorites/`; },\n            'ajax_event_suggestions': (data) => { return `/ajax/event/suggestions/${data.search}/`;},\n            'ajax_event_settings': (data) => { return `/ajax/event/${data.event_id}/view/settings/`; },\n            'ajax_event_guestlist': (data) => { return `/ajax/event/${data.event_id}/guestlist/?gid=${data.gid}`; },\n            'ajax_event_avatars': (data) => { return `/ajax/event/${data.event_id}/guestlist/avatars/?gid=${data.gid}`; },\n            'ajax_edit_guest_tags': (data) => { return `/ajax/event/${data.event_id}/posts/${data.post_id}/tags/?gid=${data.gid}`; },\n            'ajax_render_event_image': (data) => { return `/ajax/event/${data.event_id}/renderimage/`; },\n            'ajax_event_posts': (data) => { return `/ajax/event/${data.event_id}/posts/?cursor=${data.cursor || ''}&gid=${data.gid}`; },\n            'ajax_event_photos': (data) => { return `/ajax/event/${data.event_id}/posts/photos/?per_page=${data.per_page || 10}&cursor=${data.cursor || ''}&gid=${data.gid}`; },\n            'ajax_event_guestlist_search': (data) => { return `/ajax/event/${data.event_id}/guestlist/search/?q=${data.search_term}&gid=${data.gid}&limit=${data.limit || 10}`; },\n            'login': '/login/',\n            'login_modal': '/modal/login/',\n            'register_modal': '/modal/register/',\n            'recaptcha': '/modal/recaptcha/',\n            'sms_captcha': '/modal/sms_captcha/',\n            'ad_captcha': '/modal/ad_captcha/',\n            'modal_dialog': '/modal/dialog',\n            'modal_warning': '/modal/warning',\n            'modal_loading': '/modal/loading',\n            'modal_ajax_error': '/modal/ajax_error/',\n            'import_contacts': '/profile/contacts/import/',\n            'ajax_user_status': '/ajax/settings/account/status/',\n            'modal_merge_registered': '/modal/settings/account/merge/registered/',\n            'modal_merge_secondary': '/modal/settings/account/merge/secondary/',\n            'ajax_merge_registered': '/ajax/settings/account/merge/registered/',\n            'modal_contacts_edit': '/modal/profile/contacts/edit',\n            'modal_contacts_new': '/modal/profile/contacts/new',\n            'modal_contacts_groups_edit': '/modal/profile/contacts/groups/edit',\n            'modal_contacts_groups_new': '/modal/profile/contacts/groups/new',\n            'modal_contacts_add__select_group': '/modal/profile/contacts/groups/select',\n            'modal_contacts_add__list': '/modal/profile/contacts/groups/list',\n            'modal_recurring_event': '/modal/event/recurring_event/',\n            'ajax_event_schedule': (data) => { return `/ajax/event/recurring_event/${data.event_id}/`; },\n            'ajax_cancel_one_recurring': (data) => { return `/ajax/event/cancel_one_recurring/${data.event_id}/`; },\n            'ajax_cancel_all_recurring': (data) => { return `/ajax/event/cancel_all_recurring/${data.event_id}/`; },\n            'modal_edit_one_recurring': (data) => { return `/modal/event/edit_one_recurring/${data.event_id}/${data.old_date}/`; },\n            'ajax_edit_one_recurring': (data) => { return `/ajax/event/edit_one_recurring/${data.event_id}/`; },\n            'profile_events': '/profile/events/',\n            'more_past_events': '/profile/events/past/more/',\n            'ajax_remove_inbox_event': '/ajax/profile/events/remove/',\n            'ajax_send_verify_email': '/profile/send_verify_email/',\n            'modal_notification_prefs': '/modal/profile/notification/',\n            'ajax_profile_contacts': '/ajax/profile/contacts/',\n            'ajax_profile_multiple_contacts': '/ajax/profile/contacts/multiple/',\n            'ajax_delete_multiple_contacts': '/ajax/profile/contacts/multiple/delete/',\n            'ajax_profile_contacts_groups': '/ajax/profile/groups/',\n            'ajax_contacts_groups__add_contacts': (data) => { return `/ajax/profile/groups/${data.group_id}/add_contacts/`; },\n            'ajax_contacts_groups__remove_contact': (data) => { return `/ajax/profile/groups/${data.group_id}/remove/${data.contact_id}/`; },\n            'ajax_remove_photo': '/ajax/profile/remove_photo/',\n            'register': '/register/',\n            'forgot_modal': '/modal/forgot/',\n            // 'forgot_mobile': '/mobile/forgot/',\n            'cstool_set_spam': (data) => { return `/cstool/set_spam/${data.event_id}/${data.status}/${data.task_name}/`; },\n            'cstool_edit_admin_user': '/cstool/admin/users/edit/',\n            'cstool_edit_permissions': '/cstool/admin/permissions/edit/',\n            'cstool_edit_admin_device_versions': '/cstool/admin/device-versions/edit/',\n            'cstool_edit_phone_optout': '/cstool/admin/phone_optout/edit/',\n            'cstool_spam_mark_as_seen': '/cstool/spam/event/mark_as_seen/',\n            'cstool_spam_events': '/cstool/spam/events/',\n            'cstool_event_actions': '/cstool/events/ajax_actions/',\n            'cstool_user_actions': '/cstool/users/ajax_actions/',\n            'cstool_event': '/cstool/events/event/',\n            'view': (data) => { return `/event/${data.event_id}/`; },\n            'send_message_modal': (data) => { return `/event/${data.event_id}/view/send_message_modal/`; },\n            'ajax_view_profiles': (data) => { return `/ajax/event/${data.event_id}/view/profiles/`; },\n            'ajax_view_rsvp': (data) => { return `/ajax/event/${data.event_id}/view/rsvp/`; },\n            'modal_knot_link_registry': '/modal/event/link_registry/',\n            'modal_knot_find_registry': '/modal/event/find_registry/',\n            'ajax_logout': '/ajax_logout',\n            'ajax_knot_search': '/ajax/knot_search/',\n            'ajax_request_upload_path': '/ajax/upload/prepare',\n            'ajax_fetchuyo': '/ajax/images/fetchuyo',\n            'ajax_crop_image': (data) => { return `/ajax/images/${data.image_id}/crop`; },\n            'ajax_content_feed': (data) => { return `/ajax/content/feed/${data.event_type}`; },\n            'main_image': (data) => { return `/services/images/${data.image_id}/main`; },\n            'large_image': (data) => { return `/services/images/${data.image_id}/large`; },\n            'image_url': (data) => { return `/services/image_url/${data.image_id}/${data.size}`; },\n            'image_redirect': (data) => { return `/services/image_redirect/${data.image_id}/${data.size || \"\"}`; },\n            'ajax_comments': (data) => { return `/ajax/event/comments/${data.event_id}/${window.guest_id}/`; },\n            'modal_add_to_calendar': (data) => { return `/modal/event/${data.event_id}/add_to_calendar/`; },\n            'invite_more': this._invite_more,\n            'send': '/event/send/',\n            'cancel': '/event/cancel/',\n            'whatsnext': (data) => { return `/whatsnext/${data.event_id}/`; },\n            'edit': (data) => { return `/event/${data.event_id}/edit/`; },\n            'upload_guest_csv': (data) => { return `/event/${data.event_id}/guests/csv/`; },\n            'ajax_guestlist': (data) => { return `/ajax/event/${data.event_id}/dashboard/guestlist/`; },\n            'event_dashboard': (data) => { return `/event/${data.event_id}/dashboard/`; },\n            'parse_guest': '/ajax/event/parse_guests/',\n            'guest_list_save': (data) => { return `/ajax/event/${data.event_id}/replace_guests/`; },\n            'guest_list_add': (data) => { return `/ajax/event/${data.event_id}/add_guests/`; },\n            'frp_updated': (data) => { return `/event/${data.event_id}/frp/updated/`; },\n            'frp_message_sent': (data) => { return `/event/${data.event_id}/frp/message_sent/`; },\n            'frp_sent': (data) => { return `/event/${data.event_id}/frp/sent/`; },\n            'frp_saved': (data) => { return `/event/${data.event_id}/frp/saved/`; },\n            'frp_canceled': (data) => { return `/event/${data.event_id}/frp/canceled/`; },\n            'ajax_preview': '/event/preview/',\n            'ajax_authenticated': '/ajax/authenticated/',\n            'facebook_connect': '/services/extdata/oa2/login/facebook/login/',\n            'google_plus_connect': '/services/extdata/oa2/login/google_plus/login/',\n            'set_draft_guests': '/ajax/set_draft_guests/',\n            'csv_import_contacts': '/profile/contacts/import/csv/',\n            'ajax_subscribe': '/ajax/subscribe/',\n            'ajax_send_sms': (data) => { return `/ajax/event/${data.event_id}/send_sms/`; },\n            'event_map': (data) => `/event/${data.event_id}/map?gid=${data.guest_id }`,\n            'event_map_redirect': (data) => `/event/${data.event_id}/map_redirect?gid=${data.guest_id }`,\n            'print_event': (data) => `/event/${data.event_id}/export/print`,\n            'print_event_premium': (data) => `/plus/view/${data.event_id}/${data.guest_id}/print_invitation/?`,\n            'ajax_notify_items': '/ajax/notify/items',\n            'ajax_notify_update': '/ajax/notify/update',\n            'all_notifications': '/all-notifications',\n        };\n    };\n\n    get (name, params) {\n        let url = this.urls[name];\n        if (!url) {\n            throw Error(`URL ${name} is not mapped`);\n        }\n        if (typeof url === 'function') {\n            let escaped = {};\n            if (params) {\n                for (let k of Object.keys(params)) {\n                    let v = params[k];\n                    escaped[k] = encodeURIComponent(v);\n                }\n            }\n            url = url(escaped);\n        }\n\n        if(/\\b(null|undefined)\\b/i.test(url)){\n            evite.warn(`URLs|Potential issue in parsed url: ${url}`);\n        }\n        return url;\n    };\n\n    _invite_more (params) {\n        let event_id = params.eid || params.event_id || window.event_id;\n        let p = {\n            guest_id: params.gid || window.guest_id\n        };\n        let param_str = $.param(p);\n        return `/event/${event_id}/invite_more/?${param_str}`;\n    };\n\n    _create (params) {\n        let p = {\n            template: params.template,\n            event_type: params.event_type || params.eventType\n        };\n        let param_str = $.param(p);\n        return `/event/create/?${param_str}`;\n    };\n\n    _profile (params) {\n        if (params && params.uid) {\n            return `/profile/public/${params.uid}/`;\n        }\n        return \"/profile/\";\n    };\n\n    _profile_private (params) {\n        if (params.section) {\n            if (params.section === 'events') {\n                if (params.tab === 'upcoming') {\n                    return this.get('profile_events');\n                }\n                if (params.tab === 'past') {\n                    return this.get('profile_past_events');\n                }\n            }\n            if (params.section === 'contacts') {\n                return this.get('profile_contacts');\n            }\n        }\n\n        return this.get('profile_edit');\n    };\n\n    _account_validate (params) {\n        var k, p, url, v;\n        url = this.get('verify_email');\n        p = [];\n        for (k in params) {\n            v = params[k];\n            p.push(k + \"=\" + v);\n        }\n        return url + '?' + p.join('&');\n    };\n\n    _reset_password (params) {\n        return this.get('reset_password') + (\"?token=\" + params.chk);\n    };\n\n    _gallery (params) {\n        if (params) {\n            for (let k of Object.keys(params)) {\n                let v = params[k];\n                params[k] = unescape(v);\n            }\n        }\n        let param_str = $.param(params);\n        return `/gallery/?${param_str}`;\n    };\n}\n\nconst instance = URLs.getInstance();\nexport default instance;\nevite.urls = instance;\n\n\n\n// WEBPACK FOOTER //\n// ./assets/es6/common/evite/urls.es6","/*! Raven.js 1.1.19 (b51bc89) | github.com/getsentry/raven-js */\n\n/*\n * Includes TraceKit\n * https://github.com/getsentry/TraceKit\n *\n * Copyright 2015 Matt Robenolt and other contributors\n * Released under the BSD license\n * https://github.com/getsentry/raven-js/blob/master/LICENSE\n *\n */\n;(function(window, undefined){\n'use strict';\n\n/*\n TraceKit - Cross brower stack traces - github.com/occ/TraceKit\n MIT license\n*/\n\nvar TraceKit = {\n    remoteFetching: true,\n    collectWindowErrors: false,\n    // 3 lines before, the offending line, 3 lines after\n    linesOfContext: 7\n};\n\n// global reference to slice\nvar _slice = [].slice;\nvar UNKNOWN_FUNCTION = '?';\n\n\n/**\n * TraceKit.wrap: Wrap any function in a TraceKit reporter\n * Example: func = TraceKit.wrap(func);\n *\n * @param {Function} func Function to be wrapped\n * @return {Function} The wrapped func\n */\nTraceKit.wrap = function traceKitWrapper(func) {\n    function wrapped() {\n        try {\n            return func.apply(this, arguments);\n        } catch (e) {\n            TraceKit.report(e);\n            throw e;\n        }\n    }\n    return wrapped;\n};\n\n/**\n * TraceKit.report: cross-browser processing of unhandled exceptions\n *\n * Syntax:\n *   TraceKit.report.subscribe(function(stackInfo) { ... })\n *   TraceKit.report.unsubscribe(function(stackInfo) { ... })\n *   TraceKit.report(exception)\n *   try { ...code... } catch(ex) { TraceKit.report(ex); }\n *\n * Supports:\n *   - Firefox: full stack trace with line numbers, plus column number\n *              on top frame; column number is not guaranteed\n *   - Opera:   full stack trace with line and column numbers\n *   - Chrome:  full stack trace with line and column numbers\n *   - Safari:  line and column number for the top frame only; some frames\n *              may be missing, and column number is not guaranteed\n *   - IE:      line and column number for the top frame only; some frames\n *              may be missing, and column number is not guaranteed\n *\n * In theory, TraceKit should work on all of the following versions:\n *   - IE5.5+ (only 8.0 tested)\n *   - Firefox 0.9+ (only 3.5+ tested)\n *   - Opera 7+ (only 10.50 tested; versions 9 and earlier may require\n *     Exceptions Have Stacktrace to be enabled in opera:config)\n *   - Safari 3+ (only 4+ tested)\n *   - Chrome 1+ (only 5+ tested)\n *   - Konqueror 3.5+ (untested)\n *\n * Requires TraceKit.computeStackTrace.\n *\n * Tries to catch all unhandled exceptions and report them to the\n * subscribed handlers. Please note that TraceKit.report will rethrow the\n * exception. This is REQUIRED in order to get a useful stack trace in IE.\n * If the exception does not reach the top of the browser, you will only\n * get a stack trace from the point where TraceKit.report was called.\n *\n * Handlers receive a stackInfo object as described in the\n * TraceKit.computeStackTrace docs.\n */\nTraceKit.report = (function reportModuleWrapper() {\n    var handlers = [],\n        lastArgs = null,\n        lastException = null,\n        lastExceptionStack = null;\n\n    /**\n     * Add a crash handler.\n     * @param {Function} handler\n     */\n    function subscribe(handler) {\n        installGlobalHandler();\n        handlers.push(handler);\n    }\n\n    /**\n     * Remove a crash handler.\n     * @param {Function} handler\n     */\n    function unsubscribe(handler) {\n        for (var i = handlers.length - 1; i >= 0; --i) {\n            if (handlers[i] === handler) {\n                handlers.splice(i, 1);\n            }\n        }\n    }\n\n    /**\n     * Remove all crash handlers.\n     */\n    function unsubscribeAll() {\n        uninstallGlobalHandler();\n        handlers = [];\n    }\n\n    /**\n     * Dispatch stack information to all handlers.\n     * @param {Object.<string, *>} stack\n     */\n    function notifyHandlers(stack, isWindowError) {\n        var exception = null;\n        if (isWindowError && !TraceKit.collectWindowErrors) {\n          return;\n        }\n        for (var i in handlers) {\n            if (hasKey(handlers, i)) {\n                try {\n                    handlers[i].apply(null, [stack].concat(_slice.call(arguments, 2)));\n                } catch (inner) {\n                    exception = inner;\n                }\n            }\n        }\n\n        if (exception) {\n            throw exception;\n        }\n    }\n\n    var _oldOnerrorHandler, _onErrorHandlerInstalled;\n\n    /**\n     * Ensures all global unhandled exceptions are recorded.\n     * Supported by Gecko and IE.\n     * @param {string} message Error message.\n     * @param {string} url URL of script that generated the exception.\n     * @param {(number|string)} lineNo The line number at which the error\n     * occurred.\n     * @param {?(number|string)} colNo The column number at which the error\n     * occurred.\n     * @param {?Error} ex The actual Error object.\n     */\n    function traceKitWindowOnError(message, url, lineNo, colNo, ex) {\n        var stack = null;\n\n        if (lastExceptionStack) {\n            TraceKit.computeStackTrace.augmentStackTraceWithInitialElement(lastExceptionStack, url, lineNo, message);\n            processLastException();\n        } else if (ex) {\n            // New chrome and blink send along a real error object\n            // Let's just report that like a normal error.\n            // See: https://mikewest.org/2013/08/debugging-runtime-errors-with-window-onerror\n            stack = TraceKit.computeStackTrace(ex);\n            notifyHandlers(stack, true);\n        } else {\n            var location = {\n                'url': url,\n                'line': lineNo,\n                'column': colNo\n            };\n            location.func = TraceKit.computeStackTrace.guessFunctionName(location.url, location.line);\n            location.context = TraceKit.computeStackTrace.gatherContext(location.url, location.line);\n            stack = {\n                'message': message,\n                'url': document.location.href,\n                'stack': [location]\n            };\n            notifyHandlers(stack, true);\n        }\n\n        if (_oldOnerrorHandler) {\n            return _oldOnerrorHandler.apply(this, arguments);\n        }\n\n        return false;\n    }\n\n    function installGlobalHandler ()\n    {\n        if (_onErrorHandlerInstalled) {\n            return;\n        }\n        _oldOnerrorHandler = window.onerror;\n        window.onerror = traceKitWindowOnError;\n        _onErrorHandlerInstalled = true;\n    }\n\n    function uninstallGlobalHandler ()\n    {\n        if (!_onErrorHandlerInstalled) {\n            return;\n        }\n        window.onerror = _oldOnerrorHandler;\n        _onErrorHandlerInstalled = false;\n        _oldOnerrorHandler = undefined;\n    }\n\n    function processLastException() {\n        var _lastExceptionStack = lastExceptionStack,\n            _lastArgs = lastArgs;\n        lastArgs = null;\n        lastExceptionStack = null;\n        lastException = null;\n        notifyHandlers.apply(null, [_lastExceptionStack, false].concat(_lastArgs));\n    }\n\n    /**\n     * Reports an unhandled Error to TraceKit.\n     * @param {Error} ex\n     * @param {?boolean} rethrow If false, do not re-throw the exception.\n     * Only used for window.onerror to not cause an infinite loop of\n     * rethrowing.\n     */\n    function report(ex, rethrow) {\n        var args = _slice.call(arguments, 1);\n        if (lastExceptionStack) {\n            if (lastException === ex) {\n                return; // already caught by an inner catch block, ignore\n            } else {\n              processLastException();\n            }\n        }\n\n        var stack = TraceKit.computeStackTrace(ex);\n        lastExceptionStack = stack;\n        lastException = ex;\n        lastArgs = args;\n\n        // If the stack trace is incomplete, wait for 2 seconds for\n        // slow slow IE to see if onerror occurs or not before reporting\n        // this exception; otherwise, we will end up with an incomplete\n        // stack trace\n        window.setTimeout(function () {\n            if (lastException === ex) {\n                processLastException();\n            }\n        }, (stack.incomplete ? 2000 : 0));\n\n        if (rethrow !== false) {\n            throw ex; // re-throw to propagate to the top level (and cause window.onerror)\n        }\n    }\n\n    report.subscribe = subscribe;\n    report.unsubscribe = unsubscribe;\n    report.uninstall = unsubscribeAll;\n    return report;\n}());\n\n/**\n * TraceKit.computeStackTrace: cross-browser stack traces in JavaScript\n *\n * Syntax:\n *   s = TraceKit.computeStackTrace(exception) // consider using TraceKit.report instead (see below)\n * Returns:\n *   s.name              - exception name\n *   s.message           - exception message\n *   s.stack[i].url      - JavaScript or HTML file URL\n *   s.stack[i].func     - function name, or empty for anonymous functions (if guessing did not work)\n *   s.stack[i].args     - arguments passed to the function, if known\n *   s.stack[i].line     - line number, if known\n *   s.stack[i].column   - column number, if known\n *   s.stack[i].context  - an array of source code lines; the middle element corresponds to the correct line#\n *\n * Supports:\n *   - Firefox:  full stack trace with line numbers and unreliable column\n *               number on top frame\n *   - Opera 10: full stack trace with line and column numbers\n *   - Opera 9-: full stack trace with line numbers\n *   - Chrome:   full stack trace with line and column numbers\n *   - Safari:   line and column number for the topmost stacktrace element\n *               only\n *   - IE:       no line numbers whatsoever\n *\n * Tries to guess names of anonymous functions by looking for assignments\n * in the source code. In IE and Safari, we have to guess source file names\n * by searching for function bodies inside all page scripts. This will not\n * work for scripts that are loaded cross-domain.\n * Here be dragons: some function names may be guessed incorrectly, and\n * duplicate functions may be mismatched.\n *\n * TraceKit.computeStackTrace should only be used for tracing purposes.\n * Logging of unhandled exceptions should be done with TraceKit.report,\n * which builds on top of TraceKit.computeStackTrace and provides better\n * IE support by utilizing the window.onerror event to retrieve information\n * about the top of the stack.\n *\n * Note: In IE and Safari, no stack trace is recorded on the Error object,\n * so computeStackTrace instead walks its *own* chain of callers.\n * This means that:\n *  * in Safari, some methods may be missing from the stack trace;\n *  * in IE, the topmost function in the stack trace will always be the\n *    caller of computeStackTrace.\n *\n * This is okay for tracing (because you are likely to be calling\n * computeStackTrace from the function you want to be the topmost element\n * of the stack trace anyway), but not okay for logging unhandled\n * exceptions (because your catch block will likely be far away from the\n * inner function that actually caused the exception).\n *\n */\nTraceKit.computeStackTrace = (function computeStackTraceWrapper() {\n    var debug = false,\n        sourceCache = {};\n\n    /**\n     * Attempts to retrieve source code via XMLHttpRequest, which is used\n     * to look up anonymous function names.\n     * @param {string} url URL of source code.\n     * @return {string} Source contents.\n     */\n    function loadSource(url) {\n        if (!TraceKit.remoteFetching) { //Only attempt request if remoteFetching is on.\n            return '';\n        }\n        try {\n            var getXHR = function() {\n                try {\n                    return new window.XMLHttpRequest();\n                } catch (e) {\n                    // explicitly bubble up the exception if not found\n                    return new window.ActiveXObject('Microsoft.XMLHTTP');\n                }\n            };\n\n            var request = getXHR();\n            request.open('GET', url, false);\n            request.send('');\n            return request.responseText;\n        } catch (e) {\n            return '';\n        }\n    }\n\n    /**\n     * Retrieves source code from the source code cache.\n     * @param {string} url URL of source code.\n     * @return {Array.<string>} Source contents.\n     */\n    function getSource(url) {\n        if (!isString(url)) return [];\n        if (!hasKey(sourceCache, url)) {\n            // URL needs to be able to fetched within the acceptable domain.  Otherwise,\n            // cross-domain errors will be triggered.\n            var source = '';\n            if (url.indexOf(document.domain) !== -1) {\n                source = loadSource(url);\n            }\n            sourceCache[url] = source ? source.split('\\n') : [];\n        }\n\n        return sourceCache[url];\n    }\n\n    /**\n     * Tries to use an externally loaded copy of source code to determine\n     * the name of a function by looking at the name of the variable it was\n     * assigned to, if any.\n     * @param {string} url URL of source code.\n     * @param {(string|number)} lineNo Line number in source code.\n     * @return {string} The function name, if discoverable.\n     */\n    function guessFunctionName(url, lineNo) {\n        var reFunctionArgNames = /function ([^(]*)\\(([^)]*)\\)/,\n            reGuessFunction = /['\"]?([0-9A-Za-z$_]+)['\"]?\\s*[:=]\\s*(function|eval|new Function)/,\n            line = '',\n            maxLines = 10,\n            source = getSource(url),\n            m;\n\n        if (!source.length) {\n            return UNKNOWN_FUNCTION;\n        }\n\n        // Walk backwards from the first line in the function until we find the line which\n        // matches the pattern above, which is the function definition\n        for (var i = 0; i < maxLines; ++i) {\n            line = source[lineNo - i] + line;\n\n            if (!isUndefined(line)) {\n                if ((m = reGuessFunction.exec(line))) {\n                    return m[1];\n                } else if ((m = reFunctionArgNames.exec(line))) {\n                    return m[1];\n                }\n            }\n        }\n\n        return UNKNOWN_FUNCTION;\n    }\n\n    /**\n     * Retrieves the surrounding lines from where an exception occurred.\n     * @param {string} url URL of source code.\n     * @param {(string|number)} line Line number in source code to centre\n     * around for context.\n     * @return {?Array.<string>} Lines of source code.\n     */\n    function gatherContext(url, line) {\n        var source = getSource(url);\n\n        if (!source.length) {\n            return null;\n        }\n\n        var context = [],\n            // linesBefore & linesAfter are inclusive with the offending line.\n            // if linesOfContext is even, there will be one extra line\n            //   *before* the offending line.\n            linesBefore = Math.floor(TraceKit.linesOfContext / 2),\n            // Add one extra line if linesOfContext is odd\n            linesAfter = linesBefore + (TraceKit.linesOfContext % 2),\n            start = Math.max(0, line - linesBefore - 1),\n            end = Math.min(source.length, line + linesAfter - 1);\n\n        line -= 1; // convert to 0-based index\n\n        for (var i = start; i < end; ++i) {\n            if (!isUndefined(source[i])) {\n                context.push(source[i]);\n            }\n        }\n\n        return context.length > 0 ? context : null;\n    }\n\n    /**\n     * Escapes special characters, except for whitespace, in a string to be\n     * used inside a regular expression as a string literal.\n     * @param {string} text The string.\n     * @return {string} The escaped string literal.\n     */\n    function escapeRegExp(text) {\n        return text.replace(/[\\-\\[\\]{}()*+?.,\\\\\\^$|#]/g, '\\\\$&');\n    }\n\n    /**\n     * Escapes special characters in a string to be used inside a regular\n     * expression as a string literal. Also ensures that HTML entities will\n     * be matched the same as their literal friends.\n     * @param {string} body The string.\n     * @return {string} The escaped string.\n     */\n    function escapeCodeAsRegExpForMatchingInsideHTML(body) {\n        return escapeRegExp(body).replace('<', '(?:<|&lt;)').replace('>', '(?:>|&gt;)').replace('&', '(?:&|&amp;)').replace('\"', '(?:\"|&quot;)').replace(/\\s+/g, '\\\\s+');\n    }\n\n    /**\n     * Determines where a code fragment occurs in the source code.\n     * @param {RegExp} re The function definition.\n     * @param {Array.<string>} urls A list of URLs to search.\n     * @return {?Object.<string, (string|number)>} An object containing\n     * the url, line, and column number of the defined function.\n     */\n    function findSourceInUrls(re, urls) {\n        var source, m;\n        for (var i = 0, j = urls.length; i < j; ++i) {\n            // console.log('searching', urls[i]);\n            if ((source = getSource(urls[i])).length) {\n                source = source.join('\\n');\n                if ((m = re.exec(source))) {\n                    // console.log('Found function in ' + urls[i]);\n\n                    return {\n                        'url': urls[i],\n                        'line': source.substring(0, m.index).split('\\n').length,\n                        'column': m.index - source.lastIndexOf('\\n', m.index) - 1\n                    };\n                }\n            }\n        }\n\n        // console.log('no match');\n\n        return null;\n    }\n\n    /**\n     * Determines at which column a code fragment occurs on a line of the\n     * source code.\n     * @param {string} fragment The code fragment.\n     * @param {string} url The URL to search.\n     * @param {(string|number)} line The line number to examine.\n     * @return {?number} The column number.\n     */\n    function findSourceInLine(fragment, url, line) {\n        var source = getSource(url),\n            re = new RegExp('\\\\b' + escapeRegExp(fragment) + '\\\\b'),\n            m;\n\n        line -= 1;\n\n        if (source && source.length > line && (m = re.exec(source[line]))) {\n            return m.index;\n        }\n\n        return null;\n    }\n\n    /**\n     * Determines where a function was defined within the source code.\n     * @param {(Function|string)} func A function reference or serialized\n     * function definition.\n     * @return {?Object.<string, (string|number)>} An object containing\n     * the url, line, and column number of the defined function.\n     */\n    function findSourceByFunctionBody(func) {\n        var urls = [window.location.href],\n            scripts = document.getElementsByTagName('script'),\n            body,\n            code = '' + func,\n            codeRE = /^function(?:\\s+([\\w$]+))?\\s*\\(([\\w\\s,]*)\\)\\s*\\{\\s*(\\S[\\s\\S]*\\S)\\s*\\}\\s*$/,\n            eventRE = /^function on([\\w$]+)\\s*\\(event\\)\\s*\\{\\s*(\\S[\\s\\S]*\\S)\\s*\\}\\s*$/,\n            re,\n            parts,\n            result;\n\n        for (var i = 0; i < scripts.length; ++i) {\n            var script = scripts[i];\n            if (script.src) {\n                urls.push(script.src);\n            }\n        }\n\n        if (!(parts = codeRE.exec(code))) {\n            re = new RegExp(escapeRegExp(code).replace(/\\s+/g, '\\\\s+'));\n        }\n\n        // not sure if this is really necessary, but I don’t have a test\n        // corpus large enough to confirm that and it was in the original.\n        else {\n            var name = parts[1] ? '\\\\s+' + parts[1] : '',\n                args = parts[2].split(',').join('\\\\s*,\\\\s*');\n\n            body = escapeRegExp(parts[3]).replace(/;$/, ';?'); // semicolon is inserted if the function ends with a comment.replace(/\\s+/g, '\\\\s+');\n            re = new RegExp('function' + name + '\\\\s*\\\\(\\\\s*' + args + '\\\\s*\\\\)\\\\s*{\\\\s*' + body + '\\\\s*}');\n        }\n\n        // look for a normal function definition\n        if ((result = findSourceInUrls(re, urls))) {\n            return result;\n        }\n\n        // look for an old-school event handler function\n        if ((parts = eventRE.exec(code))) {\n            var event = parts[1];\n            body = escapeCodeAsRegExpForMatchingInsideHTML(parts[2]);\n\n            // look for a function defined in HTML as an onXXX handler\n            re = new RegExp('on' + event + '=[\\\\\\'\"]\\\\s*' + body + '\\\\s*[\\\\\\'\"]', 'i');\n\n            if ((result = findSourceInUrls(re, urls[0]))) {\n                return result;\n            }\n\n            // look for ???\n            re = new RegExp(body);\n\n            if ((result = findSourceInUrls(re, urls))) {\n                return result;\n            }\n        }\n\n        return null;\n    }\n\n    // Contents of Exception in various browsers.\n    //\n    // SAFARI:\n    // ex.message = Can't find variable: qq\n    // ex.line = 59\n    // ex.sourceId = 580238192\n    // ex.sourceURL = http://...\n    // ex.expressionBeginOffset = 96\n    // ex.expressionCaretOffset = 98\n    // ex.expressionEndOffset = 98\n    // ex.name = ReferenceError\n    //\n    // FIREFOX:\n    // ex.message = qq is not defined\n    // ex.fileName = http://...\n    // ex.lineNumber = 59\n    // ex.columnNumber = 69\n    // ex.stack = ...stack trace... (see the example below)\n    // ex.name = ReferenceError\n    //\n    // CHROME:\n    // ex.message = qq is not defined\n    // ex.name = ReferenceError\n    // ex.type = not_defined\n    // ex.arguments = ['aa']\n    // ex.stack = ...stack trace...\n    //\n    // INTERNET EXPLORER:\n    // ex.message = ...\n    // ex.name = ReferenceError\n    //\n    // OPERA:\n    // ex.message = ...message... (see the example below)\n    // ex.name = ReferenceError\n    // ex.opera#sourceloc = 11  (pretty much useless, duplicates the info in ex.message)\n    // ex.stacktrace = n/a; see 'opera:config#UserPrefs|Exceptions Have Stacktrace'\n\n    /**\n     * Computes stack trace information from the stack property.\n     * Chrome and Gecko use this property.\n     * @param {Error} ex\n     * @return {?Object.<string, *>} Stack trace information.\n     */\n    function computeStackTraceFromStackProp(ex) {\n        if (!ex.stack) {\n            return null;\n        }\n\n        var chrome = /^\\s*at (.*?) ?\\(?((?:file|https?|chrome-extension):.*?):(\\d+)(?::(\\d+))?\\)?\\s*$/i,\n            gecko = /^\\s*(.*?)(?:\\((.*?)\\))?@((?:file|https?|chrome).*?):(\\d+)(?::(\\d+))?\\s*$/i,\n            lines = ex.stack.split('\\n'),\n            stack = [],\n            parts,\n            element,\n            reference = /^(.*) is undefined$/.exec(ex.message);\n\n        for (var i = 0, j = lines.length; i < j; ++i) {\n            if ((parts = gecko.exec(lines[i]))) {\n                element = {\n                    'url': parts[3],\n                    'func': parts[1] || UNKNOWN_FUNCTION,\n                    'args': parts[2] ? parts[2].split(',') : '',\n                    'line': +parts[4],\n                    'column': parts[5] ? +parts[5] : null\n                };\n            } else if ((parts = chrome.exec(lines[i]))) {\n                element = {\n                    'url': parts[2],\n                    'func': parts[1] || UNKNOWN_FUNCTION,\n                    'line': +parts[3],\n                    'column': parts[4] ? +parts[4] : null\n                };\n            } else {\n                continue;\n            }\n\n            if (!element.func && element.line) {\n                element.func = guessFunctionName(element.url, element.line);\n            }\n\n            if (element.line) {\n                element.context = gatherContext(element.url, element.line);\n            }\n\n            stack.push(element);\n        }\n\n        if (!stack.length) {\n            return null;\n        }\n\n        if (stack[0].line && !stack[0].column && reference) {\n            stack[0].column = findSourceInLine(reference[1], stack[0].url, stack[0].line);\n        } else if (!stack[0].column && !isUndefined(ex.columnNumber)) {\n            // FireFox uses this awesome columnNumber property for its top frame\n            // Also note, Firefox's column number is 0-based and everything else expects 1-based,\n            // so adding 1\n            stack[0].column = ex.columnNumber + 1;\n        }\n\n        return {\n            'name': ex.name,\n            'message': ex.message,\n            'url': document.location.href,\n            'stack': stack\n        };\n    }\n\n    /**\n     * Computes stack trace information from the stacktrace property.\n     * Opera 10 uses this property.\n     * @param {Error} ex\n     * @return {?Object.<string, *>} Stack trace information.\n     */\n    function computeStackTraceFromStacktraceProp(ex) {\n        // Access and store the stacktrace property before doing ANYTHING\n        // else to it because Opera is not very good at providing it\n        // reliably in other circumstances.\n        var stacktrace = ex.stacktrace;\n\n        var testRE = / line (\\d+), column (\\d+) in (?:<anonymous function: ([^>]+)>|([^\\)]+))\\((.*)\\) in (.*):\\s*$/i,\n            lines = stacktrace.split('\\n'),\n            stack = [],\n            parts;\n\n        for (var i = 0, j = lines.length; i < j; i += 2) {\n            if ((parts = testRE.exec(lines[i]))) {\n                var element = {\n                    'line': +parts[1],\n                    'column': +parts[2],\n                    'func': parts[3] || parts[4],\n                    'args': parts[5] ? parts[5].split(',') : [],\n                    'url': parts[6]\n                };\n\n                if (!element.func && element.line) {\n                    element.func = guessFunctionName(element.url, element.line);\n                }\n                if (element.line) {\n                    try {\n                        element.context = gatherContext(element.url, element.line);\n                    } catch (exc) {}\n                }\n\n                if (!element.context) {\n                    element.context = [lines[i + 1]];\n                }\n\n                stack.push(element);\n            }\n        }\n\n        if (!stack.length) {\n            return null;\n        }\n\n        return {\n            'name': ex.name,\n            'message': ex.message,\n            'url': document.location.href,\n            'stack': stack\n        };\n    }\n\n    /**\n     * NOT TESTED.\n     * Computes stack trace information from an error message that includes\n     * the stack trace.\n     * Opera 9 and earlier use this method if the option to show stack\n     * traces is turned on in opera:config.\n     * @param {Error} ex\n     * @return {?Object.<string, *>} Stack information.\n     */\n    function computeStackTraceFromOperaMultiLineMessage(ex) {\n        // Opera includes a stack trace into the exception message. An example is:\n        //\n        // Statement on line 3: Undefined variable: undefinedFunc\n        // Backtrace:\n        //   Line 3 of linked script file://localhost/Users/andreyvit/Projects/TraceKit/javascript-client/sample.js: In function zzz\n        //         undefinedFunc(a);\n        //   Line 7 of inline#1 script in file://localhost/Users/andreyvit/Projects/TraceKit/javascript-client/sample.html: In function yyy\n        //           zzz(x, y, z);\n        //   Line 3 of inline#1 script in file://localhost/Users/andreyvit/Projects/TraceKit/javascript-client/sample.html: In function xxx\n        //           yyy(a, a, a);\n        //   Line 1 of function script\n        //     try { xxx('hi'); return false; } catch(ex) { TraceKit.report(ex); }\n        //   ...\n\n        var lines = ex.message.split('\\n');\n        if (lines.length < 4) {\n            return null;\n        }\n\n        var lineRE1 = /^\\s*Line (\\d+) of linked script ((?:file|https?)\\S+)(?:: in function (\\S+))?\\s*$/i,\n            lineRE2 = /^\\s*Line (\\d+) of inline#(\\d+) script in ((?:file|https?)\\S+)(?:: in function (\\S+))?\\s*$/i,\n            lineRE3 = /^\\s*Line (\\d+) of function script\\s*$/i,\n            stack = [],\n            scripts = document.getElementsByTagName('script'),\n            inlineScriptBlocks = [],\n            parts,\n            i,\n            len,\n            source;\n\n        for (i in scripts) {\n            if (hasKey(scripts, i) && !scripts[i].src) {\n                inlineScriptBlocks.push(scripts[i]);\n            }\n        }\n\n        for (i = 2, len = lines.length; i < len; i += 2) {\n            var item = null;\n            if ((parts = lineRE1.exec(lines[i]))) {\n                item = {\n                    'url': parts[2],\n                    'func': parts[3],\n                    'line': +parts[1]\n                };\n            } else if ((parts = lineRE2.exec(lines[i]))) {\n                item = {\n                    'url': parts[3],\n                    'func': parts[4]\n                };\n                var relativeLine = (+parts[1]); // relative to the start of the <SCRIPT> block\n                var script = inlineScriptBlocks[parts[2] - 1];\n                if (script) {\n                    source = getSource(item.url);\n                    if (source) {\n                        source = source.join('\\n');\n                        var pos = source.indexOf(script.innerText);\n                        if (pos >= 0) {\n                            item.line = relativeLine + source.substring(0, pos).split('\\n').length;\n                        }\n                    }\n                }\n            } else if ((parts = lineRE3.exec(lines[i]))) {\n                var url = window.location.href.replace(/#.*$/, ''),\n                    line = parts[1];\n                var re = new RegExp(escapeCodeAsRegExpForMatchingInsideHTML(lines[i + 1]));\n                source = findSourceInUrls(re, [url]);\n                item = {\n                    'url': url,\n                    'line': source ? source.line : line,\n                    'func': ''\n                };\n            }\n\n            if (item) {\n                if (!item.func) {\n                    item.func = guessFunctionName(item.url, item.line);\n                }\n                var context = gatherContext(item.url, item.line);\n                var midline = (context ? context[Math.floor(context.length / 2)] : null);\n                if (context && midline.replace(/^\\s*/, '') === lines[i + 1].replace(/^\\s*/, '')) {\n                    item.context = context;\n                } else {\n                    // if (context) alert(\"Context mismatch. Correct midline:\\n\" + lines[i+1] + \"\\n\\nMidline:\\n\" + midline + \"\\n\\nContext:\\n\" + context.join(\"\\n\") + \"\\n\\nURL:\\n\" + item.url);\n                    item.context = [lines[i + 1]];\n                }\n                stack.push(item);\n            }\n        }\n        if (!stack.length) {\n            return null; // could not parse multiline exception message as Opera stack trace\n        }\n\n        return {\n            'name': ex.name,\n            'message': lines[0],\n            'url': document.location.href,\n            'stack': stack\n        };\n    }\n\n    /**\n     * Adds information about the first frame to incomplete stack traces.\n     * Safari and IE require this to get complete data on the first frame.\n     * @param {Object.<string, *>} stackInfo Stack trace information from\n     * one of the compute* methods.\n     * @param {string} url The URL of the script that caused an error.\n     * @param {(number|string)} lineNo The line number of the script that\n     * caused an error.\n     * @param {string=} message The error generated by the browser, which\n     * hopefully contains the name of the object that caused the error.\n     * @return {boolean} Whether or not the stack information was\n     * augmented.\n     */\n    function augmentStackTraceWithInitialElement(stackInfo, url, lineNo, message) {\n        var initial = {\n            'url': url,\n            'line': lineNo\n        };\n\n        if (initial.url && initial.line) {\n            stackInfo.incomplete = false;\n\n            if (!initial.func) {\n                initial.func = guessFunctionName(initial.url, initial.line);\n            }\n\n            if (!initial.context) {\n                initial.context = gatherContext(initial.url, initial.line);\n            }\n\n            var reference = / '([^']+)' /.exec(message);\n            if (reference) {\n                initial.column = findSourceInLine(reference[1], initial.url, initial.line);\n            }\n\n            if (stackInfo.stack.length > 0) {\n                if (stackInfo.stack[0].url === initial.url) {\n                    if (stackInfo.stack[0].line === initial.line) {\n                        return false; // already in stack trace\n                    } else if (!stackInfo.stack[0].line && stackInfo.stack[0].func === initial.func) {\n                        stackInfo.stack[0].line = initial.line;\n                        stackInfo.stack[0].context = initial.context;\n                        return false;\n                    }\n                }\n            }\n\n            stackInfo.stack.unshift(initial);\n            stackInfo.partial = true;\n            return true;\n        } else {\n            stackInfo.incomplete = true;\n        }\n\n        return false;\n    }\n\n    /**\n     * Computes stack trace information by walking the arguments.caller\n     * chain at the time the exception occurred. This will cause earlier\n     * frames to be missed but is the only way to get any stack trace in\n     * Safari and IE. The top frame is restored by\n     * {@link augmentStackTraceWithInitialElement}.\n     * @param {Error} ex\n     * @return {?Object.<string, *>} Stack trace information.\n     */\n    function computeStackTraceByWalkingCallerChain(ex, depth) {\n        var functionName = /function\\s+([_$a-zA-Z\\xA0-\\uFFFF][_$a-zA-Z0-9\\xA0-\\uFFFF]*)?\\s*\\(/i,\n            stack = [],\n            funcs = {},\n            recursion = false,\n            parts,\n            item,\n            source;\n\n        for (var curr = computeStackTraceByWalkingCallerChain.caller; curr && !recursion; curr = curr.caller) {\n            if (curr === computeStackTrace || curr === TraceKit.report) {\n                // console.log('skipping internal function');\n                continue;\n            }\n\n            item = {\n                'url': null,\n                'func': UNKNOWN_FUNCTION,\n                'line': null,\n                'column': null\n            };\n\n            if (curr.name) {\n                item.func = curr.name;\n            } else if ((parts = functionName.exec(curr.toString()))) {\n                item.func = parts[1];\n            }\n\n            if ((source = findSourceByFunctionBody(curr))) {\n                item.url = source.url;\n                item.line = source.line;\n\n                if (item.func === UNKNOWN_FUNCTION) {\n                    item.func = guessFunctionName(item.url, item.line);\n                }\n\n                var reference = / '([^']+)' /.exec(ex.message || ex.description);\n                if (reference) {\n                    item.column = findSourceInLine(reference[1], source.url, source.line);\n                }\n            }\n\n            if (funcs['' + curr]) {\n                recursion = true;\n            }else{\n                funcs['' + curr] = true;\n            }\n\n            stack.push(item);\n        }\n\n        if (depth) {\n            // console.log('depth is ' + depth);\n            // console.log('stack is ' + stack.length);\n            stack.splice(0, depth);\n        }\n\n        var result = {\n            'name': ex.name,\n            'message': ex.message,\n            'url': document.location.href,\n            'stack': stack\n        };\n        augmentStackTraceWithInitialElement(result, ex.sourceURL || ex.fileName, ex.line || ex.lineNumber, ex.message || ex.description);\n        return result;\n    }\n\n    /**\n     * Computes a stack trace for an exception.\n     * @param {Error} ex\n     * @param {(string|number)=} depth\n     */\n    function computeStackTrace(ex, depth) {\n        var stack = null;\n        depth = (depth == null ? 0 : +depth);\n\n        try {\n            // This must be tried first because Opera 10 *destroys*\n            // its stacktrace property if you try to access the stack\n            // property first!!\n            stack = computeStackTraceFromStacktraceProp(ex);\n            if (stack) {\n                return stack;\n            }\n        } catch (e) {\n            if (debug) {\n                throw e;\n            }\n        }\n\n        try {\n            stack = computeStackTraceFromStackProp(ex);\n            if (stack) {\n                return stack;\n            }\n        } catch (e) {\n            if (debug) {\n                throw e;\n            }\n        }\n\n        try {\n            stack = computeStackTraceFromOperaMultiLineMessage(ex);\n            if (stack) {\n                return stack;\n            }\n        } catch (e) {\n            if (debug) {\n                throw e;\n            }\n        }\n\n        try {\n            stack = computeStackTraceByWalkingCallerChain(ex, depth + 1);\n            if (stack) {\n                return stack;\n            }\n        } catch (e) {\n            if (debug) {\n                throw e;\n            }\n        }\n\n        return {};\n    }\n\n    computeStackTrace.augmentStackTraceWithInitialElement = augmentStackTraceWithInitialElement;\n    computeStackTrace.computeStackTraceFromStackProp = computeStackTraceFromStackProp;\n    computeStackTrace.guessFunctionName = guessFunctionName;\n    computeStackTrace.gatherContext = gatherContext;\n\n    return computeStackTrace;\n}());\n\n'use strict';\n\n// First, check for JSON support\n// If there is no JSON, we no-op the core features of Raven\n// since JSON is required to encode the payload\nvar _Raven = window.Raven,\n    hasJSON = !!(typeof JSON === 'object' && JSON.stringify),\n    lastCapturedException,\n    lastEventId,\n    globalServer,\n    globalUser,\n    globalKey,\n    globalProject,\n    globalOptions = {\n        logger: 'javascript',\n        ignoreErrors: [],\n        ignoreUrls: [],\n        whitelistUrls: [],\n        includePaths: [],\n        collectWindowErrors: false,\n        tags: {},\n        maxMessageLength: 100,\n        extra: {}\n    },\n    authQueryString,\n    isRavenInstalled = false,\n\n    objectPrototype = Object.prototype,\n    startTime = now();\n\n/*\n * The core Raven singleton\n *\n * @this {Raven}\n */\nvar Raven = {\n    VERSION: '1.1.19',\n\n    debug: true,\n\n    /*\n     * Allow multiple versions of Raven to be installed.\n     * Strip Raven from the global context and returns the instance.\n     *\n     * @return {Raven}\n     */\n    noConflict: function() {\n        window.Raven = _Raven;\n        return Raven;\n    },\n\n    /*\n     * Configure Raven with a DSN and extra options\n     *\n     * @param {string} dsn The public Sentry DSN\n     * @param {object} options Optional set of of global options [optional]\n     * @return {Raven}\n     */\n    config: function(dsn, options) {\n        if (globalServer) {\n            logDebug('error', 'Error: Raven has already been configured');\n            return Raven;\n        }\n        if (!dsn) return Raven;\n\n        var uri = parseDSN(dsn),\n            lastSlash = uri.path.lastIndexOf('/'),\n            path = uri.path.substr(1, lastSlash);\n\n        // merge in options\n        if (options) {\n            each(options, function(key, value){\n                globalOptions[key] = value;\n            });\n        }\n\n        // \"Script error.\" is hard coded into browsers for errors that it can't read.\n        // this is the result of a script being pulled in from an external domain and CORS.\n        globalOptions.ignoreErrors.push(/^Script error\\.?$/);\n        globalOptions.ignoreErrors.push(/^Javascript error: Script error\\.? on line 0$/);\n\n        // join regexp rules into one big rule\n        globalOptions.ignoreErrors = joinRegExp(globalOptions.ignoreErrors);\n        globalOptions.ignoreUrls = globalOptions.ignoreUrls.length ? joinRegExp(globalOptions.ignoreUrls) : false;\n        globalOptions.whitelistUrls = globalOptions.whitelistUrls.length ? joinRegExp(globalOptions.whitelistUrls) : false;\n        globalOptions.includePaths = joinRegExp(globalOptions.includePaths);\n\n        globalKey = uri.user;\n        globalProject = uri.path.substr(lastSlash + 1);\n\n        // assemble the endpoint from the uri pieces\n        globalServer = '//' + uri.host +\n                      (uri.port ? ':' + uri.port : '') +\n                      '/' + path + 'api/' + globalProject + '/store/';\n\n        if (uri.protocol) {\n            globalServer = uri.protocol + ':' + globalServer;\n        }\n\n        if (globalOptions.fetchContext) {\n            TraceKit.remoteFetching = true;\n        }\n\n        if (globalOptions.linesOfContext) {\n            TraceKit.linesOfContext = globalOptions.linesOfContext;\n        }\n\n        TraceKit.collectWindowErrors = !!globalOptions.collectWindowErrors;\n\n        setAuthQueryString();\n\n        // return for chaining\n        return Raven;\n    },\n\n    /*\n     * Installs a global window.onerror error handler\n     * to capture and report uncaught exceptions.\n     * At this point, install() is required to be called due\n     * to the way TraceKit is set up.\n     *\n     * @return {Raven}\n     */\n    install: function() {\n        if (isSetup() && !isRavenInstalled) {\n            TraceKit.report.subscribe(handleStackInfo);\n            isRavenInstalled = true;\n        }\n\n        return Raven;\n    },\n\n    /*\n     * Wrap code within a context so Raven can capture errors\n     * reliably across domains that is executed immediately.\n     *\n     * @param {object} options A specific set of options for this context [optional]\n     * @param {function} func The callback to be immediately executed within the context\n     * @param {array} args An array of arguments to be called with the callback [optional]\n     */\n    context: function(options, func, args) {\n        if (isFunction(options)) {\n            args = func || [];\n            func = options;\n            options = undefined;\n        }\n\n        return Raven.wrap(options, func).apply(this, args);\n    },\n\n    /*\n     * Wrap code within a context and returns back a new function to be executed\n     *\n     * @param {object} options A specific set of options for this context [optional]\n     * @param {function} func The function to be wrapped in a new context\n     * @return {function} The newly wrapped functions with a context\n     */\n    wrap: function(options, func) {\n        // 1 argument has been passed, and it's not a function\n        // so just return it\n        if (isUndefined(func) && !isFunction(options)) {\n            return options;\n        }\n\n        // options is optional\n        if (isFunction(options)) {\n            func = options;\n            options = undefined;\n        }\n\n        // At this point, we've passed along 2 arguments, and the second one\n        // is not a function either, so we'll just return the second argument.\n        if (!isFunction(func)) {\n            return func;\n        }\n\n        // We don't wanna wrap it twice!\n        if (func.__raven__) {\n            return func;\n        }\n\n        function wrapped() {\n            var args = [], i = arguments.length,\n                deep = !options || options && options.deep !== false;\n            // Recursively wrap all of a function's arguments that are\n            // functions themselves.\n\n            while(i--) args[i] = deep ? Raven.wrap(options, arguments[i]) : arguments[i];\n\n            try {\n                /*jshint -W040*/\n                return func.apply(this, args);\n            } catch(e) {\n                Raven.captureException(e, options);\n                throw e;\n            }\n        }\n\n        // copy over properties of the old function\n        for (var property in func) {\n            if (hasKey(func, property)) {\n                wrapped[property] = func[property];\n            }\n        }\n\n        // Signal that this function has been wrapped already\n        // for both debugging and to prevent it to being wrapped twice\n        wrapped.__raven__ = true;\n        wrapped.__inner__ = func;\n\n        return wrapped;\n    },\n\n    /*\n     * Uninstalls the global error handler.\n     *\n     * @return {Raven}\n     */\n    uninstall: function() {\n        TraceKit.report.uninstall();\n        isRavenInstalled = false;\n\n        return Raven;\n    },\n\n    /*\n     * Manually capture an exception and send it over to Sentry\n     *\n     * @param {error} ex An exception to be logged\n     * @param {object} options A specific set of options for this error [optional]\n     * @return {Raven}\n     */\n    captureException: function(ex, options) {\n        // If not an Error is passed through, recall as a message instead\n        if (!isError(ex)) return Raven.captureMessage(ex, options);\n\n        // Store the raw exception object for potential debugging and introspection\n        lastCapturedException = ex;\n\n        // TraceKit.report will re-raise any exception passed to it,\n        // which means you have to wrap it in try/catch. Instead, we\n        // can wrap it here and only re-raise if TraceKit.report\n        // raises an exception different from the one we asked to\n        // report on.\n        try {\n            TraceKit.report(ex, options);\n        } catch(ex1) {\n            if(ex !== ex1) {\n                throw ex1;\n            }\n        }\n\n        return Raven;\n    },\n\n    /*\n     * Manually send a message to Sentry\n     *\n     * @param {string} msg A plain message to be captured in Sentry\n     * @param {object} options A specific set of options for this message [optional]\n     * @return {Raven}\n     */\n    captureMessage: function(msg, options) {\n        // config() automagically converts ignoreErrors from a list to a RegExp so we need to test for an\n        // early call; we'll error on the side of logging anything called before configuration since it's\n        // probably something you should see:\n        if (!!globalOptions.ignoreErrors.test && globalOptions.ignoreErrors.test(msg)) {\n            return;\n        }\n\n        // Fire away!\n        send(\n            objectMerge({\n                message: msg + ''  // Make sure it's actually a string\n            }, options)\n        );\n\n        return Raven;\n    },\n\n    /*\n     * Set/clear a user to be sent along with the payload.\n     *\n     * @param {object} user An object representing user data [optional]\n     * @return {Raven}\n     */\n    setUserContext: function(user) {\n        globalUser = user;\n\n        return Raven;\n    },\n\n    /*\n     * Set extra attributes to be sent along with the payload.\n     *\n     * @param {object} extra An object representing extra data [optional]\n     * @return {Raven}\n     */\n    setExtraContext: function(extra) {\n        globalOptions.extra = extra || {};\n\n        return Raven;\n    },\n\n    /*\n     * Set tags to be sent along with the payload.\n     *\n     * @param {object} tags An object representing tags [optional]\n     * @return {Raven}\n     */\n    setTagsContext: function(tags) {\n        globalOptions.tags = tags || {};\n\n        return Raven;\n    },\n\n    /*\n     * Set release version of application\n     *\n     * @param {string} release Typically something like a git SHA to identify version\n     * @return {Raven}\n     */\n    setReleaseContext: function(release) {\n        globalOptions.release = release;\n\n        return Raven;\n    },\n\n    /*\n     * Set the dataCallback option\n     *\n     * @param {function} callback The callback to run which allows the\n     *                            data blob to be mutated before sending\n     * @return {Raven}\n     */\n    setDataCallback: function(callback) {\n        globalOptions.dataCallback = callback;\n\n        return Raven;\n    },\n\n    /*\n     * Set the shouldSendCallback option\n     *\n     * @param {function} callback The callback to run which allows\n     *                            introspecting the blob before sending\n     * @return {Raven}\n     */\n    setShouldSendCallback: function(callback) {\n        globalOptions.shouldSendCallback = callback;\n\n        return Raven;\n    },\n\n    /*\n     * Get the latest raw exception that was captured by Raven.\n     *\n     * @return {error}\n     */\n    lastException: function() {\n        return lastCapturedException;\n    },\n\n    /*\n     * Get the last event id\n     *\n     * @return {string}\n     */\n    lastEventId: function() {\n        return lastEventId;\n    },\n\n    /*\n     * Determine if Raven is setup and ready to go.\n     *\n     * @return {boolean}\n     */\n    isSetup: function() {\n        return isSetup();\n    }\n};\n\nRaven.setUser = Raven.setUserContext; // To be deprecated\n\nfunction triggerEvent(eventType, options) {\n    var event, key;\n\n    options = options || {};\n\n    eventType = 'raven' + eventType.substr(0,1).toUpperCase() + eventType.substr(1);\n\n    if (document.createEvent) {\n        event = document.createEvent('HTMLEvents');\n        event.initEvent(eventType, true, true);\n    } else {\n        event = document.createEventObject();\n        event.eventType = eventType;\n    }\n\n    for (key in options) if (hasKey(options, key)) {\n        event[key] = options[key];\n    }\n\n    if (document.createEvent) {\n        // IE9 if standards\n        document.dispatchEvent(event);\n    } else {\n        // IE8 regardless of Quirks or Standards\n        // IE9 if quirks\n        try {\n            document.fireEvent('on' + event.eventType.toLowerCase(), event);\n        } catch(e) {}\n    }\n}\n\nvar dsnKeys = 'source protocol user pass host port path'.split(' '),\n    dsnPattern = /^(?:(\\w+):)?\\/\\/(\\w+)(:\\w+)?@([\\w\\.-]+)(?::(\\d+))?(\\/.*)/;\n\nfunction RavenConfigError(message) {\n    this.name = 'RavenConfigError';\n    this.message = message;\n}\nRavenConfigError.prototype = new Error();\nRavenConfigError.prototype.constructor = RavenConfigError;\n\n/**** Private functions ****/\nfunction parseDSN(str) {\n    var m = dsnPattern.exec(str),\n        dsn = {},\n        i = 7;\n\n    try {\n        while (i--) dsn[dsnKeys[i]] = m[i] || '';\n    } catch(e) {\n        throw new RavenConfigError('Invalid DSN: ' + str);\n    }\n\n    if (dsn.pass)\n        throw new RavenConfigError('Do not specify your private key in the DSN!');\n\n    return dsn;\n}\n\nfunction isUndefined(what) {\n    return what === void 0;\n}\n\nfunction isFunction(what) {\n    return typeof what === 'function';\n}\n\nfunction isString(what) {\n    return objectPrototype.toString.call(what) === '[object String]';\n}\n\nfunction isObject(what) {\n    return typeof what === 'object' && what !== null;\n}\n\nfunction isEmptyObject(what) {\n    for (var k in what) return false;\n    return true;\n}\n\n// Sorta yanked from https://github.com/joyent/node/blob/aa3b4b4/lib/util.js#L560\n// with some tiny modifications\nfunction isError(what) {\n    return isObject(what) &&\n        objectPrototype.toString.call(what) === '[object Error]' ||\n        what instanceof Error;\n}\n\n/**\n * hasKey, a better form of hasOwnProperty\n * Example: hasKey(MainHostObject, property) === true/false\n *\n * @param {Object} host object to check property\n * @param {string} key to check\n */\nfunction hasKey(object, key) {\n    return objectPrototype.hasOwnProperty.call(object, key);\n}\n\nfunction each(obj, callback) {\n    var i, j;\n\n    if (isUndefined(obj.length)) {\n        for (i in obj) {\n            if (hasKey(obj, i)) {\n                callback.call(null, i, obj[i]);\n            }\n        }\n    } else {\n        j = obj.length;\n        if (j) {\n            for (i = 0; i < j; i++) {\n                callback.call(null, i, obj[i]);\n            }\n        }\n    }\n}\n\n\nfunction setAuthQueryString() {\n    authQueryString =\n        '?sentry_version=4' +\n        '&sentry_client=raven-js/' + Raven.VERSION +\n        '&sentry_key=' + globalKey;\n}\n\n\nfunction handleStackInfo(stackInfo, options) {\n    var frames = [];\n\n    if (stackInfo.stack && stackInfo.stack.length) {\n        each(stackInfo.stack, function(i, stack) {\n            var frame = normalizeFrame(stack);\n            if (frame) {\n                frames.push(frame);\n            }\n        });\n    }\n\n    triggerEvent('handle', {\n        stackInfo: stackInfo,\n        options: options\n    });\n\n    processException(\n        stackInfo.name,\n        stackInfo.message,\n        stackInfo.url,\n        stackInfo.lineno,\n        frames,\n        options\n    );\n}\n\nfunction normalizeFrame(frame) {\n    if (!frame.url) return;\n\n    // normalize the frames data\n    var normalized = {\n        filename:   frame.url,\n        lineno:     frame.line,\n        colno:      frame.column,\n        'function': frame.func || '?'\n    }, context = extractContextFromFrame(frame), i;\n\n    if (context) {\n        var keys = ['pre_context', 'context_line', 'post_context'];\n        i = 3;\n        while (i--) normalized[keys[i]] = context[i];\n    }\n\n    normalized.in_app = !( // determine if an exception came from outside of our app\n        // first we check the global includePaths list.\n        !globalOptions.includePaths.test(normalized.filename) ||\n        // Now we check for fun, if the function name is Raven or TraceKit\n        /(Raven|TraceKit)\\./.test(normalized['function']) ||\n        // finally, we do a last ditch effort and check for raven.min.js\n        /raven\\.(min\\.)?js$/.test(normalized.filename)\n    );\n\n    return normalized;\n}\n\nfunction extractContextFromFrame(frame) {\n    // immediately check if we should even attempt to parse a context\n    if (!frame.context || !globalOptions.fetchContext) return;\n\n    var context = frame.context,\n        pivot = ~~(context.length / 2),\n        i = context.length, isMinified = false;\n\n    while (i--) {\n        // We're making a guess to see if the source is minified or not.\n        // To do that, we make the assumption if *any* of the lines passed\n        // in are greater than 300 characters long, we bail.\n        // Sentry will see that there isn't a context\n        if (context[i].length > 300) {\n            isMinified = true;\n            break;\n        }\n    }\n\n    if (isMinified) {\n        // The source is minified and we don't know which column. Fuck it.\n        if (isUndefined(frame.column)) return;\n\n        // If the source is minified and has a frame column\n        // we take a chunk of the offending line to hopefully shed some light\n        return [\n            [],  // no pre_context\n            context[pivot].substr(frame.column, 50), // grab 50 characters, starting at the offending column\n            []   // no post_context\n        ];\n    }\n\n    return [\n        context.slice(0, pivot),    // pre_context\n        context[pivot],             // context_line\n        context.slice(pivot + 1)    // post_context\n    ];\n}\n\nfunction processException(type, message, fileurl, lineno, frames, options) {\n    var stacktrace, label, i;\n\n    // In some instances message is not actually a string, no idea why,\n    // so we want to always coerce it to one.\n    message += '';\n\n    // Sometimes an exception is getting logged in Sentry as\n    // <no message value>\n    // This can only mean that the message was falsey since this value\n    // is hardcoded into Sentry itself.\n    // At this point, if the message is falsey, we bail since it's useless\n    if (type === 'Error' && !message) return;\n\n    if (globalOptions.ignoreErrors.test(message)) return;\n\n    if (frames && frames.length) {\n        fileurl = frames[0].filename || fileurl;\n        // Sentry expects frames oldest to newest\n        // and JS sends them as newest to oldest\n        frames.reverse();\n        stacktrace = {frames: frames};\n    } else if (fileurl) {\n        stacktrace = {\n            frames: [{\n                filename: fileurl,\n                lineno: lineno,\n                in_app: true\n            }]\n        };\n    }\n\n    // Truncate the message to a max of characters\n    message = truncate(message, globalOptions.maxMessageLength);\n\n    if (globalOptions.ignoreUrls && globalOptions.ignoreUrls.test(fileurl)) return;\n    if (globalOptions.whitelistUrls && !globalOptions.whitelistUrls.test(fileurl)) return;\n\n    label = lineno ? message + ' at ' + lineno : message;\n\n    // Fire away!\n    send(\n        objectMerge({\n            // sentry.interfaces.Exception\n            exception: {\n                type: type,\n                value: message\n            },\n            // sentry.interfaces.Stacktrace\n            stacktrace: stacktrace,\n            culprit: fileurl,\n            message: label\n        }, options)\n    );\n}\n\nfunction objectMerge(obj1, obj2) {\n    if (!obj2) {\n        return obj1;\n    }\n    each(obj2, function(key, value){\n        obj1[key] = value;\n    });\n    return obj1;\n}\n\nfunction truncate(str, max) {\n    return str.length <= max ? str : str.substr(0, max) + '\\u2026';\n}\n\nfunction now() {\n    return +new Date();\n}\n\nfunction getHttpData() {\n    var http = {\n        url: document.location.href,\n        headers: {\n            'User-Agent': navigator.userAgent\n        }\n    };\n\n    if (document.referrer) {\n        http.headers.Referer = document.referrer;\n    }\n\n    return http;\n}\n\nfunction send(data) {\n    if (!isSetup()) return;\n\n    data = objectMerge({\n        project: globalProject,\n        logger: globalOptions.logger,\n        platform: 'javascript',\n        // sentry.interfaces.Http\n        request: getHttpData()\n    }, data);\n\n    // Merge in the tags and extra separately since objectMerge doesn't handle a deep merge\n    data.tags = objectMerge(objectMerge({}, globalOptions.tags), data.tags);\n    data.extra = objectMerge(objectMerge({}, globalOptions.extra), data.extra);\n\n    // Send along our own collected metadata with extra\n    data.extra = objectMerge({\n        'session:duration': now() - startTime\n    }, data.extra);\n\n    // If there are no tags/extra, strip the key from the payload alltogther.\n    if (isEmptyObject(data.tags)) delete data.tags;\n\n    if (globalUser) {\n        // sentry.interfaces.User\n        data.user = globalUser;\n    }\n\n    // Include the release iff it's defined in globalOptions\n    if (globalOptions.release) data.release = globalOptions.release;\n\n    if (isFunction(globalOptions.dataCallback)) {\n        data = globalOptions.dataCallback(data) || data;\n    }\n\n    // Why??????????\n    if (!data || isEmptyObject(data)) {\n        return;\n    }\n\n    // Check if the request should be filtered or not\n    if (isFunction(globalOptions.shouldSendCallback) && !globalOptions.shouldSendCallback(data)) {\n        return;\n    }\n\n    // Send along an event_id if not explicitly passed.\n    // This event_id can be used to reference the error within Sentry itself.\n    // Set lastEventId after we know the error should actually be sent\n    lastEventId = data.event_id || (data.event_id = uuid4());\n\n    makeRequest(data);\n}\n\n\nfunction makeRequest(data) {\n    var img = newImage(),\n        src = globalServer + authQueryString + '&sentry_data=' + encodeURIComponent(JSON.stringify(data));\n\n    img.crossOrigin = 'anonymous';\n    img.onload = function success() {\n        triggerEvent('success', {\n            data: data,\n            src: src\n        });\n    };\n    img.onerror = img.onabort = function failure() {\n        triggerEvent('failure', {\n            data: data,\n            src: src\n        });\n    };\n    img.src = src;\n}\n\n// Note: this is shitty, but I can't figure out how to get\n// sinon to stub document.createElement without breaking everything\n// so this wrapper is just so I can stub it for tests.\nfunction newImage() {\n    return document.createElement('img');\n}\n\nfunction isSetup() {\n    if (!hasJSON) return false;  // needs JSON support\n    if (!globalServer) {\n        logDebug('error', 'Error: Raven has not been configured.');\n        return false;\n    }\n    return true;\n}\n\nfunction joinRegExp(patterns) {\n    // Combine an array of regular expressions and strings into one large regexp\n    // Be mad.\n    var sources = [],\n        i = 0, len = patterns.length,\n        pattern;\n\n    for (; i < len; i++) {\n        pattern = patterns[i];\n        if (isString(pattern)) {\n            // If it's a string, we need to escape it\n            // Taken from: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Guide/Regular_Expressions\n            sources.push(pattern.replace(/([.*+?^=!:${}()|\\[\\]\\/\\\\])/g, \"\\\\$1\"));\n        } else if (pattern && pattern.source) {\n            // If it's a regexp already, we want to extract the source\n            sources.push(pattern.source);\n        }\n        // Intentionally skip other cases\n    }\n    return new RegExp(sources.join('|'), 'i');\n}\n\n// http://stackoverflow.com/questions/105034/how-to-create-a-guid-uuid-in-javascript/2117523#2117523\nfunction uuid4() {\n    return 'xxxxxxxxxxxx4xxxyxxxxxxxxxxxxxxx'.replace(/[xy]/g, function(c) {\n        var r = Math.random()*16|0,\n            v = c == 'x' ? r : (r&0x3|0x8);\n        return v.toString(16);\n    });\n}\n\nfunction logDebug(level, message) {\n    if (window.console && console[level] && Raven.debug) {\n        console[level](message);\n    }\n}\n\nfunction afterLoad() {\n    // Attempt to initialize Raven on load\n    var RavenConfig = window.RavenConfig;\n    if (RavenConfig) {\n        Raven.config(RavenConfig.dsn, RavenConfig.config).install();\n    }\n}\nafterLoad();\n\n// Expose Raven to the world\nif (typeof define === 'function' && define.amd) {\n    // AMD\n    window.Raven = Raven;\n    define('raven', [], function() {\n      return Raven;\n    });\n} else if (typeof module === 'object') {\n    // browserify\n    module.exports = Raven;\n} else if (typeof exports === 'object') {\n    // CommonJS\n    exports = Raven;\n} else {\n    // Everything else\n    window.Raven = Raven;\n}\n\n})(typeof window !== 'undefined' ? window : this);\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./assets/js-lib/raven.js\n// module id = 370\n// module chunks = 39 40 41","/**\n * jQuery plugin\n *\n * Patches event handler callbacks and ajax callbacks.\n */\nevite.when('jquery').then(function() {\n'use strict';\n\n// quit if jQuery isn't on the page\nif (!$) {\n    console.warn && console.warn('No jQuery for raven.jquery!');\n    return;\n}\n\nvar _oldEventAdd = $.event.add;\n$.event.add = function ravenEventAdd(elem, types, handler, data, selector) {\n    var _handler;\n\n    if (handler && handler.handler) {\n        _handler = handler.handler;\n        handler.handler = Raven.wrap(handler.handler);\n    } else {\n        _handler = handler;\n        handler = Raven.wrap(handler);\n    }\n\n    // If the handler we are attaching doesn’t have the same guid as\n    // the original, it will never be removed when someone tries to\n    // unbind the original function later. Technically as a result of\n    // this our guids are no longer globally unique, but whatever, that\n    // never hurt anybody RIGHT?!\n    if (_handler.guid) {\n        handler.guid = _handler.guid;\n    } else {\n        handler.guid = _handler.guid = $.guid++;\n    }\n\n    return _oldEventAdd.call(this, elem, types, handler, data, selector);\n};\n\nvar _oldReady = $.fn.ready;\n$.fn.ready = function ravenjQueryReadyWrapper(fn) {\n    return _oldReady.call(this, Raven.wrap(fn));\n};\n\nvar _oldAjax = $.ajax;\n$.ajax = function ravenAjaxWrapper(url, options) {\n    var keys = ['complete', 'error', 'success'], key;\n\n    // Taken from https://github.com/jquery/jquery/blob/eee2eaf1d7a189d99106423a4206c224ebd5b848/src/ajax.js#L311-L318\n    // If url is an object, simulate pre-1.5 signature\n    if (typeof url === 'object') {\n        options = url;\n        url = undefined;\n    }\n\n    // Force options to be an object\n    options = options || {};\n\n    /*jshint -W084*/\n    while(key = keys.pop()) {\n        if ($.isFunction(options[key])) {\n            options[key] = Raven.wrap(options[key]);\n        }\n    }\n    /*jshint +W084*/\n\n    try {\n        return _oldAjax.call(this, url, options);\n    } catch (e) {\n        Raven.captureException(e);\n        throw e;\n    }\n};\n\n});\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./assets/js-lib/raven.jquery.js\n// module id = 371\n// module chunks = 39 40 41","var g;\r\n\r\n// This works in non-strict mode\r\ng = (function() {\r\n\treturn this;\r\n})();\r\n\r\ntry {\r\n\t// This works if eval is allowed (see CSP)\r\n\tg = g || Function(\"return this\")() || (1,eval)(\"this\");\r\n} catch(e) {\r\n\t// This works if the window reference is available\r\n\tif(typeof window === \"object\")\r\n\t\tg = window;\r\n}\r\n\r\n// g can still be undefined, but nothing to do about it...\r\n// We return undefined, instead of nothing here, so it's\r\n// easier to handle this case. if(!global) { ...}\r\n\r\nmodule.exports = g;\r\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// (webpack)/buildin/global.js\n// module id = 5\n// module chunks = 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42"],"sourceRoot":""}