{"version":3,"file":"brower_too_old-YHjDtHsD.js","sources":["../../../app/javascript/views/quizzes/quiz_student_mixin.js","../../../app/javascript/components/quiz/evalmee/exam_diagnostic_info.vue","../../../app/javascript/components/quiz/evalmee/student_help_menu.vue","../../../app/javascript/views/evalmee_student/brower_too_old.vue"],"sourcesContent":["import { mapActions, mapGetters } from \"vuex\"\n\nexport default {\n props: {\n quizId: { type: Number, default: null },\n quizzesAttemptSummaryId: { type: Number, default: null },\n },\n computed: {\n ...mapGetters([\n \"quizById\",\n \"scoreByQuizAndUserId\",\n \"currentUser\",\n \"quizInstanceByQuizId2\",\n \"currentSchoolsUser\",\n \"allSchoolsUsers\",\n \"quizzesAttemptSummaryById\",\n \"scoreById\",\n ]),\n quiz() { return this.quizById(this.quizId) },\n quizzesAttemptSummary() { return this.quizzesAttemptSummaryById(this.quizzesAttemptSummaryId) },\n score() {\n if (this.quizzesAttemptSummary) {\n return this.scoreById(this.quizzesAttemptSummary.id)\n } else {\n return this.scoreByQuizAndUserId(this.quiz?.id, this.currentUser.id)\n }\n },\n quizInstance() { return this.quizInstanceByQuizId2(this.quizId, this.currentUser?.id) },\n /**\n * We cannot use \"currentSchoolsUser\" because it relie on\n * the \"last_school_id\" of the user which is not set for students.\n **/\n schoolsUser() {\n return this.allSchoolsUsers.find(s => {\n return s.school_id === this.quiz?.school_id\n && s.user_id === this.currentUser?.id\n })\n },\n\n },\n methods: {\n ...mapActions([\"fetchQuizzesSubscriptions\", \"fetchQuizzesAttemptSummaries\"]),\n fetchQuizzesAttemptsSummariesInSameQuiz() {\n return this.fetchQuizzesAttemptSummaries({\n filter: { quiz_id: this.quizId },\n })\n },\n },\n}\n","\n\n\n\n\n","\n\n\n\n\n","\n\n\n\n\n"],"names":["quizStudentMixin","__spreadProps","__spreadValues","mapGetters","_a","_b","mapActions","_sfc_main","props","quizIdFromRoute","useRoute","unsyncedEvents","unsyncedScreenshots","useStudentEventRegisterer","memory","useMemory","diagnosticInfoPre","ref","copy","copied","useClipboard","checkCache","preloadDocuments","clearCache","cacheStatus","useSubjectCache","cachedCount","computed","d","totalCount","toMB","v","info","_c","__async","EventStorage","e","url","asArray","doc","trackingHelpers","ChatSupportHelpers","ExamDiagnosticInfo","chatSupportHelpers","now","time","StudentHelpMenu"],"mappings":"ssDAEA,MAAeA,GAAA,CACb,MAAO,CACL,OAAQ,CAAE,KAAM,OAAQ,QAAS,IAAM,EACvC,wBAAyB,CAAE,KAAM,OAAQ,QAAS,IAAM,CACzD,EACD,SAAUC,EAAAC,EAAA,GACLC,EAAW,CACZ,WACA,uBACA,cACA,wBACA,qBACA,kBACA,4BACA,WACN,CAAK,GAVO,CAWR,MAAO,CAAE,OAAO,KAAK,SAAS,KAAK,MAAM,CAAG,EAC5C,uBAAwB,CAAE,OAAO,KAAK,0BAA0B,KAAK,uBAAuB,CAAG,EAC/F,OAAQ,OACN,OAAI,KAAK,sBACA,KAAK,UAAU,KAAK,sBAAsB,EAAE,EAE5C,KAAK,sBAAqBC,EAAA,KAAK,OAAL,YAAAA,EAAW,GAAI,KAAK,YAAY,EAAE,CAEtE,EACD,cAAe,OAAE,OAAO,KAAK,sBAAsB,KAAK,QAAQA,EAAA,KAAK,cAAL,YAAAA,EAAkB,EAAE,CAAG,EAKvF,aAAc,CACZ,OAAO,KAAK,gBAAgB,KAAK,GAAK,SACpC,OAAO,EAAE,cAAcA,EAAA,KAAK,OAAL,YAAAA,EAAW,YAC7B,EAAE,YAAYC,EAAA,KAAK,cAAL,YAAAA,EAAkB,GACtC,CAAA,CACF,CAEF,GACD,QAASJ,EAAAC,EAAA,GACJI,EAAW,CAAC,4BAA6B,8BAA8B,CAAC,GADpE,CAEP,yCAA0C,CACxC,OAAO,KAAK,6BAA6B,CACvC,OAAQ,CAAE,QAAS,KAAK,MAAQ,CACjC,CAAA,CACF,CACF,EACH,ECmFAC,GAAA,CACA,KAAA,qBACA,MAAA,CACA,OAAA,CACA,KAAA,OACA,SAAA,EACA,EACA,wBAAA,CACA,KAAA,OACA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