Your Secure and Responsible Technology Partner

Quick Assessment · 7 Pillars

Where does your organization stand on
AI & Cybersecurity Risk?

Map your posture against the ARISE Framework, calibrated to your industry, data sensitivity, and deployment context for a risk score that reflects your real-world exposure.

7Pillars
~6Minutes
Analyzing your responses…
Calibrating risk against your industry, data profile, and deployment context
Follow-Up Requested
Thank You!

We'll be in touch soon.

Our team at Assessed Intelligence will review your assessment results and reach out to discuss how we can help strengthen your AI and cybersecurity posture.

`; const w = window.open('', '_blank'); if(!w){ alert('Please allow pop-ups for this site to generate the PDF.'); return; } w.document.open(); w.document.write(html); w.document.close(); w.focus(); setTimeout(() => w.print(), 1200); }, emailReport(){ // Open email modal, pre-fill with contact email const modal = document.getElementById('modal-email-report'); const inp = document.getElementById('email-report-to'); const warn = document.getElementById('modal-email-report-warn'); const success = document.getElementById('email-report-success'); const sendBtn = document.getElementById('email-report-send-btn'); if(inp) inp.value = S.contact.em || ''; if(warn){ warn.textContent=''; warn.classList.remove('show'); } if(success) success.style.display='none'; if(sendBtn){ sendBtn.style.display=''; sendBtn.disabled=false; sendBtn.textContent='Send Report'; } // Show the fields again const fieldEl = modal.querySelector('.field'); if(fieldEl) fieldEl.style.display=''; modal.querySelector('p') && (modal.querySelector('p').style.display=''); modal.classList.add('open'); document.body.style.overflow='hidden'; }, async sendEmailReport(){ const inp = document.getElementById('email-report-to'); const warn = document.getElementById('modal-email-report-warn'); const sendBtn= document.getElementById('email-report-send-btn'); const success= document.getElementById('email-report-success'); const email = inp ? inp.value.trim() : ''; console.log('[ARISE] sendEmailReport called, email:', email, 'WEBHOOK_URL:', WEBHOOK_URL); if(!email || !/^[^\s@]+@[^\s@]+\.[^\s@]{2,}$/.test(email)){ warn.textContent='⚠ Please enter a valid email address.'; warn.classList.add('show'); return; } warn.classList.remove('show'); sendBtn.disabled=true; sendBtn.textContent='Sending…'; const c = S.contact; const allScores = Object.values(S.scores); const pct = Math.round(allScores.reduce((a,b)=>a+b,0)/Math.max(1,allScores.length)*100/5); const g = grade(pct); const pillars = PILLARS.map(p=>{ const qs = p.questions.flat(); const tot = qs.reduce((a,q)=>a+(S.scores[q.id]||0),0); const max = qs.length*5; const pp = Math.round(tot/Math.max(1,max)*100); const pg = grade(pp); return {label:p.label, pct:pp, desc:pg.desc, color:p.color}; }); const payload = { type: 'email_report', timestamp: new Date().toISOString(), submissionId: S.submissionId || '', recipientEmail: email, firstName: c.fn||'', lastName: c.ln||'', jobTitle: c.jt||'', org: c.org||'', overallScore: pct, overallGrade: g.l, overallDesc: g.desc, pillars, }; console.log('[ARISE] Sending payload to:', WEBHOOK_URL); console.log('[ARISE] Payload:', JSON.stringify(payload).substring(0,200)); try { const form = new FormData(); form.append('payload', JSON.stringify(payload)); await fetch(WEBHOOK_URL, { method:'POST', body:form, mode:'no-cors' }); console.log('[ARISE] Fetch completed (no-cors, response opaque)'); } catch(err) { console.error('[ARISE] Fetch failed:', err); warn.textContent='⚠ Failed to send — please try again or contact support.'; warn.classList.add('show'); sendBtn.disabled=false; sendBtn.textContent='Send Report'; return; } // Show success sendBtn.style.display='none'; const fieldEl = document.getElementById('modal-email-report').querySelector('.field'); if(fieldEl) fieldEl.style.display='none'; const pEl = document.getElementById('modal-email-report').querySelector('p'); if(pEl) pEl.style.display='none'; success.style.display='block'; setTimeout(()=>MODAL.close('email-report'), 2800); }, requestFollowup(){ // Send follow-up request to Sheet tab 2 const c = S.contact; const followupPayload = { type: 'followup_request', timestamp: new Date().toISOString(), firstName: c.fn || '', lastName: c.ln || '', email: c.em || '', organization: c.org || '', jobTitle: c.jt || '', industry: c.ind || '', source: 'ARISE Quick Assessment — Contact CTA' }; // Submit via iframe form POST (same CORS-safe method as autoSubmit) try { const iframeId = 'ariseFollowupFrame_' + Date.now(); const iframe = document.createElement('iframe'); iframe.name = iframeId; iframe.style.cssText = 'display:none;position:absolute;width:0;height:0;border:0'; document.body.appendChild(iframe); const form = document.createElement('form'); form.method = 'POST'; form.action = WEBHOOK_URL; form.target = iframeId; form.style.cssText = 'display:none'; const inp = document.createElement('input'); inp.type = 'hidden'; inp.name = 'payload'; inp.value = JSON.stringify(followupPayload); form.appendChild(inp); document.body.appendChild(form); form.submit(); setTimeout(()=>{ form.remove(); iframe.remove(); }, 5000); } catch(e) { console.warn('Follow-up submission error:', e); } // Show thank-you page showView('view-thankyou'); window.scrollTo({top:0, behavior:'smooth'}); } }; // Expose to window for inline onclick handlers window.ARISE = ARISE; window.MODAL = MODAL; window.dismissPillarWarn = dismissPillarWarn; } if(document.readyState === 'loading'){ document.addEventListener('DOMContentLoaded', ariseInit); } else { ariseInit(); } })();