{
  "version": 3,
  "sources": ["ssg:https://framerusercontent.com/modules/m9hnSsy3WLNbzUTUDqzS/5bfTNZzWGQBrGfmeLZdq/eComer_Settings.js", "ssg:https://framerusercontent.com/modules/aNWdIcsBKa17age8E3TV/JG3kd1w2T51oukuUPWNd/rBp3Dx_Kx.js"],
  "sourcesContent": ["import{jsx as _jsx,Fragment as _Fragment}from\"react/jsx-runtime\";import{ControlType,addPropertyControls}from\"framer\";import{useEffect}from\"react\";import{CustomToastProvider}from\"https://framerusercontent.com/modules/7aTbsKhRiUF6BKcm2pqY/ZDhRS4N8ch25firYTX98/Toast.js\";/**\n *\n * @framerSupportedLayoutWidth auto\n * @framerDisableUnlink\n * @framerSupportedLayoutHeight auto\n */export default function eComer_Settings(props){useEffect(()=>{var _props_currency,_props_currency1;//Check if id already exist\nconst exisitingStoreID=localStorage.getItem(\"ecommer-store-id\");if(!exisitingStoreID||(props===null||props===void 0?void 0:props.storeId)!==exisitingStoreID){localStorage.setItem(\"ecommer-store-id\",props.storeId);}//Currency symbol\nconst isCurrencySymbolExist=localStorage.getItem(\"currency-symbol\");if(!isCurrencySymbolExist||(props===null||props===void 0?void 0:(_props_currency=props.currency)===null||_props_currency===void 0?void 0:_props_currency.symbol)!==isCurrencySymbolExist){var _props_currency2;localStorage.setItem(\"currency-symbol\",props===null||props===void 0?void 0:(_props_currency2=props.currency)===null||_props_currency2===void 0?void 0:_props_currency2.symbol);}//Currency position\nconst currentCurrencyPosition=JSON.parse(localStorage.getItem(\"currency-position\"));if(!currentCurrencyPosition||(props===null||props===void 0?void 0:(_props_currency1=props.currency)===null||_props_currency1===void 0?void 0:_props_currency1.position)!==currentCurrencyPosition){var _props_currency3;localStorage.setItem(\"currency-position\",JSON.parse(props===null||props===void 0?void 0:(_props_currency3=props.currency)===null||_props_currency3===void 0?void 0:_props_currency3.position));}},[]);return /*#__PURE__*/_jsx(_Fragment,{children:/*#__PURE__*/_jsx(CustomToastProvider,{})});}addPropertyControls(eComer_Settings,{storeId:{type:ControlType.String,title:\"Store ID\"},currency:{type:ControlType.Object,controls:{symbol:{type:ControlType.String,defaultValue:\"\u20BD\",title:\"Symbol\"},position:{type:ControlType.Boolean,title:\"Position (Symbol)\",enabledTitle:\"Start\",disabledTitle:\"End\",defaultValue:true}}}});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"eComer_Settings\",\"slots\":[],\"annotations\":{\"framerDisableUnlink\":\"* @framerSupportedLayoutHeight auto\",\"framerSupportedLayoutWidth\":\"auto\",\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}", "// Generated by Framer (9f68555)\nimport{jsx as _jsx}from\"react/jsx-runtime\";import{addFonts,addPropertyControls,ComponentViewportProvider,ControlType,cx,getFonts,useComponentViewport,useLocaleInfo,useVariantState,withCSS}from\"framer\";import{LayoutGroup,motion,MotionConfigContext}from\"framer-motion\";import*as React from\"react\";import EComer_Settings from\"https://framerusercontent.com/modules/m9hnSsy3WLNbzUTUDqzS/5bfTNZzWGQBrGfmeLZdq/eComer_Settings.js\";const EComer_SettingsFonts=getFonts(EComer_Settings);const cycleOrder=[\"ITP6aHxOz\",\"T_Uks4GNX\",\"ceh4dGMW0\"];const serializationHash=\"framer-Ad6GV\";const variantClassNames={ceh4dGMW0:\"framer-v-1vsdqpk\",ITP6aHxOz:\"framer-v-stqlte\",T_Uks4GNX:\"framer-v-1wq34gt\"};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={damping:60,delay:0,mass:1,stiffness:500,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={Desktop:\"ITP6aHxOz\",Mobile:\"ceh4dGMW0\",Tablet:\"T_Uks4GNX\"};const getProps=({height,id,width,...props})=>{var _humanReadableVariantMap_props_variant,_ref;return{...props,variant:(_ref=(_humanReadableVariantMap_props_variant=humanReadableVariantMap[props.variant])!==null&&_humanReadableVariantMap_props_variant!==void 0?_humanReadableVariantMap_props_variant:props.variant)!==null&&_ref!==void 0?_ref:\"ITP6aHxOz\"};};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,...restProps}=getProps(props);const{baseVariant,classNames,clearLoadingGesture,gestureHandlers,gestureVariant,isLoading,setGestureState,setVariant,variants}=useVariantState({cycleOrder,defaultVariant:\"ITP6aHxOz\",variant,variantClassNames});const layoutDependency=createLayoutDependency(props,variants);const ref1=React.useRef(null);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__*/_jsx(motion.div,{...restProps,...gestureHandlers,className:cx(serializationHash,...sharedStyleClassNames,\"framer-stqlte\",className,classNames),\"data-framer-name\":\"Desktop\",layoutDependency:layoutDependency,layoutId:\"ITP6aHxOz\",ref:ref!==null&&ref!==void 0?ref:ref1,style:{...style},...addPropertyOverrides({ceh4dGMW0:{\"data-framer-name\":\"Mobile\"},T_Uks4GNX:{\"data-framer-name\":\"Tablet\"}},baseVariant,gestureVariant),children:/*#__PURE__*/_jsx(ComponentViewportProvider,{children:/*#__PURE__*/_jsx(motion.div,{className:\"framer-wj7qs4-container\",layoutDependency:layoutDependency,layoutId:\"HAr8vxdES-container\",children:/*#__PURE__*/_jsx(EComer_Settings,{currency:{position:true,symbol:\"$\"},height:\"100%\",id:\"HAr8vxdES\",layoutId:\"HAr8vxdES\",storeId:\"store_2bce2f78-8fc8-42c3-8f6c-8ca16a77d161\",width:\"100%\"})})})})})})});});const css=[\"@supports (aspect-ratio: 1) { body { --framer-aspect-ratio-supported: auto; } }\",\".framer-Ad6GV.framer-1ck0owh, .framer-Ad6GV .framer-1ck0owh { display: block; }\",\".framer-Ad6GV.framer-stqlte { align-content: flex-start; align-items: flex-start; display: flex; flex-direction: column; flex-wrap: nowrap; gap: 0px; height: min-content; justify-content: center; max-width: 1200px; min-height: 317px; overflow: hidden; padding: 0px 20px 0px 20px; position: relative; width: 1200px; }\",\".framer-Ad6GV .framer-wj7qs4-container { flex: none; height: auto; left: 0px; position: absolute; top: 0px; width: auto; z-index: 1; }\",\"@supports (background: -webkit-named-image(i)) and (not (font-palette:dark)) { .framer-Ad6GV.framer-stqlte { gap: 0px; } .framer-Ad6GV.framer-stqlte > * { margin: 0px; margin-bottom: calc(0px / 2); margin-top: calc(0px / 2); } .framer-Ad6GV.framer-stqlte > :first-child { margin-top: 0px; } .framer-Ad6GV.framer-stqlte > :last-child { margin-bottom: 0px; } }\",\".framer-Ad6GV.framer-v-1wq34gt.framer-stqlte { max-width: 810px; width: 810px; }\",\".framer-Ad6GV.framer-v-1vsdqpk.framer-stqlte { max-width: unset; width: 390px; }\"];/**\n * This is a generated Framer component.\n * @framerIntrinsicHeight 317\n * @framerIntrinsicWidth 1200\n * @framerCanvasComponentVariantDetails {\"propertyName\":\"variant\",\"data\":{\"default\":{\"layout\":[\"fixed\",\"auto\"],\"constraints\":[null,\"1200px\",null,null]},\"T_Uks4GNX\":{\"layout\":[\"fixed\",\"auto\"],\"constraints\":[null,\"810px\",null,null]},\"ceh4dGMW0\":{\"layout\":[\"fixed\",\"auto\"]}}}\n * @framerImmutableVariables true\n * @framerDisplayContentsDiv false\n * @framerComponentViewportWidth true\n */const FramerrBp3Dx_Kx=withCSS(Component,css,\"framer-Ad6GV\");export default FramerrBp3Dx_Kx;FramerrBp3Dx_Kx.displayName=\"Footer\";FramerrBp3Dx_Kx.defaultProps={height:317,width:1200};addPropertyControls(FramerrBp3Dx_Kx,{variant:{options:[\"ITP6aHxOz\",\"T_Uks4GNX\",\"ceh4dGMW0\"],optionTitles:[\"Desktop\",\"Tablet\",\"Mobile\"],title:\"Variant\",type:ControlType.Enum}});addFonts(FramerrBp3Dx_Kx,[{explicitInter:true,fonts:[]},...EComer_SettingsFonts],{supportsExplicitInterCodegen:true});\nexport const __FramerMetadata__ = {\"exports\":{\"Props\":{\"type\":\"tsType\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"default\":{\"type\":\"reactComponent\",\"name\":\"FramerrBp3Dx_Kx\",\"slots\":[],\"annotations\":{\"framerIntrinsicWidth\":\"1200\",\"framerImmutableVariables\":\"true\",\"framerDisplayContentsDiv\":\"false\",\"framerIntrinsicHeight\":\"317\",\"framerContractVersion\":\"1\",\"framerCanvasComponentVariantDetails\":\"{\\\"propertyName\\\":\\\"variant\\\",\\\"data\\\":{\\\"default\\\":{\\\"layout\\\":[\\\"fixed\\\",\\\"auto\\\"],\\\"constraints\\\":[null,\\\"1200px\\\",null,null]},\\\"T_Uks4GNX\\\":{\\\"layout\\\":[\\\"fixed\\\",\\\"auto\\\"],\\\"constraints\\\":[null,\\\"810px\\\",null,null]},\\\"ceh4dGMW0\\\":{\\\"layout\\\":[\\\"fixed\\\",\\\"auto\\\"]}}}\",\"framerComponentViewportWidth\":\"true\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}"],
  "mappings": "sOAKkB,SAARA,EAAiCC,EAAM,CAAC,OAAAC,EAAU,IAAI,CAAC,IAAIC,EAAgBC,EACrF,IAAMC,EAAiB,aAAa,QAAQ,kBAAkB,GAAK,CAACA,GAAuDJ,GAAM,UAAWI,IAAkB,aAAa,QAAQ,mBAAmBJ,EAAM,OAAO,EACnN,IAAMK,EAAsB,aAAa,QAAQ,i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A,EAAgB,YAAY,SAASA,EAAgB,aAAa,CAAC,OAAO,IAAI,MAAM,IAAI,EAAEG,EAAoBH,EAAgB,CAAC,QAAQ,CAAC,QAAQ,CAAC,YAAY,YAAY,WAAW,EAAE,aAAa,CAAC,UAAU,SAAS,QAAQ,EAAE,MAAM,UAAU,KAAKI,EAAY,IAAI,CAAC,CAAC,EAAEC,EAASL,EAAgB,CAAC,CAAC,cAAc,GAAK,MAAM,CAAC,CAAC,EAAE,GAAGjE,CAAoB,EAAE,CAAC,6BAA6B,EAAI,CAAC",
  "names": ["eComer_Settings", "props", "ue", "_props_currency", "_props_currency1", "exisitingStoreID", "isCurrencySymbolExist", "_props_currency2", "currentCurrencyPosition", "_props_currency3", "p", "l", "CustomToastProvider", "addPropertyControls", "ControlType", "EComer_SettingsFonts", "getFonts", "eComer_Settings", "cycleOrder", "serializationHash", "variantClassNames", "addPropertyOverrides", "overrides", "variants", "nextOverrides", "variant", "transition1", "Transition", "value", "children", "config", "re", "MotionConfigContext", "transition", "contextValue", "se", "p", "Variants", "motion", "x", "humanReadableVariantMap", "getProps", "height", "id", "width", "props", "_humanReadableVariantMap_props_variant", "_ref", "createLayoutDependency", "Component", "Y", "ref", "activeLocale", "setLocale", "useLocaleInfo", "style", "className", "layoutId", "restProps", "baseVariant", "classNames", "clearLoadingGesture", "gestureHandlers", "gestureVariant", "isLoading", "setGestureState", "setVariant", "useVariantState", "layoutDependency", "ref1", "pe", "defaultLayoutId", "ae", "sharedStyleClassNames", "componentViewport", "useComponentViewport", "LayoutGroup", "cx", "ComponentViewportProvider", "css", "FramerrBp3Dx_Kx", "withCSS", "rBp3Dx_Kx_default", "addPropertyControls", "ControlType", "addFonts"]
}
