{"version":3,"sources":["webpack:///static-appopensalud/js/2.88c4a22b341ff0593df4.js","webpack:///./src/components/views/healthy-habits/HealthyHabits.vue","webpack:///src/components/views/healthy-habits/HealthyHabits.vue","webpack:///src/components/views/healthy-habits/HealthyHabitsTable.vue","webpack:///./src/components/views/healthy-habits/HealthyHabits.vue?cb3a","webpack:///./src/components/views/healthy-habits/HealthyHabits.vue?a558","webpack:///./src/components/views/healthy-habits/HealthyHabitsTable.vue","webpack:///./src/components/views/healthy-habits/HealthyHabitsTable.vue?a722","webpack:///./src/components/views/healthy-habits/HealthyHabitsTable.vue?02cc","webpack:///./node_modules/sortablejs/modular/sortable.esm.js","webpack:///./src/components/views/healthy-habits/HealthyHabitsTable.vue?a5c5","webpack:///./src/components/views/healthy-habits/HealthyHabits.vue?fd4b"],"names":["webpackJsonp","305","module","__webpack_exports__","__webpack_require__","injectStyle","ssrContext","disposed","normalizeComponent","__vue_styles__","Component","options","__file","3431","__WEBPACK_IMPORTED_MODULE_0__mixins_healthyHabits_mixin__","__WEBPACK_IMPORTED_MODULE_1__components_views_healthy_habits_HealthyHabitsTable__","__WEBPACK_IMPORTED_MODULE_2__components_views_healthy_habits_HealthyHabitsForm__","__WEBPACK_IMPORTED_MODULE_3__components_views_healthy_habits_HealthyHabitsPredefined__","HealthyHabitsTable","HealthyHabitsForm","HealthyHabitsPredefined","this","getHealthyHabitsData","isRouteFromClinicHistory","window","scrollTo","backHealthyHabits","3432","__WEBPACK_IMPORTED_MODULE_0_babel_runtime_core_js_object_keys__","__WEBPACK_IMPORTED_MODULE_0_babel_runtime_core_js_object_keys___default","n","__WEBPACK_IMPORTED_MODULE_1_babel_runtime_helpers_extends__","__WEBPACK_IMPORTED_MODULE_1_babel_runtime_helpers_extends___default","__WEBPACK_IMPORTED_MODULE_2__helpers__","__WEBPACK_IMPORTED_MODULE_4__components_base_BaseModal__","__WEBPACK_IMPORTED_MODULE_5__components_base_forms_BaseInput__","__WEBPACK_IMPORTED_MODULE_6__components_base_buttons_BaseButton__","__WEBPACK_IMPORTED_MODULE_7__components_views_healthy_habits_HealthyHabitsForm__","__WEBPACK_IMPORTED_MODULE_8__mixins_healthyHabits_mixin__","__WEBPACK_IMPORTED_MODULE_9__constants_healthyHabits__","__WEBPACK_IMPORTED_MODULE_10__constants_colours__","__WEBPACK_IMPORTED_MODULE_11_bootstrap_vue__","__WEBPACK_IMPORTED_MODULE_12_sortablejs__","__WEBPACK_IMPORTED_MODULE_13__components_base_BaseDialog__","__WEBPACK_IMPORTED_MODULE_14__repositories_HealthyHabitsRepository__","__WEBPACK_IMPORTED_MODULE_15__helpers_date_helpers__","__WEBPACK_IMPORTED_MODULE_16_moment__","__WEBPACK_IMPORTED_MODULE_16_moment___default","name","directives","sortable","bind","el","_sortable","onEnd","event","oldIndex","newIndex","vNode","context","updateTableItemsOrder","BIcon","BTable","BRow","BCol","BProgress","BProgressBar","BaseModal","BaseInput","BaseButton","BPagination","BPopover","BFormCheckbox","BaseDialog","addEventListener","_this","$store","state","healthyHabits","table","minDate","Date","limitDate","setDate","getDate","tableNumberDaysVisible","updateHeaderFields","sortableOptions","chosenClass","swapThreshold","fallbackTolerance","delay","delayOnTouchOnly","popoverMultiUserInfo","nick","id","key","alertClickTimeout","newMeasurement","showTableInfoModal","showingSortOptions","showingSortDirection","currentSliderPosition","showConfirmDelete","itemId","grayColour","isMobileReduced","screen","width","tabletMobileVersion","currentMonthName","descriptionIconScale","isMobileBrowser","trAttributes","data","isCurentDate","tableSwipe","setting","invertedCalendarDays","maxDate","currentDate","getDataInInterval","response","getMultiUserClass","getMultiUserStyle","showMultiUserInfo","$root","$emit","undefined","itemValue","itemData","item","measurable","goal","$t","fillMultiUserTableMeasurablePartialGoalCompleted","goalFrequencyId","field","dates","dataKeys","filter","reduce","getProgressLabel","sortTableItems","habitModified","position","items","sort","getSliderCircleClass","circle","bestStreak","currentStreak","circle1Digit","circle2Digit","circle3Digit","circle4Digit","getSliderTotalPaddingTop","rowClick","habitUserId","isReadOnlyView","updatingItem","target","closest","targetName","checkValidDate","querySelector","getAttribute","parentElement","firstChild","itemSelectedId","itemSelected","date","fromCalendar","measureUnit","currentValue","newValue","showMeasurableInputModal","allowFreeDays","sendModifiedData","rowHovered","showActionButtons","rowUnhovered","addNewHabit","form","predefinedHabit","show","editHabit","editing","removeHabit","storeHabit","unStoreHabit","fillTableMeasurablePartialGoalCompleted","value","previous","minDateServer","prevDates","hideLoadingIcon","sliderClick","arrowDirection","showMoreSlider","4195","exports","content","i","locals","4196","push","4197","4198","4199","4200","ownKeys","object","enumerableOnly","keys","Object","getOwnPropertySymbols","symbols","sym","getOwnPropertyDescriptor","enumerable","apply","_objectSpread2","arguments","length","source","forEach","_defineProperty","getOwnPropertyDescriptors","defineProperties","defineProperty","_typeof","obj","Symbol","iterator","constructor","prototype","configurable","writable","_extends","assign","hasOwnProperty","call","_objectWithoutPropertiesLoose","excluded","sourceKeys","indexOf","_objectWithoutProperties","sourceSymbolKeys","propertyIsEnumerable","userAgent","pattern","navigator","match","on","fn","IE11OrLess","captureMode","off","removeEventListener","matches","selector","substring","msMatchesSelector","webkitMatchesSelector","_","getParentOrHost","host","document","nodeType","parentNode","ctx","includeCTX","toggleClass","classList","className","replace","R_SPACE","css","prop","val","style","defaultView","getComputedStyle","currentStyle","matrix","selfOnly","appliedTransforms","transform","matrixFn","DOMMatrix","WebKitCSSMatrix","CSSMatrix","MSCSSMatrix","find","tagName","list","getElementsByTagName","getWindowScrollingElement","scrollingElement","documentElement","getRect","relativeToContainingBlock","relativeToNonStaticParent","undoScale","container","getBoundingClientRect","elRect","top","left","bottom","right","height","innerHeight","innerWidth","containerRect","parseInt","elMatrix","scaleX","a","scaleY","d","isScrolledPast","elSide","parentSide","parent","getParentAutoScrollElement","elSideVal","parentSideVal","getChild","childNum","includeDragEl","currentChild","children","display","Sortable","ghost","dragged","draggable","lastChild","last","lastElementChild","previousElementSibling","index","nodeName","toUpperCase","clone","getRelativeScrollOffset","offsetLeft","offsetTop","winScroller","scrollLeft","scrollTop","indexOfObject","arr","Number","includeSelf","elem","gotSelf","clientWidth","scrollWidth","clientHeight","scrollHeight","elemCSS","overflowX","overflowY","body","extend","dst","src","isRectEqual","rect1","rect2","Math","round","throttle","callback","ms","_throttleTimeout","args","setTimeout","cancelThrottle","clearTimeout","scrollBy","x","y","Polymer","$","jQuery","Zepto","dom","cloneNode","AnimationStateManager","animationCallbackId","animationStates","captureAnimationState","animation","slice","child","rect","fromRect","thisAnimationDuration","childMatrix","f","e","addAnimationState","removeAnimationState","splice","animateAll","animating","animationTime","time","toRect","prevFromRect","prevToRect","animatingRect","targetMatrix","calculateRealTime","animate","max","animationResetTimer","currentRect","duration","translateX","translateY","animatingX","animatingY","forRepaintDummy","repaint","easing","animated","offsetWidth","sqrt","pow","dispatchEvent","_ref","rootEl","targetEl","cloneEl","toEl","fromEl","oldDraggableIndex","newDraggableIndex","originalEvent","putSortable","extraEventProperties","expando","evt","onName","charAt","substr","CustomEvent","Edge","createEvent","initEvent","bubbles","cancelable","to","from","pullMode","lastPutMode","allEventProperties","PluginManager","getEventProperties","option","_dispatchEvent","info","dragEl","concat","toString","defaults","group","disabled","store","handle","test","invertSwap","invertedSwapThreshold","removeCloneOnHide","direction","_detectDirection","ghostClass","dragClass","ignore","preventOnFilter","setData","dataTransfer","textContent","dropBubble","dragoverBubble","dataIdAttr","touchStartThreshold","devicePixelRatio","forceFallback","fallbackClass","fallbackOnBody","fallbackOffset","supportPointer","Safari","emptyInsertThreshold","initializePlugins","_prepareGroup","nativeDraggable","supportDraggable","_onTapStart","sortables","get","_globalDragOver","dropEffect","preventDefault","_onMove","dragRect","targetRect","willInsertAfter","retVal","onMoveFn","onMove","draggedRect","related","relatedRect","_disableDraggable","_unsilent","_silent","_ghostIsFirst","vertical","clientX","clientY","_ghostIsLast","_getSwapDirection","isLastTarget","mouseOnAxis","targetLength","targetS1","targetS2","invert","targetMoveDistance","pastFirstInvertThresh","lastDirection","_getInsertDirection","_generateId","str","href","sum","charCodeAt","_saveInputCheckedState","root","savedInputChecked","inputs","idx","checked","_nextTick","_cancelNextTick","AutoScrollPlugin","AutoScroll","scroll","forceAutoScrollFallback","scrollSensitivity","scrollSpeed","bubbleScroll","dragStarted","_handleAutoScroll","_handleFallbackAutoScroll","touches","dragOverCompleted","_ref2","dragOverBubble","drop","clearPointerElemChangedInterval","clearAutoScrolls","nulling","touchEvt$1","scrollRootEl","scrollEl","scrolling","pointerElemChangedInterval","lastAutoScrollX","lastAutoScrollY","autoScrolls","fallback","elementFromPoint","autoScroll","ogElemScroller","setInterval","newElem","pluginName","initializeByDefault","clearInterval","pid","Revert","Remove","parentEl","ghostEl","nextEl","lastDownEl","cloneHidden","activeGroup","tapEvt","touchEvt","lastDx","lastDy","tapDistanceLeft","tapDistanceTop","moved","lastTarget","ghostRelativeParent","FireFox","IOS","ChromeForAndroid","capture","passive","getTime","plugins","mount","plugin","p","pluginEvent","eventName","eventCanceled","cancel","eventNameGlobal","initialized","modified","modifyOption","eventProperties","modifiedValue","optionListeners","_excluded","activeSortable","active","hideGhostForTarget","_hideGhostForTarget","unhideGhostForTarget","_unhideGhostForTarget","cloneNowHidden","cloneNowShown","dispatchSortableEvent","awaitingDragStarted","ignoreNextClick","isCircumstantialInvert","ghostRelativeParentInitialScroll","documentExists","PositionGhostAbsolutely","CSSFloatProperty","createElement","supportCssPointerEvents","cssText","pointerEvents","elCSS","elWidth","paddingLeft","paddingRight","borderLeftWidth","borderRightWidth","child1","child2","firstChildCSS","secondChildCSS","firstChildWidth","marginLeft","marginRight","secondChildWidth","flexDirection","gridTemplateColumns","split","touchingSideChild2","clear","_dragElInRowColumn","dragElS1Opp","dragElS2Opp","dragElOppLength","targetS1Opp","targetS2Opp","targetOppLength","_detectNearestEmptySortable","ret","some","threshold","insideHorizontally","insideVertically","toFn","pull","sameGroup","otherGroup","join","originalGroup","checkPull","checkPut","put","revertClone","stopPropagation","stopImmediatePropagation","nearestEmptyInsertDetectEvent","nearest","_onDragOver","_checkOutsideTargetEl","_isOutsideThisEl","contains","_getDirection","type","touch","pointerType","originalTarget","shadowRoot","path","composedPath","button","isContentEditable","criteria","trim","_prepareDragStart","dragStartFn","ownerDocument","nextSibling","_lastX","_lastY","_onDrop","_disableDelayedDragEvents","_triggerDragStart","_disableDelayedDrag","_delayedDragTouchMoveHandler","_dragStartTimer","abs","floor","_onTouchMove","_onDragStart","selection","empty","getSelection","removeAllRanges","err","_dragStarted","_appendGhost","_nulling","_emulateDragOver","ghostMatrix","relativeScrollOffset","dx","dy","b","c","cssMatrix","appendChild","removeAttribute","_hideClone","cloneId","insertBefore","_loopId","effectAllowed","_dragStartId","dragOverEvent","extra","isOwner","axis","revert","canSort","fromSortable","completed","after","changed","insertion","_showClone","_ignoreWhileAnimating","completedFired","elLastChild","targetBeforeFirstSwap","differentLevel","differentRowCol","side1","scrolledPastTop","scrollBefore","sibling","dragIndex","nextElementSibling","moveVector","_offMoveEvents","_offUpEvents","removeChild","save","handleEvent","toArray","order","useAnimation","set","destroy","Array","querySelectorAll","utils","is","nextTick","cancelNextTick","detectDirection","element","_len","_key","create","version","isFallback","scrollCustomFn","sens","speed","scrollThisInstance","scrollFn","layersOut","currentParent","canScrollX","canScrollY","scrollPosX","scrollPosY","vx","vy","layer","scrollOffsetY","scrollOffsetX","toSortable","changedTouches","onSpill","startIndex","dragStart","_ref3","_ref4","parentSortable","4201","render","_vm","_h","$createElement","_c","_self","staticClass","class","mobileVersion","_v","_s","rawName","expression","arg","modifiers","attrs","fields","hover","small","scopedSlots","_u","click","$event","proxy","column","variant","scale","_e","getCurrentDateUtc","staticStyle","label","getDateNameFieldFormatted","getDateFieldFormatted","color","title","description","accumulatedGoal","cols","lg","stored","goalCompleted","$uiHelpers","getTotalCountWeek","getTotalCountMonth","total","getTotalCountYear","$router","params","isMultiUser","_l","multiUserInfo","healthyHabitsUserId","placement","hide","showTableLegendModal","width25","staticRenderFns","_withStripped","esExports","4202"],"mappings":"AAAAA,cAAc,IAERC,IACA,SAAUC,EAAQC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GAAMlyB,KACNmyB,EAAKD,EAAIE,eACTC,EAAKH,EAAII,MAAMD,IAAMF,CACzB,OAAOE,GACL,QAEGH,EAAI3uB,OAAOC,MAAMC,cAAciF,gBAChCwpB,EAAI3uB,OAAOC,MAAMC,cAAcC,MAAMmC,KAAKgC,OACiB,IAA3DqqB,EAAI3uB,OAAOC,MAAMC,cAAcC,MAAMmC,KAAKgC,MAAM8E,OAC5C0lB,EAAG,6BACHH,EAAI0B,KACR1B,EAAIQ,GAAG,KACPL,EAAG,yBAEL,IAGAoD,IACJxD,GAAOyD,eAAgB,CACvB,IAAIC,IAAc1D,OAAQA,EAAQwD,gBAAiBA,EACpC","file":"static-appopensalud/js/2.88c4a22b341ff0593df4.js","sourcesContent":["webpackJsonp([2],{\n\n/***/ 305:\n/***/ (function(module, __webpack_exports__, __webpack_require__) {\n\n\"use strict\";\nObject.defineProperty(__webpack_exports__, \"__esModule\", { value: true });\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__babel_loader_node_modules_vue_loader_lib_selector_type_script_index_0_HealthyHabits_vue__ = __webpack_require__(3431);\n/* empty harmony namespace reexport */\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__node_modules_vue_loader_lib_template_compiler_index_id_data_v_19657a8d_hasScoped_false_transformToRequire_video_src_poster_source_src_img_src_image_xlink_href_buble_transforms_node_modules_vue_loader_lib_selector_type_template_index_0_HealthyHabits_vue__ = __webpack_require__(4202);\nvar disposed = false\nfunction injectStyle (ssrContext) {\n if (disposed) return\n __webpack_require__(4195)\n}\nvar normalizeComponent = __webpack_require__(6)\n/* script */\n\n\n/* template */\n\n/* template functional */\nvar __vue_template_functional__ = false\n/* styles */\nvar __vue_styles__ = injectStyle\n/* scopeId */\nvar __vue_scopeId__ = null\n/* moduleIdentifier (server only) */\nvar __vue_module_identifier__ = null\nvar Component = normalizeComponent(\n __WEBPACK_IMPORTED_MODULE_0__babel_loader_node_modules_vue_loader_lib_selector_type_script_index_0_HealthyHabits_vue__[\"a\" /* default */],\n __WEBPACK_IMPORTED_MODULE_1__node_modules_vue_loader_lib_template_compiler_index_id_data_v_19657a8d_hasScoped_false_transformToRequire_video_src_poster_source_src_img_src_image_xlink_href_buble_transforms_node_modules_vue_loader_lib_selector_type_template_index_0_HealthyHabits_vue__[\"a\" /* default */],\n __vue_template_functional__,\n __vue_styles__,\n __vue_scopeId__,\n __vue_module_identifier__\n)\nComponent.options.__file = \"src/components/views/healthy-habits/HealthyHabits.vue\"\n\n/* hot reload */\nif (false) {(function () {\n var hotAPI = require(\"vue-hot-reload-api\")\n hotAPI.install(require(\"vue\"), false)\n if (!hotAPI.compatible) return\n module.hot.accept()\n if (!module.hot.data) {\n hotAPI.createRecord(\"data-v-19657a8d\", Component.options)\n } else {\n hotAPI.reload(\"data-v-19657a8d\", Component.options)\n }\n module.hot.dispose(function (data) {\n disposed = true\n })\n})()}\n\n/* harmony default export */ __webpack_exports__[\"default\"] = (Component.exports);\n\n\n/***/ }),\n\n/***/ 3431:\n/***/ (function(module, __webpack_exports__, __webpack_require__) {\n\n\"use strict\";\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__mixins_healthyHabits_mixin__ = __webpack_require__(289);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__components_views_healthy_habits_HealthyHabitsTable__ = __webpack_require__(4197);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__components_views_healthy_habits_HealthyHabitsForm__ = __webpack_require__(1264);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3__components_views_healthy_habits_HealthyHabitsPredefined__ = __webpack_require__(1300);\n//\n//\n//\n//\n//\n//\n//\n\n\n\n\n\n\n/* harmony default export */ __webpack_exports__[\"a\"] = ({\n name: 'healthyHabits',\n components: {\n HealthyHabitsTable: __WEBPACK_IMPORTED_MODULE_1__components_views_healthy_habits_HealthyHabitsTable__[\"a\" /* default */],\n HealthyHabitsForm: __WEBPACK_IMPORTED_MODULE_2__components_views_healthy_habits_HealthyHabitsForm__[\"a\" /* default */],\n HealthyHabitsPredefined: __WEBPACK_IMPORTED_MODULE_3__components_views_healthy_habits_HealthyHabitsPredefined__[\"a\" /* default */]\n },\n mixins: [__WEBPACK_IMPORTED_MODULE_0__mixins_healthyHabits_mixin__[\"a\" /* default */]],\n created: function created() {\n this.getHealthyHabitsData();\n },\n mounted: function mounted() {\n if (this.isRouteFromClinicHistory()) {\n this.$store.state.healthyHabits.form.show = true;\n }\n window.scrollTo(0, 0);\n },\n data: function data() {\n return {};\n },\n\n methods: {\n backHealthyHabits: function backHealthyHabits() {\n location.href = this.$helpers.getV2AppUrl('patient');\n }\n }\n});\n\n/***/ }),\n\n/***/ 3432:\n/***/ (function(module, __webpack_exports__, __webpack_require__) {\n\n\"use strict\";\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_babel_runtime_core_js_object_keys__ = __webpack_require__(98);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_babel_runtime_core_js_object_keys___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_0_babel_runtime_core_js_object_keys__);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_babel_runtime_helpers_extends__ = __webpack_require__(97);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_babel_runtime_helpers_extends___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_1_babel_runtime_helpers_extends__);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__helpers__ = __webpack_require__(523);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3__plugins_vue_touch__ = __webpack_require__(1301);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_4__components_base_BaseModal__ = __webpack_require__(58);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_5__components_base_forms_BaseInput__ = __webpack_require__(218);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_6__components_base_buttons_BaseButton__ = __webpack_require__(124);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_7__components_views_healthy_habits_HealthyHabitsForm__ = __webpack_require__(1264);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_8__mixins_healthyHabits_mixin__ = __webpack_require__(289);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_9__constants_healthyHabits__ = __webpack_require__(1276);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_10__constants_colours__ = __webpack_require__(46);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_11_bootstrap_vue__ = __webpack_require__(18);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_12_sortablejs__ = __webpack_require__(4200);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_13__components_base_BaseDialog__ = __webpack_require__(109);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_14__repositories_HealthyHabitsRepository__ = __webpack_require__(553);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_15__helpers_date_helpers__ = __webpack_require__(215);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_16_moment__ = __webpack_require__(3);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_16_moment___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_16_moment__);\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//\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//\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//\n//\n//\n//\n//\n//\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nvar TABLET_MOBILE_MAX_WIDTH = 991;\n\n/* harmony default export */ __webpack_exports__[\"a\"] = ({\n name: 'healthyHabitsTable',\n directives: {\n sortable: {\n name: 'sortable',\n bind: function bind(el, binding, vNode) {\n el._sortable = __WEBPACK_IMPORTED_MODULE_12_sortablejs__[\"a\" /* default */].create(el.querySelector('tbody'), __WEBPACK_IMPORTED_MODULE_1_babel_runtime_helpers_extends___default()({}, binding.value, {\n onEnd: function onEnd(event) {\n if (event.oldIndex !== event.newIndex) {\n vNode.context.updateTableItemsOrder(event.oldIndex, event.newIndex);\n }\n }\n }));\n }\n }\n },\n components: {\n BIcon: __WEBPACK_IMPORTED_MODULE_11_bootstrap_vue__[\"C\" /* BIcon */],\n BTable: __WEBPACK_IMPORTED_MODULE_11_bootstrap_vue__[\"_49\" /* BTable */],\n BRow: __WEBPACK_IMPORTED_MODULE_11_bootstrap_vue__[\"_45\" /* BRow */],\n BCol: __WEBPACK_IMPORTED_MODULE_11_bootstrap_vue__[\"i\" /* BCol */],\n BProgress: __WEBPACK_IMPORTED_MODULE_11_bootstrap_vue__[\"_43\" /* BProgress */],\n BProgressBar: __WEBPACK_IMPORTED_MODULE_11_bootstrap_vue__[\"_44\" /* BProgressBar */],\n BaseModal: __WEBPACK_IMPORTED_MODULE_4__components_base_BaseModal__[\"a\" /* default */],\n BaseInput: __WEBPACK_IMPORTED_MODULE_5__components_base_forms_BaseInput__[\"default\"],\n BaseButton: __WEBPACK_IMPORTED_MODULE_6__components_base_buttons_BaseButton__[\"default\"],\n BPagination: __WEBPACK_IMPORTED_MODULE_11_bootstrap_vue__[\"_41\" /* BPagination */],\n HealthyHabitsForm: __WEBPACK_IMPORTED_MODULE_7__components_views_healthy_habits_HealthyHabitsForm__[\"a\" /* default */],\n BPopover: __WEBPACK_IMPORTED_MODULE_11_bootstrap_vue__[\"_42\" /* BPopover */],\n BFormCheckbox: __WEBPACK_IMPORTED_MODULE_11_bootstrap_vue__[\"n\" /* BFormCheckbox */],\n BaseDialog: __WEBPACK_IMPORTED_MODULE_13__components_base_BaseDialog__[\"default\"]\n },\n created: function created() {\n var _this = this;\n window.addEventListener('resize', function () {\n var limitDate = _this.$store.state.healthyHabits.table.maxDate;\n _this.$store.state.healthyHabits.table.minDate = new Date(new Date(limitDate).setDate(limitDate.getDate() - _this.tableNumberDaysVisible() + 1));\n _this.updateHeaderFields();\n }, false);\n },\n\n mixins: [__WEBPACK_IMPORTED_MODULE_8__mixins_healthyHabits_mixin__[\"a\" /* default */]],\n data: function data() {\n return {\n sortableOptions: {\n chosenClass: 'is-selected',\n swapThreshold: 5,\n fallbackTolerance: 5,\n delay: 100,\n delayOnTouchOnly: true\n },\n popoverMultiUserInfo: {\n nick: null,\n state: null\n },\n id: null,\n key: 0,\n alertClickTimeout: null,\n newMeasurement: null,\n showTableInfoModal: false,\n showingSortOptions: false,\n showingSortDirection: false,\n currentSliderPosition: 1,\n showConfirmDelete: false,\n itemId: null\n };\n },\n\n computed: {\n grayColour: function grayColour() {\n return __WEBPACK_IMPORTED_MODULE_10__constants_colours__[\"e\" /* GRAY_400_COLOUR */];\n },\n isMobileReduced: function isMobileReduced() {\n return window.screen.width < 450;\n },\n isMobileBrowser: function isMobileBrowser() {\n return __WEBPACK_IMPORTED_MODULE_2__helpers__[\"a\" /* default */].isMobileBrowser();\n },\n tabletMobileVersion: function tabletMobileVersion() {\n return window.screen.width < TABLET_MOBILE_MAX_WIDTH;\n },\n currentMonthName: function currentMonthName() {\n return Object(__WEBPACK_IMPORTED_MODULE_15__helpers_date_helpers__[\"m\" /* getMonthName */])(this.$store.state.healthyHabits.table.maxDate);\n },\n descriptionIconScale: function descriptionIconScale() {\n return this.isMobileBrowser ? 1.2 : 1;\n }\n },\n methods: {\n trAttributes: function trAttributes(data) {\n if (data) {\n return { 'data-id': data.id };\n }\n },\n isCurentDate: function isCurentDate(date) {\n return __WEBPACK_IMPORTED_MODULE_16_moment___default()(date).format('L') === __WEBPACK_IMPORTED_MODULE_16_moment___default()().format('L');\n },\n tableSwipe: function tableSwipe(event) {\n var currentDate = this.getCurrentDateUtc();\n if (event === 'right' && (this.$store.state.healthyHabits.setting.invertedCalendarDays ? this.$store.state.healthyHabits.table.maxDate < currentDate : true)) {\n this.getDataInInterval(!this.$store.state.healthyHabits.setting.invertedCalendarDays);\n } else if (event === 'left' && (!this.$store.state.healthyHabits.setting.invertedCalendarDays ? this.$store.state.healthyHabits.table.maxDate < currentDate : true)) {\n this.getDataInInterval(this.$store.state.healthyHabits.setting.invertedCalendarDays);\n }\n },\n updateTableItemsOrder: function updateTableItemsOrder(oldIndex, newIndex) {\n var _this2 = this;\n\n __WEBPACK_IMPORTED_MODULE_14__repositories_HealthyHabitsRepository__[\"a\" /* default */].updateTableData({ oldIndex: oldIndex, newIndex: newIndex }).then(function (response) {\n if (response.data) {\n _this2.sortTableItems(oldIndex, newIndex);\n _this2.$store.state.healthyHabits.table.key++;\n } else {\n _this2.$store.dispatch('showDangerAlert', _this2.$t('defaultErrorMessage'));\n }\n });\n },\n getMultiUserClass: function getMultiUserClass(healthyHabitsUserId, date, itemData) {\n var value = healthyHabitsUserId === this.$store.state.healthyHabits.setting.habitUserId ? itemData.item[date] : itemData.item.multiUserData.find(function (d) {\n return d.healthyHabitsUserId === healthyHabitsUserId;\n }) ? itemData.item.multiUserData.find(function (d) {\n return d.healthyHabitsUserId === healthyHabitsUserId;\n })[date] : undefined;\n var isPassed = !itemData.item.measurable && value === null || itemData.item.measurable && value > 0 && value < itemData.item.goal;\n var isCompleted = !itemData.item.measurable && value === true || itemData.item.measurable && value >= itemData.item.goal;\n var isPartialCompleted = !isCompleted && (itemData.item.measurable && this.fillMultiUserTableMeasurablePartialGoalCompleted(itemData, healthyHabitsUserId) || !itemData.item.measurable && value === -1);\n var isEmpty = !isPassed && !isPartialCompleted && !isCompleted && !(!itemData.item.measurable && value === true || itemData.item.measurable && value >= itemData.item.goal);\n return { 'multiUserCellEmpty': isEmpty, 'linear-gradient ': isPassed, 'partial-fill-opacity': isPartialCompleted };\n },\n getMultiUserStyle: function getMultiUserStyle(healthyHabitsUserId, date, itemData) {\n var value = healthyHabitsUserId === this.$store.state.healthyHabits.setting.habitUserId ? itemData.item[date] : itemData.item.multiUserData.find(function (d) {\n return d.healthyHabitsUserId === healthyHabitsUserId;\n }) ? itemData.item.multiUserData.find(function (d) {\n return d.healthyHabitsUserId === healthyHabitsUserId;\n })[date] : undefined;\n var isCompleted = !itemData.item.measurable && value === true || itemData.item.measurable && value >= itemData.item.goal;\n var isPartialCompleted = !isCompleted && (itemData.item.measurable && this.fillMultiUserTableMeasurablePartialGoalCompleted(itemData, healthyHabitsUserId) || !itemData.item.measurable && value === -1);\n return { 'background-color': isCompleted || isPartialCompleted ? itemData.item.color : null };\n },\n showMultiUserInfo: function showMultiUserInfo(healthyHabitsUserId, date, nick, itemData) {\n this.$root.$emit('bv::hide::popover');\n var itemValue = itemData.item.multiUserData.find(function (d) {\n return d.healthyHabitsUserId === healthyHabitsUserId;\n }) ? itemData.item.multiUserData.find(function (d) {\n return d.healthyHabitsUserId === healthyHabitsUserId;\n })[date] : undefined;\n this.popoverMultiUserInfo.nick = nick;\n if (itemValue !== undefined) {\n this.popoverMultiUserInfo.nick = nick;\n if (!itemData.item.measurable) {\n this.popoverMultiUserInfo.state = itemValue === true ? this.$t('multiUserCompleted') : itemValue === -1 ? this.$t('multiUserPartialCompleted') : itemValue === null ? this.$t('multiUserDayFree') : this.$t('multiUserUncompleted');\n } else {\n this.popoverMultiUserInfo.state = itemValue >= itemData.item.goal ? this.$t('multiUserMeasurableCompleted', { value: itemValue, unit: itemData.item.measureUnit }) : itemValue > 0 && itemValue < itemData.item.goal ? this.$t('multiUserMeasurablePartialCompleted', { value: itemValue, unit: itemData.item.measureUnit, goal: itemData.item.goal }) : this.$t('multiUserUncompleted');\n }\n this.$root.$emit('bv::show::popover', itemData.id + '-' + healthyHabitsUserId + '-' + date);\n } else if (this.fillMultiUserTableMeasurablePartialGoalCompleted(itemData, healthyHabitsUserId)) {\n this.popoverMultiUserInfo.state = this.$t('multiUserPartialCompleted');\n } else {\n this.popoverMultiUserInfo.state = this.$t('multiUserUncompleted');\n }\n },\n fillMultiUserTableMeasurablePartialGoalCompleted: function fillMultiUserTableMeasurablePartialGoalCompleted(data, healthyHabitsUserId) {\n var _this3 = this;\n\n var item = healthyHabitsUserId === this.$store.state.healthyHabits.setting.habitUserId ? data.item : data.item.multiUserData.find(function (d) {\n return d.healthyHabitsUserId === healthyHabitsUserId;\n });\n if (item === undefined) {\n return false;\n }\n var dataKeys = __WEBPACK_IMPORTED_MODULE_0_babel_runtime_core_js_object_keys___default()(item);\n var dates = [];\n if (data.item.goalFrequencyId === __WEBPACK_IMPORTED_MODULE_9__constants_healthyHabits__[\"a\" /* DAILY_GOAL */]) {\n return data.item.goal <= item[data.field.key];\n }\n if (data.item.goalFrequencyId === __WEBPACK_IMPORTED_MODULE_9__constants_healthyHabits__[\"c\" /* WEEKLY_GOAL */]) {\n dates = dataKeys.filter(function (key) {\n return _this3.checkValidDate(key) && _this3.getDatesOfWeekFromDate(data.field.key).some(function (item) {\n return item === key;\n });\n });\n return dates.reduce(function (acc, date) {\n return acc + (item[date] > 0 ? item[date] : 0);\n }, 0) >= data.item.goal;\n }\n if (data.item.goalFrequencyId === __WEBPACK_IMPORTED_MODULE_9__constants_healthyHabits__[\"b\" /* MONTHLY_GOAL */]) {\n var currentMonth = new Date(data.field.key).getMonth() + 1;\n dates = dataKeys.filter(function (key) {\n return _this3.checkValidDate(key) && currentMonth === parseFloat(key.split('-')[1]);\n });\n return dates.reduce(function (acc, date) {\n return acc + (item[date] > 0 ? item[date] : 0);\n }, 0) >= data.item.goal;\n }\n },\n getProgressLabel: function getProgressLabel(data) {\n return '= data.item.goal ? 'green' : '') + '\">' + Math.round(data.item.accumulatedGoal / data.item.goal * 100) + '% ' + this.getFrequencyName(data.item.goalFrequencyId) + '';\n },\n sortTableItems: function sortTableItems(oldIndex, newIndex) {\n var habitModified = this.$store.state.healthyHabits.table.data.items[oldIndex];\n habitModified.position = newIndex;\n this.$store.state.healthyHabits.table.data.items.filter(function (h) {\n return h.id !== habitModified.id;\n }).forEach(function (item) {\n if (oldIndex < newIndex) {\n item.position = item.position > oldIndex && item.position <= newIndex ? --item.position : item.position;\n } else {\n item.position = item.position < oldIndex && item.position >= newIndex ? ++item.position : item.position;\n }\n });\n this.$store.state.healthyHabits.table.data.items.sort(function (a, b) {\n return a.position - b.position;\n });\n },\n getSliderCircleClass: function getSliderCircleClass(item, position) {\n var circle = false;\n var circle1Digit = false;\n var circle2Digit = false;\n var circle3Digit = false;\n var circle4Digit = false;\n if (position === 1) {\n circle = item.bestStreak > 0 && item.currentStreak > 0;\n circle1Digit = item.currentStreak >= 0 && item.currentStreak < 10;\n circle2Digit = item.currentStreak >= 10 && item.currentStreak < 100;\n circle3Digit = item.currentStreak >= 100 && item.currentStreak < 1000;\n circle4Digit = item.currentStreak >= 1000 && item.currentStreak < 10000;\n } else if (position === 2) {\n circle = item.bestStreak > 0 && item.currentStreak >= item.bestStreak;\n circle1Digit = item.bestStreak >= 0 && item.bestStreak < 10;\n circle2Digit = item.bestStreak >= 10 && item.bestStreak < 100;\n circle3Digit = item.bestStreak >= 100 && item.bestStreak < 1000;\n circle4Digit = item.bestStreak >= 1000 && item.bestStreak < 10000;\n }\n return { circle: circle, 'circle-1-digit': circle1Digit, 'circle-2-digit': circle2Digit, 'circle-3-digit': circle3Digit, 'circle-4-digit': circle4Digit };\n },\n getSliderTotalPaddingTop: function getSliderTotalPaddingTop(item) {\n return item.bestStreak >= 0 && item.bestStreak < 10 ? '0.2em' : item.bestStreak >= 10 && item.bestStreak < 100 ? '0.2em' : item.bestStreak >= 100 && item.bestStreak < 1000 ? '0.4em' : '0.5em';\n },\n rowClick: function rowClick(item, index, event) {\n var targetName = event.target.getAttribute('name');\n var habitUserId = event.target.getAttribute('id');\n if (habitUserId && habitUserId !== this.$store.state.healthyHabits.setting.habitUserId) {\n return;\n }\n\n if (this.$store.state.healthyHabits.isReadOnlyView || this.$store.state.healthyHabits.table.updatingItem || event.target.closest('div[name=\"description\"]') || event.target.closest('div[name=\"slider\"]')) {\n return;\n }\n if (!targetName) {\n if (item.measurable) {\n targetName = this.checkValidDate(event.target.querySelector('span').getAttribute('name')) ? event.target.querySelector('span').getAttribute('name') : null;\n } else {\n targetName = event.target.parentElement.parentElement.getAttribute('name');\n }\n }\n targetName = targetName || (event.target.firstChild && event.target.firstChild.getAttribute('name') && this.checkValidDate(event.target.firstChild.getAttribute('name')) ? event.target.firstChild.getAttribute('name') : null);\n if (!targetName) return;\n\n var itemValue = this.$store.state.healthyHabits.table.data.items[index][targetName];\n this.$store.state.healthyHabits.table.itemSelectedId = item.id;\n this.$store.state.healthyHabits.itemSelected.date = targetName;\n this.$store.state.healthyHabits.itemSelected.fromCalendar = false;\n if (item.measurable) {\n this.$store.state.healthyHabits.itemSelected.measureUnit = item.measureUnit;\n this.$store.state.healthyHabits.itemSelected.currentValue = itemValue || 0;\n this.$store.state.healthyHabits.itemSelected.newValue = itemValue;\n this.$store.state.healthyHabits.showMeasurableInputModal = true;\n } else {\n /*eslint-disable*/\n if (this.$store.state.healthyHabits.setting.allowFreeDays) {\n this.$store.state.healthyHabits.itemSelected.newValue = itemValue === true ? null : itemValue === null ? false : true;\n } else {\n this.$store.state.healthyHabits.itemSelected.newValue = !itemValue || itemValue === -1 ? true : false;\n }\n this.sendModifiedData();\n }\n },\n rowHovered: function rowHovered(item, index, event) {\n item.showActionButtons = true;\n },\n rowUnhovered: function rowUnhovered(item, index, event) {\n item.showActionButtons = false;\n },\n addNewHabit: function addNewHabit() {\n /* if (this.$store.state.healthyHabits.table.data.items.length >= 10) {\r\n this.$store.dispatch('showInfoAlert', this.$t('maxhealthyHabitsReached'))\r\n return\r\n } */\n this.$store.state.healthyHabits.form.predefinedHabit = null;\n this.$store.state.healthyHabits.form.show = true;\n },\n editHabit: function editHabit(itemId) {\n this.$store.state.healthyHabits.form.predefinedHabit = null;\n this.$store.state.healthyHabits.table.itemSelectedId = itemId;\n this.$store.state.healthyHabits.form.editing = true;\n this.$store.state.healthyHabits.form.show = true;\n },\n removeHabit: function removeHabit() {\n var _this4 = this;\n\n __WEBPACK_IMPORTED_MODULE_14__repositories_HealthyHabitsRepository__[\"a\" /* default */].removeTableData({ data: { itemId: this.itemId } }).then(function (response) {\n if (response.data) {\n _this4.$store.dispatch('showSuccessAlert', _this4.$t('changesPerformedCorrectly'));\n _this4.getHealthyHabitsData();\n } else {\n _this4.$store.dispatch('showDangerAlert', _this4.$t('defaultErrorMessage'));\n }\n _this4.showConfirmDelete = false;\n });\n },\n storeHabit: function storeHabit() {\n var _this5 = this;\n\n __WEBPACK_IMPORTED_MODULE_14__repositories_HealthyHabitsRepository__[\"a\" /* default */].removeTableData({ data: { itemId: this.itemId, store: true } }).then(function (response) {\n if (response.data) {\n _this5.$store.dispatch('showSuccessAlert', _this5.$t('changesPerformedCorrectly'));\n _this5.getHealthyHabitsData();\n } else {\n _this5.$store.dispatch('showDangerAlert', _this5.$t('defaultErrorMessage'));\n }\n _this5.showConfirmDelete = false;\n });\n },\n unStoreHabit: function unStoreHabit() {\n var _this6 = this;\n\n __WEBPACK_IMPORTED_MODULE_14__repositories_HealthyHabitsRepository__[\"a\" /* default */].removeTableData({ data: { itemId: this.itemId, unStore: true } }).then(function (response) {\n if (response.data) {\n _this6.$store.dispatch('showSuccessAlert', _this6.$t('changesPerformedCorrectly'));\n _this6.getHealthyHabitsData();\n } else {\n _this6.$store.dispatch('showDangerAlert', _this6.$t('defaultErrorMessage'));\n }\n _this6.showConfirmDelete = false;\n });\n },\n fillTableMeasurablePartialGoalCompleted: function fillTableMeasurablePartialGoalCompleted(data) {\n var _this7 = this;\n\n var dataKeys = __WEBPACK_IMPORTED_MODULE_0_babel_runtime_core_js_object_keys___default()(data.item);\n var dates = [];\n if (data.item.goalFrequencyId === __WEBPACK_IMPORTED_MODULE_9__constants_healthyHabits__[\"a\" /* DAILY_GOAL */]) {\n return data.item.goal <= data.value;\n }\n if (data.item.goalFrequencyId === __WEBPACK_IMPORTED_MODULE_9__constants_healthyHabits__[\"c\" /* WEEKLY_GOAL */]) {\n dates = dataKeys.filter(function (key) {\n return _this7.checkValidDate(key) && _this7.getDatesOfWeekFromDate(data.field.key).some(function (item) {\n return item === key;\n });\n });\n return dates.reduce(function (acc, date) {\n return acc + data.item[date];\n }, 0) >= data.item.goal;\n }\n if (data.item.goalFrequencyId === __WEBPACK_IMPORTED_MODULE_9__constants_healthyHabits__[\"b\" /* MONTHLY_GOAL */]) {\n var currentMonth = new Date(data.field.key).getMonth() + 1;\n dates = dataKeys.filter(function (key) {\n return _this7.checkValidDate(key) && currentMonth === parseFloat(key.split('-')[1]);\n });\n return dates.reduce(function (acc, date) {\n return acc + data.item[date];\n }, 0) >= data.item.goal;\n }\n },\n getDataInInterval: function getDataInInterval(previous) {\n if (previous) {\n var limitDate = new Date(this.$store.state.healthyHabits.table.minDate);\n this.$store.state.healthyHabits.table.minDate = new Date(new Date(limitDate).setDate(limitDate.getDate() - this.tableNumberDaysVisible()));\n this.$store.state.healthyHabits.table.maxDate = new Date(new Date(limitDate).setDate(limitDate.getDate() - 1));\n } else {\n var _limitDate = new Date(this.$store.state.healthyHabits.table.maxDate);\n this.$store.state.healthyHabits.table.minDate = new Date(new Date(_limitDate).setDate(_limitDate.getDate() + 1));\n this.$store.state.healthyHabits.table.maxDate = new Date(new Date(_limitDate).setDate(_limitDate.getDate() + this.tableNumberDaysVisible()));\n }\n if (this.$store.state.healthyHabits.table.minDate < this.$store.state.healthyHabits.table.minDateServer) {\n this.$store.state.healthyHabits.table.limitDate = this.$store.state.healthyHabits.table.minDateServer;\n this.$store.state.healthyHabits.table.prevDates = true;\n this.$store.state.healthyHabits.hideLoadingIcon = true;\n this.getHealthyHabitsData(null, true);\n this.updateHeaderFields();\n } else {\n this.updateHeaderFields();\n }\n },\n\n /*\r\n showSortOptions () {\r\n this.showingSortOptions = true\r\n },\r\n setSort (field) {\r\n this.$store.state.healthyHabits.table.setting.sortField = field\r\n this.showingSortOptions = false\r\n this.showingSortDirection = true\r\n // send data to server\r\n },\r\n setSortDirection (descending) {\r\n // send data to server\r\n this.$store.state.healthyHabits.table.setting.sortDescending = descending\r\n this.showingSortDirection = false\r\n this.showingSortOptions = false\r\n this.$root.$emit('bv::hide::popover')\r\n }, */\n sliderClick: function sliderClick(arrowDirection) {\n if (arrowDirection === 0) {\n this.currentSliderPosition = this.currentSliderPosition === 1 ? 3 : this.currentSliderPosition === 3 ? 2 : 1;\n } else if (arrowDirection === 1) {\n this.currentSliderPosition = this.currentSliderPosition === 1 ? 2 : this.currentSliderPosition === 2 ? 3 : 1;\n }\n },\n showMoreSlider: function showMoreSlider() {\n this.currentSliderPosition = this.currentSliderPosition === 1 ? 2 : this.currentSliderPosition === 2 ? 3 : 1;\n }\n },\n mounted: function mounted() {\n if (this.$route.params.healthyHabitPreselectedId) {\n this.$store.state.healthyHabits.historyPatientId = this.$route.params.historyPatientId;\n var _this = this;\n setTimeout(function () {\n if (document.querySelectorAll('tr[data-id=\"' + _this.$route.params.healthyHabitPreselectedId + '\"]')[0]) {\n document.querySelectorAll('tr[data-id=\"' + _this.$route.params.healthyHabitPreselectedId + '\"]')[0].classList.add(\"tr-background-fill\");\n setTimeout(function () {\n document.querySelectorAll('tr[data-id=\"' + _this.$route.params.healthyHabitPreselectedId + '\"]')[0].style['background-color'] = 'initial';\n setTimeout(function () {\n document.querySelectorAll('tr[data-id=\"' + _this.$route.params.healthyHabitPreselectedId + '\"]')[0].style.removeProperty(\"background-color\");\n document.querySelectorAll('tr[data-id=\"' + _this.$route.params.healthyHabitPreselectedId + '\"]')[0].classList.remove(\"tr-background-fill\");\n }, 1500);\n }, 2000);\n }\n }, 2000);\n }\n this.id = 'healthy-habits-table-' + __WEBPACK_IMPORTED_MODULE_2__helpers__[\"a\" /* default */].generateGuid();\n }\n});\n\n/***/ }),\n\n/***/ 4195:\n/***/ (function(module, exports, __webpack_require__) {\n\n// style-loader: Adds some css to the DOM by adding a \n\n\n// WEBPACK FOOTER //\n// src/components/views/healthy-habits/HealthyHabits.vue","\r\n\r\n\r\n\r\n\n\n\n// WEBPACK FOOTER //\n// src/components/views/healthy-habits/HealthyHabitsTable.vue","// style-loader: Adds some css to the DOM by adding a