{"version":3,"sources":["webpack:///./src/views/crafted/training/learning-paths/Lesson/LessonShow.vue?f72b","webpack:///./src/views/crafted/training/learning-paths/Lesson/LessonShow.vue?c416","webpack:///./src/views/crafted/training/learning-paths/Lesson/LessonShow.vue?f45b","webpack:///./src/views/crafted/training/learning-paths/Lesson/LessonShow.vue"],"names":["_withScopeId","n","_hoisted_1","class","_hoisted_2","_hoisted_3","_hoisted_4","_hoisted_5","_hoisted_6","_hoisted_7","_hoisted_8","style","_hoisted_9","_hoisted_10","_hoisted_11","_hoisted_12","_hoisted_13","_hoisted_14","_hoisted_15","_hoisted_16","key","_hoisted_17","_hoisted_18","_hoisted_19","_hoisted_20","_hoisted_21","_hoisted_22","_hoisted_23","_hoisted_24","_hoisted_25","_hoisted_26","_hoisted_27","_hoisted_28","_hoisted_29","_hoisted_30","_hoisted_31","_hoisted_32","_hoisted_33","_hoisted_34","_hoisted_35","_hoisted_36","_hoisted_37","_hoisted_38","_hoisted_39","_hoisted_40","_hoisted_41","_hoisted_42","_hoisted_43","_hoisted_44","_hoisted_45","_hoisted_46","_hoisted_47","_hoisted_48","_hoisted_49","_hoisted_50","_hoisted_51","_hoisted_52","_hoisted_53","_hoisted_54","_hoisted_55","_hoisted_56","_hoisted_57","_hoisted_58","_hoisted_59","_hoisted_60","_hoisted_61","_hoisted_62","_hoisted_63","_hoisted_64","src","alt","_hoisted_65","_hoisted_66","_hoisted_67","_hoisted_68","_hoisted_69","_hoisted_70","_hoisted_71","_hoisted_72","_hoisted_73","_hoisted_74","_hoisted_75","_hoisted_76","_hoisted_77","_hoisted_78","_hoisted_79","_hoisted_80","_hoisted_81","_hoisted_82","_hoisted_83","_hoisted_84","_hoisted_85","_hoisted_86","_hoisted_87","_hoisted_88","_hoisted_89","_hoisted_90","_hoisted_91","_hoisted_92","_hoisted_93","_hoisted_94","_hoisted_95","_hoisted_96","_hoisted_97","_hoisted_98","_hoisted_99","_hoisted_100","_hoisted_101","_hoisted_102","_hoisted_103","_hoisted_104","_hoisted_105","_hoisted_106","_hoisted_107","_hoisted_108","_hoisted_109","_hoisted_110","_hoisted_111","_hoisted_112","_hoisted_113","_hoisted_114","_hoisted_115","_hoisted_116","_hoisted_117","_hoisted_118","_hoisted_119","_hoisted_120","_hoisted_121","_hoisted_122","_hoisted_123","_hoisted_124","_hoisted_125","_hoisted_126","_hoisted_127","_hoisted_128","_hoisted_129","_hoisted_130","_hoisted_131","_hoisted_132","_hoisted_135","render","_ctx","_cache","$props","$setup","$data","$options","_component_router_link","_component_Tag","to","pathway","id","default","image","name","short_description","level","type","percentage_completed","width","completed_machines","total_machines","completed_challenges","total_challenges","completed_lessons","total_lessons","_","hasFeature","lesson","feature","video_url","frameborder","allow","allowfullscreen","$t","currentLanguage","title","onClick","toggleWatchedLesson","args","is_started","$event","nextItem","description","tags","tag","i","attachments","length","attachment","href","url","target","_c","links","split","link","props","String","required","lesson_id","components","CardCommentFake","HacktivityWidget","CardSubmitComment","CardRecommendMachine","VideoPlayer","Tag","CardMachineLesson","setup","store","titleVideo","descVideo","isStarted","showSpinner","getters","getCurrentLanguage","localStorage","getItem","user","currentUser","getIsStartedClass","classIsStarted","dispatch","GET_PATHWAY","GET_LESSON","getCurrentPathway","getLessonData","index","console","log","value","pathway_resources","forEach","item","resource_id","resource_type","router","push","params","nextIndex","next","machine_id","challenge_id","UPDATE_WATCHED_CHECK","error","__exports__"],"mappings":"yIAAA,W,yDCEMA,EAAe,SAAAC,GAAK,OAAC,yBAAa,mBAAmBA,EAAEA,IAAI,0BAAcA,GACzEC,EAAa,CAAEC,MAAO,YACtBC,EAAa,CAAED,MAAO,wBACtBE,EAAa,CAAEF,MAAO,oBACtBG,EAAa,CAAEH,MAAO,kBACtBI,EAAa,CAAEJ,MAAO,cACtBK,EAAa,CAAEL,MAAO,aACtBM,EAAa,CAAEN,MAAO,iDACtBO,EAAa,CACjBP,MAAO,sDACPQ,MAAO,CAAC,QAAU,iBAEdC,EAAa,CAAET,MAAO,yBACtBU,EAAc,CAAC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AAKL,cACZC,GAAA,KAAOC,KAAK,CAACpF,KAAM,8BAA+BqF,OAAQ,CAACxF,GAAI8C,EAAM9C,GAAI2F,WAAYD,EAAKN,eAC7D,0BAAtBM,EAAKL,eACZC,GAAA,KAAOC,KAAK,CAACpF,KAAM,gCAAiCqF,OAAQ,CAACxF,GAAI8C,EAAM9C,GAAI4F,aAAcF,EAAKN,gBAK9FzD,EAAsB,8D,sEAE1BmC,EAAUkB,OAASlB,EAAUkB,M,iBAI3B,O,sBAAA,GAAMrB,EAAMa,SAAS,QAAQqB,qBAAsB,CAAC7F,GAAIiB,EAAO+D,MAAMhF,M,OACrE,OADA,SACA,GAAM2D,EAAMa,SAAS,QAAQE,WAAYzD,EAAO+D,MAAMhF,K,OACtD,OADA,SACA,GAAM2D,EAAMa,SAAS,QAAQC,YAAa3B,EAAM9C,K,cAAhD,S,+BAEA8E,QAAQgB,MAAM,6BAA8B,G,+BAWhD,MAAO,CACL1B,KAAI,EACJnD,OAAM,EACNlB,QAAO,EACPuF,OAAM,QACN1B,WAAU,EACVC,UAAS,EACTL,IAAG,QACHvB,KAAI,EACJ6B,UAAS,EACTnC,oBAAmB,EACnB2C,kBAAiB,EACjBP,YAAW,EACXpB,MAAK,EACLnB,gBAAe,EACfY,YAAW,EACXL,SAAQ,EACRf,WAAU,Y,oCC1Id,MAAM+E,GAA2B,KAAgB,GAAQ,CAAC,CAAC,SAAS1G,IAAQ,CAAC,YAAY,qBAE1E","file":"js/chunk-44c20574.169a67c0.js","sourcesContent":["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-v16/dist/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-v16/dist/index.js??ref--1-1!./LessonShow.vue?vue&type=style&index=0&id=3d6f513a&scoped=true&lang=css\"","import { createElementVNode as _createElementVNode, toDisplayString as _toDisplayString, openBlock as _openBlock, createElementBlock as _createElementBlock, createCommentVNode as _createCommentVNode, normalizeStyle as _normalizeStyle, resolveComponent as _resolveComponent, withCtx as _withCtx, createVNode as _createVNode, createTextVNode as _createTextVNode, normalizeClass as _normalizeClass, renderList as _renderList, Fragment as _Fragment, createBlock as _createBlock, createStaticVNode as _createStaticVNode, pushScopeId as _pushScopeId, popScopeId as _popScopeId } from \"vue\"\n\nconst _withScopeId = n => (_pushScopeId(\"data-v-3d6f513a\"),n=n(),_popScopeId(),n)\nconst _hoisted_1 = { class: \"row mb-5\" }\nconst _hoisted_2 = { class: \"col-md-12 text-start\" }\nconst _hoisted_3 = { class: \"mt-5 text-center\" }\nconst _hoisted_4 = { class: \"row g-6 g-xl-9\" }\nconst _hoisted_5 = { class: \"d-flex col\" }\nconst _hoisted_6 = { class: \"col-md-12\" }\nconst _hoisted_7 = { class: \"col-md-12 col-xl-12 d-flex col cursor-pointer\" }\nconst _hoisted_8 = {\n class: \"card-header cursor-pointer border-0 w-full col-md-4\",\n style: {\"padding\":\"0 !important\"}\n}\nconst _hoisted_9 = { class: \"card-title m-0 d-flex\" }\nconst _hoisted_10 = [\"src\"]\nconst _hoisted_11 = {\n class: \"card-body cursor-pointer p-9 rounded-bottom col-md-9 d-flex col\",\n style: {\"background\":\"#1e1e2d\"}\n}\nconst _hoisted_12 = { class: \"fs-6 h-60px\" }\nconst _hoisted_13 = { class: \"d-flex text-gray-900\" }\nconst _hoisted_14 = {\n class: \"d-flex text-gray-800\",\n style: {\"text-align\":\"left\"}\n}\nconst _hoisted_15 = { class: \"dificulty mt-1 d-flex\" }\nconst _hoisted_16 = {\n key: 0,\n class: \"badge badge-light-success\"\n}\nconst _hoisted_17 = {\n key: 1,\n class: \"badge badge-light-info\"\n}\nconst _hoisted_18 = {\n key: 2,\n class: \"badge badge-light-warning\"\n}\nconst _hoisted_19 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"span\", { class: \"m-2\" }, null, -1))\nconst _hoisted_20 = {\n key: 3,\n class: \"badge badge-light-danger\"\n}\nconst _hoisted_21 = {\n key: 4,\n class: \"badge badge-light-success\"\n}\nconst _hoisted_22 = {\n key: 5,\n class: \"badge badge-light-warning\"\n}\nconst _hoisted_23 = {\n key: 6,\n class: \"badge badge-light-primary\"\n}\nconst _hoisted_24 = {\n key: 7,\n class: \"badge badge-light-info\"\n}\nconst _hoisted_25 = {\n key: 8,\n class: \"badge badge-light-dark\"\n}\nconst _hoisted_26 = {\n key: 9,\n class: \"badge badge-light-secondary\"\n}\nconst _hoisted_27 = {\n key: 10,\n class: \"badge badge-light-danger\"\n}\nconst _hoisted_28 = {\n key: 11,\n class: \"badge badge-light-warning\"\n}\nconst _hoisted_29 = {\n key: 12,\n class: \"badge badge-light-success\"\n}\nconst _hoisted_30 = {\n key: 13,\n class: \"badge badge-light-primary\"\n}\nconst _hoisted_31 = {\n key: 14,\n class: \"badge badge-light-info\"\n}\nconst _hoisted_32 = {\n key: 15,\n class: \"badge badge-light-dark\"\n}\nconst _hoisted_33 = {\n key: 16,\n class: \"badge badge-light-secondary\"\n}\nconst _hoisted_34 = {\n key: 17,\n class: \"badge badge-light-danger\"\n}\nconst _hoisted_35 = {\n key: 18,\n class: \"badge badge-light-warning\"\n}\nconst _hoisted_36 = {\n key: 19,\n class: \"badge badge-light-success\"\n}\nconst _hoisted_37 = {\n key: 20,\n class: \"badge badge-light-primary\"\n}\nconst _hoisted_38 = {\n key: 21,\n class: \"badge badge-light-info\"\n}\nconst _hoisted_39 = {\n key: 22,\n class: \"badge badge-light-dark\"\n}\nconst _hoisted_40 = {\n key: 23,\n class: \"badge badge-light-secondary\"\n}\nconst _hoisted_41 = {\n key: 24,\n class: \"badge badge-light-danger\"\n}\nconst _hoisted_42 = {\n key: 25,\n class: \"badge badge-light-warning\"\n}\nconst _hoisted_43 = {\n key: 26,\n class: \"badge badge-light-success\"\n}\nconst _hoisted_44 = {\n key: 27,\n class: \"badge badge-light-primary\"\n}\nconst _hoisted_45 = {\n key: 28,\n class: \"badge badge-light-info\"\n}\nconst _hoisted_46 = {\n key: 29,\n class: \"badge badge-light-dark\"\n}\nconst _hoisted_47 = {\n key: 30,\n class: \"badge badge-light-secondary\"\n}\nconst _hoisted_48 = {\n key: 31,\n class: \"badge badge-light-danger\"\n}\nconst _hoisted_49 = {\n key: 32,\n class: \"badge badge-light-warning\"\n}\nconst _hoisted_50 = { class: \"mx-4\" }\nconst _hoisted_51 = {\n key: 0,\n class: \"badge badge-light-success\"\n}\nconst _hoisted_52 = {\n key: 1,\n class: \"badge badge-light-warning\"\n}\nconst _hoisted_53 = {\n key: 2,\n class: \"badge badge-light badge-pill\"\n}\nconst _hoisted_54 = { class: \"d-flex mt-5 row\" }\nconst _hoisted_55 = { class: \"d-flex col text-decoration-none\" }\nconst _hoisted_56 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"p\", { class: \"fs-5\" }, \" Progress: \", -1))\nconst _hoisted_57 = { class: \"mx-2 fs-5\" }\nconst _hoisted_58 = { class: \"card-title mt-1\" }\nconst _hoisted_59 = {\n class: \"progress col-md-12\",\n style: {\"width\":\"100%\"}\n}\nconst _hoisted_60 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"br\", null, null, -1))\nconst _hoisted_61 = { class: \"mx-5 d-flex col\" }\nconst _hoisted_62 = { class: \"d-flex col justify-between align-items-center align-content-between\" }\nconst _hoisted_63 = { class: \"col-md-4\" }\nconst _hoisted_64 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"div\", { class: \"mb-2\" }, [\n /*#__PURE__*/_createElementVNode(\"img\", {\n src: \"/media/server.svg\",\n class: \"avatar-img img-fluid\",\n alt: \"image\"\n })\n], -1))\nconst _hoisted_65 = { class: \"fs-1\" }\nconst _hoisted_66 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"p\", { class: \"fs-6\" }, \" Máquinas \", -1))\nconst _hoisted_67 = { class: \"col-md-4\" }\nconst _hoisted_68 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"div\", { class: \"mb-2\" }, [\n /*#__PURE__*/_createElementVNode(\"img\", {\n src: \"/media/joy.svg\",\n class: \"avatar-img img-fluid\",\n alt: \"image\"\n })\n], -1))\nconst _hoisted_69 = { class: \"fs-1\" }\nconst _hoisted_70 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"p\", { class: \"fs-6\" }, \" Desafios \", -1))\nconst _hoisted_71 = { class: \"col-md-4\" }\nconst _hoisted_72 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"div\", { class: \"mb-2\" }, [\n /*#__PURE__*/_createElementVNode(\"img\", {\n src: \"/media/cam.svg\",\n class: \"avatar-img img-fluid\",\n alt: \"image\"\n })\n], -1))\nconst _hoisted_73 = { class: \"fs-1\" }\nconst _hoisted_74 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"p\", { class: \"fs-6\" }, \" Aulas \", -1))\nconst _hoisted_75 = { class: \"d-flex flex-column\" }\nconst _hoisted_76 = { class: \"row mt-1\" }\nconst _hoisted_77 = { class: \"col-12 col-lg-12\" }\nconst _hoisted_78 = { class: \"row mt-5\" }\nconst _hoisted_79 = { class: \"w-100 h-650px\" }\nconst _hoisted_80 = {\n key: 0,\n class: \"card card-flush h-md-100\"\n}\nconst _hoisted_81 = { class: \"card-body d-flex flex-column justify-content-between mt-9 bgi-no-repeat bgi-size-cover bgi-position-x-center pb-0\" }\nconst _hoisted_82 = { class: \"mb-5 mt-5\" }\nconst _hoisted_83 = { class: \"fs-2hx fw-bold text-gray-800 text-center mb-13\" }\nconst _hoisted_84 = { class: \"me-2\" }\nconst _hoisted_85 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"br\", null, null, -1))\nconst _hoisted_86 = { class: \"position-relative d-inline-block text-success\" }\nconst _hoisted_87 = { class: \"text-success opacity-75-hover\" }\nconst _hoisted_88 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"span\", { class: \"position-absolute opacity-15 bottom-0 start-0 border-4 border-success border-bottom w-100\" }, null, -1))\nconst _hoisted_89 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"br\", null, null, -1))\nconst _hoisted_90 = { class: \"text-center mt-6\" }\nconst _hoisted_91 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"i\", { class: \"bi bi-arrow-right-square-fill text-white mx-1\" }, null, -1))\nconst _hoisted_92 = [\"src\"]\nconst _hoisted_93 = { class: \"mt-5 me-3\" }\nconst _hoisted_94 = { class: \"d-flex flex-column\" }\nconst _hoisted_95 = { class: \"d-flex\" }\nconst _hoisted_96 = { class: \"fw-bolder text-gray-800\" }\nconst _hoisted_97 = {\n key: 0,\n class: \"border border-gray-500 text-gray-500 ms-auto bg-gray-200 rounded pt-1 px-2 mx-4 text-italic\"\n}\nconst _hoisted_98 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"i\", { class: \"bi bi-check-circle-fill text-gray-500\" }, null, -1))\nconst _hoisted_99 = { class: \"fs-7 ms-1\" }\nconst _hoisted_100 = {\n key: 0,\n class: \"bi bi-check-circle-fill text-success\"\n}\nconst _hoisted_101 = {\n key: 1,\n class: \"bi bi-check-circle-fill text-gray-500\"\n}\nconst _hoisted_102 = {\n key: 2,\n class: \"fs-7 ms-1\"\n}\nconst _hoisted_103 = {\n key: 3,\n class: \"fs-7 ms-1\"\n}\nconst _hoisted_104 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"i\", { class: \"bi bi-arrow-right-square-fill text-white my-5\" }, null, -1))\nconst _hoisted_105 = [\n _hoisted_104\n]\nconst _hoisted_106 = {\n class: \"text-gray-400 fw-bolder fs-7 mt-3\",\n style: {\"white-space\":\"break-spaces\"}\n}\nconst _hoisted_107 = {\n key: 0,\n class: \"mt-2\"\n}\nconst _hoisted_108 = {\n key: 1,\n class: \"mt-2\"\n}\nconst _hoisted_109 = { class: \"col-12 col-lg-4 flex-column\" }\nconst _hoisted_110 = { class: \"\" }\nconst _hoisted_111 = { class: \"card mb-6 w-auto col-md-5 mt-lg-3\" }\nconst _hoisted_112 = { class: \"card-body py-5\" }\nconst _hoisted_113 = { class: \"card-title\" }\nconst _hoisted_114 = { class: \"row\" }\nconst _hoisted_115 = { class: \"col-md-12 d-flex justify-content-start\" }\nconst _hoisted_116 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"i\", { class: \"bi bi-file-earmark-pdf-fill fs-2\" }, null, -1))\nconst _hoisted_117 = { class: \"overflow-auto\" }\nconst _hoisted_118 = { class: \"d-flex align-items-center border border-dashed border-gray-300 rounded p-5\" }\nconst _hoisted_119 = { class: \"d-flex flex-aligns-center\" }\nconst _hoisted_120 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"img\", {\n alt: \"\",\n class: \"w-30px me-3\",\n src: \"/media/svg/files/pdf.svg\"\n}, null, -1))\nconst _hoisted_121 = { class: \"ms-1 fw-bold\" }\nconst _hoisted_122 = [\"href\"]\nconst _hoisted_123 = { class: \"text-gray-400\" }\nconst _hoisted_124 = {\n key: 1,\n class: \"overflow-auto\"\n}\nconst _hoisted_125 = /*#__PURE__*/_createStaticVNode(\"
\\\"\\\"
\", 1)\nconst _hoisted_126 = [\n _hoisted_125\n]\nconst _hoisted_127 = { class: \"overflow-auto mt-2\" }\nconst _hoisted_128 = {\n key: 0,\n class: \"d-flex flex-column border border-dashed border-gray-300 rounded p-2\"\n}\nconst _hoisted_129 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"i\", { class: \"bi bi-link-45deg fs-2 me-2\" }, null, -1))\nconst _hoisted_130 = [\"href\"]\nconst _hoisted_131 = {\n key: 1,\n class: \"d-flex flex-column border border-dashed border-gray-300 rounded py-3 px-2\"\n}\nconst _hoisted_132 = /*#__PURE__*/_createStaticVNode(\"
\", 3)\nconst _hoisted_135 = [\n _hoisted_132\n]\n\nexport function render(_ctx: any,_cache: any,$props: any,$setup: any,$data: any,$options: any) {\n const _component_router_link = _resolveComponent(\"router-link\")!\n const _component_Tag = _resolveComponent(\"Tag\")!\n\n return (_openBlock(), _createElementBlock(\"div\", null, [\n _createElementVNode(\"div\", _hoisted_1, [\n _createElementVNode(\"div\", _hoisted_2, [\n _createElementVNode(\"div\", _hoisted_3, [\n _createElementVNode(\"div\", _hoisted_4, [\n _createElementVNode(\"div\", _hoisted_5, [\n _createElementVNode(\"div\", _hoisted_6, [\n _createVNode(_component_router_link, {\n to: '/training/learning-paths/' + _ctx.pathway.id,\n class: \"text-gray-800 fs-6 fw-bold me-3\"\n }, {\n default: _withCtx(() => [\n _createElementVNode(\"div\", _hoisted_7, [\n _createElementVNode(\"div\", _hoisted_8, [\n _createElementVNode(\"div\", _hoisted_9, [\n _createElementVNode(\"div\", null, [\n _createElementVNode(\"img\", {\n src: _ctx.pathway.image,\n class: \"avatar-img img-fluid\",\n alt: \"image\"\n }, null, 8, _hoisted_10)\n ])\n ])\n ]),\n _createElementVNode(\"div\", _hoisted_11, [\n _createElementVNode(\"div\", null, [\n _createElementVNode(\"div\", _hoisted_12, [\n _createElementVNode(\"h2\", _hoisted_13, _toDisplayString(_ctx.pathway.name), 1),\n _createElementVNode(\"small\", _hoisted_14, _toDisplayString(_ctx.pathway.short_description), 1)\n ]),\n _createElementVNode(\"div\", _hoisted_15, [\n (_ctx.pathway.level == 'Beginner')\n ? (_openBlock(), _createElementBlock(\"span\", _hoisted_16, \"Beginner\"))\n : _createCommentVNode(\"\", true),\n (_ctx.pathway.level == 'Intermediate')\n ? (_openBlock(), _createElementBlock(\"span\", _hoisted_17, \"Intermediate\"))\n : _createCommentVNode(\"\", true),\n (_ctx.pathway.level == 'Advanced')\n ? (_openBlock(), _createElementBlock(\"span\", _hoisted_18, \"Advanced\"))\n : _createCommentVNode(\"\", true),\n _hoisted_19,\n (_ctx.pathway.type == 'Offensive')\n ? (_openBlock(), _createElementBlock(\"span\", _hoisted_20, \"Offensive\"))\n : _createCommentVNode(\"\", true),\n (_ctx.pathway.type == 'General')\n ? (_openBlock(), _createElementBlock(\"span\", _hoisted_21, \"General\"))\n : _createCommentVNode(\"\", true),\n (_ctx.pathway.type == 'Application Security')\n ? (_openBlock(), _createElementBlock(\"span\", _hoisted_22, \"Application Security\"))\n : _createCommentVNode(\"\", true),\n (_ctx.pathway.type == 'Defensive')\n ? (_openBlock(), _createElementBlock(\"span\", _hoisted_23, \"Defensive\"))\n : _createCommentVNode(\"\", true),\n (_ctx.pathway.type == 'Threat Intelligence')\n ? (_openBlock(), _createElementBlock(\"span\", _hoisted_24, \"Threat Intelligence\"))\n : _createCommentVNode(\"\", true),\n (_ctx.pathway.type == 'Incident Response')\n ? (_openBlock(), _createElementBlock(\"span\", _hoisted_25, \"Incident Response\"))\n : _createCommentVNode(\"\", true),\n (_ctx.pathway.type == 'Forensics')\n ? (_openBlock(), _createElementBlock(\"span\", _hoisted_26, \"Forensics\"))\n : _createCommentVNode(\"\", true),\n (_ctx.pathway.type == 'Reverse Engineering')\n ? (_openBlock(), _createElementBlock(\"span\", _hoisted_27, \"Reverse Engineering\"))\n : _createCommentVNode(\"\", true),\n (_ctx.pathway.type == 'Hardware')\n ? (_openBlock(), _createElementBlock(\"span\", _hoisted_28, \"Hardware\"))\n : _createCommentVNode(\"\", true),\n (_ctx.pathway.type == 'Mobile')\n ? (_openBlock(), _createElementBlock(\"span\", _hoisted_29, \"Mobile\"))\n : _createCommentVNode(\"\", true),\n (_ctx.pathway.type == 'Cloud')\n ? (_openBlock(), _createElementBlock(\"span\", _hoisted_30, \"Cloud\"))\n : _createCommentVNode(\"\", true),\n (_ctx.pathway.type == 'IOT')\n ? (_openBlock(), _createElementBlock(\"span\", _hoisted_31, \"IOT\"))\n : _createCommentVNode(\"\", true),\n (_ctx.pathway.type == 'Network')\n ? (_openBlock(), _createElementBlock(\"span\", _hoisted_32, \"Network\"))\n : _createCommentVNode(\"\", true),\n (_ctx.pathway.type == 'Web')\n ? (_openBlock(), _createElementBlock(\"span\", _hoisted_33, \"Web\"))\n : _createCommentVNode(\"\", true),\n (_ctx.pathway.type == 'Wireless')\n ? (_openBlock(), _createElementBlock(\"span\", _hoisted_34, \"Wireless\"))\n : _createCommentVNode(\"\", true),\n (_ctx.pathway.type == 'OSINT')\n ? (_openBlock(), _createElementBlock(\"span\", _hoisted_35, \"OSINT\"))\n : _createCommentVNode(\"\", true),\n (_ctx.pathway.type == 'Social Engineering')\n ? (_openBlock(), _createElementBlock(\"span\", _hoisted_36, \"Social Engineering\"))\n : _createCommentVNode(\"\", true),\n (_ctx.pathway.type == 'Malware Analysis')\n ? (_openBlock(), _createElementBlock(\"span\", _hoisted_37, \"Malware Analysis\"))\n : _createCommentVNode(\"\", true),\n (_ctx.pathway.type == 'Cryptography')\n ? (_openBlock(), _createElementBlock(\"span\", _hoisted_38, \"Cryptography\"))\n : _createCommentVNode(\"\", true),\n (_ctx.pathway.type == 'Steganography')\n ? (_openBlock(), _createElementBlock(\"span\", _hoisted_39, \"Steganography\"))\n : _createCommentVNode(\"\", true),\n (_ctx.pathway.type == 'Binary Analysis')\n ? (_openBlock(), _createElementBlock(\"span\", _hoisted_40, \"Binary Analysis\"))\n : _createCommentVNode(\"\", true),\n (_ctx.pathway.type == 'Programming')\n ? (_openBlock(), _createElementBlock(\"span\", _hoisted_41, \"Programming\"))\n : _createCommentVNode(\"\", true),\n (_ctx.pathway.type == 'Scripting')\n ? (_openBlock(), _createElementBlock(\"span\", _hoisted_42, \"Scripting\"))\n : _createCommentVNode(\"\", true),\n (_ctx.pathway.type == 'DevOps')\n ? (_openBlock(), _createElementBlock(\"span\", _hoisted_43, \"DevOps\"))\n : _createCommentVNode(\"\", true),\n (_ctx.pathway.type == 'Cloud Security')\n ? (_openBlock(), _createElementBlock(\"span\", _hoisted_44, \"Cloud Security\"))\n : _createCommentVNode(\"\", true),\n (_ctx.pathway.type == 'Management')\n ? (_openBlock(), _createElementBlock(\"span\", _hoisted_45, \"Management\"))\n : _createCommentVNode(\"\", true),\n (_ctx.pathway.type == 'Soft Skills')\n ? (_openBlock(), _createElementBlock(\"span\", _hoisted_46, \"Soft Skills\"))\n : _createCommentVNode(\"\", true),\n (_ctx.pathway.type == 'Career')\n ? (_openBlock(), _createElementBlock(\"span\", _hoisted_47, \"Career\"))\n : _createCommentVNode(\"\", true),\n (_ctx.pathway.type == 'Certification')\n ? (_openBlock(), _createElementBlock(\"span\", _hoisted_48, \"Certification\"))\n : _createCommentVNode(\"\", true),\n (_ctx.pathway.type == 'Other')\n ? (_openBlock(), _createElementBlock(\"span\", _hoisted_49, \"Other\"))\n : _createCommentVNode(\"\", true),\n _createElementVNode(\"div\", _hoisted_50, [\n (_ctx.pathway.percentage_completed == 100)\n ? (_openBlock(), _createElementBlock(\"span\", _hoisted_51, \" Completo \"))\n : _createCommentVNode(\"\", true),\n (_ctx.pathway.percentage_completed > 0 && _ctx.pathway.percentage_completed < 100)\n ? (_openBlock(), _createElementBlock(\"span\", _hoisted_52, \" Em progresso \"))\n : _createCommentVNode(\"\", true),\n (_ctx.pathway.percentage_completed == 0)\n ? (_openBlock(), _createElementBlock(\"span\", _hoisted_53, \" Ainda não iniciado \"))\n : _createCommentVNode(\"\", true)\n ])\n ]),\n _createElementVNode(\"div\", _hoisted_54, [\n _createElementVNode(\"div\", _hoisted_55, [\n _hoisted_56,\n _createElementVNode(\"p\", _hoisted_57, _toDisplayString(_ctx.pathway.percentage_completed) + \"%\", 1)\n ]),\n _createElementVNode(\"div\", null, [\n _createElementVNode(\"h6\", _hoisted_58, [\n _createElementVNode(\"div\", _hoisted_59, [\n _createElementVNode(\"div\", {\n class: \"progress-value\",\n style: _normalizeStyle({ width: _ctx.pathway.percentage_completed + '%' })\n }, null, 4)\n ]),\n _hoisted_60\n ])\n ])\n ])\n ]),\n _createElementVNode(\"div\", _hoisted_61, [\n _createElementVNode(\"div\", _hoisted_62, [\n _createElementVNode(\"div\", _hoisted_63, [\n _hoisted_64,\n _createElementVNode(\"p\", _hoisted_65, _toDisplayString(_ctx.pathway.completed_machines) + \"/\" + _toDisplayString(_ctx.pathway.total_machines), 1),\n _hoisted_66\n ]),\n _createElementVNode(\"div\", _hoisted_67, [\n _hoisted_68,\n _createElementVNode(\"p\", _hoisted_69, _toDisplayString(_ctx.pathway.completed_challenges) + \"/\" + _toDisplayString(_ctx.pathway.total_challenges), 1),\n _hoisted_70\n ]),\n _createElementVNode(\"div\", _hoisted_71, [\n _hoisted_72,\n _createElementVNode(\"p\", _hoisted_73, _toDisplayString(_ctx.pathway.completed_lessons) + \"/\" + _toDisplayString(_ctx.pathway.total_lessons), 1),\n _hoisted_74\n ])\n ])\n ])\n ])\n ])\n ]),\n _: 1\n }, 8, [\"to\"])\n ])\n ])\n ])\n ])\n ])\n ]),\n _createElementVNode(\"div\", _hoisted_75, [\n _createElementVNode(\"div\", _hoisted_76, [\n _createElementVNode(\"div\", _hoisted_77, [\n _createElementVNode(\"div\", _hoisted_78, [\n _createElementVNode(\"div\", _hoisted_79, [\n (!_ctx.hasFeature(_ctx.lesson.feature) )\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_80, [\n _createElementVNode(\"div\", _hoisted_81, [\n _createElementVNode(\"div\", _hoisted_82, [\n _createElementVNode(\"div\", _hoisted_83, [\n _createElementVNode(\"span\", _hoisted_84, [\n _createTextVNode(_toDisplayString(_ctx.$t(`${_ctx.currentLanguage}.module.unlock_your_full_potential`)) + \" \", 1),\n _hoisted_85,\n _createTextVNode(\" \" + _toDisplayString(_ctx.$t(`${_ctx.currentLanguage}.module.by_getting_the`)) + \" \", 1),\n _createElementVNode(\"span\", _hoisted_86, [\n _createElementVNode(\"span\", _hoisted_87, _toDisplayString(_ctx.$t(`${_ctx.currentLanguage}.module.premium_plan`)), 1),\n _hoisted_88,\n _hoisted_89\n ])\n ])\n ]),\n _createElementVNode(\"div\", _hoisted_90, [\n _createVNode(_component_router_link, {\n to: {name: 'profile-billing'},\n class: \"ms-4 bg-success px-3 py-3 rounded text-white bg-hover-opacity-75 fs-3\"\n }, {\n default: _withCtx(() => [\n _createTextVNode(_toDisplayString(_ctx.$t(`${_ctx.currentLanguage}.common.subscribe`)) + \" \", 1),\n _hoisted_91\n ]),\n _: 1\n })\n ])\n ])\n ])\n ]))\n : (_openBlock(), _createElementBlock(\"iframe\", {\n key: 1,\n style: {\"width\":\"100%\",\"height\":\"100%\",\"border-radius\":\"10px\"},\n class: \"video-js vjs-theme-forest h-100 w-100\",\n src: _ctx.lesson?.video_url,\n frameborder: \"0\",\n allow: \"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture\",\n allowfullscreen: \"\"\n }, null, 8, _hoisted_92))\n ]),\n _createElementVNode(\"div\", _hoisted_93, [\n _createElementVNode(\"div\", _hoisted_94, [\n _createElementVNode(\"div\", _hoisted_95, [\n _createElementVNode(\"h2\", _hoisted_96, _toDisplayString(_ctx.lesson.title), 1),\n (!_ctx.hasFeature(_ctx.lesson.feature))\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_97, [\n _hoisted_98,\n _createElementVNode(\"span\", _hoisted_99, _toDisplayString(_ctx.$t(`${_ctx.currentLanguage}.module.mark_as_watched`)), 1)\n ]))\n : (_openBlock(), _createElementBlock(\"div\", {\n key: 1,\n onClick: _cache[0] || (_cache[0] = \n//@ts-ignore\n(...args) => (_ctx.toggleWatchedLesson && _ctx.toggleWatchedLesson(...args))),\n class: _normalizeClass([_ctx.lesson.is_started ? 'border border-success text-success' : 'border border-gray-600 text-gray-700 text-hover-gray-900', \"cursor-pointer bg-hover-lighten ms-auto bg-gray-200 rounded pt-1 px-2 mx-4\"])\n }, [\n (_ctx.lesson.is_started)\n ? (_openBlock(), _createElementBlock(\"i\", _hoisted_100))\n : (_openBlock(), _createElementBlock(\"i\", _hoisted_101)),\n (_ctx.lesson.is_started)\n ? (_openBlock(), _createElementBlock(\"span\", _hoisted_102, _toDisplayString(_ctx.$t(`${_ctx.currentLanguage}.module.watched_lesson`)), 1))\n : (_openBlock(), _createElementBlock(\"span\", _hoisted_103, _toDisplayString(_ctx.$t(`${_ctx.currentLanguage}.module.mark_as_watched`)), 1))\n ], 2)),\n _createElementVNode(\"div\", null, [\n _createElementVNode(\"div\", {\n onClick: _cache[1] || (_cache[1] = ($event: any) => (_ctx.nextItem(_ctx.lesson))),\n class: \"bg-primary px-6 py-2 rounded cursor-pointer\"\n }, _hoisted_105)\n ])\n ]),\n _createElementVNode(\"span\", _hoisted_106, _toDisplayString(_ctx.lesson.description), 1),\n (_ctx.lesson.tags || _ctx.pathway.tags)\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_107, [\n (_ctx.lesson.tags)\n ? (_openBlock(true), _createElementBlock(_Fragment, { key: 0 }, _renderList(_ctx.lesson.tags, (tag, i) => {\n return (_openBlock(), _createBlock(_component_Tag, {\n key: i,\n tag: tag.name\n }, null, 8, [\"tag\"]))\n }), 128))\n : _createCommentVNode(\"\", true),\n (_ctx.pathway.tags)\n ? (_openBlock(true), _createElementBlock(_Fragment, { key: 1 }, _renderList(_ctx.pathway.tags, (tag, i) => {\n return (_openBlock(), _createBlock(_component_Tag, {\n key: i,\n tag: tag\n }, null, 8, [\"tag\"]))\n }), 128))\n : _createCommentVNode(\"\", true)\n ]))\n : (_openBlock(), _createElementBlock(\"div\", _hoisted_108, [\n _createVNode(_component_Tag, { tag: 'tags' })\n ]))\n ])\n ])\n ])\n ]),\n _createElementVNode(\"div\", _hoisted_109, [\n _createElementVNode(\"div\", _hoisted_110, [\n _createElementVNode(\"div\", _hoisted_111, [\n _createElementVNode(\"div\", _hoisted_112, [\n _createElementVNode(\"div\", _hoisted_113, [\n _createElementVNode(\"div\", _hoisted_114, [\n _createElementVNode(\"div\", _hoisted_115, [\n _hoisted_116,\n _createTextVNode(\"  \" + _toDisplayString(_ctx.$t(`${_ctx.currentLanguage}.common.attachments`)) + \" & Links \", 1)\n ])\n ])\n ]),\n ((_ctx.hasFeature(_ctx.lesson.feature)) && _ctx.lesson.attachments?.length > 0)\n ? (_openBlock(true), _createElementBlock(_Fragment, { key: 0 }, _renderList(_ctx.lesson.attachments, (attachment) => {\n return (_openBlock(), _createElementBlock(\"div\", _hoisted_117, [\n _createElementVNode(\"div\", _hoisted_118, [\n _createElementVNode(\"div\", null, [\n _createElementVNode(\"div\", _hoisted_119, [\n _hoisted_120,\n _createElementVNode(\"div\", _hoisted_121, [\n _createElementVNode(\"a\", {\n href: attachment?.url,\n target: \"_blank\",\n class: \"fs-6 text-hover-primary fw-bolder\"\n }, _toDisplayString(attachment?.name), 9, _hoisted_122),\n _createElementVNode(\"div\", _hoisted_123, _toDisplayString(attachment?.type), 1)\n ])\n ])\n ])\n ])\n ]))\n }), 256))\n : _createCommentVNode(\"\", true),\n (!_ctx.hasFeature(_ctx.lesson.feature))\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_124, _hoisted_126))\n : _createCommentVNode(\"\", true),\n _createElementVNode(\"div\", _hoisted_127, [\n (_ctx.hasFeature(_ctx.lesson.feature) && _ctx.lesson.links?.length > 0)\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_128, [\n (_openBlock(true), _createElementBlock(_Fragment, null, _renderList(_ctx.lesson.links.split(';'), (link, i) => {\n return (_openBlock(), _createElementBlock(\"div\", {\n class: \"d-flex my-1\",\n key: i\n }, [\n _hoisted_129,\n _createElementVNode(\"a\", {\n href: link,\n target: \"_blank\",\n class: \"text-primary opacity-75-hover fs-6 fw-semibold\"\n }, _toDisplayString(link), 9, _hoisted_130)\n ]))\n }), 128))\n ]))\n : _createCommentVNode(\"\", true),\n (!_ctx.hasFeature(_ctx.lesson.feature))\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_131, _hoisted_135))\n : _createCommentVNode(\"\", true)\n ])\n ])\n ])\n ])\n ])\n ])\n ])\n ]))\n}","\r\nimport {Actions} from \"@/store/enums/StoreEnums\";\r\nimport {computed, defineComponent, nextTick, onBeforeMount, onMounted, ref, watch} from \"vue\";\r\nimport {useStore} from \"vuex\";\r\nimport VideoPlayer from \"@/views/apps/videojs/Player.vue\";\r\nimport CardMachineLesson from \"@/components/course/lesson/CardMachineLesson.vue\";\r\nimport Tag from \"@/components/common/Tag.vue\";\r\nimport router from \"@/router\";\r\nimport type {Challenge} from \"@/types/ChallengeType\";\r\nimport ApiService from \"@/core/services/ApiService\";\r\nimport CardRecommendMachine from \"@/components/course/lesson/CardRecommendMachine.vue\";\r\nimport type {MachineType} from \"@/types/MachineType\";\r\nimport CardSubmitComment from \"@/components/course/lesson/CardSubmitComment.vue\";\r\nimport HacktivityWidget from \"@/components/widgets/feeds/Widget6.vue\";\r\nimport {UserType} from \"@/types/UserType\";\r\nimport CardCommentFake from \"@/components/common/CardCommentFake.vue\";\r\nimport {Mutations} from \"@/store/enums/StoreEnums\";\r\nimport {LessonType} from \"@/types/LessonType\";\r\nimport { initializeComponents } from '@/core/plugins/keenthemes';\r\nimport { hasFeature } from '@/core/helpers/feature';\r\n\r\nexport default defineComponent({\r\nname: \"lesson-show-on-learning-path\",\r\nprops: {\r\n id: {\r\n type: String,\r\n required: true\r\n },\r\n lesson_id: {\r\n type: String,\r\n required: false\r\n }\r\n},\r\ncomponents: {\r\n CardCommentFake,\r\n HacktivityWidget,\r\n CardSubmitComment,\r\n CardRecommendMachine,\r\n VideoPlayer, Tag, CardMachineLesson\r\n},\r\nsetup( props ) {\r\n const store = useStore();\r\n const srcVideo = ref(\"\");\r\n const titleVideo = ref(\"\");\r\n const descVideo = ref(\"\");\r\n const tags = ref({});\r\n const lessonId = ref(0)\r\n const isStarted = ref(false);\r\n const showSpinner = ref(false);\r\n const links = ref([]);\r\n const attachments = ref([]);\r\n\r\n const currentLanguage = computed(() => store.getters.getCurrentLanguage || localStorage.getItem('currentLanguage'));\r\n const user = computed(() => store.getters.currentUser);\r\n\r\n const getIsStartedClass = (classIsStarted: boolean) => {\r\n return classIsStarted ? 'badge-light-success border-success' : 'badge-light-warning border-warning';\r\n };\r\n\r\n \r\n\r\n \r\n store.dispatch(Actions.GET_PATHWAY, props.id);\r\n store.dispatch(Actions.GET_LESSON, props.lesson_id);\r\n\r\n const pathway = computed(() => {\r\n return store.getters.getCurrentPathway;\r\n });\r\n\r\n const lesson = computed(() => {\r\n return store.getters.getLessonData;\r\n });\r\n\r\n const nextItem = (lesson) => {\r\n // get next item from pathway_resources with 'App\\Models\\Lesson' type and id of lesson.value.id\r\n var index;\r\n console.log(pathway.value.pathway_resources);\r\n console.log(lesson);\r\n pathway.value.pathway_resources.forEach((item, i) => {\r\n if(item.resource_id == lesson.id && item.resource_type == 'App\\\\Models\\\\Lesson'){\r\n index = i;\r\n }\r\n });\r\n\r\n console.log(\"index\", index);\r\n\r\n // check if index is the last item on the list\r\n if (index === pathway.value.pathway_resources.length - 1) {\r\n console.log(\"É o último item do array\");\r\n router.push({name: 'learning-paths-show', params: {id: props.id}});\r\n return null; // ou o que preferir retornar para o último item\r\n } else {\r\n const nextIndex = index + 1;\r\n const next = pathway.value.pathway_resources[nextIndex];\r\n console.log(\"Próximo item:\", next);\r\n\r\n if(next.resource_type == 'App\\\\Models\\\\Lesson'){\r\n router.push({name: 'learning-paths-lesson-show', params: {id: props.id, lesson_id: next.resource_id}});\r\n store.dispatch(Actions.GET_LESSON, next.resource_id);\r\n }else if(next.resource_type == 'App\\\\Models\\\\Machine'){\r\n router.push({name: 'learning-paths-machine-show', params: {id: props.id, machine_id: next.resource_id}});\r\n }else if(next.resource_type == 'App\\\\Models\\\\Challenge'){\r\n router.push({name: 'learning-paths-challenge-show', params: {id: props.id, challenge_id: next.resource_id}});\r\n }\r\n }\r\n };\r\n\r\n const toggleWatchedLesson = async () => {\r\n \r\n isStarted.value = !isStarted.value;\r\n // scroll to top\r\n //window.scrollTo(0, 0);\r\n try {\r\n await store.dispatch(Actions.UPDATE_WATCHED_CHECK, {id: lesson.value.id});\r\n await store.dispatch(Actions.GET_LESSON, lesson.value.id); \r\n await store.dispatch(Actions.GET_PATHWAY, props.id);\r\n } catch (error) {\r\n console.error('Error checking the lesson:', error);\r\n }\r\n };\r\n\r\n const linksToArray= (link: string | null) =>{\r\n if(link === null) {\r\n return [];\r\n }else{\r\n return link.split(';');\r\n }\r\n }\r\n return {\r\n user,\r\n lesson,\r\n pathway,\r\n router,\r\n titleVideo,\r\n descVideo,\r\n Tag,\r\n tags,\r\n isStarted,\r\n toggleWatchedLesson,\r\n getIsStartedClass,\r\n showSpinner,\r\n links,\r\n currentLanguage,\r\n attachments,\r\n nextItem,\r\n hasFeature\r\n };\r\n}\r\n});\r\n","import { render } from \"./LessonShow.vue?vue&type=template&id=3d6f513a&scoped=true&ts=true\"\nimport script from \"./LessonShow.vue?vue&type=script&lang=ts\"\nexport * from \"./LessonShow.vue?vue&type=script&lang=ts\"\n\nimport \"./LessonShow.vue?vue&type=style&index=0&id=3d6f513a&scoped=true&lang=css\"\n\nimport exportComponent from \"/codebuild/output/src791094775/src/hackingclub-spa/node_modules/vue-loader-v16/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-3d6f513a\"]])\n\nexport default __exports__"],"sourceRoot":""}