{"version":3,"file":"WhiteOverlayText.TXoSX2n5.mjs","names":["useRef","useId","useMemo","_Fragment","__esmMin","ie","init_ssg_sandbox_shims","de","l","pe","p","c","J","init_jsx_runtime","init_npm_react_18_3_1","ce","window","init_LeadLabelSprinkle","sprinkleHover","withHoverSound","Component","props","init_HoverSound","valueOf","host","existing","VALUE_ATTR","title","rest","n","span","withRowSprinkle","hostRef","row","onEnter","value","init_ContactRowSprinkle","WhiteOverlayText","scopeId","scopedClassName","className","init_WhiteOverlayText"],"sources":["https:/framerusercontent.com/modules/AIbZWnK8GmoixZkPOya6/ZNpqYFd5aUzhMO2qpiVP/HoverSound.js","https:/framerusercontent.com/modules/59oKfVjDicpDfXeZxlfA/mtDNg8z7ZUpDZyIMWZfE/ContactRowSprinkle.js","https:/framerusercontent.com/modules/02IX9RAIj2cWE0GbFS5Y/D8g9ZoLxpKVGsxbLNZRE/WhiteOverlayText.js"],"sourcesContent":["// Compatibility no-op override preserving export name.\nimport{jsx as _jsx}from\"react/jsx-runtime\";import{forwardRef}from\"react\";export function withHoverSound(Component){return /*#__PURE__*/forwardRef(function WithHoverSound(props,ref){return /*#__PURE__*/_jsx(Component,{ref:ref,...props});});}\nexport const __FramerMetadata__ = {\"exports\":{\"withHoverSound\":{\"type\":\"reactHoc\",\"name\":\"withHoverSound\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./HoverSound.map","import{jsx as _jsx}from\"react/jsx-runtime\";import{useEffect,useRef}from\"react\";import{sprinkleHover}from\"https://framerusercontent.com/modules/xH77QUpR4B2LAtXIdody/oF0D0K352e0Z0vyKicQ1/LeadLabelSprinkle.js\";// Contact rows (Email / Phone / Media Kit on Home, About and Contact, and the Home 7.SUNS rows): the row frame is the\n// link and paints the black block on hover (WhiteOverlayText). The bold title (\"Email:\", \"Media Kit\") only fades\n// black ↔ white; the text after it gets the short red / blue / hi-vis sprinkle (Jordan, 2026-10-27: \"should not\n// sprinkle … should go from black to white\", then \"sprinkle should still apply to post title\").\nconst VALUE_ATTR=\"data-row-value\";function valueOf(host){const p=host.querySelector(\"p\");if(!p)return null;const existing=p.querySelector(`[${VALUE_ATTR}]`);if(existing)return existing;// The title is the first run (a styled span, or bare text when the paragraph's own weight is the bold one, as on\n// the Media Kit rows); everything after it is the value.\nconst title=p.firstChild;if(!title)return null;const rest=[];for(let n=title.nextSibling;n;n=n.nextSibling)rest.push(n);if(!rest.some(n=>(n.textContent||\"\").trim()))return null;const span=document.createElement(\"span\");span.setAttribute(VALUE_ATTR,\"\");rest.forEach(n=>span.appendChild(n));p.appendChild(span);return span;}export function withRowSprinkle(Component){return function WithRowSprinkle(props){const hostRef=useRef(null);useEffect(()=>{const host=hostRef.current;if(!host||typeof window===\"undefined\")return;const row=host.closest(\"a\")||host.parentElement;if(!row)return;const onEnter=()=>{const value=valueOf(host);if(value)sprinkleHover(value);};row.addEventListener(\"pointerenter\",onEnter);return()=>row.removeEventListener(\"pointerenter\",onEnter);},[]);return /*#__PURE__*/_jsx(\"div\",{ref:hostRef,style:{display:\"contents\"},children:/*#__PURE__*/_jsx(Component,{...props})});};}\nexport const __FramerMetadata__ = {\"exports\":{\"withRowSprinkle\":{\"type\":\"reactHoc\",\"name\":\"withRowSprinkle\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./ContactRowSprinkle.map","import{jsx as _jsx,jsxs as _jsxs,Fragment as _Fragment}from\"react/jsx-runtime\";import{forwardRef,useId,useMemo}from\"react\";// Link rows (Email / Phone / Media Kit / Location / Calendar, and the Home 7.SUNS rows): the row's Framer hover paints\n// the block (black, or blue on some rows) and this turns the text white over it. Both now follow the browser's own\n// :hover, so they can't fall out of step (Jordan, 2026-10-27: \"sometimes the lines are being stuck on black\" — the\n// block stayed painted after the pointer left, or after a tap on the Fold, with black text on it). When the row isn't\n// hovered the block is forced clear and fades out with the text; touch screens never show the hover state\n// (2026-10-26: \"after a click the black text never re-emerges\").\nexport function WhiteOverlayText(Component){return /*#__PURE__*/forwardRef(function WhiteOverlayTextOverride(props,ref){const scopeId=useId();const scopedClassName=useMemo(()=>`white-overlay-text-scope-${scopeId.replace(/[^a-zA-Z0-9_-]/g,\"\")}`,[scopeId]);const className=props.className?`${props.className} ${scopedClassName}`:scopedClassName;return /*#__PURE__*/_jsxs(_Fragment,{children:[/*#__PURE__*/_jsx(\"style\",{children:`\n.${scopedClassName} p.framer-text {\n    /* Fade black <-> white with the 0.4s block (Jordan, 2026-10-27: \"should go from black to white and from white to black\"). */\n    transition: color 0.4s ease, -webkit-text-fill-color 0.4s ease;\n}\n@media (hover: hover) {\n    .${scopedClassName}:not(:hover) {\n        background-color: transparent !important;\n        transition: background-color 0.4s ease;\n    }\n    .${scopedClassName}:hover p.framer-text {\n        color: #ffffff !important;\n        -webkit-text-fill-color: #ffffff !important;\n    }\n}\n@media (hover: none) {\n    .${scopedClassName} {\n        background-color: transparent !important;\n    }\n}\n                `}),/*#__PURE__*/_jsx(Component,{ref:ref,...props,className:className})]});});}\nexport const __FramerMetadata__ = {\"exports\":{\"WhiteOverlayText\":{\"type\":\"reactHoc\",\"name\":\"WhiteOverlayText\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./WhiteOverlayText.map"],"mappings":"A,oOACyE,SAAgBmB,EAAe,EAAU,CAAC,MAAoB,gBAAW,SAAwB,EAAM,EAAI,CAAC,MAAoB,gBAAKC,EAAU,CAAK,MAAI,GAAGC,CAAK,CAAC,CAAE,CAAC,CAAE,C,4CCG7M,SAASE,EAAQ,EAAK,CAAC,IAAMb,EAAEc,EAAK,cAAc,GAAG,EAAE,GAAG,CAACd,EAAE,OAAO,KAAK,IAAMe,EAASf,EAAE,cAAc,IAAIgB,EAAW,EAAE,EAAE,GAAGD,EAAS,OAAOA,EAEhL,IAAME,EAAMjB,EAAE,WAAW,GAAG,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