From 3f2aee322299ffc5363f38a7ea4427ff329175b4 Mon Sep 17 00:00:00 2001 From: Srushtika Date: Wed, 2 Dec 2020 16:32:58 +0000 Subject: [PATCH 1/4] christmas theme added --- realtime-quiz/dist/css/app.732e0937.css | 1 - realtime-quiz/dist/css/app.c87c8863.css | 1 + realtime-quiz/dist/index.html | 7 +- realtime-quiz/dist/js/app.0d8c7861.js | 2 + realtime-quiz/dist/js/app.0d8c7861.js.map | 1 + realtime-quiz/dist/js/app.979abac9.js | 2 - realtime-quiz/dist/js/app.979abac9.js.map | 1 - realtime-quiz/public/index.html | 5 +- realtime-quiz/src/App.vue | 175 +++++++++++++++++- .../src/components/host/CreateQuizRoom.vue | 8 +- .../src/components/host/HostHome.vue | 19 +- .../src/components/player/PlayerHome.vue | 18 +- 12 files changed, 222 insertions(+), 18 deletions(-) delete mode 100644 realtime-quiz/dist/css/app.732e0937.css create mode 100644 realtime-quiz/dist/css/app.c87c8863.css create mode 100644 realtime-quiz/dist/js/app.0d8c7861.js create mode 100644 realtime-quiz/dist/js/app.0d8c7861.js.map delete mode 100644 realtime-quiz/dist/js/app.979abac9.js delete mode 100644 realtime-quiz/dist/js/app.979abac9.js.map diff --git a/realtime-quiz/dist/css/app.732e0937.css b/realtime-quiz/dist/css/app.732e0937.css deleted file mode 100644 index 9657db0..0000000 --- a/realtime-quiz/dist/css/app.732e0937.css +++ /dev/null @@ -1 +0,0 @@ -#app{font-family:Avenir,Helvetica,Arial,sans-serif;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;color:#2c3e50;margin-top:60px}.answer-card[data-v-10651dd2]{width:60%;margin:20px auto;text-align:center}.answer-eval[data-v-10651dd2]{display:flex;justify-content:center;align-items:center;gap:10px}.answer-div[data-v-10651dd2]{max-height:200px;padding:10px}.answer-text[data-v-10651dd2]{margin:20px}@media only screen and (max-device-width:480px){.answer-card[data-v-10651dd2]{width:90%;margin:20px auto;text-align:center}}.questions-card-player[data-v-6b50fdcc]{width:60%;margin:20px auto;text-align:center}.questions-card-host[data-v-6b50fdcc]{width:90%;margin:20px auto;text-align:center}.question-div[data-v-6b50fdcc]{max-height:200px;margin:20px}.img-div[data-v-6b50fdcc]{margin:0 auto;max-width:50%}.q-img[data-v-6b50fdcc]{max-height:200px}.choices-container[data-v-6b50fdcc]{display:flex;flex-wrap:wrap;justify-content:space-between}.choice-btn[data-v-6b50fdcc],.choice-div[data-v-6b50fdcc]{flex:0 46%;height:60px;margin:2%}.choice-div[data-v-6b50fdcc]{line-height:60px;border:thin solid grey}.submitted-msg[data-v-6b50fdcc]{text-align:center;margin:0 auto;color:grey}@media only screen and (max-device-width:480px){.questions-card-player[data-v-6b50fdcc]{width:90%;margin:10px auto;text-align:center}.question-div[data-v-6b50fdcc]{max-height:100px;margin:20px;font-size:15px}.img-div[data-v-6b50fdcc]{margin:0 auto;max-width:30%}.q-img[data-v-6b50fdcc]{max-height:100px}.choices-container[data-v-6b50fdcc]{display:block}.choice-btn[data-v-6b50fdcc],.choice-div[data-v-6b50fdcc]{width:100%;height:60px;margin:2%}.choice-div[data-v-6b50fdcc]{border:grey}.submitted-msg[data-v-6b50fdcc]{text-align:center;margin:0 auto;color:grey}}.online-players[data-v-eb92127c]{display:flex;align-items:center;justify-content:center;flex-direction:row;flex-wrap:wrap;align-content:center;margin:20px auto;max-width:80%}.player-avatar[data-v-eb92127c]{width:70px;height:70px;max-width:70px;max-height:70px}@media only screen and (max-device-width:480px){.online-players[data-v-eb92127c]{display:flex;align-items:center;justify-content:center;flex-direction:row;flex-wrap:wrap;align-content:center;margin:20px auto;max-width:80%}}.alert-quiz-ended[data-v-67897afe]{width:60%;margin:20px auto;text-align:center}.player-home[data-v-67897afe]{margin:0 auto;text-align:center;width:60%}.nickname-input[data-v-67897afe]{display:flex;justify-content:space-evenly;width:50%;text-align:center;margin:0 auto}@media only screen and (max-device-width:480px){.player-home[data-v-67897afe]{margin:0 auto;text-align:center;width:90%}.nickname-input[data-v-67897afe]{display:flex;justify-content:space-evenly;width:70%;text-align:center;margin:0 auto}.alert-quiz-ended[data-v-67897afe]{width:90%;margin:20px auto;text-align:center}}.admin-panel[data-v-002967ae]{width:90%;margin:20px auto;text-align:center}.btn-next[data-v-002967ae]{margin-bottom:20px}.end-btn[data-v-002967ae]{font-size:12px;margin:0}.leaderboard[data-v-bb666d0e],.livestats-div[data-v-0a7e7ac2]{width:90%;margin:20px auto;text-align:center}.score-list[data-v-bb666d0e]{width:50%;margin:0 auto;padding:10px}.score-item[data-v-bb666d0e]{display:flex;justify-content:space-between}.host-home[data-v-0a9f1296]{margin:0 auto;text-align:center;width:60%}.input-box[data-v-0a9f1296]{width:40%;margin:20px auto;text-align:center}.sheets-template[data-v-0a9f1296]{text-align:center;background-color:#f1f5f6;margin:15px auto;padding:25px;width:100%}.template-instructions[data-v-0a9f1296]{margin:20px auto}.sheet-error[data-v-0a9f1296]{margin:20px}.question-flex[data-v-0a9f1296]{width:65%}.stats-flex[data-v-0a9f1296]{width:50%}.quizEnded[data-v-0a9f1296]{width:80%;margin:20px auto;font-size:20px}.end-msg[data-v-0a9f1296]{text-align:center;margin:10px auto}.host-home[data-v-7fb30619]{margin:0 auto;text-align:center;width:60%}button[data-v-7fb30619]{margin:5px;width:60%;font-size:20px} \ No newline at end of file diff --git a/realtime-quiz/dist/css/app.c87c8863.css b/realtime-quiz/dist/css/app.c87c8863.css new file mode 100644 index 0000000..804ec7e --- /dev/null +++ b/realtime-quiz/dist/css/app.c87c8863.css @@ -0,0 +1 @@ +#app{font-family:Avenir,Helvetica,Arial,sans-serif;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;color:#2c3e50;margin-top:60px}.snowflake{color:#fff;font-size:1em;font-family:Arial,sans-serif;text-shadow:0 0 5px rgba(0,0,0,.5)}@-webkit-keyframes snowflakes-fall{0%{top:-10%}to{top:100%}}@-webkit-keyframes snowflakes-shake{0%,to{transform:translateX(0)}50%{transform:translateX(80px)}}@keyframes snowflakes-fall{0%{top:-10%}to{top:100%}}@keyframes snowflakes-shake{0%,to{transform:translateX(0)}50%{transform:translateX(80px)}}.snowflake{position:fixed;top:-10%;z-index:9999;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:default;-webkit-animation-name:snowflakes-fall,snowflakes-shake;-webkit-animation-duration:10s,3s;-webkit-animation-timing-function:linear,ease-in-out;-webkit-animation-iteration-count:infinite,infinite;-webkit-animation-play-state:running,running;animation-name:snowflakes-fall,snowflakes-shake;animation-duration:10s,3s;animation-timing-function:linear,ease-in-out;animation-iteration-count:infinite,infinite;animation-play-state:running,running}.snowflake:nth-of-type(0){left:1%;-webkit-animation-delay:0s,0s;animation-delay:0s,0s}.snowflake:first-of-type{left:10%;-webkit-animation-delay:1s,1s;animation-delay:1s,1s}.snowflake:nth-of-type(2){left:20%;-webkit-animation-delay:6s,.5s;animation-delay:6s,.5s}.snowflake:nth-of-type(3){left:30%;-webkit-animation-delay:4s,2s;animation-delay:4s,2s}.snowflake:nth-of-type(4){left:40%;-webkit-animation-delay:2s,2s;animation-delay:2s,2s}.snowflake:nth-of-type(5){left:50%;-webkit-animation-delay:8s,3s;animation-delay:8s,3s}.snowflake:nth-of-type(6){left:60%;-webkit-animation-delay:6s,2s;animation-delay:6s,2s}.snowflake:nth-of-type(7){left:70%;-webkit-animation-delay:2.5s,1s;animation-delay:2.5s,1s}.snowflake:nth-of-type(8){left:80%;-webkit-animation-delay:1s,0s;animation-delay:1s,0s}.snowflake:nth-of-type(9){left:90%;-webkit-animation-delay:3s,1.5s;animation-delay:3s,1.5s}.snowflake:nth-of-type(10){left:25%;-webkit-animation-delay:2s,0s;animation-delay:2s,0s}.snowflake:nth-of-type(11){left:65%;-webkit-animation-delay:4s,2.5s;animation-delay:4s,2.5s}.answer-card[data-v-10651dd2]{width:60%;margin:20px auto;text-align:center}.answer-eval[data-v-10651dd2]{display:flex;justify-content:center;align-items:center;gap:10px}.answer-div[data-v-10651dd2]{max-height:200px;padding:10px}.answer-text[data-v-10651dd2]{margin:20px}@media only screen and (max-device-width:480px){.answer-card[data-v-10651dd2]{width:90%;margin:20px auto;text-align:center}}.questions-card-player[data-v-6b50fdcc]{width:60%;margin:20px auto;text-align:center}.questions-card-host[data-v-6b50fdcc]{width:90%;margin:20px auto;text-align:center}.question-div[data-v-6b50fdcc]{max-height:200px;margin:20px}.img-div[data-v-6b50fdcc]{margin:0 auto;max-width:50%}.q-img[data-v-6b50fdcc]{max-height:200px}.choices-container[data-v-6b50fdcc]{display:flex;flex-wrap:wrap;justify-content:space-between}.choice-btn[data-v-6b50fdcc],.choice-div[data-v-6b50fdcc]{flex:0 46%;height:60px;margin:2%}.choice-div[data-v-6b50fdcc]{line-height:60px;border:thin solid grey}.submitted-msg[data-v-6b50fdcc]{text-align:center;margin:0 auto;color:grey}@media only screen and (max-device-width:480px){.questions-card-player[data-v-6b50fdcc]{width:90%;margin:10px auto;text-align:center}.question-div[data-v-6b50fdcc]{max-height:100px;margin:20px;font-size:15px}.img-div[data-v-6b50fdcc]{margin:0 auto;max-width:30%}.q-img[data-v-6b50fdcc]{max-height:100px}.choices-container[data-v-6b50fdcc]{display:block}.choice-btn[data-v-6b50fdcc],.choice-div[data-v-6b50fdcc]{width:100%;height:60px;margin:2%}.choice-div[data-v-6b50fdcc]{border:grey}.submitted-msg[data-v-6b50fdcc]{text-align:center;margin:0 auto;color:grey}}.online-players[data-v-eb92127c]{display:flex;align-items:center;justify-content:center;flex-direction:row;flex-wrap:wrap;align-content:center;margin:20px auto;max-width:80%}.player-avatar[data-v-eb92127c]{width:70px;height:70px;max-width:70px;max-height:70px}@media only screen and (max-device-width:480px){.online-players[data-v-eb92127c]{display:flex;align-items:center;justify-content:center;flex-direction:row;flex-wrap:wrap;align-content:center;margin:20px auto;max-width:80%}}.img-header[data-v-259bc8aa]{width:100%;background-color:#dde0e1}.card-img-top[data-v-259bc8aa]{width:80%}.alert-quiz-ended[data-v-259bc8aa]{width:60%;margin:20px auto;text-align:center}.player-home[data-v-259bc8aa]{margin:0 auto;text-align:center;width:60%}.nickname-input[data-v-259bc8aa]{display:flex;justify-content:space-evenly;width:50%;text-align:center;margin:0 auto}@media only screen and (max-device-width:480px){.player-home[data-v-259bc8aa]{margin:0 auto;text-align:center;width:90%}.nickname-input[data-v-259bc8aa]{display:flex;justify-content:space-evenly;width:70%;text-align:center;margin:0 auto}.alert-quiz-ended[data-v-259bc8aa]{width:90%;margin:20px auto;text-align:center}}.admin-panel[data-v-002967ae]{width:90%;margin:20px auto;text-align:center}.btn-next[data-v-002967ae]{margin-bottom:20px}.end-btn[data-v-002967ae]{font-size:12px;margin:0}.leaderboard[data-v-bb666d0e],.livestats-div[data-v-0a7e7ac2]{width:90%;margin:20px auto;text-align:center}.score-list[data-v-bb666d0e]{width:50%;margin:0 auto;padding:10px}.score-item[data-v-bb666d0e]{display:flex;justify-content:space-between}.host-home[data-v-3cbd2812]{margin:0 auto;text-align:center;width:60%}.input-box[data-v-3cbd2812]{width:40%;margin:20px auto;text-align:center}.sheets-template[data-v-3cbd2812]{text-align:center;background-color:#f1f5f6;margin:15px auto;padding:25px;width:100%}.template-instructions[data-v-3cbd2812]{margin:20px auto}.sheet-error[data-v-3cbd2812]{margin:20px}.question-flex[data-v-3cbd2812]{width:65%}.stats-flex[data-v-3cbd2812]{width:50%}.quizEnded[data-v-3cbd2812]{width:80%;margin:20px auto;font-size:20px}.end-msg[data-v-3cbd2812]{text-align:center;margin:10px auto}.host-home[data-v-ed838cf2]{margin:0 auto;text-align:center;width:65%}button[data-v-ed838cf2]{margin:5px;width:60%;font-size:20px}.img-header[data-v-ed838cf2]{width:100%;background-color:#dde0e1}.card-img-top[data-v-ed838cf2]{width:80%} \ No newline at end of file diff --git a/realtime-quiz/dist/index.html b/realtime-quiz/dist/index.html index 43fff72..84b155d 100644 --- a/realtime-quiz/dist/index.html +++ b/realtime-quiz/dist/index.html @@ -1,9 +1,12 @@ Live trivia
\ No newline at end of file + }
\ No newline at end of file diff --git a/realtime-quiz/dist/js/app.0d8c7861.js b/realtime-quiz/dist/js/app.0d8c7861.js new file mode 100644 index 0000000..d02ce83 --- /dev/null +++ b/realtime-quiz/dist/js/app.0d8c7861.js @@ -0,0 +1,2 @@ +(function(e){function t(t){for(var i,o,r=t[0],c=t[1],u=t[2],d=0,h=[];d0?[e.didHostStartGame?e._e():s("div",[s("hr"),s("button",{staticClass:"btn btn-primary",attrs:{type:"button"},on:{click:function(t){return e.startQuiz()}}},[e._v(" Start the quiz ")])])]:e._e()],2):s("div",{staticClass:"card-body"},[s("h2",{staticClass:"card-title"},[e._v(" Host "+e._s("CustomQuiz"===e.quizType?"your own ":"a randomly chosen ")+" quiz ")]),"CustomQuiz"==e.quizType?[s("div",[s("p",{staticClass:"card-text"},[e._v(" You can add your own quiz questions in Google Sheets and host a live quiz. Simply make a copy of the template and fill it with your data. ")]),s("div",{staticClass:"sheets-template"},[s("a",{staticClass:"btn btn-primary btn-host btn-template",attrs:{href:e.templateCopyURL,target:"_blank",role:"button"}},[e._v(" Get the Google Sheets template")]),s("p",{staticClass:"card-text template-instructions"},[e._v(" After you've prepared the questions and answers, you need to do two things: "),s("br"),e._v(" 1. Copy the URL of your sheet from the browser's address bar and paste it in the field below "),s("input",{directives:[{name:"model",rawName:"v-model",value:e.sheetURL,expression:"sheetURL"}],staticClass:"form-control input-box",attrs:{placeholder:"Add the URL to your sheet",disabled:e.createBtnClicked},domProps:{value:e.sheetURL},on:{input:function(t){t.target.composing||(e.sheetURL=t.target.value)}}}),e._v(" 2. Make your Google sheet publicly available by going to File > Publish to the web > Publish. You might be presented with a different shareable URL, you can ignore that. ")])])])]:e._e(),s("p",{staticClass:"card-text"},[e._v(" We need a nickname for you so the players of your quiz can identify you ")]),s("input",{directives:[{name:"model",rawName:"v-model",value:e.hostNickname,expression:"hostNickname"}],staticClass:"form-control input-box",attrs:{placeholder:"Enter nickname",disabled:e.createBtnClicked},domProps:{value:e.hostNickname},on:{input:function(t){t.target.composing||(e.hostNickname=t.target.value)}}}),s("button",{staticClass:"btn btn-primary",attrs:{type:"button create-random-btn",disabled:e.createBtnClicked},on:{click:function(t){return e.createQuizRoom()}}},[e._v(" "+e._s(e.btnText)+" ")]),e.sheetURLErr?s("div",{staticClass:"alert alert-danger sheet-error",attrs:{role:"alert"}},[e._v(" There is a problem with the URL to your sheet. Please recheck it per the instructions above, refresh this page and try again. You can reach out to support@ably.com for further assistance. ")]):e._e()],2),s("div",{staticClass:"card-footer text-muted"},[s("button",{staticClass:"btn btn-link",attrs:{type:"button"},on:{click:function(t){return e.showHome()}}},[e._v(" ← Go back ")])])]),e.showQuestions&&!e.showFinalScreen?s("div",{staticClass:"d-flex bd-highlight"},[s("div",{staticClass:"question-flex bd-highlight"},[s("Question",{attrs:{newQuestion:e.newQuestion,newChoices:e.newChoices,newQuestionNumber:e.newQuestionNumber,isLastQuestion:e.isLastQuestion,questionTimer:e.questionTimer,correctAnswerIndex:e.correctAnswerIndex,showImg:e.showImg,questionImgLink:e.questionImgLink,isAdminView:!0,correctAnswer:e.newChoices[e.correctAnswerIndex],showAnswer:e.showAnswer}})],1),s("div",{staticClass:"stats-flex bd-highlight"},[e.showAnswer?e._e():s("LiveStats",{attrs:{numAnswered:e.numAnswered,numPlaying:e.numPlaying}}),e.showAnswer?s("div",[s("Leaderboard",{attrs:{leaderboard:e.leaderboard,finalScreen:!1}}),s("AdminPanel",{attrs:{hostAdminCh:e.hostAdminCh,prevQuestionNumber:e.newQuestionNumber},on:{"end-quiz-now":function(t){return e.endQuizNow()}}})],1):e._e()],1)]):e._e(),e.showFinalScreen?s("div",{staticClass:"quizEnded"},[s("div",{staticClass:"alert alert-secondary end-msg",attrs:{role:"alert"}},[s("h6",[e._v("The quiz has ended")]),s("h1",{staticClass:"display-4"},[e._v("Congratulations to the winners 🎉🎉🎉")]),s("Leaderboard",{attrs:{leaderboard:e.leaderboard,finalScreen:!0}})],1)]):e._e()])},$=[],V=(s("4d63"),s("ac1f"),function(){var e=this,t=e.$createElement,s=e._self._c||t;return s("div",{staticClass:"alert alert-secondary admin-panel",attrs:{role:"alert"}},[s("h4",{staticClass:"alert-heading"},[e._v("Host control panel")]),s("hr"),s("button",{staticClass:"btn btn-dark btn-next",attrs:{type:"button"},on:{click:function(t){return e.showNextQuestion()}}},[e._v(" Show next question ")]),s("br"),s("button",{staticClass:"btn btn-link end-btn",attrs:{type:"button"},on:{click:function(t){return e.endQuizNow()}}},[e._v(" End quiz and show results ")])])}),F=[],B={name:"AdminPanel",props:["hostAdminCh","prevQuestionNumber"],methods:{showNextQuestion:function(){this.hostAdminCh.publish("next-question",{prevQIndex:this.prevQuestionNumber-1})},endQuizNow:function(){this.hostAdminCh.publish("end-quiz-now",{end:!0}),this.$emit("end-quiz-now")}}},Y=B,W=(s("f709"),Object(l["a"])(Y,V,F,!1,null,"002967ae",null)),D=W.exports,J=function(){var e=this,t=e.$createElement,s=e._self._c||t;return s("div",{staticClass:"card bg-light mb-3 livestats-div"},[s("div",{staticClass:"card-header"},[e._v("Live stats")]),s("div",{staticClass:"card-body"},[s("h5",{staticClass:"card-title"},[e._v(" "+e._s(e.numAnswered)+" of "+e._s(e.numPlaying)+" people have answered this question ")])])])},Z=[],K={name:"LiveStats",props:["numAnswered","numPlaying"]},X=K,ee=(s("573d"),Object(l["a"])(X,J,Z,!1,null,"0a7e7ac2",null)),te=ee.exports,se=function(){var e=this,t=e.$createElement,s=e._self._c||t;return s("div",{staticClass:"card text-white bg-warning mb-3 leaderboard"},[s("div",{staticClass:"card-header"},[s("h3",[e._v(e._s(0==e.finalScreen?"Top 5 scorers":"Final Leaderboard"))])]),s("div",{staticClass:"card-body"},[s("p",{staticClass:"card-text"},[e.leaderboard?s("ol",{staticClass:"score-list"},e._l(e.leaderboard.slice(0,e.leaderNum),(function(t,i){return s("li",{key:i,staticClass:"score-item"},[s("p",[e._v(e._s(t.nickname))]),s("p",[e._v(e._s(t.score))])])})),0):e._e()])])])},ie=[],ne={name:"Leaderboard",props:["leaderboard","finalScreen"],data:function(){return{leaderNum:this.finalScreen?this.leaderboard.length:5}}},ae=ne,oe=(s("7c35"),Object(l["a"])(ae,se,ie,!1,null,"bb666d0e",null)),re=oe.exports,ce=s("b0c2"),ue={name:"QuizType",props:["resetCmpFn","realtime","quizType","showHome","stopTheSnow"],components:{Question:q,AdminPanel:D,LiveStats:te,Leaderboard:re,OnlinePlayers:N},data:function(){return{globalQuizChName:"main-quiz-thread",globalQuizCh:null,myQuizRoomCode:this.getRandomRoomId(),myQuizRoomCh:null,hostAdminCh:"a",hostNickname:null,btnText:"Create my quiz room",createBtnClicked:!1,isRoomReady:!1,playerLinkBase:window.location.href+"play",playerLink:null,copyBtnText:"Copy shareable link",copyClicked:!1,onlinePlayersArr:[],didHostStartGame:!1,timer:null,showQuestions:!1,newQuestionNumber:null,newQuestion:null,newChoices:[],isLastQuestion:null,questionTimer:30,correctAnswerIndex:null,showAnswer:!1,numAnswered:0,numPlaying:0,leaderboard:null,templateCopyURL:"https://docs.google.com/spreadsheets/d/12_Cnv86fI4JOnJq5t9BQmxiPTNZgMsd0PP7Sbjm7WkQ/copy?usp=sharing",sheetURL:"",sheetURLErr:!1,customQuizQuestions:null,showImg:!1,questionImgLink:null,showFinalScreen:!1}},methods:{createQuizRoom:function(){var e=this;if(this.createBtnClicked=!0,"RandomQuiz"===this.quizType)this.btnText="Creating your quiz room...";else{this.btnText="Loading your questions and creating your quiz room...";var t=new RegExp("/spreadsheets/d/([a-zA-Z0-9-_]+)").exec(this.sheetURL)[1];if(null==t||null==this.sheetURL)return void(this.sheetURLErr=!0);var s={sheetId:t,sheetNumber:1,returnAllResults:!0};ce(s,(function(t){e.customQuizQuestions=t}),(function(t){e.sheetURLErr=!0,console.log(t)}))}this.waitForGameRoom(),this.enterMainThread()},waitForGameRoom:function(){var e=this;this.myQuizRoomCh=this.realtime.channels.get("".concat(this.myQuizRoomCode,":primary")),this.hostAdminCh=this.realtime.channels.get("".concat(this.myQuizRoomCode,":host")),this.myQuizRoomCh.subscribe("thread-ready",(function(){e.handleQuizRoomReady()}))},handleQuizRoomReady:function(){if(this.isRoomReady=!0,this.globalQuizCh.detach(),this.enterGameRoomAndSubscribeToEvents(),this.playerLink="".concat(this.playerLinkBase,"?quizCode=").concat(this.myQuizRoomCode),"CustomQuiz"==this.quizType){var e=this.customQuizQuestions;this.hostAdminCh.publish("quiz-questions",{questions:e})}},enterGameRoomAndSubscribeToEvents:function(){this.myQuizRoomCh.presence.enter({nickname:this.hostNickname,avatarColor:this.myAvatarColor,isHost:!0,quizType:this.quizType}),this.subscribeToHostChEvents(),this.subscribeToRoomChEvents()},enterMainThread:function(){this.globalQuizCh=this.realtime.channels.get(this.globalQuizChName),this.globalQuizCh.presence.enter({nickname:this.hostNickname,roomCode:this.myQuizRoomCode})},getRandomRoomId:function(){return"room-"+Math.random().toString(36).substr(2,8)},subscribeToHostChEvents:function(){var e=this;this.hostAdminCh.subscribe("live-stats-update",(function(t){e.numAnswered=t.data.numAnswered,e.numPlaying=t.data.numPlaying})),this.hostAdminCh.subscribe("full-leaderboard",(function(t){e.leaderboard=t.data.leaderboard}))},subscribeToRoomChEvents:function(){var e=this;this.myQuizRoomCh.subscribe("new-player",(function(t){e.handleNewPlayerEntered(t)})),this.myQuizRoomCh.subscribe("start-quiz-timer",(function(t){e.didHostStartGame=!0,e.timer=t.data.countDownSec,e.stopTheSnow()})),this.myQuizRoomCh.subscribe("new-question",(function(t){e.handleNewQuestionReceived(t)})),this.myQuizRoomCh.subscribe("question-timer",(function(t){e.questionTimer=t.data.countDownSec,e.questionTimer<0&&(e.questionTimer=30)})),this.myQuizRoomCh.subscribe("correct-answer",(function(t){e.handleCorrectAnswerReceived(t)}))},handleNewPlayerEntered:function(e){var t=e.data.newPlayerState,s=t.clientId,i=t.nickname,n=t.avatarColor,a=t.isHost;a||this.onlinePlayersArr.push({clientId:s,nickname:i,avatarColor:n,isHost:a})},handleNewQuestionReceived:function(e){this.showAnswer=!1,this.showQuestions=!0,this.newQuestionNumber=e.data.questionNumber,this.newQuestion=e.data.question,this.newChoices=e.data.choices,this.isLastQuestion=e.data.isLastQuestion,this.numAnswered=e.data.numAnswered,this.numPlaying=e.data.numPlaying,this.showImg=e.data.showImg,this.questionImgLink=e.data.imgLink},handleCorrectAnswerReceived:function(e){this.showAnswer=!0,this.newQuestionNumber==e.data.questionNumber&&(this.correctAnswerIndex=e.data.correctAnswerIndex),this.isLastQuestion&&(this.showFinalScreen=!0)},copyPlayerInviteLink:function(){var e=this;this.copyClicked=!0,this.copyBtnText="Copied!",setTimeout((function(){e.copyClicked=!1,e.copyBtnText="Copy shareable link"}),2e3),navigator.clipboard.writeText(this.playerLink)},startQuiz:function(){this.hostAdminCh.publish("start-quiz",{start:!0})},endQuizNow:function(){this.showFinalScreen=!0}},beforeDestroy:function(){this.myQuizRoomCh&&this.myQuizRoomCh.presence.leave(),this.questionTimer=30}},le=ue,de=(s("ffbd"),Object(l["a"])(le,M,$,!1,null,"3cbd2812",null)),he=de.exports,me={props:["realtime","ablyClientId","stopTheSnow"],data:function(){return{isTypeChosen:!1,headerImgLink:"https://user-images.githubusercontent.com/5900152/100897082-3c48de00-34b7-11eb-813a-202acf9e9ac5.png",quizType:""}},components:{CreateQuizRoom:he},methods:{setQuizType:function(e){this.isTypeChosen=!0,this.quizType=e},showHome:function(){this.isTypeChosen=!1}}},we=me,pe=(s("2c4e"),Object(l["a"])(we,G,U,!1,null,"ed838cf2",null)),ye=pe.exports,be=[{path:"/play",component:j},{path:"",component:ye}];i["a"].config.productionTip=!1,i["a"].use(n["a"]);var ve=new n["a"]({routes:be,mode:"history"});new i["a"]({router:ve,render:function(e){return e(h)}}).$mount("#app")},"573d":function(e,t,s){"use strict";var i=s("5a38"),n=s.n(i);n.a},"59c1":function(e,t,s){"use strict";var i=s("7caa"),n=s.n(i);n.a},"59d2":function(e,t,s){},"5a38":function(e,t,s){},"65cf":function(e,t,s){"use strict";var i=s("0d38"),n=s.n(i);n.a},"7c35":function(e,t,s){"use strict";var i=s("bea1"),n=s.n(i);n.a},"7caa":function(e,t,s){},"85ec":function(e,t,s){},a282:function(e,t,s){},b176:function(e,t,s){},bea1:function(e,t,s){},c0f7:function(e,t,s){},f709:function(e,t,s){"use strict";var i=s("c0f7"),n=s.n(i);n.a},ffbd:function(e,t,s){"use strict";var i=s("03f4"),n=s.n(i);n.a}}); +//# sourceMappingURL=app.0d8c7861.js.map \ No newline at end of file diff --git a/realtime-quiz/dist/js/app.0d8c7861.js.map b/realtime-quiz/dist/js/app.0d8c7861.js.map new file mode 100644 index 0000000..7112200 --- /dev/null +++ b/realtime-quiz/dist/js/app.0d8c7861.js.map @@ -0,0 +1 @@ +{"version":3,"sources":["webpack:///webpack/bootstrap","webpack:///./src/App.vue?7e02","webpack:///./src/components/player/PlayerHome.vue?6fe3","webpack:///./src/components/host/HostHome.vue?88f0","webpack:///./src/components/common/Answer.vue?fe43","webpack:///./src/App.vue?9b18","webpack:///src/App.vue","webpack:///./src/App.vue?1160","webpack:///./src/App.vue?bff9","webpack:///./src/components/player/PlayerHome.vue?c49f","webpack:///./src/components/common/Question.vue?539c","webpack:///./src/components/common/Answer.vue?3f4f","webpack:///src/components/common/Answer.vue","webpack:///./src/components/common/Answer.vue?e5ae","webpack:///./src/components/common/Answer.vue?ddf4","webpack:///src/components/common/Question.vue","webpack:///./src/components/common/Question.vue?3c8c","webpack:///./src/components/common/Question.vue?2e8b","webpack:///./src/components/common/OnlinePlayers.vue?8cae","webpack:///src/components/common/OnlinePlayers.vue","webpack:///./src/components/common/OnlinePlayers.vue?8530","webpack:///./src/components/common/OnlinePlayers.vue?b5e1","webpack:///src/components/player/PlayerHome.vue","webpack:///./src/components/player/PlayerHome.vue?6a01","webpack:///./src/components/player/PlayerHome.vue?dc94","webpack:///./src/components/host/HostHome.vue?cbcc","webpack:///./src/components/host/CreateQuizRoom.vue?9ff6","webpack:///./src/components/host/AdminPanel.vue?eb5e","webpack:///src/components/host/AdminPanel.vue","webpack:///./src/components/host/AdminPanel.vue?0e18","webpack:///./src/components/host/AdminPanel.vue?cdc1","webpack:///./src/components/host/LiveStats.vue?9991","webpack:///src/components/host/LiveStats.vue","webpack:///./src/components/host/LiveStats.vue?1480","webpack:///./src/components/host/LiveStats.vue?4e3f","webpack:///./src/components/host/Leaderboard.vue?c043","webpack:///src/components/host/Leaderboard.vue","webpack:///./src/components/host/Leaderboard.vue?df5a","webpack:///./src/components/host/Leaderboard.vue?49ee","webpack:///src/components/host/CreateQuizRoom.vue","webpack:///./src/components/host/CreateQuizRoom.vue?5e98","webpack:///./src/components/host/CreateQuizRoom.vue?641d","webpack:///src/components/host/HostHome.vue","webpack:///./src/components/host/HostHome.vue?4165","webpack:///./src/components/host/HostHome.vue?a7d9","webpack:///./src/routes.js","webpack:///./src/main.js","webpack:///./src/components/host/LiveStats.vue?bf67","webpack:///./src/components/common/Question.vue?9973","webpack:///./src/components/common/OnlinePlayers.vue?12b1","webpack:///./src/components/host/Leaderboard.vue?9192","webpack:///./src/components/host/AdminPanel.vue?9997","webpack:///./src/components/host/CreateQuizRoom.vue?ff0d"],"names":["webpackJsonpCallback","data","moduleId","chunkId","chunkIds","moreModules","executeModules","i","resolves","length","Object","prototype","hasOwnProperty","call","installedChunks","push","modules","parentJsonpFunction","shift","deferredModules","apply","checkDeferredModules","result","deferredModule","fulfilled","j","depId","splice","__webpack_require__","s","installedModules","exports","module","l","m","c","d","name","getter","o","defineProperty","enumerable","get","r","Symbol","toStringTag","value","t","mode","__esModule","ns","create","key","bind","n","object","property","p","jsonpArray","window","oldJsonpFunction","slice","_vm","this","_h","$createElement","_c","_self","attrs","staticClass","_v","_e","realtime","stopTheSnow","staticRenderFns","components","showSnow","methods","created","authUrl","destroyed","connection","close","component","showQuestions","headerImgLink","isRoomClosed","_s","myNickname","didPlayerEnterRoom","timer","onlinePlayersArr","didHostStartGame","hostNickname","directives","rawName","expression","domProps","on","$event","target","composing","enterRoomWithNickname","_m","showAnswer","newQuestion","newChoices","newQuestionNumber","isLastQuestion","questionTimer","correctAnswerIndex","showImg","questionImgLink","myInputCh","playerAnswer","didAnswerCorrectly","class","viewType","answerSubmitted","isAdminView","_l","choice","index","sendMyAnswer","style","width","cardColorClass","evalMessage","correctAnswer","props","Answer","$emit","questionIndex","playerAnswerIndex","publish","player","clientId","color","avatarColor","nickname","Question","OnlinePlayers","quizRoomCode","myQuizRoomCh","myAvatarColor","myClientId","clickedPlayerQuestionIndex","clickedPlayerAnswerIndex","didHostForceQuizEnd","subscribeToQuizRoomChEvents","subscribe","handleNewPlayerEntered","handleNewQuestionReceived","msg","questionNumber","question","choices","imgLink","handleCorrectAnswerReceived","handleQuizEnding","setUpMyChannel","auth","channels","presence","enter","isHost","getExistingPresenceSet","err","console","log","players","obj","beforeDestroy","leave","isTypeChosen","setQuizType","ablyClientId","quizType","showHome","isRoomReady","copyPlayerInviteLink","copyBtnText","copyClicked","startQuiz","templateCopyURL","createBtnClicked","sheetURL","createQuizRoom","btnText","showFinalScreen","numAnswered","numPlaying","leaderboard","hostAdminCh","endQuizNow","showNextQuestion","prevQIndex","prevQuestionNumber","end","finalScreen","leaderNum","item","score","AdminPanel","LiveStats","Leaderboard","globalQuizChName","globalQuizCh","myQuizRoomCode","getRandomRoomId","playerLinkBase","location","href","playerLink","sheetURLErr","customQuizQuestions","mySheetId","sheetId","sheetNumber","returnAllResults","waitForGameRoom","enterMainThread","handleQuizRoomReady","detach","enterGameRoomAndSubscribeToEvents","questions","subscribeToHostChEvents","subscribeToRoomChEvents","roomCode","setTimeout","navigator","clipboard","writeText","start","CreateQuizRoom","type","routes","path","PlayerHome","HostHome","Vue","config","productionTip","use","VueRouter","router","render","h","App","$mount"],"mappings":"aACE,SAASA,EAAqBC,GAQ7B,IAPA,IAMIC,EAAUC,EANVC,EAAWH,EAAK,GAChBI,EAAcJ,EAAK,GACnBK,EAAiBL,EAAK,GAIHM,EAAI,EAAGC,EAAW,GACpCD,EAAIH,EAASK,OAAQF,IACzBJ,EAAUC,EAASG,GAChBG,OAAOC,UAAUC,eAAeC,KAAKC,EAAiBX,IAA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ourcesContent":[" \t// install a JSONP callback for chunk loading\n \tfunction webpackJsonpCallback(data) {\n \t\tvar chunkIds = data[0];\n \t\tvar moreModules = data[1];\n \t\tvar executeModules = data[2];\n\n \t\t// add \"moreModules\" to the modules object,\n \t\t// then flag all \"chunkIds\" as loaded and fire callback\n \t\tvar moduleId, chunkId, i = 0, resolves = [];\n \t\tfor(;i < chunkIds.length; i++) {\n \t\t\tchunkId = chunkIds[i];\n \t\t\tif(Object.prototype.hasOwnProperty.call(installedChunks, chunkId) && installedChunks[chunkId]) {\n \t\t\t\tresolves.push(installedChunks[chunkId][0]);\n \t\t\t}\n \t\t\tinstalledChunks[chunkId] = 0;\n \t\t}\n \t\tfor(moduleId in moreModules) {\n \t\t\tif(Object.prototype.hasOwnProperty.call(moreModules, moduleId)) {\n \t\t\t\tmodules[moduleId] = moreModules[moduleId];\n \t\t\t}\n \t\t}\n \t\tif(parentJsonpFunction) parentJsonpFunction(data);\n\n \t\twhile(resolves.length) {\n \t\t\tresolves.shift()();\n \t\t}\n\n \t\t// add entry modules from loaded chunk to deferred list\n \t\tdeferredModules.push.apply(deferredModules, executeModules || []);\n\n \t\t// run deferred modules when all chunks ready\n \t\treturn checkDeferredModules();\n \t};\n \tfunction checkDeferredModules() {\n \t\tvar result;\n \t\tfor(var i = 0; i < deferredModules.length; i++) {\n \t\t\tvar deferredModule = deferredModules[i];\n \t\t\tvar fulfilled = true;\n \t\t\tfor(var j = 1; j < deferredModule.length; j++) {\n \t\t\t\tvar depId = deferredModule[j];\n \t\t\t\tif(installedChunks[depId] !== 0) fulfilled = false;\n \t\t\t}\n \t\t\tif(fulfilled) {\n \t\t\t\tdeferredModules.splice(i--, 1);\n \t\t\t\tresult = __webpack_require__(__webpack_require__.s = deferredModule[0]);\n \t\t\t}\n \t\t}\n\n \t\treturn result;\n \t}\n\n \t// The module cache\n \tvar installedModules = {};\n\n \t// object to store loaded and loading chunks\n \t// undefined = chunk not loaded, null = chunk preloaded/prefetched\n \t// Promise = chunk loading, 0 = chunk loaded\n \tvar installedChunks = {\n \t\t\"app\": 0\n \t};\n\n \tvar deferredModules = [];\n\n \t// The require function\n \tfunction __webpack_require__(moduleId) {\n\n \t\t// Check if module is in cache\n \t\tif(installedModules[moduleId]) {\n \t\t\treturn installedModules[moduleId].exports;\n \t\t}\n \t\t// Create a new module (and put it into the cache)\n \t\tvar module = installedModules[moduleId] = {\n \t\t\ti: moduleId,\n \t\t\tl: false,\n \t\t\texports: {}\n \t\t};\n\n \t\t// Execute the module function\n \t\tmodules[moduleId].call(module.exports, module, module.exports, __webpack_require__);\n\n \t\t// Flag the module as loaded\n \t\tmodule.l = true;\n\n \t\t// Return the exports of the module\n \t\treturn module.exports;\n \t}\n\n\n \t// expose the modules object (__webpack_modules__)\n \t__webpack_require__.m = modules;\n\n \t// expose the module cache\n \t__webpack_require__.c = installedModules;\n\n \t// define getter function for harmony exports\n \t__webpack_require__.d = function(exports, name, getter) {\n \t\tif(!__webpack_require__.o(exports, name)) {\n \t\t\tObject.defineProperty(exports, name, { enumerable: true, get: getter });\n \t\t}\n \t};\n\n \t// define __esModule on exports\n \t__webpack_require__.r = function(exports) {\n \t\tif(typeof Symbol !== 'undefined' && Symbol.toStringTag) {\n \t\t\tObject.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });\n \t\t}\n \t\tObject.defineProperty(exports, '__esModule', { value: true });\n \t};\n\n \t// create a fake namespace object\n \t// mode & 1: value is a module id, require it\n \t// mode & 2: merge all properties of value into the ns\n \t// mode & 4: return value when already ns object\n \t// mode & 8|1: behave like require\n \t__webpack_require__.t = function(value, mode) {\n \t\tif(mode & 1) value = __webpack_require__(value);\n \t\tif(mode & 8) return value;\n \t\tif((mode & 4) && typeof value === 'object' && value && value.__esModule) return value;\n \t\tvar ns = Object.create(null);\n \t\t__webpack_require__.r(ns);\n \t\tObject.defineProperty(ns, 'default', { enumerable: true, value: value });\n \t\tif(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key));\n \t\treturn ns;\n \t};\n\n \t// getDefaultExport function for compatibility with non-harmony modules\n \t__webpack_require__.n = function(module) {\n \t\tvar getter = module && module.__esModule ?\n \t\t\tfunction getDefault() { return module['default']; } :\n \t\t\tfunction getModuleExports() { return module; };\n \t\t__webpack_require__.d(getter, 'a', getter);\n \t\treturn getter;\n \t};\n\n \t// Object.prototype.hasOwnProperty.call\n \t__webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };\n\n \t// __webpack_public_path__\n \t__webpack_require__.p = \"/\";\n\n \tvar jsonpArray = window[\"webpackJsonp\"] = window[\"webpackJsonp\"] || [];\n \tvar oldJsonpFunction = jsonpArray.push.bind(jsonpArray);\n \tjsonpArray.push = webpackJsonpCallback;\n \tjsonpArray = jsonpArray.slice();\n \tfor(var i = 0; i < jsonpArray.length; i++) webpackJsonpCallback(jsonpArray[i]);\n \tvar parentJsonpFunction = oldJsonpFunction;\n\n\n \t// add entry module to deferred list\n \tdeferredModules.push([0,\"chunk-vendors\"]);\n \t// run deferred modules when ready\n \treturn checkDeferredModules();\n","import mod from \"-!../node_modules/mini-css-extract-plugin/dist/loader.js??ref--6-oneOf-1-0!../node_modules/css-loader/dist/cjs.js??ref--6-oneOf-1-1!../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../node_modules/postcss-loader/src/index.js??ref--6-oneOf-1-2!../node_modules/cache-loader/dist/cjs.js??ref--0-0!../node_modules/vue-loader/lib/index.js??vue-loader-options!./App.vue?vue&type=style&index=0&lang=css&\"; export default mod; export * from \"-!../node_modules/mini-css-extract-plugin/dist/loader.js??ref--6-oneOf-1-0!../node_modules/css-loader/dist/cjs.js??ref--6-oneOf-1-1!../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../node_modules/postcss-loader/src/index.js??ref--6-oneOf-1-2!../node_modules/cache-loader/dist/cjs.js??ref--0-0!../node_modules/vue-loader/lib/index.js??vue-loader-options!./App.vue?vue&type=style&index=0&lang=css&\"","import mod from \"-!../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--6-oneOf-1-0!../../../node_modules/css-loader/dist/cjs.js??ref--6-oneOf-1-1!../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../node_modules/postcss-loader/src/index.js??ref--6-oneOf-1-2!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./PlayerHome.vue?vue&type=style&index=0&id=259bc8aa&scoped=true&lang=css&\"; export default mod; export * from \"-!../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--6-oneOf-1-0!../../../node_modules/css-loader/dist/cjs.js??ref--6-oneOf-1-1!../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../node_modules/postcss-loader/src/index.js??ref--6-oneOf-1-2!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./PlayerHome.vue?vue&type=style&index=0&id=259bc8aa&scoped=true&lang=css&\"","import mod from \"-!../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--6-oneOf-1-0!../../../node_modules/css-loader/dist/cjs.js??ref--6-oneOf-1-1!../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../node_modules/postcss-loader/src/index.js??ref--6-oneOf-1-2!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./HostHome.vue?vue&type=style&index=0&id=ed838cf2&scoped=true&lang=css&\"; export default mod; export * from \"-!../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--6-oneOf-1-0!../../../node_modules/css-loader/dist/cjs.js??ref--6-oneOf-1-1!../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../node_modules/postcss-loader/src/index.js??ref--6-oneOf-1-2!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./HostHome.vue?vue&type=style&index=0&id=ed838cf2&scoped=true&lang=css&\"","import mod from \"-!../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--6-oneOf-1-0!../../../node_modules/css-loader/dist/cjs.js??ref--6-oneOf-1-1!../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../node_modules/postcss-loader/src/index.js??ref--6-oneOf-1-2!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Answer.vue?vue&type=style&index=0&id=10651dd2&scoped=true&lang=css&\"; export default mod; export * from \"-!../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--6-oneOf-1-0!../../../node_modules/css-loader/dist/cjs.js??ref--6-oneOf-1-1!../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../node_modules/postcss-loader/src/index.js??ref--6-oneOf-1-2!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Answer.vue?vue&type=style&index=0&id=10651dd2&scoped=true&lang=css&\"","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{attrs:{\"id\":\"app\"}},[(_vm.showSnow)?_c('div',{staticClass:\"snowflakes\",attrs:{\"aria-hidden\":\"true\"}},[_c('div',{staticClass:\"snowflake\"},[_vm._v(\" ❅ \")]),_c('div',{staticClass:\"snowflake\"},[_vm._v(\" ❆ \")]),_c('div',{staticClass:\"snowflake\"},[_vm._v(\" ❅ \")]),_c('div',{staticClass:\"snowflake\"},[_vm._v(\" ❆ \")]),_c('div',{staticClass:\"snowflake\"},[_vm._v(\" ❅ \")]),_c('div',{staticClass:\"snowflake\"},[_vm._v(\" ❆ \")]),_c('div',{staticClass:\"snowflake\"},[_vm._v(\" ❅ \")]),_c('div',{staticClass:\"snowflake\"},[_vm._v(\" ❆ \")]),_c('div',{staticClass:\"snowflake\"},[_vm._v(\" ❅ \")]),_c('div',{staticClass:\"snowflake\"},[_vm._v(\" ❆ \")]),_c('div',{staticClass:\"snowflake\"},[_vm._v(\" ❅ \")]),_c('div',{staticClass:\"snowflake\"},[_vm._v(\" ❆ \")])]):_vm._e(),_c('router-view',{attrs:{\"realtime\":_vm.realtime,\"stopTheSnow\":_vm.stopTheSnow}})],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n","import mod from \"-!../node_modules/cache-loader/dist/cjs.js??ref--12-0!../node_modules/thread-loader/dist/cjs.js!../node_modules/babel-loader/lib/index.js!../node_modules/cache-loader/dist/cjs.js??ref--0-0!../node_modules/vue-loader/lib/index.js??vue-loader-options!./App.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../node_modules/cache-loader/dist/cjs.js??ref--12-0!../node_modules/thread-loader/dist/cjs.js!../node_modules/babel-loader/lib/index.js!../node_modules/cache-loader/dist/cjs.js??ref--0-0!../node_modules/vue-loader/lib/index.js??vue-loader-options!./App.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./App.vue?vue&type=template&id=9126043a&\"\nimport script from \"./App.vue?vue&type=script&lang=js&\"\nexport * from \"./App.vue?vue&type=script&lang=js&\"\nimport style0 from \"./App.vue?vue&type=style&index=0&lang=css&\"\n\n\n/* normalize component */\nimport normalizer from \"!../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[(!_vm.showQuestions)?_c('div',{staticClass:\"player-home card\"},[_c('div',{staticClass:\"img-header\"},[_c('img',{staticClass:\"card-img-top\",attrs:{\"src\":_vm.headerImgLink,\"alt\":\"Header image\"}})]),(!_vm.isRoomClosed)?_c('div',{staticClass:\"card-body\"},[_c('h5',{staticClass:\"card-title\"},[_vm._v(\"Hello \"+_vm._s(_vm.myNickname)+\"!\")]),(!_vm.didPlayerEnterRoom)?[_c('p',{staticClass:\"card-text\"},[_vm._v(\"We need a nickname so others can identify you\")]),_c('div',{staticClass:\"nickname-input\"},[_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.myNickname),expression:\"myNickname\"}],staticClass:\"form-control host-nickname\",attrs:{\"id\":\"host-nickname\",\"placeholder\":\"Enter nickname\"},domProps:{\"value\":(_vm.myNickname)},on:{\"input\":function($event){if($event.target.composing){ return; }_vm.myNickname=$event.target.value}}}),_c('button',{staticClass:\"btn btn-primary\",attrs:{\"type\":\"button create-random-btn\"},on:{\"click\":function($event){return _vm.enterRoomWithNickname()}}},[_vm._v(\" GO \")])])]:[_c('OnlinePlayers',{attrs:{\"timer\":_vm.timer,\"onlinePlayersArr\":_vm.onlinePlayersArr,\"didHostStartGame\":_vm.didHostStartGame}}),(!_vm.didHostStartGame)?_c('div',[_c('hr'),_c('small',{staticClass:\"text-muted\"},[_vm._v(\"Waiting for your host, \"),_c('strong',[_vm._v(_vm._s(_vm.hostNickname))]),_vm._v(\", to start the quiz\")])]):_vm._e()]],2):_vm._e(),(_vm.isRoomClosed)?_c('div',{staticClass:\"card-body\"},[_vm._v(\" Sorry this quiz room is no longer available to enter, either because the host is no longer online or the quiz has already started. \")]):_vm._e(),_vm._m(0)]):_vm._e(),(_vm.showQuestions && !_vm.showAnswer)?_c('Question',{attrs:{\"newQuestion\":_vm.newQuestion,\"newChoices\":_vm.newChoices,\"newQuestionNumber\":_vm.newQuestionNumber,\"isLastQuestion\":_vm.isLastQuestion,\"questionTimer\":_vm.questionTimer,\"correctAnswerIndex\":_vm.correctAnswerIndex,\"showImg\":_vm.showImg,\"questionImgLink\":_vm.questionImgLink,\"isAdminView\":false,\"myInputCh\":_vm.myInputCh},on:{\"player-answer\":function($event){return _vm.playerAnswer($event)}}}):_vm._e(),(_vm.showAnswer)?_c('Answer',{attrs:{\"correctAnswer\":_vm.newChoices[_vm.correctAnswerIndex],\"didAnswerCorrectly\":_vm.didAnswerCorrectly,\"isAdminView\":false}}):_vm._e(),(_vm.didHostForceQuizEnd)?_c('div',{staticClass:\"alert alert-danger alert-quiz-ended\",attrs:{\"role\":\"alert\"}},[_vm._v(\" This quiz has ended. Either the host has ended it or they have simply left. Please request the host to share a new link. \")]):_vm._e()],1)}\nvar staticRenderFns = [function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"card-footer text-muted\"},[_c('a',{attrs:{\"href\":\"https://github.com/Srushtika/realtime-quiz-framework\",\"target\":\"_blank\"}},[_vm._v(\"Learn how to build your own realtime quiz app with Ably →\")])])}]\n\nexport { render, staticRenderFns }","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"card\",class:_vm.viewType},[_c('div',{staticClass:\"card-header\"},[_vm._v(\"Question \"+_vm._s(_vm.newQuestionNumber))]),_c('h2',{staticClass:\"question-div card-title\"},[_vm._v(_vm._s(_vm.newQuestion))]),(_vm.showImg)?_c('div',{staticClass:\"img-div\"},[_c('img',{staticClass:\"img-fluid q-img\",attrs:{\"src\":_vm.questionImgLink,\"alt\":\"Image for the question\"}})]):_vm._e(),(_vm.showAnswer)?_c('Answer',{attrs:{\"correctAnswer\":_vm.newChoices[_vm.correctAnswerIndex],\"isAdminView\":true}}):_vm._e(),(!_vm.showAnswer)?_c('div',{staticClass:\"card-body\"},[_c('h5',{staticClass:\"card-title\"}),(!_vm.answerSubmitted && !_vm.isAdminView)?_c('div',{staticClass:\"choices-container\"},_vm._l((_vm.newChoices),function(choice,index){return _c('button',{key:choice,staticClass:\"btn btn-outline-dark choice-btn\",attrs:{\"type\":\"button\"},on:{\"click\":function($event){return _vm.sendMyAnswer(choice, index)}}},[_vm._v(\" \"+_vm._s(choice)+\" \")])}),0):_vm._e(),(_vm.isAdminView)?_c('div',{staticClass:\"choices-container\"},_vm._l((_vm.newChoices),function(choice){return _c('div',{key:choice,staticClass:\"choice-div\"},[_vm._v(\" \"+_vm._s(choice)+\" \")])}),0):_vm._e(),(_vm.answerSubmitted)?_c('div',{staticClass:\"submitted-msg\"},[_c('h5',[_vm._v(\" Your answer is submitted, waiting for everyone else to answer... \")])]):_vm._e()]):_vm._e(),(!(_vm.isAdminView && _vm.showAnswer))?_c('div',{staticClass:\"progress\"},[_c('div',{staticClass:\"progress-bar progress-bar-striped progress-bar-animated bg-dark\",style:({ width: (_vm.questionTimer / 30) * 100 + '%' }),attrs:{\"role\":\"progressbar\",\"aria-valuemin\":\"0\",\"aria-valuemax\":\"100\"}},[_vm._v(\" \"+_vm._s(_vm.questionTimer)+\" \")])]):_vm._e()],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"card alert answer-div answer-card\",class:_vm.cardColorClass},[(!_vm.isAdminView)?_c('div',{staticClass:\"answer-eval\"},[_c('i',{staticClass:\"fas\",class:_vm.didAnswerCorrectly ? 'fa-check-circle' : 'fa-times-circle'}),_vm._v(\" \"+_vm._s(_vm.evalMessage)+\" \")]):_vm._e(),(!_vm.isAdminView)?_c('hr'):_vm._e(),_c('h5',[_vm._v(\"The answer is\")]),_c('h2',{staticClass:\"card-title answer-text\"},[_vm._v(_vm._s(_vm.correctAnswer))])])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n","import mod from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Answer.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Answer.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./Answer.vue?vue&type=template&id=10651dd2&scoped=true&\"\nimport script from \"./Answer.vue?vue&type=script&lang=js&\"\nexport * from \"./Answer.vue?vue&type=script&lang=js&\"\nimport style0 from \"./Answer.vue?vue&type=style&index=0&id=10651dd2&scoped=true&lang=css&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"10651dd2\",\n null\n \n)\n\nexport default component.exports","\n\n\n\n\n","import mod from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Question.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Question.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./Question.vue?vue&type=template&id=6b50fdcc&scoped=true&\"\nimport script from \"./Question.vue?vue&type=script&lang=js&\"\nexport * from \"./Question.vue?vue&type=script&lang=js&\"\nimport style0 from \"./Question.vue?vue&type=style&index=0&id=6b50fdcc&scoped=true&lang=css&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"6b50fdcc\",\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[(_vm.didHostStartGame)?_c('div',[_c('h1',[_vm._v(\"Your quiz starts in\")]),_c('h1',{staticClass:\"display-3\"},[_vm._v(_vm._s(_vm.timer))])]):_vm._e(),_vm._v(\" You'll see other players as they join \"),_c('div',{staticClass:\"online-players\"},_vm._l((_vm.onlinePlayersArr),function(player){return _c('div',{key:player.clientId,staticClass:\"player-avatar\",style:({ color: player.avatarColor })},[_c('figure',{staticClass:\"figure\"},[_c('i',{staticClass:\"fas fa-user-circle fa-3x\"}),_c('figcaption',{staticClass:\"figure-caption\"},[_vm._v(\" \"+_vm._s(player.nickname)+\" \")])])])}),0)])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n","import mod from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./OnlinePlayers.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./OnlinePlayers.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./OnlinePlayers.vue?vue&type=template&id=eb92127c&scoped=true&\"\nimport script from \"./OnlinePlayers.vue?vue&type=script&lang=js&\"\nexport * from \"./OnlinePlayers.vue?vue&type=script&lang=js&\"\nimport style0 from \"./OnlinePlayers.vue?vue&type=style&index=0&id=eb92127c&scoped=true&lang=css&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"eb92127c\",\n null\n \n)\n\nexport default component.exports","\n\n\n\n\n","import mod from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./PlayerHome.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./PlayerHome.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./PlayerHome.vue?vue&type=template&id=259bc8aa&scoped=true&\"\nimport script from \"./PlayerHome.vue?vue&type=script&lang=js&\"\nexport * from \"./PlayerHome.vue?vue&type=script&lang=js&\"\nimport style0 from \"./PlayerHome.vue?vue&type=style&index=0&id=259bc8aa&scoped=true&lang=css&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"259bc8aa\",\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[(!_vm.isTypeChosen)?_c('div',{staticClass:\"host-home card\"},[_c('div',{staticClass:\"img-header\"},[_c('img',{staticClass:\"card-img-top\",attrs:{\"src\":_vm.headerImgLink,\"alt\":\"Header image\"}})]),_c('div',{staticClass:\"card-body\"},[_c('h5',{staticClass:\"card-title\"},[_vm._v(\"Hello Quizmaster!\")]),_c('p',{staticClass:\"card-text\"},[_vm._v(\" You can use this app to upload your own quiz questions and host a live quiz for any number of participants. As the host, you'll be able to see the live stats at all times and will have full control of the quiz during the live game. You can try it out by hosting a randomly chosen quiz! \")]),_c('p',{staticClass:\"card-text\"},[_vm._v(\" You can share your screen with the participants while they answer the questions via their mobile browsers for best experience. \")]),_c('button',{staticClass:\"btn btn-primary\",attrs:{\"type\":\"submit\"},on:{\"click\":function($event){return _vm.setQuizType('CustomQuiz')}}},[_vm._v(\" Create your own quiz \")]),_c('button',{staticClass:\"btn btn-primary\",attrs:{\"type\":\"submit\"},on:{\"click\":function($event){return _vm.setQuizType('RandomQuiz')}}},[_vm._v(\" Host a randomly chosen quiz \")])]),_vm._m(0)]):_vm._e(),(_vm.isTypeChosen)?[_c('CreateQuizRoom',{attrs:{\"realtime\":_vm.realtime,\"ablyClientId\":_vm.ablyClientId,\"quizType\":_vm.quizType,\"showHome\":_vm.showHome,\"stopTheSnow\":_vm.stopTheSnow}})]:_vm._e()],2)}\nvar staticRenderFns = [function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"card-footer text-muted\"},[_c('a',{attrs:{\"href\":\"https://github.com/Srushtika/realtime-quiz-framework\",\"target\":\"_blank\"}},[_vm._v(\"Learn how to build your own realtime quiz app with Ably →\")])])}]\n\nexport { render, staticRenderFns }","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[(!_vm.showQuestions)?_c('div',{staticClass:\"host-home card\"},[(!_vm.isRoomReady)?_c('div',{staticClass:\"card-body\"},[_c('h2',{staticClass:\"card-title\"},[_vm._v(\" Host \"+_vm._s(_vm.quizType === 'CustomQuiz' ? 'your own ' : 'a randomly chosen ')+\" quiz \")]),(_vm.quizType == 'CustomQuiz')?[_c('div',[_c('p',{staticClass:\"card-text\"},[_vm._v(\" You can add your own quiz questions in Google Sheets and host a live quiz. Simply make a copy of the template and fill it with your data. \")]),_c('div',{staticClass:\"sheets-template\"},[_c('a',{staticClass:\"btn btn-primary btn-host btn-template\",attrs:{\"href\":_vm.templateCopyURL,\"target\":\"_blank\",\"role\":\"button\"}},[_vm._v(\" Get the Google Sheets template\")]),_c('p',{staticClass:\"card-text template-instructions\"},[_vm._v(\" After you've prepared the questions and answers, you need to do two things: \"),_c('br'),_vm._v(\" 1. Copy the URL of your sheet from the browser's address bar and paste it in the field below \"),_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.sheetURL),expression:\"sheetURL\"}],staticClass:\"form-control input-box\",attrs:{\"placeholder\":\"Add the URL to your sheet\",\"disabled\":_vm.createBtnClicked},domProps:{\"value\":(_vm.sheetURL)},on:{\"input\":function($event){if($event.target.composing){ return; }_vm.sheetURL=$event.target.value}}}),_vm._v(\" 2. Make your Google sheet publicly available by going to File > Publish to the web > Publish. You might be presented with a different shareable URL, you can ignore that. \")])])])]:_vm._e(),_c('p',{staticClass:\"card-text\"},[_vm._v(\" We need a nickname for you so the players of your quiz can identify you \")]),_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.hostNickname),expression:\"hostNickname\"}],staticClass:\"form-control input-box\",attrs:{\"placeholder\":\"Enter nickname\",\"disabled\":_vm.createBtnClicked},domProps:{\"value\":(_vm.hostNickname)},on:{\"input\":function($event){if($event.target.composing){ return; }_vm.hostNickname=$event.target.value}}}),_c('button',{staticClass:\"btn btn-primary\",attrs:{\"type\":\"button create-random-btn\",\"disabled\":_vm.createBtnClicked},on:{\"click\":function($event){return _vm.createQuizRoom()}}},[_vm._v(\" \"+_vm._s(_vm.btnText)+\" \")]),(_vm.sheetURLErr)?_c('div',{staticClass:\"alert alert-danger sheet-error\",attrs:{\"role\":\"alert\"}},[_vm._v(\" There is a problem with the URL to your sheet. Please recheck it per the instructions above, refresh this page and try again. You can reach out to support@ably.com for further assistance. \")]):_vm._e()],2):_c('div',{staticClass:\"card-body\"},[_c('h2',{staticClass:\"card-title\"},[_vm._v(\"Your quiz room is ready\")]),_c('p',{staticClass:\"card-text\"},[_vm._v(\" Invite your players to join by sharing this link \")]),_c('button',{staticClass:\"btn btn-primary\",attrs:{\"type\":\"button\"},on:{\"click\":function($event){return _vm.copyPlayerInviteLink()}}},[_vm._v(\" \"+_vm._s(_vm.copyBtnText)+\" \"),(!_vm.copyClicked)?_c('i',{staticClass:\"far fa-copy\"}):_vm._e()]),_c('hr'),_c('OnlinePlayers',{attrs:{\"timer\":_vm.timer,\"onlinePlayersArr\":_vm.onlinePlayersArr,\"didHostStartGame\":_vm.didHostStartGame}}),(_vm.onlinePlayersArr.length > 0)?[(!_vm.didHostStartGame)?_c('div',[_c('hr'),_c('button',{staticClass:\"btn btn-primary\",attrs:{\"type\":\"button\"},on:{\"click\":function($event){return _vm.startQuiz()}}},[_vm._v(\" Start the quiz \")])]):_vm._e()]:_vm._e()],2),_c('div',{staticClass:\"card-footer text-muted\"},[_c('button',{staticClass:\"btn btn-link\",attrs:{\"type\":\"button\"},on:{\"click\":function($event){return _vm.showHome()}}},[_vm._v(\" ← Go back \")])])]):_vm._e(),(_vm.showQuestions && !_vm.showFinalScreen)?_c('div',{staticClass:\"d-flex bd-highlight\"},[_c('div',{staticClass:\"question-flex bd-highlight\"},[_c('Question',{attrs:{\"newQuestion\":_vm.newQuestion,\"newChoices\":_vm.newChoices,\"newQuestionNumber\":_vm.newQuestionNumber,\"isLastQuestion\":_vm.isLastQuestion,\"questionTimer\":_vm.questionTimer,\"correctAnswerIndex\":_vm.correctAnswerIndex,\"showImg\":_vm.showImg,\"questionImgLink\":_vm.questionImgLink,\"isAdminView\":true,\"correctAnswer\":_vm.newChoices[_vm.correctAnswerIndex],\"showAnswer\":_vm.showAnswer}})],1),_c('div',{staticClass:\"stats-flex bd-highlight\"},[(!_vm.showAnswer)?_c('LiveStats',{attrs:{\"numAnswered\":_vm.numAnswered,\"numPlaying\":_vm.numPlaying}}):_vm._e(),(_vm.showAnswer)?_c('div',[_c('Leaderboard',{attrs:{\"leaderboard\":_vm.leaderboard,\"finalScreen\":false}}),_c('AdminPanel',{attrs:{\"hostAdminCh\":_vm.hostAdminCh,\"prevQuestionNumber\":_vm.newQuestionNumber},on:{\"end-quiz-now\":function($event){return _vm.endQuizNow()}}})],1):_vm._e()],1)]):_vm._e(),(_vm.showFinalScreen)?_c('div',{staticClass:\"quizEnded\"},[_c('div',{staticClass:\"alert alert-secondary end-msg\",attrs:{\"role\":\"alert\"}},[_c('h6',[_vm._v(\"The quiz has ended\")]),_c('h1',{staticClass:\"display-4\"},[_vm._v(\"Congratulations to the winners 🎉🎉🎉\")]),_c('Leaderboard',{attrs:{\"leaderboard\":_vm.leaderboard,\"finalScreen\":true}})],1)]):_vm._e()])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"alert alert-secondary admin-panel\",attrs:{\"role\":\"alert\"}},[_c('h4',{staticClass:\"alert-heading\"},[_vm._v(\"Host control panel\")]),_c('hr'),_c('button',{staticClass:\"btn btn-dark btn-next\",attrs:{\"type\":\"button\"},on:{\"click\":function($event){return _vm.showNextQuestion()}}},[_vm._v(\" Show next question \")]),_c('br'),_c('button',{staticClass:\"btn btn-link end-btn\",attrs:{\"type\":\"button\"},on:{\"click\":function($event){return _vm.endQuizNow()}}},[_vm._v(\" End quiz and show results \")])])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n","import mod from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./AdminPanel.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./AdminPanel.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./AdminPanel.vue?vue&type=template&id=002967ae&scoped=true&\"\nimport script from \"./AdminPanel.vue?vue&type=script&lang=js&\"\nexport * from \"./AdminPanel.vue?vue&type=script&lang=js&\"\nimport style0 from \"./AdminPanel.vue?vue&type=style&index=0&id=002967ae&scoped=true&lang=css&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"002967ae\",\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"card bg-light mb-3 livestats-div\"},[_c('div',{staticClass:\"card-header\"},[_vm._v(\"Live stats\")]),_c('div',{staticClass:\"card-body\"},[_c('h5',{staticClass:\"card-title\"},[_vm._v(\" \"+_vm._s(_vm.numAnswered)+\" of \"+_vm._s(_vm.numPlaying)+\" people have answered this question \")])])])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n","import mod from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./LiveStats.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./LiveStats.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./LiveStats.vue?vue&type=template&id=0a7e7ac2&scoped=true&\"\nimport script from \"./LiveStats.vue?vue&type=script&lang=js&\"\nexport * from \"./LiveStats.vue?vue&type=script&lang=js&\"\nimport style0 from \"./LiveStats.vue?vue&type=style&index=0&id=0a7e7ac2&scoped=true&lang=css&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"0a7e7ac2\",\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"card text-white bg-warning mb-3 leaderboard\"},[_c('div',{staticClass:\"card-header\"},[_c('h3',[_vm._v(_vm._s(_vm.finalScreen == false ? 'Top 5 scorers' : 'Final Leaderboard'))])]),_c('div',{staticClass:\"card-body\"},[_c('p',{staticClass:\"card-text\"},[(_vm.leaderboard)?_c('ol',{staticClass:\"score-list\"},_vm._l((_vm.leaderboard.slice(0,_vm.leaderNum)),function(item,index){return _c('li',{key:index,staticClass:\"score-item\"},[_c('p',[_vm._v(_vm._s(item.nickname))]),_c('p',[_vm._v(_vm._s(item.score))])])}),0):_vm._e()])])])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n","import mod from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Leaderboard.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Leaderboard.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./Leaderboard.vue?vue&type=template&id=bb666d0e&scoped=true&\"\nimport script from \"./Leaderboard.vue?vue&type=script&lang=js&\"\nexport * from \"./Leaderboard.vue?vue&type=script&lang=js&\"\nimport style0 from \"./Leaderboard.vue?vue&type=style&index=0&id=bb666d0e&scoped=true&lang=css&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"bb666d0e\",\n null\n \n)\n\nexport default component.exports","\n\n\n\n\n","import mod from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./CreateQuizRoom.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./CreateQuizRoom.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./CreateQuizRoom.vue?vue&type=template&id=3cbd2812&scoped=true&\"\nimport script from \"./CreateQuizRoom.vue?vue&type=script&lang=js&\"\nexport * from \"./CreateQuizRoom.vue?vue&type=script&lang=js&\"\nimport style0 from \"./CreateQuizRoom.vue?vue&type=style&index=0&id=3cbd2812&scoped=true&lang=css&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"3cbd2812\",\n null\n \n)\n\nexport default component.exports","\n\n\n\n\n","import mod from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./HostHome.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./HostHome.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./HostHome.vue?vue&type=template&id=ed838cf2&scoped=true&\"\nimport script from \"./HostHome.vue?vue&type=script&lang=js&\"\nexport * from \"./HostHome.vue?vue&type=script&lang=js&\"\nimport style0 from \"./HostHome.vue?vue&type=style&index=0&id=ed838cf2&scoped=true&lang=css&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"ed838cf2\",\n null\n \n)\n\nexport default component.exports","import PlayerHome from './components/player/PlayerHome.vue';\nimport HostHome from './components/host/HostHome.vue';\n\nexport const routes = [\n { path: '/play', component: PlayerHome },\n { path: '', component: HostHome }\n];\n","import Vue from 'vue';\nimport VueRouter from 'vue-router';\nimport App from './App.vue';\nimport { routes } from './routes';\n\nVue.config.productionTip = false;\n\nVue.use(VueRouter);\nconst router = new VueRouter({\n routes,\n mode: 'history'\n});\n\nnew Vue({\n router,\n render: h => h(App)\n}).$mount('#app');\n","import mod from \"-!../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--6-oneOf-1-0!../../../node_modules/css-loader/dist/cjs.js??ref--6-oneOf-1-1!../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../node_modules/postcss-loader/src/index.js??ref--6-oneOf-1-2!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./LiveStats.vue?vue&type=style&index=0&id=0a7e7ac2&scoped=true&lang=css&\"; export default mod; export * from \"-!../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--6-oneOf-1-0!../../../node_modules/css-loader/dist/cjs.js??ref--6-oneOf-1-1!../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../node_modules/postcss-loader/src/index.js??ref--6-oneOf-1-2!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./LiveStats.vue?vue&type=style&index=0&id=0a7e7ac2&scoped=true&lang=css&\"","import mod from \"-!../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--6-oneOf-1-0!../../../node_modules/css-loader/dist/cjs.js??ref--6-oneOf-1-1!../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../node_modules/postcss-loader/src/index.js??ref--6-oneOf-1-2!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Question.vue?vue&type=style&index=0&id=6b50fdcc&scoped=true&lang=css&\"; export default mod; export * from \"-!../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--6-oneOf-1-0!../../../node_modules/css-loader/dist/cjs.js??ref--6-oneOf-1-1!../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../node_modules/postcss-loader/src/index.js??ref--6-oneOf-1-2!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Question.vue?vue&type=style&index=0&id=6b50fdcc&scoped=true&lang=css&\"","import mod from \"-!../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--6-oneOf-1-0!../../../node_modules/css-loader/dist/cjs.js??ref--6-oneOf-1-1!../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../node_modules/postcss-loader/src/index.js??ref--6-oneOf-1-2!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./OnlinePlayers.vue?vue&type=style&index=0&id=eb92127c&scoped=true&lang=css&\"; export default mod; export * from \"-!../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--6-oneOf-1-0!../../../node_modules/css-loader/dist/cjs.js??ref--6-oneOf-1-1!../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../node_modules/postcss-loader/src/index.js??ref--6-oneOf-1-2!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./OnlinePlayers.vue?vue&type=style&index=0&id=eb92127c&scoped=true&lang=css&\"","import mod from \"-!../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--6-oneOf-1-0!../../../node_modules/css-loader/dist/cjs.js??ref--6-oneOf-1-1!../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../node_modules/postcss-loader/src/index.js??ref--6-oneOf-1-2!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Leaderboard.vue?vue&type=style&index=0&id=bb666d0e&scoped=true&lang=css&\"; export default mod; export * from \"-!../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--6-oneOf-1-0!../../../node_modules/css-loader/dist/cjs.js??ref--6-oneOf-1-1!../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../node_modules/postcss-loader/src/index.js??ref--6-oneOf-1-2!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Leaderboard.vue?vue&type=style&index=0&id=bb666d0e&scoped=true&lang=css&\"","import mod from \"-!../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--6-oneOf-1-0!../../../node_modules/css-loader/dist/cjs.js??ref--6-oneOf-1-1!../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../node_modules/postcss-loader/src/index.js??ref--6-oneOf-1-2!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./AdminPanel.vue?vue&type=style&index=0&id=002967ae&scoped=true&lang=css&\"; export default mod; export * from \"-!../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--6-oneOf-1-0!../../../node_modules/css-loader/dist/cjs.js??ref--6-oneOf-1-1!../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../node_modules/postcss-loader/src/index.js??ref--6-oneOf-1-2!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./AdminPanel.vue?vue&type=style&index=0&id=002967ae&scoped=true&lang=css&\"","import mod from \"-!../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--6-oneOf-1-0!../../../node_modules/css-loader/dist/cjs.js??ref--6-oneOf-1-1!../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../node_modules/postcss-loader/src/index.js??ref--6-oneOf-1-2!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./CreateQuizRoom.vue?vue&type=style&index=0&id=3cbd2812&scoped=true&lang=css&\"; export default mod; export * from \"-!../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--6-oneOf-1-0!../../../node_modules/css-loader/dist/cjs.js??ref--6-oneOf-1-1!../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../node_modules/postcss-loader/src/index.js??ref--6-oneOf-1-2!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./CreateQuizRoom.vue?vue&type=style&index=0&id=3cbd2812&scoped=true&lang=css&\""],"sourceRoot":""} \ No newline at end of file diff --git a/realtime-quiz/dist/js/app.979abac9.js b/realtime-quiz/dist/js/app.979abac9.js deleted file mode 100644 index e0e9ab6..0000000 --- a/realtime-quiz/dist/js/app.979abac9.js +++ /dev/null @@ -1,2 +0,0 @@ -(function(e){function t(t){for(var n,a,o=t[0],c=t[1],u=t[2],d=0,h=[];d0?[e.didHostStartGame?e._e():s("div",[s("hr"),s("button",{staticClass:"btn btn-primary",attrs:{type:"button"},on:{click:function(t){return e.startQuiz()}}},[e._v(" Start the quiz ")])])]:e._e()],2):s("div",{staticClass:"card-body"},[s("h2",{staticClass:"card-title"},[e._v(" Host "+e._s("CustomQuiz"===e.quizType?"your own ":"a randomly chosen ")+" quiz ")]),"CustomQuiz"==e.quizType?[s("div",[s("p",{staticClass:"card-text"},[e._v(" You can add your own quiz questions in Google Sheets and host a live quiz. Simply make a copy of the template and fill it with your data. ")]),s("div",{staticClass:"sheets-template"},[s("a",{staticClass:"btn btn-primary btn-host btn-template",attrs:{href:e.templateCopyURL,target:"_blank",role:"button"}},[e._v(" Get the Google Sheets template")]),s("p",{staticClass:"card-text template-instructions"},[e._v(" After you've prepared the questions and answers, you need to do two things: "),s("br"),e._v(" 1. Copy the URL of your sheet from the browser's address bar and paste it in the field below "),s("input",{directives:[{name:"model",rawName:"v-model",value:e.sheetURL,expression:"sheetURL"}],staticClass:"form-control input-box",attrs:{placeholder:"Add the URL to your sheet",disabled:e.createBtnClicked},domProps:{value:e.sheetURL},on:{input:function(t){t.target.composing||(e.sheetURL=t.target.value)}}}),e._v(" 2. Make your Google sheet publicly available by going to File > Publish to the web > Publish. You might be presented with a different shareable URL, you can ignore that. ")])])])]:e._e(),s("p",{staticClass:"card-text"},[e._v(" We need a nickname for you so the players of your quiz can identify you ")]),s("input",{directives:[{name:"model",rawName:"v-model",value:e.hostNickname,expression:"hostNickname"}],staticClass:"form-control input-box",attrs:{placeholder:"Enter nickname",disabled:e.createBtnClicked},domProps:{value:e.hostNickname},on:{input:function(t){t.target.composing||(e.hostNickname=t.target.value)}}}),s("button",{staticClass:"btn btn-primary",attrs:{type:"button create-random-btn",disabled:e.createBtnClicked},on:{click:function(t){return e.createQuizRoom()}}},[e._v(" "+e._s(e.btnText)+" ")]),e.sheetURLErr?s("div",{staticClass:"alert alert-danger sheet-error",attrs:{role:"alert"}},[e._v(" There is a problem with the URL to your sheet. Please recheck it per the instructions above, refresh this page and try again. You can reach out to support@ably.com for further assistance. ")]):e._e()],2),s("div",{staticClass:"card-footer text-muted"},[s("button",{staticClass:"btn btn-link",attrs:{type:"button"},on:{click:function(t){return e.showHome()}}},[e._v(" ← Go back ")])])]),e.showQuestions&&!e.showFinalScreen?s("div",{staticClass:"d-flex bd-highlight"},[s("div",{staticClass:"question-flex bd-highlight"},[s("Question",{attrs:{newQuestion:e.newQuestion,newChoices:e.newChoices,newQuestionNumber:e.newQuestionNumber,isLastQuestion:e.isLastQuestion,questionTimer:e.questionTimer,correctAnswerIndex:e.correctAnswerIndex,showImg:e.showImg,questionImgLink:e.questionImgLink,isAdminView:!0,correctAnswer:e.newChoices[e.correctAnswerIndex],showAnswer:e.showAnswer}})],1),s("div",{staticClass:"stats-flex bd-highlight"},[e.showAnswer?e._e():s("LiveStats",{attrs:{numAnswered:e.numAnswered,numPlaying:e.numPlaying}}),e.showAnswer?s("div",[s("Leaderboard",{attrs:{leaderboard:e.leaderboard,finalScreen:!1}}),s("AdminPanel",{attrs:{hostAdminCh:e.hostAdminCh,prevQuestionNumber:e.newQuestionNumber},on:{"end-quiz-now":function(t){return e.endQuizNow()}}})],1):e._e()],1)]):e._e(),e.showFinalScreen?s("div",{staticClass:"quizEnded"},[e._m(0),s("Leaderboard",{attrs:{leaderboard:e.leaderboard,finalScreen:!0}})],1):e._e()])},M=[function(){var e=this,t=e.$createElement,s=e._self._c||t;return s("div",{staticClass:"alert alert-secondary end-msg",attrs:{role:"alert"}},[s("h6",[e._v("The quiz has ended")]),s("h1",{staticClass:"display-4"},[e._v("Congratulations to the winners 🎉🎉🎉")])])}],V=(s("4d63"),s("ac1f"),function(){var e=this,t=e.$createElement,s=e._self._c||t;return s("div",{staticClass:"alert alert-secondary admin-panel",attrs:{role:"alert"}},[s("h4",{staticClass:"alert-heading"},[e._v("Host control panel")]),s("hr"),s("button",{staticClass:"btn btn-dark btn-next",attrs:{type:"button"},on:{click:function(t){return e.showNextQuestion()}}},[e._v(" Show next question ")]),s("br"),s("button",{staticClass:"btn btn-link end-btn",attrs:{type:"button"},on:{click:function(t){return e.endQuizNow()}}},[e._v(" End quiz and show results ")])])}),F=[],B={name:"AdminPanel",props:["hostAdminCh","prevQuestionNumber"],methods:{showNextQuestion:function(){this.hostAdminCh.publish("next-question",{prevQIndex:this.prevQuestionNumber-1})},endQuizNow:function(){this.hostAdminCh.publish("end-quiz-now",{end:!0}),this.$emit("end-quiz-now")}}},Y=B,W=(s("f709"),Object(l["a"])(Y,V,F,!1,null,"002967ae",null)),D=W.exports,J=function(){var e=this,t=e.$createElement,s=e._self._c||t;return s("div",{staticClass:"card bg-light mb-3 livestats-div"},[s("div",{staticClass:"card-header"},[e._v("Live stats")]),s("div",{staticClass:"card-body"},[s("h5",{staticClass:"card-title"},[e._v(" "+e._s(e.numAnswered)+" of "+e._s(e.numPlaying)+" people have answered this question ")])])])},Z=[],K={name:"LiveStats",props:["numAnswered","numPlaying"]},X=K,ee=(s("573d"),Object(l["a"])(X,J,Z,!1,null,"0a7e7ac2",null)),te=ee.exports,se=function(){var e=this,t=e.$createElement,s=e._self._c||t;return s("div",{staticClass:"card text-white bg-warning mb-3 leaderboard"},[s("div",{staticClass:"card-header"},[s("h3",[e._v(e._s(0==e.finalScreen?"Top 5 scorers":"Final Leaderboard"))])]),s("div",{staticClass:"card-body"},[s("p",{staticClass:"card-text"},[e.leaderboard?s("ol",{staticClass:"score-list"},e._l(e.leaderboard.slice(0,e.leaderNum),(function(t,n){return s("li",{key:n,staticClass:"score-item"},[s("p",[e._v(e._s(t.nickname))]),s("p",[e._v(e._s(t.score))])])})),0):e._e()])])])},ne=[],ie={name:"Leaderboard",props:["leaderboard","finalScreen"],data:function(){return{leaderNum:this.finalScreen?this.leaderboard.length:5}}},re=ie,ae=(s("7c35"),Object(l["a"])(re,se,ne,!1,null,"bb666d0e",null)),oe=ae.exports,ce=s("b0c2"),ue={name:"QuizType",props:["resetCmpFn","realtime","quizType","showHome"],components:{Question:q,AdminPanel:D,LiveStats:te,Leaderboard:oe,OnlinePlayers:L},data:function(){return{globalQuizChName:"main-quiz-thread",globalQuizCh:null,myQuizRoomCode:this.getRandomRoomId(),myQuizRoomCh:null,hostAdminCh:"a",hostNickname:null,btnText:"Create my quiz room",createBtnClicked:!1,isRoomReady:!1,playerLinkBase:window.location.href+"play",playerLink:null,copyBtnText:"Copy shareable link",copyClicked:!1,onlinePlayersArr:[],didHostStartGame:!1,timer:null,showQuestions:!1,newQuestionNumber:null,newQuestion:null,newChoices:[],isLastQuestion:null,questionTimer:30,correctAnswerIndex:null,showAnswer:!1,numAnswered:0,numPlaying:0,leaderboard:null,templateCopyURL:"https://docs.google.com/spreadsheets/d/12_Cnv86fI4JOnJq5t9BQmxiPTNZgMsd0PP7Sbjm7WkQ/copy?usp=sharing",sheetURL:"",sheetURLErr:!1,customQuizQuestions:null,showImg:!1,questionImgLink:null,showFinalScreen:!1}},methods:{createQuizRoom:function(){var e=this;if(this.createBtnClicked=!0,"RandomQuiz"===this.quizType)this.btnText="Creating your quiz room...";else{this.btnText="Loading your questions and creating your quiz room...";var t=new RegExp("/spreadsheets/d/([a-zA-Z0-9-_]+)").exec(this.sheetURL)[1];if(null==t||null==this.sheetURL)return void(this.sheetURLErr=!0);var s={sheetId:t,sheetNumber:1,returnAllResults:!0};ce(s,(function(t){e.customQuizQuestions=t}),(function(t){e.sheetURLErr=!0,console.log(t)}))}this.waitForGameRoom(),this.enterMainThread()},waitForGameRoom:function(){var e=this;this.myQuizRoomCh=this.realtime.channels.get("".concat(this.myQuizRoomCode,":primary")),this.hostAdminCh=this.realtime.channels.get("".concat(this.myQuizRoomCode,":host")),this.myQuizRoomCh.subscribe("thread-ready",(function(){e.handleQuizRoomReady()}))},handleQuizRoomReady:function(){if(this.isRoomReady=!0,this.globalQuizCh.detach(),this.enterGameRoomAndSubscribeToEvents(),this.playerLink="".concat(this.playerLinkBase,"?quizCode=").concat(this.myQuizRoomCode),"CustomQuiz"==this.quizType){var e=this.customQuizQuestions;this.hostAdminCh.publish("quiz-questions",{questions:e})}},enterGameRoomAndSubscribeToEvents:function(){this.myQuizRoomCh.presence.enter({nickname:this.hostNickname,avatarColor:this.myAvatarColor,isHost:!0,quizType:this.quizType}),this.subscribeToHostChEvents(),this.subscribeToRoomChEvents()},enterMainThread:function(){this.globalQuizCh=this.realtime.channels.get(this.globalQuizChName),this.globalQuizCh.presence.enter({nickname:this.hostNickname,roomCode:this.myQuizRoomCode})},getRandomRoomId:function(){return"room-"+Math.random().toString(36).substr(2,8)},subscribeToHostChEvents:function(){var e=this;this.hostAdminCh.subscribe("live-stats-update",(function(t){e.numAnswered=t.data.numAnswered,e.numPlaying=t.data.numPlaying})),this.hostAdminCh.subscribe("full-leaderboard",(function(t){e.leaderboard=t.data.leaderboard}))},subscribeToRoomChEvents:function(){var e=this;this.myQuizRoomCh.subscribe("new-player",(function(t){e.handleNewPlayerEntered(t)})),this.myQuizRoomCh.subscribe("start-quiz-timer",(function(t){e.didHostStartGame=!0,e.timer=t.data.countDownSec})),this.myQuizRoomCh.subscribe("new-question",(function(t){e.handleNewQuestionReceived(t)})),this.myQuizRoomCh.subscribe("question-timer",(function(t){e.questionTimer=t.data.countDownSec,e.questionTimer<0&&(e.questionTimer=30)})),this.myQuizRoomCh.subscribe("correct-answer",(function(t){e.handleCorrectAnswerReceived(t)}))},handleNewPlayerEntered:function(e){var t=e.data.newPlayerState,s=t.clientId,n=t.nickname,i=t.avatarColor,r=t.isHost;r||this.onlinePlayersArr.push({clientId:s,nickname:n,avatarColor:i,isHost:r})},handleNewQuestionReceived:function(e){this.showAnswer=!1,this.showQuestions=!0,this.newQuestionNumber=e.data.questionNumber,this.newQuestion=e.data.question,this.newChoices=e.data.choices,this.isLastQuestion=e.data.isLastQuestion,this.numAnswered=e.data.numAnswered,this.numPlaying=e.data.numPlaying,this.showImg=e.data.showImg,this.questionImgLink=e.data.imgLink},handleCorrectAnswerReceived:function(e){this.showAnswer=!0,this.newQuestionNumber==e.data.questionNumber&&(this.correctAnswerIndex=e.data.correctAnswerIndex),this.isLastQuestion&&(this.showFinalScreen=!0)},copyPlayerInviteLink:function(){var e=this;this.copyClicked=!0,this.copyBtnText="Copied!",setTimeout((function(){e.copyClicked=!1,e.copyBtnText="Copy shareable link"}),2e3),navigator.clipboard.writeText(this.playerLink)},startQuiz:function(){this.hostAdminCh.publish("start-quiz",{start:!0})},endQuizNow:function(){this.showFinalScreen=!0}},beforeDestroy:function(){this.myQuizRoomCh&&this.myQuizRoomCh.presence.leave(),this.questionTimer=30}},le=ue,de=(s("317d"),Object(l["a"])(le,$,M,!1,null,"0a9f1296",null)),he=de.exports,me={props:["realtime","ablyClientId"],data:function(){return{isTypeChosen:!1,headerImgLink:"https://user-images.githubusercontent.com/5900152/93231769-037b5180-f771-11ea-817a-0b4cd2ca7dc7.png",quizType:""}},components:{CreateQuizRoom:he},methods:{setQuizType:function(e){this.isTypeChosen=!0,this.quizType=e},showHome:function(){this.isTypeChosen=!1}}},pe=me,ye=(s("c950"),Object(l["a"])(pe,G,U,!1,null,"7fb30619",null)),we=ye.exports,be=[{path:"/play",component:j},{path:"",component:we}];n["a"].config.productionTip=!1,n["a"].use(i["a"]);var fe=new i["a"]({routes:be,mode:"history"});new n["a"]({router:fe,render:function(e){return e(h)}}).$mount("#app")},"573d":function(e,t,s){"use strict";var n=s("5a38"),i=s.n(n);i.a},"57f4":function(e,t,s){},"59c1":function(e,t,s){"use strict";var n=s("7caa"),i=s.n(n);i.a},"5a38":function(e,t,s){},"5c42":function(e,t,s){"use strict";var n=s("6fea"),i=s.n(n);i.a},"65cf":function(e,t,s){"use strict";var n=s("0d38"),i=s.n(n);i.a},"6fea":function(e,t,s){},"7c35":function(e,t,s){"use strict";var n=s("bea1"),i=s.n(n);i.a},"7caa":function(e,t,s){},"85ec":function(e,t,s){},b176:function(e,t,s){},b469:function(e,t,s){},bea1:function(e,t,s){},c0f7:function(e,t,s){},c950:function(e,t,s){"use strict";var n=s("b469"),i=s.n(n);i.a},f709:function(e,t,s){"use strict";var n=s("c0f7"),i=s.n(n);i.a}}); -//# sourceMappingURL=app.979abac9.js.map \ No newline at end of file diff --git a/realtime-quiz/dist/js/app.979abac9.js.map b/realtime-quiz/dist/js/app.979abac9.js.map deleted file mode 100644 index 56f1a0d..0000000 --- a/realtime-quiz/dist/js/app.979abac9.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"sources":["webpack:///webpack/bootstrap","webpack:///./src/App.vue?7e02","webpack:///./src/components/host/CreateQuizRoom.vue?8683","webpack:///./src/components/common/Answer.vue?fe43","webpack:///./src/App.vue?e149","webpack:///src/App.vue","webpack:///./src/App.vue?1160","webpack:///./src/App.vue?bff9","webpack:///./src/components/player/PlayerHome.vue?9cbc","webpack:///./src/components/common/Question.vue?ce91","webpack:///./src/components/common/Answer.vue?da68","webpack:///src/components/common/Answer.vue","webpack:///./src/components/common/Answer.vue?e5ae","webpack:///./src/components/common/Answer.vue?ddf4","webpack:///src/components/common/Question.vue","webpack:///./src/components/common/Question.vue?3c8c","webpack:///./src/components/common/Question.vue?2e8b","webpack:///./src/components/common/OnlinePlayers.vue?455b","webpack:///src/components/common/OnlinePlayers.vue","webpack:///./src/components/common/OnlinePlayers.vue?8530","webpack:///./src/components/common/OnlinePlayers.vue?b5e1","webpack:///src/components/player/PlayerHome.vue","webpack:///./src/components/player/PlayerHome.vue?6a01","webpack:///./src/components/player/PlayerHome.vue?dc94","webpack:///./src/components/host/HostHome.vue?b2fb","webpack:///./src/components/host/CreateQuizRoom.vue?6f58","webpack:///./src/components/host/AdminPanel.vue?88f7","webpack:///src/components/host/AdminPanel.vue","webpack:///./src/components/host/AdminPanel.vue?0e18","webpack:///./src/components/host/AdminPanel.vue?cdc1","webpack:///./src/components/host/LiveStats.vue?f67f","webpack:///src/components/host/LiveStats.vue","webpack:///./src/components/host/LiveStats.vue?1480","webpack:///./src/components/host/LiveStats.vue?4e3f","webpack:///./src/components/host/Leaderboard.vue?7010","webpack:///src/components/host/Leaderboard.vue","webpack:///./src/components/host/Leaderboard.vue?df5a","webpack:///./src/components/host/Leaderboard.vue?49ee","webpack:///src/components/host/CreateQuizRoom.vue","webpack:///./src/components/host/CreateQuizRoom.vue?5e98","webpack:///./src/components/host/CreateQuizRoom.vue?641d","webpack:///src/components/host/HostHome.vue","webpack:///./src/components/host/HostHome.vue?4165","webpack:///./src/components/host/HostHome.vue?a7d9","webpack:///./src/routes.js","webpack:///./src/main.js","webpack:///./src/components/host/LiveStats.vue?bf67","webpack:///./src/components/common/Question.vue?9973","webpack:///./src/components/player/PlayerHome.vue?3b0f","webpack:///./src/components/common/OnlinePlayers.vue?12b1","webpack:///./src/components/host/Leaderboard.vue?9192","webpack:///./src/components/host/HostHome.vue?16d5","webpack:///./src/components/host/AdminPanel.vue?9997"],"names":["webpackJsonpCallback","data","moduleId","chunkId","chunkIds","moreModules","executeModules","i","resolves","length","Object","prototype","hasOwnProperty","call","installedChunks","push","modules","parentJsonpFunction","shift","deferredModules","apply","checkDeferredModules","result","deferredModule","fulfilled","j","depId","splice","__webpack_require__","s","installedModules","exports","module","l","m","c","d","name","getter","o","defineProperty","enumerable","get","r","Symbol","toStringTag","value","t","mode","__esModule","ns","create","key","bind","n","object","property","p","jsonpArray","window","oldJsonpFunction","slice","_vm","this","_h","$createElement","_c","_self","attrs","realtime","staticRenderFns","components","created","authUrl","destroyed","connection","close","component","showQuestions","_e","staticClass","headerImgLink","isRoomClosed","_v","_s","myNickname","didPlayerEnterRoom","timer","onlinePlayersArr","didHostStartGame","hostNickname","directives","rawName","expression","domProps","on","$event","target","composing","enterRoomWithNickname","_m","showAnswer","newQuestion","newChoices","newQuestionNumber","isLastQuestion","questionTimer","correctAnswerIndex","showImg","questionImgLink","myInputCh","playerAnswer","didAnswerCorrectly","class","viewType","answerSubmitted","isAdminView","_l","choice","index","sendMyAnswer","style","width","cardColorClass","evalMessage","correctAnswer","props","methods","Answer","$emit","questionIndex","playerAnswerIndex","publish","player","clientId","color","avatarColor","nickname","Question","OnlinePlayers","quizRoomCode","myQuizRoomCh","myAvatarColor","myClientId","clickedPlayerQuestionIndex","clickedPlayerAnswerIndex","didHostForceQuizEnd","subscribeToQuizRoomChEvents","subscribe","handleNewPlayerEntered","handleNewQuestionReceived","msg","questionNumber","question","choices","imgLink","handleCorrectAnswerReceived","handleQuizEnding","setUpMyChannel","auth","channels","presence","enter","isHost","getExistingPresenceSet","err","console","log","players","obj","beforeDestroy","leave","isTypeChosen","setQuizType","ablyClientId","quizType","showHome","isRoomReady","copyPlayerInviteLink","copyBtnText","copyClicked","startQuiz","templateCopyURL","createBtnClicked","sheetURL","createQuizRoom","btnText","showFinalScreen","numAnswered","numPlaying","leaderboard","hostAdminCh","endQuizNow","showNextQuestion","prevQIndex","prevQuestionNumber","end","finalScreen","leaderNum","item","score","AdminPanel","LiveStats","Leaderboard","globalQuizChName","globalQuizCh","myQuizRoomCode","getRandomRoomId","playerLinkBase","location","href","playerLink","sheetURLErr","customQuizQuestions","mySheetId","sheetId","sheetNumber","returnAllResults","waitForGameRoom","enterMainThread","handleQuizRoomReady","detach","enterGameRoomAndSubscribeToEvents","questions","subscribeToHostChEvents","subscribeToRoomChEvents","roomCode","setTimeout","navigator","clipboard","writeText","start","CreateQuizRoom","type","routes","path","PlayerHome","HostHome","Vue","config","productionTip","use","VueRouter","router","render","h","App","$mount"],"mappings":"aACE,SAASA,EAAqBC,GAQ7B,IAPA,IAMIC,EAAUC,EANVC,EAAWH,EAAK,GAChBI,EAAcJ,EAAK,GACnBK,EAAiBL,EAAK,GAIHM,EAAI,EAAGC,EAAW,GACpCD,EAAIH,EAASK,OAAQF,IACzBJ,EAAUC,EAASG,GAChBG,OAAOC,UAAUC,eAAeC,KAAKC,EAAiBX,IAAYW,EAAgBX,IACpFK,EAASO,KAAKD,EAAgBX,GAAS,IAExCW,EAAgBX,GAAW,EAE5B,IAAID,KAAYG,EACZK,OAAOC,UAAUC,eAAeC,KAAKR,EAAaH,KACpDc,EAAQd,GAAYG,EAAYH,IAG/Be,GAAqBA,EAAoBhB,GAE5C,MAAMO,EAASC,OACdD,EAASU,OAATV,GAOD,OAHAW,EAAgBJ,KAAKK,MAAMD,EAAiBb,GAAkB,IAGvDe,IAER,SAASA,IAER,IADA,IAAIC,EACIf,EAAI,EAAGA,EAAIY,EAAgBV,OAAQF,IAAK,CAG/C,IAFA,IAAIgB,EAAiBJ,EAAgBZ,GACjCiB,GAAY,EACRC,EAAI,EAAGA,EAAIF,EAAed,OAAQgB,IAAK,CAC9C,IAAIC,EAAQH,EAAeE,GACG,IAA3BX,EAAgBY,KAAcF,GAAY,GAE3CA,IACFL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,YAAc,UACnBgD,YAAW,WACT,EAAR,eACQ,EAAR,oCACA,KACMC,UAAUC,UAAUC,UAAUvK,KAAKoJ,aAErC9B,UA3JJ,WA4JMtH,KAAKgI,YAAY3D,QAAQ,aAAc,CACrCmG,OAAO,KAGXvC,WAhKJ,WAiKMjI,KAAK4H,iBAAkB,IAG3BjB,cArNF,WAsNQ3G,KAAK8E,cACP9E,KAAK8E,aAAaoB,SAASU,QAE7B5G,KAAK2C,cAAgB,KCxX8U,MCQnW,I,UAAY,eACd,GACA,EACA,GACA,EACA,KACA,WACA,OAIa,M,QCoCf,IACEoB,MAAO,CAAC,WAAY,gBACpB7H,KAFF,WAGI,MAAO,CACL2K,cAAc,EACd3F,cACN,sGACM8F,SAAU,KAGdxG,WAAY,CACViK,eAAJ,IAEEzG,QAAS,CACP8C,YADJ,SACA,GACM9G,KAAK6G,cAAe,EACpB7G,KAAKgH,SAAW0D,GAElBzD,SALJ,WAMMjH,KAAK6G,cAAe,KC1EuU,MCQ7V,I,UAAY,eACd,GACA,EACA,GACA,EACA,KACA,WACA,OAIa,M,QChBF8D,GAAS,CACpB,CAAEC,KAAM,QAAS9J,UAAW+J,GAC5B,CAAED,KAAM,GAAI9J,UAAWgK,KCAzBC,OAAIC,OAAOC,eAAgB,EAE3BF,OAAIG,IAAIC,QACR,IAAMC,GAAS,IAAID,OAAU,CAC3BR,UACA1L,KAAM,YAGR,IAAI8L,OAAI,CACNK,UACAC,OAAQ,SAAAC,GAAC,OAAIA,EAAEC,MACdC,OAAO,S,oCChBV,yBAA0f,EAAG,G,6DCA7f,yBAAyf,EAAG,G,6DCA5f,yBAA2f,EAAG,G,oCCA9f,yBAA8f,EAAG,G,6DCAjgB,yBAA4f,EAAG,G,gLCA/f,yBAAyf,EAAG,G,kCCA5f,yBAA2f,EAAG","file":"js/app.979abac9.js","sourcesContent":[" \t// install a JSONP callback for chunk loading\n \tfunction webpackJsonpCallback(data) {\n \t\tvar chunkIds = data[0];\n \t\tvar moreModules = data[1];\n \t\tvar executeModules = data[2];\n\n \t\t// add \"moreModules\" to the modules object,\n \t\t// then flag all \"chunkIds\" as loaded and fire callback\n \t\tvar moduleId, chunkId, i = 0, resolves = [];\n \t\tfor(;i < chunkIds.length; i++) {\n \t\t\tchunkId = chunkIds[i];\n \t\t\tif(Object.prototype.hasOwnProperty.call(installedChunks, chunkId) && installedChunks[chunkId]) {\n \t\t\t\tresolves.push(installedChunks[chunkId][0]);\n \t\t\t}\n \t\t\tinstalledChunks[chunkId] = 0;\n \t\t}\n \t\tfor(moduleId in moreModules) {\n \t\t\tif(Object.prototype.hasOwnProperty.call(moreModules, moduleId)) {\n \t\t\t\tmodules[moduleId] = moreModules[moduleId];\n \t\t\t}\n \t\t}\n \t\tif(parentJsonpFunction) parentJsonpFunction(data);\n\n \t\twhile(resolves.length) {\n \t\t\tresolves.shift()();\n \t\t}\n\n \t\t// add entry modules from loaded chunk to deferred list\n \t\tdeferredModules.push.apply(deferredModules, executeModules || []);\n\n \t\t// run deferred modules when all chunks ready\n \t\treturn checkDeferredModules();\n \t};\n \tfunction checkDeferredModules() {\n \t\tvar result;\n \t\tfor(var i = 0; i < deferredModules.length; i++) {\n \t\t\tvar deferredModule = deferredModules[i];\n \t\t\tvar fulfilled = true;\n \t\t\tfor(var j = 1; j < deferredModule.length; j++) {\n \t\t\t\tvar depId = deferredModule[j];\n \t\t\t\tif(installedChunks[depId] !== 0) fulfilled = false;\n \t\t\t}\n \t\t\tif(fulfilled) {\n \t\t\t\tdeferredModules.splice(i--, 1);\n \t\t\t\tresult = __webpack_require__(__webpack_require__.s = deferredModule[0]);\n \t\t\t}\n \t\t}\n\n \t\treturn result;\n \t}\n\n \t// The module cache\n \tvar installedModules = {};\n\n \t// object to store loaded and loading chunks\n \t// undefined = chunk not loaded, null = chunk preloaded/prefetched\n \t// Promise = chunk loading, 0 = chunk loaded\n \tvar installedChunks = {\n \t\t\"app\": 0\n \t};\n\n \tvar deferredModules = [];\n\n \t// The require function\n \tfunction __webpack_require__(moduleId) {\n\n \t\t// Check if module is in cache\n \t\tif(installedModules[moduleId]) {\n \t\t\treturn installedModules[moduleId].exports;\n \t\t}\n \t\t// Create a new module (and put it into the cache)\n \t\tvar module = installedModules[moduleId] = {\n \t\t\ti: moduleId,\n \t\t\tl: false,\n \t\t\texports: {}\n \t\t};\n\n \t\t// Execute the module function\n \t\tmodules[moduleId].call(module.exports, module, module.exports, __webpack_require__);\n\n \t\t// Flag the module as loaded\n \t\tmodule.l = true;\n\n \t\t// Return the exports of the module\n \t\treturn module.exports;\n \t}\n\n\n \t// expose the modules object (__webpack_modules__)\n \t__webpack_require__.m = modules;\n\n \t// expose the module cache\n \t__webpack_require__.c = installedModules;\n\n \t// define getter function for harmony exports\n \t__webpack_require__.d = function(exports, name, getter) {\n \t\tif(!__webpack_require__.o(exports, name)) {\n \t\t\tObject.defineProperty(exports, name, { enumerable: true, get: getter });\n \t\t}\n \t};\n\n \t// define __esModule on exports\n \t__webpack_require__.r = function(exports) {\n \t\tif(typeof Symbol !== 'undefined' && Symbol.toStringTag) {\n \t\t\tObject.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });\n \t\t}\n \t\tObject.defineProperty(exports, '__esModule', { value: true });\n \t};\n\n \t// create a fake namespace object\n \t// mode & 1: value is a module id, require it\n \t// mode & 2: merge all properties of value into the ns\n \t// mode & 4: return value when already ns object\n \t// mode & 8|1: behave like require\n \t__webpack_require__.t = function(value, mode) {\n \t\tif(mode & 1) value = __webpack_require__(value);\n \t\tif(mode & 8) return value;\n \t\tif((mode & 4) && typeof value === 'object' && value && value.__esModule) return value;\n \t\tvar ns = Object.create(null);\n \t\t__webpack_require__.r(ns);\n \t\tObject.defineProperty(ns, 'default', { enumerable: true, value: value });\n \t\tif(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key));\n \t\treturn ns;\n \t};\n\n \t// getDefaultExport function for compatibility with non-harmony modules\n \t__webpack_require__.n = function(module) {\n \t\tvar getter = module && module.__esModule ?\n \t\t\tfunction getDefault() { return module['default']; } :\n \t\t\tfunction getModuleExports() { return module; };\n \t\t__webpack_require__.d(getter, 'a', getter);\n \t\treturn getter;\n \t};\n\n \t// Object.prototype.hasOwnProperty.call\n \t__webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };\n\n \t// __webpack_public_path__\n \t__webpack_require__.p = \"/\";\n\n \tvar jsonpArray = window[\"webpackJsonp\"] = window[\"webpackJsonp\"] || [];\n \tvar oldJsonpFunction = jsonpArray.push.bind(jsonpArray);\n \tjsonpArray.push = webpackJsonpCallback;\n \tjsonpArray = jsonpArray.slice();\n \tfor(var i = 0; i < jsonpArray.length; i++) webpackJsonpCallback(jsonpArray[i]);\n \tvar parentJsonpFunction = oldJsonpFunction;\n\n\n \t// add entry module to deferred list\n \tdeferredModules.push([0,\"chunk-vendors\"]);\n \t// run deferred modules when ready\n \treturn checkDeferredModules();\n","import mod from \"-!../node_modules/mini-css-extract-plugin/dist/loader.js??ref--6-oneOf-1-0!../node_modules/css-loader/dist/cjs.js??ref--6-oneOf-1-1!../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../node_modules/postcss-loader/src/index.js??ref--6-oneOf-1-2!../node_modules/cache-loader/dist/cjs.js??ref--0-0!../node_modules/vue-loader/lib/index.js??vue-loader-options!./App.vue?vue&type=style&index=0&lang=css&\"; export default mod; export * from \"-!../node_modules/mini-css-extract-plugin/dist/loader.js??ref--6-oneOf-1-0!../node_modules/css-loader/dist/cjs.js??ref--6-oneOf-1-1!../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../node_modules/postcss-loader/src/index.js??ref--6-oneOf-1-2!../node_modules/cache-loader/dist/cjs.js??ref--0-0!../node_modules/vue-loader/lib/index.js??vue-loader-options!./App.vue?vue&type=style&index=0&lang=css&\"","import mod from \"-!../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--6-oneOf-1-0!../../../node_modules/css-loader/dist/cjs.js??ref--6-oneOf-1-1!../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../node_modules/postcss-loader/src/index.js??ref--6-oneOf-1-2!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./CreateQuizRoom.vue?vue&type=style&index=0&id=0a9f1296&scoped=true&lang=css&\"; export default mod; export * from \"-!../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--6-oneOf-1-0!../../../node_modules/css-loader/dist/cjs.js??ref--6-oneOf-1-1!../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../node_modules/postcss-loader/src/index.js??ref--6-oneOf-1-2!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./CreateQuizRoom.vue?vue&type=style&index=0&id=0a9f1296&scoped=true&lang=css&\"","import mod from \"-!../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--6-oneOf-1-0!../../../node_modules/css-loader/dist/cjs.js??ref--6-oneOf-1-1!../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../node_modules/postcss-loader/src/index.js??ref--6-oneOf-1-2!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Answer.vue?vue&type=style&index=0&id=10651dd2&scoped=true&lang=css&\"; export default mod; export * from \"-!../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--6-oneOf-1-0!../../../node_modules/css-loader/dist/cjs.js??ref--6-oneOf-1-1!../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../node_modules/postcss-loader/src/index.js??ref--6-oneOf-1-2!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Answer.vue?vue&type=style&index=0&id=10651dd2&scoped=true&lang=css&\"","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{attrs:{\"id\":\"app\"}},[_c('router-view',{attrs:{\"realtime\":_vm.realtime}})],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n","import mod from \"-!../node_modules/cache-loader/dist/cjs.js??ref--12-0!../node_modules/thread-loader/dist/cjs.js!../node_modules/babel-loader/lib/index.js!../node_modules/cache-loader/dist/cjs.js??ref--0-0!../node_modules/vue-loader/lib/index.js??vue-loader-options!./App.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../node_modules/cache-loader/dist/cjs.js??ref--12-0!../node_modules/thread-loader/dist/cjs.js!../node_modules/babel-loader/lib/index.js!../node_modules/cache-loader/dist/cjs.js??ref--0-0!../node_modules/vue-loader/lib/index.js??vue-loader-options!./App.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./App.vue?vue&type=template&id=3dc08fac&\"\nimport script from \"./App.vue?vue&type=script&lang=js&\"\nexport * from \"./App.vue?vue&type=script&lang=js&\"\nimport style0 from \"./App.vue?vue&type=style&index=0&lang=css&\"\n\n\n/* normalize component */\nimport normalizer from \"!../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[(!_vm.showQuestions)?_c('div',{staticClass:\"player-home card\"},[_c('img',{staticClass:\"card-img-top\",attrs:{\"src\":_vm.headerImgLink,\"alt\":\"Header image\"}}),(!_vm.isRoomClosed)?_c('div',{staticClass:\"card-body\"},[_c('h5',{staticClass:\"card-title\"},[_vm._v(\"Hello \"+_vm._s(_vm.myNickname)+\"!\")]),(!_vm.didPlayerEnterRoom)?[_c('p',{staticClass:\"card-text\"},[_vm._v(\"We need a nickname so others can identify you\")]),_c('div',{staticClass:\"nickname-input\"},[_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.myNickname),expression:\"myNickname\"}],staticClass:\"form-control host-nickname\",attrs:{\"id\":\"host-nickname\",\"placeholder\":\"Enter nickname\"},domProps:{\"value\":(_vm.myNickname)},on:{\"input\":function($event){if($event.target.composing){ return; }_vm.myNickname=$event.target.value}}}),_c('button',{staticClass:\"btn btn-primary\",attrs:{\"type\":\"button create-random-btn\"},on:{\"click\":function($event){return _vm.enterRoomWithNickname()}}},[_vm._v(\" GO \")])])]:[_c('OnlinePlayers',{attrs:{\"timer\":_vm.timer,\"onlinePlayersArr\":_vm.onlinePlayersArr,\"didHostStartGame\":_vm.didHostStartGame}}),(!_vm.didHostStartGame)?_c('div',[_c('hr'),_c('small',{staticClass:\"text-muted\"},[_vm._v(\"Waiting for your host, \"),_c('strong',[_vm._v(_vm._s(_vm.hostNickname))]),_vm._v(\", to start the quiz\")])]):_vm._e()]],2):_vm._e(),(_vm.isRoomClosed)?_c('div',{staticClass:\"card-body\"},[_vm._v(\" Sorry this quiz room is no longer available to enter, either because the host is no longer online or the quiz has already started. \")]):_vm._e(),_vm._m(0)]):_vm._e(),(_vm.showQuestions && !_vm.showAnswer)?_c('Question',{attrs:{\"newQuestion\":_vm.newQuestion,\"newChoices\":_vm.newChoices,\"newQuestionNumber\":_vm.newQuestionNumber,\"isLastQuestion\":_vm.isLastQuestion,\"questionTimer\":_vm.questionTimer,\"correctAnswerIndex\":_vm.correctAnswerIndex,\"showImg\":_vm.showImg,\"questionImgLink\":_vm.questionImgLink,\"isAdminView\":false,\"myInputCh\":_vm.myInputCh},on:{\"player-answer\":function($event){return _vm.playerAnswer($event)}}}):_vm._e(),(_vm.showAnswer)?_c('Answer',{attrs:{\"correctAnswer\":_vm.newChoices[_vm.correctAnswerIndex],\"didAnswerCorrectly\":_vm.didAnswerCorrectly,\"isAdminView\":false}}):_vm._e(),(_vm.didHostForceQuizEnd)?_c('div',{staticClass:\"alert alert-danger alert-quiz-ended\",attrs:{\"role\":\"alert\"}},[_vm._v(\" This quiz has ended. Either the host has ended it or they have simply left. Please request the host to share a new link. \")]):_vm._e()],1)}\nvar staticRenderFns = [function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"card-footer text-muted\"},[_c('a',{attrs:{\"href\":\"https://github.com/Srushtika/realtime-quiz-framework\",\"target\":\"_blank\"}},[_vm._v(\"Learn how to build your own realtime quiz app with Ably →\")])])}]\n\nexport { render, staticRenderFns }","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"card\",class:_vm.viewType},[_c('div',{staticClass:\"card-header\"},[_vm._v(\"Question \"+_vm._s(_vm.newQuestionNumber))]),_c('h2',{staticClass:\"question-div card-title\"},[_vm._v(_vm._s(_vm.newQuestion))]),(_vm.showImg)?_c('div',{staticClass:\"img-div\"},[_c('img',{staticClass:\"img-fluid q-img\",attrs:{\"src\":_vm.questionImgLink,\"alt\":\"Image for the question\"}})]):_vm._e(),(_vm.showAnswer)?_c('Answer',{attrs:{\"correctAnswer\":_vm.newChoices[_vm.correctAnswerIndex],\"isAdminView\":true}}):_vm._e(),(!_vm.showAnswer)?_c('div',{staticClass:\"card-body\"},[_c('h5',{staticClass:\"card-title\"}),(!_vm.answerSubmitted && !_vm.isAdminView)?_c('div',{staticClass:\"choices-container\"},_vm._l((_vm.newChoices),function(choice,index){return _c('button',{key:choice,staticClass:\"btn btn-outline-dark choice-btn\",attrs:{\"type\":\"button\"},on:{\"click\":function($event){return _vm.sendMyAnswer(choice, index)}}},[_vm._v(\" \"+_vm._s(choice)+\" \")])}),0):_vm._e(),(_vm.isAdminView)?_c('div',{staticClass:\"choices-container\"},_vm._l((_vm.newChoices),function(choice){return _c('div',{key:choice,staticClass:\"choice-div\"},[_vm._v(\" \"+_vm._s(choice)+\" \")])}),0):_vm._e(),(_vm.answerSubmitted)?_c('div',{staticClass:\"submitted-msg\"},[_c('h5',[_vm._v(\" Your answer is submitted, waiting for everyone else to answer... \")])]):_vm._e()]):_vm._e(),(!(_vm.isAdminView && _vm.showAnswer))?_c('div',{staticClass:\"progress\"},[_c('div',{staticClass:\"progress-bar progress-bar-striped progress-bar-animated bg-dark\",style:({ width: (_vm.questionTimer / 30) * 100 + '%' }),attrs:{\"role\":\"progressbar\",\"aria-valuemin\":\"0\",\"aria-valuemax\":\"100\"}},[_vm._v(\" \"+_vm._s(_vm.questionTimer)+\" \")])]):_vm._e()],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"card alert answer-div answer-card\",class:_vm.cardColorClass},[(!_vm.isAdminView)?_c('div',{staticClass:\"answer-eval\"},[_c('i',{staticClass:\"fas\",class:_vm.didAnswerCorrectly ? 'fa-check-circle' : 'fa-times-circle'}),_vm._v(\" \"+_vm._s(_vm.evalMessage)+\" \")]):_vm._e(),(!_vm.isAdminView)?_c('hr'):_vm._e(),_c('h5',[_vm._v(\"The answer is\")]),_c('h2',{staticClass:\"card-title answer-text\"},[_vm._v(_vm._s(_vm.correctAnswer))])])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n","import mod from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Answer.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Answer.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./Answer.vue?vue&type=template&id=10651dd2&scoped=true&\"\nimport script from \"./Answer.vue?vue&type=script&lang=js&\"\nexport * from \"./Answer.vue?vue&type=script&lang=js&\"\nimport style0 from \"./Answer.vue?vue&type=style&index=0&id=10651dd2&scoped=true&lang=css&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"10651dd2\",\n null\n \n)\n\nexport default component.exports","\n\n\n\n\n","import mod from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Question.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Question.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./Question.vue?vue&type=template&id=6b50fdcc&scoped=true&\"\nimport script from \"./Question.vue?vue&type=script&lang=js&\"\nexport * from \"./Question.vue?vue&type=script&lang=js&\"\nimport style0 from \"./Question.vue?vue&type=style&index=0&id=6b50fdcc&scoped=true&lang=css&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"6b50fdcc\",\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[(_vm.didHostStartGame)?_c('div',[_c('h1',[_vm._v(\"Your quiz starts in\")]),_c('h1',{staticClass:\"display-3\"},[_vm._v(_vm._s(_vm.timer))])]):_vm._e(),_vm._v(\" You'll see other players as they join \"),_c('div',{staticClass:\"online-players\"},_vm._l((_vm.onlinePlayersArr),function(player){return _c('div',{key:player.clientId,staticClass:\"player-avatar\",style:({ color: player.avatarColor })},[_c('figure',{staticClass:\"figure\"},[_c('i',{staticClass:\"fas fa-user-circle fa-3x\"}),_c('figcaption',{staticClass:\"figure-caption\"},[_vm._v(\" \"+_vm._s(player.nickname)+\" \")])])])}),0)])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n","import mod from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./OnlinePlayers.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./OnlinePlayers.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./OnlinePlayers.vue?vue&type=template&id=eb92127c&scoped=true&\"\nimport script from \"./OnlinePlayers.vue?vue&type=script&lang=js&\"\nexport * from \"./OnlinePlayers.vue?vue&type=script&lang=js&\"\nimport style0 from \"./OnlinePlayers.vue?vue&type=style&index=0&id=eb92127c&scoped=true&lang=css&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"eb92127c\",\n null\n \n)\n\nexport default component.exports","\n\n\n\n\n","import mod from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./PlayerHome.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./PlayerHome.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./PlayerHome.vue?vue&type=template&id=67897afe&scoped=true&\"\nimport script from \"./PlayerHome.vue?vue&type=script&lang=js&\"\nexport * from \"./PlayerHome.vue?vue&type=script&lang=js&\"\nimport style0 from \"./PlayerHome.vue?vue&type=style&index=0&id=67897afe&scoped=true&lang=css&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"67897afe\",\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[(!_vm.isTypeChosen)?_c('div',{staticClass:\"host-home card\"},[_c('img',{staticClass:\"card-img-top\",attrs:{\"src\":_vm.headerImgLink,\"alt\":\"Header image\"}}),_c('div',{staticClass:\"card-body\"},[_c('h5',{staticClass:\"card-title\"},[_vm._v(\"Hello Quizmaster!\")]),_c('p',{staticClass:\"card-text\"},[_vm._v(\" You can use this app to upload your own quiz questions and host a live quiz for any number of participants. As the host, you'll be able to see the live stats at all times and will have full control of the quiz during the live game. You can try it out by hosting a randomly chosen quiz! \")]),_c('p',{staticClass:\"card-text\"},[_vm._v(\" You can share your screen with the participants while they answer the questions via their mobile browsers for best experience. \")]),_c('button',{staticClass:\"btn btn-primary\",attrs:{\"type\":\"submit\"},on:{\"click\":function($event){return _vm.setQuizType('CustomQuiz')}}},[_vm._v(\" Create your own quiz \")]),_c('button',{staticClass:\"btn btn-primary\",attrs:{\"type\":\"submit\"},on:{\"click\":function($event){return _vm.setQuizType('RandomQuiz')}}},[_vm._v(\" Host a randomly chosen quiz \")])]),_vm._m(0)]):_vm._e(),(_vm.isTypeChosen)?[_c('CreateQuizRoom',{attrs:{\"realtime\":_vm.realtime,\"ablyClientId\":_vm.ablyClientId,\"quizType\":_vm.quizType,\"showHome\":_vm.showHome}})]:_vm._e()],2)}\nvar staticRenderFns = [function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"card-footer text-muted\"},[_c('a',{attrs:{\"href\":\"https://github.com/Srushtika/realtime-quiz-framework\",\"target\":\"_blank\"}},[_vm._v(\"Learn how to build your own realtime quiz app with Ably →\")])])}]\n\nexport { render, staticRenderFns }","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[(!_vm.showQuestions)?_c('div',{staticClass:\"host-home card\"},[(!_vm.isRoomReady)?_c('div',{staticClass:\"card-body\"},[_c('h2',{staticClass:\"card-title\"},[_vm._v(\" Host \"+_vm._s(_vm.quizType === 'CustomQuiz' ? 'your own ' : 'a randomly chosen ')+\" quiz \")]),(_vm.quizType == 'CustomQuiz')?[_c('div',[_c('p',{staticClass:\"card-text\"},[_vm._v(\" You can add your own quiz questions in Google Sheets and host a live quiz. Simply make a copy of the template and fill it with your data. \")]),_c('div',{staticClass:\"sheets-template\"},[_c('a',{staticClass:\"btn btn-primary btn-host btn-template\",attrs:{\"href\":_vm.templateCopyURL,\"target\":\"_blank\",\"role\":\"button\"}},[_vm._v(\" Get the Google Sheets template\")]),_c('p',{staticClass:\"card-text template-instructions\"},[_vm._v(\" After you've prepared the questions and answers, you need to do two things: \"),_c('br'),_vm._v(\" 1. Copy the URL of your sheet from the browser's address bar and paste it in the field below \"),_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.sheetURL),expression:\"sheetURL\"}],staticClass:\"form-control input-box\",attrs:{\"placeholder\":\"Add the URL to your sheet\",\"disabled\":_vm.createBtnClicked},domProps:{\"value\":(_vm.sheetURL)},on:{\"input\":function($event){if($event.target.composing){ return; }_vm.sheetURL=$event.target.value}}}),_vm._v(\" 2. Make your Google sheet publicly available by going to File > Publish to the web > Publish. You might be presented with a different shareable URL, you can ignore that. \")])])])]:_vm._e(),_c('p',{staticClass:\"card-text\"},[_vm._v(\" We need a nickname for you so the players of your quiz can identify you \")]),_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.hostNickname),expression:\"hostNickname\"}],staticClass:\"form-control input-box\",attrs:{\"placeholder\":\"Enter nickname\",\"disabled\":_vm.createBtnClicked},domProps:{\"value\":(_vm.hostNickname)},on:{\"input\":function($event){if($event.target.composing){ return; }_vm.hostNickname=$event.target.value}}}),_c('button',{staticClass:\"btn btn-primary\",attrs:{\"type\":\"button create-random-btn\",\"disabled\":_vm.createBtnClicked},on:{\"click\":function($event){return _vm.createQuizRoom()}}},[_vm._v(\" \"+_vm._s(_vm.btnText)+\" \")]),(_vm.sheetURLErr)?_c('div',{staticClass:\"alert alert-danger sheet-error\",attrs:{\"role\":\"alert\"}},[_vm._v(\" There is a problem with the URL to your sheet. Please recheck it per the instructions above, refresh this page and try again. You can reach out to support@ably.com for further assistance. \")]):_vm._e()],2):_c('div',{staticClass:\"card-body\"},[_c('h2',{staticClass:\"card-title\"},[_vm._v(\"Your quiz room is ready\")]),_c('p',{staticClass:\"card-text\"},[_vm._v(\" Invite your players to join by sharing this link \")]),_c('button',{staticClass:\"btn btn-primary\",attrs:{\"type\":\"button\"},on:{\"click\":function($event){return _vm.copyPlayerInviteLink()}}},[_vm._v(\" \"+_vm._s(_vm.copyBtnText)+\" \"),(!_vm.copyClicked)?_c('i',{staticClass:\"far fa-copy\"}):_vm._e()]),_c('hr'),_c('OnlinePlayers',{attrs:{\"timer\":_vm.timer,\"onlinePlayersArr\":_vm.onlinePlayersArr,\"didHostStartGame\":_vm.didHostStartGame}}),(_vm.onlinePlayersArr.length > 0)?[(!_vm.didHostStartGame)?_c('div',[_c('hr'),_c('button',{staticClass:\"btn btn-primary\",attrs:{\"type\":\"button\"},on:{\"click\":function($event){return _vm.startQuiz()}}},[_vm._v(\" Start the quiz \")])]):_vm._e()]:_vm._e()],2),_c('div',{staticClass:\"card-footer text-muted\"},[_c('button',{staticClass:\"btn btn-link\",attrs:{\"type\":\"button\"},on:{\"click\":function($event){return _vm.showHome()}}},[_vm._v(\" ← Go back \")])])]):_vm._e(),(_vm.showQuestions && !_vm.showFinalScreen)?_c('div',{staticClass:\"d-flex bd-highlight\"},[_c('div',{staticClass:\"question-flex bd-highlight\"},[_c('Question',{attrs:{\"newQuestion\":_vm.newQuestion,\"newChoices\":_vm.newChoices,\"newQuestionNumber\":_vm.newQuestionNumber,\"isLastQuestion\":_vm.isLastQuestion,\"questionTimer\":_vm.questionTimer,\"correctAnswerIndex\":_vm.correctAnswerIndex,\"showImg\":_vm.showImg,\"questionImgLink\":_vm.questionImgLink,\"isAdminView\":true,\"correctAnswer\":_vm.newChoices[_vm.correctAnswerIndex],\"showAnswer\":_vm.showAnswer}})],1),_c('div',{staticClass:\"stats-flex bd-highlight\"},[(!_vm.showAnswer)?_c('LiveStats',{attrs:{\"numAnswered\":_vm.numAnswered,\"numPlaying\":_vm.numPlaying}}):_vm._e(),(_vm.showAnswer)?_c('div',[_c('Leaderboard',{attrs:{\"leaderboard\":_vm.leaderboard,\"finalScreen\":false}}),_c('AdminPanel',{attrs:{\"hostAdminCh\":_vm.hostAdminCh,\"prevQuestionNumber\":_vm.newQuestionNumber},on:{\"end-quiz-now\":function($event){return _vm.endQuizNow()}}})],1):_vm._e()],1)]):_vm._e(),(_vm.showFinalScreen)?_c('div',{staticClass:\"quizEnded\"},[_vm._m(0),_c('Leaderboard',{attrs:{\"leaderboard\":_vm.leaderboard,\"finalScreen\":true}})],1):_vm._e()])}\nvar staticRenderFns = [function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"alert alert-secondary end-msg\",attrs:{\"role\":\"alert\"}},[_c('h6',[_vm._v(\"The quiz has ended\")]),_c('h1',{staticClass:\"display-4\"},[_vm._v(\"Congratulations to the winners 🎉🎉🎉\")])])}]\n\nexport { render, staticRenderFns }","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"alert alert-secondary admin-panel\",attrs:{\"role\":\"alert\"}},[_c('h4',{staticClass:\"alert-heading\"},[_vm._v(\"Host control panel\")]),_c('hr'),_c('button',{staticClass:\"btn btn-dark btn-next\",attrs:{\"type\":\"button\"},on:{\"click\":function($event){return _vm.showNextQuestion()}}},[_vm._v(\" Show next question \")]),_c('br'),_c('button',{staticClass:\"btn btn-link end-btn\",attrs:{\"type\":\"button\"},on:{\"click\":function($event){return _vm.endQuizNow()}}},[_vm._v(\" End quiz and show results \")])])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n","import mod from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./AdminPanel.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./AdminPanel.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./AdminPanel.vue?vue&type=template&id=002967ae&scoped=true&\"\nimport script from \"./AdminPanel.vue?vue&type=script&lang=js&\"\nexport * from \"./AdminPanel.vue?vue&type=script&lang=js&\"\nimport style0 from \"./AdminPanel.vue?vue&type=style&index=0&id=002967ae&scoped=true&lang=css&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"002967ae\",\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"card bg-light mb-3 livestats-div\"},[_c('div',{staticClass:\"card-header\"},[_vm._v(\"Live stats\")]),_c('div',{staticClass:\"card-body\"},[_c('h5',{staticClass:\"card-title\"},[_vm._v(\" \"+_vm._s(_vm.numAnswered)+\" of \"+_vm._s(_vm.numPlaying)+\" people have answered this question \")])])])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n","import mod from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./LiveStats.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./LiveStats.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./LiveStats.vue?vue&type=template&id=0a7e7ac2&scoped=true&\"\nimport script from \"./LiveStats.vue?vue&type=script&lang=js&\"\nexport * from \"./LiveStats.vue?vue&type=script&lang=js&\"\nimport style0 from \"./LiveStats.vue?vue&type=style&index=0&id=0a7e7ac2&scoped=true&lang=css&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"0a7e7ac2\",\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"card text-white bg-warning mb-3 leaderboard\"},[_c('div',{staticClass:\"card-header\"},[_c('h3',[_vm._v(_vm._s(_vm.finalScreen == false ? 'Top 5 scorers' : 'Final Leaderboard'))])]),_c('div',{staticClass:\"card-body\"},[_c('p',{staticClass:\"card-text\"},[(_vm.leaderboard)?_c('ol',{staticClass:\"score-list\"},_vm._l((_vm.leaderboard.slice(0,_vm.leaderNum)),function(item,index){return _c('li',{key:index,staticClass:\"score-item\"},[_c('p',[_vm._v(_vm._s(item.nickname))]),_c('p',[_vm._v(_vm._s(item.score))])])}),0):_vm._e()])])])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n","import mod from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Leaderboard.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Leaderboard.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./Leaderboard.vue?vue&type=template&id=bb666d0e&scoped=true&\"\nimport script from \"./Leaderboard.vue?vue&type=script&lang=js&\"\nexport * from \"./Leaderboard.vue?vue&type=script&lang=js&\"\nimport style0 from \"./Leaderboard.vue?vue&type=style&index=0&id=bb666d0e&scoped=true&lang=css&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"bb666d0e\",\n null\n \n)\n\nexport default component.exports","\n\n\n\n\n","import mod from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./CreateQuizRoom.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./CreateQuizRoom.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./CreateQuizRoom.vue?vue&type=template&id=0a9f1296&scoped=true&\"\nimport script from \"./CreateQuizRoom.vue?vue&type=script&lang=js&\"\nexport * from \"./CreateQuizRoom.vue?vue&type=script&lang=js&\"\nimport style0 from \"./CreateQuizRoom.vue?vue&type=style&index=0&id=0a9f1296&scoped=true&lang=css&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"0a9f1296\",\n null\n \n)\n\nexport default component.exports","\n\n\n\n\n","import mod from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./HostHome.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./HostHome.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./HostHome.vue?vue&type=template&id=7fb30619&scoped=true&\"\nimport script from \"./HostHome.vue?vue&type=script&lang=js&\"\nexport * from \"./HostHome.vue?vue&type=script&lang=js&\"\nimport style0 from \"./HostHome.vue?vue&type=style&index=0&id=7fb30619&scoped=true&lang=css&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"7fb30619\",\n null\n \n)\n\nexport default component.exports","import PlayerHome from './components/player/PlayerHome.vue';\nimport HostHome from './components/host/HostHome.vue';\n\nexport const routes = [\n { path: '/play', component: PlayerHome },\n { path: '', component: HostHome }\n];\n","import Vue from 'vue';\nimport VueRouter from 'vue-router';\nimport App from './App.vue';\nimport { routes } from './routes';\n\nVue.config.productionTip = false;\n\nVue.use(VueRouter);\nconst router = new VueRouter({\n routes,\n mode: 'history'\n});\n\nnew Vue({\n router,\n render: h => h(App)\n}).$mount('#app');\n","import mod from \"-!../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--6-oneOf-1-0!../../../node_modules/css-loader/dist/cjs.js??ref--6-oneOf-1-1!../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../node_modules/postcss-loader/src/index.js??ref--6-oneOf-1-2!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./LiveStats.vue?vue&type=style&index=0&id=0a7e7ac2&scoped=true&lang=css&\"; export default mod; export * from \"-!../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--6-oneOf-1-0!../../../node_modules/css-loader/dist/cjs.js??ref--6-oneOf-1-1!../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../node_modules/postcss-loader/src/index.js??ref--6-oneOf-1-2!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./LiveStats.vue?vue&type=style&index=0&id=0a7e7ac2&scoped=true&lang=css&\"","import mod from \"-!../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--6-oneOf-1-0!../../../node_modules/css-loader/dist/cjs.js??ref--6-oneOf-1-1!../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../node_modules/postcss-loader/src/index.js??ref--6-oneOf-1-2!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Question.vue?vue&type=style&index=0&id=6b50fdcc&scoped=true&lang=css&\"; export default mod; export * from \"-!../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--6-oneOf-1-0!../../../node_modules/css-loader/dist/cjs.js??ref--6-oneOf-1-1!../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../node_modules/postcss-loader/src/index.js??ref--6-oneOf-1-2!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Question.vue?vue&type=style&index=0&id=6b50fdcc&scoped=true&lang=css&\"","import mod from \"-!../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--6-oneOf-1-0!../../../node_modules/css-loader/dist/cjs.js??ref--6-oneOf-1-1!../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../node_modules/postcss-loader/src/index.js??ref--6-oneOf-1-2!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./PlayerHome.vue?vue&type=style&index=0&id=67897afe&scoped=true&lang=css&\"; export default mod; export * from \"-!../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--6-oneOf-1-0!../../../node_modules/css-loader/dist/cjs.js??ref--6-oneOf-1-1!../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../node_modules/postcss-loader/src/index.js??ref--6-oneOf-1-2!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./PlayerHome.vue?vue&type=style&index=0&id=67897afe&scoped=true&lang=css&\"","import mod from \"-!../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--6-oneOf-1-0!../../../node_modules/css-loader/dist/cjs.js??ref--6-oneOf-1-1!../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../node_modules/postcss-loader/src/index.js??ref--6-oneOf-1-2!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./OnlinePlayers.vue?vue&type=style&index=0&id=eb92127c&scoped=true&lang=css&\"; export default mod; export * from \"-!../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--6-oneOf-1-0!../../../node_modules/css-loader/dist/cjs.js??ref--6-oneOf-1-1!../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../node_modules/postcss-loader/src/index.js??ref--6-oneOf-1-2!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./OnlinePlayers.vue?vue&type=style&index=0&id=eb92127c&scoped=true&lang=css&\"","import mod from \"-!../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--6-oneOf-1-0!../../../node_modules/css-loader/dist/cjs.js??ref--6-oneOf-1-1!../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../node_modules/postcss-loader/src/index.js??ref--6-oneOf-1-2!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Leaderboard.vue?vue&type=style&index=0&id=bb666d0e&scoped=true&lang=css&\"; export default mod; export * from \"-!../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--6-oneOf-1-0!../../../node_modules/css-loader/dist/cjs.js??ref--6-oneOf-1-1!../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../node_modules/postcss-loader/src/index.js??ref--6-oneOf-1-2!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Leaderboard.vue?vue&type=style&index=0&id=bb666d0e&scoped=true&lang=css&\"","import mod from \"-!../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--6-oneOf-1-0!../../../node_modules/css-loader/dist/cjs.js??ref--6-oneOf-1-1!../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../node_modules/postcss-loader/src/index.js??ref--6-oneOf-1-2!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./HostHome.vue?vue&type=style&index=0&id=7fb30619&scoped=true&lang=css&\"; export default mod; export * from \"-!../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--6-oneOf-1-0!../../../node_modules/css-loader/dist/cjs.js??ref--6-oneOf-1-1!../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../node_modules/postcss-loader/src/index.js??ref--6-oneOf-1-2!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./HostHome.vue?vue&type=style&index=0&id=7fb30619&scoped=true&lang=css&\"","import mod from \"-!../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--6-oneOf-1-0!../../../node_modules/css-loader/dist/cjs.js??ref--6-oneOf-1-1!../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../node_modules/postcss-loader/src/index.js??ref--6-oneOf-1-2!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./AdminPanel.vue?vue&type=style&index=0&id=002967ae&scoped=true&lang=css&\"; export default mod; export * from \"-!../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--6-oneOf-1-0!../../../node_modules/css-loader/dist/cjs.js??ref--6-oneOf-1-1!../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../node_modules/postcss-loader/src/index.js??ref--6-oneOf-1-2!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./AdminPanel.vue?vue&type=style&index=0&id=002967ae&scoped=true&lang=css&\""],"sourceRoot":""} \ No newline at end of file diff --git a/realtime-quiz/public/index.html b/realtime-quiz/public/index.html index 98cb365..08cbda8 100644 --- a/realtime-quiz/public/index.html +++ b/realtime-quiz/public/index.html @@ -20,8 +20,11 @@ Live trivia diff --git a/realtime-quiz/src/components/host/CreateQuizRoom.vue b/realtime-quiz/src/components/host/CreateQuizRoom.vue index e5ab0c2..de1f58d 100644 --- a/realtime-quiz/src/components/host/CreateQuizRoom.vue +++ b/realtime-quiz/src/components/host/CreateQuizRoom.vue @@ -144,8 +144,11 @@ - @@ -159,7 +162,7 @@ import Leaderboard from './Leaderboard.vue'; import * as GSheetReader from 'g-sheets-api'; export default { name: 'QuizType', - props: ['resetCmpFn', 'realtime', 'quizType', 'showHome'], + props: ['resetCmpFn', 'realtime', 'quizType', 'showHome', 'stopTheSnow'], components: { Question, AdminPanel, @@ -304,6 +307,7 @@ export default { this.myQuizRoomCh.subscribe('start-quiz-timer', msg => { this.didHostStartGame = true; this.timer = msg.data.countDownSec; + this.stopTheSnow(); }); this.myQuizRoomCh.subscribe('new-question', msg => { this.handleNewQuestionReceived(msg); diff --git a/realtime-quiz/src/components/host/HostHome.vue b/realtime-quiz/src/components/host/HostHome.vue index 16ac3d9..0b85f76 100644 --- a/realtime-quiz/src/components/host/HostHome.vue +++ b/realtime-quiz/src/components/host/HostHome.vue @@ -1,7 +1,9 @@ @@ -54,12 +57,12 @@ import CreateQuizRoom from './CreateQuizRoom.vue'; export default { - props: ['realtime', 'ablyClientId'], + props: ['realtime', 'ablyClientId', 'stopTheSnow'], data() { return { isTypeChosen: false, headerImgLink: - 'https://user-images.githubusercontent.com/5900152/93231769-037b5180-f771-11ea-817a-0b4cd2ca7dc7.png', + 'https://user-images.githubusercontent.com/5900152/100897082-3c48de00-34b7-11eb-813a-202acf9e9ac5.png', quizType: '' }; }, @@ -82,7 +85,7 @@ export default { .host-home { margin: 0px auto; text-align: center; - width: 60%; + width: 65%; } button { @@ -90,4 +93,12 @@ button { width: 60%; font-size: 20px; } +.img-header { + width: 100%; + background-color: #dde0e1; +} + +.card-img-top { + width: 80%; +} diff --git a/realtime-quiz/src/components/player/PlayerHome.vue b/realtime-quiz/src/components/player/PlayerHome.vue index 9e66ccf..e8e9263 100644 --- a/realtime-quiz/src/components/player/PlayerHome.vue +++ b/realtime-quiz/src/components/player/PlayerHome.vue @@ -1,7 +1,9 @@