{"version":3,"file":"ShopReturn.kJfxirCh.mjs","names":["p","React.useState","__esmMin","init_npm_react_18_3_1","init_ssg_sandbox_shims","window","_e","p","ce","RenderTarget","init_framer_BisrWwwE","addPropertyControls","ControlType","slugify","value","readParams","q","search","cat","catParam","sub","subParam","readSpot","hasWindow","raw","SPOT_KEY","s","SPOT_MAX_AGE","writeSpot","armRestore","RESTORE_KEY","takeRestoreFlag","flag","at","nav","siteBase","siteBaseCache","hereDir","anchors","best","anchor","own","resolved","segments","base","sitePath","path","normPath","ShopMemory","props","isCanvas","alive","restoring","userMoved","timers","mountPath","here","categoryParam","subcategoryParam","save","h","restore","started","settled","locked","a","b","tick","room","y","stopOnInput","spot","pending","onScroll","onLeave","onClick","poll","t","buildTargets","shopNorm","shopPath","fromShop","catHref","categorySlug","catRestore","shopRestore","SmartBreadcrumb","p$1","categoryName","setSpot","onPop","go","e","href","linkStyle","init_ShopReturn","init_jsx_runtime"],"sources":["https:/framerusercontent.com/modules/hS5Woxx5DoamOT08EvZH/kwtrU814BKRlhrRUstNJ/ShopReturn.js"],"sourcesContent":["import{jsx as _jsx,jsxs as _jsxs}from\"react/jsx-runtime\";import*as React from\"react\";import{addPropertyControls,ControlType,RenderTarget}from\"framer\";/**\n * ShopReturn — HERB DC\n *\n * Two pieces that bring shoppers back to exactly where they were browsing.\n * New file: nothing else on the site is changed, and browser history is\n * never touched (no pushState / replaceState / history.back).\n *\n * 1. ShopMemory (invisible) — put ONE on the Shop page.\n *    It remembers the shop's current filter (category + subcategory, read\n *    from the address bar) and how far down the visitor has scrolled. When\n *    they come back via the breadcrumb or the browser's Back button, it\n *    scrolls them to the same spot once the grid has finished loading.\n *\n * 2. SmartBreadcrumb — replaces the \"SHOP › CATEGORY\" line on the product\n *    page template. Bind Category to the product's Category → Name.\n *      • CATEGORY → the shop filtered to that category. If that's the list\n *        they came from, they return to the same subcategory and scroll spot.\n *      • SHOP → all products (back at their spot if that's where they were).\n */const SPOT_KEY=\"herb:shopSpot:v1\";const RESTORE_KEY=\"herb:shopRestore:v1\";const SPOT_MAX_AGE=60*60*1e3// an hour\n;const hasWindow=()=>typeof window!==\"undefined\";export function slugify(value){return String(value==null?\"\":value).toLowerCase().normalize(\"NFKD\").replace(/[̀-ͯ]/g,\"\").replace(/[^a-z0-9]+/g,\"-\").replace(/^-+|-+$/g,\"\");}function readParams(search,catParam,subParam){try{const q=new URLSearchParams(search||\"\");const cat=(q.get(catParam)||\"\").toLowerCase();const sub=(q.get(subParam)||\"\").toLowerCase();return{category:cat===\"all\"?\"\":cat,subcategory:sub===\"all\"?\"\":sub};}catch(e){return{category:\"\",subcategory:\"\"};}}function readSpot(){if(!hasWindow())return null;try{const raw=window.sessionStorage.getItem(SPOT_KEY);if(!raw)return null;const s=JSON.parse(raw);if(!s||typeof s!==\"object\"||typeof s.path!==\"string\")return null;if(!(Date.now()-Number(s.t)<SPOT_MAX_AGE))return null;return{path:s.path,category:String(s.category||\"\"),subcategory:String(s.subcategory||\"\"),y:Math.max(0,Number(s.y)||0),t:Number(s.t)};}catch(e){return null;}}function writeSpot(s){try{window.sessionStorage.setItem(SPOT_KEY,JSON.stringify(s));}catch(e){}}function armRestore(){try{// short-lived, so a stray Back elsewhere can't trigger a later restore\nwindow.sessionStorage.setItem(RESTORE_KEY,String(Date.now()));}catch(e){}}function takeRestoreFlag(){let flag=false;try{const at=Number(window.sessionStorage.getItem(RESTORE_KEY)||0);flag=at>0&&Date.now()-at<15e3;window.sessionStorage.removeItem(RESTORE_KEY);}catch(e){}if(flag)return true;// a full-page Back / Forward also counts\ntry{const nav=performance.getEntriesByType?performance.getEntriesByType(\"navigation\")[0]:null;if(nav&&nav.type===\"back_forward\"&&Date.now()-performance.timeOrigin<5e3)return true;}catch(e){}return false;}// Framer serves the site from a sub-path while previewing; borrow one of its\n// own relative links to find where the site starts (same as the cart file).\nlet siteBaseCache=null;function siteBase(){if(typeof document===\"undefined\")return\"/\";if(siteBaseCache)return siteBaseCache;// Framer writes its links relative to the page (\"../shop\", \"./other\").\n// A link to a sibling page (another product, under /products/) says\n// nothing about where the site starts, so those are skipped, and of the\n// rest the SHORTEST start wins: the header's own Shop / FAQs links always\n// point at the top of the site. Live, that's simply \"/\".\nconst here=window.location.pathname.split(\"/\").filter(Boolean);const hereDir=here.slice(0,-1).join(\"/\");const anchors=Array.from(document.querySelectorAll('a[href^=\"./\"], a[href^=\"../\"]'));let best=null;for(const anchor of anchors){const raw=anchor.getAttribute(\"href\")||\"\";const own=raw.split(\"?\")[0].split(\"#\")[0].split(\"/\").filter(p=>p&&p!==\".\"&&p!==\"..\");if(!own.length)continue;let resolved;try{resolved=new URL(raw,window.location.href);}catch(e){continue;}const segments=resolved.pathname.split(\"/\").filter(Boolean);if(segments.length<own.length)continue;const base=segments.slice(0,segments.length-own.length);// \"./other-product\" from /products/x: same folder, not the site root\nif(hereDir&&raw.indexOf(\"./\")===0&&base.join(\"/\")===hereDir)continue;if(!best||base.length<best.length)best=base;}siteBaseCache=\"/\"+(best&&best.length?best.join(\"/\")+\"/\":\"\");return siteBaseCache;}function sitePath(path){const value=String(path||\"/shop\").trim();if(/^([a-z]+:|#|\\.{1,2}\\/)/i.test(value))return value;return siteBase()+value.replace(/^\\/+/,\"\");}function normPath(p){return(String(p||\"\").split(\"?\")[0].replace(/\\/+$/,\"\")||\"/\").toLowerCase();}// ---------------------------------------------------------------------------\n// ShopMemory\n// ---------------------------------------------------------------------------\n/**\n * @framerSupportedLayoutWidth fixed\n * @framerSupportedLayoutHeight fixed\n * @framerIntrinsicWidth 1\n * @framerIntrinsicHeight 1\n */export function ShopMemory(props){const{categoryParam=\"category\",subcategoryParam=\"subcategory\"}=props;const isCanvas=RenderTarget.current()===RenderTarget.canvas;React.useEffect(()=>{if(isCanvas||!hasWindow())return;let alive=true;let restoring=false;let userMoved=false;const timers=[];const mountPath=normPath(window.location.pathname);const here=()=>{const p=readParams(window.location.search,categoryParam,subcategoryParam);return{path:normPath(window.location.pathname),...p};};const save=()=>{if(!alive||restoring)return;try{const h=here();// never record another page's position as the shop's\nif(h.path!==mountPath)return;writeSpot({...h,y:Math.round(window.scrollY||0),t:Date.now()});}catch(e){}};// ---- restore ----\nconst restore=y=>{restoring=true;const started=Date.now();let settled=0;const locked=()=>{const a=getComputedStyle(document.documentElement).overflow;const b=document.body?getComputedStyle(document.body).overflow:\"\";return a===\"hidden\"||b===\"hidden\";};const tick=()=>{if(!alive)return;if(userMoved||Date.now()-started>6e3){restoring=false;return;}const room=document.documentElement.scrollHeight-window.innerHeight;if(!locked()&&room>=y-2){if(Math.abs((window.scrollY||0)-y)>4){window.scrollTo(0,y);settled=0;}else{settled+=1;}// stay a moment in case images or the filter shift things\nif(settled>=4){restoring=false;return;}}timers.push(window.setTimeout(tick,120));};tick();};const stopOnInput=()=>{if(restoring)userMoved=true;};window.addEventListener(\"wheel\",stopOnInput,{passive:true});window.addEventListener(\"touchstart\",stopOnInput,{passive:true});window.addEventListener(\"keydown\",stopOnInput);try{const spot=readSpot();const h=here();if(takeRestoreFlag()&&spot&&spot.y>0&&spot.path===h.path&&spot.category===h.category&&spot.subcategory===h.subcategory){restore(spot.y);}}catch(e){restoring=false;}// ---- remember ----\nlet pending=0;const onScroll=()=>{if(pending)return;pending=window.setTimeout(()=>{pending=0;save();},150);};const onLeave=()=>save();// a product click: save right before the page changes\nconst onClick=e=>{const a=e.target&&e.target.closest?e.target.closest(\"a\"):null;if(a)save();};window.addEventListener(\"scroll\",onScroll,{passive:true});window.addEventListener(\"pagehide\",onLeave);document.addEventListener(\"visibilitychange\",onLeave);document.addEventListener(\"click\",onClick,true);// the pills change the address bar without an event we can hear\nconst poll=window.setInterval(()=>{if(!restoring)save();},1e3);return()=>{alive=false;timers.forEach(t=>window.clearTimeout(t));window.clearTimeout(pending);window.clearInterval(poll);window.removeEventListener(\"wheel\",stopOnInput);window.removeEventListener(\"touchstart\",stopOnInput);window.removeEventListener(\"keydown\",stopOnInput);window.removeEventListener(\"scroll\",onScroll);window.removeEventListener(\"pagehide\",onLeave);document.removeEventListener(\"visibilitychange\",onLeave);document.removeEventListener(\"click\",onClick,true);};},[isCanvas,categoryParam,subcategoryParam]);return /*#__PURE__*/_jsx(\"span\",{\"aria-hidden\":\"true\",style:{...props.style||{},display:\"block\",width:1,height:1,opacity:0,pointerEvents:\"none\"}});}ShopMemory.defaultProps={categoryParam:\"category\",subcategoryParam:\"subcategory\"};addPropertyControls(ShopMemory,{categoryParam:{type:ControlType.String,title:\"Category Param\"},subcategoryParam:{type:ControlType.String,title:\"Subcategory Param\"}});// ---------------------------------------------------------------------------\n// SmartBreadcrumb\n// ---------------------------------------------------------------------------\nexport function buildTargets(shopPath,catParam,subParam,categorySlug,spot){const shopNorm=normPath(shopPath);const fromShop=!!spot&&(spot.path===shopNorm||spot.path.endsWith(shopNorm));let catHref=shopPath+(categorySlug?\"?\"+catParam+\"=\"+encodeURIComponent(categorySlug):\"\");let catRestore=false;if(fromShop&&categorySlug&&spot.category===categorySlug){catRestore=true;if(spot.subcategory)catHref+=\"&\"+subParam+\"=\"+encodeURIComponent(spot.subcategory);}const shopRestore=fromShop&&!spot.category&&!spot.subcategory;return{shopHref:shopPath,catHref,shopRestore,catRestore};}/**\n * @framerSupportedLayoutWidth auto\n * @framerSupportedLayoutHeight auto\n * @framerIntrinsicWidth 220\n * @framerIntrinsicHeight 44\n */export function SmartBreadcrumb(props){const p={...SmartBreadcrumb.defaultProps,...props};const isCanvas=RenderTarget.current()===RenderTarget.canvas;const categoryName=String(p.category==null?\"\":p.category).trim();const categorySlug=slugify(p.categorySlug||categoryName);const[spot,setSpot]=React.useState(null);React.useEffect(()=>{if(isCanvas||!hasWindow())return;setSpot(readSpot());// the browser's Back button from here should also land on the spot\nconst onPop=()=>armRestore();window.addEventListener(\"popstate\",onPop);return()=>window.removeEventListener(\"popstate\",onPop);},[isCanvas]);const shopBase=isCanvas||!hasWindow()?p.shopPath:sitePath(p.shopPath);const t=buildTargets(shopBase,p.categoryParam,p.subcategoryParam,categorySlug,spot);const go=(href,restore)=>e=>{if(isCanvas)return;if(e.defaultPrevented||e.metaKey||e.ctrlKey||e.shiftKey||e.button!==0)return;e.preventDefault();e.stopPropagation();if(restore)armRestore();// a full load, like the category cards: Framer's own router drops the ?…\n    window.location.href=href;};const cls=\"hsb\";const linkStyle=color=>({color,textDecoration:\"none\",display:\"inline-flex\",alignItems:\"center\",minHeight:44,cursor:\"pointer\"});return /*#__PURE__*/_jsxs(\"nav\",{\"aria-label\":\"Breadcrumb\",style:{...props.style||{},display:\"flex\",alignItems:\"center\",gap:p.gap,fontFamily:p.font,fontSize:p.fontSize,fontWeight:p.fontWeight,letterSpacing:p.letterSpacing+\"em\",textTransform:p.uppercase?\"uppercase\":\"none\",whiteSpace:\"nowrap\"},children:[/*#__PURE__*/_jsx(\"style\",{children:`\n                .${cls} { transition: color 0.2s ease; text-underline-offset: 4px; }\n                @media (hover: hover) { .${cls}:hover { color: ${p.hoverAccent} !important; text-decoration: underline !important; } }\n                .${cls}:focus-visible { outline: 2px solid ${p.hoverAccent}; outline-offset: 2px; }\n            `}),/*#__PURE__*/_jsx(\"a\",{className:cls,href:t.shopHref,onClick:go(t.shopHref,t.shopRestore),style:linkStyle(p.linkColor),children:p.shopLabel}),/*#__PURE__*/_jsx(\"span\",{\"aria-hidden\":\"true\",style:{color:p.dividerColor},children:p.separator}),/*#__PURE__*/_jsx(\"a\",{className:cls,href:t.catHref,\"aria-current\":\"page\",onClick:go(t.catHref,t.catRestore),style:linkStyle(p.currentColor),children:categoryName||(isCanvas?\"Category\":\"\")})]});}SmartBreadcrumb.defaultProps={category:\"\",categorySlug:\"\",shopLabel:\"Shop\",shopPath:\"/shop\",categoryParam:\"category\",subcategoryParam:\"subcategory\",separator:\"›\",font:\"Switzer, Inter, sans-serif\",fontSize:13,fontWeight:500,letterSpacing:.16,uppercase:true,gap:12,// dark ink for the light (#F3F0EA) product page; coral hover like the kickers.\n// (New names on purpose: colors saved under the old names no longer apply.)\nlinkColor:\"#121110\",currentColor:\"rgba(18,17,16,0.72)\",dividerColor:\"rgba(18,17,16,0.45)\",hoverAccent:\"#FF5C33\"};addPropertyControls(SmartBreadcrumb,{category:{type:ControlType.String,title:\"Category\",description:\"Bind the product's Category → Name.\"},categorySlug:{type:ControlType.String,title:\"Category Slug\",description:\"Optional. Bind Category → Slug if a link ever goes to the wrong list.\"},shopLabel:{type:ControlType.String,title:\"Shop Label\"},shopPath:{type:ControlType.String,title:\"Shop Path\"},separator:{type:ControlType.String,title:\"Separator\"},font:{type:ControlType.String,title:\"Font\"},fontSize:{type:ControlType.Number,title:\"Size\",min:9,max:24,step:1},fontWeight:{type:ControlType.Number,title:\"Weight\",min:100,max:900,step:100},letterSpacing:{type:ControlType.Number,title:\"Letter (em)\",min:0,max:.4,step:.01},uppercase:{type:ControlType.Boolean,title:\"Uppercase\"},gap:{type:ControlType.Number,title:\"Gap\",min:0,max:32,step:1},linkColor:{type:ControlType.Color,title:\"Shop Color\"},currentColor:{type:ControlType.Color,title:\"Category Color\"},dividerColor:{type:ControlType.Color,title:\"Separator\"},hoverAccent:{type:ControlType.Color,title:\"Hover\"},categoryParam:{type:ControlType.String,title:\"Category Param\"},subcategoryParam:{type:ControlType.String,title:\"Subcategory Param\"}});\nexport const __FramerMetadata__ = {\"exports\":{\"buildTargets\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"ShopMemory\":{\"type\":\"reactComponent\",\"name\":\"ShopMemory\",\"slots\":[],\"annotations\":{\"framerContractVersion\":\"1\",\"framerSupportedLayoutWidth\":\"fixed\",\"framerIntrinsicHeight\":\"1\",\"framerIntrinsicWidth\":\"1\",\"framerSupportedLayoutHeight\":\"fixed\"}},\"slugify\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"SmartBreadcrumb\":{\"type\":\"reactComponent\",\"name\":\"SmartBreadcrumb\",\"slots\":[],\"annotations\":{\"framerIntrinsicHeight\":\"44\",\"framerContractVersion\":\"1\",\"framerSupportedLayoutWidth\":\"auto\",\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