PageSourceSearch

https://app.loopcv.pro/js/2748.4f0bdf82.js

js loopcv.pro collected 2026-09-25 14:57:34 UTC 17,682 bytes, 2 lines download raw bytes

1"use strict";(self["webpackChunkloopcv_dashboard"]=self["webpackChunkloopcv_dashboard"]||[]).push([[2748],{89484:(e,t,r)=>{r.d(t,{A:()=>h});var s=r(20641),o=r(90033);const i=["aria-hidden","aria-label"],a=["fill","width","height"],l={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"},n={key:0};function d(e,t,r,d,u,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",l,[r.title?((0,s.uX)(),(0,s.CE)("title",n,(0,o.v_)(r.title),1)):(0,s.Q3)("",!0)])],8,a))],16,i)}const u={name:"EyeIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}};var c=r(66262);const m=(0,c.A)(u,[["render",d]]),h=m},90073:(e,t,r)=>{r.d(t,{A:()=>h});var s=r(20641),o=r(90033);const i=["aria-hidden","aria-label"],a=["fill","width","height"],l={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"},n={key:0};function d(e,t,r,d,u,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",l,[r.title?((0,s.uX)(),(0,s.CE)("title",n,(0,o.v_)(r.title),1)):(0,s.Q3)("",!0)])],8,a))],16,i)}const u={name:"EyeOffIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}};var c=r(66262);const m=(0,c.A)(u,[["render",d]]),h=m},55683:(e,t,r)=>{r.d(t,{A:()=>f});var s=r(20641);const o={id:"button"};function i(e,t,r,i,a,l){return(0,s.uX)(),(0,s.CE)("div",o,t[0]||(t[0]=[(0,s.Lk)("div",{id:"buttonDiv"},null,-1)]))}var a=r(66278),l=r(65472),n=r(59635),d=r(12215),u=r.n(d);const c=l.d.user,m=window.innerWidth||document.documentElement.clientWidth||document.body.clientWidth,h={components:{},data(){return{loading:!1}},computed:{...(0,a.L8)("user",{getUser:c.getters.getUser}),partnerId(){return this.$store.getters.configs?.partnerIdToPassOnSignup},supportEmail(){return this.$store.getters.configs?.supportEmail},connectedUser(){return this.getUser}},mounted(){this.onInit()},methods:{onInit(){const e=m>500?400:Math.trunc(325-.04*m);try{"undefined"===typeof google||"undefined"===typeof google.accounts||"undefined"===typeof google.accounts.id?setTimeout((()=>{this.onInit()}),100):(google.accounts.id.initialize({client_id:"932820547310-e9ngskhnlo7b3fi0uipq4ah78pq86mek.apps.googleusercontent.com",callback:this.handleCredentialResponse}),google.accounts.id.renderButton(document.getElementById("buttonDiv"),{theme:"outline",size:"large",shape:"pill",logo_alignment:"center",locale:"en_US",width:e}))}catch(t){console.error(t),this.$notify({message:`Something went wrong please contact to ${this.supportEmail}`,type:"danger"})}},async handleCredentialResponse(e){const t={token:e.credential,partnerId:this.partnerId};try{if(await this.$store.dispatch(c.actions.GoogleSignIn,t),await this.$store.dispatch(c.actions.Auth),null!=this.connectedUser?.role){await this.setUpFreePlan();const e=this.$route.query.plan;if(e)this.$router.push(`/profile/pricing?plan=${e}`);else{const e=this.$route.query.redirect||"/";this.$router.push(e.toString())}}else u().remove(n.LI),this.$notify({message:this.$t("Generic.Messages.Error.unauthorized",{email:this.supportEmail}),type:"danger"})}
1catch(r){this.$notify({message:r.message||this.$t("errors.unexpected"),type:"danger"})}},async setUpFreePlan(){if(null==this.connectedUser?.pricingPlan||0==this.connectedUser?.pricingPlan){const e={userId:this.user?.id,pricingPlan:1};await this.$store.dispatch(c.actions.UpdateInfo,e),await this.$store.dispatch(c.actions.Auth)}}}};var p=r(66262);const g=(0,p.A)(h,[["render",i],["__scopeId","data-v-89d291d8"]]),f=g},67493:(e,t,r)=>{r.r(t),r.d(t,{default:()=>Q});var s=r(20641),o=r(90033),i=r(53751);const a={class:"subtitleBlock subtitleBlock-register"},l={class:"header2-semi-bold pb-2"},n={class:"subtitle subtitle1 pb-2"},d={key:0,class:"subtitle subtitle2 pb-2"},u={key:0},c={class:"google-btn google-btn-register"},m={class:"or-lines"},h={class:"header5"},p={class:"double-input"},g={class:"double-input"},f={key:0,class:"input-form-register"},y={key:1,class:"input-form-register"},C={class:"terms"},v={class:"terms-title header5-semi-bold"},b=["href"],w=["href"],k=["href"],$={class:"terms-error header7"},_={key:1,class:"login-block header5-semi-bold"};function L(e,t,r,L,S,A){const E=(0,s.g2)("GoogleLoginButton"),P=(0,s.g2)("Input"),O=(0,s.g2)("EyeIn"),I=(0,s.g2)("EyeOut"),F=(0,s.g2)("Dropdown"),B=(0,s.g2)("CheckButton"),T=(0,s.g2)("Button"),U=(0,s.g2)("AuthTemplate");return(0,s.uX)(),(0,s.Wv)(U,null,{default:(0,s.k6)((()=>[(0,s.Lk)("div",a,[(0,s.Lk)("label",l,(0,o.v_)(A.welcomeTitle),1),(0,s.Lk)("label",n,(0,o.v_)(A.welcomeSubtitle1),1),A.welcomeSubtitle2?((0,s.uX)(),(0,s.CE)("label",d,(0,o.v_)(A.welcomeSubtitle2),1)):(0,s.Q3)("",!0)]),A.hasGoogleLogin?((0,s.uX)(),(0,s.CE)("div",u,[(0,s.Lk)("div",c,[(0,s.bF)(E)]),(0,s.Lk)("div",m,[t[9]||(t[9]=(0,s.Lk)("hr",null,null,-1)),(0,s.Lk)("span",h,(0,o.v_)(e.$t("Auth.Common.or")),1),t[10]||(t[10]=(0,s.Lk)("hr",null,null,-1))])])):(0,s.Q3)("",!0),(0,s.Lk)("form",{onSubmit:t[7]||(t[7]=(0,i.D$)(((...e)=>A.signUp&&A.signUp(...e)),["prevent"]))},[(0,s.Lk)("div",p,[(0,s.bF)(P,{class:"input-form-small first-name",title:this.$t("Generic.Form.first_name"),required:!0,autocomplete:"given-name",error:this.errors.firstName,modelValue:S.model.firstName,"onUpdate:modelValue":t[0]||(t[0]=e=>S.model.firstName=e),placeholder:this.$t("Generic.Form.first_name")},null,8,["title","error","modelValue","placeholder"]),(0,s.bF)(P,{class:"input-form-small double_input_last_child",title:this.$t("Generic.Form.last_name"),required:!0,autocomplete:"family-name",error:this.errors.lastName,modelValue:S.model.lastName,"onUpdate:modelValue":t[1]||(t[1]=e=>S.model.lastName=e),placeholder:this.$t("Generic.Form.last_name")},null,8,["title","error","modelValue","placeholder"])]),(0,s.bF)(P,{class:"input-form-register",title:this.$t("Generic.Form.email"),required:!0,type:"email",autocomplete:"email",error:this.errors.email,modelValue:S.model.email,"onUpdate:modelValue":t[2]||(t[2]=e=>S.model.email=e),placeholder:this.$t("Generic.Form.email")},null,8,["title","error","modelValue","placeholder"]),(0,s.Lk)("div",g,[(0,s.bF)(P,{class:"input-form-small password",title:this.$t("Generic.Form.password"),required:!0,autocomplete:"new-password",error:this.errors.password,modelValue:S.model.password,"onUpdate:modelValue":t[3]||(t[3]=e=>S.model.password=e),placeholder:this.$t("Generic.Form.password"),type:A.passwordType},{default:(0,s.k6)((()=>[S.hidePassword?((0,s.uX)(),(0,s.Wv)(O,{key:0,onClick:A.handleEyePassword},null,8,["onClick"])):(0,s.Q3)("",!0),S.hidePassword?(0,s.Q3)("",!0):((0,s.uX)(),(0,s.Wv)(I,{key:1,onClick:A.handleEyePassword},null,8,["onClick"]))])),_:1},8,["title","error","modelValue","placeholder","type"]),(0,s.bF)(P,{class:"input-form-small double_input_last_child",title:this.$t("Auth.Common.confirm_password"),required:!0,autocomplete:"new-password",error:this.errors.passwordConfirm,modelValue:S.model.passwordConfirm,"onUpdate:modelValue":t[4]||(t[4]=e=>S.model.passwordConfirm=e),type:A.confirmPasswordType,placeholder:this.$t("Auth.Common.confirm_password")},{default:(0,s.k6)((()=>[S.hideConfirmPassword?((0,s.uX)(),(0,s.Wv)(O,{key:0,onClick:A.handleEyeConfirmPassword},null,8,["onClick"])):(0,s.Q3)("",!0),S.hideConfirmPassword?(0,s.Q3)("",!0):((0,s.uX)(),(0,s.Wv)(I,{key:1,onClick:A.handleEyeConfirmPassword},null,8,["onClick"]))])),_:1},8,["title","error","modelValue","type","placeholder"])]),e.$store.getters.isB2C?((0,s.uX)(),(0,s.CE)("div",f,[(0,s.bF)(F,{title:this.$t("Auth.Common.fromsource_title"),required:!0,placeholder:this.$t("Auth.Common.fromsource_placeholder"),value:S.model.fromsource,onInput:A.handleFromSource,options:S.fromSourceOptions,error:S.errors.fromsource},null,8,["title","placeholder","value","onInput","options","error"])])):(0,s.Q3)("",!0),"Other (Please Specify)"===S.model.fromsource&&e.$store.getters.isB2C?((0,s.uX)(),(0,s.CE)("div",y,[(0,s.bF)(P,{title:this.$t("Auth.Common.fromsource_other_title"),required:!0,error:S.errors.fromsourceOther,modelValue:S.model.fromsourceOther,"onUpdate:modelValue":t[5]||(t[5]=e=>S.model.fromsourceOther=e),placeholder:this.$t("Auth.Common.fromsource_other_placeholder")},null,8,["title","error","modelValue","placeholder"])])):(0,s.Q3)("",!0),(0,s.Lk)("div",C,[(0,s.bF)(B,{onInput:t[6]||(t[6]=e=>A.handleInput(e,"terms")),checked:S.model.terms},null,8,["checked"]),(0,s.Lk)("label",v,[(0,s.eW)((0,o.v_)(e.$t("Auth.Common.agree_terms"))+" ",1),(0,s.Lk)("a",{target:"_blank",href:A.legalTermsLink},(0,o.v_)(e.$t("Auth.Common.terms")),9,b),A.legalTransactionSecurityLink?((0,s.uX)(),(0,s.CE)(s.FK,{key:0},[t[11]||(t[11]=(0,s.eW)(" , ")),(0,s.Lk)("a",{target:"_blank",href:A.legalTransactionSecurityLink},(0,o.v_)(e.$t("Auth.Common.transaction_security")),9,w)],64)):(0,s.Q3)("",!0),(0,s.eW)(" "+(0,o.v_)(e.$t("Generic.Common.and"))+" ",1),(0,s.Lk)("a",{target:"_blank",href:A.legalPrivacyLink},(0,o.v_)(e.$t("Auth.Common.privacy_policy")),9,k),t[12]||(t[12]=(0,s.eW)(" *"))])]),(0,s.Lk)("div",$,(0,o.v_)(S.errors.terms),1),(0,s.bF)(T,{title:e.$t("Auth.Common.create_an_account"),type:"submit",fullWidth:!0,loading:S.loading,disabled:A.isButtonDisabled,buttonStyle:A.isButtonDisabled?"disabled":""},null,8,["title","loading","disabled","buttonStyle"])],32),A.whiteLabel?((0,s.uX)(),(0,s.CE)("div",_,[(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)=>A.login&&A.login(...e))},(0,o.v_)(e.$t("Auth.Common.sign_in")),1)])])):(0,s.Q3)("",!0)])),_:1})}var S=r(22704),A=r(66278),E=r(55683),P=r(65472),O=r(59635),I=r(12215),F=r.n(I),B=r(39308),T=r(19718),U=r(89484),N=r(90073),V=r(21355),W=r(53191),G=r(88192);const{posthog:X}=(0,G.s)(),M=P.d.user,q={name:"SignUp",components:{AuthTemplate:S.A,GoogleLoginButton:E.A,Input:B.pd,Button:B.$n,CheckButton:B.VH,Dropdown:T.A,EyeIn:U.A,EyeOut:N.A},data(){return{model:{firstName:"",lastName:"",email:"",password:"",passwordConfirm:"",terms:!1,fromsource:"",fromsourceOther:""},errors:{firstName:"",lastName:"",email:"",password:"",passwordConfirm:"",terms:"",fromsource:"",fromsourceOther:""},fromSourceOptions:["Google Search","Social Media (Facebook/Instagram)","LinkedIn","YouTube","ChatGPT / Claude / Other AI Assistants","Friend or Colleague","Blog Post / Article","Podcast","Event or Conference","Partner or Referral Program","Email Newsletter","Other (Please Specify)"],hidePassword:!0,hideConfirmPassword:!0,loading:!1}},computed:{...(0,A.L8)("user",{getStatus:M.getters.getStatus,getLoading:M.getters.getLoading,getUser:M.getters.getUser}),passwordType(){return this.hidePassword?"password":"text"},confirmPasswordType(){return this.hideConfirmPassword?"password":"text"},hasGoogleLogin(){return this.$store.getters.isB2C},isB2C(){return this.$store.getters.isB2C},supportEmail(){return this.$store.getters.configs?.supportEmail},whiteLabel(){return!this.$store.getters.isWhitelabel},brand(){return this.$store.getters.brand},legalLinks(){const e=this.$store.getters.configs?.legalLinks||{};return{terms:"string"===typeof e.terms?e.terms:"",privacy:"string"===typeof e.privacy?e.privacy:"",transactionSecurity:"string"===typeof e.transactionSecurity?e.transactionSecurity:""}},legalTermsLink(){return this.legalLinks.terms},legalPrivacyLink(){return this.legalLinks.privacy},legalTransactionSecurityLink(){return this.legalLinks.transactionSecurity},isButtonDisabled(){return this.loading},currentLocale(){const e=this.$i18n?.locale;return"string"===typeof e?e:e&&"object"===typeof e&&"value"in e?e.value:"en"},welcomeTitle(){return this.getWelcomeMessageValue("title")||this.$t("Auth.Common.welcome")},welcomeSubtitle1(){return this.getWelcomeMessageValue("subtitle1")||this.$t("Auth.Common.login-subtitle",{brand:this.brand})},welcomeSubtitle2(){return this.getWelcomeMessageValue("subtitle2")}},watch:{"model.firstName"(e){(0,V.u4)(this,e)},"model.lastName"(e){(0,V.gF)(this,e)},"model.email"(e){(0,V.DT)(this,e)},"model.password"(e){(0,V.Oj)(this,e),""!=this.model.passwordConfirm&&(0,V.C_)(this,this.model.passwordConfirm)},"model.passwordConfirm"(e){(0,V.C_)(this,e)},"model.terms"(e){this.validateTerms(e)},"model.fromsource"(e){this.validateFromSource(e),"Other (Please Specify)"!==e&&(this.model.fromsourceOther="",this.errors.fromsourceOther="")},"model.fromsourceOther"(e){this.validateFromSourceOther(e)}},created(){this.$store.getters.isB2B&&!this.$store.getters.configs?.userSignupAllowed&&this.$router.push("/login")},methods:{async signUp(){if(this.loading)return;(0,V.u4)(this,this.model.firstName),(0,V.gF)(this,this.model.lastName),(0,V.DT)(this,this.model.email),(0,V.Oj)(this,this.model.password),(0,V.C_)(this,this.model.passwordConfirm),this.validateTerms(this.model.terms),this.$store.getters.isB2C&&(this.validateFromSource(this.model.fromsource),this.validateFromSourceOther(this.model.fromsourceOther));const e=Object.values(this.errors).every((e=>""===e));if(e){this.loading=!0;try{X.capture("signup_button_clicked");const e={...this.model,fromsource:"Other (Please Specify)"===this.model.fromsource&&this.model.fromsourceOther.trim()?this.model.fromsourceOther.trim():this.model.fromsource,firstName:this.model.firstName.trim(),lastName:this.model.lastName.trim(),partnerId:this.$store.getters.configs?.partnerIdToPassOnSignup};if(this.$store.getters.isB2C){let t={};try{t=JSON.parse(sessionStorage.getItem("utm_params")||"{}")}catch{}e.trackingParams={...t,...this.$route.query,fbp:F().get("_fbp"),fbc:F().get("_fbc")}
1}if(await this.$store.dispatch(M.actions.SignUp,e),this.isB2C){const e="1";await this.$store.dispatch(M.actions.SetJustRegistered,!0),await this.$store.dispatch(M.actions.UpdateInfo,{pricingPlan:parseInt(e.toString())})}const t=this.$route.query.plan;this.$route.query.utm_source;t?this.$nextTick((()=>{this.$router.push(`/profile/pricing?plan=${t}`),(0,W.mY)()})):this.$nextTick((()=>{this.$router.push("/overview"),(0,W.mY)()}))}catch(t){const e=t?.status??t?.response?.status,r="email-already-exists"===t?.data?.error||409===e||"string"===typeof t?.data?.message&&/email.*already exists/i.test(t.data.message);r?(this.errors.email=this.$t("Auth.Error.email_exists").toString(),this.$notify({message:this.$t("Auth.Error.email_exists"),type:"danger"})):403===e?this.$notify({message:this.$t("Auth.Error.successful_registration_attempt"),type:"danger"}):400===e?this.$notify({message:t?.data?.message||this.$t("there-was-an-error-during-signup-please-try-again"),type:"danger"}):this.$notify({message:this.$t("there-was-an-error-during-signup-please-try-again"),type:"danger"});const s=r||403===e||400===e;if(!s){let r=null;try{r=JSON.stringify({status:e,message:"string"===typeof t?.message?t.message:void 0,data:t?.data??t?.response?.data,code:t?.code})}catch{r=String(t)}console.error("Error during signup:",r)}}this.loading=!1}},login(){this.$router.push({path:"/login"})},removeCookies(){F().remove(O.LI),this.$notify({message:this.$t("Generic.Messages.Error.unauthorized",{email:this.supportEmail}),type:"danger"}),this.login()},validateTerms(e){this.errors.terms=0==e?this.$t("Auth.Error.disagree_terms",{brand:this.brand}).toString():""},validateFromSource(e){this.errors.fromsource=e?"":this.$t("Auth.Error.fromsource_required").toString(),"Other (Please Specify)"===e&&this.validateFromSourceOther(this.model.fromsourceOther)},validateFromSourceOther(e){"Other (Please Specify)"!==this.model.fromsource||e.trim()?this.errors.fromsourceOther="":this.errors.fromsourceOther=this.$t("Auth.Error.fromsource_other_required").toString()},handleInput(e,t){(0,V.hc)(this,e,t)},handleFromSource(e){this.model.fromsource=e,this.validateFromSource(e)},handleEyePassword(){this.hidePassword=!this.hidePassword},handleEyeConfirmPassword(){this.hideConfirmPassword=!this.hideConfirmPassword},getWelcomeMessageValue(e){const t=this.$store.getters.configs?.welcomeMessage;if(!t)return null;const r=t[e];return r&&"object"===typeof r&&(r[this.currentLocale]||r.en||Object.values(r)[0])||null}},beforeDestroy(){this.loading=!1}};var x=r(66262);const D=(0,x.A)(q,[["render",L],["__scopeId","data-v-38b3d44f"]]),Q=D},53191:(e,t,r)=>{r.d(t,{Du:()=>a,Ml:()=>o,mY:()=>l,xS:()=>i});const s=(e,t={})=>{window.dataLayer&&window.dataLayer.push({event:e,...t})},o=(e,t,r)=>{s("add_to_cart",{currency:e,value:t,eventId:r})},i=()=>{s("begin_checkout")},a=(e,t,r,o)=>{s("purchase",{transaction_id:e,value:t,currency:r,eventId:o})},l=()=>{s("signup")}}}]);
2//# sourceMappingURL=2748.4f0bdf82.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.