{
  "version": 3,
  "sources": ["ssg:https://framerusercontent.com/modules/tGueMWfVDCEvfQtSlUrd/iaASCQ2Iw6kGVuXIfToa/VariantButtons.js"],
  "sourcesContent": ["import{jsx as _jsx,jsxs as _jsxs}from\"react/jsx-runtime\";import{ControlType,withCSS,RenderTarget}from\"framer\";import{parseShopifyData,parseShopifyId,ShopifyDataType,addPropertyControlsFrameship}from\"https://framerusercontent.com/modules/gd3dcT3w5rYoRy7ZcKte/sH6FZizM8jJ11j2dQOhQ/Shared.js\";import{createButtonPropertyControls,Colors,Button}from\"https://framerusercontent.com/modules/fVHxdMMgjEun6wSmFoH5/YkzDT1nJkSVbzIk0LJ2h/SharedStyles.js\";import{useProductStore}from\"https://framerusercontent.com/modules/ajKYBgRXgNyNgL1GkpqG/prknJU66nI5iRE43ff6z/ProductState.js\";import{useAmountInStock}from\"https://framerusercontent.com/modules/ibjYTPLnMMPhPLNCj4uG/cXa4uUn5VWWAcoaQctVU/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\"};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=>[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?.name;const values=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]);}else{// Auto-select the first option if no selection is made\nsetSelectedVariantOption(shopifyId,name,values[0]);}}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?.location==\"bottom\"?\"column-reverse\":\"column\",gap:titles?.gap},children:[titles&&/*#__PURE__*/_jsx(\"p\",{style:{width:\"100%\",color:titles.color,whiteSpace:\"pre\",margin:0,textTransform:titles.transform,...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)=>{const selected=isCanvas?index===0:selectedOptions[option.name]==value;const disabled=isCanvas||!tracksInventory?false:textButtons.outOfStock.disable&&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\",textTransform:textButtons.transform,...textButtons.font},disabled:disabled,children:value},value);})})]},option.name))});}/**\n * @framerSupportedLayoutWidth any-prefer-fixed\n * @framerSupportedLayoutHeight auto\n * @framerIntrinsicWidth 300\n * @framerDisableUnlink\n */const VariantButtons=withCSS(VariantButtonsComponent,[`.${HIDDEN_CLASS} { display: none !important; }`,`div:has(> .${HIDDEN_CLASS}) { display: none !important; }`],\"\");export default VariantButtons;VariantButtons.displayName=\"Variant Buttons\";addPropertyControlsFrameship(VariantButtons,{variantOptions:{type:ControlType.String,defaultValue:\"\",placeholder:\"Variant Options\",preventLocalization:true,description:\"Connect to the Variant Options field from the products CMS\"},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},transform:{type:ControlType.Enum,defaultValue:\"none\",options:[\"none\",\"capitalize\",\"uppercase\",\"lowercase\"],optionTitles:[\"None\",\"Capitalize\",\"Uppercase\",\"Lowercase\"]}}},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\"}],endProps:{transform:{type:ControlType.Enum,defaultValue:\"none\",options:[\"none\",\"capitalize\",\"uppercase\",\"lowercase\"],optionTitles:[\"None\",\"Capitalize\",\"Uppercase\",\"Lowercase\"]}}})}},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\"}},{shopifyData:true});const variantOptionsCache={};function parseVariantOptions(variantOptions){if(!variantOptions){return[];}const cachedResult=variantOptionsCache[variantOptions];if(cachedResult){return cachedResult;}try{const options=JSON.parse(variantOptions);let result=options;if(options.length===1&&options[0]?.values?.length===1){result=[];}for(let i=0;i<result.length;i++){if(typeof result[i]===\"object\"){result[i].id=parseShopifyId(result[i].id,ShopifyDataType.ProductOption);}}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\",\"framerSupportedLayoutHeight\":\"auto\",\"framerDisableUnlink\":\"\",\"framerIntrinsicWidth\":\"300\",\"framerSupportedLayoutWidth\":\"any-prefer-fixed\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./VariantButtons.map"],
  "mappings": "0OAA6qB,IAAMA,EAAa,mCAAyCC,EAAgB,0HAA8HC,GAAO,SAASA,EAAM,CAACA,EAAM,QAAW,UAAUA,EAAM,SAAY,WAAWA,EAAM,SAAY,UAAW,GAAGA,IAAQA,EAAM,CAAC,EAAE,EAAE,IAAMC,EAAa,CAAC,KAAK,aAAa,OAAO,SAAS,MAAM,UAAU,EAAE,SAASC,EAAwBC,EAAM,CAAC,GAAK,CAAC,YAAAC,EAAY,eAAAC,EAAe,OAAAC,EAAO,YAAAC,EAAY,OAAAC,CAAM,EAAEL,EAAW,CAAC,UAAAM,EAAU,gBAAAC,EAAgB,SAAAC,CAAQ,EAAEC,EAAiBR,CAAW,EAAQS,EAAWL,EAAO,YAAY,aAAmBM,EAASC,EAAa,QAAQ,IAAIA,EAAa,OAAY,CAACC,EAAuBC,CAAwB,EAAEC,EAAgBC,GAAO,CAACA,EAAM,SAASV,CAAS,GAAG,wBAAwB,CAAC,EAAEU,EAAM,wBAAwB,CAAC,EAAO,CAACC,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ButtonsComponent", "props", "shopifyData", "variantOptions", "titles", "textButtons", "layout", "shopifyId", "tracksInventory", "variants", "parseShopifyData", "horizontal", "isCanvas", "RenderTarget", "selectedVariantOptions", "setSelectedVariantOption", "useProductStore", "state", "inventory", "inventoryIsLoading", "useAmountInStock", "options", "parseVariantOptions", "disabledOptionValues", "option", "disabledValues", "value", "matchingVariants", "variant", "o", "outOfStockVariants", "selectedOptions", "hasUpdatedGlobalState", "firstAvailableVariantOptions", "name", "values", "onVariantClicked", "optionName", "optionValue", "p", "u", "index", "selected", "disabled", "Button", "VariantButtons", "withCSS", "VariantButtons_default", "addPropertyControlsFrameship", "ControlType", "createButtonPropertyControls", "Colors", "variantOptionsCache", "cachedResult", "result", "parseShopifyId", "ShopifyDataType", "error"]
}
