{"version":3,"file":"shared-lib.DYSfCmwX.mjs","names":[],"sources":["https:/framerusercontent.com/modules/oV4DY2YGNb5C7NEUkfOP/1uruXqGM5WOzN8TkzgaM/siteMetadata.js"],"sourcesContent":["// Generated by Framer (0dc35dd)\nexport default function metadata(params,activeLocale){return{customHTMLHeadEnd:'<script>\\n    // Configuration\\n    const PASSWORD = \"verysure\"\\n    const STORAGE_KEY = \"password-verified\";\\n\\n    // Pages that don\\'t require password (glob patterns supported)\\n    const WHITELIST = [\\n        \"/\",\\n    ];\\n\\n    const STORAGE_DURATION = 5 * 24 * 60 * 60 * 1000; // 5 days in milliseconds\\n    const REDIRECT_URL = \"https://www.supersure.com/\";\\n\\n    // Simple glob pattern matcher\\n    function matchesPattern(path, pattern) {\\n    const regexPattern = pattern.replace(/\\\\*/g, \".*\").replace(/\\\\?/g, \".\");\\n    const regex = new RegExp(\"^\" + regexPattern + \"$\");\\n    return regex.test(path);\\n    }\\n\\n    // Check if current page is exempt\\n    function isWhitelistedPage() {\\n    return WHITELIST.some((pattern) => matchesPattern(window.location.pathname, pattern));\\n    }\\n\\n    // Get stored verification status\\n    function getStoredVerification() {\\n    try {\\n        const stored = localStorage.getItem(STORAGE_KEY);\\n        if (!stored) return null;\\n\\n        const data = JSON.parse(stored);\\n        const now = Date.now();\\n\\n        // Check if verification has expired\\n        if (now > data.expires) {\\n        localStorage.removeItem(STORAGE_KEY);\\n        return null;\\n        }\\n\\n        return data;\\n    } catch (error) {\\n        localStorage.removeItem(STORAGE_KEY);\\n        return null;\\n    }\\n    }\\n\\n    // Store verification status\\n    function storeVerification() {\\n    const data = {\\n        verified: true,\\n        expires: Date.now() + STORAGE_DURATION,\\n    };\\n    localStorage.setItem(STORAGE_KEY, JSON.stringify(data));\\n    }\\n\\n    // Prompt for password\\n    function promptForPassword() {\\n    const password = prompt(\"Please enter the password to access this site:\");\\n\\n    if (password === null) {\\n        // User clicked Cancel\\n        window.location.href = REDIRECT_URL;\\n        return false;\\n    }\\n\\n    if (password !== PASSWORD) {\\n        alert(\"Wrong. Please try again.\");\\n        return promptForPassword();\\n    }\\n\\n    // You can add actual password validation here\\n    // For now, any non-empty password is accepted\\n    storeVerification();\\n    return true;\\n    }\\n\\n    // Main execution\\n    function checkAccess() {\\n    // Skip check for exempt pages\\n    if (isWhitelistedPage()) {\\n        return;\\n    }\\n\\n    // Check if already verified\\n    const verification = getStoredVerification();\\n\\n    if (verification && verification.verified) {\\n        return;\\n    }\\n\\n    // Prompt for password\\n    promptForPassword();\\n    }\\n\\n    checkAccess();\\n</script>',description:\"Supersure simplifies insurance for small businesses through smart tech and real agents. Get  better coverage, less hassle, and more confidence.\",favicon:\"https://framerusercontent.com/assets/ZMms6GthyFreeVysHE5QjN47nfU.png\",robots:\"max-image-preview:large\",title:\"Supersure | Business Insurance That Works for Small Business\"};}export const metadataVersion=1;\nexport const __FramerMetadata__ = {\"exports\":{\"metadataVersion\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"default\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}"],"mappings":"2DACA,SAAwB,EAAS,EAAO,EAAa,CAAC,MAAM,CAAC,kBAAkB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;YAA8gF,YAAY,kJAAkJ,QAAQ,uEAAuE,OAAO,0BAA0B,MAAM,+DAA+D"}