1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[852],{50462:(e,a,t)=>{"use strict";t.r(a),t.d(a,{default:()=>x});var r=t(37876),n=t(15542),s=t(48145),i=t(14232),o=t(33905),l=t(39091);let c=l.Ik({organizationName:l.Yj().required("Organization name is required"),contactName:l.Yj().required("Contact name is required"),contactEmail:l.Yj().email("Invalid email address").required("Email is required"),partnershipReason:l.Yj().required("Please select a reason"),otherReason:l.Yj().when("partnershipReason",{is:"Other",then:e=>e.required("Please specify your reason")}),privacyConsent:l.zM().oneOf([!0],"You must agree to the privacy policy").required("Privacy consent is required")});function m(){let[e,a]=(0,i.useState)(!0),[t,n]=(0,i.useState)(null),[s,l]=(0,i.useState)(""),m=[{value:"",label:"Select a reason"},{value:"Research",label:"Research collaboration"},{value:"Education",label:"Educational initiative"},{value:"Preservation",label:"Digital reference and access support"},{value:"Other",label:"Something else"}],d=e=>{let a=encodeURIComponent("New Partner Application - "+e.organizationName),t=encodeURIComponent(`Organization Name: ${e.organizationName} 2Contact Name: ${e.contactName} 3Contact Email: ${e.contactEmail} 4Partnership Reason: ${e.partnershipReason} 5`+(e.otherReason?`Other Reason: ${e.otherReason} 6`:"")+`Privacy Consent: Yes 7 8`+`--- 9`+"This application was sent through the ClioX Partner Intake Form.");return`mailto:[email protected]?subject=${a}&body=${t}`},x=async e=>{try{let a=d(e);window.location.href=a,n("success"),l("Opening your email client... Please send the email to complete your partner application."),setTimeout(()=>{n(null),l("")},5e3)}catch(e){n("error"),l("Failed to open email client. Please try contacting us directly at [email protected]"),console.error("Failed to generate mailto link:",e)}};return(0,r.jsxs)("div",{className:"max-w-4xl mx-auto",children:[(0,r.jsx)("section",{className:"max-w-4xl mx-auto mb-12",children:(0,r.jsxs)("details",{open:e,onToggle:e=>a(e.target.open),children:[(0,r.jsxs)("summary",{className:"cursor-pointer font-semibold text-lg py-2 list-none text-black flex items-center gap-3",children:[(0,r.jsx)("span",{className:`text-[var(--color-primary)] transition-transform duration-200 ${e?"rotate-90":""}`,children:"â¶"}),"What It Means to Be a Clio-X Partner"]}),(0,r.jsxs)("div",{className:"mt-3 ml-7",children:[(0,r.jsx)("p",{className:"text-base text-gray-700 mb-4 leading-relaxed",children:"If your organization works with cultural heritage materials, welcome to our vibrant community. We're building a technology-rich environment that encourages exploration and interaction with digital archives in innovative ways."}),(0,r.jsx)("p",{className:"text-base text-gray-700 mb-4 leading-relaxed",children:"Partnering with Clio-X fosters a creative space for research, teaching, and learning."}),(0,r.jsx)("p",{className:"text-base text-gray-700 mb-0 leading-relaxed",children:"Join us in transforming the future of archival research and engagement!"})]})]})}),(0,r.jsxs)("section",{className:"bg-white text-black py-15 px-6 md:px-10 rounded-xl shadow-lg mx-auto max-w-4xl mt-4",children:[(0,r.jsx)("h2",{className:"text-3xl font-bold text-black mb-8",children:"Partner Intake Form"}),(0,r.jsx)("div",{className:"flex justify-between mb-10 border-b-2 border-gray-200",children:(0,r.jsx)("div",{className:"flex-1 text-center py-3 font-semibold text-black border-b-2 border-[var(--color-primary)]",children:"Organization Information"})}),(0,r.jsx)(o.l1,{initialValues:{organizationName:"",contactName:"",contactEmail:"",partnershipReason:"",otherReason:"",verificationCode:"",privacyConsent:!1},validationSchema:c,onSubmit:x,children:e=>{let{values:a,setFieldValue:n,errors:i,touched:l}=e;return(0,r.jsxs)(o.lV,{className:"space-y-4",children:[(0,r.jsxs)("div",{className:"space-y-3",children:[(0,r.jsxs)("div",{children:[(0,r.jsx)("label",{className:"block font-medium text-black text-sm mb-1.5",children:"*Organization's Name"}),(0,r.jsx)(o.D0,{name:"organizationName",type:"text",placeholder:"What's your organization's name?",className:"w-full py-3 px-3.5 text-base border border-gray-300 rounded-md bg-gray-50 text-black"}),i.organizationName&&l.organizationName&&(0,r.jsx)("div",{className:"text-red-500 text-sm mt-1",children:i.organizationName})]}),(0,r.jsxs)("div",{children:[(0,r.jsx)("label",{className:"block font-medium text-black text-sm mb-1.5",children:"*Contact Person's Name"}),(0,r.jsx)(o.D0,{name:"contactName",type:"text",placeholder:"Who's the best person to reach?",className:"w-full py-3 px-3.5 text-base border border-gray-300 rounded-md bg-gray-50 text-black"}),i.contactName&&l.contactName&&(0,r.jsx)("div",{className:"text-red-500 text-sm mt-1",children:i.contactName})]}),(0,r.jsxs)("div",{children:[(0,r.jsx)("label",{className:"block font-medium text-black text-sm mb-1.5",children:"*Contact's Email"}),(0,r.jsx)(o.D0,{name:"contactEmail",type:"email",placeholder:"Where can we reach you?",className:"w-full py-3 px-3.5 text-base border border-gray-300 rounded-md bg-gray-50 text-black"}),i.contactEmail&&l.contactEmail&&(0,r.jsx)("div",{className:"text-red-500 text-sm mt-1",children:i.contactEmail})]})]}),(0,r.jsxs)("div",{children:[(0,r.jsx)("label",{htmlFor:"partnershipReason",className:"block font-medium text-black text-sm mb-1.5",children:"*Why are you interested in partnering with us?"}),(0,r.jsx)(o.D0,{as:"select",name:"partnershipReason",className:"w-full py-3 px-3.5 text-base border border-gray-300 rounded-md bg-gray-50 text-black appearance-none",onChange:e=>{n("partnershipReason",e.target.value),"Other"!==e.target.value&&n("otherReason","")},children:m.map(e=>(0,r.jsx)("option",{value:e.value,disabled:""===e.value,children:e.label},e.value))}),i.partnershipReason&&l.partnershipReason&&(0,r.jsx)("div",{className:"text-red-500 text-sm mt-1",children:i.partnershipReason})]}),"Other"===a.partnershipReason&&(0,r.jsxs)("div",{children:[(0,r.jsx)(o.D0,{name:"otherReason",type:"text",placeholder:"Tell us more...",className:"w-full py-3 px-3.5 text-base border border-gray-300 rounded-md bg-gray-50 text-black"}),i.otherReason&&l.otherReason&&(0,r.jsx)("div",{className:"text-red-500 text-sm mt-1",children:i.otherReason})]}),(0,r.jsxs)("div",{className:"pt-2",children:[(0,r.jsxs)("label",{className:"flex items-center gap-2 text-sm leading-relaxed text-black",children:[(0,r.jsx)(o.D0,{type:"checkbox",name:"privacyConsent",className:"flex-shrink-0 accent-[var(--input-selected-background)]"}),(0,r.jsxs)("span",{children:["I agree to the storage and processing of my information in accordance with the"," ",(0,r.jsx)("a",{href:"/privacy/en",target:"_blank",className:"text-[var(--color-primary)] underline transition-colors hover:text-[var(--color-highlight)]",children:"privacy policy"}),"."]})]}),i.privacyConsent&&l.privacyConsent&&(0,r.jsx)("div",{className:"text-red-500 text-sm mt-1",children:i.privacyConsent})]}),t&&(0,r.jsx)("div",{className:`text-sm text-center ${"success"===t?"text-green-600":"text-red-600"}`,children:s}),(0,r.jsx)("div",{className:"pt-4 text-center",children:(0,r.jsx)("button",{type:"submit",className:"py-4 px-8 text-base font-semibold bg-[var(--color-primary)] text-white border-none rounded-md cursor-pointer min-w-48 transition-colors hover:bg-[var(--color-highlight)]",children:"Submit Application"})})]})}})]})]})}var d=t(89099);function x(){let e=(0,d.useRouter)();return(0,r.jsx)(n.A,{title:"Partner Intake Form",description:"Join the Clio-X community as a partner organization",uri:e.route,noPageHeader:!0,children:(0,r.jsx)(s.A,{children:(0,r.jsx)(m,{})})})}},77328:(e,a,t)=>{e.exports=t(89836)},97116:(e,a,t)=>{(window.__NEXT_P=window.__NEXT_P||[]).push(["/intake",function(){return t(50462)}])}},e=>{var a=a=>e(e.s=a);e.O(0,[5542,636,6593,8792],()=>a(97116)),_N_E=e.O()}]);
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.