{"version":3,"file":"shared-lib.Er8uW-o7.mjs","names":["useState","buttonClass","React.forwardRef"],"sources":["https:/framerusercontent.com/modules/vj7bFUjvEQFgEzNBkdoG/vf3CKm378wlVcBk7IhSU/createStore.js","https:/framer.com/m/framer/store.js@^1.0.0","https:/framerusercontent.com/modules/aJHUUrK0ze87VIXFEV60/YWDviU8XuQP1uu6aLgK6/Burger_menu.js","https:/framerusercontent.com/modules/ve3wjTPmQApC1gojTVb2/o5oYzNH06G3X3Tb3g1sk/Burger_menu.js","https:/framerusercontent.com/modules/mGghC44ZJLtiD7mq8XQt/n2ZkDLiIeGtZQVgKsNuR/LeQlF2qPk.js"],"sourcesContent":["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}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/\nconst useStore=createStore({background:\"#0099FF\"});export function buttonClass(Component){return props=>{props.className+=\" burger-button\";return /*#__PURE__*/_jsx(Component,{...props});};}export function lineClass(Component){return props=>{props.className+=\" burger-line\";return /*#__PURE__*/_jsx(Component,{...props});};}export function menuClass(Component){return props=>{props.className+=\" burger-menu cursor-target\";return /*#__PURE__*/_jsx(Component,{...props});};}\nexport const __FramerMetadata__ = {\"exports\":{\"lineClass\":{\"type\":\"reactHoc\",\"name\":\"lineClass\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"menuClass\":{\"type\":\"reactHoc\",\"name\":\"menuClass\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"buttonClass\":{\"type\":\"reactHoc\",\"name\":\"buttonClass\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./Burger_menu.map","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/developers/overrides/\nconst useStore=createStore({background:\"#0099FF\"});export function buttonClass(Component){return props=>{props.className+=\" burger-button\";return /*#__PURE__*/_jsx(Component,{...props});};}export function lineClass(Component){return props=>{props.className+=\" burger-line\";return /*#__PURE__*/_jsx(Component,{...props});};}export function menuClass(Component){return props=>{props.className+=\" burger-menu\";return /*#__PURE__*/_jsx(Component,{...props});};}export function burgerLink(Component){return props=>{props.className+=\" burgerLink\";return /*#__PURE__*/_jsx(Component,{...props});};}export function burgerLinksContainer(Component){return props=>{props.className+=\" burgerLinksContainer\";return /*#__PURE__*/_jsx(Component,{...props});};}\nexport const __FramerMetadata__ = {\"exports\":{\"burgerLink\":{\"type\":\"reactHoc\",\"name\":\"burgerLink\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"buttonClass\":{\"type\":\"reactHoc\",\"name\":\"buttonClass\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"lineClass\":{\"type\":\"reactHoc\",\"name\":\"lineClass\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"burgerLinksContainer\":{\"type\":\"reactHoc\",\"name\":\"burgerLinksContainer\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"menuClass\":{\"type\":\"reactHoc\",\"name\":\"menuClass\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./Burger_menu.map","// Generated by Framer (c0d7099)\nimport{jsx as _jsx}from\"react/jsx-runtime\";import{addPropertyControls,ControlType,cx,motion,withCSS}from\"framer\";import*as React from\"react\";import{forwardRef}from\"react\";const Tud47eQuK=undefined;const mask='url(\\'data:image/svg+xml,<svg display=\"block\" role=\"presentation\" viewBox=\"0 0 10 10\" xmlns=\"http://www.w3.org/2000/svg\"><path d=\"M 0 0 L 10 0 L 10 10 L 0 10 Z\" fill=\"var(--1qu84js, rgb(255, 255, 255))\" height=\"10px\" id=\"uyvIxxW8N\" width=\"10px\"/></svg>\\') alpha no-repeat center / auto var(--framer-icon-mask-mode, add), var(--framer-icon-mask, none)';const SVG=/*#__PURE__*/forwardRef((props,ref)=>{const{animated,layoutId,children,...rest}=props;return animated?/*#__PURE__*/_jsx(motion.div,{...rest,layoutId:layoutId,ref:ref}):/*#__PURE__*/_jsx(\"div\",{...rest,ref:ref});});const getProps=({color,height,id,width,...props})=>{return{...props,Tud47eQuK:color??props.Tud47eQuK??\"rgb(255, 255, 255)\"};};const Component=/*#__PURE__*/React.forwardRef(function(props,ref){const{style,className,layoutId,variant,Tud47eQuK,...restProps}=getProps(props);return /*#__PURE__*/_jsx(SVG,{...restProps,className:cx(\"framer-ug0yH\",className),layoutId:layoutId,ref:ref,style:{\"--1qu84js\":Tud47eQuK,...style}});});const css=[`.framer-ug0yH { -webkit-mask: ${mask}; aspect-ratio: 1; background-color: var(--1qu84js); mask: ${mask}; width: 10px; }`];/**\n * This is a generated Framer component.\n * @framerIntrinsicWidth 10\n * @framerIntrinsicHeight 10\n * @framerSupportedLayoutWidth any-prefer-fixed\n * @framerSupportedLayoutHeight any-prefer-fixed\n * @framerVariables {\"Tud47eQuK\":\"color\"}\n * @framerImmutableVariables true\n * @framerVector {\"name\":\"Vector\",\"color\":{\"type\":\"variable\",\"value\":\"1qu84js\"},\"set\":{\"localId\":\"vectorSet/D4yci_mYW\",\"id\":\"D4yci_mYW\",\"moduleId\":\"ouiiwnqw1V4HlR9wLDRO\"}}\n */const Icon=withCSS(Component,css,\"framer-ug0yH\");Icon.displayName=\"Vector\";export default Icon;addPropertyControls(Icon,{Tud47eQuK:{defaultValue:\"rgb(255, 255, 255)\",hidden:false,title:\"color\",type:ControlType.Color}});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"Icon\",\"slots\":[],\"annotations\":{\"framerVector\":\"{\\\"name\\\":\\\"Vector\\\",\\\"color\\\":{\\\"type\\\":\\\"variable\\\",\\\"value\\\":\\\"1qu84js\\\"},\\\"set\\\":{\\\"localId\\\":\\\"vectorSet/D4yci_mYW\\\",\\\"id\\\":\\\"D4yci_mYW\\\",\\\"moduleId\\\":\\\"ouiiwnqw1V4HlR9wLDRO\\\"}}\",\"framerImmutableVariables\":\"true\",\"framerIntrinsicWidth\":\"10\",\"framerVariables\":\"{\\\"Tud47eQuK\\\":\\\"color\\\"}\",\"framerSupportedLayoutHeight\":\"any-prefer-fixed\",\"framerContractVersion\":\"1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