{
  "version": 3,
  "sources": ["/cdn/shop/files/jh-signup-v1.js?x=1795564657255"],
  "sourcesContent": ["/* Just Hookers\u00AE \u2013 \"Subscribe & Save 10%\" email sign-up pop-up (2026-11-24).\n   Posts to Shopify's own customer newsletter form (form_type=customer), so the visitor becomes an\n   email-marketing subscriber and the Shopify Messaging welcome automation emails them HOOKED10.\n   The code is NOT shown on the site (HOOKED10 only works for email subscribers anyway).\n   Shows once: after 12 s or 40% scroll; if closed, waits 7 days; never again after signing up.\n   Skipped on cart, checkout, account, policy and opt-out pages. */\n(function () {\n  if (window.__jhSignup) return; window.__jhSignup = 1;\n  var KEY = 'jhSignupV1', DAYS = 7;\n  var path = location.pathname;\n  if (/^\\/(cart|checkout|checkouts|account|policies|pages\\/data-sharing-opt-out|challenge)/.test(path)) return;\n  function get() { try { return JSON.parse(localStorage.getItem(KEY) || '{}'); } catch (e) { return {}; } }\n  function set(o) { try { localStorage.setItem(KEY, JSON.stringify(o)); } catch (e) {} }\n  var st = get();\n  var posted = /[?&]customer_posted=true/.test(location.search) && /jh-signup/.test(location.hash);\n  if (posted) { st.done = 1; set(st); }\n  if (st.done && !posted) return;\n  if (!posted && st.closed && (Date.now() - st.closed) < DAYS * 864e5) return;\n\n  var css = document.createElement('style');\n  css.textContent =\n    '.jhsu-bg{position:fixed;inset:0;background:rgba(3,25,36,.55);z-index:2147483000;display:flex;align-items:center;justify-content:center;padding:16px;opacity:0;transition:opacity .25s}' +\n    '.jhsu-bg.on{opacity:1}' +\n    '.jhsu{position:relative;width:100%;max-width:420px;background:#fff;border-radius:18px;overflow:hidden;box-shadow:0 20px 60px rgba(0,0,0,.35);font-family:system-ui,-apple-system,Segoe UI,Roboto,sans-serif;color:#0b2a38;text-align:center}' +\n    '.jhsu-top{background:linear-gradient(135deg,#063247,#0b6e8f);color:#fff;padding:22px 20px 18px}' +\n    '.jhsu-top small{display:block;letter-spacing:.14em;font-weight:800;font-size:12px;opacity:.85}' +\n    '.jhsu-top b{display:block;font-size:30px;line-height:1.1;margin-top:6px;font-weight:900}' +\n    '.jhsu-body{padding:18px 22px 20px}' +\n    '.jhsu-body p{margin:0 0 14px;font-size:15px;line-height:1.45}' +\n    '.jhsu input[type=email]{width:100%;box-sizing:border-box;border:2px solid #c7d6de;border-radius:10px;padding:12px 14px;font-size:16px;margin:0 0 10px}' +\n    '.jhsu input[type=email]:focus{outline:none;border-color:#0b6e8f}' +\n    '.jhsu button.go{width:100%;border:0;border-radius:10px;padding:13px 14px;background:#063247;color:#fff;font-weight:800;font-size:16px;cursor:pointer}' +\n    '.jhsu button.go:hover{background:#0b6e8f}' +\n    '.jhsu .fine{margin:12px 0 0;font-size:11.5px;color:#5b6670;line-height:1.4}' +\n    '.jhsu .fine a{color:#5b6670}' +\n    '.jhsu .x{position:absolute;top:8px;right:10px;background:none;border:0;color:#fff;font-size:26px;line-height:1;cursor:pointer;padding:4px 8px}' +\n    '.jhsu .no{background:none;border:0;color:#5b6670;text-decoration:underline;font-size:13px;margin-top:10px;cursor:pointer}';\n  document.head.appendChild(css);\n\n  function build(thanks) {\n    var bg = document.createElement('div'); bg.className = 'jhsu-bg';\n    var box = document.createElement('div'); box.className = 'jhsu';\n    box.setAttribute('role', 'dialog'); box.setAttribute('aria-modal', 'true'); box.setAttribute('aria-labelledby', 'jhsu-h');\n    if (thanks) {\n      box.innerHTML = '<div class=\"jhsu-top\"><small>WELCOME ABOARD</small><b id=\"jhsu-h\">You\\'re in! \uD83C\uDFA3</b></div>' +\n        '<div class=\"jhsu-body\"><p>Check your inbox. Your 10% off code is on its way to you now.</p>' +\n        '<button type=\"button\" class=\"go\">Keep shopping</button></div><button type=\"button\" class=\"x\" aria-label=\"Close\">\u00D7</button>';\n    } else {\n      box.innerHTML = '<div class=\"jhsu-top\"><small>JOIN THE JUST HOOKERS\u00AE CREW</small><b id=\"jhsu-h\">Subscribe &amp; Save 10%</b></div>' +\n        '<div class=\"jhsu-body\"><p>Get 10% off your first order, plus new designs and deals. Your code arrives by email.</p>' +\n        '<form method=\"post\" action=\"/contact#jh-signup\" accept-charset=\"UTF-8\">' +\n        '<input type=\"hidden\" name=\"form_type\" value=\"customer\"><input type=\"hidden\" name=\"utf8\" value=\"\u2713\">' +\n        '<input type=\"hidden\" name=\"contact[tags]\" value=\"newsletter, popup\">' +\n        '<input type=\"email\" name=\"contact[email]\" placeholder=\"Your email\" autocomplete=\"email\" required aria-label=\"Email address\">' +\n        '<button type=\"submit\" class=\"go\">Get my 10% off</button></form>' +\n        '<button type=\"button\" class=\"no\">No thanks</button>' +\n        '<p class=\"fine\">One use per subscriber. Unsubscribe anytime. See our <a href=\"/policies/privacy-policy\">Privacy Policy</a>.</p></div>' +\n        '<button type=\"button\" class=\"x\" aria-label=\"Close\">\u00D7</button>';\n    }\n    bg.appendChild(box); document.body.appendChild(bg);\n    requestAnimationFrame(function () { bg.classList.add('on'); });\n    function close() {\n      if (!thanks) { st.closed = Date.now(); set(st); }\n      bg.classList.remove('on'); setTimeout(function () { bg.remove(); }, 250);\n      document.removeEventListener('keydown', esc);\n    }\n    function esc(e) { if (e.key === 'Escape') close(); }\n    document.addEventListener('keydown', esc);\n    bg.addEventListener('click', function (e) { if (e.target === bg) close(); });\n    box.querySelectorAll('.x,.no').forEach(function (b) { b.addEventListener('click', close); });\n    var go = box.querySelector('button.go[type=button]'); if (go) go.addEventListener('click', close);\n    var form = box.querySelector('form');\n    if (form) form.addEventListener('submit', function () { st.sent = Date.now(); set(st); });\n    var f = box.querySelector('input[type=email]') || box.querySelector('button'); if (f) setTimeout(function () { f.focus(); }, 300);\n  }\n\n  if (posted) { build(true); return; }\n  var shown = false;\n  function show() { if (shown) return; shown = true; window.removeEventListener('scroll', onScroll); build(false); }\n  function onScroll() {\n    var h = document.documentElement.scrollHeight - innerHeight;\n    if (h > 0 && scrollY / h > 0.4) show();\n  }\n  window.addEventListener('scroll', onScroll, { passive: true });\n  setTimeout(show, 12000);\n  window.jhSignupShow = function () { shown = false; build(false); }; /* test hook */\n})();\n"],
  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