{"version":3,"file":"Form.75a_0-uC.mjs","names":["useState","amount","React.useContext","React.useMemo","React.Fragment","useRef","React.useId","RichText","useStore","useState","_Fragment"],"sources":["https:/framerusercontent.com/modules/gpFstwTf0SETNxnoauwx/5gZBXKVCaf2v0P6kg4P9/Price.js","https:/framerusercontent.com/modules/DCpF5oI37SJZmZEym8cX/ptnNx6xd3YgsexhqxCZG/OQtL8r0Qg.js","https:/framerusercontent.com/modules/vj7bFUjvEQFgEzNBkdoG/vf3CKm378wlVcBk7IhSU/createStore.js","https:/framer.com/m/framer/store.js@^1.0.0","https:/framerusercontent.com/modules/DtrJAQdor4XPcCoQTPfe/NsgqyLvtCP4T6F8KakRz/Form.js"],"sourcesContent":["import{jsx as _jsx}from\"react/jsx-runtime\";import{addPropertyControls,ControlType}from\"framer\";import{useEffect,useState}from\"react\";export default function CurrencyDisplay({amount=100,color=\"#000000\",size=24}){const[displayValue,setDisplayValue]=useState(`€${Math.round(amount)}`);const[isLoading,setIsLoading]=useState(false);useEffect(()=>{const convertCurrency=async()=>{try{// Get user's country from IP address\nconst ipResponse=await fetch(\"https://ipapi.co/json/\");const ipData=await ipResponse.json();const country=ipData.country_code||\"DE\";// Get appropriate locale for the country\nconst localeMap={US:\"en-US\",GB:\"en-GB\",DE:\"de-DE\",FR:\"fr-FR\",IT:\"it-IT\",ES:\"es-ES\",NL:\"nl-NL\",AT:\"de-AT\",BE:\"nl-BE\",PT:\"pt-PT\",IE:\"en-IE\",FI:\"fi-FI\",LU:\"fr-LU\",GR:\"el-GR\",MT:\"mt-MT\",CY:\"el-CY\",SK:\"sk-SK\",SI:\"sl-SI\",EE:\"et-EE\",LV:\"lv-LV\",LT:\"lt-LT\",JP:\"ja-JP\",CA:\"en-CA\",AU:\"en-AU\",NZ:\"en-NZ\",CH:\"de-CH\",SE:\"sv-SE\",NO:\"nb-NO\",DK:\"da-DK\",PL:\"pl-PL\",CZ:\"cs-CZ\",HU:\"hu-HU\",RO:\"ro-RO\",BG:\"bg-BG\",HR:\"hr-HR\",MX:\"es-MX\",BR:\"pt-BR\",AR:\"es-AR\",CL:\"es-CL\",CO:\"es-CO\",PE:\"es-PE\",IN:\"hi-IN\",CN:\"zh-CN\",KR:\"ko-KR\",SG:\"en-SG\",HK:\"zh-HK\",TW:\"zh-TW\",TH:\"th-TH\",MY:\"ms-MY\",ID:\"id-ID\",PH:\"en-PH\",VN:\"vi-VN\",RU:\"ru-RU\",TR:\"tr-TR\",SA:\"ar-SA\",AE:\"ar-AE\",IL:\"he-IL\",ZA:\"en-ZA\",EG:\"ar-EG\"};const userLocale=localeMap[country]||\"de-DE\";// Get currency code based on common country mappings\nconst currencyMap={US:\"USD\",GB:\"GBP\",UK:\"GBP\",DE:\"EUR\",FR:\"EUR\",IT:\"EUR\",ES:\"EUR\",NL:\"EUR\",AT:\"EUR\",BE:\"EUR\",PT:\"EUR\",IE:\"EUR\",FI:\"EUR\",LU:\"EUR\",GR:\"EUR\",MT:\"EUR\",CY:\"EUR\",SK:\"EUR\",SI:\"EUR\",EE:\"EUR\",LV:\"EUR\",LT:\"EUR\",JP:\"JPY\",CA:\"CAD\",AU:\"AUD\",NZ:\"NZD\",CH:\"CHF\",SE:\"SEK\",NO:\"NOK\",DK:\"DKK\",PL:\"PLN\",CZ:\"CZK\",HU:\"HUF\",RO:\"RON\",BG:\"BGN\",HR:\"HRK\",MX:\"MXN\",BR:\"BRL\",AR:\"ARS\",CL:\"CLP\",CO:\"COP\",PE:\"PEN\",UY:\"UYU\",PY:\"PYG\",BO:\"BOB\",VE:\"VED\",EC:\"USD\",IN:\"INR\",CN:\"CNY\",KR:\"KRW\",SG:\"SGD\",HK:\"HKD\",TW:\"TWD\",TH:\"THB\",MY:\"MYR\",ID:\"IDR\",PH:\"PHP\",VN:\"VND\",BD:\"BDT\",PK:\"PKR\",LK:\"LKR\",RU:\"RUB\",TR:\"TRY\",UA:\"UAH\",SA:\"SAR\",AE:\"AED\",QA:\"QAR\",KW:\"KWD\",BH:\"BHD\",OM:\"OMR\",JO:\"JOD\",LB:\"LBP\",IL:\"ILS\",ZA:\"ZAR\",EG:\"EGP\",MA:\"MAD\",TN:\"TND\",DZ:\"DZD\",NG:\"NGN\",KE:\"KES\",GH:\"GHS\",ET:\"ETB\",UG:\"UGX\",TZ:\"TZS\"};const targetCurrency=currencyMap[country]||\"EUR\";// If Eurozone country, display directly in EUR\nif(targetCurrency===\"EUR\"){setDisplayValue(formatCurrencyWithSymbol(amount,\"EUR\",userLocale));return;}setIsLoading(true);// Fetch exchange rates from EUR base\nconst response=await fetch(\"https://open.er-api.com/v6/latest/EUR\");const data=await response.json();if(!data.rates){throw new Error(\"No rates available\");}const exchangeRate=data.rates[targetCurrency];if(!exchangeRate){// Fallback to EUR if currency not found\nsetDisplayValue(formatCurrencyWithSymbol(amount,\"EUR\",\"de-DE\"));return;}const convertedAmount=amount*exchangeRate;// Format with proper currency symbol\nconst formattedAmount=formatCurrencyWithSymbol(convertedAmount,targetCurrency,userLocale);setDisplayValue(formattedAmount);}catch(error){console.error(\"Currency conversion failed:\",error);// Fallback to EUR with German locale\nsetDisplayValue(formatCurrencyWithSymbol(amount,\"EUR\",\"de-DE\"));}finally{setIsLoading(false);}};convertCurrency();},[amount]);// Helper function to format currency with proper symbols\nconst formatCurrencyWithSymbol=(amount,currency,locale)=>{try{// Use Intl.NumberFormat for proper currency formatting\nconst formatter=new Intl.NumberFormat(locale,{style:\"currency\",currency:currency,minimumFractionDigits:0,maximumFractionDigits:2});return formatter.format(amount);}catch(error){// Fallback with manual symbol mapping if Intl fails\nconst symbolMap={USD:\"$\",EUR:\"€\",GBP:\"\\xa3\",JPY:\"\\xa5\",CNY:\"\\xa5\",KRW:\"₩\",INR:\"₹\",RUB:\"₽\",TRY:\"₺\",PLN:\"zł\",CZK:\"Kč\",SEK:\"kr\",NOK:\"kr\",DKK:\"kr\",CHF:\"CHF\",CAD:\"C$\",AUD:\"A$\",NZD:\"NZ$\",SGD:\"S$\",HKD:\"HK$\",MXN:\"$\",BRL:\"R$\",ARS:\"$\",CLP:\"$\",COP:\"$\",PEN:\"S/\",THB:\"฿\",MYR:\"RM\",IDR:\"Rp\",PHP:\"₱\",VND:\"₫\",SAR:\"﷼\",AED:\"د.إ\",ILS:\"₪\",ZAR:\"R\",EGP:\"\\xa3\"};const symbol=symbolMap[currency]||currency;const formattedAmount=amount.toLocaleString(locale,{minimumFractionDigits:2,maximumFractionDigits:2});// Handle different currency symbol positions\nif([\"EUR\",\"PLN\",\"CZK\",\"SEK\",\"NOK\",\"DKK\"].includes(currency)){return`${formattedAmount} ${symbol}`;}else{return`${symbol}${formattedAmount}`;}}};return /*#__PURE__*/_jsx(\"div\",{style:{fontSize:`${size}px`,font:\"Geist\",fontWeight:\"bold\",color:color,width:\"100%\",height:\"100%\",display:\"flex\",alignItems:\"center\",justifyContent:\"flex-start\"},children:isLoading?/*#__PURE__*/_jsx(\"span\",{style:{opacity:.6},children:\"Converting...\"}):displayValue});}// Property controls for Framer\naddPropertyControls(CurrencyDisplay,{amount:{type:ControlType.Number,title:\"Amount\",defaultValue:100,min:0,step:.01,displayStepper:true},color:{type:ControlType.Color,title:\"Color\",defaultValue:\"#000000\"},size:{type:ControlType.Number,title:\"Size\",defaultValue:24,min:1,max:500,step:1,unit:\"px\",displayStepper:true}});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"CurrencyDisplay\",\"slots\":[],\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./Price.map","// Generated by Framer (414cc68)\nimport{jsx as _jsx,jsxs as _jsxs}from\"react/jsx-runtime\";import{addFonts,addPropertyControls,ComponentViewportProvider,ControlType,cx,getFonts,RichText,SmartComponentScopedContainer,useComponentViewport,useLocaleInfo,useVariantState,withCSS}from\"framer\";import{LayoutGroup,motion,MotionConfigContext}from\"framer-motion\";import*as React from\"react\";import{useRef}from\"react\";import CurrencyDisplay from\"https://framerusercontent.com/modules/gpFstwTf0SETNxnoauwx/5gZBXKVCaf2v0P6kg4P9/Price.js\";const CurrencyDisplayFonts=getFonts(CurrencyDisplay);const cycleOrder=[\"Qh9aoYKmC\",\"ceGTGHhcm\"];const serializationHash=\"framer-EuXQ5\";const variantClassNames={ceGTGHhcm:\"framer-v-3818n5\",Qh9aoYKmC:\"framer-v-16erryk\"};function addPropertyOverrides(overrides,...variants){const nextOverrides={};variants?.forEach(variant=>variant&&Object.assign(nextOverrides,overrides[variant]));return nextOverrides;}const MamyrsfJA=undefined;const Li796230C=undefined;const ZS2IxJei1=undefined;const lBc76y4PM=undefined;const transition1={bounce:.2,delay:0,duration:.4,type:\"spring\"};const equals=(a,b)=>{return typeof a===\"string\"&&typeof b===\"string\"?a.toLowerCase()===b.toLowerCase():a===b;};const negate=value=>{return!value;};const Transition=({value,children})=>{const config=React.useContext(MotionConfigContext);const transition=value??config.transition;const contextValue=React.useMemo(()=>({...config,transition}),[JSON.stringify(transition)]);return /*#__PURE__*/_jsx(MotionConfigContext.Provider,{value:contextValue,children:children});};const humanReadableVariantMap={Default:\"Qh9aoYKmC\",Selected:\"ceGTGHhcm\"};const Variants=motion.create(React.Fragment);const getProps=({group,height,id,price,subtitle,title,width,...props})=>{return{...props,lBc76y4PM:price??props.lBc76y4PM??100,Li796230C:title??props.Li796230C??\"Car Clone\",MamyrsfJA:group??props.MamyrsfJA??\"Group\",variant:humanReadableVariantMap[props.variant]??props.variant??\"Qh9aoYKmC\",ZS2IxJei1:subtitle??props.ZS2IxJei1??\"The normal car clone\"};};const createLayoutDependency=(props,variants)=>{if(props.layoutDependency)return variants.join(\"-\")+props.layoutDependency;return variants.join(\"-\");};const Component=/*#__PURE__*/React.forwardRef(function(props,ref){const fallbackRef=useRef(null);const refBinding=ref??fallbackRef;const defaultLayoutId=React.useId();const{activeLocale,setLocale}=useLocaleInfo();const componentViewport=useComponentViewport();const{style,className,layoutId,variant,MamyrsfJA,Li796230C,ZS2IxJei1,lBc76y4PM,...restProps}=getProps(props);const{baseVariant,classNames,clearLoadingGesture,gestureHandlers,gestureVariant,isLoading,setGestureState,setVariant,variants}=useVariantState({cycleOrder,defaultVariant:\"Qh9aoYKmC\",ref:refBinding,variant,variantClassNames});const layoutDependency=createLayoutDependency(props,variants);const sharedStyleClassNames=[];const scopingClassNames=cx(serializationHash,...sharedStyleClassNames);const visible=negate(equals(lBc76y4PM,0));return /*#__PURE__*/_jsx(LayoutGroup,{id: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(scopingClassNames,\"framer-16erryk\",className,classNames),\"data-border\":true,\"data-framer-name\":\"Default\",layoutDependency:layoutDependency,layoutId:\"Qh9aoYKmC\",ref:refBinding,style:{\"--border-bottom-width\":\"1px\",\"--border-color\":\"rgba(255, 255, 255, 0.12)\",\"--border-left-width\":\"1px\",\"--border-right-width\":\"1px\",\"--border-style\":\"solid\",\"--border-top-width\":\"1px\",backgroundColor:\"rgb(0, 0, 0)\",borderBottomLeftRadius:5,borderBottomRightRadius:5,borderTopLeftRadius:5,borderTopRightRadius:5,...style},variants:{ceGTGHhcm:{\"--border-color\":\"var(--token-0a291ab2-4203-41fc-b2a4-4ead5497050a, rgb(255, 65, 65))\"}},...addPropertyOverrides({ceGTGHhcm:{\"data-framer-name\":\"Selected\"}},baseVariant,gestureVariant),children:[/*#__PURE__*/_jsx(RichText,{__fromCanvasComponent:true,children:/*#__PURE__*/_jsx(React.Fragment,{children:/*#__PURE__*/_jsx(motion.p,{style:{\"--font-selector\":\"R0Y7SW50ZXItNTAw\",\"--framer-font-size\":\"14px\",\"--framer-font-weight\":\"500\",\"--framer-letter-spacing\":\"0px\",\"--framer-line-height\":\"1.5em\",\"--framer-text-alignment\":\"left\",\"--framer-text-color\":\"var(--extracted-r6o4lv, var(--token-fb4b67b5-91ba-4b73-b4a6-f55417ea1c0c, rgb(102, 102, 102)))\"},children:\"Group\"})}),className:\"framer-lj517c\",fonts:[\"GF;Inter-500\"],layoutDependency:layoutDependency,layoutId:\"VWR151jP7\",style:{\"--extracted-r6o4lv\":\"var(--token-fb4b67b5-91ba-4b73-b4a6-f55417ea1c0c, rgb(102, 102, 102))\",\"--framer-link-text-color\":\"rgb(0, 153, 255)\",\"--framer-link-text-decoration\":\"underline\",opacity:0},text:MamyrsfJA,verticalAlignment:\"top\",withExternalLayout:true}),/*#__PURE__*/_jsxs(motion.div,{className:\"framer-8gptxe\",\"data-framer-name\":\"Text wrapper\",layoutDependency:layoutDependency,layoutId:\"rwwT8jIJL\",children:[/*#__PURE__*/_jsx(RichText,{__fromCanvasComponent:true,children:/*#__PURE__*/_jsx(React.Fragment,{children:/*#__PURE__*/_jsx(motion.p,{style:{\"--font-selector\":\"R0Y7R2Vpc3QtcmVndWxhcg==\",\"--framer-font-family\":'\"Geist\", \"Geist Placeholder\", sans-serif',\"--framer-font-size\":\"20px\",\"--framer-text-color\":\"var(--extracted-r6o4lv, var(--token-6ea93039-b902-4877-8900-3fc93036e342, rgb(255, 255, 255)))\"},children:/*#__PURE__*/_jsx(motion.strong,{children:\"Car Clone\"})})}),className:\"framer-ioe8u4\",\"data-framer-name\":\"Car Clone\",fonts:[\"GF;Geist-regular\",\"GF;Geist-700\"],layoutDependency:layoutDependency,layoutId:\"A9ZCjR4Mu\",style:{\"--extracted-r6o4lv\":\"var(--token-6ea93039-b902-4877-8900-3fc93036e342, rgb(255, 255, 255))\",\"--framer-paragraph-spacing\":\"0px\"},text:Li796230C,verticalAlignment:\"top\",withExternalLayout:true}),/*#__PURE__*/_jsx(RichText,{__fromCanvasComponent:true,children:/*#__PURE__*/_jsx(React.Fragment,{children:/*#__PURE__*/_jsx(motion.p,{style:{\"--font-selector\":\"R0Y7SW50ZXItNTAw\",\"--framer-font-size\":\"14px\",\"--framer-font-weight\":\"500\",\"--framer-letter-spacing\":\"0px\",\"--framer-line-height\":\"1.5em\",\"--framer-text-alignment\":\"left\",\"--framer-text-color\":\"var(--extracted-r6o4lv, var(--token-351bd266-1dcf-45a8-a2d1-62142fa76811, rgba(255, 255, 255, 0.75)))\"},children:\"The normal car clone\"})}),className:\"framer-19dvab1\",\"data-framer-name\":\"The normal car clone\",fonts:[\"GF;Inter-500\"],layoutDependency:layoutDependency,layoutId:\"YkiFWImv8\",style:{\"--extracted-r6o4lv\":\"var(--token-351bd266-1dcf-45a8-a2d1-62142fa76811, rgba(255, 255, 255, 0.75))\",\"--framer-paragraph-spacing\":\"0px\"},text:ZS2IxJei1,verticalAlignment:\"top\",withExternalLayout:true})]}),visible!==false&&/*#__PURE__*/_jsx(ComponentViewportProvider,{children:/*#__PURE__*/_jsx(SmartComponentScopedContainer,{className:\"framer-1k557pv-container\",isAuthoredByUser:true,isModuleExternal:true,layoutDependency:layoutDependency,layoutId:\"NV6FY7gPR-container\",nodeId:\"NV6FY7gPR\",rendersWithMotion:true,scopeId:\"OQtL8r0Qg\",children:/*#__PURE__*/_jsx(CurrencyDisplay,{amount:lBc76y4PM,color:\"var(--token-351bd266-1dcf-45a8-a2d1-62142fa76811, rgba(255, 255, 255, 0.75))\",height:\"100%\",id:\"NV6FY7gPR\",layoutId:\"NV6FY7gPR\",size:20,width:\"100%\"})})})]})})})});});const css=[\"@supports (aspect-ratio: 1) { body { --framer-aspect-ratio-supported: auto; } }\",\".framer-EuXQ5.framer-1qss9bo, .framer-EuXQ5 .framer-1qss9bo { display: block; }\",\".framer-EuXQ5.framer-16erryk { align-content: center; align-items: center; display: flex; flex-direction: row; flex-wrap: nowrap; gap: 24px; height: min-content; justify-content: center; overflow: hidden; padding: 24px; position: relative; width: 387px; will-change: var(--framer-will-change-override, transform); }\",\".framer-EuXQ5 .framer-lj517c { flex: none; height: auto; left: 0px; pointer-events: none; position: absolute; top: 0px; white-space: pre; width: auto; z-index: 1; }\",\".framer-EuXQ5 .framer-8gptxe { align-content: flex-start; align-items: flex-start; display: flex; flex: 1 0 0px; flex-direction: column; flex-wrap: nowrap; gap: 2px; height: min-content; justify-content: flex-start; overflow: visible; padding: 0px; position: relative; width: 1px; }\",\".framer-EuXQ5 .framer-ioe8u4, .framer-EuXQ5 .framer-19dvab1 { flex: none; height: auto; position: relative; white-space: pre-wrap; width: 100%; word-break: break-word; word-wrap: break-word; }\",\".framer-EuXQ5 .framer-1k557pv-container { flex: none; height: auto; position: relative; width: auto; }\",'.framer-EuXQ5[data-border=\"true\"]::after, .framer-EuXQ5 [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; corner-shape: inherit; pointer-events: none; }'];/**\n * This is a generated Framer component.\n * @framerIntrinsicHeight 95\n * @framerIntrinsicWidth 387\n * @framerCanvasComponentVariantDetails {\"propertyName\":\"variant\",\"data\":{\"default\":{\"layout\":[\"fixed\",\"auto\"]},\"ceGTGHhcm\":{\"layout\":[\"fixed\",\"auto\"]}}}\n * @framerVariables {\"MamyrsfJA\":\"group\",\"Li796230C\":\"title\",\"ZS2IxJei1\":\"subtitle\",\"lBc76y4PM\":\"price\"}\n * @framerImmutableVariables true\n * @framerDisplayContentsDiv false\n * @framerAutoSizeImages true\n * @framerComponentViewportWidth true\n * @framerColorSyntax true\n */const FramerOQtL8r0Qg=withCSS(Component,css,\"framer-EuXQ5\");export default FramerOQtL8r0Qg;FramerOQtL8r0Qg.displayName=\"Radio\";FramerOQtL8r0Qg.defaultProps={height:95,width:387};addPropertyControls(FramerOQtL8r0Qg,{variant:{options:[\"Qh9aoYKmC\",\"ceGTGHhcm\"],optionTitles:[\"Default\",\"Selected\"],title:\"Variant\",type:ControlType.Enum},MamyrsfJA:{defaultValue:\"Group\",displayTextArea:false,title:\"Group\",type:ControlType.String},onMamyrsfJAChange:{changes:\"MamyrsfJA\",type:ControlType.ChangeHandler},Li796230C:{defaultValue:\"Car Clone\",displayTextArea:false,title:\"Title\",type:ControlType.String},onLi796230CChange:{changes:\"Li796230C\",type:ControlType.ChangeHandler},ZS2IxJei1:{defaultValue:\"The normal car clone\",displayTextArea:false,title:\"Subtitle\",type:ControlType.String},onZS2IxJei1Change:{changes:\"ZS2IxJei1\",type:ControlType.ChangeHandler},lBc76y4PM:{defaultValue:100,displayStepper:true,min:0,step:.01,title:\"Price\",type:ControlType.Number},onlBc76y4PMChange:{changes:\"lBc76y4PM\",type:ControlType.ChangeHandler}});addFonts(FramerOQtL8r0Qg,[{explicitInter:true,fonts:[{cssFamilyName:\"Inter\",source:\"google\",style:\"normal\",uiFamilyName:\"Inter\",url:\"https://fonts.gstatic.com/s/inter/v20/UcCO3FwrK3iLTeHuS_nVMrMxCp50SjIw2boKoduKmMEVuI6fMZ1rib2Bg-4.woff2\",weight:\"500\"},{cssFamilyName:\"Geist\",source:\"google\",style:\"normal\",uiFamilyName:\"Geist\",url:\"https://fonts.gstatic.com/s/geist/v4/gyBhhwUxId8gMGYQMKR3pzfaWI_RnOM4mJPby1QNtA.woff2\",weight:\"400\"},{cssFamilyName:\"Geist\",source:\"google\",style:\"normal\",uiFamilyName:\"Geist\",url:\"https://fonts.gstatic.com/s/geist/v4/gyBhhwUxId8gMGYQMKR3pzfaWI_Re-Q4mJPby1QNtA.woff2\",weight:\"700\"}]},...CurrencyDisplayFonts],{supportsExplicitInterCodegen:true});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"FramerOQtL8r0Qg\",\"slots\":[],\"annotations\":{\"framerIntrinsicWidth\":\"387\",\"framerImmutableVariables\":\"true\",\"framerAutoSizeImages\":\"true\",\"framerDisplayContentsDiv\":\"false\",\"framerContractVersion\":\"1\",\"framerCanvasComponentVariantDetails\":\"{\\\"propertyName\\\":\\\"variant\\\",\\\"data\\\":{\\\"default\\\":{\\\"layout\\\":[\\\"fixed\\\",\\\"auto\\\"]},\\\"ceGTGHhcm\\\":{\\\"layout\\\":[\\\"fixed\\\",\\\"auto\\\"]}}}\",\"framerIntrinsicHeight\":\"95\",\"framerVariables\":\"{\\\"MamyrsfJA\\\":\\\"group\\\",\\\"Li796230C\\\":\\\"title\\\",\\\"ZS2IxJei1\\\":\\\"subtitle\\\",\\\"lBc76y4PM\\\":\\\"price\\\"}\",\"framerComponentViewportWidth\":\"true\",\"framerColorSyntax\":\"true\"}},\"Props\":{\"type\":\"tsType\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./OQtL8r0Qg.map","import{useState,useEffect}from\"react\";import{Data,useObserveData}from\"framer\";export function createStore(state1){// Use Data so that a Preview reload resets the state\nconst dataStore=Data({state:Object.freeze({...state1})});// Create a set function that updates the state\nconst setDataStore=newState=>{// If the state is an object, make sure we copy it\nif(typeof newState===\"function\"){newState=newState(dataStore.state);}dataStore.state=Object.freeze({...dataStore.state,...newState});};// Store the initial state, copy the object if it's an object\nlet storeState=typeof state1===\"object\"?Object.freeze({...state1}):state1;// Keep a list of all the listeners, in the form of React hook setters\nconst storeSetters=new Set();// Create a set function that updates all the listeners / setters\nconst setStoreState=newState=>{// If the state is an object, make sure we copy it\nif(typeof newState===\"function\"){newState=newState(storeState);}storeState=typeof newState===\"object\"?Object.freeze({...storeState,...newState}):newState;// Update all the listeners / setters with the new value\nstoreSetters.forEach(setter=>setter(storeState));};// Create the actual hook based on everything above\nfunction useStore(){// Create the hook we are going to use as a listener\nconst[state,setState]=useState(storeState);// If we unmount the component using this hook, we need to remove the listener\n// @ts-ignore\nuseEffect(()=>{// But right now, we need to add the listener\nstoreSetters.add(setState);return()=>storeSetters.delete(setState);},[]);// If Data context exists, use Data, otherwise use vanilla React state\nif(useObserveData()===true){useObserveData();return[dataStore.state,setDataStore];}else{// Return the state and a function to update the central store\nreturn[state,setStoreState];}}return useStore;}\nexport const __FramerMetadata__ = {\"exports\":{\"createStore\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./createStore.map","/*\n * createStore (framer/store@1.0.1)\n *\n * Learn More: https://www.framer.com/asset-urls\n */\n\nexport * from \"https://framerusercontent.com/modules/vj7bFUjvEQFgEzNBkdoG/vf3CKm378wlVcBk7IhSU/createStore.js\"\n","import{jsx as _jsx,jsxs as _jsxs,Fragment as _Fragment}from\"react/jsx-runtime\";import{forwardRef,useEffect}from\"react\";import{createStore}from\"https://framer.com/m/framer/store.js@^1.0.0\";const useStore=createStore({amount:1,minimumAmount:1,selections:{}});const useCompanyStore=createStore({total:0,selections:{}});const isCarCloneSelected=selections=>selections[\"Model\"]?.value===\"Car clone\";export function withForm(Component){return /*#__PURE__*/forwardRef((props,ref)=>/*#__PURE__*/_jsx(\"form\",{children:/*#__PURE__*/_jsx(Component,{ref:ref,...props})}));}export function withRadioInput(Component){return /*#__PURE__*/forwardRef((props,ref)=>{const{group:name,title:value,price:priceModifier=0}=props;const[store,setStore]=useStore();const isCarClone=isCarCloneSelected(store.selections);const isSelected=store.selections[name]?.value===value;const shouldHide=isCarClone&&name===\"Scale\"&&value!==\"1:43 Scale\";if(shouldHide)return null;const displayPrice=isCarClone&&name===\"Scale\"?0:priceModifier;const handleClick=()=>{if(isSelected)return;const isPremiumCarClone=value===\"Premium Car clone\";const isModelGroup=name===\"Model\";setStore(prev=>{const prevIsCarClone=isCarCloneSelected(prev.selections);const newSelections={...prev.selections,[name]:{value,price:displayPrice}};if(isModelGroup&&prevIsCarClone&&value!==\"Car clone\"){delete newSelections[\"Scale\"];}return{...prev,selections:newSelections,minimumAmount:isPremiumCarClone?2:1,amount:isPremiumCarClone?Math.max(prev.amount,2):prev.amount};});};return /*#__PURE__*/_jsxs(_Fragment,{children:[/*#__PURE__*/_jsx(\"input\",{type:\"radio\",name:name,value:value,checked:isSelected,onChange:handleClick,style:{display:\"none\"}}),/*#__PURE__*/_jsx(Component,{ref:ref,...props,price:displayPrice,onClick:handleClick,variant:isSelected?\"Selected\":\"Default\"})]});});}export function withNumberInput(Component){return /*#__PURE__*/forwardRef((props,ref)=>{const[store]=useStore();return /*#__PURE__*/_jsxs(_Fragment,{children:[/*#__PURE__*/_jsx(\"input\",{type:\"number\",name:props.name||\"number\",value:store.amount,readOnly:true,style:{display:\"none\"}}),/*#__PURE__*/_jsx(Component,{ref:ref,...props})]});});}export function withNumberValue(Component){return /*#__PURE__*/forwardRef((props,ref)=>{const[store]=useStore();return /*#__PURE__*/_jsx(Component,{ref:ref,...props,text:String(store.amount)});});}export function withAdd(Component){return /*#__PURE__*/forwardRef((props,ref)=>{const[,setStore]=useStore();return /*#__PURE__*/_jsx(Component,{ref:ref,...props,onClick:()=>setStore(prev=>({...prev,amount:prev.amount+1}))});});}export function withSubtract(Component){return /*#__PURE__*/forwardRef((props,ref)=>{const[store,setStore]=useStore();return /*#__PURE__*/_jsx(Component,{ref:ref,...props,onClick:()=>{if(store.amount>store.minimumAmount){setStore(prev=>({...prev,amount:prev.amount-1}));}}});});}export function withPriceValue(Component){return /*#__PURE__*/forwardRef((props,ref)=>{const[store]=useStore();const total=Object.values(store.selections).reduce((sum,s)=>sum+s.price,0)*Math.max(store.amount,1);return /*#__PURE__*/_jsx(Component,{ref:ref,...props,amount:total});});}// Bug fix: was subtracting 100 from each individual selection price, which\n// is wrong. A flat discount should be applied to the final total, not per-item.\nexport function withDiscountedPriceValue(Component){return /*#__PURE__*/forwardRef((props,ref)=>{const[store]=useStore();const total=Object.values(store.selections).reduce((sum,s)=>sum+s.price,0)*Math.max(store.amount,1);const discounted=Math.max(total-100,0);return /*#__PURE__*/_jsx(Component,{ref:ref,...props,amount:discounted});});}export function withSubmitForm(Component){return /*#__PURE__*/forwardRef((props,ref)=>{const[store]=useStore();const submitForm=e=>{e.preventDefault();const formData={amount:store.amount,type:store.selections[\"Model\"]?.value??null,scale:store.selections[\"Scale\"]?.value??null,delivery:store.selections[\"Delivery\"]?.value??null};document.cookie=`carForm=${encodeURIComponent(JSON.stringify(formData))};domain=.carcloners.com;path=/;secure;samesite=none`;window.location.href=\"https://customize.carcloners.com/model\";};return /*#__PURE__*/_jsx(Component,{...props,ref:ref,type:\"submit\",onClick:submitForm});});}export function withCompanyRadioInput(Component){return /*#__PURE__*/forwardRef((props,ref)=>{const{group:name,title:value,price:basePrice=0}=props;const[store,setStore]=useCompanyStore();const companyQuantity=store.selections[\"companyQuantity\"]?.value;const shouldHide=value===\"Shipping (10 units)\"&&companyQuantity!==\"10 Units\"||value===\"Shipping\"&&companyQuantity===\"10 Units\";if(shouldHide)return null;const finalPrice=value.toLowerCase()===\"yearly\"?basePrice*.9:basePrice;const isSelected=store.selections[name]?.value===value;const handleClick=()=>{if(isSelected)return;setStore(prev=>({...prev,selections:{...prev.selections,[name]:{value,price:finalPrice}}}));};return /*#__PURE__*/_jsxs(_Fragment,{children:[/*#__PURE__*/_jsx(\"input\",{type:\"radio\",name:name,value:value,checked:isSelected,onChange:handleClick,style:{display:\"none\"}}),/*#__PURE__*/_jsx(Component,{ref:ref,...props,price:finalPrice,onClick:handleClick,variant:isSelected?\"Selected\":\"Default\"})]});});}export function withCompanySubmitForm(Component){return /*#__PURE__*/forwardRef((props,ref)=>{const[store]=useCompanyStore();const submitForm=e=>{e.preventDefault();const formData={total:store.total,selections:store.selections};console.log(formData);document.cookie=`companyForm=${encodeURIComponent(JSON.stringify(formData))};domain=.carcloners.com;path=/;secure;samesite=none`;window.location.href=\"https://customize.carcloners.com/company/info\";};return /*#__PURE__*/_jsx(Component,{...props,ref:ref,type:\"submit\",onClick:submitForm});});}// Bug fix: was calling setStore directly during render, causing an infinite\n// re-render loop. Moved the side-effect into useEffect to run after render.\nexport function withCompanyPriceValue(Component){return /*#__PURE__*/forwardRef((props,ref)=>{const[store,setStore]=useCompanyStore();const quantityPrice=store.selections[\"companyQuantity\"]?.price??0;const isYearly=store.selections[\"companyPeriod\"]?.value===\"Yearly\";const total=isYearly?quantityPrice*.9:quantityPrice;useEffect(()=>{if(store.total!==total){setStore({total});}},[total]);return /*#__PURE__*/_jsx(Component,{ref:ref,...props,amount:total});});}export function withCompanyStore(Component){return /*#__PURE__*/forwardRef((props,ref)=>{const[store]=useCompanyStore();const text=JSON.stringify(store);return /*#__PURE__*/_jsx(Component,{ref:ref,...props,text:text});});}\nexport const __FramerMetadata__ = {\"exports\":{\"withNumberInput\":{\"type\":\"reactHoc\",\"name\":\"withNumberInput\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withRadioInput\":{\"type\":\"reactHoc\",\"name\":\"withRadioInput\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withPriceValue\":{\"type\":\"reactHoc\",\"name\":\"withPriceValue\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withCompanyStore\":{\"type\":\"reactHoc\",\"name\":\"withCompanyStore\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withSubmitForm\":{\"type\":\"reactHoc\",\"name\":\"withSubmitForm\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withSubtract\":{\"type\":\"reactHoc\",\"name\":\"withSubtract\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withCompanySubmitForm\":{\"type\":\"reactHoc\",\"name\":\"withCompanySubmitForm\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withCompanyRadioInput\":{\"type\":\"reactHoc\",\"name\":\"withCompanyRadioInput\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withNumberValue\":{\"type\":\"reactHoc\",\"name\":\"withNumberValue\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withForm\":{\"type\":\"reactHoc\",\"name\":\"withForm\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withDiscountedPriceValue\":{\"type\":\"reactHoc\",\"name\":\"withDiscountedPriceValue\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withAdd\":{\"type\":\"reactHoc\",\"name\":\"withAdd\",\"annotations\":{\"framerContractVersion\":\"1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