{
  "version": 3,
  "sources": ["ssg:https://framerusercontent.com/modules/su8MZm6VtAsU3abay7C6/XkhbTCWn51eXdXtEO2Jh/SlideshowOverrides.js"],
  "sourcesContent": ["import{jsx as _jsx,Fragment as _Fragment}from\"react/jsx-runtime\";import{createStore}from\"https://framer.com/m/framer/store.js@^1.0.0\";// Learn more: https://www.framer.com/developers/overrides/\nexport const slideshowStore=createStore({autoplayVar:true,variantName:\"Variant 1 - Primary\",variantNumber:1,variantCount:5,promptNumber:1,maxPromptNumber:3});export function setVisibilityPrompt1(Component){return props=>{const[store,setStore]=slideshowStore();console.log(\"Prompt Number increased to:\",store.promptNumber);return /*#__PURE__*/_jsx(_Fragment,{children:store.promptNumber==1&&/*#__PURE__*/_jsx(Component,{...props,initial:{opacity:0,y:-100},animate:{opacity:1,y:0,transition:{duration:.6,ease:\"easeIn\"}},exit:{opacity:0,y:-100,transition:{duration:.5,ease:\"easeOut\"}}})});};}export function setVisibilityPrompt2(Component){return props=>{const[store,setStore]=slideshowStore();return /*#__PURE__*/_jsx(_Fragment,{children:store.promptNumber==2&&/*#__PURE__*/_jsx(Component,{...props,initial:{opacity:0,y:-100},animate:{opacity:1,y:0,transition:{duration:.6,ease:\"easeIn\"}},exit:{opacity:0,y:-100,transition:{duration:.5,ease:\"easeOut\"}}})});};}export function setVisibilityPrompt3(Component){return props=>{const[store,setStore]=slideshowStore();return /*#__PURE__*/_jsx(_Fragment,{children:store.promptNumber==3&&/*#__PURE__*/_jsx(Component,{...props,initial:{opacity:0,y:-100},animate:{opacity:1,y:0,transition:{duration:.6,ease:\"easeIn\"}},exit:{opacity:0,y:-100,transition:{duration:.5,ease:\"easeOut\"}}})});};}export function setVisibilityPrompt4(Component){return props=>{const[store,setStore]=slideshowStore();return /*#__PURE__*/_jsx(_Fragment,{children:store.promptNumber==4&&/*#__PURE__*/_jsx(Component,{...props,initial:{opacity:0,y:-100},animate:{opacity:1,y:0,transition:{duration:.6,ease:\"easeIn\"}},exit:{opacity:0,y:-100,transition:{duration:.5,ease:\"easeOut\"}}})});};}export function setVisibilityPrompt5(Component){return props=>{const[store,setStore]=slideshowStore();return /*#__PURE__*/_jsx(_Fragment,{children:store.promptNumber==5&&/*#__PURE__*/_jsx(Component,{...props,initial:{opacity:0,y:-100},animate:{opacity:1,y:0,transition:{duration:.6,ease:\"easeIn\"}},exit:{opacity:0,y:-100,transition:{duration:.5,ease:\"easeOut\"}}})});};}export function setVisibilityOpp(Component){return props=>{const[store,setStore]=slideshowStore();return /*#__PURE__*/_jsx(_Fragment,{children:!store.autoplayVar&&/*#__PURE__*/_jsx(Component,{...props,initial:{opacity:0,y:-100},animate:{opacity:1,y:0,transition:{duration:.6,ease:\"easeIn\"}},exit:{opacity:0,y:-100,transition:{duration:.5,ease:\"easeOut\"}}})});};}export function onClickPromptNumberIncrease(Component){return props=>{const[store,setStore]=slideshowStore();return /*#__PURE__*/_jsx(Component,{...props,onClick:()=>{const{promptNumber,maxPromptNumber}=store;const newPromptNumber=promptNumber>=maxPromptNumber?1:promptNumber+1;console.log(\"Prompt Number increased to:\",newPromptNumber);setStore({promptNumber:newPromptNumber});}});};}export function onClickPromptNumberDecrease(Component){return props=>{const[store,setStore]=slideshowStore();return /*#__PURE__*/_jsx(Component,{...props,onClick:()=>{const{promptNumber,maxPromptNumber}=store;const newPromptNumber=promptNumber<=1?maxPromptNumber:promptNumber-1;console.log(\"Prompt Number decreased to:\",newPromptNumber);setStore({promptNumber:newPromptNumber});}});};}export function onClickNextArrow(Component){return props=>{const[store,setStore]=slideshowStore();return /*#__PURE__*/_jsx(Component,{...props,onClick:()=>{const{variantNumber,variantCount,variantName}=store;const newVariantNumber=variantNumber>=variantCount?1:variantNumber+1;console.log(\" Updated Variant Name  to:\",`Variant ${newVariantNumber}`);setStore({variantName:`Variant ${newVariantNumber}`,variantNumber:newVariantNumber});}});};}export function onClickBackArrow(Component){return props=>{const[store,setStore]=slideshowStore();return /*#__PURE__*/_jsx(Component,{...props,onClick:()=>{const{variantNumber,variantCount,variantName}=store;const newVariantNumber=variantNumber<=1?variantCount:variantNumber-1;console.log(\" Updated Variant Name  to:\",`Variant ${newVariantNumber}`);setStore({variantName:`Variant ${newVariantNumber}`,variantNumber:newVariantNumber});}});};}// export function variantControlSlideshow(Component): ComponentType {\n//     return (props) => {\n//         const [store, setStore] = slideshowStore()\n//         console.log(\"Variant Name currently:\", store.variantName)\n//         return <Component {...props} variant={store.variantName} />\n//     }\n// }\n// export function withVariant(Component): ComponentType {\n//     return (props) => {\n//         const [store, setStore] = slideshowStore()\n//         return <Component {...props} variant={store.variantName} />\n//     }\n// }\n\nexport const __FramerMetadata__ = {\"exports\":{\"setVisibilityPrompt2\":{\"type\":\"reactHoc\",\"name\":\"setVisibilityPrompt2\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"onClickBackArrow\":{\"type\":\"reactHoc\",\"name\":\"onClickBackArrow\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"setVisibilityPrompt5\":{\"type\":\"reactHoc\",\"name\":\"setVisibilityPrompt5\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"setVisibilityPrompt4\":{\"type\":\"reactHoc\",\"name\":\"setVisibilityPrompt4\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"setVisibilityPrompt3\":{\"type\":\"reactHoc\",\"name\":\"setVisibilityPrompt3\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"onClickNextArrow\":{\"type\":\"reactHoc\",\"name\":\"onClickNextArrow\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"setVisibilityPrompt1\":{\"type\":\"reactHoc\",\"name\":\"setVisibilityPrompt1\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"slideshowStore\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"onClickPromptNumberIncrease\":{\"type\":\"reactHoc\",\"name\":\"onClickPromptNumberIncrease\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"setVisibilityOpp\":{\"type\":\"reactHoc\",\"name\":\"setVisibilityOpp\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"onClickPromptNumberDecrease\":{\"type\":\"reactHoc\",\"name\":\"onClickPromptNumberDecrease\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./SlideshowOverrides.map"],
  "mappings": "kFACO,IAAMA,EAAeC,EAAY,CAAC,YAAY,GAAK,YAAY,sBAAsB,cAAc,EAAE,aAAa,EAAE,aAAa,EAAE,gBAAgB,CAAC,CAAC,EAAw+F,SAASC,EAAiBC,EAAU,CAAC,OAAOC,GAAO,CAAC,GAAK,CAACC,EAAMC,CAAQ,EAAEC,EAAe,EAAE,OAAoBC,EAAKL,EAAU,CAAC,GAAGC,EAAM,QAAQ,IAAI,CAAC,GAAK,CAAC,cAAAK,EAAc,aAAAC,EAAa,YAAAC,CAAW,EAAEN,EAAYO,EAAiBH,GAAeC,EAAa,EAAED,EAAc,EAAE,QAAQ,IAAI,6BAA6B,WAAWG,CAAgB,EAAE,EAAEN,EAAS,CAAC,YAAY,WAAWM,CAAgB,GAAG,cAAcA,CAAgB,CAAC,CAAE,CAAC,CAAC,CAAE,CAAE,CAAQ,SAASC,EAAiBV,EAAU,CAAC,OAAOC,GAAO,CAAC,GAAK,CAACC,EAAMC,CAAQ,EAAEC,EAAe,EAAE,OAAoBC,EAAKL,EAAU,CAAC,GAAGC,EAAM,QAAQ,IAAI,CAAC,GAAK,CAAC,cAAAK,EAAc,aAAAC,EAAa,YAAAC,CAAW,EAAEN,EAAYO,EAAiBH,GAAe,EAAEC,EAAaD,EAAc,EAAE,QAAQ,IAAI,6BAA6B,WAAWG,CAAgB,EAAE,EAAEN,EAAS,CAAC,YAAY,WAAWM,CAAgB,GAAG,cAAcA,CAAgB,CAAC,CAAE,CAAC,CAAC,CAAE,CAAE",
  "names": ["slideshowStore", "createStore", "onClickNextArrow", "Component", "props", "store", "setStore", "slideshowStore", "p", "variantNumber", "variantCount", "variantName", "newVariantNumber", "onClickBackArrow"]
}
