{"version":3,"file":"shared-lib.ChLPz33c.mjs","names":["useMemo"],"sources":["https:/framer.com/m/framer/icon-nullstate.js@0.7.0","https:/framerusercontent.com/modules/Ma20hU0GGRxLxZphbywl/OSpwWF91FHPVFyQJjMHt/utils.js","https:/framerusercontent.com/modules/rUkg7mOWvOlwCbEV1Lug/oc5KQPLzijmcvsKvN8Os/f_JgQVGd5.js","https:/framerusercontent.com/modules/jhBfFrxBkkTwvQjCQ2VM/o7jLMLNvVQfv3HoTgWpl/siteMetadata.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 (c105afa)\nimport{fontStore}from\"framer\";fontStore.loadFonts([]);export const fonts=[{explicitInter:true,fonts:[]}];export const css=[\".framer-4WLmS .framer-styles-preset-pbndum:not(.rich-text-wrapper), .framer-4WLmS .framer-styles-preset-pbndum.rich-text-wrapper a { --framer-link-current-text-color: #000000; --framer-link-hover-text-color: #ffb0ac; --framer-link-hover-text-decoration: none; --framer-link-text-color: var(--token-106af953-ca83-4ae4-acb1-7c091d61af2c, #ffffff); --framer-link-text-decoration: none; }\"];export const className=\"framer-4WLmS\";\nexport const __FramerMetadata__ = {\"exports\":{\"css\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"fonts\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"className\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}","// Generated by Framer (9312833)\nconst valuesByLocaleId={MrJV6n5aK:{v0:\"Refluenced – the micro-influencer platform for your brand\",v1:\"Discover authentic influencers and content creators for your campaign. Refluenced is the all-in-one solution for your influencer marketing.\"}};function 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{customHTMLBodyEnd:'<script>\\nwindow.addEventListener(\"load\", () => {\\n  const DISALLOWED_HOSTNAME = \"refluenced.framer.website\";\\n\\n  // If we\\'re not on the disallowed hostname, do nothing and exit\\n  if (window.location.hostname !== DISALLOWED_HOSTNAME) {\\n    return;\\n  }\\n\\n  // Otherwise, set/ensure <meta name=\"robots\" content=\"noindex, nofollow\">\\n\\n  // 1) Find existing <meta name=\"robots\"> (if any)\\n  let metaRobots = document.querySelector(\\'meta[name=\"robots\"]\\');\\n  \\n  // 2) If it doesn\\'t exist, create it\\n  if (!metaRobots) {\\n    metaRobots = document.createElement(\"meta\");\\n    metaRobots.setAttribute(\"name\", \"robots\");\\n    document.head.appendChild(metaRobots);\\n  }\\n\\n  // 3) Set \"noindex, nofollow\"\\n  metaRobots.setAttribute(\"content\", \"noindex, nofollow\");\\n});\\n</script>',customHTMLBodyStart:'<!-- Google Tag Manager (noscript) -->\\n<noscript><iframe src=\"https://www.googletagmanager.com/ns.html?id=GTM-K4Z8MS5\" height=\"0\" width=\"0\" style=\"display:none;visibility:hidden\"></iframe></noscript>\\n<!-- End Google Tag Manager (noscript) -->',customHTMLHeadEnd:'<style>\\n    #__framer-badge-container {\\n    display: none;\\n}\\n</style>\\n<meta name=\"google-site-verification\" content=\"XDMqy1AqsUsrH9hqauD7Q0vBjTpvyoFnzQfn4B-REZQ\">',customHTMLHeadStart:'<!-- Google Tag Manager Consent -->\\n<script>\\n    window.dataLayer = window.dataLayer || [];\\n    window.gtag = function () {\\n        window.dataLayer.push(arguments);\\n    }\\n    if (localStorage.getItem(\\'consentMode\\') === null) {\\n        gtag(\\'consent\\', \\'default\\', {\\n            \\'ad_storage\\': \\'denied\\',\\n            \\'analytics_storage\\': \\'denied\\',\\n            \\'personalization_storage\\': \\'denied\\',\\n            \\'functionality_storage\\': \\'denied\\',\\n            \\'security_storage\\': \\'denied\\',\\n        });\\n    } else {\\n        gtag(\\'consent\\', \\'default\\', JSON.parse(localStorage.getItem(\\'consentMode\\')));\\n    }\\n</script>\\n\\n<!-- Google Tag Manager -->\\n<script>(function (w, d, s, l, i) {\\n        w[l] = w[l] || []; w[l].push({\\n            \\'gtm.start\\':\\n                new Date().getTime(), event: \\'gtm.js\\'\\n        }); var f = d.getElementsByTagName(s)[0],\\n            j = d.createElement(s), dl = l != \\'dataLayer\\' ? \\'&l=\\' + l : \\'\\'; j.async = true; j.src =\\n                \\'https://www.googletagmanager.com/gtm.js?id=\\' + i + dl; f.parentNode.insertBefore(j, f);\\n    })\\n        (window, document, \\'script\\', \\'dataLayer\\', \\'GTM-K4Z8MS5\\');</script>\\n<!-- End Google Tag Manager -->\\n\\n<!-- Risky fix for Apple\\'s incompetence -->\\n<!-- Remove if Google indexing doesn\\'t work -->\\n<script>\\n    document.addEventListener(\"DOMContentLoaded\", () => {\\n        setTimeout(() => {\\n            function replaceDomain(oldUrlString, newBaseDomain) {\\n                try {\\n                    const oldUrl = new URL(oldUrlString);\\n                    const newBase = new URL(newBaseDomain);\\n                    return new URL(oldUrl.pathname + oldUrl.search + oldUrl.hash, newBase.origin).toString();\\n                } catch (err) {\\n                    return oldUrlString.replace(\"refluenced.framer.website\", newBaseDomain);\\n                }\\n            }\\n\\n            function createAlternateLink(hreflangValue, finalUrl, referenceNode) {\\n                const link = document.createElement(\"link\");\\n                link.setAttribute(\"rel\", \"alternate\");\\n                link.setAttribute(\"hreflang\", hreflangValue);\\n                link.setAttribute(\"href\", finalUrl);\\n                referenceNode.parentNode.insertBefore(link, referenceNode.nextSibling);\\n            }\\n\\n            const allMetaCanonicalsAndAlternates = document.querySelectorAll(`\\n                link[rel=\"canonical\"],\\n                meta[property=\"og:url\"],\\n                link[rel=\"alternate\"]\\n            `);\\n\\n            allMetaCanonicalsAndAlternates.forEach(el => {\\n                const tagName = el.tagName.toLowerCase();\\n                const isCanonical = (tagName === \"link\" && el.getAttribute(\"rel\") === \"canonical\");\\n                const isOgUrl = (tagName === \"meta\" && el.getAttribute(\"property\") === \"og:url\");\\n\\n                if (isCanonical) {\\n                    const oldUrl = el.getAttribute(\"href\");\\n                    if (oldUrl && oldUrl.includes(\"refluenced.framer.website\")) {\\n                        el.setAttribute(\"href\", replaceDomain(oldUrl, \"https://refluenced.de\"));\\n                    }\\n                }\\n                else if (isOgUrl) {\\n                    const oldUrl = el.getAttribute(\"content\");\\n                    if (oldUrl && oldUrl.includes(\"refluenced.framer.website\")) {\\n                        el.setAttribute(\"content\", replaceDomain(oldUrl, window.location.origin));\\n                    }\\n                }\\n            });\\n\\n            const alternates = document.querySelectorAll(\\'link[rel=\"alternate\"]\\');\\n            alternates.forEach(alt => {\\n                const hreflang = alt.getAttribute(\"hreflang\");\\n                if (!hreflang) return;\\n\\n                const oldHref = alt.getAttribute(\"href\") || \"\";\\n                if (!oldHref.includes(\"refluenced.framer.website\")) return;\\n\\n                if (hreflang === \"x-default\") {\\n                    alt.setAttribute(\"href\", replaceDomain(oldHref, \"https://refluenced.de\"));\\n                }\\n                else if (hreflang === \"de\") {\\n                    createAlternateLink(\"de-DE\", replaceDomain(oldHref, \"https://refluenced.de\"), alt);\\n                    createAlternateLink(\"de-CH\", replaceDomain(oldHref, \"https://refluenced.ch\"), alt);\\n                    createAlternateLink(\"de-GB\", replaceDomain(oldHref, \"https://refluenced.co.uk\"), alt);\\n                    createAlternateLink(\"de-US\", replaceDomain(oldHref, \"https://refluenced.us\"), alt);\\n                    alt.remove();\\n                }\\n                else if (hreflang === \"en\") {\\n                    const newMainEn = replaceDomain(oldHref, \"https://refluenced.de\");\\n                    alt.setAttribute(\"href\", newMainEn);\\n                    createAlternateLink(\"en-DE\", replaceDomain(newMainEn, \"https://refluenced.de\"), alt);\\n                    createAlternateLink(\"en-CH\", replaceDomain(newMainEn, \"https://refluenced.ch\"), alt);\\n                    createAlternateLink(\"en-GB\", replaceDomain(newMainEn, \"https://refluenced.co.uk\"), alt);\\n                    createAlternateLink(\"en-US\", replaceDomain(newMainEn, \"https://refluenced.us\"), alt);\\n                }\\n                else {\\n                    let newBase = \"https://refluenced.de\";\\n                    if (hreflang === \"de-CH\" || hreflang === \"en-CH\") {\\n                        newBase = \"https://refluenced.ch\";\\n                    } else if (hreflang === \"de-GB\" || hreflang === \"en-GB\") {\\n                        newBase = \"https://refluenced.co.uk\";\\n                    } else if (hreflang === \"en-US\") {\\n                        newBase = \"https://refluenced.us\";\\n                    }\\n                    alt.setAttribute(\"href\", replaceDomain(oldHref, newBase));\\n                }\\n            });\\n\\n            const DISALLOWED_HOSTNAME = \"refluenced.framer.website\";\\n            let existingRobots = Array.from(document.querySelectorAll(\\'meta[name=\"robots\"]\\'));\\n            if (existingRobots.length > 1) {\\n                for (let i = 1; i < existingRobots.length; i++) {\\n                    existingRobots[i].remove();\\n                }\\n            }\\n            let metaRobots = existingRobots[0] || null;\\n            if (!metaRobots) {\\n                metaRobots = document.createElement(\\'meta\\');\\n                metaRobots.setAttribute(\\'name\\', \\'robots\\');\\n                document.head.appendChild(metaRobots);\\n            }\\n            const isFramerDomain = (window.location.hostname === DISALLOWED_HOSTNAME);\\n            const isLegalPath = window.location.pathname.includes(\"/legal/\");\\n            if (isFramerDomain || isLegalPath) {\\n                metaRobots.setAttribute(\"content\", \"noindex, nofollow\");\\n            } else {\\n                metaRobots.setAttribute(\"content\", \"index, follow\");\\n            }\\n        }, 0);\\n    });\\n</script>\\n\\n<!-- Country code parsing and global var -->\\n<script>\\n    const host = window.location.hostname;\\n    if (host.endsWith(\".co.uk\")) {\\n        window.countryCode = \"UK\";\\n    } else if (host.endsWith(\".us\")) {\\n        window.countryCode = \"US\";\\n    } else {\\n        window.countryCode = host.split(\\'.\\').pop().toUpperCase();\\n    }\\n\\n    window.currentTld = window.countryCode;\\n    window.isStagingEnvironment = currentTld === \"APP\" || currentTld === \"WEBSITE\";\\n    window.currentHomeUrl = \"https://refluenced.\" +\\n        (window.countryCode === \"UK\" ? \"co.uk\" : \\n         window.countryCode.toLowerCase());\\n        console.log(\"Detected country code:\", window.countryCode);\\n</script>\\n\\n<!-- Google Search Console Verif -->\\n<meta name=\"google-site-verification\" content=\"XVxjDeMJcnktnhmlu_k8SAO9EtWdVIuOmeav7jpfiDs\">\\n\\n<!-- Dispatches an event when 50% of the page is scrolled -->\\n<script>\\n    var isEventFired = false;\\n    document.addEventListener(\"scroll\", function () {\\n        var scrollPosition = window.scrollY || document.documentElement.scrollTop;\\n        var totalHeight = document.documentElement.scrollHeight - window.innerHeight;\\n        var fiftyPercentScroll = totalHeight * 0.5;\\n        if (scrollPosition >= fiftyPercentScroll && !isEventFired) {\\n            var event = new Event(\"showPopupFiftyPercent\");\\n            document.dispatchEvent(event);\\n            isEventFired = true;\\n        }\\n    });\\n</script>\\n',description:getLocalizedValue(\"v1\",activeLocale)??\"Entdecke authentische Influencer und Content Creator f\\xfcr deine \\nKampagne. Refluenced ist die All-in-one-L\\xf6sung f\\xfcr dein Influencer-\\nMarketing.\",favicon:\"https://framerusercontent.com/assets/K0HZgMC1imsFWUPJcTk5qO4E2Q0.png\",robots:\"max-image-preview:large\",socialImage:\"https://framerusercontent.com/assets/2NW6mCgAFlfa2pwDhfx2Am1i4fA.png\",title:getLocalizedValue(\"v0\",activeLocale)??\"Refluenced – die Micro-Influencer Plattform f\\xfcr deine Brand\"};}export const metadataVersion=1;\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"metadataVersion\":{\"type\":\"variable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