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AK,kCAAoC,GAC1GD,EAAmBE,QAAQP,EAAqBQ,KAAK,KAAM,IAC3DH,EAAmBI,KAAOT,EAAqBQ,KAAK,KAAMH,EAAmBI,KAAKD,KAAKH,I,GChDvF,IAAIK,EAAsB5D,EAAoBW,OAAER,EAAW,CAAC,IAAI,IAAI,IAAI,IAAI,IAAI,IAAI,IAAI,IAAI,IAAI,IAAI,IAAI,IAAI,IAAI,IAAI,IAAI,IAAI,IAAI,MAAM,WAAa,OAAOH,EAAoB,UAC9K4D,EAAsB5D,EAAoBW,EAAEiD,I","sources":["webpack://microsoft-academy/./src/pages/articleList.vue","webpack://microsoft-academy/./src/components/ArticleCard.vue","webpack://microsoft-academy/./src/components/ArticleCard.vue?16f2","webpack://microsoft-academy/./src/pages/articleList.vue?a384","webpack://microsoft-academy/./src/articleList.js","webpack://microsoft-academy/webpack/bootstrap","webpack://microsoft-academy/webpack/runtime/chunk loaded","webpack://microsoft-academy/webpack/runtime/compat get default export","webpack://microsoft-academy/webpack/runtime/define property getters","webpack://microsoft-academy/webpack/runtime/global","webpack://microsoft-academy/webpack/runtime/hasOwnProperty shorthand","webpack://microsoft-academy/webpack/runtime/node module decorator","webpack://microsoft-academy/webpack/runtime/runtimeId","webpack://microsoft-academy/webpack/runtime/publicPath","webpack://microsoft-academy/webpack/runtime/jsonp chunk loading","webpack://microsoft-academy/webpack/startup"],"sourcesContent":["<template>\n <BaseLayout :breadcrumb=\"breadcrumb\">\n <CenteredTitle>{{translation('article_list-title')}}</CenteredTitle>\n <div class=\"container container--sm mt-6 mt-lg-9 mb-12 mb-lg-18\">\n <div v-if=\"articleList\" class=\"articleList\">\n <ArticleCard v-for=\"row in articleList\" :data=\"row\" :key=\"row.id\"/>\n </div>\n </div>\n </BaseLayout>\n</template>\n\n<script>\nimport ArticleCard from \"@/components/ArticleCard\";\nimport BaseLayout from \"@/components/BaseLayout\";\nimport CenteredTitle from \"@/components/CenteredTitle\";\nimport codeBooksMixin from \"@/mixins/codeBooksMixin\";\nimport {blogService} from \"@/services/blog.service\";\nimport store from \"@/store\";\n\nexport default {\n data() {\n return {\n articleList: []\n }\n },\n async created() {\n try {\n const response = await blogService.getAll();\n this.articleList = response.data;\n } catch (err) {\n store.dispatch('app/addFlashMessage', {message: this.translation('global_alert-general')})\n }\n },\n computed: {\n breadcrumb() {\n return [{\n title: this.translation('header_nav_link-blog'),\n url: '/blog',\n }];\n }\n },\n mixins: [codeBooksMixin],\n components: {\n ArticleCard,\n BaseLayout,\n CenteredTitle,\n },\n}\n</script>","<template>\n <article class=\"articleCard\">\n <img :src=\"data.image\" alt=\"\" width=\"420\" height=\"320\" loading=\"lazy\">\n <header>\n <h2 class=\"h3\">{{ data.title }}</h2>\n <p>{{ data.content_short }}</p>\n <div class=\"articleCard__info\">\n <a :href=\"`/blog/${data.url}`\">\n {{translation('article_card-more')}}\n <svg width=\"8\" height=\"13\" viewBox=\"0 0 5 8\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"#BFBFBF\" fill-rule=\"nonzero\">\n <path d=\"m0 1 1.019-1L5 4 1.019 8 0 7l3-3z\"/>\n </svg>\n </a>\n <time :datetime=\"machineDateFormat(this.data.date_created)\">{{ dateFormat(this.data.date_created) }}</time>\n </div>\n </header>\n </article>\n</template>\n\n<script>\nimport codeBooksMixin from \"@/mixins/codeBooksMixin\";\nimport formatMixins from \"@/mixins/formatMixins\";\n\nexport default {\n props: {\n data: {\n type: Object,\n required: true\n }\n },\n mixins: [codeBooksMixin, formatMixins],\n}\n</script>","import { render } from \"./ArticleCard.vue?vue&type=template&id=4712d89e\"\nimport script from \"./ArticleCard.vue?vue&type=script&lang=js\"\nexport * from \"./ArticleCard.vue?vue&type=script&lang=js\"\n\nimport exportComponent from \"/opt/itide.sk/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render]])\n\nexport default __exports__","import { render } from \"./articleList.vue?vue&type=template&id=2e774f00\"\nimport script from \"./articleList.vue?vue&type=script&lang=js\"\nexport * from \"./articleList.vue?vue&type=script&lang=js\"\n\nimport exportComponent from \"/opt/itide.sk/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render]])\n\nexport default __exports__","import {authorizationService} from \"@/services/authorization\";\nimport {codebooksService} from \"@/services/codebooks.service\";\nimport {createApp, h} from 'vue'\nimport './assets/scss/index.scss'\nimport App from './pages/articleList.vue'\nimport store from './store'\n\ncreateApp({\n created() {\n authorizationService.checkAccess('articleList')\n this.$store.dispatch('user/getUser')\n this.$store.dispatch('studyPrograms/fetchData')\n codebooksService.getAllCodebooks()\n sessionStorage.setItem('lastPage', '/blog');\n },\n render: () => h(App),\n})\n .use(store)\n .mount('#app')\n\n","// The module cache\nvar __webpack_module_cache__ = {};\n\n// The require function\nfunction __webpack_require__(moduleId) {\n\t// Check if module is in cache\n\tvar cachedModule = __webpack_module_cache__[moduleId];\n\tif (cachedModule !== undefined) {\n\t\treturn cachedModule.exports;\n\t}\n\t// Create a new module (and put it into the cache)\n\tvar module = __webpack_module_cache__[moduleId] = {\n\t\tid: moduleId,\n\t\tloaded: false,\n\t\texports: {}\n\t};\n\n\t// Execute the module function\n\t__webpack_modules__[moduleId].call(module.exports, module, module.exports, __webpack_require__);\n\n\t// Flag the module as loaded\n\tmodule.loaded = true;\n\n\t// Return the exports of the module\n\treturn module.exports;\n}\n\n// expose the modules object (__webpack_modules__)\n__webpack_require__.m = __webpack_modules__;\n\n","var deferred = [];\n__webpack_require__.O = function(result, chunkIds, fn, priority) {\n\tif(chunkIds) {\n\t\tpriority = priority || 0;\n\t\tfor(var i = deferred.length; i > 0 && deferred[i - 1][2] > priority; i--) deferred[i] = deferred[i - 1];\n\t\tdeferred[i] = [chunkIds, fn, priority];\n\t\treturn;\n\t}\n\tvar notFulfilled = Infinity;\n\tfor (var i = 0; i < deferred.length; i++) {\n\t\tvar chunkIds = deferred[i][0];\n\t\tvar fn = deferred[i][1];\n\t\tvar priority = deferred[i][2];\n\t\tvar fulfilled = true;\n\t\tfor (var j = 0; j < chunkIds.length; j++) {\n\t\t\tif ((priority & 1 === 0 || notFulfilled >= priority) && Object.keys(__webpack_require__.O).every(function(key) { return __webpack_require__.O[key](chunkIds[j]); })) {\n\t\t\t\tchunkIds.splice(j--, 1);\n\t\t\t} else {\n\t\t\t\tfulfilled = false;\n\t\t\t\tif(priority < notFulfilled) notFulfilled = priority;\n\t\t\t}\n\t\t}\n\t\tif(fulfilled) {\n\t\t\tdeferred.splice(i--, 1)\n\t\t\tvar r = fn();\n\t\t\tif (r !== undefined) result = r;\n\t\t}\n\t}\n\treturn result;\n};","// getDefaultExport function for compatibility with non-harmony modules\n__webpack_require__.n = function(module) {\n\tvar getter = module && module.__esModule ?\n\t\tfunction() { return module['default']; } :\n\t\tfunction() { return module; };\n\t__webpack_require__.d(getter, { a: getter });\n\treturn getter;\n};","// define getter functions for harmony exports\n__webpack_require__.d = function(exports, definition) {\n\tfor(var key in definition) {\n\t\tif(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {\n\t\t\tObject.defineProperty(exports, key, { enumerable: true, get: definition[key] });\n\t\t}\n\t}\n};","__webpack_require__.g = (function() {\n\tif (typeof globalThis === 'object') return globalThis;\n\ttry {\n\t\treturn this || new Function('return this')();\n\t} catch (e) {\n\t\tif (typeof window === 'object') return window;\n\t}\n})();","__webpack_require__.o = function(obj, prop) { return Object.prototype.hasOwnProperty.call(obj, prop); }","__webpack_require__.nmd = function(module) {\n\tmodule.paths = [];\n\tif (!module.children) module.children = [];\n\treturn module;\n};","__webpack_require__.j = 257;","__webpack_require__.p = \"/static/dist/\";","// no baseURI\n\n// object to store loaded and loading chunks\n// undefined = chunk not loaded, null = chunk preloaded/prefetched\n// [resolve, reject, Promise] = chunk loading, 0 = chunk loaded\nvar installedChunks = {\n\t257: 0,\n\t835: 0\n};\n\n// no chunk on demand loading\n\n// no prefetching\n\n// no preloaded\n\n// no HMR\n\n// no HMR manifest\n\n__webpack_require__.O.j = function(chunkId) { return installedChunks[chunkId] === 0; };\n\n// install a JSONP callback for chunk loading\nvar webpackJsonpCallback = function(parentChunkLoadingFunction, data) {\n\tvar chunkIds = data[0];\n\tvar moreModules = data[1];\n\tvar runtime = data[2];\n\t// add \"moreModules\" to the modules object,\n\t// then flag all \"chunkIds\" as loaded and fire callback\n\tvar moduleId, chunkId, i = 0;\n\tif(chunkIds.some(function(id) { return installedChunks[id] !== 0; })) {\n\t\tfor(moduleId in moreModules) {\n\t\t\tif(__webpack_require__.o(moreModules, moduleId)) {\n\t\t\t\t__webpack_require__.m[moduleId] = moreModules[moduleId];\n\t\t\t}\n\t\t}\n\t\tif(runtime) var result = runtime(__webpack_require__);\n\t}\n\tif(parentChunkLoadingFunction) parentChunkLoadingFunction(data);\n\tfor(;i < chunkIds.length; i++) {\n\t\tchunkId = chunkIds[i];\n\t\tif(__webpack_require__.o(installedChunks, chunkId) && installedChunks[chunkId]) {\n\t\t\tinstalledChunks[chunkId][0]();\n\t\t}\n\t\tinstalledChunks[chunkId] = 0;\n\t}\n\treturn __webpack_require__.O(result);\n}\n\nvar chunkLoadingGlobal = self[\"webpackChunkmicrosoft_academy\"] = self[\"webpackChunkmicrosoft_academy\"] || [];\nchunkLoadingGlobal.forEach(webpackJsonpCallback.bind(null, 0));\nchunkLoadingGlobal.push = webpackJsonpCallback.bind(null, chunkLoadingGlobal.push.bind(chunkLoadingGlobal));","// startup\n// Load entry module and return exports\n// This entry module depends on other loaded chunks and execution need to be delayed\nvar __webpack_exports__ = __webpack_require__.O(undefined, [381,179,522,992,490,634,922,548,720,218,564,547,819,835,900,494,653,300], function() { return __webpack_require__(73780); })\n__webpack_exports__ = __webpack_require__.O(__webpack_exports__);\n"],"names":["class","_createBlock","_component_BaseLayout","breadcrumb","$options","_createVNode","_component_CenteredTitle","_ctx","_createElementVNode","$data","_createElementBlock","_Fragment","_renderList","row","_component_ArticleCard","data","key","id","width","height","viewBox","xmlns","fill","d","src","$props","image","alt","loading","_toDisplayString","title","content_short","href","url","datetime","date_created","_hoisted_7","props","type","Object","required","mixins","codeBooksMixin","formatMixins","__exports__","articleList","async","response","blogService","this","err","store","message","translation","computed","components","ArticleCard","BaseLayout","CenteredTitle","render","createApp","created","authorizationService","$store","dispatch","codebooksService","sessionStorage","setItem","h","App","use","mount","__webpack_module_cache__","__webpack_require__","moduleId","cachedModule","undefined","exports","module","loaded","__webpack_modules__","call","m","deferred","O","result","chunkIds","fn","priority","notFulfilled","Infinity","i","length","fulfilled","j","keys","every","splice","r","n","getter","__esModule","a","definition","o","defineProperty","enumerable","get","g","globalThis","Function","e","window","obj","prop","prototype","hasOwnProperty","nmd","paths","children","p","installedChunks","chunkId","webpackJsonpCallback","parentChunkLoadingFunction","moreModules","runtime","some","chunkLoadingGlobal","self","forEach","bind","push","__webpack_exports__"],"sourceRoot":""}