{"version":3,"sources":["webpack:///./src/@core/utils/filter.js","webpack:///./src/views/pages/blog/BlogList.vue?1495","webpack:///./src/@core/layouts/components/content-with-sidebar/ContentWithSidebar.vue?cd11","webpack:///src/@core/layouts/components/content-with-sidebar/ContentWithSidebar.vue","webpack:///./src/@core/layouts/components/content-with-sidebar/ContentWithSidebar.vue?c77e","webpack:///./src/@core/layouts/components/content-with-sidebar/ContentWithSidebar.vue","webpack:///./src/@core/utils/utils.js","webpack:///./src/views/pages/blog/BlogList.vue?9461","webpack:///src/views/pages/blog/BlogList.vue","webpack:///./src/views/pages/blog/BlogList.vue?f912","webpack:///./src/views/pages/blog/BlogList.vue","webpack:///./src/@core/layouts/components/content-with-sidebar/ContentWithSidebar.vue?42c9"],"names":["kFormatter","num","toFixed","title","value","replacer","str","toString","arr","split","capitalizedArray","forEach","word","capitalized","charAt","toUpperCase","slice","push","join","avatarText","nameArray","map","formatDate","formatting","month","day","year","Intl","DateTimeFormat","format","Date","formatDateToMonthShort","toTimeForCurrentDay","date","isToday","hour","minute","filterTags","replace","render","_vm","this","_h","$createElement","_c","_self","staticClass","_t","staticRenderFns","component","isObject","obj","today","getDate","getMonth","getFullYear","isDynamicRouteActive","route","resolvedRoute","router","resolve","path","currentRoute","useRouter","vm","getCurrentInstance","proxy","state","reactive","$route","watch","r","toRefs","$router","showToast","type","message","Vue","$toast","ToastificationContent","props","icon","variant","removeAccents","normalize","_l","blog","key","img","attrs","name","params","id","_v","_s","avatar","userFullName","blogPosted","tag","index","tagsColor","excerpt","comment","rows","scopedSlots","_u","fn","model","callback","$$v","currentPage","expression","slot","search_query","blogSidebar","recentpost","class","createdTime","category","components","BRow","BCol","BCard","BFormInput","BCardText","BCardBody","BCardTitle","BMedia","BAvatar","BMediaAside","BMediaBody","BLink","BBadge","BFormGroup","BInputGroup","BInputGroupAppend","BImg","BPagination","ContentWithSidebar","data","blogList","perPage","created","$http","get","then","res","methods"],"mappings":"kHAAA,4NAEO,MAAMA,EAAaC,GAAQA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AAAA,EAAA,aACA,WAAAA,EAAA,eACA,YAAAA,EAAA,gBACA,UAAAA,EAAA,gBACA,SAAAA,EAAA,gBACA,mBC/QgX,I,wBCQ5WjD,EAAY,eACd,EACAV,EACAS,GACA,EACA,KACA,KACA,MAIa,aAAAC,E,2CCnBf","file":"js/chunk-e404dfb4.bee220bc.js","sourcesContent":["import { isToday } from './utils'\r\n\r\nexport const kFormatter = num => (num > 999 ? `${(num / 1000).toFixed(1)}k` : num)\r\n\r\nexport const title = (value, replacer = ' ') => {\r\n if (!value) return ''\r\n const str = value.toString()\r\n\r\n const arr = str.split(replacer)\r\n const capitalizedArray = []\r\n arr.forEach(word => {\r\n const capitalized = word.charAt(0).toUpperCase() + word.slice(1)\r\n capitalizedArray.push(capitalized)\r\n })\r\n return capitalizedArray.join(' ')\r\n}\r\n\r\nexport const avatarText = value => {\r\n if (!value) return ''\r\n const nameArray = value.split(' ')\r\n return nameArray.map(word => word.charAt(0).toUpperCase()).join('')\r\n}\r\n\r\n/**\r\n * Format and return date in Humanize format\r\n * Intl docs: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl/DateTimeFormat/format\r\n * Intl Constructor: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl/DateTimeFormat/DateTimeFormat\r\n * @param {String} value date to format\r\n * @param {Object} formatting Intl object to format with\r\n */\r\nexport const formatDate = (value, formatting = { month: 'short', day: 'numeric', year: 'numeric' }) => {\r\n if (!value) return value\r\n return new Intl.DateTimeFormat('en-US', formatting).format(new Date(value))\r\n}\r\n\r\n/**\r\n * Return short human friendly month representation of date\r\n * Can also convert date to only time if date is of today (Better UX)\r\n * @param {String} value date to format\r\n * @param {Boolean} toTimeForCurrentDay Shall convert to time if day is today/current\r\n */\r\nexport const formatDateToMonthShort = (value, toTimeForCurrentDay = true) => {\r\n const date = new Date(value)\r\n let formatting = { month: 'short', day: 'numeric' }\r\n\r\n if (toTimeForCurrentDay && isToday(date)) {\r\n formatting = { hour: 'numeric', minute: 'numeric' }\r\n }\r\n\r\n return new Intl.DateTimeFormat('en-US', formatting).format(new Date(value))\r\n}\r\n\r\n// Strip all the tags from markup and return plain text\r\nexport const filterTags = value => value.replace(/<\\/?[^>]+(>|$)/g, '')\r\n","export * from \"-!../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--9-oneOf-1-0!../../../../node_modules/css-loader/dist/cjs.js??ref--9-oneOf-1-1!../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../node_modules/postcss-loader/src/index.js??ref--9-oneOf-1-2!../../../../node_modules/sass-loader/dist/cjs.js??ref--9-oneOf-1-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./BlogList.vue?vue&type=style&index=0&id=62a613b6&prod&lang=scss&\"","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"cws-container cws-sidebar-right\"},[_c('div',{staticClass:\"cws-content\"},[_vm._t(\"default\")],2),_c('div',{staticClass:\"cws-sidebar\"},[_vm._t(\"sidebar\")],2)])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\r\n\r\n\r\n\r\n\r\n","import mod from \"-!../../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../node_modules/babel-loader/lib/index.js!../../../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./ContentWithSidebar.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../node_modules/babel-loader/lib/index.js!../../../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./ContentWithSidebar.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./ContentWithSidebar.vue?vue&type=template&id=496afbf7&\"\nimport script from \"./ContentWithSidebar.vue?vue&type=script&lang=js&\"\nexport * from \"./ContentWithSidebar.vue?vue&type=script&lang=js&\"\nimport style0 from \"./ContentWithSidebar.vue?vue&type=style&index=0&id=496afbf7&prod&lang=scss&\"\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","import Vue from 'vue';\r\nimport router from '@/router';\r\n// eslint-disable-next-line object-curly-newline\r\nimport {\r\n reactive,\r\n getCurrentInstance,\r\n watch,\r\n toRefs,\r\n} from '@vue/composition-api';\r\n\r\nimport ToastificationContent from '@core/components/toastification/ToastificationContent.vue';\r\n\r\nexport const isObject = (obj) => typeof obj === 'object' && obj !== null;\r\n\r\nexport const isToday = (date) => {\r\n const today = new Date();\r\n return (\r\n /* eslint-disable operator-linebreak */\r\n date.getDate() === today.getDate() &&\r\n date.getMonth() === today.getMonth() &&\r\n date.getFullYear() === today.getFullYear()\r\n /* eslint-enable */\r\n );\r\n};\r\n\r\nconst getRandomFromArray = (array) =>\r\n array[Math.floor(Math.random() * array.length)];\r\n\r\n// ? Light and Dark variant is not included\r\n// prettier-ignore\r\nexport const getRandomBsVariant = () => getRandomFromArray(['primary', 'secondary', 'success', 'warning', 'danger', 'info'])\r\n\r\nexport const isDynamicRouteActive = (route) => {\r\n const { route: resolvedRoute } = router.resolve(route);\r\n return resolvedRoute.path === router.currentRoute.path;\r\n};\r\n\r\n// Thanks: https://medium.com/better-programming/reactive-vue-routes-with-the-composition-api-18c1abd878d1\r\nexport const useRouter = () => {\r\n const vm = getCurrentInstance().proxy;\r\n const state = reactive({\r\n route: vm.$route,\r\n });\r\n\r\n watch(\r\n () => vm.$route,\r\n (r) => {\r\n state.route = r;\r\n }\r\n );\r\n\r\n return { ...toRefs(state), router: vm.$router };\r\n};\r\n\r\n/**\r\n * This is just enhancement over Object.extend [Gives deep extend]\r\n * @param {target} a Object which contains values to be overridden\r\n * @param {source} b Object which contains values to override\r\n */\r\n// export const objectExtend = (a, b) => {\r\n// // Don't touch 'null' or 'undefined' objects.\r\n// if (a == null || b == null) {\r\n// return a\r\n// }\r\n\r\n// Object.keys(b).forEach(key => {\r\n// if (Object.prototype.toString.call(b[key]) === '[object Object]') {\r\n// if (Object.prototype.toString.call(a[key]) !== '[object Object]') {\r\n// // eslint-disable-next-line no-param-reassign\r\n// a[key] = b[key]\r\n// } else {\r\n// // eslint-disable-next-line no-param-reassign\r\n// a[key] = objectExtend(a[key], b[key])\r\n// }\r\n// } else {\r\n// // eslint-disable-next-line no-param-reassign\r\n// a[key] = b[key]\r\n// }\r\n// })\r\n\r\n// return a\r\n// }\r\n\r\nexport function showToast(type, message) {\r\n if (type == 'success') {\r\n Vue.$toast({\r\n component: ToastificationContent,\r\n props: {\r\n title: message,\r\n icon: 'ez_check',\r\n variant: 'success',\r\n },\r\n });\r\n } else {\r\n Vue.$toast({\r\n component: ToastificationContent,\r\n props: {\r\n title: message,\r\n icon: 'ez_error',\r\n variant: 'danger',\r\n },\r\n });\r\n }\r\n}\r\n\r\nexport function removeAccents(str) {\r\n return str.normalize('NFD').replace(/[\\u0300-\\u036f]/g, '');\r\n}\r\n","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('content-with-sidebar',{staticClass:\"blog-wrapper\"},[_c('b-row',{staticClass:\"blog-list-wrapper\"},[_vm._l((_vm.blogList),function(blog){return _c('b-col',{key:blog.img,attrs:{\"md\":\"6\"}},[_c('b-card',{attrs:{\"tag\":\"article\",\"no-body\":\"\"}},[_c('b-link',{attrs:{\"to\":{ name: 'pages-blog-detail', params: { id: blog.id } }}},[_c('b-img',{staticClass:\"card-img-top\",attrs:{\"src\":blog.img,\"alt\":blog.img.slice(5)}})],1),_c('b-card-body',[_c('b-card-title',[_c('b-link',{staticClass:\"blog-title-truncate text-body-heading\",attrs:{\"to\":{ name: 'pages-blog-detail', params: { id: blog.id } }}},[_vm._v(\" \"+_vm._s(blog.title)+\" \")])],1),_c('b-media',{attrs:{\"no-body\":\"\"}},[_c('b-media-aside',{staticClass:\"mr-50\",attrs:{\"vertical-align\":\"center\"}},[_c('b-avatar',{attrs:{\"href\":\"javascript:void(0)\",\"size\":\"24\",\"src\":blog.avatar}})],1),_c('b-media-body',[_c('small',{staticClass:\"text-muted mr-50\"},[_vm._v(\"by\")]),_c('small',[_c('b-link',{staticClass:\"text-body\"},[_vm._v(_vm._s(blog.userFullName))])],1),_c('span',{staticClass:\"text-muted ml-75 mr-50\"},[_vm._v(\"|\")]),_c('small',{staticClass:\"text-muted\"},[_vm._v(_vm._s(blog.blogPosted))])])],1),_c('div',{staticClass:\"my-1 py-25\"},_vm._l((blog.tags),function(tag,index){return _c('b-link',{key:index},[_c('b-badge',{staticClass:\"mr-75\",attrs:{\"pill\":\"\",\"variant\":_vm.tagsColor(tag)}},[_vm._v(\" \"+_vm._s(tag)+\" \")])],1)}),1),_c('b-card-text',{staticClass:\"blog-content-truncate\"},[_vm._v(\" \"+_vm._s(blog.excerpt)+\" \")]),_c('hr'),_c('div',{staticClass:\"d-flex justify-content-between align-items-center\"},[_c('b-link',{attrs:{\"to\":{ path: (\"/pages/blog/\" + (blog.id) + \"#blogComment\")}}},[_c('div',{staticClass:\"d-flex align-items-center text-body\"},[_c('feather-icon',{staticClass:\"mr-50\",attrs:{\"icon\":\"MessageSquareIcon\"}}),_c('span',{staticClass:\"font-weight-bold\"},[_vm._v(_vm._s(_vm.kFormatter(blog.comment))+\" Comments\")])],1)]),_c('b-link',{staticClass:\"font-weight-bold\",attrs:{\"to\":{ name: 'pages-blog-detail', params: { id: blog.id } }}},[_vm._v(\" Read More \")])],1)],1)],1)],1)}),_c('b-col',{attrs:{\"cols\":\"12\"}},[_c('div',{staticClass:\"my-2\"},[_c('b-pagination',{attrs:{\"align\":\"center\",\"total-rows\":_vm.rows,\"first-number\":\"\",\"last-number\":\"\",\"prev-class\":\"prev-item\",\"next-class\":\"next-item\"},scopedSlots:_vm._u([{key:\"prev-text\",fn:function(){return [_c('feather-icon',{attrs:{\"icon\":\"ChevronLeftIcon\",\"size\":\"18\"}})]},proxy:true},{key:\"next-text\",fn:function(){return [_c('feather-icon',{attrs:{\"icon\":\"ChevronRightIcon\",\"size\":\"18\"}})]},proxy:true}]),model:{value:(_vm.currentPage),callback:function ($$v) {_vm.currentPage=$$v},expression:\"currentPage\"}})],1)])],2),_c('div',{staticClass:\"blog-sidebar py-2 py-lg-0\",attrs:{\"slot\":\"sidebar\"},slot:\"sidebar\"},[_c('b-form-group',{staticClass:\"blog-search\"},[_c('b-input-group',{staticClass:\"input-group-merge\"},[_c('b-form-input',{attrs:{\"id\":\"search-input\",\"placeholder\":\"Search here\"},model:{value:(_vm.search_query),callback:function ($$v) {_vm.search_query=$$v},expression:\"search_query\"}}),_c('b-input-group-append',{staticClass:\"cursor-pointer\",attrs:{\"is-text\":\"\"}},[_c('feather-icon',{attrs:{\"icon\":\"SearchIcon\"}})],1)],1)],1),_c('div',{staticClass:\"blog-recent-posts mt-3\"},[_c('h6',{staticClass:\"section-label mb-75\"},[_vm._v(\" Recent Posts \")]),_vm._l((_vm.blogSidebar.recentPosts),function(recentpost,index){return _c('b-media',{key:recentpost.img,class:index? 'mt-2':'',attrs:{\"no-body\":\"\"}},[_c('b-media-aside',{staticClass:\"mr-2\"},[_c('b-link',{attrs:{\"to\":{ name: 'pages-blog-detail', params:{ id :recentpost.id } }}},[_c('b-img',{attrs:{\"src\":recentpost.img,\"alt\":recentpost.img.slice(6),\"width\":\"100\",\"rounded\":\"\",\"height\":\"70\"}})],1)],1),_c('b-media-body',[_c('h6',{staticClass:\"blog-recent-post-title\"},[_c('b-link',{staticClass:\"text-body-heading\",attrs:{\"to\":{ name: 'pages-blog-detail', params:{ id :recentpost.id } }}},[_vm._v(\" \"+_vm._s(recentpost.title)+\" \")])],1),_c('span',{staticClass:\"text-muted mb-0\"},[_vm._v(\" \"+_vm._s(recentpost.createdTime)+\" \")])])],1)})],2),_c('div',{staticClass:\"blog-categories mt-3\"},[_c('h6',{staticClass:\"section-label mb-1\"},[_vm._v(\" Categories \")]),_vm._l((_vm.blogSidebar.categories),function(category){return _c('div',{key:category.icon,staticClass:\"d-flex justify-content-start align-items-center mb-75\"},[_c('b-link',[_c('b-avatar',{staticClass:\"mr-75\",attrs:{\"rounded\":\"\",\"size\":\"32\",\"variant\":_vm.tagsColor(category.category)}},[_c('feather-icon',{attrs:{\"icon\":category.icon,\"size\":\"16\"}})],1)],1),_c('b-link',[_c('div',{staticClass:\"blog-category-title text-body\"},[_vm._v(\" \"+_vm._s(category.category)+\" \")])])],1)})],2)],1)],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\r\n\r\n\r\n\r\n\r\n","import mod from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./BlogList.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./BlogList.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./BlogList.vue?vue&type=template&id=62a613b6&\"\nimport script from \"./BlogList.vue?vue&type=script&lang=js&\"\nexport * from \"./BlogList.vue?vue&type=script&lang=js&\"\nimport style0 from \"./BlogList.vue?vue&type=style&index=0&id=62a613b6&prod&lang=scss&\"\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","export * from \"-!../../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--9-oneOf-1-0!../../../../../node_modules/css-loader/dist/cjs.js??ref--9-oneOf-1-1!../../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../../node_modules/postcss-loader/src/index.js??ref--9-oneOf-1-2!../../../../../node_modules/sass-loader/dist/cjs.js??ref--9-oneOf-1-3!../../../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./ContentWithSidebar.vue?vue&type=style&index=0&id=496afbf7&prod&lang=scss&\""],"sourceRoot":""}