{"version":3,"sources":["webpack:///webpack/bootstrap","webpack:///./app/javascript/packs/boomerang.js"],"names":["installedModules","__webpack_require__","moduleId","exports","module","i","l","modules","call","m","c","d","name","getter","o","Object","defineProperty","enumerable","get","r","Symbol","toStringTag","value","t","mode","__esModule","ns","create","key","bind","n","object","property","prototype","hasOwnProperty","p","s","document","addEventListener","window","BOOMR","version","snippetExecuted","snippetStart","Date","getTime","snippetVersion","url","where","querySelector","promoted","link","createElement","relList","supports","snippetMethod","href","rel","as","script","id","src","async","parentNode","insertBefore","nextSibling","iframeLoader","setTimeout","BOOMR_lstart","appendChild","boomerangSaveLoadTime","attachEvent","wasFallback","dom","doc","win","bootstrap","parent","scriptId","body","navigator","userAgent","match","iframe","title","role","loading","iframeStyle","frameElement","style","width","height","border","display","contentWindow","open","e","domain","concat","_boomrl","this","write","close","BOOMR_onload","timeStamp"],"mappings":"aACE,IAAIA,EAAmB,CAAC,EAGxB,SAASC,EAAoBC,GAG5B,GAAGF,EAAiBE,GACnB,OAAOF,EAAiBE,GAAUC,QAGnC,IAAIC,EAASJ,EAAiBE,GAAY,CACzCG,EAAGH,EACHI,GAAG,EACHH,QAAS,CAAC,GAUX,OANAI,EAAQL,GAAUM,KAAKJ,EAAOD,QAASC,EAAQA,EAAOD,QAASF,GAG/DG,EAAOE,GAAI,EAGJF,EAAOD,OACf,CAIAF,EAAoBQ,EAAIF,EAGxBN,EAAoBS,EAAIV,EAGxBC,EAAoBU,EAAI,SAASR,EAASS,EAAMC,GAC3CZ,EAAoBa,EAAEX,EAASS,IAClCG,OAAOC,eAAeb,EAASS,EAAM,CAAEK,YAAY,EAAMC,IAAKL,GAEhE,EAGAZ,EAAoBkB,EAAI,SAAShB,GACX,qBAAXiB,QAA0BA,OAAOC,aAC1CN,OAAOC,eAAeb,EAASiB,OAAOC,YAAa,CAAEC,MAAO,WAE7DP,OAAOC,eAAeb,EAAS,aAAc,CAAEmB,OAAO,GACvD,EAOArB,EAAoBsB,EAAI,SAASD,EAAOE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QAGjB,IAAMC,GAAeJ,EAAOK,cAAgBL,GAAQM,MACpDF,EAAYG,MAAQ,EACpBH,EAAYI,OAAS,EACrBJ,EAAYK,OAAS,EACrBL,EAAYM,QAAU,OAKtB7C,EAAMe,WAAWM,YAAYc,GAG7B,IACER,EAAMQ,EAAOW,cACbpB,EAAMC,EAAItC,SAAS0D,MACrB,CAAE,MAAOC,GAKPvB,EAAMpC,SAAS4D,OAMfd,EAAOtB,IAAG,8CAAAqC,OAAiDzB,EAAG,cAC9DE,EAAMQ,EAAOW,cAEbpB,EAAMC,EAAItC,SAAS0D,MACrB,CAEItB,GAEFC,EAAIyB,QAAU,WACZC,KAAKH,OAASxB,EACdG,GACF,EAIAF,EAAI2B,MAAM,yCAGV1B,EAAIwB,QAAU,WACZvB,GACF,EAEID,EAAIrC,iBACNqC,EAAIrC,iBAAiB,OAAQqC,EAAIwB,SAAS,GACjCxB,EAAIJ,aACbI,EAAIJ,YAAY,SAAUI,EAAIwB,UAKlCzB,EAAI4B,OACN,CAyCA,SAAShC,EAAsB0B,GAC7BzD,OAAOgE,aAAgBP,GAAKA,EAAEQ,YAAc,IAAI5D,MAAOC,SACzD,CAOF,G","file":"js/boomerang-bed297983fcc84e88f57.js","sourcesContent":[" \t// The module cache\n \tvar installedModules = {};\n\n \t// The require function\n \tfunction __webpack_require__(moduleId) {\n\n \t\t// Check if module is in cache\n \t\tif(installedModules[moduleId]) {\n \t\t\treturn installedModules[moduleId].exports;\n \t\t}\n \t\t// Create a new module (and put it into the cache)\n \t\tvar module = installedModules[moduleId] = {\n \t\t\ti: moduleId,\n \t\t\tl: false,\n \t\t\texports: {}\n \t\t};\n\n \t\t// Execute the module function\n \t\tmodules[moduleId].call(module.exports, module, module.exports, __webpack_require__);\n\n \t\t// Flag the module as loaded\n \t\tmodule.l = true;\n\n \t\t// Return the exports of the module\n \t\treturn module.exports;\n \t}\n\n\n \t// expose the modules object (__webpack_modules__)\n \t__webpack_require__.m = modules;\n\n \t// expose the module cache\n \t__webpack_require__.c = installedModules;\n\n \t// define getter function for harmony exports\n \t__webpack_require__.d = function(exports, name, getter) {\n \t\tif(!__webpack_require__.o(exports, name)) {\n \t\t\tObject.defineProperty(exports, name, { enumerable: true, get: getter });\n \t\t}\n \t};\n\n \t// define __esModule on exports\n \t__webpack_require__.r = function(exports) {\n \t\tif(typeof Symbol !== 'undefined' && Symbol.toStringTag) {\n \t\t\tObject.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });\n \t\t}\n \t\tObject.defineProperty(exports, '__esModule', { value: true });\n \t};\n\n \t// create a fake namespace object\n \t// mode & 1: value is a module id, require it\n \t// mode & 2: merge all properties of value into the ns\n \t// mode & 4: return value when already ns object\n \t// mode & 8|1: behave like require\n \t__webpack_require__.t = function(value, mode) {\n \t\tif(mode & 1) value = __webpack_require__(value);\n \t\tif(mode & 8) return value;\n \t\tif((mode & 4) && typeof value === 'object' && value && value.__esModule) return value;\n \t\tvar ns = Object.create(null);\n \t\t__webpack_require__.r(ns);\n \t\tObject.defineProperty(ns, 'default', { enumerable: true, value: value });\n \t\tif(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key));\n \t\treturn ns;\n \t};\n\n \t// getDefaultExport function for compatibility with non-harmony modules\n \t__webpack_require__.n = function(module) {\n \t\tvar getter = module && module.__esModule ?\n \t\t\tfunction getDefault() { return module['default']; } :\n \t\t\tfunction getModuleExports() { return module; };\n \t\t__webpack_require__.d(getter, 'a', getter);\n \t\treturn getter;\n \t};\n\n \t// Object.prototype.hasOwnProperty.call\n \t__webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };\n\n \t// __webpack_public_path__\n \t__webpack_require__.p = \"https://cdn.braven.org/packs/\";\n\n\n \t// Load entry module and return exports\n \treturn __webpack_require__(__webpack_require__.s = 355);\n","// Asynchronously loads and initializes Boomerangjs. See:\n// https://github.com/akamai/boomerang BUT more importantly\n// https://akamai.github.io/boomerang/tutorial-loader-snippet.html\n//\n// Note: the actual initialization of Boomerang is done in the: zzz-last-plugin.js\n// built into the compiled boomerang-.js and hosted on S3 as\n// per their recommendations. We can't import the boomerang JS as an\n// ES6 module. See: https://github.com/akamai/boomerang/issues/117\nconst boomerang = () => {\n // Boomerang Loader Snippet version 12\n if (window.BOOMR && (window.BOOMR.version || window.BOOMR.snippetExecuted)) {\n return;\n }\n\n window.BOOMR = window.BOOMR || {};\n window.BOOMR.snippetStart = new Date().getTime();\n window.BOOMR.snippetExecuted = true;\n window.BOOMR.snippetVersion = 12;\n\n if (process.env.NODE_ENV !== 'production') {\n // Note: if you need to troubleshoot or enhance our Boomerang / Honeycomb infrastructue setup,\n // you can load the \"debug\" boomerang JS instead. It'll log a bunch of stuff to the browser console.\n // window.BOOMR.url = \"https://boomerangjs.s3.amazonaws.com/boomerang-1.0.0-debug.js\";\n window.BOOMR.url = 'https://boomerangjs.s3.amazonaws.com/boomerang-1.0.0.js';\n\n // The Axe utility in the dev env clutters things up by writing console errors, so disable that.\n window.BOOMR.shouldMonitorConsoleErrors = false;\n\n // Disable XHR auto-instrumenting some development env specific things that may fail\n // and clutter up the console and traces.\n window.BOOMR.xhr_excludes = {\n '/sockjs-node/info': true, // LiveReload socket errors over SSL.\n };\n } else {\n // Note that the following metadata must be set on this for the browser to handle it properly\n // Content-Type: application/javascript\n // Content-Encoding: gzip\n window.BOOMR.url = 'https://boomerangjs.s3.amazonaws.com/boomerang-1.0.0.min.js.gz';\n }\n\n // Note: I've altered this from the original snippet to insert the script after the\n // tag because our compiled Boomerang relies on that\n // to propagate Honeycomb traces.\n const where = document.querySelector('meta[name=\"serialized-trace\"]');\n // Whether or not Preload method has worked\n let promoted = false;\n // How long to wait for Preload to work before falling back to iframe method\n const LOADER_TIMEOUT = 3000;\n\n // Tells the browser to execute the Preloaded script by adding it to the DOM\n function promote() {\n if (promoted) {\n return;\n }\n\n const script = document.createElement('script');\n script.id = 'boomr-scr-as';\n script.src = window.BOOMR.url;\n\n // Not really needed since dynamic scripts are async by default and the script is already in cache at this point,\n // but some naive parsers will see a missing async attribute and think we're not async\n script.async = true;\n\n // Note: altered this from original script too.\n where.parentNode.insertBefore(script, where.nextSibling);\n\n promoted = true;\n }\n\n // Non-blocking iframe loader (fallback for non-Preload scenarios) for all recent browsers.\n // For IE 6/7, falls back to dynamic script node.\n function iframeLoader(wasFallback) {\n promoted = true;\n\n let dom; let doc = document; let win = window;\n\n window.BOOMR.snippetMethod = wasFallback ? 'if' : 'i';\n\n // Adds Boomerang within the iframe\n const bootstrap = function addBoomerangeInIframe(parent, scriptId) {\n const script = doc.createElement('script');\n script.id = scriptId || 'boomr-if-as';\n script.src = window.BOOMR.url;\n\n BOOMR_lstart = new Date().getTime(); // eslint-disable-line no-undef, camelcase\n\n parent = parent || doc.body;\n parent.appendChild(script);\n };\n\n // For IE 6/7, we'll just load the script in the current frame, as those browsers don't support 'about:blank'\n // for an iframe src (it triggers warnings on secure sites). This means loading on IE 6/7 may cause SPoF.\n if (!window.addEventListener && window.attachEvent && navigator.userAgent.match(/MSIE [67]\\./)) {\n window.BOOMR.snippetMethod = 's';\n\n bootstrap(where.parentNode, 'boomr-async');\n return;\n }\n\n // The rest of this function is IE8+ and other browsers that don't support Preload hints\n // but will work with CSP & iframes\n const iframe = document.createElement('IFRAME');\n\n // An empty frame\n iframe.src = 'about:blank';\n\n // We set title and role appropriately to play nicely with screen readers and other assistive technologies\n iframe.title = '';\n iframe.role = 'presentation';\n\n // Ensure we're not loaded lazily\n iframe.loading = 'eager';\n\n // Hide the iframe\n const iframeStyle = (iframe.frameElement || iframe).style;\n iframeStyle.width = 0;\n iframeStyle.height = 0;\n iframeStyle.border = 0;\n iframeStyle.display = 'none';\n\n // Append to the end of the current block. The only thing in the iframe is this script and the\n // serialized-trace is in the parent document, so we don't care where this goes in terms of\n // ensuring it can read that.\n where.parentNode.appendChild(iframe);\n\n // Try to get the iframe's document object\n try {\n win = iframe.contentWindow;\n doc = win.document.open();\n } catch (e) {\n // document.domain has been changed and we're on an old version of IE, so we got an access denied.\n // Note: the only browsers that have this problem also do not have CSP support.\n\n // Get document.domain of the parent window\n dom = document.domain;\n\n // Set the src of the iframe to a JavaScript URL that will immediately set its\n // document.domain to match the parent.\n // This lets us access the iframe document long enough to inject our script.\n // Our script may need to do more domain massaging later.\n iframe.src = `javascript:var d=document.open();d.domain='${dom}';void(0);`;\n win = iframe.contentWindow;\n\n doc = win.document.open();\n }\n\n if (dom) {\n // Unsafe version for IE8 compatability. If document.domain has changed, we can't use win, but we can use doc.\n doc._boomrl = function setDomainToDom() { // eslint-disable-line no-underscore-dangle\n this.domain = dom;\n bootstrap();\n };\n\n // Run our function at load.\n // Split the string so HTML code injectors don't get confused and add code here.\n doc.write('\"); // eslint-disable-line no-useless-concat\n } else {\n // document.domain hasn't changed, regular method should be OK\n win._boomrl = function useDocumentDomain() { // eslint-disable-line no-underscore-dangle\n bootstrap();\n };\n\n if (win.addEventListener) {\n win.addEventListener('load', win._boomrl, false); // eslint-disable-line no-underscore-dangle\n } else if (win.attachEvent) {\n win.attachEvent('onload', win._boomrl); // eslint-disable-line no-underscore-dangle\n }\n }\n\n // Finish the document\n doc.close();\n }\n\n // See if Preload is supported or not\n const link = document.createElement('link');\n\n if (link.relList\n && typeof link.relList.supports === 'function'\n && link.relList.supports('preload')\n && ('as' in link)) {\n window.BOOMR.snippetMethod = 'p';\n\n // Set attributes to trigger a Preload\n link.href = window.BOOMR.url;\n link.rel = 'preload';\n link.as = 'script';\n\n // Add our script tag if successful, fallback to iframe if not\n link.addEventListener('load', promote);\n link.addEventListener('error', () => {\n iframeLoader(true);\n });\n\n // Have a fallback in case Preload does nothing or is slow\n setTimeout(() => {\n if (!promoted) {\n iframeLoader(true);\n }\n }, LOADER_TIMEOUT);\n\n // Note the timestamp we started trying to Preload\n BOOMR_lstart = new Date().getTime(); // eslint-disable-line no-undef, camelcase\n\n // Append our preload link tag. Preload link can go anywhere. It's the