{"version":3,"file":"ReishiCollection.Cm35vz-R.mjs","names":["useState","useId","useRef","_Fragment","__esmMin","init_ssg_sandbox_shims","init_npm_react_18_3_1","window","ie","navigator","_e","de","c","init_jsx_runtime","ce","addPropertyControls","RenderTarget","init_framer_DKtAEkcX","ControlType","init_ProductCardSimple","init_ProductCard","addCatalogueVariantToBag","ProductCard","init_ProductQuickView","QuickViewPackshot","RITUAL_QUICK_VIEW_PACKSHOTS","ProductQuickView","reishiConnection","prepareReishiFilm","video","override","connection","MOBILE_FILM","ADAPTIVE_FILM","FILM","isReishiCreatorVisit","tags","code","useReishiCreatorOffer","creatorOffer","setCreatorOffer","canvas","sync","observer","NorthEastArrow","RailArrow","direction","CollectionProductCard","handle","desktop","DESKTOP_CARD_WIDTH","MOBILE_CARD_WIDTH","MOBILE_CARD_HEIGHT","useReishiProducts","products","setProducts","FALLBACK","loaded","setLoaded","controller","SHOP_DOMAIN","STOREFRONT_TOKEN","QUERY","r","nodes","data","HomeReishiRitual","ReishiRitual","headingId","trigger","hotspot","setHotspot","bathImage","image","RITUAL_IMAGE","quickProducts","RITUAL_TAGS","product","item","tag","variants","preferredVariant","RITUAL_DESCRIPTIONS","cutouts","cutout","variantId","src","width","photo","variant","selected","event","restoreFocus","shopifyImageWidth","reishiSrcSet","ReishiArchiveWall","wallRef","stageRef","sceneRef","wall","stage","scene","page","rail","firstCardElement","title","intro","reducedMotion","visualViewport","canPinPrints","frame","smooth","value","update","animated","stageBox","sceneBox","railBox","runway","pinLine","desktopIntroTransition","DESKTOP_RITUAL_INTRO_TRANSITION","frameHeight","RITUAL_SCROLL_LENGTH","elapsed","RITUAL_SCROLL","spread","printSweep","firstStart","paragraph","secondStart","firstCard","firstCardHold","pairHoldEnd","secondCard","secondCardHold","giftStart","introduction","titleCenter","titleShift","cardTravel","first","second","giftElapsed","giftCard","gift","introExitElapsed","introExit","introCollapse","introRoom","railStyles","gap","positions","cardWidth","pitch","entry","singleWidth","pairWidth","pairScale","pairOffset","scale","pairHeight","rowGap","railTop","giftTravel","progress","x","y","prefix","RITUAL_CARD_NAMES","index","visible","titleRevealProgress","uncovered","schedule","property","name","REISHI_WALL_PRINTS","BarrierRitual","RITUAL_PRODUCTS","RitualGift","pending","adding","setAdding","status","setStatus","mist","serum","step","currency","total","currencyPrice","amount","duoPrice","holidayPrice","promoActive","REISHI_HOLIDAY_MULTIPLIER","holidayApplied","publicOffer","REISHI_PROMO_END","REISHI_HOLIDAY_CODE","applied","l","ReishiOffer","HOLIDAY_BENEFITS","icon","hasTerms","CollectionReviews","section","nearViewport","setNearViewport","region","win","doc","script","widget","selectProductReviews","tab","ReishiFilm","poster","wantsPlay","attemptTimer","playing","setPlaying","hasFrame","setHasFrame","starting","setStarting","offerDirectLink","setOfferDirectLink","configuredFilm","film","customFilm","ORIGINAL_FILM","resumeAt","clearAttempt","recover","source","el","startPlayback","watchPlayback","error","media","inWeChat","canObserve","inView","posterPainted","cancelled","resume","pause","syncMotion","visibility","togglePlay","FILM_POSTER","position","ReishiCollection","root","row","setDesktop","breakpoint","setPromoActive","timeout","reishiProducts","curatedHandles","CURATED_ADDITIONS","props","CHAPTERS","chapter","FILES","init_ReishiCollection","phase"],"sources":["https:/framerusercontent.com/modules/Z9y3haGl0vmlmcRUY9bL/QPQZtAnoxBUp1xcYBY1g/ReishiCollection.js"],"sourcesContent":["import{jsx as _jsx,jsxs as _jsxs,Fragment as _Fragment}from\"react/jsx-runtime\";import ProductQuickView,{QuickViewPackshot,RITUAL_QUICK_VIEW_PACKSHOTS}from\"https://framerusercontent.com/modules/ACcaiLUUMu9htjd44sA2/Xp1s5ewU18RcDaP5in7z/ProductQuickView.js\";import{addPropertyControls,ControlType,RenderTarget}from\"framer\";import{useEffect,useId,useRef,useState}from\"react\";import ProductCard from\"https://framerusercontent.com/modules/Srr5PZrOYWadvRY9aHeB/W2kJnUc1mnHAkcaworGo/ProductCard.js\";import{addCatalogueVariantToBag}from\"https://framerusercontent.com/modules/uMiTT32O31B8LyQnqvLb/huVy7x11h8hm7unUfvQk/ProductCardSimple.js\";const SHOP_DOMAIN=\"herbeast-3.myshopify.com\";const STOREFRONT_TOKEN=\"8cae774c656a7d4f6f6464cd909ab8b7\";const ORIGINAL_FILM=\"https://cdn.shopify.com/videos/c/o/v/c830bf678520412489ad23dab5f72f04.mov\";const FILM=\"https://cdn.shopify.com/videos/c/vp/c830bf678520412489ad23dab5f72f04/c830bf678520412489ad23dab5f72f04.HD-720p-4.5Mbps-102378619.mp4\";const MOBILE_FILM=\"https://cdn.shopify.com/videos/c/vp/c830bf678520412489ad23dab5f72f04/c830bf678520412489ad23dab5f72f04.SD-480p-1.5Mbps-102378619.mp4\";const FILM_POSTER=\"https://framerusercontent.com/images/EtD1XLbzbsIQiPQOYCjlFeGEyQ.png\";const ADAPTIVE_FILM=\"https://cdn.shopify.com/videos/c/vp/c830bf678520412489ad23dab5f72f04/c830bf678520412489ad23dab5f72f04.m3u8\";function reishiConnection(){return navigator.connection;}function prepareReishiFilm(video,override){if(video.getAttribute(\"src\"))return;video.setAttribute(\"webkit-playsinline\",\"\");if(override){video.src=override;return;}const connection=reishiConnection();const limited=connection?.saveData||window.matchMedia(\"(max-width: 809px)\").matches||/^(slow-2g|2g|3g)$/.test(connection?.effectiveType||\"\")||typeof connection?.downlink===\"number\"&&connection.downlink<3.5;if(limited){video.src=MOBILE_FILM;}else{video.src=video.canPlayType(\"application/vnd.apple.mpegurl\")?ADAPTIVE_FILM:FILM;}}const FILES=\"https://cdn.shopify.com/s/files/1/0648/3234/0039/files/\";const REISHI_PROMO_END=Date.parse(\"2026-12-03T08:00:00Z\");const REISHI_HOLIDAY_CODE=\"HOLIDAY\";const REISHI_HOLIDAY_MULTIPLIER=.85;function isReishiCreatorVisit(){if(document.documentElement.dataset.hbCreatorOffer===\"true\")return true;const tags=new URLSearchParams(window.location.search);const code=tags.get(\"utm_content\")||\"\";if(tags.get(\"utm_source\")===\"creator\"&&tags.get(\"utm_medium\")===\"affiliate\"&&tags.get(\"utm_campaign\")===\"creator_program\"&&/^(?:HB-[A-Z0-9]{1,12}-[A-Z0-9]{12}|[A-Z0-9]{1,12}15(?:-[0-9]{1,4})?)$/.test(code))return true;try{return window.sessionStorage.getItem(\"herbeast:creator-offer-referral\")===\"1\";}catch{return false;}}function useReishiCreatorOffer(canvas){const[creatorOffer,setCreatorOffer]=useState(canvas?false:null);useEffect(()=>{if(canvas)return;const sync=()=>setCreatorOffer(isReishiCreatorVisit());const observer=new MutationObserver(sync);observer.observe(document.documentElement,{attributes:true,attributeFilter:[\"data-hb-creator-offer\"]});sync();return()=>observer.disconnect();},[canvas]);return creatorOffer;}const QUERY='query ReishiCollection($handle: String!) {\\n  collection(handle: $handle) {\\n    title\\n    products(first: 100) {\\n      nodes {\\n        id handle title availableForSale\\n        featuredImage { url altText }\\n        priceRange { minVariantPrice { amount currencyCode } }\\n        variants(first: 8) { nodes { id title availableForSale image { url altText } price { amount currencyCode } } }\\n        comingSoon: metafield(namespace: \"custom\", key: \"coming_soon\") { value }\\n      }\\n    }\\n  }\\n}\\n';const CURATED_ADDITIONS=[\"pu-er-rose-amino-acid-face-wash\",\"reishi-rose-dew-handcream\",\"pine-wind-herbal-handcream\",\"golden-souffle-aromatic-handcream\"];const FALLBACK=[{handle:\"reishi-lotion\",title:\"Reishi Repair Mist Essence\",featuredImage:{url:\"https://cdn.shopify.com/s/files/1/0648/3234/0039/files/B3323CE1-63CA-43E6-A1D1-09785C017B26.png?v=1783708028\"}},{handle:\"reishi-repair-oil-serum\",title:\"Reishi Repair Oil Serum\",featuredImage:{url:\"https://cdn.shopify.com/s/files/1/0648/3234/0039/files/21_efa1c8e2-541e-4021-995c-830007c318fe.jpg?v=1776686245\"}},{handle:\"reishi-multi-repair-micro-oil\",title:\"Reishi Repair Micro-Oil\",featuredImage:{url:\"https://cdn.shopify.com/s/files/1/0648/3234/0039/files/20240416_Herbeast2701copy4.jpg?v=1779254231\"}},{handle:\"reishi-multi-repair-stick\",title:\"Reishi Repair Stick\",featuredImage:{url:\"https://cdn.shopify.com/s/files/1/0648/3234/0039/files/15BDEF83-1F23-4A04-853F-E8F30D16A25A.png?v=1783020129\"}},{handle:\"reishi-face-cream\",title:\"Reishi Repair Peptide Cream\",featuredImage:{url:\"https://cdn.shopify.com/s/files/1/0648/3234/0039/files/4a0a6b45a817d2c09924fbcfdf0885211.jpg?v=1776688421\"}},{handle:\"reishi-multi-repair-emulsion\",title:\"Reishi Repair Emulsion\",featuredImage:{url:\"https://cdn.shopify.com/s/files/1/0648/3234/0039/files/CF7187F3-E5C5-4FA3-ABAB-73B4EA5A7554.png?v=1783707933\"}},{handle:\"reishi-repair-soothing-mask-cream\",title:\"Reishi Repair Soothing Mask Cream\",featuredImage:{url:\"https://cdn.shopify.com/s/files/1/0648/3234/0039/files/11_447d539d-b347-4c38-82d3-8058c973a4c6.jpg?v=1779270563\"}},{handle:\"reishi-yancha-eye-oil-serum\",title:\"Reishi Repair Eye Oil Serum\",featuredImage:{url:\"https://cdn.shopify.com/s/files/1/0648/3234/0039/files/1017.jpg?v=1776696601\"}},{handle:\"reishi-peptide-eye-cream\",title:\"Reishi Repair Peptide Eye Cream\",featuredImage:{url:\"https://cdn.shopify.com/s/files/1/0648/3234/0039/files/4_fda06ae2-1837-4136-8290-a25591a161cd.jpg?v=1779349487\"}},{handle:\"reishi-jasmin-lip-oil\",title:\"Reishi Jasmin Lip Oil\",featuredImage:{url:\"https://cdn.shopify.com/s/files/1/0648/3234/0039/files/Jasminlipoil.png?v=1783020775\"}},{handle:\"reishi-guasha\",title:\"Reishi Guasha\",featuredImage:{url:\"https://cdn.shopify.com/s/files/1/0648/3234/0039/files/124_1f2914dc-ccba-448f-a32f-b8eedb58aac0.jpg?v=1776061921\"}},{handle:\"reishi-oil-serum-cartridge\",title:\"Reishi Repair Oil Serum Cartridge\",featuredImage:{url:\"https://cdn.shopify.com/s/files/1/0648/3234/0039/files/zzz76-115092.jpg?v=1776700188\"}}];const CHAPTERS=[{id:\"provenance\",label:\"Reishi provenance\",title:\"From the source.\",body:\"Organically sourced Reishi is our starting point. A botanical with a long history of care, selected for its bioactive compounds and brought into contemporary skin-barrier research.\",image:FILES+\"reishi.jpg?v=1776689805\",alt:\"Two botanical gatherers walking through a forest, from Herbeast’s Reishi ingredient story\"},{id:\"extraction\",label:\"Patented SABEX\\xae extraction\",title:\"A pioneering extraction process.\",body:\"Our patented SABEX\\xae process uses high pressure at low temperatures to extract and preserve Reishi’s bioactive compounds. It allows us to formulate with a high concentration of bioavailable Reishi actives.\",image:\"https://cdn.shopify.com/s/files/1/0648/3234/0039/files/codex-clipboard-1c2a301d-1f0b-4c07-a3bb-f9e12d507a58.jpg?v=1795439460\",alt:\"Macro photograph of amber swirls and bubbles in translucent red glass\"},{id:\"formulation\",label:\"The formulation method\",title:\"Ancient Wisdom\",body:/*#__PURE__*/_jsxs(_Fragment,{children:[\"Drawing on the Chinese tradition of bencao, we pair Reishi with botanicals chosen for each formula. Our\",\" \",/*#__PURE__*/_jsx(\"a\",{href:\"/products/reishi-repair-oil-serum\",children:\"Reishi Repair Oil Serum\"}),\" \",\"brings together Reishi, camellia and white plum blossom.\"]}),image:\"https://cdn.shopify.com/s/files/1/0648/3234/0039/files/codex-clipboard-213d3f76-1714-4529-93b8-63505612571f.jpg?v=1795439460\",alt:\"Glossy Reishi mushroom against a deep blue backdrop\"}];function NorthEastArrow(){return /*#__PURE__*/_jsx(\"svg\",{\"aria-hidden\":\"true\",width:\"1em\",height:\"1em\",viewBox:\"0 0 16 16\",fill:\"none\",stroke:\"currentColor\",strokeWidth:\"1.2\",strokeLinecap:\"round\",strokeLinejoin:\"round\",style:{display:\"inline-block\",verticalAlign:\"-.15em\",flexShrink:0},children:/*#__PURE__*/_jsx(\"path\",{d:\"M3.5 12.5l9-9m-6.5 0h6.5V10\"})});}function RailArrow({direction}){return /*#__PURE__*/_jsx(\"svg\",{\"aria-hidden\":\"true\",width:\"22\",height:\"16\",viewBox:\"0 0 22 16\",fill:\"none\",children:/*#__PURE__*/_jsx(\"path\",{d:direction<0?\"M20 8H2m0 0 4-4M2 8l4 4\":\"M2 8h18m0 0-4-4m4 4-4 4\",stroke:\"currentColor\",strokeWidth:\"1.1\",strokeLinecap:\"round\",strokeLinejoin:\"round\"})});}const DESKTOP_CARD_WIDTH=224;const MOBILE_CARD_WIDTH=228;const MOBILE_CARD_HEIGHT=406;function CollectionProductCard({handle,desktop}){return /*#__PURE__*/_jsx(ProductCard,{productHandle:handle,design:\"New\",displayMode:desktop?\"full\":\"grid\",mobileDirectToProduct:false,zoomHeightRatio:desktop?undefined:.72,cardWidth:desktop?DESKTOP_CARD_WIDTH:MOBILE_CARD_WIDTH,cardHeight:desktop?398:MOBILE_CARD_HEIGHT,imageWidth:desktop?DESKTOP_CARD_WIDTH:MOBILE_CARD_WIDTH,imageHeight:desktop?268:259,cardRadius:0,imageRadius:0,cardBackground:\"#F7F4EE\",titleFont:{fontFamily:\"Shafarik\",fontSize:16,fontWeight:400,lineHeight:\"1em\"},style:{width:\"100%\"}});}const RITUAL_IMAGE={src:\"https://framerusercontent.com/images/YRTKTMMffyg2Z1ixZ2AdD27Qr84.jpg?width=4480&height=6272\",alt:\"Reishi Repair Oil Serum, Soothing Mask Cream and red Repair Stick on a tray beside an ivory bathtub\"};const RITUAL_TAGS=[{key:\"oil\",handle:\"reishi-repair-oil-serum\",label:\"Reishi Repair Oil Serum\"},{key:\"cream\",handle:\"reishi-repair-soothing-mask-cream\",label:\"Reishi Repair Soothing Mask Cream\"},{key:\"stick\",handle:\"reishi-multi-repair-stick\",label:\"Red Reishi Repair Stick\",variant:\"42586657554503\"}];function useReishiProducts(){const[products,setProducts]=useState(FALLBACK);const[loaded,setLoaded]=useState(false);useEffect(()=>{const controller=new AbortController;fetch(`https://${SHOP_DOMAIN}/api/2026-10/graphql.json`,{method:\"POST\",headers:{\"Content-Type\":\"application/json\",\"X-Shopify-Storefront-Access-Token\":STOREFRONT_TOKEN},body:JSON.stringify({query:QUERY,variables:{handle:\"reishi-repair-1\"}}),signal:controller.signal}).then(r=>{if(!r.ok)throw Error(\"Collection unavailable\");return r.json();}).then(data=>{const nodes=data?.data?.collection?.products?.nodes;if(nodes?.length){setProducts(nodes);setLoaded(true);}}).catch(()=>{});return()=>controller.abort();},[]);return{products,loaded};}export function HomeReishiRitual(){const{products}=useReishiProducts();return /*#__PURE__*/_jsx(ReishiRitual,{products:products});}const RITUAL_DESCRIPTIONS={oil:\"A concentrated oil serum for dry, sensitive or stressed skin.\",cream:\"A soothing cream and nighttime mask for sensitive, redness-prone skin.\",stick:\"A portable essence-oil stick for dry patches and lips.\"};function ReishiRitual({products,image}){const headingId=useId();const trigger=useRef(null);const[hotspot,setHotspot]=useState(null);const bathImage=image?.src?image:RITUAL_IMAGE;const quickProducts=RITUAL_TAGS.map(tag=>{const product=products.find(item=>item.handle===tag.handle)??FALLBACK.find(item=>item.handle===tag.handle);const variants=product?.variants?.nodes??[];const preferredVariant=tag.variant?\"gid://shopify/ProductVariant/\"+tag.variant:undefined;return{key:tag.handle,title:tag.label,description:RITUAL_DESCRIPTIONS[tag.key],href:\"/products/\"+tag.handle+(tag.variant?\"?variant=\"+tag.variant:\"\"),variants,preferredVariant,unavailable:product?.comingSoon?.value===\"true\"||product?.availableForSale===false,renderImage:(width,variantId)=>{const cutouts=RITUAL_QUICK_VIEW_PACKSHOTS;const cutout=tag.key===\"oil\"?cutouts.serum:tag.key===\"cream\"?cutouts.cream:cutouts.stick;if(!preferredVariant||!variantId||variantId===preferredVariant){const src=new URL(cutout.src);src.searchParams.set(\"width\",String(width));return /*#__PURE__*/_jsx(QuickViewPackshot,{product:cutout,src:src.toString()});}const photo=variants.find(variant=>variant.id===variantId)?.image??product?.featuredImage;if(!photo?.url)return null;const src=photo.url+(photo.url.includes(\"?\")?\"&\":\"?\")+\"width=\"+width;return /*#__PURE__*/_jsx(\"img\",{className:\"hb-quick-packshot\",src:src,alt:photo.altText||tag.label,decoding:\"async\"});}};});const selected=quickProducts.find(item=>item.key===hotspot);const close=(restoreFocus=true)=>{setHotspot(null);if(restoreFocus)requestAnimationFrame(()=>trigger.current?.focus({preventScroll:true}));};return /*#__PURE__*/_jsxs(\"section\",{className:\"rrc-ritual\",\"aria-labelledby\":headingId,children:[/*#__PURE__*/_jsx(\"style\",{children:`\n.rrc-ritual{background:#f2ebe0;color:#211c16;padding:96px 0 0;font:400 14px/1.6 Inter,Arial,sans-serif;width:100%}\n[data-framer-name=\"Trending SuperHerbs\"]:has(.rrc-ritual){padding-inline:0!important;padding-bottom:0!important}\n.rrc-ritual *{box-sizing:border-box}\n.rrc-ritual :is(a,button):focus-visible{outline:2px solid currentColor;outline-offset:3px}\n.rrc-ritual .rrc-centred-heading{text-align:center;max-width:760px;margin:0 auto 42px;padding:0 20px}\n.rrc-ritual h2,.rrc-ritual h3{font-family:Georgia,serif;font-weight:400;line-height:1.08;letter-spacing:-.025em}\n.rrc-ritual .rrc-centred-heading h2{font-size:clamp(34px,4.5vw,62px);margin:0}\n.rrc-bath-stage{position:relative;width:100%;aspect-ratio:16/10;overflow:hidden;background:#362b20}\n.rrc-bath-stage>img{display:block;width:100%;height:100%;object-fit:cover;object-position:center 35%}\n.rrc-ritual .rrc-hotspot{position:absolute;display:grid;place-items:center;width:44px;height:44px;border:0;padding:0;background:transparent;color:#211c16;transform:translate(-50%,-50%);cursor:pointer;border-radius:50%}\n.rrc-hotspot>span{display:grid;place-items:center;width:25px;height:25px;border:1px solid #f2ebe080;border-radius:50%;background:#faf6eeb8;font:400 17px/1 Inter,Arial,sans-serif;pointer-events:none}\n.rrc-hotspot:is(:hover,:focus-visible)>span{background:#faf6eeed}\n.rrc-hotspot-oil{left:67%;top:56%}.rrc-hotspot-cream{left:69%;top:66%}.rrc-hotspot-stick{left:76.5%;top:73.5%}\n@media(max-width:809px){\n    .rrc-ritual{padding-top:60px}\n    .rrc-ritual .rrc-centred-heading{margin-bottom:30px}\n    .rrc-ritual .rrc-centred-heading h2{font-size:34px}\n    .rrc-bath-stage{aspect-ratio:4/5}.rrc-bath-stage>img{object-position:65% 40%}\n    .rrc-hotspot>span{width:23px;height:23px;font-size:15px}\n    .rrc-hotspot-oil{left:66%;top:41.5%}\n    .rrc-hotspot-cream{left:68%;top:51.5%}\n    .rrc-hotspot-stick{left:82%;top:55%}\n}\n            `}),/*#__PURE__*/_jsx(\"div\",{className:\"rrc-centred-heading\",children:/*#__PURE__*/_jsx(\"h2\",{id:headingId,children:\"Make room for a ritual.\"})}),/*#__PURE__*/_jsxs(\"div\",{className:\"rrc-bath-stage\",children:[/*#__PURE__*/_jsx(\"img\",{src:bathImage.src,alt:bathImage.alt||RITUAL_IMAGE.alt,loading:\"lazy\"}),RITUAL_TAGS.map(tag=>/*#__PURE__*/_jsx(\"button\",{type:\"button\",className:`rrc-hotspot rrc-hotspot-${tag.key}`,\"aria-label\":`Explore ${tag.label}`,\"aria-haspopup\":\"dialog\",onClick:event=>{trigger.current=event.currentTarget;setHotspot(tag.handle);},children:/*#__PURE__*/_jsx(\"span\",{\"aria-hidden\":\"true\",children:\"+\"})},tag.handle))]}),selected&&/*#__PURE__*/_jsx(ProductQuickView,{id:headingId+\"-products\",product:selected,products:quickProducts,onClose:close,onSelect:setHotspot,onAdd:addCatalogueVariantToBag})]});}/**\n * @framerSupportedLayoutWidth any\n * @framerSupportedLayoutHeight auto\n * @framerIntrinsicWidth 1200\n * @framerIntrinsicHeight 6400\n */const RITUAL_PRODUCTS=[{handle:\"reishi-lotion\",size:\"100 mL\"},{handle:\"reishi-repair-oil-serum\",size:\"15 mL\"}];const RITUAL_SCROLL={printSweep:.96,paragraph:.43,firstCard:.62,firstCardHold:.16,secondCard:.72,secondCardHold:.18,giftCard:.68,giftCardHold:.22};const RITUAL_SCROLL_LENGTH=Object.values(RITUAL_SCROLL).reduce((total,phase)=>total+phase,0);const DESKTOP_RITUAL_INTRO_TRANSITION=.32;const RITUAL_CARD_NAMES=[\"first\",\"second\",\"gift\"];function shopifyImageWidth(src,width){return src+(src.includes(\"?\")?\"&\":\"?\")+\"width=\"+width;}function reishiSrcSet(src){return[320,480,720,960,1280].map(width=>shopifyImageWidth(src,width)+\" \"+width+\"w\").join(\", \");}const REISHI_WALL_PRINTS=[{image:FILES+\"reishi-wall-print-blue-and-white-jar.jpg?v=1795624487\",alt:\"Blue-and-white lidded porcelain jar\"},{image:FILES+\"reishi-wall-print-cabinet-watercolor.jpg?v=1795624513\",alt:\"Watercolor of a wooden display cabinet\"},{image:FILES+\"reishi-wall-print-reishi-photograph.jpg?v=1795624493\",alt:\"Dark Reishi mushroom photographed against red\"},{image:FILES+\"reishi-wall-print-pine-and-lingzhi.jpg?v=1795624500\",alt:\"Archival illustration of Lingzhi beside a pine branch\"},{image:FILES+\"reishi-wall-print-archival-textile.jpg?v=1795624506\",alt:\"Archival textile with a circular embroidered design\"},{image:FILES+\"reishi-wall-print-blue-decorated-box.jpg?v=1795624480\",alt:\"Blue decorated scalloped box\"}];function ReishiArchiveWall({children,desktop}){const wallRef=useRef(null);const stageRef=useRef(null);const sceneRef=useRef(null);useEffect(()=>{const wall=wallRef.current;const stage=stageRef.current;const scene=sceneRef.current;const page=wall?.closest(\".rrc-page\");const rail=scene?.querySelector(\".rrc-ritual-steps\");const firstCardElement=rail?.firstElementChild;const title=scene?.querySelector(\".rrc-ritual-heading\");const intro=scene?.querySelector(\".rrc-ritual-intro\");if(!wall||!stage||!scene||!page||!rail||!title||!intro||RenderTarget.current()===RenderTarget.canvas)return;const reducedMotion=window.matchMedia(\"(prefers-reduced-motion: reduce)\");const visualViewport=window.visualViewport;const canPinPrints=CSS.supports(\"overflow\",\"clip\")&&CSS.supports(\"height\",\"1svh\");let frame=0;const smooth=value=>{const t=Math.max(0,Math.min(1,value));return t*t*(3-2*t);};const update=()=>{frame=0;const animated=canPinPrints&&!reducedMotion.matches;page.toggleAttribute(\"data-rrc-wall-motion\",animated);const stageBox=stage.getBoundingClientRect();const sceneBox=scene.getBoundingClientRect();const railBox=rail.getBoundingClientRect();const runway=Math.max(1,stageBox.height-sceneBox.height);const pinLine=parseFloat(getComputedStyle(scene).top)||0;// Use the stable viewport that sets the sticky scroll track.\nconst desktopIntroTransition=desktop?DESKTOP_RITUAL_INTRO_TRANSITION:0;const frameHeight=runway/(RITUAL_SCROLL_LENGTH+desktopIntroTransition);const elapsed=(pinLine-stageBox.top)/frameHeight;const{printSweep,paragraph,firstCard,firstCardHold,secondCard,secondCardHold,giftCard}=RITUAL_SCROLL;const spread=animated?elapsed/printSweep:0;const firstStart=printSweep+paragraph;const firstLocked=firstStart+firstCard;const secondStart=firstLocked+firstCardHold;const pairHoldEnd=secondStart+secondCard+secondCardHold;const giftStart=pairHoldEnd+desktopIntroTransition;if(animated){const introduction=smooth((elapsed-printSweep)/paragraph);const titleCenter=title.offsetTop+title.offsetHeight/2;const titleShift=Math.max(0,frameHeight/2-pinLine-titleCenter);const cardTravel=Math.max(frameHeight-pinLine-(railBox.top-sceneBox.top)+24,200);scene.style.setProperty(\"--rrc-title-shift\",titleShift*(1-introduction)+\"px\");scene.style.setProperty(\"--rrc-intro-progress\",String(introduction));const first=smooth((elapsed-firstStart)/firstCard);const second=smooth((elapsed-secondStart)/secondCard);const giftElapsed=(elapsed-giftStart)/giftCard;const gift=smooth(giftElapsed);const introExitElapsed=desktop?(elapsed-pairHoldEnd)/desktopIntroTransition:giftElapsed;const introExit=smooth(introExitElapsed/(desktop?.56:.58));const introCollapse=desktop?smooth((introExitElapsed-.4)/.6):smooth((giftElapsed-.26)/.63);const introRoom=desktop?Math.min(72,intro.offsetHeight):Math.max(0,intro.offsetHeight+(parseFloat(getComputedStyle(intro).marginBlockEnd)||0)-12);scene.style.setProperty(\"--rrc-intro-exit\",String(introExit));scene.style.setProperty(\"--rrc-intro-clearance\",introRoom*introCollapse+\"px\");const railStyles=getComputedStyle(rail);const gap=parseFloat(railStyles.columnGap)||0;let positions;if(desktop){const cardWidth=(railBox.width-2*gap)/3;const pitch=cardWidth+gap;const entry=sceneBox.width/2+cardWidth/2+16;positions=[[-pitch*(second+gift)/2,cardTravel*(1-first),1],[entry*(1-second)+pitch*(second-gift)/2,0,1],[entry*(1-gift)+pitch*gift,0,1]];}else{const singleWidth=Math.max(1,firstCardElement?.offsetWidth||MOBILE_CARD_WIDTH);const pairWidth=(railBox.width-gap)/2;const pairScale=Math.min(1,pairWidth/singleWidth);const pairOffset=(pairWidth+gap)/2;const scale=1-(1-pairScale)*second;const entry=sceneBox.width/2+singleWidth/2+16;const pairHeight=(firstCardElement?.offsetHeight||MOBILE_CARD_HEIGHT)*pairScale;const rowGap=parseFloat(railStyles.rowGap)||0;const railTop=railBox.top-sceneBox.top-(parseFloat(railStyles.marginBlockStart)||0);const giftTravel=Math.max(frameHeight-pinLine-railTop-pairHeight-rowGap+24,100);scene.style.setProperty(\"--rrc-mobile-pair-height\",pairHeight+\"px\");scene.style.setProperty(\"--rrc-mobile-pair-offset\",pairOffset+\"px\");scene.style.setProperty(\"--rrc-mobile-pair-scale\",String(pairScale));positions=[[-pairOffset*second,cardTravel*(1-first),scale],[entry*(1-second)+pairOffset*second,0,scale],[0,giftTravel*(1-gift),1]];}const progress=[first,second,gift];positions.forEach(([x,y,scale],index)=>{const prefix=\"--rrc-\"+RITUAL_CARD_NAMES[index]+\"-\";const visible=progress[index]>0;scene.style.setProperty(prefix+\"opacity\",visible?\"1\":\"0\");scene.style.setProperty(prefix+\"pointer\",visible?\"auto\":\"none\");scene.style.setProperty(prefix+\"transform\",x===0&&y===0&&scale===1?\"none\":`translate3d(${x}px, ${y}px, 0) scale(${scale})`);});const titleRevealProgress=spread-.04;const uncovered=smooth(titleRevealProgress/.28);page.style.setProperty(\"--rrc-ritual-mask\",uncovered===1?\"none\":\"inset(0 \"+(1-uncovered)*50+\"%)\");page.style.setProperty(\"--rrc-ritual-reveal\",String(smooth(titleRevealProgress/.2)));}wall.style.setProperty(\"--rrc-print-spread\",String(smooth(spread)));wall.style.setProperty(\"--rrc-print-spread-inner\",String(smooth((spread-.11)/.89)));wall.style.setProperty(\"--rrc-print-spread-late\",String(smooth((spread-.2)/.8)));};const schedule=()=>{if(!frame)frame=window.requestAnimationFrame(update);};const observer=new ResizeObserver(schedule);observer.observe(wall);observer.observe(scene);observer.observe(title);observer.observe(intro);observer.observe(rail);if(firstCardElement)observer.observe(firstCardElement);window.addEventListener(\"scroll\",schedule,{passive:true});window.addEventListener(\"resize\",schedule);visualViewport?.addEventListener(\"resize\",schedule);visualViewport?.addEventListener(\"scroll\",schedule,{passive:true});reducedMotion.addEventListener(\"change\",schedule);update();return()=>{observer.disconnect();if(frame)window.cancelAnimationFrame(frame);window.removeEventListener(\"scroll\",schedule);window.removeEventListener(\"resize\",schedule);visualViewport?.removeEventListener(\"resize\",schedule);visualViewport?.removeEventListener(\"scroll\",schedule);reducedMotion.removeEventListener(\"change\",schedule);wall.style.removeProperty(\"--rrc-print-spread\");wall.style.removeProperty(\"--rrc-print-spread-inner\");wall.style.removeProperty(\"--rrc-print-spread-late\");for(const property of[\"--rrc-title-shift\",\"--rrc-intro-progress\",\"--rrc-intro-exit\",\"--rrc-intro-clearance\",\"--rrc-mobile-pair-height\",\"--rrc-mobile-pair-offset\",\"--rrc-mobile-pair-scale\"])scene.style.removeProperty(property);for(const name of RITUAL_CARD_NAMES){for(const property of[\"opacity\",\"pointer\",\"transform\"])scene.style.removeProperty(`--rrc-${name}-${property}`);}page.style.removeProperty(\"--rrc-ritual-mask\");page.style.removeProperty(\"--rrc-ritual-reveal\");page.removeAttribute(\"data-rrc-wall-motion\");};},[desktop]);return /*#__PURE__*/_jsxs(\"div\",{ref:wallRef,className:\"rrc-reishi-wall\",children:[/*#__PURE__*/_jsx(\"p\",{className:\"rrc-collection-intro\",children:\"Reishi Repair draws on millennia of Chinese botanical knowledge and modern skin-barrier research to care for dry, sensitive skin. At its heart is organically sourced Reishi.\"}),/*#__PURE__*/_jsx(\"div\",{ref:stageRef,className:\"rrc-wall-stage\",children:/*#__PURE__*/_jsxs(\"div\",{ref:sceneRef,className:\"rrc-wall-scene\",children:[/*#__PURE__*/_jsx(\"section\",{className:\"rrc-wall-prints\",\"aria-label\":\"Reishi photographs and archives\",children:/*#__PURE__*/_jsx(\"div\",{className:\"rrc-wall-grid\",children:REISHI_WALL_PRINTS.map(({image,alt})=>/*#__PURE__*/_jsx(\"figure\",{children:/*#__PURE__*/_jsx(\"img\",{src:image,alt:alt,loading:\"lazy\",decoding:\"async\"})},image))})}),/*#__PURE__*/_jsx(\"div\",{className:\"rrc-wall-ritual\",children:children})]})})]});}function BarrierRitual({desktop,gift}){return /*#__PURE__*/_jsxs(\"section\",{id:\"reishi-barrier\",className:\"rrc-barrier-ritual\",\"aria-labelledby\":\"rrc-barrier-title\",children:[/*#__PURE__*/_jsxs(\"header\",{className:\"rrc-ritual-heading\",children:[/*#__PURE__*/_jsx(\"span\",{className:\"rrc-eyebrow\",children:\"Barrier-first skincare\"}),/*#__PURE__*/_jsx(\"h2\",{id:\"rrc-barrier-title\",children:\"The Reishi ritual\"})]}),/*#__PURE__*/_jsx(\"p\",{className:\"rrc-ritual-intro\",children:\"Two forms of Reishi. One purpose. Both formulas draw on our patented spore-opening technology to help strengthen the skin barrier.\"}),/*#__PURE__*/_jsxs(\"ol\",{className:\"rrc-ritual-steps\",\"data-rrc-desktop\":desktop?\"\":undefined,\"aria-label\":\"Reishi ritual products\",children:[RITUAL_PRODUCTS.map(({handle})=>/*#__PURE__*/_jsx(\"li\",{children:/*#__PURE__*/_jsx(CollectionProductCard,{handle:handle,desktop:desktop})},handle)),/*#__PURE__*/_jsx(\"li\",{children:gift})]})]});}function RitualGift({products,loaded,promoActive,creatorOffer,desktop}){const pending=useRef(false);const[adding,setAdding]=useState(false);const[status,setStatus]=useState(\"\");const steps=RITUAL_PRODUCTS.map(step=>({...step,product:products.find(product=>product.handle===step.handle)||FALLBACK.find(product=>product.handle===step.handle)}));const[mist,serum]=steps.map(step=>step.product.variants?.nodes.find(variant=>variant.availableForSale&&variant.title.replace(/\\s/g,\"\").toLowerCase()===step.size.replace(/\\s/g,\"\").toLowerCase()));const currency=mist?.price.currencyCode;const total=mist&&serum&&currency===serum.price.currencyCode?Number(mist.price.amount)+Number(serum.price.amount):null;const currencyPrice=(amount,minimumFractionDigits=0)=>new Intl.NumberFormat(\"en-US\",{style:\"currency\",currency,maximumFractionDigits:2,minimumFractionDigits}).format(amount);const duoPrice=total===null?null:currencyPrice(total);const holidayPrice=total!==null&&promoActive&&creatorOffer===false?currencyPrice(total*REISHI_HOLIDAY_MULTIPLIER,2):null;const addDuo=async()=>{if(!mist||!serum||pending.current)return;pending.current=true;setAdding(true);setStatus(\"\");try{let holidayApplied;const publicOffer=promoActive&&Date.now()<REISHI_PROMO_END&&!isReishiCreatorVisit();await addCatalogueVariantToBag([mist.id,serum.id],undefined,publicOffer?{code:REISHI_HOLIDAY_CODE,onResult:applied=>{holidayApplied=applied;}}:undefined);setStatus(holidayApplied===false?\"Duo added. Check the discount in your bag.\":holidayApplied?\"Duo added with HOLIDAY applied.\":\"Mist Essence and Oil Serum added to your bag.\");}catch{setStatus(\"We couldn’t confirm the set. Check your bag before trying again.\");}finally{pending.current=false;setAdding(false);}};return /*#__PURE__*/_jsx(\"div\",{className:\"rrc-ritual-gift\",children:/*#__PURE__*/_jsxs(\"section\",{className:promoActive?\"rrc-duo rrc-duo-with-gift\":\"rrc-duo\",\"aria-labelledby\":\"rrc-ritual-gift-title\",children:[promoActive&&/*#__PURE__*/_jsx(\"div\",{className:\"rrc-duo-gift-image\",children:/*#__PURE__*/_jsx(QuickViewPackshot,{product:RITUAL_QUICK_VIEW_PACKSHOTS.guasha,src:RITUAL_QUICK_VIEW_PACKSHOTS.guasha.src+\"&width=400\"})}),/*#__PURE__*/_jsxs(\"div\",{className:\"rrc-duo-content\",children:[/*#__PURE__*/_jsxs(\"div\",{className:\"rrc-duo-copy\",children:[promoActive&&/*#__PURE__*/_jsx(\"span\",{className:\"rrc-eyebrow\",children:\"As a welcome gift\"}),/*#__PURE__*/_jsx(\"h3\",{id:\"rrc-ritual-gift-title\",children:promoActive?\"Your Reishi Guasha\":\"Complete the ritual\"}),/*#__PURE__*/_jsx(\"p\",{children:promoActive?\"Complimentary with US$100+ order.\":\"100 mL Mist Essence + 15 mL Oil Serum.\"})]}),/*#__PURE__*/_jsxs(\"div\",{className:\"rrc-duo-action\",children:[mist&&serum?/*#__PURE__*/_jsx(\"button\",{type:\"button\",className:\"rrc-duo-button\",onClick:addDuo,disabled:adding,title:\"100 mL Mist Essence and 15 mL Oil Serum\",children:adding?\"Adding to bag…\":/*#__PURE__*/_jsxs(_Fragment,{children:[/*#__PURE__*/_jsx(\"span\",{children:desktop?\"Add the duo\":\"Add the Reishi duo\"}),duoPrice&&/*#__PURE__*/_jsxs(\"span\",{className:\"rrc-duo-prices\",children:[/*#__PURE__*/_jsx(\"span\",{\"aria-hidden\":\"true\",children:\"\\xb7\"}),holidayPrice?/*#__PURE__*/_jsxs(_Fragment,{children:[/*#__PURE__*/_jsx(\"s\",{\"aria-label\":\"Regular price \"+duoPrice,children:duoPrice}),/*#__PURE__*/_jsx(\"strong\",{\"aria-label\":\"Holiday price \"+holidayPrice,children:holidayPrice})]}):duoPrice]})]})}):/*#__PURE__*/_jsx(\"a\",{className:\"rrc-duo-button\",href:\"#reishi-range\",children:\"Shop the collection\"}),loaded&&(!mist||!serum)&&/*#__PURE__*/_jsx(\"p\",{children:\"The featured duo is currently unavailable.\"}),status&&/*#__PURE__*/_jsx(\"p\",{role:\"status\",children:status})]})]})]})});}const HOLIDAY_BENEFITS=[{title:\"15% off sitewide\",icon:/*#__PURE__*/_jsxs(_Fragment,{children:[/*#__PURE__*/_jsx(\"path\",{d:\"M6 18 18 6\"}),/*#__PURE__*/_jsx(\"circle\",{cx:\"7.5\",cy:\"7.5\",r:\"2.5\"}),/*#__PURE__*/_jsx(\"circle\",{cx:\"16.5\",cy:\"16.5\",r:\"2.5\"})]})},{title:\"Free Guasha\",hasTerms:true,icon:/*#__PURE__*/_jsx(\"path\",{d:\"M3 16.5c2.7-3 2.9-7.9 7.4-10.2 2.8-1.4 6.6-1 7.1 1.6 2-.7 4 .6 4 3 0 3.9-4.1 7.5-8.1 7.5-2.4 0-3.1-2.6-1.5-3.8 1.1-.8 2.9-.1 2.6 1.2M3 16.5c-1.2 1.4.5 2.6 2 1.9l3.1-1.6\"})},{title:\"Free shipping\",hasTerms:true,icon:/*#__PURE__*/_jsxs(_Fragment,{children:[/*#__PURE__*/_jsx(\"path\",{d:\"M3 6h11v11H3zM14 10h4l3 3v4h-7\"}),/*#__PURE__*/_jsx(\"circle\",{cx:\"7\",cy:\"18\",r:\"2\",fill:\"var(--offer-paper)\"}),/*#__PURE__*/_jsx(\"circle\",{cx:\"17\",cy:\"18\",r:\"2\",fill:\"var(--offer-paper)\"})]})},{title:\"Free samples\",icon:/*#__PURE__*/_jsxs(_Fragment,{children:[/*#__PURE__*/_jsx(\"rect\",{x:\"5\",y:\"4\",width:\"10\",height:\"15\",rx:\"1\"}),/*#__PURE__*/_jsx(\"path\",{d:\"M5 7h10M5 16h10M18 7h1a1 1 0 0 1 1 1v12a1 1 0 0 1-1 1H9\"}),/*#__PURE__*/_jsx(\"path\",{d:\"M10 9.5c-.6 1-1.5 1.8-1.5 2.8a1.5 1.5 0 0 0 3 0c0-1-.9-1.8-1.5-2.8Z\"})]})}];function ReishiOffer({creatorOffer}){return /*#__PURE__*/_jsxs(\"section\",{className:\"rrc-offer-band\",\"aria-label\":\"Holiday offer\",children:[/*#__PURE__*/_jsx(\"ul\",{className:\"rrc-offer-benefits\",children:HOLIDAY_BENEFITS.map(({title,hasTerms,icon})=>/*#__PURE__*/_jsxs(\"li\",{children:[/*#__PURE__*/_jsx(\"svg\",{className:\"rrc-offer-pictogram\",\"aria-hidden\":\"true\",viewBox:\"0 0 24 24\",fill:\"none\",stroke:\"currentColor\",strokeWidth:\"1.35\",strokeLinecap:\"round\",strokeLinejoin:\"round\",children:icon}),/*#__PURE__*/_jsxs(\"p\",{className:\"rrc-offer-benefit-label\",children:[title,hasTerms&&/*#__PURE__*/_jsx(\"sup\",{children:/*#__PURE__*/_jsx(\"a\",{className:\"rrc-offer-terms-reference\",href:\"#reishi-holiday-terms\",\"aria-label\":title+\" terms\",children:\"*\"})})]})]},title))}),/*#__PURE__*/_jsxs(\"div\",{className:\"rrc-offer-footer\",children:[/*#__PURE__*/_jsxs(\"div\",{className:\"rrc-offer-ticket\",children:[/*#__PURE__*/_jsxs(\"div\",{className:\"rrc-offer-ticket-art\",children:[/*#__PURE__*/_jsx(\"img\",{className:\"rrc-offer-ticket-texture\",src:\"https://cdn.klaviyomail.com/company/RwXiME/images/5b90259a-9d86-4181-a8bd-df315244d067.jpeg\",alt:\"\",loading:\"lazy\",decoding:\"async\"}),/*#__PURE__*/_jsx(\"img\",{className:\"rrc-offer-ticket-logo\",src:\"https://cdn.klaviyomail.com/company/RwXiME/images/2bd684e0-d185-43a4-a16e-5e41f1d6de25.png\",alt:\"Herbeast\",width:138,height:18,loading:\"lazy\",decoding:\"async\"})]}),/*#__PURE__*/_jsxs(\"div\",{className:\"rrc-offer-ticket-copy\",children:[/*#__PURE__*/_jsx(\"h2\",{className:\"rrc-offer-ticket-title\",children:creatorOffer?\"Your creator offer\":\"15% off sitewide\"}),/*#__PURE__*/_jsx(\"p\",{className:\"rrc-offer-ticket-code\",style:{visibility:creatorOffer===null?\"hidden\":undefined},children:creatorOffer?\"Enter your creator code in your bag.\":/*#__PURE__*/_jsxs(_Fragment,{children:[\"Use code \",/*#__PURE__*/_jsx(\"strong\",{children:\"HOLIDAY\"})]})})]})]}),/*#__PURE__*/_jsxs(\"p\",{className:\"rrc-offer-terms\",id:\"reishi-holiday-terms\",tabIndex:-1,children:[/*#__PURE__*/_jsx(\"span\",{\"aria-hidden\":\"true\",children:\"*\"}),\" Applies to orders of US$100+. One Guasha per order. Worldwide delivery.\",creatorOffer&&\" Creator codes can’t be combined with the Guasha gift or holiday free shipping.\"]}),/*#__PURE__*/_jsx(\"a\",{className:\"rrc-offer-shop\",href:\"#reishi-range\",children:\"Shop the curated selection\"})]})]});}function CollectionReviews(){const section=useRef(null);const[nearViewport,setNearViewport]=useState(false);useEffect(()=>{const region=section.current;const win=region?.ownerDocument.defaultView;if(!region||!win)return;if(!win.IntersectionObserver){setNearViewport(true);return;}const observer=new win.IntersectionObserver(([entry])=>{if(!entry.isIntersecting)return;setNearViewport(true);observer.disconnect();},{rootMargin:\"360px 0px\"});observer.observe(region);return()=>observer.disconnect();},[]);useEffect(()=>{if(!nearViewport)return;const doc=section.current?.ownerDocument;if(!doc||doc.querySelector('script[src*=\"static.klaviyo.com/onsite/js/\"]'))return;const script=doc.createElement(\"script\");script.async=true;script.src=\"https://static.klaviyo.com/onsite/js/RwXiME/klaviyo.js\";script.setAttribute(\"data-hb-reviews-loader\",\"true\");doc.head.appendChild(script);},[nearViewport]);useEffect(()=>{if(!nearViewport)return;const widget=section.current?.querySelector(\"#klaviyo-reviews-all\");if(!widget)return;const selectProductReviews=()=>{const tab=widget.querySelector(\"#kl_reviews_tabs__reviews_tab\");if(!tab)return false;if(tab.getAttribute(\"aria-selected\")!==\"true\")tab.click();return true;};// Klaviyo can render a separate store-reviews tab before the product list.\nif(selectProductReviews())return;const observer=new MutationObserver(()=>{if(selectProductReviews())observer.disconnect();});observer.observe(widget,{childList:true,subtree:true});return()=>observer.disconnect();},[nearViewport]);return /*#__PURE__*/_jsxs(\"section\",{ref:section,className:\"rrc-reviews\",\"aria-labelledby\":\"rrc-reviews-title\",children:[/*#__PURE__*/_jsx(\"h2\",{id:\"rrc-reviews-title\",children:\"From our customers\"}),nearViewport&&/*#__PURE__*/_jsx(\"div\",{id:\"klaviyo-reviews-all\",\"data-id\":\"all\",lang:\"en\"})]});}function ReishiFilm({film,canvas}){const video=useRef(null);const poster=useRef(null);const wantsPlay=useRef(true);const attemptTimer=useRef(0);const[playing,setPlaying]=useState(false);const[hasFrame,setHasFrame]=useState(false);const[starting,setStarting]=useState(false);const[offerDirectLink,setOfferDirectLink]=useState(false);const configuredFilm=film?.trim();const customFilm=configuredFilm===ORIGINAL_FILM||configuredFilm===FILM?undefined:configuredFilm;const resumeAt=useRef(0);function clearAttempt(){window.clearTimeout(attemptTimer.current);attemptTimer.current=0;setStarting(false);}function recover(el){clearAttempt();if(!wantsPlay.current||document.hidden)return;const source=el.getAttribute(\"src\");if(source===ADAPTIVE_FILM||source===FILM){resumeAt.current=el.currentTime;setHasFrame(false);setPlaying(false);el.src=MOBILE_FILM;startPlayback(el);return;}setOfferDirectLink(true);}function watchPlayback(el){if(attemptTimer.current||!wantsPlay.current||document.hidden)return;attemptTimer.current=window.setTimeout(()=>recover(el),3800);}function startPlayback(el){prepareReishiFilm(el,customFilm);const source=el.getAttribute(\"src\");setStarting(true);watchPlayback(el);void el.play()?.catch(error=>{if(error?.name===\"AbortError\"||el.getAttribute(\"src\")!==source||!wantsPlay.current)return;if(error?.name===\"NotAllowedError\"){clearAttempt();setPlaying(false);}else recover(el);});}useEffect(()=>{const el=video.current;if(canvas||!el)return;const media=window.matchMedia(\"(prefers-reduced-motion: reduce)\");const inWeChat=/MicroMessenger/i.test(window.navigator.userAgent);const canObserve=typeof IntersectionObserver===\"function\";let inView=!canObserve;let posterPainted=false;let cancelled=false;let frame=0;const resume=()=>{if(!posterPainted||!wantsPlay.current||!inView||document.hidden||!el.paused||el.error)return;startPlayback(el);};const pause=()=>{clearAttempt();el.pause();};const syncMotion=()=>{wantsPlay.current=!inWeChat&&!media.matches&&!reishiConnection()?.saveData;if(wantsPlay.current)resume();else pause();};const visibility=()=>{if(document.hidden)pause();else resume();};const observer=canObserve?new IntersectionObserver(([entry])=>{inView=entry.isIntersecting&&entry.intersectionRatio>=.1;if(inView)resume();else pause();},{threshold:.1}):null;observer?.observe(el);// Let the high-priority poster paint before starting the video download.\nconst decoded=poster.current?.decode?.()??Promise.resolve();void decoded.catch(()=>{}).then(()=>{if(cancelled)return;frame=window.requestAnimationFrame(()=>{frame=window.requestAnimationFrame(()=>{posterPainted=true;resume();});});});syncMotion();if(typeof media.addEventListener===\"function\")media.addEventListener(\"change\",syncMotion);else media.addListener(syncMotion);document.addEventListener(\"visibilitychange\",visibility);return()=>{cancelled=true;window.cancelAnimationFrame(frame);el.pause();window.clearTimeout(attemptTimer.current);attemptTimer.current=0;observer?.disconnect();if(typeof media.removeEventListener===\"function\")media.removeEventListener(\"change\",syncMotion);else media.removeListener(syncMotion);document.removeEventListener(\"visibilitychange\",visibility);};},[canvas,customFilm]);function togglePlay(){const el=video.current;if(!el)return;if(playing||starting){wantsPlay.current=false;clearAttempt();el.pause();return;}wantsPlay.current=true;setOfferDirectLink(false);if(el.error)el.load();startPlayback(el);}return /*#__PURE__*/_jsxs(\"figure\",{className:\"rrc-film-cover\",\"aria-label\":\"Reishi Repair film cover\",children:[/*#__PURE__*/_jsxs(\"picture\",{className:\"rrc-film-poster\",children:[/*#__PURE__*/_jsx(\"source\",{media:\"(max-width: 809px)\",type:\"image/webp\",srcSet:FILM_POSTER+\"?scale-down-to=1024&format=webp\"}),/*#__PURE__*/_jsx(\"source\",{type:\"image/webp\",srcSet:FILM_POSTER+\"?scale-down-to=1440&format=webp\"}),/*#__PURE__*/_jsx(\"source\",{media:\"(max-width: 809px)\",srcSet:FILM_POSTER+\"?scale-down-to=1024\"}),/*#__PURE__*/_jsx(\"img\",{ref:poster,src:FILM_POSTER,alt:\"\",width:1672,height:941,fetchPriority:\"high\"})]}),/*#__PURE__*/_jsx(\"video\",{ref:video,\"data-has-frame\":hasFrame,muted:true,loop:true,playsInline:true,preload:\"none\",\"aria-label\":\"Reishi Repair collection film\",onPlaying:()=>{clearAttempt();setHasFrame(true);setPlaying(true);setOfferDirectLink(false);},onPause:()=>setPlaying(false),onWaiting:event=>{if(!event.currentTarget.paused)watchPlayback(event.currentTarget);},onStalled:event=>{if(!event.currentTarget.paused&&event.currentTarget.readyState<3)watchPlayback(event.currentTarget);},onLoadedMetadata:event=>{const position=resumeAt.current;resumeAt.current=0;if(position>0&&position<event.currentTarget.duration)event.currentTarget.currentTime=position;},onError:event=>{setHasFrame(false);setPlaying(false);recover(event.currentTarget);}}),/*#__PURE__*/_jsxs(\"div\",{className:\"rrc-film-title\",children:[/*#__PURE__*/_jsx(\"h1\",{children:\"Reishi Repair\"}),/*#__PURE__*/_jsx(\"p\",{children:\"2,000 years of wisdom \\xb7 20 years of research\"})]}),/*#__PURE__*/_jsx(\"button\",{className:\"rrc-film-toggle\",type:\"button\",\"aria-label\":playing?\"Pause film\":starting?\"Cancel loading film\":\"Play film\",\"data-playing\":playing?\"true\":undefined,\"data-loading\":starting?\"true\":undefined,onClick:togglePlay,children:/*#__PURE__*/_jsx(\"span\",{className:\"rrc-film-control-icon\",\"aria-hidden\":\"true\",children:/*#__PURE__*/_jsx(\"svg\",{viewBox:\"0 0 20 20\",children:playing||starting?/*#__PURE__*/_jsx(\"path\",{d:\"M7 4v12M13 4v12\"}):/*#__PURE__*/_jsx(\"path\",{d:\"m7 4 9 6-9 6Z\"})})})}),offerDirectLink&&/*#__PURE__*/_jsx(\"a\",{className:\"rrc-film-direct\",href:customFilm||MOBILE_FILM,children:\"Open film\"})]});}export default function ReishiCollection(props){const root=useRef(null);const rail=useRef(null);const canvas=RenderTarget.current()===RenderTarget.canvas;const{products,loaded}=useReishiProducts();const creatorOffer=useReishiCreatorOffer(canvas);useEffect(()=>{const row=rail.current;if(!loaded||!row)return;// The browser can keep the old snap target when live products prepend.\nconst frame=requestAnimationFrame(()=>{row.scrollLeft=0;});return()=>cancelAnimationFrame(frame);},[loaded]);const[desktop,setDesktop]=useState(false);useEffect(()=>{const breakpoint=window.matchMedia(\"(min-width: 810px)\");const sync=()=>setDesktop(breakpoint.matches);sync();breakpoint.addEventListener(\"change\",sync);return()=>breakpoint.removeEventListener(\"change\",sync);},[]);const[promoActive,setPromoActive]=useState(()=>Date.now()<REISHI_PROMO_END);useEffect(()=>{if(!promoActive)return;const timeout=window.setTimeout(()=>setPromoActive(false),Math.max(0,REISHI_PROMO_END-Date.now()));return()=>window.clearTimeout(timeout);},[promoActive]);const reishiProducts=products.filter(product=>product.availableForSale===true&&product.comingSoon?.value!==\"true\"&&!/refill|cartridge|recharge/i.test(product.title+\" \"+product.handle));const curatedHandles=Array.from(new Set([...reishiProducts.map(product=>product.handle),...CURATED_ADDITIONS]));const gift=/*#__PURE__*/_jsx(RitualGift,{products:products,loaded:loaded,promoActive:promoActive,creatorOffer:creatorOffer,desktop:desktop});return /*#__PURE__*/_jsxs(\"article\",{ref:root,className:\"rrc-page\",\"aria-label\":\"Reishi Repair collection\",\"data-collection-state\":loaded?\"live\":\"fallback\",style:{...props.style,width:\"100%\",height:\"auto\"},children:[/*#__PURE__*/_jsx(\"style\",{dangerouslySetInnerHTML:{__html:`\n.rrc-reishi-wall{position:relative;isolation:isolate;clip-path:inset(0);padding-block-start:clamp(32px,5vw,68px);background:#661128}\n.rrc-reishi-wall::before{content:\"\";position:fixed;inset:0;z-index:-1;pointer-events:none;background:url(\"https://framerusercontent.com/images/DvJ8EHf98v4dMlyUzYzTMahsg9A.png\") center top/1600px auto repeat;filter:grayscale(1) brightness(1.6) contrast(3);mix-blend-mode:soft-light;opacity:.55}\n`}}),/*#__PURE__*/_jsx(\"style\",{children:`\n.rrc-page{--rrc-cream:#f2ebe0;--rrc-ink:#211c16;--rrc-supporting-copy-size:13px;width:100%;background:var(--rrc-cream);color:var(--rrc-ink);font:400 14px/1.6 Inter,Arial,sans-serif;box-sizing:border-box}\nbody:has(.rrc-page) header[data-hb-brand-palette][data-hb-compact=\"true\"]:not([data-hb-open=\"true\"],[data-hb-mobile-open=\"true\"]),\nbody:has(.rrc-page) header[data-hb-brand-palette][data-hb-compact=\"true\"]:not([data-hb-open=\"true\"],[data-hb-mobile-open=\"true\"]) :is([data-framer-name=\"Header main row\"],[data-framer-name=\"Mobile header row\"],[data-framer-name=\"Mobile navigation shell\"]) {\n    background-color:transparent !important;\n    color:#f2ebe0 !important;\n}\nbody:has(.rrc-page) header[data-hb-brand-palette][data-hb-compact=\"true\"]:not([data-hb-open=\"true\"],[data-hb-mobile-open=\"true\"]) [data-hb-ink] { filter:url(#hb-ink-beige) !important; }\n.rrc-page *{box-sizing:border-box}.rrc-page h1,.rrc-page h2,.rrc-page h3,.rrc-page p,.rrc-page figure{margin:0}.rrc-page h1,.rrc-page h2,.rrc-page h3{font-family:Georgia,serif;font-weight:400;letter-spacing:-.025em;line-height:1.08}.rrc-page a{color:inherit;text-underline-offset:5px}.rrc-page a:hover{text-decoration:underline}.rrc-page :is(a,button):focus-visible{outline:2px solid currentColor;outline-offset:3px}.rrc-page button{font:inherit;cursor:pointer}.rrc-page img{display:block;max-width:100%}.rrc-page [id]{scroll-margin-top:84px}\n.rrc-film-cover{position:relative;background:#24231f;color:#f2ebe0;height:100vh;height:100svh;min-height:500px;overflow:hidden}.rrc-film-poster,.rrc-film-cover video{position:absolute;inset:0;display:block;width:100%;height:100%}.rrc-film-poster img,.rrc-film-cover video{display:block;width:100%;height:100%;object-fit:cover;object-position:center}.rrc-film-cover video{opacity:0;pointer-events:none}.rrc-film-cover video[data-has-frame=true]{opacity:1}\n.rrc-shop-link{display:inline-flex;align-items:center;min-height:44px;white-space:nowrap;font-size:13px;text-decoration:underline}.rrc-intro{padding:0 7% 76px;max-width:1100px}.rrc-intro h2{font-size:clamp(32px,4vw,56px);line-height:1.12;max-width:820px}.rrc-intro p{margin-top:24px;max-width:480px;font-size:14px}\n.rrc-chapter{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);align-items:stretch;min-width:0;margin-bottom:0}.rrc-chapter:nth-child(even){grid-template-columns:minmax(0,1fr) minmax(0,1fr)}.rrc-chapter:nth-child(even)>.rrc-chapter-image{order:2}.rrc-chapter-image{width:100%;height:100%;min-height:560px;max-height:790px;object-fit:cover;aspect-ratio:4/5}.rrc-chapter-copy{padding:64px 13%;align-self:center}.rrc-eyebrow{display:block;font-size:10px;letter-spacing:.12em;text-transform:uppercase;line-height:1.5}.rrc-chapter h2{font-size:clamp(34px,3.8vw,58px);margin:24px 0}.rrc-chapter p{max-width:37ch}.rrc-chapter-dark{background:#651329;color:var(--rrc-cream)}.rrc-chapter a{display:inline-flex;align-items:center;min-height:44px;margin-top:18px;font-size:12px}.rrc-metrics{display:grid;grid-template-columns:1fr;gap:18px;margin:28px 0 20px}.rrc-metrics>div{border-top:1px solid #b8aa96;padding-top:12px}.rrc-metrics strong{display:block;font:400 42px/1.1 Georgia,serif;letter-spacing:-.035em}.rrc-metrics span{display:block;font-size:12px;margin-top:6px;max-width:31ch}.rrc-results-note{font-size:10px!important;line-height:1.5;opacity:.8;margin-top:16px!important}\n.rrc-range{padding:80px 7% 90px}.rrc-range-heading{display:flex;align-items:baseline;justify-content:space-between;gap:24px;margin-bottom:38px}.rrc-range-heading h2{font-size:clamp(34px,4vw,56px)}.rrc-range-heading span{font-size:12px;color:#746d64}.rrc-products{display:flex;gap:22px;overflow-x:auto;overflow-anchor:none;overscroll-behavior-x:contain;scroll-snap-type:x mandatory;scroll-padding:0 7%;margin-inline:-8.14%;padding:0 7% 22px;scrollbar-width:thin;scrollbar-color:#8c8172 #d8cfc1}.rrc-products>.rrc-product{flex:0 0 calc((100% - 66px)/3.5);scroll-snap-align:start}.rrc-range-nav{display:flex;gap:10px;margin-left:auto}.rrc-range-nav button{width:44px;height:44px;border:1px solid #b8aa96;background:transparent;color:inherit;border-radius:50%;font-size:21px}.rrc-range-heading>span{margin-left:auto}.rrc-product{display:block;text-decoration:none!important;min-width:0}.rrc-product-image{position:relative;background:#ede9e3;aspect-ratio:3/4}.rrc-product-image img{width:100%;height:100%;object-fit:contain}.rrc-product h3{font-size:21px;line-height:1.18;margin:17px 0 10px;letter-spacing:-.01em}.rrc-product:hover h3{text-decoration:underline;text-underline-offset:4px}.rrc-price{font-size:12px}.rrc-product-label{position:absolute;left:8px;top:8px;padding:3px 5px;background:#f2ebe0;font-size:10.5px;line-height:1.3}.rrc-range-footer{margin-top:40px;font-size:12px}\n@media(max-width:809px){.rrc-film-cover{height:100svh;min-height:480px}.rrc-film-poster img{object-position:75% center}.rrc-shop-link{margin-top:10px;font-size:12px}.rrc-intro{padding:0 20px 48px}.rrc-intro h2{font-size:32px}.rrc-intro p{font-size:13px;margin-top:20px}.rrc-chapter,.rrc-chapter:nth-child(even){display:flex;flex-direction:column}.rrc-chapter:nth-child(even)>.rrc-chapter-image{order:0}.rrc-chapter-image{height:auto;min-height:0;max-height:none;aspect-ratio:4/5;object-fit:cover}.rrc-chapter-copy{padding:32px 20px 48px;align-self:stretch}.rrc-chapter h2{font-size:36px;margin:18px 0}.rrc-chapter p{font-size:13px;max-width:37ch}.rrc-metrics{grid-template-columns:1fr;gap:16px}.rrc-metrics strong{font-size:38px}.rrc-range{padding:48px 20px 56px}.rrc-range-heading{margin-bottom:28px;gap:12px}.rrc-range-heading h2{font-size:34px}.rrc-products{gap:14px;margin-inline:-20px;padding-inline:20px;scroll-padding-inline:20px}.rrc-products>.rrc-product{flex-basis:76%}.rrc-range-nav{gap:6px}.rrc-range-heading{flex-wrap:wrap}.rrc-range-heading>span{margin-left:0}.rrc-range-nav button{width:44px;height:44px}.rrc-product h3{font-size:19px;margin:12px 0 8px}.rrc-price{font-size:11px}.rrc-range-heading span{white-space:nowrap;font-size:11px}}\n\n\n.rrc-page{--rrc-red:#c8102e}\n@media(min-width:810px){.rrc-film-cover{height:calc(100vh - 20px);height:calc(100svh - clamp(18px,2.8svh,24px));min-height:0}}\n.rrc-film-cover::after{content:\"\";position:absolute;inset:20% 0 0;z-index:1;pointer-events:none;background:linear-gradient(to bottom,transparent 14%,rgba(15,12,12,.13) 42%,rgba(15,12,12,.55) 80%,rgba(15,12,12,.61) 100%)}\n.rrc-film-title{position:absolute;z-index:3;inset-inline:20px;inset-block-end:clamp(86px,15svh,142px);color:#fff8ef;text-align:center;text-shadow:none}\n.rrc-film-title h1{font-size:clamp(42px,5vw,62px)}\n.rrc-film-toggle{position:absolute;inset:0;z-index:2;width:100%;height:100%;display:grid;place-items:end center;padding:0 0 22px;border:0;color:#fff8ef;background:transparent}\n.rrc-film-control-icon{display:grid;place-items:center;min-width:44px;min-height:44px;border:1px solid #fff6;border-radius:50%;background:#16101266}\n.rrc-film-control-icon svg{width:18px;height:18px;stroke:currentColor;fill:none;stroke-width:1.5}\n.rrc-film-toggle:is([data-playing=true],[data-loading=true]):not(:focus-visible) .rrc-film-control-icon{opacity:0}\n.rrc-film-toggle:focus-visible{outline-offset:-4px!important}\n.rrc-film-direct{position:absolute;right:20px;bottom:22px;z-index:4;display:grid;place-items:center;min-height:44px;padding:0 12px;color:#fff8ef;text-decoration:underline}\n.rrc-film-title p{max-width:40ch;margin:12px auto 0;font-size:clamp(13px,1.35vw,15px);line-height:1.45;text-wrap:balance}\n@media(max-width:809px){.rrc-film-title h1{font-size:clamp(32px,9.5vw,46px)}}\n\n\n.rrc-intro{text-align:center;max-width:900px;margin-inline:auto;padding:0 20px 18px}\n.rrc-intro h2,.rrc-intro p{margin-inline:auto}\n.rrc-range{padding-top:46px}\n.rrc-range-heading{align-items:center;flex-wrap:nowrap}\n.rrc-range-heading h2{min-width:0}\n.rrc-range-nav{flex:none}\n.rrc-card-cell{flex:0 0 ${DESKTOP_CARD_WIDTH}px;min-width:0;scroll-snap-align:start}\n.rrc-range-nav button{display:grid;place-items:center;padding:0;line-height:1}\n.rrc-range-nav svg{display:block;pointer-events:none}\n\n.rrc-reviews{max-width:1280px;margin:0 auto;padding:clamp(34px,5vw,72px) clamp(20px,7vw,84px)}\n.rrc-reviews>h2,.rrc-herbalists>h2{font:400 clamp(29px,3.7vw,46px)/1.15 Shafarik,Georgia,serif;letter-spacing:-.02em}\n.rrc-reviews>h2{margin:0 0 20px}\n.rrc-reviews #klaviyo-reviews-all{min-width:0}\n.rrc-herbalists{border-top:1px solid #211c1626;background:#f7f1e8;text-align:center;padding:clamp(40px,6vw,82px) 20px}\n.rrc-herbalists>p{font-size:14px;margin:12px 0 20px}\n.rrc-herbalists>a.rrc-herbalists-contact{box-sizing:border-box;inline-size:fit-content;min-inline-size:min(176px,100%);max-inline-size:100%;margin-inline:auto;align-self:center;justify-self:center}\n.rrc-herbalists-contact:focus-visible{box-shadow:inset 0 0 0 3px #f7f1e8}\n.rrc-eyebrow{color:var(--rrc-red)}\n.rrc-wall-prints{padding-block-end:clamp(28px,4vw,52px)}\n.rrc-page[data-rrc-wall-motion] .rrc-wall-stage{overflow-anchor:none}\n.rrc-page[data-rrc-wall-motion] .rrc-wall-stage::after{content:\"\";display:block;height:${RITUAL_SCROLL_LENGTH*100}svh}\n.rrc-page[data-rrc-wall-motion] .rrc-wall-scene{--rrc-scene-top:clamp(24px,5svh,42px);position:sticky;top:var(--rrc-scene-top)}\n@media(min-width:810px){\n    .rrc-page[data-rrc-wall-motion] .rrc-wall-scene{--rrc-scene-top:clamp(50px,9svh,75px)}\n    .rrc-page[data-rrc-wall-motion] .rrc-wall-stage::after{height:${(RITUAL_SCROLL_LENGTH+DESKTOP_RITUAL_INTRO_TRANSITION)*100}svh}\n}\n.rrc-page[data-rrc-wall-motion] .rrc-wall-prints{position:absolute;inset:calc(0px - var(--rrc-scene-top)) 0 0;z-index:1;overflow:clip;padding:var(--rrc-scene-top) 0 0;pointer-events:none}\n.rrc-page[data-rrc-wall-motion] .rrc-wall-ritual{opacity:var(--rrc-ritual-reveal,1);clip-path:var(--rrc-ritual-mask,none)}\n.rrc-page[data-rrc-wall-motion] .rrc-wall-ritual:focus-within{opacity:1;clip-path:none}\n.rrc-page :is(.rrc-ritual-heading,.rrc-ritual-heading .rrc-eyebrow,.rrc-ritual-intro){color:#faf2e3}\n.rrc-page .rrc-collection-intro{width:min(100%,620px);margin:0 auto clamp(24px,4.2vw,46px);padding:0 23px;color:#faf2e3;text-align:center;font:400 clamp(15px,1.5vw,18px)/1.6 Inter,Arial,sans-serif;text-wrap:pretty}\n.rrc-wall-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:clamp(14px,2.1vw,25px);width:min(100% - 40px,734px);margin-inline:auto}\n.rrc-page .rrc-wall-grid figure{min-width:0;margin:0;--rrc-print-motion:var(--rrc-print-spread,0);transform:translate3d(calc(var(--rrc-print-x,0px) * var(--rrc-print-motion)),calc(var(--rrc-print-y,0px) * var(--rrc-print-motion)),0) rotate(calc(var(--rrc-print-angle,0deg) * var(--rrc-print-motion)))}\n@media(min-width:600px){\n  .rrc-wall-grid figure:nth-child(3n+1){--rrc-print-x:-62vw;--rrc-print-y:-14px;--rrc-print-angle:-8deg}\n  .rrc-wall-grid figure:nth-child(3n){--rrc-print-x:62vw;--rrc-print-y:6px;--rrc-print-angle:11deg}\n  .rrc-wall-grid figure:nth-child(2){--rrc-print-x:-72vw;--rrc-print-motion:var(--rrc-print-spread-inner,0)}\n  .rrc-wall-grid figure:nth-child(5){--rrc-print-x:72vw;--rrc-print-motion:var(--rrc-print-spread-late,0)}\n}\n@media(max-width:599px){\n  .rrc-wall-grid figure:nth-child(odd){--rrc-print-x:-68vw;--rrc-print-y:7px;--rrc-print-angle:-8deg}\n  .rrc-wall-grid figure:nth-child(even){--rrc-print-x:68vw;--rrc-print-y:5px;--rrc-print-angle:11deg}\n  .rrc-wall-grid figure:nth-child(3),.rrc-wall-grid figure:nth-child(4){--rrc-print-motion:var(--rrc-print-spread-inner,0)}\n  .rrc-wall-grid figure:nth-child(n+5){--rrc-print-motion:var(--rrc-print-spread-late,0)}\n}\n.rrc-wall-grid figure:nth-child(2){--rrc-print-y:-26px;--rrc-print-angle:35deg}\n.rrc-wall-grid figure:nth-child(4){--rrc-print-y:12px;--rrc-print-angle:-24deg}\n.rrc-wall-grid figure:nth-child(5){--rrc-print-y:24px;--rrc-print-angle:-39deg}\n.rrc-wall-grid figure:nth-child(6){--rrc-print-y:-12px;--rrc-print-angle:5deg}\n@media(prefers-reduced-motion:reduce){.rrc-page .rrc-wall-grid figure{transform:none}}\n.rrc-wall-grid img{width:100%;aspect-ratio:2/3;object-fit:contain;object-position:top}\n@media(max-width:599px){.rrc-wall-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}\n.rrc-barrier-ritual{max-width:1460px;margin-inline:auto;padding:clamp(40px,6vw,88px) 7% clamp(38px,5vw,72px)}\n.rrc-ritual-heading{text-align:center;max-width:690px;margin:0 auto clamp(18px,3vw,36px)}\n.rrc-ritual-heading h2{font-size:clamp(34px,4.6vw,62px);margin:9px 0 14px}\n.rrc-barrier-ritual .rrc-ritual-intro{max-width:48ch;margin:0 auto clamp(16px,2.8vw,24px);text-align:center;color:#51443d;font:400 clamp(14px,1.4vw,16px)/1.55 Inter,Arial,sans-serif;text-wrap:pretty}\n.rrc-ritual-steps,.rrc-offer-benefits{list-style:none;margin:0;padding:0}\n.rrc-ritual-steps{display:grid;width:min(100%,${DESKTOP_CARD_WIDTH}px);gap:18px;margin-inline:auto}\n.rrc-ritual-steps>li{min-width:0}\n.rrc-ritual-steps>li:nth-child(-n+2) h3{text-transform:uppercase!important}\n\n.rrc-ritual-gift{padding:0 20px clamp(38px,5vw,72px)}\n.rrc-page[data-rrc-wall-motion] .rrc-barrier-ritual{position:relative;min-height:calc(100svh - var(--rrc-scene-top));padding-block:clamp(14px,3svh,26px) 18px}\n.rrc-page[data-rrc-wall-motion] .rrc-ritual-heading{margin-bottom:12px;transform:translateY(var(--rrc-title-shift,0px))}\n.rrc-page[data-rrc-wall-motion] .rrc-ritual-heading h2{margin-bottom:0}\n.rrc-page[data-rrc-wall-motion] .rrc-ritual-intro{margin-block-end:calc(clamp(16px,2.8vw,24px) + clamp(8px,2svh,16px));opacity:calc(var(--rrc-intro-progress,0) * (1 - var(--rrc-intro-exit,0)));transform:translateY(calc(min(32svh,205px) * (1 - var(--rrc-intro-progress,0))))}\n.rrc-page[data-rrc-wall-motion] .rrc-ritual-steps>li{position:relative;grid-area:1/1;align-self:start}\n.rrc-page[data-rrc-wall-motion] .rrc-ritual-steps>li:first-child{opacity:var(--rrc-first-opacity,0);pointer-events:var(--rrc-first-pointer,none);transform:var(--rrc-first-transform,none)}\n.rrc-page[data-rrc-wall-motion] .rrc-ritual-steps>li:nth-child(2){z-index:1;opacity:var(--rrc-second-opacity,0);pointer-events:var(--rrc-second-pointer,none);transform:var(--rrc-second-transform,none)}\n\n.rrc-ritual-steps[data-rrc-desktop]{--rrc-card-gap:clamp(14px,2vw,26px);grid-template-columns:repeat(3,minmax(0,1fr));column-gap:var(--rrc-card-gap);width:min(100%,calc(3 * ${DESKTOP_CARD_WIDTH}px + 2 * var(--rrc-card-gap)))}\n.rrc-page[data-rrc-wall-motion] .rrc-wall-ritual{overflow-x:clip;overflow-y:visible}\n.rrc-page[data-rrc-wall-motion] .rrc-ritual-steps[data-rrc-desktop]{margin-block-start:calc(0px - var(--rrc-intro-clearance,0px))}\n.rrc-page[data-rrc-wall-motion] .rrc-ritual-steps[data-rrc-desktop]>li{grid-area:1/2}\n.rrc-page[data-rrc-wall-motion] .rrc-ritual-steps>li:nth-child(3){opacity:var(--rrc-gift-opacity,0);pointer-events:var(--rrc-gift-pointer,none);transform:var(--rrc-gift-transform,none)}\n.rrc-page[data-rrc-wall-motion] .rrc-ritual-steps[data-rrc-desktop]>li:nth-child(3){align-self:stretch}\n.rrc-page[data-rrc-wall-motion] .rrc-ritual-steps[data-rrc-desktop]:has(:focus-visible)>li{grid-area:auto;opacity:1;pointer-events:auto;transform:none}\n.rrc-ritual-steps:not([data-rrc-desktop]) {\n    display: grid;\n    width: min(100%, 406px);\n    grid-template-columns: repeat(2, minmax(0, 1fr));\n    column-gap: clamp(10px, 3vw, 14px);\n    row-gap: 16px;\n}\n.rrc-ritual-steps:not([data-rrc-desktop])>li:nth-child(3) { grid-column: 1/-1; }\n.rrc-page[data-rrc-wall-motion] .rrc-ritual-steps:not([data-rrc-desktop]) {\n    grid-template-rows: var(--rrc-mobile-pair-height, ${MOBILE_CARD_HEIGHT}px) auto;\n    margin-block-start: calc(0px - var(--rrc-intro-clearance, 0px));\n}\n.rrc-page[data-rrc-wall-motion] .rrc-ritual-steps:not([data-rrc-desktop])>li:nth-child(-n+2) {\n    grid-area: 1/1/2/-1;\n    justify-self: center;\n    width: min(100%, 62vw, ${MOBILE_CARD_WIDTH}px);\n    transform-origin: top center;\n}\n.rrc-page[data-rrc-wall-motion] .rrc-ritual-steps:not([data-rrc-desktop])>li:nth-child(3) { grid-area: 2/1/3/-1; }\n.rrc-page[data-rrc-wall-motion] .rrc-ritual-steps:not([data-rrc-desktop]):has(:focus-visible)>li {\n    opacity: 1;\n    pointer-events: auto;\n}\n.rrc-page[data-rrc-wall-motion] .rrc-ritual-steps:not([data-rrc-desktop]):has(:focus-visible)>li:first-child {\n    transform: translateX(calc(-1 * var(--rrc-mobile-pair-offset, 0px))) scale(var(--rrc-mobile-pair-scale, 1));\n}\n.rrc-page[data-rrc-wall-motion] .rrc-ritual-steps:not([data-rrc-desktop]):has(:focus-visible)>li:nth-child(2) {\n    transform: translateX(var(--rrc-mobile-pair-offset, 0px)) scale(var(--rrc-mobile-pair-scale, 1));\n}\n.rrc-page[data-rrc-wall-motion] .rrc-ritual-steps:not([data-rrc-desktop]):has(:focus-visible)>li:nth-child(3) { transform: none; }\n.rrc-ritual-steps:not([data-rrc-desktop]) .rrc-ritual-gift { padding: 0; }\n.rrc-ritual-steps:not([data-rrc-desktop]) .rrc-duo { margin: 0; padding: 12px 14px; }\n.rrc-ritual-steps:not([data-rrc-desktop]) .rrc-duo-with-gift {\n    display: grid;\n    grid-template-columns: clamp(62px, 18vw, 84px) minmax(0, 1fr);\n    gap: 10px 12px;\n    text-align: left;\n}\n.rrc-ritual-steps:not([data-rrc-desktop]) .rrc-duo-with-gift .rrc-duo-content { display: contents; }\n.rrc-ritual-steps:not([data-rrc-desktop]) .rrc-duo-gift-image { width: 100%; }\n.rrc-ritual-steps:not([data-rrc-desktop]) .rrc-duo-copy h3 { font-size: 20px; line-height: 1.14; }\n.rrc-ritual-steps:not([data-rrc-desktop]) .rrc-duo-copy p { margin-inline: 0; }\n.rrc-ritual-steps:not([data-rrc-desktop]) .rrc-duo-action { grid-column: 1/-1; margin-top: 0; text-align: center; }\n.rrc-ritual-steps:not([data-rrc-desktop]) .rrc-duo-button { width: 100%; }\n.rrc-ritual-steps[data-rrc-desktop] .rrc-ritual-gift{height:100%;padding:0}\n.rrc-ritual-steps[data-rrc-desktop] .rrc-duo {\n    --rrc-guasha-paper: #faf5eb;\n    --rrc-guasha-ink: #211c16;\n    position: relative;\n    display: flex;\n    flex-direction: column;\n    justify-content: center;\n    align-items: center;\n    gap: 16px;\n    height: 100%;\n    margin: 0;\n    padding: 20px 13px 54px;\n    text-align: center;\n    background: var(--rrc-guasha-paper);\n    color: var(--rrc-guasha-ink);\n}\n.rrc-ritual-steps[data-rrc-desktop] .rrc-duo-gift-image { width: min(100%, 122px); }\n\n.rrc-ritual-steps[data-rrc-desktop] .rrc-duo-action {\n    position: absolute;\n    inset-inline: 13px;\n    bottom: 15px;\n    margin: 0;\n    padding-bottom: 25px;\n}\n.rrc-ritual-steps[data-rrc-desktop] .rrc-duo-action p {\n    margin: 0 0 6px;\n    background: var(--rrc-guasha-paper);\n}\n.rrc-ritual-steps[data-rrc-desktop] .rrc-duo .rrc-duo-button {\n    position: absolute;\n    inset: auto 0 0;\n    isolation: isolate;\n    width: 100%;\n    min-height: 0;\n    height: 25px;\n    padding: 0 3px;\n    background: transparent;\n    color: var(--rrc-guasha-paper) !important;\n    font: 500 12px/1 Inter, Arial, sans-serif;\n    letter-spacing: .04em;\n    text-transform: uppercase;\n}\n.rrc-ritual-steps[data-rrc-desktop] .rrc-duo-button::before {\n    content: \"\";\n    position: absolute;\n    inset: 0;\n    z-index: -1;\n    pointer-events: none;\n    --cut: 5.7px;\n    clip-path: polygon(var(--cut) 0, calc(100% - var(--cut)) 0, 100% var(--cut), 100% calc(100% - var(--cut)), calc(100% - var(--cut)) 100%, var(--cut) 100%, 0 calc(100% - var(--cut)), 0 var(--cut));\n    background: var(--rrc-guasha-button-fill, #000);\n}\n.rrc-ritual-steps[data-rrc-desktop] .rrc-duo .rrc-duo-button:not(:disabled):is(:hover, :focus-visible) {\n    --rrc-guasha-button-fill: #252525;\n    background: transparent;\n}\n.rrc-page[data-rrc-wall-motion] .rrc-barrier-ritual:focus-within .rrc-ritual-heading{opacity:1;transform:none}\n.rrc-page[data-rrc-wall-motion] .rrc-barrier-ritual:focus-within .rrc-ritual-intro{opacity:calc(1 - var(--rrc-intro-exit,0));transform:none}\n.rrc-duo{max-width:580px;margin:28px auto 0;padding:24px 20px;background:#faf5eb;text-align:center}\n.rrc-duo-with-gift{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.6fr);align-items:center;gap:clamp(18px,4vw,38px);padding:clamp(24px,4vw,40px);text-align:left}\n.rrc-duo-gift-image{width:min(100%,160px);margin-inline:auto}\n.rrc-duo-gift-image .hb-quick-packshot{position:static;display:block;width:100%;height:auto;aspect-ratio:1341/909}\n.rrc-duo-copy .rrc-eyebrow{display:block;margin-bottom:7px}\n.rrc-duo-action{margin-top:15px}\n.rrc-duo-copy h3{margin:0 0 5px;font:400 23px/1.2 Shafarik,Georgia,serif}\n.rrc-duo-copy p{font-size:var(--rrc-supporting-copy-size);line-height:1.5;color:#51443d}\n.rrc-duo-action p{font-size:12px;margin-top:7px}\n.rrc-duo-button{display:grid;place-items:center;min-height:48px;padding:10px 20px;border:0;border-radius:0;background:#000;color:#fff5e8!important;font:500 14px/1.3 Inter,Arial,sans-serif;text-decoration:none!important;cursor:pointer}\n.rrc-duo-button:hover{background:#252525}\n.rrc-duo-button:disabled{cursor:wait;opacity:.75}\n.rrc-duo .rrc-duo-button{display:inline-grid;min-height:44px}\n.rrc-duo button.rrc-duo-button{display:inline-flex;justify-content:center;align-items:center;gap:4px;white-space:nowrap}\n.rrc-duo-prices{display:inline-flex;align-items:center;gap:4px;font-variant-numeric:tabular-nums}\n.rrc-duo-prices s{opacity:.75}\n.rrc-duo-prices strong{font-weight:600}\n.rrc-ritual-steps[data-rrc-desktop] .rrc-duo button.rrc-duo-button{font:500 12px/1 Inter,Arial,sans-serif;letter-spacing:0;gap:6px}\n.rrc-ritual-steps[data-rrc-desktop] .rrc-duo-prices [aria-hidden=\"true\"]{display:none}\n.rrc-duo .rrc-duo-button:focus-visible{outline:none;background:#252525;text-decoration:underline!important;text-underline-offset:4px}\n.rrc-offer-band{--offer-paper:#000;--offer-ink:#f5efe5;--offer-cream:#f2ebe0;--offer-ticket:#fbf3e3;--offer-edge:#761933;background:var(--offer-paper);color:var(--offer-ink);text-align:center}\n.rrc-offer-benefits{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:0 clamp(14px,2.3vw,32px);max-width:1080px;margin:0 auto;padding:clamp(28px,3.5vw,46px) 20px}\n.rrc-offer-benefits li{min-width:0}\n.rrc-offer-pictogram{display:block;width:clamp(28px,3vw,36px);height:auto;margin:0 auto 10px;color:var(--offer-ink)}\n.rrc-offer-benefits .rrc-offer-benefit-label{font:400 var(--rrc-supporting-copy-size)/1.35 Inter,Arial,sans-serif;margin:0}\n.rrc-offer-benefits a.rrc-offer-terms-reference{margin-inline-start:2px;color:var(--offer-ink);text-decoration:none}\n.rrc-offer-benefits a.rrc-offer-terms-reference:hover{text-decoration:underline}\n.rrc-offer-footer{width:100%;padding:clamp(28px,3.5vw,44px) 20px 25px;background:var(--offer-cream);color:var(--rrc-ink)}\n.rrc-offer-ticket{display:grid;grid-template-columns:58% 42%;width:min(100%,474px);margin:0 auto;border:1px solid var(--offer-edge);border-radius:11px;background:var(--offer-ticket)}\n.rrc-offer-ticket-art{position:relative;isolation:isolate;display:grid;place-items:center;overflow:hidden;min-height:clamp(110px,25vw,144px);border-radius:10px 0 0 10px;background:#e6a21d;padding:12px}\n.rrc-offer-ticket-texture{position:absolute;inset:0;z-index:-1;width:100%;height:100%;object-fit:cover;object-position:63% center}\n.rrc-offer-ticket-logo{width:min(100%,138px);height:auto}\n.rrc-offer-ticket-copy{position:relative;display:grid;place-content:center;justify-items:center;gap:8px;border-left:1px dotted var(--offer-edge);padding:12px clamp(8px,2vw,14px)}\n.rrc-offer-ticket-copy::before,.rrc-offer-ticket-copy::after{content:\"\";position:absolute;left:-9px;width:17px;height:9px;border:1px solid var(--offer-edge);background:var(--offer-cream);pointer-events:none}\n.rrc-offer-ticket-copy::before{top:-2px;border-top:0;border-radius:0 0 10px 10px}\n.rrc-offer-ticket-copy::after{bottom:-2px;border-bottom:0;border-radius:10px 10px 0 0}\n.rrc-page .rrc-offer-ticket-title{font:400 clamp(17px,2.6vw,21px)/1.15 Inter,Arial,sans-serif;letter-spacing:0;text-wrap:balance}\n.rrc-offer-ticket-code{font:400 13px/1.4 Inter,Arial,sans-serif;color:#564337}\n.rrc-offer-ticket-code strong{color:var(--offer-edge);letter-spacing:.1em;white-space:nowrap}\n.rrc-offer-footer .rrc-offer-terms{max-width:63ch;margin:13px auto 0;font-size:12px;line-height:1.55;color:#564a41}\n.rrc-offer-shop{display:inline-flex;align-items:center;min-height:44px;margin-top:8px;font:400 16px/1.2 Shafarik,Georgia,serif;text-decoration:underline;text-underline-offset:5px}\n@media(min-width:810px){\n  .rrc-offer-benefits{max-width:850px;column-gap:24px}\n  .rrc-offer-pictogram{width:24px;margin-bottom:9px}\n}\n.rrc-origin-copy p a{color:inherit;text-underline-offset:3px}\n.rrc-page :is(.rrc-ritual-steps,.rrc-products) [style*=\"var(--hb-card-edge-compensation\"]{border-width:0!important}\n.rrc-origin-stories{max-width:1600px;margin-inline:auto}\n.rrc-origin-story{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));align-items:stretch;background:#f2ebe0;border-bottom:1px solid #211c1626}\n.rrc-origin-story:nth-child(even)>img{grid-column:2;grid-row:1}\n.rrc-origin-story:nth-child(even)>.rrc-origin-copy{grid-column:1;grid-row:1}\n.rrc-origin-story>img{display:block;width:100%;height:auto;aspect-ratio:5/4;object-fit:cover}\n.rrc-origin-copy{align-self:center;padding:10% 13%}\n.rrc-origin-copy h2{font-size:clamp(32px,4.2vw,60px);margin:12px 0 18px}\n.rrc-origin-copy p{max-width:43ch}\n#reishi-formulation>img{object-position:center 19%}\n@media(max-width:809px){\n  .rrc-page{--rrc-supporting-copy-size:14px}\n  .rrc-barrier-ritual{padding-inline:20px}\n  .rrc-page[data-rrc-wall-motion] .rrc-barrier-ritual{min-height:calc(100lvh - var(--rrc-scene-top))}\n  .rrc-ritual-heading{margin-bottom:27px}\n  .rrc-duo{max-width:460px;margin-top:18px}\n  .rrc-duo-with-gift{grid-template-columns:1fr;gap:12px;padding:24px 18px;text-align:center}\n  .rrc-duo-gift-image{width:112px}\n  .rrc-duo-copy p{max-width:33ch;margin-inline:auto}\n  .rrc-offer-benefits{grid-template-columns:repeat(2,minmax(0,1fr));gap:24px 12px;max-width:460px}\n  .rrc-offer-pictogram{width:29px;margin-bottom:8px}\n  .rrc-page .rrc-duo-copy h3{font-size:clamp(25px,6.67vw,28px);line-height:1.14;text-wrap:balance}\n  .rrc-ritual-steps>li:nth-child(-n+2) h3{font-size:17px!important;line-height:1.18!important}\n  .rrc-page .rrc-duo-action p{font-size:14px}\n  .rrc-page :is(.rrc-duo .rrc-duo-button,.rrc-offer-shop){font:500 14px/1.3 Inter,Arial,sans-serif}\n  .rrc-origin-story{grid-template-columns:1fr}\n  .rrc-origin-story:nth-child(even)>img,.rrc-origin-story:nth-child(even)>.rrc-origin-copy{grid-column:auto;grid-row:auto}\n  .rrc-origin-copy{padding:28px 22px 36px}\n}\n@media(max-width:809px){\n        .rrc-range{padding-top:36px}\n    .rrc-range-heading{gap:8px}\n    .rrc-range-heading h2{font-size:clamp(27px,8vw,34px)}\n    .rrc-card-cell{flex-basis:clamp(152px,45vw,220px)}\n}\n@media(prefers-reduced-motion:reduce){.rrc-page *{scroll-behavior:auto!important}}\n `}),/*#__PURE__*/_jsx(\"script\",{type:\"application/ld+json\",dangerouslySetInnerHTML:{__html:JSON.stringify({\"@context\":\"https://schema.org\",\"@type\":\"CollectionPage\",name:\"Reishi Repair Skincare | Herbeast\",url:\"https://www.herbeast.world/collections/reishi-repair\",description:\"Herbeast’s Reishi Repair skincare collection for dry, sensitive skin, including Mist Essence and Oil Serum.\",mainEntity:{\"@type\":\"ItemList\",name:\"Featured Reishi Repair products\",itemListElement:FALLBACK.slice(0,2).map((product,index)=>({\"@type\":\"ListItem\",position:index+1,name:product.title,url:\"https://www.herbeast.world/products/\"+product.handle}))}}).replace(/</g,\"\\\\u003c\")}}),/*#__PURE__*/_jsx(ReishiFilm,{film:props.film,canvas:canvas}),/*#__PURE__*/_jsx(ReishiArchiveWall,{desktop:desktop,children:/*#__PURE__*/_jsx(BarrierRitual,{desktop:desktop,gift:gift})}),promoActive&&/*#__PURE__*/_jsx(ReishiOffer,{creatorOffer:creatorOffer}),/*#__PURE__*/_jsx(\"div\",{className:\"rrc-origin-stories\",\"aria-label\":\"The making of Reishi Repair\",children:CHAPTERS.map(chapter=>/*#__PURE__*/_jsxs(\"section\",{id:\"reishi-\"+chapter.id,className:\"rrc-origin-story\",\"aria-labelledby\":\"rrc-title-\"+chapter.id,children:[/*#__PURE__*/_jsx(\"img\",{src:shopifyImageWidth(chapter.image,900),srcSet:reishiSrcSet(chapter.image),sizes:\"(max-width: 809px) 100vw, 50vw\",alt:chapter.alt,loading:\"lazy\",decoding:\"async\",width:900,height:720}),/*#__PURE__*/_jsxs(\"div\",{className:\"rrc-origin-copy\",children:[/*#__PURE__*/_jsx(\"span\",{className:\"rrc-eyebrow\",children:chapter.label}),/*#__PURE__*/_jsx(\"h2\",{id:\"rrc-title-\"+chapter.id,children:chapter.title}),/*#__PURE__*/_jsx(\"p\",{children:chapter.body})]})]},chapter.id))}),/*#__PURE__*/_jsx(ReishiRitual,{products:products}),/*#__PURE__*/_jsxs(\"section\",{id:\"reishi-range\",className:\"rrc-range\",\"aria-labelledby\":\"reishi-range-title\",children:[/*#__PURE__*/_jsxs(\"div\",{className:\"rrc-range-heading\",children:[/*#__PURE__*/_jsx(\"h2\",{id:\"reishi-range-title\",children:\"The curated edit\"}),/*#__PURE__*/_jsx(\"div\",{className:\"rrc-range-nav\",\"aria-label\":\"Curated edit browsing controls\",children:[-1,1].map(direction=>/*#__PURE__*/_jsx(\"button\",{type:\"button\",\"aria-label\":direction<0?\"Previous products\":\"Next products\",onClick:()=>rail.current?.scrollBy({left:direction*(rail.current.clientWidth*.8),behavior:window.matchMedia(\"(prefers-reduced-motion:reduce)\").matches?\"auto\":\"smooth\"}),children:/*#__PURE__*/_jsx(RailArrow,{direction:direction})},direction))})]}),/*#__PURE__*/_jsx(\"div\",{ref:rail,className:\"rrc-products\",tabIndex:0,role:\"region\",\"aria-label\":\"Browse the curated edit\",children:curatedHandles.map(handle=>/*#__PURE__*/_jsx(\"div\",{className:\"rrc-card-cell\",children:/*#__PURE__*/_jsx(CollectionProductCard,{handle:handle,desktop:desktop})},handle))}),/*#__PURE__*/_jsx(\"p\",{className:\"rrc-range-footer\",children:/*#__PURE__*/_jsxs(\"a\",{href:\"https://herbeast.world/shop?category=skin-body\",children:[\"Explore all skincare \",/*#__PURE__*/_jsx(NorthEastArrow,{})]})})]}),/*#__PURE__*/_jsxs(\"section\",{className:\"rrc-herbalists\",\"aria-labelledby\":\"rrc-herbalists-title\",children:[/*#__PURE__*/_jsx(\"h2\",{id:\"rrc-herbalists-title\",children:\"Questions about Reishi Repair?\"}),/*#__PURE__*/_jsx(\"p\",{children:\"We can help you find the right formula for your skin.\"}),/*#__PURE__*/_jsx(\"a\",{className:\"rrc-duo-button rrc-herbalists-contact\",href:\"mailto:hello@herbeast.world?subject=Reishi%20Repair%20question\",children:\"Ask our herbalists\"})]}),/*#__PURE__*/_jsx(CollectionReviews,{})]});}ReishiCollection.defaultProps={film:FILM};addPropertyControls(ReishiCollection,{film:{type:ControlType.String,title:\"Cover film\",defaultValue:FILM}});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"ReishiCollection\",\"slots\":[],\"annotations\":{\"framerContractVersion\":\"1\"}},\"HomeReishiRitual\":{\"type\":\"reactComponent\",\"name\":\"HomeReishiRitual\",\"slots\":[],\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL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