{"version":3,"file":"siteMetadata.BYAwCeGi.mjs","names":[],"sources":["https:/framerusercontent.com/modules/o8B6obOzdeK8wGXe8uVy/RRkXzxX0k7i59tp8eYsj/siteMetadata.js"],"sourcesContent":["// Generated by Framer (53c1d35)\nexport default function metadata(params,activeLocale){return{customHTMLBodyEnd:'\\n<noscript><img height=\"1\" width=\"1\" style=\"display:none\" src=\"https://www.facebook.com/tr?id=1293630615725329&amp;ev=PageView&amp;noscript=1\"></noscript>\\n<!-- End Meta\\xa0Pixel\\xa0Code\\xa0-->\\n\\n\\n<style>\\n  /* Hide any fixed badge that links to Frameship/Stripe promo */\\n  .framer-okagad,\\n  .framer-1rb48ds,\\n  a[href*=\"frameship.io\"] ,\\n  a[href*=\"buy.stripe.com\"] {\\n    display: none !important;\\n  }\\n\\n  /* Fallback: hide the nearest fixed container if it contains those links */\\n  [style*=\"position: fixed\"] :is(a[href*=\"frameship.io\"], a[href*=\"buy.stripe.com\"]) {\\n    display: none !important;\\n  }\\n</style>',customHTMLHeadEnd:\"<script>\\n(function () {\\n  // ------- ROUTING & PAGE GUARDS (Framer SPA-safe) -------\\n  const isHomePath = () => location.pathname === '/' || location.pathname === '';\\n  const hasHomeHero = () => document.querySelector('section[data-framer-name=\\\"Hero\\\"]');\\n  const isHome = () => isHomePath() && !!hasHomeHero();\\n\\n  (function patchHistory(){\\n    if (window.__routePatched) return; window.__routePatched = true;\\n    const wrap = (fn, name) => function () {\\n      const ret = fn.apply(this, arguments);\\n      window.dispatchEvent(new Event('locationchange'));\\n      return ret;\\n    };\\n    history.pushState = wrap(history.pushState, 'pushState');\\n    history.replaceState = wrap(history.replaceState, 'replaceState');\\n    window.addEventListener('popstate', () => window.dispatchEvent(new Event('locationchange')));\\n  })();\\n\\n  let teardown = null;\\n\\n  function initIfHome() {\\n    if (!isHome()) { if (teardown) teardown(); silenceAllVideos(); return; }\\n    if (document.__homeVideoInit) return;\\n    const v = findHeroVideo();\\n    if (!v) {\\n      const mo = new MutationObserver(() => {\\n        const vv = findHeroVideo();\\n        if (vv) { mo.disconnect(); setup(vv); }\\n      });\\n      mo.observe(document.documentElement, { childList: true, subtree: true });\\n      return;\\n    }\\n    setup(v);\\n  }\\n\\n  function findHeroVideo() {\\n    return (\\n      document.querySelector('section[data-framer-name=\\\"Hero\\\"] video') ||\\n      document.querySelector('.framer-1j3e5ou section[data-framer-name=\\\"Hero\\\"] video') ||\\n      null\\n    );\\n  }\\n\\n  function silenceAllVideos() {\\n    document.querySelectorAll('video').forEach(v => {\\n      try { v.pause(); } catch {}\\n      v.muted = true;\\n      v.setAttribute('muted','');\\n      try { v.volume = 0; } catch {}\\n    });\\n  }\\n\\n  // ------- MAIN SETUP (homepage only) -------\\n  function setup(v) {\\n    document.__homeVideoInit = true;\\n\\n    // === NEW: volume cap helpers ===\\n    const MAX_VOL = 0.1;                     // 30%\\n    const MIN_AUDIBLE = 0.01;                // tiny non-zero to satisfy some autoplay policies\\n    const clamp = (x, lo=0, hi=1) => Math.max(lo, Math.min(hi, x));\\n    const setVol = (val) => {                // safe setter that never exceeds MAX_VOL\\n      try { v.volume = clamp(val, 0, MAX_VOL); } catch {}\\n    };\\n    const enforceCap = () => {               // if anything else tries to raise it, cap it back\\n      try { if (v.volume > MAX_VOL) v.volume = MAX_VOL; } catch {}\\n    };\\n\\n    // Mobile-safe autoplay\\n    v.setAttribute('playsinline','');\\n    v.setAttribute('webkit-playsinline','');\\n    v.setAttribute('autoplay','');\\n    v.setAttribute('preload','auto');\\n    v.loop = true;\\n    v.muted = true;\\n    setVol(0); // start at 0 (muted)\\n\\n    const tryPlay = () => v.play().catch(()=>{});\\n    const kick = () => { tryPlay(); setTimeout(tryPlay,150); setTimeout(tryPlay,500); };\\n    if (document.readyState === 'complete' || document.readyState === 'interactive') requestAnimationFrame(kick);\\n    else document.addEventListener('DOMContentLoaded', kick, { once:true });\\n    v.addEventListener('canplay', tryPlay, { once:true });\\n\\n    // --- Pill (mute/unmute) ---\\n    const pill = document.createElement('button');\\n    pill.textContent = 'Unmute';\\n    Object.assign(pill.style, {\\n      position:'fixed', left:'12px', bottom:'12px', zIndex: 2147483647,\\n      padding:'10px 14px', borderRadius:'999px', border:'none',\\n      fontSize:'13px', lineHeight:'1', background:'rgba(255,255,255,0.95)', color:'#121212',\\n      boxShadow:'0 6px 18px rgba(0,0,0,0.2)', cursor:'pointer',\\n      WebkitTapHighlightColor:'transparent', display:'none',\\n      pointerEvents:'auto', userSelect:'none'\\n    });\\n    pill.setAttribute('aria-live','polite');\\n    pill.setAttribute('aria-label','Toggle audio');\\n    document.body.appendChild(pill);\\n\\n    const pillContainer = document.createElement('div');\\n    pillContainer.style.position = 'fixed';\\n    pillContainer.style.left = '0'; pillContainer.style.right = '0';\\n    pillContainer.style.bottom = '0'; pillContainer.style.top = '0';\\n    pillContainer.style.pointerEvents = 'none';\\n    pillContainer.style.zIndex = 2147483646;\\n    pillContainer.appendChild(pill);\\n    document.body.appendChild(pillContainer);\\n    pill.style.pointerEvents = 'auto';\\n\\n    // === UPDATED: fade respects cap ===\\n    const fade = (to, ms, done) => {\\n      const target = clamp(to, 0, MAX_VOL);\\n      const from = (function(){ try { return v.volume || 0; } catch { return 0; } })();\\n      const d = target - from;\\n      const t0 = performance.now();\\n      const step = (now) => {\\n        const t = Math.min(1, (now - t0) / ms);\\n        setVol(from + d * t);\\n        if (t < 1) requestAnimationFrame(step); else done && done();\\n      };\\n      requestAnimationFrame(step);\\n    };\\n\\n    // === UPDATED: unmute “kicker” keeps volume under cap ===\\n    function forceUnmuteRepeating(durationMs = 1500, stepMs = 120) {\\n      const t0 = performance.now();\\n      (function kick(now){\\n        v.muted = false; v.removeAttribute('muted');\\n        setVol(Math.max(MIN_AUDIBLE, v.volume)); // ensure audible but capped\\n        tryPlay();\\n        if (now - t0 < durationMs) setTimeout(()=>requestAnimationFrame(kick), stepMs);\\n      })(performance.now());\\n    }\\n\\n    // First real gesture → unmute (no scroll)\\n    let audioOn = false;\\n    function activateAudio() {\\n      if (audioOn) return;\\n      audioOn = true;\\n      try {\\n        const AC = window.AudioContext || window.webkitAudioContext;\\n        if (AC) (new AC()).resume();\\n      } catch {}\\n      forceUnmuteRepeating();\\n      fade(MAX_VOL, 250);           // was 1 → now capped\\n      tryPlay();\\n      if (window.matchMedia('(max-width: 768px)').matches) {\\n        pill.style.display = 'inline-block';\\n        pill.textContent = 'Mute';\\n      }\\n      window.removeEventListener('pointerdown', activateAudio);\\n      v.removeEventListener('pointerdown', activateAudio);\\n      window.removeEventListener('keydown', activateAudio);\\n    }\\n    window.addEventListener('pointerdown', activateAudio, { once:true, passive:true });\\n    v.addEventListener('pointerdown', activateAudio, { once:true, passive:true });\\n    window.addEventListener('keydown', activateAudio, { once:true });\\n\\n    // Pill toggle logic — respects cap\\n    function setMutedState(m) {\\n      if (m) {\\n        fade(0, 120, () => { v.muted = true; v.setAttribute('muted',''); setVol(0); });\\n        pill.textContent = 'Unmute';\\n      } else {\\n        v.muted = false; v.removeAttribute('muted');\\n        forceUnmuteRepeating();\\n        fade(MAX_VOL, 200);\\n        pill.textContent = 'Mute';\\n      }\\n      tryPlay();\\n    }\\n    pill.addEventListener('click', (e) => {\\n      e.preventDefault(); e.stopPropagation();\\n      const currentlyMuted = v.muted || (v.volume === 0);\\n      setMutedState(!currentlyMuted);\\n    });\\n\\n    // === NEW: guard against any external volume bumps ===\\n    const onVolChange = () => enforceCap();\\n    v.addEventListener('volumechange', onVolChange);\\n\\n    // Pause/resume in viewport\\n    const io = new IntersectionObserver(([e]) => {\\n      if (!e) return;\\n      if (e.intersectionRatio < 0.2) { try { v.pause(); } catch {} }\\n      else { tryPlay(); }\\n    }, { threshold:[0,0.2,0.5,1], rootMargin:'-10% 0px -40% 0px' });\\n    io.observe(v);\\n\\n    const onHide = () => { if (document.visibilityState !== 'visible') { try { v.pause(); } catch {} } };\\n    document.addEventListener('visibilitychange', onHide);\\n\\n    // -------- TEARDOWN when leaving home ----------\\n    teardown = function () {\\n      document.__homeVideoInit = false;\\n      try { io.disconnect(); } catch {}\\n      document.removeEventListener('visibilitychange', onHide);\\n      try { v.pause(); } catch {}\\n      v.muted = true; v.setAttribute('muted','');\\n      try { v.removeEventListener('volumechange', onVolChange); } catch {}\\n      try { v.volume = 0; } catch {}\\n      try { pillContainer.remove(); } catch {}\\n    };\\n  }\\n\\n  // Initial run + react to SPA route changes\\n  if (document.readyState === 'loading') {\\n    document.addEventListener('DOMContentLoaded', initIfHome, { once:true });\\n  } else {\\n    initIfHome();\\n  }\\n  window.addEventListener('locationchange', initIfHome);\\n})();\\n</script>\\n\",description:\"13.31 A Circle blends India’s heritage crafts with modern womenswear. Inspired by blue pottery and cane weaving, each piece carries tradition into today’s style—timeless, contemporary, and rooted in the full circle of craftsmanship.\",favicon:\"https://framerusercontent.com/assets/iheo2TXNMyrRWZBsydG3ruEGVjM.png\",robots:\"max-image-preview:large\",socialImage:\"https://framerusercontent.com/assets/xHVCDX8mTrBgJ27AyY5ZFotqy8.jpg\",title:\"13.31 A Circle\"};}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;;;;;;;;;;;;;;;;;;UAAmnB,kBAAkB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAAsrQ,YAAY,2OAA2O,QAAQ,uEAAuE,OAAO,0BAA0B,YAAY,sEAAsE,MAAM,iBAAiB,AAAE"}