{"version":3,"file":"siteMetadata.BInGbNc4.mjs","names":[],"sources":["https:/framerusercontent.com/modules/pCDeqjmnCcv5V16Qto3K/eqs2zRrfNAkYAJ42UCQB/siteMetadata.js"],"sourcesContent":["// Generated by Framer (e0ec254)\nexport default function metadata(params,activeLocale){return{customHTMLBodyEnd:\"<!-- Media Chrome Module -->\\n<script type=\\\"module\\\" src=\\\"https://cdn.jsdelivr.net/npm/media-chrome@4/+esm\\\"></script>\\n\\n<!-- Media Controller Styling -->\\n<style>\\n  ::selection {\\n    color: #5C5C5C;\\n    background-color: #DEDEDE;\\n  }\\n  \\n  /* Hide custom elements that are not yet defined */\\n  :not(:defined) {\\n    display: none;\\n  }\\n\\n  /* Style for media-controller without audio attribute */\\n  media-controller:not([audio]) {\\n    display: block;\\n    /* aspect-ratio: 1 / 1; */\\n    background-color: #ffffff;\\n    --media-secondary-color: #5c5c5ccc;\\n    --media-range-track-height: 6px;\\n    --media-range-track-border-radius: 9999px;\\n    --media-range-thumb-opacity: 0;\\n  }\\n\\n  /* Style for media control bar */\\n  media-control-bar {\\n    height: 48px;\\n    max-width: 400px;\\n    margin: 0 auto 20px auto;\\n    border-radius: 48px;\\n    overflow: auto;\\n  }\\n\\n  /* Make video elements responsive */\\n  video {\\n    width: 100%;\\n  }\\n\\n  /* Hide unavailable media control buttons */\\n  media-volume-range[mediavolumeunavailable],\\n  media-airplay-button[mediaairplayunavailable],\\n  media-fullscreen-button[mediafullscreenunavailable],\\n  media-cast-button[mediacastunavailable],\\n  media-pip-button[mediapipunavailable] {\\n    display: none;\\n  }\\n\\n  /* Transition effects for media ranges */\\n  :is(media-time-range, media-volume-range)::part(appearance) {\\n    transition: all 0.15s ease-out;\\n  }\\n\\n  /* Enlarged appearance when dragging media ranges */\\n  :is(media-time-range, media-volume-range)[dragging]::part(appearance) {\\n    height: calc(var(--media-range-track-height) + 4px);\\n    width: calc(100% + 6px);\\n    transform: translate(-3px, 0);\\n  }\\n\\n  /* Transition for volume range when not dragging */\\n  media-volume-range:not([dragging]) {\\n    --media-range-track-transition: width 0.15s ease-out;\\n  }\\n\\n  /* Transition for time range when active */\\n  media-time-range:not([dragging]):active {\\n    --media-range-track-transition: width 0.15s ease-out;\\n  }\\n\\n  /* Play button width */\\n  media-play-button {\\n    width: 48px;\\n  }\\n\\n  /* Play icon styling */\\n  .play-icon {\\n    margin-inline: 3px;\\n    width: 0;\\n    height: 16px;\\n    border-style: double;\\n    border-width: 0 0 0 16px;\\n    border-color: transparent transparent transparent currentColor;\\n    transition: all 0.15s ease-out;\\n  }\\n\\n  /* Change play icon to pause icon when paused */\\n  media-play-button[mediapaused] .play-icon {\\n    border-style: solid;\\n    border-width: 9px 0 9px 16px;\\n    margin-left: 6px;\\n  }\\n\\n    media-mute-button #icon-muted,\\n  media-mute-button #icon-volume {\\n    display: none;\\n  }\\n\\n  media-mute-button[mediavolumelevel=\\\"off\\\"] #icon-muted {\\n    display: block;\\n  }\\n\\n  media-mute-button:not([mediavolumelevel=\\\"off\\\"]) #icon-volume {\\n    display: block;\\n  }\\n\\n  :is(.volume-low, .volume-medium, .volume-high) {\\n    opacity: 1;\\n    transition: opacity .5s;\\n  }\\n\\n  media-mute-button[mediavolumelevel=\\\"off\\\"] :is(.volume-low, .volume-medium, .volume-high),\\n  media-mute-button[mediavolumelevel=\\\"low\\\"] :is(.volume-medium, .volume-high),\\n  media-mute-button[mediavolumelevel=\\\"medium\\\"] :is(.volume-high) {\\n    opacity: .2;\\n  }\\n\\n  #icon-muted-slash {\\n    transition: clip-path .15s ease-out;\\n    clip-path: inset(0 0 100% 0);\\n  }\\n\\n  media-mute-button[mediavolumelevel=\\\"off\\\"] #icon-muted-slash {\\n    clip-path: inset(0);\\n  }\\n\\n  @keyframes bass-bounce {\\n    0%   { opacity: 0; translate: 0; }\\n    50%  { opacity: 1; translate: 1px; }\\n    100% { opacity: 1; translate: 0; }\\n  }\\n\\n  media-mute-button:not([mediavolumelevel=\\\"off\\\"]) .volume-low {\\n    animation: .35s bass-bounce cubic-bezier(.34, 1.56, .64, 1);\\n  }\\n\\n  media-mute-button:is([mediavolumelevel=\\\"medium\\\"], [mediavolumelevel=\\\"high\\\"]) .volume-medium {\\n    animation: .35s .04s bass-bounce cubic-bezier(.34, 1.56, .64, 1);\\n  }\\n\\n  media-mute-button[mediavolumelevel=\\\"high\\\"] .volume-high {\\n    animation: .35s .08s bass-bounce cubic-bezier(.34, 1.56, .64, 1);\\n  }\\n\\n  /* Fullscreen button path transition */\\n  media-fullscreen-button path {\\n    transition: transform 0.15s cubic-bezier(0.175, 0.885, 0.32, 1.275);\\n  }\\n\\n  /* Transformations when in fullscreen */\\n  media-fullscreen-button[mediaisfullscreen] .top-left {\\n    transform: translate(54%, 54%);\\n  }\\n\\n  media-fullscreen-button[mediaisfullscreen] .top-right {\\n    transform: translate(-54%, 54%);\\n  }\\n\\n  media-fullscreen-button[mediaisfullscreen] .bottom-right {\\n    transform: translate(-54%, -54%);\\n  }\\n\\n  media-fullscreen-button[mediaisfullscreen] .bottom-left {\\n    transform: translate(54%, -54%);\\n  }\\n\\n  /* Define a custom property for fullscreen icon offset */\\n  @property --fs-icon-offset {\\n    syntax: '<percentage>';\\n    initial-value: 0%;\\n    inherits: false;\\n  }\\n\\n  /* Keyframes for fullscreen icon bounce animation */\\n  @keyframes offset-bounce {\\n    0% {\\n      --fs-icon-offset: 0%;\\n    }\\n    50% {\\n      --fs-icon-offset: 5%;\\n    }\\n    100% {\\n      --fs-icon-offset: 0%;\\n    }\\n  }\\n\\n  /* Apply bounce animation on hover */\\n  media-fullscreen-button:hover path {\\n    animation: 0.35s offset-bounce cubic-bezier(0.34, 1.56, 0.64, 1);\\n  }\\n\\n  /* Apply transformations based on the custom property during hover */\\n  media-fullscreen-button:hover .top-left {\\n    translate: calc(-1 * var(--fs-icon-offset)) calc(-1 * var(--fs-icon-offset));\\n  }\\n\\n  media-fullscreen-button:hover .top-right {\\n    translate: var(--fs-icon-offset) calc(-1 * var(--fs-icon-offset));\\n  }\\n\\n  media-fullscreen-button:hover .bottom-right {\\n    translate: var(--fs-icon-offset) var(--fs-icon-offset);\\n  }\\n\\n  media-fullscreen-button:hover .bottom-left {\\n    translate: calc(-1 * var(--fs-icon-offset)) var(--fs-icon-offset);\\n  }\\n\\n  /* Hide fullscreen button and time range when media hasn't played */\\n  media-controller:not([mediahasplayed]) media-fullscreen-button,\\n  media-controller:not([mediahasplayed]) media-time-range,\\n  media-controller:not([mediahasplayed]) media-mute-button,\\n  media-controller:not([mediahasplayed]) media-playback-rate-button {\\n    display: none;\\n  }\\n</style>\\n\\n\\n\\n<script>\\n;(function() {\\n  const AUTH_KEY = '_60fps_auth_token';\\n\\n  function hideCarbonAd() {\\n    if (!localStorage.getItem(AUTH_KEY)) return;\\n\\n    // Look for any iframe whose srcdoc includes carbonads\\n    document.querySelectorAll('iframe[srcdoc]').forEach(iframe => {\\n      const srcdoc = iframe.getAttribute('srcdoc') || '';\\n      if (srcdoc.includes('carbonads.com')) {\\n        const container = iframe.parentElement;\\n        if (container) {\\n          container.style.display = 'none';\\n        }\\n      }\\n    });\\n  }\\n\\n  // Run once on DOM ready\\n  if (document.readyState === 'loading') {\\n    document.addEventListener('DOMContentLoaded', hideCarbonAd);\\n  } else {\\n    hideCarbonAd();\\n  }\\n\\n  // Observe for any new nodes (in case the ad iframe is injected later)\\n  const observer = new MutationObserver(() => {\\n    hideCarbonAd();\\n  });\\n  observer.observe(document.body, { childList: true, subtree: true });\\n})();\\n</script>\\n\\n\\n\\n<script>\\n;(function () {\\n  const AUTH_KEY = '_60fps_auth_token'; // same local marker you already use\\n\\n  function isPro() {\\n    try { return !!localStorage.getItem(AUTH_KEY); } catch(e){ return false; }\\n  }\\n\\n  function showElement(el) {\\n    if (!el) return;\\n    try {\\n      el.removeAttribute('data-framer-visible');\\n      el.style.setProperty('display', 'block', 'important');\\n      el.style.setProperty('visibility', 'visible', 'important');\\n      el.style.setProperty('opacity', '1', 'important');\\n      el.style.setProperty('pointer-events', 'auto', 'important');\\n    } catch(e) {}\\n  }\\n\\n  function hideElement(el) {\\n    if (!el) return;\\n    try {\\n      el.setAttribute('data-framer-visible','false');\\n      el.style.setProperty('display', 'none', 'important');\\n      el.style.setProperty('visibility', 'hidden', 'important');\\n      el.style.setProperty('opacity', '0', 'important');\\n      el.style.setProperty('pointer-events', 'none', 'important');\\n    } catch(e) {}\\n  }\\n\\n  function toggleOnce() {\\n    // selectors\\n    const free = document.querySelector('[data-framer-name=\\\"S_Free\\\"]');\\n    const pro  = document.querySelector('[data-framer-name=\\\"S_Pro\\\"]');\\n    const lpro = document.querySelector('[data-framer-name=\\\"L_PRO\\\"]'); // Lottie badge\\n\\n    // nothing to do if none present\\n    if (!free && !pro && !lpro) return;\\n\\n    if (isPro()) {\\n      // PRO user -> hide free, show pro & L_PRO\\n      if (free) hideElement(free);\\n      if (pro)  showElement(pro);\\n      if (lpro) showElement(lpro);\\n      // done\\n      return;\\n    }\\n\\n    // free user -> ensure free visible, pro & L_PRO hidden\\n    if (free) showElement(free);\\n    if (pro)  hideElement(pro);\\n    if (lpro) hideElement(lpro);\\n  }\\n\\n  // Run once now / on DOM ready\\n  if (document.readyState === 'loading') {\\n    document.addEventListener('DOMContentLoaded', toggleOnce);\\n  } else {\\n    toggleOnce();\\n  }\\n\\n  // Re-apply on DOM changes (Framer re-renders)\\n  try {\\n    const mo = new MutationObserver(() => {\\n      // small debounce\\n      clearTimeout(window.__sb_simple_toggle_timer);\\n      window.__sb_simple_toggle_timer = setTimeout(toggleOnce, 40);\\n    });\\n    mo.observe(document.body, { childList: true, subtree: true });\\n  } catch (e) {\\n    // ignore\\n  }\\n\\n  // Manual API for auth flows\\n  window._60fpsStoryboardsSimple = {\\n    refresh: toggleOnce,\\n    isPro: isPro\\n  };\\n})();\\n</script>\\n\",customHTMLBodyStart:'<!-- Google Tag Manager (noscript) -->\\n<noscript><iframe src=\"https://www.googletagmanager.com/ns.html?id=GTM-WCH2V4S2\" height=\"0\" width=\"0\" style=\"display:none;visibility:hidden\"></iframe></noscript>\\n<!-- End Google Tag Manager (noscript) -->',customHTMLHeadEnd:\"<script>\\n  window.addEventListener('pageshow', function() {\\n    // use your exposed helper on window._60fpsProtection\\n    if (\\n      window._60fpsProtection.isProtected(window.location.pathname) &&\\n      !window._60fpsProtection.isAuth()\\n    ) {\\n      // replace so “Back” cannot return here\\n      window.location.replace('/pro');\\n    }\\n  });\\n</script>\",customHTMLHeadStart:\"<!-- Google Tag Manager -->\\n<script>\\n  (function(w, d, s, l, i) {\\n    w[l] = w[l] || [];\\n    w[l].push({\\n      'gtm.start': new Date().getTime(),\\n      event: 'gtm.js'\\n    });\\n    var f = d.getElementsByTagName(s)[0],\\n      j = d.createElement(s),\\n      dl = l !== 'dataLayer' ? '&l=' + l : '';\\n    j.async = true;\\n    j.src = 'https://www.googletagmanager.com/gtm.js?id=' + i + dl;\\n    f.parentNode.insertBefore(j, f);\\n  })(window, document, 'script', 'dataLayer', 'GTM-WCH2V4S2');\\n</script>\\n<!-- End Google Tag Manager -->\\n\\n\\n<!-- prevent caching of protected pages -->\\n<meta http-equiv=\\\"Cache-Control\\\" content=\\\"no-store, max-age=0, must-revalidate\\\">\\n<meta http-equiv=\\\"Pragma\\\" content=\\\"no-cache\\\">\\n<meta http-equiv=\\\"Expires\\\" content=\\\"0\\\">\\n\\n\\n<script>\\n  (function () {\\n    const AUTH_KEY = '_60fps_auth_token';\\n    const RETURN_PATH_KEY = '_60fps_return_path';\\n    const AUTH_PENDING_KEY = '_60fps_auth_pending';\\n    const PRO_PAGE = '/pro';\\n    const HOME_PAGE = '/';\\n\\n    // Clear redirect attempt flag if present\\n    if (sessionStorage.getItem('_60fps_redirect_attempted')) {\\n      localStorage.removeItem(RETURN_PATH_KEY);\\n      sessionStorage.removeItem('_60fps_redirect_attempted');\\n      localStorage.removeItem(AUTH_PENDING_KEY);\\n    }\\n\\n    function isAuthenticated() {\\n      try {\\n        const PENDING_TIMEOUT_MS = 10000; // 10 seconds\\n\\n        // Check for pending authentication first\\n        const pendingAuth = localStorage.getItem(AUTH_PENDING_KEY);\\n        if (pendingAuth) {\\n          const pendingTimestamp = parseInt(pendingAuth, 10);\\n          if (Date.now() - pendingTimestamp < PENDING_TIMEOUT_MS) {\\n            return true;\\n          } else {\\n            localStorage.removeItem(AUTH_PENDING_KEY);\\n          }\\n        }\\n\\n        return !!localStorage.getItem(AUTH_KEY);\\n      } catch (e) {\\n        return false;\\n      }\\n    }\\n\\n    function isProtectedPath(path) {\\n      if (!path) return false;\\n\\n      // Allow exact /shots/filter, block anything deeper\\n      if (path === '/shots/filter') return false;\\n      if (path.startsWith('/shots/filter/')) return true;\\n\\n      // Allow exact /apps/category, block anything deeper\\n      if (path === '/apps/category') return false;\\n      if (path.startsWith('/apps/category/')) return true;\\n\\n      return false;\\n    }\\n\\n    function getRedirectDestination() {\\n      try {\\n        const storedPathData = localStorage.getItem(RETURN_PATH_KEY);\\n        if (storedPathData) {\\n          try {\\n            const pathInfo = JSON.parse(storedPathData);\\n            if (pathInfo.path && pathInfo.path !== PRO_PAGE) {\\n              return pathInfo.path;\\n            }\\n          } catch (e) {\\n            if (\\n              typeof storedPathData === 'string' &&\\n              storedPathData.startsWith('/') &&\\n              storedPathData !== PRO_PAGE\\n            ) {\\n              return storedPathData;\\n            }\\n          }\\n        }\\n\\n        if (document.referrer) {\\n          try {\\n            const referrerUrl = new URL(document.referrer);\\n            if (referrerUrl.hostname === window.location.hostname) {\\n              const referrerPath = referrerUrl.pathname;\\n              if (referrerPath && referrerPath !== PRO_PAGE) {\\n                return referrerPath;\\n              }\\n            }\\n          } catch (e) {\\n            // Ignore referrer errors\\n          }\\n        }\\n\\n        return HOME_PAGE;\\n      } catch (e) {\\n        return HOME_PAGE;\\n      }\\n    }\\n\\n    function storeReturnPath(path) {\\n      try {\\n        if (path === PRO_PAGE || path.startsWith(PRO_PAGE + '?')) {\\n          return;\\n        }\\n\\n        const pathData = JSON.stringify({\\n          path: path,\\n          timestamp: Date.now(),\\n        });\\n\\n        localStorage.setItem(RETURN_PATH_KEY, pathData);\\n      } catch (e) {\\n        // Ignore storage errors\\n      }\\n    }\\n\\n    function redirectAuthenticatedFromPro() {\\n      const destination = getRedirectDestination();\\n      window.location.replace(destination);\\n    }\\n\\n    function redirectToPro(path) {\\n      storeReturnPath(path);\\n\\n      if (window.location.pathname === PRO_PAGE) {\\n        return;\\n      }\\n\\n      window.location.replace(PRO_PAGE);\\n    }\\n\\n    function handleProtectedContent() {\\n      const currentPath = window.location.pathname;\\n\\n      if (currentPath === PRO_PAGE && isAuthenticated()) {\\n        redirectAuthenticatedFromPro();\\n        return true;\\n      }\\n\\n      if (isProtectedPath(currentPath) && !isAuthenticated()) {\\n        storeReturnPath(currentPath);\\n\\n        setTimeout(function () {\\n          redirectToPro(currentPath);\\n        }, 10);\\n\\n        return true;\\n      }\\n\\n      return false;\\n    }\\n\\n    // Handle URL changes\\n    let lastPath = window.location.pathname;\\n\\n    const originalPushState = history.pushState;\\n    const originalReplaceState = history.replaceState;\\n\\n    history.pushState = function () {\\n      originalPushState.apply(this, arguments);\\n      checkUrlChange();\\n    };\\n\\n    history.replaceState = function () {\\n      originalReplaceState.apply(this, arguments);\\n      checkUrlChange();\\n    };\\n\\n    window.addEventListener('popstate', function () {\\n      checkUrlChange();\\n    });\\n\\n    function checkUrlChange() {\\n      const currentPath = window.location.pathname;\\n\\n      if (currentPath !== lastPath) {\\n        lastPath = currentPath;\\n\\n        if (currentPath === PRO_PAGE && isAuthenticated()) {\\n          redirectAuthenticatedFromPro();\\n          return;\\n        }\\n\\n        if (isProtectedPath(currentPath)) {\\n          if (!isAuthenticated()) {\\n            redirectToPro(currentPath);\\n          }\\n        }\\n\\n        handleProtectedContent();\\n        // Only check backend for protected pages\\n        if (isProtectedPath(currentPath)) {\\n          setTimeout(checkAuthWithBackend, 0);\\n        }\\n      }\\n    }\\n\\n    // Handle link clicks\\n    document.addEventListener(\\n      'click',\\n      function (e) {\\n        let target = e.target;\\n        while (target && target.tagName !== 'A') {\\n          target = target.parentElement;\\n        }\\n\\n        if (!target || !target.href) return;\\n\\n        if (target.hostname !== window.location.hostname) return;\\n\\n        const linkPath = new URL(target.href).pathname;\\n\\n        if (linkPath === PRO_PAGE && isAuthenticated()) {\\n          e.preventDefault();\\n          e.stopPropagation();\\n          redirectAuthenticatedFromPro();\\n          return false;\\n        }\\n\\n        if (isProtectedPath(linkPath) && !isAuthenticated()) {\\n          e.preventDefault();\\n          e.stopPropagation();\\n          redirectToPro(linkPath);\\n          return false;\\n        }\\n      },\\n      true\\n    );\\n\\n    // Add backend session check for session cap enforcement\\n    async function checkAuthWithBackend() {\\n      try {\\n        let fetchOptions = { credentials: 'include' };\\n        // If on Framer, send JWT from localStorage\\n        if (window.location.hostname.endsWith('framer.app')) {\\n          const jwt = localStorage.getItem('_60fps_jwt');\\n          if (jwt) {\\n            fetchOptions = {\\n              headers: { 'Authorization': 'Bearer ' + jwt }\\n            };\\n          }\\n        }\\n        const res = await fetch('https://pro.60fps.design/verify-auth', fetchOptions);\\n        console.log('verify-auth status:', res.status);\\n        const data = await res.json();\\n        console.log('verify-auth response:', data);\\n        if (!data.authenticated) throw new Error('Not authenticated');\\n        // Optionally update UI with user info\\n        return true;\\n      } catch (e) {\\n        console.log('Auth check failed:', e);\\n        // Clear local auth state and redirect to login\\n        localStorage.removeItem('_60fps_auth_token');\\n        localStorage.removeItem('_60fps_auth_pending');\\n        localStorage.removeItem('_60fps_return_path');\\n        localStorage.removeItem('_60fps_jwt');\\n        window.location.href = '/pro';\\n        return false;\\n      }\\n    }\\n\\n    // Call backend check on page load and navigation, but only for protected pages\\n    (function initialCheck() {\\n      const currentPath = window.location.pathname;\\n      if (currentPath === PRO_PAGE && isAuthenticated()) {\\n        redirectAuthenticatedFromPro();\\n        return;\\n      }\\n      if (isProtectedPath(currentPath) && !isAuthenticated()) {\\n        redirectToPro(currentPath);\\n      }\\n      // Only check backend for protected pages\\n      if (isProtectedPath(currentPath)) {\\n        setTimeout(checkAuthWithBackend, 0);\\n      }\\n    })();\\n\\n    // Menu management\\n    function getCookie(name) {\\n      const value = `; ${document.cookie}`;\\n      const parts = value.split(`; ${name}=`);\\n      if (parts.length === 2) return parts.pop().split(';').shift();\\n      return '';\\n    }\\n\\n    function findMenuElements() {\\n      let proButton = null;\\n      let logoutButton = null;\\n\\n      // Try by ID first\\n      proButton = document.getElementById('menu-pro-button');\\n      logoutButton = document.getElementById('menu-logout-button');\\n\\n      // Try by class selectors\\n      if (!proButton) {\\n        proButton = document.querySelector(\\\".framer-1kt89ox[id='menu-pro-button']\\\");\\n      }\\n\\n      if (!logoutButton) {\\n        logoutButton = document.querySelector(\\\".framer-o296g7[id='menu-logout-button']\\\");\\n      }\\n\\n      // Fallback to class selectors\\n      if (!proButton) {\\n        proButton = document.querySelector('.framer-1kt89ox');\\n      }\\n\\n      if (!logoutButton) {\\n        logoutButton = document.querySelector('.framer-o296g7');\\n      }\\n\\n      // Search by text content\\n      if (!proButton) {\\n        document\\n          .querySelectorAll('[data-framer-component-type=\\\"RichTextContainer\\\"]')\\n          .forEach((el) => {\\n            if (el.innerText.includes('Get 60fps PRO')) {\\n              proButton = el;\\n            }\\n          });\\n      }\\n\\n      if (!logoutButton) {\\n        document\\n          .querySelectorAll('[data-framer-component-type=\\\"RichTextContainer\\\"]')\\n          .forEach((el) => {\\n            if (el.innerText.includes('Logout')) {\\n              logoutButton = el;\\n            }\\n          });\\n      }\\n\\n      return { proButton, logoutButton };\\n    }\\n\\n    function updateMenuVisibility() {\\n      const isAuth = isAuthenticated();\\n      const { proButton, logoutButton } = findMenuElements();\\n\\n      if (proButton) {\\n        proButton.style.display = isAuth ? 'none' : 'flex';\\n        proButton.style.visibility = isAuth ? 'hidden' : 'visible';\\n\\n        if (isAuth) {\\n          proButton.classList.add('auth-hidden');\\n        } else {\\n          proButton.classList.remove('auth-hidden');\\n        }\\n      }\\n\\n      if (logoutButton) {\\n        logoutButton.style.display = isAuth ? 'flex' : 'none';\\n        logoutButton.style.visibility = isAuth ? 'visible' : 'hidden';\\n\\n        if (isAuth) {\\n          logoutButton.classList.remove('auth-hidden');\\n        } else {\\n          logoutButton.classList.add('auth-hidden');\\n        }\\n\\n        logoutButton.style.cursor = 'pointer';\\n        logoutButton.style.pointerEvents = 'auto';\\n\\n        // Add logout handler if not already attached\\n        if (isAuth && !logoutButton.hasAttribute('data-logout-handler-attached')) {\\n          const logoutHandler = function (e) {\\n            e.preventDefault();\\n            e.stopPropagation();\\n            handleLogout();\\n            return false;\\n          };\\n\\n          logoutButton.onclick = logoutHandler;\\n          logoutButton.addEventListener('click', logoutHandler, true);\\n\\n          // Handle inner elements\\n          const innerP = logoutButton.querySelector('p');\\n          if (innerP) {\\n            innerP.style.cursor = 'pointer';\\n            innerP.style.pointerEvents = 'auto';\\n            innerP.onclick = logoutHandler;\\n          }\\n\\n          const innerA = logoutButton.querySelector('a');\\n          if (innerA) {\\n            innerA.style.cursor = 'pointer';\\n            innerA.style.pointerEvents = 'auto';\\n            innerA.onclick = logoutHandler;\\n          }\\n\\n          logoutButton.setAttribute('data-logout-handler-attached', 'true');\\n        }\\n      }\\n    }\\n\\n    async function handleLogout() {\\n      try {\\n        const csrfToken = getCookie('csrf_token');\\n\\n        await fetch('https://pro.60fps.design/logout', {\\n          method: 'POST',\\n          headers: {\\n            'Content-Type': 'application/json',\\n            'X-CSRF-Token': csrfToken || '',\\n          },\\n          credentials: 'include',\\n        });\\n      } catch (error) {\\n        // Continue with local logout even if server request fails\\n      }\\n\\n      // Clear local auth state\\n      localStorage.removeItem(AUTH_KEY);\\n      localStorage.removeItem(AUTH_PENDING_KEY);\\n      localStorage.removeItem(RETURN_PATH_KEY);\\n\\n      // Update UI and redirect\\n      updateMenuVisibility();\\n      window.location.href = '/';\\n    }\\n\\n    // Setup menu observer\\n    function setupMenuObserver() {\\n      const observer = new MutationObserver(function (mutations) {\\n        let shouldUpdate = false;\\n\\n        mutations.forEach(function (mutation) {\\n          if (mutation.type === 'childList' && mutation.addedNodes.length) {\\n            mutation.addedNodes.forEach((node) => {\\n              if (\\n                node.nodeType === 1 &&\\n                (node.id === 'overlay' ||\\n                  node.id === 'menu-pro-button' ||\\n                  node.id === 'menu-logout-button' ||\\n                  node.querySelector('#menu-pro-button') ||\\n                  node.querySelector('#menu-logout-button'))\\n              ) {\\n                shouldUpdate = true;\\n              }\\n            });\\n          }\\n        });\\n\\n        if (shouldUpdate) {\\n          setTimeout(updateMenuVisibility, 50);\\n        }\\n      });\\n\\n      observer.observe(document.body, { childList: true, subtree: true });\\n    }\\n\\n    // Initialize menu system\\n    function initMenuController() {\\n      setupMenuObserver();\\n      updateMenuVisibility();\\n    }\\n\\n    // Initialize when DOM is ready\\n    if (document.readyState === 'loading') {\\n      document.addEventListener('DOMContentLoaded', function () {\\n        handleProtectedContent();\\n        initMenuController();\\n      });\\n    } else {\\n      handleProtectedContent();\\n      initMenuController();\\n    }\\n\\n    // Also initialize on load for dynamic content\\n    window.addEventListener('load', initMenuController);\\n\\n    // Periodic menu updates for dynamic content\\n    setInterval(updateMenuVisibility, 2000);\\n\\n    // Expose API for external use\\n    window._60fpsProtection = {\\n      check: function () {\\n        const currentPath = window.location.pathname;\\n        if (isProtectedPath(currentPath) && !isAuthenticated()) {\\n          redirectToPro(currentPath);\\n          return false;\\n        }\\n        return true;\\n      },\\n      isProtected: function (path) {\\n        return isProtectedPath(path || window.location.pathname);\\n      },\\n      isAuth: isAuthenticated,\\n      redirect: redirectToPro,\\n      setAuthPending: function () {\\n        localStorage.setItem(AUTH_PENDING_KEY, Date.now().toString());\\n      },\\n      clearAuthPending: function () {\\n        localStorage.removeItem(AUTH_PENDING_KEY);\\n      },\\n    };\\n  })();\\n</script>\\n\\n\\n\\n<!-- Storyboards -->\\n<script>\\n(function () {\\n  const FREE_SEL = '[data-framer-name=\\\"S_Free\\\"]';\\n  const PRO_SEL  = '[data-framer-name=\\\"S_Pro\\\"]';\\n  const AUTH_KEY = '_60fps_auth_token';\\n  const JWT_KEY  = '_60fps_jwt';\\n  const VERIFY_URL = 'https://pro.60fps.design/verify-auth';\\n  const LOG = (...a)=>{ try{ console.debug('%c[SB]','background:#222;color:#7ff; padding:2px 6px;', ...a);}catch(e){} };\\n\\n  function forceShow(el){\\n    if(!el) return;\\n    el.removeAttribute('data-framer-visible');\\n    el.style.setProperty('display','block','important');\\n    el.style.setProperty('visibility','visible','important');\\n    el.style.setProperty('opacity','1','important');\\n    el.style.setProperty('pointer-events','auto','important');\\n  }\\n  function forceHide(el){\\n    if(!el) return;\\n    el.setAttribute('data-framer-visible','false');\\n    el.style.setProperty('display','none','important');\\n    el.style.setProperty('visibility','hidden','important');\\n    el.style.setProperty('opacity','0','important');\\n    el.style.setProperty('pointer-events','none','important');\\n  }\\n\\n  function localFallback(){ return !!(localStorage.getItem(AUTH_KEY) || localStorage.getItem(JWT_KEY)); }\\n\\n  async function isProUser(){\\n    // try cookie-based verify first\\n    try {\\n      const res = await fetch(VERIFY_URL, { credentials: 'include' });\\n      LOG('verify-auth (cookie) status', res.status);\\n      if (res.ok) {\\n        const data = await res.json();\\n        LOG('verify-auth (cookie) body', data);\\n        return !!(data && (data.authenticated || data.is_pro || (data.plan && /pro|premium|paid/i.test(String(data.plan)))));\\n      }\\n    } catch (e) {\\n      LOG('verify-auth (cookie) error', e && e.message ? e.message : e);\\n    }\\n\\n    // fallback to JWT header if present (useful on framer domains)\\n    try {\\n      const jwt = localStorage.getItem(JWT_KEY);\\n      if (jwt) {\\n        const res2 = await fetch(VERIFY_URL, { method: 'GET', headers: { 'Authorization': 'Bearer ' + jwt }, credentials: 'include' });\\n        LOG('verify-auth (jwt) status', res2.status);\\n        if (res2.ok) {\\n          const data2 = await res2.json();\\n          LOG('verify-auth (jwt) body', data2);\\n          return !!(data2 && (data2.authenticated || data2.is_pro || (data2.plan && /pro|premium|paid/i.test(String(data2.plan)))));\\n        }\\n      }\\n    } catch (e) {\\n      LOG('verify-auth (jwt) error', e && e.message ? e.message : e);\\n    }\\n\\n    // final local fallback (not fully authoritative)\\n    if (localFallback()) {\\n      LOG('Using local fallback token (non-authoritative)');\\n      return true;\\n    }\\n\\n    LOG('User not pro (cookie/jwt/local fallback failed)');\\n    return false;\\n  }\\n\\n  async function updateStoryboards(){\\n    const freeEl = document.querySelector(FREE_SEL);\\n    const proEl  = document.querySelector(PRO_SEL);\\n    LOG('lookup', { free: !!freeEl, pro: !!proEl });\\n\\n    if (!freeEl && !proEl) {\\n      LOG('No S_Free or S_Pro present yet');\\n      return;\\n    }\\n\\n    // default to free to avoid accidental leaks\\n    forceShow(freeEl);\\n    forceHide(proEl);\\n\\n    const pro = await isProUser();\\n    if (pro) {\\n      LOG('Switching to PRO view');\\n      forceHide(freeEl);\\n      forceShow(proEl);\\n    } else {\\n      LOG('Keeping FREE view');\\n      forceShow(freeEl);\\n      forceHide(proEl);\\n    }\\n  }\\n\\n  // safe observer init that waits for body\\n  function initObserver(){\\n    if (!document.body) { setTimeout(initObserver, 80); return; }\\n    try {\\n      const mo = new MutationObserver(() => { updateStoryboards(); });\\n      mo.observe(document.body, { childList: true, subtree: true });\\n      LOG('MutationObserver started');\\n    } catch (e) {\\n      LOG('Observer init error', e && e.message ? e.message : e);\\n    }\\n  }\\n\\n  // expose API immediately so console calls won't fail\\n  window._60fpsStoryboards = window._60fpsStoryboards || {};\\n  window._60fpsStoryboards.refresh = updateStoryboards;\\n  window._60fpsStoryboards.diagnose = ()=>({\\n    auth_token: localStorage.getItem(AUTH_KEY),\\n    jwt: localStorage.getItem(JWT_KEY),\\n    cookies: document.cookie\\n  });\\n\\n  // initial run & arm observer\\n  if (document.readyState === 'loading') {\\n    document.addEventListener('DOMContentLoaded', ()=>{ updateStoryboards(); initObserver(); });\\n  } else {\\n    updateStoryboards();\\n    initObserver();\\n  }\\n\\n})();\\n</script>\\n\\n\\n\\n\\n\\n\\n\\n<!-- Microsoft Clarity Tracking Script -->\\n<script type=\\\"text/javascript\\\">\\n  (function(c, l, a, r, i, t, y) {\\n    c[a] = c[a] || function() {\\n      (c[a].q = c[a].q || []).push(arguments)\\n    };\\n    t = l.createElement(r);\\n    t.async = 1;\\n    t.src = \\\"https://www.clarity.ms/tag/\\\" + i;\\n    y = l.getElementsByTagName(r)[0];\\n    y.parentNode.insertBefore(t, y);\\n  })(window, document, \\\"clarity\\\", \\\"script\\\", \\\"piu3fo0xo7\\\");\\n</script>\",description:\"60fps is a curated collection of UI/UX animation and interaction design details from the world’s best iOS, android and web apps.\",favicon:\"https://framerusercontent.com/assets/MH0qBokQNWpSkheyfyMq1iiHdM.png\",robots:\"max-image-preview:large\",socialImage:\"https://framerusercontent.com/assets/mB8WqomRNWMwPrMEL90Vtl8JGrE.png\",title:\"60fps - UI/UX animation inspiration for mobile & web apps\"};}export const metadataVersion=1;\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"metadataVersion\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}"],"mappings":"2DACA,SAAwB,EAAS,EAAO,EAAa,CAAC,MAAM,CAAC,kBAAkB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAAs3S,oBAAoB;;4CAAwP,kBAAkB;;;;;;;;;;;YAA8W,oBAAoB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;YAA48nB,YAAY,mIAAmI,QAAQ,sEAAsE,OAAO,0BAA0B,YAAY,uEAAuE,MAAM,4DAA4D"}