{"version":3,"sources":["webpack:///./src/components/page-header.vue","webpack:///src/components/page-header.vue","webpack:///./src/components/page-header.vue?f151","webpack:///./src/components/page-header.vue?e2d1","webpack:///./src/components/page-header.vue?1cc1","webpack:///./src/helpers/iframe-helper.js","webpack:///./src/views/pages/dashboard/instructions.vue","webpack:///src/views/pages/dashboard/instructions.vue","webpack:///./src/views/pages/dashboard/instructions.vue?10c1","webpack:///./src/views/pages/dashboard/instructions.vue?5703"],"names":["render","_vm","this","_c","_self","staticClass","_v","_s","title","attrs","items","staticRenderFns","components","props","type","String","default","Array","component","iframeHelper","convert","html","replace","getItems","$t","instructions","length","_l","instruction","index","key","staticStyle","dateUtil","asDateTime","createdAt","domProps","content","computed","Layout","PageHeader","data","methods","text","active","axios","get","$route","params","id","headers","Accept","error","errorCatcher","catchErrors","loadInstructions"],"mappings":"gHAAA,IAAIA,EAAS,WAAkB,IAAIC,EAAIC,KAAKC,EAAGF,EAAIG,MAAMD,GAAG,OAAOA,EAAG,MAAM,CAACE,YAAY,OAAO,CAACF,EAAG,MAAM,CAACE,YAAY,UAAU,CAACF,EAAG,MAAM,CAACE,YAAY,oEAAoE,CAACF,EAAG,KAAK,CAACE,YAAY,QAAQ,CAACJ,EAAIK,GAAGL,EAAIM,GAAGN,EAAIO,UAAUL,EAAG,MAAM,CAACE,YAAY,0CAA0C,CAACF,EAAG,eAAe,CAACE,YAAY,MAAMI,MAAM,CAAC,MAAQR,EAAIS,UAAU,UAEtZC,EAAkB,GCDP,GACfC,WAAA,GACAC,MAAA,CACAL,MAAA,CACAM,KAAAC,OACAC,QAAA,IAEAN,MAAA,CACAI,KAAAG,MACAD,YACA,MCXoV,I,wBCQhVE,EAAY,eACd,EACAlB,EACAW,GACA,EACA,KACA,KACA,MAIa,OAAAO,E,6CCnBf,W,oCCAA,kCAAO,MAAMC,EAAe,CACxBC,WAGJ,SAASA,EAAQC,GACb,OAAKA,GAILA,EAAOA,EAAKC,QAAQ,SAAU,4LAC9BD,EAAOA,EAA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AI,CAACjC,EAAG,KAAK,CAACE,YAAY,oBAAoB,CAACJ,EAAIK,GAAGL,EAAIM,GAAGN,EAAIuB,GAAG,6BAA6B,CAACrB,EAAG,MAAM,CAACE,YAAY,oBAAoB,CAACF,EAAG,KAAK,CAACF,EAAIK,GAAGL,EAAIM,GAAGN,EAAIuB,GAAG,uBAAuBrB,EAAG,OAAO,CAACE,YAAY,kCAAkCI,MAAM,CAAC,cAAc,cAAc,MAAM,IAEt2CE,EAAkB,G,wECSP,GACf0B,SAAA,CACAlB,eACA,OAAAA,QAEAa,WACA,OAAAA,SAIApB,WAAA,CACA0B,cACAC,mBAGAC,OACA,OACAf,aAAA,OAIAgB,QAAA,CAEAlB,WACA,OACA,CACAmB,KAAA,QAEA,CACAA,KAAA,KAAAlB,GAAA,sBACAmB,QAAA,KAKA,yBACA,IACA,WAAAH,SAAAI,OAAAC,IAAA,qBAAAC,OAAAC,OAAAC,GAAA,CACAC,QAAA,CACA,kCACAC,OAAA,oBAEAV,KAAA,KAGA,KAAAf,aAAAe,EACA,MAAAW,GACAC,OAAAC,YAAAF,MAMA,sBACA,KAAAG,qBCjEmX,I,YCO/WpC,EAAY,eACd,EACAlB,EACAW,GACA,EACA,KACA,KACA,MAIa,aAAAO,E","file":"js/chunk-4af0dfac.dfe52bf7.js","sourcesContent":["var render = function render(){var _vm=this,_c=_vm._self._c;return _c('div',{staticClass:\"row\"},[_c('div',{staticClass:\"col-12\"},[_c('div',{staticClass:\"page-title-box d-flex align-items-center justify-content-between\"},[_c('h4',{staticClass:\"mb-0\"},[_vm._v(_vm._s(_vm.title))]),_c('div',{staticClass:\"page-title-right breadcrumb-responsive\"},[_c('b-breadcrumb',{staticClass:\"m-0\",attrs:{\"items\":_vm.items}})],1)])])])\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\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!./page-header.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!./page-header.vue?vue&type=script&lang=js\"","import { render, staticRenderFns } from \"./page-header.vue?vue&type=template&id=38a280fc\"\nimport script from \"./page-header.vue?vue&type=script&lang=js\"\nexport * from \"./page-header.vue?vue&type=script&lang=js\"\nimport style0 from \"./page-header.vue?vue&type=style&index=0&id=38a280fc&prod&lang=css\"\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--7-oneOf-1-0!../../node_modules/css-loader/dist/cjs.js??ref--7-oneOf-1-1!../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../node_modules/postcss-loader/src/index.js??ref--7-oneOf-1-2!../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./page-header.vue?vue&type=style&index=0&id=38a280fc&prod&lang=css\"","export const iframeHelper = {\n convert\n};\n\nfunction convert(html) {\n if (!html) {\n return \"\"\n }\n\n html = html.replace('oembed', 'iframe width=\"560\" height=\"315\" title=\"ecat\" frameborder=\"0\" allow=\"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share\" allowfullscreen');\n html = html.replace('url', 'src');\n html = html.replace('watch?v=', 'embed/');\n html = html.replace('oembed', 'iframe');\n return html\n}","var render = function render(){var _vm=this,_c=_vm._self._c;return _c('Layout',[_c('PageHeader',{attrs:{\"items\":_vm.getItems(),\"title\":_vm.$t('instructions.title')}}),_c('div',{staticClass:\"row\"},[_c('div',{staticClass:\"col-12\"},[_c('div',{staticClass:\"mb-2\"},[_c('router-link',{staticClass:\"btn btn-primary w-sm mb-2\",attrs:{\"to\":\"/dashboard/instructions-categories\"}},[_vm._v(\" \"+_vm._s(_vm.$t('instructions.back-button'))+\" \")])],1),(_vm.instructions)?[(_vm.instructions.length !== 0)?[_c('div',{staticClass:\"row\"},_vm._l((_vm.instructions),function(instruction,index){return _c('div',{key:index,staticClass:\"col-12 col-lg-6\"},[_c('div',{staticClass:\"card\"},[_c('div',{staticClass:\"card-body\"},[_c('h4',{staticStyle:{\"color\":\"var(--author)\"}},[_vm._v(_vm._s(instruction.title))]),_c('p',{staticClass:\"mb-4\",staticStyle:{\"color\":\"var(--author)\"}},[_vm._v(_vm._s(_vm.$t('instructions.added-at'))+\" \"+_vm._s(_vm.dateUtil.asDateTime(instruction.createdAt)))]),_c('div',{staticStyle:{\"color\":\"var(--author)\"},domProps:{\"innerHTML\":_vm._s(_vm.iframeHelper.convert(instruction.content))}})])])])}),0)]:[_c('h5',{staticClass:\"text-center py-3\"},[_vm._v(_vm._s(_vm.$t('message.no-elements')))])]]:[_c('div',{staticClass:\"text-center py-3\"},[_c('h5',[_vm._v(_vm._s(_vm.$t('message.loading')))]),_c('span',{staticClass:\"m-2 spinner-border text-primary\",attrs:{\"aria-hidden\":\"true\"}})])]],2)])],1)\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\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!./instructions.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!./instructions.vue?vue&type=script&lang=js\"","import { render, staticRenderFns } from \"./instructions.vue?vue&type=template&id=104622d6\"\nimport script from \"./instructions.vue?vue&type=script&lang=js\"\nexport * from \"./instructions.vue?vue&type=script&lang=js\"\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"],"sourceRoot":""}