1import{e as s,b as S,j as e,H as C,t as m}from"./app-D5Bf_dbH.js";import{U as E}from"./UserLayout-C9WnFx_O.js";import{B as k}from"./button-BooRjUAf.js";import{I as V}from"./input-DqZbbFgj.js";import{C as c,a as d,b as p,c as g,d as u}from"./card-CUwjT2hB.js";import{B as y}from"./badge-BdtyRZeW.js";import{S as I}from"./spinner-CoXWKYJB.js";import{s as B}from"./account-api-DpxxoIO6.js";import"./WistiaDialogContext-DEfy83sd.js";import"./index-eCYNzz1C.js";import"./separator-DsWrB1WR.js";import"./index-D4lci4mZ.js";import"./sheet-lU-qfqG8.js";import"./index-B02_DhYT.js";import"./react-icons.esm-CCm293eC.js";import"./useGlobalShortcuts-C3mPQ3zf.js";import"./react-BPWwdghM.js";import"./chevron-right-Ba0gC1l7.js";import"./createLucideIcon-CyKN5i_O.js";import"./index-Cn72dBP_.js";import"./scroll-area-CnV8vZPq.js";import"./index-D17hSi50.js";import"./rotate-ccw-hNqG30TC.js";import"./eye-jUg7xQoe.js";import"./user-CODNnX9U.js";import"./CSLOGO_lghtbg-12-DL8MB5gQ.js";import"./dialog-BgEHdzUT.js";import"./index-DI8WOxmI.js";import"./index-rimmKLID.js";import"./popover-CBJwT1Kl.js";import"./shopping-cart-BYHhTvfT.js";import"./users-jvAb0Hsa.js";import"./lock-_lQojS3k.js";import"./search-F-2nffFh.js";import"./tooltip-CMiJQMfJ.js";import"./index-D2PwZ_9r.js";import"./settings-x0uW8CTG.js";import"./dropdown-menu-DXUwCH2H.js";import"./workflow-nfp-eV15.js";import"./circle-x-DJWwu-M6.js";import"./plus-C4zOu0jA.js";import"./avatar-CQYHhkys.js";import"./credit-card-BU_LCcMi.js";import"./mail-Bw_TZjX-.js";import"./life-buoy-CAWDIjwj.js";import"./log-out-Cqz61TM3.js";import"./bell-B-abMZvc.js";import"./circle-help-vR0qTlf_.js";import"./sonner-CJXwkPTZ.js";import"./x-JT2YrhZw.js";import"./alert-CGHGpkpD.js";import"./loader-circle-CNDCpqRX.js";const Ie=()=>{const[t,b]=s.useState(null),[x,h]=s.useState(!1),[j,N]=s.useState(!1),[f,r]=s.useState(null),{props:a}=S(),v=async o=>{if(o.preventDefault(),t===null||t<1){r("Please enter the number of emails on your list.");return}h(!0),r(null);let i,n;a.impersonation?(i=a.impersonation.account.id,n=!0):(i=a.auth.account?.id,n=!1);try{n?m.warning("Super admins may not submit this form"):(await B({emailCount:t,realAccountId:Number(i)}),N(!0),m.success("Email verification pricing requested."))}catch(l){console.error("Submission error:",l),m.error(l.message||"Something went wrong, please try again."),r(l.message||"Something went wrong, please try again.")}finally{h(!1)}},w=o=>{const i=o.target.value;b(i?parseInt(i,10):null),r(null)};return e.jsxs(E,{children:[e.jsx(C,{title:"Email Verification"}),e.jsxs("div",{className:"container mx-auto py-6 px-4 max-w-6xl",children:[e.jsxs("div",{className:"mb-8",children:[e.jsx("div",{className:"flex items-center mb-4",children:e.jsx("h1",{className:"centra-bold text-page-heading",children:"Email Verification"})}),e.jsx("p",{className:"text-gray-600 leading-relaxed max-w-4xl",children:"Email Verification plays an important role in ensuring your deliverability, domain reputation & email engagement have the best chances for success. Only sending to verified emails will help keep your messages out of spam filters, and maintain strong engagement metrics when sending out marketing blasts."})]}),e.jsx("div",{className:"mb-12",children:e.jsxs(c,{className:"bg-gray-50 border-0",children:[e.jsxs(d,{children:[e.jsx(p,{className:"text-xl font-semibold ",children:"Bulk Email Verification"}),e.jsx(g,{className:"text-gray-600",children:"Have an email list you want verified? Send it to us, and we'll send back a spreadsheet of which emails are safe, invalid and which could be risky to send to. Just let us know how many emails are on your list!"})]}),e.jsx(u,{children:e.jsxs("div",{className:"grid grid-cols-1 lg:grid-cols-2 gap-8",children:[e.jsx("div",{children:e.jsx("img",{src:"/images/svg/email-verification.svg",alt:"Bulk Email Verification Dashboard",className:"w-full h-auto rounded-lg"})}),e.jsx("div",{className:"flex flex-col justify-center",children:e.jsx("div",{className:"bg-white p-6 rounded-lg",children:j?e.jsxs("div",{className:"text-center py-4",children:[e.jsx("h3",{className:"text-lg font-semibold text-gray-900 mb-2",children:"Thank You!"}),e.jsx("p",{className:"text-gray-600",children:"We'll be in touch shortly with pricing information."})]}):e.jsxs(e.Fragment,{children:[e.jsx("h3",{className:"text-lg font-semibold text-gray-900 mb-4",children:"How many emails are on your list?"}),e.jsxs("form",{onSubmit:v,className:"space-y-4",children:[e.jsx(V,{type:"number",placeholder:"i.e. 1000",value:t??"",onChange:w,className:"bg-white border-gray-300 text-base py-3"}),f&&e.jsx("p",{className:"text-sm text-red-600",children:f}),e.jsx(k,{type:"submit",className:"w-full bg-gray-800 hover:bg-gray-900 text-white py-3 text-base font-medium",disabled:x||t===null,children:x?e.jsxs(e.Fragment,{children:[e.jsx(I,{className:"mr-2"}),"Submitting..."]}):"Get Pricing"})]})]})})})]})})]})}),e.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-6",children:[e.jsxs(c,{className:"bg-gray-50 border-0",children:[e.jsx(d,{children:e.jsxs("div",{className:"flex items-center justify-between",children:[e.jsx(p,{className:"text-lg font-semibold text-gray-900",children:"Real-Time Verification (Coming Soon)"}),e.jsx(y,{variant:"secondary",className:"bg-gray-200 text-gray-700",children:"Coming Soon"})]})}),e.jsx(u,{children:e.jsx(g,{className:"text-gray-600",children:"Improve your deliverability & reputation by verifying emails captured by CartStack in real-time, before your reminders go out."})})]}),e.jsxs(c,{className:"bg-gray-50 border-0",children:[e.jsx(d,{children:e.jsxs("div",{className:"flex items-center justify-between",children:[e.jsx(p,{className:"text-lg font-semibold text-gray-900",children:"Export Verification (Coming Soon)"}),e.jsx(y,{variant:"secondary",className:"bg-gray-200 text-gray-700",children:"Coming Soon"})]})}),e.jsx(u,{children:e.jsx(g,{className:"text-gray-600",children:"Verify your emails automatically, as you export contact records from within CartStack."})})]})]})]})]})};export{Ie 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.