{
  "version": 3,
  "sources": ["ssg:https://framerusercontent.com/modules/qD7tyai4tueyJzz5ghh5/gi5hXyKkIGibJBo6C79u/DelayedOverlay.js", "ssg:https://framerusercontent.com/modules/bMnLa5QCfLk9kckhMFzn/TeIRNdLu79rrDoplaA0f/HighlightText.js"],
  "sourcesContent": ["import{jsx as _jsx}from\"react/jsx-runtime\";import{useState,useEffect}from\"react\";const TIMEOUT_DURATION=2e3//in ms\n;const Z_INDEX_CONTENT=1e3;const BG_COLOR=\"rgba(0, 0, 0, 0.6)\";const SHOW_ONCE=false;const SHOW_ONCE_ID=\"default_id\";const INITIAL={opacity:0,scale:.9};const ANIMATE={opacity:1,scale:1};const TRANSITION={duration:.1,ease:\"easeOut\"};// Cookie consent check settings\nconst INITIAL_DELAY=500// Wait x ms before first check to let cookie banner render\n;const COOKIE_CHECK_INTERVAL=1e3// Check every x ms\n;const MAX_COOKIE_CHECK_TIME=6e4// Stop checking after specified seconds\n;let currentOverlay=null;let closeCallback=null;// Helper function to check if cookie consent is active\nfunction isCookieConsentActive(){// First check localStorage for Framer cookie consent\nconst cookieConsentKeys=[\"framer-cookie-consent\",\"cookieConsent\",\"cookie-consent\",\"cookies-accepted\",\"cookiesAccepted\"];// If any of these keys exist and are true, consent was already given\nfor(const key of cookieConsentKeys){const value=localStorage.getItem(key);if(value===\"true\"||value===\"1\"||value===\"accepted\"){//    console.log(\"Cookie already accepted via localStorage:\", key)\nreturn false// Consent already given, banner shouldn't be showing\n;}}// Check for visible cookie consent elements\n// Look for any fixed/sticky positioned elements that might be cookie banners\nconst allElements=document.querySelectorAll(\"*\");for(const element of allElements){if(!(element instanceof HTMLElement))continue;const style=window.getComputedStyle(element);const rect=element.getBoundingClientRect();// Check if element is visible and positioned\nif(rect.width>100&&// Minimum width for a banner\nrect.height>50&&// Minimum height for a banner\n(style.position===\"fixed\"||style.position===\"sticky\")&&style.display!==\"none\"&&style.visibility!==\"hidden\"&&parseFloat(style.opacity)>0){// Check if this element or its children contain cookie-related text\nconst text=element.textContent?.toLowerCase()||\"\";const className=element.className?.toLowerCase()||\"\";const id=element.id?.toLowerCase()||\"\";const cookieKeywords=[\"cookie\",\"consent\",\"privacy\",\"gdpr\",\"accept\",\"decline\"];const hasCookieContent=cookieKeywords.some(keyword=>text.includes(keyword)||className.includes(keyword)||id.includes(keyword));if(hasCookieContent){/*   console.log(\"Found cookie banner:\", {\n                    text: text.substring(0, 50) + \"...\",\n                    position: style.position,\n                    rect: { width: rect.width, height: rect.height },\n                }) */return true;}}}// Also check for Framer-specific cookie elements\nconst framerSelectors=['[data-framer-component-type*=\"cookie\"]','[data-framer-name*=\"cookie\"]','div[class*=\"framer-\"] div[class*=\"cookie\"]','div[id*=\"cookie\"][style*=\"position\"]'];for(const selector of framerSelectors){try{const element=document.querySelector(selector);if(element&&element instanceof HTMLElement){const rect=element.getBoundingClientRect();if(rect.width>0&&rect.height>0){//  console.log(\"Found Framer cookie element:\", selector)\nreturn true;}}}catch(e){// Continue if selector fails\n}}return false;}export function DimBackgroundTrue(){const[isVisible,setIsVisible]=useState(false);useEffect(()=>{// Check if banner was already dismissed\nif(SHOW_ONCE){const dismissed=localStorage.getItem(SHOW_ONCE_ID);if(dismissed){return;}}let showTimer=null;let checkTimer=null;let initialDelayTimer=null;let totalWaitTime=0;// Function to setup and show the toast\nconst setupAndShowToast=()=>{//  console.log(\"Setting up toast...\")\n// Create overlay immediately but make it invisible\nif(BG_COLOR!==\"rgba(0, 0, 0, 0)\"){if(currentOverlay){currentOverlay.remove();currentOverlay=null;}const overlay=document.createElement(\"div\");currentOverlay=overlay;overlay.style.position=\"fixed\";overlay.style.top=\"0\";overlay.style.left=\"0\";overlay.style.width=\"100%\";overlay.style.height=\"100%\";overlay.style.backgroundColor=BG_COLOR;overlay.style.opacity=\"0\";overlay.style.zIndex=(Z_INDEX_CONTENT-1).toString();overlay.style.pointerEvents=\"none\";overlay.style.transition=\"opacity 0.2s ease-out\";closeCallback=()=>{setIsVisible(false);if(currentOverlay){currentOverlay.style.opacity=\"0\";currentOverlay.style.pointerEvents=\"none\";setTimeout(()=>{if(currentOverlay){currentOverlay.remove();currentOverlay=null;}},200);}if(SHOW_ONCE){localStorage.setItem(SHOW_ONCE_ID,\"true\");}};overlay.addEventListener(\"click\",closeCallback);document.body.appendChild(overlay);}// Show the toast after the timeout\nshowTimer=setTimeout(()=>{// console.log(\"Showing toast!\")\nsetIsVisible(true);if(currentOverlay){currentOverlay.style.opacity=\"1\";currentOverlay.style.pointerEvents=\"all\";}},TIMEOUT_DURATION);};// Function to check cookie consent and decide\nconst checkAndDecide=()=>{totalWaitTime+=COOKIE_CHECK_INTERVAL;if(isCookieConsentActive()){// console.log(\"Cookie consent is active, waiting...\")\n// If we've waited too long, show anyway\nif(totalWaitTime>=MAX_COOKIE_CHECK_TIME){//  console.log(\"Max wait time reached, showing toast anyway\")\nif(checkTimer)clearInterval(checkTimer);setupAndShowToast();}// Otherwise keep checking\nreturn;}// Cookie consent not active, proceed with toast\n// console.log(\"Cookie consent not active, proceeding with toast\")\nif(checkTimer)clearInterval(checkTimer);setupAndShowToast();};// Wait a bit before starting to check (let cookie banner render)\ninitialDelayTimer=setTimeout(()=>{// console.log(\"Starting cookie consent checks...\")\n// Do an immediate check first\nif(isCookieConsentActive()){// Cookie banner is showing, start interval checking\ncheckTimer=setInterval(checkAndDecide,COOKIE_CHECK_INTERVAL);}else{// No cookie banner detected, proceed with toast\nsetupAndShowToast();}},INITIAL_DELAY);return()=>{if(initialDelayTimer)clearTimeout(initialDelayTimer);if(checkTimer)clearInterval(checkTimer);if(showTimer)clearTimeout(showTimer);if(currentOverlay){currentOverlay.remove();currentOverlay=null;}};},[]);return{initial:INITIAL,animate:isVisible?ANIMATE:INITIAL,transition:TRANSITION,style:{zIndex:Z_INDEX_CONTENT}};}export function CloseOverlayObject(){return{whileHover:{scale:1.1},onClick:()=>{if(closeCallback){closeCallback();}},style:{zIndex:Z_INDEX_CONTENT,cursor:\"pointer\"}};}export function DimBackgroundFalse(){const[isVisible,setIsVisible]=useState(false);useEffect(()=>{// Respect one-time dismissal\nif(SHOW_ONCE&&localStorage.getItem(`${SHOW_ONCE_ID}_noDim`))return;let showTimer=null;let checkTimer=null;let initialDelayTimer=null;let totalWaitTime=0;const setupAndShowToast=()=>{//  console.log(\"Setting up no-dim toast...\")\n// Activate the banner after the timeout\nshowTimer=setTimeout(()=>{//   console.log(\"Showing no-dim toast!\")\nsetIsVisible(true);},TIMEOUT_DURATION);// Provide a close handler\ncloseCallback=()=>{setIsVisible(false);if(SHOW_ONCE)localStorage.setItem(`${SHOW_ONCE_ID}_noDim`,\"true\");};};const checkAndDecide=()=>{totalWaitTime+=COOKIE_CHECK_INTERVAL;if(isCookieConsentActive()){//    console.log(\"Cookie consent is active, waiting... (no-dim)\")\nif(totalWaitTime>=MAX_COOKIE_CHECK_TIME){/* console.log(\n                        \"Max wait time reached, showing toast anyway (no-dim)\"\n                    ) */if(checkTimer)clearInterval(checkTimer);setupAndShowToast();}return;}/*  console.log(\n                \"Cookie consent not active, proceeding with toast (no-dim)\"\n            ) */if(checkTimer)clearInterval(checkTimer);setupAndShowToast();};// Wait a bit before starting to check (let cookie banner render)\ninitialDelayTimer=setTimeout(()=>{//   console.log(\"Starting cookie consent checks... (no-dim)\")\n// Do an immediate check first\nif(isCookieConsentActive()){// Cookie banner is showing, start interval checking\ncheckTimer=setInterval(checkAndDecide,COOKIE_CHECK_INTERVAL);}else{// No cookie banner detected, proceed with toast\nsetupAndShowToast();}},INITIAL_DELAY);return()=>{if(initialDelayTimer)clearTimeout(initialDelayTimer);if(checkTimer)clearInterval(checkTimer);if(showTimer)clearTimeout(showTimer);};},[]);return{initial:INITIAL,animate:isVisible?ANIMATE:INITIAL,transition:TRANSITION,style:{zIndex:Z_INDEX_CONTENT}};}import{useContext as __legacyOverrideHOC_useContext}from\"react\";import{DataObserverContext as __legacyOverrideHOC_DataObserverContext}from\"framer\";export function withDimBackgroundTrue(C){return props=>{__legacyOverrideHOC_useContext(__legacyOverrideHOC_DataObserverContext);return _jsx(C,{...props,...DimBackgroundTrue(props)});};}withDimBackgroundTrue.displayName=\"DimBackgroundTrue\";export function withCloseOverlayObject(C){return props=>{__legacyOverrideHOC_useContext(__legacyOverrideHOC_DataObserverContext);return _jsx(C,{...props,...CloseOverlayObject(props)});};}withCloseOverlayObject.displayName=\"CloseOverlayObject\";export function withDimBackgroundFalse(C){return props=>{__legacyOverrideHOC_useContext(__legacyOverrideHOC_DataObserverContext);return _jsx(C,{...props,...DimBackgroundFalse(props)});};}withDimBackgroundFalse.displayName=\"DimBackgroundFalse\";\nexport const __FramerMetadata__ = {\"exports\":{\"DimBackgroundTrue\":{\"type\":\"override\",\"name\":\"DimBackgroundTrue\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"DimBackgroundFalse\":{\"type\":\"override\",\"name\":\"DimBackgroundFalse\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withCloseOverlayObject\":{\"type\":\"reactHoc\",\"name\":\"withCloseOverlayObject\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"CloseOverlayObject\":{\"type\":\"override\",\"name\":\"CloseOverlayObject\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withDimBackgroundTrue\":{\"type\":\"reactHoc\",\"name\":\"withDimBackgroundTrue\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withDimBackgroundFalse\":{\"type\":\"reactHoc\",\"name\":\"withDimBackgroundFalse\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./DelayedOverlay.map", "/* highlightWords.tsx */import{jsx as _jsx}from\"react/jsx-runtime\";export function highlightWords(Component){return props=>{props.className=(props.className??\"\")+\" highlightWords\";return /*#__PURE__*/_jsx(Component,{...props});};}\nexport const __FramerMetadata__ = {\"exports\":{\"highlightWords\":{\"type\":\"reactHoc\",\"name\":\"highlightWords\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\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INDEX_CONTENT", "BG_COLOR", "SHOW_ONCE", "SHOW_ONCE_ID", "INITIAL", "ANIMATE", "TRANSITION", "INITIAL_DELAY", "COOKIE_CHECK_INTERVAL", "MAX_COOKIE_CHECK_TIME", "currentOverlay", "closeCallback", "isCookieConsentActive", "cookieConsentKeys", "key", "value", "allElements", "element", "style", "window", "rect", "text", "className", "id", "keyword", "framerSelectors", "selector", "DimBackgroundTrue", "isVisible", "setIsVisible", "ye", "ue", "showTimer", "checkTimer", "initialDelayTimer", "totalWaitTime", "setupAndShowToast", "overlay", "checkAndDecide", "CloseOverlayObject", "DimBackgroundFalse", "withDimBackgroundTrue", "C", "props", "re", "DataObserverContext", "p", "withCloseOverlayObject", "withDimBackgroundFalse", "highlightWords", "Component", "props", "p"]
}
