{
  "version": 3,
  "sources": ["ssg:https://framerusercontent.com/modules/lLAG1X9eoZtsiUJV4o8Q/R9r66dJwrYujhZjxwvUh/Pricing.js"],
  "sourcesContent": ["import{jsx as _jsx}from\"react/jsx-runtime\";import{createStore}from\"https://framer.com/m/framer/store.js@^1.0.0\";// Learn more: https://www.framer.com/docs/guides/overrides/\nconst useStore=createStore({background:\"#0099FF\",billMonthly:true});export function changeToMonthly(Component){return props=>{const[store,setStore]=useStore();return /*#__PURE__*/_jsx(Component,{...props,onClick:()=>{setStore({billMonthly:true});}});};}export function changeToYearly(Component){return props=>{const[store,setStore]=useStore();return /*#__PURE__*/_jsx(Component,{...props,onClick:()=>{setStore({billMonthly:false});}});};}export function withMonthlyYearlyPricing(Component){return props=>{const[store,setStore]=useStore();console.log(\"props\",props);return /*#__PURE__*/_jsx(Component,{...props,monthlyPrice:store.billMonthly?props.monthlyPrice:props.yearlyPrice,dONTUSEAnnual:store.billMonthly?false:true});};}\nexport const __FramerMetadata__ = {\"exports\":{\"withMonthlyYearlyPricing\":{\"type\":\"reactHoc\",\"name\":\"withMonthlyYearlyPricing\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"changeToMonthly\":{\"type\":\"reactHoc\",\"name\":\"changeToMonthly\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"changeToYearly\":{\"type\":\"reactHoc\",\"name\":\"changeToYearly\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./Pricing.map"],
  "mappings": "kFACA,IAAMA,EAASC,EAAY,CAAC,WAAW,UAAU,YAAY,EAAI,CAAC,EAAS,SAASC,EAAgBC,EAAU,CAAC,OAAOC,GAAO,CAAC,GAAK,CAACC,EAAMC,CAAQ,EAAEN,EAAS,EAAE,OAAoBO,EAAKJ,EAAU,CAAC,GAAGC,EAAM,QAAQ,IAAI,CAACE,EAAS,CAAC,YAAY,EAAI,CAAC,CAAE,CAAC,CAAC,CAAE,CAAE,CAAQ,SAASE,EAAeL,EAAU,CAAC,OAAOC,GAAO,CAAC,GAAK,CAACC,EAAMC,CAAQ,EAAEN,EAAS,EAAE,OAAoBO,EAAKJ,EAAU,CAAC,GAAGC,EAAM,QAAQ,IAAI,CAACE,EAAS,CAAC,YAAY,EAAK,CAAC,CAAE,CAAC,CAAC,CAAE,CAAE,CAAQ,SAASG,EAAyBN,EAAU,CAAC,OAAOC,GAAO,CAAC,GAAK,CAACC,EAAMC,CAAQ,EAAEN,EAAS,EAAE,eAAQ,IAAI,QAAQI,CAAK,EAAsBG,EAAKJ,EAAU,CAAC,GAAGC,EAAM,aAAaC,EAAM,YAAYD,EAAM,aAAaA,EAAM,YAAY,cAAc,CAAAC,EAAM,WAAsB,CAAC,CAAE,CAAE",
  "names": ["useStore", "createStore", "changeToMonthly", "Component", "props", "store", "setStore", "p", "changeToYearly", "withMonthlyYearlyPricing"]
}
