")):n("\x3c!----\x3e"),n("\x3c!-- Hint --\x3e"),t.showHint?n(zn(c,{type:"tip",class:"mb-0 mt-3"},{default:(0,e.withCtx)((function(n,o,i,r){if(!o)return[(0,e.renderSlot)(t.$slots,"hint",{},void 0,!0)];Rn(t.$slots,"hint",{},null,o,i,r)})),_:3},o)):n("\x3c!----\x3e"),n("
\x3c!-- This removes the footer for questions where both the hint and check button has been clicked --\x3e"),l.showCardFooter?(n(''))):n("\x3c!----\x3e"),n("
")})),_:3},o)):n("\x3c!----\x3e"),n("\x3c!-- do not delete this comment, it is for the stray space issue (#2419)\n --\x3e"),s.isMounted?n(zn(d,{"auto-hide":!l.isInput,triggers:l.triggers,"popper-triggers":l.triggers,"hide-triggers":l.triggers,placement:r.placement,delay:0,"shift-cross-axis":""},{popper:(0,e.withCtx)((function(n,o,i,r){if(!o)return[(0,e.createVNode)("div",{class:"popover-container"},[l.hasHeader?((0,e.openBlock)(),(0,e.createBlock)("h3",{key:0,class:"popover-header"},[(0,e.renderSlot)(t.$slots,"header")])):(0,e.createCommentVNode)("v-if",!0),(0,e.createVNode)("div",{class:"popover-body"},[(0,e.renderSlot)(t.$slots,"content")])])];o('
")),l.hasHeader?(o('
")),Rn(t.$slots,"header",{},null,o,i,r),o("
")):o("\x3c!----\x3e"),o('
")),Rn(t.$slots,"content",{},null,o,i,r),o("
")})),default:(0,e.withCtx)((function(n,o,i,r){if(!o)return[l.isInput?(0,e.renderSlot)(t.$slots,"default",{key:0}):((0,e.openBlock)(),(0,e.createBlock)("span",{key:1,onClick:(0,e.withModifiers)((function(){}),["stop"])},[(0,e.renderSlot)(t.$slots,"default")],8,["onClick"]))];l.isInput?Rn(t.$slots,"default",{},null,o,i,r):(o("")),Rn(t.$slots,"default",{},null,o,i,r),o(""))})),_:3},o)):n("\x3c!----\x3e"),n("")}]]);const Ui={name:"Tooltip",components:{Portal:It},props:{trigger:{type:String,default:"hover focus"},placement:{type:String,default:"top"}},data:function(){return{targetEl:{},isMounted:!1}},computed:{triggers:function(){return this.trigger.split(" ")},isInput:function(){return!!this.$slots.default&&this.$slots.default().some((function(e){return"input"===e.type}))}},mounted:function(){this.targetEl=this.$el,this.isMounted=!0}},Qi=(0,co.A)(Ui,[["ssrRender",function(t,n,o,i,r,a,s,l){var c=(0,e.resolveComponent)("portal"),d=(0,e.resolveComponent)("v-tooltip");n("")),s.targetEl.id?n(zn(c,{to:"tooltip:"+s.targetEl.id},{default:(0,e.withCtx)((function(n,o,i,r){if(!o)return[(0,e.renderSlot)(t.$slots,"content")];Rn(t.$slots,"content",{},null,o,i,r)})),_:3},o)):n("\x3c!----\x3e"),n("\x3c!-- do not delete this comment, it is for the stray space issue (#2419)\n --\x3e"),s.isMounted?n(zn(d,{"auto-hide":!l.isInput,triggers:l.triggers,"popper-triggers":l.triggers,"hide-triggers":l.triggers,placement:r.placement,delay:0,"shift-cross-axis":""},{popper:(0,e.withCtx)((function(n,o,i,r){if(!o)return[(0,e.renderSlot)(t.$slots,"content")];Rn(t.$slots,"content",{},null,o,i,r)})),default:(0,e.withCtx)((function(n,o,i,r){if(!o)return[l.isInput?(0,e.renderSlot)(t.$slots,"default",{key:1}):((0,e.openBlock)(),(0,e.createBlock)("span",{key:0,onClick:(0,e.withModifiers)((function(){}),["stop"])},[(0,e.renderSlot)(t.$slots,"default")],8,["onClick"]))];l.isInput?Rn(t.$slots,"default",{},null,o,i,r):(o("")),Rn(t.$slots,"default",{},null,o,i,r),o(""))})),_:3},o)):n("\x3c!----\x3e"),n("")}]]);const Ki={name:"Modal",components:{VueFinalModal:Mt},data:function(){return{show:!1,isMounted:!1,zoomEffect:{"enter-active-class":"modal-zoom","enter-to-class":"modal-zoom-show","leave-active-class":"modal-zoom","leave-to-class":"modal-zoom"}}},props:{okText:{type:String,default:""},effect:{type:String,default:"zoom"},id:{type:String,default:""},small:{type:Boolean,default:!1},large:{type:Boolean,default:!1},center:{type:Boolean,default:!1},backdrop:{type:String,default:""}},computed:{hasHeader:function(){return!!this.$slots.header},hasFooter:function(){return!!this.$slots.footer},hasOk:function(){return""!==this.okText},optionalModalSize:function(){return this.small||this.large?this.small?"modal-sm":"modal-lg":""},optionalCentering:function(){return this.center?"modal-dialog-centered":""},effectClass:function(){return"zoom"===this.effect?this.zoomEffect:"vfm"}},methods:{close:function(){this.show=!1}},mounted:function(){this.isMounted=!0}},Gi=(0,co.A)(Ki,[["ssrRender",function(t,n,o,i,r,a,s,l){var c=(0,e.resolveComponent)("vue-final-modal");n("\x3c!--[--\x3e\x3c!-- NavBar has z-index of 1000, hence the z-index here should exceed that --\x3e\x3c!-- SSR property is required for the snapshot tests to work --\x3e"),t.isMounted?n(zn(c,(0,e.mergeProps)({modelValue:t.show,"onUpdate:modelValue":function(e){return t.show=e},ssr:"",name:r.id,classes:["modal"],"content-class":["modal-dialog","modal-dialog-scrollable",l.optionalModalSize,l.optionalCentering],"overlay-transition":"none",transition:l.effectClass,"click-to-close":"false"!==r.backdrop,"esc-to-close":"","z-index-base":"2000"},i),{default:(0,e.withCtx)((function(n,o,i,a){if(!o)return[(0,e.createVNode)("div",{class:"modal-content"},[l.hasHeader?((0,e.openBlock)(),(0,e.createBlock)("div",{key:0,class:"modal-header"},[(0,e.createVNode)("h5",{class:"modal-title"},[(0,e.renderSlot)(t.$slots,"header")]),(0,e.createVNode)("button",{type:"button",class:"btn-close","aria-label":"Close",onClick:function(e){return l.close()}},null,8,["onClick"])])):(0,e.createCommentVNode)("v-if",!0),(0,e.createVNode)("div",{class:"modal-body"},[(0,e.renderSlot)(t.$slots,"default")]),l.hasFooter||l.hasOk?((0,e.openBlock)(),(0,e.createBlock)("div",{key:1,class:"modal-footer"},[l.hasFooter?(0,e.renderSlot)(t.$slots,"footer",{key:0}):((0,e.openBlock)(),(0,e.createBlock)("button",{key:1,class:"btn btn-primary",onClick:function(e){return l.close()}},(0,e.toDisplayString)(r.okText),9,["onClick"]))])):(0,e.createCommentVNode)("v-if",!0)])];o('
")):n("\x3c!----\x3e"),n("\x3c!-- Hint --\x3e"),t.showHint?n(zn(c,{type:"tip",class:"mb-0 mt-3"},{default:(0,e.withCtx)((function(n,o,i,r){if(!o)return[(0,e.renderSlot)(t.$slots,"hint",{},void 0,!0)];Rn(t.$slots,"hint",{},null,o,i,r)})),_:3},o)):n("\x3c!----\x3e"),n("
\x3c!-- This removes the footer for questions where both the hint and check button has been clicked --\x3e"),l.showCardFooter?(n(''))):n("\x3c!----\x3e"),n("
")})),_:3},o)):n("\x3c!----\x3e"),n("\x3c!-- do not delete this comment, it is for the stray space issue (#2419)\n --\x3e"),s.isMounted&&!s.localError?n(zn(d,{"auto-hide":!l.isInput,triggers:l.triggers,"popper-triggers":l.triggers,"hide-triggers":l.triggers,placement:r.placement,delay:0,"shift-cross-axis":""},{popper:(0,e.withCtx)((function(n,o,i,r){if(!o)return[(0,e.createVNode)("div",{class:"popover-container"},[l.hasHeader?((0,e.openBlock)(),(0,e.createBlock)("h3",{key:0,class:"popover-header"},[(0,e.renderSlot)(t.$slots,"header")])):(0,e.createCommentVNode)("v-if",!0),(0,e.createVNode)("div",{class:"popover-body"},[(0,e.renderSlot)(t.$slots,"content")])])];o('
")),l.hasHeader?(o('
")),Rn(t.$slots,"header",{},null,o,i,r),o("
")):o("\x3c!----\x3e"),o('
")),Rn(t.$slots,"content",{},null,o,i,r),o("
")})),default:(0,e.withCtx)((function(n,o,i,r){if(!o)return[l.isInput?(0,e.renderSlot)(t.$slots,"default",{key:0}):((0,e.openBlock)(),(0,e.createBlock)("span",{key:1,onClick:(0,e.withModifiers)((function(){}),["stop"])},[(0,e.renderSlot)(t.$slots,"default")],8,["onClick"]))];l.isInput?Rn(t.$slots,"default",{},null,o,i,r):(o("")),Rn(t.$slots,"default",{},null,o,i,r),o(""))})),_:3},o)):n("\x3c!----\x3e"),n("")}]]);const Ui={name:"Tooltip",components:{Portal:It},props:{trigger:{type:String,default:"hover focus"},placement:{type:String,default:"top"}},data:function(){return{targetEl:{},isMounted:!1}},computed:{triggers:function(){return this.trigger.split(" ")},isInput:function(){return!!this.$slots.default&&this.$slots.default().some((function(e){return"input"===e.type}))}},mounted:function(){this.targetEl=this.$el,this.isMounted=!0}},Qi=(0,co.A)(Ui,[["ssrRender",function(t,n,o,i,r,a,s,l){var c=(0,e.resolveComponent)("portal"),d=(0,e.resolveComponent)("v-tooltip");n("")),s.targetEl.id?n(zn(c,{to:"tooltip:"+s.targetEl.id},{default:(0,e.withCtx)((function(n,o,i,r){if(!o)return[(0,e.renderSlot)(t.$slots,"content")];Rn(t.$slots,"content",{},null,o,i,r)})),_:3},o)):n("\x3c!----\x3e"),n("\x3c!-- do not delete this comment, it is for the stray space issue (#2419)\n --\x3e"),s.isMounted?n(zn(d,{"auto-hide":!l.isInput,triggers:l.triggers,"popper-triggers":l.triggers,"hide-triggers":l.triggers,placement:r.placement,delay:0,"shift-cross-axis":""},{popper:(0,e.withCtx)((function(n,o,i,r){if(!o)return[(0,e.renderSlot)(t.$slots,"content")];Rn(t.$slots,"content",{},null,o,i,r)})),default:(0,e.withCtx)((function(n,o,i,r){if(!o)return[l.isInput?(0,e.renderSlot)(t.$slots,"default",{key:1}):((0,e.openBlock)(),(0,e.createBlock)("span",{key:0,onClick:(0,e.withModifiers)((function(){}),["stop"])},[(0,e.renderSlot)(t.$slots,"default")],8,["onClick"]))];l.isInput?Rn(t.$slots,"default",{},null,o,i,r):(o("")),Rn(t.$slots,"default",{},null,o,i,r),o(""))})),_:3},o)):n("\x3c!----\x3e"),n("")}]]);const Ki={name:"Modal",components:{VueFinalModal:Mt},data:function(){return{show:!1,isMounted:!1,zoomEffect:{"enter-active-class":"modal-zoom","enter-to-class":"modal-zoom-show","leave-active-class":"modal-zoom","leave-to-class":"modal-zoom"}}},props:{okText:{type:String,default:""},effect:{type:String,default:"zoom"},id:{type:String,default:""},small:{type:Boolean,default:!1},large:{type:Boolean,default:!1},center:{type:Boolean,default:!1},backdrop:{type:String,default:""}},computed:{hasHeader:function(){return!!this.$slots.header},hasFooter:function(){return!!this.$slots.footer},hasOk:function(){return""!==this.okText},optionalModalSize:function(){return this.small||this.large?this.small?"modal-sm":"modal-lg":""},optionalCentering:function(){return this.center?"modal-dialog-centered":""},effectClass:function(){return"zoom"===this.effect?this.zoomEffect:"vfm"}},methods:{close:function(){this.show=!1}},mounted:function(){this.isMounted=!0}},Gi=(0,co.A)(Ki,[["ssrRender",function(t,n,o,i,r,a,s,l){var c=(0,e.resolveComponent)("vue-final-modal");n("\x3c!--[--\x3e\x3c!-- NavBar has z-index of 1000, hence the z-index here should exceed that --\x3e\x3c!-- SSR property is required for the snapshot tests to work --\x3e"),t.isMounted?n(zn(c,(0,e.mergeProps)({modelValue:t.show,"onUpdate:modelValue":function(e){return t.show=e},ssr:"",name:r.id,classes:["modal"],"content-class":["modal-dialog","modal-dialog-scrollable",l.optionalModalSize,l.optionalCentering],"overlay-transition":"none",transition:l.effectClass,"click-to-close":"false"!==r.backdrop,"esc-to-close":"","z-index-base":"2000"},i),{default:(0,e.withCtx)((function(n,o,i,a){if(!o)return[(0,e.createVNode)("div",{class:"modal-content"},[l.hasHeader?((0,e.openBlock)(),(0,e.createBlock)("div",{key:0,class:"modal-header"},[(0,e.createVNode)("h5",{class:"modal-title"},[(0,e.renderSlot)(t.$slots,"header")]),(0,e.createVNode)("button",{type:"button",class:"btn-close","aria-label":"Close",onClick:function(e){return l.close()}},null,8,["onClick"])])):(0,e.createCommentVNode)("v-if",!0),(0,e.createVNode)("div",{class:"modal-body"},[(0,e.renderSlot)(t.$slots,"default")]),l.hasFooter||l.hasOk?((0,e.openBlock)(),(0,e.createBlock)("div",{key:1,class:"modal-footer"},[l.hasFooter?(0,e.renderSlot)(t.$slots,"footer",{key:0}):((0,e.openBlock)(),(0,e.createBlock)("button",{key:1,class:"btn btn-primary",onClick:function(e){return l.close()}},(0,e.toDisplayString)(r.okText),9,["onClick"]))])):(0,e.createCommentVNode)("v-if",!0)])];o('