1!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},s=(new e.Error).stack;s&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[s]="89f1581b-d469-4c55-a492-d318b4d57e81",e._sentryDebugIdIdentifier="sentry-dbid-89f1581b-d469-4c55-a492-d318b4d57e81")}catch(e){}}();import"./_sentry-release-injection-file-SYOkQ1Km.js";import{a as e}from"./rolldown-runtime-BBzOAo5_.js";import{t as s}from"./react-DuV36FPs.js";import{K as a,N as t,at as r}from"./index-CRc22cjs.js";import{t as i}from"./commonValidators-Bv9l42OX.js";import{t as d}from"./FormField-DM_MQnEG.js";import{t as m}from"./Submit-CHUFd811.js";import{t as n}from"./Recaptcha-Cvn4rCMn.js";import{t as l}from"./BasicFinalForm-BXHiGXP7.js";import{t as o}from"./MailingListTags-TgfLWMsA.js";import{n as p,r as g}from"./serversideValidators-Kq9vCrTh.js";s();var j=r(),x=a(),u=({tags:e})=>(0,x.jsx)("div",{className:"box box--double-padded",children:(0,x.jsxs)(l,{endpoint:"/account/create",initialValues:{first_name:"",last_name:"",email:"",username:"",password1:"",password2:"",tags:e.reduce(((e,{name:s,checked:a})=>a?[...e,s]:[...e]),[]),"return-to":t("return-to")},children:[(0,x.jsx)(d,{name:"first_name",label:(0,x.jsx)(j.T,{message:"First name:"}),required:!0,maxLength:25,validate:[i.checkFirstLastName],validateFields:["last_name"]}),(0,x.jsx)(d,{name:"last_name",label:(0,x.jsx)(j.T,{message:"Last name:"}),required:!0,maxLength:25,validate:[i.checkFirstLastName],validateFields:["first_name"]}),(0,x.jsx)(d,{name:"email",label:(0,x.jsx)(j.T,{message:"Email:"}),type:"text",required:!0,validate:[i.email,p],validateFields:[]}),(0,x.jsx)(d,{name:"username",label:(0,x.jsx)(j.T,{message:"Username:"}),type:"text",required:!0,maxLength:15,notes:(0,x.jsx)(j.T,{message:"Maximum {{ maxUsernameLength }} letters/numbers.",maxUsernameLength:15}),validate:[i.username,g],validateFields:[]}),(0,x.jsx)(d,{name:"password1",label:(0,x.jsx)(j.T,{message:"Password:"}),type:"password",required:!0,notes:(0,x.jsx)(j.T,{message:"Must be at least 8 characters, case sensitive."}),validate:[i.passwordLength],validateFields:["password2"]}),(0,x.jsx)(d,{name:"password2",label:(0,x.jsx)(j.T,{message:"Confirm password:"}),type:"password",required:!0,validate:[i.passwordLength,i.passwordMatch],validateFields:["password1"]}),(0,x.jsx)(o,{tags:e,label:(0,x.jsx)(j.T,{message:"Mailing list signup:"})}),(0,x.jsx)(n,{}),(0,x.jsx)(m,{label:(0,x.jsx)(j.T,{message:"Register"})})]})});export{u as default}; 2//# sourceMappingURL=RegistrationForm-4c3sVuHt.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.