{"version":3,"sources":["webpack:///webpack/bootstrap","webpack:///./src/App.vue?7e02","webpack:///./src/components/Login.vue?b417","webpack:///./src/components/ElectionResults.vue?531a","webpack:///./src/components/Calendar.vue?e923","webpack:///./src/components/Ballot.vue?5f9e","webpack:///./src/components/ElectionResults.vue?8cfb","webpack:///./src/components/ManageCandidates.vue?b402","webpack:///./src/App.vue?626c","webpack:///./src/App.vue","webpack:///./src/App.vue?96c8","webpack:///./src/App.vue?bff9","webpack:///./src/views/Home.vue?0454","webpack:///./src/components/Ballot.vue?624c","webpack:///./src/components/Ballot.vue","webpack:///./src/components/Ballot.vue?aa25","webpack:///./src/components/Ballot.vue?4335","webpack:///src/views/Home.vue","webpack:///./src/views/Home.vue?8a6a","webpack:///./src/views/Home.vue","webpack:///./src/components/Login.vue?00e0","webpack:///./src/components/Login.vue","webpack:///./src/components/Login.vue?9dde","webpack:///./src/components/Login.vue?21e5","webpack:///./src/components/CreateUser.vue?2cb7","webpack:///./src/components/CreateUser.vue","webpack:///./src/components/CreateUser.vue?3184","webpack:///./src/components/CreateUser.vue?7f12","webpack:///./src/components/Calendar.vue?c370","webpack:///./src/components/Calendar.vue","webpack:///./src/components/Calendar.vue?54ca","webpack:///./src/components/Calendar.vue?4d81","webpack:///./src/components/ManageCandidates.vue?7322","webpack:///./src/components/ManageCandidates.vue","webpack:///./src/components/ManageCandidates.vue?7a1c","webpack:///./src/components/ManageCandidates.vue?5c5e","webpack:///./src/components/ElectionResults.vue?3775","webpack:///./src/components/ElectionResults.vue","webpack:///./src/components/ElectionResults.vue?a603","webpack:///./src/components/ElectionResults.vue?e52d","webpack:///./src/router/index.ts","webpack:///./src/store/index.ts","webpack:///./src/main.ts","webpack:///./src/components/CreateUser.vue?b5af"],"names":["webpackJsonpCallback","data","moduleId","chunkId","chunkIds","moreModules","executeModules","i","resolves","length","Object","prototype","hasOwnProperty","call","installedChunks","push","modules","parentJsonpFunction","shift","deferredModules","apply","checkDeferredModules","result","deferredModule","fulfilled","j","depId","splice","__webpack_require__","s","installedModules","jsonpScriptSrc","p","exports","module","l","e","promises","installedChunkData","promise","Promise","resolve","reject","onScriptComplete","script","document","createElement","charset","timeout","nc","setAttribute","src","error","Error","event","onerror","onload","clearTimeout","chunk","errorType","type","realSrc","target","message","name","request","undefined","setTimeout","head","appendChild","all","m","c","d","getter","o","defineProperty","enumerable","get","r","Symbol","toStringTag","value","t","mode","__esModule","ns","create","key","bind","n","object","property","oe","err","console","jsonpArray","window","oldJsonpFunction","slice","_vm","this","_h","$createElement","_c","_self","attrs","isAnonymous","_e","_v","_s","on","logout","staticRenderFns","label","$http","post","response","$store","commit","user","then","default","computed","setUser","component","staticClass","$event","dragging","model","callback","$$v","ranked","expression","_l","element","index","ID","class","dropped","Dropped","Name","unranked","alertText","canSubmit","preventDefault","submitBallot","_t","id","alreadyVoted","updateCandidates","updateBallot","results","ballot","CandidateIDs","candidateMap","Map","map","candidate","filter","includes","components","draggable","Ballot","msg","directives","rawName","domProps","composing","userid","password","login","cookieContents","$router","userData","$set","userIdValid","Array","isArray","_i","$$a","$$el","$$c","checked","$$i","concat","_q","passwordInputType","passwordValid","verifyPassword","passwordsMatch","showPassword","createUser","firstname","lastname","day","row","col","cindex","getMonth","thisMonth","isToday","active","activeDates","dateString","hover","getDate","toggleActivity","table","daysOfWeek","startDate","Date","endDate","date","now","getFullYear","datestr","today","firstOfMonth","setDate","lastOfMonth","setMonth","before","getDay","after","total","setHours","getActivity","toISOString","substring","IsAnonymous","url","params","start","end","item","set","dateStr","isActive","method","onDroppedCheckbox","nameToAdd","addCandidate","candidates","put","catch","Candidate","_b","carouselHack","ref","onCarouselChange","slickSettings","stage","stageIndex","Count","includeAll","updateResults","showResults","voteThreshold","slideIndex","initialSlide","Math","max","min","reduce","sofar","totalVotes","VueSlickCarousel","use","routes","path","Home","router","base","Store","state","Firstname","Lastname","getters","mutations","payload","actions","a","config","productionTip","store","render","h","$mount"],"mappings":"aACE,SAASA,EAAqBC,GAQ7B,IAPA,IAMI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N9M,KAAM,aACN6D,UAAW,IAEb,CACEiJ,KAAM,YACN9M,KAAM,WACN6D,UAAW,IAEb,CACEiJ,KAAM,UACN9M,KAAM,SACN6D,UAAW,GAEb,CACEiJ,KAAM,cACN9M,KAAM,aACN6D,UAAW,IAEb,CACEiJ,KAAM,WACN9M,KAAM,UACN6D,UAAW,KAITmJ,GAAS,IAAI,OAAU,CAC3B5L,KAAM,UACN6L,KAAM,IACNJ,YAGa,MC7Df,OAAID,IAAI,QAEO,WAAI,OAAKM,MAAM,CAC5BC,MAAO,CACL3J,KAAM,CACJ4J,UAAW,GACXC,SAAU,GACV/C,aAAa,IAGjBgD,QAAS,CACPtN,KADO,SACFmN,GACH,OAAOA,EAAM3J,KAAK4J,UAAY,IAAMD,EAAM3J,KAAK6J,UAEjD1K,YAJO,SAIKwK,GACV,OAAOA,EAAM3J,KAAK8G,cAGtBiD,UAAW,CACT3J,QADS,SACDuJ,EAAOK,GACbL,EAAM3J,KAAOgK,EAAQhK,OAGzBiK,QAAS,GAETzQ,QAAS,KClBX,OAAI4P,IAAI,KACR,OAAIA,IAAI,IAAU,EAAAc,GAElB,OAAIC,OAAOC,eAAgB,EAS3B,IAAI,OAAI,CACNZ,OAAA,GACAa,SACAC,OAAQ,SAAAC,GAAC,OAAIA,EAAE,MACdC,OAAO,S,kCC1BV,yBAAye,EAAG,G","file":"js/index.1a23ca75.js","sourcesContent":[" \t// install a JSONP callback for chunk loading\n \tfunction webpackJsonpCallback(data) {\n \t\tvar chunkIds = data[0];\n \t\tvar moreModules = data[1];\n \t\tvar executeModules = data[2];\n\n \t\t// add \"moreModules\" to the modules object,\n \t\t// then flag all \"chunkIds\" as loaded and fire callback\n \t\tvar moduleId, chunkId, i = 0, resolves = [];\n \t\tfor(;i < chunkIds.length; i++) {\n \t\t\tchunkId = chunkIds[i];\n \t\t\tif(Object.prototype.hasOwnProperty.call(installedChunks, chunkId) && installedChunks[chunkId]) {\n \t\t\t\tresolves.push(installedChunks[chunkId][0]);\n \t\t\t}\n \t\t\tinstalledChunks[chunkId] = 0;\n \t\t}\n \t\tfor(moduleId in moreModules) {\n \t\t\tif(Object.prototype.hasOwnProperty.call(moreModules, moduleId)) {\n \t\t\t\tmodules[moduleId] = moreModules[moduleId];\n \t\t\t}\n \t\t}\n \t\tif(parentJsonpFunction) parentJsonpFunction(data);\n\n \t\twhile(resolves.length) {\n \t\t\tresolves.shift()();\n \t\t}\n\n \t\t// add entry modules from loaded chunk to deferred list\n \t\tdeferredModules.push.apply(deferredModules, executeModules || []);\n\n \t\t// run deferred modules when all chunks ready\n \t\treturn checkDeferredModules();\n \t};\n \tfunction checkDeferredModules() {\n \t\tvar result;\n \t\tfor(var i = 0; i < deferredModules.length; i++) {\n \t\t\tvar deferredModule = deferredModules[i];\n \t\t\tvar fulfilled = true;\n \t\t\tfor(var j = 1; j < deferredModule.length; j++) {\n \t\t\t\tvar depId = deferredModule[j];\n \t\t\t\tif(installedChunks[depId] !== 0) fulfilled = false;\n \t\t\t}\n \t\t\tif(fulfilled) {\n \t\t\t\tdeferredModules.splice(i--, 1);\n \t\t\t\tresult = __webpack_require__(__webpack_require__.s = deferredModule[0]);\n \t\t\t}\n \t\t}\n\n \t\treturn result;\n \t}\n\n \t// The module cache\n \tvar installedModules = {};\n\n \t// object to store loaded and loading chunks\n \t// undefined = chunk not loaded, null = chunk preloaded/prefetched\n \t// Promise = chunk loading, 0 = chunk loaded\n \tvar installedChunks = {\n \t\t\"index\": 0\n \t};\n\n \tvar deferredModules = [];\n\n \t// script path function\n \tfunction jsonpScriptSrc(chunkId) {\n \t\treturn __webpack_require__.p + \"js/\" + ({\"about\":\"about\"}[chunkId]||chunkId) + \".\" + {\"about\":\"3a24ae94\"}[chunkId] + \".js\"\n \t}\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 \t// This file contains only the entry chunk.\n \t// The chunk loading function for additional chunks\n \t__webpack_require__.e = function requireEnsure(chunkId) {\n \t\tvar promises = [];\n\n\n \t\t// JSONP chunk loading for javascript\n\n \t\tvar installedChunkData = installedChunks[chunkId];\n \t\tif(installedChunkData !== 0) { // 0 means \"already installed\".\n\n \t\t\t// a Promise means \"currently loading\".\n \t\t\tif(installedChunkData) {\n \t\t\t\tpromises.push(installedChunkData[2]);\n \t\t\t} else {\n \t\t\t\t// setup Promise in chunk cache\n \t\t\t\tvar promise = new Promise(function(resolve, reject) {\n \t\t\t\t\tinstalledChunkData = installedChunks[chunkId] = [resolve, reject];\n \t\t\t\t});\n \t\t\t\tpromises.push(installedChunkData[2] = promise);\n\n \t\t\t\t// start chunk loading\n \t\t\t\tvar script = document.createElement('script');\n \t\t\t\tvar onScriptComplete;\n\n \t\t\t\tscript.charset = 'utf-8';\n \t\t\t\tscript.timeout = 120;\n \t\t\t\tif (__webpack_require__.nc) {\n \t\t\t\t\tscript.setAttribute(\"nonce\", __webpack_require__.nc);\n \t\t\t\t}\n \t\t\t\tscript.src = jsonpScriptSrc(chunkId);\n\n \t\t\t\t// create error before stack unwound to get useful stacktrace later\n \t\t\t\tvar error = new Error();\n \t\t\t\tonScriptComplete = function (event) {\n \t\t\t\t\t// avoid mem leaks in IE.\n \t\t\t\t\tscript.onerror = script.onload = null;\n \t\t\t\t\tclearTimeout(timeout);\n \t\t\t\t\tvar chunk = installedChunks[chunkId];\n \t\t\t\t\tif(chunk !== 0) {\n \t\t\t\t\t\tif(chunk) {\n \t\t\t\t\t\t\tvar errorType = event && (event.type === 'load' ? 'missing' : event.type);\n \t\t\t\t\t\t\tvar realSrc = event && event.target && event.target.src;\n \t\t\t\t\t\t\terror.message = 'Loading chunk ' + chunkId + ' failed.\\n(' + errorType + ': ' + realSrc + ')';\n \t\t\t\t\t\t\terror.name = 'ChunkLoadError';\n \t\t\t\t\t\t\terror.type = errorType;\n \t\t\t\t\t\t\terror.request = realSrc;\n \t\t\t\t\t\t\tchunk[1](error);\n \t\t\t\t\t\t}\n \t\t\t\t\t\tinstalledChunks[chunkId] = undefined;\n \t\t\t\t\t}\n \t\t\t\t};\n \t\t\t\tvar timeout = setTimeout(function(){\n \t\t\t\t\tonScriptComplete({ type: 'timeout', target: script });\n \t\t\t\t}, 120000);\n \t\t\t\tscript.onerror = script.onload = onScriptComplete;\n \t\t\t\tdocument.head.appendChild(script);\n \t\t\t}\n \t\t}\n \t\treturn Promise.all(promises);\n \t};\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 = \"/\";\n\n \t// on error function for async loading\n \t__webpack_require__.oe = function(err) { console.error(err); throw err; };\n\n \tvar jsonpArray = window[\"webpackJsonp\"] = window[\"webpackJsonp\"] || [];\n \tvar oldJsonpFunction = jsonpArray.push.bind(jsonpArray);\n \tjsonpArray.push = webpackJsonpCallback;\n \tjsonpArray = jsonpArray.slice();\n \tfor(var i = 0; i < jsonpArray.length; i++) webpackJsonpCallback(jsonpArray[i]);\n \tvar parentJsonpFunction = oldJsonpFunction;\n\n\n \t// add entry module to deferred list\n \tdeferredModules.push([0,\"chunk-vendors\"]);\n \t// run deferred modules when ready\n \treturn checkDeferredModules();\n","import mod from \"-!../node_modules/mini-css-extract-plugin/dist/loader.js??ref--6-oneOf-1-0!../node_modules/css-loader/dist/cjs.js??ref--6-oneOf-1-1!../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../node_modules/postcss-loader/src/index.js??ref--6-oneOf-1-2!../node_modules/cache-loader/dist/cjs.js??ref--0-0!../node_modules/vue-loader/lib/index.js??vue-loader-options!./App.vue?vue&type=style&index=0&lang=css&\"; export default mod; export * from \"-!../node_modules/mini-css-extract-plugin/dist/loader.js??ref--6-oneOf-1-0!../node_modules/css-loader/dist/cjs.js??ref--6-oneOf-1-1!../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../node_modules/postcss-loader/src/index.js??ref--6-oneOf-1-2!../node_modules/cache-loader/dist/cjs.js??ref--0-0!../node_modules/vue-loader/lib/index.js??vue-loader-options!./App.vue?vue&type=style&index=0&lang=css&\"","import mod from \"-!../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--6-oneOf-1-0!../../node_modules/css-loader/dist/cjs.js??ref--6-oneOf-1-1!../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../node_modules/postcss-loader/src/index.js??ref--6-oneOf-1-2!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Login.vue?vue&type=style&index=0&id=62dea96a&scoped=true&lang=css&\"; export default mod; export * from \"-!../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--6-oneOf-1-0!../../node_modules/css-loader/dist/cjs.js??ref--6-oneOf-1-1!../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../node_modules/postcss-loader/src/index.js??ref--6-oneOf-1-2!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Login.vue?vue&type=style&index=0&id=62dea96a&scoped=true&lang=css&\"","import mod from \"-!../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--6-oneOf-1-0!../../node_modules/css-loader/dist/cjs.js??ref--6-oneOf-1-1!../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../node_modules/postcss-loader/src/index.js??ref--6-oneOf-1-2!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./ElectionResults.vue?vue&type=style&index=0&id=4c9cd58f&scoped=true&lang=css&\"; export default mod; export * from \"-!../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--6-oneOf-1-0!../../node_modules/css-loader/dist/cjs.js??ref--6-oneOf-1-1!../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../node_modules/postcss-loader/src/index.js??ref--6-oneOf-1-2!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./ElectionResults.vue?vue&type=style&index=0&id=4c9cd58f&scoped=true&lang=css&\"","import mod from \"-!../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--6-oneOf-1-0!../../node_modules/css-loader/dist/cjs.js??ref--6-oneOf-1-1!../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../node_modules/postcss-loader/src/index.js??ref--6-oneOf-1-2!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Calendar.vue?vue&type=style&index=0&id=5d4c75e1&scoped=true&lang=css&\"; export default mod; export * from \"-!../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--6-oneOf-1-0!../../node_modules/css-loader/dist/cjs.js??ref--6-oneOf-1-1!../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../node_modules/postcss-loader/src/index.js??ref--6-oneOf-1-2!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Calendar.vue?vue&type=style&index=0&id=5d4c75e1&scoped=true&lang=css&\"","import mod from \"-!../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--6-oneOf-1-0!../../node_modules/css-loader/dist/cjs.js??ref--6-oneOf-1-1!../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../node_modules/postcss-loader/src/index.js??ref--6-oneOf-1-2!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Ballot.vue?vue&type=style&index=0&id=af1df8ae&scoped=true&lang=css&\"; export default mod; export * from \"-!../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--6-oneOf-1-0!../../node_modules/css-loader/dist/cjs.js??ref--6-oneOf-1-1!../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../node_modules/postcss-loader/src/index.js??ref--6-oneOf-1-2!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Ballot.vue?vue&type=style&index=0&id=af1df8ae&scoped=true&lang=css&\"","import mod from \"-!../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--6-oneOf-1-0!../../node_modules/css-loader/dist/cjs.js??ref--6-oneOf-1-1!../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../node_modules/postcss-loader/src/index.js??ref--6-oneOf-1-2!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./ElectionResults.vue?vue&type=style&index=1&lang=css&\"; export default mod; export * from \"-!../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--6-oneOf-1-0!../../node_modules/css-loader/dist/cjs.js??ref--6-oneOf-1-1!../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../node_modules/postcss-loader/src/index.js??ref--6-oneOf-1-2!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./ElectionResults.vue?vue&type=style&index=1&lang=css&\"","import mod from \"-!../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--6-oneOf-1-0!../../node_modules/css-loader/dist/cjs.js??ref--6-oneOf-1-1!../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../node_modules/postcss-loader/src/index.js??ref--6-oneOf-1-2!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./ManageCandidates.vue?vue&type=style&index=0&id=5150d526&scoped=true&lang=css&\"; export default mod; export * from \"-!../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--6-oneOf-1-0!../../node_modules/css-loader/dist/cjs.js??ref--6-oneOf-1-1!../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../node_modules/postcss-loader/src/index.js??ref--6-oneOf-1-2!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./ManageCandidates.vue?vue&type=style&index=0&id=5150d526&scoped=true&lang=css&\"","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{attrs:{\"id\":\"app\"}},[(!_vm.isAnonymous)?_c('div',{attrs:{\"id\":\"userinfo\"}},[(!_vm.isAnonymous)?_c('div',{attrs:{\"id\":\"username\"}},[_vm._v(_vm._s(_vm.name))]):_vm._e(),(!_vm.isAnonymous)?_c('a',{attrs:{\"id\":\"logout\",\"href\":\"#\"},on:{\"click\":_vm.logout}},[_vm._v(\"Logout\")]):_vm._e(),(_vm.isAnonymous)?_c('router-link',{attrs:{\"to\":{ name: 'Login' }}},[_vm._v(\"Login\")]):_vm._e()],1):_vm._e(),_c('h1',[_vm._v(\"Shadow Primary\")]),_c('h4',[_vm._v(\"A wholly unscientific ranked-choice voting mock-up and survey\")]),_c('div',{attrs:{\"id\":\"nav\"}},[_c('router-link',{attrs:{\"to\":\"/\"}},[_vm._v(\"Home\")]),_vm._v(\" | \"),_c('router-link',{attrs:{\"to\":{ name: 'Results' }}},[_vm._v(\"Results\")])],1),_c('router-view')],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nimport { Component, Prop, Vue } from 'vue-property-decorator';\nimport { mapGetters, mapState, mapMutations } from 'vuex'\n\n@Component({\n computed: {\n ...mapGetters([\n 'name',\n 'isAnonymous',\n ]),\n\n ...mapState([\n 'user',\n ]),\n\n ...mapMutations({\n setUser: 'setUser',\n })\n }\n})\nexport default class App extends Vue {\n @Prop({default: \"Ohai\"}) private msg!: string;\n\n private label = \"Name: \"\n\n async logout() {\n const response = await this.$http.post('/user/logout');\n this.$store.commit( 'setUser', { user: response.data });\n }\n\n mounted() {\n this.$http.get('/user/current').then(\n response => {\n this.$store.commit('setUser', { user: response.data });\n }\n )\n }\n}\n","import mod from \"-!../node_modules/cache-loader/dist/cjs.js??ref--14-0!../node_modules/babel-loader/lib/index.js!../node_modules/ts-loader/index.js??ref--14-2!../node_modules/cache-loader/dist/cjs.js??ref--0-0!../node_modules/vue-loader/lib/index.js??vue-loader-options!./App.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../node_modules/cache-loader/dist/cjs.js??ref--14-0!../node_modules/babel-loader/lib/index.js!../node_modules/ts-loader/index.js??ref--14-2!../node_modules/cache-loader/dist/cjs.js??ref--0-0!../node_modules/vue-loader/lib/index.js??vue-loader-options!./App.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./App.vue?vue&type=template&id=26ede40a&\"\nimport script from \"./App.vue?vue&type=script&lang=ts&\"\nexport * from \"./App.vue?vue&type=script&lang=ts&\"\nimport style0 from \"./App.vue?vue&type=style&index=0&lang=css&\"\n\n\n/* normalize component */\nimport normalizer from \"!../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"home\"},[_c('Ballot')],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"ballot\"},[_c('div',{staticClass:\"row\"},[_c('div',{staticClass:\"col col-left\"},[_c('div',{staticClass:\"column-header\"},[_vm._v(\"Ranked:\")]),_c('draggable',{staticClass:\"list-group draggable\",attrs:{\"group\":\"choices\",\"ghost-class\":\"ghost\"},on:{\"start\":function($event){_vm.dragging = true},\"end\":function($event){_vm.dragging = false}},model:{value:(_vm.ranked),callback:function ($$v) {_vm.ranked=$$v},expression:\"ranked\"}},_vm._l((_vm.ranked),function(element,index){return _c('div',{key:element.ID,staticClass:\"list-group-item\",class:{ dropped:element.Dropped }},[_vm._v(\" \"+_vm._s((index + 1) + '. ' + element.Name)+\" \")])}),0)],1),_c('div',{staticClass:\"col col-right\"},[_c('div',{staticClass:\"column-header\"},[_vm._v(\"Unranked:\")]),_c('draggable',{staticClass:\"other list-group draggable\",attrs:{\"group\":\"choices\",\"ghost-class\":\"ghost\"},on:{\"start\":function($event){_vm.dragging = true},\"end\":function($event){_vm.dragging = false}},model:{value:(_vm.unranked),callback:function ($$v) {_vm.unranked=$$v},expression:\"unranked\"}},_vm._l((_vm.unranked),function(element){return _c('div',{key:element.ID,staticClass:\"list-group-item\",class:{ dropped:element.Dropped }},[_vm._v(\" \"+_vm._s(element.Name)+\" \")])}),0)],1)]),_c('div',[_vm._v(\" Drag candidates’ names from the right box to the left and into your preference order.\")]),(_vm.alreadyVoted)?_c('div',{staticClass:\"already-voted\"},[_vm._v(\" Thank you for voting! Voting again will update your ballot, not add a new one.\")]):_vm._e(),(_vm.alertText)?_c('div',{staticClass:\"alert\"},[_vm._v(\" \"+_vm._s(_vm.alertText))]):_vm._e(),_c('button',{staticClass:\"btn-primary\",attrs:{\"disabled\":!_vm.canSubmit},on:{\"click\":function($event){$event.preventDefault();return _vm.submitBallot($event)}}},[_vm._t(\"default\"),_vm._v(\" Submit your ranking! \")],2),_c('div',{staticClass:\"results\"},_vm._l((_vm.ranked),function(element){return _c('div',{key:element.id},[_vm._v(\" \"+_vm._s(element.name)+\" \")])}),0)])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nimport { Component, Vue } from 'vue-property-decorator';\nimport draggable from 'vuedraggable';\n\n@Component({\n components: {\n draggable,\n },\n})\nexport default class Ballot extends Vue {\n private ranked:\n { ID: string; Name: string; Dropped: boolean}[] = [];\n private unranked: { ID: string; Name: string; Dropped: boolean }[] = [];\n private alertText = '';\n private alreadyVoted = false;\n\n private get canSubmit(): boolean {\n return this.ranked.length > 0;\n }\n \n mounted() {\n Promise.all(\n [\n this.updateCandidates(),\n this.updateBallot()\n ]\n ).then(results => {\n const ballot = results[1];\n if (ballot.CandidateIDs && ballot.CandidateIDs.length) {\n this.ranked = [];\n // Get a map of candidates\n const candidateMap = new Map(this.unranked.map(c => [c.ID, c]));\n\n for (const id of ballot.CandidateIDs) {\n const candidate = candidateMap.get(id);\n if (candidate) {\n this.ranked.push(candidate);\n }\n }\n this.unranked = this.unranked.filter( c => !ballot.CandidateIDs.includes(c.ID) );\n }\n\n });\n }\n\n async updateCandidates() {\n try {\n const response = await this.$http.get(\n '/election/candidate'\n );\n this.unranked = response.data;\n this.ranked = [];\n } catch (err) {\n this.alertText = err.response.data;\n }\n }\n\n async updateBallot() {\n try {\n const response = await this.$http.get(\n '/election/ballot'\n );\n const ballot = response.data;\n if (ballot.CandidateIDs.length != 0) {\n this.alreadyVoted = true;\n }\n return ballot;\n } catch (err) {\n console.log(\"Error getting old ballot\", err.response);\n return {};\n }\n }\n\n async submitBallot() {\n try {\n const CandidateIDs = this.ranked.map(\n candidate => candidate.ID\n )\n await this.$http.post(\n 'election/ballot',\n {\n CandidateIDs\n }\n )\n this.alertText = 'Thank you for participating!';\n } catch (err) {\n this.alertText = err.response.data;\n }\n }\n\n}\n","import mod from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../node_modules/babel-loader/lib/index.js!../../node_modules/ts-loader/index.js??ref--14-2!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Ballot.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../node_modules/babel-loader/lib/index.js!../../node_modules/ts-loader/index.js??ref--14-2!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Ballot.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./Ballot.vue?vue&type=template&id=af1df8ae&scoped=true&\"\nimport script from \"./Ballot.vue?vue&type=script&lang=ts&\"\nexport * from \"./Ballot.vue?vue&type=script&lang=ts&\"\nimport style0 from \"./Ballot.vue?vue&type=style&index=0&id=af1df8ae&scoped=true&lang=css&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"af1df8ae\",\n null\n \n)\n\nexport default component.exports","\n\n\n","import mod from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../node_modules/babel-loader/lib/index.js!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Home.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../node_modules/babel-loader/lib/index.js!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Home.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./Home.vue?vue&type=template&id=0d54cb80&\"\nimport script from \"./Home.vue?vue&type=script&lang=js&\"\nexport * from \"./Home.vue?vue&type=script&lang=js&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"login\"},[_c('h1',[_vm._v(_vm._s(_vm.msg))]),_c('div',[_c('label',{attrs:{\"for\":\"userid\"}},[_vm._v(\"User ID\")]),_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.userid),expression:\"userid\"}],attrs:{\"type\":\"text\",\"placeholder\":\"User ID\",\"id\":\"userid\"},domProps:{\"value\":(_vm.userid)},on:{\"input\":function($event){if($event.target.composing){ return; }_vm.userid=$event.target.value}}})]),_c('div',[_c('label',{attrs:{\"for\":\"password\"}},[_vm._v(\"Password\")]),_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.password),expression:\"password\"}],attrs:{\"type\":\"password\",\"placeholder\":\"Password\",\"id\":\"password\"},domProps:{\"value\":(_vm.password)},on:{\"input\":function($event){if($event.target.composing){ return; }_vm.password=$event.target.value}}})]),_c('button',{staticClass:\"btn-primary\",on:{\"click\":function($event){$event.preventDefault();return _vm.login($event)}}},[_vm._t(\"default\"),_vm._v(\" Login \")],2),_c('div',[(_vm.alertText != '')?_c('span',{staticClass:\"alert\"},[_vm._v(_vm._s(_vm.alertText))]):_vm._e()])])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nimport { Component, Prop, Vue, Watch } from 'vue-property-decorator';\n\n@Component\nexport default class Login extends Vue {\n @Prop({default: \"Ohai\"}) private msg!: string;\n\n private cookieContents: object = {};\n private userid = \"\";\n private password = \"\";\n private alertText = \"\";\n\n @Watch('userid')\n watchUserID() {\n this.alertText = \"\";\n }\n\n @Watch('password')\n watchPassword() {\n this.alertText = \"\";\n }\n\n async login() {\n this.alertText = \"\";\n try {\n const response = await this.$http.post(\n '/user/login',\n { \n userid: this.userid,\n password: this.password\n }\n );\n this.$store.commit('setUser', { user: response.data } );\n this.$router.push('/');\n } catch (err) {\n this.alertText = err.response.data;\n }\n }\n}\n\n","import mod from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../node_modules/babel-loader/lib/index.js!../../node_modules/ts-loader/index.js??ref--14-2!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Login.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../node_modules/babel-loader/lib/index.js!../../node_modules/ts-loader/index.js??ref--14-2!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Login.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./Login.vue?vue&type=template&id=62dea96a&scoped=true&\"\nimport script from \"./Login.vue?vue&type=script&lang=ts&\"\nexport * from \"./Login.vue?vue&type=script&lang=ts&\"\nimport style0 from \"./Login.vue?vue&type=style&index=0&id=62dea96a&scoped=true&lang=css&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"62dea96a\",\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"register\"},[_c('div',[_c('label',{staticClass:\"text-label\",attrs:{\"for\":\"firstname\"}},[_vm._v(\"First Name\")]),_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.userData.firstname),expression:\"userData.firstname\"}],attrs:{\"type\":\"text\",\"id\":\"firstname\",\"placeholder\":\"First Name\"},domProps:{\"value\":(_vm.userData.firstname)},on:{\"input\":function($event){if($event.target.composing){ return; }_vm.$set(_vm.userData, \"firstname\", $event.target.value)}}})]),_c('div',[_c('label',{staticClass:\"text-label\",attrs:{\"for\":\"lastname\"}},[_vm._v(\"Last Name\")]),_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.userData.lastname),expression:\"userData.lastname\"}],attrs:{\"type\":\"text\",\"Placeholder\":\"Last Name\",\"id\":\"lastname\"},domProps:{\"value\":(_vm.userData.lastname)},on:{\"input\":function($event){if($event.target.composing){ return; }_vm.$set(_vm.userData, \"lastname\", $event.target.value)}}})]),_c('div',[_c('label',{staticClass:\"text-label\",attrs:{\"for\":\"userid\"}},[_vm._v(\"User ID\")]),_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.userData.userid),expression:\"userData.userid\"}],attrs:{\"type\":\"text\",\"PlaceHolder\":\"User ID\",\"id\":\"userid\"},domProps:{\"value\":(_vm.userData.userid)},on:{\"input\":function($event){if($event.target.composing){ return; }_vm.$set(_vm.userData, \"userid\", $event.target.value)}}}),(!_vm.userIdValid)?_c('span',{staticClass:\"alert field-alert\"},[_vm._v(\"User ID must be at least three letters long.\")]):_vm._e()]),_c('div',[_c('label',{staticClass:\"text-label\",attrs:{\"for\":\"createPassword\"}},[_vm._v(\"Password\")]),((_vm.passwordInputType)==='checkbox')?_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.userData.password),expression:\"userData.password\"}],attrs:{\"placeholder\":\"Password\",\"id\":\"createPassword\",\"type\":\"checkbox\"},domProps:{\"checked\":Array.isArray(_vm.userData.password)?_vm._i(_vm.userData.password,null)>-1:(_vm.userData.password)},on:{\"change\":function($event){var $$a=_vm.userData.password,$$el=$event.target,$$c=$$el.checked?(true):(false);if(Array.isArray($$a)){var $$v=null,$$i=_vm._i($$a,$$v);if($$el.checked){$$i<0&&(_vm.$set(_vm.userData, \"password\", $$a.concat([$$v])))}else{$$i>-1&&(_vm.$set(_vm.userData, \"password\", $$a.slice(0,$$i).concat($$a.slice($$i+1))))}}else{_vm.$set(_vm.userData, \"password\", $$c)}}}}):((_vm.passwordInputType)==='radio')?_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.userData.password),expression:\"userData.password\"}],attrs:{\"placeholder\":\"Password\",\"id\":\"createPassword\",\"type\":\"radio\"},domProps:{\"checked\":_vm._q(_vm.userData.password,null)},on:{\"change\":function($event){return _vm.$set(_vm.userData, \"password\", null)}}}):_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.userData.password),expression:\"userData.password\"}],attrs:{\"placeholder\":\"Password\",\"id\":\"createPassword\",\"type\":_vm.passwordInputType},domProps:{\"value\":(_vm.userData.password)},on:{\"input\":function($event){if($event.target.composing){ return; }_vm.$set(_vm.userData, \"password\", $event.target.value)}}}),(!_vm.passwordValid)?_c('span',{staticClass:\"alert field-alert\"},[_vm._v(\"Password must not be empty.\")]):_vm._e()]),_c('div',[_c('label',{staticClass:\"text-label\",attrs:{\"for\":\"verify\"}},[_vm._v(\"Verify Password\")]),((_vm.passwordInputType)==='checkbox')?_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.verifyPassword),expression:\"verifyPassword\"}],attrs:{\"placeholder\":\"Verify Password\",\"id\":\"password\",\"type\":\"checkbox\"},domProps:{\"checked\":Array.isArray(_vm.verifyPassword)?_vm._i(_vm.verifyPassword,null)>-1:(_vm.verifyPassword)},on:{\"change\":function($event){var $$a=_vm.verifyPassword,$$el=$event.target,$$c=$$el.checked?(true):(false);if(Array.isArray($$a)){var $$v=null,$$i=_vm._i($$a,$$v);if($$el.checked){$$i<0&&(_vm.verifyPassword=$$a.concat([$$v]))}else{$$i>-1&&(_vm.verifyPassword=$$a.slice(0,$$i).concat($$a.slice($$i+1)))}}else{_vm.verifyPassword=$$c}}}}):((_vm.passwordInputType)==='radio')?_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.verifyPassword),expression:\"verifyPassword\"}],attrs:{\"placeholder\":\"Verify Password\",\"id\":\"password\",\"type\":\"radio\"},domProps:{\"checked\":_vm._q(_vm.verifyPassword,null)},on:{\"change\":function($event){_vm.verifyPassword=null}}}):_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.verifyPassword),expression:\"verifyPassword\"}],attrs:{\"placeholder\":\"Verify Password\",\"id\":\"password\",\"type\":_vm.passwordInputType},domProps:{\"value\":(_vm.verifyPassword)},on:{\"input\":function($event){if($event.target.composing){ return; }_vm.verifyPassword=$event.target.value}}}),(!this.passwordsMatch)?_c('span',{staticClass:\"alert field-alert\",attrs:{\"id\":\"passwordAlert\"}},[_vm._v(\"Passwords must match.\")]):_vm._e()]),_c('div',[_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.showPassword),expression:\"showPassword\"}],attrs:{\"type\":\"checkbox\",\"id\":\"create-showPassword\"},domProps:{\"checked\":Array.isArray(_vm.showPassword)?_vm._i(_vm.showPassword,null)>-1:(_vm.showPassword)},on:{\"change\":function($event){var $$a=_vm.showPassword,$$el=$event.target,$$c=$$el.checked?(true):(false);if(Array.isArray($$a)){var $$v=null,$$i=_vm._i($$a,$$v);if($$el.checked){$$i<0&&(_vm.showPassword=$$a.concat([$$v]))}else{$$i>-1&&(_vm.showPassword=$$a.slice(0,$$i).concat($$a.slice($$i+1)))}}else{_vm.showPassword=$$c}}}}),_c('label',{attrs:{\"for\":\"create-showPassword\"}},[_vm._v(\"Show Password\")])]),_c('button',{staticClass:\"btn-primary\",attrs:{\"disabled\":!_vm.canSubmit},on:{\"click\":function($event){$event.preventDefault();return _vm.createUser($event)}}},[_vm._t(\"default\"),_vm._v(\" Create User \")],2),_c('div',[(_vm.alertText != '')?_c('span',{staticClass:\"alert\"},[_vm._v(_vm._s(_vm.alertText))]):_vm._e()])])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nimport { Component, Vue, Watch } from 'vue-property-decorator';\n\n@Component\nexport default class CreateUser extends Vue {\n\n private cookieContents: object = {};\n private userData = {\n firstname: \"\",\n lastname: \"\",\n userid: \"\",\n password: \"\",\n }\n\n private verifyPassword = \"\";\n private showPassword = false;\n private alertText = \"\";\n\n get passwordsMatch(): boolean {\n return this.userData.password === this.verifyPassword;\n }\n\n get passwordValid(): boolean {\n return this.userData.password != \"\";\n }\n\n get userIdValid(): boolean {\n return this.userData.userid.length >= 3;\n }\n\n get canSubmit(): boolean {\n return this.passwordsMatch && this.userIdValid && this.passwordValid;\n }\n\n get passwordInputType(): string {\n return this.showPassword ? 'text' : 'password';\n }\n\n @Watch('userData.userid')\n watchUserID() {\n this.alertText = \"\";\n }\n\n @Watch('userData.password')\n watchPassword() {\n this.alertText = \"\";\n }\n\n async createUser() {\n try {\n this.alertText = '';\n await this.$http.post(\n '/user',\n { \n ...this.userData\n }\n );\n } catch (err) {\n this.alertText = err.response.data;\n }\n }\n}\n \n","import mod from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../node_modules/babel-loader/lib/index.js!../../node_modules/ts-loader/index.js??ref--14-2!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./CreateUser.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../node_modules/babel-loader/lib/index.js!../../node_modules/ts-loader/index.js??ref--14-2!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./CreateUser.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./CreateUser.vue?vue&type=template&id=3ec52332&scoped=true&\"\nimport script from \"./CreateUser.vue?vue&type=script&lang=ts&\"\nexport * from \"./CreateUser.vue?vue&type=script&lang=ts&\"\nimport style0 from \"./CreateUser.vue?vue&type=style&index=0&id=3ec52332&scoped=true&lang=css&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"3ec52332\",\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"calendar-month\"},[_c('table',[_c('tr',_vm._l((_vm.daysOfWeek),function(day){return _c('th',{key:day},[_vm._v(\" \"+_vm._s(day)+\" \")])}),0),_vm._l((_vm.table),function(row,index){return _c('tr',{key:index},_vm._l((row),function(col,cindex){return _c('td',{key:cindex,class:{'other-month':col.getMonth() != _vm.thisMonth,'today': _vm.isToday(col)},attrs:{\"set\":_vm.active = _vm.activeDates[_vm.dateString(col)]},on:{\"mouseover\":function($event){_vm.hover=col},\"mouseleave\":function($event){_vm.hover=null}}},[_c('span',{staticClass:\"date\"},[_vm._v(_vm._s(col.getDate()))]),((_vm.active || (_vm.hover==col)) && !_vm.isAnonymous)?_c('span',{staticClass:\"activity\",class:{'active': _vm.active},on:{\"click\":function($event){return _vm.toggleActivity(col)}}},[_vm._v(\" \"+_vm._s(_vm.active ? 'Outraged!' : 'not')+\" \")]):_vm._e()])}),0)})],2)])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nimport { Component, Vue, } from 'vue-property-decorator';\nimport {\n State,\n Getter,\n} from 'vuex-class'\n\n@Component\nexport default class Calendar extends Vue {\n private table: Date[][] = [];\n private daysOfWeek = ['Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat'];\n\n private hover = null;\n\n // State things\n @State user;\n @Getter name;\n @Getter isAnonymous;\n\n get thisMonth() {\n return new Date().getMonth();\n }\n get thisDate() {\n return new Date().getDate();\n }\n\n isToday(date: Date): boolean {\n const now = new Date();\n return date.getDate() === now.getDate()\n && date.getMonth() === now.getMonth()\n && date.getFullYear() === now.getFullYear();\n }\n\n private startDate: Date = new Date()\n private endDate: Date = new Date()\n\n private activeDates: { [key: string]: boolean } = {};\n\n isActive(date: Date): boolean {\n const datestr = this.dateString(date);\n return this.activeDates[datestr];\n }\n\n created() {\n const today = new Date();\n const firstOfMonth = new Date(today);\n firstOfMonth.setDate(1);\n const lastOfMonth = new Date(firstOfMonth);\n lastOfMonth.setMonth(lastOfMonth.getMonth()+1);\n lastOfMonth.setDate(0);\n const before = firstOfMonth.getDay();\n const after = 6 - lastOfMonth.getDay();\n const total = lastOfMonth.getDate() + before + after;\n const startDate = new Date(firstOfMonth);\n startDate.setDate(startDate.getDate() - before);\n startDate.setHours(0, 0, 0, 0);\n let date = new Date(startDate);\n\n for (let i=0; i {\n console.log(response.status, response.statusText);\n }).catch(err => {\n console.log(\"Error setting dropped\", err);\n });\n }\n}\n\n","import mod from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../node_modules/babel-loader/lib/index.js!../../node_modules/ts-loader/index.js??ref--14-2!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./ManageCandidates.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../node_modules/babel-loader/lib/index.js!../../node_modules/ts-loader/index.js??ref--14-2!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./ManageCandidates.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./ManageCandidates.vue?vue&type=template&id=5150d526&scoped=true&\"\nimport script from \"./ManageCandidates.vue?vue&type=script&lang=ts&\"\nexport * from \"./ManageCandidates.vue?vue&type=script&lang=ts&\"\nimport style0 from \"./ManageCandidates.vue?vue&type=style&index=0&id=5150d526&scoped=true&lang=css&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"5150d526\",\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"election-results\"},[(_vm.showResults)?_c('div',[(_vm.results.length)?_c('div',{staticClass:\"Results summary\"},[_vm._v(\" And the overall winner is… \"+_vm._s(_vm.results[_vm.results.length-1][0].Candidate.Name)+\" \")]):_vm._e(),_c('div',{staticClass:\"results-list\"},[(_vm.results.length)?_c('VueSlickCarousel',_vm._b({key:_vm.carouselHack,ref:\"carousel\",on:{\"afterChange\":_vm.onCarouselChange}},'VueSlickCarousel',_vm.slickSettings,false),_vm._l((_vm.results),function(stage,stageIndex){return _c('div',{key:stageIndex},[_c('h2',[_vm._v(\"Round \"+_vm._s(stageIndex+ 1))]),_c('div',{staticClass:\"list-holder\"},_vm._l((stage),function(candidate,index){return _c('div',{key:index,staticClass:\"row\"},[_c('span',{staticClass:\"candidate-name\"},[_vm._v(_vm._s(candidate.Candidate.Name))]),_c('span',{staticClass:\"candidate-count\"},[_vm._v(_vm._s(candidate.Count))])])}),0)])}),0):_vm._e()],1),_c('div',[(_vm.alertText != '')?_c('span',{staticClass:\"alert\"},[_vm._v(_vm._s(_vm.alertText))]):_vm._e()]),_c('div',{staticClass:\"include-all-holder\"},[_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.includeAll),expression:\"includeAll\"}],attrs:{\"type\":\"checkbox\",\"id\":\"results-include-all\"},domProps:{\"checked\":Array.isArray(_vm.includeAll)?_vm._i(_vm.includeAll,null)>-1:(_vm.includeAll)},on:{\"change\":[function($event){var $$a=_vm.includeAll,$$el=$event.target,$$c=$$el.checked?(true):(false);if(Array.isArray($$a)){var $$v=null,$$i=_vm._i($$a,$$v);if($$el.checked){$$i<0&&(_vm.includeAll=$$a.concat([$$v]))}else{$$i>-1&&(_vm.includeAll=$$a.slice(0,$$i).concat($$a.slice($$i+1)))}}else{_vm.includeAll=$$c}},function($event){return _vm.updateResults()}]}}),_c('label',{attrs:{\"for\":\"results-include-all\"}},[_vm._v(\"Include dropped candidates\")])])]):_vm._e(),(!_vm.showResults)?_c('div',[_vm._v(\" Results coming soon! \")]):_vm._e()])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nimport VueSlickCarousel from 'vue-slick-carousel'\nimport { Component, Vue } from 'vue-property-decorator';\nimport {\n Getter,\n} from 'vuex-class'\nimport 'vue-slick-carousel/dist/vue-slick-carousel.css';\nimport 'vue-slick-carousel/dist/vue-slick-carousel-theme.css'\n\ninterface Candidate {\n ID: string;\n Name: string;\n Dropped: boolean;\n}\n\n@Component( {\n components: {\n VueSlickCarousel,\n }\n})\nexport default class ElectionResults extends Vue {\n\n private results: {\n Candidate: Candidate;\n Count: number;\n }[][] = [];\n\n private includeAll = true;\n\n private carouselHack = 0;\n private stageIndex = 0;\n private alertText = '';\n\n private get totalVotes(): number {\n if (this.results.length == 0) {\n return 0;\n }\n const total = this.results[0].reduce( (sofar, c) => sofar + c.Count, 0);\n return total;\n }\n\n @Getter name;\n @Getter isAnonymous;\n private voteThreshold = 24;\n private get showResults() {\n if (!this.isAnonymous) {\n return true;\n }\n return this.totalVotes > this.voteThreshold;\n }\n\n private slickSettings = {\n \"dots\": true,\n \"arrows\": true,\n \"dotsClass\": \"slick-dots custom-dot-class\",\n \"edgeFriction\": 0.35,\n \"infinite\": false,\n \"speed\": 500,\n \"slidesToShow\": 1,\n \"slidesToScroll\": 1,\n \"initialSlide\": 0,\n }\n\n onCarouselChange(slideIndex: number) {\n this.slickSettings.initialSlide = slideIndex;\n }\n\n async updateResults() {\n try {\n const response = await this.$http.get(\n \"/election/results\",\n {\n params: { all: this.includeAll }\n });\n this.results = response.data;\n this.slickSettings.initialSlide = Math.max(0,\n Math.min(this.slickSettings.initialSlide, this.results.length-1));\n this.carouselHack += 1;\n } catch (err) {\n this.alertText = err.response.data;\n }\n }\n\n mounted() {\n this.updateResults();\n }\n}\n\n","import mod from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../node_modules/babel-loader/lib/index.js!../../node_modules/ts-loader/index.js??ref--14-2!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./ElectionResults.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../node_modules/babel-loader/lib/index.js!../../node_modules/ts-loader/index.js??ref--14-2!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./ElectionResults.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./ElectionResults.vue?vue&type=template&id=4c9cd58f&scoped=true&\"\nimport script from \"./ElectionResults.vue?vue&type=script&lang=ts&\"\nexport * from \"./ElectionResults.vue?vue&type=script&lang=ts&\"\nimport style0 from \"./ElectionResults.vue?vue&type=style&index=0&id=4c9cd58f&scoped=true&lang=css&\"\nimport style1 from \"./ElectionResults.vue?vue&type=style&index=1&lang=css&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"4c9cd58f\",\n null\n \n)\n\nexport default component.exports","import Vue from 'vue'\nimport VueRouter from 'vue-router'\nimport Home from '../views/Home.vue'\nimport Login from '../components/Login.vue'\nimport CreateUser from '../components/CreateUser.vue'\nimport Calendar from '../components/Calendar.vue'\nimport Ballot from '../components/Ballot.vue'\nimport ManageCandidates from '../components/ManageCandidates.vue'\nimport ElectionResults from '../components/ElectionResults.vue'\n\nVue.use(VueRouter)\n\nconst routes = [\n {\n path: '/',\n name: 'Home',\n component: Home\n },\n {\n path: '/about',\n name: 'About',\n // route level code-splitting\n // this generates a separate chunk (about.[hash].js) for this route\n // which is lazy-loaded when the route is visited.\n component: () => import(/* webpackChunkName: \"about\" */ '../views/About.vue')\n }, \n {\n path: '/login',\n name: 'Login',\n component: Login \n },\n {\n path: '/register',\n name: 'CreateUser',\n component: CreateUser \n },\n {\n path: '/calendar',\n name: 'Calendar',\n component: Calendar \n },\n {\n path: '/ballot',\n name: 'Ballot',\n component: Ballot \n },\n {\n path: '/candidates',\n name: 'Candidates',\n component: ManageCandidates \n },\n {\n path: '/results',\n name: 'Results',\n component: ElectionResults \n }\n]\n\nconst router = new VueRouter({\n mode: 'history',\n base: process.env.BASE_URL,\n routes\n})\n\nexport default router\n","import Vue from 'vue'\nimport Vuex from 'vuex'\n\nVue.use(Vuex)\n\nexport default new Vuex.Store({\n state: {\n user: {\n Firstname: \"\",\n Lastname: \"\",\n IsAnonymous: true,\n }\n },\n getters: {\n name(state) {\n return state.user.Firstname + ' ' + state.user.Lastname;\n },\n isAnonymous(state) {\n return state.user.IsAnonymous;\n }\n },\n mutations: {\n setUser(state, payload) {\n state.user = payload.user;\n }\n },\n actions: {\n },\n modules: {\n }\n})\n","import Vue from 'vue'\nimport VueCookies from 'vue-cookies'\nimport axios from 'axios'\nimport VueAxios from 'vue-axios'\nimport App from './App.vue'\nimport router from './router'\nimport store from './store'\n\nimport { AxiosStatic } from \"axios\";\n\nVue.use(VueCookies);\nVue.use(VueAxios, axios)\n\nVue.config.productionTip = false\n\n// Make the compiler happy\ndeclare module 'vue/types/vue' {\n interface Vue {\n $http: AxiosStatic;\n }\n}\n\nnew Vue({\n router,\n store,\n render: h => h(App),\n}).$mount('#app')\n","import mod from \"-!../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--6-oneOf-1-0!../../node_modules/css-loader/dist/cjs.js??ref--6-oneOf-1-1!../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../node_modules/postcss-loader/src/index.js??ref--6-oneOf-1-2!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./CreateUser.vue?vue&type=style&index=0&id=3ec52332&scoped=true&lang=css&\"; export default mod; export * from \"-!../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--6-oneOf-1-0!../../node_modules/css-loader/dist/cjs.js??ref--6-oneOf-1-1!../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../node_modules/postcss-loader/src/index.js??ref--6-oneOf-1-2!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./CreateUser.vue?vue&type=style&index=0&id=3ec52332&scoped=true&lang=css&\""],"sourceRoot":""}