1(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-57598c05"],{"1e0e":function(t,e,s){},"31e1":function(t,e,s){"use strict";s("1e0e")},"72c0":function(t,e,s){},"7ebf":function(t,e,s){t.exports=s.p+"img/background_city.d2e0395f.jpg"},bd08:function(t,e,s){"use strict";var n=function(){var t=this,e=t._self._c;return e("div",{staticClass:"flex w-full justify-between p-5 sm:p-10"},[e("router-link",{staticClass:"flex",attrs:{to:"/"}},[e("img",{staticClass:"cursor-pointer w-24 object-contain",attrs:{alt:"GCTV Logo",src:s("4a23")}})]),e("div",{staticClass:"progress-bar"},t._l(t.totalSteps,(function(s){return e("div",{key:"dot-"+s,staticClass:"dot",class:{"dot-active":s===t.currentStep}})})),0),e("router-link",{staticClass:"home_btn font-bold text-white rounded",attrs:{to:"/"}},[t._v(" Home ")])],1)},a=[],i={name:"ProgressBarHeader",props:{totalSteps:{type:Number,default:3},currentStep:Number},data(){return{}},methods:{}},r=i,o=(s("31e1"),s("2877")),c=Object(o["a"])(r,n,a,!1,null,"3307afdf",null);e["a"]=c.exports},c26f:function(t,e,s){"use strict";s.r(e);var n=function(){var t=this,e=t._self._c;return e("div",{staticClass:"bg-black"},[e("img",{staticClass:"fixed z-0 object-cover",attrs:{alt:"Background city",src:s("7ebf")}}),e("div",{staticClass:"main-block relative flex flex-col items-center justify-center"},[e("ProgressBarHeader",{attrs:{currentStep:2}}),e("h1",{staticClass:"text-white text-2xl"},[t._v(" "+t._s(t.message)+" ")]),t.showResendButton?e("div",{staticClass:"text-xs text-white text-center"},[e("button",{staticClass:"btn text-white w-full block mt-5",on:{click:function(e){return e.preventDefault(),t.resendEmail.apply(null,arguments)}}},[t._v(" Send Again ")])]):t._e(),t.done?e("div",[e("router-link",{staticClass:"btn text-white w-full block mt-5",attrs:{to:"/login?redirectTo="+encodeURI("/registration?pageStep=3")}},[t._v(" Click here to login ")])],1):t._e()],1)])},a=[],i=s("bf82"),r=s("4360"),o=s("bd08"),c={name:"LoginPage",components:{ProgressBarHeader:o["a"]},data(){return{done:!1,message:"We're confirming your account. Please wait...",showResendButton:!1}},async created(){const{confirmationCode:t="",username:e=""}=this.$route.query;if(!t||!e)return this.message="Something went wrong. This confirmation link is invalid.",void(this.done=!1);await i["a"].confirmSignUp(e,t).then(async()=>{this.message="Username confirmed successfully.",this.done=!0}).catch(async t=>{this.message="Something went wrong. Please try again.",this.showResendButton=!0,await r["a"].dispatch("ui/setErrorMessage","Error while confirming your account:"+t),this.done=!1})},methods:{async resendEmail(){const{username:t=""}=this.$route.query;await i["a"].resendSignUp(t,{isWeb:"true"}).then(()=>{this.message="Email sent successfully. Please check your inbox.",this.showResendButton=!1}).catch(async t=>{await r["a"].dispatch("ui/setErrorMessage","Error while resending confirmation code: "+t.message)})}}},l=c,u=(s("d68a"),s("2877")),d=Object(u["a"])(l,n,a,!1,null,"48f719af",null);e["default"]=d.exports},d68a:function(t,e,s){"use strict";s("72c0")}}]);
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.