
/**
 *   WARNING: This file is intended to be used within MySheerID.
 *   This file is not intended for use in other contexts and there are no guarantees about its behavior outside of MySheerID.
 */ 
/**
 *   VERSION: 2.239.0-alpha.0
 *   BUILD_TIMESTAMP: 1780013005605
 *   BUILD_DATE: Fri May 29 2026 00:03:25 GMT+0000 (Coordinated Universal Time)
 *   BUILD_COMMIT: 3344b6c0fd9fa858907db310cfb1ef5e0d224da2
 */
import { j as e, L as l, F as o, x as c, y as p } from "../_mysheerid-preview.js";
import { C as m } from "./CopyToClipboardComponent-nxRh3gUe.js";
const u = ({ verificationService: s }) => {
  const t = s.verificationResponse.consolationRewardCode || "${consolationRewardCode}", i = s.programTheme.config.offerType === "noCode", { verificationId: n } = s.verificationResponse, { rewardDisplay: d } = s.programTheme.config, r = !i && !!d.length;
  return /* @__PURE__ */ e.jsxs("div", { id: "sid-step-consolation", className: "sid-l-container", children: [
    /* @__PURE__ */ e.jsxs("div", { className: "sid-header sid-l-horz-center sid-l-space-top-md", children: [
      /* @__PURE__ */ e.jsx("div", { className: "sid-l-horz-center", children: /* @__PURE__ */ e.jsx(l, { verificationService: s }) }),
      /* @__PURE__ */ e.jsx(
        "div",
        {
          className: "sid-header__title sid-l-horz-center sid-l-space-top-md",
          id: "consolation-status",
          role: "alertdialog",
          children: /* @__PURE__ */ e.jsx(
            o,
            {
              id: "step.consolation.title",
              defaultMessage: "Claim your offer",
              tagName: "h1"
            }
          )
        }
      ),
      /* @__PURE__ */ e.jsx("div", { className: "sid-l-horz-center", children: /* @__PURE__ */ e.jsx(
        o,
        {
          id: "step.consolation.subtitle",
          defaultMessage: "Unfortunately we could not verify your status, but we value your interest and are offering this promo code as a thank you. It is unique to you and can only be used once."
        }
      ) })
    ] }),
    r && /* @__PURE__ */ e.jsx("div", { className: "sid-l-horz-center sid-reward-container sid-l-space-top-md", children: d.map((a) => a !== c.TEXT ? /* @__PURE__ */ e.jsx(
      "img",
      {
        className: "sid-l-space-top-md sid-barcode",
        alt: t,
        src: p(n, "consolationRewardCode", a)
      },
      a
    ) : /* @__PURE__ */ e.jsxs(e.Fragment, { children: [
      /* @__PURE__ */ e.jsx(
        "div",
        {
          className: "sid-reward-code sid-l-space-top-lg sid-h-jumbo-text sid-l-horz-center",
          role: "region",
          children: t
        }
      ),
      /* @__PURE__ */ e.jsx("div", { className: "sid-l-space-top-md sid-h-bold-text sid-l-horz-center", children: /* @__PURE__ */ e.jsx(
        m,
        {
          textToCopy: t,
          notificationText: /* @__PURE__ */ e.jsx(o, { id: "copied", defaultMessage: "Copied" }),
          children: /* @__PURE__ */ e.jsx(
            o,
            {
              id: "step.success.copyCouponCode",
              defaultMessage: "Copy Coupon code"
            }
          )
        }
      ) })
    ] })) }),
    /* @__PURE__ */ e.jsx("div", { className: "sid-footer sid-l-horz-center sid-l-space-top-lg", children: /* @__PURE__ */ e.jsx(
      o,
      {
        id: "rewardCodeEmailNotification",
        defaultMessage: "We have emailed you a copy so you can use your new code now or later. Look for the email from verify@sheerid.com."
      }
    ) }),
    /* @__PURE__ */ e.jsx(
      "div",
      {
        className: "sid-footer sid-l-horz-center sid-l-space-top-lg sid-h-small-text",
        role: "contentinfo",
        children: /* @__PURE__ */ e.jsx(o, { id: "companyName", defaultMessage: "{Company}", children: (a) => /* @__PURE__ */ e.jsx(
          o,
          {
            id: "step.consolation.verificationOnly",
            defaultMessage: "Please direct any and all questions about this offer to {companyName}.",
            values: { companyName: a }
          }
        ) })
      }
    )
  ] });
}, x = u;
export {
  x as default
};
