text: (window.webpackJsonp=window.webpackJsonp||[]).push([[7,16],{1013:function(module,exports,__webpack_require__){var content=__webpack_require__(1022);content.__esModule&&(content=content.default),"string"==typeof content&&(content=[[module.i,content,""]]),content.locals&&(module.exports=content.locals);(0,__webpack_require__(206).default)("6dd048f4",content,!0,{sourceMap:!1})},1021:function(module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__(1013)},1022:function(module,exports,__webpack_require__){var ___CSS_LOADER_EXPORT___=__webpack_require__(205)((function(i){return i[1]}));___CSS_LOADER_EXPORT___.push([module.i,".root[data-v-5cec39b4]{display:flex;align-items:center;justify-content:center;height:35px}.root .input[data-v-5cec39b4]{width:100%;height:35px;padding:0 20px;border-radius:5px;border:1px solid #5466e2;cursor:pointer;background-color:#fff;font-size:14px;color:#000}.root .button[data-v-5cec39b4]{height:100%;width:60px;border-radius:5px;cursor:pointer;background-color:#5466e2;margin-left:10px}.root .button .plusIcon[data-v-5cec39b4]{height:15px;width:15px;color:#fafafa}",""]),___CSS_LOADER_EXPORT___.locals={},module.exports=___CSS_LOADER_EXPORT___},1041:function(module,exports,__webpack_require__){var content=__webpack_require__(1047);content.__esModule&&(content=content.default),"string"==typeof content&&(content=[[module.i,content,""]]),content.locals&&(module.exports=content.locals);(0,__webpack_require__(206).default)("5ef2af14",content,!0,{sourceMap:!1})},1046:function(module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__(1041)},1047:function(module,exports,__webpack_require__){var ___CSS_LOADER_EXPORT___=__webpack_require__(205)((function(i){return i[1]}));___CSS_LOADER_EXPORT___.push([module.i,".homeContent .listBox .listInnerCenterBox[data-v-952d5de4]{display:flex;align-items:center;justify-content:center}.homeContent[data-v-952d5de4]{display:flex;flex-direction:column;justify-content:flex-start;align-items:center;padding:var(--home-content-padding)}.homeContent .listBox[data-v-952d5de4],.homeContent .taskBar[data-v-952d5de4]{display:flex;width:100%;max-width:1000px;margin-top:30px}.homeContent .listBox[data-v-952d5de4]{height:100%;margin-bottom:30px}.homeContent .listBox .listInnerCenterBox[data-v-952d5de4]{width:100%;height:100%}.homeContent .listBox .listInnerBox[data-v-952d5de4]{display:flex;flex-direction:column;width:100%}.homeContent .listBox .listInnerBox .listTitle[data-v-952d5de4]{width:100%;margin-bottom:10px;text-align:start;font-size:18px}.homeContent .listBox .listInnerBox .taskCard[data-v-952d5de4]{margin-top:20px}",""]),___CSS_LOADER_EXPORT___.locals={},module.exports=___CSS_LOADER_EXPORT___},986:function(module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.r(__webpack_exports__);var componentNormalizer=__webpack_require__(153);const __vuedocgen_export_0=Object(componentNormalizer.a)({},(function(){var _h=this.$createElement,_c=this._self._c||_h;return _c("svg",{attrs:{width:"14",height:"14",viewBox:"0 0 14 14",xmlns:"http://www.w3.org/2000/svg"}},[_c("path",{attrs:{d:"M12.75 5.75H8.5C8.36194 5.75 8.25 5.63806 8.25 5.5V1.25C8.25 0.559692 7.69031 0 7 0C6.30969 0 5.75 0.559692 5.75 1.25V5.5C5.75 5.63806 5.63806 5.75 5.5 5.75H1.25C0.559692 5.75 0 6.30969 0 7C0 7.69031 0.559692 8.25 1.25 8.25H5.5C5.63806 8.25 5.75 8.36194 5.75 8.5V12.75C5.75 13.4403 6.30969 14 7 14C7.69031 14 8.25 13.4403 8.25 12.75V8.5C8.25 8.36194 8.36194 8.25 8.5 8.25H12.75C13.4403 8.25 14 7.69031 14 7C14 6.30969 13.4403 5.75 12.75 5.75Z",fill:"currentColor"}})])}),[],!1,null,null,null).exports;__webpack_exports__.default=__vuedocgen_export_0;__vuedocgen_export_0.__docgenInfo={displayName:"PlusIcon",description:"",tags:{}}},987:function(module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.r(__webpack_exports__);__webpack_require__(10),__webpack_require__(3),__webpack_require__(29),__webpack_require__(38),__webpack_require__(73),__webpack_require__(25),__webpack_require__(42),__webpack_require__(75),__webpack_require__(76),__webpack_require__(154);var defineProperty=__webpack_require__(33),vuex_esm=__webpack_require__(178);function ownKeys(object,enumerableOnly){var keys=Object.keys(object);if(Object.getOwnPropertySymbols){var symbols=Object.getOwnPropertySymbols(object);enumerableOnly&&(symbols=symbols.filter((function(sym){return Object.getOwnPropertyDescriptor(object,sym).enumerable}))),keys.push.apply(keys,symbols)}return keys}function _objectSpread(target){for(var i=1;i<arguments.length;i++){var source=null!=arguments[i]?arguments[i]:{};i%2?ownKeys(Object(source),!0).forEach((function(key){Object(defineProperty.a)(target,key,source[key])})):Object.getOwnPropertyDescriptors?Object.defineProperties(target,Object.getOwnPropertyDescriptors(source)):ownKeys(Object(source)).forEach((function(key){Object.defineProperty(target,key,Object.getOwnPropertyDescriptor(source,key))}))}return target}var components_TaskBarvue_type_script_lang_js_={data:function data(){return{taskDescription:""}},computed:_objectSpread({},Object(vuex_esm.c)({isLoadingCreateTask:"getIsLoadingCreateTask"})),watch:{isLoadingCreateTask:function isLoadingCreateTask(){!1===this.isLoadingCreateTask&&(this.taskDescription="")}},methods:_objectSpread(_objectSpread({},Object(vuex_esm.b)(["createTask"])),{},{onKeyPress:function onKeyPress(event){"Enter"===event.key&&""!==this.taskDescription.trim()&&this.addTask()},addTask:function addTask(){this.createTask({description:this.taskDescription})}})},componentNormalizer=(__webpack_require__(1021),__webpack_require__(153)),component=Object(componentNormalizer.a)(components_TaskBarvue_type_script_lang_js_,(function(){var _vm=this,_h=_vm.$createElement,_c=_vm._self._c||_h;return _c("Box",{staticClass:"root"},[_c("input",{directives:[{name:"model",rawName:"v-model.trim",value:_vm.taskDescription,expression:"taskDescription",modifiers:{trim:!0}}],staticClass:"input",attrs:{type:"text",placeholder:"Add a new task..."},domProps:{value:_vm.taskDescription},on:{keypress:_vm.onKeyPress,input:function($event){$event.target.composing||(_vm.taskDescription=$event.target.value.trim())},blur:function($event){return _vm.$forceUpdate()}}}),_vm._v(" "),_vm.taskDescription.length>0?_c("BaseButton",{staticClass:"button",nativeOn:{click:function($event){return _vm.addTask.apply(null,arguments)}}},[_vm.isLoadingCreateTask?_c("Spinner",{attrs:{size:10,color:"white"}}):_c("PlusIcon",{staticClass:"plusIcon"})],1):_vm._e()],1)}),[],!1,null,"5cec39b4",null);const __vuedocgen_export_0=component.exports;__webpack_exports__.default=__vuedocgen_export_0;installComponents(component,{Spinner:__webpack_require__(985).default,PlusIcon:__webpack_require__(986).default,BaseButton:__webpack_require__(983).default,Box:__webpack_require__(982).default}),__vuedocgen_export_0.__docgenInfo={exportName:"default",displayName:"TaskBar",description:"",tags:{}}},998:function(module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.r(__webpack_exports__);__webpack_require__(10),__webpack_require__(3),__webpack_require__(29),__webpack_require__(38),__webpack_require__(73),__webpack_require__(25),__webpack_require__(42),__webpack_require__(75),__webpack_require__(76);var defineProperty=__webpack_require__(33),vuex_esm=__webpack_require__(178),env=__webpack_require__(1011);function ownKeys(object,enumerableOnly){var keys=Object.keys(object);if(Object.getOwnPropertySymbols){var symbols=Object.getOwnPropertySymbols(object);enumerableOnly&&(symbols=symbols.filter((function(sym){return Object.getOwnPropertyDescriptor(object,sym).enumerable}))),keys.push.apply(keys,symbols)}return keys}function _objectSpread(target){for(var i=1;i<arguments.length;i++){var source=null!=arguments[i]?arguments[i]:{};i%2?ownKeys(Object(source),!0).forEach((function(key){Object(defineProperty.a)(target,key,source[key])})):Object.getOwnPropertyDescriptors?Object.defineProperties(target,Object.getOwnPropertyDescriptors(source)):ownKeys(Object(source)).forEach((function(key){Object.defineProperty(target,key,Object.getOwnPropertyDescriptor(source,key))}))}return target}var components_ContentCompletedPagevue_type_script_lang_js_={data:function data(){return{MOBILE_WIDTH_SIZE:env.a.MOBILE_WIDTH_SIZE,windowWidth:window.innerWidth}},computed:_objectSpread({},Object(vuex_esm.c)({completedTasks:"getCompletedTasks",isLoadingGetTasks:"getIsLoadingGetTasks",isErrorAnyRequest:"getIsErrorAnyRequest"})),created:function created(){0===this.completedTasks.length&&this.getTasks()},mounted:function mounted(){var _this=this;window.addEventListener("resize",(function(){_this.windowWidth=window.innerWidth}))},methods:_objectSpread({},Object(vuex_esm.b)(["getTasks"]))},componentNormalizer=(__webpack_require__(1046),__webpack_require__(153)),component=Object(componentNormalizer.a)(components_ContentCompletedPagevue_type_script_lang_js_,(function(){var _vm=this,_h=_vm.$createElement,_c=_vm._self._c||_h;return _c("Box",{staticClass:"homeContent",style:_vm.windowWidth<_vm.MOBILE_WIDTH_SIZE?"--home-content-padding: 0px 10px 0px 10px":"--home-content-padding: 0px 40px 0px 40px"},[_c("TaskBar",{staticClass:"taskBar"}),_vm._v(" "),_c("Box",{staticClass:"listBox"},[_vm.isLoadingGetTasks?_c("Box",{staticClass:"listInnerCenterBox"},[_c("Spinner",{attrs:{size:40,color:"blue"}})],1):_vm.isErrorAnyRequest?_c("Box",{staticClass:"listInnerCenterBox"},[_c("BaseText",[_vm._v("\n        An error occurred. Please refresh the page and try again.")])],1):0===_vm.completedTasks.length?_c("Box",{staticClass:"listInnerCenterBox"},[_c("BaseText",[_vm._v(" There aren't any completed tasks in our records. ")])],1):_c("Box",{staticClass:"listInnerBox"},[_c("BaseText",{staticClass:"listTitle"},[_vm._v("Completed Tasks")]),_vm._v(" "),_vm._l(_vm.completedTasks,(function(task){return _c("TaskCard",{key:task._id,staticClass:"taskCard",attrs:{task:task}})}))],2)],1)],1)}),[],!1,null,"952d5de4",null);const __vuedocgen_export_0=component.exports;__webpack_exports__.default=__vuedocgen_export_0;installComponents(component,{TaskBar:__webpack_require__(987).default,Spinner:__webpack_require__(985).default,Box:__webpack_require__(982).default,BaseText:__webpack_require__(984).default,TaskCard:__webpack_require__(992).default}),__vuedocgen_export_0.__docgenInfo={exportName:"default",displayName:"ContentCompletedPage",description:"",tags:{}}}}]);