1import{_ as E}from"./nuxt-link.79501fc8.js";import{_ as N,a as V,i as c,b as k,r as C}from"./validators.f0b8a49e.js";import{M as I,C as A}from"./MaterialSelect.960b1e1f.js";import{I as T}from"./IconButton.c8264cbc.js";import{C as F}from"./Checkbox.018e9e78.js";import{_ as U,r,c as d,a as t,b as l,F as y,h as M,w as f,d as m,t as x,o as n,l as P}from"./entry.d0f196e4.js";import"./Icon.2b7b9851.js";const O={name:"RequestEarlyAccess",components:{MaterialSelect:I,Checkbox:F,IconButton:T,Textarea:N,Input:V},data(){return{firstName:"",lastName:"",email:"",organisation:"",position:"",message:"",country:"",marketingConsent:!1,success:!1,firstNameError:!1,lastNameError:!1,emailError:!1,countryError:!1,error:"",featureItems:{"Intelligent Agentic Workflows":!1,"AI Model Fine-Tuning":!1,"Conversational assistant":!1,"Natural language dashboards":!1,"AI Provider/Model Flexibility":!1,"Data Science & Advanced Analytics":!1,"Event monitoring & anomaly detection":!1,"Predictive analysis & forecasts":!1,"White-labelling":!1,"Customizable Content Generation":!1,"Private cloud or on-premise deployment":!1,"Deployment on Your Own Domain":!1},countries:A.map(a=>({label:a.name,value:a.name}))}},computed:{features(){const a=[];return Object.keys(this.featureItems).forEach(s=>{this.featureItems[s]&&a.push(s)}),a.join(",")}},methods:{submit(){if(this.error="",this.firstNameError=!1,this.lastNameError=!1,this.emailError=!1,this.countryError=!1,c(this.firstName)&&(this.firstNameError=!0),c(this.lastName)&&(this.lastNameError=!0),(c(this.email)||!k(this.email))&&(this.emailError=!0),c(this.country)&&(this.countryError=!0),!(this.firstNameError||this.lastNameError||this.emailError||this.countryError))try{grecaptcha.ready(()=>{grecaptcha.execute("6LdCk70ZAAAAACBtGDiMQ7MXhLoh1656k3O6FyQM",{action:"submit"}).then(async a=>{(await C(this.firstName,this.lastName,this.email,this.organisation,this.position,this.country,this.features,this.message,this.marketingConsent,a)).status===200?(this.success=!0,this.firstName="",this.lastName="",this.email="",this.organisation="",this.position="",this.message="",this.country="",this.featureItems={"Conversational assistant":!1,"Natural language dashboards":!1,"GPT Insights and Recommendations":!1,"Daily, weekly and monthly digests":!1,"Alexa and Messaging App integrations":!1,"Event monitoring & anomaly detection":!1,"Predictive analysis & forecasts":!1,"White-labelling":!1,"Custom datasource integration":!1,"Private cloud or on-premise deployment":!1},window.scrollTo(0,0)):this.error="Failed to send your message. Please try again shortly."})})}catch{this.error="Failed to send your message. Please try again shortly."}}}},q={class:"contact-us min-h-300 my-10 px-10 xl:px-20"},B={class:"flex max-w-screen-xxl mx-auto flex-wrap min-h-600"},S=t("div",{class:"w-full md:w-1/2"},[t("h1",{class:"text-3xl sm:text-6xl text-fidsy_main_3 md:text-center md:pr-15"},"Request Early Access")],-1),D={class:"w-full md:w-1/2"},W={key:0,class:"pt-7 success-bg min-h-500 bg-no-repeat bg-right bg-contain"},L=t("h3",{class:"mt-4 mb-2 md:my-0 text-[28px]"},"Thanks for reaching out!",-1),R=t("div",{class:"mt-2"},"One of our team will be in touch soon.",-1),j=t("h2",{class:"mt-4 mb-2 md:my-0 text-xl font-500 sm:font-400 sm:text-4xl tracking-wide"},[m("We value your input and appreciate your interest in "),t("span",{class:"text-fidsy_main_2"},"Fidsy")],-1),G=t("div",{class:"mt-4"},"Our team is dedicated to providing you with the best possible support and assistance.",-1),K={class:"mt-4"},Q={class:"flex flex-wrap"},z={class:"w-full sm:w-1/2 pr-0 sm:pr-2 mt-4 mb-2"},X={class:"w-full sm:w-1/2 pr-0 sm:pl-2 mt-4 mb-2"},Y={class:"w-full pr-0 mt-4"},Z={class:"w-full sm:w-1/2 pr-0 sm:pr-2 mt-4 mb-2"},H={class:"w-full sm:w-1/2 pr-0 sm:pl-2 mt-4 mb-2"},J={class:"w-full pr-0 mt-4 mb-2"},$={class:"w-full mt-4 mb-2"},ee=t("label",{class:"text-lg p-2 duration-300 origin-0 pointer-events-none text-mute_text"},"Which features of Fidsy are you interested in? ",-1),se={class:"text-lg p-2 text-mute_text duration-300 origin-0 pointer-events-none"},te={class:"w-full mt-4 mb-2"},oe={class:"w-full mt-4 mb-2"},le=t("label",{class:"text-lg p-2 text-mute_text duration-300 origin-0 pointer-events-none"}
1,"I want to receive updates about new features and products from Fidsy",-1),ae={class:"w-full mt-4 mb-2"},ie={class:"text-lg text-mute_text"},re={class:"flex justify-between w-full mt-5 flex-wrap"},ne={class:"text-red-600 italic text-13 w-full mb-4 md:my-0 md:w-auto"};function me(a,s,ue,ce,e,g){const p=r("IconButton"),i=r("Input"),b=r("MaterialSelect"),h=r("Checkbox"),w=r("Textarea"),_=E;return n(),d("div",null,[t("section",q,[t("div",B,[S,t("div",D,[e.success?(n(),d("div",W,[L,R,l(p,{class:"mt-10 mx-auto",text:"Send another",icon:"mail",filled:"",onClick:s[0]||(s[0]=o=>e.success=!1)})])):(n(),d(y,{key:1},[j,G,t("div",K,[t("div",Q,[t("div",z,[l(i,{modelValue:e.firstName,"onUpdate:modelValue":s[1]||(s[1]=o=>e.firstName=o),error:e.firstNameError?"This field is required":"",label:"First Name",class:"w-full",onKeyup:s[2]||(s[2]=o=>e.firstNameError=!1)},null,8,["modelValue","error"])]),t("div",X,[l(i,{modelValue:e.lastName,"onUpdate:modelValue":s[3]||(s[3]=o=>e.lastName=o),error:e.lastNameError?"This field is required":"",label:"Last Name",class:"w-full",onKeyup:s[4]||(s[4]=o=>e.lastNameError=!1)},null,8,["modelValue","error"])]),t("div",Y,[l(i,{modelValue:e.email,"onUpdate:modelValue":s[5]||(s[5]=o=>e.email=o),type:"email",error:e.emailError?"A valid email address is required":"",label:"Email",class:"w-full",onKeyup:s[6]||(s[6]=o=>e.emailError=!1)},null,8,["modelValue","error"])]),t("div",Z,[l(i,{modelValue:e.organisation,"onUpdate:modelValue":s[7]||(s[7]=o=>e.organisation=o),label:"Organisation (Optional)",class:"w-full"},null,8,["modelValue"])]),t("div",H,[l(i,{modelValue:e.position,"onUpdate:modelValue":s[8]||(s[8]=o=>e.position=o),label:"Position (Optional)",class:"w-full"},null,8,["modelValue"])]),t("div",J,[l(b,{modelValue:e.country,"onUpdate:modelValue":s[9]||(s[9]=o=>e.country=o),searchable:"",class:"w-full",items:e.countries,error:e.countryError?"This field is required":"",label:"Country",spellcheck:"false",onInput:s[10]||(s[10]=o=>e.countryError=!1)},null,8,["modelValue","items","error"])]),t("div",$,[ee,(n(!0),d(y,null,M(e.featureItems,(o,u)=>(n(),P(h,{key:u,modelValue:e.featureItems[u],"onUpdate:modelValue":v=>e.featureItems[u]=v,class:"ml-2 mt-3"},{default:f(()=>[t("label",se,x(u),1)]),_:2},1032,["modelValue","onUpdate:modelValue"]))),128))]),t("div",te,[l(w,{modelValue:e.message,"onUpdate:modelValue":s[11]||(s[11]=o=>e.message=o),label:"Message (Optional)",class:"w-full min-h-100"},null,8,["modelValue"])]),t("div",oe,[l(h,{modelValue:e.marketingConsent,"onUpdate:modelValue":s[12]||(s[12]=o=>e.marketingConsent=o)},{default:f(()=>[le]),_:1},8,["modelValue"])]),t("div",ae,[t("span",ie,[m("By submitting this form you agree with our "),l(_,{class:"text-fidsy_main_3",to:"/terms-of-use",target:"_blank"},{default:f(()=>[m("Terms of Use")]),_:1}),m(". We will process your information in accordance with our "),l(_,{class:"text-fidsy_main_3",target:"_blank",to:"/privacy-policy"},{default:f(()=>[m("Privacy Policy")]),_:1})])]),t("div",re,[t("span",ne,x(e.error),1),l(p,{class:"mx-auto md:ml-auto",text:"Send message",icon:"mail",filled:"",onClick:g.submit},null,8,["onClick"])])])])],64))])])])])}const ge=U(O,[["render",me]]);export{ge 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.