text: (function(t){function e(e){for(var n,o,a=e[0],u=e[1],c=e[2],d=0,p=[];d<a.length;d++)o=a[d],Object.prototype.hasOwnProperty.call(i,o)&&i[o]&&p.push(i[o][0]),i[o]=0;for(n in u)Object.prototype.hasOwnProperty.call(u,n)&&(t[n]=u[n]);l&&l(e);while(p.length)p.shift()();return s.push.apply(s,c||[]),r()}function r(){for(var t,e=0;e<s.length;e++){for(var r=s[e],n=!0,a=1;a<r.length;a++){var u=r[a];0!==i[u]&&(n=!1)}n&&(s.splice(e--,1),t=o(o.s=r[0]))}return t}var n={},i={app:0},s=[];function o(e){if(n[e])return n[e].exports;var r=n[e]={i:e,l:!1,exports:{}};return t[e].call(r.exports,r,r.exports,o),r.l=!0,r.exports}o.m=t,o.c=n,o.d=function(t,e,r){o.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:r})},o.r=function(t){"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},o.t=function(t,e){if(1&e&&(t=o(t)),8&e)return t;if(4&e&&"object"===typeof t&&t&&t.__esModule)return t;var r=Object.create(null);if(o.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var n in t)o.d(r,n,function(e){return t[e]}.bind(null,n));return r},o.n=function(t){var e=t&&t.__esModule?function(){return t["default"]}:function(){return t};return o.d(e,"a",e),e},o.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},o.p="/";var a=window["webpackJsonp"]=window["webpackJsonp"]||[],u=a.push.bind(a);a.push=e,a=a.slice();for(var c=0;c<a.length;c++)e(a[c]);var l=u;s.push([0,"chunk-vendors"]),r()})({0:function(t,e,r){t.exports=r("56d7")},"034f":function(t,e,r){"use strict";r("85ec")},"24ac":function(t,e,r){},"56d7":function(t,e,r){"use strict";r.r(e);r("e260"),r("e6cf"),r("cca6"),r("a79d");var n=r("2b0e"),i=function(){var t=this,e=t.$createElement,r=t._self._c||e;return r("div",{attrs:{id:"app"}},[r("Quiz")],1)},s=[],o=function(){var t=this,e=t.$createElement,r=t._self._c||e;return r("div",{staticClass:"d-flex justify-content-center"},[t.showScore?r("div",[r("b-card",{staticStyle:{"max-width":"20rem"},attrs:{title:"Sonuçlar"}},[t._v(" "+t._s(t.questions.length)+" sorudan "+t._s(t.score)+" soruyu bildiniz. "),r("b-button",{on:{click:t.reloadPage}},[t._v("Tekrarlayın")])],1)],1):r("div",{staticClass:"card-q"},[t.startQuiz?r("span",[r("b-card",{staticClass:"mb-2",staticStyle:{"max-width":"20rem"},attrs:{title:"Simple Quiz Application"}},[r("b-card-text",[t._v(" Question No."+t._s(t.currentQuestion+1)+" of "+t._s(t.questions.length)+" ")]),r("br"),r("b-progress",{attrs:{variant:"warning",max:30,value:t.countDown,height:"4px"}}),r("b-card-text",[r("span",{staticStyle:{"font-size":"40px"}},[r("strong",[t._v(t._s(t.countDown)+" ")])])]),r("b-card-text",[t._v(" "+t._s(t.questions[t.currentQuestion].questionText)+" ")]),r("div",{staticClass:"answer-section"},t._l(t.questions[t.currentQuestion].answerOptions,(function(e,n){return r("b-button",{key:n,staticClass:"ans-option-btn",attrs:{variant:"primary"},on:{click:function(r){return t.handleAnswerClick(e.isCorrect)}}},[t._v(t._s(e.answerText))])})),1)],1)],1):r("span",[r("b-card",{staticClass:"mb-2",staticStyle:{"max-width":"20rem"},attrs:{"img-src":"https://image.freepik.com/free-vector/clipboard-with-survey-chronometer_23-2147611001.jpg","img-alt":"Image","img-top":"",title:"VueJS Örnek Quiz Uygulaması"}},[r("b-card-text",[t._v(" Azure DevOps üzerinde geliştirdiğimiz proje için basit bir VueJS Test Uygulaması tasarladım. ")]),r("b-button",{on:{click:function(e){return t.startQuizFunc()}}},[t._v("Quiz'e Başlayın")])],1)],1)])])},a=[],u={data:function(){return{currentQuestion:0,showScore:!1,score:0,countDown:30,timer:null,startQuiz:!1,questions:[{questionText:"Çift yönlü ciltleme için hangisi kullanılır?",answerOptions:[{answerText:"v-on",isCorrect:!1},{answerText:"v-bind",isCorrect:!1},{answerText:"v-model",isCorrect:!0},{answerText:"v-if",isCorrect:!1}]},{questionText:"VueJS in yaratıcısı kimdir?",answerOptions:[{answerText:"Jeff Bezos",isCorrect:!1},{answerText:"Elon Musk",isCorrect:!1},{answerText:"Evan You",isCorrect:!0},{answerText:"Tony Stark",isCorrect:!1}]},{questionText:"VueJS bir Arka Uç Uygulamasıdır? - Doğru Yanlış",answerOptions:[{answerText:"Doğru",isCorrect:!1},{answerText:"Yanlış",isCorrect:!0}]},{questionText:"2021 yılında kullanıma sunulmuş Vue Sürümü hangisidir?",answerOptions:[{answerText:"Vue 2",isCorrect:!1},{answerText:"Vue 1",isCorrect:!1},{answerText:"Vue 4",isCorrect:!1},{answerText:"Vue 3",isCorrect:!0}]},{questionText:"Vue bir açık kaynak projemidir ? - Doğru, Yanlış",answerOptions:[{answerText:"Doğru",isCorrect:!0},{answerText:"Yanlış",isCorrect:!1}]},{questionText:"Aşağıdakilerden hangisi tam bir JS yapısıdır?",answerOptions:[{answerText:"Vue",isCorrect:!1},{answerText:"node",isCorrect:!1},{answerText:"react",isCorrect:!1},{answerText:"Angular",isCorrect:!0}]},{questionText:"Azure DevOpsun Kendi Kubernetes Clusteri Var mıdır? - Doğru, Yanlış",answerOptions:[{answerText:"Doğru",isCorrect:!0},{answerText:"Yanlış",isCorrect:!1}]}]}},methods:{startQuizFunc:function(){this.startQuiz=!0,this.countDownTimer()},reloadPage:function(){window.location.reload()},handleAnswerClick:function(t){clearTimeout(this.timer);var e=this.currentQuestion+1;t&&(this.score=this.score+1),e<this.questions.length?(this.currentQuestion=e,this.countDown=30,this.countDownTimer()):this.showScore=!0},countDownTimer:function(){var t=this;this.countDown>0?this.timer=setTimeout((function(){t.countDown-=1,t.countDownTimer()}),1e3):this.handleAnswerClick(!1)}},created:function(){}},c=u,l=(r("bb41"),r("2877")),d=Object(l["a"])(c,o,a,!1,null,"e048d0a8",null),p=d.exports,f={name:"App",components:{Quiz:p}},w=f,h=(r("034f"),Object(l["a"])(w,i,s,!1,null,null,null)),m=h.exports,b=r("1e18");r("f9e3"),r("2dd8");n["default"].config.productionTip=!1,n["default"].use(b["a"]),new n["default"]({render:function(t){return t(m)}}).$mount("#app")},"85ec":function(t,e,r){},bb41:function(t,e,r){"use strict";r("24ac")}});
  //# sourceMappingURL=app.49604b8a.js.map