����JFIF��x�x����'
Server IP : 66.29.137.217 / Your IP : 18.219.133.22 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 : |
(self.webpackChunk=self.webpackChunk||[]).push([[757],{99342:(t,e,s)=>{"use strict";s.d(e,{Z:()=>a});var r=s(23645),n=s.n(r)()((function(t){return t[1]}));n.push([t.id,".q-chip[data-v-3e836949]{height:40px;width:40px}.q-chip-sno[data-v-3e836949]{height:30px;width:40px}.q-chip-status[data-v-3e836949]{height:10px;width:40px}",""]);const a=n},46700:(t,e,s)=>{var r={"./af":42786,"./af.js":42786,"./ar":30867,"./ar-dz":14130,"./ar-dz.js":14130,"./ar-kw":96135,"./ar-kw.js":96135,"./ar-ly":56440,"./ar-ly.js":56440,"./ar-ma":47702,"./ar-ma.js":47702,"./ar-sa":16040,"./ar-sa.js":16040,"./ar-tn":37100,"./ar-tn.js":37100,"./ar.js":30867,"./az":31083,"./az.js":31083,"./be":9808,"./be.js":9808,"./bg":68338,"./bg.js":68338,"./bm":67438,"./bm.js":67438,"./bn":8905,"./bn-bd":76225,"./bn-bd.js":76225,"./bn.js":8905,"./bo":11560,"./bo.js":11560,"./br":1278,"./br.js":1278,"./bs":80622,"./bs.js":80622,"./ca":2468,"./ca.js":2468,"./cs":5822,"./cs.js":5822,"./cv":50877,"./cv.js":50877,"./cy":47373,"./cy.js":47373,"./da":24780,"./da.js":24780,"./de":59740,"./de-at":60217,"./de-at.js":60217,"./de-ch":60894,"./de-ch.js":60894,"./de.js":59740,"./dv":5300,"./dv.js":5300,"./el":50837,"./el.js":50837,"./en-au":78348,"./en-au.js":78348,"./en-ca":77925,"./en-ca.js":77925,"./en-gb":22243,"./en-gb.js":22243,"./en-ie":46436,"./en-ie.js":46436,"./en-il":47207,"./en-il.js":47207,"./en-in":44175,"./en-in.js":44175,"./en-nz":76319,"./en-nz.js":76319,"./en-sg":31662,"./en-sg.js":31662,"./eo":92915,"./eo.js":92915,"./es":55655,"./es-do":55251,"./es-do.js":55251,"./es-mx":96112,"./es-mx.js":96112,"./es-us":71146,"./es-us.js":71146,"./es.js":55655,"./et":5603,"./et.js":5603,"./eu":77763,"./eu.js":77763,"./fa":76959,"./fa.js":76959,"./fi":11897,"./fi.js":11897,"./fil":42549,"./fil.js":42549,"./fo":94694,"./fo.js":94694,"./fr":94470,"./fr-ca":63049,"./fr-ca.js":63049,"./fr-ch":52330,"./fr-ch.js":52330,"./fr.js":94470,"./fy":5044,"./fy.js":5044,"./ga":29295,"./ga.js":29295,"./gd":2101,"./gd.js":2101,"./gl":38794,"./gl.js":38794,"./gom-deva":27884,"./gom-deva.js":27884,"./gom-latn":23168,"./gom-latn.js":23168,"./gu":95349,"./gu.js":95349,"./he":24206,"./he.js":24206,"./hi":30094,"./hi.js":30094,"./hr":30316,"./hr.js":30316,"./hu":22138,"./hu.js":22138,"./hy-am":11423,"./hy-am.js":11423,"./id":29218,"./id.js":29218,"./is":90135,"./is.js":90135,"./it":90626,"./it-ch":10150,"./it-ch.js":10150,"./it.js":90626,"./ja":39183,"./ja.js":39183,"./jv":24286,"./jv.js":24286,"./ka":12105,"./ka.js":12105,"./kk":47772,"./kk.js":47772,"./km":18758,"./km.js":18758,"./kn":79282,"./kn.js":79282,"./ko":33730,"./ko.js":33730,"./ku":1408,"./ku.js":1408,"./ky":33291,"./ky.js":33291,"./lb":36841,"./lb.js":36841,"./lo":55466,"./lo.js":55466,"./lt":57010,"./lt.js":57010,"./lv":37595,"./lv.js":37595,"./me":39861,"./me.js":39861,"./mi":35493,"./mi.js":35493,"./mk":95966,"./mk.js":95966,"./ml":87341,"./ml.js":87341,"./mn":5115,"./mn.js":5115,"./mr":10370,"./mr.js":10370,"./ms":9847,"./ms-my":41237,"./ms-my.js":41237,"./ms.js":9847,"./mt":72126,"./mt.js":72126,"./my":56165,"./my.js":56165,"./nb":64924,"./nb.js":64924,"./ne":16744,"./ne.js":16744,"./nl":93901,"./nl-be":59814,"./nl-be.js":59814,"./nl.js":93901,"./nn":83877,"./nn.js":83877,"./oc-lnc":92135,"./oc-lnc.js":92135,"./pa-in":15858,"./pa-in.js":15858,"./pl":64495,"./pl.js":64495,"./pt":89520,"./pt-br":57971,"./pt-br.js":57971,"./pt.js":89520,"./ro":96459,"./ro.js":96459,"./ru":21793,"./ru.js":21793,"./sd":40950,"./sd.js":40950,"./se":10490,"./se.js":10490,"./si":90124,"./si.js":90124,"./sk":64249,"./sk.js":64249,"./sl":14985,"./sl.js":14985,"./sq":51104,"./sq.js":51104,"./sr":49131,"./sr-cyrl":79915,"./sr-cyrl.js":79915,"./sr.js":49131,"./ss":85893,"./ss.js":85893,"./sv":98760,"./sv.js":98760,"./sw":91172,"./sw.js":91172,"./ta":27333,"./ta.js":27333,"./te":23110,"./te.js":23110,"./tet":52095,"./tet.js":52095,"./tg":27321,"./tg.js":27321,"./th":9041,"./th.js":9041,"./tk":19005,"./tk.js":19005,"./tl-ph":75768,"./tl-ph.js":75768,"./tlh":89444,"./tlh.js":89444,"./tr":72397,"./tr.js":72397,"./tzl":28254,"./tzl.js":28254,"./tzm":51106,"./tzm-latn":30699,"./tzm-latn.js":30699,"./tzm.js":51106,"./ug-cn":9288,"./ug-cn.js":9288,"./uk":67691,"./uk.js":67691,"./ur":13795,"./ur.js":13795,"./uz":6791,"./uz-latn":60588,"./uz-latn.js":60588,"./uz.js":6791,"./vi":65666,"./vi.js":65666,"./x-pseudo":14378,"./x-pseudo.js":14378,"./yo":75805,"./yo.js":75805,"./zh-cn":83839,"./zh-cn.js":83839,"./zh-hk":55726,"./zh-hk.js":55726,"./zh-mo":99807,"./zh-mo.js":99807,"./zh-tw":74152,"./zh-tw.js":74152};function n(t){var e=a(t);return s(e)}function a(t){if(!s.o(r,t)){var e=new Error("Cannot find module '"+t+"'");throw e.code="MODULE_NOT_FOUND",e}return r[t]}n.keys=function(){return Object.keys(r)},n.resolve=a,t.exports=n,n.id=46700},51473:(t,e,s)=>{"use strict";s.d(e,{Z:()=>i});var r=s(17757),n=s.n(r);const a={extends:s(56663).$I,props:{chartData:{type:Object,default:null},elementText:{type:String,default:""}},mounted:function(){n().pluginService.register({beforeDraw:function(t){if(t.config.options.elements.center){var e=t.chart.ctx,s=t.config.options.elements.center,r=s.fontStyle||"Arial",n=s.text,a=s.color||"#000",i=s.maxFontSize||75,o=(s.sidePadding||20)/100*(2*t.innerRadius);e.font="30px "+r;var l=e.measureText(n).width,c=2*t.innerRadius-o,d=c/l,u=Math.floor(30*d),p=2*t.innerRadius,m=Math.min(u,p,i),v=s.minFontSize,h=s.lineHeight||25,g=!1;void 0===v&&(v=20),v&&m<v&&(m=v,g=!0),e.textAlign="center",e.textBaseline="middle";var _=(t.chartArea.left+t.chartArea.right)/2,f=(t.chartArea.top+t.chartArea.bottom)/2;if(e.font=m+"px "+r,e.fillStyle=a,!g)return void e.fillText(n,_,f);for(var x=n.split(" "),w="",b=[],y=0;y<x.length;y++){var C=w+x[y]+" ";e.measureText(C).width>c&&y>0?(b.push(w),w=x[y]+" "):w=C}f-=b.length/2*h;for(var k=0;k<b.length;k++)e.fillText(b[k],_,f),f+=h;e.fillText(w,_,f)}}}),this.renderChart(this.chartData,{responsive:!0,cutoutPercentage:90,legend:{display:!1},elements:{center:{text:this.elementText,color:"#495057",fontStyle:"Inter",sidePadding:20,minFontSize:12,newFontSize:12,lineHeight:25}}})}};const i=(0,s(51900).Z)(a,undefined,undefined,!1,null,null,null).exports},97618:(t,e,s)=>{"use strict";s.d(e,{Z:()=>r});const r=(0,s(51900).Z)({},(function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("svg",{attrs:{xmlns:"http://www.w3.org/2000/svg",width:"50",height:"50",viewBox:"0 0 50 50"}},[s("g",{attrs:{id:"Icon",transform:"translate(13 344)"}},[s("g",{attrs:{id:"circle",transform:"translate(-29 -361.14)"}},[s("circle",{attrs:{id:"bg_circle",cx:"25",cy:"25",r:"25",transform:"translate(16 17.14)",fill:"#25c16f"}}),t._v(" "),s("path",{attrs:{id:"white_ring",d:"M20,0A19.969,19.969,0,0,1,37.151,30.248c-.712,1.229-2.946,1.654-4.181,2.926-1.2,1.235-1.426,3.291-3.258,4.338A20.011,20.011,0,1,1,20,0Z",transform:"translate(21 22.14)",fill:"#fff"}}),t._v(" "),s("circle",{attrs:{id:"green_ring",cx:"15",cy:"15",r:"15",transform:"translate(26 27.14)",fill:"#25c16f"}})]),t._v(" "),s("g",{attrs:{id:"cursor",transform:"matrix(1, -0.017, 0.017, 1, 10.797, -319.593)"}},[s("path",{attrs:{id:"right",d:"M10.286,23.465a.687.687,0,0,1-.63-.413L.057.962a.687.687,0,0,1,.9-.9l22.09,9.6a.687.687,0,0,1-.073,1.288L16.249,13A4.885,4.885,0,0,0,13,16.249l-2.058,6.73a.687.687,0,0,1-.619.485Z",transform:"translate(0 0)",fill:"#fff"}}),t._v(" "),s("path",{attrs:{id:"left",d:"M27.244,9.657,5.154.058A.688.688,0,0,0,4.394.2h0L18.412,14.221A4.887,4.887,0,0,1,20.441,13l6.73-2.058a.687.687,0,0,0,.073-1.288Z",transform:"translate(-4.192 -0.001)",fill:"#fff"}})])])])}),[],!1,null,null,null).exports},60651:(t,e,s)=>{"use strict";s.d(e,{Z:()=>n});const r={data:function(){return{show:!0}},computed:{style:function(){var t;return(null===(t=this.$page.props.jetstream.flash)||void 0===t?void 0:t.bannerStyle)||"success"},message:function(){var t;return(null===(t=this.$page.props.jetstream.flash)||void 0===t?void 0:t.banner)||""}}};const n=(0,s(51900).Z)(r,(function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",[t.show&&t.message?s("div",{class:{"bg-indigo-500":"success"==t.style,"bg-red-700":"danger"==t.style}},[s("div",{staticClass:"max-w-screen-xl mx-auto py-2 px-3 sm:px-6 lg:px-8"},[s("div",{staticClass:"flex items-center justify-between flex-wrap"},[s("div",{staticClass:"w-0 flex-1 flex items-center min-w-0"},[s("span",{staticClass:"flex p-2 rounded-md",class:{"bg-indigo-600":"success"==t.style,"bg-red-600":"danger"==t.style}},["success"==t.style?s("svg",{staticClass:"h-5 w-5 text-white",attrs:{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor"}},[s("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(),t._v(" "),"danger"==t.style?s("svg",{staticClass:"h-5 w-5 text-white",attrs:{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor"}},[s("path",{attrs:{"stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M12 9v2m0 4h.01m-6.938 4h13.856c1.54 0 2.502-1.667 1.732-3L13.732 4c-.77-1.333-2.694-1.333-3.464 0L3.34 16c-.77 1.333.192 3 1.732 3z"}})]):t._e()]),t._v(" "),s("p",{staticClass:"ml-3 font-medium text-white truncate"},[t._v("\n "+t._s(t.message)+"\n ")])]),t._v(" "),s("div",{staticClass:"flex-shrink-0 sm:ml-3"},[s("button",{staticClass:"-mr-1 flex p-2 rounded-md focus:outline-none sm:-mr-2 transition ease-in-out duration-150",class:{"hover:bg-indigo-600 focus:bg-indigo-600":"success"==t.style,"hover:bg-red-600 focus:bg-red-600":"danger"==t.style},attrs:{type:"button","aria-label":"Dismiss"},on:{click:function(e){e.preventDefault(),t.show=!1}}},[s("svg",{staticClass:"h-5 w-5 text-white",attrs:{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor"}},[s("path",{attrs:{"stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M6 18L18 6M6 6l12 12"}})])])])])])]):t._e()])}),[],!1,null,null,null).exports},75521:(t,e,s)=>{"use strict";s.d(e,{Z:()=>l});const r={name:"QuestionChip",props:{sno:Number|String,status:{type:String,default:""},isActive:{type:Boolean,default:!1}},computed:{statusClasses:function(){switch(this.status){case"success":return"bg-green-400";case"warning":return"bg-purple-400";case"caution":return"bg-yellow-400";case"danger":return"bg-red-400";default:return"bg-gray-400"}},chipClasses:function(){return this.isActive?"bg-gray-100":""},textClasses:function(){return this.isActive?"text-gray-800":"text-gray-400"},borderClasses:function(){switch(this.status){case"success":return"border-green-400";case"warning":return"border-purple-400";case"caution":return"border-yellow-400";case"danger":return"border-red-400";default:return"border-gray-400"}}}};var n=s(93379),a=s.n(n),i=s(99342),o={insert:"head",singleton:!1};a()(i.Z,o);i.Z.locals;const l=(0,s(51900).Z)(r,(function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{staticClass:"q-chip relative text-sm flex flex-col items-center justify-between border border-b-0 rounded-sm",class:[t.chipClasses,t.borderClasses]},[s("span",{staticClass:"q-chip-sno flex justify-center items-center",class:[t.textClasses]},[t._v(t._s(t.sno))]),t._v(" "),s("span",{staticClass:"q-chip-status overflow-hidden text-white absolute bottom-0 h-3 rounded-bl-sm rounded-br-sm",class:[t.statusClasses,t.borderClasses]})])}),[],!1,null,"3e836949",null).exports},15236:(t,e,s)=>{"use strict";s.d(e,{Z:()=>o});var r=s(30281),n=s(60118),a=s(72522);const i={name:"PracticeQuestionCard",components:{AudioAttachment:r.Z,VideoAttachment:n.Z,ComprehensionAttachment:a.Z},props:{question:Object,sno:Number,totalQuestions:Number,attachmentType:String,attachment:[String,Object]},created:function(){this.$nextTick((function(){window.renderMathInElement(this.$el)}))}};const o=(0,s(51900).Z)(i,(function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{staticClass:"border rounded border-gray-200 bg-gray-50 p-6 shadow-sm"},[s("div",{staticClass:"flex gap-2 mb-4"},[s("span",{staticClass:"text-sm font-semibold"},[t._v("Q"+t._s(t.sno)+" of "+t._s(t.totalQuestions))]),t._v(" "),s("span",{staticClass:"text-sm"},[t._v("|")]),t._v(" "),s("span",{staticClass:"text-sm text-gray-600 uppercase"},[t._v(t._s(t.question.skill))])]),t._v(" "),null!=t.attachmentType?s("div",{staticClass:"mb-4"},["audio"===t.attachmentType?s("div",[s("audio-attachment",{attrs:{reference:"player_"+t.question.code,options:t.attachment}})],1):t._e(),t._v(" "),"video"===t.attachmentType?s("div",[s("video-attachment",{attrs:{reference:"player_"+t.question.code,options:t.attachment}})],1):t._e(),t._v(" "),"comprehension"===t.attachmentType?s("div",[s("comprehension-attachment",{attrs:{passage:t.attachment}})],1):t._e()]):t._e(),t._v(" "),s("div",{staticClass:"q-data question",domProps:{innerHTML:t._s(t.question.question)}})])}),[],!1,null,null,null).exports},47554:(t,e,s)=>{"use strict";s.d(e,{Z:()=>i});var r=s(75521),n=s(28006);const a={name:"PracticeQuestionChip",components:{QuestionChip:r.Z},directives:{tooltip:n.default},props:{sno:Number,active:Boolean,is_correct:Boolean,status:String},computed:{questionStatus:function(){return"answered"===this.status?this.is_correct?"Correct Answer":"Wrong Answer":"Not Answered"},chipStatus:function(){return"answered"===this.status?this.is_correct?"success":"danger":"default"}}};const i=(0,s(51900).Z)(a,(function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{directives:[{name:"tooltip",rawName:"v-tooltip.top",value:t.questionStatus,expression:"questionStatus",modifiers:{top:!0}}],staticClass:"w-full overflow-hidden rounded-sm cursor-pointer"},[s("question-chip",{attrs:{sno:t.sno,status:t.chipStatus,"is-active":t.active}})],1)}),[],!1,null,null,null).exports},26778:(t,e,s)=>{"use strict";s.d(e,{Z:()=>n});const r={name:"PracticeSolutionCard",components:{VideoAttachment:s(60118).Z},props:{question:Object},created:function(){this.$nextTick((function(){window.renderMathInElement(this.$el)}))}};const n=(0,s(51900).Z)(r,(function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{staticClass:"q-data rounded bg-yellow-50 border border-yellow-200 p-6"},[s("h4",{staticClass:"font-semibold text-gray-600 mb-4 uppercase"},[t._v(t._s(t.__("Solution")))]),t._v(" "),t.question.solution_video?s("div",[s("video-attachment",{attrs:{reference:"player_"+t.question.code,options:t.question.solution_video,"show-message":!1}})],1):t._e(),t._v(" "),s("div",{domProps:{innerHTML:t._s(t.question.solution)}})])}),[],!1,null,null,null).exports},16446:(t,e,s)=>{"use strict";s.d(e,{Z:()=>n});const r={props:{align:{default:"right"},width:{default:"48"},contentClasses:{default:function(){return["py-1","bg-white"]}}},data:function(){return{open:!1}},created:function(){var t=this,e=function(e){t.open&&27===e.keyCode&&(t.open=!1)};this.$once("hook:destroyed",(function(){document.removeEventListener("keydown",e)})),document.addEventListener("keydown",e)},computed:{widthClass:function(){return{48:"w-48"}[this.width.toString()]},alignmentClasses:function(){return"left"===this.align?"origin-top-left left-0":"right"===this.align?"rtl:origin-top-left rtl:left-0 ltr:origin-top-right ltr:right-0":"origin-top"}}};const n=(0,s(51900).Z)(r,(function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{staticClass:"relative"},[s("div",{on:{click:function(e){t.open=!t.open}}},[t._t("trigger")],2),t._v(" "),s("div",{directives:[{name:"show",rawName:"v-show",value:t.open,expression:"open"}],staticClass:"fixed inset-0 z-40",on:{click:function(e){t.open=!1}}}),t._v(" "),s("transition",{attrs:{"enter-active-class":"transition ease-out duration-200","enter-class":"transform opacity-0 scale-95","enter-to-class":"transform opacity-100 scale-100","leave-active-class":"transition ease-in duration-75","leave-class":"transform opacity-100 scale-100","leave-to-class":"transform opacity-0 scale-95"}},[s("div",{directives:[{name:"show",rawName:"v-show",value:t.open,expression:"open"}],staticClass:"absolute z-50 mt-2 shadow rounded",class:[t.widthClass,t.alignmentClasses],staticStyle:{display:"none"},on:{click:function(e){t.open=!1}}},[s("div",{staticClass:"rounded-sm ring-1 ring-black ring-opacity-5",class:t.contentClasses},[t._t("content")],2)])])],1)}),[],!1,null,null,null).exports},93210:(t,e,s)=>{"use strict";s.d(e,{Z:()=>n});const r={props:["href","as"]};const n=(0,s(51900).Z)(r,(function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",["button"===t.as?s("button",{staticClass:"block text-sm w-full px-4 py-2 leading-5 text-gray-700 ltr:text-left rtl:text-right hover:bg-gray-100 focus:outline-none focus:bg-gray-100 transition duration-150 ease-in-out",attrs:{type:"submit"}},[t._t("default")],2):s("inertia-link",{staticClass:"text-sm block px-4 py-2 leading-5 text-gray-700 hover:bg-gray-100 ltr:text-left rtl:text-right focus:outline-none focus:bg-gray-100 transition duration-150 ease-in-out",attrs:{href:t.href}},[t._t("default")],2)],1)}),[],!1,null,null,null).exports},57850:(t,e,s)=>{"use strict";s.d(e,{Z:()=>n});const r={props:["href","active"],computed:{classes:function(){return this.active?"inline-flex items-center px-1 pt-1 border-b-2 border-indigo-400 font-medium leading-5 text-gray-900 focus:outline-none focus:border-indigo-700 transition duration-150 ease-in-out":"inline-flex items-center px-1 pt-1 border-b-2 border-transparent font-medium leading-5 text-gray-500 hover:text-gray-700 hover:border-gray-300 focus:outline-none focus:text-gray-700 focus:border-gray-300 transition duration-150 ease-in-out"}}};const n=(0,s(51900).Z)(r,(function(){var t=this,e=t.$createElement;return(t._self._c||e)("inertia-link",{class:t.classes,attrs:{href:t.href}},[t._t("default")],2)}),[],!1,null,null,null).exports},30281:(t,e,s)=>{"use strict";s.d(e,{Z:()=>n});const r={name:"AudioAttachment",components:{VuePlyr:s(15859).Z},props:{reference:String,options:Object},data:function(){return{plyrOptions:{speed:{selected:1,options:[1]}}}}};const n=(0,s(51900).Z)(r,(function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{staticClass:"audio-options z-40"},[s("div",{staticClass:"font-mono px-2 py-1 inline-block text-gray-600 rounded text-sm mb-2"},[t._v("\n Listen to the audio and answer the question\n ")]),t._v(" "),"mp3"===t.options.audio_type?s("div",[s("vue-plyr",{ref:t.reference,attrs:{options:t.plyrOptions}},[s("audio",{attrs:{controls:"",crossorigin:""}},[s("source",{attrs:{src:t.options.link,type:"audio/mp3"}})])])],1):t._e(),t._v(" "),"ogg"===t.options.audio_type?s("div",[s("vue-plyr",{ref:t.reference,attrs:{options:t.plyrOptions}},[s("audio",{attrs:{controls:"",crossorigin:""}},[s("source",{attrs:{src:t.options.link,type:"audio/ogg"}})])])],1):t._e()])}),[],!1,null,null,null).exports},72522:(t,e,s)=>{"use strict";s.d(e,{Z:()=>n});const r={name:"ComprehensionAttachment",components:{PerfectScrollbar:s(44943).PerfectScrollbar},props:{passage:String},data:function(){return{scrollbarOptions:{suppressScrollX:!0}}}};const n=(0,s(51900).Z)(r,(function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{staticClass:"audio-options"},[s("div",{staticClass:"font-mono px-2 py-1 inline-block text-gray-600 rounded text-sm mb-2"},[t._v("\n Read the passage and answer the question\n ")]),t._v(" "),s("perfect-scrollbar",{ref:"comScroll",staticStyle:{"max-height":"24rem"},attrs:{options:t.scrollbarOptions}},[s("div",{domProps:{innerHTML:t._s(t.passage)}})])],1)}),[],!1,null,null,null).exports},60118:(t,e,s)=>{"use strict";s.d(e,{Z:()=>n});const r={name:"VideoAttachment",components:{VuePlyr:s(15859).Z},props:{reference:String,options:Object,showMessage:{type:Boolean,default:!0}},data:function(){return{plyrOptions:{controls:["play-large","play","progress","current-time","mute","volume","captions","settings","airplay","fullscreen"],speed:{selected:1,options:[.5,1,1.25]}}}},computed:{getVideoLink:function(){return"youtube"===this.options.video_type?"https://www.youtube.com/embed/"+this.options.link+"?amp;iv_load_policy=3&modestbranding=1&playsinline=1&showinfo=0&rel=0&enablejsapi=1":"vimeo"===this.options.video_type?"https://player.vimeo.com/video/"+this.options.link+"?loop=false&byline=false&portrait=false&title=false&speed=true&transparent=0&gesture=media":""}}};const n=(0,s(51900).Z)(r,(function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{staticClass:"audio-options"},[t.showMessage?s("div",{staticClass:"font-mono px-2 py-1 inline-block text-gray-600 rounded text-sm mb-2"},[t._v("\n Watch the video and answer the question\n ")]):t._e(),t._v(" "),"mp4"===t.options.video_type?s("div",[s("vue-plyr",{ref:t.reference,attrs:{options:t.plyrOptions}},[s("video",{attrs:{src:t.options.link}},[s("source",{attrs:{src:t.options.link,type:"video/mp4"}})])])],1):t._e(),t._v(" "),"youtube"===t.options.video_type?s("div",[s("vue-plyr",{ref:t.reference,attrs:{options:t.plyrOptions}},[s("div",{staticClass:"plyr__video-embed"},[s("iframe",{attrs:{src:t.getVideoLink,allowfullscreen:"",allowtransparency:"",allow:"autoplay"}})])])],1):t._e(),t._v(" "),"vimeo"===t.options.video_type?s("div",[s("vue-plyr",{ref:t.reference},[s("div",{staticClass:"plyr__video-embed"},[s("iframe",{attrs:{src:t.getVideoLink}})])])],1):t._e()])}),[],!1,null,null,null).exports},47058:(t,e,s)=>{"use strict";s.d(e,{Z:()=>n});const r={name:"FIBSolution",props:{parentQid:[Number,String],parentOptions:[String,Array,Number],parentAnswer:[String,Array,Number],correctAnswer:[String,Array,Number],isCorrect:Boolean,status:String},data:function(){return{question_id:this.parentQid,options:this.parentOptions,answer:this.parentAnswer}},methods:{labelClass:function(t){return"answered"===this.status?this.answer[t].toLowerCase()===this.correctAnswer[t].toLowerCase()?"q-input correct":"q-input wrong":"q-input"}},computed:{answerText:function(){var t=this.correctAnswer.map((function(t,e){return e+1+". "+t})).join(", ");return this.__("Correct answers for the blanks are")+" "+t}},created:function(){this.$nextTick((function(){window.renderMathInElement(this.$el)}))}};const n=(0,s(51900).Z)(r,(function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{staticClass:"q-inputs"},[t._l(t.options,(function(e,r){return s("div",{key:"blank_"+r},[s("div",{staticClass:"mb-2",class:t.labelClass(r)},[s("div",{staticClass:"i-id"},[s("label",{attrs:{for:t.question_id+"ans_"+(e-1)}},[t._v(t._s(e))])]),t._v(" "),s("input",{directives:[{name:"model",rawName:"v-model",value:t.answer[e-1],expression:"answer[blank-1]"}],attrs:{id:t.question_id+"ans_"+(e-1),placeholder:"Type your answer for blank "+e,disabled:"disabled"},domProps:{value:t.answer[e-1]},on:{input:function(s){s.target.composing||t.$set(t.answer,e-1,s.target.value)}}})])])})),t._v(" "),s("div",{staticClass:"flex gap-2 border border-green-200 bg-green-50 items-center rounded p-4 mt-6"},[s("svg",{staticClass:"w-6 h-6 text-green-400",attrs:{fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"}},[s("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._v(" "),s("h4",{staticClass:"text-gray-600",domProps:{innerHTML:t._s(t.answerText)}})])],2)}),[],!1,null,null,null).exports},8392:(t,e,s)=>{"use strict";s.d(e,{Z:()=>n});const r={name:"MMASolution",props:{parentQid:[Number,String],parentOptions:Array,parentAnswer:[String,Array,Number],correctAnswer:[String,Array,Number],isCorrect:Boolean,status:String},data:function(){return{question_id:this.parentQid,options:this.parentOptions,answer:this.parentAnswer}},methods:{labelClass:function(t){return"answered"===this.status&&-1!==this.answer.indexOf(t+1)?-1!==this.correctAnswer.indexOf(t+1)?"correct":"wrong":""}},computed:{answerText:function(){var t=this.correctAnswer.sort().join(", ");return this.__("Correct answers are Options")+" "+t}},created:function(){this.$nextTick((function(){window.renderMathInElement(this.$el)}))}};const n=(0,s(51900).Z)(r,(function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{staticClass:"q-radio"},[s("div",{staticClass:"q-options"},t._l(t.options,(function(e,r){return s("div",{key:e,staticClass:"q-option"},[s("input",{directives:[{name:"model",rawName:"v-model",value:t.answer,expression:"answer"}],attrs:{type:"checkbox",id:"q_"+t.question_id+"_option_"+r,disabled:"disabled"},domProps:{value:r+1,checked:Array.isArray(t.answer)?t._i(t.answer,r+1)>-1:t.answer},on:{change:function(e){var s=t.answer,n=e.target,a=!!n.checked;if(Array.isArray(s)){var i=r+1,o=t._i(s,i);n.checked?o<0&&(t.answer=s.concat([i])):o>-1&&(t.answer=s.slice(0,o).concat(s.slice(o+1)))}else t.answer=a}}}),t._v(" "),s("label",{class:t.labelClass(r),attrs:{for:"q_"+t.question_id+"_option_"+r}},[s("span",{staticClass:"o-id squared"},[s("strong",[t._v(t._s(r+1))])]),t._v(" "),s("span",{staticClass:"o-text",domProps:{innerHTML:t._s(e)}})])])})),0),t._v(" "),s("div",{staticClass:"flex gap-2 border border-green-200 bg-green-50 items-center rounded p-4 mt-6"},[s("svg",{staticClass:"w-6 h-6 text-green-400",attrs:{fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"}},[s("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._v(" "),s("h4",{staticClass:"text-gray-600",domProps:{innerHTML:t._s(t.answerText)}})])])}),[],!1,null,null,null).exports},62921:(t,e,s)=>{"use strict";s.d(e,{Z:()=>n});const r={name:"MSASolution",props:{parentQid:[Number,String],parentOptions:Array,parentAnswer:[String,Array,Number],correctAnswer:[String,Array,Number],isCorrect:Boolean,status:String},data:function(){return{question_id:this.parentQid,options:this.parentOptions,answer:this.parentAnswer}},methods:{labelClass:function(t){if("answered"===this.status){if(this.isCorrect&&this.answer===t+1)return"correct";if(!this.isCorrect&&this.answer===t+1)return"wrong"}return""}},computed:{answerText:function(){return this.__("Correct answer is Option")+" "+this.correctAnswer}},created:function(){this.$nextTick((function(){window.renderMathInElement(this.$el)}))}};const n=(0,s(51900).Z)(r,(function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{staticClass:"q-radio"},[s("div",{staticClass:"q-options"},t._l(t.options,(function(e,r){return s("div",{key:e,staticClass:"q-option"},[s("input",{directives:[{name:"model",rawName:"v-model",value:t.answer,expression:"answer"}],attrs:{type:"radio",id:t.question_id+"_option_"+r,disabled:"disabled"},domProps:{value:r+1,checked:t._q(t.answer,r+1)},on:{change:function(e){t.answer=r+1}}}),t._v(" "),s("label",{class:t.labelClass(r),attrs:{for:t.question_id+"_option_"+r}},[s("span",{staticClass:"o-id"},[s("strong",[t._v(t._s(r+1))])]),t._v(" "),s("span",{staticClass:"o-text",domProps:{innerHTML:t._s(e)}})])])})),0),t._v(" "),s("div",{staticClass:"flex gap-2 border border-green-200 bg-green-50 items-center rounded p-4 mt-6"},[s("svg",{staticClass:"w-6 h-6 text-green-400",attrs:{fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"}},[s("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._v(" "),s("h4",{staticClass:" text-gray-600",domProps:{innerHTML:t._s(t.answerText)}})])])}),[],!1,null,null,null).exports},32426:(t,e,s)=>{"use strict";s.d(e,{Z:()=>a});var r=s(9980);const n={name:"MTFSolution",components:{draggable:s.n(r)()},props:{parentQid:[Number,String],parentOptions:[Array,Object],parentAnswer:[Array,Object],correctAnswer:[String,Array,Number],isCorrect:Boolean,status:String},data:function(){return{question_id:this.parentQid,options:this.parentOptions.matches,answer:"answered"===this.status?this.parentAnswer:this.parentOptions.pairs}},methods:{labelClass:function(t){return"answered"===this.status?this.answer[t].id===this.correctAnswer[t]?"correct":"wrong":""}},computed:{answerText:function(){var t=this,e=[];this.correctAnswer.forEach((function(s,r){var n=t.answer.find((function(t){return t.id===s}));e.push(r+1+" - "+n.code)}));var s=e.join(", ");return this.__("Correct answers are")+" "+s}},created:function(){this.$nextTick((function(){window.renderMathInElement(this.$el)}))}};const a=(0,s(51900).Z)(n,(function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{staticClass:"q-radio"},[s("div",{staticClass:"flex flex-col sm:flex-row gap-2 q-options"},[s("div",{staticClass:"w-full flex flex-col justify-between"},t._l(t.options,(function(e,r){return s("div",{key:e.id,staticClass:"q-option h-full"},[s("label",{staticClass:"h-full",attrs:{for:t.question_id+"_option_"+r}},[s("span",{staticClass:"o-id"},[s("strong",[t._v(t._s(r+1))])]),t._v(" "),s("span",{staticClass:"o-text",domProps:{innerHTML:t._s(e.value)}})])])})),0),t._v(" "),s("div",{staticClass:"w-full"},[s("draggable",{attrs:{group:"options",sort:!1},model:{value:t.answer,callback:function(e){t.answer=e},expression:"answer"}},[s("transition-group",{staticClass:"w-full flex flex-col justify-between",attrs:{name:"flip-list",tag:"div"}},t._l(t.answer,(function(e,r){return s("div",{key:e.id,staticClass:"q-option h-full"},[s("label",{staticClass:"h-full",class:t.labelClass(r),attrs:{for:t.question_id+"_pair_"+r}},[s("span",{staticClass:"o-id match"},[s("strong",[t._v(t._s(r+1))]),t._v(" - "),s("strong",[t._v(t._s(e.code))])]),t._v(" "),s("span",{staticClass:"o-text",domProps:{innerHTML:t._s(e.value)}})])])})),0)],1)],1)]),t._v(" "),s("div",{staticClass:"flex gap-2 border border-green-200 bg-green-50 items-center rounded p-4 mt-6"},[s("svg",{staticClass:"w-6 h-6 text-green-400",attrs:{fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"}},[s("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._v(" "),s("h4",{staticClass:"text-sm text-gray-600",domProps:{innerHTML:t._s(t.answerText)}})])])}),[],!1,null,null,null).exports},75986:(t,e,s)=>{"use strict";s.d(e,{Z:()=>a});var r=s(9980);const n={name:"ORDSolution",components:{draggable:s.n(r)()},props:{parentQid:[Number,String],parentOptions:Array,parentAnswer:[String,Array,Number],correctAnswer:[String,Array,Number],isCorrect:Boolean,status:String},data:function(){return{question_id:this.parentQid,options:this.parentOptions,answer:"answered"===this.status?this.parentAnswer:this.parentOptions}},methods:{labelClass:function(t){return"answered"===this.status?this.answer[t].id===this.correctAnswer[t]?"correct":"wrong":""}},computed:{answerText:function(){var t=this,e=[];this.correctAnswer.forEach((function(s,r){var n=t.answer.find((function(t){return t.id===s}));e.push(r+1+" - "+n.code)}));var s=e.join(", ");return this.__("Correct answers are")+" "+s}},created:function(){this.$nextTick((function(){window.renderMathInElement(this.$el)}))}};const a=(0,s(51900).Z)(n,(function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{staticClass:"q-radio"},[s("div",{staticClass:"q-options"},[s("draggable",{attrs:{sort:!1,group:"options"},model:{value:t.answer,callback:function(e){t.answer=e},expression:"answer"}},t._l(t.answer,(function(e,r){return s("div",{key:e.id,staticClass:"q-option"},[s("label",{class:t.labelClass(r),attrs:{for:t.question_id+"_option_"+r}},[s("span",{staticClass:"o-id match"},[s("strong",[t._v(t._s(r+1))]),t._v(" - "),s("strong",[t._v(t._s(e.code))])]),t._v(" "),s("span",{staticClass:"o-text",domProps:{innerHTML:t._s(e.value)}})])])})),0)],1),t._v(" "),s("div",{staticClass:"flex gap-2 border border-green-200 bg-green-50 items-center rounded p-4 mt-6"},[s("svg",{staticClass:"w-6 h-6 text-green-400",attrs:{fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"}},[s("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._v(" "),s("h4",{staticClass:"text-sm text-gray-600",domProps:{innerHTML:t._s(t.answerText)}})])])}),[],!1,null,null,null).exports},88364:(t,e,s)=>{"use strict";s.d(e,{Z:()=>n});const r={name:"SAQSolution",props:{parentQid:[Number,String],parentOptions:[String,Array,Number],parentAnswer:[String,Array,Number],correctAnswer:[String,Array,Number],isCorrect:Boolean,status:String},data:function(){return{question_id:this.parentQid,options:this.parentOptions,answer:this.parentAnswer}},methods:{labelClass:function(){return"answered"===this.status?this.isCorrect?"q-input correct":"q-input wrong":"q-input"}},computed:{answerText:function(){var t=this.correctAnswer.sort().join(", ");return this.__("Acceptable answers are")+" "+t}},created:function(){this.$nextTick((function(){window.renderMathInElement(this.$el)}))}};const n=(0,s(51900).Z)(r,(function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{staticClass:"q-inputs"},[s("div",{class:t.labelClass()},[s("div",{staticClass:"i-id"},[s("label",{attrs:{for:t.question_id}},[t._v("A")])]),t._v(" "),s("input",{directives:[{name:"model",rawName:"v-model",value:t.answer,expression:"answer"}],attrs:{id:t.question_id,placeholder:"Type your answer",disabled:"disabled"},domProps:{value:t.answer},on:{input:function(e){e.target.composing||(t.answer=e.target.value)}}})]),t._v(" "),s("div",{staticClass:"flex gap-2 border border-green-200 bg-green-50 items-center rounded p-4 mt-6"},[s("svg",{staticClass:"w-6 h-6 text-green-400",attrs:{fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"}},[s("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._v(" "),s("h4",{staticClass:" text-gray-600",domProps:{innerHTML:t._s(t.answerText)}})])])}),[],!1,null,null,null).exports},37760:(t,e,s)=>{"use strict";s.d(e,{Z:()=>n});const r={props:["active","href","as"],computed:{classes:function(){return this.active?"block pl-3 pr-4 py-2 border-l-4 border-indigo-400 text-base font-medium text-indigo-700 bg-indigo-50 focus:outline-none focus:text-indigo-800 focus:bg-indigo-100 focus:border-indigo-700 transition duration-150 ease-in-out":"block pl-3 pr-4 py-2 border-l-4 border-transparent text-base font-medium text-gray-600 hover:text-gray-800 hover:bg-gray-50 hover:border-gray-300 focus:outline-none focus:text-gray-800 focus:bg-gray-50 focus:border-gray-300 transition duration-150 ease-in-out"}}};const n=(0,s(51900).Z)(r,(function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",["button"==t.as?s("button",{staticClass:"w-full text-left",class:t.classes},[t._t("default")],2):s("inertia-link",{class:t.classes,attrs:{href:t.href}},[t._t("default")],2)],1)}),[],!1,null,null,null).exports},78589:(t,e,s)=>{"use strict";s.d(e,{Z:()=>n});const r={name:"RewardBadge",props:{points:{type:[Number,String],default:0},textColor:{type:String,default:"text-gray-400"},iconSize:{type:String,default:"w-7 h-7"}}};const n=(0,s(51900).Z)(r,(function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{staticClass:"flex group gap-2 items-center"},[s("svg",{staticClass:"transition duration-300 ease-in-out transform group-hover:scale-110",class:t.iconSize,attrs:{xmlns:"http://www.w3.org/2000/svg",x:"0px",y:"0px",width:"300px",height:"300px",viewBox:"0 0 300 300","enable-background":"new 0 0 300 300","xml:space":"preserve"}},[s("g",[s("ellipse",{attrs:{fill:"#FFC843",cx:"149.833",cy:"149.501",rx:"147.833",ry:"146.166"}}),s("ellipse",{attrs:{fill:"#D38700",cx:"150",cy:"150.168",rx:"113.667",ry:"113.833"}}),t._v(" "),s("polygon",{attrs:{fill:"#FFC843",points:"192.716,211.945 151.021,190.203 109.476,212.222 117.27,165.852 83.489,133.142 129.999,126.226\n 150.667,83.991 171.618,126.086 218.172,132.693 184.611,165.626"}})])]),t._v(" "),s("span",{staticClass:"font-semibold ",class:t.textColor},[t._v(t._s(t.points)+" XP")])])}),[],!1,null,null,null).exports},89808:(t,e,s)=>{"use strict";s.d(e,{Z:()=>n});const r={name:"NavigationQuestionCardShimmer",components:{Skeleton:s(80247).default}};const n=(0,s(51900).Z)(r,(function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{staticClass:"w-full overflow-hidden dark_question_card rounded cursor-pointer"},[s("div",{staticClass:"hover:bg-gray-600 text-gray-400 hover:text-gray-200 rounded p-4"},[s("div",{staticClass:"flex items-start gap-4 opacity-25"},[s("Skeleton",{staticClass:"bg-gray-700",attrs:{width:"1rem",height:"10px"}}),t._v(" "),s("div",{staticClass:"w-full"},[s("Skeleton",{staticClass:"w-full mb-2",attrs:{height:"10px"}}),t._v(" "),s("Skeleton",{staticClass:"w-full mb-2",attrs:{height:"10px"}}),t._v(" "),s("Skeleton",{staticClass:"w-full",attrs:{height:"10px"}})],1)],1)])])}),[],!1,null,null,null).exports},75004:(t,e,s)=>{"use strict";s.d(e,{Z:()=>n});const r={name:"PracticeQuestionShimmer",components:{Skeleton:s(80247).default}};const n=(0,s(51900).Z)(r,(function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{staticClass:"mb-6"},[s("Skeleton",{staticClass:"mb-2",attrs:{width:"10rem"}}),t._v(" "),s("Skeleton",{attrs:{height:"2rem"}})],1)}),[],!1,null,null,null).exports},66727:(t,e,s)=>{"use strict";s.d(e,{Z:()=>w});var r=s(97618),n=s(60651),a=s(16446),i=s(93210),o=s(57850),l=s(37760),c=s(71003),d=s(50298),u=s(15366);const p={name:"SidebarDropdown",props:{title:String,items:Array},data:function(){return{open:!1}},methods:{isActive:function(t){return window.location.href===t},isOpen:function(){return this.urls.includes(window.location.href)}},computed:{urls:function(){var t=[];return this.items.forEach((function(e){return t.push(e.url)})),t}},created:function(){this.open=this.isOpen()}};var m=s(51900);const v=(0,m.Z)(p,(function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",[s("div",{staticClass:"flex items-center justify-between px-4 py-3 transition cursor-pointer group hover:bg-gray-800 hover:text-gray-200",class:{"text-green-400":t.open},attrs:{role:"button"},on:{click:function(e){t.open=!t.open}}},[s("div",{staticClass:"flex items-center"},[t._t("icon"),t._v(" "),s("span",[t._v(t._s(t.__(t.title)))])],2),t._v(" "),s("svg",{staticClass:"flex-shrink-0 w-4 h-4 ml-2 transition transform",class:{"rotate-90":t.open},attrs:{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor"}},[s("path",{attrs:{"fill-rule":"evenodd",d:"M7.293 14.707a1 1 0 010-1.414L10.586 10 7.293 6.707a1 1 0 011.414-1.414l4 4a1 1 0 010 1.414l-4 4a1 1 0 01-1.414 0z","clip-rule":"evenodd"}})])]),t._v(" "),s("div",{directives:[{name:"show",rawName:"v-show",value:t.open,expression:"open"}],staticClass:"mb-4"},t._l(t.items,(function(e){return s("div",{key:e.url,staticClass:"block"},[e.active?s("inertia-link",{staticClass:"flex items-center py-2 pl-12 pr-4 transition cursor-pointer hover:bg-gray-800 hover:text-gray-200",class:{"text-green-400":t.isActive(e.url)},attrs:{href:e.url}},[t._v("\n "+t._s(t.__(e.label))+"\n ")]):t._e()],1)})),0)])}),[],!1,null,null,null).exports;const h={name:"SidebarLink",props:{title:String,url:String},computed:{active:function(){return window.location.href===this.url}}};const g=(0,m.Z)(h,(function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("inertia-link",{staticClass:"flex items-center px-4 py-3 transition cursor-pointer group hover:bg-gray-800 hover:text-gray-200",class:{"text-green-400":t.active},attrs:{href:t.url}},[t._t("icon"),t._v(" "),s("span",[t._v(t._s(t.__(t.title)))])],2)}),[],!1,null,null,null).exports;var _=s(44943),f=s(78465);const x={components:{ArcApplicationMark:r.Z,ArcBanner:n.Z,ArcDropdown:a.Z,ArcDropdownLink:i.Z,ArcNavLink:o.Z,ArcResponsiveNavLink:l.Z,ConfirmDialog:c.default,Message:u.default,Toast:d.default,SidebarDropdown:v,SidebarLink:g,PerfectScrollbar:_.PerfectScrollbar,InputSwitch:f.default},data:function(){return{sideBar:!1,darkMode:!1,scrollbarOptions:{suppressScrollX:!0},successMessage:String,errorMessage:String,items:[{label:"Home Dashboard",item_type:"link",icon:'<svg class="flex-shrink-0 w-5 h-5 ltr:mr-2 rtl:ml-2 transition group-hover:text-gray-300" fill="none" stroke="currentColor" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M3 12l2-2m0 0l7-7 7 7M5 10v10a1 1 0 001 1h3m10-11l2 2m-2-2v10a1 1 0 01-1 1h-3m-6 0a1 1 0 001-1v-4a1 1 0 011-1h2a1 1 0 011 1v4a1 1 0 001 1m-6 0h6"></path></svg>',url:route("admin_dashboard"),active:"admin"===this.$page.props.user.role_id},{label:"Home Dashboard",item_type:"link",icon:'<svg class="flex-shrink-0 w-5 h-5 ltr:mr-2 rtl:ml-2 transition group-hover:text-gray-300" fill="none" stroke="currentColor" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M3 12l2-2m0 0l7-7 7 7M5 10v10a1 1 0 001 1h3m10-11l2 2m-2-2v10a1 1 0 01-1 1h-3m-6 0a1 1 0 001-1v-4a1 1 0 011-1h2a1 1 0 011 1v4a1 1 0 001 1m-6 0h6"></path></svg>',url:route("instructor_dashboard"),active:"instructor"===this.$page.props.user.role_id},{label:"File Manager",item_type:"link",url:route("file-manager"),icon:'<svg class="flex-shrink-0 w-5 h-5 ltr:mr-2 rtl:ml-2 transition group-hover:text-gray-300" fill="none" stroke="currentColor" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M8 7v8a2 2 0 002 2h6M8 7V5a2 2 0 012-2h4.586a1 1 0 01.707.293l4.414 4.414a1 1 0 01.293.707V15a2 2 0 01-2 2h-2M8 7H6a2 2 0 00-2 2v10a2 2 0 002 2h8a2 2 0 002-2v-2"></path></svg>',active:"admin"===this.$page.props.user.role_id},{item_type:"divider",label:"Engage"},{label:"Manage Tests",item_type:"dropdown",icon:'<svg class="flex-shrink-0 w-5 h-5 ltr:mr-2 rtl:ml-2 transition group-hover:text-gray-300" fill="none" stroke="currentColor" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M9.75 17L9 20l-1 1h8l-1-1-.75-3M3 13h18M5 17h14a2 2 0 002-2V5a2 2 0 00-2-2H5a2 2 0 00-2 2v10a2 2 0 002 2z"></path></svg>',active:"admin"===this.$page.props.user.role_id||"instructor"===this.$page.props.user.role_id,items:[{label:"Quizzes",url:route("quizzes.index"),active:"admin"===this.$page.props.user.role_id||"instructor"===this.$page.props.user.role_id},{label:"Exams",url:route("exams.index"),active:"admin"===this.$page.props.user.role_id||"instructor"===this.$page.props.user.role_id},{label:"Quiz Types",url:route("quiz-types.index"),active:"admin"===this.$page.props.user.role_id||"instructor"===this.$page.props.user.role_id},{label:"Exam Types",url:route("exam-types.index"),active:"admin"===this.$page.props.user.role_id||"instructor"===this.$page.props.user.role_id}]},{label:"Manage Learning",item_type:"dropdown",icon:'<svg class="flex-shrink-0 w-5 h-5 ltr:mr-2 rtl:ml-2 transition group-hover:text-gray-300" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="currentColor"><path d="M0 0h24v24H0z" fill="none"/><path d="M9 21c0 .55.45 1 1 1h4c.55 0 1-.45 1-1v-1H9v1zm3-19C8.14 2 5 5.14 5 9c0 2.38 1.19 4.47 3 5.74V17c0 .55.45 1 1 1h6c.55 0 1-.45 1-1v-2.26c1.81-1.27 3-3.36 3-5.74 0-3.86-3.14-7-7-7zm2.85 11.1l-.85.6V16h-4v-2.3l-.85-.6C7.8 12.16 7 10.63 7 9c0-2.76 2.24-5 5-5s5 2.24 5 5c0 1.63-.8 3.16-2.15 4.1z"/></svg>',active:"admin"===this.$page.props.user.role_id||"instructor"===this.$page.props.user.role_id,items:[{label:"Practice Sets",url:route("practice-sets.index"),active:"admin"===this.$page.props.user.role_id||"instructor"===this.$page.props.user.role_id},{label:"Lessons",url:route("practice.configure_lessons"),active:"admin"===this.$page.props.user.role_id||"instructor"===this.$page.props.user.role_id},{label:"Videos",url:route("practice.configure_videos"),active:"admin"===this.$page.props.user.role_id||"instructor"===this.$page.props.user.role_id}]},{item_type:"divider",label:"Library"},{label:"Question Bank",item_type:"dropdown",icon:'<svg class="flex-shrink-0 w-5 h-5 ltr:mr-2 rtl:ml-2 transition group-hover:text-gray-300" fill="none" stroke="currentColor" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M8.228 9c.549-1.165 2.03-2 3.772-2 2.21 0 4 1.343 4 3 0 1.4-1.278 2.575-3.006 2.907-.542.104-.994.54-.994 1.093m0 3h.01M21 12a9 9 0 11-18 0 9 9 0 0118 0z"></path></svg>',active:"admin"===this.$page.props.user.role_id||"instructor"===this.$page.props.user.role_id,items:[{label:"Questions",url:route("questions.index"),active:"admin"===this.$page.props.user.role_id||"instructor"===this.$page.props.user.role_id},{label:"Import Questions",url:route("initiate_import_questions"),active:"admin"===this.$page.props.user.role_id||"instructor"===this.$page.props.user.role_id},{label:"Comprehensions",url:route("comprehensions.index"),active:"admin"===this.$page.props.user.role_id||"instructor"===this.$page.props.user.role_id},{label:"Question Types",url:route("question-types.index"),active:"admin"===this.$page.props.user.role_id||"instructor"===this.$page.props.user.role_id}]},{label:"Lesson Bank",item_type:"link",icon:'<svg class="flex-shrink-0 w-5 h-5 ltr:mr-2 rtl:ml-2 transition group-hover:text-gray-300" fill="none" stroke="currentColor" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M9 12h6m-6 4h6m2 5H7a2 2 0 01-2-2V5a2 2 0 012-2h5.586a1 1 0 01.707.293l5.414 5.414a1 1 0 01.293.707V19a2 2 0 01-2 2z"></path></svg>',active:"admin"===this.$page.props.user.role_id||"instructor"===this.$page.props.user.role_id,url:route("lessons.index")},{label:"Video Bank",item_type:"link",icon:'<svg class="flex-shrink-0 w-5 h-5 ltr:mr-2 rtl:ml-2 transition group-hover:text-gray-300" fill="none" stroke="currentColor" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M14.752 11.168l-3.197-2.132A1 1 0 0010 9.87v4.263a1 1 0 001.555.832l3.197-2.132a1 1 0 000-1.664z"></path><path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M21 12a9 9 0 11-18 0 9 9 0 0118 0z"></path></svg>',active:"admin"===this.$page.props.user.role_id||"instructor"===this.$page.props.user.role_id,url:route("videos.index")},{item_type:"divider",label:"Configuration"},{label:"Monetization",item_type:"dropdown",icon:'<svg class="flex-shrink-0 w-5 h-5 ltr:mr-2 rtl:ml-2 transition group-hover:text-gray-300" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="currentColor"><path d="M0 0h24v24H0V0z" fill="none"/><path d="M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm0 18c-4.41 0-8-3.59-8-8s3.59-8 8-8 8 3.59 8 8-3.59 8-8 8zm.31-8.86c-1.77-.45-2.34-.94-2.34-1.67 0-.84.79-1.43 2.1-1.43 1.38 0 1.9.66 1.94 1.64h1.71c-.05-1.34-.87-2.57-2.49-2.97V5H10.9v1.69c-1.51.32-2.72 1.3-2.72 2.81 0 1.79 1.49 2.69 3.66 3.21 1.95.46 2.34 1.15 2.34 1.87 0 .53-.39 1.39-2.1 1.39-1.6 0-2.23-.72-2.32-1.64H8.04c.1 1.7 1.36 2.66 2.86 2.97V19h2.34v-1.67c1.52-.29 2.72-1.16 2.73-2.77-.01-2.2-1.9-2.96-3.66-3.42z"/></svg>',active:"admin"===this.$page.props.user.role_id,items:[{label:"Plans",url:route("plans.index"),active:"admin"===this.$page.props.user.role_id},{label:"Subscriptions",url:route("subscriptions.index"),active:"admin"===this.$page.props.user.role_id},{label:"Payments",url:route("payments.index"),active:"admin"===this.$page.props.user.role_id}]},{label:"Manage Users",item_type:"dropdown",icon:'<svg class="flex-shrink-0 w-5 h-5 ltr:mr-2 rtl:ml-2 transition group-hover:text-gray-300" fill="none" stroke="currentColor" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M17 20h5v-2a3 3 0 00-5.356-1.857M17 20H7m10 0v-2c0-.656-.126-1.283-.356-1.857M7 20H2v-2a3 3 0 015.356-1.857M7 20v-2c0-.656.126-1.283.356-1.857m0 0a5.002 5.002 0 019.288 0M15 7a3 3 0 11-6 0 3 3 0 016 0zm6 3a2 2 0 11-4 0 2 2 0 014 0zM7 10a2 2 0 11-4 0 2 2 0 014 0z"></path></svg>',active:"admin"===this.$page.props.user.role_id,items:[{label:"Users",url:route("users.index"),active:"admin"===this.$page.props.user.role_id},{label:"User Groups",url:route("user-groups.index"),active:"admin"===this.$page.props.user.role_id},{label:"Import Users",url:route("initiate_import_users"),active:"admin"===this.$page.props.user.role_id}]},{label:"Manage Categories",item_type:"dropdown",icon:'<svg class="flex-shrink-0 w-5 h-5 ltr:mr-2 rtl:ml-2 transition group-hover:text-gray-300" fill="none" stroke="currentColor" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M19 11H5m14 0a2 2 0 012 2v6a2 2 0 01-2 2H5a2 2 0 01-2-2v-6a2 2 0 012-2m14 0V9a2 2 0 00-2-2M5 11V9a2 2 0 012-2m0 0V5a2 2 0 012-2h6a2 2 0 012 2v2M7 7h10"></path></svg>',active:"admin"===this.$page.props.user.role_id,items:[{label:"Categories",url:route("categories.index"),active:"admin"===this.$page.props.user.role_id},{label:"Sub Categories",url:route("sub-categories.index"),active:"admin"===this.$page.props.user.role_id},{label:"Tags",url:route("tags.index"),active:"admin"===this.$page.props.user.role_id}]},{label:"Manage Subjects",item_type:"dropdown",icon:'<svg class="flex-shrink-0 w-5 h-5 ltr:mr-2 rtl:ml-2 transition group-hover:text-gray-300" fill="none" stroke="currentColor" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M12 6.253v13m0-13C10.832 5.477 9.246 5 7.5 5S4.168 5.477 3 6.253v13C4.168 18.477 5.754 18 7.5 18s3.332.477 4.5 1.253m0-13C13.168 5.477 14.754 5 16.5 5c1.747 0 3.332.477 4.5 1.253v13C19.832 18.477 18.247 18 16.5 18c-1.746 0-3.332.477-4.5 1.253"></path></svg>',active:"admin"===this.$page.props.user.role_id||"instructor"===this.$page.props.user.role_id,items:[{label:"Sections",url:route("sections.index"),active:"admin"===this.$page.props.user.role_id||"instructor"===this.$page.props.user.role_id},{label:"Skills",url:route("skills.index"),active:"admin"===this.$page.props.user.role_id||"instructor"===this.$page.props.user.role_id},{label:"Topics",url:route("topics.index"),active:"admin"===this.$page.props.user.role_id||"instructor"===this.$page.props.user.role_id}]},{label:"Settings",item_type:"dropdown",icon:'<svg class="flex-shrink-0 w-5 h-5 ltr:mr-2 rtl:ml-2 transition group-hover:text-gray-300" fill="none" stroke="currentColor" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M10.325 4.317c.426-1.756 2.924-1.756 3.35 0a1.724 1.724 0 002.573 1.066c1.543-.94 3.31.826 2.37 2.37a1.724 1.724 0 001.065 2.572c1.756.426 1.756 2.924 0 3.35a1.724 1.724 0 00-1.066 2.573c.94 1.543-.826 3.31-2.37 2.37a1.724 1.724 0 00-2.572 1.065c-.426 1.756-2.924 1.756-3.35 0a1.724 1.724 0 00-2.573-1.066c-1.543.94-3.31-.826-2.37-2.37a1.724 1.724 0 00-1.065-2.572c-1.756-.426-1.756-2.924 0-3.35a1.724 1.724 0 001.066-2.573c-.94-1.543.826-3.31 2.37-2.37.996.608 2.296.07 2.572-1.065z"></path><path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M15 12a3 3 0 11-6 0 3 3 0 016 0z"></path></svg>',active:"admin"===this.$page.props.user.role_id,items:[{label:"General Settings",url:route("general_settings"),active:"admin"===this.$page.props.user.role_id},{label:"Localization Settings",url:route("localization_settings"),active:"admin"===this.$page.props.user.role_id},{label:"Home Page Settings",url:route("home_page_settings"),active:"admin"===this.$page.props.user.role_id},{label:"Email Settings",url:route("email_settings"),active:"admin"===this.$page.props.user.role_id},{label:"Payment Settings",url:route("payment_settings"),active:"admin"===this.$page.props.user.role_id},{label:"Billing & Tax Settings",url:route("billing_tax_settings"),active:"admin"===this.$page.props.user.role_id},{label:"Theme Settings",url:route("theme_settings"),active:"admin"===this.$page.props.user.role_id},{label:"Maintenance Settings",url:route("maintenance_settings"),active:"admin"===this.$page.props.user.role_id}]}]}},methods:{switchToTeam:function(t){this.$inertia.put(route("current-team.update"),{team_id:t.id},{preserveState:!1})},changeMode:function(){this.darkMode?document.documentElement.classList.add("dark"):document.documentElement.classList.remove("dark")},logout:function(){this.$inertia.post(route("logout"))}}};const w=(0,m.Z)(x,(function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",[s("div",{staticClass:"ltr:ml-0 rtl:mr-0 transition md:ltr:ml-60 md:rtl:mr-60"},[s("arc-banner")],1),t._v(" "),s("div",{staticClass:"min-h-screen"},[s("nav",{staticClass:"fixed top-0 ltr:left-0 rtl:right-0 z-20 h-full pb-10 overflow-hidden transition origin-left transform bg-gray-900 w-60 md:ltr:translate-x-0 md:rtl:-translate-x-0",class:{"ltr:-translate-x-full rtl:translate-x-full":!t.sideBar,"translate-x-0":t.sideBar},on:{click:function(e){t.sideBar=!1}}},[s("inertia-link",{staticClass:"flex items-center px-4 py-5",attrs:{href:t.route("home")}},[s("img",{staticClass:"h-8 w-auto",attrs:{src:t.$page.props.assetUrl+t.$page.props.general.logo_path,alt:t.$page.props.general.app_name}})]),t._v(" "),s("perfect-scrollbar",{ref:"scroll",staticClass:"h-full overflow-hidden",attrs:{options:t.scrollbarOptions}},[s("nav",{staticClass:"text-sm font-medium pb-16 text-gray-400",attrs:{"aria-label":"Main Navigation"}},[t._l(t.items,(function(e){return[e.active&&"dropdown"===e.item_type?s("sidebar-dropdown",{attrs:{title:e.label,items:e.items},scopedSlots:t._u([{key:"icon",fn:function(){return[s("span",{domProps:{innerHTML:t._s(e.icon)}})]},proxy:!0}],null,!0)}):t._e(),t._v(" "),!0===e.active&&"link"===e.item_type?s("sidebar-link",{attrs:{title:e.label,url:e.url},scopedSlots:t._u([{key:"icon",fn:function(){return[s("span",{domProps:{innerHTML:t._s(e.icon)}})]},proxy:!0}],null,!0)}):t._e(),t._v(" "),"divider"===e.item_type?s("div",{staticClass:"my-4 mx-4 uppercase font-semibold text-green-500 text-xs"},[t._v("\n "+t._s(e.label)+"\n ")]):t._e()]}))],2)])],1),t._v(" "),s("div",{staticClass:"ltr:ml-0 rtl:mr-0 transition md:ltr:ml-60 md:rtl:mr-60"},[s("header",{staticClass:"bg-white shadow flex items-center justify-between w-full md:mx-auto md:sticky md:z-30 md:top-0 px-4 h-14"},[s("button",{staticClass:"block btn btn-light-secondary md:hidden",on:{click:function(e){t.sideBar=!0}}},[s("span",{staticClass:"sr-only"},[t._v(t._s(t.__("Menu")))]),t._v(" "),s("svg",{staticClass:"w-4 h-4",attrs:{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor"}},[s("path",{attrs:{"fill-rule":"evenodd",d:"M3 5a1 1 0 011-1h12a1 1 0 110 2H4a1 1 0 01-1-1zM3 10a1 1 0 011-1h12a1 1 0 110 2H4a1 1 0 01-1-1zM3 15a1 1 0 011-1h12a1 1 0 110 2H4a1 1 0 01-1-1z","clip-rule":"evenodd"}})])]),t._v(" "),s("div",{staticClass:"hidden -ml-3 form-icon md:block w-96"},[s("inertia-link",{staticClass:"text-sm font-semibold px-4 py-5 capitalize",attrs:{href:t.route("home")}},[t._v("\n "+t._s(t.__(t.$page.props.user.role_id))+" "+t._s(t.__("Dashboard"))+"\n ")])],1),t._v(" "),s("div",{staticClass:"flex items-center"},[s("a",{staticClass:"flex text-gray-500",attrs:{href:"#"}},[s("svg",{staticClass:"flex-shrink-0 w-5 h-5",attrs:{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor"}},[s("path",{attrs:{d:"M10 2a6 6 0 00-6 6v3.586l-.707.707A1 1 0 004 14h12a1 1 0 00.707-1.707L16 11.586V8a6 6 0 00-6-6zM10 18a3 3 0 01-3-3h6a3 3 0 01-3 3z"}})])]),t._v(" "),s("div",{staticClass:"ltr:ml-4 rtl:mr-4 relative"},[s("arc-dropdown",{attrs:{align:"right",width:"48"},scopedSlots:t._u([{key:"trigger",fn:function(){return[t.$page.props.jetstream.managesProfilePhotos?s("button",{staticClass:"flex border-2 border-transparent rounded-full focus:outline-none focus:border-gray-300 transition duration-150 ease-in-out"},[s("img",{staticClass:"h-8 w-8 rounded-full object-cover",attrs:{src:t.$page.props.user.profile_photo_url,alt:t.$page.props.user.name}})]):s("span",{staticClass:"inline-flex rounded-md"},[s("button",{staticClass:"inline-flex items-center px-3 py-2 border border-transparent leading-4 font-medium rounded-md text-gray-500 bg-white hover:text-gray-700 focus:outline-none transition ease-in-out duration-150",attrs:{type:"button"}},[t._v("\n "+t._s(t.$page.props.user.name)+"\n\n "),s("svg",{staticClass:"ml-2 -mr-0.5 h-4 w-4",attrs:{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor"}},[s("path",{attrs:{"fill-rule":"evenodd",d:"M5.293 7.293a1 1 0 011.414 0L10 10.586l3.293-3.293a1 1 0 111.414 1.414l-4 4a1 1 0 01-1.414 0l-4-4a1 1 0 010-1.414z","clip-rule":"evenodd"}})])])])]},proxy:!0},{key:"content",fn:function(){return[s("div",{staticClass:"block px-4 py-2 text-xs text-gray-400"},[t._v("\n "+t._s(t.__("Manage Account"))+"\n ")]),t._v(" "),s("arc-dropdown-link",{attrs:{href:t.route("profile.show")}},[t._v("\n "+t._s(t.__("Profile"))+"\n ")]),t._v(" "),t.$page.props.jetstream.hasApiFeatures?s("arc-dropdown-link",{attrs:{href:t.route("api-tokens.index")}},[t._v("\n "+t._s(t.__("Api Tokens"))+"\n ")]):t._e(),t._v(" "),s("div",{staticClass:"border-t border-gray-100"}),t._v(" "),s("form",{attrs:{method:"post",action:t.route("logout")}},[s("input",{attrs:{type:"hidden",name:"_token"},domProps:{value:t.$page.props.csrf_token}}),t._v(" "),s("arc-dropdown-link",{attrs:{as:"button"}},[t._v("\n "+t._s(t.__("Logout"))+"\n ")])],1)]},proxy:!0}])})],1)])]),t._v(" "),s("section",[s("div",{staticClass:"container mx-auto pt-4 px-4 sm:px-6 lg:px-8"},[s("div",{staticClass:"flex flex-col md:flex-row items-start md:items-center justify-between"},[s("div",[t._t("header")],2),t._v(" "),s("div",{staticClass:"mb-6 sm:mb-0 sm:mt-0"},[t._t("actions")],2)])])]),t._v(" "),s("main",[s("div",{staticClass:"container mx-auto px-4 sm:px-6 lg:px-8"},[t.$page.props.successMessage?s("Message",{attrs:{severity:"success",closable:!1}},[t._v(t._s(t.$page.props.successMessage))]):t._e(),t._v(" "),t.$page.props.errorMessage?s("Message",{attrs:{severity:"error",closable:!1}},[t._v(t._s(t.$page.props.errorMessage))]):t._e()],1),t._v(" "),t._t("default")],2),t._v(" "),s("portal-target",{attrs:{name:"modal",multiple:""}}),t._v(" "),s("ConfirmDialog"),t._v(" "),s("Toast",{attrs:{position:t.$page.props.rtl?"bottom-left":"bottom-right"}}),t._v(" "),s("Toast",{attrs:{position:t.$page.props.rtl?"top-left":"top-right",group:"lm"}})],1),t._v(" "),s("div",{directives:[{name:"show",rawName:"v-show",value:t.sideBar,expression:"sideBar"}],staticClass:"fixed inset-0 z-10 w-screen h-screen bg-black bg-opacity-25 md:hidden",on:{click:function(e){t.sideBar=!1}}})])])}),[],!1,null,null,null).exports},12236:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>_});var r=s(66727),n=s(51473),a=s(78589),i=s(62921),o=s(15236),l=s(47554),c=s(89808),d=s(75004),u=s(26778),p=s(8392),m=s(32426),v=s(75986),h=s(47058);const g={components:{SAQSolution:s(88364).Z,FIBSolution:h.Z,ORDSolution:v.Z,MTFSolution:m.Z,MSASolution:i.Z,MMASolution:p.Z,AdminLayout:r.Z,DoughnutChart:n.Z,RewardsBadge:a.Z,PracticeQuestionCard:o.Z,PracticeQuestionChip:l.Z,NavigationQuestionCardShimmer:c.Z,PracticeQuestionShimmer:d.Z,PracticeSolutionCard:u.Z},props:{exam:Object,session:Object},data:function(){return{loading:!1,questions:[],current_question:0,statusChartData:{labels:["Correct","Wrong","Unanswered"],datasets:[{label:"Status",data:[this.session.results.correct_answered_questions,this.session.results.wrong_answered_questions,this.session.results.unanswered_questions],backgroundColor:["rgb(52, 211, 153)","rgb(248, 113, 113)","rgb(156, 163, 175)"],hoverOffset:4}]},timeSpentChartData:{labels:["Correct","Wrong","Other"],datasets:[{label:"Time Spent",data:[this.session.results.time_taken_for_correct_answered.seconds,this.session.results.time_taken_for_wrong_answered.seconds,this.session.results.time_taken_for_other.seconds],backgroundColor:["rgb(52, 211, 153)","rgb(248, 113, 113)","rgb(156, 163, 175)"],hoverOffset:4}]}}},metaInfo:function(){return{title:this.title}},methods:{jumpToQuestion:function(t){this.current_question=t},fetchQuestions:function(){var t=this;t.loading=!0,axios.get(route("fetch_exam_session_solutions",{exam:this.exam.slug,session:this.session.id})).then((function(e){var s=e.data;t.questions=s.questions})).catch((function(e){t.loading=!1})).then((function(){t.loading=!1}))}},computed:{title:function(){return this.exam.title+" "+this.__("Score Report")+" - "+this.$page.props.general.app_name},totalAnswered:function(){return this.session.results.answered_questions+"/"+this.session.results.total_questions+" Answered"},totalTimeSpent:function(){return this.session.results.total_time_taken.detailed_readable+" Spent"}},mounted:function(){this.fetchQuestions()}};const _=(0,s(51900).Z)(g,(function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("admin-layout",{scopedSlots:t._u([{key:"header",fn:function(){return[s("h4",{staticClass:"page-heading"},[t._v(t._s(t.exam.title)+" "+t._s(t.__("Score Report")))])]},proxy:!0},{key:"actions",fn:function(){return[s("a",{staticClass:"qt-btn qt-btn-success",attrs:{href:t.route("exam_session_report",{exam:t.exam.slug,session:t.session.id}),target:"_blank"}},[t._v("\n "+t._s(t.__("Download Score Report"))+"\n ")])]},proxy:!0}])},[t._v(" "),t._v(" "),s("div",{staticClass:"py-8"},[s("div",{staticClass:"max-w-7xl mx-auto px-4 sm:px-6 lg:px-8"},[s("div",{staticClass:"grid sm:grid-cols-1 md:grid-cols-2 gap-4"},[s("div",{staticClass:"bg-white dark:bg-gray-800 rounded flex flex-col items-center justify-center p-5 relative shadow"},[s("div",{staticClass:"w-full flex sm:justify-center items-center"},[s("table",{staticClass:"w-full table-auto"},[s("tbody",[s("tr",[s("td",{staticClass:"border border-emerald-500 px-4 py-2 text-emerald-600 font-medium text-sm"},[t._v(t._s(t.__("Test Taker")))]),t._v(" "),s("td",{staticClass:"border border-emerald-500 px-4 py-2 text-emerald-600 text-sm"},[t._v(t._s(t.session.name))])]),t._v(" "),s("tr",[s("td",{staticClass:"border border-emerald-500 px-4 py-2 text-emerald-600 font-medium text-sm"},[t._v(t._s(t.__("Email")))]),t._v(" "),s("td",{staticClass:"border border-emerald-500 px-4 py-2 text-emerald-600 text-sm"},[t._v(t._s(t.session.email))])]),t._v(" "),s("tr",[s("td",{staticClass:"border border-emerald-500 px-4 py-2 text-emerald-600 font-medium text-sm"},[t._v(t._s(t.__("Session")))]),t._v(" "),s("td",{staticClass:"border border-emerald-500 px-4 py-2 text-emerald-600 font-mono text-sm uppercase"},[t._v(t._s(t.session.id))])]),t._v(" "),s("tr",{staticClass:"bg-emerald-200"},[s("td",{staticClass:"border border-emerald-500 px-4 py-2 text-emerald-600 font-medium text-sm"},[t._v(t._s(t.__("Completion")))]),t._v(" "),s("td",{staticClass:"border border-emerald-500 px-4 py-2 text-emerald-600 text-sm"},[t._v(t._s(t.session.completed))])]),t._v(" "),s("tr",[s("td",{staticClass:"border border-emerald-500 px-4 py-2 text-emerald-600 font-medium text-sm"},[t._v(t._s(t.__("IP")))]),t._v(" "),s("td",{staticClass:"border border-emerald-500 px-4 py-2 text-emerald-600 text-sm"},[t._v(t._s(t.session.results.ip_address))])]),t._v(" "),s("tr",[s("td",{staticClass:"border border-emerald-500 px-4 py-2 text-emerald-600 font-medium text-sm"},[t._v(t._s(t.__("Device")))]),t._v(" "),s("td",{staticClass:"border border-emerald-500 px-4 py-2 text-emerald-600 text-sm"},[t._v(t._s(t.session.device)+", "+t._s(t.session.os)+", "+t._s(t.session.browser))])])])])])]),t._v(" "),s("div",{staticClass:"grid sm:grid-cols-1 md:grid-cols-2 gap-4"},[s("div",{staticClass:"bg-white dark:bg-gray-800 rounded flex items-center justify-between px-6 py-4 relative shadow"},[s("div",{staticClass:"absolute w-2 h-4 bg-green-700 left-0"}),t._v(" "),s("h3",{staticClass:"focus:outline-none py-6 leading-4 text-gray-800 dark:text-gray-100 font-normal text-base"},[t._v(t._s(t.session.status))]),t._v(" "),s("div",{staticClass:"flex flex-col items-end"},[s("h2",{staticClass:"focus:outline-none text-green-700 dark:text-gray-100 text-xl leading-normal font-bold"},[t._v(t._s(t.session.results.percentage)+"%")]),t._v(" "),s("p",{staticClass:"focus:outline-none ltr:ml-2 rtl:mr-2 mb-1 text-sm text-gray-600 dark:text-gray-400",attrs:{tabindex:"0"}},[t._v("Min. "+t._s(t.session.results.cutoff)+"%")])])]),t._v(" "),s("div",{staticClass:"bg-white dark:bg-gray-800 rounded flex items-center justify-between px-6 py-4 relative shadow"},[s("div",{staticClass:"absolute w-2 h-4 bg-green-700 left-0"}),t._v(" "),s("h3",{staticClass:"focus:outline-none py-6 leading-4 text-gray-800 dark:text-gray-100 font-normal text-base"},[t._v(t._s(t.__("Score")))]),t._v(" "),s("div",{staticClass:"flex flex-col items-end"},[s("h2",{staticClass:"focus:outline-none text-green-700 dark:text-gray-100 text-xl leading-normal font-bold"},[t._v(t._s(t.session.results.score))]),t._v(" "),s("p",{staticClass:"focus:outline-none ltr:ml-2 rtl:mr-2 mb-1 text-sm text-gray-600 dark:text-gray-400",attrs:{tabindex:"0"}},[t._v("Out of "+t._s(t.session.results.total_marks))])])]),t._v(" "),s("div",{staticClass:"bg-white dark:bg-gray-800 rounded flex items-center justify-between px-6 py-4 relative shadow"},[s("div",{staticClass:"absolute w-2 h-4 bg-green-700 left-0"}),t._v(" "),s("h3",{staticClass:"focus:outline-none py-6 leading-4 text-gray-800 dark:text-gray-100 font-normal text-base"},[t._v(t._s(t.__("Accuracy")))]),t._v(" "),s("div",{staticClass:"flex flex-col items-end"},[s("h2",{staticClass:"focus:outline-none text-green-700 dark:text-gray-100 text-xl leading-normal font-bold"},[t._v(t._s(t.session.results.accuracy)+"%")]),t._v(" "),s("p",{staticClass:"focus:outline-none ltr:ml-2 rtl:mr-2 mb-1 text-sm text-gray-600 dark:text-gray-400",attrs:{tabindex:"0"}})])]),t._v(" "),s("div",{staticClass:"bg-white dark:bg-gray-800 rounded flex items-center justify-between px-6 py-4 relative shadow"},[s("div",{staticClass:"absolute w-2 h-4 bg-green-700 left-0"}),t._v(" "),s("h3",{staticClass:"focus:outline-none py-6 leading-4 text-gray-800 dark:text-gray-100 font-normal text-base"},[t._v(t._s(t.__("Speed")))]),t._v(" "),s("div",{staticClass:"flex flex-col items-end"},[s("h2",{staticClass:"focus:outline-none text-green-700 dark:text-gray-100 text-xl leading-normal font-bold"},[t._v(t._s(t.session.results.speed))]),t._v(" "),s("p",{staticClass:"focus:outline-none ltr:ml-2 rtl:mr-2 mb-1 text-sm text-gray-600 dark:text-gray-400",attrs:{tabindex:"0"}},[t._v("Que/Hour")])])])])]),t._v(" "),s("div",{staticClass:"grid sm:grid-cols-1 md:grid-cols-3 gap-8 py-8"},[s("div",{staticClass:"bg-white dark:bg-gray-800 rounded flex flex-col items-center justify-center p-5 relative shadow"},[s("h2",{staticClass:"focus:outline-none text-gray-800 text-base leading-normal font-semibold mb-6"},[t._v("\n "+t._s(t.session.results.total_questions)+" "+t._s(t.__("Questions"))+"\n ")]),t._v(" "),s("div",{staticClass:"flex gap-4 sm:justify-center items-center"},[s("div",{staticClass:"w-28"},[s("doughnut-chart",{key:"status",attrs:{id:"status","chart-data":t.statusChartData,"element-text":t.totalAnswered}})],1),t._v(" "),s("div",{staticClass:"flex flex-col gap-2 justify-center"},[s("div",{staticClass:"flex gap-2 items-center text-xs"},[s("svg",{staticClass:"w-5 h-5 text-green-400",attrs:{fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"}},[s("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._v("\n "+t._s(t.session.results.correct_answered_questions)+" "+t._s(t.__("Correct"))+"\n ")]),t._v(" "),s("div",{staticClass:"flex gap-2 items-center text-xs"},[s("svg",{staticClass:"w-5 h-5 text-red-400",attrs:{fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"}},[s("path",{attrs:{"stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M10 14l2-2m0 0l2-2m-2 2l-2-2m2 2l2 2m7-2a9 9 0 11-18 0 9 9 0 0118 0z"}})]),t._v("\n "+t._s(t.session.results.wrong_answered_questions)+" "+t._s(t.__("Wrong"))+"\n ")]),t._v(" "),s("div",{staticClass:"flex gap-2 items-center text-xs"},[s("svg",{staticClass:"w-5 h-5 text-gray-400",attrs:{fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"}},[s("path",{attrs:{"stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M15 12H9m12 0a9 9 0 11-18 0 9 9 0 0118 0z"}})]),t._v("\n "+t._s(t.session.results.unanswered_questions)+" "+t._s(t.__("Unanswered"))+"\n ")])])])]),t._v(" "),s("div",{staticClass:"bg-white dark:bg-gray-800 rounded flex flex-col items-center justify-center p-5 relative shadow"},[s("h2",{staticClass:"focus:outline-none text-gray-800 text-base leading-normal font-semibold mb-6"},[t._v("\n "+t._s(t.session.results.total_duration)+" "+t._s(t.__("Minutes"))+"\n ")]),t._v(" "),s("div",{staticClass:"flex gap-4 sm:justify-center items-center"},[s("div",{staticClass:"w-28"},[s("doughnut-chart",{key:"time_spent",attrs:{id:"time_spent","chart-data":t.timeSpentChartData,"element-text":t.totalTimeSpent}})],1),t._v(" "),s("div",{staticClass:"flex flex-col gap-2 justify-center"},[s("div",{staticClass:"flex gap-2 items-center text-xs"},[s("svg",{staticClass:"w-5 h-5 text-green-400",attrs:{fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"}},[s("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._v("\n "+t._s(t.session.results.time_taken_for_correct_answered.detailed_readable)+" "+t._s(t.__("Correct"))+"\n ")]),t._v(" "),s("div",{staticClass:"flex gap-2 items-center text-xs"},[s("svg",{staticClass:"w-5 h-5 text-red-400",attrs:{fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"}},[s("path",{attrs:{"stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M10 14l2-2m0 0l2-2m-2 2l-2-2m2 2l2 2m7-2a9 9 0 11-18 0 9 9 0 0118 0z"}})]),t._v("\n "+t._s(t.session.results.time_taken_for_wrong_answered.detailed_readable)+" "+t._s(t.__("Wrong"))+"\n ")]),t._v(" "),s("div",{staticClass:"flex gap-2 items-center text-xs"},[s("svg",{staticClass:"w-5 h-5 text-gray-400",attrs:{fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"}},[s("path",{attrs:{"stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M15 12H9m12 0a9 9 0 11-18 0 9 9 0 0118 0z"}})]),t._v("\n "+t._s(t.session.results.time_taken_for_other.detailed_readable)+" "+t._s(t.__("Other"))+"\n ")])])])]),t._v(" "),s("div",{staticClass:"bg-white dark:bg-gray-800 rounded flex flex-col items-center justify-center p-5 relative shadow"},[s("h2",{staticClass:"focus:outline-none text-gray-800 text-base leading-normal font-semibold mb-6"},[t._v("\n "+t._s(t.__("Total Scored Marks"))+"\n ")]),t._v(" "),s("div",{staticClass:"w-full flex gap-4 sm:justify-center items-center"},[s("table",{staticClass:"w-full table-auto"},[s("tbody",[s("tr",[s("td",{staticClass:"border border-emerald-500 px-4 py-2 text-emerald-600 text-sm"},[t._v(t._s(t.__("Marks Earned")))]),t._v(" "),s("td",{staticClass:"border border-emerald-500 px-4 py-2 text-emerald-600 font-medium text-sm text-right"},[t._v(t._s(t.session.results.marks_earned))])]),t._v(" "),s("tr",{staticClass:"bg-emerald-200"},[s("td",{staticClass:"border border-emerald-500 px-4 py-2 text-emerald-600 text-sm"},[t._v(t._s(t.__("Negative Marks")))]),t._v(" "),s("td",{staticClass:"border border-emerald-500 px-4 py-2 text-emerald-600 font-medium text-sm text-right"},[t._v("-"+t._s(t.session.results.marks_deducted))])]),t._v(" "),s("tr",[s("td",{staticClass:"border border-emerald-500 px-4 py-2 text-emerald-600 text-sm"},[t._v(t._s(t.__("Total Marks")))]),t._v(" "),s("td",{staticClass:"border border-emerald-500 px-4 py-2 text-emerald-600 font-medium text-sm text-right"},[t._v(t._s(t.session.results.score))])])])])])])]),t._v(" "),s("div",[s("h2",{staticClass:"text-lg font-semibold leading-tight text-gray-800 mb-6"},[t._v(t._s(t.__("User Answers")))]),t._v(" "),s("div",{staticClass:"w-full card"},[s("div",{staticClass:"w-full card-body lg:flex flex-wrap"},[s("div",{staticClass:"py-4 lg:w-1/3 w-full md:pr-6"},[t.loading?s("ul",[s("li",[s("NavigationQuestionCardShimmer")],1),t._v(" "),s("li",[s("NavigationQuestionCardShimmer")],1),t._v(" "),s("li",[s("NavigationQuestionCardShimmer")],1),t._v(" "),s("li",[s("NavigationQuestionCardShimmer")],1)]):s("ul",{staticClass:"my-6 flex flex-wrap justify-center items-center gap-2"},t._l(t.questions,(function(e,r){return s("li",{key:e.code,on:{click:function(e){return t.jumpToQuestion(r)}}},[s("practice-question-chip",{attrs:{sno:r+1,is_correct:e.is_correct,status:e.status,active:t.current_question===r}})],1)})),0)]),t._v(" "),s("div",{staticClass:"py-4 lg:w-2/3 w-full md:pl-6 sm:border-l border-gray-200"},[t.loading?s("div",{staticClass:"w-full sm:w-2/3"},[s("div",{staticClass:"card card-body"},[s("PracticeQuestionShimmer",{staticClass:"w-full"})],1)]):s("div",t._l(t.questions,(function(e,r){return s("div",{key:e.id},[s("div",{directives:[{name:"show",rawName:"v-show",value:t.current_question===r,expression:"current_question === index"}],attrs:{id:e.code}},[s("div",{staticClass:"flex justify-between items-center mb-6"},[s("div",{staticClass:"font-mono px-2 py-1 inline-block bg-qt-option text-white rounded text-sm mb-2"},[t._v("\n "+t._s(t.__("Time Spent"))+": "+t._s(e.time_taken.detailed_readable)+"\n ")]),t._v(" "),"answered"===e.status?s("div",{staticClass:"font-mono px-2 py-1 inline-block text-white rounded text-sm mb-2",class:e.is_correct?"bg-green-400":"bg-red-400"},[e.is_correct?s("span",[t._v("+"+t._s(e.marks_earned)+" "+t._s(t.__("Marks Earned")))]):t._e(),t._v(" "),e.is_correct?t._e():s("span",[t._v("-"+t._s(e.marks_deducted)+" "+t._s(t.__("Marks Deducted")))])]):s("div",{staticClass:"font-mono px-2 py-1 inline-block bg-gray-100 text-gray-600 rounded text-sm mb-2"},[t._v("\n "+t._s(t.__("Not Answered"))+"\n ")])]),t._v(" "),s("practice-question-card",{key:e.card,attrs:{question:e,sno:r+1,"total-questions":t.exam.total_questions}}),t._v(" "),"MSA"===e.questionType||"TOF"===e.questionType?s("div",{staticClass:"mt-4"},[s("MSASolution",{key:e.code,attrs:{"parent-qid":e.code,"is-correct":e.is_correct,status:e.status,"parent-options":e.options,"parent-answer":e.user_answer,"correct-answer":e.ca}})],1):t._e(),t._v(" "),"MMA"===e.questionType?s("div",{staticClass:"mt-4"},[s("MMASolution",{key:e.code,attrs:{"parent-qid":e.code,"is-correct":e.is_correct,status:e.status,"parent-options":e.options,"parent-answer":e.user_answer,"correct-answer":e.ca}})],1):t._e(),t._v(" "),"MTF"===e.questionType?s("div",{staticClass:"mt-4"},[s("MTFSolution",{key:e.code,attrs:{parentQid:e.code,"is-correct":e.is_correct,status:e.status,"parent-options":e.options,"parent-answer":e.user_answer,"correct-answer":e.ca}})],1):t._e(),t._v(" "),"ORD"===e.questionType?s("div",{staticClass:"mt-4"},[s("ORDSolution",{key:e.code,attrs:{parentQid:e.code,"is-correct":e.is_correct,status:e.status,"parent-options":e.options,"parent-answer":e.user_answer,"correct-answer":e.ca}})],1):t._e(),t._v(" "),"FIB"===e.questionType?s("div",{staticClass:"mt-4"},[s("FIBSolution",{key:e.code,attrs:{parentQid:e.code,"is-correct":e.is_correct,status:e.status,"parent-options":e.options,"parent-answer":e.user_answer,"correct-answer":e.ca}})],1):t._e(),t._v(" "),"SAQ"===e.questionType?s("div",{staticClass:"mt-4"},[s("SAQSolution",{key:e.code,attrs:{parentQid:e.code,"is-correct":e.is_correct,status:e.status,"parent-options":e.options,"parent-answer":e.user_answer,"correct-answer":e.ca}})],1):t._e(),t._v(" "),s("div",{staticClass:"mt-4"},[s("practice-solution-card",{attrs:{question:e}})],1)],1)])})),0)])])])])])])])}),[],!1,null,null,null).exports}}]);