with attributes\n this.provider = this.media.getAttribute(this.config.attributes.embed.provider);\n\n // Remove attribute\n this.media.removeAttribute(this.config.attributes.embed.provider);\n }\n\n // Unsupported or missing provider\n if (is.empty(this.provider) || !Object.keys(providers).includes(this.provider)) {\n this.debug.error('Setup failed: Invalid provider');\n return;\n }\n\n // Audio will come later for external providers\n this.type = types.video;\n\n break;\n\n case 'video':\n case 'audio':\n this.type = type;\n this.provider = providers.html5;\n\n // Get config from attributes\n if (this.media.hasAttribute('crossorigin')) {\n this.config.crossorigin = true;\n }\n if (this.media.hasAttribute('autoplay')) {\n this.config.autoplay = true;\n }\n if (this.media.hasAttribute('playsinline') || this.media.hasAttribute('webkit-playsinline')) {\n this.config.playsinline = true;\n }\n if (this.media.hasAttribute('muted')) {\n this.config.muted = true;\n }\n if (this.media.hasAttribute('loop')) {\n this.config.loop.active = true;\n }\n\n break;\n\n default:\n this.debug.error('Setup failed: unsupported type');\n return;\n }\n\n // Check for support again but with type\n this.supported = support.check(this.type, this.provider, this.config.playsinline);\n\n // If no support for even API, bail\n if (!this.supported.api) {\n this.debug.error('Setup failed: no support');\n return;\n }\n\n this.eventListeners = [];\n\n // Create listeners\n this.listeners = new Listeners(this);\n\n // Setup local storage for user settings\n this.storage = new Storage(this);\n\n // Store reference\n this.media.plyr = this;\n\n // Wrap media\n if (!is.element(this.elements.container)) {\n this.elements.container = createElement('div', { tabindex: 0 });\n wrap(this.media, this.elements.container);\n }\n\n // Add style hook\n ui.addStyleHook.call(this);\n\n // Setup media\n media.setup.call(this);\n\n // Listen for events if debugging\n if (this.config.debug) {\n on.call(this, this.elements.container, this.config.events.join(' '), event => {\n this.debug.log(`event: ${event.type}`);\n });\n }\n\n // Setup interface\n // If embed but not fully supported, build interface now to avoid flash of controls\n if (this.isHTML5 || (this.isEmbed && !this.supported.ui)) {\n ui.build.call(this);\n }\n\n // Container listeners\n this.listeners.container();\n\n // Global listeners\n this.listeners.global();\n\n // Setup fullscreen\n this.fullscreen = new Fullscreen(this);\n\n // Setup ads if provided\n if (this.config.ads.enabled) {\n this.ads = new Ads(this);\n }\n\n // Autoplay if required\n if (this.config.autoplay) {\n this.play();\n }\n\n // Seek time will be recorded (in listeners.js) so we can prevent hiding controls for a few seconds after seek\n this.lastSeekTime = 0;\n\n // Setup preview thumbnails if enabled\n if (this.config.previewThumbnails.enabled) {\n this.previewThumbnails = new PreviewThumbnails(this);\n }\n }\n\n // ---------------------------------------\n // API\n // ---------------------------------------\n\n /**\n * Types and provider helpers\n */\n get isHTML5() {\n return Boolean(this.provider === providers.html5);\n }\n\n get isEmbed() {\n return Boolean(this.isYouTube || this.isVimeo);\n }\n\n get isYouTube() {\n return Boolean(this.provider === providers.youtube);\n }\n\n get isVimeo() {\n return Boolean(this.provider === providers.vimeo);\n }\n\n get isVideo() {\n return Boolean(this.type === types.video);\n }\n\n get isAudio() {\n return Boolean(this.type === types.audio);\n }\n\n /**\n * Play the media, or play the advertisement (if they are not blocked)\n */\n play() {\n if (!is.function(this.media.play)) {\n return null;\n }\n\n // Intecept play with ads\n if (this.ads && this.ads.enabled) {\n this.ads.managerPromise.then(() => this.ads.play()).catch(() => this.media.play());\n }\n\n // Return the promise (for HTML5)\n return this.media.play();\n }\n\n /**\n * Pause the media\n */\n pause() {\n if (!this.playing || !is.function(this.media.pause)) {\n return;\n }\n\n this.media.pause();\n }\n\n /**\n * Get playing state\n */\n get playing() {\n return Boolean(this.ready && !this.paused && !this.ended);\n }\n\n /**\n * Get paused state\n */\n get paused() {\n return Boolean(this.media.paused);\n }\n\n /**\n * Get stopped state\n */\n get stopped() {\n return Boolean(this.paused && this.currentTime === 0);\n }\n\n /**\n * Get ended state\n */\n get ended() {\n return Boolean(this.media.ended);\n }\n\n /**\n * Toggle playback based on current status\n * @param {Boolean} input\n */\n togglePlay(input) {\n // Toggle based on current state if nothing passed\n const toggle = is.boolean(input) ? input : !this.playing;\n\n if (toggle) {\n this.play();\n } else {\n this.pause();\n }\n }\n\n /**\n * Stop playback\n */\n stop() {\n if (this.isHTML5) {\n this.pause();\n this.restart();\n } else if (is.function(this.media.stop)) {\n this.media.stop();\n }\n }\n\n /**\n * Restart playback\n */\n restart() {\n this.currentTime = 0;\n }\n\n /**\n * Rewind\n * @param {Number} seekTime - how far to rewind in seconds. Defaults to the config.seekTime\n */\n rewind(seekTime) {\n this.currentTime = this.currentTime - (is.number(seekTime) ? seekTime : this.config.seekTime);\n }\n\n /**\n * Fast forward\n * @param {Number} seekTime - how far to fast forward in seconds. Defaults to the config.seekTime\n */\n forward(seekTime) {\n this.currentTime = this.currentTime + (is.number(seekTime) ? seekTime : this.config.seekTime);\n }\n\n /**\n * Seek to a time\n * @param {Number} input - where to seek to in seconds. Defaults to 0 (the start)\n */\n set currentTime(input) {\n // Bail if media duration isn't available yet\n if (!this.duration) {\n return;\n }\n\n // Validate input\n const inputIsValid = is.number(input) && input > 0;\n\n // Set\n this.media.currentTime = inputIsValid ? Math.min(input, this.duration) : 0;\n\n // Logging\n this.debug.log(`Seeking to ${this.currentTime} seconds`);\n }\n\n /**\n * Get current time\n */\n get currentTime() {\n return Number(this.media.currentTime);\n }\n\n /**\n * Get buffered\n */\n get buffered() {\n const { buffered } = this.media;\n\n // YouTube / Vimeo return a float between 0-1\n if (is.number(buffered)) {\n return buffered;\n }\n\n // HTML5\n // TODO: Handle buffered chunks of the media\n // (i.e. seek to another section buffers only that section)\n if (buffered && buffered.length && this.duration > 0) {\n return buffered.end(0) / this.duration;\n }\n\n return 0;\n }\n\n /**\n * Get seeking status\n */\n get seeking() {\n return Boolean(this.media.seeking);\n }\n\n /**\n * Get the duration of the current media\n */\n get duration() {\n // Faux duration set via config\n const fauxDuration = parseFloat(this.config.duration);\n\n // Media duration can be NaN or Infinity before the media has loaded\n const realDuration = (this.media || {}).duration;\n const duration = !is.number(realDuration) || realDuration === Infinity ? 0 : realDuration;\n\n // If config duration is funky, use regular duration\n return fauxDuration || duration;\n }\n\n /**\n * Set the player volume\n * @param {Number} value - must be between 0 and 1. Defaults to the value from local storage and config.volume if not set in storage\n */\n set volume(value) {\n let volume = value;\n const max = 1;\n const min = 0;\n\n if (is.string(volume)) {\n volume = Number(volume);\n }\n\n // Load volume from storage if no value specified\n if (!is.number(volume)) {\n volume = this.storage.get('volume');\n }\n\n // Use config if all else fails\n if (!is.number(volume)) {\n ({ volume } = this.config);\n }\n\n // Maximum is volumeMax\n if (volume > max) {\n volume = max;\n }\n // Minimum is volumeMin\n if (volume < min) {\n volume = min;\n }\n\n // Update config\n this.config.volume = volume;\n\n // Set the player volume\n this.media.volume = volume;\n\n // If muted, and we're increasing volume manually, reset muted state\n if (!is.empty(value) && this.muted && volume > 0) {\n this.muted = false;\n }\n }\n\n /**\n * Get the current player volume\n */\n get volume() {\n return Number(this.media.volume);\n }\n\n /**\n * Increase volume\n * @param {Boolean} step - How much to decrease by (between 0 and 1)\n */\n increaseVolume(step) {\n const volume = this.media.muted ? 0 : this.volume;\n this.volume = volume + (is.number(step) ? step : 0);\n }\n\n /**\n * Decrease volume\n * @param {Boolean} step - How much to decrease by (between 0 and 1)\n */\n decreaseVolume(step) {\n this.increaseVolume(-step);\n }\n\n /**\n * Set muted state\n * @param {Boolean} mute\n */\n set muted(mute) {\n let toggle = mute;\n\n // Load muted state from storage\n if (!is.boolean(toggle)) {\n toggle = this.storage.get('muted');\n }\n\n // Use config if all else fails\n if (!is.boolean(toggle)) {\n toggle = this.config.muted;\n }\n\n // Update config\n this.config.muted = toggle;\n\n // Set mute on the player\n this.media.muted = toggle;\n }\n\n /**\n * Get current muted state\n */\n get muted() {\n return Boolean(this.media.muted);\n }\n\n /**\n * Check if the media has audio\n */\n get hasAudio() {\n // Assume yes for all non HTML5 (as we can't tell...)\n if (!this.isHTML5) {\n return true;\n }\n\n if (this.isAudio) {\n return true;\n }\n\n // Get audio tracks\n return (\n Boolean(this.media.mozHasAudio) ||\n Boolean(this.media.webkitAudioDecodedByteCount) ||\n Boolean(this.media.audioTracks && this.media.audioTracks.length)\n );\n }\n\n /**\n * Set playback speed\n * @param {Number} speed - the speed of playback (0.5-2.0)\n */\n set speed(input) {\n let speed = null;\n\n if (is.number(input)) {\n speed = input;\n }\n\n if (!is.number(speed)) {\n speed = this.storage.get('speed');\n }\n\n if (!is.number(speed)) {\n speed = this.config.speed.selected;\n }\n\n // Set min/max\n if (speed < 0.1) {\n speed = 0.1;\n }\n if (speed > 2.0) {\n speed = 2.0;\n }\n\n if (!this.config.speed.options.includes(speed)) {\n this.debug.warn(`Unsupported speed (${speed})`);\n return;\n }\n\n // Update config\n this.config.speed.selected = speed;\n\n // Set media speed\n this.media.playbackRate = speed;\n }\n\n /**\n * Get current playback speed\n */\n get speed() {\n return Number(this.media.playbackRate);\n }\n\n /**\n * Set playback quality\n * Currently HTML5 & YouTube only\n * @param {Number} input - Quality level\n */\n set quality(input) {\n const config = this.config.quality;\n const options = this.options.quality;\n\n if (!options.length) {\n return;\n }\n\n let quality = [\n !is.empty(input) && Number(input),\n this.storage.get('quality'),\n config.selected,\n config.default,\n ].find(is.number);\n\n let updateStorage = true;\n\n if (!options.includes(quality)) {\n const value = closest(options, quality);\n this.debug.warn(`Unsupported quality option: ${quality}, using ${value} instead`);\n quality = value;\n\n // Don't update storage if quality is not supported\n updateStorage = false;\n }\n\n // Update config\n config.selected = quality;\n\n // Set quality\n this.media.quality = quality;\n\n // Save to storage\n if (updateStorage) {\n this.storage.set({ quality });\n }\n }\n\n /**\n * Get current quality level\n */\n get quality() {\n return this.media.quality;\n }\n\n /**\n * Toggle loop\n * TODO: Finish fancy new logic. Set the indicator on load as user may pass loop as config\n * @param {Boolean} input - Whether to loop or not\n */\n set loop(input) {\n const toggle = is.boolean(input) ? input : this.config.loop.active;\n this.config.loop.active = toggle;\n this.media.loop = toggle;\n\n // Set default to be a true toggle\n /* const type = ['start', 'end', 'all', 'none', 'toggle'].includes(input) ? input : 'toggle';\n\n switch (type) {\n case 'start':\n if (this.config.loop.end && this.config.loop.end <= this.currentTime) {\n this.config.loop.end = null;\n }\n this.config.loop.start = this.currentTime;\n // this.config.loop.indicator.start = this.elements.display.played.value;\n break;\n\n case 'end':\n if (this.config.loop.start >= this.currentTime) {\n return this;\n }\n this.config.loop.end = this.currentTime;\n // this.config.loop.indicator.end = this.elements.display.played.value;\n break;\n\n case 'all':\n this.config.loop.start = 0;\n this.config.loop.end = this.duration - 2;\n this.config.loop.indicator.start = 0;\n this.config.loop.indicator.end = 100;\n break;\n\n case 'toggle':\n if (this.config.loop.active) {\n this.config.loop.start = 0;\n this.config.loop.end = null;\n } else {\n this.config.loop.start = 0;\n this.config.loop.end = this.duration - 2;\n }\n break;\n\n default:\n this.config.loop.start = 0;\n this.config.loop.end = null;\n break;\n } */\n }\n\n /**\n * Get current loop state\n */\n get loop() {\n return Boolean(this.media.loop);\n }\n\n /**\n * Set new media source\n * @param {Object} input - The new source object (see docs)\n */\n set source(input) {\n source.change.call(this, input);\n }\n\n /**\n * Get current source\n */\n get source() {\n return this.media.currentSrc;\n }\n\n /**\n * Get a download URL (either source or custom)\n */\n get download() {\n const { download } = this.config.urls;\n\n return is.url(download) ? download : this.source;\n }\n\n /**\n * Set the poster image for a video\n * @param {String} input - the URL for the new poster image\n */\n set poster(input) {\n if (!this.isVideo) {\n this.debug.warn('Poster can only be set for video');\n return;\n }\n\n ui.setPoster.call(this, input, false).catch(() => {});\n }\n\n /**\n * Get the current poster image\n */\n get poster() {\n if (!this.isVideo) {\n return null;\n }\n\n return this.media.getAttribute('poster');\n }\n\n /**\n * Set the autoplay state\n * @param {Boolean} input - Whether to autoplay or not\n */\n set autoplay(input) {\n const toggle = is.boolean(input) ? input : this.config.autoplay;\n this.config.autoplay = toggle;\n }\n\n /**\n * Get the current autoplay state\n */\n get autoplay() {\n return Boolean(this.config.autoplay);\n }\n\n /**\n * Toggle captions\n * @param {Boolean} input - Whether to enable captions\n */\n toggleCaptions(input) {\n captions.toggle.call(this, input, false);\n }\n\n /**\n * Set the caption track by index\n * @param {Number} - Caption index\n */\n set currentTrack(input) {\n captions.set.call(this, input, false);\n }\n\n /**\n * Get the current caption track index (-1 if disabled)\n */\n get currentTrack() {\n const { toggled, currentTrack } = this.captions;\n return toggled ? currentTrack : -1;\n }\n\n /**\n * Set the wanted language for captions\n * Since tracks can be added later it won't update the actual caption track until there is a matching track\n * @param {String} - Two character ISO language code (e.g. EN, FR, PT, etc)\n */\n set language(input) {\n captions.setLanguage.call(this, input, false);\n }\n\n /**\n * Get the current track's language\n */\n get language() {\n return (captions.getCurrentTrack.call(this) || {}).language;\n }\n\n /**\n * Toggle picture-in-picture playback on WebKit/MacOS\n * TODO: update player with state, support, enabled\n * TODO: detect outside changes\n */\n set pip(input) {\n // Bail if no support\n if (!support.pip) {\n return;\n }\n\n // Toggle based on current state if not passed\n const toggle = is.boolean(input) ? input : !this.pip;\n\n // Toggle based on current state\n // Safari\n if (is.function(this.media.webkitSetPresentationMode)) {\n this.media.webkitSetPresentationMode(toggle ? pip.active : pip.inactive);\n }\n\n // Chrome\n if (is.function(this.media.requestPictureInPicture)) {\n if (!this.pip && toggle) {\n this.media.requestPictureInPicture();\n } else if (this.pip && !toggle) {\n document.exitPictureInPicture();\n }\n }\n }\n\n /**\n * Get the current picture-in-picture state\n */\n get pip() {\n if (!support.pip) {\n return null;\n }\n\n // Safari\n if (!is.empty(this.media.webkitPresentationMode)) {\n return this.media.webkitPresentationMode === pip.active;\n }\n\n // Chrome\n return this.media === document.pictureInPictureElement;\n }\n\n /**\n * Trigger the airplay dialog\n * TODO: update player with state, support, enabled\n */\n airplay() {\n // Show dialog if supported\n if (support.airplay) {\n this.media.webkitShowPlaybackTargetPicker();\n }\n }\n\n /**\n * Toggle the player controls\n * @param {Boolean} [toggle] - Whether to show the controls\n */\n toggleControls(toggle) {\n // Don't toggle if missing UI support or if it's audio\n if (this.supported.ui && !this.isAudio) {\n // Get state before change\n const isHidden = hasClass(this.elements.container, this.config.classNames.hideControls);\n\n // Negate the argument if not undefined since adding the class to hides the controls\n const force = typeof toggle === 'undefined' ? undefined : !toggle;\n\n // Apply and get updated state\n const hiding = toggleClass(this.elements.container, this.config.classNames.hideControls, force);\n\n // Close menu\n if (hiding && this.config.controls.includes('settings') && !is.empty(this.config.settings)) {\n controls.toggleMenu.call(this, false);\n }\n\n // Trigger event on change\n if (hiding !== isHidden) {\n const eventName = hiding ? 'controlshidden' : 'controlsshown';\n triggerEvent.call(this, this.media, eventName);\n }\n\n return !hiding;\n }\n\n return false;\n }\n\n /**\n * Add event listeners\n * @param {String} event - Event type\n * @param {Function} callback - Callback for when event occurs\n */\n on(event, callback) {\n on.call(this, this.elements.container, event, callback);\n }\n\n /**\n * Add event listeners once\n * @param {String} event - Event type\n * @param {Function} callback - Callback for when event occurs\n */\n once(event, callback) {\n once.call(this, this.elements.container, event, callback);\n }\n\n /**\n * Remove event listeners\n * @param {String} event - Event type\n * @param {Function} callback - Callback for when event occurs\n */\n off(event, callback) {\n off(this.elements.container, event, callback);\n }\n\n /**\n * Destroy an instance\n * Event listeners are removed when elements are removed\n * http://stackoverflow.com/questions/12528049/if-a-dom-element-is-removed-are-its-listeners-also-removed-from-memory\n * @param {Function} callback - Callback for when destroy is complete\n * @param {Boolean} soft - Whether it's a soft destroy (for source changes etc)\n */\n destroy(callback, soft = false) {\n if (!this.ready) {\n return;\n }\n\n const done = () => {\n // Reset overflow (incase destroyed while in fullscreen)\n document.body.style.overflow = '';\n\n // GC for embed\n this.embed = null;\n\n // If it's a soft destroy, make minimal changes\n if (soft) {\n if (Object.keys(this.elements).length) {\n // Remove elements\n removeElement(this.elements.buttons.play);\n removeElement(this.elements.captions);\n removeElement(this.elements.controls);\n removeElement(this.elements.wrapper);\n\n // Clear for GC\n this.elements.buttons.play = null;\n this.elements.captions = null;\n this.elements.controls = null;\n this.elements.wrapper = null;\n }\n\n // Callback\n if (is.function(callback)) {\n callback();\n }\n } else {\n // Unbind listeners\n unbindListeners.call(this);\n\n // Replace the container with the original element provided\n replaceElement(this.elements.original, this.elements.container);\n\n // Event\n triggerEvent.call(this, this.elements.original, 'destroyed', true);\n\n // Callback\n if (is.function(callback)) {\n callback.call(this.elements.original);\n }\n\n // Reset state\n this.ready = false;\n\n // Clear for garbage collection\n setTimeout(() => {\n this.elements = null;\n this.media = null;\n }, 200);\n }\n };\n\n // Stop playback\n this.stop();\n\n // Provider specific stuff\n if (this.isHTML5) {\n // Clear timeout\n clearTimeout(this.timers.loading);\n\n // Restore native video controls\n ui.toggleNativeControls.call(this, true);\n\n // Clean up\n done();\n } else if (this.isYouTube) {\n // Clear timers\n clearInterval(this.timers.buffering);\n clearInterval(this.timers.playing);\n\n // Destroy YouTube API\n if (this.embed !== null && is.function(this.embed.destroy)) {\n this.embed.destroy();\n }\n\n // Clean up\n done();\n } else if (this.isVimeo) {\n // Destroy Vimeo API\n // then clean up (wait, to prevent postmessage errors)\n if (this.embed !== null) {\n this.embed.unload().then(done);\n }\n\n // Vimeo does not always return\n setTimeout(done, 200);\n }\n }\n\n /**\n * Check for support for a mime type (HTML5 only)\n * @param {String} type - Mime type\n */\n supports(type) {\n return support.mime.call(this, type);\n }\n\n /**\n * Check for support\n * @param {String} type - Player type (audio/video)\n * @param {String} provider - Provider (html5/youtube/vimeo)\n * @param {Boolean} inline - Where player has `playsinline` sttribute\n */\n static supported(type, provider, inline) {\n return support.check(type, provider, inline);\n }\n\n /**\n * Load an SVG sprite into the page\n * @param {String} url - URL for the SVG sprite\n * @param {String} [id] - Unique ID\n */\n static loadSprite(url, id) {\n return loadSprite(url, id);\n }\n\n /**\n * Setup multiple instances\n * @param {*} selector\n * @param {Object} options\n */\n static setup(selector, options = {}) {\n let targets = null;\n\n if (is.string(selector)) {\n targets = Array.from(document.querySelectorAll(selector));\n } else if (is.nodeList(selector)) {\n targets = Array.from(selector);\n } else if (is.array(selector)) {\n targets = selector.filter(is.element);\n }\n\n if (is.empty(targets)) {\n return null;\n }\n\n return targets.map(t => new Plyr(t, options));\n }\n}\n\nPlyr.defaults = cloneDeep(defaults);\n\nexport default Plyr;\n"]}
\ No newline at end of file
+{"version":3,"sources":["demo.js","node_modules/raven-js/vendor/json-stringify-safe/stringify.js","node_modules/raven-js/src/utils.js","node_modules/raven-js/vendor/TraceKit/tracekit.js","node_modules/raven-js/vendor/md5/md5.js","node_modules/raven-js/src/configError.js","node_modules/raven-js/src/console.js","node_modules/raven-js/src/raven.js","node_modules/raven-js/src/singleton.js","node_modules/rangetouch/src/js/config.js","node_modules/rangetouch/src/js/utils/is.js","node_modules/rangetouch/src/js/utils/numbers.js","node_modules/rangetouch/src/js/rangetouch.js","node_modules/rangetouch/src/js/utils/events.js","node_modules/rangetouch/src/js/utils/css.js","src/js/utils/is.js","src/js/utils/events.js","src/js/utils/elements.js","src/js/utils/animation.js","src/js/utils/browser.js","src/js/support.js","src/js/utils/style.js","src/js/html5.js","src/js/utils/arrays.js","src/js/utils/objects.js","src/js/utils/strings.js","src/js/utils/i18n.js","src/js/storage.js","src/js/utils/fetch.js","src/js/utils/loadSprite.js","src/js/utils/time.js","src/js/controls.js","src/js/utils/urls.js","src/js/captions.js","src/js/config/defaults.js","src/js/config/states.js","src/js/config/types.js","src/js/console.js","src/js/fullscreen.js","src/js/utils/loadImage.js","src/js/ui.js","src/js/listeners.js","node_modules/loadjs/dist/loadjs.umd.js","src/js/utils/loadScript.js","src/js/plugins/vimeo.js","src/js/plugins/youtube.js","demo/src/js/demo.js","src/js/media.js","src/js/plugins/ads.js","src/js/plugins/previewThumbnails.js","src/js/source.js","src/js/plyr.js"],"names":["navigator","commonjsGlobal","globalThis","window","global","self","createCommonjsModule","fn","module","exports","_typeof","obj","Symbol","iterator","constructor","prototype","_classCallCheck","instance","Constructor","TypeError","_defineProperties","target","props","i","length","descriptor","enumerable","configurable","writable","Object","defineProperty","key","_createClass","protoProps","staticProps","_defineProperty","value","_slicedToArray","arr","Array","isArray","_arrayWithHoles","_arr","_n","_d","_e","undefined","_s","_i","next","done","push","err","_iterableToArrayLimit","_nonIterableRest","_toConsumableArray","arr2","_arrayWithoutHoles","iter","toString","call","from","_iterableToArray","_nonIterableSpread","stringify_1","indexOf","haystack","needle","serializer","replacer","cycleReplacer","stack","keys","slice","join","thisPos","this","splice","Infinity","Error","message","name","hasOwnProperty","stringifyError","spaces","JSON","stringify","_window","getSerialize","isUndefined","what","isPlainObject","isString","supportsFetch","Headers","Request","Response","e","each","callback","j","hasKey","truncate","str","max","substr","object","joinRegExp","patterns","pattern","sources","len","replace","source","RegExp","htmlElementAsString","elem","className","classes","attr","out","tagName","toLowerCase","id","split","attrWhitelist","getAttribute","isOnlyOneTruthy","a","b","isSameStacktrace","stack1","stack2","frames1","frames","frames2","filename","lineno","colno","MAX_SERIALIZE_EXCEPTION_DEPTH","MAX_SERIALIZE_EXCEPTION_SIZE","MAX_SERIALIZE_KEYS_LENGTH","jsonSize","encodeURI","utf8Length","serializeValue","type","utils","isObject","isError","isErrorEvent","isDOMError","isDOMException","isFunction","isEmptyObject","_","supportsErrorEvent","ErrorEvent","supportsDOMError","DOMError","supportsDOMException","DOMException","supportsReferrerPolicy","referrerPolicy","supportsPromiseRejectionEvent","PromiseRejectionEvent","wrappedCallback","data","original","normalizedData","objectMerge","obj1","obj2","objectFrozen","isFrozen","urlencode","o","pairs","encodeURIComponent","uuid4","crypto","msCrypto","getRandomValues","Uint16Array","pad","num","v","c","r","Math","random","htmlTreeAsString","nextStr","height","sepLength","parentNode","reverse","isSameException","ex1","ex2","values","stacktrace","parseUrl","url","match","query","fragment","protocol","host","path","relative","fill","replacement","track","orig","__raven__","__orig__","safeJoin","input","delimiter","output","String","serializeException","ex","depth","maxSize","serialized","serializeObject","reduce","acc","map","val","serializeKeysForMessage","maxLength","filter","usedKeys","sanitize","sanitizeKeys","safeInput","sanitizeRegExp","sanitizeMask","parse","o_O","sanitizeWorker","workerInput","k","test","TraceKit","collectWindowErrors","debug","_slice","UNKNOWN_FUNCTION","ERROR_TYPES_RE","getLocationHref","document","location","href","report","_oldOnerrorHandler","_onErrorHandlerInstalled","handlers","lastArgs","lastException","lastExceptionStack","notifyHandlers","isWindowError","exception","apply","concat","arguments","inner","traceKitWindowOnError","msg","lineNo","colNo","error","computeStackTrace","augmentStackTraceWithInitialElement","processLastException","groups","line","column","func","_lastExceptionStack","_lastArgs","rethrow","args","setTimeout","incomplete","subscribe","handler","onerror","unsubscribe","uninstall","computeStackTraceFromStackProp","submatch","parts","element","chrome","winjs","gecko","geckoEval","chromeEval","lines","exec","isNative","columnNumber","xhr","XMLHttpRequest","open","send","status","responseText","sourceMaps","sourceMapAddress","charAt","origin","hostname","port","stackInfo","initial","unshift","partial","computeStackTraceByWalkingCallerChain","item","functionName","funcs","recursion","curr","caller","substring","result","sourceURL","fileName","lineNumber","description","tracekit","safeAdd","x","y","lsw","md5cmn","q","s","t","cnt","md5ff","d","md5gg","md5hh","md5ii","binlMD5","olda","oldb","oldc","oldd","binl2rstr","length32","fromCharCode","rstr2binl","length8","charCodeAt","rstr2hex","str2rstrUTF8","unescape","rawMD5","rstrMD5","rawHMACMD5","hash","bkey","ipad","opad","rstrHMACMD5","md5_1","string","raw","RavenConfigError","configError","console$1","console","level","originalConsoleLevel","originalConsole","sentryLevel","logger","extra","Function","wrapConsoleMethod","require$$0","dsnKeys","dsnPattern","now","Date","_document","_navigator","keepOriginalCallback","Raven","method","_hasJSON","_hasDocument","_hasNavigator","_lastCapturedException","_lastData","_lastEventId","_globalServer","_globalKey","_globalProject","_globalContext","_globalOptions","release","SENTRY_RELEASE","ignoreErrors","ignoreUrls","whitelistUrls","includePaths","headers","captureUnhandledRejections","maxMessageLength","maxUrlLength","stackTraceLimit","autoBreadcrumbs","instrument","sampleRate","_fetchDefaults","_ignoreOnError","_isRavenInstalled","_originalErrorStackTraceLimit","_originalConsole","_originalConsoleMethods","_plugins","_startTime","_wrappedBuiltIns","_breadcrumbs","_lastCapturedEvent","_keypressTimeout","_location","_lastHref","_resetBackoff","VERSION","config","dsn","options","_logDebug","globalOptions","setDSN","maxBreadcrumbs","min","autoBreadcrumbDefaults","dom","sentry","instrumentDefaults","tryCatch","install","isSetup","_handleOnErrorStackInfo","_attachPromiseRejectionHandler","_patchFunctionToString","_instrumentTryCatch","_instrumentBreadcrumbs","_drainPlugins","uri","_parseDSN","lastSlash","lastIndexOf","_dsn","user","_globalSecret","pass","_getGlobalServer","_globalEndpoint","context","wrap","_before","__raven_wrapper__","wrapped","deep","_ignoreNextOnError","captureException","property","_detachPromiseRejectionHandler","_unpatchFunctionToString","_restoreBuiltIns","_restoreConsole","_promiseRejectionHandler","event","reason","mechanism","handled","bind","addEventListener","removeEventListener","trimHeadFrames","captureMessage","_getCaptureExceptionOptionsFromPlainObject","_handleStackInfo","currentOptions","exKeys","sort","fingerprint","md5","__serialized__","initialCall","fileurl","_prepareFrames","_send","captureBreadcrumb","crumb","timestamp","breadcrumbCallback","shift","addPlugin","plugin","pluginArgs","setUserContext","setExtraContext","_mergeContext","setTagsContext","tags","clearContext","getContext","setEnvironment","environment","setRelease","setDataCallback","dataCallback","setBreadcrumbCallback","setShouldSendCallback","shouldSendCallback","setTransport","transport","lastEventId","ravenNotConfiguredError","afterLoad","RavenConfig","showReportDialog","eventId","encode","encodedOptions","email","globalServer","script","createElement","async","src","head","body","appendChild","_triggerEvent","eventType","evt","toUpperCase","createEvent","initEvent","createEventObject","dispatchEvent","fireEvent","_breadcrumbEventHandler","evtName","category","_keypressEventHandler","isContentEditable","timeout","clearTimeout","_captureUrlChange","to","parsedLoc","parsedTo","parsedFrom","_originalFunctionToString","wrappedBuiltIns","wrapTimeFn","originalCallback","function","wrapEventTarget","proto","capture","secure","handleEvent","before","clickHandler","keypressHandler","requestAnimationFrame","cb","eventTargets","wrapProp","prop","xhrproto","origOpen","__raven_xhr","status_code","origSend","onreadystatechangeHandler","readyState","onreadystatechange","origFetch","fetchInput","fetchData","then","response","attachEvent","hasPushAndReplaceState","app","runtime","history","pushState","replaceState","oldOnPopState","onpopstate","currentHref","historyReplacementFunction","origHistFunction","log","consoleMethodCallback","builtin","installer","m","allowSecretKey","_processException","frame","_normalizeFrame","in_app","stackInfoUrl","normalized","prefixedMessage","transaction","_trimPacket","request","Referer","breadcrumbs","_trimBreadcrumbs","urlProp","urlProps","_getHttpData","httpData","userAgent","User-Agent","referrer","_backoffDuration","_backoffStart","_shouldBackoff","_isRepeatData","current","last","_setBackoffState","retry","get","getResponseHeader","parseInt","baseData","project","platform","serverName","server_name","_sanitizeData","forEach","_sendProcessedPayload","_getUuid","allowDuplicates","event_id","auth","sentry_version","sentry_client","sentry_key","sentry_secret","_makeRequest","onSuccess","onError","opts","evaluatedHeaders","evaluatedFetchParameters","_evaluateHash","fetchParameters","defaultFetchOptions","fetchOptions","fetch","ok","XDomainRequest","onload","setRequestHeader","evaluated","setUser","setReleaseContext","raven","_Raven","RavenConstructor","noConflict","singleton","Client","defaults","addCSS","thumbWidth","watch","getConstructor","instanceOf","Boolean","isNullOrUndefined","isNodeList","NodeList","is","nullOrUndefined","number","Number","isNaN","boolean","array","nodeList","Element","Event","empty","round","step","places","parseFloat","toFixed","RangeTouch","querySelector","rangeTouch","assign","init","enabled","style","userSelect","webKitUserSelect","touchAction","listeners","toggle","_this","set","percent","touch","changedTouches","delta","clientRect","getBoundingClientRect","width","clientX","left","disabled","preventDefault","trigger","targets","querySelectorAll","MutationObserver","mutations","mutation","addedNodes","node","selector","includes","observe","childList","subtree","documentElement","isEmpty","is$1","weakMap","WeakMap","textNode","Text","keyboardEvent","KeyboardEvent","cue","TextTrackCue","VTTCue","TextTrack","kind","promise","Promise","URL","startsWith","supportsPassiveListeners","supported","toggleListener","passive","events","eventListeners","on","off","once","_this2","onceCallback","_len","_key","triggerEvent","bubbles","detail","CustomEvent","plyr","elements","wrapper","index","child","cloneNode","parent","sibling","nextSibling","insertBefore","setAttributes","attributes","entries","_ref","_ref3","_ref4","setAttribute","text","innerText","insertElement","removeElement","removeChild","emptyElement","childNodes","lastChild","replaceElement","newChild","oldChild","replaceChild","getAttributesFromSelector","sel","existingAttributes","existing","trim","class","toggleHidden","hidden","hide","removeAttribute","toggleClass","force","classList","contains","hasClass","matches","getElements","container","getElement","setFocus","tabFocus","focus","preventScroll","classNames","transitionEndEvent","WebkitTransition","MozTransition","OTransition","transition","find","repaint","offsetHeight","range","browser","isIE","documentMode","isEdge","isWebkit","isIPhone","isIos","defaultCodecs","audio/ogg","audio/wav","video/webm","video/mp4","video/ogg","support","audio","video","check","provider","playsinline","canPlayInline","api","ui","rangeInput","pip","webkitSetPresentationMode","pictureInPictureEnabled","disablePictureInPicture","airplay","WebKitPlaybackTargetAvailabilityEvent","mime","mediaType","isHTML5","media","canPlayType","textTracks","transitions","reducedMotion","matchMedia","validateRatio","every","getAspectRatio","ratio","embed","setAspectRatio","isVideo","_ref2","padding","paddingBottom","isVimeo","offset","transform","videoFixedRatio","html5","getSources","getQualityOptions","extend","player","_player$media","currentTime","paused","preload","play","load","quality","cancelRequests","blankVideo","dedupe","getDeep","format","replaceAll","toTitleCase","toCamelCase","toPascalCase","getHTML","innerHTML","resources","vimeo","youtube","i18n","{seektime}","seekTime","{title}","title","Storage","storage","store","localStorage","getItem","json","setItem","removeItem","responseType","resolve","reject","loadSprite","hasId","exists","getElementById","update","insertAdjacentElement","useStorage","cached","content","catch","getHours","trunc","getMinutes","getSeconds","formatTime","time","displayHours","inverted","hours","mins","secs","controls","getIconUrl","cors","iconUrl","svg4everybody","findElements","selectors","buttons","pause","restart","rewind","fastForward","mute","settings","captions","fullscreen","progress","inputs","seek","volume","display","buffer","duration","seekTooltip","tooltip","warn","toggleNativeControls","createIcon","iconPath","iconPrefix","icon","createElementNS","role","focusable","use","setAttributeNS","createLabel","createBadge","badge","menu","createButton","buttonType","label","labelPressed","iconPressed","control","button","createRange","autocomplete","aria-label","aria-valuemin","aria-valuemax","aria-valuenow","updateRangeFill","setup","createProgress","aria-hidden","suffixKey","played","suffix","createTime","bindMenuItemShortcuts","menuItem","which","stopPropagation","isRadioButton","showMenuPanel","nextElementSibling","firstElementChild","previousElementSibling","lastElementChild","focusFirstMenuItem","createMenuItem","list","_ref$badge","_ref$checked","checked","aria-checked","flex","children","currentTrack","speed","updateTimeDisplay","updateVolume","setRange","muted","pressed","updateProgress","_this3","getElementsByTagName","nodeValue","setProgress","buffered","setProperty","updateSeekTooltip","_this4","tooltips","visible","pageX","timeUpdate","invert","invertTime","seeking","durationUpdate","pow","hasDuration","displayDuration","toggleMenuButton","setting","updateSetting","pane","panels","default","getLabel","setQualityMenu","_this5","checkMenu","getBadge","sorting","setCaptionsMenu","_this6","tracks","getTracks","toggled","language","setSpeedMenu","_this7","some","popup","firstItem","toggleMenu","show","isMenuItem","getMenuSize","tab","clone","position","opacity","scrollWidth","scrollHeight","_this8","size","restore","propertyName","setDownloadLink","download","create","_this9","aria-haspopup","aria-controls","aria-expanded","home","backButton","urls","isEmbed","inject","_this10","floor","seektime","addProperty","controlPressed","_this$config","labels","parser","buildUrlParams","params","URLSearchParams","isYouTube","blob","createObjectURL","languages","userLanguage","active","trackEvents","_this$captions","meta","currentTrackNode","languageExists","mode","updateCues","setLanguage","activeClass","findTrack","enableTextTrack","has","sortIsDefault","sorted","getCurrentTrack","cues","activeCues","getCueAsHTML","cueText","caption","autoplay","autopause","toggleInvert","clickToPlay","hideControls","resetOnEnd","disableContextMenu","loop","selected","keyboard","focused","fallback","iosNative","seekLabel","unmute","enableCaptions","disableCaptions","enterFullscreen","exitFullscreen","frameTitle","menuBack","normal","start","end","all","reset","advertisement","qualityBadge","2160","1440","1080","720","576","480","sdk","iframe","googleIMA","editable","embedContainer","poster","posterEnabled","ads","playing","stopped","loading","hover","isTouch","uiSupported","noTransition","previewThumbnails","thumbContainer","thumbContainerShown","imageContainer","timeContainer","scrubbingContainer","scrubbingContainerShown","google","publisherId","tagUrl","byline","portrait","transparent","noCookie","rel","showinfo","iv_load_policy","modestbranding","providers","types","noop","Console","onChange","first","keyCode","activeElement","shiftKey","toggleFallback","scrollPosition","scrollX","scrollY","scrollTo","overflow","viewport","hasProperty","cleanupViewport","part","Fullscreen","prefix","forceFallback","native","webkitEnterFullscreen","requestFullscreen","webkitExitFullscreen","action","cancelFullScreen","exit","enter","fullscreenElement","fullscreenEnabled","webkitFullscreenEnabled","mozFullScreenEnabled","msFullscreenEnabled","pre","loadImage","minWidth","image","Image","naturalWidth","addStyleHook","build","checkPlaying","ready","setTitle","setPoster","togglePoster","enable","backgroundImage","backgroundSize","toggleControls","checkLoading","timers","recentTouchSeek","lastSeekTime","Listeners","lastKey","focusTimer","lastKeyDown","handleKey","setTabFocus","firstTouch","code","repeat","altKey","ctrlKey","metaKey","togglePlay","increaseVolume","decreaseVolume","forward","toggleCaptions","usingNative","timeStamp","wasKeyDown","delay","setPlayerSize","measure","rect","resized","_player$fullscreen","isEnter","_setPlayerSize","firstChild","_getAspectRatio$call2","videoX","videoY","maxWidth","margin","setGutter","hasAudio","isAudio","ended","proxy","proxyEvents","_event$detail","defaultHandler","customHandlerKey","customHandler","returned","hasCustomHandler","inputEvent","currentTarget","hasAttribute","seekTo","loaded","startMove","endMove","startScrubbing","endScrubbing","webkitDirectionInvertedFromDevice","_map2","deltaX","deltaY","direction","sign","abs","loadjs_umd","devnull","bundleIdCache","bundleResultCache","bundleCallbackQueue","publish","bundleId","pathsNotFound","executeCallbacks","depsNotFound","success","loadFile","callbackFn","numTries","isLegacyIECss","doc","maxTries","numRetries","beforeCallbackFn","pathStripped","relList","as","onbeforeload","ev","sheet","cssText","defaultPrevented","loadjs","paths","arg1","arg2","loadFn","numWaiting","loadFiles","returnPromise","deps","bundleIds","isDefined","factory","loadScript","assurePlaybackState","hasPlayed","Vimeo","gesture","$2","thumbnail_large","pathname","Player","disableTextTrack","stop","restorePause","setVolume","setCurrentTime","setPlaybackRate","currentSrc","setLoop","getVideoUrl","getVideoWidth","getVideoHeight","dimensions","_dimensions","setAutopause","state","getVideoTitle","getCurrentTime","getDuration","getTextTracks","_ref$cues","strippedCues","createDocumentFragment","getPaused","seconds","getHost","env","YT","onYouTubeReadyCallbacks","onYouTubeIframeAPIReady","getTitle","videoId","getVideoData","items","snippet","currentId","posterSrc","playerVars","hl","disablekb","cc_load_policy","cc_lang_pref","widget_referrer","2","5","100","101","150","onPlaybackRateChange","playbackRate","getPlaybackRate","onReady","playVideo","pauseVideo","stopVideo","getAvailablePlaybackRates","clearInterval","buffering","setInterval","getVideoLoadedFraction","lastBuffered","onStateChange","unMute","Ads","initialized","displayContainer","manager","loader","cuePoints","safetyTimer","countdownTimer","managerPromise","ima","startSafetyTimer","clearSafetyTimer","setupIMA","setVpaidMode","ImaSdkSettings","VpaidMode","ENABLED","setLocale","setDisableCustomPlaybackForIOS10Plus","AdDisplayContainer","requestAds","AdsLoader","AdsManagerLoadedEvent","Type","ADS_MANAGER_LOADED","onAdsManagerLoaded","AdErrorEvent","AD_ERROR","onAdError","AdsRequest","adTagUrl","linearAdSlotWidth","offsetWidth","linearAdSlotHeight","nonLinearAdSlotWidth","nonLinearAdSlotHeight","forceNonLinearFullSlot","setAdWillPlayMuted","getRemainingTime","AdsRenderingSettings","restoreCustomPlaybackStateOnAdBreakComplete","enablePreloading","getAdsManager","getCuePoints","AdEvent","onAdEvent","cuePoint","seekElement","cuePercentage","ad","getAd","adData","getAdData","LOADED","pollCountdown","isLinear","ALL_ADS_COMPLETED","loadAds","CONTENT_PAUSE_REQUESTED","pauseContent","CONTENT_RESUME_REQUESTED","resumeContent","STARTED","MIDPOINT","COMPLETE","IMPRESSION","CLICK","LOG","adError","getMessage","cancel","addCuePoints","contentComplete","seekedTime","discardAdBreak","resize","ViewMode","NORMAL","initialize","zIndex","_this11","destroy","_this12","_this13","AV_PUBLISHERID","AV_CHANNELID","AV_URL","AV_WIDTH","AV_HEIGHT","AV_CDIM2","PreviewThumbnails","thumbnails","lastMouseMoveTime","mouseDown","loadedImages","thumb","scrubbing","getThumbnails","render","determineContainerAutoSizing","promises","u","getThumbnail","vttDataString","processedList","thumbnail","startTime","lineSplit","_lineSplit","_lineSplit$1$split2","w","h","matchTimes","endTime","urlPrefix","tempImage","naturalHeight","percentage","mousePosX","showImageAtCurrentTime","toggleThumbContainer","toggleScrubbingContainer","ceil","lastTime","setScrubbingContainerSize","setThumbContainerSizeAndPos","thumbNum","findIndex","hasThumb","qualityIndex","showingThumb","thumbFilename","thumbUrl","currentImageElement","dataset","showImage","removeOldImages","loadingImage","usingSprites","previewImage","showingThumbFilename","newImage","setImageSizeAndOffset","currentImageContainer","preloadNearby","getHigherQuality","currentImage","removeDelay","deleting","oldThumbFilename","thumbnailsClone","foundOne","newThumbFilename","thumbURL","currentQualityIndex","previewImageHeight","thumbContainerHeight","clearShowing","clientHeight","sizeSpecifiedInCSS","thumbAspectRatio","setThumbContainerPos","seekbarRect","plyrRect","minVal","maxVal","right","clientWidth","previewPos","multiplier","top","currentScrubbingImageElement","currentThumbnailImageElement","insertElements","attribute","change","_sources$","_sources$$provider","crossorigin","Plyr","failed","jQuery","getProviderByUrl","search","truthy","searchParams","tabindex","webkitShowPlaybackTargetPicker","isHidden","hiding","eventName","soft","unload","inputIsValid","fauxDuration","realDuration","mozHasAudio","webkitAudioDecodedByteCount","audioTracks","updateStorage","prev","closest","_ratio","divider","getDivider","reduceAspectRatio","requestPictureInPicture","exitPictureInPicture","webkitPresentationMode","pictureInPictureElement","inline","prod","dev","Shr","count","classname","remove","add","currentType","historySupport","newSource","srclang","parentElement","cite"],"mappings":"AAAqB,iBAAdA,WAA2B,WACjC,aAEA,IAAIC,EAAuC,oBAAfC,WAA6BA,WAA+B,oBAAXC,OAAyBA,OAA2B,oBAAXC,OAAyBA,OAAyB,oBAATC,KAAuBA,KAAO,GAE7L,SAASC,EAAqBC,EAAIC,GACjC,OAAiCD,EAA1BC,EAAS,CAAEC,QAAS,IAAiBD,EAAOC,SAAUD,EAAOC,QAGrE,SAASC,EAAQC,GAWf,OATED,EADoB,mBAAXE,QAAoD,iBAApBA,OAAOC,SACtC,SAAUF,GAClB,cAAcA,GAGN,SAAUA,GAClB,OAAOA,GAAyB,mBAAXC,QAAyBD,EAAIG,cAAgBF,QAAUD,IAAQC,OAAOG,UAAY,gBAAkBJ,IAI9GA,GA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AQE,aACX,CACI3c,KAAMo/C,GAEV,GACAtyB,EAAQ,GAAH,IAAAplB,OAAY03C,IAKrBA,IAAgB7b,EAAMzW,OACtBwyB,EAAUF,GAAa,QAQnC/P,GAAIwP,MACJnvC,GAAM2C,OAAO,6DAA6Da,U9C5RjD","file":"demo.min.js","sourcesContent":["typeof navigator === \"object\" && (function () {\n\t'use strict';\n\n\tvar commonjsGlobal = typeof globalThis !== 'undefined' ? globalThis : typeof window !== 'undefined' ? window : typeof global !== 'undefined' ? global : typeof self !== 'undefined' ? self : {};\n\n\tfunction createCommonjsModule(fn, module) {\n\t\treturn module = { exports: {} }, fn(module, module.exports), module.exports;\n\t}\n\n\tfunction _typeof(obj) {\n\t if (typeof Symbol === \"function\" && typeof Symbol.iterator === \"symbol\") {\n\t _typeof = function (obj) {\n\t return typeof obj;\n\t };\n\t } else {\n\t _typeof = function (obj) {\n\t return obj && typeof Symbol === \"function\" && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj;\n\t };\n\t }\n\n\t return _typeof(obj);\n\t}\n\n\tfunction _classCallCheck(instance, Constructor) {\n\t if (!(instance instanceof Constructor)) {\n\t throw new TypeError(\"Cannot call a class as a function\");\n\t }\n\t}\n\n\tfunction _defineProperties(target, props) {\n\t for (var i = 0; i < props.length; i++) {\n\t var descriptor = props[i];\n\t descriptor.enumerable = descriptor.enumerable || false;\n\t descriptor.configurable = true;\n\t if (\"value\" in descriptor) descriptor.writable = true;\n\t Object.defineProperty(target, descriptor.key, descriptor);\n\t }\n\t}\n\n\tfunction _createClass(Constructor, protoProps, staticProps) {\n\t if (protoProps) _defineProperties(Constructor.prototype, protoProps);\n\t if (staticProps) _defineProperties(Constructor, staticProps);\n\t return Constructor;\n\t}\n\n\tfunction _defineProperty(obj, key, value) {\n\t if (key in obj) {\n\t Object.defineProperty(obj, key, {\n\t value: value,\n\t enumerable: true,\n\t configurable: true,\n\t writable: true\n\t });\n\t } else {\n\t obj[key] = value;\n\t }\n\n\t return obj;\n\t}\n\n\tfunction _slicedToArray(arr, i) {\n\t return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _nonIterableRest();\n\t}\n\n\tfunction _toConsumableArray(arr) {\n\t return _arrayWithoutHoles(arr) || _iterableToArray(arr) || _nonIterableSpread();\n\t}\n\n\tfunction _arrayWithoutHoles(arr) {\n\t if (Array.isArray(arr)) {\n\t for (var i = 0, arr2 = new Array(arr.length); i < arr.length; i++) arr2[i] = arr[i];\n\n\t return arr2;\n\t }\n\t}\n\n\tfunction _arrayWithHoles(arr) {\n\t if (Array.isArray(arr)) return arr;\n\t}\n\n\tfunction _iterableToArray(iter) {\n\t if (Symbol.iterator in Object(iter) || Object.prototype.toString.call(iter) === \"[object Arguments]\") return Array.from(iter);\n\t}\n\n\tfunction _iterableToArrayLimit(arr, i) {\n\t var _arr = [];\n\t var _n = true;\n\t var _d = false;\n\t var _e = undefined;\n\n\t try {\n\t for (var _i = arr[Symbol.iterator](), _s; !(_n = (_s = _i.next()).done); _n = true) {\n\t _arr.push(_s.value);\n\n\t if (i && _arr.length === i) break;\n\t }\n\t } catch (err) {\n\t _d = true;\n\t _e = err;\n\t } finally {\n\t try {\n\t if (!_n && _i[\"return\"] != null) _i[\"return\"]();\n\t } finally {\n\t if (_d) throw _e;\n\t }\n\t }\n\n\t return _arr;\n\t}\n\n\tfunction _nonIterableSpread() {\n\t throw new TypeError(\"Invalid attempt to spread non-iterable instance\");\n\t}\n\n\tfunction _nonIterableRest() {\n\t throw new TypeError(\"Invalid attempt to destructure non-iterable instance\");\n\t}\n\n\tvar stringify_1 = createCommonjsModule(function (module, exports) {\n\t /*\n\t json-stringify-safe\n\t Like JSON.stringify, but doesn't throw on circular references.\n\t \n\t Originally forked from https://github.com/isaacs/json-stringify-safe\n\t version 5.0.1 on 3/8/2017 and modified to handle Errors serialization\n\t and IE8 compatibility. Tests for this are in test/vendor.\n\t \n\t ISC license: https://github.com/isaacs/json-stringify-safe/blob/master/LICENSE\n\t */\n\t exports = module.exports = stringify;\n\t exports.getSerialize = serializer;\n\n\t function indexOf(haystack, needle) {\n\t for (var i = 0; i < haystack.length; ++i) {\n\t if (haystack[i] === needle) return i;\n\t }\n\n\t return -1;\n\t }\n\n\t function stringify(obj, replacer, spaces, cycleReplacer) {\n\t return JSON.stringify(obj, serializer(replacer, cycleReplacer), spaces);\n\t } // https://github.com/ftlabs/js-abbreviate/blob/fa709e5f139e7770a71827b1893f22418097fbda/index.js#L95-L106\n\n\n\t function stringifyError(value) {\n\t var err = {\n\t // These properties are implemented as magical getters and don't show up in for in\n\t stack: value.stack,\n\t message: value.message,\n\t name: value.name\n\t };\n\n\t for (var i in value) {\n\t if (Object.prototype.hasOwnProperty.call(value, i)) {\n\t err[i] = value[i];\n\t }\n\t }\n\n\t return err;\n\t }\n\n\t function serializer(replacer, cycleReplacer) {\n\t var stack = [];\n\t var keys = [];\n\n\t if (cycleReplacer == null) {\n\t cycleReplacer = function cycleReplacer(key, value) {\n\t if (stack[0] === value) {\n\t return '[Circular ~]';\n\t }\n\n\t return '[Circular ~.' + keys.slice(0, indexOf(stack, value)).join('.') + ']';\n\t };\n\t }\n\n\t return function (key, value) {\n\t if (stack.length > 0) {\n\t var thisPos = indexOf(stack, this);\n\t ~thisPos ? stack.splice(thisPos + 1) : stack.push(this);\n\t ~thisPos ? keys.splice(thisPos, Infinity, key) : keys.push(key);\n\n\t if (~indexOf(stack, value)) {\n\t value = cycleReplacer.call(this, key, value);\n\t }\n\t } else {\n\t stack.push(value);\n\t }\n\n\t return replacer == null ? value instanceof Error ? stringifyError(value) : value : replacer.call(this, key, value);\n\t };\n\t }\n\t});\n\tvar stringify_2 = stringify_1.getSerialize;\n\n\tvar _window = typeof window !== 'undefined' ? window : typeof commonjsGlobal !== 'undefined' ? commonjsGlobal : typeof self !== 'undefined' ? self : {};\n\n\tfunction isObject(what) {\n\t return _typeof(what) === 'object' && what !== null;\n\t} // Yanked from https://git.io/vS8DV re-used under CC0\n\t// with some tiny modifications\n\n\n\tfunction isError(value) {\n\t switch (Object.prototype.toString.call(value)) {\n\t case '[object Error]':\n\t return true;\n\n\t case '[object Exception]':\n\t return true;\n\n\t case '[object DOMException]':\n\t return true;\n\n\t default:\n\t return value instanceof Error;\n\t }\n\t}\n\n\tfunction isErrorEvent(value) {\n\t return Object.prototype.toString.call(value) === '[object ErrorEvent]';\n\t}\n\n\tfunction isDOMError(value) {\n\t return Object.prototype.toString.call(value) === '[object DOMError]';\n\t}\n\n\tfunction isDOMException(value) {\n\t return Object.prototype.toString.call(value) === '[object DOMException]';\n\t}\n\n\tfunction isUndefined(what) {\n\t return what === void 0;\n\t}\n\n\tfunction isFunction(what) {\n\t return typeof what === 'function';\n\t}\n\n\tfunction isPlainObject(what) {\n\t return Object.prototype.toString.call(what) === '[object Object]';\n\t}\n\n\tfunction isString(what) {\n\t return Object.prototype.toString.call(what) === '[object String]';\n\t}\n\n\tfunction isArray(what) {\n\t return Object.prototype.toString.call(what) === '[object Array]';\n\t}\n\n\tfunction isEmptyObject(what) {\n\t if (!isPlainObject(what)) return false;\n\n\t for (var _ in what) {\n\t if (what.hasOwnProperty(_)) {\n\t return false;\n\t }\n\t }\n\n\t return true;\n\t}\n\n\tfunction supportsErrorEvent() {\n\t try {\n\t new ErrorEvent(''); // eslint-disable-line no-new\n\n\t return true;\n\t } catch (e) {\n\t return false;\n\t }\n\t}\n\n\tfunction supportsDOMError() {\n\t try {\n\t new DOMError(''); // eslint-disable-line no-new\n\n\t return true;\n\t } catch (e) {\n\t return false;\n\t }\n\t}\n\n\tfunction supportsDOMException() {\n\t try {\n\t new DOMException(''); // eslint-disable-line no-new\n\n\t return true;\n\t } catch (e) {\n\t return false;\n\t }\n\t}\n\n\tfunction supportsFetch() {\n\t if (!('fetch' in _window)) return false;\n\n\t try {\n\t new Headers(); // eslint-disable-line no-new\n\n\t new Request(''); // eslint-disable-line no-new\n\n\t new Response(); // eslint-disable-line no-new\n\n\t return true;\n\t } catch (e) {\n\t return false;\n\t }\n\t} // Despite all stars in the sky saying that Edge supports old draft syntax, aka 'never', 'always', 'origin' and 'default\n\t// https://caniuse.com/#feat=referrer-policy\n\t// It doesn't. And it throw exception instead of ignoring this parameter...\n\t// REF: https://github.com/getsentry/raven-js/issues/1233\n\n\n\tfunction supportsReferrerPolicy() {\n\t if (!supportsFetch()) return false;\n\n\t try {\n\t // eslint-disable-next-line no-new\n\t new Request('pickleRick', {\n\t referrerPolicy: 'origin'\n\t });\n\t return true;\n\t } catch (e) {\n\t return false;\n\t }\n\t}\n\n\tfunction supportsPromiseRejectionEvent() {\n\t return typeof PromiseRejectionEvent === 'function';\n\t}\n\n\tfunction wrappedCallback(callback) {\n\t function dataCallback(data, original) {\n\t var normalizedData = callback(data) || data;\n\n\t if (original) {\n\t return original(normalizedData) || normalizedData;\n\t }\n\n\t return normalizedData;\n\t }\n\n\t return dataCallback;\n\t}\n\n\tfunction each(obj, callback) {\n\t var i, j;\n\n\t if (isUndefined(obj.length)) {\n\t for (i in obj) {\n\t if (hasKey(obj, i)) {\n\t callback.call(null, i, obj[i]);\n\t }\n\t }\n\t } else {\n\t j = obj.length;\n\n\t if (j) {\n\t for (i = 0; i < j; i++) {\n\t callback.call(null, i, obj[i]);\n\t }\n\t }\n\t }\n\t}\n\n\tfunction objectMerge(obj1, obj2) {\n\t if (!obj2) {\n\t return obj1;\n\t }\n\n\t each(obj2, function (key, value) {\n\t obj1[key] = value;\n\t });\n\t return obj1;\n\t}\n\t/**\n\t * This function is only used for react-native.\n\t * react-native freezes object that have already been sent over the\n\t * js bridge. We need this function in order to check if the object is frozen.\n\t * So it's ok that objectFrozen returns false if Object.isFrozen is not\n\t * supported because it's not relevant for other \"platforms\". See related issue:\n\t * https://github.com/getsentry/react-native-sentry/issues/57\n\t */\n\n\n\tfunction objectFrozen(obj) {\n\t if (!Object.isFrozen) {\n\t return false;\n\t }\n\n\t return Object.isFrozen(obj);\n\t}\n\n\tfunction truncate(str, max) {\n\t if (typeof max !== 'number') {\n\t throw new Error('2nd argument to `truncate` function should be a number');\n\t }\n\n\t if (typeof str !== 'string' || max === 0) {\n\t return str;\n\t }\n\n\t return str.length <= max ? str : str.substr(0, max) + \"\\u2026\";\n\t}\n\t/**\n\t * hasKey, a better form of hasOwnProperty\n\t * Example: hasKey(MainHostObject, property) === true/false\n\t *\n\t * @param {Object} host object to check property\n\t * @param {string} key to check\n\t */\n\n\n\tfunction hasKey(object, key) {\n\t return Object.prototype.hasOwnProperty.call(object, key);\n\t}\n\n\tfunction joinRegExp(patterns) {\n\t // Combine an array of regular expressions and strings into one large regexp\n\t // Be mad.\n\t var sources = [],\n\t i = 0,\n\t len = patterns.length,\n\t pattern;\n\n\t for (; i < len; i++) {\n\t pattern = patterns[i];\n\n\t if (isString(pattern)) {\n\t // If it's a string, we need to escape it\n\t // Taken from: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Guide/Regular_Expressions\n\t sources.push(pattern.replace(/([.*+?^=!:${}()|\\[\\]\\/\\\\])/g, '\\\\$1'));\n\t } else if (pattern && pattern.source) {\n\t // If it's a regexp already, we want to extract the source\n\t sources.push(pattern.source);\n\t } // Intentionally skip other cases\n\n\t }\n\n\t return new RegExp(sources.join('|'), 'i');\n\t}\n\n\tfunction urlencode(o) {\n\t var pairs = [];\n\t each(o, function (key, value) {\n\t pairs.push(encodeURIComponent(key) + '=' + encodeURIComponent(value));\n\t });\n\t return pairs.join('&');\n\t} // borrowed from https://tools.ietf.org/html/rfc3986#appendix-B\n\t// intentionally using regex and not
href parsing trick because React Native and other\n\t// environments where DOM might not be available\n\n\n\tfunction parseUrl(url) {\n\t if (typeof url !== 'string') return {};\n\t var match = url.match(/^(([^:\\/?#]+):)?(\\/\\/([^\\/?#]*))?([^?#]*)(\\?([^#]*))?(#(.*))?$/); // coerce to undefined values to empty string so we don't get 'undefined'\n\n\t var query = match[6] || '';\n\t var fragment = match[8] || '';\n\t return {\n\t protocol: match[2],\n\t host: match[4],\n\t path: match[5],\n\t relative: match[5] + query + fragment // everything minus origin\n\n\t };\n\t}\n\n\tfunction uuid4() {\n\t var crypto = _window.crypto || _window.msCrypto;\n\n\t if (!isUndefined(crypto) && crypto.getRandomValues) {\n\t // Use window.crypto API if available\n\t // eslint-disable-next-line no-undef\n\t var arr = new Uint16Array(8);\n\t crypto.getRandomValues(arr); // set 4 in byte 7\n\n\t arr[3] = arr[3] & 0xfff | 0x4000; // set 2 most significant bits of byte 9 to '10'\n\n\t arr[4] = arr[4] & 0x3fff | 0x8000;\n\n\t var pad = function pad(num) {\n\t var v = num.toString(16);\n\n\t while (v.length < 4) {\n\t v = '0' + v;\n\t }\n\n\t return v;\n\t };\n\n\t return pad(arr[0]) + pad(arr[1]) + pad(arr[2]) + pad(arr[3]) + pad(arr[4]) + pad(arr[5]) + pad(arr[6]) + pad(arr[7]);\n\t } else {\n\t // http://stackoverflow.com/questions/105034/how-to-create-a-guid-uuid-in-javascript/2117523#2117523\n\t return 'xxxxxxxxxxxx4xxxyxxxxxxxxxxxxxxx'.replace(/[xy]/g, function (c) {\n\t var r = Math.random() * 16 | 0,\n\t v = c === 'x' ? r : r & 0x3 | 0x8;\n\t return v.toString(16);\n\t });\n\t }\n\t}\n\t/**\n\t * Given a child DOM element, returns a query-selector statement describing that\n\t * and its ancestors\n\t * e.g. [HTMLElement] => body > div > input#foo.btn[name=baz]\n\t * @param elem\n\t * @returns {string}\n\t */\n\n\n\tfunction htmlTreeAsString(elem) {\n\t /* eslint no-extra-parens:0*/\n\t var MAX_TRAVERSE_HEIGHT = 5,\n\t MAX_OUTPUT_LEN = 80,\n\t out = [],\n\t height = 0,\n\t len = 0,\n\t separator = ' > ',\n\t sepLength = separator.length,\n\t nextStr;\n\n\t while (elem && height++ < MAX_TRAVERSE_HEIGHT) {\n\t nextStr = htmlElementAsString(elem); // bail out if\n\t // - nextStr is the 'html' element\n\t // - the length of the string that would be created exceeds MAX_OUTPUT_LEN\n\t // (ignore this limit if we are on the first iteration)\n\n\t if (nextStr === 'html' || height > 1 && len + out.length * sepLength + nextStr.length >= MAX_OUTPUT_LEN) {\n\t break;\n\t }\n\n\t out.push(nextStr);\n\t len += nextStr.length;\n\t elem = elem.parentNode;\n\t }\n\n\t return out.reverse().join(separator);\n\t}\n\t/**\n\t * Returns a simple, query-selector representation of a DOM element\n\t * e.g. [HTMLElement] => input#foo.btn[name=baz]\n\t * @param HTMLElement\n\t * @returns {string}\n\t */\n\n\n\tfunction htmlElementAsString(elem) {\n\t var out = [],\n\t className,\n\t classes,\n\t key,\n\t attr,\n\t i;\n\n\t if (!elem || !elem.tagName) {\n\t return '';\n\t }\n\n\t out.push(elem.tagName.toLowerCase());\n\n\t if (elem.id) {\n\t out.push('#' + elem.id);\n\t }\n\n\t className = elem.className;\n\n\t if (className && isString(className)) {\n\t classes = className.split(/\\s+/);\n\n\t for (i = 0; i < classes.length; i++) {\n\t out.push('.' + classes[i]);\n\t }\n\t }\n\n\t var attrWhitelist = ['type', 'name', 'title', 'alt'];\n\n\t for (i = 0; i < attrWhitelist.length; i++) {\n\t key = attrWhitelist[i];\n\t attr = elem.getAttribute(key);\n\n\t if (attr) {\n\t out.push('[' + key + '=\"' + attr + '\"]');\n\t }\n\t }\n\n\t return out.join('');\n\t}\n\t/**\n\t * Returns true if either a OR b is truthy, but not both\n\t */\n\n\n\tfunction isOnlyOneTruthy(a, b) {\n\t return !!(!!a ^ !!b);\n\t}\n\t/**\n\t * Returns true if both parameters are undefined\n\t */\n\n\n\tfunction isBothUndefined(a, b) {\n\t return isUndefined(a) && isUndefined(b);\n\t}\n\t/**\n\t * Returns true if the two input exception interfaces have the same content\n\t */\n\n\n\tfunction isSameException(ex1, ex2) {\n\t if (isOnlyOneTruthy(ex1, ex2)) return false;\n\t ex1 = ex1.values[0];\n\t ex2 = ex2.values[0];\n\t if (ex1.type !== ex2.type || ex1.value !== ex2.value) return false; // in case both stacktraces are undefined, we can't decide so default to false\n\n\t if (isBothUndefined(ex1.stacktrace, ex2.stacktrace)) return false;\n\t return isSameStacktrace(ex1.stacktrace, ex2.stacktrace);\n\t}\n\t/**\n\t * Returns true if the two input stack trace interfaces have the same content\n\t */\n\n\n\tfunction isSameStacktrace(stack1, stack2) {\n\t if (isOnlyOneTruthy(stack1, stack2)) return false;\n\t var frames1 = stack1.frames;\n\t var frames2 = stack2.frames; // Exit early if stacktrace is malformed\n\n\t if (frames1 === undefined || frames2 === undefined) return false; // Exit early if frame count differs\n\n\t if (frames1.length !== frames2.length) return false; // Iterate through every frame; bail out if anything differs\n\n\t var a, b;\n\n\t for (var i = 0; i < frames1.length; i++) {\n\t a = frames1[i];\n\t b = frames2[i];\n\t if (a.filename !== b.filename || a.lineno !== b.lineno || a.colno !== b.colno || a['function'] !== b['function']) return false;\n\t }\n\n\t return true;\n\t}\n\t/**\n\t * Polyfill a method\n\t * @param obj object e.g. `document`\n\t * @param name method name present on object e.g. `addEventListener`\n\t * @param replacement replacement function\n\t * @param track {optional} record instrumentation to an array\n\t */\n\n\n\tfunction fill(obj, name, replacement, track) {\n\t if (obj == null) return;\n\t var orig = obj[name];\n\t obj[name] = replacement(orig);\n\t obj[name].__raven__ = true;\n\t obj[name].__orig__ = orig;\n\n\t if (track) {\n\t track.push([obj, name, orig]);\n\t }\n\t}\n\t/**\n\t * Join values in array\n\t * @param input array of values to be joined together\n\t * @param delimiter string to be placed in-between values\n\t * @returns {string}\n\t */\n\n\n\tfunction safeJoin(input, delimiter) {\n\t if (!isArray(input)) return '';\n\t var output = [];\n\n\t for (var i = 0; i < input.length; i++) {\n\t try {\n\t output.push(String(input[i]));\n\t } catch (e) {\n\t output.push('[value cannot be serialized]');\n\t }\n\t }\n\n\t return output.join(delimiter);\n\t} // Default Node.js REPL depth\n\n\n\tvar MAX_SERIALIZE_EXCEPTION_DEPTH = 3; // 50kB, as 100kB is max payload size, so half sounds reasonable\n\n\tvar MAX_SERIALIZE_EXCEPTION_SIZE = 50 * 1024;\n\tvar MAX_SERIALIZE_KEYS_LENGTH = 40;\n\n\tfunction utf8Length(value) {\n\t return ~-encodeURI(value).split(/%..|./).length;\n\t}\n\n\tfunction jsonSize(value) {\n\t return utf8Length(JSON.stringify(value));\n\t}\n\n\tfunction serializeValue(value) {\n\t if (typeof value === 'string') {\n\t var maxLength = 40;\n\t return truncate(value, maxLength);\n\t } else if (typeof value === 'number' || typeof value === 'boolean' || typeof value === 'undefined') {\n\t return value;\n\t }\n\n\t var type = Object.prototype.toString.call(value); // Node.js REPL notation\n\n\t if (type === '[object Object]') return '[Object]';\n\t if (type === '[object Array]') return '[Array]';\n\t if (type === '[object Function]') return value.name ? '[Function: ' + value.name + ']' : '[Function]';\n\t return value;\n\t}\n\n\tfunction serializeObject(value, depth) {\n\t if (depth === 0) return serializeValue(value);\n\n\t if (isPlainObject(value)) {\n\t return Object.keys(value).reduce(function (acc, key) {\n\t acc[key] = serializeObject(value[key], depth - 1);\n\t return acc;\n\t }, {});\n\t } else if (Array.isArray(value)) {\n\t return value.map(function (val) {\n\t return serializeObject(val, depth - 1);\n\t });\n\t }\n\n\t return serializeValue(value);\n\t}\n\n\tfunction serializeException(ex, depth, maxSize) {\n\t if (!isPlainObject(ex)) return ex;\n\t depth = typeof depth !== 'number' ? MAX_SERIALIZE_EXCEPTION_DEPTH : depth;\n\t maxSize = typeof depth !== 'number' ? MAX_SERIALIZE_EXCEPTION_SIZE : maxSize;\n\t var serialized = serializeObject(ex, depth);\n\n\t if (jsonSize(stringify_1(serialized)) > maxSize) {\n\t return serializeException(ex, depth - 1);\n\t }\n\n\t return serialized;\n\t}\n\n\tfunction serializeKeysForMessage(keys, maxLength) {\n\t if (typeof keys === 'number' || typeof keys === 'string') return keys.toString();\n\t if (!Array.isArray(keys)) return '';\n\t keys = keys.filter(function (key) {\n\t return typeof key === 'string';\n\t });\n\t if (keys.length === 0) return '[object has no keys]';\n\t maxLength = typeof maxLength !== 'number' ? MAX_SERIALIZE_KEYS_LENGTH : maxLength;\n\t if (keys[0].length >= maxLength) return keys[0];\n\n\t for (var usedKeys = keys.length; usedKeys > 0; usedKeys--) {\n\t var serialized = keys.slice(0, usedKeys).join(', ');\n\t if (serialized.length > maxLength) continue;\n\t if (usedKeys === keys.length) return serialized;\n\t return serialized + \"\\u2026\";\n\t }\n\n\t return '';\n\t}\n\n\tfunction sanitize(input, sanitizeKeys) {\n\t if (!isArray(sanitizeKeys) || isArray(sanitizeKeys) && sanitizeKeys.length === 0) return input;\n\t var sanitizeRegExp = joinRegExp(sanitizeKeys);\n\t var sanitizeMask = '********';\n\t var safeInput;\n\n\t try {\n\t safeInput = JSON.parse(stringify_1(input));\n\t } catch (o_O) {\n\t return input;\n\t }\n\n\t function sanitizeWorker(workerInput) {\n\t if (isArray(workerInput)) {\n\t return workerInput.map(function (val) {\n\t return sanitizeWorker(val);\n\t });\n\t }\n\n\t if (isPlainObject(workerInput)) {\n\t return Object.keys(workerInput).reduce(function (acc, k) {\n\t if (sanitizeRegExp.test(k)) {\n\t acc[k] = sanitizeMask;\n\t } else {\n\t acc[k] = sanitizeWorker(workerInput[k]);\n\t }\n\n\t return acc;\n\t }, {});\n\t }\n\n\t return workerInput;\n\t }\n\n\t return sanitizeWorker(safeInput);\n\t}\n\n\tvar utils = {\n\t isObject: isObject,\n\t isError: isError,\n\t isErrorEvent: isErrorEvent,\n\t isDOMError: isDOMError,\n\t isDOMException: isDOMException,\n\t isUndefined: isUndefined,\n\t isFunction: isFunction,\n\t isPlainObject: isPlainObject,\n\t isString: isString,\n\t isArray: isArray,\n\t isEmptyObject: isEmptyObject,\n\t supportsErrorEvent: supportsErrorEvent,\n\t supportsDOMError: supportsDOMError,\n\t supportsDOMException: supportsDOMException,\n\t supportsFetch: supportsFetch,\n\t supportsReferrerPolicy: supportsReferrerPolicy,\n\t supportsPromiseRejectionEvent: supportsPromiseRejectionEvent,\n\t wrappedCallback: wrappedCallback,\n\t each: each,\n\t objectMerge: objectMerge,\n\t truncate: truncate,\n\t objectFrozen: objectFrozen,\n\t hasKey: hasKey,\n\t joinRegExp: joinRegExp,\n\t urlencode: urlencode,\n\t uuid4: uuid4,\n\t htmlTreeAsString: htmlTreeAsString,\n\t htmlElementAsString: htmlElementAsString,\n\t isSameException: isSameException,\n\t isSameStacktrace: isSameStacktrace,\n\t parseUrl: parseUrl,\n\t fill: fill,\n\t safeJoin: safeJoin,\n\t serializeException: serializeException,\n\t serializeKeysForMessage: serializeKeysForMessage,\n\t sanitize: sanitize\n\t};\n\n\t/*\n\t TraceKit - Cross brower stack traces\n\n\t This was originally forked from github.com/occ/TraceKit, but has since been\n\t largely re-written and is now maintained as part of raven-js. Tests for\n\t this are in test/vendor.\n\n\t MIT license\n\t*/\n\n\tvar TraceKit = {\n\t collectWindowErrors: true,\n\t debug: false\n\t}; // This is to be defensive in environments where window does not exist (see https://github.com/getsentry/raven-js/pull/785)\n\n\tvar _window$1 = typeof window !== 'undefined' ? window : typeof commonjsGlobal !== 'undefined' ? commonjsGlobal : typeof self !== 'undefined' ? self : {}; // global reference to slice\n\n\n\tvar _slice = [].slice;\n\tvar UNKNOWN_FUNCTION = '?'; // https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Error#Error_types\n\n\tvar ERROR_TYPES_RE = /^(?:[Uu]ncaught (?:exception: )?)?(?:((?:Eval|Internal|Range|Reference|Syntax|Type|URI|)Error): )?(.*)$/;\n\n\tfunction getLocationHref() {\n\t if (typeof document === 'undefined' || document.location == null) return '';\n\t return document.location.href;\n\t}\n\n\tfunction getLocationOrigin() {\n\t if (typeof document === 'undefined' || document.location == null) return ''; // Oh dear IE10...\n\n\t if (!document.location.origin) {\n\t return document.location.protocol + '//' + document.location.hostname + (document.location.port ? ':' + document.location.port : '');\n\t }\n\n\t return document.location.origin;\n\t}\n\t/**\n\t * TraceKit.report: cross-browser processing of unhandled exceptions\n\t *\n\t * Syntax:\n\t * TraceKit.report.subscribe(function(stackInfo) { ... })\n\t * TraceKit.report.unsubscribe(function(stackInfo) { ... })\n\t * TraceKit.report(exception)\n\t * try { ...code... } catch(ex) { TraceKit.report(ex); }\n\t *\n\t * Supports:\n\t * - Firefox: full stack trace with line numbers, plus column number\n\t * on top frame; column number is not guaranteed\n\t * - Opera: full stack trace with line and column numbers\n\t * - Chrome: full stack trace with line and column numbers\n\t * - Safari: line and column number for the top frame only; some frames\n\t * may be missing, and column number is not guaranteed\n\t * - IE: line and column number for the top frame only; some frames\n\t * may be missing, and column number is not guaranteed\n\t *\n\t * In theory, TraceKit should work on all of the following versions:\n\t * - IE5.5+ (only 8.0 tested)\n\t * - Firefox 0.9+ (only 3.5+ tested)\n\t * - Opera 7+ (only 10.50 tested; versions 9 and earlier may require\n\t * Exceptions Have Stacktrace to be enabled in opera:config)\n\t * - Safari 3+ (only 4+ tested)\n\t * - Chrome 1+ (only 5+ tested)\n\t * - Konqueror 3.5+ (untested)\n\t *\n\t * Requires TraceKit.computeStackTrace.\n\t *\n\t * Tries to catch all unhandled exceptions and report them to the\n\t * subscribed handlers. Please note that TraceKit.report will rethrow the\n\t * exception. This is REQUIRED in order to get a useful stack trace in IE.\n\t * If the exception does not reach the top of the browser, you will only\n\t * get a stack trace from the point where TraceKit.report was called.\n\t *\n\t * Handlers receive a stackInfo object as described in the\n\t * TraceKit.computeStackTrace docs.\n\t */\n\n\n\tTraceKit.report = function reportModuleWrapper() {\n\t var handlers = [],\n\t lastArgs = null,\n\t lastException = null,\n\t lastExceptionStack = null;\n\t /**\n\t * Add a crash handler.\n\t * @param {Function} handler\n\t */\n\n\t function subscribe(handler) {\n\t installGlobalHandler();\n\t handlers.push(handler);\n\t }\n\t /**\n\t * Remove a crash handler.\n\t * @param {Function} handler\n\t */\n\n\n\t function unsubscribe(handler) {\n\t for (var i = handlers.length - 1; i >= 0; --i) {\n\t if (handlers[i] === handler) {\n\t handlers.splice(i, 1);\n\t }\n\t }\n\t }\n\t /**\n\t * Remove all crash handlers.\n\t */\n\n\n\t function unsubscribeAll() {\n\t uninstallGlobalHandler();\n\t handlers = [];\n\t }\n\t /**\n\t * Dispatch stack information to all handlers.\n\t * @param {Object.
} stack\n\t */\n\n\n\t function notifyHandlers(stack, isWindowError) {\n\t var exception = null;\n\n\t if (isWindowError && !TraceKit.collectWindowErrors) {\n\t return;\n\t }\n\n\t for (var i in handlers) {\n\t if (handlers.hasOwnProperty(i)) {\n\t try {\n\t handlers[i].apply(null, [stack].concat(_slice.call(arguments, 2)));\n\t } catch (inner) {\n\t exception = inner;\n\t }\n\t }\n\t }\n\n\t if (exception) {\n\t throw exception;\n\t }\n\t }\n\n\t var _oldOnerrorHandler, _onErrorHandlerInstalled;\n\t /**\n\t * Ensures all global unhandled exceptions are recorded.\n\t * Supported by Gecko and IE.\n\t * @param {string} msg Error message.\n\t * @param {string} url URL of script that generated the exception.\n\t * @param {(number|string)} lineNo The line number at which the error\n\t * occurred.\n\t * @param {?(number|string)} colNo The column number at which the error\n\t * occurred.\n\t * @param {?Error} ex The actual Error object.\n\t */\n\n\n\t function traceKitWindowOnError(msg, url, lineNo, colNo, ex) {\n\t var stack = null; // If 'ex' is ErrorEvent, get real Error from inside\n\n\t var exception = utils.isErrorEvent(ex) ? ex.error : ex; // If 'msg' is ErrorEvent, get real message from inside\n\n\t var message = utils.isErrorEvent(msg) ? msg.message : msg;\n\n\t if (lastExceptionStack) {\n\t TraceKit.computeStackTrace.augmentStackTraceWithInitialElement(lastExceptionStack, url, lineNo, message);\n\t processLastException();\n\t } else if (exception && utils.isError(exception)) {\n\t // non-string `exception` arg; attempt to extract stack trace\n\t // New chrome and blink send along a real error object\n\t // Let's just report that like a normal error.\n\t // See: https://mikewest.org/2013/08/debugging-runtime-errors-with-window-onerror\n\t stack = TraceKit.computeStackTrace(exception);\n\t notifyHandlers(stack, true);\n\t } else {\n\t var location = {\n\t url: url,\n\t line: lineNo,\n\t column: colNo\n\t };\n\t var name = undefined;\n\t var groups;\n\n\t if ({}.toString.call(message) === '[object String]') {\n\t var groups = message.match(ERROR_TYPES_RE);\n\n\t if (groups) {\n\t name = groups[1];\n\t message = groups[2];\n\t }\n\t }\n\n\t location.func = UNKNOWN_FUNCTION;\n\t stack = {\n\t name: name,\n\t message: message,\n\t url: getLocationHref(),\n\t stack: [location]\n\t };\n\t notifyHandlers(stack, true);\n\t }\n\n\t if (_oldOnerrorHandler) {\n\t return _oldOnerrorHandler.apply(this, arguments);\n\t }\n\n\t return false;\n\t }\n\n\t function installGlobalHandler() {\n\t if (_onErrorHandlerInstalled) {\n\t return;\n\t }\n\n\t _oldOnerrorHandler = _window$1.onerror;\n\t _window$1.onerror = traceKitWindowOnError;\n\t _onErrorHandlerInstalled = true;\n\t }\n\n\t function uninstallGlobalHandler() {\n\t if (!_onErrorHandlerInstalled) {\n\t return;\n\t }\n\n\t _window$1.onerror = _oldOnerrorHandler;\n\t _onErrorHandlerInstalled = false;\n\t _oldOnerrorHandler = undefined;\n\t }\n\n\t function processLastException() {\n\t var _lastExceptionStack = lastExceptionStack,\n\t _lastArgs = lastArgs;\n\t lastArgs = null;\n\t lastExceptionStack = null;\n\t lastException = null;\n\t notifyHandlers.apply(null, [_lastExceptionStack, false].concat(_lastArgs));\n\t }\n\t /**\n\t * Reports an unhandled Error to TraceKit.\n\t * @param {Error} ex\n\t * @param {?boolean} rethrow If false, do not re-throw the exception.\n\t * Only used for window.onerror to not cause an infinite loop of\n\t * rethrowing.\n\t */\n\n\n\t function report(ex, rethrow) {\n\t var args = _slice.call(arguments, 1);\n\n\t if (lastExceptionStack) {\n\t if (lastException === ex) {\n\t return; // already caught by an inner catch block, ignore\n\t } else {\n\t processLastException();\n\t }\n\t }\n\n\t var stack = TraceKit.computeStackTrace(ex);\n\t lastExceptionStack = stack;\n\t lastException = ex;\n\t lastArgs = args; // If the stack trace is incomplete, wait for 2 seconds for\n\t // slow slow IE to see if onerror occurs or not before reporting\n\t // this exception; otherwise, we will end up with an incomplete\n\t // stack trace\n\n\t setTimeout(function () {\n\t if (lastException === ex) {\n\t processLastException();\n\t }\n\t }, stack.incomplete ? 2000 : 0);\n\n\t if (rethrow !== false) {\n\t throw ex; // re-throw to propagate to the top level (and cause window.onerror)\n\t }\n\t }\n\n\t report.subscribe = subscribe;\n\t report.unsubscribe = unsubscribe;\n\t report.uninstall = unsubscribeAll;\n\t return report;\n\t}();\n\t/**\n\t * TraceKit.computeStackTrace: cross-browser stack traces in JavaScript\n\t *\n\t * Syntax:\n\t * s = TraceKit.computeStackTrace(exception) // consider using TraceKit.report instead (see below)\n\t * Returns:\n\t * s.name - exception name\n\t * s.message - exception message\n\t * s.stack[i].url - JavaScript or HTML file URL\n\t * s.stack[i].func - function name, or empty for anonymous functions (if guessing did not work)\n\t * s.stack[i].args - arguments passed to the function, if known\n\t * s.stack[i].line - line number, if known\n\t * s.stack[i].column - column number, if known\n\t *\n\t * Supports:\n\t * - Firefox: full stack trace with line numbers and unreliable column\n\t * number on top frame\n\t * - Opera 10: full stack trace with line and column numbers\n\t * - Opera 9-: full stack trace with line numbers\n\t * - Chrome: full stack trace with line and column numbers\n\t * - Safari: line and column number for the topmost stacktrace element\n\t * only\n\t * - IE: no line numbers whatsoever\n\t *\n\t * Tries to guess names of anonymous functions by looking for assignments\n\t * in the source code. In IE and Safari, we have to guess source file names\n\t * by searching for function bodies inside all page scripts. This will not\n\t * work for scripts that are loaded cross-domain.\n\t * Here be dragons: some function names may be guessed incorrectly, and\n\t * duplicate functions may be mismatched.\n\t *\n\t * TraceKit.computeStackTrace should only be used for tracing purposes.\n\t * Logging of unhandled exceptions should be done with TraceKit.report,\n\t * which builds on top of TraceKit.computeStackTrace and provides better\n\t * IE support by utilizing the window.onerror event to retrieve information\n\t * about the top of the stack.\n\t *\n\t * Note: In IE and Safari, no stack trace is recorded on the Error object,\n\t * so computeStackTrace instead walks its *own* chain of callers.\n\t * This means that:\n\t * * in Safari, some methods may be missing from the stack trace;\n\t * * in IE, the topmost function in the stack trace will always be the\n\t * caller of computeStackTrace.\n\t *\n\t * This is okay for tracing (because you are likely to be calling\n\t * computeStackTrace from the function you want to be the topmost element\n\t * of the stack trace anyway), but not okay for logging unhandled\n\t * exceptions (because your catch block will likely be far away from the\n\t * inner function that actually caused the exception).\n\t *\n\t */\n\n\n\tTraceKit.computeStackTrace = function computeStackTraceWrapper() {\n\t // Contents of Exception in various browsers.\n\t //\n\t // SAFARI:\n\t // ex.message = Can't find variable: qq\n\t // ex.line = 59\n\t // ex.sourceId = 580238192\n\t // ex.sourceURL = http://...\n\t // ex.expressionBeginOffset = 96\n\t // ex.expressionCaretOffset = 98\n\t // ex.expressionEndOffset = 98\n\t // ex.name = ReferenceError\n\t //\n\t // FIREFOX:\n\t // ex.message = qq is not defined\n\t // ex.fileName = http://...\n\t // ex.lineNumber = 59\n\t // ex.columnNumber = 69\n\t // ex.stack = ...stack trace... (see the example below)\n\t // ex.name = ReferenceError\n\t //\n\t // CHROME:\n\t // ex.message = qq is not defined\n\t // ex.name = ReferenceError\n\t // ex.type = not_defined\n\t // ex.arguments = ['aa']\n\t // ex.stack = ...stack trace...\n\t //\n\t // INTERNET EXPLORER:\n\t // ex.message = ...\n\t // ex.name = ReferenceError\n\t //\n\t // OPERA:\n\t // ex.message = ...message... (see the example below)\n\t // ex.name = ReferenceError\n\t // ex.opera#sourceloc = 11 (pretty much useless, duplicates the info in ex.message)\n\t // ex.stacktrace = n/a; see 'opera:config#UserPrefs|Exceptions Have Stacktrace'\n\n\t /**\n\t * Computes stack trace information from the stack property.\n\t * Chrome and Gecko use this property.\n\t * @param {Error} ex\n\t * @return {?Object.} Stack trace information.\n\t */\n\t function computeStackTraceFromStackProp(ex) {\n\t if (typeof ex.stack === 'undefined' || !ex.stack) return;\n\t var chrome = /^\\s*at (?:(.*?) ?\\()?((?:file|https?|blob|chrome-extension|native|eval|webpack||[a-z]:|\\/).*?)(?::(\\d+))?(?::(\\d+))?\\)?\\s*$/i;\n\t var winjs = /^\\s*at (?:((?:\\[object object\\])?.+) )?\\(?((?:file|ms-appx(?:-web)|https?|webpack|blob):.*?):(\\d+)(?::(\\d+))?\\)?\\s*$/i; // NOTE: blob urls are now supposed to always have an origin, therefore it's format\n\t // which is `blob:http://url/path/with-some-uuid`, is matched by `blob.*?:\\/` as well\n\n\t var gecko = /^\\s*(.*?)(?:\\((.*?)\\))?(?:^|@)((?:file|https?|blob|chrome|webpack|resource|moz-extension).*?:\\/.*?|\\[native code\\]|[^@]*bundle)(?::(\\d+))?(?::(\\d+))?\\s*$/i; // Used to additionally parse URL/line/column from eval frames\n\n\t var geckoEval = /(\\S+) line (\\d+)(?: > eval line \\d+)* > eval/i;\n\t var chromeEval = /\\((\\S*)(?::(\\d+))(?::(\\d+))\\)/;\n\t var lines = ex.stack.split('\\n');\n\t var stack = [];\n\t var submatch;\n\t var parts;\n\t var element;\n\t var reference = /^(.*) is undefined$/.exec(ex.message);\n\n\t for (var i = 0, j = lines.length; i < j; ++i) {\n\t if (parts = chrome.exec(lines[i])) {\n\t var isNative = parts[2] && parts[2].indexOf('native') === 0; // start of line\n\n\t var isEval = parts[2] && parts[2].indexOf('eval') === 0; // start of line\n\n\t if (isEval && (submatch = chromeEval.exec(parts[2]))) {\n\t // throw out eval line/column and use top-most line/column number\n\t parts[2] = submatch[1]; // url\n\n\t parts[3] = submatch[2]; // line\n\n\t parts[4] = submatch[3]; // column\n\t }\n\n\t element = {\n\t url: !isNative ? parts[2] : null,\n\t func: parts[1] || UNKNOWN_FUNCTION,\n\t args: isNative ? [parts[2]] : [],\n\t line: parts[3] ? +parts[3] : null,\n\t column: parts[4] ? +parts[4] : null\n\t };\n\t } else if (parts = winjs.exec(lines[i])) {\n\t element = {\n\t url: parts[2],\n\t func: parts[1] || UNKNOWN_FUNCTION,\n\t args: [],\n\t line: +parts[3],\n\t column: parts[4] ? +parts[4] : null\n\t };\n\t } else if (parts = gecko.exec(lines[i])) {\n\t var isEval = parts[3] && parts[3].indexOf(' > eval') > -1;\n\n\t if (isEval && (submatch = geckoEval.exec(parts[3]))) {\n\t // throw out eval line/column and use top-most line number\n\t parts[3] = submatch[1];\n\t parts[4] = submatch[2];\n\t parts[5] = null; // no column when eval\n\t } else if (i === 0 && !parts[5] && typeof ex.columnNumber !== 'undefined') {\n\t // FireFox uses this awesome columnNumber property for its top frame\n\t // Also note, Firefox's column number is 0-based and everything else expects 1-based,\n\t // so adding 1\n\t // NOTE: this hack doesn't work if top-most frame is eval\n\t stack[0].column = ex.columnNumber + 1;\n\t }\n\n\t element = {\n\t url: parts[3],\n\t func: parts[1] || UNKNOWN_FUNCTION,\n\t args: parts[2] ? parts[2].split(',') : [],\n\t line: parts[4] ? +parts[4] : null,\n\t column: parts[5] ? +parts[5] : null\n\t };\n\t } else {\n\t continue;\n\t }\n\n\t if (!element.func && element.line) {\n\t element.func = UNKNOWN_FUNCTION;\n\t }\n\n\t if (element.url && element.url.substr(0, 5) === 'blob:') {\n\t // Special case for handling JavaScript loaded into a blob.\n\t // We use a synchronous AJAX request here as a blob is already in\n\t // memory - it's not making a network request. This will generate a warning\n\t // in the browser console, but there has already been an error so that's not\n\t // that much of an issue.\n\t var xhr = new XMLHttpRequest();\n\t xhr.open('GET', element.url, false);\n\t xhr.send(null); // If we failed to download the source, skip this patch\n\n\t if (xhr.status === 200) {\n\t var source = xhr.responseText || ''; // We trim the source down to the last 300 characters as sourceMappingURL is always at the end of the file.\n\t // Why 300? To be in line with: https://github.com/getsentry/sentry/blob/4af29e8f2350e20c28a6933354e4f42437b4ba42/src/sentry/lang/javascript/processor.py#L164-L175\n\n\t source = source.slice(-300); // Now we dig out the source map URL\n\n\t var sourceMaps = source.match(/\\/\\/# sourceMappingURL=(.*)$/); // If we don't find a source map comment or we find more than one, continue on to the next element.\n\n\t if (sourceMaps) {\n\t var sourceMapAddress = sourceMaps[1]; // Now we check to see if it's a relative URL.\n\t // If it is, convert it to an absolute one.\n\n\t if (sourceMapAddress.charAt(0) === '~') {\n\t sourceMapAddress = getLocationOrigin() + sourceMapAddress.slice(1);\n\t } // Now we strip the '.map' off of the end of the URL and update the\n\t // element so that Sentry can match the map to the blob.\n\n\n\t element.url = sourceMapAddress.slice(0, -4);\n\t }\n\t }\n\t }\n\n\t stack.push(element);\n\t }\n\n\t if (!stack.length) {\n\t return null;\n\t }\n\n\t return {\n\t name: ex.name,\n\t message: ex.message,\n\t url: getLocationHref(),\n\t stack: stack\n\t };\n\t }\n\t /**\n\t * Adds information about the first frame to incomplete stack traces.\n\t * Safari and IE require this to get complete data on the first frame.\n\t * @param {Object.} stackInfo Stack trace information from\n\t * one of the compute* methods.\n\t * @param {string} url The URL of the script that caused an error.\n\t * @param {(number|string)} lineNo The line number of the script that\n\t * caused an error.\n\t * @param {string=} message The error generated by the browser, which\n\t * hopefully contains the name of the object that caused the error.\n\t * @return {boolean} Whether or not the stack information was\n\t * augmented.\n\t */\n\n\n\t function augmentStackTraceWithInitialElement(stackInfo, url, lineNo, message) {\n\t var initial = {\n\t url: url,\n\t line: lineNo\n\t };\n\n\t if (initial.url && initial.line) {\n\t stackInfo.incomplete = false;\n\n\t if (!initial.func) {\n\t initial.func = UNKNOWN_FUNCTION;\n\t }\n\n\t if (stackInfo.stack.length > 0) {\n\t if (stackInfo.stack[0].url === initial.url) {\n\t if (stackInfo.stack[0].line === initial.line) {\n\t return false; // already in stack trace\n\t } else if (!stackInfo.stack[0].line && stackInfo.stack[0].func === initial.func) {\n\t stackInfo.stack[0].line = initial.line;\n\t return false;\n\t }\n\t }\n\t }\n\n\t stackInfo.stack.unshift(initial);\n\t stackInfo.partial = true;\n\t return true;\n\t } else {\n\t stackInfo.incomplete = true;\n\t }\n\n\t return false;\n\t }\n\t /**\n\t * Computes stack trace information by walking the arguments.caller\n\t * chain at the time the exception occurred. This will cause earlier\n\t * frames to be missed but is the only way to get any stack trace in\n\t * Safari and IE. The top frame is restored by\n\t * {@link augmentStackTraceWithInitialElement}.\n\t * @param {Error} ex\n\t * @return {?Object.} Stack trace information.\n\t */\n\n\n\t function computeStackTraceByWalkingCallerChain(ex, depth) {\n\t var functionName = /function\\s+([_$a-zA-Z\\xA0-\\uFFFF][_$a-zA-Z0-9\\xA0-\\uFFFF]*)?\\s*\\(/i,\n\t stack = [],\n\t funcs = {},\n\t recursion = false,\n\t parts,\n\t item;\n\n\t for (var curr = computeStackTraceByWalkingCallerChain.caller; curr && !recursion; curr = curr.caller) {\n\t if (curr === computeStackTrace || curr === TraceKit.report) {\n\t // console.log('skipping internal function');\n\t continue;\n\t }\n\n\t item = {\n\t url: null,\n\t func: UNKNOWN_FUNCTION,\n\t line: null,\n\t column: null\n\t };\n\n\t if (curr.name) {\n\t item.func = curr.name;\n\t } else if (parts = functionName.exec(curr.toString())) {\n\t item.func = parts[1];\n\t }\n\n\t if (typeof item.func === 'undefined') {\n\t try {\n\t item.func = parts.input.substring(0, parts.input.indexOf('{'));\n\t } catch (e) {}\n\t }\n\n\t if (funcs['' + curr]) {\n\t recursion = true;\n\t } else {\n\t funcs['' + curr] = true;\n\t }\n\n\t stack.push(item);\n\t }\n\n\t if (depth) {\n\t // console.log('depth is ' + depth);\n\t // console.log('stack is ' + stack.length);\n\t stack.splice(0, depth);\n\t }\n\n\t var result = {\n\t name: ex.name,\n\t message: ex.message,\n\t url: getLocationHref(),\n\t stack: stack\n\t };\n\t augmentStackTraceWithInitialElement(result, ex.sourceURL || ex.fileName, ex.line || ex.lineNumber, ex.message || ex.description);\n\t return result;\n\t }\n\t /**\n\t * Computes a stack trace for an exception.\n\t * @param {Error} ex\n\t * @param {(string|number)=} depth\n\t */\n\n\n\t function computeStackTrace(ex, depth) {\n\t var stack = null;\n\t depth = depth == null ? 0 : +depth;\n\n\t try {\n\t stack = computeStackTraceFromStackProp(ex);\n\n\t if (stack) {\n\t return stack;\n\t }\n\t } catch (e) {\n\t if (TraceKit.debug) {\n\t throw e;\n\t }\n\t }\n\n\t try {\n\t stack = computeStackTraceByWalkingCallerChain(ex, depth + 1);\n\n\t if (stack) {\n\t return stack;\n\t }\n\t } catch (e) {\n\t if (TraceKit.debug) {\n\t throw e;\n\t }\n\t }\n\n\t return {\n\t name: ex.name,\n\t message: ex.message,\n\t url: getLocationHref()\n\t };\n\t }\n\n\t computeStackTrace.augmentStackTraceWithInitialElement = augmentStackTraceWithInitialElement;\n\t computeStackTrace.computeStackTraceFromStackProp = computeStackTraceFromStackProp;\n\t return computeStackTrace;\n\t}();\n\n\tvar tracekit = TraceKit;\n\n\t/*\n\t * JavaScript MD5\n\t * https://github.com/blueimp/JavaScript-MD5\n\t *\n\t * Copyright 2011, Sebastian Tschan\n\t * https://blueimp.net\n\t *\n\t * Licensed under the MIT license:\n\t * https://opensource.org/licenses/MIT\n\t *\n\t * Based on\n\t * A JavaScript implementation of the RSA Data Security, Inc. MD5 Message\n\t * Digest Algorithm, as defined in RFC 1321.\n\t * Version 2.2 Copyright (C) Paul Johnston 1999 - 2009\n\t * Other contributors: Greg Holt, Andrew Kepert, Ydnar, Lostinet\n\t * Distributed under the BSD License\n\t * See http://pajhome.org.uk/crypt/md5 for more info.\n\t */\n\n\t/*\n\t* Add integers, wrapping at 2^32. This uses 16-bit operations internally\n\t* to work around bugs in some JS interpreters.\n\t*/\n\tfunction safeAdd(x, y) {\n\t var lsw = (x & 0xffff) + (y & 0xffff);\n\t var msw = (x >> 16) + (y >> 16) + (lsw >> 16);\n\t return msw << 16 | lsw & 0xffff;\n\t}\n\t/*\n\t* Bitwise rotate a 32-bit number to the left.\n\t*/\n\n\n\tfunction bitRotateLeft(num, cnt) {\n\t return num << cnt | num >>> 32 - cnt;\n\t}\n\t/*\n\t* These functions implement the four basic operations the algorithm uses.\n\t*/\n\n\n\tfunction md5cmn(q, a, b, x, s, t) {\n\t return safeAdd(bitRotateLeft(safeAdd(safeAdd(a, q), safeAdd(x, t)), s), b);\n\t}\n\n\tfunction md5ff(a, b, c, d, x, s, t) {\n\t return md5cmn(b & c | ~b & d, a, b, x, s, t);\n\t}\n\n\tfunction md5gg(a, b, c, d, x, s, t) {\n\t return md5cmn(b & d | c & ~d, a, b, x, s, t);\n\t}\n\n\tfunction md5hh(a, b, c, d, x, s, t) {\n\t return md5cmn(b ^ c ^ d, a, b, x, s, t);\n\t}\n\n\tfunction md5ii(a, b, c, d, x, s, t) {\n\t return md5cmn(c ^ (b | ~d), a, b, x, s, t);\n\t}\n\t/*\n\t* Calculate the MD5 of an array of little-endian words, and a bit length.\n\t*/\n\n\n\tfunction binlMD5(x, len) {\n\t /* append padding */\n\t x[len >> 5] |= 0x80 << len % 32;\n\t x[(len + 64 >>> 9 << 4) + 14] = len;\n\t var i;\n\t var olda;\n\t var oldb;\n\t var oldc;\n\t var oldd;\n\t var a = 1732584193;\n\t var b = -271733879;\n\t var c = -1732584194;\n\t var d = 271733878;\n\n\t for (i = 0; i < x.length; i += 16) {\n\t olda = a;\n\t oldb = b;\n\t oldc = c;\n\t oldd = d;\n\t a = md5ff(a, b, c, d, x[i], 7, -680876936);\n\t d = md5ff(d, a, b, c, x[i + 1], 12, -389564586);\n\t c = md5ff(c, d, a, b, x[i + 2], 17, 606105819);\n\t b = md5ff(b, c, d, a, x[i + 3], 22, -1044525330);\n\t a = md5ff(a, b, c, d, x[i + 4], 7, -176418897);\n\t d = md5ff(d, a, b, c, x[i + 5], 12, 1200080426);\n\t c = md5ff(c, d, a, b, x[i + 6], 17, -1473231341);\n\t b = md5ff(b, c, d, a, x[i + 7], 22, -45705983);\n\t a = md5ff(a, b, c, d, x[i + 8], 7, 1770035416);\n\t d = md5ff(d, a, b, c, x[i + 9], 12, -1958414417);\n\t c = md5ff(c, d, a, b, x[i + 10], 17, -42063);\n\t b = md5ff(b, c, d, a, x[i + 11], 22, -1990404162);\n\t a = md5ff(a, b, c, d, x[i + 12], 7, 1804603682);\n\t d = md5ff(d, a, b, c, x[i + 13], 12, -40341101);\n\t c = md5ff(c, d, a, b, x[i + 14], 17, -1502002290);\n\t b = md5ff(b, c, d, a, x[i + 15], 22, 1236535329);\n\t a = md5gg(a, b, c, d, x[i + 1], 5, -165796510);\n\t d = md5gg(d, a, b, c, x[i + 6], 9, -1069501632);\n\t c = md5gg(c, d, a, b, x[i + 11], 14, 643717713);\n\t b = md5gg(b, c, d, a, x[i], 20, -373897302);\n\t a = md5gg(a, b, c, d, x[i + 5], 5, -701558691);\n\t d = md5gg(d, a, b, c, x[i + 10], 9, 38016083);\n\t c = md5gg(c, d, a, b, x[i + 15], 14, -660478335);\n\t b = md5gg(b, c, d, a, x[i + 4], 20, -405537848);\n\t a = md5gg(a, b, c, d, x[i + 9], 5, 568446438);\n\t d = md5gg(d, a, b, c, x[i + 14], 9, -1019803690);\n\t c = md5gg(c, d, a, b, x[i + 3], 14, -187363961);\n\t b = md5gg(b, c, d, a, x[i + 8], 20, 1163531501);\n\t a = md5gg(a, b, c, d, x[i + 13], 5, -1444681467);\n\t d = md5gg(d, a, b, c, x[i + 2], 9, -51403784);\n\t c = md5gg(c, d, a, b, x[i + 7], 14, 1735328473);\n\t b = md5gg(b, c, d, a, x[i + 12], 20, -1926607734);\n\t a = md5hh(a, b, c, d, x[i + 5], 4, -378558);\n\t d = md5hh(d, a, b, c, x[i + 8], 11, -2022574463);\n\t c = md5hh(c, d, a, b, x[i + 11], 16, 1839030562);\n\t b = md5hh(b, c, d, a, x[i + 14], 23, -35309556);\n\t a = md5hh(a, b, c, d, x[i + 1], 4, -1530992060);\n\t d = md5hh(d, a, b, c, x[i + 4], 11, 1272893353);\n\t c = md5hh(c, d, a, b, x[i + 7], 16, -155497632);\n\t b = md5hh(b, c, d, a, x[i + 10], 23, -1094730640);\n\t a = md5hh(a, b, c, d, x[i + 13], 4, 681279174);\n\t d = md5hh(d, a, b, c, x[i], 11, -358537222);\n\t c = md5hh(c, d, a, b, x[i + 3], 16, -722521979);\n\t b = md5hh(b, c, d, a, x[i + 6], 23, 76029189);\n\t a = md5hh(a, b, c, d, x[i + 9], 4, -640364487);\n\t d = md5hh(d, a, b, c, x[i + 12], 11, -421815835);\n\t c = md5hh(c, d, a, b, x[i + 15], 16, 530742520);\n\t b = md5hh(b, c, d, a, x[i + 2], 23, -995338651);\n\t a = md5ii(a, b, c, d, x[i], 6, -198630844);\n\t d = md5ii(d, a, b, c, x[i + 7], 10, 1126891415);\n\t c = md5ii(c, d, a, b, x[i + 14], 15, -1416354905);\n\t b = md5ii(b, c, d, a, x[i + 5], 21, -57434055);\n\t a = md5ii(a, b, c, d, x[i + 12], 6, 1700485571);\n\t d = md5ii(d, a, b, c, x[i + 3], 10, -1894986606);\n\t c = md5ii(c, d, a, b, x[i + 10], 15, -1051523);\n\t b = md5ii(b, c, d, a, x[i + 1], 21, -2054922799);\n\t a = md5ii(a, b, c, d, x[i + 8], 6, 1873313359);\n\t d = md5ii(d, a, b, c, x[i + 15], 10, -30611744);\n\t c = md5ii(c, d, a, b, x[i + 6], 15, -1560198380);\n\t b = md5ii(b, c, d, a, x[i + 13], 21, 1309151649);\n\t a = md5ii(a, b, c, d, x[i + 4], 6, -145523070);\n\t d = md5ii(d, a, b, c, x[i + 11], 10, -1120210379);\n\t c = md5ii(c, d, a, b, x[i + 2], 15, 718787259);\n\t b = md5ii(b, c, d, a, x[i + 9], 21, -343485551);\n\t a = safeAdd(a, olda);\n\t b = safeAdd(b, oldb);\n\t c = safeAdd(c, oldc);\n\t d = safeAdd(d, oldd);\n\t }\n\n\t return [a, b, c, d];\n\t}\n\t/*\n\t* Convert an array of little-endian words to a string\n\t*/\n\n\n\tfunction binl2rstr(input) {\n\t var i;\n\t var output = '';\n\t var length32 = input.length * 32;\n\n\t for (i = 0; i < length32; i += 8) {\n\t output += String.fromCharCode(input[i >> 5] >>> i % 32 & 0xff);\n\t }\n\n\t return output;\n\t}\n\t/*\n\t* Convert a raw string to an array of little-endian words\n\t* Characters >255 have their high-byte silently ignored.\n\t*/\n\n\n\tfunction rstr2binl(input) {\n\t var i;\n\t var output = [];\n\t output[(input.length >> 2) - 1] = undefined;\n\n\t for (i = 0; i < output.length; i += 1) {\n\t output[i] = 0;\n\t }\n\n\t var length8 = input.length * 8;\n\n\t for (i = 0; i < length8; i += 8) {\n\t output[i >> 5] |= (input.charCodeAt(i / 8) & 0xff) << i % 32;\n\t }\n\n\t return output;\n\t}\n\t/*\n\t* Calculate the MD5 of a raw string\n\t*/\n\n\n\tfunction rstrMD5(s) {\n\t return binl2rstr(binlMD5(rstr2binl(s), s.length * 8));\n\t}\n\t/*\n\t* Calculate the HMAC-MD5, of a key and some data (raw strings)\n\t*/\n\n\n\tfunction rstrHMACMD5(key, data) {\n\t var i;\n\t var bkey = rstr2binl(key);\n\t var ipad = [];\n\t var opad = [];\n\t var hash;\n\t ipad[15] = opad[15] = undefined;\n\n\t if (bkey.length > 16) {\n\t bkey = binlMD5(bkey, key.length * 8);\n\t }\n\n\t for (i = 0; i < 16; i += 1) {\n\t ipad[i] = bkey[i] ^ 0x36363636;\n\t opad[i] = bkey[i] ^ 0x5c5c5c5c;\n\t }\n\n\t hash = binlMD5(ipad.concat(rstr2binl(data)), 512 + data.length * 8);\n\t return binl2rstr(binlMD5(opad.concat(hash), 512 + 128));\n\t}\n\t/*\n\t* Convert a raw string to a hex string\n\t*/\n\n\n\tfunction rstr2hex(input) {\n\t var hexTab = '0123456789abcdef';\n\t var output = '';\n\t var x;\n\t var i;\n\n\t for (i = 0; i < input.length; i += 1) {\n\t x = input.charCodeAt(i);\n\t output += hexTab.charAt(x >>> 4 & 0x0f) + hexTab.charAt(x & 0x0f);\n\t }\n\n\t return output;\n\t}\n\t/*\n\t* Encode a string as utf-8\n\t*/\n\n\n\tfunction str2rstrUTF8(input) {\n\t return unescape(encodeURIComponent(input));\n\t}\n\t/*\n\t* Take string arguments and return either raw or hex encoded strings\n\t*/\n\n\n\tfunction rawMD5(s) {\n\t return rstrMD5(str2rstrUTF8(s));\n\t}\n\n\tfunction hexMD5(s) {\n\t return rstr2hex(rawMD5(s));\n\t}\n\n\tfunction rawHMACMD5(k, d) {\n\t return rstrHMACMD5(str2rstrUTF8(k), str2rstrUTF8(d));\n\t}\n\n\tfunction hexHMACMD5(k, d) {\n\t return rstr2hex(rawHMACMD5(k, d));\n\t}\n\n\tfunction md5(string, key, raw) {\n\t if (!key) {\n\t if (!raw) {\n\t return hexMD5(string);\n\t }\n\n\t return rawMD5(string);\n\t }\n\n\t if (!raw) {\n\t return hexHMACMD5(key, string);\n\t }\n\n\t return rawHMACMD5(key, string);\n\t}\n\n\tvar md5_1 = md5;\n\n\tfunction RavenConfigError(message) {\n\t this.name = 'RavenConfigError';\n\t this.message = message;\n\t}\n\n\tRavenConfigError.prototype = new Error();\n\tRavenConfigError.prototype.constructor = RavenConfigError;\n\tvar configError = RavenConfigError;\n\n\tvar wrapMethod = function wrapMethod(console, level, callback) {\n\t var originalConsoleLevel = console[level];\n\t var originalConsole = console;\n\n\t if (!(level in console)) {\n\t return;\n\t }\n\n\t var sentryLevel = level === 'warn' ? 'warning' : level;\n\n\t console[level] = function () {\n\t var args = [].slice.call(arguments);\n\t var msg = utils.safeJoin(args, ' ');\n\t var data = {\n\t level: sentryLevel,\n\t logger: 'console',\n\t extra: {\n\t arguments: args\n\t }\n\t };\n\n\t if (level === 'assert') {\n\t if (args[0] === false) {\n\t // Default browsers message\n\t msg = 'Assertion failed: ' + (utils.safeJoin(args.slice(1), ' ') || 'console.assert');\n\t data.extra.arguments = args.slice(1);\n\t callback && callback(msg, data);\n\t }\n\t } else {\n\t callback && callback(msg, data);\n\t } // this fails for some browsers. :(\n\n\n\t if (originalConsoleLevel) {\n\t // IE9 doesn't allow calling apply on console functions directly\n\t // See: https://stackoverflow.com/questions/5472938/does-ie9-support-console-log-and-is-it-a-real-function#answer-5473193\n\t Function.prototype.apply.call(originalConsoleLevel, originalConsole, args);\n\t }\n\t };\n\t};\n\n\tvar console$1 = {\n\t wrapMethod: wrapMethod\n\t};\n\n\t/*global XDomainRequest:false */\n\n\tvar isErrorEvent$1 = utils.isErrorEvent;\n\tvar isDOMError$1 = utils.isDOMError;\n\tvar isDOMException$1 = utils.isDOMException;\n\tvar isError$1 = utils.isError;\n\tvar isObject$1 = utils.isObject;\n\tvar isPlainObject$1 = utils.isPlainObject;\n\tvar isUndefined$1 = utils.isUndefined;\n\tvar isFunction$1 = utils.isFunction;\n\tvar isString$1 = utils.isString;\n\tvar isArray$1 = utils.isArray;\n\tvar isEmptyObject$1 = utils.isEmptyObject;\n\tvar each$1 = utils.each;\n\tvar objectMerge$1 = utils.objectMerge;\n\tvar truncate$1 = utils.truncate;\n\tvar objectFrozen$1 = utils.objectFrozen;\n\tvar hasKey$1 = utils.hasKey;\n\tvar joinRegExp$1 = utils.joinRegExp;\n\tvar urlencode$1 = utils.urlencode;\n\tvar uuid4$1 = utils.uuid4;\n\tvar htmlTreeAsString$1 = utils.htmlTreeAsString;\n\tvar isSameException$1 = utils.isSameException;\n\tvar isSameStacktrace$1 = utils.isSameStacktrace;\n\tvar parseUrl$1 = utils.parseUrl;\n\tvar fill$1 = utils.fill;\n\tvar supportsFetch$1 = utils.supportsFetch;\n\tvar supportsReferrerPolicy$1 = utils.supportsReferrerPolicy;\n\tvar serializeKeysForMessage$1 = utils.serializeKeysForMessage;\n\tvar serializeException$1 = utils.serializeException;\n\tvar sanitize$1 = utils.sanitize;\n\tvar wrapConsoleMethod = console$1.wrapMethod;\n\tvar dsnKeys = 'source protocol user pass host port path'.split(' '),\n\t dsnPattern = /^(?:(\\w+):)?\\/\\/(?:(\\w+)(:\\w+)?@)?([\\w\\.-]+)(?::(\\d+))?(\\/.*)/;\n\n\tfunction now() {\n\t return +new Date();\n\t} // This is to be defensive in environments where window does not exist (see https://github.com/getsentry/raven-js/pull/785)\n\n\n\tvar _window$2 = typeof window !== 'undefined' ? window : typeof commonjsGlobal !== 'undefined' ? commonjsGlobal : typeof self !== 'undefined' ? self : {};\n\n\tvar _document = _window$2.document;\n\tvar _navigator = _window$2.navigator;\n\n\tfunction keepOriginalCallback(original, callback) {\n\t return isFunction$1(callback) ? function (data) {\n\t return callback(data, original);\n\t } : callback;\n\t} // First, check for JSON support\n\t// If there is no JSON, we no-op the core features of Raven\n\t// since JSON is required to encode the payload\n\n\n\tfunction Raven() {\n\t this._hasJSON = !!((typeof JSON === \"undefined\" ? \"undefined\" : _typeof(JSON)) === 'object' && JSON.stringify); // Raven can run in contexts where there's no document (react-native)\n\n\t this._hasDocument = !isUndefined$1(_document);\n\t this._hasNavigator = !isUndefined$1(_navigator);\n\t this._lastCapturedException = null;\n\t this._lastData = null;\n\t this._lastEventId = null;\n\t this._globalServer = null;\n\t this._globalKey = null;\n\t this._globalProject = null;\n\t this._globalContext = {};\n\t this._globalOptions = {\n\t // SENTRY_RELEASE can be injected by https://github.com/getsentry/sentry-webpack-plugin\n\t release: _window$2.SENTRY_RELEASE && _window$2.SENTRY_RELEASE.id,\n\t logger: 'javascript',\n\t ignoreErrors: [],\n\t ignoreUrls: [],\n\t whitelistUrls: [],\n\t includePaths: [],\n\t headers: null,\n\t collectWindowErrors: true,\n\t captureUnhandledRejections: true,\n\t maxMessageLength: 0,\n\t // By default, truncates URL values to 250 chars\n\t maxUrlLength: 250,\n\t stackTraceLimit: 50,\n\t autoBreadcrumbs: true,\n\t instrument: true,\n\t sampleRate: 1,\n\t sanitizeKeys: []\n\t };\n\t this._fetchDefaults = {\n\t method: 'POST',\n\t // Despite all stars in the sky saying that Edge supports old draft syntax, aka 'never', 'always', 'origin' and 'default\n\t // https://caniuse.com/#feat=referrer-policy\n\t // It doesn't. And it throw exception instead of ignoring this parameter...\n\t // REF: https://github.com/getsentry/raven-js/issues/1233\n\t referrerPolicy: supportsReferrerPolicy$1() ? 'origin' : ''\n\t };\n\t this._ignoreOnError = 0;\n\t this._isRavenInstalled = false;\n\t this._originalErrorStackTraceLimit = Error.stackTraceLimit; // capture references to window.console *and* all its methods first\n\t // before the console plugin has a chance to monkey patch\n\n\t this._originalConsole = _window$2.console || {};\n\t this._originalConsoleMethods = {};\n\t this._plugins = [];\n\t this._startTime = now();\n\t this._wrappedBuiltIns = [];\n\t this._breadcrumbs = [];\n\t this._lastCapturedEvent = null;\n\t this._keypressTimeout;\n\t this._location = _window$2.location;\n\t this._lastHref = this._location && this._location.href;\n\n\t this._resetBackoff(); // eslint-disable-next-line guard-for-in\n\n\n\t for (var method in this._originalConsole) {\n\t this._originalConsoleMethods[method] = this._originalConsole[method];\n\t }\n\t}\n\t/*\n\t * The core Raven singleton\n\t *\n\t * @this {Raven}\n\t */\n\n\n\tRaven.prototype = {\n\t // Hardcode version string so that raven source can be loaded directly via\n\t // webpack (using a build step causes webpack #1617). Grunt verifies that\n\t // this value matches package.json during build.\n\t // See: https://github.com/getsentry/raven-js/issues/465\n\t VERSION: '3.27.0',\n\t debug: false,\n\t TraceKit: tracekit,\n\t // alias to TraceKit\n\n\t /*\n\t * Configure Raven with a DSN and extra options\n\t *\n\t * @param {string} dsn The public Sentry DSN\n\t * @param {object} options Set of global options [optional]\n\t * @return {Raven}\n\t */\n\t config: function config(dsn, options) {\n\t var self = this;\n\n\t if (self._globalServer) {\n\t this._logDebug('error', 'Error: Raven has already been configured');\n\n\t return self;\n\t }\n\n\t if (!dsn) return self;\n\t var globalOptions = self._globalOptions; // merge in options\n\n\t if (options) {\n\t each$1(options, function (key, value) {\n\t // tags and extra are special and need to be put into context\n\t if (key === 'tags' || key === 'extra' || key === 'user') {\n\t self._globalContext[key] = value;\n\t } else {\n\t globalOptions[key] = value;\n\t }\n\t });\n\t }\n\n\t self.setDSN(dsn); // \"Script error.\" is hard coded into browsers for errors that it can't read.\n\t // this is the result of a script being pulled in from an external domain and CORS.\n\n\t globalOptions.ignoreErrors.push(/^Script error\\.?$/);\n\t globalOptions.ignoreErrors.push(/^Javascript error: Script error\\.? on line 0$/); // join regexp rules into one big rule\n\n\t globalOptions.ignoreErrors = joinRegExp$1(globalOptions.ignoreErrors);\n\t globalOptions.ignoreUrls = globalOptions.ignoreUrls.length ? joinRegExp$1(globalOptions.ignoreUrls) : false;\n\t globalOptions.whitelistUrls = globalOptions.whitelistUrls.length ? joinRegExp$1(globalOptions.whitelistUrls) : false;\n\t globalOptions.includePaths = joinRegExp$1(globalOptions.includePaths);\n\t globalOptions.maxBreadcrumbs = Math.max(0, Math.min(globalOptions.maxBreadcrumbs || 100, 100)); // default and hard limit is 100\n\n\t var autoBreadcrumbDefaults = {\n\t xhr: true,\n\t console: true,\n\t dom: true,\n\t location: true,\n\t sentry: true\n\t };\n\t var autoBreadcrumbs = globalOptions.autoBreadcrumbs;\n\n\t if ({}.toString.call(autoBreadcrumbs) === '[object Object]') {\n\t autoBreadcrumbs = objectMerge$1(autoBreadcrumbDefaults, autoBreadcrumbs);\n\t } else if (autoBreadcrumbs !== false) {\n\t autoBreadcrumbs = autoBreadcrumbDefaults;\n\t }\n\n\t globalOptions.autoBreadcrumbs = autoBreadcrumbs;\n\t var instrumentDefaults = {\n\t tryCatch: true\n\t };\n\t var instrument = globalOptions.instrument;\n\n\t if ({}.toString.call(instrument) === '[object Object]') {\n\t instrument = objectMerge$1(instrumentDefaults, instrument);\n\t } else if (instrument !== false) {\n\t instrument = instrumentDefaults;\n\t }\n\n\t globalOptions.instrument = instrument;\n\t tracekit.collectWindowErrors = !!globalOptions.collectWindowErrors; // return for chaining\n\n\t return self;\n\t },\n\n\t /*\n\t * Installs a global window.onerror error handler\n\t * to capture and report uncaught exceptions.\n\t * At this point, install() is required to be called due\n\t * to the way TraceKit is set up.\n\t *\n\t * @return {Raven}\n\t */\n\t install: function install() {\n\t var self = this;\n\n\t if (self.isSetup() && !self._isRavenInstalled) {\n\t tracekit.report.subscribe(function () {\n\t self._handleOnErrorStackInfo.apply(self, arguments);\n\t });\n\n\t if (self._globalOptions.captureUnhandledRejections) {\n\t self._attachPromiseRejectionHandler();\n\t }\n\n\t self._patchFunctionToString();\n\n\t if (self._globalOptions.instrument && self._globalOptions.instrument.tryCatch) {\n\t self._instrumentTryCatch();\n\t }\n\n\t if (self._globalOptions.autoBreadcrumbs) self._instrumentBreadcrumbs(); // Install all of the plugins\n\n\t self._drainPlugins();\n\n\t self._isRavenInstalled = true;\n\t }\n\n\t Error.stackTraceLimit = self._globalOptions.stackTraceLimit;\n\t return this;\n\t },\n\n\t /*\n\t * Set the DSN (can be called multiple time unlike config)\n\t *\n\t * @param {string} dsn The public Sentry DSN\n\t */\n\t setDSN: function setDSN(dsn) {\n\t var self = this,\n\t uri = self._parseDSN(dsn),\n\t lastSlash = uri.path.lastIndexOf('/'),\n\t path = uri.path.substr(1, lastSlash);\n\n\t self._dsn = dsn;\n\t self._globalKey = uri.user;\n\t self._globalSecret = uri.pass && uri.pass.substr(1);\n\t self._globalProject = uri.path.substr(lastSlash + 1);\n\t self._globalServer = self._getGlobalServer(uri);\n\t self._globalEndpoint = self._globalServer + '/' + path + 'api/' + self._globalProject + '/store/'; // Reset backoff state since we may be pointing at a\n\t // new project/server\n\n\t this._resetBackoff();\n\t },\n\n\t /*\n\t * Wrap code within a context so Raven can capture errors\n\t * reliably across domains that is executed immediately.\n\t *\n\t * @param {object} options A specific set of options for this context [optional]\n\t * @param {function} func The callback to be immediately executed within the context\n\t * @param {array} args An array of arguments to be called with the callback [optional]\n\t */\n\t context: function context(options, func, args) {\n\t if (isFunction$1(options)) {\n\t args = func || [];\n\t func = options;\n\t options = {};\n\t }\n\n\t return this.wrap(options, func).apply(this, args);\n\t },\n\n\t /*\n\t * Wrap code within a context and returns back a new function to be executed\n\t *\n\t * @param {object} options A specific set of options for this context [optional]\n\t * @param {function} func The function to be wrapped in a new context\n\t * @param {function} _before A function to call before the try/catch wrapper [optional, private]\n\t * @return {function} The newly wrapped functions with a context\n\t */\n\t wrap: function wrap(options, func, _before) {\n\t var self = this; // 1 argument has been passed, and it's not a function\n\t // so just return it\n\n\t if (isUndefined$1(func) && !isFunction$1(options)) {\n\t return options;\n\t } // options is optional\n\n\n\t if (isFunction$1(options)) {\n\t func = options;\n\t options = undefined;\n\t } // At this point, we've passed along 2 arguments, and the second one\n\t // is not a function either, so we'll just return the second argument.\n\n\n\t if (!isFunction$1(func)) {\n\t return func;\n\t } // We don't wanna wrap it twice!\n\n\n\t try {\n\t if (func.__raven__) {\n\t return func;\n\t } // If this has already been wrapped in the past, return that\n\n\n\t if (func.__raven_wrapper__) {\n\t return func.__raven_wrapper__;\n\t }\n\t } catch (e) {\n\t // Just accessing custom props in some Selenium environments\n\t // can cause a \"Permission denied\" exception (see raven-js#495).\n\t // Bail on wrapping and return the function as-is (defers to window.onerror).\n\t return func;\n\t }\n\n\t function wrapped() {\n\t var args = [],\n\t i = arguments.length,\n\t deep = !options || options && options.deep !== false;\n\n\t if (_before && isFunction$1(_before)) {\n\t _before.apply(this, arguments);\n\t } // Recursively wrap all of a function's arguments that are\n\t // functions themselves.\n\n\n\t while (i--) {\n\t args[i] = deep ? self.wrap(options, arguments[i]) : arguments[i];\n\t }\n\n\t try {\n\t // Attempt to invoke user-land function\n\t // NOTE: If you are a Sentry user, and you are seeing this stack frame, it\n\t // means Raven caught an error invoking your application code. This is\n\t // expected behavior and NOT indicative of a bug with Raven.js.\n\t return func.apply(this, args);\n\t } catch (e) {\n\t self._ignoreNextOnError();\n\n\t self.captureException(e, options);\n\t throw e;\n\t }\n\t } // copy over properties of the old function\n\n\n\t for (var property in func) {\n\t if (hasKey$1(func, property)) {\n\t wrapped[property] = func[property];\n\t }\n\t }\n\n\t wrapped.prototype = func.prototype;\n\t func.__raven_wrapper__ = wrapped; // Signal that this function has been wrapped/filled already\n\t // for both debugging and to prevent it to being wrapped/filled twice\n\n\t wrapped.__raven__ = true;\n\t wrapped.__orig__ = func;\n\t return wrapped;\n\t },\n\n\t /**\n\t * Uninstalls the global error handler.\n\t *\n\t * @return {Raven}\n\t */\n\t uninstall: function uninstall() {\n\t tracekit.report.uninstall();\n\n\t this._detachPromiseRejectionHandler();\n\n\t this._unpatchFunctionToString();\n\n\t this._restoreBuiltIns();\n\n\t this._restoreConsole();\n\n\t Error.stackTraceLimit = this._originalErrorStackTraceLimit;\n\t this._isRavenInstalled = false;\n\t return this;\n\t },\n\n\t /**\n\t * Callback used for `unhandledrejection` event\n\t *\n\t * @param {PromiseRejectionEvent} event An object containing\n\t * promise: the Promise that was rejected\n\t * reason: the value with which the Promise was rejected\n\t * @return void\n\t */\n\t _promiseRejectionHandler: function _promiseRejectionHandler(event) {\n\t this._logDebug('debug', 'Raven caught unhandled promise rejection:', event);\n\n\t this.captureException(event.reason, {\n\t mechanism: {\n\t type: 'onunhandledrejection',\n\t handled: false\n\t }\n\t });\n\t },\n\n\t /**\n\t * Installs the global promise rejection handler.\n\t *\n\t * @return {raven}\n\t */\n\t _attachPromiseRejectionHandler: function _attachPromiseRejectionHandler() {\n\t this._promiseRejectionHandler = this._promiseRejectionHandler.bind(this);\n\t _window$2.addEventListener && _window$2.addEventListener('unhandledrejection', this._promiseRejectionHandler);\n\t return this;\n\t },\n\n\t /**\n\t * Uninstalls the global promise rejection handler.\n\t *\n\t * @return {raven}\n\t */\n\t _detachPromiseRejectionHandler: function _detachPromiseRejectionHandler() {\n\t _window$2.removeEventListener && _window$2.removeEventListener('unhandledrejection', this._promiseRejectionHandler);\n\t return this;\n\t },\n\n\t /**\n\t * Manually capture an exception and send it over to Sentry\n\t *\n\t * @param {error} ex An exception to be logged\n\t * @param {object} options A specific set of options for this error [optional]\n\t * @return {Raven}\n\t */\n\t captureException: function captureException(ex, options) {\n\t options = objectMerge$1({\n\t trimHeadFrames: 0\n\t }, options ? options : {});\n\n\t if (isErrorEvent$1(ex) && ex.error) {\n\t // If it is an ErrorEvent with `error` property, extract it to get actual Error\n\t ex = ex.error;\n\t } else if (isDOMError$1(ex) || isDOMException$1(ex)) {\n\t // If it is a DOMError or DOMException (which are legacy APIs, but still supported in some browsers)\n\t // then we just extract the name and message, as they don't provide anything else\n\t // https://developer.mozilla.org/en-US/docs/Web/API/DOMError\n\t // https://developer.mozilla.org/en-US/docs/Web/API/DOMException\n\t var name = ex.name || (isDOMError$1(ex) ? 'DOMError' : 'DOMException');\n\t var message = ex.message ? name + ': ' + ex.message : name;\n\t return this.captureMessage(message, objectMerge$1(options, {\n\t // neither DOMError or DOMException provide stack trace and we most likely wont get it this way as well\n\t // but it's barely any overhead so we may at least try\n\t stacktrace: true,\n\t trimHeadFrames: options.trimHeadFrames + 1\n\t }));\n\t } else if (isError$1(ex)) {\n\t // we have a real Error object\n\t ex = ex;\n\t } else if (isPlainObject$1(ex)) {\n\t // If it is plain Object, serialize it manually and extract options\n\t // This will allow us to group events based on top-level keys\n\t // which is much better than creating new group when any key/value change\n\t options = this._getCaptureExceptionOptionsFromPlainObject(options, ex);\n\t ex = new Error(options.message);\n\t } else {\n\t // If none of previous checks were valid, then it means that\n\t // it's not a DOMError/DOMException\n\t // it's not a plain Object\n\t // it's not a valid ErrorEvent (one with an error property)\n\t // it's not an Error\n\t // So bail out and capture it as a simple message:\n\t return this.captureMessage(ex, objectMerge$1(options, {\n\t stacktrace: true,\n\t // if we fall back to captureMessage, default to attempting a new trace\n\t trimHeadFrames: options.trimHeadFrames + 1\n\t }));\n\t } // Store the raw exception object for potential debugging and introspection\n\n\n\t this._lastCapturedException = ex; // TraceKit.report will re-raise any exception passed to it,\n\t // which means you have to wrap it in try/catch. Instead, we\n\t // can wrap it here and only re-raise if TraceKit.report\n\t // raises an exception different from the one we asked to\n\t // report on.\n\n\t try {\n\t var stack = tracekit.computeStackTrace(ex);\n\n\t this._handleStackInfo(stack, options);\n\t } catch (ex1) {\n\t if (ex !== ex1) {\n\t throw ex1;\n\t }\n\t }\n\n\t return this;\n\t },\n\t _getCaptureExceptionOptionsFromPlainObject: function _getCaptureExceptionOptionsFromPlainObject(currentOptions, ex) {\n\t var exKeys = Object.keys(ex).sort();\n\t var options = objectMerge$1(currentOptions, {\n\t message: 'Non-Error exception captured with keys: ' + serializeKeysForMessage$1(exKeys),\n\t fingerprint: [md5_1(exKeys)],\n\t extra: currentOptions.extra || {}\n\t });\n\t options.extra.__serialized__ = serializeException$1(ex);\n\t return options;\n\t },\n\n\t /*\n\t * Manually send a message to Sentry\n\t *\n\t * @param {string} msg A plain message to be captured in Sentry\n\t * @param {object} options A specific set of options for this message [optional]\n\t * @return {Raven}\n\t */\n\t captureMessage: function captureMessage(msg, options) {\n\t // config() automagically converts ignoreErrors from a list to a RegExp so we need to test for an\n\t // early call; we'll error on the side of logging anything called before configuration since it's\n\t // probably something you should see:\n\t if (!!this._globalOptions.ignoreErrors.test && this._globalOptions.ignoreErrors.test(msg)) {\n\t return;\n\t }\n\n\t options = options || {};\n\t msg = msg + ''; // Make sure it's actually a string\n\n\t var data = objectMerge$1({\n\t message: msg\n\t }, options);\n\t var ex; // Generate a \"synthetic\" stack trace from this point.\n\t // NOTE: If you are a Sentry user, and you are seeing this stack frame, it is NOT indicative\n\t // of a bug with Raven.js. Sentry generates synthetic traces either by configuration,\n\t // or if it catches a thrown object without a \"stack\" property.\n\n\t try {\n\t throw new Error(msg);\n\t } catch (ex1) {\n\t ex = ex1;\n\t } // null exception name so `Error` isn't prefixed to msg\n\n\n\t ex.name = null;\n\t var stack = tracekit.computeStackTrace(ex); // stack[0] is `throw new Error(msg)` call itself, we are interested in the frame that was just before that, stack[1]\n\n\t var initialCall = isArray$1(stack.stack) && stack.stack[1]; // if stack[1] is `Raven.captureException`, it means that someone passed a string to it and we redirected that call\n\t // to be handled by `captureMessage`, thus `initialCall` is the 3rd one, not 2nd\n\t // initialCall => captureException(string) => captureMessage(string)\n\n\t if (initialCall && initialCall.func === 'Raven.captureException') {\n\t initialCall = stack.stack[2];\n\t }\n\n\t var fileurl = initialCall && initialCall.url || '';\n\n\t if (!!this._globalOptions.ignoreUrls.test && this._globalOptions.ignoreUrls.test(fileurl)) {\n\t return;\n\t }\n\n\t if (!!this._globalOptions.whitelistUrls.test && !this._globalOptions.whitelistUrls.test(fileurl)) {\n\t return;\n\t } // Always attempt to get stacktrace if message is empty.\n\t // It's the only way to provide any helpful information to the user.\n\n\n\t if (this._globalOptions.stacktrace || options.stacktrace || data.message === '') {\n\t // fingerprint on msg, not stack trace (legacy behavior, could be revisited)\n\t data.fingerprint = data.fingerprint == null ? msg : data.fingerprint;\n\t options = objectMerge$1({\n\t trimHeadFrames: 0\n\t }, options); // Since we know this is a synthetic trace, the top frame (this function call)\n\t // MUST be from Raven.js, so mark it for trimming\n\t // We add to the trim counter so that callers can choose to trim extra frames, such\n\t // as utility functions.\n\n\t options.trimHeadFrames += 1;\n\n\t var frames = this._prepareFrames(stack, options);\n\n\t data.stacktrace = {\n\t // Sentry expects frames oldest to newest\n\t frames: frames.reverse()\n\t };\n\t } // Make sure that fingerprint is always wrapped in an array\n\n\n\t if (data.fingerprint) {\n\t data.fingerprint = isArray$1(data.fingerprint) ? data.fingerprint : [data.fingerprint];\n\t } // Fire away!\n\n\n\t this._send(data);\n\n\t return this;\n\t },\n\t captureBreadcrumb: function captureBreadcrumb(obj) {\n\t var crumb = objectMerge$1({\n\t timestamp: now() / 1000\n\t }, obj);\n\n\t if (isFunction$1(this._globalOptions.breadcrumbCallback)) {\n\t var result = this._globalOptions.breadcrumbCallback(crumb);\n\n\t if (isObject$1(result) && !isEmptyObject$1(result)) {\n\t crumb = result;\n\t } else if (result === false) {\n\t return this;\n\t }\n\t }\n\n\t this._breadcrumbs.push(crumb);\n\n\t if (this._breadcrumbs.length > this._globalOptions.maxBreadcrumbs) {\n\t this._breadcrumbs.shift();\n\t }\n\n\t return this;\n\t },\n\t addPlugin: function addPlugin(plugin\n\t /*arg1, arg2, ... argN*/\n\t ) {\n\t var pluginArgs = [].slice.call(arguments, 1);\n\n\t this._plugins.push([plugin, pluginArgs]);\n\n\t if (this._isRavenInstalled) {\n\t this._drainPlugins();\n\t }\n\n\t return this;\n\t },\n\n\t /*\n\t * Set/clear a user to be sent along with the payload.\n\t *\n\t * @param {object} user An object representing user data [optional]\n\t * @return {Raven}\n\t */\n\t setUserContext: function setUserContext(user) {\n\t // Intentionally do not merge here since that's an unexpected behavior.\n\t this._globalContext.user = user;\n\t return this;\n\t },\n\n\t /*\n\t * Merge extra attributes to be sent along with the payload.\n\t *\n\t * @param {object} extra An object representing extra data [optional]\n\t * @return {Raven}\n\t */\n\t setExtraContext: function setExtraContext(extra) {\n\t this._mergeContext('extra', extra);\n\n\t return this;\n\t },\n\n\t /*\n\t * Merge tags to be sent along with the payload.\n\t *\n\t * @param {object} tags An object representing tags [optional]\n\t * @return {Raven}\n\t */\n\t setTagsContext: function setTagsContext(tags) {\n\t this._mergeContext('tags', tags);\n\n\t return this;\n\t },\n\n\t /*\n\t * Clear all of the context.\n\t *\n\t * @return {Raven}\n\t */\n\t clearContext: function clearContext() {\n\t this._globalContext = {};\n\t return this;\n\t },\n\n\t /*\n\t * Get a copy of the current context. This cannot be mutated.\n\t *\n\t * @return {object} copy of context\n\t */\n\t getContext: function getContext() {\n\t // lol javascript\n\t return JSON.parse(stringify_1(this._globalContext));\n\t },\n\n\t /*\n\t * Set environment of application\n\t *\n\t * @param {string} environment Typically something like 'production'.\n\t * @return {Raven}\n\t */\n\t setEnvironment: function setEnvironment(environment) {\n\t this._globalOptions.environment = environment;\n\t return this;\n\t },\n\n\t /*\n\t * Set release version of application\n\t *\n\t * @param {string} release Typically something like a git SHA to identify version\n\t * @return {Raven}\n\t */\n\t setRelease: function setRelease(release) {\n\t this._globalOptions.release = release;\n\t return this;\n\t },\n\n\t /*\n\t * Set the dataCallback option\n\t *\n\t * @param {function} callback The callback to run which allows the\n\t * data blob to be mutated before sending\n\t * @return {Raven}\n\t */\n\t setDataCallback: function setDataCallback(callback) {\n\t var original = this._globalOptions.dataCallback;\n\t this._globalOptions.dataCallback = keepOriginalCallback(original, callback);\n\t return this;\n\t },\n\n\t /*\n\t * Set the breadcrumbCallback option\n\t *\n\t * @param {function} callback The callback to run which allows filtering\n\t * or mutating breadcrumbs\n\t * @return {Raven}\n\t */\n\t setBreadcrumbCallback: function setBreadcrumbCallback(callback) {\n\t var original = this._globalOptions.breadcrumbCallback;\n\t this._globalOptions.breadcrumbCallback = keepOriginalCallback(original, callback);\n\t return this;\n\t },\n\n\t /*\n\t * Set the shouldSendCallback option\n\t *\n\t * @param {function} callback The callback to run which allows\n\t * introspecting the blob before sending\n\t * @return {Raven}\n\t */\n\t setShouldSendCallback: function setShouldSendCallback(callback) {\n\t var original = this._globalOptions.shouldSendCallback;\n\t this._globalOptions.shouldSendCallback = keepOriginalCallback(original, callback);\n\t return this;\n\t },\n\n\t /**\n\t * Override the default HTTP transport mechanism that transmits data\n\t * to the Sentry server.\n\t *\n\t * @param {function} transport Function invoked instead of the default\n\t * `makeRequest` handler.\n\t *\n\t * @return {Raven}\n\t */\n\t setTransport: function setTransport(transport) {\n\t this._globalOptions.transport = transport;\n\t return this;\n\t },\n\n\t /*\n\t * Get the latest raw exception that was captured by Raven.\n\t *\n\t * @return {error}\n\t */\n\t lastException: function lastException() {\n\t return this._lastCapturedException;\n\t },\n\n\t /*\n\t * Get the last event id\n\t *\n\t * @return {string}\n\t */\n\t lastEventId: function lastEventId() {\n\t return this._lastEventId;\n\t },\n\n\t /*\n\t * Determine if Raven is setup and ready to go.\n\t *\n\t * @return {boolean}\n\t */\n\t isSetup: function isSetup() {\n\t if (!this._hasJSON) return false; // needs JSON support\n\n\t if (!this._globalServer) {\n\t if (!this.ravenNotConfiguredError) {\n\t this.ravenNotConfiguredError = true;\n\n\t this._logDebug('error', 'Error: Raven has not been configured.');\n\t }\n\n\t return false;\n\t }\n\n\t return true;\n\t },\n\t afterLoad: function afterLoad() {\n\t // TODO: remove window dependence?\n\t // Attempt to initialize Raven on load\n\t var RavenConfig = _window$2.RavenConfig;\n\n\t if (RavenConfig) {\n\t this.config(RavenConfig.dsn, RavenConfig.config).install();\n\t }\n\t },\n\t showReportDialog: function showReportDialog(options) {\n\t if (!_document // doesn't work without a document (React native)\n\t ) return;\n\t options = objectMerge$1({\n\t eventId: this.lastEventId(),\n\t dsn: this._dsn,\n\t user: this._globalContext.user || {}\n\t }, options);\n\n\t if (!options.eventId) {\n\t throw new configError('Missing eventId');\n\t }\n\n\t if (!options.dsn) {\n\t throw new configError('Missing DSN');\n\t }\n\n\t var encode = encodeURIComponent;\n\t var encodedOptions = [];\n\n\t for (var key in options) {\n\t if (key === 'user') {\n\t var user = options.user;\n\t if (user.name) encodedOptions.push('name=' + encode(user.name));\n\t if (user.email) encodedOptions.push('email=' + encode(user.email));\n\t } else {\n\t encodedOptions.push(encode(key) + '=' + encode(options[key]));\n\t }\n\t }\n\n\t var globalServer = this._getGlobalServer(this._parseDSN(options.dsn));\n\n\t var script = _document.createElement('script');\n\n\t script.async = true;\n\t script.src = globalServer + '/api/embed/error-page/?' + encodedOptions.join('&');\n\n\t (_document.head || _document.body).appendChild(script);\n\t },\n\n\t /**** Private functions ****/\n\t _ignoreNextOnError: function _ignoreNextOnError() {\n\t var self = this;\n\t this._ignoreOnError += 1;\n\t setTimeout(function () {\n\t // onerror should trigger before setTimeout\n\t self._ignoreOnError -= 1;\n\t });\n\t },\n\t _triggerEvent: function _triggerEvent(eventType, options) {\n\t // NOTE: `event` is a native browser thing, so let's avoid conflicting wiht it\n\t var evt, key;\n\t if (!this._hasDocument) return;\n\t options = options || {};\n\t eventType = 'raven' + eventType.substr(0, 1).toUpperCase() + eventType.substr(1);\n\n\t if (_document.createEvent) {\n\t evt = _document.createEvent('HTMLEvents');\n\t evt.initEvent(eventType, true, true);\n\t } else {\n\t evt = _document.createEventObject();\n\t evt.eventType = eventType;\n\t }\n\n\t for (key in options) {\n\t if (hasKey$1(options, key)) {\n\t evt[key] = options[key];\n\t }\n\t }\n\n\t if (_document.createEvent) {\n\t // IE9 if standards\n\t _document.dispatchEvent(evt);\n\t } else {\n\t // IE8 regardless of Quirks or Standards\n\t // IE9 if quirks\n\t try {\n\t _document.fireEvent('on' + evt.eventType.toLowerCase(), evt);\n\t } catch (e) {// Do nothing\n\t }\n\t }\n\t },\n\n\t /**\n\t * Wraps addEventListener to capture UI breadcrumbs\n\t * @param evtName the event name (e.g. \"click\")\n\t * @returns {Function}\n\t * @private\n\t */\n\t _breadcrumbEventHandler: function _breadcrumbEventHandler(evtName) {\n\t var self = this;\n\t return function (evt) {\n\t // reset keypress timeout; e.g. triggering a 'click' after\n\t // a 'keypress' will reset the keypress debounce so that a new\n\t // set of keypresses can be recorded\n\t self._keypressTimeout = null; // It's possible this handler might trigger multiple times for the same\n\t // event (e.g. event propagation through node ancestors). Ignore if we've\n\t // already captured the event.\n\n\t if (self._lastCapturedEvent === evt) return;\n\t self._lastCapturedEvent = evt; // try/catch both:\n\t // - accessing evt.target (see getsentry/raven-js#838, #768)\n\t // - `htmlTreeAsString` because it's complex, and just accessing the DOM incorrectly\n\t // can throw an exception in some circumstances.\n\n\t var target;\n\n\t try {\n\t target = htmlTreeAsString$1(evt.target);\n\t } catch (e) {\n\t target = '';\n\t }\n\n\t self.captureBreadcrumb({\n\t category: 'ui.' + evtName,\n\t // e.g. ui.click, ui.input\n\t message: target\n\t });\n\t };\n\t },\n\n\t /**\n\t * Wraps addEventListener to capture keypress UI events\n\t * @returns {Function}\n\t * @private\n\t */\n\t _keypressEventHandler: function _keypressEventHandler() {\n\t var self = this,\n\t debounceDuration = 1000; // milliseconds\n\t // TODO: if somehow user switches keypress target before\n\t // debounce timeout is triggered, we will only capture\n\t // a single breadcrumb from the FIRST target (acceptable?)\n\n\t return function (evt) {\n\t var target;\n\n\t try {\n\t target = evt.target;\n\t } catch (e) {\n\t // just accessing event properties can throw an exception in some rare circumstances\n\t // see: https://github.com/getsentry/raven-js/issues/838\n\t return;\n\t }\n\n\t var tagName = target && target.tagName; // only consider keypress events on actual input elements\n\t // this will disregard keypresses targeting body (e.g. tabbing\n\t // through elements, hotkeys, etc)\n\n\t if (!tagName || tagName !== 'INPUT' && tagName !== 'TEXTAREA' && !target.isContentEditable) return; // record first keypress in a series, but ignore subsequent\n\t // keypresses until debounce clears\n\n\t var timeout = self._keypressTimeout;\n\n\t if (!timeout) {\n\t self._breadcrumbEventHandler('input')(evt);\n\t }\n\n\t clearTimeout(timeout);\n\t self._keypressTimeout = setTimeout(function () {\n\t self._keypressTimeout = null;\n\t }, debounceDuration);\n\t };\n\t },\n\n\t /**\n\t * Captures a breadcrumb of type \"navigation\", normalizing input URLs\n\t * @param to the originating URL\n\t * @param from the target URL\n\t * @private\n\t */\n\t _captureUrlChange: function _captureUrlChange(from, to) {\n\t var parsedLoc = parseUrl$1(this._location.href);\n\t var parsedTo = parseUrl$1(to);\n\t var parsedFrom = parseUrl$1(from); // because onpopstate only tells you the \"new\" (to) value of location.href, and\n\t // not the previous (from) value, we need to track the value of the current URL\n\t // state ourselves\n\n\t this._lastHref = to; // Use only the path component of the URL if the URL matches the current\n\t // document (almost all the time when using pushState)\n\n\t if (parsedLoc.protocol === parsedTo.protocol && parsedLoc.host === parsedTo.host) to = parsedTo.relative;\n\t if (parsedLoc.protocol === parsedFrom.protocol && parsedLoc.host === parsedFrom.host) from = parsedFrom.relative;\n\t this.captureBreadcrumb({\n\t category: 'navigation',\n\t data: {\n\t to: to,\n\t from: from\n\t }\n\t });\n\t },\n\t _patchFunctionToString: function _patchFunctionToString() {\n\t var self = this;\n\t self._originalFunctionToString = Function.prototype.toString; // eslint-disable-next-line no-extend-native\n\n\t Function.prototype.toString = function () {\n\t if (typeof this === 'function' && this.__raven__) {\n\t return self._originalFunctionToString.apply(this.__orig__, arguments);\n\t }\n\n\t return self._originalFunctionToString.apply(this, arguments);\n\t };\n\t },\n\t _unpatchFunctionToString: function _unpatchFunctionToString() {\n\t if (this._originalFunctionToString) {\n\t // eslint-disable-next-line no-extend-native\n\t Function.prototype.toString = this._originalFunctionToString;\n\t }\n\t },\n\n\t /**\n\t * Wrap timer functions and event targets to catch errors and provide\n\t * better metadata.\n\t */\n\t _instrumentTryCatch: function _instrumentTryCatch() {\n\t var self = this;\n\t var wrappedBuiltIns = self._wrappedBuiltIns;\n\n\t function wrapTimeFn(orig) {\n\t return function (fn, t) {\n\t // preserve arity\n\t // Make a copy of the arguments to prevent deoptimization\n\t // https://github.com/petkaantonov/bluebird/wiki/Optimization-killers#32-leaking-arguments\n\t var args = new Array(arguments.length);\n\n\t for (var i = 0; i < args.length; ++i) {\n\t args[i] = arguments[i];\n\t }\n\n\t var originalCallback = args[0];\n\n\t if (isFunction$1(originalCallback)) {\n\t args[0] = self.wrap({\n\t mechanism: {\n\t type: 'instrument',\n\t data: {\n\t function: orig.name || ''\n\t }\n\t }\n\t }, originalCallback);\n\t } // IE < 9 doesn't support .call/.apply on setInterval/setTimeout, but it\n\t // also supports only two arguments and doesn't care what this is, so we\n\t // can just call the original function directly.\n\n\n\t if (orig.apply) {\n\t return orig.apply(this, args);\n\t } else {\n\t return orig(args[0], args[1]);\n\t }\n\t };\n\t }\n\n\t var autoBreadcrumbs = this._globalOptions.autoBreadcrumbs;\n\n\t function wrapEventTarget(global) {\n\t var proto = _window$2[global] && _window$2[global].prototype;\n\n\t if (proto && proto.hasOwnProperty && proto.hasOwnProperty('addEventListener')) {\n\t fill$1(proto, 'addEventListener', function (orig) {\n\t return function (evtName, fn, capture, secure) {\n\t // preserve arity\n\t try {\n\t if (fn && fn.handleEvent) {\n\t fn.handleEvent = self.wrap({\n\t mechanism: {\n\t type: 'instrument',\n\t data: {\n\t target: global,\n\t function: 'handleEvent',\n\t handler: fn && fn.name || ''\n\t }\n\t }\n\t }, fn.handleEvent);\n\t }\n\t } catch (err) {} // can sometimes get 'Permission denied to access property \"handle Event'\n\t // More breadcrumb DOM capture ... done here and not in `_instrumentBreadcrumbs`\n\t // so that we don't have more than one wrapper function\n\n\n\t var before, clickHandler, keypressHandler;\n\n\t if (autoBreadcrumbs && autoBreadcrumbs.dom && (global === 'EventTarget' || global === 'Node')) {\n\t // NOTE: generating multiple handlers per addEventListener invocation, should\n\t // revisit and verify we can just use one (almost certainly)\n\t clickHandler = self._breadcrumbEventHandler('click');\n\t keypressHandler = self._keypressEventHandler();\n\n\t before = function before(evt) {\n\t // need to intercept every DOM event in `before` argument, in case that\n\t // same wrapped method is re-used for different events (e.g. mousemove THEN click)\n\t // see #724\n\t if (!evt) return;\n\t var eventType;\n\n\t try {\n\t eventType = evt.type;\n\t } catch (e) {\n\t // just accessing event properties can throw an exception in some rare circumstances\n\t // see: https://github.com/getsentry/raven-js/issues/838\n\t return;\n\t }\n\n\t if (eventType === 'click') return clickHandler(evt);else if (eventType === 'keypress') return keypressHandler(evt);\n\t };\n\t }\n\n\t return orig.call(this, evtName, self.wrap({\n\t mechanism: {\n\t type: 'instrument',\n\t data: {\n\t target: global,\n\t function: 'addEventListener',\n\t handler: fn && fn.name || ''\n\t }\n\t }\n\t }, fn, before), capture, secure);\n\t };\n\t }, wrappedBuiltIns);\n\t fill$1(proto, 'removeEventListener', function (orig) {\n\t return function (evt, fn, capture, secure) {\n\t try {\n\t fn = fn && (fn.__raven_wrapper__ ? fn.__raven_wrapper__ : fn);\n\t } catch (e) {// ignore, accessing __raven_wrapper__ will throw in some Selenium environments\n\t }\n\n\t return orig.call(this, evt, fn, capture, secure);\n\t };\n\t }, wrappedBuiltIns);\n\t }\n\t }\n\n\t fill$1(_window$2, 'setTimeout', wrapTimeFn, wrappedBuiltIns);\n\t fill$1(_window$2, 'setInterval', wrapTimeFn, wrappedBuiltIns);\n\n\t if (_window$2.requestAnimationFrame) {\n\t fill$1(_window$2, 'requestAnimationFrame', function (orig) {\n\t return function (cb) {\n\t return orig(self.wrap({\n\t mechanism: {\n\t type: 'instrument',\n\t data: {\n\t function: 'requestAnimationFrame',\n\t handler: orig && orig.name || ''\n\t }\n\t }\n\t }, cb));\n\t };\n\t }, wrappedBuiltIns);\n\t } // event targets borrowed from bugsnag-js:\n\t // https://github.com/bugsnag/bugsnag-js/blob/master/src/bugsnag.js#L666\n\n\n\t var eventTargets = ['EventTarget', 'Window', 'Node', 'ApplicationCache', 'AudioTrackList', 'ChannelMergerNode', 'CryptoOperation', 'EventSource', 'FileReader', 'HTMLUnknownElement', 'IDBDatabase', 'IDBRequest', 'IDBTransaction', 'KeyOperation', 'MediaController', 'MessagePort', 'ModalWindow', 'Notification', 'SVGElementInstance', 'Screen', 'TextTrack', 'TextTrackCue', 'TextTrackList', 'WebSocket', 'WebSocketWorker', 'Worker', 'XMLHttpRequest', 'XMLHttpRequestEventTarget', 'XMLHttpRequestUpload'];\n\n\t for (var i = 0; i < eventTargets.length; i++) {\n\t wrapEventTarget(eventTargets[i]);\n\t }\n\t },\n\n\t /**\n\t * Instrument browser built-ins w/ breadcrumb capturing\n\t * - XMLHttpRequests\n\t * - DOM interactions (click/typing)\n\t * - window.location changes\n\t * - console\n\t *\n\t * Can be disabled or individually configured via the `autoBreadcrumbs` config option\n\t */\n\t _instrumentBreadcrumbs: function _instrumentBreadcrumbs() {\n\t var self = this;\n\t var autoBreadcrumbs = this._globalOptions.autoBreadcrumbs;\n\t var wrappedBuiltIns = self._wrappedBuiltIns;\n\n\t function wrapProp(prop, xhr) {\n\t if (prop in xhr && isFunction$1(xhr[prop])) {\n\t fill$1(xhr, prop, function (orig) {\n\t return self.wrap({\n\t mechanism: {\n\t type: 'instrument',\n\t data: {\n\t function: prop,\n\t handler: orig && orig.name || ''\n\t }\n\t }\n\t }, orig);\n\t }); // intentionally don't track filled methods on XHR instances\n\t }\n\t }\n\n\t if (autoBreadcrumbs.xhr && 'XMLHttpRequest' in _window$2) {\n\t var xhrproto = _window$2.XMLHttpRequest && _window$2.XMLHttpRequest.prototype;\n\t fill$1(xhrproto, 'open', function (origOpen) {\n\t return function (method, url) {\n\t // preserve arity\n\t // if Sentry key appears in URL, don't capture\n\t if (isString$1(url) && url.indexOf(self._globalKey) === -1) {\n\t this.__raven_xhr = {\n\t method: method,\n\t url: url,\n\t status_code: null\n\t };\n\t }\n\n\t return origOpen.apply(this, arguments);\n\t };\n\t }, wrappedBuiltIns);\n\t fill$1(xhrproto, 'send', function (origSend) {\n\t return function () {\n\t // preserve arity\n\t var xhr = this;\n\n\t function onreadystatechangeHandler() {\n\t if (xhr.__raven_xhr && xhr.readyState === 4) {\n\t try {\n\t // touching statusCode in some platforms throws\n\t // an exception\n\t xhr.__raven_xhr.status_code = xhr.status;\n\t } catch (e) {\n\t /* do nothing */\n\t }\n\n\t self.captureBreadcrumb({\n\t type: 'http',\n\t category: 'xhr',\n\t data: xhr.__raven_xhr\n\t });\n\t }\n\t }\n\n\t var props = ['onload', 'onerror', 'onprogress'];\n\n\t for (var j = 0; j < props.length; j++) {\n\t wrapProp(props[j], xhr);\n\t }\n\n\t if ('onreadystatechange' in xhr && isFunction$1(xhr.onreadystatechange)) {\n\t fill$1(xhr, 'onreadystatechange', function (orig) {\n\t return self.wrap({\n\t mechanism: {\n\t type: 'instrument',\n\t data: {\n\t function: 'onreadystatechange',\n\t handler: orig && orig.name || ''\n\t }\n\t }\n\t }, orig, onreadystatechangeHandler);\n\t }\n\t /* intentionally don't track this instrumentation */\n\t );\n\t } else {\n\t // if onreadystatechange wasn't actually set by the page on this xhr, we\n\t // are free to set our own and capture the breadcrumb\n\t xhr.onreadystatechange = onreadystatechangeHandler;\n\t }\n\n\t return origSend.apply(this, arguments);\n\t };\n\t }, wrappedBuiltIns);\n\t }\n\n\t if (autoBreadcrumbs.xhr && supportsFetch$1()) {\n\t fill$1(_window$2, 'fetch', function (origFetch) {\n\t return function () {\n\t // preserve arity\n\t // Make a copy of the arguments to prevent deoptimization\n\t // https://github.com/petkaantonov/bluebird/wiki/Optimization-killers#32-leaking-arguments\n\t var args = new Array(arguments.length);\n\n\t for (var i = 0; i < args.length; ++i) {\n\t args[i] = arguments[i];\n\t }\n\n\t var fetchInput = args[0];\n\t var method = 'GET';\n\t var url;\n\n\t if (typeof fetchInput === 'string') {\n\t url = fetchInput;\n\t } else if ('Request' in _window$2 && fetchInput instanceof _window$2.Request) {\n\t url = fetchInput.url;\n\n\t if (fetchInput.method) {\n\t method = fetchInput.method;\n\t }\n\t } else {\n\t url = '' + fetchInput;\n\t } // if Sentry key appears in URL, don't capture, as it's our own request\n\n\n\t if (url.indexOf(self._globalKey) !== -1) {\n\t return origFetch.apply(this, args);\n\t }\n\n\t if (args[1] && args[1].method) {\n\t method = args[1].method;\n\t }\n\n\t var fetchData = {\n\t method: method,\n\t url: url,\n\t status_code: null\n\t };\n\t return origFetch.apply(this, args).then(function (response) {\n\t fetchData.status_code = response.status;\n\t self.captureBreadcrumb({\n\t type: 'http',\n\t category: 'fetch',\n\t data: fetchData\n\t });\n\t return response;\n\t })['catch'](function (err) {\n\t // if there is an error performing the request\n\t self.captureBreadcrumb({\n\t type: 'http',\n\t category: 'fetch',\n\t data: fetchData,\n\t level: 'error'\n\t });\n\t throw err;\n\t });\n\t };\n\t }, wrappedBuiltIns);\n\t } // Capture breadcrumbs from any click that is unhandled / bubbled up all the way\n\t // to the document. Do this before we instrument addEventListener.\n\n\n\t if (autoBreadcrumbs.dom && this._hasDocument) {\n\t if (_document.addEventListener) {\n\t _document.addEventListener('click', self._breadcrumbEventHandler('click'), false);\n\n\t _document.addEventListener('keypress', self._keypressEventHandler(), false);\n\t } else if (_document.attachEvent) {\n\t // IE8 Compatibility\n\t _document.attachEvent('onclick', self._breadcrumbEventHandler('click'));\n\n\t _document.attachEvent('onkeypress', self._keypressEventHandler());\n\t }\n\t } // record navigation (URL) changes\n\t // NOTE: in Chrome App environment, touching history.pushState, *even inside\n\t // a try/catch block*, will cause Chrome to output an error to console.error\n\t // borrowed from: https://github.com/angular/angular.js/pull/13945/files\n\n\n\t var chrome = _window$2.chrome;\n\t var isChromePackagedApp = chrome && chrome.app && chrome.app.runtime;\n\t var hasPushAndReplaceState = !isChromePackagedApp && _window$2.history && _window$2.history.pushState && _window$2.history.replaceState;\n\n\t if (autoBreadcrumbs.location && hasPushAndReplaceState) {\n\t // TODO: remove onpopstate handler on uninstall()\n\t var oldOnPopState = _window$2.onpopstate;\n\n\t _window$2.onpopstate = function () {\n\t var currentHref = self._location.href;\n\n\t self._captureUrlChange(self._lastHref, currentHref);\n\n\t if (oldOnPopState) {\n\t return oldOnPopState.apply(this, arguments);\n\t }\n\t };\n\n\t var historyReplacementFunction = function historyReplacementFunction(origHistFunction) {\n\t // note history.pushState.length is 0; intentionally not declaring\n\t // params to preserve 0 arity\n\t return function ()\n\t /* state, title, url */\n\t {\n\t var url = arguments.length > 2 ? arguments[2] : undefined; // url argument is optional\n\n\t if (url) {\n\t // coerce to string (this is what pushState does)\n\t self._captureUrlChange(self._lastHref, url + '');\n\t }\n\n\t return origHistFunction.apply(this, arguments);\n\t };\n\t };\n\n\t fill$1(_window$2.history, 'pushState', historyReplacementFunction, wrappedBuiltIns);\n\t fill$1(_window$2.history, 'replaceState', historyReplacementFunction, wrappedBuiltIns);\n\t }\n\n\t if (autoBreadcrumbs.console && 'console' in _window$2 && console.log) {\n\t // console\n\t var consoleMethodCallback = function consoleMethodCallback(msg, data) {\n\t self.captureBreadcrumb({\n\t message: msg,\n\t level: data.level,\n\t category: 'console'\n\t });\n\t };\n\n\t each$1(['debug', 'info', 'warn', 'error', 'log'], function (_, level) {\n\t wrapConsoleMethod(console, level, consoleMethodCallback);\n\t });\n\t }\n\t },\n\t _restoreBuiltIns: function _restoreBuiltIns() {\n\t // restore any wrapped builtins\n\t var builtin;\n\n\t while (this._wrappedBuiltIns.length) {\n\t builtin = this._wrappedBuiltIns.shift();\n\t var obj = builtin[0],\n\t name = builtin[1],\n\t orig = builtin[2];\n\t obj[name] = orig;\n\t }\n\t },\n\t _restoreConsole: function _restoreConsole() {\n\t // eslint-disable-next-line guard-for-in\n\t for (var method in this._originalConsoleMethods) {\n\t this._originalConsole[method] = this._originalConsoleMethods[method];\n\t }\n\t },\n\t _drainPlugins: function _drainPlugins() {\n\t var self = this; // FIX ME TODO\n\n\t each$1(this._plugins, function (_, plugin) {\n\t var installer = plugin[0];\n\t var args = plugin[1];\n\t installer.apply(self, [self].concat(args));\n\t });\n\t },\n\t _parseDSN: function _parseDSN(str) {\n\t var m = dsnPattern.exec(str),\n\t dsn = {},\n\t i = 7;\n\n\t try {\n\t while (i--) {\n\t dsn[dsnKeys[i]] = m[i] || '';\n\t }\n\t } catch (e) {\n\t throw new configError('Invalid DSN: ' + str);\n\t }\n\n\t if (dsn.pass && !this._globalOptions.allowSecretKey) {\n\t throw new configError('Do not specify your secret key in the DSN. See: http://bit.ly/raven-secret-key');\n\t }\n\n\t return dsn;\n\t },\n\t _getGlobalServer: function _getGlobalServer(uri) {\n\t // assemble the endpoint from the uri pieces\n\t var globalServer = '//' + uri.host + (uri.port ? ':' + uri.port : '');\n\n\t if (uri.protocol) {\n\t globalServer = uri.protocol + ':' + globalServer;\n\t }\n\n\t return globalServer;\n\t },\n\t _handleOnErrorStackInfo: function _handleOnErrorStackInfo(stackInfo, options) {\n\t options = options || {};\n\t options.mechanism = options.mechanism || {\n\t type: 'onerror',\n\t handled: false\n\t }; // if we are intentionally ignoring errors via onerror, bail out\n\n\t if (!this._ignoreOnError) {\n\t this._handleStackInfo(stackInfo, options);\n\t }\n\t },\n\t _handleStackInfo: function _handleStackInfo(stackInfo, options) {\n\t var frames = this._prepareFrames(stackInfo, options);\n\n\t this._triggerEvent('handle', {\n\t stackInfo: stackInfo,\n\t options: options\n\t });\n\n\t this._processException(stackInfo.name, stackInfo.message, stackInfo.url, stackInfo.lineno, frames, options);\n\t },\n\t _prepareFrames: function _prepareFrames(stackInfo, options) {\n\t var self = this;\n\t var frames = [];\n\n\t if (stackInfo.stack && stackInfo.stack.length) {\n\t each$1(stackInfo.stack, function (i, stack) {\n\t var frame = self._normalizeFrame(stack, stackInfo.url);\n\n\t if (frame) {\n\t frames.push(frame);\n\t }\n\t }); // e.g. frames captured via captureMessage throw\n\n\t if (options && options.trimHeadFrames) {\n\t for (var j = 0; j < options.trimHeadFrames && j < frames.length; j++) {\n\t frames[j].in_app = false;\n\t }\n\t }\n\t }\n\n\t frames = frames.slice(0, this._globalOptions.stackTraceLimit);\n\t return frames;\n\t },\n\t _normalizeFrame: function _normalizeFrame(frame, stackInfoUrl) {\n\t // normalize the frames data\n\t var normalized = {\n\t filename: frame.url,\n\t lineno: frame.line,\n\t colno: frame.column,\n\t function: frame.func || '?'\n\t }; // Case when we don't have any information about the error\n\t // E.g. throwing a string or raw object, instead of an `Error` in Firefox\n\t // Generating synthetic error doesn't add any value here\n\t //\n\t // We should probably somehow let a user know that they should fix their code\n\n\t if (!frame.url) {\n\t normalized.filename = stackInfoUrl; // fallback to whole stacks url from onerror handler\n\t }\n\n\t normalized.in_app = !( // determine if an exception came from outside of our app\n\t // first we check the global includePaths list.\n\t !!this._globalOptions.includePaths.test && !this._globalOptions.includePaths.test(normalized.filename) || // Now we check for fun, if the function name is Raven or TraceKit\n\t /(Raven|TraceKit)\\./.test(normalized['function']) || // finally, we do a last ditch effort and check for raven.min.js\n\t /raven\\.(min\\.)?js$/.test(normalized.filename));\n\t return normalized;\n\t },\n\t _processException: function _processException(type, message, fileurl, lineno, frames, options) {\n\t var prefixedMessage = (type ? type + ': ' : '') + (message || '');\n\n\t if (!!this._globalOptions.ignoreErrors.test && (this._globalOptions.ignoreErrors.test(message) || this._globalOptions.ignoreErrors.test(prefixedMessage))) {\n\t return;\n\t }\n\n\t var stacktrace;\n\n\t if (frames && frames.length) {\n\t fileurl = frames[0].filename || fileurl; // Sentry expects frames oldest to newest\n\t // and JS sends them as newest to oldest\n\n\t frames.reverse();\n\t stacktrace = {\n\t frames: frames\n\t };\n\t } else if (fileurl) {\n\t stacktrace = {\n\t frames: [{\n\t filename: fileurl,\n\t lineno: lineno,\n\t in_app: true\n\t }]\n\t };\n\t }\n\n\t if (!!this._globalOptions.ignoreUrls.test && this._globalOptions.ignoreUrls.test(fileurl)) {\n\t return;\n\t }\n\n\t if (!!this._globalOptions.whitelistUrls.test && !this._globalOptions.whitelistUrls.test(fileurl)) {\n\t return;\n\t }\n\n\t var data = objectMerge$1({\n\t // sentry.interfaces.Exception\n\t exception: {\n\t values: [{\n\t type: type,\n\t value: message,\n\t stacktrace: stacktrace\n\t }]\n\t },\n\t transaction: fileurl\n\t }, options);\n\t var ex = data.exception.values[0];\n\n\t if (ex.type == null && ex.value === '') {\n\t ex.value = 'Unrecoverable error caught';\n\t } // Move mechanism from options to exception interface\n\t // We do this, as requiring user to pass `{exception:{mechanism:{ ... }}}` would be\n\t // too much\n\n\n\t if (!data.exception.mechanism && data.mechanism) {\n\t data.exception.mechanism = data.mechanism;\n\t delete data.mechanism;\n\t }\n\n\t data.exception.mechanism = objectMerge$1({\n\t type: 'generic',\n\t handled: true\n\t }, data.exception.mechanism || {}); // Fire away!\n\n\t this._send(data);\n\t },\n\t _trimPacket: function _trimPacket(data) {\n\t // For now, we only want to truncate the two different messages\n\t // but this could/should be expanded to just trim everything\n\t var max = this._globalOptions.maxMessageLength;\n\n\t if (data.message) {\n\t data.message = truncate$1(data.message, max);\n\t }\n\n\t if (data.exception) {\n\t var exception = data.exception.values[0];\n\t exception.value = truncate$1(exception.value, max);\n\t }\n\n\t var request = data.request;\n\n\t if (request) {\n\t if (request.url) {\n\t request.url = truncate$1(request.url, this._globalOptions.maxUrlLength);\n\t }\n\n\t if (request.Referer) {\n\t request.Referer = truncate$1(request.Referer, this._globalOptions.maxUrlLength);\n\t }\n\t }\n\n\t if (data.breadcrumbs && data.breadcrumbs.values) this._trimBreadcrumbs(data.breadcrumbs);\n\t return data;\n\t },\n\n\t /**\n\t * Truncate breadcrumb values (right now just URLs)\n\t */\n\t _trimBreadcrumbs: function _trimBreadcrumbs(breadcrumbs) {\n\t // known breadcrumb properties with urls\n\t // TODO: also consider arbitrary prop values that start with (https?)?://\n\t var urlProps = ['to', 'from', 'url'],\n\t urlProp,\n\t crumb,\n\t data;\n\n\t for (var i = 0; i < breadcrumbs.values.length; ++i) {\n\t crumb = breadcrumbs.values[i];\n\t if (!crumb.hasOwnProperty('data') || !isObject$1(crumb.data) || objectFrozen$1(crumb.data)) continue;\n\t data = objectMerge$1({}, crumb.data);\n\n\t for (var j = 0; j < urlProps.length; ++j) {\n\t urlProp = urlProps[j];\n\n\t if (data.hasOwnProperty(urlProp) && data[urlProp]) {\n\t data[urlProp] = truncate$1(data[urlProp], this._globalOptions.maxUrlLength);\n\t }\n\t }\n\n\t breadcrumbs.values[i].data = data;\n\t }\n\t },\n\t _getHttpData: function _getHttpData() {\n\t if (!this._hasNavigator && !this._hasDocument) return;\n\t var httpData = {};\n\n\t if (this._hasNavigator && _navigator.userAgent) {\n\t httpData.headers = {\n\t 'User-Agent': _navigator.userAgent\n\t };\n\t } // Check in `window` instead of `document`, as we may be in ServiceWorker environment\n\n\n\t if (_window$2.location && _window$2.location.href) {\n\t httpData.url = _window$2.location.href;\n\t }\n\n\t if (this._hasDocument && _document.referrer) {\n\t if (!httpData.headers) httpData.headers = {};\n\t httpData.headers.Referer = _document.referrer;\n\t }\n\n\t return httpData;\n\t },\n\t _resetBackoff: function _resetBackoff() {\n\t this._backoffDuration = 0;\n\t this._backoffStart = null;\n\t },\n\t _shouldBackoff: function _shouldBackoff() {\n\t return this._backoffDuration && now() - this._backoffStart < this._backoffDuration;\n\t },\n\n\t /**\n\t * Returns true if the in-process data payload matches the signature\n\t * of the previously-sent data\n\t *\n\t * NOTE: This has to be done at this level because TraceKit can generate\n\t * data from window.onerror WITHOUT an exception object (IE8, IE9,\n\t * other old browsers). This can take the form of an \"exception\"\n\t * data object with a single frame (derived from the onerror args).\n\t */\n\t _isRepeatData: function _isRepeatData(current) {\n\t var last = this._lastData;\n\t if (!last || current.message !== last.message || // defined for captureMessage\n\t current.transaction !== last.transaction // defined for captureException/onerror\n\t ) return false; // Stacktrace interface (i.e. from captureMessage)\n\n\t if (current.stacktrace || last.stacktrace) {\n\t return isSameStacktrace$1(current.stacktrace, last.stacktrace);\n\t } else if (current.exception || last.exception) {\n\t // Exception interface (i.e. from captureException/onerror)\n\t return isSameException$1(current.exception, last.exception);\n\t }\n\n\t return true;\n\t },\n\t _setBackoffState: function _setBackoffState(request) {\n\t // If we are already in a backoff state, don't change anything\n\t if (this._shouldBackoff()) {\n\t return;\n\t }\n\n\t var status = request.status; // 400 - project_id doesn't exist or some other fatal\n\t // 401 - invalid/revoked dsn\n\t // 429 - too many requests\n\n\t if (!(status === 400 || status === 401 || status === 429)) return;\n\t var retry;\n\n\t try {\n\t // If Retry-After is not in Access-Control-Expose-Headers, most\n\t // browsers will throw an exception trying to access it\n\t if (supportsFetch$1()) {\n\t retry = request.headers.get('Retry-After');\n\t } else {\n\t retry = request.getResponseHeader('Retry-After');\n\t } // Retry-After is returned in seconds\n\n\n\t retry = parseInt(retry, 10) * 1000;\n\t } catch (e) {\n\t /* eslint no-empty:0 */\n\t }\n\n\t this._backoffDuration = retry ? // If Sentry server returned a Retry-After value, use it\n\t retry : // Otherwise, double the last backoff duration (starts at 1 sec)\n\t this._backoffDuration * 2 || 1000;\n\t this._backoffStart = now();\n\t },\n\t _send: function _send(data) {\n\t var globalOptions = this._globalOptions;\n\n\t var baseData = {\n\t project: this._globalProject,\n\t logger: globalOptions.logger,\n\t platform: 'javascript'\n\t },\n\t httpData = this._getHttpData();\n\n\t if (httpData) {\n\t baseData.request = httpData;\n\t } // HACK: delete `trimHeadFrames` to prevent from appearing in outbound payload\n\n\n\t if (data.trimHeadFrames) delete data.trimHeadFrames;\n\t data = objectMerge$1(baseData, data); // Merge in the tags and extra separately since objectMerge doesn't handle a deep merge\n\n\t data.tags = objectMerge$1(objectMerge$1({}, this._globalContext.tags), data.tags);\n\t data.extra = objectMerge$1(objectMerge$1({}, this._globalContext.extra), data.extra); // Send along our own collected metadata with extra\n\n\t data.extra['session:duration'] = now() - this._startTime;\n\n\t if (this._breadcrumbs && this._breadcrumbs.length > 0) {\n\t // intentionally make shallow copy so that additions\n\t // to breadcrumbs aren't accidentally sent in this request\n\t data.breadcrumbs = {\n\t values: [].slice.call(this._breadcrumbs, 0)\n\t };\n\t }\n\n\t if (this._globalContext.user) {\n\t // sentry.interfaces.User\n\t data.user = this._globalContext.user;\n\t } // Include the environment if it's defined in globalOptions\n\n\n\t if (globalOptions.environment) data.environment = globalOptions.environment; // Include the release if it's defined in globalOptions\n\n\t if (globalOptions.release) data.release = globalOptions.release; // Include server_name if it's defined in globalOptions\n\n\t if (globalOptions.serverName) data.server_name = globalOptions.serverName;\n\t data = this._sanitizeData(data); // Cleanup empty properties before sending them to the server\n\n\t Object.keys(data).forEach(function (key) {\n\t if (data[key] == null || data[key] === '' || isEmptyObject$1(data[key])) {\n\t delete data[key];\n\t }\n\t });\n\n\t if (isFunction$1(globalOptions.dataCallback)) {\n\t data = globalOptions.dataCallback(data) || data;\n\t } // Why??????????\n\n\n\t if (!data || isEmptyObject$1(data)) {\n\t return;\n\t } // Check if the request should be filtered or not\n\n\n\t if (isFunction$1(globalOptions.shouldSendCallback) && !globalOptions.shouldSendCallback(data)) {\n\t return;\n\t } // Backoff state: Sentry server previously responded w/ an error (e.g. 429 - too many requests),\n\t // so drop requests until \"cool-off\" period has elapsed.\n\n\n\t if (this._shouldBackoff()) {\n\t this._logDebug('warn', 'Raven dropped error due to backoff: ', data);\n\n\t return;\n\t }\n\n\t if (typeof globalOptions.sampleRate === 'number') {\n\t if (Math.random() < globalOptions.sampleRate) {\n\t this._sendProcessedPayload(data);\n\t }\n\t } else {\n\t this._sendProcessedPayload(data);\n\t }\n\t },\n\t _sanitizeData: function _sanitizeData(data) {\n\t return sanitize$1(data, this._globalOptions.sanitizeKeys);\n\t },\n\t _getUuid: function _getUuid() {\n\t return uuid4$1();\n\t },\n\t _sendProcessedPayload: function _sendProcessedPayload(data, callback) {\n\t var self = this;\n\t var globalOptions = this._globalOptions;\n\t if (!this.isSetup()) return; // Try and clean up the packet before sending by truncating long values\n\n\t data = this._trimPacket(data); // ideally duplicate error testing should occur *before* dataCallback/shouldSendCallback,\n\t // but this would require copying an un-truncated copy of the data packet, which can be\n\t // arbitrarily deep (extra_data) -- could be worthwhile? will revisit\n\n\t if (!this._globalOptions.allowDuplicates && this._isRepeatData(data)) {\n\t this._logDebug('warn', 'Raven dropped repeat event: ', data);\n\n\t return;\n\t } // Send along an event_id if not explicitly passed.\n\t // This event_id can be used to reference the error within Sentry itself.\n\t // Set lastEventId after we know the error should actually be sent\n\n\n\t this._lastEventId = data.event_id || (data.event_id = this._getUuid()); // Store outbound payload after trim\n\n\t this._lastData = data;\n\n\t this._logDebug('debug', 'Raven about to send:', data);\n\n\t var auth = {\n\t sentry_version: '7',\n\t sentry_client: 'raven-js/' + this.VERSION,\n\t sentry_key: this._globalKey\n\t };\n\n\t if (this._globalSecret) {\n\t auth.sentry_secret = this._globalSecret;\n\t }\n\n\t var exception = data.exception && data.exception.values[0]; // only capture 'sentry' breadcrumb is autoBreadcrumbs is truthy\n\n\t if (this._globalOptions.autoBreadcrumbs && this._globalOptions.autoBreadcrumbs.sentry) {\n\t this.captureBreadcrumb({\n\t category: 'sentry',\n\t message: exception ? (exception.type ? exception.type + ': ' : '') + exception.value : data.message,\n\t event_id: data.event_id,\n\t level: data.level || 'error' // presume error unless specified\n\n\t });\n\t }\n\n\t var url = this._globalEndpoint;\n\n\t (globalOptions.transport || this._makeRequest).call(this, {\n\t url: url,\n\t auth: auth,\n\t data: data,\n\t options: globalOptions,\n\t onSuccess: function success() {\n\t self._resetBackoff();\n\n\t self._triggerEvent('success', {\n\t data: data,\n\t src: url\n\t });\n\n\t callback && callback();\n\t },\n\t onError: function failure(error) {\n\t self._logDebug('error', 'Raven transport failed to send: ', error);\n\n\t if (error.request) {\n\t self._setBackoffState(error.request);\n\t }\n\n\t self._triggerEvent('failure', {\n\t data: data,\n\t src: url\n\t });\n\n\t error = error || new Error('Raven send failed (no additional details provided)');\n\t callback && callback(error);\n\t }\n\t });\n\t },\n\t _makeRequest: function _makeRequest(opts) {\n\t // Auth is intentionally sent as part of query string (NOT as custom HTTP header) to avoid preflight CORS requests\n\t var url = opts.url + '?' + urlencode$1(opts.auth);\n\t var evaluatedHeaders = null;\n\t var evaluatedFetchParameters = {};\n\n\t if (opts.options.headers) {\n\t evaluatedHeaders = this._evaluateHash(opts.options.headers);\n\t }\n\n\t if (opts.options.fetchParameters) {\n\t evaluatedFetchParameters = this._evaluateHash(opts.options.fetchParameters);\n\t }\n\n\t if (supportsFetch$1()) {\n\t evaluatedFetchParameters.body = stringify_1(opts.data);\n\t var defaultFetchOptions = objectMerge$1({}, this._fetchDefaults);\n\t var fetchOptions = objectMerge$1(defaultFetchOptions, evaluatedFetchParameters);\n\n\t if (evaluatedHeaders) {\n\t fetchOptions.headers = evaluatedHeaders;\n\t }\n\n\t return _window$2.fetch(url, fetchOptions).then(function (response) {\n\t if (response.ok) {\n\t opts.onSuccess && opts.onSuccess();\n\t } else {\n\t var error = new Error('Sentry error code: ' + response.status); // It's called request only to keep compatibility with XHR interface\n\t // and not add more redundant checks in setBackoffState method\n\n\t error.request = response;\n\t opts.onError && opts.onError(error);\n\t }\n\t })['catch'](function () {\n\t opts.onError && opts.onError(new Error('Sentry error code: network unavailable'));\n\t });\n\t }\n\n\t var request = _window$2.XMLHttpRequest && new _window$2.XMLHttpRequest();\n\t if (!request) return; // if browser doesn't support CORS (e.g. IE7), we are out of luck\n\n\t var hasCORS = 'withCredentials' in request || typeof XDomainRequest !== 'undefined';\n\t if (!hasCORS) return;\n\n\t if ('withCredentials' in request) {\n\t request.onreadystatechange = function () {\n\t if (request.readyState !== 4) {\n\t return;\n\t } else if (request.status === 200) {\n\t opts.onSuccess && opts.onSuccess();\n\t } else if (opts.onError) {\n\t var err = new Error('Sentry error code: ' + request.status);\n\t err.request = request;\n\t opts.onError(err);\n\t }\n\t };\n\t } else {\n\t request = new XDomainRequest(); // xdomainrequest cannot go http -> https (or vice versa),\n\t // so always use protocol relative\n\n\t url = url.replace(/^https?:/, ''); // onreadystatechange not supported by XDomainRequest\n\n\t if (opts.onSuccess) {\n\t request.onload = opts.onSuccess;\n\t }\n\n\t if (opts.onError) {\n\t request.onerror = function () {\n\t var err = new Error('Sentry error code: XDomainRequest');\n\t err.request = request;\n\t opts.onError(err);\n\t };\n\t }\n\t }\n\n\t request.open('POST', url);\n\n\t if (evaluatedHeaders) {\n\t each$1(evaluatedHeaders, function (key, value) {\n\t request.setRequestHeader(key, value);\n\t });\n\t }\n\n\t request.send(stringify_1(opts.data));\n\t },\n\t _evaluateHash: function _evaluateHash(hash) {\n\t var evaluated = {};\n\n\t for (var key in hash) {\n\t if (hash.hasOwnProperty(key)) {\n\t var value = hash[key];\n\t evaluated[key] = typeof value === 'function' ? value() : value;\n\t }\n\t }\n\n\t return evaluated;\n\t },\n\t _logDebug: function _logDebug(level) {\n\t // We allow `Raven.debug` and `Raven.config(DSN, { debug: true })` to not make backward incompatible API change\n\t if (this._originalConsoleMethods[level] && (this.debug || this._globalOptions.debug)) {\n\t // In IE<10 console methods do not have their own 'apply' method\n\t Function.prototype.apply.call(this._originalConsoleMethods[level], this._originalConsole, [].slice.call(arguments, 1));\n\t }\n\t },\n\t _mergeContext: function _mergeContext(key, context) {\n\t if (isUndefined$1(context)) {\n\t delete this._globalContext[key];\n\t } else {\n\t this._globalContext[key] = objectMerge$1(this._globalContext[key] || {}, context);\n\t }\n\t }\n\t}; // Deprecations\n\n\tRaven.prototype.setUser = Raven.prototype.setUserContext;\n\tRaven.prototype.setReleaseContext = Raven.prototype.setRelease;\n\tvar raven = Raven;\n\n\t/**\n\t * Enforces a single instance of the Raven client, and the\n\t * main entry point for Raven. If you are a consumer of the\n\t * Raven library, you SHOULD load this file (vs raven.js).\n\t **/\n\t// This is to be defensive in environments where window does not exist (see https://github.com/getsentry/raven-js/pull/785)\n\n\tvar _window$3 = typeof window !== 'undefined' ? window : typeof commonjsGlobal !== 'undefined' ? commonjsGlobal : typeof self !== 'undefined' ? self : {};\n\n\tvar _Raven = _window$3.Raven;\n\tvar Raven$1 = new raven();\n\t/*\n\t * Allow multiple versions of Raven to be installed.\n\t * Strip Raven from the global context and returns the instance.\n\t *\n\t * @return {Raven}\n\t */\n\n\tRaven$1.noConflict = function () {\n\t _window$3.Raven = _Raven;\n\t return Raven$1;\n\t};\n\n\tRaven$1.afterLoad();\n\tvar singleton = Raven$1;\n\t/**\n\t * DISCLAIMER:\n\t *\n\t * Expose `Client` constructor for cases where user want to track multiple \"sub-applications\" in one larger app.\n\t * It's not meant to be used by a wide audience, so pleaaase make sure that you know what you're doing before using it.\n\t * Accidentally calling `install` multiple times, may result in an unexpected behavior that's very hard to debug.\n\t *\n\t * It's called `Client' to be in-line with Raven Node implementation.\n\t *\n\t * HOWTO:\n\t *\n\t * import Raven from 'raven-js';\n\t *\n\t * const someAppReporter = new Raven.Client();\n\t * const someOtherAppReporter = new Raven.Client();\n\t *\n\t * someAppReporter.config('__DSN__', {\n\t * ...config goes here\n\t * });\n\t *\n\t * someOtherAppReporter.config('__OTHER_DSN__', {\n\t * ...config goes here\n\t * });\n\t *\n\t * someAppReporter.captureMessage(...);\n\t * someAppReporter.captureException(...);\n\t * someAppReporter.captureBreadcrumb(...);\n\t *\n\t * someOtherAppReporter.captureMessage(...);\n\t * someOtherAppReporter.captureException(...);\n\t * someOtherAppReporter.captureBreadcrumb(...);\n\t *\n\t * It should \"just work\".\n\t */\n\n\tvar Client = raven;\n\tsingleton.Client = Client;\n\n\tvar defaults = {\n\t addCSS: true,\n\t // Add CSS to the element to improve usability (required here or in your CSS!)\n\t thumbWidth: 15,\n\t // The width of the thumb handle\n\t watch: true // Watch for new elements that match a string target\n\n\t};\n\n\t// Element matches a selector\n\tfunction matches(element, selector) {\n\n\t function match() {\n\t return Array.from(document.querySelectorAll(selector)).includes(this);\n\t }\n\n\t var matches = match;\n\t return matches.call(element, selector);\n\t}\n\n\t// Trigger event\n\tfunction trigger(element, type) {\n\t if (!element || !type) {\n\t return;\n\t } // Create and dispatch the event\n\n\n\t var event = new Event(type); // Dispatch the event\n\n\t element.dispatchEvent(event);\n\t}\n\n\t// ==========================================================================\n\t// Type checking utils\n\t// ==========================================================================\n\tvar getConstructor = function getConstructor(input) {\n\t return input !== null && typeof input !== 'undefined' ? input.constructor : null;\n\t};\n\n\tvar instanceOf = function instanceOf(input, constructor) {\n\t return Boolean(input && constructor && input instanceof constructor);\n\t};\n\n\tvar isNullOrUndefined = function isNullOrUndefined(input) {\n\t return input === null || typeof input === 'undefined';\n\t};\n\n\tvar isObject$2 = function isObject(input) {\n\t return getConstructor(input) === Object;\n\t};\n\n\tvar isNumber = function isNumber(input) {\n\t return getConstructor(input) === Number && !Number.isNaN(input);\n\t};\n\n\tvar isString$2 = function isString(input) {\n\t return getConstructor(input) === String;\n\t};\n\n\tvar isBoolean = function isBoolean(input) {\n\t return getConstructor(input) === Boolean;\n\t};\n\n\tvar isFunction$2 = function isFunction(input) {\n\t return getConstructor(input) === Function;\n\t};\n\n\tvar isArray$2 = function isArray(input) {\n\t return Array.isArray(input);\n\t};\n\n\tvar isNodeList = function isNodeList(input) {\n\t return instanceOf(input, NodeList);\n\t};\n\n\tvar isElement = function isElement(input) {\n\t return instanceOf(input, Element);\n\t};\n\n\tvar isEvent = function isEvent(input) {\n\t return instanceOf(input, Event);\n\t};\n\n\tvar isEmpty = function isEmpty(input) {\n\t return isNullOrUndefined(input) || (isString$2(input) || isArray$2(input) || isNodeList(input)) && !input.length || isObject$2(input) && !Object.keys(input).length;\n\t};\n\n\tvar is = {\n\t nullOrUndefined: isNullOrUndefined,\n\t object: isObject$2,\n\t number: isNumber,\n\t string: isString$2,\n\t boolean: isBoolean,\n\t function: isFunction$2,\n\t array: isArray$2,\n\t nodeList: isNodeList,\n\t element: isElement,\n\t event: isEvent,\n\t empty: isEmpty\n\t};\n\n\t// Get the number of decimal places\n\tfunction getDecimalPlaces(value) {\n\t var match = \"\".concat(value).match(/(?:\\.(\\d+))?(?:[eE]([+-]?\\d+))?$/);\n\n\t if (!match) {\n\t return 0;\n\t }\n\n\t return Math.max(0, // Number of digits right of decimal point.\n\t (match[1] ? match[1].length : 0) - ( // Adjust for scientific notation.\n\t match[2] ? +match[2] : 0));\n\t} // Round to the nearest step\n\n\tfunction round(number, step) {\n\t if (step < 1) {\n\t var places = getDecimalPlaces(step);\n\t return parseFloat(number.toFixed(places));\n\t }\n\n\t return Math.round(number / step) * step;\n\t}\n\n\tvar RangeTouch =\n\t/*#__PURE__*/\n\tfunction () {\n\t /**\n\t * Setup a new instance\n\t * @param {String|Element} target\n\t * @param {Object} options\n\t */\n\t function RangeTouch(target, options) {\n\t _classCallCheck(this, RangeTouch);\n\n\t if (is.element(target)) {\n\t // An Element is passed, use it directly\n\t this.element = target;\n\t } else if (is.string(target)) {\n\t // A CSS Selector is passed, fetch it from the DOM\n\t this.element = document.querySelector(target);\n\t }\n\n\t if (!is.element(this.element) || !is.empty(this.element.rangeTouch)) {\n\t return;\n\t }\n\n\t this.config = Object.assign({}, defaults, options);\n\t this.init();\n\t }\n\n\t _createClass(RangeTouch, [{\n\t key: \"init\",\n\t value: function init() {\n\t // Bail if not a touch enabled device\n\t if (!RangeTouch.enabled) {\n\t return;\n\t } // Add useful CSS\n\n\n\t if (this.config.addCSS) {\n\t // TODO: Restore original values on destroy\n\t this.element.style.userSelect = 'none';\n\t this.element.style.webKitUserSelect = 'none';\n\t this.element.style.touchAction = 'manipulation';\n\t }\n\n\t this.listeners(true);\n\t this.element.rangeTouch = this;\n\t }\n\t }, {\n\t key: \"destroy\",\n\t value: function destroy() {\n\t // Bail if not a touch enabled device\n\t if (!RangeTouch.enabled) {\n\t return;\n\t }\n\n\t this.listeners(false);\n\t this.element.rangeTouch = null;\n\t }\n\t }, {\n\t key: \"listeners\",\n\t value: function listeners(toggle) {\n\t var _this = this;\n\n\t var method = toggle ? 'addEventListener' : 'removeEventListener'; // Listen for events\n\n\t ['touchstart', 'touchmove', 'touchend'].forEach(function (type) {\n\t _this.element[method](type, function (event) {\n\t return _this.set(event);\n\t }, false);\n\t });\n\t }\n\t /**\n\t * Get the value based on touch position\n\t * @param {Event} event\n\t */\n\n\t }, {\n\t key: \"get\",\n\t value: function get(event) {\n\t if (!RangeTouch.enabled || !is.event(event)) {\n\t return null;\n\t }\n\n\t var input = event.target;\n\t var touch = event.changedTouches[0];\n\t var min = parseFloat(input.getAttribute('min')) || 0;\n\t var max = parseFloat(input.getAttribute('max')) || 100;\n\t var step = parseFloat(input.getAttribute('step')) || 1;\n\t var delta = max - min; // Calculate percentage\n\n\t var percent;\n\t var clientRect = input.getBoundingClientRect();\n\t var thumbWidth = 100 / clientRect.width * (this.config.thumbWidth / 2) / 100; // Determine left percentage\n\n\t percent = 100 / clientRect.width * (touch.clientX - clientRect.left); // Don't allow outside bounds\n\n\t if (percent < 0) {\n\t percent = 0;\n\t } else if (percent > 100) {\n\t percent = 100;\n\t } // Factor in the thumb offset\n\n\n\t if (percent < 50) {\n\t percent -= (100 - percent * 2) * thumbWidth;\n\t } else if (percent > 50) {\n\t percent += (percent - 50) * 2 * thumbWidth;\n\t } // Find the closest step to the mouse position\n\n\n\t return min + round(delta * (percent / 100), step);\n\t }\n\t /**\n\t * Update range value based on position\n\t * @param {Event} event\n\t */\n\n\t }, {\n\t key: \"set\",\n\t value: function set(event) {\n\t if (!RangeTouch.enabled || !is.event(event) || event.target.disabled) {\n\t return;\n\t } // Prevent text highlight on iOS\n\n\n\t event.preventDefault(); // Set value\n\n\t event.target.value = this.get(event); // Trigger event\n\n\t trigger(event.target, event.type === 'touchend' ? 'change' : 'input');\n\t }\n\t }], [{\n\t key: \"setup\",\n\n\t /**\n\t * Setup multiple instances\n\t * @param {String|Element|NodeList|Array} target\n\t * @param {Object} options\n\t */\n\t value: function setup(target) {\n\t var options = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};\n\t var targets = null;\n\n\t if (is.empty(target) || is.string(target)) {\n\t targets = Array.from(document.querySelectorAll(is.string(target) ? target : 'input[type=\"range\"]'));\n\t } else if (is.element(target)) {\n\t targets = [target];\n\t } else if (is.nodeList(target)) {\n\t targets = Array.from(target);\n\t } else if (is.array(target)) {\n\t targets = target.filter(is.element);\n\t }\n\n\t if (is.empty(targets)) {\n\t return null;\n\t }\n\n\t var config = Object.assign({}, defaults, options);\n\n\t if (is.string(target) && config.watch) {\n\t // Create an observer instance\n\t var observer = new MutationObserver(function (mutations) {\n\t Array.from(mutations).forEach(function (mutation) {\n\t Array.from(mutation.addedNodes).forEach(function (node) {\n\t if (!is.element(node) || !matches(node, target)) {\n\t return;\n\t } // eslint-disable-next-line no-unused-vars\n\n\n\t var range = new RangeTouch(node, config);\n\t });\n\t });\n\t }); // Pass in the target node, as well as the observer options\n\n\t observer.observe(document.body, {\n\t childList: true,\n\t subtree: true\n\t });\n\t }\n\n\t return targets.map(function (t) {\n\t return new RangeTouch(t, options);\n\t });\n\t }\n\t }, {\n\t key: \"enabled\",\n\t get: function get() {\n\t return 'ontouchstart' in document.documentElement;\n\t }\n\t }]);\n\n\t return RangeTouch;\n\t}();\n\n\t// ==========================================================================\n\t// Type checking utils\n\t// ==========================================================================\n\tvar getConstructor$1 = function getConstructor(input) {\n\t return input !== null && typeof input !== 'undefined' ? input.constructor : null;\n\t};\n\n\tvar instanceOf$1 = function instanceOf(input, constructor) {\n\t return Boolean(input && constructor && input instanceof constructor);\n\t};\n\n\tvar isNullOrUndefined$1 = function isNullOrUndefined(input) {\n\t return input === null || typeof input === 'undefined';\n\t};\n\n\tvar isObject$3 = function isObject(input) {\n\t return getConstructor$1(input) === Object;\n\t};\n\n\tvar isNumber$1 = function isNumber(input) {\n\t return getConstructor$1(input) === Number && !Number.isNaN(input);\n\t};\n\n\tvar isString$3 = function isString(input) {\n\t return getConstructor$1(input) === String;\n\t};\n\n\tvar isBoolean$1 = function isBoolean(input) {\n\t return getConstructor$1(input) === Boolean;\n\t};\n\n\tvar isFunction$3 = function isFunction(input) {\n\t return getConstructor$1(input) === Function;\n\t};\n\n\tvar isArray$3 = function isArray(input) {\n\t return Array.isArray(input);\n\t};\n\n\tvar isWeakMap = function isWeakMap(input) {\n\t return instanceOf$1(input, WeakMap);\n\t};\n\n\tvar isNodeList$1 = function isNodeList(input) {\n\t return instanceOf$1(input, NodeList);\n\t};\n\n\tvar isElement$1 = function isElement(input) {\n\t return instanceOf$1(input, Element);\n\t};\n\n\tvar isTextNode = function isTextNode(input) {\n\t return getConstructor$1(input) === Text;\n\t};\n\n\tvar isEvent$1 = function isEvent(input) {\n\t return instanceOf$1(input, Event);\n\t};\n\n\tvar isKeyboardEvent = function isKeyboardEvent(input) {\n\t return instanceOf$1(input, KeyboardEvent);\n\t};\n\n\tvar isCue = function isCue(input) {\n\t return instanceOf$1(input, window.TextTrackCue) || instanceOf$1(input, window.VTTCue);\n\t};\n\n\tvar isTrack = function isTrack(input) {\n\t return instanceOf$1(input, TextTrack) || !isNullOrUndefined$1(input) && isString$3(input.kind);\n\t};\n\n\tvar isPromise = function isPromise(input) {\n\t return instanceOf$1(input, Promise);\n\t};\n\n\tvar isEmpty$1 = function isEmpty(input) {\n\t return isNullOrUndefined$1(input) || (isString$3(input) || isArray$3(input) || isNodeList$1(input)) && !input.length || isObject$3(input) && !Object.keys(input).length;\n\t};\n\n\tvar isUrl = function isUrl(input) {\n\t // Accept a URL object\n\t if (instanceOf$1(input, window.URL)) {\n\t return true;\n\t } // Must be string from here\n\n\n\t if (!isString$3(input)) {\n\t return false;\n\t } // Add the protocol if required\n\n\n\t var string = input;\n\n\t if (!input.startsWith('http://') || !input.startsWith('https://')) {\n\t string = \"http://\".concat(input);\n\t }\n\n\t try {\n\t return !isEmpty$1(new URL(string).hostname);\n\t } catch (e) {\n\t return false;\n\t }\n\t};\n\n\tvar is$1 = {\n\t nullOrUndefined: isNullOrUndefined$1,\n\t object: isObject$3,\n\t number: isNumber$1,\n\t string: isString$3,\n\t boolean: isBoolean$1,\n\t function: isFunction$3,\n\t array: isArray$3,\n\t weakMap: isWeakMap,\n\t nodeList: isNodeList$1,\n\t element: isElement$1,\n\t textNode: isTextNode,\n\t event: isEvent$1,\n\t keyboardEvent: isKeyboardEvent,\n\t cue: isCue,\n\t track: isTrack,\n\t promise: isPromise,\n\t url: isUrl,\n\t empty: isEmpty$1\n\t};\n\n\t// ==========================================================================\n\t// https://github.com/WICG/EventListenerOptions/blob/gh-pages/explainer.md\n\t// https://www.youtube.com/watch?v=NPM6172J22g\n\n\tvar supportsPassiveListeners = function () {\n\t // Test via a getter in the options object to see if the passive property is accessed\n\t var supported = false;\n\n\t try {\n\t var options = Object.defineProperty({}, 'passive', {\n\t get: function get() {\n\t supported = true;\n\t return null;\n\t }\n\t });\n\t window.addEventListener('test', null, options);\n\t window.removeEventListener('test', null, options);\n\t } catch (e) {// Do nothing\n\t }\n\n\t return supported;\n\t}(); // Toggle event listener\n\n\n\tfunction toggleListener(element, event, callback) {\n\t var _this = this;\n\n\t var toggle = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : false;\n\t var passive = arguments.length > 4 && arguments[4] !== undefined ? arguments[4] : true;\n\t var capture = arguments.length > 5 && arguments[5] !== undefined ? arguments[5] : false;\n\n\t // Bail if no element, event, or callback\n\t if (!element || !('addEventListener' in element) || is$1.empty(event) || !is$1.function(callback)) {\n\t return;\n\t } // Allow multiple events\n\n\n\t var events = event.split(' '); // Build options\n\t // Default to just the capture boolean for browsers with no passive listener support\n\n\t var options = capture; // If passive events listeners are supported\n\n\t if (supportsPassiveListeners) {\n\t options = {\n\t // Whether the listener can be passive (i.e. default never prevented)\n\t passive: passive,\n\t // Whether the listener is a capturing listener or not\n\t capture: capture\n\t };\n\t } // If a single node is passed, bind the event listener\n\n\n\t events.forEach(function (type) {\n\t if (_this && _this.eventListeners && toggle) {\n\t // Cache event listener\n\t _this.eventListeners.push({\n\t element: element,\n\t type: type,\n\t callback: callback,\n\t options: options\n\t });\n\t }\n\n\t element[toggle ? 'addEventListener' : 'removeEventListener'](type, callback, options);\n\t });\n\t} // Bind event handler\n\n\tfunction on(element) {\n\t var events = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : '';\n\t var callback = arguments.length > 2 ? arguments[2] : undefined;\n\t var passive = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : true;\n\t var capture = arguments.length > 4 && arguments[4] !== undefined ? arguments[4] : false;\n\t toggleListener.call(this, element, events, callback, true, passive, capture);\n\t} // Unbind event handler\n\n\tfunction off(element) {\n\t var events = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : '';\n\t var callback = arguments.length > 2 ? arguments[2] : undefined;\n\t var passive = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : true;\n\t var capture = arguments.length > 4 && arguments[4] !== undefined ? arguments[4] : false;\n\t toggleListener.call(this, element, events, callback, false, passive, capture);\n\t} // Bind once-only event handler\n\n\tfunction once(element) {\n\t var _this2 = this;\n\n\t var events = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : '';\n\t var callback = arguments.length > 2 ? arguments[2] : undefined;\n\t var passive = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : true;\n\t var capture = arguments.length > 4 && arguments[4] !== undefined ? arguments[4] : false;\n\n\t var onceCallback = function onceCallback() {\n\t off(element, events, onceCallback, passive, capture);\n\n\t for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {\n\t args[_key] = arguments[_key];\n\t }\n\n\t callback.apply(_this2, args);\n\t };\n\n\t toggleListener.call(this, element, events, onceCallback, true, passive, capture);\n\t} // Trigger event\n\n\tfunction triggerEvent(element) {\n\t var type = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : '';\n\t var bubbles = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : false;\n\t var detail = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : {};\n\n\t // Bail if no element\n\t if (!is$1.element(element) || is$1.empty(type)) {\n\t return;\n\t } // Create and dispatch the event\n\n\n\t var event = new CustomEvent(type, {\n\t bubbles: bubbles,\n\t detail: Object.assign({}, detail, {\n\t plyr: this\n\t })\n\t }); // Dispatch the event\n\n\t element.dispatchEvent(event);\n\t} // Unbind all cached event listeners\n\n\tfunction unbindListeners() {\n\t if (this && this.eventListeners) {\n\t this.eventListeners.forEach(function (item) {\n\t var element = item.element,\n\t type = item.type,\n\t callback = item.callback,\n\t options = item.options;\n\t element.removeEventListener(type, callback, options);\n\t });\n\t this.eventListeners = [];\n\t }\n\t} // Run method when / if player is ready\n\n\tfunction ready() {\n\t var _this3 = this;\n\n\t return new Promise(function (resolve) {\n\t return _this3.ready ? setTimeout(resolve, 0) : on.call(_this3, _this3.elements.container, 'ready', resolve);\n\t }).then(function () {});\n\t}\n\n\tfunction wrap(elements, wrapper) {\n\t // Convert `elements` to an array, if necessary.\n\t var targets = elements.length ? elements : [elements]; // Loops backwards to prevent having to clone the wrapper on the\n\t // first element (see `child` below).\n\n\t Array.from(targets).reverse().forEach(function (element, index) {\n\t var child = index > 0 ? wrapper.cloneNode(true) : wrapper; // Cache the current parent and sibling.\n\n\t var parent = element.parentNode;\n\t var sibling = element.nextSibling; // Wrap the element (is automatically removed from its current\n\t // parent).\n\n\t child.appendChild(element); // If the element had a sibling, insert the wrapper before\n\t // the sibling to maintain the HTML structure; otherwise, just\n\t // append it to the parent.\n\n\t if (sibling) {\n\t parent.insertBefore(child, sibling);\n\t } else {\n\t parent.appendChild(child);\n\t }\n\t });\n\t} // Set attributes\n\n\tfunction setAttributes(element, attributes) {\n\t if (!is$1.element(element) || is$1.empty(attributes)) {\n\t return;\n\t } // Assume null and undefined attributes should be left out,\n\t // Setting them would otherwise convert them to \"null\" and \"undefined\"\n\n\n\t Object.entries(attributes).filter(function (_ref) {\n\t var _ref2 = _slicedToArray(_ref, 2),\n\t value = _ref2[1];\n\n\t return !is$1.nullOrUndefined(value);\n\t }).forEach(function (_ref3) {\n\t var _ref4 = _slicedToArray(_ref3, 2),\n\t key = _ref4[0],\n\t value = _ref4[1];\n\n\t return element.setAttribute(key, value);\n\t });\n\t} // Create a DocumentFragment\n\n\tfunction createElement(type, attributes, text) {\n\t // Create a new \n\t var element = document.createElement(type); // Set all passed attributes\n\n\t if (is$1.object(attributes)) {\n\t setAttributes(element, attributes);\n\t } // Add text node\n\n\n\t if (is$1.string(text)) {\n\t element.innerText = text;\n\t } // Return built element\n\n\n\t return element;\n\t} // Inaert an element after another\n\n\tfunction insertAfter(element, target) {\n\t if (!is$1.element(element) || !is$1.element(target)) {\n\t return;\n\t }\n\n\t target.parentNode.insertBefore(element, target.nextSibling);\n\t} // Insert a DocumentFragment\n\n\tfunction insertElement(type, parent, attributes, text) {\n\t if (!is$1.element(parent)) {\n\t return;\n\t }\n\n\t parent.appendChild(createElement(type, attributes, text));\n\t} // Remove element(s)\n\n\tfunction removeElement(element) {\n\t if (is$1.nodeList(element) || is$1.array(element)) {\n\t Array.from(element).forEach(removeElement);\n\t return;\n\t }\n\n\t if (!is$1.element(element) || !is$1.element(element.parentNode)) {\n\t return;\n\t }\n\n\t element.parentNode.removeChild(element);\n\t} // Remove all child elements\n\n\tfunction emptyElement(element) {\n\t if (!is$1.element(element)) {\n\t return;\n\t }\n\n\t var length = element.childNodes.length;\n\n\t while (length > 0) {\n\t element.removeChild(element.lastChild);\n\t length -= 1;\n\t }\n\t} // Replace element\n\n\tfunction replaceElement(newChild, oldChild) {\n\t if (!is$1.element(oldChild) || !is$1.element(oldChild.parentNode) || !is$1.element(newChild)) {\n\t return null;\n\t }\n\n\t oldChild.parentNode.replaceChild(newChild, oldChild);\n\t return newChild;\n\t} // Get an attribute object from a string selector\n\n\tfunction getAttributesFromSelector(sel, existingAttributes) {\n\t // For example:\n\t // '.test' to { class: 'test' }\n\t // '#test' to { id: 'test' }\n\t // '[data-test=\"test\"]' to { 'data-test': 'test' }\n\t if (!is$1.string(sel) || is$1.empty(sel)) {\n\t return {};\n\t }\n\n\t var attributes = {};\n\t var existing = existingAttributes;\n\t sel.split(',').forEach(function (s) {\n\t // Remove whitespace\n\t var selector = s.trim();\n\t var className = selector.replace('.', '');\n\t var stripped = selector.replace(/[[\\]]/g, ''); // Get the parts and value\n\n\t var parts = stripped.split('=');\n\t var key = parts[0];\n\t var value = parts.length > 1 ? parts[1].replace(/[\"']/g, '') : ''; // Get the first character\n\n\t var start = selector.charAt(0);\n\n\t switch (start) {\n\t case '.':\n\t // Add to existing classname\n\t if (is$1.object(existing) && is$1.string(existing.class)) {\n\t existing.class += \" \".concat(className);\n\t }\n\n\t attributes.class = className;\n\t break;\n\n\t case '#':\n\t // ID selector\n\t attributes.id = selector.replace('#', '');\n\t break;\n\n\t case '[':\n\t // Attribute selector\n\t attributes[key] = value;\n\t break;\n\n\t default:\n\t break;\n\t }\n\t });\n\t return attributes;\n\t} // Toggle hidden\n\n\tfunction toggleHidden(element, hidden) {\n\t if (!is$1.element(element)) {\n\t return;\n\t }\n\n\t var hide = hidden;\n\n\t if (!is$1.boolean(hide)) {\n\t hide = !element.hidden;\n\t }\n\n\t if (hide) {\n\t element.setAttribute('hidden', '');\n\t } else {\n\t element.removeAttribute('hidden');\n\t }\n\t} // Mirror Element.classList.toggle, with IE compatibility for \"force\" argument\n\n\tfunction toggleClass(element, className, force) {\n\t if (is$1.nodeList(element)) {\n\t return Array.from(element).map(function (e) {\n\t return toggleClass(e, className, force);\n\t });\n\t }\n\n\t if (is$1.element(element)) {\n\t var method = 'toggle';\n\n\t if (typeof force !== 'undefined') {\n\t method = force ? 'add' : 'remove';\n\t }\n\n\t element.classList[method](className);\n\t return element.classList.contains(className);\n\t }\n\n\t return false;\n\t} // Has class name\n\n\tfunction hasClass(element, className) {\n\t return is$1.element(element) && element.classList.contains(className);\n\t} // Element matches selector\n\n\tfunction matches$1(element, selector) {\n\n\t function match() {\n\t return Array.from(document.querySelectorAll(selector)).includes(this);\n\t }\n\n\t var matches = match;\n\t return matches.call(element, selector);\n\t} // Find all elements\n\n\tfunction getElements(selector) {\n\t return this.elements.container.querySelectorAll(selector);\n\t} // Find a single element\n\n\tfunction getElement(selector) {\n\t return this.elements.container.querySelector(selector);\n\t} // Trap focus inside container\n\n\tfunction trapFocus() {\n\t var element = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : null;\n\t var toggle = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : false;\n\n\t if (!is$1.element(element)) {\n\t return;\n\t }\n\n\t var focusable = getElements.call(this, 'button:not(:disabled), input:not(:disabled), [tabindex]');\n\t var first = focusable[0];\n\t var last = focusable[focusable.length - 1];\n\n\t var trap = function trap(event) {\n\t // Bail if not tab key or not fullscreen\n\t if (event.key !== 'Tab' || event.keyCode !== 9) {\n\t return;\n\t } // Get the current focused element\n\n\n\t var focused = document.activeElement;\n\n\t if (focused === last && !event.shiftKey) {\n\t // Move focus to first element that can be tabbed if Shift isn't used\n\t first.focus();\n\t event.preventDefault();\n\t } else if (focused === first && event.shiftKey) {\n\t // Move focus to last element that can be tabbed if Shift is used\n\t last.focus();\n\t event.preventDefault();\n\t }\n\t };\n\n\t toggleListener.call(this, this.elements.container, 'keydown', trap, toggle, false);\n\t} // Set focus and tab focus class\n\n\tfunction setFocus() {\n\t var element = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : null;\n\t var tabFocus = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : false;\n\n\t if (!is$1.element(element)) {\n\t return;\n\t } // Set regular focus\n\n\n\t element.focus({\n\t preventScroll: true\n\t }); // If we want to mimic keyboard focus via tab\n\n\t if (tabFocus) {\n\t toggleClass(element, this.config.classNames.tabFocus);\n\t }\n\t}\n\n\t// ==========================================================================\n\tvar transitionEndEvent = function () {\n\t var element = document.createElement('span');\n\t var events = {\n\t WebkitTransition: 'webkitTransitionEnd',\n\t MozTransition: 'transitionend',\n\t OTransition: 'oTransitionEnd otransitionend',\n\t transition: 'transitionend'\n\t };\n\t var type = Object.keys(events).find(function (event) {\n\t return element.style[event] !== undefined;\n\t });\n\t return is$1.string(type) ? events[type] : false;\n\t}(); // Force repaint of element\n\n\tfunction repaint(element) {\n\t setTimeout(function () {\n\t try {\n\t toggleHidden(element, true);\n\t element.offsetHeight; // eslint-disable-line\n\n\t toggleHidden(element, false);\n\t } catch (e) {// Do nothing\n\t }\n\t }, 0);\n\t}\n\n\t// ==========================================================================\n\t// Browser sniffing\n\t// Unfortunately, due to mixed support, UA sniffing is required\n\t// ==========================================================================\n\tvar browser = {\n\t isIE:\n\t /* @cc_on!@ */\n\t !!document.documentMode,\n\t isEdge: window.navigator.userAgent.includes('Edge'),\n\t isWebkit: 'WebkitAppearance' in document.documentElement.style && !/Edge/.test(navigator.userAgent),\n\t isIPhone: /(iPhone|iPod)/gi.test(navigator.platform),\n\t isIos: /(iPad|iPhone|iPod)/gi.test(navigator.platform)\n\t};\n\n\tvar defaultCodecs = {\n\t 'audio/ogg': 'vorbis',\n\t 'audio/wav': '1',\n\t 'video/webm': 'vp8, vorbis',\n\t 'video/mp4': 'avc1.42E01E, mp4a.40.2',\n\t 'video/ogg': 'theora'\n\t}; // Check for feature support\n\n\tvar support = {\n\t // Basic support\n\t audio: 'canPlayType' in document.createElement('audio'),\n\t video: 'canPlayType' in document.createElement('video'),\n\t // Check for support\n\t // Basic functionality vs full UI\n\t check: function check(type, provider, playsinline) {\n\t var canPlayInline = browser.isIPhone && playsinline && support.playsinline;\n\t var api = support[type] || provider !== 'html5';\n\t var ui = api && support.rangeInput && (type !== 'video' || !browser.isIPhone || canPlayInline);\n\t return {\n\t api: api,\n\t ui: ui\n\t };\n\t },\n\t // Picture-in-picture support\n\t // Safari & Chrome only currently\n\t pip: function () {\n\t if (browser.isIPhone) {\n\t return false;\n\t } // Safari\n\t // https://developer.apple.com/documentation/webkitjs/adding_picture_in_picture_to_your_safari_media_controls\n\n\n\t if (is$1.function(createElement('video').webkitSetPresentationMode)) {\n\t return true;\n\t } // Chrome\n\t // https://developers.google.com/web/updates/2018/10/watch-video-using-picture-in-picture\n\n\n\t if (document.pictureInPictureEnabled && !createElement('video').disablePictureInPicture) {\n\t return true;\n\t }\n\n\t return false;\n\t }(),\n\t // Airplay support\n\t // Safari only currently\n\t airplay: is$1.function(window.WebKitPlaybackTargetAvailabilityEvent),\n\t // Inline playback support\n\t // https://webkit.org/blog/6784/new-video-policies-for-ios/\n\t playsinline: 'playsInline' in document.createElement('video'),\n\t // Check for mime type support against a player instance\n\t // Credits: http://diveintohtml5.info/everything.html\n\t // Related: http://www.leanbackplayer.com/test/h5mt.html\n\t mime: function mime(input) {\n\t if (is$1.empty(input)) {\n\t return false;\n\t }\n\n\t var _input$split = input.split('/'),\n\t _input$split2 = _slicedToArray(_input$split, 1),\n\t mediaType = _input$split2[0];\n\n\t var type = input; // Verify we're using HTML5 and there's no media type mismatch\n\n\t if (!this.isHTML5 || mediaType !== this.type) {\n\t return false;\n\t } // Add codec if required\n\n\n\t if (Object.keys(defaultCodecs).includes(type)) {\n\t type += \"; codecs=\\\"\".concat(defaultCodecs[input], \"\\\"\");\n\t }\n\n\t try {\n\t return Boolean(type && this.media.canPlayType(type).replace(/no/, ''));\n\t } catch (e) {\n\t return false;\n\t }\n\t },\n\t // Check for textTracks support\n\t textTracks: 'textTracks' in document.createElement('video'),\n\t // Sliders\n\t rangeInput: function () {\n\t var range = document.createElement('input');\n\t range.type = 'range';\n\t return range.type === 'range';\n\t }(),\n\t // Touch\n\t // NOTE: Remember a device can be mouse + touch enabled so we check on first touch event\n\t touch: 'ontouchstart' in document.documentElement,\n\t // Detect transitions support\n\t transitions: transitionEndEvent !== false,\n\t // Reduced motion iOS & MacOS setting\n\t // https://webkit.org/blog/7551/responsive-design-for-motion/\n\t reducedMotion: 'matchMedia' in window && window.matchMedia('(prefers-reduced-motion)').matches\n\t};\n\n\tfunction validateRatio(input) {\n\t if (!is$1.array(input) && (!is$1.string(input) || !input.includes(':'))) {\n\t return false;\n\t }\n\n\t var ratio = is$1.array(input) ? input : input.split(':');\n\t return ratio.map(Number).every(is$1.number);\n\t}\n\tfunction reduceAspectRatio(ratio) {\n\t if (!is$1.array(ratio) || !ratio.every(is$1.number)) {\n\t return null;\n\t }\n\n\t var _ratio = _slicedToArray(ratio, 2),\n\t width = _ratio[0],\n\t height = _ratio[1];\n\n\t var getDivider = function getDivider(w, h) {\n\t return h === 0 ? w : getDivider(h, w % h);\n\t };\n\n\t var divider = getDivider(width, height);\n\t return [width / divider, height / divider];\n\t}\n\tfunction getAspectRatio(input) {\n\t var parse = function parse(ratio) {\n\t if (!validateRatio(ratio)) {\n\t return null;\n\t }\n\n\t return ratio.split(':').map(Number);\n\t }; // Provided ratio\n\n\n\t var ratio = parse(input); // Get from config\n\n\t if (ratio === null) {\n\t ratio = parse(this.config.ratio);\n\t } // Get from embed\n\n\n\t if (ratio === null && !is$1.empty(this.embed) && is$1.string(this.embed.ratio)) {\n\t ratio = parse(this.embed.ratio);\n\t }\n\n\t return ratio;\n\t} // Set aspect ratio for responsive container\n\n\tfunction setAspectRatio(input) {\n\t if (!this.isVideo) {\n\t return {};\n\t }\n\n\t var ratio = getAspectRatio.call(this, input);\n\n\t var _ref = is$1.array(ratio) ? ratio : [0, 0],\n\t _ref2 = _slicedToArray(_ref, 2),\n\t w = _ref2[0],\n\t h = _ref2[1];\n\n\t var padding = 100 / w * h;\n\t this.elements.wrapper.style.paddingBottom = \"\".concat(padding, \"%\"); // For Vimeo we have an extra to hide the standard controls and UI\n\n\t if (this.isVimeo && this.supported.ui) {\n\t var height = 240;\n\t var offset = (height - padding) / (height / 50);\n\t this.media.style.transform = \"translateY(-\".concat(offset, \"%)\");\n\t } else if (this.isHTML5) {\n\t this.elements.wrapper.classList.toggle(this.config.classNames.videoFixedRatio, ratio !== null);\n\t }\n\n\t return {\n\t padding: padding,\n\t ratio: ratio\n\t };\n\t}\n\n\t// ==========================================================================\n\tvar html5 = {\n\t getSources: function getSources() {\n\t var _this = this;\n\n\t if (!this.isHTML5) {\n\t return [];\n\t }\n\n\t var sources = Array.from(this.media.querySelectorAll('source')); // Filter out unsupported sources (if type is specified)\n\n\t return sources.filter(function (source) {\n\t var type = source.getAttribute('type');\n\n\t if (is$1.empty(type)) {\n\t return true;\n\t }\n\n\t return support.mime.call(_this, type);\n\t });\n\t },\n\t // Get quality levels\n\t getQualityOptions: function getQualityOptions() {\n\t // Get sizes from