"use strict";exports.id=2542,exports.ids=[2542],exports.modules={72542:(e,t,i)=>{i.d(t,{B9:()=>h,Ll:()=>u,OF:()=>x,bh:()=>y,nX:()=>f,passwordResetEmail:()=>d,q2:()=>c,rD:()=>g});let o="#16a34a",n="#dcfce7",r="#1a1a1a",l="#6b7280",a="#f9fafb";function s(e){return`<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8" />
  <meta name="viewport" content="width=device-width, initial-scale=1.0" />
  <title>Wasiyat</title>
</head>
<body style="margin: 0; padding: 0; background-color: ${a}; font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;">
  <table role="presentation" width="100%" cellpadding="0" cellspacing="0" style="background-color: ${a};">
    <tr>
      <td align="center" style="padding: 40px 20px;">
        <table role="presentation" width="600" cellpadding="0" cellspacing="0" style="max-width: 600px; width: 100%; background-color: #ffffff; border-radius: 8px; overflow: hidden; box-shadow: 0 1px 3px rgba(0,0,0,0.1);">
          <!-- Header -->
          <tr>
            <td style="background-color: ${o}; padding: 24px 32px; text-align: center;">
              <table role="presentation" cellpadding="0" cellspacing="0" style="margin: 0 auto;">
                <tr>
                  <td style="background-color: rgba(255,255,255,0.2); width: 36px; height: 36px; border-radius: 8px; text-align: center; vertical-align: middle; font-weight: bold; color: #ffffff; font-size: 18px;">
                    W
                  </td>
                  <td style="padding-left: 12px; color: #ffffff; font-size: 22px; font-weight: 600; letter-spacing: -0.3px;">
                    Wasiyat
                  </td>
                </tr>
              </table>
            </td>
          </tr>
          <!-- Body -->
          <tr>
            <td style="padding: 32px;">
              ${e}
            </td>
          </tr>
          <!-- Footer -->
          <tr>
            <td style="background-color: ${a}; padding: 24px 32px; border-top: 1px solid #e5e7eb;">
              <p style="margin: 0 0 8px 0; font-size: 12px; color: ${l}; text-align: center;">
                Wasiyat &mdash; Shariah-Compliant Estate Planning for India
              </p>
              <p style="margin: 0 0 8px 0; font-size: 11px; color: ${l}; text-align: center;">
                This email was sent by Wasiyat. If you did not expect this email, please ignore it.
              </p>
              <p style="margin: 0; font-size: 11px; color: ${l}; text-align: center;">
                <a href="{{unsubscribe_url}}" style="color: ${l}; text-decoration: underline;">Unsubscribe</a>
                &nbsp;&middot;&nbsp;
                <a href="{{privacy_url}}" style="color: ${l}; text-decoration: underline;">Privacy Policy</a>
              </p>
            </td>
          </tr>
        </table>
      </td>
    </tr>
  </table>
</body>
</html>`}function p(e,t){return`<table role="presentation" cellpadding="0" cellspacing="0" style="margin: 24px 0;">
  <tr>
    <td style="background-color: ${o}; border-radius: 6px; padding: 12px 28px;">
      <a href="${t}" style="color: #ffffff; text-decoration: none; font-size: 14px; font-weight: 600; display: inline-block;">
        ${e}
      </a>
    </td>
  </tr>
</table>`}function d(e,t){return s(`
    <h1 style="margin: 0 0 16px 0; font-size: 24px; font-weight: 700; color: ${r};">
      Reset Your Password
    </h1>
    <p style="margin: 0 0 16px 0; font-size: 15px; color: ${r}; line-height: 1.6;">
      Hi ${e},
    </p>
    <p style="margin: 0 0 16px 0; font-size: 15px; color: ${r}; line-height: 1.6;">
      We received a request to reset your Wasiyat password. Click the button below to create a new password.
    </p>
    ${p("Reset Password",t)}
    <p style="margin: 0 0 12px 0; font-size: 13px; color: ${l}; line-height: 1.5;">
      This link will expire in 1 hour. If you did not request a password reset, you can safely ignore this email.
      Your password will remain unchanged.
    </p>
    <p style="margin: 0; font-size: 12px; color: ${l}; line-height: 1.5;">
      If the button does not work, copy and paste this link into your browser:<br />
      <a href="${t}" style="color: ${o}; word-break: break-all;">${t}</a>
    </p>
  `)}function g(e,t,i,n){return s(`
    <h1 style="margin: 0 0 16px 0; font-size: 24px; font-weight: 700; color: ${r};">
      Signing Verification Code
    </h1>
    <p style="margin: 0 0 16px 0; font-size: 15px; color: ${r}; line-height: 1.6;">
      Assalamu Alaikum, ${e},
    </p>
    <p style="margin: 0 0 16px 0; font-size: 15px; color: ${r}; line-height: 1.6;">
      You are about to sign: <strong>${i}</strong>
    </p>
    <p style="margin: 0 0 8px 0; font-size: 15px; color: ${r}; line-height: 1.6;">
      Your one-time verification code is:
    </p>
    <table role="presentation" cellpadding="0" cellspacing="0" style="width: 100%; margin: 0 0 24px 0;">
      <tr>
        <td style="text-align: center; padding: 24px;">
          <span style="font-size: 36px; font-weight: 700; letter-spacing: 8px; color: ${o}; font-family: 'Courier New', monospace;">
            ${t}
          </span>
        </td>
      </tr>
    </table>
    <table role="presentation" cellpadding="0" cellspacing="0" style="width: 100%; margin: 0 0 24px 0; background-color: #fef3c7; border-radius: 8px;">
      <tr>
        <td style="padding: 16px 20px;">
          <p style="margin: 0; font-size: 14px; color: #92400e; line-height: 1.5;">
            This code expires in <strong>${n} minutes</strong>. Do not share this code with anyone.
          </p>
        </td>
      </tr>
    </table>
    <p style="margin: 0; font-size: 13px; color: ${l}; line-height: 1.5;">
      If you did not initiate this signing request, please ignore this email. Your documents remain secure.
    </p>
  `)}function c(e,t,i,a){return s(`
    <h1 style="margin: 0 0 16px 0; font-size: 24px; font-weight: 700; color: ${r};">
      Witness Invitation
    </h1>
    <p style="margin: 0 0 16px 0; font-size: 15px; color: ${r}; line-height: 1.6;">
      Assalamu Alaikum, ${e},
    </p>
    <p style="margin: 0 0 16px 0; font-size: 15px; color: ${r}; line-height: 1.6;">
      <strong>${t}</strong> has invited you to serve as a witness for their Wasiyyah (Last Will and Testament)
      on Wasiyat.
    </p>
    <p style="margin: 0 0 16px 0; font-size: 15px; color: ${r}; line-height: 1.6;">
      As a witness, you will review the document summary and provide your digital attestation and signature.
    </p>
    <table role="presentation" cellpadding="0" cellspacing="0" style="width: 100%; margin: 0 0 24px 0; background-color: ${n}; border-radius: 8px;">
      <tr>
        <td style="padding: 16px 20px;">
          <p style="margin: 0; font-size: 14px; color: #166534; line-height: 1.5;">
            This invitation is valid until <strong>${a}</strong>. Please complete your attestation before this date.
          </p>
        </td>
      </tr>
    </table>
    ${p("Open Witness Portal",i)}
    <p style="margin: 0 0 12px 0; font-size: 13px; color: ${l}; line-height: 1.5;">
      You will be asked to:
    </p>
    <table role="presentation" cellpadding="0" cellspacing="0" style="margin: 0 0 16px 0;">
      <tr>
        <td style="padding: 4px 0 4px 16px; font-size: 13px; color: ${l}; line-height: 1.5;">
          &#8226;&nbsp; Review the document summary
        </td>
      </tr>
      <tr>
        <td style="padding: 4px 0 4px 16px; font-size: 13px; color: ${l}; line-height: 1.5;">
          &#8226;&nbsp; Confirm your declaration of witnessing
        </td>
      </tr>
      <tr>
        <td style="padding: 4px 0 4px 16px; font-size: 13px; color: ${l}; line-height: 1.5;">
          &#8226;&nbsp; Provide your digital signature
        </td>
      </tr>
    </table>
    <p style="margin: 0; font-size: 12px; color: ${l}; line-height: 1.5;">
      If the button does not work, copy and paste this link into your browser:<br />
      <a href="${i}" style="color: ${o}; word-break: break-all;">${i}</a>
    </p>
  `)}function h(e,t,i,n){return s(`
    <h1 style="margin: 0 0 16px 0; font-size: 24px; font-weight: 700; color: ${r};">
      Executor Appointment
    </h1>
    <p style="margin: 0 0 16px 0; font-size: 15px; color: ${r}; line-height: 1.6;">
      Assalamu Alaikum, ${e},
    </p>
    <p style="margin: 0 0 16px 0; font-size: 15px; color: ${r}; line-height: 1.6;">
      <strong>${t}</strong> has appointed you as ${n?"the <strong>primary</strong>":"an"} executor
      of their estate plan on Wasiyat.
    </p>
    <p style="margin: 0 0 16px 0; font-size: 15px; color: ${r}; line-height: 1.6;">
      Please review the appointment details and accept or decline through the secure executor portal.
    </p>
    ${p("Open Executor Portal",i)}
    <p style="margin: 0 0 12px 0; font-size: 13px; color: ${l}; line-height: 1.5;">
      As an executor, you will be responsible for:
    </p>
    <table role="presentation" cellpadding="0" cellspacing="0" style="margin: 0 0 16px 0;">
      <tr>
        <td style="padding: 4px 0 4px 16px; font-size: 13px; color: ${l}; line-height: 1.5;">
          &#8226;&nbsp; Ensuring the estate is distributed per the calculated shares
        </td>
      </tr>
      <tr>
        <td style="padding: 4px 0 4px 16px; font-size: 13px; color: ${l}; line-height: 1.5;">
          &#8226;&nbsp; Following the step-by-step executor playbook
        </td>
      </tr>
      <tr>
        <td style="padding: 4px 0 4px 16px; font-size: 13px; color: ${l}; line-height: 1.5;">
          &#8226;&nbsp; Managing legal documentation and government filings
        </td>
      </tr>
    </table>
    <p style="margin: 0; font-size: 12px; color: ${l}; line-height: 1.5;">
      If the button does not work, copy and paste this link into your browser:<br />
      <a href="${i}" style="color: ${o}; word-break: break-all;">${i}</a>
    </p>
  `)}function x(e,t){return s(`
    <h1 style="margin: 0 0 16px 0; font-size: 24px; font-weight: 700; color: ${r};">
      Executor Accepted
    </h1>
    <p style="margin: 0 0 16px 0; font-size: 15px; color: ${r}; line-height: 1.6;">
      Hi ${e},
    </p>
    <p style="margin: 0 0 16px 0; font-size: 15px; color: ${r}; line-height: 1.6;">
      <strong>${t}</strong> has accepted your executor appointment on Wasiyat.
    </p>
    <table role="presentation" cellpadding="0" cellspacing="0" style="width: 100%; margin: 0 0 24px 0; background-color: ${n}; border-radius: 8px;">
      <tr>
        <td style="padding: 16px 20px;">
          <p style="margin: 0; font-size: 14px; color: #166534; line-height: 1.5;">
            Your executor can now access the executor portal, view your estate plan documents, and provide their signature.
          </p>
        </td>
      </tr>
    </table>
    ${p("View Executor Status","{{app_url}}/dashboard/estate/executors")}
  `)}function f(e,t,i){return s(`
    <h1 style="margin: 0 0 16px 0; font-size: 24px; font-weight: 700; color: ${r};">
      Executor Declined
    </h1>
    <p style="margin: 0 0 16px 0; font-size: 15px; color: ${r}; line-height: 1.6;">
      Hi ${e},
    </p>
    <p style="margin: 0 0 16px 0; font-size: 15px; color: ${r}; line-height: 1.6;">
      <strong>${t}</strong> has declined your executor appointment on Wasiyat.
    </p>
    ${i?`
    <table role="presentation" cellpadding="0" cellspacing="0" style="width: 100%; margin: 0 0 24px 0; background-color: #fef3c7; border-radius: 8px;">
      <tr>
        <td style="padding: 16px 20px;">
          <p style="margin: 0; font-size: 14px; color: #92400e; line-height: 1.5;">
            <strong>Reason:</strong> ${i}
          </p>
        </td>
      </tr>
    </table>
    `:""}
    <p style="margin: 0 0 16px 0; font-size: 15px; color: ${r}; line-height: 1.6;">
      You may appoint a different executor through your dashboard.
    </p>
    ${p("Manage Executors","{{app_url}}/dashboard/estate/executors")}
  `)}function y(e,t,i,o){return s(`
    <h1 style="margin: 0 0 16px 0; font-size: 24px; font-weight: 700; color: ${r};">
      Signing Complete
    </h1>
    <p style="margin: 0 0 16px 0; font-size: 15px; color: ${r}; line-height: 1.6;">
      Assalamu Alaikum, ${e},
    </p>
    <p style="margin: 0 0 16px 0; font-size: 15px; color: ${r}; line-height: 1.6;">
      Your digital signature for <strong>${t}</strong> has been securely recorded.
    </p>
    <table role="presentation" cellpadding="0" cellspacing="0" style="width: 100%; margin: 0 0 24px 0; background-color: ${n}; border-radius: 8px;">
      <tr>
        <td style="padding: 20px;">
          <table role="presentation" cellpadding="0" cellspacing="0" style="width: 100%;">
            <tr>
              <td style="padding: 4px 0; font-size: 14px; color: ${l};">Signed At</td>
              <td style="padding: 4px 0; font-size: 14px; color: ${r}; font-weight: 600; text-align: right;">${o}</td>
            </tr>
            ${i?`
            <tr>
              <td style="padding: 4px 0; font-size: 14px; color: ${l};">Document ID (DIN)</td>
              <td style="padding: 4px 0; font-size: 14px; color: ${r}; font-weight: 600; text-align: right;">${i}</td>
            </tr>
            `:""}
            <tr>
              <td style="padding: 4px 0; font-size: 14px; color: ${l};">Encryption</td>
              <td style="padding: 4px 0; font-size: 14px; color: ${r}; font-weight: 600; text-align: right;">AES-256-GCM</td>
            </tr>
          </table>
        </td>
      </tr>
    </table>
    <p style="margin: 0; font-size: 13px; color: ${l}; line-height: 1.5;">
      Your signature is encrypted and stored securely. A signing certificate will be included in the document pack
      showing all signers, verification methods, and timestamps.
    </p>
  `)}function u(e,t,i,n){let d=`${t} has left a personal message for you`,g=n?`
    <table role="presentation" cellpadding="0" cellspacing="0" style="width: 100%; margin: 0 0 24px 0; background-color: ${a}; border-radius: 8px; border-left: 3px solid ${o};">
      <tr>
        <td style="padding: 16px 20px;">
          <p style="margin: 0 0 8px 0; font-size: 13px; color: ${l}; text-transform: uppercase; letter-spacing: 0.5px;">Personal Note</p>
          <p style="margin: 0; font-size: 14px; color: ${r}; line-height: 1.6; font-style: italic;">&ldquo;${n}&rdquo;</p>
          <p style="margin: 8px 0 0; font-size: 13px; color: ${l}; text-align: right;">&mdash; ${t}</p>
        </td>
      </tr>
    </table>`:"";return{subject:d,html:s(`
    <h1 style="margin: 0 0 16px 0; font-size: 24px; font-weight: 700; color: ${r}; text-align: center;">
      A Message For You
    </h1>
    <p style="margin: 0 0 16px 0; font-size: 15px; color: ${r}; line-height: 1.6; text-align: center;">
      Dear ${e},
    </p>
    <p style="margin: 0 0 24px 0; font-size: 15px; color: ${r}; line-height: 1.6; text-align: center;">
      <strong>${t}</strong> has left a personal video message for you through Wasiyat.
      This message was recorded with care and intended specifically for you.
    </p>
    ${g}
    ${p("Watch Message",i)}
    <p style="margin: 0; font-size: 13px; color: ${l}; line-height: 1.5; text-align: center;">
      This message is private and encrypted. Only you can access it through the link above.
    </p>
    <p style="margin: 12px 0 0; font-size: 12px; color: ${l}; line-height: 1.5;">
      If the button does not work, copy and paste this link into your browser:<br />
      <a href="${i}" style="color: ${o}; word-break: break-all;">${i}</a>
    </p>
  `)}}}};