{"version":3,"file":"Price_Calculation_Handler.Ba5Spfeo.mjs","names":["resolveUnitPrice","useState","safeLocalStorage","_Fragment","useState","useState"],"sources":["https:/framerusercontent.com/modules/hH5ZdKkfYsdiKPjFg9On/yaYi8bQqvugAquRjVAfX/Cart_View.js","https:/framerusercontent.com/modules/vj7bFUjvEQFgEzNBkdoG/vf3CKm378wlVcBk7IhSU/createStore.js","https:/framer.com/m/framer/store.js@^1.0.0","https:/framerusercontent.com/modules/P74yOCgirLgXTjyXgFfH/tl1SQH9C0na0uXd9bIKg/Price_Calculation_Handler.js"],"sourcesContent":["import{jsx as _jsx,jsxs as _jsxs,Fragment as _Fragment}from\"react/jsx-runtime\";import{addPropertyControls,ControlType}from\"framer\";import{useEffect,useState}from\"react\";const safeLocalStorage={getItem:key=>{if(typeof window===\"undefined\")return null;try{return window.localStorage.getItem(key);}catch{return null;}},// Returns whether the write landed. Callers that tell the customer their\n// cart changed must check it — a swallowed quota/private-mode failure\n// otherwise updates the UI and silently reverts on the next poll.\nsetItem:(key,value)=>{if(typeof window===\"undefined\")return false;try{window.localStorage.setItem(key,value);return true;}catch{return false;}},removeItem:key=>{if(typeof window===\"undefined\")return;try{window.localStorage.removeItem(key);}catch{}}};/**\n * Cart items live in localStorage and outlive every deploy: an item written\n * weeks ago by an older component version is still read by today's code, and\n * a tab left open overnight re-reads it after a publish. So nothing in a\n * stored item may be trusted to be the type this file expects.\n *\n * The concrete production failure this guards against: an item was written\n * with an unusable price, and `JSON.stringify` does not round-trip those —\n * `undefined` makes the key vanish entirely and `NaN` is written as `null`.\n * On the next read `product.price.toFixed(2)` threw \"undefined is not an\n * object\", which crashed Cart_View for the WHOLE cart (all four items) and\n * blanked the checkout page's Order Summary. One bad item took out checkout.\n *\n * Exported for unit tests.\n */export const toFiniteNumber=value=>{const n=typeof value===\"number\"?value:parseFloat(value);return Number.isFinite(n)?n:null;};/**\n * Best-effort unit price for a stored cart item.\n *\n * Falls back to totalPrice / quantity when `price` itself is unusable, and\n * returns null when nothing in the item yields a usable number. Null is\n * rendered as \"—\", never as 0.00 — an item we cannot price must not be shown\n * as free.\n *\n * A stored 0 counts as unusable, not as free. Nothing on this menu is\n * legitimately $0 (create-order-and-pay rejects any Clover line item under 50\n * cents), and 0 is exactly what the broken paths produce: the old store\n * default, and create-order-and-pay's resolvePrice() returning 0 for a name\n * Clover could not match, which is then rehydrated into localStorage by the\n * retry link. Treating it as a real price is the worst outcome available —\n * the line shows $0.00, passes checkout's price gate, and Clover charges full\n * price.\n *\n * Exported for unit tests.\n */export function resolveUnitPrice(item){const direct=toFiniteNumber(item?.price);if(direct!==null&&direct>0)return direct;const total=toFiniteNumber(item?.totalPrice);const quantity=toFiniteNumber(item?.quantity);if(total!==null&&total>0&&quantity!==null&&quantity>0){return total/quantity;}return null;}/**\n * Coerce whatever is in localStorage into an array of renderable cart items.\n *\n * Repairs what can be repaired rather than dropping or silently altering the\n * customer's cart: a recoverable price is written back as a number, string\n * numbers are coerced so the components that do bare arithmetic on them get a\n * number, and a missing `uid` is filled in — without one, React keys collide\n * AND handleProductDelete(undefined) would delete every uid-less item at once.\n * Items that cannot be priced at all are kept and shown with \"—\" so the\n * customer can see and remove them.\n *\n * Quantity is only repaired when it is unusable (missing, non-numeric, < 1).\n * An out-of-range quantity is NOT trimmed to 99: the counter already caps\n * increments, and silently cutting 150 down to 99 would change what the\n * customer ordered without telling them.\n *\n * Deliberately pure and deterministic — it runs on a 500ms poll, so a random\n * uid here would change `key` on every tick and remount the whole list.\n *\n * Returns the items plus whether anything changed, so the caller can persist\n * the repair once instead of on every poll.\n *\n * Exported for unit tests.\n */export function normalizeCartItems(raw){if(!Array.isArray(raw))return{items:[],changed:false};let changed=false;const objects=raw.filter(item=>item&&typeof item===\"object\");if(objects.length!==raw.length){// Hiding junk from this component is not enough — it stays in storage,\n// where Cart_Preview's `savedData.map(item => item.quantity)` throws on\n// it and item-id-mapper rejects the whole order with \"Cart item missing\n// both productName and name\". Persist the removal.\nchanged=true;}const items=objects.map((item,index)=>{const repaired={...item};const quantity=toFiniteNumber(item.quantity);const safeQuantity=quantity!==null&&quantity>=1?Math.floor(quantity):1;if(safeQuantity!==item.quantity){repaired.quantity=safeQuantity;changed=true;}// Only ever recover a price, never invent one. The coercion also\n// covers a numeric STRING price, which every consumer that does\n// `price * quantity` would otherwise mishandle.\nconst unitPrice=resolveUnitPrice(item);if(unitPrice!==null&&item.price!==unitPrice){repaired.price=unitPrice;changed=true;}if(unitPrice!==null){const expectedTotal=parseFloat((unitPrice*safeQuantity).toFixed(2));if(item.totalPrice!==expectedTotal){repaired.totalPrice=expectedTotal;changed=true;}}if(!repaired.uid){// Derived, not random, so it is stable across polls. Only\n// legacy and retry-rehydrated items land here; everything\n// written by Add_To_Cart_Handler already carries a uid.\nrepaired.uid=`legacy-${index}-${item.productId||item.productName||\"item\"}`;changed=true;}return repaired;});return{items,changed};}export default function Cart_View(props){const[products,setProducts]=useState([]);// True when we had to discard an unreadable cart — the customer needs to\n// know their items are gone, not assume they never added any.\nconst[wasReset,setWasReset]=useState(false);const[currencySymbol,setCurrencySymbol]=useState(\"$\");const[currencyPosition,setCurrencyPosition]=useState(true);// View-only when the customer is retrying an unpaid Clover order. The\n// order total is frozen server-side, so editing the cart here would let\n// them see one total while paying another.\nconst isRetryMode=typeof window!==\"undefined\"&&/[?&]retry=/.test(window.location.search);// Load currency settings — default to a leading \"$\"; guard against the\n// literal strings \"null\"/\"undefined\" ever having been stored.\nuseEffect(()=>{if(typeof window!==\"undefined\"){const stored=safeLocalStorage.getItem(\"currency-symbol\");const poisoned=!stored||stored===\"null\"||stored===\"undefined\";const symbol=poisoned?\"$\":stored;// Repair the key, not just our own read of it. The stored value\n// is shared with cart components that are not in this repo and\n// do not guard it — the literal string \"null\" is what rendered\n// the drawer's \"Subtotal: NaNnull\".\nif(poisoned&&stored!==null){safeLocalStorage.setItem(\"currency-symbol\",symbol);}const isPrefix=safeLocalStorage.getItem(\"currency-position\")!==\"false\";setCurrencySymbol(symbol);setCurrencyPosition(isPrefix);}},[]);// Update cart items from localStorage\nuseEffect(()=>{// Which raw string we have already repaired. Keyed on the content, not\n// a once-per-mount flag: a cart written AFTER mount (the retry flow\n// rehydrates one from the server) still needs repairing, while an\n// unchanged string is never rewritten on the 500ms poll.\nlet repairedRaw=null;// The unparseable string we have already reported and tried to clear.\nlet corruptSeen=null;const updateItemsFromStorage=()=>{const raw=safeLocalStorage.getItem(\"cart-items\")||\"[]\";let parsed=[];let corrupt=false;try{parsed=JSON.parse(raw);}catch{// Render an empty cart rather than throwing out of the interval\n// callback, where nothing can catch it.\ncorrupt=true;parsed=[];}const{items,changed}=normalizeCartItems(parsed);// A poisoned key must be overwritten, not just ignored: the cart\n// would look empty (nothing to delete) while CheckoutForm's own\n// JSON.parse kept throwing on every submit, with no way out.\nif(corrupt){if(corruptSeen!==raw){// Latch on the attempt, not on the write. If the write is\n// refused (private mode, quota) this would otherwise\n// re-log and re-write at 2Hz for as long as the page is\n// open.\ncorruptSeen=raw;// console.error, not the staging-only logger the sibling\n// components use — this one has to reach production. Log\n// the raw value before destroying it; it is the only\n// evidence of how the key got poisoned.\nconsole.error(\"[Cart_View] Corrupt cart-items JSON; resetting the cart. Raw value:\",raw.slice(0,500));// Keep a copy for support rather than deleting outright.\nsafeLocalStorage.setItem(\"cart-items-corrupt\",raw);// Only claim we cleared the cart if the write landed —\n// otherwise the key is still poisoned and saying \"we've\n// cleared it\" would be untrue.\nif(safeLocalStorage.setItem(\"cart-items\",\"[]\")){repairedRaw=raw;setWasReset(true);}}}else if(items.length>0){// They have rebuilt a cart, so the reset notice has served its\n// purpose. Without this it never clears, and the next time\n// they legitimately empty their cart they would be told we\n// had discarded it.\nsetWasReset(false);}if(!corrupt&&changed&&repairedRaw!==raw){// Persist the repair so the other components reading\n// \"cart-items\" (cart badge, drawer, checkout summary) see sane\n// numbers too — they cannot each be fixed from here.\nif(safeLocalStorage.setItem(\"cart-items\",JSON.stringify(items))){repairedRaw=raw;}}setProducts(items);};updateItemsFromStorage();const pollingInterval=setInterval(()=>{updateItemsFromStorage();},500);return()=>{clearInterval(pollingInterval);};},[]);// Format price with currency. A null price means \"we could not determine\n// this item's price\" — show that plainly instead of a misleading $0.00.\nconst formatPrice=price=>{if(price===null)return\"—\";const priceStr=price.toFixed(2);return currencyPosition?`${currencySymbol}${priceStr}`:`${priceStr}${currencySymbol}`;};// Extract variant option from product name or additionalData\nconst getVariantOption=product=>{// If we have a variant name, extract the option part\nif(typeof product.variantName===\"string\"&&product.variantName){const parts=product.variantName.split(\"/\");if(parts.length>=2){// Return everything after the last \"/\"\nconst option=parts[parts.length-1].trim();if(option)return option// Only return if not empty\n;}// If no slash or empty result, check if it's different from productName\nif(product.variantName!==product.productName){return product.variantName;}}// Fallback to Size from additionalData\nif(product.additionalData?.[0]?.Size){return product.additionalData[0].Size;}// No option found\nreturn\"\";};// Get clean product name (without variant suffix)\nconst getCleanProductName=product=>{// Both names have been absent in stored carts; a bare .split() here\n// would crash the cart exactly the way the price did.\nconst fullName=product.variantName||product.productName;if(typeof fullName!==\"string\"||!fullName)return\"Item\";// Pattern: \"Jollof Rice /Bulk Small Tray\"\n// We want to keep \"Jollof Rice /Bulk\" and remove \"Small Tray\"\nconst slashParts=fullName.split(\"/\");if(slashParts.length>=3){// \"Product Name /Bulk Small Tray\" -> \"Product Name /Bulk\"\nreturn`${slashParts[0].trim()} /${slashParts[1].trim()}`;}else if(slashParts.length===2){const secondPart=slashParts[1].trim();if(secondPart.includes(\" \")){// \"Product Name /Small Tray\" -> \"Product Name\"\nreturn slashParts[0].trim();}// \"Product Name /Bulk\" -> keep both\nreturn fullName;}return fullName;};// Handle quantity update\nconst handleUpdateQuantity=(uid,newQuantity)=>{if(newQuantity<1)return;// Block increases past 99, but always allow a decrease. A stored\n// quantity above 99 (which normalizeCartItems deliberately no longer\n// trims) would otherwise be stuck: the \"−\" button is enabled but a\n// flat `> 99` guard silently swallowed every click.\nconst current=products.find(product=>product.uid===uid);if(newQuantity>99&&newQuantity>=(current?.quantity??0))return;const updatedProducts=products.map(product=>{if(product.uid===uid){const unitPrice=resolveUnitPrice(product);// An item we cannot price keeps its quantity editable, but we\n// refuse to write a fabricated total for it.\nreturn unitPrice===null?{...product,quantity:newQuantity}:{...product,quantity:newQuantity,totalPrice:parseFloat((unitPrice*newQuantity).toFixed(2))};}return product;});setProducts(updatedProducts);safeLocalStorage.setItem(\"cart-items\",JSON.stringify(updatedProducts));};// Handle product delete\nconst handleProductDelete=uid=>{const updatedItems=products.filter(product=>product.uid!==uid);setProducts(updatedItems);safeLocalStorage.setItem(\"cart-items\",JSON.stringify(updatedItems));};const{containerStyle,imageStyle,titleStyle,priceStyle,optionStyle,quantityCounterStyles,layoutStyle}=props.styles;// Styles\nconst cartItemContainerStyles={width:\"100%\",height:\"fit-content\",padding:\"0px\",display:\"flex\",gap:`${layoutStyle?.itemGap||16}px`,borderBottom:`${containerStyle.borderWidth||1}px solid ${containerStyle.dividerColor}`,marginBottom:`${layoutStyle?.spaceBetweenItems||8}px`};const imageContainerStyles={backgroundColor:imageStyle.bgColor,width:`${imageStyle.width}px`,height:`${imageStyle.height}px`,minWidth:`${imageStyle.width}px`,flexShrink:0,padding:imageStyle.padding,borderRadius:imageStyle.borderRadius,overflow:\"hidden\"};const imageStyles={width:\"100%\",height:\"100%\",objectFit:imageStyle.fill,borderRadius:imageStyle.borderRadius};const contentWrapperStyles={display:\"flex\",flex:1,justifyContent:\"space-between\",gap:`${layoutStyle?.contentGap||24}px`,margin:\"8px\"};const textContainerStyles={display:\"flex\",flexDirection:\"column\",gap:`${layoutStyle?.textGap||8}px`,flex:1,justifyContent:\"center\"};const titlePriceRowStyles={display:\"flex\",flexDirection:\"row\",justifyContent:\"space-between\"};const nameStyles={margin:0,color:titleStyle.color,fontFamily:titleStyle.font.fontFamily,fontSize:titleStyle.font.fontSize,fontWeight:titleStyle.font.fontWeight,lineHeight:titleStyle.font.lineHeight};const priceStyles={color:priceStyle.color,margin:0,fontSize:priceStyle.font.fontSize,fontFamily:priceStyle.font.fontFamily,fontWeight:priceStyle.font.fontWeight,lineHeight:priceStyle.font.lineHeight};const optionStyles={color:optionStyle.color,fontSize:optionStyle.font.fontSize,fontFamily:optionStyle.font.fontFamily,fontWeight:optionStyle.font.fontWeight,lineHeight:optionStyle.font.lineHeight,margin:0};const optionLabelStyle={color:optionStyle.labelColor};const deleteButtonStyles={border:\"none\",cursor:\"pointer\",backgroundColor:\"transparent\",padding:\"4px\",display:\"flex\",alignItems:\"flex-start\",justifyContent:\"center\"};// Counter styles (matching Quantity_Counter component)\nconst counterContainerStyles={display:\"inline-flex\",alignItems:\"center\",gap:`${quantityCounterStyles?.gap||8}px`,padding:`${quantityCounterStyles?.padding?.top||4}px ${quantityCounterStyles?.padding?.right||4}px ${quantityCounterStyles?.padding?.bottom||4}px ${quantityCounterStyles?.padding?.left||4}px`,backgroundColor:quantityCounterStyles?.backgroundColor||\"#FFFFFF\",borderRadius:quantityCounterStyles?.containerBorderRadius||\"0px\",border:`${quantityCounterStyles?.borderWidth||1}px solid ${quantityCounterStyles?.borderColor||\"rgba(35, 35, 39, 0.2)\"}`,width:\"fit-content\"};const counterButtonStyles={width:`${quantityCounterStyles?.buttonSize||32}px`,height:`${quantityCounterStyles?.buttonSize||32}px`,display:\"flex\",justifyContent:\"center\",alignItems:\"center\",cursor:\"pointer\",border:\"none\",backgroundColor:quantityCounterStyles?.buttonBGColor||\"#F5F5F5\",borderRadius:`${quantityCounterStyles?.buttonBorderRadius||4}px`,transition:\"all 0.2s ease\"};const counterDisplayStyles={minWidth:`${quantityCounterStyles?.displayWidth||40}px`,textAlign:\"center\",fontSize:`${quantityCounterStyles?.fontSize||16}px`,fontFamily:quantityCounterStyles?.fontFamily||\"outfit, sans-serif\",fontWeight:quantityCounterStyles?.fontWeight||500,color:quantityCounterStyles?.textColor||\"#232327\",lineHeight:\"1.4\"};const iconColor=quantityCounterStyles?.iconColor||\"#232327\";const placeholderImage=\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='100' height='100' viewBox='0 0 100 100'%3E%3Crect fill='%23f0f0f0' width='100' height='100'/%3E%3Ctext x='50' y='50' font-size='14' text-anchor='middle' dominant-baseline='middle' fill='%23999'%3ENo Image%3C/text%3E%3C/svg%3E\";return products.length<1?/*#__PURE__*/_jsx(\"div\",{...props,style:{width:\"100%\",height:\"100%\",textAlign:\"center\"},children:/*#__PURE__*/_jsx(\"h3\",{style:{fontSize:\"24px\",color:\"#828282\",fontFamily:\"outfit, arial\",opacity:\"0.6\"},children:wasReset?\"We couldn't read your saved cart, so we've cleared it. Sorry — please add your items again.\":containerStyle?.emptyMessage||\"Your cart is empty!\"})}):/*#__PURE__*/_jsx(\"div\",{...props,style:{height:\"100%\",overflow:\"auto\"},children:products.map(product=>{const imageUrl=product.image||placeholderImage;const variantOption=getVariantOption(product);const cleanName=getCleanProductName(product);return /*#__PURE__*/_jsxs(\"div\",{style:cartItemContainerStyles,children:[/*#__PURE__*/_jsx(\"div\",{style:imageContainerStyles,children:/*#__PURE__*/_jsx(\"img\",{style:imageStyles,src:imageUrl,alt:cleanName,onError:e=>{e.target.src=placeholderImage;}})}),/*#__PURE__*/_jsxs(\"div\",{style:contentWrapperStyles,children:[/*#__PURE__*/_jsxs(\"div\",{style:textContainerStyles,children:[/*#__PURE__*/_jsxs(\"div\",{style:titlePriceRowStyles,children:[/*#__PURE__*/_jsx(\"h3\",{style:nameStyles,children:cleanName}),/*#__PURE__*/_jsx(\"h4\",{style:priceStyles,children:formatPrice(resolveUnitPrice(product))})]}),variantOption&&/*#__PURE__*/_jsxs(\"p\",{style:optionStyles,children:[\"Option:\",\" \",/*#__PURE__*/_jsx(\"span\",{style:optionLabelStyle,children:variantOption})]}),/*#__PURE__*/_jsx(\"div\",{style:counterContainerStyles,children:isRetryMode?// View-only quantity in retry mode.\n/*#__PURE__*/_jsxs(\"div\",{style:counterDisplayStyles,children:[\"\\xd7 \",product.quantity]}):/*#__PURE__*/_jsxs(_Fragment,{children:[/*#__PURE__*/_jsx(\"button\",{onClick:()=>{if(product.quantity>1){handleUpdateQuantity(product.uid,product.quantity-1);}},disabled:product.quantity<=1,style:{...counterButtonStyles,opacity:product.quantity<=1?.5:1,cursor:product.quantity<=1?\"not-allowed\":\"pointer\"},\"aria-label\":\"Decrease quantity\",children:/*#__PURE__*/_jsx(\"svg\",{xmlns:\"http://www.w3.org/2000/svg\",width:\"16\",height:\"16\",viewBox:\"0 0 16 16\",fill:\"none\",children:/*#__PURE__*/_jsx(\"path\",{d:\"M4 8H12\",stroke:iconColor,strokeWidth:\"2\",strokeLinecap:\"round\"})})}),/*#__PURE__*/_jsx(\"div\",{style:counterDisplayStyles,children:product.quantity}),/*#__PURE__*/_jsx(\"button\",{onClick:()=>{if(product.quantity<99){handleUpdateQuantity(product.uid,product.quantity+1);}},disabled:product.quantity>=99,style:{...counterButtonStyles,opacity:product.quantity>=99?.5:1,cursor:product.quantity>=99?\"not-allowed\":\"pointer\"},\"aria-label\":\"Increase quantity\",children:/*#__PURE__*/_jsx(\"svg\",{xmlns:\"http://www.w3.org/2000/svg\",width:\"16\",height:\"16\",viewBox:\"0 0 16 16\",fill:\"none\",children:/*#__PURE__*/_jsx(\"path\",{d:\"M8 4V12M4 8H12\",stroke:iconColor,strokeWidth:\"2\",strokeLinecap:\"round\"})})})]})})]}),!isRetryMode&&/*#__PURE__*/_jsx(\"button\",{onClick:()=>handleProductDelete(product.uid),style:deleteButtonStyles,children:/*#__PURE__*/_jsxs(\"svg\",{xmlns:\"http://www.w3.org/2000/svg\",width:\"24\",height:\"25\",viewBox:\"0 0 24 25\",fill:\"none\",children:[/*#__PURE__*/_jsx(\"mask\",{id:`mask_${product.uid}`,maskUnits:\"userSpaceOnUse\",x:\"0\",y:\"0\",width:\"24\",height:\"25\",children:/*#__PURE__*/_jsx(\"rect\",{y:\"0.5\",width:\"24\",height:\"24\",fill:\"#919199\"})}),/*#__PURE__*/_jsx(\"g\",{mask:`url(#mask_${product.uid})`,children:/*#__PURE__*/_jsx(\"path\",{d:\"M8.22707 17.3365L7.16357 16.273L10.9366 12.5L7.16357 8.75201L8.22707 7.68851L12.0001 11.4615L15.7481 7.68851L16.8116 8.75201L13.0386 12.5L16.8116 16.273L15.7481 17.3365L12.0001 13.5635L8.22707 17.3365Z\",fill:\"#919199\"})})]})})]})]},product.uid);})});}// Property Controls\naddPropertyControls(Cart_View,{styles:{type:ControlType.Object,controls:{containerStyle:{title:\"Container\",type:ControlType.Object,controls:{padding:{type:ControlType.Padding,title:\"Padding\"},borderWidth:{type:ControlType.Number,title:\"Border Width\",defaultValue:1,min:0,displayStepper:true},dividerColor:{type:ControlType.Color,title:\"Divider Color\",defaultValue:\"#EAEAEA\"},emptyMessage:{type:ControlType.String,title:\"Empty Cart Message\",defaultValue:\"Your cart is empty!\"}}},layoutStyle:{title:\"Layout & Spacing\",type:ControlType.Object,controls:{itemGap:{type:ControlType.Number,title:\"Image to Content Gap\",defaultValue:16,min:0,displayStepper:true},contentGap:{type:ControlType.Number,title:\"Content to Delete Gap\",defaultValue:24,min:0,displayStepper:true},textGap:{type:ControlType.Number,title:\"Text Elements Gap\",defaultValue:8,min:0,displayStepper:true},spaceBetweenItems:{type:ControlType.Number,title:\"Space Between Cart Items\",defaultValue:8,min:0,displayStepper:true}}},imageStyle:{title:\"Image\",type:ControlType.Object,controls:{width:{type:ControlType.Number,title:\"Width\",defaultValue:120,displayStepper:true},height:{type:ControlType.Number,title:\"Height\",defaultValue:120,displayStepper:true},padding:{type:ControlType.Padding,title:\"Padding\"},bgColor:{type:ControlType.Color,title:\"Background Color\",defaultValue:\"#F5F6F8\"},fill:{type:ControlType.Enum,options:[\"fill\",\"contain\",\"cover\"],defaultValue:\"cover\"},borderRadius:{type:ControlType.BorderRadius,title:\"Border Radius\"}}},titleStyle:{type:ControlType.Object,title:\"Title\",controls:{font:{type:ControlType.Font,title:\"Font\",defaultValue:\"outfit\",controls:\"extended\"},color:{type:ControlType.Color,title:\"Color\",defaultValue:\"#232327\"}}},priceStyle:{type:ControlType.Object,title:\"Price\",controls:{font:{type:ControlType.Font,title:\"Font\",defaultValue:\"outfit\",controls:\"extended\"},color:{type:ControlType.Color,title:\"Color\",defaultValue:\"#232327\"}}},optionStyle:{type:ControlType.Object,title:\"Option\",controls:{font:{type:ControlType.Font,title:\"Font\",defaultValue:\"outfit\",controls:\"extended\"},color:{type:ControlType.Color,title:\"Color\",defaultValue:\"#232327\"},labelColor:{type:ControlType.Color,title:\"Option Label Color\",defaultValue:\"#6E717D\"}}},quantityCounterStyles:{type:ControlType.Object,title:\"Quantity Counter\",controls:{gap:{type:ControlType.Number,title:\"Gap\",defaultValue:8,min:0,displayStepper:true},padding:{type:ControlType.Padding,title:\"Padding\"},backgroundColor:{type:ControlType.Color,title:\"Background Color\",defaultValue:\"#FFFFFF\"},containerBorderRadius:{type:ControlType.BorderRadius,title:\"Container Border Radius\"},borderWidth:{type:ControlType.Number,title:\"Border Width\",defaultValue:1,min:0,displayStepper:true},borderColor:{type:ControlType.Color,title:\"Border Color\",defaultValue:\"#E0E0E0\"},buttonSize:{type:ControlType.Number,title:\"Button Size\",defaultValue:32,min:20,displayStepper:true},buttonBGColor:{type:ControlType.Color,title:\"Button Background\",defaultValue:\"#F5F5F5\"},buttonBorderRadius:{type:ControlType.Number,title:\"Button Border Radius\",defaultValue:4,min:0,displayStepper:true},displayWidth:{type:ControlType.Number,title:\"Display Width\",defaultValue:40,min:30,displayStepper:true},fontSize:{type:ControlType.Number,title:\"Font Size\",defaultValue:16,min:10,displayStepper:true},fontFamily:{type:ControlType.String,title:\"Font Family\",defaultValue:\"outfit, sans-serif\"},fontWeight:{type:ControlType.Number,title:\"Font Weight\",defaultValue:500,min:100,max:900,step:100,displayStepper:true},textColor:{type:ControlType.Color,title:\"Text Color\",defaultValue:\"#232327\"},iconColor:{type:ControlType.Color,title:\"Icon Color\",defaultValue:\"#232327\"}}}}}});\nexport const __FramerMetadata__ = {\"exports\":{\"resolveUnitPrice\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"default\":{\"type\":\"reactComponent\",\"name\":\"Cart_View\",\"slots\":[],\"annotations\":{\"framerContractVersion\":\"1\"}},\"normalizeCartItems\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"toFiniteNumber\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./Cart_View.map","import{useState,useEffect}from\"react\";import{Data,useObserveData}from\"framer\";export function createStore(state1){// Use Data so that a Preview reload resets the state\nconst dataStore=Data({state:Object.freeze({...state1})});// Create a set function that updates the state\nconst setDataStore=newState=>{// If the state is an object, make sure we copy it\nif(typeof newState===\"function\"){newState=newState(dataStore.state);}dataStore.state=Object.freeze({...dataStore.state,...newState});};// Store the initial state, copy the object if it's an object\nlet storeState=typeof state1===\"object\"?Object.freeze({...state1}):state1;// Keep a list of all the listeners, in the form of React hook setters\nconst storeSetters=new Set();// Create a set function that updates all the listeners / setters\nconst setStoreState=newState=>{// If the state is an object, make sure we copy it\nif(typeof newState===\"function\"){newState=newState(storeState);}storeState=typeof newState===\"object\"?Object.freeze({...storeState,...newState}):newState;// Update all the listeners / setters with the new value\nstoreSetters.forEach(setter=>setter(storeState));};// Create the actual hook based on everything above\nfunction useStore(){// Create the hook we are going to use as a listener\nconst[state,setState]=useState(storeState);// If we unmount the component using this hook, we need to remove the listener\n// @ts-ignore\nuseEffect(()=>{// But right now, we need to add the listener\nstoreSetters.add(setState);return()=>storeSetters.delete(setState);},[]);// If Data context exists, use Data, otherwise use vanilla React state\nif(useObserveData()===true){useObserveData();return[dataStore.state,setDataStore];}else{// Return the state and a function to update the central store\nreturn[state,setStoreState];}}return useStore;}\nexport const __FramerMetadata__ = {\"exports\":{\"createStore\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./createStore.map","/*\n * createStore (framer/store@1.0.1)\n *\n * Learn More: https://www.framer.com/asset-urls\n */\n\nexport * from \"https://framerusercontent.com/modules/vj7bFUjvEQFgEzNBkdoG/vf3CKm378wlVcBk7IhSU/createStore.js\"\n","import{jsx as _jsx}from\"react/jsx-runtime\";import{useState,useEffect}from\"react\";import{createStore}from\"https://framer.com/m/framer/store.js@^1.0.0\";/**\n * By FRAMAX\n */// Environment-aware logger (inline - no external imports needed)\nconst STAGING_DOMAINS=[\"mobile-domain-572201.framer.app\",\"localhost\",\"127.0.0.1\"];const isStaging=()=>typeof window!==\"undefined\"&&STAGING_DOMAINS.some(domain=>window.location.hostname.includes(domain));const logger={log:(...args)=>{if(isStaging())console.log(...args);},warn:(...args)=>{if(isStaging())console.warn(...args);},error:(...args)=>{console.error(...args);},debug:(...args)=>{if(isStaging())console.debug(...args);},info:(...args)=>{if(isStaging())console.info(...args);}};// Safe localStorage wrapper to prevent SSR/preview errors\nconst safeLocalStorage={getItem:key=>{if(typeof window===\"undefined\")return null;try{return window.localStorage.getItem(key);}catch{return null;}},setItem:(key,value)=>{if(typeof window===\"undefined\")return;try{window.localStorage.setItem(key,value);}catch{}},removeItem:key=>{if(typeof window===\"undefined\")return;try{window.localStorage.removeItem(key);}catch{}}};const safeSessionStorage={getItem:key=>{if(typeof window===\"undefined\")return null;// Was window.safeSessionStorage — a typo that made every read silently\n// return null, so discount data never loaded.\ntry{return window.sessionStorage.getItem(key);}catch{return null;}}};// DEBUG: Initialize price calculation system\nlogger.log(\"[Price_Calculation_Handler] *** PRICE CALCULATION SYSTEM LOADED ***\");const useStore=createStore({products:[],subtotal:0,shipping:0,tax:0,total:0});logger.log(\"[Price_Calculation_Handler] Store initialized with default values\");// Ontario HST — client-side ESTIMATE only. The authoritative tax is computed\n// by Clover server-side at checkout (create-order-and-pay); this keeps the\n// cart preview in line with what the customer will actually pay.\nconst TAX_RATE_PERCENT=13;// Coerce anything (string totals, undefined, corrupted storage) to a safe number\nconst toSafeNumber=value=>{const n=typeof value===\"number\"?value:parseFloat(value);return Number.isFinite(n)?n:0;};/**\n * Unit price of a stored cart item, or null when it cannot be determined.\n *\n * MUST stay in agreement with resolveUnitPrice in Cart_View.tsx,\n * Cart_Preview.tsx and CheckoutForm_Complete.tsx — Framer code components\n * cannot import from one another, so this is duplicated on purpose (as\n * safeLocalStorage already is) and the four copies are pinned together by\n * tests/unit/cart-price-integrity.test.js.\n *\n * Exported for unit tests.\n */export function resolveUnitPrice(item){const toNumber=value=>{const n=typeof value===\"number\"?value:parseFloat(value);return Number.isFinite(n)?n:null;};// A stored 0 is unusable, not free: nothing on this menu is legitimately $0\n// (create-order-and-pay rejects Clover lines under 50 cents), and 0 is what\n// the broken paths produce. Treating it as real shows $0.00 and charges full.\nconst direct=toNumber(item?.price);if(direct!==null&&direct>0)return direct;const total=toNumber(item?.totalPrice);const quantity=toNumber(item?.quantity);if(total!==null&&total>0&&quantity!==null&&quantity>0){return total/quantity;}return null;}/**\n * Subtotal of a stored cart.\n *\n * Derived from unit price x quantity rather than the stored `totalPrice`.\n * Summing `totalPrice` meant an item with a garbage total silently counted as\n * $0 while Clover still charged for it — {price: 65, quantity: 2,\n * totalPrice: null} passed checkout's price gate and dropped $130 off the\n * number the customer approved.\n *\n * Exported for unit tests.\n */export function calculateSubtotal(items){if(!Array.isArray(items))return 0;return items.reduce((acc,item)=>{const unitPrice=resolveUnitPrice(item);if(unitPrice===null)return acc;const quantity=toSafeNumber(item?.quantity);return acc+unitPrice*(quantity>=1?quantity:1);},0);}// Read currency prefs from localStorage, defaulting to a leading \"$\".\n// Guards against the literal strings \"null\"/\"undefined\" ever having been\n// stored — those rendered as \"415.00null\" in production.\nconst getCurrencyPrefs=()=>{let symbol=safeLocalStorage.getItem(\"currency-symbol\");if(!symbol||symbol===\"null\"||symbol===\"undefined\")symbol=\"$\";const rawPosition=safeLocalStorage.getItem(\"currency-position\");const isPrefix=!(rawPosition===\"false\");return{symbol,isPrefix};};// Format a number as money with the stored currency prefs\nconst formatMoney=value=>{const amount=toSafeNumber(value).toFixed(2);const{symbol,isPrefix}=getCurrencyPrefs();return isPrefix?`${symbol}${amount}`:`${amount}${symbol}`;};//For display subtotal on cart\nexport function forSubtotalAmountDisplay(Component){logger.log(\"[forSubtotalAmountDisplay] *** SUBTOTAL DISPLAY OVERRIDE CALLED ***\");return props=>{const[store,setStore]=useStore();const[price,setPrice]=useState(0);useEffect(()=>{const updateSubtotalFromStorage=()=>{let savedData=[];try{savedData=JSON.parse(safeLocalStorage.getItem(\"cart-items\"))||[];}catch{savedData=[];}setPrice(calculateSubtotal(savedData));setStore({products:savedData});};updateSubtotalFromStorage();const pollingInterval=setInterval(updateSubtotalFromStorage,500);return()=>clearInterval(pollingInterval);},[]);useEffect(()=>{// Keep the store numeric — downstream tax/total math depends on it\nsetStore({subtotal:toSafeNumber(price)});},[price]);return /*#__PURE__*/_jsx(Component,{...props,text:formatMoney(price)});};}// For Display discount price\nexport function forDisplayDiscountedPrice(Component){return props=>{const[store,setStore]=useStore();const[price,setPrice]=useState(0);useEffect(()=>{const poolingData=()=>{let discountData={};try{discountData=JSON.parse(safeSessionStorage.getItem(\"eComer-discount-data\")||\"{}\");}catch{discountData={};}const newSubtotal=toSafeNumber(discountData?.newSubtotal);setPrice(newSubtotal);if(newSubtotal>0){setStore({subtotal:newSubtotal});}};const pollingInterval=setInterval(poolingData,500);return()=>clearInterval(pollingInterval);},[]);return price>0&&/*#__PURE__*/_jsx(Component,{...props,text:formatMoney(price)});};}//For display shipping fee\nexport function forShippingFeeDisplay(Component){return props=>{const[store,setStore]=useStore();const[price,setPrice]=useState(0);useEffect(()=>{// Set shipping to 0 for now\nsetPrice(0);setStore({shipping:0});},[store.subtotal]);return /*#__PURE__*/_jsx(Component,{...props,text:formatMoney(price)});};}//For display tax (client-side estimate — Clover computes the real tax at checkout)\nexport function forDisplayTax(Component){return props=>{const[store,setStore]=useStore();const[price,setPrice]=useState(0);useEffect(()=>{// Always recompute — including back to 0 when the cart empties.\n// The old `if (subtotal)` guard left a stale tax amount on screen\n// after the last item was removed.\nconst subtotal=toSafeNumber(store.subtotal);const tax=subtotal*TAX_RATE_PERCENT/100;setPrice(tax);setStore({tax});},[store.subtotal]);return /*#__PURE__*/_jsx(Component,{...props,text:formatMoney(price)});};}//For display total\nexport function forDisplayTotal(Component){return props=>{const[store,setStore]=useStore();const[price,setPrice]=useState(0);useEffect(()=>{// Always recompute with NaN-safe math; an unset tax or shipping must\n// never turn the on-screen total into \"NaN\".\nconst total=toSafeNumber(store.subtotal)+toSafeNumber(store.tax)+toSafeNumber(store.shipping);setPrice(total);setStore({total});},[store.subtotal,store.tax,store.shipping]);return /*#__PURE__*/_jsx(Component,{...props,text:formatMoney(price)});};}//For sending form data\nexport function forSettingDataToFormField(Component){return props=>{const[store,setStore]=useStore();let data;useEffect(()=>{if(store.products.length>0){data={products:store.products,subtotal:store.subtotal,shipping:store.shipping,tax:store.tax,total:store.total};}props.defaultValue=data?JSON.stringify(data):null;},[store,data]);return /*#__PURE__*/_jsx(Component,{...props});};}\nexport const __FramerMetadata__ = {\"exports\":{\"forDisplayTax\":{\"type\":\"reactHoc\",\"name\":\"forDisplayTax\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"forSettingDataToFormField\":{\"type\":\"reactHoc\",\"name\":\"forSettingDataToFormField\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"forDisplayTotal\":{\"type\":\"reactHoc\",\"name\":\"forDisplayTotal\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"forSubtotalAmountDisplay\":{\"type\":\"reactHoc\",\"name\":\"forSubtotalAmountDisplay\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"forDisplayDiscountedPrice\":{\"type\":\"reactHoc\",\"name\":\"forDisplayDiscountedPrice\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"forShippingFeeDisplay\":{\"type\":\"reactHoc\",\"name\":\"forShippingFeeDisplay\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"calculateSubtotal\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"resolveUnitPrice\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./Price_Calculation_Handler.map"],"mappings":"4NAmCG,SAAgBA,EAAiB,EAAK,CAAC,IAAM,EAAO,EAAe,GAAM,KAAK,EAAE,GAAG,IAAS,MAAM,EAAO,EAAE,OAAO,EAAO,IAAM,EAAM,EAAe,GAAM,UAAU,EAAQ,EAAS,EAAe,GAAM,QAAQ,EAAgF,OAA3E,IAAQ,MAAM,EAAM,GAAG,IAAW,MAAM,EAAS,EAAU,EAAM,EAAiB,IAAK,CAuB9S,SAAgB,EAAmB,EAAI,CAAC,GAAG,CAAC,MAAM,QAAQ,CAAG,EAAE,MAAM,CAAC,MAAM,CAAC,EAAE,QAAQ,EAAK,EAAE,IAAI,EAAQ,GAAY,EAAQ,EAAI,OAAO,GAAM,GAAM,OAAO,GAAO,QAAQ,EAUlE,OAVuE,EAAQ,SAAS,EAAI,SAIxM,EAAQ,IAM0G,CAAC,MANzF,EAAQ,KAAK,EAAK,IAAQ,CAAC,IAAM,EAAS,CAAC,GAAG,CAAI,EAAQ,EAAS,EAAe,EAAK,QAAQ,EAAQ,EAAa,IAAW,MAAM,GAAU,EAAE,KAAK,MAAM,CAAQ,EAAE,EAAK,IAAe,EAAK,WAAU,EAAS,SAAS,EAAa,EAAQ,IAG1Q,IAAM,EAAUA,EAAiB,CAAI,EAAsF,GAAjF,IAAY,MAAM,EAAK,QAAQ,IAAW,EAAS,MAAM,EAAU,EAAQ,IAAS,IAAY,KAAK,CAAC,IAAM,EAAc,YAAY,EAAU,EAAA,CAAc,QAAQ,CAAC,CAAC,EAAK,EAAK,aAAa,IAAe,EAAS,WAAW,EAAc,EAAQ,GAAM,CAG/M,OAHoN,EAAS,MAGtT,EAAS,IAAI,UAAU,EAAM,GAAG,EAAK,WAAW,EAAK,aAAa,SAAS,E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