{"version":3,"sources":["webpack:///webpack/bootstrap","webpack:///./app/javascript/packs/services.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","collapseSection","element","sectionHeight","scrollHeight","elementTransition","style","transition","requestAnimationFrame","maxHeight","setAttribute","expandSection","delay","display","setActive","slides","document","getElementsByClassName","length","expandAll","k","j","exp_btn_list","col_btn_list","addEventListener","id","this","parentNode","id_info","getElementById","zIndex","setTimeout","classList","remove","removeTransitionDelay"],"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,GAEvC,GADU,EAAPA,IAAUF,EAAQrB,EAAoBqB,IAC/B,EAAPE,EAAU,OAAOF,EACpB,GAAW,EAAPE,GAA8B,kBAAVF,GAAsBA,GAASA,EAAMG,WAAY,OAAO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cAAcL,iBAAiB,SAAS,WAC9D,IAAIH,EAAI,EAAGA,EAAIE,EAAaL,OAAQG,IAAK,CACrCI,GAAKF,EAAaF,GAAGM,WAAWA,WAAWF,GAC3CG,QAAUL,EAAaF,GAAGM,WAAWA,WAAWF,GAAK,QAErDd,EADcK,SAASa,eAAeD,UAEtCZ,SAASa,eAAeJ,IAAIR,uBAAuB,WAAW,GAAGX,MAAMO,QAAU,QACjFG,SAASa,eAAeJ,IAAIR,uBAAuB,WAAW,GAAGX,MAAMwB,OAAS,IACpF,CAAE,IAMJC,YAAW,WAAWjB,GAAW,GAAG,KACpCiB,YAAW,YAvFX,WACE,IACI9D,EADA8C,EAASC,SAASC,uBAAuB,eAE7C,IAAKhD,EAAI,EAAGA,EAAI8C,EAAOG,OAAQjD,IAC7B8C,EAAO9C,GAAG+D,UAAUC,OAAOlB,EAAO9C,GAAG+D,UAAU,GAEnD,CAiFsBE,EAAuB,GAAG,K","file":"js/services-0e7542ed86b307852cf7.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","function collapseSection(element) {\n // get the.maxHeight of the element's inner content, regardless of its actual size\n var sectionHeight = element.scrollHeight;\n \n // temporarily disable all css transitions\n var elementTransition = element.style.transition;\n element.style.transition = '';\n // on the next frame (as soon as the previous style change has taken effect),\n // explicitly set the element's.maxHeight to its current pixel.maxHeight, so we \n // aren't transitioning out of 'auto'\n requestAnimationFrame(function() {\n element.style.maxHeight = sectionHeight + 'px';\n element.style.transition = elementTransition;\n \n // on the next frame (as soon as the previous style change has taken effect),\n // have the element transition to.maxHeight: 0\n requestAnimationFrame(function() {\n element.style.maxHeight = 0 + 'px';\n });\n });\n // mark the section as \"currently collapsed\"\n element.setAttribute('data-collapsed', 'true');\n}\n\nfunction expandSection(element, delay) {\n // get the.maxHeight of the element's inner content, regardless of its actual size\n element.style.display = \"block\";\n var sectionHeight = element.scrollHeight; \n \n // temporarily disable all css transitions\n // on the next frame (as soon as the previous style change has taken effect),\n // explicitly set the element's.maxHeight to its current pixel.maxHeight, so we \n // aren't transitioning out of 'auto'\n requestAnimationFrame(function() {\n element.style.transition = \"1s\";\n //element.style.transitionDelay = toString(delay/2) + \"s\";\n element.style.maxHeight = sectionHeight + 'px';\n \n // on the next frame (as soon as the previous style change has taken effect),\n // have the element transition to.maxHeight: 0\n });\n // mark the section as \"currently collapsed\"\n element.setAttribute('data-collapsed', 'false');\n\n // have the element transition to the.maxHeight of its inner content\n // OLD EXPND\n /* element.style.maxHeight = sectionHeight + 'px';\n\n // mark the section as \"currently not collapsed\"\n element.setAttribute('data-collapsed', 'false');\n*/}\n\nfunction setActive() {\n /*var id = window.location.hash.substring(1);\n if (id != \"\"){\n var id_info = id + \"-info\"\n var active = document.getElementById(id_info);\n var x = active.previousElementSibling.previousElementSibling; //title element\n x.getElementsByClassName(\"exp-btn\")[0].style.display = \"none\"; // hide plus\n x.getElementsByClassName(\"col-btn\")[0].style.display = \"block\"; // show minus\n expandSection(active);\n }\n else {\n collapseAll();\n }*/\n expandAll(); \n}\n\n\nfunction removeTransitionDelay() {\n var slides = document.getElementsByClassName(\"collapsible\");\n var i;\n for (i = 0; i < slides.length; i++) {\n slides[i].classList.remove(slides[i].classList[2]);\n }\n}\n\nfunction collapseAll() { \n var slides = document.getElementsByClassName(\"collapsible\");\n var i;\n for (i = 0; i < slides.length; i++) {\n collapseSection(slides[i]);\n }\n}\n\nfunction expandAll() { \n var slides = document.getElementsByClassName(\"collapsible\");\n var i;\n for (i = 0; i < slides.length; i++) {\n expandSection(slides[i], i);\n }\n}\n\n//have 2 buttons\n// exp-plus which calls expandSection when clicked\n// col-minus which calls collapeSection when clicked\n\nvar exp_btn_list = document.getElementsByClassName(\"exp-btn\");\nvar k;\nvar col_btn_list = document.getElementsByClassName(\"col-btn\");\nvar j;\n\n//exp-button\nfor(k = 0; k < exp_btn_list.length; k++) {\n exp_btn_list[k].addEventListener(\"click\", function() {\n id = this.parentNode.parentNode.id;\n id_info = this.parentNode.parentNode.id + \"-info\"; \n var section = document.getElementById(id_info);\n expandSection(section);\n this.style.display = \"none\";\n document.getElementById(id).getElementsByClassName(\"col-btn\")[0].style.display = \"block\"; \n document.getElementById(id).getElementsByClassName(\"exp-btn\")[0].style.zIndex = \"-1\"; \n })\n}\n\n//col-button\nfor(j = 0; j < col_btn_list.length; j++) {\n col_btn_list[j].addEventListener(\"click\", function() {\n id = this.parentNode.parentNode.id;\n id_info = this.parentNode.parentNode.id + \"-info\"; \n var section = document.getElementById(id_info);\n collapseSection(section);\n this.style.display = \"none\"; //hide -\n document.getElementById(id).getElementsByClassName(\"exp-btn\")[0].style.display = \"block\"; \n document.getElementById(id).getElementsByClassName(\"exp-btn\")[0].style.zIndex = \"1\"; \n })\n}\n\n//COLLAPSE ALL BUTTON\ndocument.getElementById('collapse-all').addEventListener(\"click\", function() {\n for(j = 0; j < col_btn_list.length; j++) {\n id = col_btn_list[j].parentNode.parentNode.id;\n id_info = col_btn_list[j].parentNode.parentNode.id + \"-info\"; \n var section = document.getElementById(id_info);\n collapseSection(section);\n document.getElementById(id).getElementsByClassName(\"exp-btn\")[0].style.display = \"block\"; \n document.getElementById(id).getElementsByClassName(\"exp-btn\")[0].style.zIndex = \"1\"; \n } } )\n\n\n//EXPAND ALL BUTTON\ndocument.getElementById('expand-all').addEventListener(\"click\", function() {\n for(j = 0; j < col_btn_list.length; j++) {\n id = col_btn_list[j].parentNode.parentNode.id;\n id_info = col_btn_list[j].parentNode.parentNode.id + \"-info\"; \n var section = document.getElementById(id_info);\n expandSection(section);\n document.getElementById(id).getElementsByClassName(\"col-btn\")[0].style.display = \"block\"; \n document.getElementById(id).getElementsByClassName(\"exp-btn\")[0].style.zIndex = \"-1\"; \n } } )\n\n\n\n\n//window.addEventListener(\"unload\", closeNav());\nsetTimeout(function(){setActive()}, 700);\nsetTimeout(function(){removeTransitionDelay()}, 2400);"],"sourceRoot":""}