{"version":3,"file":"ShopCardPrice.CBzbwwS5.mjs","names":["useState","useMemo","WORKER_BASE","p","useState","useMemo","p"],"sources":["https:/framerusercontent.com/modules/dqBWDtP8hmGrLIlpLqvS/CmS5Q7Qlx6PgVU0BTZdR/ShopCardCTA.js","https:/framerusercontent.com/modules/4miCG0hXNkUhzv1mPYCC/PWAtSfHpHT0TYubAz0qT/ShopCardPrice.js"],"sourcesContent":["// ShopCardCTA.tsx\n//\n// Smart shop card CTA group that adapts to product variant status AND viewport.\n//\n// SINGLE-VARIANT  (hasVariants = false):\n//   [ View Details ]  [ Add to Cart ]\n//   Orientation, height, gap, font size, and padding switch between the\n//   Desktop and Mobile control values at the Mobile Breakpoint.\n//\n// MULTI-VARIANT   (hasVariants = true):\n//   Single full-width: [ Select Dose ]\n//\n// RESPONSIVE\n//   Viewport is detected in JS via window.matchMedia(max-width: breakpoint).\n//   No CSS container queries / container-type (that collapsed the height in\n//   Framer's layout). Everything is plain inline style, and the root hugs\n//   its content vertically so buttons never get smushed or overflow.\n//\n// HOVER BEHAVIOR\n//   Each button has an explicit hover background prop. Empty/transparent →\n//   derived hover color. Gated by @media (hover: hover) so touch skips it.\nimport{jsx as _jsx,jsxs as _jsxs}from\"react/jsx-runtime\";import{addPropertyControls,ControlType}from\"framer\";import{motion,AnimatePresence}from\"framer-motion\";import{useEffect,useMemo,useState}from\"react\";import{useCartStore,addItem,isInCart,openCart,hydrateCart}from\"https://framerusercontent.com/modules/bPtVxsomUQ7gxXA7fgrZ/FRsxhjKHBxRxCx3x5Js3/CartStore.js\";const WORKER_BASE=\"https://kora-woo-proxy.julian-a94.workers.dev\";// ─── Color hover derivation ───────────────────────────────────────\nfunction parseColor(color){if(!color||typeof color!==\"string\")return null;const trimmed=color.trim().toLowerCase();if(trimmed.startsWith(\"#\")){let hex=trimmed.slice(1);if(hex.length===3){hex=hex.split(\"\").map(c=>c+c).join(\"\");}if(hex.length===6||hex.length===8){const r=parseInt(hex.slice(0,2),16);const g=parseInt(hex.slice(2,4),16);const b=parseInt(hex.slice(4,6),16);const a=hex.length===8?parseInt(hex.slice(6,8),16)/255:1;return{r,g,b,a};}return null;}const m=trimmed.match(/^rgba?\\(([^)]+)\\)$/);if(m){const parts=m[1].split(\",\").map(s=>parseFloat(s.trim()));if(parts.length>=3){return{r:parts[0],g:parts[1],b:parts[2],a:parts[3]!==undefined?parts[3]:1};}}return null;}function rgbaString(r,g,b,a){const clamp=v=>Math.max(0,Math.min(255,Math.round(v)));if(a>=1)return`rgb(${clamp(r)}, ${clamp(g)}, ${clamp(b)})`;return`rgba(${clamp(r)}, ${clamp(g)}, ${clamp(b)}, ${Math.max(0,Math.min(1,a))})`;}function luminance(r,g,b){return(.299*r+.587*g+.114*b)/255;}function deriveHoverColor(base){if(base&&typeof base===\"string\"&&base.toLowerCase().replace(/\\s/g,\"\")===\"#cbff0f\"){return\"#D4FF3A\";}const parsed=parseColor(base);if(!parsed)return base;const{r,g,b,a}=parsed;const lum=luminance(r,g,b);if(lum>.85){const factor=.91;return rgbaString(r*factor,g*factor,b*factor,a);}if(lum<.15){const lift=255*.06;return rgbaString(r+lift,g+lift,b+lift,a);}const mix=.08;return rgbaString(r+(255-r)*mix,g+(255-g)*mix,b+(255-b)*mix,a);}function resolveHoverColor(explicit,base){if(!explicit||typeof explicit!==\"string\")return deriveHoverColor(base);const trimmed=explicit.trim();if(trimmed===\"\")return deriveHoverColor(base);const parsed=parseColor(trimmed);if(parsed&&parsed.a===0)return deriveHoverColor(base);return trimmed;}// ─── Viewport hook (desktop vs mobile) ────────────────────────────\nfunction useIsMobile(breakpoint){const[isMobile,setIsMobile]=useState(false);useEffect(()=>{if(typeof window===\"undefined\"||!window.matchMedia)return;const mq=window.matchMedia(`(max-width: ${Number(breakpoint)}px)`);const update=()=>setIsMobile(mq.matches);update();// addEventListener is the modern API; older Safari uses addListener\nif(mq.addEventListener){mq.addEventListener(\"change\",update);return()=>mq.removeEventListener(\"change\",update);}else if(mq.addListener){mq.addListener(update);return()=>mq.removeListener(update);}},[breakpoint]);return isMobile;}/**\n * @framerSupportedLayoutWidth any\n * @framerSupportedLayoutHeight any-prefer-fixed\n * @framerIntrinsicWidth 320\n * @framerIntrinsicHeight 44\n */export default function ShopCardCTA(props){const{// Product identity\nproductName=\"Product\",productSlug=\"\",// Variant state\nhasVariants=false,slots=1,// V1 data (used for single-variant ATC)\nv1WooId=0,v1Price=0,v1Image=null,v1InStock=true,// Product page route prefix\nproductPathPrefix=\"/peptides/\",// Labels\nviewDetailsLabel=\"View Details\",atcLabel=\"Add to Cart\",addedLabel=\"Added ✓\",addAnotherLabel=\"Add Another\",outOfStockLabel=\"Out of Stock\",selectDoseLabel=\"Select Dose\",// ─── RESPONSIVE LAYOUT ─────────────────────────────────────\nmobileBreakpoint=810,directionDesktop=\"row\",directionMobile=\"column\",heightDesktop=44,heightMobile=48,gapDesktop=10,gapMobile=8,fontSizeDesktop=14,fontSizeMobile=14,paddingHDesktop=16,paddingHMobile=14,viewDetailsFlex=1,atcFlex=1,// ─── SECONDARY (View Details) ──────────────────────────────\nsecondaryBackground=\"#1A1A1A\",secondaryHoverBackground=\"\",secondaryTextColor=\"#FFFFFF\",secondaryBorderColor=\"rgba(255,255,255,0.10)\",secondaryBorderWidth=1,// ─── PRIMARY (Add to Cart) ─────────────────────────────────\nprimaryBackground=\"#FFFFFF\",primaryHoverBackground=\"\",primaryTextColor=\"#09090A\",primaryBorderColor=\"#FFFFFF\",primaryBorderWidth=1,// ─── ADDED STATE ───────────────────────────────────────────\naddedBackground=\"#CBFF0F\",addedHoverBackground=\"\",addedTextColor=\"#000000\",addedBorderColor=\"#CBFF0F\",// ─── VARIANT PRIMARY (Select Dose) ─────────────────────────\nvariantBackground=\"#FFFFFF\",variantHoverBackground=\"\",variantTextColor=\"#09090A\",variantBorderColor=\"#FFFFFF\",variantBorderWidth=1,// ─── DISABLED ──────────────────────────────────────────────\ndisabledBackground=\"rgba(255,255,255,0.04)\",disabledTextColor=\"rgba(255,255,255,0.2)\",disabledBorderColor=\"rgba(255,255,255,0.06)\",// Shared shape & typography\nborderRadius=12,fontWeight=600,letterSpacing=\"0.02em\",textTransform=\"none\",style}=props;const[store,setStore]=useCartStore();const[justAdded,setJustAdded]=useState(false);const[livePrice,setLivePrice]=useState(null);const[liveInStock,setLiveInStock]=useState(null);const[liveImage,setLiveImage]=useState(null);const isMobile=useIsMobile(mobileBreakpoint);// Resolve responsive values for the active breakpoint\nconst direction=isMobile?directionMobile:directionDesktop;const btnHeight=Number(isMobile?heightMobile:heightDesktop)||44;const gap=Number(isMobile?gapMobile:gapDesktop)||0;const fontSize=Number(isMobile?fontSizeMobile:fontSizeDesktop)||14;const paddingHorizontal=Number(isMobile?paddingHMobile:paddingHDesktop)||0;const isRow=direction===\"row\";useEffect(()=>{hydrateCart(setStore);},[]);const isSingleVariant=!hasVariants||Number(slots)<=1;const fetchableWooId=isSingleVariant?Number(v1WooId)||0:0;const href=useMemo(()=>{const prefix=(productPathPrefix||\"/\").replace(/\\/+$/,\"\");const slug=(productSlug||\"\").replace(/^\\/+/,\"\");return`${prefix}/${slug}`;},[productPathPrefix,productSlug]);// Resolve hover backgrounds — explicit prop wins, derived is fallback\nconst secondaryHover=useMemo(()=>resolveHoverColor(secondaryHoverBackground,secondaryBackground),[secondaryHoverBackground,secondaryBackground]);const primaryHover=useMemo(()=>resolveHoverColor(primaryHoverBackground,primaryBackground),[primaryHoverBackground,primaryBackground]);const variantHover=useMemo(()=>resolveHoverColor(variantHoverBackground,variantBackground),[variantHoverBackground,variantBackground]);const addedHover=useMemo(()=>resolveHoverColor(addedHoverBackground,addedBackground),[addedHoverBackground,addedBackground]);useEffect(()=>{if(!fetchableWooId||fetchableWooId===0)return;fetch(`${WORKER_BASE}/product/${fetchableWooId}`).then(r=>r.json()).then(data=>{if(typeof data.price===\"number\")setLivePrice(data.price);if(typeof data.inStock===\"boolean\")setLiveInStock(data.inStock);if(data.image)setLiveImage(data.image);}).catch(()=>{});},[fetchableWooId]);// Per-button flex behavior: share width in a row, full width when stacked.\nconst itemLayout=flexValue=>isRow?{flexGrow:flexValue,flexShrink:1,flexBasis:0,minWidth:0}:{flexGrow:0,flexShrink:0,flexBasis:\"auto\",width:\"100%\"};const sharedCss=/*#__PURE__*/_jsx(\"style\",{children:`\n            @import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500&family=Instrument+Sans:wght@500;600&display=swap');\n\n            .scc-btn {\n                -webkit-tap-highlight-color: transparent;\n            }\n            .scc-btn:focus-visible {\n                outline: 2px solid #CBFF0F;\n                outline-offset: 3px;\n            }\n\n            @media (hover: hover) and (pointer: fine) {\n                .scc-secondary[data-state=\"ready\"]:hover {\n                    background: var(--scc-secondary-hover) !important;\n                }\n                .scc-primary[data-state=\"ready\"]:hover {\n                    background: var(--scc-primary-hover) !important;\n                }\n                .scc-primary[data-state=\"added\"]:hover {\n                    background: var(--scc-added-hover) !important;\n                }\n                .scc-variant[data-state=\"ready\"]:hover {\n                    background: var(--scc-variant-hover) !important;\n                }\n            }\n        `});// ─── VARIANT BRANCH ───────────────────────────────────────────\nif(!isSingleVariant){return /*#__PURE__*/_jsxs(\"div\",{style:{width:\"100%\",display:\"flex\",alignItems:\"stretch\",\"--scc-variant-hover\":variantHover,...style,height:\"auto\"},children:[sharedCss,/*#__PURE__*/_jsx(motion.a,{href:href,className:\"scc-btn scc-variant\",\"data-state\":\"ready\",whileTap:{scale:.97},transition:{type:\"spring\",stiffness:400,damping:30},style:{...buttonBaseStyle({background:variantBackground,color:variantTextColor,borderColor:variantBorderColor,borderWidth:variantBorderWidth,height:btnHeight,borderRadius,paddingHorizontal,fontSize,fontWeight,letterSpacing,textTransform}),flexGrow:1,flexShrink:0,width:\"100%\",cursor:\"pointer\",textDecoration:\"none\"},\"aria-label\":`${selectDoseLabel} for ${productName}`,children:selectDoseLabel})]});}// ─── SINGLE-VARIANT BRANCH ───────────────────────────────────\nconst finalPrice=livePrice??(Number(v1Price)||0);const finalInStock=liveInStock!==null?liveInStock:v1InStock!==false;const cmsImageUrl=typeof v1Image===\"string\"?v1Image:v1Image?.src||\"\";const finalImage=cmsImageUrl||liveImage||\"\";const alreadyInCart=isInCart(store,fetchableWooId);const isDisabled=!finalInStock||fetchableWooId===0;const handleAdd=e=>{e.preventDefault();e.stopPropagation();if(isDisabled)return;addItem(setStore,store.items,{wooId:fetchableWooId,name:productName,price:finalPrice,image:finalImage,slug:productSlug},1);setJustAdded(true);setTimeout(()=>setJustAdded(false),1800);setTimeout(()=>openCart(setStore),200);};const atcCurrentLabel=isDisabled?outOfStockLabel:justAdded?addedLabel:alreadyInCart?addAnotherLabel:atcLabel;const atcBg=isDisabled?disabledBackground:justAdded?addedBackground:primaryBackground;const atcTextColor=isDisabled?disabledTextColor:justAdded?addedTextColor:primaryTextColor;const atcBorderColor=isDisabled?disabledBorderColor:justAdded?addedBorderColor:primaryBorderColor;const atcDataState=isDisabled?\"disabled\":justAdded?\"added\":\"ready\";return /*#__PURE__*/_jsxs(\"div\",{style:{width:\"100%\",display:\"flex\",flexDirection:direction,gap,alignItems:\"stretch\",\"--scc-secondary-hover\":secondaryHover,\"--scc-primary-hover\":primaryHover,\"--scc-added-hover\":addedHover,...style,// Always hug content vertically — prevents the smushing and\n// lets the stacked layout grow instead of overflowing.\nheight:\"auto\"},children:[sharedCss,/*#__PURE__*/_jsx(motion.a,{href:href,className:\"scc-btn scc-secondary\",\"data-state\":\"ready\",whileTap:{scale:.97},transition:{type:\"spring\",stiffness:400,damping:30},style:{...buttonBaseStyle({background:secondaryBackground,color:secondaryTextColor,borderColor:secondaryBorderColor,borderWidth:secondaryBorderWidth,height:btnHeight,borderRadius,paddingHorizontal,fontSize,fontWeight,letterSpacing,textTransform}),...itemLayout(viewDetailsFlex),cursor:\"pointer\",textDecoration:\"none\"},\"aria-label\":`${viewDetailsLabel} for ${productName}`,children:viewDetailsLabel}),/*#__PURE__*/_jsx(motion.button,{onClick:handleAdd,disabled:isDisabled,className:\"scc-btn scc-primary\",\"data-state\":atcDataState,whileTap:!isDisabled?{scale:.97}:undefined,transition:{type:\"spring\",stiffness:400,damping:30},style:{...buttonBaseStyle({background:atcBg,color:atcTextColor,borderColor:atcBorderColor,borderWidth:primaryBorderWidth,height:btnHeight,borderRadius,paddingHorizontal,fontSize,fontWeight,letterSpacing,textTransform}),...itemLayout(atcFlex),cursor:isDisabled?\"not-allowed\":\"pointer\",outline:\"none\"},\"aria-label\":atcCurrentLabel,children:/*#__PURE__*/_jsx(AnimatePresence,{mode:\"wait\",children:/*#__PURE__*/_jsx(motion.span,{initial:{opacity:0,y:5},animate:{opacity:1,y:0},exit:{opacity:0,y:-5},transition:{duration:.12},style:{display:\"inline-block\",lineHeight:1,whiteSpace:\"nowrap\"},children:atcCurrentLabel},atcCurrentLabel)})})]});}function buttonBaseStyle(opts){return{height:opts.height,minHeight:opts.height,// flexShrink:0 here guarantees the height is never compressed by a\n// stacked (column) flex parent. Width flex is set per-button via itemLayout.\nflexShrink:0,padding:`0 ${opts.paddingHorizontal}px`,background:opts.background,color:opts.color,borderWidth:opts.borderWidth,borderStyle:\"solid\",borderColor:opts.borderColor,borderRadius:opts.borderRadius,display:\"flex\",alignItems:\"center\",justifyContent:\"center\",boxSizing:\"border-box\",transition:\"background 180ms cubic-bezier(0.23, 1, 0.32, 1), color 180ms cubic-bezier(0.23, 1, 0.32, 1), border-color 180ms cubic-bezier(0.23, 1, 0.32, 1)\",fontFamily:\"'Instrument Sans', sans-serif\",fontSize:opts.fontSize,fontWeight:opts.fontWeight,letterSpacing:opts.letterSpacing,textTransform:opts.textTransform,lineHeight:1,whiteSpace:\"nowrap\",overflow:\"hidden\",textOverflow:\"ellipsis\"};}ShopCardCTA.defaultProps={productName:\"Product\",productSlug:\"\",hasVariants:false,slots:1,v1WooId:0,v1Price:0,v1Image:null,v1InStock:true,productPathPrefix:\"/peptides/\",viewDetailsLabel:\"View Details\",atcLabel:\"Add to Cart\",addedLabel:\"Added ✓\",addAnotherLabel:\"Add Another\",outOfStockLabel:\"Out of Stock\",selectDoseLabel:\"Select Dose\",mobileBreakpoint:810,directionDesktop:\"row\",directionMobile:\"column\",heightDesktop:44,heightMobile:48,gapDesktop:10,gapMobile:8,fontSizeDesktop:14,fontSizeMobile:14,paddingHDesktop:16,paddingHMobile:14,viewDetailsFlex:1,atcFlex:1,secondaryBackground:\"#1A1A1A\",secondaryHoverBackground:\"\",secondaryTextColor:\"#FFFFFF\",secondaryBorderColor:\"rgba(255,255,255,0.10)\",secondaryBorderWidth:1,primaryBackground:\"#FFFFFF\",primaryHoverBackground:\"\",primaryTextColor:\"#09090A\",primaryBorderColor:\"#FFFFFF\",primaryBorderWidth:1,addedBackground:\"#CBFF0F\",addedHoverBackground:\"\",addedTextColor:\"#000000\",addedBorderColor:\"#CBFF0F\",variantBackground:\"#FFFFFF\",variantHoverBackground:\"\",variantTextColor:\"#09090A\",variantBorderColor:\"#FFFFFF\",variantBorderWidth:1,disabledBackground:\"rgba(255,255,255,0.04)\",disabledTextColor:\"rgba(255,255,255,0.2)\",disabledBorderColor:\"rgba(255,255,255,0.06)\",borderRadius:12,fontWeight:600,letterSpacing:\"0.02em\",textTransform:\"none\"};addPropertyControls(ShopCardCTA,{// ─── PRODUCT IDENTITY ────────────────────────────────────────────\nproductName:{type:ControlType.String,title:\"Product Name\",defaultValue:\"Product\",description:\"Connect to CMS `name`\"},productSlug:{type:ControlType.String,title:\"Slug\",defaultValue:\"\",description:\"Connect to CMS `slug`\"},productPathPrefix:{type:ControlType.String,title:\"Path Prefix\",defaultValue:\"/peptides/\",description:\"URL prefix for product pages. Used by View Details + Select Dose.\"},// ─── VARIANT STATE ───────────────────────────────────────────────\nhasVariants:{type:ControlType.Boolean,title:\"Has Variants\",defaultValue:false,enabledTitle:\"Yes\",disabledTitle:\"No\",description:\"When Yes, renders single 'Select Dose' button instead of View Details + ATC pair.\"},slots:{type:ControlType.Number,title:\"Slots\",defaultValue:1,min:1,max:5,step:1,displayStepper:true,description:\"Connect to CMS `numVariants`.\"},// ─── V1 DATA (single-variant ATC) ───────────────────────────────\nv1WooId:{type:ControlType.Number,title:\"V1 WooID\",defaultValue:0,min:0,step:1,description:\"Connect to CMS `variant1_WooId`\",hidden:p=>p.hasVariants&&Number(p.slots)>1},v1Price:{type:ControlType.Number,title:\"V1 Price (fallback)\",defaultValue:0,min:0,step:.01,unit:\"$\",description:\"Connect to CMS `variant1_Price`\",hidden:p=>p.hasVariants&&Number(p.slots)>1},v1Image:{type:ControlType.ResponsiveImage,title:\"V1 Image\",description:\"Connect to CMS `variant1_Image`\",hidden:p=>p.hasVariants&&Number(p.slots)>1},v1InStock:{type:ControlType.Boolean,title:\"V1 In Stock (fallback)\",defaultValue:true,description:\"Connect to CMS `variant1_InStock`\",hidden:p=>p.hasVariants&&Number(p.slots)>1},// ─── LABELS ──────────────────────────────────────────────────────\nviewDetailsLabel:{type:ControlType.String,title:\"View Details Label\",defaultValue:\"View Details\"},atcLabel:{type:ControlType.String,title:\"ATC Label\",defaultValue:\"Add to Cart\"},addedLabel:{type:ControlType.String,title:\"Added Label\",defaultValue:\"Added ✓\"},addAnotherLabel:{type:ControlType.String,title:\"Add Another\",defaultValue:\"Add Another\"},outOfStockLabel:{type:ControlType.String,title:\"OOS Label\",defaultValue:\"Out of Stock\"},selectDoseLabel:{type:ControlType.String,title:\"Select Dose Label\",defaultValue:\"Select Dose\",description:\"Shown on variant products instead of the pair.\"},// ─── RESPONSIVE LAYOUT ───────────────────────────────────────────\nmobileBreakpoint:{type:ControlType.Number,title:\"Mobile ≤\",defaultValue:810,min:320,max:1400,step:10,unit:\"px\",description:\"Viewport width at or below which the Mobile values apply. 810 = Framer's tablet/phone boundary.\"},directionDesktop:{type:ControlType.Enum,title:\"Layout \\xb7 Desktop\",options:[\"row\",\"column\"],optionTitles:[\"Side by side\",\"Stacked\"],defaultValue:\"row\",displaySegmentedControl:true,hidden:p=>p.hasVariants&&Number(p.slots)>1},directionMobile:{type:ControlType.Enum,title:\"Layout \\xb7 Mobile\",options:[\"row\",\"column\"],optionTitles:[\"Side by side\",\"Stacked\"],defaultValue:\"column\",displaySegmentedControl:true,hidden:p=>p.hasVariants&&Number(p.slots)>1},heightDesktop:{type:ControlType.Number,title:\"Height \\xb7 Desktop\",defaultValue:44,min:28,max:80,step:1,unit:\"px\"},heightMobile:{type:ControlType.Number,title:\"Height \\xb7 Mobile\",defaultValue:48,min:28,max:80,step:1,unit:\"px\",description:\"A taller tap target (≥44px) is recommended on mobile.\"},gapDesktop:{type:ControlType.Number,title:\"Gap \\xb7 Desktop\",defaultValue:10,min:0,max:32,step:1,unit:\"px\",hidden:p=>p.hasVariants&&Number(p.slots)>1},gapMobile:{type:ControlType.Number,title:\"Gap \\xb7 Mobile\",defaultValue:8,min:0,max:32,step:1,unit:\"px\",hidden:p=>p.hasVariants&&Number(p.slots)>1},fontSizeDesktop:{type:ControlType.Number,title:\"Font \\xb7 Desktop\",defaultValue:14,min:10,max:24,step:1,unit:\"px\"},fontSizeMobile:{type:ControlType.Number,title:\"Font \\xb7 Mobile\",defaultValue:14,min:10,max:24,step:1,unit:\"px\"},paddingHDesktop:{type:ControlType.Number,title:\"Padding H \\xb7 Desktop\",defaultValue:16,min:0,max:48,step:1,unit:\"px\"},paddingHMobile:{type:ControlType.Number,title:\"Padding H \\xb7 Mobile\",defaultValue:14,min:0,max:48,step:1,unit:\"px\"},viewDetailsFlex:{type:ControlType.Number,title:\"View Details Width\",defaultValue:1,min:.5,max:3,step:.1,description:\"Flex grow value when side by side. Higher = wider relative to ATC.\",hidden:p=>p.hasVariants&&Number(p.slots)>1},atcFlex:{type:ControlType.Number,title:\"ATC Width\",defaultValue:1,min:.5,max:3,step:.1,description:\"Flex grow value when side by side. Higher = wider relative to View Details.\",hidden:p=>p.hasVariants&&Number(p.slots)>1},// ─── SECONDARY (View Details) ───────────────────────────────────\nsecondaryBackground:{type:ControlType.Color,title:\"Secondary BG\",defaultValue:\"#1A1A1A\"},secondaryHoverBackground:{type:ControlType.Color,title:\"Secondary Hover BG\",defaultValue:\"\",description:\"Leave empty to auto-derive from base.\"},secondaryTextColor:{type:ControlType.Color,title:\"Secondary Text\",defaultValue:\"#FFFFFF\"},secondaryBorderColor:{type:ControlType.Color,title:\"Secondary Border\",defaultValue:\"rgba(255,255,255,0.10)\"},secondaryBorderWidth:{type:ControlType.Number,title:\"Secondary Border W\",defaultValue:1,min:0,max:4,step:1},// ─── PRIMARY (Add to Cart) ──────────────────────────────────────\nprimaryBackground:{type:ControlType.Color,title:\"Primary BG\",defaultValue:\"#FFFFFF\"},primaryHoverBackground:{type:ControlType.Color,title:\"Primary Hover BG\",defaultValue:\"\",description:\"Leave empty to auto-derive from base.\"},primaryTextColor:{type:ControlType.Color,title:\"Primary Text\",defaultValue:\"#09090A\"},primaryBorderColor:{type:ControlType.Color,title:\"Primary Border\",defaultValue:\"#FFFFFF\"},primaryBorderWidth:{type:ControlType.Number,title:\"Primary Border W\",defaultValue:1,min:0,max:4,step:1},// ─── ADDED STATE ────────────────────────────────────────────────\naddedBackground:{type:ControlType.Color,title:\"Added BG\",defaultValue:\"#CBFF0F\"},addedHoverBackground:{type:ControlType.Color,title:\"Added Hover BG\",defaultValue:\"\",description:\"Leave empty to auto-derive from base.\"},addedTextColor:{type:ControlType.Color,title:\"Added Text\",defaultValue:\"#000000\"},addedBorderColor:{type:ControlType.Color,title:\"Added Border\",defaultValue:\"#CBFF0F\"},// ─── VARIANT PRIMARY (Select Dose) ──────────────────────────────\nvariantBackground:{type:ControlType.Color,title:\"Variant BG\",defaultValue:\"#FFFFFF\"},variantHoverBackground:{type:ControlType.Color,title:\"Variant Hover BG\",defaultValue:\"\",description:\"Leave empty to auto-derive from base.\"},variantTextColor:{type:ControlType.Color,title:\"Variant Text\",defaultValue:\"#09090A\"},variantBorderColor:{type:ControlType.Color,title:\"Variant Border\",defaultValue:\"#FFFFFF\"},variantBorderWidth:{type:ControlType.Number,title:\"Variant Border W\",defaultValue:1,min:0,max:4,step:1},// ─── DISABLED ───────────────────────────────────────────────────\ndisabledBackground:{type:ControlType.Color,title:\"Disabled BG\",defaultValue:\"rgba(255,255,255,0.04)\"},disabledTextColor:{type:ControlType.Color,title:\"Disabled Text\",defaultValue:\"rgba(255,255,255,0.2)\"},disabledBorderColor:{type:ControlType.Color,title:\"Disabled Border\",defaultValue:\"rgba(255,255,255,0.06)\"},// ─── SHARED SHAPE & TYPOGRAPHY ──────────────────────────────────\nborderRadius:{type:ControlType.Number,title:\"Radius\",defaultValue:12,min:0,max:999,step:1,unit:\"px\"},fontWeight:{type:ControlType.Number,title:\"Font Weight\",defaultValue:600,min:300,max:800,step:100},letterSpacing:{type:ControlType.String,title:\"Letter Spacing\",defaultValue:\"0.02em\"},textTransform:{type:ControlType.Enum,title:\"Text Transform\",options:[\"none\",\"uppercase\",\"lowercase\",\"capitalize\"],optionTitles:[\"None\",\"Uppercase\",\"Lowercase\",\"Capitalize\"],defaultValue:\"none\"}});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"ShopCardCTA\",\"slots\":[],\"annotations\":{\"framerSupportedLayoutHeight\":\"any-prefer-fixed\",\"framerSupportedLayoutWidth\":\"any\",\"framerContractVersion\":\"1\",\"framerIntrinsicWidth\":\"320\",\"framerIntrinsicHeight\":\"44\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}","// ShopCardPrice.tsx\n//\n// Variant-aware price display for shop grid cards.\n//\n// SINGLE-VARIANT  (hasVariants = false):\n//   Shows just the price, e.g. \"$65\"\n//   Fetches live price for v1WooId from Cloudflare Worker.\n//\n// MULTI-VARIANT   (hasVariants = true):\n//   Three layout presets — pick via \"Layout Style\":\n//\n//   INLINE   →  From $89                    (one line, classic DTC)\n//   STACKED  →  FROM                        (editorial, two-line)\n//               $89\n//   RANGE    →  $89 - $249                  (transparent, shows full range)\n//\n//   Preset sets sensible defaults for each layout. Individual prop overrides\n//   (color/size/weight/tracking/gap) still apply if set explicitly.\nimport{jsx as _jsx,jsxs as _jsxs}from\"react/jsx-runtime\";import{addPropertyControls,ControlType}from\"framer\";import{motion,AnimatePresence}from\"framer-motion\";import{useEffect,useMemo,useState}from\"react\";const WORKER_BASE=\"https://axos-woo-proxy.julian-a94.workers.dev\";/**\n * @framerSupportedLayoutWidth any\n * @framerSupportedLayoutHeight auto\n * @framerIntrinsicWidth 120\n * @framerIntrinsicHeight 36\n */export default function ShopCardPrice(props){const{// Variant state\nhasVariants=false,slots=1,// Variant prices\nv1WooId=0,v1Price=0,v2Price=0,v3Price=0,v4Price=0,v5Price=0,// Layout style preset (variants only)\nlayoutStyle=\"inline\",// Display\nfromLabel=\"From\",rangeSeparator=\" — \",prefix=\"$\",decimals=0,// Typography — price\nfontSize=22,fontWeight=700,color=\"#FFFFFF\",// Typography — From label\nfromColor=\"rgba(255,255,255,0.7)\",fromSize=12,fromWeight=600,fromLetterSpacing=\"0.08em\",fromGap=8,// Skeleton\nshowSkeleton=true,skeletonColor=\"rgba(255,255,255,0.06)\",style}=props;// Coerce to number — Framer can occasionally pass these as strings\n// from CMS bindings, which would silently break font-size.\nconst numFromSize=Number(fromSize)||12;const numFromWeight=Number(fromWeight)||600;const numFromGap=Number(fromGap)||0;const numFontSize=Number(fontSize)||22;const numFontWeight=Number(fontWeight)||700;const numDecimals=Number(decimals)||0;const isSingleVariant=!hasVariants||Number(slots)<=1;const slotCount=Math.max(1,Math.min(5,Number(slots)||1));const[livePrice,setLivePrice]=useState(null);const[fetchLoading,setFetchLoading]=useState(false);const fetchableWooId=isSingleVariant?Number(v1WooId)||0:0;useEffect(()=>{if(!fetchableWooId||fetchableWooId===0)return;setFetchLoading(true);fetch(`${WORKER_BASE}/product/${fetchableWooId}`).then(r=>r.json()).then(data=>{if(typeof data.price===\"number\")setLivePrice(data.price);}).catch(()=>{}).finally(()=>setFetchLoading(false));},[fetchableWooId]);// ─── Compute prices ─────────────────────────────────────────────\nconst{lowPrice,highPrice}=useMemo(()=>{if(isSingleVariant){const single=livePrice!==null?livePrice:Number(v1Price)||0;return{lowPrice:single,highPrice:single};}const raw=[v1Price,v2Price,v3Price,v4Price,v5Price].slice(0,slotCount).map(p=>Number(p)||0).filter(p=>p>0);if(raw.length===0)return{lowPrice:0,highPrice:0};return{lowPrice:Math.min(...raw),highPrice:Math.max(...raw)};},[isSingleVariant,livePrice,v1Price,v2Price,v3Price,v4Price,v5Price,slotCount]);const formatPrice=p=>`${prefix}${Number(p).toFixed(numDecimals)}`;// Whether to show variant treatment at all\nconst showVariantTreatment=!isSingleVariant&&lowPrice>0;const isLoading=showSkeleton&&isSingleVariant&&fetchLoading&&livePrice===null&&(Number(v1Price)||0)===0;// ─── Render layout based on preset ─────────────────────────────\nconst renderContent=()=>{// Single-variant: just the price\nif(!showVariantTreatment){return /*#__PURE__*/_jsx(\"span\",{style:getPriceTextStyle(numFontSize,numFontWeight,color),children:formatPrice(lowPrice)});}// Multi-variant: branch by layout style\nif(layoutStyle===\"range\"){// Range: $89 — $249, no \"From\" label\nconst sameLow=lowPrice===highPrice;return /*#__PURE__*/_jsx(\"span\",{style:getPriceTextStyle(numFontSize,numFontWeight,color),children:sameLow?formatPrice(lowPrice):`${formatPrice(lowPrice)}${rangeSeparator}${formatPrice(highPrice)}`});}if(layoutStyle===\"stacked\"){// Stacked: FROM label above, price below\nreturn /*#__PURE__*/_jsxs(\"div\",{style:{display:\"flex\",flexDirection:\"column\",gap:Math.max(2,Math.round(numFromGap/2)),alignItems:\"flex-start\",lineHeight:1},children:[/*#__PURE__*/_jsx(\"span\",{style:getFromTextStyle({color:fromColor,size:numFromSize,weight:numFromWeight,letterSpacing:fromLetterSpacing}),children:fromLabel}),/*#__PURE__*/_jsx(\"span\",{style:getPriceTextStyle(numFontSize,numFontWeight,color),children:formatPrice(lowPrice)})]});}// Default: inline — From $89\nreturn /*#__PURE__*/_jsxs(\"span\",{style:{display:\"inline-flex\",alignItems:\"baseline\",gap:numFromGap},children:[/*#__PURE__*/_jsx(\"span\",{style:getFromTextStyle({color:fromColor,size:numFromSize,weight:numFromWeight,letterSpacing:fromLetterSpacing}),children:fromLabel}),/*#__PURE__*/_jsx(\"span\",{style:getPriceTextStyle(numFontSize,numFontWeight,color),children:formatPrice(lowPrice)})]});};// Container layout: column for stacked, inline-flex for everything else\nconst isStacked=showVariantTreatment&&layoutStyle===\"stacked\";return /*#__PURE__*/_jsxs(\"div\",{style:{display:isStacked?\"flex\":\"inline-flex\",alignItems:isStacked?\"flex-start\":\"baseline\",fontFamily:\"'Sora', sans-serif\",lineHeight:1,...style},children:[/*#__PURE__*/_jsx(\"style\",{children:`\n                @import url('https://fonts.googleapis.com/css2?family=Sora:wght@600;700;800&family=Instrument+Sans:wght@500;600&display=swap');\n                @keyframes scp-skel {\n                    0%, 100% { opacity: 0.5; }\n                    50% { opacity: 1; }\n                }\n            `}),/*#__PURE__*/_jsx(AnimatePresence,{mode:\"wait\",initial:false,children:isLoading?/*#__PURE__*/_jsx(motion.div,{initial:{opacity:0},animate:{opacity:1},exit:{opacity:0},transition:{duration:.15},style:{width:80,height:numFontSize*.85,borderRadius:6,background:skeletonColor,animation:\"scp-skel 1.4s ease-in-out infinite\",display:\"inline-block\"}},\"skel\"):/*#__PURE__*/_jsx(motion.div,{initial:{opacity:0,y:3},animate:{opacity:1,y:0},exit:{opacity:0,y:-3},transition:{duration:.18,ease:[.23,1,.32,1]},style:{display:isStacked?\"block\":\"inline-block\",lineHeight:1},children:renderContent()},`price-${lowPrice}-${highPrice}-${layoutStyle}-${showVariantTreatment}-${numFromSize}-${numFromWeight}-${numFontSize}`)})]});}// ─── Style builders ────────────────────────────────────────────────\nfunction getPriceTextStyle(size,weight,col){return{fontFamily:\"'Sora', sans-serif\",fontSize:size,fontWeight:weight,color:col,letterSpacing:\"-0.02em\",lineHeight:1,fontVariantNumeric:\"tabular-nums\",display:\"inline-block\"};}function getFromTextStyle(opts){return{fontFamily:\"'Instrument Sans', sans-serif\",fontSize:opts.size,fontWeight:opts.weight,color:opts.color,letterSpacing:opts.letterSpacing,textTransform:\"uppercase\",lineHeight:1,display:\"inline-block\"};}ShopCardPrice.defaultProps={hasVariants:false,slots:1,v1WooId:0,v1Price:0,v2Price:0,v3Price:0,v4Price:0,v5Price:0,layoutStyle:\"inline\",fromLabel:\"From\",rangeSeparator:\" — \",prefix:\"$\",decimals:0,fontSize:22,fontWeight:700,color:\"#FFFFFF\",fromColor:\"rgba(255,255,255,0.7)\",fromSize:12,fromWeight:600,fromLetterSpacing:\"0.08em\",fromGap:8,showSkeleton:true,skeletonColor:\"rgba(255,255,255,0.06)\"};const slotHidden=n=>p=>{if(!p.hasVariants)return n>1;const s=Number(p.slots);if(isNaN(s))return false;return s<n;};// Hide \"From\" controls when layout is Range (no From label in range mode)\n// Or when there are no variants at all\nconst fromControlHidden=p=>{if(!p.hasVariants)return true;if(p.layoutStyle===\"range\")return true;return false;};addPropertyControls(ShopCardPrice,{hasVariants:{type:ControlType.Boolean,title:\"Has Variants\",defaultValue:false,enabledTitle:\"Yes\",disabledTitle:\"No\",description:\"Connect to CMS `hasVariants`. When Yes, applies variant layout style.\"},slots:{type:ControlType.Number,title:\"Slots\",defaultValue:1,min:1,max:5,step:1,displayStepper:true,description:\"Connect to CMS `numVariants`.\"},v1WooId:{type:ControlType.Number,title:\"V1 WooID\",defaultValue:0,min:0,step:1,description:\"Connect to CMS `variant1_WooId`. Used for live price fetch (single-variant only).\"},v1Price:{type:ControlType.Number,title:\"V1 Price\",defaultValue:0,min:0,step:.01,unit:\"$\",description:\"Connect to CMS `variant1_Price`\"},v2Price:{type:ControlType.Number,title:\"V2 Price\",defaultValue:0,min:0,step:.01,unit:\"$\",description:\"Connect to CMS `variant2_Price`\",hidden:slotHidden(2)},v3Price:{type:ControlType.Number,title:\"V3 Price\",defaultValue:0,min:0,step:.01,unit:\"$\",description:\"Connect to CMS `variant3_Price`\",hidden:slotHidden(3)},v4Price:{type:ControlType.Number,title:\"V4 Price\",defaultValue:0,min:0,step:.01,unit:\"$\",hidden:slotHidden(4)},v5Price:{type:ControlType.Number,title:\"V5 Price\",defaultValue:0,min:0,step:.01,unit:\"$\",hidden:slotHidden(5)},// ─── LAYOUT STYLE PRESET ───────────────────────────────────────\nlayoutStyle:{type:ControlType.Enum,title:\"Layout Style\",defaultValue:\"inline\",options:[\"inline\",\"stacked\",\"range\"],optionTitles:[\"Inline (From $89)\",\"Stacked (FROM / $89)\",\"Range ($89—$249)\"],displaySegmentedControl:false,description:\"How the variant price displays. Single-variant always shows just the price.\",hidden:p=>!p.hasVariants},fromLabel:{type:ControlType.String,title:\"From Text\",defaultValue:\"From\",hidden:fromControlHidden},rangeSeparator:{type:ControlType.String,title:\"Range Separator\",defaultValue:\" — \",description:\"Character(s) between low and high price. e.g. ' — ', ' to ', '–'.\",hidden:p=>!p.hasVariants||p.layoutStyle!==\"range\"},prefix:{type:ControlType.String,title:\"Currency\",defaultValue:\"$\"},decimals:{type:ControlType.Number,title:\"Decimals\",defaultValue:0,min:0,max:2,step:1,displayStepper:true},// ─── Price typography ──────────────────────────────────────────\nfontSize:{type:ControlType.Number,title:\"Price Size\",defaultValue:22,min:8,max:120,step:1,unit:\"px\",displayStepper:true},fontWeight:{type:ControlType.Number,title:\"Price Weight\",defaultValue:700,min:100,max:900,step:100,displayStepper:true},color:{type:ControlType.Color,title:\"Price Color\",defaultValue:\"#FFFFFF\"},// ─── 'From' typography ─────────────────────────────────────────\nfromColor:{type:ControlType.Color,title:\"'From' Color\",defaultValue:\"rgba(255,255,255,0.7)\",hidden:fromControlHidden},fromSize:{type:ControlType.Number,title:\"'From' Size\",defaultValue:12,min:6,max:80,step:1,unit:\"px\",displayStepper:true,hidden:fromControlHidden},fromWeight:{type:ControlType.Number,title:\"'From' Weight\",defaultValue:600,min:100,max:900,step:100,displayStepper:true,hidden:fromControlHidden},fromLetterSpacing:{type:ControlType.String,title:\"'From' Tracking\",defaultValue:\"0.08em\",description:\"Letter spacing CSS value, e.g. '0.08em' or '1px'\",hidden:fromControlHidden},fromGap:{type:ControlType.Number,title:\"'From' Gap\",defaultValue:8,min:0,max:48,step:1,unit:\"px\",displayStepper:true,description:\"Inline: horizontal gap. Stacked: vertical gap (auto-halved).\",hidden:fromControlHidden},showSkeleton:{type:ControlType.Boolean,title:\"Loading Skeleton\",defaultValue:true},skeletonColor:{type:ControlType.Color,title:\"Skeleton Color\",defaultValue:\"rgba(255,255,255,0.06)\",hidden:p=>!p.showSkeleton}});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"ShopCardPrice\",\"slots\":[],\"annotations\":{\"framerIntrinsicHeight\":\"36\",\"framerSupportedLayoutWidth\":\"any\",\"framerSupportedLayoutHeight\":\"auto\",\"framerContractVersion\":\"1\",\"framerIntrinsicWidth\":\"120\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./ShopCardPrice.map"],"mappings":"2VAsBA,SAAS,EAAW,EAAM,CAAC,GAAG,CAAC,GAAO,OAAO,GAAQ,SAAS,OAAO,KAAK,IAAM,EAAQ,EAAM,MAAM,CAAC,aAAa,CAAC,GAAG,EAAQ,WAAW,IAAI,CAAC,CAAC,IAAI,EAAI,EAAQ,MAAM,EAAE,CAAqR,OAAjR,EAAI,SAAS,IAAG,EAAI,EAAI,MAAM,GAAG,CAAC,IAAI,GAAG,EAAE,EAAE,CAAC,KAAK,GAAG,EAAK,EAAI,SAAS,GAAG,EAAI,SAAS,EAA8K,CAAC,EAApK,SAAS,EAAI,MAAM,EAAE,EAAE,CAAC,GAAG,CAA2I,EAAlI,SAAS,EAAI,MAAM,EAAE,EAAE,CAAC,GAAG,CAAyG,EAAhG,SAAS,EAAI,MAAM,EAAE,EAAE,CAAC,GAAG,CAAuE,EAA9D,EAAI,SAAS,EAAE,SAAS,EAAI,MAAM,EAAE,EAAE,CAAC,GAAG,CAAC,IAAI,EAAiB,CAAS,KAAM,IAAM,EAAE,EAAQ,MAAM,qBAAqB,CAAC,GAAG,EAAE,CAAC,IAAM,EAAM,EAAE,GAAG,MAAM,IAAI,CAAC,IAAI,GAAG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