{"version":3,"file":"StockLabel.DM6hO2Ng.mjs","names":["e","t","a","s","i","n","o","u","p","useState","useMemo","state","State","defaultText","addPropertyOverrides","cycleOrder","serializationHash","variantClassNames","toResponsiveImage","transition1","Transition","React.useContext","React.useMemo","Variants","React.Fragment","humanReadableVariantMap","getProps","createLayoutDependency","React.useRef","React.useId","Image","GalleryItem","React.useContext","React.useMemo","React.Fragment","React.useRef","React.useId","Image","useContext","useState","State","HIDDEN_CLASS","currencyCode","CurrencySymbols","HIDDEN_CLASS","State","useState","addToCart","state"],"sources":["https:/ga.jspm.io/npm:zustand@3.7.1/esm/middleware.js","https:/framerusercontent.com/modules/gd3dcT3w5rYoRy7ZcKte/7sXEITVox706kPxllq1Q/Shared.js","https:/framerusercontent.com/modules/ibjYTPLnMMPhPLNCj4uG/HFDScayX3kQP8T0wje6D/Cart.js","https:/framerusercontent.com/modules/ajKYBgRXgNyNgL1GkpqG/z7K2CKYUtg87IHlLzR5M/ProductState.js","https:/framerusercontent.com/modules/0xkiWjwekn87OErRIyqu/OYKtlXY0rXAOa8PGlJ7x/BuyNowButton.js","https:/framerusercontent.com/modules/re3EvKAXMBmf4FQstL4o/MZqTmKagHjpWVbNabFLD/sGzHgWrEI.js","https:/framerusercontent.com/modules/1QSXnHpHBBatc91m5vAb/yWb0Rtz9Zdtfej6kobRZ/HWYKK6oOF.js","https:/framerusercontent.com/modules/Be5mN5EUhdOwl54qCG8y/J9euLrPXDn7tlWAYh88s/CartItemContext.js","https:/framerusercontent.com/modules/6m3bYVdQqi1oLEe0M7tX/le0rWeljiBuys4mFNmWH/QuantityInput.js","https:/framerusercontent.com/modules/pJIZxaEdKo1uS87sS4xM/4PSl3AVmNoISomoZ0s7m/CurrencySymbols.js","https:/framerusercontent.com/modules/Ncx6rwHWSXe5kU34gWm3/dGFslcihELMgjkE1O75z/ProductInfoLabel.js","https:/framerusercontent.com/modules/tGueMWfVDCEvfQtSlUrd/KyotcoTRKQ8XWlLB3zlD/VariantButtons.js","https:/framerusercontent.com/modules/xIS6qWCTGkDJXuKuDYIj/4RedxB7MF4W4dvv16SOo/AddToCartButton.js","https:/framerusercontent.com/modules/Z3qqDD4F2SjBL90qlWKP/VrOrand7yjCx5WWYhfTQ/StockLabel.js"],"sourcesContent":["var e=Object.defineProperty;var t=Object.getOwnPropertySymbols;var o=Object.prototype.hasOwnProperty;var r=Object.prototype.propertyIsEnumerable;var __defNormalProp$1=(t,o,r)=>o in t?e(t,o,{enumerable:true,configurable:true,writable:true,value:r}):t[o]=r;var __spreadValues$1=(e,n)=>{for(var a in n||(n={}))o.call(n,a)&&__defNormalProp$1(e,a,n[a]);if(t)for(var a of t(n))r.call(n,a)&&__defNormalProp$1(e,a,n[a]);return e};const redux=(e,t)=>(o,r,n)=>{n.dispatch=t=>{o((o=>e(o,t)),false,t);return t};n.dispatchFromDevtools=true;return __spreadValues$1({dispatch:(...e)=>n.dispatch(...e)},t)};function devtools(e,t){return(o,r,n)=>{var a;let s=false;if(\"string\"===typeof t&&!s){console.warn(\"[zustand devtools middleware]: passing `name` as directly will be not allowed in next majorpass the `name` in an object `{ name: ... }` instead\");s=true}const i=void 0===t?{name:void 0,anonymousActionType:void 0}:\"string\"===typeof t?{name:t}:t;\"undefined\"!==typeof(null==(a=null==i?void 0:i.serialize)?void 0:a.options)&&console.warn(\"[zustand devtools middleware]: `serialize.options` is deprecated, just use `serialize`\");let l;try{l=window.__REDUX_DEVTOOLS_EXTENSION__||window.top.__REDUX_DEVTOOLS_EXTENSION__}catch{}if(!l){\"production\"!==(import.meta.env&&import.meta.env.MODE)&&\"undefined\"!==typeof window&&console.warn(\"[zustand devtools middleware] Please install/enable Redux devtools extension\");return e(o,r,n)}let d=Object.create(l.connect(i));let c=false;Object.defineProperty(n,\"devtools\",{get:()=>{if(!c){console.warn(\"[zustand devtools middleware] `devtools` property on the store is deprecated it will be removed in the next major.\\nYou shouldn't interact with the extension directly. But in case you still want to you can patch `window.__REDUX_DEVTOOLS_EXTENSION__` directly\");c=true}return d},set:e=>{if(!c){console.warn(\"[zustand devtools middleware] `api.devtools` is deprecated, it will be removed in the next major.\\nYou shouldn't interact with the extension directly. But in case you still want to you can patch `window.__REDUX_DEVTOOLS_EXTENSION__` directly\");c=true}d=e}});let u=false;Object.defineProperty(d,\"prefix\",{get:()=>{if(!u){console.warn(\"[zustand devtools middleware] along with `api.devtools`, `api.devtools.prefix` is deprecated.\\nWe no longer prefix the actions/names\"+i.name===void 0?\", pass the `name` option to create a separate instance of devtools for each store.\":\", because the `name` option already creates a separate instance of devtools for each store.\");u=true}return\"\"},set:()=>{if(!u){console.warn(\"[zustand devtools middleware] along with `api.devtools`, `api.devtools.prefix` is deprecated.\\nWe no longer prefix the actions/names\"+i.name===void 0?\", pass the `name` option to create a separate instance of devtools for each store.\":\", because the `name` option already creates a separate instance of devtools for each store.\");u=true}}});let p=true;n.setState=(e,t,n)=>{o(e,t);p&&d.send(void 0===n?{type:i.anonymousActionType||\"anonymous\"}:\"string\"===typeof n?{type:n}:n,r())};const setStateFromDevtools=(...e)=>{const t=p;p=false;o(...e);p=t};const v=e(n.setState,r,n);d.init(v);if(n.dispatchFromDevtools&&\"function\"===typeof n.dispatch){let e=false;const t=n.dispatch;n.dispatch=(...o)=>{if(\"__setState\"===o[0].type&&!e){console.warn('[zustand devtools middleware] \"__setState\" action type is reserved to set state from the devtools. Avoid using it.');e=true}t(...o)}}d.subscribe((e=>{var t;switch(e.type){case\"ACTION\":if(\"string\"!==typeof e.payload){console.error(\"[zustand devtools middleware] Unsupported action format\");return}return parseJsonThen(e.payload,(e=>{\"__setState\"!==e.type?n.dispatchFromDevtools&&\"function\"===typeof n.dispatch&&n.dispatch(e):setStateFromDevtools(e.state)}));case\"DISPATCH\":switch(e.payload.type){case\"RESET\":setStateFromDevtools(v);return d.init(n.getState());case\"COMMIT\":return d.init(n.getState());case\"ROLLBACK\":return parseJsonThen(e.state,(e=>{setStateFromDevtools(e);d.init(n.getState())}));case\"JUMP_TO_STATE\":case\"JUMP_TO_ACTION\":return parseJsonThen(e.state,(e=>{setStateFromDevtools(e)}));case\"IMPORT_STATE\":{const{nextLiftedState:o}=e.payload;const r=null==(t=o.computedStates.slice(-1)[0])?void 0:t.state;if(!r)return;setStateFromDevtools(r);d.send(null,o);return}case\"PAUSE_RECORDING\":return p=!p}return}}));return v}}const parseJsonThen=(e,t)=>{let o;try{o=JSON.parse(e)}catch(e){console.error(\"[zustand devtools middleware] Could not parse the received json\",e)}void 0!==o&&t(o)};const subscribeWithSelector=e=>(t,o,r)=>{const n=r.subscribe;r.subscribe=(e,t,o)=>{let a=e;if(t){const n=(null==o?void 0:o.equalityFn)||Object.is;let s=e(r.getState());a=o=>{const r=e(o);if(!n(s,r)){const e=s;t(s=r,e)}};(null==o?void 0:o.fireImmediately)&&t(s,s)}return n(a)};const a=e(t,o,r);return a};const combine=(e,t)=>(o,r,n)=>Object.assign({},e,t(o,r,n));var n=Object.defineProperty;var a=Object.getOwnPropertySymbols;var s=Object.prototype.hasOwnProperty;var i=Object.prototype.propertyIsEnumerable;var __defNormalProp=(e,t,o)=>t in e?n(e,t,{enumerable:true,configurable:true,writable:true,value:o}):e[t]=o;var __spreadValues=(e,t)=>{for(var o in t||(t={}))s.call(t,o)&&__defNormalProp(e,o,t[o]);if(a)for(var o of a(t))i.call(t,o)&&__defNormalProp(e,o,t[o]);return e};const toThenable=e=>t=>{try{const o=e(t);return o instanceof Promise?o:{then(e){return toThenable(e)(o)},catch(e){return this}}}catch(e){return{then(e){return this},catch(t){return toThenable(t)(e)}}}};const persist=(e,t)=>(o,r,n)=>{let a=__spreadValues({getStorage:()=>localStorage,serialize:JSON.stringify,deserialize:JSON.parse,partialize:e=>e,version:0,merge:(e,t)=>__spreadValues(__spreadValues({},t),e)},t);(a.blacklist||a.whitelist)&&console.warn(`The ${a.blacklist?\"blacklist\":\"whitelist\"} option is deprecated and will be removed in the next version. Please use the 'partialize' option instead.`);let s=false;const i=new Set;const l=new Set;let d;try{d=a.getStorage()}catch(e){}if(!d)return e(((...e)=>{console.warn(`[zustand persist middleware] Unable to update item '${a.name}', the given storage is currently unavailable.`);o(...e)}),r,n);d.removeItem||console.warn(`[zustand persist middleware] The given storage for item '${a.name}' does not contain a 'removeItem' method, which will be required in v4.`);const c=toThenable(a.serialize);const setItem=()=>{const e=a.partialize(__spreadValues({},r()));a.whitelist&&Object.keys(e).forEach((t=>{var o;!(null==(o=a.whitelist)?void 0:o.includes(t))&&delete e[t]}));a.blacklist&&a.blacklist.forEach((t=>delete e[t]));let t;const o=c({state:e,version:a.version}).then((e=>d.setItem(a.name,e))).catch((e=>{t=e}));if(t)throw t;return o};const u=n.setState;n.setState=(e,t)=>{u(e,t);void setItem()};const p=e(((...e)=>{o(...e);void setItem()}),r,n);let v;const hydrate=()=>{var e;if(!d)return;s=false;i.forEach((e=>e(r())));const t=(null==(e=a.onRehydrateStorage)?void 0:e.call(a,r()))||void 0;return toThenable(d.getItem.bind(d))(a.name).then((e=>{if(e)return a.deserialize(e)})).then((e=>{if(e){if(\"number\"!==typeof e.version||e.version===a.version)return e.state;if(a.migrate)return a.migrate(e.state,e.version);console.error(\"State loaded from storage couldn't be migrated since no migrate function was provided\")}})).then((e=>{v=a.merge(e,p);o(v,true);return setItem()})).then((()=>{null==t?void 0:t(v,void 0);s=true;l.forEach((e=>e(v)))})).catch((e=>{null==t?void 0:t(void 0,e)}))};n.persist={setOptions:e=>{a=__spreadValues(__spreadValues({},a),e);e.getStorage&&(d=e.getStorage())},clearStorage:()=>{var e;null==(e=null==d?void 0:d.removeItem)?void 0:e.call(d,a.name)},rehydrate:()=>hydrate(),hasHydrated:()=>s,onHydrate:e=>{i.add(e);return()=>{i.delete(e)}},onFinishHydration:e=>{l.add(e);return()=>{l.delete(e)}}};hydrate();return v||p};export{combine,devtools,persist,redux,subscribeWithSelector};\n\n//# sourceMappingURL=middleware.js.map","import{jsx as _jsx,jsxs as _jsxs}from\"react/jsx-runtime\";import{ControlType}from\"framer\";import{cloneElement,useMemo}from\"react\";import{motion}from\"framer-motion\";export const SHOPIFY_ID_ATTRIBUTE=\"frameship-shopify-id\";export const OPEN_CART_EVENT=\"frameship-open-cart\";export const DEFAULT_TRANSITION={type:\"spring\",duration:.2,bounce:0};export const Colors={Primary:{color:\"#000\",fill:\"#F3F3F3\",fillA:\"#F3F3F3\",fillB:\"#999999\"},Accent:{color:\"#FFF\",fill:\"#111\",fillA:\"#5E5E5E\",fillB:\"#111\"}};const CHARACTERS=\"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz\";const EMPTY_SHOPIFY_DATA={shopifyId:\"\",tracksInventory:false,variants:[]};const shopifyDataCache={};export function parseShopifyData(shopifyData){if(!shopifyData){return EMPTY_SHOPIFY_DATA;}const cachedData=shopifyDataCache[shopifyData];if(cachedData){return cachedData;}try{const data=JSON.parse(shopifyData);const parsedData={shopifyId:typeof data.id===\"string\"?data.id:\"\",tracksInventory:data.tracksInventory?true:false,variants:Array.isArray(data.variants)?data.variants:[]};shopifyDataCache[shopifyData]=parsedData;return parsedData;}catch(error){console.error(\"Error parsing Shopify data:\",error);return EMPTY_SHOPIFY_DATA;}}export const generateInstanceId=()=>{const id=useMemo(()=>{let result=\"\";for(let i=0;i<13;i++){result+=CHARACTERS.charAt(Math.floor(Math.random()*CHARACTERS.length));}return result;},[]);return id;};export function styleLayer(layer,style){let newLayer=layer;const width=style===null||style===void 0?void 0:style.width;const height=style===null||style===void 0?void 0:style.height;if(layer&&style&&(width||height)){newLayer=/*#__PURE__*/cloneElement(layer,{style:{...layer.props.style,...width&&{width},...height&&{height}}});}return newLayer;}export function Icon({image,color,size,style={},defaultImage}){let colorValue=color||((image===null||image===void 0?void 0:image.src)?undefined:\"#999\");return /*#__PURE__*/_jsx(\"div\",{\"aria-label\":image===null||image===void 0?void 0:image.alt,style:{width:size,height:size,minWidth:size,minHeight:size,pointerEvents:\"none\",backgroundColor:colorValue,backgroundImage:colorValue?\"none\":`url('${image===null||image===void 0?void 0:image.src}')`,maskImage:(image===null||image===void 0?void 0:image.src)?`url('${image===null||image===void 0?void 0:image.src}')`:defaultImage,backgroundSize:\"contain\",backgroundPosition:\"center\",maskSize:\"contain\",maskPosition:\"center\",...style}});}Icon.displayName=\"Frameship/Icon\";export function iconProp({buttonTitle=\"Icon\",size=24,object=true}={}){return{type:ControlType.Object,buttonTitle,optional:true,defaultValue:{color:\"#000\",size},controls:{image:{type:ControlType.ResponsiveImage},color:{type:ControlType.Color,optional:true,defaultValue:\"#000\"},size:{type:ControlType.Number,defaultValue:size,min:1,step:1,displayStepper:true}}};}export function Button({tag=\"button\",fill,color,shadows,border,radius,padding,font,opacity,transition,variant=\"\",children,style,animate,...otherProps}){let background=\"none\";if(fill){if(fill.type===\"color\"){background=fill[`${variant}Color`]||fill.defaultColor;}else{console.log(`linear-gradient(${fill.gradientAngle}deg, ${fill[`${variant}ColorB`]||fill.defaultColorB}, ${fill[`${variant}ColorA`]||fill.defaultColorA})`);background=`linear-gradient(${fill.gradientAngle}deg, ${fill[`${variant}ColorB`]||fill.defaultColorB}, ${fill[`${variant}ColorA`]||fill.defaultColorA})`;}}const Tag=motion[tag];const addWrapper=tag===\"input\";const elementChildren=[children,border&&/*#__PURE__*/_jsx(motion.div,{animate:{borderColor:border[`${variant}Color`]||border.defaultColor},style:{position:\"absolute\",inset:0,borderWidth:border.width,borderStyle:border.style,borderRadius:\"inherit\",pointerEvents:\"none\"},initial:false,transition:transition})];let element=/*#__PURE__*/_jsx(Tag,{style:{position:\"relative\",borderRadius:radius,padding:padding,textAlign:\"center\",appearance:\"none\",border:\"none\",...font,...style},animate:{background,color:typeof color===\"object\"?color[`${variant}Color`]||color.defaultColor:color,boxShadow:typeof shadows===\"object\"?shadows[`${variant}Shadows`]||shadows.defaultShadows:shadows,opacity:typeof opacity===\"object\"?typeof opacity[variant]===\"number\"?opacity[variant]:opacity.default:1,...animate},initial:false,transition:transition,children:addWrapper?undefined:elementChildren,...otherProps});if(addWrapper){element=/*#__PURE__*/_jsxs(\"div\",{style:{display:\"contents\"},children:[element,elementChildren]});}return element;}Button.displayName=\"Frameship/Button\";export function createButtonPropertyControls({variants=[],font=true,color=true,placeholder=false,opacity=false,padding=\"10px\",hidden={},endProps={}}){const allVariants=variants.length?variants:[{id:\"default\",title:\"Default\",optional:false,...Colors.Primary}];const colorControls={};const placeholderControls={};const fillControls={};const borderControls={};const shadowsControls={};const opacityControls={};const defaultColorValues={};const defaultPlaceholderValues={};const defaultFillValues={type:\"color\",gradientAngle:0};const defaultBorderValues={width:\"1px\",style:\"solid\"};const defaultOpacityValues={};let hasDefaultBorder=allVariants.some(variant=>variant.borderColor);for(const variant of allVariants){const isDefault=variant.id===\"default\";var _variant_optional;const optional=(_variant_optional=variant.optional)!==null&&_variant_optional!==void 0?_variant_optional:true;colorControls[`${variant.id}Color`]={type:ControlType.Color,optional,defaultValue:variant.color,title:isDefault?\"Color\":variant.title};if(placeholder){placeholderControls[`${variant.id}Color`]={type:ControlType.Color,optional,defaultValue:variant.placeholder,title:isDefault?\"Color\":variant.title};}fillControls[`${variant.id}Color`]={type:ControlType.Color,optional,defaultValue:variant.fill,title:isDefault?\"Color\":variant.title,hidden:props=>props.type!=\"color\"};fillControls[`${variant.id}ColorA`]={type:ControlType.Color,optional,defaultValue:variant.fillA,title:isDefault?\"Colors\":variant.title,hidden:props=>props.type!=\"linearGradient\"};fillControls[`${variant.id}ColorB`]={type:ControlType.Color,optional,defaultValue:variant.fillB,title:\" \",hidden:props=>props.type!=\"linearGradient\"};borderControls[`${variant.id}Color`]={type:ControlType.Color,optional:true,defaultValue:variant.borderColor,title:isDefault?\"Color\":variant.title};shadowsControls[`${variant.id}Shadows`]={type:ControlType.BoxShadow,title:variant.title};if(opacity){opacityControls[variant.id]={type:ControlType.Number,title:variant.title,defaultValue:typeof variant.opacity===\"number\"?variant.opacity:1,min:0,max:1,step:.01};}}for(const prop of Object.keys(colorControls)){defaultColorValues[prop]=colorControls[prop].defaultValue;}for(const prop of Object.keys(placeholderControls)){defaultPlaceholderValues[prop]=placeholderControls[prop].defaultValue;}for(const prop of Object.keys(fillControls)){defaultFillValues[prop]=fillControls[prop].defaultValue;}for(const prop of Object.keys(borderControls)){defaultBorderValues[prop]=borderControls[prop].defaultValue;}for(const prop of Object.keys(opacityControls)){defaultOpacityValues[prop]=opacityControls[prop].defaultValue;}return{font:font?{type:\"font\",controls:\"extended\",defaultFontType:\"sans-serif\",defaultValue:{fontSize:14,lineHeight:1.4},hidden:hidden[\"font\"]}:undefined,color:color?variants.length?{type:ControlType.Object,defaultValue:defaultColorValues,controls:colorControls,buttonTitle:\"Font Color\"}:colorControls[\"default\"]:undefined,placeholder:placeholder?variants.length?{type:ControlType.Object,defaultValue:defaultPlaceholderValues,controls:placeholderControls,hidden:hidden[\"placeholder\"]}:{...placeholderControls[\"default\"],hidden:hidden[\"placeholder\"]}:undefined,fill:{type:ControlType.Object,optional:true,defaultValue:defaultFillValues,controls:{type:{type:ControlType.Enum,options:[\"color\",\"linearGradient\"],optionTitles:[\"Color\",\"Gradient\"],displaySegmentedControl:true},...fillControls,gradientAngle:{type:ControlType.Number,defaultValue:0,title:\"Angle\",step:1,min:0,max:360,unit:\"\\xb0\",hidden:props=>props.type!=\"linearGradient\"}}},radius:{type:ControlType.BorderRadius,defaultValue:\"10px\"},padding:{type:ControlType.Padding,defaultValue:padding},border:{type:ControlType.Object,optional:true,defaultValue:hasDefaultBorder?defaultBorderValues:undefined,controls:{...borderControls,width:{type:ControlType.Padding,defaultValue:defaultBorderValues.width},style:{type:ControlType.Enum,defaultValue:defaultBorderValues.style,options:[\"solid\",\"dashed\",\"dotted\",\"double\"],optionTitles:[\"Solid\",\"Dashed\",\"Dotted\",\"Double\"]}}},shadows:variants.length?{type:ControlType.Object,optional:true,controls:shadowsControls}:{type:ControlType.BoxShadow},opacity:opacity?{type:ControlType.Object,controls:opacityControls}:undefined,...endProps,transition:variants.length>0?{type:ControlType.Transition,defaultValue:DEFAULT_TRANSITION}:undefined};}\nexport const __FramerMetadata__ = {\"exports\":{\"createButtonPropertyControls\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"Button\":{\"type\":\"reactComponent\",\"name\":\"Button\",\"slots\":[\"children\"],\"annotations\":{\"framerContractVersion\":\"1\"}},\"generateInstanceId\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"parseShopifyData\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"iconProp\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"Colors\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"SHOPIFY_ID_ATTRIBUTE\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"Icon\":{\"type\":\"reactComponent\",\"name\":\"Icon\",\"slots\":[],\"annotations\":{\"framerContractVersion\":\"1\"}},\"OPEN_CART_EVENT\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"DEFAULT_TRANSITION\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"styleLayer\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./Shared.map","import{RenderTarget}from\"framer\";import create from\"zustand\";import{persist}from\"zustand/middleware\";import{useState,useEffect}from\"react\";import{parseShopifyData}from\"https://framerusercontent.com/modules/gd3dcT3w5rYoRy7ZcKte/7sXEITVox706kPxllq1Q/Shared.js\";const CART_ID_STORAGE_ID=\"frameship-shopify-cart-id\";export async function fetchShopifyData(query,variables={}){const[shopUrl,accessToken]=getFrameshipInfo();try{const response=await fetch(`https://${shopUrl}/api/2024-10/graphql.json`,{method:\"POST\",headers:{\"Content-Type\":\"application/json\",\"X-Shopify-Storefront-Access-Token\":accessToken},body:JSON.stringify({query,variables})});const value=await response.json();return value;}catch(error){console.error(error);return null;}}// Add this shared fragment for cart fields\nconst CART_FRAGMENT=`\n  fragment CartFields on Cart {\n    id\n    checkoutUrl\n    cost {\n      subtotalAmount {\n        amount\n        currencyCode\n      }\n    }\n    lines(first: 10) {\n      edges {\n        node {\n          id\n          quantity\n          cost {\n            subtotalAmount {\n              amount\n              currencyCode\n            }\n\t\t\t\t\t\tcompareAtAmountPerQuantity {\n\t\t\t\t\t\t\tamount\n\t\t\t\t\t\t\tcurrencyCode\n\t\t\t\t\t\t}\n          }\n          merchandise {\n            ... on ProductVariant {\n              id\n              title\n              price {\n                amount\n                currencyCode\n              }\n            }\n          }\n        }\n      }\n    }\n  }\n`;export const useCartStore=create(persist((set,get)=>({cartId:null,items:[],loading:false,error:null,checkoutUrl:null,subtotal:null,initializeCart:async()=>{set({loading:true});try{const cartId=get().cartId;if(cartId){const cart=await fetchCart(cartId);set({items:cart.lines.edges.map(edge=>edge.node),checkoutUrl:cart.checkoutUrl,subtotal:cart.cost.subtotalAmount,loading:false});}else{const newCart=await createCart();set({cartId:newCart.id,items:[],checkoutUrl:newCart.checkoutUrl,subtotal:newCart.cost.subtotalAmount,loading:false});}}catch(error){set({error:error.message,loading:false});}},addToCart:async(variantId,quantity)=>{set({loading:true});try{const cartId=get().cartId;const updatedCart=await addToCart(cartId,variantId,quantity);set({items:updatedCart.lines.edges.map(edge=>edge.node),subtotal:updatedCart.cost.subtotalAmount,loading:false});}catch(error){set({error:error.message,loading:false});}},removeFromCart:async lineId=>{set({loading:true});try{const cartId=get().cartId;const updatedCart=await removeFromCart(cartId,lineId);set({items:updatedCart.lines.edges.map(edge=>edge.node),subtotal:updatedCart.cost.subtotalAmount,loading:false});}catch(error){set({error:error.message,loading:false});}},setCartItemQuantity:async(lineId,quantity)=>{set({loading:true});try{const cartId=get().cartId;const updatedCart=await updateCartLineQuantity(cartId,lineId,quantity);set({items:updatedCart.lines.edges.map(edge=>edge.node),subtotal:updatedCart.cost.subtotalAmount,loading:false});}catch(error){set({error:error.message,loading:false});}},getCheckoutUrl:()=>{const checkoutUrl=get().checkoutUrl;if(!checkoutUrl){throw new Error(\"Cart not initialized or checkout URL not available\");}return checkoutUrl;},clearError:()=>set({error:null})}),{name:CART_ID_STORAGE_ID,partialize:state=>({cartId:state.cartId})}));async function createCart(){const mutation=`\n    ${CART_FRAGMENT}\n    mutation {\n      cartCreate {\n        cart {\n          ...CartFields\n        }\n      }\n    }\n  `;const{data}=await fetchShopifyData(mutation);return data.cartCreate.cart;}async function fetchCart(cartId){const query=`\n    ${CART_FRAGMENT}\n    query($cartId: ID!) {\n      cart(id: $cartId) {\n        ...CartFields\n      }\n    }\n  `;const variables={cartId};const{data}=await fetchShopifyData(query,variables);return data.cart;}async function addToCart(cartId,variantId,quantity){const mutation=`\n    ${CART_FRAGMENT}\n    mutation($cartId: ID!, $lines: [CartLineInput!]!) {\n      cartLinesAdd(cartId: $cartId, lines: $lines) {\n        cart {\n          ...CartFields\n        }\n        userErrors {\n          field\n          message\n        }\n      }\n    }\n  `;const variables={cartId,lines:[{quantity:quantity,merchandiseId:variantId}]};const{data}=await fetchShopifyData(mutation,variables);if(data.cartLinesAdd.userErrors.length>0){throw new Error(data.cartLinesAdd.userErrors.map(e=>e.message).join(\", \"));}return data.cartLinesAdd.cart;}async function removeFromCart(cartId,lineId){const mutation=`\n    ${CART_FRAGMENT}\n    mutation($cartId: ID!, $lineIds: [ID!]!) {\n      cartLinesRemove(cartId: $cartId, lineIds: $lineIds) {\n        cart {\n          ...CartFields\n        }\n      }\n    }\n  `;const variables={cartId,lineIds:[lineId]};const{data}=await fetchShopifyData(mutation,variables);return data.cartLinesRemove.cart;}export async function getAmountInStock(productId){const query=`\n\t\tquery getInventory($id: ID!) {\n\t\t\tproduct(id: $id) {\n\t\t\t\tvariants(first: 100) {\n\t\t\t\t\tedges {\n\t\t\t\t\t\tnode {\n\t\t\t\t\t\t\tid\n\t\t\t\t\t\t\tquantityAvailable\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t`;const variables={id:productId};try{const{data}=await fetchShopifyData(query,variables);const inventoryByVariant={};for(const edge of data.product.variants.edges){inventoryByVariant[edge.node.id]=edge.node.quantityAvailable;}return inventoryByVariant;}catch(error){console.error(\"Error fetching inventory:\",error);throw error;}}export function useAmountInStock(shopifyData){const{shopifyId,tracksInventory}=parseShopifyData(shopifyData);const isCanvas=RenderTarget.current()===RenderTarget.canvas;const fetchInventory=!isCanvas&&tracksInventory;const[inventory,setInventory]=useState({});const[isLoading,setIsLoading]=useState(fetchInventory);useEffect(()=>{if(fetchInventory){setIsLoading(true);getAmountInStock(shopifyId).then(value=>{setInventory(value);setIsLoading(false);});}},[shopifyId,tracksInventory]);return[inventory,isLoading];}async function updateCartLineQuantity(cartId,lineId,quantity){const mutation=`\n    ${CART_FRAGMENT}\n    mutation($cartId: ID!, $lines: [CartLineUpdateInput!]!) {\n      cartLinesUpdate(cartId: $cartId, lines: $lines) {\n        cart {\n          ...CartFields\n        }\n        userErrors {\n          field\n          message\n        }\n      }\n    }\n  `;const variables={cartId,lines:[{id:lineId,quantity:quantity}]};const{data}=await fetchShopifyData(mutation,variables);if(data.cartLinesUpdate.userErrors.length>0){throw new Error(data.cartLinesUpdate.userErrors.map(e=>e.message).join(\", \"));}return data.cartLinesUpdate.cart;}export async function generateBuyNowCheckoutUrl(variantId,quantity=1){const mutation=`\n\t\tmutation($input: CartInput!) {\n\t\t\tcartCreate(input: $input) {\n\t\t\t\tcart {\n\t\t\t\t\tcheckoutUrl\n\t\t\t\t}\n\t\t\t\tuserErrors {\n\t\t\t\t\tfield\n\t\t\t\t\tmessage\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t`;const variables={input:{lines:[{quantity:quantity,merchandiseId:variantId}]}};try{const{data}=await fetchShopifyData(mutation,variables);if(data.cartCreate.userErrors.length>0){throw new Error(data.cartCreate.userErrors.map(e=>e.message).join(\", \"));}return data.cartCreate.cart.checkoutUrl;}catch(error){console.error(\"Error creating buy now cart:\",error);throw error;}}function getFrameshipInfo(){let shopUrl=\"\";let accessToken=\"\";if(typeof document!==\"undefined\"&&typeof window!==\"undefined\"){const frameshipComponent=document.querySelector(\"div[data-frameship-component]\");if(frameshipComponent){const hostname=window.location.hostname;const licenceId=frameshipComponent.getAttribute(\"data-license-id\");const productionDomainValue=frameshipComponent.getAttribute(\"data-production-domain\")||\"\";const stagingDomainValue=frameshipComponent.getAttribute(\"data-staging-domain\")||\"\";const productionDomain=productionDomainValue.replace(\"https://\",\"\");const stagingDomain=stagingDomainValue.replace(\"https://\",\"\");const isPreview=hostname.endsWith(\".framercanvas.com\");if(isPreview||licenceId||hostname==productionDomain||hostname==stagingDomain){shopUrl=frameshipComponent.getAttribute(\"data-shop-url\")||\"\";accessToken=frameshipComponent.getAttribute(\"data-shopify-access-token\")||\"\";}}}return[shopUrl,accessToken];}\nexport const __FramerMetadata__ = {\"exports\":{\"useAmountInStock\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"generateBuyNowCheckoutUrl\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"getAmountInStock\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"fetchShopifyData\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"useCartStore\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./Cart.map","import create from\"zustand\";import{useMemo}from\"react\";import{parseShopifyData}from\"https://framerusercontent.com/modules/gd3dcT3w5rYoRy7ZcKte/7sXEITVox706kPxllq1Q/Shared.js\";export const useProductStore=create(set=>({products:{},setSelectedVariantOption:(productId,variantOption,option)=>set(state=>{var _state_products_productId;return{products:{...state.products,[productId]:{...state.products[productId],selectedVariantOptions:{...(_state_products_productId=state.products[productId])===null||_state_products_productId===void 0?void 0:_state_products_productId.selectedVariantOptions,[variantOption]:option}}}};}),setQuantity:(productId,quantity)=>{set(state=>{var _state_products;return{products:{...state.products,[productId]:{...(_state_products=state.products)===null||_state_products===void 0?void 0:_state_products[productId],quantity:Math.max(quantity,1)}}};});}}));export function useSelectedVariant(shopifyData){const parsedData=useMemo(()=>parseShopifyData(shopifyData),[shopifyData]);const{shopifyId,variants}=parsedData;const selectedVariantOptions=useProductStore(state=>{var _state_products_shopifyId;return(_state_products_shopifyId=state.products[shopifyId])===null||_state_products_shopifyId===void 0?void 0:_state_products_shopifyId.selectedVariantOptions;});const selectedVariant=useMemo(()=>{if(!Array.isArray(variants)||!selectedVariantOptions){return variants[0];}for(const variant of variants){if(variant.selectedOptions.every(option=>selectedVariantOptions[option.name]===option.value)){return variant;}}return variants[0];},[variants,selectedVariantOptions]);return selectedVariant;}\nexport const __FramerMetadata__ = {\"exports\":{\"useProductStore\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"useSelectedVariant\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}","import{jsx as _jsx}from\"react/jsx-runtime\";import{addPropertyControls,ControlType,RenderTarget}from\"framer\";import{generateBuyNowCheckoutUrl,useAmountInStock}from\"https://framerusercontent.com/modules/ibjYTPLnMMPhPLNCj4uG/HFDScayX3kQP8T0wje6D/Cart.js\";import{useProductStore,useSelectedVariant}from\"https://framerusercontent.com/modules/ajKYBgRXgNyNgL1GkpqG/z7K2CKYUtg87IHlLzR5M/ProductState.js\";import{parseShopifyData,Button,createButtonPropertyControls,Colors}from\"https://framerusercontent.com/modules/gd3dcT3w5rYoRy7ZcKte/7sXEITVox706kPxllq1Q/Shared.js\";var State;(function(State){State[\"Default\"]=\"default\";State[\"OutOfStock\"]=\"outOfStock\";})(State||(State={}));const defaultText={[\"default\"]:\"Buy Now\",[\"outOfStock\"]:\"Buy Now\"};/**\n * @framerSupportedLayoutWidth any-prefer-fixed\n * @framerSupportedLayoutHeight any\n * @framerIntrinsicWidth 300\n * @framerDisableUnlink\n */export default function BuyNowButton(props){const{newTab,layer}=props;const{shopifyId,tracksInventory}=parseShopifyData(props.shopifyData);const isCanvas=RenderTarget.current()===RenderTarget.canvas;const{quantity,selectedVariantOptions}=useProductStore(state=>{var _state_products;return((_state_products=state.products)===null||_state_products===void 0?void 0:_state_products[shopifyId])||{quantity:1,selectedVariantOptions:{}};});const selectedVariant=useSelectedVariant(props.shopifyData);const[inventory,inventoryIsLoading]=useAmountInStock(props.shopifyData);const state=isCanvas||!tracksInventory||inventory[selectedVariant===null||selectedVariant===void 0?void 0:selectedVariant.id]>0||inventoryIsLoading?\"default\":\"outOfStock\";const onClick=async()=>{if(selectedVariant){const checkoutUrl=await generateBuyNowCheckoutUrl(selectedVariant.id,quantity);if(newTab){window.open(checkoutUrl,\"_blank\");}else{window.location.href=checkoutUrl;}}};return /*#__PURE__*/_jsx(Button,{...props,onClick:onClick,variant:state,style:{cursor:state===\"default\"?\"pointer\":undefined,...props.style},children:props.text[state]});}BuyNowButton.displayName=\"Buy Now Button\";addPropertyControls(BuyNowButton,{shopifyData:{type:ControlType.String,defaultValue:\"\",placeholder:\"Shopify Data\"},newTab:{type:ControlType.Boolean,defaultValue:true},text:{type:ControlType.Object,defaultValue:defaultText,controls:{[\"default\"]:{type:ControlType.String,defaultValue:defaultText[\"default\"],placeholder:\"Default Text\"},[\"outOfStock\"]:{type:ControlType.String,defaultValue:defaultText[\"outOfStock\"],placeholder:\"Out of Stock Text\",title:\"Out of Stock\"}}},...createButtonPropertyControls({opacity:true,variants:[{id:\"default\",title:\"Default\",...Colors.Primary,opacity:1},{id:\"outOfStock\",title:\"Out of Stock\",opacity:.5}]})});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"BuyNowButton\",\"slots\":[],\"annotations\":{\"framerSupportedLayoutHeight\":\"any\",\"framerContractVersion\":\"1\",\"framerSupportedLayoutWidth\":\"any-prefer-fixed\",\"framerDisableUnlink\":\"\",\"framerIntrinsicWidth\":\"300\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}","// Generated by Framer (56d1180)\nimport{jsx as _jsx}from\"react/jsx-runtime\";import{addFonts,addPropertyControls,ControlType,cx,getLoadingLazyAtYPosition,Image,useActiveVariantCallback,useComponentViewport,useLocaleInfo,useVariantState,withCSS}from\"framer\";import{LayoutGroup,motion,MotionConfigContext}from\"framer-motion\";import*as React from\"react\";const enabledGestures={FZCo5wFFv:{hover:true}};const cycleOrder=[\"FZCo5wFFv\",\"irzG0Dp5U\"];const serializationHash=\"framer-71cRU\";const variantClassNames={FZCo5wFFv:\"framer-v-1irapf\",irzG0Dp5U:\"framer-v-1jjb1qq\"};function addPropertyOverrides(overrides,...variants){const nextOverrides={};variants===null||variants===void 0?void 0:variants.forEach(variant=>variant&&Object.assign(nextOverrides,overrides[variant]));return nextOverrides;}const toResponsiveImage=value=>{if(typeof value===\"object\"&&value!==null&&typeof value.src===\"string\"){return value;}return typeof value===\"string\"?{src:value}:undefined;};const transition1={bounce:0,delay:0,duration:.2,type:\"spring\"};const Transition=({value,children})=>{const config=React.useContext(MotionConfigContext);const transition=value!==null&&value!==void 0?value:config.transition;const contextValue=React.useMemo(()=>({...config,transition}),[JSON.stringify(transition)]);return /*#__PURE__*/_jsx(MotionConfigContext.Provider,{value:contextValue,children:children});};const Variants=motion.create(React.Fragment);const humanReadableVariantMap={Deselected:\"FZCo5wFFv\",Selected:\"irzG0Dp5U\"};const getProps=({borderColor,click,height,id,image,width,...props})=>{var _ref,_humanReadableVariantMap_props_variant,_ref1;return{...props,GBi9Swc4q:image!==null&&image!==void 0?image:props.GBi9Swc4q,tJndCeVnA:(_ref=borderColor!==null&&borderColor!==void 0?borderColor:props.tJndCeVnA)!==null&&_ref!==void 0?_ref:{borderColor:\"#222\",borderStyle:\"solid\",borderWidth:2},variant:(_ref1=(_humanReadableVariantMap_props_variant=humanReadableVariantMap[props.variant])!==null&&_humanReadableVariantMap_props_variant!==void 0?_humanReadableVariantMap_props_variant:props.variant)!==null&&_ref1!==void 0?_ref1:\"FZCo5wFFv\",WCgcb3OFQ:click!==null&&click!==void 0?click:props.WCgcb3OFQ};};const createLayoutDependency=(props,variants)=>{if(props.layoutDependency)return variants.join(\"-\")+props.layoutDependency;return variants.join(\"-\");};const Component=/*#__PURE__*/React.forwardRef(function(props,ref){const{activeLocale,setLocale}=useLocaleInfo();const{style,className,layoutId,variant,GBi9Swc4q,tJndCeVnA,WCgcb3OFQ,...restProps}=getProps(props);const{baseVariant,classNames,clearLoadingGesture,gestureHandlers,gestureVariant,isLoading,setGestureState,setVariant,variants}=useVariantState({cycleOrder,defaultVariant:\"FZCo5wFFv\",enabledGestures,variant,variantClassNames});const layoutDependency=createLayoutDependency(props,variants);const{activeVariantCallback,delay}=useActiveVariantCallback(baseVariant);const onTap1q51xnk=activeVariantCallback(async(...args)=>{setGestureState({isPressed:false});if(WCgcb3OFQ){const res=await WCgcb3OFQ(...args);if(res===false)return false;}});const ref1=React.useRef(null);const defaultLayoutId=React.useId();const sharedStyleClassNames=[];const componentViewport=useComponentViewport();var _tJndCeVnA_borderBottomWidth,_tJndCeVnA_borderLeftWidth,_tJndCeVnA_borderRightWidth,_tJndCeVnA_borderTopWidth;return /*#__PURE__*/_jsx(LayoutGroup,{id:layoutId!==null&&layoutId!==void 0?layoutId:defaultLayoutId,children:/*#__PURE__*/_jsx(Variants,{animate:variants,initial:false,children:/*#__PURE__*/_jsx(Transition,{value:transition1,children:/*#__PURE__*/_jsx(Image,{...restProps,...gestureHandlers,background:{alt:\"\",fit:\"fill\",loading:getLoadingLazyAtYPosition((componentViewport===null||componentViewport===void 0?void 0:componentViewport.y)||0),pixelHeight:6325,pixelWidth:4401,sizes:(componentViewport===null||componentViewport===void 0?void 0:componentViewport.width)||\"100vw\",...toResponsiveImage(GBi9Swc4q),...{positionX:\"center\",positionY:\"center\"}},className:cx(serializationHash,...sharedStyleClassNames,\"framer-1irapf\",className,classNames),\"data-border\":true,\"data-framer-name\":\"Deselected\",\"data-highlight\":true,layoutDependency:layoutDependency,layoutId:\"FZCo5wFFv\",onTap:onTap1q51xnk,ref:ref!==null&&ref!==void 0?ref:ref1,style:{\"--border-bottom-width\":\"2px\",\"--border-color\":\"rgba(0, 0, 0, 0)\",\"--border-left-width\":\"2px\",\"--border-right-width\":\"2px\",\"--border-style\":\"solid\",\"--border-top-width\":\"2px\",borderBottomLeftRadius:10,borderBottomRightRadius:10,borderTopLeftRadius:10,borderTopRightRadius:10,...style},variants:{irzG0Dp5U:{\"--border-bottom-width\":`${(_tJndCeVnA_borderBottomWidth=tJndCeVnA.borderBottomWidth)!==null&&_tJndCeVnA_borderBottomWidth!==void 0?_tJndCeVnA_borderBottomWidth:tJndCeVnA.borderWidth}px`,\"--border-color\":tJndCeVnA.borderColor,\"--border-left-width\":`${(_tJndCeVnA_borderLeftWidth=tJndCeVnA.borderLeftWidth)!==null&&_tJndCeVnA_borderLeftWidth!==void 0?_tJndCeVnA_borderLeftWidth:tJndCeVnA.borderWidth}px`,\"--border-right-width\":`${(_tJndCeVnA_borderRightWidth=tJndCeVnA.borderRightWidth)!==null&&_tJndCeVnA_borderRightWidth!==void 0?_tJndCeVnA_borderRightWidth:tJndCeVnA.borderWidth}px`,\"--border-style\":tJndCeVnA.borderStyle,\"--border-top-width\":`${(_tJndCeVnA_borderTopWidth=tJndCeVnA.borderTopWidth)!==null&&_tJndCeVnA_borderTopWidth!==void 0?_tJndCeVnA_borderTopWidth:tJndCeVnA.borderWidth}px`}},...addPropertyOverrides({\"FZCo5wFFv-hover\":{\"data-framer-name\":undefined},irzG0Dp5U:{\"data-framer-name\":\"Selected\"}},baseVariant,gestureVariant)})})})});});const css=[\"@supports (aspect-ratio: 1) { body { --framer-aspect-ratio-supported: auto; } }\",\".framer-71cRU.framer-1b8n8x0, .framer-71cRU .framer-1b8n8x0 { display: block; }\",\".framer-71cRU.framer-1irapf { cursor: pointer; height: 84px; overflow: hidden; position: relative; width: 84px; will-change: var(--framer-will-change-override, transform); }\",\".framer-71cRU.framer-v-1jjb1qq.framer-1irapf, .framer-71cRU.framer-v-1irapf.hover.framer-1irapf { aspect-ratio: 1 / 1; height: var(--framer-aspect-ratio-supported, 84px); }\",'.framer-71cRU[data-border=\"true\"]::after, .framer-71cRU [data-border=\"true\"]::after { content: \"\"; border-width: var(--border-top-width, 0) var(--border-right-width, 0) var(--border-bottom-width, 0) var(--border-left-width, 0); border-color: var(--border-color, none); border-style: var(--border-style, none); width: 100%; height: 100%; position: absolute; box-sizing: border-box; left: 0; top: 0; border-radius: inherit; pointer-events: none; }'];/**\n * This is a generated Framer component.\n * @framerIntrinsicHeight 84\n * @framerIntrinsicWidth 84\n * @framerCanvasComponentVariantDetails {\"propertyName\":\"variant\",\"data\":{\"default\":{\"layout\":[\"fixed\",\"fixed\"]},\"irzG0Dp5U\":{\"layout\":[\"fixed\",\"fixed\"]},\"YEkqakH6i\":{\"layout\":[\"fixed\",\"fixed\"]}}}\n * @framerVariables {\"GBi9Swc4q\":\"image\",\"tJndCeVnA\":\"borderColor\",\"WCgcb3OFQ\":\"click\"}\n * @framerImmutableVariables true\n * @framerDisplayContentsDiv false\n * @framerComponentViewportWidth true\n */const FramersGzHgWrEI=withCSS(Component,css,\"framer-71cRU\");export default FramersGzHgWrEI;FramersGzHgWrEI.displayName=\"Gallery Item\";FramersGzHgWrEI.defaultProps={height:84,width:84};addPropertyControls(FramersGzHgWrEI,{variant:{options:[\"FZCo5wFFv\",\"irzG0Dp5U\"],optionTitles:[\"Deselected\",\"Selected\"],title:\"Variant\",type:ControlType.Enum},GBi9Swc4q:{title:\"Image\",type:ControlType.ResponsiveImage},tJndCeVnA:{defaultValue:{borderColor:\"#222\",borderStyle:\"solid\",borderWidth:2},title:\"Border Color\",type:ControlType.Border},WCgcb3OFQ:{title:\"Click\",type:ControlType.EventHandler}});addFonts(FramersGzHgWrEI,[{explicitInter:true,fonts:[]}],{supportsExplicitInterCodegen:true});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"FramersGzHgWrEI\",\"slots\":[],\"annotations\":{\"framerContractVersion\":\"1\",\"framerCanvasComponentVariantDetails\":\"{\\\"propertyName\\\":\\\"variant\\\",\\\"data\\\":{\\\"default\\\":{\\\"layout\\\":[\\\"fixed\\\",\\\"fixed\\\"]},\\\"irzG0Dp5U\\\":{\\\"layout\\\":[\\\"fixed\\\",\\\"fixed\\\"]},\\\"YEkqakH6i\\\":{\\\"layout\\\":[\\\"fixed\\\",\\\"fixed\\\"]}}}\",\"framerVariables\":\"{\\\"GBi9Swc4q\\\":\\\"image\\\",\\\"tJndCeVnA\\\":\\\"borderColor\\\",\\\"WCgcb3OFQ\\\":\\\"click\\\"}\",\"framerImmutableVariables\":\"true\",\"framerIntrinsicWidth\":\"84\",\"framerComponentViewportWidth\":\"true\",\"framerDisplayContentsDiv\":\"false\",\"framerIntrinsicHeight\":\"84\"}},\"Props\":{\"type\":\"tsType\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./sGzHgWrEI.map","// Generated by Framer (d6b3045)\nimport{jsx as _jsx,jsxs as _jsxs}from\"react/jsx-runtime\";import{addFonts,addPropertyControls,ComponentViewportProvider,ControlType,cx,getFonts,getLoadingLazyAtYPosition,Image,useActiveVariantCallback,useComponentViewport,useLocaleInfo,useVariantState,withCSS}from\"framer\";import{LayoutGroup,motion,MotionConfigContext}from\"framer-motion\";import*as React from\"react\";import GalleryItem from\"https://framerusercontent.com/modules/re3EvKAXMBmf4FQstL4o/MZqTmKagHjpWVbNabFLD/sGzHgWrEI.js\";const GalleryItemFonts=getFonts(GalleryItem);const cycleOrder=[\"Zb8hiPkyA\",\"RclCAzqQV\",\"YA7wYCbaI\",\"ZugRKxUjj\"];const serializationHash=\"framer-qQUVz\";const variantClassNames={RclCAzqQV:\"framer-v-972sq6\",YA7wYCbaI:\"framer-v-u8n37o\",Zb8hiPkyA:\"framer-v-gvqaug\",ZugRKxUjj:\"framer-v-9bkwg7\"};function addPropertyOverrides(overrides,...variants){const nextOverrides={};variants===null||variants===void 0?void 0:variants.forEach(variant=>variant&&Object.assign(nextOverrides,overrides[variant]));return nextOverrides;}const transition1={bounce:.2,delay:0,duration:.4,type:\"spring\"};const toResponsiveImage=value=>{if(typeof value===\"object\"&&value!==null&&typeof value.src===\"string\"){return value;}return typeof value===\"string\"?{src:value}:undefined;};const isSet=value=>{if(Array.isArray(value)){return value.length>0;}return value!==undefined&&value!==null&&value!==\"\";};const Transition=({value,children})=>{const config=React.useContext(MotionConfigContext);const transition=value!==null&&value!==void 0?value:config.transition;const contextValue=React.useMemo(()=>({...config,transition}),[JSON.stringify(transition)]);return /*#__PURE__*/_jsx(MotionConfigContext.Provider,{value:contextValue,children:children});};const Variants=motion.create(React.Fragment);const humanReadableVariantMap={\"Image 1\":\"Zb8hiPkyA\",\"Image 2\":\"RclCAzqQV\",\"Image 3\":\"YA7wYCbaI\",\"Image 4\":\"ZugRKxUjj\"};const getProps=({height,id,image1,image2,image3,image4,width,...props})=>{var _humanReadableVariantMap_props_variant,_ref;return{...props,DAOZEyqc4:image4!==null&&image4!==void 0?image4:props.DAOZEyqc4,EpS2iXyo7:image1!==null&&image1!==void 0?image1:props.EpS2iXyo7,P2lnBz26D:image2!==null&&image2!==void 0?image2:props.P2lnBz26D,UEZPwfUqX:image3!==null&&image3!==void 0?image3:props.UEZPwfUqX,variant:(_ref=(_humanReadableVariantMap_props_variant=humanReadableVariantMap[props.variant])!==null&&_humanReadableVariantMap_props_variant!==void 0?_humanReadableVariantMap_props_variant:props.variant)!==null&&_ref!==void 0?_ref:\"Zb8hiPkyA\"};};const createLayoutDependency=(props,variants)=>{if(props.layoutDependency)return variants.join(\"-\")+props.layoutDependency;return variants.join(\"-\");};const Component=/*#__PURE__*/React.forwardRef(function(props,ref){const{activeLocale,setLocale}=useLocaleInfo();const{style,className,layoutId,variant,EpS2iXyo7,P2lnBz26D,UEZPwfUqX,DAOZEyqc4,...restProps}=getProps(props);const{baseVariant,classNames,clearLoadingGesture,gestureHandlers,gestureVariant,isLoading,setGestureState,setVariant,variants}=useVariantState({cycleOrder,defaultVariant:\"Zb8hiPkyA\",variant,variantClassNames});const layoutDependency=createLayoutDependency(props,variants);const{activeVariantCallback,delay}=useActiveVariantCallback(baseVariant);const WCgcb3OFQl1hg52=activeVariantCallback(async(...args)=>{setVariant(\"Zb8hiPkyA\");});const WCgcb3OFQ1f698m9=activeVariantCallback(async(...args)=>{setVariant(\"RclCAzqQV\");});const WCgcb3OFQ1ki17xh=activeVariantCallback(async(...args)=>{setVariant(\"YA7wYCbaI\");});const WCgcb3OFQdw9vcs=activeVariantCallback(async(...args)=>{setVariant(\"ZugRKxUjj\");});const ref1=React.useRef(null);const visible=isSet(P2lnBz26D);const visible1=isSet(UEZPwfUqX);const visible2=isSet(DAOZEyqc4);const defaultLayoutId=React.useId();const sharedStyleClassNames=[];const componentViewport=useComponentViewport();return /*#__PURE__*/_jsx(LayoutGroup,{id:layoutId!==null&&layoutId!==void 0?layoutId:defaultLayoutId,children:/*#__PURE__*/_jsx(Variants,{animate:variants,initial:false,children:/*#__PURE__*/_jsx(Transition,{value:transition1,children:/*#__PURE__*/_jsxs(motion.div,{...restProps,...gestureHandlers,className:cx(serializationHash,...sharedStyleClassNames,\"framer-gvqaug\",className,classNames),\"data-framer-name\":\"Image 1\",layoutDependency:layoutDependency,layoutId:\"Zb8hiPkyA\",ref:ref!==null&&ref!==void 0?ref:ref1,style:{...style},...addPropertyOverrides({RclCAzqQV:{\"data-framer-name\":\"Image 2\"},YA7wYCbaI:{\"data-framer-name\":\"Image 3\"},ZugRKxUjj:{\"data-framer-name\":\"Image 4\"}},baseVariant,gestureVariant),children:[/*#__PURE__*/_jsxs(motion.div,{className:\"framer-iis009\",layoutDependency:layoutDependency,layoutId:\"v7u4JD1Wb\",children:[/*#__PURE__*/_jsx(ComponentViewportProvider,{height:84,width:\"84px\",y:((componentViewport===null||componentViewport===void 0?void 0:componentViewport.y)||0)+0+0+-141,children:/*#__PURE__*/_jsx(motion.div,{className:\"framer-qpq519-container\",layoutDependency:layoutDependency,layoutId:\"Q5AQh_Xbn-container\",children:/*#__PURE__*/_jsx(GalleryItem,{GBi9Swc4q:toResponsiveImage(EpS2iXyo7),height:\"100%\",id:\"Q5AQh_Xbn\",layoutId:\"Q5AQh_Xbn\",style:{height:\"100%\",width:\"100%\"},tJndCeVnA:{borderColor:\"#222\",borderStyle:\"solid\",borderWidth:2},variant:\"irzG0Dp5U\",WCgcb3OFQ:WCgcb3OFQl1hg52,width:\"100%\",...addPropertyOverrides({RclCAzqQV:{variant:\"FZCo5wFFv\"},YA7wYCbaI:{variant:\"FZCo5wFFv\"},ZugRKxUjj:{variant:\"FZCo5wFFv\"}},baseVariant,gestureVariant)})})}),visible&&/*#__PURE__*/_jsx(ComponentViewportProvider,{height:84,width:\"84px\",y:((componentViewport===null||componentViewport===void 0?void 0:componentViewport.y)||0)+0+0+-47,children:/*#__PURE__*/_jsx(motion.div,{className:\"framer-vigrov-container\",layoutDependency:layoutDependency,layoutId:\"F2G9ybX3v-container\",children:/*#__PURE__*/_jsx(GalleryItem,{GBi9Swc4q:toResponsiveImage(P2lnBz26D),height:\"100%\",id:\"F2G9ybX3v\",layoutId:\"F2G9ybX3v\",style:{height:\"100%\",width:\"100%\"},tJndCeVnA:{borderColor:\"#222\",borderStyle:\"solid\",borderWidth:2},variant:\"FZCo5wFFv\",WCgcb3OFQ:WCgcb3OFQ1f698m9,width:\"100%\",...addPropertyOverrides({RclCAzqQV:{variant:\"irzG0Dp5U\"}},baseVariant,gestureVariant)})})}),visible1&&/*#__PURE__*/_jsx(ComponentViewportProvider,{height:84,width:\"84px\",y:((componentViewport===null||componentViewport===void 0?void 0:componentViewport.y)||0)+0+0+47,children:/*#__PURE__*/_jsx(motion.div,{className:\"framer-1hpdte8-container\",layoutDependency:layoutDependency,layoutId:\"kCXgXNLP7-container\",children:/*#__PURE__*/_jsx(GalleryItem,{GBi9Swc4q:toResponsiveImage(UEZPwfUqX),height:\"100%\",id:\"kCXgXNLP7\",layoutId:\"kCXgXNLP7\",style:{height:\"100%\",width:\"100%\"},tJndCeVnA:{borderColor:\"#222\",borderStyle:\"solid\",borderWidth:2},variant:\"FZCo5wFFv\",WCgcb3OFQ:WCgcb3OFQ1ki17xh,width:\"100%\",...addPropertyOverrides({YA7wYCbaI:{variant:\"irzG0Dp5U\"}},baseVariant,gestureVariant)})})}),visible2&&/*#__PURE__*/_jsx(ComponentViewportProvider,{height:84,width:\"84px\",y:((componentViewport===null||componentViewport===void 0?void 0:componentViewport.y)||0)+0+0+141,children:/*#__PURE__*/_jsx(motion.div,{className:\"framer-5cbnfd-container\",layoutDependency:layoutDependency,layoutId:\"YcMlOWSrE-container\",children:/*#__PURE__*/_jsx(GalleryItem,{GBi9Swc4q:toResponsiveImage(DAOZEyqc4),height:\"100%\",id:\"YcMlOWSrE\",layoutId:\"YcMlOWSrE\",style:{height:\"100%\",width:\"100%\"},tJndCeVnA:{borderColor:\"#222\",borderStyle:\"solid\",borderWidth:2},variant:\"FZCo5wFFv\",WCgcb3OFQ:WCgcb3OFQdw9vcs,width:\"100%\",...addPropertyOverrides({ZugRKxUjj:{variant:\"irzG0Dp5U\"}},baseVariant,gestureVariant)})})})]}),/*#__PURE__*/_jsx(Image,{background:{alt:\"\",fit:\"fill\",loading:getLoadingLazyAtYPosition(((componentViewport===null||componentViewport===void 0?void 0:componentViewport.y)||0)+0),...toResponsiveImage(EpS2iXyo7)},className:\"framer-5mnngi\",layoutDependency:layoutDependency,layoutId:\"ayq72IZ2L\",style:{borderBottomLeftRadius:10,borderBottomRightRadius:10,borderTopLeftRadius:10,borderTopRightRadius:10},...addPropertyOverrides({RclCAzqQV:{background:{alt:\"\",fit:\"fill\",loading:getLoadingLazyAtYPosition(((componentViewport===null||componentViewport===void 0?void 0:componentViewport.y)||0)+0),...toResponsiveImage(P2lnBz26D)}},YA7wYCbaI:{background:{alt:\"\",fit:\"fill\",loading:getLoadingLazyAtYPosition(((componentViewport===null||componentViewport===void 0?void 0:componentViewport.y)||0)+0),...toResponsiveImage(UEZPwfUqX)}},ZugRKxUjj:{background:{alt:\"\",fit:\"fill\",loading:getLoadingLazyAtYPosition(((componentViewport===null||componentViewport===void 0?void 0:componentViewport.y)||0)+0),...toResponsiveImage(DAOZEyqc4)}}},baseVariant,gestureVariant)})]})})})});});const css=[\"@supports (aspect-ratio: 1) { body { --framer-aspect-ratio-supported: auto; } }\",\".framer-qQUVz.framer-1l4p0fy, .framer-qQUVz .framer-1l4p0fy { display: block; }\",\".framer-qQUVz.framer-gvqaug { align-content: flex-start; align-items: flex-start; display: flex; flex-direction: row; flex-wrap: nowrap; gap: 10px; height: min-content; justify-content: center; overflow: hidden; padding: 0px; position: relative; width: 600px; }\",\".framer-qQUVz .framer-iis009 { align-content: center; align-items: center; display: flex; flex: none; flex-direction: column; flex-wrap: nowrap; gap: 10px; height: min-content; justify-content: center; overflow: hidden; padding: 0px; position: relative; width: min-content; }\",\".framer-qQUVz .framer-qpq519-container, .framer-qQUVz .framer-vigrov-container, .framer-qQUVz .framer-1hpdte8-container, .framer-qQUVz .framer-5cbnfd-container { flex: none; height: 84px; position: relative; width: 84px; }\",\".framer-qQUVz .framer-5mnngi { aspect-ratio: 1 / 1; flex: 1 0 0px; height: var(--framer-aspect-ratio-supported, 506px); overflow: hidden; position: relative; width: 1px; will-change: var(--framer-will-change-override, transform); }\",\"@supports (background: -webkit-named-image(i)) and (not (font-palette:dark)) { .framer-qQUVz.framer-gvqaug, .framer-qQUVz .framer-iis009 { gap: 0px; } .framer-qQUVz.framer-gvqaug > * { margin: 0px; margin-left: calc(10px / 2); margin-right: calc(10px / 2); } .framer-qQUVz.framer-gvqaug > :first-child { margin-left: 0px; } .framer-qQUVz.framer-gvqaug > :last-child { margin-right: 0px; } .framer-qQUVz .framer-iis009 > * { margin: 0px; margin-bottom: calc(10px / 2); margin-top: calc(10px / 2); } .framer-qQUVz .framer-iis009 > :first-child { margin-top: 0px; } .framer-qQUVz .framer-iis009 > :last-child { margin-bottom: 0px; } }\"];/**\n * This is a generated Framer component.\n * @framerIntrinsicHeight 506\n * @framerIntrinsicWidth 600\n * @framerCanvasComponentVariantDetails {\"propertyName\":\"variant\",\"data\":{\"default\":{\"layout\":[\"fixed\",\"auto\"]},\"RclCAzqQV\":{\"layout\":[\"fixed\",\"auto\"]},\"YA7wYCbaI\":{\"layout\":[\"fixed\",\"auto\"]},\"ZugRKxUjj\":{\"layout\":[\"fixed\",\"auto\"]}}}\n * @framerVariables {\"EpS2iXyo7\":\"image1\",\"P2lnBz26D\":\"image2\",\"UEZPwfUqX\":\"image3\",\"DAOZEyqc4\":\"image4\"}\n * @framerImmutableVariables true\n * @framerDisplayContentsDiv false\n * @framerComponentViewportWidth true\n */const FramerHWYKK6oOF=withCSS(Component,css,\"framer-qQUVz\");export default FramerHWYKK6oOF;FramerHWYKK6oOF.displayName=\"Image Gallery\";FramerHWYKK6oOF.defaultProps={height:506,width:600};addPropertyControls(FramerHWYKK6oOF,{variant:{options:[\"Zb8hiPkyA\",\"RclCAzqQV\",\"YA7wYCbaI\",\"ZugRKxUjj\"],optionTitles:[\"Image 1\",\"Image 2\",\"Image 3\",\"Image 4\"],title:\"Variant\",type:ControlType.Enum},EpS2iXyo7:{title:\"Image 1\",type:ControlType.ResponsiveImage},P2lnBz26D:{title:\"Image 2\",type:ControlType.ResponsiveImage},UEZPwfUqX:{title:\"Image 3\",type:ControlType.ResponsiveImage},DAOZEyqc4:{title:\"Image 4\",type:ControlType.ResponsiveImage}});addFonts(FramerHWYKK6oOF,[{explicitInter:true,fonts:[]},...GalleryItemFonts],{supportsExplicitInterCodegen:true});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"FramerHWYKK6oOF\",\"slots\":[],\"annotations\":{\"framerDisplayContentsDiv\":\"false\",\"framerVariables\":\"{\\\"EpS2iXyo7\\\":\\\"image1\\\",\\\"P2lnBz26D\\\":\\\"image2\\\",\\\"UEZPwfUqX\\\":\\\"image3\\\",\\\"DAOZEyqc4\\\":\\\"image4\\\"}\",\"framerCanvasComponentVariantDetails\":\"{\\\"propertyName\\\":\\\"variant\\\",\\\"data\\\":{\\\"default\\\":{\\\"layout\\\":[\\\"fixed\\\",\\\"auto\\\"]},\\\"RclCAzqQV\\\":{\\\"layout\\\":[\\\"fixed\\\",\\\"auto\\\"]},\\\"YA7wYCbaI\\\":{\\\"layout\\\":[\\\"fixed\\\",\\\"auto\\\"]},\\\"ZugRKxUjj\\\":{\\\"layout\\\":[\\\"fixed\\\",\\\"auto\\\"]}}}\",\"framerIntrinsicWidth\":\"600\",\"framerImmutableVariables\":\"true\",\"framerIntrinsicHeight\":\"506\",\"framerComponentViewportWidth\":\"true\",\"framerContractVersion\":\"1\"}},\"Props\":{\"type\":\"tsType\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./HWYKK6oOF.map","import{createContext,useContext}from\"react\";export const CartItemContext=/*#__PURE__*/createContext({cartItemId:null,shopifyId:null,variantId:null,quantity:1});export const useCartItem=()=>useContext(CartItemContext);\nexport const __FramerMetadata__ = {\"exports\":{\"useCartItem\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"CartItemContext\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./CartItemContext.map","import{jsx as _jsx,jsxs as _jsxs}from\"react/jsx-runtime\";import{addPropertyControls,ControlType,withCSS,RenderTarget}from\"framer\";import{useState,useEffect}from\"react\";import{parseShopifyData,Button,createButtonPropertyControls,Colors}from\"https://framerusercontent.com/modules/gd3dcT3w5rYoRy7ZcKte/7sXEITVox706kPxllq1Q/Shared.js\";import{useProductStore,useSelectedVariant}from\"https://framerusercontent.com/modules/ajKYBgRXgNyNgL1GkpqG/z7K2CKYUtg87IHlLzR5M/ProductState.js\";import{useCartItem}from\"https://framerusercontent.com/modules/Be5mN5EUhdOwl54qCG8y/J9euLrPXDn7tlWAYh88s/CartItemContext.js\";import{useCartStore,useAmountInStock}from\"https://framerusercontent.com/modules/ibjYTPLnMMPhPLNCj4uG/HFDScayX3kQP8T0wje6D/Cart.js\";var State;(function(State){State[\"Default\"]=\"default\";State[\"Disabled\"]=\"disabled\";})(State||(State={}));const INPUT_CLASS=\"frameship-quantity-input\";/**\n * @framerSupportedLayoutWidth fixed\n * @framerSupportedLayoutHeight fixed\n * @framerIntrinsicWidth 40\n * @framerIntrinsicHeight 40\n * @framerDisableUnlink\n */function QuantityInputComponent(props){const{shopifyData,type,icon,maxValue}=props;const{shopifyId}=parseShopifyData(shopifyData);const isCanvas=RenderTarget.current()===RenderTarget.canvas;const{cartItemId,variantId:cartVariantId,quantity:cartItemQuantity}=useCartItem();const[productStoreQuantity,setProductStoreQuantity]=useProductStore(state=>{var _state_products_shopifyId;return[(_state_products_shopifyId=state.products[shopifyId])===null||_state_products_shopifyId===void 0?void 0:_state_products_shopifyId.quantity,state.setQuantity];});const[items,setCartItemQuantity]=useCartStore(state=>[state.items,state.setCartItemQuantity]);const[inventory,inventoryIsLoading]=useAmountInStock(shopifyData);const selectedVariant=useSelectedVariant(props.shopifyData);const variantId=cartItemId?cartVariantId:selectedVariant===null||selectedVariant===void 0?void 0:selectedVariant.id;const quantity=(cartItemId?cartItemQuantity:productStoreQuantity)||1;const maxQuantity=Math.min(inventory[variantId]||Infinity,maxValue);const[inputValue,setInputValue]=useState(quantity.toString());const setItemQuantity=newQuantity=>{const limitedQuantity=Math.min(newQuantity,maxQuantity,maxValue);if(cartItemId){setCartItemQuantity(cartItemId,limitedQuantity);}else{setProductStoreQuantity(shopifyId,limitedQuantity);}};useEffect(()=>{if(!cartItemId&&quantity>maxQuantity){setProductStoreQuantity(shopifyId,maxQuantity);}},[maxQuantity,cartItemId,quantity,shopifyId,setProductStoreQuantity]);useEffect(()=>{setInputValue(quantity.toString());},[quantity]);let element=null;switch(type){case\"add\":case\"subtract\":const radius=icon.rounded?icon.strokeWidth/2:0;const disabled=type===\"add\"&&quantity>=maxQuantity||type===\"subtract\"&&quantity<=1;element=/*#__PURE__*/_jsx(Button,{...props,variant:disabled&&!isCanvas?\"disabled\":\"default\",onClick:()=>setItemQuantity(quantity+(type===\"add\"?1:-1)),disabled:disabled,style:{display:\"flex\",alignItems:\"center\",justifyContent:\"center\",cursor:disabled?undefined:\"pointer\",...props.style},children:/*#__PURE__*/_jsxs(\"svg\",{xmlns:\"http://www.w3.org/2000/svg\",width:icon.size,height:icon.size,viewBox:\"0 0 16 16\",children:[/*#__PURE__*/_jsx(\"path\",{d:`M ${radius} 8 L ${16-radius} 8`,fill:\"transparent\",strokeWidth:icon.strokeWidth,stroke:\"currentColor\",strokeLinecap:icon.rounded?\"round\":\"square\"}),type==\"add\"&&/*#__PURE__*/_jsx(\"path\",{d:`M 8 ${radius} L 8 ${16-radius}`,fill:\"transparent\",strokeWidth:icon.strokeWidth,stroke:\"currentColor\",strokeLinecap:icon.rounded?\"round\":\"square\"})]})});break;case\"input\":const handleInputChange=event=>{setInputValue(event.target.value);};const handleSetQuantity=()=>{const newQuantity=parseInt(inputValue,10);if(!isNaN(newQuantity)&&newQuantity>0){setItemQuantity(newQuantity);}else{setInputValue(quantity.toString());}};element=/*#__PURE__*/_jsx(Button,{...props,className:INPUT_CLASS,tag:\"input\",type:\"number\",value:inputValue,onChange:handleInputChange,onBlur:handleSetQuantity,onKeyDown:event=>{if(event.key===\"Enter\"){handleSetQuantity();}},max:maxQuantity});break;}return element;}const QuantityInput=withCSS(QuantityInputComponent,[`input.${INPUT_CLASS}[type=number]::-webkit-outer-spin-button, input.${INPUT_CLASS}[type=number]::-webkit-inner-spin-button { display: none; }`,`input.${INPUT_CLASS}[type=number] { -moz-appearance: textfield; /* Firefox */ }`]);export default QuantityInput;QuantityInput.displayName=\"Quantity Input\";addPropertyControls(QuantityInput,{shopifyData:{type:ControlType.String,defaultValue:\"\",placeholder:\"Shopify Data\"},type:{type:ControlType.Enum,options:[\"subtract\",\"input\",\"add\"],optionTitles:[\"−\",\"Input\",\"+\"],displaySegmentedControl:true},maxValue:{type:ControlType.Number,defaultValue:100,min:1,step:1},icon:{type:ControlType.Object,hidden:props=>props.type!==\"add\"&&props.type!==\"subtract\",controls:{size:{type:ControlType.Number,defaultValue:12,min:0,step:1},strokeWidth:{type:ControlType.Number,defaultValue:3,min:0,max:10,step:1,title:\"Stroke\"},rounded:{type:ControlType.Boolean,defaultValue:true}}},...createButtonPropertyControls({placeholder:true,hidden:{font:props=>props.type!==\"input\",placeholder:props=>props.type!==\"input\"},variants:[{id:\"default\",title:\"Default\",...Colors.Primary},{id:\"disabled\",title:\"Disabled\",color:\"rgba(0, 0, 0, 0.25)\"}]})});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"QuantityInput\",\"slots\":[],\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}","export default{AED:\"د.إ\",AFN:\"؋\",ALL:\"L\",AMD:\"֏\",ANG:\"ƒ\",AOA:\"Kz\",ARS:\"$\",AUD:\"$\",AWG:\"ƒ\",AZN:\"₼\",BAM:\"KM\",BBD:\"$\",BDT:\"৳\",BGN:\"лв\",BHD:\".د.ب\",BIF:\"FBu\",BMD:\"$\",BND:\"$\",BOB:\"$b\",BOV:\"BOV\",BRL:\"R$\",BSD:\"$\",BTC:\"₿\",BTN:\"Nu.\",BWP:\"P\",BYN:\"Br\",BYR:\"Br\",BZD:\"BZ$\",CAD:\"$\",CDF:\"FC\",CHE:\"CHE\",CHF:\"CHF\",CHW:\"CHW\",CLF:\"CLF\",CLP:\"$\",CNH:\"\\xa5\",CNY:\"\\xa5\",COP:\"$\",COU:\"COU\",CRC:\"₡\",CUC:\"$\",CUP:\"₱\",CVE:\"$\",CZK:\"Kč\",DJF:\"Fdj\",DKK:\"kr\",DOP:\"RD$\",DZD:\"دج\",EEK:\"kr\",EGP:\"\\xa3\",ERN:\"Nfk\",ETB:\"Br\",ETH:\"Ξ\",EUR:\"€\",FJD:\"$\",FKP:\"\\xa3\",GBP:\"\\xa3\",GEL:\"₾\",GGP:\"\\xa3\",GHC:\"₵\",GHS:\"GH₵\",GIP:\"\\xa3\",GMD:\"D\",GNF:\"FG\",GTQ:\"Q\",GYD:\"$\",HKD:\"$\",HNL:\"L\",HRK:\"kn\",HTG:\"G\",HUF:\"Ft\",IDR:\"Rp\",ILS:\"₪\",IMP:\"\\xa3\",INR:\"₹\",IQD:\"ع.د\",IRR:\"﷼\",ISK:\"kr\",JEP:\"\\xa3\",JMD:\"J$\",JOD:\"JD\",JPY:\"\\xa5\",KES:\"KSh\",KGS:\"лв\",KHR:\"៛\",KMF:\"CF\",KPW:\"₩\",KRW:\"₩\",KWD:\"KD\",KYD:\"$\",KZT:\"₸\",LAK:\"₭\",LBP:\"\\xa3\",LKR:\"₨\",LRD:\"$\",LSL:\"M\",LTC:\"Ł\",LTL:\"Lt\",LVL:\"Ls\",LYD:\"LD\",MAD:\"MAD\",MDL:\"lei\",MGA:\"Ar\",MKD:\"ден\",MMK:\"K\",MNT:\"₮\",MOP:\"MOP$\",MRO:\"UM\",MRU:\"UM\",MUR:\"₨\",MVR:\"Rf\",MWK:\"MK\",MXN:\"$\",MXV:\"MXV\",MYR:\"RM\",MZN:\"MT\",NAD:\"$\",NGN:\"₦\",NIO:\"C$\",NOK:\"kr\",NPR:\"₨\",NZD:\"$\",OMR:\"﷼\",PAB:\"B/.\",PEN:\"S/.\",PGK:\"K\",PHP:\"₱\",PKR:\"₨\",PLN:\"zł\",PYG:\"Gs\",QAR:\"﷼\",RMB:\"￥\",RON:\"lei\",RSD:\"Дин.\",RUB:\"₽\",RWF:\"R₣\",SAR:\"﷼\",SBD:\"$\",SCR:\"₨\",SDG:\"ج.س.\",SEK:\"kr\",SGD:\"S$\",SHP:\"\\xa3\",SLL:\"Le\",SOS:\"S\",SRD:\"$\",SSP:\"\\xa3\",STD:\"Db\",STN:\"Db\",SVC:\"$\",SYP:\"\\xa3\",SZL:\"E\",THB:\"฿\",TJS:\"SM\",TMT:\"T\",TND:\"د.ت\",TOP:\"T$\",TRL:\"₤\",TRY:\"₺\",TTD:\"TT$\",TVD:\"$\",TWD:\"NT$\",TZS:\"TSh\",UAH:\"₴\",UGX:\"USh\",USD:\"$\",UYI:\"UYI\",UYU:\"$U\",UYW:\"UYW\",UZS:\"лв\",VEF:\"Bs\",VES:\"Bs.S\",VND:\"₫\",VUV:\"VT\",WST:\"WS$\",XAF:\"FCFA\",XBT:\"Ƀ\",XCD:\"$\",XOF:\"CFA\",XPF:\"₣\",XSU:\"Sucre\",XUA:\"XUA\",YER:\"﷼\",ZAR:\"R\",ZMW:\"ZK\",ZWD:\"Z$\",ZWL:\"$\"};\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./CurrencySymbols.map","import{jsx as _jsx,jsxs as _jsxs}from\"react/jsx-runtime\";import{addPropertyControls,ControlType,withCSS}from\"framer\";import CurrencySymbols from\"https://framerusercontent.com/modules/pJIZxaEdKo1uS87sS4xM/4PSl3AVmNoISomoZ0s7m/CurrencySymbols.js\";import{useSelectedVariant}from\"https://framerusercontent.com/modules/ajKYBgRXgNyNgL1GkpqG/z7K2CKYUtg87IHlLzR5M/ProductState.js\";const currencyCode=\"USD\";const HIDDEN_CLASS=\"frameship-price-label-hidden\";/**\n * @framerSupportedLayoutWidth any\n * @framerSupportedLayoutHeight auto\n * @framerDisableUnlink\n */function ProductInfoLabelComponent(props){var _props_style;const{type,whenZero,textWhenZero,currencyFormat}=props;const Tag=props.htmlTag||\"p\";const variant=useSelectedVariant(props.shopifyData);let value=variant?variant[type]:\"\";let hidden=false;if(typeof value===\"object\"&&value.hasOwnProperty(\"amount\")){value=value.amount;}else if(typeof value!==\"number\"){value=0;}if(type==\"price\"||type==\"compareAtPrice\"){if(whenZero==\"hide\"&&!value){hidden=true;}else if(whenZero==\"showText\"&&!value){value=textWhenZero;}else{value=formatCurrency(value,currencyCode,currencyFormat);}}return hidden?/*#__PURE__*/_jsx(\"div\",{className:HIDDEN_CLASS}):/*#__PURE__*/_jsxs(Tag,{style:{color:props.color,margin:0,whiteSpace:\"pre\",userSelect:props.selectable?undefined:\"none\",textDecoration:props.decoration===\"strikethrough\"?\"line-through\":props.decoration,textWrap:((_props_style=props.style)===null||_props_style===void 0?void 0:_props_style.width)==\"100%\"?\"wrap\":\"nowrap\",...props.font,...props.style},children:[props.prefix,value,props.suffix]});}const ProductInfoLabel=withCSS(ProductInfoLabelComponent,[`.${HIDDEN_CLASS} { display: none !important; }`,`div:has(> .${HIDDEN_CLASS}) { display: none !important; }`]);export default ProductInfoLabel;ProductInfoLabel.displayName=\"Product Info Label\";addPropertyControls(ProductInfoLabel,{shopifyData:{type:ControlType.String,defaultValue:\"\",placeholder:\"Shopify Data\"},type:{type:ControlType.Enum,defaultValue:\"price\",options:[\"price\",\"compareAtPrice\",\"sku\",\"barcode\"],optionTitles:[\"Price\",\"Compare-at Price\",\"SKU\",\"Barcode\"]},whenZero:{type:ControlType.Enum,defaultValue:\"show\",options:[\"show\",\"showText\",\"hide\"],optionTitles:[\"Show\",\"Show Text\",\"Hide\"],title:\"When Zero\",hidden:props=>props.type!==\"price\"&&props.type!==\"compareAtPrice\"},textWhenZero:{type:ControlType.String,defaultValue:\"Free\",title:\" \",hidden:props=>props.type!==\"price\"&&props.type!==\"compareAtPrice\"||props.whenZero!==\"showText\"},currencyFormat:{type:ControlType.Object,title:\"Currency\",controls:{style:{type:ControlType.Enum,defaultValue:\"symbol\",options:[\"code\",\"symbol\"],optionTitles:[\"Code (USD, GBP)\",\"Symbol ($, \\xa3)\"],displaySegmentedControl:true,segmentedControlDirection:\"vertical\"},decimals:{type:ControlType.Enum,defaultValue:\"auto\",options:[\"auto\",\"always\",\"never\"],optionTitles:[\"Auto\",\"Always (10.00)\",\"Never (10)\"],displaySegmentedControl:true,segmentedControlDirection:\"vertical\"},formatted:{type:ControlType.Boolean,defaultValue:true},locale:{type:ControlType.String,defaultValue:\"\",placeholder:`Auto (${typeof navigator!==\"undefined\"?navigator.language:\"\"})`,hidden:props=>!props.formatted}}},font:{type:\"font\",controls:\"extended\",defaultFontType:\"sans-serif\",defaultValue:{fontSize:16,lineHeight:1.4}},color:{type:ControlType.Color,defaultValue:\"#999999\"},prefix:{type:ControlType.String,defaultValue:\"\"},suffix:{type:ControlType.String,defaultValue:\"\"},decoration:{type:ControlType.Enum,defaultValue:\"none\",options:[\"none\",\"strikethrough\",\"underline\"],optionTitles:[\"None\",\"Strikethrough\",\"Underline\"]},selectable:{type:ControlType.Boolean,defaultValue:true},htmlTag:{type:ControlType.Enum,options:[\"p\",\"span\",\"h1\",\"h2\",\"h3\",\"h4\",\"h5\",\"h6\"],title:\"HTML Tag\"}});function formatCurrency(amount,currencyCode,options){amount=Number(amount)||0;let value=\"\";value+=options.style==\"code\"?currencyCode+\" \":String(CurrencySymbols[currencyCode]);const showDecimals=options.decimals==\"auto\"?amount%1!==0:options.decimals==\"always\";if(options.formatted&&typeof Intl!==\"undefined\"){const formatter=new Intl.NumberFormat(getLocale(options.locale),{minimumFractionDigits:showDecimals?2:0,maximumFractionDigits:showDecimals?2:0});value+=formatter.format(amount);}else{value+=amount.toFixed(showDecimals?2:0);}return value;}function getLocale(locale){return locale||typeof navigator!==\"undefined\"?navigator.language:\"en-us\";}\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"ProductInfoLabel\",\"slots\":[],\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}","import{jsx as _jsx,jsxs as _jsxs}from\"react/jsx-runtime\";import{addPropertyControls,ControlType,withCSS,RenderTarget}from\"framer\";import{parseShopifyData,createButtonPropertyControls,Colors,Button}from\"https://framerusercontent.com/modules/gd3dcT3w5rYoRy7ZcKte/7sXEITVox706kPxllq1Q/Shared.js\";import{useProductStore}from\"https://framerusercontent.com/modules/ajKYBgRXgNyNgL1GkpqG/z7K2CKYUtg87IHlLzR5M/ProductState.js\";import{useAmountInStock}from\"https://framerusercontent.com/modules/ibjYTPLnMMPhPLNCj4uG/HFDScayX3kQP8T0wje6D/Cart.js\";const HIDDEN_CLASS=\"frameship-variant-buttons-hidden\";const SAMPLE_VARIANTS=`[{\"id\":\"gid://shopify/ProductOption/12345678901234\",\"name\":\"Sample Variants\",\"values\":[\"Red\",\"Blue\",\"Green\",\"Purple\"]}]`;var State;(function(State){State[\"Default\"]=\"default\";State[\"Selected\"]=\"selected\";State[\"Disabled\"]=\"disabled\";})(State||(State={}));const alignmentMap={left:\"flex-start\",center:\"center\",right:\"flex-end\"};/**\n * @framerSupportedLayoutWidth any-prefer-fixed\n * @framerSupportedLayoutHeight auto\n * @framerIntrinsicWidth 300\n * @framerDisableUnlink\n */function VariantButtonsComponent(props){const{shopifyData,variantOptions,titles,textButtons,layout}=props;const{shopifyId,tracksInventory,variants}=parseShopifyData(shopifyData);const horizontal=layout.direction===\"horizontal\";const isCanvas=RenderTarget.current()===RenderTarget.canvas;const[selectedVariantOptions,setSelectedVariantOption]=useProductStore(state=>{var _state_products_shopifyId;return[((_state_products_shopifyId=state.products[shopifyId])===null||_state_products_shopifyId===void 0?void 0:_state_products_shopifyId.selectedVariantOptions)||{},state.setSelectedVariantOption];});const[inventory,inventoryIsLoading]=useAmountInStock(shopifyData);const options=parseVariantOptions(isCanvas&&!variantOptions?SAMPLE_VARIANTS:variantOptions);const disabledOptionValues={};if(tracksInventory){for(const option of options){const disabledValues=[];for(const value of option.values){const matchingVariants=variants.filter(variant=>variant.selectedOptions.some(o=>o.name===option.name&&o.value===value));const outOfStockVariants=matchingVariants.filter(variant=>inventory[variant.id]===0);if(matchingVariants.length===outOfStockVariants.length){disabledValues.push(value);}}disabledOptionValues[option.name]=disabledValues;}}const selectedOptions={...selectedVariantOptions};let hasUpdatedGlobalState=false;let firstAvailableVariantOptions={};for(const variant of variants){if(inventory[variant.id]>0){for(const option of variant.selectedOptions){firstAvailableVariantOptions[option.name]=option.value;}break;}}for(const option of options){const name=option===null||option===void 0?void 0:option.name;const values=option===null||option===void 0?void 0:option.values;if(!name||!Array.isArray(values)){continue;}if(selectedOptions[name]&&values.includes(selectedOptions[name])){continue;// Keep the existing selection\n}else if(firstAvailableVariantOptions[name]){setSelectedVariantOption(shopifyId,name,firstAvailableVariantOptions[name]);}}const onVariantClicked=(optionName,optionValue)=>{setSelectedVariantOption(shopifyId,optionName,optionValue);};return options.length==0?/*#__PURE__*/_jsx(\"div\",{className:HIDDEN_CLASS}):/*#__PURE__*/_jsx(\"div\",{style:{display:\"flex\",flexDirection:\"column\",gap:props.gap,userSelect:\"none\",minHeight:options.length==0?40:0,minWidth:options.length==0?40:0,...props.style},children:options.map(option=>/*#__PURE__*/_jsxs(\"div\",{style:{width:\"100%\",display:\"flex\",flexDirection:(titles===null||titles===void 0?void 0:titles.location)==\"bottom\"?\"column-reverse\":\"column\",gap:titles===null||titles===void 0?void 0:titles.gap},children:[titles&&/*#__PURE__*/_jsx(\"p\",{style:{width:\"100%\",color:titles.color,whiteSpace:\"pre\",margin:0,...titles.font},children:option.name}),/*#__PURE__*/_jsx(\"div\",{style:{width:\"100%\",display:\"flex\",flexDirection:horizontal?\"row\":\"column\",rowGap:layout.gapV,columnGap:layout.gapH,alignItems:horizontal?\"center\":alignmentMap[layout.verticalAlignment],justifyContent:horizontal?layout.distribute:\"start\",flexWrap:layout.wrap?\"wrap\":\"nowrap\"},children:option.values.map((value,index)=>{var _disabledOptionValues_option_name;const selected=isCanvas?index===0:selectedOptions[option.name]==value;const disabled=isCanvas||!tracksInventory?false:textButtons.outOfStock.disable&&((_disabledOptionValues_option_name=disabledOptionValues[option.name])===null||_disabledOptionValues_option_name===void 0?void 0:_disabledOptionValues_option_name.includes(value));return /*#__PURE__*/_jsx(Button,{...textButtons,variant:disabled?\"disabled\":selected?\"selected\":\"default\",onClick:()=>!disabled&&onVariantClicked(option.name,value),style:{flex:textButtons.width===\"fill\"?\"1 1 0\":\"none\",width:textButtons.width===\"fill\"?\"0\":textButtons.width===\"fixed\"?textButtons.fixedWidth:undefined,cursor:disabled?undefined:\"pointer\",...textButtons.font},disabled:disabled,children:value},value);})})]},option.name))});}const VariantButtons=withCSS(VariantButtonsComponent,[`.${HIDDEN_CLASS} { display: none; }`,`div:has(> .${HIDDEN_CLASS}) { display: none; }`]);export default VariantButtons;VariantButtons.displayName=\"Variant Buttons\";addPropertyControls(VariantButtons,{shopifyData:{type:ControlType.String,defaultValue:\"\",placeholder:\"Shopify Data\"},variantOptions:{type:ControlType.String,defaultValue:\"\",placeholder:\"Variant Options\"},titles:{type:ControlType.Object,optional:true,buttonTitle:\"Style\",defaultValue:{location:\"top\",color:\"#000\",gap:10},controls:{location:{type:ControlType.Enum,defaultValue:\"top\",options:[\"top\",\"bottom\"],optionTitles:[\"Top\",\"Bottom\"],displaySegmentedControl:true},font:{type:\"font\",controls:\"extended\",defaultFontType:\"sans-serif\",defaultValue:{fontSize:14,lineHeight:1.4}},color:{type:ControlType.Color,defaultValue:\"#000\"},gap:{type:ControlType.Number,defaultValue:10,min:0,step:1}}},textButtons:{type:ControlType.Object,buttonTitle:\"Style\",title:\"Buttons\",controls:{width:{type:ControlType.Enum,defaultValue:\"fit\",options:[\"fit\",\"fill\",\"fixed\"],optionTitles:[\"Fit\",\"Fill\",\"Fixed\"],displaySegmentedControl:true},fixedWidth:{type:ControlType.Number,defaultValue:100,min:0,step:1,title:\" \",hidden:props=>props.width!==\"fixed\"},outOfStock:{type:ControlType.Object,title:\"Out of Stock\",controls:{disable:{type:ControlType.Boolean,defaultValue:true},opacity:{type:ControlType.Number,defaultValue:.5,min:0,max:1,step:.01,hidden:props=>!props.disable}}},...createButtonPropertyControls({padding:\"12px 20px 12px 20px\",variants:[{id:\"default\",title:\"Default\",...Colors.Primary},{id:\"selected\",title:\"Selected\",...Colors.Accent},{id:\"disabled\",title:\"Disabled\"}]})}},layout:{type:ControlType.Object,controls:{direction:{type:ControlType.Enum,defaultValue:\"horizontal\",options:[\"horizontal\",\"vertical\"],optionTitles:[\"Horizontal\",\"Vertical\"],optionIcons:[\"direction-horizontal\",\"direction-vertical\"],displaySegmentedControl:true},distribute:{type:ControlType.Enum,defaultValue:\"start\",options:[\"start\",\"center\",\"end\",\"space-between\",\"space-around\",\"space-evenly\"],optionTitles:[\"Start\",\"Center\",\"End\",\"Space Between\",\"Space Around\",\"Space Evenly\"],hidden:props=>props.direction!==\"horizontal\"},wrap:{type:ControlType.Boolean,defaultValue:true,hidden:props=>props.direction!==\"horizontal\"},verticalAlignment:{type:ControlType.Enum,defaultValue:\"center\",options:[\"left\",\"center\",\"right\"],optionTitles:[\"Left\",\"Center\",\"Right\"],displaySegmentedControl:true,title:\"Alignment\",hidden:props=>props.direction!==\"vertical\"},gapH:{type:ControlType.Number,defaultValue:10,min:0,step:1,hidden:props=>props.direction!==\"horizontal\"},gapV:{type:ControlType.Number,defaultValue:10,min:0,step:1}}},gap:{type:ControlType.Number,defaultValue:20,min:0,step:1,hidden:props=>props.variantMode==\"one\"}});const variantOptionsCache={};function parseVariantOptions(variantOptions){if(!variantOptions){return[];}const cachedResult=variantOptionsCache[variantOptions];if(cachedResult){return cachedResult;}try{var _options__values,_options_;const options=JSON.parse(variantOptions);let result=options;if(options.length===1&&((_options_=options[0])===null||_options_===void 0?void 0:(_options__values=_options_.values)===null||_options__values===void 0?void 0:_options__values.length)===1){result=[];}variantOptionsCache[variantOptions]=result;return result;}catch(error){console.error(\"Error parsing variant options:\",error);return[];}}\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"VariantButtons\",\"slots\":[],\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}","import{jsx as _jsx}from\"react/jsx-runtime\";import{addPropertyControls,ControlType,RenderTarget}from\"framer\";import{useState,useEffect}from\"react\";import{useCartStore,useAmountInStock}from\"https://framerusercontent.com/modules/ibjYTPLnMMPhPLNCj4uG/HFDScayX3kQP8T0wje6D/Cart.js\";import{parseShopifyData,OPEN_CART_EVENT,createButtonPropertyControls,Colors,Button}from\"https://framerusercontent.com/modules/gd3dcT3w5rYoRy7ZcKte/7sXEITVox706kPxllq1Q/Shared.js\";import{useProductStore,useSelectedVariant}from\"https://framerusercontent.com/modules/ajKYBgRXgNyNgL1GkpqG/z7K2CKYUtg87IHlLzR5M/ProductState.js\";var State;(function(State){State[\"Default\"]=\"default\";State[\"InCart\"]=\"inCart\";State[\"OutOfStock\"]=\"outOfStock\";})(State||(State={}));const defaultText={[\"default\"]:\"Add to Cart\",[\"inCart\"]:\"Added to Cart!\",[\"outOfStock\"]:\"Out of Stock\"};/**\n * @framerSupportedLayoutWidth any-prefer-fixed\n * @framerSupportedLayoutHeight any\n * @framerIntrinsicWidth 300\n * @framerDisableUnlink\n */export default function AddToCartButton(props){const{shopifyId,tracksInventory,variants}=parseShopifyData(props.shopifyData);const isCanvas=RenderTarget.current()===RenderTarget.canvas;const[state,setState]=useState(\"default\");const[items,addToCart]=useCartStore(state=>[state.items,state.addToCart]);const{quantity,selectedVariantOptions}=useProductStore(state=>{var _state_products;return((_state_products=state.products)===null||_state_products===void 0?void 0:_state_products[shopifyId])||{quantity:1,selectedVariantOptions:{}};});const[inventory,inventoryIsLoading]=useAmountInStock(props.shopifyData);const selectedVariant=useSelectedVariant(props.shopifyData);useEffect(()=>{if(!isCanvas){if(items.some(item=>{var _item_merchandise;return((_item_merchandise=item.merchandise)===null||_item_merchandise===void 0?void 0:_item_merchandise.id)===(selectedVariant===null||selectedVariant===void 0?void 0:selectedVariant.id);})){setState(\"inCart\");}else if(tracksInventory&&selectedVariant&&inventory[selectedVariant.id]===0){setState(\"outOfStock\");}else{setState(\"default\");}}},[items,selectedVariant,inventory]);const onClick=async()=>{if(state===\"default\"&&selectedVariant&&(!tracksInventory||!inventoryIsLoading&&inventory[selectedVariant.id]>0)){await addToCart(selectedVariant.id,quantity);if(props.openCart){window.dispatchEvent(new Event(OPEN_CART_EVENT));}}};return /*#__PURE__*/_jsx(Button,{...props,variant:state,onClick:onClick,style:{cursor:state===\"outOfStock\"?undefined:\"pointer\",...props.style},children:props.text[state]});}AddToCartButton.displayName=\"Add to Cart Button\";addPropertyControls(AddToCartButton,{shopifyData:{type:ControlType.String,defaultValue:\"\",placeholder:\"Shopify Data\"},openCart:{type:ControlType.Boolean,defaultValue:true},text:{type:ControlType.Object,defaultValue:defaultText,controls:{[\"default\"]:{type:ControlType.String,defaultValue:defaultText[\"default\"],placeholder:\"Default Text\"},[\"inCart\"]:{type:ControlType.String,defaultValue:defaultText[\"inCart\"],placeholder:\"In Cart Text\"},[\"outOfStock\"]:{type:ControlType.String,defaultValue:defaultText[\"outOfStock\"],placeholder:\"Out of Stock Text\"}}},...createButtonPropertyControls({variants:[{id:\"default\",title:\"Default\",...Colors.Accent},{id:\"inCart\",title:\"In Cart\"},{id:\"outOfStock\",title:\"Out of Stock\",...Colors.Primary}]})});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"AddToCartButton\",\"slots\":[],\"annotations\":{\"framerSupportedLayoutHeight\":\"any\",\"framerContractVersion\":\"1\",\"framerDisableUnlink\":\"\",\"framerIntrinsicWidth\":\"300\",\"framerSupportedLayoutWidth\":\"any-prefer-fixed\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}","import{jsx as _jsx}from\"react/jsx-runtime\";import{addPropertyControls,ControlType,withCSS,RenderTarget}from\"framer\";import{useSelectedVariant}from\"https://framerusercontent.com/modules/ajKYBgRXgNyNgL1GkpqG/z7K2CKYUtg87IHlLzR5M/ProductState.js\";import{useAmountInStock}from\"https://framerusercontent.com/modules/ibjYTPLnMMPhPLNCj4uG/HFDScayX3kQP8T0wje6D/Cart.js\";import{parseShopifyData}from\"https://framerusercontent.com/modules/gd3dcT3w5rYoRy7ZcKte/7sXEITVox706kPxllq1Q/Shared.js\";const HIDDEN_CLASS=\"frameship-stock-label-hidden\";const decorationProp={decoration:{type:ControlType.Enum,defaultValue:\"none\",options:[\"none\",\"strikethrough\",\"underline\"],optionTitles:[\"None\",\"Strikethrough\",\"Underline\"],hidden:props=>!props.visible}};/**\n * @framerSupportedLayoutWidth any\n * @framerSupportedLayoutHeight auto\n * @framerDisableUnlink\n */function InventoryLabelComponent(props){var _props_style;const{inStock,outOfStock,loading}=props;const Tag=props.htmlTag||\"p\";const isCanvas=RenderTarget.current()===RenderTarget.canvas;const{shopifyId,tracksInventory}=parseShopifyData(props.shopifyData);const variant=useSelectedVariant(props.shopifyData);const[inventory,inventoryIsLoading]=useAmountInStock(props.shopifyData);let amountInStock=isCanvas?10:inventory[variant===null||variant===void 0?void 0:variant.id]||0;let hidden=false;let color=null;let text=\"\";let decoration=null;if(inventoryIsLoading&&!isCanvas){hidden=!loading.visible;color=loading.color;text=loading.text;decoration=loading.decoration;}else if(amountInStock===0){hidden=!outOfStock.visible;color=outOfStock.color;text=outOfStock.text;decoration=outOfStock.decoration;}else{hidden=!inStock.visible;color=inStock.color;text=inStock.text.replace(\"##\",amountInStock.toString());decoration=inStock.decoration;}return hidden?/*#__PURE__*/_jsx(\"div\",{className:HIDDEN_CLASS}):/*#__PURE__*/_jsx(Tag,{style:{color,margin:0,whiteSpace:\"pre\",userSelect:props.selectable?undefined:\"none\",textDecoration:decoration===\"strikethrough\"?\"line-through\":decoration,textWrap:((_props_style=props.style)===null||_props_style===void 0?void 0:_props_style.width)==\"100%\"?\"wrap\":\"nowrap\",...props.font,...props.style},children:text});}const InventoryLabel=withCSS(InventoryLabelComponent,[`.${HIDDEN_CLASS} { display: none !important; }`,`div:has(> .${HIDDEN_CLASS}) { display: none !important; }`]);export default InventoryLabel;InventoryLabel.displayName=\"Inventory Label\";addPropertyControls(InventoryLabel,{shopifyData:{type:ControlType.String,defaultValue:\"\",placeholder:\"Shopify Data\"},inStock:{type:ControlType.Object,controls:{visible:{type:ControlType.Boolean,defaultValue:true},text:{type:ControlType.String,defaultValue:\"## in stock\",description:\"*##*: The amount of stock left\",hidden:props=>!props.visible},color:{type:ControlType.Color,defaultValue:\"#000\",hidden:props=>!props.visible},...decorationProp}},outOfStock:{type:ControlType.Object,title:\"Out of Stock\",controls:{visible:{type:ControlType.Boolean,defaultValue:true},text:{type:ControlType.String,defaultValue:\"Out of stock\",hidden:props=>!props.visible},color:{type:ControlType.Color,defaultValue:\"#000\",hidden:props=>!props.visible},...decorationProp}},loading:{type:ControlType.Object,controls:{visible:{type:ControlType.Boolean,defaultValue:true},text:{type:ControlType.String,defaultValue:\"Loading...\",hidden:props=>!props.visible},color:{type:ControlType.Color,defaultValue:\"rgba(0, 0, 0, 0.5)\",hidden:props=>!props.visible},...decorationProp}},font:{type:\"font\",controls:\"extended\",defaultFontType:\"sans-serif\",defaultValue:{fontSize:16,lineHeight:1.4}},selectable:{type:ControlType.Boolean,defaultValue:true},htmlTag:{type:ControlType.Enum,options:[\"p\",\"span\",\"h1\",\"h2\",\"h3\",\"h4\",\"h5\",\"h6\"],title:\"HTML Tag\"}});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"InventoryLabel\",\"slots\":[],\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}"],"mappings":"ifAA0uJ,GAAE,OAAO,eAAmB,EAAE,OAAO,sBAA0B,GAAE,OAAO,UAAU,eAAmB,GAAE,OAAO,UAAU,qBAAyB,IAAiB,EAAE,EAAE,IAAI,KAAK,EAAE,GAAE,EAAE,EAAE,CAAC,WAAW,GAAK,aAAa,GAAK,SAAS,GAAK,MAAM,EAAE,CAAC,CAAC,EAAE,GAAG,EAAM,GAAgB,EAAE,IAAI,CAAC,IAAI,IAAI,IAAK,CAAI,IAAE,EAAE,CAAE,G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