{
  "version": 3,
  "sources": ["ssg:https://framerusercontent.com/modules/uq2UGD6OUj721Baj96rF/9MMLJAXJYWxAWH3GICRw/ro7OPezbn.js", "ssg:https://framer.com/m/utils-MaUy.js@OSpwWF91FHPVFyQJjMHt"],
  "sourcesContent": ["import{fontStore}from\"framer\";fontStore.loadFonts([]);export const fonts=[];export const css=[\".framer-O7h6I .framer-styles-preset-1wicq5s:not(.rich-text-wrapper), .framer-O7h6I .framer-styles-preset-1wicq5s.rich-text-wrapper a { --framer-link-current-text-color: #ffffff; --framer-link-current-text-decoration: none; --framer-link-hover-text-color: #a5b4fc; --framer-link-text-color: #ffffff; --framer-link-text-decoration: none; }\"];export const className=\"framer-O7h6I\";\nexport const __FramerMetadata__ = {\"exports\":{\"className\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"css\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"fonts\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}", "import{useMemo}from\"react\";import{ControlType}from\"framer\";/*\n ** ICON UTILS\n ** Pull as much re-usable logic into here as possible\n ** This will make it easier to replace in all icon components\n */ export const containerStyles={width:\"100%\",height:\"100%\",display:\"flex\",justifyContent:\"center\",alignItems:\"center\"};export const defaultEvents={onClick:{type:ControlType.EventHandler},onMouseDown:{type:ControlType.EventHandler},onMouseUp:{type:ControlType.EventHandler},onMouseEnter:{type:ControlType.EventHandler},onMouseLeave:{type:ControlType.EventHandler}};const findByArray=(arr,search)=>arr.find(a=>a.toLowerCase().includes(search));export function getIconSelection(iconKeys,selectByList,iconSearch=\"\",iconSelection,lowercaseIconKeyPairs){// gotta get the exact match first THEN find\n// have a set and try to access ?\nif(selectByList)return iconSelection;if(iconSearch==null||(iconSearch===null||iconSearch===void 0?void 0:iconSearch.length)===0)return null;const iconSearchTerm=iconSearch.toLowerCase().replace(/-|\\s/g,\"\");var _iconSearchTerm;// check for exact match, otherwise use .find\nconst searchResult=(_iconSearchTerm=lowercaseIconKeyPairs[iconSearchTerm])!==null&&_iconSearchTerm!==void 0?_iconSearchTerm:findByArray(iconKeys,iconSearchTerm);return searchResult;}export function useIconSelection(iconKeys,selectByList,iconSearch=\"\",iconSelection,lowercaseIconKeyPairs){// Clean search term\nconst iconSearchResult=useMemo(()=>{if(iconSearch==null||(iconSearch===null||iconSearch===void 0?void 0:iconSearch.length)===0)return null;const iconSearchTerm=iconSearch.toLowerCase().replace(/-|\\s/g,\"\");var _iconSearchTerm;// check for exact match, otherwise use .find\nconst searchResult=(_iconSearchTerm=lowercaseIconKeyPairs[iconSearchTerm])!==null&&_iconSearchTerm!==void 0?_iconSearchTerm:findByArray(iconKeys,iconSearchTerm);return searchResult;},[iconSelection,iconSearch]);const name=selectByList?iconSelection:iconSearchResult;return name;}\nexport const __FramerMetadata__ = {\"exports\":{\"getIconSelection\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"containerStyles\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"useIconSelection\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"defaultEvents\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./utils.map"],
  "mappings": "0FAA8BA,EAAU,UAAU,CAAC,CAAC,EAAS,IAAMC,EAAM,CAAC,EAAeC,EAAI,CAAC,mVAAmV,EAAeC,EAAU,eCI1U,IAAMC,EAAc,CAAC,QAAQ,CAAC,KAAKC,EAAY,YAAY,EAAE,YAAY,CAAC,KAAKA,EAAY,YAAY,EAAE,UAAU,CAAC,KAAKA,EAAY,YAAY,EAAE,aAAa,CAAC,KAAKA,EAAY,YAAY,EAAE,aAAa,CAAC,KAAKA,EAAY,YAAY,CAAC,EAAQC,EAAY,CAACC,EAAIC,IAASD,EAAI,KAAKE,GAAGA,EAAE,YAAY,EAAE,SAASD,CAAM,CAAC,EAG7P,SAASE,EAAiBC,EAASC,EAAaC,EAAW,GAAGC,EAAcC,EAAsB,CAC/R,IAAMC,EAAiBC,EAAQ,IAAI,CAAC,GAAGJ,GAAY,MAAqDA,GAAW,SAAU,EAAE,OAAO,KAAK,IAAMK,EAAeL,EAAW,YAAY,EAAE,QAAQ,QAAQ,EAAE,EAAE,IAAIM,EAChD,OAA7IA,EAAgBJ,EAAsBG,CAAc,KAAK,MAAMC,IAAkB,OAAOA,EAAgBC,EAAYT,EAASO,CAAc,CAAsB,EAAE,CAACJ,EAAcD,CAAU,CAAC,EAAyD,OAA5CD,EAAaE,EAAcE,CAA6B",
  "names": ["fontStore", "fonts", "css", "className", "defaultEvents", "ControlType", "findByArray", "arr", "search", "a", "useIconSelection", "iconKeys", "selectByList", "iconSearch", "iconSelection", "lowercaseIconKeyPairs", "iconSearchResult", "se", "iconSearchTerm", "_iconSearchTerm", "findByArray"]
}
