����JFIF��x�x����'
Server IP : 66.29.137.217 / Your IP : 18.217.160.127 Web Server : LiteSpeed System : Linux premium294.web-hosting.com 4.18.0-513.11.1.lve.el8.x86_64 #1 SMP Thu Jan 18 16:21:02 UTC 2024 x86_64 User : gltevjme ( 1095) PHP Version : 7.0.33 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : OFF | Pkexec : OFF Directory : /home/gltevjme/cbt.bofirm.com/public/js/ |
Upload File : |
"use strict";(self.webpackChunk=self.webpackChunk||[]).push([[1747],{93046:(t,s,e)=>{e.d(s,{Z:()=>n});const i={props:{type:{type:String,default:"submit"}}};const n=(0,e(51900).Z)(i,(function(){var t=this,s=t.$createElement;return(t._self._c||s)("button",{staticClass:"inline-flex items-center px-4 py-2 bg-gray-800 border border-transparent rounded-sm font-semibold text-xs text-white uppercase tracking-widest hover:bg-gray-700 active:bg-gray-900 focus:outline-none focus:border-gray-900 focus:shadow-outline-gray transition ease-in-out duration-150",attrs:{type:t.type}},[t._t("default")],2)}),[],!1,null,null,null).exports},26216:(t,s,e)=>{e.d(s,{Z:()=>n});const i={props:["message"]};const n=(0,e(51900).Z)(i,(function(){var t=this,s=t.$createElement,e=t._self._c||s;return e("div",{directives:[{name:"show",rawName:"v-show",value:t.message,expression:"message"}]},[e("p",{staticClass:"text-red-600 text-sm"},[t._v("\n "+t._s(t.message)+"\n ")])])}),[],!1,null,null,null).exports},39283:(t,s,e)=>{e.d(s,{Z:()=>n});const i={props:["value"]};const n=(0,e(51900).Z)(i,(function(){var t=this,s=t.$createElement,e=t._self._c||s;return e("label",{staticClass:"block font-medium text-gray-700 text-sm mb-1"},[t.value?e("span",[t._v(t._s(t.value))]):e("span",[t._t("default")],2)])}),[],!1,null,null,null).exports},50986:(t,s,e)=>{e.d(s,{Z:()=>n});const i={name:"FIBPreview",props:{question:Object},data:function(){return{collapse:!0}},created:function(){this.$nextTick((function(){window.renderMathInElement(this.$el)}))}};const n=(0,e(51900).Z)(i,(function(){var t=this,s=t.$createElement,e=t._self._c||s;return e("div",{staticClass:"bg-white shadow px-4 py-5 border-b-4 border-gray-800 mb-6"},[e("h5",{staticClass:"inline-block bg-green-100 rounded-sm px-2 py-1 mb-4 text-xs leading-3 text-green-700"},[t._v(t._s(t.question.skill))]),t._v(" "),e("div",{staticClass:"q-data mb-4"},[e("div",{staticClass:"text-sm",domProps:{innerHTML:t._s(t.question.question)}})]),t._v(" "),e("div",{directives:[{name:"show",rawName:"v-show",value:!t.collapse,expression:"!collapse"}],attrs:{id:t.question.code+"_options"}},t._l(t.question.correct_answer,(function(s,i){return e("ul",{staticClass:"q-option"},[e("li",{staticClass:"flex items-center mb-3 cursor-pointer p-3 rounded-sm border border-gray-200"},[e("div",{staticClass:"h-6 w-6 text-sm flex rounded-full items-center justify-center bg-gray-100 text-sm"},[t._v(t._s(i+1))]),t._v(" "),e("div",{staticClass:"text-sm font-normal ltr:ml-4 rtl:mr-4",domProps:{innerHTML:t._s(s)}})])])})),0),t._v(" "),e("a",{staticClass:"qt-link-success text-sm mb-4",domProps:{innerHTML:t._s(t.collapse?t.__("View Answers"):t.__("Hide Answers"))},on:{click:function(s){t.collapse=!t.collapse}}}),t._v(" "),e("ul",{staticClass:"mt-5"},[e("li",{staticClass:"text-gray-600 text-sm flex items-center text-sm mb-4"},[e("span",{staticClass:"font-semibold"},[t._v(t._s(t.__("Question Type"))+":")]),t._v(" "),e("span",{staticClass:"text-sm ltr:ml-2 rtl:mr-2"},[t._v(t._s(t.question.question_type_name))])]),t._v(" "),e("li",{staticClass:"text-gray-600 text-sm flex items-center text-sm mb-4"},[e("span",{staticClass:"font-semibold"},[t._v(t._s(t.__("Difficulty Level"))+":")]),t._v(" "),e("span",{staticClass:"text-sm ltr:ml-2 rtl:mr-2"},[t._v(t._s(t.question.difficulty))])]),t._v(" "),e("li",{staticClass:"text-gray-600 text-sm flex items-center text-sm mb-4"},[e("span",{staticClass:"font-semibold"},[t._v(t._s(t.__("Marks/Points"))+":")]),t._v(" "),e("span",{staticClass:"text-sm ltr:ml-2 rtl:mr-2"},[t._v(t._s(t.question.marks)+" XP")])]),t._v(" "),e("li",{staticClass:"text-gray-600 text-sm flex items-center text-sm mb-4"},[e("span",{staticClass:"font-semibold"},[t._v(t._s(t.__("Attachment"))+":")]),t._v(" "),e("span",{staticClass:"text-sm ltr:ml-2 rtl:mr-2"},[t._v(t._s(t.__(t.question.attachment)))])])]),t._v(" "),e("div",{staticClass:"mt-4 flex justify-between items-center"},[e("h5",{staticClass:"inline-block bg-gray-100 rounded-sm px-2 py-1 text-xs leading-3 text-gray-700"},[t._v(t._s(t.question.code))]),t._v(" "),t._t("action")],2)])}),[],!1,null,null,null).exports},40863:(t,s,e)=>{e.d(s,{Z:()=>n});const i={name:"LAQPreview",props:{question:Object},data:function(){return{collapse:!0}},created:function(){this.$nextTick((function(){window.renderMathInElement(this.$el)}))}};const n=(0,e(51900).Z)(i,(function(){var t=this,s=t.$createElement,e=t._self._c||s;return e("div",{staticClass:"bg-white shadow px-4 py-5 border-b-4 border-gray-800 mb-6"},[e("h5",{staticClass:"inline-block bg-green-100 rounded-sm px-2 py-1 mb-4 text-xs leading-3 text-green-700"},[t._v(t._s(t.question.skill))]),t._v(" "),e("div",{staticClass:"q-data mb-4"},[e("div",{staticClass:"text-sm",domProps:{innerHTML:t._s(t.question.question)}})]),t._v(" "),e("ul",{staticClass:"mt-5"},[e("li",{staticClass:"text-gray-600 text-sm flex items-center mb-4"},[e("span",{staticClass:"font-semibold"},[t._v("Question Type:")]),t._v(" "),e("span",{staticClass:"ml-2"},[t._v(t._s(t.question.question_type_name))])]),t._v(" "),e("li",{staticClass:"text-gray-600 text-sm flex items-center mb-4"},[e("span",{staticClass:"font-semibold"},[t._v("Difficulty Level:")]),t._v(" "),e("span",{staticClass:"ml-2"},[t._v(t._s(t.question.difficulty))])]),t._v(" "),e("li",{staticClass:"text-gray-600 text-sm flex items-center mb-4"},[e("span",{staticClass:"font-semibold"},[t._v("Marks/Points:")]),t._v(" "),e("span",{staticClass:"ml-2"},[t._v(t._s(t.question.marks)+" XP")])]),t._v(" "),e("li",{staticClass:"text-gray-600 text-sm flex items-center mb-4"},[e("span",{staticClass:"font-semibold"},[t._v("Attachment:")]),t._v(" "),e("span",{staticClass:"ml-2"},[t._v(t._s(t.question.attachment))])])]),t._v(" "),e("div",{staticClass:"mt-4 flex justify-between items-center"},[e("h5",{staticClass:"inline-block bg-gray-100 rounded-sm px-2 py-1 text-xs leading-3 text-gray-700"},[t._v(t._s(t.question.code))]),t._v(" "),t._t("action")],2)])}),[],!1,null,null,null).exports},92755:(t,s,e)=>{e.d(s,{Z:()=>n});const i={name:"MMAPreview",props:{question:Object},data:function(){return{collapse:!0}},created:function(){this.$nextTick((function(){window.renderMathInElement(this.$el)}))}};const n=(0,e(51900).Z)(i,(function(){var t=this,s=t.$createElement,e=t._self._c||s;return e("div",{staticClass:"bg-white shadow px-4 py-5 border-b-4 border-gray-800 mb-6"},[e("h5",{staticClass:"inline-block bg-green-100 rounded-sm px-2 py-1 mb-4 text-xs leading-3 text-green-700"},[t._v(t._s(t.question.skill))]),t._v(" "),e("div",{staticClass:"q-data mb-4"},[e("div",{staticClass:"text-sm",domProps:{innerHTML:t._s(t.question.question)}})]),t._v(" "),e("div",{directives:[{name:"show",rawName:"v-show",value:!t.collapse,expression:"!collapse"}],attrs:{id:t.question.code+"_options"}},t._l(t.question.options,(function(s,i){return e("ul",{staticClass:"q-option"},[e("li",{staticClass:"relative flex items-center mb-3 cursor-pointer p-3 rounded-sm border border-gray-200"},[e("div",{staticClass:"h-6 w-6 text-sm flex rounded-full items-center justify-center bg-gray-100 "},[t._v(t._s(i+1))]),t._v(" "),e("div",{staticClass:"text-sm font-normal ltr:ml-4 rtl:mr-4",domProps:{innerHTML:t._s(s.option)}}),t._v(" "),t.question.correct_answer.includes(i+1)?e("div",{staticClass:"absolute ltr:right-2 rtl:left-2 text-green-500"},[e("svg",{staticClass:"w-6 h-6",attrs:{fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"}},[e("path",{attrs:{"stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M9 12l2 2 4-4m6 2a9 9 0 11-18 0 9 9 0 0118 0z"}})])]):t._e()])])})),0),t._v(" "),e("a",{staticClass:"qt-link-success text-sm mb-4",domProps:{innerHTML:t._s(t.collapse?t.__("View Options"):t.__("Hide Options"))},on:{click:function(s){t.collapse=!t.collapse}}}),t._v(" "),e("ul",{staticClass:"mt-5"},[e("li",{staticClass:"text-gray-600 flex text-sm items-center mb-4"},[e("span",{staticClass:"font-semibold "},[t._v(t._s(t.__("Question Type"))+":")]),t._v(" "),e("span",{staticClass:"ltr:ml-2 rtl:mr-2"},[t._v(t._s(t.question.question_type_name))])]),t._v(" "),e("li",{staticClass:"text-gray-600 flex text-sm items-center mb-4"},[e("span",{staticClass:"font-semibold"},[t._v(t._s(t.__("Difficulty Level"))+":")]),t._v(" "),e("span",{staticClass:"ltr:ml-2 rtl:mr-2"},[t._v(t._s(t.question.difficulty))])]),t._v(" "),e("li",{staticClass:"text-gray-600 flex text-sm items-center mb-4"},[e("span",{staticClass:"font-semibold"},[t._v(t._s(t.__("Marks/Points"))+":")]),t._v(" "),e("span",{staticClass:"ltr:ml-2 rtl:mr-2"},[t._v(t._s(t.question.marks)+" XP")])]),t._v(" "),e("li",{staticClass:"text-gray-600 flex text-sm items-center mb-4"},[e("span",{staticClass:"font-semibold"},[t._v(t._s(t.__("Attachment"))+":")]),t._v(" "),e("span",{staticClass:"ltr:ml-2 rtl:mr-2"},[t._v(t._s(t.__(t.question.attachment)))])])]),t._v(" "),e("div",{staticClass:"mt-4 flex justify-between items-center"},[e("h5",{staticClass:"inline-block bg-gray-100 rounded-sm px-2 py-1 text-xs leading-3 text-gray-700"},[t._v(t._s(t.question.code))]),t._v(" "),t._t("action")],2)])}),[],!1,null,null,null).exports},56274:(t,s,e)=>{e.d(s,{Z:()=>n});const i={name:"MSAPreview",props:{question:Object},data:function(){return{collapse:!0}},created:function(){this.$nextTick((function(){window.renderMathInElement(this.$el)}))}};const n=(0,e(51900).Z)(i,(function(){var t=this,s=t.$createElement,e=t._self._c||s;return e("div",{staticClass:"bg-white shadow px-4 py-5 border-b-4 border-gray-800 mb-6"},[e("h5",{staticClass:"inline-block bg-green-100 rounded-sm px-2 py-1 mb-4 text-xs leading-3 text-green-700"},[t._v(t._s(t.question.skill))]),t._v(" "),e("div",{staticClass:"q-data mb-4"},[e("div",{staticClass:"text-sm",domProps:{innerHTML:t._s(t.question.question)}})]),t._v(" "),e("div",{directives:[{name:"show",rawName:"v-show",value:!t.collapse,expression:"!collapse"}],attrs:{id:t.question.code+"_options"}},t._l(t.question.options,(function(s,i){return e("ul",{staticClass:"q-option"},[e("li",{staticClass:"relative flex items-center mb-3 cursor-pointer p-3 rounded-sm border border-gray-200"},[e("div",{staticClass:"h-6 w-6 flex rounded-full items-center justify-center bg-gray-100 text-sm"},[t._v(t._s(i+1))]),t._v(" "),e("div",{staticClass:"text-sm font-normal ltr:ml-4 rtl:mr-4",domProps:{innerHTML:t._s(s.option)}}),t._v(" "),t.question.correct_answer===i+1?e("div",{staticClass:"absolute ltr:right-2 rtl:left-2 text-green-500"},[e("svg",{staticClass:"w-6 h-6",attrs:{fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"}},[e("path",{attrs:{"stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M9 12l2 2 4-4m6 2a9 9 0 11-18 0 9 9 0 0118 0z"}})])]):t._e()])])})),0),t._v(" "),e("a",{staticClass:"qt-link-success text-sm mb-4",domProps:{innerHTML:t._s(t.collapse?t.__("View Options"):t.__("Hide Options"))},on:{click:function(s){t.collapse=!t.collapse}}}),t._v(" "),e("ul",{staticClass:"mt-5"},[e("li",{staticClass:"text-gray-600 flex items-center text-sm mb-4"},[e("span",{staticClass:"font-semibold"},[t._v(t._s(t.__("Question Type"))+":")]),t._v(" "),e("span",{staticClass:"ltr:ml-2 rtl:mr-2"},[t._v(t._s(t.question.question_type_name))])]),t._v(" "),e("li",{staticClass:"text-gray-600 flex items-center text-sm mb-4"},[e("span",{staticClass:"font-semibold"},[t._v(t._s(t.__("Difficulty Level"))+":")]),t._v(" "),e("span",{staticClass:"ltr:ml-2 rtl:mr-2"},[t._v(t._s(t.question.difficulty))])]),t._v(" "),e("li",{staticClass:"text-gray-600 flex items-center text-sm mb-4"},[e("span",{staticClass:"font-semibold"},[t._v(t._s(t.__("Marks/Points"))+":")]),t._v(" "),e("span",{staticClass:"ltr:ml-2 rtl:mr-2"},[t._v(t._s(t.question.marks)+" XP")])]),t._v(" "),e("li",{staticClass:"text-gray-600 flex items-center text-sm mb-4"},[e("span",{staticClass:"font-semibold"},[t._v(t._s(t.__("Attachment"))+":")]),t._v(" "),e("span",{staticClass:"ltr:ml-2 rtl:mr-2"},[t._v(t._s(t.__(t.question.attachment)))])])]),t._v(" "),e("div",{staticClass:"mt-4 flex justify-between items-center"},[e("h5",{staticClass:"inline-block bg-gray-100 rounded-sm px-2 py-1 text-xs leading-3 text-gray-700"},[t._v(t._s(t.question.code))]),t._v(" "),t._t("action")],2)])}),[],!1,null,null,null).exports},11936:(t,s,e)=>{e.d(s,{Z:()=>n});const i={name:"MTFPreview",props:{question:Object},data:function(){return{collapse:!0}},created:function(){this.$nextTick((function(){window.renderMathInElement(this.$el)}))}};const n=(0,e(51900).Z)(i,(function(){var t=this,s=t.$createElement,e=t._self._c||s;return e("div",{staticClass:"bg-white shadow px-4 py-5 border-b-4 border-gray-800 mb-6"},[e("h5",{staticClass:"inline-block bg-green-100 rounded-sm px-2 py-1 mb-4 text-xs leading-3 text-green-700"},[t._v(t._s(t.question.skill))]),t._v(" "),e("div",{staticClass:"q-data mb-4"},[e("div",{staticClass:"text-sm",domProps:{innerHTML:t._s(t.question.question)}})]),t._v(" "),e("div",{directives:[{name:"show",rawName:"v-show",value:!t.collapse,expression:"!collapse"}],attrs:{id:t.question.code+"_options"}},t._l(t.question.options,(function(s,i){return e("ul",{staticClass:"q-option"},[e("li",{staticClass:"flex items-center mb-3 cursor-pointer p-3 rounded-sm border border-gray-200"},[e("div",{staticClass:"h-6 w-6 text-sm flex rounded-full items-center justify-center bg-gray-100 "},[t._v(t._s(i+1))]),t._v(" "),e("div",{staticClass:"text-sm font-normal mx-4",domProps:{innerHTML:t._s(s.option)}}),t._v(" "),e("svg",{staticClass:"w-5 h-5",attrs:{fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"}},[e("path",{attrs:{"stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M17 8l4 4m0 0l-4 4m4-4H3"}})]),t._v(" "),e("div",{staticClass:"text-sm font-normal ltr:ml-4 rtl:mr-4",domProps:{innerHTML:t._s(s.pair)}})])])})),0),t._v(" "),e("a",{staticClass:"qt-link-success text-sm mb-4",domProps:{innerHTML:t._s(t.collapse?t.__("View Options"):t.__("Hide Options"))},on:{click:function(s){t.collapse=!t.collapse}}}),t._v(" "),e("ul",{staticClass:"mt-5"},[e("li",{staticClass:"text-gray-600 text-sm flex items-center mb-4"},[e("span",{staticClass:"font-semibold"},[t._v(t._s(t.__("Question Type"))+":")]),t._v(" "),e("span",{staticClass:"ltr:ml-2 rtl:mr-2"},[t._v(t._s(t.question.question_type_name))])]),t._v(" "),e("li",{staticClass:"text-gray-600 text-sm flex items-center mb-4"},[e("span",{staticClass:"font-semibold"},[t._v(t._s(t.__("Difficulty Level"))+":")]),t._v(" "),e("span",{staticClass:"ltr:ml-2 rtl:mr-2"},[t._v(t._s(t.question.difficulty))])]),t._v(" "),e("li",{staticClass:"text-gray-600 text-sm flex items-center mb-4"},[e("span",{staticClass:"font-semibold"},[t._v(t._s(t.__("Marks/Points"))+":")]),t._v(" "),e("span",{staticClass:"ltr:ml-2 rtl:mr-2"},[t._v(t._s(t.question.marks)+" XP")])]),t._v(" "),e("li",{staticClass:"text-gray-600 text-sm flex items-center text-sm mb-4"},[e("span",{staticClass:"font-semibold"},[t._v(t._s(t.__("Attachment"))+":")]),t._v(" "),e("span",{staticClass:"text-sm ltr:ml-2 rtl:mr-2"},[t._v(t._s(t.__(t.question.attachment)))])])]),t._v(" "),e("div",{staticClass:"mt-4 flex justify-between items-center"},[e("h5",{staticClass:"inline-block bg-gray-100 rounded-sm px-2 py-1 text-xs leading-3 text-gray-700"},[t._v(t._s(t.question.code))]),t._v(" "),t._t("action")],2)])}),[],!1,null,null,null).exports},57840:(t,s,e)=>{e.d(s,{Z:()=>n});const i={name:"ORDPreview",props:{question:Object},data:function(){return{collapse:!0}},created:function(){this.$nextTick((function(){window.renderMathInElement(this.$el)}))}};const n=(0,e(51900).Z)(i,(function(){var t=this,s=t.$createElement,e=t._self._c||s;return e("div",{staticClass:"bg-white shadow px-4 py-5 border-b-4 border-gray-800 mb-6"},[e("h5",{staticClass:"inline-block bg-green-100 rounded-sm px-2 py-1 mb-4 text-xs leading-3 text-green-700"},[t._v(t._s(t.question.skill))]),t._v(" "),e("div",{staticClass:"q-data mb-4"},[e("div",{staticClass:"text-sm",domProps:{innerHTML:t._s(t.question.question)}})]),t._v(" "),e("div",{directives:[{name:"show",rawName:"v-show",value:!t.collapse,expression:"!collapse"}],attrs:{id:t.question.code+"_options"}},t._l(t.question.options,(function(s,i){return e("ul",{staticClass:"q-option"},[e("li",{staticClass:"flex items-center mb-3 cursor-pointer p-3 rounded-sm border border-gray-200"},[e("div",{staticClass:"h-6 w-6 flex rounded-full items-center justify-center bg-gray-100 "},[t._v(t._s(i+1))]),t._v(" "),e("div",{staticClass:"text-sm font-normal ltr:ml-4 rtl:mr-4",domProps:{innerHTML:t._s(s.option)}})])])})),0),t._v(" "),e("a",{staticClass:"qt-link-success text-sm mb-4",domProps:{innerHTML:t._s(t.collapse?t.__("View Options"):t.__("Hide Options"))},on:{click:function(s){t.collapse=!t.collapse}}}),t._v(" "),e("ul",{staticClass:"mt-5"},[e("li",{staticClass:"text-gray-600 text-sm flex items-center mb-4"},[e("span",{staticClass:"font-semibold"},[t._v(t._s(t.__("Question Type"))+":")]),t._v(" "),e("span",{staticClass:"text-sm ltr:ml-2 rtl:mr-2"},[t._v(t._s(t.question.question_type_name))])]),t._v(" "),e("li",{staticClass:"text-gray-600 text-sm flex items-center mb-4"},[e("span",{staticClass:"font-semibold"},[t._v(t._s(t.__("Difficulty Level"))+":")]),t._v(" "),e("span",{staticClass:"text-sm ltr:ml-2 rtl:mr-2"},[t._v(t._s(t.question.difficulty))])]),t._v(" "),e("li",{staticClass:"text-gray-600 text-sm flex items-center mb-4"},[e("span",{staticClass:"font-semibold"},[t._v(t._s(t.__("Marks/Points"))+":")]),t._v(" "),e("span",{staticClass:"text-sm ltr:ml-2 rtl:mr-2"},[t._v(t._s(t.question.marks)+" XP")])]),t._v(" "),e("li",{staticClass:"text-gray-600 text-sm flex items-center mb-4"},[e("span",{staticClass:"font-semibold"},[t._v(t._s(t.__("Attachment"))+":")]),t._v(" "),e("span",{staticClass:"text-sm ltr:ml-2 rtl:mr-2"},[t._v(t._s(t.__(t.question.attachment)))])])]),t._v(" "),e("div",{staticClass:"mt-4 flex justify-between items-center"},[e("h5",{staticClass:"inline-block bg-gray-100 rounded-sm px-2 py-1 text-xs leading-3 text-gray-700"},[t._v(t._s(t.question.code))]),t._v(" "),t._t("action")],2)])}),[],!1,null,null,null).exports},80579:(t,s,e)=>{e.d(s,{Z:()=>n});const i={name:"SAQPreview",props:{question:Object},data:function(){return{collapse:!0}},created:function(){this.$nextTick((function(){window.renderMathInElement(this.$el)}))}};const n=(0,e(51900).Z)(i,(function(){var t=this,s=t.$createElement,e=t._self._c||s;return e("div",{staticClass:"bg-white shadow px-4 py-5 border-b-4 border-gray-800 mb-6"},[e("h5",{staticClass:"inline-block bg-green-100 rounded-sm px-2 py-1 mb-4 text-xs leading-3 text-green-700"},[t._v(t._s(t.question.skill))]),t._v(" "),e("div",{staticClass:"q-data mb-4"},[e("div",{staticClass:"text-sm",domProps:{innerHTML:t._s(t.question.question)}})]),t._v(" "),e("div",{directives:[{name:"show",rawName:"v-show",value:!t.collapse,expression:"!collapse"}],attrs:{id:t.question.code+"_options"}},t._l(t.question.options,(function(s,i){return e("ul",{staticClass:"q-option"},[e("li",{staticClass:"flex items-center mb-3 cursor-pointer p-3 rounded-sm border border-gray-200"},[e("div",{staticClass:"text-sm h-6 w-6 flex rounded-full items-center justify-center bg-gray-100 "},[t._v(t._s(i+1))]),t._v(" "),e("div",{staticClass:"text-sm font-normal ltr:ml-4 rtl:mr-4",domProps:{innerHTML:t._s(s.option)}})])])})),0),t._v(" "),e("a",{staticClass:"qt-link-success text-sm mb-4",domProps:{innerHTML:t._s(t.collapse?t.__("View Answers"):t.__("Hide Answers"))},on:{click:function(s){t.collapse=!t.collapse}}}),t._v(" "),e("ul",{staticClass:"mt-5"},[e("li",{staticClass:"text-gray-600 text-sm flex items-center mb-4"},[e("span",{staticClass:"font-semibold"},[t._v(t._s(t.__("Question Type"))+":")]),t._v(" "),e("span",{staticClass:"ltr:ml-2 rtl:mr-2"},[t._v(t._s(t.question.question_type_name))])]),t._v(" "),e("li",{staticClass:"text-gray-600 text-sm flex items-center mb-4"},[e("span",{staticClass:"font-semibold"},[t._v(t._s(t.__("Difficulty Level"))+":")]),t._v(" "),e("span",{staticClass:"ltr:ml-2 rtl:mr-2"},[t._v(t._s(t.question.difficulty))])]),t._v(" "),e("li",{staticClass:"text-gray-600 text-sm flex items-center mb-4"},[e("span",{staticClass:"font-semibold"},[t._v(t._s(t.__("Marks/Points"))+":")]),t._v(" "),e("span",{staticClass:" ltr:ml-2 rtl:mr-2"},[t._v(t._s(t.question.marks)+" XP")])]),t._v(" "),e("li",{staticClass:"text-gray-600 text-sm flex items-center mb-4"},[e("span",{staticClass:"font-semibold"},[t._v(t._s(t.__("Attachment"))+":")]),t._v(" "),e("span",{staticClass:" ltr:ml-2 rtl:mr-2"},[t._v(t._s(t.__(t.question.attachment)))])])]),t._v(" "),e("div",{staticClass:"mt-4 flex justify-between items-center"},[e("h5",{staticClass:"inline-block bg-gray-100 rounded-sm px-2 py-1 text-xs leading-3 text-gray-700"},[t._v(t._s(t.question.code))]),t._v(" "),t._t("action")],2)])}),[],!1,null,null,null).exports},43624:(t,s,e)=>{e.d(s,{Z:()=>n});const i={name:"TOFPreview",props:{question:Object},data:function(){return{collapse:!0}},created:function(){this.$nextTick((function(){window.renderMathInElement(this.$el)}))}};const n=(0,e(51900).Z)(i,(function(){var t=this,s=t.$createElement,e=t._self._c||s;return e("div",{staticClass:"bg-white shadow px-4 py-5 border-b-4 border-gray-800 mb-6"},[e("h5",{staticClass:"inline-block bg-green-100 rounded-sm px-2 py-1 mb-4 text-xs leading-3 text-green-700"},[t._v(t._s(t.question.skill))]),t._v(" "),e("div",{staticClass:"q-data mb-4"},[e("div",{staticClass:"text-sm",domProps:{innerHTML:t._s(t.question.question)}})]),t._v(" "),e("div",{directives:[{name:"show",rawName:"v-show",value:!t.collapse,expression:"!collapse"}],attrs:{id:t.question.code+"_options"}},t._l(t.question.options,(function(s,i){return e("ul",{staticClass:"q-option"},[e("li",{staticClass:"relative flex items-center mb-3 cursor-pointer p-3 rounded-sm border border-gray-200"},[e("div",{staticClass:"h-6 w-6 flex rounded-full items-center justify-center bg-gray-100 text-sm"},[t._v(t._s(i+1))]),t._v(" "),e("div",{staticClass:"font-normal text-sm ltr:ml-4 rtl:mr-4",domProps:{innerHTML:t._s(s.option)}}),t._v(" "),t.question.correct_answer===i+1?e("div",{staticClass:"absolute ltr:right-2 rtl:left-2 text-green-500"},[e("svg",{staticClass:"w-6 h-6",attrs:{fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"}},[e("path",{attrs:{"stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M9 12l2 2 4-4m6 2a9 9 0 11-18 0 9 9 0 0118 0z"}})])]):t._e()])])})),0),t._v(" "),e("a",{staticClass:"qt-link-success text-sm mb-4",domProps:{innerHTML:t._s(t.collapse?t.__("View Options"):t.__("Hide Options"))},on:{click:function(s){t.collapse=!t.collapse}}}),t._v(" "),e("ul",{staticClass:"mt-5"},[e("li",{staticClass:"text-gray-600 text-sm flex items-center mb-4"},[e("span",{staticClass:"font-semibold"},[t._v(t._s(t.__("Question Type"))+":")]),t._v(" "),e("span",{staticClass:"ltr:ml-2 rtl:mr-2"},[t._v(t._s(t.question.question_type_name))])]),t._v(" "),e("li",{staticClass:"text-gray-600 text-sm flex items-center mb-4"},[e("span",{staticClass:"font-semibold"},[t._v(t._s(t.__("Difficulty Level"))+":")]),t._v(" "),e("span",{staticClass:"ltr:ml-2 rtl:mr-2"},[t._v(t._s(t.question.difficulty))])]),t._v(" "),e("li",{staticClass:"text-gray-600 text-sm flex items-center mb-4"},[e("span",{staticClass:"font-semibold"},[t._v(t._s(t.__("Marks/Points"))+":")]),t._v(" "),e("span",{staticClass:"ltr:ml-2 rtl:mr-2"},[t._v(t._s(t.question.marks)+" XP")])]),t._v(" "),e("li",{staticClass:"text-gray-600 text-sm flex items-center mb-4"},[e("span",{staticClass:"font-semibold"},[t._v(t._s(t.__("Attachment"))+":")]),t._v(" "),e("span",{staticClass:"ltr:ml-2 rtl:mr-2"},[t._v(t._s(t.__(t.question.attachment)))])])]),t._v(" "),e("div",{staticClass:"mt-4 flex justify-between items-center"},[e("h5",{staticClass:"inline-block bg-gray-100 rounded-sm px-2 py-1 text-xs leading-3 text-gray-700"},[t._v(t._s(t.question.code))]),t._v(" "),t._t("action")],2)])}),[],!1,null,null,null).exports},91026:(t,s,e)=>{e.d(s,{Z:()=>n});const i={name:"FormInputShimmer",components:{Skeleton:e(80247).default}};const n=(0,e(51900).Z)(i,(function(){var t=this,s=t.$createElement,e=t._self._c||s;return e("div",{staticClass:"mb-6"},[e("Skeleton",{staticClass:"mb-2",attrs:{width:"10rem"}}),t._v(" "),e("Skeleton",{attrs:{height:"2rem"}})],1)}),[],!1,null,null,null).exports},57593:(t,s,e)=>{e.r(s),e.d(s,{default:()=>x});var i=e(91026),n=e(39283),a=e(26216),l=e(93046),r=e(43624),o=e(40863),c=e(80579),m=e(57840),_=e(11936),u=e(50986),d=e(92755),v=e(56274);const p={name:"QuestionPreview",components:{FormInputShimmer:i.Z,ArcLabel:n.Z,ArcInputError:a.Z,ArcButton:l.Z,TOFPreview:r.Z,LAQPreview:o.Z,SAQPreview:c.Z,ORDPreview:m.Z,MTFPreview:_.Z,FIBPreview:u.Z,MMAPreview:d.Z,MSAPreview:v.Z},props:{questionId:Number,errors:Object,title:""},data:function(){return{question:Object,loading:!1}},methods:{fetch:function(){var t=this;t.loading=!0,axios.get(route("questions.show",{id:this.questionId})).then((function(s){t.question=s.data})).catch((function(s){t.loading=!1})).then((function(){t.loading=!1}))}},mounted:function(){this.fetch()}};const x=(0,e(51900).Z)(p,(function(){var t=this,s=t.$createElement,e=t._self._c||s;return e("div",{staticClass:"overflow-y-auto h-screen px-2"},[e("div",{staticClass:"bg-gray-100 py-4 lg:py-4 rounded"},[e("div",{staticClass:"container px-6 mx-auto flex ltr:flex-row rtl:flex-row-reverse"},[e("div",[e("h4",{staticClass:"text-base font-semibold leading-tight text-gray-800"},[t._v("\n "+t._s(t.title)+"\n ")])])])]),t._v(" "),t.loading?e("div",{staticClass:"my-6 w-11/12 mx-auto xl:w-full xl:mx-0"},[e("form-input-shimmer"),t._v(" "),e("form-input-shimmer"),t._v(" "),e("form-input-shimmer")],1):e("div",{staticClass:"mt-6 w-11/12 mx-auto xl:w-full xl:mx-0"},[e("div",{staticClass:"grid grid-cols-1 gap-4 flex-wrap"},["MSA"===t.question.question_type?[e("MSAPreview",{attrs:{question:t.question}})]:t._e(),t._v(" "),"MMA"===t.question.question_type?[e("MMAPreview",{attrs:{question:t.question}})]:t._e(),t._v(" "),"TOF"===t.question.question_type?[e("TOFPreview",{attrs:{question:t.question}})]:t._e(),t._v(" "),"FIB"===t.question.question_type?[e("FIBPreview",{attrs:{question:t.question}})]:t._e(),t._v(" "),"MTF"===t.question.question_type?[e("MTFPreview",{attrs:{question:t.question}})]:t._e(),t._v(" "),"ORD"===t.question.question_type?[e("ORDPreview",{attrs:{question:t.question}})]:t._e(),t._v(" "),"SAQ"===t.question.question_type?[e("SAQPreview",{attrs:{question:t.question}})]:t._e()],2)])])}),[],!1,null,null,null).exports}}]);