PageSourceSearch

https://rentbird.nl/build/assets/RegisterUserPage-CZSGMUCw.js

js rentbird.nl collected 2026-10-02 15:46:59 UTC 3,070 bytes, 2 lines download raw bytes

1import{_ as y}from"./B2BLayout-Ba0I_aeQ.js";import{u as b}from"./B2B-CvWhXy0K.js";import{z as g,I as c,J as l,B as f,H as w,E as m,U as u,W as v,N as V,c as x,Q as M,f as k,u as p}from"./Button-BhIqzywu.js";import{_ as B}from"./MyRentbirdCard-BUJJAdG_.js";import{h as E,b as d}from"./app-B1gNLSdI.js";import{z as _}from"./ZiggyUrls-BUKqCQlB.js";import"./CustomTransitionExpand-Slh4NNCf.js";(function(){try{var a=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{};a.SENTRY_RELEASE={id:"0edc38738f2132df4c28a11607056f2247fc760c"},a._sentryModuleMetadata=a._sentryModuleMetadata||{},a._sentryModuleMetadata[new a.Error().stack]=function(r){for(var s=1;s<arguments.length;s++){var o=arguments[s];if(o!=null)for(var n in o)o.hasOwnProperty(n)&&(r[n]=o[n])}return r}({},a._sentryModuleMetadata[new a.Error().stack],{"_sentryBundlerPluginAppKey:rentbird-frontend":!0});var t=new a.Error().stack;t&&(a._sentryDebugIds=a._sentryDebugIds||{},a._sentryDebugIds[t]="0368bcf2-2b37-444d-81f2-18ba96ba783a",a._sentryDebugIdIdentifier="sentry-dbid-0368bcf2-2b37-444d-81f2-18ba96ba783a")}catch{}})();const z={__name:"B2BCreateSearchProfileAndAccount",setup(a){const t=x(()=>M().props.errors),r=k({firstname:"",lastname:"",email:""}),{organization:s}=b(),o=E(),n=async()=>{o.startLoading(),await V.post(_("b2b.user.register",{organization:s.value}),r,{onFinish:()=>{o.stopLoading()}})};return(N,e)=>(g(),c(B,{class:"w-[900px] max-w-full"},{default:l(()=>[e[7]||(e[7]=f("div",{class:"mb-4 text-base text-purple-900"}," First create the user, then you can create the first search job for this user. ",-1)),f("form",{class:"lg:flex",method:"post",onSubmit:w(n,["prevent"])},[m(d,{id:"firstName",modelValue:r.firstname,"onUpdate:modelValue":e[0]||(e[0]=i=>r.firstname=i),dusk:"firstname",class:"mt-4 lg:w-1/2 lg:pr-4",placeholder:"Firstname",error:t.value.firstname,autocomplete:"given-name"},{label:l(()=>[...e[3]||(e[3]=[u(" Firstname ",-1)])]),_:1},8,["modelValue","error"]),m(d,{id:"lastName",modelValue:r.lastname,"onUpdate:modelValue":e[1]||(e[1]=i=>r.lastname=i),dusk:"lastname",class:"mt-4 lg:w-1/2 lg:pl-4",placeholder:"Lastname",error:t.value.lastname,autocomplete:"family-name"},{label:l(()=>[...e[4]||(e[4]=[u(" Lastname ",-1)])]),_:1},8,["modelValue","error"])],32),m(d,{id:"email",modelValue:r.email,"onUpdate:modelValue":e[2]||(e[2]=i=>r.email=i),dusk:"email",type:"email",class:"mt-4",placeholder:"email",error:t.value.email,autocomplete:"email"},{label:l(()=>[...e[5]||(e[5]=[u(" Email ",-1)])]),_:1},8,["modelValue","error"]),m(v,{big:!0,class:"mt-4",onClick:n},{default:l(()=>[...e[6]||(e[6]=[u(" Create user ",-1)])]),_:1})]),_:1}))}},h={__name:"RegisterUserPage",setup(a){const{organization:t}=b();return(r,s)=>(g(),c(y,{"bread-crumbs":[{label:"Users",url:p(_)("b2b.home",{organization:p(t)})},{label:"Create new user",url:""}]},{title:l(()=>[...s[0]||(s[0]=[u(" Create new user ",-1)])]),default:l(()=>[m(z)]),_:1},8,["bread-crumbs"]))}};export{h as default};
2//# sourceMappingURL=RegisterUserPage-CZSGMUCw.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.