{"version":3,"file":"ZIndex_Increase.CgnLL2ZH.mjs","names":["Phosphor","React.useContext","React.useMemo","React.Fragment","React.forwardRef","useRef","React.useId","useState","useState","__esmMin","init_npm_react_18_3_1","x","oe","pe","ie","_e","de","J","c","p","ce","motion","LayoutGroup","MotionConfigContext","init_framer_motion_DhsWWWsN","RichText","getFonts","withCSS","cx","SmartComponentScopedContainer","addFonts","useObserveData","addPropertyControls","useVariantState","getPropertyControls","ControlType","init_framer_DKtAEkcX","useLocaleInfo","Data","ComponentViewportProvider","useComponentViewport","Icon","init_Phosphor","PhosphorFonts","PhosphorControls","serializationHash","variantClassNames","transition1","Transition","Variants","getProps","createLayoutDependency","FramerJfy4wzqd3","init_Jfy4wzqd3","init_jsx_runtime","config","transition","value","contextValue","props","title","icon","variants","fallbackRef","refBinding","ref","defaultLayoutId","restProps","layoutDependency","scopingClassNames","layoutId","gestureHandlers","className","classNames","style","FK5E0IBu_","eUpsjMgdm","\"iconSelection\"","createStore","dataStore","state1","setDataStore","newState","storeState","storeSetters","setStoreState","setter","useStore","state","setState","init_createStore","init_store_js__1_0","BringToFront","store","setStore","zIndex","setZIndex","rest","handleMouseEnter","currentZIndex","Component","init_ZIndex_Increase"],"sources":["https:/framerusercontent.com/modules/b3K73lpcEUMg6mP6sSSw/VrwqM2IvRbodSm5qQkPi/Jfy4wzqd3.js","https:/framerusercontent.com/modules/vj7bFUjvEQFgEzNBkdoG/vf3CKm378wlVcBk7IhSU/createStore.js","https:/framer.com/m/framer/store.js@^1.0.0","https:/framerusercontent.com/modules/JeSpUUWuk7K2gF8EQns2/moD3dTkqnLpo36g3zxLD/ZIndex_Increase.js"],"sourcesContent":["// Generated by Framer (9fdca5e)\nimport{jsx as _jsx,jsxs as _jsxs}from\"react/jsx-runtime\";import{addFonts,addPropertyControls,ComponentViewportProvider,ControlType,cx,getFonts,getPropertyControls,RichText,SmartComponentScopedContainer,useComponentViewport,useLocaleInfo,useVariantState,withCSS}from\"framer\";import{LayoutGroup,motion,MotionConfigContext}from\"framer-motion\";import*as React from\"react\";import{useRef}from\"react\";import{Icon as Phosphor}from\"https://framerusercontent.com/modules/tYScH7LTqUtz5KUaUAYP/p8dptk4UIND8hbFWz9V7/Phosphor.js\";const PhosphorFonts=getFonts(Phosphor);const PhosphorControls=getPropertyControls(Phosphor);const serializationHash=\"framer-9Fsvb\";const variantClassNames={mGf4v6lXV:\"framer-v-gydjhh\"};function addPropertyOverrides(overrides,...variants){const nextOverrides={};variants?.forEach(variant=>variant&&Object.assign(nextOverrides,overrides[variant]));return nextOverrides;}const FK5E0IBu_=undefined;const eUpsjMgdm=undefined;const transition1={bounce:.2,delay:0,duration:.4,type:\"spring\"};const Transition=({value,children})=>{const config=React.useContext(MotionConfigContext);const transition=value??config.transition;const contextValue=React.useMemo(()=>({...config,transition}),[JSON.stringify(transition)]);return /*#__PURE__*/_jsx(MotionConfigContext.Provider,{value:contextValue,children:children});};const Variants=motion.create(React.Fragment);const getProps=({height,icon,id,title,width,...props})=>{return{...props,eUpsjMgdm:title??props.eUpsjMgdm??\"Badge\",FK5E0IBu_:icon??props.FK5E0IBu_??\"PhosphorLogo\"};};const createLayoutDependency=(props,variants)=>{if(props.layoutDependency)return variants.join(\"-\")+props.layoutDependency;return variants.join(\"-\");};const Component=/*#__PURE__*/React.forwardRef(function(props,ref){const fallbackRef=useRef(null);const refBinding=ref??fallbackRef;const defaultLayoutId=React.useId();const{activeLocale,setLocale}=useLocaleInfo();const componentViewport=useComponentViewport();const{style,className,layoutId,variant,FK5E0IBu_,eUpsjMgdm,...restProps}=getProps(props);const{baseVariant,classNames,clearLoadingGesture,gestureHandlers,gestureVariant,isLoading,setGestureState,setVariant,variants}=useVariantState({defaultVariant:\"mGf4v6lXV\",ref:refBinding,variant,variantClassNames});const layoutDependency=createLayoutDependency(props,variants);const sharedStyleClassNames=[];const scopingClassNames=cx(serializationHash,...sharedStyleClassNames);return /*#__PURE__*/_jsx(LayoutGroup,{id:layoutId??defaultLayoutId,children:/*#__PURE__*/_jsx(Variants,{animate:variants,initial:false,children:/*#__PURE__*/_jsx(Transition,{value:transition1,children:/*#__PURE__*/_jsxs(motion.div,{...restProps,...gestureHandlers,className:cx(scopingClassNames,\"framer-gydjhh\",className,classNames),\"data-framer-name\":\"Default\",layoutDependency:layoutDependency,layoutId:\"mGf4v6lXV\",ref:refBinding,style:{background:\"linear-gradient(270deg, var(--token-8cd25dc6-9994-45b0-830b-10cdb654dd7c, rgb(238, 243, 255)) 0%, var(--token-5ea9d588-a082-4268-a5ad-a118512a6412, rgb(255, 255, 255)) 100%)\",borderBottomRightRadius:32,borderTopRightRadius:32,...style},children:[/*#__PURE__*/_jsx(ComponentViewportProvider,{children:/*#__PURE__*/_jsx(SmartComponentScopedContainer,{className:\"framer-11luyjb-container\",isAuthoredByUser:true,isModuleExternal:true,layoutDependency:layoutDependency,layoutId:\"oRelkNrc4-container\",nodeId:\"oRelkNrc4\",rendersWithMotion:true,scopeId:\"Jfy4wzqd3\",children:/*#__PURE__*/_jsx(Phosphor,{color:\"var(--token-ec2999c4-d032-4414-bc4e-6ea37a86746d, rgb(10, 78, 151))\",height:\"100%\",iconSearch:\"House\",iconSelection:FK5E0IBu_,id:\"oRelkNrc4\",layoutId:\"oRelkNrc4\",mirrored:false,selectByList:true,style:{height:\"100%\",width:\"100%\"},weight:\"regular\",width:\"100%\"})})}),/*#__PURE__*/_jsx(RichText,{__fromCanvasComponent:true,children:/*#__PURE__*/_jsx(React.Fragment,{children:/*#__PURE__*/_jsx(motion.p,{style:{\"--font-selector\":\"RlM7UG9wcGlucy1yZWd1bGFy\",\"--framer-font-family\":'\"Poppins\", \"Poppins Placeholder\", sans-serif',\"--framer-font-size\":\"14px\",\"--framer-line-height\":\"1.5em\",\"--framer-text-color\":\"var(--extracted-r6o4lv, var(--token-ec2999c4-d032-4414-bc4e-6ea37a86746d, rgb(10, 78, 151)))\"},children:\"Badge\"})}),className:\"framer-1f06szo\",fonts:[\"FS;Poppins-regular\"],layoutDependency:layoutDependency,layoutId:\"hfLJufG6k\",style:{\"--extracted-r6o4lv\":\"var(--token-ec2999c4-d032-4414-bc4e-6ea37a86746d, rgb(10, 78, 151))\",\"--framer-link-text-color\":\"rgb(0, 153, 255)\",\"--framer-link-text-decoration\":\"underline\"},text:eUpsjMgdm,verticalAlignment:\"top\",withExternalLayout:true})]})})})});});const css=[\"@supports (aspect-ratio: 1) { body { --framer-aspect-ratio-supported: auto; } }\",\".framer-9Fsvb.framer-1gn6bnn, .framer-9Fsvb .framer-1gn6bnn { display: block; }\",\".framer-9Fsvb.framer-gydjhh { align-content: center; align-items: center; display: flex; flex-direction: row; flex-wrap: nowrap; gap: 4px; height: min-content; justify-content: center; overflow: visible; padding: 8px 16px 8px 16px; position: relative; width: min-content; }\",\".framer-9Fsvb .framer-11luyjb-container { flex: none; height: 16px; left: -8px; position: absolute; top: calc(48.648648648648674% - 16px / 2); width: 16px; z-index: 1; }\",\".framer-9Fsvb .framer-1f06szo { flex: none; height: auto; position: relative; white-space: pre; width: auto; }\"];/**\n * This is a generated Framer component.\n * @framerIntrinsicHeight 37\n * @framerIntrinsicWidth 77\n * @framerCanvasComponentVariantDetails {\"propertyName\":\"variant\",\"data\":{\"default\":{\"layout\":[\"auto\",\"auto\"]}}}\n * @framerVariables {\"FK5E0IBu_\":\"icon\",\"eUpsjMgdm\":\"title\"}\n * @framerImmutableVariables true\n * @framerDisplayContentsDiv false\n * @framerAutoSizeImages true\n * @framerComponentViewportWidth true\n * @framerColorSyntax true\n */const FramerJfy4wzqd3=withCSS(Component,css,\"framer-9Fsvb\");export default FramerJfy4wzqd3;FramerJfy4wzqd3.displayName=\"Element/Badge\";FramerJfy4wzqd3.defaultProps={height:37,width:77};addPropertyControls(FramerJfy4wzqd3,{FK5E0IBu_:PhosphorControls?.[\"iconSelection\"]&&{...PhosphorControls[\"iconSelection\"],defaultValue:\"PhosphorLogo\",description:undefined,hidden:undefined,optional:undefined,title:\"Icon\"},onFK5E0IBu_Change:{changes:\"FK5E0IBu_\",type:ControlType.ChangeHandler},eUpsjMgdm:{defaultValue:\"Badge\",displayTextArea:false,title:\"Title\",type:ControlType.String},oneUpsjMgdmChange:{changes:\"eUpsjMgdm\",type:ControlType.ChangeHandler}});addFonts(FramerJfy4wzqd3,[{explicitInter:true,fonts:[{cssFamilyName:\"Poppins\",source:\"fontshare\",style:\"normal\",uiFamilyName:\"Poppins\",url:\"https://framerusercontent.com/third-party-assets/fontshare/wf/NC2MP33RO4WQTSTEEAWBJLAEXNCNEQVF/7F4U3COKLHQH4WUH3AXPC7N4UELEWJQN/JMWNCAGBH3TLANIVQPVABVAVNV5QERTH.woff2\",weight:\"400\"}]},...PhosphorFonts],{supportsExplicitInterCodegen:true});\nexport const __FramerMetadata__ = {\"exports\":{\"Props\":{\"type\":\"tsType\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"default\":{\"type\":\"reactComponent\",\"name\":\"FramerJfy4wzqd3\",\"slots\":[],\"annotations\":{\"framerColorSyntax\":\"true\",\"framerComponentViewportWidth\":\"true\",\"framerDisplayContentsDiv\":\"false\",\"framerImmutableVariables\":\"true\",\"framerVariables\":\"{\\\"FK5E0IBu_\\\":\\\"icon\\\",\\\"eUpsjMgdm\\\":\\\"title\\\"}\",\"framerIntrinsicHeight\":\"37\",\"framerContractVersion\":\"1\",\"framerIntrinsicWidth\":\"77\",\"framerCanvasComponentVariantDetails\":\"{\\\"propertyName\\\":\\\"variant\\\",\\\"data\\\":{\\\"default\\\":{\\\"layout\\\":[\\\"auto\\\",\\\"auto\\\"]}}}\",\"framerAutoSizeImages\":\"true\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./Jfy4wzqd3.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","import{jsx as _jsx}from\"react/jsx-runtime\";import{useState}from\"react\";import{createStore}from\"https://framer.com/m/framer/store.js@^1.0.0\";const useStore=createStore({z:0});export function BringToFront(Component){return props=>{const[store,setStore]=useStore();const[zIndex,setZIndex]=useState(0);const{style,...rest}=props;const handleMouseEnter=()=>{const currentZIndex=store.z;setStore({z:currentZIndex+1});setZIndex(currentZIndex+1);};return /*#__PURE__*/_jsx(Component,{...rest,style:{...style,zIndex},onMouseEnter:handleMouseEnter});};}\nexport const __FramerMetadata__ = {\"exports\":{\"B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