{"version":3,"sources":["webpack:///static-appopensalud/js/7.482f54b123a01c5b8167.js","webpack:///src/components/views/healthy-community/HealthyCommunity.vue","webpack:///src/components/views/healthy-community/HealthyCommunityVerticalCard.vue","webpack:///./src/components/views/healthy-community/HealthyCommunity.vue?4f70","webpack:///./src/components/views/healthy-community/HealthyCommunity.vue?49b6","webpack:///./src/components/views/healthy-community/HealthyCommunityVerticalCard.vue","webpack:///./src/components/views/healthy-community/HealthyCommunityVerticalCard.vue?c940","webpack:///./src/components/views/healthy-community/HealthyCommunityVerticalCard.vue?8c3f","webpack:///./src/components/views/healthy-community/HealthyCommunityVerticalCard.vue?0cb3","webpack:///./src/components/views/healthy-community/HealthyCommunity.vue?2b9e","webpack:///./src/components/views/healthy-community/HealthyCommunity.vue"],"names":["webpackJsonp","3179","module","__webpack_exports__","__webpack_require__","__WEBPACK_IMPORTED_MODULE_0__components_base_buttons_BackButton__","__WEBPACK_IMPORTED_MODULE_1__mixins_forum_mixin__","__WEBPACK_IMPORTED_MODULE_2__components_views_healthy_community_HealthyCommunityVerticalCard__","__WEBPACK_IMPORTED_MODULE_3__constants_healthyCommunitySections__","name","mixins","components","HealthyCommunityVerticalCard","BackBtn","data","cardsSource","created","this","$store","state","forum","hideSearcher","entriesPageNumber","computed","cards","3180","__WEBPACK_IMPORTED_MODULE_0__mixins_forum_mixin__","__WEBPACK_IMPORTED_MODULE_1__components_base_ui_BaseCard__","__WEBPACK_IMPORTED_MODULE_2__components_base_buttons_BaseButton__","__WEBPACK_IMPORTED_MODULE_4_bootstrap_vue__","BaseCard","BaseButton","BBadge","props","path","String","soonLabel","Boolean","sectionId","img","title","description","onlySubscribers","blinkSoonLabelActive","blockEnabled","getters","methods","goToPath","logIn","getHealthyCommunityPathUrl","$router","push","getPendingPushNotificationsMessage","numberNotifications","$t","plural","showPendingNotificationBySection","showPushNotifications","goSection","pushNotificationsReaded","getForumPathBySectionId","showPendingPushNotificationsInLanding","userBasicInfo","pushNotificationsSectionId","filter","highlightSoonLabel","click","dispatch","3524","exports","content","i","locals","3525","3526","injectStyle","ssrContext","disposed","normalizeComponent","__vue_styles__","Component","options","__file","3527","3528","3529","render","_vm","_h","$createElement","_c","_self","staticClass","attrs","cols","xl","on","titleClass","class","isMobile","src","alt","height","width","color","_v","_s","domProps","innerHTML","staticStyle","$event","stopPropagation","white","_e","variant","blink","staticRenderFns","_withStripped","esExports","3530","_l","item","key","550"],"mappings":"AAAAA,cAAc,IAERC,KACA,SAAUC,EAAQC,EAAqBC,GAE7C,YACqB,IAAIC,GAAoED,EAAoB,MACxFE,EAAoDF,EAAoB,KACxEG,EAAiGH,EAAoB,MACrHI,EAAoEJ,EAAoB,ICMjH,MACEK,KAAM,oBACNC,QAAS,EAAX,GACEC,YACEC,6BAAJ,IACIC,QAAJ,KAEEC,KAPF,WAQI,OACEC,cAEE,MAAR,iBACQ,IAAR,mEACQ,YAAR,sCACQ,KAAR,gBACQ,UAAR,IACQ,iBAAR,EACQ,WAAR,IAUQ,MAAR,2BACQ,IAAR,mEACQ,YAAR,mCACQ,KAAR,kBACQ,UAAR,QAKEC,QApCF,WAqCIC,KAAKC,OAAOC,MAAMC,MAAMC,cAAe,EACvCJ,KAAKC,OAAOC,MAAMC,MAAME,kBAAoB,GAE9CC,UACEC,MADJ,WAEM,MAAOP,MAAKF,gBDgBZU,KACA,SAAUvB,EAAQC,EAAqBC,GAE7C,YACqB,IAAIsB,GAAoDtB,EAAoB,KACxEuB,EAA6DvB,EAAoB,KACjFwB,EAAoExB,EAAoB,KACxFI,EAAoEJ,EAAoB,KACxFyB,EAA8CzB,EAAoB,GEtD3F,MACIK,KAAM,kCACNC,QAAS,EAAb,GACIC,YACImB,SAAR,UACQC,WAAR,UACQC,OAAR,KAEIC,OACIC,KAAMC,OACNC,UAAWC,QACXC,UAAWH,OACXI,IAAKJ,OACLK,MAAOL,OACPM,YAAaN,OACbO,gBAAiBL,SAErBvB,KAjBJ,WAkBQ,OACI6B,sBAAsB,IAG9B3B,QAtBJ,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BA,EACpC,QR+VTG,KACA,SAAUrH,EAAQC,EAAqBC,GAE7C,YS9eA,IAAIkF,GAAS,WACX,GAAIC,GAAMtE,KACNuE,EAAKD,EAAIE,eACTC,EAAKH,EAAII,MAAMD,IAAMF,CACzB,OAAOE,GACL,OACEE,YAAa,wCAEbF,EAAG,MAAQE,YAAa,iCACtBL,EAAIkB,GAAGlB,EAAImB,GAAGnB,EAAIjC,GAAG,6BAEvBiC,EAAIkB,GAAG,KACPf,EACE,SACEE,YAAa,iCACfL,EAAIiC,GAAGjC,EAAI/D,MAAO,SAASiG,GACzB,MAAO/B,GAAG,mCACRgC,IAAKD,EAAKjF,MACVqD,OACE3D,KAAMuF,EAAKvF,KACXE,UAAWqF,EAAKrF,UAChBE,UAAWmF,EAAKnF,UAChBC,IAAKkF,EAAKlF,IACVC,MAAOiF,EAAKjF,MACZC,YAAagF,EAAKhF,YAClBC,gBAAiB+E,EAAK/E,qBAI5B,IAGJ,IAGA0E,IACJ9B,GAAO+B,eAAgB,CACvB,IAAIC,IAAchC,OAAQA,EAAQ8B,gBAAiBA,EACpC,QTyfTO,IACA,SAAUzH,EAAQC,EAAqBC,GAE7C,YUjiBA,SAASuE,GAAaC,GAChBC,GACJ,EAAQ,MAHV,yEAAIA,GAAW,EAKXC,EAAqB,EAAQ,GAS7BC,EAAiBJ,EAKjBK,EAAYF,EACd,IACA,KATgC,EAWhCC,EAPoB,KAEU,KAShCC,GAAUC,QAAQC,OAAS,8DAkBZ,UAAAF,EAAiB","file":"static-appopensalud/js/7.482f54b123a01c5b8167.js","sourcesContent":["webpackJsonp([7],{\n\n/***/ 3179:\n/***/ (function(module, __webpack_exports__, __webpack_require__) {\n\n\"use strict\";\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__components_base_buttons_BackButton__ = __webpack_require__(1256);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__mixins_forum_mixin__ = __webpack_require__(160);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__components_views_healthy_community_HealthyCommunityVerticalCard__ = __webpack_require__(3526);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3__constants_healthyCommunitySections__ = __webpack_require__(295);\n//\n//\n//\n//\n//\n//\n//\n//\n//\n\n\n\n\n\n\n/* harmony default export */ __webpack_exports__[\"a\"] = ({\n name: 'healthy-community',\n mixins: [__WEBPACK_IMPORTED_MODULE_1__mixins_forum_mixin__[\"a\" /* default */]],\n components: {\n HealthyCommunityVerticalCard: __WEBPACK_IMPORTED_MODULE_2__components_views_healthy_community_HealthyCommunityVerticalCard__[\"a\" /* default */],\n BackBtn: __WEBPACK_IMPORTED_MODULE_0__components_base_buttons_BackButton__[\"a\" /* default */]\n },\n data: function data() {\n return {\n cardsSource: [{\n title: this.$t('whoIn'),\n img: '/static-appopensalud/img/healthy-community/who-in-simplified.svg',\n description: '' + this.$t('whoInSectionDescription'),\n path: 'quienseapunta',\n sectionId: __WEBPACK_IMPORTED_MODULE_3__constants_healthyCommunitySections__[\"d\" /* WHO_IN_HEALTH_COMMUNITY_SECTION */],\n onlySubscribers: true,\n soonLabel: true\n },\n /* {\r\n title: this.$t('healthyInformation'),\r\n img: '/static-appopensalud/img/healthy-community/healthy-information.svg',\r\n description: `${this.$t('healthyInformationSectionDescription')}`,\r\n path: 'informacionsalud',\r\n sectionId: HEALTHY_INFORMATION_HEALTH_COMMUNITY_SECTION\r\n }, */\n {\n title: this.$t('patientsLikeYou'),\n img: '/static-appopensalud/img/healthy-community/patients-like-you.svg',\n description: this.$t('forumSectionDescription'),\n path: 'pacientescomotu',\n sectionId: __WEBPACK_IMPORTED_MODULE_3__constants_healthyCommunitySections__[\"a\" /* FORUM_HEALTH_COMMUNITY_SECTION */]\n }]\n };\n },\n created: function created() {\n this.$store.state.forum.hideSearcher = true;\n this.$store.state.forum.entriesPageNumber = 0;\n },\n\n computed: {\n cards: function cards() {\n return this.cardsSource;\n }\n }\n});\n\n/***/ }),\n\n/***/ 3180:\n/***/ (function(module, __webpack_exports__, __webpack_require__) {\n\n\"use strict\";\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__mixins_forum_mixin__ = __webpack_require__(160);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__components_base_ui_BaseCard__ = __webpack_require__(281);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__components_base_buttons_BaseButton__ = __webpack_require__(124);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3__constants_healthyCommunitySections__ = __webpack_require__(295);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_4_bootstrap_vue__ = __webpack_require__(18);\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/* harmony default export */ __webpack_exports__[\"a\"] = ({\n name: 'healthy-community-vertical-card',\n mixins: [__WEBPACK_IMPORTED_MODULE_0__mixins_forum_mixin__[\"a\" /* default */]],\n components: {\n BaseCard: __WEBPACK_IMPORTED_MODULE_1__components_base_ui_BaseCard__[\"default\"],\n BaseButton: __WEBPACK_IMPORTED_MODULE_2__components_base_buttons_BaseButton__[\"default\"],\n BBadge: __WEBPACK_IMPORTED_MODULE_4_bootstrap_vue__[\"b\" /* BBadge */]\n },\n props: {\n path: String,\n soonLabel: Boolean,\n sectionId: String,\n img: String,\n title: String,\n description: String,\n onlySubscribers: Boolean\n },\n data: function data() {\n return {\n blinkSoonLabelActive: false\n };\n },\n created: function created() {\n this.$store.state.forum.sectionId = null;\n },\n\n computed: {\n blockEnabled: function blockEnabled() {\n return this.onlySubscribers ? this.$store.getters['session/healthyCommunityActive'] : true;\n }\n },\n methods: {\n goToPath: function goToPath(sectionId) {\n if (!this.$store.getters['session/isLogged'] && (sectionId === __WEBPACK_IMPORTED_MODULE_3__constants_healthyCommunitySections__[\"b\" /* HEALTHY_INFORMATION_HEALTH_COMMUNITY_SECTION */] || sectionId === __WEBPACK_IMPORTED_MODULE_3__constants_healthyCommunitySections__[\"d\" /* WHO_IN_HEALTH_COMMUNITY_SECTION */])) {\n this.logIn(this.getHealthyCommunityPathUrl(this.path));\n return;\n }\n this.$router.push(this.getHealthyCommunityPathUrl(this.path));\n },\n getPendingPushNotificationsMessage: function getPendingPushNotificationsMessage(sectionId) {\n var numberNotifications = this.$store.state.forum.userBasicInfo.pushNotificationsSectionId.filter(function (x) {\n return x === sectionId;\n }).length;\n if (numberNotifications === 1) {\n return this.$t('newPushNotifications', { plural: '', numberNotifications: numberNotifications });\n } else if (numberNotifications > 1) {\n return this.$t('newPushNotifications', { plural: 's', numberNotifications: numberNotifications });\n }\n },\n showPendingNotificationBySection: function showPendingNotificationBySection(sectionId) {\n this.showPushNotifications(sectionId);\n },\n goSection: function goSection(sectionId) {\n this.pushNotificationsReaded(sectionId);\n this.$router.push(this.getHealthyCommunityPathUrl(this.getForumPathBySectionId(sectionId)));\n },\n showPendingPushNotificationsInLanding: function showPendingPushNotificationsInLanding(sectionId) {\n return this.$store.state.forum.userBasicInfo.pushNotificationsSectionId.filter(function (x) {\n return x === sectionId;\n }).length > 0;\n },\n highlightSoonLabel: function highlightSoonLabel() {\n var _this = this;\n\n this.blinkSoonLabelActive = true;\n setTimeout(function () {\n _this.blinkSoonLabelActive = false;\n }, 4000);\n },\n click: function click() {\n if (this.soonLabel) {\n this.highlightSoonLabel();\n } else if (!this.blockEnabled) {\n this.$store.dispatch('showSharedDialog', {\n content: this.$t('only-subscriptors-warning'),\n okBtnText: this.$t('dialog.ok-button'),\n size: 'sm'\n });\n } else {\n this.goToPath(this.sectionId);\n }\n }\n }\n});\n\n/***/ }),\n\n/***/ 3524:\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-community/HealthyCommunity.vue","\r\n\r\n\r\n\r\n\n\n\n// WEBPACK FOOTER //\n// src/components/views/healthy-community/HealthyCommunityVerticalCard.vue","// style-loader: Adds some css to the DOM by adding a