{"version":3,"file":"store.js@_1.0.Ds1SrtVs.mjs","names":["React.useContext","React.useMemo","React.Fragment","React.forwardRef","React.useRef","React.useId","useState"],"sources":["https:/framerusercontent.com/modules/TyThzMHpsX0MLtdKpk66/jLjodcBdsFxtGXCcAQOm/KjcXFF5Zh.js","https:/framerusercontent.com/modules/vj7bFUjvEQFgEzNBkdoG/vf3CKm378wlVcBk7IhSU/createStore.js","https:/framer.com/m/framer/store.js@^1.0.0"],"sourcesContent":["// Generated by Framer (508aa67)\nimport{jsx as _jsx}from\"react/jsx-runtime\";import{addFonts,addPropertyControls,ControlType,cx,useComponentViewport,useLocaleInfo,useVariantState,withCSS}from\"framer\";import{LayoutGroup,motion,MotionConfigContext}from\"framer-motion\";import*as React from\"react\";const cycleOrder=[\"ufiAwJ9Ev\",\"hVIePfpOW\",\"GZsSnsrsQ\",\"C0Gi7aMjE\",\"dCMVvctcB\",\"yDR1I99UG\",\"pCHH1kLYh\",\"NYaZWmoba\",\"BHPxI_jIX\"];const serializationHash=\"framer-HpWLY\";const variantClassNames={BHPxI_jIX:\"framer-v-1aaxkln\",C0Gi7aMjE:\"framer-v-l3aqrs\",dCMVvctcB:\"framer-v-1ctnirt\",GZsSnsrsQ:\"framer-v-o0snky\",hVIePfpOW:\"framer-v-gswv9i\",NYaZWmoba:\"framer-v-kwcyjf\",pCHH1kLYh:\"framer-v-kb9726\",ufiAwJ9Ev:\"framer-v-1co1vyd\",yDR1I99UG:\"framer-v-wurnao\"};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(React.Fragment);const humanReadableVariantMap={Height12:\"BHPxI_jIX\",Height16:\"hVIePfpOW\",Height20:\"GZsSnsrsQ\",Height24:\"C0Gi7aMjE\",Height32:\"ufiAwJ9Ev\",Height48:\"dCMVvctcB\",Height56:\"yDR1I99UG\",Height64:\"pCHH1kLYh\",Height96:\"NYaZWmoba\"};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:\"ufiAwJ9Ev\"};};const createLayoutDependency=(props,variants)=>variants.join(\"-\")+props.layoutDependency;const Component=/*#__PURE__*/React.forwardRef(function(props,ref){const{activeLocale,setLocale}=useLocaleInfo();const{style,className,layoutId,variant,...restProps}=getProps(props);const{baseVariant,classNames,gestureVariant,setGestureState,setVariant,variants}=useVariantState({cycleOrder,defaultVariant:\"ufiAwJ9Ev\",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,className:cx(serializationHash,...sharedStyleClassNames,\"framer-1co1vyd\",className,classNames),\"data-framer-name\":\"Height32\",layoutDependency:layoutDependency,layoutId:\"ufiAwJ9Ev\",onHoverEnd:()=>setGestureState({isHovered:false}),onHoverStart:()=>setGestureState({isHovered:true}),onTap:()=>setGestureState({isPressed:false}),onTapCancel:()=>setGestureState({isPressed:false}),onTapStart:()=>setGestureState({isPressed:true}),ref:ref!==null&&ref!==void 0?ref:ref1,style:{...style},...addPropertyOverrides({BHPxI_jIX:{\"data-framer-name\":\"Height12\"},C0Gi7aMjE:{\"data-framer-name\":\"Height24\"},dCMVvctcB:{\"data-framer-name\":\"Height48\"},GZsSnsrsQ:{\"data-framer-name\":\"Height20\"},hVIePfpOW:{\"data-framer-name\":\"Height16\"},NYaZWmoba:{\"data-framer-name\":\"Height96\"},pCHH1kLYh:{\"data-framer-name\":\"Height64\"},yDR1I99UG:{\"data-framer-name\":\"Height56\"}},baseVariant,gestureVariant),children:/*#__PURE__*/_jsx(motion.div,{className:\"framer-1bd0gm7\",\"data-framer-name\":\"Frame\",layoutDependency:layoutDependency,layoutId:\"BCP5b1MI5\",style:{backgroundColor:\"rgba(255, 255, 255, 0)\"},children:/*#__PURE__*/_jsx(motion.div,{className:\"framer-r3saev\",\"data-framer-name\":\"spacer\",layoutDependency:layoutDependency,layoutId:\"FMVWSTLSD\"})})})})})});});const css=[\"@supports (aspect-ratio: 1) { body { --framer-aspect-ratio-supported: auto; } }\",\".framer-HpWLY.framer-knyzxh, .framer-HpWLY .framer-knyzxh { display: block; }\",\".framer-HpWLY.framer-1co1vyd { align-content: flex-start; align-items: flex-start; display: flex; flex-direction: column; flex-wrap: nowrap; gap: 0px; height: min-content; justify-content: flex-start; overflow: visible; padding: 0px; position: relative; width: 358px; }\",\".framer-HpWLY .framer-1bd0gm7 { flex: none; height: 32px; overflow: visible; position: relative; width: 100%; }\",\".framer-HpWLY .framer-r3saev { flex: none; height: 100%; left: 0px; position: absolute; top: calc(50% - 100% / 2); width: 100%; }\",\"@supports (background: -webkit-named-image(i)) and (not (font-palette:dark)) { .framer-HpWLY.framer-1co1vyd { gap: 0px; } .framer-HpWLY.framer-1co1vyd > * { margin: 0px; margin-bottom: calc(0px / 2); margin-top: calc(0px / 2); } .framer-HpWLY.framer-1co1vyd > :first-child { margin-top: 0px; } .framer-HpWLY.framer-1co1vyd > :last-child { margin-bottom: 0px; } }\",\".framer-HpWLY.framer-v-gswv9i .framer-1bd0gm7 { height: 16px; }\",\".framer-HpWLY.framer-v-o0snky.framer-1co1vyd { height: 20px; }\",\".framer-HpWLY.framer-v-o0snky .framer-1bd0gm7, .framer-HpWLY.framer-v-l3aqrs.framer-1co1vyd, .framer-HpWLY.framer-v-l3aqrs .framer-1bd0gm7, .framer-HpWLY.framer-v-1aaxkln .framer-1bd0gm7 { height: 24px; }\",\".framer-HpWLY.framer-v-1ctnirt .framer-1bd0gm7, .framer-HpWLY.framer-v-wurnao .framer-1bd0gm7, .framer-HpWLY.framer-v-kwcyjf .framer-1bd0gm7 { height: 48px; }\",\".framer-HpWLY.framer-v-wurnao.framer-1co1vyd { height: 56px; }\",\".framer-HpWLY.framer-v-kb9726.framer-1co1vyd, .framer-HpWLY.framer-v-kb9726 .framer-1bd0gm7 { height: 64px; }\",\".framer-HpWLY.framer-v-kwcyjf.framer-1co1vyd { height: 96px; }\",\".framer-HpWLY.framer-v-1aaxkln.framer-1co1vyd { height: 12px; }\"];/**\n * This is a generated Framer component.\n * @framerIntrinsicHeight 32\n * @framerIntrinsicWidth 358\n * @framerCanvasComponentVariantDetails {\"propertyName\":\"variant\",\"data\":{\"default\":{\"layout\":[\"fixed\",\"auto\"]},\"hVIePfpOW\":{\"layout\":[\"fixed\",\"auto\"]},\"GZsSnsrsQ\":{\"layout\":[\"fixed\",\"fixed\"]},\"C0Gi7aMjE\":{\"layout\":[\"fixed\",\"fixed\"]},\"dCMVvctcB\":{\"layout\":[\"fixed\",\"auto\"]},\"yDR1I99UG\":{\"layout\":[\"fixed\",\"fixed\"]},\"pCHH1kLYh\":{\"layout\":[\"fixed\",\"fixed\"]},\"NYaZWmoba\":{\"layout\":[\"fixed\",\"fixed\"]},\"BHPxI_jIX\":{\"layout\":[\"fixed\",\"fixed\"]}}}\n * @framerImmutableVariables true\n * @framerDisplayContentsDiv false\n * @framerComponentViewportWidth true\n */const FramerKjcXFF5Zh=withCSS(Component,css,\"framer-HpWLY\");export default FramerKjcXFF5Zh;FramerKjcXFF5Zh.displayName=\"Spacer/Vertical\";FramerKjcXFF5Zh.defaultProps={height:32,width:358};addPropertyControls(FramerKjcXFF5Zh,{variant:{options:[\"ufiAwJ9Ev\",\"hVIePfpOW\",\"GZsSnsrsQ\",\"C0Gi7aMjE\",\"dCMVvctcB\",\"yDR1I99UG\",\"pCHH1kLYh\",\"NYaZWmoba\",\"BHPxI_jIX\"],optionTitles:[\"Height32\",\"Height16\",\"Height20\",\"Height24\",\"Height48\",\"Height56\",\"Height64\",\"Height96\",\"Height12\"],title:\"Variant\",type:ControlType.Enum}});addFonts(FramerKjcXFF5Zh,[{explicitInter:true,fonts:[]}],{supportsExplicitInterCodegen:true});\nexport const __FramerMetadata__ = {\"exports\":{\"Props\":{\"type\":\"tsType\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"default\":{\"type\":\"reactComponent\",\"name\":\"FramerKjcXFF5Zh\",\"slots\":[],\"annotations\":{\"framerContractVersion\":\"1\",\"framerComponentViewportWidth\":\"true\",\"framerCanvasComponentVariantDetails\":\"{\\\"propertyName\\\":\\\"variant\\\",\\\"data\\\":{\\\"default\\\":{\\\"layout\\\":[\\\"fixed\\\",\\\"auto\\\"]},\\\"hVIePfpOW\\\":{\\\"layout\\\":[\\\"fixed\\\",\\\"auto\\\"]},\\\"GZsSnsrsQ\\\":{\\\"layout\\\":[\\\"fixed\\\",\\\"fixed\\\"]},\\\"C0Gi7aMjE\\\":{\\\"layout\\\":[\\\"fixed\\\",\\\"fixed\\\"]},\\\"dCMVvctcB\\\":{\\\"layout\\\":[\\\"fixed\\\",\\\"auto\\\"]},\\\"yDR1I99UG\\\":{\\\"layout\\\":[\\\"fixed\\\",\\\"fixed\\\"]},\\\"pCHH1kLYh\\\":{\\\"layout\\\":[\\\"fixed\\\",\\\"fixed\\\"]},\\\"NYaZWmoba\\\":{\\\"layout\\\":[\\\"fixed\\\",\\\"fixed\\\"]},\\\"BHPxI_jIX\\\":{\\\"layout\\\":[\\\"fixed\\\",\\\"fixed\\\"]}}}\",\"framerIntrinsicWidth\":\"358\",\"framerDisplayContentsDiv\":\"false\",\"framerIntrinsicHeight\":\"32\",\"framerImmutableVariables\":\"true\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./KjcXFF5Zh.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"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