PageSourceSearch

https://ascension-crm-67832a07.base44.app/assets/NewsletterSignup-DSx1Hqkq.js

js ascension-crm-67832a07.base44.app collected 2026-10-03 03:13:39 UTC 12,344 bytes, 1 lines download raw bytes

1import{r as l,j as e,L as b,b as u}from"./index-DkulAUme.js";import{C as k}from"./circle-check-big-mzym5U64.js";const A=["mailinator.com","guerrillamail.com","tempmail.com","throwaway.email","yopmail.com","sharklasers.com","trashmail.com","fakeinbox.com","10minutemail.com","temp-mail.org"],B=t=>{var i;const r=((i=t.split("@")[1])==null?void 0:i.toLowerCase())||"";return A.includes(r)},v={width:"100%",padding:"14px 15px",border:"1px solid rgba(73,37,51,0.2)",borderRadius:"14px",fontSize:"15px",marginBottom:"16px",background:"#fff",color:"#2a1b20",outline:"none",fontFamily:"inherit",transition:"all 0.2s ease",boxSizing:"border-box"},h=t=>{const[r,i]=l.useState(!1);return e.jsx("input",{...t,style:{...v,...r?{borderColor:"#B28A62",boxShadow:"0 0 0 3px rgba(178,138,98,0.15)"}:{},...t.style||{}},onFocus:()=>i(!0),onBlur:()=>i(!1)})},I=({children:t,...r})=>{const[i,d]=l.useState(!1);return e.jsx("select",{...r,style:{...v,...i?{borderColor:"#B28A62",boxShadow:"0 0 0 3px rgba(178,138,98,0.15)"}:{}},onFocus:()=>d(!0),onBlur:()=>d(!1),children:t})};function _(){const[t,r]=l.useState({first_name:"",last_name:"",email:"",phone:"",interest:"",consent:!1,honeypot:""}),[i,d]=l.useState(!1),[j,S]=l.useState(!1),[x,m]=l.useState(""),s=p=>n=>{const a=n.target.type==="checkbox"?n.target.checked:n.target.value;r(g=>({...g,[p]:a}))},w=async p=>{var a,g;if(p.preventDefault(),m(""),t.honeypot)return;if(B(t.email)){m("Please use a permanent email address.");return}const n=["newsletter_signup"];t.interest&&n.push("interest_"+t.interest.toLowerCase().replace(/\s+/g,"_").replace(/&/g,"and")),t.interest==="Private Alignment Call"&&n.push("interested_alignment_call"),d(!0);try{const o=await u.entities.Person.filter({email:t.email}),f={name:`${t.first_name} ${t.last_name}`.trim(),first_name:t.first_name,last_name:t.last_name,email:t.email,phone:t.phone||void 0,consent_newsletter:!0,intake_origin:"website",tags:n,notes:`Newsletter signup — Interest: ${t.interest||"Not specified"} | Source: Newsletter Signup Page`};if(o&&o.length>0){const y=o[0],C=Array.from(new Set([...y.tags||[],...n]));await u.entities.Person.update(y.id,{...f,tags:C})}else await u.entities.Person.create(f);S(!0),setTimeout(()=>{window.location.href="https://www.schoolforintuitiveascension.com"},2200)}catch(o){m(((g=(a=o==null?void 0:o.response)==null?void 0:a.data)==null?void 0:g.error)||o.message||"Something went wrong. Please try again.")}finally{d(!1)}},c=t.first_name&&t.last_name&&t.email&&t.interest&&t.consent;return e.jsxs("div",{style:{fontFamily:"Montserrat, Arial, sans-serif",background:"#f3f0e9",color:"#2a1b20",lineHeight:1.6},children:[e.jsxs("section",{style:{position:"relative",minHeight:"100vh",display:"flex",alignItems:"center",justifyContent:"center",padding:"80px 24px",background:"radial-gradient(circle at top left, rgba(255,245,236,0.35), transparent 35%), linear-gradient(135deg, #492533 0%, #2b121d 100%)",color:"white",textAlign:"center",overflow:"hidden"},children:[e.jsx("div",{style:{position:"absolute",inset:0,background:"radial-gradient(circle at 50% 30%, rgba(178,138,98,0.28), transparent 35%), radial-gradient(circle at 80% 80%, rgba(255,245,236,0.1), transparent 30%)",pointerEvents:"none"}}),e.jsxs("div",{style:{position:"relative",maxWidth:980,zIndex:2},children:[e.jsx("div",{style:{marginBottom:22,display:"flex",justifyContent:"center"},children:e.jsx("img",{src:"https://media.base44.com/images/public/6971d941b36511f867832a07/4f3b03bdf_guided_with_discerment_logo.png",alt:"School for Intuitive Ascension",style:{height:160,width:"auto"}})}),e.jsxs("h1",{style:{fontSize:"clamp(42px, 7vw, 82px)",lineHeight:1.05,marginBottom:24,fontWeight:700},children:["Stay Connected to Your"," ",e.jsx("span",{style:{background:"linear-gradient(90deg, #FFF5EC, #CBAE8D, #8E6C45)",WebkitBackgroundClip:"text",WebkitTextFillColor:"transparent"},children:"Intuitive Ascension Path"})]}),e.jsx("p",{style:{maxWidth:760,margin:"0 auto 34px",fontSize:"clamp(18px, 2vw, 24px)",color:"rgba(255,255,255,0.88)"},children:"Receive thoughtful teachings, energetic insights, invitations, updates, and resources designed to support your personal growth, spiritual clarity, and intuitive development."}),e.jsx("a",{href:"#newsletter-form",style:{display:"inline-block",padding:"16px 34px",borderRadius:999,background:"linear-gradient(135deg, #FFF5EC, #CBAE8D, #8E6C45)",color:"#321a23",textDecoration:"none",fontWeight:700,boxShadow:"0 16px 40px rgba(0,0,0,0.25)",fontSize:16},children:"Join the Newsletter"})]})]}),e.jsx("section",{style:{padding:"90px 24px",background:"#f3f0e9",textAlign:"center"},children:e.jsxs("div",{style:{maxWidth:1160,margin:"0 auto"},children:[e.jsx("h2",{style:{fontSize:"clamp(34px, 5vw, 56px)",color:"#492533",lineHeight:1.1,marginBottom:22},children:"A More Intentional Way to Stay Connected"}),e.jsxs("p",{style:{maxWidth:850,margin:"0 auto",fontSize:19,color:"#4a3c3f"},children:["The School of Intuitive Ascension newsletter is created for those who feel called to deepen their intuition, understand their energy, explore spiritual development, and stay connected with teachings, reflections, classes, and special invitations from our community.",e.jsx("br",{}),e.jsx("br",{}),"This is not spam. It is a curated communication space for people walking a real path of growth, healing, sovereignty, and inner alignment."]})]})}),e.jsx("section",{style:{padding:"90px 24px",background:"#fffaf5"},children:e.jsxs("div",{style:{maxWidth:1160,margin:"0 auto"},children:[e.jsx("h2",{style:{fontSize:"clamp(34px, 5vw, 56px)",color:"#492533",lineHeight:1.1,marginBottom:44,textAlign:"center"},children:"What You'll Receive"}),e.jsx("div",{style:{display:"grid",gridTemplateColumns:"repeat(auto-fit, minmax(230px, 1fr))",gap:22},children:[{icon:"✦",title:"Intuitive Development Insights",body:"Receive reflections and guidance designed to help you strengthen your intuitive awareness."},{icon:"◇",title:"Energetic Sovereignty Teachings",body:"Explore tools and perspectives that support energetic clarity, boundaries, and self-trust."},{icon:"☽",title:"Classes & Workshops",body:"Stay updated on upcoming trainings, workshops, and opportunities to learn with the school."},{icon:"✧",title:"Private Invitations",body:"Receive special announcements, invitations, and aligned opportunities as they become available."}].map(({icon:p,title:n,body:a})=>e.jsxs("div",{style:{background:"white",border:"1px solid rgba(178,138,98,0.25)",borderRadius:24,padding:30,boxShadow:"0 18px 45px rgba(73,37,51,0.08)"},children:[e.jsx("div",{style:{width:52,height:52,borderRadius:"50%",background:"linear-gradient(135deg, #FFF5EC, #CBAE8D)",display:"flex",alignItems:"center",justifyContent:"center",marginBottom:18,color:"#492533",fontSize:24},children:p}),e.jsx("h3",{style:{color:"#492533",fontSize:21,marginBottom:10},children:n}),e.jsx("p",{style:{color:"#5b4b4f",fontSize:15},children:a})]},n))})]})}),e.jsx("section",{id:"newsletter-form",style:{padding:"90px 24px",background:"radial-gradient(circle at top right, rgba(178,138,98,0.22), transparent 35%), linear-gradient(135deg, #492533 0%, #2b121
1d 100%)",color:"white"},children:e.jsxs("div",{style:{maxWidth:1160,margin:"0 auto",display:"grid",gridTemplateColumns:"repeat(auto-fit, minmax(320px, 1fr))",gap:46,alignItems:"center"},children:[e.jsxs("div",{children:[e.jsx("h2",{style:{fontSize:"clamp(34px, 5vw, 58px)",lineHeight:1.1,marginBottom:20},children:"Join the Newsletter"}),e.jsx("p",{style:{fontSize:18,color:"rgba(255,255,255,0.84)",marginBottom:18},children:"Share your information below and we'll keep you connected with teachings, updates, and invitations from School of Intuitive Ascension."}),e.jsx("p",{style:{fontSize:18,color:"rgba(255,255,255,0.84)"},children:"After you submit, please look out for future emails and invitations."})]}),e.jsxs("div",{style:{background:"rgba(255,255,255,0.97)",color:"#2a1b20",padding:34,borderRadius:28,boxShadow:"0 24px 70px rgba(0,0,0,0.3)",border:"1px solid rgba(203,174,141,0.45)"},children:[e.jsx("h3",{style:{color:"#492533",fontSize:28,marginBottom:8},children:"Newsletter Signup"}),e.jsx("p",{style:{marginBottom:24,color:"#65565a",fontSize:15},children:"Enter your details below to join our community email list."}),j?e.jsxs("div",{style:{textAlign:"center",padding:"20px 0"},children:[e.jsx(k,{style:{width:48,height:48,color:"#8E6C45",margin:"0 auto 16px"}}),e.jsx("p",{style:{color:"#492533",fontWeight:700,fontSize:18,marginBottom:8},children:"Thank you for joining."}),e.jsx("p",{style:{color:"#65565a",fontSize:15},children:"Please look out for future emails and invitations from School of Intuitive Ascension."}),e.jsxs("p",{style:{display:"flex",alignItems:"center",justifyContent:"center",gap:6,fontSize:13,color:"#9b8a92",marginTop:16},children:[e.jsx(b,{style:{width:12,height:12}})," Redirecting you shortly…"]})]}):e.jsxs("form",{onSubmit:w,children:[e.jsx("input",{type:"text",name:"website_url",value:t.honeypot,onChange:s("honeypot"),style:{display:"none"},tabIndex:-1,autoComplete:"off"}),e.jsxs("div",{style:{display:"grid",gridTemplateColumns:"1fr 1fr",gap:14},children:[e.jsxs("div",{children:[e.jsx("label",{style:{display:"block",marginBottom:7,fontSize:14,fontWeight:700,color:"#492533"},children:"First Name *"}),e.jsx(h,{type:"text",required:!0,placeholder:"First name",value:t.first_name,onChange:s("first_name")})]}),e.jsxs("div",{children:[e.jsx("label",{style:{display:"block",marginBottom:7,fontSize:14,fontWeight:700,color:"#492533"},children:"Last Name *"}),e.jsx(h,{type:"text",required:!0,placeholder:"Last name",value:t.last_name,onChange:s("last_name")})]})]}),e.jsx("label",{style:{display:"block",marginBottom:7,fontSize:14,fontWeight:700,color:"#492533"},children:"Email Address *"}),e.jsx(h,{type:"email",required:!0,placeholder:"[email protected]",value:t.email,onChange:s("email")}),e.jsxs("label",{style:{display:"block",marginBottom:7,fontSize:14,fontWeight:700,color:"#492533"},children:["Phone Number ",e.jsx("span",{style:{fontWeight:400,color:"#9b8a92"},children:"(Optional)"})]}),e.jsx(h,{type:"tel",placeholder:"Your phone number",value:t.phone,onChange:s("phone")}),e.jsx("label",{style:{display:"block",marginBottom:7,fontSize:14,fontWeight:700,color:"#492533"},children:"Primary Interest *"}),e.jsxs(I,{value:t.interest,onChange:s("interest"),required:!0,children:[e.jsx("option",{value:"",children:"Select one"}),e.jsx("option",{value:"Intuitive Development",children:"Intuitive Development"}),e.jsx("option",{value:"Energetic Sovereignty",children:"Energetic Sovereignty"}),e.jsx("option",{value:"Healing & Personal Growth",children:"Healing & Personal Growth"}),e.jsx("option",{value:"Classes & Workshops",children:"Classes & Workshops"}),e.jsx("option",{value:"Private Alignment Call",children:"Private Alignment Call"}),e.jsx("option",{value:"Not Sure Yet",children:"Not Sure Yet"})]}),e.jsxs("div",{style:{display:"flex",gap:12,alignItems:"flex-start",margin:"8px 0 22px",fontSize:14,color:"#4d4145"},children:[e.jsx("input",{type:"checkbox",id:"consent",required:!0,checked:t.consent,onChange:s("consent"),style:{width:"auto",marginTop:4,accentColor:"#B28A62",flexShrink:0}}),e.jsx("label",{htmlFor:"consent",style:{margin:0,cursor:"pointer",lineHeight:1.6}
1,children:"I agree to receive emails from School of Intuitive Ascension. I understand I can unsubscribe at any time."})]}),x&&e.jsx("div",{style:{fontSize:14,color:"#c0392b",background:"#fdf2f2",borderRadius:12,padding:"12px 16px",marginBottom:16},children:x}),e.jsx("button",{type:"submit",disabled:!c||i,style:{width:"100%",border:"none",padding:"16px 24px",borderRadius:999,background:!c||i?"rgba(203,174,141,0.4)":"linear-gradient(135deg, #FFF5EC, #CBAE8D, #8E6C45)",color:!c||i?"#9b8a92":"#321a23",fontSize:16,fontWeight:700,cursor:!c||i?"not-allowed":"pointer",transition:"all 0.25s ease",boxShadow:!c||i?"none":"0 16px 40px rgba(0,0,0,0.2)",display:"flex",alignItems:"center",justifyContent:"center",gap:8,fontFamily:"inherit"},children:i?e.jsxs(e.Fragment,{children:[e.jsx(b,{style:{width:18,height:18}})," Submitting…"]}):"Join the Newsletter"})]})]})]})}),e.jsx("footer",{style:{padding:"34px 24px",textAlign:"center",background:"#2b121d",color:"rgba(255,255,255,0.65)",fontSize:14},children:"© School of Intuitive Ascension. All rights reserved."})]})}
1export{_ 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.