PageSourceSearch

https://app.dijitalajanslar.com/_nuxt/CjgIgX6s.js

js dijitalajanslar.com collected 2026-10-03 22:43:56 UTC 2,619 bytes, 1 lines download raw bytes

1import{_ as v,G as h,h as _,e as b,d as x,a as P,o as g,b as y,c as E,j as a,t as p,p as u,r as V,v as k,A as c}from"./BnRExl1q.js";import{p as $}from"./Cg9n-ALt.js";import{v as C}from"./B-C71Oq_.js";import{_ as f}from"./CB_ymccZ.js";/* empty css        */import{E as I}from"./NnhnsfVz.js";import"./B8ECP9Mg.js";import"./l0sNRNKZ.js";const B={class:"max-w-xl mx-auto pt-20 pb-20 px-6 md:px-0"},N={class:"mt-6"},S={class:"flex flex-col"},A={class:"text-center bg-green-100 text-green-800 text-sm font-medium px-2.5 py-0.5 rounded dark:bg-green-900 dark:text-green-300"},H={class:"pt-5"},U={for:"email",class:"block mb-2 text-sm font-semibold text-edv-primary-50 dark:text-white"},j={class:"pt-5"},D={for:"password",class:"block mb-2 text-sm font-semibold text-edv-primary-50 dark:text-white"},G={__name:"need-password",setup(M){const i=h(),{t:d}=_(),{$bus:m}=b(),t=x();P({title:d("needPassword.password")});const o=c(""),r=c(""),n=c(!1),w=async()=>{var e;if(!C(o.value)){m.emit("notification",{message:d("forgetPassword.notValidEmail"),type:"error"});return}if(r.value.length<8){m.emit("notification",{message:d("validation.min"),type:"error"});return}n.value=!0;try{(await $({Email:o.value,Password:r.value,PasswordConfirm:r.value})).data.HasExceptionError||(await t.fetchProfile(),(e=t.profile)!=null&&e.IsClient?await i.push("/client/timeline"):await i.push("/provider/dashboard"),o.value="",r.value="")}catch(s){console.error("Error setting password:",s),m.emit("notification",{message:d("general.error"),type:"error"})}finally{n.value=!1}};return g(()=>{var e,s,l;(e=t.profile)!=null&&e.InitialPasswordHasSet&&((s=t.profile)!=null&&s.IsClient?i.push("/client/timeline"):i.push("/provider/settings/about")),(l=t.profile)!=null&&l.Email&&(o.value=t.profile.Email)}),(e,s)=>(y(),E("div",B,[a("section",N,[a("div",S,[a("span",A,p(e.$t("needPassword.projectPublished")),1),a("div",H,[a("label",U,p(e.$t("needPassword.yourEmail")),1),u(f,{id:"email",modelValue:o.value,"onUpdate:modelValue":s[0]||(s[0]=l=>o.value=l),type:"email",placeholder:e.$t("needPassword.emailPlaceholder"),class:"w-full"},null,8,["modelValue","placeholder"])]),a("div",j,[a("label",D,p(e.$t("needPassword.password")),1),u(f,{id:"password",modelValue:r.value,"onUpdate:modelValue":s[1]||(s[1]=l=>r.value=l),type:"password",placeholder:e.$t("needPassword.passwordPlaceholder"),class:"w-full"},null,8,["modelValue","placeholder"])]),u(I,{class:"mt-5",disabled:n.value,loading:n.value,onClick:w},{default:V(()=>[k(p(e.$t("needPassword.save")),1)]),_:1},8,["disabled","loading"])])])]))}},O=v(G,[["__scopeId","data-v-b4912111"]]);export{O as default};

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.