{"version":3,"sources":["webpack:///./src/views/crafted/championship/machines/MachinesList.vue?4ed4","webpack:///./src/views/crafted/championship/machines/MachinesList.vue?ca79","webpack:///./src/views/crafted/championship/machines/MachinesList.vue","webpack:///./src/core/helpers/breadcrumb.ts"],"names":["_hoisted_1","class","_hoisted_2","_hoisted_3","key","_hoisted_4","_hoisted_5","_hoisted_6","_hoisted_7","_hoisted_8","_hoisted_9","_hoisted_10","_hoisted_11","_hoisted_12","_hoisted_13","_hoisted_14","_hoisted_15","_hoisted_16","selected","value","_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","role","_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","_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","title","_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","render","_ctx","_cache","$props","$setup","$data","$options","onClick","$event","show_filter","$t","currentLanguage","onChange","doSearch","filter","dificulty","status","onKeyup","type","placeholder","search","ref","id","loading","machines","machine","href","style","src","photo_path","alt","percentage","name","is_freemium","moment","utc","release_at","format","xp","creator","avatar","first_blood","currentMetadata","links","link","label","active","goTo","url","innerHTML","components","data","a","setup","console","log","store","getters","getCurrentLanguage","localStorage","getItem","current_page","query","router","currentRoute","page","parseInt","dispatch","GET_MACHINES_FILTERED","getAllMachines","getMachineMetadata","methods","window","history","pushState","split","this","__exports__","setCurrentPageBreadcrumbs","pageTitle","breadcrumbs","SET_BREADCRUMB_ACTION","pageBreadcrumbPath","setCurrentPageTitle"],"mappings":"uIAEMA,EAAa,CAAEC,MAAO,mCACtBC,EAA0B,gCAAoB,IAAK,CAAED,MAAO,gBAAkB,MAAO,GACrFE,EAAa,CACjBC,IAAK,EACLH,MAAO,eAEHI,EAAa,CAAEJ,MAAO,OACtBK,EAAa,CAAEL,MAAO,aACtBM,EAAa,CAAEN,MAAO,eACtBO,EAAa,CAAEP,MAAO,cACtBQ,EAA0B,gCAAoB,IAAK,CAAER,MAAO,kBAAoB,MAAO,GACvFS,EAA0B,6BAAiB,MAC3CC,EAAc,CAAEV,MAAO,iBACvBW,EAAc,CAAEX,MAAO,gBACvBY,EAAc,CAAEZ,MAAO,YACvBa,EAAc,CAAEb,MAAO,cACvBc,EAAc,CAAEd,MAAO,sBACvBe,EAAc,CAAEf,MAAO,iBACvBgB,EAAc,CAClBC,SAAU,GACVC,MAAO,IAEHC,EAA2B,gCAAoB,SAAU,CAAED,MAAO,QAAU,QAAS,GACrFE,EAA2B,gCAAoB,SAAU,CAAEF,MAAO,UAAY,UAAW,GACzFG,EAA2B,gCAAoB,SAAU,CAAEH,MAAO,QAAU,QAAS,GACrFI,EAA2B,gCAAoB,SAAU,CAAEJ,MAAO,UAAY,UAAW,GACzFK,EAAc,CAAEvB,MAAO,YACvBwB,EAAc,CAAExB,MAAO,cACvByB,EAAc,CAAEzB,MAAO,sBACvB0B,EAA2B,6BAAiB,WAC5CC,EAAc,CAAE3B,MAAO,iBACvB4B,EAAc,CAClBX,S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AM,SAAS,IAG9F3B,GACKiB,EAAOjB,EAAI2B,MAAM,SAAS,GAChCC,KAAKrD,SAAU,EACf,GAAMqD,KAAKpB,MAAMW,SAAS,QAAQC,sBAAuB,CAAElD,KAAM,UAAWH,UAAW6D,KAAK9D,OAAOC,UAAWC,OAAQ4D,KAAK9D,OAAOE,OAAQI,OAAQwD,KAAK9D,OAAOM,OAAQ6C,KAAMA,MAH3K,M,OAGD,SACAW,KAAKrD,SAAU,E,mCAIdV,SAAQ,W,sHAQX,OAJG+D,KAAK9D,OAAOM,QAAUwD,KAAK9D,OAAOC,WAAa6D,KAAK9D,OAAOE,SAC1DwD,OAAOC,QAAQC,UAAU,GAAI,GAAI,kDAAoDE,KAAK9D,OAAOM,OAAS,cAAgBwD,KAAK9D,OAAOC,UAAY,WAAa6D,KAAK9D,OAAOE,QAG5K4D,KAAKrD,QACN,KAGFqD,KAAKrD,SAAU,EAEf,GAAMqD,KAAKpB,MAAMW,SAAS,QAAQC,sBAAuB,CAAElD,KAAM,UAAWH,UAAW6D,KAAK9D,OAAOC,UAAWC,OAAQ4D,KAAK9D,OAAOE,OAAQI,OAAQwD,KAAK9D,OAAOM,W,cAA9J,SACAwD,KAAKrD,SAAU,E,uCC/GrB,MAAMsD,GAA2B,KAAgB,GAAQ,CAAC,CAAC,SAAS7E,MAErD,iB,kCCPf,gGAQa8E,EAA4B,SACvCC,EACAC,GAEA,OAAMb,SAAS,OAAQc,sBAAuB,CAC5CtG,MAAOoG,EACPG,mBAAoBF,KAQXG,EAAsB,SAACxG,GAClC,OAAMwF,SAAS,OAAQc,sBAAuB,CAC5CtG,MAAOA","file":"js/chunk-7c823e83.66581e3a.js","sourcesContent":["import { createElementVNode as _createElementVNode, toDisplayString as _toDisplayString, createTextVNode as _createTextVNode, vModelSelect as _vModelSelect, withDirectives as _withDirectives, vModelText as _vModelText, openBlock as _openBlock, createElementBlock as _createElementBlock, createCommentVNode as _createCommentVNode, renderList as _renderList, Fragment as _Fragment, normalizeStyle as _normalizeStyle, normalizeClass as _normalizeClass } from \"vue\"\n\nconst _hoisted_1 = { class: \"d-flex justify-content-end mb-2\" }\nconst _hoisted_2 = /*#__PURE__*/_createElementVNode(\"i\", { class: \"bi bi-filter\" }, null, -1)\nconst _hoisted_3 = {\n key: 0,\n class: \"card d-flex\"\n}\nconst _hoisted_4 = { class: \"row\" }\nconst _hoisted_5 = { class: \"col-md-12\" }\nconst _hoisted_6 = { class: \"card-header\" }\nconst _hoisted_7 = { class: \"card-title\" }\nconst _hoisted_8 = /*#__PURE__*/_createElementVNode(\"i\", { class: \"fas fa-list-ul\" }, null, -1)\nconst _hoisted_9 = /*#__PURE__*/_createTextVNode(\"  \")\nconst _hoisted_10 = { class: \"text-gray-500\" }\nconst _hoisted_11 = { class: \"row mt-3 p-5\" }\nconst _hoisted_12 = { class: \"col-md-3\" }\nconst _hoisted_13 = { class: \"form-group\" }\nconst _hoisted_14 = { class: \"text-gray-700 mb-2\" }\nconst _hoisted_15 = { class: \"text-gray-500\" }\nconst _hoisted_16 = {\n selected: \"\",\n value: \"\"\n}\nconst _hoisted_17 = /*#__PURE__*/_createElementVNode(\"option\", { value: \"easy\" }, \"Easy\", -1)\nconst _hoisted_18 = /*#__PURE__*/_createElementVNode(\"option\", { value: \"medium\" }, \"Medium\", -1)\nconst _hoisted_19 = /*#__PURE__*/_createElementVNode(\"option\", { value: \"hard\" }, \"Hard\", -1)\nconst _hoisted_20 = /*#__PURE__*/_createElementVNode(\"option\", { value: \"insane\" }, \"Insane\", -1)\nconst _hoisted_21 = { class: \"col-md-3\" }\nconst _hoisted_22 = { class: \"form-group\" }\nconst _hoisted_23 = { class: \"text-gray-700 mb-2\" }\nconst _hoisted_24 = /*#__PURE__*/_createTextVNode(\"Status \")\nconst _hoisted_25 = { class: \"text-gray-500\" }\nconst _hoisted_26 = {\n selected: \"\",\n value: \"\"\n}\nconst _hoisted_27 = /*#__PURE__*/_createElementVNode(\"option\", { value: \"completed\" }, \"Owned\", -1)\nconst _hoisted_28 = /*#__PURE__*/_createElementVNode(\"option\", { value: \"started\" }, \"Started\", -1)\nconst _hoisted_29 = { value: \"unstarted\" }\nconst _hoisted_30 = { class: \"col-md-4\" }\nconst _hoisted_31 = { class: \"form-group\" }\nconst _hoisted_32 = { class: \"text-gray-700 mb-2\" }\nconst _hoisted_33 = { class: \"col-md-2 d-flex justify-content-end align-items-end\" }\nconst _hoisted_34 = { class: \"form-group\" }\nconst _hoisted_35 = {\n key: 0,\n class: \"indicator-label\"\n}\nconst _hoisted_36 = {\n key: 1,\n class: \"indicator-label\"\n}\nconst _hoisted_37 = { class: \"mt-10 text-center\" }\nconst _hoisted_38 = { class: \"row g-6 g-xl-9\" }\nconst _hoisted_39 = {\n key: 0,\n class: \"row mt-10\"\n}\nconst _hoisted_40 = { class: \"col-md-12\" }\nconst _hoisted_41 = {\n class: \"\",\n role: \"alert\"\n}\nconst _hoisted_42 = { class: \"alert-heading\" }\nconst _hoisted_43 = /*#__PURE__*/_createElementVNode(\"i\", { class: \"fas fa-exclamation-triangle\" }, null, -1)\nconst _hoisted_44 = /*#__PURE__*/_createTextVNode(\"  \")\nconst _hoisted_45 = { class: \"text-gray-500\" }\nconst _hoisted_46 = { class: \"text-gray-500\" }\nconst _hoisted_47 = [\"href\"]\nconst _hoisted_48 = { class: \"card-header border-0 pt-9\" }\nconst _hoisted_49 = { class: \"card-title m-0\" }\nconst _hoisted_50 = {\n key: 0,\n class: \"symbol symbol-50px w-50px bg-light border border-success\"\n}\nconst _hoisted_51 = [\"src\"]\nconst _hoisted_52 = {\n key: 1,\n class: \"symbol symbol-50px w-50px bg-light border border-info\"\n}\nconst _hoisted_53 = [\"src\"]\nconst _hoisted_54 = {\n key: 2,\n class: \"symbol symbol-50px w-50px bg-light border border-warning\"\n}\nconst _hoisted_55 = [\"src\"]\nconst _hoisted_56 = {\n key: 3,\n class: \"symbol symbol-50px w-50px bg-light border border-danger\"\n}\nconst _hoisted_57 = [\"src\"]\nconst _hoisted_58 = { class: \"card-toolbar\" }\nconst _hoisted_59 = {\n key: 0,\n class: \"badge badge-light-primary fw-bolder me-auto px-4 py-3\"\n}\nconst _hoisted_60 = {\n key: 1,\n class: \"badge badge-light-success fw-bolder me-auto px-4 py-3\"\n}\nconst _hoisted_61 = {\n key: 2,\n class: \"badge badge-light-warning fw-bolder me-auto px-4 py-3\"\n}\nconst _hoisted_62 = { class: \"card-body p-9\" }\nconst _hoisted_63 = { class: \"fs-3 fw-bolder text-dark d-flex\" }\nconst _hoisted_64 = { class: \"dificulty mb-5 mt-3 d-flex\" }\nconst _hoisted_65 = {\n key: 0,\n class: \"badge badge-light-success\"\n}\nconst _hoisted_66 = {\n key: 1,\n class: \"badge badge-light-info\"\n}\nconst _hoisted_67 = {\n key: 2,\n class: \"badge badge-light-warning\"\n}\nconst _hoisted_68 = {\n key: 3,\n class: \"badge badge-light-danger\"\n}\nconst _hoisted_69 = /*#__PURE__*/_createTextVNode(\"   \")\nconst _hoisted_70 = {\n key: 4,\n class: \"badge badge-light-success\"\n}\nconst _hoisted_71 = /*#__PURE__*/_createElementVNode(\"p\", { class: \"text-gray-400 fw-bold fs-5 mt-1 mb-7\" }, null, -1)\nconst _hoisted_72 = { class: \"d-flex flex-wrap mb-5 justify-content-center\" }\nconst _hoisted_73 = { class: \"border border-gray-300 border-dashed rounded min-w-125px py-3 px-4 me-7 mb-3\" }\nconst _hoisted_74 = { class: \"fs-6 text-gray-800 fw-bolder\" }\nconst _hoisted_75 = { class: \"fw-bold text-gray-500\" }\nconst _hoisted_76 = { class: \"border border-gray-300 border-dashed rounded min-w-125px py-3 px-4 mb-3\" }\nconst _hoisted_77 = { class: \"fs-6 text-gray-800 fw-bolder\" }\nconst _hoisted_78 = /*#__PURE__*/_createElementVNode(\"div\", { class: \"fw-bold text-gray-500\" }, \"XP earned\", -1)\nconst _hoisted_79 = {\n class: \"h-4px w-100 bg-light mb-5\",\n \"data-bs-toggle\": \"tooltip\",\n title: \"\",\n \"data-bs-original-title\": \"This project 50% completed\"\n}\nconst _hoisted_80 = [\"aria-valuenow\"]\nconst _hoisted_81 = { class: \"row\" }\nconst _hoisted_82 = { class: \"col-md-6\" }\nconst _hoisted_83 = { class: \"text-gray-600 fs-6\" }\nconst _hoisted_84 = /*#__PURE__*/_createElementVNode(\"i\", { class: \"fas fa-user-shield\" }, null, -1)\nconst _hoisted_85 = { class: \"symbol-group symbol-hover justify-content-center\" }\nconst _hoisted_86 = {\n class: \"symbol symbol-35px symbol-circle\",\n \"data-bs-toggle\": \"tooltip\",\n title: \"\",\n \"data-bs-original-title\": \"Emma Smith\"\n}\nconst _hoisted_87 = [\"src\"]\nconst _hoisted_88 = { class: \"col-md-6\" }\nconst _hoisted_89 = /*#__PURE__*/_createElementVNode(\"small\", { class: \"text-gray-600 fs-6\" }, [\n /*#__PURE__*/_createTextVNode(\"First Blood \"),\n /*#__PURE__*/_createElementVNode(\"i\", { class: \"las la-tint text-danger\" })\n], -1)\nconst _hoisted_90 = { class: \"symbol-group symbol-hover justify-content-center\" }\nconst _hoisted_91 = {\n class: \"symbol symbol-35px symbol-circle\",\n \"data-bs-toggle\": \"tooltip\",\n title: \"\",\n \"data-bs-original-title\": \"Emma Smith\"\n}\nconst _hoisted_92 = [\"src\", \"title\"]\nconst _hoisted_93 = { class: \"pagination pagination-outline mt-10\" }\nconst _hoisted_94 = [\"onClick\"]\nconst _hoisted_95 = [\"innerHTML\"]\nconst _hoisted_96 = /*#__PURE__*/_createTextVNode(\"   \")\nconst _hoisted_97 = { class: \"justify-content-center d-flex flex-center\" }\nconst _hoisted_98 = {\n key: 0,\n class: \"spinner-border spinner-border-sm\",\n role: \"status\"\n}\nconst _hoisted_99 = { class: \"sr-only\" }\n\nexport function render(_ctx: any,_cache: any,$props: any,$setup: any,$data: any,$options: any) {\n return (_openBlock(), _createElementBlock(_Fragment, null, [\n _createElementVNode(\"div\", _hoisted_1, [\n _createElementVNode(\"button\", {\n class: \"btn btn-secondary\",\n onClick: _cache[0] || (_cache[0] = ($event: any) => (_ctx.show_filter = !_ctx.show_filter))\n }, [\n _hoisted_2,\n _createTextVNode(\" \" + _toDisplayString(_ctx.$t(`${_ctx.currentLanguage}.common.filter`)) + \" \" + _toDisplayString(_ctx.$t(`${_ctx.currentLanguage}.machine.machines`)), 1)\n ])\n ]),\n (_ctx.show_filter)\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_3, [\n _createElementVNode(\"div\", _hoisted_4, [\n _createElementVNode(\"div\", _hoisted_5, [\n _createElementVNode(\"div\", _hoisted_6, [\n _createElementVNode(\"h4\", _hoisted_7, [\n _hoisted_8,\n _hoisted_9,\n _createElementVNode(\"a\", _hoisted_10, _toDisplayString(_ctx.$t(`${_ctx.currentLanguage}.machine.machine_filter_desc`)), 1)\n ])\n ])\n ])\n ]),\n _createElementVNode(\"div\", _hoisted_11, [\n _createElementVNode(\"div\", _hoisted_12, [\n _createElementVNode(\"div\", _hoisted_13, [\n _createElementVNode(\"label\", _hoisted_14, [\n _createTextVNode(_toDisplayString(_ctx.$t(`${_ctx.currentLanguage}.common.level`)) + \" \", 1),\n _createElementVNode(\"b\", _hoisted_15, \" - \" + _toDisplayString(_ctx.$t(`${_ctx.currentLanguage}.machine.machine`)) + \" \" + _toDisplayString(_ctx.$t(`${_ctx.currentLanguage}.common.difficulty`)), 1)\n ]),\n _withDirectives(_createElementVNode(\"select\", {\n onChange: _cache[1] || (_cache[1] = ($event: any) => (_ctx.doSearch())),\n class: \"form-control\",\n \"onUpdate:modelValue\": _cache[2] || (_cache[2] = ($event: any) => ((_ctx.filter.dificulty) = $event))\n }, [\n _createElementVNode(\"option\", _hoisted_16, _toDisplayString(_ctx.$t(`${_ctx.currentLanguage}.common.all`)), 1),\n _hoisted_17,\n _hoisted_18,\n _hoisted_19,\n _hoisted_20\n ], 544), [\n [_vModelSelect, _ctx.filter.dificulty]\n ])\n ])\n ]),\n _createElementVNode(\"div\", _hoisted_21, [\n _createElementVNode(\"div\", _hoisted_22, [\n _createElementVNode(\"label\", _hoisted_23, [\n _hoisted_24,\n _createElementVNode(\"b\", _hoisted_25, \" - \" + _toDisplayString(_ctx.$t(`${_ctx.currentLanguage}.machine.progress_on_this_machine`)), 1)\n ]),\n _withDirectives(_createElementVNode(\"select\", {\n onChange: _cache[3] || (_cache[3] = ($event: any) => (_ctx.doSearch())),\n class: \"form-control\",\n \"onUpdate:modelValue\": _cache[4] || (_cache[4] = ($event: any) => ((_ctx.filter.status) = $event))\n }, [\n _createElementVNode(\"option\", _hoisted_26, _toDisplayString(_ctx.$t(`${_ctx.currentLanguage}.common.all`)), 1),\n _hoisted_27,\n _hoisted_28,\n _createElementVNode(\"option\", _hoisted_29, _toDisplayString(_ctx.$t(`${_ctx.currentLanguage}.user_progress.not_started_yet`)), 1)\n ], 544), [\n [_vModelSelect, _ctx.filter.status]\n ])\n ])\n ]),\n _createElementVNode(\"div\", _hoisted_30, [\n _createElementVNode(\"div\", _hoisted_31, [\n _createElementVNode(\"label\", _hoisted_32, _toDisplayString(_ctx.$t(`${_ctx.currentLanguage}.machine.search_by_tag`)), 1),\n _withDirectives(_createElementVNode(\"input\", {\n onKeyup: _cache[5] || (_cache[5] = ($event: any) => (_ctx.doSearch())),\n type: \"text\",\n class: \"form-control\",\n \"onUpdate:modelValue\": _cache[6] || (_cache[6] = ($event: any) => ((_ctx.filter.search) = $event)),\n placeholder: \"Windows, Linux, Machine name, etc...\"\n }, null, 544), [\n [_vModelText, _ctx.filter.search]\n ])\n ])\n ]),\n _createElementVNode(\"div\", _hoisted_33, [\n _createElementVNode(\"div\", _hoisted_34, [\n _createElementVNode(\"button\", {\n type: \"button\",\n ref: \"submitSearchButton\",\n onClick: _cache[7] || (_cache[7] = ($event: any) => (_ctx.doSearch())),\n id: \"kt_search_in_submit\",\n class: \"btn btn-lg btn-outline-info\"\n }, [\n (!_ctx.loading)\n ? (_openBlock(), _createElementBlock(\"span\", _hoisted_35, _toDisplayString(_ctx.$t(`${_ctx.currentLanguage}.common.search`)), 1))\n : _createCommentVNode(\"\", true),\n (_ctx.loading)\n ? (_openBlock(), _createElementBlock(\"span\", _hoisted_36, _toDisplayString(_ctx.$t(`${_ctx.currentLanguage}.common.searching`)) + \"... \", 1))\n : _createCommentVNode(\"\", true)\n ], 512)\n ])\n ])\n ])\n ]))\n : _createCommentVNode(\"\", true),\n _createElementVNode(\"div\", _hoisted_37, [\n _createElementVNode(\"div\", _hoisted_38, [\n (!_ctx.machines)\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_39, [\n _createElementVNode(\"div\", _hoisted_40, [\n _createElementVNode(\"div\", _hoisted_41, [\n _createElementVNode(\"h4\", _hoisted_42, [\n _hoisted_43,\n _hoisted_44,\n _createElementVNode(\"a\", _hoisted_45, _toDisplayString(_ctx.$t(`${_ctx.currentLanguage}.machine.no_machines_found`)), 1)\n ]),\n _createElementVNode(\"p\", null, [\n _createElementVNode(\"a\", _hoisted_46, _toDisplayString(_ctx.$t(`${_ctx.currentLanguage}.machine.try_change_filters_search_another_machine`)), 1)\n ])\n ])\n ])\n ]))\n : _createCommentVNode(\"\", true),\n (_openBlock(true), _createElementBlock(_Fragment, null, _renderList(_ctx.machines, (machine) => {\n return (_openBlock(), _createElementBlock(\"div\", {\n key: machine.id,\n class: \"col-md-6 col-xl-4\"\n }, [\n _createElementVNode(\"a\", {\n href: '/laboratory/competition-machines/' + machine.id,\n class: \"card border-hover-primary\",\n style: {\"cursor\":\"pointer\"}\n }, [\n _createElementVNode(\"div\", _hoisted_48, [\n _createElementVNode(\"div\", _hoisted_49, [\n (machine?.dificulty == 'easy')\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_50, [\n _createElementVNode(\"img\", {\n src: machine?.photo_path,\n alt: \"image\",\n class: \"p-1\"\n }, null, 8, _hoisted_51)\n ]))\n : _createCommentVNode(\"\", true),\n (machine?.dificulty == 'medium')\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_52, [\n _createElementVNode(\"img\", {\n src: machine?.photo_path,\n alt: \"image\",\n class: \"p-1\"\n }, null, 8, _hoisted_53)\n ]))\n : _createCommentVNode(\"\", true),\n (machine?.dificulty == 'hard')\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_54, [\n _createElementVNode(\"img\", {\n src: machine?.photo_path,\n alt: \"image\",\n class: \"p-1\"\n }, null, 8, _hoisted_55)\n ]))\n : _createCommentVNode(\"\", true),\n (machine?.dificulty == 'insane')\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_56, [\n _createElementVNode(\"img\", {\n src: machine?.photo_path,\n alt: \"image\",\n class: \"p-1\"\n }, null, 8, _hoisted_57)\n ]))\n : _createCommentVNode(\"\", true)\n ]),\n _createElementVNode(\"div\", _hoisted_58, [\n (\r\n machine?.percentage > 0 &&\r\n machine?.percentage < 100\r\n )\n ? (_openBlock(), _createElementBlock(\"span\", _hoisted_59, _toDisplayString(_ctx.$t(`${_ctx.currentLanguage}.user_progress.in_progress`)), 1))\n : _createCommentVNode(\"\", true),\n (machine?.percentage == 100)\n ? (_openBlock(), _createElementBlock(\"span\", _hoisted_60, _toDisplayString(_ctx.$t(`${_ctx.currentLanguage}.user_progress.completed`)), 1))\n : _createCommentVNode(\"\", true),\n (machine?.percentage == 0)\n ? (_openBlock(), _createElementBlock(\"span\", _hoisted_61, _toDisplayString(_ctx.$t(`${_ctx.currentLanguage}.user_progress.not_started_yet`)), 1))\n : _createCommentVNode(\"\", true)\n ])\n ]),\n _createElementVNode(\"div\", _hoisted_62, [\n _createElementVNode(\"div\", _hoisted_63, _toDisplayString(machine?.name), 1),\n _createElementVNode(\"div\", _hoisted_64, [\n (machine?.dificulty == 'easy')\n ? (_openBlock(), _createElementBlock(\"span\", _hoisted_65, _toDisplayString(_ctx.$t(`${_ctx.currentLanguage}.common.easy`)), 1))\n : _createCommentVNode(\"\", true),\n (machine?.dificulty == 'medium')\n ? (_openBlock(), _createElementBlock(\"span\", _hoisted_66, _toDisplayString(_ctx.$t(`${_ctx.currentLanguage}.common.medium`)), 1))\n : _createCommentVNode(\"\", true),\n (machine?.dificulty == 'hard')\n ? (_openBlock(), _createElementBlock(\"span\", _hoisted_67, _toDisplayString(_ctx.$t(`${_ctx.currentLanguage}.common.hard`)), 1))\n : _createCommentVNode(\"\", true),\n (machine?.dificulty == 'insane')\n ? (_openBlock(), _createElementBlock(\"span\", _hoisted_68, _toDisplayString(_ctx.$t(`${_ctx.currentLanguage}.common.insane`)), 1))\n : _createCommentVNode(\"\", true),\n _hoisted_69,\n (machine?.is_freemium)\n ? (_openBlock(), _createElementBlock(\"span\", _hoisted_70, \"Free\"))\n : _createCommentVNode(\"\", true)\n ]),\n _hoisted_71,\n _createElementVNode(\"div\", _hoisted_72, [\n _createElementVNode(\"div\", _hoisted_73, [\n _createElementVNode(\"div\", _hoisted_74, _toDisplayString(_ctx.moment.utc(machine?.release_at).format(\"DD MMMM, YYYY\")), 1),\n _createElementVNode(\"div\", _hoisted_75, _toDisplayString(_ctx.$t(`${_ctx.currentLanguage}.common.release_date`)), 1)\n ]),\n _createElementVNode(\"div\", _hoisted_76, [\n _createElementVNode(\"div\", _hoisted_77, _toDisplayString(machine?.xp), 1),\n _hoisted_78\n ])\n ]),\n _createElementVNode(\"div\", _hoisted_79, [\n _createElementVNode(\"div\", {\n class: \"bg-primary rounded h-4px\",\n role: \"progressbar\",\n style: _normalizeStyle('width: ' + machine?.percentage + '%'),\n \"aria-valuenow\": machine?.percentage,\n \"aria-valuemin\": \"0\",\n \"aria-valuemax\": \"100\"\n }, null, 12, _hoisted_80)\n ]),\n _createElementVNode(\"div\", _hoisted_81, [\n _createElementVNode(\"div\", _hoisted_82, [\n _createElementVNode(\"small\", _hoisted_83, [\n _createTextVNode(_toDisplayString(_ctx.$t(`${_ctx.currentLanguage}.common.creator`)) + \" \", 1),\n _hoisted_84\n ]),\n _createElementVNode(\"div\", _hoisted_85, [\n _createElementVNode(\"div\", _hoisted_86, [\n _createElementVNode(\"img\", {\n alt: \"Pic\",\n src: machine?.creator?.avatar ? machine?.creator?.avatar : '/media/avatars/blank.png'\n }, null, 8, _hoisted_87)\n ])\n ])\n ]),\n _createElementVNode(\"div\", _hoisted_88, [\n _hoisted_89,\n _createElementVNode(\"div\", _hoisted_90, [\n _createElementVNode(\"div\", _hoisted_91, [\n _createElementVNode(\"img\", {\n alt: \"Pic\",\n src: \r\n machine?.first_blood ? machine?.first_blood?.avatar : '/media/avatars/blank.png'\r\n ,\n title: machine?.first_blood ? machine?.first_blood?.name : 'without blood...'\n }, null, 8, _hoisted_92)\n ])\n ])\n ])\n ])\n ])\n ], 8, _hoisted_47)\n ]))\n }), 128)),\n _createElementVNode(\"ul\", _hoisted_93, [\n (_openBlock(true), _createElementBlock(_Fragment, null, _renderList(_ctx.currentMetadata.links, (link) => {\n return (_openBlock(), _createElementBlock(\"span\", {\n key: link.label\n }, [\n _createElementVNode(\"li\", {\n class: _normalizeClass('page-item m-1 cursor-pointer ' + (link.active ? 'active':''))\n }, [\n _createElementVNode(\"a\", {\n onClick: ($event: any) => (_ctx.goTo(link.url)),\n class: \"page-link\"\n }, [\n _createElementVNode(\"span\", {\n innerHTML: link.label\n }, null, 8, _hoisted_95)\n ], 8, _hoisted_94)\n ], 2)\n ]))\n }), 128)),\n _hoisted_96,\n _createElementVNode(\"div\", _hoisted_97, [\n (_ctx.loading)\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_98, [\n _createElementVNode(\"span\", _hoisted_99, _toDisplayString(_ctx.$t(`${_ctx.currentLanguage}.common.loading`)) + \"...\", 1)\n ]))\n : _createCommentVNode(\"\", true)\n ])\n ])\n ])\n ])\n ], 64))\n}","\r\nimport { computed, defineComponent, ref, onMounted } from \"vue\";\r\nimport { setCurrentPageTitle } from \"@/core/helpers/breadcrumb\";\r\nimport router from \"@/router\";\r\nimport moment from \"moment\";\r\nimport { useStore } from \"vuex\";\r\nimport { Actions } from \"@/store/enums/StoreEnums\";\r\n\r\nexport default defineComponent({\r\n name: \"dashboard\",\r\n components: {},\r\n data() {\r\n return {\r\n a:1\r\n };\r\n }\r\n ,\r\n setup() {\r\n\r\n console.log(\"LOADING MACHINES LIST\");\r\n const store = useStore();\r\n const currentLanguage = computed(() => store.getters.getCurrentLanguage || localStorage.getItem('currentLanguage'));\r\n\r\n const current_page = ref(0)\r\n const loading = ref(false);\r\n const filter = ref({\r\n dificulty: \"\",\r\n status: \"\",\r\n search: \"\",\r\n show_filter: false\r\n });\r\n const show_filter = ref(false);\r\n\r\n // parse the query string to get the page number and search query\r\n const query : any = router.currentRoute.value.query;\r\n const page : number = query.page ? parseInt(query?.page) : 1;\r\n const search : string = query.search ? query.search : \"\";\r\n const dificulty : string = query.dificulty ? query.dificulty : \"\";\r\n const status : string = query.status ? query.status : \"\";\r\n // read value of data variable\r\n\r\n\r\n onMounted(() => {\r\n setCurrentPageTitle(\"Machines List\");\r\n });\r\n\r\n if(page !== 1 || search !== \"\" || dificulty !== \"\" || status !== \"\"){\r\n\r\n filter.value.dificulty = dificulty;\r\n filter.value.status = status;\r\n filter.value.search = search;\r\n filter.value.show_filter = true;\r\n show_filter.value = true;\r\n\r\n store.dispatch(Actions.GET_MACHINES_FILTERED, { type: \"default\", search: search, page: page, dificulty: dificulty, status: status });\r\n }else{\r\n store.dispatch(Actions.GET_MACHINES_FILTERED, { type: \"default\"});\r\n }\r\n\r\n const machines = computed(() => {\r\n return store.getters.getAllMachines;\r\n });\r\n\r\n\r\n const currentMetadata = computed(() => {\r\n return store.getters.getMachineMetadata;\r\n });\r\n\r\n \r\n\r\n return {\r\n moment,\r\n router,\r\n machines,\r\n currentMetadata,\r\n store,\r\n show_filter,\r\n currentLanguage,\r\n filter,\r\n loading,\r\n current_page\r\n };\r\n },\r\n methods: {\r\n async goTo(url) {\r\n // push page to the url - check if already have a search query and concatenate the page number\r\n\r\n if(router.currentRoute.value.query.search || router.currentRoute.value.query.dificulty || router.currentRoute.value.query.status){\r\n window.history.pushState({}, \"\", \"/laboratory/competition-machines?page=\" + url.split(\"page=\")[1] + \"&search=\" + router.currentRoute.value.query.search + \"&dificulty=\" + this.filter.dificulty + \"&status=\" + this.filter.status);\r\n }else{\r\n window.history.pushState({}, \"\", \"/laboratory/competition-machines?page=\" + url.split(\"page=\")[1]);\r\n }\r\n\r\n if(url){\r\n const page = url.split(\"page=\")[1];\r\n this.loading = true;\r\n await this.store.dispatch(Actions.GET_MACHINES_FILTERED, { type: \"default\", dificulty: this.filter.dificulty, status: this.filter.status, search: this.filter.search, page: page });\r\n this.loading = false;\r\n }\r\n \r\n },\r\n async doSearch() {\r\n\r\n // push page to the url - check if already have a search query and concatenate the page number\r\n\r\n if(this.filter.search || this.filter.dificulty || this.filter.status){\r\n window.history.pushState({}, \"\", \"/laboratory/competition-machines?page=1&search=\" + this.filter.search + \"&dificulty=\" + this.filter.dificulty + \"&status=\" + this.filter.status);\r\n }\r\n\r\n if(this.loading){\r\n return;\r\n }\r\n \r\n this.loading = true;\r\n \r\n await this.store.dispatch(Actions.GET_MACHINES_FILTERED, { type: \"default\", dificulty: this.filter.dificulty, status: this.filter.status, search: this.filter.search});\r\n this.loading = false;\r\n \r\n\r\n }\r\n }\r\n});\r\n","import { render } from \"./MachinesList.vue?vue&type=template&id=1e2e7ea6&ts=true\"\nimport script from \"./MachinesList.vue?vue&type=script&lang=ts\"\nexport * from \"./MachinesList.vue?vue&type=script&lang=ts\"\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]])\n\nexport default __exports__","import store from \"@/store\";\r\nimport { Actions } from \"@/store/enums/StoreEnums\";\r\n\r\n/**\r\n * Sets current page breadcrumbs\r\n * @param {string} pageTitle Current page title\r\n * @param {Array} breadcrumbs Current page breadcrumbs\r\n */\r\nexport const setCurrentPageBreadcrumbs = (\r\n pageTitle: string,\r\n breadcrumbs: Array\r\n): void => {\r\n store.dispatch(Actions.SET_BREADCRUMB_ACTION, {\r\n title: pageTitle,\r\n pageBreadcrumbPath: breadcrumbs,\r\n });\r\n};\r\n\r\n/**\r\n * Sets current page breadcrumbs\r\n * @param {string} title Current page title name\r\n */\r\nexport const setCurrentPageTitle = (title: string): void => {\r\n store.dispatch(Actions.SET_BREADCRUMB_ACTION, {\r\n title: title,\r\n });\r\n};\r\n"],"sourceRoot":""}