{
  "version": 3,
  "sources": ["ssg:https://framerusercontent.com/modules/grGaQoyPDihlbRA1mEha/LSAHASqKYsJ2fSvXH0nt/ChangeComponent.js"],
  "sourcesContent": ["import{jsx as _jsx}from\"react/jsx-runtime\";import{createStore}from\"https://framer.com/m/framer/store.js@^1.0.0\";const useStore=createStore({variantSelected:\"Rose Gold\"});export function withCardComponent(Component){return props=>{const[store,setStore]=useStore();return /*#__PURE__*/_jsx(Component,{...props,variant:store.variantSelected});};}export function withRoseGold(Component){return props=>{const[store,setStore]=useStore();const newVariant=\"Rose Gold\";return /*#__PURE__*/_jsx(Component,{...props,onClick:()=>setStore({variantSelected:newVariant})});};}export function withOmbre(Component){return props=>{const[store,setStore]=useStore();const newVariant=\"Ombre\";return /*#__PURE__*/_jsx(Component,{...props,onClick:()=>setStore({variantSelected:newVariant})});};}export function withCharcoal(Component){return props=>{const[store,setStore]=useStore();const newVariant=\"Charcoal\";return /*#__PURE__*/_jsx(Component,{...props,onClick:()=>setStore({variantSelected:newVariant})});};}\nexport const __FramerMetadata__ = {\"exports\":{\"withOmbre\":{\"type\":\"reactHoc\",\"name\":\"withOmbre\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withCardComponent\":{\"type\":\"reactHoc\",\"name\":\"withCardComponent\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withRoseGold\":{\"type\":\"reactHoc\",\"name\":\"withRoseGold\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withCharcoal\":{\"type\":\"reactHoc\",\"name\":\"withCharcoal\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./ChangeComponent.map"],
  "mappings": "kFAAgH,IAAMA,EAASC,EAAY,CAAC,gBAAgB,WAAW,CAAC,EAAS,SAASC,EAAkBC,EAAU,CAAC,OAAOC,GAAO,CAAC,GAAK,CAACC,EAAMC,CAAQ,EAAEN,EAAS,EAAE,OAAoBO,EAAKJ,EAAU,CAAC,GAAGC,EAAM,QAAQC,EAAM,eAAe,CAAC,CAAE,CAAE,CAAQ,SAASG,EAAaL,EAAU,CAAC,OAAOC,GAAO,CAAC,GAAK,CAACC,EAAMC,CAAQ,EAAEN,EAAS,EAAQS,EAAW,YAAY,OAAoBF,EAAKJ,EAAU,CAAC,GAAGC,EAAM,QAAQ,IAAIE,EAAS,CAAC,gBAAgBG,CAAU,CAAC,CAAC,CAAC,CAAE,CAAE,CAAQ,SAASC,EAAUP,EAAU,CAAC,OAAOC,GAAO,CAAC,GAAK,CAACC,EAAMC,CAAQ,EAAEN,EAAS,EAAQS,EAAW,QAAQ,OAAoBF,EAAKJ,EAAU,CAAC,GAAGC,EAAM,QAAQ,IAAIE,EAAS,CAAC,gBAAgBG,CAAU,CAAC,CAAC,CAAC,CAAE,CAAE,CAAQ,SAASE,EAAaR,EAAU,CAAC,OAAOC,GAAO,CAAC,GAAK,CAACC,EAAMC,CAAQ,EAAEN,EAAS,EAAQS,EAAW,WAAW,OAAoBF,EAAKJ,EAAU,CAAC,GAAGC,EAAM,QAAQ,IAAIE,EAAS,CAAC,gBAAgBG,CAAU,CAAC,CAAC,CAAC,CAAE,CAAE",
  "names": ["useStore", "createStore", "withCardComponent", "Component", "props", "store", "setStore", "p", "withRoseGold", "newVariant", "withOmbre", "withCharcoal"]
}
