{"version":3,"file":"shared-lib.CYBButZ7.mjs","names":["useMemo","metadata","metadataVersion","__FramerMetadata__","metadata","siteMetadata"],"sources":["https:/framer.com/m/framer/icon-nullstate.js@0.7.0","https:/framerusercontent.com/modules/Ma20hU0GGRxLxZphbywl/OSpwWF91FHPVFyQJjMHt/utils.js","https:/framerusercontent.com/modules/deMSPaZ7zxVpnzDI18v8/9QTMtLEQCAT45Je8zNPB/fJI5KwZE6.js","https:/framerusercontent.com/modules/s68oPnZkbw3IGh6oFpI8/5QFsTjqgjD3Tg8Dc17Lp/siteMetadata.js","https:/framerusercontent.com/modules/d7IsLWnnI5xdwCfObWKt/K5VnhUHxVfWmdl9lGmA6/Jppb9Nqb9.js"],"sourcesContent":["import { jsx as _jsx } from \"react/jsx-runtime\";\nimport * as React from \"react\";\nexport const containerStyles = {\n    width: \"100%\",\n    height: \"100%\",\n    display: \"flex\",\n    justifyContent: \"center\",\n    alignItems: \"center\"\n};\nconst nullIconStyle = {\n    minWidth: \"10px\",\n    minHeight: \"10px\",\n    maxWidth: \"20px\",\n    maxHeight: \"20px\",\n    width: \"60%\",\n    height: \"60%\"\n};\nconst emptyStateStyle = {\n    ...containerStyles,\n    borderRadius: 6,\n    background: \"rgba(149, 149, 149, 0.1)\",\n    border: \"1px dashed rgba(149, 149, 149, 0.15)\",\n    color: \"#a5a5a5\",\n    flexDirection: \"column\"\n};\nexport const NullState = /*#__PURE__*/ React.forwardRef((_, ref)=>{\n    return(/*#__PURE__*/ _jsx(\"div\", {\n        style: emptyStateStyle,\n        ref: ref\n    }));\n}) /*\n\n<svg\n                xmlns=\"http://www.w3.org/2000/svg\"\n                viewBox=\"0 0 30 30\"\n                style={nullIconStyle}\n            >\n                <path\n                    d=\"M 12.857 0 C 19.958 0 25.714 5.756 25.714 12.857 C 25.714 19.958 19.958 25.714 12.857 25.714 C 5.756 25.714 0 19.958 0 12.857 C 0 5.756 5.756 0 12.857 0 Z\"\n                    fill=\"#FFFFFF\"\n                ></path>\n                <path\n                    d=\"M 20.357 20.357 L 27.857 27.857\"\n                    fill=\"transparent\"\n                    strokeWidth=\"4.28\"\n                    stroke=\"#FFFFFF\"\n                    strokeLinecap=\"round\"\n                ></path>\n                <g transform=\"translate(9.643 6.429)\">\n                    <path\n                        d=\"M 3.214 12.857 L 3.214 12.857\"\n                        fill=\"transparent\"\n                        strokeWidth=\"3.75\"\n                        stroke=\"currentColor\"\n                        strokeLinecap=\"round\"\n                    ></path>\n                    <path\n                        d=\"M 0 3.214 C 0 1.004 1.843 0 3.214 0 C 4.586 0 6.429 0.603 6.429 3.214 C 6.429 5.826 3.214 5.913 3.214 7.232 C 3.214 8.552 3.214 8.571 3.214 8.571\"\n                        fill=\"transparent\"\n                        strokeWidth=\"3.22\"\n                        stroke=\"currentColor\"\n                        strokeLinecap=\"round\"\n                        strokeLinejoin=\"round\"\n                    ></path>\n                </g>\n            </svg>\n            */ ;\n\nexport const __FramerMetadata__ = {\"exports\":{\"containerStyles\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"NullState\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}}}}\n//# sourceMappingURL=./nullstate.map","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","// Generated by Framer (e557b56)\nexport default function metadata(params,activeLocale){return{breakpoints:[{hash:\"1o90ie9\",mediaQuery:\"(min-width: 1440px)\"},{hash:\"82xj5m\",mediaQuery:\"(min-width: 810px) and (max-width: 1439.98px)\"},{hash:\"vxh25p\",mediaQuery:\"(max-width: 809.98px)\"}],description:\"Jonify hj\\xe4lper f\\xf6retag att digitalisera smartare, fr\\xe5n TMS och logistikl\\xf6sningar till  webb- och systemutveckling, integrationer och AI-drivna system. Med bas i Varberg och kunder i hela Norden.\",elements:{el_JOWlzU:\"sa-funkar-det\",hAyVfPwSj:\"hem\",Ij0agR2LH:\"smart-solutions\",KXWRB9Agq:\"kontakt\",nmOFGSqnq:\"faq\",O4f0WcXbQ:\"start\",oiFqlao8A:\"rekommendationer\",VTojPVjkL:\"kontakt-smart\",ZANaWEQYN:\"tj\\xe4nsten\"},framerSearch:{index:true},robots:\"max-image-preview:large\",serializationId:\"framer-sFHse\",socialImage:\"https://framerusercontent.com/assets/zmq4PIxIMONl7wIGkTqiWlWya9M.png\",title:\"Jonify - din partner f\\xf6r digitalisering och IT-l\\xf6sningar\",viewport:\"width=device-width\"};}export const metadataVersion=1;\nexport const __FramerMetadata__ = {\"exports\":{\"metadataVersion\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"default\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}","// Generated by Framer (e557b56)\nexport default function metadata(params,activeLocale){return{customHTMLHeadEnd:'<!--           ConveyThis Script Start         -->\\n<script src=\"//cdn.conveythis.com/javascript/conveythis.js?api_key=pub_b05a7f726ae1b6fe130ca0919d1c275f\"></script>\\n<!--           ConveyThis Script End         -->',description:\"Jonify hj\\xe4lper f\\xf6retag att digitalisera smartare, fr\\xe5n TMS och logistikl\\xf6sningar till  webb- och systemutveckling, integrationer och AI-drivna system. Med bas i Varberg och kunder i hela Norden.\",favicon:\"https://framerusercontent.com/assets/JMuHnZ2fZ8KGuRYmchdqQVXMzE.png\",robots:\"max-image-preview:large\",socialImage:\"https://framerusercontent.com/assets/zmq4PIxIMONl7wIGkTqiWlWya9M.png\",title:\"Jonify - din partner f\\xf6r digitalisering och IT-l\\xf6sningar\"};}export const metadataVersion=1;\nexport const __FramerMetadata__ = {\"exports\":{\"metadataVersion\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"default\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}","import siteMetadata from\"https://framerusercontent.com/modules/s68oPnZkbw3IGh6oFpI8/5QFsTjqgjD3Tg8Dc17Lp/siteMetadata.js\";import*as localizedValues from\"./Jppb9Nqb9-0.js\";const valuesByLocaleId={yU0CJRhb2:localizedValues};const getLocalizedValue=(key,locale)=>{while(locale){const values=valuesByLocaleId[locale.id];if(values){const value=values[key];if(value){return value;}}locale=locale.fallback;}};export default function metadata(params,activeLocale){return{bodyClassName:\"framer-body-Jppb9Nqb9\",breakpoints:[{hash:\"1pztbvz\",mediaQuery:\"(min-width: 1440px)\"},{hash:\"1vgblu7\",mediaQuery:\"(min-width: 810px) and (max-width: 1439px)\"},{hash:\"wqaaky\",mediaQuery:\"(max-width: 809px)\"}],description:siteMetadata(params,activeLocale).description,elements:{},socialImage:\"https://framerusercontent.com/assets/zmq4PIxIMONl7wIGkTqiWlWya9M.png\",title:siteMetadata(params,activeLocale).title||\"404\",viewport:\"width=device-width\"};}export const metadataVersion=1;\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"metadataVersion\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}"],"mappings":"uQAAgD,IACjB,CAClB,EAAkB,CAC3B,MAAO,OACP,OAAQ,OACR,QAAS,OACT,eAAgB,SAChB,WAAY,SACf,CASK,EAAkB,CACpB,GAAG,EACH,aAAc,EACd,WAAY,2BACZ,OAAQ,uCACR,MAAO,UACP,cAAe,SAClB,CACY,EAA0B,GAAkB,EAAG,IACnC,EAAK,MAAO,CAC7B,MAAO,EACF,MACR,CAAC,CACJ,IC1B0b,SAAgB,EAAiB,EAAS,EAAa,EAAW,GAAG,EAAc,EAAsB,CAEriB,GAAG,EAAa,OAAO,EAAc,GAAG,GAAY,MAAO,GAAyD,SAAU,EAAE,OAAO,KAAK,IAAM,EAAe,EAAW,aAAa,CA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