{"version":3,"sources":["webpack:///webpack/bootstrap","webpack:///./app/javascript/packs/application.js","webpack:///./app/javascript/images sync \\.(svg|jpg|png)$","webpack:///./app/javascript/images/facebook-omni.svg","webpack:///./app/javascript/images/facebook.svg","webpack:///./app/javascript/images/google-omni.svg","webpack:///./app/javascript/images/instagram.svg","webpack:///./app/javascript/images/loupe.svg","webpack:///./app/javascript/images/nn_logo_big.svg","webpack:///./app/javascript/images/nn_logo_small.svg","webpack:///./app/javascript/images/thumb-down.svg","webpack:///./app/javascript/images/thumb-up.svg"],"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","require","keys","forEach","Confirm","el","this","message","getAttribute","form","addEventListener","confirm","console","warn","e","window","preventDefault","document","querySelectorAll","anchor","querySelector","scrollIntoView","behavior","Array","from","mainContent","getElementById","footer","backgroundOverlay","hidemenu","checked","map","webpackContext","req","id","webpackContextResolve","Error","code","resolve"],"mappings":"aACE,IAAIA,EAAmB,GAGvB,SAASC,EAAoBC,GAG5B,GAAGF,EAAiBE,GACnB,OAAOF,EAAiBE,GAAUC,QAGnC,IAAIC,EAASJ,EAAiBE,GAAY,CACzCG,EAAGH,EACHI,GAAG,EACHH,QAAS,IAUV,OANAI,EAAQL,GAAUM,KAAKJ,EAAOD,QAASC,EAAQA,EAAOD,QAASF,GAG/DG,EAAOE,GAAI,EAGJF,EAAOD,QAKfF,EAAoBQ,EAAIF,EAGxBN,EAAoBS,EAAIV,EAGxBC,EAAoBU,EAAI,SAASR,EAASS,EAAMC,GAC3CZ,EAAoBa,EAAEX,EAASS,IAClCG,OAAOC,eAAeb,EAASS,EAAM,CAAEK,YAAY,EAAMC,IAAKL,KAKhEZ,EAAoBkB,EAAI,SAAShB,GACX,qBAAXiB,QAA0BA,OAAOC,aAC1CN,OAAOC,eAAeb,EAASiB,OAAOC,YA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BCA3CC,EAAOD,QAAU,IAA0B,gE,gBCA3CC,EAAOD,QAAU,IAA0B","file":"js/application-2cf7a29a77ee8af7b8b2.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 = \"/packs/\";\n\n\n \t// Load entry module and return exports\n \treturn __webpack_require__(__webpack_require__.s = 10);\n","// This file is automatically compiled by Webpack, along with any other files\n// present in this directory. You're encouraged to place your actual application logic in\n// a relevant structure within app/javascript and only use these pack files to reference\n// that code so it'll be compiled.\n\n\nfunction importAll(r) {\n r.keys().forEach(r);\n}\n// Add relevant file extensions as needed below.\n// I'm sure there is a better way :shrug:\nimportAll(require.context('../images/', true, /\\.(svg|jpg|png)$/));\n\n// import { detectAnyAdblocker } from 'just-detect-adblock'\n\nclass Confirm {\n constructor(el) {\n this.message = el.getAttribute('data-confirm')\n if (this.message) {\n el.form.addEventListener('submit', this.confirm.bind(this))\n } else {\n console && console.warn('No value specified in `data-confirm`', el)\n }\n }\n\n confirm(e) {\n if (!window.confirm(this.message)) {\n e.preventDefault();\n }\n }\n}\n\ndocument.addEventListener(\"DOMContentLoaded\",function(){\n document.querySelectorAll('a[href^=\"#\"]').forEach(anchor => {\n anchor.addEventListener('click', function (e) {\n e.preventDefault();\n\n document.querySelector(this.getAttribute('href')).scrollIntoView({\n behavior: 'smooth'\n });\n });\n });\n\n Array.from(document.querySelectorAll('[data-confirm]')).forEach((el) => {\n new Confirm(el)\n })\n\n // let cookieAgreement = document.getElementById('cookie-agreement')\n // let cookieBar = document.getElementById('cookie-bar')\n\n // function setCookie(name, value, days) {\n // var expires;\n // if (days) {\n // var date = new Date();\n // date.setTime(date.getTime() + (days * 24 * 60 * 60 * 1000));\n // expires = \"; expires=\" + date.toGMTString();\n // }\n // else {\n // expires = \"\";\n // }\n // document.cookie = name + \"=\" + value + expires + \"; path=/\";\n // }\n\n // function getCookie(name) {\n // var dc = document.cookie;\n // var prefix = name + \"=\";\n // var begin = dc.indexOf(\"; \" + prefix);\n // if (begin == -1) {\n // begin = dc.indexOf(prefix);\n // if (begin != 0) return null;\n // }\n // else\n // {\n // begin += 2;\n // var end = document.cookie.indexOf(\";\", begin);\n // if (end == -1) {\n // end = dc.length;\n // }\n // }\n\n // return decodeURI(dc.substring(begin + prefix.length, end));\n // }\n\n // const hideCookies = () => {\n // cookieBar.style.display = \"none\"\n // }\n\n // const hideAdBlockPopup = () => {\n // antiAdblockPopup.style.display = \"none\"\n // }\n\n let mainContent = document.getElementById('main-content')\n let footer = document.getElementById('footer')\n let backgroundOverlay = document.getElementById('transparent-bg')\n mainContent.addEventListener(`click`, hidemenu);\n backgroundOverlay.addEventListener(`click`, hidemenu);\n footer.addEventListener(`click`, hidemenu);\n \n function hidemenu(e) {\n let btnChecked = document.getElementById('menu-btn').checked\n\n if (btnChecked === true) {\n document.getElementById('menu-btn').checked = false\n }\n }\n\n // if (cookieAgreement) {\n // cookieAgreement.addEventListener(`click`, function(){setCookie('cookie_notice_accepted', 'true', 182)});\n // cookieAgreement.addEventListener(`click`, hideCookies);\n // }\n\n // detectAnyAdblocker().then((detected) => {\n // if(detected && getCookie('anti_adblock_accepted') != true) {\n // let adblockAgreement = document.getElementById('adblock-agreement')\n // let antiAdblockPopup = document.getElementById('anti-adblock-popup')\n\n // antiAdblockPopup.style.display = \"flex\"\n\n // const hideAdBlockPopup = () => {\n // antiAdblockPopup.style.display = \"none\"\n // }\n\n // if (adblockAgreement) {\n // adblockAgreement.addEventListener(`click`, function(){setCookie('anti_adblock_accepted', 'true', 30)});\n // adblockAgreement.addEventListener(`click`, hideAdBlockPopup);\n // }\n // } else {\n // setCookie('anti_adblock_accepted', 'true', 21)\n // }\n // });\n});\n\n","var map = {\n\t\"./facebook-omni.svg\": 12,\n\t\"./facebook.svg\": 13,\n\t\"./google-omni.svg\": 14,\n\t\"./instagram.svg\": 15,\n\t\"./loupe.svg\": 16,\n\t\"./nn_logo_big.svg\": 17,\n\t\"./nn_logo_small.svg\": 18,\n\t\"./thumb-down.svg\": 19,\n\t\"./thumb-up.svg\": 20\n};\n\n\nfunction webpackContext(req) {\n\tvar id = webpackContextResolve(req);\n\treturn __webpack_require__(id);\n}\nfunction webpackContextResolve(req) {\n\tif(!__webpack_require__.o(map, req)) {\n\t\tvar e = new Error(\"Cannot find module '\" + req + \"'\");\n\t\te.code = 'MODULE_NOT_FOUND';\n\t\tthrow e;\n\t}\n\treturn map[req];\n}\nwebpackContext.keys = function webpackContextKeys() {\n\treturn Object.keys(map);\n};\nwebpackContext.resolve = webpackContextResolve;\nmodule.exports = webpackContext;\nwebpackContext.id = 11;","module.exports = __webpack_public_path__ + \"media/images/facebook-omni-7faabd062dddda423c1889abba32f58b.svg\";","module.exports = __webpack_public_path__ + \"media/images/facebook-9c74de0da95c133701ef3909778710e1.svg\";","module.exports = __webpack_public_path__ + \"media/images/google-omni-3ed9b524b580401b30b1d6d17a2a9ac5.svg\";","module.exports = __webpack_public_path__ + \"media/images/instagram-230d7165c85af373c5464c82fbaeb27a.svg\";","module.exports = __webpack_public_path__ + \"media/images/loupe-f7681d223d60e37bf0c9e594f208ddb4.svg\";","module.exports = __webpack_public_path__ + \"media/images/nn_logo_big-e23925394c4815d00cb8a160e71d1233.svg\";","module.exports = __webpack_public_path__ + \"media/images/nn_logo_small-42bc9e9b4ffaf454c2cf67f1d06db111.svg\";","module.exports = __webpack_public_path__ + \"media/images/thumb-down-ffa51f76dd4bc0de5b98d35278c2c3ce.svg\";","module.exports = __webpack_public_path__ + \"media/images/thumb-up-cbf71e7461b82f5cdfe47beaa2d5aeea.svg\";"],"sourceRoot":""}