(function(e){function t(t){for(var r,s,i=t[0],u=t[1],l=t[2],b=0,f=[];b1. Jim takes a compass reading of 35° from where he is standing to a lookout tower. The declination is 13° W. What is the true reading?

",type:"multi",responses:[{text:"35",correct:!1},{text:"22",correct:!0},{text:"48",correct:!1},{text:"13",correct:!1}]}]}}},u=n("6b0d"),l=n.n(u);const a=l()(i,[["render",c]]);var b=a;Object(r["b"])(b).mount("#app")},bcf8:function(e,t,n){"use strict";var r=n("7a23"),o=Object(r["f"])("h2",null,"Practice Quiz",-1),c=Object(r["f"])("p",null,"Select the correct answer(s) from the questions below:",-1),s={id:"quiz"},i={class:"usa-list"};function u(e,t,n,u,l,a){var b=Object(r["k"])("Question");return Object(r["i"])(),Object(r["e"])(r["a"],null,[o,c,Object(r["f"])("form",s,[Object(r["f"])("ol",i,[(Object(r["i"])(!0),Object(r["e"])(r["a"],null,Object(r["j"])(n.questions,(function(e,t){return Object(r["i"])(),Object(r["e"])("li",{key:t},[Object(r["h"])(b,{question:e.text,responses:e.responses,type:e.type,fields:e.fields},null,8,["question","responses","type","fields"])])})),128))])])],64)}var l=["innerHTML"],a={key:0},b={key:2};function f(e,t,n,o,c,s){var i=Object(r["k"])("Choice"),u=Object(r["k"])("TextQuestion");return Object(r["i"])(),Object(r["e"])(r["a"],null,[Object(r["f"])("p",{innerHTML:n.question},null,8,l),"multi"==n.type?(Object(r["i"])(),Object(r["e"])("fieldset",a,[(Object(r["i"])(!0),Object(r["e"])(r["a"],null,Object(r["j"])(n.responses,(function(e,t){return Object(r["i"])(),Object(r["c"])(i,{answer:e.text,correct:e.correct,val:t,key:t},null,8,["answer","correct","val"])})),128))])):"text"==n.type?(Object(r["i"])(),Object(r["c"])(u,{key:1,fields:n.fields},null,8,["fields"])):(Object(r["i"])(),Object(r["e"])("p",b,"Error. Please notify website administrator."))],64)}var p=["innerHTML"],j={key:0};function O(e,t,n,o,c,s){return Object(r["i"])(),Object(r["e"])("div",null,[Object(r["f"])("input",{type:"checkbox",onClick:t[0]||(t[0]=function(e){return s.toggle()})}),Object(r["f"])("label",{class:"margin-right-2 margin-left-2",innerHTML:n.answer},null,8,p),s.display()?(Object(r["i"])(),Object(r["e"])("span",j,Object(r["l"])(s.check()),1)):Object(r["d"])("",!0)])}var h={name:"Choice",props:["answer","correct","val"],data:function(){return{show:!1}},methods:{check:function(){return this.correct?"Correct!":"Wrong, try again."},display:function(){return this.show},toggle:function(){this.show=!this.show}}},d=n("6b0d"),v=n.n(d);const y=v()(h,[["render",O]]);var m=y;function w(e,t,n,o,c,s){var i=this,u=Object(r["k"])("TextEntry");return Object(r["i"])(),Object(r["e"])(r["a"],null,[Object(r["f"])("fieldset",null,[(Object(r["i"])(!0),Object(r["e"])(r["a"],null,Object(r["j"])(n.fields,(function(e,n){return Object(r["i"])(),Object(r["e"])("div",{key:n},[Object(r["h"])(u,{val:e.answer,label:e.label,show_results:i.show_results,onHideAnswers:t[0]||(t[0]=function(e){return s.hide()})},null,8,["val","label","show_results"])])})),128))]),Object(r["f"])("button",{class:"usa-button margin-top-1",onClick:t[1]||(t[1]=Object(r["o"])((function(e){return s.show()}),["prevent"]))},"Check Answers")],64)}var g={class:"margin-bottom-2"},k=["innerHTML"],x={key:0};function T(e,t,n,o,c,s){return Object(r["i"])(),Object(r["e"])("div",g,[Object(r["f"])("label",{class:"usa-label",innerHTML:n.label},null,8,k),Object(r["n"])(Object(r["f"])("input",{class:"usa-input margin-left-1 margin-right-1",type:"text","onUpdate:modelValue":t[0]||(t[0]=function(t){return e.answer=t}),onChange:t[1]||(t[1]=function(t){return e.$emit("hide-answers")})},null,544),[[r["m"],e.answer]]),n.show_results?(Object(r["i"])(),Object(r["e"])("span",x,Object(r["l"])(s.check()),1)):Object(r["d"])("",!0)])}var _={name:"TextEntry",props:["label","val","show_results"],methods:{check:function(){return this.answer==this.val?"Correct!":"Wrong, try again."}}};const M=v()(_,[["render",T]]);var q=M,C={name:"TextQuestion",props:["fields"],components:{TextEntry:q},data:function(){return{show_results:!1}},methods:{hide:function(){this.show_results=!1},show:function(){this.show_results=!0}}};const P=v()(C,[["render",w]]);var H=P,Q={name:"Question",props:["question","responses","type","fields"],components:{Choice:m,TextQuestion:H}};const L=v()(Q,[["render",f]]);var S=L,E={name:"MultiChoice",props:["questions"],components:{Question:S}};const W=v()(E,[["render",u]]);t["a"]=W}}); //# sourceMappingURL=ffm6_5.57c0d05c.js.map