{"id":621,"date":"2026-11-13T12:21:55","date_gmt":"2026-11-13T12:21:55","guid":{"rendered":"https:\/\/ongroundmedia.com\/?page_id=621"},"modified":"2026-11-13T12:23:55","modified_gmt":"2026-11-13T12:23:55","slug":"deliverability-compliance-list-health","status":"publish","type":"page","link":"https:\/\/ongroundmedia.com\/?page_id=621","title":{"rendered":"Deliverability, Compliance &amp; List Health"},"content":{"rendered":"\t\t<div data-elementor-type=\"wp-page\" data-elementor-id=\"621\" class=\"elementor elementor-621\">\n\t\t\t\t<div class=\"elementor-element elementor-element-e36f67b e-con e-atomic-element e-flexbox-base e-default-div e-db2922b \" data-id=\"e36f67b\" data-element_type=\"e-flexbox\" data-e-type=\"e-flexbox\" data-interaction-id=\"e36f67b\">\n    \t\t<div class=\"elementor-element elementor-element-2f2b9ef elementor-widget elementor-widget-html\" data-id=\"2f2b9ef\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"html.default\">\n\t\t\t\t\t<!DOCTYPE html>\r\n<html lang=\"en\">\r\n<head>\r\n<meta charset=\"utf-8\">\r\n<meta name=\"viewport\" content=\"width=device-width, initial-scale=1\">\r\n<title>Free Email Deliverability Tools | SPF, DKIM, DMARC<\/title>\r\n<meta name=\"description\" content=\"Check spam words, SPF, DKIM, DMARC and blacklists, generate DNS records, and plan your email warm-up. Free email deliverability tools.\">\r\n<meta name=\"robots\" content=\"index, follow, max-image-preview:large\">\r\n<meta property=\"og:type\" content=\"website\">\r\n<meta property=\"og:title\" content=\"Free Email Deliverability Tools | SPF, DKIM, DMARC\">\r\n<meta property=\"og:description\" content=\"Check spam words, SPF, DKIM, DMARC and blacklists, generate DNS records, and plan your email warm-up. Free email deliverability tools.\">\r\n<meta name=\"twitter:card\" content=\"summary\">\r\n<meta name=\"theme-color\" content=\"#0F172A\">\r\n<link rel=\"preconnect\" href=\"https:\/\/fonts.googleapis.com\">\r\n<link rel=\"preconnect\" href=\"https:\/\/fonts.gstatic.com\" crossorigin>\r\n<link href=\"https:\/\/fonts.googleapis.com\/css2?family=Inter:wght@400;500;600;700;800&display=swap\" rel=\"stylesheet\">\r\n<style>\r\n:root{\r\n  --indigo:#4F46E5; --indigo-d:#4338CA; --navy:#0F172A; --orange:#FF6B35; --orange-d:#E85A24;\r\n  --green:#10B981; --bg:#F8FAFC; --card:#FFFFFF; --text:#1E293B; --muted:#64748B; --line:#E2E8F0;\r\n  --soft-indigo:#EEF2FF; --radius:16px;\r\n  --shadow:0 1px 2px rgba(15,23,42,.04),0 8px 24px rgba(15,23,42,.06);\r\n}\r\n*{box-sizing:border-box}\r\nhtml{scroll-behavior:smooth}\r\nbody{margin:0;background:var(--bg);color:var(--text);font-family:Inter,ui-sans-serif,system-ui,-apple-system,\"Segoe UI\",Roboto,Helvetica,Arial,sans-serif;line-height:1.55;-webkit-font-smoothing:antialiased}\r\na{color:var(--indigo);text-decoration:none}\r\na:hover{text-decoration:underline}\r\n.wrap{max-width:1180px;margin:0 auto;padding:0 20px}\r\n\r\n\/* top bar *\/\r\n.topbar{background:var(--navy);color:#fff}\r\n.topbar .wrap{display:flex;align-items:center;justify-content:space-between;height:64px;gap:16px}\r\n.brand{display:flex;align-items:center;gap:10px;color:#fff;font-weight:700;letter-spacing:-.01em}\r\n.brand:hover{text-decoration:none}\r\n.brand svg{width:34px;height:34px;flex:none}\r\n.brand small{display:block;font-weight:500;font-size:11px;color:#94A3B8;letter-spacing:.04em;text-transform:uppercase;line-height:1}\r\n.topnav{display:flex;gap:6px;align-items:center;flex-wrap:wrap}\r\n.topnav a{color:#CBD5E1;font-size:14px;font-weight:500;padding:8px 12px;border-radius:10px}\r\n.topnav a:hover{background:rgba(255,255,255,.08);color:#fff;text-decoration:none}\r\n.topnav a.on{background:rgba(255,255,255,.12);color:#fff}\r\n\r\n\/* hero *\/\r\n.hero{background:radial-gradient(900px 300px at 85% -20%,rgba(255,107,53,.35),transparent 60%),radial-gradient(700px 300px at 0% 0%,rgba(79,70,229,.55),transparent 60%),var(--navy);color:#fff;padding:44px 0 64px}\r\n.crumbs{font-size:13px;color:#94A3B8;margin-bottom:14px}\r\n.crumbs a{color:#CBD5E1}\r\n.pill{display:inline-flex;align-items:center;gap:6px;background:rgba(16,185,129,.15);color:#6EE7B7;border:1px solid rgba(16,185,129,.35);font-size:12px;font-weight:600;padding:4px 10px;border-radius:999px;margin-bottom:14px}\r\n.hero h1{margin:0 0 10px;font-size:clamp(28px,4.4vw,44px);line-height:1.1;letter-spacing:-.025em;font-weight:800}\r\n.hero p{margin:0;max-width:680px;color:#CBD5E1;font-size:clamp(15px,1.6vw,18px)}\r\n.main{margin-top:-36px;padding-bottom:56px}\r\n\r\n\/* cards & layout *\/\r\n.card{background:var(--card);border:1px solid var(--line);border-radius:var(--radius);box-shadow:var(--shadow);padding:22px}\r\n.card h2{font-size:17px;margin:0 0 14px;letter-spacing:-.01em}\r\n.layout{display:grid;grid-template-columns:minmax(300px,400px) 1fr;gap:20px;align-items:start}\r\n.stack{display:grid;gap:16px}\r\n.sticky{position:sticky;top:16px}\r\n.row{display:grid;grid-template-columns:1fr 1fr;gap:12px}\r\n.row3{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}\r\n@media(max-width:900px){.layout{grid-template-columns:1fr}.sticky{position:static}}\r\n@media(max-width:520px){.row{grid-template-columns:1fr}.card{padding:16px}}\r\n\r\n\/* form controls *\/\r\nlabel,.lbl{display:block;font-size:13px;font-weight:600;color:var(--text);margin:0 0 6px}\r\n.field{margin-bottom:14px}\r\n.field:last-child{margin-bottom:0}\r\ninput[type=text],input[type=url],input[type=number],input[type=tel],input[type=password],input[type=search],select,textarea{\r\n  width:100%;font:inherit;font-size:15px;color:var(--text);background:#fff;border:1.5px solid var(--line);border-radius:12px;padding:11px 13px;transition:border-color .15s, box-shadow .15s}\r\ntextarea{resize:vertical;min-height:96px}\r\ninput:focus,select:focus,textarea:focus{outline:none;border-color:var(--indigo);box-shadow:0 0 0 4px rgba(79,70,229,.14)}\r\ninput[type=color]{width:100%;height:44px;border:1.5px solid var(--line);border-radius:12px;padding:3px;background:#fff;cursor:pointer}\r\ninput[type=range]{width:100%;accent-color:var(--indigo)}\r\n.hint{font-size:12.5px;color:var(--muted);margin-top:6px}\r\n.val{float:right;font-weight:500;color:var(--muted)}\r\n.check{display:flex;align-items:center;gap:8px;font-size:14px;font-weight:500;cursor:pointer;margin:0}\r\n.check input{width:18px;height:18px;accent-color:var(--indigo)}\r\n\r\n\/* buttons *\/\r\n.btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;font:inherit;font-weight:600;font-size:14.5px;border:0;border-radius:12px;padding:11px 18px;cursor:pointer;transition:transform .08s, background .15s, box-shadow .15s;background:var(--indigo);color:#fff}\r\n.btn:hover{background:var(--indigo-d);text-decoration:none}\r\n.btn:active{transform:translateY(1px)}\r\n.btn.orange{background:var(--orange);box-shadow:0 6px 16px rgba(255,107,53,.3)}\r\n.btn.orange:hover{background:var(--orange-d)}\r\n.btn.ghost{background:#fff;color:var(--text);border:1.5px solid var(--line)}\r\n.btn.ghost:hover{background:var(--soft-indigo);border-color:#C7D2FE}\r\n.btn.sm{padding:7px 12px;font-size:13px;border-radius:10px}\r\n.btn:disabled{opacity:.5;cursor:not-allowed}\r\n.btns{display:flex;gap:10px;flex-wrap:wrap}\r\n\r\n\/* tabs \/ chips *\/\r\n.tabs{display:flex;gap:6px;flex-wrap:wrap}\r\n.tab{font:inherit;font-size:13.5px;font-weight:600;color:var(--muted);background:#fff;border:1.5px solid var(--line);border-radius:999px;padding:7px 14px;cursor:pointer;transition:all .15s}\r\n.tab:hover{color:var(--indigo);border-color:#C7D2FE}\r\n.tab.on{background:var(--indigo);border-color:var(--indigo);color:#fff}\r\n.swatches{display:flex;gap:8px;flex-wrap:wrap}\r\n.sw{width:36px;height:36px;border-radius:10px;border:2px solid #fff;box-shadow:0 0 0 1.5px var(--line);cursor:pointer;transition:transform .1s}\r\n.sw:hover{transform:scale(1.08)}\r\n.sw.on{box-shadow:0 0 0 2.5px var(--indigo)}\r\n\r\n\/* SEO content *\/\r\n.seo{margin-top:28px;display:grid;grid-template-columns:1fr 1fr;gap:20px}\r\n@media(max-width:800px){.seo{grid-template-columns:1fr}}\r\n.seo ol{margin:0;padding-left:20px;display:grid;gap:8px;font-size:14.5px}\r\ndetails{border-bottom:1px solid var(--line);padding:10px 0}\r\ndetails:last-child{border:0}\r\nsummary{cursor:pointer;font-weight:600;font-size:14.5px}\r\ndetails p{margin:8px 0 0;font-size:14px;color:var(--muted)}\r\n\r\nfooter{border-top:1px solid var(--line);padding:22px 0;color:var(--muted);font-size:13.5px;background:#fff}\r\nfooter .wrap{display:flex;justify-content:space-between;gap:12px;flex-wrap:wrap}\r\n\r\n.toast{position:fixed;left:50%;bottom:28px;transform:translateX(-50%) translateY(20px);background:var(--navy);color:#fff;padding:11px 18px;border-radius:12px;font-size:14px;font-weight:500;opacity:0;pointer-events:none;transition:all .25s;z-index:99;box-shadow:0 10px 30px rgba(15,23,42,.3)}\r\n.toast.show{opacity:1;transform:translateX(-50%) translateY(0)}\r\n.sr{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0)}\r\n:focus-visible{outline:3px solid rgba(79,70,229,.45);outline-offset:2px}\r\n\r\n.topbar .wrap{height:60px}\r\n.switch{position:sticky;top:0;z-index:60;background:rgba(255,255,255,.95);backdrop-filter:saturate(1.4) blur(10px);-webkit-backdrop-filter:saturate(1.4) blur(10px);border-bottom:1px solid var(--line)}\r\n.switch>.wrap{display:flex;align-items:center;gap:10px;padding:9px 20px}\r\n.sp{flex:none;display:inline-flex;align-items:center;gap:8px;font:inherit;font-size:14px;font-weight:600;color:var(--text);padding:8px 14px;border-radius:999px;white-space:nowrap;transition:all .15s;border:1.5px solid var(--line);background:#fff;cursor:pointer}\r\n.sp svg{width:17px;height:17px}\r\n.sp:hover{color:var(--indigo);background:var(--soft-indigo);text-decoration:none;border-color:#C7D2FE}\r\n.sp.on{background:var(--indigo);color:#fff;border-color:var(--indigo)}\r\n.cur{font-size:14px;font-weight:700;color:var(--indigo);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;min-width:0}\r\n.cur::before{content:\"\/\";color:var(--line);margin-right:10px;font-weight:400}\r\n.grow{flex:1}\r\n.sbox{position:relative;flex:1;max-width:380px;margin-left:auto}\r\n.sbox svg{position:absolute;left:12px;top:50%;transform:translateY(-50%);width:17px;height:17px;color:var(--muted);pointer-events:none}\r\n.sbox input{padding:9px 12px 9px 38px;border-radius:999px;font-size:14px;background:var(--bg)}\r\n.sres{position:absolute;left:0;right:0;top:calc(100% + 8px);background:#fff;border:1px solid var(--line);border-radius:14px;box-shadow:0 16px 40px rgba(15,23,42,.16);padding:6px;max-height:380px;overflow:auto;z-index:70;min-width:300px}\r\n.sres[hidden]{display:none}\r\n.sres a{display:flex;gap:10px;align-items:center;padding:9px 10px;border-radius:10px;color:var(--text)}\r\n.sres a:hover,.sres a.sel{background:var(--soft-indigo);text-decoration:none}\r\n.sres small{display:block;color:var(--muted);font-size:12.5px;line-height:1.3}\r\n.sres b{font-size:14px}\r\n.sres .none{padding:12px;color:var(--muted);font-size:14px}\r\n.mi{flex:none;width:30px;height:30px;border-radius:9px;display:inline-flex;align-items:center;justify-content:center;color:var(--c);background:color-mix(in srgb,var(--c) 12%,#fff)}\r\n.mi svg{width:16px;height:16px;position:static;transform:none}\r\n.mega{position:absolute;left:0;right:0;top:100%;background:#fff;border-bottom:1px solid var(--line);box-shadow:0 24px 50px rgba(15,23,42,.14);z-index:65}\r\n.mega[hidden]{display:none}\r\n.mgrid{display:grid;grid-template-columns:1fr 1fr;gap:10px 32px;padding-top:20px;padding-bottom:22px}\r\n.mcol h4{margin:0 0 8px;font-size:12px;letter-spacing:.06em;text-transform:uppercase;color:var(--muted)}\r\n.mcol a{display:flex;align-items:center;gap:10px;padding:7px 8px;border-radius:10px;color:var(--text);font-size:14.5px;font-weight:500}\r\n.mcol a:hover{background:var(--soft-indigo);text-decoration:none;color:var(--indigo)}\r\n.panel[hidden]{display:none!important}\r\n.sticky{top:76px}\r\n.hero.compact{padding:26px 0 56px}\r\n.hero.compact h1{font-size:clamp(26px,3.6vw,38px)}\r\n.hero.compact p{font-size:clamp(14.5px,1.5vw,17px)}\r\n.hsearch{position:relative;max-width:560px;margin-top:24px}\r\n.hsearch svg{position:absolute;left:16px;top:50%;transform:translateY(-50%);width:20px;height:20px;color:var(--muted);pointer-events:none}\r\n.hsearch input{padding:15px 16px 15px 46px;border-radius:14px;border:0;font-size:16px;box-shadow:0 10px 30px rgba(0,0,0,.25)}\r\n.hgroup{margin-bottom:30px}\r\n.hgroup[hidden]{display:none}\r\n.ghead{margin-bottom:14px}\r\n.ghead h2{margin:0;font-size:22px;letter-spacing:-.02em}\r\n.ghead p{margin:2px 0 0;color:var(--muted);font-size:14.5px}\r\n.hub{display:grid;grid-template-columns:repeat(auto-fill,minmax(290px,1fr));gap:16px}\r\n.tool{display:block;position:relative;background:#fff;border:1px solid var(--line);border-radius:18px;padding:22px;box-shadow:var(--shadow);color:var(--text);transition:transform .18s,border-color .18s,box-shadow .18s}\r\n.tool:hover{text-decoration:none;transform:translateY(-4px);border-color:#C7D2FE;box-shadow:0 14px 34px rgba(79,70,229,.14)}\r\n.tool[hidden]{display:none}\r\n.tool .ic{width:50px;height:50px;border-radius:14px;display:flex;align-items:center;justify-content:center;color:var(--c);background:color-mix(in srgb,var(--c) 12%,#fff);margin-bottom:14px}\r\n.tool .ic svg{width:25px;height:25px}\r\n.tool .tg{position:absolute;top:20px;right:20px}\r\n.tg{font-size:11.5px;font-weight:700;color:var(--muted);background:var(--bg);border:1px solid var(--line);padding:3px 10px;border-radius:999px;white-space:nowrap}\r\n.tool h3{font-size:17px;margin:0 0 6px;letter-spacing:-.01em}\r\n.tool p{margin:0 0 12px;color:var(--muted);font-size:14.5px}\r\n.tool .go{font-weight:700;color:var(--indigo);font-size:14px}\r\n.tasks{display:grid;grid-template-columns:repeat(auto-fill,minmax(290px,1fr));gap:10px}\r\n.task{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:12px 14px;border:1.5px solid var(--line);border-radius:12px;color:var(--text);font-size:14.5px;font-weight:500;transition:all .15s}\r\n.task b{color:var(--indigo)}\r\n.task:hover{text-decoration:none;border-color:#C7D2FE;background:var(--soft-indigo)}\r\n.pn{display:flex;justify-content:space-between;gap:12px;margin-top:26px}\r\n.pn a{display:inline-flex;gap:8px;padding:11px 16px;border:1.5px solid var(--line);background:#fff;border-radius:12px;color:var(--text);font-weight:600;font-size:14px;max-width:48%}\r\n.pn a span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}\r\n.pn a:hover{text-decoration:none;border-color:#C7D2FE;background:var(--soft-indigo)}\r\n.more{margin-top:30px;padding-top:24px;border-top:1px solid var(--line)}\r\n.more h2{font-size:18px;margin:0 0 14px}\r\n.minis{display:grid;grid-template-columns:repeat(auto-fill,minmax(240px,1fr));gap:12px}\r\n.mini{display:flex;gap:12px;align-items:center;background:#fff;border:1px solid var(--line);border-radius:14px;padding:12px 14px;color:var(--text);transition:all .15s}\r\n.mini:hover{text-decoration:none;border-color:#C7D2FE;transform:translateY(-2px);box-shadow:var(--shadow)}\r\n.mini .ic{flex:none;width:38px;height:38px;border-radius:10px;display:flex;align-items:center;justify-content:center;color:var(--c);background:color-mix(in srgb,var(--c) 12%,#fff)}\r\n.mini .ic svg{width:20px;height:20px}\r\n.mini b{display:block;font-size:14px;line-height:1.25}\r\n.mini span{font-size:12.5px;color:var(--muted);line-height:1.3;display:block}\r\n\r\n\/* tool UI *\/\r\n.layout{grid-template-columns:minmax(300px,410px) minmax(0,1fr)}\r\n.toolbar{display:flex;gap:8px;align-items:center;flex-wrap:wrap;margin-bottom:14px}\r\n.out{display:grid;grid-template-columns:minmax(0,1fr);min-width:0;gap:16px;align-content:start}\r\n.chk{display:flex;flex-wrap:wrap;gap:8px}\r\n.chip{display:inline-flex;margin:0;cursor:pointer}\r\n.chip input{position:absolute;opacity:0;pointer-events:none}\r\n.chip span{font-size:13px;font-weight:600;padding:6px 12px;border-radius:999px;border:1.5px solid var(--line);background:#fff;color:var(--muted);transition:all .15s}\r\n.chip input:checked+span{background:var(--indigo);border-color:var(--indigo);color:#fff}\r\n.chip input:focus-visible+span{outline:3px solid rgba(79,70,229,.45);outline-offset:2px}\r\n.field[hidden]{display:none}\r\n.empty{text-align:center;background:#fff;border:1.5px dashed var(--line);border-radius:16px;padding:40px 20px}\r\n.empty .eic{width:52px;height:52px;margin:0 auto 10px;border-radius:14px;background:var(--soft-indigo);color:var(--indigo);display:flex;align-items:center;justify-content:center}\r\n.empty .eic svg{width:26px;height:26px}\r\n.empty p{color:var(--muted);margin:4px 0 14px;font-size:14.5px}\r\n.stats{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:12px}\r\n.stat{background:#fff;border:1px solid var(--line);border-radius:14px;padding:14px 16px;box-shadow:var(--shadow)}\r\n.stat span{display:block;font-size:12.5px;color:var(--muted);font-weight:600}\r\n.stat b{display:block;font-size:22px;letter-spacing:-.02em;margin-top:2px}\r\n.stat em{display:block;font-style:normal;font-size:12.5px;color:var(--muted);margin-top:2px}\r\n.callout{border-radius:12px;padding:12px 14px;font-size:14px;line-height:1.5;background:var(--soft-indigo);border:1px solid #C7D2FE;color:#312E81}\r\n.callout.warn{background:#FFFBEB;border-color:#FDE68A;color:#78350F}\r\n.rsec,.rcard,.tw,.doc{background:#fff;border:1px solid var(--line);border-radius:16px;box-shadow:var(--shadow)}\r\n.rsec{padding:16px 18px}\r\n.rh{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:10px}\r\n.rh h3,.rtitle{margin:0;font-size:16px;letter-spacing:-.01em}\r\n.rtitle{margin-bottom:4px}\r\n.rnote{margin:-4px 0 10px;font-size:13px;color:var(--muted)}\r\n.ritems{list-style:none;margin:0;padding:0}\r\n.ri{display:flex;justify-content:space-between;align-items:flex-start;gap:12px;padding:10px 0;border-top:1px solid var(--line)}\r\n.ri:first-child{border-top:0}\r\n.rt{font-size:14.5px;line-height:1.5;white-space:pre-wrap;word-break:break-word;min-width:0}\r\n.rt small{display:block;color:var(--muted);font-size:12.5px;margin-top:2px}\r\n.rm{display:flex;align-items:center;gap:8px;flex:none}\r\n.cp{font:inherit;font-size:12.5px;font-weight:700;color:var(--indigo);background:var(--soft-indigo);border:0;border-radius:8px;padding:5px 10px;cursor:pointer;white-space:nowrap;transition:background .15s}\r\n.cp:hover{background:#E0E7FF}\r\n.cp:active{transform:translateY(1px)}\r\n.bdg{font-size:11.5px;font-weight:700;padding:3px 8px;border-radius:999px;background:var(--bg);color:var(--muted);border:1px solid var(--line);white-space:nowrap}\r\n.bdg.ok{background:#ECFDF5;color:#047857;border-color:#A7F3D0}\r\n.bdg.warn{background:#FFFBEB;color:#B45309;border-color:#FDE68A}\r\n.bdg.bad{background:#FEF2F2;color:#B91C1C;border-color:#FECACA}\r\n.rcards{display:grid;grid-template-columns:repeat(auto-fill,minmax(min(100%,310px),1fr));gap:14px}\r\n.rcard{padding:16px 18px}\r\n.rch{display:flex;align-items:center;gap:8px;margin-bottom:10px;flex-wrap:wrap}\r\n.rch b{font-size:15px}\r\n.rf{padding:10px 0;border-top:1px solid var(--line)}\r\n.rf label{font-size:11.5px;font-weight:700;letter-spacing:.05em;text-transform:uppercase;color:var(--muted);margin:0 0 4px}\r\n.rtxt{font-size:14.5px;line-height:1.55;white-space:pre-wrap;word-break:break-word}\r\n.rf .rm{margin-top:8px}\r\n.tw{overflow:auto}\r\n.tw table{width:100%;border-collapse:collapse;font-size:14px}\r\n.tw th{background:var(--bg);text-align:left;font-size:12px;letter-spacing:.04em;text-transform:uppercase;color:var(--muted);padding:10px 14px;white-space:nowrap}\r\n.tw td{padding:10px 14px;border-top:1px solid var(--line);vertical-align:top}\r\n.tw td .cp{margin-left:6px;padding:3px 8px}\r\n.rh+.tw,.rnote+.tw{margin-top:0}\r\n.rpre{margin:0;background:var(--bg);border-radius:12px;padding:14px;font:13.5px\/1.55 ui-monospace,Menlo,Consolas,monospace;white-space:pre-wrap;word-break:break-word;max-height:300px;overflow:auto}\r\n.doc{padding:20px 22px}\r\n.doc h4{margin:16px 0 4px;font-size:13px;letter-spacing:.05em;text-transform:uppercase;color:var(--indigo)}\r\n.doc p{margin:0;font-size:14.5px}\r\n.doc ul{margin:4px 0 0;padding-left:20px;font-size:14.5px}\r\n.prog{display:flex;align-items:center;gap:12px;margin-bottom:12px}\r\n.bar{flex:1;max-width:300px;height:10px;border-radius:999px;background:#E2E8F0;overflow:hidden}\r\n.bar i{display:block;height:100%;width:0;background:linear-gradient(90deg,var(--indigo),var(--green));transition:width .25s}\r\n.pt{font-size:13.5px;font-weight:700}\r\n.cl{display:grid;gap:14px}\r\n.cli{list-style:none;margin:0;padding:0}\r\n.clrow{display:flex;gap:12px;align-items:flex-start;padding:10px 0;border-top:1px solid var(--line);cursor:pointer;margin:0;font-weight:400}\r\n.cli li:first-child .clrow{border-top:0}\r\n.clrow input{width:20px;height:20px;margin-top:2px;accent-color:var(--green);flex:none}\r\n.clrow b{font-weight:600;font-size:14.5px;display:block}\r\n.clrow small{display:block;color:var(--muted);font-size:12.5px;margin-top:2px}\r\n.done .clrow b{color:var(--muted);text-decoration:line-through}\r\n.tree ul{list-style:none;margin:0;padding-left:22px;border-left:2px solid var(--line)}\r\n.tree>ul{padding-left:0;border:0}\r\n.tree li{margin:8px 0}\r\n.tn{display:inline-flex;flex-direction:column;background:var(--bg);border:1px solid var(--line);border-radius:10px;padding:8px 12px;max-width:100%}\r\n.tn b{font-size:14px}\r\n.tn span{font-size:12.5px;color:var(--muted)}\r\n.tn.plat{background:var(--navy);border-color:var(--navy)}\r\n.tn.plat b{color:#fff}\r\n.tn.camp{background:var(--soft-indigo);border-color:#C7D2FE}\r\n.tn.adset{background:#fff}\r\n.tn.ad{background:#FFF7F3;border-color:#FFD9CA}\r\n\/* character checker *\/\r\n.lns{list-style:none;margin:8px 0 0;padding:0;display:grid;gap:6px}\r\n.lns li{display:flex;justify-content:space-between;gap:10px;align-items:center;background:var(--bg);border-radius:10px;padding:7px 10px;font-size:13.5px}\r\n.lns .tx{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;min-width:0}\r\n.meter{height:8px;border-radius:999px;background:#E2E8F0;overflow:hidden;margin-top:8px}\r\n.meter i{display:block;height:100%;background:var(--green);transition:width .15s}\r\n.meter.warn i{background:#F59E0B}\r\n.meter.bad i{background:#EF4444}\r\n.mrow{display:flex;justify-content:space-between;align-items:center;margin-top:6px;font-size:13px}\r\n.mrow .over{color:#B91C1C;font-weight:700}\r\n.mrow .left{color:var(--muted)}\r\n@media(max-width:700px){.mgrid{grid-template-columns:1fr}.mega{max-height:70vh;overflow:auto}.cur{display:none}.sbox{max-width:none}.switch>.wrap{flex-wrap:wrap}.sbox{flex:1 1 100%;order:3;margin:0}.sres{min-width:0}.ri{flex-direction:column}.rm{width:100%;justify-content:space-between}.pn a{max-width:none;flex:1}}\r\n@media(max-width:520px){.topbar .topnav{display:none}}\r\n\r\n.tw{overflow-x:auto;max-width:100%}\r\n.rsec,.rcard,.doc,.callout{min-width:0;overflow-wrap:anywhere}\r\n@media(max-width:700px){.layout{grid-template-columns:minmax(0,1fr)!important}}\r\n.pn a{min-width:0}.pn{min-width:0}\r\n.lns{grid-template-columns:minmax(0,1fr)}.lns li{min-width:0}\r\n.panel,.panel .wrap,.layout>*{min-width:0}\r\n#home-panel .main{margin-top:0;padding-top:32px}\r\n.iss{list-style:none;margin:0;padding:6px 0 0;display:grid;gap:8px}\r\n.is{display:flex;gap:12px;align-items:flex-start;padding:10px 12px;border-radius:12px;background:var(--bg);border:1px solid var(--line)}\r\n.is .id{flex:none;width:24px;height:24px;border-radius:50%;display:grid;place-items:center;font-weight:800;font-size:13px;color:#fff;background:var(--muted);margin-top:1px}\r\n.is.ok .id{background:#10B981}.is.warn .id{background:#F59E0B}.is.bad .id{background:#EF4444}.is.info .id{background:#4F46E5}\r\n.is b{font-size:14.5px}.is p{margin:2px 0 0;font-size:13.5px;color:var(--muted);line-height:1.5;overflow-wrap:anywhere}\r\n.filebar{display:flex;gap:10px;flex-wrap:wrap}\r\n.spin{width:30px;height:30px;border-radius:50%;border:3px solid var(--line);border-top-color:#4F46E5;margin:0 auto 10px;animation:sp .8s linear infinite}\r\n@keyframes sp{to{transform:rotate(360deg)}}\r\n.legal{border-radius:12px;padding:12px 14px;font-size:13.5px;line-height:1.5;background:#FFFBEB;border:1px solid #FDE68A;color:#78350F}\r\n.rpre{white-space:pre-wrap;overflow-wrap:anywhere;word-break:break-word}\r\n@media(prefers-reduced-motion:reduce){.spin{animation:none}}\r\n.fup-row{margin-top:6px;font-size:13px;color:var(--muted)}.fup{font-size:13px;max-width:100%}\r\n\r\n<\/style>\r\n<\/head>\r\n<body>\r\n<header class=\"topbar\"><div class=\"wrap\">\r\n  <a class=\"brand\" href=\"#home\"><svg viewBox=\"0 0 40 40\" aria-hidden=\"true\"><circle cx=\"20\" cy=\"20\" r=\"16\" fill=\"none\" stroke=\"#FF6B35\" stroke-width=\"4\"\/><rect x=\"12\" y=\"21\" width=\"4\" height=\"8\" rx=\"1\" fill=\"#fff\"\/><rect x=\"18\" y=\"16\" width=\"4\" height=\"13\" rx=\"1\" fill=\"#fff\"\/><rect x=\"24\" y=\"12\" width=\"4\" height=\"17\" rx=\"1\" fill=\"#fff\"\/><path d=\"M27 3l7 0-0 7\" fill=\"none\" stroke=\"#FF6B35\" stroke-width=\"3\" stroke-linecap=\"round\" stroke-linejoin=\"round\" transform=\"translate(-1 2)\"\/><\/svg><span>Onground Media<small>Free marketing tools<\/small><\/span><\/a>\r\n  <nav class=\"topnav\" aria-label=\"Main\"><a href=\"#home\">Deliverability, Compliance &amp; List Health Tools<\/a><\/nav>\r\n<\/div><\/header>\r\n<nav class=\"switch\" aria-label=\"Email tools\" id=\"bar\"><div class=\"wrap\">\r\n  <a class=\"sp\" href=\"#home\" data-route=\"home\"><svg viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\" aria-hidden=\"true\"><path d=\"M3 11l9-8 9 8\"\/><path d=\"M5 10v10h14V10\"\/><\/svg><span>All tools<\/span><\/a>\r\n  <button type=\"button\" class=\"sp\" id=\"mega-btn\" aria-expanded=\"false\" aria-controls=\"mega\"><svg viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\" aria-hidden=\"true\"><rect x=\"3\" y=\"3\" width=\"7\" height=\"7\" rx=\"1.5\"\/><rect x=\"14\" y=\"3\" width=\"7\" height=\"7\" rx=\"1.5\"\/><rect x=\"3\" y=\"14\" width=\"7\" height=\"7\" rx=\"1.5\"\/><rect x=\"14\" y=\"14\" width=\"7\" height=\"7\" rx=\"1.5\"\/><\/svg><span>Browse tools \u25be<\/span><\/button>\r\n  <span class=\"cur\" id=\"cur\" hidden><\/span>\r\n  <div class=\"sbox\"><svg viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" aria-hidden=\"true\"><circle cx=\"11\" cy=\"11\" r=\"7\"\/><path d=\"M20 20l-3.5-3.5\"\/><\/svg><label for=\"top-q\" class=\"sr\">Search tools<\/label><input type=\"search\" id=\"top-q\" placeholder=\"Search 18 tools\u2026\" autocomplete=\"off\"><div class=\"sres\" id=\"top-res\" hidden><\/div><\/div>\r\n<\/div>\r\n<div class=\"mega\" id=\"mega\" hidden><\/div><\/nav>\r\n\r\n<div class=\"panel\" id=\"home-panel\" data-route=\"home\">\r\n<section class=\"hero\"><div class=\"wrap\">\r\n  <div class=\"crumbs\">Free Marketing Tools \/ Email<\/div>\r\n  <span class=\"pill\">\u25cf 18 free tools \u00b7 No signup \u00b7 Most run in your browser<\/span>\r\n  <h1>Deliverability, Compliance &amp; List Health Tools<\/h1>\r\n  <p>Get your emails into the inbox. Check SPF, DKIM and DMARC, avoid spam filters, clean your list and stay on the right side of the rules, with free checkers, generators and checklists.<\/p>\r\n  <div class=\"hsearch\"><svg viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" aria-hidden=\"true\"><circle cx=\"11\" cy=\"11\" r=\"7\"\/><path d=\"M20 20l-3.5-3.5\"\/><\/svg><label for=\"hm-q\" class=\"sr\">Find a tool<\/label><input type=\"search\" id=\"hm-q\" placeholder=\"Find a tool: try \u201cspf\u201d, \u201cspam\u201d, \u201clist\u201d, \u201cconsent\u201d\u2026\" autocomplete=\"off\"><\/div>\r\n<\/div><\/section>\r\n<main class=\"wrap main\">\r\n  <div id=\"hm-hub\"><\/div>\r\n  <p class=\"hint\" id=\"hm-empty\" style=\"display:none;text-align:center;padding:24px 0\">No tool matches that search. Try \u201cspf\u201d, \u201cspam\u201d, \u201clist\u201d or \u201cconsent\u201d.<\/p>\r\n  <div class=\"card\" style=\"margin-top:8px\"><h2>What do you want to do?<\/h2><div class=\"tasks\"><a class=\"task\" href=\"#email-spam-score-tester\"><span>Check why my emails go to spam<\/span><b>\u2192<\/b><\/a><a class=\"task\" href=\"#spam-word-checker\"><span>Find spam words in my email<\/span><b>\u2192<\/b><\/a><a class=\"task\" href=\"#spf-checker\"><span>Check my SPF record<\/span><b>\u2192<\/b><\/a><a class=\"task\" href=\"#dkim-checker\"><span>Check my DKIM key<\/span><b>\u2192<\/b><\/a><a class=\"task\" href=\"#dmarc-checker\"><span>Check my DMARC policy<\/span><b>\u2192<\/b><\/a><a class=\"task\" href=\"#spf-record-generator\"><span>Create an SPF or DMARC record<\/span><b>\u2192<\/b><\/a><a class=\"task\" href=\"#email-blacklist-checker\"><span>Check if I am blacklisted<\/span><b>\u2192<\/b><\/a><a class=\"task\" href=\"#email-warmup-planner\"><span>Warm up a new domain or IP<\/span><b>\u2192<\/b><\/a><a class=\"task\" href=\"#email-list-cleaner\"><span>Clean my email list<\/span><b>\u2192<\/b><\/a><a class=\"task\" href=\"#bulk-email-verifier\"><span>Check a list for bad addresses<\/span><b>\u2192<\/b><\/a><a class=\"task\" href=\"#unsubscribe-footer-generator\"><span>Add an unsubscribe footer<\/span><b>\u2192<\/b><\/a><a class=\"task\" href=\"#consent-optin-text-generator\"><span>Write opt-in form text<\/span><b>\u2192<\/b><\/a><\/div><\/div>\r\n  <div class=\"seo\">\r\n    <div class=\"card\"><h2>How these tools work<\/h2><ol><li>Pick a tool from the cards, the menu or the search bar.<\/li><li>Fill in your details. Example text is already there, so you can see results straight away.<\/li><li>Copy the result or download it. Lists and email text stay in your browser.<\/li><\/ol><\/div>\r\n    <div class=\"card\"><h2>Questions<\/h2>\r\n      <details><summary>Are the tools really free?<\/summary><p>Yes. They are free, need no account and add no watermark.<\/p><\/details>\r\n      <details><summary>Do the checkers use real inbox tests?<\/summary><p>No. The spam tools check your text against fixed rules and word lists. They cannot see your sender reputation or how Gmail or Outlook will treat a message. Use them as a first check.<\/p><\/details><details><summary>Is this legal advice?<\/summary><p>No. The compliance tools give general information only. Laws change and depend on your country and business, so please check with a qualified lawyer.<\/p><\/details>\r\n      <details><summary>Does my data leave my device?<\/summary><p>Your email text and lists stay in your browser. The SPF, DKIM, DMARC, blacklist and address validator tools look up public DNS records, so the domain name you enter is sent to a public DNS service (Google, with Cloudflare as backup). Nothing else is sent.<\/p><\/details>\r\n    <\/div>\r\n  <\/div>\r\n<\/main><\/div>\r\n<div id=\"panels\"><\/div>\r\n<footer><div class=\"wrap\"><span>&copy; Onground Media &middot; Free email deliverability, compliance &amp; list health tools<\/span><a href=\"#home\">All email tools<\/a><\/div><\/footer>\r\n<div class=\"toast\" id=\"toast\" role=\"status\" aria-live=\"polite\"><\/div>\r\n<script>\r\n\/* shared helpers *\/\r\n(function(){\r\n  var t;\r\n  window.toast=function(msg){\r\n    var el=document.getElementById('toast');\r\n    if(!el)return;\r\n    el.textContent=msg;el.classList.add('show');\r\n    clearTimeout(t);t=setTimeout(function(){el.classList.remove('show');},2200);\r\n  };\r\n  window.$=function(s,r){return (r||document).querySelector(s);};\r\n  window.$$=function(s,r){return Array.prototype.slice.call((r||document).querySelectorAll(s));};\r\n  window.debounce=function(fn,ms){var h;return function(){var a=arguments,c=this;clearTimeout(h);h=setTimeout(function(){fn.apply(c,a);},ms||120);};};\r\n  window.downloadBlob=function(blob,name){\r\n    var a=document.createElement('a');\r\n    var url=URL.createObjectURL(blob);\r\n    a.href=url;a.download=name;document.body.appendChild(a);a.click();\r\n    setTimeout(function(){URL.revokeObjectURL(url);a.remove();},400);\r\n  };\r\n  window.downloadCanvas=function(canvas,name,type,quality){\r\n    type=type||'image\/png';\r\n    if(canvas.toBlob){\r\n      canvas.toBlob(function(b){if(b)downloadBlob(b,name);else toast('Could not create the file');},type,quality||0.92);\r\n    }else{\r\n      var a=document.createElement('a');a.href=canvas.toDataURL(type,quality);a.download=name;a.click();\r\n    }\r\n  };\r\n  window.copyText=function(txt){\r\n    if(navigator.clipboard&&navigator.clipboard.writeText){\r\n      return navigator.clipboard.writeText(txt).then(function(){toast('Copied');},function(){fallback();});\r\n    }\r\n    fallback();\r\n    function fallback(){\r\n      var ta=document.createElement('textarea');ta.value=txt;ta.style.position='fixed';ta.style.opacity='0';\r\n      document.body.appendChild(ta);ta.select();\r\n      try{document.execCommand('copy');toast('Copied');}catch(e){toast('Copy failed');}\r\n      ta.remove();\r\n    }\r\n  };\r\n  window.hexLum=function(hex){\r\n    var h=hex.replace('#','');if(h.length===3)h=h.replace(\/(.)\/g,'$1$1');\r\n    var c=[0,2,4].map(function(i){var v=parseInt(h.substr(i,2),16)\/255;return v<=0.03928?v\/12.92:Math.pow((v+0.055)\/1.055,2.4);});\r\n    return 0.2126*c[0]+0.7152*c[1]+0.0722*c[2];\r\n  };\r\n  window.contrast=function(a,b){var la=hexLum(a),lb=hexLum(b);var hi=Math.max(la,lb),lo=Math.min(la,lb);return (hi+0.05)\/(lo+0.05);};\r\n})();\r\n\r\n<\/script>\r\n<script>\r\nwindow.SITE_GROUPS={\"deliv\": {\"name\": \"Deliverability\", \"desc\": \"Stay out of spam: check content, DNS records and blacklists.\"}, \"list\": {\"name\": \"List Health\", \"desc\": \"Clean and check your email addresses.\"}, \"comp\": {\"name\": \"Compliance\", \"desc\": \"Footers, checklists and consent text. General information, not legal advice.\"}};\r\nwindow.HOME_META={\"title\": \"Free Email Deliverability Tools | SPF, DKIM, DMARC\", \"meta\": \"Check spam words, SPF, DKIM, DMARC and blacklists, generate DNS records, and plan your email warm-up. Free email deliverability tools.\"};\r\n\/* Core helpers + tool registry. Tools are defined in tools-*.js via defineTool(). *\/\r\nvar TOOLS=[];\r\nfunction defineTool(t){TOOLS.push(t);}\r\nvar H={};\r\nH.esc=function(s){return String(s).replace(\/[&<>\"']\/g,function(c){return {'&':'&amp;','<':'&lt;','>':'&gt;','\"':'&quot;',\"'\":'&#39;'}[c];});};\r\nH.len=function(s){return Array.from(s).length;};\r\nH.rng=function(seed){var a=seed>>>0;return function(){a=(a+0x6D2B79F5)|0;var t=Math.imul(a^(a>>>15),1|a);t=(t+Math.imul(t^(t>>>7),61|t))^t;return((t^(t>>>14))>>>0)\/4294967296;};};\r\nH.shuffle=function(arr,r){var a=arr.slice(),i,j,t;for(i=a.length-1;i>0;i--){j=Math.floor(r()*(i+1));t=a[i];a[i]=a[j];a[j]=t;}return a;};\r\nH.cap=function(s){return s?s.charAt(0).toUpperCase()+s.slice(1):s;};\r\nH.lines=function(s){return (s||'').split(\/\\r?\\n\/).map(function(x){return x.trim();}).filter(Boolean);};\r\nH.uniq=function(a){var s={},o=[];a.forEach(function(x){var k=String(x).toLowerCase();if(!s[k]){s[k]=1;o.push(x);}});return o;};\r\nH.title=function(s){var small=\/^(a|an|and|as|at|but|by|for|in|of|on|or|the|to|vs|with)$\/i;return s.split(' ').map(function(w,i){if(!w)return w;if(i>0&&small.test(w))return w.toLowerCase();if(\/[A-Z]\/.test(w.slice(1)))return w;return w.charAt(0).toUpperCase()+w.slice(1);}).join(' ');};\r\nH.clean=function(s){return s.replace(\/[ \\t]+\/g,' ').replace(\/ +([,.!?;:])\/g,'$1').replace(\/([!?])\\.\/g,'$1').replace(\/([.!?,])\\1+\/g,'$1').replace(\/[ \\t]+\\n\/g,'\\n').replace(\/\\n[ \\t]+\/g,'\\n').trim();};\r\nH.sent=function(s){return s.replace(\/(^|[.!?]\\s+|\\n)([a-z])(?![A-Z])\/g,function(m,a,b){return a+b.toUpperCase();});};\r\nH.fill=function(tpl,v){var miss=false;var out=tpl.replace(\/\\{(\\w+)\\}\/g,function(m,k){var x=v[k];if(x===undefined||x===null||String(x).trim()===''){miss=true;return '';}return String(x).trim();});return miss?null:H.sent(H.clean(out));};\r\nH.gen=function(tpls,v,n,r){var o=[];tpls.forEach(function(t){var x=H.fill(t,v);if(x)o.push(x);});o=H.uniq(o);o=H.shuffle(o,r);return n?o.slice(0,n):o;};\r\nH.slug=function(s){return String(s).toLowerCase().replace(\/&\/g,' and ').replace(\/[^a-z0-9]+\/g,'-').replace(\/^-+|-+$\/g,'');};\r\nH.ratio=function(w,h){var C=[[1,'1:1'],[0.8,'4:5'],[0.75,'3:4'],[2\/3,'2:3'],[9\/16,'9:16'],[16\/9,'16:9'],[1.91,'1.91:1'],[4,'4:1'],[1.5,'3:2'],[4\/3,'4:3']],r=w\/h,i;for(i=0;i<C.length;i++){if(Math.abs(r-C[i][0])\/C[i][0]<0.02)return C[i][1];}return r>=1?(r.toFixed(2).replace(\/\\.?0+$\/,'')+':1'):('1:'+(1\/r).toFixed(2).replace(\/\\.?0+$\/,''));};\r\nH.num=function(x,d){if(x===''||x===null||x===undefined||isNaN(x))return '';d=d===undefined?0:d;return Number(x).toLocaleString('en-IN',{maximumFractionDigits:d,minimumFractionDigits:0});};\r\nH.chunk=function(a,n){var o=[],i;for(i=0;i<a.length;i+=n)o.push(a.slice(i,i+n));return o;};\r\nH.stat=function(label,value,sub){return {label:label,value:value,sub:sub||''};};\r\n\/* limits: {rec,max}. status: ok<=rec(or max), warn<=max, bad>max *\/\r\nH.limitBadge=function(text,lim){var n=H.len(text),rec=lim.rec||lim.max,max=lim.max||lim.rec,k=n<=rec?'ok':(n<=max?'warn':'bad');return {text:n+' \/ '+(lim.rec&&lim.max&&lim.rec!==lim.max?lim.rec+' rec.':max),kind:k};};\r\n\/* shared field builders *\/\r\nvar CUR_OPTS=[['\u20b9','\u20b9 INR'],['$','$ USD'],['\u00a3','\u00a3 GBP'],['\u20ac','\u20ac EUR'],['A$','A$ AUD'],['C$','C$ CAD'],['AED ','AED']];\r\nvar CTA_OPTS=['Shop Now','Learn More','Sign Up','Get Quote','Book Now','Order Now','Download','Contact Us','Get Offer','Apply Now','Subscribe','Try It Free'];\r\n\r\n\/* ---- email-page helpers ---- *\/\r\nH.domain=function(s){s=String(s||'').trim().toLowerCase();s=s.replace(\/^[a-z]+:\\\/\\\/\/,'').replace(\/^.*@\/,'').split(\/[\\\/?#:\\s]\/)[0].replace(\/\\.$\/,'');return s;};\r\nH.validDomain=function(d){return \/^(?=.{4,253}$)([a-z0-9]([a-z0-9-]{0,61}[a-z0-9])?\\.)+[a-z]{2,63}$\/.test(d)||\/^(?=.{4,253}$)([a-z0-9-]+\\.)+xn--[a-z0-9-]+$\/.test(d);};\r\nH.isIPv4=function(s){var m=\/^(\\d{1,3})\\.(\\d{1,3})\\.(\\d{1,3})\\.(\\d{1,3})$\/.exec(String(s).trim());return !!m&&m.slice(1).every(function(x){return +x<=255;});};\r\nH.orgDomain=function(d){var p=d.split('.');if(p.length<=2)return d;var sl=p[p.length-2],tld=p[p.length-1];if(tld.length===2&&\/^(co|com|org|net|gov|ac|edu|nic|res|in)$\/.test(sl)&&p.length>=3)return p.slice(-3).join('.');return p.slice(-2).join('.');};\r\nH.parseTxt=function(d){return String(d).replace(\/\"\\s+\"\/g,'').replace(\/^\"|\"$\/g,'').replace(\/\\\\\"\/g,'\"');};\r\nH.timeout=function(ms,p){return new Promise(function(res,rej){var t=setTimeout(function(){rej(new Error('timeout'));},ms);p.then(function(x){clearTimeout(t);res(x);},function(e){clearTimeout(t);rej(e);});});};\r\n\/* DNS over HTTPS lookup. Returns {ok,status,answers:[{type,data}],err}. status 3 = NXDOMAIN, 0 = NOERROR *\/\r\nH.dns=function(name,type){\r\n  var T={A:1,AAAA:28,MX:15,TXT:16,CNAME:5,NS:2};\r\n  function parse(j){return {ok:true,status:j.Status,answers:(j.Answer||[]).filter(function(a){return a.type===T[type]||(T[type]===16&&a.type===16);}).map(function(a){return {type:type,data:a.data,ttl:a.TTL};})};}\r\n  function g(){return H.timeout(8000,fetch('https:\/\/dns.google\/resolve?name='+encodeURIComponent(name)+'&type='+type,{headers:{accept:'application\/dns-json'}}).then(function(r){if(!r.ok)throw new Error('http '+r.status);return r.json();})).then(parse);}\r\n  function c(){return H.timeout(8000,fetch('https:\/\/cloudflare-dns.com\/dns-query?name='+encodeURIComponent(name)+'&type='+type,{headers:{accept:'application\/dns-json'}}).then(function(r){if(!r.ok)throw new Error('http '+r.status);return r.json();})).then(parse);}\r\n  return g().catch(function(){return c();}).catch(function(e){return {ok:false,status:-1,answers:[],err:e.message};});\r\n};\r\nH.issue=function(kind,title,text){return {kind:kind,title:title,text:text||''};};\r\nH.LEGAL='This tool gives general information, not legal advice. Laws change and depend on your country and business. Please check with a qualified lawyer before you rely on it.';\r\n\/* Email parsing and checks, shared by list tools *\/\r\nvar EMAIL_FIND=\/[^\\s<>\"',;:()\\[\\]\\\\]+@[^\\s<>\"',;:()\\[\\]\\\\]+\/g;\r\nH.parseEmails=function(text){\r\n  var out=[],lines=String(text||'').split(\/\\r?\\n\/),i,m;\r\n  var first=true;\r\n  lines.forEach(function(line){\r\n    var l=line.trim();if(!l)return;\r\n    var isFirst=first;first=false;\r\n    if(\/^[\"']?(e-?mail( address)?|emails?)[\"']?$\/i.test(l))return;\r\n    if(isFirst&&l.indexOf('@')<0&&\/e-?mail\/i.test(l))return;\r\n    var ms=l.match(EMAIL_FIND);\r\n    if(ms){ms.forEach(function(x){x=x.replace(\/^mailto:\/i,'').replace(\/[.,;:!?]+$\/,'');out.push({raw:x,email:x});});}\r\n    else out.push({raw:l,email:l,bad:true});\r\n  });\r\n  return out;\r\n};\r\nH.syntaxCheck=function(e){\r\n  var s=String(e).trim();\r\n  if(!s)return 'Empty';\r\n  if(\/\\s\/.test(s))return 'Contains a space';\r\n  var at=s.indexOf('@');\r\n  if(at<0)return 'Missing the @ sign';\r\n  if(s.indexOf('@',at+1)>-1)return 'More than one @ sign';\r\n  var l=s.slice(0,at),d=s.slice(at+1);\r\n  if(!l)return 'Nothing before the @';\r\n  if(!d)return 'Nothing after the @';\r\n  if(s.length>254)return 'Too long';\r\n  if(l.length>64)return 'Part before @ is too long (max 64)';\r\n  if(!\/^[A-Za-z0-9.!#$%&'*+\\\/=?^_`{|}~-]+$\/.test(l))return 'Has a character that is not allowed before the @';\r\n  if(l.charAt(0)==='.'||l.charAt(l.length-1)==='.')return 'Starts or ends with a dot before the @';\r\n  if(l.indexOf('..')>-1)return 'Has two dots in a row';\r\n  if(d.indexOf('.')<0)return 'Domain has no dot (for example gmail.com)';\r\n  if(d.indexOf('..')>-1)return 'Domain has two dots in a row';\r\n  var labs=d.split('.'),k;\r\n  for(k=0;k<labs.length;k++){var b=labs[k];if(!b||b.length>63||!\/^[A-Za-z0-9-]+$\/.test(b)||b.charAt(0)==='-'||b.charAt(b.length-1)==='-')return 'Domain has an invalid part';}\r\n  var tld=labs[labs.length-1];\r\n  if(!\/^([A-Za-z]{2,63}|xn--[A-Za-z0-9-]+)$\/.test(tld))return 'Ending (like .com) is not valid';\r\n  return '';\r\n};\r\nvar COMMON_DOMAINS=['gmail.com','yahoo.com','yahoo.co.in','yahoo.in','hotmail.com','outlook.com','live.com','icloud.com','rediffmail.com','protonmail.com','proton.me','aol.com','msn.com','zoho.com','me.com','gmx.com','mail.com'];\r\nfunction lev(a,b){var m=a.length,n=b.length,d=[],i,j;for(i=0;i<=m;i++){d[i]=[i];}for(j=1;j<=n;j++)d[0][j]=j;for(i=1;i<=m;i++)for(j=1;j<=n;j++)d[i][j]=Math.min(d[i-1][j]+1,d[i][j-1]+1,d[i-1][j-1]+(a.charAt(i-1)===b.charAt(j-1)?0:1));return d[m][n];}\r\nH.typoFix=function(email){\r\n  var at=email.lastIndexOf('@');if(at<0)return '';\r\n  var d=email.slice(at+1).toLowerCase();\r\n  if(COMMON_DOMAINS.indexOf(d)>-1)return '';\r\n  var best='',bd=3,i;\r\n  COMMON_DOMAINS.forEach(function(c){var x=lev(d,c);if(x<bd){bd=x;best=c;}});\r\n  if(best&&bd<=2&&d.length>=6)return email.slice(0,at+1)+best;\r\n  var fixTld=d.replace(\/\\.(con|cmo|vom|xom|cim|comm|c0m|ocm)$\/,'.com').replace(\/\\.(ney|nte|ent)$\/,'.net').replace(\/\\.(ogr|orgg)$\/,'.org').replace(\/\\.(in{2,}|inn)$\/,'.in');\r\n  if(fixTld!==d)return email.slice(0,at+1)+fixTld;\r\n  return '';\r\n};\r\nH.ROLES=['info','admin','administrator','support','help','helpdesk','contact','contactus','sales','marketing','office','hello','hi','team','mail','email','enquiry','enquiries','inquiry','inquiries','billing','accounts','accounting','finance','hr','careers','jobs','recruitment','press','media','pr','news','newsletter','noreply','no-reply','donotreply','do-not-reply','webmaster','postmaster','hostmaster','abuse','security','privacy','legal','compliance','feedback','service','services','customerservice','customercare','care','orders','order','booking','bookings','reservations','reception','general','operations','ops','dev','tech','it','sysadmin','root','manager','director','ceo','founder','owner','partners','partnership','advertising','ads','subscribe','unsubscribe','bounce','bounces','mailer-daemon','listserv'];\r\nH.roleOf=function(email){var at=email.lastIndexOf('@');if(at<0)return '';var l=email.slice(0,at).toLowerCase();if(H.ROLES.indexOf(l)>-1)return l;var m=\/^([a-z-]+?)[._-]?\\d+$\/.exec(l);if(m&&H.ROLES.indexOf(m[1])>-1)return m[1];return '';};\r\nH.DISP=['mailinator.com','guerrillamail.com','guerrillamail.net','guerrillamail.org','guerrillamail.biz','guerrillamail.de','guerrillamailblock.com','sharklasers.com','grr.la','pokemail.net','spam4.me','10minutemail.com','10minutemail.net','10minutemail.org','10minemail.com','20minutemail.com','temp-mail.org','temp-mail.io','tempmail.com','tempmail.net','tempmail.dev','tempmailo.com','tempail.com','tempr.email','temporary-mail.net','throwawaymail.com','throwaway.email','yopmail.com','yopmail.fr','yopmail.net','cool.fr.nf','jetable.fr.nf','nospam.ze.tc','nomail.xl.cx','mega.zik.dj','speed.1s.fr','courriel.fr.nf','moncourrier.fr.nf','monemail.fr.nf','monmail.fr.nf','trashmail.com','trashmail.net','trashmail.de','trashmail.org','trashmail.me','trash-mail.com','trash-mail.de','getnada.com','nada.email','nada.ltd','dispostable.com','maildrop.cc','mailnesia.com','mailcatch.com','mailnull.com','mailtemp.net','mailtemp.info','mintemail.com','mytemp.email','mytrashmail.com','fakeinbox.com','fakemail.net','fakemailgenerator.com','emailondeck.com','getairmail.com','airmail.cc','harakirimail.com','incognitomail.com','incognitomail.org','instant-mail.de','mohmal.com','mailforspam.com','spambox.us','spamgourmet.com','spamgourmet.net','spamhole.com','spamfree24.org','spam.la','tmail.ws','tmails.net','tmpmail.net','tmpmail.org','tempinbox.com','tempinbox.co.uk','owlymail.com','emltmp.com','mail-temporary.com','burnermail.io','anonbox.net','byom.de','discard.email','discardmail.com','discardmail.de','dropmail.me','emailfake.com','email-fake.com','fakeemail.org','crazymailing.com','deadaddress.com','dayrep.com','einrot.com','fleckens.hu','gustr.com','jourrapide.com','rhyta.com','superrito.com','teleworm.us','armyspy.com','cuvox.de','mail.tm','moakt.com','tmpeml.com','1secmail.com','1secmail.net','1secmail.org','wwjmp.com','esiix.com','xojxe.com','yoggm.com','inboxkitten.com','mailpoof.com','linshiyouxiang.net','33mail.com','mailsac.com','guerrillamail.info','zetmail.com','vusra.com','luxusmail.org','bccto.me','nwytg.net','tafmail.com','emailtemporanea.net','smailpro.com','sute.jp','mailtothis.com','spamex.com','sneakemail.com'];\r\nH.disposable=function(email){var at=email.lastIndexOf('@');if(at<0)return false;var d=email.slice(at+1).toLowerCase();return H.DISP.some(function(x){return d===x||d.slice(-x.length-1)==='.'+x;});};\r\nH.csv=function(rows){return rows.map(function(r){return r.map(function(c){c=String(c===undefined||c===null?'':c);return \/[\",\\n]\/.test(c)?'\"'+c.replace(\/\"\/g,'\"\"')+'\"':c;}).join(',');}).join('\\r\\n');};\r\n\r\n\/* Deliverability tools: 1 spam words, 2 spam score, 6 SPF generator, 7 DMARC generator, 9 warm-up, 10 reputation checklist *\/\r\nvar SPAMW=[\r\n ['free money',2,'Money & prizes','a clear, honest offer'],['100% free',2,'Money & prizes','free (once, with a real reason)'],['cash bonus',2,'Money & prizes','a specific reward'],['you have won',2,'Money & prizes','a real update about their account'],['you\u2019ve won',2,'Money & prizes','a real update about their account'],['winner',2,'Money & prizes','the real reason you are writing'],['congratulations',1,'Money & prizes','a plain thank-you'],['make money',2,'Money & prizes','how your product helps'],['earn extra cash',2,'Money & prizes','how your product helps'],['extra income',2,'Money & prizes','how your product helps'],['fast cash',2,'Money & prizes','how your product helps'],['easy money',2,'Money & prizes','how your product helps'],['double your',2,'Money & prizes','improve your'],['million dollars',2,'Money & prizes','a real number or case study'],['no credit check',2,'Money & prizes','your real terms'],['credit card offers',2,'Money & prizes','your real offer'],['get paid',1,'Money & prizes','what they will receive'],['cheap',1,'Money & prizes','affordable'],['lowest price',2,'Money & prizes','a fair price'],['best price',1,'Money & prizes','a fair price'],['bargain',1,'Money & prizes','offer'],['discount',1,'Money & prizes','save 20% (a real number)'],\r\n ['act now',2,'Urgency & pressure','a real deadline, like \u201cends Friday\u201d'],['urgent',2,'Urgency & pressure','a real deadline'],['limited time',1,'Urgency & pressure','a real end date'],['hurry',1,'Urgency & pressure','a real end date'],['don\u2019t delay',1,'Urgency & pressure','a real end date'],['don\\'t delay',1,'Urgency & pressure','a real end date'],['last chance',1,'Urgency & pressure','a real end date'],['expires today',1,'Urgency & pressure','a real end date'],['final notice',2,'Urgency & pressure','what happens next'],['immediately',1,'Urgency & pressure','today'],['once in a lifetime',2,'Urgency & pressure','what makes it special'],['only today',1,'Urgency & pressure','a real end date'],\r\n ['guaranteed',2,'Too-good claims','what you can really promise'],['100% guaranteed',2,'Too-good claims','a refund policy'],['risk-free',2,'Too-good claims','a money-back policy'],['risk free',2,'Too-good claims','a money-back policy'],['no risk',2,'Too-good claims','a money-back policy'],['no obligation',1,'Too-good claims','cancel any time'],['no strings attached',2,'Too-good claims','plain terms'],['miracle',2,'Too-good claims','a real result'],['amazing',1,'Too-good claims','a specific benefit'],['incredible deal',2,'Too-good claims','a specific benefit'],['unbelievable',2,'Too-good claims','a specific benefit'],['secret',1,'Too-good claims','what they will learn'],['proven',1,'Too-good claims','a real result or study'],['100% satisfied',2,'Too-good claims','real reviews'],['satisfaction guaranteed',1,'Too-good claims','a refund policy'],['instant',1,'Too-good claims','quick'],['lose weight',2,'Too-good claims','your real benefit'],['weight loss',2,'Too-good claims','your real benefit'],['anti-aging',1,'Too-good claims','your real benefit'],\r\n ['click here',2,'Pushy calls to action','a clear action, like \u201cSee the plans\u201d'],['click below',1,'Pushy calls to action','a clear action'],['buy now',1,'Pushy calls to action','Shop the range'],['order now',1,'Pushy calls to action','See your options'],['apply now',1,'Pushy calls to action','Check if you qualify'],['sign up free',1,'Pushy calls to action','Create your account'],['call now',2,'Pushy calls to action','Book a call'],['open immediately',2,'Pushy calls to action','a clear subject line'],['special promotion',2,'Pushy calls to action','what the offer is'],['exclusive deal',1,'Pushy calls to action','what the offer is'],['this isn\u2019t spam',2,'Pushy calls to action','remove it'],['this isn\\'t spam',2,'Pushy calls to action','remove it'],['not spam',2,'Pushy calls to action','remove it'],['dear friend',2,'Pushy calls to action','their first name'],['dear sir',1,'Pushy calls to action','their first name'],['dear madam',1,'Pushy calls to action','their first name'],['as seen on',1,'Pushy calls to action','named press or reviews'],['increase sales',1,'Pushy calls to action','a real result'],['work from home',2,'Pushy calls to action','the real job or product'],['be your own boss',2,'Pushy calls to action','the real job or product'],\r\n ['viagra',2,'Risky topics','remove it'],['casino',2,'Risky topics','remove it'],['lottery',2,'Risky topics','remove it'],['bitcoin giveaway',2,'Risky topics','remove it'],['password',1,'Risky topics','a safe account message'],['verify your account',2,'Risky topics','a message that sends them to your own site'],['account suspended',2,'Risky topics','a message that sends them to your own site']\r\n];\r\nvar SHORTENERS=\/\\b(bit\\.ly|tinyurl\\.com|goo\\.gl|t\\.co|ow\\.ly|is\\.gd|buff\\.ly|rebrand\\.ly|cutt\\.ly|shorturl\\.at|tiny\\.cc)\\b\/i;\r\nfunction escRe(s){return s.replace(\/[.*+?^${}()|[\\]\\\\]\/g,'\\\\$&');}\r\nfunction norm(s){return String(s||'').replace(\/[\u2019\u2018]\/g,'\u2019').toLowerCase();}\r\nfunction scanSpam(subject,body){\r\n  var hits=[];\r\n  SPAMW.forEach(function(x){\r\n    var re=new RegExp('(^|[^a-z0-9])'+escRe(norm(x[0]))+'(?![a-z0-9])','g'),ns=(norm(subject).match(re)||[]).length,nb=(norm(body).match(re)||[]).length;\r\n    if(ns+nb>0)hits.push({w:x[0],s:x[1],c:x[2],alt:x[3],ns:ns,nb:nb});\r\n  });\r\n  \/\/ drop phrases that are inside a longer hit already counted (e.g. \"free money\" vs \"money\")\r\n  hits=hits.filter(function(h){return !hits.some(function(o){return o!==h&&o.w.length>h.w.length&&o.w.indexOf(h.w)>-1&&(o.ns+o.nb)>=(h.ns+h.nb);});});\r\n  var all=subject+'\\n'+body;\r\n  var capsWords=(all.match(\/\\b[A-Z]{4,}\\b\/g)||[]).filter(function(w){return !\/^(HTTPS?|HTML|CSS|JSON|FAQ|SPF|DKIM|DMARC|USA|INDIA|GST|PDF|SEO|CRM|API|SMS|URL|WHATSAPP|NASA|UPI|EMI)$\/.test(w);});\r\n  var subjCaps=(subject.match(\/\\b[A-Z]{3,}\\b\/g)||[]).length;\r\n  var links=(all.match(\/https?:\\\/\\\/[^\\s)>\"']+|www\\.[^\\s)>\"']+\/gi)||[]);\r\n  return {hits:hits,highN:hits.filter(function(h){return h.s===2;}).reduce(function(a,h){return a+h.ns+h.nb;},0),lowN:hits.filter(function(h){return h.s===1;}).reduce(function(a,h){return a+h.ns+h.nb;},0),\r\n    capsWords:capsWords,subjCaps:subjCaps,exSubj:(subject.match(\/!\/g)||[]).length,exBody:(body.match(\/!\/g)||[]).length,qq:\/[?!]{2,}\/.test(all),money:(all.match(\/[$\u20b9\u20ac\u00a3]\\s?\\d|\\d\\s?(?:rs|inr|usd)\\b\/gi)||[]).length,dollars:\/\\${2,}|\u20b9{2,}\/.test(all),\r\n    links:links,short:links.some(function(l){return SHORTENERS.test(l);}),\r\n    unsub:\/unsubscribe|opt[- ]?out|manage (your )?(email )?preferences|stop receiving\/i.test(body),\r\n    words:(body.trim()?body.trim().split(\/\\s+\/).length:0),fakeRe:\/^\\s*(re|fwd?)\\s*:\/i.test(subject),subjLen:H.len(subject.trim())};\r\n}\r\nfunction whereTxt(h){var a=[];if(h.ns)a.push('Subject'+(h.ns>1?' \u00d7'+h.ns:''));if(h.nb)a.push('Body'+(h.nb>1?' \u00d7'+h.nb:''));return a.join(', ');}\r\n\r\n\/* ===== 1. Spam Word Checker ===== *\/\r\ndefineTool({\r\n  o:1,slug:'spam-word-checker',group:'deliv',tag:'Content',icon:'ban',color:'#DC2626',\r\n  name:'Spam Word Checker',\r\n  card:'Find words that may push your email to spam.',\r\n  intro:'Paste your subject line and email text. See which words, symbols and habits can trigger spam filters, with a safer way to say it.',\r\n  title:'Free Email Spam Word Checker',\r\n  meta:'Paste your subject and body to find spam trigger words, ALL CAPS and risky symbols. Free spam word checker for email.',\r\n  kw:'spam word checker spam trigger words email subject line filter promotions tab words to avoid',\r\n  regen:false,required:['body'],\r\n  how:['Paste your subject line and the email text.','Read the flagged words and checks. Red items matter most.','Edit your text and watch the results update.'],\r\n  faqs:[['Does one spam word send my email to spam?','No. Filters weigh many things, including your sender reputation, authentication and how people react. Words alone rarely decide it, but too many risky words together can hurt.'],['Is this a real spam test?','No. It checks your text against a built-in list of common trigger words and habits. It cannot see your sender reputation or how Gmail or Outlook will treat your email.'],['Which words should I avoid first?','Start with the red items: money claims, fake urgency, \u201cclick here\u201d and misleading subject lines.']],\r\n  fields:[\r\n    {id:'subject',label:'Subject line',type:'text',ex:'URGENT!!! Act now: 100% FREE gift inside',ph:'e.g. Your October invoice is ready',maxlen:200,optional:true},\r\n    {id:'body',label:'Email text',type:'textarea',raw:true,rows:9,ex:'Dear friend,\\n\\nCongratulations! This is a once in a lifetime offer. Click here to claim your cash bonus. It is risk-free and guaranteed.\\n\\nBuy now at www.bit.ly\/offer123 before it expires today!\\n\\nThanks,\\nTeam',ph:'Paste the full email text here'}\r\n  ],\r\n  run:function(v){\r\n    var r=scanSpam(v.subject||'',v.body||'');\r\n    var level=r.highN>=3||r.highN*2+r.lowN>=7?'High':(r.highN>=1||r.lowN>=3?'Medium':'Low');\r\n    var parts=[{type:'stats',items:[H.stat('Spam-style words',String(r.hits.length),r.hits.length?'phrases found':'none found'),H.stat('Risk from words',level,level==='Low'?'Looks clean':'Fix the red items first'),H.stat('Words in email',String(r.words))]}];\r\n    var iss=[];\r\n    iss.push(r.hits.length?H.issue(level==='High'?'bad':'warn',r.hits.length+' spam-style word'+(r.hits.length>1?'s':'')+' or phrase'+(r.hits.length>1?'s':'')+' found','See the table above for what to use instead.'):H.issue('ok','No common spam trigger words found','Good. Keep your wording plain and honest.'));\r\n    if(!(v.subject||'').trim())iss.push(H.issue('warn','No subject line','Emails without a subject often go to spam. Add a clear, honest subject.'));\r\n    else{\r\n      if(r.subjLen>60)iss.push(H.issue('warn','Subject is '+r.subjLen+' characters','Aim for 30 to 60 so it is not cut off on phones.'));\r\n      if(r.subjCaps>0)iss.push(H.issue(r.subjCaps>1?'bad':'warn','CAPITAL WORDS in the subject','Write in normal sentence case.'));\r\n      if(r.exSubj>1)iss.push(H.issue('bad','Several ! marks in the subject','Use at most one, or none.'));else if(r.exSubj===1)iss.push(H.issue('warn','Exclamation mark in the subject','One is fine in moderation. Many senders skip it.'));\r\n      if(r.fakeRe)iss.push(H.issue('bad','Subject starts with Re: or Fwd:','Fake replies are treated as misleading. Only use it for real replies.'));\r\n    }\r\n    if(r.capsWords.length>2)iss.push(H.issue('warn',r.capsWords.length+' ALL CAPS words','Use caps only for a short brand name or acronym.'));\r\n    if(r.exBody>3)iss.push(H.issue('warn',r.exBody+' exclamation marks in the body','Cut them down to one or two.'));\r\n    if(r.qq)iss.push(H.issue('warn','Repeated ?? or !! marks','Use a single mark.'));\r\n    if(r.dollars)iss.push(H.issue('bad','Repeated currency symbols','Remove symbols like $$$ or \u20b9\u20b9\u20b9.'));\r\n    if(r.short)iss.push(H.issue('bad','Link shortener found (like bit.ly)','Use your own domain in links. Shorteners are often blocked.'));\r\n    if(r.links.length>3)iss.push(H.issue('warn',r.links.length+' links in the email','Keep to 1 to 3 important links.'));\r\n    if(r.words&&r.words<25)iss.push(H.issue('warn','Very short email ('+r.words+' words)','Very short emails with a link look suspicious. Add useful context.'));\r\n    if(!r.unsub)iss.push(H.issue('warn','No unsubscribe wording found','Marketing emails need an unsubscribe link or opt-out line.'));\r\n    parts.push({type:'issues',title:'Other checks',items:iss});\r\n    if(r.hits.length){\r\n      r.hits.sort(function(a,b){return b.s-a.s;});\r\n      parts.splice(1,0,{type:'table',title:'Words and phrases to change',note:'Red means high risk, amber means moderate.',headers:['Word or phrase','Risk','Found in','Type','Try instead'],rows:r.hits.map(function(h){return [{t:h.w,k:''},{t:h.s===2?'High':'Medium',k:h.s===2?'bad':'warn'},whereTxt(h),h.c,h.alt];}),strong:0});\r\n    }\r\n    return parts;\r\n  }\r\n});\r\n\r\n\/* ===== 2. Email Spam Score Tester ===== *\/\r\ndefineTool({\r\n  o:2,slug:'email-spam-score-tester',group:'deliv',tag:'Content',icon:'gauge',color:'#EA580C',\r\n  name:'Email Spam Score Tester',\r\n  card:'Get a spam risk score and a list of fixes.',\r\n  intro:'Paste your email and answer a few questions. Get a spam risk score from 0 to 100 and the fixes that will lower it the most.',\r\n  title:'Free Email Spam Score Tester',\r\n  meta:'Score your email for spam risk, from words and links to formatting. Get clear fixes. Free email spam score tester.',\r\n  kw:'email spam score tester spam test mail tester content score deliverability inbox placement',\r\n  regen:false,required:['body'],\r\n  how:['Paste your subject and email text.','Say how you send it: sender type, authentication and extras.','Fix the biggest items first. The score drops as you edit.'],\r\n  faqs:[['What does the score mean?','It is a risk estimate. 0 to 19 is low, 20 to 39 is medium and 40 or more is high. Lower is better.'],['Is this the same as a real inbox test?','No. It scores your content and setup answers with fixed rules. A real inbox test needs a tool that sends to test mailboxes.'],['Why does authentication carry so many points?','Without SPF, DKIM and DMARC, Gmail, Yahoo and Outlook may reject or junk your email, whatever the content says.']],\r\n  fields:[\r\n    {id:'subject',label:'Subject line',type:'text',ex:'LAST CHANCE: 20% off this week!',ph:'e.g. Your October invoice is ready',maxlen:200,optional:true},\r\n    {id:'body',label:'Email text',type:'textarea',raw:true,rows:8,ex:'Hi Priya,\\n\\nThanks for being a customer. This week only, you can save 20% on all skincare sets. Click here to see the range: https:\/\/example.com\/festive\\n\\nThe Example team',ph:'Paste the full email text here'},\r\n    {id:'sender',label:'Sending from',type:'select',options:[['own','My own domain (you@yourbrand.com)'],['free','A free address (gmail.com, yahoo.com)']],ex:'own'},\r\n    {id:'auth',label:'SPF, DKIM and DMARC are set up',type:'select',options:[['yes','Yes, all three'],['some','Some of them'],['no','No or not sure']],ex:'some'},\r\n    {id:'images',label:'Images in the email',type:'number',min:0,ex:2,ph:'e.g. 2'},\r\n    {id:'attach',label:'Includes an attachment',type:'toggle',ex:false}\r\n  ],\r\n  run:function(v){\r\n    var r=scanSpam(v.subject||'',v.body||''),rules=[];\r\n    function add(p,t,f){if(p>0)rules.push({p:p,t:t,f:f});}\r\n    var hp=Math.min(25,r.highN*5),lp=Math.min(10,r.lowN*2);\r\n    add(hp,'High-risk spam words ('+r.highN+')','Replace them with plain, honest wording. Use the Spam Word Checker for suggestions.');\r\n    add(lp,'Moderate spam words ('+r.lowN+')','Reduce pushy or hype words.');\r\n    if(!(v.subject||'').trim())add(10,'No subject line','Add a clear subject of 30 to 60 characters.');\r\n    else{\r\n      if(r.subjLen>70)add(5,'Subject is very long ('+r.subjLen+')','Shorten it to 60 characters or less.');\r\n      if(r.subjCaps>0)add(r.subjCaps>1?8:4,'CAPITAL WORDS in the subject','Use sentence case.');\r\n      if(r.exSubj>=2)add(8,'Several ! marks in the subject','Use none or one.');else if(r.exSubj===1)add(3,'Exclamation mark in the subject','Consider removing it.');\r\n      if(r.fakeRe)add(8,'Subject starts with Re: or Fwd:','Remove it unless this is a real reply.');\r\n    }\r\n    if(r.capsWords.length>2)add(5,'Many ALL CAPS words in the body','Use normal case.');\r\n    if(r.exBody>3)add(4,'Too many exclamation marks in the body','Keep to one or two.');\r\n    if(r.dollars)add(4,'Repeated currency symbols','Remove $$$ style symbols.');\r\n    if(r.short)add(8,'Link shortener used','Use full links on your own domain.');\r\n    if(r.links.length>6)add(8,r.links.length+' links','Keep to 1 to 3 important links.');else if(r.links.length>3)add(4,r.links.length+' links','Keep to 1 to 3 important links.');\r\n    if(r.words<40)add(6,'Very little text ('+r.words+' words)','Add useful text. Short emails with a link look suspicious.');\r\n    var img=Number(v.images)||0;\r\n    if(img>3&&r.words<100)add(10,'Many images ('+img+') and little text','Balance text and images. Aim for at least 3 lines of text per image.');\r\n    else if(img>0&&r.words<25)add(6,'Image-heavy email','Add real text so filters can read your message.');\r\n    if(!r.unsub)add(10,'No unsubscribe wording','Add an unsubscribe link in the footer. It is required for marketing email.');\r\n    if(v.attach)add(6,'Attachment included','Link to a file on your site instead. Attachments are a common spam signal.');\r\n    if(v.sender==='free')add(8,'Sending marketing from a free address','Send from your own domain. Gmail and Yahoo reject bulk mail that claims a free address.');\r\n    if(v.auth==='no')add(20,'No SPF, DKIM and DMARC','Set up all three. This is the single biggest fix.');else if(v.auth==='some')add(8,'Authentication is incomplete','Add the missing records so all three pass.');\r\n    rules.sort(function(a,b){return b.p-a.p;});\r\n    var score=Math.min(100,rules.reduce(function(a,x){return a+x.p;},0));\r\n    var level=score>=40?'High':(score>=20?'Medium':'Low');\r\n    var parts=[{type:'stats',items:[H.stat('Spam risk score',score+' \/ 100',level+' risk'),H.stat('Issues found',String(rules.length)),H.stat('Biggest fix',rules.length?rules[0].t.replace(\/ \\(\\d+\\)$\/,''):'None',rules.length?'+'+rules[0].p+' points':'')]}];\r\n    parts.push({type:'note',kind:score>=40?'warn':'info',title:'Remember:',text:'This is a content and setup estimate, not a real inbox test. Your sender reputation and how people react also matter a lot.'});\r\n    if(rules.length)parts.push({type:'table',title:'Fix these, biggest first',headers:['Issue','Points','How to fix'],rows:rules.map(function(x){return [x.t,{t:'+'+x.p,k:x.p>=10?'bad':(x.p>=5?'warn':'')},x.f];},0),strong:0});\r\n    else parts.push({type:'issues',title:'Result',items:[H.issue('ok','No issues found','Your email looks clean. Send a test to Gmail and Outlook inboxes before you send to the full list.')]});\r\n    parts.push({type:'issues',title:'Before you send',items:[H.issue('info','Send a test to yourself','Check it in Gmail, Outlook and on a phone.'),H.issue('info','Warm up new senders','New domains should send small volumes first. Use the Warm-Up Planner.')]});\r\n    return parts;\r\n  }\r\n});\r\n\r\n\/* ===== 6. SPF Record Generator ===== *\/\r\nvar SPF_PROV=[['google','Google Workspace','include:_spf.google.com'],['m365','Microsoft 365','include:spf.protection.outlook.com'],['zohoin','Zoho Mail (India, zoho.in)','include:zoho.in'],['zohocom','Zoho Mail (global, zoho.com)','include:zoho.com'],['zcamp','Zoho Campaigns','include:zcsend.net'],['mailchimp','Mailchimp','include:servers.mcsv.net'],['brevo','Brevo (Sendinblue)','include:spf.brevo.com'],['sendgrid','SendGrid','include:sendgrid.net'],['ses','Amazon SES','include:amazonses.com'],['mailgun','Mailgun','include:mailgun.org'],['postmark','Postmark','include:spf.mtasv.net']];\r\ndefineTool({\r\n  o:6,slug:'spf-record-generator',group:'deliv',tag:'DNS record',icon:'key',color:'#2563EB',\r\n  name:'SPF Record Generator',\r\n  card:'Build a correct SPF record in a few clicks.',\r\n  intro:'Pick the services that send email for your domain. Get a copy-ready SPF record and the steps to add it in your DNS.',\r\n  title:'Free SPF Record Generator',\r\n  meta:'Build your SPF record by picking your email providers. Copy-ready DNS value. Free SPF generator.',\r\n  kw:'spf record generator create spf txt dns include google workspace zoho mailchimp brevo sendgrid ses',\r\n  regen:false,\r\n  how:['Tick every service that sends email using your domain.','Add any extra IP addresses and choose the ending.','Copy the record and add it as one TXT record at your domain host.'],\r\n  faqs:[['Can I have two SPF records?','No. A domain must have exactly one SPF record. Two records make SPF fail. Merge them into one.'],['What is the 10 lookup limit?','SPF allows up to 10 DNS lookups. Each include, a, mx and similar term counts. Too many makes SPF fail, so only include services you really use.'],['Soft fail or hard fail?','~all (soft fail) is the safest starting point. Move to -all once you are sure every sender is listed.'],['Are the include values always correct?','They are the commonly published values at the time of writing. Always confirm in your provider\u2019s help page before you publish.']],\r\n  fields:[\r\n    {id:'domain',label:'Your domain',type:'text',ex:'example.com',ph:'e.g. example.com',optional:true},\r\n    {id:'prov',label:'Who sends email for this domain?',type:'checks',options:SPF_PROV.map(function(p){return [p[0],p[1]];}),ex:['google','mailchimp']},\r\n    {id:'ips',label:'Your own server IPs (one per line)',type:'textarea',raw:true,rows:2,ex:'',ph:'e.g. 203.0.113.10 or 203.0.113.0\/24',optional:true},\r\n    {id:'mx',label:'Also allow my domain\u2019s MX servers (mx)',type:'toggle',ex:false},\r\n    {id:'custom',label:'Other include domains (one per line)',type:'textarea',raw:true,rows:2,ex:'',ph:'e.g. spf.mycrm.com',optional:true},\r\n    {id:'end',label:'How strict should it be?',type:'select',options:[['~all','Soft fail ~all (recommended to start)'],['-all','Hard fail -all (strict)'],['?all','Neutral ?all (weak)']],ex:'~all'}\r\n  ],\r\n  run:function(v){\r\n    var terms=['v=spf1'],looks=0,warn=[],picked=[];\r\n    (v.prov||[]).forEach(function(k){var p=SPF_PROV.filter(function(x){return x[0]===k;})[0];if(p){terms.push(p[2]);looks++;picked.push(p[1]);}});\r\n    var bad=[];\r\n    H.lines(v.ips).forEach(function(ip){\r\n      var m=\/^(\\d{1,3}(?:\\.\\d{1,3}){3})(\\\/\\d{1,2})?$\/.exec(ip),six=\/^[0-9a-f:]+(\\\/\\d{1,3})?$\/i.test(ip)&&ip.indexOf(':')>-1;\r\n      if(m&&H.isIPv4(m[1])&&(!m[2]||+m[2].slice(1)<=32))terms.push('ip4:'+ip);else if(six)terms.push('ip6:'+ip);else bad.push(ip);\r\n    });\r\n    if(v.mx){terms.push('mx');looks++;}\r\n    H.lines(v.custom).forEach(function(d){d=H.domain(d);if(H.validDomain(d)){terms.push('include:'+d);looks++;}else bad.push(d);});\r\n    if(terms.length===1)warn.push(H.issue('warn','No senders picked','The record below says nobody may send. Pick at least one sender.'));\r\n    var end=v.end||'~all';\r\n    if(terms.length===1)end='-all';\r\n    terms.push(end);\r\n    var rec=terms.join(' ');\r\n    var parts=[{type:'stats',items:[H.stat('Services included',String(picked.length+H.lines(v.custom).length)),H.stat('DNS lookups (minimum)',looks+' \/ 10',looks>8?'Close to the limit':'Within the limit'),H.stat('Record length',rec.length+' characters')]},\r\n      {type:'text',title:'Your SPF record',text:rec}];\r\n    var iss=warn.slice();\r\n    if(bad.length)iss.push(H.issue('bad','Skipped invalid entries',bad.join(', ')));\r\n    if(looks>8)iss.push(H.issue('warn','You are near the 10 lookup limit','Each service may use more lookups inside. Remove services you no longer use.'));\r\n    if(rec.length>255)iss.push(H.issue('warn','Record is longer than 255 characters','Most DNS hosts split long TXT values automatically. If yours does not, split it into quoted chunks.'));\r\n    if(end==='?all')iss.push(H.issue('warn','Neutral ending gives little protection','Use ~all or -all.'));\r\n    if(end==='-all'&&terms.length>2)iss.push(H.issue('info','Hard fail is strict','Use it only after you have listed every service that sends for you.'));\r\n    iss.push(H.issue('info','Add it in your DNS','Type: TXT \u00b7 Host\/Name: @ (or '+(v.domain||'your domain')+') \u00b7 Value: the record above. Keep only one SPF record.'));\r\n    iss.push(H.issue('info','Then test it','Use the SPF Checker to confirm the record is published and under 10 lookups. DNS changes can take a few hours.'));\r\n    parts.push({type:'issues',title:'Notes',items:iss});\r\n    return parts;\r\n  }\r\n});\r\n\r\n\/* ===== 7. DMARC Record Generator ===== *\/\r\ndefineTool({\r\n  o:7,slug:'dmarc-record-generator',group:'deliv',tag:'DNS record',icon:'shield',color:'#7C3AED',\r\n  name:'DMARC Record Generator',\r\n  card:'Create a DMARC record with the right policy.',\r\n  intro:'Choose a policy and a report address. Get a copy-ready DMARC record and a safe step-by-step plan to move to full protection.',\r\n  title:'Free DMARC Record Generator',\r\n  meta:'Create a DMARC record with a policy, reporting address and rollout plan. Free DMARC generator.',\r\n  kw:'dmarc record generator create dmarc txt policy none quarantine reject rua ruf report',\r\n  regen:false,required:['domain'],\r\n  how:['Enter your domain and a mailbox to receive DMARC reports.','Start with the monitor policy (none). Read the reports for a few weeks.','Move to quarantine, then reject, using the rollout plan.'],\r\n  faqs:[['Which policy should I start with?','Start with p=none. It only monitors, so no real email is blocked. Move up once reports show all your senders pass.'],['Do I need SPF and DKIM first?','Yes. DMARC passes only when SPF or DKIM passes and aligns with your From domain. Set up both before you tighten the policy.'],['Where do I add the record?','Add a TXT record with the host _dmarc (so _dmarc.yourdomain.com) and the value shown.'],['Can reports go to another domain?','Yes, but the receiving domain must allow it with its own DNS record. Using a mailbox on your own domain is simplest.']],\r\n  fields:[\r\n    {id:'domain',label:'Your domain',type:'text',ex:'example.com',ph:'e.g. example.com'},\r\n    {id:'rua',label:'Email for DMARC reports',type:'text',ex:'dmarc@example.com',ph:'e.g. dmarc@example.com',optional:true},\r\n    {id:'p',label:'Policy',type:'select',options:[['none','none: monitor only (start here)'],['quarantine','quarantine: send failures to spam'],['reject','reject: block failures']],ex:'none'},\r\n    {id:'sp',label:'Policy for subdomains',type:'select',options:[['','Same as the main policy'],['none','none'],['quarantine','quarantine'],['reject','reject']],ex:''},\r\n    {id:'pct',label:'Percent of email the policy applies to',type:'number',min:1,max:100,ex:100,ph:'1 to 100'},\r\n    {id:'adkim',label:'DKIM alignment',type:'select',options:[['r','Relaxed (recommended)'],['s','Strict']],ex:'r'},\r\n    {id:'aspf',label:'SPF alignment',type:'select',options:[['r','Relaxed (recommended)'],['s','Strict']],ex:'r'},\r\n    {id:'ruf',label:'Email for failure reports',type:'text',ex:'',ph:'Optional, many providers do not send these',optional:true}\r\n  ],\r\n  run:function(v){\r\n    var d=H.domain(v.domain),iss=[];\r\n    if(!H.validDomain(d))return [{type:'note',kind:'warn',text:'Enter a valid domain such as example.com.'}];\r\n    function mails(s){return H.lines((s||'').replace(\/[,;\\s]+\/g,'\\n')).filter(function(x){return \/^[^@\\s]+@[^@\\s]+\\.[^@\\s]+$\/.test(x);});}\r\n    var ra=mails(v.rua),rf=mails(v.ruf),pct=Math.max(1,Math.min(100,parseInt(v.pct,10)||100));\r\n    var t=['v=DMARC1','p='+(v.p||'none')];\r\n    if(v.sp)t.push('sp='+v.sp);\r\n    if(ra.length)t.push('rua='+ra.map(function(x){return 'mailto:'+x;}).join(','));\r\n    if(rf.length)t.push('ruf='+rf.map(function(x){return 'mailto:'+x;}).join(','));\r\n    if(pct<100)t.push('pct='+pct);\r\n    if(v.adkim==='s')t.push('adkim=s');\r\n    if(v.aspf==='s')t.push('aspf=s');\r\n    var rec=t.join('; ');\r\n    var parts=[{type:'stats',items:[H.stat('Policy',v.p||'none',(v.p||'none')==='none'?'Monitor only':(v.p==='quarantine'?'Failures go to spam':'Failures are blocked')),H.stat('Applies to',pct+'%'),H.stat('Reports to',ra.length?ra[0]:'Not set')]},\r\n      {type:'text',title:'Your DMARC record',text:rec}];\r\n    if(!ra.length)iss.push(H.issue('warn','No report address','Without rua you will not see who is sending as your domain. Add a mailbox.'));\r\n    else{var rd=ra[0].split('@')[1].toLowerCase();if(H.orgDomain(rd)!==H.orgDomain(d))iss.push(H.issue('info','Reports go to another domain','That domain must publish: '+d+'._report._dmarc.'+rd+'  TXT  \"v=DMARC1\" or reports are ignored.'));}\r\n    if((v.p||'none')==='none')iss.push(H.issue('info','Policy none only monitors','It does not block spoofed email yet. Follow the rollout plan below.'));\r\n    if((v.p||'none')!=='none'&&pct<100)iss.push(H.issue('info','Partial rollout','pct='+pct+' applies the policy to that share of failing email. Raise it step by step.'));\r\n    if((v.p||'none')==='reject')iss.push(H.issue('warn','Reject blocks real mail if a sender is missed','Be sure every service you use passes SPF or DKIM with alignment.'));\r\n    iss.push(H.issue('info','Add it in your DNS','Type: TXT \u00b7 Host\/Name: _dmarc \u00b7 Value: the record above. Only one DMARC record is allowed.'));\r\n    parts.push({type:'issues',title:'Notes',items:iss});\r\n    var plan=[['Weeks 1 to 4','p=none','Monitor. Read reports. Fix any sender that fails SPF or DKIM.'],['Weeks 5 to 6','p=quarantine; pct=10','Send 10% of failing mail to spam. Watch for real mail being caught.'],['Weeks 7 to 8','p=quarantine; pct=50, then 100','Raise the percentage step by step.'],['Week 9 onward','p=reject','Block failing mail once reports are clean.']];\r\n    parts.push({type:'table',title:'Safe rollout plan',note:'Move on only when reports show your real senders pass.',headers:['When','Policy','What to do'],rows:plan,strong:0});\r\n    return parts;\r\n  }\r\n});\r\n\r\n\/* ===== 9. Email Warm-Up Planner ===== *\/\r\ndefineTool({\r\n  o:9,slug:'email-warmup-planner',group:'deliv',tag:'Planner',icon:'flame',color:'#EA580C',\r\n  name:'Email Warm-Up Planner',\r\n  card:'Get a day-by-day plan to build sender reputation.',\r\n  intro:'Tell us your target daily volume. Get a day-by-day sending schedule for a new domain or IP, with who to send to and when to pause.',\r\n  title:'Free Email Warm-Up Planner',\r\n  meta:'Get a day-by-day sending schedule for a new domain or IP. Free email warm-up planner.',\r\n  kw:'email warm up planner warmup schedule new domain new ip sender reputation daily volume',\r\n  regen:false,required:['target'],\r\n  how:['Enter how many emails per day you want to reach, and how long to take.','Follow the schedule on weekdays. Send to your most engaged people first.','Use the pause rules to stop early if bounces or complaints rise.'],\r\n  faqs:[['Why do I need to warm up?','Mailbox providers do not know a new sender. Sending a big batch at once looks like spam. Growing volume slowly builds trust.'],['How long should warm-up take?','Most senders take 4 to 6 weeks. Bigger targets or a weak list need longer.'],['Can I use a warm-up service?','You can, but the best warm-up is real email to real engaged people. Services that swap fake opens are risky.'],['Is this plan exact?','It is a safe guide based on common practice. Providers do not publish exact limits, so watch your own results.']],\r\n  fields:[\r\n    {id:'target',label:'Target emails per day',type:'number',min:1,ex:2000,ph:'e.g. 2000'},\r\n    {id:'list',label:'Total active list size',type:'number',min:0,ex:12000,ph:'e.g. 12000',optional:true},\r\n    {id:'weeks',label:'Warm-up length',type:'select',options:[['3','3 weeks'],['4','4 weeks'],['6','6 weeks'],['8','8 weeks']],ex:'4'},\r\n    {id:'type',label:'What are you warming up?',type:'select',options:[['new','A new domain on a shared sending IP'],['ip','A new dedicated IP'],['rest','An old domain that was paused for 6+ months']],ex:'new'},\r\n    {id:'eng',label:'Start with my most engaged people',type:'toggle',ex:true}\r\n  ],\r\n  run:function(v){\r\n    var target=Math.max(1,Math.round(+v.target||0)),weeks=parseInt(v.weeks,10)||4,N=weeks*5,start=v.type==='ip'?100:(v.type==='rest'?Math.max(50,Math.round(target*0.1)):50);\r\n    if(start>target)start=target;\r\n    var list=+v.list||0,days=['Mon','Tue','Wed','Thu','Fri'],rows=[],total=0,i,prev=0,reached=N;\r\n    for(i=0;i<N;i++){\r\n      var x=N>1?start*Math.pow(target\/start,i\/(N-1)):target;\r\n      x=x>=100?Math.round(x\/10)*10:Math.round(x);\r\n      x=Math.max(prev,Math.min(target,x));if(i===N-1)x=target;\r\n      if(list>0&&x>list)x=list;\r\n      var f=(i+1)\/N,who=v.eng?(f<=0.25?'Most engaged: opened or clicked in the last 30 days':(f<=0.6?'Engaged in the last 90 days':'All active contacts (last 6 months)')):'Your normal list, in small batches';\r\n      if(x===target&&reached===N&&i<N-1)reached=i+1;\r\n      rows.push(['Week '+(Math.floor(i\/5)+1),days[i%5]+' (day '+(i+1)+')',H.num(x),who]);total+=x;prev=x;\r\n    }\r\n    var parts=[{type:'stats',items:[H.stat('Start volume',H.num(start)+' \/ day'),H.stat('Full volume after',weeks+' weeks',N+' sending days (Mon to Fri)'),H.stat('Emails during warm-up',H.num(total))]}];\r\n    var iss=[];\r\n    if(list>0&&list<target)iss.push(H.issue('warn','Your list is smaller than your daily target','Daily volume is capped at '+H.num(list)+'. You will not need all of this plan.'));\r\n    if(target>=5000)iss.push(H.issue('info','Large volume','Gmail, Yahoo and Outlook have extra rules for senders over 5,000 emails a day: SPF, DKIM, DMARC and one-click unsubscribe.'));\r\n    iss.push(H.issue('bad','Pause and fix if bounces pass 2%','Remove bad addresses before the next send.'));\r\n    iss.push(H.issue('bad','Pause if spam complaints pass 0.1%','Keep complaints well under 0.3%. Send only to people who want your email.'));\r\n    iss.push(H.issue('warn','Do not jump volume','Never more than double the volume from one day to the next. If you skip days, repeat the last day\u2019s volume.'));\r\n    iss.push(H.issue('ok','Set up SPF, DKIM and DMARC first','Warm-up does not work without authentication.'));\r\n    iss.push(H.issue('ok','Keep content normal','Start with welcome emails and useful content. Save heavy promotions for later weeks.'));\r\n    iss.push(H.issue('info','Watch your results','Check open rate, bounce rate and complaints each day. Use Google Postmaster Tools for Gmail.'));\r\n    parts.push({type:'issues',title:'Rules to follow',items:iss});\r\n    parts.push({type:'table',title:'Day-by-day schedule',note:'Send on weekdays only. Spread each day\u2019s emails over several hours.',headers:['Week','Day','Emails to send','Send to'],rows:rows});\r\n    return parts;\r\n  }\r\n});\r\n\r\n\/* ===== 10. Sender Reputation Checklist ===== *\/\r\ndefineTool({\r\n  o:10,slug:'sender-reputation-checklist',group:'deliv',tag:'Checklist',icon:'check',color:'#10B981',\r\n  name:'Sender Reputation Checklist',\r\n  card:'Check the basics that keep you out of spam.',\r\n  intro:'Go through authentication, list quality and sending habits step by step. Tick items as you go and see your progress.',\r\n  title:'Free Email Sender Reputation Checklist',\r\n  meta:'Go through authentication, list quality and sending habits step by step. Free email sender reputation checklist.',\r\n  kw:'sender reputation checklist email deliverability checklist authentication list hygiene complaint rate unsubscribe',\r\n  regen:false,\r\n  how:['Pick what kind of email you send.','Tick each item you have done. Your progress shows at the top.','Fix the unticked items, starting with authentication.'],\r\n  faqs:[['What is sender reputation?','It is a score that mailbox providers keep for your domain and IP. Good reputation puts you in the inbox. Poor reputation sends you to spam or blocks you.'],['What are the Gmail and Yahoo rules?','Bulk senders (about 5,000+ emails a day to Gmail) need SPF, DKIM and DMARC, easy one-click unsubscribe and a spam complaint rate under 0.3%. Outlook.com has similar rules for large senders.'],['How often should I review this?','Once a quarter, and any time your open rates or inbox placement drop.']],\r\n  fields:[{id:'kind',label:'What do you send?',type:'select',options:[['mkt','Marketing and newsletters'],['tx','Transactional (receipts, resets)'],['cold','Sales outreach']],ex:'mkt'}],\r\n  run:function(v){\r\n    var G=[\r\n     {title:'1. Authentication',items:[\r\n      {id:'a1',text:'SPF record is published and passes',hint:'Check it with the SPF Checker. Keep it under 10 lookups.'},\r\n      {id:'a2',text:'DKIM signing is on for every service you use',hint:'Use 2048-bit keys where you can.'},\r\n      {id:'a3',text:'DMARC record exists (at least p=none)',hint:'Move to quarantine, then reject, when reports are clean.'},\r\n      {id:'a4',text:'From domain matches your SPF or DKIM domain (alignment)',hint:'This is what DMARC checks.'},\r\n      {id:'a5',text:'Reverse DNS (PTR) is set if you use your own IP',hint:'Your provider can set it. Skip if you use a shared sender.'}]},\r\n     {title:'2. Sending setup',items:[\r\n      {id:'s1',text:'Send from your own domain, not gmail.com or yahoo.com',hint:'Bulk mail from free addresses is rejected.'},\r\n      {id:'s2',text:'Use a subdomain for marketing, like mail.yourbrand.com',hint:'This protects your main domain\u2019s reputation.'},\r\n      {id:'s3',text:'Warm up any new domain or IP slowly',hint:'Use the Warm-Up Planner.'},\r\n      {id:'s4',text:'Reply-to and From addresses are real and monitored',hint:'Avoid no-reply addresses where you can.'}]},\r\n     {title:'3. List quality',items:[\r\n      {id:'l1',text:'Everyone on your list asked to be there',hint:'Never buy or scrape lists.'},\r\n      {id:'l2',text:'Bad addresses are removed after hard bounces',hint:'Keep hard bounces below 2%.'},\r\n      {id:'l3',text:'Typos and disposable addresses are blocked at sign-up',hint:'Use the Email Address Validator on forms.'},\r\n      {id:'l4',text:'Unengaged contacts are removed or re-engaged',hint:'For example after 6 months with no opens or clicks.'},\r\n      {id:'l5',text:'Role addresses like info@ and support@ are reviewed',hint:'They bounce and complain more often.'}]},\r\n     {title:'4. Content',items:[\r\n      {id:'c1',text:'Subject lines are honest and match the email',hint:'No fake Re: or misleading claims.'},\r\n      {id:'c2',text:'Spam trigger words and ALL CAPS are kept to a minimum',hint:'Run your email through the Spam Word Checker.'},\r\n      {id:'c3',text:'Real text, not just one big image',hint:'Add alt text to images.'},\r\n      {id:'c4',text:'Links go to your own domain, with no link shorteners',hint:'Shorteners are often blocked.'},\r\n      {id:'c5',text:'Your business name and postal address are in the footer',hint:'Required for marketing email in many countries.'}]},\r\n     {title:'5. Unsubscribe and complaints',items:[\r\n      {id:'u1',text:'Unsubscribe link is easy to see and works in one step',hint:'Honor requests quickly, within 48 hours is a good habit.'},\r\n      {id:'u2',text:'One-click unsubscribe (List-Unsubscribe header) is on',hint:'Required by Gmail and Yahoo for bulk senders. Most email platforms turn it on for you.'},\r\n      {id:'u3',text:'Spam complaint rate stays under 0.1% (never above 0.3%)',hint:'Check Google Postmaster Tools.'},\r\n      {id:'u4',text:'Suppression list is kept and respected',hint:'Never re-add people who unsubscribed.'}]},\r\n     {title:'6. Habits and monitoring',items:[\r\n      {id:'m1',text:'Send on a steady schedule, no sudden volume spikes',hint:'Increase volume gradually.'},\r\n      {id:'m2',text:'Google Postmaster Tools is set up for your domain',hint:'It shows domain reputation and spam rate.'},\r\n      {id:'m3',text:'You check blacklists after any drop in delivery',hint:'Use the Email Blacklist Checker.'},\r\n      {id:'m4',text:'You send seed tests to Gmail, Outlook and Yahoo before big sends',hint:'See where the email lands.'}]}];\r\n    if(v.kind==='tx'){G[2].items=G[2].items.filter(function(x){return x.id!=='l4';});G[4].items=G[4].items.filter(function(x){return x.id!=='u1'&&x.id!=='u2';});G[1].items.push({id:'s5',text:'Transactional and marketing mail use different sending streams',hint:'This keeps receipts and resets safe from marketing complaints.'});}\r\n    if(v.kind==='cold'){G[2].items.unshift({id:'l0',text:'You have a lawful reason to contact each person',hint:'Check the rules for cold email in each country you send to.'});G[3].items.push({id:'c6',text:'Cold emails are short, personal and sent in small batches',hint:'Aim for fewer than 50 a day per mailbox.'});G[1].items.push({id:'s6',text:'Use a separate domain for cold outreach',hint:'Protect your main brand domain.'});}\r\n    return [{type:'note',kind:'info',text:'Tick items as you go. Your progress stays on this page while it is open.'},{type:'checklist',key:'rep',groups:G}];\r\n  }\r\n});\r\n\r\n\/* DNS-based tools: 3 SPF checker, 4 DKIM checker, 5 DMARC checker, 8 blacklist checker *\/\r\nvar DNS_PILL='Free \u00b7 Looks up public DNS \u00b7 Your text is never uploaded';\r\nfunction dnsFail(d,r){return r&&r.ok===false?H.issue('bad','DNS lookup failed','We could not reach the public DNS service ('+(r.err||'network error')+'). Check your internet connection and try again.'):null;}\r\nfunction txtRecords(r){return (r.answers||[]).map(function(a){return H.parseTxt(a.data);});}\r\nfunction badDomain(d){return !H.validDomain(d)?[{type:'note',kind:'warn',text:'Enter a valid domain such as example.com (no https:\/\/ or spaces).'}]:null;}\r\n\r\n\/* ---- SPF ---- *\/\r\nfunction mechMeaning(m){\r\n  var q={'+':'Pass','-':'Fail','~':'Soft fail','?':'Neutral'},c=m.charAt(0),qual=q[c]||'',t=q[c]?m.slice(1):m,n=t.split(\/[:=\\\/]\/)[0].toLowerCase();\r\n  var map={v:'SPF version',include:'Also allows the senders listed in another domain\u2019s SPF record',a:'Allows the IP addresses of this domain\u2019s A record',mx:'Allows this domain\u2019s mail servers',ip4:'Allows this IPv4 address or range',ip6:'Allows this IPv6 address or range',all:'What to do with every other sender ('+(qual||'Pass')+')',redirect:'Uses another domain\u2019s SPF record instead',exists:'Allows if a DNS name exists (advanced)',ptr:'Reverse DNS match (deprecated, avoid)',exp:'Custom failure message'};\r\n  return map[n]||'Unknown term';\r\n}\r\nfunction spfWalk(d,depth,ctx){\r\n  if(ctx.queries>=30){ctx.capped=true;return Promise.resolve();}\r\n  ctx.queries++;\r\n  return H.dns(d,'TXT').then(function(r){\r\n    if(!r.ok){ctx.dnsErr=r;return;}\r\n    var recs=txtRecords(r).filter(function(x){return \/^v=spf1(\\s|$)\/i.test(x.trim());});\r\n    if(depth===0){ctx.status=r.status;ctx.top=recs;}\r\n    if(!recs.length){if(depth>0)ctx.issues.push(H.issue('bad','No SPF record at '+d,'An include or redirect points here but nothing is published. SPF will fail with a permanent error.'));return;}\r\n    if(recs.length>1&&depth>0)ctx.issues.push(H.issue('warn','More than one SPF record at '+d,'This breaks SPF for that domain.'));\r\n    var terms=recs[0].trim().split(\/\\s+\/).slice(1),kids=[];\r\n    terms.forEach(function(t){\r\n      var qual=\/^[+\\-~?]\/.test(t)?t.charAt(0):'',x=qual?t.slice(1):t,n=x.split(\/[:=\\\/]\/)[0].toLowerCase();\r\n      if(depth===0)ctx.terms.push(t);\r\n      if(n==='include'||n==='redirect'){ctx.lookups++;var child=(x.split(\/[:=]\/)[1]||'').toLowerCase();if(!child)return;if(ctx.seen[child]){ctx.issues.push(H.issue('bad','Loop found: '+child+' is included twice','Remove the repeat.'));return;}ctx.seen[child]=1;kids.push(spfWalk(child,depth+1,ctx));if(n==='redirect')ctx.redirect=true;}\r\n      else if(n==='a'||n==='mx'||n==='exists'||n==='ptr'){ctx.lookups++;if(n==='ptr')ctx.ptr=true;}\r\n    });\r\n    return Promise.all(kids);\r\n  });\r\n}\r\ndefineTool({\r\n  o:3,slug:'spf-checker',group:'deliv',tag:'DNS check',icon:'key',color:'#2563EB',async:true,goLabel:'Check SPF',goTitle:'Check your SPF record',goText:'Enter a domain and press Check SPF.',pill:DNS_PILL,\r\n  name:'SPF Checker',\r\n  card:'Check your domain\u2019s SPF record for errors.',\r\n  intro:'Enter a domain. We look up its SPF record, count the DNS lookups and flag errors that make email fail.',\r\n  title:'Free SPF Record Checker',\r\n  meta:'Look up and validate your SPF record. Find syntax errors, too many lookups and missing senders. Free SPF checker.',\r\n  kw:'spf checker spf record lookup validate too many dns lookups softfail hardfail',\r\n  required:['domain'],\r\n  how:['Enter your domain (for example yourbrand.com).','Press Check SPF. We read the public SPF record and follow its includes.','Fix anything in red, then check again after your DNS updates.'],\r\n  faqs:[['Is my data sent anywhere?','Only the domain name is sent to a public DNS service (Google, with Cloudflare as backup) to read your public records. Nothing else is stored.'],['What is the 10 lookup limit?','SPF stops working if it needs more than 10 DNS lookups. Includes, a, mx, ptr, exists and redirect each count.'],['Why does it say no SPF record?','The record may be missing, on a different host name or not yet live. DNS changes can take a few hours.'],['Does a pass here mean my email will reach the inbox?','No. It means the record is valid. Delivery also depends on DKIM, DMARC and your reputation.']],\r\n  fields:[{id:'domain',label:'Domain',type:'text',ex:'google.com',ph:'e.g. yourbrand.com'}],\r\n  runAsync:function(v){\r\n    var d=H.domain(v.domain),bad=badDomain(d);if(bad)return bad;\r\n    var ctx={lookups:0,queries:0,seen:{},terms:[],issues:[],top:[]};ctx.seen[d]=1;\r\n    return spfWalk(d,0,ctx).then(function(){\r\n      if(ctx.dnsErr)return [{type:'issues',title:'Result',items:[dnsFail(d,ctx.dnsErr)]}];\r\n      var iss=ctx.issues.slice(),rec=ctx.top[0]||'';\r\n      if(ctx.status===3)return [{type:'issues',title:'Result',items:[H.issue('bad','Domain not found','DNS says '+d+' does not exist. Check the spelling.')]}];\r\n      if(!ctx.top.length)return [{type:'stats',items:[H.stat('SPF record','Not found'),H.stat('Domain',d)]},{type:'issues',title:'Findings',items:[H.issue('bad','No SPF record found','Create one with the SPF Record Generator and add it as a TXT record. Without SPF, more of your email lands in spam.')]}];\r\n      if(ctx.top.length>1)iss.unshift(H.issue('bad',ctx.top.length+' SPF records found','A domain may have only one SPF record. Merge them into one.'));\r\n      var tl=ctx.terms,last=tl[tl.length-1]||'',allT=tl.filter(function(t){return \/^[+\\-~?]?all$\/i.test(t);})[0],qual=allT?(\/^[+\\-~?]\/.test(allT)?allT.charAt(0):'+'):'';\r\n      if(!allT&&!ctx.redirect)iss.push(H.issue('warn','No \u201call\u201d ending','End the record with ~all or -all so unknown senders are handled.'));\r\n      if(allT&&tl.indexOf(allT)<tl.length-1)iss.push(H.issue('warn','Terms after \u201call\u201d are ignored','Move the all term to the end.'));\r\n      if(qual==='+')iss.push(H.issue('bad','+all allows anyone to send as you','Change it to ~all or -all right away.'));\r\n      else if(qual==='?')iss.push(H.issue('warn','?all gives little protection','Use ~all or -all.'));\r\n      else if(qual==='~')iss.push(H.issue('ok','Ends with ~all (soft fail)','A good setting. Move to -all once you are sure every sender is listed.'));\r\n      else if(qual==='-')iss.push(H.issue('ok','Ends with -all (hard fail)','Strict. Make sure every service that sends for you is included.'));\r\n      if(ctx.ptr)iss.push(H.issue('warn','The ptr term is used','It is slow and discouraged. Replace it with ip4 or include.'));\r\n      if(ctx.lookups>10)iss.push(H.issue('bad','Too many DNS lookups: '+ctx.lookups+' of 10','SPF fails when more than 10 are needed. Remove unused services or use fewer includes.'));\r\n      else if(ctx.lookups>=8)iss.push(H.issue('warn','Close to the lookup limit: '+ctx.lookups+' of 10','Adding one more service may break SPF.'));\r\n      else iss.push(H.issue('ok','DNS lookups: '+ctx.lookups+' of 10','Within the limit.'));\r\n      if(ctx.capped)iss.push(H.issue('warn','Lookups cut short','The record chain is long, so some includes were not followed. The real count may be higher.'));\r\n      tl.forEach(function(t){var n=(\/^[+\\-~?]\/.test(t)?t.slice(1):t).split(\/[:=\\\/]\/)[0].toLowerCase();if(['include','a','mx','ip4','ip6','all','redirect','exists','ptr','exp'].indexOf(n)<0)iss.push(H.issue('bad','Unknown term: '+t,'Check the spelling. Unknown terms cause a permanent error.'));});\r\n      var bads=iss.filter(function(x){return x.kind==='bad';}).length;\r\n      var parts=[{type:'stats',items:[H.stat('SPF record','Found',bads?bads+' problem'+(bads>1?'s':''):'No errors'),H.stat('DNS lookups',ctx.lookups+' \/ 10',ctx.lookups>10?'Over the limit':'Within the limit'),H.stat('Ending',allT?allT:'None',qual==='-'?'Strict':(qual==='~'?'Soft fail':(qual==='+'?'Unsafe':'Weak')))]},{type:'text',title:'Record found for '+d,text:rec},{type:'issues',title:'Findings',items:iss}];\r\n      parts.push({type:'table',title:'What each part means',headers:['Term','Meaning'],rows:tl.map(function(t){return [t,mechMeaning(t)];}),strong:0});\r\n      return parts;\r\n    });\r\n  }\r\n});\r\n\r\n\/* ---- DKIM ---- *\/\r\nvar DKIM_SELS=['google','selector1','selector2','default','k1','k2','s1','s2','zoho','mail','dkim','smtp','mandrill','brevo'];\r\nfunction parseTags(s){var m={};String(s).split(';').forEach(function(p){var i=p.indexOf('=');if(i>0)m[p.slice(0,i).trim().toLowerCase()]=p.slice(i+1).trim();});return m;}\r\nfunction dkimInspect(sel,d,txt){\r\n  var tags=parseTags(txt),iss=[],p=(tags.p||'').replace(\/\\s+\/g,''),bytes=Math.floor(p.length*3\/4),k=(tags.k||'rsa').toLowerCase();\r\n  if(tags.v&&tags.v.toUpperCase()!=='DKIM1')iss.push(H.issue('warn','Version tag is '+tags.v,'It should be v=DKIM1.'));\r\n  if(!('p' in tags))iss.push(H.issue('bad','No public key (p=) tag','DKIM cannot work without it.'));\r\n  else if(!p)iss.push(H.issue('bad','The key is empty (revoked)','An empty p= means this key was switched off. Publish a new key.'));\r\n  else{\r\n    if(k==='ed25519')iss.push(H.issue('ok','Ed25519 key','Modern and strong. Some older receivers do not support it, so many senders also keep an RSA key.'));\r\n    else{var bits=bytes>=500?'4096-bit':(bytes>=270?'2048-bit':(bytes>=140?'1024-bit':'under 1024-bit'));\r\n      iss.push(H.issue(bytes>=270?'ok':(bytes>=140?'warn':'bad'),'RSA key size looks like '+bits,bytes>=270?'Good. 2048-bit is the recommended size.':(bytes>=140?'1024-bit still works but is weak. Rotate to 2048-bit.':'Too weak. Replace it with a 2048-bit key.')));}\r\n    if(!\/^[A-Za-z0-9+\\\/=]+$\/.test(p))iss.push(H.issue('bad','The key has invalid characters','Check that the whole key was pasted without extra quotes or breaks.'));\r\n  }\r\n  if(\/(^|:)y(:|$)\/.test(tags.t||''))iss.push(H.issue('warn','Testing mode is on (t=y)','Receivers may ignore failures. Remove t=y once DKIM works.'));\r\n  if(tags.h&&\/sha1\/i.test(tags.h)&&!\/sha256\/i.test(tags.h))iss.push(H.issue('warn','Only sha1 is allowed','Use sha256.'));\r\n  if(tags.s&&!\/(^|:)(email|\\*)(:|$)\/.test(tags.s))iss.push(H.issue('warn','Service tag limits the key','s='+tags.s+' means this key is not for email.'));\r\n  return {title:sel+'._domainkey.'+d,tags:tags,iss:iss,txt:txt};\r\n}\r\ndefineTool({\r\n  o:4,slug:'dkim-checker',group:'deliv',tag:'DNS check',icon:'key',color:'#7C3AED',async:true,goLabel:'Check DKIM',goTitle:'Check your DKIM key',goText:'Enter your domain and a selector, or leave the selector empty to try common ones.',pill:DNS_PILL,\r\n  name:'DKIM Checker',\r\n  card:'Check that your DKIM key is published correctly.',\r\n  intro:'Enter your domain and DKIM selector. We look up the public key and check its size and settings. Leave the selector empty to try common ones.',\r\n  title:'Free DKIM Record Checker',\r\n  meta:'Look up your DKIM record by selector and check the key. Free DKIM checker for any domain.',\r\n  kw:'dkim checker dkim record lookup selector domainkey public key 2048 google selector1 default',\r\n  required:['domain'],\r\n  how:['Enter your domain. Add the selector from your email provider, or leave it empty.','Press Check DKIM. We read the public key from DNS.','Fix any issues, such as a 1024-bit key or testing mode.'],\r\n  faqs:[['What is a DKIM selector?','It is a label that points to one DKIM key. Your email provider tells you the selector. Common ones are google, selector1, selector2, default and k1.'],['Where can I find my selector?','Open an email you sent and view the original message. Look for \u201cDKIM-Signature\u201d and the s= value.'],['Why was no key found?','The selector may be wrong, the record may not be live yet, or your provider may use a CNAME that points to its own key. Try another selector.'],['Can this check if my emails are signed?','No. It checks the public key in DNS. To confirm signing, send a test to Gmail and check \u201cShow original\u201d.']],\r\n  fields:[{id:'domain',label:'Domain',type:'text',ex:'google.com',ph:'e.g. yourbrand.com'},{id:'sel',label:'DKIM selector',type:'text',ex:'',ph:'e.g. google (or leave empty)',optional:true,hint:'Empty = we try common selectors.'}],\r\n  runAsync:function(v){\r\n    var d=H.domain(v.domain),bad=badDomain(d);if(bad)return bad;\r\n    var sel=String(v.sel||'').trim().toLowerCase().replace(\/\\._domainkey.*$\/,''),list=sel?[sel]:DKIM_SELS;\r\n    if(sel&&!\/^[a-z0-9._-]+$\/.test(sel))return [{type:'note',kind:'warn',text:'The selector can only use letters, numbers, dots, dashes and underscores.'}];\r\n    return Promise.all(list.map(function(s){return H.dns(s+'._domainkey.'+d,'TXT').then(function(r){return {s:s,r:r};});})).then(function(rs){\r\n      var fail=rs.filter(function(x){return !x.r.ok;});\r\n      if(fail.length===rs.length)return [{type:'issues',title:'Result',items:[dnsFail(d,fail[0].r)]}];\r\n      var found=[];\r\n      rs.forEach(function(x){txtRecords(x.r).forEach(function(t){if(\/(^|;)\\s*(v=DKIM1|k=|p=)\/i.test(t))found.push(dkimInspect(x.s,d,t));});});\r\n      if(!found.length)return [{type:'stats',items:[H.stat('Keys found','0'),H.stat('Selectors tried',String(list.length))]},{type:'issues',title:'Findings',items:[H.issue('bad','No DKIM key found'+(sel?' for selector \u201c'+sel+'\u201d':''),sel?'Check the selector with your email provider. A CNAME to your provider should also work once it is live.':'None of the common selectors matched. Ask your email provider for your selector, then enter it above.')]}];\r\n      var parts=[{type:'stats',items:[H.stat('Keys found',String(found.length)),H.stat('Selectors tried',String(list.length)),H.stat('Problems',String(found.reduce(function(a,f){return a+f.iss.filter(function(x){return x.kind==='bad';}).length;},0)))]}];\r\n      found.forEach(function(f){\r\n        parts.push({type:'issues',title:f.title,items:f.iss.length?f.iss:[H.issue('ok','Key looks fine','')]});\r\n        parts.push({type:'text',title:'Record at '+f.title,text:f.txt.length>400?f.txt.slice(0,400)+'\u2026':f.txt});\r\n      });\r\n      return parts;\r\n    });\r\n  }\r\n});\r\n\r\n\/* ---- DMARC ---- *\/\r\nvar DMARC_TAGS={v:'Version (must be DMARC1)',p:'Policy for your domain',sp:'Policy for subdomains',rua:'Where summary reports are sent',ruf:'Where failure reports are sent',pct:'Percent of email the policy applies to',adkim:'DKIM alignment (r relaxed, s strict)',aspf:'SPF alignment (r relaxed, s strict)',fo:'When to create failure reports',ri:'Report interval in seconds',rf:'Failure report format'};\r\ndefineTool({\r\n  o:5,slug:'dmarc-checker',group:'deliv',tag:'DNS check',icon:'shield',color:'#10B981',async:true,goLabel:'Check DMARC',goTitle:'Check your DMARC record',goText:'Enter a domain and press Check DMARC.',pill:DNS_PILL,\r\n  name:'DMARC Checker',\r\n  card:'Check your DMARC policy and reporting setup.',\r\n  intro:'Enter a domain. We read its DMARC record, explain each tag and tell you what to fix.',\r\n  title:'Free DMARC Record Checker',\r\n  meta:'Look up your DMARC policy, check the tags and get fixes. Free DMARC checker for any domain.',\r\n  kw:'dmarc checker dmarc record lookup policy none quarantine reject rua report alignment',\r\n  required:['domain'],\r\n  how:['Enter your domain.','Press Check DMARC. We read the record at _dmarc.yourdomain.','Follow the fixes. Raise your policy step by step.'],\r\n  faqs:[['What does p=none mean?','Monitor only. Failing email is still delivered. It is a safe first step but does not stop spoofing.'],['Do subdomains need their own record?','Not always. A subdomain uses the main domain\u2019s record unless it has its own, and the sp tag can set a different policy.'],['Why does it show the record of my main domain?','If no record is found for the name you entered, we check the main (organizational) domain, because that is what receivers do too.'],['Does this check external report permissions?','No. If reports go to another domain, that domain must authorise it in DNS.']],\r\n  fields:[{id:'domain',label:'Domain',type:'text',ex:'google.com',ph:'e.g. yourbrand.com'}],\r\n  runAsync:function(v){\r\n    var d=H.domain(v.domain),bad=badDomain(d);if(bad)return bad;\r\n    function look(n){return H.dns('_dmarc.'+n,'TXT').then(function(r){if(!r.ok)return {err:r};var recs=txtRecords(r).filter(function(x){return \/^v=DMARC1\/i.test(x.trim());});return {name:n,recs:recs,status:r.status};});}\r\n    return look(d).then(function(a){\r\n      if(a.err)return [{type:'issues',title:'Result',items:[dnsFail(d,a.err)]}];\r\n      var org=H.orgDomain(d);\r\n      if(!a.recs.length&&org!==d)return look(org).then(function(b){if(b.err)return [{type:'issues',title:'Result',items:[dnsFail(d,b.err)]}];return b.recs.length?{b:b,inherit:true}:{b:a,none:true};});\r\n      return {b:a,none:!a.recs.length};\r\n    }).then(function(x){\r\n      if(Array.isArray(x))return x;\r\n      var res=x.b;\r\n      if(x.none||!res.recs.length)return [{type:'stats',items:[H.stat('DMARC record','Not found'),H.stat('Domain',d)]},{type:'issues',title:'Findings',items:[H.issue('bad','No DMARC record found','Gmail, Yahoo and Outlook expect one from bulk senders. Create it with the DMARC Record Generator and publish it as a TXT record at _dmarc.'+d+'.')]}];\r\n      var rec=res.recs[0],tg=parseTags(rec),iss=[];\r\n      if(res.recs.length>1)iss.push(H.issue('bad','More than one DMARC record','Receivers ignore DMARC when there are several. Keep only one.'));\r\n      if(x.inherit)iss.push(H.issue('info','Record belongs to '+res.name,'No record exists at _dmarc.'+d+', so the main domain\u2019s record applies.'));\r\n      if(!\/^v=DMARC1\/i.test(rec.trim()))iss.push(H.issue('bad','The record must start with v=DMARC1',''));\r\n      var p=(tg.p||'').toLowerCase();\r\n      if(!p)iss.push(H.issue('bad','No policy (p=) tag','p= is required. Use none, quarantine or reject.'));\r\n      else if(p==='none')iss.push(H.issue('warn','Policy is none (monitor only)','Spoofed email is still delivered. After a few clean weeks, move to quarantine and then reject.'));\r\n      else if(p==='quarantine')iss.push(H.issue('ok','Policy is quarantine','Failing email goes to spam. Consider reject when reports are clean.'));\r\n      else if(p==='reject')iss.push(H.issue('ok','Policy is reject','The strongest setting. Failing email is blocked.'));\r\n      else iss.push(H.issue('bad','Unknown policy \u201c'+tg.p+'\u201d','Use none, quarantine or reject.'));\r\n      if(!tg.rua)iss.push(H.issue('warn','No report address (rua)','Add rua=mailto:you@yourdomain.com to receive reports and find senders that fail.'));\r\n      else if(!\/mailto:\/i.test(tg.rua))iss.push(H.issue('bad','rua is not a mailto: address','Use rua=mailto:name@domain.com.'));\r\n      else iss.push(H.issue('ok','Reports are requested',tg.rua));\r\n      if(tg.pct&&+tg.pct<100)iss.push(H.issue(p==='none'?'info':'warn','pct is '+tg.pct+'%','The policy applies to only this share of failing mail. Raise it to 100 when ready.'));\r\n      if(tg.sp&&tg.sp!==p)iss.push(H.issue('info','Subdomains use sp='+tg.sp,'Subdomains follow a different policy than the main domain.'));\r\n      if(tg.adkim==='s'||tg.aspf==='s')iss.push(H.issue('info','Strict alignment is on','Strict needs an exact domain match. It can fail mail from subdomains.'));\r\n      var bads=iss.filter(function(i){return i.kind==='bad';}).length,pol=p||'missing';\r\n      var parts=[{type:'stats',items:[H.stat('DMARC record','Found',bads?bads+' problem'+(bads>1?'s':''):'No errors'),H.stat('Policy',pol,pol==='none'?'Monitor only':(pol==='quarantine'?'Failures to spam':(pol==='reject'?'Failures blocked':''))),H.stat('Reports',tg.rua?'On':'Off')]},{type:'text',title:'Record at _dmarc.'+res.name,text:rec},{type:'issues',title:'Findings',items:iss}];\r\n      var rows=Object.keys(tg).map(function(k){return [k,tg[k],DMARC_TAGS[k]||'Other tag'];});\r\n      parts.push({type:'table',title:'What each tag means',headers:['Tag','Value','Meaning'],rows:rows,strong:0});\r\n      return parts;\r\n    });\r\n  }\r\n});\r\n\r\n\/* ---- Blacklist ---- *\/\r\nvar BL_IP=[['Spamhaus ZEN','zen.spamhaus.org'],['SpamCop','bl.spamcop.net'],['Barracuda','b.barracudacentral.org'],['PSBL','psbl.surriel.com'],['UCEPROTECT Level 1','dnsbl-1.uceprotect.net'],['S5H','all.s5h.net'],['DroneBL','dnsbl.dronebl.org']];\r\nvar BL_DOM=[['Spamhaus DBL','dbl.spamhaus.org'],['SURBL','multi.surbl.org'],['URIBL','multi.uribl.com']];\r\nfunction blLookup(name){\r\n  return H.dns(name,'A').then(function(r){\r\n    if(!r.ok||r.status===2||r.status===5)return {k:'',t:'Not checked',n:'The list did not answer through public DNS.'};\r\n    if(r.status===3)return {k:'ok',t:'Not listed',n:''};\r\n    var a=r.answers[0];\r\n    if(!a)return {k:'ok',t:'Not listed',n:''};\r\n    if(\/^127\\.255\\.255\\.\/.test(a.data)||\/^127\\.0\\.0\\.1$\/.test(a.data)&&false)return {k:'',t:'Not checked',n:'This list blocks lookups from public resolvers.'};\r\n    if(\/^127\\.\/.test(a.data))return {k:'bad',t:'Listed',n:'Return code '+a.data};\r\n    return {k:'',t:'Not checked',n:'Unexpected answer.'};\r\n  });\r\n}\r\ndefineTool({\r\n  o:8,slug:'email-blacklist-checker',group:'deliv',tag:'DNS check',icon:'ban',color:'#DC2626',async:true,goLabel:'Check blacklists',goTitle:'Check common blacklists',goText:'Enter a sending IP address or a domain and press Check blacklists.',pill:DNS_PILL,\r\n  name:'Email Blacklist Checker',\r\n  card:'See if your domain or IP is on a blacklist.',\r\n  intro:'Enter your sending IP address or domain. We check it against common email blacklists and show what to do if it is listed.',\r\n  title:'Free Email Blacklist Checker',\r\n  meta:'Check whether your domain or sending IP is listed on common email blacklists. Free blacklist checker.',\r\n  kw:'email blacklist checker ip blacklist domain blacklist spamhaus spamcop barracuda dnsbl rbl',\r\n  required:['target'],\r\n  how:['Enter the IP address your email is sent from, or your domain.','Press Check blacklists. We query common lists over public DNS.','If you are listed, fix the cause first, then ask the list to remove you.'],\r\n  faqs:[['Which IP should I check?','The IP your email is sent from. Your email provider or the \u201cReceived\u201d lines in the email headers show it. If you use a shared provider, the provider handles its own IPs.'],['What does \u201cNot checked\u201d mean?','Some big lists refuse lookups that come through public DNS services. This tool cannot see them, so use the list\u2019s own lookup page for a full answer.'],['I am listed. What now?','Find and fix the cause (a hacked account, bad list or spam complaints). Then request removal from that list. Asking before fixing often gets you listed again.'],['Does being listed mean all my email is blocked?','Not always. Each receiver chooses which lists to use. Big receivers rely mostly on their own reputation data.']],\r\n  fields:[{id:'target',label:'IP address or domain',type:'text',ex:'example.com',ph:'e.g. 203.0.113.10 or yourbrand.com'}],\r\n  runAsync:function(v){\r\n    var raw=String(v.target||'').trim(),isIp=H.isIPv4(raw),d=isIp?'':H.domain(raw);\r\n    if(!isIp&&!H.validDomain(d))return [{type:'note',kind:'warn',text:'Enter an IPv4 address like 203.0.113.10 or a domain like example.com.'}];\r\n    var ipsP=isIp?Promise.resolve([raw]):H.dns(d,'A').then(function(r){return r.ok?r.answers.map(function(a){return a.data;}).filter(H.isIPv4).slice(0,3):[];});\r\n    return ipsP.then(function(ips){\r\n      var jobs=[];\r\n      ips.forEach(function(ip){var rev=ip.split('.').reverse().join('.');BL_IP.forEach(function(z){jobs.push({list:z[0],sub:ip,q:rev+'.'+z[1]});});});\r\n      if(!isIp)BL_DOM.forEach(function(z){jobs.push({list:z[0],sub:d,q:d+'.'+z[1]});});\r\n      if(!jobs.length)return [{type:'issues',title:'Result',items:[H.issue('warn','No IP address found for '+d,'The domain has no A record, so there is no IP to check. Enter your sending IP address instead.')]}];\r\n      return Promise.all(jobs.map(function(j){return blLookup(j.q).then(function(r){return {j:j,r:r};});})).then(function(rs){\r\n        var listed=rs.filter(function(x){return x.r.t==='Listed';}),nc=rs.filter(function(x){return x.r.t==='Not checked';}).length,ok=rs.length-listed.length-nc;\r\n        var parts=[{type:'stats',items:[H.stat('Lists checked',String(rs.length-nc),nc?nc+' could not be checked':'All answered'),H.stat('Listed',String(listed.length),listed.length?'Needs attention':'Clean'),H.stat('Not listed',String(ok))]}];\r\n        var iss=[];\r\n        if(listed.length)iss.push(H.issue('bad','Listed on '+listed.length+' list'+(listed.length>1?'s':'')+': '+listed.map(function(x){return x.j.list;}).filter(function(x,i,a){return a.indexOf(x)===i;}).join(', '),'Find and fix the cause first. Then request removal on that list\u2019s own website.'));\r\n        else iss.push(H.issue('ok','Not listed on the lists we could check','Good sign. This is not a full picture.'));\r\n        if(nc)iss.push(H.issue('warn',nc+' check'+(nc>1?'s were':' was')+' not possible','Some lists block public DNS lookups. Use the list\u2019s own lookup page (for example Spamhaus or Barracuda) for a full answer.'));\r\n        if(!isIp)iss.push(H.issue('info','Domain lookups use your website\u2019s IP','We checked the IP addresses in your domain\u2019s A record. For email, enter the IP your mail is sent from.'));\r\n        if(listed.length)iss.push(H.issue('info','How to get delisted','1) Stop the cause: scan for hacked accounts, remove bad or purchased addresses, fix open relays. 2) Request removal on the list\u2019s website. 3) Check again after a day or two.'));\r\n        parts.push({type:'issues',title:'Findings',items:iss});\r\n        parts.push({type:'table',title:'Results by list',headers:['List','Checked','Result','Note'],rows:rs.map(function(x){return [x.j.list,x.j.sub,{t:x.r.t,k:x.r.k},x.r.n];}),strong:0});\r\n        return parts;\r\n      });\r\n    });\r\n  }\r\n});\r\n\r\n\/* List health tools: 11 validator, 12 bulk verifier, 13 cleaner, 14 disposable, 15 role-based *\/\r\nvar SAMPLE_LIST='priya.sharma@gmail.com\\ninfo@brightfoods.in\\nrahul@gmial.com\\namit.kumar@yahoo.co.in\\nsupport@acme-store.com\\nrandom123@mailinator.com\\nneha@@example.org\\nsneha.rao@outlook.com\\nPriya.Sharma@gmail.com\\nvikram.singh@company\\nsales@zenfit.in';\r\nvar RESERVED=\/@(example\\.(com|org|net)|test\\.com|localhost|[^@]*\\.(invalid|test|example|localhost))$\/i;\r\nfunction domOf(e){return e.slice(e.lastIndexOf('@')+1).toLowerCase();}\r\nfunction fmtSep(arr,sep){return arr.join(sep==='comma'?', ':(sep==='semi'?'; ':'\\n'));}\r\nfunction mxLookup(dom){\r\n  return H.dns(dom,'MX').then(function(r){\r\n    if(!r.ok)return {err:true};\r\n    if(r.status===3)return {none:true,nx:true};\r\n    var mx=r.answers.map(function(a){return String(a.data).trim();});\r\n    if(mx.length&&mx.every(function(m){return \/^0\\s+\\.?$\/.test(m);}))return {none:true,nullmx:true};\r\n    if(mx.length)return {ok:true};\r\n    return H.dns(dom,'A').then(function(a){return a.ok&&a.answers.length?{ok:true,implicit:true}:(a.ok?{none:true}:{err:true});});\r\n  });\r\n}\r\n\r\n\/* ===== 11. Email Address Validator ===== *\/\r\ndefineTool({\r\n  o:11,slug:'email-address-validator',group:'list',tag:'Validate',icon:'at',color:'#2563EB',async:true,goLabel:'Validate emails',goTitle:'Check your email addresses',goText:'Add one or more email addresses (one per line) and press Validate emails.',pill:'Free \u00b7 Format check runs in your browser \u00b7 Domain check uses public DNS',\r\n  name:'Email Address Validator',\r\n  card:'Check email format, typos and whether the domain can receive mail.',\r\n  intro:'Check an email address for format errors, common typos, disposable and role addresses, and whether its domain can receive email.',\r\n  title:'Free Email Address Validator',\r\n  meta:'Check email format, common typos and domain mail records. Free email address validator.',\r\n  kw:'email address validator email checker format syntax typo mx record domain check valid email',\r\n  required:['emails'],\r\n  how:['Type or paste up to 25 email addresses, one per line.','Press Validate emails. We check format, typos and the domain\u2019s mail records.','Fix addresses marked Invalid. Review the ones marked Risky.'],\r\n  faqs:[['Can this confirm that a mailbox really exists?','No. Only the mail server can say that, and many servers will not tell. We check the format and whether the domain is set up to receive email. A full check needs a paid verification service.'],['What is an MX record?','It tells the world which servers accept email for a domain. No MX record usually means the domain cannot receive mail.'],['What is sent to the internet?','Only the domain part (for example gmail.com) goes to a public DNS service. The part before the @ never leaves your browser.'],['How many can I check at once?','25 here. For long lists use the Bulk Email Verifier or the Email List Cleaner.']],\r\n  fields:[\r\n    {id:'emails',label:'Email addresses (one per line)',type:'textarea',raw:true,rows:7,ex:'priya.sharma@gmail.com\\nrahul@gmial.com\\nneha@@example.org\\nrandom123@mailinator.com\\ninfo@brightfoods.in',ph:'name@example.com',file:true},\r\n    {id:'dns',label:'Also check the domain\u2019s mail records (DNS)',type:'toggle',ex:true}\r\n  ],\r\n  runAsync:function(v){\r\n    var all=H.parseEmails(v.emails),capped=all.length>25,items=all.slice(0,25);\r\n    if(!items.length)return [{type:'note',kind:'warn',text:'Add at least one email address.'}];\r\n    var rows=items.map(function(it){\r\n      var e=it.email,why=it.bad?'Not an email address':H.syntaxCheck(e),o={e:e,s:'ok',n:[]};\r\n      if(why){o.s='bad';o.n.push(why);o.skip=true;return o;}\r\n      var fix=H.typoFix(e);if(fix){o.s='warn';o.n.push('Did you mean '+fix+'?');}\r\n      if(H.disposable(e)){o.s='warn';o.n.push('Disposable (temporary) address');}\r\n      var role=H.roleOf(e);if(role){if(o.s==='ok')o.s='warn';o.n.push('Role address (shared inbox: '+role+'@)');}\r\n      return o;\r\n    });\r\n    var doms={};\r\n    if(v.dns)rows.forEach(function(o){if(!o.skip)doms[domOf(o.e)]=1;});\r\n    var dl=Object.keys(doms);\r\n    return Promise.all(dl.map(function(d){return mxLookup(d).then(function(r){doms[d]=r;});})).then(function(){\r\n      var dnsDown=false;\r\n      rows.forEach(function(o){\r\n        if(o.skip||!v.dns)return;var r=doms[domOf(o.e)];\r\n        if(!r||r.err){dnsDown=true;return;}\r\n        if(r.none){o.s='bad';o.n.unshift(r.nx?'Domain does not exist':(r.nullmx?'Domain says it does not accept email':'Domain has no mail server'));}\r\n        else if(r.ok&&o.n.length===0)o.n.push(r.implicit?'Domain can receive mail (no MX, uses its web server)':'Domain can receive mail');\r\n      });\r\n      var cnt={ok:0,warn:0,bad:0};rows.forEach(function(o){cnt[o.s]++;});\r\n      var lab={ok:'Looks valid',warn:'Risky',bad:'Invalid'};\r\n      var parts=[{type:'stats',items:[H.stat('Checked',String(rows.length),capped?'First 25 of '+all.length:''),H.stat('Look valid',String(cnt.ok)),H.stat('Risky',String(cnt.warn)),H.stat('Invalid',String(cnt.bad))]}];\r\n      parts.push({type:'table',title:'Results',headers:['Email','Status','Details'],rows:rows.map(function(o){return [o.e,{t:lab[o.s],k:o.s},o.n.join('. ')||'Format is fine'];}),strong:0});\r\n      var iss=[];\r\n      if(dnsDown)iss.push(H.issue('warn','Domain check was not possible for some addresses','The public DNS service did not answer. Format checks are still shown.'));\r\n      if(!v.dns)iss.push(H.issue('info','Domain check is off','Turn on the DNS check to find domains that cannot receive email.'));\r\n      iss.push(H.issue('info','\u201cLooks valid\u201d is not a guarantee','Only the mail server knows if a mailbox exists. For a full check use a paid email verification service.'));\r\n      parts.push({type:'issues',title:'Good to know',items:iss});\r\n      return parts;\r\n    });\r\n  }\r\n});\r\n\r\n\/* ===== 12. Bulk Email Verifier ===== *\/\r\nfunction classify(list,opt){\r\n  var seen={},out=[];\r\n  list.forEach(function(it,idx){\r\n    var e=it.email,key=e.toLowerCase(),r={n:idx+1,e:e,s:'Good',k:'ok',why:[]};\r\n    var why=it.bad?'Not an email address':H.syntaxCheck(e);\r\n    if(why){r.s='Remove';r.k='bad';r.why.push(why);out.push(r);return;}\r\n    if(seen[key]){r.s='Remove';r.k='bad';r.why.push('Duplicate of row '+seen[key]);out.push(r);return;}\r\n    seen[key]=idx+1;\r\n    if(RESERVED.test(e)){r.s='Remove';r.k='bad';r.why.push('Test or reserved domain');}\r\n    if(H.disposable(e)){if(opt.disp){r.s='Remove';r.k='bad';}else if(r.k==='ok'){r.s='Risky';r.k='warn';}r.why.push('Disposable domain');}\r\n    var fix=H.typoFix(e);if(fix){if(r.k==='ok'){r.s='Risky';r.k='warn';}r.why.push('Possible typo, did you mean '+fix+'?');r.fix=fix;}\r\n    var role=H.roleOf(e);if(role){if(opt.role&&r.k==='ok'){r.s='Risky';r.k='warn';}r.why.push('Role address ('+role+'@)');}\r\n    out.push(r);\r\n  });\r\n  return out;\r\n}\r\ndefineTool({\r\n  o:12,slug:'bulk-email-verifier',group:'list',tag:'Bulk',icon:'list',color:'#7C3AED',\r\n  name:'Bulk Email Verifier',\r\n  card:'Check a whole list for bad formats, typos, duplicates and risky addresses.',\r\n  intro:'Paste or load a list. Every address is checked for format, typos, duplicates, disposable domains and role addresses, then labelled Good, Risky or Remove.',\r\n  title:'Free Bulk Email Checker',\r\n  meta:'Check a list of emails in bulk for invalid formats, typos, duplicates, disposable and role addresses. Free bulk email checker.',\r\n  kw:'bulk email verifier bulk email checker list verification validate email list csv duplicates disposable role',\r\n  regen:false,required:['list'],\r\n  how:['Paste your list (one email per line, or a CSV) or load a file.','Choose how strict to be about role and disposable addresses.','Download the Good list and the full report.'],\r\n  faqs:[['Does this confirm that each mailbox exists?','No. It runs in your browser and checks what it can see: format, typos, duplicates, disposable and role addresses. Confirming that a mailbox exists needs a paid verification service that talks to mail servers.'],['Why not just use a paid service?','Do both. Use this first to remove obvious problems for free. Then send what is left to a paid service so you pay for fewer addresses.'],['Is my list uploaded?','No. The list stays in your browser. Nothing is sent anywhere.'],['How large a list can I check?','Several tens of thousands of rows work in most browsers. The table shows the first 100 results, and the downloads include all of them.']],\r\n  fields:[\r\n    {id:'list',label:'Email list',type:'textarea',raw:true,rows:10,ex:SAMPLE_LIST,ph:'One email per line, or paste a CSV',file:true},\r\n    {id:'role',label:'Mark role addresses (info@, support@) as Risky',type:'toggle',ex:true},\r\n    {id:'disp',label:'Mark disposable addresses as Remove',type:'toggle',ex:true}\r\n  ],\r\n  run:function(v){\r\n    var list=H.parseEmails(v.list);if(!list.length)return [];\r\n    var rs=classify(list,{role:v.role,disp:v.disp});\r\n    var c={Good:0,Risky:0,Remove:0},dup=0;rs.forEach(function(r){c[r.s]++;if(r.why.join(' ').indexOf('Duplicate')>-1)dup++;});\r\n    var parts=[{type:'stats',items:[H.stat('Rows checked',H.num(rs.length)),H.stat('Good',H.num(c.Good),Math.round(c.Good\/rs.length*100)+'%'),H.stat('Risky',H.num(c.Risky)),H.stat('Remove',H.num(c.Remove),dup?dup+' duplicates':'')]}];\r\n    var good=rs.filter(function(r){return r.s==='Good';}).map(function(r){return r.e;}),risky=rs.filter(function(r){return r.s==='Risky';}).map(function(r){return r.e;});\r\n    parts.push({type:'file',files:[{label:'Good list (CSV)',name:'good-emails.csv',text:H.csv([['email']].concat(good.map(function(x){return [x];})))},{label:'Full report (CSV)',name:'email-verification-report.csv',text:H.csv([['row','email','status','reason']].concat(rs.map(function(r){return [r.n,r.e,r.s,r.why.join('; ')];})))},{label:'Risky list (CSV)',name:'risky-emails.csv',text:H.csv([['email']].concat(risky.map(function(x){return [x];})))}]});\r\n    var shown=rs.filter(function(r){return r.s!=='Good';}).concat(rs.filter(function(r){return r.s==='Good';})).slice(0,100);\r\n    parts.push({type:'table',title:'Results'+(rs.length>100?' (first 100, worst first)':''),headers:['#','Email','Status','Why'],rows:shown.map(function(r){return [r.n,r.e,{t:r.s,k:r.k},r.why.join('. ')||'No problems found'];}),strong:1});\r\n    parts.push({type:'issues',title:'Next step: full verification',items:[H.issue('info','This is the free first pass','A paid verification service (for example ZeroBounce, NeverBounce, Kickbox or Bouncer) also checks whether each mailbox exists. Send your Good and Risky lists there to save cost.'),H.issue('warn','Keep your bounce rate under 2%','Remove hard bounces after every send.')]});\r\n    return parts;\r\n  }\r\n});\r\n\r\n\/* ===== 13. Email List Cleaner ===== *\/\r\ndefineTool({\r\n  o:13,slug:'email-list-cleaner',group:'list',tag:'Clean',icon:'broom',color:'#10B981',\r\n  name:'Email List Cleaner & Duplicate Remover',\r\n  card:'Clean your list and remove duplicates in one step.',\r\n  intro:'Paste a messy list. Remove duplicates, fix spacing and case, and drop invalid, role or disposable addresses. Download the clean list.',\r\n  title:'Free Email List Cleaner',\r\n  meta:'Remove duplicates, fix spacing and case, and drop invalid emails. Free email list cleaner.',\r\n  kw:'email list cleaner duplicate remover remove duplicate emails clean email list lowercase trim csv',\r\n  regen:false,required:['list'],\r\n  how:['Paste your list or load a file. Names, commas and CSV columns are fine.','Pick what to clean.','Copy or download the clean list. A report shows what was removed.'],\r\n  faqs:[['What does the cleaner do to messy rows?','It pulls the email address out of each line, so \u201cPriya <priya@gmail.com>\u201d becomes priya@gmail.com. Lines with no email are listed as removed.'],['Why lowercase everything?','Email domains are not case sensitive, and almost every provider treats the part before the @ the same way. Lowercase makes duplicates easier to catch.'],['Will it merge Gmail dot or plus addresses?','No. priya.s@gmail.com and priyas@gmail.com are kept separate to stay safe.'],['Is my list uploaded?','No. Everything happens in your browser.']],\r\n  fields:[\r\n    {id:'list',label:'Email list',type:'textarea',raw:true,rows:10,ex:'  Priya.Sharma@Gmail.com  \\nAmit Kumar <amit.kumar@yahoo.co.in>\\nrahul@gmial.com\\npriya.sharma@gmail.com\\ninfo@brightfoods.in\\nneha@@example.org\\nrandom123@mailinator.com\\n',ph:'Paste your list here',file:true},\r\n    {id:'lower',label:'Make everything lowercase',type:'toggle',ex:true},\r\n    {id:'dedupe',label:'Remove duplicates',type:'toggle',ex:true},\r\n    {id:'invalid',label:'Remove invalid addresses',type:'toggle',ex:true},\r\n    {id:'fix',label:'Fix common domain typos (gmial.com to gmail.com)',type:'toggle',ex:true},\r\n    {id:'role',label:'Remove role addresses (info@, support@)',type:'toggle',ex:false},\r\n    {id:'disp',label:'Remove disposable addresses',type:'toggle',ex:true},\r\n    {id:'sort',label:'Sort A to Z',type:'toggle',ex:false},\r\n    {id:'fmt',label:'Output format',type:'select',options:[['line','One per line'],['comma','Comma separated'],['semi','Semicolon separated']],ex:'line'}\r\n  ],\r\n  run:function(v){\r\n    var list=H.parseEmails(v.list);if(!list.length)return [];\r\n    var kept=[],removed=[],seen={},fixed=0;\r\n    list.forEach(function(it){\r\n      var e=it.email;\r\n      if(it.bad){if(v.invalid)removed.push([e,'No email address found']);else kept.push(e);return;}\r\n      if(v.lower)e=e.toLowerCase();\r\n      var why=H.syntaxCheck(e);\r\n      if(why){if(v.invalid){removed.push([e,why]);return;}kept.push(e);return;}\r\n      if(v.fix){var f=H.typoFix(e);if(f){e=f;fixed++;}}\r\n      if(v.role&&H.roleOf(e)){removed.push([e,'Role address']);return;}\r\n      if(v.disp&&H.disposable(e)){removed.push([e,'Disposable domain']);return;}\r\n      var key=e.toLowerCase();\r\n      if(v.dedupe){if(seen[key]){removed.push([e,'Duplicate']);return;}seen[key]=1;}\r\n      kept.push(e);\r\n    });\r\n    if(v.sort)kept.sort(function(a,b){return a.toLowerCase()<b.toLowerCase()?-1:1;});\r\n    var reasons={};removed.forEach(function(r){var k=r[1].indexOf('Duplicate')===0?'Duplicate':(\/Role|Disposable|No email\/.test(r[1])?r[1]:'Invalid format');reasons[k]=(reasons[k]||0)+1;});\r\n    var parts=[{type:'stats',items:[H.stat('Rows in',H.num(list.length)),H.stat('Clean list',H.num(kept.length)),H.stat('Removed',H.num(removed.length)),H.stat('Typos fixed',String(fixed))]}];\r\n    parts.push({type:'text',title:'Clean list ('+H.num(kept.length)+')',text:fmtSep(kept.slice(0,5000),v.fmt)+(kept.length>5000?'\\n\u2026 use the download for the full list':'')});\r\n    parts.push({type:'file',files:[{label:'Download clean list (CSV)',name:'clean-email-list.csv',text:H.csv([['email']].concat(kept.map(function(x){return [x];})))},{label:'Download removed (CSV)',name:'removed-emails.csv',text:H.csv([['value','reason']].concat(removed))}]});\r\n    if(removed.length){\r\n      parts.push({type:'table',title:'Why rows were removed',headers:['Reason','Rows'],rows:Object.keys(reasons).map(function(k){return [k,H.num(reasons[k])];}),strong:0});\r\n      parts.push({type:'table',title:'Removed rows'+(removed.length>50?' (first 50)':''),headers:['Value','Reason'],rows:removed.slice(0,50),strong:0});\r\n    }\r\n    return parts;\r\n  }\r\n});\r\n\r\n\/* ===== 14. Disposable Email Detector ===== *\/\r\ndefineTool({\r\n  o:14,slug:'disposable-email-detector',group:'list',tag:'Detect',icon:'flame',color:'#EA580C',\r\n  name:'Disposable Email Detector',\r\n  card:'Find temporary-inbox addresses in your list.',\r\n  intro:'Paste your list to find addresses from temporary email services like Mailinator and 10 Minute Mail. Download the clean list without them.',\r\n  title:'Free Disposable Email Detector',\r\n  meta:'Spot temporary and throwaway email addresses in a list. Free disposable email checker.',\r\n  kw:'disposable email detector temporary email checker throwaway burner mailinator 10minutemail fake email signup',\r\n  regen:false,required:['list'],\r\n  how:['Paste your list or load a file.','See which addresses use temporary email services.','Remove them, or block these domains on your sign-up form.'],\r\n  faqs:[['What is a disposable email address?','A temporary inbox that people use to sign up without sharing their real email. It usually stops working after minutes or days.'],['Is the list complete?','No. New disposable domains appear all the time. This tool checks a built-in list of well-known services, so it will catch many but not all.'],['Should I block them at sign-up?','If you need real contact details, yes. For a free download, you may choose to allow them.']],\r\n  fields:[{id:'list',label:'Email list',type:'textarea',raw:true,rows:9,ex:SAMPLE_LIST,ph:'One email per line',file:true}],\r\n  run:function(v){\r\n    var list=H.parseEmails(v.list).filter(function(x){return !x.bad&&!H.syntaxCheck(x.email);});if(!list.length)return [{type:'note',kind:'warn',text:'No valid email addresses found yet.'}];\r\n    var d=list.filter(function(x){return H.disposable(x.email);}),clean=list.filter(function(x){return !H.disposable(x.email);});\r\n    var parts=[{type:'stats',items:[H.stat('Checked',H.num(list.length)),H.stat('Disposable',H.num(d.length),Math.round(d.length\/list.length*100)+'%'),H.stat('Clean',H.num(clean.length)),H.stat('Domains in our list',String(H.DISP.length))]}];\r\n    if(d.length)parts.push({type:'table',title:'Disposable addresses'+(d.length>100?' (first 100)':''),headers:['Email','Domain'],rows:d.slice(0,100).map(function(x){return [x.email,domOf(x.email)];}),strong:0});\r\n    else parts.push({type:'issues',title:'Result',items:[H.issue('ok','No disposable addresses found','Our list covers well-known services only, so new ones may still slip through.')]});\r\n    parts.push({type:'file',files:[{label:'Download clean list (CSV)',name:'no-disposable-emails.csv',text:H.csv([['email']].concat(clean.map(function(x){return [x.email];})))},{label:'Download disposable (CSV)',name:'disposable-emails.csv',text:H.csv([['email']].concat(d.map(function(x){return [x.email];})))}]});\r\n    parts.push({type:'note',kind:'info',text:'The built-in list covers well-known temporary email services only. Treat the result as a first check.'});\r\n    return parts;\r\n  }\r\n});\r\n\r\n\/* ===== 15. Role-Based Email Finder ===== *\/\r\ndefineTool({\r\n  o:15,slug:'role-based-email-finder',group:'list',tag:'Detect',icon:'users',color:'#0EA5E9',\r\n  name:'Role-Based Email Finder',\r\n  card:'Find info@, support@ and other shared addresses.',\r\n  intro:'Paste your list to find role-based addresses like info@, sales@ and support@. Split them from personal addresses and download both lists.',\r\n  title:'Free Role-Based Email Finder',\r\n  meta:'Find role-based addresses like info@ and sales@ in your list. Free role email checker.',\r\n  kw:'role based email finder role account checker info@ support@ sales@ admin@ shared inbox generic email',\r\n  regen:false,required:['list'],\r\n  how:['Paste your list or load a file.','See which addresses are role-based and which are personal.','Download both lists. Decide whether to keep, separate or remove the role addresses.'],\r\n  faqs:[['What is a role-based email?','An address for a job or team, not a person, like info@ or support@. Several people may read it.'],['Why do they matter for deliverability?','They tend to have lower engagement and more complaints. Some email platforms refuse to send marketing to them.'],['Should I always remove them?','Not always. They can be right for B2B outreach to a company. Just keep them out of large consumer sends.']],\r\n  fields:[{id:'list',label:'Email list',type:'textarea',raw:true,rows:9,ex:SAMPLE_LIST,ph:'One email per line',file:true}],\r\n  run:function(v){\r\n    var list=H.parseEmails(v.list).filter(function(x){return !x.bad&&!H.syntaxCheck(x.email);});if(!list.length)return [{type:'note',kind:'warn',text:'No valid email addresses found yet.'}];\r\n    var role=[],per=[],by={};\r\n    list.forEach(function(x){var r=H.roleOf(x.email);if(r){role.push({e:x.email,r:r});by[r]=(by[r]||0)+1;}else per.push(x.email);});\r\n    var parts=[{type:'stats',items:[H.stat('Checked',H.num(list.length)),H.stat('Role-based',H.num(role.length),Math.round(role.length\/list.length*100)+'%'),H.stat('Personal',H.num(per.length))]}];\r\n    if(role.length){\r\n      parts.push({type:'table',title:'Role-based addresses'+(role.length>100?' (first 100)':''),headers:['Email','Role'],rows:role.slice(0,100).map(function(x){return [x.e,x.r+'@'];}),strong:0});\r\n      parts.push({type:'table',title:'Most common roles',headers:['Role','Count'],rows:Object.keys(by).sort(function(a,b){return by[b]-by[a];}).slice(0,10).map(function(k){return [k+'@',String(by[k])];}),strong:0});\r\n    }else parts.push({type:'issues',title:'Result',items:[H.issue('ok','No role-based addresses found','Every address looks personal.')]});\r\n    parts.push({type:'file',files:[{label:'Download personal list (CSV)',name:'personal-emails.csv',text:H.csv([['email']].concat(per.map(function(x){return [x];})))},{label:'Download role list (CSV)',name:'role-emails.csv',text:H.csv([['email','role']].concat(role.map(function(x){return [x.e,x.r];})))}]});\r\n    parts.push({type:'note',kind:'info',text:'We match common role names such as info, sales, support, admin, contact, billing and noreply. Addresses like sales-india@ are not matched.'});\r\n    return parts;\r\n  }\r\n});\r\n\r\n\/* Compliance tools: 16 unsubscribe footer, 17 compliance checklist, 18 consent text. All carry a legal note. *\/\r\nfunction legalTop(){return {type:'note',kind:'warn',title:'Not legal advice.',text:H.LEGAL};}\r\nfunction legalEnd(){return {type:'note',kind:'warn',title:'Reminder:',text:'This is general information only and not legal advice. Please check with a qualified lawyer before you rely on it.'};}\r\nfunction okLink(u){return \/^https?:\\\/\\\/[^\\s]+\\.[^\\s]+$\/i.test(u)||\/^(\\{\\{[^}]+\\}\\}|\\*\\|[^|]+\\|\\*|\\{%[^%]+%\\}|<%[^%]+%>|\\[[A-Za-z_ ]+\\])$\/.test(u);}\r\n\r\n\/* ===== 16. Unsubscribe Footer Generator ===== *\/\r\ndefineTool({\r\n  o:16,slug:'unsubscribe-footer-generator',group:'comp',tag:'Footer',icon:'mail',color:'#2563EB',\r\n  name:'Unsubscribe Footer Generator',\r\n  card:'Create a compliant email footer in a minute.',\r\n  intro:'Enter your business details. Get a plain-text and an HTML email footer with an unsubscribe link, your address and a reason for emailing.',\r\n  title:'Free Email Unsubscribe Footer Generator',\r\n  meta:'Create an email footer with an unsubscribe link, address and company details. Free footer generator.',\r\n  kw:'unsubscribe footer generator email footer template can-spam gdpr physical address unsubscribe link opt out',\r\n  regen:false,required:['company','address','unsub'],\r\n  how:['Enter your business name, postal address and your unsubscribe link.','Pick the region you send to and why people get your emails.','Copy the plain-text or HTML footer into your email platform.'],\r\n  faqs:[['Is this legal advice?','No. It gives general information to help you build a footer. Rules depend on your country and business, so check with a qualified lawyer.'],['What should the unsubscribe link be?','Use the unsubscribe tag from your email platform so each link is unique. The table shows common ones. Check your platform\u2019s help page to be sure.'],['Why include my address?','Many laws, including the US CAN-SPAM Act, ask marketing email to show a valid postal address. A PO box can work in some places, but check the rule for your case.'],['Do I need the \u201cwhy you got this email\u201d line?','It is not required everywhere, but it reduces spam complaints and helps with consent rules in the EU, UK and India.']],\r\n  fields:[\r\n    {id:'company',label:'Business name',type:'text',ex:'Brightfoods Pvt Ltd',ph:'e.g. Brightfoods Pvt Ltd'},\r\n    {id:'address',label:'Postal address',type:'text',ex:'12 MG Road, Indiranagar, Bengaluru 560038, India',ph:'Street, city, postcode, country',maxlen:240},\r\n    {id:'region',label:'Where do your recipients live?',type:'select',options:[['global','Everywhere or not sure'],['us','United States (CAN-SPAM)'],['eu','EU or UK (GDPR)'],['in','India (DPDP Act)']],ex:'global'},\r\n    {id:'reason',label:'Why do they get this email?',type:'select',options:[['site','They signed up on our website'],['customer','They bought from us'],['news','They subscribed to our newsletter'],['event','They shared their email at an event'],['custom','Write my own']],ex:'site'},\r\n    {id:'reasonCustom',label:'Your own reason',type:'text',ex:'',ph:'e.g. You asked us for a quote',optional:true,show:function(v){return v.reason==='custom';}},\r\n    {id:'unsub',label:'Unsubscribe link or tag',type:'text',ex:'{{unsubscribe_url}}',ph:'https:\/\/\u2026 or your platform\u2019s tag',maxlen:300,hint:'Use your email platform\u2019s unsubscribe tag so each link is unique.'},\r\n    {id:'pref',label:'Email preferences link',type:'text',ex:'',ph:'Optional',optional:true,maxlen:300},\r\n    {id:'privacy',label:'Privacy policy link',type:'text',ex:'https:\/\/example.com\/privacy',ph:'https:\/\/example.com\/privacy',optional:true,maxlen:300},\r\n    {id:'contact',label:'Contact email',type:'text',ex:'hello@example.com',ph:'e.g. hello@example.com',optional:true},\r\n    {id:'reg',label:'Company registration number',type:'text',ex:'',ph:'Optional, for example CIN or Companies House number',optional:true}\r\n  ],\r\n  run:function(v){\r\n    var R={site:'You are receiving this email because you signed up on our website.',customer:'You are receiving this email because you bought from '+v.company+'.',news:'You are receiving this email because you subscribed to our newsletter.',event:'You are receiving this email because you shared your email address with us at an event.',custom:(v.reasonCustom||'').trim()?(v.reasonCustom.trim().replace(\/^[A-Z]\/,function(c){return c;})+(\/[.!?]$\/.test(v.reasonCustom.trim())?'':'.')):'You are receiving this email because you asked to hear from us.'};\r\n    var reason=R[v.reason]||R.site,lines=[reason];\r\n    var unsubLine='Unsubscribe: '+v.unsub;lines.push(unsubLine);\r\n    if(v.pref)lines.push('Update your email preferences: '+v.pref);\r\n    if(v.privacy)lines.push('Privacy policy: '+v.privacy);\r\n    var biz=v.company+(v.reg?' (Reg. no. '+v.reg+')':'')+', '+v.address;lines.push(biz);\r\n    if(v.contact)lines.push('Questions? Write to '+v.contact);\r\n    var plain=lines.join('\\n');\r\n    var e=H.esc,link=function(u,t){return '<a href=\"'+e(u)+'\" style=\"color:#64748B;text-decoration:underline\">'+e(t)+'<\/a>';};\r\n    var links=[link(v.unsub,'Unsubscribe')];if(v.pref)links.push(link(v.pref,'Email preferences'));if(v.privacy)links.push(link(v.privacy,'Privacy policy'));\r\n    var html='<div style=\"font-family:Arial,Helvetica,sans-serif;font-size:12px;line-height:18px;color:#64748B;text-align:center;padding:20px 16px;max-width:600px;margin:0 auto\">\\n  <p style=\"margin:0 0 8px\">'+e(reason)+'<\/p>\\n  <p style=\"margin:0 0 8px\">'+links.join(' &nbsp;|&nbsp; ')+'<\/p>\\n  <p style=\"margin:0 0 8px\">'+e(biz)+'<\/p>'+(v.contact?'\\n  <p style=\"margin:0\">Questions? Write to '+link('mailto:'+v.contact,v.contact)+'<\/p>':'')+'\\n<\/div>';\r\n    var parts=[legalTop(),{type:'text',title:'Plain-text footer',text:plain},{type:'text',title:'HTML footer',text:html}];\r\n    var iss=[];\r\n    if(!okLink(v.unsub))iss.push(H.issue('bad','The unsubscribe link does not look like a link or tag','Use a full link starting with https:\/\/ or your platform\u2019s unsubscribe tag.'));\r\n    else if(\/^\\{\\{|^\\*\\||^\\{%|^<%|^\\[\/.test(v.unsub))iss.push(H.issue('info','Using a platform tag','Replace it with the exact tag your email platform gives you. See the table below.'));\r\n    if(v.region==='us'||v.region==='global')iss.push(H.issue('ok','Postal address is included','CAN-SPAM asks for a valid physical postal address in marketing email.'));\r\n    if((v.region==='eu'||v.region==='in'||v.region==='global')&&!v.privacy)iss.push(H.issue('warn','No privacy policy link','Data protection rules in the EU, UK and India expect you to explain how you use personal data. Add a link.'));\r\n    if((v.region==='eu')&&!v.reg)iss.push(H.issue('info','Consider adding your company registration details','Some countries require business details in commercial email. A lawyer can confirm what applies.'));\r\n    if(v.region==='in'&&!v.contact)iss.push(H.issue('warn','No contact for privacy questions','Add an email where people can send privacy requests.'));\r\n    iss.push(H.issue('info','Make the unsubscribe link easy to see','Readable text, good contrast and no login needed. Honor requests quickly.'));\r\n    iss.push(H.issue('info','Also turn on one-click unsubscribe in your platform','Gmail and Yahoo ask bulk senders for it (the List-Unsubscribe header). Most platforms have a setting.'));\r\n    parts.push({type:'issues',title:'Checks',items:iss});\r\n    parts.push({type:'table',title:'Unsubscribe tags in common platforms',note:'Confirm in your platform\u2019s help page, as tags can change.',headers:['Platform','Unsubscribe tag'],rows:[['Mailchimp','*|UNSUB|*'],['Brevo','{{ unsubscribe }}'],['HubSpot','{{ unsubscribe_link }}'],['Kit (ConvertKit)','{{ unsubscribe_url }}'],['Other platforms','Look for \u201cunsubscribe\u201d in the merge tag list']],strong:0});\r\n    parts.push(legalEnd());\r\n    return parts;\r\n  }\r\n});\r\n\r\n\/* ===== 17. Email Compliance Checklist ===== *\/\r\ndefineTool({\r\n  o:17,slug:'email-compliance-checklist',group:'comp',tag:'Checklist',icon:'scale',color:'#7C3AED',\r\n  name:'Email Compliance Checklist',\r\n  card:'Check CAN-SPAM, GDPR and India data protection points.',\r\n  intro:'Tick through the main points of CAN-SPAM (US), GDPR (EU and UK) and India\u2019s DPDP Act for email marketing. A general guide, not legal advice.',\r\n  title:'Free Email Compliance Checklist',\r\n  meta:'Tick through CAN-SPAM, GDPR and India\u2019s DPDP Act points for email marketing. Free checklist.',\r\n  kw:'email compliance checklist can-spam gdpr dpdp india data protection consent unsubscribe email marketing law',\r\n  regen:false,\r\n  how:['Pick the places your recipients live.','Tick each point you already cover.','Take the unticked points to your lawyer or privacy lead.'],\r\n  faqs:[['Is this legal advice?','No. It is a general checklist written in plain words. Laws change and depend on your facts, so please check with a qualified lawyer.'],['When was it last reviewed?','November 2026. India\u2019s DPDP Rules were notified in November 2025 and phase in over 12 to 18 months, so check which duties apply on the day you read this.'],['Which law applies to me?','Usually the law of the place where your recipients are, not only where your business is. If you email people in several places, tick all of them.'],['Does this cover SMS and WhatsApp?','No. This is email only. SMS, WhatsApp and calls have their own rules.']],\r\n  fields:[{id:'laws',label:'Where do your recipients live?',type:'checks',options:[['us','United States (CAN-SPAM)'],['eu','EU or UK (GDPR)'],['in','India (DPDP Act)']],ex:['us','eu','in']}],\r\n  run:function(v){\r\n    var L=v.laws||[],G=[];\r\n    if(L.indexOf('us')>-1)G.push({title:'United States: CAN-SPAM',items:[\r\n      {id:'u1',text:'The From, To and Reply-To details are accurate',hint:'They must correctly identify the sender. No fake or misleading headers.'},\r\n      {id:'u2',text:'The subject line matches the content',hint:'No deceptive subject lines.'},\r\n      {id:'u3',text:'The email is identified as an ad where it is one',hint:'A clear, simple way is enough.'},\r\n      {id:'u4',text:'A valid physical postal address is in every email',hint:'Your street address or a registered PO box or private mailbox.'},\r\n      {id:'u5',text:'There is a clear, easy way to opt out',hint:'No fee, and no more than an email reply or one web page visit.'},\r\n      {id:'u6',text:'Opt-outs are honored within 10 business days',hint:'The opt-out method must work for at least 30 days after you send.'},\r\n      {id:'u7',text:'You check what agencies or partners send for you',hint:'You are still responsible for emails sent on your behalf.'}]});\r\n    if(L.indexOf('eu')>-1)G.push({title:'EU and UK: GDPR (and e-privacy rules)',items:[\r\n      {id:'e1',text:'You know your lawful basis for each type of email',hint:'Usually consent. Some existing-customer emails may rely on legitimate interest or the UK \u201csoft opt-in\u201d.'},\r\n      {id:'e2',text:'Consent is freely given, specific, informed and clear',hint:'A clear action by the person. No pre-ticked boxes. Not bundled with other terms.'},\r\n      {id:'e3',text:'You keep proof of consent',hint:'Who, when, how, and the exact wording they saw.'},\r\n      {id:'e4',text:'People can withdraw as easily as they gave consent',hint:'A working unsubscribe link in every email.'},\r\n      {id:'e5',text:'A privacy notice is shown where you collect emails',hint:'Who you are, why you collect data, how long you keep it and their rights.'},\r\n      {id:'e6',text:'You never email bought or scraped lists',hint:'You need a valid basis for each person on your list.'},\r\n      {id:'e7',text:'You can answer requests to access or delete data',hint:'Usually within one month.'},\r\n      {id:'e8',text:'You have a data processing agreement with your email provider',hint:'And a safe way to transfer data if the provider is outside the UK or EU.'},\r\n      {id:'e9',text:'Objections to marketing are stopped for good',hint:'Keep a suppression list so people are not re-added.'}]});\r\n    if(L.indexOf('in')>-1)G.push({title:'India: Digital Personal Data Protection (DPDP) Act',items:[\r\n      {id:'i1',text:'You give a clear notice before or when you ask for consent',hint:'What data you collect, why, how to withdraw consent and how to complain.'},\r\n      {id:'i2',text:'The notice is in plain language',hint:'Offer English or any language in the Eighth Schedule of the Constitution.'},\r\n      {id:'i3',text:'Consent is free, specific, informed and unconditional',hint:'A clear action, for the stated purpose only. Do not make it a condition for unrelated service.'},\r\n      {id:'i4',text:'You collect only the data you need for that purpose',hint:'For a newsletter, name and email are usually enough.'},\r\n      {id:'i5',text:'People can withdraw consent as easily as they gave it',hint:'An unsubscribe link in every email.'},\r\n      {id:'i6',text:'You delete data when the purpose is served or consent is withdrawn',hint:'Unless a law requires you to keep it.'},\r\n      {id:'i7',text:'You have reasonable security safeguards and a breach plan',hint:'Includes telling the Data Protection Board and affected people about a breach.'},\r\n      {id:'i8',text:'You publish how people can contact you about their data',hint:'A named contact, such as a data protection officer or grievance contact.'},\r\n      {id:'i9',text:'You do not collect data from children without a parent\u2019s consent',hint:'Under 18 needs verifiable parental consent. No tracking or targeted ads aimed at children.'},\r\n      {id:'i10',text:'You have checked which DPDP Rules duties apply today',hint:'The Rules phase in over 12 to 18 months from November 2025.'}]});\r\n    G.push({title:'Good practice for every region',items:[\r\n      {id:'g1',text:'Everyone on your list asked to be there',hint:'Never buy or rent lists.'},\r\n      {id:'g2',text:'You record where and when each person signed up',hint:'Keep the form text and date.'},\r\n      {id:'g3',text:'Unsubscribe requests are processed quickly',hint:'Within 48 hours is a good habit. Automate it.'},\r\n      {id:'g4',text:'You review your process when laws or platforms change',hint:'Set a reminder each quarter.'}]});\r\n    return [legalTop(),{type:'note',kind:'info',title:'Last reviewed:',text:'November 2026. Laws change. Always check the current official text.'},{type:'checklist',key:'comp',groups:G},legalEnd()];\r\n  }\r\n});\r\n\r\n\/* ===== 18. Consent & Opt-in Form Text Generator ===== *\/\r\nvar CT={en:{news:'newsletter',offers:'offers and promotions',updates:'product updates'},hi:{news:'\u0928\u094d\u092f\u0942\u091c\u093c\u0932\u0947\u091f\u0930',offers:'\u0911\u092b\u093c\u0930 \u0914\u0930 \u092a\u094d\u0930\u092e\u094b\u0936\u0928',updates:'\u092a\u094d\u0930\u094b\u0921\u0915\u094d\u091f \u0905\u092a\u0921\u0947\u091f'}};\r\nfunction joinList(a,hi){if(a.length<2)return a[0]||'';return hi?a.slice(0,-1).join(', ')+' \u0914\u0930 '+a[a.length-1]:a.slice(0,-1).join(', ')+' and '+a[a.length-1];}\r\ndefineTool({\r\n  o:18,slug:'consent-optin-text-generator',group:'comp',tag:'Text',icon:'form',color:'#10B981',\r\n  name:'Consent & Opt-in Form Text Generator',\r\n  card:'Write clear consent text for signup forms.',\r\n  intro:'Get checkbox wording, a short line for under your form, a double opt-in email and a thank-you message for your email sign-up form.',\r\n  title:'Free Email Consent Text Generator',\r\n  meta:'Generate opt-in checkbox text and form wording for email signups. Free consent text generator.',\r\n  kw:'consent text generator opt-in form text checkbox wording double opt-in email gdpr dpdp signup form consent',\r\n  regen:false,required:['company'],\r\n  how:['Enter your business name and what you will send.','Pick the region and whether you use double opt-in.','Copy the texts into your form, confirmation email and thank-you page.'],\r\n  faqs:[['Is this legal advice?','No. It gives example wording only. Rules differ by country and business, so please check with a qualified lawyer.'],['Should the checkbox be ticked?','No. Leave it unticked. A box the person must tick is the clearest sign of consent.'],['What is double opt-in?','After sign-up, you email a confirm link. The person is added only after clicking it. It proves the address is real and the person agreed.'],['Why a Hindi option?','India\u2019s DPDP Act asks for notices in plain language, with English or an Eighth Schedule language. Offer the language your audience uses. Have a native speaker check the final text.']],\r\n  fields:[\r\n    {id:'company',label:'Business name',type:'text',ex:'Brightfoods',ph:'e.g. Brightfoods'},\r\n    {id:'what',label:'What will you send?',type:'checks',options:[['news','Newsletter'],['offers','Offers and promotions'],['updates','Product updates']],ex:['news','offers']},\r\n    {id:'freq',label:'How often?',type:'select',options:[['weekly','About once a week'],['monthly','About once a month'],['any','Whenever we have news']],ex:'weekly'},\r\n    {id:'region',label:'Region',type:'select',options:[['in','India (DPDP Act)'],['eu','EU or UK (GDPR)'],['us','United States'],['global','Everywhere or not sure']],ex:'in'},\r\n    {id:'lang',label:'Language',type:'select',options:[['en','English'],['hi','Hindi']],ex:'en'},\r\n    {id:'privacy',label:'Privacy policy link',type:'text',ex:'https:\/\/example.com\/privacy',ph:'https:\/\/example.com\/privacy',optional:true,maxlen:300},\r\n    {id:'contact',label:'Contact email for privacy questions',type:'text',ex:'privacy@example.com',ph:'e.g. privacy@example.com',optional:true},\r\n    {id:'double',label:'Use double opt-in (confirmation email)',type:'toggle',ex:true}\r\n  ],\r\n  run:function(v){\r\n    var hi=v.lang==='hi',c=v.company,tx=CT[hi?'hi':'en'],w=joinList((v.what||[]).map(function(k){return tx[k];}),hi),P=v.privacy||'',C=v.contact||'';\r\n    if(!w)return [legalTop(),{type:'note',kind:'warn',text:'Pick at least one thing you will send.'}];\r\n    var F=hi?{weekly:'\u0939\u0930 \u0939\u092b\u093c\u094d\u0924\u0947 \u0932\u0917\u092d\u0917 \u090f\u0915 \u0908\u092e\u0947\u0932',monthly:'\u092e\u0939\u0940\u0928\u0947 \u092e\u0947\u0902 \u0932\u0917\u092d\u0917 \u090f\u0915 \u0908\u092e\u0947\u0932',any:'\u091c\u092c \u0939\u092e\u093e\u0930\u0947 \u092a\u093e\u0938 \u0915\u0941\u091b \u0928\u092f\u093e \u0939\u094b \u0924\u092c'}:{weekly:'about one email a week',monthly:'about one email a month',any:'emails when we have news'};\r\n    var freq=F[v.freq]||F.weekly,out=[legalTop()],box,line,notice,sub,body,thanks,bye;\r\n    if(hi){\r\n      box='\u0939\u093e\u0901, \u092e\u0948\u0902 '+c+' \u0938\u0947 '+w+' \u0908\u092e\u0947\u0932 \u092a\u093e\u0928\u093e \u091a\u093e\u0939\u0924\u093e\/\u091a\u093e\u0939\u0924\u0940 \u0939\u0942\u0901\u0964 \u092e\u0948\u0902 \u0915\u093f\u0938\u0940 \u092d\u0940 \u0938\u092e\u092f \u0938\u0926\u0938\u094d\u092f\u0924\u093e \u091b\u094b\u0921\u093c \u0938\u0915\u0924\u093e\/\u0938\u0915\u0924\u0940 \u0939\u0942\u0901\u0964';\r\n      line='\u0939\u092e \u0906\u092a\u0915\u094b '+freq+' \u092d\u0947\u091c\u0947\u0902\u0917\u0947\u0964 \u0906\u092a \u0915\u092d\u0940 \u092d\u0940 \u0905\u0928\u0938\u092c\u094d\u0938\u0915\u094d\u0930\u093e\u0907\u092c \u0915\u0930 \u0938\u0915\u0924\u0947 \u0939\u0948\u0902\u0964'+(P?' \u0906\u092a\u0915\u0940 \u091c\u093e\u0928\u0915\u093e\u0930\u0940 \u0915\u093e \u0909\u092a\u092f\u094b\u0917 \u0939\u092e\u093e\u0930\u0940 \u092a\u094d\u0930\u093e\u0907\u0935\u0947\u0938\u0940 \u092a\u0949\u0932\u093f\u0938\u0940 \u0915\u0947 \u0905\u0928\u0941\u0938\u093e\u0930 \u0939\u094b\u0924\u093e \u0939\u0948: '+P:'');\r\n      notice=c+' \u0906\u092a\u0915\u093e \u0928\u093e\u092e \u0914\u0930 \u0908\u092e\u0947\u0932 \u092a\u0924\u093e \u0915\u0947\u0935\u0932 '+w+' \u0908\u092e\u0947\u0932 \u092d\u0947\u091c\u0928\u0947 \u0915\u0947 \u0932\u093f\u090f \u0932\u0947\u0924\u093e \u0939\u0948\u0964 \u0939\u092e \u0907\u0938\u0915\u093e \u0909\u092a\u092f\u094b\u0917 \u0915\u093f\u0938\u0940 \u0914\u0930 \u0915\u093e\u092e \u0915\u0947 \u0932\u093f\u090f \u0928\u0939\u0940\u0902 \u0915\u0930\u0947\u0902\u0917\u0947\u0964 \u0906\u092a \u0915\u093f\u0938\u0940 \u092d\u0940 \u0938\u092e\u092f \u0939\u0930 \u0908\u092e\u0947\u0932 \u092e\u0947\u0902 \u0926\u093f\u090f \u0905\u0928\u0938\u092c\u094d\u0938\u0915\u094d\u0930\u093e\u0907\u092c \u0932\u093f\u0902\u0915 \u0938\u0947'+(C?' \u092f\u093e '+C+' \u092a\u0930 \u0932\u093f\u0916\u0915\u0930':'')+' \u0905\u092a\u0928\u0940 \u0938\u0939\u092e\u0924\u093f \u0935\u093e\u092a\u0938 \u0932\u0947 \u0938\u0915\u0924\u0947 \u0939\u0948\u0902\u0964 \u0906\u092a\u0915\u0947 \u0905\u0927\u093f\u0915\u093e\u0930 \u0914\u0930 \u0936\u093f\u0915\u093e\u092f\u0924 \u0915\u0930\u0928\u0947 \u0915\u093e \u0924\u0930\u0940\u0915\u093e \u0939\u092e\u093e\u0930\u0947 \u092a\u094d\u0930\u093e\u0907\u0935\u0947\u0938\u0940 \u0928\u094b\u091f\u093f\u0938 \u092e\u0947\u0902 \u0926\u093f\u092f\u093e \u0917\u092f\u093e \u0939\u0948'+(P?': '+P:'')+'\u0964';\r\n      sub='\u0915\u0943\u092a\u092f\u093e '+c+' \u0915\u0940 \u0938\u0926\u0938\u094d\u092f\u0924\u093e \u0915\u0940 \u092a\u0941\u0937\u094d\u091f\u093f \u0915\u0930\u0947\u0902';\r\n      body='\u0928\u092e\u0938\u094d\u0924\u0947,\\n\\n\u0906\u092a\u0928\u0947 '+c+' \u0938\u0947 '+w+' \u0908\u092e\u0947\u0932 \u092a\u093e\u0928\u0947 \u0915\u0947 \u0932\u093f\u090f \u0938\u093e\u0907\u0928 \u0905\u092a \u0915\u093f\u092f\u093e \u0939\u0948\u0964 \u0938\u0926\u0938\u094d\u092f\u0924\u093e \u092a\u0915\u094d\u0915\u0940 \u0915\u0930\u0928\u0947 \u0915\u0947 \u0932\u093f\u090f \u0928\u0940\u091a\u0947 \u0926\u093f\u090f \u092c\u091f\u0928 \u092a\u0930 \u0915\u094d\u0932\u093f\u0915 \u0915\u0930\u0947\u0902\u0964\\n\\n[\u092e\u0947\u0930\u0940 \u0938\u0926\u0938\u094d\u092f\u0924\u093e \u0915\u0940 \u092a\u0941\u0937\u094d\u091f\u093f \u0915\u0930\u0947\u0902]\\n\\n\u0905\u0917\u0930 \u0906\u092a\u0928\u0947 \u0938\u093e\u0907\u0928 \u0905\u092a \u0928\u0939\u0940\u0902 \u0915\u093f\u092f\u093e \u0939\u0948, \u0924\u094b \u0907\u0938 \u0908\u092e\u0947\u0932 \u0915\u094b \u0905\u0928\u0926\u0947\u0916\u093e \u0915\u0930\u0947\u0902\u0964 \u092a\u0941\u0937\u094d\u091f\u093f \u0915\u093f\u090f \u092c\u093f\u0928\u093e \u0906\u092a\u0915\u094b \u0915\u094b\u0908 \u0908\u092e\u0947\u0932 \u0928\u0939\u0940\u0902 \u092d\u0947\u091c\u093e \u091c\u093e\u090f\u0917\u093e\u0964\\n\\n\u0927\u0928\u094d\u092f\u0935\u093e\u0926,\\n'+c;\r\n      thanks=v.double?'\u0927\u0928\u094d\u092f\u0935\u093e\u0926! \u0939\u092e\u0928\u0947 \u0906\u092a\u0915\u094b \u090f\u0915 \u092a\u0941\u0937\u094d\u091f\u093f \u0908\u092e\u0947\u0932 \u092d\u0947\u091c\u093e \u0939\u0948\u0964 \u0938\u0926\u0938\u094d\u092f\u0924\u093e \u092a\u0942\u0930\u0940 \u0915\u0930\u0928\u0947 \u0915\u0947 \u0932\u093f\u090f \u0909\u0938\u092e\u0947\u0902 \u0926\u093f\u090f \u0932\u093f\u0902\u0915 \u092a\u0930 \u0915\u094d\u0932\u093f\u0915 \u0915\u0930\u0947\u0902\u0964 \u0908\u092e\u0947\u0932 \u0928 \u092e\u093f\u0932\u0947 \u0924\u094b \u0938\u094d\u092a\u0948\u092e \u092b\u093c\u094b\u0932\u094d\u0921\u0930 \u0926\u0947\u0916\u0947\u0902\u0964':'\u0927\u0928\u094d\u092f\u0935\u093e\u0926! \u0906\u092a '+c+' \u0915\u0940 \u0938\u0942\u091a\u0940 \u092e\u0947\u0902 \u091c\u0941\u0921\u093c \u0917\u090f \u0939\u0948\u0902\u0964 \u091c\u0932\u094d\u0926 \u0939\u0940 \u0906\u092a\u0915\u094b \u0939\u092e\u093e\u0930\u093e \u092a\u0939\u0932\u093e \u0908\u092e\u0947\u0932 \u092e\u093f\u0932\u0947\u0917\u093e\u0964';\r\n      bye='\u0906\u092a\u0915\u0940 \u0938\u0926\u0938\u094d\u092f\u0924\u093e \u092c\u0902\u0926 \u0915\u0930 \u0926\u0940 \u0917\u0908 \u0939\u0948\u0964 \u0906\u092a\u0915\u094b '+c+' \u0938\u0947 \u0905\u092c \u0908\u092e\u0947\u0932 \u0928\u0939\u0940\u0902 \u092e\u093f\u0932\u0947\u0902\u0917\u0947\u0964 \u092e\u0928 \u092c\u0926\u0932 \u091c\u093e\u090f \u0924\u094b \u0906\u092a \u092b\u093f\u0930 \u0938\u0947 \u0938\u093e\u0907\u0928 \u0905\u092a \u0915\u0930 \u0938\u0915\u0924\u0947 \u0939\u0948\u0902\u0964';\r\n    }else{\r\n      var rg=v.region;\r\n      if(rg==='eu')box='I agree to receive '+w+' emails from '+c+'. I understand I can withdraw my consent at any time using the link in every email.'+(P?' See the Privacy Policy: '+P:'');\r\n      else if(rg==='in')box='Yes, I want to receive '+w+' emails from '+c+'. I understand I can withdraw my consent at any time.';\r\n      else box='Yes, send me '+w+' emails from '+c+'. I can unsubscribe at any time.';\r\n      line='We will send you '+freq+'. Unsubscribe at any time.'+(P?' We use your details as described in our Privacy Policy: '+P:'');\r\n      notice=c+' collects your name and email address only to send you '+w+' emails. We will not use them for anything else. You can withdraw your consent at any time using the unsubscribe link in every email'+(C?' or by writing to '+C:'')+'. '+(rg==='in'?'Your rights and how to complain, including to the Data Protection Board of India, are explained in our privacy notice'+(P?': '+P:'')+'.':(rg==='eu'?'You also have the right to access, correct or delete your data and to complain to your data protection authority. Details are in our privacy notice'+(P?': '+P:'')+'.':'Our privacy policy explains how we handle your data'+(P?': '+P:'')+'.'));\r\n      sub='Please confirm your subscription to '+c;\r\n      body='Hi,\\n\\nYou signed up to receive '+w+' emails from '+c+'. Please confirm by clicking the button below.\\n\\n[Confirm my subscription]\\n\\nIf you did not sign up, you can ignore this email. You will not be subscribed unless you confirm.\\n\\nThanks,\\n'+c;\r\n      thanks=v.double?'Thanks! We have sent you an email to confirm your subscription. Please click the link inside to finish. If you cannot find it, check your spam folder.':'Thanks! You are now on the '+c+' list. Your first email is on its way.';\r\n      bye='You have been unsubscribed. You will not get more emails from '+c+'. Changed your mind? You are welcome to sign up again any time.';\r\n    }\r\n    out.push({type:'text',title:'Checkbox text (leave the box unticked)',text:box});\r\n    out.push({type:'text',title:'Short line under the form',text:line});\r\n    out.push({type:'text',title:'Fuller notice (for a privacy popup or page)',text:notice});\r\n    if(v.double)out.push({type:'cards',title:'Double opt-in confirmation email',cards:[{title:'Confirmation email',fields:[{label:'Subject',text:sub},{label:'Body',text:body}]}]});\r\n    out.push({type:'text',title:'Thank-you message after sign-up',text:thanks});\r\n    out.push({type:'text',title:'Message after unsubscribing',text:bye});\r\n    var iss=[H.issue('bad','Do not pre-tick the box','A person should tick it themselves.'),H.issue('warn','Keep consent separate','Do not bundle it with terms of service or a purchase.'),H.issue('info','Keep a record','Save the date, time, the exact text shown and where the person signed up.'),H.issue('info','Make leaving easy','Put an unsubscribe link in every email and process requests quickly.')];\r\n    if(v.region==='in'&&!hi)iss.push(H.issue('info','India: think about language and children','Offer your notice in the language your audience uses. Under 18s need a parent\u2019s verifiable consent, so avoid collecting their emails.'));\r\n    if(!P)iss.push(H.issue('warn','No privacy policy link','Add one so people can read how you use their data.'));\r\n    out.push({type:'issues',title:'Tips for your form',items:iss});\r\n    out.push(legalEnd());\r\n    return out;\r\n  }\r\n});\r\nTOOLS.sort(function(a,b){return (a.o||0)-(b.o||0);});\r\n\r\n<\/script>\r\n<script>\r\n\/* Engine: builds tool panels, renders results, menu, search, router. *\/\r\n(function(){\r\nvar GROUPS=window.SITE_GROUPS;\r\nvar state={seed:{},checks:{},built:{}};\r\nvar ICONS={\r\n pen:'<path d=\"M4 20l4-1 11-11a2.1 2.1 0 0 0-3-3L5 16l-1 4z\"\/><path d=\"M14 7l3 3\"\/>',\r\n search:'<circle cx=\"11\" cy=\"11\" r=\"7\"\/><path d=\"M20 20l-3.5-3.5\"\/>',\r\n play:'<rect x=\"3\" y=\"5\" width=\"18\" height=\"14\" rx=\"3\"\/><path d=\"M10 9l5 3-5 3z\"\/>',\r\n user:'<circle cx=\"12\" cy=\"8\" r=\"4\"\/><path d=\"M4 21a8 8 0 0 1 16 0\"\/>',\r\n bulb:'<path d=\"M9 18h6M10 21h4\"\/><path d=\"M12 3a6 6 0 0 0-4 10.5c.7.7 1 1.5 1 2.5h6c0-1 .3-1.8 1-2.5A6 6 0 0 0 12 3z\"\/>',\r\n tag:'<path d=\"M3 12V4h8l10 10-8 8L3 12z\"\/><circle cx=\"8\" cy=\"8\" r=\"1.5\"\/>',\r\n ruler:'<rect x=\"3\" y=\"8\" width=\"18\" height=\"8\" rx=\"1.5\"\/><path d=\"M7 8v3M11 8v4M15 8v3M19 8v4\"\/>',\r\n image:'<rect x=\"3\" y=\"4\" width=\"18\" height=\"16\" rx=\"3\"\/><circle cx=\"9\" cy=\"10\" r=\"1.8\"\/><path d=\"M21 16l-5-5-8 8\"\/>',\r\n doc:'<path d=\"M6 3h9l4 4v14H6z\"\/><path d=\"M14 3v5h5M9 13h7M9 17h7\"\/>',\r\n flask:'<path d=\"M9 3h6M10 3v6l-5 9a2 2 0 0 0 2 3h10a2 2 0 0 0 2-3l-5-9V3\"\/>',\r\n label:'<path d=\"M20 12l-8 8-9-9V3h8l9 9z\"\/><path d=\"M7.5 7.5h.01\"\/>',\r\n shield:'<path d=\"M12 3l8 3v6c0 5-3.5 8-8 9-4.5-1-8-4-8-9V6l8-3z\"\/><path d=\"M9 12l2 2 4-4\"\/>',\r\n users:'<circle cx=\"9\" cy=\"8\" r=\"3.5\"\/><path d=\"M2 20a7 7 0 0 1 14 0\"\/><circle cx=\"17\" cy=\"9\" r=\"2.5\"\/><path d=\"M17 14a5 5 0 0 1 5 5\"\/>',\r\n heart:'<path d=\"M12 20s-8-5-8-11a4.5 4.5 0 0 1 8-2.5A4.5 4.5 0 0 1 20 9c0 6-8 11-8 11z\"\/>',\r\n loop:'<path d=\"M4 12a8 8 0 0 1 14-5l2 2\"\/><path d=\"M20 4v5h-5\"\/><path d=\"M20 12a8 8 0 0 1-14 5l-2-2\"\/><path d=\"M4 20v-5h5\"\/>',\r\n minus:'<circle cx=\"12\" cy=\"12\" r=\"9\"\/><path d=\"M8 12h8\"\/>',\r\n brackets:'<path d=\"M8 4H5v16h3M16 4h3v16h-3\"\/><path d=\"M10 12h4\"\/>',\r\n broom:'<path d=\"M14 3l7 7\"\/><path d=\"M12 7l5 5-7 9H3l2-5z\"\/>',\r\n tree:'<rect x=\"9\" y=\"3\" width=\"6\" height=\"5\" rx=\"1\"\/><rect x=\"3\" y=\"16\" width=\"6\" height=\"5\" rx=\"1\"\/><rect x=\"15\" y=\"16\" width=\"6\" height=\"5\" rx=\"1\"\/><path d=\"M12 8v4M6 16v-4h12v4\"\/>',\r\n check:'<rect x=\"4\" y=\"4\" width=\"16\" height=\"16\" rx=\"3\"\/><path d=\"M8 12l3 3 5-6\"\/>',\r\n form:'<rect x=\"5\" y=\"3\" width=\"14\" height=\"18\" rx=\"2\"\/><path d=\"M9 8h6M9 12h6M9 16h3\"\/>',\r\n mail:'<rect x=\"3\" y=\"5\" width=\"18\" height=\"14\" rx=\"2\"\/><path d=\"M3 7l9 6 9-6\"\/>',\r\n globe:'<circle cx=\"12\" cy=\"12\" r=\"9\"\/><path d=\"M3 12h18M12 3a14 14 0 0 1 0 18M12 3a14 14 0 0 0 0 18\"\/>',\r\n key:'<circle cx=\"8\" cy=\"15\" r=\"4\"\/><path d=\"M11 12l9-9M16 7l3 3\"\/>',\r\n flame:'<path d=\"M12 3c1 4 5 5 5 10a5 5 0 0 1-10 0c0-2 1-3 2-4 0 2 1 3 2 3-1-3 0-6 1-9z\"\/>',\r\n list:'<path d=\"M8 6h12M8 12h12M8 18h12\"\/><circle cx=\"4\" cy=\"6\" r=\"1\"\/><circle cx=\"4\" cy=\"12\" r=\"1\"\/><circle cx=\"4\" cy=\"18\" r=\"1\"\/>',\r\n at:'<circle cx=\"12\" cy=\"12\" r=\"4\"\/><path d=\"M16 12v1.5a2.5 2.5 0 0 0 5 0V12a9 9 0 1 0-3.5 7\"\/>',\r\n ban:'<circle cx=\"12\" cy=\"12\" r=\"9\"\/><path d=\"M5.6 5.6l12.8 12.8\"\/>',\r\n gauge:'<path d=\"M4 17a8 8 0 1 1 16 0\"\/><path d=\"M12 17l4-6\"\/>',\r\n scale:'<path d=\"M12 3v18M6 21h12M5 7h14\"\/><path d=\"M5 7l-3 7a3 3 0 0 0 6 0zM19 7l-3 7a3 3 0 0 0 6 0z\"\/>',\r\n home:'<path d=\"M3 11l9-8 9 8\"\/><path d=\"M5 10v10h14V10\"\/>'\r\n};\r\nfunction svg(k){return '<svg viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\" aria-hidden=\"true\">'+(ICONS[k]||ICONS.pen)+'<\/svg>';}\r\nwindow.ICONS=ICONS;\r\nvar esc=H.esc;\r\n\r\n\/* ---------- results rendering ---------- *\/\r\nfunction Renderer(){\r\n  var store=[];\r\n  function cp(text,label){store.push(text);return '<button type=\"button\" class=\"cp\" data-i=\"'+(store.length-1)+'\">'+(label||'Copy')+'<\/button>';}\r\n  function badge(b){return b?'<span class=\"bdg '+(b.kind||'')+'\">'+esc(b.text)+'<\/span>':'';}\r\n  function itemBadge(it){if(it.badge)return badge(it.badge);if(it.limit)return badge(H.limitBadge(it.text,it.limit));return '';}\r\n  var R={store:store};\r\n  R.part=function(p){\r\n    var h='',i;\r\n    switch(p.type){\r\n    case 'stats':\r\n      h='<div class=\"stats\">'+p.items.map(function(s){return '<div class=\"stat\"><span>'+esc(s.label)+'<\/span><b>'+esc(s.value)+'<\/b>'+(s.sub?'<em>'+esc(s.sub)+'<\/em>':'')+'<\/div>';}).join('')+'<\/div>';break;\r\n    case 'note':\r\n      h='<div class=\"callout '+(p.kind||'info')+'\">'+(p.title?'<b>'+esc(p.title)+'<\/b> ':'')+esc(p.text)+'<\/div>';break;\r\n    case 'sections':\r\n      p.sections.forEach(function(s){\r\n        h+='<section class=\"rsec\"><div class=\"rh\"><h3>'+esc(s.title)+'<\/h3>'+cp(s.items.map(function(x){return x.text;}).join('\\n'),'Copy all')+'<\/div>'+(s.note?'<p class=\"rnote\">'+esc(s.note)+'<\/p>':'')+'<ul class=\"ritems\">'+s.items.map(function(it){return '<li class=\"ri\"><div class=\"rt\">'+esc(it.text)+(it.sub?'<small>'+esc(it.sub)+'<\/small>':'')+'<\/div><div class=\"rm\">'+itemBadge(it)+cp(it.text)+'<\/div><\/li>';}).join('')+'<\/ul><\/section>';\r\n      });break;\r\n    case 'cards':\r\n      h=(p.title?'<h3 class=\"rtitle\">'+esc(p.title)+'<\/h3>':'')+'<div class=\"rcards\">'+p.cards.map(function(c,ci){\r\n        var all=c.fields.map(function(f){return (f.label?f.label+': ':'')+f.text;}).join('\\n\\n');\r\n        return '<article class=\"rcard\"><div class=\"rch\"><b>'+esc(c.title)+'<\/b>'+(c.tag?'<span class=\"tg\">'+esc(c.tag)+'<\/span>':'')+'<span class=\"grow\"><\/span>'+cp(all,'Copy all')+'<\/div>'+(c.sub?'<p class=\"rnote\">'+esc(c.sub)+'<\/p>':'')+c.fields.map(function(f){return '<div class=\"rf\"><label>'+esc(f.label)+'<\/label><div class=\"rtxt\">'+esc(f.text)+'<\/div><div class=\"rm\">'+itemBadge(f)+cp(f.text)+'<\/div><\/div>';}).join('')+'<\/article>';\r\n      }).join('')+'<\/div>';break;\r\n    case 'table':\r\n      h=(p.title?'<div class=\"rh\"><h3>'+esc(p.title)+'<\/h3>'+cp(tsv(p),'Copy table')+'<\/div>':'<div class=\"rh\"><span><\/span>'+cp(tsv(p),'Copy table')+'<\/div>')+(p.note?'<p class=\"rnote\">'+esc(p.note)+'<\/p>':'')+'<div class=\"tw\"><table><thead><tr>'+p.headers.map(function(x){return '<th>'+esc(x)+'<\/th>';}).join('')+'<\/tr><\/thead><tbody>'+p.rows.map(function(r){return '<tr>'+r.map(function(c,ci){var t=cv(c);return '<td>'+((c&&typeof c==='object')?'<span class=\"bdg '+(c.k||'')+'\">'+esc(t)+'<\/span>':(p.strong===ci?'<b>'+esc(t)+'<\/b>':esc(t)))+(p.copyCol===ci?' '+cp(t,'Copy'):'')+'<\/td>';}).join('')+'<\/tr>';}).join('')+'<\/tbody><\/table><\/div>';break;\r\n    case 'issues':\r\n      h='<section class=\"rsec\"><div class=\"rh\"><h3>'+esc(p.title||'Findings')+'<\/h3><\/div><ul class=\"iss\">'+p.items.map(function(x){return '<li class=\"is '+esc(x.kind||'info')+'\"><span class=\"id\" aria-hidden=\"true\">'+({ok:'\u2713',warn:'!',bad:'\u2715',info:'i'}[x.kind||'info'])+'<\/span><div><b>'+esc(x.title)+'<\/b>'+(x.text?'<p>'+esc(x.text)+'<\/p>':'')+'<\/div><\/li>';}).join('')+'<\/ul><\/section>';break;\r\n    case 'file':\r\n      h='<div class=\"filebar\">'+p.files.map(function(f){store.push(f.text);var k=store.length-1;return '<button type=\"button\" class=\"btn sm dlb\" data-i=\"'+k+'\" data-name=\"'+esc(f.name)+'\">\u2b07 '+esc(f.label)+'<\/button>';}).join('')+'<\/div>';break;\r\n    case 'text':\r\n      h='<section class=\"rsec\"><div class=\"rh\"><h3>'+esc(p.title||'Result')+'<\/h3>'+cp(p.text,'Copy')+'<\/div><pre class=\"rpre\">'+esc(p.text)+'<\/pre><\/section>';break;\r\n    case 'doc':\r\n      h='<section class=\"rsec doc\"><div class=\"rh\"><h3>'+esc(p.title||'Document')+'<\/h3>'+cp(docText(p),'Copy')+'<\/div>'+p.blocks.map(function(b){\r\n        var x='';if(b.h)x+='<h4>'+esc(b.h)+'<\/h4>';if(b.p)x+='<p>'+esc(b.p)+'<\/p>';if(b.ul&&b.ul.length)x+='<ul>'+b.ul.map(function(u){return '<li>'+esc(u)+'<\/li>';}).join('')+'<\/ul>';return x;}).join('')+'<\/section>';break;\r\n    case 'checklist':\r\n      h='<div class=\"cl\" data-cl=\"'+esc(p.key)+'\"><div class=\"prog\"><div class=\"bar\"><i><\/i><\/div><span class=\"pt\"><\/span><span class=\"grow\"><\/span>'+cp(p.groups.map(function(g){return g.title+'\\n'+g.items.map(function(x){return '[ ] '+x.text;}).join('\\n');}).join('\\n\\n'),'Copy list')+'<\/div>'+p.groups.map(function(g){\r\n        return '<section class=\"rsec\"><div class=\"rh\"><h3>'+esc(g.title)+'<\/h3><\/div><ul class=\"cli\">'+g.items.map(function(it){return '<li><label class=\"clrow\"><input type=\"checkbox\" data-id=\"'+esc(it.id)+'\"><span><b>'+esc(it.text)+'<\/b>'+(it.hint?'<small>'+esc(it.hint)+'<\/small>':'')+'<\/span><\/label><\/li>';}).join('')+'<\/ul><\/section>';}).join('')+'<\/div>';break;\r\n    case 'tree':\r\n      h='<section class=\"rsec\"><div class=\"rh\"><h3>'+esc(p.title||'Structure')+'<\/h3>'+cp(treeText(p.nodes,0),'Copy outline')+'<\/div>'+(p.note?'<p class=\"rnote\">'+esc(p.note)+'<\/p>':'')+'<div class=\"tree\">'+treeHTML(p.nodes)+'<\/div><\/section>';break;\r\n    }\r\n    return h;\r\n  };\r\n  function cv(c){return (c&&typeof c==='object')?c.t:String(c);}\r\n  function tsv(p){return [p.headers.join('\\t')].concat(p.rows.map(function(r){return r.map(cv).join('\\t');})).join('\\n');}\r\n  function docText(p){return p.blocks.map(function(b){var x='';if(b.h)x+=b.h.toUpperCase()+'\\n';if(b.p)x+=b.p+'\\n';if(b.ul)x+=b.ul.map(function(u){return '- '+u;}).join('\\n')+'\\n';return x.trim();}).join('\\n\\n');}\r\n  function treeHTML(nodes){return '<ul>'+nodes.map(function(n){return '<li><div class=\"tn'+(n.kind?' '+n.kind:'')+'\"><b>'+esc(n.label)+'<\/b>'+(n.sub?'<span>'+esc(n.sub)+'<\/span>':'')+'<\/div>'+(n.children&&n.children.length?treeHTML(n.children):'')+'<\/li>';}).join('')+'<\/ul>';}\r\n  function treeText(nodes,d){return nodes.map(function(n){var pad=new Array(d+1).join('  ');return pad+'- '+n.label+(n.sub?' ('+n.sub+')':'')+(n.children&&n.children.length?'\\n'+treeText(n.children,d+1):'');}).join('\\n');}\r\n  R.text=function(parts){\r\n    return parts.map(function(p){\r\n      switch(p.type){\r\n        case 'stats':return p.items.map(function(s){return s.label+': '+s.value;}).join('\\n');\r\n        case 'note':return (p.title?p.title+' ':'')+p.text;\r\n        case 'sections':return p.sections.map(function(s){return s.title+'\\n'+s.items.map(function(x){return '- '+x.text;}).join('\\n');}).join('\\n\\n');\r\n        case 'cards':return p.cards.map(function(c){return c.title+'\\n'+c.fields.map(function(f){return f.label+': '+f.text;}).join('\\n');}).join('\\n\\n');\r\n        case 'table':return tsv(p);\r\n        case 'issues':return (p.title?p.title+'\\n':'')+p.items.map(function(x){return '['+({ok:'OK',warn:'CHECK',bad:'FIX',info:'INFO'}[x.kind||'info'])+'] '+x.title+(x.text?': '+x.text:'');}).join('\\n');\r\n        case 'file':return '';\r\n        case 'text':return (p.title?p.title+'\\n':'')+p.text;\r\n        case 'doc':return (p.title?p.title+'\\n\\n':'')+docText(p);\r\n        case 'checklist':return p.groups.map(function(g){return g.title+'\\n'+g.items.map(function(x){return '[ ] '+x.text;}).join('\\n');}).join('\\n\\n');\r\n        case 'tree':return (p.title?p.title+'\\n':'')+treeText(p.nodes,0);\r\n      }return '';\r\n    }).filter(Boolean).join('\\n\\n');\r\n  };\r\n  return R;\r\n}\r\n\r\n\/* ---------- form ---------- *\/\r\nfunction fid(t,f){return 'f-'+t.slug+'-'+f.id;}\r\nfunction fieldHTML(t,f){\r\n  var id=fid(t,f),h='<div class=\"field\" data-f=\"'+f.id+'\">',ex=f.ex===undefined?'':f.ex;\r\n  if(f.type==='toggle'){\r\n    h+='<label class=\"check\"><input type=\"checkbox\" id=\"'+id+'\"'+(f.ex?' checked':'')+'> '+esc(f.label)+'<\/label>';\r\n  }else if(f.type==='checks'){\r\n    h+='<span class=\"lbl\">'+esc(f.label)+'<\/span><div class=\"chk\">'+f.options.map(function(o,i){var val=Array.isArray(o)?o[0]:o,lab=Array.isArray(o)?o[1]:o;return '<label class=\"chip\"><input type=\"checkbox\" name=\"'+id+'\" value=\"'+esc(val)+'\"'+((f.ex||[]).indexOf(val)>-1?' checked':'')+'><span>'+esc(lab)+'<\/span><\/label>';}).join('')+'<\/div>';\r\n  }else{\r\n    h+='<label for=\"'+id+'\">'+esc(f.label)+(f.optional?' <span class=\"val\">optional<\/span>':'')+'<\/label>';\r\n    if(f.type==='select'){\r\n      h+='<select id=\"'+id+'\">'+f.options.map(function(o){var val=Array.isArray(o)?o[0]:o,lab=Array.isArray(o)?o[1]:o;return '<option value=\"'+esc(val)+'\"'+(String(val)===String(ex)?' selected':'')+'>'+esc(lab)+'<\/option>';}).join('')+'<\/select>';\r\n    }else if(f.type==='textarea'){\r\n      h+='<textarea id=\"'+id+'\" rows=\"'+(f.rows||3)+'\" placeholder=\"'+esc(f.ph||'')+'\">'+esc(ex)+'<\/textarea>';\r\n      if(f.file)h+='<div class=\"fup-row\"><label class=\"fup-l\">or load a file: <input type=\"file\" class=\"fup\" data-for=\"'+id+'\" accept=\".csv,.txt,.tsv,text\/csv,text\/plain\"><\/label><\/div>';\r\n    }else if(f.type==='number'){\r\n      h+='<input type=\"number\" id=\"'+id+'\" inputmode=\"decimal\" min=\"'+(f.min===undefined?0:f.min)+'\"'+(f.max!==undefined?' max=\"'+f.max+'\"':'')+(f.step?' step=\"'+f.step+'\"':'')+' placeholder=\"'+esc(f.ph||'')+'\" value=\"'+esc(ex)+'\">';\r\n    }else{\r\n      h+='<input type=\"text\" id=\"'+id+'\" maxlength=\"'+(f.maxlen||160)+'\" placeholder=\"'+esc(f.ph||'')+'\" value=\"'+esc(ex)+'\" autocomplete=\"off\">';\r\n    }\r\n  }\r\n  if(f.hint)h+='<div class=\"hint\">'+esc(f.hint)+'<\/div>';\r\n  return h+'<\/div>';\r\n}\r\nfunction readVals(t,root){\r\n  var v={};\r\n  t.fields.forEach(function(f){\r\n    var id=fid(t,f),el=root.querySelector('#'+id);\r\n    if(f.type==='checks'){v[f.id]=Array.prototype.slice.call(root.querySelectorAll('input[name=\"'+id+'\"]:checked')).map(function(x){return x.value;});return;}\r\n    if(!el){v[f.id]='';return;}\r\n    if(f.type==='toggle'){v[f.id]=el.checked;return;}\r\n    var s=el.value;\r\n    if(f.type==='number'){v[f.id]=s===''?'':parseFloat(s);return;}\r\n    if(f.type==='textarea'&&f.raw){v[f.id]=s;return;}\r\n    if(f.type==='select'){v[f.id]=s;return;}\r\n    v[f.id]=s.replace(\/\\s+\/g,' ').trim().replace(\/[.!?,;:]+$\/,'');\r\n  });\r\n  return v;\r\n}\r\nfunction setExamples(t,root){\r\n  t.fields.forEach(function(f){\r\n    var id=fid(t,f),el=root.querySelector('#'+id),ex=f.ex===undefined?'':f.ex;\r\n    if(f.type==='checks'){root.querySelectorAll('input[name=\"'+id+'\"]').forEach(function(c){c.checked=(ex||[]).indexOf(c.value)>-1;});return;}\r\n    if(!el)return;\r\n    if(f.type==='toggle')el.checked=!!ex;else el.value=ex;\r\n  });\r\n}\r\nfunction clearForm(t,root){\r\n  t.fields.forEach(function(f){\r\n    var id=fid(t,f),el=root.querySelector('#'+id);\r\n    if(f.type==='checks'){root.querySelectorAll('input[name=\"'+id+'\"]').forEach(function(c){c.checked=false;});return;}\r\n    if(!el)return;\r\n    if(f.type==='toggle')el.checked=false;else if(f.type!=='select')el.value='';\r\n  });\r\n}\r\n\r\n\/* ---------- panel ---------- *\/\r\nfunction toolById(slug){return TOOLS.filter(function(t){return t.slug===slug;})[0];}\r\nfunction build(t){\r\n  var idx=TOOLS.indexOf(t),panel=document.getElementById('tool-'+t.slug);\r\n  var g=GROUPS[t.group];\r\n  var how=(t.how||['Fill in the form on the left. Example details are already filled in.','Review the results. They update as you type.','Copy what you like, then edit it to fit your brand.']);\r\n  var more=[1,2,3].map(function(k){return TOOLS[(idx+k)%TOOLS.length];}).filter(function(x){return x!==t;});\r\n  var prev=TOOLS[(idx+TOOLS.length-1)%TOOLS.length],next=TOOLS[(idx+1)%TOOLS.length];\r\n  var h='<section class=\"hero compact\"><div class=\"wrap\"><div class=\"crumbs\"><a href=\"#home\">All tools<\/a> \/ <a href=\"#home\" data-grp=\"'+t.group+'\">'+esc(g.name)+'<\/a> \/ '+esc(t.name)+'<\/div><span class=\"pill\">\u25cf '+esc(t.pill||'Free \u00b7 No signup \u00b7 Runs in your browser')+'<\/span><h1>'+esc(t.name)+'<\/h1><p>'+esc(t.intro)+'<\/p><\/div><\/section>';\r\n  h+='<main class=\"wrap main\"><div class=\"tool-body\"><\/div>';\r\n  h+='<div class=\"seo\"><div class=\"card\"><h2>How to use it<\/h2><ol>'+how.map(function(x){return '<li>'+esc(x)+'<\/li>';}).join('')+'<\/ol><\/div><div class=\"card\"><h2>Questions<\/h2>'+(t.faqs||[]).map(function(q){return '<details><summary>'+esc(q[0])+'<\/summary><p>'+esc(q[1])+'<\/p><\/details>';}).join('')+'<\/div><\/div>';\r\n  h+='<div class=\"pn\"><a href=\"#'+prev.slug+'\">\u2190 <span>'+esc(prev.name)+'<\/span><\/a><a href=\"#'+next.slug+'\"><span>'+esc(next.name)+'<\/span> \u2192<\/a><\/div>';\r\n  h+='<div class=\"more\"><h2>More free email tools<\/h2><div class=\"minis\">'+more.map(function(m){return '<a class=\"mini\" href=\"#'+m.slug+'\"><div class=\"ic\" style=\"--c:'+m.color+'\">'+svg(m.icon)+'<\/div><div><b>'+esc(m.name)+'<\/b><span>'+esc(m.card)+'<\/span><\/div><\/a>';}).join('')+'<\/div><\/div><\/main>';\r\n  panel.innerHTML=h;\r\n  var body=panel.querySelector('.tool-body');\r\n  if(t.custom){t.custom(body,{H:H,toast:window.toast,copy:window.copyText,esc:esc});return;}\r\n  body.innerHTML='<div class=\"layout\"><div class=\"card form\"><h2>Your details<\/h2><div class=\"ff\">'+t.fields.map(function(f){return fieldHTML(t,f);}).join('')+'<\/div><div class=\"btns\" style=\"margin-top:14px\">'+(t.async?'<button type=\"button\" class=\"btn sm\" data-act=\"go\">'+esc(t.goLabel||'Check now')+'<\/button>':'')+'<button type=\"button\" class=\"btn ghost sm\" data-act=\"example\">Use example<\/button><button type=\"button\" class=\"btn ghost sm\" data-act=\"clear\">Clear form<\/button><\/div><\/div><div class=\"resw\"><div class=\"toolbar\"><span class=\"grow\"><\/span>'+(t.regen?'<button type=\"button\" class=\"btn sm\" data-act=\"shuffle\">\u21bb Generate new ideas<\/button>':'')+'<button type=\"button\" class=\"btn ghost sm\" data-act=\"copyall\">Copy all<\/button><button type=\"button\" class=\"btn ghost sm\" data-act=\"dl\">Download .txt<\/button><\/div><div class=\"out\" aria-live=\"polite\"><\/div><\/div><\/div>';\r\n  var out=body.querySelector('.out'),R=null,lastText='';\r\n  var ran=false,token=0;\r\n  function update(force){\r\n    if(t.async&&force!==true){if(!ran)out.innerHTML='<div class=\"empty\"><div class=\"eic\">'+svg(t.icon)+'<\/div><b>'+esc(t.goTitle||'Ready when you are')+'<\/b><p>'+esc(t.goText||'Fill in the details and press the button.')+'<\/p><button type=\"button\" class=\"btn sm\" data-act=\"go\">'+esc(t.goLabel||'Check now')+'<\/button><\/div>';return;}\r\n    var v=readVals(t,body);\r\n    t.fields.forEach(function(f){if(f.show){var el=body.querySelector('[data-f=\"'+f.id+'\"]');if(el)el.hidden=!f.show(v);}});\r\n    var miss=(t.required||[]).filter(function(k){var x=v[k];return Array.isArray(x)?!x.length:(x===''||x===undefined||x===null);});\r\n    R=Renderer();\r\n    if(miss.length){\r\n      var names=miss.map(function(k){var f=t.fields.filter(function(x){return x.id===k;})[0];return f?f.label:k;});\r\n      out.innerHTML='<div class=\"empty\"><div class=\"eic\">'+svg(t.icon)+'<\/div><b>Fill in the required details<\/b><p>Add: '+esc(names.join(', '))+'<\/p><button type=\"button\" class=\"btn sm\" data-act=\"example\">Use example<\/button><\/div>';lastText='';return;\r\n    }\r\n    var seed=state.seed[t.slug]||1,res;\r\n    if(t.async){\r\n      ran=true;var my=++token;\r\n      out.innerHTML='<div class=\"empty\"><div class=\"spin\" aria-hidden=\"true\"><\/div><b>Checking\u2026<\/b><p>Looking up public DNS records. This takes a few seconds.<\/p><\/div>';lastText='';\r\n      Promise.resolve().then(function(){return t.runAsync(v,{H:H});}).then(function(r){if(my===token)finish(r);},function(e){if(my===token)out.innerHTML='<div class=\"callout warn\">Something went wrong: '+esc(e.message)+'<\/div>';});\r\n      return;\r\n    }\r\n    try{res=t.run(v,{seed:seed,r:H.rng(seed*2654435761),slug:t.slug,checks:state.checks[t.slug]||(state.checks[t.slug]={})});}\r\n    catch(e){out.innerHTML='<div class=\"callout warn\">Something went wrong: '+esc(e.message)+'<\/div>';return;}\r\n    finish(res);\r\n  }\r\n  function finish(res){\r\n    var parts=Array.isArray(res)?res:(res.parts||[]);\r\n    if(res.stats&&!Array.isArray(res))parts=[{type:'stats',items:res.stats}].concat(parts);\r\n    if(!parts.length){out.innerHTML='<div class=\"empty\"><b>No results yet<\/b><p>Try adding more detail.<\/p><\/div>';lastText='';return;}\r\n    out.innerHTML=parts.map(function(p){return R.part(p);}).join('');\r\n    lastText=R.text(parts);\r\n    out.querySelectorAll('.cl').forEach(function(cl){\r\n      var map=state.checks[t.slug];\r\n      cl.querySelectorAll('input[type=checkbox]').forEach(function(cb){cb.checked=!!map[cl.dataset.cl+':'+cb.dataset.id];cb.closest('li').classList.toggle('done',cb.checked);});\r\n      progress(cl);\r\n    });\r\n  }\r\n  function _unused(){}\r\n  function progress(cl){var all=cl.querySelectorAll('input[type=checkbox]'),n=0;all.forEach(function(c){if(c.checked)n++;});cl.querySelector('.bar i').style.width=(all.length?n\/all.length*100:0)+'%';cl.querySelector('.pt').textContent=n+' of '+all.length+' done';}\r\n  var tm;function later(){clearTimeout(tm);tm=setTimeout(update,60);}\r\n  body.querySelector('.ff').addEventListener('input',later);\r\n  body.querySelector('.ff').addEventListener('change',later);\r\n  if(t.async)body.querySelector('.ff').addEventListener('keydown',function(e){if(e.key==='Enter'&&e.target.tagName==='INPUT'&&e.target.type==='text'){e.preventDefault();update(true);}});\r\n  body.addEventListener('click',function(e){\r\n    var b=e.target.closest('button');if(!b)return;\r\n    if(b.classList.contains('cp')){window.copyText(R.store[+b.dataset.i]);return;}\r\n    if(b.classList.contains('dlb')){window.downloadBlob(new Blob([R.store[+b.dataset.i]],{type:'text\/csv;charset=utf-8'}),b.dataset.name);return;}\r\n    var a=b.dataset.act;\r\n    if(a==='shuffle'){state.seed[t.slug]=(state.seed[t.slug]||1)+1;update();}\r\n    else if(a==='copyall'){if(lastText)window.copyText(lastText);else window.toast('Nothing to copy yet');}\r\n    else if(a==='dl'){if(!lastText){window.toast('Nothing to download yet');return;}window.downloadBlob(new Blob([lastText],{type:'text\/plain'}),t.slug+'.txt');}\r\n    else if(a==='go'){update(true);}\r\n    else if(a==='example'){setExamples(t,body);update();}\r\n    else if(a==='clear'){clearForm(t,body);update();}\r\n  });\r\n  body.addEventListener('change',function(e){\r\n    var fu=e.target;\r\n    if(fu&&fu.classList&&fu.classList.contains('fup')&&fu.files&&fu.files[0]){\r\n      var file=fu.files[0];\r\n      if(file.size>8*1024*1024){window.toast('File is too large (8 MB max)');fu.value='';return;}\r\n      var rd=new FileReader();rd.onload=function(){var ta=body.querySelector('#'+fu.dataset.for);if(ta){ta.value=String(rd.result);ta.dispatchEvent(new Event('input',{bubbles:true}));window.toast('Loaded '+file.name);}};rd.readAsText(file);fu.value='';return;\r\n    }\r\n    var cb=e.target;if(!(cb.matches&&cb.matches('.cl input[type=checkbox]')))return;\r\n    var cl=cb.closest('.cl'),map=state.checks[t.slug];map[cl.dataset.cl+':'+cb.dataset.id]=cb.checked;cb.closest('li').classList.toggle('done',cb.checked);progress(cl);\r\n  });\r\n  update();\r\n}\r\nfunction ensure(slug){var t=toolById(slug);if(!t||state.built[slug])return;state.built[slug]=1;build(t);}\r\n\r\n\/* ---------- shell ---------- *\/\r\nfunction boot(){\r\n  var home=document.getElementById('home-panel'),mount=document.getElementById('panels');\r\n  TOOLS.forEach(function(t){var d=document.createElement('div');d.className='panel';d.id='tool-'+t.slug;d.dataset.route=t.slug;d.hidden=true;mount.appendChild(d);});\r\n  \/\/ home cards\r\n  var hub=document.getElementById('hm-hub');\r\n  hub.innerHTML=Object.keys(GROUPS).map(function(gk){\r\n    return '<div class=\"hgroup\" data-g=\"'+gk+'\" id=\"grp-'+gk+'\"><div class=\"ghead\"><h2>'+esc(GROUPS[gk].name)+'<\/h2><p>'+esc(GROUPS[gk].desc)+'<\/p><\/div><div class=\"hub\">'+TOOLS.filter(function(t){return t.group===gk;}).map(function(t){\r\n      return '<a class=\"tool\" href=\"#'+t.slug+'\" data-k=\"'+esc((t.name+' '+t.kw+' '+t.tag).toLowerCase())+'\"><div class=\"ic\" style=\"--c:'+t.color+'\">'+svg(t.icon)+'<\/div><span class=\"tg\">'+esc(t.tag)+'<\/span><h3>'+esc(t.name)+'<\/h3><p>'+esc(t.card)+'<\/p><span class=\"go\">Open tool \u2192<\/span><\/a>';}).join('')+'<\/div><\/div>';\r\n  }).join('');\r\n  \/\/ mega menu\r\n  var mm=document.getElementById('mega');\r\n  mm.innerHTML='<div class=\"wrap mgrid\">'+Object.keys(GROUPS).map(function(gk){return '<div class=\"mcol\"><h4>'+esc(GROUPS[gk].name)+'<\/h4>'+TOOLS.filter(function(t){return t.group===gk;}).map(function(t){return '<a href=\"#'+t.slug+'\" data-route=\"'+t.slug+'\"><span class=\"mi\" style=\"--c:'+t.color+'\">'+svg(t.icon)+'<\/span><span>'+esc(t.name)+'<\/span><\/a>';}).join('')+'<\/div>';}).join('')+'<\/div>';\r\n  var mb=document.getElementById('mega-btn');\r\n  function setMega(open){mm.hidden=!open;mb.setAttribute('aria-expanded',open?'true':'false');mb.classList.toggle('on',open);}\r\n  mb.addEventListener('click',function(e){e.stopPropagation();setMega(mm.hidden);});\r\n  mm.addEventListener('click',function(e){if(e.target.closest('a'))setMega(false);});\r\n  document.addEventListener('click',function(e){if(!mm.hidden&&!e.target.closest('#mega')&&!e.target.closest('#mega-btn'))setMega(false);if(!e.target.closest('.sbox'))sr.hidden=true;});\r\n  document.addEventListener('keydown',function(e){if(e.key==='Escape'){setMega(false);sr.hidden=true;}});\r\n  \/\/ search (top bar)\r\n  var si=document.getElementById('top-q'),sr=document.getElementById('top-res'),sel=-1;\r\n  function results(q){var terms=q.toLowerCase().split(\/\\s+\/).filter(Boolean);if(!terms.length)return [];return TOOLS.filter(function(t){var k=(t.name+' '+t.kw+' '+t.tag).toLowerCase();return terms.every(function(w){return k.indexOf(w)>-1;});}).slice(0,8);}\r\n  function showRes(){var r=results(si.value);sel=-1;if(!si.value.trim()){sr.hidden=true;return;}sr.innerHTML=r.length?r.map(function(t,i){return '<a href=\"#'+t.slug+'\" data-i=\"'+i+'\"><span class=\"mi\" style=\"--c:'+t.color+'\">'+svg(t.icon)+'<\/span><span><b>'+esc(t.name)+'<\/b><small>'+esc(t.card)+'<\/small><\/span><\/a>';}).join(''):'<div class=\"none\">No tool found. Try \u201cspf\u201d, \u201cspam\u201d, \u201clist\u201d or \u201cconsent\u201d.<\/div>';sr.hidden=false;}\r\n  si.addEventListener('input',showRes);si.addEventListener('focus',showRes);\r\n  si.addEventListener('keydown',function(e){\r\n    var links=sr.querySelectorAll('a');\r\n    if(e.key==='ArrowDown'&&links.length){e.preventDefault();sel=(sel+1)%links.length;}\r\n    else if(e.key==='ArrowUp'&&links.length){e.preventDefault();sel=(sel-1+links.length)%links.length;}\r\n    else if(e.key==='Enter'&&links.length){e.preventDefault();var l=links[sel>-1?sel:0];location.hash=l.getAttribute('href');si.value='';sr.hidden=true;si.blur();return;}\r\n    else return;\r\n    links.forEach(function(l,i){l.classList.toggle('sel',i===sel);});\r\n  });\r\n  sr.addEventListener('click',function(e){if(e.target.closest('a')){si.value='';sr.hidden=true;}});\r\n  \/\/ home search filter\r\n  var hq=document.getElementById('hm-q');\r\n  hq.addEventListener('input',function(){\r\n    var terms=hq.value.toLowerCase().split(\/\\s+\/).filter(Boolean),shown=0;\r\n    document.querySelectorAll('#hm-hub .tool').forEach(function(c){var ok=terms.every(function(w){return c.dataset.k.indexOf(w)>-1;});c.hidden=!ok;if(ok)shown++;});\r\n    document.querySelectorAll('#hm-hub .hgroup').forEach(function(g){g.hidden=!g.querySelector('.tool:not([hidden])');});\r\n    document.getElementById('hm-empty').style.display=shown?'none':'block';\r\n  });\r\n  \/\/ router\r\n  var ROUTES={home:window.HOME_META};TOOLS.forEach(function(t){ROUTES[t.slug]={title:t.title,meta:t.meta};});\r\n  var metaEl=document.querySelector('meta[name=\"description\"]'),bar=document.getElementById('bar');\r\n  function route(scroll){\r\n    var h=(location.hash||'').replace(\/^#\\\/?\/,'');\r\n    var grp=null;if(h.indexOf('grp-')===0){grp=h.slice(4);h='home';}\r\n    if(!ROUTES[h])h='home';\r\n    if(h!=='home')ensure(h);\r\n    document.querySelectorAll('.panel').forEach(function(p){p.hidden=p.dataset.route!==h;});\r\n    document.querySelectorAll('.sp').forEach(function(a){var on=a.dataset.route===h;a.classList.toggle('on',on);});\r\n    var cur=document.getElementById('cur');if(cur){var t=toolById(h);cur.textContent=t?t.name:'';cur.hidden=!t;}\r\n    document.title=ROUTES[h].title;metaEl.setAttribute('content',ROUTES[h].meta);\r\n    if(grp&&document.getElementById('grp-'+grp)){document.getElementById('grp-'+grp).scrollIntoView({block:'start'});}\r\n    else if(scroll)window.scrollTo(0,0);\r\n  }\r\n  window.addEventListener('hashchange',function(){route(true);setMega(false);});\r\n  document.addEventListener('click',function(e){var a=e.target.closest('a[data-grp]');if(a){e.preventDefault();location.hash='#grp-'+a.dataset.grp;}});\r\n  route(false);\r\n}\r\nwindow.addEventListener('DOMContentLoaded',boot);\r\n})();\r\n\r\n<\/script>\r\n<\/body>\r\n<\/html>\r\n\t\t\t\t<\/div>\n\t\t\n<\/div>\n\t\t<\/div>\n\t\t","protected":false},"excerpt":{"rendered":"<p>Free Email Deliverability Tools | SPF, DKIM, DMARC Onground MediaFree marketing tools Deliverability, Compliance &amp; List Health Tools All tools [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"site-sidebar-layout":"no-sidebar","site-content-layout":"","ast-site-content-layout":"full-width-container","site-content-style":"default","site-sidebar-style":"default","ast-global-header-display":"","ast-banner-title-visibility":"","ast-main-header-display":"","ast-hfb-above-header-display":"","ast-hfb-below-header-display":"","ast-hfb-mobile-header-display":"","site-post-title":"","ast-breadcrumbs-content":"","ast-featured-img":"disabled","footer-sml-layout":"","ast-disable-related-posts":"","theme-transparent-header-meta":"","adv-header-id-meta":"","stick-header-meta":"","header-above-stick-meta":"","header-main-stick-meta":"","header-below-stick-meta":"","astra-migrate-meta-layouts":"default","ast-page-background-enabled":"default","ast-page-background-meta":{"desktop":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"ast-content-background-meta":{"desktop":{"background-color":"var(--ast-global-color-4)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"var(--ast-global-color-4)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"var(--ast-global-color-4)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"footnotes":""},"class_list":["post-621","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/ongroundmedia.com\/index.php?rest_route=\/wp\/v2\/pages\/621","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/ongroundmedia.com\/index.php?rest_route=\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/ongroundmedia.com\/index.php?rest_route=\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/ongroundmedia.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/ongroundmedia.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=621"}],"version-history":[{"count":4,"href":"https:\/\/ongroundmedia.com\/index.php?rest_route=\/wp\/v2\/pages\/621\/revisions"}],"predecessor-version":[{"id":625,"href":"https:\/\/ongroundmedia.com\/index.php?rest_route=\/wp\/v2\/pages\/621\/revisions\/625"}],"wp:attachment":[{"href":"https:\/\/ongroundmedia.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=621"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}