{"version":3,"file":"ZIndex_Increase.CsIQ5LSX.mjs","names":["Phosphor","React.useContext","React.useMemo","React.Fragment","useRef","React.useId","RichText","useStore","useState","useState"],"sources":["https:/framerusercontent.com/modules/b3K73lpcEUMg6mP6sSSw/8V2nlUqT9PhcOUnlss67/Jfy4wzqd3.js","https:/framerusercontent.com/modules/vj7bFUjvEQFgEzNBkdoG/vf3CKm378wlVcBk7IhSU/createStore.js","https:/framer.com/m/framer/store.js@^1.0.0","https:/framerusercontent.com/modules/jquBAzMGChxxGOgGRqUj/26dba6qMmIQZ5jL7Hlm3/ZIndex_Increase.js"],"sourcesContent":["// Generated by Framer (47ebf4a)\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-CE1V2\";const variantClassNames={mGf4v6lXV:\"framer-v-gydjhh\"};function addPropertyOverrides(overrides,...variants){const nextOverrides={};variants?.forEach(variant=>variant&&Object.assign(nextOverrides,overrides[variant]));return nextOverrides;}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)) /* {\"name\":\"Primary Background\"} */ 0%, var(--token-5ea9d588-a082-4268-a5ad-a118512a6412, rgb(255, 255, 255)) /* {\"name\":\"White\"} */ 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-CE1V2.framer-1gn6bnn, .framer-CE1V2 .framer-1gn6bnn { display: block; }\",\".framer-CE1V2.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-CE1V2 .framer-11luyjb-container { flex: none; height: 16px; left: -8px; position: absolute; top: calc(48.648648648648674% - 16px / 2); width: 16px; z-index: 1; }\",\".framer-CE1V2 .framer-1f06szo { flex: none; height: auto; position: relative; white-space: pre; width: auto; }\",\"@supports (background: -webkit-named-image(i)) and (not (font-palette:dark)) { .framer-CE1V2.framer-gydjhh { gap: 0px; } .framer-CE1V2.framer-gydjhh > * { margin: 0px; margin-left: calc(4px / 2); margin-right: calc(4px / 2); } .framer-CE1V2.framer-gydjhh > :first-child { margin-left: 0px; } .framer-CE1V2.framer-gydjhh > :last-child { margin-right: 0px; } }\"];/**\n * This is a generated Framer component.\n * @framerIntrinsicHeight 37\n * @framerIntrinsicWidth 77.5\n * @framerCanvasComponentVariantDetails {\"propertyName\":\"variant\",\"data\":{\"default\":{\"layout\":[\"auto\",\"auto\"]}}}\n * @framerVariables {\"FK5E0IBu_\":\"icon\",\"eUpsjMgdm\":\"title\"}\n * @framerImmutableVariables true\n * @framerDisplayContentsDiv false\n * @framerComponentViewportWidth true\n */const FramerJfy4wzqd3=withCSS(Component,css,\"framer-CE1V2\");export default FramerJfy4wzqd3;FramerJfy4wzqd3.displayName=\"Element/Badge\";FramerJfy4wzqd3.defaultProps={height:37,width:77.5};addPropertyControls(FramerJfy4wzqd3,{FK5E0IBu_:PhosphorControls?.[\"iconSelection\"]&&{...PhosphorControls[\"iconSelection\"],defaultValue:\"PhosphorLogo\",description:undefined,hidden:undefined,title:\"Icon\"},eUpsjMgdm:{defaultValue:\"Badge\",displayTextArea:false,title:\"Title\",type:ControlType.String}});addFonts(FramerJfy4wzqd3,[{explicitInter:true,fonts:[{family:\"Poppins\",source:\"fontshare\",style:\"normal\",url:\"https://framerusercontent.com/third-party-assets/fontshare/wf/NC2MP33RO4WQTSTEEAWBJLAEXNCNEQVF/7F4U3COKLHQH4WUH3AXPC7N4UELEWJQN/JMWNCAGBH3TLANIVQPVABVAVNV5QERTH.woff2\",weight:\"400\"}]},...PhosphorFonts],{supportsExplicitInterCodegen:true});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"FramerJfy4wzqd3\",\"slots\":[],\"annotations\":{\"framerContractVersion\":\"1\",\"framerIntrinsicHeight\":\"37\",\"framerComponentViewportWidth\":\"true\",\"framerCanvasComponentVariantDetails\":\"{\\\"propertyName\\\":\\\"variant\\\",\\\"data\\\":{\\\"default\\\":{\\\"layout\\\":[\\\"auto\\\",\\\"auto\\\"]}}}\",\"framerImmutableVariables\":\"true\",\"framerIntrinsicWidth\":\"77.5\",\"framerVariables\":\"{\\\"FK5E0IBu_\\\":\\\"icon\\\",\\\"eUpsjMgdm\\\":\\\"title\\\"}\",\"framerDisplayContentsDiv\":\"false\"}},\"Props\":{\"type\":\"tsType\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__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\":{\"BringToFront\":{\"type\":\"reactHoc\",\"name\":\"BringToFront\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./ZIndex_Increase.map"],"mappings":"ydACyD,IAAyN,IAAkE,IAA4B,IAAoJ,CAAM,EAAc,EAASA,EAAS,CAAO,EAAiB,EAAoBA,EAAS,CAAO,EAAkB,eAAqB,EAAkB,CAAC,UAAU,kBAAkB,CAA8L,EAAY,CAAC,OAAO,GAAG,MAAM,EAAE,SAAS,GAAG,KAAK,SAAS,CAAO,GAAY,CAAC,QAAM,cAAY,CAAC,IAAM,EAAOC,EAAiB,EAAoB,CAAO,EAAW,GAAO,EAAO,WAAiB,EAAaC,OAAmB,CAAC,GAAG,EAAO,aAAW,EAAE,CAAC,KAAK,UAAU,EAAW,CAAC,CAAC,CAAC,OAAoB,EAAK,EAAoB,SAAS,CAAC,MAAM,EAAsB,WAAS,CAAC,EAAS,EAAS,EAAO,OAAOC,EAAe,CAAO,G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