PageSourceSearch

https://app.loopcv.pro/js/827.75a65bfa.js

js loopcv.pro collected 2026-09-25 14:57:22 UTC 9,351 bytes, 2 lines download raw bytes

1"use strict";(self["webpackChunkloopcv_dashboard"]=self["webpackChunkloopcv_dashboard"]||[]).push([[827],{89484:(e,t,r)=>{r.d(t,{A:()=>p});var s=r(20641),o=r(90033);const l=["aria-hidden","aria-label"],a=["fill","width","height"],i={d:"M12,9A3,3 0 0,0 9,12A3,3 0 0,0 12,15A3,3 0 0,0 15,12A3,3 0 0,0 12,9M12,17A5,5 0 0,1 7,12A5,5 0 0,1 12,7A5,5 0 0,1 17,12A5,5 0 0,1 12,17M12,4.5C7,4.5 2.73,7.61 1,12C2.73,16.39 7,19.5 12,19.5C17,19.5 21.27,16.39 23,12C21.27,7.61 17,4.5 12,4.5Z"},d={key:0};function n(e,t,r,n,m,c){return(0,s.uX)(),(0,s.CE)("span",(0,s.v6)(e.$attrs,{"aria-hidden":!r.title,"aria-label":r.title,class:"material-design-icon eye-icon",role:"img",onClick:t[0]||(t[0]=t=>e.$emit("click",t))}),[((0,s.uX)(),(0,s.CE)("svg",{fill:r.fillColor,class:"material-design-icon__svg",width:r.size,height:r.size,viewBox:"0 0 24 24"},[(0,s.Lk)("path",i,[r.title?((0,s.uX)(),(0,s.CE)("title",d,(0,o.v_)(r.title),1)):(0,s.Q3)("",!0)])],8,a))],16,l)}const m={name:"EyeIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}};var c=r(66262);const h=(0,c.A)(m,[["render",n]]),p=h},90073:(e,t,r)=>{r.d(t,{A:()=>p});var s=r(20641),o=r(90033);const l=["aria-hidden","aria-label"],a=["fill","width","height"],i={d:"M11.83,9L15,12.16C15,12.11 15,12.05 15,12A3,3 0 0,0 12,9C11.94,9 11.89,9 11.83,9M7.53,9.8L9.08,11.35C9.03,11.56 9,11.77 9,12A3,3 0 0,0 12,15C12.22,15 12.44,14.97 12.65,14.92L14.2,16.47C13.53,16.8 12.79,17 12,17A5,5 0 0,1 7,12C7,11.21 7.2,10.47 7.53,9.8M2,4.27L4.28,6.55L4.73,7C3.08,8.3 1.78,10 1,12C2.73,16.39 7,19.5 12,19.5C13.55,19.5 15.03,19.2 16.38,18.66L16.81,19.08L19.73,22L21,20.73L3.27,3M12,7A5,5 0 0,1 17,12C17,12.64 16.87,13.26 16.64,13.82L19.57,16.75C21.07,15.5 22.27,13.86 23,12C21.27,7.61 17,4.5 12,4.5C10.6,4.5 9.26,4.75 8,5.2L10.17,7.35C10.74,7.13 11.35,7 12,7Z"},d={key:0};function n(e,t,r,n,m,c){return(0,s.uX)(),(0,s.CE)("span",(0,s.v6)(e.$attrs,{"aria-hidden":!r.title,"aria-label":r.title,class:"material-design-icon eye-off-icon",role:"img",onClick:t[0]||(t[0]=t=>e.$emit("click",t))}),[((0,s.uX)(),(0,s.CE)("svg",{fill:r.fillColor,class:"material-design-icon__svg",width:r.size,height:r.size,viewBox:"0 0 24 24"},[(0,s.Lk)("path",i,[r.title?((0,s.uX)(),(0,s.CE)("title",d,(0,o.v_)(r.title),1)):(0,s.Q3)("",!0)])],8,a))],16,l)}const m={name:"EyeOffIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}};var c=r(66262);const h=(0,c.A)(m,[["render",n]]),p=h},54190:(e,t,r)=>{r.r(t),r.d(t,{default:()=>F});var s=r(20641),o=r(90033),l=r(53751);const a={class:"subtitleBlock subtitleBlock-register"},i={class:"header2-semi-bold"},d={class:"subtitle header5"},n={class:"double-input"},m={class:"double-input"},c={class:"terms"},h={class:"terms-title header5-semi-bold"},p={target:"_blank",href:"https://www.loopcv.pro/terms"},u={target:"_blank",href:"https://www.loopcv.pro/privacy"},C={class:"terms-error header7 pb-3"},f={class:"login-block header5-semi-bold"};function w(e,t,r,w,g,y){const k=(0,s.g2)("Input"),v=(0,s.g2)("EyeIn"),_=(0,s.g2)("EyeOut"),b=(0,s.g2)("CheckButton"),A=(0,s.g2)("Button"),$=(0,s.g2)("AuthTemplate");return(0,s.uX)(),(0,s.Wv)($,null,{default:(0,s.k6)((()=>[(0,s.Lk)("div",a,[(0,s.Lk)("label",i,(0,o.v_)(e.$t("Auth.Common.partner_form_title")),1),(0,s.Lk)("label",d,(0,o.v_)(e.$t("Auth.Common.partner_form_description",{brand:e.brand})),1)]),(0,s.Lk)("form",{onSubmit:t[7]||(t[7]=(0,l.D$)(((...e)=>y.signUp&&y.signUp(...e)),["prevent"]))},[(0,s.Lk)("div",n,[(0,s.bF)(k,{class:"input-form-small first-name",title:e.$t("Generic.Form.first_name"),required:!0,autocomplete:"given-name",error:g.errors.firstName,modelValue:g.model.firstName,"onUpdate:modelValue":t[0]||(t[0]=e=>g.model.firstName=e),placeholder:e.$t("Generic.Form.first_name")},null,8,["title","error","modelValue","placeholder"]),(0,s.bF)(k,{class:"input-form-small double_input_last_child",title:e.$t("Generic.Form.last_name"),required:!0,autocomplete:"family-name",error:g.errors.lastName,modelValue:g.model.lastName,"onUpdate:modelValue":t[1]||(t[1]=e=>g.model.lastName=e),placeholder:e.$t("Generic.Form.last_name")},null,8,["title","error","modelValue","placeholder"])]),(0,s.bF)(k,{class:"input-form-register",title:e.$t("Generic.Headers.company"),required:!0,type:"text",autocomplete:"organization",error:g.errors.company,modelValue:g.model.company,"onUpdate:modelValue":t[2]||(t[2]=e=>g.model.company=e),placeholder:e.$t("Generic.Headers.company")},null,8,["title","error","modelValue","placeholder"]),(0,s.bF)(k,{class:"input-form-register",title:e.$t("Generic.Form.email"),required:!0,type:"email",autocomplete:"email",error:g.errors.email,modelValue:g.model.email,"onUpdate:modelValue":t[3]||(t[3]=e=>g.model.email=e),placeholder:e.$t("Generic.Form.email")},null,8,["title","error","modelValue","placeholder"]),(0,s.Lk)("div",m,[(0,s.bF)(k,{class:"input-form-small password",title:e.$t("Generic.Form.password"),required:!0,autocomplete:"new-password",error:g.errors.password,modelValue:g.model.password,"onUpdate:modelValue":t[4]||(t[4]=e=>g.model.password=e),placeholder:e.$t("Generic.Form.password"),type:y.passwordType},{default:(0,s.k6)((()=>[g.hidePassword?((0,s.uX)(),(0,s.Wv)(v,{key:0,onClick:y.handleEyePassword},null,8,["onClick"])):(0,s.Q3)("",!0),g.hidePassword?(0,s.Q3)("",!0):((0,s.uX)(),(0,s.Wv)(_,{key:1,onClick:y.handleEyePassword},null,8,["onClick"]))])),_:1},8,["title","error","modelValue","placeholder","type"]),(0,s.bF)(k,{class:"input-form-small double_input_last_child",title:e.$t("Auth.Common.confirm_password"),required:!0,autocomplete:"new-password",error:g.errors.passwordConfirm,modelValue:g.model.passwordConfirm,"onUpdate:modelValue":t[5]||(t[5]=e=>g.model.passwordConfirm=e),type:y.confirmPasswordType,placeholder:e.$t("Auth.Common.confirm_password")},{default:(0,s.k6)((()=>[g.hideConfirmPassword?((0,s.uX)(),(0,s.Wv)(v,{key:0,onClick:y.handleEyeConfirmPassword},null,8,["onClick"])):(0,s.Q3)("",!0),g.hideConfirmPassword?(0,s.Q3)("",!0):((0,s.uX)(),(0,s.Wv)(_,{key:1,onClick:y.handleEyeConfirmPassword},null,8,["onClick"]))])),_:1},8,["title","error","modelValue","type","placeholder"])]),(0,s.Lk)("div",c,[(0,s.bF)(b,{onInput:t[6]||(t[6]=e=>y.handleInput(e,"terms")),checked:g.model.terms},null,8,["checked"]),(0,s.Lk)("label",h,[(0,s.eW)((0,o.v_)(e.$t("Auth.Common.agree_terms"))+" ",1),(0,s.Lk)("a",p,(0,o.v_)(e.$t("Auth.Common.terms"))+", ",1),(0,s.eW)(" "+(0,o.v_)(e.$t("Generic.Common.and"))+" ",1),(0,s.Lk)("a",u,(0,o.v_)(e.$t("Auth.Common.privacy_policy"))+" *",1)])]),(0,s.Lk)("div",C,(0,o.v_)(g.errors.terms),1),(0,s.bF)(A,{title:e.$t("Auth.Common.create_an_account"),type:"submit",fullWidth:!0,loading:g.loading},null,8,["title","loading"])],32),(0,s.Lk)("div",f,[(0,s.Lk)("label",null,[(0,s.eW)((0,o.v_)(e.$t("Auth.Common.already_account"))+" ",1),(0,s.Lk)("span",{class:"login",onClick:t[8]||(t[8]=(...e)=>y.login&&y.login(...e))},(0,o.v_)(e.$t("Auth.Common.sign_in")),1)])])])),_:1})}var g=r(22704),y=r(39308),k=r(89484),v=r(90073),_=r(65472),b=r(66278),A=r(2
11355);const $=_.d.user,L={name:"PartnerSignUp",components:{AuthTemplate:g.A,Input:y.pd,Button:y.$n,CheckButton:y.VH,EyeIn:k.A,EyeOut:v.A},data(){return{model:{firstName:"",lastName:"",email:"",password:"",passwordConfirm:"",company:"",terms:!1},errors:{firstName:"",lastName:"",email:"",password:"",passwordConfirm:"",company:"",terms:""},hidePassword:!0,hideConfirmPassword:!0,loading:!1}},computed:{...(0,b.L8)("user",{brand:"brand"}),passwordType(){return this.hidePassword?"password":"text"},confirmPasswordType(){return this.hideConfirmPassword?"password":"text"}},watch:{"model.firstName"(e){(0,A.u4)(this,e)},"model.lastName"(e){(0,A.gF)(this,e)},"model.email"(e){(0,A.DT)(this,e)},"model.password"(e){(0,A.Oj)(this,e),""!==this.model.passwordConfirm&&(0,A.C_)(this,this.model.passwordConfirm)},"model.passwordConfirm"(e){(0,A.C_)(this,e)},"model.terms"(e){this.validateTerms(e)}},methods:{async signUp(){if((0,A.l)(this)&&this.model.terms){this.loading=!0;try{await this.$store.dispatch("user/partnerSignUp",{...this.model}),await this.$store.dispatch($.actions.Auth),this.$router.push("/overview")}catch(e){if("email-already-exists"===e?.data?.error)this.$notify({message:this.$t("Auth.Error.email_exists"),type:"danger"});else if(e?.data?.message||e?.response?.data?.message){const t=e?.data?.message||e?.response?.data?.message;this.$notify({message:t,type:"danger"})}else this.$notify({message:this.$t("Generic.Messages.Error.sign_in",{email:this.supportEmail}),type:"danger"})}this.loading=!1}else this.validateAllFields()},login(){this.$router.push({path:"/login"})},validateTerms(e){this.errors.terms=e?"":this.$t("Auth.Error.disagree_terms",{brand:this.brand}).toString()},handleInput(e,t){this.model[t]=e,(0,A.hc)(this,e,t)},handleEyePassword(){this.hidePassword=!this.hidePassword},handleEyeConfirmPassword(){this.hideConfirmPassword=!this.hideConfirmPassword},validateAllFields(){(0,A.u4)(this,this.model.firstName),(0,A.gF)(this,this.model.lastName),(0,A.DT)(this,this.model.email),(0,A.IM)(this,this.model.company),(0,A.Oj)(this,this.model.password),(0,A.C_)(this,this.model.passwordConfirm),this.validateTerms(this.model.terms)}}};var E=r(66262);const P=(0,E.A)(L,[["render",w],["__scopeId","data-v-7c8c23d4"]]),F=P}}]);
2//# sourceMappingURL=827.75a65bfa.js.map

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.